var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
  let window = _____WB$wombat$assign$function_____("window");
  let self = _____WB$wombat$assign$function_____("self");
  let document = _____WB$wombat$assign$function_____("document");
  let location = _____WB$wombat$assign$function_____("location");
  let top = _____WB$wombat$assign$function_____("top");
  let parent = _____WB$wombat$assign$function_____("parent");
  let frames = _____WB$wombat$assign$function_____("frames");
  let opener = _____WB$wombat$assign$function_____("opener");

(globalThis.webpackChunkcalypso=globalThis.webpackChunkcalypso||[]).push([[63124,66474,82874],{"./signup/steps lazy recursive ^\\.\\/.*$ include: signup\\/steps\\/[0-9a-z/-]+\\/index\\.[j%7Ct]sx$ exclude: signup\\/steps\\/[0-9a-z/-]+\\/test\\/index\\.[j%7Ct]sx$":(e,s,t)=>{var i={"./choose-service":["./signup/steps/choose-service/index.tsx",90532,30788,58350,78554],"./choose-service/":["./signup/steps/choose-service/index.tsx",90532,30788,58350,78554],"./choose-service/index":["./signup/steps/choose-service/index.tsx",90532,30788,58350,78554],"./choose-service/index.tsx":["./signup/steps/choose-service/index.tsx",90532,30788,58350,78554],"./clone-cloning":["./signup/steps/clone-cloning/index.jsx",90532,30788,58350,32025],"./clone-cloning/":["./signup/steps/clone-cloning/index.jsx",90532,30788,58350,32025],"./clone-cloning/index":["./signup/steps/clone-cloning/index.jsx",90532,30788,58350,32025],"./clone-cloning/index.jsx":["./signup/steps/clone-cloning/index.jsx",90532,30788,58350,32025],"./clone-credentials":["./signup/steps/clone-credentials/index.jsx",90532,30788,58350,32077,7734,3487,13411],"./clone-credentials/":["./signup/steps/clone-credentials/index.jsx",90532,30788,58350,32077,7734,3487,13411],"./clone-credentials/index":["./signup/steps/clone-credentials/index.jsx",90532,30788,58350,32077,7734,3487,13411],"./clone-credentials/index.jsx":["./signup/steps/clone-credentials/index.jsx",90532,30788,58350,32077,7734,3487,13411],"./clone-destination":["./signup/steps/clone-destination/index.jsx",90532,30788,58350,38265],"./clone-destination/":["./signup/steps/clone-destination/index.jsx",90532,30788,58350,38265],"./clone-destination/index":["./signup/steps/clone-destination/index.jsx",90532,30788,58350,38265],"./clone-destination/index.jsx":["./signup/steps/clone-destination/index.jsx",90532,30788,58350,38265],"./clone-jetpack":["./signup/steps/clone-jetpack/index.jsx",90532,30788,58350,98241],"./clone-jetpack/":["./signup/steps/clone-jetpack/index.jsx",90532,30788,58350,98241],"./clone-jetpack/index":["./signup/steps/clone-jetpack/index.jsx",90532,30788,58350,98241],"./clone-jetpack/index.jsx":["./signup/steps/clone-jetpack/index.jsx",90532,30788,58350,98241],"./clone-point":["./signup/steps/clone-point/index.jsx",90532,30788,77525,58350,27373,49769,47104],"./clone-point/":["./signup/steps/clone-point/index.jsx",90532,30788,77525,58350,27373,49769,47104],"./clone-point/index":["./signup/steps/clone-point/index.jsx",90532,30788,77525,58350,27373,49769,47104],"./clone-point/index.jsx":["./signup/steps/clone-point/index.jsx",90532,30788,77525,58350,27373,49769,47104],"./clone-ready":["./signup/steps/clone-ready/index.jsx",90532,30788,58350,49769,38230],"./clone-ready/":["./signup/steps/clone-ready/index.jsx",90532,30788,58350,49769,38230],"./clone-ready/index":["./signup/steps/clone-ready/index.jsx",90532,30788,58350,49769,38230],"./clone-ready/index.jsx":["./signup/steps/clone-ready/index.jsx",90532,30788,58350,49769,38230],"./clone-start":["./signup/steps/clone-start/index.jsx",90532,30788,58350,38273],"./clone-start/":["./signup/steps/clone-start/index.jsx",90532,30788,58350,38273],"./clone-start/index":["./signup/steps/clone-start/index.jsx",90532,30788,58350,38273],"./clone-start/index.jsx":["./signup/steps/clone-start/index.jsx",90532,30788,58350,38273],"./courses":["./signup/steps/courses/index.tsx",90532,30788,58350,32734],"./courses/":["./signup/steps/courses/index.tsx",90532,30788,58350,32734],"./courses/index":["./signup/steps/courses/index.tsx",90532,30788,58350,32734],"./courses/index.tsx":["./signup/steps/courses/index.tsx",90532,30788,58350,32734],"./creds-complete":["./signup/steps/creds-complete/index.jsx",90532,30788,58350,4464],"./creds-complete/":["./signup/steps/creds-complete/index.jsx",90532,30788,58350,4464],"./creds-complete/index":["./signup/steps/creds-complete/index.jsx",90532,30788,58350,4464],"./creds-complete/index.jsx":["./signup/steps/creds-complete/index.jsx",90532,30788,58350,4464],"./creds-confirm":["./signup/steps/creds-confirm/index.jsx",90532,30788,58350,32077,25720],"./creds-confirm/":["./signup/steps/creds-confirm/index.jsx",90532,30788,58350,32077,25720],"./creds-confirm/index":["./signup/steps/creds-confirm/index.jsx",90532,30788,58350,32077,25720],"./creds-confirm/index.jsx":["./signup/steps/creds-confirm/index.jsx",90532,30788,58350,32077,25720],"./creds-permission":["./signup/steps/creds-permission/index.jsx",90532,30788,58350,32077,78436],"./creds-permission/":["./signup/steps/creds-permission/index.jsx",90532,30788,58350,32077,78436],"./creds-permission/index":["./signup/steps/creds-permission/index.jsx",90532,30788,58350,32077,78436],"./creds-permission/index.jsx":["./signup/steps/creds-permission/index.jsx",90532,30788,58350,32077,78436],"./design-picker":["./signup/steps/design-picker/index.jsx",90532,30788,89527,16869,58350,71687,49439,87020],"./design-picker/":["./signup/steps/design-picker/index.jsx",90532,30788,89527,16869,58350,71687,49439,87020],"./design-picker/index":["./signup/steps/design-picker/index.jsx",90532,30788,89527,16869,58350,71687,49439,87020],"./design-picker/index.jsx":["./signup/steps/design-picker/index.jsx",90532,30788,89527,16869,58350,71687,49439,87020],"./difm-site-picker":["./signup/steps/difm-site-picker/index.tsx",90532,30788,71539,86339,16869,51306,18821,71755,32915,58350,4839,22442],"./difm-site-picker/":["./signup/steps/difm-site-picker/index.tsx",90532,30788,71539,86339,16869,51306,18821,71755,32915,58350,4839,22442],"./difm-site-picker/index":["./signup/steps/difm-site-picker/index.tsx",90532,30788,71539,86339,16869,51306,18821,71755,32915,58350,4839,22442],"./difm-site-picker/index.tsx":["./signup/steps/difm-site-picker/index.tsx",90532,30788,71539,86339,16869,51306,18821,71755,32915,58350,4839,22442],"./domains":["./signup/steps/domains/index.jsx",90532,30788,71539,9228,18738,58350,83309,10515,21735,74656,26688],"./domains/":["./signup/steps/domains/index.jsx",90532,30788,71539,9228,18738,58350,83309,10515,21735,74656,26688],"./domains/index":["./signup/steps/domains/index.jsx",90532,30788,71539,9228,18738,58350,83309,10515,21735,74656,26688],"./domains/index.jsx":["./signup/steps/domains/index.jsx",90532,30788,71539,9228,18738,58350,83309,10515,21735,74656,26688],"./emails":["./signup/steps/emails/index.jsx",90532,30788,58350,95449],"./emails/":["./signup/steps/emails/index.jsx",90532,30788,58350,95449],"./emails/index":["./signup/steps/emails/index.jsx",90532,30788,58350,95449],"./emails/index.jsx":["./signup/steps/emails/index.jsx",90532,30788,58350,95449],"./import":["./signup/steps/import/index.tsx",90532,30788,5221,58350,82662],"./import-from":["./signup/steps/import-from/index.tsx",90532,30788,71539,9228,28498,42160,7994,31562,50842,55255,14953,3089,16869,51306,18821,71755,58350,83309,10515,96196,52212,80980,45843,62624,78622,52373,38159],"./import-from/":["./signup/steps/import-from/index.tsx",90532,30788,71539,9228,28498,42160,7994,31562,50842,55255,14953,3089,16869,51306,18821,71755,58350,83309,10515,96196,52212,80980,45843,62624,78622,52373,38159],"./import-from/index":["./signup/steps/import-from/index.tsx",90532,30788,71539,9228,28498,42160,7994,31562,50842,55255,14953,3089,16869,51306,18821,71755,58350,83309,10515,96196,52212,80980,45843,62624,78622,52373,38159],"./import-from/index.tsx":["./signup/steps/import-from/index.tsx",90532,30788,71539,9228,28498,42160,7994,31562,50842,55255,14953,3089,16869,51306,18821,71755,58350,83309,10515,96196,52212,80980,45843,62624,78622,52373,38159],"./import-light":["./signup/steps/import-light/index.tsx",90532,30788,58350,54356],"./import-light/":["./signup/steps/import-light/index.tsx",90532,30788,58350,54356],"./import-light/index":["./signup/steps/import-light/index.tsx",90532,30788,58350,54356],"./import-light/index.tsx":["./signup/steps/import-light/index.tsx",90532,30788,58350,54356],"./import/":["./signup/steps/import/index.tsx",90532,30788,5221,58350,82662],"./import/index":["./signup/steps/import/index.tsx",90532,30788,5221,58350,82662],"./import/index.tsx":["./signup/steps/import/index.tsx",90532,30788,5221,58350,82662],"./intent":["./signup/steps/intent/index.tsx",90532,30788,58350,8704,77571],"./intent/":["./signup/steps/intent/index.tsx",90532,30788,58350,8704,77571],"./intent/index":["./signup/steps/intent/index.tsx",90532,30788,58350,8704,77571],"./intent/index.tsx":["./signup/steps/intent/index.tsx",90532,30788,58350,8704,77571],"./launch-site":["./signup/steps/launch-site/index.jsx",80086],"./launch-site/":["./signup/steps/launch-site/index.jsx",80086],"./launch-site/index":["./signup/steps/launch-site/index.jsx",80086],"./launch-site/index.jsx":["./signup/steps/launch-site/index.jsx",80086],"./new-or-existing-site":["./signup/steps/new-or-existing-site/index.tsx",90532,30788,58350,8704,29507],"./new-or-existing-site/":["./signup/steps/new-or-existing-site/index.tsx",90532,30788,58350,8704,29507],"./new-or-existing-site/index":["./signup/steps/new-or-existing-site/index.tsx",90532,30788,58350,8704,29507],"./new-or-existing-site/index.tsx":["./signup/steps/new-or-existing-site/index.tsx",90532,30788,58350,8704,29507],"./p2-complete-profile":["./signup/steps/p2-complete-profile/index.jsx",90532,30788,14059,92121,58350,52866,24695],"./p2-complete-profile/":["./signup/steps/p2-complete-profile/index.jsx",90532,30788,14059,92121,58350,52866,24695],"./p2-complete-profile/index":["./signup/steps/p2-complete-profile/index.jsx",90532,30788,14059,92121,58350,52866,24695],"./p2-complete-profile/index.jsx":["./signup/steps/p2-complete-profile/index.jsx",90532,30788,14059,92121,58350,52866,24695],"./p2-confirm-email":["./signup/steps/p2-confirm-email/index.jsx",90532,30788,58350,1963],"./p2-confirm-email/":["./signup/steps/p2-confirm-email/index.jsx",90532,30788,58350,1963],"./p2-confirm-email/index":["./signup/steps/p2-confirm-email/index.jsx",90532,30788,58350,1963],"./p2-confirm-email/index.jsx":["./signup/steps/p2-confirm-email/index.jsx",90532,30788,58350,1963],"./p2-details":["./signup/steps/p2-details/index.jsx",90532,30788,58350,49660],"./p2-details/":["./signup/steps/p2-details/index.jsx",90532,30788,58350,49660],"./p2-details/index":["./signup/steps/p2-details/index.jsx",90532,30788,58350,49660],"./p2-details/index.jsx":["./signup/steps/p2-details/index.jsx",90532,30788,58350,49660],"./p2-get-started":["./signup/steps/p2-get-started/index.jsx",90532,30788,58350,37806],"./p2-get-started/":["./signup/steps/p2-get-started/index.jsx",90532,30788,58350,37806],"./p2-get-started/index":["./signup/steps/p2-get-started/index.jsx",90532,30788,58350,37806],"./p2-get-started/index.jsx":["./signup/steps/p2-get-started/index.jsx",90532,30788,58350,37806],"./p2-join-workspace":["./signup/steps/p2-join-workspace/index.jsx",90532,30788,58350,14436],"./p2-join-workspace/":["./signup/steps/p2-join-workspace/index.jsx",90532,30788,58350,14436],"./p2-join-workspace/index":["./signup/steps/p2-join-workspace/index.jsx",90532,30788,58350,14436],"./p2-join-workspace/index.jsx":["./signup/steps/p2-join-workspace/index.jsx",90532,30788,58350,14436],"./p2-site":["./signup/steps/p2-site/index.jsx",90532,30788,26893,58350,21735,18266],"./p2-site/":["./signup/steps/p2-site/index.jsx",90532,30788,26893,58350,21735,18266],"./p2-site/index":["./signup/steps/p2-site/index.jsx",90532,30788,26893,58350,21735,18266],"./p2-site/index.jsx":["./signup/steps/p2-site/index.jsx",90532,30788,26893,58350,21735,18266],"./page-picker":["./signup/steps/page-picker/index.tsx",90532,30788,58350,79044],"./page-picker/":["./signup/steps/page-picker/index.tsx",90532,30788,58350,79044],"./page-picker/index":["./signup/steps/page-picker/index.tsx",90532,30788,58350,79044],"./page-picker/index.tsx":["./signup/steps/page-picker/index.tsx",90532,30788,58350,79044],"./plans":["./signup/steps/plans/index.jsx",90532,30788,67699,99678,58350,83309,10515,96196,93751,52615],"./plans-atomic-store":["./signup/steps/plans-atomic-store/index.jsx",90532,30788,58350,83309,96196,93751,42799],"./plans-atomic-store/":["./signup/steps/plans-atomic-store/index.jsx",90532,30788,58350,83309,96196,93751,42799],"./plans-atomic-store/index":["./signup/steps/plans-atomic-store/index.jsx",90532,30788,58350,83309,96196,93751,42799],"./plans-atomic-store/index.jsx":["./signup/steps/plans-atomic-store/index.jsx",90532,30788,58350,83309,96196,93751,42799],"./plans/":["./signup/steps/plans/index.jsx",90532,30788,67699,99678,58350,83309,10515,96196,93751,52615],"./plans/index":["./signup/steps/plans/index.jsx",90532,30788,67699,99678,58350,83309,10515,96196,93751,52615],"./plans/index.jsx":["./signup/steps/plans/index.jsx",90532,30788,67699,99678,58350,83309,10515,96196,93751,52615],"./reader-landing":["./signup/steps/reader-landing/index.jsx",90532,30788,58350,92819],"./reader-landing/":["./signup/steps/reader-landing/index.jsx",90532,30788,58350,92819],"./reader-landing/index":["./signup/steps/reader-landing/index.jsx",90532,30788,58350,92819],"./reader-landing/index.jsx":["./signup/steps/reader-landing/index.jsx",90532,30788,58350,92819],"./rewind-form-creds":["./signup/steps/rewind-form-creds/index.jsx",90532,30788,58350,32077,7734,3487,45581],"./rewind-form-creds/":["./signup/steps/rewind-form-creds/index.jsx",90532,30788,58350,32077,7734,3487,45581],"./rewind-form-creds/index":["./signup/steps/rewind-form-creds/index.jsx",90532,30788,58350,32077,7734,3487,45581],"./rewind-form-creds/index.jsx":["./signup/steps/rewind-form-creds/index.jsx",90532,30788,58350,32077,7734,3487,45581],"./rewind-migrate":["./signup/steps/rewind-migrate/index.jsx",90532,30788,58350,49769,3401],"./rewind-migrate/":["./signup/steps/rewind-migrate/index.jsx",90532,30788,58350,49769,3401],"./rewind-migrate/index":["./signup/steps/rewind-migrate/index.jsx",90532,30788,58350,49769,3401],"./rewind-migrate/index.jsx":["./signup/steps/rewind-migrate/index.jsx",90532,30788,58350,49769,3401],"./rewind-were-backing":["./signup/steps/rewind-were-backing/index.jsx",90532,30788,58350,80227],"./rewind-were-backing/":["./signup/steps/rewind-were-backing/index.jsx",90532,30788,58350,80227],"./rewind-were-backing/index":["./signup/steps/rewind-were-backing/index.jsx",90532,30788,58350,80227],"./rewind-were-backing/index.jsx":["./signup/steps/rewind-were-backing/index.jsx",90532,30788,58350,80227],"./site":["./signup/steps/site/index.jsx",90532,30788,3377,58350,21735,76076],"./site-options":["./signup/steps/site-options/index.tsx",90532,30788,58350,59029],"./site-options/":["./signup/steps/site-options/index.tsx",90532,30788,58350,59029],"./site-options/index":["./signup/steps/site-options/index.tsx",90532,30788,58350,59029],"./site-options/index.tsx":["./signup/steps/site-options/index.tsx",90532,30788,58350,59029],"./site-or-domain":["./signup/steps/site-or-domain/index.jsx",90532,30788,58350,6182],"./site-or-domain/":["./signup/steps/site-or-domain/index.jsx",90532,30788,58350,6182],"./site-or-domain/index":["./signup/steps/site-or-domain/index.jsx",90532,30788,58350,6182],"./site-or-domain/index.jsx":["./signup/steps/site-or-domain/index.jsx",90532,30788,58350,6182],"./site-picker":["./signup/steps/site-picker/index.jsx",90532,30788,71539,86339,16869,51306,18821,71755,32915,58350,4839,97014],"./site-picker/":["./signup/steps/site-picker/index.jsx",90532,30788,71539,86339,16869,51306,18821,71755,32915,58350,4839,97014],"./site-picker/index":["./signup/steps/site-picker/index.jsx",90532,30788,71539,86339,16869,51306,18821,71755,32915,58350,4839,97014],"./site-picker/index.jsx":["./signup/steps/site-picker/index.jsx",90532,30788,71539,86339,16869,51306,18821,71755,32915,58350,4839,97014],"./site-title":["./signup/steps/site-title/index.jsx",90532,30788,58350,27896],"./site-title/":["./signup/steps/site-title/index.jsx",90532,30788,58350,27896],"./site-title/index":["./signup/steps/site-title/index.jsx",90532,30788,58350,27896],"./site-title/index.jsx":["./signup/steps/site-title/index.jsx",90532,30788,58350,27896],"./site-topic":["./signup/steps/site-topic/index.jsx",90532,30788,58350,7071],"./site-topic/":["./signup/steps/site-topic/index.jsx",90532,30788,58350,7071],"./site-topic/index":["./signup/steps/site-topic/index.jsx",90532,30788,58350,7071],"./site-topic/index.jsx":["./signup/steps/site-topic/index.jsx",90532,30788,58350,7071],"./site-type":["./signup/steps/site-type/index.jsx",90532,30788,58350,53158],"./site-type/":["./signup/steps/site-type/index.jsx",90532,30788,58350,53158],"./site-type/index":["./signup/steps/site-type/index.jsx",90532,30788,58350,53158],"./site-type/index.jsx":["./signup/steps/site-type/index.jsx",90532,30788,58350,53158],"./site/":["./signup/steps/site/index.jsx",90532,30788,3377,58350,21735,76076],"./site/index":["./signup/steps/site/index.jsx",90532,30788,3377,58350,21735,76076],"./site/index.jsx":["./signup/steps/site/index.jsx",90532,30788,3377,58350,21735,76076],"./social-profiles":["./signup/steps/social-profiles/index.tsx",90532,30788,58350,72251],"./social-profiles/":["./signup/steps/social-profiles/index.tsx",90532,30788,58350,72251],"./social-profiles/index":["./signup/steps/social-profiles/index.tsx",90532,30788,58350,72251],"./social-profiles/index.tsx":["./signup/steps/social-profiles/index.tsx",90532,30788,58350,72251],"./starting-point":["./signup/steps/starting-point/index.tsx",90532,30788,58350,8704,25477],"./starting-point/":["./signup/steps/starting-point/index.tsx",90532,30788,58350,8704,25477],"./starting-point/index":["./signup/steps/starting-point/index.tsx",90532,30788,58350,8704,25477],"./starting-point/index.tsx":["./signup/steps/starting-point/index.tsx",90532,30788,58350,8704,25477],"./store-features":["./signup/steps/store-features/index.tsx",90532,30788,58350,8704,79435],"./store-features/":["./signup/steps/store-features/index.tsx",90532,30788,58350,8704,79435],"./store-features/index":["./signup/steps/store-features/index.tsx",90532,30788,58350,8704,79435],"./store-features/index.tsx":["./signup/steps/store-features/index.tsx",90532,30788,58350,8704,79435],"./survey":["./signup/steps/survey/index.jsx",90532,30788,58350,33475],"./survey/":["./signup/steps/survey/index.jsx",90532,30788,58350,33475],"./survey/index":["./signup/steps/survey/index.jsx",90532,30788,58350,33475],"./survey/index.jsx":["./signup/steps/survey/index.jsx",90532,30788,58350,33475],"./test-step":["./signup/steps/test-step/index.jsx",90532,30788,58350,49280],"./test-step/":["./signup/steps/test-step/index.jsx",90532,30788,58350,49280],"./test-step/index":["./signup/steps/test-step/index.jsx",90532,30788,58350,49280],"./test-step/index.jsx":["./signup/steps/test-step/index.jsx",90532,30788,58350,49280],"./theme-selection":["./signup/steps/theme-selection/index.jsx",90532,30788,16869,58350,95636],"./theme-selection/":["./signup/steps/theme-selection/index.jsx",90532,30788,16869,58350,95636],"./theme-selection/index":["./signup/steps/theme-selection/index.jsx",90532,30788,16869,58350,95636],"./theme-selection/index.jsx":["./signup/steps/theme-selection/index.jsx",90532,30788,16869,58350,95636],"./user":["./signup/steps/user/index.jsx",90532,30788,89337,58350,21735,18358,48852,81168],"./user/":["./signup/steps/user/index.jsx",90532,30788,89337,58350,21735,18358,48852,81168],"./user/index":["./signup/steps/user/index.jsx",90532,30788,89337,58350,21735,18358,48852,81168],"./user/index.jsx":["./signup/steps/user/index.jsx",90532,30788,89337,58350,21735,18358,48852,81168],"./website-content":["./signup/steps/website-content/index.tsx",90532,30788,14059,16869,18821,58350,27630],"./website-content/":["./signup/steps/website-content/index.tsx",90532,30788,14059,16869,18821,58350,27630],"./website-content/index":["./signup/steps/website-content/index.tsx",90532,30788,14059,16869,18821,58350,27630],"./website-content/index.tsx":["./signup/steps/website-content/index.tsx",90532,30788,14059,16869,18821,58350,27630],"./woocommerce-install":["./signup/steps/woocommerce-install/index.tsx",90532,30788,7581],"./woocommerce-install/":["./signup/steps/woocommerce-install/index.tsx",90532,30788,7581],"./woocommerce-install/components/support-card":["./signup/steps/woocommerce-install/components/support-card/index.tsx",13670],"./woocommerce-install/components/support-card/":["./signup/steps/woocommerce-install/components/support-card/index.tsx",13670],"./woocommerce-install/components/support-card/index":["./signup/steps/woocommerce-install/components/support-card/index.tsx",13670],"./woocommerce-install/components/support-card/index.tsx":["./signup/steps/woocommerce-install/components/support-card/index.tsx",13670],"./woocommerce-install/confirm":["./signup/steps/woocommerce-install/confirm/index.tsx",90532,30788,19174,58350,37365,70850,52938],"./woocommerce-install/confirm/":["./signup/steps/woocommerce-install/confirm/index.tsx",90532,30788,19174,58350,37365,70850,52938],"./woocommerce-install/confirm/index":["./signup/steps/woocommerce-install/confirm/index.tsx",90532,30788,19174,58350,37365,70850,52938],"./woocommerce-install/confirm/index.tsx":["./signup/steps/woocommerce-install/confirm/index.tsx",90532,30788,19174,58350,37365,70850,52938],"./woocommerce-install/hooks/use-site-settings":["./signup/steps/woocommerce-install/hooks/use-site-settings/index.tsx",59294],"./woocommerce-install/hooks/use-site-settings/":["./signup/steps/woocommerce-install/hooks/use-site-settings/index.tsx",59294],"./woocommerce-install/hooks/use-site-settings/index":["./signup/steps/woocommerce-install/hooks/use-site-settings/index.tsx",59294],"./woocommerce-install/hooks/use-site-settings/index.tsx":["./signup/steps/woocommerce-install/hooks/use-site-settings/index.tsx",59294],"./woocommerce-install/index":["./signup/steps/woocommerce-install/index.tsx",90532,30788,7581],"./woocommerce-install/index.tsx":["./signup/steps/woocommerce-install/index.tsx",90532,30788,7581],"./woocommerce-install/step-business-info":["./signup/steps/woocommerce-install/step-business-info/index.tsx",90532,30788,71539,43400,28498,83825,67262,58350,93132],"./woocommerce-install/step-business-info/":["./signup/steps/woocommerce-install/step-business-info/index.tsx",90532,30788,71539,43400,28498,83825,67262,58350,93132],"./woocommerce-install/step-business-info/index":["./signup/steps/woocommerce-install/step-business-info/index.tsx",90532,30788,71539,43400,28498,83825,67262,58350,93132],"./woocommerce-install/step-business-info/index.tsx":["./signup/steps/woocommerce-install/step-business-info/index.tsx",90532,30788,71539,43400,28498,83825,67262,58350,93132],"./woocommerce-install/step-store-address":["./signup/steps/woocommerce-install/step-store-address/index.tsx",90532,30788,71539,43400,28498,41279,58350,14430],"./woocommerce-install/step-store-address/":["./signup/steps/woocommerce-install/step-store-address/index.tsx",90532,30788,71539,43400,28498,41279,58350,14430],"./woocommerce-install/step-store-address/index":["./signup/steps/woocommerce-install/step-store-address/index.tsx",90532,30788,71539,43400,28498,41279,58350,14430],"./woocommerce-install/step-store-address/index.tsx":["./signup/steps/woocommerce-install/step-store-address/index.tsx",90532,30788,71539,43400,28498,41279,58350,14430],"./woocommerce-install/transfer":["./signup/steps/woocommerce-install/transfer/index.tsx",90532,30788,58350,55554],"./woocommerce-install/transfer/":["./signup/steps/woocommerce-install/transfer/index.tsx",90532,30788,58350,55554],"./woocommerce-install/transfer/index":["./signup/steps/woocommerce-install/transfer/index.tsx",90532,30788,58350,55554],"./woocommerce-install/transfer/index.tsx":["./signup/steps/woocommerce-install/transfer/index.tsx",90532,30788,58350,55554]};function n(e){if(!t.o(i,e))return Promise.resolve().then((()=>{var s=new Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}));var s=i[e],n=s[0];return Promise.all(s.slice(1).map(t.e)).then((()=>t(n)))}n.keys=()=>Object.keys(i),n.id="./signup/steps lazy recursive ^\\.\\/.*$ include: signup\\/steps\\/[0-9a-z/-]+\\/index\\.[j%7Ct]sx$ exclude: signup\\/steps\\/[0-9a-z/-]+\\/test\\/index\\.[j%7Ct]sx$",e.exports=n},"./components/locale-suggestions/index.jsx":(e,s,t)=>{"use strict";t.d(s,{Z:()=>v});var i=t("../node_modules/@babel/runtime/helpers/esm/defineProperty.js"),n=t("../packages/i18n-utils/src/utils.ts"),a=t("../packages/i18n-calypso/src/index.js"),o=t("../node_modules/lodash-es/startsWith.js"),r=t("../node_modules/react/index.js"),l=t("../node_modules/react-redux/es/index.js"),p=t("./state/action-types.ts"),c=(t("./state/i18n/init.js"),t("./state/data-layer/handler-registry.js")),u=t("./state/data-layer/wpcom-http/actions.js");const d=(0,t("./state/data-layer/wpcom-http/utils.js").BN)({fetch:e=>(0,u.d)({apiVersion:"1.1",method:"GET",path:"/locale-guess"},e),onSuccess:(e,s)=>m(s),onError:()=>{}});(0,c.Z9)("state/data-layer/wpcom/locale-guess/index.js",{[p.J$H]:[d]});const m=e=>({type:p.paC,items:e});var g=t("../node_modules/lodash-es/get.js");function f(e){return(0,g.Z)(e,"i18n.localeSuggestions",null)}class h extends r.Component{componentDidMount(){this.props.localeSuggestions||this.props.requestLocaleSuggestions()}render(){return null}}(0,i.Z)(h,"defaultProps",{requestLocaleSuggestions:()=>{}});const x=(0,l.$j)((e=>({localeSuggestions:f(e)})),{requestLocaleSuggestions:()=>({type:p.J$H})})(h);var w=t("./components/notice/index.jsx"),y=t("./state/ui/language/actions.js"),_=t("../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");class b extends r.Component{constructor(...e){super(...e),(0,i.Z)(this,"handleLocaleSuggestionClick",(e=>{const{locale:s,onLocaleSuggestionClick:t,path:i}=this.props;this.hasLocaleDirectionChanged(s)&&(e.preventDefault(),window.location=i),t&&t()}))}hasLocaleDirectionChanged(e){const s=(0,n.G3)(e.locale),t=(0,n.G3)((0,a.Yj)());return s.rtl!==t.rtl}render(){const{locale:e,path:s}=this.props;return(0,_.BX)("div",{className:"locale-suggestions__list-item",dir:"auto",children:[e.availability_text,(0,_.tZ)("a",{href:s,onClick:this.handleLocaleSuggestionClick,className:"locale-suggestions__locale-link",children:e.name})]})}}const S=b;class k extends r.Component{constructor(...e){super(...e),(0,i.Z)(this,"state",{dismissed:!1}),(0,i.Z)(this,"dismiss",(()=>this.setState({dismissed:!0}))),(0,i.Z)(this,"getPathWithLocale",(e=>(0,n.s6)(this.props.path,e)))}componentDidMount(){let{locale:e}=this.props;if(!e&&"object"==typeof navigator&&"languages"in navigator)for(const s of navigator.languages){const t=(0,n.G3)(s.toLowerCase());if(t){e=t.langSlug;break}}this.props.setLocale(e)}componentDidUpdate(e){e.locale!==this.props.locale&&this.props.setLocale(this.props.locale)}render(){if(this.state.dismissed)return null;const{localeSuggestions:e}=this.props;if(!e)return(0,_.tZ)(x,{});const s=e.filter((function(e){return!(0,o.Z)((0,a.Yj)(),e.locale)}));if(0===s.length)return null;const t=s.map((e=>(0,_.tZ)(S,{locale:e,onLocaleSuggestionClick:this.dismiss,path:this.getPathWithLocale(e.locale)},"locale-"+e.locale)));return(0,_.tZ)("div",{className:"locale-suggestions",children:(0,_.tZ)(w.Z,{icon:"globe",showDismiss:!0,onDismissClick:this.dismiss,children:(0,_.tZ)("div",{className:"locale-suggestions__list",children:t})})})}}(0,i.Z)(k,"defaultProps",{locale:"",localeSuggestions:[]});const v=(0,l.$j)((e=>({localeSuggestions:f(e)})),{setLocale:y.i})(k)},"./components/notice/index.jsx":(e,s,t)=>{"use strict";t.d(s,{q:()=>u,Z:()=>d});var i=t("../node_modules/@babel/runtime/helpers/esm/defineProperty.js"),n=t("../packages/components/src/gridicon/index.tsx"),a=t("../node_modules/classnames/index.js"),o=t.n(a),r=t("../packages/i18n-calypso/src/localize.js"),l=t("../node_modules/react/index.js"),p=t("../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");const c=["add","cross-circle","ellipsis-circle","help","info","notice","pause","play","spam"];class u extends l.Component{constructor(...e){super(...e),(0,i.Z)(this,"dismissTimeout",null)}componentDidMount(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}componentWillUnmount(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}componentDidUpdate(){clearTimeout(this.dismissTimeout),this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}getIcon(){let e;switch(this.props.status){case"is-info":e="info";break;case"is-success":e="checkmark";break;case"is-error":case"is-warning":e="notice";break;default:e="info"}return e}render(){const{children:e,className:s,icon:t,isCompact:i,isLoading:a,onDismissClick:r,showDismiss:l=!i,status:u,text:d,translate:m}=this.props,g=o()("notice",u,s,{"is-compact":i,"is-loading":a,"is-dismissable":l}),f=t||this.getIcon(),h=c.includes(f);return(0,p.BX)("div",{className:g,role:"status","aria-label":m("Notice"),children:[(0,p.BX)("span",{className:"notice__icon-wrapper",children:[h&&(0,p.tZ)("span",{className:"notice__icon-wrapper-drop"}),(0,p.tZ)(n.Z,{className:"notice__icon",icon:f,size:24})]}),(0,p.tZ)("span",{className:"notice__content",children:(0,p.tZ)("span",{className:"notice__text",children:d||e})}),d?e:null,l&&(0,p.tZ)("button",{className:"notice__dismiss",onClick:r,"aria-label":m("Dismiss"),children:(0,p.tZ)(n.Z,{icon:"cross",size:24})})]})}}(0,i.Z)(u,"defaultProps",{className:"",duration:0,icon:null,isCompact:!1,isLoading:!1,onDismissClick:()=>{},status:null,text:null});const d=(0,r.Z)(u)},"./lib/analytics/ad-tracking/record-alias-in-floodlight.js":(e,s,t)=>{"use strict";t.r(s),t.d(s,{recordAliasInFloodlight:()=>o});var i=t("./lib/analytics/utils/is-ad-tracking-allowed.js"),n=t("./lib/analytics/ad-tracking/constants.js"),a=t("./lib/analytics/ad-tracking/floodlight.js");t("./lib/analytics/ad-tracking/setup.js");function o(){(0,i.Z)()&&n.ZK&&((0,n.fF)("recordAliasInFloodlight: Aliasing anonymous user id with WordPress.com user id"),(0,n.fF)("recordAliasInFloodlight:"),(0,a.j)({send_to:"DC-6355556/wordp0/alias0+standard"}))}},"./lib/analytics/signup.js":(e,s,t)=>{"use strict";t.r(s),t.d(s,{recordRegistration:()=>j,recordSignupComplete:()=>S,recordSignupInvalidStep:()=>v,recordSignupPlanChange:()=>Z,recordSignupProcessingScreen:()=>D,recordSignupStart:()=>b,recordSignupStep:()=>k});var i=t("../packages/viewport/src/index.ts"),n=t("../node_modules/debug/src/browser.js"),a=t.n(n),o=t("../packages/calypso-analytics/src/index.ts"),r=t("./lib/analytics/utils/refresh-country-code-cookie-gdpr.js"),l=t("./lib/analytics/utils/is-ad-tracking-allowed.js"),p=t("./lib/analytics/ad-tracking/constants.js"),c=t("./lib/analytics/ad-tracking/floodlight.js"),u=t("./lib/analytics/ad-tracking/load-tracking-scripts.js");t("./lib/analytics/ad-tracking/setup.js");var d=t("../node_modules/uuid/dist/esm-browser/v4.js"),m=t("./lib/analytics/utils/cost-to-usd.js");var g=t("./lib/analytics/fullstory.js"),f=t("./lib/analytics/ga.js"),h=t("./lib/analytics/ad-tracking/record-alias-in-floodlight.js");const x=a()("calypso:analytics:identifyUser");var w=t("./lib/analytics/queue.js"),y=t("./lib/analytics/tracks.js");const _=a()("calypso:analytics:signup");function b(e,s,t){(0,y.recordTracksEvent)("calypso_signup_start",{flow:e,ref:s,...t}),(0,f.Yh)("Signup","calypso_signup_start"),async function(e){if(await(0,r.Z)(),!(0,l.Z)())return void(0,p.fF)("adTrackSignupStart: [Skipping] ad tracking is not allowed");await(0,u._)();const s=(0,o.ts)();if(p.ZK&&((0,p.fF)("adTrackSignupStart: [Floodlight]"),(0,c.j)({send_to:"DC-6355556/wordp0/pre-p0+unique"})),p.ZK&&!s&&"onboarding"===e&&((0,p.fF)("adTrackSignupStart: [Floodlight]"),(0,c.j)({send_to:"DC-6355556/wordp0/landi00+unique"})),p.xb&&!s&&"onboarding"===e){const e=["event","conversion",{send_to:p.Hb.wpcomGoogleAdsGtagSignupStart}];(0,p.fF)("adTrackSignupStart: [Google Ads Gtag]",e),window.gtag(...e)}}(e),(0,g.K)("calypso_signup_start",{flow:e,ref:s,...t})}function S({flow:e,siteId:s,isNewUser:t,isBlankCanvas:n,hasCartItems:a,isNew7DUserSite:h,theme:x,intent:_,startingPoint:b},S){const k=!!s;if(!S)return(0,w.x)("signup","recordSignupComplete",{flow:e,siteId:s,isNewUser:t,isBlankCanvas:n,hasCartItems:a,isNew7DUserSite:h,theme:x,intent:_,startingPoint:b},!0);(0,y.recordTracksEvent)("calypso_signup_complete",{flow:e,blog_id:s,is_new_user:t,is_new_site:k,is_blank_canvas:n,has_cart_items:a,theme:x,intent:_,starting_point:b});const v=[t&&"is_new_user",k&&"is_new_site",a&&"has_cart_items"].filter(Boolean);if((0,f.Yh)("Signup","calypso_signup_complete:"+v.join(",")),h){const s=(0,i.jv)();(0,y.recordTracksEvent)("calypso_new_user_site_creation",{flow:e,device:s}),(0,f.Yh)("Signup","calypso_new_user_site_creation"),(0,g.K)("calypso_new_user_site_creation",{flow:e,device:s})}!async function({isNewUserSite:e}){if(await(0,r.Z)(),!(0,l.Z)())return void(0,p.fF)("adTrackSignupComplete: [Skipping] ad tracking is disallowed");if(await(0,u._)(),p.ZK&&((0,p.fF)("adTrackSignupComplete: Floodlight:"),(0,c.j)({send_to:"DC-6355556/wordp0/signu0+unique"})),!e)return;const s={is_signup:!0,currency:"USD",total_cost:0,products:[{is_signup:!0,product_id:"new-user-site",product_slug:"new-user-site",product_name:"new-user-site",currency:"USD",volume:1,cost:0}]},t=(0,o.ts)(),i="s_"+(0,d.Z)().replace(/-/g,""),n=(0,m.Z)(s.total_cost,s.currency);if(p.xb){const e=["event","conversion",{send_to:p.Hb.wpcomGoogleAdsGtagSignup,value:s.total_cost,currency:s.currency,transaction_id:i}];(0,p.fF)("recordSignup: [Google Ads Gtag]",e),window.gtag(...e)}if(p.n_)if(null!==n){const e={ec:"signup",gv:n};(0,p.fF)("recordSignup: [Bing]",e),window.uetq.push(e)}else(0,p.fF)("recordSignup: [Bing] currency not supported, dropping WPCom pixel");if(p._O){const e=["trackSingle",p.Hb.facebookInit,"Subscribe",{product_slug:s.products.map((e=>e.product_slug)).join(", "),value:s.total_cost,currency:s.currency,user_id:t?t.hashedPii.ID:0,order_id:i}];(0,p.fF)("recordSignup: [Facebook]",e),window.fbq(...e)}if(p.ZK&&((0,p.fF)("recordSignup: [Floodlight]"),(0,c.j)({send_to:"DC-6355556/wordp0/signu1+unique"})),p.kL){const e={qacct:p.Hb.quantcast,labels:"_fp.event.WordPress Signup,_fp.pcat."+s.products.map((e=>e.product_slug)).join(" "),orderid:i,revenue:n,event:"refresh"};(0,p.fF)("recordSignup: [Quantcast]",e),window._qevents.push(e)}if(p.hR&&((0,p.fF)("recordSignup: [Icon Media]",p.yf),(new window.Image).src=p.yf),p.eG){const e=["track","signup",{value:s.total_cost,currency:s.currency}];(0,p.fF)("recordSignup: [Pinterest]",e),window.pintrk(...e)}if(p.Mf){const e=["track","Signup",{}];(0,p.fF)("recordSignup: [Twitter]",e),window.twq(...e)}(0,p.fF)("recordSignup: dataLayer:",JSON.stringify(window.dataLayer,null,2))}({isNewUserSite:t&&k}),(0,g.K)("calypso_signup_complete",{flow:e,blog_id:s,is_new_user:t,is_new_site:k,is_blank_canvas:n,has_cart_items:a,theme:x,intent:_,starting_point:b})}function k(e,s,t){const n={flow:e,step:s,device:(0,i.jv)(),...t};_("recordSignupStep:",n),(0,y.recordTracksEvent)("calypso_signup_step_start",n),(0,g.K)("calypso_signup_step_start",n)}function v(e,s){(0,y.recordTracksEvent)("calypso_signup_goto_invalid_step",{flow:e,step:s})}function j({userData:e,flow:s,type:t}){const n=(0,i.jv)();_("recordRegistration:",{userData:e,flow:s,type:t}),function(e){(0,o.$A)(e);const s=(0,o.ts)();"object"==typeof e&&s&&(0,o.di)()&&(x("recordAliasInFloodlight",s),(0,h.recordAliasInFloodlight)())}(e),(0,y.recordTracksEvent)("calypso_user_registration_complete",{flow:s,type:t,device:n}),(0,f.Yh)("Signup","calypso_user_registration_complete"),async function(){if(await(0,r.Z)(),(0,l.Z)()){if(await(0,u._)(),p.xb){const e=["event","conversion",{send_to:p.Hb.wpcomGoogleAdsGtagRegistration}];(0,p.fF)("adTrackRegistration: [Google Ads Gtag]",e),window.gtag(...e)}if(p._O){const e=["trackSingle",p.Hb.facebookInit,"Lead"];(0,p.fF)("adTrackRegistration: [Facebook]",e),window.fbq(...e)}if(p.n_){const e={ec:"registration"};(0,p.fF)("adTrackRegistration: [Bing]",e),window.uetq.push(e)}if(p.ZK&&((0,p.fF)("adTrackRegistration: [Floodlight]"),(0,c.j)({send_to:"DC-6355556/wordp0/regis0+unique"})),p.eG){const e=["track","lead"];(0,p.fF)("adTrackRegistration: [Pinterest]",e),window.pintrk(...e)}(0,p.fF)("adTrackRegistration: dataLayer:",JSON.stringify(window.dataLayer,null,2))}else(0,p.fF)("adTrackRegistration: [Skipping] ad tracking is not allowed")}(),(0,g.K)("calypso_user_registration_complete",{flow:s,type:t,device:n})}function D(e,s,t){const n=(0,i.jv)();(0,y.recordTracksEvent)("calypso_signup_processing_screen_show",{flow:e,previous_step:s,device:n,...t})}const Z=(e,s,t,n,a,o)=>{const r=(0,i.jv)();(0,y.recordTracksEvent)("calypso_signup_plan_change",{flow:e,step:s,device:r,previous_plan_name:t,previous_plan_slug:n,current_plan_name:a,current_plan_slug:o})}},"./lib/analytics/utils/cost-to-usd.js":(e,s,t)=>{"use strict";t.d(s,{Z:()=>n});const i={AED:3.673181,AFN:77.277444,ALL:110.685,AMD:485.718536,ANG:1.857145,AOA:318.1145,ARS:42.996883,AUD:1.39546,AWG:1.801247,AZN:1.7025,BAM:1.73465,BBD:2,BDT:84.350813,BGN:1.7345,BHD:.377065,BIF:1829.456861,BMD:1,BND:1.350704,BOB:6.910218,BRL:3.825491,BSD:1,BTC:.000188070491,BTN:69.241,BWP:10.571,BYN:2.12125,BZD:2.01582,CAD:1.331913,CDF:1640.538151,CHF:1.002295,CLF:.024214,CLP:662.405194,CNH:6.718409,CNY:6.7164,COP:3102.756403,CRC:603.878956,CUC:1,CUP:25.75,CVE:98.34575,CZK:22.699242,DJF:178,DKK:6.620894,DOP:50.601863,DZD:119.094464,EGP:17.321,ERN:14.996695,ETB:28.87,EUR:.886846,FJD:2.135399,FKP:.763495,GBP:.763495,GEL:2.695,GGP:.763495,GHS:5.18885,GIP:.763495,GMD:49.5025,GNF:9126.453332,GTQ:7.6503,GYD:207.888008,HKD:7.83635,HNL:24.53,HRK:6.587,HTG:84.642,HUF:285.120971,IDR:14140.665178,ILS:3.57935,IMP:.763495,INR:69.1502,IQD:1190,IRR:42105,ISK:119.899897,JEP:.763495,JMD:129.28,JOD:.709001,JPY:110.9875,KES:101.11,KGS:68.708365,KHR:4021.592884,KMF:437.375,KPW:900,KRW:1137.899434,KWD:.304268,KYD:.833459,KZT:378.893401,LAK:8630.377846,LBP:1509.5,LKR:174.733735,LRD:164.499779,LSL:14.1,LYD:1.391411,MAD:9.622,MDL:17.513226,MGA:3642.597503,MKD:54.731723,MMK:1510.092364,MNT:2511.632328,MOP:8.07298,MRO:357,MRU:36.55,MUR:34.9505,MVR:15.424994,MWK:728.565,MXN:18.8201,MYR:4.1106,MZN:64.576343,NAD:14.11,NGN:360.105269,NIO:33.04,NOK:8.49614,NPR:110.785702,NZD:1.47776,OMR:.38502,PAB:1,PEN:3.294475,PGK:3.374968,PHP:51.872601,PKR:141.62807,PLN:3.79605,PYG:6186.225628,QAR:3.641793,RON:4.217807,RSD:104.64086,RUB:64.2743,RWF:904.135,SAR:3.75,SBD:8.21464,SCR:13.675964,SDG:47.613574,SEK:9.261891,SGD:1.351801,SHP:.763495,SLL:8390,SOS:578.545,SRD:7.458,SSP:130.2634,STD:21050.59961,STN:21.8,SVC:8.751385,SYP:514.993308,SZL:13.972654,THB:31.75,TJS:9.434819,TMT:3.509961,TND:3.0117,TOP:2.267415,TRY:5.683728,TTD:6.768744,TWD:30.840434,TZS:2315.252864,UAH:26.819481,UGX:3758.198709,USD:1,UYU:33.969037,UZS:8427.57062,VEF:248487.642241,VES:3305.47961,VND:23197.866398,VUV:111.269352,WST:2.607815,XAF:581.732894,XAG:.06563851,XAU:76444e-8,XCD:2.70255,XDR:.717354,XOF:581.732894,XPD:71959e-8,XPF:105.828888,XPT:.00110645,YER:250.35,ZAR:13.909458,ZMW:12.110083,ZWL:322.355011};function n(e,s){return function(e){return-1!==Object.keys(i).indexOf(e)}(s)?(e/i[s]).toFixed(3):null}},"./lib/i18n-utils/browser.js":(e,s,t)=>{"use strict";t.d(s,{Y:()=>n});var i=t("../packages/i18n-calypso/src/index.js");const n=()=>i.ZP.getLocaleSlug()},"./lib/signup/site-type.js":(e,s,t)=>{"use strict";t.d(s,{k:()=>o,A:()=>r});var i=t("../packages/i18n-calypso/src/index.js"),n=t("../node_modules/lodash-es/get.js"),a=t("../node_modules/lodash-es/find.js");function o(e,s,t,o=r()){const l=(0,a.Z)(o,{[e]:s});return(0,n.Z)(l,t)||(p=t,(0,n.Z)({theme:"pub/zoologist",siteMockupHelpTipCopy:i.ZP.translate("Scroll down to see how your site will look. You can customize it with your own text and photos when we're done with the setup basics."),siteMockupHelpTipCopyBottom:i.ZP.translate("Scroll back up to continue."),siteMockupTitleFallback:i.ZP.translate("Your New Website"),siteTitleLabel:i.ZP.translate("Give your site a name"),siteTitleSubheader:i.ZP.translate("This will appear at the top of your site and can be changed at anytime."),siteTitlePlaceholder:i.ZP.translate("E.g., Vail Renovations or Stevie's blog"),siteTopicHeader:i.ZP.translate("What is your site about?"),siteTopicLabel:i.ZP.translate("What is your site about?"),siteTopicSubheader:i.ZP.translate("We'll add relevant content to your site to help you get started."),siteTopicInputPlaceholder:i.ZP.translate("Enter a topic or choose one from below."),signUpFlowDomainsStepHeader:i.ZP.translate("Let's get your site a domain!"),signUpFlowDomainsStepSubheader:i.ZP.translate("Tell us your site's name or a few keywords, and we'll come up with some suggestions.")},p,null));var p}function r(){return[{id:2,slug:"blog",defaultVertical:"blogging",label:i.ZP.translate("Blog"),description:i.ZP.translate("Share and discuss ideas, updates, or creations."),theme:"pub/maywood",designType:"blog",siteTitleLabel:i.ZP.translate("Tell us your blog's name"),siteTitlePlaceholder:i.ZP.translate("E.g., Stevie's blog"),siteTitleSubheader:i.ZP.translate("This will appear at the top of your blog and can be changed at anytime."),siteTopicHeader:i.ZP.translate("What is your blog about?"),siteTopicLabel:i.ZP.translate("What will your blog be about?"),siteTopicSubheader:i.ZP.translate("We'll add relevant content to your blog to help you get started."),siteMockupHelpTipCopy:i.ZP.translate("Scroll down to see your blog. Once you complete setup you’ll be able to customize it further."),siteMockupTitleFallback:i.ZP.translate("Your New Blog"),signUpFlowDomainsStepHeader:i.ZP.translate("Let's get your blog a domain!"),signUpFlowDomainsStepSubheader:i.ZP.translate("Tell us your blog's name or a few keywords, and we'll come up with some suggestions.")},{id:1,slug:"business",defaultVertical:"business",label:i.ZP.translate("Business"),description:i.ZP.translate("Promote products and services."),theme:"pub/maywood",designType:"page",siteTitleLabel:i.ZP.translate("Tell us your business’s name"),siteTitlePlaceholder:i.ZP.translate("E.g., Vail Renovations"),siteTopicHeader:i.ZP.translate("What does your business do?"),siteTopicLabel:i.ZP.translate("What type of business do you have?"),signUpFlowDomainsStepHeader:i.ZP.translate("Let's get your business a domain!"),signUpFlowDomainsStepSubheader:i.ZP.translate("Tell us your business's name or a few keywords, and we'll come up with some suggestions."),customerType:"business"},{id:4,slug:"professional",defaultVertical:"designer",label:i.ZP.translate("Professional"),description:i.ZP.translate("Showcase your portfolio and work."),theme:"pub/maywood",designType:"portfolio",siteTitleLabel:i.ZP.translate("What is your name?"),siteTitlePlaceholder:i.ZP.translate("E.g., John Appleseed",{comment:"An example of a person's name, use something appropriate for the locale"}),siteTopicHeader:i.ZP.translate("What type of work do you do?"),siteTopicLabel:i.ZP.translate("What type of work do you do?"),siteTopicInputPlaceholder:i.ZP.translate("Enter your job title or choose one from below."),domainsStepSubheader:i.ZP.translate("Enter your name or some keywords that describe yourself to get started.")},{id:3,slug:"online-store",defaultVertical:"business",label:i.ZP.translate("Online store"),description:i.ZP.translate("Sell your collection of products online."),theme:"pub/dara",designType:"store",siteTitleLabel:i.ZP.translate("What is the name of your store?"),siteTitlePlaceholder:i.ZP.translate("E.g., Mel's Diner"),siteTopicHeader:i.ZP.translate("What type of products do you sell?"),siteTopicLabel:i.ZP.translate("What type of products do you sell?"),customerType:"business",purchaseRequired:!0,signUpFlowDomainsStepHeader:i.ZP.translate("Let's get your store a domain!"),signUpFlowDomainsStepSubheader:i.ZP.translate("Tell us your store's name or a few keywords, and we'll come up with some suggestions.")}]}},"./lib/signup/step-actions/fetch-sites-and-user.js":(e,s,t)=>{"use strict";t.d(s,{k:()=>r});var i=t("./state/current-user/actions.js"),n=t("./state/sites/actions.js"),a=t("./state/sites/selectors/get-site-id.js");async function o(e,s){for(;!(0,a.Z)(s.getState(),e);)await s.dispatch((0,n.BU)())}function r(e,s,t){Promise.all([o(e,t),t.dispatch((0,i.k)())]).then(s)}},"./lib/signup/step-actions/index.js":(e,s,t)=>{"use strict";t.d(s,{wc:()=>re,sx:()=>oe,o1:()=>de,UW:()=>me,aR:()=>z,jL:()=>Q,R0:()=>ge,qo:()=>_e,EC:()=>be,OO:()=>xe,sh:()=>je,fr:()=>Se,TP:()=>ve,_n:()=>ke,IQ:()=>ue,Bp:()=>we,vp:()=>ye,hN:()=>ee,x6:()=>te,q8:()=>ae,MM:()=>ie,Fs:()=>ne,wK:()=>J,h:()=>se});var i=t("../packages/calypso-config/src/index.ts"),n=t("../packages/calypso-products/src/constants/wpcom.ts"),a=t("../packages/calypso-url/src/url-parts.ts"),o=t("../packages/data-stores/src/site/types.ts"),r=t("../packages/design-picker/src/utils/available-designs.ts"),l=t("../packages/i18n-utils/src/guess-timezone.ts"),p=t("../packages/i18n-utils/src/utils.ts"),c=t("../packages/js-utils/src/map-record-keys-recursively.ts"),u=t("../packages/js-utils/src/camel-to-snake-case.ts"),d=t("../node_modules/debug/src/browser.js"),m=t.n(d),g=t("../node_modules/lodash-es/pick.js"),f=t("../node_modules/lodash-es/get.js"),h=t("../node_modules/lodash-es/startsWith.js"),x=t("../node_modules/lodash-es/isEmpty.js"),w=t("../node_modules/lodash-es/defer.js"),y=t("../node_modules/lodash-es/difference.js"),_=t("../node_modules/lodash-es/includes.js"),b=t("./lib/analytics/signup.js"),S=t("./lib/analytics/tracks.js"),k=t("./lib/cart-values/cart-items.ts"),v=t("./lib/i18n-utils/browser.js"),j=t("./lib/signup/site-type.js"),D=t("./lib/signup/step-actions/fetch-sites-and-user.js");const Z=["Restaurant","Hotel","Video","Car","Music","Home","Bar","Translator","Grocery Store","DJ","Movie Theater","Post Office","Real Estate","Internet","Massage","Cafe","Gym","Liquor Store","School","Shoes","Parking Garage","Motel","Farm","River","Casino","Zoo","Pub","Spa","Golf","Mall","Fitness","Computer","Train Line","Beach","Orchestra","Park","Family","Library","Temple","Bank","Dentist","Brewery","Fast Food Restaurant","Mexican Restaurant","Barber Shop","Warehouse","Art","Photo Lab","Aquarium","Church"];function F(e){return e.toLowerCase().replace(/ /g,"-").replace(/-+/,"-")}function I(e){return!(!e||""===e)&&function(e){const s=Z.map(F);return e=F(e),Z.includes(e)||s.includes(e)}(e)}var T=t("./lib/tos-acceptance-tracking/index.js"),P=t("./lib/wp/browser.js"),C=t("./my-sites/checkout/cart-manager-client.ts"),A=t("./signup/config/flows.js"),N=t("./signup/config/steps.js"),R=t("./state/current-user/selectors.js");var E=t("./state/notices/actions.ts"),U=t("./state/products-list/selectors/get-products-list.ts"),L=t("./state/signup/dependency-store/selectors.js"),M=t("./state/signup/steps/design-type/selectors.js"),q=t("./state/signup/steps/site-title/selectors.js"),O=t("./state/signup/steps/site-type/selectors.js"),B=t("./state/signup/steps/site-vertical/selectors.js"),W=t("./state/signup/steps/survey/selectors.js"),G=t("./state/signup/steps/website-content/selectors.ts"),H=t("./state/sites/actions.js"),Y=t("./state/sites/selectors/get-site-id.js");const $=o.EE,K=m()("calypso:signup:step-actions");function z(e,s,t,i){const{siteId:n,siteSlug:a}=t,{cartItem:o,designType:r,siteUrl:l,themeSlugWithRepo:p}=s,c=i.getState(),u=s.domainItem?pe(ce(s.domainItem,c)):null;if("domain"===r){const s="no-site",t={siteId:null,siteSlug:s,themeSlugWithRepo:null,domainItem:u},n=[u].filter(Boolean);C.h.forCartKey(s).actions.replaceProductsInCart(n).then((()=>e(void 0,t))).catch((s=>{K("product replace request had an error",s),i.dispatch((0,E.tF)(s.message)),e(s,t)}))}else if("existing-site"===r){const t={siteId:n,siteSlug:a},o=[s.domainItem,s.privacyItem,s.cartItem].filter(Boolean).map((e=>pe(e)));C.h.forCartKey(n).actions.replaceProductsInCart(o).then((()=>e(void 0,t))).catch((s=>{K("product replace request had an error",s),i.dispatch((0,E.tF)(s.message)),e(s,t)}))}else{Q(((s,t)=>{e(s,(0,g.Z)(t,["siteId","siteSlug","themeSlugWithRepo","domainItem"]))}),s,{cartItem:o,domainItem:u,isPurchasingItem:!0,siteUrl:l,themeSlugWithRepo:p},i)}}function V(e){return((0,B.qp)(e)||(0,W.uy)(e)).trim()}function Q(e,s,t,n){const{domainItem:o,flowName:c,lastKnownFlow:u,googleAppsCartItem:d,isPurchasingItem:m,siteUrl:g,themeSlugWithRepo:w,themeItem:y}=t,_=c||u,b=[o,d,y].filter((e=>e)),k=(0,h.Z)(w,"pub")&&!y,D=n.getState(),Z=(0,f.Z)((0,L.D)(D),"bearer_token",null);if((0,f.Z)((0,L.D)(D),"isManageSiteFlow",!1)){const i=(0,f.Z)((0,L.D)(D),"siteSlug",void 0),a=(0,Y.Z)(D,i);return void re(e,s,t,n,i,{domainItem:o,siteId:a,siteSlug:i,themeItem:y})}const F=function({dependencies:e,flowToCheck:s,isPurchasingDomainItem:t,themeSlugWithRepo:i,siteUrl:n,state:a}){const o=(0,L.D)(a),p=(0,M.g)(a).trim(),c=(0,q.a)(a).trim()||(o?.siteTitle||"").trim(),u=(0,B.Zp)(a),d=(0,B.qp)(a),m=(0,O.s)(a).trim(),g=(0,j.k)("slug",m,"id"),h=(0,j.k)("slug",m,"theme"),x=(0,f.Z)(o,"selectedDesign",!1),w=o?.forceAutoGeneratedBlogName,y=(0,f.Z)(o,"shouldHideFreePlan",!1)||w,_=e.themeSlugWithRepo||i||(0,f.Z)(o,"themeSlugWithRepo",!1)||h,b={blog_title:c,public:$.PublicNotIndexed,options:{designType:p||void 0,theme:_,use_theme_annotation:(0,f.Z)(o,"useThemeHeadstart",!1),default_annotation_as_primary_fallback:!0,site_segment:g||void 0,site_vertical:u||void 0,site_vertical_name:d||void 0,site_information:{title:c},site_creation_flow:s,timezone_string:(0,l.Z)(),wpcom_public_coming_soon:1,enable_fse:!0},validate:!1};return y?(b.blog_name=c||(0,R.q4)(a)||(0,f.Z)(o,"username")||m||V(a),b.find_available_url=!0):(b.blog_name=n,b.find_available_url=!!t),x&&(b.options.theme=`pub/${x.theme}`,b.options.template=x.template,b.options.use_patterns=!0,b.options.is_blank_canvas=(0,r.Nf)(x),x.fonts&&(b.options.font_base=x.fonts.base,b.options.font_headings=x.fonts.headings)),b}({dependencies:s,flowToCheck:_,isPurchasingDomainItem:m,lastKnownFlow:u,themeSlugWithRepo:w,siteUrl:g,state:D});if((0,x.Z)(Z)&&"onboarding-registrationless"===_)return void function(e,s,t,i,n){const a=[(0,f.Z)((0,L.D)(e),"cartItem",void 0),s].filter((e=>e)).map((s=>ce(s,e)));try{window.localStorage.setItem("shoppingCart",JSON.stringify(a)),window.localStorage.setItem("siteParams",JSON.stringify(i))}catch(e){throw new Error("An unexpected error occured while saving your cart: "+e)}n(void 0,{domainItem:s,themeItem:t,siteId:void 0,siteSlug:"no-site"})}(D,o,y,F,e);(0,S.recordTracksEvent)("calypso_fse_enrolled",{flow:_,site_enrolled:!!F.options.enable_fse});const I=(0,v.Y)();P.Z.req.post("/sites/new",{...F,locale:I,lang_id:(0,p.G3)(I).value,client_id:(0,i.ZP)("wpcom_signup_id"),client_secret:(0,i.ZP)("wpcom_signup_key")},(function(s,t){if(s)return void e(s);const i=(0,a.A)(t.blog_details.url).hostname;le({siteId:t.blog_details.blogid,siteSlug:i,domainItem:o,themeItem:y},b,e,n,i,k,w)}))}function J(e,{siteSlug:s,themeSlugWithRepo:t}){if((0,x.Z)(t))return void(0,w.Z)(e);const i=t.split("/")[1];P.Z.req.post(`/sites/${s}/themes/mine`,{theme:i}).then((()=>e())).catch((s=>e([s])))}function X(e,s,t,i){const{selectedDesign:a,selectedSiteCategory:o,isLetUsChooseSelected:r,siteSlug:l}=s,p=function(e){const{newOrExistingSiteChoice:s,siteTitle:t,siteDescription:i,tagline:n,selectedDesign:a,selectedSiteCategory:o,isLetUsChooseSelected:r,twitterUrl:l,facebookUrl:p,linkedinUrl:c,instagramUrl:u,displayEmail:d,displayPhone:m,displayAddress:g,selectedPageTitles:f}=e;return{new_or_existing_site_choice:s,site_title:t,site_description:i||n,selected_design:a?.theme,site_category:o,let_us_choose_selected:r,twitter_url:l,facebook_url:p,linkedin_url:c,instagram_url:u,display_email:d,display_phone:m,display_address:g,selected_page_titles:f}}(s),c={product_slug:n.m6,extra:p};le({selectedDesign:a,selectedSiteCategory:o,isLetUsChooseSelected:r,siteSlug:l,cartItem:c},[c],e,i,l,null,null)}function ee(e,s,t,i){const{newOrExistingSiteChoice:n}=s,a={...(0,L.D)(i.getState()),...s};if("new-site"===n){let s=null;const n=t=>{t?e(t):X(e,{...a,siteSlug:s},0,i)};Q(((t,i)=>{t?e(t):(s=i.siteSlug,te(n,{...a,siteSlug:s}))}),a,t,i)}else X(e,a,0,i)}function se(e,{siteSlug:s},t,i){const n=i.getState(),a=(0,G.J9)(n);if(!a)return void(0,w.Z)(e);const{pages:o,siteLogoUrl:r}=a,l=o.map((e=>(0,c.Z)(e,u.Z)));P.Z.req.post({path:`/sites/${s}/do-it-for-me/website-content`,apiNamespace:"wpcom/v2",body:{pages:l,site_logo_url:r}}).then((()=>i.dispatch((0,H.LV)(s)))).then((()=>e())).catch((s=>{i.dispatch((0,E.tF)(s.message)),e([s])}))}function te(e,{siteSlug:s,selectedDesign:t}){if(!t)return void(0,w.Z)(e);const{theme:i}=t;P.Z.req.post(`/sites/${s}/themes/mine`,{theme:i,dont_change_homepage:!0}).then((()=>P.Z.req.post({path:`/sites/${s}/theme-setup`,apiNamespace:"wpcom/v2",body:{trim_content:!0}}))).then((()=>P.Z.req.get({path:`/sites/${s}/block-editor`,apiNamespace:"wpcom/v2"}))).then((s=>{e(null,{isFSEActive:s?.is_fse_active??!1})})).catch((s=>{e([s])}))}function ie(e,{siteSlug:s,siteTitle:t,tagline:i}){t||i?P.Z.req.post(`/sites/${s}/settings`,{apiVersion:"1.4"},{blogname:t,blogdescription:i},(function(s){e((0,x.Z)(s)?void 0:[s])})):(0,w.Z)(e)}function ne(e,{siteSlug:s}){s?P.Z.req.post({path:`/sites/${s}/seller_footer`,apiNamespace:"wpcom/v2"}).then((()=>e())).catch((s=>{e([s])})):(0,w.Z)(e)}function ae(e,{siteSlug:s,intent:t}){t?P.Z.req.post({path:`/sites/${s}/site-intent`,apiNamespace:"wpcom/v2",body:{site_intent:t}}).then((()=>e())).catch((s=>{e([s])})):(0,w.Z)(e)}function oe(e,s,t,i){const{emailItem:n,siteSlug:a}=s,{cartItem:o}=t;if((0,x.Z)(o)&&(0,x.Z)(n))return void(0,w.Z)(e);le({cartItem:o},[o,n].filter((e=>e)),e,i,a,null,null)}function re(e,s,t,i,n,a){const o=n||s.siteSlug,{domainItem:r,googleAppsCartItem:l}=t;le(a||{domainItem:r},[r,l].filter((e=>e)),e,i,o,null,null)}function le(e,s,t,i,n,a,o){const r=async()=>{K("preparing to add cart items (if any) from",s);const a=i.getState(),o=s.map((e=>ce(e,a))).map((e=>pe(e)));if(o.length){K("adding products to cart",o);const s=await C.h.getCartKeyForSiteSlug(n);C.h.forCartKey(s).actions.addProductsToCart(o).then((s=>{K("product add request complete",s),t(void 0,e)})).catch((s=>{K("product add request had an error",s),i.dispatch((0,E.tF)(s.message)),t(s,e)}))}else K("no cart items to add"),t(void 0,e)},l=(0,R.Pc)(i.getState());!l&&a?J(r,{siteSlug:n,themeSlugWithRepo:o}):l&&a?(0,D.k)(n,J.bind(null,r,{siteSlug:n,themeSlugWithRepo:o}),i):l&&n?(0,D.k)(n,r,i):r()}function pe(e){return{...e,extra:{...e.extra,context:"signup"}}}function ce(e,s){const{product_slug:t}=e,i=(0,U.o)(s);return t&&i&&(0,k.o_)(t,i)?(0,k.al)(e,!0):e}function ue(e,s){const{siteSlug:t}=s;P.Z.req.post(`/sites/${t}/launch`).then((()=>e(null))).catch((s=>e(s)))}function de(e,s,{userData:t,flowName:n,lastKnownFlow:a,queryArgs:o,service:r,access_token:l,id_token:p,oauth2Signup:c,recaptchaDidntLoad:u,recaptchaFailed:d,recaptchaToken:m},g){if("onboarding-registrationless"===(n||a)){const{cartItem:t,domainItem:i}=s;if(!(0,x.Z)(t)||!(0,x.Z)(i)){const s={allowUnauthenticated:!0};return(0,w.Z)((()=>e(void 0,s)))}}const h=g.getState(),y=V(h),_=(0,W.pd)(h).trim(),S="social",k="default",j=s=>(i,a)=>{const r=s===S?{email:(0,f.Z)(i,"data.email",void 0)}:{},l=i&&i.error?[{error:i.error,message:i.message,...r}]:void 0;if(l)return void e(l);let p=!0;s===S&&a&&!a.created_account&&(p=!1);const u={};a&&a.bearer_token?u.bearer_token=a.bearer_token:console.error("Expected either an error or a bearer token. got %o, %o.",i,a);const d=a&&a.signup_sandbox_username||a&&a.username||t.username,m={ID:a&&a.signup_sandbox_user_id||a&&a.user_id||t.ID,username:d,email:a&&a.email||t&&(t.email||t.user_email)},g=a?.marketing_price_group??"",h=a?.plans_reorder_abtest_variation??"";p&&(0,b.recordRegistration)({userData:m,flow:n,type:s});const x={username:d,marketing_price_group:g,plans_reorder_abtest_variation:h,...u};s===k&&c&&Object.assign(x,{oauth2_client_id:o.oauth2_client_id,oauth2_redirect:(0,f.Z)(a,"oauth2_redirect","").split("@")[1]}),e(void 0,x)};r?P.Z.req.post("/users/social/new",{service:r,access_token:l,id_token:p,signup_flow_name:n,locale:(0,v.Y)(),client_id:(0,i.ZP)("wpcom_signup_id"),client_secret:(0,i.ZP)("wpcom_signup_key"),...t,tos:(0,T.Z)()},j(S)):P.Z.req.post("/users/new",Object.assign({},t,{validate:!1,signup_flow_name:n,nux_q_site_type:_,nux_q_question_primary:y,jetpack_redirect:o.jetpack_redirect,locale:(0,v.Y)(),client_id:(0,i.ZP)("wpcom_signup_id"),client_secret:(0,i.ZP)("wpcom_signup_key"),tos:(0,T.Z)()},c?{oauth2_client_id:o.oauth2_client_id,oauth2_redirect:o.oauth2_redirect&&"0@"+o.oauth2_redirect}:null,u?{"g-recaptcha-error":"recaptcha_didnt_load"}:null,d?{"g-recaptcha-error":"recaptcha_failed"}:null,m?{"g-recaptcha-response":m}:null),j(k))}function me(e,s,t,n){const{themeSlugWithRepo:o}=s,{site:r}=t,c=(0,v.Y)(),u={blog_name:r,blog_title:"",public:$.PublicNotIndexed,options:{theme:o,timezone_string:(0,l.Z)(),wpcom_public_coming_soon:1},validate:!1,locale:c,lang_id:(0,p.G3)(c).value,client_id:(0,i.ZP)("wpcom_signup_id"),client_secret:(0,i.ZP)("wpcom_signup_key")};P.Z.req.post("/sites/new",u,(function(s,t){let i,o;if(t&&t.blog_details){o=(0,a.A)(t.blog_details.url).hostname,i={siteSlug:o}}(0,R.Pc)(n.getState())&&(0,x.Z)(s)?(0,D.k)(o,(()=>e(void 0,i)),n):e((0,x.Z)(s)?void 0:[s],i)}))}function ge(e,s,t,n){const{site:o,siteTitle:r}=t,c=(0,v.Y)(),u={blog_name:o,blog_title:r,public:-1,options:{theme:"pub/p2020",timezone_string:(0,l.Z)(),is_wpforteams_site:!0,p2_initialize_as_hub:!0,...t.campaign&&{p2_signup_campaign:t.campaign}},validate:!1,locale:c,lang_id:(0,p.G3)(c).value,client_id:(0,i.ZP)("wpcom_signup_id"),client_secret:(0,i.ZP)("wpcom_signup_key")};P.Z.req.post("/sites/new",u,(function(s,t){let i,o;if(t&&t.blog_details){o=(0,a.A)(t.blog_details.url).hostname,i={siteSlug:o}}(0,R.Pc)(n.getState())&&(0,x.Z)(s)?(0,D.k)(o,(()=>e(void 0,i)),n):e((0,x.Z)(s)?void 0:[s],i)}))}function fe(e,s){(0,S.recordTracksEvent)("calypso_signup_actions_exclude_step",{step:e,value:s})}function he(e,s){if((0,x.Z)(s))return!1;const t=N.Z[e].providesDependencies,i=N.Z[e].optionalDependencies,n=(0,y.Z)(t,i,s);return(0,x.Z)(n)}function xe(e,s,t){const{siteDomains:i,submitSignupStep:n}=t;if(i&&i.length>1){!function(e,s,t){let i=[];const n=void 0;t({stepName:e,domainItem:n},{domainItem:n}),fe(e,s),i=["domainItem","siteId","siteSlug","themeItem"],he(e,i)&&A.Z.excludeStep(e)}(e,i.map((e=>e.domain)).join(", "),n)}}function we({domainItem:e,resetSignupStep:s,siteUrl:t,stepName:i,submitSignupStep:n}){const a=A.Z.excludedSteps.includes(i);if(e){if(!a)return;return s(i),void A.Z.resetExcludedStep(i)}if(a)return;const o=void 0;n({stepName:i,emailItem:o,wasSkipped:!0},{emailItem:o}),fe(i,t),A.Z.excludeStep(i)}function ye(e,s,t){if("onboarding-registrationless"!==t.flowName)return;const{submitSignupStep:i}=t,n=(0,f.Z)(t,"signupDependencies.cartItem",!1),a=(0,f.Z)(t,"signupDependencies.domainItem",!1);if(!(0,x.Z)(n)||!(0,x.Z)(a)){if((0,_.Z)(A.Z.excludedSteps,e))return;i({stepName:e},{bearer_token:null,username:null,marketing_price_group:null}),fe(e,null);he(e,["bearer_token","username","marketing_price_group"])&&A.Z.excludeStep(e)}else(0,_.Z)(A.Z.excludedSteps,e)&&(A.Z.resetExcludedStep(e),t.removeStep({stepName:e}))}function _e(e,s,t){(0,_.Z)(A.Z.excludedSteps,e)||("p2"!==t.flowName||"in-progress"!==t?.progress[e]?.status?(K("User email is verified: %s",t?.isEmailVerified),t.isEmailVerified&&(K("Skipping P2 email confirmation step"),(0,S.recordTracksEvent)("calypso_signup_p2_confirm_email_autoskip"),t.submitSignupStep({stepName:e,wasSkipped:!0}),A.Z.excludeStep(e))):K("User email verification is in progress, do not skip this step"))}function be(e,s,t){if((0,_.Z)(A.Z.excludedSteps,e))return;const i=t?.store?.getState();if(!i)return;const n=(0,R.ts)(i);K("Checking profile for current user",n),n?.display_name!==n?.username&&(K("Skipping P2 complete profile step"),(0,S.recordTracksEvent)("calypso_signup_p2_complete_profile_autoskip"),t.submitSignupStep({stepName:e,wasSkipped:!0}),A.Z.excludeStep(e))}function Se(e,s,t){const{isPaidPlan:i,sitePlanSlug:n,submitSignupStep:a}=t;let o=[];if(i){const s=void 0;a({stepName:e,cartItem:s,wasSkipped:!0},{cartItem:s}),fe(e,n),o=["cartItem"]}else if(s&&s.cartItem){const t=(0,k.Zx)(s.cartItem);a({stepName:e,cartItem:t,wasSkipped:!0},{cartItem:t}),fe(e,s.cartItem),o=["cartItem"]}he(e,o)&&A.Z.excludeStep(e)}function ke(e,s,t){if((0,x.Z)(t.initialContext&&t.initialContext.query))return;const{initialContext:{query:{site_type:i}}}=t,n=(0,j.k)("slug",i,"slug");let a=[];n&&(K("From query string: site_type = %s",i),K("Site type value = %s",n),t.submitSiteType(i),fe(e,i),a=a.concat(["siteType","themeSlugWithRepo"])),he(e,a)&&A.Z.excludeStep(e)}function ve(e,s,t){if((0,x.Z)(t.initialContext&&t.initialContext.query))return;const{initialContext:{query:{vertical:i}},flowName:n}=t,a=A.Z.getFlow(n,t.isLoggedIn).steps;let o=[];i&&-1===a.indexOf("survey")&&(K("From query string: vertical = %s",i),t.setSurvey({vertical:i,otherText:""}),t.submitSignupStep({stepName:"survey",wasSkipped:!0},{surveySiteType:"blog",surveyQuestion:i}),t.submitSiteVertical({name:i},e),I(i)&&(0,S.recordTracksEvent)("calypso_signup_vertical_landing_page",{vertical:i,flow:n}),o=o.concat(["surveySiteType","surveyQuestion","siteTopic"]),fe(e,i)),he(e,o)&&A.Z.excludeStep(e)}function je(e,s,t){const{existingSiteCount:i,submitSignupStep:n}=t;if(!i||0===i){let s;N.Z[e].providesDependencies.includes("newOrExistingSiteChoice")&&(s={newOrExistingSiteChoice:"new-site",forceAutoGeneratedBlogName:!0}),n({stepName:e,wasSkipped:!0},s),fe(e),A.Z.excludeStep(e)}}},"./lib/tos-acceptance-tracking/index.js":(e,s,t)=>{"use strict";t.d(s,{Z:()=>n});var i=t("./lib/i18n-utils/browser.js");function n(){let e=0,s=0,t="/";return"undefined"!=typeof window&&(e=window.document.documentElement.clientWidth,s=window.document.documentElement.clientHeight,t=window.location.pathname),{path:t,locale:(0,i.Y)(),viewport:`${e}x${s}`}}},"./signup/config/flows.js":(e,s,t)=>{"use strict";t.d(s,{Z:()=>w});var i=t("../packages/calypso-config/src/index.ts"),n=t("../packages/i18n-utils/src/locales.ts"),a=t("../node_modules/lodash-es/reject.js"),o=t("../node_modules/lodash-es/get.js"),r=t("../node_modules/lodash-es/includes.js"),l=t("./lib/detect-history-navigation/index.js"),p=t("./lib/url/add-query-args.ts"),c=t("../packages/i18n-calypso/src/index.js");const u=()=>{};function d({getSiteDestination:e=u,getRedirectDestination:s=u,getSignupDestination:t=u,getLaunchDestination:n=u,getThankYouNoSiteDestination:a=u,getDomainSignupFlowDestination:o=u,getChecklistThemeDestination:r=u,getDestinationFromIntent:l=u,getDIFMSignupDestination:p=u,getDIFMSiteContentCollectionDestination:d=u}={}){const m=[{name:"account",steps:["user"],destination:s,description:"Create an account without a blog.",lastModified:"2020-08-12",get pageTitle(){return(0,c.Iu)("Create an account")},showRecaptcha:!0},{name:"business",steps:["user","domains","plans-business"],destination:t,description:"Create an account and a blog and then add the business plan to the users cart.",lastModified:"2020-08-11",showRecaptcha:!0},{name:"premium",steps:["user","domains","plans-premium"],destination:t,description:"Create an account and a blog and then add the premium plan to the users cart.",lastModified:"2020-08-11",showRecaptcha:!0},{name:"personal",steps:["user","domains","plans-personal"],destination:t,description:"Create an account and a blog and then add the personal plan to the users cart.",lastModified:"2020-08-11",showRecaptcha:!0},{name:"pro",steps:["user","domains","plans-pro"],destination:t,description:"Create an account and a blog and then add the pro plan to the users cart.",lastModified:"2022-03-08",showRecaptcha:!0},{name:"starter",steps:["user","domains","plans-starter"],destination:t,description:"Create an account and a blog and then add the starter plan to the users cart.",lastModified:"2022-05-05",showRecaptcha:!0},{name:"free",steps:["user","domains"],destination:t,description:"Create an account and a blog and default to the free plan.",lastModified:"2020-08-11",showRecaptcha:!0},{name:"with-theme",steps:["domains-theme-preselected","plans","user"],destination:r,description:"Preselect a theme to activate/buy from an external source",lastModified:"2020-08-11",showRecaptcha:!0},{name:"design-first",steps:["template-first-themes","user","site-type-with-theme","site-topic-with-theme","site-title","domains","plans"],destination:r,description:"Start with one of our template-first (Gutenberg) themes.",lastModified:"2019-10-16"},{name:"onboarding",steps:(0,i._k)("signup/professional-email-step")?["user","domains","emails","plans"]:["user","domains","plans"],destination:t,description:"Abridged version of the onboarding flow. Read more in https://wp.me/pau2Xa-Vs.",lastModified:"2020-12-10",showRecaptcha:!0},{name:"onboarding-with-email",steps:["user","domains","emails","plans"],destination:t,description:"Copy of the onboarding flow that always includes an email step; the flow is used by the Professional Email landing page",lastModified:"2021-08-11",showRecaptcha:!0},{name:"onboarding-registrationless",steps:["domains","plans-new","user-new"],destination:t,description:"Checkout without user account or site. Read more https://wp.me/pau2Xa-1hW",lastModified:"2020-06-26",showRecaptcha:!0},{name:"desktop",steps:["user"],destination:t,description:"Signup flow for desktop app",lastModified:"2021-03-26",showRecaptcha:!0},{name:"pressable-nux",steps:["creds-permission","creds-confirm","creds-complete"],destination:"/stats",description:"Allow new Pressable users to grant permission to server credentials",lastModified:"2017-11-20",disallowResume:!0},{name:"rewind-switch",steps:["rewind-migrate","rewind-were-backing"],destination:"/activity-log",description:"Allows users with Jetpack plan with VaultPress credentials to migrate credentials",lastModified:"2018-01-27",disallowResume:!0},{name:"rewind-setup",steps:["rewind-form-creds","rewind-were-backing"],destination:"/activity-log",description:"Allows users with Jetpack plan to setup credentials",lastModified:"2019-11-11",disallowResume:!0,forceLogin:!0},{name:"rewind-auto-config",steps:["creds-permission","creds-confirm","rewind-were-backing"],destination:"/activity-log",description:"Allow users of sites that can auto-config to grant permission to server credentials",lastModified:"2018-02-13",disallowResume:!0},{name:"clone-site",steps:["clone-start","clone-destination","clone-credentials","clone-point","clone-ready","clone-cloning"],destination:"/activity-log",description:"Allow Jetpack users to clone a site via Rewind (alternate restore)",lastModified:"2018-05-28",disallowResume:!0},{name:"ecommerce",steps:["user","domains","plans-ecommerce-fulfilled"],destination:t,description:"Signup flow for creating an online store with an Atomic site",lastModified:"2020-08-11",showRecaptcha:!0},{name:"ecommerce-design-first",steps:["template-first-themes","user","site-type-with-theme","domains","plans-ecommerce"],destination:t,description:"Signup flow for creating an online store with an Atomic site, forked from the design-first flow",lastModified:"2019-11-27"},{name:"ecommerce-monthly",steps:["user","domains","plans-ecommerce-monthly"],destination:t,description:"Signup flow for creating an online store with an Atomic site",lastModified:"2021-02-02",showRecaptcha:!0},{name:"wpcc",steps:["oauth2-user"],destination:s,description:"WordPress.com Connect signup flow",lastModified:"2017-08-24",disallowResume:!0,showRecaptcha:!0},{name:"p2v1",steps:["p2-site","p2-details","user"],destination:e=>`https://${e.siteSlug}`,description:"P2 signup flow",lastModified:"2020-09-01",showRecaptcha:!0},{name:"p2",steps:["user","p2-confirm-email","p2-complete-profile","p2-join-workspace","p2-site"],destination:e=>`https://${e.siteSlug}`,description:"New P2 signup flow",lastModified:"2021-12-27",showRecaptcha:!0},{name:"domain",steps:["domain-only","site-or-domain","site-picker","plans-site-selected","user"],destination:o,description:"An experimental approach for WordPress.com/domains",disallowResume:!0,lastModified:"2022-02-15",showRecaptcha:!0},{name:"add-domain",steps:["select-domain","site-or-domain","site-picker","themes","plans-site-selected","user"],destination:a,description:"An approach to add a domain via the all domains view",disallowResume:!0,lastModified:"2020-08-11",showRecaptcha:!0},{name:"site-selected",steps:["themes-site-selected","plans-site-selected"],destination:e,providesDependenciesInQuery:["siteSlug","siteId"],optionalDependenciesInQuery:["siteId"],description:"A flow to test updating an existing site with `Signup`",lastModified:"2017-01-19"},{name:"launch-site",steps:["domains-launch","plans-launch","launch"],destination:n,description:"A flow to launch a private site.",providesDependenciesInQuery:["siteSlug"],lastModified:"2019-11-22",get pageTitle(){return(0,c.Iu)("Launch your site")}},{name:"importer",steps:(0,i._k)("onboarding/import")?["capture","list","ready"]:[],destination:"/",get pageTitle(){return(0,c.Iu)("Import your site content")},description:"A new import flow that can be used from the onboarding flow",lastModified:"2021-10-18",disallowResume:!0,providesDependenciesInQuery:["siteSlug"]},{name:"from",steps:["importing"],destination:"/",get pageTitle(){return(0,c.Iu)("Import your site content")},description:"Onboarding - start from importer",lastModified:"2021-11-15",enableBranchSteps:!0},{name:"import-light",steps:(0,i._k)("onboarding/import-light")?["static"]:[],destination:"/",get pageTitle(){return(0,c.Iu)("Import light")},description:"Import light",lastModified:"2022-02-25",enableBranchSteps:!0},{name:"reader",steps:["reader-landing","user"],destination:"/",description:"Signup for an account and migrate email subs to the Reader.",lastModified:"2020-08-11",showRecaptcha:!0},{name:"crowdsignal",steps:["oauth2-name"],destination:s,description:"Crowdsignal's custom WordPress.com Connect signup flow",lastModified:"2018-11-14",disallowResume:!0,showRecaptcha:!0},{name:"plan-no-domain",steps:["user","site","plans"],destination:e,description:"Allow users to select a plan without a domain",lastModified:"2020-08-11",showRecaptcha:!0},{name:"launch-only",steps:["launch"],destination:n,description:"Launch flow without domain or plan selected, used for sites that already have a paid plan and domain (e.g. via the launch banner in the site preview)",lastModified:"2020-11-30",get pageTitle(){return(0,c.Iu)("Launch your site")},providesDependenciesInQuery:["siteSlug"]},{name:"business-monthly",steps:["user","domains","plans-business-monthly"],destination:t,description:"Create an account and a blog and then add the business monthly plan to the users cart.",lastModified:"2021-02-02",showRecaptcha:!0},{name:"premium-monthly",steps:["user","domains","plans-premium-monthly"],destination:t,description:"Create an account and a blog and then add the premium monthly plan to the users cart.",lastModified:"2021-02-02",showRecaptcha:!0},{name:"personal-monthly",steps:["user","domains","plans-personal-monthly"],destination:t,description:"Create an account and a blog and then add the personal monthly plan to the users cart.",lastModified:"2021-02-02",showRecaptcha:!0},{name:"setup-site",steps:["intent","site-options","starting-point","courses","store-options","store-features","design-setup-site"],destination:l,description:"Sets up a site that has already been created and paid for (if purchases were made)",lastModified:"2021-10-14",providesDependenciesInQuery:["siteId","siteSlug"],optionalDependenciesInQuery:["siteId"],get pageTitle(){return(0,c.Iu)("Set up your site")},enableBranchSteps:!0},{name:"do-it-for-me",steps:["user","new-or-existing-site","difm-site-picker","difm-options","social-profiles","difm-design-setup-site","difm-page-picker"],destination:p,description:"A flow for DIFM Lite leads",excludeFromManageSiteFlows:!0,lastModified:"2022-03-10",enableBranchSteps:!0},{name:"website-design-services",steps:["choose-service","difm-options","social-profiles","difm-design-setup-site","difm-page-picker"],destination:p,description:"A flow for DIFM onboarding",excludeFromManageSiteFlows:!0,lastModified:"2022-05-02"},{name:"site-content-collection",steps:["user","website-content"],destination:d,description:"A flow to collect DIFM lite site content",excludeFromManageSiteFlows:!0,providesDependenciesInQuery:["siteSlug"],lastModified:"2022-01-21"},{name:"woocommerce-install",get pageTitle(){return(0,c.Iu)("Add WooCommerce to your site")},steps:["store-address","business-info","confirm","transfer"],destination:"/",description:"Onboarding and installation flow for woocommerce on all plans.",providesDependenciesInQuery:["siteSlug","back_to"],optionalDependenciesInQuery:["back_to"],lastModified:"2021-12-21",disallowResume:!1}];return Object.fromEntries(m.map((e=>[e.name,e])))}d();var m=t("./signup/config/steps.js");function g(){return"/checkout/thank-you/no-site"}function f(e){return`/home/${e.siteSlug}`}const h=d({getSiteDestination:function(e){let s="https";return e.siteSlug.match(/wordpress\.[a-z]+$/i)||(s="http"),s+"://"+e.siteSlug},getRedirectDestination:function(e){try{if(e.oauth2_redirect&&"public-api.wordpress.com"===new URL(e.oauth2_redirect).host)return e.oauth2_redirect;if(e.redirect)return e.redirect}catch{return"/"}return"/"},getSignupDestination:function({domainItem:e,siteId:s,siteSlug:t,refParameter:a},o){if("no-site"===t)return"/home";let r={siteSlug:t};return e&&(r={siteId:s}),a&&(r.ref=a),(0,i._k)("signup/stepper-flow")?(0,p.Z)(r,"/setup"):n.xN.includes(o)||(0,i._k)("signup/hero-flow-non-en")?(r.loading_ellipsis=1,(0,p.Z)(r,"/start/setup-site")):`/home/${t}`},getLaunchDestination:function(e){return`/home/${e.siteSlug}`},getThankYouNoSiteDestination:g,getDomainSignupFlowDestination:function({domainItem:e,cartItem:s,siteId:t,designType:i,siteSlug:n}){return e&&s&&"existing-site"!==i?(0,p.Z)({siteId:t},"/start/setup-site"):"existing-site"===i?`/checkout/thank-you/${n}`:g()},getChecklistThemeDestination:f,getEditorDestination:function(e){return`/page/${e.siteSlug}/home`},getDestinationFromIntent:function(e){const{intent:s,storeType:t,startingPoint:i,siteSlug:n,isFSEActive:a}=e;return"write"===s&&"skip-to-my-home"!==i?("write"!==i&&window.sessionStorage.setItem("wpcom_signup_complete_show_draft_post_modal","1"),`/post/${n}`):"sell"===s&&"power"===t?(0,p.Z)({back_to:`/start/setup-site/store-features?siteSlug=${n}`,siteSlug:n},"/start/woocommerce-install"):a||"sell"!==s?a&&"write"!==s?`/site-editor/${e.siteSlug}`:f(e):`/page/${e.siteSlug}/home`},getDIFMSignupDestination:function({siteSlug:e}){return(0,p.Z)({siteSlug:e},"/start/site-content-collection")},getDIFMSiteContentCollectionDestination:function({siteSlug:e}){return`/home/${e}`}});const x={filterDestination:function(e,s,t,i){return function(e){return e.cartItem||e.domainItem||e.themeItem}(s)?function(e,s,t){let i=`/checkout/${e.siteSlug}`;return"no-site"===e.siteSlug&&!0===e.allowUnauthenticated&&(i+=`/${s}`),(0,p.Z)({signup:1,...["domain","add-domain"].includes(t)&&{isDomainOnly:1}},i)}(s,i,t):e},defaultFlowName:"onboarding",excludedSteps:[],getFlow(e,s){let t=x.getFlows()[e];if(!t)return t;if(s){new URLSearchParams(window.location.search).get("user_completed")||l.Z.loadedViaHistory()||(t=function(e){if(e)return{...e,steps:(0,a.Z)(e.steps,(e=>m.Z[e].providesToken))}}(t))}return"p2v1"===e&&s&&(t=function(e){if(e)return{...e,steps:(0,a.Z)(e.steps,(e=>"p2-details"===e))}}(t)),x.filterExcludedSteps(t)},getNextStepNameInFlow(e,s=""){const t=x.getFlows()[e];if(!t)return!1;const i=t.steps,n=i.indexOf(s)+1;return(0,o.Z)(i,n)},excludeStep(e){e&&-1===x.excludedSteps.indexOf(e)&&x.excludedSteps.push(e)},excludeSteps(e){e.forEach((e=>x.excludeStep(e)))},filterExcludedSteps(e){if(e)return{...e,steps:(0,a.Z)(e.steps,(e=>(0,r.Z)(x.excludedSteps,e)))}},resetExcludedSteps(){x.excludedSteps=[]},resetExcludedStep(e){const s=x.excludedSteps.indexOf(e);s>-1&&x.excludedSteps.splice(s,1)},getFlows:()=>h},w=x},"./signup/config/step-components.js":(e,s,t)=>{"use strict";t.d(s,{L:()=>n,z:()=>a});const i={"clone-start":"clone-start","clone-destination":"clone-destination","clone-credentials":"clone-credentials","clone-point":"clone-point","clone-jetpack":"clone-jetpack","clone-ready":"clone-ready","clone-cloning":"clone-cloning",courses:"courses","creds-confirm":"creds-confirm","creds-complete":"creds-complete","creds-permission":"creds-permission",domains:"domains",emails:"emails","domains-store":"domains","domain-only":"domains","domains-theme-preselected":"domains","domains-launch":"domains","from-url":"import-url","import-url":"import-url-onboarding","intent-screen":"intent-screen",launch:"launch-site",plans:"plans","plans-new":"plans","plans-business":"plans","plans-ecommerce":"plans","plans-pro":"plans","plans-starter":"plans","plans-import":"plans","plans-launch":"plans","plans-personal":"plans","plans-premium":"plans","plans-site-selected":"plans","plans-store-nux":"plans-atomic-store","select-domain":"domains",site:"site","rewind-migrate":"rewind-migrate","rewind-were-backing":"rewind-were-backing","rewind-form-creds":"rewind-form-creds","site-or-domain":"site-or-domain","site-picker":"site-picker","site-title":"site-title","site-options":"site-options","store-options":"site-options","store-features":"store-features","site-topic":"site-topic","site-topic-with-theme":"site-topic","site-type-with-theme":"site-type","starting-point":"starting-point",survey:"survey","survey-user":"survey-user",test:"test-step",themes:"theme-selection","themes-site-selected":"theme-selection","template-first-themes":"theme-selection",user:"user","user-new":"user","oauth2-user":"user","oauth2-name":"user","reader-landing":"reader-landing","p2-details":"p2-details","p2-site":"p2-site","p2-get-started":"p2-get-started","p2-confirm-email":"p2-confirm-email","p2-complete-profile":"p2-complete-profile","p2-join-workspace":"p2-join-workspace","plans-business-monthly":"plans","plans-ecommerce-monthly":"plans","plans-personal-monthly":"plans","plans-premium-monthly":"plans","design-setup-site":"design-picker","new-or-existing-site":"new-or-existing-site","choose-service":"choose-service","difm-site-picker":"difm-site-picker","difm-design-setup-site":"design-picker","difm-options":"site-options","difm-page-picker":"page-picker","website-content":"website-content",intent:"intent",list:"import",capture:"import",ready:"import",importing:"import-from",static:"import-light","select-site":"woocommerce-install/select-site","store-address":"woocommerce-install/step-store-address","business-info":"woocommerce-install/step-business-info",confirm:"woocommerce-install/confirm",transfer:"woocommerce-install/transfer","social-profiles":"social-profiles"};function n(e){return i[e]||""}async function a(e){const s=i[e];return(await t("./signup/steps lazy recursive ^\\.\\/.*$ include: signup\\/steps\\/[0-9a-z/-]+\\/index\\.[j%7Ct]sx$ exclude: signup\\/steps\\/[0-9a-z/-]+\\/test\\/index\\.[j%7Ct]sx$")(`./${s}`)).default}},"./signup/config/steps-pure.js":(e,s,t)=>{"use strict";t.d(s,{s:()=>l,Z:()=>p});var i=t("../packages/calypso-config/src/index.ts"),n=t("../packages/calypso-products/src/constants/types.ts"),a=t("../packages/calypso-products/src/constants/wpcom.ts"),o=t("../packages/i18n-calypso/src/index.js");const r=()=>{};function l({addPlanToCart:e=r,createAccount:s=r,createSite:t=r,createWpForTeamsSite:l=r,createSiteOrDomain:p=r,createSiteWithCart:c=r,currentPage:u=r,setDesignOnSite:d=r,setThemeOnSite:m=r,setOptionsOnSite:g=r,setStoreFeatures:f=r,setIntentOnSite:h=r,addDomainToCart:x=r,launchSiteApi:w=r,isPlanFulfilled:y=r,isDomainFulfilled:_=r,isSiteTypeFulfilled:b=r,isSiteTopicFulfilled:S=r,maybeRemoveStepForUserlessCheckout:k=r,isNewOrExistingSiteFulfilled:v=r,setDIFMLiteDesign:j=r,excludeStepIfEmailVerified:D=r,excludeStepIfProfileComplete:Z=r,submitWebsiteContent:F=r}={}){return{survey:{stepName:"survey",props:{surveySiteType:u&&u.toString().match(/\/start\/blog/)?"blog":"site"},providesDependencies:["surveySiteType","surveyQuestion"]},themes:{stepName:"themes",dependencies:["siteSlug"],providesDependencies:["themeSlugWithRepo","useThemeHeadstart"],optionalDependencies:["useThemeHeadstart"]},"portfolio-themes":{stepName:"portfolio-themes",props:{designType:"grid"},dependencies:["siteSlug"],providesDependencies:["themeSlugWithRepo"]},"template-first-themes":{stepName:"template-first-themes",props:{designType:"template-first",quantity:18},dependencies:["siteSlug"],providesDependencies:["themeSlugWithRepo","useThemeHeadstart"]},"themes-site-selected":{stepName:"themes-site-selected",dependencies:["siteSlug","themeSlugWithRepo"],providesDependencies:["themeSlugWithRepo","useThemeHeadstart"],apiRequestFunction:m,props:{get headerText(){return o.ZP.translate("Choose a theme for your new site.")}}},"domains-launch":{stepName:"domains-launch",apiRequestFunction:x,fulfilledStepCallback:_,providesDependencies:["domainItem","shouldHideFreePlan"],optionalDependencies:["shouldHideFreePlan"],props:{isDomainOnly:!1,showExampleSuggestions:!1,includeWordPressDotCom:!1,showSkipButton:!0,get headerText(){return o.ZP.translate("Getting ready to launch, pick a domain")},get subHeaderText(){return o.ZP.translate("Select a domain name for your website")}},dependencies:["siteSlug"]},"plans-site-selected":{stepName:"plans-site-selected",apiRequestFunction:e,dependencies:["siteSlug"],providesDependencies:["cartItem"]},site:{stepName:"site",apiRequestFunction:t,providesDependencies:["siteSlug"]},user:{stepName:"user",apiRequestFunction:s,providesToken:!0,providesDependencies:["bearer_token","username","marketing_price_group","plans_reorder_abtest_variation","redirect"],optionalDependencies:["plans_reorder_abtest_variation","redirect"],props:{isSocialSignupEnabled:i.ZP.isEnabled("signup/social")}},"user-new":{stepName:"user-new",apiRequestFunction:s,fulfilledStepCallback:k,providesToken:!0,dependencies:["cartItem","domainItem"],providesDependencies:["bearer_token","username","marketing_price_group","plans_reorder_abtest_variation","allowUnauthenticated"],optionalDependencies:["bearer_token","username","marketing_price_group","plans_reorder_abtest_variation","allowUnauthenticated"],props:{isSocialSignupEnabled:i.ZP.isEnabled("signup/social")}},"site-title":{stepName:"site-title",providesDependencies:["siteTitle"]},"site-options":{stepName:"site-options",dependencies:["siteSlug","siteTitle","tagline"],providesDependencies:["siteTitle","tagline"],apiRequestFunction:g,delayApiRequestUntilComplete:!0},"store-options":{stepName:"store-options",dependencies:["siteSlug","siteTitle","tagline"],providesDependencies:["siteTitle","tagline"],apiRequestFunction:g},"store-features":{stepName:"store-features",dependencies:["siteSlug"],apiRequestFunction:f,providesDependencies:["storeType"],optionalDependencies:["storeType"]},"starting-point":{stepName:"starting-point",providesDependencies:["startingPoint"],optionalDependencies:["startingPoint"]},test:{stepName:"test"},plans:{stepName:"plans",apiRequestFunction:e,dependencies:["siteSlug"],optionalDependencies:["emailItem"],providesDependencies:["cartItem"],fulfilledStepCallback:y},"plans-new":{stepName:"plans",providesDependencies:["cartItem"],fulfilledStepCallback:y},"plans-ecommerce":{stepName:"plans-ecommerce",apiRequestFunction:e,dependencies:["siteSlug"],providesDependencies:["cartItem"],fulfilledStepCallback:y,props:{hideFreePlan:!0,planTypes:[n.Qj,n.h7]}},"plans-import":{stepName:"plans-import",apiRequestFunction:e,dependencies:["siteSlug"],providesDependencies:["cartItem"],fulfilledStepCallback:y,props:{planTypes:[n.UH,n.mV,n.Kb,n.Qj]}},"plans-personal":{stepName:"plans-personal",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a.sy}},"plans-premium":{stepName:"plans-premium",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a.xf}},"plans-business":{stepName:"plans-business",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a.p7}},"plans-pro":{stepName:"plans-pro",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a._s}},"plans-starter":{stepName:"plans-starter",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a.Id}},"plans-ecommerce-fulfilled":{stepName:"plans-ecommerce-fulfilled",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a.JA}},"plans-launch":{stepName:"plans-launch",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],props:{get headerText(){return o.ZP.translate("Getting ready to launch your website")},get subHeaderText(){return o.ZP.translate("Pick a plan that's right for you. Upgrade as you grow.")},isLaunchPage:!0}},"plans-store-nux":{stepName:"plans-store-nux",apiRequestFunction:e,dependencies:["siteSlug","domainItem"],providesDependencies:["cartItem"]},domains:{stepName:"domains",apiRequestFunction:c,providesDependencies:["siteId","siteSlug","domainItem","themeItem","shouldHideFreePlan","isManageSiteFlow"],optionalDependencies:["shouldHideFreePlan","isManageSiteFlow"],props:{isDomainOnly:!1},delayApiRequestUntilComplete:!0},emails:{stepName:"emails",dependencies:["domainItem","siteSlug"],providesDependencies:["domainItem","emailItem","shouldHideFreePlan"],props:{isDomainOnly:!1}},"domain-only":{stepName:"domain-only",providesDependencies:["siteId","siteSlug","siteUrl","domainItem"],props:{isDomainOnly:!0,forceHideFreeDomainExplainerAndStrikeoutUi:!0}},"select-domain":{stepName:"select-domain",providesDependencies:["siteId","siteSlug","domainItem"],props:{isAllDomains:!0,isDomainOnly:!0,forceHideFreeDomainExplainerAndStrikeoutUi:!0}},"domains-store":{stepName:"domains",apiRequestFunction:c,providesDependencies:["siteId","siteSlug","domainItem","themeItem"],props:{isDomainOnly:!1,forceDesignType:"store"},delayApiRequestUntilComplete:!0},"domains-theme-preselected":{stepName:"domains-theme-preselected",apiRequestFunction:c,providesDependencies:["siteId","siteSlug","domainItem","themeItem","useThemeHeadstart","shouldHideFreePlan"],optionalDependencies:["shouldHideFreePlan","useThemeHeadstart"],props:{isDomainOnly:!1},delayApiRequestUntilComplete:!0},"oauth2-user":{stepName:"oauth2-user",apiRequestFunction:s,props:{oauth2Signup:!0},providesToken:!0,providesDependencies:["bearer_token","username","oauth2_client_id","oauth2_redirect","marketing_price_group","plans_reorder_abtest_variation"],optionalDependencies:["plans_reorder_abtest_variation"]},"oauth2-name":{stepName:"oauth2-name",apiRequestFunction:s,providesToken:!0,providesDependencies:["bearer_token","username","oauth2_client_id","oauth2_redirect","marketing_price_group","plans_reorder_abtest_variation"],optionalDependencies:["plans_reorder_abtest_variation"],props:{isSocialSignupEnabled:i.ZP.isEnabled("signup/social"),oauth2Signup:!0,displayNameInput:!0,displayUsernameInput:!1}},"site-or-domain":{stepName:"site-or-domain",props:{get headerText(){return o.ZP.translate("Choose how to use your domain")},get subHeaderText(){return o.ZP.translate("Don’t worry, you can easily add a site later")}},providesDependencies:["designType","siteId","siteSlug","siteUrl","domainItem","themeSlugWithRepo"]},"site-picker":{stepName:"site-picker",apiRequestFunction:p,props:{get headerText(){return o.ZP.translate("Choose your site")}},providesDependencies:["siteId","siteSlug","domainItem","themeSlugWithRepo"],dependencies:["cartItem","designType","domainItem","siteUrl","themeSlugWithRepo"],delayApiRequestUntilComplete:!0},"creds-complete":{stepName:"creds-complete",providesDependencies:[]},"creds-confirm":{stepName:"creds-confirm",providesDependencies:["rewindconfig"]},"creds-permission":{stepName:"creds-permission",providesDependencies:["rewindconfig"]},"rewind-migrate":{stepName:"rewind-migrate",providesDependencies:["rewindconfig"]},"rewind-were-backing":{stepName:"rewind-were-backing",providesDependencies:[]},"rewind-form-creds":{stepName:"rewind-form-creds",providesDependencies:["rewindconfig"]},"clone-start":{stepName:"clone-start",providesDependencies:["originSiteSlug","originSiteName","originBlogId"]},"clone-destination":{stepName:"clone-destination",providesDependencies:["destinationSiteName","destinationSiteUrl"]},"clone-credentials":{stepName:"clone-credentials",providesDependencies:["roleName"]},"clone-point":{stepName:"clone-point",providesDependencies:["clonePoint"]},"clone-jetpack":{stepName:"clone-jetpack",providesDependencies:["cloneJetpack"]},"clone-ready":{stepName:"clone-ready",providesDependencies:[]},"clone-cloning":{stepName:"clone-cloning",providesDependencies:[]},"from-url":{stepName:"from-url",providesDependencies:["importSiteEngine","importSiteFavicon","importSiteUrl","siteTitle","suggestedDomain","themeSlugWithRepo"]},"reader-landing":{stepName:"reader-landing",providesDependencies:[]},"site-type-with-theme":{stepName:"site-type",providesDependencies:["siteType"],fulfilledStepCallback:b},"site-topic":{stepName:"site-topic",providesDependencies:["siteTopic","themeSlugWithRepo"],optionalDependencies:["themeSlugWithRepo"],fulfilledStepCallback:S},"site-topic-with-theme":{stepName:"site-topic",providesDependencies:["siteTopic"],fulfilledStepCallback:S},launch:{stepName:"launch",apiRequestFunction:w,dependencies:["siteSlug"],props:{nonInteractive:!0}},"p2-details":{stepName:"p2-details"},"p2-site":{stepName:"p2-site",apiRequestFunction:l,providesDependencies:["siteSlug"]},"p2-get-started":{stepName:"p2-get-started"},"p2-confirm-email":{stepName:"p2-confirm-email",fulfilledStepCallback:D},"p2-complete-profile":{stepName:"p2-complete-profile",fulfilledStepCallback:Z},"p2-join-workspace":{stepName:"p2-join-workspace"},"plans-personal-monthly":{stepName:"plans-personal-monthly",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a.wm}},"plans-premium-monthly":{stepName:"plans-premium-monthly",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a.OE}},"plans-business-monthly":{stepName:"plans-business-monthly",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a.Wg}},"plans-ecommerce-monthly":{stepName:"plans-ecommerce-monthly",apiRequestFunction:e,fulfilledStepCallback:y,dependencies:["siteSlug"],providesDependencies:["cartItem"],defaultDependencies:{cartItem:a.lv}},intent:{stepName:"intent",dependencies:["siteSlug"],providesDependencies:["intent"],optionalDependencies:["intent"],apiRequestFunction:h,delayApiRequestUntilComplete:!0},"design-setup-site":{stepName:"design-setup-site",apiRequestFunction:d,delayApiRequestUntilComplete:!0,dependencies:["siteSlug"],providesDependencies:["isFSEActive","selectedDesign","selectedSiteCategory"],optionalDependencies:["isFSEActive","selectedDesign","selectedSiteCategory"],props:{showDesignPickerCategories:i.ZP.isEnabled("signup/design-picker-categories"),showDesignPickerCategoriesAllFilter:i.ZP.isEnabled("signup/design-picker-categories")}},"choose-service":{stepName:"choose-service",providesDependencies:["siteSlug","newOrExistingSiteChoice"]},"new-or-existing-site":{stepName:"new-or-existing-site",fulfilledStepCallback:v,providesDependencies:["newOrExistingSiteChoice","forceAutoGeneratedBlogName"]},"difm-site-picker":{stepName:"difm-site-picker",props:{headerText:o.ZP.translate("Choose your site?")},providesDependencies:["siteId","siteSlug"],optionalDependencies:["siteId","siteSlug"],fulfilledStepCallback:v},"difm-design-setup-site":{stepName:"difm-design-setup-site",apiRequestFunction:j,delayApiRequestUntilComplete:!0,dependencies:["newOrExistingSiteChoice"],providesDependencies:["isFSEActive","selectedDesign","selectedSiteCategory","isLetUsChooseSelected","cartItem","siteSlug"],optionalDependencies:["isFSEActive","selectedDesign","isLetUsChooseSelected","cartItem","siteSlug"],props:{hideSkip:!0,hideExternalPreview:!0,useDIFMThemes:!0,showDesignPickerCategories:!0,showDesignPickerCategoriesAllFilter:!0,showLetUsChoose:!0,hideFullScreenPreview:!0,hideDesignTitle:!0}},"difm-options":{stepName:"site-options",providesDependencies:["siteTitle","tagline"],props:{hideSkip:!0}},"difm-page-picker":{stepName:"difm-page-picker",providesDependencies:["selectedPageTitles"],props:{hideSkip:!0}},"social-profiles":{stepName:"social-profiles",providesDependencies:["twitterUrl","facebookUrl","linkedinUrl","instagramUrl"]},"website-content":{stepName:"website-content",dependencies:["siteSlug"],apiRequestFunction:F},courses:{stepName:"courses"},list:{stepName:"list"},capture:{stepName:"capture"},ready:{stepName:"ready"},importing:{stepName:"importing"},static:{stepName:"static"},"store-address":{stepName:"store-address",dependencies:["siteSlug","back_to"],optionalDependencies:["back_to"]},"business-info":{stepName:"business-info",dependencies:["siteSlug"]},confirm:{stepName:"confirm",dependencies:["siteSlug"],providesDependencies:["siteConfirmed"]},transfer:{stepName:"transfer",dependencies:["siteSlug","siteConfirmed"]}}}const p=l()},"./signup/config/steps.js":(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});var i=t("../node_modules/page/page.js"),n=t("./lib/signup/step-actions/index.js");const a=(0,t("./signup/config/steps-pure.js").s)({addPlanToCart:n.sx,createAccount:n.o1,createSite:n.UW,createWpForTeamsSite:n.R0,createSiteOrDomain:n.aR,createSiteWithCart:n.jL,currentPage:i.current,setDesignOnSite:n.x6,setThemeOnSite:n.wK,setOptionsOnSite:n.MM,setStoreFeatures:n.Fs,setIntentOnSite:n.q8,addDomainToCart:n.wc,launchSiteApi:n.IQ,isPlanFulfilled:n.fr,isDomainFulfilled:n.OO,isSiteTypeFulfilled:n._n,isSiteTopicFulfilled:n.TP,maybeRemoveStepForUserlessCheckout:n.vp,isNewOrExistingSiteFulfilled:n.sh,setDIFMLiteDesign:n.hN,excludeStepIfEmailVerified:n.qo,excludeStepIfProfileComplete:n.EC,submitWebsiteContent:n.h})},"./signup/utils.js":(e,s,t)=>{"use strict";t.d(s,{Hl:()=>h,kK:()=>x,fM:()=>w,F5:()=>_,D7:()=>S,vo:()=>k,Xp:()=>v,PI:()=>j,xw:()=>D,t0:()=>Z,v4:()=>F,Y3:()=>I,jL:()=>T,Fc:()=>P,EI:()=>C,hP:()=>A,d:()=>N,Nb:()=>R,ww:()=>E,Xk:()=>U});var i=t("../packages/calypso-config/src/index.ts"),n=t("../packages/i18n-calypso/src/index.js"),a=t("../node_modules/lodash-es/isEmpty.js"),o=t("../node_modules/lodash-es/find.js"),r=t("../node_modules/lodash-es/pick.js"),l=t("../node_modules/lodash-es/sortBy.js"),p=t("../node_modules/lodash-es/filter.js"),c=t("../node_modules/lodash-es/includes.js"),u=t("./lib/url/add-query-args.ts"),d=t("./signup/config/flows.js"),m=t("./signup/config/step-components.js"),g=t("./signup/config/steps-pure.js");const{defaultFlowName:f}=d.Z;function h(e,s){return e.flowName&&function(e,s){return!(0,a.Z)(d.Z.getFlow(e,s))}(e.flowName,s)?e.flowName:f}function x(e){return(0,o.Z)((0,r.Z)(e,["flowName","stepName"]),y)}function w(e,s,t){const{steps:i}=d.Z.getFlow(e,t);return 0===i.indexOf(s)}function y(e){return!(0,a.Z)(g.Z[e])}function _(e){return(0,o.Z)((0,r.Z)(e,["stepName","stepSectionName"]),b)}function b(e){return!y(e)}function S(e,s,t,i,n={}){const a=s?`/${s}`:"",o=t?`/${t}`:"",r=i?`/${i}`:"",l=e===f?"/start"+a+o+r:"/start"+(e?`/${e}`:"")+a+o+r;return(0,u.Z)(n,l)}function k(e,s){const t=e.lang,i=h(e,s),n=d.Z.getFlow(i,s).steps,a=x(e)||n[0],o=_(e);return 0===n.length?"/":S(i,a,o,t)}function v(e,s,t){const i=d.Z.getFlow(e,t);return i.steps[i.steps.indexOf(s)-1]}function j(e,s,t){const i=d.Z.getFlow(e,t);return i.steps[i.steps.indexOf(s)+1]}function D(e,s){return d.Z.getFlow(e,s).steps}function Z(e,s){return d.Z.getFlow(e,s).pageTitle||(0,n.Iu)("Create a site")}function F({signupProgress:e,stepName:s,fieldName:t}){const i=(0,o.Z)(e,(e=>e.stepName===s));return i?i[t]:null}function I(e,s,t,i){return d.Z.filterDestination(e,s,t,i)}function T(e,s,t){const i=d.Z.getFlow(e,t);return i?(0,l.Z)((0,p.Z)(s,(e=>(0,c.Z)(i.steps,e.stepName))),(({stepName:e})=>i.steps.indexOf(e))):[]}function P(e,s,t){return(0,o.Z)(T(e,s,t),{status:"invalid"})}function C(e,s,t={},i){return t.shouldMatchFlowName?(0,p.Z)(T(e,s,i),(s=>"in-progress"!==s.status&&s.lastKnownFlow===e)):(0,p.Z)(T(e,s,i),(e=>"in-progress"!==e.status))}function A(e,s,t){const i=d.Z.getFlow(e,t);return C(e,s,{shouldMatchFlowName:!0},t).length>0&&!i.disallowResume}const N=(e,s)=>{const t=d.Z.getFlow(e,s);return!!t&&t.forceLogin},R=e=>i.ZP.isEnabled("signup/reskin")&&(0,i.ZP)("reskinned_flows").includes(e),E=e=>"p2"===e||"p2v1"===e,U=e=>{const s=e.findIndex((e=>"plans"===(0,m.L)(e))),t=e.findIndex((e=>"domains"===(0,m.L)(e)));return s>0&&s>t}},"./signup/wpcom-login-form/index.jsx":(e,s,t)=>{"use strict";t.d(s,{Z:()=>c});var i=t("../node_modules/@babel/runtime/helpers/esm/defineProperty.js"),n=t("../packages/calypso-config/src/index.ts"),a=t("../node_modules/debug/src/browser.js"),o=t.n(a),r=t("../node_modules/react/index.js"),l=t("../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");const p=o()("calypso:signup:wpcom-login");class c extends r.Component{constructor(...e){super(...e),(0,i.Z)(this,"form",null),(0,i.Z)(this,"storeFormRef",(e=>{this.form=e}))}componentDidMount(){p("submit form"),this.form.submit()}action(){const e=/^https?:\/\/([a-z0-9]*).wordpress.com/;let s="";return e.test(this.props.redirectTo)&&"wpcalypso.wordpress.com"!==(0,n.ZP)("hostname")&&"horizon.wordpress.com"!==(0,n.ZP)("hostname")&&(s=this.props.redirectTo.match(e)[1]+"."),`https://${s}wordpress.com/wp-login.php`}renderExtraFields(){const{extraFields:e}=this.props;return e?(0,l.tZ)("div",{children:Object.keys(e).map((s=>(0,l.tZ)("input",{type:"hidden",name:s,value:e[s]},s)))}):null}render(){return(0,l.BX)("form",{method:"post",action:this.action(),ref:this.storeFormRef,children:[(0,l.tZ)("input",{type:"hidden",name:"log",value:this.props.log}),(0,l.tZ)("input",{type:"hidden",name:"pwd",value:this.props.pwd}),(0,l.tZ)("input",{type:"hidden",name:"authorization",value:this.props.authorization}),(0,l.tZ)("input",{type:"hidden",name:"redirect_to",value:this.props.redirectTo}),this.renderExtraFields()]})}}},"./state/i18n/init.js":(e,s,t)=>{"use strict";var i=t("./state/redux-store.ts"),n=t("../packages/state-utils/src/index.ts"),a=t("./state/utils/reducer-utils.ts"),o=t("./state/action-types.ts");const r=(0,a.U)({items:(e=null,s)=>s.type===o.lUQ?s.items:e}),l=(e=null,s)=>s.type===o.paC?s.items:e,p=(0,n.xi)("i18n",(0,a.U)({languageNames:r,localeSuggestions:l}));(0,i.x)(["i18n"],p)},"./state/products-list/selectors/get-products-list.ts":(e,s,t)=>{"use strict";t.d(s,{o:()=>i});t("./state/products-list/init.js");function i(e){return e.productsList.items}},"./state/signup/dependency-store/selectors.js":(e,s,t)=>{"use strict";t.d(s,{D:()=>a});var i=t("../node_modules/lodash-es/get.js");t("./state/signup/init.js");const n={};function a(e){return(0,i.Z)(e,"signup.dependencyStore",n)}},"./state/signup/flow/selectors.js":(e,s,t)=>{"use strict";t.d(s,{sP:()=>n,nf:()=>a,BS:()=>o});var i=t("../node_modules/lodash-es/get.js");t("./state/signup/init.js");function n(e){return(0,i.Z)(e,"signup.flow.currentFlowName","")}function a(e){return(0,i.Z)(e,"signup.flow.previousFlowName","")}function o(e){return(0,i.Z)(e,"signup.flow.excludedSteps",[])}},"./state/signup/init.js":(e,s,t)=>{"use strict";var i=t("./state/redux-store.ts"),n=t("../packages/state-utils/src/index.ts"),a=t("./state/utils/reducer-utils.ts"),o=t("./state/action-types.ts"),r=t("./state/utils/schema-utils.js");const l={};const p=(0,r.G)({type:"object",properties:{cartItem:{OneOfType:[{type:"null"},{type:"optional"},{type:"object",properties:{product_slug:{type:"string"},free_trial:{type:"boolean"}}}]},designType:{type:"string"},domainItem:{OneOfType:[{type:"null"},{type:"optional"},{type:"object",properties:{is_domain_registration:{type:"boolean"},product_slug:{type:"string"},meta:{type:"string"}}}]},selectedDesign:{fonts:{headings:{type:"string"},base:{type:"string"}},slug:{type:"string"},template:{type:"string"},theme:{type:"string"}},surveyQuestion:{type:"string"},surveySiteType:{type:"string"},theme:{type:"string"}}},(function(e=l,s){switch(s.type){case o.XXO:return{...e,...s.dependencies};case o.aR7:{const{siteId:s,siteSlug:t,...i}=e;return i}case o._E3:case o.cSD:{const{providedDependencies:t}=s.step;return t?{...e,...t}:e}case o.CHW:return l;default:return e}})),c=[],u=(0,r.G)({type:"string"},((e="",{flowName:s,type:t})=>t===o.m5B?s:e)),d=(0,r.G)({type:"string"},((e="",{flowName:s,type:t})=>t===o.sbx?s:e)),m=(0,r.G)({type:"array",items:{type:"string"}},((e=c,{type:s,steps:t})=>{switch(s){case o.cxI:return Array.from(new Set([...e,...t]));case o.dPJ:{const s=new Set(t);return e.filter((e=>!s.has(e)))}case o.h$p:return c;default:return e}})),g=(0,a.U)({currentFlowName:u,previousFlowName:d,excludedSteps:m}),f=(0,r.G)({type:["string","null"]},((e="",s)=>s.type===o.$Bw?s.data:e)),h=(0,a.U)({suggestedUsername:f});var x=t("../node_modules/debug/src/browser.js"),w=t.n(x),y=t("../node_modules/lodash-es/get.js"),_=t("../node_modules/lodash-es/keyBy.js"),b=t("../node_modules/lodash-es/omit.js"),S=t("./signup/config/steps-pure.js");const k=w()("calypso:state:signup:progress:reducer"),v=(e,s)=>(k(`Adding step ${s.stepName}`),{...e,[s.stepName]:s}),j=(e,s)=>{const{stepName:t,status:i}=s,n=(0,y.Z)(e,t);if(!n)return e;if(k(`Updating step ${t}`),"pending"===i||"completed"===i){const{wasSkipped:i,...a}=n;return{...e,[t]:{...a,...s}}}return{...e,[t]:{...n,...s}}},D=(0,r.G)({type:"object",patternProperties:{"^[w-]+$":{type:"object",properties:{formData:{type:"object",properties:{url:{type:"string"}}},lastUpdated:{type:"number"},status:{type:"string",enum:["completed","processing","pending","in-progress","invalid"]},stepName:{type:"string"}}}}},((e={},s)=>{switch(s.type){case o.$yY:return v(e,s.step);case o.CHW:return((e,{steps:s={}})=>(0,_.Z)(s,"stepName"))(0,s);case o.cSD:return((e,{step:s})=>j(e,{...s,status:"completed"}))(e,s);case o.dOO:return((e,{step:s,errors:t})=>{const i={...s,errors:t,status:"invalid"};return e.hasOwnProperty(s.stepName)?j(e,i):v(e,i)})(e,s);case o.JsI:return((e,{step:s})=>j(e,{...s,status:"processing"}))(e,s);case o.kzi:return((e,{step:s})=>{const t=(0,y.Z)(e,[s.stepName,"status"]);return e.hasOwnProperty(s.stepName)?j(e,{...s,status:"pending"===t&&"setup-site"===s.lastKnownFlow?"in-progress":t}):v(e,{...s,status:"in-progress"})})(e,s);case o._E3:return((e,{step:s})=>{const t=(0,y.Z)(S.Z,[s.stepName,"apiRequestFunction"])?"pending":"completed";return e.hasOwnProperty(s.stepName)?j(e,{...s,status:t}):v(e,{...s,status:t})})(e,s);case o.eUo:return((e,{step:s})=>(0,b.Z)(e,s.stepName))(e,s)}return e})),Z=(0,r.G)({type:["string","null"]},((e="",s)=>{switch(s.type){case o.EYW:return s.designType;case o.CHW:return""}return e})),F=(0,r.G)({type:["string","null"]},((e="",s)=>{switch(s.type){case o.gNB:return s.siteTitle;case o.CHW:return""}return e})),I=(0,r.G)({type:["string","null"]},((e="",s)=>{switch(s.type){case o.ik4:return s.siteType;case o.CHW:return""}return e}));var T=t("./state/jetpack-connect/action-types.js");const P={id:"",isUserInput:!0,name:"",parentId:"",slug:"",suggestedTheme:""},C=(0,r.G)({type:"object",additionalProperties:!1,properties:{id:{type:"string"},isUserInput:{type:"boolean"},name:{type:"string"},parentId:{type:"string"},slug:{type:"string"},suggestedTheme:{type:"string"}}},((e=P,s)=>{switch(s.type){case o.wk6:return{...e,...(0,b.Z)(s,"type")};case o.CHW:case T.YB:return{}}return e})),A=(0,r.G)({type:"object",properties:{vertical:{type:"string"},otherText:{type:"string"},siteType:{type:"string"}}},((e={},s)=>{switch(s.type){case o.V5t:return{...e,vertical:s.survey.vertical,otherText:s.survey.otherText,siteType:s.survey.siteType};case o.CHW:return{}}return e}));var N=t("./state/signup/steps/website-content/reducer.ts");const R=(0,a.U)({designType:Z,siteTitle:F,siteType:I,siteVertical:C,survey:A,websiteContentCollection:N.ZP});const E=(0,t("./state/utils/keyed-reducer.ts").J)("siteType",((e=null,s)=>s.type===o.Fxg?{...e,[s.search.trim().toLowerCase()]:s.verticals}:e)),U=(0,n.xi)("signup",(0,a.U)({dependencyStore:p,optionalDependencies:h,progress:D,steps:R,flow:g,verticals:E}));(0,i.x)(["signup"],U)},"./state/signup/progress/actions.js":(e,s,t)=>{"use strict";t.d(s,{ZL:()=>v,le:()=>_,Us:()=>S,zf:()=>b,im:()=>k,_T:()=>w,TZ:()=>y});var i=t("../packages/calypso-products/src/constants/wpcom.ts"),n=t("../packages/viewport/src/index.ts"),a=t("../node_modules/lodash-es/isEmpty.js"),o=t("../node_modules/lodash-es/reduce.js"),r=t("../node_modules/lodash-es/snakeCase.js"),l=t("../node_modules/lodash-es/get.js"),p=t("../node_modules/lodash-es/difference.js"),c=t("../node_modules/lodash-es/keys.js"),u=t("./signup/config/steps-pure.js");function d(e,s){const t=(0,l.Z)(u.Z,[e,"providesDependencies"],[]),i=(0,p.Z)((0,c.Z)(s),t);if(i.length>0)throw new Error("This step ("+e+") provides an unspecified dependency ["+i.join(", ")+"]. Make sure to specify it in /signup/config/steps-pure.js, using the providesDependencies property.")}var m=t("./state/action-types.ts"),g=t("./state/analytics/actions/record.js"),f=t("./state/signup/dependency-store/selectors.js"),h=t("./state/signup/flow/selectors.js");t("./state/signup/init.js");function x(e,s){return(0,a.Z)(s)?e:{...e,providedDependencies:s}}function w(e){return(s,t)=>{const i=(0,h.sP)(t()),n=Date.now();s({type:m.kzi,step:{...e,lastKnownFlow:i,lastUpdated:n}})}}function y(e,s){return d(e.stepName,s),(t,a)=>{const l=(0,h.sP)(a()),p=Date.now(),{intent:c}=(0,f.D)(a());t(function(e,s,t){const a=(0,o.Z)(s,((s,t,n)=>{if(n=(0,r.Z)(n),"from-url"===e&&"site_preview_image_blob"===n&&(n="site_preview_image_fetched",t=!!t),"email"===n&&(n=`user_entered_${n}`,t=!!t),"cart_item"===n&&t?.product_slug===i.m6){const{extra:e,...s}=t;t=s}return"selected_page_titles"===n&&Array.isArray(t)&&(t=t.join(",")),["cart_item","domain_item"].includes(n)&&"string"!=typeof t&&(t=Object.entries(t||{}).map((e=>e.join(":"))).join(",")),"selected_design"===n&&(t=t.slug),{...s,[n]:t}}),{}),l=(0,n.jv)();return(0,g.jN)("calypso_signup_actions_submit_step",{device:l,step:e,...t,...a})}(e.stepName,s,{intent:c})),t({type:m._E3,step:x({...e,lastKnownFlow:l,lastUpdated:p},s)})}}function _(e,s){d(e.stepName,s);const t=Date.now();return{type:m.cSD,step:x({...e,lastUpdated:t},s)}}function b(e){const s=Date.now();return{type:m.JsI,step:{...e,lastUpdated:s}}}function S(e,s){const t=Date.now();return{type:m.dOO,step:{...e,lastUpdated:t},errors:s}}function k(e){return{type:m.eUo,step:e}}function v(e){return{type:m.$yY,step:{...e}}}},"./state/signup/steps/design-type/selectors.js":(e,s,t)=>{"use strict";t.d(s,{g:()=>n});var i=t("../node_modules/lodash-es/get.js");t("./state/signup/init.js");function n(e){return(0,i.Z)(e,"signup.steps.designType","")}},"./state/signup/steps/site-title/selectors.js":(e,s,t)=>{"use strict";t.d(s,{a:()=>n});var i=t("../node_modules/lodash-es/get.js");t("./state/signup/init.js");function n(e){return(0,i.Z)(e,"signup.steps.siteTitle","")}},"./state/signup/steps/site-type/selectors.js":(e,s,t)=>{"use strict";t.d(s,{s:()=>a,z:()=>o});var i=t("../node_modules/lodash-es/get.js"),n=t("./lib/signup/site-type.js");t("./state/signup/init.js");function a(e){return(0,i.Z)(e,"signup.steps.siteType","")}function o(e,s=null){return s||(s=a(e)),(0,n.k)("slug",s,"id")}},"./state/signup/steps/site-vertical/selectors.js":(e,s,t)=>{"use strict";t.d(s,{qp:()=>a,Zp:()=>o,b6:()=>r,po:()=>l,wG:()=>p,d6:()=>c,HC:()=>u});var i=t("../node_modules/lodash-es/get.js"),n=t("./state/signup/steps/survey/selectors.js");t("./state/signup/init.js");function a(e){return(0,i.Z)(e,"signup.steps.siteVertical.name","")}function o(e){return(0,i.Z)(e,"signup.steps.siteVertical.id","")}function r(e){return(0,i.Z)(e,"signup.steps.siteVertical.parentId","")}function l(e){return(0,i.Z)(e,"signup.steps.siteVertical.slug","")}function p(e){return(0,i.Z)(e,"signup.steps.siteVertical.isUserInput",!0)}function c(e){return(0,i.Z)(e,"signup.steps.siteVertical.suggestedTheme")}function u(e){return o(e)||(0,n.uy)(e)}},"./state/signup/steps/survey/selectors.js":(e,s,t)=>{"use strict";t.d(s,{uy:()=>n,pd:()=>a});var i=t("../node_modules/lodash-es/get.js");t("./state/signup/init.js");function n(e){return(0,i.Z)(e,"signup.steps.survey.vertical","")}function a(e){return(0,i.Z)(e,"signup.steps.survey.siteType","site")}},"./state/signup/steps/website-content/reducer.ts":(e,s,t)=>{"use strict";t.d(s,{z_:()=>o,pt:()=>r,ZP:()=>l});var i=t("./state/action-types.ts"),n=t("./state/utils/schema-utils.js"),a=t("./state/signup/steps/website-content/schema.ts");const o={UPLOAD_STARTED:"UPLOAD_STARTED",UPLOAD_COMPLETED:"UPLOAD_COMPLETED",UPLOAD_FAILED:"UPLOAD_FAILED",UPLOAD_REMOVED:"UPLOAD_REMOVED"},r="logo_section",l=(0,n.G)(a.f,((e=a.E,s)=>{switch(s.type){case i.fXg:{const t=s.payload.map((s=>({...s,...e.websiteContent.pages.find((e=>e.id===s.id))})));return{...e,websiteContent:{...e.websiteContent,pages:t},imageUploadStates:{}}}case i.srB:return{...e,currentIndex:s.payload};case i.uSW:case i.tqc:return{...e,imageUploadStates:{...e.imageUploadStates,[r]:{...e.imageUploadStates[r],0:s.type===i.tqc?o.UPLOAD_STARTED:o.UPLOAD_FAILED}}};case i.cOk:{const{payload:t}=s,{url:i}=t;return{...e,websiteContent:{...e.websiteContent,siteLogoUrl:i},imageUploadStates:{...e.imageUploadStates,[r]:{...e.imageUploadStates[r],0:o.UPLOAD_COMPLETED}}}}case i.X9:return{...e,websiteContent:{...e.websiteContent,siteLogoUrl:""},imageUploadStates:{...e.imageUploadStates,[r]:{...e.imageUploadStates[r],0:o.UPLOAD_REMOVED}}};case i.$UN:{const{payload:t}=s;return{...e,imageUploadStates:{...e.imageUploadStates,[t.pageId]:{...e.imageUploadStates[t.pageId],[t.mediaIndex]:o.UPLOAD_STARTED}}}}case i.p5b:{const{payload:t}=s,{pageId:i}=t,n={...e.imageUploadStates,[i]:{...e.imageUploadStates[i],[t.mediaIndex]:o.UPLOAD_COMPLETED}},a=e.websiteContent.pages.findIndex((e=>e.id===i)),r=e.websiteContent.pages[a],l=[...r.images];return l.splice(t.mediaIndex,1,t.image),{...e,websiteContent:{...e.websiteContent,pages:[...e.websiteContent.pages.slice(0,a),{...r,images:l},...e.websiteContent.pages.slice(a+1)]},imageUploadStates:n}}case i.B3R:{const{payload:t}=s;return{...e,imageUploadStates:{...e.imageUploadStates,[t.pageId]:{...e.imageUploadStates[t.pageId],[t.mediaIndex]:o.UPLOAD_FAILED}}}}case i.aTc:{const{payload:t}=s,{pageId:i}=t,n=e.websiteContent.pages.findIndex((e=>e.id===i)),a=e.websiteContent.pages[n],r=[...a.images];return r.splice(t.mediaIndex,1,{caption:"",url:""}),{...e,websiteContent:{...e.websiteContent,pages:[...e.websiteContent.pages.slice(0,n),{...a,images:r},...e.websiteContent.pages.slice(n+1)]},imageUploadStates:{...e.imageUploadStates,[t.pageId]:{...e.imageUploadStates[t.pageId],[t.mediaIndex]:o.UPLOAD_REMOVED}}}}case i.ge6:{const{payload:t}=s;return{...e,websiteContent:{...e.websiteContent,pages:e.websiteContent.pages.map((e=>t.pageId===e.id?{...e,[t.fieldName]:t.fieldValue}:e))}}}case i.CHW:return a.E}return e}))},"./state/signup/steps/website-content/schema.ts":(e,s,t)=>{"use strict";t.d(s,{f:()=>i,E:()=>n});const i={$schema:"https://webcf.waybackmachine.org/web/20220607145051/https://json-schema.org/draft/2020-12/schema",title:"Website content schema",type:"object",required:["currentIndex","websiteContent"],properties:{currentIndex:{type:"number",description:"The current position in the form index"},websiteContent:{type:"object",description:"The content for the website",properties:{pages:{type:"array",description:"The individual page content for the website",items:{type:"object",properties:{id:{type:"string"},title:{type:"string"},content:{type:"string"},images:{type:"array",items:{type:"object",properties:{caption:{type:"string"},url:{type:"string"}}}}}}},siteLogoUrl:{type:"string",description:"Uploaded Logot url"}}},imageUploadStates:{type:"object"}}},n={currentIndex:0,websiteContent:{pages:[],siteLogoUrl:""},imageUploadStates:{}}},"./state/signup/steps/website-content/selectors.ts":(e,s,t)=>{"use strict";t.d(s,{J9:()=>a,d8:()=>o,H4:()=>r});t("./state/signup/init.js");var i=t("./state/signup/steps/website-content/reducer.ts"),n=t("./state/signup/steps/website-content/schema.ts");function a(e){return e.signup?.steps?.websiteContentCollection?.websiteContent||n.E.websiteContent}function o(e){return e.signup?.steps?.websiteContentCollection?.currentIndex||n.E.currentIndex}function r(e){const s=function(e){return e.signup?.steps?.websiteContentCollection?.imageUploadStates||n.E.imageUploadStates}(e);return Object.values(s).flatMap((e=>Object.values(e))).some((e=>i.z_.UPLOAD_STARTED===e))}},"../packages/calypso-products/src/constants/types.ts":(e,s,t)=>{"use strict";t.d(s,{UH:()=>i,M6:()=>n,mV:()=>a,Kb:()=>o,Qj:()=>r,h7:()=>l,VH:()=>p,VP:()=>c,w:()=>u,$h:()=>d,L7:()=>m,QI:()=>g,qC:()=>f,lY:()=>h,xg:()=>x});const i="TYPE_FREE",n="TYPE_BLOGGER",a="TYPE_PERSONAL",o="TYPE_PREMIUM",r="TYPE_BUSINESS",l="TYPE_ECOMMERCE",p="TYPE_SECURITY_DAILY",c="TYPE_SECURITY_REALTIME",u="TYPE_SECURITY_T1",d="TYPE_SECURITY_T2",m="TYPE_ALL",g="TYPE_P2_PLUS",f="TYPE_FLEXIBLE",h="TYPE_PRO",x="TYPE_STARTER"},"../packages/calypso-products/src/constants/wpcom.ts":(e,s,t)=>{"use strict";t.d(s,{w9:()=>i,Sz:()=>n,AY:()=>a,MY:()=>o,Wg:()=>r,p7:()=>l,j2:()=>p,OE:()=>c,xf:()=>u,G6:()=>d,wm:()=>m,sy:()=>g,Qm:()=>f,TW:()=>h,uS:()=>x,lv:()=>w,JA:()=>y,f3:()=>_,_d:()=>b,HR:()=>S,f0:()=>k,CM:()=>v,Ml:()=>j,A2:()=>D,Cq:()=>Z,_s:()=>F,Id:()=>I,LZ:()=>T,j6:()=>P,m6:()=>C,UY:()=>A,Z$:()=>N});const i="GROUP_WPCOM",n="no-adverts/no-adverts.php",a="wpcom_search",o="wpcom_search_monthly",r="business-bundle-monthly",l="business-bundle",p="business-bundle-2y",c="value_bundle_monthly",u="value_bundle",d="value_bundle-2y",m="personal-bundle-monthly",g="personal-bundle",f="personal-bundle-2y",h="blogger-bundle",x="blogger-bundle-2y",w="ecommerce-bundle-monthly",y="ecommerce-bundle",_="ecommerce-bundle-2y",b="free_plan",S="host-bundle",k="wpcom-enterprise",v="chargeback",j="wp_p2_plus_monthly",D="p2_free_plan",Z="wpcom-flexible",F="pro-plan",I="starter-plan",T=[r,c,m,w],P="traffic-guide",C="wp_difm_lite",A="2021-07-31T00:00:00+00:00",N="2022-07-31T00:00:00+00:00"},"../packages/data-stores/src/site/types.ts":(e,s,t)=>{"use strict";let i,n,a,o,r,l,p;t.d(s,{EE:()=>i,Hc:()=>n,uS:()=>a,bc:()=>o,Hf:()=>r,O:()=>l,sw:()=>p}),function(e){e[e.PublicIndexed=1]="PublicIndexed",e[e.PublicNotIndexed=0]="PublicNotIndexed",e[e.Private=-1]="Private"}(i||(i={})),function(e){e.INTERNAL="internal"}(n||(n={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(a||(a={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(o||(o={})),function(e){e.INTERNAL="internal"}(r||(r={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(l||(l={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(p||(p={}))},"../packages/design-picker/src/constants.ts":(e,s,t)=>{"use strict";t.d(s,{ZM:()=>i,T_:()=>n,R$:()=>a,GT:()=>o,qo:()=>r,Aj:()=>l});const i={"Playfair Display":"Playfair"},n="CLIENT_ONLY_SHOW_ALL_SLUG",a=[{headings:"Cabin",base:"Raleway"},{headings:"Chivo",base:"Open Sans"},{headings:"Playfair Display",base:"Fira Sans"},{headings:"Arvo",base:"Montserrat"},{headings:"Space Mono",base:"Roboto"}],o=[{headings:"Roboto",base:"Roboto"},{headings:"Raleway",base:"Cabin"}],r=1600,l=599},"../packages/design-picker/src/utils/available-designs.ts":(e,s,t)=>{"use strict";t.d(s,{H1:()=>c,aQ:()=>u,WU:()=>l,Mh:()=>p,Nf:()=>d});var i=t("../packages/calypso-config/src/index.ts"),n=t("../packages/js-utils/src/shuffle.ts"),a=t("../node_modules/@wordpress/url/build-module/add-query-args.js"),o=t("../packages/design-picker/src/constants.ts");const r=JSON.parse('{"featured":[{"title":"Ames","slug":"ames","template":"ames","theme":"ames","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Ames","slug":"ames","template":"ames","theme":"ames","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":false,"features":[]},{"title":"Blank Canvas","slug":"blank-canvas-blocks","template":"blank-canvas-blocks","theme":"blank-canvas-blocks","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"is_featured_picks":true,"features":[]},{"title":"Twenty Twenty-Two","slug":"twentytwentytwo","template":"twentytwentytwo","theme":"twentytwentytwo","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Twenty Twenty-Two Swiss","slug":"twentytwentytwo-swiss","template":"twentytwentytwo","theme":"twentytwentytwo-swiss","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Twenty Twenty-Two Pink","slug":"twentytwentytwo-pink","template":"twentytwentytwo","theme":"twentytwentytwo-pink","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Twenty Twenty-Two Mint","slug":"twentytwentytwo-mint","template":"twentytwentytwo","theme":"twentytwentytwo-mint","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Twenty Twenty-Two Red","slug":"twentytwentytwo-red","template":"twentytwentytwo","theme":"twentytwentytwo-red","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Twenty Twenty-Two Blue","slug":"twentytwentytwo-blue","template":"twentytwentytwo","theme":"twentytwentytwo-blue","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Arbutus","slug":"arbutus","template":"arbutus","theme":"arbutus","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Arbutus","slug":"arbutus","template":"arbutus","theme":"arbutus","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":false,"features":[]},{"title":"Jackson","slug":"jackson","template":"jackson","theme":"jackson","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Jackson","slug":"jackson","template":"jackson","theme":"jackson","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":false,"features":[]},{"title":"Stewart","slug":"stewart","template":"stewart","theme":"stewart","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Kingsley","slug":"kingsley","template":"kingsley","theme":"kingsley","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"preview":"static","features":[]},{"title":"Kingsley","slug":"kingsley","template":"kingsley","theme":"kingsley","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":false,"preview":"static","features":[]},{"title":"Russell","slug":"russell","template":"russell","theme":"russell","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Russell","slug":"russell","template":"russell","theme":"russell","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":false,"features":[]},{"title":"Quadrat","slug":"quadrat","template":"quadrat","theme":"quadrat","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Quadrat","slug":"quadrat","template":"quadrat","theme":"quadrat","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Quadrat Black","slug":"quadrat-black","template":"quadrat","theme":"quadrat-black","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Quadrat Black","slug":"quadrat-black","template":"quadrat","theme":"quadrat-black","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Quadrat Green","slug":"quadrat-green","template":"quadrat","theme":"quadrat-green","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Quadrat Green","slug":"quadrat-green","template":"quadrat","theme":"quadrat-green","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Quadrat Red","slug":"quadrat-red","template":"quadrat","theme":"quadrat-red","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Quadrat Red","slug":"quadrat-red","template":"quadrat","theme":"quadrat-red","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Quadrat White","slug":"quadrat-white","template":"quadrat","theme":"quadrat-white","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Quadrat White","slug":"quadrat-white","template":"quadrat","theme":"quadrat-white","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Quadrat Yellow","slug":"quadrat-yellow","template":"quadrat","theme":"quadrat-yellow","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Quadrat Yellow","slug":"quadrat-yellow","template":"quadrat","theme":"quadrat-yellow","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Geologist","slug":"geologist","template":"geologist","theme":"geologist","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Geologist","slug":"geologist","template":"geologist","theme":"geologist","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Geologist Blue","slug":"geologist-blue","template":"geologist","theme":"geologist-blue","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Geologist Blue","slug":"geologist-blue","template":"geologist","theme":"geologist-blue","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Geologist Cream","slug":"geologist-cream","template":"geologist","theme":"geologist-cream","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Geologist Cream","slug":"geologist-cream","template":"geologist","theme":"geologist-cream","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Geologist Slate","slug":"geologist-slate","template":"geologist","theme":"geologist-slate","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Geologist Slate","slug":"geologist-slate","template":"geologist","theme":"geologist-slate","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Geologist Yellow","slug":"geologist-yellow","template":"geologist","theme":"geologist-yellow","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Geologist Yellow","slug":"geologist-yellow","template":"geologist","theme":"geologist-yellow","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Zoologist","slug":"zoologist","template":"zoologist","theme":"zoologist","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Zoologist","slug":"zoologist","template":"zoologist","theme":"zoologist","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Blockbase","slug":"blockbase","template":"blockbase","theme":"blockbase","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Blockbase","slug":"blockbase","template":"blockbase","theme":"blockbase","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Cassel","slug":"cassel","template":"cassel","theme":"mayland","fonts":{"headings":"Playfair Display","base":"Fira Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"blog","name":"Blog"}],"is_premium":false,"features":[]},{"title":"Edison","slug":"edison","template":"edison","theme":"stratford","fonts":{"headings":"Chivo","base":"Open Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"blog","name":"Blog"}],"is_premium":false,"features":[]},{"title":"Vesta","slug":"vesta","template":"vesta","theme":"mayland","fonts":{"headings":"Cabin","base":"Raleway"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"portfolio","name":"Portfolio"}],"is_premium":false,"features":[]},{"title":"Doyle","slug":"doyle","template":"doyle","theme":"alves","fonts":{"headings":"Playfair Display","base":"Fira Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"business","name":"Business"}],"is_premium":false,"features":[]},{"title":"Bowen","slug":"bowen","template":"bowen","theme":"coutoire","fonts":{"headings":"Playfair Display","base":"Fira Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"blog","name":"Blog"}],"is_premium":false,"features":[]},{"title":"Easley","slug":"easley","template":"easley","theme":"maywood","fonts":{"headings":"Space Mono","base":"Roboto"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"portfolio","name":"Portfolio"}],"is_premium":false,"features":[]},{"title":"Camdem","slug":"Camdem","template":"camdem","theme":"maywood","fonts":{"headings":"Space Mono","base":"Roboto"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"portfolio","name":"Portfolio"}],"is_premium":false,"features":[]},{"title":"Reynolds","slug":"reynolds","template":"reynolds","theme":"rockfield","fonts":{"headings":"Playfair Display","base":"Fira Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"portfolio","name":"Portfolio"}],"is_premium":false,"is_alpha":true,"features":[]},{"title":"Overton","slug":"overton","template":"overton","theme":"alves","fonts":{"headings":"Cabin","base":"Raleway"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"business","name":"Business"}],"is_premium":false,"features":[]},{"title":"Brice","slug":"brice","template":"brice","theme":"mayland","fonts":{"headings":"Playfair Display","base":"Fira Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"charity","name":"Charity"},{"slug":"non-profit","name":"Non-profit"}],"is_premium":false,"features":[]},{"title":"Barnsbury","slug":"barnsbury","template":"barnsbury","theme":"barnsbury","fonts":{"headings":"Open Sans","base":"Chivo"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"business","name":"Business"}],"is_premium":false,"features":[]},{"title":"Alves","slug":"alves","template":"alves","theme":"alves","fonts":{"headings":"Arvo","base":"Montserrat"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"non-profit","name":"Non-profit"},{"slug":"charity","name":"Charity"}],"is_premium":false,"features":[]},{"title":"Mayland","slug":"mayland","template":"mayland","theme":"mayland","fonts":{"headings":"Raleway","base":"Cabin"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"portfolio","name":"Portfolio"}],"is_premium":false,"features":[]},{"title":"Rivington","slug":"rivington","template":"rivington","theme":"rivington","fonts":{"headings":"Arvo","base":"Montserrat"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"real-estate-listing","name":"Real Estate Listing"}],"is_premium":false,"features":[]},{"title":"Maywood","slug":"maywood","template":"maywood","theme":"maywood","fonts":{"headings":"Playfair Display","base":"Fira Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"restaurant","name":"Restaurant"},{"slug":"small-business","name":"Small Business"}],"is_premium":false,"features":[]},{"title":"Balasana","slug":"balasana","template":"balasana","theme":"balasana","fonts":{"headings":"Open Sans","base":"Chivo"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"restaurant","name":"Restaurant"},{"slug":"small-business","name":"Small Business"}],"is_premium":false,"features":[]},{"title":"Stratford","slug":"stratford","template":"stratford","theme":"stratford","fonts":{"headings":"Chivo","base":"Open Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"school","name":"School"}],"is_premium":false,"features":[]},{"title":"Rockfield","slug":"rockfield","template":"rockfield","theme":"rockfield","fonts":{"headings":"Playfair Display","base":"Fira Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"restaurant","name":"Restaurant"},{"slug":"small-business","name":"Small Business"}],"is_premium":false,"features":[]},{"title":"Coutoire","slug":"coutoire","template":"coutoire","theme":"coutoire","fonts":{"headings":"Playfair Display","base":"Fira Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"portfolio","name":"Portfolio"}],"is_premium":false,"is_alpha":true,"features":[]},{"title":"Leven","slug":"leven","template":"leven","theme":"leven","fonts":{"headings":"Chivo","base":"Open Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"portfolio","name":"Portfolio"},{"slug":"small-business","name":"Small Business"}],"is_premium":false,"features":[]},{"title":"Gibbs","slug":"gibbs","template":"gibbs","theme":"rockfield","fonts":{"headings":"Fira Sans","base":"Fira Sans"},"categories":[{"slug":"featured","name":"Featured"},{"slug":"restaurant","name":"Restaurant"},{"slug":"small-business","name":"Small Business"}],"is_premium":false,"features":[]},{"title":"Gilbert","slug":"gilbert","template":"gilbert","theme":"spearhead","fonts":{"headings":"Roboto","base":"Roboto"},"categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":["anchorfm"]},{"title":"Riley","slug":"riley","template":"riley","theme":"spearhead","fonts":{"headings":"Raleway","base":"Cabin"},"categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":["anchorfm"]},{"title":"Balan","slug":"balan","template":"balan","theme":"blank-canvas","preview":"static","fonts":{"headings":"Rubik","base":"Roboto"},"categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Pollard","slug":"pollard","template":"pollard","theme":"blank-canvas","preview":"static","fonts":{"headings":"Cabin","base":"Raleway"},"categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Fredrickson","slug":"fredrickson","template":"fredrickson","theme":"blank-canvas","preview":"static","fonts":{"headings":"Cabin","base":"Cabin"},"categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":[]},{"title":"Hannah","slug":"hannah","template":"hannah","theme":"mayland","fonts":{"headings":"Raleway","base":"Cabin"},"categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"features":["anchorfm"]},{"title":"Blank Canvas","slug":"blank-canvas","template":"blank-canvas","theme":"blank-canvas","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":false,"is_featured_picks":true,"features":[]},{"title":"Bennett","slug":"bennett","template":"bennett","theme":"bennett","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Calvin","slug":"calvin","template":"calvin","theme":"calvin","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Farrow","slug":"farrow","template":"farrow","theme":"farrow","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Barnett","slug":"barnett","template":"barnett","theme":"barnett","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Livro","slug":"livro","template":"livro","theme":"livro","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Attar","slug":"attar","template":"attar","theme":"attar","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Hari","slug":"hari","template":"hari","theme":"hari","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Marl","slug":"marl","template":"marl","theme":"marl","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Winkel","slug":"winkel","template":"winkel","theme":"winkel","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]},{"title":"Dorna","slug":"dorna","template":"dorna","theme":"dorna","categories":[{"slug":"featured","name":"Featured"}],"is_premium":false,"is_fse":true,"features":[]}]}'),l=(e,s,t={})=>{const i=e.stylesheet?e.stylesheet.split("/")[0]:"pub",n=encodeURIComponent(e.theme),o=encodeURIComponent(e.template);let r=(0,a.f)(`https://webcf.waybackmachine.org/web/20220607145051/https://public-api.wordpress.com/rest/v1.1/template/demo/${i}/${n}/${o}`,{font_headings:e.fonts?.headings,font_base:e.fonts?.base,viewport_height:700,language:s,use_screenshot_overrides:!0,...t});return e.title&&(r+="&site_title="+encodeURIComponent(e.title).replace(/\(/g,"%28").replace(/\)/g,"%29")),r},p=({scrollable:e,highRes:s,isMobile:t}={})=>({vpw:t?o.Aj:o.qo,vph:e?1600:1040,w:s?1199:600,screen_height:3600}),c=e=>!e.is_fse;function u({includeAlphaDesigns:e=(0,i._k)("gutenboarding/alpha-templates"),featuredDesignsFilter:s=c,randomize:t=!1}={}){let a={...r};return e||(a={...a,featured:a.featured.filter((e=>!e.is_alpha))}),a={...a,featured:a.featured.filter(s)},t&&(a.featured=(0,n.Z)(a.featured)),a.featured=a.featured.sort(((e,s)=>Number(!!s.is_featured_picks)-Number(!!e.is_featured_picks))),a}function d(e){return!!e&&/blank-canvas/i.test(e.slug)}},"../packages/i18n-utils/src/guess-timezone.ts":(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});const i={"Africa/Asmera":"Africa/Nairobi","Africa/Timbuktu":"Africa/Abidjan","America/Argentina/ComodRivadavia":"America/Argentina/Catamarca","America/Atka":"America/Adak","America/Buenos_Aires":"America/Argentina/Buenos_Aires","America/Catamarca":"America/Argentina/Catamarca","America/Coral_Harbour":"America/Atikokan","America/Cordoba":"America/Argentina/Cordoba","America/Ensenada":"America/Tijuana","America/Fort_Wayne":"America/Indiana/Indianapolis","America/Indianapolis":"America/Indiana/Indianapolis","America/Jujuy":"America/Argentina/Jujuy","America/Knox_IN":"America/Indiana/Knox","America/Louisville":"America/Kentucky/Louisville","America/Mendoza":"America/Argentina/Mendoza","America/Montreal":"America/Toronto","America/Porto_Acre":"America/Rio_Branco","America/Rosario":"America/Argentina/Cordoba","America/Santa_Isabel":"America/Tijuana","America/Shiprock":"America/Denver","America/Virgin":"America/Port_of_Spain","Antarctica/South_Pole":"Pacific/Auckland","Asia/Ashkhabad":"Asia/Ashgabat","Asia/Calcutta":"Asia/Kolkata","Asia/Chongqing":"Asia/Shanghai","Asia/Chungking":"Asia/Shanghai","Asia/Dacca":"Asia/Dhaka","Asia/Harbin":"Asia/Shanghai","Asia/Kashgar":"Asia/Urumqi","Asia/Katmandu":"Asia/Kathmandu","Asia/Macao":"Asia/Macau","Asia/Rangoon":"Asia/Yangon","Asia/Saigon":"Asia/Ho_Chi_Minh","Asia/Tel_Aviv":"Asia/Jerusalem","Asia/Thimbu":"Asia/Thimphu","Asia/Ujung_Pandang":"Asia/Makassar","Asia/Ulan_Bator":"Asia/Ulaanbaatar","Atlantic/Faeroe":"Atlantic/Faroe","Atlantic/Jan_Mayen":"Europe/Oslo","Australia/ACT":"Australia/Sydney","Australia/Canberra":"Australia/Sydney","Australia/LHI":"Australia/Lord_Howe","Australia/NSW":"Australia/Sydney","Australia/North":"Australia/Darwin","Australia/Queensland":"Australia/Brisbane","Australia/South":"Australia/Adelaide","Australia/Tasmania":"Australia/Hobart","Australia/Victoria":"Australia/Melbourne","Australia/West":"Australia/Perth","Australia/Yancowinna":"Australia/Broken_Hill","Europe/Belfast":"Europe/London","Europe/Tiraspol":"Europe/Chisinau","Pacific/Johnston":"Pacific/Honolulu","Pacific/Ponape":"Pacific/Pohnpei","Pacific/Samoa":"Pacific/Pago_Pago","Pacific/Truk":"Pacific/Chuuk","Pacific/Yap":"Pacific/Chuuk"};function n(e){return function(e){return e in i}(e)?i[e]:e}function a(){try{return n(Intl.DateTimeFormat().resolvedOptions().timeZone)}catch(e){return}}},"../packages/js-utils/src/camel-to-snake-case.ts":(e,s,t)=>{"use strict";function i(e){return e.replace(/\s+/g,"_").replace(/[A-Z][a-z]+/g,(e=>`_${e.toLowerCase()}_`)).replace(/[A-Z]+/g,(e=>`_${e.toLowerCase()}_`)).replace(/[0-9]+/g,(e=>`_${e}_`)).replace(/_+/g,"_").replace(/(^_)|(_$)/g,"")}t.d(s,{Z:()=>i})},"../packages/js-utils/src/map-record-keys-recursively.ts":(e,s,t)=>{"use strict";function i(e,s){return Object.keys(e).reduce((function(t,n){let a=e[n];return function(e){return e?.constructor===Object}(a)&&(a=i(a,s)),{...t,[s(n)]:a}}),{})}t.d(s,{Z:()=>i})},"../packages/js-utils/src/shuffle.ts":(e,s,t)=>{"use strict";function i(e){const s=e.slice(0);for(let e=s.length-1;e>0;e--){const t=Math.floor(Math.random()*(e+1));[s[e],s[t]]=[s[t],s[e]]}return s}t.d(s,{Z:()=>i})}}]);

}
/*
     FILE ARCHIVED ON 14:50:51 Jun 07, 2022 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 04:52:22 Nov 19, 2024.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.546
  exclusion.robots: 0.029
  exclusion.robots.policy: 0.018
  esindex: 0.011
  cdx.remote: 8.582
  LoadShardBlock: 87.433 (3)
  PetaboxLoader3.datanode: 111.8 (5)
  load_resource: 184.184 (2)
  PetaboxLoader3.resolve: 87.899 (2)
*/