File "0b3856dfc82ec86ab5b9.min.js"

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

(window.webpackJsonp=window.webpackJsonp||[]).push([[152],{178:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(2),a=new WeakMap;function o(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=a.get(e)||0;return a.set(e,t+1),t}(e);return t?"".concat(t,"-").concat(r):r},[e])}},434:function(e,t,n){"use strict";var r=n(5),a=n(15),o=n(12),s=n(16),c=n(18),i=n(17),l=n(4),h=n(2),u=n(63),p=n(113),f=n(178),m=Object(p.a)(function(e){return function(t){var n=Object(f.a)(e);return Object(h.createElement)(e,Object(r.a)({},t,{instanceId:n}))}},"withInstanceId"),b=n(64),d=n(10),v=n(26),O=n.n(v),y=n(67),j=n(0),g=j.flowRight,w=n(89),C=n(91),x=n(93),E=n(90);function N(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(l.a)(e);if(t){var a=Object(l.a)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Object(i.a)(this,n)}}var _=function(e){Object(c.a)(n,e);var t=N(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).containerRef=Object(h.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(Object(d.a)(e)),e.handleFocusOutside=e.handleFocusOutside.bind(Object(d.a)(e)),e}return Object(s.a)(n,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.containerRef.current.focus()}},{key:"handleFocusOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===y.a&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.stopPropagation(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.contentLabel,r=e.aria,a=r.describedby,o=r.labelledby,s=e.children,c=e.className,i=e.role,l=e.style;return Object(h.createElement)(w.a,{className:O()("components-modal__screen-overlay",t),onKeyDown:this.handleKeyDown},Object(h.createElement)("div",{className:O()("components-modal__frame",c),style:l,ref:this.containerRef,role:i,"aria-label":n,"aria-labelledby":n?null:o,"aria-describedby":a,tabIndex:"-1"},s))}}]),n}(h.Component),k=g([x.a,E.a,C.a])(_),R=n(66),D=n(571),I=n(86),A=function(e){var t=e.icon,n=e.title,r=e.onClose,a=e.closeLabel,o=e.headingId,s=e.isDismissible,c=a||Object(R.a)("Close dialog");return Object(h.createElement)("div",{className:"components-modal__header"},Object(h.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(h.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(h.createElement)("h1",{id:o,className:"components-modal__header-heading"},n)),s&&Object(h.createElement)(I.a,{onClick:r,icon:D.a,label:c}))},S=new Set(["alert","status","log","marquee","timer"]),q=[],M=!1;function F(e){if(!M){var t=document.body.children;Object(j.forEach)(t,function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||S.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),q.push(t))}),M=!0}}function P(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(l.a)(e);if(t){var a=Object(l.a)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Object(i.a)(this,n)}}var L,U=0,z=function(e){Object(c.a)(n,e);var t=P(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).prepareDOM(),r}return Object(s.a)(n,[{key:"componentDidMount",value:function(){1===++U&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--U&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){L||(L=document.createElement("div"),document.body.appendChild(L)),this.node=document.createElement("div"),L.appendChild(this.node)}},{key:"cleanDOM",value:function(){L.removeChild(this.node)}},{key:"openFirstModal",value:function(){F(L),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),M&&(Object(j.forEach)(q,function(e){e.removeAttribute("aria-hidden")}),q=[],M=!1)}},{key:"render",value:function(){var e=this.props,t=e.onRequestClose,n=e.title,o=e.icon,s=e.closeButtonLabel,c=e.children,i=e.aria,l=e.instanceId,p=e.isDismissible,f=e.isDismissable,m=Object(a.a)(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissible","isDismissable"]),d=i.labelledby||"components-modal-header-".concat(l);return f&&Object(b.a)("isDismissable prop of the Modal component",{alternative:"isDismissible prop (renamed) of the Modal component"}),Object(u.createPortal)(Object(h.createElement)(k,Object(r.a)({onRequestClose:t,aria:{labelledby:n?d:null,describedby:i.describedby}},m),Object(h.createElement)("div",{className:"components-modal__content",role:"document"},Object(h.createElement)(A,{closeLabel:s,headingId:d,icon:o,isDismissible:p||f,onClose:t,title:n}),c)),this.node)}}]),n}(h.Component);z.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,aria:{labelledby:null,describedby:null}};t.a=m(z)},626:function(e,t,n){"use strict";var r=n(2),a=n(26),o=n.n(a),s=n(627),c=n(642),i=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 h(e){return Object(i.get)(l,e,"")}var u=n(829),p=n(840),f=Object(c.a)("div",{target:"e1puf3u0",label:"Wrapper"})("font-family:",h("default.fontFamily"),";font-size:",h("default.fontSize"),";"),m=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),";"),d=Object(c.a)("p",{target:"e1puf3u3",label:"StyledHelp"})("margin-top:-",Object(u.a)(1),";font-size:",h("helpText.fontSize"),";font-style:normal;color:",Object(p.a)("mediumGray.text"),";");function v(e){var t=e.id,n=e.label,a=e.hideLabelFromVision,c=e.help,i=e.className,l=e.children;return Object(r.createElement)(f,{className:o()("components-base-control",i)},Object(r.createElement)(m,{className:"components-base-control__field"},n&&t&&(a?Object(r.createElement)(s.a,{as:"label",htmlFor:t},n):Object(r.createElement)(b,{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(a?Object(r.createElement)(s.a,{as:"label"},n):Object(r.createElement)(v.VisualLabel,null,n)),l),!!c&&Object(r.createElement)(d,{id:t+"__help",className:"components-base-control__help"},c))}v.VisualLabel=function(e){var t=e.className,n=e.children;return t=o()("components-base-control__label",t),Object(r.createElement)("span",{className:t},n)};t.a=v},627:function(e,t,n){"use strict";var r=n(6),a=n(15),o=n(26),s=n.n(o),c=n(2);function i(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,o=e.className,l=Object(a.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(a.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?i(Object(n),!0).forEach(function(t){Object(r.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({as:n,className:s()("components-visually-hidden",o)},l))}},643:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(619);function a(e,t=0,n=".",r=","){const a=(e+"").replace(/[^0-9+\-Ee.]/g,""),o=isFinite(+a)?+a:0,s=isFinite(+t)?Math.abs(t):0,c=(s?function(e,t){const n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(o,s):""+Math.round(o)).split(".");return c[0].length>3&&(c[0]=c[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,r)),(c[1]||"").length<s&&(c[1]=c[1]||"",c[1]+=new Array(s-c[1].length+1).join("0")),c.join(n)}function o(e,t,n={}){const o=Object(r.a)(t);if(!o||isNaN(e))return null;const{decimal:s,grouping:c,precision:i,symbol:l}={...o,...n},h=e<0?"-":"";let u=a(Math.abs(e),i,s,c);return n.stripZeros&&(u=function(e,t){const n=new RegExp(`\\${t}0+$`);return e.replace(n,"")}(u,s)),`${h}${l}${u}`}},719:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(5),a=n(15),o=n(2),s=n(178),c=n(626);function i(e){var t=e.label,n=e.hideLabelFromVision,l=e.value,h=e.help,u=e.className,p=e.onChange,f=e.type,m=void 0===f?"text":f,b=Object(a.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),d=Object(s.a)(i),v="inspector-text-control-".concat(d);return Object(o.createElement)(c.a,{label:t,hideLabelFromVision:n,id:v,help:h,className:u},Object(o.createElement)("input",Object(r.a)({className:"components-text-control__input",type:m,id:v,value:l,onChange:function(e){return p(e.target.value)},"aria-describedby":h?v+"__help":void 0},b)))}},738:function(e,t,n){"use strict";var r=n(6),a=n(15),o=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.icon,n=e.size,c=void 0===n?24:n,i=Object(a.a)(e,["icon","size"]);return Object(o.cloneElement)(t,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}({width:c,height:c},i))}},817:function(e,t,n){"use strict";var r=n(818),a=n(819);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){a.isString(e)&&(e=y(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var s=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(l),u=["%","/","?",";","#"].concat(h),p=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},d={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=n(820);function y(e,t,n){if(e&&a.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),c=-1!==o&&o<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(c);if(y=y.trim(),!n&&1===e.split("#").length){var j=i.exec(y);if(j)return this.path=y,this.href=y,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?O.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var g=s.exec(y);if(g){var w=(g=g[0]).toLowerCase();this.protocol=w,y=y.substr(g.length)}if(n||g||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var C="//"===y.substr(0,2);!C||g&&d[g]||(y=y.substr(2),this.slashes=!0)}if(!d[g]&&(C||g&&!v[g])){for(var x,E,N=-1,_=0;_<p.length;_++){-1!==(k=y.indexOf(p[_]))&&(-1===N||k<N)&&(N=k)}-1!==(E=-1===N?y.lastIndexOf("@"):y.lastIndexOf("@",N))&&(x=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(x)),N=-1;for(_=0;_<u.length;_++){var k;-1!==(k=y.indexOf(u[_]))&&(-1===N||k<N)&&(N=k)}-1===N&&(N=y.length),this.host=y.slice(0,N),y=y.slice(N),this.parseHost(),this.hostname=this.hostname||"";var R="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!R)for(var D=this.hostname.split(/\./),I=(_=0,D.length);_<I;_++){var A=D[_];if(A&&!A.match(f)){for(var S="",q=0,M=A.length;q<M;q++)A.charCodeAt(q)>127?S+="x":S+=A[q];if(!S.match(f)){var F=D.slice(0,_),P=D.slice(_+1),L=A.match(m);L&&(F.push(L[1]),P.unshift(L[2])),P.length&&(y="/"+P.join(".")+y),this.hostname=F.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=r.toASCII(this.hostname));var U=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+U,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!b[w])for(_=0,I=h.length;_<I;_++){var V=h[_];if(-1!==y.indexOf(V)){var K=encodeURIComponent(V);K===V&&(K=escape(V)),y=y.split(V).join(K)}}var $=y.indexOf("#");-1!==$&&(this.hash=y.substr($),y=y.slice(0,$));var T=y.indexOf("?");if(-1!==T?(this.search=y.substr(T),this.query=y.substr(T+1),t&&(this.query=O.parse(this.query)),y=y.slice(0,T)):t&&(this.search="",this.query={}),y&&(this.pathname=y),v[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var B=this.search||"";this.path=U+B}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,s="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(s=O.stringify(this.query));var c=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||v[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+o+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(c=c.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(a.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),s=0;s<r.length;s++){var c=r[s];n[c]=this[c]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var i=Object.keys(e),l=0;l<i.length;l++){var h=i[l];"protocol"!==h&&(n[h]=e[h])}return v[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!v[e.protocol]){for(var u=Object.keys(e),p=0;p<u.length;p++){var f=u[p];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||d[e.protocol])n.pathname=e.pathname;else{for(var m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var b=n.pathname||"",O=n.search||"";n.path=b+O}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),g=j||y||n.host&&e.pathname,w=g,C=n.pathname&&n.pathname.split("/")||[],x=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!v[n.protocol]);if(x&&(n.hostname="",n.port=null,n.host&&(""===C[0]?C[0]=n.host:C.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===m[0]?m[0]=e.host:m.unshift(e.host)),e.host=null),g=g&&(""===m[0]||""===C[0])),j)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,C=m;else if(m.length)C||(C=[]),C.pop(),C=C.concat(m),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search)){if(x)n.hostname=n.host=C.shift(),(R=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=R.shift(),n.host=n.hostname=R.shift());return n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!C.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=C.slice(-1)[0],N=(n.host||e.host||C.length>1)&&("."===E||".."===E)||""===E,_=0,k=C.length;k>=0;k--)"."===(E=C[k])?C.splice(k,1):".."===E?(C.splice(k,1),_++):_&&(C.splice(k,1),_--);if(!g&&!w)for(;_--;_)C.unshift("..");!g||""===C[0]||C[0]&&"/"===C[0].charAt(0)||C.unshift(""),N&&"/"!==C.join("/").substr(-1)&&C.push("");var R,D=""===C[0]||C[0]&&"/"===C[0].charAt(0);x&&(n.hostname=n.host=D?"":C.length?C.shift():"",(R=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=R.shift(),n.host=n.hostname=R.shift()));return(g=g||n.host&&C.length)&&!D&&C.unshift(""),C.length?n.pathname=C.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},818:function(e,t,n){(function(e){!function(n){var r=t&&!t.nodeType&&t,a=e&&!e.nodeType&&e,o=window;o.global!==o&&o.window!==o&&o.self!==o||(n=o);var s,c,i=2147483647,l=36,h=1,u=26,p=38,f=700,m=72,b=128,d="-",v=/^xn--/,O=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,j={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=l-h,w=Math.floor,C=String.fromCharCode;function x(e){throw new RangeError(j[e])}function E(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function N(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+E((e=e.replace(y,".")).split("."),t).join(".")}function _(e){for(var t,n,r=[],a=0,o=e.length;a<o;)(t=e.charCodeAt(a++))>=55296&&t<=56319&&a<o?56320==(64512&(n=e.charCodeAt(a++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),a--):r.push(t);return r}function k(e){return E(e,function(e){var t="";return e>65535&&(t+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=C(e)}).join("")}function R(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function D(e,t,n){var r=0;for(e=n?w(e/f):e>>1,e+=w(e/t);e>g*u>>1;r+=l)e=w(e/g);return w(r+(g+1)*e/(e+p))}function I(e){var t,n,r,a,o,s,c,p,f,v,O,y=[],j=e.length,g=0,C=b,E=m;for((n=e.lastIndexOf(d))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&x("not-basic"),y.push(e.charCodeAt(r));for(a=n>0?n+1:0;a<j;){for(o=g,s=1,c=l;a>=j&&x("invalid-input"),((p=(O=e.charCodeAt(a++))-48<10?O-22:O-65<26?O-65:O-97<26?O-97:l)>=l||p>w((i-g)/s))&&x("overflow"),g+=p*s,!(p<(f=c<=E?h:c>=E+u?u:c-E));c+=l)s>w(i/(v=l-f))&&x("overflow"),s*=v;E=D(g-o,t=y.length+1,0==o),w(g/t)>i-C&&x("overflow"),C+=w(g/t),g%=t,y.splice(g++,0,C)}return k(y)}function A(e){var t,n,r,a,o,s,c,p,f,v,O,y,j,g,E,N=[];for(y=(e=_(e)).length,t=b,n=0,o=m,s=0;s<y;++s)(O=e[s])<128&&N.push(C(O));for(r=a=N.length,a&&N.push(d);r<y;){for(c=i,s=0;s<y;++s)(O=e[s])>=t&&O<c&&(c=O);for(c-t>w((i-n)/(j=r+1))&&x("overflow"),n+=(c-t)*j,t=c,s=0;s<y;++s)if((O=e[s])<t&&++n>i&&x("overflow"),O==t){for(p=n,f=l;!(p<(v=f<=o?h:f>=o+u?u:f-o));f+=l)E=p-v,g=l-v,N.push(C(R(v+E%g,0))),p=w(E/g);N.push(C(R(p,0))),o=D(n,j,r==a),n=0,++r}++n,++t}return N.join("")}if(s={version:"1.4.1",ucs2:{decode:_,encode:k},decode:I,encode:A,toASCII:function(e){return N(e,function(e){return O.test(e)?"xn--"+A(e):e})},toUnicode:function(e){return N(e,function(e){return v.test(e)?I(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return s});else if(r&&a)if(e.exports==r)a.exports=s;else for(c in s)s.hasOwnProperty(c)&&(r[c]=s[c]);else n.punycode=s}(this)}).call(this,n(80)(e))},819:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},820:function(e,t,n){"use strict";t.decode=t.parse=n(821),t.encode=t.stringify=n(822)},821:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var s={};if("string"!==typeof e||0===e.length)return s;var c=/\+/g;e=e.split(t);var i=1e3;o&&"number"===typeof o.maxKeys&&(i=o.maxKeys);var l=e.length;i>0&&l>i&&(l=i);for(var h=0;h<l;++h){var u,p,f,m,b=e[h].replace(c,"%20"),d=b.indexOf(n);d>=0?(u=b.substr(0,d),p=b.substr(d+1)):(u=b,p=""),f=decodeURIComponent(u),m=decodeURIComponent(p),r(s,f)?a(s[f])?s[f].push(m):s[f]=[s[f],m]:s[f]=m}return s};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},822:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,c){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===typeof e?o(s(e),function(s){var c=encodeURIComponent(r(s))+n;return a(e[s])?o(e[s],function(e){return c+encodeURIComponent(r(e))}).join(t):c+encodeURIComponent(r(e[s]))}).join(t):c?encodeURIComponent(r(c))+n+encodeURIComponent(r(e)):""};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var s=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},826:function(e,t,n){"use strict";var r=n(5),a=n(22),o=n(15),s=n(2),c=n(26),i=n.n(c),l=n(0),h=n(66),u=n(226),p=Object(s.createElement)(u.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(u.a,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"})),f=n(627),m=n(642),b=n(738);var d=Object(m.a)(b.a,{target:"etxm6pv0",label:"StyledIcon"})({name:"i8uvf3",styles:"width:1.4em;height:1.4em;margin:-0.2em 0.1em 0;vertical-align:middle;fill:currentColor;"});t.a=Object(s.forwardRef)(function(e,t){var n=e.href,c=e.children,u=e.className,m=e.rel,b=void 0===m?"":m,v=Object(o.a)(e,["href","children","className","rel"]);b=Object(l.uniq)(Object(l.compact)([].concat(Object(a.a)(b.split(" ")),["external","noreferrer","noopener"]))).join(" ");var O=i()("components-external-link",u);return Object(s.createElement)("a",Object(r.a)({},v,{className:O,href:n,target:"_blank",rel:b,ref:t}),c,Object(s.createElement)(f.a,{as:"span"},Object(h.a)("(opens in a new tab)")),Object(s.createElement)(d,{icon:p,className:"components-external-link__icon"}))})},827:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(5),a=n(15),o=n(2),s=n(178),c=n(738),i=n(226),l=Object(o.createElement)(i.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(i.a,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"})),h=n(626);function u(e){var t=e.label,n=e.className,i=e.heading,p=e.checked,f=e.help,m=e.onChange,b=Object(a.a)(e,["label","className","heading","checked","help","onChange"]),d=Object(s.a)(u),v="inspector-checkbox-control-".concat(d);return Object(o.createElement)(h.a,{label:i,id:v,help:f,className:n},Object(o.createElement)("span",{className:"components-checkbox-control__input-container"},Object(o.createElement)("input",Object(r.a)({id:v,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return m(e.target.checked)},checked:p,"aria-describedby":f?v+"__help":void 0},b)),p?Object(o.createElement)(c.a,{icon:l,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(o.createElement)("label",{className:"components-checkbox-control__label",htmlFor:v},t))}},830:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(2),a=n(0),o=n(26),s=n.n(o),c=n(178),i=n(626);function l(e){var t=e.label,n=e.className,o=e.selected,h=e.help,u=e.onChange,p=e.options,f=void 0===p?[]:p,m=Object(c.a)(l),b="inspector-radio-control-".concat(m),d=function(e){return u(e.target.value)};return!Object(a.isEmpty)(f)&&Object(r.createElement)(i.a,{label:t,id:b,help:h,className:s()(n,"components-radio-control")},f.map(function(e,t){return Object(r.createElement)("div",{key:"".concat(b,"-").concat(t),className:"components-radio-control__option"},Object(r.createElement)("input",{id:"".concat(b,"-").concat(t),className:"components-radio-control__input",type:"radio",name:b,value:e.value,onChange:d,checked:e.value===o,"aria-describedby":h?"".concat(b,"__help"):void 0}),Object(r.createElement)("label",{htmlFor:"".concat(b,"-").concat(t)},e.label))}))}}}]);