1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-07-24 03:29:09 +00:00
8bitworkshop/gen/chunk-SDBJC2RS.js

7 lines
29 KiB
JavaScript
Raw Normal View History

import{a as Tr}from"./chunk-XMPGMPQ4.js";import{b as Jt}from"./chunk-RQFURXHW.js";var _r=Jt((Ot,Rt)=>{(function(d,_){typeof Ot=="object"&&typeof Rt!="undefined"?Rt.exports=_():typeof define=="function"&&define.amd?define(_):(d=typeof globalThis!="undefined"?globalThis:d||self,d.DOMPurify=_())})(Ot,function(){"use strict";function d(i){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},d(i)}function _(i,s){return _=Object.setPrototypeOf||function(r,t){return r.__proto__=t,r},_(i,s)}function F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(i){return!1}}function A(i,s,f){return F()?A=Reflect.construct:A=function(t,a,l){var v=[null];v.push.apply(v,a);var E=Function.bind.apply(t,v),L=new E;return l&&_(L,l.prototype),L},A.apply(null,arguments)}function y(i){return W(i)||ne(i)||U(i)||ce()}function W(i){if(Array.isArray(i))return H(i)}function ne(i){if(typeof Symbol!="undefined"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function U(i,s){if(!!i){if(typeof i=="string")return H(i,s);var f=Object.prototype.toString.call(i).slice(8,-1);if(f==="Object"&&i.constructor&&(f=i.constructor.name),f==="Map"||f==="Set")return Array.from(i);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return H(i,s)}}function H(i,s){(s==null||s>i.length)&&(s=i.length);for(var f=0,r=new Array(s);f<s;f++)r[f]=i[f];return r}function ce(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var G=Object.hasOwnProperty,Ne=Object.setPrototypeOf,Ce=Object.isFrozen,Ie=Object.getPrototypeOf,M=Object.getOwnPropertyDescriptor,b=Object.freeze,B=Object.seal,Ze=Object.create,xe=typeof Reflect!="undefined"&&Reflect,me=xe.apply,h=xe.construct;me||(me=function(s,f,r){return s.apply(f,r)}),b||(b=function(s){return s}),B||(B=function(s){return s}),h||(h=function(s,f){return A(s,y(f))});var m=k(Array.prototype.forEach),g=k(Array.prototype.pop),T=k(Array.prototype.push),X=k(String.prototype.toLowerCase),ae=k(String.prototype.toString),Oe=k(String.prototype.match),z=k(String.prototype.replace),O=k(String.prototype.indexOf),Je=k(String.prototype.trim),S=k(RegExp.prototype.test),pe=Re(TypeError);function k(i){return function(s){for(var f=arguments.length,r=new Array(f>1?f-1:0),t=1;t<f;t++)r[t-1]=arguments[t];return me(i,s,r)}}function Re(i){return function(){for(var s=arguments.length,f=new Array(s),r=0;r<s;r++)f[r]=arguments[r];return h(i,f)}}function c(i,s,f){f=f||X,Ne&&Ne(i,null);for(var r=s.length;r--;){var t=s[r];if(typeof t=="string"){var a=f(t);a!==t&&(Ce(s)||(s[r]=a),t=a)}i[t]=!0}return i}function j(i){var s=Ze(null),f;for(f in i)me(G,i,[f])===!0&&(s[f]=i[f]);return s}function re(i,s){for(;i!==null;){var f=M(i,s);if(f){if(f.get)return k(f.get);if(typeof f.value=="function")return k(f.value)}i=Ie(i)}function r(t){return console.warn("fallback value for",t),null}return r}var ze=b(["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"]),Le=b(["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"]),q=b(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),de=b(["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"]),ie=b(["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"]),Qe=b(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ve=b(["#text"]),K=b(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","cont
`+C),Te&&(C=z(C,ut," "),C=z(C,ft," "),C=z(C,ct," ")),Y&&Ye?Y.createHTML(C):C},s.setConfig=function(u){_t(u),vt=!0},s.clearConfig=function(){be=null,vt=!1},s.isValidAttribute=function(u,e,n){be||_t({});var o=N(u),p=N(e);return Xt(o,p,n)},s.addHook=function(u,e){typeof e=="function"&&(V[u]=V[u]||[],T(V[u],e))},s.removeHook=function(u){if(V[u])return g(V[u])},s.removeHooks=function(u){V[u]&&(V[u]=[])},s.removeAllHooks=function(){V={}},s}var Z=Ge();return Z})});var Ar=Jt((Lt,Mt)=>{(function(d,_){typeof Lt=="object"&&typeof Mt!="undefined"?Mt.exports=_():typeof define=="function"&&define.amd?define(_):(d=typeof globalThis!="undefined"?globalThis:d||self,d.Split=_())})(Lt,function(){"use strict";var d=typeof window!="undefined"?window:null,_=d===null,F=_?void 0:d.document,A="addEventListener",y="removeEventListener",W="getBoundingClientRect",ne="_a",U="_b",H="_c",ce="horizontal",G=function(){return!1},Ne=_?"calc":["","-webkit-","-moz-","-o-"].filter(function(h){var m=F.createElement("div");return m.style.cssText="width:"+h+"calc(9px)",!!m.style.length}).shift()+"calc",Ce=function(h){return typeof h=="string"||h instanceof String},Ie=function(h){if(Ce(h)){var m=F.querySelector(h);if(!m)throw new Error("Selector "+h+" did not match a DOM element");return m}return h},M=function(h,m,g){var T=h[m];return T!==void 0?T:g},b=function(h,m,g,T){if(m){if(T==="end")return 0;if(T==="center")return h/2}else if(g){if(T==="start")return 0;if(T==="center")return h/2}return h},B=function(h,m){var g=F.createElement("div");return g.className="gutter gutter-"+m,g},Ze=function(h,m,g){var T={};return Ce(m)?T[h]=m:T[h]=Ne+"("+m+"% - "+g+"px)",T},xe=function(h,m){var g;return g={},g[h]=m+"px",g},me=function(h,m){if(m===void 0&&(m={}),_)return{};var g=h,T,X,ae,Oe,z,O;Array.from&&(g=Array.from(g));var Je=Ie(g[0]),S=Je.parentNode,pe=getComputedStyle?getComputedStyle(S):null,k=pe?pe.flexDirection:null,Re=M(m,"sizes")||g.map(function(){return 100/g.length}),c=M(m,"minSize",100),j=Array.isArray(c)?c:g.map(function(){return c}),re=M(m,"maxSize",1/0),ze=Array.isArray(re)?re:g.map(function(){return re}),Le=M(m,"expandToMin",!1),q=M(m,"gutterSize",10),de=M(m,"gutterAlign","center"),ie=M(m,"snapOffset",30),Qe=Array.isArray(ie)?ie:g.map(function(){return ie}),ve=M(m,"dragInterval",1),K=M(m,"direction",ce),oe=M(m,"cursor",K===ce?"col-resize":"row-resize"),ke=M(m,"gutter",B),se=M(m,"elementStyle",Ze),et=M(m,"gutterStyle",xe);K===ce?(T="width",X="clientX",ae="left",Oe="right",z="clientWidth"):K==="vertical"&&(T="height",X="clientY",ae="top",Oe="bottom",z="clientHeight");function le(r,t,a,l){var v=se(T,t,a,l);Object.keys(v).forEach(function(E){r.style[E]=v[E]})}function tt(r,t,a){var l=et(T,t,a);Object.keys(l).forEach(function(v){r.style[v]=l[v]})}function he(){return O.map(function(r){return r.size})}function Pe(r){return"touches"in r?r.touches[0][X]:r[X]}function Fe(r){var t=O[this.a],a=O[this.b],l=t.size+a.size;t.size=r/this.size*l,a.size=l-r/this.size*l,le(t.element,t.size,this[U],t.i),le(a.element,a.size,this[H],a.i)}function rt(r){var t,a=O[this.a],l=O[this.b];!this.dragging||(t=Pe(r)-this.start+(this[U]-this.dragOffset),ve>1&&(t=Math.round(t/ve)*ve),t<=a.minSize+a.snapOffset+this[U]?t=a.minSize+this[U]:t>=this.size-(l.minSize+l.snapOffset+this[H])&&(t=this.size-(l.minSize+this[H])),t>=a.maxSize-a.snapOffset+this[U]?t=a.maxSize+this[U]:t<=this.size-(l.maxSize-l.snapOffset+this[H])&&(t=this.size-(l.maxSize+this[H])),Fe.call(this,t),M(m,"onDrag",G)(he()))}function Ue(){var r=O[this.a].element,t=O[this.b].element,a=r[W](),l=t[W]();this.size=a[T]+l[T]+this[U]+this[H],this.start=a[ae],this.end=a[Oe]}function nt(r){if(!getComputedStyle)return null;var t=getComputedStyle(r);if(!t)return null;var a=r[z];return a===0?null:(K===ce?a-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight):a-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),a)}function He(r){var t=nt(S);if(t===null||j.reduce(function(E,L){return E+L},0)>t)return r;var a=0,l=[],v=r.map(function(E,L){var J=t*E/100,ge=b(q,L===0,L===r.length-1,de),ye=j[L]+ge;return J<ye?(a+=ye-J,l.push(0),ye):(l.push(J-ye),
/*! @license DOMPurify 2.4.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.4/LICENSE */
/*! Split.js - v1.6.5 */
//# sourceMappingURL=chunk-SDBJC2RS.js.map