You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/266.db0f12ac.async.js

2 lines
18 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[266],{qZ2Q:function(ot,Yt,qt){/*! @license DOMPurify 2.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.3/LICENSE */(function(Me,te){ot.exports=te()})(this,function(){"use strict";function Me(a){if(Array.isArray(a)){for(var r=0,o=Array(a.length);r<a.length;r++)o[r]=a[r];return o}else return Array.from(a)}var te=Object.hasOwnProperty,Oe=Object.setPrototypeOf,st=Object.isFrozen,lt=Object.getPrototypeOf,ut=Object.getOwnPropertyDescriptor,v=Object.freeze,T=Object.seal,ct=Object.create,Se=typeof Reflect!="undefined"&&Reflect,B=Se.apply,ae=Se.construct;B||(B=function(r,o,l){return r.apply(o,l)}),v||(v=function(r){return r}),T||(T=function(r){return r}),ae||(ae=function(r,o){return new(Function.prototype.bind.apply(r,[null].concat(Me(o))))});var ft=y(Array.prototype.forEach),Re=y(Array.prototype.pop),H=y(Array.prototype.push),j=y(String.prototype.toLowerCase),ke=y(String.prototype.match),E=y(String.prototype.replace),dt=y(String.prototype.indexOf),mt=y(String.prototype.trim),_=y(RegExp.prototype.test),xe=pt(TypeError);function y(a){return function(r){for(var o=arguments.length,l=Array(o>1?o-1:0),c=1;c<o;c++)l[c-1]=arguments[c];return B(a,r,l)}}function pt(a){return function(){for(var r=arguments.length,o=Array(r),l=0;l<r;l++)o[l]=arguments[l];return ae(a,o)}}function s(a,r){Oe&&Oe(a,null);for(var o=r.length;o--;){var l=r[o];if(typeof l=="string"){var c=j(l);c!==l&&(st(r)||(r[o]=c),l=c)}a[l]=!0}return a}function S(a){var r=ct(null),o=void 0;for(o in a)B(te,a,[o])&&(r[o]=a[o]);return r}function V(a,r){for(;a!==null;){var o=ut(a,r);if(o){if(o.get)return y(o.get);if(typeof o.value=="function")return y(o.value)}a=lt(a)}function l(c){return console.warn("fallback value for",c),null}return l}var Le=v(["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"]),re=v(["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"]),ne=v(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ht=v(["animate","color-profile","cursor","discard","fedropshadow","feimage","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"]),ie=v(["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"]),vt=v(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ne=v(["#text"]),Ie=v(["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","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"]),oe=v(["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","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"]),Pe=v(["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"]),$=v(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),yt=T(/\{\{[\s\S]*|[\s\S]*\}\}/gm),gt=T(/<%[\s\S]*|[\s\S]*%>/gm),bt=T(/^data-[\-\w.\u00B7-\uFFFF]/),Tt=T(/^aria-[\-\w]+$/),_t=T(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),At=T(/^(?:\w+script|data):/i),wt=T(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};function g(a){if(Array.isArray(a)){for(var r=0,o=Array(a.length);r<a.length;r++)o[r]=a[r];return o}else return Array.from(a)}var Dt=function(){return typeof window=="undefined"?null:window},Et=function(r,o){if((typeof r=="undefined"?"undefined":U(r))!=="object"||typeof r.createPolicy!="function")return null;var l=null,c="data-tt-policy-suffix";o.currentScript&&o.currentScript.hasAttribute(c)&&(l=o.currentScript.getAttribute(c));var K="dompurify"+(l?"#"+l:"");try{return r.createPolicy(K,{createHTML:function(X){return X}})}catch(R){return console.warn("TrustedTypes policy "+K+" could not be created."),null}};function Ce(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dt(),r=function(e){return Ce(e)};if(r.version="2.3.3",r.removed=[],!a||!a.document||a.document.nodeType!==9)return r.isSupported=!1,r;var o=a.document,l=a.document,c=a.DocumentFragment,K=a.HTMLTemplateElement,R=a.Node,X=a.Element,se=a.NodeFilter,Fe=a.NamedNodeMap,Ot=Fe===void 0?a.NamedNodeMap||a.MozNamedAttrMap:Fe,St=a.Text,Rt=a.Comment,kt=a.DOMParser,xt=a.trustedTypes,Y=X.prototype,Lt=V(Y,"cloneNode"),Nt=V(Y,"nextSibling"),It=V(Y,"childNodes"),le=V(Y,"parentNode");if(typeof K=="function"){var ue=l.createElement("template");ue.content&&ue.content.ownerDocument&&(l=ue.content.ownerDocument)}var M=Et(xt,o),He=M&&Z?M.createHTML(""):"",q=l,ce=q.implementation,Pt=q.createNodeIterator,Ct=q.createDocumentFragment,Ft=q.getElementsByTagName,Ht=o.importNode,Ue={};try{Ue=S(l).documentMode?l.documentMode:{}}catch(i){}var b={};r.isSupported=typeof le=="function"&&ce&&typeof ce.createHTMLDocument!="undefined"&&Ue!==9;var fe=yt,de=gt,Ut=bt,zt=Tt,Gt=At,ze=wt,me=_t,f=null,Ge=s({},[].concat(g(Le),g(re),g(ne),g(ie),g(Ne))),d=null,We=s({},[].concat(g(Ie),g(oe),g(Pe),g($))),pe=null,he=null,Be=!0,ve=!0,je=!1,k=!1,x=!1,ye=!1,ge=!1,L=!1,J=!1,Ve=!0,Z=!1,$e=!0,be=!0,z=!1,N={},I=null,Ke=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"]),Xe=null,Ye=s({},["audio","video","img","source","image","track"]),Te=null,qe=s({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_e="http://www.w3.org/1998/Math/MathML",Ae="http://www.w3.org/2000/svg",O="http://www.w3.org/1999/xhtml",Q=O,we=!1,P=void 0,Wt=["application/xhtml+xml","text/html"],Bt="text/html",C=void 0,F=null,jt=l.createElement("form"),De=function(e){if(F&&F===e)return;(!e||(typeof e=="undefined"?"undefined":U(e))!=="object")&&(e={}),e=S(e),f="ALLOWED_TAGS"in e?s({},e.ALLOWED_TAGS):Ge,d="ALLOWED_ATTR"in e?s({},e.ALLOWED_ATTR):We,Te="ADD_URI_SAFE_ATTR"in e?s(S(qe),e.ADD_URI_SAFE_ATTR):qe,Xe="ADD_DATA_URI_TAGS"in e?s(S(Ye),e.ADD_DATA_URI_TAGS):Ye,I="FORBID_CONTENTS"in e?s({},e.FORBID_CONTENTS):Ke,pe="FORBID_TAGS"in e?s({},e.FORBID_TAGS):{},he="FORBID_ATTR"in e?s({},e.FORBID_ATTR):{},N="USE_PROFILES"in e?e.USE_PROFILES:!1,Be=e.ALLOW_ARIA_ATTR!==!1,ve=e.ALLOW_DATA_ATTR!==!1,je=e.ALLOW_UNKNOWN_PROTOCOLS||!1,k=e.SAFE_FOR_TEMPLATES||!1,x=e.WHOLE_DOCUMENT||!1,L=e.RETURN_DOM||!1,J=e.RETURN_DOM_FRAGMENT||!1,Ve=e.RETURN_DOM_IMPORT!==!1,Z=e.RETURN_TRUSTED_TYPE||!1,ge=e.FORCE_BODY||!1,$e=e.SANITIZE_DOM!==!1,be=e.KEEP_CONTENT!==!1,z=e.IN_PLACE||!1,me=e.ALLOWED_URI_REGEXP||me,Q=e.NAMESPACE||O,P=Wt.indexOf(e.PARSER_MEDIA_TYPE)===-1?P=Bt:P=e.PARSER_MEDIA_TYPE,C=P==="application/xhtml+xml"?function(t){return t}:j,k&&(ve=!1),J&&(L=!0),N&&(f=s({},[].concat(g(Ne))),d=[],N.html===!0&&(s(f,Le),s(d,Ie)),N.svg===!0&&(s(f,re),s(d,oe),s(d,$)),N.svgFilters===!0&&(s(f,ne),s(d,oe),s(d,$)),N.mathMl===!0&&(s(f,ie),s(d,Pe),s(d,$))),e.ADD_TAGS&&(f===Ge&&(f=S(f)),s(f,e.ADD_TAGS)),e.ADD_ATTR&&(d===We&&(d=S(d)),s(d,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&s(Te,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(I===Ke&&(I=S(I)),s(I,e.FORBID_CONTENTS)),be&&(f["#text"]=!0),x&&s(f,["html","head","body"]),f.table&&(s(f,["tbody"]),delete pe.tbody),v&&v(e),F=e},Je=s({},["mi","mo","mn","ms","mtext"]),Ze=s({},["foreignobject","desc","title","annotation-xml"]),ee=s({},re);s(ee,ne),s(ee,ht);var Ee=s({},ie);s(Ee,vt);var Vt=function(e){var t=le(e);(!t||!t.tagName)&&(t={namespaceURI:O,tagName:"template"});var n=j(e.tagName),u=j(t.tagName);if(e.namespaceURI===Ae)return t.namespaceURI===O?n==="svg":t.namespaceURI===_e?n==="svg"&&(u==="annotation-xml"||Je[u]):Boolean(ee[n]);if(e.namespaceURI===_e)return t.namespaceURI===O?n==="math":t.namespaceURI===Ae?n==="math"&&Ze[u]:Boolean(Ee[n]);if(e.namespaceURI===O){if(t.namespaceURI===Ae&&!Ze[u])return!1;if(t.namespaceURI===_e&&!Je[u])return!1;var m=s({},["title","style","font","a","script"]);return!Ee[n]&&(m[n]||!ee[n])}return!1},A=function(e){H(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=He}catch(n){e.remove()}}},Qe=function(e,t){try{H(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){H(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is"&&!d[e])if(L||J)try{A(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},et=function(e){var t=void 0,n=void 0;if(ge)e="<remove></remove>"+e;else{var u=ke(e,/^[\r\n\t ]+/);n=u&&u[0]}P==="application/xhtml+xml"&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var m=M?M.createHTML(e):e;if(Q===O)try{t=new kt().parseFromString(m,P)}catch(h){}if(!t||!t.documentElement){t=ce.createDocument(Q,"template",null);try{t.documentElement.innerHTML=we?"":m}catch(h){}}var p=t.body||t.documentElement;return e&&n&&p.insertBefore(l.createTextNode(n),p.childNodes[0]||null),Q===O?Ft.call(t,x?"html":"body")[0]:x?t.documentElement:p},tt=function(e){return Pt.call(e.ownerDocument||e,e,se.SHOW_ELEMENT|se.SHOW_COMMENT|se.SHOW_TEXT,null,!1)},$t=function(e){return e instanceof St||e instanceof Rt?!1:typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Ot)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"},G=function(e){return(typeof R=="undefined"?"undefined":U(R))==="object"?e instanceof R:e&&(typeof e=="undefined"?"undefined":U(e))==="object"&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"},w=function(e,t,n){if(!b[e])return;ft(b[e],function(u){u.call(r,t,n,F)})},at=function(e){var t=void 0;if(w("beforeSanitizeElements",e,null),$t(e))return A(e),!0;if(ke(e.nodeName,/[\u0080-\uFFFF]/))return A(e),!0;var n=C(e.nodeName);if(w("uponSanitizeElement",e,{tagName:n,allowedTags:f}),!G(e.firstElementChild)&&(!G(e.content)||!G(e.content.firstElementChild))&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return A(e),!0;if(n==="select"&&_(/<template/i,e.innerHTML))return A(e),!0;if(!f[n]||pe[n]){if(be&&!I[n]){var u=le(e)||e.parentNode,m=It(e)||e.childNodes;if(m&&u)for(var p=m.length,h=p-1;h>=0;--h)u.insertBefore(Lt(m[h],!0),Nt(e))}return A(e),!0}return e instanceof X&&!Vt(e)||(n==="noscript"||n==="noembed")&&_(/<\/no(script|embed)/i,e.innerHTML)?(A(e),!0):(k&&e.nodeType===3&&(t=e.textContent,t=E(t,fe," "),t=E(t,de," "),e.textContent!==t&&(H(r.removed,{element:e.cloneNode()}),e.textContent=t)),w("afterSanitizeElements",e,null),!1)},rt=function(e,t,n){if($e&&(t==="id"||t==="name")&&(n in l||n in jt))return!1;if(!(ve&&!he[t]&&_(Ut,t))){if(!(Be&&_(zt,t))){if(!d[t]||he[t])return!1;if(!Te[t]){if(!_(me,E(n,ze,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&dt(n,"data:")===0&&Xe[e])){if(!(je&&!_(Gt,E(n,ze,"")))){if(n)return!1}}}}}}return!0},nt=function(e){var t=void 0,n=void 0,u=void 0,m=void 0;w("beforeSanitizeAttributes",e,null);var p=e.attributes;if(!p)return;var h={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d};for(m=p.length;m--;){t=p[m];var D=t,W=D.name,it=D.namespaceURI;if(n=mt(t.value),u=C(W),h.attrName=u,h.attrValue=n,h.keepAttr=!0,h.forceKeepAttr=void 0,w("uponSanitizeAttribute",e,h),n=h.attrValue,h.forceKeepAttr)continue;if(Qe(W,e),!h.keepAttr)continue;if(_(/\/>/i,n)){Qe(W,e);continue}k&&(n=E(n,fe," "),n=E(n,de," "));var Xt=C(e.nodeName);if(!rt(Xt,u,n))continue;try{it?e.setAttributeNS(it,W,n):e.setAttribute(W,n),Re(r.removed)}catch(Jt){}}w("afterSanitizeAttributes",e,null)},Kt=function i(e){var t=void 0,n=tt(e);for(w("beforeSanitizeShadowDOM",e,null);t=n.nextNode();){if(w("uponSanitizeShadowNode",t,null),at(t))continue;t.content instanceof c&&i(t.content),nt(t)}w("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(i,e){var t=void 0,n=void 0,u=void 0,m=void 0,p=void 0;if(we=!i,we&&(i="<!-->"),typeof i!="string"&&!G(i)){if(typeof i.toString!="function")throw xe("toString is not a function");if(i=i.toString(),typeof i!="string")throw xe("dirty is not a string, aborting")}if(!r.isSupported){if(U(a.toStaticHTML)==="object"||typeof a.toStaticHTML=="function"){if(typeof i=="string")return a.toStaticHTML(i);if(G(i))return a.toStaticHTML(i.outerHTML)}return i}if(ye||De(e),r.removed=[],typeof i=="string"&&(z=!1),!z)if(i instanceof R)t=et("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===1&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!L&&!k&&!x&&i.indexOf("<")===-1)return M&&Z?M.createHTML(i):i;if(t=et(i),!t)return L?null:He}t&&ge&&A(t.firstChild);for(var h=tt(z?i:t);u=h.nextNode();){if(u.nodeType===3&&u===m)continue;if(at(u))continue;u.content instanceof c&&Kt(u.content),nt(u),m=u}if(m=null,z)return i;if(L){if(J)for(p=Ct.call(t.ownerDocument);t.firstChild;)p.appendChild(t.firstChild);else p=t;return Ve&&(p=Ht.call(o,p,!0)),p}var D=x?t.outerHTML:t.innerHTML;return k&&(D=E(D,fe," "),D=E(D,de," ")),M&&Z?M.createHTML(D):D},r.setConfig=function(i){De(i),ye=!0},r.clearConfig=function(){F=null,ye=!1},r.isValidAttribute=function(i,e,t){F||De({});var n=C(i),u=C(e);return rt(n,u,t)},r.addHook=function(i,e){if(typeof e!="function")return;b[i]=b[i]||[],H(b[i],e)},r.removeHook=function(i){b[i]&&Re(b[i])},r.removeHooks=function(i){b[i]&&(b[i]=[])},r.removeAllHooks=function(){b={}},r}var Mt=Ce();return Mt})}}]);