(self.webpackChunkwebpackWcBlocksFrontendJsonp=self.webpackChunkwebpackWcBlocksFrontendJsonp||[]).push([[94],{5057:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(6870),o=n(5093),i=n(5612),a=n(6903);function s(e,t){for(var n="",r=(0,i.FK)(e),o=0;o6)switch((0,i.wN)(e,t+1)){case 109:if(45!==(0,i.wN)(e,t+4))break;case 102:return(0,i.HC)(e,/(.+:)(.+)-([^]+)/,"$1"+a.j+"$2-$3$1"+a.vd+(108==(0,i.wN)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,i.K5)(e,"stretch")?m((0,i.HC)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,i.wN)(e,t+1))break;case 6444:switch((0,i.wN)(e,(0,i.b2)(e)-3-(~(0,i.K5)(e,"!important")&&10))){case 107:return(0,i.HC)(e,":",":"+a.j)+e;case 101:return(0,i.HC)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.j+(45===(0,i.wN)(e,14)?"inline-":"")+"box$3$1"+a.j+"$2$3$1"+a.MS+"$2box$3")+e}break;case 5936:switch((0,i.wN)(e,t+11)){case 114:return a.j+e+a.MS+(0,i.HC)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a.j+e+a.MS+(0,i.HC)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a.j+e+a.MS+(0,i.HC)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a.j+e+a.MS+e+e}return e}var g=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case a.LU:e.return=m(e.value,e.length);break;case a.Sv:return s([(0,o.C)(e,{value:(0,i.HC)(e.value,"@","@"+a.j)})],r);case a.XZ:if(e.length)return(0,i.kg)(e.props,(function(t){switch((0,i.YW)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return s([(0,o.C)(e,{props:[(0,i.HC)(t,/:(read-\w+)/,":"+a.vd+"$1")]})],r);case"::placeholder":return s([(0,o.C)(e,{props:[(0,i.HC)(t,/:(plac\w+)/,":"+a.j+"input-$1")]}),(0,o.C)(e,{props:[(0,i.HC)(t,/:(plac\w+)/,":"+a.vd+"$1")]}),(0,o.C)(e,{props:[(0,i.HC)(t,/:(plac\w+)/,a.MS+"input-$1")]})],r)}return""}))}}],v=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||g,d={},f=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n{"use strict";n.d(t,{AH:()=>d,cx:()=>l});var r=n(5057),o=n(42),i=n(7331);function a(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function s(e,t,n){var r=[],o=(0,i.Rk)(e,r,n);return r.length<2?n:o+t(r)}var u=function e(t){for(var n="",r=0;r{"use strict";function r(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}n.d(t,{A:()=>r})},8749:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(251|7949|8157)$/.test(n.j))var r=n(4607);var o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=/^(251|7949|8157)$/.test(n.j)?(0,r.A)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})):null},4607:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},1398:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,T:()=>u,w:()=>s});var r=n(1609),o=n(5057),i=(n(42),n(8785),r.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null)),a=i.Provider,s=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(i);return e(t,o,n)}))},u=r.createContext({})},42:(e,t,n)=>{"use strict";n.d(t,{J:()=>m});var r=n(7862),o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(4607),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},l=(0,i.A)((function(e){return u(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o{"use strict";n.d(t,{v:()=>r});var r=/^(251|7949|8157)$/.test(n.j)?function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t{"use strict";if(n.d(t,{A:()=>m}),/^(251|7949|8157)$/.test(n.j))var r=n(7731);var o=n(1609);if(/^(251|7949|8157)$/.test(n.j))var i=n(8749);if(/^(251|7949|8157)$/.test(n.j))var a=n(1398);if(/^(251|7949|8157)$/.test(n.j))var s=n(7331);var u=n(42),c=n(8785),l=/^(251|7949|8157)$/.test(n.j)?i.A:null,d=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:d},p=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.SF)(t,n,r),(0,c.s)((function(){return(0,s.sk)(t,n,r)})),null},m=function e(t,n){var i,c,l=t.__emotion_real===t,d=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,c=n.target);var m=p(t,n,l),g=m||f(d),v=!g("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var C=y.length,w=1;w{"use strict";n.d(t,{s:()=>i});var r=n(1609),o=!!r.useInsertionEffect&&r.useInsertionEffect,i=/^(251|7949|8157)$/.test(n.j)?o||function(e){return e()}:null;o||r.useLayoutEffect},7331:(e,t,n)=>{"use strict";n.d(t,{Rk:()=>o,SF:()=>i,sk:()=>a});var r=!!/^(251|7949|8157)$/.test(n.j)||null;function o(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var i=function(e,t,n){var o=e.key+"-"+t.name;!1!==n&&!1!==r||void 0!==e.registered[o]||(e.registered[o]=t.styles)},a=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}},2550:(e,t,n)=>{"use strict";n.d(t,{A:()=>le});var r=n(6087),o=n(9019),i=n.n(o),a=n(4967),s=n(7811),u=n(8468),c=n(2866);function l(e){return(0,u.get)(c.A,e,"")}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var f=/^\s+/,p=/\s+$/;function h(e,t){if(t=t||{},(e=e||"")instanceof h)return e;if(!(this instanceof h))return new h(e,t);var n=function(e){var t,n,r,o={r:0,g:0,b:0},i=1,a=null,s=null,u=null,c=!1,l=!1;return"string"==typeof e&&(e=function(e){e=e.replace(f,"").replace(p,"").toLowerCase();var t,n=!1;if(_[e])e=_[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=U.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=U.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=U.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=U.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=U.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=U.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=U.hex8.exec(e))?{r:D(t[1]),g:D(t[2]),b:D(t[3]),a:H(t[4]),format:n?"name":"hex8"}:(t=U.hex6.exec(e))?{r:D(t[1]),g:D(t[2]),b:D(t[3]),format:n?"name":"hex"}:(t=U.hex4.exec(e))?{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),a:H(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=U.hex3.exec(e))&&{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==d(e)&&(G(e.r)&&G(e.g)&&G(e.b)?(t=e.r,n=e.g,r=e.b,o={r:255*I(t,255),g:255*I(n,255),b:255*I(r,255)},c=!0,l="%"===String(e.r).substr(-1)?"prgb":"rgb"):G(e.h)&&G(e.s)&&G(e.v)?(a=j(e.s),s=j(e.v),o=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),u=r%6;return{r:255*[n,a,i,i,s,n][u],g:255*[s,n,n,a,i,i][u],b:255*[i,i,s,n,n,a][u]}}(e.h,a,s),c=!0,l="hsv"):G(e.h)&&G(e.s)&&G(e.l)&&(a=j(e.s),u=j(e.l),o=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=I(e,360),t=I(t,100),n=I(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,u=2*n-s;r=a(u,s,e+1/3),o=a(u,s,e),i=a(u,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,a,u),c=!0,l="hsl"),e.hasOwnProperty("a")&&(i=e.a)),i=P(i),{ok:c,format:e.format||l,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:i}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function m(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var u=i-a;switch(o=s>.5?u/(2-i-a):u/(i+a),i){case e:r=(t-n)/u+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(h(r));return i}function O(e,t){t=t||6;for(var n=h(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(h({h:r,s:o,v:i})),i=(i+s)%1;return a}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=g(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=g(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=m(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[F(Math.round(e).toString(16)),F(Math.round(t).toString(16)),F(Math.round(n).toString(16)),F($(r))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*I(this._r,255))+"%",g:Math.round(100*I(this._g,255))+"%",b:Math.round(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*I(this._r,255))+"%, "+Math.round(100*I(this._g,255))+"%, "+Math.round(100*I(this._b,255))+"%)":"rgba("+Math.round(100*I(this._r,255))+"%, "+Math.round(100*I(this._g,255))+"%, "+Math.round(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+y(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=h(e);n="#"+y(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(S,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(C,arguments)},greyscale:function(){return this._applyModification(w,arguments)},spin:function(){return this._applyModification(A,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(N,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(M,arguments)},triad:function(){return this._applyCombination(T,[3])},tetrad:function(){return this._applyCombination(T,[4])}},h.fromRatio=function(e,t){if("object"==d(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:j(e[r]));e=n}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},h.mix=function(e,t,n){n=0===n?0:n||50;var r=h(e).toRgb(),o=h(t).toRgb(),i=n/100;return h({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},h.readability=function(e,t){var n=h(e),r=h(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},h.isReadable=function(e,t,n){var r,o,i,a,s,u=h.readability(e,t);switch(o=!1,(i=n,"AA"!==(a=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(s=(i.size||"small").toLowerCase())&&"large"!==s&&(s="small"),r={level:a,size:s}).level+r.size){case"AAsmall":case"AAAlarge":o=u>=4.5;break;case"AAlarge":o=u>=3;break;case"AAAsmall":o=u>=7}return o},h.mostReadable=function(e,t,n){var r,o,i,a,s=null,u=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;cu&&(u=r,s=h(t[c]));return h.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],n))};var _=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(_);function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return Math.min(1,Math.max(0,e))}function D(e){return parseInt(e,16)}function F(e){return 1==e.length?"0"+e:""+e}function j(e){return e<=1&&(e=100*e+"%"),e}function $(e){return Math.round(255*parseFloat(e)).toString(16)}function H(e){return D(e)/255}var B,V,z,U=(V="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",z="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{CSS_UNIT:new RegExp(B),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+z),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+z),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+z),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function G(e){return!!U.CSS_UNIT.exec(e)}function W(e="",t=1){const{r:n,g:r,b:o}=h(e).toRgb();return`rgba(${n}, ${r}, ${o}, ${t})`}const K={black:"#000",white:"#fff"},Z={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",200:"#ddd",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e",heading:"#050505"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},q={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:W(Z.gray[900],.62)},Y={900:W("#000510",.9),800:W("#00000a",.85),700:W("#06060b",.8),600:W("#000913",.75),500:W("#0a1829",.7),400:W("#0a1829",.65),300:W("#0e1c2e",.62),200:W("#162435",.55),100:W("#223443",.5),backgroundFill:W(q[700],.7)},X={900:W("#304455",.45),800:W("#425863",.4),700:W("#667886",.35),600:W("#7b86a2",.3),500:W("#9197a2",.25),400:W("#95959c",.2),300:W("#829493",.15),200:W("#8b8b96",.1),100:W("#747474",.05)},J={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:W(K.white,.65)},Q={900:W(K.white,.5),800:W(K.white,.45),700:W(K.white,.4),600:W(K.white,.35),500:W(K.white,.3),400:W(K.white,.25),300:W(K.white,.2),200:W(K.white,.15),100:W(K.white,.1),backgroundFill:W(J[300],.8)},ee={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},te={theme:`var( --wp-admin-theme-color, ${ee.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${ee.medium.focus})`},ne={theme:te.theme,background:K.white,backgroundDisabled:J[200],border:Z.gray[700],borderFocus:te.themeDark10,borderDisabled:Z.gray[400],borderLight:Z.gray[200],label:q[500],textDisabled:q[150],textDark:K.white,textLight:K.black},re={...K,darkGray:(0,u.merge)({},q,Z.darkGray),darkOpacity:Y,darkOpacityLight:X,mediumGray:Z.mediumGray,gray:Z.gray,lightGray:(0,u.merge)({},J,Z.lightGray),lightGrayLight:Q,blue:(0,u.merge)({},ee,Z.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:te,ui:ne};var oe=n(3209);const ie=(0,s.A)("div",{target:"e1puf3u3"})("font-family:",l("default.fontFamily"),";font-size:",l("default.fontSize"),";"),ae=(0,s.A)("div",{target:"e1puf3u2"})("margin-bottom:",(0,oe.x)(2),";.components-panel__row &{margin-bottom:inherit;}"),se=(0,s.A)("label",{target:"e1puf3u1"})("display:inline-block;margin-bottom:",(0,oe.x)(2),";"),ue=(0,s.A)("p",{target:"e1puf3u0"})("font-size:",l("helpText.fontSize"),";font-style:normal;color:",re.mediumGray.text,";");function ce({id:e,label:t,hideLabelFromVision:n,help:o,className:s,children:u}){return(0,r.createElement)(ie,{className:i()("components-base-control",s)},(0,r.createElement)(ae,{className:"components-base-control__field"},t&&e&&(n?(0,r.createElement)(a.A,{as:"label",htmlFor:e},t):(0,r.createElement)(se,{className:"components-base-control__label",htmlFor:e},t)),t&&!e&&(n?(0,r.createElement)(a.A,{as:"label"},t):(0,r.createElement)(ce.VisualLabel,null,t)),u),!!o&&(0,r.createElement)(ue,{id:e+"__help",className:"components-base-control__help"},o))}ce.VisualLabel=({className:e,children:t})=>(e=i()("components-base-control__label",e),(0,r.createElement)("span",{className:e},t));const le=ce},7551:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(7731),o=n(6087),i=n(9019),a=n.n(i),s=n(8468),u=n(4040),c=n.n(u),l=n(9491),d=n(2833),f=n(145);const p=(0,o.createElement)("div",{className:"event-catcher"}),h=({eventHandlers:e,child:t,childrenWithPopover:n})=>(0,o.cloneElement)((0,o.createElement)("span",{className:"disabled-element-wrapper"},(0,o.cloneElement)(p,e),(0,o.cloneElement)(t,{children:n}),","),e),m=({child:e,eventHandlers:t,childrenWithPopover:n})=>(0,o.cloneElement)(e,{...t,children:n}),g=(e,t,n)=>{if(1!==o.Children.count(e))return;const r=o.Children.only(e);"function"==typeof r.props[t]&&r.props[t](n)},v=function({children:e,position:t,text:n,shortcut:r}){const[i,a]=(0,o.useState)(!1),[u,c]=(0,o.useState)(!1),p=(0,l.useDebounce)(c,700),v=t=>{g(e,"onMouseDown",t),document.addEventListener("mouseup",C),a(!0)},y=t=>{g(e,"onMouseUp",t),document.removeEventListener("mouseup",C),a(!1)},b=e=>"mouseUp"===e?y:"mouseDown"===e?v:void 0,C=b("mouseUp"),w=(t,n)=>r=>{if(g(e,t,r),r.currentTarget.disabled)return;if("focus"===r.type&&i)return;p.cancel();const o=(0,s.includes)(["focus","mouseenter"],r.type);o!==u&&(n?p(o):c(o))},x=()=>{p.cancel(),document.removeEventListener("mouseup",C)};if((0,o.useEffect)((()=>x),[]),1!==o.Children.count(e))return e;const S={onMouseEnter:w("onMouseEnter",!0),onMouseLeave:w("onMouseLeave"),onClick:w("onClick"),onFocus:w("onFocus"),onBlur:w("onBlur"),onMouseDown:b("mouseDown")},E=o.Children.only(e),{children:A,disabled:k}=E.props,T=k?h:m,M=(({grandchildren:e,isOver:t,position:n,text:r,shortcut:i})=>(0,o.concatChildren)(e,t&&(0,o.createElement)(d.A,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},r,(0,o.createElement)(f.A,{className:"components-tooltip__shortcut",shortcut:i}))))({grandchildren:A,isOver:u,position:t,text:n,shortcut:r});return T({child:E,eventHandlers:S,childrenWithPopover:M})};var y=n(5573),b=n(1506);const C=function({icon:e=null,size:t=24,...n}){if("string"==typeof e)return(0,o.createElement)(b.A,(0,r.A)({icon:e},n));if((0,o.isValidElement)(e)&&b.A===e.type)return(0,o.cloneElement)(e,{...n});if("function"==typeof e)return e.prototype instanceof o.Component?(0,o.createElement)(e,{size:t,...n}):e({size:t,...n});if(e&&("svg"===e.type||e.type===y.SVG)){const r={width:t,height:t,...e.props,...n};return(0,o.createElement)(y.SVG,r)}return(0,o.isValidElement)(e)?(0,o.cloneElement)(e,{size:t,...n}):e};var w=n(4967);const x=["onMouseDown","onClick"],S=(0,o.forwardRef)((function(e,t){const{href:n,target:i,isSmall:u,isPressed:l,isBusy:d,isDestructive:f,className:p,disabled:h,icon:m,iconPosition:g="left",iconSize:y,showTooltip:b,tooltipPosition:S,shortcut:E,label:A,children:k,text:T,variant:M,__experimentalIsFocusable:N,describedBy:O,..._}=function({isDefault:e,isPrimary:t,isSecondary:n,isTertiary:r,isLink:o,variant:i,...a}){let s=i;var u,l,d,f,p;return t&&(null!==(u=s)&&void 0!==u||(s="primary")),r&&(null!==(l=s)&&void 0!==l||(s="tertiary")),n&&(null!==(d=s)&&void 0!==d||(s="secondary")),e&&(c()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"'}),null!==(f=s)&&void 0!==f||(s="secondary")),o&&(null!==(p=s)&&void 0!==p||(s="link")),{...a,variant:s}}(e),R=a()("components-button",p,{"is-secondary":"secondary"===M,"is-primary":"primary"===M,"is-small":u,"is-tertiary":"tertiary"===M,"is-pressed":l,"is-busy":d,"is-link":"link"===M,"is-destructive":f,"has-text":!!m&&!!k,"has-icon":!!m}),P=h&&!N,I=void 0===n||P?"button":"a",L="a"===I?{href:n,target:i}:{type:"button",disabled:P,"aria-pressed":l};if(h&&N){L["aria-disabled"]=!0;for(const e of x)_[e]=e=>{e.stopPropagation(),e.preventDefault()}}const D=!P&&(b&&A||E||!!A&&(!k||(0,s.isArray)(k)&&!k.length)&&!1!==b),F=O?(0,s.uniqueId)():null,j=_["aria-describedby"]||F,$=(0,o.createElement)(I,(0,r.A)({},L,_,{className:R,"aria-label":_["aria-label"]||A,"aria-describedby":j,ref:t}),m&&"left"===g&&(0,o.createElement)(C,{icon:m,size:y}),T&&(0,o.createElement)(o.Fragment,null,T),m&&"right"===g&&(0,o.createElement)(C,{icon:m,size:y}),k);return D?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(v,{text:O||A,shortcut:E,position:S},$),O&&(0,o.createElement)(w.A,null,(0,o.createElement)("span",{id:F},O))):(0,o.createElement)(o.Fragment,null,$,O&&(0,o.createElement)(w.A,null,(0,o.createElement)("span",{id:F},O)))}))},332:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(6087),o=n(9019),i=n.n(o),a=n(8468),s=n(7723),u=n(9491),c=n(8558),l=n(195),d=n(3931),f=n(1376),p=n(74),h=n(2550),m=n(7551),g=n(2625),v=n(4137),y=n(7389),b=n(7731);const C=(0,u.createHigherOrderComponent)((e=>t=>{const[n,o]=(0,r.useState)(),i=(0,r.useCallback)((e=>o((()=>null!=e&&e.handleFocusOutside?e.handleFocusOutside.bind(e):void 0))),[]);return(0,r.createElement)("div",(0,u.__experimentalUseFocusOutside)(n),(0,r.createElement)(e,(0,b.A)({ref:i},t)))}),"withFocusOutside")(class extends r.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return this.props.children}}),w=function e({value:t,label:n,options:o,onChange:b,onFilterValueChange:w=a.noop,hideLabelFromVision:x,help:S,allowReset:E=!0,className:A,messages:k={selected:(0,s.__)("Item selected.")}}){var T;const M=(0,u.useInstanceId)(e),[N,O]=(0,r.useState)(null),[_,R]=(0,r.useState)(!1),[P,I]=(0,r.useState)(""),L=(0,r.useRef)(),D=o.find((e=>e.value===t)),F=null!==(T=null==D?void 0:D.label)&&void 0!==T?T:"",j=(0,r.useMemo)((()=>{const e=[],t=[],n=(0,a.deburr)(P.toLocaleLowerCase());return o.forEach((r=>{const o=(0,a.deburr)(r.label).toLocaleLowerCase().indexOf(n);0===o?e.push(r):o>0&&t.push(r)})),e.concat(t)}),[P,o,t]),$=e=>{b(e.value),(0,l.speak)(k.selected,"assertive"),O(e),I(""),R(!1)},H=(e=1)=>{let t=j.indexOf(N)+e;t<0?t=j.length-1:t>=j.length&&(t=0),O(j[t]),R(!0)};return(0,r.useEffect)((()=>{const e=j.length>0;if(_){const t=e?(0,s.sprintf)( /* translators: %d: number of results. */ /* translators: %d: number of results. */ (0,s._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",j.length),j.length):(0,s.__)("No results.");(0,l.speak)(t,"polite")}}),[j,_]),(0,r.createElement)(C,{onFocusOutside:()=>{R(!1)}},(0,r.createElement)(h.A,{className:i()(A,"components-combobox-control"),tabIndex:"-1",label:n,id:`components-form-token-input-${M}`,hideLabelFromVision:x,help:S},(0,r.createElement)("div",{className:"components-combobox-control__suggestions-container",tabIndex:"-1",onKeyDown:e=>{let t=!1;switch(e.keyCode){case c.ENTER:N&&($(N),t=!0);break;case c.UP:H(-1),t=!0;break;case c.DOWN:H(1),t=!0;break;case c.ESCAPE:R(!1),O(null),t=!0,e.stopPropagation()}t&&e.preventDefault()}},(0,r.createElement)(g.A,null,(0,r.createElement)(v.A,null,(0,r.createElement)(f.A,{className:"components-combobox-control__input",instanceId:M,ref:L,value:_?P:F,"aria-label":F?`${F}, ${n}`:null,onFocus:()=>{R(!0),w(""),I("")},isExpanded:_,selectedSuggestionIndex:j.indexOf(N),onChange:e=>{const t=e.value;I(t),w(t),R(!0)}})),E&&(0,r.createElement)(y.A,null,(0,r.createElement)(m.A,{className:"components-combobox-control__reset",icon:d.A,disabled:!t,onClick:()=>{b(null),L.current.input.focus()},label:(0,s.__)("Reset")}))),_&&(0,r.createElement)(p.A,{instanceId:M,match:{label:P},displayTransform:e=>e.label,suggestions:j,selectedIndex:j.indexOf(N),onHover:O,onSelect:$,scrollIntoView:!0}))))}},1506:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(2432|251|5454|5819|7949|8915)$/.test(n.j))var r=n(7731);var o=n(6087);const i=/^(2432|251|5454|5819|7949|8915)$/.test(n.j)?function({icon:e,className:t,...n}){const i=["dashicon","dashicons","dashicons-"+e,t].filter(Boolean).join(" ");return(0,o.createElement)("span",(0,r.A)({className:i},n))}:null},2871:(e,t,n)=>{"use strict";n.d(t,{R:()=>o,a:()=>i});var r=n(6087);const o=(0,r.createContext)({flexItemDisplay:void 0}),i=()=>(0,r.useContext)(o)},4137:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6001),o=n(5268),i=n(5255);const a=(0,r.a)({as:"div",useHook:function(e){const t=(0,o.A)(e,"FlexBlock");return(0,i.K)({isBlock:!0,...t})},name:"FlexBlock"})},7389:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6001),o=n(5255);const i=(0,r.a)({as:"div",useHook:o.K,name:"FlexItem"}),a=/^(251|7949)$/.test(n.j)?i:null},5255:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(8944);if(/^(251|7949)$/.test(n.j))var o=n(5268);if(/^(251|7949)$/.test(n.j))var i=n(2871);if(/^(251|7949)$/.test(n.j))var a=n(9808);function s(e){const{className:t,display:n,isBlock:s=!1,...u}=(0,o.A)(e,"FlexItem"),c={},l=(0,i.a)().flexItemDisplay;return c.Base=(0,r.AH)({display:n||l},"",""),{...u,className:(0,r.cx)(a.q7,c.Base,s&&a.om,t)}}},2625:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(7731),o=n(6087),i=n(5973),a=n(8944),s=n(4040),u=n.n(s),c=n(5268),l=n(4315),d=n(3209),f=n(9808);var p=n(2871),h=n(9201);const m=(0,i.KZ)((function(e,t){const{children:n,isColumn:i,...s}=function(e){const{align:t="center",className:n,direction:r="row",expanded:i=!0,gap:s=2,justify:p="space-between",wrap:h=!1,...m}=(0,c.A)(function({isReversed:e,...t}){return void 0!==e?(u()("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...t,direction:e?"row-reverse":"row"}):t}(e),"Flex"),g=Array.isArray(r)?r:[r],v=(0,l.t)(g),y="string"==typeof v&&!!v.includes("column"),b="string"==typeof v&&v.includes("reverse");return{...m,className:(0,o.useMemo)((()=>{const e={};return e.Base=(0,a.AH)({alignItems:y?"normal":t,flexDirection:v,flexWrap:h?"wrap":void 0,justifyContent:p,height:y&&i?"100%":void 0,width:!y&&i?"100%":void 0,marginBottom:h?`calc(${(0,d.x)(s)} * -1)`:void 0},"",""),e.Items=(0,a.AH)({"> * + *:not(marquee)":{marginTop:y?(0,d.x)(s):void 0,marginRight:!y&&b?(0,d.x)(s):void 0,marginLeft:y||b?void 0:(0,d.x)(s)}},"",""),e.WrapItems=(0,a.AH)({"> *:not(marquee)":{marginBottom:(0,d.x)(s),marginLeft:!y&&b?(0,d.x)(s):void 0,marginRight:y||b?void 0:(0,d.x)(s)},"> *:last-child:not(marquee)":{marginLeft:!y&&b?0:void 0,marginRight:y||b?void 0:0}},"",""),(0,a.cx)(f.so,e.Base,h?e.WrapItems:e.Items,y?f.Z2:f.RI,n)}),[t,n,v,i,s,y,b,p,h]),isColumn:y}}(e);return(0,o.createElement)(p.R.Provider,{value:{flexItemDisplay:i?"block":void 0}},(0,o.createElement)(h.A,(0,r.A)({},s,{ref:t}),n))}),"Flex")},9808:(e,t,n)=>{"use strict";n.d(t,{RI:()=>u,Z2:()=>s,om:()=>a,q7:()=>i,so:()=>o});var r=n(8944);const o=(0,r.AH)({name:"zjik7",styles:"display:flex"}),i=(0,r.AH)({name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"}),a=(0,r.AH)({name:"82a6rk",styles:"flex:1"}),s=(0,r.AH)({name:"13nosa1",styles:">*{min-height:0;}"}),u=(0,r.AH)({name:"1pwxzk4",styles:">*{min-width:0;}"})},1331:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(6087),o=n(8468),i=n(9019),a=n.n(i),s=n(7723),u=n(9491),c=n(8558),l=n(923),d=n.n(l),f=n(3931),p=n(7551),h=n(4967);function m({value:e,status:t,title:n,displayTransform:i,isBorderless:c=!1,disabled:l=!1,onClickRemove:d=o.noop,onMouseEnter:g,onMouseLeave:v,messages:y,termPosition:b,termsCount:C}){const w=(0,u.useInstanceId)(m),x=a()("components-form-token-field__token",{"is-error":"error"===t,"is-success":"success"===t,"is-validating":"validating"===t,"is-borderless":c,"is-disabled":l}),S=i(e),E=(0,s.sprintf)( /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */ /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */ (0,s.__)("%1$s (%2$s of %3$s)"),S,b,C);return(0,r.createElement)("span",{className:x,onMouseEnter:g,onMouseLeave:v,title:n},(0,r.createElement)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${w}`},(0,r.createElement)(h.A,{as:"span"},E),(0,r.createElement)("span",{"aria-hidden":"true"},S)),(0,r.createElement)(p.A,{className:"components-form-token-field__remove-token",icon:f.A,onClick:!l&&(()=>d({value:e})),label:y.remove,"aria-describedby":`components-form-token-field__token-text-${w}`}))}var g=n(1376),v=n(74),y=n(7731),b=n(195);const C=(0,u.createHigherOrderComponent)((e=>t=>(0,r.createElement)(e,(0,y.A)({},t,{speak:b.speak,debouncedSpeak:(0,u.useDebounce)(b.speak,500)}))),"withSpokenMessages"),w={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1};class x extends r.Component{constructor(){super(...arguments),this.state=w,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.deleteTokenBeforeInput=this.deleteTokenBeforeInput.bind(this),this.deleteTokenAfterInput=this.deleteTokenAfterInput.bind(this),this.addCurrentToken=this.addCurrentToken.bind(this),this.onContainerTouched=this.onContainerTouched.bind(this),this.renderToken=this.renderToken.bind(this),this.onTokenClickRemove=this.onTokenClickRemove.bind(this),this.onSuggestionHovered=this.onSuggestionHovered.bind(this),this.onSuggestionSelected=this.onSuggestionSelected.bind(this),this.onInputChange=this.onInputChange.bind(this),this.bindInput=this.bindInput.bind(this),this.bindTokensAndInput=this.bindTokensAndInput.bind(this),this.updateSuggestions=this.updateSuggestions.bind(this)}componentDidUpdate(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();const{suggestions:t,value:n}=this.props,r=!d()(t,e.suggestions);(r||n!==e.value)&&this.updateSuggestions(r)}static getDerivedStateFromProps(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}bindInput(e){this.input=e}bindTokensAndInput(e){this.tokensAndInput=e}onFocus(e){const{__experimentalExpandOnFocus:t}=this.props;this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0,isExpanded:!!t||this.state.isExpanded}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}onBlur(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(w)}onKeyDown(e){let t=!1;switch(e.keyCode){case c.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case c.ENTER:t=this.addCurrentToken();break;case c.LEFT:t=this.handleLeftArrowKey();break;case c.UP:t=this.handleUpArrowKey();break;case c.RIGHT:t=this.handleRightArrowKey();break;case c.DOWN:t=this.handleDownArrowKey();break;case c.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case c.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case c.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}onKeyPress(e){let t=!1;44===e.charCode&&(t=this.handleCommaKey()),t&&e.preventDefault()}onContainerTouched(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}onTokenClickRemove(e){this.deleteToken(e.value),this.input.focus()}onSuggestionHovered(e){const t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}onSuggestionSelected(e){this.addNewToken(e)}onInputChange(e){const t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),i=(0,o.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:i},this.updateSuggestions),this.props.onInputChange(i)}handleDeleteKey(e){let t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}handleLeftArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}handleRightArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}handleUpArrowKey(){return this.setState(((e,t)=>({selectedSuggestionIndex:(0===e.selectedSuggestionIndex?this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length:e.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}))),!0}handleDownArrowKey(){return this.setState(((e,t)=>({selectedSuggestionIndex:(e.selectedSuggestionIndex+1)%this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length,selectedSuggestionScroll:!0}))),!0}handleEscapeKey(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}handleCommaKey(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}moveInputToIndex(e){this.setState(((t,n)=>({inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1})))}moveInputBeforePreviousToken(){this.setState(((e,t)=>({inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)})))}moveInputAfterNextToken(){this.setState((e=>({inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)})))}deleteTokenBeforeInput(){const e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}deleteTokenAfterInput(){const e=this.getIndexOfInput();e!this.valueContainsToken(e))));if(t.length>0){const e=(0,o.clone)(this.props.value);e.splice.apply(e,[this.getIndexOfInput(),0].concat(t)),this.props.onChange(e)}}addNewToken(e){const{__experimentalExpandOnFocus:t,__experimentalValidateInput:n}=this.props;n(e)?(this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!t}),this.state.isActive&&this.input.focus()):this.props.speak(this.props.messages.__experimentalInvalid,"assertive")}deleteToken(e){const t=this.props.value.filter((t=>this.getTokenValue(t)!==this.getTokenValue(e)));this.props.onChange(t),this.props.speak(this.props.messages.removed,"assertive")}getTokenValue(e){return"object"==typeof e?e.value:e}getMatchingSuggestions(e=this.state.incompleteTokenValue,t=this.props.suggestions,n=this.props.value,r=this.props.maxSuggestions,i=this.props.saveTransform){let a=i(e);const s=[],u=[];return 0===a.length?t=(0,o.difference)(t,n):(a=a.toLocaleLowerCase(),(0,o.each)(t,(e=>{const t=e.toLocaleLowerCase().indexOf(a);-1===n.indexOf(e)&&(0===t?s.push(e):t>0&&u.push(e))})),t=s.concat(u)),(0,o.take)(t,r)}getSelectedSuggestion(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}valueContainsToken(e){return(0,o.some)(this.props.value,(t=>this.getTokenValue(e)===this.getTokenValue(t)))}getIndexOfInput(){return this.props.value.length-this.state.inputOffsetFromEnd}isInputEmpty(){return 0===this.state.incompleteTokenValue.length}inputHasValidValue(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}updateSuggestions(e=!0){const{__experimentalExpandOnFocus:t}=this.props,{incompleteTokenValue:n}=this.state,r=n.trim().length>1,o=this.getMatchingSuggestions(n),i=o.length>0,a={isExpanded:t||r&&i};if(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),r){const{debouncedSpeak:e}=this.props;e(i?(0,s.sprintf)( /* translators: %d: number of results. */ /* translators: %d: number of results. */ (0,s._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",o.length),o.length):(0,s.__)("No results."),"assertive")}}renderTokensAndInput(){const e=(0,o.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}renderToken(e,t,n){const o=this.getTokenValue(e),i=e.status?e.status:void 0,a=t+1,s=n.length;return(0,r.createElement)(m,{key:"token-"+o,value:o,status:i,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==i&&this.props.disabled,messages:this.props.messages,termsCount:s,termPosition:a})}renderInput(){const{autoCapitalize:e,autoComplete:t,maxLength:n,placeholder:o,value:i,instanceId:a}=this.props;let s={instanceId:a,autoCapitalize:e,autoComplete:t,placeholder:0===i.length?o:"",ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return n&&i.length>=n||(s={...s,onChange:this.onInputChange}),(0,r.createElement)(g.A,s)}render(){const{disabled:e,label:t=(0,s.__)("Add item"),instanceId:n,className:o,__experimentalShowHowTo:i}=this.props,{isExpanded:u}=this.state,c=a()(o,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":e});let l={className:"components-form-token-field",tabIndex:"-1"};const d=this.getMatchingSuggestions();return e||(l=Object.assign({},l,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),(0,r.createElement)("div",l,(0,r.createElement)("label",{htmlFor:`components-form-token-input-${n}`,className:"components-form-token-field__label"},t),(0,r.createElement)("div",{ref:this.bindTokensAndInput,className:c,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),u&&(0,r.createElement)(v.A,{instanceId:n,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:d,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),i&&(0,r.createElement)("p",{id:`components-form-token-suggestions-howto-${n}`,className:"components-form-token-field__help"},this.props.tokenizeOnSpace?(0,s.__)("Separate with commas, spaces, or the Enter key."):(0,s.__)("Separate with commas or the Enter key.")))}}x.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:o.identity,saveTransform:e=>e.trim(),onChange:()=>{},onInputChange:()=>{},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:(0,s.__)("Item added."),removed:(0,s.__)("Item removed."),remove:(0,s.__)("Remove item"),__experimentalInvalid:(0,s.__)("Invalid item")},__experimentalExpandOnFocus:!1,__experimentalValidateInput:()=>!0,__experimentalShowHowTo:!0};const S=C((0,u.withInstanceId)(x))},74:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(6087),o=n(8468),i=n(4648),a=n.n(i),s=n(9019),u=n.n(s),c=n(9491);class l extends r.Component{constructor(){super(...arguments),this.handleMouseDown=this.handleMouseDown.bind(this),this.bindList=this.bindList.bind(this)}componentDidUpdate(){this.props.selectedIndex>-1&&this.props.scrollIntoView&&this.list.children[this.props.selectedIndex]&&(this.scrollingIntoView=!0,a()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((()=>{this.scrollingIntoView=!1}),100))}bindList(e){this.list=e}handleHover(e){return()=>{this.scrollingIntoView||this.props.onHover(e)}}handleClick(e){return()=>{this.props.onSelect(e)}}handleMouseDown(e){e.preventDefault()}computeSuggestionMatch(e){const t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;const n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}render(){return(0,r.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:`components-form-token-suggestions-${this.props.instanceId}`,role:"listbox"},(0,o.map)(this.props.suggestions,((e,t)=>{const n=this.computeSuggestionMatch(e),o=u()("components-form-token-field__suggestion",{"is-selected":t===this.props.selectedIndex});return(0,r.createElement)("li",{id:`components-form-token-suggestions-${this.props.instanceId}-${t}`,role:"option",className:o,key:null!=e&&e.value?e.value:this.props.displayTransform(e),onMouseDown:this.handleMouseDown,onClick:this.handleClick(e),onMouseEnter:this.handleHover(e),"aria-selected":t===this.props.selectedIndex},n?(0,r.createElement)("span",{"aria-label":this.props.displayTransform(e)},n.suggestionBeforeMatch,(0,r.createElement)("strong",{className:"components-form-token-field__suggestion-match"},n.suggestionMatch),n.suggestionAfterMatch):this.props.displayTransform(e))})))}}l.defaultProps={match:"",onHover:()=>{},onSelect:()=>{},suggestions:Object.freeze([])};const d=(0,c.withSafeTimeout)(l)},1376:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(7731),o=n(6087),i=n(9019),a=n.n(i);class s extends o.Component{constructor(){super(...arguments),this.onChange=this.onChange.bind(this),this.bindInput=this.bindInput.bind(this)}focus(){this.input.focus()}hasFocus(){return this.input===this.input.ownerDocument.activeElement}bindInput(e){this.input=e}onChange(e){this.props.onChange({value:e.target.value})}render(){const{value:e,isExpanded:t,instanceId:n,selectedSuggestionIndex:i,className:s,...u}=this.props,c=e?e.length+1:0;return(0,o.createElement)("input",(0,r.A)({ref:this.bindInput,id:`components-form-token-input-${n}`,type:"text"},u,{value:e||"",onChange:this.onChange,size:c,className:a()(s,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":t,"aria-autocomplete":"list","aria-owns":t?`components-form-token-suggestions-${n}`:void 0,"aria-activedescendant":-1!==i?`components-form-token-suggestions-${n}-${i}`:void 0,"aria-describedby":`components-form-token-suggestions-howto-${n}`}))}}const u=/^(2432|251|5454|5819|7949|8915)$/.test(n.j)?s:null},2833:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(7731),o=n(6087),i=n(9019),a=n.n(i),s=n(8107),u=n(4040),c=n.n(u),l=n(9491),d=n(5573);const f=(0,o.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(d.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));var p=n(7723);function h(e,t,n){const{defaultView:r}=t,{frameElement:o}=r;if(!o||t===n.ownerDocument)return e;const i=o.getBoundingClientRect();return new r.DOMRect(e.left+i.left,e.top+i.top,e.width,e.height)}var m=n(7551);let g=0;function v(e){const t=document.scrollingElement||document.body;e&&(g=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=g)}let y=0;function b(){return(0,o.useEffect)((()=>(0===y&&v(!0),++y,()=>{1===y&&v(!1),--y})),[]),null}var C=n(1502),w=n(5366),x=n(8468),S=n(8772);class E extends o.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:t,fillProps:n={},getFills:r}=this.props,i=(0,x.map)(r(t,this),(e=>{const t=(0,x.isFunction)(e.children)?e.children(n):e.children;return o.Children.map(t,((e,t)=>{if(!e||(0,x.isString)(e))return e;const n=e.key||t;return(0,o.cloneElement)(e,{key:n})}))})).filter((0,x.negate)(o.isEmptyElement));return(0,o.createElement)(o.Fragment,null,(0,x.isFunction)(e)?e(i):i)}}const A=e=>(0,o.createElement)(S.A.Consumer,null,(({registerSlot:t,unregisterSlot:n,getFills:i})=>(0,o.createElement)(E,(0,r.A)({},e,{registerSlot:t,unregisterSlot:n,getFills:i}))));var k=n(9745),T=n(6154);const M=(0,o.forwardRef)((function({name:e,fillProps:t={},as:n="div",...i},a){const s=(0,o.useContext)(T.A),u=(0,o.useRef)();return(0,o.useLayoutEffect)((()=>(s.registerSlot(e,u,t),()=>{s.unregisterSlot(e,u)})),[s.registerSlot,s.unregisterSlot,e]),(0,o.useLayoutEffect)((()=>{s.updateSlot(e,t)})),(0,o.createElement)(n,(0,r.A)({ref:(0,l.useMergeRefs)([a,u])},i))}));function N(e){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(w.A,e),(0,o.createElement)(k.A,e))}const O=(0,o.forwardRef)((({bubblesVirtually:e,...t},n)=>e?(0,o.createElement)(M,(0,r.A)({},t,{ref:n})):(0,o.createElement)(A,t)));function _(e){return"appear"===e?"top":"left"}const R="Popover";function P(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i}=(a=t).ownerDocument.defaultView.getComputedStyle(a);var a;const s=n?parseInt(n,10):0,u=r?parseInt(r,10):0,c=o?parseInt(o,10):0,l=i?parseInt(i,10):0;return{x:e.left+c,y:e.top+s,width:e.width-c-l,height:e.height-s-u,left:e.left+c,right:e.right-l,top:e.top+s,bottom:e.bottom-u}}function I(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function L(e,t,n=""){e.style[t]!==n&&(e.style[t]=n)}function D(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const F=(0,o.forwardRef)((({headerTitle:e,onClose:t,children:n,className:i,noArrow:u=!0,isAlternate:d,position:g="bottom right",range:v,focusOnMount:y="firstElement",anchorRef:w,shouldAnchorIncludePadding:x,anchorRect:S,getAnchorRect:E,expandOnMobile:A,animate:k=!0,onClickOutside:T,onFocusOutside:M,__unstableStickyBoundaryElement:O,__unstableSlotName:F=R,__unstableObserveElement:j,__unstableBoundaryParent:$,__unstableForcePosition:H,__unstableForceXAlignment:B,...V},z)=>{const U=(0,o.useRef)(null),G=(0,o.useRef)(null),W=(0,o.useRef)(),K=(0,l.useViewportMatch)("medium","<"),[Z,q]=(0,o.useState)(),Y=(0,C.A)(F),X=A&&K,[J,Q]=(0,l.useResizeObserver)();u=X||u,(0,o.useLayoutEffect)((()=>{if(X)return D(W.current,"is-without-arrow",u),D(W.current,"is-alternate",d),I(W.current,"data-x-axis"),I(W.current,"data-y-axis"),L(W.current,"top"),L(W.current,"left"),L(G.current,"maxHeight"),void L(G.current,"maxWidth");const e=()=>{if(!W.current||!G.current)return;let e=function(e,t,n,r=!1,o,i){if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return h(t,t.ownerDocument||e.current.ownerDocument,i)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return h((0,s.getRectangleFromRange)(r),r.endContainer.ownerDocument,i);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=h(r.getBoundingClientRect(),r.ownerDocument,i);return o?e:P(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),a=t.getBoundingClientRect(),u=h(new window.DOMRect(n.left,n.top,n.width,a.bottom-n.top),e.ownerDocument,i);return o?u:P(u,r)}if(!e.current)return;const{parentNode:a}=e.current,u=a.getBoundingClientRect();return o?u:P(u,a)}(U,S,E,w,x,W.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=W.current;let r,o=0;if(t&&t!==n.body){const n=t.getBoundingClientRect();o=n.top,e=new window.DOMRect(e.left-n.left,e.top-n.top,e.width,e.height)}var i;$&&(r=null===(i=W.current.closest(".popover-slot"))||void 0===i?void 0:i.parentNode);const a=Q.height?Q:G.current.getBoundingClientRect(),{popoverTop:c,popoverLeft:l,xAxis:f,yAxis:m,contentHeight:v,contentWidth:y}=function(e,t,n="top",r,o,i,a,s,u){const[c,l="center",d]=n.split(" "),f=function(e,t,n,r,o,i,a,s){const{height:u}=t;if(o){const t=o.getBoundingClientRect().top+u-a;if(e.top<=t)return{yAxis:n,popoverTop:Math.min(e.bottom,t)}}let c=e.top+e.height/2;"bottom"===r?c=e.bottom:"top"===r&&(c=e.top);const l={popoverTop:c,contentHeight:(c-u/2>0?u/2:c)+(c+u/2>window.innerHeight?window.innerHeight-c:u/2)},d={popoverTop:e.top,contentHeight:e.top-10-u>0?u:e.top-10},f={popoverTop:e.bottom,contentHeight:e.bottom+10+u>window.innerHeight?window.innerHeight-10-e.bottom:u};let p,h=n,m=null;if(!o&&!s)if("middle"===n&&l.contentHeight===u)h="middle";else if("top"===n&&d.contentHeight===u)h="top";else if("bottom"===n&&f.contentHeight===u)h="bottom";else{h=d.contentHeight>f.contentHeight?"top":"bottom";const e="top"===h?d.contentHeight:f.contentHeight;m=e!==u?e:null}return p="middle"===h?l.popoverTop:"top"===h?d.popoverTop:f.popoverTop,{yAxis:h,popoverTop:p,contentHeight:m}}(e,t,c,d,r,0,i,s),h=function(e,t,n,r,o,i,a,s,u){const{width:c}=t;"left"===n&&(0,p.isRTL)()?n="right":"right"===n&&(0,p.isRTL)()&&(n="left"),"left"===r&&(0,p.isRTL)()?r="right":"right"===r&&(0,p.isRTL)()&&(r="left");const l=Math.round(e.left+e.width/2),d={popoverLeft:l,contentWidth:(l-c/2>0?c/2:l)+(l+c/2>window.innerWidth?window.innerWidth-l:c/2)};let f=e.left;"right"===r?f=e.right:"middle"===i||u||(f=l);let h=e.right;"left"===r?h=e.left:"middle"===i||u||(h=l);const m={popoverLeft:f,contentWidth:f-c>0?c:f},g={popoverLeft:h,contentWidth:h+c>window.innerWidth?window.innerWidth-h:c};let v,y=n,b=null;if(!o&&!s)if("center"===n&&d.contentWidth===c)y="center";else if("left"===n&&m.contentWidth===c)y="left";else if("right"===n&&g.contentWidth===c)y="right";else{y=m.contentWidth>g.contentWidth?"left":"right";const e="left"===y?m.contentWidth:g.contentWidth;c>window.innerWidth&&(b=window.innerWidth),e!==c&&(y="center",d.popoverLeft=window.innerWidth/2)}if(v="center"===y?d.popoverLeft:"left"===y?m.popoverLeft:g.popoverLeft,a){const e=a.getBoundingClientRect();v=Math.min(v,e.right-c),(0,p.isRTL)()||(v=Math.max(v,0))}return{xAxis:y,popoverLeft:v,contentWidth:b}}(e,t,l,d,r,f.yAxis,a,s,u);return{...h,...f}}(e,a,g,O,W.current,o,r,H,B);"number"==typeof c&&"number"==typeof l&&(L(W.current,"top",c+"px"),L(W.current,"left",l+"px")),D(W.current,"is-without-arrow",u||"center"===f&&"middle"===m),D(W.current,"is-alternate",d),I(W.current,"data-x-axis",f),I(W.current,"data-y-axis",m),L(G.current,"maxHeight","number"==typeof v?v+"px":""),L(G.current,"maxWidth","number"==typeof y?y+"px":""),q(({left:"right",right:"left"}[f]||"center")+" "+({top:"bottom",bottom:"top"}[m]||"middle"))};e();const{ownerDocument:t}=W.current,{defaultView:n}=t,r=n.setInterval(e,500);let o;const i=()=>{n.cancelAnimationFrame(o),o=n.requestAnimationFrame(e)};n.addEventListener("click",i),n.addEventListener("resize",e),n.addEventListener("scroll",e,!0);const a=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(w);let c;return a&&a!==t&&(a.defaultView.addEventListener("resize",e),a.defaultView.addEventListener("scroll",e,!0)),j&&(c=new n.MutationObserver(e),c.observe(j,{attributes:!0})),()=>{n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",i),n.cancelAnimationFrame(o),a&&a!==t&&(a.defaultView.removeEventListener("resize",e),a.defaultView.removeEventListener("scroll",e,!0)),c&&c.disconnect()}}),[X,S,E,w,x,g,Q,O,j,$]);const ee=(e,n)=>{if("focus-outside"===e&&M)M(n);else if("focus-outside"===e&&T){const e=new window.MouseEvent("click");Object.defineProperty(e,"target",{get:()=>n.relatedTarget}),c()("Popover onClickOutside prop",{since:"5.3",alternative:"onFocusOutside"}),T(e)}else t&&t()},[te,ne]=(0,l.__experimentalUseDialog)({focusOnMount:y,__unstableOnClose:ee,onClose:ee}),re=(0,l.useMergeRefs)([W,te,z]),oe=Boolean(k&&Z)&&function(e){if("loading"===e.type)return a()("components-animate__loading");const{type:t,origin:n=_(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return a()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?a()("components-animate__slide-in","is-from-"+n):void 0}({type:"appear",origin:Z});let ie=(0,o.createElement)("div",(0,r.A)({className:a()("components-popover",i,oe,{"is-expanded":X,"is-without-arrow":u,"is-alternate":d})},V,{ref:re},ne,{tabIndex:"-1"}),X&&(0,o.createElement)(b,null),X&&(0,o.createElement)("div",{className:"components-popover__header"},(0,o.createElement)("span",{className:"components-popover__header-title"},e),(0,o.createElement)(m.A,{className:"components-popover__close",icon:f,onClick:t})),(0,o.createElement)("div",{ref:G,className:"components-popover__content"},(0,o.createElement)("div",{style:{position:"relative"}},J,n)));return Y.ref&&(ie=(0,o.createElement)(N,{name:F},ie)),w||S?ie:(0,o.createElement)("span",{ref:U},ie)}));F.Slot=(0,o.forwardRef)((function({name:e=R},t){return(0,o.createElement)(O,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:t})}));const j=F},145:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6087),o=n(8468);const i=/^(2432|251|5454|5819|7949|8915)$/.test(n.j)?function({shortcut:e,className:t}){if(!e)return null;let n,i;return(0,o.isString)(e)&&(n=e),(0,o.isObject)(e)&&(n=e.display,i=e.ariaLabel),(0,r.createElement)("span",{className:t,"aria-label":i},n)}:null},9745:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6087);if(/^(2432|251|5454|5819|7949|8915)$/.test(n.j))var o=n(1502);function i(){const[,e]=(0,r.useState)({}),t=(0,r.useRef)(!0);return(0,r.useEffect)((()=>()=>{t.current=!1}),[]),()=>{t.current&&e({})}}function a({name:e,children:t}){const n=(0,o.A)(e),a=(0,r.useRef)({rerender:i()});return(0,r.useEffect)((()=>(n.registerFill(a),()=>{n.unregisterFill(a)})),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof t&&(t=t(n.fillProps)),(0,r.createPortal)(t,n.ref.current)):null}},6154:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6087);n(979);const o=(0,r.createContext)({slots:{},fills:{},registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}}),i=/^(2432|251|5454|5819|7949|8915)$/.test(n.j)?o:null},1502:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6087);if(/^(2432|251|5454|5819|7949|8915)$/.test(n.j))var o=n(6154);function i(e){const t=(0,r.useContext)(o.A),n=t.slots[e]||{},i=t.fills[e],a=(0,r.useMemo)((()=>i||[]),[i]);return{...n,updateSlot:(0,r.useCallback)((n=>{t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:(0,r.useCallback)((n=>{t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:a,registerFill:(0,r.useCallback)((n=>{t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:(0,r.useCallback)((n=>{t.unregisterFill(e,n)}),[e,t.unregisterFill])}}},8772:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=(0,n(6087).createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}}),o=/^(2432|251|5454|5819|7949|8915)$/.test(n.j)?r:null},5366:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>c}),/^(2432|251|5454|5819|7949|8915)$/.test(n.j))var r=n(7731);var o=n(6087),i=n(8468);if(/^(2432|251|5454|5819|7949|8915)$/.test(n.j))var a=n(8772);if(/^(2432|251|5454|5819|7949|8915)$/.test(n.j))var s=n(8069);function u({name:e,children:t,registerFill:n,unregisterFill:r}){const a=(0,s.A)(e),u=(0,o.useRef)({name:e,children:t});return(0,o.useLayoutEffect)((()=>(n(e,u.current),()=>r(e,u.current))),[]),(0,o.useLayoutEffect)((()=>{u.current.children=t,a&&a.forceUpdate()}),[t]),(0,o.useLayoutEffect)((()=>{e!==u.current.name&&(r(u.current.name,u.current),u.current.name=e,n(e,u.current))}),[e]),a&&a.node?((0,i.isFunction)(t)&&(t=t(a.props.fillProps)),(0,o.createPortal)(t,a.node)):null}const c=/^(2432|251|5454|5819|7949|8915)$/.test(n.j)?e=>(0,o.createElement)(a.A.Consumer,null,(({registerFill:t,unregisterFill:n})=>(0,o.createElement)(u,(0,r.A)({},e,{registerFill:t,unregisterFill:n})))):null},8069:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6087);if(/^(2432|251|5454|5819|7949|8915)$/.test(n.j))var o=n(8772);const i=/^(2432|251|5454|5819|7949|8915)$/.test(n.j)?e=>{const{getSlot:t,subscribe:n}=(0,r.useContext)(o.A),[i,a]=(0,r.useState)(t(e));return(0,r.useEffect)((()=>(a(t(e)),n((()=>{a(t(e))})))),[e]),i}:null},780:(e,t,n)=>{"use strict";n.d(t,{Yr:()=>i,yG:()=>r,yy:()=>o});const r="data-wp-component",o="data-wp-c16t",i="__contextSystemKey__"},5973:(e,t,n)=>{"use strict";n.d(t,{KZ:()=>s});var r=n(8468),o=n(6087);if(n(979),/^(251|7949)$/.test(n.j))var i=n(780);if(/^(251|7949)$/.test(n.j))var a=n(1013);function s(e,t,n={}){const{memo:s=!1}=n;let u=(0,o.forwardRef)(e);s&&(u=(0,o.memo)(u)),void 0===t&&"undefined"!=typeof process&&process.env;let c=u[i.Yr]||[t];return Array.isArray(t)&&(c=[...c,...t]),"string"==typeof t&&(c=[...c,t]),u.displayName=t,u[i.Yr]=(0,r.uniq)(c),u.selector=`.${(0,a.o)(t)}`,u}},5902:(e,t,n)=>{"use strict";n.d(t,{rm:()=>a});var r=n(6087),o=n(8468);n(979);const i=(0,r.createContext)({}),a=()=>(0,r.useContext)(i);function s({value:e}){const t=a(),n=(0,r.useRef)(e);return function(t,i){const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{a.current?(0,o.isEqual)(n.current,e)&&n.current!==e&&"undefined"!=typeof process&&process.env:a.current=!0}),i)}(0,[e]),(0,r.useMemo)((()=>(0,o.merge)((0,o.cloneDeep)(t),e)),[t,e])}(0,r.memo)((({children:e,value:t})=>{const n=s({value:t});return(0,r.createElement)(i.Provider,{value:n},e)}))},1013:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(8468),o=n(6570);const i=n.n(o)()((function(e){return`components-${(0,r.kebabCase)(e)}`}))},5268:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(8944);if(n(979),/^(251|7949)$/.test(n.j))var o=n(5902);if(/^(251|7949)$/.test(n.j))var i=n(2432);if(/^(251|7949)$/.test(n.j))var a=n(1013);function s(e,t){const n=(0,o.rm)();void 0===t&&"undefined"!=typeof process&&process.env;const s=(null==n?void 0:n[t])||{},u={...(0,i.X)(),...(0,i.U)(t)},{_overrides:c,...l}=s,d=Object.entries(l).length?Object.assign({},l,e):e,f=(0,r.cx)((0,a.o)(t),e.className),p="function"==typeof d.renderChildren?d.renderChildren(d):d.children;for(const e in d)u[e]=d[e];for(const e in c)u[e]=c[e];return u.children=p,u.className=f,u}},2432:(e,t,n)=>{"use strict";if(n.d(t,{U:()=>o,X:()=>i}),/^(251|7949)$/.test(n.j))var r=n(780);function o(e){return{[r.yG]:e}}function i(){return{[r.yy]:!0}}},6001:(e,t,n)=>{"use strict";if(n.d(t,{a:()=>s}),/^(251|7949)$/.test(n.j))var r=n(7731);var o=n(6087);if(/^(251|7949)$/.test(n.j))var i=n(5973);if(/^(251|7949)$/.test(n.j))var a=n(9201);const s=({as:e,name:t,useHook:n,memo:s=!1})=>{function u(t,i){const s=n(t);return(0,o.createElement)(a.A,(0,r.A)({as:e||"div"},s,{ref:i}))}return u.displayName=t,(0,i.KZ)(u,t,{memo:s})}},3209:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});const r="4px";function o(e){var t,n;if(void 0===e)return;if(!e)return"0";const o="number"==typeof e?e:Number(e);return null!==(t=(n=CSS).supports)&&void 0!==t&&t.call(n,"margin",e.toString())||Number.isNaN(o)?e.toString():`calc(${r} * ${e})`}},4315:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(6087);const o=/^(251|7949)$/.test(n.j)?["40em","52em","64em"]:null,i=(e={})=>{const{defaultIndex:t=0}=e;if("number"!=typeof t)throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>o.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${o.length} breakpoints, got index ${t}`);const[n,i]=(0,r.useState)(t);return(0,r.useEffect)((()=>{const e=()=>{const e=o.filter((e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches)).length;n!==e&&i(e)};return e(),"undefined"!=typeof document&&document.addEventListener("resize",e),()=>{"undefined"!=typeof document&&document.removeEventListener("resize",e)}}),[n]),n};function a(e,t={}){const n=i(t);if(!Array.isArray(e)&&"function"!=typeof e)return e;const r=e||[];return r[n>=r.length?r.length-1:n]}},2866:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"}},9201:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=(0,n(7811).A)("div",{target:"em57xhy0"})("");r.selector=".components-view",r.displayName="View";const o=/^(251|7949)$/.test(n.j)?r:null},4967:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9019),o=n.n(r),i=n(6087);const a=(0,i.forwardRef)((function({as:e="div",className:t,...n},r){return function({as:e="div",...t}){return"function"==typeof t.children?t.children(t):(0,i.createElement)(e,t)}({as:e,className:o()("components-visually-hidden",t),...n,ref:r})}))},3122:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609),o=n(6087);if(8157==n.j)var i=n(9689);if(8157==n.j)var a=n(7681);function s(e){var t;const{name:n,children:s}=e,{registerFill:u,unregisterFill:c,...l}=(0,i.A)(n),d=function(){const[,e]=(0,o.useState)({}),t=(0,o.useRef)(!0);return(0,o.useEffect)((()=>(t.current=!0,()=>{t.current=!1})),[]),()=>{t.current&&e({})}}(),f=(0,o.useRef)({rerender:d});if((0,o.useEffect)((()=>(u(f),()=>{c(f)})),[u,c]),!l.ref||!l.ref.current)return null;const p=(0,r.createElement)(a.A,{document:l.ref.current.ownerDocument},"function"==typeof s?s(null!==(t=l.fillProps)&&void 0!==t?t:{}):s);return(0,o.createPortal)(p,l.ref.current)}},6891:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(5224),o=n(6087),i=n(979),a=n.n(i);const s={slots:(0,r.zC)(),fills:(0,r.zC)(),registerSlot:()=>{"undefined"!=typeof SCRIPT_DEBUG&&!0===SCRIPT_DEBUG&&a()("Components must be wrapped within `SlotFillProvider`. See https://developer.wordpress.org/block-editor/components/slot-fill/")},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},isDefault:!0},u=(0,o.createContext)(s),c=8157==n.j?u:null},6459:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(1609);if(8157==n.j)var o=n(434);if(8157==n.j)var i=n(5224);var a=n(6087),s=n(923),u=n.n(s);if(8157==n.j)var c=n(6891);function l(){const e=(0,i.zC)(),t=(0,i.zC)();return{slots:e,fills:t,registerSlot:(t,n,r)=>{const i=e.get(t);e.set(t,(0,o.KR)({...i,ref:n||i?.ref,fillProps:r||i?.fillProps||{}}))},updateSlot:(n,r)=>{const o=e.get(n);if(!o)return;if(u()(o.fillProps,r))return;o.fillProps=r;const i=t.get(n);i&&i.forEach((e=>e.current.rerender()))},unregisterSlot:(t,n)=>{e.get(t)?.ref===n&&e.delete(t)},registerFill:(e,n)=>{t.set(e,(0,o.KR)([...t.get(e)||[],n]))},unregisterFill:(e,n)=>{const r=t.get(e);r&&t.set(e,(0,o.KR)(r.filter((e=>e!==n))))}}}function d({children:e}){const t=(0,a.useMemo)(l,[]);return(0,r.createElement)(c.A.Provider,{value:t},e)}},3174:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),8157==n.j)var r=n(4573);var o=n(6087);if(8157==n.j)var i=n(6891);function a(e){const t=(0,o.useContext)(i.A);return(0,r.sT)(t.fills,{sync:!0}).get(e)}},9689:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),8157==n.j)var r=n(4573);var o=n(6087);if(8157==n.j)var i=n(6891);function a(e){const t=(0,o.useContext)(i.A);return{...(0,r.sT)(t.slots,{sync:!0}).get(e),...(0,o.useMemo)((()=>({updateSlot:n=>t.updateSlot(e,n),unregisterSlot:n=>t.unregisterSlot(e,n),registerFill:n=>t.registerFill(e,n),unregisterFill:n=>t.unregisterFill(e,n)})),[e,t])}}},9317:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=(0,n(6087).createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>[],subscribe:()=>()=>{}}),o=8157==n.j?r:null},6661:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6087);if(8157==n.j)var o=n(9317);if(8157==n.j)var i=n(6826);function a({name:e,children:t}){const{registerFill:n,unregisterFill:a}=(0,r.useContext)(o.A),s=(0,i.A)(e),u=(0,r.useRef)({name:e,children:t});return(0,r.useLayoutEffect)((()=>{const t=u.current;return n(e,t),()=>a(e,t)}),[]),(0,r.useLayoutEffect)((()=>{u.current.children=t,s&&s.forceUpdate()}),[t]),(0,r.useLayoutEffect)((()=>{e!==u.current.name&&(a(u.current.name,u.current),u.current.name=e,n(e,u.current))}),[e]),null}},3020:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>C,QJ:()=>w});var r=n(1609),o=n(6087),i=n(6661),a=n(9317);function s(e){return"function"==typeof e}class u extends o.Component{constructor(e){super(e),this.isUnmounted=!1}componentDidMount(){const{registerSlot:e}=this.props;this.isUnmounted=!1,e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name,this),r(t,this))}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){var e;const{children:t,name:n,fillProps:i={},getFills:a}=this.props,u=(null!==(e=a(n,this))&&void 0!==e?e:[]).map((e=>{const t=s(e.children)?e.children(i):e.children;return o.Children.map(t,((e,t)=>{if(!e||"string"==typeof e)return e;let n=t;return"object"==typeof e&&"key"in e&&e?.key&&(n=e.key),(0,o.cloneElement)(e,{key:n})}))})).filter((e=>!(0,o.isEmptyElement)(e)));return(0,r.createElement)(r.Fragment,null,s(t)?t(u):u)}}const c=e=>(0,r.createElement)(a.A.Consumer,null,(({registerSlot:t,unregisterSlot:n,getFills:o})=>(0,r.createElement)(u,{...e,registerSlot:t,unregisterSlot:n,getFills:o})));var l=n(3122),d=n(9491);const f=(0,n(7811).A)("div",{target:"e19lxcc00"})("");f.selector=".components-view",f.displayName="View";const p=f;var h=n(6891);const m=(0,o.forwardRef)((function(e,t){const{name:n,fillProps:i={},as:a,children:s,...u}=e,{registerSlot:c,unregisterSlot:l,...f}=(0,o.useContext)(h.A),m=(0,o.useRef)(null);return(0,o.useLayoutEffect)((()=>(c(n,m,i),()=>{l(n,m)})),[c,l,n]),(0,o.useLayoutEffect)((()=>{f.updateSlot(n,i)})),(0,r.createElement)(p,{as:a,ref:(0,d.useMergeRefs)([t,m]),...u})}));var g=n(6459),v=n(1213);function y(e){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.A,{...e}),(0,r.createElement)(l.A,{...e}))}const b=(0,o.forwardRef)((function(e,t){const{bubblesVirtually:n,...o}=e;return n?(0,r.createElement)(m,{...o,ref:t}):(0,r.createElement)(c,{...o})}));function C({children:e,passthrough:t=!1}){return!(0,o.useContext)(h.A).isDefault&&t?(0,r.createElement)(r.Fragment,null,e):(0,r.createElement)(v.A,null,(0,r.createElement)(g.A,null,e))}function w(e){const t="symbol"==typeof e?e.description:e,n=t=>(0,r.createElement)(y,{name:e,...t});n.displayName=`${t}Fill`;const o=t=>(0,r.createElement)(b,{name:e,...t});return o.displayName=`${t}Slot`,o.__unstableName=e,{Fill:n,Slot:o}}},1213:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609),o=n(6087);if(8157==n.j)var i=n(9317);function a(){const e={},t={};let n=[];function r(t){return e[t]}function o(e){const t=r(e);t&&t.forceUpdate()}function i(){n.forEach((e=>e()))}return{registerSlot:function(t,n){const r=e[t];e[t]=n,i(),o(t),r&&r.forceUpdate()},unregisterSlot:function(t,n){e[t]===n&&(delete e[t],i())},registerFill:function(e,n){t[e]=[...t[e]||[],n],o(e)},unregisterFill:function(e,n){var r;t[e]=null!==(r=t[e]?.filter((e=>e!==n)))&&void 0!==r?r:[],o(e)},getSlot:r,getFills:function(n,r){return e[n]!==r?[]:t[n]},subscribe:function(e){return n.push(e),()=>{n=n.filter((t=>t!==e))}}}}const s=8157==n.j?function({children:e}){const t=(0,o.useMemo)(a,[]);return(0,r.createElement)(i.A.Provider,{value:t},e)}:null},6826:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6087);if(8157==n.j)var o=n(9317);const i=8157==n.j?e=>{const{getSlot:t,subscribe:n}=(0,r.useContext)(o.A);return(0,r.useSyncExternalStore)(n,(()=>t(e)),(()=>t(e)))}:null},7681:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1609);if(8157==n.j)var o=n(1398);var i=n(5057);if(8157==n.j)var a=n(8010);const s=new Set,u=new WeakMap,c=8157==n.j?function(e){const{children:t,document:n}=e;if(!n)return null;const c=(e=>{if(u.has(e))return u.get(e);let t=a.A().replace(/[0-9]/g,"");for(;s.has(t);)t=a.A().replace(/[0-9]/g,"");s.add(t);const n=(0,i.A)({container:e,key:t});return u.set(e,n),n})(n.head);return(0,r.createElement)(o.C,{value:c},t)}:null},3931:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6087),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),a=/^(2432|251|5454|5819|7949|8915)$/.test(n.j)?i:null},7104:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6087);const o=(0,r.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,r.cloneElement)(e,{width:t,height:t,...n,ref:o})}))},1387:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})),a=251==n.j?i:null},2900:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),a=/^(251|6981|7949|8157)$/.test(n.j)?i:null},224:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),a=/^(2432|5454|5819|6981|8157|8915)$/.test(n.j)?i:null},9813:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})),a=/^(6981|8157)$/.test(n.j)?i:null},8098:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),a=/^(2507|5819|6981)$/.test(n.j)?i:null},1208:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),a=/^(251|2895|6981|7949|8157)$/.test(n.j)?i:null},3576:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zm-1.338 4.877c-.314.22-.412.452-.412.623 0 .171.098.403.412.623.312.218.783.377 1.338.377.825 0 1.605.233 2.198.648.59.414 1.052 1.057 1.052 1.852 0 .795-.461 1.438-1.052 1.852-.41.286-.907.486-1.448.582v.316a.75.75 0 01-1.5 0v-.316a3.64 3.64 0 01-1.448-.582c-.59-.414-1.052-1.057-1.052-1.852a.75.75 0 011.5 0c0 .171.098.403.412.623.312.218.783.377 1.338.377s1.026-.159 1.338-.377c.314-.22.412-.452.412-.623 0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377-.825 0-1.605-.233-2.198-.648-.59-.414-1.052-1.057-1.052-1.852 0-.795.461-1.438 1.052-1.852a3.64 3.64 0 011.448-.582V7.5a.75.75 0 011.5 0v.316c.54.096 1.039.296 1.448.582.59.414 1.052 1.057 1.052 1.852a.75.75 0 01-1.5 0c0-.171-.098-.403-.412-.623-.312-.218-.783-.377-1.338-.377s-1.026.159-1.338.377z"})),a=/^(251|7949)$/.test(n.j)?i:null},2478:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"})),a=/^(251|6981|7949|8157)$/.test(n.j)?i:null},4166:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fillRule:"evenodd",d:"M18.646 9H20V8l-1-.5L12 4 5 7.5 4 8v1h14.646zm-3-1.5L12 5.677 8.354 7.5h7.292zm-7.897 9.44v-6.5h-1.5v6.5h1.5zm5-6.5v6.5h-1.5v-6.5h1.5zm5 0v6.5h-1.5v-6.5h1.5zm2.252 8.81c0 .414-.334.75-.748.75H4.752a.75.75 0 010-1.5h14.5a.75.75 0 01.749.75z",clipRule:"evenodd"})),a=/^(251|7949)$/.test(n.j)?i:null},601:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"})),a=251==n.j?i:null},8306:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fillRule:"evenodd",d:"M6.863 13.644L5 13.25h-.5a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5H5L18 6.5h2V16h-2l-3.854-.815.026.008a3.75 3.75 0 01-7.31-1.549zm1.477.313a2.251 2.251 0 004.356.921l-4.356-.921zm-2.84-3.28L18.157 8h.343v6.5h-.343L5.5 11.823v-1.146z",clipRule:"evenodd"})),a=/^(251|6981|7949|8157)$/.test(n.j)?i:null},8994:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fillRule:"evenodd",d:"M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z",clipRule:"evenodd"})),a=/^(251|7949)$/.test(n.j)?i:null},7850:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})),a=1001==n.j?i:null},1176:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"})),a=251==n.j?i:null},3705:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fillRule:"evenodd",d:"M19.75 11H21V8.667L19.875 4H4.125L3 8.667V11h1.25v8.75h15.5V11zm-1.5 0H5.75v7.25H10V13h4v5.25h4.25V11zm-5.5-5.5h2.067l.486 3.24.028.76H12.75v-4zm-3.567 0h2.067v4H8.669l.028-.76.486-3.24zm7.615 3.1l-.464-3.1h2.36l.806 3.345V9.5h-2.668l-.034-.9zM7.666 5.5h-2.36L4.5 8.845V9.5h2.668l.034-.9.464-3.1z",clipRule:"evenodd"})),a=251==n.j?i:null},3588:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(o.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"})),a=1001==n.j?i:null},9019:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";n.d(t,{A:()=>C});function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:".",n={};return Object.entries(e).forEach((function(e){if("object"===r(e[1])){var o=f(e[1]);Object.entries(o).forEach((function(r){n[e[0]+t+r[0]]=r[1]}))}else n[e[0]]=e[1]})),n}function p(){var e={HALF_ODD:function(e){var t=Math.round(e);return l(e)&&u(t)?t-1:t},HALF_EVEN:function(e){var t=Math.round(e);return l(e)?u(t)?t:t-1:t},HALF_UP:function(e){return Math.round(e)},HALF_DOWN:function(e){return l(e)?Math.floor(e):Math.round(e)},HALF_TOWARDS_ZERO:function(e){return l(e)?Math.sign(e)*Math.floor(Math.abs(e)):Math.round(e)},HALF_AWAY_FROM_ZERO:function(e){return l(e)?Math.sign(e)*Math.ceil(Math.abs(e)):Math.round(e)},DOWN:function(e){return Math.floor(e)}};return{add:function(e,t){return e+t},subtract:function(e,t){return e-t},multiply:function(e,t){return c(e)||c(t)?function(e,t){var n=function(e){return Math.pow(10,function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0).toString();if(e.indexOf("e-")>0)return parseInt(e.split("e-")[1]);var t=e.split(".")[1];return t?t.length:0}(e))},r=Math.max(n(e),n(t));return Math.round(e*r)*Math.round(t*r)/(r*r)}(e,t):e*t},divide:function(e,t){return e/t},modulo:function(e,t){return e%t},round:function(t){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"HALF_EVEN"](t)}}}var h=p();function m(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;for(var n in t)e=e.replace("{{".concat(n,"}}"),t[n]);return e};return{getExchangeRate:function(n,o){return(i=e.endpoint,!Boolean(i)||"object"!==r(i)&&"function"!=typeof i||"function"!=typeof i.then?function(n,r){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,r){var o=Object.assign(new XMLHttpRequest,{onreadystatechange:function(){4===o.readyState&&(o.status>=200&&o.status<400?n(JSON.parse(o.responseText)):r(new Error(o.statusText)))},onerror:function(){r(new Error("Network error"))}});o.open("GET",e,!0),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in t)e.setRequestHeader(n,t[n])}(o,t.headers),o.send()}))}(t(e.endpoint,{from:n,to:r}),{headers:e.headers})}(n,o):e.endpoint).then((function(r){return f(r)[t(e.propertyPath,{from:n,to:o})]}));var i}}}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Error;if(!e)throw new n(t)}function v(e){g(Number.isInteger(e),"You must provide an integer.",TypeError)}var y=p(),b=Object.assign((function e(t){var n=Object.assign({},{amount:e.defaultAmount,currency:e.defaultCurrency,precision:e.defaultPrecision},t),r=n.amount,o=n.currency,i=n.precision;v(r),v(i);var a=e.globalLocale,u=e.globalFormat,c=e.globalRoundingMode,l=e.globalFormatRoundingMode,f=Object.assign({},e.globalExchangeRatesApi),p=function(t){var n=Object.assign({},Object.assign({},{amount:r,currency:o,precision:i},t),Object.assign({},{locale:this.locale},t));return Object.assign(e({amount:n.amount,currency:n.currency,precision:n.precision}),{locale:n.locale})},b=function(e){g(this.hasSameCurrency(e),"You must provide a Dinero instance with the same currency.",TypeError)};return{getAmount:function(){return r},getCurrency:function(){return o},getLocale:function(){return this.locale||a},setLocale:function(e){return p.call(this,{locale:e})},getPrecision:function(){return i},convertPrecision:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;v(e);var n=this.getPrecision(),r=e>n,o=r?y.multiply:y.divide,i=r?[e,n]:[n,e],a=Math.pow(10,y.subtract.apply(y,i));return p.call(this,{amount:y.round(o(this.getAmount(),a),t),precision:e})},add:function(t){b.call(this,t);var n=e.normalizePrecision([this,t]);return p.call(this,{amount:y.add(n[0].getAmount(),n[1].getAmount()),precision:n[0].getPrecision()})},subtract:function(t){b.call(this,t);var n=e.normalizePrecision([this,t]);return p.call(this,{amount:y.subtract(n[0].getAmount(),n[1].getAmount()),precision:n[0].getPrecision()})},multiply:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return p.call(this,{amount:y.round(y.multiply(this.getAmount(),e),t)})},divide:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return p.call(this,{amount:y.round(y.divide(this.getAmount(),e),t)})},percentage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;return g(function(e){return s(e)&&e<=100&&e>=0}(e),"You must provide a numeric value between 0 and 100.",RangeError),this.multiply(y.divide(e,100),t)},allocate:function(e){var t=this;!function(e){g(function(e){return e.length>0&&e.every((function(e){return e>=0}))&&e.some((function(e){return e>0}))}(e),"You must provide a non-empty array of numeric values greater than 0.",TypeError)}(e);for(var n=e.reduce((function(e,t){return y.add(e,t)})),r=this.getAmount(),o=e.map((function(e){var o=Math.floor(y.divide(y.multiply(t.getAmount(),e),n));return r=y.subtract(r,o),p.call(t,{amount:o})})),i=0;r>0;)e[i]>0&&(o[i]=o[i].add(p.call(this,{amount:1})),r=y.subtract(r,1)),i+=1;return o},convert:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.endpoint,o=void 0===r?f.endpoint:r,i=n.propertyPath,a=void 0===i?f.propertyPath||"rates.{{to}}":i,s=n.headers,u=void 0===s?f.headers:s,l=n.roundingMode,h=void 0===l?c:l,v=Object.assign({},{endpoint:o,propertyPath:a,headers:u,roundingMode:h});return m(v).getExchangeRate(this.getCurrency(),e).then((function(n){return g(!d(n),'No rate was found for the destination currency "'.concat(e,'".'),TypeError),p.call(t,{amount:y.round(y.multiply(t.getAmount(),parseFloat(n)),v.roundingMode),currency:e})}))},equalsTo:function(e){return this.hasSameAmount(e)&&this.hasSameCurrency(e)},lessThan:function(t){b.call(this,t);var n=e.normalizePrecision([this,t]);return n[0].getAmount()n[1].getAmount()},greaterThanOrEqual:function(t){b.call(this,t);var n=e.normalizePrecision([this,t]);return n[0].getAmount()>=n[1].getAmount()},isZero:function(){return 0===this.getAmount()},isPositive:function(){return this.getAmount()>=0},isNegative:function(){return this.getAmount()<0},hasSubUnits:function(){return 0!==y.modulo(this.getAmount(),Math.pow(10,i))},hasCents:function(){return 0!==y.modulo(this.getAmount(),Math.pow(10,i))},hasSameCurrency:function(e){return this.getCurrency()===e.getCurrency()},hasSameAmount:function(t){var n=e.normalizePrecision([this,t]);return n[0].getAmount()===n[1].getAmount()},toFormat:function(){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=(e=/^(?:(\$|USD)?0(?:(,)0)?(\.)?(0+)?|0(?:(,)0)?(\.)?(0+)?\s?(dollar)?)$/gm.exec(arguments.length>0&&void 0!==arguments[0]?arguments[0]:u),{getMatches:function(){return null!==e?e.slice(1).filter((function(e){return!d(e)})):[]},getMinimumFractionDigits:function(){var e=function(e){return"."===e};return d(this.getMatches().find(e))?0:this.getMatches()[h.add(this.getMatches().findIndex(e),1)].split("").length},getCurrencyDisplay:function(){return{USD:"code",dollar:"name",$:"symbol"}[this.getMatches().find((function(e){return"USD"===e||"dollar"===e||"$"===e}))]},getStyle:function(){return d(this.getCurrencyDisplay(this.getMatches()))?"decimal":"currency"},getUseGrouping:function(){return!d(this.getMatches().find((function(e){return","===e})))}});return this.toRoundedUnit(n.getMinimumFractionDigits(),t).toLocaleString(this.getLocale(),{currencyDisplay:n.getCurrencyDisplay(),useGrouping:n.getUseGrouping(),minimumFractionDigits:n.getMinimumFractionDigits(),style:n.getStyle(),currency:this.getCurrency()})},toUnit:function(){return y.divide(this.getAmount(),Math.pow(10,i))},toRoundedUnit:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=Math.pow(10,e);return y.divide(y.round(y.multiply(this.toUnit(),n),t),n)},toObject:function(){return{amount:r,currency:o,precision:i}},toJSON:function(){return this.toObject()}}}),{defaultAmount:0,defaultCurrency:"USD",defaultPrecision:2},{globalLocale:"en-US",globalFormat:"$0,0.00",globalRoundingMode:"HALF_EVEN",globalFormatRoundingMode:"HALF_AWAY_FROM_ZERO",globalExchangeRatesApi:{endpoint:void 0,headers:void 0,propertyPath:void 0}},a);const C=/^(251|2895|7949)$/.test(n.j)?b:null},6550:(e,t,n)=>{"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{A:()=>r})},2881:(e,t,n)=>{"use strict";var r=n(5618);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,u=n.offsetTop||0,c=n.offsetLeft||0,l=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),p=r.offset(e),h=r.outerHeight(e),m=r.outerWidth(e),g=void 0,v=void 0,y=void 0,b=void 0,C=void 0,w=void 0,x=void 0,S=void 0,E=void 0,A=void 0;f?(x=t,A=r.height(x),E=r.width(x),S={left:r.scrollLeft(x),top:r.scrollTop(x)},C={left:p.left-S.left-c,top:p.top-S.top-u},w={left:p.left+m-(S.left+E)+d,top:p.top+h-(S.top+A)+l},b=S):(g=r.offset(t),v=t.clientHeight,y=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},C={left:p.left-(g.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:p.top-(g.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-u},w={left:p.left+m-(g.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:p.top+h-(g.top+v+(parseFloat(r.css(t,"borderBottomWidth"))||0))+l}),C.top<0||w.top>0?!0===a?r.scrollTop(t,b.top+C.top):!1===a?r.scrollTop(t,b.top+w.top):C.top<0?r.scrollTop(t,b.top+C.top):r.scrollTop(t,b.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,b.top+C.top):r.scrollTop(t,b.top+w.top)),o&&(C.left<0||w.left>0?!0===s?r.scrollLeft(t,b.left+C.left):!1===s?r.scrollLeft(t,b.left+w.left):C.left<0?r.scrollLeft(t,b.left+C.left):r.scrollLeft(t,b.left+w.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,b.left+C.left):r.scrollLeft(t,b.left+w.left)))}},4648:(e,t,n)=>{"use strict";e.exports=n(2881)},5618:e=>{"use strict";var t=Object.assign||function(e){for(var t=1;t{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},4772:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(7333),a=n(3010);o(n(3010),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=u,t.default=u},3010:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function g(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function y(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function C(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function x(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new c(e.data);else if(b(e))n=new l(e.data);else if(g(e)){var r=t?S(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?S(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(w(e)){r=t?S(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!C(e))throw new Error("Not implemented yet: ".concat(e.type));var u=new d(e.name,e.data);null!=e["x-name"]&&(u["x-name"]=e["x-name"],u["x-publicId"]=e["x-publicId"],u["x-systemId"]=e["x-systemId"]),n=u}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map((function(e){return x(e,!0)})),n=1;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),o=1;o/gm),G=d(/\${[\w\W]*}/gm),W=d(/^data-[\-\w.\u00B7-\uFFFF]/),K=d(/^aria-[\-\w]+$/),Z=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=d(/^(?:\w+script|data):/i),Y=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=d(/^html$/i),J=function(){return"undefined"==typeof window?null:window};return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J(),o=function(e){return t(e)};if(o.version="2.4.7",o.removed=[],!n||!n.document||9!==n.document.nodeType)return o.isSupported=!1,o;var i=n.document,a=n.document,s=n.DocumentFragment,u=n.HTMLTemplateElement,c=n.Node,d=n.Element,f=n.NodeFilter,p=n.NamedNodeMap,h=void 0===p?n.NamedNodeMap||n.MozNamedAttrMap:p,m=n.HTMLFormElement,g=n.DOMParser,M=n.trustedTypes,Q=d.prototype,ee=_(Q,"cloneNode"),te=_(Q,"nextSibling"),ne=_(Q,"childNodes"),re=_(Q,"parentNode");if("function"==typeof u){var oe=a.createElement("template");oe.content&&oe.content.ownerDocument&&(a=oe.content.ownerDocument)}var ie=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(M,i),ae=ie?ie.createHTML(""):"",se=a,ue=se.implementation,ce=se.createNodeIterator,le=se.createDocumentFragment,de=se.getElementsByTagName,fe=i.importNode,pe={};try{pe=O(a).documentMode?a.documentMode:{}}catch(e){}var he={};o.isSupported="function"==typeof re&&ue&&void 0!==ue.createHTMLDocument&&9!==pe;var me,ge,ve=z,ye=U,be=G,Ce=W,we=K,xe=q,Se=Y,Ee=Z,Ae=null,ke=N({},[].concat(r(R),r(P),r(I),r(D),r(j))),Te=null,Me=N({},[].concat(r($),r(H),r(B),r(V))),Ne=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Oe=null,_e=null,Re=!0,Pe=!0,Ie=!1,Le=!0,De=!1,Fe=!1,je=!1,$e=!1,He=!1,Be=!1,Ve=!1,ze=!0,Ue=!1,Ge=!0,We=!1,Ke={},Ze=null,qe=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,Xe=N({},["audio","video","img","source","image","track"]),Je=null,Qe=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml",rt=nt,ot=!1,it=null,at=N({},[et,tt,nt],w),st=["application/xhtml+xml","text/html"],ut=null,ct=a.createElement("form"),lt=function(e){return e instanceof RegExp||e instanceof Function},dt=function(t){ut&&ut===t||(t&&"object"===e(t)||(t={}),t=O(t),me=me=-1===st.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===me?w:C,Ae="ALLOWED_TAGS"in t?N({},t.ALLOWED_TAGS,ge):ke,Te="ALLOWED_ATTR"in t?N({},t.ALLOWED_ATTR,ge):Me,it="ALLOWED_NAMESPACES"in t?N({},t.ALLOWED_NAMESPACES,w):at,Je="ADD_URI_SAFE_ATTR"in t?N(O(Qe),t.ADD_URI_SAFE_ATTR,ge):Qe,Ye="ADD_DATA_URI_TAGS"in t?N(O(Xe),t.ADD_DATA_URI_TAGS,ge):Xe,Ze="FORBID_CONTENTS"in t?N({},t.FORBID_CONTENTS,ge):qe,Oe="FORBID_TAGS"in t?N({},t.FORBID_TAGS,ge):{},_e="FORBID_ATTR"in t?N({},t.FORBID_ATTR,ge):{},Ke="USE_PROFILES"in t&&t.USE_PROFILES,Re=!1!==t.ALLOW_ARIA_ATTR,Pe=!1!==t.ALLOW_DATA_ATTR,Ie=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,De=t.SAFE_FOR_TEMPLATES||!1,Fe=t.WHOLE_DOCUMENT||!1,He=t.RETURN_DOM||!1,Be=t.RETURN_DOM_FRAGMENT||!1,Ve=t.RETURN_TRUSTED_TYPE||!1,$e=t.FORCE_BODY||!1,ze=!1!==t.SANITIZE_DOM,Ue=t.SANITIZE_NAMED_PROPS||!1,Ge=!1!==t.KEEP_CONTENT,We=t.IN_PLACE||!1,Ee=t.ALLOWED_URI_REGEXP||Ee,rt=t.NAMESPACE||nt,Ne=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&<(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ne.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&<(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ne.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ne.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),De&&(Pe=!1),Be&&(He=!0),Ke&&(Ae=N({},r(j)),Te=[],!0===Ke.html&&(N(Ae,R),N(Te,$)),!0===Ke.svg&&(N(Ae,P),N(Te,H),N(Te,V)),!0===Ke.svgFilters&&(N(Ae,I),N(Te,H),N(Te,V)),!0===Ke.mathMl&&(N(Ae,D),N(Te,B),N(Te,V))),t.ADD_TAGS&&(Ae===ke&&(Ae=O(Ae)),N(Ae,t.ADD_TAGS,ge)),t.ADD_ATTR&&(Te===Me&&(Te=O(Te)),N(Te,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&N(Je,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Ze===qe&&(Ze=O(Ze)),N(Ze,t.FORBID_CONTENTS,ge)),Ge&&(Ae["#text"]=!0),Fe&&N(Ae,["html","head","body"]),Ae.table&&(N(Ae,["tbody"]),delete Oe.tbody),l&&l(t),ut=t)},ft=N({},["mi","mo","mn","ms","mtext"]),pt=N({},["foreignobject","desc","title","annotation-xml"]),ht=N({},["title","style","font","a","script"]),mt=N({},P);N(mt,I),N(mt,L);var gt=N({},D);N(gt,F);var vt=function(e){b(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},yt=function(e,t){try{b(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Te[e])if(He||Be)try{vt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){var t,n;if($e)e=""+e;else{var r=x(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===me&&rt===nt&&(e=''+e+"");var o=ie?ie.createHTML(e):e;if(rt===nt)try{t=(new g).parseFromString(o,me)}catch(e){}if(!t||!t.documentElement){t=ue.createDocument(rt,"template",null);try{t.documentElement.innerHTML=ot?ae:o}catch(e){}}var i=t.body||t.documentElement;return e&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),rt===nt?de.call(t,Fe?"html":"body")[0]:Fe?t.documentElement:i},Ct=function(e){return ce.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT,null,!1)},wt=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},xt=function(e,t,n){he[e]&&v(he[e],(function(e){e.call(o,t,n,ut)}))},St=function(e){var t,n;if(xt("beforeSanitizeElements",e,null),(n=e)instanceof m&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof h)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return vt(e),!0;if(k(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var r=ge(e.nodeName);if(xt("uponSanitizeElement",e,{tagName:r,allowedTags:Ae}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&k(/<[/\w]/g,e.innerHTML)&&k(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===r&&k(/