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.
1 line
18 KiB
1 line
18 KiB
4 years ago
|
!function(){var a,b,c,d,e,f,g,h,i,j=TouchEvent.prototype.preventDefault,k=!1;TouchEvent.prototype.preventDefault=function(a){"string"!=typeof a&&(k=!0),j.call(this)},window.addEventListener("touchstart",function(){k=!1},!0),a='<div style="position: fixed;top: 0;left: 0;height:0px;line-height:0;width: 100%;overflow:hidden;text-align: center;z-index: 2147483647"><div style="margin: 3px auto;margin-bottom:10px;width:{WIDTH};height:{WIDTH};background-color: rgb(255, 255, 255);border-radius: 50%;box-shadow: rgb(187, 187, 187) 0px {SHADOWOFFSETY}px {SHADOWBLUR}px;"><canvas width="200" height="200" style="width:{WIDTH}"></canvas></div></div>',"function"!=typeof Object.assign&&(Object.assign=function(a){"use strict";var b,c,d,e;if(null==a)throw new TypeError("Cannot convert undefined or null to object");for(b=Object(a),c=1;c<arguments.length;c++)if(d=arguments[c],null!=d)for(e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b[e]=d[e]);return b}),b=function(){function a(a){var b,c,d=h[a]={};for(a=a.split(/\s+/),b=0,c=a.length;c>b;b++)d[a[b]]=!0;return d}var b=Array.prototype.forEach,c=Object.prototype.hasOwnProperty,d={},e=function(a){return"object"==typeof a&&a instanceof Array},f=function(a){return"function"==typeof a},g=[].slice,h={},i=function(a,e,f){var g,h,i;if(a)if(b&&a.forEach===b)a.forEach(e,f);else if(a.length===+a.length){for(h=0,i=a.length;i>h;h++)if(h in a&&e.call(f,a[h],h,a)===d)return}else for(g in a)if(c.call(a,g)&&e.call(f,a[g],g,a)===d)return},j=function(b){b=b?h[b]||a(b):{};var c,d,g,i,j,k=[],l=[],m=function(a){var c,d,g;for(c=0,d=a.length;d>c;c++)g=a[c],e(g)?m(g):f(g)&&(b.unique&&o.has(g)||k.push(g))},n=function(a,e){for(e=e||[],c=!b.memory||[a,e],d=!0,j=g||0,g=0,i=k.length;k&&i>j;j++)if(k[j].apply(a,e)===!1&&b.stopOnFalse){c=!0;break}d=!1,k&&(b.once?c===!0?o.disable():k=[]:l&&l.length&&(c=l.shift(),o.fireWith(c[0],c[1])))},o={add:function(){if(k){var a=k.length;m(arguments),d?i=k.length:c&&c!==!0&&(g=a,n(c[0],c[1]))}return this},remove:function(){var a,c,e,f;if(k)for(a=arguments,c=0,e=a.length;e>c;c++)for(f=0;f<k.length&&(a[c]!==k[f]||(d&&i>=f&&(i--,j>=f&&j--),k.splice(f--,1),!b.unique));f++);return this},has:function(a){if(k)for(var b=0,c=k.length;c>b;b++)if(a===k[b])return!0;return!1},empty:function(){return k=[],this},disable:function(){return k=l=c=void 0,this},disabled:function(){return!k},lock:function(){return l=void 0,c&&c!==!0||o.disable(),this},locked:function(){return!l},fireWith:function(a,e){return l&&(d?b.once||l.push([a,e]):b.once&&c||n(a,e)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!c}};return o},k=function(a){var b,c=j("once memory"),d=j("once memory"),e=j("memory"),g="pending",h={resolve:c,reject:d,notify:e},l={done:c.add,fail:d.add,progress:e.add,state:function(){return g},isResolved:c.fired,isRejected:d.fired,then:function(a,b,c){return m.done(a).fail(b).progress(c),this},always:function(){return m.done.apply(m,arguments).fail.apply(m,arguments),this},pipe:function(a,b,c){return k(function(d){i({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c,e=a[0],g=a[1];f(e)?m[b](function(){c=e.apply(this,arguments),c&&f(c.promise)?c.promise().then(d.resolve,d.reject,d.notify):d[g+"With"](this===m?d:this,[c])}):m[b](d[g])})}).promise()},promise:function(a){if(a)for(var b in l)a[b]=l[b];else a=l;return a}},m=l.promise({});for(b in h)m[b]=h[b].fire,m[b+"With"]=h[b].fireWith;return m.done(function(){g="resolved"},d.disable,e.lock).fail(function(){g="rejected"},c.disable,e.lock),a&&a.call(m,m),m},l=function(a){function b(a){return function(b){d[a]=arguments.length>1?g.call(arguments,0):b,--j||l.resolveWith(l,d)}}function c(a){return function(b){i[a]=arguments.length>1?g.call(arguments,0):b,l.notifyWith(m,i)}}var d=g.call(arguments,0),e=0,h=d.length,i=new Array(h),j=h,l=1>=h&&a&&f(a.promise)?a:k(),m=l.promise();if(h>1){for(;h>e;e++)d[e]&&d[e].promise&&f(d[e].promise)?d[e].promise().then(b(e),l.reject,c(e)):--j;j||l.resolveWith(l,d)}else l!==a&&l.resolveWith(l,h?[a]:[]);return m};return k.when=l,k.Callbacks=j,k}(),c=function(){var
|