/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={83849:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},74944:function(e){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,o=Object.getPrototypeOf,r=Object.getOwnPropertyDescriptor,i=Object.freeze,a=Object.seal,s=Object.create,l="undefined"!=typeof Reflect&&Reflect,c=l.apply,u=l.construct;c||(c=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){return e}),a||(a=function(e){return e}),u||(u=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var m,p=w(Array.prototype.forEach),d=w(Array.prototype.pop),f=w(Array.prototype.push),h=w(String.prototype.toLowerCase),g=w(String.prototype.match),v=w(String.prototype.replace),b=w(String.prototype.indexOf),y=w(String.prototype.trim),E=w(RegExp.prototype.test),x=(m=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return u(m,t)});function w(e){return function(t){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function N(e,o){t&&t(e,null);for(var r=o.length;r--;){var i=o[r];if("string"==typeof i){var a=h(i);a!==i&&(n(o)||(o[r]=a),i=a)}e[i]=!0}return e}function _(t){var n=s(null),o=void 0;for(o in t)c(e,t,[o])&&(n[o]=t[o]);return n}function k(e,t){for(;null!==e;){var n=r(e,t);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}e=o(e)}return function(e){return console.warn("fallback value for",e),null}}var C=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),T=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),S=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=i(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),A=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),D=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),L=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),R=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),I=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),P=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),j=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),z=a(/<%[\s\S]*|[\s\S]*%>/gm),F=a(/^data-[\-\w.\u00B7-\uFFFF]/),H=a(/^aria-[\-\w]+$/),B=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=a(/^(?:\w+script|data):/i),V=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=a(/^html$/i),W="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};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var $=function(){return"undefined"==typeof window?null:window},Y=function(e,t){if("object"!==(void 0===e?"undefined":W(e))||"function"!=typeof e.createPolicy)return null;var n=null,o="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(o)&&(n=t.currentScript.getAttribute(o));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$(),n=function(t){return e(t)};if(n.version="2.3.6",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var o=t.document,r=t.document,a=t.DocumentFragment,s=t.HTMLTemplateElement,l=t.Node,c=t.Element,u=t.NodeFilter,m=t.NamedNodeMap,w=void 0===m?t.NamedNodeMap||t.MozNamedAttrMap:m,K=t.HTMLFormElement,X=t.DOMParser,Z=t.trustedTypes,J=c.prototype,Q=k(J,"cloneNode"),ee=k(J,"nextSibling"),te=k(J,"childNodes"),ne=k(J,"parentNode");if("function"==typeof s){var oe=r.createElement("template");oe.content&&oe.content.ownerDocument&&(r=oe.content.ownerDocument)}var re=Y(Z,o),ie=re?re.createHTML(""):"",ae=r,se=ae.implementation,le=ae.createNodeIterator,ce=ae.createDocumentFragment,ue=ae.getElementsByTagName,me=o.importNode,pe={};try{pe=_(r).documentMode?r.documentMode:{}}catch(e){}var de={};n.isSupported="function"==typeof ne&&se&&void 0!==se.createHTMLDocument&&9!==pe;var fe=j,he=z,ge=F,ve=H,be=U,ye=V,Ee=B,xe=null,we=N({},[].concat(q(C),q(T),q(S),q(A),q(L))),Ne=null,_e=N({},[].concat(q(M),q(R),q(I),q(P))),ke=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}})),Ce=null,Te=null,Se=!0,Oe=!0,Ae=!1,De=!1,Le=!1,Me=!1,Re=!1,Ie=!1,Pe=!1,je=!1,ze=!0,Fe=!0,He=!1,Be={},Ue=null,Ve=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"]),Ge=null,We=N({},["audio","video","img","source","image","track"]),qe=null,$e=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ye="http://www.w3.org/1998/Math/MathML",Ke="http://www.w3.org/2000/svg",Xe="http://www.w3.org/1999/xhtml",Ze=Xe,Je=!1,Qe=void 0,et=["application/xhtml+xml","text/html"],tt="text/html",nt=void 0,ot=null,rt=r.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},at=function(e){ot&&ot===e||(e&&"object"===(void 0===e?"undefined":W(e))||(e={}),e=_(e),xe="ALLOWED_TAGS"in e?N({},e.ALLOWED_TAGS):we,Ne="ALLOWED_ATTR"in e?N({},e.ALLOWED_ATTR):_e,qe="ADD_URI_SAFE_ATTR"in e?N(_($e),e.ADD_URI_SAFE_ATTR):$e,Ge="ADD_DATA_URI_TAGS"in e?N(_(We),e.ADD_DATA_URI_TAGS):We,Ue="FORBID_CONTENTS"in e?N({},e.FORBID_CONTENTS):Ve,Ce="FORBID_TAGS"in e?N({},e.FORBID_TAGS):{},Te="FORBID_ATTR"in e?N({},e.FORBID_ATTR):{},Be="USE_PROFILES"in e&&e.USE_PROFILES,Se=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,Ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,De=e.SAFE_FOR_TEMPLATES||!1,Le=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,Pe=e.RETURN_DOM_FRAGMENT||!1,je=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,ze=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,Ee=e.ALLOWED_URI_REGEXP||Ee,Ze=e.NAMESPACE||Xe,e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ke.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ke.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ke.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Qe=Qe=-1===et.indexOf(e.PARSER_MEDIA_TYPE)?tt:e.PARSER_MEDIA_TYPE,nt="application/xhtml+xml"===Qe?function(e){return e}:h,De&&(Oe=!1),Pe&&(Ie=!0),Be&&(xe=N({},[].concat(q(L))),Ne=[],!0===Be.html&&(N(xe,C),N(Ne,M)),!0===Be.svg&&(N(xe,T),N(Ne,R),N(Ne,P)),!0===Be.svgFilters&&(N(xe,S),N(Ne,R),N(Ne,P)),!0===Be.mathMl&&(N(xe,A),N(Ne,I),N(Ne,P))),e.ADD_TAGS&&(xe===we&&(xe=_(xe)),N(xe,e.ADD_TAGS)),e.ADD_ATTR&&(Ne===_e&&(Ne=_(Ne)),N(Ne,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&N(qe,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(Ue===Ve&&(Ue=_(Ue)),N(Ue,e.FORBID_CONTENTS)),Fe&&(xe["#text"]=!0),Le&&N(xe,["html","head","body"]),xe.table&&(N(xe,["tbody"]),delete Ce.tbody),i&&i(e),ot=e)},st=N({},["mi","mo","mn","ms","mtext"]),lt=N({},["foreignobject","desc","title","annotation-xml"]),ct=N({},T);N(ct,S),N(ct,O);var ut=N({},A);N(ut,D);var mt=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:Xe,tagName:"template"});var n=h(e.tagName),o=h(t.tagName);if(e.namespaceURI===Ke)return t.namespaceURI===Xe?"svg"===n:t.namespaceURI===Ye?"svg"===n&&("annotation-xml"===o||st[o]):Boolean(ct[n]);if(e.namespaceURI===Ye)return t.namespaceURI===Xe?"math"===n:t.namespaceURI===Ke?"math"===n&&lt[o]:Boolean(ut[n]);if(e.namespaceURI===Xe){if(t.namespaceURI===Ke&&!lt[o])return!1;if(t.namespaceURI===Ye&&!st[o])return!1;var r=N({},["title","style","font","a","script"]);return!ut[n]&&(r[n]||!ct[n])}return!1},pt=function(e){f(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},dt=function(e,t){try{f(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ne[e])if(Ie||Pe)try{pt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ft=function(e){var t=void 0,n=void 0;if(Re)e="<remove></remove>"+e;else{var o=g(e,/^[\r\n\t ]+/);n=o&&o[0]}"application/xhtml+xml"===Qe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=re?re.createHTML(e):e;if(Ze===Xe)try{t=(new X).parseFromString(i,Qe)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(Ze,"template",null);try{t.documentElement.innerHTML=Je?"":i}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),Ze===Xe?ue.call(t,Le?"html":"body")[0]:Le?t.documentElement:a},ht=function(e){return le.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},gt=function(e){return e instanceof K&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof w)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},vt=function(e){return"object"===(void 0===l?"undefined":W(l))?e instanceof l:e&&"object"===(void 0===e?"undefined":W(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},bt=function(e,t,o){de[e]&&p(de[e],(function(e){e.call(n,t,o,ot)}))},yt=function(e){var t=void 0;if(bt("beforeSanitizeElements",e,null),gt(e))return pt(e),!0;if(g(e.nodeName,/[\u0080-\uFFFF]/))return pt(e),!0;var o=nt(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:o,allowedTags:xe}),!vt(e.firstElementChild)&&(!vt(e.content)||!vt(e.content.firstElementChild))&&E(/<[/\w]/g,e.innerHTML)&&E(/<[/\w]/g,e.textContent))return pt(e),!0;if("select"===o&&E(/<template/i,e.innerHTML))return pt(e),!0;if(!xe[o]||Ce[o]){if(!Ce[o]&&xt(o)){if(ke.tagNameCheck instanceof RegExp&&E(ke.tagNameCheck,o))return!1;if(ke.tagNameCheck instanceof Function&&ke.tagNameCheck(o))return!1}if(Fe&&!Ue[o]){var r=ne(e)||e.parentNode,i=te(e)||e.childNodes;if(i&&r)for(var a=i.length-1;a>=0;--a)r.insertBefore(Q(i[a],!0),ee(e))}return pt(e),!0}return e instanceof c&&!mt(e)?(pt(e),!0):"noscript"!==o&&"noembed"!==o||!E(/<\/no(script|embed)/i,e.innerHTML)?(De&&3===e.nodeType&&(t=e.textContent,t=v(t,fe," "),t=v(t,he," "),e.textContent!==t&&(f(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(pt(e),!0)},Et=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in r||n in rt))return!1;if(Oe&&!Te[t]&&E(ge,t));else if(Se&&E(ve,t));else if(!Ne[t]||Te[t]){if(!(xt(e)&&(ke.tagNameCheck instanceof RegExp&&E(ke.tagNameCheck,e)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(e))&&(ke.attributeNameCheck instanceof RegExp&&E(ke.attributeNameCheck,t)||ke.attributeNameCheck instanceof Function&&ke.attributeNameCheck(t))||"is"===t&&ke.allowCustomizedBuiltInElements&&(ke.tagNameCheck instanceof RegExp&&E(ke.tagNameCheck,n)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(n))))return!1}else if(qe[t]);else if(E(Ee,v(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ge[e])if(Ae&&!E(be,v(n,ye,"")));else if(n)return!1;return!0},xt=function(e){return e.indexOf("-")>0},wt=function(e){var t=void 0,o=void 0,r=void 0,i=void 0;bt("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ne};for(i=a.length;i--;){var l=t=a[i],c=l.name,u=l.namespaceURI;if(o=y(t.value),r=nt(c),s.attrName=r,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,s),o=s.attrValue,!s.forceKeepAttr&&(dt(c,e),s.keepAttr))if(E(/\/>/i,o))dt(c,e);else{De&&(o=v(o,fe," "),o=v(o,he," "));var m=nt(e.nodeName);if(Et(m,r,o))try{u?e.setAttributeNS(u,c,o):e.setAttribute(c,o),d(n.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)}},Nt=function e(t){var n=void 0,o=ht(t);for(bt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)bt("uponSanitizeShadowNode",n,null),yt(n)||(n.content instanceof a&&e(n.content),wt(n));bt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var i=void 0,s=void 0,c=void 0,u=void 0,m=void 0;if((Je=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!vt(e)){if("function"!=typeof e.toString)throw x("toString is not a function");if("string"!=typeof(e=e.toString()))throw x("dirty is not a string, aborting")}if(!n.isSupported){if("object"===W(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(vt(e))return t.toStaticHTML(e.outerHTML)}return e}if(Me||at(r),n.removed=[],"string"==typeof e&&(He=!1),He){if(e.nodeName){var p=nt(e.nodeName);if(!xe[p]||Ce[p])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)1===(s=(i=ft("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!Ie&&!De&&!Le&&-1===e.indexOf("<"))return re&&je?re.createHTML(e):e;if(!(i=ft(e)))return Ie?null:je?ie:""}i&&Re&&pt(i.firstChild);for(var d=ht(He?e:i);c=d.nextNode();)3===c.nodeType&&c===u||yt(c)||(c.content instanceof a&&Nt(c.content),wt(c),u=c);if(u=null,He)return e;if(Ie){if(Pe)for(m=ce.call(i.ownerDocument);i.firstChild;)m.appendChild(i.firstChild);else m=i;return Ne.shadowroot&&(m=me.call(o,m,!0)),m}var f=Le?i.outerHTML:i.innerHTML;return Le&&xe["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&E(G,i.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+f),De&&(f=v(f,fe," "),f=v(f,he," ")),re&&je?re.createHTML(f):f},n.setConfig=function(e){at(e),Me=!0},n.clearConfig=function(){ot=null,Me=!1},n.isValidAttribute=function(e,t,n){ot||at({});var o=nt(e),r=nt(t);return Et(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],f(de[e],t))},n.removeHook=function(e){de[e]&&d(de[e])},n.removeHooks=function(e){de[e]&&(de[e]=[])},n.removeAllHooks=function(){de={}},n}()}()},59838:(e,t,n)=>{"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,o=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,i),c=["gridicon","gridicons-notice-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return r.default.createElement("svg",a({className:c,height:n,width:n,onClick:o},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),r.default.createElement("g",null,r.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var o,r=(o=n(99196))&&o.__esModule?o:{default:o},i=["size","onClick","icon","className"];function a(){return a=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)}},327:function(e,t,n){var o;o=function(e,t){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){e.exports=n(5)()},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=function(e,t,n){var o=e.direction,r=e.value;switch(o){case"top":return n.top+r<t.top&&n.bottom>t.bottom&&n.left<t.left&&n.right>t.right;case"left":return n.left+r<t.left&&n.bottom>t.bottom&&n.top<t.top&&n.right>t.right;case"bottom":return n.bottom-r>t.bottom&&n.left<t.left&&n.right>t.right&&n.top<t.top;case"right":return n.right-r>t.right&&n.left<t.left&&n.top<t.top&&n.bottom>t.bottom}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return v}));var o=n(1),r=n.n(o),i=n(2),a=n.n(i),s=n(0),l=n.n(s),c=n(3),u=n.n(c);function m(e){return m="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},m(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){function t(e){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,o=d(t).call(this,e),n=!o||"object"!==m(o)&&"function"!=typeof o?f(this):o,g(f(n),"getContainer",(function(){return n.props.containment||window})),g(f(n),"addEventListener",(function(e,t,o,r){var i;n.debounceCheck||(n.debounceCheck={});var a=function(){i=null,n.check()},s={target:e,fn:r>-1?function(){i||(i=setTimeout(a,r||0))}:function(){clearTimeout(i),i=setTimeout(a,o||0)},getLastTimeout:function(){return i}};e.addEventListener(t,s.fn),n.debounceCheck[t]=s})),g(f(n),"startWatching",(function(){n.debounceCheck||n.interval||(n.props.intervalCheck&&(n.interval=setInterval(n.check,n.props.intervalDelay)),n.props.scrollCheck&&n.addEventListener(n.getContainer(),"scroll",n.props.scrollDelay,n.props.scrollThrottle),n.props.resizeCheck&&n.addEventListener(window,"resize",n.props.resizeDelay,n.props.resizeThrottle),!n.props.delayedCall&&n.check())})),g(f(n),"stopWatching",(function(){if(n.debounceCheck)for(var e in n.debounceCheck)if(n.debounceCheck.hasOwnProperty(e)){var t=n.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),n.debounceCheck[e]=null}n.debounceCheck=null,n.interval&&(n.interval=clearInterval(n.interval))})),g(f(n),"check",(function(){var e,t,o=n.node;if(!o)return n.state;if(e=function(e){return void 0===e.width&&(e.width=e.right-e.left),void 0===e.height&&(e.height=e.bottom-e.top),e}(n.roundRectDown(o.getBoundingClientRect())),n.props.containment){var r=n.props.containment.getBoundingClientRect();t={top:r.top,left:r.left,bottom:r.bottom,right:r.right}}else t={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var i=n.props.offset||{};"object"===m(i)&&(t.top+=i.top||0,t.left+=i.left||0,t.bottom-=i.bottom||0,t.right-=i.right||0);var a={top:e.top>=t.top,left:e.left>=t.left,bottom:e.bottom<=t.bottom,right:e.right<=t.right},s=e.height>0&&e.width>0,l=s&&a.top&&a.left&&a.bottom&&a.right;if(s&&n.props.partialVisibility){var c=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof n.props.partialVisibility&&(c=a[n.props.partialVisibility]),l=n.props.minTopValue?c&&e.top<=t.bottom-n.props.minTopValue:c}"string"==typeof i.direction&&"number"==typeof i.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",i.direction,i.value),l=u()(i,e,t));var p=n.state;return n.state.isVisible!==l&&(p={isVisible:l,visibilityRect:a},n.setState(p),n.props.onChange&&n.props.onChange(l)),p})),n.state={isVisible:null,visibilityRect:{}},n}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.node=a.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(e){this.node=a.a.findDOMNode(this),this.props.active&&!e.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(e){return{top:Math.floor(e.top),left:Math.floor(e.left),bottom:Math.floor(e.bottom),right:Math.floor(e.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):r.a.Children.only(this.props.children)}}])&&p(n.prototype,o),t}(r.a.Component);g(v,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:r.a.createElement("span",null)}),g(v,"propTypes",{onChange:l.a.func,active:l.a.bool,partialVisibility:l.a.oneOfType([l.a.bool,l.a.oneOf(["top","right","bottom","left"])]),delayedCall:l.a.bool,offset:l.a.oneOfType([l.a.shape({top:l.a.number,left:l.a.number,bottom:l.a.number,right:l.a.number}),l.a.shape({direction:l.a.oneOf(["top","right","bottom","left"]),value:l.a.number})]),scrollCheck:l.a.bool,scrollDelay:l.a.number,scrollThrottle:l.a.number,resizeCheck:l.a.bool,resizeDelay:l.a.number,resizeThrottle:l.a.number,intervalCheck:l.a.bool,intervalDelay:l.a.number,containment:"undefined"!=typeof window?l.a.instanceOf(window.Element):l.a.any,children:l.a.oneOfType([l.a.element,l.a.func]),minTopValue:l.a.number})},function(e,t,n){"use strict";var o=n(6);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},e.exports=o(n(99196),n(91850))},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{CollapsibleList:()=>U,InboxDismissConfirmationModal:()=>ce,InboxNoteCard:()=>le,InboxNotePlaceholder:()=>ue,List:()=>I,ListItem:()=>S,Navigation:()=>me,NavigationBackButton:()=>pe,NavigationGroup:()=>de,NavigationItem:()=>he,NavigationMenu:()=>fe,TaskItem:()=>ee,Text:()=>ge,VerticalCSSTransition:()=>Y,useSlot:()=>be});const e=window.wp.components;function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},t.apply(this,arguments)}function r(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}function s(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=n(99196),c=n.n(l),u=n(91850),m=n.n(u);const p=c().createContext(null);var d="unmounted",f="exited",h="entering",g="entered",v="exiting",b=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=f,o.appearStatus=h):r=g:r=t.unmountOnExit||t.mountOnEnter?d:f,o.state={status:r},o.nextCallback=null,o}a(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===d?{status:f}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==g&&(t=h):n!==h&&n!==g||(t=v)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===h?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===f&&this.setState({status:d})},n.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[m().findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;e||n?(this.props.onEnter(i,a),this.safeSetState({status:h},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:g},(function(){t.props.onEntered(i,a)}))}))}))):this.safeSetState({status:g},(function(){t.props.onEntered(i)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:m().findDOMNode(this);t?(this.props.onExit(o),this.safeSetState({status:v},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:f},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:f},(function(){e.props.onExited(o)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:m().findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===d)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,r(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return c().createElement(p.Provider,{value:null},"function"==typeof n?n(e,o):c().cloneElement(c().Children.only(n),o))},t}(c().Component);function y(){}b.contextType=p,b.propTypes={},b.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},b.UNMOUNTED=d,b.EXITED=f,b.ENTERING=h,b.ENTERED=g,b.EXITING=v;const E=b;var x=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return o=t,void((n=e).classList?n.classList.remove(o):"string"==typeof n.className?n.className=s(n.className,o):n.setAttribute("class",s(n.className&&n.className.baseVal||"",o)));var n,o}))},w=function(e){function n(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var o=t.resolveArguments(e,n),r=o[0],i=o[1];t.removeClasses(r,"exit"),t.addClass(r,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var o=t.resolveArguments(e,n),r=o[0],i=o[1]?"appear":"enter";t.addClass(r,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var o=t.resolveArguments(e,n),r=o[0],i=o[1]?"appear":"enter";t.removeClasses(r,i),t.addClass(r,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,o="string"==typeof n,r=o?(o&&n?n+"-":"")+e:n[e];return{baseClassName:r,activeClassName:o?r+"-active":n[e+"Active"],doneClassName:o?r+"-done":n[e+"Done"]}},t}a(n,e);var o=n.prototype;return o.addClass=function(e,t,n){var o=this.getClassNames(t)[n+"ClassName"],r=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&r&&(o+=" "+r),"active"===n&&e&&e.scrollTop,o&&(this.appliedClasses[t][n]=o,function(e,t){e&&t&&t.split(" ").forEach((function(t){return o=t,void((n=e).classList?n.classList.add(o):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,o)||("string"==typeof n.className?n.className=n.className+" "+o:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+o)));var n,o}))}(e,o))},o.removeClasses=function(e,t){var n=this.appliedClasses[t],o=n.base,r=n.active,i=n.done;this.appliedClasses[t]={},o&&x(e,o),r&&x(e,r),i&&x(e,i)},o.render=function(){var e=this.props,n=(e.classNames,r(e,["classNames"]));return c().createElement(E,t({},n,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(c().Component);w.defaultProps={classNames:""},w.propTypes={};const N=w,_=window.wp.element,k=window.wp.keycodes;var C=n(83849),T=n.n(C);const S=e=>{let{children:t,disableGutters:n=!1,animation:o="none",className:r="",exit:i,enter:a,onExited:s,in:l,...c}=e;const u=!!(null==c?void 0:c.onClick),m=u?{role:"button",onKeyDown:e=>{return t=e,void("function"==typeof(n=c.onClick)&&t.keyCode===k.ENTER&&n(t));var t,n},tabIndex:0}:{},p=T()({"has-action":u,"has-gutters":!n,"transitions-disabled":"slide-right"!==o});return(0,_.createElement)(N,{timeout:500,classNames:r||"woocommerce-list__item",in:l,exit:i,enter:a,onExited:s},(0,_.createElement)("li",{...m,...c,className:`woocommerce-experimental-list__item ${p} ${r}`},t))};function O(e,t){var n=Object.create(null);return e&&l.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,l.isValidElement)(e)?t(e):e}(e)})),n}function A(e,t,n){return null!=n[t]?n[t]:e.props[t]}function D(e,t,n){var o=O(e.children),r=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var o,r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(r[l])for(o=0;o<r[l].length;o++){var c=r[l][o];s[r[l][o]]=n(c)}s[l]=n(l)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}(t,o);return Object.keys(r).forEach((function(i){var a=r[i];if((0,l.isValidElement)(a)){var s=i in t,c=i in o,u=t[i],m=(0,l.isValidElement)(u)&&!u.props.in;!c||s&&!m?c||!s||m?c&&s&&(0,l.isValidElement)(u)&&(r[i]=(0,l.cloneElement)(a,{onExited:n.bind(null,a),in:u.props.in,exit:A(a,"exit",e),enter:A(a,"enter",e)})):r[i]=(0,l.cloneElement)(a,{in:!1}):r[i]=(0,l.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:A(a,"exit",e),enter:A(a,"enter",e)})}})),r}var L=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},M=function(e){function n(t,n){var o,r=(o=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(o));return o.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},o}a(n,e);var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var n,o,r=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,o=i,O(n.children,(function(e){return(0,l.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:A(e,"appear",n),enter:A(e,"enter",n),exit:A(e,"exit",n)})}))):D(e,r,i),firstRender:!1}},o.handleExited=function(e,n){var o=O(this.props.children);e.key in o||(e.props.onExited&&e.props.onExited(n),this.mounted&&this.setState((function(n){var o=t({},n.children);return delete o[e.key],{children:o}})))},o.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=r(e,["component","childFactory"]),i=this.state.contextValue,a=L(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?c().createElement(p.Provider,{value:i},a):c().createElement(p.Provider,{value:i},c().createElement(t,o,a))},n}(c().Component);M.propTypes={},M.defaultProps={component:"div",childFactory:function(e){return e}};const R=M,I=e=>{let{children:t,listType:n,animation:o="none",...r}=e;return(0,_.createElement)(R,{component:n||"ul",className:"woocommerce-experimental-list",...r},_.Children.map(t,(e=>{if((0,_.isValidElement)(e)){const{onExited:t,in:n,enter:r,exit:i,...a}=e.props,s=a.animation||o;return(0,_.createElement)(N,{timeout:500,onExited:t,in:n,enter:r,exit:i,classNames:"woocommerce-list__item"},(0,_.cloneElement)(e,{animation:s,...a}))}return e})))},P=function(e){let{icon:t,size:n=24,...o}=e;return(0,_.cloneElement)(t,{width:n,height:n,...o})},j=window.wp.primitives,z=(0,_.createElement)(j.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,_.createElement)(j.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),F=(0,_.createElement)(j.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,_.createElement)(j.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})),H={transitionProperty:"max-height",transitionDuration:"500ms",maxHeight:0,overflow:"hidden"};function B(e,t,n){if(n.length<e.length){const e=n.map((e=>e.key));return t.filter((t=>t.key&&e.includes(t.key)))}const o=t.map((e=>e.key)),r=e.map((e=>e.key));return n.filter((e=>e.key&&(o.includes(e.key)||!r.includes(e.key))))}const U=e=>{let{children:t,collapsed:n=!0,collapseLabel:o,expandLabel:r,show:i=0,onCollapse:a,onExpand:s,direction:l="up",...c}=e;const[u,m]=(0,_.useState)(n),[p,d]=(0,_.useState)(n),[f,h]=(0,_.useState)({collapse:o,expand:r}),[g,v]=(0,_.useState)({all:[],shown:[],hidden:[]}),b=(0,_.useRef)(null),y=()=>{let e=[];const n=_.Children.map(t,(e=>(0,_.isValidElement)(e)&&"key"in e?e:null))||[];let a=n;i>0&&(e=n.slice(0,i),a=n.slice(i)),a.length>0&&h({expand:r,collapse:o}),v({all:n,shown:e,hidden:a})};(0,_.useEffect)((()=>{d(u)}),[u]),(0,_.useEffect)((()=>{const e=_.Children.map(t,(e=>(0,_.isValidElement)(e)&&"key"in e?e:null))||[];g.all.length>0&&u&&"none"!==c.animation?(v({...g,shown:B(g.all,g.shown,e)}),setTimeout((()=>{y()}),500)):y()}),[t]);const x=(0,_.useCallback)((()=>{var e;m(!u),e=!u,a&&e&&a(),s&&!e&&s()}),[u]),w=T()(c.className||"","woocommerce-experimental-list"),k=T()({"woocommerce-experimental-list-wrapper":!u}),C=g.hidden.length>0?(0,_.createElement)(S,{key:"collapse-item",className:"list-item-collapse",onClick:x,animation:"none",disableGutters:!0},(0,_.createElement)("p",null,u?f.expand:f.collapse),(0,_.createElement)(P,{className:"list-item-collapse__icon",size:30,icon:u?z:F})):null;return(0,_.createElement)(I,{...c,className:w},["down"===l&&C,...g.shown,(0,_.createElement)(E,{key:"remaining-children",timeout:500,in:!p,mountOnEnter:!0,unmountOnExit:!1},(e=>{const t=((e,t,n)=>{let o=0;"entered"!==e&&"entering"!==e||!n||(o=function(e){let t=0;if(e)for(const n of e.children){t+=n.clientHeight;const e=window.getComputedStyle(n);t+=parseInt(e.marginTop,10)||0,t+=parseInt(e.marginBottom,10)||0}return t}(n));const r={...H,maxHeight:o};return"entering"!==e&&"exiting"!==e&&(delete r.transitionDuration,delete r.transition,delete r.transitionProperty),"entered"!==e||t||delete r.maxHeight,r})(e,u,b.current);return(0,_.createElement)("div",{className:k,ref:b,style:t},(0,_.createElement)(R,{className:"woocommerce-experimental-list"},_.Children.map(g.hidden,(e=>{const{onExited:t,in:n,enter:o,exit:r,...i}=e.props,a=i.animation||c.animation;return(0,_.createElement)(N,{key:e.key,timeout:500,onExited:t,in:n,enter:o,exit:r,classNames:"woocommerce-list__item"},(0,_.cloneElement)(e,{animation:a,...i}))}))))})),"up"===l&&C])},V=window.wp.i18n,G=(0,_.createElement)(j.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,_.createElement)(j.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));var W=n(59838);const q=window.wc.components;var $=n(74944);const Y=e=>{let{children:t,defaultStyle:n,...o}=e;const[r,i]=(0,_.useState)(0),[a,s]=(0,_.useState)(o.in||!1),l=(0,_.useRef)(null),c=(0,_.useCallback)((e=>{e&&i(function(e){let t=0;for(const n of e.children){t+=n.clientHeight;const e=window.getComputedStyle(n);t+=parseInt(e.marginTop,10)||0,t+=parseInt(e.marginBottom,10)||0}return t}(e))}),[t]);(0,_.useEffect)((()=>{s(o.in||!1)}),[o.in]);const u={entered:{maxHeight:r},entering:{maxHeight:r},exiting:{maxHeight:0},exited:{maxHeight:0}},m=e=>{const t=(()=>{const{timeout:e}=o;let t,n,r;return"number"==typeof e&&(t=n=r=e),void 0!==e&&"number"!=typeof e&&(t=e.exit,n=e.enter,r=void 0!==e.appear?e.appear:n),{exit:t,enter:n,appear:r}})(),r=l.current&&l.current.context&&l.current.context.isMounting;let i;i=e.startsWith("enter")?t[r?"enter":"appear"]:t.exit;const a={transitionProperty:"max-height",transitionDuration:void 0===i?"500ms":i+"ms",overflow:"hidden",...n||{},...u[e]};return"entering"!==e&&"exiting"!==e&&(delete a.transitionDuration,delete a.transition,delete a.transitionProperty),"entered"===e&&o.in&&delete a.maxHeight,a};return(0,_.createElement)(N,{...o,in:a,ref:l},(e=>(0,_.createElement)("div",{className:"vertical-css-transition-container",style:m(e),ref:c},t)))},K=["a","b","em","i","strong","p","br"],X=["target","href","rel","name","download"],Z=e=>({__html:(0,$.sanitize)(e,{ALLOWED_TAGS:K,ALLOWED_ATTR:X})}),J=t=>{let{level:n,completed:o,children:r}=t,i="";return 1!==n||o?2!==n||o||(i=(0,V.__)("This task is required to set up your extension","woocommerce")):i=(0,V.__)("This task is required to keep your store running","woocommerce"),""===i?r:(0,_.createElement)(e.Tooltip,{text:i},r)},Q=e=>{let{children:t,expandable:n,expanded:o}=e;return n?(0,_.createElement)(Y,{timeout:500,in:o,classNames:"woocommerce-task-list__item-expandable-content",defaultStyle:{transitionProperty:"max-height, opacity"}},t):o?(0,_.createElement)(_.Fragment,null,t):null},ee=t=>{let{completed:n,title:o,badge:r,onDelete:i,onCollapse:a,onDismiss:s,onSnooze:l,onExpand:c,onClick:u,additionalInfo:m,time:p,content:d,expandable:f=!1,expanded:h=!1,showActionButton:g,level:v=3,action:b,actionLabel:y,...E}=t;const[x,w]=(0,_.useState)(h);(0,_.useEffect)((()=>{w(h)}),[h]);const N=T()("woocommerce-task-list__item",{complete:n,expanded:x,"level-2":2===v&&!n,"level-1":1===v&&!n});void 0===g&&(g=f);const k=(s||l)&&!n||i&&n;return(0,_.createElement)(S,{disableGutters:!0,className:N,onClick:f&&g?()=>{w(!x),x&&c&&c(),!x&&a&&a()}:u,...E},(0,_.createElement)(J,{level:v,completed:n},(0,_.createElement)("div",{className:"woocommerce-task-list__item-before"},1!==v||n?(0,_.createElement)("div",{className:"woocommerce-task__icon"},n&&(0,_.createElement)(P,{icon:G})):(0,_.createElement)(W.Z,{size:36}))),(0,_.createElement)("div",{className:"woocommerce-task-list__item-text"},(0,_.createElement)(ge,{as:"div",size:"14",lineHeight:n?"18px":"20px",weight:n?"normal":"600",variant:n?"body.small":"button"},(0,_.createElement)("span",{className:"woocommerce-task-list__item-title"},o,r&&(0,_.createElement)("span",{className:"woocommerce-task-list__item-badge"},r)),(0,_.createElement)(Q,{expandable:f,expanded:x},(0,_.createElement)("div",{className:"woocommerce-task-list__item-expandable-content"},d,f&&!n&&m&&(0,_.createElement)("div",{className:"woocommerce-task__additional-info",dangerouslySetInnerHTML:Z(m)}),!n&&g&&(0,_.createElement)(e.Button,{className:"woocommerce-task-list__item-action",isPrimary:!0,onClick:e=>{e.stopPropagation(),b(e,{isExpanded:!0})}},y||o))),!f&&!n&&m&&(0,_.createElement)("div",{className:"woocommerce-task__additional-info",dangerouslySetInnerHTML:Z(m)}),p&&(0,_.createElement)("div",{className:"woocommerce-task__estimated-time"},p))),k&&(0,_.createElement)(q.EllipsisMenu,{label:(0,V.__)("Task Options","woocommerce"),className:"woocommerce-task-list__item-after",onToggle:e=>e.stopPropagation(),renderContent:()=>(0,_.createElement)("div",{className:"woocommerce-task-card__section-controls"},s&&!n&&(0,_.createElement)(e.Button,{onClick:e=>{e.stopPropagation(),s()}},(0,V.__)("Dismiss","woocommerce")),l&&!n&&(0,_.createElement)(e.Button,{onClick:e=>{e.stopPropagation(),l()}},(0,V.__)("Remind me later","woocommerce")),i&&n&&(0,_.createElement)(e.Button,{onClick:e=>{e.stopPropagation(),i()}},(0,V.__)("Delete","woocommerce")))}))};var te=n(327),ne=n.n(te);const oe=window.moment;var re=n.n(oe);const ie=t=>{let{label:n,onClick:o,href:r,preventBusyState:i,variant:a="link"}=t;const[s,l]=(0,_.useState)(!1);return(0,_.createElement)(e.Button,{isSecondary:"secondary"===a,isLink:"link"===a,isBusy:s,disabled:s,href:r,onClick:e=>{const t=e.currentTarget.href||"";let n=!0,r="";window.wcSettings&&(r=window.wcSettings.adminUrl),!t.length||r&&t.startsWith(r)||(e.preventDefault(),n=!1,window.open(t,"_blank")),i&&(n=!1),l(n),o()}},n)},ae=["a","b","em","i","strong","p","br"],se=["target","href","rel","name","download"],le=t=>{let{note:n,onDismiss:o,onNoteActionClick:r,onBodyLinkClick:i,onNoteVisible:a,className:s}=t;var l;const[c,u]=(0,_.useState)(!1),m=(0,_.useRef)(!1),p=function(e){const t=(0,_.useCallback)((t=>{const n=t.target;if(n&&"href"in n){const t=n.href;t&&e&&e(t)}}),[e]),n=(0,_.useRef)(null);return(0,_.useEffect)((()=>{const e=n.current;return e&&e.addEventListener("click",t),()=>{e&&e.removeEventListener("click",t)}}),[t]),(0,_.useCallback)((e=>{n.current=e}),[])}((e=>{i&&i(n,e)})),d=e=>{r&&r(n,e),e.actioned_text&&u(e.actioned_text)},{content:f,date_created_gmt:h,image:g,is_deleted:v,layout:b,status:y,title:E,is_read:x}=n;if(v)return null;const w=!1===x,N="thumbnail"===b,k=T()("woocommerce-inbox-message",s,b,{"message-is-unread":w&&"unactioned"===y}),C=T()("woocommerce-inbox-message__actions",{"has-multiple-actions":(null===(l=n.actions)||void 0===l?void 0:l.length)>1});return(0,_.createElement)(ne(),{onChange:e=>{e&&!m.current&&(a&&a(n),m.current=!0)}},(0,_.createElement)("section",{className:k},N&&(0,_.createElement)("div",{className:"woocommerce-inbox-message__image"},(0,_.createElement)("img",{src:g,alt:""})),(0,_.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},(0,_.createElement)("div",{className:"woocommerce-inbox-message__content"},w&&(0,_.createElement)("div",{className:"woocommerce-inbox-message__unread-indicator"}),h&&(0,_.createElement)("span",{className:"woocommerce-inbox-message__date"},re().utc(h).fromNow()),(0,_.createElement)(q.H,{className:"woocommerce-inbox-message__title"},n.actions&&1===n.actions.length&&(0,_.createElement)(ie,{key:n.actions[0].id,label:E,preventBusyState:!0,variant:"link",href:n.actions[0].url&&n.actions[0].url.length?n.actions[0].url:void 0,onClick:()=>d(n.actions[0])}),n.actions&&n.actions.length>1&&E),(0,_.createElement)(q.Section,{className:"woocommerce-inbox-message__text"},(0,_.createElement)("span",{dangerouslySetInnerHTML:(S=f,{__html:(0,$.sanitize)(S,{ALLOWED_TAGS:ae,ALLOWED_ATTR:se})}),ref:p}))),(0,_.createElement)("div",{className:C},(()=>{const{actions:e}=n;return c||(e?(0,_.createElement)(_.Fragment,null,e.map((e=>(0,_.createElement)(ie,{key:e.id,label:e.label,variant:"secondary",href:e&&e.url&&e.url.length?e.url:void 0,onClick:()=>d(e)})))):void 0)})(),c?null:(0,_.createElement)(e.Button,{className:"woocommerce-admin-dismiss-notification",onClick:()=>o&&o(n)},(0,V.__)("Dismiss","woocommerce"))))));var S},ce=t=>{let{onClose:n,onDismiss:o,buttonLabel:r=(0,V.__)("Yes, I'm sure","woocommerce")}=t;const[i,a]=(0,_.useState)(!1);return(0,_.createElement)(e.Modal,{title:(0,V.__)("Are you sure?","woocommerce"),onRequestClose:()=>n(),className:"woocommerce-inbox-dismiss-confirmation_modal"},(0,_.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_wrapper"},(0,_.createElement)("p",null,(0,V.__)("Dismissed messages cannot be viewed again","woocommerce")),(0,_.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_buttons"},(0,_.createElement)(e.Button,{isSecondary:!0,onClick:()=>n()},(0,V.__)("Cancel","woocommerce")),(0,_.createElement)(e.Button,{isSecondary:!0,isBusy:i,disabled:i,onClick:()=>{a(!0),o()}},r))))},ue=e=>{let{className:t}=e;return(0,_.createElement)("div",{className:`woocommerce-inbox-message is-placeholder ${t}`,"aria-hidden":!0},(0,_.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},(0,_.createElement)("div",{className:"woocommerce-inbox-message__content"},(0,_.createElement)("div",{className:"woocommerce-inbox-message__date"},(0,_.createElement)("div",{className:"sixth-line"})),(0,_.createElement)("div",{className:"woocommerce-inbox-message__title"},(0,_.createElement)("div",{className:"line"}),(0,_.createElement)("div",{className:"line"})),(0,_.createElement)("div",{className:"woocommerce-inbox-message__text"},(0,_.createElement)("div",{className:"line"}),(0,_.createElement)("div",{className:"third-line"}))),(0,_.createElement)("div",{className:"woocommerce-inbox-message__actions"},(0,_.createElement)("div",{className:"fifth-line"}),(0,_.createElement)("div",{className:"fifth-line"}))))},me=e.Navigation||e.__experimentalNavigation,pe=e.NavigationBackButton||e.__experimentalNavigationBackButton,de=e.NavigationGroup||e.__experimentalNavigationGroup,fe=e.NavigationMenu||e.__experimentalNavigationMenu,he=e.NavigationItem||e.__experimentalNavigationItem,ge=e.Text||e.__experimentalText,ve=e.__experimentalUseSlotFills||(()=>null),be=t=>{const n=(e.useSlot||e.__experimentalUseSlot)(t),o=ve(t);return"function"==typeof e.__experimentalUseSlotFills?{...n,fills:o}:n}})(),(window.wc=window.wc||{}).experimental=o})();