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-alpha21 to 0.1.0-alpha22

api.js.map

3

api.js

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

import*as e from"@dropins/tools/fetch-graphql.js";export const id=335;export const ids=[335];export const modules={2743:(e,r,n)=>{n.d(r,{J:()=>i,b:()=>o});var t=new class{get map(){return this._map}set map(e){this._map=e}getMethods(){return{setMap:e=>{this.map=e},getMap:()=>this.map}}},{setMap:i,getMap:o}=t.getMethods()},1452:(e,r,n)=>{n.d(r,{r:()=>c});var t=n(2402),i=n(6680),o=n(7218),a="\n query customerOrder($number: String!) {\n customer {\n orders(filter: { number: { eq: $number } }) {\n total_count\n items {\n ...guestOrderData\n }\n }\n }\n }\n ".concat(o.q,"\n");function s(e,r,n,t,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?r(c):Promise.resolve(c).then(t,i)}var c=function(){var e,r=(e=function*(e){var r,{data:n,errors:o}=yield(0,t.gX)(a,{variables:{number:e}});if(o)throw new i.kp(o);var s=null==n||null===(r=n.customer)||void 0===r||null===(r=r.orders)||void 0===r||null===(r=r.items)||void 0===r?void 0:r[0];if(!s)throw new i.v2;return s},function(){var r=this,n=arguments;return new Promise((function(t,i){var o=e.apply(r,n);function a(e){s(o,t,i,a,c,"next",e)}function c(e){s(o,t,i,a,c,"throw",e)}a(void 0)}))});return function(e){return r.apply(this,arguments)}}()},6680:(e,r,n)=>{n.d(r,{kp:()=>t,v2:()=>o,wr:()=>i});class t extends Error{constructor(e){super(e.map((e=>e.message)).join(" ")),this.name="FetchError"}}class i extends Error{constructor(e){super("Missing argument: ".concat(e))}}class o extends Error{constructor(){super("Order not found")}}},2402:(r,n,t)=>{t.d(n,{gX:()=>u,iE:()=>l,XV:()=>s,gO:()=>o,mv:()=>a,yg:()=>c});const i=(e=>{var r={};return t.d(r,e),r})({FetchGraphQL:()=>e.FetchGraphQL});var{setEndpoint:o,setFetchGraphQlHeader:a,removeFetchGraphQlHeader:s,setFetchGraphQlHeaders:c,fetchGraphQl:u,getConfig:l}=(new i.FetchGraphQL).getMethods()},7218:(e,r,n)=>{n.d(r,{J:()=>i,q:()=>t});var t="\n fragment guestOrderData on CustomerOrder {\n number\n status\n email\n shipping_method\n payment_methods {\n name\n type\n }\n total {\n subtotal {\n currency\n value\n }\n total_tax {\n currency\n value\n }\n total_shipping {\n currency\n value\n }\n grand_total {\n currency\n value\n }\n }\n billing_address {\n firstname\n lastname\n street\n city\n postcode\n telephone\n country_code\n region\n region_id\n }\n shipping_address {\n firstname\n lastname\n street\n city\n postcode\n telephone\n country_code\n region\n region_id\n }\n items {\n __typename\n id\n quantity_ordered\n product_sale_price {\n value\n currency\n }\n product {\n name\n sku\n thumbnail {\n label\n url \n }\n price_range {\n maximum_price {\n regular_price {\n currency\n value\n }\n }\n }\n }\n selected_options {\n label\n value\n }\n \n ... on GiftCardOrderItem {\n gift_card {\n recipient_name\n recipient_email\n sender_name\n sender_email\n message\n }\n }\n }\n }\n",i="\n query guestOrder($number: String!, $email: String!, $postcode: String!) {\n guestOrder(input: { number: $number, email: $email, postcode: $postcode }) {\n ...guestOrderData\n }\n }\n ".concat(t,"\n")},2790:(e,r,n)=>{n.d(r,{h:()=>l});var t=n(2402),i=n(6680),o=n(7218);function a(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function s(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?a(Object(n),!0).forEach((function(r){c(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function c(e,r,n){return(r=function(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,r||"default");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function u(e,r,n,t,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?r(c):Promise.resolve(c).then(t,i)}var l=function(){var e,r=(e=function*(e){var{data:r,errors:n}=yield(0,t.gX)(o.J,{variables:s({},e)});if(n)throw new i.kp(n);var a=null==r?void 0:r.guestOrder;if(!a)throw new i.v2;return a},function(){var r=this,n=arguments;return new Promise((function(t,i){var o=e.apply(r,n);function a(e){u(o,t,i,a,s,"next",e)}function s(e){u(o,t,i,a,s,"throw",e)}a(void 0)}))});return function(e){return r.apply(this,arguments)}}()},5619:(e,r,n)=>{n.d(r,{y:()=>c});var t=n(2402),i=n(6680),o=n(7218),a="\n query guestOrderByToken($token: String!) {\n guestOrderByToken(input: {token: $token}) {\n ...guestOrderData\n }\n }\n ".concat(o.q,"\n");function s(e,r,n,t,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?r(c):Promise.resolve(c).then(t,i)}var c=function(){var e,r=(e=function*(e){var{data:r,errors:n}=yield(0,t.gX)(a,{variables:{token:e}});if(n)throw new i.kp(n);var o=null==r?void 0:r.guestOrderByToken;if(!o)throw new i.v2;return o},function(){var r=this,n=arguments;return new Promise((function(t,i){var o=e.apply(r,n);function a(e){s(o,t,i,a,c,"next",e)}function c(e){s(o,t,i,a,c,"throw",e)}a(void 0)}))});return function(e){return r.apply(this,arguments)}}()},5847:(e,r,n)=>{n.d(r,{kp:()=>t.kp,wr:()=>t.wr,v2:()=>t.v2,vc:()=>i.v,rv:()=>c.r,gX:()=>o.gX,iE:()=>o.iE,hs:()=>a.h,yU:()=>s.y,j2:()=>i.j,XV:()=>o.XV,gO:()=>o.gO,mv:()=>o.mv,yg:()=>o.yg});var t=n(6680),i=n(973),o=n(2402),a=n(2790),s=n(5619),c=n(1452)},973:(e,r,n)=>{n.d(r,{v:()=>y,j:()=>g});class t{constructor(e){this.config=e}getConfig(){return this.config}setConfig(e){this.config=e}}var i=n(2743),o=["imageParamsKeyMap"];function a(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function s(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?a(Object(n),!0).forEach((function(r){u(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function c(e,r){if(null==e)return{};var n,t,i=function(e,r){if(null==e)return{};var n,t,i={},o=Object.keys(e);for(t=0;t<o.length;t++)n=o[t],r.indexOf(n)>=0||(i[n]=e[n]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t<o.length;t++)n=o[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,r,n){return(r=function(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,r||"default");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}class l{static register(e,r){var n,t;l._mounted&&(null===(n=e.listeners)||void 0===n||n.call(e,r),null===(t=e.init)||void 0===t||t.call(e,r));l._initializers.push([e,r])}static mount(){var e,r;l._mounted=!0,null===(e=l._initializers)||void 0===e||e.forEach((e=>{var r,[n,t]=e;null===(r=n.listeners)||void 0===r||r.call(n,t)})),null===(r=l._initializers)||void 0===r||r.forEach((e=>{var r,[n,t]=e;null===(r=n.init)||void 0===r||r.call(n,s({imageParamsKeyMap:l._imageParamsKeyMap},t))}))}static setImageParamKeys(e){l._imageParamsKeyMap=e}}function p(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function f(e,r,n){return(r=function(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,r||"default");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function v(e,r,n,t,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?r(c):Promise.resolve(c).then(t,i)}u(l,"_initializers",[]),u(l,"_mounted",!1),u(l,"_imageParamsKeyMap",void 0);var m,d,g=new class{constructor(e){var{init:r,listeners:n}=e;u(this,"_listeners",[]),u(this,"config",new t({})),this.listeners=e=>(this._listeners.forEach((e=>e.off())),this._listeners=n(e)),this.init=e=>{var n=e,{imageParamsKeyMap:t}=n,a=c(n,o);return this.config.setConfig(s(s({},this.config.getConfig()),a)),(0,i.J)(t),r(e)}}}({init:(m=function*(e){var r=function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?p(Object(n),!0).forEach((function(r){f(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}({},e);g.config.setConfig(r)},d=function(){var e=this,r=arguments;return new Promise((function(n,t){var i=m.apply(e,r);function o(e){v(i,n,t,o,a,"next",e)}function a(e){v(i,n,t,o,a,"throw",e)}o(void 0)}))},function(e){return d.apply(this,arguments)}),listeners:()=>[]}),y=g.config}};import r from"./runtime.js";import*as n from"./api.js";r.C(n);var t,i=(t=5847,r(r.s=t)),o=i.kp,a=i.wr,s=i.v2,c=i.vc,u=i.rv,l=i.gX,p=i.iE,f=i.hs,v=i.yU,m=i.j2,d=i.XV,g=i.gO,y=i.mv,h=i.yg;export{o as FetchError,a as MissingArgument,s as OrderNotFound,c as config,u as customerOrder,l as fetchGraphQl,p as getConfig,f as guestOrder,v as guestOrderByToken,m as initialize,d as removeFetchGraphQlHeader,g as setEndpoint,y as setFetchGraphQlHeader,h as setFetchGraphQlHeaders};
import{F as t,M as o,O as i,e as d,f as c,g as h,c as n,d as p,r as g,s as m,a as f,b as F}from"./chunks/customerOrder.js";import{c as u,i as O}from"./chunks/initialize.js";import"@dropins/tools/fetch-graphql.js";import"@dropins/tools/lib.js";export{t as FetchError,o as MissingArgument,i as OrderNotFound,u as config,d as customerOrder,c as fetchGraphQl,h as getConfig,n as guestOrder,p as guestOrderByToken,O as initialize,g as removeFetchGraphQlHeader,m as setEndpoint,f as setFetchGraphQlHeader,F as setFetchGraphQlHeaders};
//# sourceMappingURL=api.js.map

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

{"name": "@dropins/storefront-order-confirmation", "version": "0.1.0-alpha21", "dependencies": { "@dropins/tools": "0.22.0" } }
{"name": "@dropins/storefront-order-confirmation", "version": "0.1.0-alpha22", "dependencies": { "@dropins/tools": "0.23.0" } }

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

import*as e from"@dropins/tools/event-bus.js";export const id=70;export const ids=[70];export const modules={973:(e,t,r)=>{r.d(t,{v:()=>h,j:()=>y});class n{constructor(e){this.config=e}getConfig(){return this.config}setConfig(e){this.config=e}}var i=r(2743),o=["imageParamsKeyMap"];function a(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 l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c{static register(e,t){var r,n;c._mounted&&(null===(r=e.listeners)||void 0===r||r.call(e,t),null===(n=e.init)||void 0===n||n.call(e,t));c._initializers.push([e,t])}static mount(){var e,t;c._mounted=!0,null===(e=c._initializers)||void 0===e||e.forEach((e=>{var t,[r,n]=e;null===(t=r.listeners)||void 0===t||t.call(r,n)})),null===(t=c._initializers)||void 0===t||t.forEach((e=>{var t,[r,n]=e;null===(t=r.init)||void 0===t||t.call(r,l({imageParamsKeyMap:c._imageParamsKeyMap},n))}))}static setImageParamKeys(e){c._imageParamsKeyMap=e}}function f(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 p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t,r,n,i,o,a){try{var l=e[o](a),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,i)}u(c,"_initializers",[]),u(c,"_mounted",!1),u(c,"_imageParamsKeyMap",void 0);var v,g,y=new class{constructor(e){var{init:t,listeners:r}=e;u(this,"_listeners",[]),u(this,"config",new n({})),this.listeners=e=>(this._listeners.forEach((e=>e.off())),this._listeners=r(e)),this.init=e=>{var r=e,{imageParamsKeyMap:n}=r,a=s(r,o);return this.config.setConfig(l(l({},this.config.getConfig()),a)),(0,i.J)(n),t(e)}}}({init:(v=function*(e){var t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);y.config.setConfig(t)},g=function(){var e=this,t=arguments;return new Promise((function(r,n){var i=v.apply(e,t);function o(e){d(i,r,n,o,a,"next",e)}function a(e){d(i,r,n,o,a,"throw",e)}o(void 0)}))},function(e){return g.apply(this,arguments)}),listeners:()=>[]}),h=y.config},2592:(e,t,r)=>{r.d(t,{s:()=>J});var n=r(473),i=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i,o=/^(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/,a=/[\s\n\\/='"\0<>]/,l=/^xlink:?./,s=/["&<]/;function u(e){if(!1===s.test(e+=""))return e;for(var t=0,r=0,n="",i="";r<e.length;r++){switch(e.charCodeAt(r)){case 34:i="&quot;";break;case 38:i="&amp;";break;case 60:i="&lt;";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=i,t=r+1}return r!==t&&(n+=e.slice(t,r)),n}var c=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("<")},p={},d=/([A-Z])/g;function v(e){var t="";for(var r in e){var n=e[r];null!=n&&""!==n&&(t&&(t+=" "),t+="-"==r[0]?r:p[r]||(p[r]=r.replace(d,"-$1").toLowerCase()),t="number"==typeof n&&!1===i.test(r)?t+": "+n+"px;":t+": "+n+";")}return t||void 0}function g(e,t){return Array.isArray(t)?t.reduce(g,e):null!=t&&!1!==t&&e.push(t),e}function y(){this.__d=!0}function h(e,t){return{__v:e,context:t,props:e.props,setState:y,forceUpdate:y,__d:!0,__h:[]}}function m(e,t){var r=e.contextType,n=r&&t[r.__c];return null!=r?n?n.props.value:r.__:t}var _=[];function b(e,t,r,i,s,p){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 O="",w=0;w<e.length;w++)d&&w>0&&(O+="\n"),O+=b(e[w],t,r,i,s,p);return O}if(void 0!==e.constructor)return"";var j,x=e.type,P=e.props,S=!1;if("function"==typeof x){if(S=!0,!r.shallow||!i&&!1!==r.renderRootComponent){if(x===n.HY){var M=[];return g(M,e.props.children),b(M,t,r,!1!==r.shallowHighOrder,s,p)}var k,C=e.__c=h(e,t);n.YM.__b&&n.YM.__b(e);var Y=n.YM.__r;if(x.prototype&&"function"==typeof x.prototype.render){var E=m(x,t);(C=e.__c=new x(P,E)).__v=e,C._dirty=C.__d=!0,C.props=P,null==C.state&&(C.state={}),null==C._nextState&&null==C.__s&&(C._nextState=C.__s=C.state),C.context=E,x.getDerivedStateFromProps?C.state=Object.assign({},C.state,x.getDerivedStateFromProps(C.props,C.state)):C.componentWillMount&&(C.componentWillMount(),C.state=C._nextState!==C.state?C._nextState:C.__s!==C.state?C.__s:C.state),Y&&Y(e),k=C.render(C.props,C.state,C.context)}else for(var D=m(x,t),T=0;C.__d&&T++<25;)C.__d=!1,Y&&Y(e),k=x.call(e.__c,P,D);return C.getChildContext&&(t=Object.assign({},t,C.getChildContext())),n.YM.diffed&&n.YM.diffed(e),b(k,t,r,!1!==r.shallowHighOrder,s,p)}x=(j=x).displayName||j!==Function&&j.name||function(e){var t=(Function.prototype.toString.call(e).match(/^\s*function\s+([^( ]+)/)||"")[1];if(!t){for(var r=-1,n=_.length;n--;)if(_[n]===e){r=n;break}r<0&&(r=_.push(e)-1),t="UnnamedComponent"+r}return t}(j)}var A,F,H="<"+x;if(P){var N=Object.keys(P);r&&!0===r.sortAttributes&&N.sort();for(var I=0;I<N.length;I++){var L=N[I],Z=P[L];if("children"!==L){if(!a.test(L)&&(r&&r.allAttributes||"key"!==L&&"ref"!==L&&"__self"!==L&&"__source"!==L)){if("defaultValue"===L)L="value";else if("defaultChecked"===L)L="checked";else if("defaultSelected"===L)L="selected";else if("className"===L){if(void 0!==P.class)continue;L="class"}else s&&l.test(L)&&(L=L.toLowerCase().replace(/^xlink:?/,"xlink:"));if("htmlFor"===L){if(P.for)continue;L="for"}"style"===L&&Z&&"object"==typeof Z&&(Z=v(Z)),"a"===L[0]&&"r"===L[1]&&"boolean"==typeof Z&&(Z=String(Z));var K=r.attributeHook&&r.attributeHook(L,Z,t,r,S);if(K||""===K)H+=K;else if("dangerouslySetInnerHTML"===L)F=Z&&Z.__html;else if("textarea"===x&&"value"===L)A=Z;else if((Z||0===Z||""===Z)&&"function"!=typeof Z){if(!(!0!==Z&&""!==Z||(Z=L,r&&r.xml))){H=H+" "+L;continue}if("value"===L){if("select"===x){p=Z;continue}"option"===x&&p==Z&&void 0===P.selected&&(H+=" selected")}H=H+" "+L+'="'+u(Z)+'"'}}}else A=Z}}if(d){var R=H.replace(/\n\s*/," ");R===H||~R.indexOf("\n")?d&&~H.indexOf("\n")&&(H+="\n"):H=R}if(H+=">",a.test(x))throw new Error(x+" is not a valid HTML tag name in "+H);var z,W=o.test(x)||r.voidElements&&r.voidElements.test(x),$=[];if(F)d&&f(F)&&(F="\n"+y+c(F,y)),H+=F;else if(null!=A&&g(z=[],A).length){for(var J=d&&~H.indexOf("\n"),V=!1,B=0;B<z.length;B++){var U=z[B];if(null!=U&&!1!==U){var q=b(U,t,r,!0,"svg"===x||"foreignObject"!==x&&s,p);if(d&&!J&&f(q)&&(J=!0),q)if(d){var G=q.length>0&&"<"!=q[0];V&&G?$[$.length-1]+=q:$.push(q),V=G}else $.push(q)}}if(d&&J)for(var Q=$.length;Q--;)$[Q]="\n"+y+c($[Q],y)}if($.length||F)H+=$.join("");else if(r&&r.xml)return H.substring(0,H.length-1)+" />";return!W||z||F?(d&&~H.indexOf("\n")&&(H+="\n"),H=H+"</"+x+">"):H=H.replace(/>$/," />"),H}var O={shallow:!0};j.render=j;var w=[];function j(e,t,r){t=t||{};var i=n.YM.__s;n.YM.__s=!0;var o,a=(0,n.h)(n.HY,null);return a.__k=[e],o=r&&(r.pretty||r.voidElements||r.sortAttributes||r.shallow||r.allAttributes||r.xml||r.attributeHook)?b(e,t,r):C(e,t,!1,void 0,a),n.YM.__c&&n.YM.__c(e,w),n.YM.__s=i,w.length=0,o}function x(e){return null==e||"boolean"==typeof e?null:"string"==typeof e||"number"==typeof e||"bigint"==typeof e?(0,n.h)(null,null,e):e}function P(e,t){return"className"===e?"class":"htmlFor"===e?"for":"defaultValue"===e?"value":"defaultChecked"===e?"checked":"defaultSelected"===e?"selected":t&&l.test(e)?e.toLowerCase().replace(/^xlink:?/,"xlink:"):e}function S(e,t){return"style"===e&&null!=t&&"object"==typeof t?v(t):"a"===e[0]&&"r"===e[1]&&"boolean"==typeof t?String(t):t}var M=Array.isArray,k=Object.assign;function C(e,t,r,i,l){if(null==e||!0===e||!1===e||""===e)return"";if("object"!=typeof e)return"function"==typeof e?"":u(e);if(M(e)){var s="";l.__k=e;for(var c=0;c<e.length;c++)s+=C(e[c],t,r,i,l),e[c]=x(e[c]);return s}if(void 0!==e.constructor)return"";e.__=l,n.YM.__b&&n.YM.__b(e);var f=e.type,p=e.props;if("function"==typeof f){var d;if(f===n.HY)d=p.children;else{d=f.prototype&&"function"==typeof f.prototype.render?function(e,t){var r=e.type,i=m(r,t),o=new r(e.props,i);e.__c=o,o.__v=e,o.__d=!0,o.props=e.props,null==o.state&&(o.state={}),null==o.__s&&(o.__s=o.state),o.context=i,r.getDerivedStateFromProps?o.state=k({},o.state,r.getDerivedStateFromProps(o.props,o.state)):o.componentWillMount&&(o.componentWillMount(),o.state=o.__s!==o.state?o.__s:o.state);var a=n.YM.__r;return a&&a(e),o.render(o.props,o.state,o.context)}(e,t):function(e,t){var r,i=h(e,t),o=m(e.type,t);e.__c=i;for(var a=n.YM.__r,l=0;i.__d&&l++<25;)i.__d=!1,a&&a(e),r=e.type.call(i,e.props,o);return r}(e,t);var v=e.__c;v.getChildContext&&(t=k({},t,v.getChildContext()))}var g=C(d=null!=d&&d.type===n.HY&&null==d.key?d.props.children:d,t,r,i,e);return n.YM.diffed&&n.YM.diffed(e),e.__=void 0,n.YM.unmount&&n.YM.unmount(e),g}var y,_,b="<";if(b+=f,p)for(var O in y=p.children,p){var w=p[O];if(!("key"===O||"ref"===O||"__self"===O||"__source"===O||"children"===O||"className"===O&&"class"in p||"htmlFor"===O&&"for"in p||a.test(O)))if(w=S(O=P(O,r),w),"dangerouslySetInnerHTML"===O)_=w&&w.__html;else if("textarea"===f&&"value"===O)y=w;else if((w||0===w||""===w)&&"function"!=typeof w){if(!0===w||""===w){w=O,b=b+" "+O;continue}if("value"===O){if("select"===f){i=w;continue}"option"!==f||i!=w||"selected"in p||(b+=" selected")}b=b+" "+O+'="'+u(w)+'"'}}var j=b;if(b+=">",a.test(f))throw new Error(f+" is not a valid HTML tag name in "+b);var Y="",E=!1;if(_)Y+=_,E=!0;else if("string"==typeof y)Y+=u(y),E=!0;else if(M(y)){e.__k=y;for(var D=0;D<y.length;D++){var T=y[D];if(y[D]=x(T),null!=T&&!1!==T){var A=C(T,t,"svg"===f||"foreignObject"!==f&&r,i,e);A&&(Y+=A,E=!0)}}}else if(null!=y&&!1!==y&&!0!==y){e.__k=[x(y)];var F=C(y,t,"svg"===f||"foreignObject"!==f&&r,i,e);F&&(Y+=F,E=!0)}if(n.YM.diffed&&n.YM.diffed(e),e.__=void 0,n.YM.unmount&&n.YM.unmount(e),E)b+=Y;else if(o.test(f))return j+" />";return b+"</"+f+">"}j.shallowRender=function(e,t){return j(e,t,O)};const Y=j;var E=r(1177),D=r(2754);function T(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 A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){F(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function F(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(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,i,o,a){try{var l=e[o](a),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,i)}function N(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){H(o,n,i,a,l,"next",e)}function l(e){H(o,n,i,a,l,"throw",e)}a(void 0)}))}}var I=r(5792),L=r(5406),Z=r(5214),K=r(973),R=r(1857),z=r.n(R),W={default:r(7770)},$=e=>{var t,{children:r}=e,[n,i]=(0,I.eJ)(),o=null===(t=K.v.getConfig())||void 0===t?void 0:t.langDefinitions;(0,I.d4)((()=>{var e=Z.events.on("locale",(e=>{e!==n&&i(e)}),{eager:!0});return()=>{null==e||e.off()}}),[n]);var a=z()(W,null!=o?o:{});return(0,D.tZ)(L.J,{lang:n,langDefinitions:a,children:r})},J=new class{constructor(e){this._provider=e}render(e,t){var r=this;return function(){var i=N((function*(i){var o,a;if(!e)throw new Error("Component is not defined");if(!i)throw new Error("Root element is not defined");var l=null!==(o=yield null===(a=e.getInitialData)||void 0===a?void 0:a.call(e,t))&&void 0!==o?o:{};(0,n.sY)((0,D.tZ)(E.F,A(A({node:r._provider},r._provider.props),{},{children:(0,D.tZ)(e,A(A({},t),{},{initialData:l}))})),i)}));return function(e){return i.apply(this,arguments)}}()}unmount(e){if(!e)throw new Error("Root element is not defined");(0,n.sY)(null,e)}toString(e,t,r){var n=this;return N((function*(){var i,o;if(!e)throw new Error("Component is not defined");var a=null!==(i=yield null===(o=e.getInitialData)||void 0===o?void 0:o.call(e,t))&&void 0!==i?i:{};return Y((0,D.tZ)(E.F,A(A({node:n._provider},n._provider.props),{},{children:(0,D.tZ)(e,A(A({},t),{},{initialData:a}))})),{},A({},r))}))()}}((0,D.tZ)($,{}))},5214:(t,r,n)=>{t.exports=(e=>{var t={};return n.d(t,e),t})({events:()=>e.events})},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"},"CartSummary":{"title":"Your order","GiftCard":{"sender":"Sender","recipient":"Recipient"}},"Errors":{"invalidOrder":"Invalid order. Please try again.","invalidSearch":"No order found with these order details.","unknown":"Something went wrong. Please try again."}}}')}};import t from"./runtime.js";import*as r from"./922.js";t.C(r);import*as n from"./render.js";t.C(n);var i,o=(i=2592,t(t.s=i)).s;export{o as render};
(function(e,a){try{if(typeof document<"u"){const r=document.createElement("style"),n=a.styleId;for(const o in a.attributes)r.setAttribute(o,a.attributes[o]);r.setAttribute("data-dropin",n),r.appendChild(document.createTextNode(e));const t=document.querySelector('style[data-dropin="sdk"]');if(t)t.after(r);else{const o=document.querySelector('link[rel="stylesheet"], style');o?o.before(r):document.head.append(r)}}}catch(r){console.error("dropin-styles (injectCodeFunction)",r)}})('.order-confirmation{display:grid;align-items:start;grid-template-columns:repeat(var(--grid-4-columns),1fr);grid-template-areas:"main aside";grid-column-gap:var(--grid-4-gutters);margin-bottom:var(--spacing-xbig)}.order-confirmation__main{display:grid;grid-row-gap:var(--spacing-xbig);grid-area:main;grid-column:1 / span 7}.order-confirmation__aside{display:grid;grid-row-gap:var(--spacing-xbig);grid-area:aside;grid-column:9 / span 4}.order-confirmation a{font:var(--type-body-2-strong-font);letter-spacing:var(--type-body-2-strong-letter-spacing);margin-left:var(--spacing-xxsmall)}.order-confirmation-header,.order-confirmation-footer,.order-confirmation-message,.order-confirmation-order-search-form,.order-confirmation-order-form,.order-confirmation-status,.order-confirmation-details{grid-column:1 / span 7}@media only screen and (min-width: 320px) and (max-width: 768px){.order-confirmation{grid-template-columns:repeat(var(--grid-1-columns),1fr);grid-column-gap:var(--grid-1-gutters);grid-template-areas:"header" "details" "orderSummary" "cartSummary" "footer"}.order-confirmation>div{grid-column:1 / span 4}.order-confirmation-details{margin-bottom:var(--spacing-xbig)}.order-confirmation-order-summary{margin-bottom:var(--spacing-xbig);grid-area:orderSummary}.order-confirmation-cart-summary{margin-bottom:var(--spacing-xbig);grid-area:cartSummary}}.order-confirmation-header{text-align:center;padding:var(--spacing-xxbig)}.order-confirmation-header__icon{margin-bottom:var(--spacing-small)}.order-confirmation-header h1{color:var(--color-neutral-800);font:var(--type-headline-1-font);letter-spacing:var(--type-headline-1-letter-spacing);margin:0}.order-confirmation-header h1:first-letter{text-transform:uppercase}.order-confirmation-header p{color:var(--color-neutral-700);font:var(--type-details-overline-font);letter-spacing:var(--type-details-overline-letter-spacing);margin:var(--spacing-xxsmall) 0 0 0}.order-confirmation-header .OrderSuccess_svg__success-icon{color:var(--color-positive-500)}.order-confirmation-order-search-form .dropin-card__content{gap:var(--spacing-small)}.order-confirmation-order-search-form p{color:var(--color-neutral-700);font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing);margin:0}.order-confirmation-order-search-form__title{color:var(--color-neutral-800);font:var(--type-headline-2-strong-font);letter-spacing:var(--type-headline-2-strong-letter-spacing);margin:0}.order-confirmation-order-search-form form{display:grid;grid-template-rows:1fr}.order-confirmation-order-search-form__fields-columns{display:grid;grid-template-columns:1fr 1fr;gap:var(--spacing-medium);margin-bottom:var(--spacing-medium)}.order-confirmation-order-search-form form button{align-self:flex-end;justify-self:flex-end;margin-top:var(--spacing-small)}.order-confirmation-message p{color:var(--color-neutral-700);font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing);margin:0}.order-confirmation-message__title{color:var(--color-neutral-800);font:var(--type-headline-2-strong-font);letter-spacing:var(--type-headline-2-strong-letter-spacing);margin:0}.order-confirmation-details__header{display:grid;grid-auto-rows:max-content}.order-confirmation-details__title{color:var(--color-neutral-800);font:var(--type-headline-2-strong-font);letter-spacing:var(--type-headline-2-strong-letter-spacing);margin:0}.order-confirmation-details h3{font:var(--type-body-1-strong-font);letter-spacing:var(--type-body-1-strong-letter-spacing);margin:0 0 var(--spacing-xsmall) 0}.order-confirmation-details p{margin:var(--spacing-xsmall) 0 0 0;color:var(--color-neutral-700);font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing)}a.order-confirmation__login-link{font:var(--type-body-2-strong-font);margin-left:var(--spacing-xxsmall)}.order-confirmation-details__shipping-method span{font:var(--type-body-2-strong-font);letter-spacing:var(--type-body-2-strong-letter-spacing)}.order-confirmation-details__information{display:grid;grid-template-columns:1fr 1fr;gap:var(--spacing-medium)}.order-confirmation-details__information>div:empty{visibility:hidden;display:none}.order-confirmation-details .static-skeleton{gap:var(--spacing-xsmall)}@media only screen and (min-width:320px) and (max-width: 768px){.order-confirmation-details__information{grid-template-columns:1fr}}.order-confirmation-footer{gap:var(--spacing-small);text-align:center}.order-confirmation-footer .order-confirmation-footer__continue-button{margin:0 auto;text-align:center;display:inline-block}.order-confirmation-footer__contact-support{font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing);color:var(--color-neutral-700)}.order-confirmation-footer__contact-support a{font:var(--type-body-2-strong-font);letter-spacing:var(--type-body-2-strong-letter-spacing);color:var(--color-brand-500);cursor:pointer}.static-skeleton .dropin-skeleton--row__content{animation:0;background:var(--color-neutral-300);border-radius:var(--shape-border-radius-1)}.order-confirmation-order-summary .dropin-card__content{gap:var(--spacing-xsmall)}.order-confirmation-order-summary__title{color:var(--color-neutral-800);font:var(--type-headline-2-default-font);letter-spacing:var(--type-headline-2-default-letter-spacing);margin:0}.order-confirmation-order-summary .dropin-divider--primary{margin:0 0 var(--spacing-medium) 0!important}.order-confirmation-order-summary .dropin-divider--secondary{margin:var(--spacing-xsmall) 0 var(--spacing-xsmall) 0!important}.order-confirmation-order-summary__breakdown{margin:var(--spacing-big) 0 var(--spacing-medium) 0}.order-confirmation-order-summary__breakdown .dropin-divider:last-child{margin-bottom:0}.order-confirmation-order-summary__row{display:flex;justify-content:space-between;color:var(--color-neutral-800);font:var(--type-body-1-default-font);letter-spacing:var(--type-body-1-default-letter-spacing)}.order-confirmation-order-summary__row--margin-top{margin-top:var(--spacing-xsmall)}.order-confirmation-order-summary__row--margin-bottom{margin-bottom:var(--spacing-xsmall)}.order-confirmation-order-summary__row .order-confirmation-order-summary__price{color:var(--color-neutral-800);font:var(--type-body-1-default-font);letter-spacing:var(--type-body-1-default-letter-spacing)}.order-confirmation-order-summary__row p{margin:0}.order-confirmation-order-summary__row--strong{font:var(--type-body-1-strong-font);letter-spacing:var(--type-body-1-strong-letter-spacing)}.order-confirmation-order-summary__row--strong .order-confirmation-order-summary__price{color:var(--color-neutral-800);font:var(--type-body-1-strong-font);letter-spacing:var(--type-body-1-strong-letter-spacing)}.order-confirmation-order-summary__row--emphasized{font:var(--type-body-1-emphasized-font);letter-spacing:var(--type-body-1-emphasized-letter-spacing);margin-top:var(--spacing-small)}.order-confirmation-order-summary__row--emphasized .order-confirmation-order-summary__price{color:var(--color-neutral-800);font:var(--type-body-1-emphasized-font);letter-spacing:var(--type-body-1-emphasized-letter-spacing)}.order-confirmation-order-summary__row--muted{color:var(--color-neutral-700);font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing);margin-top:calc(-1 * var(--spacing-xxsmall))}.order-confirmation-order-summary__row--muted .order-confirmation-order-summary__price{color:var(--color-neutral-700);font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing)}.order-confirmation-order-summary .dropin-skeleton:last-child{margin-top:var(--spacing-big)}@media only screen and (min-width: 320px) and (max-width: 768px){.order-confirmation-order-summary{border-top:var(--shape-border-width-2) solid var(--color-neutral-400);border-bottom:var(--shape-border-width-2) solid var(--color-neutral-400)}.order-confirmation-skeleton .order-confirmation-order-summary{border:0 none}}.order-confirmation-cart-summary .dropin-card__content{gap:var(--spacing-xsmall)}.order-confirmation-cart-summary__heading{display:grid;grid-template-columns:1fr max-content;grid-auto-rows:max-content}.order-confirmation-cart-summary__title{color:var(--color-neutral-800);font:var(--type-headline-2-default-font);letter-spacing:var(--type-headline-2-default-letter-spacing);margin:0}.order-confirmation-cart-summary__edit{font:var(--type-body-2-strong-font);letter-spacing:var(--type-body-2-strong-letter-spacing);align-self:flex-end;justify-self:flex-end;margin:0;cursor:pointer}.order-confirmation-cart-summary__edit a{font:var(--type-body-2-strong-font);letter-spacing:var(--type-body-2-strong-letter-spacing)}.order-confirmation-cart-summary .order-confirmation-cart-summary__divider-top{margin:0 0 var(--spacing-medium) 0}.order-confirmation-cart-summary .order-confirmation-cart-summary__divider-bottom{margin:var(--spacing-medium) 0 var(--spacing-small) 0}.order-confirmation-cart-summary__items{display:grid;gap:var(--spacing-medium)}.order-confirmation-cart-summary__action{font:var(--type-body-2-strong-font);letter-spacing:var(--type-body-2-strong-letter-spacing);color:var(--color-brand-500);background:none;margin:0 auto;border:0;text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer;width:auto}.order-confirmation-cart-summary__action:hover{text-decoration:underline;text-underline-offset:var(--spacing-xxsmall);background-color:transparent;color:var(--color-brand-700)}.dropin-accordion{background-color:var(--color-neutral-200)}.dropin-accordion .dropin-divider:first-child{margin-top:0}.dropin-accordion .dropin-divider:last-child{margin-bottom:0}.dropin-accordion-section{padding:0 var(--spacing-medium)}@media only screen and (min-width: 320px) and (max-width: 768px){.order-confirmation-cart-summary .dropin-accordion-section__content-container{gap:0}.order-confirmation-cart-summary-item{margin-bottom:var(--spacing-medium)}.dropin-accordion-section__content-container .order-confirmation-cart-summary-item:last-of-type{margin-bottom:0}}.order-confirmation-cart-summary-item .dropin-cart-item__title{font:var(--type-body-1-default-font);letter-spacing:var(--type-body-1-default-letter-spacing)}.order-confirmation-cart-summary-item .dropin-cart-item__price{margin:var(--spacing-xxsmall) 0}.order-confirmation-cart-summary-item .dropin-price--sale{color:#bf4545}.dropin-cart-item__total{align-items:flex-end}',{styleId:"order-confirmation"});
import{deepmerge as l,Render as p}from"@dropins/tools/lib.js";import{useState as u,useEffect as c}from"@dropins/tools/preact-hooks.js";import{UIProvider as m}from"@dropins/tools/components.js";import{events as g}from"@dropins/tools/event-bus.js";import{c as f}from"./chunks/initialize.js";import{jsx as t}from"@dropins/tools/preact-jsx-runtime.js";const h={Header:{title:"{{name}}, thank you for your order!",defaultTitle:"Thank you for your order!",order:"ORDER #{{order}}"},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"},CartSummary:{title:"Your order",GiftCard:{sender:"Sender",recipient:"Recipient"}},Errors:{invalidOrder:"Invalid order. Please try again.",invalidSearch:"No order found with these order details.",unknown:"Something went wrong. Please try again."}},y={OrderConfirmation:h},S={default:y},w=({children:n})=>{var i;const[e,a]=u(),d=(i=f.getConfig())==null?void 0:i.langDefinitions;c(()=>{const r=g.on("locale",o=>{o!==e&&a(o)},{eager:!0});return()=>{r==null||r.off()}},[e]);const s=l(S,d??{});return t(m,{lang:e,langDefinitions:s,children:n})},D=new p(t(w,{}));export{D as render};
//# sourceMappingURL=render.js.map

Sorry, the diff of this file is too big to display

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