enqueueScripts([function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["MutationUpdateItems"],{48:function(e,t,r){"use strict";r.r(t),function(e){var t=r(0);r.p=Object(t.getPublicPath)("vtex.store-resources@0.99.0");var s=Object(t.register)((function(){return r(49)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","MutationUpdateItems");s.renderHotReload,s.setupHMR}.call(this,r(2)(e))},49:function(e,t,r){"use strict";r.r(t);var s=r(15),o=r.n(s);t.default=o.a}},[[48,"common",1]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["MutationUpdateOrderFormCheckin"],{56:function(e,n,i){"use strict";i.r(n),function(e){var n=i(0);i.p=Object(n.getPublicPath)("vtex.store-resources@0.99.0");var a=Object(n.register)((function(){return i(57)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","MutationUpdateOrderFormCheckin");a.renderHotReload,a.setupHMR}.call(this,i(2)(e))},57:function(e,n,i){"use strict";i.r(n);var a=i(6),d=i.n(a);n.default=d.a},6:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateOrderFormCheckin"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderFormId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"checkin"}},type:{kind:"NamedType",name:{kind:"Name",value:"OrderFormCheckinInput"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"098559fc5f71d00845680fb60869c25677a94e242729db7c8fb9bf9b4ad1115f",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateOrderFormCheckin"},arguments:[{kind:"Argument",name:{kind:"Name",value:"orderFormId"},value:{kind:"Variable",name:{kind:"Name",value:"orderFormId"}}},{kind:"Argument",name:{kind:"Name",value:"checkin"},value:{kind:"Variable",name:{kind:"Name",value:"checkin"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isCheckedIn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"checkedInPickupPointId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shippingData"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"selectedAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"street"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"receiverName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"complement"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"neighborhood"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"geoCoordinates"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reference"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:701}};i.loc.source={body:'mutation updateOrderFormCheckin($orderFormId: String, $checkin: OrderFormCheckinInput) @context(sender: "vtex.store-resources@0.99.0") @runtimeMeta(hash: "098559fc5f71d00845680fb60869c25677a94e242729db7c8fb9bf9b4ad1115f") {\n updateOrderFormCheckin(orderFormId: $orderFormId, checkin: $checkin) {\n isCheckedIn\n checkedInPickupPointId\n shippingData {\n selectedAddresses {\n id\n street\n number\n receiverName\n complement\n neighborhood\n country\n state\n geoCoordinates\n postalCode\n city\n reference\n addressName\n addressType\n __typename\n }\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function d(e,n){for(var i=0;i0;){var m=s;s=new Set,m.forEach((function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach((function(e){s.add(e)})))}))}return r.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(i,"updateOrderFormCheckin")}},[[56,"common"]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["MutationUpdateOrderFormProfile"],{5:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateOrderFormProfile"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderFormId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"NamedType",name:{kind:"Name",value:"OrderFormProfileInput"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"fcf89b1e30acdf985042589dc71569023655f48be8153d6285116fce202530e0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateOrderFormProfile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"orderFormId"},value:{kind:"Variable",name:{kind:"Name",value:"orderFormId"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"orderFormId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:331}};i.loc.source={body:'mutation updateOrderFormProfile($orderFormId: String, $fields: OrderFormProfileInput) @context(sender: "vtex.store-resources@0.99.0") @runtimeMeta(hash: "fcf89b1e30acdf985042589dc71569023655f48be8153d6285116fce202530e0") {\n updateOrderFormProfile(orderFormId: $orderFormId, fields: $fields) {\n orderFormId\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function a(e,n){for(var i=0;i0;){var u=d;d=new Set,u.forEach((function(e){o.has(e)||(o.add(e),(r[e]||new Set).forEach((function(e){d.add(e)})))}))}return o.forEach((function(n){var r=a(e,n);r&&i.definitions.push(r)})),i}(i,"updateOrderFormProfile")},52:function(e,n,i){"use strict";i.r(n),function(e){var n=i(0);i.p=Object(n.getPublicPath)("vtex.store-resources@0.99.0");var r=Object(n.register)((function(){return i(53)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","MutationUpdateOrderFormProfile");r.renderHotReload,r.setupHMR}.call(this,i(2)(e))},53:function(e,n,i){"use strict";i.r(n);var r=i(5),a=i.n(r);n.default=a.a}},[[52,"common"]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["MutationUpdateOrderFormShipping"],{4:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateOrderFormShipping"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderFormId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"address"}},type:{kind:"NamedType",name:{kind:"Name",value:"OrderFormAddressInput"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"f0bf3e96e2734541bfa570ed6351246e4bb639373c8353694522c75bc7ef4cf9",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateOrderFormShipping"},arguments:[{kind:"Argument",name:{kind:"Name",value:"orderFormId"},value:{kind:"Variable",name:{kind:"Name",value:"orderFormId"}}},{kind:"Argument",name:{kind:"Name",value:"address"},value:{kind:"Variable",name:{kind:"Name",value:"address"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"orderFormId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCheckedIn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"checkedInPickupPointId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shippingData"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"neighborhood"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"complement"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"street"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reference"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"geoCoordinates"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"receiverName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"availableAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"neighborhood"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"complement"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"street"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reference"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"geoCoordinates"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"receiverName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:1008}};i.loc.source={body:'mutation updateOrderFormShipping($orderFormId: String, $address: OrderFormAddressInput) @context(sender: "vtex.store-resources@0.99.0") @runtimeMeta(hash: "f0bf3e96e2734541bfa570ed6351246e4bb639373c8353694522c75bc7ef4cf9") {\n updateOrderFormShipping(orderFormId: $orderFormId, address: $address) {\n orderFormId\n isCheckedIn\n checkedInPickupPointId\n shippingData {\n address {\n id\n neighborhood\n complement\n number\n street\n postalCode\n city\n reference\n addressName\n addressType\n geoCoordinates\n state\n receiverName\n country\n __typename\n }\n availableAddresses {\n id\n neighborhood\n complement\n number\n street\n postalCode\n city\n reference\n addressName\n addressType\n geoCoordinates\n state\n receiverName\n country\n __typename\n }\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function d(e,n){for(var i=0;i0;){var m=s;s=new Set,m.forEach((function(e){t.has(e)||(t.add(e),(a[e]||new Set).forEach((function(e){s.add(e)})))}))}return t.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(i,"updateOrderFormShipping")},50:function(e,n,i){"use strict";i.r(n),function(e){var n=i(0);i.p=Object(n.getPublicPath)("vtex.store-resources@0.99.0");var a=Object(n.register)((function(){return i(51)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","MutationUpdateOrderFormShipping");a.renderHotReload,a.setupHMR}.call(this,i(2)(e))},51:function(e,n,i){"use strict";i.r(n);var a=i(4),d=i.n(a);n.default=d.a}},[[50,"common"]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["OrderFormContext"],{1:function(e,r){e.exports=PropTypes},3:function(e,r){e.exports=React},30:function(e,r,t){"use strict";var o=t(60),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function i(e){return o.isMemo(e)?s:c[e.$$typeof]||n}c[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[o.Memo]=s;var u=Object.defineProperty,f=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,y=Object.prototype;e.exports=function e(r,t,o){if("string"!=typeof t){if(y){var n=m(t);n&&n!==y&&e(r,n,o)}var s=f(t);p&&(s=s.concat(p(t)));for(var c=i(r),l=i(t),b=0;b0;){var o=s;s=new Set,o.forEach((function(e){c.has(e)||(c.add(e),(a[e]||new Set).forEach((function(e){s.add(e)})))}))}return c.forEach((function(n){var a=i(e,n);a&&t.definitions.push(a)})),t}(t,"pwaData")},62:function(e,n,t){"use strict";t.r(n),function(e){var n=t(0);t.p=Object(n.getPublicPath)("vtex.store-resources@0.99.0");var a=Object(n.register)((function(){return t(63)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","PWAContext");a.renderHotReload,a.setupHMR}.call(this,t(2)(e))},63:function(e,n,t){"use strict";t.r(n);var a=t(27),i=t(28),r=t(3),c=t.n(r),s=t(26),o=t(7),d=t(31),u=t(32),l=t.n(u),m=c.a.createContext(null);n.default={PWAContext:m,PWAProvider:Object(o.graphql)(l.a,{options:function(){return{ssr:!1}}})((function(e){var n=e.rootPath,t=e.children,o=e.data,u=void 0===o?{}:o,l=u.manifest,v=u.iOSIcons,f=u.splashes,p=u.pwaSettings,k=u.loading,b=u.error,h=Object(d.usePixel)().push,g=Object(s.useRuntime)().workspace,S=Object(r.useRef)(null),_=Object(r.useRef)(!1),N=Object(r.useState)(!1),w=Object(i.a)(N,2),O=w[0],x=w[1],E=Object(r.useState)(!1),P=Object(i.a)(E,2),D=P[0],j=P[1];Object(r.useEffect)((function(){var e=function(e){var n=p.promptOnCustomEvent,t=p.disablePrompt;return!("default"!==n&&!_.current)||(e.preventDefault(),t||(S.current=e,_.current=!0),!1)};return window.addEventListener("beforeinstallprompt",e),function(){return window.removeEventListener("beforeinstallprompt",e)}}),[_,p]),Object(r.useEffect)((function(){var e=localStorage.getItem("webAppInstalled");e&&x(e);var n=localStorage.getItem("webAppInstallDismissed");n&&j(n)}),[]);var y=Object(r.useCallback)((function(){var e=S.current;e&&(e.prompt(),e.userChoice.then((function(e){"accepted"===e.outcome?localStorage.setItem("webAppInstalled","true"):localStorage.setItem("webAppInstallDismissed","true"),h({event:"installWebApp",userChoice:e.outcome}),S.current=null})))}),[]),F=Object(r.useMemo)((function(){if(p){var e=p.disablePrompt,n=p.promptOnCustomEvent,t=navigator&&!!navigator.userAgent.match(/(iPod|iPhone|iPad)/);return{showInstallPrompt:y,settings:{promptOnCustomEvent:e||t||D||O?"":n}}}}),[y,p,O]),A=!k&&l&&!b,C="master"===g?"":"?workspace=".concat(g);return c.a.createElement(m.Provider,{value:F},A&&c.a.createElement(s.Helmet,{meta:[{name:"theme-color",content:l.theme_color},{name:"apple-mobile-web-app-capable",content:"yes"}],link:[{rel:"manifest",href:"".concat(n,"/pwa/manifest.json").concat(C)}].concat(Object(a.a)(v?v.map((function(e){return{rel:"apple-touch-icon",sizes:e.sizes,href:"".concat(n).concat(e.src)}})):[]),Object(a.a)(f?f.map((function(e){return{href:"".concat(n).concat(e.src),sizes:e.sizes,rel:"apple-touch-startup-image"}})):[])).filter(Boolean)}),t)})),usePWA:function(){return Object(r.useContext)(m)}}},7:function(e,n){e.exports=ReactApollo}},[[62,"common"]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([[3],{17:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"orderForm"},variableDefinitions:[],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"orderForm"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"scope"},value:{kind:"StringValue",value:"private",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"8f74df2e6b00a63e83c16d494ab0402bf6e58e439b6c99d75eae4002a5746187",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cacheId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"orderFormId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userProfileId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customData"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customApps"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"itemMetadata"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"assemblyOptions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"composition"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seller"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"priceTable"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalizers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"detailUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productRefId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"additionalInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"brandName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"canHaveAttachment"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productCategoryIds"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productCategories"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"skuName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellingPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"listPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parentItemIndex"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parentAssemblyBinding"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cartIndex"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellingPriceWithAssemblies"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"assemblyOptions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"added"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"item"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellingPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellingPriceWithAssemblies"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"assemblyOptions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"added"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"item"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellingPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellingPriceWithAssemblies"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"normalizedQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"choiceType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"extraQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"removed"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"removedQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"initialQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"parentPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"normalizedQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"choiceType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"extraQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"removed"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"removedQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"initialQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"parentPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"seller"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceDefinition"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"calculatedSellingPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellingPrices"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"shippingData"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"neighborhood"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"complement"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"street"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reference"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"geoCoordinates"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"receiverName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"availableAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"neighborhood"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"complement"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"street"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reference"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"geoCoordinates"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"receiverName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"clientProfileData"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"storePreferencesData"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"countryCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currencyCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timeZone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"checkedInPickupPointId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCheckedIn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:3546}};i.loc.source={body:'query orderForm @context(sender: "vtex.store-resources@0.99.0") {\n orderForm @context(scope: "private") @runtimeMeta(hash: "8f74df2e6b00a63e83c16d494ab0402bf6e58e439b6c99d75eae4002a5746187") {\n cacheId\n sellers {\n id\n name\n __typename\n }\n orderFormId\n userProfileId\n customData {\n customApps {\n id\n fields\n __typename\n }\n __typename\n }\n itemMetadata {\n items {\n id\n name\n assemblyOptions {\n id\n name\n composition {\n items {\n id\n seller\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n priceTable {\n type\n values {\n id\n price\n __typename\n }\n __typename\n }\n __typename\n }\n value\n totalizers {\n id\n name\n value\n __typename\n }\n items {\n id\n productId\n name\n imageUrl\n detailUrl\n productRefId\n additionalInfo {\n brandName\n __typename\n }\n canHaveAttachment\n productCategoryIds\n productCategories\n skuName\n quantity\n sellingPrice\n listPrice\n parentItemIndex\n parentAssemblyBinding\n cartIndex\n sellingPriceWithAssemblies\n assemblyOptions {\n added {\n item {\n name\n sellingPrice\n quantity\n sellingPriceWithAssemblies\n assemblyOptions {\n added {\n item {\n name\n sellingPrice\n quantity\n sellingPriceWithAssemblies\n __typename\n }\n normalizedQuantity\n choiceType\n extraQuantity\n __typename\n }\n removed {\n removedQuantity\n initialQuantity\n name\n __typename\n }\n parentPrice\n __typename\n }\n __typename\n }\n normalizedQuantity\n choiceType\n extraQuantity\n __typename\n }\n removed {\n removedQuantity\n initialQuantity\n name\n __typename\n }\n parentPrice\n __typename\n }\n seller\n priceDefinition {\n calculatedSellingPrice\n total\n sellingPrices {\n quantity\n value\n __typename\n }\n __typename\n }\n __typename\n }\n shippingData {\n address {\n id\n neighborhood\n complement\n number\n street\n postalCode\n city\n reference\n addressName\n addressType\n geoCoordinates\n state\n receiverName\n country\n __typename\n }\n availableAddresses {\n id\n neighborhood\n complement\n number\n street\n postalCode\n city\n reference\n addressName\n addressType\n geoCoordinates\n state\n receiverName\n country\n __typename\n }\n __typename\n }\n clientProfileData {\n email\n firstName\n lastName\n __typename\n }\n storePreferencesData {\n countryCode\n currencyCode\n timeZone\n __typename\n }\n checkedInPickupPointId\n isCheckedIn\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function d(e,n){for(var i=0;i0;){var l=s;s=new Set,l.forEach((function(e){m.has(e)||(m.add(e),(a[e]||new Set).forEach((function(e){s.add(e)})))}))}return m.forEach((function(n){var a=d(e,n);a&&i.definitions.push(a)})),i}(i,"orderForm")}}]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["QueryOrderForm"],{80:function(e,r,t){"use strict";t.r(r),function(e){var r=t(0);t.p=Object(r.getPublicPath)("vtex.store-resources@0.99.0");var s=Object(r.register)((function(){return t(81)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","QueryOrderForm");s.renderHotReload,s.setupHMR}.call(this,t(2)(e))},81:function(e,r,t){"use strict";t.r(r);var s=t(17),o=t.n(s);r.default=o.a}},[[80,"common",3]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([[8],{25:function(e,n){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ProductFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Product"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"advertisement"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"adResponseId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"adRequestId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"cacheId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productReference"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"linkText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brand"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brandId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categories"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categoryId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"releaseDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceRange"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sellingPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"highPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lowPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"listPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"highPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lowPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"specificationGroups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specifications"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"skuSpecifications"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"productClusters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"clusterHighlights"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ItemFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SKU"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"itemId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nameComplete"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"complementName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ean"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"variations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"referenceId"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"measurementUnit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unitMultiplier"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cacheId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageLabel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageTag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SellerFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Seller"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sellerId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellerName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellerDefault"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CommertialOfferFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Offer"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"discountHighlights"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"teasers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"conditions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"minimumQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parameters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"effects"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"parameters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"Price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ListPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Tax"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxPercentage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"spotPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PriceWithoutDiscount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"RewardValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PriceValidUntil"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"AvailableQuantity"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"InstallmentFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Installment"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"InterestRate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"TotalValuePlusInterestRate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"NumberOfInstallments"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PaymentSystemName"},arguments:[],directives:[]}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Products"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"category"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collection"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"specificationFilters"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shippingOptions"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"from"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"to"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hideUnavailableItems"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"skusFilter"}},type:{kind:"NamedType",name:{kind:"Name",value:"ItemsFilter"}},defaultValue:{kind:"EnumValue",value:"ALL_AVAILABLE"},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"installmentCriteria"}},type:{kind:"NamedType",name:{kind:"Name",value:"InstallmentsCriteria"}},defaultValue:{kind:"EnumValue",value:"MAX_WITHOUT_INTEREST"},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"variant"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchState"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"advertisementOptions"}},type:{kind:"NamedType",name:{kind:"Name",value:"AdvertisementOptions"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"products"},arguments:[{kind:"Argument",name:{kind:"Name",value:"category"},value:{kind:"Variable",name:{kind:"Name",value:"category"}}},{kind:"Argument",name:{kind:"Name",value:"collection"},value:{kind:"Variable",name:{kind:"Name",value:"collection"}}},{kind:"Argument",name:{kind:"Name",value:"specificationFilters"},value:{kind:"Variable",name:{kind:"Name",value:"specificationFilters"}}},{kind:"Argument",name:{kind:"Name",value:"shippingOptions"},value:{kind:"Variable",name:{kind:"Name",value:"shippingOptions"}}},{kind:"Argument",name:{kind:"Name",value:"orderBy"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}},{kind:"Argument",name:{kind:"Name",value:"from"},value:{kind:"Variable",name:{kind:"Name",value:"from"}}},{kind:"Argument",name:{kind:"Name",value:"to"},value:{kind:"Variable",name:{kind:"Name",value:"to"}}},{kind:"Argument",name:{kind:"Name",value:"advertisementOptions"},value:{kind:"Variable",name:{kind:"Name",value:"advertisementOptions"}}},{kind:"Argument",name:{kind:"Name",value:"hideUnavailableItems"},value:{kind:"Variable",name:{kind:"Name",value:"hideUnavailableItems"}}},{kind:"Argument",name:{kind:"Name",value:"variant"},value:{kind:"Variable",name:{kind:"Name",value:"variant"}}},{kind:"Argument",name:{kind:"Name",value:"searchState"},value:{kind:"Variable",name:{kind:"Name",value:"searchState"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"StringValue",value:"vtex.search-graphql",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"2dd39d12da1438c7e734505e0537543b055d3d64049455c3d0dc31958c2cf58a",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ProductFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"Variable",name:{kind:"Name",value:"skusFilter"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ItemFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"sellers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SellerFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"commertialOffer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CommertialOfferFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"Installments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"criteria"},value:{kind:"Variable",name:{kind:"Name",value:"installmentCriteria"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InstallmentFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"rule"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:3597}};i.loc.source={body:'fragment ProductFragment on Product @context(sender: "vtex.store-resources@0.99.0") {\n advertisement {\n adId\n adResponseId\n adRequestId\n __typename\n }\n cacheId\n productId\n description\n productName\n productReference\n linkText\n brand\n brandId\n link\n categories\n categoryId\n releaseDate\n priceRange {\n sellingPrice {\n highPrice\n lowPrice\n __typename\n }\n listPrice {\n highPrice\n lowPrice\n __typename\n }\n __typename\n }\n specificationGroups {\n name\n originalName\n specifications {\n name\n originalName\n values\n __typename\n }\n __typename\n }\n skuSpecifications {\n field {\n name\n originalName\n __typename\n }\n values {\n name\n originalName\n __typename\n }\n __typename\n }\n productClusters {\n id\n name\n __typename\n }\n clusterHighlights {\n id\n name\n __typename\n }\n properties {\n name\n values\n __typename\n }\n}\n\nfragment ItemFragment on SKU @context(sender: "vtex.store-resources@0.99.0") {\n itemId\n name\n nameComplete\n complementName\n ean\n variations {\n name\n values\n __typename\n }\n referenceId {\n Key\n Value\n __typename\n }\n measurementUnit\n unitMultiplier\n images {\n cacheId\n imageId\n imageLabel\n imageTag\n imageUrl\n imageText\n __typename\n }\n}\n\nfragment SellerFragment on Seller @context(sender: "vtex.store-resources@0.99.0") {\n sellerId\n sellerName\n sellerDefault\n}\n\nfragment CommertialOfferFragment on Offer @context(sender: "vtex.store-resources@0.99.0") {\n discountHighlights {\n name\n __typename\n }\n teasers {\n name\n conditions {\n minimumQuantity\n parameters {\n name\n value\n __typename\n }\n __typename\n }\n effects {\n parameters {\n name\n value\n __typename\n }\n __typename\n }\n __typename\n }\n Price\n ListPrice\n Tax\n taxPercentage\n spotPrice\n PriceWithoutDiscount\n RewardValue\n PriceValidUntil\n AvailableQuantity\n}\n\nfragment InstallmentFragment on Installment @context(sender: "vtex.store-resources@0.99.0") {\n Value\n InterestRate\n TotalValuePlusInterestRate\n NumberOfInstallments\n Name\n PaymentSystemName\n}\n\nquery Products($category: String, $collection: String, $specificationFilters: [String], $shippingOptions: [String], $orderBy: String, $from: Int, $to: Int, $hideUnavailableItems: Boolean = false, $skusFilter: ItemsFilter = ALL_AVAILABLE, $installmentCriteria: InstallmentsCriteria = MAX_WITHOUT_INTEREST, $variant: String, $searchState: String, $advertisementOptions: AdvertisementOptions) @context(sender: "vtex.store-resources@0.99.0") {\n products(category: $category, collection: $collection, specificationFilters: $specificationFilters, shippingOptions: $shippingOptions, orderBy: $orderBy, from: $from, to: $to, advertisementOptions: $advertisementOptions, hideUnavailableItems: $hideUnavailableItems, variant: $variant, searchState: $searchState) @context(provider: "vtex.search-graphql") @runtimeMeta(hash: "2dd39d12da1438c7e734505e0537543b055d3d64049455c3d0dc31958c2cf58a") {\n ...ProductFragment\n items(filter: $skusFilter) {\n ...ItemFragment\n sellers {\n ...SellerFragment\n commertialOffer {\n ...CommertialOfferFragment\n Installments(criteria: $installmentCriteria) {\n ...InstallmentFragment\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n rule {\n id\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function t(e,n){for(var i=0;i0;){var r=l;l=new Set,r.forEach((function(e){m.has(e)||(m.add(e),(a[e]||new Set).forEach((function(e){l.add(e)})))}))}return m.forEach((function(n){var a=t(e,n);a&&i.definitions.push(a)})),i}(i,"Products")}}]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["QueryProducts"],{96:function(e,r,t){"use strict";t.r(r),function(e){var r=t(0);t.p=Object(r.getPublicPath)("vtex.store-resources@0.99.0");var s=Object(r.register)((function(){return t(97)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","QueryProducts");s.renderHotReload,s.setupHMR}.call(this,t(2)(e))},97:function(e,r,t){"use strict";t.r(r);var s=t(25),o=t.n(s);r.default=o.a}},[[96,"common",8]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["QueryItemsWithSimulation"],{37:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"itemsWithSimulation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"items"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"ItemInput"}}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"itemsWithSimulation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"items"},value:{kind:"Variable",name:{kind:"Name",value:"items"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"c11a76f2c6086ecd493eb60d8868c6e945710be49c1762b37a83e90feb973b7b",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"itemId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sellerId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"commertialOffer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"AvailableQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ListPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PriceValidUntil"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Installments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"InterestRate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"TotalValuePlusInterestRate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"NumberOfInstallments"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:601}};i.loc.source={body:'query itemsWithSimulation($items: [ItemInput]) @context(sender: "vtex.store-resources@0.99.0") {\n itemsWithSimulation(items: $items) @runtimeMeta(hash: "c11a76f2c6086ecd493eb60d8868c6e945710be49c1762b37a83e90feb973b7b") {\n itemId\n sellers {\n sellerId\n commertialOffer {\n AvailableQuantity\n Price\n ListPrice\n PriceValidUntil\n Installments {\n Value\n InterestRate\n TotalValuePlusInterestRate\n NumberOfInstallments\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function a(e,n){for(var i=0;i0;){var l=d;d=new Set,l.forEach((function(e){s.has(e)||(s.add(e),(t[e]||new Set).forEach((function(e){d.add(e)})))}))}return s.forEach((function(n){var t=a(e,n);t&&i.definitions.push(t)})),i}(i,"itemsWithSimulation")},78:function(e,n,i){"use strict";i.r(n),function(e){var n=i(0);i.p=Object(n.getPublicPath)("vtex.store-resources@0.99.0");var t=Object(n.register)((function(){return i(79)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","QueryItemsWithSimulation");t.renderHotReload,t.setupHMR}.call(this,i(2)(e))},79:function(e,n,i){"use strict";i.r(n);var t=i(37),a=i.n(t);n.default=a.a}},[[78,"common"]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["QueryAutocompleteSearchSuggestions"],{33:function(e,n){var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"autocompleteSearchSuggestions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fullText"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchState"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"autocompleteSearchSuggestions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fullText"},value:{kind:"Variable",name:{kind:"Name",value:"fullText"}}},{kind:"Argument",name:{kind:"Name",value:"searchState"},value:{kind:"Variable",name:{kind:"Name",value:"searchState"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"StringValue",value:"vtex.search-graphql",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"28d59ffab589e9313c325d40739f3ea6a00604e01d37e6d42c5c29c99ee1d1fa",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"searches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"term"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"labelValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:500}};a.loc.source={body:'query autocompleteSearchSuggestions($fullText: String!, $searchState: String) @context(sender: "vtex.store-resources@0.99.0") {\n autocompleteSearchSuggestions(fullText: $fullText, searchState: $searchState) @context(provider: "vtex.search-graphql") @runtimeMeta(hash: "28d59ffab589e9313c325d40739f3ea6a00604e01d37e6d42c5c29c99ee1d1fa") {\n searches {\n term\n attributes {\n key\n value\n labelValue\n __typename\n }\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var a=0;a0;){var o=u;u=new Set,o.forEach((function(e){d.has(e)||(d.add(e),(i[e]||new Set).forEach((function(e){u.add(e)})))}))}return d.forEach((function(n){var i=t(e,n);i&&a.definitions.push(i)})),a}(a,"autocompleteSearchSuggestions")},66:function(e,n,a){"use strict";a.r(n),function(e){var n=a(0);a.p=Object(n.getPublicPath)("vtex.store-resources@0.99.0");var i=Object(n.register)((function(){return a(67)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","QueryAutocompleteSearchSuggestions");i.renderHotReload,i.setupHMR}.call(this,a(2)(e))},67:function(e,n,a){"use strict";a.r(n);var i=a(33),t=a.n(i);n.default=t.a}},[[66,"common"]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["QuerySuggestionProducts"],{115:function(e,n,i){"use strict";i.r(n),function(e){var n=i(0);i.p=Object(n.getPublicPath)("vtex.store-resources@0.99.0");var a=Object(n.register)((function(){return i(116)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","QuerySuggestionProducts");a.renderHotReload,a.setupHMR}.call(this,i(2)(e))},116:function(e,n,i){"use strict";i.r(n);var a=i(44),t=i.n(a);n.default=t.a},44:function(e,n){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ProductFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Product"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"advertisement"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"adId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"adResponseId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"adRequestId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"cacheId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productReference"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"linkText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brand"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brandId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categories"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categoryId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"releaseDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceRange"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sellingPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"highPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lowPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"listPrice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"highPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lowPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"specificationGroups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specifications"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"skuSpecifications"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"productClusters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"clusterHighlights"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ItemFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SKU"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"itemId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nameComplete"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"complementName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ean"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"variations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"referenceId"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"measurementUnit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unitMultiplier"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cacheId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageLabel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageTag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SellerFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Seller"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sellerId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellerName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sellerDefault"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CommertialOfferFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Offer"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"discountHighlights"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"teasers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"conditions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"minimumQuantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parameters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"effects"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"parameters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"Price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ListPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Tax"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxPercentage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"spotPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PriceWithoutDiscount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"RewardValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PriceValidUntil"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"AvailableQuantity"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"InstallmentFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Installment"}},directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"InterestRate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"TotalValuePlusInterestRate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"NumberOfInstallments"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"Name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"PaymentSystemName"},arguments:[],directives:[]}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"productSuggestions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fullText"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"facetKey"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"facetValue"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productOriginVtex"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"simulationBehavior"}},type:{kind:"NamedType",name:{kind:"Name",value:"SimulationBehavior"}},defaultValue:{kind:"EnumValue",value:"default"},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hideUnavailableItems"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"count"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"shippingOptions"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"variant"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"advertisementOptions"}},type:{kind:"NamedType",name:{kind:"Name",value:"AdvertisementOptions"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productSuggestions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fullText"},value:{kind:"Variable",name:{kind:"Name",value:"fullText"}}},{kind:"Argument",name:{kind:"Name",value:"facetKey"},value:{kind:"Variable",name:{kind:"Name",value:"facetKey"}}},{kind:"Argument",name:{kind:"Name",value:"facetValue"},value:{kind:"Variable",name:{kind:"Name",value:"facetValue"}}},{kind:"Argument",name:{kind:"Name",value:"productOriginVtex"},value:{kind:"Variable",name:{kind:"Name",value:"productOriginVtex"}}},{kind:"Argument",name:{kind:"Name",value:"simulationBehavior"},value:{kind:"Variable",name:{kind:"Name",value:"simulationBehavior"}}},{kind:"Argument",name:{kind:"Name",value:"hideUnavailableItems"},value:{kind:"Variable",name:{kind:"Name",value:"hideUnavailableItems"}}},{kind:"Argument",name:{kind:"Name",value:"orderBy"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}},{kind:"Argument",name:{kind:"Name",value:"count"},value:{kind:"Variable",name:{kind:"Name",value:"count"}}},{kind:"Argument",name:{kind:"Name",value:"shippingOptions"},value:{kind:"Variable",name:{kind:"Name",value:"shippingOptions"}}},{kind:"Argument",name:{kind:"Name",value:"variant"},value:{kind:"Variable",name:{kind:"Name",value:"variant"}}},{kind:"Argument",name:{kind:"Name",value:"advertisementOptions"},value:{kind:"Variable",name:{kind:"Name",value:"advertisementOptions"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"StringValue",value:"vtex.search-graphql",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"db333c9cfdf258f98d62add1567adf4e594a8195da9c70f68a1ef614d5a67242",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"misspelled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"operator"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"products"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ProductFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ItemFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"sellers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SellerFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"commertialOffer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CommertialOfferFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"Installments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InstallmentFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"selectedProperties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"rule"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:3719}};i.loc.source={body:'fragment ProductFragment on Product @context(sender: "vtex.store-resources@0.99.0") {\n advertisement {\n adId\n adResponseId\n adRequestId\n __typename\n }\n cacheId\n productId\n description\n productName\n productReference\n linkText\n brand\n brandId\n link\n categories\n categoryId\n releaseDate\n priceRange {\n sellingPrice {\n highPrice\n lowPrice\n __typename\n }\n listPrice {\n highPrice\n lowPrice\n __typename\n }\n __typename\n }\n specificationGroups {\n name\n originalName\n specifications {\n name\n originalName\n values\n __typename\n }\n __typename\n }\n skuSpecifications {\n field {\n name\n originalName\n __typename\n }\n values {\n name\n originalName\n __typename\n }\n __typename\n }\n productClusters {\n id\n name\n __typename\n }\n clusterHighlights {\n id\n name\n __typename\n }\n properties {\n name\n values\n __typename\n }\n}\n\nfragment ItemFragment on SKU @context(sender: "vtex.store-resources@0.99.0") {\n itemId\n name\n nameComplete\n complementName\n ean\n variations {\n name\n values\n __typename\n }\n referenceId {\n Key\n Value\n __typename\n }\n measurementUnit\n unitMultiplier\n images {\n cacheId\n imageId\n imageLabel\n imageTag\n imageUrl\n imageText\n __typename\n }\n}\n\nfragment SellerFragment on Seller @context(sender: "vtex.store-resources@0.99.0") {\n sellerId\n sellerName\n sellerDefault\n}\n\nfragment CommertialOfferFragment on Offer @context(sender: "vtex.store-resources@0.99.0") {\n discountHighlights {\n name\n __typename\n }\n teasers {\n name\n conditions {\n minimumQuantity\n parameters {\n name\n value\n __typename\n }\n __typename\n }\n effects {\n parameters {\n name\n value\n __typename\n }\n __typename\n }\n __typename\n }\n Price\n ListPrice\n Tax\n taxPercentage\n spotPrice\n PriceWithoutDiscount\n RewardValue\n PriceValidUntil\n AvailableQuantity\n}\n\nfragment InstallmentFragment on Installment @context(sender: "vtex.store-resources@0.99.0") {\n Value\n InterestRate\n TotalValuePlusInterestRate\n NumberOfInstallments\n Name\n PaymentSystemName\n}\n\nquery productSuggestions($fullText: String!, $facetKey: String, $facetValue: String, $productOriginVtex: Boolean = false, $simulationBehavior: SimulationBehavior = default, $hideUnavailableItems: Boolean = false, $orderBy: String, $count: Int, $shippingOptions: [String], $variant: String, $advertisementOptions: AdvertisementOptions) @context(sender: "vtex.store-resources@0.99.0") {\n productSuggestions(fullText: $fullText, facetKey: $facetKey, facetValue: $facetValue, productOriginVtex: $productOriginVtex, simulationBehavior: $simulationBehavior, hideUnavailableItems: $hideUnavailableItems, orderBy: $orderBy, count: $count, shippingOptions: $shippingOptions, variant: $variant, advertisementOptions: $advertisementOptions) @context(provider: "vtex.search-graphql") @runtimeMeta(hash: "db333c9cfdf258f98d62add1567adf4e594a8195da9c70f68a1ef614d5a67242") {\n count\n misspelled\n operator\n products {\n ...ProductFragment\n items {\n ...ItemFragment\n sellers {\n ...SellerFragment\n commertialOffer {\n ...CommertialOfferFragment\n Installments {\n ...InstallmentFragment\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n selectedProperties {\n key\n value\n __typename\n }\n rule {\n id\n __typename\n }\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function t(e,n){for(var i=0;i0;){var r=l;l=new Set,r.forEach((function(e){m.has(e)||(m.add(e),(a[e]||new Set).forEach((function(e){l.add(e)})))}))}return m.forEach((function(n){var a=t(e,n);a&&i.definitions.push(a)})),i}(i,"productSuggestions")}},[[115,"common"]]]); },function(){ (window.webpackJsonpvtex_store_resources_0_99_0=window.webpackJsonpvtex_store_resources_0_99_0||[]).push([["QueryTopSearches"],{117:function(e,n,a){"use strict";a.r(n),function(e){var n=a(0);a.p=Object(n.getPublicPath)("vtex.store-resources@0.99.0");var i=Object(n.register)((function(){return a(118)}),e,"vtex.store-resources@0.99.0","vtex.store-resources@0.x","QueryTopSearches");i.renderHotReload,i.setupHMR}.call(this,a(2)(e))},118:function(e,n,a){"use strict";a.r(n);var i=a(45),t=a.n(i);n.default=t.a},45:function(e,n){var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"topSearches"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchState"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"vtex.store-resources@0.99.0",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"topSearches"},arguments:[{kind:"Argument",name:{kind:"Name",value:"searchState"},value:{kind:"Variable",name:{kind:"Name",value:"searchState"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"StringValue",value:"vtex.search-graphql",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"5b15a7a51d6db4daee1c392bd8beea187f7aaf126d70bcb6b01e40f4923e551a",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"searches"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"term"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:332}};a.loc.source={body:'query topSearches($searchState: String) @context(sender: "vtex.store-resources@0.99.0") {\n topSearches(searchState: $searchState) @context(provider: "vtex.search-graphql") @runtimeMeta(hash: "5b15a7a51d6db4daee1c392bd8beea187f7aaf126d70bcb6b01e40f4923e551a") {\n searches {\n term\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var a=0;a0;){var c=s;s=new Set,c.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){s.add(e)})))}))}return o.forEach((function(n){var i=t(e,n);i&&a.definitions.push(i)})),a}(a,"topSearches")}},[[117,"common"]]]); },function(){ !function(e){function t(t){for(var n,u,c=t[0],a=t[1],l=t[2],f=0,s=[];fe.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0?s=setTimeout(a,t-u):(s=null,n||(c=e.apply(r,i),r=i=null))}null==t&&(t=100);var u=function(){r=this,i=arguments,o=Date.now();var u=n&&!s;return s||(s=setTimeout(a,t)),u&&(c=e.apply(r,i),r=i=null),c};return u.clear=function(){s&&(clearTimeout(s),s=null)},u.flush=function(){s&&(c=e.apply(r,i),r=i=null,clearTimeout(s),s=null)},u}n.debounce=n,e.exports=n},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.pixel-manager@1.x/PixelContext"]},,function(e,t,n){"use strict";n.r(t),function(e){var t=n(2);n.p=Object(t.getPublicPath)("vtex.product-list-context@0.4.1");var s=Object(t.register)((function(){return n(9)}),e,"vtex.product-list-context@0.4.1","vtex.product-list-context@0.x","useProductImpression");s.renderHotReload,s.setupHMR}.call(this,n(4)(e))},function(e,t,n){"use strict";n.r(t);var s=n(0),i=n(5),r=n.n(i),o=n(6),c=n.n(o),a=n(3),u=n(1),l=/.+ids\/(\d+)/,d=/http:\/\//;function p(e,t,n){return e.includes("/arquivos/ids/")?"".concat(function(e){var t=l.exec(e);if(t&&t.length>0)return t[0]}(e),"-").concat(t,"-").concat(n):e}var f={imageUrl:"",imageLabel:""},m={Value:""},v={commertialOffer:{Price:0,ListPrice:0}};function x(e){return e.sellers.find((function(e){var t=e.commertialOffer;return(void 0===t?{}:t).AvailableQuantity>0}))}function I(e){var t,n,s,i=Object.assign({},e),r=i.items||[],o=r.find(x)||r[0];if(o){var c=null!==(t=null==o?void 0:o.sellers)&&void 0!==t?t:[],a=Object(u.a)(c,1)[0],l=void 0===a?v:a,I=null!==(n=o.referenceId)&&void 0!==n?n:[],b=Object(u.a)(I,1)[0],g=void 0===b?m:b,O=null!==(s=o.images)&&void 0!==s?s:[],h=Object(u.a)(O,1)[0],j=void 0===h?f:h,_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";if(e){"number"==typeof t&&(t=Math.min(t,3e3)),"number"==typeof n&&(n=Math.min(n,4e3));var s=p(e,t,n),i=s.includes("?")?"&":"?";return"".concat(s).concat(i,"width=").concat(t,"&height=").concat(n,"&aspect=true")}}(j.imageUrl.replace(d,"https://"),500),E=Object.assign(Object.assign({},j),{imageUrl:_});i.sku=Object.assign(Object.assign({},o),{seller:l,referenceId:g,image:E})}return i}var b=a.default.useProductListDispatch,g=a.default.useProductListState,O=function(e){var t=e.push,n=e.nextImpressions,s=e.dispatch,i=e.listName;!n||n.length<=0||(t({event:"productImpression",list:i||"List of products",impressions:n.filter(Boolean).map((function(e,t){var n=e.product,s=e.impressionIndex;return{product:I(n),position:null!=s?s:t}}))}),s({type:"RESET_NEXT_IMPRESSIONS"}))};t.default=function(){var e=g(),t=e.nextImpressions,n=e.listName,i=c.a.usePixel().push,o=b(),a=Object(s.useCallback)(r()(O,1e3,!1),[]);Object(s.useEffect)((function(){a({push:i,dispatch:o,listName:n,nextImpressions:t})}),[t,a,o,i,n])}}],[[8,"common"]]]); },function(){ !function(e){function t(t){for(var r,u,a=t[0],c=t[1],l=t[2],d=0,s=[];de.length)&&(t=e.length);for(var n=0,r=new Array(t);nthis.cancelTask(n,e)},resolve:void 0,reject:void 0};n.args.push(n.cancellationToken),this.queue.push(n),this.scheduler.schedule(()=>this.next());const i=new Promise((e,t)=>{n.resolve=e,n.reject=t});return i.cancel=e=>n.cancellationToken.cancel(e),i}cancel(){this.currentTask&&this.cancelTask(this.currentTask,s.cancel);const e=this.queue.splice(0);return e.length&&(e.forEach(e=>this.cancelTask(e,s.cancel)),this.emit(o)),this.wait()}indexOf(e){var t;if((null===(t=this.currentTask)||void 0===t?void 0:t.callback)===e)return 0;const n=this.queue.filter(e=>{var t;return!(null===(t=e.cancellationToken)||void 0===t?void 0:t.cancelled)}).findIndex(t=>t.callback===e);return n<0?n:n+(void 0!==this.currentTask?1:0)}close(e){return!this._isClosed&&(this._isClosed=!0,e)?this.cancel():this.wait()}async wait(){return this.currentTask||0!==this.queue.length?new Promise(e=>{this.waiters.push(e)}):Promise.resolve()}on(e,t){var n;this.events=null!==(n=this.events)&&void 0!==n?n:{},(this.events[e]||(this.events[e]=[])).push(t)}once(e,t){const n=(...i)=>{this.removeListener(e,n),t.apply(this,i)};this.on(e,n)}removeListener(e,t){if(this.events){const n=this.events[e];if(n){let e=0;for(;ee.apply(this,t))}catch(t){console.error(`${this.name}: Exception in '${e}' event handler`,t)}}next(){if(!this.currentTask){let t=this.queue.shift();for(;null==t?void 0:t.cancellationToken.cancelled;)t=this.queue.shift();if(t)try{this.currentTask=t,t.timeout&&(t.timeoutHandle=setTimeout(()=>{this.emit(l),this.cancelTask(t,s.timeout)},t.timeout));const n=t.callback.apply(void 0,t.args);n&&((e=n)&&"function"==typeof e.then)?n.then(e=>{t.result=e,this.doneTask(t)},e=>{this.doneTask(t,e)}):(t.result=n,this.doneTask(t))}catch(e){this.doneTask(t,e)}else this.callWaiters()}var e}cancelTask(e,t){e.cancellationToken.cancelled=!0,e.cancellationToken.reason=t,this.doneTask(e)}doneTask(e,t){e.timeoutHandle&&clearTimeout(e.timeoutHandle),e.cancellationToken.cancel=u,t?(this.emit(a,t),e.reject.call(void 0,t)):e.cancellationToken.cancelled?e.reject.call(void 0,e.cancellationToken.reason):e.resolve.call(void 0,e.result),this.currentTask===e&&(this.currentTask=void 0,this.queue.length?this.scheduler.schedule(()=>this.next()):(this.emit(o),this.callWaiters()))}callWaiters(){this.waiters.splice(0).forEach(e=>e())}}c.defaultScheduler={schedule:e=>setTimeout(()=>e(),0)},c.defaultScheduler={schedule:"function"==typeof e?t=>e(()=>t()):e=>setTimeout(()=>e(),0)};const d={id:"default-order-form",items:[],value:-1,totalizers:[],marketingData:{},canEditData:!1,loggedIn:!1,paymentData:{isValid:!1,installmentOptions:[],paymentSystems:[],payments:[],availableAccounts:[]},messages:{couponMessages:[],generalMessages:[]},shipping:{isValid:!1,deliveryOptions:[],pickupOptions:[]}};class f{constructor(){this.queue=new c,this.taskIdMap={},this.listeners={},this.isEmpty=!0,this.queue.on("drained",()=>{this.isEmpty=!0,this.emit("Fulfilled")})}isWaiting(e){return!!this.taskIdMap[e]}enqueue(e,t){this.isEmpty&&(this.isEmpty=!1,this.emit("Pending")),t&&this.taskIdMap[t]&&this.taskIdMap[t].promise.cancel();const n=()=>(t&&this.taskIdMap[t]&&delete this.taskIdMap[t],new Promise((t,n)=>{const i=async()=>{try{const n=await e();t(n)}catch(e){if(!navigator.onLine)return;n(e)}window.removeEventListener("online",i)};window.addEventListener("online",i),navigator.onLine&&i()})),i=this.queue.push(n),r=i.cancel;return i.cancel=()=>r({code:"TASK_CANCELLED",index:this.queue.indexOf(n)}),t&&(this.taskIdMap[t]={task:e,promise:i}),i}listen(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t);return()=>{const n=this.listeners[e].indexOf(t);-1!==n&&this.listeners[e].splice(n,1)}}emit(e){this.listeners[e]&&this.listeners[e].forEach(e=>e())}}const h=Object(i.createContext)(void 0),m=()=>{const{status:e}=g();return e},v=({children:e})=>{const[t]=Object(i.useState)(()=>new f),n=Object(i.useRef)("Fulfilled");Object(i.useLayoutEffect)(()=>t.listen("Pending",()=>n.current="Pending"),[t]),Object(i.useLayoutEffect)(()=>t.listen("Fulfilled",()=>n.current="Fulfilled"),[t]);const s=Object(i.useMemo)(()=>({enqueue:t.enqueue.bind(t),listen:t.listen.bind(t),isWaiting:t.isWaiting.bind(t),status:n}),[t,n]);return r.a.createElement(h.Provider,{value:s},e)};function g(){const e=Object(i.useContext)(h);if(void 0===e)throw new Error("useOrderQueue must be used within a OrderQueueProvider");return e}var p,T,y,w,b;const k=null!==(b=!("undefined"==typeof window||!window.document||!window.document.createElement)&&(null===(w=null===(y=null===(T=null===(p=window)||void 0===p?void 0:p.__RUNTIME__)||void 0===T?void 0:T.settings)||void 0===y?void 0:y["vtex.store"])||void 0===w?void 0:w.enableOrderFormOptimization))&&void 0!==b&&b,O=Object(i.createContext)({orderForm:d,setOrderForm:()=>{},error:void 0,loading:!1});function E(){const e=Object(i.useContext)(O);if(void 0===e)throw new Error("useOrderForm must be used within a OrderFormProvider");return e}function F(){var e;return"undefined"==typeof document?null:JSON.parse(null!==(e=localStorage.getItem("orderform"))&&void 0!==e?e:"null")}function I(e,t){return"function"==typeof t?{...e,...t({...e,value:-1===e.value?0:e.value})}:{...e,...t}}function _({useOrderFormMessages:e,useGetOrderForm:t,useLogger:n,defaultOrderForm:s}){return{OrderFormProvider:({children:o})=>{var a,l;const{log:u}=null!==(a=null==n?void 0:n())&&void 0!==a?a:{},c="undefined"!=typeof document&&!navigator.onLine,[d,f]=Object(i.useReducer)(I,null!==(l=c?F():s)&&void 0!==l?l:s),{loading:h,data:v,error:g}=t({orderForm:d,setOrderForm:f}),[p,T]=Object(i.useState)(!c),y=m();Object(i.useEffect)(()=>{if(h||g||!v)return;const e=F();if(null!=e&&(!((e,t)=>-1===e.value||k&&e.id!==t.id&&"default-order-form"!==e.id)(e,v.orderForm)||"Fulfilled"!==y.current))return T(!1),void f(t=>t.id!==s.id?t:e);f(v.orderForm),T(!1)},[v,g,h,y]),Object(i.useEffect)(()=>{((e,t)=>{try{localStorage.setItem("orderform",JSON.stringify(e))}catch(e){null==t||t({type:"Error",level:"Critical",event:e,workflowType:"OrderManager",workflowInstance:"save-local-orderform"})}})(d,u)},[u,d]),e(d,f);const w=Object(i.useMemo)(()=>"default-order-form"!==d.id?{error:g,orderForm:{...d,value:-1===d.value?0:d.value,messages:{...d.messages,generalMessages:[]}},initialFetchComplete:!0,setOrderForm:f,loading:p}:{error:g,orderForm:{...d,value:-1===d.value?0:d.value,messages:{...d.messages,generalMessages:[]}},initialFetchComplete:!1,setOrderForm:f,loading:p},[g,d,p]);return r.a.createElement(O.Provider,{value:w},o)}}}function M({useToast:e,useClearOrderFormMessages:t,useGetOrderForm:n,useLogger:r,defaultOrderForm:s}){return _({useOrderFormMessages:(({useClearOrderFormMessages:e,useToast:t})=>(n,r)=>{const[s,o]=Object(i.useState)([]),{showToast:a,toastState:l}=t(),{enqueue:u}=g(),c=m(),d=e();Object(i.useEffect)(()=>{!l.isToastVisible&&s.length&&(a(s[0].text),o(e=>e.slice(1)))},[a,l.isToastVisible,s]),Object(i.useEffect)(()=>{var e,t;if(!(null===(t=null===(e=n.messages)||void 0===e?void 0:e.generalMessages)||void 0===t?void 0:t.length))return;o(e=>{var t,i;return e.concat(null!==(i=null===(t=n.messages)||void 0===t?void 0:t.generalMessages)&&void 0!==i?i:[])}),r(e=>({...e,messages:{...e.messages,generalMessages:[]}}));u(async()=>{const{data:e}=await d({orderFormId:n.id});return e.clearOrderFormMessages}).then(e=>{"Fulfilled"===c.current&&r(e)},e=>{if("TASK_CANCELLED"!==e.code)throw e})},[d,u,n.id,n.messages,c,r])})({useToast:e,useClearOrderFormMessages:t}),useGetOrderForm:n,useLogger:r,defaultOrderForm:s})}}).call(this,n(18).setImmediate)},18:function(e,t,n){var i="undefined"!=typeof global&&global||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function s(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new s(r.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new s(r.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(19),t.setImmediate="undefined"!=typeof self&&self.setImmediate||"undefined"!=typeof global&&global.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||"undefined"!=typeof global&&global.clearImmediate||this&&this.clearImmediate},19:function(e,t,n){(function(e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,s,o,a,l=1,u={},c=!1,d=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){m(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((s=new MessageChannel).port1.onmessage=function(e){m(e.data)},i=function(e){s.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,i=function(e){var t=d.createElement("script");t.onreadystatechange=function(){m(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):i=function(e){setTimeout(m,0,e)}:(o="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&m(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),i=function(e){t.postMessage(o+e,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n