shell bypass 403
!function(){var e,t={252:function(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!==o--;)if(!e(t[o],r[o]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(o of t.entries())if(!r.has(o[0]))return!1;for(o of t.entries())if(!e(o[1],r.get(o[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(o of t.entries())if(!r.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if((n=t.length)!=r.length)return!1;for(o=n;0!==o--;)if(t[o]!==r[o])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!==o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!==o--;){var s=i[o];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},306:function(e,t,r){"use strict";var n=window.wp.element,o=window.wp.plugins,i=window.wp.apiFetch,s=r.n(i),a=window.wp.data,l=window.wp.url,c=window.wp.i18n,u=window.wp.components,d=window.wp.mediaUtils;const f=(e,t)=>e.find((e=>e.name===t))||e.reduce(((e,r)=>e||(r.innerBlocks&&Array.isArray(r.innerBlocks)?f(r.innerBlocks,t):void 0)),void 0),p=async(e={})=>{if(!window.otterOnboardingData?.isDev)try{const{setSessionID:t}=(0,a.dispatch)("otter/onboarding"),{getSessionID:r}=(0,a.select)("otter/onboarding"),{getCurrentTheme:n}=(0,a.select)("core"),o=r(),i=await fetch("https://api.themeisle.com/tracking/onboarding",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({_id:o,data:{slug:n()?.template||n()?.stylesheet,license_id:window.otterOnboardingData?.license,site:window.otterOnboardingData?.rootUrl||"",...e}})});if(!i.ok)return console.error(`HTTP error! Status: ${i.status}`),!1;const s=await i.json();if(!["success","invalid"].includes(s.code))return!1;if("invalid"===s.code)return console.error(s.message),!1;const l=s.data;return l?.id&&""===o&&t(l.id),l.id||!1}catch(e){return console.error(e),!1}};var h=window.ReactJSXRuntime,g=r(252),y=r.n(g),m=r(802),b=r.n(m),w=r(942),_=r.n(w),v=window.wp.compose;const S={start:{scale:1,opacity:1},hover:{scale:0,opacity:0}},E={hover:{scale:1,opacity:1},start:{scale:0,opacity:0}};var x=({title:e,isSelected:t,backgroundColor:r,typographyColor:o,backgroundAltColor:i,primaryColor:s,typography:a,onSelect:l})=>{const[d,f]=(0,n.useState)({}),[p,g]=(0,n.useState)(!1),y=(0,v.useReducedMotion)();return(0,n.useEffect)((()=>{const e={};a?.fontFamily&&(e.fontFamily=a.fontFamily),f(e)}),[]),(0,h.jsx)("div",{onClick:l,className:_()("o-palette",{"is-selected":t}),onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),children:(0,h.jsxs)(u.__unstableMotion.div,{className:"o-palette__area",style:{backgroundColor:r},initial:"start",animate:p&&!y?"hover":"start",children:[(0,h.jsxs)(u.__unstableMotion.div,{className:"o-palette__preview",variants:S,children:[(0,h.jsx)("div",{className:"o-palette__typography",style:{color:o,...d},children:(0,c.__)("Aa","otter-blocks")}),(0,h.jsxs)("div",{className:"o-palette__colors",children:[(0,h.jsx)("div",{className:"o-palette__color",style:{backgroundColor:i}}),(0,h.jsx)("div",{className:"o-palette__color",style:{backgroundColor:s}})]})]}),(0,h.jsx)(u.__unstableMotion.div,{className:"o-palette__label",variants:E,style:{color:o,...d},children:e})]})})},T=window.wp.blocks,k=window.wp.blockEditor,j=()=>{const{template:e}=(0,a.useSelect)((e=>{const{getTemplate:t}=e("otter/onboarding"),r=t({slug:"front-page"});return{template:r?.content?.raw?(0,T.parse)(r?.content?.raw):[]}}));return(0,h.jsx)(k.BlockPreview,{viewportWidth:0,blocks:e})},I=window.wp.primitives,A=(0,h.jsx)(I.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,h.jsx)(I.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})}),C=({template:e,label:t,isSelected:r,isParsed:o=!1,onClick:i})=>{const s=(0,n.useRef)(),a=(0,n.useMemo)((()=>o?e:e?.content?.raw?(0,T.parse)(e?.content?.raw):[]),[e,o]);return(0,h.jsxs)("div",{className:"o-templates__item",onClick:i,ref:s,children:[(0,h.jsxs)("div",{className:_()("o-templates__item__container",{"is-selected":r}),children:[(0,h.jsx)(k.BlockPreview,{blocks:a,minHeight:s?.current?.offsetHeight}),r&&(0,h.jsx)("div",{className:"o-templates__item__overlay",children:(0,h.jsx)(u.Icon,{icon:A,size:36})})]}),(0,h.jsx)("div",{className:"o-templates__item__title",children:t})]})},B=(0,n.memo)((({type:e,label:t})=>{const{template:r,library:o,editedEntity:i,selectedTemplate:s,isDefault:l}=(0,a.useSelect)((t=>{const{getEditedPostId:r}=t("core/edit-site"),{getTemplate:n,getLibrary:o,getSelectedTemplate:i,getSourceTemplate:s}=t("otter/onboarding"),a=r(),l=n({slug:e});return{template:l?.id&&s(l),library:o(e),editedEntity:a,selectedTemplate:i(e),isDefault:"theme"===l?.source}}),[e]),{setEditedEntity:u}=(0,a.useDispatch)("core/edit-site"),{setSelectedTemplate:d}=(0,a.useDispatch)("otter/onboarding"),f=(0,n.useCallback)(((e,t)=>{d(e,t)}),[d]);return(0,n.useEffect)((()=>{r?.id&&r.id!==i&&u("wp_template",r.id,"edit")}),[i,r]),(0,h.jsxs)("div",{className:"o-templates",children:[(0,h.jsx)(C,{template:r,label:(0,c.sprintf)(/* translators: %s: Template type. */ /* translators: %s: Template type. */
(0,c.__)("%s - Default","otter-blocks"),t),isSelected:"default"===s||""===s&&l,onClick:()=>f(e,"default")}),Object.keys(o).map((r=>(0,h.jsx)(C,{template:o[r],label:`${t} - ${o[r]?.title}`,isSelected:r===s,onClick:()=>f(e,r)},r)))]})}));const L=({template:e,isSelected:t,onClick:r})=>{const{pageTemplate:o}=(0,a.useSelect)((t=>{var r;const{getTemplate:n}=t("otter/onboarding");return{pageTemplate:n({slug:null!==(r=e.template)&&void 0!==r?r:"page"})}}),[]),[i,s]=(0,n.useState)([]);return(0,n.useEffect)((()=>{var t;if(!o)return;const r=(0,T.parse)(null!==(t=o.content?.raw)&&void 0!==t?t:[]),n=f(r,"core/post-content");var i;n&&(n.name="core/group",n.innerBlocks=null!==(i=(0,T.parse)(e?.content?.raw))&&void 0!==i?i:[]),s(r)}),[o]),(0,h.jsx)(C,{template:i,label:e?.title,isParsed:!0,isSelected:t,onClick:r})};const D=e=>{const{supportedSteps:t}=window.otterOnboardingData;return t.includes(e)};var P={site_info:{title:(0,c.__)("Add your site's info","otter-blocks"),description:(0,c.__)("Add your site title and a logo. No logo yet? No worries, you can add one later.","otter-blocks"),isSupported:!0,hideSkip:!0,controls:()=>{const{title:e,siteLogo:t,siteLogoURL:r,templateParts:n,changedData:o}=(0,a.useSelect)((e=>{const{getEditedEntityRecord:t,getMedia:r}=e("core"),{getCurrentTemplateTemplateParts:n}=e("core/edit-site"),{getChangedData:o}=e("otter/onboarding"),i=t("root","site"),s=i?.site_logo?r(i?.site_logo,{context:"view"}):null,a=n(),l=o();return{title:i?.title,siteLogo:i?.site_logo,siteLogoURL:s?.source_url,templateParts:a,changedData:l}}),[]),{editEntityRecord:i}=(0,a.useDispatch)("core"),{replaceBlock:s}=(0,a.useDispatch)("core/block-editor"),{setEditedEntity:l}=(0,a.useDispatch)("core/edit-site"),{setChangedData:p}=(0,a.useDispatch)("otter/onboarding"),g=e=>{var t;const r=null!==(t=n.find((e=>"header"===e.templatePart.slug))?.templatePart.id)&&void 0!==t?t:n.find((e=>e.templatePart.slug?.includes("header")))?.templatePartid,o=(0,a.select)("core/edit-site").getEditedPostId();r&&r!==o&&l("wp_template_part",r,"edit"),e()},y=()=>{var e;const t=null!==(e=n.find((e=>"header"===e.templatePart.slug))?.templatePart.id)&&void 0!==e?e:n.find((e=>e.templatePart.slug?.includes("header")))?.templatePartid,r=(0,a.select)("core/edit-site").getEditedPostId();t&&t!==r&&l("wp_template_part",t,"edit"),setTimeout((()=>{if(t&&t!==r)return void y();const e=(0,a.select)("core/block-editor").getBlocks(),n=f(e,"core/site-logo"),o=f(e,"core/site-title");n&&!o&&s(n.clientId,wp.blocks.createBlock("core/site-title",{attributes:{...n.attributes}})),i("root","site",void 0,{site_logo:null})}),1e3)};return(0,h.jsxs)("div",{className:"o-sidebar__controls",children:[(0,h.jsx)(u.TextControl,{label:(0,c.__)("Site Title","otter-blocks"),placeholder:(0,c.__)("Acme Corporation","otter-blocks"),value:e,onChange:e=>{i("root","site",void 0,{title:e}),p({fields_filled:{...o.fields_filled,siteTitle:!0}})}}),(0,h.jsx)(u.BaseControl,{label:(0,c.__)("Upload a Logo","otter-blocks"),children:(0,h.jsx)(d.MediaUpload,{onSelect:e=>{const t=(0,a.select)("core/block-editor").getBlocks();if(!f(t,"core/site-logo")){const e=f(t,"core/site-title");e&&s(e.clientId,wp.blocks.createBlock("core/site-logo",{attributes:{...e.attributes}}))}p({fields_filled:{...o.fields_filled,siteLogo:!0}}),i("root","site",void 0,{site_logo:e?.id})},allowedTypes:["image"],value:t||"",render:({open:e})=>(0,h.jsxs)(h.Fragment,{children:[!t&&(0,h.jsx)("div",{className:"o-logo__placeholder",onClick:()=>g(e),children:(0,c.__)("Select or upload image","otter-blocks")}),t&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"o-logo__image",onClick:()=>g(e),children:(0,h.jsx)("img",{src:r,alt:(0,c.__)("Site Logo","otter-blocks"),title:(0,c.__)("Click to replace","otter-blocks")})}),(0,h.jsxs)("div",{className:"o-logo__image__controls",children:[(0,h.jsx)(u.Button,{variant:"secondary",onClick:y,children:(0,c.__)("Remove","otter-blocks")}),(0,h.jsx)(u.Button,{variant:"secondary",onClick:()=>g(e),children:(0,c.__)("Replace Logo","otter-blocks")})]})]})]})})})]})},content:j},appearance:{title:(0,c.__)("Edit site's appearance","otter-blocks"),description:(0,c.__)("Change the appearance of your entire site in minutes, by choosing a theme style preset.","otter-blocks"),isSupported:!0,hideSkip:!0,controls:()=>{const{globalStyle:e,defaultStyles:t,themeStyles:r}=(0,a.useSelect)((e=>{const{__experimentalGetCurrentGlobalStylesId:t,__experimentalGetCurrentThemeBaseGlobalStyles:r,__experimentalGetCurrentThemeGlobalStylesVariations:n,getEditedEntityRecord:o}=e("core");return{globalStyle:o("root","globalStyles",t()),defaultStyles:r(),themeStyles:n()}}),[]),{editEntityRecord:o}=(0,a.useDispatch)("core"),{setChangedData:i}=(0,a.useDispatch)("otter/onboarding"),s=(0,n.useMemo)((()=>{if(!Object.keys(e?.styles).length&&!Object.keys(e?.settings).length)return"default";const t=r.find((t=>y()(e?.styles,t?.styles||{})&&y()(e?.settings,t?.settings)));return!!t&&b()(t)}),[e,r]),l=t=>{if("default"===t)return i({design_choices:{palette:"default"}}),void o("root","globalStyles",e.id,{styles:{},settings:{}});i({design_choices:{palette:t.title}}),o("root","globalStyles",e.id,{styles:t?.styles,settings:t?.settings})};return(0,h.jsx)("div",{className:"o-sidebar__controls",children:(0,h.jsxs)("div",{className:"o-palettes",children:[(0,h.jsx)(x,{title:(0,c.__)("Default","otter-blocks"),isSelected:"default"===s,backgroundColor:t.settings.color.palette.theme[0].color,typographyColor:t.settings.color.palette.theme[1].color,backgroundAltColor:t.settings.color.palette.theme[2].color,primaryColor:t.settings.color.palette.theme[4].color,typography:t.styles?.typography,onSelect:()=>l("default")}),r.map(((e,r)=>(0,h.jsx)(x,{title:e.title,isSelected:b()(e)===s,backgroundColor:e.settings.color.palette.theme[0].color,typographyColor:e.settings.color.palette.theme[1].color,backgroundAltColor:e.settings.color.palette.theme[2].color,primaryColor:e.settings.color.palette.theme[4].color,typography:e?.styles?.typography||t.styles?.typography,onSelect:()=>l(e)},r)))]})})},content:j},"front-page_template":{title:(0,c.__)("Select a template for your Homepage","otter-blocks"),description:(0,c.__)("Choose a layout for for website's homepage.","otter-blocks"),isSupported:D("front-page"),content:B,props:{type:"front-page",label:(0,c.__)("Homepage","otter-blocks")}},archive_template:{title:(0,c.__)("Select a template for your Blog Page","otter-blocks"),description:(0,c.__)("Choose a layout for how your blog posts appear in the blog page.","otter-blocks"),isSupported:D("archive"),content:B,props:{type:"archive",label:(0,c.__)("Post Archive","otter-blocks")}},single_template:{title:(0,c.__)("Select a template for your Single Posts","otter-blocks"),description:(0,c.__)("Choose a layout for your single posts","otter-blocks"),isSupported:D("single"),content:B,props:{type:"single",label:(0,c.__)("Single Post","otter-blocks")}},additional_templates:{title:(0,c.__)("Add additional pages to your site","otter-blocks"),description:(0,c.__)("Create additional pages to your website.","otter-blocks"),isSupported:D("page_templates"),content:()=>{const{library:e,selectedTemplates:t}=(0,a.useSelect)((e=>{const{getLibrary:t,getSelectedTemplate:r}=e("otter/onboarding");return{library:t("page_templates"),selectedTemplates:r("pageTemplates")}}),[]),{setSelectedTemplate:r}=(0,a.useDispatch)("otter/onboarding");return(0,h.jsx)("div",{className:"o-templates",children:Object.keys(e).map((n=>(0,h.jsx)(L,{template:e[n],value:n,isSelected:t?.includes(n),onClick:()=>(e=>{const n=t.includes(e);r("pageTemplates",n?t.filter((t=>t!==e)):[...t,e])})(n)},n)))})}}};const N=Object.keys(P).filter((e=>!!P[e].isSupported)).map(((e,t)=>({id:e,value:t}))),{__experimentalGetDirtyEntityRecords:O}=(0,a.select)("core"),{editEntityRecord:U,saveEditedEntityRecord:M,saveEntityRecord:F}=(0,a.dispatch)("core"),R={step:0,templates:{},sourceTemplates:{},templateParts:{},library:{},selectedTemplates:{"front-page":"",archive:"",single:"",pageTemplates:[]},importedTemplates:[],changedData:{design_choices:{palette:"default"},fields_filled:{}},isSaving:!1,isFinished:!1,isWelcomeScreen:!0,sessionID:""},Y={setStep(e){return{type:"SET_STEP",step:e}},nextStep(e=!1){return({dispatch:t,select:r})=>{const n=r.getStep(),o=N.length===n.value+1,i=o?N.length:n.value+1;t(Y.setSaving(!1)),o?t(Y.setFinished(!0)):(e&&p({step_id:n.value+1,step_status:"skip"}),t(Y.setStep(i)))}},previousStep(){return({dispatch:e,select:t})=>{const r=t.getStep(),n=0===r.value?0:r.value-1;e(Y.setSaving(!1)),e(Y.setStep(n))}},setFinished(e){return{type:"SET_FINISHED",isFinished:e}},setWelcomeScreen(e){return{type:"SET_WELCOME_SCREEN",isWelcomeScreen:e}},onContinue(){return async({dispatch:e,select:t})=>{const r=t.getStep(),n={type:r.id,step_id:r.value+1,step_status:"completed"};if(e(Y.setSaving(!0)),["front-page_template","archive_template","single_template"].includes(r.id)){const s=r.id.replace("_template",""),a=t.getSelectedTemplate(s);if(n.selected_template=a,!a)return e(Y.nextStep()),void p(n);const l=t.getTemplate({slug:s});let c="";if("default"===a){var o;const e=l?.id&&t.getSourceTemplate(l);c=null!==(o=e?.content?.raw)&&void 0!==o?o:""}else{var i;const e=t.getLibrary(s);c=null!==(i=e[a]?.content?.raw)&&void 0!==i?i:""}U("postType","wp_template",l.id,{content:c})}if(["site_info","appearance","front-page_template","archive_template","single_template"].includes(r.id)){const e=O();await Promise.all(e.map((async e=>{await M(e.kind,e.name,e?.key)})))}const s=t.getChangedData();if("site_info"===r.id&&(n.fields_filled=s.fields_filled),"appearance"===r.id&&(n.design_choices=s.design_choices),"additional_templates"===r.id){const r=t.getSelectedTemplate("pageTemplates"),o=t.getLibrary("page_templates"),i=t.getImportedTemplates();n.imported_items=r.reduce(((e,t)=>(e[t]=!0,e)),{}),await Promise.all(r.filter((e=>!i.find((t=>t===e)))).map((async t=>{const r=o[t];await F("postType","page",{status:"publish",title:r.title,content:r.content.raw,template:r.template}),e(Y.setImportedTemplate(t))})))}p(n),e(Y.setSaving(!1)),e(Y.nextStep())}},setTemplate(e){return{type:"SET_TEMPLATE",template:e}},setSourceTemplate(e){return{type:"SET_SOURCE_TEMPLATE",template:e}},setTemplatePart(e){return{type:"SET_TEMPLATE_PART",templatePart:e}},setLibrary(e){return{type:"SET_LIBRARY",library:e}},setSelectedTemplate(e,t){return{type:"SET_SELECTED_TEMPLATE",slug:e,template:t}},setImportedTemplate(e){return{type:"SET_IMPORTED_TEMPLATE",template:e}},setSaving(e){return{type:"SET_SAVING",isSaving:e}},setSessionID(e){return{type:"SET_SESSION_ID",sessionID:e}},setChangedData(e){return{type:"SET_CHANGED_DATA",data:e}},fetchFromAPI(e){return{type:"FETCH_FROM_API",path:e}}},W=(0,a.createReduxStore)("otter/onboarding",{reducer(e=R,t){switch(t.type){case"SET_STEP":return{...e,step:t.step};case"SET_FINISHED":return{...e,isFinished:t.isFinished};case"SET_WELCOME_SCREEN":return{...e,isWelcomeScreen:t.isWelcomeScreen};case"SET_TEMPLATE":return{...e,templates:{...e.templates,[t.template.slug]:t.template}};case"SET_SOURCE_TEMPLATE":return{...e,sourceTemplates:{...e.sourceTemplates,[t.template.slug]:t.template}};case"SET_TEMPLATE_PART":return{...e,templateParts:{...e.templateParts,[t.templatePart.id]:t.templatePart}};case"SET_LIBRARY":return{...e,library:t.library};case"SET_SELECTED_TEMPLATE":return{...e,selectedTemplates:{...e.selectedTemplates,[t.slug]:t.template}};case"SET_IMPORTED_TEMPLATE":return{...e,importedTemplates:[...e.importedTemplates,t.template]};case"SET_SAVING":return{...e,isSaving:t.isSaving};case"SET_SESSION_ID":return{...e,sessionID:t.sessionID};case"SET_CHANGED_DATA":return{...e,changedData:{...e.changedData,...t.data}}}return e},actions:Y,selectors:{getStep(e){return N.find((t=>t.value===e.step))},getTemplate(e,t){return e.templates?.[t?.slug]},getSourceTemplate(e,t){return e.sourceTemplates?.[t?.slug]},getTemplatePart(e,t){return e.templateParts?.[t]},getLibrary(e,t){var r;return t?null!==(r=e.library[t])&&void 0!==r?r:{}:e.library},getSelectedTemplate(e,t){return e.selectedTemplates[t]},getImportedTemplates(e){return e.importedTemplates},isSaving(e){return e.isSaving},isFinished(e){return e.isFinished},isWelcomeScreen(e){return e.isWelcomeScreen},getSessionID(e){return e.sessionID},getChangedData(e){return e.changedData}},controls:{FETCH_FROM_API(e){return s()({path:e.path})}},resolvers:{*getTemplate(e){const t=(0,l.addQueryArgs)("/wp/v2/templates/lookup",e),r=yield Y.fetchFromAPI(t);return Y.setTemplate(r)},*getSourceTemplate(e){const t=(0,l.addQueryArgs)(`/wp/v2/templates/${e?.id}`,{source:"theme",context:"edit"}),r=yield Y.fetchFromAPI(t);return Y.setSourceTemplate(r)},*getTemplatePart(e){const t=`/wp/v2/template-parts/${e}`,r=yield Y.fetchFromAPI(t);return Y.setTemplatePart(r)},*getLibrary(){const e=yield Y.fetchFromAPI("/otter/v1/onboarding/templates");if(e?.success)return Y.setLibrary(e.data)}}});(0,a.register)(W);var H=window.wp.preferencesPersistence,V=()=>{const[e,t]=(0,n.useState)(!0),[r,o]=(0,n.useState)(window.otterOnboardingData?.userEmail),[i,s]=(0,n.useState)(!1),{hasUserOptedin:l,currentTheme:d}=(0,a.useSelect)((e=>{const{get:t}=e("core/preferences"),{getCurrentTheme:r}=e("core");return{hasUserOptedin:t("themeisle/otter-blocks","onboarding-optin"),currentTheme:r()?.template||r()?.stylesheet}}),[]),f=(0,H.create)(),{set:p,setPersistenceLayer:g}=(0,a.useDispatch)("core/preferences");g(f);const y=({redirect:t="site"})=>{const n="site"===t?window.otterOnboardingData.rootUrl:window.otterOnboardingData.dashboardUrl;r&&e?(s(!0),fetch("https://api.themeisle.com/tracking/subscribe",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json, */*;q=0.1","Cache-Control":"no-cache"},body:JSON.stringify({slug:d,site:window.otterOnboardingData.rootUrl,email:r})}).then((e=>{s(!1),p("themeisle/otter-blocks","onboarding-optin",!0),window.open(n,"_self")}))?.catch((()=>{s(!1),window.open(n,"_self")}))):window.open(n,"_self")};return(0,h.jsx)("div",{className:"o-finish",children:(0,h.jsxs)("div",{className:"o-finish__container",children:[(0,h.jsx)("img",{className:"o-finish__logo",src:window.otterOnboardingData?.logo||`${window.otterOnboardingData.assetsPath}images/logo-alt.png`}),(0,h.jsx)("h1",{children:(0,c.__)("Your website is ready!","otter-blocks")}),(0,h.jsx)("p",{children:(0,c.__)("Thanks for using Otter to setup your theme. Otter adds a number of useful blocks and features to your site that enhance your FSE experience. We hope you will enjoy using it.","otter-blocks")}),!l&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(u.CheckboxControl,{label:(0,c.__)("Stay connected for news, Tips and updates","otter-blocks"),checked:e,onChange:t}),e&&(0,h.jsx)(u.TextControl,{label:(0,c.__)("Email","otter-blocks"),placeholder:(0,c.__)("Your email address","otter-blocks"),hideLabelFromVision:!0,value:r,onChange:o})]}),(0,h.jsxs)("div",{className:"o-finish__actions",children:[(0,h.jsx)(u.Button,{variant:"primary",isBusy:i,onClick:y,children:(0,c.__)("Visit your website","otter-blocks")}),(0,h.jsx)(u.Button,{variant:"tertiary",onClick:()=>y({redirect:"dashboard"}),children:(0,c.__)("Go to dashboard","otter-blocks")})]})]})})},G=()=>{const{setWelcomeScreen:e}=(0,a.useDispatch)("otter/onboarding");return(0,h.jsx)("div",{className:"o-start",children:(0,h.jsxs)("div",{className:"o-start__container",children:[(0,h.jsx)("img",{className:"o-start__logo",src:window.otterOnboardingData?.logo||`${window.otterOnboardingData.assetsPath}images/logo-alt.png`}),(0,h.jsx)("h1",{children:(0,c.__)("Welcome to Theme Setup.","otter-blocks")}),(0,h.jsxs)("p",{children:[(0,c.__)('This process will guide you through a basic setup of your theme, helping you to launch your new site easily, with style. You can revisit this setup wizard anytime by navigating to "Appearance → Theme Setup" in your dashboard.',"otter-blocks"),(0,h.jsx)(u.ExternalLink,{href:"https://wordpress.org/plugins/otter-blocks/",target:"_blank",rel:"noopener noreferrer","aria-label":(0,c.__)("Learn more about Otter","otter-blocks"),style:{marginLeft:"0.5em"},children:(0,c.__)("Learn more.","otter-blocks")})]}),(0,h.jsxs)("div",{className:"o-start__actions",children:[(0,h.jsx)(u.Button,{variant:"primary",onClick:()=>e(!1),children:(0,c.__)("Set up my theme","otter-blocks")}),(0,h.jsx)(u.Button,{variant:"tertiary",href:window.otterOnboardingData.dashboardUrl,children:(0,c.__)("Back to dashboard","otter-blocks")})]})]})})},z=({isEditorLoading:e})=>{const{currentStep:t}=(0,a.useSelect)((e=>{const{getStep:t}=e("otter/onboarding");return{currentStep:t()?.id}})),[r,o]=(0,n.useState)(!0),i=P[t]?.content||null;return(0,n.useEffect)((()=>{e||o(!1)}),[e]),r?(0,h.jsx)("div",{className:"o-preview__loader",children:(0,h.jsx)(u.Spinner,{})}):(0,h.jsx)("div",{className:"o-main",children:(0,h.jsx)(i,{...P[t]?.props})})},$=({isEditorLoading:e})=>{const{currentStep:t,stepIndex:r,isSaving:o,siteURL:i,isSmall:s}=(0,a.useSelect)((e=>{const{getSite:t}=e("core"),{getStep:r,isSaving:n}=e("otter/onboarding"),{isViewportMatch:o}=e("core/viewport"),i=o("< medium"),s=t()?.url;return{currentStep:r()?.id,stepIndex:r()?.value,isSaving:n(),siteURL:s,isSmall:i}})),{nextStep:l,previousStep:d,onContinue:f}=(0,a.useDispatch)("otter/onboarding"),[p,g]=(0,n.useState)(!0),y=P[t]?.controls||null;return(0,n.useEffect)((()=>{e||g(!1)}),[e]),(0,h.jsxs)("div",{className:"o-sidebar",children:[(p||o)&&(0,h.jsx)("div",{className:"o-sidebar__loader",children:(0,h.jsx)(u.Disabled,{children:(0,h.jsx)(u.Spinner,{})})}),(0,h.jsxs)("div",{className:"o-sidebar__header",children:[(0,h.jsx)("img",{className:"o-sidebar__logo",src:window.otterOnboardingData?.logo||`${window.otterOnboardingData.assetsPath}images/logo-alt.png`}),0!==r?(0,h.jsx)(u.Button,{variant:"tertiary",onClick:d,children:(0,c.__)("Go back","otter-blocks")}):(0,h.jsx)(u.Button,{variant:"tertiary",onClick:()=>{window.open(i,"_self")},children:(0,c.__)("Exit","otter-blocks")})]}),(0,h.jsxs)("div",{className:"o-sidebar__content",children:[(0,h.jsxs)("div",{className:"o-sidebar__info",children:[(0,h.jsx)("h2",{children:P[t]?.title}),(0,h.jsx)("p",{children:P[t]?.description})]}),s&&(0,h.jsx)(z,{isEditorLoading:e}),y&&(0,h.jsx)(y,{})]}),(0,h.jsxs)("div",{className:"o-sidebar__actions",children:[(0,h.jsx)(u.Button,{variant:"primary",onClick:f,children:(0,c.__)("Continue","otter-blocks")}),!P[t]?.hideSkip&&(0,h.jsx)(u.Button,{variant:"tertiary",onClick:()=>l(!0),children:(0,c.__)("Skip this step","otter-blocks")})]})]})},J=window.wp.htmlEntities;var K=()=>{const e=(()=>{const{isLoaded:e}=((e,t)=>{const{record:r,title:n,description:o,isLoaded:i,icon:s}=(0,a.useSelect)((e=>{const{getEditedPostType:t,getEditedPostId:r}=e("core/edit-site"),{getEditedEntityRecord:n,hasFinishedResolution:o}=e("core"),{__experimentalGetTemplateInfo:i}=e("core/editor"),s=t(),a=r(),l=n("postType",s,a),c=a&&o("getEditedEntityRecord",["postType",s,a]),u=i(l);return{record:l,title:u.title,description:u.description,isLoaded:c,icon:u.icon}}),[e,t]);return{isLoaded:i,icon:s,record:r,getTitle:()=>n?(0,J.decodeEntities)(n):null,getDescription:()=>o?(0,J.decodeEntities)(o):null}})(),[t,r]=(0,n.useState)(!1),o=(0,a.useSelect)((e=>{const r=e("core").hasResolvingSelectors();return!t&&!r}),[t]);return(0,n.useEffect)((()=>{let e;return t||(e=setTimeout((()=>{r(!0)}),1e4)),()=>{clearTimeout(e)}}),[t]),(0,n.useEffect)((()=>{if(o){const e=setTimeout((()=>{r(!0)}),1e3);return()=>{clearTimeout(e)}}}),[o]),!t||!e})(),{isFinished:t,isWelcomeScreen:r,isSmall:o}=(0,a.useSelect)((e=>{const{isFinished:t,isWelcomeScreen:r}=e("otter/onboarding"),{isViewportMatch:n}=e("core/viewport"),o=n("< medium");return{isFinished:t(),isWelcomeScreen:r(),isSmall:o}}),[]);return(0,n.useEffect)((()=>{p()}),[]),r?(0,h.jsx)("div",{id:"otter-onboarding",children:(0,h.jsx)(G,{})}):t?(0,h.jsx)("div",{id:"otter-onboarding",children:(0,h.jsx)(V,{})}):(0,h.jsx)("div",{id:"otter-onboarding",children:(0,h.jsxs)("div",{className:"o-onboarding",children:[(0,h.jsx)($,{isEditorLoading:e}),!o&&(0,h.jsx)(z,{isEditorLoading:e})]})})};"true"===new URLSearchParams(window.location.search).get("onboarding")&&(0,o.registerPlugin)("otter-onboarding",{render:()=>(0,n.createPortal)((0,h.jsx)(K,{}),document.body)})},802:function(e){e.exports=function e(t,r,n){function o(s,a){if(!r[s]){if(!t[s]){if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}a=r[s]={exports:{}},t[s][0].call(a.exports,(function(e){return o(t[s][1][e]||e)}),a,a.exports,e,t,r,n)}return r[s].exports}for(var i=void 0,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(e,t,r){(function(n,o,i,s,a,l,c,u,d){"use strict";var f=e("crypto");function p(e,t){var r;return void 0===(r="passthrough"!==(t=y(e,t)).algorithm?f.createHash(t.algorithm):new w).write&&(r.write=r.update,r.end=r.update),b(t,r).dispatch(e),r.update||r.end(""),r.digest?r.digest("buffer"===t.encoding?void 0:t.encoding):(e=r.read(),"buffer"!==t.encoding?e.toString(t.encoding):e)}(r=t.exports=p).sha1=function(e){return p(e)},r.keys=function(e){return p(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return p(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return p(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var h=f.getHashes?f.getHashes().slice():["sha1","md5"],g=(h.push("passthrough"),["buffer","hex","binary","base64"]);function y(e,t){var r={};if(r.algorithm=(t=t||{}).algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===t.ignoreUnknown,r.respectType=!1!==t.respectType,r.respectFunctionNames=!1!==t.respectFunctionNames,r.respectFunctionProperties=!1!==t.respectFunctionProperties,r.unorderedArrays=!0===t.unorderedArrays,r.unorderedSets=!1!==t.unorderedSets,r.unorderedObjects=!1!==t.unorderedObjects,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var n=0;n<h.length;++n)h[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=h[n]);if(-1===h.indexOf(r.algorithm))throw new Error('Algorithm "'+r.algorithm+'" not supported. supported values: '+h.join(", "));if(-1===g.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw new Error('Encoding "'+r.encoding+'" not supported. supported values: '+g.join(", "));return r}function m(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function b(e,t,r){function n(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return r=r||[],{dispatch:function(t){return this["_"+(null===(t=e.replacer?e.replacer(t):t)?"null":typeof t)](t)},_object:function(t){var o,s=Object.prototype.toString.call(t),a=/\[object (.*)\]/i.exec(s);if(a=(a=a?a[1]:"unknown:["+s+"]").toLowerCase(),0<=(s=r.indexOf(t)))return this.dispatch("[CIRCULAR:"+s+"]");if(r.push(t),void 0!==i&&i.isBuffer&&i.isBuffer(t))return n("buffer:"),n(t);if("object"===a||"function"===a||"asyncfunction"===a)return s=Object.keys(t),e.unorderedObjects&&(s=s.sort()),!1===e.respectType||m(t)||s.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(s=s.filter((function(t){return!e.excludeKeys(t)}))),n("object:"+s.length+":"),o=this,s.forEach((function(r){o.dispatch(r),n(":"),e.excludeValues||o.dispatch(t[r]),n(",")}));if(!this["_"+a]){if(e.ignoreUnknown)return n("["+a+"]");throw new Error('Unknown object type "'+a+'"')}this["_"+a](t)},_array:function(t,o){o=void 0!==o?o:!1!==e.unorderedArrays;var i=this;if(n("array:"+t.length+":"),!o||t.length<=1)return t.forEach((function(e){return i.dispatch(e)}));var s=[];return o=t.map((function(t){var n=new w,o=r.slice();return b(e,n,o).dispatch(t),s=s.concat(o.slice(r.length)),n.read().toString()})),r=r.concat(s),o.sort(),this._array(o,!1)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":"),n(e.toString())},_function:function(t){n("fn:"),m(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return n("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return n("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return n("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return n("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return n("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return n("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString())},_map:function(t){return n("map:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_set:function(t){return n("set:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_file:function(e){return n("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(e){return n("bigint:"+e.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function w(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}r.writeToStream=function(e,t,r){return void 0===r&&(r=t,t={}),b(t=y(e,t),r).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,r){(function(e,t,n,o,i,s,a,l,c){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array,r="+".charCodeAt(0),n="/".charCodeAt(0),o="0".charCodeAt(0),i="a".charCodeAt(0),s="A".charCodeAt(0),a="-".charCodeAt(0),l="_".charCodeAt(0);function c(e){return(e=e.charCodeAt(0))===r||e===a?62:e===n||e===l?63:e<o?-1:e<o+10?e-o+26+26:e<s+26?e-s:e<i+26?e-i+26:void 0}e.toByteArray=function(e){var r,n;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var o=e.length,i=(o="="===e.charAt(o-2)?2:"="===e.charAt(o-1)?1:0,new t(3*e.length/4-o)),s=0<o?e.length-4:e.length,a=0;function l(e){i[a++]=e}for(r=0;r<s;r+=4,0)l((16711680&(n=c(e.charAt(r))<<18|c(e.charAt(r+1))<<12|c(e.charAt(r+2))<<6|c(e.charAt(r+3))))>>16),l((65280&n)>>8),l(255&n);return 2==o?l(255&(n=c(e.charAt(r))<<2|c(e.charAt(r+1))>>4)):1==o&&(l((n=c(e.charAt(r))<<10|c(e.charAt(r+1))<<4|c(e.charAt(r+2))>>2)>>8&255),l(255&n)),i},e.fromByteArray=function(e){var t,r,n,o,i=e.length%3,s="";function a(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,n=e.length-i;t<n;t+=3)s+=a((o=r=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+a(o>>12&63)+a(o>>6&63)+a(63&o);switch(i){case 1:s=(s+=a((r=e[e.length-1])>>2))+a(r<<4&63)+"==";break;case 2:s=(s=(s+=a((r=(e[e.length-2]<<8)+e[e.length-1])>>10))+a(r>>4&63))+a(r<<2&63)+"="}return s}}(void 0===r?this.base64js={}:r)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,r){(function(t,n,o,i,s,a,l,c,u){var d=e("base64-js"),f=e("ieee754");function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var n,i,s,a,l=typeof e;if("base64"===t&&"string"==l)for(e=(a=e).trim?a.trim():a.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==l)n=j(e);else if("string"==l)n=o.byteLength(e,t);else{if("object"!=l)throw new Error("First argument needs to be a number, array or string.");n=j(e.length)}if(o._useTypedArrays?i=o._augment(new Uint8Array(n)):((i=this).length=n,i._isBuffer=!0),o._useTypedArrays&&"number"==typeof e.byteLength)i._set(e);else if(I(a=e)||o.isBuffer(a)||a&&"object"==typeof a&&"number"==typeof a.length)for(s=0;s<n;s++)o.isBuffer(e)?i[s]=e.readUInt8(s):i[s]=e[s];else if("string"==l)i.write(e,0,t);else if("number"==l&&!o._useTypedArrays&&!r)for(s=0;s<n;s++)i[s]=0;return i}function p(e,t,r,n){var o;if(n||(U("boolean"==typeof r,"missing or invalid endian"),U(null!=t,"missing offset"),U(t+1<e.length,"Trying to read beyond buffer length")),!((n=e.length)<=t))return r?(o=e[t],t+1<n&&(o|=e[t+1]<<8)):(o=e[t]<<8,t+1<n&&(o|=e[t+1])),o}function h(e,t,r,n){var o;if(n||(U("boolean"==typeof r,"missing or invalid endian"),U(null!=t,"missing offset"),U(t+3<e.length,"Trying to read beyond buffer length")),!((n=e.length)<=t))return r?(t+2<n&&(o=e[t+2]<<16),t+1<n&&(o|=e[t+1]<<8),o|=e[t],t+3<n&&(o+=e[t+3]<<24>>>0)):(t+1<n&&(o=e[t+1]<<16),t+2<n&&(o|=e[t+2]<<8),t+3<n&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}function g(e,t,r,n){if(n||(U("boolean"==typeof r,"missing or invalid endian"),U(null!=t,"missing offset"),U(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 32768&(n=p(e,t,r,!0))?-1*(65535-n+1):n}function y(e,t,r,n){if(n||(U("boolean"==typeof r,"missing or invalid endian"),U(null!=t,"missing offset"),U(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 2147483648&(n=h(e,t,r,!0))?-1*(4294967295-n+1):n}function m(e,t,r,n){return n||(U("boolean"==typeof r,"missing or invalid endian"),U(t+3<e.length,"Trying to read beyond buffer length")),f.read(e,t,r,23,4)}function b(e,t,r,n){return n||(U("boolean"==typeof r,"missing or invalid endian"),U(t+7<e.length,"Trying to read beyond buffer length")),f.read(e,t,r,52,8)}function w(e,t,r,n,o){if(o||(U(null!=t,"missing value"),U("boolean"==typeof n,"missing or invalid endian"),U(null!=r,"missing offset"),U(r+1<e.length,"trying to write beyond buffer length"),P(t,65535)),!((o=e.length)<=r))for(var i=0,s=Math.min(o-r,2);i<s;i++)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function _(e,t,r,n,o){if(o||(U(null!=t,"missing value"),U("boolean"==typeof n,"missing or invalid endian"),U(null!=r,"missing offset"),U(r+3<e.length,"trying to write beyond buffer length"),P(t,4294967295)),!((o=e.length)<=r))for(var i=0,s=Math.min(o-r,4);i<s;i++)e[r+i]=t>>>8*(n?i:3-i)&255}function v(e,t,r,n,o){o||(U(null!=t,"missing value"),U("boolean"==typeof n,"missing or invalid endian"),U(null!=r,"missing offset"),U(r+1<e.length,"Trying to write beyond buffer length"),N(t,32767,-32768)),e.length<=r||w(e,0<=t?t:65535+t+1,r,n,o)}function S(e,t,r,n,o){o||(U(null!=t,"missing value"),U("boolean"==typeof n,"missing or invalid endian"),U(null!=r,"missing offset"),U(r+3<e.length,"Trying to write beyond buffer length"),N(t,2147483647,-2147483648)),e.length<=r||_(e,0<=t?t:4294967295+t+1,r,n,o)}function E(e,t,r,n,o){o||(U(null!=t,"missing value"),U("boolean"==typeof n,"missing or invalid endian"),U(null!=r,"missing offset"),U(r+3<e.length,"Trying to write beyond buffer length"),O(t,34028234663852886e22,-34028234663852886e22)),e.length<=r||f.write(e,t,r,n,23,4)}function x(e,t,r,n,o){o||(U(null!=t,"missing value"),U("boolean"==typeof n,"missing or invalid endian"),U(null!=r,"missing offset"),U(r+7<e.length,"Trying to write beyond buffer length"),O(t,17976931348623157e292,-17976931348623157e292)),e.length<=r||f.write(e,t,r,n,52,8)}r.Buffer=o,r.SlowBuffer=o,r.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=C(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=B(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},o.concat=function(e,t){if(U(I(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new o(0);if(1===e.length)return e[0];if("number"!=typeof t)for(i=t=0;i<e.length;i++)t+=e[i].length;for(var r=new o(t),n=0,i=0;i<e.length;i++){var s=e[i];s.copy(r,n),n+=s.length}return r},o.prototype.write=function(e,t,r,n){isFinite(t)?isFinite(r)||(n=r,r=void 0):(c=n,n=t,t=r,r=c),t=Number(t)||0;var i,s,a,l,c=this.length-t;switch((!r||c<(r=Number(r)))&&(r=c),n=String(n||"utf8").toLowerCase()){case"hex":i=function(e,t,r,n){r=Number(r)||0;var i=e.length-r;(!n||i<(n=Number(n)))&&(n=i),U((i=t.length)%2==0,"Invalid hex string"),i/2<n&&(n=i/2);for(var s=0;s<n;s++){var a=parseInt(t.substr(2*s,2),16);U(!isNaN(a),"Invalid hex string"),e[r+s]=a}return o._charsWritten=2*s,s}(this,e,t,r);break;case"utf8":case"utf-8":s=this,a=t,l=r,i=o._charsWritten=L(C(e),s,a,l);break;case"ascii":case"binary":i=function(e,t,r,n){return o._charsWritten=L(function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}(this,e,t,r);break;case"base64":s=this,a=t,l=r,i=o._charsWritten=L(B(e),s,a,l);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=function(e,t,r,n){return o._charsWritten=L(function(e){for(var t,r,n=[],o=0;o<e.length;o++)t=(r=e.charCodeAt(o))>>8,r%=256,n.push(r),n.push(t);return n}(t),e,r,n)}(this,e,t,r);break;default:throw new Error("Unknown encoding")}return i},o.prototype.toString=function(e,t,r){var n,o,i,s,a=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(r=void 0!==r?Number(r):a.length)===t)return"";switch(e){case"hex":n=function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||n<r)&&(r=n);for(var o="",i=t;i<r;i++)o+=A(e[i]);return o}(a,t,r);break;case"utf8":case"utf-8":n=function(e,t,r){var n="",o="";r=Math.min(e.length,r);for(var i=t;i<r;i++)e[i]<=127?(n+=D(o)+String.fromCharCode(e[i]),o=""):o+="%"+e[i].toString(16);return n+D(o)}(a,t,r);break;case"ascii":case"binary":n=function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;o++)n+=String.fromCharCode(e[o]);return n}(a,t,r);break;case"base64":o=a,s=r,n=0===(i=t)&&s===o.length?d.fromByteArray(o):d.fromByteArray(o.slice(i,s));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(a,t,r);break;default:throw new Error("Unknown encoding")}return n},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(e,t,r,n){if(t=t||0,(n=n||0===n?n:this.length)!==(r=r||0)&&0!==e.length&&0!==this.length){U(r<=n,"sourceEnd < sourceStart"),U(0<=t&&t<e.length,"targetStart out of bounds"),U(0<=r&&r<this.length,"sourceStart out of bounds"),U(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length);var i=(n=e.length-t<n-r?e.length-t+r:n)-r;if(i<100||!o._useTypedArrays)for(var s=0;s<i;s++)e[s+t]=this[s+r];else e._set(this.subarray(r,r+i),t)}},o.prototype.slice=function(e,t){var r=this.length;if(e=k(e,r,0),t=k(t,r,r),o._useTypedArrays)return o._augment(this.subarray(e,t));for(var n=t-e,i=new o(n,void 0,!0),s=0;s<n;s++)i[s]=this[s+e];return i},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.readUInt8=function(e,t){if(t||(U(null!=e,"missing offset"),U(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},o.prototype.readUInt16LE=function(e,t){return p(this,e,!0,t)},o.prototype.readUInt16BE=function(e,t){return p(this,e,!1,t)},o.prototype.readUInt32LE=function(e,t){return h(this,e,!0,t)},o.prototype.readUInt32BE=function(e,t){return h(this,e,!1,t)},o.prototype.readInt8=function(e,t){if(t||(U(null!=e,"missing offset"),U(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){return g(this,e,!0,t)},o.prototype.readInt16BE=function(e,t){return g(this,e,!1,t)},o.prototype.readInt32LE=function(e,t){return y(this,e,!0,t)},o.prototype.readInt32BE=function(e,t){return y(this,e,!1,t)},o.prototype.readFloatLE=function(e,t){return m(this,e,!0,t)},o.prototype.readFloatBE=function(e,t){return m(this,e,!1,t)},o.prototype.readDoubleLE=function(e,t){return b(this,e,!0,t)},o.prototype.readDoubleBE=function(e,t){return b(this,e,!1,t)},o.prototype.writeUInt8=function(e,t,r){r||(U(null!=e,"missing value"),U(null!=t,"missing offset"),U(t<this.length,"trying to write beyond buffer length"),P(e,255)),t>=this.length||(this[t]=e)},o.prototype.writeUInt16LE=function(e,t,r){w(this,e,t,!0,r)},o.prototype.writeUInt16BE=function(e,t,r){w(this,e,t,!1,r)},o.prototype.writeUInt32LE=function(e,t,r){_(this,e,t,!0,r)},o.prototype.writeUInt32BE=function(e,t,r){_(this,e,t,!1,r)},o.prototype.writeInt8=function(e,t,r){r||(U(null!=e,"missing value"),U(null!=t,"missing offset"),U(t<this.length,"Trying to write beyond buffer length"),N(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},o.prototype.writeInt16LE=function(e,t,r){v(this,e,t,!0,r)},o.prototype.writeInt16BE=function(e,t,r){v(this,e,t,!1,r)},o.prototype.writeInt32LE=function(e,t,r){S(this,e,t,!0,r)},o.prototype.writeInt32BE=function(e,t,r){S(this,e,t,!1,r)},o.prototype.writeFloatLE=function(e,t,r){E(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){E(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){x(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){x(this,e,t,!1,r)},o.prototype.fill=function(e,t,r){if(t=t||0,r=r||this.length,U("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),U(t<=r,"end < start"),r!==t&&0!==this.length){U(0<=t&&t<this.length,"start out of bounds"),U(0<=r&&r<=this.length,"end out of bounds");for(var n=t;n<r;n++)this[n]=e}},o.prototype.inspect=function(){for(var e=[],t=this.length,n=0;n<t;n++)if(e[n]=A(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;t<r;t+=1)e[t]=this[t];return e.buffer};var T=o.prototype;function k(e,t,r){return"number"!=typeof e?r:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function j(e){return(e=~~Math.ceil(+e))<0?0:e}function I(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function A(e){return e<16?"0"+e.toString(16):e.toString(16)}function C(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<=127)t.push(e.charCodeAt(r));else for(var o=r,i=(55296<=n&&n<=57343&&r++,encodeURIComponent(e.slice(o,r+1)).substr(1).split("%")),s=0;s<i.length;s++)t.push(parseInt(i[s],16))}return t}function B(e){return d.toByteArray(e)}function L(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);o++)t[o+r]=e[o];return o}function D(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function P(e,t){U("number"==typeof e,"cannot write a non-number as a number"),U(0<=e,"specified a negative value for writing an unsigned value"),U(e<=t,"value is larger than maximum value for type"),U(Math.floor(e)===e,"value has a fractional component")}function N(e,t,r){U("number"==typeof e,"cannot write a non-number as a number"),U(e<=t,"value larger than maximum allowed value"),U(r<=e,"value smaller than minimum allowed value"),U(Math.floor(e)===e,"value has a fractional component")}function O(e,t,r){U("number"==typeof e,"cannot write a non-number as a number"),U(e<=t,"value larger than maximum allowed value"),U(r<=e,"value smaller than minimum allowed value")}function U(e,t){if(!e)throw new Error(t||"Failed assertion")}o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=T.get,e.set=T.set,e.write=T.write,e.toString=T.toString,e.toLocaleString=T.toString,e.toJSON=T.toJSON,e.copy=T.copy,e.slice=T.slice,e.readUInt8=T.readUInt8,e.readUInt16LE=T.readUInt16LE,e.readUInt16BE=T.readUInt16BE,e.readUInt32LE=T.readUInt32LE,e.readUInt32BE=T.readUInt32BE,e.readInt8=T.readInt8,e.readInt16LE=T.readInt16LE,e.readInt16BE=T.readInt16BE,e.readInt32LE=T.readInt32LE,e.readInt32BE=T.readInt32BE,e.readFloatLE=T.readFloatLE,e.readFloatBE=T.readFloatBE,e.readDoubleLE=T.readDoubleLE,e.readDoubleBE=T.readDoubleBE,e.writeUInt8=T.writeUInt8,e.writeUInt16LE=T.writeUInt16LE,e.writeUInt16BE=T.writeUInt16BE,e.writeUInt32LE=T.writeUInt32LE,e.writeUInt32BE=T.writeUInt32BE,e.writeInt8=T.writeInt8,e.writeInt16LE=T.writeInt16LE,e.writeInt16BE=T.writeInt16BE,e.writeInt32LE=T.writeInt32LE,e.writeInt32BE=T.writeInt32BE,e.writeFloatLE=T.writeFloatLE,e.writeFloatBE=T.writeFloatBE,e.writeDoubleLE=T.writeDoubleLE,e.writeDoubleBE=T.writeDoubleBE,e.fill=T.fill,e.inspect=T.inspect,e.toArrayBuffer=T.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,r){(function(r,n,o,i,s,a,l,c,u){o=e("buffer").Buffer;var d=new o(4);d.fill(0),t.exports={hash:function(e,t,r,n){for(var i=t(function(e,t){e.length%4!=0&&(r=e.length+(4-e.length%4),e=o.concat([e,d],r));for(var r,n=[],i=t?e.readInt32BE:e.readInt32LE,s=0;s<e.length;s+=4)n.push(i.call(e,s));return n}(e=o.isBuffer(e)?e:new o(e),n),8*e.length),s=(t=n,new o(r)),a=t?s.writeInt32BE:s.writeInt32LE,l=0;l<i.length;l++)a.call(s,i[l],4*l,!0);return s}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,r){(function(t,n,o,i,s,a,l,c,u){o=e("buffer").Buffer;var d=e("./sha"),f=e("./sha256"),p=e("./rng"),h={sha1:d,sha256:f,md5:e("./md5")},g=64,y=new o(g);function m(e,t){var r=h[e=e||"sha1"],n=[];return r||b("algorithm:",e,"is not yet supported"),{update:function(e){return o.isBuffer(e)||(e=new o(e)),n.push(e),e.length,this},digest:function(e){var i=o.concat(n);return i=t?function(e,t,r){o.isBuffer(t)||(t=new o(t)),o.isBuffer(r)||(r=new o(r)),t.length>g?t=e(t):t.length<g&&(t=o.concat([t,y],g));for(var n=new o(g),i=new o(g),s=0;s<g;s++)n[s]=54^t[s],i[s]=92^t[s];return r=e(o.concat([n,r])),e(o.concat([i,r]))}(r,t,i):r(i),n=null,e?i.toString(e):i}}}function b(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}y.fill(0),r.createHash=function(e){return m(e)},r.createHmac=m,r.randomBytes=function(e,t){if(!t||!t.call)return new o(p(e));try{t.call(this,void 0,new o(p(e)))}catch(e){t(e)}};var w,_=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],v=function(e){r[e]=function(){b("sorry,",e,"is not implemented yet")}};for(w in _)v(_[w])}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,r){(function(r,n,o,i,s,a,l,c,u){var d=e("./helpers");function f(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,o=-1732584194,i=271733878,s=0;s<e.length;s+=16){var a=r,l=n,c=o,u=i;r=h(r,n,o,i,e[s+0],7,-680876936),i=h(i,r,n,o,e[s+1],12,-389564586),o=h(o,i,r,n,e[s+2],17,606105819),n=h(n,o,i,r,e[s+3],22,-1044525330),r=h(r,n,o,i,e[s+4],7,-176418897),i=h(i,r,n,o,e[s+5],12,1200080426),o=h(o,i,r,n,e[s+6],17,-1473231341),n=h(n,o,i,r,e[s+7],22,-45705983),r=h(r,n,o,i,e[s+8],7,1770035416),i=h(i,r,n,o,e[s+9],12,-1958414417),o=h(o,i,r,n,e[s+10],17,-42063),n=h(n,o,i,r,e[s+11],22,-1990404162),r=h(r,n,o,i,e[s+12],7,1804603682),i=h(i,r,n,o,e[s+13],12,-40341101),o=h(o,i,r,n,e[s+14],17,-1502002290),r=g(r,n=h(n,o,i,r,e[s+15],22,1236535329),o,i,e[s+1],5,-165796510),i=g(i,r,n,o,e[s+6],9,-1069501632),o=g(o,i,r,n,e[s+11],14,643717713),n=g(n,o,i,r,e[s+0],20,-373897302),r=g(r,n,o,i,e[s+5],5,-701558691),i=g(i,r,n,o,e[s+10],9,38016083),o=g(o,i,r,n,e[s+15],14,-660478335),n=g(n,o,i,r,e[s+4],20,-405537848),r=g(r,n,o,i,e[s+9],5,568446438),i=g(i,r,n,o,e[s+14],9,-1019803690),o=g(o,i,r,n,e[s+3],14,-187363961),n=g(n,o,i,r,e[s+8],20,1163531501),r=g(r,n,o,i,e[s+13],5,-1444681467),i=g(i,r,n,o,e[s+2],9,-51403784),o=g(o,i,r,n,e[s+7],14,1735328473),r=y(r,n=g(n,o,i,r,e[s+12],20,-1926607734),o,i,e[s+5],4,-378558),i=y(i,r,n,o,e[s+8],11,-2022574463),o=y(o,i,r,n,e[s+11],16,1839030562),n=y(n,o,i,r,e[s+14],23,-35309556),r=y(r,n,o,i,e[s+1],4,-1530992060),i=y(i,r,n,o,e[s+4],11,1272893353),o=y(o,i,r,n,e[s+7],16,-155497632),n=y(n,o,i,r,e[s+10],23,-1094730640),r=y(r,n,o,i,e[s+13],4,681279174),i=y(i,r,n,o,e[s+0],11,-358537222),o=y(o,i,r,n,e[s+3],16,-722521979),n=y(n,o,i,r,e[s+6],23,76029189),r=y(r,n,o,i,e[s+9],4,-640364487),i=y(i,r,n,o,e[s+12],11,-421815835),o=y(o,i,r,n,e[s+15],16,530742520),r=m(r,n=y(n,o,i,r,e[s+2],23,-995338651),o,i,e[s+0],6,-198630844),i=m(i,r,n,o,e[s+7],10,1126891415),o=m(o,i,r,n,e[s+14],15,-1416354905),n=m(n,o,i,r,e[s+5],21,-57434055),r=m(r,n,o,i,e[s+12],6,1700485571),i=m(i,r,n,o,e[s+3],10,-1894986606),o=m(o,i,r,n,e[s+10],15,-1051523),n=m(n,o,i,r,e[s+1],21,-2054922799),r=m(r,n,o,i,e[s+8],6,1873313359),i=m(i,r,n,o,e[s+15],10,-30611744),o=m(o,i,r,n,e[s+6],15,-1560198380),n=m(n,o,i,r,e[s+13],21,1309151649),r=m(r,n,o,i,e[s+4],6,-145523070),i=m(i,r,n,o,e[s+11],10,-1120210379),o=m(o,i,r,n,e[s+2],15,718787259),n=m(n,o,i,r,e[s+9],21,-343485551),r=b(r,a),n=b(n,l),o=b(o,c),i=b(i,u)}return Array(r,n,o,i)}function p(e,t,r,n,o,i){return b((t=b(b(t,e),b(n,i)))<<o|t>>>32-o,r)}function h(e,t,r,n,o,i,s){return p(t&r|~t&n,e,t,o,i,s)}function g(e,t,r,n,o,i,s){return p(t&n|r&~n,e,t,o,i,s)}function y(e,t,r,n,o,i,s){return p(t^r^n,e,t,o,i,s)}function m(e,t,r,n,o,i,s){return p(r^(t|~n),e,t,o,i,s)}function b(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}t.exports=function(e){return d.hash(e,f,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(e,r,n,o,i,s,a,l,c){t.exports=function(e){for(var t,r=new Array(e),n=0;n<e;n++)!(3&n)&&(t=4294967296*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,r){(function(r,n,o,i,s,a,l,c,u){var d=e("./helpers");function f(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var r,n,o,i=Array(80),s=1732584193,a=-271733879,l=-1732584194,c=271733878,u=-1009589776,d=0;d<e.length;d+=16){for(var f=s,g=a,y=l,m=c,b=u,w=0;w<80;w++){i[w]=w<16?e[d+w]:h(i[w-3]^i[w-8]^i[w-14]^i[w-16],1);var _=p(p(h(s,5),(_=a,n=l,o=c,(r=w)<20?_&n|~_&o:!(r<40)&&r<60?_&n|_&o|n&o:_^n^o)),p(p(u,i[w]),(r=w)<20?1518500249:r<40?1859775393:r<60?-1894007588:-899497514));u=c,c=l,l=h(a,30),a=s,s=_}s=p(s,f),a=p(a,g),l=p(l,y),c=p(c,m),u=p(u,b)}return Array(s,a,l,c,u)}function p(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function h(e,t){return e<<t|e>>>32-t}t.exports=function(e){return d.hash(e,f,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,r){(function(r,n,o,i,s,a,l,c,u){function d(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function f(e,t){var r,n=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),o=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),i=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var s,a,l=0;l<e.length;l+=16){for(var c=o[0],u=o[1],f=o[2],p=o[3],y=o[4],m=o[5],b=o[6],w=o[7],_=0;_<64;_++)i[_]=_<16?e[_+l]:d(d(d((a=i[_-2],h(a,17)^h(a,19)^g(a,10)),i[_-7]),(a=i[_-15],h(a,7)^h(a,18)^g(a,3))),i[_-16]),r=d(d(d(d(w,h(a=y,6)^h(a,11)^h(a,25)),y&m^~y&b),n[_]),i[_]),s=d(h(s=c,2)^h(s,13)^h(s,22),c&u^c&f^u&f),w=b,b=m,m=y,y=d(p,r),p=f,f=u,u=c,c=d(r,s);o[0]=d(c,o[0]),o[1]=d(u,o[1]),o[2]=d(f,o[2]),o[3]=d(p,o[3]),o[4]=d(y,o[4]),o[5]=d(m,o[5]),o[6]=d(b,o[6]),o[7]=d(w,o[7])}return o}var p=e("./helpers"),h=function(e,t){return e>>>t|e<<32-t},g=function(e,t){return e>>>t};t.exports=function(e){return p.hash(e,f,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,r){(function(e,t,n,o,i,s,a,l,c){r.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,l=(1<<a)-1,c=l>>1,u=-7,d=r?o-1:0,f=r?-1:1;for(o=e[t+d],d+=f,i=o&(1<<-u)-1,o>>=-u,u+=a;0<u;i=256*i+e[t+d],d+=f,u-=8);for(s=i&(1<<-u)-1,i>>=-u,u+=n;0<u;s=256*s+e[t+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return s?NaN:1/0*(o?-1:1);s+=Math.pow(2,n),i-=c}return(o?-1:1)*s*Math.pow(2,i-n)},r.write=function(e,t,r,n,o,i){var s,a,l=8*i-o-1,c=(1<<l)-1,u=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:i-1,p=n?1:-1;for(i=t<0||0===t&&1/t<0?1:0,t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-s))<1&&(s--,n*=2),2<=(t+=1<=s+u?d/n:d*Math.pow(2,1-u))*n&&(s++,n/=2),c<=s+u?(a=0,s=c):1<=s+u?(a=(t*n-1)*Math.pow(2,o),s+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,o),s=0));8<=o;e[r+f]=255&a,f+=p,a/=256,o-=8);for(s=s<<o|a,l+=o;0<l;e[r+f]=255&s,f+=p,s/=256,l-=8);e[r+f-p]|=128*i}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,r){(function(e,r,n,o,i,s,a,l,c){var u,d,f;function p(){}(e=t.exports={}).nextTick=(d="undefined"!=typeof window&&window.setImmediate,f="undefined"!=typeof window&&window.postMessage&&window.addEventListener,d?function(e){return window.setImmediate(e)}:f?(u=[],window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<u.length&&u.shift()())}),!0),function(e){u.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},942:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,i(r)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.m=t,e=[],n.O=function(t,r,o,i){if(!r){var s=1/0;for(u=0;u<e.length;u++){r=e[u][0],o=e[u][1],i=e[u][2];for(var a=!0,l=0;l<r.length;l++)(!1&i||s>=i)&&Object.keys(n.O).every((function(e){return n.O[e](r[l])}))?r.splice(l--,1):(a=!1,i<s&&(s=i));if(a){e.splice(u--,1);var c=o();void 0!==c&&(t=c)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[r,o,i]},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={57:0,350:0};n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o,i,s=r[0],a=r[1],l=r[2],c=0;if(s.some((function(t){return 0!==e[t]}))){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(l)var u=l(n)}for(t&&t(r);c<s.length;c++)i=s[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(u)},r=self.webpackChunkotter_blocks=self.webpackChunkotter_blocks||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var o=n.O(void 0,[350],(function(){return n(306)}));o=n.O(o)}();