@epilogo/stringifyr
Version:
Stringifyr JS bundle
22 lines • 195 kB
JavaScript
/*!
*
* @epilogo/stringifyr v1.2.1
* https://github.com/EpilogoSRL/stringifyr-cli
*
* Copyright (c) EpilogoSRL (https://github.com/EpilogoSRL) and project contributors.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Stringifyr=e():t.Stringifyr=e()}(self,(()=>(()=>{var t={856:function(t){
/*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE */
t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:a,create:u}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;l||(l=function(t,e,n){return t.apply(e,n)}),o||(o=function(t){return t}),a||(a=function(t){return t}),c||(c=function(t,e){return new t(...e)});const s=w(Array.prototype.forEach),f=w(Array.prototype.pop),h=w(Array.prototype.push),p=w(String.prototype.toLowerCase),d=w(String.prototype.toString),g=w(String.prototype.match),v=w(String.prototype.replace),y=w(String.prototype.indexOf),m=w(String.prototype.trim),b=w(RegExp.prototype.test),_=x(TypeError);function w(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return l(t,e,r)}}function x(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return c(t,n)}}function k(t,r,i){var o;i=null!==(o=i)&&void 0!==o?o:p,e&&e(t,null);let a=r.length;for(;a--;){let e=r[a];if("string"==typeof e){const t=i(e);t!==e&&(n(r)||(r[a]=t),e=t)}t[e]=!0}return t}function S(e){const n=u(null);for(const[r,i]of t(e))n[r]=i;return n}function E(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}t=r(t)}function n(t){return console.warn("fallback value for",t),null}return n}const T=o(["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"]),A=o(["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"]),O=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),L=o(["animate","color-profile","cursor","discard","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"]),R=o(["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","mprescripts"]),j=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N=o(["#text"]),P=o(["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"]),$=o(["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=o(["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"]),z=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),C=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),D=a(/<%[\w\W]*|[\w\W]*%>/gm),M=a(/\${[\w\W]*}/gm),U=a(/^data-[\-\w.\u00B7-\uFFFF]/),F=a(/^aria-[\-\w]+$/),G=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H=a(/^html$/i);var Z=Object.freeze({__proto__:null,MUSTACHE_EXPR:C,ERB_EXPR:D,TMPLIT_EXPR:M,DATA_ATTR:U,ARIA_ATTR:F,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:B,ATTR_WHITESPACE:W,DOCTYPE_NAME:H});const q=()=>"undefined"==typeof window?null:window,V=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function Y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q();const n=t=>Y(t);if(n.version="3.0.3",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;const r=e.document,i=r.currentScript;let{document:a}=e;const{DocumentFragment:u,HTMLTemplateElement:l,Node:c,Element:w,NodeFilter:x,NamedNodeMap:C=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:D,DOMParser:M,trustedTypes:U}=e,F=w.prototype,B=E(F,"cloneNode"),W=E(F,"nextSibling"),J=E(F,"childNodes"),K=E(F,"parentNode");if("function"==typeof l){const t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let Q,X="";const{implementation:tt,createNodeIterator:et,createDocumentFragment:nt,getElementsByTagName:rt}=a,{importNode:it}=r;let ot={};n.isSupported="function"==typeof t&&"function"==typeof K&&tt&&void 0!==tt.createHTMLDocument;const{MUSTACHE_EXPR:at,ERB_EXPR:ut,TMPLIT_EXPR:lt,DATA_ATTR:ct,ARIA_ATTR:st,IS_SCRIPT_OR_DATA:ft,ATTR_WHITESPACE:ht}=Z;let{IS_ALLOWED_URI:pt}=Z,dt=null;const gt=k({},[...T,...A,...O,...R,...N]);let vt=null;const yt=k({},[...P,...$,...I,...z]);let mt=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}})),bt=null,_t=null,wt=!0,xt=!0,kt=!1,St=!0,Et=!1,Tt=!1,At=!1,Ot=!1,Lt=!1,Rt=!1,jt=!1,Nt=!0,Pt=!1;const $t="user-content-";let It=!0,zt=!1,Ct={},Dt=null;const Mt=k({},["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"]);let Ut=null;const Ft=k({},["audio","video","img","source","image","track"]);let Gt=null;const Bt=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Wt="http://www.w3.org/1998/Math/MathML",Ht="http://www.w3.org/2000/svg",Zt="http://www.w3.org/1999/xhtml";let qt=Zt,Vt=!1,Yt=null;const Jt=k({},[Wt,Ht,Zt],d);let Kt;const Qt=["application/xhtml+xml","text/html"],Xt="text/html";let te,ee=null;const ne=a.createElement("form"),re=function(t){return t instanceof RegExp||t instanceof Function},ie=function(t){if(!ee||ee!==t){if(t&&"object"==typeof t||(t={}),t=S(t),Kt=Kt=-1===Qt.indexOf(t.PARSER_MEDIA_TYPE)?Xt:t.PARSER_MEDIA_TYPE,te="application/xhtml+xml"===Kt?d:p,dt="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS,te):gt,vt="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR,te):yt,Yt="ALLOWED_NAMESPACES"in t?k({},t.ALLOWED_NAMESPACES,d):Jt,Gt="ADD_URI_SAFE_ATTR"in t?k(S(Bt),t.ADD_URI_SAFE_ATTR,te):Bt,Ut="ADD_DATA_URI_TAGS"in t?k(S(Ft),t.ADD_DATA_URI_TAGS,te):Ft,Dt="FORBID_CONTENTS"in t?k({},t.FORBID_CONTENTS,te):Mt,bt="FORBID_TAGS"in t?k({},t.FORBID_TAGS,te):{},_t="FORBID_ATTR"in t?k({},t.FORBID_ATTR,te):{},Ct="USE_PROFILES"in t&&t.USE_PROFILES,wt=!1!==t.ALLOW_ARIA_ATTR,xt=!1!==t.ALLOW_DATA_ATTR,kt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,St=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Et=t.SAFE_FOR_TEMPLATES||!1,Tt=t.WHOLE_DOCUMENT||!1,Lt=t.RETURN_DOM||!1,Rt=t.RETURN_DOM_FRAGMENT||!1,jt=t.RETURN_TRUSTED_TYPE||!1,Ot=t.FORCE_BODY||!1,Nt=!1!==t.SANITIZE_DOM,Pt=t.SANITIZE_NAMED_PROPS||!1,It=!1!==t.KEEP_CONTENT,zt=t.IN_PLACE||!1,pt=t.ALLOWED_URI_REGEXP||G,qt=t.NAMESPACE||Zt,mt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&re(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(mt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&re(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(mt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(mt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Et&&(xt=!1),Rt&&(Lt=!0),Ct&&(dt=k({},[...N]),vt=[],!0===Ct.html&&(k(dt,T),k(vt,P)),!0===Ct.svg&&(k(dt,A),k(vt,$),k(vt,z)),!0===Ct.svgFilters&&(k(dt,O),k(vt,$),k(vt,z)),!0===Ct.mathMl&&(k(dt,R),k(vt,I),k(vt,z))),t.ADD_TAGS&&(dt===gt&&(dt=S(dt)),k(dt,t.ADD_TAGS,te)),t.ADD_ATTR&&(vt===yt&&(vt=S(vt)),k(vt,t.ADD_ATTR,te)),t.ADD_URI_SAFE_ATTR&&k(Gt,t.ADD_URI_SAFE_ATTR,te),t.FORBID_CONTENTS&&(Dt===Mt&&(Dt=S(Dt)),k(Dt,t.FORBID_CONTENTS,te)),It&&(dt["#text"]=!0),Tt&&k(dt,["html","head","body"]),dt.table&&(k(dt,["tbody"]),delete bt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=t.TRUSTED_TYPES_POLICY,X=Q.createHTML("")}else void 0===Q&&(Q=V(U,i)),null!==Q&&"string"==typeof X&&(X=Q.createHTML(""));o&&o(t),ee=t}},oe=k({},["mi","mo","mn","ms","mtext"]),ae=k({},["foreignobject","desc","title","annotation-xml"]),ue=k({},["title","style","font","a","script"]),le=k({},A);k(le,O),k(le,L);const ce=k({},R);k(ce,j);const se=function(t){let e=K(t);e&&e.tagName||(e={namespaceURI:qt,tagName:"template"});const n=p(t.tagName),r=p(e.tagName);return!!Yt[t.namespaceURI]&&(t.namespaceURI===Ht?e.namespaceURI===Zt?"svg"===n:e.namespaceURI===Wt?"svg"===n&&("annotation-xml"===r||oe[r]):Boolean(le[n]):t.namespaceURI===Wt?e.namespaceURI===Zt?"math"===n:e.namespaceURI===Ht?"math"===n&&ae[r]:Boolean(ce[n]):t.namespaceURI===Zt?!(e.namespaceURI===Ht&&!ae[r])&&!(e.namespaceURI===Wt&&!oe[r])&&!ce[n]&&(ue[n]||!le[n]):!("application/xhtml+xml"!==Kt||!Yt[t.namespaceURI]))},fe=function(t){h(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},he=function(t,e){try{h(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){h(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!vt[t])if(Lt||Rt)try{fe(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},pe=function(t){let e,n;if(Ot)t="<remove></remove>"+t;else{const e=g(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Kt&&qt===Zt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const r=Q?Q.createHTML(t):t;if(qt===Zt)try{e=(new M).parseFromString(r,Kt)}catch(t){}if(!e||!e.documentElement){e=tt.createDocument(qt,"template",null);try{e.documentElement.innerHTML=Vt?X:r}catch(t){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),qt===Zt?rt.call(e,Tt?"html":"body")[0]:Tt?e.documentElement:i},de=function(t){return et.call(t.ownerDocument||t,t,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT,null,!1)},ge=function(t){return t instanceof D&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof C)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ve=function(t){return"object"==typeof c?t instanceof c:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},ye=function(t,e,r){ot[t]&&s(ot[t],(t=>{t.call(n,e,r,ee)}))},me=function(t){let e;if(ye("beforeSanitizeElements",t,null),ge(t))return fe(t),!0;const r=te(t.nodeName);if(ye("uponSanitizeElement",t,{tagName:r,allowedTags:dt}),t.hasChildNodes()&&!ve(t.firstElementChild)&&(!ve(t.content)||!ve(t.content.firstElementChild))&&b(/<[/\w]/g,t.innerHTML)&&b(/<[/\w]/g,t.textContent))return fe(t),!0;if(!dt[r]||bt[r]){if(!bt[r]&&_e(r)){if(mt.tagNameCheck instanceof RegExp&&b(mt.tagNameCheck,r))return!1;if(mt.tagNameCheck instanceof Function&&mt.tagNameCheck(r))return!1}if(It&&!Dt[r]){const e=K(t)||t.parentNode,n=J(t)||t.childNodes;if(n&&e)for(let r=n.length-1;r>=0;--r)e.insertBefore(B(n[r],!0),W(t))}return fe(t),!0}return t instanceof w&&!se(t)?(fe(t),!0):"noscript"!==r&&"noembed"!==r||!b(/<\/no(script|embed)/i,t.innerHTML)?(Et&&3===t.nodeType&&(e=t.textContent,e=v(e,at," "),e=v(e,ut," "),e=v(e,lt," "),t.textContent!==e&&(h(n.removed,{element:t.cloneNode()}),t.textContent=e)),ye("afterSanitizeElements",t,null),!1):(fe(t),!0)},be=function(t,e,n){if(Nt&&("id"===e||"name"===e)&&(n in a||n in ne))return!1;if(xt&&!_t[e]&&b(ct,e));else if(wt&&b(st,e));else if(!vt[e]||_t[e]){if(!(_e(t)&&(mt.tagNameCheck instanceof RegExp&&b(mt.tagNameCheck,t)||mt.tagNameCheck instanceof Function&&mt.tagNameCheck(t))&&(mt.attributeNameCheck instanceof RegExp&&b(mt.attributeNameCheck,e)||mt.attributeNameCheck instanceof Function&&mt.attributeNameCheck(e))||"is"===e&&mt.allowCustomizedBuiltInElements&&(mt.tagNameCheck instanceof RegExp&&b(mt.tagNameCheck,n)||mt.tagNameCheck instanceof Function&&mt.tagNameCheck(n))))return!1}else if(Gt[e]);else if(b(pt,v(n,ht,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(n,"data:")||!Ut[t])if(kt&&!b(ft,v(n,ht,"")));else if(n)return!1;return!0},_e=function(t){return t.indexOf("-")>0},we=function(t){let e,r,i,o;ye("beforeSanitizeAttributes",t,null);const{attributes:a}=t;if(!a)return;const u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:vt};for(o=a.length;o--;){e=a[o];const{name:l,namespaceURI:c}=e;if(r="value"===l?e.value:m(e.value),i=te(l),u.attrName=i,u.attrValue=r,u.keepAttr=!0,u.forceKeepAttr=void 0,ye("uponSanitizeAttribute",t,u),r=u.attrValue,u.forceKeepAttr)continue;if(he(l,t),!u.keepAttr)continue;if(!St&&b(/\/>/i,r)){he(l,t);continue}Et&&(r=v(r,at," "),r=v(r,ut," "),r=v(r,lt," "));const s=te(t.nodeName);if(be(s,i,r)){if(!Pt||"id"!==i&&"name"!==i||(he(l,t),r=$t+r),Q&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(c);else switch(U.getAttributeType(s,i)){case"TrustedHTML":r=Q.createHTML(r);break;case"TrustedScriptURL":r=Q.createScriptURL(r)}try{c?t.setAttributeNS(c,l,r):t.setAttribute(l,r),f(n.removed)}catch(t){}}}ye("afterSanitizeAttributes",t,null)},xe=function t(e){let n;const r=de(e);for(ye("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)ye("uponSanitizeShadowNode",n,null),me(n)||(n.content instanceof u&&t(n.content),we(n));ye("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e,i,o,a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Vt=!t,Vt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ve(t)){if("function"!=typeof t.toString)throw _("toString is not a function");if("string"!=typeof(t=t.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported)return t;if(At||ie(l),n.removed=[],"string"==typeof t&&(zt=!1),zt){if(t.nodeName){const e=te(t.nodeName);if(!dt[e]||bt[e])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)e=pe("\x3c!----\x3e"),i=e.ownerDocument.importNode(t,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?e=i:e.appendChild(i);else{if(!Lt&&!Et&&!Tt&&-1===t.indexOf("<"))return Q&&jt?Q.createHTML(t):t;if(e=pe(t),!e)return Lt?null:jt?X:""}e&&Ot&&fe(e.firstChild);const s=de(zt?t:e);for(;o=s.nextNode();)me(o)||(o.content instanceof u&&xe(o.content),we(o));if(zt)return t;if(Lt){if(Rt)for(a=nt.call(e.ownerDocument);e.firstChild;)a.appendChild(e.firstChild);else a=e;return(vt.shadowroot||vt.shadowrootmod)&&(a=it.call(r,a,!0)),a}let f=Tt?e.outerHTML:e.innerHTML;return Tt&&dt["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&b(H,e.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+e.ownerDocument.doctype.name+">\n"+f),Et&&(f=v(f,at," "),f=v(f,ut," "),f=v(f,lt," ")),Q&&jt?Q.createHTML(f):f},n.setConfig=function(t){ie(t),At=!0},n.clearConfig=function(){ee=null,At=!1},n.isValidAttribute=function(t,e,n){ee||ie({});const r=te(t),i=te(e);return be(r,i,n)},n.addHook=function(t,e){"function"==typeof e&&(ot[t]=ot[t]||[],h(ot[t],e))},n.removeHook=function(t){if(ot[t])return f(ot[t])},n.removeHooks=function(t){ot[t]&&(ot[t]=[])},n.removeAllHooks=function(){ot={}},n}return Y()}()},486:function(t,e,n){var r;
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/t=n.nmd(t),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",u="__lodash_placeholder__",l=16,c=32,s=64,f=128,h=256,p=1/0,d=9007199254740991,g=NaN,v=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",s],["rearg",h]],m="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",x="[object Error]",k="[object Function]",S="[object GeneratorFunction]",E="[object Map]",T="[object Number]",A="[object Object]",O="[object Promise]",L="[object RegExp]",R="[object Set]",j="[object String]",N="[object Symbol]",P="[object WeakMap]",$="[object ArrayBuffer]",I="[object DataView]",z="[object Float32Array]",C="[object Float64Array]",D="[object Int8Array]",M="[object Int16Array]",U="[object Int32Array]",F="[object Uint8Array]",G="[object Uint8ClampedArray]",B="[object Uint16Array]",W="[object Uint32Array]",H=/\b__p \+= '';/g,Z=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,J=RegExp(V.source),K=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nt=/^\w*$/,rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,it=/[\\^$.*+?()[\]{}|]/g,ot=RegExp(it.source),at=/^\s+/,ut=/\s/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ct=/\{\n\/\* \[wrapped with (.+)\] \*/,st=/,? & /,ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ht=/[()=,{}\[\]\/\s]/,pt=/\\(\\)?/g,dt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,vt=/^[-+]0x[0-9a-f]+$/i,yt=/^0b[01]+$/i,mt=/^\[object .+?Constructor\]$/,bt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,wt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xt=/($^)/,kt=/['\n\r\u2028\u2029\\]/g,St="\\ud800-\\udfff",Et="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Tt="\\u2700-\\u27bf",At="a-z\\xdf-\\xf6\\xf8-\\xff",Ot="A-Z\\xc0-\\xd6\\xd8-\\xde",Lt="\\ufe0e\\ufe0f",Rt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",jt="['’]",Nt="["+St+"]",Pt="["+Rt+"]",$t="["+Et+"]",It="\\d+",zt="["+Tt+"]",Ct="["+At+"]",Dt="[^"+St+Rt+It+Tt+At+Ot+"]",Mt="\\ud83c[\\udffb-\\udfff]",Ut="[^"+St+"]",Ft="(?:\\ud83c[\\udde6-\\uddff]){2}",Gt="[\\ud800-\\udbff][\\udc00-\\udfff]",Bt="["+Ot+"]",Wt="\\u200d",Ht="(?:"+Ct+"|"+Dt+")",Zt="(?:"+Bt+"|"+Dt+")",qt="(?:['’](?:d|ll|m|re|s|t|ve))?",Vt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Yt="(?:"+$t+"|"+Mt+")"+"?",Jt="["+Lt+"]?",Kt=Jt+Yt+("(?:"+Wt+"(?:"+[Ut,Ft,Gt].join("|")+")"+Jt+Yt+")*"),Qt="(?:"+[zt,Ft,Gt].join("|")+")"+Kt,Xt="(?:"+[Ut+$t+"?",$t,Ft,Gt,Nt].join("|")+")",te=RegExp(jt,"g"),ee=RegExp($t,"g"),ne=RegExp(Mt+"(?="+Mt+")|"+Xt+Kt,"g"),re=RegExp([Bt+"?"+Ct+"+"+qt+"(?="+[Pt,Bt,"$"].join("|")+")",Zt+"+"+Vt+"(?="+[Pt,Bt+Ht,"$"].join("|")+")",Bt+"?"+Ht+"+"+qt,Bt+"+"+Vt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",It,Qt].join("|"),"g"),ie=RegExp("["+Wt+St+Et+Lt+"]"),oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ae=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ue=-1,le={};le[z]=le[C]=le[D]=le[M]=le[U]=le[F]=le[G]=le[B]=le[W]=!0,le[m]=le[b]=le[$]=le[_]=le[I]=le[w]=le[x]=le[k]=le[E]=le[T]=le[A]=le[L]=le[R]=le[j]=le[P]=!1;var ce={};ce[m]=ce[b]=ce[$]=ce[I]=ce[_]=ce[w]=ce[z]=ce[C]=ce[D]=ce[M]=ce[U]=ce[E]=ce[T]=ce[A]=ce[L]=ce[R]=ce[j]=ce[N]=ce[F]=ce[G]=ce[B]=ce[W]=!0,ce[x]=ce[k]=ce[P]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},fe=parseFloat,he=parseInt,pe="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,de="object"==typeof self&&self&&self.Object===Object&&self,ge=pe||de||Function("return this")(),ve=e&&!e.nodeType&&e,ye=ve&&t&&!t.nodeType&&t,me=ye&&ye.exports===ve,be=me&&pe.process,_e=function(){try{var t=ye&&ye.require&&ye.require("util").types;return t||be&&be.binding&&be.binding("util")}catch(t){}}(),we=_e&&_e.isArrayBuffer,xe=_e&&_e.isDate,ke=_e&&_e.isMap,Se=_e&&_e.isRegExp,Ee=_e&&_e.isSet,Te=_e&&_e.isTypedArray;function Ae(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Oe(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function Le(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Re(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function je(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ne(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Pe(t,e){return!!(null==t?0:t.length)&&Be(t,e,0)>-1}function $e(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Ie(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function ze(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Ce(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function De(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function Me(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Ue=qe("length");function Fe(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function Ge(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Be(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):Ge(t,He,n)}function We(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function He(t){return t!=t}function Ze(t,e){var n=null==t?0:t.length;return n?Je(t,e)/n:g}function qe(t){return function(e){return null==e?i:e[t]}}function Ve(t){return function(e){return null==t?i:t[e]}}function Ye(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Je(t,e){for(var n,r=-1,o=t.length;++r<o;){var a=e(t[r]);a!==i&&(n=n===i?a:n+a)}return n}function Ke(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Qe(t){return t?t.slice(0,vn(t)+1).replace(at,""):t}function Xe(t){return function(e){return t(e)}}function tn(t,e){return Ie(e,(function(e){return t[e]}))}function en(t,e){return t.has(e)}function nn(t,e){for(var n=-1,r=t.length;++n<r&&Be(e,t[n],0)>-1;);return n}function rn(t,e){for(var n=t.length;n--&&Be(e,t[n],0)>-1;);return n}var on=Ve({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),an=Ve({"&":"&","<":"<",">":">",'"':""","'":"'"});function un(t){return"\\"+se[t]}function ln(t){return ie.test(t)}function cn(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function sn(t,e){return function(n){return t(e(n))}}function fn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==u||(t[n]=u,o[i++]=n)}return o}function hn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function pn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function dn(t){return ln(t)?function(t){var e=ne.lastIndex=0;for(;ne.test(t);)++e;return e}(t):Ue(t)}function gn(t){return ln(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.split("")}(t)}function vn(t){for(var e=t.length;e--&&ut.test(t.charAt(e)););return e}var yn=Ve({"&":"&","<":"<",">":">",""":'"',"'":"'"});var mn=function t(e){var n,r=(e=null==e?ge:mn.defaults(ge.Object(),e,mn.pick(ge,ae))).Array,ut=e.Date,St=e.Error,Et=e.Function,Tt=e.Math,At=e.Object,Ot=e.RegExp,Lt=e.String,Rt=e.TypeError,jt=r.prototype,Nt=Et.prototype,Pt=At.prototype,$t=e["__core-js_shared__"],It=Nt.toString,zt=Pt.hasOwnProperty,Ct=0,Dt=(n=/[^.]+$/.exec($t&&$t.keys&&$t.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Mt=Pt.toString,Ut=It.call(At),Ft=ge._,Gt=Ot("^"+It.call(zt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bt=me?e.Buffer:i,Wt=e.Symbol,Ht=e.Uint8Array,Zt=Bt?Bt.allocUnsafe:i,qt=sn(At.getPrototypeOf,At),Vt=At.create,Yt=Pt.propertyIsEnumerable,Jt=jt.splice,Kt=Wt?Wt.isConcatSpreadable:i,Qt=Wt?Wt.iterator:i,Xt=Wt?Wt.toStringTag:i,ne=function(){try{var t=ho(At,"defineProperty");return t({},"",{}),t}catch(t){}}(),ie=e.clearTimeout!==ge.clearTimeout&&e.clearTimeout,se=ut&&ut.now!==ge.Date.now&&ut.now,pe=e.setTimeout!==ge.setTimeout&&e.setTimeout,de=Tt.ceil,ve=Tt.floor,ye=At.getOwnPropertySymbols,be=Bt?Bt.isBuffer:i,_e=e.isFinite,Ue=jt.join,Ve=sn(At.keys,At),bn=Tt.max,_n=Tt.min,wn=ut.now,xn=e.parseInt,kn=Tt.random,Sn=jt.reverse,En=ho(e,"DataView"),Tn=ho(e,"Map"),An=ho(e,"Promise"),On=ho(e,"Set"),Ln=ho(e,"WeakMap"),Rn=ho(At,"create"),jn=Ln&&new Ln,Nn={},Pn=Mo(En),$n=Mo(Tn),In=Mo(An),zn=Mo(On),Cn=Mo(Ln),Dn=Wt?Wt.prototype:i,Mn=Dn?Dn.valueOf:i,Un=Dn?Dn.toString:i;function Fn(t){if(nu(t)&&!Ha(t)&&!(t instanceof Hn)){if(t instanceof Wn)return t;if(zt.call(t,"__wrapped__"))return Uo(t)}return new Wn(t)}var Gn=function(){function t(){}return function(e){if(!eu(e))return{};if(Vt)return Vt(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function Bn(){}function Wn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function Hn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Zn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Vn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Yn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Vn;++e<n;)this.add(t[e])}function Jn(t){var e=this.__data__=new qn(t);this.size=e.size}function Kn(t,e){var n=Ha(t),r=!n&&Wa(t),i=!n&&!r&&Ya(t),o=!n&&!r&&!i&&su(t),a=n||r||i||o,u=a?Ke(t.length,Lt):[],l=u.length;for(var c in t)!e&&!zt.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_o(c,l))||u.push(c);return u}function Qn(t){var e=t.length;return e?t[Yr(0,e-1)]:i}function Xn(t,e){return zo(Ri(t),lr(e,0,t.length))}function tr(t){return zo(Ri(t))}function er(t,e,n){(n!==i&&!Fa(t[e],n)||n===i&&!(e in t))&&ar(t,e,n)}function nr(t,e,n){var r=t[e];zt.call(t,e)&&Fa(r,n)&&(n!==i||e in t)||ar(t,e,n)}function rr(t,e){for(var n=t.length;n--;)if(Fa(t[n][0],e))return n;return-1}function ir(t,e,n,r){return pr(t,(function(t,i,o){e(r,t,n(t),o)})),r}function or(t,e){return t&&ji(e,Nu(e),t)}function ar(t,e,n){"__proto__"==e&&ne?ne(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ur(t,e){for(var n=-1,o=e.length,a=r(o),u=null==t;++n<o;)a[n]=u?i:Au(t,e[n]);return a}function lr(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function cr(t,e,n,r,o,a){var u,l=1&e,c=2&e,s=4&e;if(n&&(u=o?n(t,r,o,a):n(t)),u!==i)return u;if(!eu(t))return t;var f=Ha(t);if(f){if(u=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&zt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!l)return Ri(t,u)}else{var h=vo(t),p=h==k||h==S;if(Ya(t))return Si(t,l);if(h==A||h==m||p&&!o){if(u=c||p?{}:mo(t),!l)return c?function(t,e){return ji(t,go(t),e)}(t,function(t,e){return t&&ji(e,Pu(e),t)}(u,t)):function(t,e){return ji(t,po(t),e)}(t,or(u,t))}else{if(!ce[h])return o?t:{};u=function(t,e,n){var r=t.constructor;switch(e){case $:return Ei(t);case _:case w:return new r(+t);case I:return function(t,e){var n=e?Ei(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case z:case C:case D:case M:case U:case F:case G:case B:case W:return Ti(t,n);case E:return new r;case T:case j:return new r(t);case L:return function(t){var e=new t.constructor(t.source,gt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case R:return new r;case N:return i=t,Mn?At(Mn.call(i)):{}}var i}(t,h,l)}}a||(a=new Jn);var d=a.get(t);if(d)return d;a.set(t,u),uu(t)?t.forEach((function(r){u.add(cr(r,e,n,r,t,a))})):ru(t)&&t.forEach((function(r,i){u.set(i,cr(r,e,n,i,t,a))}));var g=f?i:(s?c?oo:io:c?Pu:Nu)(t);return Le(g||t,(function(r,i){g&&(r=t[i=r]),nr(u,i,cr(r,e,n,i,t,a))})),u}function sr(t,e,n){var r=n.length;if(null==t)return!r;for(t=At(t);r--;){var o=n[r],a=e[o],u=t[o];if(u===i&&!(o in t)||!a(u))return!1}return!0}function fr(t,e,n){if("function"!=typeof t)throw new Rt(o);return No((function(){t.apply(i,n)}),e)}function hr(t,e,n,r){var i=-1,o=Pe,a=!0,u=t.length,l=[],c=e.length;if(!u)return l;n&&(e=Ie(e,Xe(n))),r?(o=$e,a=!1):e.length>=200&&(o=en,a=!1,e=new Yn(e));t:for(;++i<u;){var s=t[i],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f==f){for(var h=c;h--;)if(e[h]===f)continue t;l.push(s)}else o(e,f,r)||l.push(s)}return l}Fn.templateSettings={escape:Q,evaluate:X,interpolate:tt,variable:"",imports:{_:Fn}},Fn.prototype=Bn.prototype,Fn.prototype.constructor=Fn,Wn.prototype=Gn(Bn.prototype),Wn.prototype.constructor=Wn,Hn.prototype=Gn(Bn.prototype),Hn.prototype.constructor=Hn,Zn.prototype.clear=function(){this.__data__=Rn?Rn(null):{},this.size=0},Zn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Zn.prototype.get=function(t){var e=this.__data__;if(Rn){var n=e[t];return n===a?i:n}return zt.call(e,t)?e[t]:i},Zn.prototype.has=function(t){var e=this.__data__;return Rn?e[t]!==i:zt.call(e,t)},Zn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Rn&&e===i?a:e,this},qn.prototype.clear=function(){this.__data__=[],this.size=0},qn.prototype.delete=function(t){var e=this.__data__,n=rr(e,t);return!(n<0)&&(n==e.length-1?e.pop():Jt.call(e,n,1),--this.size,!0)},qn.prototype.get=function(t){var e=this.__data__,n=rr(e,t);return n<0?i:e[n][1]},qn.prototype.has=function(t){return rr(this.__data__,t)>-1},qn.prototype.set=function(t,e){var n=this.__data__,r=rr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Vn.prototype.clear=function(){this.size=0,this.__data__={hash:new Zn,map:new(Tn||qn),string:new Zn}},Vn.prototype.delete=function(t){var e=so(this,t).delete(t);return this.size-=e?1:0,e},Vn.prototype.get=function(t){return so(this,t).get(t)},Vn.prototype.has=function(t){return so(this,t).has(t)},Vn.prototype.set=function(t,e){var n=so(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(t){return this.__data__.set(t,a),this},Yn.prototype.has=function(t){return this.__data__.has(t)},Jn.prototype.clear=function(){this.__data__=new qn,this.size=0},Jn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Jn.prototype.get=function(t){return this.__data__.get(t)},Jn.prototype.has=function(t){return this.__data__.has(t)},Jn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!Tn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Vn(r)}return n.set(t,e),this.size=n.size,this};var pr=$i(wr),dr=$i(xr,!0);function gr(t,e){var n=!0;return pr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function vr(t,e,n){for(var r=-1,o=t.length;++r<o;){var a=t[r],u=e(a);if(null!=u&&(l===i?u==u&&!cu(u):n(u,l)))var l=u,c=a}return c}function yr(t,e){var n=[];return pr(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function mr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=bo),i||(i=[]);++o<a;){var u=t[o];e>0&&n(u)?e>1?mr(u,e-1,n,r,i):ze(i,u):r||(i[i.length]=u)}return i}var br=Ii(),_r=Ii(!0);function wr(t,e){return t&&br(t,e,Nu)}function xr(t,e){return t&&_r(t,e,Nu)}function kr(t,e){return Ne(e,(function(e){return Qa(t[e])}))}function Sr(t,e){for(var n=0,r=(e=_i(e,t)).length;null!=t&&n<r;)t=t[Do(e[n++])];return n&&n==r?t:i}function Er(t,e,n){var r=e(t);return Ha(t)?r:ze(r,n(t))}function Tr(t){return null==t?t===i?"[object Undefined]":"[object Null]":Xt&&Xt in At(t)?function(t){var e=zt.call(t,Xt),n=t[Xt];try{t[Xt]=i;var r=!0}catch(t){}var o=Mt.call(t);r&&(e?t[Xt]=n:delete t[Xt]);return o}(t):function(t){return Mt.call(t)}(t)}function Ar(t,e){return t>e}function Or(t,e){return null!=t&&zt.call(t,e)}function Lr(t,e){return null!=t&&e in At(t)}function Rr(t,e,n){for(var o=n?$e:Pe,a=t[0].length,u=t.length,l=u,c=r(u),s=1/0,f=[];l--;){var h=t[l];l&&e&&(h=Ie(h,Xe(e))),s=_n(h.length,s),c[l]=!n&&(e||a>=120&&h.length>=120)?new Yn(l&&h):i}h=t[0];var p=-1,d=c[0];t:for(;++p<a&&f.length<s;){var g=h[p],v=e?e(g):g;if(g=n||0!==g?g:0,!(d?en(d,v):o(f,v,n))){for(l=u;--l;){var y=c[l];if(!(y?en(y,v):o(t[l],v,n)))continue t}d&&d.push(v),f.push(g)}}return f}function jr(t,e,n){var r=null==(t=Lo(t,e=_i(e,t)))?t:t[Do(Ko(e))];return null==r?i:Ae(r,t,n)}function Nr(t){return nu(t)&&Tr(t)==m}function Pr(t,e,n,r,o){return t===e||(null==t||null==e||!nu(t)&&!nu(e)?t!=t&&e!=e:function(t,e,n,r,o,a){var u=Ha(t),l=Ha(e),c=u?b:vo(t),s=l?b:vo(e),f=(c=c==m?A:c)==A,h=(s=s==m?A:s)==A,p=c==s;if(p&&Ya(t)){if(!Ya(e))return!1;u=!0,f=!1}if(p&&!f)return a||(a=new Jn),u||su(t)?no(t,e,n,r,o,a):function(t,e,n,r,i,o,a){switch(n){case I:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case $:return!(t.byteLength!=e.byteLength||!o(new Ht(t),new Ht(e)));case _:case w:case T:return Fa(+t,+e);case x:return t.name==e.name&&t.message==e.message;case L:case j:return t==e+"";case E:var u=cn;case R:var l=1&r;if(u||(u=hn),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;r|=2,a.set(t,e);var s=no(u(t),u(e),r,i,o,a);return a.delete(t),s;case N:if(Mn)return Mn.call(t)==Mn.call(e)}return!1}(t,e,c,n,r,o,a);if(!(1&n)){var d=f&&zt.call(t,"__wrapped__"),g=h&&zt.call(e,"__wrapped__");if(d||g){var v=d?t.value():t,y=g?e.value():e;return a||(a=new Jn),o(v,y,n,r,a)}}if(!p)return!1;return a||(a=new Jn),function(t,e,n,r,o,a){var u=1&n,l=io(t),c=l.length,s=io(e),f=s.length;if(c!=f&&!u)return!1;var h=c;for(;h--;){var p=l[h];if(!(u?p in e:zt.call(e,p)))return!1}var d=a.get(t),g=a.get(e);if(d&&g)return d==e&&g==t;var v=!0;a.set(t,e),a.set(e,t);var y=u;for(;++h<c;){var m=t[p=l[h]],b=e[p];if(r)var _=u?r(b,m,p,e,t,a):r(m,b,p,t,e,a);if(!(_===i?m===b||o(m,b,n,r,a):_)){v=!1;break}y||(y="constructor"==p)}if(v&&!y){var w=t.constructor,x=e.constructor;w==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(v=!1)}return a.delete(t),a.delete(e),v}(t,e,n,r,o,a)}(t,e,n,r,Pr,o))}function $r(t,e,n,r){var o=n.length,a=o,u=!r;if(null==t)return!a;for(t=At(t);o--;){var l=n[o];if(u&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<a;){var c=(l=n[o])[0],s=t[c],f=l[1];if(u&&l[2]){if(s===i&&!(c in t))return!1}else{var h=new Jn;if(r)var p=r(s,f,c,t,e,h);if(!(p===i?Pr(f,s,3,r,h):p))return!1}}return!0}function Ir(t){return!(!eu(t)||(e=t,Dt&&Dt in e))&&(Qa(t)?Gt:mt).test(Mo(t));var e}function zr(t){return"function"==typeof t?t:null==t?il:"object"==typeof t?Ha(t)?Gr(t[0],t[1]):Fr(t):pl(t)}function Cr(t){if(!Eo(t))return Ve(t);var e=[];for(var n in At(t))zt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Dr(t){if(!eu(t))return function(t){var e=[];if(null!=t)for(var n in At(t))e.push(n);return e}(t);var e=Eo(t),n=[];for(var r in t)("constructor"!=r||!e&&zt.call(t,r))&&n.push(r);return n}function Mr(t,e){return t<e}function Ur(t,e){var n=-1,i=qa(t)?r(t.length):[];return pr(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function Fr(t){var e=fo(t);return 1==e.length&&e[0][2]?Ao(e[0][0],e[0][1]):function(n){return n===t||$r(n,t,e)}}function Gr(t,e){return xo(t)&&To(e)?Ao(Do(t),e):function(n){var r=Au(n,t);return r===i&&r===e?Ou(n,t):Pr(e,r,3)}}function Br(t,e,n,r,o){t!==e&&br(e,(function(a,u){if(o||(o=new Jn),eu(a))!function(t,e,n,r,o,a,u){var l=Ro(t,n),c=Ro(e,n),s=u.get(c);if(s)return void er(t,n,s);var f=a?a(l,c,n+"",t,e,u):i,h=f===i;if(h){var p=Ha(c),d=!p&&Ya(c),g=!p&&!d&&su(c);f=c,p||d||g?Ha(l)?f=l:Va(l)?f=Ri(l):d?(h=!1,f=Si(c,!0)):g?(h=!1,f=Ti(c,!0)):f=[]:ou(c)||Wa(c)?(f=l,Wa(l)?f=mu(l):eu(l)&&!Qa(l)||(f=mo(c))):h=!1}h&&(u.set(c,f),o(f,c,r,a,u),u.delete(c));er(t,n,f)}(t,e,u,n,Br,r,o);else{var l=r?r(Ro(t,u),a,u+"",t,e,o):i;l===i&&(l=a),er(t,u,l)}}),Pu)}function Wr(t,e){var n=t.length;if(n)return _o(e+=e<0?n:0,n)?t[e]:i}function Hr(t,e,n){e=e.length?Ie(e,(function(t){return Ha(t)?function(e){return Sr(e,1===t.length?t[0]:t)}:t})):[il];var r=-1;e=Ie(e,Xe(co()));var i=Ur(t,(function(t,n,i){var o=Ie(e,(function(e){return e(t)}));return{criteria:o,index:++r,value:t}}));return function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(i,(function(t,e){return function(t,e,n){var r=-1,i=t.criteria,o=e.criteria,a=i.length,u=n.length;for(;++r<a;){var l=Ai(i[r],o[r]);if(l)return r>=u?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function Zr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],u=Sr(t,a);n(u,a)&&ti(o,_i(a,t),u)}return o}function qr(t,e,n,r){var i=r?We:Be,o=-1,a=e.length,u=t;for(t===e&&(e=Ri(e)),n&&(u=Ie(t,Xe(n)));++o<a;)for(var l=0,c=e[o],s=n?n(c):c;(l=i(u,s,l,r))>-1;)u!==t&&Jt.call(u,l,1),Jt.call(t,l,1);return t}function Vr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;_o(i)?Jt.call(t,i,1):hi(t,i)}}return t}function Yr(t,e){return t+ve(kn()*(e-t+1))}function Jr(t,e){var n="";if(!t||e<1||e>d)return n;do{e%2&&(n+=t),(e=ve(e/2))&&(t+=t)}while(e);return n}function Kr(t,e){return Po(Oo(t,e,il),t+"")}function Qr(t){return Qn(Fu(t))}function Xr(t,e){var n=Fu(t);return zo(n,lr(e,0,n.length))}function ti(t,e,n,r){if(!eu(t))return t;for(var o=-1,a=(e=_i(e,t)).length,u=a-1,l=t;null!=l&&++o<a;){var c=Do(e[o]),s=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var f=l[c];(s=r?r(f,c,l):i)===i&&(s=eu(f)?f:_o(e[o+1])?[]:{})}nr(l,c,s),l=l[c]}return t}var ei=jn?function(t,e){return jn.set(t,e),t}:il,ni=ne?function(t,e){return ne(t,"toString",{configurable:!0,enumerable:!1,value:el(e),writable:!0})}:il;function ri(t){return zo(Fu(t))}function ii(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i<o;)a[i]=t[i+e];return a}function oi(t,e){var n;return pr(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function ai(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!cu(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return ui(t,e,il,n)}function ui(t,e,n,r){var o=0,a=null==t?0:t.length;if(0===a)return 0;for(var u=(e=n(e))!=e,l=null===e,c=cu(e),s=e===i;o<a;){var f=ve((o+a)/2),h=n(t[f]),p=h!==i,d=null===h,g=h==h,v=cu(h);if(u)var y=r||g;else y=s?g&&(r||p):l?g&&p&&(r||!d):c?g&&p&&!d&&(r||!v):!d&&!v&&(r?h<=e:h<e);y?o=f+1:a=f}return _n(a,4294967294)}function li(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],u=e?e(a):a;if(!n||!Fa(u,l)){var l=u;o[i++]=0===a?0:a}}return o}function ci(t){return"number"==typeof t?t:cu(t)?g:+t}function si(t){if("string"==typeof t)return t;if(Ha(t))return Ie(t,si)+"";if(cu(t))return Un?Un.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function fi(t,e,n){var r=-1,i=Pe,o=t.length,a=!0,u=[],l=u;if(n)a=!1,i=$e;else if(o>=200){var c=e?null:Ji(t);if(c)return hn(c);a=!1,i=en,l=new Yn}else l=e?[]:u;t:for(;++r<o;){var s=t[r],f=e?e(s):s;if(s=n||0!==s?s:0,a&&f==f){for(var h=l.length;h--;)if(l[h]===f)continue t;e&&l.push(f),u.push(s)}else i(l,f,n)||(l!==u&&l.push(f),u.push(s))}return u}function hi(t,e){return null==(t=Lo(t,e=_i(e,t)))||delete t[Do(Ko(e))]}function pi(t,e,n,r){return ti(t,e,n(Sr(t,e)),r)}function di(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ii(t,r?0:o,r?o+1:i):ii(t,r?o+1:0,r?i:o)}function gi(t,e){var n=t;return n instanceof Hn&&(n=n.value()),Ce(e,(function(t,e){return e.func.apply(e.thisArg,ze([t],e.args))}),n)}function vi(t,e,n){var i=t.length;if(i<2)return i?fi(t[0]):[];for(var o=-1,a=r(i);++o<i;)for(var u=t[o],l=-1;++l<i;)l!=o&&(a[o]=hr(a[o]||u,t[l],e,n));return fi(mr(a,1),e,n)}function yi(t,e,n){for(var r=-1,o=t.length,a=e.length,u={};++r<o;){var l=r<a?e[r]:i;n(u,t[r],l)}return u}function mi(t){return Va(t)?t:[]}function bi(t){return"function"==typeof t?t:il}function _i(t,e){return Ha(t)?t:xo(t,e)?[t]:Co(bu(t))}var wi=Kr;function xi(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:ii(t,e,n)}var ki=ie||function(t){return ge.clearTimeout(t)};function Si(t,e){if(e)return t.slice();var n=t.length,r=Zt?Zt(n):new t.constructor(n);return t.copy(r),r}function Ei(t){var e=new t.constructor(t.byteLength);return new Ht(e).set(new Ht(t)),e}function Ti(t,e){var n=e?Ei(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ai(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,a=cu(t),u=e!==i,l=null===e,c=e==e,s=cu(e);if(!l&&!s&&!a&&t>e||a&&u&&c&&!l&&!s||r&&u&&c||!n&&c||!o)return 1;if(!r&&!a&&!s&&t<e||s&&n&&o&&!r&&!a||l&&n&&o||!u&&o||!c)return-1}return 0}function Oi(t,e,n,i){for(var o=-1,a=t.length,u=n.length,l=-1,c=e.length,s=bn(a-u,0),f=r(c+s),h=!i;++l<c;)f[l]=e[l];for(;++o<u;)(h||o<a)&&(f[n[o]]=t[o]);for(;s--;)f[l++]=t[o++];return f}function Li(t,e,n,i){for(var o=-1,a=t.length,u=-1,l=n.length,c=-1,s=e.length,f=bn(a-l,0),h=r(f+s),p=!i;++o<f;)h[o]=t[o];for(var d=o;++c<s;)h[d+c]=e[c];for(;++u<l;)(p||o<a)&&(h[d+n[u]]=t[o++]);return h}function Ri(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function ji(t,e,n,r){var o=!n;n||(n={});for(var a=-1,u=e.length;++a<u;){var l=e[a],c=r?r(n[l],t[l],l,n,t):i;c===i&&(c=t[l]),o?ar(n,l,c):nr(n,l,c)}return n}function Ni(t,e){return function(n,r){var i=Ha(n)?Oe:ir,o=e?e():{};return i(n,t,co(r,2),o)}}function Pi(t){return Kr((function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,u=o>2?n[2]:i;for(a=t.length>3&&"function"==typeof a?(o--,a):i,u&&wo(n[0],n[1],u)&&(a=o<3?i:a,o=1),e=At(e);++r<o;){var l=n[r];l&&t(e,l,r,a)}return e}))}function $i(t,e){return function(n,r){if(null==n)return n;if(!qa(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=At(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Ii(t){return function(e,n,r){for(var i=-1,o=At(e),a=r(e),u=a.length;u--;){var l=a[t?u:++i];if(!1===n(o[l],l,o))break}return e}}function zi(t){return function(e){var n=ln(e=bu(e))?gn(e):i,r=n?n[0]:e.charAt(0),o=n?xi(n,1).join(""):e.slice(1);return r[t]()+o}}function Ci(t){return function(e){return Ce(Qu(Wu(e).replace(te,"")),t,"")}}function Di(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Gn(t.prototype),r=t.apply(n,e);return eu(r)?r:n}}function Mi(t){return function(e,n,r){var o=At(e);if(!qa(e)){var a=co(n,3);e=Nu(e),n=function(t){return a(o[t],t,o)}}var u=t(e,n,r);return u>-1?o[a?e[u]:u]:i}}function Ui(t){return ro((function(e){var n=e.length,r=n,a=Wn.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new Rt(o);if(a&&!