PageSourceSearch

https://petchemist.com.au/edf39ef38dc349c12d459c92745248dcf7d87f1d-87a0e1cc24b6f54a1403.js

js petchemist.com.au collected 2026-10-06 14:18:28 UTC 184,516 bytes, 3 lines download raw bytes

1/*! For license information please see edf39ef38dc349c12d459c92745248dcf7d87f1d-87a0e1cc24b6f54a1403.js.LICENSE.txt */
2"use strict";(self.webpackChunkpet_chemist_gatsby=self.webpackChunkpet_chemist_gatsby||[]).push([[7917],{13813:function(e){function t(e,t){var n,r;if(0===t.length)return e;for(n=0,r=t.length;n<r;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e<0?-2*e:e}function n(e,r,i,o){var s,a=t(t(t(e,i),(s=r,Object.prototype.toString.call(s))),typeof r);if(null===r)return t(a,"null");if(void 0===r)return t(a,"undefined");if("object"==typeof r||"function"==typeof r){if(-1!==o.indexOf(r))return t(a,"[Circular]"+i);o.push(r);var l=function(e,t,r){return Object.keys(t).sort().reduce(function(e,i){return n(e,t[i],i,r)},e)}(a,r,o);if(!("valueOf"in r)||"function"!=typeof r.valueOf)return l;try{return t(l,String(r.valueOf()))}catch(u){return t(l,"[valueOf exception]"+(u.stack||u.message))}}return t(a,r.toString())}e.exports=function(e){return function(e,t){for(;e.length<t;)e="0"+e;return e}(n(0,e,"",[]).toString(16),8)}},19293:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Ay:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL},G8:function(){return BuilderStoreContext},Lx:function(){return stringToFunction},M$:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$},RZ:function(){return BuilderComponent},WM:function(){return BuilderBlock$1},cL:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL},nB:function(){return BuilderAsyncRequestsContext},y$:function(){return BuilderBlocks}});var _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(65105),_emotion_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(97492),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(96540),react_dom__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(40961),hash_sum__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(13813),hash_sum__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(hash_sum__WEBPACK_IMPORTED_MODULE_4__),version="1.1.54",_a;"undefined"!=typeof window&&(null===(_a=window.parent)||void 0===_a||_a.postMessage({type:"builder.isReactSdk",data:{value:!0,supportsPatchUpdates:"v3",priorVersion:version}},"*"));var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function __decorate(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function __metadata(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function __awaiter(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})}function __generator(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function __spreadArray(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}var sizeNames=["xsmall","small","medium","large"],sizes={xsmall:{min:0,default:0,max:0},small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200},getWidthForSize:function(e){return this[e].default},getSizeForWidth:function(e){for(var t=0,n=sizeNames;t<n.length;t++){var r=n[t];if(e<=this[r].max)return r}return"large"}},set=function(e,t,n){if(Object(e)!==e)return e;var r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return r.slice(0,-1).reduce(function(e,t,n){return Object(e[t])===e[t]?e[t]:e[t]=(Math.abs(Number(r[n+1]))|0)==+r[n+1]?[]:{}},e)[r[r.length-1]]=n,e},safeDynamicRequire=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isServer?eval("require"):function(){return null},fnCache={},api=function(e){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL};function stringToFunction(e,t,n,r){if(void 0===t&&(t=!0),!e||!e.trim())return function(){};var i=e+":"+t;if(fnCache[i])return fnCache[i];var o=t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))||e.trim().startsWith("builder.run"),s=function(){};try{_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&(s=new Function("state","event","block","builder","Device","update","Builder","context","\n          var names = [\n            'state',\n            'event',\n            'block',\n            'builder',\n            'Device',\n            'update',\n            'Builder',\n            'context'\n          ];\n          var rootState = state;\n          if (typeof Proxy !== 'undefined') {\n            rootState = new Proxy(rootState, {\n              set: function () {\n                return false;\n              },\n              get: function (target, key) {\n                if (names.includes(key)) {\n                  return undefined;\n                }\n                return target[key];\n              }\n            });\n          }\n          /* Alias */\n          var ctx = context;\n          with (rootState) {\n            ".concat(o?"return (".concat(e,");"):e,";\n          }\n        ")))}catch(t){n&&n.push(t);var a=t&&t.message;a&&"string"==typeof a&&r&&-1===r.indexOf(a)&&r.push(a),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&console.warn("Function compile error in ".concat(e),t)}var l=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];try{if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser)return s.apply(void 0,t);var i=safeDynamicRequire("vm2").VM,o=t[0],a=t[1];return new i({timeout:100,sandbox:__assign(__assign(__assign(__assign({},o),{state:o}),{builder:api}),{event:a})}).run(e.replace(/(^|;)return /,"$1"))}catch(t){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser?console.warn("Builder custom code error:",t.message||t,"in",e,t.stack||t):{}.DEBUG&&console.debug("Builder custom code error:",t.message||t,"in",e,t.stack||t),n&&n.push(t)}};return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&(fnCache[i]=l),l}var isPromise=function(e){return"function"==typeof e.then},isRequestInfo=function(e){return!isPromise(e)},BuilderAsyncRequestsContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({requests:[],errors:[],logs:[]}),BuilderStoreContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({state:{},rootState:{},content:{},context:{},update:function(e){return null}}),applyPatchWithMinimalMutationChain=function(e,t,n){if(void 0===n&&(n=!0),Object(e)!==e)return e;var r=t.path,i=t.op,o=t.value,s=r.split(/\//);""===s[0]&&s.shift();for(var a=n?e:__assign({},e),l=a,u=0;u<s.length;u++){var c=u===s.length-1,d=s[u];if(c)if("replace"===i)l[d]=o;else if("add"===i){var _=Number(d);Array.isArray(l)?"-"===d?l.push(o):l.splice(_,0,o):l[d]=o}else"remove"===i&&(_=Number(d),Array.isArray(l)?l.splice(_,1):delete l[d]);else{var p=s[u+1],f=Object(l[d])===l[d]?l[d]:String(Number(p))===p?[]:{};l=l[d]=Array.isArray(f)?__spreadArray([],f):__assign({},f)}}return a},htmlEscape=function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},blockToHtmlString=function(e){var t;return"<".concat(htmlEscape(e.tagName||"div"),' \n    class="builder-block ').concat(e.id," ").concat(e.class||"",'"\n    builder-id="').concat(e.id,'"\n  ').
2concat(Object.keys(e.properties||{}).map(function(t){return"".concat(htmlEscape(t),'="').concat(htmlEscape(e.properties[t]),'"')}).join(" "),"\n  >").concat("Text"===(null===(t=null==e?void 0:e.component)||void 0===t?void 0:t.name)?e.component.options.text:e.children?e.children.map(function(e){return blockToHtmlString(e)}).join(""):"","</").concat(e.tagName||"div",">").replace(/\s+/g," ")},Link=function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Consumer,null,function(t){return t.renderLink?t.renderLink(e):react__WEBPACK_IMPORTED_MODULE_2__.createElement("a",__assign({},e))})},camelCaseToKebabCase=function(e){return e?e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())}):""},kebabCaseToCamelCase=function(e){return void 0===e&&(e=""),e.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})},Device={desktop:0,tablet:1,mobile:2},blocksMap={},voidElements=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr","textarea"]),last=function(e){return e[e.length-1]};function omit$1(e,t){for(var n=Object.assign({},e),r=0,i=t;r<i.length;r++)delete n[i[r]];return n}var cssCase=function(e){if(!e)return e;var t=camelCaseToKebabCase(e);return e[0]===e[0].toUpperCase()&&(t="-"+t),t},fastClone=function(e){return JSON.parse(JSON.stringify(e))};function capitalize(e){if(e)return e[0].toUpperCase()+e.slice(1)}var BuilderBlock$1=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1,updates:0},t.privateState={state:{},rootState:{},context:{},update:function(){}},t.onWindowMessage=function(e){var n=e.data;if(n)switch(n.type){case"builder.selectionChange":if(!(o=n.data))break;var r=o.selection,i=t.block&&t.block.id;i&&Array.isArray(r)&&r.indexOf(i)>-1&&setTimeout(function(){window.$block=t,window.$blocks||(window.$blocks=[]),window.$blocks.push(t)});break;case"builder.patchUpdates":var o;if(!(o=n.data)||!o.data)break;var s=o.data[t.block.id];if(!s)return;location.href.includes("builder.debug=true")&&t.eval("debugger");for(var a=__assign({},t.block),l=0,u=s;l<u.length;l++){var c=u[l];applyPatchWithMinimalMutationChain(a,c)}blocksMap[t.props.block.id]=a,t.setState({updates:t.state.updates+1})}},t}return __extends(t,e),Object.defineProperty(t.prototype,"store",{get:function(){return this.privateState},enumerable:!1,configurable:!0}),t.getDerivedStateFromError=function(e){return{hasError:!0}},t.prototype.componentDidCatch=function(e,t){console.error("Builder block error:",e,t)},t.prototype.stringToFunction=function(e,t){return void 0===t&&(t=!0),stringToFunction(e,t,this._errors,this._logs)},Object.defineProperty(t.prototype,"block",{get:function(){return blocksMap[this.props.block.id]||this.props.block},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"emotionCss",{get:function(){var e,t,n,r=this.block;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isServer){var i=r.animations&&r.animations[0];if(i&&"hover"!==i.trigger){var o=i&&i.steps&&i.steps[0],s=o&&o.styles;s&&(n=s)}}var a=sizeNames.slice().reverse(),l=this.block,u={};if(l.responsiveStyles)for(var c=0,d=a;c<d.length;c++){var _=d[c];"large"===_?this.props.emailMode||(u["&.builder-block"]=Object.assign({},l.responsiveStyles[_],n)):u["@media only screen and (max-width: ".concat(sizes[_].max,"px)")]={"&.builder-block":l.responsiveStyles[_]}}var p=r.animations&&r.animations.find(function(e){return"hover"===e.trigger});return p&&(u[":hover"]=(null===(t=null===(e=p.steps)||void 0===e?void 0:e[1])||void 0===t?void 0:t.styles)||{},u.transition="all ".concat(p.duration,"s ").concat(camelCaseToKebabCase(p.easing)),p.delay&&(u.transitionDelay=p.delay+"s")),u},enumerable:!1,configurable:!0}),t.prototype.eval=function(e){return this.stringToFunction(e)(this.privateState.state,void 0,this.block,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL,Device,this.privateState.update,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$,this.privateState.context)},t.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&removeEventListener("message",this.onWindowMessage)},t.prototype.componentDidMount=function(){var e,t=this,n=this.block,r=n&&n.animations;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&addEventListener("message",this.onWindowMessage),r){var i={animations:fastClone(r)};if(n.bindings)for(var o in n.bindings)if((null===(e=o.trim)||void 0===e?void 0:e.call(o))&&o.startsWith("animations.")){var s=this.stringToFunction(n.bindings[o]);void 0!==s&&set(i,o,s(this.privateState.state,null,n,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL,null,
vendor: 5,041 bytes, line 2
2null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$,this.privateState.context))}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.animator.bindAnimations(i.animations.filter(function(e){return"hover"!==e.trigger}).map(function(e){return __assign(__assign({},e),{elementId:t.block.id})}))}},t.prototype.getElement=function(e,n){var r,i,o,s,a,l=this;void 0===e&&(e=0),void 0===n&&(n=this.privateState.state);var u=this.props;u.child,u.fieldName;var c,d=this.block,_=(d.tagName||"div").toLowerCase();if("template"===_){var p=d.children?d.children.map(function(e){return blockToHtmlString(e)}).join(" "):"";return console.debug("template html",p),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("template",__assign({},d.properties,{dangerouslySetInnerHTML:{__html:p}}))}var f=d.component&&(d.component.name||d.component.component),h=null;d.component&&!d.component.class&&(d.component&&d.component.tag?c=d.component.tag:(h=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.components.find(function(e){return e.name===f})||null)&&h.class?c=h.class:h&&h.tag?c=h.tag:(null==f?void 0:f.startsWith("Builder:"))?console.warn("Missing @builder.io/widgets installation, please install and import @builder.io/widgets to use ".concat(f.split(":")[1]," in your content, more info here: https://github.com/BuilderIO/builder/tree/main/packages/widgets")):f&&console.warn("Missing registration for ".concat(f,", have you included the registration in your bundle?")));var m=__assign(__assign({},d.properties),{style:{}});if(m=__assign(__assign({},m.properties),m),d.component&&(m.component=fastClone(d.component)),d.bindings)for(var g in d.bindings)if(null===(i=g.trim)||void 0===i?void 0:i.call(g)){var b=this.stringToFunction(d.bindings[g]);set(m,g,b(n,null,d,api(),Device,null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$,this.privateState.context))}if(m.hide)return null;if(delete m.hide,("show"in m||d.bindings&&d.bindings.show)&&!m.show)return null;if(delete m.show,d.actions){var v=function(e){if(!(null===(o=e.trim)||void 0===o?void 0:o.call(e)))return"continue";var t=d.actions[e];m["on"+capitalize(e)]=function(e){var r=n;return"undefined"!=typeof Proxy&&(r=new Proxy(n,{set:function(e,t,n){return e[t]=n,l.privateState.rootState[t]=n,!0}})),l.stringToFunction(t,!1)(r,e,l.block,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL,Device,l.privateState.update,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$,l.privateState.context)}};for(var g in d.actions)v(g)}var E=(m.component||m.options)&&__assign(__assign({},m.options),m.component.options||m.component.data),y=voidElements.has(_),M=h&&(h.fragment||h.noWrap),C=(null===(s=m.attr)||void 0===s?void 0:s.style)||("string"==typeof m.style?m.style:"")||"";if("string"==typeof C){"object"!=typeof m.style&&(m.style={});for(var O=0,P=C.split(";");O<P.length;O++){var k=P[O].split(":");if(!k.length)return;g=k[0],b=k[1],k.length>2&&(b=k.slice(1).join(":")),m.style[kebabCaseToCamelCase(g)]=b}}var D=__assign(__assign(__assign({},omit$1(m,["class","component","attr"])),((r={})["string"!=typeof _||_.includes("-")?"class":"className"]="builder-block ".concat(this.id).concat(d.class?" ".concat(d.class):"").concat(!d.component||["Image","Video","Banner"].indexOf(f)>-1?"":" builder-has-component")+(m.class?" "+m.class:"")+(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&(null===(a=this.privateState.state._spacer)||void 0===a?void 0:a.parent)===d.id?" builder-spacer-parent":""),r.key=this.id+e,r["builder-id"]=this.id,r)),0!==e&&{"builder-index":e});_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&(D["builder-inline-styles"]=m.attr&&m.attr.style?Object.keys(m.style).reduce(function(e,t){return(e?"".concat(e,";"):"")+"".concat(cssCase(t),":").concat(m.style[t],";")},""):""),(D.properties&&D.properties.href||D.href)&&"div"===_&&(_="a"),"a"===_&&(_=Link);var w=d.children||D.children||[];return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Z2,null,function(e){var n=e.css;if(e.cx,!l.props.emailMode){var r=" "+n(l.emotionCss);D.class&&(D.class+=r),D.className&&(D.className+=r)}return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderAsyncRequestsContext.Consumer,null,function(e){return l._asyncRequests=e&&e.requests,l._errors=e&&e.errors,l._logs=e&&e.logs,y?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(_,__assign({},D)):c&&(M||l.props.emailMode)?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(c,__assign({},E,{attributes:D,builderBlock:d,builderState:l.privateState})):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(_,__assign({},D),c&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(c,__assign({builderState:l.privateState,builderBlock:d},E)),d.text||m.text?m.text:!c&&w&&Array.isArray(w)&&w.length?w.map(function(e,n){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(t,{key:(l.id||"")+n,block:e,index:n,size:l.props.size,fieldName:l.props.fieldName,child:l.props.child,emailMode:l.props.emailMode})}):null)})}
2))},Object.defineProperty(t.prototype,"id",{get:function(){var e=this.block;return e.id.startsWith("builder")?e.id:"builder-"+e.id},enumerable:!1,configurable:!0}),t.prototype.contents=function(e){var t=this,n=this.block;if(this.privateState=e,n.repeat&&n.repeat.collection){var r=n.repeat.collection,i=last((r||"").trim().split("(")[0].trim().split(".")),o=n.repeat.itemName||(i?i+"Item":"item"),s=this.stringToFunction(r)(e.state,null,n,api(),Device,null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$,this.privateState.context);return Array.isArray(s)?s.map(function(n,r){var i,s=__assign(__assign({},e.state),((i={$index:r,$item:n})[o]=n,i["$".concat(o,"Index")]=r,i));return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderStoreContext.Provider,{key:r,value:__assign(__assign({},e),{state:s})},t.getElement(r,s))}):null}return this.getElement()},t.prototype.render=function(){var e=this;return this.state.hasError?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("span",{css:{display:"inline-block",padding:5,color:"#999",fontSize:11,fontStyle:"italic"}},"Builder block error :( Check console for details"):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderStoreContext.Consumer,null,function(t){return e.contents(t)})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),BuilderBlocks=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onClickEmptyBlocks=function(){var e;_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isIframe&&t.noBlocks&&(null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:t.parentId,dataPath:t.path}},"*"))},t.onHoverEmptyBlocks=function(){var e;_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&t.noBlocks&&(null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:t.parentId,dataPath:t.path}},"*"))},t}return __extends(t,e),Object.defineProperty(t.prototype,"isRoot",{get:function(){return!this.props.child},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"noBlocks",{get:function(){var e=this.props.blocks;return!(e&&e.length)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){var e=this.props.dataPath||"";return e.trim()&&(e.startsWith("this.")?e=e.replace("this.",""):e.startsWith("component.options.")||(e="component.options."+e)),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentId",{get:function(){return this.props.parentElementId?this.props.parentElementId:this.props.parent&&this.props.parent.id},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props.blocks,n=this.props.emailMode?"span":"div";return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(n,__assign({className:"builder-blocks"+(this.noBlocks?" no-blocks":"")+(this.props.child?" builder-blocks-child":"")+(this.props.className?" "+this.props.className:""),"builder-type":"blocks","builder-path":_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isIframe?this.path:void 0,"builder-parent-id":this.parentId,css:__assign(__assign({},!this.props.emailMode&&{display:"flex",flexDirection:"column",alignItems:"stretch"}),this.props.style),onClick:function(){e.noBlocks&&e.onClickEmptyBlocks()}},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&{onMouseEnter:function(){return e.onHoverEmptyBlocks()}}),t&&Array.isArray(t)&&t.map(function(t,n){return t&&"@builder.io/sdk:Element"===t["@type"]?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlock$1,{key:t.id,block:t,index:n,fieldName:e.props.fieldName,child:e.props.child,emailMode:e.props.emailMode}):t})||t)},t.renderInto=function(e,n,r){if(void 0===n&&(n={}),e){var i=null;return"string"==typeof e?i=document.querySelector(e):e instanceof Element&&(i=e),react_dom__WEBPACK_IMPORTED_MODULE_3__.render((0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderStoreContext.Provider,{value:r},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(t,__assign({},n))),i)}},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),NoWrap=function(e){return e.children};function getData(e){if(void 0!==(null==e?void 0:e.data)){var t=e.data,n=t.blocks,r=t.blocksString,i=Array.isArray(n)||"string"==typeof r,o=__assign(__assign({},e.data),i&&{blocks:n||JSON.parse(r)});return delete o.blocksString,o}}
2var variantsScript=function(e,t){return"\n(function() {\n  if (window.builderNoTrack) {\n    return;\n  }\n\n  var variants = ".concat(e,';\n  function removeVariants() {\n    variants.forEach(function (template) {\n      document.querySelector(\'template[data-template-variant-id="\' + template.id + \'"]\').remove();\n    });\n  }\n\n  if (typeof document.createElement("template").content === \'undefined\') {\n    removeVariants();\n    return ;\n  }\n\n  function setCookie(name,value,days) {\n    var expires = "";\n    if (days) {\n        var date = new Date();\n        date.setTime(date.getTime() + (days*24*60*60*1000));\n        expires = "; expires=" + date.toUTCString();\n    }\n    document.cookie = name + "=" + (value || "")  + expires + "; path=/" + "; Secure; SameSite=None";\n  }\n\n  function getCookie(name) {\n    var nameEQ = name + "=";\n    var ca = document.cookie.split(\';\');\n    for(var i=0;i < ca.length;i++) {\n        var c = ca[i];\n        while (c.charAt(0)==\' \') c = c.substring(1,c.length);\n        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);\n    }\n    return null;\n  }\n  var cookieName = \'builder.tests.').concat(t,"';\n  var variantInCookie = getCookie(cookieName);\n  var availableIDs = variants.map(function(vr) { return vr.id }).concat('").concat(t,"');\n  var variantId;\n  if (availableIDs.indexOf(variantInCookie) > -1) {\n    variantId = variantInCookie;\n  }\n  if (!variantId) {\n    var n = 0;\n    var random = Math.random();\n    for (var i = 0; i < variants.length; i++) {\n      var variant = variants[i];\n      var testRatio = variant.testRatio;\n      n += testRatio;\n      if (random < n) {\n        setCookie(cookieName, variant.id);\n        variantId = variant.id;\n        break;\n      }\n    }\n    if (!variantId) {\n      variantId = \"").concat(t,'";\n      setCookie(cookieName, "').concat(t,'");\n    }\n  }\n  if (variantId && variantId !== "').concat(t,"\") {\n    var winningTemplate = document.querySelector('template[data-template-variant-id=\"' + variantId + '\"]');\n    if (winningTemplate) {\n      var parentNode = winningTemplate.parentNode;\n      var newParent = parentNode.cloneNode(false);\n      newParent.appendChild(winningTemplate.content.firstChild);\n      parentNode.parentNode.replaceChild(newParent, parentNode);\n    }\n  } else if (variants.length > 0) {\n    removeVariants();\n  }\n})()").replace(/\s+/g," ")},VariantsProvider=function(e){var t=e.initialContent,n=e.children;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.canTrack)return n([t]);if(!Boolean(Object.keys((null==t?void 0:t.variations)||{}).length))return n([t]);var r=Object.keys(t.variations).map(function(e){return __assign(__assign({id:e},t.variations[e]),{data:getData(t.variations[e])})}),i=__spreadArray(__spreadArray([],r,!0),[t]);if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isServer){var o=JSON.stringify(Object.keys(t.variations||{}).map(function(e){return{id:e,testRatio:t.variations[e].testRatio}}));return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,n(i,function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("script",{dangerouslySetInnerHTML:{__html:variantsScript(o,t.id)}})}))}var s="builder.tests.".concat(t.id),a=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.getCookie(s);if(!a&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser)for(var l=0,u=Math.random(),c=0;c<r.length;c++){var d=r[c];if(u<(l+=d.testRatio)){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.setCookie(s,d.id),a=d.id;break}}return a||(a=t.id,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.setCookie(s,a)),n([i.find(function(e){return e.id===a})])},BuilderContent=function(_super){function BuilderContent(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.ref=null,_this.state={loading:!_this.props.content,data:getContentWithInfo(_this.props.content),updates:1},_this.onWindowMessage=function(event){var _a,_b,_c,message=event.data;if(message)switch(message.type){case"builder.patchUpdates":if(null===(_a=_this.props.options)||void 0===_a?void 0:_a.noEditorUpdates)return;var data=message.data;if(!data||!data.data)break;var patches=data.data[null===(_b=_this.state.data)||void 0===_b?void 0:_b.id];if(!patches||!patches.length)return;location.href.includes("builder.debug=true")&&eval("debugger");for(var _i=0,patches_1=patches;_i<patches_1.length;_i++){var patch=patches_1[_i];applyPatchWithMinimalMutationChain(_this.state.data,patch)}_this.setState({updates:_this.state.updates+1,data:_this.state.data?__assign({},_this.state.data):_this.state.data}),_this.props.contentLoaded&&_this.props.contentLoaded(null===(_c=_this.state.data)||void 0===_c?void 0:_c.data,_this.state.data)}},_this.subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.yU,_this.firstLoad=!0,_this.clicked=!1,_this.trackedImpression=!1,_this.intersectionObserver=null,_this.onClick=function(e){var t=e.nativeEvent,n=_this.data;n&&(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.autoTrack&&_this.builder.trackInteraction(n.id,_this.renderedVariantId,_this.clicked,t,{content:n}),_this.clicked||(_this.clicked=!0))},_this}return __extends(BuilderContent,_super),Object.defineProperty(BuilderContent.prototype,"builder",{get:function(){return this.props.builder||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL}
vendor: 4,660 bytes, line 2
2,enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"name",{get:function(){var e=this.props;return"model"in e?e.model:e.modelName},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"renderedVariantId",{get:function(){var e,t,n=this.props.isStatic?this.builder.getCookie("builder.tests.".concat(null===(e=this.data)||void 0===e?void 0:e.id)):null===(t=this.data)||void 0===t?void 0:t.variationId;if(null!==n)return n},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"options",{get:function(){var e,t,n=__assign({},this.props.options||{});return!n.key&&(null===(e=this.props.content)||void 0===e?void 0:e.id)&&(n.key=this.props.content.id),this.props.content&&!(null===(t=n.initialContent)||void 0===t?void 0:t.length)&&(n.initialContent=[this.props.content]),n},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"data",{get:function(){var e=(this.props.inline||!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser||this.firstLoad)&&this.options.initialContent&&this.options.initialContent[0]||this.state.data;return getContentWithInfo(e)},enumerable:!1,configurable:!0}),BuilderContent.prototype.componentDidMount=function(){var e,t;if(!this.props.inline||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing)this.subscribeToContent();else if(this.props.inline&&(null===(t=null===(e=this.options)||void 0===e?void 0:e.initialContent)||void 0===t?void 0:t.length)){var n=this.options.initialContent[0];(null==n?void 0:n.id)&&this.builder.trackImpression(n.id,this.renderedVariantId,void 0,{content:n})}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&addEventListener("message",this.onWindowMessage)},BuilderContent.prototype.subscribeToContent=function(){var e=this;"_inline"!==this.name&&this.subscriptions.add(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.queueGetContent(this.name,this.options).subscribe(function(t){var n=t&&t[0];if(e.setState({data:n,loading:!1}),n&&e.firstLoad&&(e.firstLoad=!1,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.autoTrack&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing)){var r=!1;if("function"==typeof IntersectionObserver&&e.ref)try{(e.intersectionObserver=new IntersectionObserver(function(t,r){t.forEach(function(t){t.intersectionRatio>0&&!e.trackedImpression&&(e.builder.trackImpression(n.id,e.renderedVariantId,void 0,{content:e.data}),e.data,e.trackedImpression=!0,e.ref&&r.unobserve(e.ref))})})).observe(e.ref),r=!0}catch(e){console.warn("Could not bind intersection observer")}r||(e.trackedImpression=!0,e.builder.trackImpression(n.id,e.renderedVariantId,void 0,{content:n}))}e.props.contentLoaded&&e.props.contentLoaded(n&&n.data,n)},function(t){e.props.contentError&&(e.props.contentError(t),e.setState({loading:!1}))}))},BuilderContent.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&removeEventListener("message",this.onWindowMessage),this.subscriptions.unsubscribe(),this.intersectionObserver&&this.ref&&this.intersectionObserver.unobserve(this.ref)},BuilderContent.prototype.render=function(){var e=this;if(this.props.dataOnly)return null;var t=this.state.loading,n=this.data,r=this.props.dataOnly?NoWrap:"div";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(VariantsProvider,{initialContent:n},function(i,o){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,i.map(function(s,a){var l=a===i.length-1?react__WEBPACK_IMPORTED_MODULE_2__.Fragment:"template";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,{key:String((null==s?void 0:s.id)+a)},"template"!==l&&(null==o?void 0:o()),react__WEBPACK_IMPORTED_MODULE_2__.createElement(l,__assign({key:String((null==s?void 0:s.id)+a)},"template"===l&&{"data-template-variant-id":null==s?void 0:s.id}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(r,__assign({},0===a&&!e.props.dataOnly&&{ref:function(t){return e.ref=t}},{className:"builder-content",onClick:e.onClick,"builder-content-id":null==s?void 0:s.id,"builder-model":e.name}),e.props.children(null==s?void 0:s.data,!e.props.inline&&t,n))))}))})},BuilderContent}(react__WEBPACK_IMPORTED_MODULE_2__.Component),getContentWithInfo=function(e){var t;if(e){var n=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.getCookie("builder.tests.".concat(e.id)),r=n===e.id?e:null===(t=e.variations)||void 0===t?void 0:t[n],i=(null==r?void 0:r.name)||((null==r?void 0:r.id)===e.id?"Default variation":"");return __assign(__assign({},e),{variationId:n,testVariationId:n,testVariationName:i})}return null};
2function unwrapExports(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var onChange_1=createCommonjsModule(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Symbol("target"),r=Symbol("unsubscribe"),i=function(e,t){return t&&t.toString&&(e&&(e+="."),e+=t.toString()),e},o=function(e){return Array.isArray(e)?e.slice():Object.assign({},e)},s=function(e,t,s){if("undefined"==typeof Proxy)return e;void 0===s&&(s={});var a,l,u=Symbol("ProxyTarget"),c=!1,d=!1,_=!1,p=s.equals||Object.is,f=new WeakMap,h=new WeakMap,m=new WeakMap,g=function(e,n,r,s){if(!_)if(c){if(c&&l&&void 0!==r&&void 0!==s&&"length"!==n){var u=l;e!==a&&function(e,t){for(var n;e;)-1===(n=e.indexOf("."))&&(n=e.length),t(e.slice(0,n)),e=e.slice(n+1)}(e=e.replace(a,"").slice(1),function(e){u[e]=o(u[e]),u=u[e]}),u[n]=r}d=!0}else t(i(e,n),s,r)},b=function(e,t){var n=f?f.get(e):void 0;n&&n.delete(t)},v=function(e,t){if(_)return e;h.set(e,t);var n=m.get(e);return void 0===n&&(n=new Proxy(e,y),m.set(e,n)),n},E=function(e){return _||!0===s.ignoreSymbols&&"symbol"==typeof e},y={get:function(e,t,o){if(t===u||t===n)return e;if(t===r&&""===h.get(e))return function(e){return _=!0,f=null,h=null,m=null,e}(e);var a=Reflect.get(e,t,o);if(function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(a)||function(e){return e instanceof RegExp||e instanceof Number}(a)||"constructor"===t||!0===s.isShallow)return a;var l=function(e,t){var n=f?f.get(e):void 0;if(n)return n;n=new Map,f.set(e,n);var r=n.get(t);return r||(r=Reflect.getOwnPropertyDescriptor(e,t),n.set(t,r)),r}(e,t);if(l&&!l.configurable){if(l.set&&!l.get)return;if(!1===l.writable)return a}return v(a,i(h.get(e),t))},set:function(e,t,n,r){n&&void 0!==n[u]&&(n=n[u]);var i=E(t),o=i?null:Reflect.get(e,t,r),s=Reflect.set(e[u]||e,t,n);return i||p(o,n)||g(h.get(e),t,o,n),s},defineProperty:function(e,t,n){var r=Reflect.defineProperty(e,t,n);return E(t)||(b(e,t),g(h.get(e),t,void 0,n.value)),r},deleteProperty:function(e,t){if(!Reflect.has(e,t))return!0;var n=E(t),r=n?null:Reflect.get(e,t),i=Reflect.deleteProperty(e,t);return n||(b(e,t),g(h.get(e),t,r)),i},apply:function(e,t,n){var r=t instanceof Date;if(r&&(t=t[u]),!c){c=!0,r&&(l=t.valueOf()),(Array.isArray(t)||"[object Object]"===toString.call(t))&&(l=o(t[u])),a=(a=h.get(e)).slice(0,Math.max(a.lastIndexOf("."),0));var i=Reflect.apply(e,t,n);return c=!1,(d||r&&!p(l,t.valueOf()))&&(g(a,"",l,t[u]||t),l=null,d=!1),i}return Reflect.apply(e,t,n)}},M=v(e,"");return t=t.bind(M),M};s.target=function(e){return e[n]||e},s.unsubscribe=function(e){return e[r]||e},e.exports=s,t.default=s}),onChange=unwrapExports(onChange_1),nextTick=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.nextTick;function debounceNextTick(e,t,n){return void 0===t&&"function"==typeof e?debounceNextTickImpl(e):{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,t,{configurable:!0,enumerable:n.enumerable,value:debounceNextTickImpl(n.value)}),this[t]}}}function debounceNextTickImpl(e){var t=null,n=null;return function(){var e=t;t=[].slice.call(arguments),n=this,null===e&&nextTick(r)};function r(){e.apply(n,t),t=null,n=null}}function throttle(e,t,n){var r,i,o;void 0===n&&(n={});var s=null,a=0,l=function(){a=!1===n.leading?0:Date.now(),s=null,o=e.apply(r,i),s||(r=i=null)};return function(){var u=Date.now();a||!1!==n.leading||(a=u);var c=t-(u-a);return r=this,i=arguments,c<=0||c>t?(s&&(clearTimeout(s),s=null),a=u,o=e.apply(r,i),s||(r=i=null)):s||!1===n.trailing||(s=setTimeout(l,c)),o}}var BuilderMetaContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({emailMode:!1,ampMode:!1,isServer:!1});function pick(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r={};return t.forEach(function(t){r[t]=e[t]}),r}function omit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=__assign({},e);return t.forEach(function(e){delete r[e]}),r}var wrapComponent=function(e){return function(t){var n,r=t.builderTag||"div",i=["children"].concat((null===(n=e.inputs)||void 0===n?void 0:n.map(function(e){return e.name}))||[]),o=omit.apply(void 0,__spreadArray(__spreadArray([t],i,!1),["attributes"])),s=t;return e.noWrap?react__WEBPACK_IMPORTED_MODULE_2__.createElement(e.class,__assign({attributes:o},s)):react__WEBPACK_IMPORTED_MODULE_2__.createElement(r,__assign({},o),react__WEBPACK_IMPORTED_MODULE_2__.createElement(e.class,__assign({},s)))}},size$1=function(e){return Object.keys(e).length};function debounce(e,t,n){var r;return void 0===n&&(n=!1),function(){var i=this,o=arguments;clearTimeout(r),r=setTimeout(function(){r=null,n||e.apply(i,o)},t),n&&!r&&e.apply(i,o)}}var fontsLoaded=new Set,fetch$1=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser?window.fetch:__webpack_require__(43092),sizeMap={desktop:"large",tablet:"medium",mobile:"small"},fetchCache={},tryEval=function(e,t,n){void 0===t&&(t={});var r=e;if("string"==typeof r&&r.trim()){var i=!(r.includes(";")||r.includes(" return ")),o=function(){};try{_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&(o=new Function("state","var rootState = state;\n        if (typeof Proxy !== 'undefined') {\n          rootState = new Proxy(rootState, {\n            set: function () {\n              return false;\n            },\n            get: function (target, key) {\n              if (key === 'state') {\n                return state;\n              }\n              return target[key]\n            }\n          });\n        }\n        with (rootState) {\n          ".concat(i?"return (".concat(e,");"):e,";\n        }")))}catch(e){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&console.warn("Could not compile javascript",e)}try{return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser?o(t||{}):new(0,safeDynamicRequire("vm2").VM)({sandbox:__assign(__assign({},t),{state:t})}).run(r.replace(/(^|;)return /,"$1"))}catch(t){n&&n.push(t),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser?console.warn("Builder custom code error:",t.message,"in",e,t.stack):{}.DEBUG&&console.debug("Builder custom code error:",t.message,"in",e,t.stack)}}};function searchToObject$1(e){var t=(e.search||"").substring(1).split("&"),n={};for(var r in t)if(t[r]&&"string"==typeof t[r]){var i=t[r].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}var BuilderComponent=function(e){function t(t){var n=e.call(this,t)||this;if(n.subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.yU,n.onStateChange=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.tQ(null),n.asServer=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isServer,n.contentRef=null,n.styleRef=null,n.rootState=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isServer?{}:onChange({},function(){return n.updateState()}),n.lastJsCode="",n.lastHttpRequests={},n.httpSubscriptionPerKey={},n.firstLoad=!0,n.ref=null,n.messageListener=function(e){var t=e.data;switch(t.type){case"builder.updateSpacer":var r=t.data;n.rootState._spacer,n.updateState(function(e){e._spacer=r});break;case"builder.resetState":var i=t.data,o=i.state;if(i.model===n.name){for(var s in n.rootState)"function"!=typeof n.rootState[s]&&delete n.rootState[s];Object.assign(n.rootState,o),n.setState(__assign(__assign({},n.state),{state:n.rootState,updates:(n.state&&n.state.updates||0)+1}))}break;case"builder.resetSymbolState":var a=t.data.state,l=(o=a.state,a.model,a.id
2);if(n.props.builderBlock&&n.props.builderBlock===l){for(var s in n.rootState)delete n.rootState[s];Object.assign(n.rootState,o),n.setState(__assign(__assign({},n.state),{state:n.rootState,updates:(n.state&&n.state.updates||0)+1}))}}},n.resizeFn=function(){var e=n.deviceSizeState;e!==n.state.state.deviceSize&&n.setState(__assign(__assign({},n.state),{updates:(n.state&&n.state.updates||0)+1,state:Object.assign(n.rootState,__assign(__assign({},n.state.state),{deviceSize:e}))}))},n.resizeListener=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing?throttle(n.resizeFn,200):debounce(n.resizeFn,400),n.mounted=!1,n.updateState=function(e){var t=n.rootState;e&&e(t),n.mounted?n.setState({update:n.updateState,state:t,updates:(n.state&&n.state.updates||0)+1}):n.state=__assign(__assign({},n.state),{update:n.updateState,state:t,updates:(n.state&&n.state.updates||0)+1}),n.notifyStateChange()},n.onContentLoaded=function(e,t){if("page"===n.name&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&e){var r=e.title,i=e.pageTitle,o=e.description,s=e.pageDescription;if((r||i)&&(document.title=r||i),o||s){var a=document.querySelector('meta[name="description"]');a||((a=document.createElement("meta")).setAttribute("name","description"),document.head.appendChild(a)),a.setAttribute("content",o||s)}}if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&n.notifyStateChange(),n.props.contentLoaded&&n.props.contentLoaded(e,t),e&&e.inputs&&Array.isArray(e.inputs)&&e.inputs.length&&(e.state||(e.state={}),e.inputs.forEach(function(t){t&&t.name&&void 0!==t.defaultValue&&void 0===e.state[t.name]&&(e.state[t.name]=t.defaultValue)})),e&&e.state){var l=__assign(__assign({},n.state),{updates:(n.state&&n.state.updates||0)+1,state:Object.assign(n.rootState,__assign(__assign(__assign(__assign({},n.state.state),{location:n.locationState,deviceSize:n.deviceSizeState,device:n.device}),e.state),n.props.data))});n.mounted?n.setState(l):n.state=l}if(e&&e.jsCode&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&!n.options.codegen){var u=!1;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&(n.lastJsCode===e.jsCode?u=!0:n.lastJsCode=e.jsCode),!u){var c=n.state.state;try{new Function("data","ref","state","update","element","Builder","builder","context",e.jsCode)(e,n,c,n.state.update,n.ref,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL,n.state.context)}catch(t){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser?console.warn("Builder custom code error:",t.message,"in",e.jsCode,t.stack):{}.DEBUG&&console.debug("Builder custom code error:",t.message,"in",e.jsCode,t.stack)}}}if(e&&e.httpRequests&&!n.props.noAsync&&!(u=!1)){var d=function(t){var r=e.httpRequests[t];if(r&&(!n.data[t]||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing))if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser){var i=n.evalExpression(r);if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&n.lastHttpRequests[t]===i)return"continue";n.lastHttpRequests[t]=i;var o=r.match(/builder\.io\/api\/v2\/([^\/\?]+)/i);o&&o[1],n.handleRequest(t,i);var s=n.httpSubscriptionPerKey[t];s&&s.unsubscribe();var a=n.httpSubscriptionPerKey[t]=n.onStateChange.subscribe(function(){var e=n.evalExpression(r);e!==i&&(n.handleRequest(t,e),n.lastHttpRequests[t]=e)});n.subscriptions.add(a)}else n.handleRequest(t,n.evalExpression(r))};for(var _ in e.httpRequests)d(_)}},n.state={context:__assign(__assign({},t.context),{apiKey:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.apiKey||n.props.apiKey}),state:Object.assign(n.rootState,__assign(__assign(__assign(__assign({},n.inlinedContent&&n.inlinedContent.data&&n.inlinedContent.data.state),{isBrowser:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser,isServer:!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser,_hydrate:t.hydrate,location:n.locationState,deviceSize:n.deviceSizeState,device:n.device}),n.getHtmlData()),t.data)),updates:0,key:0,update:n.updateState},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser){var r=n.props.apiKey;if(r&&r!==n.builder.apiKey&&(n.builder.apiKey=r),n.inlinedContent){var i=n.inlinedContent.content||n.inlinedContent;n.onContentLoaded(null==i?void 0:i.data,getContentWithInfo(i))}}return n}return __extends(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return __assign(__assign({},t.defaults),this.props)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.model||this.props.modelName||this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.ref},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inlinedContent",{get:function(){if(!this.isPreviewing||this.props.inlineContent)return this.props.content},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"builder",{get:function(){return this.props.builder||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL},enumerable:!1,configurable:!0}),t.prototype.getHtmlData=function(){var e=this.inlinedContent&&this.inlinedContent.id||this.props.entry,t=e&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&document.querySelector('script[data-builder-json="'.concat(e,'"],script[data-builder-state="').concat(e,'"]'));if(t)try{return JSON.parse(t.innerText)}catch(e){console.warn("Could not parse Builder.io HTML data transfer",e,t.innerText)}return{}},Object.defineProperty(t.prototype,"device",{get:function(){return this.builder.getUserAttributes().device||"desktop"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locationState",{get:function(){return __assign(__assign({},pick(this.location,"pathname","hostname","search","host")),{path:this.location.pathname&&this.location.pathname.split("/").slice(1)||"",query:searchToObject$1(this.location)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceSizeState",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser?sizes.getSizeForWidth(window.innerWidth):sizeMap[this.device]||"large"},enumerable:!1,configurable:!0}),t.renderInto=function(e,n,r,i){if(void 0===n&&(n={}),void 0===r&&(r=!0),void 0===i&&(i=!1),console.debug("BuilderPage.renderInto",e,n,r,this),e){var o=null;if("string"==typeof e?o=document.querySelector(e):e instanceof Element&&(o=e),o){var s=o.classList.contains("builder-hydrated");if(!s||i){o.classList.add("builder-hydrated");var a=r&&o.innerHTML.includes("builder-block");if(!o.classList.contains("builder-component")){var l=o.querySelector(".builder-api-styles")||(o.previousElementSibling&&o.previousElementSibling.matches(".builder-api-styles")?o.previousElementSibling:null),u="";l&&(l.innerHTML.replace(/\/\*start:([^\*]+?)\*\/([\s\S]*?)\/\*end:([^\*]+?)\*\//g,function(e,t,n){var r=null;try{r=document.querySelector('[data-emotion-css="'.concat(t,'"]'))}catch(e){console.warn(e)}return r?r.innerHTML=n:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing||(u+=e),e}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.nextTick(function(){l.innerHTML=u}));var c=o.querySelector(".builder-component");c?o=c:a=!1}location.search.includes("builder.debug=true")&&console.debug("hydrate",a,o);var d=o;if(!s){var _=document.createElement("div");o.insertAdjacentElement("beforebegin",_),_.appendChild(o),d=_}if((_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&location.search.includes("builder.preview="))&&(a=!1),a&&o){var p=react_dom__WEBPACK_IMPORTED_MODULE_3__.render(react__WEBPACK_IMPORTED_MODULE_2__.createElement(t,__assign({},n)),d,d.builderRootRef);return d.builderRootRef=p,p}var f=react_dom__WEBPACK_IMPORTED_MODULE_3__.render(react__WEBPACK_IMPORTED_MODULE_2__.createElement(t,__assign({},n)),d,d.builderRootRef);return d.builderRootRef=f,f}console.debug("Tried to hydrate multiple times")}}},t.prototype.componentDidMount=function(){var e,t=this;this.mounted=!0,this.asServer&&(this.asServer=!1,this.updateState(function(e){e.isBrowser=!0,e.isServer=!1})),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isIframe&&(null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.sdkInjected",data:{modelName:this.name}},"*")),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&(window.addEventListener("resize",this.resizeListener),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&window.addEventListener("message",this.messageListener),(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isPreviewing)&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.nextTick(function(){t.firstLoad=!1,t.reload()}),setTimeout(function(){window.dispatchEvent(new CustomEvent("builder:component:load",{detail:{ref:t}}))}))},Object.defineProperty(t.prototype,"isPreviewing",{get:function(){return(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isServer||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isPreviewing&&!this.firstLoad)&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.previewingModel===this.name}
vendor: 4,511 bytes, line 2
2,enumerable:!1,configurable:!0}),t.prototype.notifyStateChange=function(){if(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isServer&&this&&this.state){var e=this.state.state;this.props.onStateChange&&this.props.onStateChange(e),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:e,ref:this}})),this.onStateChange.next(e)}},t.prototype.processStateFromApi=function(e){return e},Object.defineProperty(t.prototype,"location",{get:function(){return this.props.location||(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser?location:{})},enumerable:!1,configurable:!0}),t.prototype.getCssFromFont=function(e,t){var n=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),r=n.split(",")[0],i=e.fileUrl?e.fileUrl:e.files&&e.files.regular,o="";if(i&&n&&r&&(o+='\n@font-face {\n  font-family: "'.concat(n,'";\n  src: local("').concat(r,"\"), url('").concat(i,"') format('woff2');\n  font-display: fallback;\n  font-weight: 400;\n}\n        ").trim()),e.files)for(var s in e.files)if(String(Number(s))===s){var a=e.files[s];a&&a!==i&&(o+='\n@font-face {\n  font-family: "'.concat(n,"\";\n  src: url('").concat(a,"') format('woff2');\n  font-display: fallback;\n  font-weight: ").concat(s,";\n}\n          ").trim())}return o},t.prototype.componentWillUnmount=function(){this.unsubscribe(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("message",this.messageListener))},t.prototype.getFontCss=function(e){var t=this;return this.builder.allowCustomFonts&&(null==e?void 0:e.customFonts)&&e.customFonts.length&&e.customFonts.map(function(n){return t.getCssFromFont(n,e)}).join(" ")||""},t.prototype.ensureFontsLoaded=function(e){if(this.builder.allowCustomFonts&&(null==e?void 0:e.customFonts)&&Array.isArray(e.customFonts))for(var t=0,n=e.customFonts;t<n.length;t++){var r=n[t],i=r.fileUrl?r.fileUrl:r.files&&r.files.regular;if(!fontsLoaded.has(i)){var o=this.getCssFromFont(r,e);if(fontsLoaded.add(i),!o)continue;var s=document.createElement("style");s.className="builder-custom-font",s.setAttribute("data-builder-custom-font",i),s.innerHTML=o,document.head.appendChild(s)}}},t.prototype.getCss=function(e){var t,n=null===(t=this.useContent)||void 0===t?void 0:t.id,r=(null==e?void 0:e.cssCode)||"";return n&&(r=r.replace(/&/g,".builder-component-".concat(n))),r+this.getFontCss(e)},Object.defineProperty(t.prototype,"data",{get:function(){var e,t=__assign(__assign(__assign({},this.inlinedContent&&(null===(e=this.inlinedContent.data)||void 0===e?void 0:e.state)),this.props.data),this.state.state);return Object.assign(this.rootState,t),t},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t=this;this.props.data&&e.data!==this.props.data&&this.state.update(function(e){Object.assign(e,t.props.data)}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&this.inlinedContent&&e.content!==this.inlinedContent&&this.onContentLoaded(this.inlinedContent.data,this.inlinedContent)},t.prototype.checkStyles=function(e){if(this.styleRef){var t=this.getCss(e);this.styleRef.innerHTML!==t&&(this.styleRef.innerHTML=t)}},t.prototype.reload=function(){this.setState({key:this.state.key+1})},Object.defineProperty(t.prototype,"content",{get:function(){var e=this.inlinedContent;return e&&e.content&&(e=__assign(__assign({},e),{data:e.content})),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useContent",{get:function(){return this.content||this.state.context.builderContent},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this,n=this.content,r=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&this.props.data&&size$1(this.props.data)&&hash_sum__WEBPACK_IMPORTED_MODULE_4___default()(this.props.data),i=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing?this.name:this.props.entry;i&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&r&&r.length<300&&(i+=":"+r);var o=this.props.dataOnly?react__WEBPACK_IMPORTED_MODULE_2__.Fragment:"div",s=null===(e=this.useContent)||void 0===e?void 0:e.id;return react__WEBPACK_IMPORTED_MODULE_2__.createElement(o,{onClick:function(e){!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing||t.props.isChild||t.props.stopClickPropagationWhenEditing||e.stopPropagation()},className:"builder-component ".concat(s?"builder-component-".concat(s):""),"data-name":this.name,"data-source":"Ren
2dered by Builder.io",key:this.state.key,ref:function(e){return t.ref=e}},react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderMetaContext.Consumer,null,function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderMetaContext.Provider,{value:"boolean"==typeof t.props.ampMode?__assign(__assign({},e),{ampMode:t.props.ampMode}):e},react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderAsyncRequestsContext.Consumer,null,function(e){var r;return t._asyncRequests=e&&e.requests,t._errors=e&&e.errors,t._logs=e&&e.logs,react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderContent,{isStatic:t.props.isStatic||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isStatic,key:(null===(r=t.inlinedContent)||void 0===r?void 0:r.id)||("content"in t.props&&!t.isPreviewing?"null-content-prop":"no-content-prop"),builder:t.builder,ref:function(e){return t.contentRef=e},contentLoaded:function(e,n){return t.onContentLoaded(e,n)},options:__assign(__assign(__assign(__assign(__assign({key:i,entry:t.props.entry},n&&{initialContent:[n]}),!n&&"content"in t.props&&!t.isPreviewing&&{initialContent:[]}),t.props.url&&{url:t.props.url}),t.props.options),t.options.codegen&&{format:"react"}),inline:t.props.inlineContent||!t.isPreviewing&&"content"in t.props,contentError:t.props.contentError,modelName:t.name||"page"},function(e,n,r){var i;if(t.props.dataOnly)return null;r&&r.id&&(t.state.context.builderContent=r),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.nextTick(function(){t.checkStyles(e)});var o=t.options.codegen;if(o&&!t.Component&&(null==e?void 0:e.blocksJs)){var s=Array.from(new Set(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.components.map(function(e){return e.name}))),a=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.components.slice().reverse(),l=s.map(function(e){return a.find(function(t){return t.class&&t.name===e})}),u=s.map(function(e){return(e||"").replace(/[^\w]+/gi,"")}),c=l.map(function(e){return wrapComponent(e)});t.Component=(new(Function.bind.apply(Function,__spreadArray(__spreadArray([void 0,"jsx","_css","Builder","builder","React","useBuilderState"],u,!1),[e.blocksJs])))).apply(void 0,__spreadArray([_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.AH,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL,react__WEBPACK_IMPORTED_MODULE_2__,function(e){var t=react__WEBPACK_IMPORTED_MODULE_2__.useState(0)[1];return react__WEBPACK_IMPORTED_MODULE_2__.useState(function(){return onChange(e,function(){t(function(e){return e+1})})})[0]}],c))}return e?react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{"data-builder-component":t.name,"data-builder-content-id":r.id,"data-builder-variation-id":r.testVariationId||r.variationId||r.id},!o&&t.getCss(e)&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("style",{ref:function(e){return t.styleRef=e},className:"builder-custom-styles",dangerouslySetInnerHTML:{__html:t.getCss(e)}}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Provider,{value:__assign(__assign({},t.state),{rootState:t.rootState,state:t.data,content:r,renderLink:t.props.renderLink})},o&&t.Component?react__WEBPACK_IMPORTED_MODULE_2__.createElement(t.Component,{data:t.data,context:t.state.context}):react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlocks,{key:String(!!(null===(i=null==e?void 0:e.blocks)||void 0===i?void 0:i.length)),emailMode:t.props.emailMode,fieldName:"blocks",blocks:e.blocks}))):n?react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{"data-builder-component":t.name,className:"builder-loading"},t.props.children):react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{"data-builder-component":t.name,className:"builder-no-content"})})}))}))},t.prototype.evalExpression=function(e){var t=this,n=this.data;return e.replace(/{{([^}]+)}}/g,function(e,r){return tryEval(r,n,t._errors)})},t.prototype.handleRequest=function(e,t){return __awaiter(this,void 0,void 0,function(){var n,r,i,o,s=this;return __generator(this,function(a){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isIframe&&fetchCache[t]?(this.updateState(function(n){n[e]=fetchCache[t]}
2),[2,fetchCache[t]]):(n=function(){return __awaiter(s,void 0,void 0,function(){var n,r,i;return __generator(this,function(o){switch(o.label){case 0:n=Date.now(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser||console.time("Fetch "+t),o.label=1;case 1:return o.trys.push([1,4,5,6]),[4,fetch$1(t)];case 2:return[4,o.sent().json()];case 3:return r=o.sent(),[3,6];case 4:return i=o.sent(),this._errors&&this._errors.push(i),this._logs&&this._logs.push("Fetch to ".concat(t," errored in ").concat(Date.now()-n,"ms")),[2];case 5:return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser||(console.timeEnd("Fetch "+t),this._logs&&this._logs.push("Fetched ".concat(t," in ").concat(Date.now()-n,"ms"))),[7];case 6:return r&&(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isIframe&&(fetchCache[t]=r),this.updateState(function(t){t[e]=r})),[2,r]}})})},(r=this._asyncRequests&&this._asyncRequests.find(function(e){return isRequestInfo(e)&&e.url===t}))?((i=r.promise).then(function(t){t&&s.updateState(function(n){n[e]=t})}),[2,i]):(o=n(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.nextTick(function(){s._asyncRequests&&s._asyncRequests.push(o)}),[2,o]))})})},t.prototype.unsubscribe=function(){this.subscriptions&&(this.subscriptions.unsubscribe(),this.subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.yU)},t.prototype.handleBuilderRequest=function(e,t){var n=this,r=tryEval(t,this.data,this._errors);this.subscriptions&&this.unsubscribe(),r&&this.subscriptions.add(this.builder.queueGetContent(r.model,r).subscribe(function(t){t&&n.updateState(function(n){n[e]=t})}))},t.defaults={codegen:Boolean(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&location.href.includes("builder.codegen=true"))},__decorate([debounceNextTick,__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],t.prototype,"notifyStateChange",null),t}(react__WEBPACK_IMPORTED_MODULE_2__.Component);function BuilderBlock(e){return e.type="react",_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.Component(e)}function updateMetadata(e,t){var n=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.components.find(function(t){return"string"==typeof e?t.name===e:t.class===t})||null,r=t(n);n&&r?_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.registerComponent(r.class||n.class,r):n&&!r||!n&&r&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.registerComponent(r.class,r)}function withBuilder(e,t){return BuilderBlock(t)(e),e}var withChildren=function(e){var t=react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function(t,n){var r=t.children||t.builderBlock&&t.builderBlock.children&&t.builderBlock.children.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{key:e.id,block:e})});return react__WEBPACK_IMPORTED_MODULE_2__.createElement(e,__assign({},t,{ref:n}),r)});return t.builderOptions={canHaveChildren:!0},t},noWrap=function(e){var t=react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function(t,n){var r=__assign(__assign({},t),t.attributes);return react__WEBPACK_IMPORTED_MODULE_2__.createElement(e,__assign({},r,{ref:n}))});return t.builderOptions={noWrap:!0},t},iconUrl="https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",TextComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.textRef=null,t}return __extends(t,e),t.prototype.componentDidUpdate=function(e){this.allowTextEdit&&(!this.textRef||"true"===this.textRef.contentEditable&&this.textRef===document.activeElement||this.props.text!==e.text&&(this.textRef.innerHTML=this.props.text))},t.prototype.componentDidMount=function(){this.textRef&&(this.textRef.innerHTML=this.props.text)},Object.defineProperty(t.prototype,"allowTextEdit",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&location.search.includes("builder.allowTextEdit=true")&&!(this.props.builderBlock&&this.props.builderBlock.bindings&&(this.props.builderBlock.bindings["component.options.text"]||this.props.builderBlock.bindings["options.text"]||this.props.builderBlock.bindings.text))}
2,enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t=this.allowTextEdit,n={outline:"none","& p:first-of-type, & .builder-paragraph:first-of-type":{margin:0},"& > p, & .builder-paragraph":{color:"inherit",lineHeight:"inherit",letterSpacing:"inherit",fontWeight:"inherit",fontSize:"inherit",textAlign:"inherit",fontFamily:"inherit"}};return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderStoreContext.Consumer,null,function(r){var i;return(null===(i=r.content.meta)||void 0===i?void 0:i.rtlMode)&&(n.direction="rtl"),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("span",__assign({ref:function(t){e.textRef=t},contentEditable:t||void 0,onInput:function(n){var r;t&&(null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.textEdited",data:{id:e.props.builderBlock&&e.props.builderBlock.id,value:n.currentTarget.innerHTML}},"*"))},onKeyDown:function(n){t&&e.textRef&&27===n.which&&document.activeElement===e.textRef&&e.textRef.blur()},onFocus:function(n){var r;t&&(null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.textFocused",data:{id:e.props.builderBlock&&e.props.builderBlock.id}},"*"))},onBlur:function(n){var r;t&&(null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.textBlurred",data:{id:e.props.builderBlock&&e.props.builderBlock.id}},"*"))},css:n,className:"builder-text"},!t&&{dangerouslySetInnerHTML:{__html:e.props.text||e.props.content||""}})))})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Text=withBuilder(TextComponent,{name:"Text",static:!0,image:iconUrl,inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}});function Slot(e){var t=e.name,n=(0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(BuilderStoreContext),r=!n.context.symbolId;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",__assign({css:{pointerEvents:"auto"}},r&&{"builder-slot":t}),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlocks,{child:!0,parentElementId:n.context.symbolId,dataPath:"symbol.data.".concat(t),blocks:n.state[t]||[]}))}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.registerComponent(Slot,{name:"Slot",description:"Allow child blocks to be inserted into this content when used as a Symbol",docsLink:"https://www.builder.io/c/docs/symbols-with-blocks",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",inputs:[{name:"name",type:"string",required:!0,defaultValue:"children"}]});var FragmentComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{block:e,key:e.id,index:t})})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Fragment=withBuilder(FragmentComponent,{name:"Core:Fragment",canHaveChildren:!0,noWrap:!0,static:!0,hideFromInsertMenu:!0}),DEFAULT_ASPECT_RATIO$2=.7004048582995948,defaultBlocks=[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:DEFAULT_ASPECT_RATIO$2}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}],ColumnsComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),Object.defineProperty(t.prototype,"columns",{get:function(){return this.props.columns||[]}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gutterSize",{get:function(){return"number"==typeof this.props.space?this.props.space||0:20},enumerable:!1,configurable:!0}),t.prototype.getWidth=function(e){return this.columns[e]&&this.columns[e].width||100/this.columns.length},t.prototype.getColumnWidth=function(e){var t=this.columns,n=this.gutterSize*(t.length-1)/t.length;return"calc(".concat(this.getWidth(e),"% - ").concat(n,"px)")},t.prototype.render=function(){var e,t=this,n=this.columns,r=this.gutterSize;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{className:"builder-columns",css:__assign({display:"flex"},"never"!==this.props.stackColumnsAt&&(e={},e["@media (max-width: ".concat("tablet"!==this.props.stackColumnsAt?639:999,"px)")]={flexDirection:this.props.reverseColumnsWhenStacked?"column-reverse":"column",alignItems:"stretch"},e))},n.map(function(e,n){var i,o,s=e.link?Link:"div";return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,{key:n},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(s,__assign({className:"builder-column"},e.link?{href:e.link}:null,{css:__assign((i={display:"flex",flexDirection:"column",alignItems:"stretch",lineHeight:"normal"},i["& > .builder-blocks"]={flexGrow:1},i.width=t.getColumnWidth(n),i.marginLeft=0===n?0:r,i),"never"!==t.props.stackColumnsAt&&(o={},o["@media (max-width: ".concat("tablet"!==t.props.stackColumnsAt?
2639:999,"px)")]={width:"100%",marginLeft:0},o))}),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlocks,{key:n,child:!0,parentElementId:t.props.builderBlock&&t.props.builderBlock.id,blocks:e.blocks,dataPath:"component.options.columns.".concat(n,".blocks")})))})))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Columns=withBuilder(ColumnsComponent,{name:"Columns",static:!0,inputs:[{name:"columns",type:"array",broadcast:!0,subFields:[{name:"blocks",type:"array",hideFromUI:!0,defaultValue:defaultBlocks},{name:"width",type:"number",hideFromUI:!0,helperText:"Width %, e.g. set to 50 to fill half of the space"},{name:"link",type:"url",helperText:"Optionally set a url that clicking this column will link to"}],defaultValue:[{blocks:defaultBlocks},{blocks:defaultBlocks}],onChange:function(e){var t=e.get("columns");Array.isArray(t)&&(!t.find(function(e){return e.get("width")})||(t.find(function(e){return!e.get("width")})||100!==t.reduce(function(e,t){return e+t.get("width")},0))&&t.forEach(function(e){e.delete("width")}))}},{name:"space",type:"number",defaultValue:20,helperText:"Size of gap between columns",advanced:!0},{name:"stackColumnsAt",type:"string",defaultValue:"tablet",helperText:"Convert horizontal columns to vertical at what device size",enum:["tablet","mobile","never"],advanced:!0},{name:"reverseColumnsWhenStacked",type:"boolean",defaultValue:!1,helperText:"When stacking columns for mobile devices, reverse the ordering",advanced:!0}]}),EmbedComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=null,t.scriptsInserted=new Set,t.scriptsRun=new Set,t}return __extends(t,e),t.prototype.componentDidUpdate=function(e){this.props.content!==e.content&&this.findAndRunScripts()},t.prototype.componentDidMount=function(){this.findAndRunScripts()},t.prototype.findAndRunScripts=function(){if(this.elementRef&&"undefined"!=typeof window)for(var e=this.elementRef.getElementsByTagName("script"),t=0;t<e.length;t++){var n=e[t];if(n.src){if(this.scriptsInserted.has(n.src))continue;this.scriptsInserted.add(n.src);var r=document.createElement("script");r.async=!0,r.src=n.src,document.head.appendChild(r)}else{if(this.scriptsRun.has(n.innerText))continue;this.scriptsRun.add(n.innerText);try{new Function(n.innerText)()}catch(e){console.warn("Builder custom code component error:",e)}}}},Object.defineProperty(t.prototype,"content",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isServer?(this.props.content||"").replace(/<script[\s\S]*?<\/script>/g,""):this.props.content},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{ref:function(t){return e.elementRef=t},className:"builder-embed",dangerouslySetInnerHTML:{__html:this.content}})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Embed=withBuilder(EmbedComponent,{name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:function(e){var t=e.get("url");if(t)return e.set("content","Loading..."),fetch("https://iframe.ly/api/iframely?url=".concat(t,"&api_key=").concat("ae0e60e78201a3f2b0de4b")).then(function(e){return e.json()}).then(function(n){e.get("url")===t&&(n.html?e.set("content",n.html):e.set("content","Invalid url, please try another"))}).catch(function(t){e.set("content","There was an error embedding this URL, please try again or another URL")});e.delete("content")}},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]}),globalReplaceNodes={}||null,isShopify$1=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&"Shopify"in window;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&globalReplaceNodes){var customCodeQuerySelector_1=".builder-custom-code";try{var allCustomCodeElements_1=Array.from(document.querySelectorAll(customCodeQuerySelector_1)),builderTemplates=document.querySelectorAll("template[data-template-variant-id]");
vendor: 13,918 bytes, line 2
2builderTemplates.length&&Array.from(builderTemplates).forEach(function(e){var t=e.content.querySelectorAll(customCodeQuerySelector_1);t.length&&(allCustomCodeElements_1=allCustomCodeElements_1.concat(Array.from(t)))}),allCustomCodeElements_1.forEach(function(e){var t=e.parentElement,n=t&&t.getAttribute("builder-id");n&&(globalReplaceNodes[n]=globalReplaceNodes[n]||[],globalReplaceNodes[n].push(isShopify$1?e:e.cloneNode(!0)))})}catch(e){console.error("Builder replace nodes error:",e)}}var CustomCodeComponent=function(e){function t(t){var n,r=this;if((r=e.call(this,t)||this).elementRef=null,r.originalRef=null,r.scriptsInserted=new Set,r.scriptsRun=new Set,r.firstLoad=!0,r.replaceNodes=!1,r.state={hydrated:!1},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser){var i=null===(n=r.props.builderBlock)||void 0===n?void 0:n.id;if(r.replaceNodes=Boolean(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&(t.replaceNodes||isShopify$1)&&i&&(null==globalReplaceNodes?void 0:globalReplaceNodes[i])),r.firstLoad&&r.props.builderBlock)if(i&&(null==globalReplaceNodes?void 0:globalReplaceNodes[i])){var o=globalReplaceNodes[i].shift()||null;r.originalRef=o,0===globalReplaceNodes[i].length&&delete globalReplaceNodes[i]}else if(r.replaceNodes){var s=document.querySelectorAll(".".concat(r.props.builderBlock.id," .builder-custom-code"));if(1===s.length){var a=s[0];r.originalRef=a,r.originalRef.remove()}}}return r}return __extends(t,e),Object.defineProperty(t.prototype,"noReactRender",{get:function(){var e;return Boolean(isShopify$1&&(null===(e=this.props.code)||void 0===e?void 0:e.match(/{[{%]/g)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHydrating",{get:function(){return!isShopify$1&&this.originalRef},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){this.props.code!==e.code&&this.findAndRunScripts()},t.prototype.componentDidMount=function(){var e=this;this.firstLoad=!1,this.replaceNodes||(this.isHydrating?(this.setState({hydrated:!0}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.nextTick(function(){return e.findAndRunScripts()})):this.findAndRunScripts()),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&this.replaceNodes&&this.originalRef&&this.elementRef&&this.elementRef.appendChild(this.originalRef)},t.prototype.findAndRunScripts=function(){if(this.elementRef&&"undefined"!=typeof window)for(var e=this.elementRef.getElementsByTagName("script"),t=0;t<e.length;t++){var n=e[t];if(n.src){if(this.scriptsInserted.has(n.src))continue;this.scriptsInserted.add(n.src);var r=document.createElement("script");r.async=!0,r.src=n.src,document.head.appendChild(r)}else if(!n.type||["text/javascript","application/javascript","application/ecmascript"].includes(n.type)){if(this.scriptsRun.has(n.innerText))continue;try{this.scriptsRun.add(n.innerText),new Function(n.innerText)()}catch(e){console.warn("Builder custom code component error:",e)}}}},Object.defineProperty(t.prototype,"code",{get:function(){return(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isServer||this.isHydrating&&this.firstLoad)&&this.props.scriptsClientOnly?(this.props.code||"").replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,""):this.props.code},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",__assign({ref:function(t){return e.elementRef=t},className:"builder-custom-code"},!this.replaceNodes&&!this.noReactRender&&{dangerouslySetInnerHTML:{__html:this.code}}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),CustomCode=withBuilder(CustomCodeComponent,{name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"<p>Hello there, I am custom HTML code!</p>",code:!0},__assign({name:"replaceNodes",type:"boolean",helperText:"Preserve server rendered dom nodes",advanced:!0},isShopify$1&&{defaultValue:!0}),__assign({name:"scriptsClientOnly",type:"boolean",helperText:"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",advanced:!0},!isShopify$1&&{defaultValue:!0})]});function removeProtocol(e){return e.replace(/http(s)?:/,"")}function isElementInViewport(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function getShopifyImageUrl(e,t){if(!e||!(null==e?void 0:e.match(/cdn\.shopify\.com/))||!t)return e;if("master"===t)return removeProtocol(e);var n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){var r=e.split(n[0]),i=n[3],o=t.match("x")?t:"".concat(t,"x");return removeProtocol("".concat(r[0],"_").concat(o).concat(i))}return null}var DEFAULT_ASPECT_RATIO$1=.7041;function updateQueryParam(e,t,n){void 0===e&&(e="");var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),i=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+i+t+"="+encodeURIComponent(n)}function getSrcSet(e){if(!e)return e;var t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){var n=e,r=Number(e.split("?width=")[1]);return isNaN(r)||(n="".concat(n," ").concat(r,"w")),t.filter(function(e){return e!==r}).map(function(t){return"".concat(updateQueryParam(e,"width",t)," ").concat(t,"w")}).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(function(t){return[getShopifyImageUrl(e,"".concat(t,"x").concat(t)),t]}).filter(function(e){return!!e[0]}).map(function(e){var t=e[0],n=e[1];return"".concat(t," ").concat(n,"w")}).concat([e]).join(", "):e}var getSizes=function(e,t){var n,r,i,o,s,a,l,u,c="";if(e){var d=e.split(","),_=d.length;c=d.map(function(e,t){return _===t+1?e.replace(/\([\s\S]*?\)/g,"").trim():e}).join(", ")}else if(t&&t.responsiveStyles){var p=[],f=!1,h=/^\d+/;if(null===(i=null===(r=null===(n=t.responsiveStyles)||void 0===n?void 0:n.small)||void 0===r?void 0:r.width)||void 0===i?void 0:i.match(h)){f=!0;var m="".concat("(max-width: 639px)"," ").concat(t.responsiveStyles.small.width.replace("%","vw"));p.push(m)}if((null===(a=null===(s=null===(o=t.responsiveStyles)||void 0===o?void 0:o.medium)||void 0===s?void 0:s.width)||void 0===a?void 0:a.match(h))&&(f=!0,m="".concat("(max-width: 999px)"," ").concat(t.responsiveStyles.medium.width.replace("%","vw")),p.push(m)),null===(u=null===(l=t.responsiveStyles)||void 0===l?void 0:l.large)||void 0===u?void 0:u.width){var g=t.responsiveStyles.large.width.replace("%","vw");p.push(g)}else f&&p.push("100vw");p.length&&(c=p.join(", "))}return c},ImageComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={imageLoaded:!t.useLazyLoading,load:!t.useLazyLoading},t.pictureRef=null,t.scrollListener=null,t.intersectionObserver=null,t}return __extends(t,e),Object.defineProperty(t.prototype,"useLazyLoading",{get:function(){return(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser||!location.search.includes("builder.lazyLoadImages=false"))&&(!(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser||!location.href.includes("builder.lazyLoadImages=true"))||this.props.lazy)},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&(this.scrollListener&&(window.removeEventListener("scroll",this.scrollListener),this.scrollListener=null),this.intersectionObserver&&this.pictureRef&&this.intersectionObserver.unobserve(this.pictureRef))},t.prototype.componentDidMount=function(){var e=this;if(this.props.lazy&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser)if(this.pictureRef&&isElementInViewport(this.pictureRef))this.setState({load:!0});else if("function"==typeof IntersectionObserver&&this.pictureRef)(this.intersectionObserver=new IntersectionObserver(function(t,n){t.forEach(function(t){t.intersectionRatio>0&&(e.setState({load:!0}),e.pictureRef&&n.unobserve(e.pictureRef))})})).observe(this.pictureRef);else{var t=throttle(function(n){if(e.pictureRef){var r=e.pictureRef.getBoundingClientRect(),i=window.innerHeight/2;r.top<window.innerHeight+i&&(e.setState(__assign(__assign({},e.state),{load:!0})),window.removeEventListener("scroll",t),e.scrollListener=null)}},400,{leading:!1,trailing:!0});this.scrollListener=t,window.addEventListener("scroll",t,{capture:!0,passive:!0}),t()}},Object.defineProperty(t.prototype,"image",{get:function(){return this.props.image||this.props.src},enumerable:!1,configurable:!0}),t.prototype.getSrcSet=function(){var e=this.image;if(e&&(e.match(/builder\.io/)||e.match(/cdn\.shopify\.com/)))return getSrcSet(e)},t.prototype.render=function(){var e,t=this,n=this.props,r=n.aspectRatio,i=n.lazy,o=this.props.builderBlock&&this.props.builderBlock.children,s=this.props.srcset,a=getSizes(this.props.sizes,this.props.builderBlock),l=this.image;s&&l&&l.includes("builder.io/api/v1/image")?s.includes(l.split("?")[0])||(console.debug("Removed given srcset"),s=this.getSrcSet()):l&&!s&&(s=this.getSrcSet());var u=null===(e=this.props.builderBlock)||void 0===e?void 0:e.id.startsWith("builder-pixel-"),c=this.props.fitContent;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderMetaContext.Consumer,null,function(e){var n,l=e.ampMode,d=l?"amp-img":"img",_=(!i||t.state.load||l)&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(d,__assign({},l?{layout:"responsive",height:t.props.height||(r?Math.round(1e3*r):void 0),width:t.props.width||(r?Math.round(1e3/r):void 0)}:null,{alt:t.props.altText,key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&"string"==typeof t.image&&t.image.split("?")[0]||void 0,role:t.props.altText?void 0:"presentation",css:__assign(__assign({opacity:l?1:t.useLazyLoading&&!t.state.imageLoaded?0:1,transition:"opacity 0.2s ease-in-out",objectFit:t.props.backgroundSize||"cover",objectPosition:t.props.backgroundPosition||"center"},r&&!l&&{position:"absolute",height:"100%",width:"100%",left:0,top:0}),l&&(n={},n["& img"]={objectFit:t.props.backgroundSize,objectPosition:t.props.backgroundPosition},n)),loading:u?"eager":"lazy",className:"builder-image"+(t.props.className?" "+t.props.className:""),src:t.image},!l&&{onLoad:function(){return t.setState({imageLoaded:!0})}},{srcSet:s,sizes:!l&&a?a:void 0}));return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,l?_:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("picture",{ref:function(e){return t.pictureRef=e}},s&&s.match(/builder\.io/)&&!t.props.noWebp&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("source",{srcSet:s.replace(/\?/g,"?format=webp&"),type:"image/webp"}),_),!r||l||c&&o&&o.length?null:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{className:"builder-image-sizer",css:{width:"100%",paddingTop:100*r+"%",pointerEvents:"none",fontSize:0}}," "),o&&o.length?c?o.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlock$1,{key:e.id,block:e})}):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{css:{display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:0,left:0,width:"100%",height:"100%"}},o.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlock$1,{key:e.id,block:e})})):null)})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Image=withBuilder(ImageComponent,{name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",onChange:function(e){e.delete("srcset"),e.delete("noWebp");var t,n,r=e.get("image"),i=e.get("aspectRatio");if(fetch(r).then(function(e){return e.blob()}).then(function(t){t.type.includes("svg")&&e.set("noWebp",!0)}),r&&(!i||.7041===i))return(t=r,void 0===n&&(n=6e4),new Promise(function(e,r){var i=document.createElement("img"),o=!1;i.onload=function(){o=!0,e(i)},i.addEventListener("error",function(e){console.warn("Image load failed",e.error),r(e.error)}),i.src=t,setTimeout(function(){o||r(new Error("Image load timed out"))},n)})).then(function(t){var n,i=e.get("aspectRatio");e.get("image")!==r||i&&.7041!==i||t.width&&t.height&&(e.set("aspectRatio",(n=t.height/t.width,Math.round(1e3*n)/1e3)),e.set("height",t.height),e.set("width",t.width))})}},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill its box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:DEFAULT_ASPECT_RATIO$1}]}),DEFAULT_ASPECT_RATIO=.7004048582995948,VideoComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;
2return t.video=null,t.containerRef=null,t.scrollListener=null,t.state={load:!t.lazyLoad},t}return __extends(t,e),Object.defineProperty(t.prototype,"lazyLoad",{get:function(){return!1!==this.props.lazyLoad},enumerable:!1,configurable:!0}),t.prototype.updateVideo=function(){var e=this,t=this.video;t&&["muted","playsInline","autoPlay"].forEach(function(n){var r=n.toLowerCase();e.props[n]?t.setAttribute(r,r):t.removeAttribute(r)})},t.prototype.componentDidUpdate=function(){this.updateVideo()},t.prototype.componentDidMount=function(){var e=this;if(this.updateVideo(),this.lazyLoad&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser){var t=throttle(function(n){if(e.containerRef){var r=e.containerRef.getBoundingClientRect(),i=window.innerHeight/2;r.top<window.innerHeight+i&&(e.setState(function(e){return __assign(__assign({},e),{load:!0})}),window.removeEventListener("scroll",t),e.scrollListener=null)}},400,{leading:!1,trailing:!0});this.scrollListener=t,window.addEventListener("scroll",t,{capture:!0,passive:!0}),t()}},t.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&this.scrollListener&&(window.removeEventListener("scroll",this.scrollListener),this.scrollListener=null)},t.prototype.render=function(){var e=this,t=this.props,n=t.aspectRatio,r=t.children;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{ref:function(t){return e.containerRef=t},css:{position:"relative"}},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("video",{key:this.props.video||"no-src",poster:this.props.posterImage,ref:function(t){return e.video=t},autoPlay:this.props.autoPlay,muted:this.props.muted,controls:this.props.controls,loop:this.props.loop,className:"builder-video",css:__assign({width:"100%",height:"100%",objectFit:this.props.fit,objectPosition:this.props.position,zIndex:2,borderRadius:1},n?{position:"absolute"}:null)},(!this.lazyLoad||this.state.load)&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("source",{type:"video/mp4",src:this.props.video})),!n||this.props.fitContent&&r?null:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{css:{width:"100%",paddingTop:100*n+"%",pointerEvents:"none",fontSize:0}}),r&&this.props.fitContent?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{css:{display:"flex",flexDirection:"column",alignItems:"stretch"}},r):r?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{css:{pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:0,left:0,width:"100%",height:"100%"}},r):null)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Video=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.registerComponent(withChildren(VideoComponent),{name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:DEFAULT_ASPECT_RATIO},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]}),size=function(e){return Object.keys(e).length},isShopify=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&"Shopify"in window,refs={};if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser)try{Array.from(document.querySelectorAll("[builder-static-symbol]")).forEac
2h(function(e){var t=e.getAttribute("builder-static-symbol");t&&(refs[t]=e)})}catch(e){console.error("Builder replace nodes error:",e)}var SymbolComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ref=null,t.staticRef=null,t}return __extends(t,e),Object.defineProperty(t.prototype,"placeholder",{get:function(){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{css:{padding:10}},"Symbols let you reuse dynamic elements across your content. Please choose a model and entry for this symbol.")},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e,t,n;this.useStatic&&this.staticRef&&refs[null===(e=this.props.builderBlock)||void 0===e?void 0:e.id]&&(null===(t=this.staticRef.parentNode)||void 0===t||t.replaceChild(refs[null===(n=this.props.builderBlock)||void 0===n?void 0:n.id],this.staticRef))},Object.defineProperty(t.prototype,"useStatic",{get:function(){var e;return Boolean(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isBrowser&&refs[null===(e=this.props.builderBlock)||void 0===e?void 0:e.id]&&!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isPreviewing))},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this;if(this.useStatic)return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{ref:function(e){return t.staticRef=e}});var n=this.props.symbol,r=!1;n||(r=!0);var i=this.props.dataOnly?NoWrap:this.props.builderBlock&&this.props.builderBlock.tagName||"div",o=n||{},s=o.model,a=o.entry,l=o.data,u=o.content,c=o.inline,d=(null==n?void 0:n.dynamic)||this.props.dynamic;s&&(a||d)||(null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.blocksJs)||c||(r=!0);var _=d?void 0:[s,a].join(":"),p=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing?null:l&&size(l)&&hash_sum__WEBPACK_IMPORTED_MODULE_4___default()(l);_&&p&&p.length<300&&(_+=":"+p);var f=this.props.attributes||{};return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderStoreContext.Consumer,{key:(s||"no model")+":"+(a||"no entry")},function(e){var o,c,d,p,h,m,g,b,v;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(i,__assign({"data-model":s},f,{className:(f.class||f.className||"")+" builder-symbol"+((null==n?void 0:n.inline)?" builder-inline-symbol":"")+((null==n?void 0:n.dynamic)||t.props.dynamic?" builder-dynamic-symbol":"")}),r?t.placeholder:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderComponent,__assign({isChild:!0,ref:function(e){return t.ref=e},context:__assign(__assign({},e.context),{symbolId:null===(o=t.props.builderBlock)||void 0===o?void 0:o.id}),modelName:s,entry:a,data:__assign(__assign(__assign({},l),!!t.props.inheritState&&e.state),null===(g=null===(m=null===(h=null===(p=null===(d=null===(c=t.props.builderBlock)||void 0===c?void 0:c.component)||void 0===d?void 0:d.options)||void 0===p?void 0:p.symbol)||void 0===h?void 0:h.content)||void 0===m?void 0:m.data)||void 0===g?void 0:g.state),renderLink:e.renderLink,inl
2ineContent:null==n?void 0:n.inline},u&&{content:u},{options:{key:_,noEditorUpdates:!0},codegen:!!(null===(b=null==u?void 0:u.data)||void 0===b?void 0:b.blocksJs),hydrate:null===(v=e.state)||void 0===v?void 0:v._hydrate,builderBlock:t.props.builderBlock,dataOnly:t.props.dataOnly}),t.props.children))})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Symbol$1=withBuilder(SymbolComponent,{name:"Symbol",noWrap:!0,static:!0,inputs:[{name:"symbol",type:"uiSymbol"},{name:"dataOnly",helperText:"Make this a data symbol that doesn't display any UI",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"inheritState",helperText:"Inherit the parent component state and data",type:"boolean",defaultValue:isShopify,advanced:!0},{name:"renderToLiquid",helperText:"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",type:"boolean",defaultValue:isShopify,advanced:!0,hideFromUI:!0},{name:"useChildren",hideFromUI:!0,type:"boolean"}]}),ButtonComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props.link?Link:"span";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(e,__assign({role:"button",href:this.props.link,target:this.props.openLinkInNewTab?"_blank":void 0},this.props.attributes),this.props.text)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Button=withBuilder(ButtonComponent,{name:"Core:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#000000",color:"white",borderRadius:"4px",textAlign:"center",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me!",bubble:!0},{name:"link",type:"url",bubble:!0},{name:"openLinkInNewTab",type:"boolean",defaultValue:!1,friendlyName:"Open link in new tab"}],static:!0,noWrap:!0}),SectionComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ref=null,t.unmountCallbacks=[],t.state={inView:!1},t}return __extends(t,e),Object.defineProperty(t.prototype,"renderContents",{get:function(){return!0!==this.props.lazyLoad||this.state.inView},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){this.unmountCallbacks.forEach(function(e){return e()})},t.prototype.componentDidMount=function(){var e=this;if(this.props.lazyLoad)if("undefined"!=typeof IntersectionObserver&&this.ref){var t=new IntersectionObserver(function(t,n){t.forEach(function(t){t.intersectionRatio>0&&(e.setState({inView:!0}),e.ref&&n.unobserve(e.ref))})});t.observe(this.ref),this.unmountCallbacks.push(function(){e.ref&&t.unobserve(e.ref)})}else this.setState({inView:!0})},t.prototype.render=function(){var e=this;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("section",{ref:function(t){return e.ref=t},css:__assign({width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:this.props.maxWidth,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"},this.renderContents?null:this.props.lazyStyles)},this.renderContents?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,this.props.children,this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlock$1,{key:e.id,block:e})})):null)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Section=withBuilder(SectionComponent,{name:"Core:Section",static:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",inputs:[{name:"maxWidth",type:"number",defaultValue:1200},{name:"lazyLoad",type:"boolean",defaultValue:!1,advanced:!0,description:"Only render this section when in view"}],defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"50px",paddingBottom:"50px",marginTop:"0px",width:"100vw",marginLeft:"calc(50% - 50vw)"},canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"center"}},component:{name:"Text",options:{text:"<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"}}}]}),StateProviderComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Consumer,null,function(t){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Provider,{value:__assign(__assign({},t),{state:__assign(__assign({},t.state),e.props.state),context:__assign(__assign({},t.context),e.props.context)})},e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{block:e,key:e.id,index:t,child:!0})}),e.props.children)})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),StateProvider=withBuilder(StateProviderComponent,{name:"Builder:StateProvider",canHaveChildren:!0,static:!0,noWrap:!0,hideFromInsertMenu:!0}),prefetched=new Set;function searchToObject(e){var t=(e.search||"").substring(1).split("&"),n={};for(var r in t)if(t[r]&&"string"==typeof t[r]){var i=t[r].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}var RouterComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.builder=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL,t.routed=!1,t.preloadQueue=0,t.onPopState=function(e){t.updateLocationState()},t.onMouseOverOrTouchStart=function(e){if(!(t.preloadQueue>4)&&!1!==t.props.preloadOnHover){var n=t.findHrefTarget(e);if(n){var r=n.getAttribute("href");if(r){if(!t.isRelative(r)){var i=t.convertToRelative(r);if(!i)return;r=i}if(!r.startsWith("#")&&!prefetched.has(r)){prefetched.add(r);var o=t.parseUrl(r);t.preloadQueue++;var s=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.getUserAttributes();s.urlPath=o.pathname,s.queryString=o.search;var a=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.get(t.model,{userAttributes:s,key:t.model+":"+o.pathname+o.search}).subscribe(function(){t.preloadQueue--,a.unsubscribe()})}}}}},t.onClick=function(e){return __awaiter(t,void 0,void 0,function(){var t,n,r,i;
2return __generator(this,function(o){if(!1===this.props.handleRouting)return[2];if(0!==e.button||e.ctrlKey||e.defaultPrevented||e.metaKey)return[2];if(!(t=this.findHrefTarget(e)))return[2];if(t.target&&"_client"!==t.target)return[2];if(!(n=t.getAttribute("href")))return[2];if(this.props.onRoute&&(r={url:n,anchorNode:t,preventDefault:function(){this.defaultPrevented=!0},defaultPrevented:!1},this.props.onRoute(r),r.defaultPrevented))return[2];if(!this.isRelative(n)){if(!(i=this.convertToRelative(n)))return[2];n=i}return n.startsWith("#")||(e.preventDefault(),this.route(n)),[2]})})},t.privateState=null,t}return __extends(t,e),t.prototype.route=function(e){var t;return this.routed=!0,"function"==typeof(null===(t=window.history)||void 0===t?void 0:t.pushState)?(history.pushState(null,"",e),this.updateLocationState(),!0):(location.href=e,!1)},t.prototype.updateLocationState=function(){this.privateState&&this.privateState.update(function(e){e.location=__assign(__assign({},e.location),{pathname:location.pathname,search:location.search,path:location.pathname.split("/").slice(1),query:searchToObject(location)})})},Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model||"page"},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){"undefined"!=typeof document&&(document.addEventListener("click",this.onClick),window.addEventListener("popstate",this.onPopState),document.addEventListener("mouseover",this.onMouseOverOrTouchStart),document.addEventListener("touchstart",this.onMouseOverOrTouchStart))},t.prototype.componentWillUnmount=function(){"undefined"!=typeof document&&(document.removeEventListener("click",this.onClick),document.removeEventListener("mouseover",this.onMouseOverOrTouchStart),window.removeEventListener("popstate",this.onPopState),document.removeEventListener("touchstart",this.onMouseOverOrTouchStart))},t.prototype.render=function(){var e=this,t=this.model;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderStoreContext.Consumer,null,function(n){e.privateState=n;var r=n.state&&n.state.location&&n.state.location.pathname+n.state.location.search;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{className:"builder-router","data-model":t},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("style",null,"\n                @keyframes builderLoadingSpinner {\n                  0% {\n                    transform: rotate(0deg);\n                  }\n                  100% {\n                    transform: rotate(360deg);\n                  }\n                }\n                /* TODO: overridable tag */\n                .builder-page-loading {\n                  -webkit-animation: builderLoadingSpinner 1s infinite linear;\n                  animation: builderLoadingSpinner 1s infinite linear;\n                  -webkit-transform: translateZ(0);\n                  transform: translateZ(0);\n                  border-radius: 50%;\n                  width: 36px;\n                  height: 36px;\n                  margin: 6px auto;\n                  position: relative;\n                  border: 1px solid transparent;\n                  border-left: 1px solid #808284;\n                }\n              "),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderComponent,{key:r,data:e.props.data,content:e.routed?void 0:e.props.content,modelName:t,options:{key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing?void 0:e.model+":"+r}},e.props.children||(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{css:{display:"flex"}},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("div",{css:{margin:"40vh auto"},className:"builder-page-loading"}))))})},t.prototype.findHrefTarget=function(e){for(var t=e.target;t;){if(t instanceof HTMLAnchorElement&&t.getAttribute("href"))return t;if(t===e.currentTarget)break;t=t.parentElement}return null},t.prototype.isRelative=function(e){return!e.match(/^(\/\/|https?:\/\/)/i)},t.prototype.parseUrl=function(e){var t=document.createElement("a");return t.href=e,t},t.prototype.convertToRelative=function(e){var t=this.parseUrl(location.href),n=this.parseUrl(e);if(t.host===n.host){var r=n.pathname+(n.search?n.search:"");return r.startsWith("#")?null:r||"/"}return null},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Router=withBuilder(RouterComponent,{name:"Core:Router",hideFromInsertMenu:!0,inputs:[{name:"model",type:"string",defaultValue:"page",advanced:!0},{name:"handleRouting",type:"boolean",defaultValue:!0,advanced:!0},{name:"preloadOnHover",type:"boolean",defaultValue:!0,advanced:!0},{name:"onRoute",type:"function",advanced:!0}]});function Mutation(e){var t,n,r=react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);useWaitForSelector(e.selector,function(t){"afterEnd"!==e.type&&(t.innerHTML=""),t.appendChild(r.current.firstElementChild)});var i=null===(t=e.builderBlock)||void 0===t?void 0:t.children;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("span",{style:{display:"none"},ref:r},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlocks,{style:{display:"inline"},child:!0,parentElementId:null===(n=e.builderBlock)||void 0===n?void 0:n.id,dataPath:"this.children",blocks:i}))}function useWaitForSelector(e,t){react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(function(){try{var n=document.querySelector(e);
vendor: 9,969 bytes, line 2
2if(n)return void t(n)}catch(e){console.warn(e)}var r=new MutationObserver(function(){try{var n=document.querySelector(e);n&&(r.disconnect(),t(n))}catch(e){console.warn(e)}});return r.observe(document.body,{attributes:!0,subtree:!0,characterData:!0}),function(){r.disconnect()}},[e])}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.registerComponent(Mutation,{name:"Builder:Mutation",canHaveChildren:!0,noWrap:!0,hideFromInsertMenu:!0,inputs:[{name:"type",type:"string",defaultValue:"replace",enum:[{label:"Replace",value:"replace",helperText:"Replace the contents of this site region with content from Builder"},{label:"Append",value:"afterEnd",helperText:"Append Builder content after the chosen site region"}]},{name:"selector",type:"builder:domSelector"}]});var get=function(e,t,n){var r=String.prototype.split.call(t,/[,[\].]+?/).filter(Boolean).reduce(function(e,t){return null!=e?e[t]:e},e);return void 0===r||r===e?n:r},MULTIPART_CONTENT_TYPE="multipart/form-data",JSON_CONTENT_TYPE="application/json",ENCODED_CONTENT_TYPE="application/x-www-form-urlencoded",FormComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ref=null,t.state={state:"unsubmitted",responseData:null,formErrorMessage:""},t}return __extends(t,e),Object.defineProperty(t.prototype,"submissionState",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&this.props.previewState||this.state.state},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderStoreContext.Consumer,null,function(t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderStoreContext.Provider,{value:__assign(__assign({},t),{state:__assign(__assign({},t.state),{formErrorMessage:e.state.formErrorMessage})})},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("form",__assign({validate:e.props.validate,ref:function(t){return e.ref=t},action:!e.props.sendWithJs&&e.props.action,method:e.props.method,name:e.props.name,onSubmit:function(t){var n,r=e.props.sendWithJs||"email"===e.props.sendSubmissionsTo;if("zapier"===e.props.sendSubmissionsTo)t.preventDefault();else if(r){if(!e.props.action&&"email"!==e.props.sendSubmissionsTo)return void t.preventDefault();t.preventDefault();var i=t.currentTarget,o=e.props.customHeaders||{},s=void 0,a=new FormData(i),l=Array.from(t.currentTarget.querySelectorAll("input,select,textarea")).filter(function(e){return!!e.name}).map(function(e){var t,n=e.name;if(e instanceof HTMLInputElement)if("radio"===e.type){if(e.checked)return{key:n,value:t=e.name}}else if("checkbox"===e.type)t=e.checked;else if("number"===e.type||"range"===e.type){var r=e.valueAsNumber;isNaN(r)||(t=r)}else t="file"===e.type?e.files:e.value;else t=e.value;return{key:n,value:t}}),u=e.props.contentType;if("email"===e.props.sendSubmissionsTo&&(u=MULTIPART_CONTENT_TYPE),Array.from(l).forEach(function(e){var t=e.value;(t instanceof File||Array.isArray(t)&&t[0]instanceof File||t instanceof FileList)&&(u=MULTIPART_CONTENT_TYPE)}),u===MULTIPART_CONTENT_TYPE)s=a;else if(u===JSON_CONTENT_TYPE){var c={};Array.from(l).forEach(function(e){var t=e.value,n=e.key;set(c,n,t)}),s=JSON.stringify(c)}else{if(u!==ENCODED_CONTENT_TYPE)return void console.error("Unsupported content type: ",u);s=Array.from(l).map(function(e){var t=e.value,n=e.key;return encodeURIComponent(n)+"="+encodeURIComponent(t)}).join("&")}u&&u!==MULTIPART_CONTENT_TYPE&&(r&&(null===(n=e.props.action)||void 0===n?void 0:n.includes("zapier.com"))||(o["content-type"]=u));var d=new CustomEvent("presubmit",{detail:{body:s}});if(e.ref&&(e.ref.dispatchEvent(d),d.defaultPrevented))return;e.setState(__assign(__assign({},e.state),{state:"sending"}));var _="".concat("dev"===_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.env?"http://localhost:5000":"https://builder.io","/api/v1/form-submit?apiKey=").concat(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.cL.apiKey,"&to=").concat(btoa(e.props.sendSubmissionsToEmail||""),"&name=").concat(encodeURIComponent(e.props.name||""));fetch("email"===e.props.sendSubmissionsTo?_:e.props.action,{body:s,headers:o,method:e.props.method||"post"}).then(function(t){return __awaiter(e,void 0,void 0,function(){var e,n,r,i,o;return __generator(this,function(s){switch(s.label){case 0:return(n=t.headers.get("content-type"))&&-1!==n.indexOf(JSON_CONTENT_TYPE)?[4,t.json()]:[3,2];case 1:return e=s.sent(),[3,4];case 2:return[4,t.text()];case 3:e=s.sent(),s.label=4;case 4:if(!t.ok&&this.props.errorMessagePath&&(r=get(e,this.props.errorMessagePath))&&("string"!=typeof r&&(r=JSON.stringify(r)),this.setState(__assign(__assign({},this.state),{formErrorMessage:r}))),this.setState(__assign(__assign({},this.state),{responseData:e,state:t.ok?"success":"error"})),t.ok){if(i=new CustomEvent("submit:success",{detail:{res:t,body:e}}),this.ref){if(this.ref.dispatchEvent(i),i.defaultPrevented)return[2];!1!==this.props.resetFormOnSubmit&&this.ref.reset()}this.props.successUrl&&(this.ref?(o=new CustomEvent("route",{detail:{url:this.props.successUrl}}),this.ref.dispatchEvent(o),o.defaultPrevented||(location.href=this.props.successUrl)):location.href=this.props.successUrl)}return[2]}})})},function(t){var n=new CustomEvent("submit:error",{detail:{error:t}});e.ref&&(e.ref.dispatchEvent(n),n.defaultPrevented)||e.setState(__assign(__assign({},e.state),{responseData:t,state:"error"}))})}}},e.props.attributes),e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlock$1,{key:e.id,block:e})}),"error"===e.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlocks,{dataPath:"errorMessage",blocks:e.props.errorMessage}),"sending"===e.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlocks,{dataPath:"sendingMessage",blocks:e.props.sendingMessage}),"error"===e.submissionState&&e.state.responseData&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)("pre",{className:"builder-form-error-text",css:{padding:10,color:"red",textAlign:"center"}},JSON.stringify(e.state.responseData,null,2)),"success"===e.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.Y)(BuilderBlocks,{dataPath:"successMessage",blocks:e.props.successMessage})))})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Form=withBuilder(FormComponent,{name:"Form:Form",defaults:{responsiveStyles:{large:{marginTop:"15px",paddingBottom:"15px"}}},image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fef36d2a846134910b64b88e6d18c5ca5",inputs:[{name:"sendSubmissionsTo",type:"string",enum:[{label:"Send to email",value:"email",helperText:"Send form submissions to the email address of your choosing"},{label:"Custom",value:"custom",helperText:"Handle where the form requests go manually with a little code, e.g. to your own custom backend"}],defaultValue:"email"},{name:"sendSubmissionsToEmail",type:"string",required:!0,defaultValue:"[email protected]",showIf:'options.get("sendSubmissionsTo") === "email"'},{name:"sendWithJs",type:"boolean",helperText:"Set to false to use basic html form action",defaultValue:!0,showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"name",type:"string",defaultValue:"My form"},{name:"action",type:"string",helperText:"URL to send the form data to",showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"contentType",type:"string",defaultValue:JSON_CONTENT_TYPE,advanced:!0,enum:[JSON_CONTENT_TYPE,MULTIPART_CONTENT_TYPE,ENCODED_CONTENT_TYPE],showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'},{name:"method",type:"string",showIf:'options.get("sendSubmissionsTo") === "custom"',defaultValue:"POST",advanced:!0},{name:"previewState",type:"string",enum:["unsubmitted","sending","success","error"],defaultValue:"unsubmitted",helperText:'Choose a state to edit, e.g. choose "success" to show what users see on success and edit the message',showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"successUrl",type:"url",helperText:"Optional URL to redirect the user to on form submission success",showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"resetFormOnSubmit",type:"boolean",showIf:function(e){return"custom"===e.get("sendSubmissionsTo")&&!0===e.get("sendWithJs")},advanced:!0},{name:"successMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Thanks!</span>"}}}]},{name:"validate",type:"boolean",defaultValue:!0,advanced:!0},{name:"errorMessagePath",type:"text",advanced:!0,helperText:'Path to where to get the error message from in a JSON response to display to the user, e.g. "error.message" for a response like { "error": { "message": "this username is taken" }}'},{name:"errorMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},bindings:{"component.options.text":"state.formErrorMessage || block.component.options.text"},component:{name:"Text",options:{text:"<span>Form submission error :( Please check your answers and try again</span>"}}}]},{name:"sendingMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Sending...</span>"}}}]},__assign(__assign({name:"customHeaders",type:"map"},{valueType:{type:"string"}}),{advanced:!0,showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'})],noWrap:!0,canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your name</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}}
2,component:{name:"Form:Input",options:{name:"name",placeholder:"Jane Doe"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your email</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"email",placeholder:"[email protected]"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:SubmitButton",options:{text:"Submit"}}}]}),FormInputComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("input",__assign({key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&this.props.defaultValue?this.props.defaultValue:"default-key",placeholder:this.props.placeholder,type:this.props.type,name:this.props.name,value:this.props.value,defaultValue:this.props.defaultValue,required:this.props.required},this.props.attributes))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),FormInput=withBuilder(FormInputComponent,{name:"Form:Input",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",inputs:[{name:"type",type:"text",enum:["text","number","email","url","checkbox","radio","range","date","datetime-local","search","tel","time","file","month","week","password","color","hidden"],defaultValue:"text"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it takes, e.g. "email"'},{name:"placeholder",type:"string",defaultValue:"Hello there",helperText:"Text to display when there is no value"},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",helperText:"Is this input required to be filled out to submit a form",defaultValue:!1}],noWrap:!0,static:!0,defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"}}),FormSubmitButtonComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("button",__assign({type:"submit"},this.props.attributes),this.props.text)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),FormSubmitButton=withBuilder(FormSubmitButtonComponent,{name:"Form:SubmitButton",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#3898EC",color:"white",borderRadius:"4px",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me"}],static:!0,noWrap:!0}),LabelComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("label",__assign({htmlFor:this.props.for},this.props.attributes),this.props.text&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("span",{className:"builder-label-text",dangerouslySetInnerHTML:{__html:this.props.text}}),this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{key:e.id,block:e})}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Label=withBuilder(LabelComponent,{name:"Form:Label",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F9322342f04b545fb9a8091cd801dfb5b",inputs:[{name:"text",type:"html",richText:!0,defaultValue:"Label"},{name:"for",type:"text",helperText:"The name of the input this label is for",advanced:!0}],noWrap:!0,static:!0,canHaveChildren:!0}),FormSelectComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props.options;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("select",__assign({value:this.props.value,key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isEditing&&this.props.defaultValue?this.props.defaultValue:"default-key",defaultValue:this.props.defaultValue,name:this.props.name},this.props.attributes),e&&e.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("option",{value:e.value},e.name||e.value)}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),FormSelect=withBuilder(FormSelectComponent,{name:"Form:Select",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",defaultStyles:{alignSelf:"flex-start"},inputs:[{name:"options",type:"list",required:!0,subFields:[{name:"value",type:"text",required:!0},{name:"name",type:"text"}],defaultValue:[{value:"option 1"},{value:"option 2"}]},{name:"name",type:"string",required:!0,helperText:'Every select in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",defaultValue:!1}],static:!0,noWrap:!0}),TextAreaComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("textarea",__assign({placeholder:this.props.placeholder,name:this.props.name,value:this.props.value,defaultValue:this.props.defaultValue},this.props.attributes))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),TextArea=withBuilder(TextAreaComponent,{name:"Form:TextArea",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",input
2s:[{advanced:!0,name:"value",type:"string"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"placeholder",type:"string",defaultValue:"Hello there"},{name:"required",type:"boolean",defaultValue:!1}],defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"},static:!0,noWrap:!0}),ImgComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props.attributes||{};return react__WEBPACK_IMPORTED_MODULE_2__.createElement("img",__assign({},this.props.attributes,{src:this.props.image||e.src}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Img=withBuilder(ImgComponent,{name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg"],required:!0}],noWrap:!0,static:!0}),RawText=function(e){var t=e.attributes||{};return react__WEBPACK_IMPORTED_MODULE_2__.createElement("span",{className:(null==t?void 0:t.class)||(null==t?void 0:t.className),dangerouslySetInnerHTML:{__html:e.text||""}})};_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.registerComponent(RawText,{name:"Builder:RawText",hideFromInsertMenu:!0,inputs:[{name:"text",bubble:!0,type:"longText",required:!0}]}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.M$.isReact=!0},43092:function(e,t,n){var r=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("unable to locate global object")}();e.exports=t=r.fetch,r.fetch&&(t.default=r.fetch.bind(r)),t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response},65105:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{M$:function(){return Builder},cL:function(){return builder},tQ:function(){return BehaviorSubject},yU:function(){return Subscription}});var tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(79333),hash_sum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(13813),hash_sum__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(hash_sum__WEBPACK_IMPORTED_MODULE_0__);!function(){if("undefined"==typeof window||"function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}();var isSafari="undefined"!=typeof window&&/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent);function nextTick(e){if("function"==typeof setImmediate&&"undefined"==typeof window)return setImmediate(e);if(isSafari||"undefined"==typeof MutationObserver)setTimeout(e);else{var t=0,n=new MutationObserver(function(){return e()}),r=document.createTextNode("");n.observe(r,{characterData:!0}),r.data=String(t=++t)}}var PROPERTY_NAME_DENY_LIST=Object.freeze(["__proto__","prototype","constructor"]),QueryString=function(){function e(){}return e.parseDeep=function(e){var t=this.parse(e);return this.deepen(t)},e.stringifyDeep=function(e){var t=this.flatten(e);return this.stringify(t)},e.parse=function(e){for(var t={},n=("?"===e[0]?e.substr(1):e).split("&"),r=0;r<n.length;r++){var i=n[r].split("=");try{t[decodeURIComponent(i[0])]=decodeURIComponent(i[1]||"")}catch(o){}}return t},e.stringify=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(r)}return t},e.deepen=function(e){var t={};for(var n in e){for(var r=t,i=n.split("."),o=i.pop(),s=0,a=i;s<a.length;s++){var l=a[s];assertAllowedPropertyName(l),r=r[l]=r[l]||{}}r[o]=e[n]}return t},e.flatten=function(e,t,n){for(var r in void 0===n&&(n={}),e){var i=e[r],o=t?t+"."+r:r;i&&"object"==typeof i?this.flatten(i,o,n):n[o]=i}return n},e}();function assertAllowedPropertyName(e){if(PROPERTY_NAME_DENY_LIST.indexOf(e)>=0)throw new Error('Property name "'.concat(e,'" is not allowed'))}var version="1.3.1",Subscription=function(){function e(e,t){this.listeners=e,this.listener=t,this.unsubscribed=!1,this.otherSubscriptions=[]}return Object.defineProperty(e.prototype,"closed",{get:function(){return this.unsubscribed}
2,enumerable:!1,configurable:!0}),e.prototype.add=function(e){this.otherSubscriptions.push(e)},e.prototype.unsubscribe=function(){if(!this.unsubscribed){if(this.listener&&this.listeners){var e=this.listeners.indexOf(this.listener);e>-1&&this.listeners.splice(e,1)}this.otherSubscriptions.forEach(function(e){return e.unsubscribe()}),this.unsubscribed=!0}},e}(),BehaviorSubject=function(){function e(e){this.value=e,this.listeners=[],this.errorListeners=[]}return e.prototype.next=function(e){this.value=e;for(var t=0,n=this.listeners;t<n.length;t++){(0,n[t])(e)}},e.prototype.map=function(t){var n=new e(t(this.value));return this.subscribe(function(e){n.next(t(e))}),this.catch(function(e){n.error(e)}),n},e.prototype.catch=function(e){return this.errorListeners.push(e),new Subscription(this.errorListeners,e)},e.prototype.error=function(e){for(var t=0,n=this.errorListeners;t<n.length;t++){(0,n[t])(e)}},e.prototype.subscribe=function(e,t){return this.listeners.push(e),t&&this.errorListeners.push(t),new Subscription(this.listeners,e)},e.prototype.toPromise=function(){var e=this;return new Promise(function(t,n){var r=e.subscribe(function(e){t(e),r.unsubscribe()},function(e){n(e),r.unsubscribe()})})}
vendor: 14,923 bytes, line 2
2,e.prototype.promise=function(){return this.toPromise()},e}(),State={Pending:"Pending",Fulfilled:"Fulfilled",Rejected:"Rejected"};function isFunction(e){return e&&"function"==typeof e}function isObject(e){return e&&"object"==typeof e}var TinyPromise=function(){function e(e){this._state=State.Pending,this._handlers=[],this._value=null,e(this._resolve.bind(this),this._reject.bind(this))}return e.prototype._resolve=function(t){var n=this;if(t instanceof e)t.then(this._resolve.bind(this),this._reject.bind(this));else if(isObject(t)||isFunction(t)){var r=!1;try{var i=t.then;isFunction(i)?i.call(t,function(e){r||n._resolve(e),r=!0},function(e){r||n._reject(e),r=!0}):this._fulfill(t)}catch(o){r||this._reject(o)}}else this._fulfill(t)},e.prototype._fulfill=function(e){var t=this;this._state=State.Fulfilled,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._reject=function(e){var t=this;this._state=State.Rejected,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._isPending=function(){return this._state===State.Pending},e.prototype._isFulfilled=function(){return this._state===State.Fulfilled},e.prototype._isRejected=function(){return this._state===State.Rejected},e.prototype._addHandler=function(e,t){this._handlers.push({onFulfilled:e,onRejected:t})},e.prototype._callHandler=function(e){this._isFulfilled()&&isFunction(e.onFulfilled)?e.onFulfilled(this._value):this._isRejected()&&isFunction(e.onRejected)&&e.onRejected(this._value)},e.prototype.then=function(t,n){var r=this;switch(this._state){case State.Pending:return new e(function(e,i){r._addHandler(function(n){nextTick(function(){try{isFunction(t)?e(t(n)):e(n)}catch(r){i(r)}})},function(t){nextTick(function(){try{isFunction(n)?e(n(t)):i(t)}catch(r){i(r)}})})});case State.Fulfilled:return new e(function(e,n){nextTick(function(){try{isFunction(t)?e(t(r._value)):e(r._value)}catch(i){n(i)}})});case State.Rejected:return new e(function(e,t){nextTick(function(){try{isFunction(n)?e(n(r._value)):t(r._value)}catch(i){t(i)}})})}},e}(),Promise$1="undefined"!=typeof Promise?Promise:TinyPromise,serverOnlyRequire;try{serverOnlyRequire=eval("require")}catch(err){serverOnlyRequire=function(){return null}}var serverOnlyRequire$1=serverOnlyRequire;function promiseResolve(e){return new Promise$1(function(t){return t(e)})}function tinyFetch(e,t){return void 0===t&&(t={}),new Promise$1(function(n,r){var i=new XMLHttpRequest;if(i.open(t.method||"get",e,!0),t.headers)for(var o in t.headers)i.setRequestHeader(o,t.headers[o]);function s(){var e=[],t=[],n={},r=void 0;return i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(i,o,s){var a=o;return e.push(a=a.toLowerCase()),t.push([a,s]),r=n[a],n[a]=r?"".concat(r,",").concat(s):s,""}),{ok:2==(i.status/100|0),status:i.status,statusText:i.statusText,url:i.responseURL,clone:s,text:function(){return promiseResolve(i.responseText)},json:function(){return promiseResolve(i.responseText).then(JSON.parse)},blob:function(){return promiseResolve(new Blob([i.response]))},headers:{keys:function(){return e},entries:function(){return t},get:function(e){return n[e.toLowerCase()]},has:function(e){return e.toLowerCase()in n}}}}i.withCredentials="include"===t.credentials,i.onload=function(){n(s())},i.onerror=r,i.send(t.body)})}function getFetch(){var e=void 0;if(globalThis.fetch)null!=e||(e=globalThis.fetch);else if("undefined"==typeof window)try{null!=e||(e=serverOnlyRequire$1("node-fetch"))}catch(t){console.warn("node-fetch is not installed. consider polyfilling fetch or installing node-fetch."),console.warn(t)}return null!=e?e:tinyFetch}function assign(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=Object(e),i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(r[s]=o[s])}return r}function throttle(e,t,n){var r,i,o;void 0===n&&(n={});var s=null,a=0,l=function(){a=!1===n.leading?0:Date.now(),s=null,o=e.apply(r,i),s||(r=i=null)};return function(){var u=Date.now();a||!1!==n.leading||(a=u);var c=t-(u-a);return r=this,i=arguments,c<=0||c>t?(s&&(clearTimeout(s),s=null),a=u,o=e.apply(r,i),s||(r=i=null)):s||!1===n.trailing||(s=setTimeout(l,c)),o}}var camelCaseToKebabCase=function(e){return e?e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())}):""},Animator=function(){function e(){}return e.prototype.bindAnimations=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];switch(r.trigger){case"pageLoad":this.triggerAnimation(r);break;case"hover":this.bindHoverAnimation(r);break;case"scrollInView":this.bindScrollInViewAnimation(r)}}},e.prototype.warnElementNotPresent=function(e){console.warn("Cannot animate element: element with ID ".concat(e," not found!"))},e.prototype.augmentAnimation=function(e,t){for(var n=this.getAllStylesUsed(e),r=getComputedStyle(t),i=0,o=[e.steps[0].styles,e.steps[e.steps.length-1].styles];i<o.length;i++)for(var s=o[i],a=0,l=n;a<l.length;a++){var u=l[a];u in s||(s[u]=r[u])}},e.prototype.getAllStylesUsed=function(e){for(var t=[],n=0,r=e.steps;n<r.length;n++){var i=r[n];for(var o in i.styles)-1===t.indexOf(o)&&t.push(o)}return t},e.prototype.triggerAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));n.length?Array.from(n).forEach(function(n){t.augmentAnimation(e,n),n.style.transition="none",n.style.transitionDelay="0",assign(n.style,e.steps[0].styles),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s"),assign(n.style,e.steps[1].styles),setTimeout(function(){n.style.transition="",n.style.transitionDelay=""},1e3*(e.delay||0)+1e3*e.duration+100)})}):this.warnElementNotPresent(e.elementId||e.id||"")},e.prototype.bindHoverAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));n.length?Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var r=e.steps[0].styles,i=e.steps[1].styles;function o(){assign(n.style,r)}o(),n.addEventListener("mouseenter",function(){assign(n.style,i)}),n.addEventListener("mouseleave",o),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")})}):this.warnElementNotPresent(e.elementId||e.id||"")},e.prototype.bindScrollInViewAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));n.length?Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var r=!1,i=!1;function o(){!r&&a(n)?(r=!0,i=!0,setTimeout(function(){assign(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",s),setTimeout(function(){i=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},1e3*(e.duration+(e.delay||0))+100)})):e.repeat&&r&&!i&&!a(n)&&(r=!1,assign(n.style,e.steps[0].styles))}var s=throttle(o,200,{leading:!1});function a(t){var n=t.getBoundingClientRect(),r=window.innerHeight,i=(e.thresholdPercent||0)/100*r;return n.bottom>i&&n.top<r-i}var l=e.steps[0].styles;assign(n.style,l),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",s,{capture:!0,passive:!0}),o()}):this.warnElementNotPresent(e.elementId||e.id||"")},e}();function getTopLevelDomain(e){var t=e.split(".");return t.length>2?t.slice(1).join("."):e}var fieldContentRegExp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Cookies=function(){function e(e,t){this.request=e,this.response=t}return e.prototype.get=function(e){var t=this.request.headers.cookie;if(t){var n=t.match(getPattern(e));if(n)return n[1]}},e.prototype.set=function(e,t,n){var r=this.response,i=this.request,o=r.getHeader("Set-Cookie")||[],s=void 0!==this.secure?!!this.secure:"https"===i.protocol||i.connection.encrypted,a=new Cookie(e,t,n);if("string"==typeof o&&(o=[o]),!s&&n&&n.secure)throw new Error("Cannot send secure cookie over unencrypted connection");return a.secure=s,n&&"secure"in n&&(a.secure=!!n.secure),a.domain=i.headers.host&&getTopLevelDomain(i.headers.host),pushCookie(o,a),r.setHeader.call(r,"Set-Cookie",o),this},e}(),Cookie=function(){function e(e,t,n){if(this.path="/",this.domain=void 0,this.httpOnly=!0,this.sameSite=!1,this.secure=!1,this.overwrite=!1,this.name="",this.value="",!fieldContentRegExp.test(e))throw new TypeError("argument name is invalid");if(t&&!fieldContentRegExp.test(t))throw new TypeError("argument value is invalid");t||(this.expires=new Date(0)),this.name=e,this.value=t||"",n.expires&&(this.expires=n.expires),n.secure&&(this.secure=n.secure)}return e.prototype.toString=function(){return"".concat(this.name,"=").concat(this.value)},e.prototype.toHeader=function(){var e=this.toString();return this.maxAge&&(this.expires=new Date(Date.now()+this.maxAge)),this.path&&(e+="; path=".concat(this.path)),this.expires&&(e+="; expires=".concat(this.expires.toUTCString())),this.domain&&(e+="; domain=".concat(this.domain)),e+="; SameSite=".concat(!0===this.sameSite?"strict":"None"),this.secure&&(e+="; secure"),this.httpOnly&&(e+="; httponly"),e},e}();function getPattern(e){return new RegExp("(?:^|;) *".concat(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"=([^;]*)"))}function pushCookie(e,t){if(t.overwrite)for(var n=e.length-1;n>=0;n--)0===e[n].indexOf("".concat(t.name,"="))&&e.splice(n,1);e.push(t.toHeader())}function omit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=Object.assign({},e),i=0,o=t;i<o.length;i++){delete r[o[i]]}return r}function uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function uuid(){return uuidv4().replace(/-/g,"")}function emptyUrl(){return{query:null,port:null,auth:null,hash:null,host:null,hostname:null,href:null,path:null,pathname:null,protocol:null,search:null,slashes:null}}function parse(e){var t,n=emptyUrl();return""===e||"/"===e[0]?(t=new URL(e,"http://0.0.0.0/"),n.href=t.href,n.href=n.href.slice(14)):(t=new URL(e),n.href=t.href,n.port=""===t.port?null:t.port,n.hash=""===t.hash?null:t.hash,n.host=t.host,n.hostname=t.hostname,n.href=t.href,n.pathname=t.pathname,n.protocol=t.protocol,n.slashes="/"===e[t.protocol.length]),n.search=t.search,n.query=t.search.slice(1),n.path="".concat(t.pathname).concat(t.search),n.pathname=t.pathname,n}function toError(e){return e instanceof Error?e:new Error(String(e))}var DEFAULT_API_VERSION="v1";function datePlusMinutes(e){return void 0===e&&(e=30),new Date(Date.now()+6e4*e)}var isPositiveNumber=function(e){return"number"==typeof e&&!isNaN(e)&&e>=0},isReactNative="object"==typeof navigator&&"ReactNative"===navigator.product,validEnvList=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-prod"];function getQueryParam(e,t){for(var n=(e.split("?")[1]||"").split("&"),r=0;r<n.length;r++){var i=n[r].split("=");if(decodeURIComponent(i[0])===t)return decodeURIComponent(i[1])}return null}var urlParser={parse:function(e){var t=document.createElement("a");t.href=e;for(var n={},r=0,i=["username","password","host","hostname","port","protocol","origin","pathname","search","hash"];r<i.length;r++){var o=i[r];n[o]=t[o]}return!n.pathname&&""!==n.pathname||"string"!=typeof n.pathname||0===n.pathname.indexOf("/")||(n.pathname="/"+n.pathname),n}},parse$1=isReactNative?function(){return emptyUrl()}:"object"==typeof window?urlParser.parse:parse;function setCookie(e,t,n){try{var r="";n&&(r="; expires="+n.toUTCString());var i=!isBrowser||"https:"===location.protocol;document.cookie=e+"="+(t||"")+r+"; path=/"+"; domain=".concat(getTopLevelDomain(location.hostname))+(i?";secure ; SameSite=None":"")}catch(err){console.warn("Could not set cookie",err)}}function getCookie(e){try{return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(err){console.warn("Could not get cookie",err)}}function size(e){return Object.keys(e).length}function find(e,t){for(var n=e,r=n.length>>>0,i=arguments[1],o=0;o<r;o++){var s=n[o];if(t.call(i,s,o,n))return s}}var sessionStorageKey="builderSessionId",localStorageKey="builderVisitorId",isBrowser="undefined"!=typeof window&&!isReactNative,isIframe=isBrowser&&window.top!==window.self;function BuilderComponent(e){return void 0===e&&(e={}),Builder.Component(e)}var Builder=function(){function e(t,n,r,i,o,s){void 0===t&&(t=null),void 0===i&&(i=!1),void 0===o&&(o=null);var a=this;if(this.request=n,this.response=r,this.eventsQueue=[],this.throttledClearEventsQueue=throttle(function(){a.processEventsQueue(),a.setCookie(sessionStorageKey,a.sessionId,datePlusMinutes(30))},5),this.env="production",this.sessionId=this.getSessionId(),this.targetContent=!0,this.contentPerRequest=1,this.allowCustomFonts=!0,this.cookies=null,this.cachebust=!1,this.overrideParams="",this.noCache=!1,this.preview=!1,this.apiVersion$=new BehaviorSubject(void 0),this.canTrack$=new BehaviorSubject(!this.browserTrackingDisabled),this.apiKey$=new BehaviorSubject(null),this.authToken$=new BehaviorSubject(null),this.userAttributesChanged=new BehaviorSubject(null),this.editingMode$=new BehaviorSubject(isIframe),this.editingModel$=new BehaviorSubject(null),this.userAgent="object"==typeof navigator&&navigator.userAgent||"",this.trackingHooks=[],this.visitorId=this.getVisitorId(),this.autoTrack=!!e.isBrowser&&!(this.isDevelopmentEnv||e.isBrowser&&-1!==location.search.indexOf("builder.preview=")),this.trackingUserAttributes={},this.blockContentLoading="",this.observersByKey={},this.noEditorUpdates={},this.overrides={},this.queryOptions={},this.getContentQueue=null,this.priorContentQueue=null,this.testCookiePrefix="builder.tests",this.cookieQueue=[],e.isBrowser&&!i&&e.singletonInstance)return e.singletonInstance;this.request&&this.response&&(this.setUserAgent(this.request.headers["user-agent"]||""),this.cookies=new Cookies(this.request,this.response)),t&&(this.apiKey=t),s&&(this.apiVersion=s),o&&(this.authToken=o),isBrowser&&(this.bindMessageListeners(),e.isEditing&&parent.postMessage({type:"builder.animatorOptions",data:{options:{version:2}}},"*")),isIframe&&this.messageFrameLoaded(),this.canTrack$.subscribe(function(e){if(e){if("undefined"!=typeof sessionStorage)try{sessionStorage.getItem(sessionStorageKey)||sessionStorage.setItem(sessionStorageKey,a.sessionId)}catch(err){console.debug("Session storage error",err)}a.eventsQueue.length&&a.throttledClearEventsQueue(),a.cookieQueue.length&&(a.cookieQueue.forEach(function(e){a.setCookie(e[0],e[1])}),a.cookieQueue.length=0)}}),isBrowser&&(this.setTestsFromUrl(),this.getOverridesFromQueryString())}return e.register=function(t,n){var r=this.registry[t];
2if(r||(r=this.registry[t]=[]),r.push(n),e.isBrowser){var i={type:"builder.register",data:{type:t,info:n}};try{parent.postMessage(i,"*"),parent!==window&&window.postMessage(i,"*")}catch(err){console.debug("Could not postmessage",err)}}this.registryChange.next(this.registry)},e.registerEditor=function(t){if(e.isBrowser){window.postMessage({type:"builder.registerEditor",data:omit(t,"component")},"*");var n=location.hostname;e.isTrustedHost(n)||console.error("Builder.registerEditor() called in the wrong environment! You cannot load custom editors from your app, they must be loaded through the Builder.io app itself. Follow the readme here for more details: https://github.com/builderio/builder/tree/master/plugins/cloudinary or contact chat us in our Spectrum community for help: https://spectrum.chat/builder")}this.editors.push(t)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerAction=function(e){this.actions.push(e)},e.registerTrustedHost=function(e){this.trustedHosts.push(e)},e.isTrustedHost=function(e){return this.trustedHosts.findIndex(function(t){return t.startsWith("*.")?e.endsWith(t.slice(1)):t===e})>-1},e.runAction=function(e){if(!("string"==typeof e?find(this.actions,function(t){return t.name===e}):e))throw new Error("Action not found: ".concat(e))},e.fields=function(e,t){var n;null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.fields",data:{name:e,fields:t}},"*")},e.set=function(t){e.register("editor.settings",t)},e.import=function(t){if(e.isBrowser){var n=window.System;if(n)return n.import("https://cdn.builder.io/systemjs/".concat(t));console.warn("System.js not available. Please include System.js when using Builder.import")}else console.warn("Builder.import used on the server - this should only be used in the browser")},Object.defineProperty(e,"editingPage",{get:function(){return this._editingPage},set:function(e){this._editingPage=e,isBrowser&&isIframe&&(e?document.body.classList.add("builder-editing-page"):document.body.classList.remove("builder-editing-page"))},enumerable:!1,configurable:!0}),e.prepareComponentSpecToSend=function(e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},e),e.inputs&&{inputs:e.inputs.map(function(e){for(var t,n=0,r=["onChange","showIf"];n<r.length;n++){var i=r[n];if(e[i]&&"function"==typeof e[i]){var o=e[i];e=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},e),((t={})[i]="return (".concat(o.toString(),").apply(this, arguments)"),t))}}return e})}),{hooks:Object.keys(e.hooks||{}).reduce(function(t,n){var r=e.hooks&&e.hooks[n];return r?(t[n]="string"==typeof r?r:"return (".concat(r.toString(),").apply(this, arguments)"),t):t},{}),class:void 0})},e.registerBlock=function(e,t){this.registerComponent(e,t)},e.registerComponent=function(e,t){var n,r=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({class:e},e.builderOptions),t);if(this.addComponent(r),t.models&&this.singletonInstance.editingModel?isBrowser&&t.models.includes(this.singletonInstance.editingModel):isBrowser){var i=this.prepareComponentSpecToSend(r);null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.registerComponent",data:i},"*")}},e.addComponent=function(e){var t=find(this.components,function(t){return t.name===e.name});if(t){if(t.class&&!e.class)return;this.components.splice(this.components.indexOf(t),1,e)}else this.components.push(e)},e.component=function(e){var t=this;return void 0===e&&(e={}),function(n){var r,i=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},e),{class:n});i.name||(i.name=n.name),t.addComponent(i);var o=t.prepareComponentSpecToSend(i);return isBrowser&&(null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.registerComponent",data:o},"*")),n}},Object.defineProperty(e,"Component",{get:function(){return this.component},enumerable:!1,configurable:!0}),e.prototype.processEventsQueue=function(){if(this.eventsQueue.length){var t=this.eventsQueue;this.eventsQueue=[];for(var n=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({}
vendor: 13,352 bytes, line 2
2,e.overrideUserAttributes),this.trackingUserAttributes),r=0,i=t;r<i.length;r++){var o=i[r];o.data.metadata||(o.data.metadata={}),o.data.metadata.user||(o.data.metadata.user={}),Object.assign(o.data.metadata.user,n,o.data.metadata.user)}var s=this.host;getFetch()("".concat(s,"/api/v1/track"),{method:"POST",body:JSON.stringify({events:t}),headers:{"content-type":"application/json"},mode:"cors"}).catch(function(){})}},Object.defineProperty(e.prototype,"browserTrackingDisabled",{get:function(){return e.isBrowser&&Boolean(window.builderNoTrack||!navigator.cookieEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canTrack",{get:function(){return this.canTrack$.value},set:function(e){this.canTrack!==e&&this.canTrack$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiVersion",{get:function(){return this.apiVersion$.value},set:function(e){this.apiVersion!==e&&this.apiVersion$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingMode",{get:function(){return this.editingMode$.value},set:function(e){e!==this.editingMode&&this.editingMode$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingModel",{get:function(){return this.editingModel$.value},set:function(e){e!==this.editingModel&&this.editingModel$.next(e)},enumerable:!1,configurable:!0}),e.prototype.findParentElement=function(e,t,n){if(void 0===n&&(n=!0),!(e instanceof HTMLElement))return null;var r=n?e:e.parentElement;do{if(!r)return null;if(t(r))return r}while(r=r.parentElement);return null},e.prototype.findBuilderParent=function(e){return this.findParentElement(e,function(e){var t=e.getAttribute("builder-id")||e.id;return Boolean(t&&0===t.indexOf("builder-"))})},e.prototype.setUserAgent=function(e){this.userAgent=e||""},e.prototype.setTrackingHook=function(e){this.trackingHooks.push(e)},e.prototype.track=function(t,n,r){if(void 0===n&&(n={}),!isIframe&&isBrowser&&!e.isPreviewing){var i=this.apiKey;if(i){for(var o=JSON.parse(JSON.stringify({type:t,data:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},omit(n,"meta")),{metadata:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({sdkVersion:e.VERSION,url:location.href},n.meta),n.metadata),ownerId:i,userAttributes:this.getUserAttributes(),sessionId:this.sessionId,visitorId:this.visitorId})})),s=0,a=this.trackingHooks;s<a.length;s++){var l=(0,a[s])(o,r||{});l&&(o=l)}this.eventsQueue.push(o),this.canTrack&&this.throttledClearEventsQueue()}else console.error('Builder integration error: Looks like the Builder SDK has not been initialized properly (your API key has not been set). Make sure you are calling `builder.init("«YOUR-API-KEY»");` as early as possible in your application\'s code.')}},e.prototype.getSessionId=function(){var t=this,n=null;try{e.isBrowser&&"undefined"!=typeof sessionStorage&&(n=this.getCookie(sessionStorageKey))}catch(err){console.debug("Session storage error",err)}return n||(n=uuid()),e.isBrowser&&setTimeout(function(){try{t.canTrack&&t.setCookie(sessionStorageKey,n,datePlusMinutes(30))}catch(err){console.debug("Cookie setting error",err)}}),n},e.prototype.getVisitorId=function(){var t=this;if(this.visitorId)return this.visitorId;var n=null;try{e.isBrowser&&"undefined"!=typeof localStorage&&(n=localStorage.getItem(localStorageKey))}catch(err){console.debug("Local storage error",err)}return n||(n=uuid()),this.visitorId=n,e.isBrowser&&setTimeout(function(){try{t.canTrack&&"undefined"!=typeof localStorage&&n&&localStorage.setItem(localStorageKey,n)}catch(err){console.debug("Session storage error",err)}}),n},e.prototype.trackImpression=function(t,n,r,i){isIframe||!isBrowser||e.isPreviewing||this.track("impression",{contentId:t,variationId:n!==t?n:void 0,metadata:r},i)},e.prototype.trackConversion=function(t,n,r,i,o){if(!isIframe&&isBrowser&&!e.isPreviewing){var s="object"==typeof n?n:i,a="string"==typeof n?n:void 0;this.track("conversion",{amount:t,variationId:r,meta:s,contentId:a},o)}},Object.defineProperty(e.prototype,"isDevelopmentEnv",{get:function(){return e.isIframe||e.isBrowser&&("localhost"===location.hostname||""!==location.port)||"production"!==this.env},enumerable:!1,configurable:!0}),e.prototype.trackInteraction=function(t,n,r,i,o){if(void 0===r&&(r=!1),!isIframe&&isBrowser&&!e.isPreviewing){var s=i&&i.target,a=s&&this.findBuilderParent(s),l={};if(i){var u=i.clientX,c=i.clientY;if(s){var d=u-(h=s.getBoundingClientRect()).left,_=c-h.top,p=g(d/h.width),f=g(_/h.height);l.targetOffset={x:p,y:f}}if(a){var h;d=u-(h=a.getBoundingClientRect()).left,_=c-h.top,p=g(d/h.width),f=g(_/h.height);l.builderTargetOffset={x:p,y:f}}}var m=a&&(a.getAttribute("builder-id")||a.id);m&&a&&(l.builderElementIndex=[].slice.call(document.getElementsByClassName(m)).indexOf(a)),this.track("click",{contentId:t,metadata:l,variationId:n!==t?n:void 0,unique:!r,targetBuilderElement:m||void 0},o)}function g(e){return Math.round(1e3*e)/1e3}},e.prototype.component=function(t){return void 0===t&&(t={}),e.component(t)},Object.defineProperty(e.prototype,"apiKey",{get:function(){return this.apiKey$.value},set:function(e){this.apiKey$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authToken",{get:function(){return this.authToken$.value},set:function(e){this.authToken$.next(e)},enumerable:!1,configurable:!0}),e.prototype.modifySearch=function(e){return e.replace(/(^|&|\?)(builder_.*?)=/gi,function(e,t,n){return t+n.replace(/_/g,".")+"="})},e.prototype.setTestsFromUrl=function(){var e=this.getLocation().search,t=QueryString.parseDeep(this.modifySearch(e||"").substr(1)),n=t.builder&&t.builder.tests;if(n&&"object"==typeof n)for(var r in n)n.hasOwnProperty(r)&&this.setTestCookie(r,n[r])},e.prototype.resetOverrides=function(){e.overrideUserAttributes={},this.cachebust=!1,this.noCache=!1,this.preview=!1,this.editingModel=null,this.overrides={},this.env="production",this.userAgent="",this.request=void 0,this.response=void 0},e.prototype.getOverridesFromQueryString=function(){var t=this.getLocation(),n=QueryString.parseDeep(this.modifySearch(t.search||"").substr(1)),r=n.builder;if(r){var i=r.userAttributes,o=r.overrides,s=r.env,a=(r.host,r.api),l=r.cachebust,u=r.noCache,c=r.preview,d=r.editing,_=r.frameEditing,p=r.options,f=r.params;if(i&&this.setUserAttributes(i),p&&(this.queryOptions=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},p.locale&&{locale:p.locale}),p.includeRefs&&{includeRefs:p.includeRefs})),o&&(this.overrides=o),validEnvList.indexOf(s||a)>-1&&(this.env=s||a),e.isEditing){var h=_||d||c;h&&"true"!==h&&(this.editingModel=h)}l&&(this.cachebust=!0),u&&(this.noCache=!0),c&&(this.preview=!0),n&&(this.overrideParams=f)}},e.prototype.messageFrameLoaded=function(){var e;null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.loaded",data:{value:!0}},"*")},e.prototype.bindMessageListeners=function(){var t=this;isBrowser&&addEventListener("message",function(n){var r,i,o,s,a,l=parse$1(n.origin),u=-1===["builder.register","builder.registerComponent"].indexOf(null===(r=n.data)||void 0===r?void 0:r.type),c=l.hostname&&e.isTrustedHost(l.hostname);if(!u||c){var d=n.data;if(d)switch(d.type){case"builder.ping":null===(i=window.parent)||void 0===i||i.postMessage({type:"builder.pong",data:{}},"*");break;case"builder.register":if(n.source===window)break;var _=d.data;if(!_)break;var p=_.type,f=_.info,h=e.registry[p];h||(h=e.registry[p]=[]),h.push(f),e.registryChange.next(e.registry);break;case"builder.settingsChange":if(n.source===window)break;var m=d.data;if(!m)break;Object.assign(e.settings,m),e.settingsChange.next(e.settings);break;case"builder.registerEditor":if(n.source===window)break;var g=d.data;if(!g)break;var b=!!g.component;e.editors.every(function(t,n){return g.name!==t.name||(t.component&&!b||(e.editors[n]=t),!1)});break;case"builder.triggerAnimation":e.animator.triggerAnimation(d.data);break;case"builder.contentUpdate":var v=d.data.key||d.data.alias||d.data.entry||d.data.modelName,E=d.data.data,y=t.observersByKey[v];y&&!t.noEditorUpdates[v]&&y.next([E]);break;case"builder.getComponents":null===(o=window.parent)||void 0===o||o.postMessage({type:"builder.components",data:e.components.map(function(t){return e.prepareComponentSpecToSend(t)})},"*");break;case"builder.editingModel":t.editingModel=d.data.model;break;case"builder.registerComponent":var M=d.data;e.addComponent(M);break;case"builder.blockContentLoading":"string"==typeof d.data.model&&(t.blockContentLoading=d.data.model);break;case"builder.editingMode":d.data?(t.editingMode=!0,document.body.classList.add("builder-editing")):(t.editingMode=!1,document.body.classList.remove("builder-editing"));break;case"builder.editingPageMode":var C=d.data;e.editingPage=C;break;case"builder.overrideUserAttributes":var O=d.data;assign(e.overrideUserAttributes,O),t.flushGetContentQueue(!0);break;case"builder.overrideTestGroup":var P=d.data,k=P.variationId,D=P.contentId;k&&D&&(t.setTestCookie(D,k),t.flushGetContentQueue(!0));break;case"builder.evaluate":var w=d.data.text,T=d.data.arguments||[],B=d.data.id,R=new Function(w),I=void 0,A=null;try{I=R.apply(t,T)}catch(err){A=toError(err)}A?null===(s=window.parent)||void 0===s||s.postMessage({type:"builder.evaluateError",data:{id:B,error:A.message}},"*"):I&&"function"==typeof I.then?I.then(function(e){var t;null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.evaluateResult",data:{id:B,result:e}},"*")}).catch(console.error):null===(a=window.parent)||void 0===a||a.postMessage({type:"builder.evaluateResult",data:{result:I,id:B}},"*")}}})},Object.defineProperty(e.prototype,"defaultCanTrack",{get:function(){return Boolean(e.isBrowser&&navigator.userAgent.trim()&&!navigator.userAgent.match(/bot|crawler|spider|robot|crawling|prerender|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantom|headless|selenium|puppeteer/i)&&!this.browserTrackingDisabled)},enumerable:!1,configurable:!0}),e.prototype.init=function(e,t,n,r,i,o){return void 0===t&&(t=this.defaultCanTrack),n&&(this.request=n),r&&(this.response=r),this.canTrack=t,this.apiKey=e,i&&(this.authToken=i),o&&(this.apiVersion=o),this},Object.defineProperty(e.prototype,"previewingModel",{get:function(){var e=this.getLocation().search;return QueryString.parse((e||"").substr(1))["builder.preview"]},enumerable:!1,configurable:!0}),e.prototype.getLocation=function(){var e,t={};return this.request?t=parse$1(null!==(e=this.request.url)&&void 0!==e?e:""):"object"==typeof location&&(t=parse$1(location.href)),""===t.pathname&&(t.pathname="/"),t},e.prototype.getUserAttributes=function(t){void 0===t&&(t=this.userAgent||"");var n={Android:function(){return t.match(/Android/i)},BlackBerry:function(){return t.match(/BlackBerry/i)},iOS:function(){return t.match(/iPhone|iPod/i)},Opera:function(){return t.match(/Opera Mini/i)},Windows:function(){return t.match(/IEMobile/i)||t.match(/WPDesktop/i)},any:function(){return n.Android()||n.BlackBerry()||n.iOS()||n.Opera()||n.Windows()}},r=t.match(/Tablet|iPad/i),i=this.getLocation();return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({urlPath:i.pathname,host:i.host||i.hostname,device:r?"tablet":n.any()?"mobile":"desktop"},e.overrideUserAttributes)},e.prototype.setUserAttributes=function(t){assign(e.overrideUserAttributes,t),this.userAttributesChanged.next(t)},e.prototype.setTrackingUserAttributes=function(e){assign(this.trackingUserAttributes,e)},e.prototype.get=function(t,n){void 0===n&&(n={});var r=this;return e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.authToken&&!this.authToken&&(this.authToken=n.authToken),n.apiVersion&&!this.apiVersion&&(this.apiVersion=n.apiVersion)):(r=new e(n.apiKey||this.apiKey,n.req,n.res,void 0,n.authToken||this.authToken,n.apiVersion||this.apiVersion)).setUserAttributes(this.getUserAttributes()),r.queueGetContent(t,n).map(function(t){var n=t&&t[0];if(e.isStatic)return n;var r=n&&n.data;return r?(void 0!==r.blocksString&&(r.blocks=JSON.parse(r.blocksString),delete r.blocksString),{data:r,id:n.id,variationId:n.testVariationId||n.variationId||null,testVariationId:n.testVariationId||n.variationId||null,testVariationName:n.testVariationName||null,lastUpdated:n.lastUpdated||null}):null})},e.prototype.queueGetContent=function(t,n){var r=this;void 0===n&&(n={});var i=n.key||n.alias||t,o=this.editingModel===t,s=this.observersByKey[i];"DEMO"!==this.apiKey||this.overrides[i]||n.initialContent||(n.initialContent=[]);var a=n.initialContent;if(s&&(!s.value||n.cache))return s.value&&nextTick(function(){s.next(s.value)}),s;if(o&&e.isBrowser&&parent.postMessage({type:"builder.updateContent",data:{options:n}},"*"),!a)if(this.getContentQueue||(this.getContentQueue=[]),this.getContentQueue.push((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},n),{model:t,key:i})),this.getContentQueue&&this.getContentQueue.length>=this.contentPerRequest){var l=this.getContentQueue.slice();this.getContentQueue=[],nextTick(function(){r.flushGetContentQueue(!1,l)})}else nextTick(function(){r.flushGetContentQueue()});var u=new BehaviorSubject(null);return this.observersByKey[i]=u,n.noEditorUpdates&&(this.noEditorUpdates[i]=!0),a&&nextTick(function(){u.next(a)}),u},e.prototype.requestUrl=function(e,t){return getFetch()(e,t).then(function(e){return e.json()})}
2,Object.defineProperty(e.prototype,"host",{get:function(){switch(this.env){case"qa":return"https://qa.builder.io";case"test":return"https://builder-io-test.web.app";case"fast":return"https://fast.builder.io";case"cloud":return"https://cloud.builder.io";case"cdn2":return"https://cdn2.builder.io";case"cdn-qa":return"https://cdn-qa.builder.io";case"development":case"dev":return"http://localhost:5000";case"cdn-prod":return"https://cdn.builder.io";default:return e.overrideHost||"https://cdn.builder.io"}},enumerable:!1,configurable:!0}),e.prototype.flushGetContentQueue=function(t,n){var r=this;if(void 0===t&&(t=!1),!this.apiKey)throw new Error("Fetching content failed, expected apiKey to be defined instead got: ".concat(this.apiKey));if(this.apiVersion){if(!["v1","v3"].includes(this.apiVersion))throw new Error("Invalid apiVersion: expected 'v1' or 'v3', received '".concat(this.apiVersion,"'"))}else this.apiVersion=DEFAULT_API_VERSION;if(t||this.getContentQueue){var i=n||(t?this.priorContentQueue:this.getContentQueue)||[];this.getOverridesFromQueryString();var o=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({omit:i[0].omit||"meta.componentsUsed",apiKey:this.apiKey},i[0].options),this.queryOptions);i[0].fields&&(o.fields=i[0].fields),i[0].format&&(o.format=i[0].format);var s="undefined"!=typeof location?QueryString.parseDeep(location.search.substr(1)):{},a=i&&i[0].userAttributes?i[0].userAttributes:this.targetContent?this.getUserAttributes():{urlPath:this.getLocation().pathname};if(i.find(function(e){return!!e.includeUrl})){var l=this.getLocation();l.origin&&(o.url="".concat(l.origin).concat(l.pathname).concat(l.search))}var u=null==n?void 0:n.find(function(e){return e.url});if((null==u?void 0:u.url)&&(a.urlPath=u.url.split("?")[0]),o.userAttributes=a,t||n||(this.priorContentQueue=i,this.getContentQueue=null),(this.cachebust||isIframe||s.cachebust||s["builder.cachebust"]||"production"!==this.env)&&(o.cachebust=!0),e.isEditing&&(o.isEditing=!0),(this.noCache||"production"!==this.env)&&(o.noCache=!0),size(this.overrides))for(var c in this.overrides)this.overrides.hasOwnProperty(c)&&(o["overrides.".concat(c)]=this.overrides[c]);e.isReact||(o.prerender=!0);for(var d=0,_=i;d<_.length;d++){var p=_[d];p.format&&(o.format=p.format),p.static&&(o.static=p.static),p.cachebust&&(o.cachebust=p.cachebust),isPositiveNumber(p.cacheSeconds)&&(o.cacheSeconds=p.cacheSeconds),isPositiveNumber(p.staleCacheSeconds)&&(o.staleCacheSeconds=p.staleCacheSeconds);for(var f=0,h=["prerender","extractCss","limit","offset","query","preview","model","entry","rev","static"];f<h.length;f++){var m=p[c=h[f]];
2void 0!==m&&(o.options=o.options||{},o.options[p.key]=o.options[p.key]||{},o.options[p.key][c]=JSON.stringify(m))}}this.preview&&(o.preview="true");var g=Object.keys(o).length>0,b=this.host,v=i.map(function(e){return encodeURIComponent(e.key)}).join(",");if(this.overrideParams)assign(o,omit(QueryString.parse(this.overrideParams),"apiKey"));var E=QueryString.stringifyDeep(o),y=o.format,M={headers:{}};this.authToken&&(M.headers=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},M.headers),{Authorization:"Bearer ".concat(this.authToken)}));var C="solid"===y||"react"===y?"codegen":"query",O="query"===C?this.apiVersion:"v1",P="".concat(b,"/api/").concat(O,"/").concat(C,"/").concat(this.apiKey,"/").concat(v)+(o&&g?"?".concat(E):""),k=getFetch()(P,M).then(function(e){return e.json()}).then(function(t){for(var n=0,o=i;n<o.length;n++){var s=o[n],a=s.key;if(s.model!==r.blockContentLoading||s.noEditorUpdates){r.editingModel===s.model&&e.isEditing&&parent.postMessage({type:"builder.updateContent",data:{options:s}},"*");var l=r.observersByKey[a];if(!l)return;var u=t[a],c=u;if(u){var d=e.isServer?c:r.processResultsForTests(c);l.next(d)}else{if((r.getLocation().search||"").includes("builder.preview="+s.model)){l.next([{id:"preview",name:"Preview",data:{}}])}l.next([])}}}},function(e){for(var t=0,n=i;t<n.length;t++){var o=n[t],s=r.observersByKey[o.key];if(!s)return;s.error(e)}});return k}},e.prototype.processResultsForTests=function(e){var t,n=this,r=e.map(function(e){if(!e.variations)return e;var t=n.getTestCookie(e.id),r=t===e.id?e:e.variations[t];if(r)return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},e),{data:r.data,variationId:t,testVariationId:t,testVariationName:r.name});if(n.canTrack&&e.variations&&size(e.variations)){var i=0,o=Math.random();for(var s in e.variations){var a=e.variations[s];if(o<(i+=a.testRatio)){n.setTestCookie(e.id,a.id);var l=a.name||(a.id===e.id?"Default variation":"");return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},e),{data:a.data,variationId:a.id,testVariationId:a.id,variationName:l,testVariationName:l})}}n.setTestCookie(e.id,e.id)}return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({},e),{variationId:e.id}),e.variations&&size(e.variations)&&{testVariationId:e.id,testVariationName:"Default variation"})});return isIframe&&(null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.contentResults",data:{results:r}},"*")),r},e.prototype.getTestCookie=function(e){return this.getCookie("".concat(this.testCookiePrefix,".").concat(e))},e.prototype.setTestCookie=function(e,t){if(this.canTrack){var n=new Date;return n.setDate(n.getDate()+30),this.setCookie("".concat(this.testCookiePrefix,".").concat(e),t,n)}this.cookieQueue.push([e,t])},e.prototype.getCookie=function(t){return this.cookies?this.cookies.get(t):e.isBrowser&&getCookie(t)},e.prototype.setCookie=function(t,n,r){return!this.cookies||e.isServer&&e.isStatic?e.isBrowser&&setCookie(t,n,r):this.cookies.set(t,n,{expires:r,secure:"https:"===this.getLocation().protocol})},e.prototype.getContent=function(e,t){if(void 0===t&&(t={}),!this.apiKey)throw new Error("Fetching content from model ".concat(e," failed, expected apiKey to be defined instead got: ").concat(this.apiKey));return this.queueGetContent(e,t)},e.prototype.getAll=function(t,n){void 0===n&&(n={});var r=this;return e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.apiVersion&&!this.apiVersion&&(this.apiVersion=n.apiVersion)):(r=new e(n.apiKey||this.apiKey,n.req,n.res,!1,null,n.apiVersion||this.apiVersion)).setUserAttributes(this.getUserAttributes()),r.getContent(t,(0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.Cl)({limit:30},n),{key:n.key||e.isBrowser?"".concat(t,":").concat(hash_sum__WEBPACK_IMPORTED_MODULE_0___default()(omit(n,"initialContent","req","res"))):void 0})).promise()},e.VERSION=version,e.components=[],e.isStatic=!0,e.animator=new Animator,e.nextTick=nextTick,e.throttle=throttle,e.editors=[],e.trustedHosts=["*.beta.builder.io","beta.builder.io","builder.io","localhost","qa.builder.io"],e.plugins=[],e.actions=[],e.registry={},e.registryChange=new BehaviorSubject({}),e._editingPage=!1,e.isIframe=isIframe,e.isBrowser=isBrowser,e.isReactNative=isReactNative,e.isServer=!isBrowser&&!isReactNative,e.previewingModel=e.isBrowser&&getQueryParam(location.href,"builder.preview"),e.settings={},e.settingsChange=new BehaviorSubject({}),e.isEditing=Boolean(isIframe&&(document.referrer&&document.referrer.match(/builder\.io|localhost:1234/)||-1!==location.search.indexOf("builder.frameEditing="))),e.isPreviewing=Boolean(isBrowser&&(-1!==location.search.indexOf("builder.preview=")||-1!==location.search.indexOf("builder.frameEditing="))),e.isReact=!1,e.overrideUserAttributes={},e}(),builder=new Builder(null,void 0,void 0,!0);Builder.singletonInstance=builder},79333:function(e,t,n){n.d(t,{Cl:function(){return r}});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)}},97492:function(e,t,n){n.d(t,{Z2:function(){return W},AH:function(){return L},Y:function(){return x}});var r=n(96540);var i=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}
vendor: 6,895 bytes, line 2
2var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,o?0:i.cssRules.length)}catch(s){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}();var o=function(e){function t(e,r,l,u,_){for(var p,f,h,m,E,M=0,C=0,O=0,P=0,k=0,I=0,L=h=p=0,S=0,U=0,W=0,K=0,j=l.length,$=j-1,N="",F="",q="",V="";S<j;){if(f=l.charCodeAt(S),S===$&&0!==C+P+O+M&&(0!==C&&(f=47===C?10:47),P=O=M=0,j++,$++),0===C+P+O+M){if(S===$&&(0<U&&(N=N.replace(d,"")),0<N.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:N+=l.charAt(S)}f=59}switch(f){case 123:for(p=(N=N.trim()).charCodeAt(0),h=1,K=++S;S<j;){switch(f=l.charCodeAt(S)){case 123:h++;break;case 125:h--;break;case 47:switch(f=l.charCodeAt(S+1)){case 42:case 47:e:{for(L=S+1;L<$;++L)switch(l.charCodeAt(L)){case 47:if(42===f&&42===l.charCodeAt(L-1)&&S+2!==L){S=L+1;break e}break;case 10:if(47===f){S=L+1;break e}}S=L}}break;case 91:f++;case 40:f++;case 34:case 39:for(;S++<$&&l.charCodeAt(S)!==f;);}if(0===h)break;S++}if(h=l.substring(K,S),0===p&&(p=(N=N.replace(c,"").trim()).charCodeAt(0)),64===p){switch(0<U&&(N=N.replace(d,"")),f=N.charCodeAt(1)){case 100:case 109:case 115:case 45:U=r;break;default:U=R}if(K=(h=t(r,U,h,f,_+1)).length,0<A&&(E=a(3,h,U=n(R,N,W),r,w,D,K,f,_,u),N=U.join(""),void 0!==E&&0===(K=(h=E.trim()).length)&&(f=0,h="")),0<K)switch(f){case 115:N=N.replace(y,s);case 100:case 109:case 45:h=N+"{"+h+"}";break;case 107:h=(N=N.replace(g,"$1 $2"))+"{"+h+"}",h=1===B||2===B&&o("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=N+h,112===u&&(F+=h,h="")}else h=""}else h=t(r,n(r,N,W),h,u,_+1);q+=h,h=W=U=L=p=0,N="",f=l.charCodeAt(++S);break;case 125:case 59:if(1<(K=(N=(0<U?N.replace(d,""):N).trim()).length))switch(0===L&&(p=N.charCodeAt(0),45===p||96<p&&123>p)&&(K=(N=N.replace(" ",":")).length),0<A&&void 0!==(E=a(1,N,r,e,w,D,F.length,u,_,u))&&0===(K=(N=E.trim()).length)&&(N="\0\0"),p=N.charCodeAt(0),f=N.charCodeAt(1),p){case 0:break;case 64:if(105===f||99===f){V+=N+l.charAt(S);break}default:58!==N.charCodeAt(K-1)&&(F+=i(N,p,f,N.charCodeAt(2)))}W=U=L=p=0,N="",f=l.charCodeAt(++S)}}switch(f){case 13:case 10:47===C?C=0:0===1+p&&107!==u&&0<N.length&&(U=1,N+="\0"),0<A*x&&a(0,N,r,e,w,D,F.length,u,_,u),D=1,w++;break;case 59:case 125:if(0===C+P+O+M){D++;break}default:switch(D++,m=l.charAt(S),f){case 9:case 32:if(0===P+M+C)switch(k){case 44:case 58:case 9:case 32:m="";break;default:32!==f&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===P+C+M&&(U=W=1,m="\f"+m);break;case 108:if(0===P+C+M+T&&0<L)switch(S-L){case 2:112===k&&58===l.charCodeAt(S-3)&&(T=k);case 8:111===I&&(T=I)}break;case 58:0===P+C+M&&(L=S);break;case 44:0===C+O+P+M&&(U=1,m+="\r");break;case 34:case 39:0===C&&(P=P===f?0:0===P?f:P);break;case 91:0===P+C+O&&M++;break;case 93:0===P+C+O&&M--;break;case 41:0===P+C+M&&O--;break;case 40:if(0===P+C+M){if(0===p)if(2*k+3*I==533);else p=1;O++}break;case 64:0===C+O+P+M+L+h&&(h=1);break;case 42:case 47:if(!(0<P+M+O))switch(C){case 0:switch(2*f+3*l.charCodeAt(S+1)){case 235:C=47;break;case 220:K=S,C=42}break;case 42:47===f&&42===k&&K+2!==S&&(33===l.charCodeAt(K+2)&&(F+=l.substring(K,S+1)),m="",C=0)}}0===C&&(N+=m)}I=k,k=f,S++}if(0<(K=F.length)){if(U=r,0<A&&(void 0!==(E=a(2,F,U,e,w,D,K,u,_,u))&&0===(F=E).length))return V+F+q;if(F=U.join(",")+"{"+F+"}",0!==B*T){switch(2!==B||o(F,2)||(T=0),T){case 111:F=F.replace(v,":-moz-$1")+F;break;case 112:F=F.replace(b,"::-webkit-input-$1")+F.replace(b,"::-moz-$1")+F.replace(b,":-ms-input-$1")+F}T=0}}return V+F+q}function n(e,t,n){var i=t.trim().split(h);t=i;var o=i.length,s=e.length;switch(s){case 0:case 1:var a=0;for(e=0===s?"":e[0]+" ";a<o;++a)t[a]=r(e,t[a],n).trim();break;default:var l=a=0;for(t=[];a<o;++a)for(var u=0;u<s;++u)t[l++]=r(e[u]+" ",i[a],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var s=e+";",a=2*t+3*n+4*r;if(944===a){e=s.indexOf(":",9)+1;var l=s.substring(e,s.length-1).trim();return l=s.substring(0,e).trim()+l+";",1===B||2===B&&o(l,1)?"-webkit-"+l+l:l}if(0===B||2===B&&!o(s,1))return s;switch(a){case 1015:return 97===s.charCodeAt(10)?"-webkit-"+s+s:s;case 951:return 116===s.charCodeAt(3)?"-webkit-"+s+s:s;case 963:return 110===s.charCodeAt(5)?"-webkit-"+s+s:s;case 1009:if(100!==s.charCodeAt(4))break;case 969:case 942:return"-webkit-"+s+s;case 978:return"-webkit-"+s+"-moz-"+s+s;case 1019:case 983:return"-webkit-"+s+"-moz-"+s+"-ms-"+s+s;case 883:if(45===s.charCodeAt(8))return"-webkit-"+s+s;if(0<s.indexOf("image-set(",11))return s.replace(k,"$1-webkit-$2")+s;break;case 932:if(45===s.charCodeAt(4))switch(s.charCodeAt(5)){case 103:return"-webkit-box-"+s.replace("-grow","")+"-webkit-"+s+"-ms-"+s.replace("grow","positive")+s;case 115:return"-webkit-"+s+"-ms-"+s.replace("shrink","negative")+s;case 98:return"-webkit-"+s+"-ms-"+s.replace("basis","preferred-size")+s}return"-webkit-"+s+"-ms-"+s+s;case 964:return"-webkit-"+s+"-ms-flex-"+s+s;case 1023:if(99!==s.charCodeAt(8))break;return"-webkit-box-pack"+(l=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+s+"-ms-flex-pack"+l+s;case 1005:return p.test(s)?s.replace(_,":-webkit-")+s.replace(_,":-moz-")+s:s;case 1e3:switch(t=(l=s.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=s.replace(E,"tb");break;case 232:l=s.replace(E,"tb-rl");break;case 220:l=s.replace(E,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+l+s;case 1017:if(-1===s.indexOf("sticky",9))break;case 975:switch(t=(s=e).length-10,a=(l=(33===s.charCodeAt(t)?s.substring(0,t):s).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:s=s.replace(l,"-webkit-"+l)+";"+s;break;case 207:case 102:s=s.replace(l,"-webkit-"+(102<a?"inline-":"")+"box")+";"+s.replace(l,"-webkit-"+l)+";"+s.replace(l,"-ms-"+l+"box")+";"+s}return s+";";case 938:if(45===s.charCodeAt(5))switch(s.charCodeAt(6)){case 105:return l=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+l+"-ms-flex-"+l+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(C,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","").replace(C,"")+s}break;case 973:case 989:if(45!==s.charCodeAt(3)||122===s.charCodeAt(4))break;case 931:case 953:if(!0===P.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCo
vendor: 8,464 bytes, lines 2-3
2deAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):s.replace(l,"-webkit-"+l)+s.replace(l,"-moz-"+l.replace("fill-",""))+s;break;case 962:if(s="-webkit-"+s+(102===s.charCodeAt(5)?"-ms-"+s:"")+s,211===n+r&&105===s.charCodeAt(13)&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+s}return s}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),L(2!==t?r:r.replace(O,"$1"),n,t)}function s(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(M," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,i,o,s,a,l,c){for(var d,_=0,p=t;_<A;++_)switch(d=I[_].call(u,e,p,n,r,i,o,s,a,l,c)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(L=null,e?"function"!=typeof e?B=1:(B=2,L=e):B=0),l}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<A){var i=a(-1,n,r,r,w,D,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(R,r,n,0,0);return 0<A&&(void 0!==(i=a(-2,o,r,r,w,D,o.length,0,0,0))&&(o=i)),T=0,D=w=1,o}var c=/^\0+/g,d=/[\0\r\f]/g,_=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,v=/:(read-only)/g,E=/[svh]\w+-[tblr]{2}/,y=/\(\s*(.*)\s*\)/g,M=/([\s\S]*?);/g,C=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,P=/stretch|:\s*\w+\-(?:conte|avail)/,k=/([^-])(image-set\()/,D=1,w=1,T=0,B=1,R=[],I=[],A=0,L=null,x=0;return u.use=function e(t){switch(t){case void 0:case null:A=I.length=0;break;default:if("function"==typeof t)I[A++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else x=0|!!t}return e},u.set=l,void 0!==e&&l(e),u},s="/*|*/",a=s+"}";function l(e){e&&u.current.insert(e+"}")}var u={current:null},c=function(e,t,n,r,i,o,c,d,_,p){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return u.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===d)return t+s;break;case 3:switch(d){case 102:case 112:return u.current.insert(n[0]+t),"";default:return t+(0===p?s:"")}case-2:t.split(a).forEach(l)}},d=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new o(t);var s,a={};s=e.container||document.head;var l,d=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(d,function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach(function(e){a[e]=!0}),e.parentNode!==s&&s.appendChild(e)}),r.use(e.stylisPlugins)(c),l=function(e,t,n,i){var o=t.name;u.current=n,r(e,t.styles),i&&(_.inserted[o]=!0)};var _={key:n,sheet:new i({key:n,container:s,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:l};return _};n(6221);function _(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "}),r}var p=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert("."+r,i,e.sheet,!0);i=i.next}while(void 0!==i)}};var f=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},h={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var m=/[A-Z]|^ms/g,g=/_EMO_([^_]+?)_([^]*?)_EMO_/g,b=function(e){return 45===e.charCodeAt(1)},v=function(e){return null!=e&&"boolean"!=typeof e},E=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return b(e)?e:e.replace(m,"-$&").toLowerCase()}),y=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(g,function(e,t,n){return C={name:t,styles:n,next:C},t})}return 1===h[e]||b(e)||"number"!=typeof t||0===t?t:t+"px"};function M(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return C={name:n.name,styles:n.styles,next:C},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)C={name:i.name,styles:i.styles,next:C},i=i.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=M(e,t,n[i],!1);else for(var o in n){var s=n[o];if("object"!=typeof s)null!=t&&void 0!==t[s]?r+=o+"{"+t[s]+"}":v(s)&&(r+=E(o)+":"+y(o,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var a=M(e,t,s,!1);switch(o){case"animation":case"animationName":r+=E(o)+":"+a+";";break;default:r+=o+"{"+a+"}"}}else for(var l=0;l<s.length;l++)v(s[l])&&(r+=E(o)+":"+y(o,s[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=C,s=n(e);return C=o,M(e,t,s,r)}}if(null==t)return n;var a=t[n];return void 0===a||r?n:a}var C,O=/label:\s*([^\s;\n{]+)\s*;/g;var P=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";C=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=M(n,t,o,!1)):i+=o[0];for(var s=1;s<e.length;s++)i+=M(n,t,e[s],46===i.charCodeAt(i.length-1)),r&&(i+=o[s]);O.lastIndex=0;for(var a,l="";null!==(a=O.exec(i));)l+="-"+a[1];return{name:f(i)+l,styles:i,next:C}},k=Object.prototype.hasOwnProperty,D=(0,r.createContext)("undefined"!=typeof HTMLElement?d():null),w=(0,r.createContext)({}),T=(D.Provider,function(e){var t=function(t,n){return(0,r.createElement)(D.Consumer,null,function(r){return e(t,r,n)})};return(0,r.forwardRef)(t)}),B="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",R=function(){return null},I=function(e,t,n,i){var o=null===n?t.css:t.css(n);"string"==typeof o&&void 0!==e.registered[o]&&(o=e.registered[o]);var s=t[B],a=[o],l="";"string"==typeof t.className?l=_(e.registered,a,t.className):null!=t.className&&(l=t.className+" ");var u=P(a);p(e,u,"string"==typeof s);l+=e.key+"-"+u.name;var c={};for(var d in t)k.call(t,d)&&"css"!==d&&d!==B&&(c[d]=t[d]);c.ref=i,c.className=l;var f=(0,r.createElement)(s,c),h=(0,r.createElement)(R,null);return(0,r.createElement)(r.Fragment,null,h,f)},A=T(function(e,t,n){return"function"==typeof e.css?(0,r.createElement)(w.Consumer,null,function(r){return I(t,e,r,n)}):I(t,e,null,n)});var L=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return P(t)},x=function(e,t){var n=arguments;if(null==t||!k.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=A,o[1]=function(e,t){var n={};for(var r in t)k.call(t,r)&&(n[r]=t[r]);return n[B]=e,n}(e,t);for(var s=2;s<i;s++)o[s]=n[s];return r.createElement.apply(null,o)},S=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var s=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))s=e(o);else for(var a in s="",o)o[a]&&a&&(s&&(s+=" "),s+=a);break;default:s=o}s&&(i&&(i+=" "),i+=s)}}return i};var U=function(){return null},W=T(function(e,t){return(0,r.createElement)(w.Consumer,null,function(n){var i=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=P(n,t.registered);return p(t,i,!1),t.key+"-"+i.name},o={css:i,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e,t,n){var r=[],i=_(e,r,n);return r.length<2?n:i+t(r)}(t.registered,i,S(n))},theme:n},s=e.children(o);var a=(0,r.createElement)(U,null);return(0,r.createElement)(r.Fragment,null,a,s)})})}}]);
3//# sourceMappingURL=edf39ef38dc349c12d459c92745248dcf7d87f1d-87a0e1cc24b6f54a1403.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.