Your IP : 216.73.216.93


Current Path : /home/users/unlimited/www/web.medimeet.codeskitter.site/assets/
Upload File :
Current File : /home/users/unlimited/www/web.medimeet.codeskitter.site/assets/Webpage-CCgGf1L_.js

import{d as Yt,j as M,O as jt,bO as Xt,B as le,T as Vt,bP as $t,f as qt}from"./index-DjKxDI5z.js";/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */const{entries:_t,setPrototypeOf:st,isFrozen:Kt,getPrototypeOf:Zt,getOwnPropertyDescriptor:Qt}=Object;let{freeze:S,seal:O,create:Et}=Object,{apply:xe,construct:Pe}=typeof Reflect<"u"&&Reflect;S||(S=function(n){return n});O||(O=function(n){return n});xe||(xe=function(n,l,a){return n.apply(l,a)});Pe||(Pe=function(n,l){return new n(...l)});const ce=R(Array.prototype.forEach),Jt=R(Array.prototype.lastIndexOf),lt=R(Array.prototype.pop),$=R(Array.prototype.push),en=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),De=R(String.prototype.toString),ct=R(String.prototype.match),q=R(String.prototype.replace),tn=R(String.prototype.indexOf),nn=R(String.prototype.trim),b=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=on(TypeError);function R(r){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),u=1;u<l;u++)a[u-1]=arguments[u];return xe(r,n,a)}}function on(r){return function(){for(var n=arguments.length,l=new Array(n),a=0;a<n;a++)l[a]=arguments[a];return Pe(r,l)}}function s(r,n){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;st&&st(r,null);let a=n.length;for(;a--;){let u=n[a];if(typeof u=="string"){const L=l(u);L!==u&&(Kt(n)||(n[a]=L),u=L)}r[u]=!0}return r}function an(r){for(let n=0;n<r.length;n++)b(r,n)||(r[n]=null);return r}function P(r){const n=Et(null);for(const[l,a]of _t(r))b(r,l)&&(Array.isArray(a)?n[l]=an(a):a&&typeof a=="object"&&a.constructor===Object?n[l]=P(a):n[l]=a);return n}function Z(r,n){for(;r!==null;){const a=Qt(r,n);if(a){if(a.get)return R(a.get);if(typeof a.value=="function")return R(a.value)}r=Zt(r)}function l(){return null}return l}const ft=S(["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"]),Ie=S(["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"]),Me=S(["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"]),rn=S(["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"]),Ce=S(["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"]),sn=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ut=S(["#text"]),mt=S(["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","popover","popovertarget","popovertargetaction","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","wrap","xmlns","slot"]),we=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","exponent","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","intercept","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","slope","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","tablevalues","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"]),pt=S(["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"]),fe=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ln=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),cn=O(/<%[\w\W]*|[\w\W]*%>/gm),fn=O(/\$\{[\w\W]*/gm),un=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),mn=O(/^aria-[\-\w]+$/),gt=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),pn=O(/^(?:\w+script|data):/i),dn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ht=O(/^html$/i),Tn=O(/^[a-z][.\w]*(-[.\w]+)+$/i);var dt=Object.freeze({__proto__:null,ARIA_ATTR:mn,ATTR_WHITESPACE:dn,CUSTOM_ELEMENT:Tn,DATA_ATTR:un,DOCTYPE_NAME:ht,ERB_EXPR:cn,IS_ALLOWED_URI:gt,IS_SCRIPT_OR_DATA:pn,MUSTACHE_EXPR:ln,TMPLIT_EXPR:fn});const Q={element:1,text:3,progressingInstruction:7,comment:8,document:9},_n=function(){return typeof window>"u"?null:window},En=function(n,l){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let a=null;const u="data-tt-policy-suffix";l&&l.hasAttribute(u)&&(a=l.getAttribute(u));const L="dompurify"+(a?"#"+a:"");try{return n.createPolicy(L,{createHTML(N){return N},createScriptURL(N){return N}})}catch{return console.warn("TrustedTypes policy "+L+" could not be created."),null}},Tt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function At(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_n();const n=i=>At(i);if(n.version="3.2.5",n.removed=[],!r||!r.document||r.document.nodeType!==Q.document||!r.Element)return n.isSupported=!1,n;let{document:l}=r;const a=l,u=a.currentScript,{DocumentFragment:L,HTMLTemplateElement:N,Node:me,Element:ve,NodeFilter:G,NamedNodeMap:St=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:Rt,DOMParser:yt,trustedTypes:J}=r,W=ve.prototype,Ot=Z(W,"cloneNode"),Lt=Z(W,"remove"),bt=Z(W,"nextSibling"),Nt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof N=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let E,B="";const{implementation:pe,createNodeIterator:Dt,createDocumentFragment:It,getElementsByTagName:Mt}=l,{importNode:Ct}=a;let g=Tt();n.isSupported=typeof _t=="function"&&typeof ee=="function"&&pe&&pe.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:de,ERB_EXPR:Te,TMPLIT_EXPR:_e,DATA_ATTR:wt,ARIA_ATTR:xt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:ke,CUSTOM_ELEMENT:vt}=dt;let{IS_ALLOWED_URI:Ue}=dt,m=null;const Fe=s({},[...ft,...Ie,...Me,...Ce,...ut]);let d=null;const He=s({},[...mt,...we,...pt,...fe]);let f=Object.seal(Et(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}})),Y=null,Ee=null,ze=!0,ge=!0,Ge=!1,We=!0,v=!1,he=!0,x=!1,Ae=!1,Se=!1,k=!1,te=!1,ne=!1,Be=!0,Ye=!1;const kt="user-content-";let Re=!0,j=!1,U={},F=null;const je=s({},["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 Xe=null;const Ve=s({},["audio","video","img","source","image","track"]);let ye=null;const $e=s({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),oe="http://www.w3.org/1998/Math/MathML",ie="http://www.w3.org/2000/svg",C="http://www.w3.org/1999/xhtml";let H=C,Oe=!1,Le=null;const Ut=s({},[oe,ie,C],De);let ae=s({},["mi","mo","mn","ms","mtext"]),re=s({},["annotation-xml"]);const Ft=s({},["title","style","font","a","script"]);let X=null;const Ht=["application/xhtml+xml","text/html"],zt="text/html";let p=null,z=null;const Gt=l.createElement("form"),qe=function(e){return e instanceof RegExp||e instanceof Function},be=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(z&&z===e)){if((!e||typeof e!="object")&&(e={}),e=P(e),X=Ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?zt:e.PARSER_MEDIA_TYPE,p=X==="application/xhtml+xml"?De:ue,m=b(e,"ALLOWED_TAGS")?s({},e.ALLOWED_TAGS,p):Fe,d=b(e,"ALLOWED_ATTR")?s({},e.ALLOWED_ATTR,p):He,Le=b(e,"ALLOWED_NAMESPACES")?s({},e.ALLOWED_NAMESPACES,De):Ut,ye=b(e,"ADD_URI_SAFE_ATTR")?s(P($e),e.ADD_URI_SAFE_ATTR,p):$e,Xe=b(e,"ADD_DATA_URI_TAGS")?s(P(Ve),e.ADD_DATA_URI_TAGS,p):Ve,F=b(e,"FORBID_CONTENTS")?s({},e.FORBID_CONTENTS,p):je,Y=b(e,"FORBID_TAGS")?s({},e.FORBID_TAGS,p):{},Ee=b(e,"FORBID_ATTR")?s({},e.FORBID_ATTR,p):{},U=b(e,"USE_PROFILES")?e.USE_PROFILES:!1,ze=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,Ge=e.ALLOW_UNKNOWN_PROTOCOLS||!1,We=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,v=e.SAFE_FOR_TEMPLATES||!1,he=e.SAFE_FOR_XML!==!1,x=e.WHOLE_DOCUMENT||!1,k=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,Se=e.FORCE_BODY||!1,Be=e.SANITIZE_DOM!==!1,Ye=e.SANITIZE_NAMED_PROPS||!1,Re=e.KEEP_CONTENT!==!1,j=e.IN_PLACE||!1,Ue=e.ALLOWED_URI_REGEXP||gt,H=e.NAMESPACE||C,ae=e.MATHML_TEXT_INTEGRATION_POINTS||ae,re=e.HTML_INTEGRATION_POINTS||re,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&qe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&qe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),v&&(ge=!1),te&&(k=!0),U&&(m=s({},ut),d=[],U.html===!0&&(s(m,ft),s(d,mt)),U.svg===!0&&(s(m,Ie),s(d,we),s(d,fe)),U.svgFilters===!0&&(s(m,Me),s(d,we),s(d,fe)),U.mathMl===!0&&(s(m,Ce),s(d,pt),s(d,fe))),e.ADD_TAGS&&(m===Fe&&(m=P(m)),s(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===He&&(d=P(d)),s(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&s(ye,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(F===je&&(F=P(F)),s(F,e.FORBID_CONTENTS,p)),Re&&(m["#text"]=!0),x&&s(m,["html","head","body"]),m.table&&(s(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=e.TRUSTED_TYPES_POLICY,B=E.createHTML("")}else E===void 0&&(E=En(J,u)),E!==null&&typeof B=="string"&&(B=E.createHTML(""));S&&S(e),z=e}},Ke=s({},[...Ie,...Me,...rn]),Ze=s({},[...Ce,...sn]),Wt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:H,tagName:"template"});const o=ue(e.tagName),c=ue(t.tagName);return Le[e.namespaceURI]?e.namespaceURI===ie?t.namespaceURI===C?o==="svg":t.namespaceURI===oe?o==="svg"&&(c==="annotation-xml"||ae[c]):!!Ke[o]:e.namespaceURI===oe?t.namespaceURI===C?o==="math":t.namespaceURI===ie?o==="math"&&re[c]:!!Ze[o]:e.namespaceURI===C?t.namespaceURI===ie&&!re[c]||t.namespaceURI===oe&&!ae[c]?!1:!Ze[o]&&(Ft[o]||!Ke[o]):!!(X==="application/xhtml+xml"&&Le[e.namespaceURI]):!1},D=function(e){$(n.removed,{element:e});try{ee(e).removeChild(e)}catch{Lt(e)}},se=function(e,t){try{$(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(k||te)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Qe=function(e){let t=null,o=null;if(Se)e="<remove></remove>"+e;else{const T=ct(e,/^[\r\n\t ]+/);o=T&&T[0]}X==="application/xhtml+xml"&&H===C&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const c=E?E.createHTML(e):e;if(H===C)try{t=new yt().parseFromString(c,X)}catch{}if(!t||!t.documentElement){t=pe.createDocument(H,"template",null);try{t.documentElement.innerHTML=Oe?B:c}catch{}}const _=t.body||t.documentElement;return e&&o&&_.insertBefore(l.createTextNode(o),_.childNodes[0]||null),H===C?Mt.call(t,x?"html":"body")[0]:x?t.documentElement:_},Je=function(e){return Dt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Ne=function(e){return e instanceof Rt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof St)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},et=function(e){return typeof me=="function"&&e instanceof me};function w(i,e,t){ce(i,o=>{o.call(n,e,t,z)})}const tt=function(e){let t=null;if(w(g.beforeSanitizeElements,e,null),Ne(e))return D(e),!0;const o=p(e.nodeName);if(w(g.uponSanitizeElement,e,{tagName:o,allowedTags:m}),e.hasChildNodes()&&!et(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||he&&e.nodeType===Q.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!m[o]||Y[o]){if(!Y[o]&&ot(o)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o)))return!1;if(Re&&!F[o]){const c=ee(e)||e.parentNode,_=Nt(e)||e.childNodes;if(_&&c){const T=_.length;for(let y=T-1;y>=0;--y){const I=Ot(_[y],!0);I.__removalCount=(e.__removalCount||0)+1,c.insertBefore(I,bt(e))}}}return D(e),!0}return e instanceof ve&&!Wt(e)||(o==="noscript"||o==="noembed"||o==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(v&&e.nodeType===Q.text&&(t=e.textContent,ce([de,Te,_e],c=>{t=q(t,c," ")}),e.textContent!==t&&($(n.removed,{element:e.cloneNode()}),e.textContent=t)),w(g.afterSanitizeElements,e,null),!1)},nt=function(e,t,o){if(Be&&(t==="id"||t==="name")&&(o in l||o in Gt))return!1;if(!(ge&&!Ee[t]&&A(wt,t))){if(!(ze&&A(xt,t))){if(!d[t]||Ee[t]){if(!(ot(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,o)||f.tagNameCheck instanceof Function&&f.tagNameCheck(o))))return!1}else if(!ye[t]){if(!A(Ue,q(o,ke,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&tn(o,"data:")===0&&Xe[e])){if(!(Ge&&!A(Pt,q(o,ke,"")))){if(o)return!1}}}}}}return!0},ot=function(e){return e!=="annotation-xml"&&ct(e,vt)},it=function(e){w(g.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ne(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let c=t.length;for(;c--;){const _=t[c],{name:T,namespaceURI:y,value:I}=_,V=p(T);let h=T==="value"?I:nn(I);if(o.attrName=V,o.attrValue=h,o.keepAttr=!0,o.forceKeepAttr=void 0,w(g.uponSanitizeAttribute,e,o),h=o.attrValue,Ye&&(V==="id"||V==="name")&&(se(T,e),h=kt+h),he&&A(/((--!?|])>)|<\/(style|title)/i,h)){se(T,e);continue}if(o.forceKeepAttr||(se(T,e),!o.keepAttr))continue;if(!We&&A(/\/>/i,h)){se(T,e);continue}v&&ce([de,Te,_e],rt=>{h=q(h,rt," ")});const at=p(e.nodeName);if(nt(at,V,h)){if(E&&typeof J=="object"&&typeof J.getAttributeType=="function"&&!y)switch(J.getAttributeType(at,V)){case"TrustedHTML":{h=E.createHTML(h);break}case"TrustedScriptURL":{h=E.createScriptURL(h);break}}try{y?e.setAttributeNS(y,T,h):e.setAttribute(T,h),Ne(e)?D(e):lt(n.removed)}catch{}}}w(g.afterSanitizeAttributes,e,null)},Bt=function i(e){let t=null;const o=Je(e);for(w(g.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)w(g.uponSanitizeShadowNode,t,null),tt(t),it(t),t.content instanceof L&&i(t.content);w(g.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,o=null,c=null,_=null;if(Oe=!i,Oe&&(i="<!-->"),typeof i!="string"&&!et(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!n.isSupported)return i;if(Ae||be(e),n.removed=[],typeof i=="string"&&(j=!1),j){if(i.nodeName){const I=p(i.nodeName);if(!m[I]||Y[I])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof me)t=Qe("<!---->"),o=t.ownerDocument.importNode(i,!0),o.nodeType===Q.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?t=o:t.appendChild(o);else{if(!k&&!v&&!x&&i.indexOf("<")===-1)return E&&ne?E.createHTML(i):i;if(t=Qe(i),!t)return k?null:ne?B:""}t&&Se&&D(t.firstChild);const T=Je(j?i:t);for(;c=T.nextNode();)tt(c),it(c),c.content instanceof L&&Bt(c.content);if(j)return i;if(k){if(te)for(_=It.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Ct.call(a,_,!0)),_}let y=x?t.outerHTML:t.innerHTML;return x&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(ht,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
`+y),v&&ce([de,Te,_e],I=>{y=q(y,I," ")}),E&&ne?E.createHTML(y):y},n.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};be(i),Ae=!0},n.clearConfig=function(){z=null,Ae=!1},n.isValidAttribute=function(i,e,t){z||be({});const o=p(i),c=p(e);return nt(o,c,t)},n.addHook=function(i,e){typeof e=="function"&&$(g[i],e)},n.removeHook=function(i,e){if(e!==void 0){const t=Jt(g[i],e);return t===-1?void 0:en(g[i],t,1)[0]}return lt(g[i])},n.removeHooks=function(i){g[i]=[]},n.removeAllHooks=function(){g=Tt()},n}var gn=At();function An({id:r}){const n=async()=>{const N=await qt(`get_web_page/page/${r}`);if(N.response!==200)throw new Error(N.message);return N.data},{isLoading:l,data:a,error:u}=Yt({queryKey:["web-page",r],queryFn:n});if(l)return M.jsx(jt,{});if(!a||u)return M.jsx(Xt,{});const L=gn.sanitize(a.body);return M.jsxs(le,{children:[" ",M.jsx(le,{bg:"primary.main",p:4,py:{base:"4",md:"10"},children:M.jsx(le,{className:"container",children:M.jsx(Vt,{fontFamily:"Quicksand, sans-serif",fontSize:{base:20,md:32},fontWeight:700,textAlign:"center",mt:0,color:"#fff",children:a==null?void 0:a.title})})})," ",M.jsx(le,{className:"container",mt:5,pb:20,px:5,children:M.jsxs($t,{resetCSS:!1,children:[" ",a&&M.jsx("div",{className:"no-chakra",children:M.jsx("div",{dangerouslySetInnerHTML:{__html:L}})})]})})]})}export{An as default};