57 lines
155 KiB
JavaScript
57 lines
155 KiB
JavaScript
|
|
System.register(["./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./html2pdf-legacy-D8z9FVgg.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(t,e){"use strict";var r,n,i;return{setters:[t=>{r=t.c,n=t.a},t=>{i=t._},null,null,null],execute:function(){t({CB1:bu,CB2:Su,CB3:wu,CB4:Tu,QB1:Ou,QB2:Au,QB3:Eu,compressSpaces:Jo,getSelectorSpecificity:du,normalizeAttributeName:iu,normalizeColor:su,parseExternalUrl:au,toNumbers:ru,trimLeft:tu,trimRight:eu,vectorMagnitude:yu,vectorsAngle:xu,vectorsRatio:mu});var e,a,s={};function o(){if(a)return e;a=1;var t=function(t){return t&&t.Math===Math&&t};return e=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r&&r)||t("object"==typeof e&&e)||function(){return this}()||Function("return this")()}var u,h,c,l,f,g,p,d,v={};function y(){return h?u:(h=1,u=function(t){try{return!!t()}catch(e){return!0}})}function m(){if(l)return c;l=1;var t=y();return c=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function x(){if(g)return f;g=1;var t=y();return f=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function b(){if(d)return p;d=1;var t=x(),e=Function.prototype.call;return p=t?e.bind(e):function(){return e.apply(e,arguments)},p}var S,w,T,O,A,E,C,P,N,M,R,_,V,I,k,L,D,j,B,F,z,U,H,X,Y,W,q,G,Q,$,Z,K,J,tt,et,rt,nt,it,at,st,ot,ut={};function ht(){return T?w:(T=1,w=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function ct(){if(A)return O;A=1;var t=x(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return O=t?n:function(t){return function(){return r.apply(t,arguments)}},O}function lt(){if(C)return E;C=1;var t=ct(),e=t({}.toString),r=t("".slice);return E=function(t){return r(e(t),8,-1)}}function ft(){if(N)return P;N=1;var t=ct(),e=y(),r=lt(),n=Object,i=t("".split);return P=e((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===r(t)?i(t,""):n(t)}:n}function gt(){return R?M:(R=1,M=function(t){return null==t})}function pt(){if(V)return _;V=1;var t=gt(),e=TypeError;return _=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function dt(){if(k)return I;k=1;var t=ft(),e=pt();return I=function(r){return t(e(r))}}function vt(){if(D)return L;D=1;var t="object"==typeof document&&document.all;return L=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function yt(){if(B)return j;B=1;var t=vt();return j=function(e){return"object"==typeof e?null!==e:t(e)}}function mt(){if(z)return F;z=1;var t=o(),e=vt();return F=function(r,n){return arguments.length<2?(i=t[r],e(i)?i:void 0):t[r]&&t[r][n];var i},F}function xt(){if(H)return U;H=1;var t=ct();return U=t({}.isPrototypeOf)}function bt(){if(Y)return X;Y=1;var t=o().navigator,e=t&&t.userAgent;return X=e?String(e):""}function St(){if(q)return W;q=1;var t,e,r=o(),n=bt(),i=r.process,a=r.Deno,s=i&&i.versions||a&&a.version,u=s&&s.v8;return u&&(e=(t=u.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),W=e}function wt(){if(Q)return G;Q=1;var t=St(),e=y(),r=o().String;return G=!!Object.getOwnPropertySymbols&&!e((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function Tt(){if(Z)return $;Z=1;var t=wt();return $=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ot(){if(J)return K;J=1;var t=mt(),e=vt(),r=xt(),n=Tt(),i=Object;return K=n?function(t){return"symbol"==typeof t}:function(n){var a=t("Symbol");return e(a)&&r(a.prototype,i(n))}}function At(){if(et)return tt;et=1;var t=String;return tt=function(e){try{return t(e)}catch(r){return"Object"}}}function Et(){if(nt)return rt;nt=1;var t=vt(),e=At(),r=TypeError;return rt=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Ct(){if(
|
||
|
|
/*! *****************************************************************************
|
||
|
|
Copyright (c) Microsoft Corporation.
|
||
|
|
|
||
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
|
purpose with or without fee is hereby granted.
|
||
|
|
|
||
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
|
***************************************************************************** */
|
||
|
|
var Oo=function(t,e){return(Oo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function Ao(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Oo(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Eo(t,e){var r=t[0],n=t[1];return[r*Math.cos(e)-n*Math.sin(e),r*Math.sin(e)+n*Math.cos(e)]}function Co(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=0;r<t.length;r++)if("number"!=typeof t[r])throw new Error("assertNumbers arguments["+r+"] is not a number. "+typeof t[r]+" == typeof "+t[r]);return!0}var Po=Math.PI;function No(t,e,r){t.lArcFlag=0===t.lArcFlag?0:1,t.sweepFlag=0===t.sweepFlag?0:1;var n=t.rX,i=t.rY,a=t.x,s=t.y;n=Math.abs(t.rX),i=Math.abs(t.rY);var o=Eo([(e-a)/2,(r-s)/2],-t.xRot/180*Po),u=o[0],h=o[1],c=Math.pow(u,2)/Math.pow(n,2)+Math.pow(h,2)/Math.pow(i,2);1<c&&(n*=Math.sqrt(c),i*=Math.sqrt(c)),t.rX=n,t.rY=i;var l=Math.pow(n,2)*Math.pow(h,2)+Math.pow(i,2)*Math.pow(u,2),f=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(n,2)*Math.pow(i,2)-l)/l)),g=n*h/i*f,p=-i*u/n*f,d=Eo([g,p],t.xRot/180*Po);t.cX=d[0]+(e+a)/2,t.cY=d[1]+(r+s)/2,t.phi1=Math.atan2((h-p)/i,(u-g)/n),t.phi2=Math.atan2((-h-p)/i,(-u-g)/n),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*Po),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*Po),t.phi1*=180/Po,t.phi2*=180/Po}function Mo(t,e,r){Co(t,e,r);var n=t*t+e*e-r*r;if(0>n)return[];if(0===n)return[[t*r/(t*t+e*e),e*r/(t*t+e*e)]];var i=Math.sqrt(n);return[[(t*r+e*i)/(t*t+e*e),(e*r-t*i)/(t*t+e*e)],[(t*r-e*i)/(t*t+e*e),(e*r+t*i)/(t*t+e*e)]]}var Ro,_o=Math.PI/180;function Vo(t,e,r){return(1-r)*t+r*e}function Io(t,e,r,n){return t+Math.cos(n/180*Po)*e+Math.sin(n/180*Po)*r}function ko(t,e,r,n){var i=1e-6,a=e-t,s=r-e,o=3*a+3*(n-r)-6*s,u=6*(s-a),h=3*a;return Math.abs(o)<i?[-h/u]:function(t,e,r){var n=t*t/4-e;if(n<-r)return[];if(n<=r)return[-t/2];var i=Math.sqrt(n);return[-t/2-i,-t/2+i]}(u/o,h/o,i)}function Lo(t,e,r,n,i){var a=1-i;return t*(a*a*a)+e*(3*a*a*i)+r*(3*a*i*i)+n*(i*i*i)}!function(t){function e(){return i((function(t,e,r){return t.relative&&(void 0!==t.x1&&(t.x1+=e),void 0!==t.y1&&(t.y1+=r),void 0!==t.x2&&(t.x2+=e),void 0!==t.y2&&(t.y2+=r),void 0!==t.x&&(t.x+=e),void 0!==t.y&&(t.y+=r),t.relative=!1),t}))}function r(){var t=NaN,e=NaN,r=NaN,n=NaN;return i((function(i,a,s){return i.type&Yo.SMOOTH_CURVE_TO&&(i.type=Yo.CURVE_TO,t=isNaN(t)?a:t,e=isNaN(e)?s:e,i.x1=i.relative?a-t:2*a-t,i.y1=i.relative?s-e:2*s-e),i.type&Yo.CURVE_TO?(t=i.relative?a+i.x2:i.x2,e=i.relative?s+i.y2:i.y2):(t=NaN,e=NaN),i.type&Yo.SMOOTH_QUAD_TO&&(i.type=Yo.QUAD_TO,r=isNaN(r)?a:r,n=isNaN(n)?s:n,i.x1=i.relative?a-r:2*a-r,i.y1=i.relative?s-n:2*s-n),i.type&Yo.QUAD_TO?(r=i.relative?a+i.x1:i.x1,n=i.relative?s+i.y1:i.y1):(r=NaN,n=NaN),i}))}function n(){var t=NaN,e=NaN;return i((function(r,n,i){if(r.type&Yo.SMOOTH_QUAD_TO&&(r.type=Yo.QUAD_TO,t=isNaN(t)?n:t,e=isNaN(e)?i:e,r.x1=r.relative?n-t:2*n-t,r.y1=r.relative?i-e:2*i-e),r.type&Yo.QUAD_TO){t=r.relative?n+r.x1:r.x1,e=r.relative?i+r.y1:r.y1;var a=r.x1,s=r.y1;r.type=Yo.CURVE_TO,r.x1=((r.relative?0:n)+2*a)/3,r.y1=((r.relative?0:i)+2*s)/3,r.x2=(r.x+2*a)/3,r.y2=(r.y+2*s)/3}else t=NaN,e=NaN;return r}))}function i(t){var e=0,r=0,n=NaN,i=NaN;return function(a){if(isNaN(n)&&!(a.type&Yo.MOVE_TO))throw new Error("path must start with moveto");var s=t(a,e,r,n,i);return a.type&Yo.CLOSE_PATH&&(e=n,r=i),void 0!==a.x&&(e=a.relative?e+a.x:a.x),void 0!==a.y&&(r=a.relative?r+a.y:a.y),a.type&Yo.MOVE_TO&&(n=e,i=r),s}}function a(t,e,r,n,a,s){return Co(t,e,r,n,a,s),i((function(i,o,u,h){var c=i.x1,l=i.x2,f=i.relative&&!isNaN(h),g=void 0!==i.x?i.x:f?0:o,p=void 0!==i.y?i.y:f?0:u;function d(t){return t*t}i.type&Yo.HORIZ_LINE_TO&&0!==e&&(i.type=Yo.LINE_TO,i.y=i.relative?0:u),i.type&Yo.VERT_LINE_TO&&0!==r&&(i.type=Yo.LINE_TO,i.x=i.relative?0:o),void 0!==i.x&&(i.x=i.x*t+p*r+(f?0:a)),void 0!==i.y&&(i.y=g*e+i.y*n+(f?0:s)),void 0!==i.x1&&(i.x
|
||
|
|
/**
|
||
|
|
* StackBlur - a fast almost Gaussian Blur For Canvas
|
||
|
|
*
|
||
|
|
* In case you find this class useful - especially in commercial projects -
|
||
|
|
* I am not totally unhappy for a small donation to my PayPal account
|
||
|
|
* mario@quasimondo.de
|
||
|
|
*
|
||
|
|
* Or support me on flattr:
|
||
|
|
* {@link https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript}.
|
||
|
|
*
|
||
|
|
* @module StackBlur
|
||
|
|
* @author Mario Klingemann
|
||
|
|
* Contact: mario@quasimondo.com
|
||
|
|
* Website: {@link http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html}
|
||
|
|
* Twitter: @quasimondo
|
||
|
|
*
|
||
|
|
* @copyright (c) 2010 Mario Klingemann
|
||
|
|
*
|
||
|
|
* Permission is hereby granted, free of charge, to any person
|
||
|
|
* obtaining a copy of this software and associated documentation
|
||
|
|
* files (the "Software"), to deal in the Software without
|
||
|
|
* restriction, including without limitation the rights to use,
|
||
|
|
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||
|
|
* copies of the Software, and to permit persons to whom the
|
||
|
|
* Software is furnished to do so, subject to the following
|
||
|
|
* conditions:
|
||
|
|
*
|
||
|
|
* The above copyright notice and this permission notice shall be
|
||
|
|
* included in all copies or substantial portions of the Software.
|
||
|
|
*
|
||
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||
|
|
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||
|
|
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||
|
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||
|
|
*/
|
||
|
|
var Qo=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],$o=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function Zo(t,e,r,n,i,a){if(!(isNaN(a)||a<1)){a|=0;var s=function(t,e,r,n,i){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==Go(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var a=t.getContext("2d");try{return a.getImageData(e,r,n,i)}catch(s){throw new Error("unable to access image data: "+s)}}(t,e,r,n,i);s=function(t,e,r,n,i,a){for(var s,o=t.data,u=2*a+1,h=n-1,c=i-1,l=a+1,f=l*(l+1)/2,g=new Ko,p=g,d=1;d<u;d++)p=p.next=new Ko,d===l&&(s=p);p.next=g;for(var v=null,y=null,m=0,x=0,b=Qo[a],S=$o[a],w=0;w<i;w++){p=g;for(var T=o[x],O=o[x+1],A=o[x+2],E=o[x+3],C=0;C<l;C++)p.r=T,p.g=O,p.b=A,p.a=E,p=p.next;for(var P=0,N=0,M=0,R=0,_=l*T,V=l*O,I=l*A,k=l*E,L=f*T,D=f*O,j=f*A,B=f*E,F=1;F<l;F++){var z=x+((h<F?h:F)<<2),U=o[z],H=o[z+1],X=o[z+2],Y=o[z+3],W=l-F;L+=(p.r=U)*W,D+=(p.g=H)*W,j+=(p.b=X)*W,B+=(p.a=Y)*W,P+=U,N+=H,M+=X,R+=Y,p=p.next}v=g,y=s;for(var q=0;q<n;q++){var G=B*b>>>S;if(o[x+3]=G,0!==G){var Q=255/G;o[x]=(L*b>>>S)*Q,o[x+1]=(D*b>>>S)*Q,o[x+2]=(j*b>>>S)*Q}else o[x]=o[x+1]=o[x+2]=0;L-=_,D-=V,j-=I,B-=k,_-=v.r,V-=v.g,I-=v.b,k-=v.a;var $=q+a+1;$=m+($<h?$:h)<<2,L+=P+=v.r=o[$],D+=N+=v.g=o[$+1],j+=M+=v.b=o[$+2],B+=R+=v.a=o[$+3],v=v.next;var Z=y,K=Z.r,J=Z.g,tt=Z.b,et=Z.a;_+=K,V+=J,I+=tt,k+=et,P-=K,N-=J,M-=tt,R-=et,y=y.next,x+=4}m+=n}for(var rt=0;rt<n;rt++){var nt=o[x=rt<<2],it=o[x+1],at=o[x+2],st=o[x+3],ot=l*nt,ut=l*it,ht=l*at,ct=l*st,lt=f*nt,ft=f*it,gt=f*at,pt=f*st;p=g;for(var dt=0;dt<l;dt++)p.r=nt,p.g=it,p.b=at,p.a=st,p=p.next;for(var vt=n,yt=0,mt=0,xt=0,bt=0,St=1;St<=a;St++){x=vt+rt<<2;var wt=l-St;lt+=(p.r=nt=o[x])*wt,ft+=(p.g=it=o[x+1])*wt,gt+=(p.b=at=o[x+2])*wt,pt+=(p.a=st=o[x+3])*wt,bt+=nt,yt+=it,mt+=at,xt+=st,p=p.next,St<c&&(vt+=n)}x=rt,v=g,y=s;for(var Tt=0;Tt<i;Tt++){var Ot=x<<2;o[Ot+3]=st=pt*b>>>S,st>0?(st=255/st,o[Ot]=(lt*b>>>S)*st,o[Ot+1]=(ft*b>>>S)*st,o[Ot+2]=(gt*b>>>S)*st):o[Ot]=o[Ot+1]=o[Ot+2]=0,lt-=ot,ft-=ut,gt-=ht,pt-=ct,ot-=v.r,ut-=v.g,ht-=v.b,ct-=v.a,Ot=rt+((Ot=Tt+l)<c?Ot:c)*n<<2,lt+=bt+=v.r=o[Ot],ft+=yt+=v.g=o[Ot+1],gt+=mt+=v.b=o[Ot+2],pt+=xt+=v.a=o[Ot+3],v=v.next,ot+=nt=y.r,ut+=it=y.g,ht+=at=y.b,ct+=st=y.a,bt-=nt,yt-=it,mt-=at,xt-=st,y=y.next,x+=n}}return t}(s,0,0,n,i,a),t.getContext("2d").putImageData(s,e,r)}}var Ko=function t(){!function(t,e){if(!(t instanceof e
|