File "1a6635c4f7b43c972307.min.js"

Full Path: /home/vantageo/public_html/cache/.wp-cli/wp-content/plugins/woocommerce-services/dist/chunks/1a6635c4f7b43c972307.min.js
File size: 25.96 KB
MIME-type: text/plain
Charset: utf-8

(window.webpackJsonp=window.webpackJsonp||[]).push([[154],{178:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(2),o=new WeakMap;function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.useMemo)(function(){if(n)return n;var r=function(e){var t=o.get(e)||0;return o.set(e,t+1),t}(e);return t?"".concat(t,"-").concat(r):r},[e])}},617:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}();t.arrayToObject=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n},t.merge=function(e,n,o){if(!n)return e;if("object"!==typeof n){if(Array.isArray(e))e.push(n);else{if("object"!==typeof e)return[e,n];(o.plainObjects||o.allowPrototypes||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if("object"!==typeof e)return[e].concat(n);var i=e;return Array.isArray(e)&&!Array.isArray(n)&&(i=t.arrayToObject(e,o)),Array.isArray(e)&&Array.isArray(n)?(n.forEach(function(n,i){r.call(e,i)?e[i]&&"object"===typeof e[i]?e[i]=t.merge(e[i],n,o):e.push(n):e[i]=n}),e):Object.keys(n).reduce(function(e,i){var a=n[i];return r.call(e,i)?e[i]=t.merge(e[i],a,o):e[i]=a,e},i)},t.assign=function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.encode=function(e){if(0===e.length)return e;for(var t="string"===typeof e?e:String(e),n="",r=0;r<t.length;++r){var i=t.charCodeAt(r);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?n+=t.charAt(r):i<128?n+=o[i]:i<2048?n+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?n+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(r+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(r)),n+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return n},t.compact=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),c=0;c<a.length;++c){var s=a[c],l=i[s];"object"===typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:i,prop:s}),n.push(l))}return function(e){for(var t;e.length;){var n=e.pop();if(t=n.obj[n.prop],Array.isArray(t)){for(var r=[],o=0;o<t.length;++o)"undefined"!==typeof t[o]&&r.push(t[o]);n.obj[n.prop]=r}}return t}(t)},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null!==e&&"undefined"!==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},618:function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},626:function(e,t,n){"use strict";var r=n(2),o=n(26),i=n.n(o),a=n(627),c=n(642),s=n(0),l={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function p(e){return Object(s.get)(l,e,"")}var u=n(829),f=n(840),h=Object(c.a)("div",{target:"e1puf3u0",label:"Wrapper"})("font-family:",p("default.fontFamily"),";font-size:",p("default.fontSize"),";"),d=Object(c.a)("div",{target:"e1puf3u1",label:"StyledField"})("margin-bottom:",Object(u.a)(1),";.components-panel__row &{margin-bottom:inherit;}"),b=Object(c.a)("label",{target:"e1puf3u2",label:"StyledLabel"})("display:inline-block;margin-bottom:",Object(u.a)(1),";"),m=Object(c.a)("p",{target:"e1puf3u3",label:"StyledHelp"})("margin-top:-",Object(u.a)(1),";font-size:",p("helpText.fontSize"),";font-style:normal;color:",Object(f.a)("mediumGray.text"),";");function y(e){var t=e.id,n=e.label,o=e.hideLabelFromVision,c=e.help,s=e.className,l=e.children;return Object(r.createElement)(h,{className:i()("components-base-control",s)},Object(r.createElement)(d,{className:"components-base-control__field"},n&&t&&(o?Object(r.createElement)(a.a,{as:"label",htmlFor:t},n):Object(r.createElement)(b,{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(o?Object(r.createElement)(a.a,{as:"label"},n):Object(r.createElement)(y.VisualLabel,null,n)),l),!!c&&Object(r.createElement)(m,{id:t+"__help",className:"components-base-control__help"},c))}y.VisualLabel=function(e){var t=e.className,n=e.children;return t=i()("components-base-control__label",t),Object(r.createElement)("span",{className:t},n)};t.a=y},627:function(e,t,n){"use strict";var r=n(6),o=n(15),i=n(26),a=n.n(i),c=n(2);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}t.a=function(e){var t=e.as,n=void 0===t?"div":t,i=e.className,l=Object(o.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(o.a)(e,["as"]);return"function"===typeof r.children?r.children(r):Object(c.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){Object(r.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({as:n,className:a()("components-visually-hidden",i)},l))}},628:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e===t)return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<n.length;i++)if(!o(n[i])||e[n[i]]!==t[n[i]])return!1;return!0},e.exports=t.default},644:function(e,t,n){"use strict";var r=n(655),o=n(656),i=n(618);e.exports={formats:i,parse:o,stringify:r}},655:function(e,t,n){"use strict";var r=n(617),o=n(618),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Date.prototype.toISOString,c={delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,serializeDate:function(e){return a.call(e)},skipNulls:!1,strictNullHandling:!1},s=function e(t,n,o,i,a,s,l,p,u,f,h,d){var b=t;if("function"===typeof l)b=l(n,b);else if(b instanceof Date)b=f(b);else if(null===b){if(i)return s&&!d?s(n,c.encoder):n;b=""}if("string"===typeof b||"number"===typeof b||"boolean"===typeof b||r.isBuffer(b))return s?[h(d?n:s(n,c.encoder))+"="+h(s(b,c.encoder))]:[h(n)+"="+h(String(b))];var m,y=[];if("undefined"===typeof b)return y;if(Array.isArray(l))m=l;else{var g=Object.keys(b);m=p?g.sort(p):g}for(var v=0;v<m.length;++v){var O=m[v];a&&null===b[O]||(y=Array.isArray(b)?y.concat(e(b[O],o(n,O),o,i,a,s,l,p,u,f,h,d)):y.concat(e(b[O],n+(u?"."+O:"["+O+"]"),o,i,a,s,l,p,u,f,h,d)))}return y};e.exports=function(e,t){var n=e,a=t?r.assign({},t):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!==typeof a.encoder)throw new TypeError("Encoder has to be a function.");var l="undefined"===typeof a.delimiter?c.delimiter:a.delimiter,p="boolean"===typeof a.strictNullHandling?a.strictNullHandling:c.strictNullHandling,u="boolean"===typeof a.skipNulls?a.skipNulls:c.skipNulls,f="boolean"===typeof a.encode?a.encode:c.encode,h="function"===typeof a.encoder?a.encoder:c.encoder,d="function"===typeof a.sort?a.sort:null,b="undefined"!==typeof a.allowDots&&a.allowDots,m="function"===typeof a.serializeDate?a.serializeDate:c.serializeDate,y="boolean"===typeof a.encodeValuesOnly?a.encodeValuesOnly:c.encodeValuesOnly;if("undefined"===typeof a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var g,v,O=o.formatters[a.format];"function"===typeof a.filter?n=(v=a.filter)("",n):Array.isArray(a.filter)&&(g=v=a.filter);var w,j=[];if("object"!==typeof n||null===n)return"";w=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var _=i[w];g||(g=Object.keys(n)),d&&g.sort(d);for(var k=0;k<g.length;++k){var x=g[k];u&&null===n[x]||(j=j.concat(s(n[x],x,_,p,u,f?h:null,v,d,b,m,O,y)))}var E=j.join(l),N=!0===a.addQueryPrefix?"?":"";return E.length>0?N+E:""}},656:function(e,t,n){"use strict";var r=n(617),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),c=a?r.slice(0,a.index):r,s=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;s.push(c)}for(var l=0;null!==(a=i.exec(r))&&l<n.depth;){if(l+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a)i=(i=[]).concat(r);else{i=n.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(c,10);!isNaN(s)&&a!==c&&String(s)===c&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(i=[])[s]=r:i[c]=r}r=i}return r}(s,t,n)}};e.exports=function(e,t){var n=t?r.assign({},t):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!==typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,n.delimiter="string"===typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth="number"===typeof n.depth?n.depth:i.depth,n.arrayLimit="number"===typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=!1!==n.parseArrays,n.decoder="function"===typeof n.decoder?n.decoder:i.decoder,n.allowDots="boolean"===typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects="boolean"===typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes="boolean"===typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit="number"===typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling="boolean"===typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var c="string"===typeof e?function(e,t){for(var n={},r=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,c=r.split(t.delimiter,a),s=0;s<c.length;++s){var l,p,u=c[s],f=u.indexOf("]="),h=-1===f?u.indexOf("="):f+1;-1===h?(l=t.decoder(u,i.decoder),p=t.strictNullHandling?null:""):(l=t.decoder(u.slice(0,h),i.decoder),p=t.decoder(u.slice(h+1),i.decoder)),o.call(n,l)?n[l]=[].concat(n[l]).concat(p):n[l]=p}return n}(e,n):e,s=n.plainObjects?Object.create(null):{},l=Object.keys(c),p=0;p<l.length;++p){var u=l[p],f=a(u,c[u],n);s=r.merge(s,f,n)}return r.compact(s)}},693:function(e,t,n){"use strict";var r,o;r=this,o=function(){var e=0,t=1,n=2,r=3,o=/\s/,i=/<(\w*)>/g;return function(a,c,s){a=a||"";var l,p,u,f=e,h=0,d="",b="",m=!1;for("string"===typeof c?c=function(e){for(var t,n=[];null!==(t=i.exec(e));)n.push(t[1]);return 0!==n.length?n:null}(c):Array.isArray(c)||(c=null),l=0,p=a.length;l<p;l++)switch(u=a[l]){case"<":if(m)break;if(" "==a[l+1]){y(u);break}if(f==e){f=t,y(u);break}if(f==t){h++;break}y(u);break;case">":if(h){h--;break}if(m)break;if(f==t){m=f=0,c&&(b+=">",g());break}if(f==n){m=f=0,b="";break}if(f==r&&"-"==a[l-1]&&"-"==a[l-2]){m=f=0,b="";break}y(u);break;case'"':case"'":f==t&&(m==u?m=!1:m||(m=u)),y(u);break;case"!":if(f==t&&"<"==a[l-1]){f=n;break}y(u);break;case"-":if(f==n&&"-"==a[l-1]&&"!"==a[l-2]){f=r;break}y(u);break;case"E":case"e":if(f==n&&"doctype"==a.substr(l-6,7).toLowerCase()){f=t;break}y(u);break;default:y(u)}function y(n){f==e?d+=n:c&&f==t&&(b+=n)}function g(){var e,t,n,r="",i=!1;e:for(e=0,t=b.length;e<t;e++)switch(n=b[e].toLowerCase()){case"<":break;case">":break e;case"/":i=!0;break;default:if(n.match(o)){if(i)break e}else i=!0,r+=n}-1!==c.indexOf(r)?d+=b:s&&(d+=s),b=""}return d}},"function"===typeof define&&define.amd?define([],o):e.exports?e.exports=o():r.striptags=o()},705:function(e,t,n){(function(t){e.exports=function(){"use strict";var e=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},n=b,r=s,o=function(e){return l(s(e))},i=l,a=d,c=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function s(e){for(var t,n=[],r=0,o=0,i="";null!=(t=c.exec(e));){var a=t[0],s=t[1],l=t.index;if(i+=e.slice(o,l),o=l+a.length,s)i+=s[1];else{i&&(n.push(i),i="");var p=t[2],f=t[3],h=t[4],d=t[5],b=t[6],m=t[7],y="+"===b||"*"===b,g="?"===b||"*"===b,v=p||"/",O=h||d||(m?".*":"[^"+v+"]+?");n.push({name:f||r++,prefix:p||"",delimiter:v,optional:g,repeat:y,pattern:u(O)})}}return o<e.length&&(i+=e.substr(o)),i&&n.push(i),n}function l(t){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"===typeof t[r]&&(n[r]=new RegExp("^"+t[r].pattern+"$"));return function(r){for(var o="",i=r||{},a=0;a<t.length;a++){var c=t[a];if("string"!==typeof c){var s,l=i[c.name];if(null==l){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to be defined')}if(e(l)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received "'+l+'"');if(0===l.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<l.length;p++){if(s=encodeURIComponent(l[p]),!n[a].test(s))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');o+=(0===p?c.prefix:c.delimiter)+s}}else{if(s=encodeURIComponent(l),!n[a].test(s))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');o+=c.prefix+s}}else o+=c}return o}}function p(e){return e.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function f(e,t){return e.keys=t,e}function h(e){return e.sensitive?"":"i"}function d(e,t){for(var n=(t=t||{}).strict,r=!1!==t.end,o="",i=e[e.length-1],a="string"===typeof i&&/\/$/.test(i),c=0;c<e.length;c++){var s=e[c];if("string"===typeof s)o+=p(s);else{var l=p(s.prefix),u=s.pattern;s.repeat&&(u+="(?:"+l+u+")*"),u=s.optional?l?"(?:"+l+"("+u+"))?":"("+u+")?":l+"("+u+")",o+=u}}return n||(o=(a?o.slice(0,-2):o)+"(?:\\/(?=$))?"),o+=r?"$":n&&a?"":"(?=\\/|$)",new RegExp("^"+o,h(t))}function b(t,n,r){return e(n=n||[])?r||(r={}):(r=n,n=[]),t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return f(e,t)}(t,n):e(t)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(b(e[o],t,n).source);return f(new RegExp("(?:"+r.join("|")+")",h(n)),t)}(t,n,r):function(e,t,n){for(var r=s(e),o=d(r,n),i=0;i<r.length;i++)"string"!==typeof r[i]&&t.push(r[i]);return f(o,t)}(t,n,r)}n.parse=r,n.compile=o,n.tokensToFunction=i,n.tokensToRegExp=a;var m="undefined"!==typeof document,y="undefined"!==typeof history,g="undefined"!==typeof t,v=m&&document.ontouchstart?"touchstart":"click",O=!(!window.history.location&&!window.location);function w(){this.callbacks=[],this.exits=[],this.current="",this.len=0,this._decodeURLComponents=!0,this._base="",this._strict=!1,this._running=!1,this._hashbang=!1,this.clickHandler=this.clickHandler.bind(this),this._onpopstate=this._onpopstate.bind(this)}function j(e,t){if("function"===typeof e)return j.call(this,"*",e);if("function"===typeof t)for(var n=new k(e,null,this),r=1;r<arguments.length;++r)this.callbacks.push(n.middleware(arguments[r]));else"string"===typeof e?this["string"===typeof t?"redirect":"show"](e,t):this.start(e)}function _(e,t,n){var r=this.page=n||j,o=r._window,i=r._hashbang,a=r._getBase();"/"===e[0]&&0!==e.indexOf(a)&&(e=a+(i?"#!":"")+e);var c=e.indexOf("?");this.canonicalPath=e;var s=new RegExp("^"+a.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1"));if(this.path=e.replace(s,"")||"/",i&&(this.path=this.path.replace("#!","")||"/"),this.title=m&&o.document.title,this.state=t||{},this.state.path=e,this.querystring=~c?r._decodeURLEncodedURIComponent(e.slice(c+1)):"",this.pathname=r._decodeURLEncodedURIComponent(~c?e.slice(0,c):e),this.params={},this.hash="",!i){if(!~this.path.indexOf("#"))return;var l=this.path.split("#");this.path=this.pathname=l[0],this.hash=r._decodeURLEncodedURIComponent(l[1])||"",this.querystring=this.querystring.split("#")[0]}}function k(e,t,r){this.page=r||x;var o=t||{};o.strict=o.strict||r._strict,this.path="*"===e?"(.*)":e,this.method="GET",this.regexp=n(this.path,this.keys=[],o)}w.prototype.configure=function(e){var t=e||{};this._window=t.window||window,this._decodeURLComponents=!1!==t.decodeURLComponents,this._popstate=!1!==t.popstate&&!0,this._click=!1!==t.click&&m,this._hashbang=!!t.hashbang;var n=this._window;this._popstate?n.addEventListener("popstate",this._onpopstate,!1):n.removeEventListener("popstate",this._onpopstate,!1),this._click?n.document.addEventListener(v,this.clickHandler,!1):m&&n.document.removeEventListener(v,this.clickHandler,!1),this._hashbang&&!y?n.addEventListener("hashchange",this._onpopstate,!1):n.removeEventListener("hashchange",this._onpopstate,!1)},w.prototype.base=function(e){if(0===arguments.length)return this._base;this._base=e},w.prototype._getBase=function(){var e=this._base;if(e)return e;var t=this._window&&this._window.location;return this._hashbang&&t&&"file:"===t.protocol&&(e=t.pathname),e},w.prototype.strict=function(e){if(0===arguments.length)return this._strict;this._strict=e},w.prototype.start=function(e){var t=e||{};if(this.configure(t),!1!==t.dispatch){var n;if(this._running=!0,O){var r=this._window,o=r.location;n=this._hashbang&&~o.hash.indexOf("#!")?o.hash.substr(2)+o.search:this._hashbang?o.search+o.hash:o.pathname+o.search+o.hash}this.replace(n,null,!0,t.dispatch)}},w.prototype.stop=function(){if(this._running){this.current="",this.len=0,this._running=!1;var e=this._window;this._click&&e.document.removeEventListener(v,this.clickHandler,!1),e.removeEventListener("popstate",this._onpopstate,!1),e.removeEventListener("hashchange",this._onpopstate,!1)}},w.prototype.show=function(e,t,n,r){var o=new _(e,t,this),i=this.prevContext;return this.prevContext=o,this.current=o.path,!1!==n&&this.dispatch(o,i),!1!==o.handled&&!1!==r&&o.pushState(),o},w.prototype.back=function(e,t){var n=this;if(this.len>0){var r=this._window;y&&r.history.back(),this.len--}else e?setTimeout(function(){n.show(e,t)}):setTimeout(function(){n.show(n._getBase(),t)})},w.prototype.redirect=function(e,t){var n=this;"string"===typeof e&&"string"===typeof t&&j.call(this,e,function(e){setTimeout(function(){n.replace(t)},0)}),"string"===typeof e&&"undefined"===typeof t&&setTimeout(function(){n.replace(e)},0)},w.prototype.replace=function(e,t,n,r){var o=new _(e,t,this),i=this.prevContext;return this.prevContext=o,this.current=o.path,o.init=n,o.save(),!1!==r&&this.dispatch(o,i),o},w.prototype.dispatch=function(e,t){var n=0,r=0,o=this;function i(){var t=o.callbacks[n++];if(e.path===o.current)return t?void t(e,i):function(e){if(!e.handled){var t=this._window;(this._hashbang?O&&this._getBase()+t.location.hash.replace("#!",""):O&&t.location.pathname+t.location.search)!==e.canonicalPath&&(this.stop(),e.handled=!1,O&&(t.location.href=e.canonicalPath))}}.call(o,e);e.handled=!1}t?function e(){var n=o.exits[r++];if(!n)return i();n(t,e)}():i()},w.prototype.exit=function(e,t){if("function"===typeof e)return this.exit("*",e);for(var n=new k(e,null,this),r=1;r<arguments.length;++r)this.exits.push(n.middleware(arguments[r]))},w.prototype.clickHandler=function(e){if(1===this._which(e)&&!(e.metaKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented){var t=e.target,n=e.path||(e.composedPath?e.composedPath():null);if(n)for(var r=0;r<n.length;r++)if(n[r].nodeName&&"A"===n[r].nodeName.toUpperCase()&&n[r].href){t=n[r];break}for(;t&&"A"!==t.nodeName.toUpperCase();)t=t.parentNode;if(t&&"A"===t.nodeName.toUpperCase()){var o="object"===typeof t.href&&"SVGAnimatedString"===t.href.constructor.name;if(!t.hasAttribute("download")&&"external"!==t.getAttribute("rel")){var i=t.getAttribute("href");if((this._hashbang||!this._samePath(t)||!t.hash&&"#"!==i)&&!(i&&i.indexOf("mailto:")>-1)&&(o?!t.target.baseVal:!t.target)&&(o||this.sameOrigin(t.href))){var a=o?t.href.baseVal:t.pathname+t.search+(t.hash||"");a="/"!==a[0]?"/"+a:a,g&&a.match(/^\/[a-zA-Z]:\//)&&(a=a.replace(/^\/[a-zA-Z]:\//,"/"));var c=a,s=this._getBase();0===a.indexOf(s)&&(a=a.substr(s.length)),this._hashbang&&(a=a.replace("#!","")),(!s||c!==a||O&&"file:"===this._window.location.protocol)&&(e.preventDefault(),this.show(c))}}}}},w.prototype._onpopstate=function(){var e=!1;return m&&"complete"===document.readyState?e=!0:window.addEventListener("load",function(){setTimeout(function(){e=!0},0)}),function(t){if(e)if(t.state){var n=t.state.path;this.replace(n,t.state)}else if(O){var r=this._window.location;this.show(r.pathname+r.search+r.hash,void 0,void 0,!1)}}}(),w.prototype._which=function(e){return null==(e=e||this._window.event).which?e.button:e.which},w.prototype._toURL=function(e){var t=this._window;if("function"===typeof URL&&O)return new URL(e,t.location.toString());if(m){var n=t.document.createElement("a");return n.href=e,n}},w.prototype.sameOrigin=function(e){if(!e||!O)return!1;var t=this._toURL(e),n=this._window,r=n.location;return r.protocol===t.protocol&&r.hostname===t.hostname&&r.port===t.port},w.prototype._samePath=function(e){if(!O)return!1;var t=this._window,n=t.location;return e.pathname===n.pathname&&e.search===n.search},w.prototype._decodeURLEncodedURIComponent=function(e){return"string"!==typeof e?e:this._decodeURLComponents?decodeURIComponent(e.replace(/\+/g," ")):e},_.prototype.pushState=function(){var e=this.page,t=e._window,n=e._hashbang;e.len++,y&&t.history.pushState(this.state,this.title,n&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},_.prototype.save=function(){var e=this.page;y&&e._window.history.replaceState(this.state,this.title,e._hashbang&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},k.prototype.middleware=function(e){var t=this;return function(n,r){if(t.match(n.path,n.params))return e(n,r);r()}},k.prototype.match=function(e,t){var n=this.keys,r=e.indexOf("?"),o=~r?e.slice(0,r):e,i=this.regexp.exec(decodeURIComponent(o));if(!i)return!1;for(var a=1,c=i.length;a<c;++a){var s=n[a-1],l=this.page._decodeURLEncodedURIComponent(i[a]);void 0===l&&hasOwnProperty.call(t,s.name)||(t[s.name]=l)}return!0};var x=function e(){var t=new w;function n(){return j.apply(t,arguments)}return n.callbacks=t.callbacks,n.exits=t.exits,n.base=t.base.bind(t),n.strict=t.strict.bind(t),n.start=t.start.bind(t),n.stop=t.stop.bind(t),n.show=t.show.bind(t),n.back=t.back.bind(t),n.redirect=t.redirect.bind(t),n.replace=t.replace.bind(t),n.dispatch=t.dispatch.bind(t),n.exit=t.exit.bind(t),n.configure=t.configure.bind(t),n.sameOrigin=t.sameOrigin.bind(t),n.clickHandler=t.clickHandler.bind(t),n.create=e,Object.defineProperty(n,"len",{get:function(){return t.len},set:function(e){t.len=e}}),Object.defineProperty(n,"current",{get:function(){return t.current},set:function(e){t.current=e}}),n.Context=_,n.Route=k,n}(),E=x,N=x;return E.default=N,E}()}).call(this,n(62))},719:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(5),o=n(15),i=n(2),a=n(178),c=n(626);function s(e){var t=e.label,n=e.hideLabelFromVision,l=e.value,p=e.help,u=e.className,f=e.onChange,h=e.type,d=void 0===h?"text":h,b=Object(o.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),m=Object(a.a)(s),y="inspector-text-control-".concat(m);return Object(i.createElement)(c.a,{label:t,hideLabelFromVision:n,id:y,help:p,className:u},Object(i.createElement)("input",Object(r.a)({className:"components-text-control__input",type:d,id:y,value:l,onChange:function(e){return f(e.target.value)},"aria-describedby":p?y+"__help":void 0},b)))}},738:function(e,t,n){"use strict";var r=n(6),o=n(15),i=n(2);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}t.a=function(e){var t=e.icon,n=e.size,c=void 0===n?24:n,s=Object(o.a)(e,["icon","size"]);return Object(i.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){Object(r.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({width:c,height:c},s))}},802:function(e,t,n){"use strict";var r=n(5),o=n(15),i=n(2),a=n(26),c=n.n(a),s=n(0);t.a=function(e){var t=e.className,n=e.checked,a=e.id,l=e.onChange,p=void 0===l?s.noop:l,u=Object(o.a)(e,["className","checked","id","onChange"]),f=c()("components-form-toggle",t,{"is-checked":n});return Object(i.createElement)("span",{className:f},Object(i.createElement)("input",Object(r.a)({className:"components-form-toggle__input",id:a,type:"checkbox",checked:n,onChange:p},u)),Object(i.createElement)("span",{className:"components-form-toggle__track"}),Object(i.createElement)("span",{className:"components-form-toggle__thumb"}))}},827:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(5),o=n(15),i=n(2),a=n(178),c=n(738),s=n(226),l=Object(i.createElement)(s.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(s.a,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"})),p=n(626);function u(e){var t=e.label,n=e.className,s=e.heading,f=e.checked,h=e.help,d=e.onChange,b=Object(o.a)(e,["label","className","heading","checked","help","onChange"]),m=Object(a.a)(u),y="inspector-checkbox-control-".concat(m);return Object(i.createElement)(p.a,{label:s,id:y,help:h,className:n},Object(i.createElement)("span",{className:"components-checkbox-control__input-container"},Object(i.createElement)("input",Object(r.a)({id:y,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return d(e.target.checked)},checked:f,"aria-describedby":h?y+"__help":void 0},b)),f?Object(i.createElement)(c.a,{icon:l,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(i.createElement)("label",{className:"components-checkbox-control__label",htmlFor:y},t))}}}]);