From 2c1bd56e0488e0d673d365c8c8c75fab8b6cb083 Mon Sep 17 00:00:00 2001 From: * <8> Date: Thu, 23 Dec 2021 10:11:27 +0800 Subject: [PATCH] Match-id-3fd0890a9ad3e60aa197810f957dde415bbaa17a --- scripts/template.ejs | 742 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 742 insertions(+) create mode 100644 scripts/template.ejs diff --git a/scripts/template.ejs b/scripts/template.ejs new file mode 100644 index 00000000..7ead2d31 --- /dev/null +++ b/scripts/template.ejs @@ -0,0 +1,742 @@ +if(!window["Horizon"]) { + <%- Horizon %> +} + + +!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.ie=r():t.ie=r()}(window,(function(){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=159)}([function(t,r,e){var n=e(2),o=e(13).f,i=e(16),a=e(14),u=e(84),c=e(113),f=e(55);t.exports=function(t,r){var e,s,l,h,p,v=t.target,d=t.global,g=t.stat;if(e=d?n:g?n[v]||u(v,{}):(n[v]||{}).prototype)for(s in r){if(h=r[s],l=t.noTargetGet?(p=o(e,s))&&p.value:e[s],!f(d?s:v+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof h==typeof l)continue;c(h,l)}(t.sham||l&&l.sham)&&i(h,"sham",!0),a(e,s,h,t)}}},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r,e){(function(r){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r&&r)||Function("return this")()}).call(this,e(163))},function(t,r){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,r,e){var n=e(3);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,r,e){var n=e(1);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r,e){var n=e(2),o=e(86),i=e(11),a=e(51),u=e(90),c=e(115),f=o("wks"),s=n.Symbol,l=c?s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,r,e){var n=e(27),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,r,e){"use strict";var n,o=e(108),i=e(5),a=e(2),u=e(3),c=e(11),f=e(61),s=e(16),l=e(14),h=e(9).f,p=e(30),v=e(45),d=e(6),g=e(51),y=a.Int8Array,m=y&&y.prototype,x=a.Uint8ClampedArray,b=x&&x.prototype,w=y&&p(y),S=m&&p(m),E=Object.prototype,A=E.isPrototypeOf,O=d("toStringTag"),T=g("TYPED_ARRAY_TAG"),R=o&&!!v&&"Opera"!==f(a.opera),I=!1,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M=function(t){return u(t)&&c(j,f(t))};for(n in j)a[n]||(R=!1);if((!R||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},R))for(n in j)a[n]&&v(a[n],w);if((!R||!S||S===E)&&(S=w.prototype,R))for(n in j)a[n]&&v(a[n].prototype,S);if(R&&p(b)!==S&&v(b,S),i&&!c(S,O))for(n in I=!0,h(S,O,{get:function(){return u(this)?this[T]:void 0}}),j)a[n]&&s(a[n],T,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:I&&T,aTypedArray:function(t){if(M(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(v){if(A.call(w,t))return t}else for(var r in j)if(c(j,n)){var e=a[r];if(e&&(t===e||A.call(e,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,r,e){if(i){if(e)for(var n in j){var o=a[n];o&&c(o.prototype,t)&&delete o.prototype[t]}S[t]&&!e||l(S,t,e?r:R&&m[t]||r)}},exportTypedArrayStaticMethod:function(t,r,e){var n,o;if(i){if(v){if(e)for(n in j)(o=a[n])&&c(o,t)&&delete o[t];if(w[t]&&!e)return;try{return l(w,t,e?r:R&&y[t]||r)}catch(t){}}for(n in j)!(o=a[n])||o[t]&&!e||l(o,t,r)}},isView:function(t){var r=f(t);return"DataView"===r||c(j,r)},isTypedArray:M,TypedArray:w,TypedArrayPrototype:S}},function(t,r,e){var n=e(5),o=e(110),i=e(4),a=e(28),u=Object.defineProperty;r.f=n?u:function(t,r,e){if(i(t),r=a(r,!0),i(e),o)try{return u(t,r,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},function(t,r,e){var n=e(15);t.exports=function(t){return Object(n(t))}},function(t,r){var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},function(t,r,e){var n=e(38),o=e(50),i=e(10),a=e(7),u=e(57),c=[].push,f=function(t){var r=1==t,e=2==t,f=3==t,s=4==t,l=6==t,h=5==t||l;return function(p,v,d,g){for(var y,m,x=i(p),b=o(x),w=n(v,d,3),S=a(b.length),E=0,A=g||u,O=r?A(p,S):e?A(p,0):void 0;S>E;E++)if((h||E in b)&&(m=w(y=b[E],E,x),t))if(r)O[E]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return E;case 2:c.call(O,y)}else if(s)return!1;return l?-1:f||s?s:O}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6)}},function(t,r,e){var n=e(5),o=e(64),i=e(36),a=e(21),u=e(28),c=e(11),f=e(110),s=Object.getOwnPropertyDescriptor;r.f=n?s:function(t,r){if(t=a(t),r=u(r,!0),f)try{return s(t,r)}catch(t){}if(c(t,r))return i(!o.f.call(t,r),t[r])}},function(t,r,e){var n=e(2),o=e(16),i=e(11),a=e(84),u=e(85),c=e(17),f=c.get,s=c.enforce,l=String(String).split("String");(t.exports=function(t,r,e,u){var c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,h=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof r||i(e,"name")||o(e,"name",r),s(e).source=l.join("string"==typeof r?r:"")),t!==n?(c?!h&&t[r]&&(f=!0):delete t[r],f?t[r]=e:o(t,r,e)):f?t[r]=e:a(r,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},function(t,r){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,r,e){var n=e(5),o=e(9),i=e(36);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},function(t,r,e){var n,o,i,a=e(112),u=e(2),c=e(3),f=e(16),s=e(11),l=e(65),h=e(52),p=u.WeakMap;if(a){var v=new p,d=v.get,g=v.has,y=v.set;n=function(t,r){return y.call(v,t,r),r},o=function(t){return d.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var m=l("state");h[m]=!0,n=function(t,r){return f(t,m,r),r},o=function(t){return s(t,m)?t[m]:{}},i=function(t){return s(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!c(r)||(e=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,r,e){var n=e(53),o=e(11),i=e(118),a=e(9).f;t.exports=function(t){var r=n.Symbol||(n.Symbol={});o(r,t)||a(r,t,{value:i.f(t)})}},function(t,r){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,r,e){var n=e(5),o=e(1),i=e(11),a=Object.defineProperty,u={},c=function(t){throw t};t.exports=function(t,r){if(i(u,t))return u[t];r||(r={});var e=[][t],f=!!i(r,"ACCESSORS")&&r.ACCESSORS,s=i(r,0)?r[0]:c,l=i(r,1)?r[1]:void 0;return u[t]=!!e&&!o((function(){if(f&&!n)return!0;var t={length:-1};f?a(t,1,{enumerable:!0,get:c}):t[1]=1,e.call(t,s,l)}))}},function(t,r,e){var n=e(50),o=e(15);t.exports=function(t){return n(o(t))}},function(t,r,e){var n=e(15),o=/"/g;t.exports=function(t,r,e,i){var a=String(n(t)),u="<"+r;return""!==e&&(u+=" "+e+'="'+String(i).replace(o,""")+'"'),u+">"+a+""}},function(t,r,e){var n=e(1);t.exports=function(t){return n((function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3}))}},,function(t,r){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,r,e){var n=e(53),o=e(2),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][r]||o[t]&&o[t][r]}},function(t,r){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},function(t,r,e){var n=e(3);t.exports=function(t,r){if(!n(t))return t;var e,o;if(r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!n(o=e.call(t)))return o;if(!r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,r){t.exports=!1},function(t,r,e){var n=e(11),o=e(10),i=e(65),a=e(94),u=i("IE_PROTO"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,r,e){var n=e(9).f,o=e(11),i=e(6)("toStringTag");t.exports=function(t,r,e){t&&!o(t=e?t:t.prototype,i)&&n(t,i,{configurable:!0,value:r})}},function(t,r,e){var n,o=e(4),i=e(91),a=e(88),u=e(52),c=e(116),f=e(83),s=e(65),l=s("IE_PROTO"),h=function(){},p=function(t){return"