!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=838)}({0:function(e,t,r){"use strict";e.exports=r(45)},1:function(e,t){e.exports=wp.i18n},288:function(e){e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","name":"sellkit-blocks/checkout","title":"Checkout","category":"sellkit-blocks","textdomain":"sellkit","attributes":{"customClassName":{"type":"string","default":""},"emptyCartMessage":{"type":"string","default":"Your shopping cart is empty."}},"supports":{"inserter":true,"anchor":true,"align":["wide","full"],"alignWide":true,"html":false,"multiple":false,"reusable":false},"editorStyle":"file:../../../../assets/dist/blocks/checkout/editor.css","style":["wp-block-sellkit-checkout sellkit-checkout-widget","file:../../../../assets/dist/blocks/checkout/frontend.css"]}')},37:function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},43:function(e,t,r){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function c(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,u,i=c(e),s=1;s<arguments.length;s++){for(var a in r=Object(arguments[s]))o.call(r,a)&&(i[a]=r[a]);if(n){u=n(r);for(var f=0;f<u.length;f++)l.call(r,u[f])&&(i[u[f]]=r[u[f]])}}return i}},45:function(e,t,r){"use strict";
/** @license React v16.13.1
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=r(43),o="function"==typeof Symbol&&Symbol.for,l=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,i=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,a=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,k=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116,m="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function g(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||h}function w(){}function C(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=g.prototype;var j=C.prototype=new w;j.constructor=C,n(j,g.prototype),j.isPureReactComponent=!0;var O={current:null},S=Object.prototype.hasOwnProperty,_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var n,o={},c=null,u=null;if(null!=t)for(n in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(c=""+t.key),t)S.call(t,n)&&!_.hasOwnProperty(n)&&(o[n]=t[n]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){for(var s=Array(i),a=0;a<i;a++)s[a]=arguments[a+2];o.children=s}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===o[n]&&(o[n]=i[n]);return{$$typeof:l,type:e,key:c,ref:u,props:o,_owner:O.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===l}var P=/\/+/g,N=[];function $(e,t,r,n){if(N.length){var o=N.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function R(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var i=!1;if(null===t)i=!0;else switch(u){case"string":case"number":i=!0;break;case"object":switch(t.$$typeof){case l:case c:i=!0}}if(i)return n(o,t,""===r?"."+L(t,0):r),1;if(i=0,r=""===r?".":r+":",Array.isArray(t))for(var s=0;s<t.length;s++){var a=r+L(u=t[s],s);i+=e(u,a,n,o)}else if(null===t||"object"!=typeof t?a=null:a="function"==typeof(a=m&&t[m]||t["@@iterator"])?a:null,"function"==typeof a)for(t=a.call(t),s=0;!(u=t.next()).done;)i+=e(u=u.value,a=r+L(u,s++),n,o);else if("object"===u)throw n=""+t,Error(d(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return i}(e,"",t,r)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function I(e,t){e.func.call(e.context,t,e.count++)}function B(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?A(e,n,r,(function(e){return e})):null!=e&&(x(e)&&(e=function(e,t){return{$$typeof:l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+r)),n.push(e))}function A(e,t,r,n,o){var l="";null!=r&&(l=(""+r).replace(P,"$&/")+"/"),M(e,B,t=$(t,l,n,o)),R(t)}var T={current:null};function q(){var e=T.current;if(null===e)throw Error(d(321));return e}var U={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:O,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return A(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,I,t=$(null,null,t,r)),R(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return A(e,t,null,(function(e){return e})),t},only:function(e){if(!x(e))throw Error(d(143));return e}},t.Component=g,t.Fragment=u,t.Profiler=s,t.PureComponent=C,t.StrictMode=i,t.Suspense=k,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,r){if(null==e)throw Error(d(267,e));var o=n({},e.props),c=e.key,u=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,i=O.current),void 0!==t.key&&(c=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)S.call(t,a)&&!_.hasOwnProperty(a)&&(o[a]=void 0===t[a]&&void 0!==s?s[a]:t[a])}var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){s=Array(a);for(var f=0;f<a;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:l,type:e.type,key:c,ref:u,props:o,_owner:i}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:b,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:y,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return q().useCallback(e,t)},t.useContext=function(e,t){return q().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return q().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return q().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return q().useLayoutEffect(e,t)},t.useMemo=function(e,t){return q().useMemo(e,t)},t.useReducer=function(e,t,r){return q().useReducer(e,t,r)},t.useRef=function(e){return q().useRef(e)},t.useState=function(e){return q().useState(e)},t.version="16.13.1"},838:function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(288),l=r(37),c=r.n(l),u=r(1),i=wp.blockEditor,s=i.useBlockProps,a=i.useInnerBlocksProps,f=i.InspectorControls,p=wp.element.useEffect,k=wp.components,y=k.PanelBody,b=k.TextControl;var m=wp.blockEditor,d=m.useBlockProps,h=m.useInnerBlocksProps;var v=wp.blocks.registerBlockType,g=wp.components,w=g.SVG,C=g.Path,j=o.name,O=o.title;v(j,{icon:{src:Object(n.createElement)(w,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(C,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.25C2.58579 4.25 2.25 4.58579 2.25 5C2.25 5.41421 2.58579 5.75 3 5.75H4.79025L7.01154 14.1909C7.09824 14.5204 7.39614 14.75 7.73684 14.75H18.6316C18.9596 14.75 19.2496 14.5368 19.3474 14.2237L21.7159 6.64476C21.8394 6.2494 21.6191 5.82874 21.2237 5.70519C20.8283 5.58164 20.4077 5.80199 20.2841 6.19735L18.0802 13.25H8.31501L6.09373 4.80913C6.00702 4.47965 5.70912 4.25 5.36842 4.25H3ZM10.5 20C11.3284 20 12 19.3284 12 18.5C12 17.6716 11.3284 17 10.5 17C9.67157 17 9 17.6716 9 18.5C9 19.3284 9.67157 20 10.5 20ZM18 18.5C18 19.3284 17.3284 20 16.5 20C15.6716 20 15 19.3284 15 18.5C15 17.6716 15.6716 17 16.5 17C17.3284 17 18 17.6716 18 18.5ZM17.5303 6.53033C17.8232 6.23744 17.8232 5.76256 17.5303 5.46967C17.2374 5.17678 16.7626 5.17678 16.4697 5.46967L13 8.93934L11.5303 7.46967C11.2374 7.17678 10.7626 7.17678 10.4697 7.46967C10.1768 7.76256 10.1768 8.23744 10.4697 8.53033L12.4697 10.5303C12.7626 10.8232 13.2374 10.8232 13.5303 10.5303L17.5303 6.53033Z",fill:"#000"}))},title:O,edit:function(e){var t=e.attributes,r=e.setAttributes,o=e.clientId,l=t.customClassName,i=t.style,k=t.emptyCartMessage;p((function(){l||r({customClassName:"sellkit-checkout-block wp-elements-".concat(o)})}),[]);var m=[["sellkit-inner-blocks/checkout-contact-information",{className:"wp-block-sellkit-checkout-contact-information"}],["sellkit-inner-blocks/checkout-form-shipping",{className:"wp-block-sellkit-checkout-form-shipping"}],["sellkit-inner-blocks/checkout-cart-shipping",{className:"wp-block-sellkit-checkout-cart-shipping"}],["sellkit-inner-blocks/checkout-review-order",{className:"wp-block-sellkit-checkout-review-order"}],["sellkit-inner-blocks/checkout-billing-details",{className:"wp-block-sellkit-checkout-billing-details"}],["sellkit-inner-blocks/checkout-payment",{className:"wp-block-sellkit-checkout-payment"}],["sellkit-inner-blocks/checkout-payment-continue",{className:"wp-block-sellkit-checkout-payment-continue"}]];"billing_only"===window.sellkitBlocks.wc.shipping_destination&&(m=[["sellkit-inner-blocks/checkout-contact-information",{className:"wp-block-sellkit-checkout-contact-information"}],["sellkit-inner-blocks/checkout-billing-details",{className:"wp-block-sellkit-checkout-billing-details"}],["sellkit-inner-blocks/checkout-cart-shipping",{className:"wp-block-sellkit-checkout-cart-shipping"}],["sellkit-inner-blocks/checkout-review-order",{className:"wp-block-sellkit-checkout-review-order"}],["sellkit-inner-blocks/checkout-payment",{className:"wp-block-sellkit-checkout-payment"}],["sellkit-inner-blocks/checkout-payment-continue",{className:"wp-block-sellkit-checkout-payment-continue"}]]);var d=s({className:l,style:i}),h=a(d,{template:m,templateLock:"inserter"});return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(f,null,Object(n.createElement)(y,{title:Object(u.__)("Custom Messages","sellkit")},Object(n.createElement)(b,{label:Object(u.__)("Empty Shopping Cart","sellkit"),value:k,onChange:function(e){return r({emptyCartMessage:e})},type:"text"}))),Object(n.createElement)("div",c()({className:"sellkit-checkout wp-block-sellkit-checkout"},h)))},save:function(){var e=d.save(),t=h.save();return Object(n.createElement)("div",e,Object(n.createElement)("div",t))}})}});