Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dropins/storefront-order-confirmation

Package Overview
Dependencies
Maintainers
6
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dropins/storefront-order-confirmation - npm Package Compare versions

Comparing version 0.1.0-alpha10 to 0.1.0-alpha11

2

package.json

@@ -1,1 +0,1 @@

{"name": "@dropins/storefront-order-confirmation", "version": "0.1.0-alpha10", "dependencies": { "@dropins/elsie": "0.15.0" } }
{"name": "@dropins/storefront-order-confirmation", "version": "0.1.0-alpha11", "dependencies": { "@dropins/elsie": "0.16.0" } }
/*! For license information please see render.js.LICENSE.txt */
import*as e from"@dropins/elsie/event-bus.js";import*as t from"@dropins/elsie/preact-compat.js";import*as r from"@dropins/elsie/preact-hooks.js";import*as n from"@dropins/elsie/preact-jsx-runtime.js";import*as o from"@dropins/elsie/preact.js";export const id=70;export const ids=[70];export const modules={97:(t,r,n)=>{n.d(r,{s:()=>Ee});var o=n(3474),a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i,i=/^(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/,l=/[\s\n\\/='"\0<>]/,s=/^xlink:?./,c=/["&<]/;function u(e){if(!1===c.test(e+=""))return e;for(var t=0,r=0,n="",o="";r<e.length;r++){switch(e.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=o,t=r+1}return r!==t&&(n+=e.slice(t,r)),n}var p=function(e,t){return String(e).replace(/(\n+)/g,"$1"+(t||"\t"))},f=function(e,t,r){return String(e).length>(t||40)||!r&&-1!==String(e).indexOf("\n")||-1!==String(e).indexOf("<")},d={},y=/([A-Z])/g;function h(e){var t="";for(var r in e){var n=e[r];null!=n&&""!==n&&(t&&(t+=" "),t+="-"==r[0]?r:d[r]||(d[r]=r.replace(y,"-$1").toLowerCase()),t="number"==typeof n&&!1===a.test(r)?t+": "+n+"px;":t+": "+n+";")}return t||void 0}function m(e,t){return Array.isArray(t)?t.reduce(m,e):null!=t&&!1!==t&&e.push(t),e}function v(){this.__d=!0}function b(e,t){return{__v:e,context:t,props:e.props,setState:v,forceUpdate:v,__d:!0,__h:[]}}function g(e,t){var r=e.contextType,n=r&&t[r.__c];return null!=r?n?n.props.value:r.__:t}var x=[];function w(e,t,r,n,a,c){if(null==e||"boolean"==typeof e)return"";if("object"!=typeof e)return"function"==typeof e?"":u(e);var d=r.pretty,y=d&&"string"==typeof d?d:"\t";if(Array.isArray(e)){for(var v="",_=0;_<e.length;_++)d&&_>0&&(v+="\n"),v+=w(e[_],t,r,n,a,c);return v}if(void 0!==e.constructor)return"";var O,j=e.type,S=e.props,k=!1;if("function"==typeof j){if(k=!0,!r.shallow||!n&&!1!==r.renderRootComponent){if(j===o.Fragment){var E=[];return m(E,e.props.children),w(E,t,r,!1!==r.shallowHighOrder,a,c)}var C,P=e.__c=b(e,t);o.options.__b&&o.options.__b(e);var A=o.options.__r;if(j.prototype&&"function"==typeof j.prototype.render){var L=g(j,t);(P=e.__c=new j(S,L)).__v=e,P._dirty=P.__d=!0,P.props=S,null==P.state&&(P.state={}),null==P._nextState&&null==P.__s&&(P._nextState=P.__s=P.state),P.context=L,j.getDerivedStateFromProps?P.state=Object.assign({},P.state,j.getDerivedStateFromProps(P.props,P.state)):P.componentWillMount&&(P.componentWillMount(),P.state=P._nextState!==P.state?P._nextState:P.__s!==P.state?P.__s:P.state),A&&A(e),C=P.render(P.props,P.state,P.context)}else for(var T=g(j,t),I=0;P.__d&&I++<25;)P.__d=!1,A&&A(e),C=j.call(e.__c,S,T);return P.getChildContext&&(t=Object.assign({},t,P.getChildContext())),o.options.diffed&&o.options.diffed(e),w(C,t,r,!1!==r.shallowHighOrder,a,c)}j=(O=j).displayName||O!==Function&&O.name||function(e){var t=(Function.prototype.toString.call(e).match(/^\s*function\s+([^( ]+)/)||"")[1];if(!t){for(var r=-1,n=x.length;n--;)if(x[n]===e){r=n;break}r<0&&(r=x.push(e)-1),t="UnnamedComponent"+r}return t}(O)}var F,D,M="<"+j;if(S){var N=Object.keys(S);r&&!0===r.sortAttributes&&N.sort();for(var R=0;R<N.length;R++){var H=N[R],Z=S[H];if("children"!==H){if(!l.test(H)&&(r&&r.allAttributes||"key"!==H&&"ref"!==H&&"__self"!==H&&"__source"!==H)){if("defaultValue"===H)H="value";else if("defaultChecked"===H)H="checked";else if("defaultSelected"===H)H="selected";else if("className"===H){if(void 0!==S.class)continue;H="class"}else a&&s.test(H)&&(H=H.toLowerCase().replace(/^xlink:?/,"xlink:"));if("htmlFor"===H){if(S.for)continue;H="for"}"style"===H&&Z&&"object"==typeof Z&&(Z=h(Z)),"a"===H[0]&&"r"===H[1]&&"boolean"==typeof Z&&(Z=String(Z));var G=r.attributeHook&&r.attributeHook(H,Z,t,r,k);if(G||""===G)M+=G;else if("dangerouslySetInnerHTML"===H)D=Z&&Z.__html;else if("textarea"===j&&"value"===H)F=Z;else if((Z||0===Z||""===Z)&&"function"!=typeof Z){if(!(!0!==Z&&""!==Z||(Z=H,r&&r.xml))){M=M+" "+H;continue}if("value"===H){if("select"===j){c=Z;continue}"option"===j&&c==Z&&void 0===S.selected&&(M+=" selected")}M=M+" "+H+'="'+u(Z)+'"'}}}else F=Z}}if(d){var U=M.replace(/\n\s*/," ");U===M||~U.indexOf("\n")?d&&~M.indexOf("\n")&&(M+="\n"):M=U}if(M+=">",l.test(j))throw new Error(j+" is not a valid HTML tag name in "+M);var $,z=i.test(j)||r.voidElements&&r.voidElements.test(j),B=[];if(D)d&&f(D)&&(D="\n"+y+p(D,y)),M+=D;else if(null!=F&&m($=[],F).length){for(var V=d&&~M.indexOf("\n"),W=!1,Y=0;Y<$.length;Y++){var Q=$[Y];if(null!=Q&&!1!==Q){var q=w(Q,t,r,!0,"svg"===j||"foreignObject"!==j&&a,c);if(d&&!V&&f(q)&&(V=!0),q)if(d){var J=q.length>0&&"<"!=q[0];W&&J?B[B.length-1]+=q:B.push(q),W=J}else B.push(q)}}if(d&&V)for(var K=B.length;K--;)B[K]="\n"+y+p(B[K],y)}if(B.length||D)M+=B.join("");else if(r&&r.xml)return M.substring(0,M.length-1)+" />";return!z||$||D?(d&&~M.indexOf("\n")&&(M+="\n"),M=M+"</"+j+">"):M=M.replace(/>$/," />"),M}var _={shallow:!0};j.render=j;var O=[];function j(e,t,r){t=t||{};var n=o.options.__s;o.options.__s=!0;var a,i=(0,o.h)(o.Fragment,null);return i.__k=[e],a=r&&(r.pretty||r.voidElements||r.sortAttributes||r.shallow||r.allAttributes||r.xml||r.attributeHook)?w(e,t,r):A(e,t,!1,void 0,i),o.options.__c&&o.options.__c(e,O),o.options.__s=n,O.length=0,a}function S(e){return null==e||"boolean"==typeof e?null:"string"==typeof e||"number"==typeof e||"bigint"==typeof e?(0,o.h)(null,null,e):e}function k(e,t){return"className"===e?"class":"htmlFor"===e?"for":"defaultValue"===e?"value":"defaultChecked"===e?"checked":"defaultSelected"===e?"selected":t&&s.test(e)?e.toLowerCase().replace(/^xlink:?/,"xlink:"):e}function E(e,t){return"style"===e&&null!=t&&"object"==typeof t?h(t):"a"===e[0]&&"r"===e[1]&&"boolean"==typeof t?String(t):t}var C=Array.isArray,P=Object.assign;function A(e,t,r,n,a){if(null==e||!0===e||!1===e||""===e)return"";if("object"!=typeof e)return"function"==typeof e?"":u(e);if(C(e)){var s="";a.__k=e;for(var c=0;c<e.length;c++)s+=A(e[c],t,r,n,a),e[c]=S(e[c]);return s}if(void 0!==e.constructor)return"";e.__=a,o.options.__b&&o.options.__b(e);var p=e.type,f=e.props;if("function"==typeof p){var d;if(p===o.Fragment)d=f.children;else{d=p.prototype&&"function"==typeof p.prototype.render?function(e,t){var r=e.type,n=g(r,t),a=new r(e.props,n);e.__c=a,a.__v=e,a.__d=!0,a.props=e.props,null==a.state&&(a.state={}),null==a.__s&&(a.__s=a.state),a.context=n,r.getDerivedStateFromProps?a.state=P({},a.state,r.getDerivedStateFromProps(a.props,a.state)):a.componentWillMount&&(a.componentWillMount(),a.state=a.__s!==a.state?a.__s:a.state);var i=o.options.__r;return i&&i(e),a.render(a.props,a.state,a.context)}(e,t):function(e,t){var r,n=b(e,t),a=g(e.type,t);e.__c=n;for(var i=o.options.__r,l=0;n.__d&&l++<25;)n.__d=!1,i&&i(e),r=e.type.call(n,e.props,a);return r}(e,t);var y=e.__c;y.getChildContext&&(t=P({},t,y.getChildContext()))}var h=A(d=null!=d&&d.type===o.Fragment&&null==d.key?d.props.children:d,t,r,n,e);return o.options.diffed&&o.options.diffed(e),e.__=void 0,o.options.unmount&&o.options.unmount(e),h}var m,v,x="<";if(x+=p,f)for(var w in m=f.children,f){var _=f[w];if(!("key"===w||"ref"===w||"__self"===w||"__source"===w||"children"===w||"className"===w&&"class"in f||"htmlFor"===w&&"for"in f||l.test(w)))if(_=E(w=k(w,r),_),"dangerouslySetInnerHTML"===w)v=_&&_.__html;else if("textarea"===p&&"value"===w)m=_;else if((_||0===_||""===_)&&"function"!=typeof _){if(!0===_||""===_){_=w,x=x+" "+w;continue}if("value"===w){if("select"===p){n=_;continue}"option"!==p||n!=_||"selected"in f||(x+=" selected")}x=x+" "+w+'="'+u(_)+'"'}}var O=x;if(x+=">",l.test(p))throw new Error(p+" is not a valid HTML tag name in "+x);var j="",L=!1;if(v)j+=v,L=!0;else if("string"==typeof m)j+=u(m),L=!0;else if(C(m)){e.__k=m;for(var T=0;T<m.length;T++){var I=m[T];if(m[T]=S(I),null!=I&&!1!==I){var F=A(I,t,"svg"===p||"foreignObject"!==p&&r,n,e);F&&(j+=F,L=!0)}}}else if(null!=m&&!1!==m&&!0!==m){e.__k=[S(m)];var D=A(m,t,"svg"===p||"foreignObject"!==p&&r,n,e);D&&(j+=D,L=!0)}if(o.options.diffed&&o.options.diffed(e),e.__=void 0,o.options.unmount&&o.options.unmount(e),L)x+=j;else if(i.test(p))return O+" />";return x+"</"+p+">"}j.shallowRender=function(e,t){return j(e,t,_)};const L=j;var T=n(1177),I=n(7188);function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function D(){D=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof v?t:v,i=Object.create(a.prototype),l=new A(n||[]);return o(i,"_invoke",{value:k(e,r,l)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",d="suspendedYield",y="executing",h="completed",m={};function v(){}function b(){}function g(){}var x={};c(x,i,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(L([])));_&&_!==r&&n.call(_,i)&&(x=_);var O=g.prototype=v.prototype=Object.create(x);function j(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,a,i,l){var s=p(e[o],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==F(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function k(t,r,n){var o=f;return function(a,i){if(o===y)throw new Error("Generator is already running");if(o===h){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var s=E(l,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?h:d,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=h,n.method="throw",n.arg=c.arg)}}}function E(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=p(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(F(t)+" is not iterable")}return b.prototype=g,o(O,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:b,configurable:!0}),b.displayName=c(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,s,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},j(S.prototype),c(S.prototype,l,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new S(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},j(O),c(O,s,"Generator"),c(O,i,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=L,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return l.type="throw",l.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function R(e,t,r){return(t=U(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}function Z(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){H(a,n,o,i,l,"next",e)}function l(e){H(a,n,o,i,l,"throw",e)}i(void 0)}))}}function G(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,U(n.key),n)}}function U(e){var t=function(e,t){if("object"!==F(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==F(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===F(t)?t:String(t)}var $=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._provider=t}var t,r,n,a;return t=e,r=[{key:"render",value:function(e,t){var r=this;return function(){var n=Z(D().mark((function n(a){var i,l,s;return D().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e){n.next=2;break}throw new Error("Component is not defined");case 2:if(a){n.next=4;break}throw new Error("Root element is not defined");case 4:return n.next=6,null===(l=e.getInitialData)||void 0===l?void 0:l.call(e,t);case 6:if(n.t1=i=n.sent,n.t0=null!==n.t1,!n.t0){n.next=10;break}n.t0=void 0!==i;case 10:if(!n.t0){n.next=14;break}n.t2=i,n.next=15;break;case 14:n.t2={};case 15:s=n.t2,(0,o.render)((0,I.jsx)(T.F,N(N({node:r._provider},r._provider.props),{},{children:(0,I.jsx)(e,N(N({},t),{},{initialData:s}))})),a);case 17:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}},{key:"toString",value:(a=Z(D().mark((function e(t,r,n){var o,a,i;return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new Error("Component is not defined");case 2:return e.next=4,null===(a=t.getInitialData)||void 0===a?void 0:a.call(t,r);case 4:if(e.t1=o=e.sent,e.t0=null!==e.t1,!e.t0){e.next=8;break}e.t0=void 0!==o;case 8:if(!e.t0){e.next=12;break}e.t2=o,e.next=13;break;case 12:e.t2={};case 13:return i=e.t2,e.abrupt("return",L((0,I.jsx)(T.F,N(N({node:this._provider},this._provider.props),{},{children:(0,I.jsx)(t,N(N({},r),{},{initialData:i}))})),{},N({},n)));case 15:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return a.apply(this,arguments)})}],r&&G(t.prototype,r),n&&G(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),z=n(5437),B=n(4853),V=n(1857),W=n.n(V),Y=n(5587);const Q=JSON.parse('{"Elsie":{"ExampleComponentName":{"item":{"label":"string"}},"Incrementer":{"decreaseLabel":"Decrease Quantity","increaseLabel":"Increase Quantity","label":"Quantity"},"Modal":{"Close":{"label":"Close"}},"InlineAlert":{"dismissLabel":"Dismiss Alert"},"PriceSummary":{"subTotal":{"label":"Subtotal","withTaxes":"Including taxes"},"shipping":{"label":"Shipping","estimated":"Estimated Shipping","estimatedZip":"Estimated Shipping to ","zipLinkAriaLabel":"Change zip code","withTaxes":"Including taxes"},"taxes":{"total":"Tax Total","totalOnly":"Tax","breakdown":"Taxes","showBreakdown":"Show Tax Breakdown","hideBreakdown":"Hide Tax Breakdown"},"total":{"estimated":"Estimated Total","label":"Total","withoutTax":"Total excluding taxes"}},"PriceRange":{"from":{"label":"From"},"to":{"label":"to"},"asLowAs":{"label":"As low as"}},"Swatches":{"outOfStock":{"label":"out of stock swatch"},"selected":{"label":"swatch selected"},"swatch":{"label":"swatch"}},"Accordion":{"open":{"label":"Open"},"close":{"label":"Close"}},"CartItem":{"remove":{"label":"Remove Item"},"quantity":{"label":"Quantity"},"taxIncluded":{"label":"incl. VAT"},"each":{"label":"each"}}}}');var q=n(9724),J={default:Q,en_US:Q},K=n(1892),X=n.n(K),ee=n(5760),te=n.n(ee),re=n(8311),ne=n.n(re),oe=n(8192),ae=n.n(oe),ie=n(8060),le=n.n(ie),se=n(4865),ce=n.n(se),ue=n(9147),pe={};pe.styleTagTransform=ce(),pe.setAttributes=ae(),pe.insert=ne().bind(null,"head"),pe.domAPI=te(),pe.insertStyleElement=le();X()(ue.Z,pe);ue.Z&&ue.Z.locals&&ue.Z.locals;var fe=n(869),de={};de.styleTagTransform=ce(),de.setAttributes=ae(),de.insert=ne().bind(null,"head"),de.domAPI=te(),de.insertStyleElement=le();X()(fe.Z,de);fe.Z&&fe.Z.locals&&fe.Z.locals;function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}var he=["lang","langDefinitions","className","children"];function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){be(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function be(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==ye(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ye(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ye(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ge(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var xe=(0,B.createContext)({locale:"en-US"}),we=function(e){var t,r=e.lang,n=void 0===r?"en_US":r,o=e.langDefinitions,a=void 0===o?{}:o,i=e.className,l=e.children,s=ge(e,he),c=W()(a.default,null!==(t=a[n])&&void 0!==t?t:{}),u=W()(function(e){return W()(J.default,J[e]||{})}(n),c);return(0,I.jsx)(xe.Provider,{value:{locale:n.replace("_","-")},children:(0,I.jsx)(q.Pj,{definition:u,children:(0,I.jsx)("div",ve(ve({},s),{},{className:(0,Y.S)(["elsie-base-design",i]),children:l}))})})};const _e=(e=>{var t={};return n.d(t,e),t})({events:()=>e.events});function Oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return je(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}_e.events.enableLogger(!0);var Se={default:n(7770)},ke=function(e){var t=e.children,r=Oe((0,z.useState)("en_US"),2),n=r[0],o=r[1];return(0,z.useEffect)((function(){var e=_e.events.on("locale",(function(e){o(e)}),{eager:!0});return function(){e.off()}}),[]),(0,I.jsx)(we,{lang:n,langDefinitions:Se,children:t})},Ee=new $((0,I.jsx)(ke,{}))},9147:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(4933),o=r.n(n),a=r(3476),i=r.n(a)()(o());i.push([e.id,".elsie-base-design{\n --color-brand-500:#454545;\n --color-brand-600:#383838;\n --color-brand-700:#2b2b2b;\n --color-neutral-50:#ffffff;\n --color-neutral-100:#fafafa;\n --color-neutral-200:#f5f5f5;\n --color-neutral-300:#e8e8e8;\n --color-neutral-400:#d6d6d6;\n --color-neutral-500:#b8b8b8;\n --color-neutral-600:#8f8f8f;\n --color-neutral-700:#666666;\n --color-neutral-800:#3d3d3d;\n --color-neutral-900:#292929;\n --color-positive-200:#eff5ef;\n --color-positive-500:#7fb078;\n --color-positive-800:#53824c;\n --color-informational-200:#eeeffb;\n --color-informational-500:#6978d9;\n --color-informational-800:#5d6dd6;\n --color-warning-200:#fdf3e9;\n --color-warning-500:#e79f5c;\n --color-warning-800:#cc7a2e;\n --color-alert-200:#ffebeb;\n --color-alert-500:#db7070;\n --color-alert-800:#c35050;\n --color-button-active:var(--color-brand-700);\n --color-button-focus:var(--color-neutral-400);\n --color-button-hover:var(--color-brand-600);\n --color-action-button-active:var(--color-neutral-50);\n --color-action-button-hover:var(--color-neutral-300);\n --color-opacity-16:rgba(255, 255, 255, 0.16);\n --color-opacity-24:rgba(255, 255, 255, 0.24);\n --grid-1-columns:4;\n --grid-1-margins:0;\n --grid-1-gutters:16px;\n --grid-2-columns:12;\n --grid-2-margins:0;\n --grid-2-gutters:16px;\n --grid-3-columns:12;\n --grid-3-margins:0;\n --grid-3-gutters:24px;\n --grid-4-columns:12;\n --grid-4-margins:0;\n --grid-4-gutters:24px;\n --grid-5-columns:12;\n --grid-5-margins:0;\n --grid-5-gutters:24px;\n --shape-border-radius-1:3px;\n --shape-border-radius-2:8px;\n --shape-border-radius-3:24px;\n --shape-border-width-1:1px;\n --shape-border-width-2:1.5px;\n --shape-border-width-3:2px;\n --shape-border-width-4:4px;\n --shape-shadow-1:0 0 16px 0 rgba(0, 0, 0, 0.16);\n --shape-shadow-2:0 2px 16px 0 rgba(0, 0, 0, 0.16);\n --shape-shadow-3:0 2px 3px 0 rgba(0, 0, 0, 0.16);\n --shape-icon-stroke-1:1px;\n --shape-icon-stroke-2:1.5px;\n --shape-icon-stroke-3:2px;\n --shape-icon-stroke-4:4px;\n --spacing-xxsmall:4px;\n --spacing-xsmall:8px;\n --spacing-small:16px;\n --spacing-medium:24px;\n --spacing-big:32px;\n --spacing-xbig:40px;\n --spacing-xxbig:48px;\n --spacing-large:64px;\n --spacing-xlarge:72px;\n --spacing-xxlarge:96px;\n --spacing-huge:120px;\n --spacing-xhuge:144px;\n --spacing-xxhuge:192px;\n --type-base-font-family:system-ui, sans-serif;\n --type-display-1-font:normal normal 300 60px/72px var(--type-base-font-family);\n --type-display-1-letter-spacing:0.04em;\n --type-display-2-font:normal normal 300 48px/56px var(--type-base-font-family);\n --type-display-2-letter-spacing:0.04em;\n --type-display-3-font:normal normal 300 34px/40px var(--type-base-font-family);\n --type-display-3-letter-spacing:0.04em;\n --type-headline-1-font:normal normal 400 24px/32px var(--type-base-font-family);\n --type-headline-1-letter-spacing:0.04em;\n --type-headline-2-default-font:normal normal 300 20px/24px var(--type-base-font-family);\n --type-headline-2-default-letter-spacing:0.04em;\n --type-headline-2-strong-font:normal normal 400 20px/24px var(--type-base-font-family);\n --type-headline-2-strong-letter-spacing:0.04em;\n --type-body-1-default-font:normal normal 300 16px/24px var(--type-base-font-family);\n --type-body-1-default-letter-spacing:0.04em;\n --type-body-1-strong-font:normal normal 400 16px/24px var(--type-base-font-family);\n --type-body-1-strong-letter-spacing:0.04em;\n --type-body-1-emphasized-font:normal normal 700 16px/24px var(--type-base-font-family);\n --type-body-1-emphasized-letter-spacing:0.04em;\n --type-body-2-default-font:normal normal 300 14px/20px var(--type-base-font-family);\n --type-body-2-default-letter-spacing:0.04em;\n --type-body-2-strong-font:normal normal 400 14px/20px var(--type-base-font-family);\n --type-body-2-strong-letter-spacing:0.04em;\n --type-body-2-emphasized-font:normal normal 700 14px/20px var(--type-base-font-family);\n --type-body-2-emphasized-letter-spacing:0.04em;\n --type-button-1-font:normal normal 400 20px/26px var(--type-base-font-family);\n --type-button-1-letter-spacing:0.08em;\n --type-button-2-font:normal normal 400 16px/24px var(--type-base-font-family);\n --type-button-2-letter-spacing:0.08em;\n --type-details-caption-1-font:normal normal 400 12px/16px var(--type-base-font-family);\n --type-details-caption-1-letter-spacing:0.08em;\n --type-details-caption-2-font:normal normal 300 12px/16px var(--type-base-font-family);\n --type-details-caption-2-letter-spacing:0.08em;\n --type-details-overline-font:normal normal 400 12px/20px var(--type-base-font-family);\n --type-details-overline-letter-spacing:0.16em;\n}\n",""]);const l=i},869:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(4933),o=r.n(n),a=r(3476),i=r.n(a)()(o());i.push([e.id,".elsie-base-design a{\n --textColor:var(--color-brand-500);\n color:var(--textColor);\n text-decoration:none;\n}\n\n.elsie-base-design a:hover{\n --textColor:var(--color-brand-700);\n text-decoration:solid underline var(--textColor);\n text-underline-offset:6px;\n}\n\n.elsie-base-design a:focus-visible{\n outline:solid var(--shape-border-width-4) var(--color-neutral-400);\n border:var(--shape-border-width-1) solid var(--color-neutral-800);\n border-radius:var(--shape-border-radius-1);\n}\n",""]);const l=i},1857:e=>{var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function o(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function i(e,t){try{return t in e}catch(e){return!1}}function l(e,t,r){var o={};return r.isMergeableObject(e)&&a(e).forEach((function(t){o[t]=n(e[t],r)})),a(t).forEach((function(a){(function(e,t){return i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(i(e,a)&&r.isMergeableObject(t[a])?o[a]=function(e,t){if(!t.customMerge)return s;var r=t.customMerge(e);return"function"==typeof r?r:s}(a,r)(e[a],t[a],r):o[a]=n(t[a],r))})),o}function s(e,r,a){(a=a||{}).arrayMerge=a.arrayMerge||o,a.isMergeableObject=a.isMergeableObject||t,a.cloneUnlessOtherwiseSpecified=n;var i=Array.isArray(r);return i===Array.isArray(e)?i?a.arrayMerge(e,r,a):l(e,r,a):n(r,a)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return s(e,r,t)}),{})};var c=s;e.exports=c},4853:(e,r,n)=>{e.exports=(e=>{var t={};return n.d(t,e),t})({createContext:()=>t.createContext,useCallback:()=>t.useCallback,useEffect:()=>t.useEffect,useReducer:()=>t.useReducer})},5437:(e,t,n)=>{e.exports=(e=>{var t={};return n.d(t,e),t})({useCallback:()=>r.useCallback,useContext:()=>r.useContext,useDebugValue:()=>r.useDebugValue,useEffect:()=>r.useEffect,useId:()=>r.useId,useImperativeHandle:()=>r.useImperativeHandle,useLayoutEffect:()=>r.useLayoutEffect,useMemo:()=>r.useMemo,useReducer:()=>r.useReducer,useRef:()=>r.useRef,useState:()=>r.useState})},4142:(e,t,r)=>{e.exports=(e=>{var t={};return r.d(t,e),t})({Fragment:()=>n.Fragment,jsx:()=>n.jsx,jsxs:()=>n.jsxs})},3474:(e,t,r)=>{e.exports=(e=>{var t={};return r.d(t,e),t})({Component:()=>o.Component,Fragment:()=>o.Fragment,cloneElement:()=>o.cloneElement,createContext:()=>o.createContext,createElement:()=>o.createElement,createRef:()=>o.createRef,h:()=>o.h,hydrate:()=>o.hydrate,options:()=>o.options,render:()=>o.render,toChildArray:()=>o.toChildArray})},7770:e=>{e.exports=JSON.parse('{"OrderConfirmation":{"Header":{"title":"{{name}}, thank you for your order!","defaultTitle":"Thank you for your order!","order":"ORDER #{{order}}"},"InlineAlert":{"dismissLabel":"Dismiss Alert"},"OrderSearchForm":{"title":"Enter your information to view order details","description":"You can find your order number in the receipt you received via email.","button":"View Order","email":"Email","postcode":"Zip Code","orderNumber":"Order Number"},"OrderSummary":{"title":"Order summary","total":"Total","totalExclTax":"Total excluding taxes","subtotal":"Subtotal","tax":"Tax","taxTotal":"Tax total","taxBreakdown":"Taxes","includingTaxes":"Including taxes","shipping":"Shipping","freeShipping":"Free shipping"},"Message":{"title":"Your order is confirmed","description":"We have successfully processed your order and will be soon prepared for shipping. <br /> You will also receive an email with details and we will let you know when your order has shipped."},"Details":{"title":"Order details","contact":"Contact details","shippingAddress":"Shipping address","billingAddress":"Billing address","shippingMethod":"Shipping method","freeShipping":"Free shipping","paymentMethod":"Payment method"},"Footer":{"continueShopping":"Continue shopping","help":"Need help?","contactSupport":"Contact us"},"Errors":{"invalidOrder":"Invalid order. Please try again.","invalidSearch":"No order found with these order details.","unknown":"Something went wrong. Please try again."},"ServerError":{"title":"Page not found","pageNotFound":"This link is not valid. To view order details, click the link in your email.","button":"Go to homepage","contactSupport":"If you need assistance with your order contact the Support team."}}}')}};import a from"./runtime.js";import*as i from"./914.js";a.C(i);import*as l from"./render.js";a.C(l);var s,c=(s=97,a(a.s=s)).s;export{c as render};
import*as e from"@dropins/elsie/event-bus.js";import*as t from"@dropins/elsie/preact-compat.js";import*as r from"@dropins/elsie/preact-hooks.js";import*as n from"@dropins/elsie/preact-jsx-runtime.js";import*as o from"@dropins/elsie/preact.js";export const id=70;export const ids=[70];export const modules={97:(t,r,n)=>{n.d(r,{s:()=>Ee});var o=n(3474),a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i,i=/^(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/,l=/[\s\n\\/='"\0<>]/,s=/^xlink:?./,c=/["&<]/;function u(e){if(!1===c.test(e+=""))return e;for(var t=0,r=0,n="",o="";r<e.length;r++){switch(e.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=o,t=r+1}return r!==t&&(n+=e.slice(t,r)),n}var p=function(e,t){return String(e).replace(/(\n+)/g,"$1"+(t||"\t"))},f=function(e,t,r){return String(e).length>(t||40)||!r&&-1!==String(e).indexOf("\n")||-1!==String(e).indexOf("<")},d={},y=/([A-Z])/g;function h(e){var t="";for(var r in e){var n=e[r];null!=n&&""!==n&&(t&&(t+=" "),t+="-"==r[0]?r:d[r]||(d[r]=r.replace(y,"-$1").toLowerCase()),t="number"==typeof n&&!1===a.test(r)?t+": "+n+"px;":t+": "+n+";")}return t||void 0}function m(e,t){return Array.isArray(t)?t.reduce(m,e):null!=t&&!1!==t&&e.push(t),e}function b(){this.__d=!0}function v(e,t){return{__v:e,context:t,props:e.props,setState:b,forceUpdate:b,__d:!0,__h:[]}}function g(e,t){var r=e.contextType,n=r&&t[r.__c];return null!=r?n?n.props.value:r.__:t}var x=[];function w(e,t,r,n,a,c){if(null==e||"boolean"==typeof e)return"";if("object"!=typeof e)return"function"==typeof e?"":u(e);var d=r.pretty,y=d&&"string"==typeof d?d:"\t";if(Array.isArray(e)){for(var b="",_=0;_<e.length;_++)d&&_>0&&(b+="\n"),b+=w(e[_],t,r,n,a,c);return b}if(void 0!==e.constructor)return"";var O,j=e.type,S=e.props,k=!1;if("function"==typeof j){if(k=!0,!r.shallow||!n&&!1!==r.renderRootComponent){if(j===o.Fragment){var E=[];return m(E,e.props.children),w(E,t,r,!1!==r.shallowHighOrder,a,c)}var C,P=e.__c=v(e,t);o.options.__b&&o.options.__b(e);var A=o.options.__r;if(j.prototype&&"function"==typeof j.prototype.render){var L=g(j,t);(P=e.__c=new j(S,L)).__v=e,P._dirty=P.__d=!0,P.props=S,null==P.state&&(P.state={}),null==P._nextState&&null==P.__s&&(P._nextState=P.__s=P.state),P.context=L,j.getDerivedStateFromProps?P.state=Object.assign({},P.state,j.getDerivedStateFromProps(P.props,P.state)):P.componentWillMount&&(P.componentWillMount(),P.state=P._nextState!==P.state?P._nextState:P.__s!==P.state?P.__s:P.state),A&&A(e),C=P.render(P.props,P.state,P.context)}else for(var T=g(j,t),I=0;P.__d&&I++<25;)P.__d=!1,A&&A(e),C=j.call(e.__c,S,T);return P.getChildContext&&(t=Object.assign({},t,P.getChildContext())),o.options.diffed&&o.options.diffed(e),w(C,t,r,!1!==r.shallowHighOrder,a,c)}j=(O=j).displayName||O!==Function&&O.name||function(e){var t=(Function.prototype.toString.call(e).match(/^\s*function\s+([^( ]+)/)||"")[1];if(!t){for(var r=-1,n=x.length;n--;)if(x[n]===e){r=n;break}r<0&&(r=x.push(e)-1),t="UnnamedComponent"+r}return t}(O)}var F,D,M="<"+j;if(S){var N=Object.keys(S);r&&!0===r.sortAttributes&&N.sort();for(var R=0;R<N.length;R++){var H=N[R],Z=S[H];if("children"!==H){if(!l.test(H)&&(r&&r.allAttributes||"key"!==H&&"ref"!==H&&"__self"!==H&&"__source"!==H)){if("defaultValue"===H)H="value";else if("defaultChecked"===H)H="checked";else if("defaultSelected"===H)H="selected";else if("className"===H){if(void 0!==S.class)continue;H="class"}else a&&s.test(H)&&(H=H.toLowerCase().replace(/^xlink:?/,"xlink:"));if("htmlFor"===H){if(S.for)continue;H="for"}"style"===H&&Z&&"object"==typeof Z&&(Z=h(Z)),"a"===H[0]&&"r"===H[1]&&"boolean"==typeof Z&&(Z=String(Z));var G=r.attributeHook&&r.attributeHook(H,Z,t,r,k);if(G||""===G)M+=G;else if("dangerouslySetInnerHTML"===H)D=Z&&Z.__html;else if("textarea"===j&&"value"===H)F=Z;else if((Z||0===Z||""===Z)&&"function"!=typeof Z){if(!(!0!==Z&&""!==Z||(Z=H,r&&r.xml))){M=M+" "+H;continue}if("value"===H){if("select"===j){c=Z;continue}"option"===j&&c==Z&&void 0===S.selected&&(M+=" selected")}M=M+" "+H+'="'+u(Z)+'"'}}}else F=Z}}if(d){var U=M.replace(/\n\s*/," ");U===M||~U.indexOf("\n")?d&&~M.indexOf("\n")&&(M+="\n"):M=U}if(M+=">",l.test(j))throw new Error(j+" is not a valid HTML tag name in "+M);var $,z=i.test(j)||r.voidElements&&r.voidElements.test(j),B=[];if(D)d&&f(D)&&(D="\n"+y+p(D,y)),M+=D;else if(null!=F&&m($=[],F).length){for(var V=d&&~M.indexOf("\n"),W=!1,Y=0;Y<$.length;Y++){var Q=$[Y];if(null!=Q&&!1!==Q){var q=w(Q,t,r,!0,"svg"===j||"foreignObject"!==j&&a,c);if(d&&!V&&f(q)&&(V=!0),q)if(d){var J=q.length>0&&"<"!=q[0];W&&J?B[B.length-1]+=q:B.push(q),W=J}else B.push(q)}}if(d&&V)for(var K=B.length;K--;)B[K]="\n"+y+p(B[K],y)}if(B.length||D)M+=B.join("");else if(r&&r.xml)return M.substring(0,M.length-1)+" />";return!z||$||D?(d&&~M.indexOf("\n")&&(M+="\n"),M=M+"</"+j+">"):M=M.replace(/>$/," />"),M}var _={shallow:!0};j.render=j;var O=[];function j(e,t,r){t=t||{};var n=o.options.__s;o.options.__s=!0;var a,i=(0,o.h)(o.Fragment,null);return i.__k=[e],a=r&&(r.pretty||r.voidElements||r.sortAttributes||r.shallow||r.allAttributes||r.xml||r.attributeHook)?w(e,t,r):A(e,t,!1,void 0,i),o.options.__c&&o.options.__c(e,O),o.options.__s=n,O.length=0,a}function S(e){return null==e||"boolean"==typeof e?null:"string"==typeof e||"number"==typeof e||"bigint"==typeof e?(0,o.h)(null,null,e):e}function k(e,t){return"className"===e?"class":"htmlFor"===e?"for":"defaultValue"===e?"value":"defaultChecked"===e?"checked":"defaultSelected"===e?"selected":t&&s.test(e)?e.toLowerCase().replace(/^xlink:?/,"xlink:"):e}function E(e,t){return"style"===e&&null!=t&&"object"==typeof t?h(t):"a"===e[0]&&"r"===e[1]&&"boolean"==typeof t?String(t):t}var C=Array.isArray,P=Object.assign;function A(e,t,r,n,a){if(null==e||!0===e||!1===e||""===e)return"";if("object"!=typeof e)return"function"==typeof e?"":u(e);if(C(e)){var s="";a.__k=e;for(var c=0;c<e.length;c++)s+=A(e[c],t,r,n,a),e[c]=S(e[c]);return s}if(void 0!==e.constructor)return"";e.__=a,o.options.__b&&o.options.__b(e);var p=e.type,f=e.props;if("function"==typeof p){var d;if(p===o.Fragment)d=f.children;else{d=p.prototype&&"function"==typeof p.prototype.render?function(e,t){var r=e.type,n=g(r,t),a=new r(e.props,n);e.__c=a,a.__v=e,a.__d=!0,a.props=e.props,null==a.state&&(a.state={}),null==a.__s&&(a.__s=a.state),a.context=n,r.getDerivedStateFromProps?a.state=P({},a.state,r.getDerivedStateFromProps(a.props,a.state)):a.componentWillMount&&(a.componentWillMount(),a.state=a.__s!==a.state?a.__s:a.state);var i=o.options.__r;return i&&i(e),a.render(a.props,a.state,a.context)}(e,t):function(e,t){var r,n=v(e,t),a=g(e.type,t);e.__c=n;for(var i=o.options.__r,l=0;n.__d&&l++<25;)n.__d=!1,i&&i(e),r=e.type.call(n,e.props,a);return r}(e,t);var y=e.__c;y.getChildContext&&(t=P({},t,y.getChildContext()))}var h=A(d=null!=d&&d.type===o.Fragment&&null==d.key?d.props.children:d,t,r,n,e);return o.options.diffed&&o.options.diffed(e),e.__=void 0,o.options.unmount&&o.options.unmount(e),h}var m,b,x="<";if(x+=p,f)for(var w in m=f.children,f){var _=f[w];if(!("key"===w||"ref"===w||"__self"===w||"__source"===w||"children"===w||"className"===w&&"class"in f||"htmlFor"===w&&"for"in f||l.test(w)))if(_=E(w=k(w,r),_),"dangerouslySetInnerHTML"===w)b=_&&_.__html;else if("textarea"===p&&"value"===w)m=_;else if((_||0===_||""===_)&&"function"!=typeof _){if(!0===_||""===_){_=w,x=x+" "+w;continue}if("value"===w){if("select"===p){n=_;continue}"option"!==p||n!=_||"selected"in f||(x+=" selected")}x=x+" "+w+'="'+u(_)+'"'}}var O=x;if(x+=">",l.test(p))throw new Error(p+" is not a valid HTML tag name in "+x);var j="",L=!1;if(b)j+=b,L=!0;else if("string"==typeof m)j+=u(m),L=!0;else if(C(m)){e.__k=m;for(var T=0;T<m.length;T++){var I=m[T];if(m[T]=S(I),null!=I&&!1!==I){var F=A(I,t,"svg"===p||"foreignObject"!==p&&r,n,e);F&&(j+=F,L=!0)}}}else if(null!=m&&!1!==m&&!0!==m){e.__k=[S(m)];var D=A(m,t,"svg"===p||"foreignObject"!==p&&r,n,e);D&&(j+=D,L=!0)}if(o.options.diffed&&o.options.diffed(e),e.__=void 0,o.options.unmount&&o.options.unmount(e),L)x+=j;else if(i.test(p))return O+" />";return x+"</"+p+">"}j.shallowRender=function(e,t){return j(e,t,_)};const L=j;var T=n(1177),I=n(7188);function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function D(){D=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof b?t:b,i=Object.create(a.prototype),l=new A(n||[]);return o(i,"_invoke",{value:k(e,r,l)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",d="suspendedYield",y="executing",h="completed",m={};function b(){}function v(){}function g(){}var x={};c(x,i,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(L([])));_&&_!==r&&n.call(_,i)&&(x=_);var O=g.prototype=b.prototype=Object.create(x);function j(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,a,i,l){var s=p(e[o],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==F(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function k(t,r,n){var o=f;return function(a,i){if(o===y)throw new Error("Generator is already running");if(o===h){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var s=E(l,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?h:d,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=h,n.method="throw",n.arg=c.arg)}}}function E(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=p(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(F(t)+" is not iterable")}return v.prototype=g,o(O,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:v,configurable:!0}),v.displayName=c(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,s,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},j(S.prototype),c(S.prototype,l,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new S(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},j(O),c(O,s,"Generator"),c(O,i,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=L,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return l.type="throw",l.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function R(e,t,r){return(t=U(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}function Z(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){H(a,n,o,i,l,"next",e)}function l(e){H(a,n,o,i,l,"throw",e)}i(void 0)}))}}function G(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,U(n.key),n)}}function U(e){var t=function(e,t){if("object"!==F(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==F(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===F(t)?t:String(t)}var $=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._provider=t}var t,r,n,a;return t=e,r=[{key:"render",value:function(e,t){var r=this;return function(){var n=Z(D().mark((function n(a){var i,l,s;return D().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e){n.next=2;break}throw new Error("Component is not defined");case 2:if(a){n.next=4;break}throw new Error("Root element is not defined");case 4:return n.next=6,null===(l=e.getInitialData)||void 0===l?void 0:l.call(e,t);case 6:if(n.t1=i=n.sent,n.t0=null!==n.t1,!n.t0){n.next=10;break}n.t0=void 0!==i;case 10:if(!n.t0){n.next=14;break}n.t2=i,n.next=15;break;case 14:n.t2={};case 15:s=n.t2,(0,o.render)((0,I.jsx)(T.F,N(N({node:r._provider},r._provider.props),{},{children:(0,I.jsx)(e,N(N({},t),{},{initialData:s}))})),a);case 17:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}},{key:"toString",value:(a=Z(D().mark((function e(t,r,n){var o,a,i;return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new Error("Component is not defined");case 2:return e.next=4,null===(a=t.getInitialData)||void 0===a?void 0:a.call(t,r);case 4:if(e.t1=o=e.sent,e.t0=null!==e.t1,!e.t0){e.next=8;break}e.t0=void 0!==o;case 8:if(!e.t0){e.next=12;break}e.t2=o,e.next=13;break;case 12:e.t2={};case 13:return i=e.t2,e.abrupt("return",L((0,I.jsx)(T.F,N(N({node:this._provider},this._provider.props),{},{children:(0,I.jsx)(t,N(N({},r),{},{initialData:i}))})),{},N({},n)));case 15:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return a.apply(this,arguments)})}],r&&G(t.prototype,r),n&&G(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),z=n(5437),B=n(4853),V=n(1857),W=n.n(V),Y=n(5587);const Q=JSON.parse('{"Elsie":{"ExampleComponentName":{"item":{"label":"string"}},"Incrementer":{"decreaseLabel":"Decrease Quantity","increaseLabel":"Increase Quantity","label":"Quantity"},"Modal":{"Close":{"label":"Close"}},"InlineAlert":{"dismissLabel":"Dismiss Alert"},"PriceSummary":{"subTotal":{"label":"Subtotal","withTaxes":"Including taxes"},"shipping":{"label":"Shipping","estimated":"Estimated Shipping","estimatedZip":"Estimated Shipping to ","zipLinkAriaLabel":"Change zip code","withTaxes":"Including taxes"},"taxes":{"total":"Tax Total","totalOnly":"Tax","breakdown":"Taxes","showBreakdown":"Show Tax Breakdown","hideBreakdown":"Hide Tax Breakdown"},"total":{"estimated":"Estimated Total","label":"Total","withoutTax":"Total excluding taxes"}},"ProgressSpinner":{"updating":{"label":"Item is updating"},"updatingChildren":{"label":"Items are updating"}},"PriceRange":{"from":{"label":"From"},"to":{"label":"to"},"asLowAs":{"label":"As low as"}},"Swatches":{"outOfStock":{"label":"out of stock swatch"},"selected":{"label":"swatch selected"},"swatch":{"label":"swatch"}},"Accordion":{"open":{"label":"Open"},"close":{"label":"Close"}},"CartItem":{"each":{"label":"each"},"quantity":{"label":"Quantity"},"remove":{"label":"Remove {product} from the cart"},"removeDefault":{"label":"Remove item from the cart"},"taxIncluded":{"label":"incl. VAT"},"updating":{"label":"{product} is updating"}}}}');var q=n(9724),J={default:Q,en_US:Q},K=n(1892),X=n.n(K),ee=n(5760),te=n.n(ee),re=n(8311),ne=n.n(re),oe=n(8192),ae=n.n(oe),ie=n(8060),le=n.n(ie),se=n(4865),ce=n.n(se),ue=n(9147),pe={};pe.styleTagTransform=ce(),pe.setAttributes=ae(),pe.insert=ne().bind(null,"head"),pe.domAPI=te(),pe.insertStyleElement=le();X()(ue.Z,pe);ue.Z&&ue.Z.locals&&ue.Z.locals;var fe=n(869),de={};de.styleTagTransform=ce(),de.setAttributes=ae(),de.insert=ne().bind(null,"head"),de.domAPI=te(),de.insertStyleElement=le();X()(fe.Z,de);fe.Z&&fe.Z.locals&&fe.Z.locals;function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}var he=["lang","langDefinitions","className","children"];function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){ve(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ve(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==ye(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ye(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ye(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ge(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var xe=(0,B.createContext)({locale:"en-US"}),we=function(e){var t,r=e.lang,n=void 0===r?"en_US":r,o=e.langDefinitions,a=void 0===o?{}:o,i=e.className,l=e.children,s=ge(e,he),c=W()(a.default,null!==(t=a[n])&&void 0!==t?t:{}),u=W()(function(e){return W()(J.default,J[e]||{})}(n),c);return(0,I.jsx)(xe.Provider,{value:{locale:n.replace("_","-")},children:(0,I.jsx)(q.Pj,{definition:u,children:(0,I.jsx)("div",be(be({},s),{},{className:(0,Y.S)(["elsie-base-design",i]),children:l}))})})};const _e=(e=>{var t={};return n.d(t,e),t})({events:()=>e.events});function Oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return je(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}_e.events.enableLogger(!0);var Se={default:n(7770)},ke=function(e){var t=e.children,r=Oe((0,z.useState)("en_US"),2),n=r[0],o=r[1];return(0,z.useEffect)((function(){var e=_e.events.on("locale",(function(e){o(e)}),{eager:!0});return function(){e.off()}}),[]),(0,I.jsx)(we,{lang:n,langDefinitions:Se,children:t})},Ee=new $((0,I.jsx)(ke,{}))},9147:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(4933),o=r.n(n),a=r(3476),i=r.n(a)()(o());i.push([e.id,".elsie-base-design{\n --color-brand-500:#454545;\n --color-brand-600:#383838;\n --color-brand-700:#2b2b2b;\n --color-neutral-50:#ffffff;\n --color-neutral-100:#fafafa;\n --color-neutral-200:#f5f5f5;\n --color-neutral-300:#e8e8e8;\n --color-neutral-400:#d6d6d6;\n --color-neutral-500:#b8b8b8;\n --color-neutral-600:#8f8f8f;\n --color-neutral-700:#666666;\n --color-neutral-800:#3d3d3d;\n --color-neutral-900:#292929;\n --color-positive-200:#eff5ef;\n --color-positive-500:#7fb078;\n --color-positive-800:#53824c;\n --color-informational-200:#eeeffb;\n --color-informational-500:#6978d9;\n --color-informational-800:#5d6dd6;\n --color-warning-200:#fdf3e9;\n --color-warning-500:#e79f5c;\n --color-warning-800:#cc7a2e;\n --color-alert-200:#ffebeb;\n --color-alert-500:#db7070;\n --color-alert-800:#c35050;\n --color-button-active:var(--color-brand-700);\n --color-button-focus:var(--color-neutral-400);\n --color-button-hover:var(--color-brand-600);\n --color-action-button-active:var(--color-neutral-50);\n --color-action-button-hover:var(--color-neutral-300);\n --color-opacity-16:rgba(255, 255, 255, 0.16);\n --color-opacity-24:rgba(255, 255, 255, 0.24);\n --grid-1-columns:4;\n --grid-1-margins:0;\n --grid-1-gutters:16px;\n --grid-2-columns:12;\n --grid-2-margins:0;\n --grid-2-gutters:16px;\n --grid-3-columns:12;\n --grid-3-margins:0;\n --grid-3-gutters:24px;\n --grid-4-columns:12;\n --grid-4-margins:0;\n --grid-4-gutters:24px;\n --grid-5-columns:12;\n --grid-5-margins:0;\n --grid-5-gutters:24px;\n --shape-border-radius-1:3px;\n --shape-border-radius-2:8px;\n --shape-border-radius-3:24px;\n --shape-border-width-1:1px;\n --shape-border-width-2:1.5px;\n --shape-border-width-3:2px;\n --shape-border-width-4:4px;\n --shape-shadow-1:0 0 16px 0 rgba(0, 0, 0, 0.16);\n --shape-shadow-2:0 2px 16px 0 rgba(0, 0, 0, 0.16);\n --shape-shadow-3:0 2px 3px 0 rgba(0, 0, 0, 0.16);\n --shape-icon-stroke-1:1px;\n --shape-icon-stroke-2:1.5px;\n --shape-icon-stroke-3:2px;\n --shape-icon-stroke-4:4px;\n --spacing-xxsmall:4px;\n --spacing-xsmall:8px;\n --spacing-small:16px;\n --spacing-medium:24px;\n --spacing-big:32px;\n --spacing-xbig:40px;\n --spacing-xxbig:48px;\n --spacing-large:64px;\n --spacing-xlarge:72px;\n --spacing-xxlarge:96px;\n --spacing-huge:120px;\n --spacing-xhuge:144px;\n --spacing-xxhuge:192px;\n --type-base-font-family:system-ui, sans-serif;\n --type-display-1-font:normal normal 300 60px/72px var(--type-base-font-family);\n --type-display-1-letter-spacing:0.04em;\n --type-display-2-font:normal normal 300 48px/56px var(--type-base-font-family);\n --type-display-2-letter-spacing:0.04em;\n --type-display-3-font:normal normal 300 34px/40px var(--type-base-font-family);\n --type-display-3-letter-spacing:0.04em;\n --type-headline-1-font:normal normal 400 24px/32px var(--type-base-font-family);\n --type-headline-1-letter-spacing:0.04em;\n --type-headline-2-default-font:normal normal 300 20px/24px var(--type-base-font-family);\n --type-headline-2-default-letter-spacing:0.04em;\n --type-headline-2-strong-font:normal normal 400 20px/24px var(--type-base-font-family);\n --type-headline-2-strong-letter-spacing:0.04em;\n --type-body-1-default-font:normal normal 300 16px/24px var(--type-base-font-family);\n --type-body-1-default-letter-spacing:0.04em;\n --type-body-1-strong-font:normal normal 400 16px/24px var(--type-base-font-family);\n --type-body-1-strong-letter-spacing:0.04em;\n --type-body-1-emphasized-font:normal normal 700 16px/24px var(--type-base-font-family);\n --type-body-1-emphasized-letter-spacing:0.04em;\n --type-body-2-default-font:normal normal 300 14px/20px var(--type-base-font-family);\n --type-body-2-default-letter-spacing:0.04em;\n --type-body-2-strong-font:normal normal 400 14px/20px var(--type-base-font-family);\n --type-body-2-strong-letter-spacing:0.04em;\n --type-body-2-emphasized-font:normal normal 700 14px/20px var(--type-base-font-family);\n --type-body-2-emphasized-letter-spacing:0.04em;\n --type-button-1-font:normal normal 400 20px/26px var(--type-base-font-family);\n --type-button-1-letter-spacing:0.08em;\n --type-button-2-font:normal normal 400 16px/24px var(--type-base-font-family);\n --type-button-2-letter-spacing:0.08em;\n --type-details-caption-1-font:normal normal 400 12px/16px var(--type-base-font-family);\n --type-details-caption-1-letter-spacing:0.08em;\n --type-details-caption-2-font:normal normal 300 12px/16px var(--type-base-font-family);\n --type-details-caption-2-letter-spacing:0.08em;\n --type-details-overline-font:normal normal 400 12px/20px var(--type-base-font-family);\n --type-details-overline-letter-spacing:0.16em;\n}\n",""]);const l=i},869:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(4933),o=r.n(n),a=r(3476),i=r.n(a)()(o());i.push([e.id,".elsie-base-design a{\n --textColor:var(--color-brand-500);\n color:var(--textColor);\n text-decoration:none;\n}\n\n.elsie-base-design a:hover{\n --textColor:var(--color-brand-700);\n text-decoration:solid underline var(--textColor);\n text-underline-offset:6px;\n}\n\n.elsie-base-design a:focus-visible{\n outline:solid var(--shape-border-width-4) var(--color-neutral-400);\n border:var(--shape-border-width-1) solid var(--color-neutral-800);\n border-radius:var(--shape-border-radius-1);\n}\n",""]);const l=i},1857:e=>{var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function o(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function i(e,t){try{return t in e}catch(e){return!1}}function l(e,t,r){var o={};return r.isMergeableObject(e)&&a(e).forEach((function(t){o[t]=n(e[t],r)})),a(t).forEach((function(a){(function(e,t){return i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(i(e,a)&&r.isMergeableObject(t[a])?o[a]=function(e,t){if(!t.customMerge)return s;var r=t.customMerge(e);return"function"==typeof r?r:s}(a,r)(e[a],t[a],r):o[a]=n(t[a],r))})),o}function s(e,r,a){(a=a||{}).arrayMerge=a.arrayMerge||o,a.isMergeableObject=a.isMergeableObject||t,a.cloneUnlessOtherwiseSpecified=n;var i=Array.isArray(r);return i===Array.isArray(e)?i?a.arrayMerge(e,r,a):l(e,r,a):n(r,a)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return s(e,r,t)}),{})};var c=s;e.exports=c},4853:(e,r,n)=>{e.exports=(e=>{var t={};return n.d(t,e),t})({createContext:()=>t.createContext,useCallback:()=>t.useCallback,useEffect:()=>t.useEffect,useReducer:()=>t.useReducer})},5437:(e,t,n)=>{e.exports=(e=>{var t={};return n.d(t,e),t})({useCallback:()=>r.useCallback,useContext:()=>r.useContext,useDebugValue:()=>r.useDebugValue,useEffect:()=>r.useEffect,useId:()=>r.useId,useImperativeHandle:()=>r.useImperativeHandle,useLayoutEffect:()=>r.useLayoutEffect,useMemo:()=>r.useMemo,useReducer:()=>r.useReducer,useRef:()=>r.useRef,useState:()=>r.useState})},4142:(e,t,r)=>{e.exports=(e=>{var t={};return r.d(t,e),t})({Fragment:()=>n.Fragment,jsx:()=>n.jsx,jsxs:()=>n.jsxs})},3474:(e,t,r)=>{e.exports=(e=>{var t={};return r.d(t,e),t})({Component:()=>o.Component,Fragment:()=>o.Fragment,cloneElement:()=>o.cloneElement,createContext:()=>o.createContext,createElement:()=>o.createElement,createRef:()=>o.createRef,h:()=>o.h,hydrate:()=>o.hydrate,options:()=>o.options,render:()=>o.render,toChildArray:()=>o.toChildArray})},7770:e=>{e.exports=JSON.parse('{"OrderConfirmation":{"Header":{"title":"{{name}}, thank you for your order!","defaultTitle":"Thank you for your order!","order":"ORDER #{{order}}"},"InlineAlert":{"dismissLabel":"Dismiss Alert"},"OrderSearchForm":{"title":"Enter your information to view order details","description":"You can find your order number in the receipt you received via email.","button":"View Order","email":"Email","postcode":"Zip Code","orderNumber":"Order Number"},"OrderSummary":{"title":"Order summary","total":"Total","totalExclTax":"Total excluding taxes","subtotal":"Subtotal","tax":"Tax","taxTotal":"Tax total","taxBreakdown":"Taxes","includingTaxes":"Including taxes","shipping":"Shipping","freeShipping":"Free shipping"},"Message":{"title":"Your order is confirmed","description":"We have successfully processed your order and will be soon prepared for shipping. <br /> You will also receive an email with details and we will let you know when your order has shipped."},"Details":{"title":"Order details","contact":"Contact details","shippingAddress":"Shipping address","billingAddress":"Billing address","shippingMethod":"Shipping method","freeShipping":"Free shipping","paymentMethod":"Payment method"},"Footer":{"continueShopping":"Continue shopping","help":"Need help?","contactSupport":"Contact us"},"Errors":{"invalidOrder":"Invalid order. Please try again.","invalidSearch":"No order found with these order details.","unknown":"Something went wrong. Please try again."},"ServerError":{"title":"Page not found","pageNotFound":"This link is not valid. To view order details, click the link in your email.","button":"Go to homepage","contactSupport":"If you need assistance with your order contact the Support team."}}}')}};import a from"./runtime.js";import*as i from"./914.js";a.C(i);import*as l from"./render.js";a.C(l);var s,c=(s=97,a(a.s=s)).s;export{c as render};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc