(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var k,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};function ba(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var da=ba(this);
function ea(a,b){if(b)a:{var c=da;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}}ea("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&c.push([d,b[d]]);return c}});var ha=this||self;
function r(a,b,c){a=a.split(".");c=c||ha;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b}function ia(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"}function ja(a){var b=ia(a);return"array"==b||"object"==b&&"number"==typeof a.length}function la(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
function ma(a){return Object.prototype.hasOwnProperty.call(a,pa)&&a[pa]||(a[pa]=++qa)}var pa="closure_uid_"+(1E9*Math.random()>>>0),qa=0;function ra(a,b,c){return a.call.apply(a.bind,arguments)}function ua(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}
function va(a,b,c){va=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ra:ua;return va.apply(null,arguments)}function v(a,b){function c(){}c.prototype=b.prototype;a.Ua=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.a2=function(d,e,f){for(var h=Array(arguments.length-2),g=2;g<arguments.length;g++)h[g-2]=arguments[g];return b.prototype[e].apply(d,h)}}function wa(a){return a};function xa(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,xa);else{const c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}v(xa,Error);xa.prototype.name="CustomError";var ya;function za(a,b){a=a.split("%s");let c="";const d=a.length-1;for(let e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");xa.call(this,c+a[d])}v(za,xa);za.prototype.name="AssertionError";function Aa(a){throw a;}function Ba(a,b){Aa(new za("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))};function Ca(a){return a[a.length-1]}const Da=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(let c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},w=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){const d=a.length,e="string"===typeof a?a.split(""):a;for(let f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
function Ga(a,b,c){var d=a.length;const e="string"===typeof a?a.split(""):a;for(--d;0<=d;--d)d in e&&b.call(c,e[d],d,a)}
const Ha=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){const d=a.length,e=[];let f=0;const h="string"===typeof a?a.split(""):a;for(let g=0;g<d;g++)if(g in h){const l=h[g];b.call(c,l,g,a)&&(e[f++]=l)}return e},Ja=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){const c=a.length,d="string"===typeof a?a.split(""):a;for(let e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};
function Ka(a,b){a:{const c=a.length,d="string"===typeof a?a.split(""):a;for(let e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}function La(a,b){return 0<=Da(a,b)}function Ma(a,b){b=Da(a,b);let c;(c=0<=b)&&Oa(a,b);return c}function Oa(a,b){Array.prototype.splice.call(a,b,1)}function Pa(a){return Array.prototype.concat.apply([],arguments)}
function Qa(a){const b=a.length;if(0<b){const c=Array(b);for(let d=0;d<b;d++)c[d]=a[d];return c}return[]}function Ra(a,b){for(let c=1;c<arguments.length;c++){const d=arguments[c];if(ja(d)){const e=a.length||0,f=d.length||0;a.length=e+f;for(let h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}}function Sa(a,b,c,d){Array.prototype.splice.apply(a,Ta(arguments,1))}function Ta(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
function Wa(a){let b=0,c=0;const d={};for(;c<a.length;){const f=a[c++];var e=f;e=la(e)?"o"+ma(e):(typeof e).charAt(0)+e;Object.prototype.hasOwnProperty.call(d,e)||(d[e]=!0,a[b++]=f)}a.length=b}function Xa(a,b){a.sort(b||Ya)}function $a(a,b){if(!ja(a)||!ja(b)||a.length!=b.length)return!1;const c=a.length,d=bb;for(let e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0}function Ya(a,b){return a>b?1:a<b?-1:0}function bb(a,b){return a===b}
function cb(a){const b=Math.random;for(let c=a.length-1;0<c;c--){const d=Math.floor(b()*(c+1)),e=a[c];a[c]=a[d];a[d]=e}};function eb(a,b){const c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}var fb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
function gb(a){if(!hb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ib,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(kb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(lb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(mb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(ob,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(pb,"&#0;"));return a}var ib=/&/g,kb=/</g,lb=/>/g,mb=/"/g,ob=/'/g,pb=/\x00/g,hb=/[\x00&<>"']/;
function qb(a,b){let c=0;a=fb(String(a)).split(".");b=fb(String(b)).split(".");const d=Math.max(a.length,b.length);for(let h=0;0==c&&h<d;h++){var e=a[h]||"",f=b[h]||"";do{e=/(\d*)(\D*)(.*)/.exec(e)||["","","",""];f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];if(0==e[0].length&&0==f[0].length)break;c=rb(0==e[1].length?0:parseInt(e[1],10),0==f[1].length?0:parseInt(f[1],10))||rb(0==e[2].length,0==f[2].length)||rb(e[2],f[2]);e=e[3];f=f[3]}while(0==c)}return c}function rb(a,b){return a<b?-1:a>b?1:0};function sb(){var a=ha.navigator;return a&&(a=a.userAgent)?a:""}function tb(a){return-1!=sb().indexOf(a)};function ub(){return tb("Firefox")||tb("FxiOS")}function vb(){return tb("Safari")&&!(wb()||tb("Coast")||tb("Opera")||tb("Edge")||tb("Edg/")||tb("OPR")||ub()||tb("Silk")||tb("Android"))}function wb(){return(tb("Chrome")||tb("CriOS"))&&!tb("Edge")||tb("Silk")}function xb(){return tb("Android")&&!(wb()||ub()||tb("Opera")||tb("Silk"))};function yb(){return tb("iPhone")&&!tb("iPod")&&!tb("iPad")}function zb(){return yb()||tb("iPad")||tb("iPod")};function Ab(a){Ab[" "](a);return a}Ab[" "]=function(){};function Bb(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var Cb=tb("Opera"),Db=tb("Trident")||tb("MSIE"),Eb=tb("Edge"),Gb=Eb||Db,Hb=tb("Gecko")&&!(-1!=sb().toLowerCase().indexOf("webkit")&&!tb("Edge"))&&!(tb("Trident")||tb("MSIE"))&&!tb("Edge"),Ib=-1!=sb().toLowerCase().indexOf("webkit")&&!tb("Edge"),Jb=tb("Macintosh"),Kb=tb("Windows"),Lb=tb("Linux")||tb("CrOS"),Nb=tb("Android"),Ob=yb(),Pb=tb("iPad"),Qb=tb("iPod");function Rb(){var a=ha.document;return a?a.documentMode:void 0}var Tb;
a:{var Ub="",Vb=function(){var a=sb();if(Hb)return/rv:([^\);]+)(\)|;)/.exec(a);if(Eb)return/Edge\/([\d\.]+)/.exec(a);if(Db)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Ib)return/WebKit\/(\S+)/.exec(a);if(Cb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Vb&&(Ub=Vb?Vb[1]:"");if(Db){var Wb=Rb();if(null!=Wb&&Wb>parseFloat(Ub)){Tb=String(Wb);break a}}Tb=Ub}var Xb={};function Yb(a){return Bb(Xb,a,function(){return 0<=qb(Tb,a)})}var Zb;
if(ha.document&&Db){var $b=Rb();Zb=$b?$b:parseInt(Tb,10)||void 0}else Zb=void 0;var ac=Zb;var bc=Db||Ib;function cc(a,b,c){for(const d in a)b.call(c,a[d],d,a)}function dc(a,b){const c={};for(const d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function ec(a,b){const c={};for(const d in a)c[d]=b.call(void 0,a[d],d,a);return c}function fc(a){const b=[];let c=0;for(const d in a)b[c++]=a[d];return b}function gc(a){const b=[];let c=0;for(const d in a)b[c++]=d;return b}function hc(a,b){return null!==a&&b in a}function ic(a,b){for(const c in a)if(b.call(void 0,a[c],c,a))return c}
function jc(){var a=kc;for(const b in a)return!1;return!0}function lc(a,b,c){if(null!==a&&b in a)throw Error(`The object already contains the key "${b}"`);a[b]=c}function z(a,b,c){return null!==a&&b in a?a[b]:c}function nc(a){const b={};for(const c in a)b[c]=a[c];return b}const oc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function pc(a,b){let c,d;for(let e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(let f=0;f<oc.length;f++)c=oc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var qc;function rc(){if(void 0===qc){var a=null,b=ha.trustedTypes;if(b&&b.createPolicy)try{a=b.createPolicy("goog#html",{createHTML:wa,createScript:wa,createScriptURL:wa})}catch(c){ha.console&&ha.console.error(c.message)}qc=a}return qc};function sc(a,b){this.hO=a===tc&&b||"";this.NO=uc}sc.prototype.up=!0;sc.prototype.pp=function(){return this.hO};var uc={},tc={};var wc=class{constructor(a,b){this.YE=b===vc?a:""}toString(){return this.YE.toString()}};wc.prototype.up=!0;wc.prototype.pp=function(){return this.YE.toString()};function xc(a){if(a instanceof wc&&a.constructor===wc)return a.YE;Ba("expected object of type SafeUrl, got '"+a+"' of type "+ia(a));return"type_error:SafeUrl"}var yc=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,zc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
function Ac(a){if(a instanceof wc)return a;a="object"==typeof a&&a.up?a.pp():String(a);zc.test(a)||(a="about:invalid#zClosurez");return new wc(a,vc)}var vc={},Bc=new wc("about:invalid#zClosurez",vc);const Cc={};function Dc(a){if(a instanceof Ec&&a.constructor===Ec)return a.XE;Ba(`expected object of type SafeHtml, got '${a}' of type `+ia(a));return"type_error:SafeHtml"}function Fc(a){return a instanceof Ec?a:Gc(gb("object"==typeof a&&a.up?a.pp():String(a)))}function Gc(a){const b=rc();a=b?b.createHTML(a):a;return new Ec(a,Cc)}function Hc(a){const b=Fc(Ic),c=[],d=e=>{Array.isArray(e)?e.forEach(d):(e=Fc(e),c.push(Dc(e).toString()))};a.forEach(d);return Gc(c.join(Dc(b).toString()))}
function Jc(a){return Hc(Array.prototype.slice.call(arguments))}class Ec{constructor(a,b){this.XE=b===Cc?a:"";this.up=!0}pp(){return this.XE.toString()}toString(){return this.XE.toString()}}var Ic=new Ec(ha.trustedTypes&&ha.trustedTypes.emptyHTML||"",Cc),Kc=Gc("<br>");var Lc={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Mc=function(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Dc(Ic);return!b.parentElement});
function Nc(a,b){if(a.tagName&&Lc[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+a.tagName+".");if(Mc())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Dc(b)}function Oc(a,b,c,d){a=a instanceof wc?a:Ac(a);b=b||ha;c instanceof sc?c instanceof sc&&c.constructor===sc&&c.NO===uc?c=c.hO:(Ba("expected object of type Const, got '"+c+"'"),c="type_error:Const"):c=c||"";return void 0!==d?b.open(xc(a),c,d):b.open(xc(a),c)}var Pc=/^[\w+/_-]+[=]{0,2}$/;function Qc(a,b,c){return Math.min(Math.max(a,b),c)}function Rc(a,b,c){return a+c*(b-a)};function Sc(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}k=Sc.prototype;k.clone=function(){return new Sc(this.x,this.y)};k.Oh=function(a){return a instanceof Sc&&Tc(this,a)};function Tc(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function Uc(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)}function Vc(a,b){var c=a.x-b.x;a=a.y-b.y;return c*c+a*a}function Wc(a,b){return new Sc(a.x-b.x,a.y-b.y)}function Xc(a,b){return new Sc(a.x+b.x,a.y+b.y)}
k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};k.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};k.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};k.translate=function(a,b){a instanceof Sc?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};k.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};function Yc(a,b){this.width=a;this.height=b}function Zc(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}k=Yc.prototype;k.clone=function(){return new Yc(this.width,this.height)};k.area=function(){return this.width*this.height};k.aspectRatio=function(){return this.width/this.height};k.Qh=function(){return!this.area()};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};function $c(a){const b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};let c;c=ha.document.createElement("div");return a.replace(ad,function(d,e){let f=b[d];if(f)return f;"#"==e.charAt(0)&&(e=Number("0"+e.slice(1)),isNaN(e)||(f=String.fromCharCode(e)));f||(Nc(c,Gc(d+" ")),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})}
function bd(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})}var ad=/&([^;\s<&]+);?/g,dd={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},ed={"'":"\\'"},fd=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};
function gd(a,b){if(!Number.isFinite(a))return String(a);a=String(a);let c=a.indexOf(".");-1===c&&(c=a.length);const d="-"===a[0]?"-":"";d&&(a=a.substring(1));return d+fd("0",Math.max(0,b-c))+a}function hd(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)}function id(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}
function jd(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};function kd(a){return a?new ld(md(a)):ya||(ya=new ld)}function nd(a,b){return"string"===typeof b?a.getElementById(b):b}
function od(a,b,c){var d=document;c=c||d;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){d={};for(var e=0,f=0,h;h=c[f];f++)a==h.nodeName&&(d[e++]=h);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(f=e=0;h=c[f];f++)a=h.className,"function"==typeof a.split&&La(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;return d}return c}
function pd(a,b){cc(b,function(c,d){c&&"object"==typeof c&&c.up&&(c=c.pp());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:qd.hasOwnProperty(d)?a.setAttribute(qd[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})}
var qd={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function rd(a,b,c){var d=arguments,e=document,f=d[1],h=sd(e,String(d[0]));f&&("string"===typeof f?h.className=f:Array.isArray(f)?h.className=f.join(" "):pd(h,f));2<d.length&&td(e,h,d,2);return h}
function td(a,b,c,d){function e(g){g&&b.appendChild("string"===typeof g?a.createTextNode(g):g)}for(;d<c.length;d++){var f=c[d];if(!ja(f)||la(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(la(f)){var h="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){h="function"==typeof f.item;break a}}h=!1}w(h?Qa(f):f,e)}}}function A(a){return sd(document,a)}
function sd(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)}function vd(a){var b=document,c=sd(b,"DIV");Db?(Nc(c,Jc(Kc,a)),c.removeChild(c.firstChild)):Nc(c,a);if(1==c.childNodes.length)c=c.removeChild(c.firstChild);else{for(a=b.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);c=a}return c}function wd(a,b){a.appendChild(b)}function xd(a){for(var b;b=a.firstChild;)a.removeChild(b)}
function yd(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}function zd(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function Ad(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})}function Bd(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Cd(a){return la(a)&&1==a.nodeType}
function Dd(a){var b;if(bc&&!(Db&&Yb("9")&&!Yb("10")&&ha.SVGElement&&a instanceof ha.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return Cd(b)?b:null}function Ed(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function md(a){return 9==a.nodeType?a:a.ownerDocument||a.document}
function Fd(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else xd(a),a.appendChild(md(a).createTextNode(String(b)))}function Gd(a){if("outerHTML"in a)return a.outerHTML;var b=sd(md(a),"DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML}function Hd(a,b){var c=[];return Id(a,b,c,!0)?c[0]:void 0}
function Id(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||Id(a,b,c,d))return!0;a=a.nextSibling}return!1}var Jd={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Kd={IMG:" ",BR:"\n"};function Ld(a,b,c){if(!(a.nodeName in Jd))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Kd)b.push(Kd[a.nodeName]);else for(a=a.firstChild;a;)Ld(a,b,c),a=a.nextSibling}
function Md(){var a=document;try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}}function ld(a){this.me=a||ha.document||document}k=ld.prototype;k.getElementsByTagName=function(a,b){return(b||this.me).getElementsByTagName(String(a))};k.createElement=function(a){return sd(this.me,a)};k.createTextNode=function(a){return this.me.createTextNode(String(a))};k.appendChild=wd;k.append=function(a,b){td(md(a),a,arguments,1)};
k.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};k.removeNode=zd;k.contains=Ed;k.lc=Fd;var Nd={TZ:"gotoPreviousPresentationSlide",RZ:"gotoNextPresentationSlide"};r("ispring.interaction.common.player.InteractionPlayerControllerActionType",Nd);r("GOTO_PREVIOUS_PRESENTATION_SLIDE","gotoPreviousPresentationSlide",Nd);r("GOTO_NEXT_PRESENTATION_SLIDE","gotoNextPresentationSlide",Nd);function Od(){}r("ispring.presenter.player.clock.IPresentationClock",Od);Od.prototype.timestamp=function(){};Od.prototype.timestamp=Od.prototype.timestamp;Od.prototype.started=function(){};Od.prototype.started=Od.prototype.started;Od.prototype.state=function(){};Od.prototype.state=Od.prototype.state;Od.prototype.suspended=function(){};Od.prototype.suspended=Od.prototype.suspended;Od.prototype.qe=function(){};Od.prototype.running=Od.prototype.qe;Od.prototype.$b=function(){};
Od.prototype.buffering=Od.prototype.$b;Od.prototype.Bb=function(){};Od.prototype.tickEvent=Od.prototype.Bb;Od.prototype.ih=function(){};Od.prototype.startEvent=Od.prototype.ih;Od.prototype.ll=function(){};Od.prototype.stopEvent=Od.prototype.ll;Od.prototype.Ab=function(){};Od.prototype.stateChangeEvent=Od.prototype.Ab;Od.prototype.GD=function(){};Od.prototype.bufferStateChangeEvent=Od.prototype.GD;Od.prototype.HD=function(){};function Pd(){0!=Qd&&(Rd[ma(this)]=this);this.Dx=this.Dx;this.Bp=this.Bp}var Qd=0,Rd={};Pd.prototype.Dx=!1;Pd.prototype.Re=function(){if(!this.Dx&&(this.Dx=!0,this.yf(),0!=Qd)){var a=ma(this);if(0!=Qd&&this.Bp&&0<this.Bp.length)throw Error(this+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete Rd[a]}};Pd.prototype.yf=function(){if(this.Bp)for(;this.Bp.length;)this.Bp.shift()()};function Sd(){this.id="mousewheel"}Sd.prototype.toString=function(){return this.id};function Td(a,b){this.type=a instanceof Sd?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.ot=!1}Td.prototype.stopPropagation=function(){this.ot=!0};Td.prototype.preventDefault=function(){this.defaultPrevented=!0};var Ud=function(){if(!ha.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{ha.addEventListener("test",()=>{},b),ha.removeEventListener("test",()=>{},b)}catch(c){}return a}();var Vd;Vd=Ib?"webkitAnimationEnd":"animationend";function Wd(a,b){Td.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.ne=null;a&&this.Wk(a,b)}v(Wd,Td);var Xd={2:"touch",3:"pen",4:"mouse"};
Wd.prototype.Wk=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(Hb){a:{try{Ab(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=
d.screenY||0):(this.offsetX=Ib||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Ib||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Xd[a.pointerType]||"";this.state=a.state;this.ne=a;a.defaultPrevented&&Wd.Ua.preventDefault.call(this)};Wd.prototype.stopPropagation=function(){Wd.Ua.stopPropagation.call(this);this.ne.stopPropagation?this.ne.stopPropagation():this.ne.cancelBubble=!0};Wd.prototype.preventDefault=function(){Wd.Ua.preventDefault.call(this);var a=this.ne;a.preventDefault?a.preventDefault():a.returnValue=!1};var Yd="closure_listenable_"+(1E6*Math.random()|0);function Zd(a){return!(!a||!a[Yd])};var $d=0;function ae(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Kx=e;this.key=++$d;this.rt=this.wx=!1}function be(a){a.rt=!0;a.listener=null;a.proxy=null;a.src=null;a.Kx=null};function ce(a){this.src=a;this.Qd={};this.It=0}ce.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Qd[f];a||(a=this.Qd[f]=[],this.It++);var h=de(a,b,d,e);-1<h?(b=a[h],c||(b.wx=!1)):(b=new ae(b,this.src,f,!!d,e),b.wx=c,a.push(b));return b};ce.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Qd))return!1;var e=this.Qd[a];b=de(e,b,c,d);return-1<b?(be(e[b]),Oa(e,b),0==e.length&&(delete this.Qd[a],this.It--),!0):!1};
function ee(a,b){var c=b.type;if(!(c in a.Qd))return!1;var d=Ma(a.Qd[c],b);d&&(be(b),0==a.Qd[c].length&&(delete a.Qd[c],a.It--));return d}function fe(a){var b=0,c;for(c in a.Qd){for(var d=a.Qd[c],e=0;e<d.length;e++)++b,be(d[e]);delete a.Qd[c];a.It--}}ce.prototype.Ts=function(a,b,c,d){a=this.Qd[a.toString()];var e=-1;a&&(e=de(a,b,c,d));return-1<e?a[e]:null};function de(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.rt&&f.listener==b&&f.capture==!!c&&f.Kx==d)return e}return-1};var ge="closure_lm_"+(1E6*Math.random()|0),he={},ie=0;function je(a,b,c,d,e){if(d&&d.once)return ke(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)je(a,b[f],c,d,e);return null}c=le(c);return Zd(a)?a.Vg.add(String(b),c,!1,la(d)?!!d.capture:!!d,e):me(a,b,c,!1,d,e)}
function me(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=la(e)?!!e.capture:!!e,g=ne(a);g||(a[ge]=g=new ce(a));c=g.add(b,c,d,h,f);if(c.proxy)return c;d=oe();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ud||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(pe(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");ie++;return c}
function oe(){function a(c){return b.call(a.src,a.listener,c)}const b=te;return a}function ke(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)ke(a,b[f],c,d,e);return null}c=le(c);return Zd(a)?a.Vg.add(String(b),c,!0,la(d)?!!d.capture:!!d,e):me(a,b,c,!0,d,e)}function ue(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)ue(a,b[f],c,d,e);else d=la(d)?!!d.capture:!!d,c=le(c),Zd(a)?a.Vg.remove(String(b),c,d,e):a&&(a=ne(a))&&(b=a.Ts(b,c,d,e))&&ve(b)}
function ve(a){if("number"===typeof a||!a||a.rt)return!1;var b=a.src;if(Zd(b))return ee(b.Vg,a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(pe(c),d):b.addListener&&b.removeListener&&b.removeListener(d);ie--;(c=ne(b))?(ee(c,a),0==c.It&&(c.src=null,b[ge]=null)):be(a);return!0}function pe(a){return a in he?he[a]:he[a]="on"+a}
function te(a,b){if(a.rt)a=!0;else{b=new Wd(b,this);var c=a.listener,d=a.Kx||a.src;a.wx&&ve(a);a=c.call(d,b)}return a}function ne(a){a=a[ge];return a instanceof ce?a:null}var we="__closure_events_fn_"+(1E9*Math.random()>>>0);function le(a){if("function"===typeof a)return a;a[we]||(a[we]=function(b){return a.handleEvent(b)});return a[we]};function xe(){Pd.call(this);this.Vg=new ce(this);this.PU=this;this.ME=null}v(xe,Pd);xe.prototype[Yd]=!0;k=xe.prototype;k.addEventListener=function(a,b,c,d){je(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){ue(this,a,b,c,d)};
k.dispatchEvent=function(a){var b,c=this.ME;if(c)for(b=[];c;c=c.ME)b.push(c);c=this.PU;var d=a.type||a;if("string"===typeof a)a=new Td(a,c);else if(a instanceof Td)a.target=a.target||c;else{var e=a;a=new Td(d,c);pc(a,e)}e=!0;if(b)for(var f=b.length-1;!a.ot&&0<=f;f--){var h=a.currentTarget=b[f];e=ye(h,d,!0,a)&&e}a.ot||(h=a.currentTarget=c,e=ye(h,d,!0,a)&&e,a.ot||(e=ye(h,d,!1,a)&&e));if(b)for(f=0;!a.ot&&f<b.length;f++)h=a.currentTarget=b[f],e=ye(h,d,!1,a)&&e;return e};
k.yf=function(){xe.Ua.yf.call(this);this.Vg&&fe(this.Vg);this.ME=null};function ye(a,b,c,d){b=a.Vg.Qd[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.rt&&h.capture==c){var g=h.listener,l=h.Kx||h.src;h.wx&&ee(a.Vg,h);e=!1!==g.call(l,d)&&e}}return e&&!d.defaultPrevented}k.Ts=function(a,b,c,d){return this.Vg.Ts(String(a),b,c,d)};let ze=0;function Ae(a,b){if(a.Jf&&a.Jf[b]){var {TD:c,kp:d,context:e,priority:f}=a.Jf[b];c.removeHandler(d,e,f);delete a.Jf[b]}else Ba("unknown handler key")}function Be(a){return void 0!==a.displayObject?a.displayObject():a}function Ce(a,b,c,d,e=null,f=!1){a.Sb=a.Sb||[];if(Array.isArray(c)){const h=[];for(const g of c)c=je(Be(b),g,d,f,e),h.push(c);a.Sb.push(h)}else b=je(Be(b),c,d,f,e),a.Sb.push(b)}function De(a,b,c,d,e){a.Sb=a.Sb||[];b=ke(Be(b),c,d,!1,e);a.Sb.push(b)}
function Ee(a,b,c,d,e){if(Array.isArray(c)){let f=!1;for(const h of c)f=Ee(a,b,h,d,e)||f;return f}b=Be(b);d=le(d);c=Zd(b)?b.Ts(c,d,!1,e):b?(b=ne(b))?b.Ts(c,d,!1,e):null:null;return!!c&&Fe(a,c)}function Fe(a,b){if(Array.isArray(b)){let c=!1;for(const d of b)c=Fe(a,d)||c;return c}Ma(a.Sb,b);return ve(b)}function B(a,b,c,d,e){a.Jf=a.Jf||{};b.addHandler(c,d,e);const f=++ze;a.Jf[f]={TD:b,kp:c,context:d,priority:e}}
function Ge(a,b,c,d){const e=ic(a.Jf,f=>{a:{var h={TD:b,kp:c,context:d,priority:void 0};for(const g in f)if(!(g in h)||f[g]!==h[g]){f=!1;break a}for(const g in h)if(!(g in f)){f=!1;break a}f=!0}return f});e&&Ae(a,e)}function He(a,b,c,d){const e=(...f)=>{c.apply(d,f);Ge(a,b,e,d)};B(a,b,e,d)}function Ie(a,b){if(b){if(a.Jf){var c=dc(a.Jf,d=>d.TD.OJ==b);for(const d of Object.keys(c))Ae(a,d)}if(a.Sb){const d=Be(b);c=Ha(a.Sb,e=>e.src==d);for(const e of c)Fe(a,e)}}}
function Je(a,b){a.Hj=a.Hj||[];a.Hj.push(b);return b}function Ke(a,...b){if(a.Hj)for(const c of b)c&&(a.vn(c),b=Da(a.Hj,c),0<=b&&(a.Hj.splice(b,1),Le(c)))}function Me(a,...b){for(const c of b)c&&a.vn(c)}class Ne{constructor(){this.Hj=this.Jf=this.Sb=null}Re(){this.Fd();if(this.Hj)for(const a of this.Hj)Le(a);if(this.Sb){for(const a of this.Sb)if(Array.isArray(a))for(const b of a)ve(b);else ve(a);this.Sb=null}if(this.Jf)for(const a of Object.keys(this.Jf))Ae(this,a)}vn(a){Ie(this,a)}Fd(){}};function Oe(a,b){return 0==b?a.Uo:a.ym[b]}function Pe(a,b){return 0==b?a.Uo||[]:b in a.ym?Oe(a,b):[]}function Qe(a){if(!a.ym)return a.Uo?a.Uo.slice():[];const b=[],c=a.ow;for(let d=0;d<c.length;++d){const e=Oe(a,c[d]);e&&Ra(b,e)}return b}
class Re{constructor(){this.Uo=this.ym=this.ow=null}push(a,b){if(0==b)this.Uo=this.Uo||[];else if(this.ow=this.ow||[0],this.ym=this.ym||{},!(b in this.ym)){this.ym[b]=[];var c=this.ow;var d=Ya;let e=0,f=c.length,h;for(;e<f;){const g=e+(f-e>>>1);let l;l=d(b,c[g]);0<l?e=g+1:(f=g,h=!l)}d=h?e:-e-1;0>d&&Sa(c,-(d+1),0,b)}Oe(this,b).push(a)}remove(a,b){(b=Oe(this,b))&&Ma(b,a)}};function Se(a){return a.jf?Qe(a.jf).length:0}
class D extends Ne{constructor(a=null){super();this.RJ=this.jf=null;this.OJ=a}GV(){return this.OJ}addHandler(a,b,c){this.jf=this.jf||new Re;this.jf.push({kp:a,context:b},c||0)}removeHandler(a,b,c){c=c||0;if(this.jf){var d=Pe(this.jf,c),e=d.length;for(let f=0;f<e;++f){const h=d[f];if(h.kp==a&&h.context==b){(a=Oe(this.jf,c))&&Oa(a,f);break}}}else Ba("EventDispatcher has no handlers!")}oE(a,b,c){if(!this.jf)return!1;c=Pe(this.jf,c||0);const d=c.length;for(let e=0;e<d;++e){const f=c[e];if(f.kp==a&&f.context==
b)return!0}return!1}D(...a){if(this.jf){const b=Qe(this.jf),c=b.length;for(let d=0;d<c;++d){const e=b[d];if(-1!=Da(Qe(this.jf),e))try{e.kp.apply(e.context,arguments)}catch(f){Te(f,!0)}}}this.RJ&&this.RJ.forEach(b=>{b.D(...a)})}Fd(){super.Fd()}}D.prototype.dispatch=D.prototype.D;D.prototype.hasHandler=D.prototype.oE;D.prototype.removeHandler=D.prototype.removeHandler;D.prototype.addHandler=D.prototype.addHandler;D.prototype.eventOwner=D.prototype.GV;function Ue(a,b){return a.H()!=b.H()?a.H()-b.H():a.fa()!=b.fa()?a.fa()-b.fa():a.va()-b.va()}class Ve{constructor(a,b,c){this.Kb=a||0;this.js=b||0;this.tf=c||0}H(){return this.Kb}fa(){return this.js}va(){return this.tf}}Ve.prototype.timeOffset=Ve.prototype.va;Ve.prototype.stepIndex=Ve.prototype.fa;Ve.prototype.slideIndex=Ve.prototype.H;function We(){}r("ispring.presenter.presentation.slides.IAnimationStep",We);We.prototype.Ug=function(){};We.prototype.automaticAdvance=We.prototype.Ug;We.prototype.duration=function(){};We.prototype.duration=We.prototype.duration;We.prototype.startTime=function(){};We.prototype.startTime=We.prototype.startTime;function Xe(){}r("ispring.presenter.presentation.meta.IMetaCommands",Xe);Xe.prototype.getMetaCommand=Xe.prototype.kE;Xe.prototype.count=Xe.prototype.count;function Ye(){}r("ispring.presenter.presentation.slides.IAnimationSteps",Ye);Ye.prototype.count=function(){};Ye.prototype.count=Ye.prototype.count;Ye.prototype.ob=function(){};Ye.prototype.getStep=Ye.prototype.ob;Ye.prototype.duration=function(){};Ye.prototype.duration=Ye.prototype.duration;Ye.prototype.getTime=function(){};Ye.prototype.getTime=Ye.prototype.getTime;function $e(){}r("ispring.presenter.presentation.slides.ISlideShowTransition",$e);$e.prototype.effectType=$e.prototype.aN;$e.prototype.duration=$e.prototype.duration;class af{constructor(a,b){this.Qc=a;this.Z=b}src(){return this.Qc}type(){return this.Z}};class bf{constructor(a,b){this.pb=a;this.Hq=b}id(){return this.pb}Af(){return this.Hq}xf(){return!1}sources(){const a=[],b=this.Hq.match(/<source.+?>/g);if(b)for(let d=0;d<b.length;++d){var c=b[d];const e=c.match(/src="([^"]+)"/)[1];c=c.match(/type="([^"]+)"/)[1];a.push(new af(e,c))}return a}};class cf extends bf{constructor(a,b,c){super(a,c);this.ZO=b}Kk(){return this.ZO}};class df{constructor(a,b){this.$t=a;this.PQ=b}Dm(){return this.$t}loop(){return this.PQ}};function ef(){}r("ispring.presenter.presentation.meta.IMetaCommand",ef);ef.prototype.name=ef.prototype.name;ef.prototype.params=ef.prototype.params;function ff(a,b){this.uh=a;this.MB=b||null}ff.prototype.MB=null;ff.prototype.name=function(){return this.uh};ff.prototype.name=ff.prototype.name;ff.prototype.params=function(){return this.MB?nc(this.MB):null};ff.prototype.params=ff.prototype.params;function gf(){this.Eb=[]}gf.prototype.kE=function(a){if(0>a||a>=this.count())throw Error("index is out of bounds");return this.Eb[a]};gf.prototype.getMetaCommand=gf.prototype.kE;gf.prototype.count=function(){return this.Eb.length};gf.prototype.count=gf.prototype.count;function hf(a,b,c){this.aK=a;this.QB=null!=b?b:0;this.tl=void 0!==c?c:!0;this.Yf=0}hf.prototype.animationDuration=function(){return this.aK};hf.prototype.Ug=function(){return this.tl};hf.prototype.automaticAdvance=hf.prototype.Ug;hf.prototype.duration=function(){return this.aK+this.QB};hf.prototype.duration=hf.prototype.duration;hf.prototype.startTime=function(){return this.Yf};hf.prototype.startTime=hf.prototype.startTime;hf.prototype.qF=function(a){this.Yf=a};function jf(){this.ks=[]}jf.prototype.Y=0;jf.prototype.add=function(a){a.qF(this.Y);this.ks.push(a);this.Y+=a.duration()};jf.prototype.count=function(){return this.ks.length};jf.prototype.count=jf.prototype.count;jf.prototype.ob=function(a){if(0>a||a>=this.ks.length)throw Error("stepIndex is out of range");return this.ks[a]};jf.prototype.getStep=jf.prototype.ob;jf.prototype.duration=function(){return this.Y};jf.prototype.duration=jf.prototype.duration;
jf.prototype.getTime=function(a,b){return this.ob(a).startTime()+b};jf.prototype.getTime=jf.prototype.getTime;let kf=0;class lf{constructor(a,b){this.uh=a;this.Lb=b;this.pb=`${kf++}`}name(){return this.uh}time(){return this.Lb}id(){return this.pb}};function mf(a,b){if(0>b||b>=a.count())throw Error();return a.vl[b]}class nf{constructor(){this.vl=[]}count(){return this.vl.length}add(a){this.vl.push(a)}};class of{constructor(a,b,c){this.Z=a;this.Eh=b;this.Dh=c}type(){return this.Z}Qa(){return this.Eh}We(){return this.Dh}};class pf{constructor(){this.Eb=[]}count(){return this.Eb.length}};class qf{constructor(a,b,c){this.zP=a;this.Eh=b;this.cA=c}Qa(){return this.Eh}Od(){return this.cA}};function rf(a){if(0>=a.count())throw Error("index is out of range");return a.lf[0]}function sf(a,b){for(let c=0;c<a.lf.length;++c){const d=a.lf[c];if(0<=Ue(b,d.Qa())&&0>Ue(b,d.Od()))return d}return null}class tf{constructor(a){this.lf=a}count(){return this.lf.length}};function uf(a,b,c){c&&!vf(a,b,c)&&(c=null);c||(c=wf(a,b));a.lf.push(new qf(b,b.Qa(),c))}function vf(a,b,c){a=wf(a,b);return 0<=Ue(a,c)}
function wf(a,b){const c=a.Ac;var d=c.Bh,e=c.Vf,f=null;if("number"===typeof d)f=c.duration(),f=f-(b.We()||0)+f*(d-1);else switch(d){case "untilNextClick":e=-1;break;case "untilNextSlide":e=Math.max(e,0)}b=b.Qa();e=0>e?new Ve(b.H(),b.fa()+1,0):new Ve(b.H()+e+1,-1,0);d=null;null!==f&&(a=a.L,b=a.lj(b,!0,!1),f=Math.min(b+f,a.duration()),d=a.Yo(f,!0,!1));return d&&0>Ue(d,e)?d:e}
class xf{constructor(a,b){this.Ac=a;this.L=b;this.lf=[];a=this.Ac.Eb;b=null;for(let e=0;e<a.count();++e){var c=a,d=e;if(0>d||d>=c.count())throw Error("index is out of range");c=c.Eb[d];d=c.Qa();switch(c.type()){case "play":b&&uf(this,b,d);b=c;break;case "togglePlay":b&&vf(this,b,d)?(uf(this,b,d),b=null):(b&&uf(this,b),b=c);break;case "stop":b&&(uf(this,b,d),b=null)}}b&&uf(this,b)}JD(){return new tf(this.lf)}};function yf(a,b){a.lf||(a.lf=(new xf(a,b)).JD());return a.lf}class zf{constructor(a,b,c){this.pb=a;this.ff=b;this.Y=c;this.Vf=-1;this.Qe=this.Bh=1;this.vl=new nf;this.Eb=new pf;this.lf=null}id(){return this.pb}duration(){return this.Y}volume(){return this.Qe}setVolume(a){this.Qe=a}kg(){return this.vl}};class Af extends zf{constructor(a,b,c){super(a,b,c);this.Nn=!1}};function Bf(a,b,c,d){this.En=a;this.Y=b;this.Pc=c||null;this.zL=d||!1}Bf.prototype.Pc=null;Bf.prototype.aN=function(){return this.En};Bf.prototype.effectType=Bf.prototype.aN;Bf.prototype.duration=function(){return this.Y};Bf.prototype.duration=Bf.prototype.duration;Bf.prototype.clone=function(){return new Bf(this.En,this.Y,this.Pc,this.zL)};function Cf(){}Cf.prototype.RI=null;Cf.prototype.tK=null;Cf.prototype.pj=function(){return this.RI};function Df(a,b){a.RI=b}Cf.prototype.Ep=function(){return this.tK};function Ef(a,b){a.tK=b};function Ff(a,b){if(0>b||b>=a.Ql.length)throw Error("index is out of range");return a.Ql[b]}function Gf(a,b){for(let c=0;c<a.Ql.length;++c){const d=a.Ql[c];if(d.id()==b)return d}return null}class Hf{constructor(){this.Ql=[]}add(a){this.Ql.push(a)}count(){return this.Ql.length}ub(){return this.Ql}};function If(){this.LI={}}If.prototype.AN=function(a){return z(this.LI,a,!0)};If.prototype.navigationActionIsEnabled=If.prototype.AN;function Jf(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}k=Jf.prototype;k.clone=function(){return new Jf(this.top,this.right,this.bottom,this.left)};k.contains=function(a){return this&&a?a instanceof Jf?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
k.expand=function(a,b,c,d){la(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
k.translate=function(a,b){a instanceof Sc?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};function Kf(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}k=Kf.prototype;k.clone=function(){return new Kf(this.left,this.top,this.width,this.height)};k.contains=function(a){return a instanceof Sc?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
k.YM=function(){var a=(void 0).x<this.left?this.left-(void 0).x:Math.max((void 0).x-(this.left+this.width),0),b=(void 0).y<this.top?this.top-(void 0).y:Math.max((void 0).y-(this.top+this.height),0);return Math.sqrt(a*a+b*b)};k.Wg=function(){return new Yc(this.width,this.height)};function Lf(a){return new Sc(a.left+a.width/2,a.top+a.height/2)}k.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
k.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.translate=function(a,b){a instanceof Sc?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};
k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};class Mf{constructor({id:a,gl:b,gi:c,GF:d,Lh:e,rotation:f,slides:h,Pp:g}){this.pb=a;this.bT=b;this.tT=c;this.nU=d;this.Lc=e;this.$T=g;this.yo=f%360;180<this.yo&&(this.yo-=360);this.yo=this.yo*Math.PI/180;h.sort((l,n)=>l-n);this.L=h}id(){return this.pb}Pp(){return this.$T}la(){return this.Lc}duration(){return this.nU}slides(){return this.L}gl(){return this.bT}gi(){return this.tT}rotation(){return this.yo}};function Nf(a,b){return Ka(a.hf,c=>c.id()==b)}function Of(a,b){return Ka(a.hf,c=>!!c.slides().length&&c.slides()[0]==b)}function Pf(a){let b=[];for(var c of a.hf)b=b.concat(c.slides());if(!b.length)return!0;b.sort((d,e)=>d-e);a=b[0];for(c=0;c<b.length;c++)if(b[c]!=a+c)return!0;return!1}class Qf{constructor(){this.hf=[]}};function Rf(a,b){a.jx!=b&&(a.jx=b,a.pM.D(a.index()))}
class Sf{constructor(a){this.ln=new jf;this.Z=a;this.Yf=0;this.pb="";this.oM=this.Of=-1;this.Uc=!0;this.dI=!1;this.Qc=null;this.rf=this.um="";this.tl=!1;this.iq=!0;this.xd=null;this.QT=new Hf;this.ex=new Hf;this.GL=null;this.cB=0;this.jx=this.Lf=!1;this.pM=new D;this.$Q=new gf;this.mK=null;this.rP=new Cf;this.aB=new If;this.MU=new Qf;this.lq=null}Aa(){return this.ln}type(){return this.Z}id(){return this.pb}ZN(a){this.pb=a}index(){return this.Of}LF(){if(!this.Uc)throw Error("slide is hidden");return this.oM}visible(){return this.Uc}xa(a){this.Uc=
a}Pd(){return this.dI}src(){return this.Qc}title(){return this.um}rF(a){this.um=a}GX(){return this.jR}Ug(){return this.tl}transition(){return this.xd}duration(){const a=this.xd.duration();return this.ln.duration()+a}Db(){return this.QT}Wb(){return this.ex}Ly(){return this.GL}startTime(){return this.Yf}qF(a){this.Yf=a}Bs(){return this.iq}Xx(){return this.cB}text(){return this.rf}Im(){return this.$Q}YW(){return this.mK}wf(){return this.rP}Jm(){return this.aB}vg(){return this.MU}completed(){return this.Lf}Py(){return this.jx}persistState(){return{completed:this.Lf,
visited:this.jx}}gj(a){this.Lf=z(a,"completed",!1);Rf(this,z(a,"visited",!1))}Yo(a,b){if(isNaN(a))throw Error("NaN time not accepted");if(0>a)throw Error("negative time not accepted");let c=0;b&&null!=this.transition()&&(b=this.transition().duration(),b<a?a-=b:c=-1);if(0==c){for(b=this.Aa();c<b.count();++c){const d=b.ob(c);if(d.duration()>=a)break;a-=d.duration()}if(c==b.count())if(.001>=a)--c,a=b.ob(c).duration();else throw Error("time out of bounds");}return new Ve(this.index(),c,a)}}
Sf.prototype.convertTimeToTimestamp=Sf.prototype.Yo;Sf.prototype.zoomEffects=Sf.prototype.vg;Sf.prototype.navigationSettings=Sf.prototype.Jm;Sf.prototype.presenter=Sf.prototype.YW;Sf.prototype.metaCommands=Sf.prototype.Im;Sf.prototype.text=Sf.prototype.text;Sf.prototype.nestingLevel=Sf.prototype.Xx;Sf.prototype.startTime=Sf.prototype.startTime;Sf.prototype.thumbnail=Sf.prototype.Ly;Sf.prototype.duration=Sf.prototype.duration;Sf.prototype.transition=Sf.prototype.transition;
Sf.prototype.slideNotes=Sf.prototype.GX;Sf.prototype.title=Sf.prototype.title;Sf.prototype.isLoaded=Sf.prototype.Pd;Sf.prototype.visible=Sf.prototype.visible;Sf.prototype.visibleIndex=Sf.prototype.LF;Sf.prototype.index=Sf.prototype.index;Sf.prototype.id=Sf.prototype.id;Sf.prototype.type=Sf.prototype.type;Sf.prototype.animationSteps=Sf.prototype.Aa;function Tf(a,b){b.Of=a.L.length;b.qF(a.duration());a.L.push(b);if(b.visible()){b.oM=a.ix.length;a.ix.push(b);const c=b.duration(),d=b.transition()?b.transition().duration():0;a.qD+=c;a.pD+=c-d}b.pM.addHandler(c=>{a.KT.D(c)},a)}
class Uf{constructor(){this.L=[];this.ix=[];this.pD=this.qD=0;this.KT=new D}R(a){if(0>a||a>=this.L.length)throw Error("slideIndex is out of range");return this.L[a]}count(){return this.L.length}duration(){if(0==this.count())return 0;const a=this.L[this.L.length-1];return a.startTime()+a.duration()}mV(a,b,c){return new Ve(a,b,c)}lj(a,b,c){if(!a)throw Error("Invalid timestamp");var d=a.H();if(d>=this.count())throw Error("Slide index is out of bounds");if(0>d)return NaN;void 0===b&&(b=!0);void 0===c&&
(c=!0);let e=0;for(var f=0;f<d;++f){var h=this.L[f];if(!c||h.visible()){var g=h.transition();b&&(e+=g.duration());e+=h.Aa().duration()}}h=a.fa();f=a.va();d=this.L[d];g=d.transition();if(!c||d.visible())if(0<=a.fa()){b&&(e+=g.duration());a=d.Aa();if(h>=a.count())throw Error("stepIndex is out of bounds");a=a.ob(h);f>a.duration()&&(f=a.duration());e+=a.startTime()+f}else b&&(f>g.duration()&&(f=g.duration()),e+=f);return e}Yo(a,b,c){if(isNaN(a))throw Error("NaN time not accepted");if(0>a)throw Error("negative time not accepted");
let d=null;for(var e=0;e<this.count();++e)if(d=this.R(e),!c||d.visible()){let h=d.Aa().duration();var f=d.transition();b&&(h+=f.duration());f=c?d.LF()==this.MF()-1:d.index()==this.count()-1;if(h>=a||f&&.001>=a-h)break;a-=h}if(e==this.count()&&0<=a)throw Error("time out of bounds");c=0;b&&(b=d.transition().duration(),b<a?a-=b:c=-1);if(0==c){for(b=d.Aa();c<b.count();++c){e=b.ob(c);if(e.duration()>=a)break;a-=e.duration()}if(c==b.count())if(.001>=a)--c,a=b.ob(c).duration();else throw Error("time out of bounds");
}return new Ve(d.index(),c,a)}MF(){return this.ix.length}WV(a){if(0>a||a>=this.MF())throw Error("Slide index is out of range");return this.ix[a]}$X(){return this.qD}yO(){return this.pD}}Uf.prototype.visibleAnimationStepsDuration=Uf.prototype.yO;Uf.prototype.visibleSlidesDuration=Uf.prototype.$X;Uf.prototype.getVisibleSlide=Uf.prototype.WV;Uf.prototype.visibleSlidesCount=Uf.prototype.MF;Uf.prototype.convertTimeToTimestamp=Uf.prototype.Yo;Uf.prototype.convertTimestampToTime=Uf.prototype.lj;
Uf.prototype.createTimestamp=Uf.prototype.mV;Uf.prototype.duration=Uf.prototype.duration;Uf.prototype.count=Uf.prototype.count;Uf.prototype.getSlide=Uf.prototype.R;function Vf(a){0<=a.I&&--a.I;return 0<=a.I}function Wf(a){for(;a.Yx()&&!a.W().visible(););return!!a.W()}function Xf(a){for(;Vf(a)&&!a.W().visible(););return!!a.W()}class Yf{constructor(a,b){this.IS=a;this.Jo=b;this.su=b.length;this.I=-1}seekTo(a){this.I=Qc(a,-1,this.su);return!0}Yx(){this.I<this.su&&++this.I;return this.I<this.su}W(){return 0<=this.I&&this.I<this.su?this.IS.R(this.Jo[this.I]):null}qa(){return this.I}};function bg(a){return new Yf(a.TO,a.Jo)}function cg(a){a=bg(a);return Wf(a)?a.qa():-1}class dg{constructor(a,b,c){this.TO=a;this.uh=b;this.Jo=c}name(){return this.uh}slides(){return this.Jo}};function eg(){}r("ispring.presenter.player.narration.video.IVideoNarrationView",eg);eg.prototype.displayObject=function(){};eg.prototype.displayObject=eg.prototype.displayObject;eg.prototype.resize=function(){};eg.prototype.resize=eg.prototype.resize;eg.prototype.width=function(){};eg.prototype.width=eg.prototype.width;eg.prototype.height=function(){};eg.prototype.height=eg.prototype.height;eg.prototype.JF=function(){};class fg extends bf{constructor(a,b,c,d,e){super(a,b);this.pa=c;this.ka=d;this.so=e}Nm(){return this.so}width(){return this.pa}height(){return this.ka}xf(){return this.Hq.includes("controls")}};class gg{constructor(){this.xM=!0}OF(){return this.xM}};function hg(a,b,c){this.CQ=a;this.JG=b||!1;this.Aw=c||!1}k=hg.prototype;k.JG=!1;k.Aw=!1;k.key=function(){return this.CQ};k.zx=function(){return this.JG};k.shift=function(){return this.Aw};function ig(a){this.Z=a;this.fL=[]}ig.prototype.type=function(){return this.Z};ig.prototype.Wm=function(){return this.fL};function jg(){this.Va=[]}jg.prototype.count=function(){return this.Va.length};jg.prototype.ke=function(a){this.Va.push(a)};function kg(a,b){if(0>b||b>=a.count())throw Error("actionIndex is out of range");return a.Va[b]};function lg(){this.Va=new jg}lg.prototype.hb=!0;lg.prototype.enabled=function(){return this.hb};lg.prototype.yb=function(a){this.hb=a};lg.prototype.actions=function(){return this.Va};function mg(){this.hb=!0}mg.prototype.enabled=function(){return this.hb};mg.prototype.enabled=mg.prototype.enabled;mg.prototype.yb=function(a){this.hb=a};function ng(a){const b=new D(a);Je(a,b);return b}class og extends Ne{};class pg extends og{constructor(){super();this.TB=1;this.Po=!1;this.Ii=ng(this)}playbackRate(){return this.TB}Zh(a){this.TB!=a&&(this.TB=a,this.Ii.D())}Lt(){return this.Po}};function qg(){return Ib?"Webkit":Hb?"Moz":Db?"ms":null}function rg(a,b){if(b&&a in b)return a;var c=qg();return c?(c=c.toLowerCase(),a=c+jd(a),void 0===b||a in b?a:null):null};var sg=class extends Td{constructor(a,b){super("visibilitychange");this.hidden=a;this.visibilityState=b}};const tg=new WeakMap;function ug(a){var b=vg;const c=ma(a),d=([,...f])=>b(c,f),e=([f,...h])=>a.apply(f,h);return function(...f){const h=this||ha;let g=tg.get(h);g||(g={},tg.set(h,g));return Bb(g,[this,...f],e,d)}}function vg(a,b){a=[a];for(let c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\v")};function wg(a){xe.call(this);this.Os=a||kd();if(this.cN=this.RV())this.FV=je(this.Os.me,this.cN,va(this.$V,this))}v(wg,xe);k=wg.prototype;k.RV=ug(function(){var a=!!this.Ss(),b="hidden"!=this.Ss();return a?b?((qg()||"")+"visibilitychange").toLowerCase():"visibilitychange":null});k.Ss=ug(function(){return rg("hidden",this.Os.me)});k.VV=ug(function(){return rg("visibilityState",this.Os.me)});function xg(a){return!!a.Os.me[a.Ss()]}
k.$V=function(){var a=this.Ss()?this.Os.me[this.VV()]:null;a=new sg(xg(this),a);this.dispatchEvent(a)};k.yf=function(){ve(this.FV);wg.Ua.yf.call(this)};class yg{constructor(){this.L=[];this.pv=1;this.Bi=this.tc=0;this.Rj=!1}push(a){this.Rj||(this.L[this.Bi]=a,this.Bi=(this.Bi+1)%this.pv,this.tc=Math.min(this.tc+1,this.pv))}pop(){if(this.Rj||this.Qh())return null;this.Bi=0>this.Bi-1?this.pv-1:this.Bi-1;this.tc--;return this.L[this.Bi]}top(){return this.Qh()?null:this.L[0>this.Bi-1?this.pv-1:this.Bi-1]}Qh(){return!this.tc}size(){return this.tc}lock(){this.Rj=!0}unlock(){this.Rj=!1}};var zg={C_:"playingSlide",D_:"playingTransition",y_:"pausedTransition",x_:"pausedSlide",OO:"suspended",QF:"buffering"};r("ispring.presenter.player.PresentationPlaybackState",zg);r("PLAYING_SLIDE","playingSlide",zg);r("PAUSED_SLIDE","pausedSlide",zg);r("SUSPENDED","suspended",zg);r("PLAYING_TRANSITION","playingTransition",zg);r("PAUSED_TRANSITION","pausedTransition",zg);r("BUFFERING","buffering",zg);function Ag(a){this.Z=a}Ag.prototype.type=function(){return this.Z};function Bg(a){this.Z="gotoSlide";this.Kb=a}v(Bg,Ag);Bg.prototype.H=function(){return this.Kb};function Cg(a){this.B=a}Cg.prototype.YD=function(a){switch(a.type()){case "closePlayerWindow":this.B.Bu.D();return;case "gotoNextSlide":Dg(this.B,!0,!0,!0);return;case "gotoSlide":this.sA(a.H());return}throw Error("unknown action type");};Cg.prototype.sA=function(a){this.B.Yc(a)};function Eg(a,b,c,d,e){this.qw=a;this.zK=b;this.pw=c;this.bG=d;this.fM=e}Eg.prototype.quizState=function(){return this.zK};Eg.prototype.quizPassed=function(){return this.pw};Eg.prototype.allowRetakeQuiz=function(){return this.bG};Eg.prototype.Gt=function(){return{type:this.qw,state:this.zK,passed:this.pw,retake:this.bG,attempts:this.fM}};
function Fg(a){const b=a.quiz().isGraded()?"graded":"survey";var c=a.currentSession();if(c){const d=c.evaluation();c=c.sessionMode();const e=a.usedAttemptsCount();let f=!1,h=!1;d&&(f=d.quizPassed(),h=a.allowRetakeQuiz());return new Eg(b,c,f,h,e)}return new Eg(b,null,!1,a.allowRetakeQuiz(),0)};function Gg(a){return"graded"==a.qw?a.quizPassed():Hg(a)}function Hg(a){a=a.quizState();return"completed"==a||"reviewing"==a};function Ig(a){this.Z=a}Ig.prototype.type=function(){return this.Z};function Jg(a){this.Z="gotoSlide";this.Kb=a}v(Jg,Ig);Jg.prototype.H=function(){return this.Kb};function Kg(a){this.B=a}Kg.prototype.YD=function(a){switch(a.type()){case "closePlayerWindow":this.B.Bu.D();return;case "gotoNextSlide":Dg(this.B,!0,!0,!0);return;case "gotoSlide":this.sA(a.H());return}throw Error("unknown action type");};Kg.prototype.sA=function(a){this.B.Yc(a)};class Lg{constructor(a,b,c){this.Ho=a;this.MK=b;this.FT=c}};var Mg={Z0:"started",OO:"suspended",QF:"buffering",$0:"stopped",k0:"rewinding"};r("ispring.presenter.player.clock.PresentationClockState",Mg);r("STARTED","started",Mg);r("SUSPENDED","suspended",Mg);r("BUFFERING","buffering",Mg);r("STOPPED","stopped",Mg);r("REWINDING","rewinding",Mg);class Ng extends zf{constructor(a,b,c,d){super(a,b,c);this.XJ=d;this.$J=this.OK=this.DH=!1}qE(){return this.DH}ty(){return this.OK}OE(){return this.$J}};var Og=ub(),Pg=yb()||tb("iPod"),Qg=tb("iPad"),Rg=xb(),Sg=wb(),Tg=vb()&&!zb();function Ug(a,b){b||(b={});var c=window;if(a instanceof wc)var d=a;else d="undefined"!=typeof a.href?a.href:String(a),d instanceof wc||(d="object"==typeof d&&d.up?d.pp():String(d),zc.test(d)?d=new wc(d,vc):(d=String(d),d=d.replace(/(%0A|%0D)/g,""),d=d.match(yc)?new wc(d,vc):null)),d=d||Bc;var e=void 0!==self.crossOriginIsolated,f="strict-origin-when-cross-origin";window.Request&&(f=(new Request("/")).referrerPolicy);const h="unsafe-url"===f;f=b.noreferrer;if(e&&f){if(h)throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!");
f=!1}a=b.target||a.target;e=[];for(var g in b)switch(g){case "width":case "height":case "top":case "left":e.push(g+"="+b[g]);break;case "target":case "noopener":case "noreferrer":break;default:e.push(g+"="+(b[g]?1:0))}g=e.join(",");if(zb()&&c.navigator&&c.navigator.standalone&&a&&"_self"!=a){b=A("A");a:{try{var l=b&&b.ownerDocument,n=l&&(l.defaultView||l.parentWindow);n=n||ha;if(n.Element&&n.Location){var m=n;break a}}catch(q){}m=null}if(m&&"undefined"!=typeof m.HTMLAnchorElement&&(!b||!(b instanceof
m.HTMLAnchorElement)&&(b instanceof m.Location||b instanceof m.Element))){if(la(b))try{var p=b.constructor.displayName||b.constructor.name||Object.prototype.toString.call(b)}catch(q){p="<object could not be stringified>"}else p=void 0===b?"undefined":null===b?"null":typeof b;Ba("Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLAnchorElement",p)}m=d instanceof wc?d:Ac(d);b.href=xc(m);b.target=a;f&&(b.rel="noreferrer");m=document.createEvent("MouseEvent");m.initMouseEvent("click",
!0,!0,c,1);b.dispatchEvent(m);c={}}else f?(c=Oc("",c,a,g),b=xc(d),c&&(Gb&&-1!=b.indexOf(";")&&(b="'"+b.replace(/'/g,"%27")+"'"),c.opener=null,""===b&&(b="javascript:''"),b=gb(b),b=Gc('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+b+'">'),(m=c.document)&&m.write&&(m.write(Dc(b)),m.close()))):((c=Oc(d,c,a,g))&&b.noopener&&(c.opener=null),c&&b.noreferrer&&(c.opener=null));return c};let Vg;function Wg(a){a instanceof Wd&&(a=a.ne);Vg||(Vg=new WeakMap);return Vg.has(a)}function Xg(a){a instanceof Wd&&(a=a.ne);return a.defaultPrevented?!0:Wg(a)};function Yg(a,b){xe.call(this);this.vp=a||1;this.Ft=b||ha;this.LM=va(this.QX,this);this.sN=Date.now()}v(Yg,xe);k=Yg.prototype;k.enabled=!1;k.kh=null;k.setInterval=function(a){this.vp=a;this.kh&&this.enabled?(this.stop(),this.start()):this.kh&&this.stop()};k.QX=function(){if(this.enabled){var a=Date.now()-this.sN;0<a&&a<.8*this.vp?this.kh=this.Ft.setTimeout(this.LM,this.vp-a):(this.kh&&(this.Ft.clearTimeout(this.kh),this.kh=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
k.start=function(){this.enabled=!0;this.kh||(this.kh=this.Ft.setTimeout(this.LM,this.vp),this.sN=Date.now())};k.stop=function(){this.enabled=!1;this.kh&&(this.Ft.clearTimeout(this.kh),this.kh=null)};k.yf=function(){Yg.Ua.yf.call(this);this.stop();delete this.Ft};function Zg(a,b,c){if("function"===typeof a)c&&(a=va(a,c));else if(a&&"function"==typeof a.handleEvent)a=va(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:ha.setTimeout(a,b||0)};var $g={},ah=null,bh=Hb||Ib||"function"==typeof ha.btoa;
function ch(a){if(bh)var b=ha.btoa(a);else{b=[];for(var c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}a=void 0;void 0===a&&(a=0);dh();a=$g[a];c=Array(Math.floor(b.length/3));d=a[64]||"";let n=0;for(e=0;n<b.length-2;n+=3){var f=b[n],h=b[n+1],g=b[n+2],l=a[f>>2];f=a[(f&3)<<4|h>>4];h=a[(h&15)<<2|g>>6];g=a[g&63];c[e++]=""+l+f+h+g}l=0;g=d;switch(b.length-n){case 2:l=b[n+1],g=a[(l&15)<<2]||d;case 1:b=b[n],c[e]=""+a[b>>2]+a[(b&3)<<4|l>>4]+g+d}b=c.join("")}return b}
function eh(a){var b=[];fh(a,function(c){b.push(c)});return b}function fh(a,b){function c(l){for(;d<a.length;){var n=a.charAt(d++),m=ah[n];if(null!=m)return m;if(!/^[\s\xa0]*$/.test(n))throw Error("Unknown base64 encoding at char: "+n);}return l}dh();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),g=c(64);if(64===g&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=g&&b(h<<6&192|g))}}
function dh(){if(!ah){ah={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));$g[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===ah[f]&&(ah[f]=e)}}}};function gh(a){this.oy=a}function hh(a,b){const c=[];ih(a,b,c);return c.join("")}
function ih(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");var e="";for(var f=0;f<b;f++)c.push(e),e=d[f],ih(a,a.oy?a.oy.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),jh(d,c),c.push(":"),ih(a,a.oy?a.oy.call(b,d,e):e,c),f=","));c.push("}");
return}}switch(typeof b){case "string":jh(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}var kh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},lh=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;
function jh(a,b){b.push('"',a.replace(lh,function(c){let d=kh[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),kh[c]=d);return d}),'"')};function G(a,b,c){if("string"===typeof b)(b=mh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=mh(c,d);f&&(c.style[f]=e)}}var nh={};function mh(a,b){var c=nh[b];if(!c){var d=id(b);c=d;void 0===a.style[d]&&(d=qg()+jd(d),void 0!==a.style[d]&&(c=d));nh[b]=c}return c}function oh(a,b){var c=md(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}
function ph(a,b){return oh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function qh(a,b,c){if(b instanceof Sc){var d=b.x;b=b.y}else d=b,b=c;a.style.left=rh(d,!1);a.style.top=rh(b,!1)}function sh(a){return new Sc(a.offsetLeft,a.offsetTop)}function th(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}
function uh(a){var b=md(a),c=new Sc(0,0);var d=b?md(b):document;d=!Db||9<=Number(ac)||"CSS1Compat"==kd(d).me.compatMode?d.documentElement:d.body;if(a==d)return c;a=th(a);d=kd(b).me;b=d.scrollingElement?d.scrollingElement:Ib||"CSS1Compat"!=d.compatMode?d.body||d.documentElement:d.documentElement;d=d.parentWindow||d.defaultView;b=Db&&Yb("10")&&d.pageYOffset!=b.scrollTop?new Sc(b.scrollLeft,b.scrollTop):new Sc(d.pageXOffset||b.scrollLeft,d.pageYOffset||b.scrollTop);c.x=a.left+b.x;c.y=a.top+b.y;return c}
function vh(a,b){a=wh(a);b=wh(b);return new Sc(a.x-b.x,a.y-b.y)}function wh(a){if(1==a.nodeType)return a=th(a),new Sc(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new Sc(a.clientX,a.clientY)}function xh(a,b,c){if(b instanceof Yc)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");yh(a,b);zh(a,c)}function rh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function zh(a,b){a.style.height=rh(b,!0)}function yh(a,b){a.style.width=rh(b,!0)}
function Ah(a){var b=Bh;if("none"!=ph(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}function Bh(a){var b=a.offsetWidth,c=a.offsetHeight,d=Ib&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=th(a),new Yc(a.right-a.left,a.bottom-a.top)):new Yc(b,c)}
function Ch(a){var b=a.style;a="";"opacity"in b?a=b.opacity:"MozOpacity"in b?a=b.MozOpacity:"filter"in b&&(b=b.filter.match(/alpha\(opacity=([\d.]+)\)/))&&(a=String(b[1]/100));return""==a?a:Number(a)}function I(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")}function Dh(a,b){a.style.display=b?"":"none"}function Eh(a){return new Yc(a.offsetWidth,a.offsetHeight)}
function Fh(a,b){var c=a.currentStyle?a.currentStyle[b]:null;if(c)if(/^\d+px?$/.test(c))a=parseInt(c,10);else{b=a.style.left;var d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=c;c=a.style.pixelLeft;a.style.left=b;a.runtimeStyle.left=d;a=+c}else a=0;return a}
function Jh(a){if(Db){var b=Fh(a,"marginLeft"),c=Fh(a,"marginRight"),d=Fh(a,"marginTop");a=Fh(a,"marginBottom");return new Jf(d,c,a,b)}b=oh(a,"marginLeft");c=oh(a,"marginRight");d=oh(a,"marginTop");a=oh(a,"marginBottom");return new Jf(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};function Kh(a,b){this.Z=a;this.wg=b||[]}r("iSpring.ios.mobile.MobileAppCommand",Kh);Kh.prototype.id=function(){return ma(this)};Kh.prototype.jp=function(){if(!Lh)return!1;var a=this.Z;var b=this.wg;const c=this.id();b=hh(new gh(null),b);a="isplayer://"+a+"/"+c+"/"+ch(b);return Mh(a)};function Mh(a){try{const b=A("iframe");G(b,{width:"1px",height:"1px",border:"0"});b.src=a;document.body.appendChild(b);Zg(()=>{zd(b)},100)}catch(b){return!1}return!0};function Nh(a){this.length=a.length||a;for(let b=0;b<this.length;b++)this[b]=a[b]||0}Nh.prototype.BYTES_PER_ELEMENT=4;Nh.prototype.set=function(a,b){b=b||0;for(let c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};Nh.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(Nh.BYTES_PER_ELEMENT=4,Nh.prototype.BYTES_PER_ELEMENT=Nh.prototype.BYTES_PER_ELEMENT,Nh.prototype.set=Nh.prototype.set,Nh.prototype.toString=Nh.prototype.toString,r("Float32Array",Nh));function Oh(a){this.length=a.length||a;for(let b=0;b<this.length;b++)this[b]=a[b]||0}Oh.prototype.BYTES_PER_ELEMENT=8;Oh.prototype.set=function(a,b){b=b||0;for(let c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};Oh.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{Oh.BYTES_PER_ELEMENT=8}catch(a){}Oh.prototype.BYTES_PER_ELEMENT=Oh.prototype.BYTES_PER_ELEMENT;Oh.prototype.set=Oh.prototype.set;Oh.prototype.toString=Oh.prototype.toString;r("Float64Array",Oh)};function Ph(){return new Float32Array(3)}function Qh(){const a=Array(3);Rh(a,0,0,0);return a}function Rh(a,b,c,d){a[0]=b;a[1]=c;a[2]=d;return a}function Sh(a,b,c){c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2]}function Th(a,b){var c=Qh();c[0]=a[0]*b;c[1]=a[1]*b;c[2]=a[2]*b;return c}function Uh(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]}function Vh(a,b,c){const d=a[0],e=a[1];a=a[2];const f=b[0],h=b[1];b=b[2];c[0]=e*b-a*h;c[1]=a*f-d*b;c[2]=d*h-e*f;return c};function Wh(){const a=Array(4);Xh(a,0,0,0,0);return a}function Xh(a,b,c,d,e){a[0]=b;a[1]=c;a[2]=d;a[3]=e}function Yh(a,b,c){c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2];c[3]=a[3]-b[3]};function Zh(a,b,c){const d=b[3],e=b[0],f=b[1];b=b[2];c[0]=e*a[0]+f*a[4]+b*a[8]+d*a[12];c[1]=e*a[1]+f*a[5]+b*a[9]+d*a[13];c[2]=e*a[2]+f*a[6]+b*a[10]+d*a[14];c[3]=e*a[3]+f*a[7]+b*a[11]+d*a[15]}function $h(a,b,c,d){var e=a[1]*b+a[5]*c+a[9]*d+a[13],f=a[2]*b+a[6]*c+a[10]*d+a[14],h=a[3]*b+a[7]*c+a[11]*d+a[15];a[12]=a[0]*b+a[4]*c+a[8]*d+a[12];a[13]=e;a[14]=f;a[15]=h}
function ai(a,b){const c=a[4],d=a[5],e=a[6],f=a[7],h=a[8],g=a[9],l=a[10],n=a[11],m=Math.cos(b);b=Math.sin(b);a[4]=c*m+h*b;a[5]=d*m+g*b;a[6]=e*m+l*b;a[7]=f*m+n*b;a[8]=c*-b+h*m;a[9]=d*-b+g*m;a[10]=e*-b+l*m;a[11]=f*-b+n*m}function bi(a,b){const c=a[0],d=a[1],e=a[2],f=a[3],h=a[8],g=a[9],l=a[10],n=a[11],m=Math.cos(b);b=Math.sin(b);a[0]=c*m+h*-b;a[1]=d*m+g*-b;a[2]=e*m+l*-b;a[3]=f*m+n*-b;a[8]=c*b+h*m;a[9]=d*b+g*m;a[10]=e*b+l*m;a[11]=f*b+n*m}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);
new Float64Array(4);new Float64Array(16);function ci(a,b){for(let c=0;c<b.length;++c)if(void 0!==a.style[b[c]])return b[c];throw Error("browser doesn't support css style "+b[0]);}function J(a,b){const c=ci(a,["transform","webkitTransform","msTransform","MozTransform","OTransform"]);G(a,c,b)}function di(a,b){const c=ci(a,["transformOrigin","webkitTransformOrigin","msTransformOrigin","MozTransformOrigin","OTransformOrigin"]);G(a,c,b)}
function ei(a,b){const c=ci(a,["transformStyle","webkitTransformStyle","msTransformStyle","MozTransformStyle","OTransformStyle"]);G(a,c,b)}function fi(a,b){const c=ci(a,["perspective","webkitPerspective","msPerspective","MozPerspective","OPerspective"]);G(a,c,b)}function gi(a,b){const c=ci(a,["perspectiveOrigin","webkitPerspectiveOrigin","msPerspectiveOrigin","MozPerspectiveOrigin","OPerspectiveOrigin"]);G(a,c,b)}
function hi(a,b){const c=ci(a,["backfaceVisibility","webkitBackfaceVisibility","msBackfaceVisibility","MozBackfaceVisibility","OBackfaceVisibility"]);G(a,c,b)};function ii(a,b,c,d){c=c||0;const e=Array.prototype.slice.call(arguments,3);return setTimeout(()=>{a.apply(b||null,e)},c)}function ji(){return ki&&!li?"about:blank":""}
function mi(){if(ni)return new Yc(document.documentElement.clientWidth,document.documentElement.clientHeight);if(ki&&Db)return new Yc(screen.width,screen.height);var a=void 0!==window.devicePixelRatio?window.devicePixelRatio:1;return li?new Yc(screen.width/a,screen.height/a):ki?oi&&(a=Math.max(screen.width,screen.height),document.documentElement.clientWidth>a)?new Yc(Math.max(document.documentElement.clientWidth,a),Math.max(document.documentElement.clientHeight,Math.min(screen.width,screen.height))):
new Yc(screen.width,screen.height):new Yc(screen.width*a,screen.height*a)}function pi(){var a=window.location.search.substr(1);if(a){var b={};a=a.split("&");for(let e=0;e<a.length;++e){const f=a[e].split("=");if(2==f.length){try{var c=decodeURIComponent(f[0].replace(/\+/g," "))}catch(h){c=f[0]}try{var d=decodeURIComponent(f[1].replace(/\+/g," "))}catch(h){d=f[1]}c=c.toLowerCase();b[c]=d}}}else b={};return b}function qi(a,b){Lh?(new Kh("openWindow",[a])).jp():Ug(a,b?{target:b}:void 0)}
function ri(a){if(!a)return!1;for(;a;){if("A"==a.nodeName.toLocaleUpperCase())return!0;a=a.parentNode}return!1}function si(a){return a&&"VIDEO"==a.nodeName&&a.controls}function ti(a){const b=rd("script",{type:"text/javascript",charset:"UTF-8"});document.body.appendChild(b);b.src=a;return b}function ui(){return 0==window.location.href.indexOf("file:")}function vi(){const a=rd("DIV");try{fi(a,"100px")}catch(b){return!1}return!0}
function wi(){let a;try{const b=rd("CANVAS");a=b.getContext("webgl")||b.getContext("experimental-webgl")}catch(b){}return a?!0:!1};(function(){function a(b){try{return b.ISPlayer&&(window.ISPlayer=b.ISPlayer),b.ISPVideoPlayer&&(window.ISPVideoPlayer=b.ISPVideoPlayer),b.ISPQuizPlayer&&(window.ISPQuizPlayer=b.ISPQuizPlayer),b.ISPInteractionPlayerCore&&(window.ISPInteractionPlayerCore=b.ISPInteractionPlayerCore),b.ISPBookPlayer&&(window.ISPBookPlayer=b.ISPBookPlayer),b.ISPScenarioPlayer&&(window.ISPScenarioPlayer=b.ISPScenarioPlayer),b.ISPFlipPlayer&&(window.ISPFlipPlayer=b.ISPFlipPlayer),!0}catch(c){return!1}}if(function(){let b;
try{b=window.frameElement}catch(c){}return null!=b}()){let b=window,c=7;for(;b&&b.parent!=b&&0!=c--&&!a(b.parent);)b=b.parent}})();var xi;const yi=pi().user_agent;xi=yi?yi:sb()||"";var oi=Qg||Pg,ni="1"==pi().small_screen,zi="1"==pi().tablet_screen,Ai;let Bi;try{Bi=window.top.location.href?window.frameElement:null}catch(a){}Ai=null!=Bi;var Ci=Pg&&Ai;function Di(){const a=xi.toLowerCase();return-1!=a.indexOf("android")||-1!=a.indexOf("mobile")||-1!=a.indexOf("wpdesktop")||ni||zi}
var Ei=-1!=xi.toLowerCase().indexOf("chrome"),Fi=Ib&&!Ei,Gi=-1!=xi.indexOf("CriOS"),Hi=-1==xi.toLowerCase().indexOf("windows phone")&&-1!=xi.toLowerCase().indexOf("android"),ki=Di(),Ii=ki&&(Di()?"ontouchstart"in window||void 0!==window.DocumentTouch&&document instanceof window.DocumentTouch||-1!=xi.toLowerCase().indexOf("touch"):!1);let Ji="";if(oi){const a=/CPU.+OS\s(\d+)_(\d+)/.exec(xi);Ji=a?a[1]+"."+a[2]:""}
var Ki=parseInt(Ji,10),Li=oi&&6>=Ki,Mi=oi&&7<=Ki,Ni=oi&&8<=Ki,Oi=oi&&9<=Ki,Pi=oi&&10<=Ki,Qi=oi&&12<=Ki,Ri=Db&&"9."==Tb.substr(0,2),Si=Db&&"10."==Tb.substr(0,3),Ui=Ti&&Db,li=Hi&&!Ei&&!Og&&!Cb,Lh=-1!=xi.indexOf("ismobile"),Vi=Lh&&Pg,Wi=Lh&&Hi,Xi;if(Xi=!window._ispringFullsizeSkin){var Yi;if(!(Yi=ni))if(window._ispringFullsizeSkin)Yi=!1;else{var Zi=mi();Yi=(Pg||700>Math.min(Zi.width,Zi.height))&&!zi}Xi=Yi}
var Ti=Xi,$i=Pg&&!Vi&&10>Ki||Ui&&Ti,aj=void 0!==window.ISPlayer,bj=ki&&!aj,cj=!1,dj=oi||Ui||Hi||Ii;const ej=document.createElement("audio"),fj=ej.play&&ej.play();fj&&fj.then(()=>{ej.pause()},a=>{if(0<a.toString().indexOf("interact with the document first")||(Fi||Og)&&0<a.toString().indexOf("possibly because the user denied permission"))cj=!0});pi();pi();var gj=!ki&&(Db||Eb||Ei);function hj(){return 1==window._ispringDebug||"1"==pi().isdebug}var ij;
if(tb("Windows")){const a=sb();let b="",c;if(tb("Windows")){c=/Windows (?:NT|Phone) ([0-9.]+)/;const d=c.exec(a);b=d?d[1]:"0.0"}else if(zb()){c=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/;const d=c.exec(a);b=d&&d[1].replace(/_/g,".")}else if(tb("Macintosh")){c=/Mac OS X ([0-9_.]+)/;const d=c.exec(a);b=d?d[1].replace(/_/g,"."):"10"}else if(-1!=sb().toLowerCase().indexOf("kaios")){c=/(?:KaiOS)\/(\S+)/i;const d=c.exec(a);b=d&&d[1]}else if(tb("Android")){c=/Android\s+([^\);]+)(\)|;)/;const d=c.exec(a);b=
d&&d[1]}else if(tb("CrOS")){c=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/;const d=c.exec(a);b=d&&d[1]}ij=!(0<=qb(b||"","6"))}else ij=!1;var jj=ij;function kj(){const a=Ti;window._ispringNoneMobile=ki||a;window._ispringFullsizeSkin=!0;Ti=!1}setTimeout(function(){lj=hj},0);function mj(a){return nj(a)&&a.mediaElement().readyState>=HTMLMediaElement.HAVE_METADATA}function oj(a){var b=(b=a.md)?b.error?"error":b.ended?"ended":pj(a)?"paused":a.Mc?"buffering":"playing":"disposed";const c=a.Ea;c!=b&&(a.Ea=b,a.yk.D(a,c))}function pj(a){const b=a.mediaElement();return oi||!a.xf()?!a.wb:b.paused}function nj(a){return!!a.md&&!a.md.error&&void 0!==a.md.play}function qj(a){a.oq&&(clearInterval(a.oq),a.oq=void 0)}function rj(a){0>a.nq&&(a.nq=setInterval(a.tP.bind(a),500))}
function sj(a){0<a.nq&&(clearInterval(a.nq),a.nq=-1)}
class tj{constructor(a){this.md=a;this.Ea="paused";this.Mc=this.$l=this.wb=this.Ne=!1;this.pi=this.Ao=-1;this.KG=0;this.nq=-1;this.Nz=0;this.Qc=this.oq=this.Ml=void 0;this.li=!1;this.yk=new D;this.DI=new D;this.Nc=new D;this.oI=new D;this.Or=new D;this.rD=new D;this.ZA=new D;this.Cj=new D;this.lk=new D;this.zS=new D;this.Ii=new D;je(a,"play",this.tB,!1,this);je(a,"playing",this.jo,!1,this);je(a,"pause",this.jo,!1,this);je(a,"seeking",this.wB,!1,this);je(a,"ended",this.jo,!1,this);je(a,"waiting",this.jo,
!1,this);je(a,"timeupdate",this.ko,!1,this);je(a,"progress",this.hJ,!1,this);je(a,"loadeddata",this.hJ,!1,this);je(a,"canplaythrough",this.pB,!1,this);mj(this)||je(a,"loadedmetadata",this.IR,!1,this);(this.Ne=a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA)||ke(a,"canplay",this.vB,!1,this);oj(this)}mediaElement(){if(!this.md)throw Error("media player was disposed");return this.md}state(){return this.Ea}playbackRate(){return this.md.playbackRate}Zh(a){this.md&&a!=this.playbackRate()&&(this.md.playbackRate=
a,this.md.defaultPlaybackRate=a,this.Ii.D())}ready(){return nj(this)&&this.Ne}Lq(){const a=this.li;var b=this.mediaElement().getAttribute("preload");b=b&&"metadata"!=b?Og?HTMLMediaElement.HAVE_CURRENT_DATA:HTMLMediaElement.HAVE_FUTURE_DATA:HTMLMediaElement.HAVE_METADATA;Og&&this.mediaElement().readyState>=HTMLMediaElement.HAVE_CURRENT_DATA&&!this.Ne?this.vB():(this.li=this.Ne&&nj(this)&&this.mediaElement().readyState>=b,!this.li&&ki&&1==this.mediaElement().networkState&&1==this.GQ&&(this.li=!0,this.zS.D(this)),
this.li||this.Ml?this.li&&(clearInterval(this.Ml),this.Ml=void 0):this.Ml=setInterval(this.Lq.bind(this),2E3),!a&&this.li&&this.Cj.D(this),this.GQ=this.mediaElement().networkState)}Js(){this.Lq();return this.li}pB(){this.Lq()}playing(){return this.wb}play(){if(nj(this)){this.wb=!0;oi&&"VIDEO"==this.mediaElement().tagName&&this.src()&&!this.mediaElement().src&&(this.mediaElement().src=this.src());const a=this.mediaElement().play();a&&a.catch(b=>window.console.log(b));if(Mi){const b=this.mediaElement().currentTime;
let c=0;clearInterval(this.oq);this.oq=setInterval(()=>{++c;this.mediaElement().currentTime<b?(this.mediaElement().currentTime=b,qj(this)):3<c&&qj(this)},0)}rj(this)}}Yk(a){nj(this)&&(this.seek(a),this.play())}pause(){nj(this)&&(this.wb=!1,sj(this),this.mediaElement().pause(),0!=this.$l&&(this.$l=!1))}stop(){qj(this);if(nj(this)){this.wb=!1;sj(this);0!=this.$l&&(this.$l=!1);const a=this.mediaElement();a.pause();if(2==a.networkState){const b=this.src();a.src="";a.src=b}this.jo();mj(this)&&0<a.currentTime?
a.currentTime=0:this.Ao=-1;this.pi=-1}}KD(){!this.Qc&&this.src()&&(this.Qc=this.src(),this.md.src="about:blank")}bF(){this.Qc&&(this.mediaElement().src=this.Qc,this.Qc=void 0)}seek(a){qj(this);mj(this)?(this.Nz=this.mediaElement().currentTime=a,this.Ao=-1):this.Ao=nj(this)?a:-1;this.pi=-1}eE(a){this.seek(a)}currentTime(){return this.ready()?this.mediaElement().currentTime:nj(this)?Math.max(this.Ao,0):0}duration(){return mj(this)?this.mediaElement().duration:0}volume(){return nj(this)?this.mediaElement().volume:
1}setVolume(a){oi?this.oj(!a):nj(this)&&(a=Qc(a,0,1),this.mediaElement().volume!=a&&(this.mediaElement().volume=a,this.rD.D(this)))}muted(){return nj(this)&&this.mediaElement().muted}oj(a){if(nj(this)){const b=this.mediaElement();b.muted!=a&&(b.muted=a,this.ZA.D(this))}}Tx(){if(mj(this)){const a=this.duration();let b=0;const c=this.mediaElement().buffered;for(let d=0;d<c.length;++d)b+=c.end(d)-c.start(d);return Math.round(1E3*Qc(0<a?b/a:0,0,1))/1E3}return 0}Re(){if(nj(this)){var a=this.md;if(a)if(Zd(a))a.Vg&&
fe(a.Vg);else if(a=ne(a)){var b=0,c;for(c in a.Qd)for(var d=a.Qd[c].concat(),e=0;e<d.length;++e)ve(d[e])&&++b}sj(this);this.Ml&&(clearInterval(this.Ml),this.Ml=void 0);this.md&&(this.md.src="");this.md=null;oj(this)}}reset(){this.pause();this.seek(0)}Ab(){return this.yk}stateChangedEvent(){return this.Ab()}VE(){return this.Nc}zO(){return this.rD}readyEvent(){return this.lk}vB(){oj(this);this.Ne=!0;uj.D(this);this.lk.D(this);if(0<this.Ao){const a=this.pi;this.seek(this.Ao);this.pi=a}this.Lq()}jo(){const a=
this.mediaElement();if(pj(this)||a.ended)a.ended&&a.pause(),this.wb=!1,sj(this);oj(this)}tB(){1!=this.$l&&(this.$l=!0);this.jo();rj(this)}IR(){this.DI.D(this)}ko(){const a=this.currentTime();this.KG!=a&&(this.Nc.D(this),this.KG=a)}hJ(){this.oI.D(this)}wB(){this.Or.D(this)}tP(){if(this.li)if(this.wb&&this.mediaElement().paused&&!this.mediaElement().ended&&!this.xf()&&this.mediaElement().play(),1==this.mediaElement().networkState)this.Mc&&(this.Mc=!1,oj(this));else if(this.$l){var a=this.mediaElement(),
b=this.currentTime();let c=!1;pj(this)||a.ended||b!=this.Nz||(c=!0);!Li&&!c&&0<this.pi&&(1<Math.abs(this.pi-b)?(c=!0,a.currentTime=this.pi):this.pi=-1);this.Nz=b;a=this.mediaElement().buffered;if(Li&&a&&c)for(b=0;b<a.length;++b){const d=a.start(b),e=a.end(b);if(this.currentTime()>=d&&e>=Math.min(this.currentTime()+5,this.duration())){c=!1;this.mediaElement().paused&&this.mediaElement().play();break}}this.Mc!=c&&(this.Mc=c,oj(this))}}mj(a){this.mediaElement().controls=a}xf(){return this.mediaElement().controls||
Pg}ve(a){if(this.md&&this.md.play){if("string"!==typeof a)a:{Array.isArray(a)||(a=[a]);for(let c=0;c<a.length;++c){const d=a[c];var b=d;const e=this.mediaElement();if(e.canPlayType&&e.canPlayType(b.type())){a=d.src();break a}}a=null}if(a)return b=this.mediaElement(),a!=b.src&&(this.playing()&&this.pause(),this.pi=-1,this.Ne&&(this.Ne=!1,ke(b,"canplay",this.vB,!1,this)),b.src=a,oj(this),this.Lq()),!0}return!1}src(){const a=this.mediaElement();return nj(this)?a.src||a.currentSrc:""}}var uj=new D;function vj(a){B(a,a.C.Ab(),a.Zl,a);B(a,a.C.Nc,a.OR,a);B(a,a.C.Or,a.PR,a);B(a,a.C.Cj,a.pB,a)}function wj(a,b){a.C!=b&&(b.setVolume(a.C.volume()),b.oj(a.C.muted()),Me(a,a.C),a.C=b,vj(a))}function xj(a){a.Vq=Date.now();a.uC=!0}
class yj extends og{constructor(a){super();this.C=a;this.wb=this.Ga=!1;this.Vq=-1;this.uC=!1;this.yk=ng(this);this.Nc=ng(this);this.Cd=ng(this);this.Or=ng(this);this.Oo=ng(this);this.Cj=ng(this);this.gq=ng(this);this.C.setVolume(1);this.C.oj(!1);vj(this)}Sd(){return this.C}activate(){this.Ga||(this.Ga=!0,this.gq.D(this,!0))}deactivate(){this.Ga&&(this.Ga=!1,this.gq.D(this,!1))}state(){return this.C.state()}Tx(){return this.C.Tx()}ready(){return this.C.ready()}playing(){return this.C.playing()}$b(){return"buffering"==
this.C.state()}Js(){return this.C.Js()}load(){const a=this.C.mediaElement();Cb||Hi||Mi&&!Ni?(a.play(),a.pause()):a.load()}play(){this.wb=!0;this.C.play()}Yk(a){this.wb=!0;xj(this);this.C.Yk(a)}pause(){this.wb=!1;this.C.pause()}stop(){this.wb=!1;xj(this);this.C.stop()}seek(a){xj(this);this.C.seek(a)}eE(a){xj(this);this.C.eE(a)}currentTime(){return this.C.currentTime()}duration(){return this.C.duration()}volume(){return this.C.volume()}setVolume(a){this.C.setVolume(a)}muted(){return this.C.muted()}oj(a){this.C.oj(a)}mj(a){this.C.mj(a)}xf(){return this.C.xf()}src(){return this.C.src()}ve(a){return this.C.ve(a)}playbackRate(){return this.C.playbackRate()}Zh(a){this.C.Zh(a)}Ab(){return this.yk}VE(){return this.Nc}Zl(a,
b){this.yk.D(this,b);const c=a.state();(this.wb&&"paused"==c||!this.wb&&"playing"==c)&&this.Oo.D(this,this.wb?"pause":"play");this.wb=a.playing();"buffering"!=c&&"buffering"!=b||this.Cd.D(this)}OR(){this.Nc.D(this)}PR(){this.Or.D(this);500<Date.now()-this.Vq&&this.C.xf()&&this.Oo.D(this,"seek");this.uC=!1}pB(){this.uC&&xj(this);this.Cj.D(this)}};function zj(){const a=A("AUDIO");a.setAttribute("preload","metadata");return a}let Aj=[],Bj=[];
if(window.ismediacreator)Aj=window.ismediacreator[0],Bj=window.ismediacreator[1];else if(document.body){function a(c,d){const e=c.play();e&&e.catch(()=>{});c.pause();d.push(c)}function b(){if(30>Aj.length)for(var c=Aj.length;30>c;++c){var d=zj();a(d,Aj)}if(30>Bj.length)for(c=Bj.length;30>c;++c)d=A("VIDEO"),d.setAttribute("preload","metadata"),Pi&&d.setAttribute("playsinline",""),a(d,Bj)}if(bj){let c=!1;document.body.addEventListener("touchstart",()=>{c=!0});document.body.addEventListener("touchmove",
d=>{if(oi||!d.defaultPrevented)c=!1});document.body.addEventListener("touchend",d=>{!1!==d.isTrusted&&c&&b()})}else Db||Eb||document.body.addEventListener("mouseup",()=>b());window.ismediacreator=[Aj,Bj]}function Cj(){return Aj&&Aj.length?Aj.shift():zj()};class Dj extends tj{constructor(a){super(a);this.Vq=0;this.xA=!1}tB(){this.xA?this.xA=!1:super.tB()}wB(){super.wB();this.Vq=Date.now()}ko(){super.ko();if(this.ready()&&li){var a=100>Date.now()-this.Vq;this.playing()||a||(this.xA=!0,a=this.mediaElement(),a.play(),a.pause())}}};class Ej extends yj{constructor(a){super(new Dj(a))}};class Fj{constructor(a,b,c){this.xh=a;this.js=b;this.tf=c;0>this.tf&&(this.tf=0);this.xh&&0>this.xh.m.t&&(this.xh.m.t=0)}fa(){return this.js}va(){return this.tf}fF(){const a={s:this.js,t:this.tf};this.xh&&(a.S=nc(this.xh));return a}clone(){return new Fj(this.xh?nc(this.xh):null,this.js,this.tf)}};function Gj(a,b){return a.Ba.querySelector(`#${b}`)}class Hj{constructor(a,b){this.Ba=a;this.EI=b}content(){return this.Ba}dL(){}};function Ij(a,b,c){a.ia.Ze(a.H(),b,c,!0)}function Jj(a){a.$x(a.ln.count()-1)}function Kj(a){a.pause();Ij(a,0,0)}function Lj(a){const b=a.ia.U().timestamp();if(null==a.oa||b.H()!=a.H()||0>b.fa())throw Error("playback controller not active");}function Mj(a,b){b&&a.$j!=b&&(a.$j=b,a.Yl())}
class Nj{constructor(a,b,c){this.ga=a;this.ha=b;this.ia=c;this.rK=this.oa=null;this.ln=a.Aa();this.Kb=a.index();this.$j=!1;this.hs=new D;this.Nc=new D;this.zk=new D}slide(){return this.ga}view(){return this.ha}activate(a){this.oa=a;this.ia.U().Bb().addHandler(this.Ya,this)}deactivate(){this.oa=null;this.ia.U().Bb().removeHandler(this.Ya,this)}play(){this.ia.start()}pause(){this.ia.stop()}H(){return this.Kb}qx(){}QD(){}$x(a){const b=this.ln.ob(a);this.pause();Ij(this,a,b.duration())}Aa(){return this.ln}Ax(){Lj(this);
return this.ia.U().timestamp().fa()}PD(){Lj(this);const a=this.Aa().ob(this.Ax());return Math.min(a.duration(),this.ia.U().timestamp().va())}qV(){Lj(this);const a=this.Aa().ob(this.Ax());return 0<a.duration()?this.PD()/a.duration():1}RE(){Lj(this);let a=this.PD();const b=this.Ax(),c=this.Aa();for(let d=0;d<b;++d)a+=c.ob(d).duration();return a}ON(){Lj(this);const a=this.Aa().duration();return 0<a?this.RE()/a:1}Ya(){var a=this.ia.U().timestamp();if(a.H()==this.H()&&0<=a.fa()){const b=this.rK;this.rK=
a;const c=!b||b.fa()!=a.fa();a=!b||c||b.va()!=a.va();c&&this.hs.D(this);a&&this.Nc.D(this)}}Np(){return this.hs}VE(){return this.Nc}Yl(){}nr(){this.zk.D(this.ga)}stateChangedEvent(){return this.zk}}Nj.prototype.positionChangeEvent=Nj.prototype.VE;Nj.prototype.stepChangeEvent=Nj.prototype.Np;Nj.prototype.playbackProgress=Nj.prototype.ON;Nj.prototype.playbackPosition=Nj.prototype.RE;Nj.prototype.currentStepProgress=Nj.prototype.qV;Nj.prototype.currentStepPosition=Nj.prototype.PD;
Nj.prototype.currentStepIndex=Nj.prototype.Ax;Nj.prototype.slide=Nj.prototype.slide;function Oj(a,b){this.Lb=b||0;this.CG=a}Oj.prototype.Lb=0;Oj.prototype.time=function(){return this.Lb};function Pj(a){a:{var b=a.CG;a=a.time()+b.xk.time();b=b.Gh;for(let c=b.length-1;0<=c;--c){const d=b[c];if(a>=d.time){a=d.freeze?d.gE:d.gE+a-d.time;break a}}throw Error("invalid clock");}return a}Oj.prototype.add=function(a){const b=this.$c();b.Lb+=a;return b};Oj.prototype.$c=function(){return new Oj(this.CG,this.Lb)};
function Qj(a){this.xk=new Oj(this);this.Tt=[];this.Gh=[{time:0,gE:a,freeze:!1}]}function Rj(a,b,c,d){b={time:b,gE:c,freeze:d||!1};0==a.Gh.length?a.Gh.push(b):(c=a.Gh[a.Gh.length-1],c.time!=b.time&&Uj(a,c.time,b.time)?a.Gh.push(b):a.Gh.splice(a.Gh.length-1,1,b))}Qj.prototype.persistState=function(){return{t:this.xk.time(),p:Qa(this.Gh)}};function Uj(a,b,c){return Ja(a.Tt,d=>d>=b&&d<=c)};class Vj{constructor(a,b){this.gV=a[ha.Symbol.iterator]();this.sW=b}[Symbol.iterator](){return this}next(){const a=this.gV.next();return{value:a.done?void 0:this.sW.call(void 0,a.value),done:a.done}}}function Wj(a,b){return new Vj(a,b)};function Xj(){}Xj.prototype.next=function(){return Yj};var Yj={done:!0,value:void 0};function Zj(a){return{value:a,done:!1}}Xj.prototype.If=function(){return this};function ak(a){if(a instanceof Xj)return a;if("function"==typeof a.If)return a.If(!1);if(ja(a)){let b=0;const c=new Xj;c.next=function(){for(;;){if(b>=a.length)return Yj;if(b in a)return Zj(a[b++]);b++}};return c}throw Error("Not implemented");}
function bk(a,b){if(ja(a))w(a,b);else for(a=ak(a);;){const {done:c,value:d}=a.next();if(c)break;b.call(void 0,d,void 0,a)}}function ck(a,b,c){let d=0,e=a,f=c||1;1<arguments.length&&(d=a,e=+b);if(0==f)throw Error("Range step argument must not be zero");const h=new Xj;h.next=function(){if(0<f&&d>=e||0>f&&d<=e)return Yj;const g=d;d+=f;return Zj(g)};return h}function dk(a){if(ja(a))return Qa(a);a=ak(a);const b=[];bk(a,function(c){b.push(c)});return b};function ek(a){if(a instanceof fk||a instanceof gk||a instanceof hk)return a;if("function"==typeof a.next)return new fk(()=>a);if("function"==typeof a[Symbol.iterator])return new fk(()=>a[Symbol.iterator]());if("function"==typeof a.If)return new fk(()=>a.If());throw Error("Not an iterator or iterable.");}class fk{constructor(a){this.iE=a}If(){return new gk(this.iE())}[Symbol.iterator](){return new hk(this.iE())}My(){return new hk(this.iE())}}
class gk extends Xj{constructor(a){super();this.Zs=a}next(){return this.Zs.next()}[Symbol.iterator](){return new hk(this.Zs)}My(){return new hk(this.Zs)}}class hk extends fk{constructor(a){super(()=>a);this.Zs=a}next(){return this.Zs.next()}};function ik(a,b){this.Zg={};this.Ic=[];this.Jt=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)}k=ik.prototype;k.Hx=function(){return this.size};function jk(a){kk(a);return a.Ic.concat()}k.has=function(a){return lk(this.Zg,a)};
k.Oh=function(a){if(this===a)return!0;if(this.size!=a.Hx())return!1;var b=mk;kk(this);for(var c,d=0;c=this.Ic[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};function mk(a,b){return a===b}k.Qh=function(){return 0==this.size};k.clear=function(){this.Zg={};this.Jt=this.size=this.Ic.length=0};k.remove=function(a){return this.delete(a)};k.delete=function(a){return lk(this.Zg,a)?(delete this.Zg[a],--this.size,this.Jt++,this.Ic.length>2*this.size&&kk(this),!0):!1};
function kk(a){if(a.size!=a.Ic.length){for(var b=0,c=0;b<a.Ic.length;){var d=a.Ic[b];lk(a.Zg,d)&&(a.Ic[c++]=d);b++}a.Ic.length=c}if(a.size!=a.Ic.length){var e={};for(c=b=0;b<a.Ic.length;)d=a.Ic[b],lk(e,d)||(a.Ic[c++]=d,e[d]=1),b++;a.Ic.length=c}}k.get=function(a,b){return lk(this.Zg,a)?this.Zg[a]:b};k.set=function(a,b){lk(this.Zg,a)||(this.size+=1,this.Ic.push(a),this.Jt++);this.Zg[a]=b};
k.addAll=function(a){if(a instanceof ik)for(var b=jk(a),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};k.forEach=function(a,b){for(var c=jk(this),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};k.clone=function(){return new ik(this)};k.transpose=function(){for(var a=new ik,b=0;b<this.Ic.length;b++){var c=this.Ic[b];a.set(this.Zg[c],c)}return a};k.keys=function(){return ek(this.If(!0)).My()};k.values=function(){return ek(this.If(!1)).My()};
k.entries=function(){const a=this;return Wj(this.keys(),function(b){return[b,a.get(b)]})};k.If=function(a){kk(this);var b=0,c=this.Jt,d=this,e=new Xj;e.next=function(){if(c!=d.Jt)throw Error("The map has changed since the iterator was created");if(b>=d.Ic.length)return Yj;var f=d.Ic[b++];return Zj(a?f:d.Zg[f])};return e};function lk(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function nk(){this.zl=[[]]}function pk(a){return a.zl[a.zl.length-1]}k=nk.prototype;k.add=function(a){let b=pk(this);Array.isArray(a)?(b=Pa(b,a),this.zl[this.zl.length-1]=b):b.push(a)};k.push=function(){this.zl.push([])};k.pop=function(){if(1>=this.zl.length)throw Error("");const a=this.zl.pop();this.add(a);return a};k.clear=function(a,b){const c=pk(this);a=void 0!==a?a:0;b=void 0!==b?b:c.length;c.splice(a,b-a)};k.apply=function(a){const b=pk(this);for(let c=0;c<b.length;++c)b[c].apply(a)};function qk(a,b){this.K=a||null;this.Lf=void 0!==b?b:!0}qk.prototype.K=null;qk.prototype.U=function(){return this.K};qk.prototype.completed=function(){return this.Lf};class rk extends qk{constructor(a,b,c){super(b,c);this.pl=a||!1}absolute(){return this.pl}add(a){if(this.pl&&a.pl)throw Error("can't add absolute transforms");var b=a.pl?a:this;const c=b===a?this:a;b=b.$c().Vt(c);b.pl=this.pl||a.pl;return b}};class sk{constructor(a,b){this.Xb=a;this.gb=b}add(a){this.Xb!=a.Xb&&(this.gb=this.ub(a.Xb),this.Xb=a.Xb);this.gb[0]+=a.gb[0];this.gb[1]+=a.gb[1];this.gb[2]+=a.gb[2]}multiple(a){this.gb[0]*=a;this.gb[1]*=a;this.gb[2]*=a}toString(){const a=this.ub("rgb");a[0]=Math.round(a[0]);a[1]=Math.round(a[1]);a[2]=Math.round(a[2]);return tk(a[0],a[1],a[2])}ub(a){var b=Qa(this.gb);"rgb"==this.Xb?(b[0]=Qc(b[0],0,255),b[1]=Qc(b[1],0,255),b[2]=Qc(b[2],0,255)):(b[0]%=360,b[1]=Qc(b[1],0,1),b[2]=Qc(b[2],0,1));if(a==this.Xb)a=
b;else{if("rgb"==this.Xb){var c=b[0]/255;var d=b[1]/255;b=b[2]/255;var e=Math.max(c,d,b);const f=Math.min(c,d,b);let h=0,g=0;const l=.5*(e+f);e!=f&&(e==c?h=60*(d-b)/(e-f):e==d?h=60*(b-c)/(e-f)+120:e==b&&(h=60*(c-d)/(e-f)+240),g=0<l&&.5>=l?(e-f)/(2*l):(e-f)/(2-2*l));c=[Math.round(h+360)%360,g,l]}else c=b;d=c;"rgb"==a?(b=d[1],c=d[2],a=d[0]/360,0==b?c=d=a=255*c:(b=.5>c?c*(1+b):c+b-b*c,e=2*c-b,c=255*uk(e,b,a+1/3),d=255*uk(e,b,a),a=255*uk(e,b,a-1/3)),a=[Math.round(c),Math.round(d),Math.round(a)]):a=d}return a}Oh(a){const b=
this.Xb==a.Xb?this.gb:this.ub(a.Xb);return $a(b,a.gb)}clone(){return new sk(this.Xb,Qa(this.gb))}};class vk extends rk{constructor(a,b,c,d,e){super(c,d,e);this.Dd=a;this.ql=[];this.jk=b||0}color(){return this.Dd}priority(){return this.jk}Km(){const a=this.$c();a.Dd.multiple(-1);return a}$c(){const a=new vk(this.Dd.clone(),this.jk,this.absolute(),this.U(),this.completed());a.ql=Qa(this.ql);return a}Vt(a){if(this.absolute()){this.Dd.add(a.Dd);for(let b=0;b<a.ql.length;++b)this.Dd.add(a.ql[b])}else this.ql=Pa(this.ql,[a.Dd],a.ql);return this}};function wk(a,b){qk.call(this,a,b);this.Me={}}v(wk,qk);function xk(a,b,c,d){c=new wk(c,d);c.Me[a]=b;return c}wk.prototype.add=function(a){const b=new wk(this.U(),this.completed());b.Me=nc(this.Me);for(const c in a.Me)a.Me.hasOwnProperty(c)&&(b.Me[c]=a.Me[c]);return b};class yk extends qk{constructor(a,b,c){super(b,c);this.Ee=null!=a?a:Number.MAX_VALUE}level(){return this.Ee}};class zk extends rk{constructor(a,b,c,d){super(b,c,d);this.jb=a||0}Km(){return new zk(-1*this.jb,this.absolute(),this.U(),this.completed())}$c(){return new zk(this.jb,this.absolute(),this.U(),this.completed())}Vt(a){this.jb+=a.jb;return this}};class Ak extends rk{constructor(a,b,c,d){super(b,c,d);this.Zc=a||0}angle(){return this.Zc}Km(){return new Ak(-1*this.Zc,this.absolute(),this.U(),this.completed())}$c(){return new Ak(this.Zc,this.absolute(),this.U(),this.completed())}Vt(a){this.Zc+=a.Zc;return this}};class Bk extends rk{constructor(a,b,c,d){super(b,c,d);this.ya=void 0!==a?a:1}scale(){return this.ya}Km(){return new Bk(1/this.ya,this.absolute(),this.U(),this.completed())}$c(){return new Bk(this.ya,this.absolute(),this.U(),this.completed())}Vt(a){this.ya*=a.ya;return this}};class Ck extends qk{constructor(a,b,c){super(b,c);this.Aw=a||0}shift(){return this.Aw}};function Dk(){return"visibility rotateTo rotateBy moveX moveY scaleX scaleY scaleX2 scaleY2 filter shiftX cssProperties cssTextProperties textColor strokeColor fillColor imgColor sound video".split(" ")};function Ek(a){this.wd=a||[]}k=Ek.prototype;k.count=function(){return this.wd.length};k.add=function(a){this.wd.push(a)};function Fk(a,b){if(!(0<=b&&b<a.count()))throw Error("index is out of range");return a.wd[b]}k.clone=function(){const a=new Ek;a.wd=Qa(this.wd);return a};k.concat=function(a){this.wd=Pa(this.wd,a.wd)};k.ub=function(){return Qa(this.wd)};class Gk extends qk{constructor(a,b){super(b,!0);this.Uc=void 0!==a?a:!0}visible(){return this.Uc}};function Hk(a,b,c){if(!(b in a.wd)){if(!c)return null;a.wd[b]=new Ek}return a.wd[b]}function Ik(a,b,c){return(a=Hk(a,b,!1))&&0<a.count()?Fk(a,a.count()-1):c?new c:null}function Jk(a){return Ik(a,"rotateTo",Ak)}function Kk(a){return Ik(a,"rotateBy",Ak)}function Lk(a){return Ik(a,"moveX",zk)}function Mk(a){return Ik(a,"moveY",zk)}function Nk(a){return Ik(a,"scaleX",Bk)}function Ok(a){return Ik(a,"scaleX2",Bk)}function Pk(a){return Ik(a,"scaleY",Bk)}function Qk(a){return Ik(a,"scaleY2",Bk)}
function Rk(a){return Ik(a,"shiftX",Ck)}function Sk(a){return Ik(a,"cssTextProperties")}class Tk{constructor(){this.wd={}}clone(){const a=new Tk;for(const b in this.wd)this.wd.hasOwnProperty(b)&&(a.wd[b]=this.wd[b].clone());return a}};class Uk{constructor(){this.Fh={}}get(a){a in this.Fh||(this.Fh[a]=new Tk);return this.Fh[a]}set(a,b){this.Fh[a]=b}contains(a){return a in this.Fh}remove(a){a in this.Fh&&delete this.Fh[a]}};function Vk(a,b){this.Fh=new Uk;this.LS=a||new Uk;this.In=b||new ik;this.Eb=new nk}Vk.prototype.kl=function(){return this.Fh};function Wk(){};function Xk(){}v(Xk,Wk);function Yk(a){this.HL=a}Yk.prototype.normalize=function(a,b,c){for(let d=0;d<this.HL.length;++d)a=this.HL[d].normalize(a,b,c);return a};function Zk(a,b){this.PO=a;this.SP=b}Zk.prototype.normalize=function(a,b,c){c&&(a=b-a);a=b*this.kf(0<b?a/b:0);c&&(a=b-a);return a};
Zk.prototype.kf=function(a){if(0>=a)return 0;if(1<=a)return 1;const b=this.PO,c=this.SP,d=1-(b+c),e=1/(b/2+d+c/2);let f=0;0<b&&(f+=e/b*Math.pow(a>b?b:a,2)/2,a-=b);0<d&&0<a&&(f+=e*(a>d?d:a),a-=d);0<c&&0<a&&(f+=e*a*(1-.5*a/c));return Qc(f,0,1)};function $k(){}$k.prototype.normalize=function(a,b){return b-a};function al(){}v(al,Wk);al.prototype.tm=null;al.prototype.complete=function(a,b){this.kc(this.duration(),a,b)};al.prototype.st=function(a,b){this.og(this.duration(),a,b)};al.prototype.kf=function(a,b){if(0>a||a>this.duration())throw Error("invalid action's run time");return this.tm?this.tm.normalize(a,this.duration(),b):a};function bl(){}v(bl,al);function cl(a){let b=0;a instanceof al&&(b=a.duration());return b}function dl(){}dl.prototype.kc=function(a,b,c,d){a.kc(b,c,d)};dl.prototype.complete=function(a,b,c){if(a instanceof Xk)a.kc(b,c);else if(a instanceof al)a.complete(b,c);else throw Error("unknown action");};var el=null;function fl(){el||(el=new dl);return el}function gl(){}gl.prototype.kc=function(a,b,c,d){a.og(b,c,d)};
gl.prototype.complete=function(a,b,c){if(a instanceof Xk)a.og(b,c);else if(a instanceof al)a.st(b,c);else throw Error("unknown action");};var hl=null;function il(){hl||(hl=new gl);return hl};function jl(a){this.Va=a||[];this.kC=a?a.slice().reverse():[]}v(jl,bl);k=jl.prototype;k.Y=-1;k.ke=function(a){if(0<=this.Y)throw Error("ActionsSequence was already initialized");this.Va.push(a);this.kC.splice(0,0,a)};k.sz=function(){let a=0;for(let b=0;b<this.Va.length;++b)a+=cl(this.Va[b]);return a};k.duration=function(){0>this.Y&&(this.Y=this.sz());return this.Y};k.kc=function(a,b,c){a=this.kf(a);this.kb(this.Va,fl(),a,b,c)};k.complete=function(a,b){this.we(this.Va,fl(),a,b)};
k.og=function(a,b,c){a=this.kf(a,!0);this.kb(this.kC,il(),a,b,c)};k.st=function(a,b){this.we(this.kC,il(),a,b)};
k.kb=function(a,b,c,d,e){const f=ma(this)+"",h=d.Eb;h.push();var g=0;let l=0,n=d.In.get(f);var m;if(m=n)m=n,m=Pj(m.U())==Pj(e)&&m.time()<=c;m&&(g=n.SO+1,l=n.duration(),h.add(n.Eb));n=null;m=!1;const p=a.length;for(let q=g;q<p;++q){const t=a[q],u=(g=t instanceof al?t:null)?g.duration():0,y=e.add(l);if(l+u<=c)b.complete(t,d,y),m=!0;else{m&&(n=new kl(e,c,q-1,l,Qa(pk(h))));a=c-l;g&&0<=a&&b.kc(g,a,d,y);break}l+=u}m&&(n||(n=new kl(e,c,p-1,l,pk(h))),d.In.set(f,n));h.pop()};
k.we=function(a,b,c,d){this.kb(a,b,this.duration(),c,d)};function kl(a,b,c,d,e){this.K=a;this.Lb=b;this.SO=c;this.Y=d;this.Eb=e}kl.prototype.U=function(){return this.K};kl.prototype.time=function(){return this.Lb};kl.prototype.duration=function(){return this.Y};function ll(){this.Va=[];this.reset()}ll.prototype.le=function(){this.Va.push([])};ll.prototype.ke=function(a,b,c){c=void 0!==c?c:this.Va.length-1;for(c=Math.max(c,0);this.Va.length-1<c;)this.Va.push([]);this.Va[c].push({id:a,action:b})};ll.prototype.reset=function(){this.Ar=-1;this.Ji=0};
ll.prototype.Ze=function(a,b){a=Math.min(a,this.Va.length-1);const c={},d=this.Ar<a||this.Ar==a&&this.Ji<=b;for(var e=d?Math.max(this.Ar,0):0;e<=a;++e){const f=e==this.Ar&&d?this.Ji:0,h=e==a?b:Number.MAX_VALUE,g=this.Va[e];for(let l=0;l<g.length;++l){const n=g[l];n.action.Xs(f,h)&&(c[n.id]=!0)}}this.Ar=a;this.Ji=b;return gc(c)};function ml(a){const b=[];for(let c=0;c<a.Va.length;++c){let d=[0];const e=a.Va[c];for(let f=0;f<e.length;++f)d=d.concat(e[f].action.FF());Wa(d);b.push(d)}return b};function nl(a,b){this.pb=a;this.EK=b||!1}nl.prototype.EK=!1;nl.prototype.id=function(){return this.pb};nl.prototype.required=function(){return this.EK};function ol(a,b,c){nl.call(this,b,c);this.uv=Array.isArray(a)?a:[a]}v(ol,nl);ol.prototype.sx=function(a){return 1==this.uv.length?this.uv[0]==a:0<=Da(this.uv,a)};ol.prototype.clone=function(a){return pl(a,this.uv,this.required())};function ql(a){this.Jl=[];this.RC=[];this.mm=new ll;this.le(pl(a,"___start",!0))}function rl(a,b){let c=null;if(0<a.Jl.length){const d=a.Jl[a.Jl.length-1];d instanceof jl&&(c=d)}c||(c=new jl,a.Jl.push(c));c.ke(b)}ql.prototype.le=function(a){this.Jl.push(a);this.RC.push(a);this.mm.le()};function sl(a){this.zb=a;this.Fz=a.length}k=sl.prototype;k.Fz=0;k.ye=-1;k.next=function(){++this.ye;return this.ye<this.Fz};function tl(a){for(;a.next()&&!a.ug(););return null!=a.ug()}
k.seekTo=function(a){for(;ul(this)!==a&&this.next(););return ul(this)===a};function ul(a){return 0<=a.ye&&a.ye<a.Fz?a.zb[a.ye]:null}k.ug=function(){const a=ul(this);return a&&a instanceof nl?a:null};k.reset=function(){this.ye=-1};function vl(a){sl.call(this,a.Jl)}v(vl,sl);vl.prototype.actions=function(){const a=ul(this);return!a||a instanceof nl?null:a};function wl(a){sl.call(this,a.RC)}v(wl,sl);function xl(a){a=ul(a);return!a||a instanceof nl?null:a};function yl(a){ql.call(this,a);this.CA=new jl;rl(this,this.CA)}v(yl,ql);function zl(a,b,c){nl.call(this,b,c);this.mq=a}v(zl,nl);zl.prototype.sx=function(a){return this.mq.id()==a};zl.prototype.clone=function(a){return Al(a,this.mq,this.required())};function Bl(){this.Tb=[]}function pl(a,b,c){b=new ol(b,a.Tb.length,c);a.Tb.push(b);return b}function Al(a,b,c){b=new zl(b,a.Tb.length,c);a.Tb.push(b);return b};function Cl(){this.Di=[]}Cl.prototype.add=function(a){this.Di.push(a)};Cl.prototype.count=function(){return this.Di.length};Cl.prototype.get=function(a){return 0>a||a>=this.count()?null:this.Di[a]};Cl.prototype.gh=function(a){for(let b=0;b<this.Di.length;++b)this.Di[b].gh(a)};function Dl(a,b,c,d,e,f){if(6==arguments.length)this.setTransform(a,b,c,d,e,f);else{if(0!=arguments.length)throw Error("Insufficient matrix parameters");this.Cb=this.Nb=1;this.Vb=this.Ub=this.ic=this.jc=0}}k=Dl.prototype;k.isIdentity=function(){return 1==this.Cb&&0==this.Vb&&0==this.Ub&&1==this.Nb&&0==this.ic&&0==this.jc};k.clone=function(){return new Dl(this.Cb,this.Vb,this.Ub,this.Nb,this.ic,this.jc)};
k.setTransform=function(a,b,c,d,e,f){if("number"!==typeof a||"number"!==typeof b||"number"!==typeof c||"number"!==typeof d||"number"!==typeof e||"number"!==typeof f)throw Error("Invalid transform parameters");this.Cb=a;this.Vb=b;this.Ub=c;this.Nb=d;this.ic=e;this.jc=f;return this};k.scale=function(a,b){this.Cb*=a;this.Vb*=a;this.Ub*=b;this.Nb*=b;return this};k.translate=function(a,b){this.ic+=a*this.Cb+b*this.Ub;this.jc+=a*this.Vb+b*this.Nb;return this};
k.rotate=function(a,b,c){var d=new Dl;const e=Math.cos(a);a=Math.sin(a);b=d.setTransform(e,a,-a,e,b-b*e+c*a,c-b*a-c*e);return El(this,b)};k.toString=function(){return"matrix("+[this.Cb,this.Vb,this.Ub,this.Nb,this.ic,this.jc].join()+")"};function El(a,b){let c=a.Cb,d=a.Ub;a.Cb=b.Cb*c+b.Vb*d;a.Ub=b.Ub*c+b.Nb*d;a.ic+=b.ic*c+b.jc*d;c=a.Vb;d=a.Nb;a.Vb=b.Cb*c+b.Vb*d;a.Nb=b.Ub*c+b.Nb*d;a.jc+=b.ic*c+b.jc*d;return a}
k.transform=function(a,b,c,d,e){let f=b;for(b+=2*e;f<b;){e=a[f++];const h=a[f++];c[d++]=e*this.Cb+h*this.Ub+this.ic;c[d++]=e*this.Vb+h*this.Nb+this.jc}};k.iN=function(){return this.Cb*this.Nb-this.Ub*this.Vb};function Fl(a){const b=a.iN();return new Dl(a.Nb/b,-a.Vb/b,-a.Ub/b,a.Cb/b,(a.Ub*a.jc-a.Nb*a.ic)/b,(a.Vb*a.ic-a.Cb*a.jc)/b)}k.Oh=function(a){return this===a?!0:a?this.Cb==a.Cb&&this.Ub==a.Ub&&this.ic==a.ic&&this.Vb==a.Vb&&this.Nb==a.Nb&&this.jc==a.jc:!1};function Gl(a,b){return b in a.Oz?a.Oz[b]:null}class Hl{constructor(a,b,c,d){this.pb=a;this.xl=b;this.lU=c||null;this.kU=d||null;this.$y=[];this.ez=[];this.kH=!1;this.Oz={}}id(){return this.pb}la(){return this.xl}Gf(){return this.lU}tg(){return this.kU}};function Il(a,b){if(b in a.zv)return a.zv[b];throw Error("can't find animated object with specified id");}class Jl{constructor(){this.Di=[];this.zv={}}count(){return this.Di.length}add(a){this.Di.push(a);this.zv[a.id()]=a}ub(){return this.Di}};class Kl{constructor(a,b,c){this.type=a;this.text=b;this.Cf=c}};class Ll{constructor(a,b,c,d){this.id=a;this.la=b;this.Gf=c;this.tg=d;this.state=new Tk;Hk(this.state,"moveX",!0).add(new zk(this.la.left,!0));Hk(this.state,"moveY",!0).add(new zk(this.la.top,!0))}};class Ml{constructor(){this.Ym=this.Xm=this.Vm=this.Qm=this.Gm=this.fill=this.line=""}};function Nl(a){const b=[];a.tb&&b.push(a.tb);a.jh.forEach(c=>b.push(c));return b}function Ol(a){if(a.tb){var b=a.tb.la,c=a.la,d=a.Xk;c=new Kf(c.left-.5*d,c.top-.5*d,c.width+d,c.height+d);d=Math.abs(b.top-c.top);var e=Math.abs(b.width-c.width),f=Math.abs(b.height-c.height);a.Hs=1E-4>Math.abs(b.left-c.left)&&1E-4>d&&1E-4>e&&1E-4>f&&!a.KM}}
class Pl{constructor(a,b,c){this.type=a;this.la=b;this.zIndex=c;this.jh=[];this.Nk=[];this.tb=null;this.KM=!1;this.text="";this.mh=this.Xg=!1;this.rotation=0;this.fc=this.Cf=void 0;this.Xk=0;this.Hs=!1;this.lp=new Ml}};var Ql={P_:"slide",YZ:"interaction",Z_:"quiz",w0:"scenario"};r("ispring.presenter.presentation.slides.SlideType",Ql);r("PRESENTATION_SLIDE","slide",Ql);r("INTERACTION_SLIDE","interaction",Ql);r("QUIZ_SLIDE","quiz",Ql);r("SCENARIO_SLIDE","scenario",Ql);function Rl(a,b,c,d,e,f,h){this.BP=a;this.je=b;this.pa=c;this.ka=d;this.tf=e;this.pP=void 0==f?"":f;this.oU=h;this.Pg=1}k=Rl.prototype;k.containerId=function(){return this.BP};k.url=function(){return this.je};k.width=function(){return this.pa};k.height=function(){return this.ka};k.va=function(){return this.tf*this.Pg};k.gh=function(a){this.Pg=a};k.bgColor=function(){return this.pP};k.pO=function(){return this.oU};function Sl(){this.zq=[]}Sl.prototype.count=function(){return this.zq.length};Sl.prototype.gh=function(a){for(let b=0;b<this.zq.length;++b)this.zq[b].gh(a)};function Tl(a,b){this.pb=a;this.je=b}k=Tl.prototype;k.pa=0;k.ka=0;k.KL=0;k.Pg=1;k.th=!1;k.QG=!1;k.pb="";k.je="";k.width=function(){return this.pa};k.hh=function(a){this.pa=a};k.height=function(){return this.ka};k.uj=function(a){this.ka=a};k.timeout=function(){return this.KL*this.Pg};k.setTimeout=function(a){this.KL=0<=a?a:0};k.gh=function(a){this.Pg=a};k.hE=function(){return this.th};k.Jp=function(a){this.th=a};k.Ns=function(){return this.QG};k.id=function(){return this.pb};k.url=function(){return this.je};function Ul(){this.$i=[]}Ul.prototype.add=function(a){this.$i.push(a)};Ul.prototype.count=function(){return this.$i.length};Ul.prototype.gh=function(a){for(let b=0;b<this.$i.length;++b)this.$i[b].gh(a)};function Vl(a,b){let c=!1;for(const d of a.IH)-1!=d.indexOf(b)&&(w(d,e=>{a.xs.push(e)}),c=!0);c||a.xs.push(b)}
class Wl extends Sf{constructor(){var a=new Bl;super("slide");this.JA=!0;this.Un=new yl(a);this.$H=[];this.kn=new Jl;this.Tb=[];this.xs=[];this.IH=[];this.$i=new Ul;this.xq=new Cl;this.Xz=new Sl;this.Go=[];this.Md=a}persistState(a){a=super.persistState(a);a.visitedHyperlinks=this.xs;return a}gj(a,b){super.gj(a,b);this.xs=z(a,"visitedHyperlinks",!1)}Qy(){return this.xs}Ht(){return this.Tb}le(a){0>Da(this.Tb,a)&&this.Tb.push(a)}Nt(){return this.$i}};function Xl(a,b){this.ga=a;this.qm=b}k=Xl.prototype;k.ma=null;k.zy=function(a){this.ma=a};function Yl(a,b){return Gf(a.ga.Db(),b)}function Zl(a,b){return Gf(a.ga.Wb(),b)}k.playVideo=function(a,b,c){a=Zl(this,a);if(null!=this.qm.oa&&a){var d=this.ma;$l(d,a,d.K.timestamp(),null!=b?b:null,c||!1)}};k.stopVideo=function(a,b){a=Zl(this,a);null!=this.qm.oa&&a&&am(this.ma,a,b)};
k.pauseVideo=function(a,b){a=Zl(this,a);if(null!=this.qm.oa&&a){var c=this.ma;const d=bm(c,a);d.playing()?(d.pause(),c.qh==d&&(c.qh=null)):$l(c,a,c.K.timestamp(),null,b||!1)}};function cm(a,b,c,d,e){this.pb=a;this.vP=b;this.wP=c;this.oT=d;this.pT=e}k=cm.prototype;k.id=function(){return this.pb};k.clientX=function(){return this.vP};k.clientY=function(){return this.wP};k.screenX=function(){return this.oT};k.screenY=function(){return this.pT};function dm(a,b){this.Lj=a;this.fU=b}function em(a){const b=[];for(let c=0;c<a.length;++c){const d=a[c];b.push(new cm(d.pointerId,d.clientX,d.clientY,d.screenX,d.screenY))}return new dm(a[0],b)}dm.prototype.touches=function(){return this.fU};dm.prototype.scale=function(){return this.Lj.scale};dm.prototype.rotation=function(){return this.Lj.rotation};var fm=["touchstart","mousedown"],gm=["touchend","mouseup"],hm=["touchmove","mousemove"];var im={passive:!1},jm={passive:!0};function km(a,b){this.Ba=a;this.ji={};this.Ag={};if(b)for(a=0;a<b.length;++a)lm(this,b[a])}k=km.prototype;k.rs=!1;k.Yu=-1;function mm(a){const b=a.Ba;window.navigator.msPointerEnabled?(je(b,"MSPointerDown",a.jJ,!1,a),je(b,"MSPointerUp",a.lJ,!1,a),je(b,"MSPointerMove",a.kJ,!1,a)):(je(b,fm,a.xJ,im,a),je(b,gm,a.vJ,!1,a),je(b,hm,a.wJ,im,a))}
function nm(a){const b=a.Ba;window.navigator.msPointerEnabled?(ue(b,"MSPointerDown",a.jJ,!1,a),ue(b,"MSPointerUp",a.lJ,!1,a),ue(b,"MSPointerMove",a.kJ,!1,a)):(ue(b,fm,a.xJ,im,a),ue(b,gm,a.vJ,!1,a),ue(b,hm,a.wJ,im,a))}k.xJ=function(a){const b=a.ne;if(!this.rs||b.touches&&1==b.touches.length)this.rs=!0,a=om(a),pm(this,"touchStart",a)};
k.vJ=function(a){if(this.rs){this.rs=!1;var b=om(a);if(pm(this,"touchEnd",b)){if(b=a.target)if("TEXTAREA"==b.nodeName)b=!0;else{var c=b.getAttribute("type");b="INPUT"==b.nodeName&&(!c||"text"==c||"number"==c)}else b=!1;b||ri(a.target)||si(a.target)||a.preventDefault()}}};k.wJ=function(a){!si(a.target)&&this.rs&&(a=om(a),pm(this,"touchMove",a))};
function om(a){a=a.ne;if(void 0!==window.TouchEvent&&a instanceof TouchEvent){var b=[];for(let c=0;c<a.touches.length;++c){const d=a.touches[c];b.push(new cm(d.identifier,d.clientX,d.clientY,d.screenX,d.screenY))}a=new dm(a,b)}else b=[],b.push(new cm(0,a.clientX,a.clientY,a.screenX,a.screenY)),a=new dm(a,b);return a}k.jJ=function(a){var b=a.ne;this.ji[b.pointerId]=b;qm(this,a);b=fc(this.ji);a=1==b.length?"touchStart":"touchMove";b=em(b);pm(this,a,b)};
k.lJ=function(a){const b=a.ne;if(b.pointerId in this.ji){delete this.ji[b.pointerId];qm(this,a);var c=fc(this.ji);a=0<c.length?"touchMove":"touchEnd";0==c.length&&(c=[b]);c=em(c);pm(this,a,c)&&b.preventDefault()}};k.kJ=function(a){const b=a.ne;b.pointerId in this.ji&&(this.ji[b.pointerId]=b,qm(this,a),a=fc(this.ji),a=em(a),pm(this,"touchMove",a))};function qm(a,b){"touch"==b.pointerType&&(0<a.Yu&&clearTimeout(a.Yu),a.Yu=setTimeout(a.xQ.bind(a),200))}
k.xQ=function(){this.ji={};this.Yu=-1;for(const a in this.Ag)this.Ag.hasOwnProperty(a)&&this.Ag[a].Mk()};function pm(a,b,c){let d=0,e=null;for(const f in a.Ag)if(a.Ag.hasOwnProperty(f)){const h=a.Ag[f],g=h.Jx(b,c);g>d&&(d=g,e=h)}return e?(c.Lj.defaultPrevented?e.Mk():e.ux(c),!0):!1}function lm(a,b){a.Ag[b.np()]=b}function rm(a,b){b=b.np();b in a.Ag&&delete a.Ag[b]}function sm(a,b){return b in a.Ag?a.Ag[b]:null};function tm(){this.ns=new D;this.UG=new D;this.NC=new D;this.MC=new D}k=tm.prototype;k.Ri=null;k.Yw=!1;k.np=function(){return"tap"};k.Jx=function(a,b){if("touchEnd"==a)return this.Yw?1:0;const c=new Sc(b.touches()[0].clientX(),b.touches()[0].clientY());if("touchStart"==a&&1==b.touches().length)return this.Ri=c,this.Yw=!0,this.NC.D(),Ui||je(window,"scroll",this.Mk,!1,this),0;if(!this.Ri)return 0;50>=Vc(c,this.Ri)||this.Yw&&this.Mk();return 0};
k.ux=function(a){this.ns.D(this.Ri.x,this.Ri.y,a.Lj);let b=!1;const c=Date.now();this.kI&&1E3>c-this.kI&&50>=Vc(this.IQ,this.Ri)&&(b=!0,this.UG.D(this.Ri.x,this.Ri.y,a.Lj));this.kI=b?null:c;this.IQ=this.Ri};k.Mk=function(){ue(window,"scroll",this.Mk,!1,this);this.Yw=!1;this.MC.D()};var um={},vm=!1,wm=-1;function xm(a){return a in um?um[a]:null}function ym(a,b,c,d,e){this.ka=a;this.HU=b;this.PL=c;this.qP=d||!1;this.BQ=e||!1}ym.prototype.height=function(){return this.ka};ym.prototype.NF=function(){return this.HU};ym.prototype.bold=function(){return this.qP};ym.prototype.italic=function(){return this.BQ};function zm(a){a=a||document.styleSheets;for(var b=[],c=Am(a),d=0;a=c[d];d++){var e=Bm(a);if(e&&e.length)for(var f=0,h=0,g=e.length,l;h<g;h++)l=e[h],l.href||(l.style&&(l.parentStyleSheet||(l.style["-closure-parent-stylesheet"]=a),l.style["-closure-rule-index"]=f),b.push(l)),f++}return b}function Bm(a){var b=null;try{b=a.cssRules||a.rules}catch(c){if(15==c.code)throw c.styleSheet=a,c;}return b}
function Am(a,b){var c=[];a=a||document.styleSheets;b=void 0!==b?b:!1;if(a.imports&&a.imports.length)for(var d=0,e=a.imports.length;d<e;d++)Ra(c,Am(a.imports[d]));else if(a.length)for(d=0,e=a.length;d<e;d++)Ra(c,Am(a[d]));else{var f=Bm(a);if(f&&f.length){d=0;e=f.length;for(var h;d<e;d++)h=f[d],h.styleSheet&&Ra(c,Am(h.styleSheet))}}!(a.type||a.rules||a.cssRules)||a.disabled&&!b||c.push(a);return c}
function Cm(a){var b=kd(),c=b.me,d=b.createElement("STYLE");a:{var e=((c?c.parentWindow||c.defaultView:window)||ha).document;if(e.querySelector&&(e=e.querySelector('style[nonce],link[rel="stylesheet"][nonce]'))&&(e=e.nonce||e.getAttribute("nonce"))&&Pc.test(e))break a;e=""}e&&d.setAttribute("nonce",e);d.type="text/css";b.getElementsByTagName("HEAD")[0].appendChild(d);d.styleSheet?d.styleSheet.cssText=a:d.appendChild(c.createTextNode(a));return d};function Dm(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""}function Em(a){return a.classList?a.classList:Dm(a).match(/\S+/g)||[]}function Fm(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)}function Gm(a,b){return a.classList?a.classList.contains(b):La(Em(a),b)}function Hm(a,b){if(a.classList)a.classList.add(b);else if(!Gm(a,b)){var c=Dm(a);Fm(a,c+(0<c.length?" "+b:b))}}
function Im(a,b){a.classList?a.classList.remove(b):Gm(a,b)&&Fm(a,Array.prototype.filter.call(Em(a),function(c){return c!=b}).join(" "))};function Jm(a,b){var c=Km();a.style[c.to.transform]=b.isIdentity()?"":Lm(c,b)}function Mm(a){return Lm(Km(),a)}function Nm(a){return Km().getTransform(a)}function Om(a){var b=Km();a=(a=oh(a,b.to.transformOrigin))?(a=Pm(a,2))?new Sc(a[0],a[1]):null:null;return a}function Qm(a,b,c){c=c||b;b=(new Dl).setTransform(b,0,0,c,0,0);c=Km();a.style[c.to.transform]=b.isIdentity()?"":Lm(c,b)}function Rm(a){const b=a.style.display;a.style.display="none";const c=a.offsetHeight;a.style.display=b;return c}
function Sm(a){return Math.floor(1E6*a)/1E6}var Tm=null;
function Km(){if(Tm)return Tm;let a=null;const b=rd("DIV"),c=[["transform",Um,{transform:"transform",transformOrigin:"transformOrigin"}],["webkitTransform",Um,{transform:"webkitTransform",transformOrigin:"webkitTransformOrigin"}],["msTransform",Um,{transform:"msTransform",transformOrigin:"msTransformOrigin"}],["MozTransform",Vm,{transform:"MozTransform",transformOrigin:"MozTransformOrigin"}],["OTransform",Um,{transform:"OTransform",transformOrigin:"OTransformOrigin"}]];for(let d=0;d<c.length;++d)if(void 0!==
b.style[c[d][0]]){a=new c[d][1](c[d][2]);break}if(!a)throw Error("browser doesn't support css matrix transformation");return Tm=a}function Um(a){this.to=a}function Lm(a,b){return"matrix("+a.XC(b).join(",")+")"}Um.prototype.getTransform=function(a){return(a=Wm(this,a))?new Dl(a[0],a[1],a[2],a[3],a[4],a[5]):null};function Wm(a,b){a="none"!=oh(b,"display")?oh(b,a.to.transform):b.style[a.to.transform];return 0==a.lastIndexOf("matrix(",0)?Pm(a,6):null}
Um.prototype.XC=function(a){return[Sm(a.Cb),Sm(a.Vb),Sm(a.Ub),Sm(a.Nb),Sm(a.ic),Sm(a.jc)]};function Pm(a,b){const c=[];for(let d=0;d<b;++d){const e=a.match(/^.*?(-?\d+(?:\.\d+)?(e-?\d+)?)/);if(!e)return null;c[d]=parseFloat(e[1]);a=a.substr(e[0].length)}return c}function Vm(a){this.to=a}v(Vm,Um);Vm.prototype.XC=function(a){a=Vm.Ua.XC.call(this,a);a[4]+="px";a[5]+="px";return a};function Xm(a,b,c){this.Rb=a;if(a.parentNode!=Ym()&&(b||!Ed(document.body,a))){this.Hl=Dd(a);b=0;let d=a;for(;d.previousSibling;)d=d.previousSibling,++b;this.Fn=b;c||Zm(this);Ym().appendChild(a)}}var $m={};Xm.prototype.Hl=null;function an(a){if(a.Hl){yd(a.Hl,a.Rb,a.Fn);const b=$m[a.Hl];b&&Ma(b,a.Fn)}}var bn=null;
function Ym(){if(!bn){const a=A("div");G(a,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",top:0,left:0,whiteSpace:"nowrap"});I(a,0);const b="_"+hd();a.id=b;Cm("#"+b+" * { position: absolute; }");document.body.appendChild(a);bn=a}return bn}function Zm(a){$m[a.Hl]||($m[a.Hl]=[]);const b=$m[a.Hl];let c=0;w(b,function(d){d<=this.Fn&&++c},a);a.Fn+=c;b.push(a.Fn)};function cn(a){this.qJ=a;this.Kj=[];this.Wz=0;this.gz=[]}cn.prototype.addElement=function(a){-1==this.Kj.indexOf(a)&&(this.Kj.push(a),this.Wz++,a=new Xm(a,!0,!0),this.gz.push(a))};function dn(){}dn.prototype.YF=!1;dn.prototype.preventAction=function(){this.YF=!0};dn.prototype.preventAction=dn.prototype.preventAction;dn.prototype.actionPrevented=function(){return this.YF};dn.prototype.actionPrevented=dn.prototype.actionPrevented;function en(a,b){for(const c of b)(b=Gj(a,c))&&Hm(b,"visited")}
function fn(a){const b=vm,c=Db||Eb&&18>parseInt(Tb,10);let d=Db,e;d&&(e=parseInt(Tb,10),11<=e&&(d=!1));const f=a.content();a=f.querySelectorAll("span");const h=new cn(()=>{Rm(f)});for(let t=0;t<a.length;++t){const u=a[t],y=window.getComputedStyle(u,null);var g=xm(y.fontFamily);if(g){if(b){var l=parseFloat(y.top)||0;u.style.top=l+g.PL*(parseFloat(y.fontSize)||0)+"px"}g.bold()&&(u.style.fontWeight="normal");g.italic()&&(u.style.fontStyle="normal")}jj&&(l=parseFloat(gn(u)),isNaN(l)||(h.addElement(u),
setTimeout(function(E,x,F){return function(){var M=E.clientWidth;if(0<M&&(M=x-M,1<Math.abs(M))){const O=E.textContent.length,P=window.getComputedStyle(E,null);E.style.letterSpacing=(parseFloat(P.letterSpacing)||0)+M/(O-1)+"px"}M=F.Kj.indexOf(E);if(-1!=M&&(F.Kj[M]=null,F.Wz--,0==F.Wz)){for(M=F.gz.length-1;0<=M;--M)an(F.gz[M]);F.qJ&&F.qJ()}}}(u,l,h),0)));if(d&&(l=u.currentStyle["text-shadow"])&&"none"!=l){l=l.split(" ");if(4>l.length)continue;g=3;if(0<=l[0].search("rgb")||0<=l[0].search("#"))g=0;var n=
l.splice(g,l.length-3).join(""),m=parseFloat(l[2]);l=parseFloat(y.top)||0;g=parseFloat(y.left)||0;let E=1,x=1;var p=0,q=y.msTransform;q&&(q=q.match(/matrix\(\s*([\d.-]+),\s*([\d.-]+),\s*([\d.-]+),\s*([\d.-]+),\s*[\d.-]+,\s*[\d.-]+\s*\)/))&&5==q.length&&(E=parseFloat(q[1]),x=parseFloat(q[4]),p=parseFloat(q[3]));if(10>e)u.style.color=n,0<m&&.233<=Math.abs(E)&&.233<=Math.abs(x)&&(u.style.filter="progid:DXImageTransform.Microsoft.Blur(pixelradius="+m+")"),u.style.left=g-E*m+"px",u.style.top=l-x*m+"px";
else{q=1.5*((parseFloat(y.lineHeight)||100)+m);p*=q;const F=q*x;u.style.color="#000";u.style.left=g-p+"px";u.style.top=l-F+"px";u.style.textShadow="0 "+q+"px "+m+"px "+n;"absolute"==y.position?u.style.clip="rect("+.7*q+"px,auto,"+2*q+"px,auto)":(n=Dd(u),m=n.currentStyle,"a"==n.nodeName.toLowerCase()&&"absolute"!=m.position&&(n=Dd(n)),n.style.visibility="hidden",m=new Xm(n),setTimeout(function(M,O,P,R,V,fa,ab,jb){return function(){var mc=vh(M,ab);const Za=mc.y+.7*O*fa;mc=mc.y+2*O*fa;let Mb=R+M.offsetWidth*
V;var Ea=ab.style.clip;Ea&&(Ea=Ea.match(/rect\(\s*([\d.-]+)px,\s*([\d.-]+)px,\s*([\d.-]+)px,\s*([\d.-]+)px\s*\)/))&&5==Ea.length&&(Mb+=parseFloat(Ea[2])-parseFloat(Ea[4]));ab.style.clip="rect("+Za+"px,"+Mb+"px,"+mc+"px,"+R+"px";an(jb);ab.style.visibility="visible"}}(u,q,l,g,E,x,n,m),0))}}c&&"rtl"==y.direction&&"relative"==y.position&&(u.style.left=-(parseFloat(y.left)||0)+"px")}}function hn(a,b,c){b=new km(b);const d=new tm;c&&d.ns.addHandler(c);lm(b,d);mm(b);a.ZT.push({w2:d,g2:c,j2:b})}
class jn extends Hj{constructor({content:a,mode:b="normal",Ht:c}){super(a,b);this.Tb=c;this.za=new D;this.vm=new D;this.eM=dj;this.Ou=null;this.Sb=[];this.ZT=[];this.Ez=!1}Ox(a){this.Ez||(en(this,a),fn(this),this.ZF(),this.Ez=!0)}dL(){this.Ez=!1}ZF(){if("normal"==this.EI){if(this.eM){this.Ou=this.content().querySelectorAll("a");for(var a=0;a<this.Ou.length;++a)this.Ou[a].onclick&&hn(this,this.Ou[a])}else a=je(this.content(),"click",this.sR,!1,this),this.Sb.push(a);for(a=0;a<this.Tb.length;++a){var b=
this.Tb[a],c;if(c=Gj(this,b)){if("div"==c.nodeName.toLowerCase()){var d=Ad(c);if(1==d.length&&"svg"==d[0].nodeName.toLowerCase()){d=d[0];var e=Ad(d);if(1==e.length&&"a"==e[0].tagName)c=e[0];else{c=document.createElementNS("http://www.w3.org/2000/svg","a");c.setAttribute("fill","none");for(let f=0;f<e.length;++f)c.appendChild(e[f]);d.appendChild(c)}}}}else c=null;if(c){c.Zm=b;d=c.getElementsByTagName("a");for(e=0;e<d.length;++e)d[e].Zm=b;this.eM?hn(this,c,this.hS.bind(this)):(G(c,"cursor","pointer"),
b=je(c,"click",this.gS,!1,this),this.Sb.push(b))}}}}sR(a){a.stopPropagation();this.za.D(this,a)}gS(a){if(a.target&&a.target instanceof HTMLVideoElement&&a.target.controls)a.stopPropagation();else{var b=a.currentTarget;if(b&&b.Zm){const c=new dn;this.vm.D(b.Zm,c);a.stopPropagation();c.actionPrevented()&&a.preventDefault()}}}hS(a,b,c){(a=c.currentTarget)&&a.Zm&&!a.onclick&&!Ja(a.querySelectorAll("a"),d=>null!=d.onclick)&&(b=new dn,this.vm.D(a.Zm,b),b.actionPrevented()&&c.preventDefault())}};function kn(a,b){this.RQ=a;this.xI=b||null}var on=[];kn.prototype.xI=null;kn.prototype.zp=function(){return this.RQ};kn.prototype.Ue=function(){return this.xI};function pn(a,b,c,d,e,f,h,g){this.Ot=a;this.Qt=b;this.x1=c;this.y1=d;this.x2=e;this.y2=f;this.Pt=h;this.Rt=g}pn.prototype.clone=function(){return new pn(this.Ot,this.Qt,this.x1,this.y1,this.x2,this.y2,this.Pt,this.Rt)};pn.prototype.Oh=function(a){return this.Ot==a.Ot&&this.Qt==a.Qt&&this.x1==a.x1&&this.y1==a.y1&&this.x2==a.x2&&this.y2==a.y2&&this.Pt==a.Pt&&this.Rt==a.Rt};function qn(a,b){const c=A("canvas");void 0!==a&&(c.width=a);void 0!==b&&(c.height=b);return c}function rn(a,b){b=b instanceof Dl?[b.Cb,b.Vb,b.Ub,b.Nb,b.ic,b.jc]:b;a.transform(b[0],b[1],b[2],b[3],b[4],b[5])};function sn(a,b,c){this.Tj=a;this.Ib=this.xe(b||100,c||100);this.ld=this.Ib.getContext("2d");this.ld.fillStyle="rgba(255,255,255,1)";this.Vn=tn}sn.prototype.Vn="";sn.prototype.Mq=!1;sn.prototype.xe=function(a,b){return qn(a,b)};sn.prototype.apply=function(a,b){const c=a.getContext("2d");c.save();this.vf(this.Mq?1-b:b);b=this.Ib;c.scale(a.width/b.width,a.height/b.height);c.globalCompositeOperation=this.Vn==tn?"destination-in":"destination-out";c.drawImage(b,0,0);c.restore()};
function un(a){a.ld.clearRect(-a.Ib.width,-a.Ib.height,2*a.Ib.width,2*a.Ib.height)}function vn(a,b){const c=a.Ib.width,d=a.Ib.height;a=a.ld;switch(b){case wn[90]:a.rotate(.5*Math.PI);a.translate(0,-d);break;case wn[180]:a.rotate(Math.PI);a.translate(-c,-d);break;case wn[270]:a.rotate(1.5*Math.PI),a.translate(-c,0)}}var tn="maskIn",wn={0:"0",90:"90",180:"180",270:"270"};function xn(a){sn.call(this,a);a=a.Ue();a&1&&vn(this,wn[90]);a&4&&(this.Vn="maskOut",this.Mq=!0)}v(xn,sn);xn.prototype.vf=function(a){const b=this.Ib;un(this);a*=b.width;this.ld.fillRect(b.width/2-a/2,0,a,b.height)};function yn(a,b,c,d){sn.call(this,a,102,102);this.yP=d;this.fT=c;b||vn(this,wn[90]);a=Math.ceil(this.Ib.width/d);c=Math.ceil(this.Ib.height/c);this.yq=this.xe(a,c);this.uw=this.xe(this.Ib.width+a,c)}v(yn,sn);
yn.prototype.vf=function(a){un(this);var b=this.yq.width,c=this.yq.height,d=this.yq.getContext("2d");d.clearRect(0,0,b,c);d.fillStyle="rgba(255,255,255,1)";d.fillRect(0,0,b*a,c);a=this.uw.getContext("2d");a.clearRect(0,0,this.uw.width,this.uw.height);b=this.yq;for(c=0;c<this.yP+1;++c)a.drawImage(b,c*b.width,0);a=this.uw;b=a.height;c=this.yq.width;d=this.ld;for(let e=0;e<this.fT;++e)d.drawImage(a,e%2?-c/2:0,e*b)};function zn(a){yn.call(this,a,0<(a.Ue()&2),1,6)}v(zn,yn);
function An(a){yn.call(this,a,0<(a.Ue()&1),6,6)}v(An,yn);function Bn(a){sn.call(this,a);a.Ue()&4&&(this.Vn="maskOut",this.Mq=!0)}v(Bn,sn);function Cn(a){Bn.call(this,a)}v(Cn,Bn);Cn.prototype.vf=function(a){un(this);var b=this.Ib.width;a*=b;b=(b-a)/2;this.ld.fillRect(b,b,a,a)};function Dn(a){Bn.call(this,a);a=this.Ib.width/2;this.TQ=Math.ceil(Math.sqrt(2*a*a))}v(Dn,Bn);Dn.prototype.vf=function(a){un(this);const b=this.ld,c=this.Ib.width/2;a*=this.TQ;b.beginPath();b.arc(c,c,a,0,2*Math.PI,!1);b.fill()};
function En(a){Bn.call(this,a);a=this.Ib.width;this.ld.translate(a/2,a/2)}v(En,Bn);En.prototype.vf=function(a){un(this);const b=this.ld;a*=this.Ib.width;b.beginPath();b.moveTo(-a,0);b.lineTo(0,a);b.lineTo(a,0);b.lineTo(0,-a);b.fill()};function Fn(a){Bn.call(this,a)}v(Fn,Bn);Fn.prototype.vf=function(a){un(this);const b=this.ld,c=this.Ib.width,d=c/2;a*=c;b.fillRect(0,d-a/2,c,a);b.fillRect(d-a/2,0,a,c)};function Gn(a){sn.call(this,a);this.PB=[];this.OB=[];for(a=0;5>a;++a)this.PB.push(Hn(100)),this.OB.push(this.xe(20,20));const b=Hn(25);for(a=0;a<b.length;++a)b[a]%=5;this.yS=b}v(Gn,sn);function Hn(a){a=dk(ck(0,a));cb(a);return a}
Gn.prototype.vf=function(a){un(this);const b=this.ld;a=Math.floor(100*a);var c=this.PB.length;for(var d=0;d<c;++d){const e=this.PB[d],f=this.OB[d].getContext("2d");f.clearRect(0,0,20,20);f.fillStyle="rgba(255,255,255,1)";for(let h=0;h<a;++h){const g=e[h];f.fillRect(2*Math.floor(g/10),g%10*2,2,2)}}for(a=0;5>a;++a)for(c=20*a,d=0;5>d;++d)b.drawImage(this.OB[this.yS[5*a+d]],c,20*d)};function In(a){sn.call(this,a);a.Ue()&2&&vn(this,wn[90]);this.AK=dk(ck(0,100));cb(this.AK)}v(In,sn);In.prototype.vf=function(a){un(this);const b=this.ld,c=this.Ib.width;a=Math.floor(100*a);for(let d=0;d<a;++d)b.fillRect(0,this.AK[d],c,1)};function Jn(a){sn.call(this,a,96,96);a=a.Ue();this.BL=this.xe(192,96);var b=80==a||160==a;const c=this.BL.getContext("2d");c.fillStyle="rgb(255,255,255)";c.fillRect(0,0,96,96);c.translate(96,0);for(let d=0;16>d;++d)c.fillRect(0,6*d,b?6*(16-d-1):6*d,6);a&32&&vn(this,wn[180])}v(Jn,sn);Jn.prototype.vf=function(a){un(this);this.ld.drawImage(this.BL,-192*(1-a),0)};function Kn(a){sn.call(this,a);a.Ue()&16&&(this.Vn="maskOut",this.Mq=!0);vn(this,wn[270])}v(Kn,sn);Kn.prototype.vf=function(a){un(this);const b=this.ld;a*=Math.PI;const c=this.Ib.width;b.save();b.translate(c/2,c/2);b.beginPath();b.moveTo(0,0);b.arc(0,0,c,-a,a,!1);b.lineTo(0,0);b.fill();b.restore()};function Ln(a,b){sn.call(this,a);this.FG=a.Ue();b||(this.Vn="maskOut",this.Mq=!0);vn(this,wn[270])}v(Ln,sn);Ln.prototype.vf=function(a){un(this);const b=this.ld,c=this.Ib.width,d=2*Math.PI/this.FG;a*=d;b.save();b.translate(c/2,c/2);b.beginPath();for(let e=0;e<this.FG;++e){const f=d*e;b.moveTo(0,0);b.arc(0,0,c,f,f+a,!1);b.lineTo(0,0)}b.fill();b.restore()};function Mn(a){Ln.call(this,a,!0)}v(Mn,Ln);function Nn(a){Ln.call(this,a,!1)}v(Nn,Ln);function On(a){sn.call(this,a);let b=wn[0];switch(a.Ue()){case 128:b=wn[90];break;case 64:b=wn[180];break;case 16:b=wn[270]}vn(this,b)}v(On,sn);On.prototype.vf=function(a){const b=this.Ib;un(this);this.ld.fillRect(0,0,b.width*a,b.height)};function Pn(a){sn.call(this,a)}v(Pn,sn);Pn.prototype.vf=function(a){const b=this.Ib,c=this.ld;un(this);c.fillStyle="rgba(255,255,255,1)";c.fillRect(0,0,b.width*a,b.height)};var Qn={};function Rn(a){switch(a.zp()){case "wipe":return new On(a);case "barn":return new xn(a);case "checkerboard":return new An(a);case "blinds":return new zn(a);case "dissolve":return new Gn(a);case "randombar":return new In(a);case "strips":return new Jn(a);case "wedge":return new Kn(a);case "wheelCw":return new Mn(a);case "wheelCcw":return new Nn(a);case "box":return new Cn(a);case "circle":return new Dn(a);case "diamond":return new En(a);case "plus":return new Fn(a)}return new Pn(a)};function Sn(a){this.Ba=a}k=Sn.prototype;k.wz=null;k.lu=!1;k.xz=!1;k.kk=null;function Tn(a,b){a.lu!=b&&(a.lu=b,a.iD(b))}k.iD=function(a){const b=a?this.canvas():this.Ba;a=a?this.Ba:this.canvas();var c=a.parentNode;c&&c.replaceChild(b,a)};k.canvas=function(){this.wz||(this.wz=this.xe());return this.wz};k.content=function(){return this.Ba};function Un(a,b){if(a.xz!=b&&(a.xz=b)&&a.kk){b=a.canvas();for(let c=0;c<a.kk.length;++c)a.kk[c](b);a.kk=null}}k.wp=function(){return this.xz};
function Vn(a,b){a.wp()?b(a.canvas()):(a.kk||(a.kk=[]),a.kk.push(b))};function Wn(a,b,c,d,e){this.pe=!!b;this.node=null;this.se=0;this.AF=!1;this.SM=!c;a&&this.setPosition(a,d);this.depth=void 0!=e?e:this.se||0;this.pe&&(this.depth*=-1)}v(Wn,Xj);k=Wn.prototype;k.setPosition=function(a,b,c){if(this.node=a)this.se="number"===typeof b?b:1!=this.node.nodeType?0:this.pe?-1:1;"number"===typeof c&&(this.depth=c)};k.clone=function(){return new Wn(this.node,this.pe,!this.SM,this.se,this.depth)};
k.next=function(){if(this.AF){if(!this.node||this.SM&&0==this.depth)return Yj;var a=this.node;var b=this.pe?-1:1;if(this.se==b){var c=this.pe?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-1*b)}else(c=this.pe?a.previousSibling:a.nextSibling)?this.setPosition(c):this.setPosition(a.parentNode,-1*b);this.depth+=this.se*(this.pe?-1:1)}else this.AF=!0;return(a=this.node)?Zj(a):Yj};k.rN=function(){return this.AF};k.Ys=function(){return 1==this.se};k.pN=function(){return-1==this.se};
k.Oh=function(a){return a.node==this.node&&(!this.node||a.se==this.se)};k.splice=function(a){var b=this.node,c=this.pe?1:-1;this.se==c&&(this.se=-1*c,this.depth+=this.se*(this.pe?-1:1));this.pe=!this.pe;Wn.prototype.next.call(this);this.pe=!this.pe;c=ja(arguments[0])?arguments[0]:arguments;for(var d=c.length-1;0<=d;d--)b.parentNode&&b.parentNode.insertBefore(c[d],b.nextSibling);zd(b)};function Xn(a){this.Ej=a}Xn.prototype.Kz=0;Xn.prototype.context=function(){return this.Ej};function Yn(){}k=Yn.prototype;k.async=function(){return!1};k.hi=function(a,b){a=b.context();a.save();a.Wo.push([])};k.lO=function(a){a=a.context();a.restore();a.Wo.pop()};k.HM=function(a,b){a=b.context();a.save();a.Wo.push([])};k.GM=function(a){a=a.context();a.restore();a.Wo.pop()};k.isVisible=function(a){return"none"!=oh(a,"display")};k.RN=function(a){a.Vh={position:this.lA(a),opacity:this.tH(a),transform:Nm(a),transformOrigin:Om(a)}};
function ao(a,b,c,d){var e=b.Vh?b.Vh.position:(0,a.lA)(b);(e.left||e.top)&&c.translate(e.left,e.top);e=b.Vh?b.Vh.transform:Nm(b);d&&(e||(e=new Dl),e.translate(d,0));if(e){if((d=b.Vh?b.Vh.transformOrigin:Om(b))&&(0!=d.x||0!=d.y)){const f=new Dl;f.translate(d.x,d.y);El(f,e);f.translate(-d.x,-d.y);e=f}rn(c,e);Ca(c.Wo).push(e)}a=b.Vh?b.Vh.opacity:(0,a.tH)(b);c.globalAlpha*=a}k.lA=function(a){const b=parseFloat(oh(a,"left"));a=parseFloat(oh(a,"top"));return{left:isNaN(b)?0:b,top:isNaN(a)?0:a}};
k.tH=function(a){a=Ch(a);return"string"===typeof a?1:a};function bo(){}v(bo,Yn);bo.prototype.hi=function(a,b){bo.Ua.hi.call(this,a,b);try{b.context().drawImage(a,0,0,a.width,a.height)}catch(c){}};var co={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function eo(a){const b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(fo.test(c))return b.pE=go(c),b.type="hex",b;a:{var d=a.match(ho);if(d){c=Number(d[1]);const e=Number(d[2]);d=Number(d[3]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}if(c.length)return b.pE=tk(c[0],c[1],c[2]),b.type="rgb",b;if(co&&(c=co[a.toLowerCase()]))return b.pE=c,b.type="named",b;throw Error(a+" is not a valid color string");}var io=/#(.)(.)(.)/;
function go(a){if(!fo.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(io,"#$1$1$2$2$3$3"));return a.toLowerCase()}function tk(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(a!=(a&255)||b!=(b&255)||c!=(c&255))throw Error('"('+a+","+b+","+c+'") is not a valid RGB color');b=a<<16|b<<8|c;return 16>a?"#"+(16777216|b).toString(16).slice(1):"#"+b.toString(16)}function uk(a,b,c){0>c?c+=1:1<c&&--c;return 1>6*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a}
var fo=/^#(?:[0-9a-f]{3}){1,2}$/i,ho=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function jo(){}v(jo,Yn);jo.prototype.hi=function(a,b){jo.Ua.hi.call(this,a,b);ao(this,a,b.context());var c=b.context();try{const d=ph(a,"backgroundColor"),e=a.style.width,f=a.style.height;if(""!=d&&"transparent"!=d&&""!=e&&""!=f){const h=eo(d);c.save();c.fillStyle=h.pE;c.fillRect(0,0,parseFloat(e),parseFloat(f));c.restore()}}catch(d){}"block"==ha.window.getComputedStyle(a,null).display&&(b.Kz=0)};function ko(){}v(ko,Yn);ko.prototype.hi=function(a,b){ko.Ua.hi.call(this,a,b);ao(this,a,b.context());try{if(a.complete&&0<a.naturalWidth){let c=[a.width,a.height];!Db||c[0]||c[1]||(c=[a.getAttribute("width"),a.getAttribute("height")]);b.context().drawImage(a,0,0,c[0],c[1])}}catch(c){}};var lo=!Db&&!vb();function gn(a){if(/-[a-z]/.test("width"))return null;if(lo&&a.dataset){if(xb()&&!("width"in a.dataset))return null;a=a.dataset.width;return void 0===a?null:a}return a.getAttribute("data-"+"width".replace(/([A-Z])/g,"-$1").toLowerCase())};function mo(){}v(mo,Yn);
mo.prototype.hi=function(a,b){mo.Ua.hi.call(this,a,b);const c=b.context(),d=Cb?a.currentStyle:ha.window.getComputedStyle(a,null);var e=0;"relative"==d.position&&(e=b.Kz,b.Kz=e+a.offsetWidth);Db&&"rtl"==d.direction&&"relative"==d.position&&(b=a.Vh?a.Vh.position:(0,this.lA)(a),b.left&&(e-=2*b.left));ao(this,a,c,e);e=a.innerHTML;e=-1!=e.indexOf("&")?"document"in ha?$c(e):bd(e):e;if(fb(e)){c.font=[d.fontStyle,d.fontVariant,d.fontWeight,d.fontSize,d.fontFamily].join(" ");c.fillStyle=d.color;a=parseFloat(gn(a));
if(b=d.textShadow){var f=b.match(/rgba?\([^)]+\)/);if(f){var h=f[0];b=b.replace(h,"");b=(f=b.match(/(-?\d+(?:.\d+)?).*\s(-?\d+(?:.\d+)?).*\s(-?\d+(?:.\d+)?)/))?{color:h,offsetX:parseFloat(f[1]),offsetY:parseFloat(f[2]),blur:parseFloat(f[3])}:null}else b=null}else b=null;b?(c.save(),c.fillStyle="rgba(0,0,0,1)",f=2*c.canvas.width,c.translate(f,0),h=c.canvas.hasAttribute("data-scale-x")?c.canvas.getAttribute("data-scale-x"):1,f=[-f*h,0],no(c).transform(f,0,f,0,1),c.shadowOffsetX=b.offsetX+f[0],c.shadowOffsetY=
b.offsetY+f[1],c.shadowColor=b.color,c.shadowBlur=b.blur,oo(c,e,d,a),c.restore()):oo(c,e,d,a)}};function no(a){const b=new Dl;a=a.Wo;for(let c=0;c<a.length;++c)w(a[c],d=>{var e=d=d.clone(),f=-d.jc;e.ic+=-d.ic;e.jc+=f;El(b,d)});return b}
function oo(a,b,c,d){const e=parseFloat(c.fontSize);let f=parseFloat(c.letterSpacing);var h=parseFloat(c.lineHeight);isNaN(h)&&(h=parseFloat(c.height));var g=xm(c.fontFamily);!g||isNaN(h)?isNaN(h)?(a.textBaseline="alphabetic",h=e):(a.textBaseline="middle",h*=.5):(a.textBaseline="alphabetic",h=.5*(e*g.height()+h)-e*(g.NF()+g.PL));if(isNaN(f))a.fillText(b,0,h),b=a.measureText(b).width;else{const l=[];let n=0;for(g=0;g<b.length;++g){const m=a.measureText(b[g]).width;l[g]=m;n+=m}d&&(f=(d-n)/(b.length-
1));for(g=d=0;g<b.length;++g)a.fillText(b[g],d,h),d+=l[g]+f;b=Math.max(d-f,0)}a:{switch(c.textDecoration){case "underline":c=e+2;break;case "overline":c=0;break;case "line-through":c=e/2+2;break;default:break a}a.fillRect(0,c,b,1)}};function po(){}v(po,Yn);k=po.prototype;k.async=function(){return!Cb};k.hi=function(a,b){qo(fb(Gd(a)),b.context())};k.lO=function(){};k.HM=function(a,b,c){ro(fb(Gd(a)),b.context(),c)};k.GM=function(a,b){b()};function qo(a,b){const c=qn();canvg(c,a,{ignoreMouse:!0,ignoreAnimation:!0});try{b.drawImage(c,0,0)}catch(d){}}
function ro(a,b,c){a=so(a);const d=A("img");d.onload=function(){0<d.width&&0<d.height?b.drawImage(d,0,0):qo(a,b);d.onload=null;d.onerror=null;c()};d.onerror=function(){d.onload=null;d.onerror=null;c()};d.src="data:image/svg+xml;base64,"+ch(a)}function so(a){0>a.indexOf("http://www.w3.org/2000/svg")&&(a='<svg xmlns="http://www.w3.org/2000/svg" '+a.substr(5));a=a.replace(/style="[^"]*"/,"");return a=a.replace(/<a[^>]*>/g,"").replace(/<\/a>/g,"")}k.RN=function(){};function to(){this.Ui={};this.mz=this.XP.bind(this)}to.prototype.pG=null;to.prototype.gI=null;to.prototype.Cz=null;to.prototype.XP=function(){const a=this.Ui,b=this.gI;let c;for(;c=b.next();){const d=a[c.nodeName.toLowerCase()],e=d.async(),f=this.pG;b.pN()?e?d.GM(f,this.mz):d.lO(f):e?d.HM(c,f,this.mz):d.hi(c,f);if(e)return}c||this.Cz&&this.Cz()};
function uo(a,b,c,d){const e=b.getContext("2d");e.clearRect(0,0,b.width,b.height);d&&(b.setAttribute("data-scale-x",d.width),e.scale(d.width,d.height));b=new to;b.Ui.div=new jo;b.Ui.a=new jo;b.Ui.img=new ko;b.Ui.span=new mo;b.Ui.svg=new po;b.Ui.canvas=new bo;b.Ui.video=new bo;b.pG=new Xn(e);e.Wo=[];b.Cz=c||null;b.gI=new vo(a,b.Ui,b.mz)}
function vo(a,b,c){this.zb=[];const d=new Xm(a),e=this;setTimeout(()=>{const f=new Wn(a);for(;;){var h=f.next();if(h.done)break;h=h.value;if(h!==a){var g=h.nodeName.toLowerCase();if(g in b){var l=f.Ys();g=b[g];const n=h.hasAttribute("data-draw-ignore");l&&!g.isVisible(h)||n?(h=f,l=h.pe?-1:1,h.se==l&&(h.se=-1*l,h.depth+=h.se*(h.pe?-1:1))):(l&&g.RN(h),e.zb.push({element:h,Ys:l}))}}}an(d);c()},0)}vo.prototype.ye=-1;
vo.prototype.next=function(){this.ye<this.zb.length&&++this.ye;return this.ye<this.zb.length?this.zb[this.ye].element:null};vo.prototype.Ys=function(){if(0<=this.ye&&this.ye<this.zb.length)return this.zb[this.ye].Ys;throw Error("iteration ended or not started, current item is null");};vo.prototype.pN=function(){return!this.Ys()};function wo(a,b,c){this.Ba=a;this.EP=Math.ceil(b);this.CP=Math.ceil(c)}v(wo,Sn);k=wo.prototype;k.qr=null;k.JB=!1;k.Sv=!1;k.eG=!1;k.pu=null;k.KJ=null;k.iD=function(a){if(this.eG){const b=this.content(),c=this.canvas();if(!this.pu){const d=Ad(this.content());this.pu=Qa(d)}a?(b.appendChild(c),xo(this,!1)):(zd(c),xo(this,!0))}else wo.Ua.iD.call(this,a)};function xo(a,b){for(let c=0;c<a.pu.length;++c)G(a.pu[c],"visibility",b?"visible":"hidden")}k.xe=function(){return qn(this.EP,this.CP)};
function yo(a){if(!a.Sv){if(!a.qr){a.qr=a.xe();const b=a.KJ;if(b){const c=a.qr.getContext("2d");rn(c,b)}}a.Sv=!0;a.JB=!1;Un(a,!1);zo(a);uo(a.content(),a.qr,a.KR.bind(a))}}k.KR=function(){this.Sv=!1;this.JB=!0;this.ky()};function zo(a){a=a.canvas();a.getContext("2d").clearRect(0,0,a.width,a.height)}k.ky=function(){this.JB&&(zo(this),this.canvas().getContext("2d").drawImage(this.qr,0,0),Un(this,!0))};function Ao(a){this.Ba=a}v(Ao,Sn);Ao.prototype.xe=function(){const a=this.content(),b=A("canvas");var c=Nm(a);let d=1,e=1;c&&(d=c.Cb,e=c.Nb);c=a.height*e;b.width=a.width*d;b.height=c;return b};Ao.prototype.ky=function(){var a=this.canvas();const b=this.content(),c=a.getContext("2d");c.clearRect(0,0,a.width,a.height);a=Wm(Km(),b);let d=0,e=0,f=1,h=1;a&&(d=a[4],e=a[5],f=a[0],h=a[3],c.setTransform(f,a[1],a[2],h,d,e));c.drawImage(b,-d/f,-e/h,b.width,b.height);Un(this,!0)};class Bo extends yk{constructor(a,b,c,d,e){super(c,d,e);this.Tj=a;this.nf=b}progress(){return this.nf}};class Co extends yk{constructor(a,b,c,d){super(b,c,d);this.VO=null!=a?a:100}alpha(){return this.VO}};function Do(a,b,c){this.Wj=a;this.Rb=b;a=new Xm(b);var d=this.Wj;this.rQ=c;this.Ea=new Tk;var e="none"!=oh(this.Rb,"display");Hk(c,"visibility",!0).add(new Gk(e));e=d.$y;0<e.length&&Hk(c,"cssProperties",!0).add(Eo(e));e=d.ez;0<e.length&&Hk(c,"cssTextProperties",!0).add(Eo(e));d.kH&&(d=this.Rb.querySelectorAll("span")[0])&&(d=parseInt(oh(d,"font-size"),10),isNaN(d)||(e=Sk(c),e||(e=new wk,Hk(c,"cssTextProperties",!0).add(e)),e.Me["font-size"]=d));d=["textColor","fillColor","strokeColor","imgColor"];
for(e=0;e<d.length;++e){var f=d[e],h=Gl(this.Wj,f);h&&Hk(c,f,!0).add(new vk(h,0,!0))}f=this.Wj;this.Tn=new wo(this.Rb,f.la().width,f.la().height);this.Tn.eG=!0;c=new Dl;d=new Dl;e=Om(this.Rb)||new Sc;c.translate(e.x,e.y);if(h=f.tg())c=El(c,h),d=El(d,Fl(h));if(f=f.Gf())c=El(c,f),d=El(d,Fl(f));c.translate(-e.x,-e.y);this.Tn.KJ=c;this.QQ=d;if(b=b.querySelector("img"))this.KH=new Ao(b);an(a)}Do.prototype.KH=null;Do.prototype.WH=!0;
function Eo(a){const b=new wk;for(let c=0;c<a.length;++c)b.Me[a[c]]="";return b}
Do.prototype.gj=function(a){const b=this.Rb;var c=Ik(a,"visibility",Gk).visible(),d=c?"inherit":"none",e=this.Rb,f=e.style[id("display")];("undefined"!==typeof f?f:e.style[mh(e,"display")]||"")!=d&&(G(this.Rb,"display",d),c?!ki&&Ei&&Rm(this.Rb):(d=this.Rb.querySelector("video"))&&!d.paused&&d.pause());if(c){(c=Ik(a,"cssProperties"))&&c!=Ik(this.Ea,"cssProperties")&&Fo(this,c);if((c=Sk(a))&&c!=Sk(this.Ea))for(d=this.Rb.querySelectorAll("span"),e=0;e<d.length;++e)Fo(this,c,d[e]);(c=Ik(a,"fillColor"))&&
c!=Ik(this.Ea,"fillColor")&&Go(this,c,"fill");(c=Ik(a,"strokeColor"))&&c!=Ik(this.Ea,"strokeColor")&&Go(this,c,"stroke");if((c=Ik(a,"textColor"))&&c!=Ik(this.Ea,"textColor"))for(d=c.color().toString(),e=this.Rb.querySelectorAll("span"),f=0;f<e.length;++f){var h=e[f];h.currentStyle?(c=h.currentStyle.textShadow)||(c=h.currentStyle["text-shadow"]):c=window.getComputedStyle(h,null).textShadow;c&&"none"!=c||G(h,"color",d)}(c=Ik(a,"imgColor"))&&c!=Ik(this.Ea,"imgColor")&&Ho(this,c);Io(this,Ik(a,"filter"));
if(Lk(a).jb!=Lk(this.Ea).jb||Mk(a).jb!=Mk(this.Ea).jb||Jk(a).angle()!=Jk(this.Ea).angle()||Kk(a).angle()!=Kk(this.Ea).angle()||Nk(a).scale()!=Nk(this.Ea).scale()||Ok(a).scale()!=Ok(this.Ea).scale()||Pk(a).scale()!=Pk(this.Ea).scale()||Qk(a).scale()!=Qk(this.Ea).scale()||Rk(a).shift()!=Rk(this.Ea).shift())e=new Dl,e.translate(Lk(a).jb,Mk(a).jb),e.rotate(Jk(a).angle()+Kk(a).angle(),0,0),e.scale(Nk(a).scale()*Ok(a).scale(),Pk(a).scale()*Qk(a).scale()),c=e,d=Rk(a).shift(),f=c.Cb,h=c.Vb,c.Cb+=0*c.Ub,c.Vb+=
0*c.Nb,c.Ub+=d*f,c.Nb+=d*h,c=e,(d=this.Wj.Gf())&&(c=El(c,d)),(d=this.Wj.tg())&&(c=El(d.clone(),c)),Jm(b,c);this.WH&&(G(this.Rb,{top:0,left:0}),Ib&&Rm(this.Rb));this.WH=!1;this.Ea=a}};function Jo(a,b){a=Ik(a.Ea,"filter");return a instanceof Bo&&b.progress()==a.progress()&&b.Tj.zp()==a.Tj.zp()&&b.Tj.Ue()==a.Tj.Ue()?!1:!0}
function Io(a,b){var c=b&&b instanceof Co?b.alpha():"";I(a.Rb,c);const d=a.Tn;b&&b instanceof Bo?!d.Sv&&Jo(a,b)&&((c=!d.lu)?yo(d):d.ky(),Vn(d,e=>{var f=b.Tj;var h=ma(f)+"";h in Qn?h=Qn[h]:(f=Rn(f),h=Qn[h]=f);h.apply(e,b.progress());di(e,"50% 50%");Jm(e,a.QQ);Tn(d,!0)}),c&&.1>b.progress()&&Tn(d,!0)):(d.kk=null,d.lu&&(Tn(d,!1),Db&&Ko(a)))}function Ko(a){if(a=a.Rb.querySelector("video")){const b=Dd(a),c=Ah(b);c.width&&(yh(b,c.width+1),setTimeout(()=>{yh(b,c.width)},0))}}
function Fo(a,b,c){c=c||a.Rb;a=gc(b.Me);for(let d=0;d<a.length;++d){const e=a[d];let f=e in b.Me?b.Me[e]:"";"font-size"==e&&""!==f&&(f+="px");G(c,e,f)}}function Ho(a,b){const c=a.KH;if(c)if(b=b.color(),(a=Gl(a.Wj,"imgColor"))&&b.Oh(a))Tn(c,!1);else{const d=b.ub("rgb");c.wp()||c.ky();Vn(c,e=>{const f=e.getContext("2d");try{const h=f.getImageData(0,0,e.width,e.height),g=h.data;for(e=0;e<g.length;e+=4)g[e]=d[0],g[e+1]=d[1],g[e+2]=d[2];f.putImageData(h,0,0);Tn(c,!0)}catch(h){}})}}
function Go(a,b,c){b=b.color().toString();a=a.Rb.querySelectorAll("path,rect,circle,g,ellipse");for(let d=0;d<a.length;++d){const e=a[d],f=e.getAttribute(c);f&&"none"!=f&&e.setAttribute(c,b)}};function Lo(a,b){this.ga=a;this.JT=b;this.fz={}}function Mo(a,b,c){const d=b.id();if(a.fz[d])return a.fz[d];let e=null;const f=Gj(a.JT,b.id());f&&(e=new Do(b,f,c));return a.fz[d]=e};function No(a){this.PT=new Oo(a);this.yU=new Po(a)}No.prototype.process=function(a){const b=Hk(a,"sound");b&&Qo(b,this.PT);(a=Hk(a,"video"))&&Qo(a,this.yU)};
function Qo(a,b){for(let f=0;f<a.count();++f){var c=Fk(a,f),d=c.Uh();if(d instanceof Ro){var e=b;const h=d.jt();c=0==c.level();switch(d.type()){case So:e.play(h,d.We(),c);break;case To:e.pause(h,c);break;case Uo:e.stop(h);break;default:throw Error("unknown operation type");}}else if(d instanceof Vo)switch(c=b,d.type()){case Wo:c.fO();break;default:throw Error("unknown operation type");}else throw Error("unknown operation");}}function Oo(a){this.ma=a}
Oo.prototype.play=function(a,b,c){var d=this.ma;a=Yl(d,a);null!=d.qm.oa&&a&&Xo(d.ma,a,b,c)};Oo.prototype.pause=function(a,b){var c=this.ma;a=Yl(c,a);if(null!=c.qm.oa&&a){c=c.ma;const d=Yo(c,a);d.playing()?d.pause():Xo(c,a,null,b)}};Oo.prototype.stop=function(a){var b=this.ma;a=Yl(b,a);null!=b.qm.oa&&a&&Yo(b.ma,a).stop()};Oo.prototype.fO=function(){var a=this.ma;null!=a.qm.oa&&Zo(a.ma)};function Po(a){this.ma=a}Po.prototype.play=function(a,b,c){this.ma.playVideo(a,b,c)};
Po.prototype.pause=function(a,b){this.ma.pauseVideo(a,b)};Po.prototype.stop=function(a){this.ma.stopVideo(a,!0)};Po.prototype.fO=function(){throw Error("unsupported operation");};function $o(a){this.Ea=a}$o.prototype.state=function(){return this.Ea};function ap(a){this.Ea="waitForTrigger";this.$C=a}v(ap,$o);ap.prototype.ug=function(){return this.$C};function bp(a){this.hg=a}bp.prototype.Ze=function(a,b,c,d,e){b=cp(e);c=null;const f=new vl(this.hg);for(;f.next()&&f.ug()!==b;){const h=f.actions();f.ug()?c=dp(e,f.ug()):h&&c&&h.complete(a,c.xk)}c=new vl(this.hg);c.seekTo(b);e=dp(e,b).xk;c.next()&&c.actions()&&(b=c.actions(),b.duration()<=d?b.complete(a,e):b.kc(d,a,e))};function ep(a){this.hg=a}ep.prototype.Ji=-1;ep.prototype.nK=null;ep.prototype.Ze=function(a,b,c,d,e,f){if(f){f=cp(e);var h=dp(e,f).xk;this.nK==c&&this.Ji==b&&(b+=1);f===c?fp(this,a,f,h,b,d):(e=dp(e,c).xk,fp(this,a,c,e,b,Number.MAX_VALUE),fp(this,a,f,h,0,d));this.nK=f;this.Ji=d}};function fp(a,b,c,d,e,f){e=Math.round(e);f=Math.round(f);a=new wl(a.hg);for(a.seekTo(c);a.next()&&xl(a);){c=xl(a);const h=Math.round(c.pC);h>=e&&h<=f&&c.kc(b,d.add(h))}};function gp(a,b){this.Md=a;this.hg=b;this.nc=new hp(ml(b.mm),a);this.GI=[new bp(b),new ep(b)];this.FP=new ik;this.reset(0);this.Mo=new D}k=gp.prototype;k.Lb=0;k.Tp=function(){return this.Mo};k.timeline=function(){return this.hg};k.time=function(){return this.Lb};k.resume=function(a){const b=cp(this.nc);b&&Rj(dp(this.nc,b),this.Lb,a)};
k.seek=function(a,b){if(a<this.Lb)throw Error("can't seek backward, use reset() and seek after that");var c=cp(this.nc);c&&(c=dp(this.nc,c),Rj(c,this.Lb,b,!0),Rj(c,a,b));this.Lb=a};
k.Ze=function(a,b,c){const d=cp(this.nc);if(!d)throw Error("at least one trigger must be activated for running timeline playback");c=void 0!==c?c:!0;const e=this.Lb;a=e+a;var f=dp(this.nc,d).xk,h=0,g=new vl(this.hg);for(g.seekTo(d);g.next();){var l=g.actions();if(l){if(h=l.duration(),h>a)break}else if(l=g.ug(),l.required())break;else f=new Qj(Pj(f.add(h))),this.nc.le(l,f),f=f.xk,a-=h,h=0}this.Lb=a;b=new Vk(b,this.FP);for(g=0;g<this.GI.length;++g)this.GI[g].Ze(b,e,d,a,this.nc,c);ip(this,!0);b.Eb.apply(b);
return b.kl()};k.Vo=function(a,b){if(!jp(this,a))return!1;var c=new vl(this.hg);const d=cp(this.nc);d&&c.seekTo(d);let e=null;const f=[];for(;tl(c);){const h=c.ug();if(h.sx(a)){e=h;break}else{if(h.required())break;f.push(h)}}if(!e)return this.reset(b),this.Vo(a,b);d&&"playing"==this.Le.state()&&Rj(dp(this.nc,d),this.Lb,b,!0);if(0<f.length)for(a=new Qj(b),Rj(a,0,b,!0),c=0;c<f.length;++c)this.nc.le(f[c],a);this.nc.le(e,new Qj(b));this.Lb=0;ip(this,!1);return!0};
function jp(a,b){function c(e){for(;tl(e)&&!e.ug().required(););return e.ug()}const d=new vl(a.hg);(a=cp(a.nc))&&d.seekTo(a);if(a=c(d))return a.sx(b);d.reset();tl(d);return(a=c(d))&&a.sx(b)}k.reset=function(a){this.nc.clear();this.nc.le(this.hg.Jl[0],new Qj(a));this.Lb=0;ip(this,!1)};
function ip(a,b){const c=new vl(a.hg);var d=cp(a.nc);d&&c.seekTo(d);d=null;let e="completed";for(;c.next();){const f=c.actions(),h=c.ug();if(h&&h.required()){d=h;e="waitForTrigger";break}else if(f&&(!b||a.Lb<f.duration())){e="playing";break}}a.Le&&"playing"==a.Le.state()&&e!=a.Le.state()&&a.Mo.D();if("waitForTrigger"==e){if(!d)throw Error("requiredTrigger must be set for WAIT_FOR_TRIGGER state");a.Le=new ap(d)}else a.Le=new $o(e)}k.playbackState=function(){return this.Le};
k.persistState=function(){const a={s:this.Le.state(),t:this.Lb,T:this.nc.persistState()};"waitForTrigger"==this.Le.state()&&(a.nt=this.Le.ug().id());return a};k.restoreState=function(a){const b=a.s;this.Le="waitForTrigger"==b?new ap(this.Md.Tb[a.nt]):new $o(b);this.Lb=a.t;this.nc=new hp(ml(this.hg.mm),this.Md,a.T)};
function hp(a,b,c){this.Tt=a;this.Md=b;this.Tb=[];this.us=[];if(c){a=c.t;b=c.at;for(let d=0;d<a.length;++d){const e=this.Md.Tb[a[d]];c=b[d];const f=new Qj(c.t);f.Gh=Qa(c.p);this.le(e,f)}}}hp.prototype.persistState=function(){const a=[];w(this.Tb,c=>{a.push(c.id())},this);const b=[];w(this.us,c=>{b.push(c.persistState())},this);return{t:a,at:b}};hp.prototype.le=function(a,b){b.Tt=this.Tt[this.us.length];this.Tb.push(a);this.us.push(b)};
function dp(a,b){b=Da(a.Tb,b);if(0>b)throw Error("trigger wasn't activated");return a.us[b]}function cp(a){const b=a.Tb.length;return 0<b?a.Tb[b-1]:null}hp.prototype.clear=function(){this.Tb=[];this.us=[]};function kp(a,b,c){this.Ie=a;this.Fa=b;this.jU=c}kp.prototype.apply=function(a){Hk(a.kl().get(this.Ie),this.Fa,!0).add(this.jU)};function lp(a,b){this.Ie=a;this.Ea=b}v(lp,Xk);lp.prototype.kc=function(a){a=a.Eb;const b=Dk();for(let d=0;d<b.length;++d){const e=b[d];var c=Hk(this.Ea,e,!1);c&&0<c.count()&&(c=Fk(c,0),a.add(new kp(this.Ie,e,c)))}};lp.prototype.og=function(){};function mp(a){this.Y=a}mp.prototype.duration=function(){return this.Y};mp.prototype.Xs=function(a){return a<=this.Y};mp.prototype.FF=function(){return[this.Y]};function np(a,b,c){qk.call(this,c);this.Pv=a;this.Ee=b}v(np,qk);np.prototype.Uh=function(){return this.Pv};np.prototype.level=function(){return this.Ee};function Ro(a,b,c){this.VQ=a;this.Z=b;this.Dh=void 0!==c?c:null}var So="play",To="pause",Uo="stop";Ro.prototype.Dh=null;Ro.prototype.jt=function(){return this.VQ};Ro.prototype.type=function(){return this.Z};Ro.prototype.We=function(){return this.Dh};function Vo(){this.Z=Wo}var Wo="stopEffectChannel";Vo.prototype.type=function(){return this.Z};function op(a){a=pp(a);let b=null;for(let c=a.length-1;0<=c;--c){const d=a[c];b=b?b.add(d):d;if(d.absolute())break}return b}function pp(a){return(Array.isArray(a)?a:a.ub()).sort((b,c)=>{b=b.U();c=c.U();return!!b!=!!c?b?1:-1:b&&c?Pj(b)-Pj(c):0})};function qp(a){const b=a.ga;var c=b.Un;if(!c)throw Error("slide must contain main timeline");rp(a);a.jd=new gp(b.Md,c);a.jd.Tp().addHandler(()=>{a.Mo.D(a.Kb)});c=b.$H;a.Dg=[];for(let d=0;d<c.length;++d){const e=new gp(b.Md,c[d]);a.Dg.push(e);e.Tp().addHandler(()=>{a.Mo.D(a.Kb)})}}
function rp(a){a.ga.JA&&a.ga.kn.ub().forEach(b=>{if(!a.EA.includes(b.id())){var c=a.xj.get(b.id());sp(a,b)&&(Hk(c,"moveX",!0).add(new zk(b.la().left,!0)),Hk(c,"moveY",!0).add(new zk(b.la().top,!0)));if(c=(c=Mo(a.nM,b,c))?c.rQ:null)c=new lp(b.id(),c),a.ga.Un.CA.ke(c),a.ga.Un.mm.ke(b.id(),new mp(0),0),a.EA.push(b.id())}})}function sp(a,b){return!a.ga.Go.find(c=>c.tb&&c.tb.id==b.id()||!!c.jh.find(d=>d.id==b.id()))}function tp(a,b){a&&(a.reset(b),a.timeline().mm.reset())}
function up(a){if(!a.jd)throw Error("animation controller isn't activated");}function vp(a){return"completed"==a.jd.playbackState().state()?a.ga.Aa().count()-1:a.jd.nc.Tb.length-1-1}function wp(a,b){const c=b.H();return 0>b.fa()||c!=a.Kb?!1:!0}
class xp{constructor(a,b,c,d,e){this.ga=a;this.K=c;this.rc=e;this.Mo=new D;this.Kb=a.index();this.xj=new Uk;this.nM=new Lo(a,b);this.YQ=new No(d);this.Dg=this.jd=null;this.Ga=!1;this.EA=[];a.Go.forEach(f=>Nl(f).forEach(h=>this.xj.set(h.id,h.state)))}Tp(){return this.Mo}persistState(){const a=[];w(this.Dg,b=>{a.push(b.persistState())},this);return{m:this.jd.persistState(),i:a}}restoreState(a){this.jd||qp(this);this.jd.restoreState(a.m);this.py(a);this.Vi(0,0)}py(a){w(a.i,(b,c)=>{this.Dg[c].restoreState(b)})}reset(a,
b){void 0===a&&(a=-1);void 0===b&&(b=0);this.jd||qp(this);this.nw=this.oi();this.uK=a;this.vK=b;tp(this.jd,this.nw);0<=a&&(this.Vi(0,0),this.seek(a,b));this.Vi(0,0,!1)}ly(){this.ga.kn.ub().some(a=>!this.EA.includes(a.id()))&&(this.ga.Un.CA.Y=-1,rp(this),this.reset(0,0))}activate(){if(this.Ga)throw Error("already activated");this.Ga=!0;this.K.Bb().addHandler(this.Ya,this);this.K.ih().addHandler(this.VI,this)}deactivate(){up(this);this.Ga=!1;this.K.Bb().removeHandler(this.Ya,this);this.K.ih().removeHandler(this.VI,
this)}play(){up(this);this.jd.resume(this.oi())}pause(){up(this)}Vi(a,b,c){var d=[];c=void 0!==c?c:this.K.qe();a=this.jd.Ze(a,this.xj,c);d.push(a);for(a=0;a<this.Dg.length;++a)d.push(this.Dg[a].Ze(b,this.xj));b=[];for(a=0;a<d.length;++a)b=b.concat(gc(d[a].Fh));Wa(b);La(b,"__mediaTransforms")||b.push("__mediaTransforms");this.xj.remove("__mediaTransforms");a=d.length;for(c=0;c<b.length;++c){var e=b[c],f=[];for(var h=0;h<a;++h)d[h].contains(e)&&f.push(d[h].get(e));if(1==f.length)h=f[0];else if(1<f.length){h=
void 0;var g=Dk(),l=g.length;h=h||new Tk;for(var n=0;n<f.length;++n){var m=f[n];for(var p=0;p<l;++p){var q=Hk(m,g[p],!1);q&&Hk(h,g[p],!0).concat(q)}}}else continue;f=new Tk;g=Dk();for(l=0;l<g.length;++l)if(n=g[l],m=Hk(h,n,!1)){p=m;if(0<p.count())if(m=Fk(p,0),m instanceof vk){m=[];for(q=0;q<p.count();++q){var t=Fk(p,q),u=t.priority();m[u]||(m[u]=[]);m[u].push(t)}m=op(new Ek(m.pop()))}else if(m instanceof rk)m=op(p);else if(m instanceof yk){m=pp(p);p=null;for(q=m.length-1;0<=q;--q)if(t=m[q],!p||p.level()>
t.level())p=t;m=p}else if(m instanceof wk){m=pp(p);p=null;for(q=0;q<m.length;++q)t=m[q],p=p?p.add(t):t;m=p}else if(m instanceof np)if(0<p.count()){q=[];m=[];for(t=0;t<p.count();++t)u=Fk(p,t),u.Uh()instanceof Ro?q.push(u):m.push(u);p={};for(t=0;t<q.length;++t){u=q[t];var y=u.Uh().jt();y in p||(p[y]=[]);p[y].push(u)}q=[];for(y in p)p.hasOwnProperty(y)&&(t=p[y],t=pp(t),0<t.length&&q.push(t.pop()));m=pp(Pa(q,m));m=new Ek(m)}else m=null;else m=pp(p),m=0<m.length?m.pop():null;else m=null;m&&(m instanceof
Ek?Hk(f,n,!0).concat(m):Hk(f,n,!0).add(m))}h=f;this.xj.set(e,h)}d=this.nM;y=this.xj;a=d.ga.kn;for(c=0;c<b.length;++c)h=b[c],h in a.zv&&(e=Il(a,h),h=y.get(h),(e=Mo(d,e,h))&&e.gj(h));this.YQ.process(this.xj.get("__mediaTransforms"))}oi(){return Date.now()}seek(a,b){if(!(0<=a&&a<this.ga.Aa().count()))throw Error("invalid stepIndex");up(this);const c=this.oi(),d=vp(this);let e=1>=this.jd.nc.Tb.length?0:this.jd.time();if(a>d||a==d&&(void 0===b||e<=b)){for(;vp(this)!=a;)this.jd.Vo("__step",c),e=0;void 0!==
b&&0<b-e&&this.jd.seek(b,c)}else tp(this.jd,c),this.seek(a,b)}Vo(a){up(this);const b=this.oi();for(let c=0;c<this.Dg.length;++c)this.Dg[c].Vo(a,b);this.nw=b;this.Vi(0,0)}Ya(a,b){var c=a.timestamp();if(wp(this,c)){a=c.fa();c=1E3*c.va();var d=this.oi(),e=(d-this.nw)*this.rc.playbackRate();this.nw=d;d=c-this.vK;if(a!=this.uK||b)d=0,this.seek(a,c);this.Vi(d,e);this.uK=a;this.vK=c}}VI(a){a=a.timestamp();wp(this,a)&&this.Vi(0,0)}};function yp(a,b){this.ga=a;this.Kc=b;this.VA={}}k=yp.prototype;k.jr=null;k.vr=null;k.activate=function(a){this.jr=[];this.vr={};zp(this,this.ga.Db(),a.lE.bind(a));zp(this,this.ga.Wb(),a.Ph.bind(a))};function zp(a,b,c){for(let d=0;d<b.count();++d){const e=Ff(b,d),f=c(e);if(f){const h=ma(f)+"";a.jr.push(f);a.vr[h]=e;f.Nc.addHandler(a.ko,a)}}}k.deactivate=function(){for(let a=0;a<this.jr.length;++a)this.jr[a].Nc.removeHandler(this.ko,this);this.vr=this.jr=null};
k.ko=function(a){var b=ma(a)+"";if(b in this.vr){var c=this.vr[b];b=c.id();a=a.currentTime();var d=b in this.VA?this.VA[b]:0;if(d!=a){var e=a;if(!(d>e)){c=c.kg();const f=[];for(let h=0;h<c.vl.length;++h){const g=c.vl[h],l=g.time();l>=d&&l<=e&&f.push(g)}d=f;for(e=0;e<d.length;++e)this.Kc.Vo(d[e].id())}}this.VA[b]=a}};function Ap(a){let b=!1,c=!1;Bp(a,(d,e)=>{(e=Gj(a.ha,e.XJ))?(Cp(d,e),b=!0):c=!0});a.lD=b&&!c}function Dp(a){Bp(a,b=>b.bF())}function Ep(a){Bp(a,b=>{b.stop();gj&&b.KD()})}function Fp(a){Bp(a,b=>Gp(b));a.lD=!1}function Bp(a,b){const c=a.oa.qc;a.ga.Wb().ub().forEach(d=>{if(!(0<d.Vf)){const e=c.Ph(d);b(e,d)}})}
class Hp extends Nj{constructor(a,b,c,d){super(a,b,c);this.ma=new Xl(a,this);this.Kc=new xp(a,b,c.U(),this.ma,d);this.AI=new yp(a,this.Kc);this.lD=this.pq=!1;this.hD=-1;b.za.addHandler(this.kS,this);b.vm.addHandler(this.qS,this)}Tp(){return this.Kc.Tp()}persistState(){return this.Kc.persistState()}restoreState(a){this.Kc.restoreState(a)}py(a){this.Kc.py(a)}activate(a){super.activate(a);const b=a.vA;b.hb=!0;b.uA.addHandler(this.DJ,this);b.wA.addHandler(this.XI,this);this.ma.zy(a.mediaController());
this.Kc.activate()}deactivate(){this.ma.zy(null);this.Kc.deactivate();if(this.oa){const a=this.oa.vA;a.uA.removeHandler(this.DJ,this);a.wA.removeHandler(this.XI,this)}super.deactivate()}qx(){if(null==this.oa)throw Error("media activation available only when slide is activated");this.lD||Ap(this);Dp(this);this.AI.activate(this.oa.qc)}QD(a={}){if(null==this.oa)throw Error("media deactivation available only when slide is activated");this.AI.deactivate();Ep(this);(ki||a.tV)&&Fp(this);0<this.hD&&(clearTimeout(this.hD),
this.hD=-1)}Ox(){this.ha.Ox(this.ga.Qy())}play(){this.Kc.play();super.play()}pause(){this.Kc.pause();super.pause()}ly(){this.Kc.ly()}DJ(){this.pq=!0}XI(a){const b=this.ga,c=this.ha;Vl(b,a);en(c,b.Qy());this.nr()}kS(a,b){this.pq?this.pq=!1:null!=this.oa&&Ip(this.oa.$m(),a,b)}qS(a,b,c){!c&&this.pq?this.pq=!1:(this.Kc.Vo(a),b.preventAction())}};class Jp extends Hj{constructor({content:a,mode:b,$a:c,Cs:d}){super(a,b);this.Yd=c;this.Xt=d}$a(){return this.Yd}Lp(){return this.Xt||this.Yd.playerController().isCompleted()}};class Kp extends Sf{constructor(){super("interaction");this.Rl=this.fk=null;this.Xt=!1}sE(){return this.uQ}sj(){return this.fk}xt(a){this.fk=a}navigationType(){return this.Rl}lF(a){this.Rl=a}Cs(){return this.Xt}};class Lp extends Nj{constructor(a,b,c){super(a,b,c);this.FA=!1;this.Yd=b.$a()}$a(){return this.Yd}activate(a){super.activate(a);this.FA||(this.FA=!0,this.Yd.start());this.$j&&this.Yd.activate()}deactivate(){super.deactivate();this.$j&&this.Yd.deactivate()}Yl(){null!=this.oa&&this.FA&&this.Yd.activate()}};class Mp{constructor(a,b,c,d,e,f,h,g,l){this.vA=a;this.WS=b;this.ma=c;this.qc=d;this.he=e;this.vU=f;this.Rq=h;this.dK=g;this.Cc=l}Hp(){return this.WS}mediaController(){return this.ma}$m(){return this.vU}yp(){return this.Rq}soundController(){return this.he}};class Np extends Hj{constructor({content:a,mode:b,Ca:c,Ds:d}){super(a,b);this.sd=c;this.Yt=d}Ca(){return this.sd}Lp(){const a=Fg(this.sd);return this.Yt||"testing"!=a.quizState()}};class Op extends Nj{constructor(a,b,c){super(a,b,c);this.sd=b.Ca();this.Br=!1}Ca(){return this.sd}activate(a){super.activate(a);this.sd.setActionAvailability(a.dK);if(!this.Br){this.Br=!0;const b=this.ga,c=b.Yv;c&&this.sd.restoreState(c,a.Cc.Tg+b.fC);this.sd.stateChangedEvent().addHandler(this.VR,this,1);this.sd.start()}this.$j&&this.sd.activate()}deactivate(){super.deactivate();this.$j&&this.sd.deactivate()}Yl(){null!=this.oa&&this.Br&&this.sd.activate()}VR(a){a.actionPrevented()||(a.preventAction(),
this.nr())}};function Pp(a,b,c){this.Lf=a;this.SJ=b;this.oG=c}Pp.prototype.scenarioPassed=function(){return this.SJ};Pp.prototype.Gt=function(){return{completed:this.Lf,passed:this.SJ,canBePassed:this.oG}};function Qp(a){var b=a.currentSession(),c=b.completed();a=c||0<a.usedAttemptsCount();const d=b.scenario().settings().evaluationSettings();c=(b=c&&(!d.enabled()||b.scenarioPassed()))||!c||d.allowRetake();return new Pp(a,b,c)};class Rp extends Hj{constructor({content:a,mode:b,Pa:c,Es:d}){super(a,b);this.Oc=c;this.Zt=d}Pa(){return this.Oc}Lp(){const a=Qp(this.Oc);return this.Zt||a.Lf}};class Sp extends Sf{constructor(){super("scenario");this.RB=this.fk=null;this.Zt=!1;this.Xi="";this.Zv=this.Eu=this.Vv=null;this.sC=0}Es(){return this.Zt}sF(a){this.Xi=a}sj(){return this.fk}xt(a){this.fk=a}persistState(a){const b=super.persistState(a);a&&a.Lr?(a=a.Pa(),b.scenarioState=a.persistState(),a=Qp(a),b.scenarioInfo=a.Gt()):(b.scenarioState=this.RB,b.scenarioInfo=this.Zv?this.Zv.Gt():null,b.scenarioInactivityDuration=this.sC);return b}gj(a,b){super.gj(a,b);this.RB=a.scenarioState;const c=
a.scenarioInfo;c&&(this.Zv=new Pp(c.completed,c.passed,c.canBePassed));"scenarioInactivityDuration"in a&&(this.sC=a.scenarioInactivityDuration+b)}};class Tp extends Nj{constructor(a,b,c){super(a,b,c);this.Oc=b.Pa();this.Lr=!1}Pa(){return this.Oc}activate(a){super.activate(a);this.Oc.setActionAvailability(a.dK);if(!this.Lr){this.Lr=!0;const b=this.ga,c=b.RB;c&&this.Oc.restoreState(c,a.Cc.Tg+b.sC);this.Oc.stateChangedEvent().addHandler(this.aS,this,1);this.Oc.start()}this.$j&&this.Oc.activate()}deactivate(){super.deactivate();this.$j&&this.Oc.deactivate()}Yl(){null!=this.oa&&this.Lr&&this.Oc.activate()}aS(a){a.actionPrevented()||(a.preventAction(),
this.nr())}};var Up={B_:"playing",w_:"paused",IDLE:"idle"};r("ispring.presenter.player.transitions.TransitionPlaybackState",Up);r("PLAYING","playing",Up);r("PAUSED","paused",Up);r("IDLE","idle",Up);function Vp(a,b){this.x=a;this.y=b}v(Vp,Sc);k=Vp.prototype;k.clone=function(){return new Vp(this.x,this.y)};k.scale=Sc.prototype.scale;k.normalize=function(){return this.scale(1/Math.hypot(this.x,this.y))};k.add=function(a){this.x+=a.x;this.y+=a.y;return this};k.Ye=function(a){this.x-=a.x;this.y-=a.y;return this};k.rotate=function(a){var b=Math.cos(a);a=Math.sin(a);var c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;return this};function Wp(a,b,c){return a.clone().Ye(b).rotate(c).add(b)}
k.Oh=function(a){return this===a?!0:a instanceof Vp&&!!a&&this.x==a.x&&this.y==a.y};function Xp(a,b){if(0==b)return a.clone();b=b*Math.PI/180;let {SX:c,TX:d,$U:e,aV:f}={SX:new Vp(a.left,a.top),TX:new Vp(a.left+a.width,a.top),$U:new Vp(a.left,a.top+a.height),aV:new Vp(a.left+a.width,a.top+a.height)};if(!h){a=d;var h=e;var g=f;const l=c.clone();l.add(a);l.add(h);l.add(g);l.x*=.25;l.y*=.25;h=l}c=Wp(c,h,b);d=Wp(d,h,b);e=Wp(e,h,b);f=Wp(f,h,b);b=new Jf(Math.min(c.y,d.y,e.y,f.y),Math.max(c.x,d.x,e.x,f.x),Math.max(c.y,d.y,e.y,f.y),Math.min(c.x,d.x,e.x,f.x));return new Kf(b.left,b.top,b.right-
b.left,b.bottom-b.top)};function Yp(a){if(!a)return a;const b=document.createElement("canvas");b.width=a.width;b.height=a.height;b.id=a.id;b.getContext("2d").drawImage(a,0,0);return b}function Zp(a,b){const c=[];for(const d of a)if(a=b.querySelector("#"+d))a.setAttribute("data-draw-ignore",!0),c.push(a);return c}function $p(a){for(const b of a)b.removeAttribute("data-draw-ignore")}
function aq(a,b,c,d,e,f=null){const h=Zp(d,c),g=a.xe(b),l=g.getContext("2d");l.clearRect(0,0,b.width,b.height);const n=a.xe(b);uo(c,n,function(){f&&f instanceof HTMLCanvasElement&&l.drawImage(f,0,0);l.drawImage(n,0,0);$p(h);e(g)}.bind(a),new Yc(1,1))}function bq(a,b,c,d,e,f){e=Xp(e,180*f/Math.PI);c=Xp(new Kf(0,0,c,d),180*f/Math.PI);a.drawImage(b,e.left,e.top,e.width,e.height,c.left,c.top,c.width,c.height)}
function cq(a,b,c,d,e,f,h,g=null){const l=b.width,n=b.height,m=a.xe(b),p=Zp(f,c),q=m.getContext("2d");q.clearRect(0,0,l,n);q.translate(l/2,n/2);q.rotate(-d);q.translate(-l/2,-n/2);const t=a.xe(b);uo(c,t,function(){g&&g instanceof HTMLCanvasElement&&bq(q,g,l,n,e,d);bq(q,t,l,n,e,d);$p(p);h(m)}.bind(a),new Yc(1,1))}class dq{xe(a){const b=A("CANVAS");b.width=a.width;b.height=a.height;return b}};function eq(a,b,c){a.Ja=b;a.Pi=c;a.Dw=rd("div");a.Dw.innerHTML=a.Ja.innerHTML;a.jL=rd("div");a.jL.innerHTML=a.Pi.innerHTML}function fq(a){a.$c&&(zd(a.$c),a.$c=null);a.$c=A("DIV");G(a.$c,"position","absolute");var b=A("DIV");G(b,"position","absolute");a.$c.appendChild(b);const c=a.Mn?Yp(a.Mn):a.jL;b.appendChild(c);b=A("DIV");G(b,"position","absolute");a.$c.appendChild(b);b.appendChild(a.Dw);a.lL.appendChild(a.$c)}function gq(a,b){a.Fo&&(xd(a.Fo),a.Mn=b,a.Fo.appendChild(a.Mn||a.Pi))}
function hq(a,b,c){Qm(b,c);qh(b,(a.pa-a.NJ*c)/2,(a.ka-a.MJ*c)/2)}
class iq extends og{constructor(a,b,c,d,e,f){super();this.xg=a;this.$c=this.ga=this.Mn=null;this.pa=c;this.ka=d;this.NJ=c;this.MJ=d;this.zI=Number.MAX_VALUE;this.Of=b;void 0!==e&&(this.zI=e);this.Kg=A("DIV");this.lL=A("DIV");f&&(f.Pd()?this.Su(f):B(this,f.Lg,this.Su,this))}zd(){var a=this.xg,b=this.Of;a.zC.appendChild((0>b?a.nn:a.L[b]).Kg)}Um(a){Dh(this.slide(),a)}width(){return this.pa}height(){return this.ka}slide(){return this.ga}clone(){return this.$c}Su(a){eq(this,a.Ja,a.slideBackground());fq(this)}$k(){this.nj();
this.ga=A("DIV");G(this.ga,"position","absolute");this.Fo=A("DIV");G(this.Fo,"position","absolute");this.ga.appendChild(this.Fo);gq(this,this.Mn);this.Ew=A("DIV");G(this.Ew,"position","absolute");this.ga.appendChild(this.Ew);this.Ew.appendChild(this.Ja);this.Kg.appendChild(this.ga);fq(this)}oN(a){gq(this,a);this.ga&&fq(this)}Mx(){return this.Mn}nj(){this.ga&&(zd(this.ga),this.ga=null)}content(){return this.Ew}background(){return this.Fo}sJ(a){this.Su(a)}resize(a,b){if(this.pa!=a||this.ka!=b)this.pa=
a,this.ka=b,this.Gr(a,b)}Gr(a,b){a=Math.min(a/this.NJ,b/this.MJ,this.zI);this.Ja&&hq(this,this.Ja,a);this.Pi&&hq(this,this.Pi,a)}};class jq{constructor(a){this.LP=a}displayObject(){return this.LP}};class kq{constructor({mg:a,St:b}){this.Xd=a.concat();this.uD=b.concat()}mg(){return this.Xd.concat()}St(){return this.uD.concat()}persistState(){const a={};a.indexes=this.Xd;a.zoomStates=this.uD;return a}MD(){return new kq({mg:this.Xd,St:this.uD})}};function lq(a){for(let b=a.hf.length-1;0<=b;--b)if(a.hf[b])return a.hf[b];return null}function mq(a,b=null){a.hu=b?new jq(b):null;a.Pl=null}function nq(a,b){const c=[];for(let d=0;d<a.Wr.length;++d){const e=a.Wr[d];void 0!==b&&e!=b||c.push(a.Xd[d])}return c}function oq(a,b,c){const d=nq(a,c);return b.every(e=>d.includes(e))}
function pq(a,b,c,d,e,f){function h(l){if(e&&!f.R(c).visible())return l;for(;l<f.count()&&!f.R(l).visible();)++l;return l}if(!e)return b;const g=Pf(d);d=nq(a,e).concat([c]);if(!g)return h(Math.max.apply(a,d)+1);for(a=0;a<d.length;++a)d[a]==b&&b++;return h(b)}function qq(a){const b=[];for(const c of a.hf)c?b.push({id:c.effect().id(),N:c.N()}):b.push(c);return new kq({mg:a.Xd,St:b})}
class rq extends og{constructor(a){super();this.Cc=a;this.L=[];this.Xd=[];this.Wr=[];this.hf=[];this.tc=0;this.Pl=this.hu=null;this.pJ=ng(this);this.bI=ng(this)}push(a,b,c){this.L.push(a);this.hf.push(b);this.Xd.push(a.index());this.Wr.push(c);this.tc=this.L.length;a=this.Cc;b=qq(this);a.Jh=b;a.Zf=!0}pop(){if(this.Qh())return null;const a={slide:this.L[this.tc-1],BV:this.hf[this.tc-1]};this.L.splice(this.tc-1,1);this.hf.splice(this.tc-1,1);this.Xd.splice(this.tc-1,1);this.Wr.splice(this.tc-1,1);this.tc=
this.L.length;var b=this.Cc,c=qq(this);b.Jh=c;b.Zf=!0;return a}reset(a=null){this.L=[];this.hf=[];this.Xd=[];this.Wr=[];this.tc=0;mq(this,a);this.pJ.D();a=this.Cc;var b=qq(this);a.Jh=b;a.Zf=!0}kF(a){this.Pl=new jq(a)}slideBackground(){return this.hu?this.hu.displayObject():null}zE(){return this.Pl?this.Pl.displayObject():null}Sx(){const a=this.Qh()?null:this.L[this.tc-1];return a?a.index():-1}Qh(){return!this.tc}};class sq extends jn{ZF(){}};class tq extends Sf{constructor(){super("quiz");this.JK=this.Yt=this.iz=!1;this.Xi="";this.Xv=this.Yv=this.Du=this.Uv=null;this.fC=0;this.fk=null;this.OL=!0}Ds(){return this.Yt}aF(){return this.JK}sF(a){this.Xi=a}persistState(a){const b=super.persistState(a);a&&a.Br?(a=a.Ca(),b.quizState=a.persistState(),a=Fg(a),b.quizInfo=a.Gt()):(b.quizState=this.Yv,b.quizInfo=this.Xv?this.Xv.Gt():null,b.quizInactivityDuration=this.fC);return b}gj(a,b){super.gj(a,b);this.Yv=a.quizState;const c=a.quizInfo;c&&(this.Xv=
new Eg(c.type,c.state,c.passed,c.retake,c.attempts));"quizInactivityDuration"in a&&(this.fC=a.quizInactivityDuration+b)}sj(){return this.fk}xt(a){this.fk=a}};function uq(a,b){var c=[];const d=a.ia.U().timestamp(),e=vq(d,"slide"+b,c);if(a.Iw[e])return Promise.resolve(a.oL.get(a.Iw[e]));a.Iw[e]={hash:e};const f=a.lb.Fb[b],h=wq(a,b);return new Promise(g=>{aq(a.ZG,a.Oe,h,c,l=>{a.oL.set(a.Iw[e],l);g(l)},f.Mx())})}
function xq(a,b,c,d,e,f){const h=a.ia.U().timestamp(),g=vq(h,b,f,d,e);if(a.uu[g])return Promise.resolve(a.HG.get(a.uu[g]));a.uu[g]={hash:g};const l=a.lb.Fb[c],n=wq(a,c);return new Promise(m=>{cq(a.ZG,a.Oe,n,e,d,f,p=>{a.HG.set(a.uu[g],p);p.setAttribute("id",b);m(p)},l.Mx())})}
function yq(a,b,c){function d(){return new Promise(n=>{uq(l,g).then(m=>{l.Ia.kF(m);c.kF(l.Ia.zE());n()})})}function e(){return new Promise(n=>{xq(l,h.id(),g,h.la(),h.rotation(),[h.Pp()]).then(m=>{l.Ia.hu=new jq(m);n()})})}b=0<=b?a.L.R(b):void 0;var f=b instanceof tq||b instanceof Kp||b instanceof Sp;if(!c||f)return Promise.resolve();const h=c.effect(),g=c.ml(),l=a;h&&h.gi()&&(mq(a.Ia),a.Ia.bI.D(b));b=h&&!h.gi()&&!c.N();f=!!c.tj();a=[];if(f&&b)b=new Promise(n=>{d().then(()=>{e().then(()=>{n()})})}),
a.push(b);else if(f||b)f&&(f=d(),a.push(f)),b&&(b=e(),a.push(b));return Promise.all(a)}function vq(a,b,c,d,e){c=c.join(",");a=[a.fa(),a.va(),b,c];d&&a.push(d.toString());void 0!==e&&a.push(e);return a.join("_")}function wq(a,b){const c=a.lb.Fb[b];b=a.L.R(b);var d=c.lL;b.JA=!1;d=new sq({content:d,Ht:b.Ht()});a=new Hp(b,d,a.ia,a.rc);a.Ox();var e=a.Aa();d=e.ob(e.count()-1);e=e.count()-1;d=d.duration();a.Kc.activate();a.Kc.reset(e,1E3*d);b.JA=!0;return c.clone()}
class zq{constructor({HX:a,Mp:b,nY:c,kj:d,slides:e,yx:f,hy:h}){this.Oe=a;this.lb=b;this.ia=d;this.L=e;this.oa=f;this.rc=h;this.ZG=new dq;this.oL=new WeakMap;this.Iw={};this.HG=new WeakMap;this.uu={};this.Ia=c;this.Iq={}}};function Aq(a){this.Ba=a.content;this.DP=""==a.contentHover?a.content:a.contentHover;this.je=a.url;this.pa=a.width;this.ka=a.height;this.pU=a.Sp;this.FQ=a.language;this.OP=a.$o;this.NP=a.Zo;this.PP=a.fp;this.QP=a.gp}k=Aq.prototype;k.content=function(){return this.Ba};k.contentHover=function(){return this.DP};k.url=function(){return this.je};k.width=function(){return this.pa};k.height=function(){return this.ka};k.Sp=function(){return this.pU};k.language=function(){return this.FQ};k.$o=function(){return this.OP};
k.Zo=function(){return this.NP};k.fp=function(){return this.PP};k.gp=function(){return this.QP};function Bq(a){Aq.call(this,a)}v(Bq,Aq);class Cq{constructor(a,b,c){this.uh=a;this.NQ=b;this.uU=[].concat(c)}name(){return this.uh}localName(){return this.NQ}urls(){return this.uU}};class Dq{constructor(){this.yr=[]}count(){return this.yr.length}jN(a){if(0>a||a>=this.count())throw Error("index is out of range");return this.yr[a]}QU(a){this.yr.push(a)}}Dq.prototype.getPresenter=Dq.prototype.jN;Dq.prototype.count=Dq.prototype.count;class Eq{constructor(a,b){this.Qc=a;this.xl=b;this.Ke=1;this.je=null;this.Ak="_self"}src(){return this.Qc}la(){return this.xl}opacity(){return this.Ke}fh(a){this.Ke=a}url(){return this.je}target(){return this.Ak}};class Fq{constructor(){this.mn={}}$D(a){return a in this.mn}};var Gq={oY:"activated",iZ:"deactivated",QF:"buffering"};r("ispring.presenter.presentation.narration.NarrationTrackPlaybackState",Gq);r("ACTIVATED","activated",Gq);r("DEACTIVATED","deactivated",Gq);r("BUFFERING","buffering",Gq);function Hq(a,b){a.Le!=b&&(a.Le=b,a.cK.D(a))}class Iq{constructor(a,b,c){this.Eh=a;this.cA=b;this.Qe=void 0!==c?c:1;this.Le="deactivated";this.cK=new D}Qa(){return this.Eh}Od(){return this.cA}volume(){return this.Qe}playbackState(){return this.Le}playbackStateChangedEvent(){return this.cK}}Iq.prototype.playbackStateChangedEvent=Iq.prototype.playbackStateChangedEvent;Iq.prototype.playbackState=Iq.prototype.playbackState;Iq.prototype.endTimestamp=Iq.prototype.Od;Iq.prototype.startTimestamp=Iq.prototype.Qa;class Jq extends Iq{constructor(a,b,c,d){super(b,c,d);this.$O=a}audio(){return this.$O}}Jq.prototype.audio=Jq.prototype.audio;class Kq{constructor(){this.Hh=[]}get oO(){return this.Hh}count(){return this.Hh.length}Us(a){if(0>a||a>=this.count())throw Error("index is out of range");return this.Hh[a]}}Kq.prototype.getTrack=Kq.prototype.Us;Kq.prototype.count=Kq.prototype.count;class Lq extends Kq{hN(a){return this.Us(a)}zM(a){this.Hh.push(a)}ub(){const a=[];for(let b=0;b<this.count();++b)a.push(this.hN(b));return a}}Lq.prototype.addAudioTrack=Lq.prototype.zM;Lq.prototype.getAudioTrack=Lq.prototype.hN;class Mq extends Iq{constructor(a,b,c,d){super(b,c,d);this.Gk=a}video(){return this.Gk}width(){return this.Gk.width()}height(){return this.Gk.height()}}Mq.prototype.height=Mq.prototype.height;Mq.prototype.width=Mq.prototype.width;Mq.prototype.video=Mq.prototype.video;class Nq extends Kq{kN(a){return this.Us(a)}BM(a){this.Hh.push(a)}ub(){const a=[];for(let b=0;b<this.count();++b)a.push(this.kN(b));return a}}Nq.prototype.addVideoTrack=Nq.prototype.BM;Nq.prototype.getVideoTrack=Nq.prototype.kN;class Oq{constructor(){this.cP=new Lq;this.AU=new Nq}Kh(){return this.cP}ii(){return this.AU}}Oq.prototype.videoTracks=Oq.prototype.ii;Oq.prototype.audioTracks=Oq.prototype.Kh;class Pq{constructor(a,b,c,d){this.Z=a;this.um=b;this.je=c;this.Ak=d}type(){return this.Z}title(){return this.um}url(){return this.je}target(){return this.Ak}navigate(a){Ug(this.je,{target:a||this.Ak})}}Pq.prototype.navigate=Pq.prototype.navigate;Pq.prototype.target=Pq.prototype.target;Pq.prototype.url=Pq.prototype.url;Pq.prototype.title=Pq.prototype.title;Pq.prototype.type=Pq.prototype.type;class Qq{constructor(){this.uo=[]}count(){return this.uo.length}UV(a){if(0>a||a>=this.count())throw Error("index is out of range");return this.uo[a]}ub(){return this.uo}}Qq.prototype.getReference=Qq.prototype.UV;Qq.prototype.count=Qq.prototype.count;class Rq{constructor(){this.uo=new Qq}Gp(){return this.uo}}Rq.prototype.references=Rq.prototype.Gp;class Sq{constructor(){this.hb=!1}enabled(){return this.hb}yb(a){this.hb=a}};class Tq{constructor(){this.fA=!0}fitToWindow(){return this.fA}}Tq.prototype.fitToWindow=Tq.prototype.fitToWindow;var Uq={GZ:"free",e0:"restricted",z0:"sequential"};r("ispring.presenter.presentation.settings.NavigationType",Uq);r("FREE","free",Uq);r("RESTRICTED","restricted",Uq);r("SEQUENTIAL","sequential",Uq);class Vq{constructor(){this.cR=new mg;this.Sq=new lg;this.iQ=new gg;this.Rl="free"}Th(){return this.cR}keyboard(){return this.Sq}mp(){return this.iQ}navigationType(){return this.Rl}lF(a){this.Rl=a}}Vq.prototype.navigationType=Vq.prototype.navigationType;Vq.prototype.mouse=Vq.prototype.Th;var Wq={R_:"prompt",rY:"always",f_:"never"};r("ispring.presenter.presentation.settings.PresentationResumeMode",Wq);r("PROMPT_TO_RESUME","prompt",Wq);r("ALWAYS_RESUME","always",Wq);r("NEVER_RESUME","never",Wq);class Xq{constructor(){this.vw=this.yj=this.vI=!1;this.wo="never"}Sh(){return this.vI}BX(a){this.vI=a}Vc(){return this.yj}yy(a){this.yj=a}sy(){return this.wo}eF(){return this.vw}}Xq.prototype.resumeMode=Xq.prototype.sy;Xq.prototype.autoStart=Xq.prototype.Vc;Xq.prototype.loopPlayback=Xq.prototype.Sh;var Yq={qZ:["BC","AD"],pZ:["Before Christ","Anno Domini"],d_:"JFMAMJJASOND".split(""),U0:"JFMAMJJASOND".split(""),$Z:"January February March April May June July August September October November December".split(" "),T0:"January February March April May June July August September October November December".split(" "),D0:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),W0:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),F1:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Y0:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),F0:"Sun Mon Tue Wed Thu Fri Sat".split(" "),X0:"Sun Mon Tue Wed Thu Fri Sat".split(" "),e_:"SMTWTFS".split(""),V0:"SMTWTFS".split(""),E0:["Q1","Q2","Q3","Q4"],W_:["1st quarter","2nd quarter","3rd quarter","4th quarter"],sY:["AM","PM"],gZ:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],l1:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],hZ:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],DO:6,G1:[5,6],EO:5},Zq=Yq;
Zq=Yq;function $q(a,b,c,d,e,f){"string"===typeof a?(this.Hf=a==ar?b:0,this.Bf=a==br?b:0,this.days=a==cr?b:0,this.lg=a==dr?b:0,this.ng=a==er?b:0,this.pg=a==fr?b:0):(this.Hf=a||0,this.Bf=b||0,this.days=c||0,this.lg=d||0,this.ng=e||0,this.pg=f||0)}
$q.prototype.Ny=function(){var a=Math.min(this.Hf,this.Bf,this.days,this.lg,this.ng,this.pg),b=Math.max(this.Hf,this.Bf,this.days,this.lg,this.ng,this.pg);if(0>a&&0<b)return null;if(0==a&&0==b)return"PT0S";b=[];0>a&&b.push("-");b.push("P");this.Hf&&b.push(Math.abs(this.Hf)+"Y");this.Bf&&b.push(Math.abs(this.Bf)+"M");this.days&&b.push(Math.abs(this.days)+"D");if(this.lg||this.ng||this.pg)b.push("T"),this.lg&&b.push(Math.abs(this.lg)+"H"),this.ng&&b.push(Math.abs(this.ng)+"M"),this.pg&&b.push(Math.abs(this.pg)+
"S");return b.join("")};$q.prototype.Oh=function(a){return a.Hf==this.Hf&&a.Bf==this.Bf&&a.days==this.days&&a.lg==this.lg&&a.ng==this.ng&&a.pg==this.pg};$q.prototype.clone=function(){return new $q(this.Hf,this.Bf,this.days,this.lg,this.ng,this.pg)};var ar="y",br="m",cr="d",dr="h",er="n",fr="s";$q.prototype.add=function(a){this.Hf+=a.Hf;this.Bf+=a.Bf;this.days+=a.days;this.lg+=a.lg;this.ng+=a.ng;this.pg+=a.pg};
function gr(a,b,c){"number"===typeof a?(this.Ta=hr(a,b||0,c||1),ir(this,c||1)):la(a)?(this.Ta=hr(a.getFullYear(),a.getMonth(),a.getDate()),ir(this,a.getDate())):(this.Ta=new Date(Date.now()),a=this.Ta.getDate(),this.Ta.setHours(0),this.Ta.setMinutes(0),this.Ta.setSeconds(0),this.Ta.setMilliseconds(0),ir(this,a))}function hr(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}k=gr.prototype;k.dN=Zq.DO;k.fN=Zq.EO;
k.clone=function(){var a=new gr(this.Ta);a.dN=this.dN;a.fN=this.fN;return a};k.getFullYear=function(){return this.Ta.getFullYear()};k.getYear=function(){return this.getFullYear()};k.getMonth=function(){return this.Ta.getMonth()};k.getDate=function(){return this.Ta.getDate()};k.getTime=function(){return this.Ta.getTime()};k.getDay=function(){return this.Ta.getDay()};k.getUTCFullYear=function(){return this.Ta.getUTCFullYear()};k.getUTCMonth=function(){return this.Ta.getUTCMonth()};k.getUTCDate=function(){return this.Ta.getUTCDate()};
k.getUTCDay=function(){return this.Ta.getDay()};k.getUTCHours=function(){return this.Ta.getUTCHours()};k.getUTCMinutes=function(){return this.Ta.getUTCMinutes()};k.getTimezoneOffset=function(){return this.Ta.getTimezoneOffset()};k.set=function(a){this.Ta=new Date(a.getFullYear(),a.getMonth(),a.getDate())};k.setFullYear=function(a){this.Ta.setFullYear(a)};k.setYear=function(a){this.setFullYear(a)};k.setMonth=function(a){this.Ta.setMonth(a)};k.setDate=function(a){this.Ta.setDate(a)};k.setTime=function(a){this.Ta.setTime(a)};
k.setUTCFullYear=function(a){this.Ta.setUTCFullYear(a)};k.setUTCMonth=function(a){this.Ta.setUTCMonth(a)};k.setUTCDate=function(a){this.Ta.setUTCDate(a)};
k.add=function(a){if(a.Hf||a.Bf){var b=this.getMonth()+a.Bf+12*a.Hf,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getYear(),b=0<=c&&99>=c?-1900:0,a=new Date((new Date(c,this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+
b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),ir(this,a.getDate()))};k.Ny=function(){var a=this.getFullYear();const b=0>a?"-":1E4<=a?"+":"";return[b+gd(Math.abs(a),b?6:4),gd(this.getMonth()+1,2),gd(this.getDate(),2)].join("")+""};k.Oh=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};k.toString=function(){return this.Ny()};function ir(a,b){a.getDate()!=b&&a.Ta.setUTCHours(a.Ta.getUTCHours()+(a.getDate()<b?1:-1))}
k.valueOf=function(){return this.Ta.valueOf()};function jr(a,b){return a.getTime()-b.getTime()};function kr(a,b){this.eO=a;this.Qs=b}new gr(0,0,1);new gr(9999,11,31);kr.prototype.getStartDate=function(){return this.eO};kr.prototype.contains=function(a){return a.valueOf()>=this.eO.valueOf()&&a.valueOf()<=this.Qs.valueOf()};kr.prototype.iterator=function(){return new lr(this)};function lr(a){this.GE=a.getStartDate().clone();this.Qs=Number(a.Qs.Ny())}v(lr,Xj);lr.prototype.next=function(){if(Number(this.GE.Ny())>this.Qs)return Yj;var a=this.GE.clone();this.GE.add(new $q(cr,1));return Zj(a)};function mr(a,b){a.IL=b}class nr{constructor(){this.NB=void 0;this.TG=this.IL=null}password(){return this.NB}Qp(){return this.IL}Ex(){return this.TG}};function or(){}or.prototype.iL=null;or.prototype.kK=null;or.prototype.Cy=function(){return this.iL};function pr(a,b){a.iL=b}or.prototype.jy=function(){return this.kK};function qr(a,b){a.kK=b}function rr(a,b){this.je=a;this.Ak=b}rr.prototype.url=function(){return this.je};rr.prototype.target=function(){return this.Ak};rr.prototype.open=function(){Ug(this.je,{target:this.Ak})};class sr{constructor(){this.aB=new Vq;this.VB=new Xq;this.YO=new Tq;this.Ra=this.Uu=this.Tr=null;this.uk="";this.DU=new or;this.OS=new nr;this.RO=new Sq}navigation(){return this.aB}Ob(){return this.VB}Jk(){return this.YO}Iy(){return this.uk}skin(){return this.Tr}xb(){return this.Ra}iF(a){this.Ra=a}fn(){return this.DU}Fp(){return this.OS}Bm(){return this.RO}}sr.prototype.i18n=sr.prototype.xb;sr.prototype.skin=sr.prototype.skin;sr.prototype.appearance=sr.prototype.Jk;sr.prototype.playback=sr.prototype.Ob;function tr(){this.CC=[]}tr.prototype.count=function(){return this.CC.length};tr.prototype.add=function(a){this.CC.push(a)};function ur(a,b){const c=a.count();for(let d=0;d<c;++d){const e=a.CC[d];if(e.name()==b)return e}return null};class vr extends og{constructor(a){super();this.pb=a;this.L=new Uf;this.Gz=this.um="";this.td=this.ud=0;this.pk=new sr;this.MG=new tr;this.Yi=this.iu=this.He=null;this.lH=[];this.yr=new Dq;this.Dj=null;this.Rf=new Oq;this.XS=new Rq;this.GC=new Fq;this.lM=new Fq;this.DS=[];this.GP=ng(this);this.AP=ng(this)}HF(){return this.pb}slides(){return this.L}title(){return this.um}rF(a){this.um=a}AX(a){this.Gz!=a&&(this.Gz=a,this.GP.D())}courseTitle(){return this.Gz}slideWidth(){return this.ud}slideHeight(){return this.td}settings(){return this.pk}Vx(){if(!this.He){const a=
dk(ck(this.L.count()));this.He=new dg(this.L,"__m",a)}return this.He}Gs(){return this.iu}Mt(){return this.Yi}fonts(){return this.lH}Pm(){return this.yr}Mh(){return this.Dj}hF(a){(this.Dj||a)&&(this.Dj&&a?!this.Dj.isEqual(a):1)&&(this.Dj=a,this.AP.D())}Jc(){return this.Rf}resources(){return this.XS}Mm(){return this.DS}}vr.prototype.resources=vr.prototype.resources;vr.prototype.narration=vr.prototype.Jc;vr.prototype.company=vr.prototype.Mh;vr.prototype.presenters=vr.prototype.Pm;
vr.prototype.settings=vr.prototype.settings;vr.prototype.slideHeight=vr.prototype.slideHeight;vr.prototype.slideWidth=vr.prototype.slideWidth;vr.prototype.title=vr.prototype.title;vr.prototype.slides=vr.prototype.slides;vr.prototype.uniqueId=vr.prototype.HF;var K={h_:"null",eZ:"Cut",fZ:"CutThroughBlack",d0:"RandomTransition",xY:"BlindsHorizontal",yY:"BlindsVertical",FY:"CheckerboardAcross",GY:"CheckerboardDown",NY:"CoverLeft",TY:"CoverUp",QY:"CoverRight",MY:"CoverDown",PY:"CoverLeftUp",SY:"CoverRightUp",OY:"CoverLeftDown",RY:"CoverRightDown",kZ:"Dissolve",sZ:"FadeThroughBlack",n1:"UncoverLeft",u1:"UncoverUp",q1:"UncoverRight",m1:"UncoverDown",p1:"UncoverLeftUp",t1:"UncoverRightUp",o1:"UncoverLeftDown",s1:"UncoverRightDown",b0:"RandomBarsHorizontal",
c0:"RandomBarsVertical",b1:"StripsLeftUp",d1:"StripsRightUp",a1:"StripsLeftDown",c1:"StripsRightDown",S1:"WipeLeft",U1:"WipeUp",T1:"WipeRight",R1:"WipeDown",CY:"BoxOut",AY:"BoxIn",Q0:"SplitHorizontalOut",P0:"SplitHorizontalIn",S0:"SplitVerticalOut",R0:"SplitVerticalIn",A0:"ShapeCircle",B0:"ShapeDiamond",HY:"CombHorizontal",IY:"CombVertical",rZ:"FadeSmoothly",g_:"Newsflash",C0:"ShapePlus",S_:"PushDown",T_:"PushLeft",U_:"PushRight",V_:"PushUp",E1:"Wedge",H1:"Wheel1Spoke",I1:"Wheel2Spokes",J1:"Wheel3Spokes",
K1:"Wheel4Spokes",L1:"Wheel8Spokes",M1:"WheelReverse1Spoke",w1:"VortexLeft",A1:"VortexUp",z1:"VortexRight",v1:"VortexDown",l0:"RippleCenter",p0:"RippleRightUp",n0:"RippleLeftUp",m0:"RippleLeftDown",o0:"RippleRightDown",KZ:"GlitterDiamondLeft",MZ:"GlitterDiamondUp",LZ:"GlitterDiamondRight",JZ:"GlitterDiamondDown",OZ:"GlitterHexagonLeft",QZ:"GlitterHexagonUp",PZ:"GlitterHexagonRight",NZ:"GlitterHexagonDown",HZ:"GalleryLeft",IZ:"GalleryRight",KY:"ConveyorLeft",LY:"ConveyorRight",mZ:"DoorsVertical",lZ:"DoorsHorizontal",
O1:"WindowVertical",N1:"WindowHorizontal",B1:"WarpIn",C1:"WarpOut",AZ:"FlyThroughIn",CZ:"FlyThroughOut",BZ:"FlyThroughInBounce",DZ:"FlyThroughOutBounce",i0:"RevealSmoothLeft",j0:"RevealSmoothRight",g0:"RevealBlackLeft",h0:"RevealBlackRight",VZ:"Honeycomb",vZ:"FerrisWheelLeft",wZ:"FerrisWheelRight",e1:"SwitchLeft",f1:"SwitchRight",yZ:"FlipLeft",zZ:"FlipRight",xZ:"Flashbulb",I0:"ShredStripsIn",J0:"ShredStripsOut",G0:"ShredRectangleIn",H0:"ShredRectangleOut",WY:"CubeLeft",YY:"CubeUp",XY:"CubeRight",
VY:"CubeDown",r0:"RotateLeft",t0:"RotateUp",s0:"RotateRight",q0:"RotateDown",BY:"BoxLeft",EY:"BoxUp",DY:"BoxRight",zY:"BoxDown",j_:"OrbitLeft",l_:"OrbitUp",k_:"OrbitRight",i_:"OrbitDown",t_:"PanLeft",v_:"PanUp",u_:"PanRight",s_:"PanDown",pY:"AirplaneLeft",qY:"AirplaneRight",m_:"OrigamiLeft",n_:"OrigamiRight",nZ:"DrapeLeft",oZ:"DrapeRight",tZ:"FallOverLeft",uZ:"FallOverRight",dZ:"Curtains",FZ:"Fracture",UY:"Crush",Q1:"WindRight",P1:"WindLeft",z_:"PeelOffLeft",A_:"PeelOffRight",Q_:"Prestige",o_:"PageCurlDoubleLeft",
p_:"PageCurlDoubleRight",q_:"PageCurlSingleLeft",r_:"PageCurlSingleRight",b_:"MorphByObject",c_:"MorphByWord",a_:"MorphByChar",V1:"Zoom"};r("ispring.presenter.presentation.slides.TransitionEffectType",K);r("NULL","null",K);r("CUT","Cut",K);r("CUT_THROUGH_BLACK","CutThroughBlack",K);r("RANDOM_TRANSITION","RandomTransition",K);r("BLINDS_HORIZONTAL","BlindsHorizontal",K);r("BLINDS_VERTICAL","BlindsVertical",K);r("CHECKERBOARD_ACROSS","CheckerboardAcross",K);r("CHECKERBOARD_DOWN","CheckerboardDown",K);
r("COVER_LEFT","CoverLeft",K);r("COVER_UP","CoverUp",K);r("COVER_RIGHT","CoverRight",K);r("COVER_DOWN","CoverDown",K);r("COVER_LEFT_UP","CoverLeftUp",K);r("COVER_RIGHT_UP","CoverRightUp",K);r("COVER_LEFT_DOWN","CoverLeftDown",K);r("COVER_RIGHT_DOWN","CoverRightDown",K);r("DISSOLVE","Dissolve",K);r("FADE_THROUGH_BLACK","FadeThroughBlack",K);r("UNCOVER_LEFT","UncoverLeft",K);r("UNCOVER_UP","UncoverUp",K);r("UNCOVER_RIGHT","UncoverRight",K);r("UNCOVER_DOWN","UncoverDown",K);
r("UNCOVER_LEFT_UP","UncoverLeftUp",K);r("UNCOVER_RIGHT_UP","UncoverRightUp",K);r("UNCOVER_LEFT_DOWN","UncoverLeftDown",K);r("UNCOVER_RIGHT_DOWN","UncoverRightDown",K);r("RANDOM_BARS_HORIZONTAL","RandomBarsHorizontal",K);r("RANDOM_BARS_VERTICAL","RandomBarsVertical",K);r("STRIPS_LEFT_UP","StripsLeftUp",K);r("STRIPS_RIGHT_UP","StripsRightUp",K);r("STRIPS_LEFT_DOWN","StripsLeftDown",K);r("STRIPS_RIGHT_DOWN","StripsRightDown",K);r("WIPE_LEFT","WipeLeft",K);r("WIPE_UP","WipeUp",K);
r("WIPE_RIGHT","WipeRight",K);r("WIPE_DOWN","WipeDown",K);r("BOX_OUT","BoxOut",K);r("BOX_IN","BoxIn",K);r("SPLIT_HORIZONTAL_OUT","SplitHorizontalOut",K);r("SPLIT_HORIZONTAL_IN","SplitHorizontalIn",K);r("SPLIT_VERTICAL_OUT","SplitVerticalOut",K);r("SPLIT_VERTICAL_IN","SplitVerticalIn",K);r("SHAPE_CIRCLE","ShapeCircle",K);r("SHAPE_DIAMOND","ShapeDiamond",K);r("COMB_HORIZONTAL","CombHorizontal",K);r("COMB_VERTICAL","CombVertical",K);r("FADE_SMOOTHLY","FadeSmoothly",K);r("NEWSFLASH","Newsflash",K);
r("SHAPE_PLUS","ShapePlus",K);r("PUSH_DOWN","PushDown",K);r("PUSH_LEFT","PushLeft",K);r("PUSH_RIGHT","PushRight",K);r("PUSH_UP","PushUp",K);r("WEDGE","Wedge",K);r("WHEEL_1_SPOKE","Wheel1Spoke",K);r("WHEEL_2_SPOKES","Wheel2Spokes",K);r("WHEEL_3_SPOKES","Wheel3Spokes",K);r("WHEEL_4_SPOKES","Wheel4Spokes",K);r("WHEEL_8_SPOKES","Wheel8Spokes",K);r("WHEEL_REVERSE_1_SPOKE","WheelReverse1Spoke",K);r("VORTEX_LEFT","VortexLeft",K);r("VORTEX_UP","VortexUp",K);r("VORTEX_RIGHT","VortexRight",K);
r("VORTEX_DOWN","VortexDown",K);r("RIPPLE_CENTER","RippleCenter",K);r("RIPPLE_RIGHT_UP","RippleRightUp",K);r("RIPPLE_LEFT_UP","RippleLeftUp",K);r("RIPPLE_LEFT_DOWN","RippleLeftDown",K);r("RIPPLE_RIGHT_DOWN","RippleRightDown",K);r("GLITTER_DIAMOND_LEFT","GlitterDiamondLeft",K);r("GLITTER_DIAMOND_UP","GlitterDiamondUp",K);r("GLITTER_DIAMOND_RIGHT","GlitterDiamondRight",K);r("GLITTER_DIAMOND_DOWN","GlitterDiamondDown",K);r("GLITTER_HEXAGON_LEFT","GlitterHexagonLeft",K);
r("GLITTER_HEXAGON_UP","GlitterHexagonUp",K);r("GLITTER_HEXAGON_RIGHT","GlitterHexagonRight",K);r("GLITTER_HEXAGON_DOWN","GlitterHexagonDown",K);r("GALLERY_LEFT","GalleryLeft",K);r("GALLERY_RIGHT","GalleryRight",K);r("CONVEYOR_LEFT","ConveyorLeft",K);r("CONVEYOR_RIGHT","ConveyorRight",K);r("DOORS_VERTICAL","DoorsVertical",K);r("DOORS_HORIZONTAL","DoorsHorizontal",K);r("WINDOW_VERTICAL","WindowVertical",K);r("WINDOW_HORIZONTAL","WindowHorizontal",K);r("WARP_IN","WarpIn",K);r("WARP_OUT","WarpOut",K);
r("FLY_THROUGH_IN","FlyThroughIn",K);r("FLY_THROUGH_OUT","FlyThroughOut",K);r("FLY_THROUGH_IN_BOUNCE","FlyThroughInBounce",K);r("FLY_THROUGH_OUT_BOUNCE","FlyThroughOutBounce",K);r("REVEAL_SMOOTH_LEFT","RevealSmoothLeft",K);r("REVEAL_SMOOTH_RIGHT","RevealSmoothRight",K);r("REVEAL_BLACK_LEFT","RevealBlackLeft",K);r("REVEAL_BLACK_RIGHT","RevealBlackRight",K);r("HONEYCOMB","Honeycomb",K);r("FERRIS_WHEEL_LEFT","FerrisWheelLeft",K);r("FERRIS_WHEEL_RIGHT","FerrisWheelRight",K);
r("SWITCH_LEFT","SwitchLeft",K);r("SWITCH_RIGHT","SwitchRight",K);r("FLIP_LEFT","FlipLeft",K);r("FLIP_RIGHT","FlipRight",K);r("FLASHBULB","Flashbulb",K);r("SHRED_STRIPS_IN","ShredStripsIn",K);r("SHRED_STRIPS_OUT","ShredStripsOut",K);r("SHRED_RECTANGLE_IN","ShredRectangleIn",K);r("SHRED_RECTANGLE_OUT","ShredRectangleOut",K);r("CUBE_LEFT","CubeLeft",K);r("CUBE_UP","CubeUp",K);r("CUBE_RIGHT","CubeRight",K);r("CUBE_DOWN","CubeDown",K);r("ROTATE_LEFT","RotateLeft",K);r("ROTATE_UP","RotateUp",K);
r("ROTATE_RIGHT","RotateRight",K);r("ROTATE_DOWN","RotateDown",K);r("BOX_LEFT","BoxLeft",K);r("BOX_UP","BoxUp",K);r("BOX_RIGHT","BoxRight",K);r("BOX_DOWN","BoxDown",K);r("ORBIT_LEFT","OrbitLeft",K);r("ORBIT_UP","OrbitUp",K);r("ORBIT_RIGHT","OrbitRight",K);r("ORBIT_DOWN","OrbitDown",K);r("PAN_LEFT","PanLeft",K);r("PAN_UP","PanUp",K);r("PAN_RIGHT","PanRight",K);r("PAN_DOWN","PanDown",K);r("AIRPLANE_LEFT","AirplaneLeft",K);r("AIRPLANE_RIGHT","AirplaneRight",K);r("ORIGAMI_LEFT","OrigamiLeft",K);
r("ORIGAMI_RIGHT","OrigamiRight",K);r("DRAPE_LEFT","DrapeLeft",K);r("DRAPE_RIGHT","DrapeRight",K);r("FALL_OVER_LEFT","FallOverLeft",K);r("FALL_OVER_RIGHT","FallOverRight",K);r("CURTAINS","Curtains",K);r("FRACTURE","Fracture",K);r("CRUSH","Crush",K);r("WIND_RIGHT","WindRight",K);r("WIND_LEFT","WindLeft",K);r("PEEL_OFF_LEFT","PeelOffLeft",K);r("PEEL_OFF_RIGHT","PeelOffRight",K);r("PRESTIGE","Prestige",K);r("PAGE_CURL_DOUBLE_LEFT","PageCurlDoubleLeft",K);
r("PAGE_CURL_DOUBLE_RIGHT","PageCurlDoubleRight",K);r("PAGE_CURL_SINGLE_LEFT","PageCurlSingleLeft",K);r("PAGE_CURL_SINGLE_RIGHT","PageCurlSingleRight",K);r("MORPH_BY_OBJECT","MorphByObject",K);r("MORPH_BY_WORD","MorphByWord",K);r("MORPH_BY_CHAR","MorphByChar",K);function wr(a){this.Kb=a}wr.prototype.type=function(){return"gotoSlide"};wr.prototype.H=function(){return this.Kb};class xr{constructor({effect:a,N:b,ml:c,tj:d}){this.zg=a;this.Nq=b;this.aU=c;this.hm=d;this.Pl=null}effect(){return this.zg}ml(){return this.aU}N(){return this.Nq}tj(){return this.hm}zE(){return this.Pl}kF(a){this.Pl=a}};class yr extends dg{constructor(a,b,c,d){super(a,b,c.slides());this.wM=c;this.Io=d||hd()}};function zr(){this.Ck=new D}var Ar;k=zr.prototype;k.hn=!1;k.Yf=0;k.start=function(){if(this.hn)throw Error("timer was already started");this.hn=!0;this.Yf=Date.now();Br()(this.Vi.bind(this))};k.stop=function(){if(!this.hn)throw Error("timer wasn't started");this.hn=!1};k.isActive=function(){return this.hn};k.Vi=function(){if(this.hn){const a=this.Yf;this.Yf=Date.now();this.Ck.D(this.Yf-a);Br()(this.Vi.bind(this))}};k.Bb=function(){return this.Ck};var Cr=1E3/30;
function Br(){if(Ar)return Ar;const a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame;return Ar=oi||void 0===a?function(b){setTimeout(b,Cr)}:function(b){a(b)}};function Dr(a,b){if(0<=a.qa()){var c=a.Ia.slideBackground();b=b?b.index():a.W().index();var d=a.ox,e=b;d.Iq[e]?c&&(d.Iq[e]=c):d.Iq[e]=c;d=a.lb.Fb[b];a=Yp(a.ox.Iq[b]);d.oN(a)}}function Er(a){return 0<a.Rc.length?Fr(a)instanceof yr:!1}
function Gr(a,{H:b,Vc:c=!0,AM:d=!0,N:e=!1,Xh:f=!0,At:h=!0,fl:g=!0,wD:l=!0,Yp:n,Rm:m=!1}){const p=()=>{yq(a.ox,b,n).then(()=>{a.xH(b,c,d,e,f,h,g,l,n);m&&a.Ia.reset();a.Fv&&a.Fv();a.Fv=null})},q=n?n.ml():b,t=a.L.R(q);!n||t.Pd()?p():(a.Fc.Lg.addHandler(u=>{u.index()===q&&p()}),a.Fc.Sm(q))}
function Hr(a,b=!0){if(a.vw){var c=a.U().timestamp();if(0<=c.H()&&0<=c.fa()){var d=a.Wc(c.H());d=d instanceof Hp?d.persistState():null;d=new Fj(d,c.fa(),c.va());a=a.oa.Cc;b&&(a.ps=!0);b=a;c=c.H();d?b.Qi[c]=d:delete b.Qi[c];b.Zf=!0;a.invalidate()}}}function Ir(a){var b=a.K.timestamp(),c=b.fa();b=b.va();const d=a.Qb.Aa();c=0<=c?d.ob(c):null;return"suspended"==a.K.state()||null!==c&&b>=c.duration()}function Jr(a,b){const c=Er(a)?Fr(a).Io:void 0;return new yr(a.J.slides(),b.id(),b,c)}
function Kr(a,b,c,d,e){c=c?d&&d.tj()?new Ve(d.ml(),0,0):e||a.K.timestamp():null;a.Rc.push(new Lg(b,c,a.xc));b=cg(b);0>b&&(b=0);a.xc=b}function Lr(a,b,c){const d=lq(a.Ia)||void 0,e=d?!1:void 0;if(d){var f=d.effect();const h=Jr(a,f),g=new Ve(d.ml(),0,0);d.N()||Kr(a,h,f.gl(),d,g);f=cg(h);0>f&&(f=0);a.xc=f}Gr(a,{H:b,Vc:c,At:e,fl:!0,wD:!1,Yp:d})}
function Mr(a){if(0<a.Rc.length&&Nr(a)){var b=Ca(a.Rc).MK;if(Er(a)&&Or(a,a.I+1))return a.I+1;if(b)return b.H()}b=Pr(a);if(!Er(a)&&a.I!=b)return Fr(a).slides()[0];b=bg(Fr(a));if(b.seekTo(a.xc)){a.W().visible()?Wf(b):b.Yx();b=b.W();if(!b&&Er(a)&&Nr(a)){var c=Qr(a).slides().find(d=>a.L.R(d).visible()&&d>Fr(a).slides()[a.xc]);if(void 0===c)for(b=a.Rc.length-2;-1<=b;--b)c=a.Rc[b],c=(c?c.Ho:a.He).slides().find(d=>a.L.R(d).visible()&&d>Fr(a).slides()[a.xc]);return void 0!==c?c:-1}c=Er(a)?Fr(a).Io:void 0;
b=b?pq(a.Ia,b.index(),a.I,a.W().vg(),c,a.L):-1;return b>=a.L.count()?-1:b}return-1}function Rr(a){if(!a.Ia.Qh()){var b=a.Ia.Sx();if(-1!=b)return b}var c=a.W();b=Pr(a);if(!Er(a)&&a.I!=b)return Fr(a).slides()[0];b=bg(Fr(a));if(b.seekTo(a.xc)){for(c=c.visible();Vf(b);){const d=b.W();if(d&&d.Py()||!c||c&&d&&d.visible())break}b=b.W();return!b&&Er(a)&&Nr(a)?(b=Qr(a).slides().concat().reverse().find(d=>d<Fr(a).slides()[0]-1),void 0!==b?b:-1):b?b.index():-1}return-1}function Sr(a){a.Qu||a.LK.D()}
function Tr(a,b,c,d){let e=-1;a=a.L;for(let f=0;f<a.count();++f){const h=a.R(f);if(Nf(h.vg(),b.id())){e=h.index();break}}return new xr({effect:b,N:c,ml:e,tj:d})}function Nr(a){const b=Fr(a);var c=a.xc;var d=bg(b);d.I=d.Jo.length;d=Xf(d)?d.qa():-1;c=c==d||a.xc==b.slides().length-1;a=Er(a)?oq(a.Ia,b.slides(),b.Io):!1;return c||a}function Ur(a){return"gotoSlide"==a.type()?a.H():-1}function Pr(a){return 0<=a.xc?Fr(a).slides()[a.xc]:-1}function Fr(a){const b=Ca(a.Rc);return b?b.Ho:a.He}
function Qr(a){if(!Fr(a)||2>a.Rc.length)return a.He;const b=a.Rc[a.Rc.length-2];return b?b.Ho:a.He}function Vr(a,b,c,d,e){Kr(a,b,c,d);Gr(a,{H:b.slides()[a.xc],At:!0,Yp:d,Rm:e})}function Wr(a,b,c){const d=Jr(a,b);c=Tr(a,b,!1,c);Vr(a,d,b.gl(),c)}function Xr(a,b){a.Rc.length||a.Bu.D();var c=Er(a),d=a.Rc.pop();const e=c?d.Ho.wM:void 0;e&&mq(a.Ia);(c=d.MK)?(a.xc=d.FT,d=e?Tr(a,e,!0):void 0,Gr(a,{H:c.H(),fl:!1,Yp:d,Rm:b})):a.xc=a.I}
function Dg(a,b,c,d){if(0>a.I)throw Error("current slide is null");var e=!!a.W().wf().pj();const f=d?Mr(a):a.Rd();0<=f?(d=()=>{a.fm=!0;const h=Yr(a,f);h?Wr(a,h.DN,h.tj):0<a.Rc.length&&Nr(a)?Xr(a,!1):Gr(a,{H:f,Vc:b,Xh:c,At:!0,fl:!1})},0<a.Rc.length&&Nr(a)?(e=Er(a)?Fr(a).wM:null,Or(a,a.I+1)?d():(Xr(a,!1),e&&!e.gl()&&(e=Er(a)?Fr(a).Io:void 0,a.Ia.push(a.L.R(a.I),void 0,e),d()))):d()):a.J.settings().Ob().Sh()&&!e?(Zr(a),Gr(a,{H:a.Se(),Vc:b,At:!0,fl:!1,Rm:!0})):($r(a.vc),Jj(a.Qb))}
function Yr(a,b){if(as(a))return null;var c=Or(a,b);if(c)return{DN:c};if(c=lq(a.Ia)){const d=c.ml();a=Of(a.L.R(d).vg(),b);if(!a)return null;b=c.effect();return{DN:a,tj:b}}return null}function Or(a,b){if(!(b>=a.L.count())){if(!a.L.R(b).visible())return Or(a,b+1);b=a.I==b?void 0:Of(a.W().vg(),b);var c=Er(a)?Fr(a).Io:void 0;return b&&oq(a.Ia,b.slides(),c)?Or(a,Math.max.apply(a,b.slides())+1):b}}function Zr(a){a.hw||(a.hw=!0,a.yh.D())}function as(a){return"accessible"==a.lb.Da}
function bs(a,b){a.Fv=b}function cs(a,b,c,d,e){a.I!=b&&(c&&0<=a.I&&a.Nu.push(a.L.R(a.I)),d&&0<=a.I&&(d=Er(a)?Fr(a).Io:void 0,a.Ia.push(a.L.R(a.I),e,d)),a.Qb&&(a.Qb.QD(),a.Qb.deactivate()),e=Fr(a).slides(),d=-1,null!==a.fm&&(d=a.fm?e.indexOf(b,a.xc):e.lastIndexOf(b,a.xc)),e=0<=d?d:e.indexOf(b),0<=e&&(a.xc=e),a.fm=null,a.I=b,e=a.L.R(b),e.Py()||Rf(e,!0),as(a)&&!e.completed()&&(e.Lf=!0),c&&ds(a.oa.Cc,b),a.Qb=a.Wc(b),a.hL.D(b),es(a,e),a.kL.D(b))}
function fs(a){if(a.Qb){var b=a.Qb;Mj(b,a.Ga);b.activate(a.oa);a.Qb instanceof Hp&&(a.Qb.Ox(),a.Qb.ly())}}function es(a,b){const c=b.index(),d=a.Wc(c);b=b.persistState(d);a=a.oa.Cc;a.tk[c]=b;a.Zf=!0;a.invalidate()}function gs(a){var b=a.oa.Cc.Jh;if(b){var c=b.mg();b=b.St();for(let e=0;e<c.length;++e){var d=b[e];let f=null,h=!1;if(d)for(let g=0;g<a.L.count();++g){const l=Nf(a.L.R(g).vg(),d.id);if(l){f=l;h=d.N;break}}d=f?Tr(a,f,h):void 0;a.Ia.push(a.L.R(c[e]),d)}}}
class hs{constructor(a,b,c,d,e,f,h,g,l){this.hw=!1;this.Fv=null;this.xc=this.I=-1;this.fm=null;this.Ga=!1;this.oD=-1;this.J=a;this.L=a.slides();this.Fc=c;this.HT=d;this.ia=e;this.K=e.U();this.lI=this.K.timestamp();this.oa=f;this.vc=h;this.YC=g;this.vw=a.settings().Ob().eF();this.lb=b;this.gm=l;this.yh=new D;this.LK=new D;c.Lg.addHandler(this.sJ,this);this.K.Bb().addHandler(this.Ya,this);this.K.ih().addHandler(()=>{this.YC.U().ih().D()},this);this.K.ll().addHandler(()=>{this.YC.U().ll().D()},this);
this.vc.Oy().addHandler(this.AJ,this);this.vc.Rp().addHandler(()=>{this.UL.D()},this);this.vc.Oy().addHandler(()=>{this.mU.D();Dr(this)},this);this.IT=[];this.Nu=new yg;this.He=a.Vx();this.Rc=[];a=new Yc(this.J.slideWidth(),this.J.slideHeight());this.Ia=new rq(this.oa.Cc);this.Ia.pJ.addHandler(()=>{this.ox.Iq={};Er(this)&&(this.Rc.pop(),this.xc=this.I);Dr(this)},this);this.Ia.bI.addHandler(n=>{Dr(this,n)},this);this.ox=new zq({HX:a,Mp:b,nY:this.Ia,kj:e,slides:this.L,yx:f,hy:this.gm});b=this.K.timestamp().H();
0<=b&&(this.K.started()?Gr(this,{H:b,AM:!1,Xh:!1}):this.Ya(this.K));this.NA=Date.now();this.dG=new zr;this.dG.Bb().addHandler(this.nR,this);this.dG.start();this.kz=new D;this.jn=new D;this.kL=new D;this.hs=new D;this.hL=new D;this.Bu=new D;this.iH=new D;this.UL=new D;this.mU=new D;this.fH=new D;this.Ii=new D;this.LB=new wg;this.LB.Ss()&&je(this.LB,"visibilitychange",this.rS,!1,this);je(window,"beforeunload",()=>{Hr(this,!1)});this.sI=new D;this.YL=new D;this.gm.Ii.addHandler(this.MR,this)}play(){0>
this.I?Gr(this,{H:this.Se(),fl:!1}):Ir(this)&&!this.K.$b()?this.Uk():this.Qb.play()}pause(){this.Qb&&this.Qb.pause()}Yc(a,b,c=!0){this.Ia.reset();Gr(this,{H:a,Vc:b,fl:!c,Rm:!0})}Sx(){const a=this.Nu.top();return a?a.index():-1}qp(a){this.Ia.reset();if(!this.Nu.Qh()){void 0===a&&(a=!0);var b=this.Nu.pop();b&&Gr(this,{H:b.index(),Vc:a,AM:!1,Rm:!0})}}Se(){const a=bg(this.He);return Wf(a)?a.W().index():this.He.slides()[0]}Rh(){var a=bg(this.He);a.I=a.Jo.length;if(Xf(a))return a.W().index();a=this.He.slides().length;
return this.He.slides()[a-1]}Sk(a){this.Ia.reset();Gr(this,{H:this.Se(),Vc:a,Rm:!0})}Tk(a){this.Ia.reset();Gr(this,{H:this.Rh(),Vc:a,Rm:!0})}Xc(a){Dg(this,void 0!==a?a:!0,!0)}zf(a){void 0===a&&(a=!0);if(0>this.I)throw Error("current slide is null");this.rA(a,!1)}Uk(){if(0>this.I)throw Error("Slide has not been loaded");var a=this.K.timestamp(),b=a.fa(),c=a.va();a=this.Qb;var d=a.Aa();const e=0<=b?d.ob(b):null,f=e?e.duration():0;d=b==d.count()-1&&(c>=f||e&&e.Ug());0>b?($r(this.vc),this.ss&&Dg(this,
!0,!1)):d?(Jj(a),Dg(this,!0,!0)):(this.Qu=f<=c,b=a.ga.Aa(),c=a.ia.U().timestamp().fa(),c==b.count()-1?Jj(a):(b=c+1,a.play(),Ij(a,b,0)),Sr(this),this.Qu=!1)}Vk(a,b,c,d){void 0==d&&(d=!1);if(a>this.L.count()||0>a)throw Error("slideIndex is out of bounds");var e=this.L.R(a);if(0>b)c=b=0;else{var f=e.Aa().count();b>f-1&&(b=f-1)}"idle"!=this.vc.state()&&$r(this.vc);if(f=a!=this.I){Hr(this);this.Fc.Sm(a);if(!e.Pd()){this.Mj=arguments;this.Dq=this.Vk.bind(this);this.Mj.H=a;is(this.ia,!0,this.Fc);return}this.Mj&&
(this.Dq=this.Mj=null,is(this.ia,!1,this.Fc));if(0==b&&0==c){Gr(this,{H:a,Vc:d,At:!1});return}e=this.Wc(a);if(e instanceof Hp){e.Kc.reset(b,1E3*c);var h=js(this.oa.Cc,a);(h=h?h.xh:null)&&e.py(h)}}this.ia.Ze(a,b,c,!0);f&&this.jn.D(a);d?this.ia.start():this.ia.stop();Sr(this)}rA(a,b,c=!1){void 0!==this.qA?this.qK=arguments:this.qA=setTimeout(this.vH.bind(this,a,b,c),0)}vH(a,b,c=!1){clearTimeout(this.qA);this.qA=void 0;var d=this.qK;if(d)this.qK=null,this.vH.apply(this,d);else{d=this.Td();if(0>d){if(0>
this.I)return;d=this.I}this.fm=!1;if(!this.Ia.Qh()&&this.Ia.Sx()==d){const {slide:h,BV:g}=this.Ia.pop();if(h){d=void 0;if(g){var e=g.ml()==h.index();d=void 0;var f=g.effect();g.tj()&&(f=g.tj(),d=g.effect());d=Tr(this,f,e,d);e&&(e=this.Ia,f=h.index(),mq(e,this.lb.Fb[f].Mx()))}Er(this)&&Nr(this)&&(this.Rc.pop(),this.xc=this.I);d&&!Er(this)&&(e=d.effect(),f=Jr(this,e),Kr(this,f,e.gl(),d));Gr(this,{H:h.index(),Vc:a,N:b,fl:c,wD:!1,Yp:d});return}}Gr(this,{H:d,Vc:a,N:b,fl:c,wD:!1})}}Td(){if(0>this.I)return-1;
const a=this.W().wf().Ep();return a?Ur(a):Rr(this)}rp(){const a=this.Wc(this.I);let b=!0;var c=this.K.timestamp();const d=c.fa();0>d?($r(this.vc),this.ss||(this.rA(!1,!0,!0),b=!1)):0<d||.01<c.va()?(c=a.ia.U().timestamp().fa(),0==c?Kj(a):a.$x(c-1)):(this.rA(!1,!0,!0),b=!1);b&&Sr(this)}zF(a,b){this.Ia.reset();(a=ur(this.J.MG,a))&&Vr(this,a,b,void 0,!0)}Et(a){(a=Nf(this.W().vg(),a))&&Wr(this,a)}VD(){this.Ia.reset();Xr(this,!0)}nR(){var a=this.NA;this.NA=Date.now();if(!(0>this.I)){var b=this.K.qe(),c=
b?(this.NA-a)/1E3:0,d=this.K.timestamp();a=d.H();var e=d.fa();d=d.va();var f=this.gm.playbackRate();d+=c*f;if(b&&0<=e&&(b=this.W().Aa(),c=b.ob(e),d>=c.duration()))if(c.Ug()){++e;if(e==b.count()){this.ia.Ze(a,e-1,c.duration());Dg(this,!0,!1);return}d=0}else{this.ia.Ze(a,e,c.duration());ks(this.ia,!0);return}this.ia.Ze(a,e,d)}}AJ(){this.Fc.yb(!0);const a=this.Wc(this.I);a.qx();const b=js(this.oa.Cc,this.I),c=b?b.xh:null;this.Qu=!0;b&&this.YS?(this.ia.Ze(this.I,b.fa(),b.va()),this.Qb instanceof Hp&&
c&&this.Qb.restoreState(c),this.yj?a.play():a.pause()):this.yj?(a.play(),Ij(a,0,0)):Kj(a);this.Qu=!1;(this.ss||b)&&Sr(this)}Rd(){if(0>this.I)return-1;const a=this.W().wf().pj();return a?Ur(a):Mr(this)}xH(a,b,c,d,e,f,h,g,l){a<<=0;if(a>=this.L.count()||0>a)throw Error("Invalid slide index");void 0==b&&(b=!0);void 0==c&&(c=!0);void 0==d&&(d=!1);void 0==e&&(e=!0);void 0==f&&(f=!0);void 0==h&&(h=!0);void 0==g&&(g=!0);if(a!=this.I){var n=~this.I?this.L.R(this.I).type():null,m=this.L.R(a).type(),p=as(this);
this.kz.D(n,m);n="quiz"==m||this.Ca();m="interaction"==m||this.$a();if(n||m||p)f=!1;"idle"!=this.vc.state()&&$r(this.vc);this.Fc.Sm(a);if(2!=this.Fc.op(a))this.Mj=arguments,this.Mj.H=a,this.Dq=this.xH.bind(this),is(this.ia,!0,this.Fc);else{this.Dq=this.Mj=null;this.Fc.yb(!1);m=l?l.effect():void 0;this.yj=p?!1:b;this.ss=l?void 0===m.duration()?null===this.fm?!1:!this.fm:l.N():d;this.YS=h;p=this.ss?0>this.I?a:this.I:a;this.xd=this.L.R(p).transition().clone();l&&(void 0===m.duration()?m=null:(m=m.duration(),
m=new Bf("Zoom",m,null,!1)),this.xd=m||this.xd);this.iH.D(this.xd,this.I,a);Hr(this);this.ia.Ze(p,-1,0);p=this.Wc(a);if(p instanceof Hp)if(h||(m=this.oa.Cc,delete m.Qi[a],m.Zf=!0),m=(m=js(this.oa.Cc,a))?m.xh:null)p.restoreState(m);else{m=p.Kc;if(m.Dg){n=m.oi();for(var q=0;q<m.Dg.length;++q)tp(m.Dg[q],n)}p.Kc.reset(0,0)}cs(this,a,c,g,l);if(p=f&&0<this.xd.duration()){Dr(this,this.L.R(a));m=this.vc;var t=a;n=this.xd.En;var u=this.xd.duration(),y=this.ss,E=l;m.KC=NaN;var x=m.lb;q=0>m.I;m.Gi=q?x.background():
m.lb.Fb[m.I];m.Zn=x.Fb[t];x=[];0<=m.I&&(x=m.J.slides().R(m.I),x=x instanceof Wl?x.Go:[]);var F=m.J.slides().R(t);F=F instanceof Wl?F.Go:[];m.I=t;ls(m);u=t=new ms(m.ud,m.td,y,m.Zn,m.Gi,m.gd,u,E);y=F;u.Vl=x;u.Tl=y;t.fo=q;q=n;n=t;"RandomTransition"==q&&(q=ns[Math.floor(Math.random()*ns.length)],q=q[Math.floor(Math.random()*q.length)]);n=(q=os[q])?q(n):new ps(n);m.Vd=n;m.Vd.Hm()&&(q=m.Vd,q.K=m.K,q.K.ih().addHandler(q.UI,q),q.K.ll().addHandler(q.TI,q),m.Vd.Yb.addHandler(m.zJ,m));n.wp()?rs(m):n.Cr.addHandler(m.GB,
m)}else ss(this.vc,a),Dr(this);fs(this);this.jn.D(a);this.ia.start(d);f&&((n=this.xd.Pc)?(m=this.oa.mediaController(),ts(m,n,m.K.timestamp(),0)):this.xd.zL&&Zo(this.oa.mediaController()));p||this.AJ();e&&Sr(this)}}}playbackState(){const a=this.K.state(),b=this.K.timestamp().fa();return"stopped"==a?0>b?"pausedTransition":"pausedSlide":"suspended"==a?"suspended":"buffering"==a?"buffering":0>b?"playingTransition":"playingSlide"}Ya(a){a=a.timestamp();const b=a.H(),c=a.fa();var d=a.va();if(0>c){var e=
d,f=0;if(this.xd&&"null"!=this.xd.En){var h=this.vc.KC*this.xd.duration();isNaN(h)&&(h=0);f=Math.max(0,this.xd.duration()-h);e-=h}this.YC.vj(0<f?e/f:1)}h=this.L.R(b);0<=c&&b!=this.I&&(ss(this.vc,b),cs(this,b,!0,!0),fs(this),this.Qb.qx());e=!1;f=h.Aa();f.count()-1==c&&f.ob(c).duration()<=d&&(e=!0,h.completed()||(h.Lf=!0,es(this,h)));d=this.lI;this.lI=a;d.H()==b&&d.fa()!=c&&this.hs.D(c);b==this.Rh()&&e?(f.ob(f.count()-1).Ug()&&us(this.oa.mediaController().wi),Zr(this)):this.hw=!1}QE(){return this.hw}activate(){this.Ga=
!0;this.oD=Date.now();this.Qb&&Mj(this.Qb,!0);const a=this.oa.Cc;vs(a,0);const b=this;setInterval(()=>{vs(a,b.Tg())},1E3)}Tg(){return 0<this.oD?Math.floor((Date.now()-this.oD)/1E3):0}U(){return this.K}kj(){return this.ia}qa(){return this.I}W(){if(0>this.I)throw Error("Current slide is undefined");return this.L.R(this.I)}hc(){if(!this.Qb)throw Error("Current slide is undefined");return this.Qb}Wc(a,b=!0){if(!this.L.R(a).Pd())return null;const c=this.IT;let d=c[a]||null;!d&&b&&(d=ws(this.HT,a),c[a]=
d,d.stateChangedEvent().addHandler(this.dS,this),d instanceof Hp?d.Tp().addHandler(e=>{this.I==e&&Hr(this)}):d instanceof Op?d.Ca().quizPlayerEvent().addHandler(this.UR,this):d instanceof Tp&&d.Pa().scenarioPlayerEvent().addHandler(this.$R,this));return d}UR(a){switch(a){case "gotoPreviousSlide":this.zf();break;case "skipQuizSlide":this.Xc();break;case "quizFinished":a=this.W();var b=this.hc();b=Fg(b.Ca());a=Gg(b)?a.Uv:a.Du;b=this.W();const c=this.hc().Ca(),d=Fg(c);"graded"==d.qw&&Hg(d)&&!Gg(d)&&
b.aF()&&c.restartQuiz();(new Cg(this)).YD(a);break;case "lockPresentationViewMode":this.sI.D();break;case "unlockPresentationViewMode":this.YL.D()}}$R(a){switch(a){case "gotoPreviousSlide":this.zf();break;case "gotoNextSlide":this.Xc();break;case "skipScenarioSlide":this.Xc();break;case "scenarioRestarted":case "scenarioRestored":this.fH.D(a);break;case "scenarioFinished":a=this.W();var b=this.hc();a=Qp(b.Pa()).scenarioPassed()?a.Vv:a.Eu;(new Kg(this)).YD(a)}}dS(a){es(this,a)}TE(){return this.gm}qg(){return this.kL}Rp(){return this.UL}aE(){return this.fH}Np(){return this.hs}wF(){return this.hL}rj(){return this.yh}sJ(a){const b=
this.Mj,c=this.Dq;c&&b&&b.H==a.index()&&(this.Dq=this.Mj=null,is(this.ia,!1,this.Fc),c.apply(this,b))}Ca(){return 0>this.I||!(this.W()instanceof tq)?null:this.hc().Ca()}$a(){return 0>this.I||!(this.W()instanceof Kp)?null:this.hc().$a()}Pa(){return 0>this.I||!(this.W()instanceof Sp)?null:this.hc().Pa()}Bt(){return this.vc}yp(){return this.oa.yp()}CR(a){var b=this.Wc(this.I);b&&(b=b.view(),b instanceof jn&&b.vm.D(a,new dn,!0))}rS(){xg(this.LB)?(this.xP=this.K.qe(),this.pause()):this.xP&&ii(()=>{this.play()},
this,100)}MR(){this.Ii.D()}}hs.prototype.slideTransitionController=hs.prototype.Bt;hs.prototype.scenarioPlayer=hs.prototype.Pa;hs.prototype.interactionPlayer=hs.prototype.$a;hs.prototype.quizPlayer=hs.prototype.Ca;hs.prototype.playbackCompleteEvent=hs.prototype.rj;hs.prototype.stepChangeEvent=hs.prototype.Np;hs.prototype.slideChangeEvent=hs.prototype.qg;hs.prototype.currentSlide=hs.prototype.W;hs.prototype.currentSlideIndex=hs.prototype.qa;hs.prototype.clock=hs.prototype.U;
hs.prototype.playbackState=hs.prototype.playbackState;hs.prototype.nextSlideIndex=hs.prototype.Rd;hs.prototype.gotoPreviousStep=hs.prototype.rp;hs.prototype.previousSlideIndex=hs.prototype.Td;hs.prototype.gotoTimestamp=hs.prototype.Vk;hs.prototype.gotoNextStep=hs.prototype.Uk;hs.prototype.gotoPreviousSlide=hs.prototype.zf;hs.prototype.gotoNextSlide=hs.prototype.Xc;hs.prototype.gotoLastSlide=hs.prototype.Tk;hs.prototype.gotoFirstSlide=hs.prototype.Sk;hs.prototype.lastSlideIndex=hs.prototype.Rh;
hs.prototype.firstSlideIndex=hs.prototype.Se;hs.prototype.gotoLastSlideViewed=hs.prototype.qp;hs.prototype.gotoSlide=hs.prototype.Yc;hs.prototype.pause=hs.prototype.pause;hs.prototype.play=hs.prototype.play;let xs;function ys(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")}function zs(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(xs||(xs={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=xs,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)}
function As(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)};class Bs{constructor(a){this.Id=a}Te(a,b,c){c=this.Id.hasOwnProperty(a)?this.Id[a]:c;if(void 0!==c){if(void 0!==b){a=this.sH;for(let d in b)if(b.hasOwnProperty(d)){const e=b[d];a&&(d=a(d));c=c.replace(new RegExp(d,"g"),e)}}return c}Ba("unknown message id: "+a);return a}messages(){return this.Id}sH(a){return"%"+a.toUpperCase()+"%"}}Bs.prototype.getMessage=Bs.prototype.Te;class Cs{constructor(a){this.ha=a;this.SI=!1;this.Sa=A("DIV");Hm(this.Sa,"framesLayer");this.ge=new D;a.$g().addHandler(this.mr,this)}mr(a,b,c,d){this.ha.Qx()?qh(this.Sa,0,0):qh(this.Sa,c,d);G(this.Sa,"pointer-events","none");c="";this.SI||(c="rect(0px,"+a+"px,"+b+"px,0px)");G(this.Sa,"clip",c);this.ge.D()}$g(){return this.ge}position(a,b){const c=this.ha.il();return this.gk(c.querySelector("#"+a),c,b||this.scale())}scale(){return this.ha.scale()}gk(a,b,c){let d=new Sc(0,0);if(!a)return d;a=uh(a);
b=uh(b);d=Wc(a,b);return d=new Sc(d.x/c,d.y/c)}displayObject(){return this.Sa}};function Ds(a,b){return`${a.className()}_${b}`}function Es(a,b,c){return`${Ds(a,b)}_${c}`}function Fs(a,b,c){b=Em(b);const d=Es(a,c,"");return Ka(b,e=>0==e.indexOf(d))}class Gs{constructor(a,b){this.oz=a;this.Rb=b}className(){return this.Rb?`${this.oz}__${this.Rb}`:this.oz}};var Hs=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||setTimeout;function Is(a){return"string"!==typeof a.className}function Js(a,b){a.className.baseVal=b}function Ks(a){return Is(a)?(a=a.className.baseVal,"string"===typeof a&&a.match(/\S+/g)||[]):Em(a)}function Ls(a,b){return Is(a)?La(Ks(a),b):Gm(a,b)}function Ms(a,b){if(Is(a)){if(!Ls(a,b)){let c=a.className.baseVal;c+=0<a.className.baseVal.length?` ${b}`:b;Js(a,c)}}else Hm(a,b)}function Ns(a,b){Is(a)?Ls(a,b)&&Js(a,Ha(Ks(a),c=>c!=b).join(" ")):Im(a,b)};class Os extends D{constructor(a){super(a);this.Eq=Je(this,new D);this.tA=Je(this,new D)}addHandler(a,b,c){super.addHandler(a,b,c);this.Eq.D()}removeHandler(a,b,c){super.removeHandler(a,b,c);this.tA.D()}};let Ps;const Qs=[];if(window.MutationObserver){Ps=new MutationObserver(b=>{b&&b.forEach(c=>{for(const d of c.removedNodes)for(const e of Qs)"function"===typeof d.contains&&d.contains(e.displayObject())&&e.pf(!1)})});const a={subtree:!0,childList:!0};Hs(()=>{Ps.observe(document.body,a)})}function Rs(a,b){a.ku.push(b);Ms(a.M,b.className())}
function Ss(a){const b=new ResizeObserver(c=>{for(const d of c)void 0!==d.target&&0<d.contentRect.width&&0<d.contentRect.height&&(a.Rg(a.M.clientWidth,a.M.clientHeight),a.ge.D(a))});b.observe(a.M);return b}
function Ts(a,b){const c=Je(a,new km(a.M));B(a,b.Eq,()=>{1==Se(b)&&mm(c);Ce(a,a.M,"mouseover",()=>{a.enabled()&&0<Se(a.za)&&a.hq()});Ce(a,a.M,"mouseout",()=>{a.pf(!1)})});B(a,b.tA,()=>{0==Se(b)&&nm(c)});const d=new tm;B(a,d.ns,(e,f,h)=>{a.pf(!1);a.enabled()&&a.Gj(h);a.ik&&h.target==a.M&&h.preventDefault()});B(a,d.MC,()=>{a.pf(!0)});B(a,d.NC,()=>{a.enabled()&&a.hq()});lm(c,d)}
function Us(a){Ps?Qs.push(a):Db?Ce(a,window,"DOMNodeRemoved",b=>{Ed(b.target,a.M)&&a.pf(!1)}):Ce(a,a.M,"DOMNodeRemovedFromDocument",()=>{a.pf(!1)})}function Vs(a,b,c){G(a.M,b,c)}function Ws(a,b,c){Je(a,b);null!=c?a.vD(b,c):a.Ma(b)}function Xs(a,b){b instanceof Gs||(b=new Gs(b));Rs(a,b)}function Ys(a,b){return new Gs(a.ku[0].oz,b)}function Zs(a){a.Rg(a.width(),a.height());a.ge.D()}
function $s(a,b,c=b){const d=a.M.scrollTop;b=Math.min(0,b-d-a.kM);c=Math.max(0,c-(d+a.M.clientHeight)+a.kM);0!=b?a.M.scrollTop+=b:0!=c&&(a.M.scrollTop+=c)}function at(a,b,c,d){const e=a.lc.bind(a),f=()=>{var h="string"===typeof c?c:c();h=b.Te(h,d&&d());e(h)};B(a,b.ZQ,h=>{const g="string"===typeof c?c:c();h==g&&f()});f()}
class L extends og{constructor(a){let {Hc:b,V:c,bN:d,Za:e,Lk:f,SN:h,EM:g,KV:l,Vp:n,B2:m=0,YN:p,tabIndex:q,RU:t}=a||{};super();e||(e=rd(f||"DIV"));this.M=e;this.ku=[];if(b||c)b=b||new Gs(c,d),Rs(this,b);this.ik=void 0!==h?h:!0;this.Ke=this.ka=this.pa=this.La=this.Ka=this.El=void 0;this.kM=m;this.no=1;this.AL={};this.Uc=null;n&&(this.km=Ss(this));(this.sT=p)&&this.Tm(!1);void 0!==q&&this.zt(q);this.za=Je(this,new Os(this));Ts(this,this.za);l&&B(this,this.za,()=>{});t&&Us(this);this.ge=ng(this);if(!1===
g){let u=!1;Ce(this,this.displayObject(),"mousedown",()=>{u=!0});Ce(this,this.displayObject(),"focusout",y=>{y.target==y.currentTarget&&(u=!1)});Ce(this,this.displayObject(),"focusin",y=>{u&&y.target==y.currentTarget&&Hs(()=>{this.displayObject().blur()})})}}$g(){return this.ge}focus(){(()=>{this.M.focus()})()}getAttribute(a){return this.M.getAttribute(a)}setAttribute(a,b){(()=>{this.M.setAttribute(a,b)})()}removeAttribute(a){(()=>{this.M.removeAttribute(a)})()}zt(a){this.El=a;this.Pr(a)}fi(a){this.Ka=
a;(()=>{this.M.style.left=a+"px"})()}Ef(a){this.La=a;(()=>{this.M.style.top=a+"px"})()}move(a,b){this.fi(a);this.Ef(b)}hh(a){this.resize(a)}uj(a){this.resize(void 0,a)}resize(a,b){this.Gr(a,b);void 0!==a&&(this.pa=a);void 0!==b&&(this.ka=b);this.Rg(this.width(),this.height());this.ge.D(this)}yb(a){void 0!==this.El&&this.Pr(a?this.El:-1);(()=>{a?this.M.removeAttribute("disabled"):this.M.setAttribute("disabled","")})()}xa(a){this.Uc=a;(()=>{this.Uc=null;Dh(this.M,a)})()}fh(a){(()=>{Vs(this,"opacity",
a)})();this.Ke=a}Ma(a){const b=this.ri(a);(()=>{this.M.appendChild(b)})()}vD(a,b){const c=this.ri(a);this.M==c.parentNode&&this.M.childNodes[b]==c||(()=>{yd(this.M,c,b)})()}removeChild(a){const b=this.ri(a);this.nE(b)&&(()=>{this.M.removeChild(b)})()}lc(a){(()=>{Fd(this.M,a)})()}ZN(a){(()=>{this.M.id=a})()}xy(a){this.Ad("label",a)}Yh(a){Array.isArray(a)&&(a=a.join(" "));(()=>{ys(this.M,a)})()}hl(a){this.Ad("hidden",a)}Ad(a,b){(()=>{zs(this.M,a,b)})()}lh(a,b){if(this.ku.length)for(const c of this.ku)if("string"===
typeof b){const d=Fs(c,this.M,a);d&&(delete this.AL[a],(()=>{Ns(this.M,d)})());if(b){const e=Es(c,a,b);this.AL[a]=e;(()=>{Ms(this.M,e)})()}}else{const d=Ds(c,a);(()=>{var e=this.M,f=d;b?Hm(e,f):Im(e,f)})()}else(()=>{var c=this.M;b?Hm(c,a):Im(c,a)})(),Ba("component has no bemInfo")}Tm(a){this.Ad("selected",a)}selected(){return"true"==As(this.M,"selected")}nE(a){return this.ri(a).parentNode==this.displayObject()}x(){return void 0!==this.Ka?this.Ka:sh(this.displayObject()).x}y(){return void 0!==this.La?
this.La:sh(this.displayObject()).y}width(){return void 0!==this.pa?this.pa:this.mA()}height(){return void 0!==this.ka?this.ka:this.kA()}enabled(){return!this.M.hasAttribute("disabled")}visible(){return"boolean"===typeof this.Uc?this.Uc:"none"!=this.displayObject().style.display}opacity(){if(void 0!==this.Ke)return this.Ke;const a=Ch(this.M);return"number"===typeof a?a:1}displayObject(){return this.M}setScale(a,b="0 0"){(()=>{Qm(this.M,a,a);di(this.M,b)})()}setParentScale(a){this.no=a;this.AB()}contains(a){if(!a)return!1;
a=this.ri(a);return Ed(this.M,a)}vn(a){(a instanceof Node||"function"===typeof a.displayObject)&&this.removeChild(a);super.vn(a)}ri(a){return a instanceof Node?a:a.displayObject()}mA(){const a=this.M;return a.tagName.toUpperCase()=="SVG".toString()?a.width.baseVal.value:Eh(a).width}kA(){const a=this.M;return a.tagName.toUpperCase()=="SVG".toString()?a.height.baseVal.value:Eh(a).height}Gr(a,b){(()=>{void 0!==a&&yh(this.M,a);void 0!==b&&zh(this.M,b)})()}Rg(){}AB(){}Gj(a){this.za.D(this,a)}hq(){this.lh("active",
!0)}pf(){this.lh("active",!1)}Wt(){Ce(this,this.M,"keydown",this.qB,this)}qB(a){document.activeElement!=this.displayObject()||a.defaultPrevented||13!=a.keyCode&&32!=a.keyCode||(a.preventDefault(),this.Gj())}Pr(a){(()=>{this.setAttribute("tabindex",a+"")})()}Fd(){this.km&&this.km.disconnect();const a=Qs.indexOf(this);0<=a&&Qs.splice(a,1)}};function bt(a){Cd(a)?this.ul=this.M=a:(this.M=rd("DIV",ct("component_container",a)),this.ul=this.GG(ct("component_base",a)),this.M.appendChild(this.ul));this.Sb=[];this.ik=!1;if(Ii){const b=new km(this.Op());this.za=new Os;this.za.Eq.addHandler(function(){1==Se(this.za)&&mm(b)},this);this.za.tA.addHandler(function(){0==Se(this.za)&&nm(b)},this);a=new tm;a.ns.addHandler(function(c,d,e){this.pf(!1);this.ik&&e.preventDefault();this.enabled()&&this.Gj(e)},this);a.MC.addHandler(function(){this.pf(!0)},
this);a.NC.addHandler(function(){this.enabled()&&this.hq()},this);lm(b,a)}else this.ik=!0,this.za=new Os,this.za.Eq.addHandler(function c(){this.za.Eq.removeHandler(c,this);var d=je(this.Op(),"mouseover",function(){this.enabled()&&0<Se(this.za)&&this.hq()},!1,this);this.Sb.push(d);d=je(this.Op(),"mouseout",function(){this.pf(!1)},!1,this);this.Sb.push(d);d=je(this.Op(),"click",function(e){this.pf(!0);this.ik&&0<Se(this.za)&&(e.preventDefault(),e.stopPropagation());this.Gj(e)},!1,this);this.Sb.push(d)},
this);this.ge=new D}k=bt.prototype;k.Ke=1;k.UO=!0;k.Gj=function(a){!this.UO&&a&&(this.displayObject().blur(),this.Za().blur());this.za.D(this,a)};k.$g=function(){return this.ge};k.Op=function(){return this.displayObject()};k.setAttribute=function(a,b){this.displayObject().setAttribute(a,b)};k.removeAttribute=function(a){this.displayObject().removeAttribute(a)};k.zt=function(a){this.El=a;this.Pr(a)};
k.Vp=function(){this.ka=this.pa=void 0;this.km=new ResizeObserver(a=>{for(const b of a)void 0!==b.target&&(a=b.contentRect,this.pa=a.width,this.ka=a.height,this.Rg(a.width,a.height),this.ge.D(this))});this.km.observe(this.M);this.Rg(parseInt(this.M.style.width,10),parseInt(this.M.style.height,10));this.ge.D(this)};k.hq=function(){this.lh("active",!0)};k.pf=function(){this.lh("active",!1)};k.Za=function(){return this.ul};bt.prototype.baseElement=bt.prototype.Za;bt.prototype.displayObject=function(){return this.M};
bt.prototype.displayObject=bt.prototype.displayObject;k=bt.prototype;k.width=function(){return void 0!==this.pa?this.pa:this.mA(this.Za())};k.mA=function(a){return"SVG"==a.tagName.toUpperCase()?a.width.baseVal.value:Eh(a).width};k.hh=function(a){this.resize(a)};k.height=function(){return void 0!==this.ka?this.ka:this.kA(this.Za())};k.kA=function(a){return"SVG"==a.tagName.toUpperCase()?a.height.baseVal.value:Eh(a).height};k.uj=function(a){this.resize(void 0,a)};
k.resize=function(a,b){if(void 0!==this.km)throw Error("ResizeObserver is turned on");this.Gr(a,b);void 0!==a&&(this.pa=a);void 0!==b&&(this.ka=b);this.ge.D(this)};k.Gr=function(a,b){void 0!==a&&(yh(this.displayObject(),a),yh(this.Za(),a));void 0!==b&&(zh(this.displayObject(),b),zh(this.Za(),b));void 0!==a&&void 0!==b&&this.Rg(a,b)};k.Rg=function(){};k.x=function(){return void 0!==this.Ka?this.Ka:sh(this.displayObject()).x};k.fi=function(a){this.Ka=a;this.displayObject().style.left=a+"px"};
k.y=function(){return void 0!==this.La?this.La:sh(this.displayObject()).y};k.Ef=function(a){this.La=a;this.displayObject().style.top=a+"px"};k.move=function(a,b){this.fi(a);this.Ef(b)};k.enabled=function(){return!this.Za().hasAttribute("disabled")};k.yb=function(a){void 0!==this.El&&this.Pr(a?this.El:-1);a?this.Za().removeAttribute("disabled"):this.Za().setAttribute("disabled","")};k.visible=function(){return"none"!=this.displayObject().style.display};k.xa=function(a){Dh(this.displayObject(),a)};
k.opacity=function(){return this.Ke};k.fh=function(a){G(this.displayObject(),"opacity",a);this.Ke=a};k.Ma=function(a){a=this.ri(a);this.displayObject().appendChild(a)};k.vD=function(a,b){a=this.ri(a);yd(this.displayObject(),a,b)};k.removeChild=function(a){a=this.ri(a);this.nE(a)&&this.displayObject().removeChild(a)};k.nE=function(a){return(a instanceof bt?a.displayObject():a).parentNode==this.displayObject()};k.lc=function(a){Fd(this.Za(),a)};k.xy=function(a){this.Ad("label",a)};
k.Yh=function(a){Array.isArray(a)&&(a=a.join(" "));ys(this.Ww?this.ul:this.M,a)};k.hl=function(a){this.Ad("hidden",a)};k.Ad=function(a,b){zs(this.Ww?this.ul:this.M,a,b)};k.GG=function(a){return rd("DIV",a)};function ct(a,b){return void 0===b?a:b instanceof Array?(b=Qa(b),b.push(a),b):[a,b]}k.lh=function(a,b){a=this.nP?Ds(this.nP,a):a;var c=this.M;b?Hm(c,a):Im(c,a);this.M!=this.ul&&(c=this.ul,b?Hm(c,a):Im(c,a))};k.Wt=function(){je(this.displayObject(),"keydown",this.qB,!1,this)};
k.qB=function(a){document.activeElement!=this.displayObject()||a.defaultPrevented||13!=a.keyCode&&32!=a.keyCode||(a.preventDefault(),this.Gj(null))};k.Pr=function(a){this.setAttribute("tabindex",a+"")};k.Re=function(){for(let a=0;a<this.Sb.length;++a){const b=this.Sb[a];b&&ve(b)}this.km&&this.km.disconnect()};k.ri=function(a){return a instanceof bt||a instanceof L?a.displayObject():a};function dt(a,b){bt.call(this,rd(b||"DIV",a))}v(dt,bt);function et(a){const b=new Map;ft(a,b);gt(a,b)}function gt(a,b){const c=a.attributes,d=c.length;for(let f=0;f<d;++f){const h=c.item(f);var e=h.value;e.match(/^url\("?#/)&&e.endsWith(")")&&(e=h.value.substring(e.indexOf("#")+1,e.search(/"\)|\)$/)),e=b.get(e),void 0!==e&&(h.value=`url(#${e})`))}for(const f of Ad(a))gt(f,b)}function ft(a,b){if(a.id&&!b.has(a.id)){const c=hd()+"-"+hd();b.set(a.id,c);a.id=c}for(const c of Ad(a))ft(c,b)};class ht{constructor(a,b){this.iu=a;b=b-a.width()-1;this.xl=new Kf(b,2,a.width(),a.height());this.Al=new dt("trial_banner");this.Al.hh(this.xl.width);this.Al.uj(this.xl.height);G(this.Al.displayObject(),"cursor","pointer");b=A("DIV");b.innerHTML=a.content();et(b);Hm(b,"banner-content");zs(b,"hidden",!0);this.Al.Za().appendChild(b);b=A("DIV");b.innerHTML=a.contentHover();et(b);Hm(b,"banner-content_hover");zs(b,"hidden",!0);this.Al.Za().appendChild(b);a.url()&&this.Al.za.addHandler((c,d)=>{d.stopPropagation();
c=this.iu.url();qi(c)},this);G(this.displayObject(),"z-index","1000")}la(){return this.xl}displayObject(){return this.Al.displayObject()}};function it(){this.yu=new D;this.mP=new D;this.XG=new D;this.VG=new D}k=it.prototype;k.Dn=!1;k.Cn=!1;k.Lw=null;k.zr=null;k.np=function(){return"drag"};k.Jx=function(a,b){if(1==b.touches().length){if("touchStart"==a)return this.Dn&&(this.Cn=this.Dn=!1),this.Cn=!1,1;if("touchMove"==a&&this.Cn)return 1}this.Dn&&(this.Cn=this.Dn=!1,this.VG.D(this.zr.x,this.zr.y));return 0};
k.ux=function(a){a=new Sc(a.touches()[0].clientX(),a.touches()[0].clientY());this.Cn?(a=Wc(a,this.Lw),Tc(a,this.zr)||(this.Dn||(this.Dn=!0,this.XG.D(this.Lw.x,this.Lw.y)),this.zr=a,this.yu.D(a.x,a.y))):(this.Cn=!0,this.Lw=a,this.zr=new Sc,this.mP.D())};k.Mk=function(){};function jt(){this.hT=new D;this.zo=new D;this.XK=new D;this.yu=new D;this.Tq=null;this.qC=!1}k=jt.prototype;k.Uq=-1;k.Tu=0;k.np=function(){return"scale"};k.Jx=function(a,b){a=2==b.touches().length;const c=!a&&0<this.Uq;a!=this.qC&&(this.qC||(kt(b),this.hT.D()),this.qC=a);return a||c?1:0};
k.ux=function(a){if(2==a.touches().length){var b=kt(a);if(this.Tq&&b){const c=Wc(b.eN,this.Tq.eN),d=Wc(b.XN,this.Tq.XN),e=0>c.x&&0>d.x||0<c.x&&0<d.x;(0>c.y&&0>d.y||0<c.y&&0<d.y||e)&&this.yu.D(Math.abs(c.x)<Math.abs(d.x)?c.x:d.x,Math.abs(c.y)<Math.abs(d.y)?c.y:d.y)}this.Tq=b;b=a.scale();void 0===b&&(b=a.touches()[0],a=a.touches()[1],a=Uc(new Sc(b.clientX(),b.clientY()),new Sc(a.clientX(),a.clientY())),this.Tu?b=a/this.Tu:(b=1,this.Tu=a));a=b;this.zo.D(a);this.Uq=a}else 0<this.Uq&&(this.XK.D(this.Uq),
this.Tq=null,this.Uq=-1,this.Tu=0)};function kt(a){a=a.touches();return 2!=a.length?null:{eN:new Sc(a[0].clientX(),a[0].clientY()),XN:new Sc(a[1].clientX(),a[1].clientY())}}k.Mk=function(){};function lt(){this.Mr=new D}k=lt.prototype;k.gs=null;k.hk=null;k.xm=!1;
k.Jx=function(a,b){if("touchEnd"==a)return this.xm&&this.gs&&this.hk?this.gM(this.hk,this.gs)?1:0:0;if(1!=b.touches().length||Wg(b.Lj))return this.xm=!1,0;const c=new Sc(b.touches()[0].screenX(),b.touches()[0].screenY());if("touchStart"==a){if(Xg(b.Lj))return this.xm=!1,0;this.gs=this.hk=c;this.xm=!0;return 0}if(!this.xm||!this.gs||!this.hk)return 0;(this.xm=this.gs==this.hk?this.hM(c,this.hk):this.iM(c,this.hk))&&b.Lj.preventDefault();this.hk=c;return 0};k.ux=function(){this.Mr.D()};k.Mk=function(){};
function mt(){this.Mr=new D}v(mt,lt);mt.prototype.np=function(){return"scrollLeft"};mt.prototype.iM=function(a,b){return a.x<=b.x};mt.prototype.hM=function(a,b){return b.x-a.x>=Math.abs(a.y-b.y)};mt.prototype.gM=function(a,b){const c=b.x-a.x;return 40<c&&.7*c>=Math.abs(a.y-b.y)};function nt(){this.Mr=new D}v(nt,lt);nt.prototype.np=function(){return"scrollRight"};nt.prototype.iM=function(a,b){return a.x>=b.x};nt.prototype.hM=function(a,b){return a.x-b.x>=Math.abs(a.y-b.y)};
nt.prototype.gM=function(a,b){const c=a.x-b.x;return 40<c&&.7*c>=Math.abs(a.y-b.y)};function ot(){xe.call(this);this.Ff=pt;this.endTime=this.startTime=null}v(ot,xe);var pt=0;ot.prototype.kt=function(){this.Nh("begin")};ot.prototype.Cp=function(){this.Nh("end")};ot.prototype.Nh=function(a){this.dispatchEvent(a)};function qt(a,b,c){Pd.call(this);this.xE=a;this.vp=b||0;this.lN=c;this.eV=va(this.AV,this)}v(qt,Pd);k=qt.prototype;k.Vs=0;k.yf=function(){qt.Ua.yf.call(this);this.stop();delete this.xE;delete this.lN};k.start=function(a){this.stop();this.Vs=Zg(this.eV,void 0!==a?a:this.vp)};k.stop=function(){this.isActive()&&ha.clearTimeout(this.Vs);this.Vs=0};k.isActive=function(){return 0!=this.Vs};k.AV=function(){this.Vs=0;this.xE&&this.xE.call(this.lN)};var kc={},rt=null;function st(a){a=ma(a);delete kc[a];jc()&&rt&&rt.stop()}function tt(){rt||(rt=new qt(function(){ut()},20));var a=rt;a.isActive()||a.start()}function ut(){var a=Date.now();cc(kc,function(b){vt(b,a)});jc()||tt()};function wt(a,b,c,d){ot.call(this);if(!Array.isArray(a)||!Array.isArray(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.Dt=a;this.DV=b;this.duration=c;this.yM=d;this.coords=[];this.progress=0}v(wt,ot);k=wt.prototype;
k.play=function(a){if(a||this.Ff==pt)this.progress=0,this.coords=this.Dt;else if(1==this.Ff)return!1;st(this);this.startTime=a=Date.now();-1==this.Ff&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.progress||this.kt();this.Nh("play");-1==this.Ff&&this.Nh("resume");this.Ff=1;var b=ma(this);b in kc||(kc[b]=this);tt();vt(this,a);return!0};k.stop=function(a){st(this);this.Ff=pt;a&&(this.progress=1);xt(this,this.progress);this.Nh("stop");this.Cp()};
k.pause=function(){1==this.Ff&&(st(this),this.Ff=-1,this.Nh("pause"))};k.vj=function(a){this.progress=a;1==this.Ff&&(this.startTime=Date.now()-this.duration*this.progress,this.endTime=this.startTime+this.duration)};k.yf=function(){this.Ff==pt||this.stop(!1);this.Nh("destroy");wt.Ua.yf.call(this)};k.destroy=function(){this.Re()};
function vt(a,b){b<a.startTime&&(a.endTime=b+a.endTime-a.startTime,a.startTime=b);a.progress=(b-a.startTime)/(a.endTime-a.startTime);1<a.progress&&(a.progress=1);xt(a,a.progress);1==a.progress?(a.Ff=pt,st(a),a.Nh("finish"),a.Cp()):1==a.Ff&&a.JE()}function xt(a,b){"function"===typeof a.yM&&(b=a.yM(b));a.coords=Array(a.Dt.length);for(var c=0;c<a.Dt.length;c++)a.coords[c]=(a.DV[c]-a.Dt[c])*b+a.Dt[c]}k.JE=function(){this.Nh("animate")};k.Nh=function(a){this.dispatchEvent(new yt(a,this))};
function yt(a,b){Td.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.state=b.Ff}v(yt,Td);function zt(a){return 1-Math.pow(1-a,3)};function At(a,b,c,d){var e=Number.MAX_VALUE;this.SG=a;this.Bg=b;this.hx=this.ud=c;this.gx=this.td=d;this.SQ=e;this.jb=new Sc;this.zo=new D;this.qT=[sm(b,"scrollLeft"),sm(b,"scrollRight")];a=new jt;a.zo.addHandler(this.pS,this);a.XK.addHandler(this.oS,this);this.ZK=a;a=new it;a.yu.addHandler(this.nS,this);a.XG.addHandler(this.mS,this);a.VG.addHandler(this.lS,this);this.WG=a}k=At.prototype;k.bL=!0;k.YK=!1;k.gG=1;k.Sj=1;k.Nw=-1;k.Dh=null;k.uq=null;k.Jj=null;
function Bt(a,b){b!=a.YK&&((a.YK=b)?(lm(a.Bg,a.ZK),lm(a.Bg,a.WG)):(rm(a.Bg,a.ZK),rm(a.Bg,a.WG)))}k.ya=function(){return this.Sj*this.gG};k.pS=function(a){0>this.Nw&&(Ct(this),this.Nw=this.Sj);Dt(this,Qc(this.Nw*a,1,4))};k.oS=function(){this.Nw=-1};k.nS=function(a,b){1<this.Sj&&window.event&&window.event.preventDefault();a=new Sc(a,b);this.uq.push({offset:a,time:Date.now()});this.ie(Xc(this.Dh,a))};k.mS=function(){Ct(this);this.uq=[];this.Dh=this.jb.clone()};
k.lS=function(){var a=this.uq.length;if(2<=a){var b=this.uq[a-2],c=this.uq[a-1];const d=c.time-b.time;0<d&&(a=(c.offset.x-b.offset.x)/d,b=(c.offset.y-b.offset.y)/d,c=Math.max(Math.abs(800*a),Math.abs(800*b)),this.Jj=new Et(this.jb,new Sc(this.jb.x+a*c/7,this.jb.y+b*c/7),c),je(this.Jj,"animate",this.vR,!1,this),je(this.Jj,"finish",this.uR,!1,this),this.Jj.play())}};k.vR=function(){this.ie(this.Jj.position())};k.uR=function(){Ct(this)};function Ct(a){a.Jj&&(a.Jj.Re(),a.Jj=null)}
function Dt(a,b){var c=(b-a.Sj)/a.Sj;a.Sj=b;b=a.jb.x;var d=a.jb.y;b-=(a.hx/2-b)*c;d-=(a.gx/2-d)*c;a.jb=Ft(a,new Sc(b,d));a.zo.D(a.ya(),a.jb.x,a.jb.y);c=1==a.Sj;if(a.bL!=c)for(a.bL=c,b=a.qT,d=0;d<b.length;++d){const e=b[d];e&&(c?lm(a.Bg,e):rm(a.Bg,e))}}k.ie=function(a){a=Ft(this,a);Tc(this.jb,a)||(this.zo.D(this.ya(),a.x,a.y),this.jb=a)};function Ft(a,b){function c(f,h,g){return h<=g?(g-h)/2:Qc(f,g-h,0)}const d=a.ya(),e=a.td*d;return new Sc(c(b.x,a.ud*d,a.hx),c(b.y,e,a.gx))}
function Et(a,b,c){wt.call(this,[a.x,a.y],[b.x,b.y],c,zt)}v(Et,wt);Et.prototype.position=function(){return new Sc(this.coords[0],this.coords[1])};function Gt(a,b){var c=c||bb;const d=[];for(let e=0,f=a.length;e<f;++e){const h=a[e];let g=!1;for(let l=0,n=b.length;l<n;++l)if(c(h,b[l])){g=!0;break}g||d.push(h)}return d};function Ht(a){return new It(a,b=>b.Wb().ub())}function Jt(a){return new It(a,b=>b.Db().ub())}function Kt(a,b,c){return Gt(a.vk[b]||[],a.vk[c]||[])}class It{constructor(a,b){this.vk=[];for(let e=0;e<a.count();++e){var c=a.R(e);const f=b(c);for(let h=0;h<f.length;++h){c=f[h];var d=e;const g=d+(0<c.Vf?c.Vf:0);for(;d<=g;++d)this.vk[d]||(this.vk[d]=[]),this.vk[d].push(c)}}}};function Lt(a){a.OH();a.RH();a.SH();a.MH();a.NH();a.PH()}function Mt(a){const b=new km(a.Hb,[new mt,new nt]);B(a,sm(b,"scrollLeft").Mr,()=>{var c=a.Bc.$m();c.sc()&&c.xu(c.CT)&&c.J.settings().navigation().Th().enabled()&&c.B.W().Bs()&&Nt(c)});B(a,sm(b,"scrollRight").Mr,()=>{var c=a.Bc.$m();c.sc()&&c.xu(c.DT)&&c.J.settings().navigation().Th().enabled()&&c.B.W().Bs()&&c.Li.zf()});mm(b);if(dj){const c=new tm;B(a,c.ns,a.rR,a);B(a,c.UG,a.qR,a);lm(b,c)}return b}
function Ot(a){var b=Ad(a.yc.displayObject());if(b.length)for(const c of b)Gm(c,"framesLayerContent")&&(b=c,b.setAttribute("data-width",a.pa),b.setAttribute("data-height",a.ka))}function Pt(a){var b=a.B;-1!=b.qa()&&(b=b.hc().view(),b instanceof Rp&&b.Pa().setParentScale(a.ya),Ti||(b instanceof Np?b.Ca().resize(a.pa,a.ka):b instanceof Jp&&b.$a().resize(a.pa,a.ka)))}function Qt(a,b,c){for(let d=0;d<b.length;++d){const e=a.Bc.qc.Ph(b[d]);e&&Rt(e,c)}}
function St(a,b){for(let c=0;c<b.length;++c){const d=b[c],e=a.Bc.qc.Ph(d);e&&e.mj(d.ff.xf())}}function Tt(a,b){for(let c=0;c<b.length;++c){const d=a.Bc.qc.Ph(b[c]);d&&d.mj(!1)}}function Ut(a){a.Gg||a.fv?nm(a.Bg):mm(a.Bg)}function au(a){var b=!1;const c=0<=a.B.qa();"none"!=a.uc.style.display&&c&&(b=a.B.W(),b=a.J.settings().navigation().mp().OF()&&"slide"==b.type());Bt(a.nD,b)}
function bu(a){if("idle"==a.vc.state()){var b=a.B;b=0<=b.qa()?b.W():null;var c=b instanceof Kp,d=b instanceof Sp;b instanceof tq||c||d||!ki&&Ib&&w(od("IMG",null,a.uc),e=>{null!=e.id&&0<e.id.length||(e.id="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,n=>{let m=16*Math.random()|0;return("x"==n?m:m&3|8).toString(16)}));let f;if(hc(a.yA,e.id)){var h=z(a.yA,e.id);f=h.transform.clone();var g=h.origin.clone();var l=h.width;h=h.height}else f=Nm(e),null===f&&(f=new Dl),g=Om(e),null===g&&(g=new Sc),
di(e,g.x+"px "+g.y+"px"),l=parseFloat(e.getAttribute("width")),h=parseFloat(e.getAttribute("height")),lc(a.yA,e.id,{transform:f.clone(),origin:g.clone(),width:l,height:h});h*=a.ya;yh(e,l*a.ya);zh(e,h);l=1/a.ya;h=1/a.ya;g=Wc(new Sc,g);g=new Dl(l,0,0,h,g.x-l*g.x,g.y-h*g.y);Jm(e,El(f,g))},a)}}function cu(a){a.Be&&(zd(a.Be),a.Be=null)}
class du extends og{constructor({oe:a,SW:b,Ux:c,Hy:d,il:e,Qk:f,P:h,Dy:g,ua:l,UX:n}){super();this.J=a;this.Bc=b;this.Hb=c;this.Mg=d;this.uc=e;this.yc=f;this.gd=h;this.pm=g;Lt(this);this.pa=a.slideWidth();this.ka=a.slideHeight();this.ya=1;this.Bg=Mt(this);const {width:m,height:p}=this.Oe();b=new At(this.Hb,this.Bg,m,p);Bt(b,!1);B(this,b.zo,this.iT,this);this.nD=b;this.ww=ng(this);this.fd=null;this.fv=!1;this.B=l;this.vc=n;this.yA={};this.Gg=!1;this.Be=null;a=a.slides();this.wk=Ht(a)}width(){return this.pa}height(){return this.ka}scale(){return this.ya}resize(a,
b){this.pa=a;this.ka=b;xh(this.Hb,a,b);var c=this.nD;c.jb=Ft(c,Xc(c.jb,new Sc((a-c.hx)/2,(b-c.gx)/2)));c.hx=a;c.gx=b;c.gG=Math.min(a/c.ud,b/c.td,c.SQ);Dt(c,c.Sj);Ot(this);Pt(this)}HN(a){var b=this.B,c=this.fd?this.fd.index():-1;const d=b.qa();this.fd=0<=d?b.W():null;b=this.fd instanceof tq;const e=this.fd instanceof Kp,f=this.fd instanceof Sp;this.fv=(this.yc.SI=b)||e||f;this.Mg.style.opacity=this.fv?"0":"";this.wm();a&&G(a.displayObject(),"display",f?"none":"");a=Kt(this.wk,c,d);c=Kt(this.wk,d,c);
Qt(this,a,!1);Qt(this,c,!0);this.Gg&&(St(this,a),Tt(this,c));Ot(this);Ut(this)}CM(a){Dt(this.nD,1);au(this);Pt(this);bu(this);var b=this.B;-1!=b.qa()&&void 0!==a&&(b=(b=b.hc())&&b.view(),b instanceof Np?b.Ca().setBannerView(a.displayObject()):b instanceof Jp?b.$a().setBannerView(a.displayObject()):b instanceof Rp&&b.Pa().setBannerView(a.displayObject()))}setOverlayDisplayed(a){if(this.Gg!=a){this.Gg=a;if(this.fd){var b=this.fd.index();b=this.wk.vk[b]||[];a?Tt(this,b):St(this,b);(b=this.B.Ca())&&b.setOverlayDisplayed(a)}Ut(this)}}Lx(a){this.uc.style.display=
"";this.Mg.style.display="";eu(a);au(this)}Qx(){return this.fv}OH(){const a=this.Hb;a.setAttribute("role","main");a.setAttribute("aria-live","polite");a.style.overflow="hidden";xh(a,this.Oe().width,this.Oe().height);Pg&&(a.style["-webkit-text-size-adjust"]="none")}RH(){const a=this.Mg;Dd(a)||yd(this.Hb,this.Mg,0);a.style.display="none";const {width:b,height:c}=this.Oe();xh(a,b-2,c-2);qh(a,1,1)}SH(){const a=this.uc;a.removeAttribute("class");a.style.overflow="hidden";a.style.position="absolute";xh(a,
this.Oe().width,this.Oe().height);di(a,"0 0")}MH(){const a=this.yc.displayObject();G(a,"z-index","2");Dd(a)||this.Hb.appendChild(a)}NH(){Dd(this.gd)||this.uc.appendChild(this.gd)}PH(){Im(this.pm,"slide-displays-parent")}qR(a,b,c){a=c.target;a instanceof HTMLVideoElement&&a.controls?c.stopPropagation():Ed(this.uc,a)&&(c.preventDefault(),c=this.Bc.$m(),c.xu(c.BT))}rR(a,b,c){ri(c.target)||(a=c.target,a instanceof HTMLVideoElement&&a.controls?c.stopPropagation():Ed(this.uc,a)&&(c.preventDefault(),Ip(this.Bc.$m(),
this,c)))}iT(a,b,c){b=Math.round(b);c=Math.round(c);var d=this.J.slideWidth(),e=this.J.slideHeight();d*=a;e*=a;const f=this.ya!=a;f&&(this.ya=a,Qm(this.uc,a),fu(this.Bc.qc,this.ya),Pt(this),bu(this),xh(this.Mg,d-2,e-2));qh(this.uc,b,c);qh(this.Mg,b+1,c+1);this.ww.D(d,e,b,c);f&&ki&&Rm(this.Hb)}Oe(){return new Yc(this.J.slideWidth(),this.J.slideHeight())}wm(){cu(this);0<=this.B.qa()&&(this.eD()||this.cD()||this.fD())}eD(){if(this.B.W()instanceof tq){const a=this.B.Ca();a.setOverlayDisplayed(this.Gg);
Ti||(this.Be=a.skin().displayObject(),this.Hb.appendChild(this.Be));return!0}return!1}cD(){if(this.B.W()instanceof Kp){const a=this.B.$a();a.setOverlayDisplayed(this.Gg);Ti||(this.Be=a.displayObject(),this.Hb.appendChild(this.Be));return!0}return!1}fD(){this.B.W()instanceof Sp&&this.B.Pa().setOverlayDisplayed(this.Gg)}Fd(){super.Fd();nm(this.Bg);cu(this)}};class gu extends og{constructor({oe:a,ua:b,Ux:c,Hy:d,il:e,Qk:f,P:h,Dy:g}){super();this.J=a;this.B=b;this.Hb=c;this.Mg=d;this.uc=e;this.yc=f;this.gd=h;this.pm=g;this.ww=ng(this);this.Be=null;Lt(this);B(this,this.B.aE(),this.wm,this)}width(){return 0}height(){return 0}scale(){return 1}resize(){}HN(a){a&&G(a.displayObject(),"display","");this.wm();this.ww.D()}CM(){}setOverlayDisplayed(){}Lx(){Dh(this.uc,!0)}Qx(){return!1}OH(){this.Hb.removeAttribute("role");this.Hb.removeAttribute("aria-live");this.Hb.removeAttribute("style")}RH(){zd(this.Mg)}SH(){this.uc.removeAttribute("style");
Hm(this.uc,"slides-container")}MH(){zd(this.yc.displayObject())}NH(){zd(this.gd)}PH(){Hm(this.pm,"slide-displays-parent")}wm(){cu(this);0<=this.B.qa()&&(this.eD()||this.cD()||this.fD())}eD(){return this.B.W()instanceof tq?(this.Be=this.B.Ca().skin().displayObject(),this.Hb.appendChild(this.Be),!0):!1}cD(){return this.B.W()instanceof Kp?(this.Be=this.B.$a().displayObject(),this.Hb.appendChild(this.Be),!0):!1}fD(){this.B.W()instanceof Sp&&(this.Be=this.B.Pa().displayObject(),this.Hb.appendChild(this.Be))}Fd(){super.Fd();
cu(this)}};class hu{constructor(a){this.wg=a}create(a){switch(a){case "normal":return new du(this.wg);case "accessible":return new gu({oe:this.wg.oe,ua:this.wg.ua,Ux:this.wg.Ux,Hy:this.wg.Hy,il:this.wg.il,Qk:this.wg.Qk,P:this.wg.P,Dy:this.wg.Dy});default:throw Error("unknown presentation view mode");}}};var iu={g1:"switchToNextSlide",i1:"switchToPreviousSlide",tY:"arbitrarySlideSwitching",O0:"slideShowControl",h1:"switchToNextStep",j1:"switchToPreviousStep",E_:"playPauseControl",N_:"presentationSeeking",N0:"slideSeeking",$_:"quizSwitchToNextSlide",a0:"quizSwitchToNextSlideWithoutBranching",X_:"quizArbitrarySlideSwitching",x0:"scenarioSwitchToNextSlide",y0:"scenarioSwitchToNextSlideWithoutBranching",u0:"ScenarioArbitrarySlideSwitching"};
r("ispring.presenter.player.restriction.NavigationActionType",iu);function ju(){return"switchToNextSlide switchToPreviousSlide arbitrarySlideSwitching slideShowControl switchToNextStep switchToPreviousStep playPauseControl presentationSeeking slideSeeking".split(" ")}iu.all=ju;r("SWITCH_TO_NEXT_SLIDE","switchToNextSlide",iu);r("SWITCH_TO_PREVIOUS_SLIDE","switchToPreviousSlide",iu);r("ARBITRARY_SLIDE_SWITCHING","arbitrarySlideSwitching",iu);r("SLIDE_SHOW_CONTROL","slideShowControl",iu);
r("SWITCH_TO_NEXT_STEP","switchToNextStep",iu);r("SWITCH_TO_PREVIOUS_STEP","switchToPreviousStep",iu);r("PLAY_PAUSE_CONTROL","playPauseControl",iu);r("PRESENTATION_SEEKING","presentationSeeking",iu);r("SLIDE_SEEKING","slideSeeking",iu);class ku{constructor(a,b){this.Z=a;this.TS=b}type(){return this.Z}my(){return this.TS}}ku.prototype.relatedSlideIndex=ku.prototype.my;ku.prototype.type=ku.prototype.type;class lu{constructor(a,b,c,d,e,f){this.fR=a;this.aT=b;this.$S=c;this.Kb=null!=d?d:null;this.Tc=e||null;this.Ho=f||null}zN(){return this.fR}qy(){return this.aT}cF(){return this.$S}my(){return this.Kb}mX(){return this.Tc}lX(){return this.Ho}}lu.prototype.relatedSlideShow=lu.prototype.lX;lu.prototype.relatedTimestamp=lu.prototype.mX;lu.prototype.relatedSlideIndex=lu.prototype.my;lu.prototype.restrictionReason=lu.prototype.cF;lu.prototype.restrictionSource=lu.prototype.qy;
lu.prototype.navigationAction=lu.prototype.zN;var mu={bZ:"currentSlideIsLocked",cZ:"currentSlideIsNotCompleted",ZY:"currentSlideIsFirstSlide",aZ:"currentSlideIsLastSlide",$Y:"currentSlideIsInteraction",wY:"backwardNavigationIsRestricted",EZ:"forwardNavigationIsRestricted",O_:"presentationSeekingDisabled",XZ:"interactionNotCompleted",H_:"precedingQuizNotPassed",G_:"precedingQuizNotCompleted",F_:"precedingQuizFailed",J_:"precedingScenarioNotCompleted",K_:"precedingScenarioNotPassed",I_:"precedingScenarioFailed"};
r("ispring.presenter.player.restriction.NavigationRestrictionReasonType",mu);r("CURRENT_SLIDE_IS_LOCKED","currentSlideIsLocked",mu);r("CURRENT_SLIDE_IS_NOT_COMPLETED","currentSlideIsNotCompleted",mu);r("CURRENT_SLIDE_IS_LAST_SLIDE","currentSlideIsLastSlide",mu);r("CURRENT_SLIDE_IS_FIRST_SLIDE","currentSlideIsFirstSlide",mu);r("BACKWARD_NAVIGATION_IS_RESTRICTED","backwardNavigationIsRestricted",mu);r("FORWARD_NAVIGATION_IS_RESTRICTED","forwardNavigationIsRestricted",mu);
r("PRESENTATION_SEEKING_DISABLED","presentationSeekingDisabled",mu);r("PRECEDING_QUIZ_NOT_PASSED","precedingQuizNotPassed",mu);r("PRECEDING_QUIZ_NOT_COMPLETED","precedingQuizNotCompleted",mu);r("PRECEDING_QUIZ_FAILED","precedingQuizFailed",mu);r("PRECEDING_SCENARIO_NOT_COMPLETED","precedingScenarioNotCompleted",mu);r("PRECEDING_SCENARIO_FAILED","precedingScenarioFailed",mu);r("PRECEDING_SCENARIO_NOT_PASSED","precedingScenarioNotPassed",mu);var nu={M_:"presentationNavigationType",M0:"slideNavigationSettings",Y_:"quizNavigationSettings",v0:"scenarioNavigationSettings",L_:"presentationFlow"};r("ispring.presenter.player.restriction.NavigationRestrictionSource",nu);r("PRESENTATION_NAVIGATION_TYPE","presentationNavigationType",nu);r("SLIDE_NAVIGATION_SETTINGS","slideNavigationSettings",nu);r("PRESENTATION_FLOW","presentationFlow",nu);function N(a,b){this.B=a;this.J=b;this.MI=new D}N.prototype.Wc=function(a){return this.B.Wc(a)};
N.prototype.jj=function(a,b,c,d){const e={};var f;a:{if(ou(this,a)){if((f=-1==this.B.Rd())&&!(f=this.W().wf().pj())&&(f=!this.J.settings().Ob().Sh())){var h=this.B,g=h.K.timestamp();f=g.fa();g=g.va();h=h.Qb.Aa();f=f==h.count()-1?h.ob(f):null;f=null!==f&&g>=f.duration()}if(f){f=new ku("currentSlideIsLastSlide");break a}}else if(pu(this,a)&&-1==this.B.Td()&&(f=this.B.U().timestamp(),0==f.fa()&&0==f.va()||this.W().wf().Ep())){f=new ku("currentSlideIsFirstSlide");break a}f=null}e.presentationFlow=f;"quizSwitchToNextSlide"!=
a&&"quizSwitchToNextSlideWithoutBranching"!=a&&"scenarioSwitchToNextSlide"!=a&&"scenarioSwitchToNextSlideWithoutBranching"!=a&&(e.presentationNavigationType=qu(this,a,b));f="quizSwitchToNextSlideWithoutBranching"==a||"scenarioSwitchToNextSlideWithoutBranching"==a?Mr(this.B):this.B.Rd();e.quizNavigationSettings=ru(this,a,b,f);e.scenarioNavigationSettings=su(this,a,b,f);f="playPauseControl"!=a||ou(this,a)?(f=0<=this.B.qa()?this.B.W():null)?f.Jm().AN(a)?null:new ku("currentSlideIsLocked"):null:null;
e.slideNavigationSettings=f;g=f=null;for(const l in e)e.hasOwnProperty(l)&&(h=e[l])&&(f=l,g=h);return null!==f?new lu(a,f,g,b,c,d):null};N.prototype.checkNavigationRestriction=N.prototype.jj;
function qu(a,b,c){const d=a.B,e=a.J.settings().navigation().navigationType(),f=0<=d.qa()?d.W():null;if(!f)return null;{const l=a.B;var h=0<=l.qa()?l.W():null;if(h){var g=a.J.slides();switch(b){case "arbitrarySlideSwitching":h=g.R(c);break;case "switchToNextSlide":case "switchToNextStep":case "playPauseControl":ou(a,b)&&(c=l.Rd(),0<=c?h=g.R(c):(c=!!a.W().wf().pj(),a.J.settings().Ob().Sh()&&!c&&(h=g.R(a.Se()))));break;case "switchToPreviousSlide":case "switchToPreviousStep":pu(a,b)&&(a=l.Td(),0<=a&&
(h=g.R(a)));break;case "presentationSeeking":h=null}g=h}else g=null}if(g==f)return null;if(!g)return"presentationSeeking"==b&&"free"!=e?new ku("presentationSeekingDisabled"):null;switch(e){case "restricted":if(g.Py())break;if(g.index()!=d.Rd()&&g.index()!=d.Td())return new ku("forwardNavigationIsRestricted");if("slide"==f.type()&&!f.completed())return new ku("currentSlideIsNotCompleted");break;case "sequential":if(g.index()!=d.Rd()&&(0!=g.index()||"switchToNextSlide"!=b))return g.Py()?new ku("backwardNavigationIsRestricted"):
new ku("forwardNavigationIsRestricted");if("slide"==f.type()&&!f.completed())return new ku("currentSlideIsNotCompleted")}return null}
function ru(a,b,c,d){ou(a,b)?c=d:pu(a,b)&&(c=a.Td());if(void 0===c)return null;d=a.B.hc().view();if((d instanceof Np||d instanceof Jp)&&!d.Lp()&&c!=a.B.qa())return new ku("interactionNotCompleted");if(!(0<a.B.Rc.length))for(d=0;d<c;++d){var e=a.J.slides().R(d);if(e.visible()&&e instanceof tq)if("afterAttempt"==e.Xi){if(e=tu(a,e),!e||!(1<e.fM||Hg(e)))return new ku("precedingQuizNotCompleted",d)}else if("afterPassing"==e.Xi&&!a.pw(e))return(a=(a=tu(a,e))?"graded"==a.qw&&Hg(a)?a.allowRetakeQuiz():!0:
!1)?new ku("precedingQuizNotPassed",d):new ku("precedingQuizFailed",d)}return"quizSwitchToNextSlideWithoutBranching"!=b&&"quizSwitchToNextSlide"!=b||a.J.settings().Ob().Sh()||a.qa()!=a.Rh()?null:new ku("currentSlideIsLastSlide")}
function su(a,b,c,d){ou(a,b)?c=d:pu(a,b)&&(c=a.Td());if(void 0===c)return null;d=a.B.hc().view();if(d instanceof Rp&&!d.Lp()&&c!=a.B.qa())return new ku("interactionNotCompleted");if(!(0<a.B.Rc.length))for(d=0;d<c;++d){var e=a.J.slides().R(d);if(e.visible()&&e instanceof Sp)if("afterAttempt"==e.Xi){if(e=uu(a,e),!e||!e.Lf)return new ku("precedingScenarioNotCompleted",d)}else{var f;if(f="afterPassing"==e.Xi)f=uu(a,e),f=!(f&&f.scenarioPassed());if(f)return((a=uu(a,e))?a.oG:1)?new ku("precedingScenarioNotPassed",
d):new ku("precedingScenarioFailed",d)}}return"scenarioSwitchToNextSlideWithoutBranching"!=b&&"scenarioSwitchToNextSlide"!=b||a.J.settings().Ob().Sh()||a.qa()!=a.Rh()?null:new ku("currentSlideIsLastSlide")}function tu(a,b){return(a=a.B.Wc(b.index()))&&a.Br?(b=a.Ca(),Fg(b)):b.Xv}function uu(a,b){return(a=a.B.Wc(b.index()))&&a.Lr?(b=a.Pa(),Qp(b)):b.Zv}N.prototype.pw=function(a){return(a=tu(this,a))?Gg(a):!1};
function ou(a,b){var c=0<=a.B.qa()?a.B.W():null;if(!c)return!1;const d=a.B.U().timestamp(),e=c.Aa();c=e.count()-1==d.fa();switch(b){case "switchToNextSlide":case "quizSwitchToNextSlide":case "quizSwitchToNextSlideWithoutBranching":case "scenarioSwitchToNextSlide":case "scenarioSwitchToNextSlideWithoutBranching":return!0;case "switchToNextStep":return a=e.ob(e.count()-1),c&&(a.Ug()||a.duration()<=d.va());case "playPauseControl":return c&&Ir(a.B)}return!1}
function pu(a,b){if(!(0<=a.B.qa()&&a.B.W()))return!1;switch(b){case "switchToPreviousSlide":return!0;case "switchToPreviousStep":return a=a.B.U().timestamp(),0==a.fa()&&.01>=a.va()}return!1}function vu(a,b,c,d){return(b=a.jj(b,c,d,null))?(a.MI.D(b),!1):!0}N.prototype.play=function(){vu(this,"playPauseControl",this.B.qa(),null)&&this.B.play()};N.prototype.play=N.prototype.play;N.prototype.pause=function(){vu(this,"playPauseControl",this.B.qa(),null)&&this.B.pause()};N.prototype.pause=N.prototype.pause;
N.prototype.Yc=function(a,b){vu(this,"arbitrarySlideSwitching",a,null)&&this.B.Yc(a,b)};N.prototype.gotoSlide=N.prototype.Yc;N.prototype.qp=function(a){const b=this.B.Sx();-1!=b&&vu(this,"arbitrarySlideSwitching",b,null)&&this.B.qp(a)};N.prototype.gotoLastSlideViewed=N.prototype.qp;N.prototype.Sk=function(a){vu(this,"arbitrarySlideSwitching",this.B.Se(),null)&&this.B.Sk(a)};N.prototype.gotoFirstSlide=N.prototype.Sk;N.prototype.Tk=function(a){vu(this,"arbitrarySlideSwitching",this.B.Rh(),null)&&this.B.Tk(a)};
N.prototype.gotoLastSlide=N.prototype.Tk;N.prototype.Xc=function(a){vu(this,"switchToNextSlide",this.B.Rd(),null)&&this.B.Xc(a)};N.prototype.gotoNextSlide=N.prototype.Xc;N.prototype.zf=function(a){vu(this,"switchToPreviousSlide",this.B.Td(),null)&&this.B.zf(a)};N.prototype.gotoPreviousSlide=N.prototype.zf;N.prototype.Uk=function(){vu(this,"switchToNextStep",this.B.qa(),null)&&this.B.Uk()};N.prototype.gotoNextStep=N.prototype.Uk;
N.prototype.rp=function(){vu(this,"switchToPreviousStep",this.B.qa(),null)&&this.B.rp()};N.prototype.gotoPreviousStep=N.prototype.rp;N.prototype.Vk=function(a,b,c,d){vu(this,a==this.B.qa()?"slideSeeking":"presentationSeeking",a,new Ve(a,b,c))&&this.B.Vk(a,b,c,d)};N.prototype.gotoTimestamp=N.prototype.Vk;N.prototype.Se=function(){return this.B.Se()};N.prototype.firstSlideIndex=N.prototype.Se;N.prototype.Rh=function(){return this.B.Rh()};N.prototype.lastSlideIndex=N.prototype.Rh;N.prototype.Rd=function(){return this.B.Rd()};
N.prototype.nextSlideIndex=N.prototype.Rd;N.prototype.Td=function(){return this.B.Td()};N.prototype.previousSlideIndex=N.prototype.Td;N.prototype.qa=function(){return this.B.qa()};N.prototype.currentSlideIndex=N.prototype.qa;N.prototype.W=function(){return this.B.W()};N.prototype.currentSlide=N.prototype.W;N.prototype.playbackState=function(){return this.B.playbackState()};N.prototype.playbackState=N.prototype.playbackState;N.prototype.U=function(){return this.B.U()};N.prototype.clock=N.prototype.U;
N.prototype.qg=function(){return this.B.qg()};N.prototype.slideChangeEvent=N.prototype.qg;N.prototype.Np=function(){return this.B.Np()};N.prototype.stepChangeEvent=N.prototype.Np;N.prototype.wF=function(){return this.B.wF()};N.prototype.Rp=function(){return this.B.Rp()};N.prototype.aE=function(){return this.B.aE()};N.prototype.rj=function(){return this.B.rj()};N.prototype.playbackCompleteEvent=N.prototype.rj;N.prototype.DE=function(){return this.MI};N.prototype.navigationRestrictedEvent=N.prototype.DE;
N.prototype.QE=function(){return this.B.QE()};N.prototype.hc=function(){return this.B.hc()};N.prototype.Ca=function(){return this.B.Ca()};N.prototype.quizPlayer=N.prototype.Ca;N.prototype.Pa=function(){return this.B.Pa()};N.prototype.scenarioPlayer=N.prototype.Pa;N.prototype.$a=function(){return this.B.$a()};N.prototype.Bt=function(){return this.B.Bt()};N.prototype.slideTransitionController=N.prototype.Bt;k=N.prototype;k.yp=function(){return this.B.yp()};k.zF=function(a,b){this.B.zF(a,b)};k.Et=function(a){this.B.Et(a)};
k.VD=function(){this.B.VD()};k.TE=function(){return this.B.TE()};function eu(a){a.on.forEach(b=>b.displayObject().style.display="")}function wu(a,b){a.on.push(b);b=b.displayObject();di(b,"0 0");yd(a.ha.displayObject(),b,0)}function xu(a){a.on.forEach(b=>b.displayObject().style.display="none")}function yu(a,b){a.on.forEach(c=>yd(b,c.displayObject(),0))}function zu(a,b){a.on.forEach(c=>b(c))}
class Au extends og{constructor(a){super();this.ha=a;this.on=[];B(this,this.ha.$g(),this.RR,this)}RR(a,b,c,d){for(const f of this.on){a=f;b=c;var e=d;const h=a.displayObject(),g=this.ha.scale();Qm(h,g);const [l,n]="accessible"==this.ha.Da?[0,0]:[b+g*a.la().left,e+g*a.la().top];qh(h,l,n)}}};class Bu extends ht{constructor(a,b){var c=a.content(),d=RegExp('<lineargradient.*?id="(.*?)".*?/lineargradient>',"gi");const e=[];for(var f=d.exec(c);f;)e.push(f[1]),f=d.exec(c);for(d=0;d<e.length;++d)f=e[d],c=c.replace(new RegExp(f,"g"),"quiz_"+f);a=new Bq({content:c,contentHover:a.contentHover(),url:a.url(),width:a.width(),height:a.height(),Sp:a.Sp(),language:a.language(),$o:a.$o(),Zo:a.Zo(),fp:a.fp(),gp:a.gp()});super(a,b)}};class Cu{constructor(a){this.Yi=a;a=A("img");a.src=this.Yi.src();I(a,this.Yi.opacity());G(a,"z-index","1");this.Yi.url()&&(G(a,"cursor","pointer"),je(a,"click",this.tS,!1,this));this.SG=a}la(){return this.Yi.la()}displayObject(){return this.SG}tS(a){a.stopPropagation();qi(this.Yi.url(),this.Yi.target())}};function Du(){var a=-1,b,c,d;void 0==a&&(a=0);void 0==b&&(b=0);void 0==c&&(c=0);void 0==d&&(d="stopped");this.Tc=new Ve(a,b,c);this.Ea=d;this.un=[];this.Lo=[];this.Ck=new D;this.Mw=new D;this.Ow=new D;this.yk=new D;this.qz=new D;this.rz=new D}Du.prototype.Si=!1;Du.prototype.tw=!1;Du.prototype.Ti=!1;Du.prototype.timestamp=function(){return this.Tc};Du.prototype.timestamp=Du.prototype.timestamp;Du.prototype.started=function(){return this.Si};Du.prototype.started=Du.prototype.started;
Du.prototype.qe=function(){return this.Si&&!Eu(this)};Du.prototype.running=Du.prototype.qe;Du.prototype.state=function(){return this.Ea};Du.prototype.state=Du.prototype.state;Du.prototype.suspended=function(){return this.Ti};Du.prototype.suspended=Du.prototype.suspended;Du.prototype.$b=function(){return this.Mc()||this.fg()};Du.prototype.buffering=Du.prototype.$b;Du.prototype.U=function(){return this};Du.prototype.clock=Du.prototype.U;function ks(a,b){a.Ti!=b&&(a.Ti=b,Fu(a))}
Du.prototype.start=function(a){void 0===a&&(a=!1);this.Si&&this.tw==a?ks(this,!1):(this.tw=a,this.Si=!0,this.Ti=!1,Fu(this),this.Mw.D(this))};Du.prototype.stop=function(){this.Si&&(this.Si=this.tw=!1,Fu(this),this.Ow.D(this))};Du.prototype.Ze=function(a,b,c,d){this.Tc=new Ve(a,b,c);this.Ck.D(this,!!d)};function is(a,b,c){const d=a.$b(),e=a.un.indexOf(c);b?0>e&&a.un.push(c):0<=e&&a.un.splice(e,1);Fu(a);a.$b()!=d&&a.qz.D(a);a.rz.D(a)}
function Gu(a,b,c){const d=a.$b(),e=a.Lo.indexOf(c);b?0>e&&a.Lo.push(c):0<=e&&a.Lo.splice(e,1);Fu(a);a.$b()!=d&&a.qz.D(a);a.rz.D(a)}Du.prototype.Bb=function(){return this.Ck};Du.prototype.tickEvent=Du.prototype.Bb;Du.prototype.ih=function(){return this.Mw};Du.prototype.startEvent=Du.prototype.ih;Du.prototype.ll=function(){return this.Ow};Du.prototype.stopEvent=Du.prototype.ll;Du.prototype.Ab=function(){return this.yk};Du.prototype.stateChangeEvent=Du.prototype.Ab;Du.prototype.GD=function(){return this.qz};
Du.prototype.bufferStateChangeEvent=Du.prototype.GD;Du.prototype.HD=function(){return this.rz};Du.prototype.bufferedObjectChangeEvent=Du.prototype.HD;function Eu(a,b){return a.Ti||a.Mc(b)||a.fg(b)}function Fu(a){let b="stopped";a.Si&&(b=a.Ti?"suspended":a.$b()?"buffering":a.tw?"rewinding":"started");a.Ea!=b&&(a.Ea=b,a.yk.D(a))}Du.prototype.Mc=function(a){return 1<this.un.length||1==this.un.length&&this.un[0]!=a};Du.prototype.fg=function(a){return 1<this.Lo.length||1==this.Lo.length&&this.Lo[0]!=a};class Hu extends iq{constructor(a,b,c,d,e,f,h){super(a,b,c,d,e,f);this.ff=f;f.$a()?f.$a().setViewMode(h):He(this,f.ZH,g=>{g.setViewMode(h)})}$a(){return this.ff.$a()}Um(a){this.slide().style.opacity=""+(a?1:0)}};class Iu extends iq{constructor(a,b,c,d,e,f,h){super(a,b,c,d,e,f);this.ff=f;this.gC=null;f.Ca()?this.Qr(h):He(this,f.yK,()=>this.Qr(h))}Ca(){return this.ff.Ca()}Um(a){this.slide().style.opacity=""+(a?1:0)}Qr(a){const b=this.ff.Ca();b.onPresentationViewModeChanged(a);this.gC=b.skin().displayObject();this.Ja.appendChild(this.gC);this.Dw.innerHTML=this.Ja.innerHTML;Dh(this.Pi,"normal"==a)}Fd(){super.Fd();zd(this.gC)}};class Ju extends og{constructor(a){super();this.ga=a;this.Ea=0;this.Lg=ng(this);this.$p=this.Pi=this.Ja=null}slide(){return this.ga}Wk(a,b,c){this.Ja=a;this.Pi=b;this.$p=c;this.Ea=2;this.Lg.D(this)}slideBackground(){return this.Pi}Pd(){return 2==this.Ea}state(){return this.Ea}};class Ku extends Ju{constructor(a){super(a);this.Oc=null;this.$K=ng(this)}Pa(){return this.Oc}pF(a){this.Oc=a;this.$K.D()}};class Lu extends iq{constructor(a,b,c,d,e,f,h){super(a,b,c,d,e,f);this.ff=f;f.Oc?this.Qr(h):He(this,f.$K,()=>this.Qr(h))}Pa(){return this.ff.Pa()}Um(a){this.slide().style.opacity=""+(a?1:0)}Qr(a){this.ff.Pa().setViewMode(a);this.Dw.innerHTML=this.Ja.innerHTML;Dh(this.Pi,"normal"==a)}};function ws(a,b){const c=a.L.R(b);b=a.lb.Fb[b];if(c instanceof Wl){b.$k();b.Um(!1);var d=new jn({content:b.Kg,mode:a.lb.Da,Qy:c.Qy(),Ht:c.Ht()});d=new Hp(c,d,a.ia,a.rc)}else if(c instanceof tq){if(!b.Ca())return null;d=new Np({content:b.Kg,mode:a.lb.Da,Ca:b.Ca(),Ds:c.Ds()});d=new Op(c,d,a.ia)}else if(c instanceof Kp){if(!b.$a())return null;d=new Jp({content:b.Kg,mode:a.lb.Da,$a:b.$a(),Cs:c.Cs()});d=new Lp(c,d,a.ia)}else if(c instanceof Sp){if(!b.Pa())return null;d=new Rp({content:b.Kg,mode:a.lb.Da,
Pa:b.Pa(),Es:c.Es()});d=new Tp(c,d,a.ia)}return d}class Mu{constructor(a,b,c,d){this.ia=c;this.L=b;this.lb=a;this.rc=d}};class ms{constructor(a,b,c,d,e,f,h,g){this.Vl=[];this.Tl=[];this.fo=!1;this.ud=a;this.td=b;this.Nq=c;this.Jd=d;this.Ld=e||null;this.gd=f;this.Au=h;this.LU=g}Yp(){return this.LU}slideWidth(){return this.ud}slideHeight(){return this.td}N(){return this.Nq}sa(){return this.Jd}fb(){return this.Ld}P(){return this.gd}};function Nu(a,b,c,d,e,f){this.J=a;this.lb=b;this.K=c;this.ud=d;this.td=e;this.gd=f;this.aH=new D;this.$G=new D}Nu.prototype.I=-1;Nu.prototype.VX=function(){return this.K.progress()};Nu.prototype.transitionProgress=Nu.prototype.VX;Nu.prototype.state=function(){return this.Vd?this.K.rN()?"playing":"paused":"idle"};Nu.prototype.state=Nu.prototype.state;Nu.prototype.Rp=function(){return this.aH};Nu.prototype.transitionEffectStartEvent=Nu.prototype.Rp;Nu.prototype.Oy=function(){return this.$G};
Nu.prototype.transitionEffectCompleteEvent=Nu.prototype.Oy;function $r(a){a.Vd&&Ou(a,!1)}function ss(a,b){const c=a.lb;c.Fb[b].$k();0<=a.I&&c.Fb[a.I].nj();a.I=b}function ls(a){a.Gi.zd();a.Zn.$k();a.Gi.$k()}function rs(a){a.Vd.start();a.bH=!0;li&&(a.SS=setInterval(a.RS,100));a.K.Bb().addHandler(a.yJ,a);a.aH.D(a.I);Ri&&document.body&&Rm(document.body)}k=Nu.prototype;k.RS=function(){if(li&&document.body)return Rm(document.body)};k.zJ=function(){Ou(this)};
k.GB=function(a){this.Vd.Cr.removeHandler(this.GB,this);a&&rs(this)};k.yJ=function(a){isNaN(this.KC)&&(this.KC=a,a=0);this.Vd.Hm()||(1>a?this.Vd.vj(a):Ou(this))};function Ou(a,b){void 0===b&&(b=Ni);a.bH&&(a.K.Bb().removeHandler(a.yJ,a),a.bH=!1);li&&clearInterval(a.SS);a.Vd.wp()||a.Vd.Cr.removeHandler(a.GB,a);a.Vd.Hm()&&a.Vd.Yb.removeHandler(a.zJ,a);a.Vd.terminate();a.Vd=null;ls(a);a.Gi&&(a.Gi.nj(),a.Gi=null);a.Zn=null;b?ii(a.WI,a):a.WI()}k.WI=function(){xd(this.gd);this.$G.D(this.I)};function Pu(){this.Ck=new D;this.Mw=new D;this.Ow=new D}k=Pu.prototype;k.nf=0;k.LA=!1;k.progress=function(){return this.nf};k.vj=function(a){this.nf=a;this.Ck.D(a)};k.rN=function(){return this.LA};k.start=function(){this.LA=!0};k.stop=function(){this.LA=!1};k.Bb=function(){return this.Ck};k.ih=function(){return this.Mw};k.ll=function(){return this.Ow};k.U=function(){return this};function Q(a){this.Nq=a.N();this.Zn=a.sa();this.Gi=a.fb();this.Pq=!0;this.wS=a;this.ud=a.slideWidth();this.td=a.slideHeight();this.Cr=new D;this.Yb=new D;this.gd=a.P();this.Au=a.Au;this.ud>this.td?(this.TA=Math.min(this.ud,1024),this.Ol=this.TA/this.ud,this.SA=this.td*this.Ol):(this.SA=Math.min(this.td,1024),this.Ol=this.SA/this.td,this.TA=this.ud*this.Ol);this.rC=rd("DIV");Qm(this.rC,1/this.Ol,1/this.Ol);this.Gc=ki}k=Q.prototype;
k.start=function(){this.gd.appendChild(this.rC);var a=this.fb().slide();Hm(a,"transitionSlide");a=this.sa().slide();Hm(a,"transitionSlide");this.initialize();this.vj(0)};k.terminate=function(){this.vj(1);this.Cx();this.K&&(this.K.ih().removeHandler(this.UI,this),this.K.ll().removeHandler(this.TI,this));var a=this.fb().slide();Im(a,"transitionSlide");a=this.sa().slide();Im(a,"transitionSlide");xd(this.gd)};
function Qu(a,b){b?(b=a.fb().slide(),Hm(b,"paused"),a=a.sa().slide(),Hm(a,"paused")):(b=a.fb().slide(),Im(b,"paused"),a=a.sa().slide(),Im(a,"paused"))}k.vj=function(a){if(this.wp()){var b=this.$;a=this.N()?1-a:a;b.call(this,a)}};k.wp=function(){return this.Pq};k.fo=function(){return this.wS.fo};k.N=function(){return this.Nq};k.initialize=function(){};k.Cx=function(){};k.$=function(){};k.sa=function(){return this.N()?this.Gi:this.Zn};k.fb=function(){return this.N()?this.Zn:this.Gi};
function S(a,b){null!=a.fb()&&a.fb().Um(b)}function T(a,b){a.sa().Um(b)}
k.ja=function(a,b,c,d,e,f){function h(){if(!--g){var x=q,F=t,M=u,O=y,P=E;this.wa=p;this.X=x;this.yi=F;this.wv=O;this.Xj=M;this.Bv=P;this.tJ();1!=this.Pq&&(this.Pq=!0,this.Cr.D(!0))}}0!=this.Pq&&(this.Pq=!1,this.Cr.D(!1));let g=0;for(var l=0;l<arguments.length;++l)g+=!!arguments[l]+0;l=this.slideWidth();const n=this.slideHeight(),m=this.Gc?new Yc(this.Ol,this.Ol):new Yc(1,1);if(a){var p=U(l,n);uo(this.sa().slide(),p,h.bind(this),m)}if(b){var q=U(l,n);uo(this.fb().slide(),q,h.bind(this),m)}if(c){var t=
U(l,n);uo(this.sa().content(),t,h.bind(this),m)}if(d){var u=U(l,n);uo(this.fb().content(),u,h.bind(this),m)}if(e){var y=U(l,n);uo(this.sa().background(),y,h.bind(this),m)}if(f){var E=U(l,n);uo(this.fb().background(),E,h.bind(this),m)}};k.tJ=function(){};k.slideWidth=function(){return this.Gc?this.TA:this.ud};k.slideHeight=function(){return this.Gc?this.SA:this.td};function U(a,b){const c=A("CANVAS");c.width=a;c.height=b;return c}k.P=function(){return this.Gc?this.rC:this.gd};k.Hm=function(){return!1};
k.UI=function(){Qu(this,!1)};k.TI=function(){Qu(this,!0)};function Ru(a){--a;a|=a>>1;a|=a>>2;a|=a>>4;a|=a>>8;return(a|a>>16)+1};function Su(a){Q.call(this,a)}var Tu,Uu;v(Su,Q);function Vu(a,b){a.Ll();a.Jq(b);b=a.F;a.ta=mat4.create();a.QJ=mat4.create();b.viewport(0,0,b.xO,b.wO);b.clear(b.COLOR_BUFFER_BIT|b.DEPTH_BUFFER_BIT);const c=.5*a.slideHeight()/Math.tan(22.5*Math.PI/180);mat4.perspective(45,b.xO/b.wO,1,1E4,a.QJ);mat4.identity(a.ta);mat4.translate(a.ta,[0,0,-c])}k=Su.prototype;
k.Ll=function(){this.rk=!0;void 0===Tu&&(Tu=U(this.slideWidth()+3,this.slideHeight()+3),G(Tu,"left","-1px"),G(Tu,"top","-1px"));void 0===Uu&&(Uu=Tu.getContext("webgl")||Tu.getContext("experimental-webgl"));this.P().appendChild(Tu);try{Uu.xO=Tu.width,Uu.wO=Tu.height,Uu.enable(Uu.DEPTH_TEST)}catch(b){}const a=this.F=Uu;this.jA=Wu(this,a.FRAGMENT_SHADER,this.Ce());this.kD=Wu(this,a.VERTEX_SHADER,this.De());null!==this.jA&&null!==this.kD&&(this.qk=a.createProgram(),a.attachShader(this.qk,this.kD),a.attachShader(this.qk,
this.jA),a.linkProgram(this.qk),a.getProgramParameter(this.qk,a.LINK_STATUS)?(a.useProgram(this.qk),this.Je()):this.rk=!1)};k.Cx=function(){this.F&&(this.ze(),Xu(this,this.jD),Xu(this,this.PC),Xu(this,this.gK),Xu(this,this.JI),this.Ae(),this.F.deleteTexture(this.Xr),this.F.deleteShader(this.jA),this.F.deleteShader(this.kD),this.F.deleteProgram(this.qk))};k.Ae=function(){alert("override _disableAttributes")};k.ze=function(){};
function Yu(a,b){a.F.bindBuffer(a.F.ARRAY_BUFFER,null);a.F.deleteBuffer(b.rd);a.F.deleteBuffer(b.hd);a.F.deleteBuffer(b.vd);a.F.deleteBuffer(b.Ci)}k.Jq=function(a){this.Xr=Zu(this,this.F.TEXTURE0,this.Nf(),0,a)};
function Zu(a,b,c,d,e,f){const h=a.F;var g=a.slideWidth(),l=a.slideHeight();g=Ru(g);l=Ru(l);a=a.F.getParameter(a.F.MAX_TEXTURE_SIZE);if(Math.max(g,l)>a){var n=g/l;g>l?(g=a,l=g/n):(l=a,g=l*n)}a=new Yc(g,l);g=a.width;l=a.height;a=U(g,l);n=a.getContext("2d");void 0!==f?f(n,e,g,l):n.drawImage(e,0,0,g,l);e=h.createTexture();h.activeTexture(b);h.bindTexture(h.TEXTURE_2D,e);h.texImage2D(h.TEXTURE_2D,0,h.RGBA,h.RGBA,h.UNSIGNED_BYTE,a);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,h.LINEAR);h.texParameteri(h.TEXTURE_2D,
h.TEXTURE_MIN_FILTER,h.LINEAR_MIPMAP_LINEAR);h.generateMipmap(h.TEXTURE_2D);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE);h.bindTexture(h.TEXTURE_2D,null);h.activeTexture(b);h.bindTexture(h.TEXTURE_2D,e);h.uniform1i(c,d);return e}k.Ce=function(){alert("Please override _getFragmentShaderSource");return""};k.De=function(){alert("Please override _getVertexShaderSource");return""};k.Je=function(){};
function Wu(a,b,c){const d=a.F;b=d.createShader(b);d.shaderSource(b,c);d.compileShader(b);return d.getShaderParameter(b,d.COMPILE_STATUS)?b:(a.rk=!1,null)}function $u(a,b,c){a=a.F;const d=b.length/c,e=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,e);a.bufferData(a.ARRAY_BUFFER,new Float32Array(b),a.DYNAMIC_DRAW);e.xp=c;e.EN=d;return e}
function av(a,b){a=a.F;const c=b.length/1,d=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,d);a.bufferData(a.ELEMENT_ARRAY_BUFFER,new Uint16Array(b),a.DYNAMIC_DRAW);d.xp=1;d.EN=c;return d}function bv(a){if(0==a.$A.length)throw"Invalid popMatrix!";a.ta=a.$A.pop()}function cv(a){const b=mat4.create();mat4.set(a.ta,b);a.$A.push(b)}function dv(a,b,c,d){mat4.translate(a.ta,[-d[0],-d[1],-d[2]]);mat4.rotate(a.ta,b*Math.PI/180,c);mat4.translate(a.ta,d)}
function ev(a,b,c,d,e){const f=a.F,h=b.rd;f.bindBuffer(f.ARRAY_BUFFER,h);void 0!==d&&d();f.vertexAttribPointer(a.jD,h.xp,f.FLOAT,!1,0,0);b.Ci&&(d=b.Ci,f.bindBuffer(f.ARRAY_BUFFER,d),void 0!==e&&e(),f.vertexAttribPointer(a.Cq(),d.xp,f.FLOAT,!1,0,0));e=b.vd;f.bindBuffer(f.ARRAY_BUFFER,e);f.vertexAttribPointer(a.PC,e.xp,f.FLOAT,!1,0,0);a.lz();a=b.hd;f.bindBuffer(f.ELEMENT_ARRAY_BUFFER,a);void 0===c&&(c=f.TRIANGLES);f.drawElements(c,a.EN,f.UNSIGNED_SHORT,0)}
k.Cq=function(){alert("override _getVertexNormalAttributeLocation");return-1};k.Nf=function(){alert("override _getSamplerUniform");return null};k.lz=function(){};function fv(a){a.jD=gv(a,"aVertexPosition");a.PC=gv(a,"aTextureCoord");a.gK=hv(a,"uPMVMatrix");a.JI=hv(a,"uNMatrix")}
function iv(a,b){let c=0;for(let e=0;e<b.length/3;e++){const f=jv(a,b[c++]);var d=f.position();const h=jv(a,b[c++]),g=h.position(),l=jv(a,b[c++]),n=l.position();d=kv(g.Ye(d),n.Ye(d));d.normalize();lv(f,d);lv(h,d);lv(l,d)}}function mv(a){var b=mat4.create();b=mat4.multiply(a.QJ,a.ta,b);a.F.uniformMatrix4fv(a.gK,!1,b);b=mat3.create();mat4.toInverseMat3(a.ta,b);mat3.transpose(b);a.F.uniformMatrix3fv(a.JI,!1,b)}function gv(a,b){b=a.F.getAttribLocation(a.qk,b);a.F.enableVertexAttribArray(b);return b}
function Xu(a,b){a.F.disableVertexAttribArray(b)}function hv(a,b){return a.F.getUniformLocation(a.qk,b)}k.$A=[];function nv(){this.Ci=this.vd=this.hd=this.rd=null};function W(a,b){void 0===a&&(a=0);void 0===b&&(b=0);this.Ka=a;this.La=b}k=W.prototype;k.length=function(){return Math.sqrt(this.Ka*this.Ka+this.La*this.La)};k.x=function(){return this.Ka};k.fi=function(a){this.Ka=a};k.y=function(){return this.La};k.Ef=function(a){this.La=a};k.clone=function(){return new W(this.x(),this.y())};function X(a,b,c){void 0===a&&(a=0);void 0===b&&(b=0);void 0===c&&(c=0);this.Ka=a;this.La=b;this.fj=c}k=X.prototype;k.Ye=function(a){return new X(this.x()-a.x(),this.y()-a.y(),this.z()-a.z())};k.add=function(a){return new X(this.x()+a.x(),this.y()+a.y(),this.z()+a.z())};k.scale=function(a){return new X(this.x()*a,this.y()*a,this.z()*a)};k.clone=function(){return new X(this.x(),this.y(),this.z())};function ov(a,b){a.Ka+=b.x();a.La+=b.y();a.fj+=b.z()}
function kv(a,b){a=Rh(Ph(),a.x(),a.y(),a.z());b=Rh(Ph(),b.x(),b.y(),b.z());b=Vh(a,b,Ph());return new X(b[0],b[1],b[2])}k.normalize=function(){var a=Rh(Ph(),this.x(),this.y(),this.z()),b=Ph(),c=a[0];const d=a[1],e=a[2];c=1/Math.sqrt(c*c+d*d+e*e);b[0]=a[0]*c;b[1]=a[1]*c;b[2]=a[2]*c;this.fi(b[0]);this.Ef(b[1]);this.fj=b[2]};k.x=function(){return this.Ka};k.fi=function(a){this.Ka=a};k.y=function(){return this.La};k.Ef=function(a){this.La=a};k.z=function(){return this.fj};function pv(a,b){a.fj=b};function qv(a,b,c){void 0===c&&(c=new X(0,0,1));this.gk=a.clone();this.os=b.clone();c&&(this.Zb=c.clone())}qv.prototype.clone=function(){return new qv(this.position(),this.os,this.Zb)};function rv(a,b){a.gk=b.clone()}function lv(a,b){a.Zb=b.clone()}qv.prototype.position=function(){return this.gk};function sv(){this.ra=[]}sv.prototype.length=function(){return this.ra.length};function tv(a,b){a.ra.push(b)}function jv(a,b){return a.ra[b]}function uv(a){const b=[];for(let c=0;c<a.ra.length;c++){const d=a.ra[c];b.push(d.position().x());b.push(d.position().y());b.push(d.position().z())}return b}function vv(a){const b=[];for(let c=0;c<a.ra.length;c++){const d=a.ra[c];b.push(d.os.x());b.push(d.os.y())}return b}
function wv(a){const b=[];for(let c=0;c<a.ra.length;c++){const d=a.ra[c];b.push(d.Zb.x());b.push(d.Zb.y());b.push(d.Zb.z())}return b}sv.prototype.ra=[];function xv(a,b){Q.call(this,a);this.G=b;this.ja(!1,!0)}v(xv,Su);k=xv.prototype;k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);this.Gb()};k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.5;\n\tconst float DIFFUSE_INTENSITY = 0.5;\n\n\tvoid main(void)\n\t{\n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition; \n\tattribute vec3 aVertexNormal; \n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\n\tuniform mat3 uNMatrix;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tvoid main(void)\n\t{\n\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\tvTextureCoord = aTextureCoord;\n\t\tvNormal = uNMatrix * aVertexNormal;\n\t}"};k.Je=function(){fv(this);this.Sg=gv(this,"aVertexNormal");this.Ec=hv(this,"uSampler")};
k.Gb=function(){var a=this.slideWidth(),b=this.slideHeight(),c=a/2;b/=2;a*=.1;var d=new sv;tv(d,new qv(new X(-c,b,0),new W(0,0)));tv(d,new qv(new X(0,b,0),new W(.5,0)));tv(d,new qv(new X(-c+a,-b,0),new W(.1,1)));tv(d,new qv(new X(-c,-b,0),new W(0,1)));this.Pn=new nv;var e=$u(this,uv(d),3);this.Pn.rd=e;e=$u(this,vv(d),2);this.Pn.vd=e;e=av(this,[0,1,2,0,2,3]);this.Pn.hd=e;d=$u(this,wv(d),3);this.Pn.Ci=d;d=new sv;tv(d,new qv(new X(c,b,0),new W(1,0)));tv(d,new qv(new X(0,b,0),new W(.5,0)));tv(d,new qv(new X(c-
a,-b,0),new W(.9,1)));tv(d,new qv(new X(c,-b,0),new W(1,1)));this.xo=new nv;e=$u(this,uv(d),3);this.xo.rd=e;e=$u(this,vv(d),2);this.xo.vd=e;e=av(this,[0,1,2,0,2,3]);this.xo.hd=e;d=$u(this,wv(d),3);this.xo.Ci=d;this.vb=new sv;tv(this.vb,new qv(new X(0,b,0),new W(.5,0)));tv(this.vb,new qv(new X(-c+a,-b,0),new W(.1,1)));tv(this.vb,new qv(new X((-c+a)/2,-b,0),new W(.3,1)));tv(this.vb,new qv(new X(0,b,0),new W(.5,0)));tv(this.vb,new qv(new X((-c+a)/2,-b,0),new W(.3,1)));tv(this.vb,new qv(new X(0,-b,0),
new W(.5,1)));tv(this.vb,new qv(new X(0,b,0),new W(.5,0)));tv(this.vb,new qv(new X(0,-b,0),new W(.5,1)));tv(this.vb,new qv(new X((c-a)/2,-b,0),new W(.7,1)));tv(this.vb,new qv(new X(0,b,0),new W(.5,0)));tv(this.vb,new qv(new X((c-a)/2,-b,0),new W(.7,1)));tv(this.vb,new qv(new X(c-a,-b,0),new W(.9,1)));this.ZJ=[0,1,2,3,4,5,6,7,8,9,10,11];this.po=new nv;c=$u(this,uv(this.vb),3);this.po.rd=c;c=$u(this,vv(this.vb),2);this.po.vd=c;c=av(this,this.ZJ);this.po.hd=c;c=$u(this,wv(this.vb),3);this.po.Ci=c};
k.ze=function(){Yu(this,this.xo);Yu(this,this.Pn);Yu(this,this.po)};k.Ae=function(){Xu(this,this.Sg)};
k.$=function(a){0==a&&(this.N()?S(this,!0):T(this,!0));if(.3>a){var b=Y(0,0,.3,1)(a);this.Gl(b,!0);this.Gl(b,!1)}b=this.slideWidth();var c=this.slideHeight();c=Math.max(b,c);const d=this.G==yv?1:-1;cv(this);.1<=a&&(.1<a&&.4>=a?(a=Y(.1,0,.4,1)(a),zv(this,a),mat4.translate(this.ta,[0,0,-a*c/4]),dv(this,-60*a,[1,0,0],[-d*b/4,0,0]),dv(this,45*d*a,[0,0,1],[-d*b/4,0,0])):.4<a&&.5>=a?(a=Y(.4,0,.5,1)(a),zv(this,1),mat4.translate(this.ta,[0,0,-c/4]),mat4.translate(this.ta,[d*a*c/50,-a*c/50,a*c/50]),dv(this,
-60,[1,0,0],[-d*b/4,0,0]),dv(this,45*d,[0,0,1],[-d*b/4,0,0])):.5<a&&.55>a?(a=Y(.5,0,.55,1)(a),zv(this,1),mat4.translate(this.ta,[0,0,-c/4]),mat4.translate(this.ta,[d*c/50,-c/50,c/50]),dv(this,-60,[1,0,0],[-d*b/4,0,0]),dv(this,45*d,[0,0,1],[-d*b/4,0,0]),dv(this,-1*a,[1,0,0],[0,0,0])):.55<a&&(zv(this,1),a=Math.pow(Y(.55,0,1,1)(a),3),mat4.translate(this.ta,[-d*a*c*3,a*c*3,a*c/2]),mat4.translate(this.ta,[0,0,-c/4]),mat4.translate(this.ta,[d*c/50,-c/50,c/50]),dv(this,-60,[1,0,0],[-d*b/4,0,0]),dv(this,
45*d,[0,0,1],[-d*b/4,0,0]),dv(this,-1,[1,0,0],[0,0,0])));mv(this);ev(this,this.po,this.F.TRIANGLES,this.HA.bind(this),this.GA.bind(this));bv(this)};k.Gl=function(a,b){const c=b?-1:1,d=Math.max(this.slideWidth(),this.slideHeight());cv(this);mat4.translate(this.ta,[c*a*d/2,0,0]);mv(this);ev(this,b?this.Pn:this.xo);bv(this)};k.HA=function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(uv(this.vb)))};k.GA=function(){iv(this.vb,this.ZJ);this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(wv(this.vb)))};
function zv(a,b){var c=a.slideWidth(),d=a.slideHeight();const e=c/2,f=d/2,h=.1*c;d=Math.max(c,d)/4;c=.1*c/2;let g=Y(0,-e+h,1,(-e+h)/2-c);rv(a.vb.ra[1],new X(g(b),-f,0));g=Y(0,(-e+h)/2,1,-c);rv(a.vb.ra[2],new X(g(b),-f,0));rv(a.vb.ra[4],new X(g(b),-f,0));rv(a.vb.ra[5],new X(0,-f,-b*d));rv(a.vb.ra[7],new X(0,-f,-b*d));g=Y(0,(e-h)/2,1,c);rv(a.vb.ra[8],new X(g(b),-f,0));rv(a.vb.ra[10],new X(g(b),-f,0));g=Y(0,e-h,1,(e-h)/2+c);rv(a.vb.ra[11],new X(g(b),-f,0))}k.Cq=function(){return this.Sg};k.Nf=function(){return this.Ec};
var yv=0;function Av(a,b){Q.call(this,a);this.ja(!0,!0);this.Z=b}v(Av,Q);Av.prototype.initialize=function(){S(this,!1);T(this,!1);this.ui()};
Av.prototype.$=function(a){for(let e=0;e<this.Kd;++e){const f=this.SB[e];var b=Math.min(1,Math.max(0,2*(a-f.startTime)));b=Bv(0,1,b);var c=this.N()?1-b:b;0==c&&(I(this.N()?f.IE:f.FE,0),I(this.N()?f.HE:f.EE,0));1==c&&(I(this.N()?f.FE:f.IE,0),I(this.N()?f.EE:f.HE,0));if(f.TN!=b){f.TN=b;I(this.N()?f.IE:f.FE,1);c=-120*b;var d=1-2*b;this.Z==Cv?(b=f.lt/2,d*=b,J(f.ZM,"translateX("+d+"px) rotateY("+c+"deg) translateX("+-b+"px) ")):(b=f.gy/2,d*=b,J(f.ZM,"translateY("+d+"px) rotateX("+-c+"deg) translateY("+
-b+"px)"));b=.5*-Math.sin(Y(0,0,-120,-90)(c)*Math.PI/180);I(f.HE,b);c=.5*-Math.sin(Y(0,-90,-120,0)(c)*Math.PI/180);I(f.EE,c)}}};
Av.prototype.ui=function(){var a=this.slideWidth(),b=this.slideHeight();this.Qo=rd("DIV");this.P().appendChild(this.Qo);fi(this.Qo,a+"px");gi(this.Qo,a/2+"px "+b/2+"px");if(Hb){var c=A("DIV");this.Qo.appendChild(c);xh(c,a,b);G(c,"position","absolute");ei(c,"preserve-3d");this.Qo=c}this.Kd=this.Z==Cv?Dv:Ev;this.Z==Cv?(a=this.slideWidth()/this.Kd,b=this.slideHeight()):(a=this.slideWidth(),b=this.slideHeight()/this.Kd);this.SB=[];c=0;for(let d=0;d<this.Kd;++d){const e={TN:void 0};e.startTime=(1-Fv)/
(Math.ceil(this.Kd/2)-1)*Math.floor(Math.abs(d-(this.Kd-1)/2));this.Z==Cv?(e.lt=Math.round((d+1)*a)-c,e.gy=b,e.position=c,c+=e.lt):(e.lt=a,e.gy=Math.round((d+1)*b)-c,e.position=c,c+=e.gy);this.N()&&(e.startTime=1-Fv-e.startTime);this.SB.push(e)}if(0!=this.Kd%2){for(a=0;a<this.Kd/2-1;++a)Gv(this,a),Gv(this,this.Kd-a-1);Gv(this,Math.floor(this.Kd/2))}else for(a=0;a<this.Kd/2;++a)Gv(this,a),Gv(this,this.Kd-a-1)};
function Gv(a,b){const c=a.SB[b],d=rd("DIV");ei(d,"preserve-3d");const e=c.lt,f=c.gy;xh(d,e,f);G(d,"position","absolute");const h=U(e,f);b=U(e,f);const g=rd("DIV");xh(g,e,f);G(g,"backgroundColor","#000000");const l=rd("DIV");xh(l,e,f);G(l,"backgroundColor","#000000");G(h,"position","absolute");G(b,"position","absolute");G(g,"position","absolute");G(l,"position","absolute");hi(h,"hidden");hi(b,"hidden");hi(g,"hidden");hi(l,"hidden");d.appendChild(b);d.appendChild(h);d.appendChild(g);d.appendChild(l);
const n=h.getContext("2d"),m=b.getContext("2d");a.Qo.appendChild(d);c.ZM=d;c.IE=h;c.FE=b;c.EE=g;c.HE=l;a.Z==Cv?(qh(d,c.position,0),n.drawImage(a.X,c.position,0,e,f,0,0,e,f),m.drawImage(a.wa,c.position,0,e,f,0,0,e,f),a=Math.round(c.lt/2),a="translateX("+a+"px) rotateY(-60deg) translateX("+-a+"px) rotateZ(180deg) rotateX(180deg)"):(qh(d,0,c.position),n.drawImage(a.X,0,c.position,e,f,0,0,e,f),m.drawImage(a.wa,0,c.position,e,f,0,0,e,f),a=Math.round(f/2),a="translateY("+a+"px) rotateX(-120deg) translateY("+
a+"px)");J(b,a);J(g,a)}var Dv=18,Ev=14,Fv=.5,Cv=0;function Hv(a,b){Q.call(this,a);this.ja(!0,!0);this.Z=b;this.ui()}v(Hv,Q);Hv.prototype.initialize=function(){S(this,!0);T(this,!1)};
Hv.prototype.$=function(a){const b=this.slideWidth(),c=this.slideHeight();this.Kf.clearRect(0,0,b,c);this.Kf.drawImage(this.wa,0,0);this.Kf.save();this.Kf.globalCompositeOperation="destination-in";const d=this.qb.getContext("2d");d.clearRect(0,0,b,c);for(let e=0;e<this.Kd;e++)d.beginPath(),this.Z==Iv?d.fillRect(e*this.ew,0,this.ew*a,c):d.fillRect(0,e*this.$v,b,this.$v*a);this.Kf.drawImage(this.qb,0,0);this.Kf.restore()};
Hv.prototype.ui=function(){const a=this.slideWidth(),b=this.slideHeight();this.qb=U(a,b);const c=U(a,b);this.Kf=c.getContext("2d");this.Kd=this.Z==Iv?Jv:Kv;this.$v=this.ew=0;this.Z==Cv?(this.ew=a/this.Kd,this.$v=b):(this.ew=a,this.$v=b/this.Kd);this.P().appendChild(c)};var Jv=10,Kv=10,Iv=0;function Lv(a,b){Q.call(this,a);this.G=b;switch(b){case Mv:this.ja(!0,!1);break;case Nv:this.ja(!1,!0)}}v(Lv,Q);Lv.prototype.initialize=function(){const a=this.slideWidth(),b=this.slideHeight(),c=U(a,b);this.rr=c.getContext("2d");this.qb=U(a,b);this.kd=this.qb.getContext("2d");switch(this.G){case Mv:S(this,!0);T(this,!1);this.Cw=this.wa;break;case Nv:S(this,!1),T(this,!0),this.Cw=this.X}G(c,"position","absolute");this.P().appendChild(c);this.Jn=.05*a;this.Nj=.05*b};
Lv.prototype.$=function(a){this.G==Nv&&(a=1-a);var b=Math.round(this.slideWidth());const c=Math.round(this.slideHeight()),d=Math.round(a*b),e=Math.round(a*c);a=Math.round(.5*(b-d));const f=Math.round(.5*(c-e)),h=a+d,g=f+e,l=this.kd;l.clearRect(0,0,b,c);l.fillStyle="#000";l.fillRect(a,f,d,e);Ov(this,a,f,a,f-this.Nj,a,f-this.Nj,d,this.Nj);Ov(this,a,g,a,g+this.Nj,a,g,d,this.Nj);Ov(this,a,f,a-this.Jn,f,a-this.Jn,f,this.Jn,e);Ov(this,h,f,h+this.Jn,f,h,f,this.Jn,e);b=l.createRadialGradient(0,0,0,0,0,this.Nj);
b.addColorStop(0,"rgba(0,0,0,1)");b.addColorStop(1,"rgba(0,0,0,0)");this.Gl(h,g,0,.5*Math.PI,b);this.Gl(a,g,.5*Math.PI,Math.PI,b);this.Gl(a,f,Math.PI,1.5*Math.PI,b);this.Gl(h,f,1.5*Math.PI,2*Math.PI,b);b=this.rr;b.drawImage(this.Cw,0,0);b.save();b.globalCompositeOperation="destination-in";b.drawImage(this.qb,0,0);b.restore()};
function Ov(a,b,c,d,e,f,h,g,l){a=a.kd;b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(0,0,0,1)");b.addColorStop(1,"rgba(0,0,0,0)");a.fillStyle=b;a.fillRect(f,h,g,l)}Lv.prototype.Gl=function(a,b,c,d,e){const f=this.kd;f.save();f.translate(a,b);f.scale(this.Jn/this.Nj,1);f.beginPath();f.moveTo(0,0);f.arc(0,0,this.Nj,c,d,!1);f.moveTo(0,0);f.fillStyle=e;f.fill();f.restore()};var Mv=0,Nv=1;function Pv(a,b){return function(c){if(0!=a||1!=b){let h=c;for(let g=0;4>g;++g){var d=h,e=a,f=b;d=3*(1-3*f+3*e)*d*d+2*(3*f-6*e)*d+3*e;if(0==d)break;h-=((((1-3*b+3*a)*h+(3*b-6*a))*h+3*a)*h-c)/d}c=(-2*h+3)*h*h}return c}}var Qv=Pv(.42,.58);function Y(a,b,c,d){return function(e){return b+(d-b)/(c-a)*(e-a)}}function Bv(a,b,c){if(c<a)return 0;if(c>=b)return 1;a=(c-a)/(b-a);return-2*Math.pow(a,3)+3*Math.pow(a,2)}
function Rv(a,b,c,d){if(d<b)return a+d/b*(1-a);d-=b;return 1+(1-a)/(2*Math.PI/(1-b))/b*Math.exp(-c*d)*Math.sin(2*Math.PI/(1-b)*d)};function Sv(a,b,c){Q.call(this,a);this.G=b;(this.Na=c)?this.ja(!1,!1,!0,!0,!0,!0):this.ja(!0,!0)}v(Sv,Q);
Sv.prototype.initialize=function(){S(this,!1);T(this,!1);const a=this.slideWidth(),b=this.slideHeight();if(this.Na){var c=U(a,b);G(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.wv,0,0);this.Sl=c;c=U(a,b);G(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.Bv,0,0);this.Ul=c}this.wc=this.Wa(a,b);this.P().appendChild(this.wc);var d=U(a,b);c=U(a,b);this.nb=A("DIV");yh(this.nb,a);zh(this.nb,b);this.$d=this.Wa(this.slideWidth(),this.slideHeight());
this.Zd=this.Wa(this.slideWidth(),this.slideHeight());this.$d.appendChild(d);this.Zd.appendChild(c);this.wc.appendChild(this.nb);this.nb.appendChild(this.$d);this.nb.appendChild(this.Zd);d=d.getContext("2d");c=c.getContext("2d");d.drawImage(this.Na?this.Xj:this.X,0,0);c.drawImage(this.Na?this.yi:this.wa,0,0);c=this.G==Tv||this.G==Uv?-1:1;d=this.G==Tv||this.G==Vv;fi(this.wc,Math.max(a,b)+"px");gi(this.wc,this.nh+a/2+"px "+b/2+"px");ei(this.nb,"preserve-3d");d?(J(this.$d,"translateZ(-"+(this.nh+Math.floor(a/
2))+"px) rotateY(0deg)"),J(this.Zd,"translateX("+c*(this.nh+Math.floor(a/2))+"px)  rotateY("+-90*c+"deg)")):(J(this.$d,"translateZ(-"+(this.nh+Math.floor(b/2))+"px) rotateX(0deg)"),J(this.Zd,"translateY("+c*(this.nh+Math.floor(b/2))+"px)  rotateX("+90*c+"deg)"))};
Sv.prototype.$=function(a){var b=this.slideWidth();const c=this.slideHeight();this.Na&&(I(this.Ul,1-a),I(this.Sl,a));const d=.25*(1-Math.cos(2*a*Math.PI));a=Bv(0,1,a);const e=this.G==Tv||this.G==Uv?-1:1,f=this.G==Tv||this.G==Vv;b=f?b+2*this.nh:c+2*this.nh;f?J(this.nb,"translateZ("+(-d*b+b/2)+"px) rotateY("+90*e*a+"deg)"):J(this.nb,"translateZ("+(-d*b+b/2)+"px) rotateX("+90*-e*a+"deg)")};Sv.prototype.Wa=function(a,b){const c=A("DIV");yh(c,a);zh(c,b);G(c,"position","absolute");return c};
Sv.prototype.nh=20;var Uv=1,Vv=2,Tv=3;function Wv(a,b){Q.call(this,a);this.G=b;this.ja(!0,!0)}v(Wv,Q);Wv.prototype.initialize=function(){const a=this.slideWidth(),b=this.slideHeight();T(this,!1);S(this,!1);this.ur=1.25*Math.max(a,b);this.lm=A("DIV");this.P().appendChild(this.lm);try{this.zA(),this.mb=!0}catch(c){this.mb=!1}this.Il=Qh();Rh(this.Il,.5*a,.5*b,this.ur);this.AA(this.G==Xv)};
Wv.prototype.AA=function(a){function b(l,n){const m=n&1;return m*(l-1)+(1-2*m)*(n>>1)}const c=this.X,d=this.wa;var e=this.slideWidth(),f=this.slideHeight();e=Math.floor(e/7);f=Math.floor(f/5);const h=c.width-6*e,g=c.height-4*f;this.mi=[];for(let l=0;5>l;++l){const n=b(5,l),m=n*f,p=4==n?g:f+1;for(let q=0;7>q;++q){const t=b(7,q),u=new Yv(c,d,t*e,m,6==t?h:e+1,p,a,this.Il,this.mb);this.lm.appendChild(u.Ij);this.mi[7*n+t]=u}}Zv(this)};
Wv.prototype.zA=function(){const a=this.slideWidth(),b=this.slideHeight();xh(this.lm,a,b);var c=(.5*a).toString()+"px "+(.5*b).toString()+"px";fi(this.lm,this.ur.toString()+"px");gi(this.lm,c);Hb&&(c=A("DIV"),this.lm.appendChild(c),xh(c,a,b),G(c,"position","absolute"),ei(c,"preserve-3d"),this.lm=c)};
function Zv(a){var b=.7-.15,c=a.G==Xv?b/4:0,d=a.G==$v?b/6:0;b=0;var e=1;for(var f=0;5>f;++f)for(let h=0;7>h;++h){const g=f*c+h*d+.15*Math.random();b=Math.max(g,b);e=Math.min(g,e);a.mi[h+7*f].CD=g}c=e;b=.7/(b-c);for(d=0;5>d;++d)for(e=0;7>e;++e)f=a.mi[e+7*d],f.CD=(f.CD-c)*b}Wv.prototype.$=function(a){const b=this.mi.length;for(let c=0;c<b;++c){const d=this.mi[c];let e=(a-d.CD)/.3;const f=this.N()?0>e:1<e;e=Math.max(0,Math.min(1,e));aw(d,180*e,f)}};var $v=0,Xv=1;
function Yv(a,b,c,d,e,f,h,g,l){this.mb=l;this.Gq=h;this.Cu=Qh();Rh(this.Cu,c+.5*e,d+.5*f,0);Sh(this.Cu,g,this.Cu);this.yz=Qh();this.Ij=A("DIV");h=A("DIV");g=A("CANVAS");g.width=e;g.height=f;l=A("CANVAS");l.width=e;l.height=f;this.pH=g;this.fu=l;const n=A("DIV");this.zw=n;G(this.Ij,"position","absolute");G(h,"position","absolute");G(g,"position","absolute");G(l,"position","absolute");G(n,"position","absolute");qh(this.Ij,c,d);this.Ij.appendChild(h);this.Ij.appendChild(n);h.appendChild(g);h.appendChild(l);
bw(this,!0);this.mb?this.zA():J(this.fu,this.Gq?"scaleY(-1)":"scaleX(-1)");g.getContext("2d").drawImage(a,c,d,e,f,0,0,e,f);l.getContext("2d").drawImage(b,c,d,e,f,0,0,e,f);G(n,"background-color","black");I(n,0);xh(h,e,f);xh(n,e,f);xh(this.Ij,e,f);aw(this,0)}Yv.prototype.zA=function(){J(this.fu,this.Gq?"rotateY(180deg) rotateZ(180deg)":"rotateY(180deg)")};
function aw(a,b,c){if(b==a.mu)a.zw&&c&&(zd(a.zw),a.zw=null);else{a.mu=b;if(a.mb){var d=a.mu*Math.PI/180;c=Math.sin(d);d=Math.cos(d);a.Gq?Rh(a.yz,0,c,d):Rh(a.yz,c,0,d);c=Uh(a.yz,a.Cu);a.ev?0<=c&&bw(a,!1):0>=c&&bw(a,!0);J(a.Ij,(a.Gq?"rotateX(-":"rotateY(")+b.toString()+"deg)")}else a.ev?90<=b&&bw(a,!1):90>=b&&bw(a,!0),J(a.Ij,(a.Gq?"scaleY(":"scaleX(")+Math.cos(a.mu*Math.PI/180).toString()+")");I(a.zw,.5*Math.sin(a.mu*Math.PI/180))}}
function bw(a,b){const c=b?a.pH:a.fu,d=b?a.fu:a.pH;a.ev=b;G(c,"visibility","visible");G(d,"visibility","hidden")};function cw(a,b){Q.call(this,a);this.G=b;this.Gc=!1;this.ja(!1,!0);this.G==dw?(this.Ed=(1-ew)/(fw-1),this.XF=2*this.slideWidth()/Math.pow(ew,2)):(this.Ed=.25,this.XF=2*this.slideHeight()/Math.pow(ew,2))}v(cw,Q);function gw(a,b,c,d,e,f){const h=U(e+1,f+1);h.getContext("2d").drawImage(a.X,c,d,e,f,0,0,e+1,f+1);b.push(new hw(h,c,d,e,f))}
cw.prototype.initialize=function(){let a;a=this.G==dw?fw:iw;const b=this.slideWidth(),c=this.slideHeight();this.sn=[];this.tn=[];const d=b/a,e=c/a;let f=0;for(let g=0;g<a;++g){const l=0==g%2?this.sn:this.tn;if(this.G==dw){var h=Math.round((g+1)*e)-f;gw(this,l,0,f,b,h);f+=h}else h=Math.round((g+1)*d)-f,gw(this,l,f,0,h,c),f+=h}this.sn.reverse();this.tn.reverse();this.P().appendChild(this.X);S(this,!1);T(this,!0);this.sa().zd()};function jw(a,b,c){b=c-(b-1)*a.Ed;return 0>=b?0:a.XF*Math.pow(b,2)/2}
function kw(a,b){const c=a.slideHeight();let d=0,e=a.Ed,f=0,h=1,g=e,l=1;a.N()&&(d=c,e=1-e,f=1-f,h=1-h,g=e,l=1-l);if(!a.N()){if(b<e)return d}else if(b>e)return d;return c*(f+(h-f)/(l-g)*(b-g))}
cw.prototype.$=function(a){let b,c,d;const e=this.X.getContext("2d");e.clearRect(0,0,this.slideWidth(),this.slideHeight());if(this.G==dw){for(b=0;b<this.sn.length;b++)c=2*(b+1)-1,d=this.sn[b],e.drawImage(d.canvas,0,0,d.width,d.height,jw(this,c,a),d.y,d.width,d.height);for(b=0;b<this.tn.length;b++)c=2*(b+1),d=this.tn[b],e.drawImage(d.canvas,0,0,d.width,d.height,-jw(this,c,a),d.y,d.width,d.height)}else{for(b=0;b<this.sn.length;b++)d=this.sn[b],e.drawImage(d.canvas,0,0,d.width,d.height,d.x,-kw(this,
a),d.width,d.height);for(b=0;b<this.tn.length;b++)d=this.tn[b],e.drawImage(d.canvas,0,0,d.width,d.height,d.x,kw(this,a),d.width,d.height)}};var dw=0,fw=7,iw=10,ew=.5;function hw(a,b,c,d,e){this.canvas=a;this.x=b;this.y=c;this.width=d;this.height=e};function lw(a,b,c){Q.call(this,a);this.G=b;this.zc=c;this.Gc=!1;this.BA(b);mw(this)}v(lw,Q);k=lw.prototype;k.si=function(){return this.zc?this.fb().slide():this.sa().slide()};k.Bq=function(){return this.zc?this.sa().slide():this.fb().slide()};
k.initialize=function(){var a=this.slideWidth();const b=this.slideHeight();var c=Math.max(a,b);G(this.Bq(),"position","absolute");G(this.si(),"position","absolute");xh(this.Bq(),a,b);xh(this.si(),a,b);const d=rd("DIV");pd(d,{id:"projection"});G(d,"position","absolute");xh(d,a,b);this.P().appendChild(d);fi(d,1.25*c+"px");c=rd("DIV");pd(c,{id:"view"});G(c,"position","absolute");xh(c,a,b);d.appendChild(c);ei(c,"preserve-3d");this.ha=c;Ei&&(ei(this.Bq(),"preserve-3d"),ei(this.si(),"preserve-3d"));a=this.Bq();
c.appendChild(a);c.appendChild(this.Bo);a=this.si();c.appendChild(a);this.N()||this.zc?this.N()&&this.zc?(T(this,!0),S(this,!1)):!this.N()&&this.zc?(T(this,!1),S(this,!0)):this.N()&&!this.zc&&(T(this,!0),S(this,!1)):(T(this,!1),S(this,!0));G(this.Bo,"visibility","hidden")};
function mw(a){function b(m,p,q,t,u,y,E,x){m=l.createLinearGradient(m,p,q,t);m.addColorStop(0,"rgba(0,0,0, "+e+")");m.addColorStop(1,"rgba(0,0,0,0)");l.fillStyle=m;l.fillRect(u,y,E,x)}function c(m,p,q,t,u){l.save();l.translate(m,p);l.scale(d/d,1);l.beginPath();l.moveTo(0,0);l.arc(0,0,d,q,t,!1);l.moveTo(0,0);l.fillStyle=u;l.fill();l.restore()}const d=nw,e=ow,f=a.slideWidth(),h=a.slideHeight(),g=U(f,h);G(g,"position","absolute");xh(g,f*pw,h*pw);const l=g.getContext("2d");l.scale(pw,pw);l.fillStyle=
"rgba(0, 0, 0, "+e+")";l.fillRect(d,d,f-2*d,h-2*d);b(d,d,d,d-d,d,d-d,f-2*d,d);b(d,h-d,d,h,d,h-d,f-2*d,d);b(d,d,d-d,d,d-d,d,d,h-2*d);b(f-d,d,f,d,f-d,d,d,h-2*d);const n=l.createRadialGradient(0,0,0,0,0,d);n.addColorStop(0,"rgba(0,0,0, "+e+")");n.addColorStop(1,"rgba(0,0,0,0)");c(f-d,h-d,0,.5*Math.PI,n);c(d,h-d,.5*Math.PI,Math.PI,n);c(d,d,Math.PI,1.5*Math.PI,n);c(f-d,d,1.5*Math.PI,2*Math.PI,n);a.Bo=g}
k.YA=function(a){a=a<qw?a:a>1-qw?1-a:qw;var b=Math.max(this.slideWidth(),this.slideHeight());b=Y(0,0,qw,.2*-b);const c=Y(0,0,qw,10);di(this.ha,"50% 100%");J(this.ha,"rotateX("+c(a)+"deg) translateZ("+b(a)+"px)")};
k.BA=function(a){const b=this.slideWidth(),c=this.slideHeight();this.Ig=this.Hg=this.sh=this.rh=0;switch(a){case rw:this.sh=1;this.Hg=sw*b;this.Ig=-sw*c;break;case tw:this.sh=-1;this.Hg=-sw*b;this.Ig=sw*c;break;case uw:this.rh=-1;this.Hg=sw*b;this.Ig=sw*c;break;case vw:this.rh=1;this.Hg=-sw*b;this.Ig=-sw*c;break;case ww:this.sh=this.rh=-1;this.Hg=-sw*b;this.Ig=sw*c;break;case xw:this.rh=-1;this.sh=1;this.Hg=-sw*b;this.Ig=-sw*c;break;case yw:this.rh=1;this.sh=-1;this.Hg=sw*b;this.Ig=sw*c;break;case zw:this.sh=
this.rh=1,this.Hg=sw*b,this.Ig=-sw*c}this.zc?(this.sh*=-1,this.Ig*=-1):(this.rh*=-1,this.Hg*=-1)};
k.$=function(a){this.zc&&(a=1-a);this.YA(a);if(a>=Aw&&a<Bw){this.N()||this.zc?this.N()&&this.zc?S(this,!0):!this.N()&&this.zc?T(this,!0):this.N()&&!this.zc&&S(this,!0):T(this,!0);G(this.Bo,"visibility","visible");a=1-(Bw-a)/(Bw-Aw);var b=a=Bv(0,1,a),c=2*this.slideWidth()*this.rh*(1-b),d=2*this.slideHeight()*this.sh*(1-b);b=Cw*(1-b);var e=this.si();di(e,"50% 50%");J(e,"translate3d("+c+"px, "+d+"px, "+b+"px)");c=a;e=this.Hg*(1-c);d=this.Ig*(1-c);const f=2*this.slideWidth()*this.rh*(1-c);b=2*this.slideHeight()*
this.sh*(1-c);e=Sm(e+f);d=Sm(d+b);c=Sm(-5+Cw*(1-c));di(this.Bo,"50% 50%");J(this.Bo,"translate3d("+e+"px, "+d+"px, "+c+"px)");I(this.si(),Dw+(1-Dw)*a)}else a>=Bw&&(this.N()||this.zc?this.N()&&this.zc&&T(this,!1):S(this,!1),G(this.Bo,"visibility","hidden"))};var tw=0,uw=1,vw=2,rw=3,xw=4,ww=5,zw=6,yw=7,qw=.4,Aw=.1,Bw=.7,Cw=800,Dw=.5,ow=.3,nw=50,sw=1,pw=1;function Ew(a,b,c){Q.call(this,a);this.G=b;this.zc=c;this.Gc=!1;this.BA(b)}v(Ew,Q);k=Ew.prototype;k.initialize=function(){S(this,!0);T(this,!0);this.si().zd()};k.si=function(){return this.zc?this.fb():this.sa()};k.Bq=function(){return this.zc?this.sa():this.fb()};
k.BA=function(a){const b=this.slideWidth(),c=this.slideHeight();this.Og=this.Ng=0;switch(a){case rw:this.Og=c;break;case tw:this.Og=-c;break;case uw:this.Ng=b;break;case vw:this.Ng=-b;break;case ww:this.Ng=b;this.Og=-c;break;case xw:this.Ng=b;this.Og=c;break;case yw:this.Ng=-b;this.Og=-c;break;case zw:this.Ng=-b,this.Og=c}this.zc&&(this.Ng*=-1,this.Og*=-1)};k.$=function(a){a=Qv(a);this.zc&&(a=1-a);const b=Y(0,this.Ng,1,0),c=Y(0,this.Og,1,0);qh(this.si().slide(),b(a),c(a))};function Fw(a,b,c){var d=new X;this.nl=a;this.Wp=b;this.Xp=c;this.n=d};function Gw(a){Q.call(this,a);this.ja(!1,!0)}v(Gw,Su);
var Hw=[0,1,2,3,2,4,5,4,6,7,6,8,9,8,10,11,10,12,13,12,14,15,14,16,17,16,18,19,18,20,21,20,22,1,23,24,2,24,25,4,25,26,6,26,27,8,27,28,10,28,29,12,29,30,14,30,31,16,31,32,18,32,33,20,33,34,23,35,36,24,36,37,25,37,38,26,38,39,27,39,40,28,40,41,29,41,42,30,42,43,31,43,44,32,44,45,33,45,46,35,47,48,36,48,49,37,49,50,38,50,51,39,51,52,40,52,53,41,53,54,42,54,55,43,55,56,44,56,57,45,57,58,47,59,60,48,60,61,49,61,62,50,62,63,51,63,64,52,64,65,53,65,66,54,66,67,55,67,68,56,68,69,57,69,70,59,71,72,60,72,73,
61,73,74,62,74,75,63,75,76,64,76,77,65,77,78,66,78,79,67,79,80,68,80,81,69,81,82,71,83,84,72,84,85,73,85,86,74,86,87,75,87,88,76,88,89,77,89,90,78,90,91,79,91,92,80,92,93,81,93,94,83,95,96,84,96,97,85,97,98,86,98,99,87,99,100,88,100,101,89,101,102,90,102,103,91,103,104,92,104,105,93,105,106,0,2,3,3,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,107,1,24,2,2,25,4,4,26,6,6,27,8,8,28,10,10,29,12,12,30,14,14,31,16,16,32,18,18,33,20,20,34,22,23,36,24,24,37,25,25,38,26,26,39,
27,27,40,28,28,41,29,29,42,30,30,43,31,31,44,32,32,45,33,33,46,34,35,48,36,36,49,37,37,50,38,38,51,39,39,52,40,40,53,41,41,54,42,42,55,43,43,56,44,44,57,45,45,58,46,47,60,48,48,61,49,49,62,50,50,63,51,51,64,52,52,65,53,53,66,54,54,67,55,55,68,56,56,69,57,57,70,58,59,72,60,60,73,61,61,74,62,62,75,63,63,76,64,64,77,65,65,78,66,66,79,67,67,80,68,68,81,69,69,82,70,71,84,72,72,85,73,73,86,74,74,87,75,75,88,76,76,89,77,77,90,78,78,91,79,79,92,80,80,93,81,81,94,82,83,96,84,84,97,85,85,98,86,86,99,87,87,
100,88,88,101,89,89,102,90,90,103,91,91,104,92,92,105,93,93,106,94],Iw="/+8MAP/rSADoi0gA6I8MANFLSADRTwwAuitIALovDACi60gAou8MAIurSACLrwwAC6tIAAuvDAAi60gAIu8MADorSAA6LwwAUUtIAFFPDABoi0gAaI8MAH/rSAD/54QA6IeEANFHhAC6J4QAoueEAIunhAALp4QAIueEADonhABRR4QAaIeEAH/nhAD/48AA6IPAANFDwAC6I8AAouPAAIujwAALo8AAIuPAADojwABRQ8AAaIPAAH/jwAD/4AAA6IAAANFAAAC6IAAAouAAAIugAAALoAAAIuAAADogAABRQAAAaIAAAH/gAAD/88AA6JPAANFTwAC6M8AAovPAAIuzwAALs8AAIvPAADozwABRU8AAaJPAAH/zwAD/94QA6JeEANFXhAC6N4QAoveEAIu3hAALt4QAIveEADo3hABRV4QAaJeEAH/3hAD/+0gA6JtIANFbSAC6O0gAovtIAIu7SAALu0gAIvtIADo7SABRW0gAaJtIAH/7SAD//wwA6J8MANFfDAC6PwwAov8MAIu/DAALvwwAIv8MADo/DABRXwwAaJ8MAH//DAB/7wwA 8u/+EviMJALjCzwa4S7kSs1rNAHNrw4Gt0s8DLfPDAyhC0wLoa8UC4qrWAuLbyALC6tgCwrvIAsiK1gLIS8QCziLPAs3LuwNTqsQDEzOvgJkiugHYU5gLXpLHAn8aCwJ5WeUC85nZAm3p2gLoQd4C4pnjAsMJ5wLIsecCzlnhAtQB2QLZodIC31HbAv+JDQL5yPgC8/DrAu4o5wLoaOoC4rDwAsMA9ALIuPcCznD0AtQo7QLZ4OUC36DnAv+oEQL56AkC9CQBAu5cBwLonAcC4twDAsLgAQLIoAUCzmAGAtQoAALZ9AoC37QSAv+k5wL55OYC9CzuAu5s9QLotPgC4vz2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R+Vk8EoCIF27gzRlziKU576wGI+0MMFCoXAQ7Y0h4SQFhBTTFKThZChl2QQ9ZL0zRIK0hFKQZMLL4mgzzhD8wrqxiSSmMhzalnHBX4ew2L8MwMi7G6FZVzEC+U8+AuClTyBQ5EvzIF3SUBiawVMMfLz1SS2nddDrknWVTYEUJNMSEekkJzA87jhQnWY7MMSaRdHJQzuzxJnFslRWxxV477OXyNajGA1lj3jQ/QZXdNYZNVkwKrO4tDXUhWY4NGCaPtUhUkcWkJ/HdeQjuXd4s7NZeWCee0kgiLrlbgta3QIgGM06LVd4lC54FVw2GASVOjihWT852KG5lhyHuZr8gKqcPReZfCWphz6BSg++QTclfHUoK1swbyf7oUMuO0yELNsxVjCcBJM4xXiO qubgL7knVJmqRcEtryjU3p7jgJeiZsBOpmVhTKvoTQSX5Eypm6e0cKIleVupSNEOjwgBQ5kK8SyCiRHTh8spWhCqEWAHaP3fIidZiBdKPVsnBmjAJQocuDZmoCipJVSmtQMFQq0A+JGxonVOn2DIz5diZY2GBVlQAsVt/hbG8a4f5gTzN4XE9j4DaFKrQrBXwCK0wrhx2LuvkOGDnbHdMYmgCXcCAxkKC0IF1BjEHVovhck9NkPIfkPgULS6wogPwRDkmrVxkVOhMpk4kJGNoIeQKNwMQJDEFwBxdyjjFZEtZBy9P2FM4znyaG3EkBxTsxL8YrMU3SCd9a0VipU9lwFTdO8RMNFZJGHtEjKQYYYvAMi0NzAlZS4TTNW7U1QiurTg4aaXKOibNs2gh1jBWApWmP4cE9VKItFIqCazjWInkfCnL1OFXz7T8LC1tuQGrldww6XXLYOSub1nAFip3RN2fYgktt0MJZSEXCjWzRgsFOxiMlbVGjEVFGCvNdiSoVm8lZn55VuKeMnmBrr5aRmZqWIgGbi3H5eUDyW5/Mkn+BAbKdng4TF4sCcpZXiK".split(" ");
k=Gw.prototype;k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);this.Gb();this.F.enable(this.F.DEPTH_TEST);const a=mat4.create();mat4.identity(a);a[0]=this.slideWidth()/921.6;a[5]=this.slideHeight()/518.4;this.ta=mat4.multiply(this.ta,a,this.ta);this.ls=mat4.create();mat4.set(this.ta,this.ls)};k.uz=function(a){for(let b=0;b<a.length;b++){const c=a[b];c.n=kv(c.nl.position().Ye(c.Wp.position()),c.nl.position().Ye(c.Xp.position()));c.n.normalize()}};
function Jw(a,b,c){var d=eh(b);b=new sv;const e=[];let f;for(f=0;f<d.length;f+=4){var h=0;h|=d[f+0]<<24;h|=d[f+1]<<16;h|=d[f+2]<<8;h|=d[f+3];h>>>=0;e.push(new X(Kw((0==(h>>31&1)?1:-1)*((h&2145386496)>>21),460.8,11),Kw((0==(h>>20&1)?1:-1)*((h&1047552)>>10),275.3,11),Kw((0==(h>>9&1)?1:-1)*(h&511),211.2,10)))}for(f=0;f<e.length;f++)d=c?0:(e[f].x()+460.8)/921.6,h=c?0:(e[f].y()+259.2)/518.4,tv(b,new qv(new X(e[f].x(),-1*e[f].y(),-1*e[f].z()),new W(d,h),new X));c=[];for(f=0;f<Hw.length;f+=3)c.push(new Fw(b.ra[Hw[f]],
b.ra[Hw[f+1]],b.ra[Hw[f+2]]));a.uz(c);for(f=0;f<c.length;f++)a=c[f],lv(a.nl,a.nl.Zb.add(a.n)),lv(a.Wp,a.Wp.Zb.add(a.n)),lv(a.Xp,a.Xp.Zb.add(a.n));return b}function Kw(a,b,c){return a/((Math.pow(2,c-1)-1)/Math.round(10*b))/10}
k.Gb=function(){this.pd=Jw(this,"/+8MAP/rSADoi0gA6I8MANFLSADRTwwAuitIALovDACi60gAou8MAIurSACLrwwAC6tIAAuvDAAi60gAIu8MADorSAA6LwwAUUtIAFFPDABoi0gAaI8MAH/rSAD/54QA6IeEANFHhAC6J4QAoueEAIunhAALp4QAIueEADonhABRR4QAaIeEAH/nhAD/48AA6IPAANFDwAC6I8AAouPAAIujwAALo8AAIuPAADojwABRQ8AAaIPAAH/jwAD/4AAA6IAAANFAAAC6IAAAouAAAIugAAALoAAAIuAAADogAABRQAAAaIAAAH/gAAD/88AA6JPAANFTwAC6M8AAovPAAIuzwAALs8AAIvPAADozwABRU8AAaJPAAH/zwAD/94QA6JeEANFXhAC6N4QAoveEAIu3hAALt4QAIveEADo3hABRV4QAaJeEAH/3hAD/+0gA6JtIANFbSAC6O0gAovtIAIu7SAALu0gAIvtIADo7SABRW0gAaJtIAH/7SAD//wwA6J8MANFfDAC6PwwAov8MAIu/DAALvwwAIv8MADo/DABRXwwAaJ8MAH//DAB/7wwA",!1);
this.gf=new nv;var a=$u(this,uv(this.pd),3);this.gf.rd=a;a=$u(this,vv(this.pd),2);this.gf.vd=a;a=av(this,Hw);this.gf.hd=a;a=$u(this,wv(this.pd),3);this.gf.Ci=a};k.ze=function(){Yu(this,this.gf)};k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.4;\n\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\tvoid main(void)\n\t{\n\t\tfloat diffuseFactor = dot(normalize(vNormal), LIGHT_DIRECTION);\n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(diffuseFactor);\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec3 aVertexNormal;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\n\tuniform mat3 uNMatrix;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tvoid main(void)\n\t{\n\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\tvTextureCoord = aTextureCoord;\n\t\tvNormal = uNMatrix * normalize(aVertexNormal);\n\t}"};k.Je=function(){fv(this);this.Sg=gv(this,"aVertexNormal");this.Ec=hv(this,"uSampler")};
k.Ae=function(){Xu(this,this.Sg)};k.Nf=function(){return this.Ec};k.Cq=function(){return this.Sg};
k.$=function(a){var b=a/(.5/(Iw.length-1)),c=Math.floor(b);b-=c;c>Iw.length-1&&(c=Iw.length-1,b=0);if(0!=b||this.N()&&!this.yQ){if(this.DQ!=c){var d=c!=Iw.length-1?Iw[c+1]:null;this.EQ=Jw(this,Iw[c],!0);this.QI=null!=d?Jw(this,d,!0):null}for(d=0;d<this.pd.length();d++){const f=this.pd.ra[d];var e=this.EQ.ra[d];const h=null!=this.QI?this.QI.ra[d]:null;rv(f,e.position().clone());lv(f,e.Zb.clone());null!=h&&(e=new X,e.fi(f.position().x()+(h.position().x()-f.position().x())*b),e.Ef(f.position().y()+(h.position().y()-
f.position().y())*b),pv(e,f.position().z()+(h.position().z()-f.position().z())*b),rv(f,e),e=new X,e.fi(f.Zb.x()+(h.Zb.x()-f.Zb.x())*b),e.Ef(f.Zb.y()+(h.Zb.y()-f.Zb.y())*b),pv(e,f.Zb.z()+(h.Zb.z()-f.Zb.z())*b),lv(f,e))}this.yQ=!0;this.DQ=c}.5<a&&(c=12*this.slideHeight(),b=mat4.create(),mat4.identity(b),b[13]=Math.pow(a-.5,2)/2*c*-1,this.ta=mat4.multiply(this.ls,b,this.ta));mv(this);ev(this,this.gf,this.F.TRIANGLES,function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(uv(this.pd)))}.bind(this),
function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(wv(this.pd)))}.bind(this))};function Lw(a,b,c,d){Q.call(this,a);this.Na=c;this.G=b;this.mb=d;this.Na?this.ja(!1,!1,!0,!0,!1,!1):this.ja(!0,!0)}v(Lw,Q);
Lw.prototype.initialize=function(){S(this,!1);T(this,!1);const a=this.slideWidth(),b=this.slideHeight();this.sb=this.Na?this.Xj:this.X;this.rb=this.Na?this.yi:this.wa;var c=rd("DIV");this.Fj=rd("DIV");this.zj=U(a,b);G(this.zj,"backgroundColor","#000000");I(this.zj,0);this.Aj=U(a,b);G(this.Aj,"backgroundColor","#000000");I(this.Aj,0);this.Fj.appendChild(this.sb);this.Fj.appendChild(this.rb);this.Fj.appendChild(this.zj);this.Fj.appendChild(this.Aj);c.appendChild(this.Fj);if(this.Na){var d=this.P(),
e=this.fb().background();d.appendChild(e);d=this.P();e=this.sa().background();d.appendChild(e)}this.P().appendChild(c);try{fi(c,a+"px"),gi(c,a/2+"px "+b/2+"px"),ei(this.Fj,"preserve-3d")}catch(f){}G(this.sb,"position","absolute");G(this.rb,"position","absolute");G(this.zj,"position","absolute");G(this.Aj,"position","absolute");xh(this.Fj,a,b);xh(this.sb,a,b);xh(this.rb,a,b);d=c="";switch(this.G){case Mw:c="translateZ("+b/2+"px)";d="rotateX(90deg) translateZ("+b/2+"px)";break;case Nw:c="translateZ("+
b/2+"px)";d="rotateX(-90deg) translateZ("+b/2+"px)";break;case Ow:c="translateZ("+a/2+"px)";d="rotateY(90deg) translateZ("+a/2+"px)";break;case Pw:c="translateZ("+a/2+"px)",d="rotateY(-90deg) translateZ("+a/2+"px)"}J(this.sb,c);J(this.Aj,c);J(this.rb,d);J(this.zj,d)};
Lw.prototype.$=function(a){this.Na&&I(this.sa().background(),a);a=Bv(0,1,a);let b,c="",d="";const e=90*a;var f=-this.slideWidth()/2;const h=-this.slideHeight()/2,g=this.slideWidth()*(1-a)+f,l=this.slideHeight()*a+h;let n;switch(this.G){case Mw:n=Y(0,180*Math.atan(this.slideHeight()/(2*this.slideWidth()))/Math.PI,1,180*-Math.atan(this.slideHeight()/(2*this.slideWidth()))/Math.PI);b="translateY("+l+"px) rotateX("+-e+"deg) translateY("+-h+"px)  translateZ("+h+"px)";this.mb||(c="translate(0px, "+-h+"px) scale(1, "+
(1-a)+") translate(0px,"+h+"px)",d="translate(0px, "+l+"px) scale(1, "+a+") translate(0px,"+h+"px)");break;case Nw:n=Y(0,180*Math.atan(this.slideHeight()/(2*this.slideWidth()))/Math.PI,1,180*-Math.atan(this.slideHeight()/(2*this.slideWidth()))/Math.PI);b="translateY("+-l+"px) rotateX("+e+"deg) translateY("+h+"px)  translateZ("+h+"px)";this.mb||(c="translate(0px, "+h+"px) scale(1, "+(1-a)+") translate(0px,"+-h+"px)",d="translate(0px, "+-l+"px) scale(1, "+a+") translate(0px,"+-h+"px)");break;case Ow:n=
Y(0,180*Math.atan(.5)/Math.PI,1,180*-Math.atan(.5)/Math.PI);b="translateX("+g+"px) rotateY("+-e+"deg) translateX("+f+"px)  translateZ("+f+"px)";this.mb||(c="translate("+f+"px, 0px) scale("+(1-a)+", 1) translate("+-f+"px, 0px)",d="translate("+g+"px, 0px) scale("+a+", 1) translate("+-f+"px, 0px)");break;case Pw:n=Y(0,180*Math.atan(.5)/Math.PI,1,180*-Math.atan(.5)/Math.PI);b="translateX("+-g+"px) rotateY("+e+"deg) translateX("+-f+"px)  translateZ("+f+"px)";this.mb||(c="translate("+-f+"px, 0px) scale("+
(1-a)+", 1) translate("+f+"px, 0px)",d="translate("+-g+"px, 0px) scale("+a+", 1) translate("+f+"px, 0px)");break;default:throw Error("Unknown direction");}this.Na||(.5>a?(f=Y(0,90,45,0),f=.5*Math.sin(f(e)*Math.PI/180),I(this.zj,f)):(f=Y(45,0,90,90),f=.5*Math.sin(f(e)*Math.PI/180),I(this.Aj,f)));this.mb?(a=e-n(a),0>=a?(I(this.rb,0),I(this.zj,0)):90<=a?(I(this.sb,0),I(this.Aj,0)):(I(this.rb,1),I(this.sb,1)),J(this.Fj,b)):(J(this.sb,c),J(this.rb,d),J(this.Aj,c),J(this.zj,d))};var Nw=0,Mw=1,Ow=2,Pw=3;function Qw(a,b,c,d){d/=a-1;c/=b-1;const e=new sv,f=new X(0,0,1);for(let h=0;h<a;++h)for(let g=0;g<b;++g){const l=new qv(new X(g*c,-h*d,0),new W(g/(b-1),h/(a-1)),f);tv(e,l)}return e}function Rw(a,b,c,d){b/=14;a/=60;const e=new sv,f=new X(0,0,1);for(let h=0;15>h;++h)for(let g=c;g<d;++g){const l=new qv(new X(g*a,-h*b,0),new W(g/60,h/14),f);tv(e,l)}return e}
function Sw(a,b){const c=[];for(let d=0;d<a-1;++d)for(let e=0;e<b;++e)c.push(e+d*b),c.push(e+(d+1)*b),e==b-1&&d!=a-2&&(c.push(e+(d+1)*b),c.push((d+1)*b));return c}function Tw(a,b){const c=[];for(let d=0;d<a-1;++d)for(let e=0;e<b;++e)c.push(e+(d+1)*b),c.push(e+d*b),e==b-1&&d!=a-2&&(c.push(e+d*b),c.push((d+2)*b));return c};function Uw(a){Q.call(this,a);this.ja(!1,!0)}v(Uw,Su);k=Uw.prototype;k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);this.Gb();mat4.translate(this.ta,[-this.slideWidth()/2,this.slideHeight()/2,0]);mv(this)};k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tvoid main(void)\n\t{\n\t\tvec3 n = normalize(vNormal);\n\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0);\n\t\tfloat directionalLightWeighting = abs(dot(n, lightingDirection));\n\t\tfloat intentsity = 0.7 + 0.3 * directionalLightWeighting;\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\tuniform bool uLeftCurtain;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tconst float WAVES_COUNT = 10.0;\n\tconst float MIN_AMP_KOEF = 0.5;\n\tconst float WAVE_APPEAR_DURATION = 0.1;\n\tconst float WAVES_START_APPEAR_PHASE = 0.075;\n\tconst float WAVES_READY_PHASE = 0.275;\n\tconst float STRETCH_KOEF = 1.25;\n\tconst float MAX_CORNER_BOUNCE_AT_START_KOEF = 1.5;\n\tconst float MAX_CORNER_BOUNCE_AT_END_KOEF = 3.5;\n\tconst float DELTA_W = 1.0;\n\tconst float DELTA_H = 1.0;\n\tconst float PI = 3.14159265358979323846264;\n\n\tfloat sinX;\n\tfloat waveStartAppearTime;\n\tfloat rowRatio;\n\tfloat diagonalRatio;\n\tfloat forcedXPath;\n\tfloat xDampAmp;\n\tfloat yAmp;\n\tvec4 xTimesPart1;\n\tvec4 xTimesPart2;\n\tvec2 xTimesPart3;\n\tvec4 yTimesPart1;\n\tvec3 yTimesPart2;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\n\tfloat calcAmpKoef(float x)\n\t{\n\t\tconst float X0 = 0.0;\n\t\tconst float X1 = 0.5;\n\t\tconst float X2 = 1.0;\n\n\t\tconst float Y0 = 0.25;\n\t\tconst float Y1 = 0.16;\n\t\tconst float Y2 = 0.0;\n\n\t\tfloat part1 = (x - X1) * (x - X2) * Y0 / (X0 - X1) / (X0 - X2);\n\t\tfloat part2 = (x - X0) * (x - X2) * Y1 / (X1 - X0) / (X1 - X2);\n\t\tfloat part3 = (x - X0) * (x - X1) * Y2 / (X2 - X0) / (X2 - X1);\n\n\t\treturn part1 + part2 + part3;\n\t}\n\n\tfloat smoothStep(float min, float max, float x)\n\t{\n\t\tif (x < min)\n\t\t{\n\t\t\treturn 0.0;\n\t\t}\n\t\tif (x >= max)\n\t\t{\n\t\t\treturn 1.0;\n\t\t}\n\n\t\tfloat value = (x - min) / (max - min);\n\t\tfloat squaredValue = value * value;\n\n\t\treturn -2.0 * squaredValue * value + 3.0 * squaredValue;\n\t}\n\n\tfloat calcAmp()\n\t{\n\t\tfloat periodKoef = linearInterpolation(uPhase, waveStartAppearTime, 1.0, waveStartAppearTime + WAVE_APPEAR_DURATION, MIN_AMP_KOEF);\n\t\tperiodKoef = clamp(periodKoef, MIN_AMP_KOEF, 1.0);\n\n\t\treturn calcAmpKoef(periodKoef) * uSlideWidth / WAVES_COUNT;\n\t}\n\n\tfloat calcX()\n\t{\n\t\tfloat forcedX = smoothStep(xTimesPart1.x, xTimesPart1.y, uPhase) * forcedXPath + smoothStep(xTimesPart1.z, xTimesPart1.w, uPhase) * 0.75;\n\t\tfloat dampAmpKoef = (uPhase <= xTimesPart2.w + 0.35) ? 1.0 : (diagonalRatio == 0.0 ? 1.0 : diagonalRatio);\n\t\tfloat stretchWidth = smoothStep(xTimesPart2.w, xTimesPart3.x, uPhase);\n\t\tfloat compressionWidth = smoothStep(xTimesPart3.x, xTimesPart3.y, uPhase);\n\t\tfloat deltaWidthKoef = (linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, compressionWidth) - linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, stretchWidth)) * STRETCH_KOEF;\n\n\t\tfloat dampX = smoothStep(xTimesPart2.x, xTimesPart2.y, uPhase);\n\t\tdampX -= smoothStep(xTimesPart2.y, xTimesPart2.z, uPhase) * 1.25;\n\t\tdampX += deltaWidthKoef;\n\n\t\treturn (forcedX + dampX * xDampAmp / dampAmpKoef) * uSlideWidth;\n\t}\n\n\tfloat calcY(vec3 vertex)\n\t{\n\t\tfloat cornerBounceAtStartKoef = linearInterpolation(uPhase, yTimesPart1.y, 0.0, yTimesPart1.z, MAX_CORNER_BOUNCE_AT_START_KOEF);\n\t\tfloat x0 = uLeftCurtain ? uSlideWidth * 0.25 : uSlideWidth * 0.5;\n\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth * 0.75;\n\t\tfloat fx0 = uLeftCurtain ? cornerBounceAtStartKoef : MAX_CORNER_BOUNCE_AT_START_KOEF;\n\t\tfloat fx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_START_KOEF: cornerBounceAtStartKoef ;\n\t\tfloat colBounceAtStartKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1);\n\t\tcolBounceAtStartKoef = clamp(colBounceAtStartKoef, 0.0, MAX_CORNER_BOUNCE_AT_START_KOEF);\n\n\t\tfloat cornerBounceAtEndKoef = linearInterpolation(uPhase, yTimesPart2.y, 0.0, yTimesPart2.z, MAX_CORNER_BOUNCE_AT_END_KOEF);\n\t\tx0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5;\n\t\tx1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth;\n\t\tfx0 = uLeftCurtain ? cornerBounceAtEndKoef : MAX_CORNER_BOUNCE_AT_END_KOEF;\n\t\tfx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_END_KOEF: cornerBounceAtEndKoef ;\n\t\tfloat colBounceAtEndKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1);\n\n\t\tfloat y0 = -smoothStep(yTimesPart1.x, yTimesPart1.y, uPhase) * colBounceAtStartKoef;\n\t\ty0 += smoothStep(yTimesPart1.y, yTimesPart1.z, uPhase) * MAX_CORNER_BOUNCE_AT_START_KOEF;\n\t\ty0 -= smoothStep(yTimesPart1.z, yTimesPart1.w, uPhase) * 0.25;\n\t\ty0 += smoothStep(yTimesPart1.w, yTimesPart2.x, uPhase) * 0.25;\n\t\ty0 -= smoothStep(yTimesPart2.x, yTimesPart2.y, uPhase) * colBounceAtEndKoef;\n\t\ty0 += smoothStep(yTimesPart2.y, yTimesPart2.z, uPhase) * (MAX_CORNER_BOUNCE_AT_END_KOEF + 1.0);\n\n\t\treturn (y0 * yAmp + rowRatio) * uSlideHeight;\n\t}\n\n\tvec3 getVertexPosition(vec3 vertex)\n\t{\n\t\tfloat amp = calcAmp();\n\t\tfloat z = -amp * sinX;\n\t\tfloat xKoef = uLeftCurtain ? 1.0 : -1.0;\n\n\t\treturn vec3(vertex.x - calcX() * xKoef, -calcY(vertex), z);\n\t}\n\n\tvoid initVertexParams(vec3 vertex)\n\t{\n\t\tfloat periodWidth = uSlideWidth / WAVES_COUNT;\n\t\tfloat frequency = PI * 2.0 / periodWidth;\n\t\tsinX = sin(frequency * vertex.x);\n\n\t\trowRatio = vertex.y / uSlideHeight;\n\n\t\tfloat halfRowRatio = rowRatio * 0.5;\n\t\tfloat halfSquaredRowRatio = rowRatio * halfRowRatio;\n\n\t\tfloat maxDT = 0.1;\n\t\tfloat dtAmp = 2.0 * maxDT;\n\t\tfloat dt = dtAmp * halfRowRatio;\n\n\t\tfloat distT = (0.6 - dt);\n\n\t\tfloat xT1 = dt;\n\t\tfloat xT2 = 0.4 + dt;\n\t\tfloat xT3 = xT2 + distT * 0.5;\n\t\tfloat xT4 = 1.0 + (1.0 - xT3);\n\n\t\tfloat xDampT1 = (xT1 + xT2) * 0.45;\n\t\tfloat xDampT2 = xT2;\n\t\tfloat xDampT3 = xT3;\n\t\tfloat xDampT4 = xDampT2 + (xDampT3 - xDampT2) * 0.5;\n\t\tfloat xDampT5 = xDampT3 + 0.075;\n\t\tfloat xDampT6 = 1.0;\n\n\t\tdistT = (0.7 - dt);\n\n\t\tfloat yT2 = 0.3 + dt;\n\t\tfloat yT3 = yT2 + distT * 0.5;\n\n\t\tfloat yDampT1 = 0.0;\n\t\tfloat yDampT2 = (yDampT1 * 2.0 + 0.35) * 0.5;\n\t\tfloat yDampT3 = yT2;\n\t\tfloat yDampT4 = (yT2 + yT2 + yT3) / 3.0;\n\t\tfloat yDampT5 = (yT2 + yT3 + yT3) / 3.0;\n\t\tfloat yDampT6 = yT3 + 0.1175;\n\t\tfloat yDampT7 = 1.0;\n\n\t\txTimesPart1 = vec4(xT1, xT2, xT3 - 0.125, xT4);\n\t\txTimesPart2 = vec4(xDampT1, xDampT2, xDampT3, xDampT4);\n\t\txTimesPart3 = vec2(xDampT5, xDampT6);\n\n\t\tyTimesPart1 = vec4(yDampT1 + 0.05, yDampT2, yDampT3, yDampT4);\n\t\tyTimesPart2 = vec3(yDampT5, yDampT6, yDampT7);\n\n\t\twaveStartAppearTime = linearInterpolation(vertex.y, 0.0, WAVES_START_APPEAR_PHASE, uSlideHeight, WAVES_READY_PHASE - WAVE_APPEAR_DURATION);\n\n\t\tfloat colRatio = (uLeftCurtain ? vertex.x : uSlideWidth - vertex.x)  / (uSlideWidth * 0.5);\n\t\tdiagonalRatio = (colRatio + rowRatio) * 0.5;\n\n\t\tfloat x0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5;\n\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth;\n\t\tfloat fx0 = uLeftCurtain ? 0.2 : 0.0;\n\t\tfloat fx1 = uLeftCurtain ? 0.0 : 0.2;\n\t\tforcedXPath = 0.2 * (colRatio + linearInterpolation(vertex.x, x0, fx0, x1, fx1));\n\n\t\tfloat mxDampAmp = 0.1 * diagonalRatio;\n\t\tfloat dampAcc = 2.0 * mxDampAmp;\n\t\txDampAmp = dampAcc * halfRowRatio;\n\n\t\tfloat maxYAmp = 0.02;\n\t\tfloat dyAmp = 2.0 * maxYAmp * diagonalRatio * rowRatio;\n\t\tyAmp = dyAmp * halfSquaredRowRatio;\n\t}\n\n\tvec3 getVertexNormal(vec3 vertex, vec3 p)\n\t{\n\t\tbool rightSideXPos = vertex.x == (uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth);\n\t\tfloat deltaWidth = rightSideXPos ? -DELTA_W : DELTA_W;\n\n\t\tvec3 rightVertex = vec3(vertex.x + deltaWidth, vertex.y, vertex.z);\n\t\tinitVertexParams(rightVertex);\n\t\tvec3 right = getVertexPosition(rightVertex);\n\n\t\tvec3 downVertex = vec3(vertex.x, vertex.y + DELTA_H, vertex.z);\n\t\tinitVertexParams(downVertex);\n\t\tvec3 down = getVertexPosition(downVertex);\n\n\t\tvec3 v1 = vec3(right.x - p.x, right.y - p.y, right.z - p.z);\n\t\tvec3 v2 = vec3(down.x - p.x, down.y - p.y, down.z - p.z);\n\n\t\tvec3 n = rightSideXPos ? cross(v1, v2) : cross(v2, v1);\n\t\tn = normalize(n);\n\n\t\treturn n;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\tinitVertexParams(vertex);\n\t\tvec3 p = getVertexPosition(vertex);\n\n\t\tvec3 pNormal = getVertexNormal(vertex, p);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\n\t\tif (vertex.y == 0.0)\n\t\t{\n\t\t\tfloat maxDY = calcAmpKoef(MIN_AMP_KOEF) * uSlideWidth / WAVES_COUNT * 0.4;\n\t\t\tp.y += max(0.0, min(maxDY, linearInterpolation(uPhase, WAVES_START_APPEAR_PHASE, 0.0, WAVES_START_APPEAR_PHASE + WAVE_APPEAR_DURATION, maxDY)));\n\t\t}\n\t\tgl_Position = uPMVMatrix * vec4(p, 1.0);\n\t}"};
k.DF=function(){if(void 0!==this.rk)return this.rk;this.Ll();return this.rk=this.rk};k.Ll=function(){void 0===this.F&&Uw.Ua.Ll.call(this)};k.$=function(a){this.F.uniform1f(this.qd,a);this.YG=!0;ev(this,this.Wq,this.F.TRIANGLE_STRIP);this.YG=!1;ev(this,this.Hr,this.F.TRIANGLE_STRIP)};
k.Je=function(){fv(this);this.Ec=hv(this,"uSampler");this.qd=hv(this,"uPhase");this.JQ=hv(this,"uLeftCurtain");const a=hv(this,"uSlideWidth");this.F.uniform1f(hv(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(a,this.slideWidth())};k.ze=function(){Yu(this,this.Wq);Yu(this,this.Hr)};k.Ae=function(){};k.lz=function(){this.F.uniform1i(this.JQ,this.YG?1:0)};
k.Gb=function(){var a=this.slideWidth();const b=this.slideHeight();this.mI=Rw(a,b,0,31);this.PK=Rw(a,b,30,61);this.pc=Sw(15,31);this.Wq=new nv;a=$u(this,uv(this.mI),3);this.Wq.rd=a;a=$u(this,vv(this.mI),2);this.Wq.vd=a;a=av(this,this.pc);this.Wq.hd=a;this.Hr=new nv;a=$u(this,uv(this.PK),3);this.Hr.rd=a;a=$u(this,vv(this.PK),2);this.Hr.vd=a;a=av(this,this.pc);this.Hr.hd=a};k.Nf=function(){return this.Ec};function Vw(a){Q.call(this,a);this.sa().zd();this.Gc=!1}v(Vw,Q);Vw.prototype.initialize=function(){S(this,!0);T(this,!0)};Vw.prototype.$=function(a){.3>a?I(this.sa().slide(),0):I(this.sa().slide(),1)};function Ww(a){Q.call(this,a);this.sa().zd();this.Gc=!1}v(Ww,Q);Ww.prototype.initialize=function(){S(this,!0);T(this,!0);this.Bd=document.createElement("div");yh(this.Bd,this.slideWidth());zh(this.Bd,this.slideHeight());G(this.Bd,"backgroundColor","#000000");G(this.Bd,"position","relative");this.P().appendChild(this.Bd)};Ww.prototype.$=function(a){.5>a?(I(this.sa().slide(),0),I(this.Bd,0)):.8>a?I(this.Bd,1):(I(this.Bd,0),I(this.sa().slide(),1))};function Xw(a){Q.call(this,a);this.Gc=!1;this.ja(!1,!0);this.iB=0;a=this.slideWidth();const b=this.slideHeight(),c=Yw!=a||Zw!=b;if(!$w||c)$w=[],Yw=a,Zw=b,ax(a,b)}var $w,Yw,Zw;v(Xw,Q);Xw.prototype.initialize=function(){S(this,!1);T(this,!0);const a=this.X;this.P().appendChild(a);this.lr=U(this.slideWidth(),this.slideHeight());this.lr.getContext("2d").drawImage(a,0,0)};
function ax(a,b){var c=$w;a/=54;const d=b/42;let e=0,f=0;for(b=0;54>b;++b){f=0;const h=Math.round((b+1)*a)-e,g=e;for(let l=0;42>l;++l){const n=Math.round((l+1)*d)-f,m=new bx(g,f,h,n);m.jl=Math.random();c.push(m);f+=n}e+=h}c.sort(function(h,g){return h.jl<g.jl?-1:h.jl>g.jl?1:0});a=c.length;for(b=0;b<a;++b)c[b].jl=.9*b/(a-1)}
Xw.prototype.$=function(a){const b=$w,c=this.X.getContext("2d"),d=b.length;for(var e=this.iB;e<d;++e){var f=b[e];if(a<f.jl)break;var h=f.x,g=f.y,l=f.width;f=f.height;c.drawImage(this.lr,h,g,l,f,h,g,l,f)}c.save();c.globalCompositeOperation="destination-out";for(e=this.iB;e<d;++e){f=b[e];h=f.jl;g=a-h;l=10*g;if(a<h)break;.1<=g&&(this.iB=e);c.fillStyle="rgba(0, 0, 0, "+Sm(l)+")";c.fillRect(f.x,f.y,f.width,f.height)}c.restore()};Xw.prototype.N=function(){return!1};
function bx(a,b,c,d){this.x=a;this.y=b;this.width=c;this.height=d;this.jl=0};function cx(a,b,c,d){Q.call(this,a);this.Z=b;this.Na=c;this.pz=d;this.Na?(this.Gc=!1,this.ja(!1,!1,!0,!0,!1,!1)):this.ja(!0,!0)}v(cx,Q);cx.prototype.initialize=function(){S(this,!1);T(this,!1);this.ui()};
cx.prototype.$=function(a){this.Na&&(I(this.fb().background(),1-a),I(this.sa().background(),a));var b=this.slideWidth();b/=b+(1.4-2.8*a*a*.5)*b;b=this.Na?this.pz?Rv(0,.7,4,b):Qv(b):b;J(this.vh,"scale("+b+", "+b+")");b=this.slideWidth()/2;const c=this.slideHeight()/2;let d="",e="",f=0,h=0,g=0,l=0;const n=120*a,m=Y(0,1,1,.5),p=1.5*Bv(0,1,a);switch(this.Z){case dx:d="translateX("+-b+"px) translateZ("+p*this.slideWidth()+"px) rotateY("+n+"deg) translateX("+b+"px)";e="translateX("+b+"px) translateZ("+
p*this.slideWidth()+"px) rotateY("+-n+"deg) translateX("+-b+"px)";this.mb||(f=a*-b,h=a*b,d="translate("+-b+"px, 0px) scale("+m(a)+", 1) translate("+b+"px, 0px",e="translate("+b+"px, 0px) scale("+m(a)+", 1) translate("+-b+"px, 0px");break;case ex:d="translateY("+-c+"px) translateZ("+p*this.slideHeight()+"px) rotateX("+-n+"deg) translateY("+c+"px)",e="translateY("+c+"px) translateZ("+p*this.slideHeight()+"px) rotateX("+n+"deg) translateY("+-c+"px)",this.mb||(g=a*-c,l=a*c,d="translate(0px,"+-c+"px) scale(1, "+
m(a)+") translate(0px, "+c+"px)",e="translate(0px, "+c+"px) scale(1, "+m(a)+") translate(0px, "+-c+"px)")}this.mb||(qh(this.Wl,f,g),qh(this.Xl,h,l));J(this.Wl,d);J(this.Xl,e);I(this.Wl,1-a);I(this.Xl,1-a)};
cx.prototype.ui=function(){const a=this.slideWidth(),b=this.slideHeight();if(this.Na){var c=this.P(),d=this.sa().background();c.appendChild(d)}this.vh=U(a,b);G(this.vh,"position","absolute");this.P().appendChild(this.vh);this.Na&&(c=this.P(),d=this.fb().background(),c.appendChild(d));this.vh.getContext("2d").drawImage(this.Na?this.yi:this.wa,0,0);this.Wl=U(a,b);c=this.Wl.getContext("2d");this.Xl=U(a,b);d=this.Xl.getContext("2d");var e=rd("DIV");this.P().appendChild(e);e.appendChild(this.Wl);e.appendChild(this.Xl);
try{fi(e,a+"px"),gi(e,a/2+"px "+b/2+"px"),ei(this.Wl,"preserve-3d"),ei(this.Xl,"preserve-3d"),this.mb=!0}catch(f){this.mb=!1}G(this.Wl,"position","absolute");G(this.Xl,"position","absolute");c.clearRect(0,0,a,b);d.clearRect(0,0,a,b);e=this.Na?this.Xj:this.X;switch(this.Z){case dx:c.drawImage(e,0,0,a/2,b,0,0,a/2,b);d.drawImage(e,a/2,0,a/2,b,a/2,0,a/2,b);break;case ex:c.drawImage(e,0,0,a,b/2,0,0,a,b/2),d.drawImage(e,0,b/2,a,b/2,0,b/2,a,b/2)}};var dx=0,ex=1;function fx(a,b){Q.call(this,a);this.G=b;this.ja(!0,!1)}v(fx,Su);k=fx.prototype;k.initialize=function(){S(this,!0);T(this,!1);Vu(this,this.wa);this.Gb();mat4.translate(this.ta,[-this.slideWidth()/2,this.slideHeight()/2,0]);mv(this)};k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.4;\n\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\tvoid main(void)\n\t{\n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform bool uDirectionIsLeft;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tconst float TIME_1 = 0.2;\n\tconst float TIME_2 = 0.6;\n\tconst float TIME_3 = 0.7;\n\tconst float TIME_4 = 0.8;\n\n\tconst float START_PHASE = 0.3;\n\tconst float END_PHASE = 0.7;\n\n\tconst float ANGLE_1 = 0.0;\n\tconst float ANGLE_2 = -180.0;\n\tconst float ANGLE_3 = ANGLE_2 - 20.0;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\n\tvec3 ellipse(float angle, vec3 pos, vec2 center, vec2 radius)\n\t{\n\t\tfloat ang = radians(angle);\n\t\treturn vec3(pos.x, center.x + radius.x * cos(ang), -(center.y + radius.y * sin(ang)));\n\t}\n\n\tfloat goBack(float y, float phase, float constAngleTime)\n\t{\n\t\tfloat time = linearInterpolation(y, 0.0, TIME_3, uSlideHeight, TIME_4);\n\n\t\tif (phase > time)\n\t\t{\n\t\t\treturn linearInterpolation(phase, time, ANGLE_3, 1.0, ANGLE_2);\n\t\t}\n\t\tfloat angle = linearInterpolation(phase, constAngleTime, ANGLE_2, time, ANGLE_3);\n\t\treturn angle;\n\t}\n\n\tfloat getRowAngleByPhase(vec3 pos, float phase)\n\t{\n\t\tconst float HORIZONTAL_DELAY = 0.05;\n\t\tfloat colDelay = uDirectionIsLeft\n\t\t\t? linearInterpolation(pos.x, 0.0, 0.0, uSlideWidth, HORIZONTAL_DELAY)\n\t\t\t: linearInterpolation(pos.x, 0.0, HORIZONTAL_DELAY, uSlideWidth, 0.0);\n\n\t\tphase = linearInterpolation(phase, 0.0, colDelay, 1.0, 1.0);\n\n\t\tfloat constAngleTime = linearInterpolation(pos.y, 0.0, TIME_2, uSlideHeight, TIME_1);\n\t\tif (phase > constAngleTime)\n\t\t{\n\t\t\treturn goBack(pos.y, phase, constAngleTime);\n\t\t}\n\n\t\tfloat angle = linearInterpolation(phase, 0.0, ANGLE_1, constAngleTime, ANGLE_2);\n\t\treturn angle;\n\t}\n\n\tvec3 getVertexPosition(float phase, vec3 pos)\n\t{\n\t\tfloat R_1 = uSlideHeight;\n\t\tfloat R_2 = uSlideHeight * 0.25;\n\t\tvec2 r = vec2(linearInterpolation(pos.y, 0.0, R_1, uSlideHeight, 0.0), linearInterpolation(pos.y, 0.0, R_2, uSlideHeight, 0.0));\n\n\t\tfloat angle = getRowAngleByPhase(pos, phase);\n\t\tvec3 v = ellipse(angle, pos, vec2(0.0, 0.0), r);\n\t\treturn v;\n\t}\n\tvec3 getVertexNormal(float phase, vec3 pos)\n\t{\n\t\tconst float DELTA_W = 1.0;\n\t\tconst float DELTA_H = 1.0;\n\n\t\tfloat deltaWidth = (pos.x == uSlideWidth) ? -DELTA_W : DELTA_W;\n\t\tfloat deltaHeight = (pos.y == uSlideHeight) ? -DELTA_H : DELTA_H;\n\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\n\t\tvec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\n\t\treturn normalize(n);\n\t}\n\n\tvoid main(void)\n\t{\n\t\tfloat phase = uPhase;\n\t\tif (phase < START_PHASE)\n\t\t{\n\t\t\tphase = 0.0;\n\t\t}\n\t\telse if (phase > END_PHASE)\n\t\t{\n\t\t\tphase = 1.0;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tphase = linearInterpolation(phase, START_PHASE, 0.0, END_PHASE, 1.0);\n\t\t}\n\t\t\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0);\n\t\tgl_Position = uPMVMatrix * p;\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 pNormal = getVertexNormal(phase, vertex);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}"};
k.$=function(a){this.F.uniform1f(this.qd,a);ev(this,this.vq,this.F.TRIANGLE_STRIP)};k.Je=function(){fv(this);this.Ec=hv(this,"uSampler");this.qd=hv(this,"uPhase");const a=hv(this,"uDirectionIsLeft"),b=hv(this,"uSlideWidth");this.F.uniform1f(hv(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(b,this.slideWidth());this.F.uniform1i(a,this.G==gx?1:0)};k.Ae=function(){};
k.Gb=function(){this.nd=Qw(30,30,this.slideWidth(),this.slideHeight());this.pc=this.G==gx?Tw(30,30):Sw(30,30);this.vq=new nv;var a=$u(this,uv(this.nd),3);this.vq.rd=a;a=$u(this,vv(this.nd),2);this.vq.vd=a;a=av(this,this.pc);this.vq.hd=a};k.Jq=function(a){this.Xr=Zu(this,this.F.TEXTURE0,this.Nf(),0,a,this.hA.bind(this))};k.ze=function(){Yu(this,this.vq)};k.hA=function(a,b,c,d){a.translate(0,d);a.scale(1,-1);a.drawImage(b,0,0,c,d)};k.Nf=function(){return this.Ec};var gx=0;function ps(a){Q.call(this,a)}v(ps,Q);function hx(a){Q.call(this,a);this.sa().zd();this.Gc=!1}v(hx,Q);hx.prototype.initialize=function(){};hx.prototype.$=function(a){I(this.sa().slide(),a)};function ix(a){Q.call(this,a);this.sa().zd()}v(ix,Q);ix.prototype.initialize=function(){S(this,!0);this.Gc=!1;this.Bd=document.createElement("div");yh(this.Bd,this.slideWidth());zh(this.Bd,this.slideHeight());G(this.Bd,"backgroundColor","#000000");G(this.Bd,"position","relative");this.P().appendChild(this.Bd)};ix.prototype.$=function(a){.5>a?(I(this.Bd,1-2*(.5-a)),T(this,!1)):(I(this.Bd,1-2*(a-.5)),T(this,!0))};function jx(a,b){Q.call(this,a);this.G=b;this.ja(!1,!0)}v(jx,Su);k=jx.prototype;k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);this.Gb();mat4.translate(this.ta,[-this.slideWidth()/2,-this.slideHeight()/2,0]);mv(this)};k.Ce=function(){return"precision mediump float; \n\n\tvarying vec2 vTextureCoord; \n\tvarying vec3 vNormal; \n\n\tuniform sampler2D uSampler; \n\n\tvoid main(void)  \n\t{ \n\t\tvec3 n = normalize(vNormal); \n\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0); \n\t\tfloat directionalLightWeighting = dot(n, lightingDirection); \n\t\tfloat intentsity = 0.55 + 0.45 * directionalLightWeighting; \n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform bool uDirectionIsLeft;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tconst float DELAY_ANGLE = 5.0;\n\tconst float SLIDE_WIDTH_KOEF = 0.2;\n\tconst float PI = 3.14159265358979323846264;\n\tconst vec2 CENTER = vec2(0.0, 0.0);\n\tconst float DELTA_W = 0.5;\n\tconst float DELTA_H = 0.5;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\n\tvec2 ellipse(float angle, vec2 center, vec2 radius)\n\t{\n\t\tfloat ang = radians(angle);\n\t\treturn vec2((center.x + radius.x * cos(ang)), -(center.y + radius.y * sin(ang)));\n\t}\n\n\tfloat accelerationFunc(float progress)\n\t{\n\t\tfloat a = 3.0;\n\t\tfloat b = 1.0;\n\t\tfloat c = 1.0;\n\t\tfloat d = 1.0;\n\n\t\tfloat squaredProgress = progress * progress;\n\t\treturn a * squaredProgress * progress + b * squaredProgress + c * progress + d;\n\t}\n\n\tfloat getRowAngleByPhase(vec3 vertex)\n\t{\n\t\tfloat endAngle = atan(uSlideHeight * 0.5 / max(uSlideWidth, uSlideHeight)) * 180.0 / PI + 90.0 + DELAY_ANGLE * 4.0;\n\n\t\tfloat a = -0.6;\n\t\tfloat b = 2.0 + a;\n\n\t\tfloat phase = linearInterpolation(uPhase, 0.0, a, 1.0, b);\n\t\tphase = accelerationFunc(phase);\n\n\t\tfloat angle = linearInterpolation(phase, accelerationFunc(a), 0.0, accelerationFunc(b), endAngle);\n\t\tfloat rowDelayAngle = linearInterpolation(vertex.y, 0.0, DELAY_ANGLE, uSlideHeight, 0.0);\n\t\tfloat extraAngle = linearInterpolation(uPhase, 0.5, 0.0, 0.8, DELAY_ANGLE);\n\t\tfloat maxDelayAngle = DELAY_ANGLE + max(0.0, min(DELAY_ANGLE, extraAngle));\n\t\tfloat colAngle = uDirectionIsLeft\n\t\t\t? linearInterpolation(vertex.x, 0.0, maxDelayAngle * 0.5, uSlideWidth, maxDelayAngle)\n\t\t\t: linearInterpolation(vertex.x, 0.0, maxDelayAngle, uSlideWidth, maxDelayAngle * 0.5);\n\n\t\tfloat colDelayAngle = uDirectionIsLeft\n\t\t\t? linearInterpolation(vertex.x, 0.0, 0.0, uSlideWidth, colAngle)\n\t\t\t: linearInterpolation(vertex.x, 0.0, colAngle, uSlideWidth, 0.0);\n\n\n\t\treturn max(0.0, angle - rowDelayAngle - colDelayAngle);\n\t}\n\n\tvec3 getVertexPosition(vec3 vertex)\n\t{\n\t\tfloat maxXRadius = uSlideHeight;\n\t\tfloat maxYRadius = sqrt(uSlideWidth * SLIDE_WIDTH_KOEF * uSlideWidth * SLIDE_WIDTH_KOEF + uSlideHeight * uSlideHeight);\n\n\t\tfloat xRadius = linearInterpolation(vertex.y, 0.0, maxXRadius, uSlideHeight, 0.0);\n\t\tfloat yRadius = linearInterpolation(vertex.y, 0.0, maxYRadius, uSlideHeight, 0.0);\n\n\t\treturn vec3(vertex.x, ellipse(getRowAngleByPhase(vertex), CENTER, vec2(xRadius, yRadius)));\n\t}\n\n\tvec3 getVertexNormal(vec3 pos, vec3 p)\n\t{\n\t\tbool rightSideXPos = pos.x == uSlideWidth;\n\t\tfloat deltaWidth = rightSideXPos ? -DELTA_W : DELTA_W;\n\n\t\tvec3 right = getVertexPosition(vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(vec3(pos.x, pos.y + DELTA_H, pos.z));\n\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\n\t\tvec3 n = rightSideXPos ? cross(v1, v2) : cross(v2, v1);\n\t\tn = normalize(n);\n\n\t\treturn n;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\tvec4 p = vec4(getVertexPosition(vertex), 1.0);\n\t\tgl_Position = uPMVMatrix * p;\n\n\t\tvec3 pNormal = getVertexNormal(vertex, vec3(p.xyz));\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}"};
k.$=function(a){this.F.uniform1f(this.qd,a);ev(this,this.od,this.F.TRIANGLE_STRIP)};k.Je=function(){fv(this);this.Ec=hv(this,"uSampler");this.qd=hv(this,"uPhase");const a=hv(this,"uDirectionIsLeft"),b=hv(this,"uSlideWidth");this.F.uniform1f(hv(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(b,this.slideWidth());this.F.uniform1i(a,0==this.G?1:0)};k.Ae=function(){};k.ze=function(){Yu(this,this.od)};
k.Gb=function(){var a=this.slideWidth();const b=this.slideHeight();this.nd=Qw(15,15,a,b);this.pc=Sw(15,15);this.od=new nv;a=$u(this,uv(this.nd),3);this.od.rd=a;a=$u(this,vv(this.nd),2);this.od.vd=a;a=av(this,this.pc);this.od.hd=a};k.Nf=function(){return this.Ec};function kx(a,b){Q.call(this,a);this.G=b;this.ja(!1,!1,!0,!0,!0,!0)}v(kx,Q);k=kx.prototype;
k.initialize=function(){S(this,!1);T(this,!1);const a=this.slideWidth(),b=this.slideHeight();var c=U(a,b);G(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.wv,0,0);this.Sl=c;c=U(a,b);G(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.Bv,0,0);this.Ul=c;this.wc=this.Wa(a,b);this.P().appendChild(this.wc);var d=U(a,b);c=U(a,b);this.Jw=this.Wa(a,b);this.$d=this.Wa(a,b);this.Zd=this.Wa(a,b);this.$d.appendChild(d);this.Zd.appendChild(c);
this.wc.appendChild(this.Jw);this.Jw.appendChild(this.$d);this.Jw.appendChild(this.Zd);d=d.getContext("2d");c=c.getContext("2d");d.drawImage(this.Xj,0,0);c.drawImage(this.yi,0,0);fi(this.wc,Math.max(a,b)+"px");gi(this.wc,a/2+"px "+b/2+"px");ei(this.Jw,"preserve-3d")};
k.$=function(a){const b=this.slideWidth(),c=this.slideHeight();I(this.Ul,1-a);I(this.Sl,a);a=Bv(0,1,a);const d=this.G==lx?1:-1,e=d*this.IO*b*(1-a),f=-this.JO*c*(1-a),h=-Math.max(b,c)*(1-a),g=-this.UF*(1-a),l=-d*this.VF*(1-a),n=d*this.KO*(1-a);J(this.$d,"translateZ("+Math.max(b,c)*a+"px) translateY("+c*a+"px) translateX("+-d*this.LO*b*a+"px) rotateX("+this.UF*a+"deg) rotateY("+d*this.VF*a+"deg) rotateZ("+-d*this.MO*a+"deg)");J(this.Zd,"translateZ("+h+"px) translateY("+f+"px) translateX("+e+"px) rotateX("+
g+"deg) rotateY("+l+"deg) rotateZ("+n+"deg)")};k.Wa=function(a,b){const c=A("DIV");yh(c,a);zh(c,b);G(c,"position","absolute");return c};k.LO=.1;k.IO=.5;k.JO=1.75;k.KO=30;k.MO=10;k.UF=80;k.VF=30;var lx=1;function mx(a){Q.call(this,a);this.Gc=!1;this.ja(!0,!0)}v(mx,Q);mx.prototype.initialize=function(){this.Fw=!1;S(this,!1);T(this,!1);const a=this.slideWidth(),b=this.slideHeight(),c=this.wa,d=this.X;G(c,"position","absolute");G(d,"position","absolute");var e=this.P(),f=this.N()?d:c;e.appendChild(f);e=this.P();f=this.N()?c:d;e.appendChild(f);this.lr=U(a,b);e=this.lr.getContext("2d");this.OI=U(a,b);this.OI.getContext("2d").drawImage(c,0,0);e.drawImage(d,0,0)};
mx.prototype.$=function(a){const b=this.wa,c=this.X;.2>a?(!this.Fw&&this.N()&&(this.Fw=!0,zd(b)),nx(this,c,this.lr,a/.2)):(this.Fw||this.N()||(this.Fw=!0,zd(c)),nx(this,b,this.OI,(1-a)/.8))};function nx(a,b,c,d){b=b.getContext("2d");const e=a.slideWidth();a=a.slideHeight();b.drawImage(c,0,0,e,a);b.save();b.globalCompositeOperation="lighter";b.fillStyle="rgba(255, 255, 255,"+Sm(d)+")";b.rect(0,0,e,a);b.fill();b.restore()};function ox(a,b,c){Q.call(this,a);this.mb=c;this.N()?this.sa().zd():this.fb().zd();this.ja(!0,!0);this.G=b}v(ox,Q);ox.prototype.initialize=function(){S(this,!1);T(this,!1);this.ui()};
ox.prototype.$=function(a){a=Bv(0,1,a);let b;if(this.mb){var c=-this.slideWidth()/2;.5>a?(b=Y(0,0,.5,-90),this.tq=b(a),b=Y(0,0,.5,-45),this.Fl=b(a),b=Y(0,0,.5,40),a=this.G==px?"translateX("+-c+"px) translateZ("+this.tq+"px) rotateY("+this.Fl+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.tq+"px) rotateY("+-this.Fl+"deg) rotateX("+b(a)+"deg) translateX("+-c+"px)"):.85>a?(b=Y(.5,-90,.85,0),this.tq=b(a),b=Y(.5,-45,.85,0),this.Fl=b(a),b=Y(.5,40,.85,90),a=this.G==
px?"translateX("+-c+"px) translateZ("+this.tq+"px) rotateY("+this.Fl+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.tq+"px) rotateY("+-this.Fl+"deg) rotateX("+b(a)+"deg) translateX("+-c+"px)"):(this.N()&&(this.Fl=0),b=Y(.85,90,1,180),a="translateX("+-c+"px) rotateY("+this.Fl+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)");J(this.oc,a)}else.5>a?(b=Y(0,1,.5,0),a="scaleY("+b(a)+")",I(this.sb,1),I(this.rb,0),J(this.sb,a)):(b=Y(.5,0,1,1),a="scaleY("+b(a)+")",I(this.rb,
1),I(this.sb,0),J(this.rb,a))};
ox.prototype.ui=function(){this.sb=this.X;this.rb=this.wa;const a=rd("DIV");this.oc=rd("DIV");const b=this.slideWidth(),c=this.slideHeight();try{fi(a,b+"px"),gi(a,b/2+"px "+c/2+"px"),ei(this.oc,"preserve-3d"),this.oc.appendChild(this.sb),this.oc.appendChild(this.rb),a.appendChild(this.oc),this.P().appendChild(a)}catch(d){this.P().appendChild(this.sb),this.P().appendChild(this.rb)}G(this.sb,"position","absolute");G(this.rb,"position","absolute");xh(this.oc,b,c);xh(this.sb,b,c);xh(this.rb,b,c);this.mb&&
(J(this.sb,"translateZ(10px)"),J(this.rb,"rotateX(180deg)"))};var px=1;function qx(a,b,c){Q.call(this,a);this.mb=c;this.N()?this.sa().zd():this.fb().zd();this.ja(!0,!0);this.Ni=b==px}v(qx,Q);
qx.prototype.initialize=function(){S(this,!1);T(this,!1);this.sb=this.X;this.rb=this.wa;const a=rd("DIV");this.oc=rd("DIV");const b=this.slideWidth(),c=this.slideHeight();try{fi(a,Math.max(b,c)+"px"),gi(a,b/2+"px "+c/2+"px"),ei(this.oc,"preserve-3d"),hi(this.oc,"hidden"),this.Ni?(this.oc.appendChild(this.sb),this.oc.appendChild(this.rb)):(this.oc.appendChild(this.rb),this.oc.appendChild(this.sb)),a.appendChild(this.oc),this.P().appendChild(a)}catch(d){this.Ni?(this.oc.appendChild(this.sb),this.oc.appendChild(this.rb)):
(this.oc.appendChild(this.rb),this.oc.appendChild(this.sb))}G(this.sb,"position","absolute");G(this.rb,"position","absolute");xh(this.oc,b,c);xh(this.sb,b,c);xh(this.rb,b,c);this.mb&&(this.Ni?J(this.sb,"rotateY(180deg)"):J(this.rb,"rotateY(180deg)"))};qx.prototype.$=function(a){this.mb?this.iC(a):this.eA(a)};
qx.prototype.iC=function(a){a=this.Ni?1-a:a;const b=.25*(1-Math.cos(2*a*Math.PI));a=Pv(.63,.43)(a);const c=Math.max(this.slideWidth(),this.slideHeight());J(this.oc,"rotateY("+-180*a+"deg)translateZ("+b*c*-.3+"px)")};qx.prototype.eA=function(a){a=Pv(.63,.43)(a);if(.5>a){var b=Y(0,1,.5,0);a="scaleX("+b(a)+")";I(this.sb,1);I(this.rb,0);J(this.sb,a)}else b=Y(.5,0,1,1),a="scaleX("+b(a)+")",I(this.rb,1),I(this.sb,0),J(this.rb,a)};function rx(a){Q.call(this,a);this.ja(!1,!0)}v(rx,Su);k=rx.prototype;k.Nf=function(){return this.Ec};
k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);this.F.disable(this.F.DEPTH_TEST);var a=[new W(.1806930693069307,0),new W(.3725247524752475,0),new W(.4603960396039604,0),new W(.6856435643564357,0),new W(.7673267326732673,0),new W(.8849009900990099,0),new W(.9987623762376238,.02103960396039604),new W(0,.027227722772277228),new W(0,.15841584158415842),new W(.47,.16955445544554457),new W(.4876237623762376,.16955445544554457),new W(.5284653465346535,.17202970297029702),new W(.41707920792079206,
.1745049504950495),new W(1,.18316831683168316),new W(0,.19554455445544555),new W(.6076732673267327,.2042079207920792),new W(.32,.21658415841584158),new W(.6485148514851485,.2202970297029703),new W(.7141089108910891,.22153465346534654),new W(0,.2623762376237624),new W(.275990099009901,.2908415841584158),new W(.2524752475247525,.33292079207920794),new W(.22153465346534654,.38242574257425743),new W(.8081683168316832,.41336633663366334),new W(0,.44183168316831684),new W(.18935643564356436,.46410891089108913),
new W(.4752475247524752,.47029702970297027),new W(.4665841584158416,.4715346534653465),new W(.4938118811881188,.4814356435643564),new W(.5024752475247525,.48267326732673266),new W(.5099009900990099,.4863861386138614),new W(.5123762376237624,.49133663366336633),new W(.801980198019802,.4938118811881188),new W(.5148514851485149,.49876237623762376),new W(.47896039603960394,.5),new W(.47,.5),new W(.5,.5),new W(.5148514851485149,.5012376237623762),new W(.4801980198019802,.5061881188118812),new W(.5136138613861386,
.5099009900990099),new W(.48267326732673266,.5123762376237624),new W(.5099009900990099,.5136138613861386),new W(.48514851485148514,.5148514851485149),new W(.504950495049505,.5160891089108911),new W(.48886138613861385,.5185643564356436),new W(.4938118811881188,.5185643564356436),new W(.4975247524752475,.5185643564356436),new W(.5334158415841584,.5334158415841584),new W(1,.5346534653465347),new W(.4962871287128713,.5371287128712872),new W(.47648514851485146,.5396039603960396),new W(.18811881188118812,
.568069306930693),new W(0,.6485148514851485),new W(.2537128712871287,.6534653465346535),new W(.7982673267326733,.6670792079207921),new W(.28589108910891087,.7066831683168316),new W(.775,.7351485148514851),new W(1,.7784653465346535),new W(.3341584158415842,.7945544554455446),new W(.7066831683168316,.8032178217821783),new W(0,.8106435643564357),new W(.38985148514851486,.8477722772277227),new W(.47,.8564356435643564),new W(.6150990099009901,.8601485148514851),new W(1,.943069306930693),new W(0,.9826732673267327),
new W(.21905940594059406,1),new W(.34034653465346537,1),new W(.4752475247524752,1),new W(.6596534653465347,1),new W(.8403465346534653,1),new W(0,0),new W(1,0),new W(1,1),new W(0,1)],b=new sv,c=new X(0,0,1);for(var d=0;d<a.length;d++){var e=a[d],f=new X((e.x()-.5)*this.slideWidth(),(e.y()-.5)*this.slideHeight(),0);e=new W(e.x(),e.y());tv(b,new qv(f,e,c))}c=this.slideHeight();d=this.slideWidth();a=[];a.push(new Z(b,[7,71,16,0],new X(0,0,50),c));a.push(new Z(b,[16,0,12,1],new X(0,0,20),1.5*c,.05*d));
a.push(new Z(b,[27,20,26,16],new X(0,0,5),1.6*c,.03*d));a.push(new Z(b,[21,8,16,7,-1,27,22,20,-1,22,19,21,14],new X(0,0,5),1.6*c));a.push(new Z(b,[21,14,8],new X(0,0,5),2*c));a.push(new Z(b,[27,25,22],new X(0,0,0),1.8*c));a.push(new Z(b,[24,25,19,22],new X(0,0,5),1.65*c));a.push(new Z(b,[35,25,27],new X(0,120,0),2*c));a.push(new Z(b,[52,51,24,25],new X(0,0,0),1.8*c));a.push(new Z(b,[51,38,25,34],new X(0,75,10),1.85*c,-.05*d));sx(a[a.length-1],0,2);a.push(new Z(b,[65,60,55,53],new X(0,0,0),1.8*c));
a.push(new Z(b,[67,66,61,58,50],new X(0,0,0),8*c,-.2*d,d));a.push(new Z(b,[55,53,42,40],new X(0,180,0),1.8*c,-.05*d));sx(a[a.length-1],0,1);a.push(new Z(b,[74,66,65,58,55],new X(0,0,0),1.8*c,.02*d));a.push(new Z(b,[58,55,44,42],new X(0,270,90),1.8*c,-.05*d));sx(a[a.length-1],0,1);a.push(new Z(b,[60,52,53,51,40,38],new X(30,60,0),2.5*c));a.push(new Z(b,[61,50,45,44],new X(75,180,90),c,.05*d));a.push(new Z(b,[49,61,46,45],new X(75,180,90),c,-.05*d));a.push(new Z(b,[49,62,61],new X(-360,0,0),c,-.01*
d));sx(a[a.length-1],1,2);a.push(new Z(b,[68,67,62,61],new X(0,0,0),c));a.push(new Z(b,[69,68,63,62],new X(0,0,0),c));a.push(new Z(b,[63,62,43,46],new X(-270,0,0),c,.01*d));sx(a[a.length-1],0,1);a.push(new Z(b,[70,69,59,63],new X(0,0,0),c));a.push(new Z(b,[59,63,41,43],new X(-360,0,0),c,-.05*d));sx(a[a.length-1],0,1);a.push(new Z(b,[73,70,64,59,56],new X(0,0,0),c,.05*d));a.push(new Z(b,[59,56,41],new X(-360,0,0),c,.05*d));sx(a[a.length-1],0,1);a.push(new Z(b,[57,64,54,56,47],new X(-270,0,0),c));a.push(new Z(b,
[54,47,39,41],new X(0,0,0),c,0,0,1080,b.ra[54].position().clone().Ye(b.ra[39].position())));a.push(new Z(b,[57,48,54,32,39,23,37],new X(0,0,0),1.5*c));a.push(new Z(b,[37,33,23,13,32,48],new X(0,0,0),c));a.push(new Z(b,[13,72,33,31],new X(0,0,0),1.5*c));a.push(new Z(b,[5,4,30,29],new X(0,0,5),1.2*c));a.push(new Z(b,[5,18,72,6],new X(0,0,0),c,-.07*d));a.push(new Z(b,[4,3,17,15],new X(0,0,-45),1.8*c));a.push(new Z(b,[2,9,3,10,3,11,3,15],new X(0,0,0),2.2*c));a.push(new Z(b,[17,29,11],new X(0,0,30),2*
c));a.push(new Z(b,[11,29,10],new X(70,0,0),c,0,0,120,b.ra[29].position().clone().Ye(b.ra[10].position())));sx(a[a.length-1],0,2);a.push(new Z(b,[10,29,9],new X(120,720,15),-.01*c,.15*d,0,1080,b.ra[10].position().clone().Ye(b.ra[29].position())));a.push(new Z(b,[6,18,31,30],new X(0,0,0),c,-.05*d,0,1080,b.ra[6].position().clone().Ye(b.ra[30].position())));a.push(new Z(b,[26,16,28,12],new X(40,30,0),.7*c,0,-.25*d));a.push(new Z(b,[2,29,1,28],new X(-80,60,0),.7*c,.05*d,-.5*d));a.push(new Z(b,[36,26,
28],new X(270,0,720),0,.2*d,-1*d));a.push(new Z(b,[35,27,36,26],new X(0,180,720),0,-.15*d,-1*d));a.push(new Z(b,[38,34,36],new X(180,180,0),0,-.1*d,-.8*d));a.push(new Z(b,[40,38,36],new X(180,180,180),0,.1*d,-1*d));a.push(new Z(b,[42,40,36],new X(720,270,0),0,.05*d,-.6*d));a.push(new Z(b,[44,42,36],new X(90,120,0),0,0,-1*d));a.push(new Z(b,[45,44,36],new X(360,0,0),0,.07*d,-.8*d));a.push(new Z(b,[46,45,36],new X(0,60,180),0,.1*d,-.8*d));a.push(new Z(b,[43,46,36],new X(80,120,45),0,.2*d,-.5*d));a.push(new Z(b,
[41,43,36],new X(90,360,60),0,.17*d,-.5*d));a.push(new Z(b,[39,41,36],new X(0,120,120),0,.15*d,-.5*d));a.push(new Z(b,[39,37,36],new X(90,90,90),0,.2*d,-1*d));a.push(new Z(b,[37,33,36],new X(0,120,90),0,.18*d,-1*d));a.push(new Z(b,[33,31,36],new X(45,45,0),0,.1*d,-1*d));a.push(new Z(b,[31,30,36],new X(270,0,45),0,.15*d,-1*d));a.push(new Z(b,[30,29,36],new X(90,360,60),0,0,-.8*d));a.push(new Z(b,[29,28,36],new X(0,120,120),0,0,-.8*d));c=[];d=[];f=[];e=[];const h=[],g=[],l=[];let n=0;for(let p=0;p<
a.length;p++){const q=a[p];for(let t=0;t<q.indices.length;t++){var m=q.indices[t];-1!=m?(m=b.ra[m],c.push(m.position().x(),-1*m.position().y(),-1*m.position().z()),d.push(m.os.x(),m.os.y()),f.push(q.xx.x(),-1*q.xx.y(),-1*q.xx.z()),e.push(q.rotation.x(),-1*q.rotation.y(),-1*q.rotation.z()),h.push(q.dx,q.acceleration,-1*q.$M),m=q.LV,g.push(q.gN,m.x(),-1*m.y(),-1*m.z()),l.push(n),n++):(l.push(n-1),l.push(n))}l.push(n-1);l.push(n)}l.pop();l.pop();this.nQ=l.length;this.DG=$u(this,c,3);this.EL=$u(this,
d,2);this.SK=$u(this,f,3);this.VK=$u(this,e,3);this.WL=$u(this,h,3);this.nH=$u(this,g,4);this.LH=av(this,l);b=this.F;b.bindBuffer(b.ARRAY_BUFFER,this.DG);b.vertexAttribPointer(this.jD,3,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.EL);b.vertexAttribPointer(this.PC,2,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.SK);b.vertexAttribPointer(this.RK,3,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.VK);b.vertexAttribPointer(this.UK,3,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.WL);b.vertexAttribPointer(this.VL,
3,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.nH);b.vertexAttribPointer(this.mH,4,b.FLOAT,!1,0,0);b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,this.LH)};k.ze=function(){this.F.deleteBuffer(this.DG);this.F.deleteBuffer(this.EL);this.F.deleteBuffer(this.SK);this.F.deleteBuffer(this.VK);this.F.deleteBuffer(this.WL);this.F.deleteBuffer(this.nH);this.F.deleteBuffer(this.LH)};
function sx(a,b,c){b=a.uO.ra[a.indices[b]].clone().position();b=b.add(a.uO.ra[a.indices[c]].position().clone());a.xx=new X(b.x()/2,b.y()/2,b.z()/2)}k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying float vLightIntentsity;\n\n\tuniform sampler2D uSampler;\n\n\tvoid main(void)\n\t{\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\n\t\tgl_FragColor = vec4(textureColor.rgb * vLightIntentsity, textureColor.a);\n\t}"};k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\tattribute vec3 aRotationCenter;\n\tattribute vec3 aRotationParams;\n\tattribute vec3 aTranslationParams;\n\tattribute vec4 aFreeRotation;\n\n\tuniform mat4 uPMVMatrix; \n\tuniform mat3 uNMatrix;\n\tuniform float uPhase;\n\tuniform float uSlideHeight;\n\n\tvarying vec2 vTextureCoord;\n\tvarying float vLightIntentsity;\n\n\tfloat sqr(float v)\n\t{\n\t\treturn v * v;\n\t}\n\n\tmat4 prependTranslation(mat4 m, float x, float y, float z)\n\t{\n\t\tmat4 t = mat4(1.0);\n\t\tt[3] = vec4(x, y, z, 1.0);\n\t\treturn m * t;\n\t}\n\n\tmat4 prependRotation(mat4 m, float angle, vec3 axis)\n\t{\n\t\tmat4 t = mat4(1.0);\n\t\tvec3 u = normalize(axis);\n\t\tfloat rad = radians(angle);\n\t\tfloat sin = sin(rad);\n\t\tfloat cos = cos(rad);\n\t\tt[0] = vec4(cos + sqr(u.x) * (1.0 - cos), u.y * u.x * (1.0 - cos) + u.z * sin, u.z * u.x * (1.0 - cos) - u.y * sin, 0.0);\n\t\tt[1] = vec4(u.x * u.y * (1.0 - cos) - u.z * sin, cos + sqr(u.y) * (1.0 - cos), u.z * u.y * (1.0 - cos) + u.x * sin, 0.0);\n\t\tt[2] = vec4(u.x * u.z * (1.0 - cos) + u.y * sin, u.y * u.z * (1.0 - cos) - u.x * sin, cos + sqr(u.z) * (1.0 - cos), 0.0);\n\t\treturn m * t;\n\t}\n\n\tmat4 prependRotation(mat4 m, float angle, vec3 axis, vec3 pivotPoint)\n\t{\n\t\tmat4 t = mat4(1.0);\n\t\tt = prependTranslation(t, pivotPoint.x, pivotPoint.y, pivotPoint.z);\n\t\tt = prependRotation(t, angle, axis);\n\t\tt = prependTranslation(t, -1.0 * pivotPoint.x, -1.0 * pivotPoint.y, -1.0 * pivotPoint.z);\n\t\treturn m * t;\n\t}\n\n\tvoid main(void) \n\t{\n\t\tconst float delay =  0.15;\n\t\tfloat phase = clamp(uPhase - delay, 0.0, 1.0);\n\n\t\tfloat vy = uSlideHeight / (1.0 - delay);\n\t\tfloat dy = vy * phase + (aTranslationParams.y * sqr(phase)) / 2.0;\n\t\tvec3 d = mix(vec3(0.0), aTranslationParams, phase);\n\t\tvec3 r = mix(vec3(0.0), aRotationParams, phase);\n\t\tfloat r2 = mix(0.0, aFreeRotation.x, phase);\n\t\tvec3 v2 = normalize(aFreeRotation.yzw);\n\n\t\tmat4 transform = prependTranslation(mat4(1.0), d.x, -1.0 * dy, d.z);\n\t\ttransform = prependRotation(transform, r.x, vec3(1.0, 0.0, 0.0), aRotationCenter);\n\t\ttransform = prependRotation(transform, r.y, vec3(0.0, 1.0, 0.0), aRotationCenter);\n\t\ttransform = prependRotation(transform, r.z, vec3(0.0, 0.0, 1.0), aRotationCenter);\n\t\ttransform = prependRotation(transform, r2, v2, aRotationCenter);\n\n\t\tvec4 n = transform * vec4(vec3(0.0, 0.0, 1.0), 0.0);\n\t\tvec4 p = transform * vec4(aVertexPosition, 1.0);\n\n\t\tgl_Position = uPMVMatrix * p;\n\t\tvTextureCoord = aTextureCoord;\n\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0);\n\t\tvec3 transformedNormal = normalize(uNMatrix * n.xyz); \n\t\tfloat directionalLightWeighting = abs(dot(transformedNormal, lightingDirection)); \n\t\tvLightIntentsity = 0.5 + 0.5 * directionalLightWeighting;\n\t}"};
k.Je=function(){fv(this);this.RK=gv(this,"aRotationCenter");this.UK=gv(this,"aRotationParams");this.VL=gv(this,"aTranslationParams");this.mH=gv(this,"aFreeRotation");this.Ec=hv(this,"uSampler");this.qd=hv(this,"uPhase");this.F.uniform1f(hv(this,"uSlideHeight"),this.slideHeight())};k.Ae=function(){Xu(this,this.RK);Xu(this,this.UK);Xu(this,this.VL);Xu(this,this.mH)};k.$=function(a){this.F.uniform1f(this.qd,a);mv(this);this.F.drawElements(this.F.TRIANGLE_STRIP,this.nQ,this.F.UNSIGNED_SHORT,0)};
function Z(a,b,c,d,e,f,h,g){this.rotation=c;this.acceleration=d;void 0!==e&&(this.dx=e);void 0!==f&&(this.$M=f);void 0!==h&&(this.gN=h);this.LV=void 0!==g?g:new X(0,0,1);this.indices=b;this.uO=a;f=e=d=c=0;for(h=0;h<b.length;h++)g=b[h],-1!=g&&(f+=1,g=a.ra[g],c+=g.position().x(),d+=g.position().y(),e+=g.position().z());this.xx=new X(c/f,d/f,e/f)}Z.prototype.dx=0;Z.prototype.$M=0;Z.prototype.gN=0;function tx(a,b,c){Q.call(this,a);this.G=b;this.Na=c;this.Ki=!c;this.Na?this.ja(!1,!1,!0,!0,!0,!0):this.ja(!0,!0)}v(tx,Q);k=tx.prototype;
k.initialize=function(){S(this,!1);T(this,!1);var a=this.slideWidth(),b=this.slideHeight();if(this.Na){var c=U(a,b);G(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.wv,0,0);this.Sl=c;c=U(a,b);G(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.Bv,0,0);this.Ul=c}this.wc=this.Wa(a,b);this.P().appendChild(this.wc);var d=U(a,b),e=U(a,b);c=U(a,b/4);const f=U(a,b/4);this.nb=A("DIV");yh(this.nb,a);zh(this.nb,b);this.Ld=this.Wa(a,b);this.Jd=
this.Wa(a,b);this.Ki&&(this.ho=this.Wa(a,b/4),this.$n=this.Wa(a,b/4));this.Ld.appendChild(d);this.Jd.appendChild(e);this.Ki&&(this.ho.appendChild(c),this.$n.appendChild(f));this.wc.appendChild(this.nb);this.nb.appendChild(this.Ld);this.nb.appendChild(this.Jd);this.Ki&&(this.nb.appendChild(this.ho),this.nb.appendChild(this.$n));d=d.getContext("2d");e=e.getContext("2d");d.drawImage(this.Na?this.Xj:this.X,0,0);e.drawImage(this.Na?this.yi:this.wa,0,0);this.Ki&&(ux(this,c,this.X),ux(this,f,this.wa));fi(this.wc,
Math.max(a,b)+"px");gi(this.wc,a/2+"px "+b/2+"px");ei(this.nb,"preserve-3d");a=this.N()?1:-1;b=this.slideWidth()+this.WF;this.G==vx?(di(this.nb,100+this.RF+"% 50%"),J(this.N()?this.Ld:this.Jd,"translateX("+-a*b+"px)"),this.Ki&&J(this.N()?this.ho:this.$n,"translate("+-a*b+"px, "+(this.slideHeight()+this.Zp)+"px)")):(di(this.nb,-this.RF+"% 50%"),J(this.N()?this.Ld:this.Jd,"translateX("+a*b+"px)"),this.Ki&&J(this.N()?this.ho:this.$n,"translate("+a*b+"px, "+(this.slideHeight()+this.Zp)+"px)"));J(this.N()?
this.Jd:this.Ld,"translateX(0px)");this.Ki&&J(this.N()?this.$n:this.ho,"translateY("+(this.slideHeight()+this.Zp)+"px)")};
k.$=function(a){this.Na&&(I(this.Ul,1-a),I(this.Sl,a));if(a){var b=!0,c=this.G==wx?1:-1;a<=this.gn?(b=!1,J(this.nb,"translateZ("+this.PF*a+"px) rotateY("+c*a/this.gn*this.SF+"deg)"),!this.gv&&this.N()&&(this.gv=this.Yn=!0)):a>=1-this.gn&&(b=!1,J(this.nb,"translateZ("+this.PF*(1-a)+"px) rotateY("+(1-a)/this.gn*c*this.SF+"deg)"),this.gv||this.N()||(this.gv=this.Yn=!0));if(b||this.Yn)b=this.slideWidth()+this.WF,a=this.Yn?this.N()?0:1:(a-this.gn)/(1-2*this.gn),this.Yn&&(this.Yn=!1),a=a*c*b,J(this.Ld,
"translateX("+a+"px)"),this.Ki&&J(this.ho,"translate("+a+"px, "+(this.slideHeight()+this.Zp)+"px)"),J(this.Jd,"translateX("+(a-c*b)+"px)"),this.Ki&&J(this.$n,"translate("+(a-c*b)+"px, "+(this.slideHeight()+this.Zp)+"px)")}};k.Wa=function(a,b){const c=A("DIV");yh(c,a);zh(c,b);G(c,"position","absolute");return c};
function ux(a,b,c){b=b.getContext("2d");b.save();b.translate(0,a.slideHeight()/4);b.scale(1,-1);b.drawImage(c,0,.75*a.slideHeight(),a.slideWidth(),a.slideHeight()/4,0,0,a.slideWidth(),a.slideHeight()/4);b.restore();b.globalCompositeOperation="destination-out";c=b.createLinearGradient(a.slideWidth()/4,0,a.slideWidth()/4,a.slideHeight()/4);c.addColorStop(0,"rgba(0, 255, 0, 0)");c.addColorStop(.8,"rgba(0, 255, 0, 1)");b.fillStyle=c;b.beginPath();b.rect(0,0,a.slideWidth(),a.slideHeight()/4);b.fill()}
k.Yn=!1;k.gv=!1;k.Zp=7.5;k.gn=.3;k.SF=20;k.RF=20;k.PF=-100;k.WF=70;var vx=0,wx=1;function xx(a,b,c){Q.call(this,a);this.Z=b;this.G=c;this.ja(!0,!0)}v(xx,Q);
xx.prototype.initialize=function(){S(this,!1);T(this,!1);if(this.N())switch(this.G){case yx:this.G=zx;break;case zx:this.G=yx;break;case Ax:this.G=Bx;break;default:this.G=Ax}const a=this.N()?this.wa:this.X,b=this.N()?this.X:this.wa;this.Z==Cx?(this.mx=16,this.tD=8):(this.mx=16,this.tD=12);this.IU=2*this.tD+1;const c=this.slideWidth()/this.mx,d=c/2,e=this.slideHeight()/this.tD,f=e/2;this.Oe=this.G==Ax||this.G==Bx?this.slideWidth():this.slideHeight();this.sm=2*this.Oe;this.mi=[];let h;const g=-f;let l;
for(let n=0;n<this.IU;++n){0==n%2?(h=-d,l=this.mx+1):(h=0,l=this.mx);for(let m=0;m<l;++m){const p=Dx(this,c+2,e+2),q=Dx(this,c+2,e+2),t=new Ex;t.fi(Math.round(h+m*c)-1);this.Z==Cx?(t.Ef(Math.round(g+n*f)-1),Fx(a,p,t.Ka,t.La,c+2,e+2),Fx(b,q,t.Ka,t.La,c+2,e+2)):(t.Ef(Math.round(g+1.5*n*f)),Gx(a,p,t.Ka,t.La,c+2,e+2),Gx(b,q,t.Ka,t.La,c+2,e+2));t.Sr=p;t.Do=q;Hx(t,!0);Ix(t,!1);t.Zc=0;t.Kn=!1;t.$r=0;this.mi.push(t)}}};
xx.prototype.$=function(a){this.N()&&(a=1-a);a*=this.Ty;let b,c;this.G==zx||this.G==Bx?(c=a/this.Ty*(this.Oe+this.sm)-this.sm,b=c+this.sm):(c=this.Oe-a/this.Ty*(this.Oe+this.sm)+this.sm,b=c-this.sm);for(let e=0;e<this.mi.length;e++){const f=this.mi[e];var d=f.Kn?f.Zc:0;d=Math.abs(Math.cos(d));if(f.$u&&!f.IA){const h=new Dl,g=f.Zc;Math.PI/2<g&&g<=Math.PI?(Hx(f,!1),Ix(f,!0),h.scale(1*d,1),Jm(f.Do,h)):g<Math.PI/2?(Hx(f,!0),Ix(f,!1),h.scale(1*d,1),Jm(f.Sr,h)):(Hx(f,!1),Ix(f,!0),h.scale(1,1),Jm(f.Do,h))}f.Kn?
(f.Zc=(a-f.$r)*Math.PI/this.TF,f.Kn=!0):0!=Jx(this,f,c)?(f.$r=a,f.Zc=0,f.Kn=!0,f.$u=!0):(d=Jx(this,f,b),0!=d&&1<=Math.random()+d/this.sm&&(f.$r=a,f.Zc=0,f.Kn=!0,f.$u=!0));f.$u&&!f.IA&&a-f.$r>this.TF&&(f.IA=!0)}};function Dx(a,b,c){b=U(b,c);G(b,"position","absolute");a.P().appendChild(b);return b}
function Fx(a,b,c,d,e,f){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";Sg&&(Kx(a,b,c,d),b.globalCompositeOperation="destination-in");b.beginPath();const h=Math.round(.5*e),g=Math.round(.5*f);e=Math.round(e);f=Math.round(f);b.moveTo(h,-1);b.lineTo(e+1,g);b.lineTo(h,f+1);b.lineTo(-1,g);b.lineTo(h,-1);b.fill();Sg||(b.globalCompositeOperation="source-in",Kx(a,b,c,d));b.restore()}
function Gx(a,b,c,d,e,f){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";Sg&&(Kx(a,b,c,d),b.globalCompositeOperation="destination-in");const h=Math.round(.5*e)+.5;e=Math.round(e)+.5;const g=Math.round(f)+.5;b.beginPath();b.moveTo(h,-1);b.lineTo(e,Math.round(.25*f)-1);b.lineTo(e,Math.round(.75*f)+1);b.lineTo(h,g);b.lineTo(-1,Math.round(.75*f)+1);b.lineTo(-1,Math.round(.25*f)-1);b.lineTo(h,1);b.fill();Sg||(b.globalCompositeOperation="source-in",Kx(a,b,c,d));b.restore()}
function Kx(a,b,c,d){c=Math.round(c);d=Math.round(d);b.drawImage(a,-c,-d)}function Jx(a,b,c){switch(a.G){case yx:return b.La>=c?b.La-c:0;case zx:return b.La<=c?c-b.La:0;case Ax:return b.Ka>=c?b.Ka-c:0}return b.Ka<=c?c-b.Ka:0}xx.prototype.TF=.3;xx.prototype.Ty=.7;var Cx=0,yx=0,zx=1,Ax=2,Bx=3;function Ex(){}k=Ex.prototype;k.Ka=0;k.La=0;k.eI=!0;k.fI=!0;k.Zc=0;k.Kn=!0;k.$r=0;k.IA=!1;k.$u=!1;k.fi=function(a){this.Ka=a;this.ue()};k.Ef=function(a){this.La=a;this.ue()};
function Hx(a,b){a.eI=b;null!=a.Sr&&I(a.Sr,b?1:0);b&&a.ue()}function Ix(a,b){a.fI=b;null!=a.Do&&I(a.Do,b?1:0);b&&a.ue()}k.ue=function(){null!=this.Sr&&this.eI&&qh(this.Sr,this.Ka,this.La);null!=this.Do&&this.fI&&qh(this.Do,this.Ka,this.La)};function Lx(a){Q.call(this,a);this.ja(!0,!0)}v(Lx,Q);Lx.prototype.initialize=function(){S(this,!1);T(this,!1);this.AA();this.ui()};
Lx.prototype.ui=function(){const a=this.slideWidth(),b=this.slideHeight();this.vh=U(a,b);this.fB=this.vh.getContext("2d");this.GH=U(a,b);this.HH=this.GH.getContext("2d");this.wI=U(a,b);this.Wn=this.wI.getContext("2d");this.qL=U(a,b);this.OT=this.qL.getContext("2d");this.Dv=U(a,b);this.nB=this.Dv.getContext("2d");this.EH=U(a,b);this.FH=this.EH.getContext("2d");this.qb=U(a,b);this.kd=this.qb.getContext("2d");this.pL=U(a,b);this.NT=this.pL.getContext("2d");this.P().appendChild(this.vh);this.P().appendChild(this.Dv);
G(this.vh,"position","absolute");G(this.Dv,"position","absolute")};
Lx.prototype.$=function(a){var b=this.slideWidth();const c=this.slideHeight();this.fB.clearRect(0,0,b,c);this.nB.clearRect(0,0,b,c);this.kd.clearRect(0,0,b,c);this.FH.clearRect(0,0,b,c);this.kd.drawImage(this.X,0,0);this.kd.save();this.kd.globalCompositeOperation="destination-in";Mx(this,this.FH,this.qG,a);this.kd.drawImage(this.EH,0,0);this.kd.restore();Nx(this,this.NT,this.X,a/Ox,!1);this.nB.drawImage(this.qb,0,0);this.nB.drawImage(this.pL,0,0);if(a>Px&&a<1-Px){var d=Y(Px,1,1-Px,4),e=Y(Px,0,1-Px,
-30);J(this.Dv,"rotate("+e(a)+"deg) scale("+d(a)+", "+d(a)+")")}a>Qx&&(this.Wn.clearRect(0,0,b,c),this.HH.clearRect(0,0,b,c),this.Wn.drawImage(this.wa,0,0),this.Wn.save(),this.Wn.globalCompositeOperation="destination-in",Mx(this,this.HH,this.rG,a),this.Wn.drawImage(this.GH,0,0),this.Wn.restore(),this.fB.drawImage(this.wI,0,0),a<Rx?(d=Y(Px,.5,Rx,1),b=d(a),e=Y(Qx,45,Rx,0),J(this.vh,"rotate("+e(a)+"deg) scale("+b+", "+b+")")):(Nx(this,this.OT,this.wa,(a-(1-Ox))/Ox,!0),this.fB.drawImage(this.qL,0,0),
J(this.vh,"rotate(0deg) scale(1, 1)")))};Lx.prototype.AA=function(){this.rw=.9/(Sx-1)/2;this.QS=1.154/(Tx-1)/2;this.qG=[];this.rG=[];Ux(this.qG,.1,.8,!0);Ux(this.rG,.15,.9,!1)};
function Mx(a,b,c,d){for(let n=0;n<c.length;++n){var e=c[n],f=void 0;if(d>=e.Jy&&d<=e.Jy+.05){var h=(d-e.Jy)/.05;f=e.RD?1-h:h}else f=d<e.Jy?e.RD?1:0:e.RD?0:1;e=a;h=b;var g=c[n].x,l=c[n].y;g*=e.slideWidth();l*=e.slideHeight();h.fillStyle="rgba(0, 0, 255, "+f+")";h.beginPath();h.moveTo(g,l-Vx(e));h.lineTo(g+e.rw*e.slideWidth(),l-.5*Vx(e));h.lineTo(g+e.rw*e.slideWidth(),l+.5*Vx(e));h.lineTo(g,l+Vx(e));h.lineTo(g-e.rw*e.slideWidth(),l+.5*Vx(e));h.lineTo(g-e.rw*e.slideWidth(),l-.5*Vx(e));h.lineTo(g,l-
Vx(e));h.fill()}}function Ux(a,b,c,d){const e=1/(Sx-1),f=1/(Tx-1)+.002,h=c-b,g=Math.floor(Tx/2);for(let l=0;l<Tx;++l){const n=0!=l%2?Sx:Sx-1;for(let m=0;m<n;++m){const p={};p.x=e*m;0==l%2&&(p.x+=.5*e);p.y=f*l-.01;p.RD=d;p.Jy=l==g&&m==.5*(n-1)?b:0==l||l==Tx-1||0==m&&n==Sx||m==Sx-1&&n==Sx?d?b:c:b+h*Math.random();a.push(p)}}}
function Nx(a,b,c,d,e){d=0==e?(a.slideWidth()+600)*d:(a.slideWidth()+300)*(1-d);e=d-300;b.clearRect(0,0,a.slideWidth(),a.slideHeight());b.drawImage(c,0,0);b.save();b.globalCompositeOperation="destination-out";c=b.createLinearGradient(e,0,d,0);c.addColorStop(0,"rgba(255, 255, 255, 1)");c.addColorStop(1,"rgba(255, 255, 255, 0)");b.fillStyle=c;b.fillRect(0,0,a.slideWidth(),a.slideHeight());b.restore()}function Vx(a){return a.QS*a.slideHeight()}var Sx=10,Tx=9,Px=.05,Ox=.15,Qx=.2,Rx=.9;function Wx(a,b,c,d){this.type=a;this.cO=b.type;(this.element=d.querySelector("#"+c.id))&&"13"==b.type&&(a=b.lp,""!=(a.Gm||a.Vm||a.Qm||a.Xm||a.Ym)?(this.element.style.width=b.tb.la.width+2*b.Xk+"px",this.element.style.height=b.tb.la.height+2*b.Xk+"px"):(this.element.style.width=b.la.width+2*b.Xk+"px",this.element.style.height=b.la.height+2*b.Xk+"px"),this.element.style.overflow="hidden");a=c.state;this.id=c.id;this.la=c.la;this.Kp=b.la;this.Hs=b.Hs;this.fc=b.fc||new Jf(0,0,0,0);this.kV=this.Kp.width/
(1-this.fc.left-this.fc.right);this.jV=this.Kp.height/(1-this.fc.top-this.fc.bottom);this.Gf=c.Gf;this.tg=c.tg;this.element&&(this.opacity=this.element.style.opacity,this.zIndex=this.element.style.zIndex,this.transform=Nm(this.element)||new Dl);this.jY=Lk(a).jb;this.kY=Mk(a).jb;this.tt=Nk(a).scale()*Ok(a).scale();this.ut=Pk(a).scale()*Qk(a).scale();this.rotation=Jk(a).angle()+Kk(a).angle();this.dx=Lf(this.la).x-Lf(b.la).x;this.dy=Lf(this.la).y-Lf(b.la).y;this.CX=b.rotation;this.Xg=b.Xg;this.mh=b.mh;
this.Nx="";this.element&&this.element.firstElementChild&&"13"==b.type?(this.TH=this.element.firstElementChild.style.left||"",this.UH=this.element.firstElementChild.style.top||"",this.Nx=this.element.firstElementChild.style.transform||"",this.element.firstElementChild.style.left="0",this.element.firstElementChild.style.top="0",this.element.firstElementChild.style.transform=""):this.UH=this.TH=""}
Wx.prototype.clear=function(){this.element&&(Jm(this.element,this.transform),this.element.style.opacity=this.opacity,this.element.style.zIndex="",this.element.style.animation="",this.element.firstElementChild&&"13"==this.cO&&(this.element.firstElementChild.style.animation="",this.element.firstElementChild.style.left=this.TH,this.element.firstElementChild.style.top=this.UH,this.element.firstElementChild.style.transform=this.Nx))};function Xx(a){a&&(this.element=a,this.NE="",this.transform=a.style.transform||"matrix(1, 0, 0, 1, 0, 0)",this.opacity=a.style.opacity||1,this.zIndex=a.style.zIndex)}Xx.prototype.vj=function(a){var b=1;this.NE=Math.round(100*a*Math.pow(10,b))/Math.pow(10,b)+"%"};function Yx(a,b,c,d,e,f,h,g){this.bQ=b;this.cQ=c;this.fJ=f;this.Yb=new D;this.Oi=[];if(d.tb||e.tb)f=d.tb,f||(f=nc(e.tb),f.la=d.la,f.id="_morphBg"),this.Oi.push(new Wx("bg",d,f,b));this.mb=!0;try{Zx(b.firstElementChild,h,g),Zx(c.firstElementChild,h,g)}catch(l){this.mb=!1}w(d.jh,function(l){this.Oi.push(new Wx("text",d,l,b))},this);this.Eo=[];if(e.tb||d.tb)h=e.tb,h||(h=nc(d.tb),h.la=e.la,h.id="_morphBg"),this.Eo.push(new Wx("bg",e,h,c));w(e.jh,function(l){this.Eo.push(new Wx("text",e,l,c))},this);h=
this.Oi[0];g=this.Eo[0];this.jT=g.tt/h.tt-1;this.lT=g.ut/h.ut-1;this.dT=$x(g.rotation-h.rotation);this.kT=e.la.width/d.la.width-1;this.mT=e.la.height/d.la.height-1;this.TK=$x(e.rotation-d.rotation);this.JU=d.zIndex;this.KU=e.zIndex-d.zIndex;h=Lf(d.la);g=Lf(e.la);this.sM=g.x-h.x;this.tM=g.y-h.y;this.Oj=d.Xg;this.Ek=d.mh;this.Lu=e.Xg;this.Xw=e.mh;this.HP=d.fc;this.IP=e.fc;if(d.fc||e.fc)this.Ch=d.fc||new Jf(0,0,0,0),this.wq=e.fc||new Jf(0,0,0,0),h=ay(e.lp),this.yH=ay(d.lp)||h;this.jG=d.Hs&&e.Hs;this.fJ&&
this.DA(a)}function ay(a){return""!=(a.Gm||a.Vm||a.Qm||a.Xm||a.Ym)}function Zx(a,b,c,d){a&&(d?(fi(a,""),ei(a,""),hi(a,""),gi(a,"")):(fi(a,b+"px"),ei(a,"preserve-3d"),hi(a,"hidden"),gi(a,b/2+"px "+c/2+"px")))}k=Yx.prototype;
k.DA=function(a){const b=[];w(this.Oi,e=>{b.push(new by(e.element,e.id))},this);w(this.Eo,e=>{b.push(new by(e.element,e.id))},this);const c=[0,.005,.01,.015,.02,.025,.03,.035,.04,.045,.05,.1,.15,.2,.25,.3,.35,.4,.45,.46,.47,.48,.49,.495,.498,.499];w(c,function(e){const f=cy(this,e);w(b,h=>{const g=f[h.id];g.vj(e);h.kl.push(g)},this)},this);Ga(c,function(e){e=1-e;const f=cy(this,e);w(b,h=>{const g=f[h.id];g.vj(e);h.kl.push(g)},this)},this);this.wn=0;this.UC=b.length;let d="";w(b,function(e){d+=dy(e);
const f=e.element;f?(f.style.animation=e.id+" "+a+"s 1 linear",f.firstElementChild&&(f.firstElementChild.style.animation=e.id+"_ "+a+"s 1 linear"),je(f,Vd,this.yg,!1,this)):this.yg()},this);this.ph=Cm(d)};k.update=function(a){this.HQ!=a&&cy(this,a);this.HQ=a};k.yg=function(){this.wn++;this.wn==this.UC&&this.Yb.D()};
function dy(a){let b="@keyframes "+a.id+" {\n";w(a.kl,d=>{b+=d.NE+" {transform: "+d.transform+";opacity:"+d.opacity+";z-index:"+d.zIndex+"}\n"});b+="}\n";let c="";a.kl[0].Ks&&(c="@keyframes "+a.id+"_ {\n",w(a.kl,d=>{c+=d.NE+" {transform:"+d.Ks+"}\n"}),c+="}\n");return b+c}
function cy(a,b){const c=a.Oi[0];let d=a.jT*b+1;d*=c.tt;let e=a.lT*b+1;e*=c.ut;const f=Math.round(a.KU*b)+a.JU;let h=a.dT*b;h+=c.rotation;const g=a.kT*b+1,l=a.mT*b+1;if(a.Ch)var n=new Jf((a.wq.top-a.Ch.top)*b+a.Ch.top,(a.wq.right-a.Ch.right)*b+a.Ch.right,(a.wq.bottom-a.Ch.bottom)*b+a.Ch.bottom,(a.wq.left-a.Ch.left)*b+a.Ch.left);const m={};w(a.Oi,function(p){if(this.jG)var q=1;else q=1-Math.pow(b,2),.425>b&&(q=b*(1-Math.pow(.425,2)-1)/.425+1);let t=!0,u=n;this.yH&&(this.HP?(u=this.Ch,t=!1):u=void 0);
q=ey(p,d,e,h,g,l,this.TK*b,this.sM*b,this.tM*b,q,f,u,fy(this,p,b,!1),t);gy(this,q);m[p.id]=q},a);w(a.Eo,function(p,q){q=Math.min(this.Oi.length-1,q);q=this.Oi[q];const t=hy(-q.dx,-q.dy,h,d,e),u=hy(-p.dx,-p.dy,h,d,e);if(this.jG)var y=b;else y=1+Math.pow(b-1,3),.425<b&&(y=1+Math.pow(-.575,3),y=(b-.425)*(1-y)/.575+y);let E=!0,x=n;this.yH&&(this.IP?(x=this.wq,E=!1):x=void 0);q=ey(p,d,e,h,q.Kp.width*g/p.Kp.width,q.Kp.height*l/p.Kp.height,this.TK*(b-1),this.sM*(b-1)+t.x-u.x,this.tM*(b-1)+t.y-u.y,y,f,x,
fy(this,p,b,!0),E);gy(this,q);m[p.id]=q},a);return m}function gy(a,b){b.element&&!a.fJ&&(a=b.element,a.style.transform=b.transform,a.style.opacity=b.opacity,a.style.zIndex=b.zIndex,b.Ks&&(a.firstElementChild.style.transform=b.Ks))}k.clear=function(){this.ph&&zd(this.ph);w(this.Oi,this.yG,this);w(this.Eo,this.yG,this);this.mb&&(Zx(this.bQ.firstElementChild,0,0,!0),Zx(this.cQ.firstElementChild,0,0,!0))};k.yG=function(a){a.clear()};
function $x(a){a>Math.PI?a-=2*Math.PI:a<-Math.PI&&(a+=2*Math.PI);return a==Math.PI||a==-Math.PI?-a:a}
function fy(a,b,c,d){var e="13"==b.cO;if(!a.mb||e){var f=e=1;"bg"==b.type&&(c=d?2*(c-.5):2*(.5-c),a.Oj!=a.Lu&&(e=c),a.Ek!=a.Xw&&(f=c));a="scaleX("+e+") scaleY("+f+")"}else e=a.Oj!=a.Lu,f=a.Ek!=a.Xw,"bg"!=b.type||!e&&!f?a="":f&&!e?a="rotateX("+(a.Ek&&!a.Xw?-1:1)*c*180+"deg)"+(d?" scaleY(-1)":""):e&&!f?a="rotateY("+(a.Oj&&!a.Lu?1:-1)*c*180+"deg)"+(d?" scaleX(-1)":""):a.Oj&&!a.Ek||!a.Oj&&a.Ek?(b=Bv(0,1,c),a="rotateX("+-90*Bv(0,1,.5>c?2*b:2*(1-b))+"deg) rotateZ("+180*(a.Oj&&!a.Ek?1:!a.Oj&&a.Ek?-1:1)*
b+"deg)"+(d?" scaleX(-1) scaleY(-1) ":"")):(b=Bv(0,1,c),a="rotateX("+90*Bv(0,1,.5>c?2*b:2*(1-b))+"deg) rotateZ("+180*(a.Xw&&a.Lu?1:a.Ek&&a.Oj?-1:1)*b+"deg)"+(d?" scaleX(-1) scaleY(-1) ":""));return a}
function ey(a,b,c,d,e,f,h,g,l,n,m,p,q,t){var u=new Dl;u.translate(a.jY,a.kY);u.rotate(d,0,0);u.scale(b,c);(b=a.Gf)&&(u=El(u,b));(b=a.tg)&&(u=El(b.clone(),u));b=new Dl;b.rotate(-a.CX,0,0);b.translate(a.dx,a.dy);b=El(b,a.Gf);El(b,Fl(u));c=Fl(b);e="rotate("+h+"rad) "+q+(" scaleX("+e+") scaleY("+f+")");g=(new Dl).setTransform(1,0,0,1,g,l);l=Mm(g)+" "+Mm(c)+" "+e+" "+Mm(b)+" "+Mm(u);g=new Xx(a.element);g.transform=l;""!=a.opacity&&(n*=a.opacity);g.opacity=n;g.zIndex=m;p?(n=(1-a.fc.right-a.fc.left)/(1-
p.right-p.left),m=(1-a.fc.top-a.fc.bottom)/(1-p.top-p.bottom),g.Ks=a.Nx+" translate("+-(a.Xg?p.right:p.left)*a.kV*n+"px, "+-(a.mh?p.bottom:p.top)*a.jV*m+"px) scale("+n+", "+m+")"):t&&(g.Ks=a.Nx);return g}function hy(a,b,c,d,e){const f=new Vp(a,b);f.rotate(c);f.scale(d,e);f.Ye(new Vp(a,b));return f}function by(a,b){this.element=a;this.id=b;this.kl=[]};function iy(a,b){this.kR=a;this.lR=b;this.WP=Uc(Lf(a.la),Lf(b.la));a=a.lp;b=b.lp;let c;c=a.line!=b.line?1:0;c+=a.fill!=b.fill?1:0;c+=a.Gm!=b.Gm?1:0;c+=a.Qm!=b.Qm?1:0;c+=a.Vm!=b.Vm?1:0;c+=a.Xm!=b.Xm?1:0;this.UP=c+=a.Ym!=b.Ym?2:0}iy.prototype.YM=function(){return this.WP};iy.prototype.Ix=function(){return 1E3*this.UP+this.YM()/1E3};function jy(a,b){if(a instanceof jy)this.yd=a.ub();else{var c;if(c=ja(a))a:{for(var d=c=0;d<a.length;d++){if(!ja(a[d])||0<c&&a[d].length!=c){c=!1;break a}for(var e=0;e<a[d].length;e++)if("number"!==typeof a[d][e]){c=!1;break a}0==c&&(c=a[d].length)}c=0!=c}if(c)this.yd=Qa(a);else if(a instanceof Yc)this.yd=ky(a.height,a.width);else if("number"===typeof a&&"number"===typeof b&&0<a&&0<b)this.yd=ky(a,b);else throw Error("Invalid argument(s) for Matrix contructor");}this.Pb=new Yc(this.yd[0].length,this.yd.length)}
function ly(a,b,c){for(var d=0;d<a.Wg().height;d++)for(var e=0;e<a.Wg().width;e++)b.call(c,a.yd[d][e],d,e,a)}function my(a,b){var c=new jy(a.Wg());ly(a,function(d,e,f){c.yd[e][f]=b.call(void 0,d,e,f,a)});return c}function ky(a,b){for(var c=[],d=0;d<a;d++){c[d]=[];for(var e=0;e<b;e++)c[d][e]=0}return c}k=jy.prototype;k.add=function(a){if(!Zc(this.Pb,a.Wg()))throw Error("Matrix summation is only supported on arrays of equal size");return my(this,function(b,c,d){return b+a.yd[c][d]})};
k.Oh=function(a){if(this.Pb.width!=a.Pb.width||this.Pb.height!=a.Pb.height)return!1;for(var b=0;b<this.Pb.height;b++)for(var c=0;c<this.Pb.width;c++)if(!(1E-6>=Math.abs(this.yd[b][c]-a.yd[b][c])))return!1;return!0};k.iN=function(){if(this.Pb.width!=this.Pb.height)throw Error("A determinant can only be take on a square matrix");return ny(this)};k.Wg=function(){return this.Pb};function oy(a,b,c){return 0<=b&&b<a.Pb.height&&0<=c&&c<a.Pb.width?a.yd[b][c]:null}
function py(a,b,c,d){if(!(0<=b&&b<a.Pb.height&&0<=c&&c<a.Pb.width))throw Error("Index out of bounds when setting matrix value, ("+b+","+c+") in size ("+a.Pb.height+","+a.Pb.width+")");a.yd[b][c]=d}
k.multiply=function(a){if(a instanceof jy){if(this.Pb.width!=a.Wg().height)throw Error("Invalid matrices for multiplication. Second matrix should have the same number of rows as the first has columns.");return qy(this,a)}if("number"===typeof a)return ry(this,a);throw Error("A matrix can only be multiplied by a number or another matrix.");};k.Ye=function(a){if(!Zc(this.Pb,a.Wg()))throw Error("Matrix subtraction is only supported on arrays of equal size.");return my(this,function(b,c,d){return b-a.yd[c][d]})};
k.ub=function(){return this.yd};function ny(a){if(1==a.Wg().area())return a.yd[0][0];for(var b=0,c=0;c<a.Pb.width;c++){var d=a.yd[0][c],e=0==c%2?1:-1;var f=ny(sy(a,c));b+=d*e*f}return b}function sy(a,b){var c=new jy(a.Pb.width-1,a.Pb.height-1);ly(c,function(d,e,f){py(c,e,f,this.yd[0<=e?e+1:e][f>=b?f+1:f])},a);return c}function qy(a,b){var c=new jy(a.Pb.height,b.Wg().width);ly(c,function(d,e,f){for(var h=d=0;h<this.Pb.width;h++)d+=oy(this,e,h)*oy(b,h,f);py(c,e,f,d)},a);return c}
function ry(a,b){return my(a,function(c){return c*b})};function ty(){this.rl=[]}k=ty.prototype;k.Su=function(a,b){for(let c=0;c<a;c++)this.rl[c]=b};k.size=function(){return this.rl.length};k.forEach=function(a){w(this.rl,a,this)};k.Ix=function(a){return this.rl[a]};k.push=function(a){this.rl.push(a)};k.ub=function(){return Qa(this.rl)};function uy(a,b,c){this.oB=a;this.gB=b;const d=Math.max(a.size(),b.size());this.xn=new jy(new Yc(d,d));const e=this;a.forEach(f=>{b.forEach(h=>{py(e.xn,f.index(),h.index(),c(f,h))})});vy(this)}function vy(a){const b=a.xn.Wg().width+1,c=[];for(let d=0;d<b;d++){c[d]=[];for(let e=0;e<b;e++)c[d][e]=0==d||0==e?0:oy(a.xn,d-1,e-1)}a.xn=new jy(c)}
function wy(a){var b=a.xn.Wg().width,c=xy(b,0),d=xy(b,0);const e=xy(b,0);var f=xy(b,0);for(let l=1;l<b;++l){e[0]=l;var h=0,g=xy(b,Number.MAX_VALUE);const n=xy(b,!1);for(let m=e[h];0!=e[h];m=e[h]){let p=Number.MAX_VALUE,q=0;n[h]=!0;for(let t=1;t<b;++t)if(!n[t]){const u=oy(a.xn,t,m)-d[h]-c[t];u<g[t]&&(g[t]=u,f[t]=h);g[t]<p&&(p=g[t],q=t)}for(h=0;h<b;++h)n[h]?(d[e[h]]+=p,c[h]-=p):g[h]-=p;h=q}for(;0!=h;)g=f[h],e[h]=e[g],h=g}b=new ty;for(c=1;c<a.oB.size()+1;++c){d=e[c]-1;if(a.oB.size()>a.gB.size())for(f=
1;f<=a.oB.size()-a.gB.size();f++)if(d+1==f+a.gB.size()){d=-1;break}b.push(d)}return b}function xy(a,b){const c=[];for(let d=0;d<a;d++)c[d]=b;return c};function yy(a,b){this.Of=a;this.Wj=b}yy.prototype.index=function(){return this.Of};yy.prototype.object=function(){return this.Wj};function zy(a){a=parseInt(a.toString(16),16);return[a>>16&255,a>>8&255,a&255]};function Ay(a,b,c){this.kB=a.content();this.dB=a.content();this.links=[];this.sv=[];this.rv=[];a=By(this,this.dB,c);b=By(this,this.kB,b);const d={},e={};w(a,h=>{const g=h.type;d[g]=!0;e[g]?e[g].push(h):e[g]=[h]});const f={};w(b,h=>{const g=h.type;d[g]=!0;f[g]?f[g].push(h):f[g]=[h]});this.CN=[];this.GN=[];this.BN=[];this.FN=[];w(gc(d),h=>{Cy(this,f[h]||[],e[h]||[])},this)}
Ay.prototype.jQ=function(a,b){a=a.object();b=b.object();const c=new iy(a,b),d=Dy(a,b),e=c.kR.rotation!=c.lR.rotation;c.Ix()||e||!d||(this.rv.push(Ey(a,b,!1)),this.rv.push(Ey(a,b,!0)));d||(this.sv.push(Ey(a,b,!1)),this.sv.push(Ey(a,b,!0)));return d?c.Ix():1E13};function Ey(a,b,c){return c?ma(b)+"_"+ma(a):ma(a)+"_"+ma(b)}
function Cy(a,b,c){function d(m){const p=new ty;for(let q=0;q<m.length;q++)p.rl[q]=new yy(q,m[q]);return p}const e=wy(new uy(d(b),d(c),a.jQ.bind(a))),f=Qa(b),h=Qa(c),g=[],l=[];for(let m=0;m<e.size();m++)if(-1!=m){var n=e.Ix(m);const p=f[m];if(p&&-1!=n){n=h[n];const q=-1==a.sv.indexOf(Ey(p,n,!1))&&-1==a.sv.indexOf(Ey(p,n,!0)),t=-1==a.rv.indexOf(Ey(p,n,!1))&&-1==a.rv.indexOf(Ey(p,n,!0));q&&(b.splice(b.indexOf(p),1),c.splice(c.indexOf(n),1),t?a.links.push([p,n]):(g.push(p),l.push(n)))}}w(b,m=>{Fy(a,
a.GN,a.kB,m)},a);w(c,m=>{Fy(a,a.CN,a.dB,m)},a);w(g,m=>{Fy(a,a.FN,a.kB,m)},a);w(l,m=>{Fy(a,a.BN,a.dB,m)},a)}function By(a,b,c){return Ha(c,d=>{const e=d.tb;if(e)return"none"!=b.querySelector(`#${e.id}`).style.display;d=d.jh||[];return d.length?"none"!=b.querySelector(`#${d[0].id}`).style.display:!0},a)}function Fy(a,b,c,d){const e=d.tb;e&&Gy(b,c,e.id);w(d.jh,f=>{Gy(b,c,f.id)},a)}function Gy(a,b,c){(b=b.querySelector("#"+c))&&"none"!=b.style.display&&a.push(b)}
function Dy(a,b){if(a.type!=b.type||a.text!=b.text)return!1;if("6"==a.type){if(a.Nk.length!=b.Nk.length)return!1;for(let c=0;c<a.Nk.length;++c){const d=a.Nk[c],e=b.Nk[c];if(d.type!=e.type||d.text!=e.text)return!1;if(d.Cf&&e.Cf)return.0325>Hy(d.Cf,e.Cf)}return!0}return a.Cf&&b.Cf?.0325>Hy(a.Cf,b.Cf):!0}
function Hy(a,b){const c=a.length,d=[0,0,0];for(let e=0;e<c;++e){const f=zy(a[e]),h=zy(b[e]);d[0]+=Math.abs(f[0]-h[0]);d[1]+=Math.abs(f[1]-h[1]);d[2]+=Math.abs(f[2]-h[2])}return Math.max(d[0],d[1],d[2])/(255*c)};function Iy(a){function b(h,g,l,n){if(h=g.querySelector("#"+h))h.style.zIndex=l,n.push(h)}Q.call(this,a);this.sa().zd();this.Gc=!1;this.Kj=[];let c=this.fb().content();const d=this.sa().content();if(this.fo())c.removeChild(c.firstElementChild);else{var e=c.firstElementChild.childNodes.length;for(var f=0;f<e;++f){const h=c.firstElementChild.childNodes[0];this.Kj.push(h);yd(d.firstElementChild,h,0)}}c=this.sa().content();e=a.Vl;a=a.Tl;f=new Ay(this.sa(),e,a);this.As=[];w(e,h=>{h.tb&&b(h.tb.id,c,h.zIndex,
this.As);w(h.jh,g=>{b(g.id,c,h.zIndex,this.As)},this)},this);w(a,h=>{h.tb&&b(h.tb.id,d,h.zIndex,this.As);w(h.jh,g=>{b(g.id,d,h.zIndex,this.As)},this)},this);this.vs=[];w(f.links,h=>{h=new Yx(this.Au,c,d,h[0],h[1],this.Hm(),this.slideWidth(),this.slideHeight());h.Yb.addHandler(this.yg,this);this.vs.push(h)},this);this.Ai=this.sa().background().firstChild;this.fo()&&G(this.Ai,"top",0);this.fb().background().appendChild(this.Ai);this.Vl=f.GN;this.mB=f.FN;this.Tl=f.CN;this.eB=f.BN;this.wn=0;this.UC=this.vs.length+
this.Tl.length+this.Vl.length+1;this.Hm()&&this.DA()}v(Iy,Q);k=Iy.prototype;
k.DA=function(){const a=this.Au;this.ph=Cm("@keyframes newSlideBackground {0% {opacity:0} 100% {opacity:1}} @keyframes oldSlideObjects {0% {opacity:1} 50% {opacity:0} 100% {opacity:0}} @keyframes newSlideObjects {0% {opacity:0} 50% {opacity:0} 100% {opacity:1}}");this.Ai.style.animation="newSlideBackground "+a+"s 1 linear";I(this.Ai,1);je(this.Ai,Vd,this.yg,!1,this);w(this.Vl,b=>{b.style.animation="oldSlideObjects "+a+"s 1 linear";I(b,0);je(b,Vd,this.yg,!1,this)},this);w(this.Tl,b=>{b.style.animation=
"newSlideObjects "+a+"s 1 linear";I(b,1);je(b,Vd,this.yg,!1,this)},this);w(this.mB,b=>{I(b,0)},this);w(this.eB,b=>{I(b,1)},this)};k.initialize=function(){Iy.Ua.initialize.call(this)};k.yg=function(){this.wn++;this.wn==this.UC&&this.Yb.D()};k.Hm=function(){const a=Modernizr.atRule("@keyframes");return oi?!1:ki?a:!1};
k.$=function(a){if(!this.Hm()){a=this.N()?1-a:a;w(this.vs,d=>{d.update(a)},this);var b=1-Math.min(1,2*a),c=2*Math.max(0,a-.5);w(this.Vl,d=>{d&&I(d,b)},this);w(this.Tl,d=>{d&&I(d,c)},this);w(this.mB,d=>{d&&I(d,0)},this);w(this.eB,d=>{d&&I(d,1)},this);I(this.Ai,a);1<=a&&this.Yb.D();Ei&&Rm(document.body)}};
k.Cx=function(){Iy.Ua.Cx.call(this);w(this.Kj,a=>{this.sa().content().firstElementChild.removeChild(a);this.fb().content().firstElementChild.appendChild(a)},this);this.Kj=[];this.ph&&zd(this.ph);ue(this.Ai,Vd,this.yg,!1,this);this.wn=0;w(this.vs,a=>{a.clear()},this);this.Ai.style.animation="";this.fo()&&G(this.Ai,"top","");w(this.Vl,a=>{a.style.animation="";I(a,1);ue(a,Vd,this.yg,!1,this)},this);w(this.Tl,a=>{a.style.animation="";I(a,1);ue(a,Vd,this.yg,!1,this)},this);w(this.mB,a=>{I(a,1)},this);
w(this.eB,a=>{I(a,1)},this);w(this.vs,a=>{a.Yb.removeHandler(this.yg,this)},this);w(this.As,a=>{a.style.zIndex=""},this)};function Jy(a){Q.call(this,a);this.sa().zd()}v(Jy,Q);Jy.prototype.initialize=function(){S(this,!0);T(this,!0)};Jy.prototype.$=function(a){const b=this.sa().slide();var c=this.slideWidth();const d=this.slideHeight(),e="scale("+a+") rotate("+-360*a+"deg)";c=c/2+"px "+d/2+"px";I(b,a);G(b,"MozTransform",e);G(b,"MozTransformOrigin",c);G(b,"webkitTransform",e);G(b,"webkitTransformOrigin",c);G(b,"OTransform",e);G(b,"OTransformOrigin",c);G(b,"msTransform",e);G(b,"msTransformOrigin",c)};function Ky(a,b,c){this.a=a;this.b=b;this.c=c}function Ly(a,b){var c=-a.b;const d=a.a,e=-c*b.x()-d*b.y();c=My(a,new Ky(c,d,e));a=2*c.x()-b.x();b=2*c.y()-b.y();return new W(a,b)}function My(a,b){const c=a.a*b.b-b.a*a.b;return 1E-9>Math.abs(c)?null:new W((a.b*b.c-b.b)*a.c/c,(a.c*b.a-b.c*a.a)/c)}function Ny(a,b){const c=a.y()-b.y(),d=b.x()-a.x();a=a.x()*b.y()-b.x()*a.y();return new Ky(c,d,a)};function Oy(a,b){Q.call(this,a);this.G=b;this.ja(!0,!0)}v(Oy,Su);k=Oy.prototype;
k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);var a=this.slideWidth(),b=-this.slideHeight()/2;a=a/2-.2*a;var c=3*b/4,d=Ny(new W(-a,-b),new W(a/2,-b/2)),e=Ny(new W(-a/4,-b),new W(0,0)),f=Ny(new W(a/2,-b/2),new W(a,b)),h=Ny(new W(0,0),new W(a,b/4)),g=My(d,e),l=My(f,h);const n=new W(Y(0,.5,a,.8)(l.x()),Y(0,.5,b,1)(l.y())),m=new W(Y(-a,.2,0,.5)(g.x()),Y(-b,0,0,.5)(g.y()));var p=new X(5*a/8,3*-b/8,-(10*c/16));const q=new X(-a/8,-b/2,15*-c/32),t=new X(a/2,b/8,15*-c/32);var u=new X(5*-a/
8,5*-b/16,9*-c/8),y=new X(a/2,b/4,5*-c/6),E=new X(-a/10,b/10,-c),x=new X(4*-a/8,-b/8,3*-c/16),F=new X(-a/16,5*b/8,3*-c/16),M=new X(5*a/16,5*b/8,-c),O=new X(14*-a/32,4*-b/8,0),P=new X(4*a/8,23*b/32,0),R=new X(5*-a/16,3*-b/16,-c/4),V=new X(3*a/16,5*b/16,0);e=new X(3*-a/4,3*b/4,0);f=new Py(new X(a,-b,0),new X(15*a/16,9*-b/16,-c),new W(.8,0));h=new Py(new X(7*a/8,7*-b/8,0),new X(9*a/12,-b/2,-(46*c/48)),new W(.7625,.0625));d=new Py(new X(a/2,-b,0),new X(6*a/9,8*-b/12,47*-c/48),new W(.65,0));c=new Py(new X(a,
-b/2,0),new X(19*a/24,4*-b/9,47*-c/48),new W(.8,.25));var fa=new Py(new X(a/2,-b/2,0),p,new W(.65,.25));g=new Py(new X(g.x(),g.y(),0),q,new W(m.x(),m.y()));l=new Py(new X(l.x(),l.y(),0),t,new W(n.x(),n.y()));p=new Py(new X(-a/4,-b,0),p,new W(.425,0));y=new Py(new X(a,b/4,0),y,new W(.8,.625));E=new Py(new X(0,0,0),E,new W(.5,.5));x=new Py(new X(-a/2,-b/2,0),x,new W(.35,.25));F=new Py(new X(a/2,b/2,0),F,new W(.65,.75));u=new Py(new X(-a,-b,0),u,new W(.2,0));M=new Py(new X(a,b,0),M,new W(.8,1));O=new Py(new X(-a,
-b/2,0),O,new W(.2,.25));P=new Py(new X(a/2,b,0),P,new W(.65,1));R=new Py(new X(-a/2,0,0),R,new W(.35,.5));V=new Py(new X(0,b/2,0),V,new W(.5,.75));b=new Py(new X(-a,b,0),e,new W(.2,1));this.Uf=[f,f,h,h,d,c,h,h,d,c,fa,fa,d,c,g,l,fa,fa,d,c,g,l,p,y,fa,fa,g,l,E,E,g,l,E,E,x,F,g,l,p,y,u,M,g,l,x,F,u,M,E,E,R,V,x,F,x,F,u,M,O,P,x,F,O,P,R,V,E,E,R,V,b,b,R,V,O,P,b,b];if(this.G==Qy){b=[];a=this.slideHeight();a=Ny(new W(0,-a/2),new W(0,a/2));for(f=0;f<this.Uf.length;f++)h=this.Uf[f],e=new W(h.start().x(),h.start().y()),
d=new W(h.end().x(),h.end().y()),e=Ly(a,e),d=Ly(a,d),h=new Py(new X(e.x(),e.y(),h.start().z()),new X(d.x(),d.y(),h.end().z()),new W(1-h.Sw.x(),h.Sw.y())),b.push(h);this.Uf=b}this.IB=[0,2,4,1,5,3,6,10,8,7,9,11,12,16,14,17,13,15,24,28,26,25,27,29,18,20,22,19,23,21,38,36,40,37,39,41,46,42,44,43,47,45,30,32,34,33,31,35,52,48,50,49,53,51,62,60,64,65,61,63,56,54,58,55,57,59,74,72,76,73,75,77,68,66,70,67,69,71];h=this.slideWidth();c=this.slideHeight();d=.2*h;e=h/2;b=-c/2;a=e-d;f=3*b/4;h=-Math.max(h,c)/2;
u=new X(-e,-b,0);c=new X(-e+d,-b,0);l=new X(-e+d,-b/2,0);O=new X(-e,0,0);fa=new X(-e,b,0);P=new X(-e+d,b,0);p=new X(0,-b,h);V=Ry(c,new X(5*-a/8,5*-b/16,-f),.1);F=Ry(l,new X(14*-a/32,4*-b/8,0),.1);M=new X(0,-b/2,h);R=new X(0,b,h);g=Ry(P,new X(3*-a/4,3*b/4,0),.1);u=new Py(u,p,new W(0,0));l=new Py(l,F,new W(.2,.25));O=new Py(O,M,new W(0,.5));P=new Py(P,g,new W(.2,1));this.QA=[u,new Py(c,V,new W(.2,0)),l,u,l,O,l,O,P,O,new Py(fa,R,new W(0,1)),P];this.PA=[0,1,2,3,4,5,7,6,8,9,11,10];c=new X(e-d,-b,0);O=
new X(e,-b,0);g=new X(e-d,-b/2,0);R=new X(e,0,0);fa=new X(e-d,b,0);V=new X(e,b,0);P=new X(e-d,b/2,0);d=Ry(c,new X(7*a/8,9*-b/16,-(7*f/8)),.1);l=new X(0,b,h);u=Ry(g,new X(19*a/24,4*-b/9,47*-f/48),.1);M=new X(0,-b/2,h);e=Ry(fa,new X(5*a/16,5*b/8,-f),.1);h=new X(0,b,h);b=Ry(P,new X(-a/16,5*b/8,3*-f/16),.1);a=new Py(O,l,new W(1,0));f=new Py(g,u,new W(.8,.25));R=new Py(R,M,new W(1,.5));h=new Py(V,h,new W(1,1));b=new Py(P,b,new W(.8,.75));this.mC=[new Py(c,d,new W(.8,0)),a,f,a,f,R,f,R,b,R,b,h,b,new Py(fa,
e,new W(.8,1)),h];this.lC=[0,1,2,3,5,4,6,7,8,9,11,10,12,14,13];this.Gb()};k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.7;\n\tconst float DIFFUSE_INTENSITY = 0.3;\n\n\tvoid main(void)  \n\t{ \n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition; \n\tattribute vec3 aVertexNormal; \n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix; \n\n\tuniform mat3 uNMatrix; \n\t \n\tvarying vec2 vTextureCoord; \n\tvarying vec3 vNormal;\n\n\tvoid main(void) \n\t{ \n\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0); \n\t\tvTextureCoord = aTextureCoord;\n\t\tvNormal = uNMatrix * aVertexNormal;\n\t}"};k.Je=function(){fv(this);this.Sg=gv(this,"aVertexNormal");this.Ec=hv(this,"uSampler")};
k.Gb=function(){this.Fg=Sy(0,this.Uf);this.JJ=Ty(this,this.Fg,this.IB);this.Xq=Sy(0,this.QA);this.nI=Ty(this,this.Xq,this.PA);this.Ir=Sy(0,this.mC);this.QK=Ty(this,this.Ir,this.lC)};function Ty(a,b,c){const d=new nv;var e=$u(a,uv(b),3);d.rd=e;e=$u(a,vv(b),2);d.vd=e;c=av(a,c);d.hd=c;a=$u(a,wv(b),3);d.Ci=a;return d}k.ze=function(){Yu(this,this.QK);Yu(this,this.nI);Yu(this,this.JJ)};k.Ae=function(){Xu(this,this.Sg)};
k.$=function(a){var b=this.slideWidth(),c=this.slideHeight();b=Math.max(b,c);c=this.G==Uy?1:-1;let d;cv(this);.1>=a?Vy(this,a):.2>=a?(d=Y(.1,.1,.2,1),a=d(a),dv(this,-60*a,[1,0,0],[0,0,0]),mat4.translate(this.ta,[0,0,20*-a]),this.Fg=Sy(a,this.Uf),dv(this,-15*c*a,[0,0,1],[0,0,0])):.4>=a?(this.Fg=Sy(1,this.Uf),dv(this,-60,[1,0,0],[0,0,0]),dv(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.ta,[0,0,-20]),d=Y(.2,0,.4,1),a=Math.pow(d(a),3),mat4.translate(this.ta,[0,0,-a*b/20])):.5>a?(this.Fg=Sy(1,this.Uf),
dv(this,-60,[1,0,0],[0,0,0]),dv(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.ta,[0,0,-(20+b/20)]),d=Y(.4,0,.5,1),a=d(a),mat4.translate(this.ta,[0,0,-a*b/30]),Wy(a,this.Uf,this.Fg,8)):(this.Fg=Sy(1,this.Uf),dv(this,-60,[1,0,0],[0,0,0]),dv(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.ta,[0,0,-(20+b/20+b/30)]),d=Y(.5,0,1,1),a=d(a),Wy(a,this.Uf,this.Fg,40),a=Bv(0,1,a),mat4.translate(this.ta,[c*a*b,a*b/2,a*b/2]),dv(this,-30*c*a,[0,0,1],[0,0,0]),dv(this,-60*c*a,[0,1,0],[0,0,0]));mv(this);ev(this,
this.JJ,this.F.TRIANGLES,this.HA.bind(this),this.GA.bind(this));bv(this)};k.HA=function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(uv(this.Fg)))};k.GA=function(){iv(this.Fg,this.IB);this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(wv(this.Fg)))};
function Vy(a,b){var c=Y(0,0,.1,.1);a.Fg=Sy(c(b),a.Uf);dv(a,-60*c(b),[1,0,0],[0,0,0]);c=Y(0,0,.1,1);a.Xq=Sy(c(b),a.QA);a.Ir=Sy(c(b),a.mC);mv(a);ev(a,a.nI,a.F.TRIANGLES,va(function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(uv(this.Xq)))},a),va(function(){iv(this.Xq,this.PA);this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(wv(this.Xq)))},a));ev(a,a.QK,a.F.TRIANGLES,va(function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(uv(this.Ir)))},a),va(function(){iv(this.Ir,
this.lC);this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(wv(this.Ir)))},a))}
function Wy(a,b,c,d){void 0===d&&(d=50);const e=[new Xy([0,1],0,0,-5),new Xy([2,3,6,7],0,0,-5),new Xy([4,8,12,18],0,0,-5),new Xy([5,9,13,19],0,0,-5),new Xy([20,14,26,30,42,36],0,0,15),new Xy([15,21,37,43,31,27],0,0,15),new Xy([44,34,52,60,54],0,0,20),new Xy([35,45,55,61,53],0,0,20),new Xy([40,46,56],0,0,30),new Xy([41,47,57],20,20,30),new Xy([58,62,74],20,20,15),new Xy([75,63,59],0,0,15),new Xy([76,70,71,77],0,0,-20)];for(let p=0;p<e.length;p++){var f=e[p];const q=f.mg();var h=b[f.Xd[0]],g=a,l=f,
n=d;f=h.current().x()+l.WO*Math.sin(g*Math.PI/2*n);var m=l.cG?Y(0,h.current().y(),1,h.current().y()+l.cG)(g):h.current().y();g=h.current().z()+l.XO*Math.sin(g*Math.PI/2*n);h.Iz=new X(f,m,g);g=h;f=new X(g.current().x(),g.current().y(),g.current().z());m=new X(0,0,1);for(l=0;l<q.length;l++)n=q[l],b[n]=g,h=new qv(f,g.Sw,m),c.ra[n]=h}}k.Cq=function(){return this.Sg};k.Nf=function(){return this.Ec};var Qy=0,Uy=1;k=Oy.prototype;k.Uf=[];k.IB=[];k.QA=[];k.PA=[];k.mC=[];k.lC=[];
function Py(a,b,c){this.ST=a;this.Yz=void 0!==b?b:a;this.Sw=c;this.Iz=new X}Py.prototype.start=function(){return this.ST};Py.prototype.end=function(){return this.Yz};Py.prototype.current=function(){return this.Iz};function Sy(a,b){const c=new sv,d=new X(0,0,1);for(let h=0;h<b.length;h++){var e=b[h],f=a;f=Ry(e.start(),e.end(),f);e.Iz=f;b[h]=e;f=new X(e.current().x(),e.current().y(),e.current().z());tv(c,new qv(f,e.Sw,d))}return c}
function Ry(a,b,c){const d=Y(0,a.x(),1,b.x()),e=Y(0,a.y(),1,b.y());a=Y(0,a.z(),1,b.z());return new X(d(c),e(c),a(c))}function Xy(a,b,c,d){this.Xd=a;this.WO=b;this.cG=c;this.XO=d}Xy.prototype.mg=function(){return this.Xd};function Yy(a,b){Q.call(this,a);this.Z=b;this.ja(!0,!0)}v(Yy,Su);k=Yy.prototype;k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);this.Gb();mat4.translate(this.ta,[-this.slideWidth()/2,this.slideHeight()/2,0]);mv(this);0==this.Z&&this.F.disable(this.F.DEPTH_TEST)};
k.Je=function(){fv(this);this.Jr=hv(this,"uSampler1");this.Kr=hv(this,"uSampler2");this.qd=hv(this,"uPhase");const a=hv(this,"uDeltaX");var b=hv(this,"uSlideWidth");this.F.uniform1f(hv(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(b,this.slideWidth());b=this.slideWidth()/39;this.F.uniform1f(a,b)};k.Ae=function(){};k.Ce=function(){return"precision mediump float; \n\n\tvarying vec2 vTextureCoord; \n\tvarying vec3 vNormal; \n\n\tuniform sampler2D uSampler1; \n\tuniform sampler2D uSampler2; \n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0); \n\tconst float AMBIENT_INTENSITY = 0.91; \n\tconst float DIFFUSE_INTENSITY = 0.09; \n\n\tvoid main(void) \n\t{ \n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\n\t\tvec4 textureColor; \n\t\tif (gl_FrontFacing) \n\t\t{ \n\t\t\ttextureColor = texture2D(uSampler1, vTextureCoord); \n\t\t} \n\t\telse \n\t\t{ \n\t\t\tfloat s = 1.0 - vTextureCoord.s; \n\t\t\ttextureColor = texture2D(uSampler2, vec2(s, vTextureCoord.t)); \n\t\t} \n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform float uDeltaX;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tconst float ANGLE = 180.0;\n\tconst float PHASE_OFFSET = 0.35;\n\tconst float CHANGE_PHASE = 0.25;\n\n\tconst float COEF_1 = 0.3;\n\tconst float COEF_2 = 0.5;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\n\tvec2 ellipse(float angle, vec2 center, vec2 radius)\n\t{\n\t\tfloat ang = radians(angle);\n\n\t\tfloat x = center.x + radius.x * cos(ang);\n\t\tfloat y = center.y + radius.y * sin(ang);\n\n\t\treturn vec2(x, -y);\n\t}\n\tfloat PHASE_FUNC(float phase)\n\t{\n\t\treturn linearInterpolation(phase, 0.0, 0.0, CHANGE_PHASE, 1.0);\n\t}\n\n\tfloat PHASE_FUNC1(float phase)\n\t{\n\t\treturn linearInterpolation(phase, 0.0, 1.0, 1.0, 0.0);\n\t}\n\n\tfloat PHASE_FUNC2(float phase)\n\t{\n\t\treturn linearInterpolation(phase, 0.0, 1.0, 1.0, 0.5);\n\t}\n\tvec3 getNormal(vec3 v, vec2 pr)\n\t{\n\t\tfloat y = (v.y == 0.0) ? uSlideHeight : 0.0;\n\n\t\tvec3 v1Pos = vec3(v.x, y, v.z);\n\t\tvec3 v2Pos = vec3(pr.x, v.y, -pr.y);\n\n\t\tvec3 v1 = v1Pos - v;\n\t\tvec3 v2 = v2Pos - v;\n\n\t\tvec3 n = (v.x == uSlideWidth && v.y == uSlideHeight) ? cross(v1, v2) : cross(v2, v1);\n\t\tn = normalize(n);\n\t\tif (n.z < 0.0)\n\t\t{\n\t\t\tn.z = n.z * -1.0;\n\t\t}\n\t\treturn n;\n\t}"+
Zy(this)};k.$=function(a){this.F.uniform1f(this.qd,a);ev(this,this.sr,this.F.TRIANGLE_STRIP)};k.ze=function(){Yu(this,this.sr);this.F.deleteTexture(this.Yr)};k.Jq=function(){this.Xr=Zu(this,this.F.TEXTURE0,this.Jr,0,this.X);this.Yr=Zu(this,this.F.TEXTURE1,this.Kr,1,this.wa)};
function Zy(a){switch(a.Z){case 0:return"\n\tfloat C_FUNC1(float x)\n\t{\n\t\treturn linearInterpolation(x, uSlideWidth * 0.5, 0.0, uSlideWidth, 1.0);\n\t}\n\n\tfloat PHASE_OFFSET_FUNC1(float x)\n\t{\n\t\treturn linearInterpolation(x, uSlideWidth * 0.5, PHASE_OFFSET, uSlideWidth, 0.0);\n\t}\n\n\tfloat getAngleInDoubleLeft(float x, float phase)\n\t{\n\t\tfloat angle;\n\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t{\n\t\t\tangle = -ANGLE * (phase + (PHASE_OFFSET_FUNC1(x) * PHASE_FUNC(phase)));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tangle = -ANGLE * (phase + PHASE_OFFSET_FUNC1(x));\n\t\t}\n\t\treturn max(angle, -ANGLE);\n\t}\n\n\tvec2 getPosition(float x)\n\t{\n\t\tfloat a = uSlideWidth * 0.5 * C_FUNC1(x);\n\t\tfloat b = a * COEF_1;\n\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0);\n\t\tfloat angle = getAngleInDoubleLeft(x, uPhase);\n\n\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\tpos.y = pos.y - (b * C_FUNC1(x) * PHASE_FUNC1(uPhase));\n\t\tpos.y = max(pos.y, 1.0);\n\t\treturn pos;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvec3 pNormal;\n\t\tfloat x = aVertexPosition.x;\n\t\tif (x <= uSlideWidth * 0.5)\n\t\t{\n\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t\tpNormal = vec3(0.0, 0.0, 1.0);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tvec2 pos = getPosition(x);\n\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\n\t\t\tfloat nextX = x + uDeltaX;\n\t\t\tvec2 pr = getPosition(nextX);\n\t\t\tpNormal = getNormal(v, pr);\n\t\t}\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t\tvTextureCoord = aTextureCoord;\n\t}";case 1:return"\n\tfloat C_FUNC2(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth * 0.5, 0.0);\n\t}\n\tfloat PHASE_OFFSET_FUNC2(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth * 0.5, PHASE_OFFSET);\n\t}\n\n\tfloat getAngleInDoubleRight(float x, float phase)\n\t{\n\t\tfloat angle;\n\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t{\n\t\t\tangle = ANGLE * (1.0 + phase + (PHASE_OFFSET_FUNC2(x) * PHASE_FUNC(phase)));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tangle = ANGLE * (1.0 + phase + PHASE_OFFSET_FUNC2(x));\n\t\t}\n\t\treturn min(angle, ANGLE * 2.0);\n\t}\n\n\tvec2 getPosition(float x)\n\t{\n\t\tfloat a = uSlideWidth * 0.5 * C_FUNC2(x);\n\t\tfloat b = a * COEF_1;\n\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0);\n\t\tfloat angle = getAngleInDoubleRight(x, uPhase);\n\n\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\tpos.y = pos.y - (b * C_FUNC2(x) * PHASE_FUNC1(uPhase));\n\t\tpos.y = max(pos.y, 1.0);\n\t\treturn pos;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvec3 pNormal;\n\t\tfloat x = aVertexPosition.x;\n\t\tif (x >= uSlideWidth * 0.5)\n\t\t{\n\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t\tpNormal = vec3(0.0, 0.0, 1.0);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tvec2 pos = getPosition(x);\n\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\n\t\t\tfloat nextX = x + uDeltaX;\n\t\t\tvec2 pr = getPosition(nextX);\n\t\t\tpNormal = getNormal(v, pr);\n\t\t}\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t\tvTextureCoord = aTextureCoord;\n\t}";
case 2:return"\n\tfloat C_FUNC3(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth, 1.0);\n\t}\n\n\tfloat PHASE_OFFSET_FUNC3(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth, PHASE_OFFSET);\n\t}\n\n\tfloat getAngleInSingleLeft(float x, float phase)\n\t{\n\t\tfloat angle;\n\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t{\n\t\t\tangle = -ANGLE * (phase - (PHASE_OFFSET_FUNC3(x) * PHASE_FUNC(phase)));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tangle = -ANGLE * (phase - PHASE_OFFSET_FUNC3(x));\n\t\t}\n\t\treturn min(angle, 0.0);\n\t}\n\n\tvec2 getPosition(float x)\n\t{\n\t\tfloat a = uSlideWidth * C_FUNC3(x);\n\t\tfloat b = a * COEF_2;\n\t\tvec2 center = vec2(0.0, 0.0);\n\t\tfloat angle = getAngleInSingleLeft(x, uPhase);\n\n\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\tpos.y = pos.y - (b * C_FUNC3(x) * PHASE_FUNC2(uPhase));\n\t\tpos.y = max(pos.y, 0.0);\n\t\treturn pos;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvec2 pos = getPosition(aVertexPosition.x);\n\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tfloat nextX = aVertexPosition.x + uDeltaX;\n\t\tvec2 pr = getPosition(nextX);\n\t\tvec3 pNormal = getNormal(v, pr);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}";
case 3:return"\n\tfloat C_FUNC4(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth, 0.0);\n\t}\n\n\tfloat PHASE_OFFSET_FUNC4(float x)\n\t{\n\t\treturn linearInterpolation(x, 0.0, PHASE_OFFSET, uSlideWidth, 0.0);\n\t}\n\n\tfloat getAngleInSingleRight(float x, float phase)\n\t{\n\t\tfloat angle;\n\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t{\n\t\t\tangle = ANGLE * (1.0 + phase - (PHASE_OFFSET_FUNC4(x) * PHASE_FUNC(phase)));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tangle = ANGLE * (1.0 + phase - PHASE_OFFSET_FUNC4(x));\n\t\t}\n\t\treturn max(angle, ANGLE);\n\t}\n\n\tvec2 getPosition(float x)\n\t{\n\t\tfloat a = uSlideWidth * C_FUNC4(x);\n\t\tfloat b = a * COEF_2;\n\t\tvec2 center = vec2(uSlideWidth, 0.0);\n\t\tfloat angle = getAngleInSingleRight(x, uPhase);\n\n\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\tpos.y = pos.y - (b * C_FUNC4(x) * PHASE_FUNC2(uPhase));\n\t\tpos.y = max(pos.y, 0.0);\n\t\treturn pos;\n\t}\n\n\tvoid main(void)\n\t{\n\t\tvec2 pos = getPosition(aVertexPosition.x);\n\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tfloat nextX = aVertexPosition.x + uDeltaX;\n\t\tvec2 pr = getPosition(nextX);\n\t\tvec3 pNormal = getNormal(v, pr);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}";
default:throw Error("Unknown transition page curl type");}}k.Gb=function(){var a=this.slideWidth();const b=this.slideHeight();this.nd=Qw(2,40,a,b);this.pc=Sw(2,40);this.sr=new nv;a=$u(this,uv(this.nd),3);this.sr.rd=a;a=$u(this,vv(this.nd),2);this.sr.vd=a;a=av(this,this.pc);this.sr.hd=a};function $y(a,b,c){Q.call(this,a);this.G=b;this.pz=c}v($y,Q);$y.prototype.initialize=function(){S(this,!0);T(this,!0);this.sa().zd();this.Gc=!1;var a=this.P(),b=this.fb().content();a.appendChild(b);a=this.P();b=this.sa().content();a.appendChild(b)};
$y.prototype.$=function(a){const b=this.slideWidth(),c=this.slideHeight();var d=0,e=0;let f=0,h=0;this.G==az||this.G==bz?(d=this.G==az?1:-1,f=this.G==az?-1:1):(e=this.G==cz?1:-1,h=this.G==cz?-1:1);const g=this.pz?Rv(0,.7,7,a):Qv(a);d=Math.floor(g*d*b);e=Math.floor(g*e*c);qh(this.fb().content(),d,e);qh(this.sa().content(),f*b+d,h*c+e);I(this.sa().background(),a)};var cz=0,bz=1,az=2;function dz(a,b){Q.call(this,a);this.G=b;this.ja(!1,!0)}v(dz,Su);k=dz.prototype;k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);this.Gb();mat4.translate(this.ta,[(this.G==ez?-1:1)*this.slideWidth()/2,this.slideHeight()/2,0]);mv(this)};k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.4;\n\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\tvoid main(void)  \n\t{ \n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform bool uDirectionIsLeft;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tconst float ANGLE = 45.0;\n\tconst float PI = 3.14159265358979323846264;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\n\tmat4 rotationZmatrix(float angle)\n\t{\n\t  \tfloat ang = radians(angle);\n\t  \tfloat cosA = cos(ang);\n\t  \tfloat sinA = sin(ang);\n\n\t  \tmat4 m = mat4(1.0);\n\t  \tm[0] = vec4(cosA, sinA, 0, 0);\n\t  \tm[1] = vec4(-sinA, cosA, 0, 0);\n\t  \treturn m;\n\t}\n\n\tvec3 getOriginPos(vec3 pos)\n\t{\n\t\tvec3 v = vec3(pos.x, pos.y, 0.0);;\n\t\tmat4 m;\n\n\t\tvec2 p;\n\t\tif (uDirectionIsLeft)\n\t\t{\n\t\t\tm = rotationZmatrix(ANGLE);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tv.x = pos.x - uSlideWidth;\n\t\t\tm = rotationZmatrix(-ANGLE);\n\t\t}\n\t\tv = (m * vec4(v.xyz, 1.0)).xyz;\n\t\treturn vec3(v.x, v.y, 0.0);\n\t}\n\n\tfloat calcX(float phase, float u, float r, float maxSide)\n\t{\n\t\tfloat coeff = (u < 0.0) ? -1.0 : 1.0;\n\t\tfloat centerX = linearInterpolation(phase, 0.0, maxSide, 1.0, 0.0);\n\t\tfloat m = PI * r;\n\n\t\tif (centerX > coeff * u)\n\t\t{\n\t\t\treturn u;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\t\t\tfloat b = linearInterpolation(coeff * u, centerX, -90.0, maxSide + 1.0, a - 90.0);\n\n\t\t\tif (coeff * u >= centerX + m)\n\t\t\t{\n\t\t\t\treturn coeff * (centerX - (coeff * u - centerX - m));\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat ang = b * PI / 180.0;\n\t\t\t\treturn coeff * (centerX + r * cos(ang));\n\t\t\t}\n\t\t}\n\t}\n\n\tfloat calcY(float phase, float u, float r, float maxSide)\n\t{\n\t\tu = abs(u);\n\n\t\tfloat centerX = linearInterpolation(phase, 0.0, maxSide, 1.0, 0.0);\n\t\tfloat centerY = r;\n\n\t\tfloat m = PI * r;\n\t\tif (centerX >= u)\n\t\t{\n\t\t\treturn 0.0;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (u > centerX + m)\n\t\t\t{\n\t\t\t\treturn linearInterpolation(u, centerX + m, r * 2.0, centerX + m + m, r * 2.5);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\t\t\t\tfloat b = linearInterpolation(u, centerX, -90.0, maxSide+1.0, a - 90.0);\n\n\t\t\t\tfloat ang = b * PI / 180.0;\n\t\t\t\treturn centerY + r * sin(ang);\n\t\t\t}\n\t\t}\n\t}\n\n\tvec3 getVertexPosition(float phase, vec3 pos)\n\t{\n\t\tvec3 originPos = getOriginPos(pos);\n\t\tfloat maxSide = sqrt(uSlideWidth * uSlideWidth + uSlideHeight * uSlideHeight);\n\n\t\tfloat r = max(uSlideWidth, uSlideHeight) / 4.0;\n\t\tvec3 v = vec3(calcX(phase, originPos.x, r, maxSide), originPos.y, calcY(phase, originPos.x, r, maxSide));\n\n\t\tmat4 m;\n\t\tif (uDirectionIsLeft)\n\t\t{\n\t\t\tm = rotationZmatrix(-ANGLE);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tm = rotationZmatrix(ANGLE);\n\t\t}\n\n\t\treturn (m * vec4(v.xyz, 1.0)).xyz;\n\t}\n\n\tvec3 getVertexNormal(float phase, vec3 pos)\n\t{\n\t\tconst float DELTA_W = 1.0;\n\t\tconst float DELTA_H = 1.0;\n\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + DELTA_W, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + DELTA_H, pos.z));\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\n\t\treturn normalize(cross(v2, v1));\n\t}\n\n\tvoid main(void)\n\t{\n\t\tfloat phase = uPhase;\n\t\tvec3 vertex = vec3(aVertexPosition.x, aVertexPosition.y, aVertexPosition.z);\n\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0);\n\t\tgl_Position = uPMVMatrix * p;\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 pNormal = getVertexNormal(phase, vertex);\n\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\tvNormal = transformedNormal;\n\t}"};
k.$=function(a){a=Y(0,0,1,1.2)(a);this.F.uniform1f(this.qd,a);ev(this,this.od,this.F.TRIANGLE_STRIP)};k.Je=function(){fv(this);this.Ec=hv(this,"uSampler");this.qd=hv(this,"uPhase");const a=hv(this,"uDirectionIsLeft"),b=hv(this,"uSlideWidth");this.F.uniform1f(hv(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(b,this.slideWidth());this.F.uniform1i(a,this.G==ez?1:0)};k.Ae=function(){};
k.Gb=function(){this.nd=Qw(30,30,this.slideWidth(),this.slideHeight());this.pc=Sw(30,30);this.od=new nv;var a=$u(this,uv(this.nd),3);this.od.rd=a;a=$u(this,vv(this.nd),2);this.od.vd=a;a=av(this,this.pc);this.od.hd=a};k.Nf=function(){return this.Ec};k.ze=function(){Yu(this,this.od)};var ez=0;function fz(a){Q.call(this,a);this.ja(!1,!0)}v(fz,Su);k=fz.prototype;k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);this.Gb();mat4.translate(this.ta,[-this.slideWidth()/2,this.slideHeight()/2,0]);mv(this)};k.DF=function(){if(void 0!==gz)return gz;this.Ll();return gz=this.rk};k.Ll=function(){void 0===this.F&&fz.Ua.Ll.call(this)};k.$=function(a){this.F.uniform1f(this.qd,a);ev(this,this.od,this.F.TRIANGLE_STRIP)};
k.Gb=function(){this.nd=Qw(10,35,this.slideWidth(),this.slideHeight());this.pc=Sw(10,35);this.od=new nv;var a=$u(this,uv(this.nd),3);this.od.rd=a;a=$u(this,vv(this.nd),2);this.od.vd=a;a=av(this,this.pc);this.od.hd=a};k.ze=function(){Yu(this,this.od)};k.Je=function(){fv(this);this.Ec=hv(this,"uSampler");this.qd=hv(this,"uPhase");const a=hv(this,"uSlideWidth");this.F.uniform1f(hv(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(a,this.slideWidth())};k.Ae=function(){};k.Nf=function(){return this.Ec};
k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.3;\n\tconst float DIFFUSE_INTENSITY = 0.7;\n\n\tvoid main(void)\n\t{\n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec3 aVertexNormal;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tconst float START_EFFECT_TIME = 0.0;\n\tconst float START_FLY_EFFECT_TIME = 0.4;\n\tconst float STOP_FLY_EFFECT_TIME = 0.8;\n\tconst float START_TOP_CENTER = 0.0;\n\tconst float START_TOP_CORNERS_TIME = 0.1;\n\tconst float START_BOTTOM_CORNERS_TIME = 0.0;\n\n\tconst float HORIZONTAL_WAVES_COUNT = 3.0;\n\tfloat HORIZONTAL_MAX_AMPLITUDE;\n\tconst float HORIZONTAL_WAVE_RUNNING_START_TIME = 0.0;\n\n\tconst float MAX_FLEX_DELAY = 0.1;\n\n\tfloat MAX_STRETCHING_Z;\n\tfloat MAX_STRETCHING_Y;\n\tfloat HORIZONTAL_TOP_STRETCHING;\n\tfloat VERTICAL_TOP_STRETCHING;\n\n\tconst float PI = 3.141592654;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\tvec2 getMirrorPoint(vec2 a, vec2 b, vec2 p)\n\t{\n\t\treturn a + reflect(a - p, b - a);\n\t}\n\tfloat calcCenterWave(float x, float phase, float A, float F, float dx, float dy)\n\t{\n\t\tfloat CENTER_LINE_POS = uSlideWidth * 0.5;\n\t\tfloat startX = CENTER_LINE_POS;\n\t\tif (x < startX)\n\t\t{\n\t\t\tx = getMirrorPoint(vec2(CENTER_LINE_POS, 0), vec2(CENTER_LINE_POS , uSlideHeight), vec2(x, 0)).x;\n\t\t}\n\t\tfloat s = linearInterpolation(phase, 0.0, startX, 1.0, uSlideWidth);\n\t\tif ((x < startX) || (x < s))\n\t\t{\n\t\t\treturn 0.0;\n\t\t}\n\t\tfloat x0 = - linearInterpolation(phase, 0.0, 2.0 * PI * startX / uSlideWidth * HORIZONTAL_WAVES_COUNT, 1.0, PI * 2.0 * HORIZONTAL_WAVES_COUNT);\n\t\treturn A + A * sin(F * x +-PI / 2.0 + x0);\n\t}\n\tfloat getColWaveDelay(float phase, vec3 pos)\n\t{\n\t\tphase = linearInterpolation(phase, HORIZONTAL_WAVE_RUNNING_START_TIME, 0.0, 1.0, 1.0);\n\t\tfloat MAX_AMPLITUDE = linearInterpolation(phase, 0.0, 0.0, 1.0, HORIZONTAL_MAX_AMPLITUDE);\n\t\tfloat A = linearInterpolation(pos.y, 0.0, 0.0, uSlideHeight, MAX_AMPLITUDE);\n\t\tfloat F = (PI * 2.0 / uSlideWidth) * HORIZONTAL_WAVES_COUNT;\n\t\treturn calcCenterWave(pos.x, phase, A, F, 0.0, 0.0);\n\t}\n\tvec3 getVertexPosition(float phase, vec3 pos)\n\t{\n\t\tfloat CENTER = uSlideWidth * 0.5;\n\t\tphase = pow(phase, 4.0);\n\t\tfloat modifiedPhase = phase;\n\n\t\tfloat deltaZVertical = linearInterpolation(abs(pos.y), 0.0, 1.0, uSlideHeight / 2.0, 0.0);\n\t\tif (abs(pos.y) > uSlideHeight * 0.5)\n\t\t{\n\t\t\tdeltaZVertical = 0.0;\n\t\t}\n\t\tbool isLeft = (pos.x < CENTER);\n\t\tfloat stretch;\n\t\tfloat yDelay;\n\t\tvec3 delta = vec3(0, 0, 0);\n\t\tif (modifiedPhase > START_TOP_CENTER)\n\t\t{\n\t\t\tif (isLeft)\n\t\t\t{\n\t\t\t\tyDelay = linearInterpolation(pos.x, 0.0, MAX_FLEX_DELAY, CENTER, 0.0);\n\t\t\t\tstretch = linearInterpolation(pos.x, 0.0, 0.0, CENTER, 1.0);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tyDelay = linearInterpolation(pos.x, CENTER, 0.0, uSlideWidth, MAX_FLEX_DELAY);\n\t\t\t\tstretch = linearInterpolation(pos.x, CENTER, 1.0, uSlideWidth, 0.0);\n\t\t\t}\n\t\t\tfloat deltaZHorizontal = pow(stretch, 3.0);\n\t\t\tmodifiedPhase = linearInterpolation(modifiedPhase, START_TOP_CENTER, 0.0, 1.0, 1.0);\n\t\t\tif (modifiedPhase >= yDelay)\n\t\t\t{\n\t\t\t\tdelta.y = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Y * deltaZHorizontal * deltaZVertical);\n\t\t\t\tdelta.z = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Z * deltaZHorizontal * deltaZVertical);\n\t\t\t}\n\t\t\tdelta.y = -delta.y;\n\t\t}\n\t\tif (phase > HORIZONTAL_WAVE_RUNNING_START_TIME)\n\t\t{\n\t\t\tdelta.z += getColWaveDelay(phase, pos);\n\t\t}\n\t\treturn pos - delta;\n\t}\n\tfloat getPower(float h1, float h2, float v1, float v2, vec2 pos, float max2)\n\t{\n\t  float a1 = min(max(linearInterpolation(pos.x, h1, 1.0, h2, 0.0), 0.0), 1.0);\n\t  float a2 = linearInterpolation(pos.y, v1, 1.0, v2, max2);\n\t  return a1 * a2;\n\t}\n\tvec3 updateVertex(float phase, vec3 translation)\n\t{\n\t\tfloat pPhase = phase;\n\t\tvec3 delta = vec3(0, 0, 0);\n\t\tvec3 v0 = getVertexPosition(phase, aVertexPosition);\n\n\t\tif (phase > START_TOP_CORNERS_TIME)\n\t\t{\n\t\t\tpPhase = linearInterpolation(phase, START_TOP_CORNERS_TIME, 0.0, 1.0, 1.0);\n\t\t\tpPhase = pow(pPhase, 4.0);\n\n\t\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\t\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\n\t\t\tdelta += vec3(p2 - p1, -p1 - p2, 0) * vec3(HORIZONTAL_TOP_STRETCHING, VERTICAL_TOP_STRETCHING, 0)  * vec3(pPhase, pPhase, 0);\n\t\t}\n\t\tif (phase > START_BOTTOM_CORNERS_TIME)\n\t\t{\n\t\t\tpPhase = linearInterpolation(phase, START_BOTTOM_CORNERS_TIME, 0.0, 1.0, 1.0);\n\t\t\tpPhase = pow(pPhase, 4.0);\n\n\t\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.25, uSlideHeight, 0.0, v0.xy, 0.0);\n\t\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.75, uSlideHeight, 0.0, v0.xy, 0.0);\n\n\t\t\tdelta += vec3(0.5, 1, 0.25) * vec3(p2 - p1, p2, p2) * vec3(uSlideWidth, uSlideHeight, uSlideHeight) * vec3(pPhase, pPhase, pPhase);\n\t\t}\n\t\tdelta.y = -min(uSlideHeight * 0.75, abs(delta.y));\n\t\treturn (translation + v0 + delta);\n\t}\n\tvec3 getPosition(float phase, vec3 pos)\n\t{\n\t  \tfloat maxSide = sqrt(uSlideHeight * uSlideHeight + (uSlideWidth * 0.5) *  (uSlideWidth * 0.5)) * 2.0;\n\t\tvec3 translation = vec3(0.0);\n\t\tif ((phase >= START_FLY_EFFECT_TIME) && (phase <= STOP_FLY_EFFECT_TIME))\n\t\t{\n\t\t\tfloat modifiedPhase = linearInterpolation(phase, START_FLY_EFFECT_TIME, 0.0, STOP_FLY_EFFECT_TIME, 1.0);\n\t\t\tmodifiedPhase = pow(modifiedPhase, 4.0);\n\t\t\ttranslation = vec3(0.0, modifiedPhase * maxSide, 0.0);\n\t\t}\n\t\telse if (phase > STOP_FLY_EFFECT_TIME)\n\t\t{\n\t\t\ttranslation = vec3(0.0, maxSide, 0.0);\n\t\t}\n\t\tif (phase >= START_EFFECT_TIME)\n\t\t{\n\t\t\tfloat modifiedPhase = linearInterpolation(phase, START_EFFECT_TIME, 0.0, 1.0, 1.0);\n\t\t\treturn updateVertex(modifiedPhase, translation);\n\t\t}\n\t\treturn updateVertex(0.0, translation);\n\t}\n\n\tvec3 getVertexNormal(float phase, vec3 pos)\n\t{\n\t\tfloat deltaWidth = (pos.x == uSlideWidth) ? -1.0 : 1.0;\n\t\tfloat deltaHeight = 1.0;\n\n\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\n\t\tvec3 v1 = right - p;\n\t\tvec3 v2 = down - p;\n\n\t\tvec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\t\tn = normalize(n);\n\n\t\treturn n;\n\t}\n\tvoid main()\n\t{\n\t\tMAX_STRETCHING_Z = 0.74 * uSlideHeight;\n\t\tMAX_STRETCHING_Y = 0.74 * uSlideHeight;\n\t\tHORIZONTAL_TOP_STRETCHING = 0.42 * uSlideWidth;\n\t\tVERTICAL_TOP_STRETCHING = 0.05 * uSlideHeight;\n\t\tHORIZONTAL_MAX_AMPLITUDE = 0.93 * uSlideHeight;\n\n\t  \tvTextureCoord = aTextureCoord;\n\n\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\tvec4 p = vec4(getPosition(uPhase, vertex), 1.0);\n\t\tgl_Position = uPMVMatrix * p;\n\n\t\tvec3 transformedNormal = uNMatrix * getVertexNormal(uPhase, vertex);\n\t\tvNormal = transformedNormal;\n\t}"};
var gz=void 0;function hz(a,b){Q.call(this,a);this.G=b;this.ja(!0,!0)}v(hz,Q);hz.prototype.initialize=function(){S(this,!1);T(this,!1);const a=U(this.slideWidth(),this.slideHeight());G(a,"position","absolute");this.P().appendChild(a);this.Cw=a};
hz.prototype.$=function(a){const b=this.slideWidth(),c=this.slideHeight(),d=b*Bv(0,b,Math.floor(a*b));a=c*Bv(0,c,Math.floor(a*c));const e=this.Cw.getContext("2d");e.clearRect(0,0,b,c);switch(this.G){case iz:e.drawImage(this.wa,0,a-c);e.drawImage(this.X,0,a);break;case jz:e.drawImage(this.wa,b-d,0);e.drawImage(this.X,-d,0);break;case kz:e.drawImage(this.wa,d-b,0);e.drawImage(this.X,d,0);break;case lz:e.drawImage(this.wa,0,c-a),e.drawImage(this.X,0,-a)}};var iz=0,jz=1,kz=2,lz=3;function mz(a,b){Q.call(this,a);this.aG=b;this.ja(!1,!0);this.kq=[];a=this.slideWidth();switch(this.aG){case nz:a=this.slideHeight();break;case oz:a=this.slideWidth()}this.pn=Math.floor(a/7);a=[];for(b=0;b<this.pn;b++)a.push({index:b,uy:Math.random()});a.sort(function(c,d){return c.uy<d.uy?-1:c.uy>d.uy?1:0});for(b=0;b<this.pn;b++){let c=a[b].index;c=c==this.pn-1?1:c/this.pn;this.kq.push(new pz(c,.8*b/(this.pn-1)))}}v(mz,Q);
mz.prototype.initialize=function(){this.sa().zd();S(this,!1);T(this,!0);this.Fi=U(this.slideWidth(),this.slideHeight());this.P().appendChild(this.Fi);this.Kf=this.Fi.getContext("2d")};
mz.prototype.$=function(a){var b=this.slideWidth(),c=this.slideHeight(),d=this.X;const e=this.Kf;e.clearRect(0,0,b,c);e.drawImage(d,0,0);d=a;this.N()&&(d=1-a);e.save();e.globalCompositeOperation="destination-out";a=this.N()?"#FFF":"rgba(255,255,255,0)";const f=this.N()?"rgba(255,255,255,0)":"#FFF";b=this.aG==nz?e.createLinearGradient(b/2,0,b/2,c):e.createLinearGradient(0,c/2,b,c/2);for(c=0;c<this.pn;c++){const h=this.kq[c].gk;let g=Math.min((d-this.kq[c].getStartTime())/.2,1);this.N()&&(g=1-g);g=
Sm(g);d>=this.kq[c].getStartTime()+.2?b.addColorStop(h,f):d>=this.kq[c].getStartTime()?b.addColorStop(h,"rgba(255,255,255,"+g+")"):b.addColorStop(h,a)}e.fillStyle=b;e.beginPath();e.rect(0,0,this.slideWidth(),this.slideHeight());e.fill();e.restore()};var nz=0,oz=1;function pz(a,b){this.gk=a;this.Yf=b}pz.prototype.getStartTime=function(){return this.Yf};function qz(a,b){Q.call(this,a);this.G=b;this.Gc=!1;this.ja(!1,!1,!0,!0,!1,!1)}v(qz,Q);qz.prototype.initialize=function(){S(this,!1);T(this,!1);var a=this.P(),b=this.sa().background();a.appendChild(b);a=this.P();b=this.fb().background();a.appendChild(b);this.ou=U(this.slideWidth(),this.slideHeight());G(this.ou,"position","absolute");this.P().appendChild(this.ou);this.nz=U(this.slideWidth(),this.slideHeight());G(this.nz,"position","absolute");this.P().appendChild(this.nz)};
qz.prototype.$=function(a){var b=this.slideWidth(),c=this.slideHeight(),d=this.ou.getContext("2d");d.clearRect(0,0,b,c);var e=.5>a?this.G==rz||this.G==sz?Y(0,-b,.5,b):Y(0,b,.5,-b):this.G==rz||this.G==sz?Y(.5,b,1,-b):Y(.5,-b,1,b);e=d.createLinearGradient(e(a),0,e(a)+b,0);this.G==rz||this.G==sz?(e.addColorStop(0,"rgba(0, 0, 0, 1)"),e.addColorStop(1,"rgba(0, 0, 0, 0)")):(e.addColorStop(0,"rgba(0, 0, 0, 0)"),e.addColorStop(1,"rgba(0, 0, 0, 1)"));this.G==tz||this.G==sz?(I(this.fb().background(),1-a),.5>
a?d.drawImage(this.Xj,0,0):d.drawImage(this.yi,0,0),d.save(),d.globalCompositeOperation="destination-out",d.fillStyle=e,d.fillRect(0,0,this.slideWidth(),this.slideHeight()),d.restore()):(.5>a?(I(this.fb().background(),1),d.drawImage(this.Xj,0,0)):(I(this.fb().background(),0),d.drawImage(this.yi,0,0)),d=this.nz.getContext("2d"),d.clearRect(0,0,b,c),d.fillStyle=e,d.fillRect(0,0,this.slideWidth(),this.slideHeight()));.5>a?(b=Y(0,0,.5,uz),c=Y(0,0,.5,vz),d=Y(0,1,.5,1+wz)):(b=Y(.5,-uz,1,0),c=Y(.5,vz,1,
0),d=Y(.5,1+wz,1,1));a="scale("+d(a)+") translate("+b(a)+"px,"+c(a)+"px)";J(this.ou,a)};var uz=-30,vz=-20,wz=.1,tz=0,sz=1,rz=2;function xz(a,b){Q.call(this,a);this.Z=b;this.Gc=!1;this.ja(!1,!0)}v(xz,Q);xz.prototype.initialize=function(){S(this,!1);T(this,!0);const a=this.slideWidth(),b=this.slideHeight();this.rM=Math.sqrt(a*a+b*b)*(this.Z==yz?.5:1);this.Ro=a/2;this.So=b/2;switch(this.Z){case zz:this.Ro=a;this.So=b;break;case Az:this.Ro=a;this.So=0;break;case Bz:this.Ro=0;this.So=b;break;case Cz:this.So=this.Ro=0}this.Fi=U(a,b);G(this.Fi,"position","relative");this.P().appendChild(this.Fi);this.jB=this.Fi.getContext("2d")};
xz.prototype.$=function(a){this.jB.drawImage(this.X,0,0);var b=this.jB,c=this.Ro,d=this.So,e=this.rM;b.save();b.globalCompositeOperation="destination-in";c=b.createRadialGradient(c,d,0,c,d,e);d=1.2*a;e=1;var f=d,h=0,g=d-.2;.2>d?(h=1-d/.2,g=0):1<=d&&(e=1-(d-1)/.2,f=1);c.addColorStop(g,"rgba(0,0,0,"+Sm(h)+")");c.addColorStop(f,"rgba(0,0,0,"+Sm(e)+")");b.fillStyle=c;b.fillRect(0,0,this.slideWidth(),this.slideHeight());b.restore();b=.8-.2;c=this.jB;e=0;for(d=[1];;){f=2*a-.03125*e;if(0>=f)break;else 1>
f&&d.push(f);++e}d.push(0);e=this.Ro;f=this.So;e=c.createRadialGradient(e,f,0,e,f,this.rM);f=d.length;for(--f;0<=f;--f){h=d[f];g=a;g*=2;g=1-Bv(g-.2,g,h);var l=a;l*=2;g=.3*(.5*Math.cos(8*Math.PI*(h-2*a))+.5)*g*Bv(l-.2-b-.2,l-.2-b,h);g*=1-.5*h;e.addColorStop(h,"rgba(0,0,0,alpha)".replace("alpha",Sm(g).toString()))}c.fillStyle=e;c.fillRect(0,0,this.slideWidth(),this.slideHeight())};var yz=0,Bz=1,zz=2,Az=3,Cz=4;function Dz(a,b){Q.call(this,a);this.G=b;this.ja(!0,!0)}v(Dz,Su);k=Dz.prototype;k.initialize=function(){S(this,!1);T(this,!1);Vu(this,this.X);this.Gb();mat4.translate(this.ta,[-this.slideWidth()/2,this.slideHeight()/2,0]);mv(this)};k.Gb=function(){this.nd=Qw(50,50,this.slideWidth(),this.slideHeight());this.pc=Sw(50,50);this.Jg=new nv;var a=$u(this,uv(this.nd),3);this.Jg.rd=a;a=$u(this,vv(this.nd),2);this.Jg.vd=a;a=av(this,this.pc);this.Jg.hd=a};k.ze=function(){Yu(this,this.Jg);this.F.deleteTexture(this.Yr)};
k.Je=function(){fv(this);this.Jr=hv(this,"uSampler1");this.Kr=hv(this,"uSampler2");this.qd=hv(this,"uPhase");const a=hv(this,"uSlideSize"),b=hv(this,"uWaveCenter"),c=hv(this,"uWaveRadius"),d=this.slideWidth(),e=this.slideHeight();let f;switch(this.G){case yz:f=new W(d/2,e/2);break;case Az:f=new W(d,0);break;case Cz:f=new W(0,0);break;case Bz:f=new W(0,e);break;case zz:f=new W(d,e);break;default:throw Error("Unknown direction");}let h=Math.sqrt(d*d+e*e);this.G==yz&&(h=Math.sqrt(f.x()*f.x()+f.y()*f.y()));
this.F.uniform2fv(a,[d,e]);this.F.uniform2fv(b,[f.x(),f.y()]);this.F.uniform1f(c,h)};k.Ae=function(){};k.$=function(a){this.F.uniform1f(this.qd,a);ev(this,this.Jg,this.F.TRIANGLE_STRIP)};k.De=function(){return"precision mediump float;\n\n\tattribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\tuniform mat3 uNMatrix;\n\n\tconst float FREQUENCY = 12.566371; // 4.0 * PI\n\tconst float SHADOW = 0.3;\n\n\tuniform float uPhase;\n\tuniform vec2 uSlideSize;\n\tuniform vec2 uWaveCenter;\n\tuniform float uWaveRadius;\n\n\tvarying mediump vec2 vTextureCoord;\n\tvarying mediump float vShadow;\n\tvarying mediump float vAlpha;\n\n\tvoid main(void)\n\t{\n\t\tvec2 texCoord = aTextureCoord;\n\t\tvec2 screenCoord = texCoord * uSlideSize;\n\t\tvec2 centerToPoint = screenCoord - uWaveCenter;\n\n\t\tfloat angle = atan(centerToPoint.y, centerToPoint.x);\n\t\tfloat radius = length(centerToPoint);\n\n\t\tfloat phaseOffset = radius / uWaveRadius;\n\t\tfloat phaseOffsetFixed = (uPhase + uPhase) - phaseOffset;\n\t\tfloat offset = sin(phaseOffsetFixed * FREQUENCY) * smoothstep(1.0, 0.85, phaseOffsetFixed)  *  smoothstep(0.0, 0.15, phaseOffsetFixed) * (phaseOffset);\n\n\t\tfloat AMPLITUDE = min(uSlideSize.x, uSlideSize.y) / 15.0;\n\t\tradius = radius + offset * AMPLITUDE;\n\t\tcenterToPoint = vec2(radius * cos(angle), radius * sin(angle));\n\n\t\ttexCoord =(uWaveCenter + centerToPoint) / uSlideSize;\n\t\tfloat alpha = smoothstep(0.0, 1.0, phaseOffsetFixed);\n\t\tfloat shadow = (1.0 - SHADOW * abs(offset));\n\n\t\tvTextureCoord = texCoord;\n\t\tvShadow = shadow;\n\t\tvAlpha = alpha;\n\n\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t}"};
k.Ce=function(){return"precision mediump float;\n\n\tvarying mediump vec2 vTextureCoord;\n\tvarying mediump float vShadow;\n\tvarying mediump float vAlpha;\n\n\tuniform sampler2D uSampler1;\n\tuniform sampler2D uSampler2;\n\n\tvoid main(void)  \n\t{ \n\t\tif (vTextureCoord.x < 0.0 || vTextureCoord.x > 1.0 || vTextureCoord.y < 0.0 || vTextureCoord.y > 1.0) \n\t\t{ \n\t\t\tgl_FragColor = mix(vec4(0.0), vec4(0.0), 0.0);\n\t\t\treturn;\n\t\t} \n\t\tvec4 color1 = texture2D(uSampler1, vTextureCoord);\n\t\tvec4 color2 = texture2D(uSampler2, vTextureCoord);\n\t\tvec4 mixedColor = mix(color1, color2, vAlpha);\n\t\tgl_FragColor = vec4(vShadow * mixedColor.rgb, mixedColor.a);\n\t}"};
k.Jq=function(){this.Xr=Zu(this,this.F.TEXTURE0,this.Jr,0,this.X);this.Yr=Zu(this,this.F.TEXTURE1,this.Kr,1,this.wa)};function Ez(a){Q.call(this,a);this.ja(!1,!0)}v(Ez,Q);Ez.prototype.initialize=function(){S(this,!1);this.Fi=U(this.slideWidth(),this.slideHeight());this.P().appendChild(this.Fi);this.Kf=this.Fi.getContext("2d")};
Ez.prototype.$=function(a){const b=this.slideWidth(),c=this.slideHeight();var d=this.X;const e=this.Kf;e.clearRect(0,0,b,c);e.drawImage(d,0,0);e.save();d=a*Math.max(b,c);e.globalCompositeOperation="destination-out";const f=e.createRadialGradient(b/2,c/2,a*d,b/2,c/2,d);f.addColorStop(0,"#FFFFFF");f.addColorStop(.15,"rgba(255,255,255,128)");f.addColorStop(1,"rgba(255,255,255,0)");e.fillStyle=f;e.beginPath();e.arc(b/2,c/2,d,0,2*Math.PI,!0);e.fill();e.restore();this.N()&&0>=a&&T(this,!1)};function Fz(a){Q.call(this,a);this.ja(!0,!1)}v(Fz,Q);Fz.prototype.initialize=function(){T(this,!1);S(this,!0);this.NI=U(this.slideWidth(),this.slideHeight());this.P().appendChild(this.NI);this.gR=this.wa.getContext("2d");this.hR=this.NI.getContext("2d")};
Fz.prototype.$=function(a){if(0!=a||this.N()){var b=this.slideWidth(),c=this.slideHeight(),d=this.wa,e=this.hR;e.clearRect(0,0,b,c);e.drawImage(d,0,0);e.save();e.globalCompositeOperation="destination-out";d=Gz(this,b/2,c/2,b/2+b*a,c/2+c*a,a,!1,!1);var f=b/2,h=c/2,g=b/2,l=c/2;e.fillStyle=d;e.beginPath();e.rect(f,h,g,l);e.fill();d=Gz(this,b/2,c/2,b/2+b*a,-a*c+c/2,a,!0,!1);f=b/2;h=b/2;g=c/2;e.fillStyle=d;e.beginPath();e.rect(f,0,h,g);e.fill();d=Gz(this,b/2,c/2,-a*b+b/2,c/2+c*a,a,!1,!0);f=c/2;h=b/2;g=
c/2;e.fillStyle=d;e.beginPath();e.rect(0,f,h,g);e.fill();a=Gz(this,b/2,c/2,-a*b+b/2,-a*c+c/2,a,!0,!0);b/=2;c/=2;e.fillStyle=a;e.beginPath();e.rect(0,0,b,c);e.fill();e.restore()}};
function Gz(a,b,c,d,e,f,h,g){const l=a.gR;a=a.slideHeight()>a.slideWidth()?l.createLinearGradient(b,c,(g?-b:b)*f*2+d,e):l.createLinearGradient(b,c,d,(h?-c:c)*f*2+e);a.addColorStop(0,"rgba(255,255,255,0)");a.addColorStop(.2<f?f-.2:0,"rgba(255,255,255,0)");a.addColorStop(f,"rgba(255,255,255,128)");a.addColorStop(.8>f?f+.2:1,"#FFFFFF");a.addColorStop(1,"#FFFFFF");return a};function Hz(a){Q.call(this,a);this.ja(!1,!0)}v(Hz,Q);Hz.prototype.initialize=function(){S(this,!1);T(this,!0);this.qb=U(this.slideWidth(),this.slideHeight());this.P().appendChild(this.qb)};
Hz.prototype.$=function(a){var b=(this.slideWidth()/2+50)*(1-a),c=b-50,d=(this.slideHeight()/2+50)*(1-a);let e=d-50;const f=this.qb.getContext("2d");f.clearRect(0,0,this.slideWidth(),this.slideHeight());f.drawImage(this.X,0,0);f.save();f.globalCompositeOperation="destination-out";d=f.createLinearGradient(0,d,0,e);d.addColorStop(0,"rgba(255, 255, 255, 1)");d.addColorStop(1,"rgba(255, 255, 255, 0)");b=f.createLinearGradient(b,0,c,0);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");
c=this.slideWidth()/2+(this.slideWidth()/2+50)*a;c=f.createLinearGradient(c-50,0,c,0);c.addColorStop(0,"rgba(255, 255, 255, 1)");c.addColorStop(1,"rgba(255, 255, 255, 0)");e=this.slideHeight()/2+(this.slideHeight()/2+50)*a;a=f.createLinearGradient(0,e-50,0,e);a.addColorStop(0,"rgba(255, 255, 255, 1)");a.addColorStop(1,"rgba(255, 255, 255, 0)");f.fillStyle=d;f.fillRect(0,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=b;f.fillRect(0,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=a;
f.fillRect(0,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=b;f.fillRect(0,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=d;f.fillRect(this.slideWidth()/2,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=c;f.fillRect(this.slideWidth()/2,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=a;f.fillRect(this.slideWidth()/2,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=c;f.fillRect(this.slideWidth()/2,this.slideHeight()/
2,this.slideWidth()/2,this.slideHeight()/2);f.restore()};function Iz(){var a=Array(2);Jz(a,0,0);return a}function Jz(a,b,c){a[0]=b;a[1]=c};function Kz(a,b){Q.call(this,a);this.Z=b;this.ja(!0,!0)}v(Kz,Q);k=Kz.prototype;
k.initialize=function(){S(this,!1);T(this,!1);this.vz=this.DL=!1;this.xv=[];this.Cv=[];var a=this.slideWidth(),b=this.slideHeight();this.UA=Math.max(a,b);var c=this.ni(this.P(),a,b,!0);fi(c,this.UA+"px");this.ha=this.ni(c,a,b,!0);this.lB=this.ni(this.ha,a,b,!0);this.yv=this.ni(this.ha,a,b,!0);G(this.yv,"visibility","hidden");if(this.Z==Lz||this.Z==Mz){b=oi?4:8;c=this.N()?this.wa:this.X;const p=this.N()?this.X:this.wa;var d=this.slideWidth(),e=this.slideHeight(),f=b/2-1;for(a=0;a<b;a++){var h=.05+
.05*Math.random(),g=a<=f?-1:1,l=Math.floor((200*Math.random()+50)*(.5>Math.random()?-1:1));this.Cv[a]=this.zn(this.lB,d,e,h,l,g);this.xv[a]=this.zn(this.yv,d,e,h,l,g)}d/=128;e/=96;f=0;g=[];for(a=0;128>a;++a){h=0;l=Math.round((a+1)*d)-f;const q=f;for(let t=0;96>t;++t){if(0==g.length)for(var n=0;n<b;++n)g[n]=n;n=Math.round((t+1)*e)-h;const u=h;var m=Math.floor(g.length*Math.random());const y=g[m];g.splice(m,1);m=this.xv[y].canvas;this.Cv[y].canvas.getContext("2d").drawImage(c,q,u,l,n,q,u,l,n);m.getContext("2d").drawImage(p,
q,u,l,n,q,u,l,n);h+=n}f+=l}}else Nz(this)};k.ni=function(a,b,c,d){const e=rd("DIV");G(e,"position","absolute");xh(e,b,c);a.appendChild(e);d&&ei(e,"preserve-3d");return e};k.zn=function(a,b,c,d,e,f){b=U(b,c);G(b,"position","absolute");a.appendChild(b);return new Oz(b,d,e,f)};
function Nz(a){function b(F,M,O,P){if(void 0!=F){var R=F.ht,V=F.Zk;F=Math.max(R[0]-1,0);R=Math.max(R[1]-1,0);var fa=Math.min(V[0]+1,c)-F;V=Math.min(V[1]+1,d)-R;O=O.canvas.getContext("2d");P=P.canvas.getContext("2d");O.drawImage(E,F,R,fa,V,F-M,R,fa,V);P.drawImage(x,F,R,fa,V,F-M,R,fa,V)}}const c=a.slideWidth(),d=a.slideHeight();var e=.675*d,f=.125*d,h=.034*c,g=.018*c,l=(.02-.009)*c,n=.009*c;const m=[];m.push({$s:void 0,ij:void 0,Ip:void 0});var p=0,q=0,t=!0;for(let F=0;F<c;F+=p){let M=0,O=0;const P=
m[q];t?(O=d,M=l*Math.random()+n):(O=e*Math.random()+f,M=h*Math.random()+g);if(0==q&&t){var u=Iz();Jz(u,F,0);var y=Iz();Jz(y,F+M,O)}F+M>c&&(M=c-F);if(!t&&F+M>=c)if(M>.5*h+g)M=g;else{P.Ip=void 0;u=Iz();Jz(u,P.ij.x,0);y=Iz();Jz(y,F+M,O);P.ij.Zk.x+=M;P.ij.Zk.y=d;continue}t?(u=Iz(),Jz(u,F,0),y=Iz(),Jz(y,F+M,O),P.ij={ht:u,Zk:y}):(u=Iz(),Jz(u,F,O),y=Iz(),Jz(y,F+M,d),P.Ip={ht:u,Zk:y},m.push({$s:void 0,ij:void 0,Ip:void 0}),p=m[++q],u=Iz(),Jz(u,F,0),y=Iz(),Jz(y,F+M,O),p.$s={ht:u,Zk:y});p=M;t=!t}const E=a.N()?
a.wa:a.X,x=a.N()?a.X:a.wa;e=.5>Math.random()?-1:1;for(f=0;f<m.length;++f)l=.05+.05*Math.random(),n=Math.floor((200*Math.random()+50)*e),h=m[f],g=h.ij.ht[0],q=h.ij.Zk[0],void 0!=h.$s&&(g=h.$s.ht[0]),void 0!=h.Ip&&(q=h.Ip.Zk[0]),t=q-g,q=a.zn(a.lB,t,d,l,n,e),l=a.zn(a.yv,t,d,l,n,e),qh(q.canvas,g,0),qh(l.canvas,g,0),b(h.$s,g,q,l),b(h.ij,g,q,l),b(h.Ip,g,q,l),a.Cv[f]=q,a.xv[f]=l,e=-e}
k.YA=function(a){const b=this.N(),c=this.Z==Mz||this.Z==Pz;c&&!this.vz&&(!b&&.47<=a||b&&.47>=a)&&(this.vz=!0);if(0<=a&&.4>a){var d=Y(0,0,.4,1);a=d(a)}else.6<=a&&1>a?(d=Y(.6,1,1,0),a=d(a)):a=1;d=-this.UA*a/2;let e=30*a*(this.vz?-1:1);c&&b&&(e=-e);J(this.ha,"translateZ("+d+"px) rotateY("+e+"deg) rotateX("+-15*a+"deg)")};
k.$=function(a){if(1!=a||!this.N()){this.YA(a);const f=2*this.UA;var b=this.N();let h=this.Cv;if(b&&.47>=a||!b&&.47<=a)h=this.xv,this.DL||(this.DL=!0,G(this.yv,"visibility","visible"),G(this.lB,"visibility","hidden"));b=h.length;for(let g=0;g<b;++g){const l=h[g];var c=a;if(.4>c){var d=Y(0,0,.4,1);c=d(c)}else.522<=c&&.922>c?(d=Y(.522,1,.922,0),c=d(c)):c=.4<=c&&.522>c?1:0;c*=l.zV;d=a;if(.401<=d&&.461>d){var e=Y(.401,0,.461,1);d=e(d)}else.461<=d&&.521>d?(e=Y(.461,1,.521,0),d=e(d)):d=0;J(l.canvas,"translateZ("+
(d*f*l.direction+c)+"px)")}}};function Oz(a,b,c,d){this.canvas=a;this.startTime=b;this.zV=c;this.direction=d}var Pz=1,Lz=2,Mz=3;function Qz(a,b){Q.call(this,a);this.ja(!1,!0);this.G=b}v(Qz,Q);Qz.prototype.initialize=function(){S(this,!1);T(this,!0);this.qb=U(this.slideWidth(),this.slideHeight());this.P().appendChild(this.qb)};
Qz.prototype.$=function(a){var b=0;let c=0,d=0,e=0;var f=0;let h=0,g=0,l=0;switch(this.G){case Rz:e=(this.slideHeight()/2+200)*a;c=e-200;g=this.slideHeight()-a*(this.slideHeight()/2+200);l=g+200;break;case Sz:c=(this.slideHeight()/2+200)*(1-a);e=c-200;l=this.slideHeight()-(1-a)*(this.slideHeight()/2+200);g=l+200;break;case Tz:d=(this.slideWidth()/2+200)*a;b=d-200;f=this.slideWidth()-a*(this.slideWidth()/2+200);h=f+200;break;case Uz:b=(this.slideWidth()/2+200)*(1-a),d=b-200,h=this.slideWidth()-(1-
a)*(this.slideWidth()/2+200),f=h+200}a=this.qb.getContext("2d");a.clearRect(0,0,this.slideWidth(),this.slideHeight());a.drawImage(this.X,0,0);a.save();a.globalCompositeOperation="destination-out";b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");a.fillStyle=b;this.G==Tz||this.G==Uz?a.fillRect(0,0,this.slideWidth()/2,this.slideHeight()):a.fillRect(0,0,this.slideWidth(),this.slideHeight()/2);f=a.createLinearGradient(f,g,h,l);f.addColorStop(0,
"rgba(255, 255, 255, 0)");f.addColorStop(1,"rgba(255, 255, 255, 1)");a.fillStyle=f;this.G==Tz||this.G==Uz?a.fillRect(this.slideWidth()/2,0,this.slideWidth()/2,this.slideHeight()):a.fillRect(0,this.slideHeight()/2,this.slideWidth(),this.slideHeight()/2);a.restore()};var Tz=0,Uz=1,Rz=2,Sz=3;function Vz(a,b){Q.call(this,a);this.ja(!1,!0);this.G=b}v(Vz,Q);Vz.prototype.initialize=function(){S(this,!1);T(this,!0);this.qb=U(this.slideWidth(),this.slideHeight());G(this.qb,"position","relative");this.P().appendChild(this.qb)};
Vz.prototype.$=function(a){var b=0;let c=0,d=0,e=0;switch(this.G){case Wz:e=(this.slideHeight()+400)*a;c=e-200;b=(this.slideWidth()+400)*(1-a);d=b-200;break;case Xz:c=(this.slideHeight()+400)*(1-a);e=c-200;b=(this.slideWidth()+400)*(1-a);d=b-200;break;case Yz:e=(this.slideHeight()+400)*a;c=e-200;d=(this.slideWidth()+400)*a;b=d-200;break;case Zz:d=(this.slideWidth()+400)*a,b=d-200,c=(this.slideHeight()+400)*(1-a),e=c-200}a=this.qb.getContext("2d");a.clearRect(0,0,this.slideWidth(),this.slideHeight());
a.drawImage(this.X,0,0);a.save();a.globalCompositeOperation="destination-out";b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");a.fillStyle=b;a.fillRect(0,0,this.slideWidth(),this.slideHeight());a.restore()};var Wz=0,Xz=1,Yz=2,Zz=3;function $z(a,b,c){Q.call(this,a);this.G=b;this.Oq=c;this.ja(!0,!0)}v($z,Q);k=$z.prototype;
k.initialize=function(){S(this,!1);T(this,!1);const a=this.slideWidth(),b=this.slideHeight();this.wc=this.Wa(a,b);this.P().appendChild(this.wc);var c=U(a,b),d=U(a,b);this.nb=this.Wa(a,b);this.$d=this.Wa(a,b);this.Zd=this.Wa(a,b);this.Oq||(this.zi=U(a,b));this.$d.appendChild(c);this.Zd.appendChild(d);this.wc.appendChild(this.nb);this.nb.appendChild(this.Zd);this.nb.appendChild(this.$d);this.Oq||(G(this.zi,"position","absolute"),this.nb.appendChild(this.zi));c=c.getContext("2d");d=d.getContext("2d");
c.drawImage(this.X,0,0);d.drawImage(this.wa,0,0);this.Oq||(this.zi.getContext("2d").drawImage(this.wa,0,0),this.N()||I(this.zi,0));this.hv=!1;this.Oq&&(fi(this.wc,Math.max(a,b)+"px"),gi(this.wc,this.slideWidth()/2+"px "+this.slideHeight()/2+"px"),ei(this.nb,"preserve-3d"))};k.Wa=function(a,b){const c=A("DIV");yh(c,a);zh(c,b);G(c,"position","absolute");return c};
k.$=function(a){const b=this.G==aA?-1:1;if(this.Oq){var c=.25*(1-Math.cos(2*a*Math.PI));var d=Math.max(this.slideHeight(),this.slideWidth()),e=this.GO,f=this.HO,h=this.Sy,g=-b*c*this.slideWidth()/2,l=c*this.slideHeight()*1.5;J(this.nb,"translateZ("+d+"px) translateY("+l+"px) translateX("+g+"px) rotateX("+-e*c+"deg) rotateY("+-b*f*c+"deg) rotateZ("+b*h*c+"deg)");bA(this,a,!1);bA(this,a,!0)}else e=this.slideHeight()/2,c=.25*(1-Math.cos(2*a*Math.PI)),d=-e*c,e=(this.slideHeight()+e)*c,qh(this.$d,0,d),
qh(this.Zd,0,e),qh(this.zi,0,e),e=new Dl,d=new Dl,e.rotate(this.Sy*Math.PI/180*b*c,0,0),d.rotate(this.Sy*Math.PI/180*b*c,0,0),Jm(this.$d,e),Jm(this.Zd,d),Jm(this.zi,d),c=Math.max(1-a,.8),e.scale(c,c),Jm(this.$d,e),c=this.N()?Math.max(a,.8):Math.max(.5>a?1-a:a,.8),d.scale(c,c),Jm(this.Zd,d),Jm(this.zi,d),.5<=a&&!this.hv&&!this.N()?(this.hv=!0,I(this.zi,1)):.5>=a&&!this.hv&&this.N()&&(this.hv=!0,I(this.zi,0))};
function bA(a,b,c){var d=a.slideHeight()/2;const e=.25*(1-Math.cos(2*b*Math.PI));d=(c?-(d+a.nh):a.slideHeight()+d+a.nh)*e;b=-(c?1+b:2-b)*Math.max(a.slideWidth(),a.slideHeight());J(c?a.$d:a.Zd,"translateY("+d+"px) translateZ("+b+"px)")}k.GO=30;k.HO=20;k.Sy=30;k.nh=20;var aA=1;function cA(a,b,c){Q.call(this,a);this.mb=c;this.ja(!0,!0);this.Ni=b==aA}v(cA,Q);k=cA.prototype;
k.initialize=function(){S(this,!1);T(this,!1);const a=this.slideWidth(),b=this.slideHeight();this.lx=this.Wa(a,b);this.P().appendChild(this.lx);this.Bj=this.Wa(a,b);this.Ld=this.Wa(a,b);this.Jd=this.Wa(a,b);this.Ni?(this.Ld.appendChild(this.wa),this.Jd.appendChild(this.X)):(this.Ld.appendChild(this.X),this.Jd.appendChild(this.wa));this.lx.appendChild(this.Bj);this.Ni?(this.Bj.appendChild(this.Ld),this.Bj.appendChild(this.Jd)):(this.Bj.appendChild(this.Jd),this.Bj.appendChild(this.Ld));this.nx=!1;
this.mb&&(fi(this.lx,Math.max(a,b)+"px"),gi(this.lx,this.slideWidth()/2+"px "+this.slideHeight()/2+"px"),ei(this.Bj,"preserve-3d"))};k.$=function(a){a=this.Ni?1-a:a;this.mb?this.iC(a):this.eA(a)};
k.iC=function(a){function b(h){const g=h?-1:1,l=h?this.Ld:this.Jd;h="translateZ("+(h?e:f).call(this,a)*d+"px)rotateY("+-30*g*c+"deg)translateX("+g*c*this.slideWidth()*1.05+"px)";J(l,h)}const c=.25*(1-Math.cos(2*a*Math.PI)),d=Math.max(this.slideWidth(),this.slideHeight()),e=Y(0,0,1,-.3),f=Y(0,-.3,1,0);b.call(this,!0);b.call(this,!1)};
k.eA=function(a){function b(d){const e=d?-1:1;d=d?this.Ld:this.Jd;const f=new Dl;f.scale(1-.5*c,1-.5*c);f.translate(e*c*this.slideWidth()*1.05,0);Jm(d,f)}this.Ni?.5>a&&!this.nx&&(this.Bj.appendChild(this.Ld),this.nx=!0):.5<=a&&!this.nx&&(this.Bj.appendChild(this.Jd),this.nx=!0);const c=.25*(1-Math.cos(2*a*Math.PI));this.slideWidth();this.slideHeight();b.call(this,!0);b.call(this,!1)};k.Wa=function(a,b){const c=A("DIV");yh(c,a);zh(c,b);G(c,"position","absolute");return c};function dA(a,b){Q.call(this,a);this.G=b;this.ja(!0,!0);this.Wk()}var eA,fA,gA,hA,iA,jA,kA;v(dA,Q);
dA.prototype.Wk=function(){var a=this.slideWidth(),b=this.slideHeight(),c=jA!=a||kA!=b;if(!(eA&&fA&&gA&&hA&&iA)||c){jA=a;kA=b;eA=[];fA=[];gA=[];hA=[];iA=[];a=this.slideWidth();b=this.slideHeight();c=eA;const h=fA,g=gA;for(var d=0;d<lA;++d)c[d]=mA(a,b),h[d]=mA(a,b),g[d]=mA(a,b);d=nA/oA;const l=pA/oA,n=[],m=a/nA,p=b/pA;let q=0,t;for(let u=0;u<nA;++u){t=0;const y=Math.round((u+1)*m)-q,E=q;for(let x=0;x<pA;++x){const F=Math.round((x+1)*p)-t,M=t;if(0==n.length)for(var e=0;e<lA;++e)n[e]=e;e=Math.floor(n.length*
Math.random());var f=n[e];n.splice(e,1);e=c[f].getContext("2d");const O=h[f].getContext("2d");f=g[f].getContext("2d");const P=a-(E+y),R=b-(M+F),V=y+1,fa=F+1;e.clearRect(E,M,V,fa);O.clearRect(P,M,V,fa);f.clearRect(E,R,V,fa);0==E&&0==x%l&&iA.push(M);0==M&&0==u%d&&hA.push(E);t+=F}q+=y}}};var qA=Hi&&ki,rA=Li&&(Pg||Qg)||qA,nA=rA?32:128,pA=rA?24:96,oA=rA?4:8,lA=rA?4:8,sA=1-.2*1.5;
dA.prototype.ni=function(a,b,c,d,e,f){const h=rd("DIV");G(h,"position","absolute");qh(h,b,c);xh(h,d,e);a.appendChild(h);f&&ei(h,"preserve-3d");return h};dA.prototype.zn=function(a,b,c,d,e,f,h,g,l,n){a=this.ni(a,b,c,d,e,!0);const m=U(d,e);G(m,"position","absolute");a.appendChild(m);const p=U(d,e);G(p,"position","absolute");a.appendChild(p);return new tA(a,m,p,b,c,l?d:e,f,h,g,this.Il,l,n)};
dA.prototype.initialize=function(){const a=this.G==uA||this.G==vA;S(this,!1);T(this,!1);const b=this.slideWidth(),c=this.slideHeight();this.ur=Math.max(b,c);this.Il=Wh();Xh(this.Il,b/2,c/2,this.ur,0);var d=this.ni(this.P(),0,0,b,c,!0);fi(d,this.ur+"px");this.ha=this.ni(d,0,0,b,c,!0);this.gu=U(b,c);G(this.gu,"position","absolute");this.ha.appendChild(this.gu);d=this.N()?this.wa:this.X;this.gu.getContext("2d").drawImage(d,0,0);this.tC=[];d=hA;const e=iA;for(let y=0;y<oA;++y){var f=y+1==oA,h=0,g=0,l=
b,n=c;a?(h=d[y],l=f?b-h:d[y+1]-h):(g=e[y],n=f?c-g:e[y+1]-g);f=h;h=this.G==vA||this.G==wA;const E=this.G==uA||this.G==vA;var m=this.slideWidth(),p=this.slideHeight();const x=this.ni(this.ha,0,0,m,p,!0);var q=this.tC.length,t=h?q:oA-(q+1),u=.2/oA;q=u*t;t=u*(t+1);u=new xA(x,q+.1,E);p=E?m:p;m=p/(lA-1);p/=2;for(let F=0;F<lA;++F){const M=this.zn(x,f,g,l,n,q,t,p-F*m,E,h);u.tN.push(M)}this.tC[y]=u}};function mA(a,b){const c=U(a,b),d=c.getContext("2d");d.fillStyle="#ffffff";d.fillRect(0,0,a,b);return c}
dA.prototype.$=function(a){const b=hA,c=iA,d=this.G==uA||this.G==vA,e=this.slideWidth(),f=this.slideHeight(),h=e/2,g=f/2,l=this.tC,n=l.length;for(let P=0;P<n;++P){const R=l[P];var m=P+1==n;let V=0,fa=0,ab=e,jb=f;d?(V=b[P],ab=m?e-V:b[P+1]-V):(fa=c[P],jb=m?f-fa:c[P+1]-fa);R.IF(a);const mc=R.tN,Za=mc.length;for(let Mb=0;Mb<Za;++Mb){const Ea=mc[Mb];if(!Ea.qN){var p=this.N()?a<=Ea.KN+.2:a>=Ea.LE;m=Ea;var q=Mb,t=p;p=V;var u=fa,y=ab,E=jb;const Sj=this.G==uA||this.G==vA,Tj=this.N();var x=this.slideWidth(),
F=this.slideHeight();const qs=this.gu.getContext("2d"),ln=eA;var M=fA,O=gA;const mn=this.X,nn=this.wa;t&&(t=ln[q],q=(Sj?M:O)[q],M=m.fE.getContext("2d"),O=m.ED.getContext("2d"),x-=p+y,F-=u+E,M.drawImage(t,p,u,y,E,0,0,y,E),O.drawImage(q,x,F,y,E,0,0,y,E),M.save(),M.globalCompositeOperation="source-out",M.drawImage(mn,p,u,y,E,0,0,y,E),M.restore(),O.save(),O.globalCompositeOperation="source-out",O.drawImage(nn,x,F,y,E,0,0,y,E),O.restore(),qs.clearRect(Tj&&Sj?x:p,Tj&&!Sj?F:u,y,E),m.qN=!0)}Ea.IF(a,h,g,R.oV)}}};
function xA(a,b,c){this.xS=a;this.tN=[];this.eT=b;this.kv=c}xA.prototype.IF=function(a){const b=this.kv;a=(a-this.eT)/sA;a=Math.min(Math.max(a,0),1);a=Math.PI*a*(b?1:-1);J(this.xS,(b?"rotateY":"rotateX")+"("+a+"rad)");this.oV=a};
function tA(a,b,c,d,e,f,h,g,l,n,m,p){this.fE=b;this.ED=c;J(c,(m?"rotateY":"rotateX")+"(180deg)");this.tc=f;this.ib=a;this.Ng=d;this.Og=e;this.Il=n;this.LE=h;this.PJ=h+(g-h)/2;this.vS=.8+this.LE-.2;this.KN=.8+this.PJ-.2;this.VP=0>l?-1:1;this.UQ=Math.abs(l);this.iR=p;this.kv=m;this.qN=!1;yA(this,!0)}
tA.prototype.IF=function(a,b,c,d){var e=this.ib,f=this.UQ,h=this.tc,g=zA(a,this.LE,this.vS,f);a=zA(a,this.PJ,this.KN,f);f=this.kv;var l=this.iR,n=this.VP,m=l?-n:n;f&&(m=l?n:-n);l=l?Math.max(g,a):Math.min(g,a);h=Math.atan2(g-a,h)*m;g>a?di(e,"0% 0%"):di(e,"100% 100%");l*=n;J(e,"translateZ("+l+"px)"+((f?"rotateY":"rotateX")+"("+h+"rad)"));f=l;e=this.Ng;g=this.Og;n=this.tc;m=this.kv;a=Array(16);a[0]=0;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=0;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=0;a[11]=0;a[12]=0;a[13]=0;a[14]=
0;a[15]=0;a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1;m?(b-=(e-n)/2,$h(a,b,0,0),bi(a,d),$h(a,-b,0,0),$h(a,0,0,f),bi(a,h)):(b=c-(g-n)/2,$h(a,0,b,0),ai(a,d),$h(a,0,-b,0),$h(a,0,0,f),ai(a,h));b=Wh();Xh(b,e,g,0,1);Zh(a,b,b);d=Wh();Xh(d,b[0],b[1],b[2],0);Yh(d,this.Il,d);b=Wh();Xh(b,e,g,1,0);c=Wh();Xh(c,e,g,0,0);Yh(b,c,b);Zh(a,b,b);d=Uh(b,d);this.ev?0<=d&&yA(this,!1):0>=d&&yA(this,!0)};
function yA(a,b){const c=b?a.fE:a.ED,d=b?a.ED:a.fE;a.ev=b;G(c,"visibility","visible");G(d,"visibility","hidden")}function zA(a,b,c,d){return a>=b&&a<=b+.2?d*(a-b)/.2:a>=c?Math.max(d-d*(a-c)/.2,0):a>=b?d:0}var uA=0,vA=2,wA=3;function AA(a,b){Q.call(this,a);this.G=b;this.ja(!0,!0)}v(AA,Su);k=AA.prototype;k.initialize=function(){S(this,!1);T(this,!1);Vu(this,this.X);this.Gb();mat4.translate(this.ta,[-this.slideWidth()/2,this.slideHeight()/2,0]);mv(this)};
k.Je=function(){fv(this);this.OG=gv(this,"aDelay");this.yI=gv(this,"aMaxDistance");this.Jr=hv(this,"uSampler1");this.Kr=hv(this,"uSampler2");this.qd=hv(this,"uPhase");const a=hv(this,"uSlideWidth"),b=hv(this,"uHorizontal");this.F.uniform1f(hv(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(a,this.slideWidth());this.F.uniform1i(b,this.G==uA||this.G==vA?1:0)};k.Ae=function(){Xu(this,this.OG);Xu(this,this.yI)};
k.lz=function(){const a=this.F;a.bindBuffer(a.ARRAY_BUFFER,this.Rz);a.vertexAttribPointer(this.OG,this.Rz.xp,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.Tz);a.vertexAttribPointer(this.yI,this.Tz.xp,a.FLOAT,!1,0,0)};
k.Gb=function(){var a=this.slideWidth();const b=this.slideHeight();var c=Hi&&ki,d=oi&&ki||c;c=d?26:50;d=d?20:45;const e=a/c,f=b/d;this.zb=new BA;for(let l=0;l<d;++l)for(let n=0;n<c;++n){var h=new CA(n*e,l*f,e,f,a,b,this.G),g=this.zb;g.ZB=g.ZB.concat(h.WE());g.Sz=g.Sz.concat(h.SD());g.Uz=g.Uz.concat(h.UD());g.QC=g.QC.concat(h.EF());const m=4*g.EG;for(let p=0;p<h.mg().length;p++)g.Xd.push(h.mg()[p]+m);g.EG++}this.Jg=new nv;a=$u(this,this.zb.WE(),3);this.Jg.rd=a;a=$u(this,this.zb.EF(),2);this.Jg.vd=
a;a=av(this,this.zb.mg());this.Jg.hd=a;this.Rz=$u(this,this.zb.SD(),1);this.Tz=$u(this,this.zb.UD(),1)};k.ze=function(){Yu(this,this.Jg);this.F.deleteBuffer(this.Rz);this.F.deleteBuffer(this.Tz);this.F.deleteTexture(this.Yr)};k.$=function(a){this.F.uniform1f(this.qd,a);ev(this,this.Jg)};k.Jq=function(){this.Xr=Zu(this,this.F.TEXTURE0,this.Jr,0,this.X);this.Yr=Zu(this,this.F.TEXTURE1,this.Kr,1,this.wa,this.hA.bind(this))};
k.hA=function(a,b,c,d){this.G==uA||this.G==vA?(a.translate(c,0),a.scale(-1,1)):(a.translate(0,d),a.scale(1,-1));a.drawImage(b,0,0,c,d)};k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler1;\n\tuniform sampler2D uSampler2;\n\n\tvoid main(void)\n\t{\n\t\tvec3 n = normalize(vNormal);\n\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0);\n\t\tfloat directionalLightWeighting = abs(dot(n, lightingDirection));\n\t\tfloat intentsity = 0.4 + 0.6 * directionalLightWeighting;\n\t\tvec4 textureColor;\n\t\tif(gl_FrontFacing)\n\t\t{\n\t\t\ttextureColor = texture2D(uSampler2, vTextureCoord);\n\t\t}\n\t\telse\n\t\t{\n\t\t\ttextureColor = texture2D(uSampler1, vTextureCoord);\n\t\t}\n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec2 aTextureCoord;\n\tattribute float aDelay;\n\tattribute float aMaxDistance;\n\n\tuniform mat4 uPMVMatrix;\n\n\tuniform mat3 uNMatrix;\n\n\tuniform float uPhase;\n\tuniform float uSlideHeight;\n\tuniform float uSlideWidth;\n\tuniform bool uHorizontal;\n\n\tconst float MAX_DELAY = 0.5;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t{\n\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t}\n\tmat4 rotationXmatrix(float angle)\n\t{\n\t  float ang = radians(angle);\n\t  float cosA = cos(ang);\n\t  float sinA = sin(ang); \n\n\t  mat4 m; \n\t  m[0] = vec4(1, 0, 0, 0);\n\t  m[1] = vec4(0, cosA, sinA, 0);\n\t  m[2] = vec4(0, -sinA, cosA, 0);\n\t  m[3] = vec4(0, 0, 0, 1);\n\t  return m;\n\t}\n\tmat4 rotationYmatrix(float angle)\n\t{\n\t  float ang = radians(angle);\n\t  float cosA = cos(ang);\n\t  float sinA = sin(ang); \n\n\t  mat4 m; \n\t  m[0] = vec4(cosA, 0, -sinA, 0);\n\t  m[1] = vec4(0, 1, 0, 0);\n\t  m[2] = vec4(sinA, 0, cosA, 0);\n\t  m[3] = vec4(0, 0, 0, 1);\n\t  return m;\n\t}\n\tmat4 translationMatrix(float x, float y, float z)\n\t{\n\t  mat4 t = mat4(1.0);\n\t  t[3] = vec4(x, y, z, 1.0);\n\t  return t;\n\t}\n\n\tmat4 positionMatrix()\n\t{\n\t\tfloat endTime = linearInterpolation(aDelay, 0.0, 1.0 - MAX_DELAY, MAX_DELAY, 1.0);\n\t\tfloat pPhase = linearInterpolation(uPhase, aDelay, 0.0, endTime, 1.0);\n\t\tif (uPhase < aDelay)\n\t\t{\n\t\t\tpPhase = 0.0;\n\t\t}\n\t\telse if (uPhase > endTime)\n\t\t{\n\t\t\tpPhase = 1.0;\n\t\t}\n\t\tfloat z =  4.0 * aMaxDistance * pPhase * (pPhase - 1.0);\n\t\tfloat rotation = 180.0 * pPhase;\n\n\t\tmat4 m = mat4(1.0);\n\n\t\tvec3 pivotPoint = vec3(- uSlideWidth / 2.0, uSlideHeight / 2.0, 0.0);\n\t\tm = m * translationMatrix(-pivotPoint.x, -pivotPoint.y, -pivotPoint.z);\n\t\tif (uHorizontal)\n\t\t{\n\t\t   m = m * rotationYmatrix(rotation);//left right\n\t\t}\n\t\telse \n\t\t{\n\t\t\tm = m * rotationXmatrix(rotation);//top bottom\n\t\t}\n\t\tm = m * translationMatrix(pivotPoint.x, pivotPoint.y, pivotPoint.z);\n\t\tm = m * translationMatrix(0.0, 0.0, z);\n\n\t\treturn m;\n\t}\n\n\tvec3 getVertexPosition() \n\t{ \n\t\tmat4 m = positionMatrix();\n\t\tvec4 v = m * vec4(aVertexPosition, 1.0);\n\t\treturn v.xyz;\n\t} \n\tvec3 getNormal() \n\t{\n\t\tmat4 m = positionMatrix();\n\t\tvec4 v = m * vec4(0 ,0, 1, 0.0);\n\t\treturn v.xyz;\n\t}\n\tvoid main(void)\n\t{\n\t\tvTextureCoord = aTextureCoord;\n\n\t\tvec3 pos = getVertexPosition();\n\t\tvec3 n = getNormal();\n\t\tn = normalize(n);\n\t\tgl_Position = uPMVMatrix * vec4(pos, 1.0); \n\t\tvNormal = uNMatrix * n;\n\t}"};
function BA(){this.EG=0;this.ZB=[];this.Sz=[];this.Uz=[];this.QC=[];this.Xd=[]}k=BA.prototype;k.WE=function(){return this.ZB};k.SD=function(){return this.Sz};k.UD=function(){return this.Uz};k.EF=function(){return this.QC};k.mg=function(){return this.Xd};
function CA(a,b,c,d,e,f,h){this.Ka=a;this.La=b;this.fj=0;this.pa=c;this.ka=d;this.SL=e;this.RL=f;this.ov=(.5<Math.random()?-1:1)*Math.random()*2*Math.max(e,f);switch(h){case uA:this.Ed=Y(0,.5,e,0)(a);break;case vA:this.Ed=Y(0,0,e,.5)(a);break;case 1:this.Ed=Y(0,.5,f,0)(b);break;case wA:this.Ed=Y(0,0,f,.5)(b)}}k=CA.prototype;k.WE=function(){const a=this.Ka,b=-this.La,c=this.fj,d=this.pa,e=-this.ka;return[a,b,c,a+d,b,c,a,b+e,c,a+d,b+e,c]};
k.EF=function(){const a=this.Ka/this.SL,b=this.La/this.RL,c=this.pa/this.SL,d=this.ka/this.RL;return[a,b,a+c,b,a,b+d,a+c,b+d]};k.mg=function(){return[0,1,3,0,3,2]};k.SD=function(){return[this.Ed,this.Ed,this.Ed,this.Ed]};k.UD=function(){return[this.ov,this.ov,this.ov,this.ov]};function DA(a,b,c,d){Q.call(this,a);this.Z=b;this.Na=c;this.zQ=d;this.Na?this.ja(!1,!1,!0,!0,!0,!0):this.ja(!0,!0)}v(DA,Q);
DA.prototype.initialize=function(){S(this,!1);T(this,!1);const a=this.slideWidth(),b=this.slideHeight();if(this.Na){var c=U(a,b);G(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.wv,0,0);this.Sl=c;c=U(a,b);G(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.Bv,0,0);this.Ul=c}this.FC=U(a,b);G(this.FC,"position","absolute");this.P().appendChild(this.FC);this.Kf=this.FC.getContext("2d")};
DA.prototype.$=function(a){var b=this.slideWidth(),c=this.slideHeight();this.Na&&(I(this.Ul,1-a),I(this.Sl,a));const d=this.Na?this.Xj:this.X,e=this.Na?this.yi:this.wa,f=this.Kf;f.clearRect(0,0,b,c);b=this.Z==EA?1:-1;a=Bv(0,1,a);c=Y(0,6,1,1);c=this.zQ?Rv(4,.8,4,a):this.Z==EA?2-a:c(a);c=this.Z==EA?1/c:c;this.Z==EA?(FA(this,a,c,f,e),GA(this,2*a,b,f,d)):(GA(this,.5*a,b,f,d),FA(this,a,c,f,e))};var EA=0;
function FA(a,b,c,d,e){const f=a.slideWidth()/2*(1-c);a=a.slideHeight()/2*(1-c);d.save();d.translate(f,a);d.scale(c,c);d.globalAlpha=2*b;d.drawImage(e,0,0);d.restore()}function GA(a,b,c,d,e){const f=-c*a.slideWidth()*b/2;a=-c*a.slideHeight()*b/2;c=1+c*b;d.save();d.translate(f,a);d.scale(c,c);b=Math.min(1-2*b,1);b=Math.max(b,0);d.globalAlpha=b;d.drawImage(e,0,0);d.restore()};function HA(a){Q.call(this,a);this.ja(!0,!1)}v(HA,Q);HA.prototype.initialize=function(){var a=this.slideWidth(),b=this.slideHeight();T(this,!1);const c=U(a,b);this.rr=c.getContext("2d");this.qb=U(a,b);this.kd=this.qb.getContext("2d");a*=.5;b*=.5;this.Nd=Math.sqrt(a*a+b*b);G(c,"position","absolute");this.P().appendChild(c)};var IA=1/15;
HA.prototype.$=function(a){var b=this.slideWidth(),c=this.slideHeight(),d=this.kd;d.clearRect(0,0,b,c);b=(1.5+1.08*a)*Math.PI;a=b-.08*Math.PI;this.Vz(a,b);b=.5*this.slideWidth();c=.5*this.slideHeight();a>=1.5*Math.PI&&(d.beginPath(),d.moveTo(b,c),d.arc(b,c,this.Nd,3*Math.PI-a,a,!1),d.lineTo(b,c),d.fillStyle="#000",d.fill());d=this.rr;d.drawImage(this.wa,0,0);d.save();d.globalCompositeOperation="destination-in";d.drawImage(this.qb,0,0);d.restore()};
HA.prototype.zu=function(a,b,c,d,e,f,h){const g=this.kd;g.fillStyle="rgba(0,0,0,"+h.toString()+")";g.beginPath();g.moveTo(a,b);g.lineTo(c,d);g.lineTo(e,f);g.fill()};
HA.prototype.Vz=function(a,b){const c=.5*this.slideWidth(),d=.5*this.slideHeight();let e=IA;b-=a;var f=a;f<1.5*Math.PI&&(e=(1.5*Math.PI-a)/b,f=1.5*Math.PI);let h=c+this.Nd*Math.cos(f),g=d+this.Nd*Math.sin(f),l=c+this.Nd*Math.cos(3*Math.PI-f);for(f=d+this.Nd*Math.sin(3*Math.PI-f);1>=e;){let n=a+e*b;n>2.5*Math.PI&&(n=2.5*Math.PI);const m=c+this.Nd*Math.cos(n),p=d+this.Nd*Math.sin(n);this.zu(c,d,h,g,m,p,1-e);const q=c+this.Nd*Math.cos(3*Math.PI-n),t=d+this.Nd*Math.sin(3*Math.PI-n);this.zu(c,d,l,f,q,
t,1-e);e+=IA;h=m;g=p;l=q;f=t;if(n==2.5*Math.PI)break}};function JA(a,b){Q.call(this,a);this.Mi=!1;0>b&&(b=-b,this.Mi=!0);this.HC=b;this.ja(!0,!1)}v(JA,Q);JA.prototype.initialize=function(){var a=this.slideWidth();const b=this.slideHeight();T(this,!1);const c=U(a,b);this.rr=c.getContext("2d");this.qb=U(a,b);this.kd=this.qb.getContext("2d");this.kd.scale(1,b/a);a*=.5;this.Nd=Math.sqrt(2*a*a);G(c,"position","absolute");this.P().appendChild(c)};var KA=1/15;
JA.prototype.$=function(a){var b=this.slideWidth();this.slideHeight();const c=this.kd;let d=2/this.HC,e=.2/this.HC;this.Mi&&(d=-d,e=-e);c.clearRect(0,0,b,b);for(b=0;b<this.HC;++b){var f=(1.5+b*d)*Math.PI,h=f+a*(e+d)*Math.PI,g=h-e*Math.PI;this.Vz(g,h,f,f+d*Math.PI);h=c;const l=.5*this.slideWidth();if(this.Mi&&g<=f||!this.Mi&&g>=f)h.beginPath(),h.moveTo(l,l),this.Mi?h.arc(l,l,this.Nd,f,g,!0):h.arc(l,l,this.Nd,f,g,!1),h.lineTo(l,l),h.fillStyle="#000",h.fill()}a=this.rr;a.drawImage(this.wa,0,0);a.save();
a.globalCompositeOperation="destination-in";a.drawImage(this.qb,0,0);a.restore()};JA.prototype.zu=function(a,b,c,d,e,f,h){const g=this.kd;g.fillStyle="rgba(0,0,0,"+Sm(h).toString()+")";g.beginPath();g.moveTo(a,b);g.lineTo(c,d);g.lineTo(e,f);g.fill()};
JA.prototype.Vz=function(a,b,c,d){const e=.5*this.slideWidth();let f=KA;b-=a;var h=a;if(this.Mi&&h>c||!this.Mi&&h<c)f=(c-a)/b,h=c;c=e+this.Nd*Math.cos(h);for(h=e+this.Nd*Math.sin(h);1>=f;){let g=a+f*b;if(this.Mi&&g<d||!this.Mi&&g>d)g=d;const l=e+this.Nd*Math.cos(g),n=e+this.Nd*Math.sin(g);this.zu(e,e,c,h,l,n,1-f);f+=KA;c=l;h=n;if(g==d)break}};function LA(a,b){Q.call(this,a);this.G=b;this.ja(!1,!0)}v(LA,Su);k=LA.prototype;k.initialize=function(){S(this,!1);T(this,!0);Vu(this,this.X);this.Gb();this.F.enable(this.F.DEPTH_TEST);mat4.translate(this.ta,[-this.slideWidth()/2,this.slideHeight()/2,0]);this.ls=mat4.create();mat4.set(this.ta,this.ls)};
k.Gb=function(){this.pd=Qw(20,20,this.slideWidth(),this.slideHeight());for(var a=0==this.G?Tw(20,20):Sw(20,20),b=[],c=0,d=a.length;c+2<d;){var e=a[c++];if(!(0>e)){var f=a[c++];if(!(0>f))for(var h=!0;c<d;){var g=a[c++];if(0>g)break;e!=f&&e!=g&&f!=g&&b.push(e,f,g);h?e=g:f=g;h=!h}}}this.pc=b;this.Fk=new sv;for(a=0;a<this.pd.length();a++)tv(this.Fk,this.pd.ra[a].clone());this.ts=[];for(a=0;a<this.pc.length;a+=3)this.ts.push(new Fw(this.Fk.ra[this.pc[a]],this.Fk.ra[this.pc[a+1]],this.Fk.ra[this.pc[a+2]]));
this.gf=new nv;a=$u(this,uv(this.pd),3);this.gf.rd=a;a=$u(this,wv(this.pd),3);this.gf.Ci=a;a=$u(this,vv(this.pd),2);this.gf.vd=a;a=av(this,this.pc);this.gf.hd=a;a=[0,-1*this.slideHeight(),0];b=[this.slideWidth(),0,1E-11];this.Uy=Rh(Qh(),b[0]-a[0],0,0);this.Vy=Rh(Qh(),0,b[1]-a[1],0);this.Wy=Rh(Qh(),0,0,b[2]-a[2]);this.jM=[];c=Vh(this.Vy,this.Wy,Qh());d=Vh(this.Uy,this.Wy,Qh());e=Vh(this.Uy,this.Vy,Qh());f=Uh(c,this.Uy);h=Uh(d,this.Vy);g=Uh(e,this.Wy);for(var l=0;l<this.pd.length();l++){var n=this.pd.ra[l],
m=Rh(Qh(),n.position().x(),n.position().y(),n.position().z());Sh(m,Rh(Qh(),a[0],a[1],a[2]),m);n=Uh(c,Th(m,1/f));var p=Uh(d,Th(m,1/h));const q=Uh(e,Th(m,1/g)),t=[];t.push([],[],[]);for(m=0;4>m;m++)t[0].push(MA(3,m,n));for(m=0;4>m;m++)t[1].push(MA(3,m,p));for(m=0;2>m;m++)t[2].push(MA(1,m,q));this.jM.push(t)}this.fe=[];for(c=0;4>c;c++)for(d=0;4>d;d++)for(e=0;2>e;e++)f=this.Of(c,d,e),h=a,g=b,l=d,n=e,p=[0,0,0],p[0]=h[0]+c/3*(g[0]-h[0]),p[1]=h[1]+l/3*(g[1]-h[1]),p[2]=h[2]+n/1*(g[2]-h[2]),h=p,this.fe[f]=
h[0],this.fe[f+1]=h[1],this.fe[f+2]=h[2];this.wr={}};function MA(a,b,c){let d=1;for(let e=1;e<=b;e++)d*=(a-(b-e))/e;return d*Math.pow(c,b)*Math.pow(1-c,a-b)}k.Of=function(a,b,c){return 3*(a+4*b+16*c)};k.ze=function(){Yu(this,this.gf)};k.Ae=function(){Xu(this,this.Sg)};k.Ce=function(){return"precision mediump float;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tuniform sampler2D uSampler;\n\n\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\tconst float AMBIENT_INTENSITY = 0.4;\n\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\tvoid main(void)\n\t{\n\t\tfloat diffuseFactor = dot(normalize(vNormal), LIGHT_DIRECTION);\n\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * diffuseFactor * diffuseFactor;\n\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t}"};
k.De=function(){return"attribute vec3 aVertexPosition;\n\tattribute vec3 aVertexNormal;\n\tattribute vec2 aTextureCoord;\n\n\tuniform mat4 uPMVMatrix;\n\n\tuniform mat3 uNMatrix;\n\n\tvarying vec2 vTextureCoord;\n\tvarying vec3 vNormal;\n\n\tvoid main(void)\n\t{\n\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\tvTextureCoord = aTextureCoord;\n\t\tvNormal = uNMatrix * normalize(aVertexNormal);\n\t}"};k.Je=function(){fv(this);this.Sg=gv(this,"aVertexNormal");this.Ec=hv(this,"uSampler")};
k.Nf=function(){return this.Ec};function NA(a,b,c,d){let e=a.Of(b,c,0);const f=b.toString()+c.toString();let h;void 0===a.wr[f]?(h=[a.fe[e+0],a.fe[e+1],a.fe[e+2]],a.wr[f]=[h[0],h[1],h[2]]):h=[a.wr[f][0],a.wr[f][1],a.wr[f][2]];mat4.multiplyVec3(d,h,h);a.fe[e+0]=h[0];a.fe[e+1]=h[1];a.fe[e+2]=h[2];e=a.Of(b,c,1);a.fe[e+0]=h[0];a.fe[e+1]=h[1];a.fe[e+2]=h[2]}k.Cq=function(){return this.Sg};
k.uz=function(){for(let a=0;a<this.ts.length;a++){const b=this.ts[a];b.n=kv(b.nl.position().Ye(b.Wp.position()),b.nl.position().Ye(b.Xp.position()));b.n.normalize()}};
function OA(a,b,c){var d=Math.sqrt(a.slideWidth()*a.slideWidth()+a.slideHeight()*a.slideHeight()),e=0==a.G?new X(a.slideWidth(),a.slideHeight(),0):new X(-a.slideWidth(),a.slideHeight(),0);e.normalize();d=2*Math.PI/(.25*d);e.Ka*=d;e.La*=d;e.fj*=d;d=b.position().x()/a.slideWidth();0!=a.G&&(d=1-d);a=25*d;var f=b.position();b=10*Math.PI;d=Math;var h=d.cos;e=Rh(Ph(),e.x(),e.y(),e.z());f=Rh(Ph(),f.x(),f.y(),f.z());return a*h.call(d,Uh(e,f)-b*c)}
function PA(a,b,c,d,e){const f=mat4.create();b=Math.min(1,Math.max(0,b(e)));c=Y(0,c,1,d);mat4.identity(f);mat4.translate(f,[0,0,c(b)]);NA(a,0==a.G?0:3,0,f)}
function QA(a,b){var c=Y(.1,0,.4,1),d=Y(.2,0,.9,1);const e=Y(.4,0,.6,1),f=Y(.6,0,1,1),h=mat4.create(),g=Math.min(1,Math.max(0,c(b)));c=0==a.G?3:0;let l=0==a.G?-1:1;mat4.identity(h);mat4.translate(h,[.02*l*a.slideWidth()*Math.sin(2*Math.PI*g),0,0]);NA(a,c,0,h);mat4.identity(h);mat4.translate(h,[.015*l*a.slideWidth()*Math.sin(4*Math.PI*g),0,0]);NA(a,c,2,h);mat4.identity(h);mat4.translate(h,[.2*l*a.slideWidth()*Math.max(0,g-.1),0,-.2*a.slideHeight()*Math.max(0,g-.1)]);NA(a,c,3,h);d=Math.min(1,Math.max(0,
d(b)));c=0==a.G?1:2;l=0==a.G?1:-1;mat4.identity(h);mat4.translate(h,[.5*l*a.slideWidth()*d,0,.5*a.slideHeight()*d]);NA(a,c,2,h);NA(a,c,1,h);NA(a,c,0,h);.4<=b&&.6>b&&PA(a,e,0,.2*a.slideHeight(),b);.6<=b&&PA(a,f,.2*a.slideHeight(),-.7*a.slideHeight(),b);mat4.identity(h);mat4.translate(h,[0,0,-.3*a.slideHeight()*Math.sin(1.5*Math.PI*d)]);c=0==a.G?0:3;NA(a,c,0,h)}
function RA(a,b){for(var c=0;c<a.pd.length();c++){var d=a.pd.ra[c];d=0==a.G?d.position().x()>.2*a.slideWidth()?OA(a,d,b):0:d.position().x()<.8*a.slideWidth()?OA(a,d,b):0;var e=a.Fk.ra[c],f=a,h=a.jM[c];let g;const l=new X;for(let n=0;4>n;n++){const m=new X;for(let p=0;4>p;p++){const q=new X;for(let t=0;2>t;t++){const u=f.Of(n,p,t);g=h[2][t];ov(q,new X(f.fe[u+0]*g,f.fe[u+1]*g,f.fe[u+2]*g))}g=h[1][p];ov(m,new X(q.x()*g,q.y()*g,q.z()*g))}g=h[0][n];ov(l,new X(m.x()*g,m.y()*g,m.z()*g))}rv(e,l.add(new X(0,
0,d)));lv(a.Fk.ra[c],new X)}a.uz();for(b=0;b<a.ts.length;b++)c=a.ts[b],lv(c.nl,c.nl.Zb.add(c.n)),lv(c.Wp,c.Wp.Zb.add(c.n)),lv(c.Xp,c.Xp.Zb.add(c.n))}function SA(a,b){var c=Y(.3,0,.9,1);const d=Y(.05,0,.3,1);mat4.set(a.ls,a.ta);c=Math.min(1,Math.max(0,c(b)));mat4.translate(a.ta,[(0==a.G?1:-1)*a.slideWidth()*Math.pow(c,2),.7*a.slideHeight()*Math.pow(c,2),0]);b=Math.min(1,Math.max(0,d(b)));mat4.translate(a.ta,[0,-1*b*a.slideHeight()*-.02,0])}
k.$=function(a){QA(this,a);RA(this,a);SA(this,a);mv(this);ev(this,this.gf,this.F.TRIANGLES,function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(uv(this.Fk)))}.bind(this),function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(wv(this.Fk)))}.bind(this))};function TA(a,b){Q.call(this,a);this.ja(!1,!0);this.G=b}v(TA,Q);TA.prototype.initialize=function(){this.sa().zd();S(this,!1);T(this,!0);this.qb=U(this.slideWidth(),this.slideHeight());this.P().appendChild(this.qb)};
TA.prototype.$=function(a){var b=0;let c=0,d=0,e=0;switch(this.G){case UA:e=(this.slideHeight()+400)*a;c=e-200;break;case VA:c=(this.slideHeight()+400)*(1-a);e=c-200;break;case WA:b=(this.slideWidth()+400)*(1-a);d=b-200;break;case XA:d=(this.slideWidth()+400)*a,b=d-200}a=this.qb.getContext("2d");a.clearRect(0,0,this.slideWidth(),this.slideHeight());a.drawImage(this.X,0,0);a.save();a.globalCompositeOperation="destination-out";b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(255, 255, 255, 1)");
b.addColorStop(1,"rgba(255, 255, 255, 0)");a.fillStyle=b;a.fillRect(0,0,this.slideWidth(),this.slideHeight());a.restore()};var VA=0,UA=1,WA=2,XA=3;function YA(a,b){function c(E){E.rotate(g,0,0);E.translate(u,y);E.scale(q,t)}var d=a.slideWidth(),e=a.slideHeight();const f=d/2,h=e/2,g=Y(0,0,1,-a.FI)(b),l=a.Lc.width/d,n=a.Lc.height/e;var m=Y(0,a.Lc.left,1,0)(b),p=Y(0,a.Lc.top,1,0)(b);d=Y(0,a.Lc.left+a.Lc.width,1,d)(b);e=Y(0,a.Lc.top+a.Lc.height,1,e)(b);const q=(d-m)/a.Lc.width,t=(e-p)/a.Lc.height,u=b*(f-(a.Lc.left+.5*a.Lc.width))/l,y=b*(h-(a.Lc.top+.5*a.Lc.height))/n;m=new Dl;c(m);(function(E){E.translate(a.Lc.left,a.Lc.top);E.translate(-f,-h);
E.scale(l,n);E.translate(f,h);E.rotate(a.FI,0,0)})(m);p=new Dl;c(p);a.zg.gi()&&(e=.5<b?1:Y(0,0,.5,1)(b),I(a.Ik,e));a.zH&&(b=.5<b?0:Y(0,1,.5,0)(b),I(a.zH,b));Jm(a.Ik,m);Jm(a.qn,p)}
class ZA extends Q{constructor(a){super(a);this.Gc=!1;a=a.Yp();this.zg=a.effect();this.hm=a.tj();this.Tn=a.zE();this.Lc=this.zg.la();this.FI=this.zg.rotation();a=this.slideWidth();const b=this.slideHeight();var c=this.fb().slide();this.AH=[];this.zH=null;if(!this.hm){const d=this.zg.gi()?[]:[this.zg.Pp()];this.AH=Zp(d,c);c=!this.zg.gi();this.ja(!0,!0,c,!1,c,!1)}this.hr=rd("DIV");this.hr.setAttribute("id","mainbg");this.qn=rd("DIV");this.qn.setAttribute("id","source");this.Ik=rd("DIV");this.Ik.setAttribute("id",
"destination");xh(this.Ik,a,b);xh(this.qn,a,b);xh(this.hr,a,b);this.P().appendChild(this.hr);this.P().appendChild(this.qn);this.P().appendChild(this.Ik)}tJ(){$p(this.AH)}initialize(){S(this,!1);T(this,!1);this.hm?(this.Tn&&this.hr.appendChild(this.Tn),I(this.qn,0),I(this.Ik,0)):(this.qn.appendChild(this.X),this.zg.gi()?this.Ik.appendChild(this.wa):this.Ik.appendChild(this.yi))}$(a){a=Qv(a);if(this.hm){var b=a,c=this.slideWidth(),d=this.slideHeight();a=c/2;const h=d/2,g=new Dl,l=this.zg.la(),n=this.hm.la();
var e=c/n.width,f=d/n.height;const m=Y(0,this.hm.rotation(),1,this.zg.rotation())(b);d/=l.height;c=Y(0,e,1,c/l.width)(b);f=Y(0,f,1,d)(b);e=Y(0,n.left,1,l.left)(b);b=Y(0,n.top,1,l.top)(b);g.rotate(-m,0,0);g.translate(-a,-h);g.scale(c,f);g.translate(a,h);g.translate(-e,-b);Jm(this.hr,g)}else YA(this,a)}};function $A(a){const b=vi(),c=Db&&11>=parseFloat(Tb)?!1:vi(),d=wi();if(!os){const e={"null":function(g){return new ps(g)},Cut:function(g){return new Vw(g)},CutThroughBlack:function(g){return new Ww(g)}};c?(e.BlindsHorizontal=function(g){return new Av(g,1)},e.BlindsVertical=function(g){return new Av(g,Cv)}):(e.BlindsHorizontal=function(g){return new Hv(g,1)},e.BlindsVertical=function(g){return new Hv(g,Iv)});e.CheckerboardAcross=function(g){return new Wv(g,$v)};e.CheckerboardDown=function(g){return new Wv(g,
Xv)};e.Dissolve=function(g){return new Xw(g)};e.FadeThroughBlack=function(g){return new ix(g)};b&&2013>a&&2007!=a?(e.CoverLeft=function(g){return new lw(g,uw,!1)},e.CoverUp=function(g){return new lw(g,rw,!1)},e.CoverRight=function(g){return new lw(g,vw,!1)},e.CoverDown=function(g){return new lw(g,tw,!1)},e.CoverLeftUp=function(g){return new lw(g,xw,!1)},e.CoverRightUp=function(g){return new lw(g,zw,!1)},e.CoverLeftDown=function(g){return new lw(g,ww,!1)},e.CoverRightDown=function(g){return new lw(g,
yw,!1)},e.UncoverLeft=function(g){return new lw(g,uw,!0)},e.UncoverUp=function(g){return new lw(g,rw,!0)},e.UncoverRight=function(g){return new lw(g,vw,!0)},e.UncoverDown=function(g){return new lw(g,tw,!0)},e.UncoverLeftUp=function(g){return new lw(g,xw,!0)},e.UncoverRightUp=function(g){return new lw(g,zw,!0)},e.UncoverLeftDown=function(g){return new lw(g,ww,!0)},e.UncoverRightDown=function(g){return new lw(g,yw,!0)}):(e.CoverLeft=function(g){return new Ew(g,uw,!1)},e.CoverUp=function(g){return new Ew(g,
rw,!1)},e.CoverRight=function(g){return new Ew(g,vw,!1)},e.CoverDown=function(g){return new Ew(g,tw,!1)},e.CoverLeftUp=function(g){return new Ew(g,xw,!1)},e.CoverRightUp=function(g){return new Ew(g,zw,!1)},e.CoverLeftDown=function(g){return new Ew(g,ww,!1)},e.CoverRightDown=function(g){return new Ew(g,yw,!1)},e.UncoverLeft=function(g){return new Ew(g,uw,!0)},e.UncoverUp=function(g){return new Ew(g,rw,!0)},e.UncoverRight=function(g){return new Ew(g,vw,!0)},e.UncoverDown=function(g){return new Ew(g,
tw,!0)},e.UncoverLeftUp=function(g){return new Ew(g,xw,!0)},e.UncoverRightUp=function(g){return new Ew(g,zw,!0)},e.UncoverLeftDown=function(g){return new Ew(g,ww,!0)},e.UncoverRightDown=function(g){return new Ew(g,yw,!0)});e.RandomBarsHorizontal=function(g){return new mz(g,nz)};e.RandomBarsVertical=function(g){return new mz(g,oz)};e.StripsLeftUp=function(g){return new Vz(g,Xz)};e.StripsRightUp=function(g){return new Vz(g,Zz)};e.StripsLeftDown=function(g){return new Vz(g,Wz)};e.StripsRightDown=function(g){return new Vz(g,
Yz)};e.WipeLeft=function(g){return new TA(g,WA)};e.WipeUp=function(g){return new TA(g,VA)};e.WipeRight=function(g){return new TA(g,XA)};e.WipeDown=function(g){return new TA(g,UA)};e.BoxOut=function(g){return new Lv(g,Mv)};e.BoxIn=function(g){return new Lv(g,Nv)};e.SplitHorizontalOut=function(g){return new Qz(g,Sz)};e.SplitHorizontalIn=function(g){return new Qz(g,Rz)};e.SplitVerticalOut=function(g){return new Qz(g,Uz)};e.SplitVerticalIn=function(g){return new Qz(g,Tz)};e.ShapeCircle=function(g){return new Ez(g)};
e.ShapeDiamond=function(g){return new Fz(g)};e.CombHorizontal=function(g){return new cw(g,dw)};e.CombVertical=function(g){return new cw(g,1)};e.FadeSmoothly=function(g){return new hx(g)};e.Newsflash=function(g){return new Jy(g)};e.ShapePlus=function(g){return new Hz(g)};e.PushDown=function(g){return new hz(g,iz)};e.PushLeft=function(g){return new hz(g,jz)};e.PushRight=function(g){return new hz(g,kz)};e.PushUp=function(g){return new hz(g,lz)};e.Wedge=function(g){return new HA(g)};e.Wheel1Spoke=function(g){return new JA(g,
1)};e.Wheel2Spokes=function(g){return new JA(g,2)};e.Wheel3Spokes=function(g){return new JA(g,3)};e.Wheel4Spokes=function(g){return new JA(g,4)};e.Wheel8Spokes=function(g){return new JA(g,8)};e.WheelReverse1Spoke=function(g){return new JA(g,-1)};e.MorphByObject=function(g){return new Iy(g)};e.MorphByWord=function(g){return new Iy(g)};e.MorphByChar=function(g){return new Iy(g)};b?d?(e.VortexLeft=function(g){return new AA(g,uA)},e.VortexUp=function(g){return new AA(g,1)},e.VortexRight=function(g){return new AA(g,
vA)},e.VortexDown=function(g){return new AA(g,wA)}):(e.VortexLeft=function(g){return new dA(g,uA)},e.VortexUp=function(g){return new dA(g,1)},e.VortexRight=function(g){return new dA(g,vA)},e.VortexDown=function(g){return new dA(g,wA)}):(e.VortexLeft=function(g){return new Xw(g)},e.VortexUp=function(g){return new Xw(g)},e.VortexRight=function(g){return new Xw(g)},e.VortexDown=function(g){return new Xw(g)});!d||oi||Hi?(e.RippleCenter=function(g){return new xz(g,yz)},e.RippleRightUp=function(g){return new xz(g,
Bz)},e.RippleLeftUp=function(g){return new xz(g,zz)},e.RippleLeftDown=function(g){return new xz(g,Az)},e.RippleRightDown=function(g){return new xz(g,Cz)}):(e.RippleCenter=function(g){return new Dz(g,yz)},e.RippleRightUp=function(g){return new Dz(g,Bz)},e.RippleLeftUp=function(g){return new Dz(g,zz)},e.RippleLeftDown=function(g){return new Dz(g,Az)},e.RippleRightDown=function(g){return new Dz(g,Cz)});e.GlitterDiamondLeft=function(g){return new xx(g,Cx,Ax)};e.GlitterDiamondUp=function(g){return new xx(g,
Cx,yx)};e.GlitterDiamondRight=function(g){return new xx(g,Cx,Bx)};e.GlitterDiamondDown=function(g){return new xx(g,Cx,zx)};e.GlitterHexagonLeft=function(g){return new xx(g,1,Ax)};e.GlitterHexagonUp=function(g){return new xx(g,1,yx)};e.GlitterHexagonRight=function(g){return new xx(g,1,Bx)};e.GlitterHexagonDown=function(g){return new xx(g,1,zx)};b?(e.GalleryLeft=function(g){return new tx(g,vx,!1)},e.GalleryRight=function(g){return new tx(g,wx,!1)}):(e.GalleryLeft=function(g){return new hz(g,jz)},e.GalleryRight=
function(g){return new hz(g,kz)});b?(e.ConveyorLeft=function(g){return new tx(g,vx,!0)},e.ConveyorRight=function(g){return new tx(g,wx,!0)}):(e.ConveyorLeft=function(g){return new $y(g,bz,!0)},e.ConveyorRight=function(g){return new $y(g,az,!0)});e.DoorsVertical=function(g){return new cx(g,dx,!1,!0)};e.DoorsHorizontal=function(g){return new cx(g,ex,!1,!0)};e.WindowVertical=function(g){return new cx(g,dx,!0,2013>a)};e.WindowHorizontal=function(g){return new cx(g,ex,!0,2013>a)};e.WarpIn=function(g){return new DA(g,
EA,!1,!1)};e.WarpOut=function(g){return new DA(g,1,!1,!1)};e.FlyThroughIn=function(g){return new DA(g,EA,!0,!1)};e.FlyThroughOut=function(g){return new DA(g,1,!0,!1)};e.FlyThroughInBounce=function(g){return new DA(g,EA,!0,!0)};e.FlyThroughOutBounce=function(g){return new DA(g,1,!0,!0)};e.RevealSmoothLeft=function(g){return new qz(g,tz)};e.RevealSmoothRight=function(g){return new qz(g,sz)};e.RevealBlackLeft=function(g){return new qz(g,rz)};e.RevealBlackRight=function(g){return new qz(g,3)};e.Honeycomb=
function(g){return new Lx(g)};b?(e.FerrisWheelLeft=function(g){return new kx(g,0)},e.FerrisWheelRight=function(g){return new kx(g,lx)}):(e.FerrisWheelLeft=function(g){return new $y(g,cz,!0)},e.FerrisWheelRight=function(g){return new $y(g,cz,!0)});const f=2013<=a?cA:$z,h=2013<=a?qx:ox;e.SwitchLeft=function(g){return new f(g,0,c)};e.SwitchRight=function(g){return new f(g,aA,c)};e.FlipLeft=function(g){return new h(g,0,c)};e.FlipRight=function(g){return new h(g,px,c)};e.Flashbulb=function(g){return new mx(g)};
c?(e.ShredStripsIn=function(g){return new Kz(g,0)},e.ShredStripsOut=function(g){return new Kz(g,Pz)},e.ShredRectangleIn=function(g){return new Kz(g,Lz)},e.ShredRectangleOut=function(g){return new Kz(g,Mz)}):(e.ShredStripsIn=function(g){return new Xw(g)},e.ShredStripsOut=function(g){return new Xw(g)},e.ShredRectangleIn=function(g){return new Xw(g)},e.ShredRectangleOut=function(g){return new Xw(g)});e.CubeLeft=function(g){return new Lw(g,Ow,!1,c)};e.CubeUp=function(g){return new Lw(g,Nw,!1,c)};e.CubeRight=
function(g){return new Lw(g,Pw,!1,c)};e.CubeDown=function(g){return new Lw(g,Mw,!1,c)};e.RotateLeft=function(g){return new Lw(g,Ow,!0,c)};e.RotateUp=function(g){return new Lw(g,Nw,!0,c)};e.RotateRight=function(g){return new Lw(g,Pw,!0,c)};e.RotateDown=function(g){return new Lw(g,Mw,!0,c)};c?(e.BoxLeft=function(g){return new Sv(g,Vv,!1)},e.BoxUp=function(g){return new Sv(g,0,!1)},e.BoxRight=function(g){return new Sv(g,Tv,!1)},e.BoxDown=function(g){return new Sv(g,Uv,!1)},e.OrbitLeft=function(g){return new Sv(g,
Vv,!0)},e.OrbitUp=function(g){return new Sv(g,0,!0)},e.OrbitRight=function(g){return new Sv(g,Tv,!0)},e.OrbitDown=function(g){return new Sv(g,Uv,!0)}):(e.BoxLeft=function(g){return new hz(g,jz)},e.BoxUp=function(g){return new hz(g,lz)},e.BoxRight=function(g){return new hz(g,kz)},e.BoxDown=function(g){return new hz(g,iz)},e.OrbitLeft=function(g){return new $y(g,bz,!0)},e.OrbitUp=function(g){return new $y(g,3,!0)},e.OrbitRight=function(g){return new $y(g,az,!0)},e.OrbitDown=function(g){return new $y(g,
cz,!0)});e.PanLeft=function(g){return new $y(g,bz,2013>a)};e.PanUp=function(g){return new $y(g,3,2013>a)};e.PanRight=function(g){return new $y(g,az,2013>a)};e.PanDown=function(g){return new $y(g,cz,2013>a)};d?(e.AirplaneLeft=function(g){return new xv(g,yv)},e.AirplaneRight=function(g){return new xv(g,1)},e.OrigamiLeft=function(g){return new Oy(g,Qy)},e.OrigamiRight=function(g){return new Oy(g,Uy)},e.DrapeLeft=function(g){return new fx(g,gx)},e.DrapeRight=function(g){return new fx(g,1)},e.FallOverLeft=
function(g){return new jx(g,0)},e.FallOverRight=function(g){return new jx(g,1)},e.Curtains=function(g){const l=new Uw(g);return l.DF()?l:new hx(g)},e.Fracture=function(g){return new rx(g)},e.Crush=function(g){return new Gw(g)},e.WindRight=function(g){return new LA(g,0)},e.WindLeft=function(g){return new LA(g,1)},e.PeelOffLeft=function(g){return new dz(g,ez)},e.PeelOffRight=function(g){return new dz(g,1)},e.Prestige=function(g){const l=new fz(g);return l.DF()?l:new hx(g)},e.PageCurlDoubleLeft=function(g){return new Yy(g,
0)},e.PageCurlDoubleRight=function(g){return new Yy(g,1)},e.PageCurlSingleLeft=function(g){return new Yy(g,2)},e.PageCurlSingleRight=function(g){return new Yy(g,3)}):(e.AirplaneLeft=function(g){return new hx(g)},e.AirplaneRight=function(g){return new hx(g)},e.OrigamiLeft=function(g){return new hx(g)},e.OrigamiRight=function(g){return new hx(g)},e.DrapeLeft=function(g){return new hx(g)},e.DrapeRight=function(g){return new hx(g)},e.FallOverLeft=function(g){return new hx(g)},e.FallOverRight=function(g){return new hx(g)},
e.Curtains=function(g){return new hx(g)},e.Fracture=function(g){return new hx(g)},e.Crush=function(g){return new hx(g)},e.WindRight=function(g){return new hx(g)},e.WindLeft=function(g){return new hx(g)},e.PeelOffLeft=function(g){return new hx(g)},e.PeelOffRight=function(g){return new hx(g)},e.Prestige=function(g){return new hx(g)},e.PageCurlDoubleLeft=function(g){return new hx(g)},e.PageCurlDoubleRight=function(g){return new hx(g)},e.PageCurlSingleLeft=function(g){return new hx(g)},e.PageCurlSingleRight=
function(g){return new hx(g)});e.Zoom=function(g){return new ZA(g)};os=e}}
var os,ns=[["PushUp","PushLeft","PushRight","PushDown"],["ShapePlus","ShapeCircle","ShapeDiamond"],["BlindsVertical","BlindsHorizontal"],["BoxIn","BoxOut"],["CheckerboardAcross","CheckerboardDown"],["Flashbulb"],["WipeDown","WipeUp","WipeLeft","WipeRight"],["RandomBarsVertical","RandomBarsHorizontal"],["FadeSmoothly","FadeThroughBlack"],["null"],["Cut","CutThroughBlack"],["CombHorizontal","CombVertical"],["Dissolve"],["FlyThroughIn","FlyThroughOut","FlyThroughInBounce","FlyThroughOutBounce"],["WarpIn",
"WarpOut"],["Newsflash"],["BoxLeft","BoxUp","BoxRight","BoxDown"],["OrbitUp","OrbitDown","OrbitLeft","OrbitRight"],["WindowHorizontal","WindowVertical"],["DoorsHorizontal","DoorsVertical"],["FerrisWheelLeft","FerrisWheelRight"],["SwitchLeft","SwitchRight"],["GalleryLeft","GalleryRight"],["RippleCenter","RippleRightUp","RippleLeftUp","RippleLeftDown","RippleRightDown"],["VortexLeft","VortexRight","VortexUp","VortexDown"],["ShredStripsIn","ShredStripsOut","ShredRectangleIn","ShredRectangleOut"],["FlipLeft",
"FlipRight"],"CoverLeft CoverUp CoverRight CoverDown CoverLeftUp CoverRightUp CoverLeftDown CoverRightDown".split(" "),"UncoverDown UncoverLeft UncoverLeftDown UncoverLeftUp UncoverRight UncoverRightDown UncoverRightUp UncoverUp".split(" "),["StripsLeftDown","StripsLeftUp","StripsRightDown","StripsRightUp"],["Honeycomb"],["SplitVerticalIn","SplitVerticalOut","SplitHorizontalIn","SplitHorizontalOut"],"Wedge Wheel1Spoke Wheel2Spokes Wheel3Spokes Wheel4Spokes Wheel8Spokes WheelReverse1Spoke".split(" "),
["RevealSmoothLeft","RevealSmoothRight","RevealBlackLeft","RevealBlackRight"],["CubeLeft","CubeUp","CubeRight","CubeDown"],["RotateLeft","RotateUp","RotateRight","RotateDown"],"GlitterDiamondDown GlitterDiamondUp GlitterDiamondLeft GlitterDiamondRight GlitterHexagonDown GlitterHexagonUp GlitterHexagonLeft GlitterHexagonRight".split(" "),["ConveyorLeft","ConveyorRight"],["PanLeft","PanUp","PanRight","PanDown"],["AirplaneLeft","AirplaneRight"],["OrigamiLeft","OrigamiRight"],["DrapeLeft","DrapeRight"],
["FallOverLeft","FallOverRight"],["Curtains"],["Fracture"],["Crush"],["WindRight","WindLeft"],["PeelOffLeft","PeelOffRight"],["Prestige"],["PageCurlDoubleLeft","PageCurlDoubleRight","PageCurlSingleLeft","PageCurlSingleRight"]];function aB(){}k=aB.prototype;k.Qw=null;k.Rw=null;k.start=function(a,b,c,d){b=fd(b[0],8);const e={};e.family=a;e.bold=!0===c;e.italic=!0===d;this.Qw=new bB(e,"arial,'URW Gothic L',sans-serif",b);this.Rw=new bB(e,"Georgia,'Century Schoolbook L',serif",b)};k.finish=function(){this.Qw.Re();this.Qw=null;this.Rw.Re();this.Rw=null};k.check=function(){return cB(this.Qw)||cB(this.Rw)};
function bB(a,b,c){var d=z(a,"family","");d=String(d);const e=['"'];for(let n=0;n<d.length;n++){var f=d.charAt(n),h=f.charCodeAt(0),g=n+1,l;if(!(l=dd[f]))if(31<h&&127>h)l=f;else if(l=f,l in ed)l=ed[l];else if(l in dd)l=ed[l]=dd[l];else{h=l.charCodeAt(0);if(31<h&&127>h)f=l;else{if(256>h){if(f="\\x",16>h||256<h)f+="0"}else f="\\u",4096>h&&(f+="0");f+=h.toString(16).toUpperCase()}l=ed[l]=f}e[g]=l}e.push('"');d=e.join("");this.rm=A("span");this.rm.innerHTML=c;G(this.rm,{position:"absolute",top:"-999px",
left:"-999px",fontSize:"100px",fontFamily:b,fontWeight:z(a,"bold",!1)?"bold":"normal",fontStyle:z(a,"italic",!1)?"italic":"normal",opacity:"0"});document.body.appendChild(this.rm);this.LJ=Ah(this.rm).width;G(this.rm,"fontFamily",d+","+b)}bB.prototype.Re=function(){zd(this.rm)};function cB(a){return!!a.LJ&&Ah(a.rm).width!=a.LJ};var dB={};function eB(a,b,c,d){d=d||c;let e="",f=!1,h=!1;"string"!==typeof a?(e=z(a,"family",""),f=z(a,"bold",!1),h=z(a,"italic",!1)):e=a;e=e.replace(/^"|"$/g,"");if(e in dB)(dB[e]?c:d)();else{var g=g||5E3;var l=new aB;l.start(e,b,f,h);var n=Date.now(),m=setInterval(()=>{let p=!1,q=!1;l.check()?q=p=!0:Date.now()-n>g&&(p=!0,q=!1);p&&(clearInterval(m),l.finish(),q?c():d&&(Ba(`can't preload font ${a&&a.family}`),d()))},50)}}
function fB(a,b){Array.isArray(b)||(b=[b]);const c=[];w(b,d=>{c.push(d.RT+"('"+d.src()+"')"+(d.format()?" format('"+d.format()+"')":""))});return`@font-face {
			  font-family: '${a}';
			  src: ${c.join(",")};
			  ${""}
			  ${""}
			}`}function gB(a,b){this.RT=a;this.Qc=b;this.fQ=null}gB.prototype.src=function(){return this.Qc};gB.prototype.format=function(){return this.fQ};function hB(a,b){b=a.KS.create(b);Je(a,b);B(a,b.ww,a.YR,a);return b}function iB(a){"normal"==a.Da&&yu(a.ki,a.Hb);zu(a.ki,b=>{if(b instanceof Cu){const c="normal"==a.Da?"":"none";b.displayObject().style.display=c}})}
class jB extends og{constructor(a,b,c){super();this.Bc=a;this.J=b;this.gm=c;this.Da="normal";this.ge=new D;this.Hb=this.Wa();this.Mg=this.Wa("slidesBackground");this.uc=this.Wa();this.yc=new Cs(this);this.pm=this.Wa();this.gd=this.Wa("frontLayers");this.Hb.appendChild(this.Mg);this.Hb.appendChild(this.uc);a=this.yc.displayObject();this.Hb.appendChild(a);this.uc.appendChild(this.pm);this.uc.appendChild(this.gd);this.uc.style.display="none";this.lb=kB(this.Bc.Hp(),{xF:this.pm,width:this.J.slideWidth(),
height:this.J.slideHeight(),uW:Number.MAX_VALUE,backgroundColor:"#000000",KF:this.Da});a=new Pu;this.vc=new Nu(this.J,this.lb,a,this.J.slideWidth(),this.J.slideHeight(),this.gd);c=new Du;var d=new Mu(this.lb,this.J.slides(),c,this.gm);this.B=new hs(this.J,this.lb,this.Bc.Hp().Fc,d,c,this.Bc,this.vc,a,this.gm);B(this,this.B.qg(),this.Tf,this);B(this,this.B.jn,this.Zy,this);a=this.B;this.Bc.vA.vm.addHandler(a.CR,a);B(this,this.B.kz,this.oR,this);B(this,this.B.jn,this.mR,this);this.Li=new N(this.B,this.J);
this.KS=new hu({oe:this.J,SW:this.Bc,Ux:this.Hb,Hy:this.Mg,il:this.uc,Qk:this.yc,P:this.gd,Dy:this.pm,ua:this.B,UX:this.vc,Mp:this.lb});this.Wf=hB(this,"normal");b=b.fonts();a=Og||Db;c=[];for(d=0;d<b.length;++d){const f=b[d];var e=xm(f.name());const h=f.urls(),g=[];0!=h.length||!f.localName()||(e.bold()||e.italic())&&a||g.push(new gB("local",f.localName()));for(e=0;e<h.length;++e)g.push(new gB("url",h[e]));c.push(fB(f.name(),g))}Cm(c.join("\n"));this.ki=new Au(this);this.xK=this.ju=void 0;b=this.J.slideWidth();
this.J.slideHeight();a=this.J.Gs();c=this.J.Mt();if(a||c)c&&(c=new Cu(c),wu(this.ki,c)),a&&(Ti&&(this.xK=new Bu(a,b)),this.ju=new ht(a,b),a=new Bs(this.J.settings().xb()),b=this.ju.displayObject(),a=`${a.Te("PB_ACCESSIBLE_WATERMARK_SKIN_CREATED_WITH")}.`,zs(b,"label",a),ys(b,"banner"),b.setAttribute("tabindex",0),wu(this.ki,this.ju));xu(this.ki)}$g(){return this.ge}ua(){return this.B}Wh(){return this.Li}soundController(){return this.Bc.soundController()}displayObject(){return this.Hb}il(){return this.uc}Lx(){this.Wf.Lx(this.ki)}Mp(){return this.lb}width(){return this.Wf.width()}height(){return this.Wf.height()}scale(){return this.Wf.scale()}resize(a,
b){this.Wf.resize(a,b)}Qk(){return this.yc}$m(){return this.Bc.$m()}Qx(){return this.Wf.Qx()}setOverlayDisplayed(a){this.Wf.setOverlayDisplayed(a)}$h(a){if(this.Da!=a){this.Da=a;this.B.pause();Ke(this,this.Wf);this.Wf=hB(this,a);this.lb.$h(a);this.Bc.mediaController().$h(a);for(a=0;a<this.J.slides().count();++a){var b=this.B.Wc(a,!1);b&&null!=b.oa&&(b.QD({tV:!0}),b.deactivate())}for(a=0;a<this.J.slides().count();++a)if(b=this.B.Wc(a,!1)){b=b.view();var c=this.lb.Fb[a].Kg,d=this.lb.Da;b.Ba!=c&&(b.Ba=
c,b.EI=d,b.dL())}a=this.B.qa();-1!=a&&(this.lb.Fb[a].$k(),this.B.Yc(a,!1));this.wm();-1!=this.B.qa()&&(a=this.B.hc(),a instanceof Hp&&a.ly(),fs(this.B),a.qx());-1!=this.B.qa()&&(this.B.hc().slide().Lf=!0);a=this.B.qa();-1!=a&&(a="normal"==this.Da?this.J.slides().R(a).lq:null,lB(this.Bc.mediaController(),a));mB(this.Bc.yp(),"normal"==this.Da);iB(this)}}Wa(a){const b=A("DIV");a&&(b.id=a);return b}oR(){Hm(document.body,"slide-transiting")}mR(){Im(document.body,"slide-transiting")}YR(a,b,c,d){this.ge.D(a,
b,c,d)}Tf(){this.Wf.HN(this.ju)}Zy(){this.Wf.CM(this.xK)}wm(){this.Wf.wm()}}jB.prototype.resize=jB.prototype.resize;jB.prototype.height=jB.prototype.height;jB.prototype.width=jB.prototype.width;jB.prototype.slidesContainer=jB.prototype.il;jB.prototype.displayObject=jB.prototype.displayObject;jB.prototype.soundController=jB.prototype.soundController;jB.prototype.restrictedPlaybackController=jB.prototype.Wh;jB.prototype.playbackController=jB.prototype.ua;jB.prototype.resizeEvent=jB.prototype.$g;class nB{constructor(){this.zG=!1}};function oB(a,b){b=b.getAttribute("id");a.wA.D(b);a.uA.D()}function pB(a,b){const c=new nB;a.eH.D(b,c);return c.zG}
class qB{constructor(){this.ma=this.B=null;this.hb=!0;this.uA=new D;this.wA=new D;this.eH=new D;this.vm=new D}wt(a){this.B=a}zy(a){this.ma=a}Yc(a,b){this.hb&&(oB(this,b),this.B.Yc(a,void 0,!1))}XV(a){this.hb&&(oB(this,a),this.B.qp())}Sk(a){this.hb&&(oB(this,a),this.B.Sk())}Tk(a){this.hb&&(oB(this,a),this.B.Tk())}Xc(a){this.hb&&(oB(this,a),a=this.B,a.Ia.reset(),a.Yc(Mr(a),void 0,!1))}zf(a){this.hb&&(oB(this,a),a=this.B,a.Ia.reset(),a.Yc(Rr(a),void 0,!1))}ZV(a,b,c){this.hb&&(oB(this,c),pB(this,a)||
Ug(a,{target:b}))}YV(a){return this.hb?(oB(this,a),pB(this,a.href)?!1:Gi&&a instanceof window.SVGAElement?(Ug(a.href.baseVal,{target:a.target.baseVal}),!1):!0):!1}JX(a,b,c){this.hb&&(oB(this,a),this.B.zF(b,c))}Et(a,b){this.hb&&(oB(this,a),this.B.Et(b))}EV(a){this.hb&&(oB(this,a),this.B.VD())}QW(a,b){this.hb&&(oB(this,b),0<=this.B.qa()&&(a=Gf(this.B.W().Db(),a))&&Xo(this.ma,a,0))}LX(a){this.hb&&(oB(this,a),Zo(this.ma))}bX(a){a&&a.Zm&&this.vm.D(a.Zm)}}qB.prototype.processTriggerEffect=qB.prototype.bX;
qB.prototype.stopHyperlinkSound=qB.prototype.LX;qB.prototype.playHyperlinkSound=qB.prototype.QW;qB.prototype.endSlideshow=qB.prototype.EV;qB.prototype.startZoom=qB.prototype.Et;qB.prototype.startSlideshow=qB.prototype.JX;qB.prototype.gotoLink=qB.prototype.YV;qB.prototype.gotoURL=qB.prototype.ZV;qB.prototype.gotoPreviousSlide=qB.prototype.zf;qB.prototype.gotoNextSlide=qB.prototype.Xc;qB.prototype.gotoLastSlide=qB.prototype.Tk;qB.prototype.gotoFirstSlide=qB.prototype.Sk;
qB.prototype.gotoLastViewedSlide=qB.prototype.XV;qB.prototype.gotoSlide=qB.prototype.Yc;var rB,sB=kd().me.documentElement;rB=sB.requestFullscreen?"fullscreenchange":sB.webkitRequestFullscreen?"webkitfullscreenchange":sB.mozRequestFullScreen?"mozfullscreenchange":sB.msRequestFullscreen?"MSFullscreenChange":"fullscreenchange";function tB(){var a=kd().me;return!!(a.webkitIsFullScreen||a.mozFullScreen||a.msFullscreenElement||a.fullscreenElement)};class uB{constructor(){this.hQ=new D;je(document,rB,()=>{this.hQ.D(tB())},!1,this)}};function mB(a,b){a.MA!=b&&((a.MA=b)&&a.Sq.enabled()?(je(document,"keydown",a.cJ,!1,a),je(document,"keyup",a.eJ,!1,a)):(ue(document,"keydown",a.cJ,!1,a),ue(document,"keyup",a.eJ,!1,a)))}
function vB(a,b){const c=a.B;if(!(0>c.qa())){var d=c.U(),e=a.L;0>a.fs&&(a.fs=Date.now(),a.qo=d.qe(),c.pause());a=(1+(Date.now()-a.fs)/1E3)*(b?1:-1);d=d.timestamp();b=e.lj(d,!1,!0);e=e.Yo(Qc(b+a,0,e.yO()),!1,!0);a=c.hc();e.H()>d.H()?1==a.ON()?c.Xc(!1):Jj(a):e.H()<d.H()?0<a.RE()?Kj(a):c.zf(!1):c.Vk(e.H(),e.fa(),e.va(),!1)}}
class wB{constructor(a,b,c,d){this.Sq=a;this.L=b;this.he=c;this.qH=d;this.B=null;this.MA=!1;this.fs=-1;this.qo=!1;mB(this,!ki)}wt(a){this.B=a}cJ(a){a:{var b=this.Sq.actions();for(let c=0;c<b.count();++c){const d=kg(b,c),e=d.Wm();for(let f=0;f<e.length;++f){const h=e[f];if(h.key()==a.keyCode&&h.zx()==a.ctrlKey&&h.shift()==a.shiftKey){b="toggleFullscreen"==d.type();break a}}}b=!1}b?this.dJ(a):ii(this.dJ.bind(this,a),this)}dJ(a){var b=a.ne;if(!(b&&b.defaultPrevented||"slide"!=this.B.W().type())&&(b=
Md(),"INPUT"!=b.nodeName)){var c=a.keyCode,d=a.ctrlKey,e=a.shiftKey,f=this.Sq.actions();for(let h=0;h<f.count();++h){const g=kg(f,h),l=g.Wm();for(let n=0;n<l.length;++n){const m=l[n];if(m.key()==c&&m.zx()==d&&m.shift()==e){c=g;if(e=this.B)switch(d=e.hc(),c.type()){case "playPause":e.U().qe()?e.pause():e.play();break;case "nextSlide":e.Xc();break;case "previousSlide":e.zf();break;case "nextStep":e.Uk();break;case "previousStep":e.rp();break;case "firstSlide":e.Sk();break;case "lastSlide":e.Tk();break;
case "lastViewedSlide":e.qp();break;case "slideStart":Kj(d);break;case "slideEnd":Jj(d);break;case "seekForward":vB(this,!0);break;case "seekBackward":vB(this,!1);break;case "volumeUp":this.he.setVolume(Math.min(1,this.he.volume()+.1));break;case "volumeDown":this.he.setVolume(Math.max(0,this.he.volume()-.1));break;case "toggleFullscreen":tB()?(c=kd().me,c.exitFullscreen?c.exitFullscreen():c.webkitCancelFullScreen?c.webkitCancelFullScreen():c.mozCancelFullScreen?c.mozCancelFullScreen():c.msExitFullscreen&&
c.msExitFullscreen()):(c=document.body,c.mozRequestFullScreenWithKeys?c.mozRequestFullScreenWithKeys():c.requestFullscreen?c.requestFullscreen(void 0):c.webkitRequestFullscreen?c.webkitRequestFullscreen():c.mozRequestFullScreen?c.mozRequestFullScreen():c.msRequestFullscreen&&c.msRequestFullscreen())}b&&b.blur&&b.blur();a.preventDefault();return}}}}}eJ(){0<this.fs&&(this.fs=-1,this.qo&&this.B.play())}};function xB(a){a.Qj.MM()?(a.C.activate(),a.C.Yk(0)):a.Ah=null}
class yB extends og{constructor(a,b,c,d){super();this.Ah=null;this.C=b;this.he=c;this.Qj=d;this.rq=0;this.Ga=!1;this.yh=new D;B(this,this.C.Ab(),this.Zl,this);this.mF(a);B(this,c.qt(),this.Ih,this);B(this,c.UJ,this.Wv,this);this.Ih()}mF(a){this.Ah!=a&&(this.rq=0,a?(this.C.ve(a.Dm()[0].sources()),this.Qj.gF(!1),this.C.Ga?this.C.Yk(0):this.Ga&&xB(this)):(this.C.pause(),this.C.ve(ji())),this.Ah=a)}activate(){this.Ga=!0;xB(this)}Zl(a){"ended"==a.state()&&(++this.rq,this.rq<this.Ah.Dm().length?(this.C.ve(this.Ah.Dm()[this.rq].sources()),
a.Yk(0)):this.Ah.loop()?(this.rq=0,this.C.ve(this.Ah.Dm()[0].sources()),a.Yk(0)):(this.yh.D(this),this.Qj.gF(!0)))}Ih(){this.C.setVolume(this.he.pt())}Wv(){this.C.pause()}};function zB(a){this.J=a;this.Ha=[];this.fK={}}k=zB.prototype;k.ia=null;k.Az=!1;k.nu=null;k.nF=function(a,b){this.ia=b;this.Az=a.qe();a.Ab().addHandler(this.io,this)};k.add=function(a,b){b=b||AB;if(!La(this.Ha,a)){this.Ha.push(a);const c=ma(a)+"";this.fK[c]=b;a.rj().addHandler(this.uB,this);a.Cd.addHandler(this.sB,this)}};k.remove=function(a){Ma(this.Ha,a);is(this.ia,!1,a);const b=a.rj();b.oE(this.uB,this)&&b.removeHandler(this.uB,this);a=a.Cd;a.oE(this.sB,this)&&a.removeHandler(this.sB,this)};
k.contains=function(a){return La(this.Ha,a)};function us(a){a=Qa(a.Ha);for(let b=0;b<a.length;++b)a[b].stop()}function BB(a,b,c,d,e){const f=a.Ha.length;for(let g=0;g<f;++g){const l=a.Ha[g];if(e||!b.Si||Eu(b,l)){var h=ma(l)+"";h=a.fK[h];(d&&h.PW||!d&&c&&h.$x||!d&&!c)&&l.iO()}else l.jO()}}
k.io=function(a){a.qe();this.Az=a.qe();const b=()=>{let c=!1,d=!1;a.Bb().removeHandler(this.Ya,this);a.qe()||(d=(c=CB(this,a.timestamp()))&&DB(this,a.timestamp()),this.nu=a.timestamp(),a.Bb().addHandler(this.Ya,this));BB(this,a,c,d,!1)};this.Az?b():setTimeout(b,0)};k.Ya=function(a){var b=a.timestamp(),c;(c=!this.nu)||(c=this.nu,c=!(c.H()==b.H()&&c.fa()==b.fa()&&0>=Math.abs(c.va()-b.va())));c&&(this.nu=b,c=(b=CB(this,a.timestamp()))&&DB(this,a.timestamp()),BB(this,a,b,c,!0))};
function CB(a,b){a=a.J.slides().R(b.H());if(0>b.fa())return!1;a=a.Aa().ob(b.fa());return b.va()>=a.duration()}function DB(a,b){a=a.J.slides().R(b.H());return b.fa()==a.Aa().count()-1}k.uB=function(a){this.remove(a)};k.sB=function(a){is(this.ia,a.$b(),a)};function EB(a){this.$x=!1;this.PW=a}var AB=new EB(!1),FB=new EB(!0),GB=new EB(!0);function HB(a,b,c,d){this.L=a;this.K=b;this.Pc=c;this.C=d;this.yh=new D;this.Cd=new D}k=HB.prototype;k.Tc=null;k.sc=!1;k.Qg=!1;k.playing=function(){return this.C.playing()};k.$b=function(){return this.C.$b()};k.play=function(a){this.qj(this.K.timestamp(),a||0)};
k.qj=function(a,b){this.Er();this.C.Ab().addHandler(this.Gv,this);this.C.Cd.addHandler(this.Yj,this);this.Tc=a;this.Qg=!1;this.sc=!0;this.C.activate();var c=this.C,d=c.Yk;const e=this.L;a=(e.lj(this.K.timestamp(),!0,!1)-e.lj(a,!0,!1)+b)%this.Pc.duration();d.call(c,a)};k.pause=function(){this.stop()};k.stop=function(){this.sc&&(this.wh(),this.C.stop(),this.C.deactivate())};k.Er=function(){this.C.Ab().removeHandler(this.Gv,this);this.C.Cd.removeHandler(this.Yj,this)};
k.Gv=function(){if("ended"==this.C.state()){let a=!0;if("untilNextSound"==this.Pc.Bh){const b=this.Tc.H();this.K.timestamp().H()>=b&&(this.C.seek(0),this.C.play(),a=!1)}a&&(this.wh(),this.C.deactivate())}};k.Yj=function(){this.Cd.D(this);!this.$b()&&this.playing()&&this.Qg&&this.C.pause()};k.jO=function(){this.Qg=!1;this.C.play()};k.iO=function(){this.Qg=!0;this.$b()||this.C.pause()};k.wh=function(){this.sc&&(this.sc=!1,this.Er(),this.yh.D(this))};k.rj=function(){return this.yh};function IB(a,b,c,d){this.L=a;this.K=b;this.Ac=c;this.C=d;this.yh=new D;this.Cd=new D;this.C.Ab().addHandler(this.Gv,this);this.C.Or.addHandler(this.FK,this)}k=IB.prototype;k.Tc=null;k.gw=0;k.Dh=null;k.sc=!1;k.Qg=!1;k.LC=!1;k.activate=function(){this.Ga=!0;this.C.Ga||this.C.activate()};k.deactivate=function(){this.C.playing()||this.C.deactivate();this.Ga=!1};k.Sd=function(){return this.C};k.playing=function(){return this.C.playing()};k.$b=function(){return this.sc&&(this.C.$b()||!this.C.Js())};
k.play=function(a){this.qj(this.K.timestamp(),void 0!==a?a:null,!1)};function JB(a,b){var c=sf(yf(a.Ac,a.L),b);b=c?c.Qa():b;c=a.C;if(ki&&c instanceof yj){const d=c.Sd(),e=d.src();d.ve(ji());d.play();setTimeout(()=>{d.ve(e);a.qj(b,0,!0)},0)}else a.qj(b,0,!0)}
k.qj=function(a,b,c){this.Er();const d=this.C;this.K.Bb().addHandler(this.Ya,this);d.Cd.addHandler(this.Yj,this);d.Cj.addHandler(this.Yj,this);d.Oo.addHandler(this.BJ,this);this.sc=!0;this.Qg=!1;this.LC=c;this.Tc=a;this.Dh=null!=b?b:null;if(this.LC){const e=this;a=function(){KB(e,!0);d.play();e.Yj()};Fi&&!ki?setTimeout(a,150):(Hi&&d.ve(d.src()),a())}else null!=b?d.Yk(b):d.play()};k.pause=function(){this.wh();this.C.pause();LB(this)};
k.stop=function(a){this.wh();this.C.pause();const b=this.Ac instanceof Ng&&this.Ac.ty();a=a||b?0:this.C.duration();this.C.seek(a);LB(this);MB(this)};k.Er=function(){this.K.Bb().removeHandler(this.Ya,this);this.C.Cd.removeHandler(this.Yj,this);this.C.Cj.removeHandler(this.Yj,this);this.C.Oo.removeHandler(this.BJ,this)};
k.Ya=function(){if(this.Tc){var a=this.Tc;const d=this.K.timestamp();var b=d.H()-a.H(),c=0==b;a=c?d.fa()-a.fa():0;c=c&&0==a;0>b||0>a?b=!0:(a=this.Ac.Vf,b=0>a?!c:b>a);b&&(this.wh(),this.C.pause(),LB(this))}};
k.Gv=function(){const a=this.C.state();if("ended"==a){++this.gw;let c=!1;const d=this.Ac.Bh;if("number"!==typeof d){var b=this.Tc;const e=this.K.timestamp();b=b.H()!=e.H()||b.fa()!=e.fa();switch(d){case "untilNextClick":c=!b;break;case "untilNextSlide":c=!0}}else c=this.gw<d;c?(this.Pu=!0,this.C.seek(0),this.C.play()):(this.wh(),MB(this),LB(this))}else"playing"!=a||"playing"==this.jI||this.Pu||(this.FK(),void 0===this.Eh&&this.Hv());"buffering"!=a&&"paused"!=a&&(this.jI=a)};
k.Yj=function(){this.Cd.D(this);this.$b()||(this.playing()&&this.Qg?this.C.pause():KB(this,!1))};k.FK=function(){this.Pu?this.Pu=!1:this.gw=0};k.jO=function(){this.Qg&&(this.Qg=!1,this.C.play())};k.iO=function(){this.Qg||(this.Qg=!0,this.$b()||this.C.pause())};
function KB(a,b){if(a.LC){var c=a.C,d=a.L;var e=a.Dh||0;var f=a.Ac.duration();d=d.lj(a.K.timestamp(),!0,!1)-d.lj(a.Tc,!0,!1);d+=e;const h=Math.floor(d/f);e=h;f=d-h*f;a.gw=e;e=f-c.currentTime();c.playing()&&!b&&.01<e&&.5>e?a.Pw(f):c.seek(f)}}k.Pw=function(a){this.fg||this.$b()||(this.fg=!0,Gu(this.K,!0,this),this.C.Nc.addHandler(function c(){.1>a-this.C.currentTime()&&(this.C.Nc.removeHandler(c,this),NB(this))},this))};function NB(a){a.fg&&(a.fg=!1,Gu(a.K,!1,a))}
k.Hv=function(){this.Eh=this.K.timestamp();this.K.Bb().addHandler(this.wG,this);this.K.Ab().addHandler(this.vG,this);if(this.Ac instanceof Ng){const a=this.C;a.show(!0);this.Ac.OE()&&a.Jp(!0);OB(a,!1)}};function MB(a){a.Eh=void 0;a.K.Bb().removeHandler(a.wG,a);a.K.Ab().removeHandler(a.vG,a);a.Pu=!1;a.jI="ended";if(a.Ac instanceof Ng){const b=a.C;a.Ac.ty()&&b.stop();b.Jp(!1);a.Ac.qE()&&b.show(!1)}a.Cd.D(a);NB(a)}
k.vG=function(){var a;if(a=this.sc)a:if(this.K.suspended()){a=this.K.timestamp();if(0<this.Ac.Vf){var b=rf(yf(this.Ac,this.L)).Qa().H()+this.Ac.Vf;if(b!=a.H()){a=!1;break a}}else b=a.H();b=this.L.R(b).Aa();a=a.fa()==b.count()-1}else a=!1;a&&MB(this)};k.wG=function(){const a=this.K.timestamp(),b=yf(this.Ac,this.L);0<this.Ac.Vf?null==sf(b,a)&&MB(this):this.Eh&&this.Eh.H()!=a.H()&&MB(this)};k.wh=function(){this.sc&&(this.sc=!1,this.Er(),this.Cd.D(this),this.yh.D(this));NB(this)};
k.BJ=function(){this.wh();LB(this)};k.rj=function(){return this.yh};function LB(a){a.Ga||a.C.deactivate()};function PB(a,b,c,d){IB.call(this,a,b,c,d);this.Pc=c}v(PB,IB);PB.prototype.Ya=function(){this.Pc.Nn||PB.Ua.Ya.call(this)};function Xo(a,b,c,d){var e=a.K.timestamp();c=null!=c?c:null;d=d||!1;var f=Yo(a,b);QB(a,b,f,d&&!b.Nn);f.qj(e,c,d)}function Zo(a){a.An&&(a.An.stop(),a.An=null)}function am(a,b,c){RB(a,b)&&(b=bm(a,b),b.stop(c),a.qh==b&&(a.qh=null))}function lB(a,b){a.rn?a.rn.mF(b):(a.rn=new yB(b,a.bP,a.qc,a.Qj),a.Ga&&a.rn.activate())}function Yo(a,b){const c=ma(b)+"";if(!(c in a.DC)){const d=a.qc.lE(b);a.DC[c]=new PB(a.J.slides(),a.K,b,d)}return a.DC[c]}function RB(a,b){b=ma(b)+"";return a.Zr.hasOwnProperty(b)}
function bm(a,b){const c=ma(b)+"";if(!a.Zr.hasOwnProperty(c)){const d=a.qc.Ph(b);a.Zr[c]=new IB(a.J.slides(),a.K,b,d)}return a.Zr[c]}function SB(a){const b=a.K.timestamp().H();if(!a.YH[b]){var c=a.J.slides().R(b).Wb();for(let d=0;d<c.count();++d){const e=Ff(c,d),f=ma(e)+"",h=a.qc.Ph(e);a.Zr[f]=new IB(a.J.slides(),a.K,e,h)}a.YH[b]=!0}}function TB(a,b){const c=ma(b)+"";if(!(c in a.ZC)){const d=a.qc.lE(b);a.ZC[c]=new HB(a.J.slides(),a.K,b,d)}return a.ZC[c]}
function QB(a,b,c,d){a.Ru&&(a.Ru.stop(),a.Ru=null);b.Nn&&(a.An&&a.An.stop(),a.An=c);d?a.wi.add(c,0<b.Vf?GB:AB):a.wi.remove(c);"untilNextSound"==b.Bh&&(a.Ru=c)}function $l(a,b,c,d,e){a.Qj.PM(b,e)&&(b=bm(a,b),e?(ki&&a.qh&&a.qh.sc&&a.qh.pause(),a.wi.add(b,FB)):a.wi.remove(b),Ma(a.ws,b.Sd()),!a.Ga&&e||b.qj(c,d,e),e?a.qh=b:(c=b.Sd(),a.aI.D(c)))}function UB(a,b){b=a.J.slides().R(b).Db().ub();w(b,c=>{La(a.Ut,c)||(Yo(a,c).activate(),a.Ut.push(c))},a);ii(a.RP,a)}
function ts(a,b,c,d){if(a.Qj.QM()){var e=TB(a,b);QB(a,b,e,!0);e.qj(c,d)}}function VB(a,b){return"accessible"==a.Da?null:a.J.slides().R(b).lq}
class WB{constructor(a,b,c){this.Ga=!1;this.J=a;this.qc=b;this.Qj=c;this.K=null;this.wi=new zB(a);this.Ru=this.qh=this.An=this.rn=null;this.Da="normal";this.DC={};this.Zr={};this.ZC={};this.I=-1;this.wk=Ht(a.slides());this.ws=[];this.aI=new D;this.YH={};this.Ut=[];a=this.qc;b=Cj();b=new XB(b);B(a,b.gq,a.Jv,a);this.bP=b}nF(a,b){this.K=a;this.wi.nF(a,b);a.Bb().addHandler(this.Ya,this)}$h(a){this.Da=a;this.Qj.$h(a)}activate(){this.Ga=!0;this.qh&&JB(this.qh,this.K.timestamp());this.rn&&this.rn.activate();
const a=this.K.timestamp().H();0<=a&&UB(this,a)}Ya(a){a=a.timestamp().H();a!=this.I&&this.Tf(a)}RP(){const a=this.K.timestamp().H(),b=this.J.slides().R(a).Db().ub();w(this.Ut,c=>{La(b,c)||(Yo(this,c).deactivate(),Ma(this.Ut,c))},this)}Tf(a){SB(this);this.Ga&&UB(this,a);const b=(f,h)=>{for(let g=0;g<f.length;++g){const l=f[g],n=this.qc.Ph(l);n&&h(l,n)}};var c=this.I;this.I=a;const d=this.ws,e=Kt(this.wk,c,a);c=Kt(this.wk,a,c);b(e,(f,h)=>{h.Oo.removeHandler(this.CJ,this);Ma(d,h)});b(c,(f,h)=>{h.Oo.addHandler(this.CJ,
this)});this.qc.kO();lB(this,VB(this,a))}CJ(a,b){var c=this.ws;La(c,a)||c.push(a);"play"==b&&this.aI.D(a)}};class YB{constructor(){this.Ha={};this.fG={};this.Qe=1}forEach(a){cc(this.Ha,a,this)}get(a){a=a.id();return this.Ha[a]}set(a,b,c){this.Ha[a.id()]=b;this.fG[a.id()]=c;b.setVolume(this.Qe*c)}$D(a){return a.id()in this.Ha}setVolume(a){if(this.Qe!=a){this.Qe=a;for(const b in this.Ha)this.Ha.hasOwnProperty(b)&&this.Ha[b].setVolume(this.Qe*this.fG[b])}}Zx(){for(const a in this.Ha)this.Ha.hasOwnProperty(a)&&this.Ha[a].pause()}};class XB extends Ej{constructor(a){super(a);this.Ah=null}mF(a){this.Ah!=a&&(a?this.ve(a.Dm()[0].sources()):this.C.ve(ji()),this.Ah=a)}};(function(){if(Kb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(sb()))?a[1]:"0"}return Jb?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(sb()))?a[0].replace(/_/g,"."):"10"):Nb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(sb()))?a[1]:""):Ob||Pb||Qb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(sb()))?a[1].replace(/_/g,"."):""):""})();function ZB(a){return(a=a.exec(sb()))?a[1]:""}(function(){if(Og)return ZB(/Firefox\/([0-9.]+)/);if(Db||Eb||Cb)return Tb;if(Sg){if(zb()||tb("Macintosh")){var a=ZB(/CriOS\/([0-9.]+)/);if(a)return a}return ZB(/Chrome\/([0-9.]+)/)}if(Tg&&!zb())return ZB(/Version\/([0-9.]+)/);if(Pg||Qg){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(sb()))return a[1]+"."+a[2]}else if(Rg)return(a=ZB(/Android\s+([0-9.]+)/))?a:ZB(/Version\/([0-9.]+)/);return""})();function $B(a,b,c,d,e){wt.call(this,b,c,d,e);this.element=a}v($B,wt);$B.prototype.Up=function(){};$B.prototype.JE=function(){this.Up();$B.Ua.JE.call(this)};$B.prototype.Cp=function(){this.Up();$B.Ua.Cp.call(this)};$B.prototype.kt=function(){this.Up();$B.Ua.kt.call(this)};function aC(a,b,c,d,e){"number"===typeof b&&(b=[b]);"number"===typeof c&&(c=[c]);$B.call(this,a,b,c,d,e);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.Rx=bC}v(aC,$B);var cC=1/1024,bC=-1;k=aC.prototype;
k.Up=function(){var a=this.coords[0];Math.abs(a-this.Rx)>=cC&&(I(this.element,a),this.Rx=a)};k.kt=function(){this.Rx=bC;aC.Ua.kt.call(this)};k.Cp=function(){this.Rx=bC;aC.Ua.Cp.call(this)};k.show=function(){this.element.style.display=""};k.nj=function(){this.element.style.display="none"};class dC extends $B{constructor(a,b,c){super(null,[b],[c],200);this.M=a}Up(){this.M.fh(this.coords[0])}};class eC extends L{constructor({Hc:a,V:b,bN:c,SN:d,EM:e,tabIndex:f,v2:h,toggle:g,Vp:l}){super({Hc:a,V:b,bN:c,SN:d,EM:e,tabIndex:f,Lk:"BUTTON",RU:!0,Vp:l});h&&(a=h.top,b=h.right,c=h.bottom,h=h.left,this.gg=new L,Ws(this,this.gg),Vs(this.gg,"position","absolute"),Vs(this.gg,"top",a?`${-a}px`:0),Vs(this.gg,"right",b?`${-b}px`:0),Vs(this.gg,"bottom",c?`${-c}px`:0),Vs(this.gg,"left",h?`${-h}px`:0));(this.eU=g)&&this.Df(!1);this.Wt()}Df(a){this.Ad("pressed",a)}selected(){return!1}Tm(){}pressed(){return"true"==
As(this.M,"pressed")}lc(a){super.lc(a);this.gg&&this.vD(this.gg,0)}};class fC extends L{constructor(a,b){super({V:"bookmark"});this.C=a;this.mq=b;this.xa(!1);a.duration()?this.XH():He(this,a.DI,this.XH,this);Ce(this,this.displayObject(),fm,this.JR,this,!1)}XH(){Vs(this,"left",`${this.mq.time()/this.C.duration()*100}%`);this.xa(!0)}JR(a){a.stopPropagation();this.C.seek(this.mq.time());return Rm(this.displayObject().parentNode)}};function gC(a,b){null!==b&&0>b&&(b=null);null!==a.nk&&a.zb[a.nk].Tm(!1);a.nk=b;null!==b&&a.zb[b].Tm(!0);if(null!==a.nk){var c=a.zb[a.nk];b=c.displayObject().offsetTop;c=b+c.displayObject().offsetHeight;$s(a,b,c)}}function hC(a,b){b=a.Qv.indexOf(b);gC(a,0<=b?b:null)}class iC extends L{constructor({V:a,Vp:b,options:c}){super({V:a,Vp:b});this.Yh("listbox");Vs(this,"position","absolute");this.Qv=c.slice();Object.freeze(this.Qv);this.zb=[];this.nk=null;this.wC=ng(this)}options(){return this.Qv}};class jC extends iC{constructor({V:a,options:b,UM:c}){super({V:a,options:b});for(const d of b){const e=c(d);e.Yh("option");e.Tm(!1);Xs(e,Ys(this,"item"));Ws(this,e);this.zb.push(e);B(this,e.za,()=>{gC(this,this.zb.indexOf(e));this.wC.D()})}}Rg(a,b){super.Rg(a,b);this.zb.forEach(c=>Zs(c))}};const kC=[{value:.75,toString:()=>"0.75x"},{value:1,toString:()=>"1x"},{value:1.25,toString:()=>"1.25x"},{value:1.5,toString:()=>"1.5x"},{value:2,toString:()=>"2x"}];function lC(a){const b=kC.find(c=>("number"===typeof a.nk?a.Qv[a.nk]:null)==c.toString());return b?b.value:null}function mC(a,b){const c=kC.find(d=>d.value==b);hC(a,c?c.toString():null)}
class nC extends jC{constructor(a){super({V:"playback-rate-menu",options:kC.map(c=>c.toString()),UM:c=>{const d=new L({YN:!0});d.lc(c);return d}});const b=new L({Hc:Ys(this,"caption")});b.lc(a.Te("PB_PLAYBACK_RATE_MENU_CAPTION",{},"Rate"));Ws(this,b,0)}};class oC extends jC{constructor(a,b){super({V:"subtitles-list",options:[b.Te("PB_SUBTITLES_OFF",{},"Off"),...a],UM:c=>{const d=new L({YN:!0});d.lc(c);return d}});a=new L({Hc:Ys(this,"caption")});a.lc(b.Te("PB_SUBTITLES_MENU_CAPTION",{},"Subtitles"));Ws(this,a,0)}};function pC(a,b){void 0===b&&(b=a.C.muted()?0:a.C.volume());Vs(a.LG,"height",`${100*(1-b)}%`);return Rm(a.displayObject())}
class qC extends L{constructor(a){super({V:"volume_popup"});this.C=a;this.ys=new L({V:"volume"});Ws(this,this.ys);this.LG=new L({V:"back"});Ws(this.ys,this.LG);pC(this,this.C.volume());B(this,this.C.ZA,()=>pC(this));B(this,this.C.rD,()=>pC(this));Ce(this,this.ys.displayObject(),fm,this.sS,this)}sS(a){Ce(this,document,hm,this.Nv,this);Ce(this,document,gm,this.EJ,this);this.Nv(a);this.C.oj(!1)}Nv(a){this.visible()&&(a=vh(a,this.ys.displayObject()).y,a=Math.min(1,a/this.ys.height()),a=Math.max(0,a),
a=1-a,this.C.setVolume(a),pC(this,a))}EJ(a){Ee(this,document,hm,this.Nv,this);Ee(this,document,gm,this.EJ,this);this.Nv(a)}};function rC(a){const b=new eC({V:"play",toggle:!0});b.hl(!0);B(a,b.za,()=>a.C.playing()?a.C.pause():a.C.play());return b}
function sC(a,b){const c=new L({V:"progress"}),d=new L({V:"loading"});Ws(c,d);const e=new L({V:"playing"});Ws(c,e);const f=new L({V:"tooltip"});f.xa(!1);Ws(c,f);if(b)for(let h=0;h<b.count();++h)Ws(c,new fC(a.C,mf(b,h)));B(a,a.C.oI,()=>{Vs(d,"width",100*a.C.Tx()+"%")});B(a,a.C.Nc,()=>{Vs(e,"width",a.C.currentTime()/a.C.duration()*100+"%")});Ce(a,c,"mouseover",()=>{f.xa(!0)});Ce(a,c,"mouseout",()=>{f.xa(!1)});Ce(a,c,hm,h=>{h=tC(a,h);Vs(f,"left",`${100*h}%`);f.lc(uC(h*a.C.duration()))},a);Ce(a,c,fm,
a.SR,a);return{VW:e,cX:c}}
function vC(a){if(a.Po){const b=new eC({V:"rate",toggle:!0});b.hl(!0);b.lh("subtitle-button-next",wC(a));const c=new nC(a.Ra);c.xa(!1);c.lh("subtitle-button-next",wC(a));mC(c,a.C.playbackRate());B(a,b.za,()=>{if(c.visible()){const d=new aC(c.displayObject(),1,0,150);d.play();De(a,d,"finish",()=>{c.xa(!1);b.Df(!1);Ns(b.displayObject(),"selected")})}else xC(a,{button:b,mt:c,IN:()=>{b.Df(!1);Ns(b.displayObject(),"selected")}}),b.Df(!0),Ms(b.displayObject(),"selected")});B(a,c.wC,()=>{a.C.Zh(lC(c));c.xa(!1)});
return{PN:b,QN:c}}return{PN:null,QN:null}}function yC(a){const b=new eC({V:"mute",toggle:!0});b.hl(!0);const c=new qC(a.C);c.xa(!1);B(a,b.za,()=>{const d=!a.C.muted();a.C.oj(d);b.Df(d);d?Ms(b.displayObject(),"selected"):Ns(b.displayObject(),"selected")});B(a,a.C.ZA,()=>{const d=a.C.muted();b.Df(d);d?Ms(b.displayObject(),"selected"):Ns(b.displayObject(),"selected")});Ce(a,b.displayObject(),"mouseover",()=>{c.visible()||xC(a,{button:b,mt:c})});return{zW:b,aY:c}}
function zC(a){const b=new eC({V:"toggle_fullscreen",toggle:!0});b.hl(!0);B(a,b.za,()=>a.NL.D());return b}function tC(a,b){var c=a.CS.displayObject(),d=a.dC.width()-2;a=vh(b,c).x/a.jC*a.ya;d=Math.min(1,a/d);return d=Math.max(0,d)}function uC(a){function b(e){e=e.toString();1==e.length&&(e="0"+e);return e}a=Math.round(a);const c=Math.floor(a/3600);a%=3600;const d=Math.floor(a/60);a%=60;return b(c)+":"+b(d)+":"+b(a)}function wC(a){return!!a.Sc&&!!AC(a.Sc).length}
function xC(a,{button:b,mt:c,IN:d}){c.xa(!0);let e=new aC(c.displayObject(),0,1,150);e.play();let f=!1;Ce(a,document,hm,h=>{h=BC({button:b,mt:c,HV:h});if(h==f){const g=parseFloat(oh(c.displayObject(),"opacity"));e.stop();h?(f=!1,e=new aC(c.displayObject(),g,1,150),e.play()):(f=!0,e=new aC(c.displayObject(),g,0,150),e.play(),De(a,e,"finish",()=>{c.xa(!1);d&&d()}))}})}
function CC(a){const b=new eC({V:"subtitles",toggle:!0});b.hl(!0);B(a,b.za,()=>{a.$f&&a.Pe&&!a.$f.visible()&&(xC(a,{button:a.Pe,mt:a.$f,IN:()=>{a.Pe&&(a.Pe.Df(!1),Ns(a.Pe.displayObject(),"selected"))}}),a.Pe.Df(!0),Ms(a.Pe.displayObject(),"selected"))});a.Pe=b;a.Ma(b)}function DC(a,b){b=new oC(b,a.Ra);b.xa(!1);B(a,b.wC,()=>{if(a.Sc&&a.$f){var c=(c=a.$f.nk)?c-1:null;"number"===typeof c?a.Sc.select(c):a.Sc.show(!1);a.$f.xa(!1)}});a.$f=b;a.Ma(b)}
function BC({button:a,mt:b,HV:c}){const d=vh(c,b.displayObject());if(0>d.x||d.x>b.width()||0>d.y)return!1;b=vh(c,a.displayObject());return 0>=b.y||0<=b.x&&b.x<=a.width()&&b.y<=a.height()}
class EC extends L{constructor({Sd:a,OX:b,xb:c,kg:d,Lt:e}){super({V:"controls",KV:!0});this.C=a;this.Sc=b;this.Ra=c;this.Po=e;this.fw=rC(this);Ws(this,this.fw);const {VW:f,cX:h}=sC(this,d);this.CS=f;this.dC=h;Ws(this,this.dC);const {PN:g,QN:l}=vC(this);(this.iw=g)&&Ws(this,this.iw);(this.jw=l)&&Ws(this,this.jw);this.$f=this.Pe=null;this.Sc&&(this.cM(),B(this,this.Sc.sG,this.cM,this),B(this,this.Sc.tG,this.dM,this));const {zW:n,aY:m}=yC(this);this.dR=n;Ws(this,this.dR);this.CU=m;Ws(this,this.CU);this.gQ=
zC(this);Ws(this,this.gQ);this.NL=new D;this.tI=new D;this.Rj=this.qo=!1;this.jC=this.ya=1;B(this,this.C.Ab(),this.Zl,this);B(this,this.C.Ii,this.NR,this);di(this.displayObject(),"left bottom")}locked(){return this.Rj}cM(){this.$f&&(this.removeChild(this.$f),this.$f=null);wC(this)&&(this.Pe||CC(this),DC(this,AC(this.Sc)));this.dM()}dM(){var a=wC(this);this.Pe&&this.Pe.xa(a);if(this.$f){const b=this.Sc;a=a&&b.isVisible()?b.nm:null;gC(this.$f,null==a?0:a+1)}}SR(a){this.Rj=!0;Ce(this,document,hm,this.Iv,
this);Ce(this,document,gm,this.mJ,this);this.C.playing()&&(this.C.pause(),this.qo=!0);this.Iv(a);a.preventDefault()}Iv(a){this.C.seek(tC(this,a)*this.C.duration())}mJ(a){Ee(this,document,hm,this.Iv,this);Ee(this,document,gm,this.mJ,this);this.Iv(a);this.qo&&(this.C.play(),this.qo=!1);this.Rj=!1;this.tI.D()}Zl(){const a=this.C.playing();this.fw.Df(a);a?Ms(this.fw.displayObject(),"selected"):Ns(this.fw.displayObject(),"selected")}NR(){this.jw&&mC(this.jw,this.C.playbackRate())}};const FC=Og?{snapToLines:!1,line:83,lineAlign:"end"}:{snapToLines:!0,line:-4,lineAlign:"end"},GC=(a,b)=>{b?a.mode="showing":"showing"===a.mode&&(a.mode="hidden")},HC=a=>{for(let b=0;b<a.length;++b)if("showing"===a[b].mode)return b;return null},IC=(a,b)=>{a.snapToLines=b.snapToLines;a.line=b.line;a.lineAlign=b.lineAlign},JC=a=>{if(a&&a.cues){const b=[];for(let c=0;c<a.cues.length;++c){const d=a.cues[c];if("auto"===d.line){const e={};IC(e,d);b.push({cue:d,eX:e});IC(d,FC)}}return b}return[]};
function AC(a){const b=[];for(let c=0;c<a.uf.length;++c)b.push(a.uf[c].label||a.uf[c].language);return b}function KC(a){if(a.Dk){for(const b of a.Dk)IC(b.cue,b.eX);a.Dk=null}}function LC(a){return null!==a.nm&&a.nm<a.uf.length?a.uf[a.nm]:null}
class MC{constructor(a){this.uf=a;this.nm=HC(a);this.Dk=null;this.tG=new Os;this.sG=new Os;this.uf.onchange=()=>{this.select(HC(this.uf));this.tG.D(this)};a=()=>{this.select(HC(this.uf));this.sG.D(this)};this.uf.onaddtrack=a;this.uf.onremovetrack=a}select(a){this.nm=null!==a&&a<this.uf.length?a:null;for(a=0;a<this.uf.length;++a)GC(this.uf[a],a===this.nm);this.Dk&&(KC(this),this.Dk||(this.Dk=JC(LC(this))))}show(a){const b=LC(this);a&&!b?this.select(0):b&&GC(b,a)}isVisible(){const a=LC(this);return!!a&&
"showing"===a.mode}};class NC extends tj{constructor(a){super(a);oi&&uj.addHandler(this.LR,this)}videoWidth(){return mj(this)?this.mediaElement().videoWidth:0}videoHeight(){return mj(this)?this.mediaElement().videoHeight:0}LR(a){this.playing()&&a instanceof Dj&&this.play()}};function OC(a){a=vd(Gc(a));Pi&&a.setAttribute("playsinline","");!ki&&Ei&&a.setAttribute("preload","metadata");Vi&&a.setAttribute("webkit-playsinline","");if(Og&&1<a.children.length){const b=Hd(a,c=>c&&"SOURCE"==c.nodeName&&"video/mp4"==c.getAttribute("type"));b&&a.appendChild(b)}return new NC(a)}
function PC(a){if(!ki){const b=a.mediaElement().getAttribute("poster");a.mediaElement().removeAttribute("poster");if(b)return a=new L({V:"poster"}),Vs(a,"background",`url(${b})`),Vs(a,"background-size","100% 100%"),a}return null}function QC(a){if(!ki)if(a=a.mediaElement(),Si)RC(a);else if(!Ri&&la(a.textTracks)&&void 0!==a.textTracks.length)return new MC(a.textTracks);return null}
function RC(a){const b=c=>c&&"TRACK"===c.nodeName&&c.hasAttribute("kind")?(c=c.getAttribute("kind"),!!c&&("captions"===c||"subtitles"===c)):!1;Hd(a,c=>c&&b(c)&&c.hasAttribute("default"))||(a=Hd(a,b))&&a.setAttribute("default","")};function Cp(a,b){a.oo=b;wd(b,a.na.displayObject());ki&&SC(a,a.C.mediaElement().width,a.C.mediaElement().height);ki&&(bj?void 0!==window.TouchEvent&&window.event instanceof window.TouchEvent||window.event instanceof MouseEvent:1)&&(a.C.play(),a.C.pause());Ri&&(a.na.resize(a.na.width()+1),ii(()=>a.na.resize(a.na.width()-1)))}
function Gp(a){a.oo=null;if(zd(a.na.displayObject())&&ki){const b=a.C,c=OC(a.wU);$i?(a.na.removeChild(b.mediaElement()),a.na.Ma(c.mediaElement())):a.na=new L({Za:c.mediaElement()});wj(a,c);b.Re()}}function Rt(a,b){a.Mf&&(b?a.Wu||(a.Wu=setInterval(()=>TC(a),100)):(clearInterval(a.Wu),a.Wu=void 0,a.Jp(!1)))}
function OB(a,b){if(a.Dc){const c=ui()?"poster_frame_hide_video":"poster_frame";b?Ms(a.na.displayObject(),c):Ns(a.na.displayObject(),c);a.Dc.fh(b?1:0);!b&&a.kw&&(UC(a,a.kw),a.kw=void 0);Db&&!ki&&Dh(a.C.mediaElement(),!b)}}
function VC(a,b){const c=new EC({Sd:a.C,OX:a.Sc,xb:a.Ra,kg:b,Lt:a.Po});c.resize(a.C.mediaElement().width);c.fh(0);c.NL.addHandler(()=>{a.Jp(!a.th);return Rm(c.displayObject())},a);c.tI.addHandler(()=>{a.WA||WC(a,!1)},a);je(a.na.displayObject(),"mouseenter",()=>{a.WA=!0;WC(a,!0)},!1,a);je(a.na.displayObject(),"mouseleave",()=>{a.WA=!1;c.locked()||WC(a,!1)},!1,a);return c}function UC(a,b){a.Dc&&Vs(a.Dc,"background-image",`url(${b})`)}
function XC(a,b,c){a.Dc||(a.Dc=new L({V:"poster"}),Vs(a.Dc,"background-size","contain"),Vs(a.Dc,"background-position","center"),Vs(a.Dc,"background-repeat","no-repeat"),Vs(a.Dc,"position","absolute"),Vs(a.Dc,"top","0"),ki?a.na.displayObject().parentNode.appendChild(a.Dc.displayObject()):a.na.Ma(a.Dc),a.Dc.resize(a.na.width(),a.na.height()));!c&&ki&&a.Dc.opacity()?a.kw=b:UC(a,b)}
function TC(a){var b=a.na.displayObject().parentNode;if(b&&"none"!=b.style.display){var c=Ah(a.na.displayObject());a.Mf.resize(c.width);b=(b=Nm(b))?b.Cb:1;b=Si||a.th?b*a.bC:b;a=a.Mf;b&&(a.jC=b,b=a.width())&&(a.ya=Math.max(a.jC,240/b),c=Math.round(11/a.ya),Vs(a,"left",`${c}px`),Vs(a,"bottom",`${c}px`),b=Math.round(b*a.ya)-22,Qm(a.displayObject(),1/a.ya),c=b-173,a.Pe&&a.Pe.visible()&&(c-=a.Pe.width()),a.iw&&(c-=a.iw.width()),a.dC.resize(c),a.hh(b))}}
function SC(a,b,c){const d=Si||a.th?1:a.bC,e=new Dl;e.scale(1/d,1/d);Jm(a.na.displayObject(),e);a.na.resize(b*d,c*d)}function WC(a,b){var c=b?1:0;(new dC(a.Mf,a.Mf.opacity(),c)).play();a.Sc&&(b?(a=a.Sc,a.Dk||(a.Dk=JC(LC(a)))):KC(a.Sc))}
class YC extends yj{constructor(a,b,c,d=null){const e=OC(a);super(e);this.wU=a;this.Ra=new Bs(d||{});this.Dc=PC(e);this.Sc=QC(e);this.Mf=null;this.kw=void 0;this.WA=this.th=!1;this.bC=1;this.Zw=!1;this.Wu=void 0;this.oo=null;this.Po=b;ki?$i?(this.na=new L({V:"video_player"}),Xs(this.na,"iphone"),this.na.Ma(this.C.mediaElement()),this.na.resize(this.C.mediaElement().width,this.C.mediaElement().height),c=this.C.mediaElement().getAttribute("poster"),this.C.mediaElement().removeAttribute("poster"),c&&
(Vs(this.na,"background","url("+c+")"),Vs(this.na,"background-size","100% 100%")),this.mj(this.xf())):this.na=new L({Za:this.C.mediaElement()}):(a=this.xf(),super.mj(!1),this.na=new L({V:"video_player"}),this.Mf=VC(this,c),this.Dc&&this.na.Ma(this.Dc),this.na.Ma(this.C.mediaElement()),this.na.Ma(this.Mf),this.na.resize(this.C.mediaElement().width,this.C.mediaElement().height),this.mj(a),je(this.C.mediaElement(),"loadeddata",this.Xu,!1,this));OB(this,!0);Oi&&this.C.Ab().addHandler(f=>{"playing"==f.state()&&
this.oo&&(f=this.oo.style.opacity,this.oo.style.opacity="0.99",this.oo.style.opacity=f)},this)}mj(a){this.Mf?this.Mf.xa(a):$i?a?Ns(this.na.displayObject(),"without_controls"):Ms(this.na.displayObject(),"without_controls"):this.C.mj(a);a?this.Zw||(Hi?Ce(this,this.na,"click",this.Mv,this):B(this,this.na.za,this.Mv,this),Ce(this,this.na,"click",this.yL,this),this.Zw=!0):this.Zw&&(Hi?Ee(this,this.na,"click",this.Mv,this):Ge(this,this.na.za,this.Mv,this),Ee(this,this.na,"click",this.yL,this),this.Zw=!1)}xf(){return this.Mf?
this.Mf.visible():super.xf()}KD(){this.C&&this.C.KD()}bF(){this.C&&this.C.bF()}setScale(a){this.bC=a;SC(this,this.C.mediaElement().width,this.C.mediaElement().height)}videoWidth(){return this.C.videoWidth()}videoHeight(){return this.C.videoHeight()}resize(a,b){this.na&&(SC(this,a,b),this.Mf&&TC(this));const c=this.C.mediaElement();c.width=a;c.height=b;this.Xu();this.Dc&&this.Dc.resize(this.na.width(),this.na.height())}ve(a){a=super.ve(a);this.Xu();return a}Xu(){if(Db||Eb){var a=this.C.mediaElement();
Vs(this.na,"background","#000000");G(a,"width","");G(a,"height","");this.th||(a.videoWidth/a.videoHeight<a.width/a.height?G(a,"width","auto"):G(a,"height","auto"))}}width(){const a=this.C.mediaElement();return parseInt(a.width,10)}height(){const a=this.C.mediaElement();return parseInt(a.height,10)}Mv(){this.xf()&&(this.C.playing()?this.C.pause():this.C.play())}yL(a){a.stopPropagation()}show(a){this.na.displayObject().style.display=a?"":"none"}Jp(a){if(!$i&&this.th!=a&&this.na.displayObject().parentNode){this.th=
a;let b=this.na.displayObject().parentNode;for(;b&&!Gm(b,"slide");)a=b,this.th?Hm(a,"fullscreen"):Im(a,"fullscreen"),b=b.parentNode;this.Xu();SC(this,this.C.mediaElement().width,this.C.mediaElement().height)}}Zl(a,b){super.Zl(a,b);this.playing&&this.Sc&&this.Sc.select(this.Sc.nm)}};function fu(a,b){a.ya=b;a.zm.forEach(c=>{c.setScale(b)})}function ZC(a){const b=a.tv?0:a.Qe;b!=a.hC&&(a.hC=b,a.BK.D(),a.Ko.setVolume(b),a.zm.setVolume(b))}
class $C extends og{constructor(a){super();this.rc=a;this.Ko=new YB;this.zm=new YB;this.Qe=1;this.tv=!1;this.hC=1;this.qM=ng(this);this.BK=ng(this);this.II=ng(this);this.UJ=ng(this);this.rL=ng(this);this.zU=ng(this);this.ya=1;this.Ra=null;B(this,this.rc.Ii,this.kO,this)}lE(a){var b=a.ff;a=a.volume();a=void 0!==a?a:1;if(this.Ko.$D(b))var c=this.Ko.get(b);else c=null,b.Kk()?c=nd(document,b.Kk()):b.Af()&&(c=vd(Gc(b.Af()))),c=new Ej(c),c.Zh(this.rc.playbackRate()),B(this,c.gq,this.Jv,this),this.Ko.set(b,
c,a);return c}Ph(a){var b=a.ff,c=a.volume();a=a.kg();c=void 0!==c?c:1;this.zm.$D(b)?a=this.zm.get(b):(a=new YC(b.Af(),this.rc.Lt(),a,this.Ra),B(this,a.gq,this.jS,this),a.setScale(this.ya),a.Zh(this.rc.playbackRate()),this.zm.set(b,a,c));return a}kO(){const a=this.rc.playbackRate();this.Ko.forEach(b=>b.Zh(a));this.zm.forEach(b=>b.Zh(a))}volume(){return this.Qe}setVolume(a){if(0>a||1<a)throw Error("Sound volume is out of range");this.Qe!=a&&(this.Qe=a,ZC(this),this.qM.D())}oj(a){this.tv!=a&&(this.tv=
a,this.II.D(),ZC(this))}muted(){return this.tv}pt(){return this.hC}Zx(){this.Ko.Zx();this.zm.Zx();this.UJ.D()}zO(){return this.qM}qt(){return this.BK}AW(){return this.II}Jv(a,b){this.rL.D(a,b)}jS(a,b){this.zU.D(a,b)}iF(a){this.Ra=a}}$C.prototype.muteStateToggledEvent=$C.prototype.AW;$C.prototype.realVolumeChangedEvent=$C.prototype.qt;$C.prototype.volumeChangedEvent=$C.prototype.zO;$C.prototype.realVolume=$C.prototype.pt;$C.prototype.muted=$C.prototype.muted;$C.prototype.mute=$C.prototype.oj;
$C.prototype.setVolume=$C.prototype.setVolume;$C.prototype.volume=$C.prototype.volume;function aD(a){this.J=a;this.dH=new D}aD.prototype.wt=function(a){a.qg().addHandler(this.Tf,this)};aD.prototype.Tf=function(a){a=this.J.slides().R(a).Im();for(let c=0;c<a.count();++c){var b=a.kE(c);this.dH.D(b)}};aD.prototype.ZD=function(){return this.dH};function bD(a){this.rH=a;this.Ed=15E3}k=bD.prototype;k.Iu=null;k.LL=0;k.Tw=!1;k.jp=function(a){this.Iu=Qa(arguments);this.Tw||(this.Tw=!0,this.LL=setTimeout(this.fS.bind(this),this.Ed))};k.fS=function(){this.Tw=!1;this.rH.apply(null,this.Iu);this.Iu=null};k.IV=function(a){this.cancel();this.rH.apply(null,arguments)};k.cancel=function(){clearTimeout(this.LL);this.Tw=!1;this.Iu=null};function cD(a){const b=new dD;b.Nl=a.lastViewedSlide;b.Tg=a.viewDuration;b.tk=a.slideStates;const c=a.zoomState;c&&(b.Jh=new kq({mg:c.indexes,St:c.zoomStates||[]}));if(a=a.slideTimelineStates)b.Qi=ec(a,d=>new Fj(d.S,d.s,d.t)),b.ps=!0;return b}function js(a,b){return b in a.Qi?a.Qi[b]:null}function vs(a,b){a.Tg!=b&&(a.Tg=b,a.Zf=!0,a.cI.jp())}function ds(a,b){a.Nl!=b&&(a.Nl=b,a.Zf=!0)}
class dD{constructor(){this.Nl=null;this.Tg=0;this.Jh=null;this.tk={};this.Qi={};this.Zf=!1;this.cI=new bD(this.wQ.bind(this));this.zk=new D;this.ps=!1}wE(){return this.Nl}op(a){return a in this.tk?this.tk[a]:null}fF(){const a={};a.lastViewedSlide=this.Nl;a.viewDuration=this.Tg;a.slideStates=nc(this.tk);this.Jh&&(a.zoomState=this.Jh.persistState());this.ps&&(a.slideTimelineStates=ec(this.Qi,b=>b.fF()));return a}MD(a){this.Nl=a.Nl;this.Tg=a.Tg;this.tk=nc(a.tk);this.ps=a.ps;this.Jh=a.Jh?a.Jh.MD():null;
this.Qi=ec(a.Qi,b=>b.clone());this.Zf=!0}invalidate(){this.cI.IV()}wQ(){this.Zf&&(this.Zf=!1,this.zk.D())}stateChangedEvent(){return this.zk}};function Ip(a,b,c){a.sc()&&a.xu(a.AT,b,c)&&(b=a.J.settings().fn().Cy(),c="quiz"==a.B.W().type(),b&&!c?b.open():a.B.W().Bs()&&!Ti&&Nt(a))}function Nt(a){const b=a.Li,c=b.U(),d=a.J.settings().Ob().Sh(),e=b.QE()&&0>b.Rd();c.started()||e?!d&&e?us(a.ma.wi):"bySlides"==a.J.settings().navigation().Th().Vj?b.Xc():b.Uk():b.play()}
class eD{constructor(a,b){this.J=a;this.ma=b;this.Li=this.B=null;this.AT=new D;this.CT=new D;this.DT=new D;this.BT=new D}sc(){return!!this.B&&0<=this.B.qa()}xu(a,b){const c=new dn,d=Ta(Qa(arguments),1);a.D(...d.concat(c));return!c.actionPrevented()}};var fD=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function gD(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)gD(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))}function hD(a){var b=[],c;for(c in a)gD(c,a[c],b);return b.join("&")};var mD=!1;function FD(a){const b=A("SCRIPT");je(b,"load",()=>{mD=!0;GD(a)&&a.Ya(a.K)});const c=window.location.toString().match(fD)[1]||null;b.src="https"==c?"https://players.youku.com/jsapi":"http://player.youku.com/jsapi";document.body.appendChild(b)};function HD(a,b){this.pb=a;this.mM=b}k=HD.prototype;k.pb="";k.mM="";k.pa=0;k.ka=0;k.tf=0;k.Pg=1;k.width=function(){return this.pa};k.hh=function(a){this.pa=a};k.height=function(){return this.ka};k.uj=function(a){this.ka=a};k.id=function(){return this.pb};k.$e=function(){return this.mM};k.va=function(){return this.tf*this.Pg};k.gh=function(a){this.Pg=a};function ID(a,b,c){HD.call(this,a,b);this.AG=c}v(ID,HD);ID.prototype.AG="";ID.prototype.clientId=function(){return this.AG};function JD(a,b){this.C=null;this.ti=!1;this.Sa=a;this.zh=b;this.lk=new D;this.ib=A("DIV");this.ib.style.position="absolute";a.displayObject().appendChild(this.ib);Dh(this.ib,this.Wd);this.ie(a)}k=JD.prototype;k.ti=!1;k.Wd=!1;k.KE=function(){this.ti=!0;this.ue(this.Sa);this.Rr(this.Wd);this.lk.D(this)};k.JW=function(){};k.IW=function(){};k.Ne=function(){return this.ti&&null!=this.C};k.stop=function(){if(this.Ne())try{this.C.pauseVideo()}catch(a){}};k.visible=function(){return this.Wd};
k.ue=function(a){this.ie(a);if(this.Ne()){const c=this.Ba;var b=a.scale();a=b*this.zh.width();b*=this.zh.height();xh(c,a,b)}};k.ie=function(a){a=a.position(this.zh.id(),1);qh(this.ib,a.x,a.y)};k.By=function(a){this.Wd!=a&&(this.Wd=a,this.Rr(a))};
k.Rr=function(a){if(a){if(!this.C){var b=this.ib,c=this.Sa.scale();const e=this.zh,f={styleid:"0",client_id:e.clientId(),vid:e.$e(),autoplay:!1,show_related:!1,events:{onPlayerReady:this.KE.bind(this),onPlayStart:this.JW.bind(this),onPlayEnd:this.IW.bind(this)}},h="_"+e.id(),g=A("DIV");g.setAttribute("id",h);var d=c*e.width();c*=e.height();xh(g,d,c);G(g,"background","#494949");d=A("DIV");G(d,"position","absolute");G(d,"top","50%");G(d,"left","50%");G(d,"transform","translate(-50%, -50%)");g.appendChild(d);
c=A("DIV");Hm(c,"preloader");G(c,"position","relative");d.appendChild(c);c=A("DIV");Fd(c,"\u8bf7\u7a0d\u540e");G(c,"position","relative");G(c,"font-family",'Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "\u5fae\u8f6f\u96c5\u9ed1", \u5b8b\u4f53, SimSun, STXihei, "\u534e\u6587\u7ec6\u9ed1", sans-serif');G(c,"font-weight","lighter");G(c,"font-size","32px");G(c,"color","white");G(c,"text-align","center");G(c,"margin-top","12px");d.appendChild(c);b.appendChild(g);this.Ba=g;this.C=
new YKU.Player(h,f);this.ue(this.Sa)}}else xd(this.ib),this.C=null,this.ti=!1;Dh(this.ib,a)};k.readyEvent=function(){return this.lk};var KD,LD=!1;r("onYouTubePlayerAPIReady",function(){LD=!0;var a=KD;GD(a)&&a.Ya(a.K);KD=null});function MD(a,b){HD.call(this,a,b)}v(MD,HD);function ND(a,b){this.C=null;this.ti=!1;this.Sa=a;this.zh=b;this.lk=new D;this.ib=A("DIV");this.ib.style.position="absolute";a.displayObject().appendChild(this.ib);Dh(this.ib,this.Wd);this.ie(a)}k=ND.prototype;k.ti=!1;k.Wd=!1;k.KE=function(){this.ti=!0;this.ue(this.Sa);this.Rr(this.Wd);this.lk.D(this)};k.LW=function(){};k.MW=function(){};k.KW=function(){};k.Ne=function(){return this.ti&&null!=this.C};k.Ba=function(){return this.Ne()?this.C.getIframe():null};k.stop=function(){if(this.Ne())try{this.C.stopVideo()}catch(a){}};
k.visible=function(){return this.Wd};k.ue=function(a){this.ie(a);const b=this.Ba();if(b){var c=a.scale();a=c*this.zh.width();c*=this.zh.height();xh(b,a,c)}};k.ie=function(a){const b=this.zh.id();a=a.position(b,1);qh(this.ib,a.x,a.y)};k.By=function(a){this.Wd!=a&&(this.Wd=a,this.Rr(a))};
k.Rr=function(a){if(a){if(!this.C){var b=this.ib,c=this.Sa.scale(),d=this.zh;c={width:c*d.width(),height:c*d.height(),videoId:d.$e(),playerVars:{controls:1,loop:0,enablejsapi:1,autohide:2,autoplay:0,showinfo:1,rel:0},events:{onReady:this.KE.bind(this),onPlaybackQualityChange:this.LW.bind(this),onStateChange:this.MW.bind(this),onError:this.KW.bind(this)}};d="_"+d.id();const e=A("DIV");e.setAttribute("id",d);b.appendChild(e);this.C=new YT.Player(d,c);this.ue(this.Sa)}}else xd(this.ib),this.C=null,this.ti=
!1;Dh(this.ib,a)};k.readyEvent=function(){return this.lk};function OD(a,b,c){this.Ha={};this.Sa=a;this.L=c;this.K=b;a.$g().addHandler(this.mr,this);b.Bb().addHandler(this.Ya,this)}k=OD.prototype;k.I=-1;k.vM=!1;k.uM=!1;function PD(a,b,c){let d=0;if(0>b||b>=a.L.count())return d;a=a.L.R(b);if(a instanceof Wl)for(a=a.xq,b=0;b<a.count();b++){const e=a.get(b);e&&e instanceof c&&(d+=1)}return d}
k.Ya=function(a){a=a.timestamp();const b=a.H();if(0<PD(this,b,MD)){if(!this.vM){KD=this;const c=A("SCRIPT"),d=window.location.toString().match(fD)[1]||null;c.src="https"==d?"https://www.youtube.com/player_api":"http://www.youtube.com/player_api";document.body.appendChild(c)}this.vM=!0}0<PD(this,b,ID)&&(this.uM||FD(this),this.uM=!0);GD(this)?(this.I!=a.H()&&QD(this,this.I,-1),this.I=a.H(),-1!=a.fa()&&(a=this.EC(a),QD(this,this.I,a))):this.I=b};
k.EC=function(a){const b=a.fa(),c=a.H();return this.L.R(c).Aa().ob(b).startTime()+a.va()};function GD(a){if(-1==a.I)return!1;let b=!0;0<PD(a,a.I,MD)&&(b&=LD);0<PD(a,a.I,ID)&&(b&=mD);return!!b}k.mr=function(){if(GD(this)){var a=this;RD(this,this.I,function(b){b.ue(a.Sa)})}};k.Gw=function(a){return 0<=a&&a<this.L.count()};k.AC=function(a){this.Gw(a)&&this.L.R(a).Aa().duration()};
function QD(a,b,c){a.AC(b);RD(a,b,function(d){const e=d.zh.va()<=c;e?d.visible()||d.ue(a.Sa):d.visible()&&d.stop();d.By(e)})}function RD(a,b,c){if(!(0>b||b>=a.L.count())&&(b=a.L.R(b),b instanceof Wl)){b=b.xq;for(let f=0;f<b.count();++f){var d=b.get(f);if(d){{var e=a;const h=d.id();if(null==e.Ha[h])if(d instanceof MD)e.Ha[h]=new ND(e.Sa,d);else if(d instanceof ID)e.Ha[h]=new JD(e.Sa,d);else throw Error("unknown external video type");e=e.Ha[h]}c(e)}}}};function SD(a,b,c){this.Gn=a;this.Jb=b;this.Sa=c}var TD;k=SD.prototype;k.Uc=!1;k.jH=!1;k.Hn=null;k.Gu=null;k.show=function(){if(!this.Uc)if(this.Uc=!0,this.jH){var a=this.Gn.url(),b=rc();b&&b.createScriptURL(a);this.Hn={};UD(this);this.Hn.n2(this.Sa.displayObject());VD(this);this.Sa.$g().addHandler(this.gJ,this)}else if(b=WD(this)){a=this.Gn.width();const d=this.Gn.height();var c=XD();Hm(b,c);c=A("div");b.appendChild(c);xh(b,a,d);xh(c,a,d);b=d/YD.height;(1>a/YD.width||1>b)&&G(c,"backgroundSize","contain")}};
k.nj=function(){if(this.Uc)if(this.Uc=!1,this.jH){this.Sa.$g().removeHandler(this.gJ,this);var a;null==(a=this.Hn)||a.Re();this.Hn=null}else{const b=WD(this);b&&(a=XD(),Im(b,a),xd(b))}};function VD(a){const b=a.Sa.scale(),c=a.Gn;a.Hn.setSize(c.width()*b,c.height()*b)}function UD(a){var b=document.getElementById(a.Gn.containerId());const c=a.Sa.scale(),d=Nm(b);if(d){var e=d.ic;b=d.jc}else e=parseFloat(oh(b,"left")),b=parseFloat(oh(b,"top"));a=nd(a.Hn.me);qh(a,e*c,b*c)}k.gJ=function(){UD(this);VD(this)};
function WD(a){if(a.Gu)return a.Gu;a.Gu=nd(document,a.Gn.containerId());return a.Gu}var YD=new Yc(74,89);
function XD(){if(void 0!==TD)return TD;const a="_sf"+hd();TD=a;Cm("."+a+" {background: #A42222;}."+a+" div {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABZCAYAAACZkrJEAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAAFA0lEQVR4Xu3c21MTVxwHcP/B+iwyPimoT46WPulY6INDR3mwdhTojJeOgC1MMZHhoha85EJIMCg1CTXQJEsokJCEJJgbyc/fiW5nJ2NjCL/dPecYZ74zIYa9fPZ7zh4Y3SNHWn9aA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ihJ/ECNHtsXHwfa5Bie4lAad0Sxu1zcbKNHMQYTqJTHR3VOH/shcDYKA6xDd1wVPgM7qOR4+PiM8UMtsWkvOjtFQlqF6GMT/jlC3GQqv/9C5GMTvzdilhIZkE9aGsTECqNjTIwjy9dEg+p2qh0CqGMifPnG2IiGQm1eOeOuEhGQTluCNwkdRFX2E2CXklHFZi5eFHsJukNFV/xw/CxY3IgMaw8Noo67tu36wKN4rNRnPjkQzUz+NCa3/E9FvUCPsDXLFz8+PIRKoFQNIlhi0ZPnWr45BTNU54dCBfRfO0ZHgE7vscPVAqRDplYwA/TTcxFWhiGwnBUmElsmU0WqLXnz5oCUjFqG8Te/7OvD9yfwJbxIYAcNWoHG9V41j0LMHvlCskJ1DaKofw99wxUoDBPD2CvhxQL+GDt+RzYf7oOlnPnSHC0DdFCqcPsKT7MhoV9jiuosZMngWW0JtxUvnUgLQGpBD4AN9FCi/luT4wAAAAASUVORK5CYII=) no-repeat;background-position: center;}");return a}
;function ZD(a,b,c,d){this.Jb=a;this.Sa=b;this.K=c;this.L=d;this.gA=[];c.Bb().addHandler(this.Ya,this)}ZD.prototype.I=-1;ZD.prototype.Ya=function(){var a=this.K.timestamp(),b=a.H();if(b!=this.I){if(0<=this.I){var c=this.L.R(this.I);c instanceof Wl&&$D(this,c,-1)}this.I=b}if(0<=b&&(c=this.L.R(b),c instanceof Wl)){b=c;const d=a.fa();a=0>d?-1:b.Aa().ob(d).startTime()+a.va();$D(this,c,a)}};
function $D(a,b,c){b=b.Xz;for(let h=0;h<b.count();++h){var d=b,e=h;if(0>e||e>=d.count())throw Error("index is out of range");d=d.zq[e];e=a;var f=d;const g=ma(f)+"";g in e.gA||(e.gA[g]=new SD(f,e.Jb,e.Sa));e=e.gA[g];c>=d.va()?e.show():e.nj()}};function aE(a){Lh&&a.eH.addHandler(this.yR,this)}aE.prototype.yR=function(a,b){"string"!==typeof a&&(a=a.baseVal);this.HB(a)&&(b.zG=!0)};aE.prototype.HB=function(a){return(new Kh("openWindow",[a])).jp()};function bE(a,b,c,d){this.yc=b;this.B=c;this.qc=d;this.ex=cE(a);this.yC=[];this.YJ={};this.nL={};this.M=A("div");this.yc.displayObject().appendChild(this.M);c.U().Bb().addHandler(this.Ya,this);b.$g().addHandler(this.QR,this)}k=bE.prototype;k.I=-1;k.Ga=!1;k.activate=function(){this.Ga=!0;const a=this.B.U().timestamp();0<=a.H()&&0<=a.fa()&&this.Tf(a.H())};function cE(a){return new It(a,b=>{b=b.Wb();const c=[];for(let d=0;d<b.count();++d){const e=Ff(b,d);0<e.Vf&&c.push(e)}return c})}
k.Ya=function(a){if(this.Ga){a=a.timestamp();var b=a.H();0<=a.fa()&&b!=this.I&&this.Tf(b);w(this.yC,this.tU,this)}};k.tU=function(a){var b=ma(a)+"";var c=this.nL[b]||null;(b=dE(this,a))&&c&&(c=oh(c,"display"),"none"==c&&"none"!=b.style.display?(Dh(b,!1),(a=this.qc.Ph(a))&&a.playing()&&a.pause()):"none"!=c&&Dh(b,!0))};k.Tf=function(a){const b=this.I;this.I=a;const c=Kt(this.ex,b,a);w(c,this.lQ,this);a=Kt(this.ex,a,b);w(a,this.xT,this)};k.QR=function(){Qm(this.M,this.yc.scale())};
k.lQ=function(a){const b=dE(this,a);b&&Dh(b,!1);Ma(this.yC,a)};k.xT=function(a){var b=this.qc.Ph(a);if(b){var c=dE(this,a);if(!c){if(c=this.B.hc()){var d=c.view(),e=ma(a)+"";c=a.XJ;if(d=Gj(d,c)){this.nL[e]=d;var f=A("div");this.M.appendChild(f);this.YJ[e]=f;e=oh(d,"display");d.style.display="inherit";c=this.yc.position(c,this.yc.scale());qh(f,c);d.style.display=e;c=f}else c=null}else c=null;if(!c)return;Cp(b,c)}Dh(c,!0);b=this.yC;La(b,a)||b.push(a)}};
function dE(a,b){b=ma(b)+"";return a.YJ[b]||null};class eE{constructor(){this.Da="normal"}Wk(){}MM(){return"normal"==this.Da}PM(){return!0}QM(){return!0}gF(){}NM(){return!0}OM(){return!0}$h(a){this.Da=a}};function fE(a,b,c){this.B=a;this.he=b;this.BI=c;this.Kq=[];this.vQ=new D;this.sQ=new D;a.wF().addHandler(this.Tf,this);b.qt().addHandler(this.$L,this)}k=fE.prototype;k.Pf=null;k.Vu=null;
k.Tf=function(){if(this.Pf){const b=this;w(this.Kq,c=>{c.playbackStateChangedEvent().removeHandler(b.rB,b)});this.Kq=[];this.Pf.audioStartingEvent().removeHandler(this.$I,this);this.Pf.audioStartedEvent().removeHandler(this.ZI,this);this.Pf.videoStartingEvent().removeHandler(this.bJ,this);this.Pf.videoStartedEvent().removeHandler(this.aJ,this);this.Vu=this.Pf=null}const a=this.B.Ca()||this.B.Pa()||this.B.$a();a&&(this.Pf=a.mediaController())&&(this.Pf.audioStartingEvent().addHandler(this.$I,this),
this.Pf.audioStartedEvent().addHandler(this.ZI,this),this.Pf.videoStartingEvent().addHandler(this.bJ,this),this.Pf.videoStartedEvent().addHandler(this.aJ,this),this.Vu=a.soundController(),this.$L())};k.$I=function(a,b,c){this.BI.NM(b)||c.suspend()};k.ZI=function(a){a.ready()||a.readyEvent().addHandler(this.YI,this)};k.YI=function(a){a.readyEvent().removeHandler(this.YI,this);this.sQ.D()};k.bJ=function(a,b,c){this.BI.OM(b)||c.suspend()};
k.aJ=function(a){La(this.Kq,a)||(this.Kq.push(a),a.playbackStateChangedEvent().addHandler(this.rB,this),this.vQ.D())};k.rB=function(a){a.playing()||(a.playbackStateChangedEvent().removeHandler(this.rB,this),Ma(this.Kq,a))};k.$L=function(){this.Vu&&this.Vu.setVolume(this.he.pt())};function gE(){}gE.prototype.activate=function(){};class hE{constructor(a,b,c){const d=c.duration();b=new Ve(b.index(),-1,0);const e=c.lj(b,!0,!1);a="untilNextSound"==a.Bh?d:Math.min(d,e+a.duration());c=c.Yo(a,!0,!1);this.lf=new tf([new qf(new of("play",b,0),b,c)])}JD(){return this.lf}};function iE(a,b,c,d){this.L=a;this.ma=b;this.qv=[];this.K=c;c.Ab().addHandler(this.io,this,1);for(b=0;b<a.count();++b)c=a.R(b),c.Pd()&&this.QH(c);d.Lg.addHandler(this.QH,this)}iE.prototype.bB=!1;iE.prototype.Xh=function(){this.K.qe()?jE(this):this.bB=!0};function jE(a){const b=a.K.timestamp();a=a.qv;for(let f=0,h=a.length;f<h;++f){var c=a[f],d=b;if(!c.CE()&&(c.oX||c.BE())){var e=sf(c.PE,d);e?0!=Ue(d,e.Qa())&&c.yF(e.Qa(),e.zP.We()||0):(d=0==c.PE.count()||0>=Ue(d,rf(c.PE).Qa()),c.CF(d))}}}
iE.prototype.io=function(){this.K.qe()&&this.bB&&(jE(this),this.bB=!1)};iE.prototype.QH=function(a){const b=this.L;for(var c=a.Db(),d=0;d<c.count();++d){var e=Ff(c,d);e.Nn||(e=new kE(e,yf(e,b),this.ma),this.qv.push(e))}c=a.Wb();for(d=0;d<c.count();++d)e=Ff(c,d),e=new lE(e,yf(e,b),this.ma),this.qv.push(e);if(d=(d=a.transition())?d.Pc:null)a=(new hE(d,a,b)).JD(),this.qv.push(new mE(d,a,this.ma))};function nE(a,b){this.PE=a;this.oX=b}function kE(a,b,c){nE.call(this,b,!0);this.Pc=a;this.ma=c}v(kE,nE);
kE.prototype.BE=function(){return Yo(this.ma,this.Pc).sc};kE.prototype.CE=function(){var a=this.ma;const b=Yo(a,this.Pc);return b.sc&&!a.wi.contains(b)};kE.prototype.CF=function(){Yo(this.ma,this.Pc).stop()};kE.prototype.yF=function(a,b){var c=this.ma,d=this.Pc,e=Yo(c,d);QB(c,d,e,!d.Nn);e.qj(a,b,!0)};function lE(a,b,c){nE.call(this,b,!0);this.Gk=a;this.ma=c}v(lE,nE);lE.prototype.BE=function(){var a=this.ma;const b=bm(a,this.Gk);return b.sc||La(a.ws,b.Sd())};
lE.prototype.CE=function(){var a=this.ma;var b=this.Gk;RB(a,b)?(b=bm(a,b),a=b.sc&&!a.wi.contains(b)||La(a.ws,b.Sd())):a=!1;return a};lE.prototype.CF=function(a){am(this.ma,this.Gk,a)};lE.prototype.yF=function(a,b){$l(this.ma,this.Gk,a,b,!0)};function mE(a,b,c){nE.call(this,b,!1);this.Pc=a;this.ma=c}v(mE,nE);mE.prototype.BE=function(){return TB(this.ma,this.Pc).sc};mE.prototype.CE=function(){return!1};mE.prototype.CF=function(){TB(this.ma,this.Pc).stop()};
mE.prototype.yF=function(a,b){ts(this.ma,this.Pc,a,b)};function oE(a){return 0<a.Ju(a.aP,a.Tc()).length||0<a.Ju(a.xU,a.Tc()).length}function pE(a){return!!a.J.slides().R(a.K.timestamp().H()).lq&&!a.kG}function qE(a,b){if(!b)return!0;b=a.Tc();return 0>=b.fa()&&0==b.va()?!oE(a)&&!pE(a):!0}
function rE(a){const b=a.J.slides(),c=a.Tc();var d=h=>{let g=null,l=null;for(let m=0;m<h.length;++m){const p=h[m];var n=sf(yf(p,b),c);(n=n?n.Qa():null)&&(!l||0<Ue(n,l))&&(g=p,l=n)}return g?{media:g,Qa:l}:null};const e=c.H(),f=a.wk.vk[e]||[];a=d(a.MT.vk[e]||[]);d=d(f);return a&&d?0<=Ue(a.Qa,d.Qa)?a.media:d.media:a?a.media:d?d.media:null}
class sE{constructor(a){this.J=a;this.kG=!1;this.MT=Jt(a.slides());this.wk=Ht(a.slides());a=this.J.Jc();this.aP=this.Kw(a.Kh());this.xU=this.Kw(a.ii())}Wk(a){this.K=a}MM(){return!0}QM(){return!oE(this)&&!pE(this)}PM(a,b){return b?oE(this)||pE(this)?!1:rE(this)==a:!0}gF(a){this.kG=a}NM(a){return qE(this,a)}OM(a){return qE(this,a)}$h(){}Tc(){return this.K.timestamp()}Ju(a,b){const c=[];for(let d=a.length-1;0<=d;--d){const e=a[d];if(0<=Ue(b,e.Od()))break;0<=Ue(b,e.Qa())&&c.push(e)}return c}Kw(a){const b=
[];for(let c=0;c<a.count();++c)b.push(a.Us(c));Xa(b,(c,d)=>Ue(c.Qa(),d.Qa()));return b}};function tE(a){this.hz=new uE;this.Rv={};a.rL.addHandler(this.Jv,this)}v(tE,gE);tE.prototype.activate=function(){this.hz.activate()};tE.prototype.Jv=function(a,b){if(b){b=ma(a)+"";var c=a.Sd();var d=this.hz;var e=c.src();let f=null;0<d.Ha.length&&(f=d.Ha[0],f.ve(e),Ma(d.Ha,f));if(d=f)this.Rv[b]=c,wj(a,d)}else c=ma(a)+"",c in this.Rv&&(b=this.Rv[c],delete this.Rv[c],c=a.Sd(),this.hz.release(c),wj(a,b))};function uE(){this.Ha=[];for(let a=0;20>a;++a){const b=new Dj(A("audio"));this.Ha.push(b)}}
uE.prototype.activate=function(){w(this.Ha,a=>{a=a.mediaElement();a.play();a.pause()})};uE.prototype.release=function(a){this.Ha.push(a)};function vE(a,b){const c=wE(a,b);xE(c);c.deactivate();a.hU.D(b)}function wE(a,b){const c=ma(b)+"";c in a.WC||(a.WC[c]=a.iU.Pk(b,a.K,a.ia));return a.WC[c]}function yE(a,b,c){if(a.Ga){b=zE(a,b);for(let d=0;d<b.length;++d){const e=b[d];if(0<Ue(e.Od(),c)){AE(a,e);break}}}}function AE(a,b){if(a.Ga){var c=a.K.started();wE(a,b).preload(c)}}function zE(a,b){const c=[];for(let d=0;d<a.Hh.length;++d){const e=a.Hh[d];e.Qa().H()<=b&&e.Od().H()>=b&&c.push(e)}return c}
function BE(a,b,c){c=CE(a,c);const d=CE(a,b.Qa());a=CE(a,b.Od())-d;return Qc(c-d,0,a)}function CE(a,b){return a.L.lj(b,!0,!1)}
class DE{constructor(a,b,c,d,e){this.L=a;this.K=b;this.ia=c;this.iU=e;this.I=-1;this.kr=void 0;this.Ga=this.zz=!1;this.Hh=this.Kw(d);this.wj=[];this.WC={};this.gU=new D;this.hU=new D;b.Bb().addHandler(this.Ya,this);b.Ab().addHandler(this.io,this)}activate(){this.Ga=!0;this.io(this.K)}Sm(a){this.kr=a}XM(){this.wj.forEach(a=>vE(this,a));this.wj=[]}Kw(a){const b=[];for(let c=0;c<a.count();++c)b.push(a.Us(c));Xa(b,(c,d)=>Ue(c.Qa(),d.Qa()));return b}Tf(a,b){this.zz=!0;if(0<=this.I){const c=zE(this,this.I);
for(let d=0;d<c.length;++d){const e=c[d];(0>=Ue(e.Od(),b)||0<Ue(e.Qa(),b))&&xE(wE(this,e))}}yE(this,a,b);this.I=a}Ya(a){var b=a.timestamp(),c=b.H();(a=this.I!=c)&&this.Tf(c,b);if(c=this.zz){a:{c=zE(this,this.I);for(var d=0;d<c.length;++d)if(!wE(this,c[d]).Pd()){c=!1;break a}c=!0}c&&(this.Ga&&void 0!==this.kr?(-1!=this.kr&&(c=zE(this,this.kr),this.$B(c)),this.kr=void 0,c=!0):c=!1)}c&&(this.zz=!1);b=this.Ju(b);if(!$a(b,this.wj)){c=this.wj;this.wj=b;d=Gt(c,b);for(let e=0;e<d.length;++e)vE(this,d[e]);
c=Gt(b,c);for(d=0;d<c.length;++d)a||AE(this,b[d]),this.fq(c[d])}}Px(){const a=zE(this,this.K.timestamp().H());for(let b=0;b<a.length;++b)if(wE(this,a[b]).Px())return!0;return!1}XT(a){var b=wE(this,a);a=BE(this,a,this.K.timestamp());b.wb?.01<a-b.Xa.currentTime()&&b.Pw(a):b.Xa.seek(a)}fq(a){var b=this.K.timestamp();b=BE(this,a,b);const c=wE(this,a);c.activate(b);this.gU.D(a);this.K.qe()&&c.play(b);const d=this.XT.bind(this,a);ii(d,this,1E3);c.Cd.addHandler(()=>{c.Px()||d()},this)}io(a){if(this.Ga){a.started()&&
yE(this,this.I,a.timestamp());var b=this.wj;for(let e=0;e<b.length;++e){var c=b[e],d=wE(this,c);a.Si&&!Eu(a,d)?(d=c,c=this.K.timestamp(),c=BE(this,d,c),wE(this,d).play(c)):wE(this,c).pause()}}}Ju(a){const b=[];for(let c=this.Hh.length-1;0<=c;--c){const d=this.Hh[c];if(0<=Ue(a,d.Od()))break;0<=Ue(a,d.Qa())&&b.push(d)}return b}Xh(){if(this.Ga){var a=this.K.timestamp(),b=this.wj;for(let d=0;d<b.length;++d){var c=b[d];const e=wE(this,c);c=BE(this,c,a);e.Xh(c,!0)}}}OU(){return Qa(this.wj)}$B(a){if(!ki)for(let b=
0;b<a.length;++b)wE(this,a[b]).preload(!1)}}DE.prototype.activeTracks=DE.prototype.OU;DE.prototype.isBuffering=DE.prototype.Px;function xE(a){a.aC=!1;clearInterval(a.aD);clearInterval(a.uG);a.Am&&(a.Am=!1,a.Xa.Cj.removeHandler(a.BB,a),is(a.ia,!1,a))}function EE(a){const b=a.Xa.src();a=a.eK;if(b)for(let c=0;c<a.length;++c)if(eb(b,a[c].src()))return!0;return!1}function FE(a){EE(a)||a.dD();a.Am&&a.Xa.Js()&&a.BB()}
class GE extends og{constructor(a,b,c,d,e,f){super();this.VC=a;this.Xa=b;this.eK=c;this.K=d;this.ia=e;this.aC=this.Am=this.fg=this.Mc=this.wb=!1;this.uG=this.aD=0;this.Cd=ng(this);this.Xa.Zh(f.playbackRate());B(this,f.Ii,()=>this.Xa.Zh(f.playbackRate()))}Pd(){return 1==this.Xa.Tx()}Px(){return this.Mc||this.fg||this.Am}Pw(a){this.fg||this.Mc||(this.fg=!0,Gu(this.ia,!0,this),this.WT=a,a=1E3*(a-this.Xa.currentTime())+500,this.CL=setTimeout(this.eL.bind(this),a),this.Xa.Nc.addHandler(this.xG,this))}eL(){clearTimeout(this.CL);
this.CL=void 0;this.Xa.Nc.removeHandler(this.xG,this);this.wb||this.Xa.pause();this.fg=!1;Gu(this.ia,!1,this)}xG(){.1>this.WT-this.Xa.currentTime()&&this.eL()}preload(a){const b=this.Xa,c=EE(this);if(!c&&!this.aC){this.aC=!0;const d=this.rU.bind(this);setTimeout(d,300);li&&(this.aD=setInterval(d,1E3))}!a||b.Js()&&c||this.Am||(this.Am=!0,is(this.ia,!0,this),b.Cj.addHandler(this.BB,this))}rU(){FE(this);this.Xa.ready()?clearInterval(this.aD):this.Xa.load()}BB(){li&&1==this.Xa.duration()?this.uG=setInterval(this.uP.bind(this),
200):xE(this)}uP(){1!=this.Xa.duration()&&xE(this)}activate(){Hq(this.VC,"activated");this.Xa.Ab().addHandler(this.iJ,this)}deactivate(){Hq(this.VC,"deactivated");this.Xa.Ab().removeHandler(this.iJ,this);this.Mc&&(this.Mc=!1,is(this.ia,!1,this));this.wb=!1;this.Xa.pause()}Xh(a,b,c){if(!this.Mc||b){FE(this);var d=this.Xa,e=a-d.currentTime(),f=b?.01:.5;e>f&&!b&&!this.Mc&&!c?this.Pw(a):Math.abs(e)>f&&d.eE(a);this.wb&&!this.Xa.playing()&&this.Xa.play()}}play(a){this.wb||this.Am||(this.Xh(a,!this.Xa.playing()),
this.wb=!0,this.Xa.play())}pause(){this.wb&&(this.wb=!1,this.Mc||this.fg||this.Xa.pause())}iJ(){var a=!1;"buffering"==this.Xa.state()&&(a=!0);this.Mc!=a&&(this.Mc=a,Hq(this.VC,a?"buffering":"activated"),is(this.ia,a,this),a||this.wb||this.Xa.pause(),this.Cd.D())}dD(){this.Xa.ve(this.eK)}};class HE extends GE{constructor(a,b,c,d,e){super(a,b,a.audio().sources(),c,d,e);this.sl=b}};class IE{constructor(a,b){this.sl=a;this.rc=b}Pk(a,b,c){return new HE(a,this.sl,b,c,this.rc)}};class JE{constructor(a){this.rc=a}Pk(a,b,c){var d=Cj();d=new Ej(d);return new HE(a,d,b,c,this.rc)}};class KE extends DE{constructor(a,b,c,d,e,f){var h=Cj();h=new Ej(h);super(a,b,c,d,ki?new IE(h,f):new JE(f));this.sl=h;this.he=e;e.qt().addHandler(this.Ih,this);this.Ih()}activate(){if(ki){const a=this.sl.Sd().mediaElement();a.src=ji();a.play()}super.activate()}Ih(){this.sl.setVolume(this.he.pt())}fq(a){super.fq(a);ki||(this.sl=wE(this,a).sl,this.Ih())}};class LE extends GE{constructor({track:a,Kt:b,U:c,kj:d,Nm:e,hy:f}){super(a,b,a.video().sources(),c,d,f);this.Mb=b;this.so=e}Kt(){return this.Mb}activate(a){super.activate(a);this.so&&XC(this.Mb,this.so,!0)}dD(){this.so&&(XC(this.Mb,this.so,!0),OB(this.Mb,!0),this.Mb.Nc.addHandler(function b(){0!=this.Mb.currentTime()&&(this.Mb.Nc.removeHandler(b,this),OB(this.Mb,!1))},this));super.dD()}};class ME{constructor(a){this.rc=a}Pk(a,b,c){const d=new YC("<video width='960px' height='540px'></video>",this.rc.Lt()),e=a.video().Nm();e&&XC(d,e,!0);return new LE({track:a,Kt:d,U:b,kj:c,Nm:a.video().Nm(),hy:this.rc})}};function NE(a){this.Mb=a;this.M=A("div");Cp(a,this.M)}NE.prototype.displayObject=function(){return this.M};NE.prototype.displayObject=NE.prototype.displayObject;NE.prototype.resize=function(a,b){this.Mb.resize(a,b)};NE.prototype.resize=NE.prototype.resize;NE.prototype.width=function(){return this.Mb.width()};NE.prototype.width=NE.prototype.width;NE.prototype.height=function(){return this.Mb.height()};NE.prototype.height=NE.prototype.height;
NE.prototype.JF=function(a){a.resize(this.Mb.width(),this.Mb.height());Gp(this.Mb);this.Mb=a;Cp(a,this.M)};NE.prototype.updatePlayer=NE.prototype.JF;class OE{constructor(a,b){this.Mb=a;this.rc=b}Pk(a,b,c){return new LE({track:a,Kt:this.Mb,U:b,kj:c,Nm:a.video().Nm(),hy:this.rc})}};class PE extends DE{constructor(a,b,c,d,e,f){const h=new YC(Pg&&10>Ki?"<audio></audio>":"<video width='400px' height='300px'></video>",f.Lt());super(a,b,c,d,ki?new OE(h,f):new ME(f));this.Mb=h;this.ha=new NE(h);this.he=e;this.he.qt().addHandler(this.Ih,this);this.Ih();this.hK=new L;this.hK.fh(0);document.body.appendChild(this.hK.displayObject())}activate(){if(bj){const a=this.Mb.Sd().mediaElement();a.src=ji();a.play();a.pause()}super.activate()}view(){return this.ha}$B(a){super.$B(a);ki&&(clearTimeout(this.GS),
a.length&&(this.GS=ii(()=>{const b=a[0].video().Nm();b&&XC(wE(this,a[0]).Kt(),b)},this,500)))}Ih(){this.Mb.setVolume(this.he.pt())}fq(a){super.fq(a);ki||(this.Mb=wE(this,a).Kt(),this.ha.JF(this.Mb),this.Ih())}}PE.prototype.view=PE.prototype.view;const QE={f0:"resumePlayback",UZ:"gotoSlide",jZ:"delayStartup"};class RE{constructor(a){this.JC=a;this.Kb=0;this.oh="gotoSlide";this.yj=!1}H(){return this.Kb}$N(a){this.Kb=a}action(){return this.oh}wy(a){this.oh=a}Vc(){return this.yj}yy(a){this.yj=a}KX(){return this.JC}}RE.prototype.startupController=RE.prototype.KX;RE.prototype.setAutoStart=RE.prototype.yy;RE.prototype.autoStart=RE.prototype.Vc;RE.prototype.setAction=RE.prototype.wy;RE.prototype.action=RE.prototype.action;RE.prototype.setSlideIndex=RE.prototype.$N;RE.prototype.slideIndex=RE.prototype.H;
r("ispring.presenter.player.startup.PresentationStartup.Action",QE);r("RESUME_PLAYBACK","resumePlayback",QE);r("GOTO_SLIDE","gotoSlide",QE);r("DELAY_STARTUP","delayStartup",QE);function SE(a){return a.dP.some(b=>a.ZS.some(c=>c(b)))}
class TE{constructor(a,b,c){this.J=a;this.B=b;b=this.slides;var d=c;c=[];do if(c.push(d),"slide"==d.type()&&d.Ug()){var e=b;const f=d.wf().pj();(d=f&&"gotoSlide"==f.type()?e.R(f.H()):d.index()<e.count()-1?e.R(d.index()+1):null)&&("slide"!=d.type()||c.includes(d))&&(d=null)}else d=null;while(d);this.dP=c;this.eR=[...a.Jc().Kh().oO,...a.Jc().ii().oO];a=this.slides;b=[];for(c=0;c<a.count();++c)for(e=a.R(c).Db(),d=0;d<e.count();++d)b.push(Ff(e,d));this.LT=b;this.ZS=[this.fP.bind(this),this.eP.bind(this),
this.gP.bind(this),this.hP.bind(this),this.PS.bind(this),this.nT.bind(this),this.tQ.bind(this)]}get ua(){return this.B}get slides(){return this.J.slides()}fP(a){return this.eR.some(b=>b.Qa().H()<=a.index()&&b.Od().H()>=a.index())}eP(a){return!!a.lq}gP(a){return this.LT.some(b=>{a:{b:{var c=yf(b,this.slides);if(0<c.count()&&(b=rf(c).Qa(),c=rf(c).Od(),a.index()>=b.H()&&a.index()<=c.H())){b={Qa:b,Od:c};break b}b=null}if(c=b){b=c.Qa;c=c.Od;if(a.index()==b.H()){if(0<b.fa()){b=a.Aa().ob(b.fa()-1).Ug();
break a}}else if(a.index()==c.H()){b=0<=c.fa();break a}b=!0}else b=!1}return b})}hP(a){if(a instanceof Wl){const b=new Ve(a.index(),0,0);return a.Wb().ub().some(c=>!!sf(yf(c,this.slides),b))}return!1}PS(a){return a instanceof tq?(a=this.ua.Wc(a.index()))?!a.Ca().autoStartAvailable():!0:!1}nT(a){return a instanceof Sp?(a=this.ua.Wc(a.index()))?!a.Pa().autoStartAvailable():!0:!1}tQ(a){return a instanceof Kp?(a=this.ua.Wc(a.index()))?!a.$a().autoStartAvailable():!0:!1}};function UE(a,b,c,d,e){if(a.JS)throw Error("presentation was already started");if(e){var f=a.C;const l=f.oa.Cc;l.MD(e);vs(l,0);e=f.J.slides();for(f=0;f<e.count();++f){var h=l.op(f);if(h){var g=e.R(f);g.gj(h,l.Tg);h=l;g=g.persistState();h.tk[f]=g;h.Zf=!0}}l.invalidate()}b=Qc(b,0,a.C.oe().slides().count()-1);a.C.vL.D(d,b,c);d=a.C.Hp().Fc;void 0!==b&&d.Sm(b);VE(d);WE(a,b,c)}
function WE(a,b,c){const d=a.C.oe(),e=d.slides().R(b),f=a.C.view().ua();gs(f);a.wL&&XE(a.C);const h=()=>{ds(a.C.yx().Cc,b);a.C.ha.Lx();const g=!(e instanceof Wl);g&&f.Vk(b,0,0,!1);let l=!1;if(void 0===c){c=d.settings().Ob().Vc();const n=new TE(d,f,e);c&&(bj||cj)&&SE(n)&&(c=!1,l=!0)}l&&bs(f,()=>{YE(a.C,b,!1,l)});l&&!g&&f.Vk(b,0,0,!1);l||(Lr(f,b,c),YE(a.C,b,c,l))};if(e.Pd())h();else{const g=f.kj();is(g,!0,a);const l=a.C.yx().Hp().Fc,n=m=>{m===e&&(is(g,!1,a),l.Lg.removeHandler(n),h())};l.Lg.addHandler(n)}}
class ZE{constructor(a,b){this.C=a;this.VT=b;this.wL=this.JS=!1}start(a,b){UE(this,a,b,"gotoSlide")}resume(a,b){UE(this,a,b,"resumePlayback",this.VT)}}ZE.prototype.resume=ZE.prototype.resume;ZE.prototype.start=ZE.prototype.start;function $E(a,b,c){this.Ba=null;this.Zi=b;this.WB=c;b.Ns()&&(this.ib=A("DIV"),a.displayObject().appendChild(this.ib),this.ib.style.overflow="hidden",this.ib.style.position="absolute",oi&&(this.ib.style["-webkit-overflow-scrolling"]="touch",this.ib.style.overflow="auto"),a=A("IFRAME"),a.setAttribute("src",this.Zi.url()),a.style.border=0,a.style.backgroundColor="#ffffff",a.setAttribute("webkitallowfullscreen",""),a.setAttribute("mozallowfullscreen",""),a.setAttribute("allowfullscreen",""),this.Ba=a)}
k=$E.prototype;k.Wd=!1;k.ue=function(a){const b=this.Zi;if(this.Ba&&this.ib&&b.Ns()){var c=a.scale();const d=c*b.width();c*=b.height();a=a.position(b.id(),1);xh(this.ib,d,c);qh(this.ib,a.x,a.y);xh(this.Ba,d,c)}};k.visible=function(){return this.Wd};
k.By=function(a){if(this.Wd!=a)if(this.Wd=a,this.Zi.Ns()){if(a){this.ib.appendChild(this.Ba);try{this.Ba.contentWindow.ispringPresentationPlayer=this.WB}catch(b){}}else xd(this.ib);Dh(this.ib,a)}else if(a){if(!this.Ba){a=this.Zi;const b={resizable:!0,statusbar:!1,toolbar:!1,location:!1,scrollbars:!1,menubar:!1},c=this.Zi.width()||this.Zi.height();a.hE()?(b.width=screen.availWidth,b.height=screen.availHeight,b.top=0,b.left=0):c&&(b.width=Math.max(this.Zi.width(),100),b.height=Math.max(this.Zi.height(),
100));this.Ba=Lh?this.HB(a.url()):Ug(a.url(),b)}}else{if(this.Ba)try{this.Ba.close()}catch(b){}this.Ba=null}};k.HB=function(a){(new Kh("openWindow",[a])).jp();return null};function aF(a,b,c,d){this.Ha={};this.WB=d;this.Sa=a;this.L=c;b.Bb().addHandler(this.Ya,this);a.$g().addHandler(this.mr,this)}k=aF.prototype;k.I=-1;k.Ya=function(a){a=a.timestamp();this.I!=a.H()&&bF(this,this.I,-1);this.I=a.H();-1!=a.fa()&&(a=this.EC(a),bF(this,this.I,a))};k.C=function(a){const b=a.id();this.Ha[b]||(this.Ha[b]=new $E(this.Sa,a,this.WB));return this.Ha[b]};k.mr=function(){const a=this;cF(this,this.I,function(b){b.ue(a.Sa)})};
function bF(a,b,c){a.AC(b);cF(a,a.I,function(d){const e=d.Zi.timeout()<=c;e&&(d.visible()||d.ue(a.Sa));d.By(e)})}k.$i=function(a){return this.Gw(a)&&(a=this.L.R(a),a instanceof Wl)?a.Nt():null};k.AC=function(a){this.Gw(a)&&this.L.R(a).Aa().duration()};k.EC=function(a){const b=a.fa(),c=a.H();return this.L.R(c).Aa().ob(b).startTime()+a.va()};k.Gw=function(a){return 0<=a&&a<this.L.count()};
function cF(a,b,c){if(b=a.$i(b)){var d=b.count();for(let h=0;h<d;h++){var e=b,f=h;if(e=0>f||f>=e.count()?null:e.$i[f])e=a.C(e),c(e)}}};var dF={FO:"gotoPreviousSlide",BO:"continuePresentation",CO:"finishAction",K0:"skipQuiz"};r("ispring.quiz.player.QuizPlayerControllerActionType",dF);r("GOTO_PREVIOUS_SLIDE","gotoPreviousSlide",dF);r("CONTINUE_PRESENTATION","continuePresentation",dF);r("FINISH_ACTION","finishAction",dF);r("SKIP_QUIZ","skipQuiz",dF);var eF={BO:"continuePresentation",CO:"finishAction",L0:"skipScenario",FO:"gotoPreviousSlide",SZ:"gotoNextSlide"};r("ispring.scenario.player.ScenarioPlayerControllerActionType",eF);r("CONTINUE_PRESENTATION","continuePresentation",eF);r("FINISH_ACTION","finishAction",eF);r("SKIP_SCENARIO","skipScenario",eF);r("GOTO_PREVIOUS_SLIDE","gotoPreviousSlide",eF);r("GOTO_NEXT_SLIDE","gotoNextSlide",eF);var fF={WZ:"initializing",vY:"authorizating",ZZ:"inProgress",JY:"completed"};r("ispring.scenario.session.ScenarioState",fF);r("INITIALIZING","initializing",fF);r("IN_PROGRESS","inProgress",fF);r("COMPLETED","completed",fF);r("AUTHORIZATING","authorizating",fF);var gF=null,hF=null;function iF(a,b,c){this.J=a;var d=pi();if("1"==d.resume||"review"==window.launchMode)a.settings().Ob().wo="always";else if("0"==d.resume||"browse"==window.launchMode)a.settings().Ob().wo="never";d=bj?new sE(a):new eE;const e=new qB,f=new pg,h=new $C(f);h.iF(a.settings().xb());const g=new WB(a,h,d);var l=new eD(a,g);this.qH=new uB;var n=new wB(a.settings().navigation().keyboard(),a.slides(),h,this.qH),m=new dD;m.stateChangedEvent().addHandler(this.nr,this);this.oa=new Mp(e,c,g,h,h,l,n,this,m);new $A(b);
this.ha=new jB(this.oa,a,f);b=this.ha.ua();m=this.ha.Wh();d.Wk(b.U());g.nF(b.U(),b.kj());n.wt(m);l.B=b;l.Li=m;e.wt(b);e.zy(g);jF(this,e);l=this.ha.Qk();n=l.displayObject();c.Fc.yc=n;new OD(l,b.U(),a.slides());new aF(l,b.U(),a.slides(),this);new ZD(this.ha,l,b.U(),a.slides());this.CI=new aD(a);this.CI.wt(b);this.xL=new D;this.vL=new D;this.VH=new D;this.BG=new D;this.zk=new D;this.VS=new D;this.eu=new KE(a.slides(),b.U(),b.kj(),a.Jc().Kh(),h,f);this.$w=new PE(a.slides(),b.U(),b.kj(),a.Jc().ii(),h,
f);this.XQ=new iE(a.slides(),g,b.U(),c.Fc);new fE(b,h,d);ki&&new aE(e);this.JP=new bE(a.slides(),l,b,h);this.WQ=bj?new tE(h):new gE(h);b.LK.addHandler(this.XR,this);b.rj().addHandler(this.wh,this);b.Bu.addHandler(this.xR,this);b.iH.addHandler(this.eQ,this);b.qg().addHandler(this.bS,this);this.qc=h;aj&&ISPlayer.setPauseMediaCallback(this.Wv.bind(this))}iF.prototype.hH=!1;iF.prototype.yx=function(){return this.oa};
function jF(a,b){const c=rd("DIV");c.getCore=function(){return b};c.setAttribute("id",a.J.settings().Iy());a.ha.displayObject().appendChild(c)}function YE(a,b,c,d){const e=a.ha.ua().U(),f=!d;f&&a.Yl();c&&XE(a);f&&c||e.Ab().addHandler(function g(){e.started()&&(e.Ab().removeHandler(g,this,-1),f||a.Yl(),c||XE(a))},a,-1);a.VH.D(b,c,d)}iF.prototype.Yl=function(){this.JP.activate();this.ha.ua().activate()};
function XE(a){a.hH||(a.hH=!0,a.WQ.activate(),a.eu.activate(),a.$w.activate(),a.oa.mediaController().activate())}iF.prototype.oe=function(){return this.J};iF.prototype.presentation=iF.prototype.oe;iF.prototype.view=function(){return this.ha};iF.prototype.view=iF.prototype.view;iF.prototype.version=function(){return"8.3.0"};iF.prototype.version=iF.prototype.version;iF.prototype.persistState=function(){return this.oa.Cc.fF()};iF.prototype.persistState=iF.prototype.persistState;
iF.prototype.TV=function(a,b){var c={width:a,height:b,dV:!1};this.VS.D(c);return c.dV?new Yc(c.width,c.height):(c=Math.min(a/this.J.slideWidth(),b/this.J.slideHeight()),new Yc(a*c,b*c))};iF.prototype.getOptimalPlayerSize=iF.prototype.TV;iF.prototype.nr=function(){this.zk.D(new dn)};
iF.prototype.start=function(a){var b=null;a&&(b=cD(a));a=this.J.settings().Ob();var c=this.view().ua(),d=b,e=this.view().ua().Se(),f;if(f=d)a:{f=this.J.slides().count();var h=this.view().ua().Se();for(let g=0;g<f;++g){const l=d.op(g);if(l&&l.visited&&g!=h){f=!1;break a}}f=!0}if(f){a:{f=this.oe().slides().R(e);switch(f?f.type():""){case "quiz":(e=(e=d.op(e))?e.quizInfo:null)?(e=e.state,e="testing"==e||"reviewing"==e||"completed"==e):e=!1;break a;case "scenario":b:{if(e=d.op(e))if(f=e.scenarioState){gF||
(gF={X1:"a",duration:"d",wX:"s",history:{self:"h",id:"i",Z1:"b",d2:"c",o2:"r"},Y1:{self:"A",A2:"s",h2:"f"}});e=gF;e=f[e.wX];hF||(hF=["initializing","authorizating","inProgress","completed"]);e=hF[e];e="inProgress"==e||"completed"==e;break b}e=!1}break a}e=!1}f=!e}e=(b=!f||js(d,0)?b:null)?b.wE():null;f=parseInt(pi().startslide,10);h=isNaN(f)||0>f||f>=this.J.slides().count();d="review"==window.launchMode;d=h&&null!=e&&0<=e&&("never"!=a.sy()||d);h&&(f=c.Se());c=d?e:f;b=new ZE(this,b);e=new RE(b);e.yy(a.Vc());
e.wy(d?"resumePlayback":"gotoSlide");e.$N(c);this.xL.D(e);switch(e.action()){case "resumePlayback":b.resume(e.H());break;case "gotoSlide":b.start(e.H());break;case "delayStartup":b.wL=!0;break;default:throw Error("unknown startup action");}};iF.prototype.Hp=function(){return this.oa.Hp()};iF.prototype.BF=function(){return this.xL};iF.prototype.startupEvent=iF.prototype.BF;iF.prototype.startupCompletedEvent=function(){return this.vL};iF.prototype.startupCompletedEvent=iF.prototype.startupCompletedEvent;
iF.prototype.rE=function(){return this.VH};iF.prototype.initialSlideShownEvent=iF.prototype.rE;iF.prototype.XR=function(){this.eu.Xh();this.$w.Xh();this.XQ.Xh()};iF.prototype.wh=function(){const a=this.J.settings().fn().jy();a&&a.open()};iF.prototype.ZD=function(){return this.CI.ZD()};iF.prototype.executeMetaCommandEvent=iF.prototype.ZD;iF.prototype.IM=function(){return this.eu};iF.prototype.audioNarrationController=iF.prototype.IM;iF.prototype.vO=function(){return this.$w};
iF.prototype.videoNarrationController=iF.prototype.vO;iF.prototype.xR=function(){const a=new dn;this.BG.D(a);if(!a.actionPrevented())if(Lh)(new Kh("closeWindow")).jp();else try{li||(window.open("","_self",""),window.close())}catch(b){}};iF.prototype.closeWindowEvent=function(){return this.BG};iF.prototype.closeWindowEvent=iF.prototype.closeWindowEvent;iF.prototype.stateChangedEvent=function(){return this.zk};iF.prototype.stateChangedEvent=iF.prototype.stateChangedEvent;
iF.prototype.$h=function(a){this.ha.Da!=a&&(this.Wv(),this.ha.$h(a))};iF.prototype.gestureNavigationEnabled=function(){return this.J.settings().navigation().Th().enabled()};iF.prototype.gestureNavigationEnabled=iF.prototype.gestureNavigationEnabled;function kF(a,b){if(b=null==a.ha.Wh().jj(b))b=!(-1==a.ha.ua().Rd()&&-1==a.ha.ua().Td());return b}function lF(a,b){return null==a.ha.Wh().jj("quizArbitrarySlideSwitching",b)}
function mF(a,b){return null==a.ha.Wh().jj("ScenarioArbitrarySlideSwitching",b)}
function nF(a,b){var c=a.ha.ua(),d=c.W();c=c.hc().view();c=Qp(c.Pa());switch(b){case "gotoPreviousSlide":return-1!=a.ha.ua().Td();case "skipScenario":return"atAnyTime"==d.Xi&&kF(a,"switchToNextSlide");case "continuePresentation":return b=c.scenarioPassed()?d.Vv:d.Eu,d=0,b instanceof Jg&&(d=b.H()),"gotoSlide"==b.type()&&mF(a,d)||"gotoNextSlide"==b.type()&&kF(a,"scenarioSwitchToNextSlideWithoutBranching");case "finishAction":return b=c.scenarioPassed()?d.Vv:d.Eu,d=0,b instanceof Jg&&(d=b.H()),"closePlayerWindow"==
b.type()||"gotoSlide"==b.type()&&mF(a,d)||"gotoNextSlide"==b.type()&&kF(a,"scenarioSwitchToNextSlide")}return!1}
function oF(a,b){var c=a.ha.ua();const d=c.W();c=c.hc().view();const e=Fg(c.Ca());switch(b){case "gotoPreviousSlide":return"sequential"!=a.J.settings().navigation().navigationType()&&c.Lp()&&-1!=a.ha.ua().Td();case "skipQuiz":if(b="atAnyTime"==d.Xi)b=kF(a,"switchToNextSlide")&&-1!=a.ha.ua().Rd();return b;case "continuePresentation":return b=Gg(e)?d.Uv:d.Du,"gotoSlide"==b.type()?lF(a,b.H()):"gotoNextSlide"==b.type()&&kF(a,"quizSwitchToNextSlideWithoutBranching");case "finishAction":return b=Gg(e)?
d.Uv:d.Du,"gotoSlide"==b.type()?lF(a,b.H()):"closePlayerWindow"==b.type()||"gotoNextSlide"==b.type()&&kF(a,"quizSwitchToNextSlide")}return!1}iF.prototype.actionAvailable=function(a){var b=this.ha.ua().W();if(b instanceof tq)a=oF(this,a);else if(b instanceof Kp)a:{b=this.ha.ua().hc().view();switch(a){case "gotoNextPresentationSlide":a=kF(this,"switchToNextSlide");break a;case "gotoPreviousPresentationSlide":a=b.Lp()&&-1!=this.ha.ua().Td();break a}a=!1}else a=b instanceof Sp?nF(this,a):!1;return a};
iF.prototype.actionAvailable=iF.prototype.actionAvailable;iF.prototype.eQ=function(a,b,c){const d=this.J.slides();b=0<=b?d.R(b):null;c=0<=c?d.R(c):null;if(b instanceof tq||c instanceof tq||b instanceof Kp||c instanceof Kp||b instanceof Sp||c instanceof Sp)Ti?(a.En="null",a.Y=0):a.En="FadeSmoothly"};iF.prototype.bS=function(){const a=this.ha.ua().Rd();this.eu.Sm(a);this.$w.Sm(a)};
iF.prototype.Wv=function(){const a=this.ha.ua();if(!(0>a.qa())){a.pause();this.qc.Zx();var b=this.ha.ua().Ca();b&&b.pauseMedia();(b=this.ha.ua().Pa())&&b.pauseMedia();b=a.W();b instanceof Kp&&a.Wc(b.index()).$a().pauseMedia()}};function pF(a){this.Wx=a}pF.prototype.set=function(a,b){void 0===b?this.Wx.remove(a):this.Wx.set(a,hh(new gh,b))};pF.prototype.get=function(a){let b;try{b=this.Wx.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};pF.prototype.remove=function(a){this.Wx.remove(a)};function qF(){};function rF(){}v(rF,qF);rF.prototype.Hx=function(){let a=0;for(const b of this)a++;return a};rF.prototype[Symbol.iterator]=function(){return ek(this.If(!0)).My()};rF.prototype.clear=function(){const a=Array.from(this);for(const b of a)this.remove(b)};function sF(a){this.sg=a}v(sF,rF);k=sF.prototype;k.uE=function(){if(!this.sg)return!1;try{return this.sg.setItem("__sak","1"),this.sg.removeItem("__sak"),!0}catch(a){return!1}};k.set=function(a,b){try{this.sg.setItem(a,b)}catch(c){if(0==this.sg.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};k.get=function(a){a=this.sg.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};k.remove=function(a){this.sg.removeItem(a)};
k.Hx=function(){return this.sg.length};k.If=function(a){var b=0,c=this.sg,d=new Xj;d.next=function(){if(b>=c.length)return Yj;var e=c.key(b++);if(a)return Zj(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Zj(e)};return d};k.clear=function(){this.sg.clear()};k.key=function(a){return this.sg.key(a)};function tF(){var a=null;try{a=window.localStorage||null}catch(b){}this.sg=a}v(tF,sF);function uF(a,b){this.gO=a;this.re=null;if(Db&&!(9<=Number(ac))){vF||(vF=new ik);this.re=vF.get(a);this.re||(b?this.re=document.getElementById(b):(this.re=document.createElement("userdata"),this.re.addBehavior("#default#userData"),document.body.appendChild(this.re)),vF.set(a,this.re));try{this.re.load(this.gO)}catch(c){this.re=null}}}v(uF,rF);var wF={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},vF=null;
function xF(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return wF[b]})}k=uF.prototype;k.uE=function(){return!!this.re};k.set=function(a,b){this.re.setAttribute(xF(a),b);yF(this)};k.get=function(a){a=this.re.getAttribute(xF(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};k.remove=function(a){this.re.removeAttribute(xF(a));yF(this)};k.Hx=function(){return zF(this).attributes.length};
k.If=function(a){var b=0,c=zF(this).attributes,d=new Xj;d.next=function(){if(b>=c.length)return Yj;var e=c[b++];if(a)return Zj(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return Zj(e)};return d};k.clear=function(){for(var a=zF(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);yF(this)};
function yF(a){try{a.re.save(a.gO)}catch(b){throw"Storage mechanism: Quota exceeded";}}function zF(a){return a.re.XMLDocument.documentElement};function AF(a,b){this.it=a;this.Dp=b+"::"}v(AF,rF);AF.prototype.set=function(a,b){this.it.set(this.Dp+a,b)};AF.prototype.get=function(a){return this.it.get(this.Dp+a)};AF.prototype.remove=function(a){this.it.remove(this.Dp+a)};AF.prototype.If=function(a){const b=this.it[Symbol.iterator](),c=this,d=new Xj;d.next=function(){var e=b.next();if(e.done)return e;for(e=e.value;e.slice(0,c.Dp.length)!=c.Dp;){e=b.next();if(e.done)return e;e=e.value}return Zj(a?e.slice(c.Dp.length):c.it.get(e))};return d};function BF(){}v(BF,qF);BF.prototype.set=function(){};BF.prototype.get=function(){return null};BF.prototype.remove=function(){};function CF(a){a=DF().get(a);return void 0!==a?a:null}var EF=null;function DF(){if(!EF){var a=new tF;(a=a.uE()?new AF(a,"ispring"):null)||(a=new uF("ispring"),a=a.uE()?a:null);EF=new pF(a||new BF)}return EF};function FF(a,b){const c=a.Om(),d=c.oe().HF();void 0===b&&(b=CF(d));c.stateChangedEvent().addHandler(e=>{if(!e.actionPrevented()){e.preventAction();e=c.persistState();const f=DF();try{f.set(d,e)}catch(h){}}},null,99);c.start(b)};function GF(a,b){for(const c in a)a.hasOwnProperty(c)&&HF(a[c],c,b)}function HF(a,b,c){for(const d in a)a.hasOwnProperty(d)&&(d==c?b=a[c]:"toString"!=d&&HF(a[d],d,c));a.toString=function(){return b}};function IF(){var a={A:""};a:{for(const b in a){a=b;break a}a=void 0}return a};function JF(){const a={id:{A:"i"},title:{A:"t"},courseTitle:{A:"ct"},slideWidth:{A:"w"},slideHeight:{A:"h"},TM:{A:"c"},XW:{A:"pv"},slides:{A:"s",id:{A:"I"},Ct:{A:"st",slide:{A:"s"},quiz:{A:"q"},interaction:{A:"i"},scenario:{A:"S"}},title:{A:"t"},visible:{A:"v"},VM:{A:"c"},src:{A:"s"},dO:{A:"sl"},Ok:{A:"o"},GW:{A:"n"},hW:{A:"N"},W1:{A:"an"},text:{A:"x"},Ly:{A:"T",Ws:{A:"i"},width:{A:"w"},height:{A:"h"}},Bs:{A:"a"},SU:{A:"d"},Xx:{A:"l"},ZW:{A:"p"},XU:{A:"B"},mN:{A:"hi"},Xe:{A:"e",NN:{A:"p"},MN:{A:"a"}},
timeline:{A:"i"},transition:{A:"q",type:{A:"t"},duration:{A:"d"},rg:{A:"s"}},Db:{A:"S",id:{A:"i"},Kk:{A:"a"},slides:{A:"s"},repeat:{A:"r",sO:{A:"s"},rO:{A:"c"},tO:{A:"n"}},volume:{A:"v"},effect:{A:"e"},kg:{A:"b",name:{A:"n"},time:{A:"t"}},duration:{A:"d"}},Wb:{A:"V",id:{A:"i"},Kk:{A:"a"},slides:{A:"s"},repeat:{A:"r",sO:{A:"s"},rO:{A:"c"},tO:{A:"n"}},OE:{A:"f"},qE:{A:"H"},ty:{A:"R"},volume:{A:"v"},Af:{A:"h"},kg:{A:"b",name:{A:"n"},time:{A:"t"}},duration:{A:"d"}},Nt:{A:"wo",containerId:{A:"c"},url:{A:"u"},
timeout:{A:"to"},width:{A:"w"},height:{A:"h"},hE:{A:"f"},Ns:{A:"ds"}},mY:{A:"y",containerId:{A:"c"},$e:{A:"v"},width:{A:"w"},height:{A:"h"},va:{A:"to"}},lY:{A:"yk",containerId:{A:"c"},$e:{A:"v"},width:{A:"w"},height:{A:"h"},va:{A:"to"},clientId:{A:"cl"}},Im:{A:"m",name:{A:"n"},params:{A:"p",name:{A:"n"},value:{A:"v"}}},wf:{A:"b",action:{type:{A:"t",FW:{A:"n"},Yc:{A:"g"}},H:{A:"s"}},pj:{A:"n"},Ep:{A:"p"}},Jm:{A:"r",lock:{A:"l"}},vg:{A:"z",id:{A:"i"},Pp:{A:"t"},gl:{A:"r"},gi:{A:"bg"},GF:{A:"tt"},Lh:{A:"b"},
Xg:{A:"hF"},mh:{A:"vF"},rotation:{A:"R"},slides:{A:"s"}},dE:{A:"f",containerId:{A:"c"},width:{A:"w"},height:{A:"h"},url:{A:"u"},va:{A:"to"},bgColor:{A:"b"},pO:{A:"t"}},FX:{A:"si",vF:{A:"shapes",item:{id:{A:"id"},Lh:{A:"bbox"},Gf:{A:"transformBefore"},tg:{A:"transformAfter"}},tb:{A:"bg"},jh:{A:"textItems"},Nk:{A:"childItems"},type:{A:"type"},text:{A:"text"},Lh:{A:"bbox"},Xg:{A:"hFlip"},mh:{A:"vFlip"},rotation:{A:"rotation"},Xk:{A:"lineWeight"},Cf:{A:"normalizedPic"},aW:{A:"hasTransparency"},fc:{A:"crop",
left:{A:"l"},top:{A:"t"},right:{A:"r"},bottom:{A:"b"}},line:{A:"line"},fill:{A:"fill"},Gm:{A:"glow"},Qm:{A:"reflection"},Vm:{A:"shadow"},Xm:{A:"softEdge"},Ym:{A:"threeD"}}},fX:{A:"qb"},gX:{A:"qB",Ds:{A:"i"},aF:{A:"r"},AD:{A:"n",DD:{A:"t"},xD:{A:"a"},yD:{A:"p"}},cE:{A:"f",Lm:{A:"p",type:{A:"t",LD:{A:"w"},Xc:{A:"n"},Yc:{A:"s"}},H:{A:"s"}},bE:{A:"f"}}},hX:{A:"qt"},vX:{A:"sB",Es:{A:"i"},AD:{A:"n",DD:{A:"t"},xD:{A:"a"},yD:{A:"p"}},cE:{A:"f",Lm:{A:"p",type:{A:"t",LD:{A:"w"},Xc:{A:"n"},Yc:{A:"s"}},H:{A:"s"}},
bE:{A:"f"}}},sE:{A:"it"},sj:{A:"pp"},kW:{A:"ip",navigationType:{A:"nt"},Cs:{A:"ai"}}},settings:{A:"e",navigation:{A:"n",Th:{A:"m",enabled:{A:"e"},target:{A:"t",step:{A:"s"},slide:{A:"l"}}},keyboard:{A:"k",enabled:{A:"e"},actions:{A:"a",name:{A:"n",RW:{A:"pp"},Yx:{A:"ns"},$W:{A:"ps"},EW:{A:"nt"},aX:{A:"pt"},yX:{A:"sf"},xX:{A:"sb"},JV:{A:"fs"},oW:{A:"ls"},wE:{A:"lv"},IX:{A:"ss"},EX:{A:"se"},cY:{A:"vu"},bY:{A:"vd"},RX:{A:"tf"}},Wm:{A:"s",key:{A:"k"},zx:{A:"c"},shift:{A:"s"}}}},mp:{A:"g",OF:{A:"z"}}},
Ob:{A:"p",eF:{A:"s"},Vc:{A:"a"},resume:{A:"r",prompt:{A:"p"},TU:{A:"a"},BW:{A:"n"}},Sh:{A:"l"},navigationType:{A:"n",i2:{A:"n"},nX:{A:"r"},zX:{A:"s"}}},Jk:{A:"a",fitToWindow:{A:"f"}},fn:{A:"w",link:{url:{A:"u"},target:{A:"t"}},Cy:{A:"s"},jy:{A:"p"}},Fp:{A:"P",password:{A:"p"},Qp:{A:"t",wV:{A:"a"},xV:{A:"u"}},Ex:{A:"d"}},Bm:{A:"A",enabled:{A:"e"}}},Gy:{A:"S",name:{A:"n"},slides:{A:"s"}},Vx:{A:"sS"},skinSettings:{A:"k"},xb:{A:"I"},Gs:{A:"b",content:{A:"c"},contentHover:{A:"ch"},url:{A:"u"},width:{A:"w"},
height:{A:"h"},Sp:{A:"t"},language:{A:"l"},$o:{A:"x"},Zo:{A:"d"},fp:{A:"xx"},gp:{A:"xy"}},Mt:{A:"W",src:{A:"s"},left:{A:"l"},top:{A:"t"},width:{A:"w"},height:{A:"h"},opacity:{A:"o"},url:{A:"u"},target:{A:"T"}},fonts:{A:"f",name:{A:"n"},localName:{A:"l"},urls:{A:"u"},gY:{A:"A"},NF:{A:"D"},UU:{A:"a"},sV:{A:"d"},QV:{A:"g"},bold:{A:"b"},italic:{A:"i"}},Mh:{A:"C",logo:{A:"l",Ws:{A:"i"},width:{A:"w"},height:{A:"h"}},ol:{A:"w"},Ry:{A:"t"}},Pm:{A:"p",name:{A:"n"},vE:{A:"j"},FD:{A:"b"},ol:{A:"w"},email:{A:"e"},
phone:{A:"p"},Mh:{A:"C"},ey:{A:"P",Ws:{A:"i"},width:{A:"w"},height:{A:"h"}}},Db:{A:"o",id:{A:"i"},Af:{A:"h"}},Wb:{A:"v",id:{A:"i"},Af:{A:"h"},poster:{A:"p"}},Jc:{A:"n",Kh:{A:"a"},ii:{A:"v"},track:{jt:{A:"i"},volume:{A:"v"},Qa:{A:"st"},Od:{A:"et"},timestamp:{H:{A:"s"},fa:{A:"t"},va:{A:"i"}}}},Gp:{A:"r",type:{A:"t",VU:{A:"a"},kX:{A:"r"}},title:{A:"i"},url:{A:"u"},target:{A:"a"}},Mm:{A:"P",loop:{A:"l"},Db:{A:"s"}}},b=IF();GF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CBmaWxsPSIjRjA4RjgyIiBkPSJNMzQsMzYuMzY1YzAtMS4yODctMS4wNDQtMi4zMzEtMi4zMzEtMi4zMzFjLTEuMjg4LDAtMi4zMzIsMS4wNDQtMi4zMzIsMi4zMzENCgljMCwwLjk3MSwwLjU5NCwxLjgwMiwxLjQzOCwyLjE1MnY0LjQ2N2gxLjkxdi00LjUyOUMzMy40NjEsMzguMDc2LDM0LDM3LjI4NywzNCwzNi4zNjV6Ii8+DQo8L3N2Zz4NCg==",
"data:image/svg+xml;base64, ",
"data:image/svg+xml;base64, ",
"data:image/svg+xml;base64, ",
"data:image/svg+xml;base64, "];
c=".trial_banner {position: relative;transform: translateZ(0); }  .trial_banner .banner-content,  .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; }  .trial_banner .banner-content {visibility: visible;z-index: 1; }  .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; }  .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; }  .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; }  .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }body {margin: 0;overflow-y: auto;overflow-x: hidden; }  body .password_form,  body .info_panel {position: absolute;background: #F7F7F7;border-radius: 4px;width: 513px;height: 210px;font-family: Arial; }    body .password_form *,    body .info_panel * {box-sizing: border-box; }  body .password_form .password_label {position: absolute;color: #3A3A3A;font-size: 15px;top: 63px;left: 55px; }  body .password_form .wrong_password_label {position: absolute;color: #DD4A37;font-size: 12px;top: 131px;left: 55px; }  body .password_form input {position: absolute;width: 330px;height: 32px;background: #FFFFFF;border: 1px solid #D1D2D4;padding: 1px;border-radius: 2px;font-size: 18px;color: #231F20;left: 54px;top: 94px;padding-left: 8px; }  body .password_form button {border: transparent;background: transparent;color: #343434;font-family: Arial;font-size: 15px;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); }    body .password_form button::before {background: linear-gradient(to bottom, #D3D3D3, #BABABA);position: absolute;content: '';top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;z-index: -1; }    body .password_form button::after {background: linear-gradient(to bottom, #DCDCDC, #D1D1D1);position: absolute;content: '';top: 1px;right: 1px;bottom: 1px;left: 1px;border-radius: 4px;z-index: -1; }  body .password_form .btn_ok {position: absolute;top: 94px;right: 55px;width: 60px;height: 32px;opacity: 0.99; }  body .info_panel {display: table; }    body .info_panel .label {position: static;display: table-cell;vertical-align: middle;width: 100%;padding-left: 120px;padding-right: 40px;color: #3A3A3A;font-size: 15px; }    body .info_panel::after {position: absolute;content: '';width: 63px;height: 63px;top: 73px;left: 46px; }    body .info_panel.domain::after {background: transparent url("+
c[0]+"); }    body .info_panel.time::after {background: transparent url("+c[1]+"); }#playerView * {position: static; }#playerView {position: static; }#content {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;padding: 0 96px;background: #CED1D3; }.presentation-view-mode-switch-control {width: 64px;height: 64px;position: fixed;left: 16px;top: 16px;cursor: pointer;border: none;background: url("+c[2]+") no-repeat center; }  .presentation-view-mode-switch-control:hover {background: url("+
c[3]+") no-repeat center; }  .presentation-view-mode-switch-control:active {background: url("+c[4]+") no-repeat center; }  .presentation-view-mode-switch-control:focus {outline: none; }.ppt-accessible-skin {font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal;min-width: 0;padding: 20px 64px 20px 64px;box-sizing: border-box;background: #FFFFFF; }.accessible-null-skin {font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal;min-width: 0;padding: 20px 64px 20px 64px;box-sizing: border-box;background: #FFFFFF; }.ppt-accessible-slide {margin-bottom: 20px; }  .ppt-accessible-slide img,  .ppt-accessible-slide video,  .ppt-accessible-slide audio {display: block;margin: 32px 0 32px 0; }  .ppt-accessible-slide img {max-width: 100%;max-height: 30%; }  .ppt-accessible-slide video {max-width: 100%; }.ppt-accessible-top-panel {margin-bottom: 20px; }  .ppt-accessible-top-panel__slide-status {font-size: 20px;font-weight: 400; }.ppt-accessible-narration {margin: 16px 0; }  .ppt-accessible-narration video {max-width: 100%; }.ppt-accessible-slide-content p {margin: 16px 0; }.ppt-accessible-slide-content h2 {font-size: 30px;margin: 0; }.ppt-accessible-skip-link-container {position: relative;height: 27px; }.ppt-accessible-skip-link {position: absolute !important;display: block;left: -10000px;width: 1px;height: 1px;overflow: hidden; }  .ppt-accessible-skip-link:focus {left: auto;width: auto;height: auto; }.simple-navigation-panel {margin-top: 32px;margin-bottom: 32px;float: left;direction: rtl; }  .simple-navigation-panel__button {width: 217px;height: 46px;font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal; }    .simple-navigation-panel__button:nth-child(1) {margin-left: 12px; }.ppt-accessible-slide-list-wrapper {clear: both; }.ppt-accessible-slide-list {clear: both;margin: 16px 0;margin-top: 0; }  .ppt-accessible-slide-list summary {font-weight: 600;margin-bottom: 8px; }  .ppt-accessible-slide-list ul {padding: 0;margin: 0; }  .ppt-accessible-slide-list__item {list-style: none; }  .ppt-accessible-slide-list__item {cursor: pointer; }    .ppt-accessible-slide-list__item.ppt-accessible-slide-list__item_active {color: #A52A2A; }.ppt-accessible-slide-notes {clear: both;margin: 16px 0; }  .ppt-accessible-slide-notes summary {font-weight: 600;margin-bottom: 8px; }  .ppt-accessible-slide-notes ul {padding: 0;margin: 0; }  .ppt-accessible-slide-notes__item {list-style: none; }  .ppt-accessible-slide-notes p {margin: 0; }.ppt-accessible-resources {clear: both;margin: 16px 0; }  .ppt-accessible-resources summary {font-weight: 600;margin-bottom: 8px; }  .ppt-accessible-resources ul {padding: 0;margin: 0; }  .ppt-accessible-resources__item {list-style: none; }.ppt-accessible-presenter {clear: both;margin: 16px 0; }  .ppt-accessible-presenter summary {font-weight: 600;margin-bottom: 8px; }  .ppt-accessible-presenter ul {padding: 0;margin: 0; }  .ppt-accessible-presenter__item {list-style: none; }  .ppt-accessible-presenter p {margin: 6px 0;white-space: pre-line; }  .ppt-accessible-presenter a,  .ppt-accessible-presenter img {display: block;margin: 6px 0; }.quiz-accessible-skin {width: 100%;position: static !important; }.quiz-accessible-top-panel {padding-left: 0 !important;padding-right: 0 !important; }.quiz-accessible-slide {padding-left: 0 !important;padding-right: 0 !important; }.quiz-accessible-hidden-link-container {padding: 0 !important; }.quiz-accessible-control-panel {padding: 0 !important;margin-top: 32px;margin-bottom: 32px; }.quiz-accessible-slide-list {padding: 0 !important;margin: 16px 0 !important; }.accessible-quiz-review {padding: 0 !important;margin-bottom: 20px; }.ppt-accessible-scenario-slide-content {padding-top: 32px; }.scenario-accessible-skin {width: 100%;padding: 0 !important; }.ppt-accessible-footer .page-controls {position: relative;margin-top: 32px;margin-bottom: 32px;left: 0;top: 0;direction: rtl;float: left; }  .ppt-accessible-footer .page-controls button {margin: 0;min-width: 217px;min-height: 46px;font-family: 'Segoe UI', sans-serif;font-size: 20px; }  .ppt-accessible-footer .page-controls button:first-child {margin-left: 12px; }.ppt-accessible-footer .items-list {clear: both;margin-bottom: 16px;padding: 0;font-size: 20px; }  .ppt-accessible-footer .items-list summary {margin-bottom: 8px;font-weight: 600; }.ppt-accessible-footer .scenario-accessible-bottom-panel__button {width: 217px;height: 46px;font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal; }";
let d;for(const [f,h]of Object.entries(null!=(d=a)?d:{}))a=`__${f.replace(RegExp("\\.","g"),"_")}__`,c=c.replace(new RegExp(a,"g"),h);let e;for(const [f,h]of Object.entries(null!=(e=b)?e:{}))c=c.replace(new RegExp(f,"g"),h);c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.pA);c=c.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.nA);return Cm(c)}pA(a,b,c){return`url(data:image/svg+xml;base64,${ch(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="g436" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="${b}" offset="0"/><stop stop-color="${c}" offset="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#g436)" /></svg>`)})`}nA(a,
b,c){return`url(data:image/svg+xml;base64,${ch(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="gh436" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="${b}" offset="0"/><stop stop-color="${c}" offset="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#gh436)" /></svg>`)})`}};class LF{OD(a,b){var c="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB3aWR0aD0iMjhweCIgaGVpZ2h0PSIzM3B4IiB2aWV3Qm94PSIwIDAgMjguMzAyIDMzLjI0MiI+DQoJPHBhdGggZD0iTTAsMS44VjMxLjQ0MmExLjgsMS44LDAsMCwwLDIuNzI2LDEuNTQzbDI0LjctMTQuODJhMS44LDEuOCwwLDAsMCwwLTMuMDg3TDIuNzI2LjI1N0ExLjgsMS44LDAsMCwwLDAsMS44WiIgc3R5bGU9ImZpbGw6IzMzMyIvPg0KPC9zdmc+ data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOHB4IiBoZWlnaHQ9IjMzcHgiIHZpZXdCb3g9IjAgMCAyOC4zMDIgMzMuMjQyIj4NCgk8cGF0aCBkPSJNMCwxLjhWMzEuNDQyYTEuOCwxLjgsMCwwLDAsMi43MjYsMS41NDNsMjQuNy0xNC44MmExLjgsMS44LDAsMCwwLDAtMy4wODdMMi43MjYuMjU3QTEuOCwxLjgsMCwwLDAsMCwxLjhaIiBzdHlsZT0iZmlsbDojNTI4YmRmIi8+DQo8L3N2Zz4= data:image/png;base64,  data:image/svg+xml;base64,PD94bWwg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Ljk0NzQgMzUuNjg4NyA0MC43NDkyIDM1LjI2MDEgNDEuNjIyMSAzNS4wODY1QzQyLjQ5NSAzNC45MTI4IDQzLjM5OTggMzUuMDAxOSA0NC4yMjIxIDM1LjM0MjVDNDUuMDQ0MyAzNS42ODMxIDQ1Ljc0NzEgMzYuMjU5OSA0Ni4yNDE2IDM2Ljk5OTlDNDYuNzM2MSAzNy43NCA0NyAzOC42MSA0NyAzOS41QzQ3IDQwLjY5MzUgNDYuNTI1OSA0MS44MzgxIDQ1LjY4MiA0Mi42ODJDNDQuODM4MSA0My41MjU5IDQzLjY5MzUgNDQgNDIuNSA0NFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=".split(" ");
c=":root {--text-color: __playerText__;--panel-color: __asideBackground__;--button-background-color: __primaryButtonBackground__;--button-text-color: __primaryButtonText__;--button-hover-background-color: __primaryButtonBackgroundHover__;--button-hover-text-color: __primaryButtonTextHover__;--button-border-color: __primaryButtonBorder__;--button-hover-border-color: __primaryButtonBorderHover__;--page-background-color: __pageBackground__;--font-family-bold: nPFnb;--font-family-bold-italic: nPFnbi;--font-family-italic: nPFni;--font-family-normal: nPFn;--font-family-semibold: nPFnsb, nPFn;--font-family-semibold-italic: nPFnsbi, nPFni;--button-border-radius: __borderRadius__;--popup-border: __popupBorder__; }.none {position: absolute; }  .none .launch-screen {z-index: 100;position: fixed;top: 0;right: 0;bottom: 0;left: 0;background-color: rgba(0, 0, 0, 0.48); }    .none .launch-screen .launch-screen-button {top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 96px;height: 96px;position: absolute; }      .none .launch-screen .launch-screen-button__play-icon {background-color: #FFFFFF;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 90px;height: 90px;box-shadow: 0 12px 50px 0 rgba(0, 0, 0, 0.2);transition: 0.3s ease-in-out; }      .none .launch-screen .launch-screen-button__icon {background: url("+
c[0]+") no-repeat center;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 6px;width: 90px;height: 90px; }      .none .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__play-icon {width: 96px;height: 96px; }      .none .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__icon {background: url("+c[1]+") no-repeat center; }  .none .playerView .preloader {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5); }    .none .playerView .preloader::after {content: '';position: absolute;background: url("+
c[2]+");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;animation: preloader_spin 1s infinite linear; }  .none .title-panel {width: 100%;background: var(--panel-color);position: absolute;box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);height: 46px; }  .none.none_landscape .title-panel {display: none; }.android_default * {text-rendering: auto !important; }body {margin: 0;padding: 0;overflow: hidden;cursor: default;-ms-touch-action: pan-y;touch-action: pan-y;-webkit-tap-highlight-color: rgba(0, 0, 0, 0); }  body .password_form,  body .info_panel {position: absolute;background: #F7F7F7;border-radius: 4px;width: 513px;height: 210px;font-family: Arial; }    body .password_form *,    body .info_panel * {box-sizing: border-box; }  body .password_form .password_label {position: absolute;color: #3A3A3A;font-size: 15px;top: 63px;left: 55px; }  body .password_form .wrong_password_label {position: absolute;color: #DD4A37;font-size: 12px;top: 131px;left: 55px; }  body .password_form input {position: absolute;width: 330px;height: 32px;background: #FFFFFF;border: 1px solid #D1D2D4;padding: 1px;border-radius: 2px;font-size: 18px;color: #231F20;left: 54px;top: 94px;padding-left: 8px; }  body .password_form button {border: transparent;background: transparent;color: #343434;font-family: Arial;font-size: 15px;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); }    body .password_form button::before {background: linear-gradient(to bottom, #D3D3D3, #BABABA);position: absolute;content: '';top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;z-index: -1; }    body .password_form button::after {background: linear-gradient(to bottom, #DCDCDC, #D1D1D1);position: absolute;content: '';top: 1px;right: 1px;bottom: 1px;left: 1px;border-radius: 4px;z-index: -1; }  body .password_form .btn_ok {position: absolute;top: 94px;right: 55px;width: 60px;height: 32px;opacity: 0.99; }  body .info_panel {display: table; }    body .info_panel .label {position: static;display: table-cell;vertical-align: middle;width: 100%;padding-left: 120px;padding-right: 40px;color: #3A3A3A;font-size: 15px; }    body .info_panel::after {position: absolute;content: '';width: 63px;height: 63px;top: 73px;left: 46px; }    body .info_panel.domain::after {background: transparent url("+
c[3]+"); }    body .info_panel.time::after {background: transparent url("+c[4]+"); }.component_base,.component_container {position: absolute; }:focus {outline: none; }::-moz-focus-inner {border: 0; }input {-webkit-appearance: none;appearance: none; }button {cursor: pointer;margin: 0;border: 0; }button[disabled] {cursor: default; }.__player_view_id__ {position: absolute; }  .__player_view_id__ > * {position: absolute; }  .__player_view_id__ .slide {white-space: nowrap;font-size: 0; }    .__player_view_id__ .slide a {text-decoration: none;cursor: pointer; }      .__player_view_id__ .slide a img {border: 0; }    .__player_view_id__ .slide * {-ms-transform-origin: 0 0;transform-origin: 0 0; }    .__player_view_id__ .slide.relpos,    .__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top; }    .__player_view_id__ .slide.kern,    .__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1, 'liga' 0; }    .__player_view_id__ .slide.nokern,    .__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0, 'liga' 0; }  .__player_view_id__ .fullscreen {-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important; }    .__player_view_id__ .fullscreen > video,    .__player_view_id__ .fullscreen .video_player {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100;-ms-transform: none !important;transform: none !important; }    .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen {background: url("+
c[5]+") no-repeat; }      .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:hover {background: url("+c[6]+") no-repeat; }      .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:active {background: url("+c[7]+") no-repeat; }  .__player_view_id__ .video_player video {width: 100%;height: 100%;margin: auto;top: 0;right: 0;bottom: 0;left: 0; }    .__player_view_id__ .video_player video::cue {color: #FFFFFF;background-color: rgba(8, 8, 8, 0.75);border-radius: 4px;font-family: Helvetica, Roboto, Arial, sans-serif;line-height: 1.1; }  .__player_view_id__ .video_player.poster_frame_hide_video video {display: none; }  .__player_view_id__ .video_player.poster_frame video {opacity: 0; }  .__player_view_id__ .video_player.poster_frame_hide_video .poster, .__player_view_id__ .video_player.poster_frame .poster {position: absolute;width: 100%;height: 100%; }  .__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px; }    .__player_view_id__ .video_player .controls,    .__player_view_id__ .video_player .controls * {-webkit-backface-visibility: hidden;backface-visibility: hidden; }    .__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 64px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer; }      .__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+
c[8]+") no-repeat;cursor: pointer; }        .__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+c[9]+") no-repeat; }      .__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%; }      .__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%; }      .__player_view_id__ .video_player .controls .progress .tooltip {background: url("+
c[10]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Arial;font-size: 12px;padding-top: 2px;text-align: center; }    .__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 65px;padding: 8px;box-sizing: border-box;width: 28px;height: 64px; }      .__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+c[11]+");position: relative;cursor: pointer;width: 12px;height: 48px; }        .__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+
c[12]+");width: 100%; }    .__player_view_id__ .video_player .controls button {width: 100%;height: 100%; }      .__player_view_id__ .video_player .controls button.rate {background: url("+c[13]+") no-repeat center; }        .__player_view_id__ .video_player .controls button.rate.selected {background-color: rgba(255, 255, 255, 0.1); }      .__player_view_id__ .video_player .controls button.mute {background: url("+c[14]+"); }        .__player_view_id__ .video_player .controls button.mute:hover {background: url("+
c[15]+"); }        .__player_view_id__ .video_player .controls button.mute:active {background: url("+c[16]+"); }        .__player_view_id__ .video_player .controls button.mute.selected {background: url("+c[17]+"); }          .__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+c[18]+"); }          .__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+c[19]+"); }      .__player_view_id__ .video_player .controls button.subtitles {background: url("+
c[20]+") no-repeat center; }        .__player_view_id__ .video_player .controls button.subtitles.selected {background-color: rgba(255, 255, 255, 0.1); }      .__player_view_id__ .video_player .controls button.play {background: url("+c[21]+") no-repeat; }        .__player_view_id__ .video_player .controls button.play:hover {background: url("+c[22]+") no-repeat; }        .__player_view_id__ .video_player .controls button.play:active {background: url("+c[23]+") no-repeat; }        .__player_view_id__ .video_player .controls button.play.selected {background: url("+
c[24]+") no-repeat; }          .__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+c[25]+") no-repeat; }          .__player_view_id__ .video_player .controls button.play.selected:active {background: url("+c[26]+") no-repeat; }        .__player_view_id__ .video_player .controls button.play::after {background: url("+c[27]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: ''; }      .__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+
c[28]+") no-repeat; }        .__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+c[29]+") no-repeat; }        .__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+c[30]+") no-repeat; }        .__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+c[27]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: ''; }    .__player_view_id__ .video_player .controls .subtitles-list {width: 195px;right: 0;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; }      .__player_view_id__ .video_player .controls .subtitles-list__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; }        .__player_view_id__ .video_player .controls .subtitles-list__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; }      .__player_view_id__ .video_player .controls .subtitles-list__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; }        .__player_view_id__ .video_player .controls .subtitles-list__item.subtitles-list__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; }        .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; }          .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true']::before {background: url("+
c[31]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; }    .__player_view_id__ .video_player .controls .toggle_fullscreen {width: 52px;height: 34px; }    .__player_view_id__ .video_player .controls .play {width: 52px;height: 34px; }    .__player_view_id__ .video_player .controls .rate {width: 32px;height: 34px;right: 95px;top: 0; }      .__player_view_id__ .video_player .controls .rate.rate_subtitle-button-next {right: 127px; }    .__player_view_id__ .video_player .controls .playback-rate-menu {width: 120px;right: 51px;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; }      .__player_view_id__ .video_player .controls .playback-rate-menu.playback-rate-menu_subtitle-button-next {right: 83px; }      .__player_view_id__ .video_player .controls .playback-rate-menu__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; }        .__player_view_id__ .video_player .controls .playback-rate-menu__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; }      .__player_view_id__ .video_player .controls .playback-rate-menu__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; }        .__player_view_id__ .video_player .controls .playback-rate-menu__item.playback-rate-menu__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; }        .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; }          .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true']::before {background: url("+
c[31]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; }    .__player_view_id__ .video_player .controls .subtitles {width: 32px;height: 34px;right: 95px;top: 0; }    .__player_view_id__ .video_player .controls .toggle_fullscreen {right: -1px; }    .__player_view_id__ .video_player .controls .mute {width: 22px;height: 22px;right: 67px;top: 6px; }.popup_layer {position: absolute; }  .popup_layer .modal_layer {background: #000000;opacity: 0.4;z-index: 10;width: 100%;height: 100%; }  .popup_layer .message_box,  .popup_layer .confirm_window {background: #FFFFFF;border-radius: 5px;border: 1px solid rgba(0, 0, 0, 0.75);width: 357px;height: 150px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;z-index: 10; }    .popup_layer .message_box::after,    .popup_layer .confirm_window::after {background-color: #E6E6E6;width: 100%;height: 1px;top: 30px;position: absolute;content: ''; }    .popup_layer .message_box .title,    .popup_layer .message_box .message,    .popup_layer .confirm_window .title,    .popup_layer .confirm_window .message {font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;color: #323232; }    .popup_layer .message_box .title,    .popup_layer .confirm_window .title {position: absolute;left: 13px;top: 7px;font-weight: bold;background: transparent; }    .popup_layer .message_box .message,    .popup_layer .confirm_window .message {position: absolute;top: 47px;left: 69px;margin-right: 25px; }      .popup_layer .message_box .message::before,      .popup_layer .confirm_window .message::before {background-color: #E6E6E6;width: 35px;height: 35px;left: -45px;position: absolute;content: ''; }    .popup_layer .message_box button,    .popup_layer .confirm_window button {font-size: 14px;border-radius: 5px;color: #323232;width: 68px;height: 30px; }      .popup_layer .message_box button, .popup_layer .message_box button.mobile:hover, .popup_layer .message_box button.mobile:active,      .popup_layer .confirm_window button,      .popup_layer .confirm_window button.mobile:hover,      .popup_layer .confirm_window button.mobile:active {background: #D4D4D4; }      .popup_layer .message_box button:hover, .popup_layer .message_box button:active, .popup_layer .message_box button.mobile.active,      .popup_layer .confirm_window button:hover,      .popup_layer .confirm_window button:active,      .popup_layer .confirm_window button.mobile.active {background: #B8B8B8; }  .popup_layer .confirm_window button.btn_yes {left: 101px;top: 98px; }  .popup_layer .confirm_window button.btn_no {left: 181px;top: 98px; }  .popup_layer .confirm_window .message::before {background: url("+
c[32]+"); }  .popup_layer .message_box button.btn_ok {left: 141px;top: 98px; }  .popup_layer .message_box .message::before {background: url("+c[33]+"); }.transitionSlide.paused * {animation-play-state: paused !important; }.framesLayer .video_player {-ms-transform-origin: 0 0;transform-origin: 0 0; }.framesLayer *:not(.framesLayerContent) {pointer-events: all; }.framesLayer .framesLayerContent {position: absolute; }  .framesLayer .framesLayerContent > div {pointer-events: all; }.trial_banner {position: relative;transform: translateZ(0); }  .trial_banner .banner-content,  .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; }  .trial_banner .banner-content {visibility: visible;z-index: 1; }  .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; }  .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; }  .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; }  .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }.back_to_app {height: 100%;position: absolute;left: 0; }  .back_to_app__text {color: #3DA0E1;font-size: 16px;font-family: Helvetica Neue, Helvetica, Roboto, Arial;text-overflow: ellipsis;overflow: hidden;position: absolute;bottom: 0;top: 0;height: 24px;line-height: 24px;margin: auto;padding-left: 25px;max-width: 80px; }    .back_to_app__text::before {content: '';background: url("+
c[34]+") no-repeat center;height: 24px;width: 14px;left: 8px;position: absolute; }.popup-layer {top: 0;right: 0;bottom: 0;left: 0;z-index: 1;position: absolute;border-radius: inherit; }.modal-layer {background: #000000;opacity: 0.4;position: absolute;width: 100%;height: 100%;border-radius: inherit; }.uikit-primary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; }  .uikit-primary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; }  .uikit-primary-button.uikit-primary-button_size_medium {padding: 10px; }    .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text {font-size: 17px;line-height: 20px; }      .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:first-child {margin-left: 10px; }      .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:last-child {margin-right: 10px; }  .uikit-primary-button.uikit-primary-button_size_small {padding: 6px 12px; }    .uikit-primary-button.uikit-primary-button_size_small .uikit-primary-button__button-text {font-size: 14px;line-height: 20px; }  .uikit-primary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-primary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-primary-button__button-text {margin-right: 8px; }  .uikit-primary-button__left-icon {margin-right: 8px; }  .uikit-primary-button__button-text:first-child {margin-left: 0; }  .uikit-primary-button__button-text:last-child {margin-right: 0; }  .uikit-primary-button__left-icon:first-child {margin-left: 0; }  .uikit-primary-button__left-icon:last-child {margin-right: 0; }  .uikit-primary-button__right-icon:first-child {margin-left: 0; }  .uikit-primary-button__right-icon:last-child {margin-right: 0; }  .uikit-primary-button[disabled] {opacity: 0.4; }  .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); }  .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-secondary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; }  .uikit-secondary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; }  .uikit-secondary-button.uikit-secondary-button_size_medium {padding: 10px; }    .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 17px;line-height: 20px; }      .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:first-child {margin-left: 10px; }      .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:last-child {margin-right: 10px; }  .uikit-secondary-button.uikit-secondary-button_size_small {padding: 6px 12px; }    .uikit-secondary-button.uikit-secondary-button_size_small .uikit-secondary-button__button-text {font-size: 14px;line-height: 20px; }  .uikit-secondary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-secondary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-secondary-button__button-text {margin-right: 8px; }  .uikit-secondary-button__left-icon {margin-right: 8px; }  .uikit-secondary-button__button-text:first-child {margin-left: 0; }  .uikit-secondary-button__button-text:last-child {margin-right: 0; }  .uikit-secondary-button__left-icon:first-child {margin-left: 0; }  .uikit-secondary-button__left-icon:last-child {margin-right: 0; }  .uikit-secondary-button__right-icon:first-child {margin-left: 0; }  .uikit-secondary-button__right-icon:last-child {margin-right: 0; }  .uikit-secondary-button[disabled] {opacity: 0.4; }  .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); }  .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-link-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; }  .uikit-link-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; }  .uikit-link-button.uikit-link-button_size_medium {padding: 10px; }    .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text {font-size: 17px;line-height: 20px; }      .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:first-child {margin-left: 10px; }      .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:last-child {margin-right: 10px; }  .uikit-link-button.uikit-link-button_size_small {padding: 6px 12px; }    .uikit-link-button.uikit-link-button_size_small .uikit-link-button__button-text {font-size: 14px;line-height: 20px; }  .uikit-link-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-link-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-link-button__button-text {margin-right: 8px; }  .uikit-link-button__left-icon {margin-right: 8px; }  .uikit-link-button__button-text:first-child {margin-left: 0; }  .uikit-link-button__button-text:last-child {margin-right: 0; }  .uikit-link-button__left-icon:first-child {margin-left: 0; }  .uikit-link-button__left-icon:last-child {margin-right: 0; }  .uikit-link-button__right-icon:first-child {margin-left: 0; }  .uikit-link-button__right-icon:last-child {margin-right: 0; }  .uikit-link-button[disabled] {opacity: 0.4; }  .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); }  .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-primary-button {background: var(--button-background-color);color: var(--button-text-color); }  .uikit-primary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--button-border-color);background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; }  .uikit-primary-button__button-text {font-family: var(--font-family-normal);font-weight: 700; }  .uikit-primary-button.uikit-primary-button_active, .uikit-primary-button[aria-pressed='true'], .uikit-primary-button:focus {background: var(--button-hover-background-color);color: var(--button-hover-text-color); }    .uikit-primary-button.uikit-primary-button_active::after, .uikit-primary-button[aria-pressed='true']::after, .uikit-primary-button:focus::after {background: var(--button-hover-border-color);background-origin: border-box; }.message-box {background: var(--panel-color);position: absolute;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;border-radius: 7px;min-width: 280px;padding: 40px;box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); }  .message-box::after {content: '';box-sizing: border-box;border: 1px solid var(--popup-border);width: 100%;height: 100%;position: absolute;left: 0;top: 0;border-radius: 7px;pointer-events: none; }  .message-box__content {position: relative;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-direction: column;flex-direction: column; }  .message-box__icon {width: 24px;height: 24px;margin-bottom: 24px;position: relative;display: inline-block;color: var(--text-color);opacity: 0.72; }  .message-box .message-box-buttons {position: relative;width: 100%;height: 36px; }    .message-box .message-box-buttons__buttons {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center; }    .message-box .message-box-buttons__window-button {margin: 0 4px; }  .message-box .vertical-scrollbar {top: 40px; }  .message-box__message-container {overflow: hidden;display: inline-block;max-width: 480px;vertical-align: top;position: relative; }  .message-box__message {text-align: center;font-size: 16px;color: var(--text-color);text-overflow: ellipsis;overflow: hidden;position: relative;font-family: var(--font-family-normal); }  .message-box__buttons {margin-top: 28px; }.container-top-shadow {background: __verticalGradient(#FFFFFF, rgba(255, 255, 255, 0));background: linear-gradient(to bottom, #FFFFFF, rgba(255, 255, 255, 0));position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; }.container-bottom-shadow {background: __verticalGradient(rgba(255, 255, 255, 0), #FFFFFF);background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #FFFFFF);position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; }.vertical-scrollbar {position: absolute;right: 0;top: 4px;bottom: 4px;width: 14px;transition: opacity 0.2s ease; }  .vertical-scrollbar .thumb {position: absolute;width: 8px;right: 3px;padding: 1px;border-radius: 5px; }    .vertical-scrollbar .thumb__background {height: 100%;border-radius: 4px;background-color: rgba(0, 0, 0, 0.32);border: 1px solid rgba(255, 255, 255, 0.12); }.vertical-scrollbar {transition: none;opacity: 0.5 !important; }.presentation-view-mode-switch-control {width: 64px;height: 64px;position: fixed;left: 16px;top: 16px;cursor: pointer;border: none;background: url("+
c[35]+") no-repeat center; }  .presentation-view-mode-switch-control:not([disabled]):hover {background: url("+c[36]+") no-repeat center; }  .presentation-view-mode-switch-control:not([disabled]):active {background: url("+c[37]+") no-repeat center; }  .presentation-view-mode-switch-control:not([disabled]):focus {outline: none; }    .presentation-view-mode-switch-control:not([disabled]):focus::before {content: '';position: absolute;top: 3px;bottom: 3px;left: 3px;right: 3px;border: 1px dotted #FFFFFF;opacity: 0.6; }";
let d;for(const [f,h]of Object.entries(null!=(d=a)?d:{}))a=`__${f.replace(RegExp("\\.","g"),"_")}__`,c=c.replace(new RegExp(a,"g"),h);let e;for(const [f,h]of Object.entries(null!=(e=b)?e:{}))c=c.replace(new RegExp(f,"g"),h);c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.pA);c=c.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.nA);return Cm(c)}pA(a,b,c){return`url(data:image/svg+xml;base64,${ch(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="g436" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="${b}" offset="0"/><stop stop-color="${c}" offset="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#g436)" /></svg>`)})`}nA(a,
b,c){return`url(data:image/svg+xml;base64,${ch(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="gh436" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="${b}" offset="0"/><stop stop-color="${c}" offset="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#gh436)" /></svg>`)})`}};var MF={mb_question_icon:'<svg width="24" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_6286_104426)"><path d="M12.5003 23.1431C18.6543 23.1431 23.6431 18.1543 23.6431 12.0003C23.6431 5.84625 18.6543 0.857422 12.5003 0.857422C6.34625 0.857422 1.35742 5.84625 1.35742 12.0003C1.35742 18.1543 6.34625 23.1431 12.5003 23.1431Z" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/><path d="M9.92969 8.57143C9.92969 8.06285 10.0805 7.56569 10.3631 7.14282C10.6456 6.71995 11.0472 6.39036 11.5171 6.19574C11.9869 6.00111 12.504 5.95019 13.0028 6.04941C13.5016 6.14863 13.9598 6.39353 14.3194 6.75316C14.679 7.11278 14.9239 7.57096 15.0231 8.06977C15.1224 8.56858 15.0714 9.08561 14.8768 9.55547C14.6822 10.0253 14.3526 10.4269 13.9297 10.7095C13.5069 10.992 13.0097 11.1429 12.5011 11.1429V13.5" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.5006 16C12.2463 16 11.9977 16.0754 11.7863 16.2167C11.5748 16.358 11.41 16.5588 11.3127 16.7937C11.2154 17.0286 11.1899 17.2871 11.2395 17.5365C11.2892 17.7859 11.4116 18.015 11.5914 18.1949C11.7712 18.3747 12.0003 18.4971 12.2497 18.5467C12.4991 18.5963 12.7576 18.5709 12.9926 18.4736C13.2275 18.3762 13.4283 18.2115 13.5696 18C13.7109 17.7886 13.7863 17.54 13.7863 17.2857C13.7818 16.9461 13.6449 16.6216 13.4048 16.3815C13.1646 16.1413 12.8402 16.0044 12.5006 16Z" fill="currentColor"/></g><defs><clipPath id="clip0_6286_104426"><rect width="24" height="24" fill="currentColor" transform="translate(0.5)"/></clipPath></defs></svg>',
mb_warning_icon:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_6153_102233)"><path d="M12 23.1431C18.1541 23.1431 23.1429 18.1543 23.1429 12.0003C23.1429 5.84625 18.1541 0.857422 12 0.857422C5.846 0.857422 0.857178 5.84625 0.857178 12.0003C0.857178 18.1543 5.846 23.1431 12 23.1431Z" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 12V17.5" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 8.57171C12.4734 8.57171 12.8571 8.18795 12.8571 7.71456C12.8571 7.24118 12.4734 6.85742 12 6.85742C11.5266 6.85742 11.1428 7.24118 11.1428 7.71456C11.1428 8.18795 11.5266 8.57171 12 8.57171Z" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_6153_102233"><rect width="24" height="24" fill="currentColor"/></clipPath></defs></svg>'};class NF extends Bs{constructor(a){super(a);this.ZQ=new D}};class OF extends L{constructor(a){super({V:a});a=this.displayObject();document.body.appendChild(a);this.ie();Ce(this,window,"resize",this.ie,this)}ie(){var a=document.documentElement.clientWidth,b=document.documentElement.clientHeight;const c=Math.min(1,(document.documentElement.clientWidth-20)/this.width());Qm(this.displayObject(),c);di(this.displayObject(),"0 0");a=Math.max(10,Math.round((a-this.width()*c)/2));b=Math.max(0,Math.round((b-this.height()*c)/2));this.move(a,b)}Fd(){super.Fd();zd(this.displayObject())}}
;class PF extends OF{constructor(a,b){super("info_panel");Xs(this,b);b=new L({V:"label"});b.lc(a);b.Yh("alert");b.Ad("live","assertive");Ws(this,b)}};class QF extends dt{constructor(a){super(a,"input");this.Za().type="password"}value(){return this.Za().value}};function RF(a,b,c,d=!0){a=new L({Lk:a,V:b});a.lc(c);a.xa(d);return a}function SF(a){Ce(a,a.Hi.Za(),"input",()=>{a.nG.yb(!!a.Hi.value())});Ce(a,a.Hi.Za(),"keypress",b=>{13==b.keyCode&&a.Kv()})}
class TF extends OF{constructor(a,b,c,d){super("password_form");this.Yh("dialog");this.setAttribute("tabindex","-1");this.Kv=this.Kv.bind(this,d);this.OA=RF("LABEL","password_label",a);Ws(this,this.OA);this.Hi=new QF("password_field");Ws(this,this.Hi);this.mv=RF("DIV","wrong_password_label",b,!1);Ws(this,this.mv);this.nG=this.tu("btn_ok",c,this.Kv);Ws(this,this.nG);a=hd();b=hd();this.OA.setAttribute("id",a);this.OA.setAttribute("for",b);this.Hi.setAttribute("id",b);this.Hi.Ad("labelledby",a);this.Hi.Ad("required",
!0);this.mv.Yh("alert");this.mv.Ad("live","assertive");SF(this);ki||this.Hi.displayObject().focus()}tu(a,b,c){a=new eC({V:a});a.lc(b);a.yb(!1);B(this,a.za,c,this);return a}Kv(...a){a=a[0];const b=this.Hi.value();b&&(a(b),this.mv.xa(!0))}};function UF(a,b,c){ki&&(this.gg=rd("DIV"),Hm(this.gg,"tap_area"));bt.call(this,b);this.gg&&this.Ma(this.gg);this.Ww=!0;this.AQ=c?!0:!1;c&&this.Df(!1);a&&this.za.addHandler(this.pR,this);ki&&(a=this.Za(),Hm(a,"mobile"));this.zt(0);this.Za().setAttribute("tabindex","-1");this.Wt()}v(UF,bt);k=UF.prototype;k.vC=!1;k.hb=!0;k.GG=function(a){a=rd("BUTTON",a);Db&&8>=Tb||(a.type="button");return a};k.selected=function(){return this.vC};
k.Tm=function(a){if(a){var b=this.Za();Hm(b,"selected")}else b=this.Za(),Im(b,"selected");this.AQ&&this.Df(a);this.vC=a};k.enabled=function(){return this.hb};k.yb=function(a){UF.Ua.yb.call(this,a);const b=this.Za();b.disabled=a?"":"disabled";if(a){var c=this.displayObject();Im(c,"disabled")}else c=this.displayObject(),Hm(c,"disabled");!a&&b.blur&&b.blur();this.hb=a};k.Df=function(a){this.Za().setAttribute("aria-pressed",a)};k.pR=function(){this.Tm(!this.vC)};
k.pf=function(a){UF.Ua.pf.call(this,a);-1==this.El&&this.Za().blur()};k.Op=function(){return UF.Ua.Op.call(this)};k.Gj=function(a){this.enabled()&&UF.Ua.Gj.call(this,a)};k.hl=function(a){this.Ww=!1;UF.Ua.hl.call(this,a);this.Ww=!0};function VF(a,b,c,d){dt.call(this,"info_panel "+a);this.Av=c;a=mi();this.ya=Math.max(1,Math.min(a.width,a.height)/420);a=new dt("message");a.lc(b);this.Ma(a);b=this.displayObject();document.body.appendChild(b);this.Av&&(this.Ei=new UF(!1,"ok"),this.Ei.lc(d),d=this.Ei.displayObject(),document.body.appendChild(d));di(this.displayObject(),"0 0");Qm(this.displayObject(),this.ya);this.Av&&(di(this.Ei.displayObject(),"0 100%"),Qm(this.Ei.displayObject(),this.ya));this.ie();je(window,"resize",this.ie,!1,
this)}v(VF,dt);VF.prototype.Re=function(){zd(this.displayObject());this.Av&&zd(this.Ei.displayObject());ue(window,"resize",this.ie,!1,this)};VF.prototype.ie=function(){var a=document.documentElement.clientWidth/this.ya;let b=document.documentElement.clientHeight/this.ya;this.hh(a);this.Av&&this.Ei.hh(a);Hi&&(b+=2);a=b+"px";G(this.displayObject(),"min-height",a)};function WF(a,b,c,d){VF.call(this,"password",a,!0,c);a=new dt("password_field");this.Ma(a);this.Ei.yb(!1);const e=new QF("");a.Ma(e);const f=new dt("wrong_password_label");f.lc(b);f.xa(!1);this.Ma(f);const h=()=>{const g=e.value();g&&(d(g),f.xa(!0))};je(e.Za(),"input",()=>{this.Ei.yb(!!e.value())},!1,this);je(e.Za(),"keypress",g=>{13==g.keyCode&&h()},!1,this);this.Ei.za.addHandler(h,this)}v(WF,VF);class XF extends Hu{$k(){super.$k();G(this.background(),"display","none");G(this.content(),"display","none")}};function YF(a){const b=Object.assign({},a),c={};for(const d in b)"object"==typeof b[d]&&(b[d]=YF(b[d]),a=b[d],a._d&&(c[a._d]=a));b.toString=()=>b._;b.l2=d=>c[d];return b};const ZF={type:"t",id:"i",url:"u",target:"g",vt:"S",Ey:"s",Fy:"n",Ay:"r"};var $F={vF:{_:"s",text:{_:"t"},mO:{_:"f",OW:{_:"p",We:"s",length:"l",Fm:"b",vy:{_:"r",We:"s",length:"l",bold:"b",italic:"i",WX:"u",tp:Object.assign({_:"h"},ZF)}}},FM:{_:"a"},tp:Object.assign({_:"h"},ZF),aO:{_:"b"},rg:{_:"s"},$e:{_:"v"},nW:{_:"T"}}};const aG={};for(const a in $F)$F.hasOwnProperty(a)&&(aG[a]=YF($F[a]));var bG=class{constructor(a,b,c){this.type=a;this.id=b;this.Ay=this.Fy=this.Ey=this.target=this.url=this.vt=void 0;this.iW=c}};const cG=new Map;function dG(a,b,c){c=new bG(a[b.type],a[b.id],c);c.vt=a[b.vt];c.url=a[b.url];c.target=a[b.target];c.Ey=a[b.Ey];c.Fy=a[b.Fy];a=a[b.Ay];"boolean"===typeof a&&(c.Ay=a.toString());a=cG.get(c.type);if(void 0===a)throw Error("unknown hyperlink type");return a(c)}function eG(a,b){return`<a ${`id="${a.id}"`} ${`href="${a.url?a.url:"#"}"`} ${a.target?`target="${a.target}"`:""} ${a.vt?`title="${a.vt}"`:""} ${`onclick="${b}"`}>${a.iW||""}</a>`}cG.set("u",function(a){return eG(a,"return document.getElementById('$coreSprPlaceholder').getCore().gotoLink(this);")});
cG.set("N",function(a){return eG(a,`document.getElementById('$coreSprPlaceholder').getCore().gotoSlide(${a.Ey}, this);return false;`)});cG.set("f",function(a){return eG(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoFirstSlide(this);return false;")});cG.set("l",function(a){return eG(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoLastSlide(this);return false;")});cG.set("v",function(a){return eG(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoLastViewedSlide(this);return false;")});
cG.set("n",function(a){return eG(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoNextSlide(this);return false;")});cG.set("p",function(a){return eG(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoPreviousSlide(this);return false;")});cG.set("s",function(a){return eG(a,`document.getElementById('$coreSprPlaceholder').getCore().startSlideshow(this, '${a.Fy}', ${a.Ay});return false;`)});cG.set("e",function(a){return eG(a,"document.getElementById('$coreSprPlaceholder').getCore().endSlideshow(this);return false;")});function fG(a,b){a:switch(b[0].Fm){case "n":var c="ol";break a;case "u":c="ul";break a;default:c="p"}"p"==c?b.forEach(d=>{a+=`<p>${d.LN}</p>`}):(a+=`<${c}>`,b.forEach(d=>{a+=`<li>${d.LN}</li>`}),a+=`</${c}>`);return a}function gG(a){let b="";const c=[];a.forEach(d=>{d.Fm!=b&&(c.push([]),b=d.Fm);c[c.length-1].push(d)});return c};class hG{constructor(a){this.rf=a}then(a){this.rf=a(this.rf);return this}result(){return this.rf}};function iG(a,b){const c=a[b.text];a=a[b.mO];if(!c||!a)return c?`<span>${c}</span>`:"";const d=b.mO.OW;b=a[d].map(e=>jG(c,e,d));return gG(b).reduce(fG,"")}function jG(a,b,c){const {We:d,length:e,Fm:f,vy:h,sX:g}={We:b[c.We],length:b[c.length],Fm:b[c.Fm],vy:b[c.vy],sX:c.vy},l=a.substr(d,e);return{LN:h.map(n=>kG(l,n,g)).join(""),Fm:f}}
function kG(a,b,c){var d=b[c.We],e=b[c.length],f=b[c.bold]||!1,h=b[c.italic]||!1,g=b[c.WX]||!1,l=b[c.tp],n=c.tp;return(new hG(a)).then(m=>m.substr(d,e)).then(m=>m.replace(/\u000b/g,"<br />")).then(m=>lG(m)).then(m=>{h&&(m=`<${"i"}>${m}</${"i"}>`);return m}).then(m=>{f&&(m=`<${"b"}>${m}</${"b"}>`);return m}).then(m=>{g&&(m=`<${"u"}>${m}</${"u"}>`);return m}).then(m=>{l&&(m=dG(l,n,m));return m}).result()}
function lG(a){return(new hG(a)).then(b=>b.replace(/(\r\n|\r|\n)+/g," ")).then(b=>b.replace(/\xa0|[ \t]+/g," ")).result()};function mG(a,b){return a[b.nW]?(new hG(iG(a,b))).then(c=>c?`<h2>${c}</h2>`:"").result():""};function nG(a,b,c){return a.map(d=>{var e=d[b.rg]||d[b.$e];if(!(e=e?c.get(e):""))if(d[b.aO]&&(d[b.text]||d[b.FM]||d[b.tp])){e=`<img src="${d[b.aO]}" alt="${d[b.FM]||d[b.text]||""}">`;const f=d[b.tp];e=f?dG(f,b.tp,e):e}else e="";return e||mG(d,b)||iG(d,b)}).join("")};function oG(a){a=[...a.Db().ub(),...a.Wb().ub()];return new Map(a.map(b=>{var c=b.ff;c=c.Af()||pG(c);return[b.id(),qG(c)]}))}function pG(a){a=document.getElementById(a.id());return Gd(a)}function qG(a){return(new hG(a)).then(b=>b.includes("controls")?b:b.replace(">"," controls>")).then(b=>rG(b,"width")).then(b=>rG(b,"height")).then(b=>b.replace(RegExp('id="\\w+"'),"")).result()}function rG(a,b){return a.includes(b)?a.replace(new RegExp(`${b}="\\d*\\.*\\d+px"`),""):a};function sG(a,b){b.Pd()?tG(a,b):He(a,b.Lg,()=>tG(a,b))}function uG(a){a.ga&&(zd(a.Ja),zd(a.hG),zd(a.ga),a.ga=null)}function tG(a,b){var c=b.$p;b=oG(b.slide());c=JSON.parse(c);const d=aG.vF;b=nG(c[d],d,b).replace(/\$coreSprPlaceholder/g,a.uk);b=vd(Gc(b));a.Ja.appendChild(b);ys(a.Ja,"main");(b=a.Ja.querySelector("h2"))?(b.id=hd(),zs(a.Ja,"labelledby",b.id)):zs(a.Ja,"label",a.Id.PB_ACCESSIBLE_ARIA_LABEL_SLIDE)}
class vG extends og{constructor(a,b,c){super();this.ff=a;this.Id=b;this.uk=c;this.mL=hd();b=A("DIV");pd(b,{"class":"ppt-accessible-slide-display"});this.Kg=b;this.ga=null;b=A("DIV");pd(b,{"class":"ppt-accessible-slide-content"});b.setAttribute("tabindex","-1");b.id=this.mL;this.Ja=b;b=A("A");pd(b,{"class":"ppt-accessible-skip-link"});b.innerText=this.Id.PB_ACCESSIBLE_ARIA_LABEL_BACK_TO_BEGIN;b.href=`#${this.mL}`;c=A("DIV");pd(c,{"class":"ppt-accessible-skip-link-container"});c.appendChild(b);this.hG=
c;sG(this,a)}zd(){}Um(a){Dh(this.ga,a)}width(){return 0}height(){return 0}slide(){return this.ga}content(){return this.Ja}background(){throw Error("no background in accessible mode");}resize(){}$k(){uG(this);this.ga=A("DIV");pd(this.ga,{"class":"ppt-accessible-slide"});this.ga.appendChild(this.Ja);this.ga.appendChild(this.hG);this.Kg.appendChild(this.ga)}nj(){uG(this)}oN(){}clone(){throw Error("no clone in accessible mode");}Mx(){throw Error("no background in accessible mode");}};class wG extends iq{constructor(a,b,c,d,e,f){super(a,b,c,d,e,f);f&&f.Pd()&&w((f.Ja||document).getElementsByTagName("IMG"),h=>{h.style.transform=""})}};function xG(a){const b=document.createElement("div");b.style.width=`${a.width()}px`;b.style.height=`${a.height()}px`;b.style.backgroundColor=a.jP;b.style.position="relative";return b}class yG extends iq{constructor(a,b,c,d){super(a,-1,b,c);this.jP=d||"#000000";eq(this,xG(this),xG(this))}};function zG(a,b){a.nn=b;a.zC.appendChild(b.Kg)}function AG(a){a.L.splice(0,a.L.length)}class BG{constructor(a){this.L=[];this.zC=a;this.nn=null}};class CG extends Ju{constructor(a){super(a);this.Yd=null;this.ZH=ng(this)}$a(){return this.Yd}jF(a){this.Yd=a;this.ZH.D(this.Yd)}};class DG extends Ju{constructor(a){super(a);this.sd=null;this.yK=ng(this)}Ca(){return this.sd}oF(a){this.sd=a;this.yK.D()}};function EG(a){G(a.Vr,"position","normal"==a.Da?"absolute":"")}function FG(a){a.$t.forEach(b=>{b.Pd()?a.WK(b):He(a,b.Lg,a.WK,a)})}
function GG(a){Ke(a,...a.Fb);a.Fb.splice(0,a.Fb.length);xd(a.Vr);AG(a.xg);zG(a.xg,a.nn);HG(a);IG(a);a.$t.forEach(b=>{if(b instanceof DG)JG(a,new Iu(a.xg,a.Fb.length,a.pa,a.ka,a.ir,b,a.Da));else if(b instanceof CG){a:switch(a.Da){case "normal":b=new Hu(a.xg,a.Fb.length,a.pa,a.ka,a.ir,b,a.Da);break a;case "accessible":b=new XF(a.xg,a.Fb.length,a.pa,a.ka,a.ir,b,a.Da);break a;default:throw Error("unknown presentation view mode");}JG(a,b)}else if(b instanceof Ku)JG(a,new Lu(a.xg,a.Fb.length,a.pa,a.ka,
a.ir,b,a.Da));else{a:switch(a.Da){case "normal":b=new wG(a.xg,a.Fb.length,a.pa,a.ka,a.ir,b);break a;case "accessible":b=new vG(b,a.Id,a.uk);break a;default:throw Error("unknown presentation view mode");}JG(a,b)}})}function HG(a){a.Qz.forEach((b,c)=>{di(c,`${b.origin.x}px ${b.origin.y}px`);Jm(c,b.transform)})}function IG(a){Array.from(a.Qz.keys()).forEach(b=>{b.style.width="";b.style.height=""})}function JG(a,b){Je(a,b);var c=a.xg;c.L.push(b);c.zC.appendChild(b.Kg);a.Fb.push(b)}
class KG extends og{constructor({xF:a,Dm:b,width:c,height:d,vW:e,Iy:f,backgroundColor:h,KF:g,messages:l}){super();this.$t=b;this.pa=c;this.ka=d;this.ir=e;this.uk=f;this.Da=g;this.Id=l;this.Qz=new Map;this.Fb=[];this.Vr=A("DIV");Hm(this.Vr,"slide-displays-root");a.appendChild(this.Vr);EG(this);this.xg=new BG(this.Vr);this.nn=new yG(this.xg,c,d,h);FG(this);GG(this)}width(){return this.pa}height(){return this.ka}background(){return this.nn}resize(a,b){if(this.pa!=a||this.ka!=b)this.pa=a,this.ka=b,this.nn.resize(a,
b),this.Fb.forEach(c=>c.resize(a,b))}$h(a){this.Da!=a&&(this.Da=a,EG(this),GG(this))}WK(a){const b=Array.from(od("IMG",null,a.Ja));a=Array.from(od("IMG",null,a.slideBackground()));b.concat(a).forEach(c=>{const d=Nm(c)||new Dl,e=Om(c)||new Sc;this.Qz.set(c,{transform:d,origin:e})})}};class LG{constructor(a,b,c,d){this.ga=a;this.ud=b;this.td=c;this.yc=d;this.Oc=this.Yd=this.sd=this.$p=this.Ja=null}slide(){return this.ga}slideWidth(){return this.ud}slideHeight(){return this.td}Ca(){return this.sd}oF(a){this.sd=a}$a(){return this.Yd}jF(a){this.Yd=a}Pa(){return this.Oc}pF(a){this.Oc=a}Qk(){return this.yc}};class MG{constructor(a){this.nf=0;this.EU=void 0!==a?a:0;this.Zq=new D;this.fr=new D;this.eC=new D;this.Ej=null}weight(){return this.EU}progress(){return this.nf}context(){return this.Ej}start(a){this.Ej=a}ft(){return this.Zq}gt(){return this.fr}om(a){this.nf!=a&&(this.nf=a,this.eC.D(this))}Fe(){this.nf=1;this.Zq.D(this)}$q(){this.fr.D(this)}};class NG extends MG{constructor(a){super();this.Dz=a}start(a){super.start(a);const b=nd(document,this.Dz);b?(a.Ja=b,this.Fe()):this.$q()}};var OG,PG,QG=[],RG=new D,SG=new D,TG=new D;r("iSpring.InteractionPlayerFactory.registerCreateQuizPlayerFunction",function(a){OG=a;RG.D()});r("iSpring.InteractionPlayerFactory.registerCreateScenarioPlayerFunction",function(a){PG=a;SG.D()});r("iSpring.InteractionPlayerFactory.registerCreateInteractionPlayerFunction",function(a,b){QG[a]=b;TG.D(a)});function UG(a,b,c,d,e,f,h,g,l,n,m,p){const q=OG;if(!q)throw Error("quiz player is not loaded");q(a,b,c,d,e,f,h,g,l,n,m,p)}
function VG(a,b,c,d,e,f,h,g,l,n,m,p){const q=QG[a];if(!q)throw Error(a+" player is not loaded");q(b,c,d,e,f,h,g,l,n,m,p)}function WG(a,b,c,d,e,f,h,g,l,n,m,p,q,t,u,y,E){const x=PG;if(!x)throw Error("scenario player is not loaded");x(a,b,c,d,e,f,h,g,l,n,m,p,q,t,u,y,E)};function XG(a,b,c){YG[b]=c;a="q_"+a;window[a]||(window[a]=function(d,e,f,h,g){(0,YG[d])(e,f,h,g);YG[d]=null})}function ZG(a,b,c){YG[b]=c;a="i_"+a;window[a]||(window[a]=function(d,e,f,h){const g=YG[d];g&&(g(e,f,h),YG[d]=null)})}function $G(a,b,c){YG[b]=c;a="s_"+a;window[a]||(window[a]=function(d,e,f,h,g,l,n,m){const p=YG[d];p&&(p(e,f,h,g,l,n,m),YG[d]=null)})}function aH(a,b,c){YG[b]=c;a="sl_"+a;window[a]||(window[a]=function(d,e,f){const h=YG[d];h&&(h(e,f||null),YG[d]=null)})}
function bH(a){zd(a.aL);a.aL=void 0}function cH(a,b,c,d){const e=a.Cl.substr(0,a.Cl.lastIndexOf("/")+1);var f=rd("div");const h=rd("div");var g=new L;const l=a.context();g.resize(l.slideWidth(),l.slideHeight());f.appendChild(g.displayObject());f.appendChild(h);l.Ja=f;f=dH(a);g=l.slide();const n=g.sE(),m=eH(a.pk.Uu,a.pk.xb()),p=VG.bind(void 0,n,b,c,d,h,f,l.slideWidth(),l.slideHeight(),a.oQ.bind(a),e,g.index(),m);void 0!==QG[n]?p():(TG.addHandler(q=>{q==n&&p()}),ti(g.sj()))}
function fH(a,b,c,d,e,f,h,g){const l=a.Cl.substr(0,a.Cl.lastIndexOf("/")+1);var n=rd("div");const m=rd("div");var p=new L;const q=a.context();p.resize(q.slideWidth(),q.slideHeight());n.appendChild(p.displayObject());n.appendChild(m);q.Ja=n;n=dH(a);p=q.slide();const t=gH(a.pk.Uu),u=WG.bind(void 0,b,c,d,e,m,n,q.slideWidth(),q.slideHeight(),a.qQ.bind(a),l,p.index(),f,h,g,a.pk.Bm().enabled(),t);void 0!==PG?u():(SG.addHandler(()=>{u()}),ti(p.sj()))}
function dH(a){const b=rd("div");a.context().Qk().appendChild(b);Hm(b,"framesLayerContent");return b}
class hH extends MG{constructor(a,b,c,d){super(70);this.lw=a;this.Kb=b;this.Cl=c;this.pk=d}start(a){super.start(a);const b=a.slide()instanceof tq,c=a.slide()instanceof Kp;a=a.slide()instanceof Sp;b?XG(this.lw,this.Kb,this.TR.bind(this)):c?ZG(this.lw,this.Kb,this.HR.bind(this)):a?$G(this.lw,this.Kb,this.ZR.bind(this)):aH(this.lw,this.Kb,this.cS.bind(this));this.aL=ti(this.Cl)}cS(a,b){a=Hi&&Ei&&navigator.connection&&navigator.connection.saveData?a.replace(/<img/g,'<img loading="eager"'):a;var c=rd("div");
c.innerHTML=a;a=void 0!==c.firstElementChild?c.firstElementChild:Bd(c.firstChild);c=this.context();c.Ja=a;c.$p=b;this.Fe();bH(this)}TR(a,b,c,d){const e=this.Cl.substr(0,this.Cl.lastIndexOf("/")+1);var f=rd("div");const h=rd("div");var g=new L;const l=this.context();c=l.slide();c.iz&&(Vs(g,"background",`url(${c.iz})`),Vs(g,"background-size","100% 100%"));g.resize(l.slideWidth(),l.slideHeight());f.appendChild(g.displayObject());f.appendChild(h);l.Ja=f;f=dH(this);g=iH(this.pk.Uu,this.pk.xb());const n=
l.slide();a=UG.bind(void 0,a,b,h,f,l.slideWidth(),l.slideHeight(),this.pQ.bind(this),e,c.index(),d,g,n.Yv);void 0!==OG?a():(RG.addHandler(a),ti(c.sj()));bH(this)}HR(a,b,c){cH(this,a,b,c);bH(this)}ZR(a,b,c,d,e,f,h){fH(this,a,b,c,d,e,f,h);bH(this)}pQ(a){this.context().oF(a);this.Fe()}oQ(a){this.context().jF(a);this.Fe()}qQ(a){this.context().pF(a);this.Fe()}}var YG=[];function jH(){};var kH;function lH(){}v(lH,jH);lH.prototype.ND=function(){a:{if(!this.nN&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){const b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(let c=0;c<b.length;c++){const d=b[c];try{new ActiveXObject(d);var a=this.nN=d;break a}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}a=this.nN}return a?new ActiveXObject(a):new XMLHttpRequest};
kH=new lH;function mH(){this.Yb=new D}mH.prototype.response=function(){return this.IK};mH.prototype.send=function(a,b,c){var d;if(d=Ri){var e=window.location.toString();d=a.match(fD);e=e.match(fD);d=!(d[3]==e[3]&&d[1]==e[1]&&d[4]==e[4])}d?nH(this,a,b,c):oH(this,a,b,c)};
function nH(a,b,c,d){const e=new XDomainRequest;b=pH(b);e.onload=function(){a.IK=e.responseText;a.Yb.D(!0)};e.onerror=function(){a.Yb.D(!1)};e.ontimeout=function(){Ri&&window.console.log("ontimeout")};e.onprogress=function(){Ri&&window.console.log("progress")};try{e.open(c,b),e.send(hD(d))}catch(f){e.onerror()}}
function oH(a,b,c,d){const e=kH.ND();d=hD(d);"GET"==c&&(b+="?"+d);e.open(c,b,!0);e.onreadystatechange=function(){try{4==e.readyState&&(200==e.status?(a.IK=e.responseText,a.Yb.D(!0)):a.Yb.D(!1))}catch(f){a.Yb.D(!1)}};try{"POST"==c?(e.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),e.send(d)):e.send()}catch(f){a.Yb.D(!1)}}
function pH(a){const b=window.location.toString().match(fD)[1]||null;if(null!=b&&"file"!=b){const c=a.match(fD)[1]||null;null!=c&&(a=b+a.substr(c.length))}return a};class qH extends og{constructor(){super();this.Yb=ng(this);this.Dl=null}load(a){const b=new mH;He(this,b.Yb,()=>{this.Dl=Cm(b.response());this.Yb.D(this.Dl)});b.send(a,"GET",{})}};let rH=null,sH=0;function tH(a,b){if(Ri)if(a=`@import "${b}";`,!rH||30<=sH)rH=Cm(a).styleSheet,sH=1;else{var c=a;a=rH;b=void 0;if(void 0==b||0>b)b=Bm(a).length;if(a.insertRule)a.insertRule(c,b);else if(c=/^([^\{]+)\{([^\{]+)\}/.exec(c),3==c.length)a.addRule(c[1],c[2],b);else throw Error("Your CSSRule appears to be ill-formatted.");++sH}else a.Yq=rd("link",{rel:"stylesheet",type:"text/css",href:b}),od("head")[0].appendChild(a.Yq)}
class uH{constructor(){this.Yq=null;this.Yb=new D}load(a){const b=Db||Cb?zm:Am,c=b().length;tH(this,a);const d=this,e=setInterval(()=>{try{if(null!=d.Yq&&null!=d.Yq.sheet||b().length!=c)clearInterval(e),d.Yb.D(this.Yq)}catch(f){}},100)}};class vH extends MG{constructor(a){super(30);this.KP=a;this.Dl=null}get nV(){return this.Dl}start(a){super.start(a);a=ui()||Ri?new uH:new qH;a.Yb.addHandler(b=>{this.Dl=b;this.Fe()},this);a.load(this.KP)}};class wH extends MG{constructor(){super();this.ru=this.qu=0;this.FU=1}weight(){return this.FU*this.qu}start(a){super.start(a);var b=a.Ja;if(b){a={};b=b.querySelectorAll("span");for(var c=0;c<b.length;++c){var d=b[c];let g=oh(d,"fontFamily");if(g){var e=g.indexOf(",");0<=e&&(g=g.substr(0,e));e=[];Ld(d,e,!0);d=e.join("");d=d.replace(/ \xAD /g," ").replace(/\xAD/g,"");d=d.replace(/\u200B/g,"");d=d.replace(/ +/g," ");" "!=d&&(d=d.replace(/^\s*/,""));d=fb(d);0<d.length&&(g in a||(a[g]=""),a[g]+=d)}}for(f in a)a.hasOwnProperty(f)&&
(b=a[f].split(""),Wa(b),a[f]=b.join(""));var f=a;a=0;for(var h in f)a++;this.qu=a;h=this.AR.bind(this);a=this.zR.bind(this);for(const g in f)if(f.hasOwnProperty(g)){b=f[g];a:{for(c=0;c<b.length;++c)if(61440<=b.charCodeAt(c)&&61695>=b.charCodeAt(c)){c=!0;break a}c=!1}eB(g,c?b.substr(0,1):"0",h,a)}this.Wi()}else this.Fe()}AR(){++this.ru;this.Wi()}zR(){++this.ru;this.Wi()}Wi(){this.ru==this.qu?this.Fe():this.om(this.ru/this.qu)}};class xH extends MG{constructor(){super();this.GU=1;this.yn=0;this.gr=[];this.gH={};this.Fu=-1}weight(){return this.GU*this.yn}start(a){super.start(a);if(a=a.Ja){a=a.querySelectorAll("img");this.yn=a.length;for(let b=0;b<this.yn;++b){const c=a[b];c.complete&&0<c.naturalWidth||"data:"==c.src.substr(0,5)||(this.gr.push(c),c.onload=this.FR.bind(this,c),c.onerror=this.DR.bind(this,c))}this.Fu=setInterval(this.dQ.bind(this),500);this.Wi()}else this.Fe()}dQ(){for(let b=0;b<this.gr.length;++b){var a=this.gr[b];
if(a.complete&&0==a.naturalWidth){const c=a.src;a.removeAttribute("src");a.src=c}}}DR(a){const b=ma(a)+"";b in this.gH?this.Ev(a):this.gH[b]=1}FR(a){this.Ev(a)}Ev(a){a.onload=a.onerror=null;Ma(this.gr,a);this.Wi()}Wi(){const a=this.yn-this.gr.length;a==this.yn?(this.Fe(),0<this.Fu&&(clearInterval(this.Fu),this.Fu=-1)):this.om(a/this.yn)}};function yH(a,b){b.eC.addHandler(a.uJ,a);b.ft().addHandler(a.lo,a);b.gt().addHandler(a.FB,a)}function zH(a,b){b.eC.removeHandler(a.uJ,a);b.ft().removeHandler(a.lo,a);b.gt().removeHandler(a.FB,a)}class AH extends MG{constructor(a,b){super(b);this.vi=a;this.qq=0}Wi(){let a=0,b=0;const c=this.vi.length;for(let d=0;d<c;++d){const e=this.vi[d];a+=e.weight();b+=e.progress()*e.weight()}this.om(0<a?b/a:this.qq/c)}uJ(){this.Wi()}lo(a){zH(this,a);++this.qq;this.Wi()}FB(a){zH(this,a);this.$q()}};class BH extends AH{constructor(a,b){super(a,b);this.dA=!1}start(a){super.start(a);for(let b=0;b<this.vi.length;++b){const c=this.vi[b];yH(this,c);c.start(a);if(this.dA)break}}lo(a){super.lo(a);this.qq==this.vi.length&&this.Fe()}FB(){if(!this.dA){this.dA=!0;for(let a=0;a<this.vi.length;++a)zH(this,this.vi[a]);this.$q()}}};class CH extends BH{constructor(){super([new xH,new wH],60)}start(a){const b=a.Ja;if(b){const c=A("div");G(c,{width:"1px",height:"1px",position:"absolute",overflow:"hidden",top:"0"});I(c,0);c.appendChild(b);ha.document.body.appendChild(c)}super.start(a)}$q(){var a=this.context();(a=a&&a.Ja)&&(a=Dd(a))&&zd(a);super.$q()}Fe(){var a=this.context();(a=a&&a.Ja)&&(a=Dd(a))&&zd(a);super.Fe()}};function DH(a){if(a.qq>=a.vi.length)a.Fe();else{var b=a.context(),c=a.vi[a.qq];yH(a,c);c.start(b)}}class EH extends AH{constructor(a){super(a)}start(a){super.start(a);DH(this)}lo(a){super.lo(a);DH(this)}};class FH{constructor(a){this.Dz=a}Ok(){return this.Dz}};class GH{constructor(a,b){this.mQ=a;this.IG=b}};const HH=ki?[0,1,2,-1,3,4,-2,5]:[0,1,2,-1,3,4,-2,5,6,7,8,9,10];
function IH(a,b){a.nv=b;const c=a.Ur[b];c.Ea=1;const d=c.slide();var e=a.kP;const f=[],h=d.src();if(!h)throw Error("slide src can't be null");let g=null;h instanceof GH?(b=new hH(a.J.HF(),b,e+h.mQ,a.J.settings()),h.IG?(g=new vH(e+h.IG),f.push(new BH([g,b],20))):f.push(b)):(e=h.Ok(),f.push(new NG(e)));"slide"==d.type()&&f.push(new CH);e=new LG(d,a.J.slideWidth(),a.J.slideHeight(),a.yc);const l=new EH(f);B(a,l.ft(),n=>{Me(a,l);var m=n.context();d.dI=!0;n=m.Ja;const p=Ad(n);c.Wk(p[1],p[0],m.$p);c instanceof
DG?(m=m.Ca(),c.oF(m)):c instanceof CG?(m=m.$a(),c.jF(m)):c instanceof Ku&&(m=m.Pa(),c.pF(m));d instanceof Wl&&(n=a.BC.create(d,n,g?g.nV:null),JH(n.HS.Go,n.ET),n.OC&&n.TJ());KH(a);a.Lg.D(d)});B(a,l.gt(),()=>{Me(a,l);KH(a);a.GT.D(d)});l.start(e)}function VE(a){Zg(a.LQ,100,a)}function KH(a){a.rI[a.nv]=!0;a.nv=void 0;VE(a)}
class LH extends og{constructor(a,b){super();this.J=a;this.BC=b;this.kP="";a=a.slides();b=[];for(let d=0;d<a.count();++d){var c=a.R(d);c=c instanceof tq?new DG(c):c instanceof Kp?new CG(c):c instanceof Sp?new Ku(c):new Ju(c);b.push(c)}this.Ur=b;this.yc=null;this.rI={};this.nv=void 0;this.Lg=ng(this);this.GT=ng(this);this.hb=!0}LQ(){if(this.hb&&void 0===this.nv){for(let b=0;b<HH.length;++b){const c=this.I+HH[b];if(0<=c&&c<this.Ur.length&&void 0===this.rI[c]){var a=c;break}}void 0!==a&&IH(this,a)}}Sm(a){this.I=
a;VE(this)}op(a){switch(this.Ur[a].state()){case 2:return 2;case 1:return 1;default:return 0}}yb(a){(this.hb=a)&&VE(this)}};function kB(a,{xF:b,width:c,height:d,uW:e,backgroundColor:f,KF:h}){const g=[];for(let l=0;l<a.Fc.Ur.length;++l)g.push(a.Fc.Ur[l]);return new KG({xF:b,Dm:g,width:c,height:d,vW:e,Iy:a.uk,backgroundColor:f,KF:h,messages:a.Id})}class MH{constructor(a,b,c){this.Fc=a;this.uk=b;this.Id=c}};function NH(a,b,c){a=a.J.settings().xb();return a.hasOwnProperty(b)?a[b]:c}function OH(a,b){const c=new (Ti?WF:TF)(NH(a,"PB_ENTER_PASSWORD","Enter a password to watch the presentation:"),NH(a,"PB_INCORRECT_PASSWORD","The password is incorrect. Please try again"),NH(a,"PB_MESSAGE_BOX_OK","OK"),d=>{d==b&&(c.Re(),PH(a))})}function PH(a){var b=new MH(new LH(a.J,a.BC),a.J.settings().Iy(),a.J.settings().xb()||{});b=new iF(a.J,a.FS,b);a.ro.D(b)}
class QH extends og{constructor(a,b,c){super();this.J=a;this.FS=b;this.BC=c;this.ro=ng(this)}Pk(){var a=this.J.settings().Fp(),b=a.Ex(),c;if(c=b){a:{c=window.location.hostname;for(var d=0;d<b.length;++d)if(c==b[d]||eb(c,"."+b[d])){b=!0;break a}b=!1}c=!b}if(c)a=NH(this,"PB_DOMAIN_RESTRICTION","Sorry, the presentation's creator disabled viewing the presentation at this domain"),Ti?new VF("domain",a,!1):new PF(a,"domain");else{if(b=d=a.Qp()){a:{b=new gr;c=d.getStartDate();d=d.Qs;if(c&&d){const e=0>jr(b,
d),f=0>=jr(c,b);if(0>jr(c,d)){b=e&&f;break a}if(0>jr(d,c)){b=e||f;break a}}b=c&&0>jr(b,c)?!1:!(d&&0<=jr(b,d))}b=!b}b?(a=NH(this,"PB_TIME_RESTRICTION","Sorry, the presentation's creator disabled viewing the presentation at the moment"),Ti?new VF("time",a,!1):new PF(a,"time")):a.NB?OH(this,a.password()):PH(this)}}};function RH(a){a=a.querySelectorAll("*");const b=[];for(const c of a)/^txt\w*/.test(c.id)&&b.push(c);return b}function SH(a,b){const c=new Map;RH(a).forEach(d=>{var e=b.find(f=>!!f.selectorText.match(d.id));(e=e?e.style:null)&&c.set(d,e)});return c}function JH(a,b){a.forEach(c=>{Nl(c).forEach(d=>{const e=b.querySelector("#"+d.id);qh(e,0,0);var f=d.la.left,h=d.la.top;f=(new Dl).setTransform(1,0,0,1,f,h);f=El(d.tg.clone(),El(f,d.Gf));Jm(e,f)})})};function TH(a,b){const c=[];a.PX.forEach((d,e)=>{b(d)&&c.push({element:e,WM:d})});return c}class UH{constructor(a,b,c){this.HS=a;this.ET=b;this.Dl=c;this.OC=null;if(c&&c.sheet)try{this.OC=SH(b,Array.from(c.sheet.cssRules))}catch(d){}}get styleSheet(){return this.Dl.sheet}get PX(){return this.OC}};function VH(a){return TH(a,b=>/text-decoration-line: underline/.test(b.cssText))}
class WH extends UH{TJ(){for(const {element:e,WM:f}of VH(this)){var a=e,b={},c=f.cssText.match(/text-decoration-.*?(?=;)/g);if(c)for(const h of c){const [g,l]=h.split(": ");b[g]=l}a:{var d=b;c=["solid","dashed","dotted","double"];if(d.hasOwnProperty("text-decoration-style")&&(d=d["text-decoration-style"],-1!=c.indexOf(d))){c=d;break a}c="solid"}if((d=b["text-decoration-thickness"]||"")&&"double"==c){const h=2*parseFloat(d);isNaN(h)||(d=`${h}px`)}a.style.borderBottom=`${c} ${d} ${b["text-decoration-color"]||
""}`}for(const {element:e}of this.oA())e.style.textDecoration="line-through"}oA(){return TH(this,a=>/text-decoration-line: underline line-through/.test(a.cssText))}};class XH extends UH{TJ(){this.oA().forEach(({element:a,WM:b})=>{b.removeProperty("text-decoration-line");b.setProperty("text-decoration-line","underline");const c=b.getPropertyValue("text-decoration-thickness");b=b.getPropertyValue("color")||"black";this.styleSheet.insertRule(`#${a.id}::after {
				position: absolute;
				content: '';
				width: 100%;
				height: 0;
				border-top: ${c} solid ${b};
				top: 0;
    			right: 0;
    			bottom: 0;
    			left: 0;
				margin: auto;
			}`)})}oA(){return TH(this,a=>/text-decoration-line: underline line-through/.test(a.cssText))}};class YH{create(a,b,c){return Db?new WH(a,b,c):new XH(a,b,c)}};class ZH extends og{constructor(){super();this.Sn=null;this.To="";this.sD="_blank";this.OQ=ng(this)}logo(){return this.Sn}ol(){return this.To}tF(a){this.To=a}Ry(){return this.sD}isEqual(a){if(a.ol()!==this.To||a.Ry()!==this.sD)return!1;a=a.logo();return this.Sn||a?!!this.Sn&&!!a&&this.Sn.path()===a.path():!0}}ZH.prototype.webSiteTarget=ZH.prototype.Ry;ZH.prototype.webSiteUrl=ZH.prototype.ol;ZH.prototype.logo=ZH.prototype.logo;class $H{constructor(){this.VJ=this.cH=this.To=this.lG=this.hI=this.uh="";this.WJ=this.Dj=null}name(){return this.uh}vE(){return this.hI}FD(){return this.lG}ol(){return this.To}tF(a){this.To=a}email(){return this.cH}phone(){return this.VJ}Mh(){return this.Dj}hF(a){this.Dj=a}ey(){return this.WJ}}$H.prototype.photo=$H.prototype.ey;$H.prototype.company=$H.prototype.Mh;$H.prototype.phone=$H.prototype.phone;$H.prototype.email=$H.prototype.email;$H.prototype.webSiteUrl=$H.prototype.ol;
$H.prototype.biography=$H.prototype.FD;$H.prototype.jobTitle=$H.prototype.vE;$H.prototype.name=$H.prototype.name;class aI extends og{constructor(){super();this.Qn=this.Rn=!1;this.nf=0;this.Zq=ng(this);this.fr=ng(this);this.pI=ng(this)}Pd(){return this.Rn}progress(){return this.nf}load(){this.Rn||this.Qn||(this.Qn=!0,this.Ge())}Ge(){}XL(){}XX(){if(this.Rn||this.Qn)this.XL(),this.Qn=this.Rn=!1,this.om(0)}om(a){this.nf!=a&&(this.nf=a,this.pI.D(this))}ft(){return this.Zq}gt(){return this.fr}rW(){return this.pI}}aI.prototype.loadProgressEvent=aI.prototype.rW;aI.prototype.loadFailedEvent=aI.prototype.gt;
aI.prototype.loadCompleteEvent=aI.prototype.ft;aI.prototype.unload=aI.prototype.XX;aI.prototype.load=aI.prototype.load;aI.prototype.progress=aI.prototype.progress;aI.prototype.isLoaded=aI.prototype.Pd;function bI(a){a.Hd&&(a.Hd.onload=null,a.Hd.onerror=null)}function cI(a){if(!a.Pd())throw Error("asset not loaded");}
class dI extends aI{constructor(a,b,c){var d,e,f;super();this.Hd=null;var h=a.startsWith("data:")?null:void 0;this.tr=h=a;this.pa=b;this.ka=c}Ge(){this.Hd=new Image;this.Hd.onload=this.Ev.bind(this);this.Hd.onerror=this.ER.bind(this);this.Hd.src=this.tr}Ev(){bI(this);this.Qn=!1;this.Rn=!0;this.om(1);this.Zq.D(this)}ER(){bI(this);this.Qn=this.Rn=!1;this.fr.D(this);this.om(0)}XL(){this.Hd&&(bI(this),this.Hd.src="",this.Hd=null)}path(){return this.tr}width(){if(null!=this.pa)return this.pa;if(!this.Hd)return 0;
cI(this);return this.Hd.width}height(){if(null!=this.ka)return this.ka;if(!this.Hd)return 0;cI(this);return this.Hd.height}ND(){cI(this);const a=A("canvas");a.width=this.width();a.height=this.height();a.getContext("2d").drawImage(this.Hd,0,0);return a}lV(){cI(this);return this.Hd.cloneNode(!0)}}dI.prototype.createImgInstance=dI.prototype.lV;dI.prototype.createInstance=dI.prototype.ND;dI.prototype.height=dI.prototype.height;dI.prototype.width=dI.prototype.width;dI.prototype.path=dI.prototype.path;class eI extends dI{url(){return this.tr}}eI.prototype.url=eI.prototype.url;function fI(a,b){const c=a.Oa.actions,d=new ig(gI(a,b));b[c.Wm].forEach(e=>{d.fL.push(new hg(e[c.Wm.key],z(e,c.Wm.zx,!1),z(e,c.Wm.shift,!1)))});return d}
function gI(a,b){a=a.Oa.actions.name;switch(b[a]){case a.RW+"":return"playPause";case a.Yx+"":return"nextSlide";case a.$W+"":return"previousSlide";case a.EW+"":return"nextStep";case a.aX+"":return"previousStep";case a.yX+"":return"seekForward";case a.xX+"":return"seekBackward";case a.JV+"":return"firstSlide";case a.oW+"":return"lastSlide";case a.wE+"":return"lastViewedSlide";case a.IX+"":return"slideStart";case a.EX+"":return"slideEnd";case a.cY+"":return"volumeUp";case a.bY+"":return"volumeDown";
case a.RX+"":return"toggleFullscreen"}throw Error("unknown action type");}class hI{constructor(a){this.Oa=a}yE(a,b){a.yb(z(b,this.Oa.enabled,!1));const c=a.actions();c.Va.length=0;a.enabled()&&b[this.Oa.actions].forEach(d=>{c.ke(fI(this,d))})}};function iI(a){this.Y=a}v(iI,al);iI.prototype.Y=0;iI.prototype.duration=function(){return this.Y};iI.prototype.kc=function(){};iI.prototype.og=function(){};function jI(a){this.Va=a||[]}v(jI,bl);k=jI.prototype;k.hB=null;k.Y=-1;k.ke=function(a){if(0<=this.Y)throw Error("ParallelActions was already initialized");this.Va.push(a)};k.sz=function(){let a=0;for(let b=0;b<this.Va.length;++b){const c=cl(this.Va[b]);a=Math.max(a,c)}return a};k.duration=function(){0>this.Y&&(this.Y=this.sz());return this.Y};
function kI(a){if(a.hB)return a.hB;const b=[],c=a.duration(),d=a.Va.length;for(let e=0;e<d;++e){const f=a.Va[e],h=f instanceof al?f.duration():0;if(h<c){const g=new jl;g.ke(f);g.ke(new iI(c-h));b.push(g)}else b.push(f)}return a.hB=b}k.kc=function(a,b,c){a=this.kf(a);this.kb(fl(),a,b,c)};k.complete=function(a,b){this.we(fl(),a,b)};k.og=function(a,b,c){a=this.kf(a,!0);this.kb(il(),a,b,c)};k.st=function(a,b){this.we(il(),a,b)};
k.kb=function(a,b,c,d){if(b==this.duration())this.we(a,c,d);else{var e=kI(this),f=c.Eb,h=e.length;for(let g=0;g<h;++g)f.push(),a.kc(e[g],b,c,d),f.pop()}};k.we=function(a,b,c){const d=kI(this),e=b.Eb,f=d.length;for(let h=0;h<f;++h)e.push(),a.complete(d[h],b,c),e.pop()};function lI(){}lI.prototype.apply=function(){};function mI(a,b,c){this.Ie=a;this.pb=b;this.wK=c}v(mI,Xk);mI.prototype.kc=function(a,b){this.kb(this.wK,a,b)};mI.prototype.og=function(a,b){this.kb(!this.wK,a,b)};mI.prototype.kb=function(a,b){const c=b.Eb;if(a)a=new lI,b.In.set(this.pb,a),c.add(a);else if(a=b.In.get(this.pb))b=Da(pk(c),a),0<=b&&c.clear(b)};function nI(a,b){mI.call(this,a,b,!0)}v(nI,mI);function oI(a,b){mI.call(this,a,b,!1)}v(oI,mI);function pI(a,b,c,d){this.jm=c||0;this.Y=a.duration()*b+(b-1)*this.jm;this.Bh=b;this.iI=a;d?(this.jm-=d.duration()-a.duration(),this.jz=d):this.jz=a}v(pI,bl);k=pI.prototype;k.duration=function(){return this.Y};k.kc=function(a,b,c){a=this.kf(a);this.kb(fl(),a,b,c)};k.complete=function(a,b){this.we(fl(),a,b)};k.og=function(a,b,c){a=this.kf(a,!0);this.kb(il(),a,b,c)};k.st=function(a,b){this.we(il(),a,b)};
k.kb=function(a,b,c,d){if(b==this.duration())this.we(a,c,d);else{var e=this.jz.duration()+this.jm,f=Math.floor(b/e);this.Jz=f<this.Bh-1?this.jz:this.iI;b-=f*e;b>=this.Jz.duration()?a.complete(this.Jz,c,d):a.kc(this.Jz,b,c,d)}};k.we=function(a,b,c){a.complete(this.iI,b,c)};function qI(a){this.oh=a}v(qI,bl);k=qI.prototype;k.duration=function(){return cl(this.oh)};k.kc=function(a,b,c){a=this.kf(a);this.kb(il(),a,b,c)};k.complete=function(a,b){this.we(il(),a,b)};k.og=function(a,b,c){a=this.kf(a,!0);this.kb(fl(),a,b,c)};k.st=function(a,b){this.we(fl(),a,b)};k.kb=function(a,b,c,d){if(b==this.duration())this.we(a,c,d);else{if(!(this.oh instanceof al))throw Error("can't run not prolonged action");a.kc(this.oh,b,c,d)}};k.we=function(a,b,c){a.complete(this.oh,b,c)};function rI(a){this.zb=a;this.ML=[];let b=0;for(let c=0;c<a.length;++c){const d=a[c];b="number"===typeof d?b+d:b+d.duration();this.ML.push(b)}this.Y=b}rI.prototype.duration=function(){return this.Y};rI.prototype.Xs=function(a,b){if(a>this.Y)return!1;if(0==a&&b>=this.Y)return!0;const c=this.zb.length;for(let d=0;d<c;++d){const e=this.zb[d];let f;if("number"===typeof e)f=e;else if(f=e.duration(),a<=f&&e.Xs(a,b))return!0;if(b<f)break;a=Math.max(a-f,0);b-=f}return!1};rI.prototype.FF=function(){return this.ML};function sI(a,b,c,d){this.oh=a;this.Bh=b;this.jm=c||0;this.cT=d||0;this.Y=a.duration()*b+this.jm*(b-1)}sI.prototype.duration=function(){return this.Y};sI.prototype.Xs=function(a,b){if(a>this.Y)return!1;if(0==a&&b>=this.Y)return!0;const c=this.jm,d=this.oh.duration();var e=Math.floor(a/(d+c));const f=Math.floor(b/(d+c));if(1<f-e)return!0;for(;e<=f;++e){const h=e*(d+c),g=h+d,l=g+this.cT;if(a<l&&l<=b||a<=g&&b>=h&&this.oh.Xs(Math.max(a-h,0),b-h))return!0}return!1};sI.prototype.FF=function(){return[this.Y]};function tI(a,b,c,d){this.Ie="__mediaTransforms";this.Fa=a;this.Pv=b;this.pC=c;this.Ee=d}tI.prototype.Uh=function(){return this.Pv};tI.prototype.kc=function(a,b){a.Eb.add(new kp(this.Ie,this.Fa,new np(this.Pv,this.Ee,b)))};function uI(){}k=uI.prototype;k.Oa=null;k.qs=0;k.Ed=0;k.JL=0;k.initialize=function(a,b,c,d){this.Oa=a;this.qs=b;this.Ed=c;this.JL=d};
k.load=function(a){const b=this.Oa;var c=this.Oa;if(a[c.rg]||a[c.$e]){c=this.Oa;const e=a[c.rg]||a[c.$e];a:{var d=this.Oa;switch(a[d.Uh]){case d.Uh.play+"":d=So;break a;case d.Uh.pause+"":d=To;break a;case d.Uh.stop+"":d=Uo;break a}throw Error("unknown media operation");}c=new Ro(e,d,c.We in a?a[c.We]:null)}else c=new Vo;return new tI(b.$e in a?"video":"sound",c,a[b.timing][b.timing.start]*this.qs+this.Ed,this.JL)};function vI(){}k=vI.prototype;k.Oa=null;k.TC=0;k.jq=null;k.Ee=0;k.initialize=function(a,b,c,d){this.Oa=a;this.TC=c;this.jq=b;this.Ee=d};k.O=function(){if(!this.Oa)throw Error("BehaviorLoader isn't initialized");return this.Oa};function wI(a){if(!a.jq)throw Error("BehaviorLoader isn't initialized");return a.jq}function xI(a){if(!a.jq)throw Error("BehaviorLoader isn't initialized");return a.jq.id()}k.level=function(){return this.Ee};
k.load=function(a){const b=this.qI(a);let c=this.Ge(a,b);c=this.Yy(c,a,b);b.Ve()&&(a=ma(c)+"_rewind",c=new jl([new nI(xI(this),a),c,new oI(xI(this),a)]));return 0<b.start()?new jl([new iI(b.start()),c]):c};k.NK=function(a){return new qI(a)};k.qI=function(a){const b=this.O().timing;return new yI(this.TC,a[b],b)};k.Yy=function(a,b,c){c.dF()&&(a=this.NK(a));return a};function yI(a,b,c){this.qs=a;this.Eg=b;this.Oa=c}yI.prototype.start=function(){return this.qs*z(this.Eg,this.Oa.start,0)};
yI.prototype.dF=function(){return z(this.Eg,this.Oa.dF,!1)};yI.prototype.Ve=function(){return z(this.Eg,this.Oa.Ve,!1)};function zI(a,b){this.Ie=a;this.Y=b}v(zI,al);zI.prototype.Y=0;zI.prototype.duration=function(){return this.Y};function AI(a){var b=a.kf(a.Y);return b>=a.Y?1:b/a.Y}zI.prototype.kc=function(a,b,c){const d=this.kf(a);this.kb(d>=this.Y?1:d/this.Y,b,c,!1,a==this.Y)};zI.prototype.og=function(a,b,c){const d=this.kf(a,!0);this.kb(1-(d>=this.Y?1:d/this.Y),b,c,!0,a==this.Y)};function BI(a,b,c,d){b.Eb.add(new kp(a.Ie,c,d))}
function CI(a,b,c,d){const e=ma(a),f=b.In.get(e);f?d=f.value:(a=b.LS.get(a.Ie),d=d(a),b.In.set(e,{value:d,e2:Pj(c)}));return d};function DI(a,b,c){zI.call(this,a,b);this.$P=c}v(DI,zI);DI.prototype.kb=function(a,b,c,d,e){if(d=CI(this,b,c,f=>(f=Sk(f))?"font-size"in f.Me?f.Me["font-size"]:"":""))a=xk("font-size",(this.$P-d)*a+d,c,e),BI(this,b,"cssTextProperties",a)};function EI(){}v(EI,vI);EI.prototype.qI=function(a){const b=this.O().timing;return new FI(this.TC,a[b],b)};function GI(a){return eval("("+a+")")}EI.prototype.Yy=function(a,b,c){if(0<z(c.Eg,c.Oa.px,0)||0<z(c.Eg,c.Oa.Bx,0))a.tm=new Zk(z(c.Eg,c.Oa.px,0),z(c.Eg,c.Oa.Bx,0));a=EI.Ua.Yy.call(this,a,b,c);z(c.Eg,c.Oa.Fs,!1)&&(a=new jl([a,new qI(a)]));return a};EI.prototype.NK=function(a){const b=new $k;a.tm=a.tm?new Yk([a.tm,b]):b;return a};function FI(a,b,c){yI.call(this,a,b,c)}v(FI,yI);
FI.prototype.duration=function(){var a=this.Oa;const b=this.start();let c=0;a.end in this.Eg&&(c=this.qs*this.Eg[a.end]);a=c-b;z(this.Eg,this.Oa.Fs,!1)&&(a/=2);return a};function HI(){}v(HI,EI);HI.prototype.Ge=function(a,b){const c=this.O();wI(this).kH=!0;return new DI(xI(this),b.duration(),a[c.te])};function II(a,b,c,d){this.Xb=a;this.Dd=b;this.jk=c;this.oC=d}II.prototype.Ud=function(a,b,c){return new vk(new sk(this.Xb,[this.Dd[0]*a,this.Dd[1]*a,this.Dd[2]*a]),this.jk,!1,b,c)};II.prototype.getTransform=function(a,b,c,d,e,f){b=this.Ud(b,d,f);e&&this.oC&&(a=this.Ud(AI(a),d,f),b=b.add(a.Km()));return b};function JI(a,b,c,d){let e=b[0];const f=a[0];switch(d){case "hsl":e<f&&(e+=360);break;case "hsl_ccw":e>f&&(e-=360)}return[(e-f)*c+f,(b[1]-a[1])*c+a[1],(b[2]-a[2])*c+a[2]]};function KI(a,b,c,d){this.Xb=a;this.TT=b;this.$z=c;this.jk=d}KI.prototype.getTransform=function(a,b,c,d,e,f){return new vk(new sk(this.Xb,JI(this.TT,this.$z,b,this.Xb)),this.jk,!0,d,f)};function LI(a,b,c,d){this.Fa=a;this.Xb=b;this.$z=c;this.jk=d}LI.prototype.getTransform=function(a,b,c,d,e,f){const h=this.Fa;a=CI(a,c,d,g=>{let l=null;switch(h){case "textColor":l=Ik(g,"textColor");break;case "strokeColor":l=Ik(g,"strokeColor");break;case "fillColor":l=Ik(g,"fillColor");break;case "imgColor":l=Ik(g,"imgColor")}return l?l.color():null});if(!a)return null;a=a.ub(this.Xb);return new vk(new sk(this.Xb,JI(a,this.$z,b,this.Xb)),this.jk,!0,d,f)};function MI(a,b,c,d){zI.call(this,a,b);this.Fa=c;this.Cg=d}v(MI,zI);MI.prototype.kb=function(a,b,c,d,e){(a=this.Cg.getTransform(this,a,b,c,d,e))&&BI(this,b,this.Fa,a)};function NI(){}v(NI,EI);
NI.prototype.Ge=function(a,b){var c=this.O();c=OI(this,a[c.target]);const d=[];for(let p=0;p<c.length;++p){var e=c[p],f=a,h=e,g=this.O();f=new sk(PI(this,f),f[g.rV]);wI(this).Oz[h]=f;h=d;f=h.push;g=a;var l=b;const q=this.O(),t=z(g,q.vV,!1)?1:0,u=PI(this,g);if(q.hj in g){var n=xI(this),m=l.duration();l=!l.Ve();e=new MI(n,m,e,new II(u,g[q.hj],t,l))}else q.from in g?(n=xI(this),l=l.duration(),e=new MI(n,l,e,new KI(u,g[q.from],g[q.te],t))):(n=xI(this),l=l.duration(),e=new MI(n,l,e,new LI(e,u,g[q.te],
t)));f.call(h,e)}return 1<d.length?new jI(d):d[0]};function OI(a,b){a=a.O().target;switch(b){case a.text+"":return["textColor"];case a.stroke+"":return["strokeColor"];case a.fill+"":return["fillColor","imgColor"];case a.NX+"":return["strokeColor","imgColor"]}throw Error("unknown target");}function PI(a,b){a=a.O().iV;switch(b[a]){case a.pX+"":return"rgb";case a.fW+"":return"hsl";case a.gW+"":return"hsl_ccw"}throw Error("unknown color space");};function QI(a,b,c,d){zI.call(this,a,b);this.Tj=c;this.Ee=d}v(QI,zI);QI.prototype.kb=function(a,b,c,d,e){e||BI(this,b,"filter",new Bo(this.Tj,a,this.Ee,c,e))};function RI(){}v(RI,EI);
RI.prototype.Ge=function(a,b){var c=this.O().zp;var d={};d[c.YU]="blinds";d[c.box]="box";d[c.hV]="circle";d[c.uV]="diamond";d[c.WW]="plus";d[c.fV]="checkerboard";d[c.yV]="dissolve";d[c.iX]="randombar";d[c.WU]="barn";d[c.MX]="strips";d[c.dY]="wedge";d[c.iY]="wipe";d[c.fY]="wheelCw";d[c.eY]="wheelCcw";c=a[c];if(c in d)d=d[c];else throw Error("unknown mask type");c=this.O().Ue;var e=c in a?a[c]:null;if(null===e)a=e;else if(/[^0-9]/.test(e))if(a={},a[c.cW]=1,a[c.vertical]=2,a[c["in"]]=4,a[c.NW]=8,a[c.MV]=
16,a[c.NV]=32,a[c.OV]=64,a[c.PV]=128,a[c.pW]=48,a[c.qW]=160,a[c.qX]=80,a[c.rX]=192,a[c.dW]=5,a[c.eW]=9,a[c.YX]=6,a[c.ZX]=10,e in a)a=a[e];else throw Error("unknown mask sub type");else a=parseInt(e,10);a:{a=a||null;for(c=0;c<on.length;++c)if(e=on[c],e.zp()==d&&e.Ue()==a){d=e;break a}d=new kn(d,a);on.push(d)}return new QI(xI(this),b.duration(),d,this.level())};function SI(){this.mk=[]}k=SI.prototype;k.Ji=0;k.oK=0;k.pK=0;k.moveTo=function(a){this.mk.push(new TI(a))};k.lineTo=function(a,b){const c=this.end();this.mk.push(new UI(a,c,b))};function VI(a,b,c,d,e){const f=a.end();a.mk.push(new WI(b,f,c,d,e))}k.end=function(){if(0==this.mk.length)throw Error("path must be started with moveTo");return this.mk[this.mk.length-1].end()};
k.iy=function(a){if(0>a||1<a)throw Error("incorrect time");if(1==a)return this.end();let b=0,c=0;a>=this.Ji&&(b=this.oK,c=this.pK);let d=null;for(;b<this.mk.length;++b){const e=this.mk[b],f=c+e.duration();if(f==a){d=e.end();break}if(f>a){d=e.iy((a-c)/(f-c));break}c=f}this.Ji=a;this.oK=b;this.pK=c;return d?d:this.end()};function XI(a){this.Y=a}XI.prototype.duration=function(){return this.Y};function TI(a){this.Y=0;this.gk=a}v(TI,XI);TI.prototype.end=function(){return this.gk};
function UI(a,b,c){this.Y=a;this.Hu=b;this.Uw=c}v(UI,XI);UI.prototype.end=function(){return this.Uw};UI.prototype.iy=function(a){const b=this.Hu,c=this.Uw;return new Sc((c.x-b.x)*a+b.x,(c.y-b.y)*a+b.y)};function WI(a,b,c,d,e){this.Y=a;this.Yz=e;this.oP=new pn(b.x,b.y,c.x,c.y,d.x,d.y,e.x,e.y)}v(WI,XI);WI.prototype.end=function(){return this.Yz};
WI.prototype.iy=function(a){var b=this.oP;if(0==a)var c=b.Ot;else if(1==a)c=b.Pt;else{c=Rc(b.Ot,b.x1,a);var d=Rc(b.x1,b.x2,a),e=Rc(b.x2,b.Pt,a);c=Rc(c,d,a);d=Rc(d,e,a);c=Rc(c,d,a)}0==a?a=b.Qt:1==a?a=b.Rt:(d=Rc(b.Qt,b.y1,a),e=Rc(b.y1,b.y2,a),b=Rc(b.y2,b.Rt,a),d=Rc(d,e,a),e=Rc(e,b,a),a=Rc(d,e,a));return new Sc(c,a)};function YI(a,b,c){zI.call(this,a,b);this.tr=c}v(YI,zI);YI.prototype.kb=function(a,b,c,d,e){a=this.tr.iy(a);BI(this,b,"moveX",new zk(a.x,!0,c,e));BI(this,b,"moveY",new zk(a.y,!0,c,e))};function ZI(){}v(ZI,EI);ZI.prototype.Ge=function(a,b){const c=this.O();return new YI(xI(this),b.duration(),$I(this,a[c.path]))};
function $I(a,b){function c(){return new Sc(d()+f,d()+h)}function d(){const g=b.match(/^\s*([-0-9\.]+)/);if(g)return b=b.substr(g[0].length),parseFloat(g[1]);throw Error("incorrect path");}function e(){const g=b.match(/^\s*([m|l|c])/i);return g?(b=b.substr(g[0].length),g[1].toLowerCase()):null}a=wI(a);const f=a.la().left,h=a.la().top;b=b.replace(/,/g," ");for(a=new SI;;){const g=e();if(!g)break;switch(g){case "m":a.moveTo(c());break;case "l":a.lineTo(d(),c());break;case "c":VI(a,d(),c(),c(),c())}}return a}
;function aJ(a,b){this.im=a;this.nC=b}aJ.prototype.getTransform=function(a,b,c,d,e,f){b=this.Ud(b,d,f);this.im&&e&&this.nC&&(a=this.Ud(AI(a),d,f),b=b.add(a.Km()));return b};function bJ(a,b,c){aJ.call(this,b,c);this.ES=a}v(bJ,aJ);bJ.prototype.Ud=function(a,b,c){return new zk(this.ES(a),!this.im,b,c)};function cJ(a,b){aJ.call(this,!0,b);this.MP=a}v(cJ,aJ);cJ.prototype.Ud=function(a,b,c){return new zk(this.MP*a,!1,b,c)};function dJ(a,b,c,d){aJ.call(this,c,d);this.Hu=a;this.Uw=b}v(dJ,aJ);dJ.prototype.Ud=function(a,b,c){return new zk((this.Uw-this.Hu)*a+this.Hu,!this.im,b,c)};function eJ(a,b){this.aQ=a;this.Fa=b}eJ.prototype.getTransform=function(a,b,c,d,e,f){const h=this.Fa;a=CI(a,c,d,g=>"moveX"==h?Lk(g).jb:Mk(g).jb);return null===a?null:new zk((this.aQ-a)*b+a,!0,d,f)};function fJ(a,b,c,d){zI.call(this,a,b);this.Fa=c;this.Cg=d}v(fJ,zI);fJ.prototype.kb=function(a,b,c,d,e){(a=this.Cg.getTransform(this,a,b,c,d,e))&&BI(this,b,this.Fa,a)};function gJ(a){this.Fa=a}v(gJ,EI);gJ.prototype.Ge=function(a,b){const c=this.O();if(c.hj in a){var d=xI(this),e=b.duration();b=!b.Ve();a=new fJ(d,e,this.Fa,new cJ(a[c.hj],b))}else if(c.Fx in a){d=xI(this);e=b.duration();var f=GI(a[c.Fx]);b=!b.Ve();a=new fJ(d,e,this.Fa,new bJ(f,z(a,c.ny,!1),b))}else c.from in a?(d=xI(this),e=b.duration(),b=!b.Ve(),a=new fJ(d,e,this.Fa,new dJ(a[c.from],a[c.te],z(a,c.ny,!1),b))):(d=xI(this),b=b.duration(),e=this.Fa,a=new fJ(d,b,e,new eJ(a[c.te],e)));return a};
function hJ(){this.Fa="moveX"}v(hJ,gJ);function iJ(){this.Fa="moveY"}v(iJ,gJ);function jJ(a,b,c){this.sL=a;this.Zz=b;this.Ee=c}jJ.prototype.getTransform=function(a,b,c,d,e,f){return new Co((this.Zz-this.sL)*b+this.sL,this.Ee,d,f)};function kJ(a,b){this.Zz=a;this.Ee=b}kJ.prototype.getTransform=function(a,b,c,d,e,f){a=CI(a,c,d,h=>(h=Ik(h,"filter"))&&h instanceof Co?h.alpha():1);return null===a?null:new Co((this.Zz-a)*b+a,this.Ee,d,f)};function lJ(a,b,c){zI.call(this,a,b);this.Cg=c}v(lJ,zI);lJ.prototype.kb=function(a,b,c,d,e){(a=this.Cg.getTransform(this,a,b,c,d,e))&&BI(this,b,"filter",a)};function mJ(){}v(mJ,EI);mJ.prototype.Ge=function(a,b){const c=this.O();if(c.hj in a)throw xI(this),b.duration(),this.level(),Error("not implemented");if(c.from in a){var d=xI(this);b=b.duration();var e=this.level();a=new lJ(d,b,new jJ(a[c.from],a[c.te],e))}else d=xI(this),b=b.duration(),e=this.level(),a=new lJ(d,b,new kJ(a[c.te],e));return a};function nJ(a,b){this.Zc=a;this.oC=b}nJ.prototype.Ud=function(a,b,c){return new Ak(this.Zc*a,!1,b,c)};nJ.prototype.getTransform=function(a,b,c,d,e,f){b=this.Ud(b,d,f);e&&this.oC&&(a=this.Ud(AI(a),d,f),b=b.add(a.Km()));return b};function oJ(a,b){this.oH=a;this.dU=b}oJ.prototype.getTransform=function(a,b,c,d,e,f){return new Ak((this.dU-this.oH)*b+this.oH,!0,d,f)};function pJ(a){this.Zc=a}pJ.prototype.getTransform=function(a,b,c,d,e,f){a=CI(a,c,d,h=>Jk(h).angle()+Kk(h).angle());return null===a?null:new Ak((this.Zc-a)*b+a,!0,d,f)};function qJ(a,b,c,d){zI.call(this,a,b);this.Fa=c;this.Cg=d}v(qJ,zI);qJ.prototype.kb=function(a,b,c,d,e){(a=this.Cg.getTransform(this,a,b,c,d,e))&&BI(this,b,this.Fa,a)};function rJ(){}v(rJ,EI);rJ.prototype.Ge=function(a,b){const c=this.O();if(c.hj in a){var d=xI(this),e=b.duration();b=!b.Ve();a=new qJ(d,e,"rotateBy",new nJ(a[c.hj]*Math.PI/180,b))}else c.from in a?(d=xI(this),b=b.duration(),a=new qJ(d,b,"rotateTo",new oJ(a[c.from]*Math.PI/180,a[c.te]*Math.PI/180))):(d=xI(this),b=b.duration(),a=new qJ(d,b,"rotateTo",new pJ(a[c.te]*Math.PI/180)));return a};function sJ(a,b){this.im=a;this.nC=b}sJ.prototype.getTransform=function(a,b,c,d,e,f){b=this.Ud(b,d,f);this.im&&e&&this.nC&&(a=this.Ud(AI(a),d,f),b=b.add(a.Km()));return b};function tJ(a,b,c){sJ.call(this,b,c);this.gT=a}v(tJ,sJ);tJ.prototype.Ud=function(a,b,c){return new Bk(this.gT(a),!this.im,b,c)};function uJ(a,b){sJ.call(this,!0,b);this.ya=a}v(uJ,sJ);uJ.prototype.Ud=function(a,b,c){return new Bk((this.ya-1)*a+1,!1,b,c)};function vJ(a,b,c,d){sJ.call(this,c,d);this.iG=a;this.aA=b}v(vJ,sJ);vJ.prototype.Ud=function(a,b,c){return new Bk((this.aA-this.iG)*a+this.iG,!this.im,b,c)};function wJ(a,b){this.aA=a;this.Fa=b}wJ.prototype.getTransform=function(a,b,c,d,e,f){const h=this.Fa;a=CI(a,c,d,g=>{switch(h){case "scaleX":return Nk(g).scale();case "scaleX2":return Ok(g).scale();case "scaleY":return Pk(g).scale();case "scaleY2":return Qk(g).scale()}return null});return null===a?null:new Bk((this.aA-a)*b+a,!0,d,f)};function xJ(a,b,c,d){zI.call(this,a,b);this.Fa=c;this.Cg=d}v(xJ,zI);xJ.prototype.kb=function(a,b,c,d,e){(a=this.Cg.getTransform(this,a,b,c,d,e))&&BI(this,b,this.Fa,a)};function yJ(a){this.Fa=a}v(yJ,EI);yJ.prototype.Ge=function(a,b){const c=this.O();if(c.hj in a){var d=xI(this),e=b.duration();b=!b.Ve();a=new xJ(d,e,this.Fa,new uJ(a[c.hj],b))}else if(c.Fx in a){d=xI(this);e=b.duration();var f=GI(a[c.Fx]);b=!b.Ve();a=new xJ(d,e,this.Fa,new tJ(f,z(a,c.ny,!1),b))}else c.from in a?(d=xI(this),e=b.duration(),b=!b.Ve(),a=new xJ(d,e,this.Fa,new vJ(a[c.from],a[c.te],z(a,c.ny,!1),b))):(d=xI(this),b=b.duration(),e=this.Fa,a=new xJ(d,b,e,new wJ(a[c.te],e)));return a};
function zJ(){this.Fa="scaleX"}v(zJ,yJ);function AJ(){this.Fa="scaleY"}v(AJ,yJ);function BJ(){this.Fa="scaleX2"}v(BJ,yJ);function CJ(){this.Fa="scaleY2"}v(CJ,yJ);function DJ(a,b,c,d){this.Ie=a;this.MS=b;this.NS=c;this.Fa=d?"cssTextProperties":"cssProperties"}v(DJ,Xk);DJ.prototype.kc=function(a,b){b=xk(this.MS,this.NS,b,!0);a.Eb.add(new kp(this.Ie,this.Fa,b))};DJ.prototype.og=function(){};function EJ(){}v(EJ,vI);EJ.prototype.Ge=function(a){const b=this.O(),c=a[b.dX],d=a[b.mW];if(d){var e=wI(this);La(e.ez,c)||e.ez.push(c)}else e=wI(this),La(e.$y,c)||e.$y.push(c);return new DJ(xI(this),c,a[b.te],d)};function FJ(a,b){this.tL=a;this.bA=b}FJ.prototype.getTransform=function(a,b,c,d,e,f){return new Ck((this.bA-this.tL)*b+this.tL,d,f)};function GJ(a){this.bA=a}GJ.prototype.getTransform=function(a,b,c,d,e,f){a=CI(a,c,d,h=>Rk(h).shift());return null===a?null:new Ck((this.bA-a)*b+a,d,f)};function HJ(a,b,c){zI.call(this,a,b);this.Cg=c}v(HJ,zI);HJ.prototype.kb=function(a,b,c,d,e){(a=this.Cg.getTransform(this,a,b,c,d,e))&&BI(this,b,"shiftX",a)};function IJ(){}v(IJ,EI);IJ.prototype.Ge=function(a,b){const c=this.O();if(c.from in a){var d=xI(this);b=b.duration();a=new HJ(d,b,new FJ(a[c.from],a[c.te]))}else d=xI(this),b=b.duration(),a=new HJ(d,b,new GJ(a[c.te]));return a};function JJ(a,b){this.Ie=a;this.Uc=b}v(JJ,Xk);JJ.prototype.kc=function(a,b){this.kb(this.Uc,a,b)};JJ.prototype.og=function(a,b){this.kb(!this.Uc,a,b)};JJ.prototype.kb=function(a,b,c){b.Eb.add(new kp(this.Ie,"visibility",new Gk(a,c)))};function KJ(){}v(KJ,vI);KJ.prototype.Ge=function(a){const b=this.O();return new JJ(xI(this),a[b.te])};function LJ(a){this.Md=a;this.Pg=1;this.UT=0}
LJ.prototype.load=function(a,b){var c=this.O();c.BD in b&&MJ(this,a,b[c.BD]);var d=this.O(),e=null;d.AE in b&&d.Xe in b[d.AE]&&(e=b[d.AE]);var f=e?e[d.Xe].length:0,h=a.Aa().count(),g=!1;if(h==f+1)f=a.Un,h=a.Aa().ob(0),f.le(pl(this.Md,"__step",!0)),rl(f,new iI(1E3*h.duration())),g=!0;else if(h!==f)throw Error("count of slide animation steps must be equal to steps in mainSequence");e&&NJ(this,a,a.kn,a.Un,0,e[d.Xe],new OJ(a,this,g));if(c.tE in b)for(b=b[c.tE],c=0;c<b.length;++c){e=b[c];d=c+1;h=a;var l=
e;g=this.O().tE;f=null;if(g.bO in l){l=l[g.bO];g=pl(this.Md,l,!0);f=pl(this.Md,l,!1);var n=l.length;for(let m=0;m<n;++m)h.le(l[m])}else if(g.xN in l)g=g.xN,l=l[g],h=g.rg in l?Gf(h.Db(),l[g.rg]):Gf(h.Wb(),l[g.$e]),g=l[g.ZU],h=mf(h.kg(),g),g=Al(this.Md,h,!0);else throw Error();n=[g,f];f=a;h=a.kn;g=e;l=n[0];e=n[1];n=this.O();g=g[n.Xe];l=new PJ(l,this.Md);n=new ql(this.Md);NJ(this,f,h,n,d,g,l);e&&n.le(e);a.$H.push(n)}};
function MJ(a,b,c){function d(f){if(4!=f.length)throw Error("bounding box array must contain exactly 4 items");return new Kf(f[0],f[1],f[2],f[3])}function e(f){if(6!=f.length)throw Error("transform matrix must contain exactly 6 items");return new Dl(f[0],f[1],f[2],f[3],f[4],f[5])}a=a.O().BD;b=b.kn;for(let f=0;f<c.length;++f){const h=c[f];if(!(a.id in h))throw Error("animated object json must contain id property");const g=h[a.id];if(!(a.Lh in h))throw Error("animated object json must contain bbox property");
const l=d(h[a.Lh]);let n=null;a.Gf in h&&(n=e(h[a.Gf]));let m=null;a.tg in h&&(m=e(h[a.tg]));b.add(new Hl(g,l,n,m))}}
function NJ(a,b,c,d,e,f,h){const g=a.O().Xe;for(let Mb=0;Mb<f.length;++Mb){h.JM(d,Mb);var l=h.tx(Mb),n=f[Mb];if(g.jg in n){var m=a,p=n,q=l,t=m.O().Xe,u=p,y=m.O().Xe,E=y.jg.timing,x=[];u=u[y.jg];for(var F=0;F<u.length;++F){var M=u[F][y.jg.timing],O=z(M,E.duration,0),P=z(M,E.delay,0),R=z(M,E.Fs,!1),V=z(M,E.repeat,1),fa=z(M,E.UN,0),ab=z(M,E.Ve,!1);M=z(M,E.VN,0);var jb=O;R&&(jb+=O+2*M);"number"===typeof V&&1<V&&(jb=jb*V+fa*(V-1));!R&&ab&&(jb+=M);jb+=P;x.push(1E3*jb)}y=0<x.length?Math.max.apply(Math,x):
0;p=q?1E3*q.duration():1E3*z(p,t.duration,0);p=y>p?p/(y+.001):1;y>m.UT&&(m.Pg=p);m=p;p=new jI;t=!1;n=n[g.jg];for(q=0;q<n.length;++q){var mc=n[q];if(z(mc,g.jg.uF)){y=a;u=d.mm;P=c;F=e;x=mc;E=m;O=y.O().Xe.jg;R=Il(P,x[O.uF]);V=1E3*x[O.timing][O.timing.duration];1===V&&(V=0);V*=E;P=new jI;P.ke(new iI(V));fa=x[O.Em];for(ab=0;ab<fa.length;++ab){M=fa[ab];{jb=M[O.Em.type];var Za=O.Em.type;const Ea={};Ea[Za.rotation]=rJ;Ea[Za.xW]=hJ;Ea[Za.yW]=iJ;Ea[Za.wW]=ZI;Ea[Za.tt]=zJ;Ea[Za.ut]=AJ;Ea[Za.tX]=BJ;Ea[Za.uX]=
CJ;Ea[Za.opacity]=mJ;Ea[Za.visibility]=KJ;Ea[Za.DX]=IJ;Ea[Za.setProperty]=EJ;Ea[Za.fontSize]=HI;Ea[Za.color]=NI;Ea[Za.tW]=RI;if(jb in Ea)jb=new Ea[jb];else throw Error("unknown behavior");}jb.initialize(O.Em,R,V,F);P.ke(jb.load(M))}R=P;F=x;x=y.O().Xe.jg;y=F[x.uF];x=x.timing;F=F[x];O=1E3*z(F,x.VN,0)*E;P=z(F,x.Fs,!1);V=new mp(R.duration());fa=z(F,x.px,0);ab=z(F,x.Bx,0);if(0<fa||0<ab)R.tm=new Zk(fa,ab);P&&(R=new jl([R,new iI(2*O),new qI(R)]),V=new rI([V,2*O,V]));if(fa=z(F,x.repeat,!1))ab=1E3*z(F,x.UN,
0)*E,"number"===typeof fa&&1<fa&&(R=new pI(R,fa,ab,QJ(y,R,O)),V=new sI(V,fa,ab,O));!P&&z(F,x.Ve,!1)&&(R=QJ(y,R,O),0<O&&(V=new rI([V,O,new mp(0)])));E*=1E3*z(F,x.delay,0);0<E&&(R=new jl([new iI(E),R]),V=new rI([E,V]));u.ke(y,V);p.ke(R)}else{t=b;y=l;E=d;F=e;O=mc;P=m;x=a.O().Xe.jg;R=O[x.timing];u=new uI;u.initialize(x.Em,1E3*R[x.timing.duration]*P,1E3*R[x.timing.delay]*P,F);F=O[x.Em];for(O=0;O<F.length;++O)if(R=F[O],V=u.load(R),E.RC.push(V),E.mm.ke(V.Ie,new rI([V.pC,new mp(0)])),y&&(P=Da(t.Aa().ks,y),
P=new Ve(t.index(),P,V.pC/1E3),V=V.Uh(),V instanceof Ro&&(fa=V.jt(),R=x.Em.rg in R?Gf(t.Db(),fa):Gf(t.Wb(),fa)))){R=R.Eb;switch(V.type()){case So:fa="play";break;case To:fa="togglePlay";break;case Uo:fa="stop";break;default:throw Error("unknown media operation type");}P=new of(fa,P,V.We());R.Eb.push(P)}t=!0}}if(0<p.Va.length||t)0==p.Va.length&&(l=mc[g.jg.timing],p.ke(new iI(1E3*(l[g.jg.timing.delay]+l[g.jg.timing.duration])*m))),rl(d,p)}h.DM(d,Mb)}}
function QJ(a,b,c){const d=ma(b)+"_rewind";return b=new jl([new nI(a,d),b,new iI(c),new oI(a,d)])}
LJ.prototype.O=function(){const a={BD:{A:"a",id:{A:"i"},Lh:{A:"b"},Gf:{A:"t"},tg:{A:"r"}},AE:{A:"m"},tE:{A:"i",bO:{A:"i"},xN:{A:"m",rg:{A:"s"},$e:{A:"v"},ZU:{A:"b"}}},Xe:{A:"s",duration:{A:"d"},jg:{A:"a",uF:{A:"s"},timing:{A:"t",delay:{A:"u"},duration:{A:"d"},px:{A:"a"},Bx:{A:"c"},c2:{A:"b"},Fs:{A:"t"},Ve:{A:"r"},repeat:{A:"p"},VN:{A:"w"},UN:{A:"l"}},Em:{A:"b",timing:{A:"t",start:{A:"s"},end:{A:"e"},px:{A:"a"},Bx:{A:"c"},Ve:{A:"r"},dF:{A:"v"},Fs:{A:"t"}},type:{A:"y",rotation:{A:"r"},tt:{A:"s1"},tX:{A:"s3"},
ut:{A:"s2"},uX:{A:"s4"},DX:{A:"h"},xW:{A:"m1"},yW:{A:"m2"},wW:{A:"m"},opacity:{A:"o"},visibility:{A:"v"},setProperty:{A:"s"},fontSize:{A:"f"},color:{A:"c"},tW:{A:"k"},media:{A:"d"}},hj:{A:"b"},from:{A:"f"},te:{A:"o"},Fx:{A:"m"},path:{A:"p"},ny:{A:"r"},mW:{A:"i"},dX:{A:"a"},iV:{A:"c",pX:{A:"r"},fW:{A:"h"},gW:{A:"c"}},rV:{A:"d"},target:{A:"g",stroke:{A:"s"},NX:{A:"s2"},fill:{A:"f"},text:{A:"t"}},vV:{A:"h"},zp:{A:"s",YU:{A:"n"},box:{A:"b"},hV:{A:"c"},uV:{A:"d"},WW:{A:"p"},fV:{A:"h"},yV:{A:"v"},iX:{A:"r"},
WU:{A:"a"},MX:{A:"t"},dY:{A:"g"},iY:{A:"w"},fY:{A:"w1"},eY:{A:"w2"}},Ue:{A:"u",cW:{A:"h"},vertical:{A:"v"},"in":{A:"i"},NW:{A:"o"},MV:{A:"b"},NV:{A:"l"},OV:{A:"r"},PV:{A:"t"},pW:{A:"ld"},qW:{A:"lu"},qX:{A:"rd"},rX:{A:"ru"},dW:{A:"hi"},eW:{A:"ho"},YX:{A:"vi"},ZX:{A:"vo"}},Uh:{A:"n",play:{A:"p"},pause:{A:"u"},stop:{A:"s"}},We:{A:"P"},rg:{A:"S"},$e:{A:"V"}}}}},b=IF();GF(a,b);return a};function OJ(a,b,c){this.ga=a;this.MQ=b;this.YP=c}
OJ.prototype.JM=function(a,b){this.tx(b);b=pl(this.MQ.Md,"__step",!0);a.le(b)};OJ.prototype.DM=function(a,b){b=this.tx(b);0<b.QB&&rl(a,new iI(1E3*b.QB))};OJ.prototype.tx=function(a){return this.ga.Aa().ob(a+(this.YP?1:0))};function PJ(a,b){this.$C=a;this.qU=b}PJ.prototype.JM=function(a){a.le(this.$C.clone(this.qU))};PJ.prototype.DM=function(){};PJ.prototype.tx=function(){return null};var RJ={uY:"attachment",D1:"webLink"};r("ispring.presenter.presentation.resources.references.ReferenceType",RJ);r("ATTACHMENT","attachment",RJ);r("WEB_LINK","webLink",RJ);class SJ{constructor(a,b){this.rf=a;this.Hq=b}text(){return this.rf}Af(){return this.Hq}}SJ.prototype.html=SJ.prototype.Af;SJ.prototype.text=SJ.prototype.text;function TJ(){}TJ.prototype.type=function(){return"none"};function UJ(a){this.Oa=a}var VJ;UJ.prototype.O=function(){return this.Oa};
UJ.prototype.load=function(a){if(!a)throw Error("presentation json can't be null");const b=this.O(),c=new vr(a[b.id]);b.title in a&&c.rF(a[b.title]);b.courseTitle in a&&c.AX(a[b.courseTitle]);if(!(b.slideWidth in a&&b.slideHeight in a))throw Error("presentation json doesn't contain 'slideWidth' or/and 'slideHeight' parameters");c.ud=a[b.slideWidth];c.td=a[b.slideHeight];if(b.Pm in a){var d=a[b.Pm];const C=this.O().Pm,na=c.Pm();for(let ca=0;ca<d.length;++ca){const Na=d[ca],db=new $H;db.uh=z(Na,C.name,
"");db.hI=z(Na,C.vE,"");db.lG=z(Na,C.FD,"");db.tF(z(Na,C.ol,""));db.cH=z(Na,C.email,"");db.VJ=z(Na,C.phone,"");Na[C.Mh]&&db.hF(WJ(this,Na[C.Mh]));if(C.ey in Na){const H=C.ey,ka=Na[H];var e=new dI(ka[H.Ws],ka[H.width],ka[H.height]);db.WJ=e}na.QU(db)}}const f=this.O(),h=c.GC;if(f.Db in a){const C=a[f.Db];for(var g=0;g<C.length;++g){var l=new cf(C[g][f.Db.id],"",C[g][f.Db.Af]);h.mn[l.id()]=l}}const n=c.lM;if(f.Wb in a){const C=a[f.Wb];for(g=0;g<C.length;++g){var m=XJ(C[g][f.Wb.id],C[g][f.Wb.Af],C[g][f.Wb.poster]);
n.mn[m.id()]=m}}const p=this.O();if(p.Mm in a){const C=a[p.Mm];for(let na=0;na<C.length;++na){const ca=C[na],Na=YJ(c,ca[p.Mm.Db],ca[p.Mm.loop]);c.Mm().push(Na)}}ZJ(this,c,a);if(!(b.slides in a))throw Error("presentation json doesn't contain 'slides' parameter");var q=a[b.slides];const t=q.length;if(!t)throw Error("presentation must contain at least one slide");const u=[];for(var y=0;y<t;++y){var E=c,x=q[y],F=y;const C=this.O().slides,na=x[C.Ct]||C.Ct.slide+"";if(na==C.Ct.slide+""){const H=new Wl;
H.tl=z(x,C.SU,!1);H.iq=z(x,C.Bs,!0);if(C.Ok in x)H.Qc=new FH(x[C.Ok]);else if(C.VM in x&&C.src in x){const sa=ui()&&x.hasOwnProperty(C.dO)?C.dO:C.src;H.Qc=new GH(x[sa],x[C.VM])}else throw Error("slide json must contain either contentId or css+src parameters");var M=H,O=x;const ka=this.O().slides;ka.mN in O&&(M.IH=O[ka.mN].concat());var P=H,R=x;const oa=this.O().slides;if(oa.Db in R){var V=P.Db(),fa=R[oa.Db];const sa=this.O().slides.Db;for(let Fb=0;Fb<fa.length;++Fb){const ta=fa[Fb],Ia=new Af(ta[sa.id],
new cf(ta[sa.Kk],ta[sa.Kk],""),z(ta,sa.duration,0));Ia.Bh=$J(z(ta,sa.repeat,1),sa);Ia.Vf=z(ta,sa.slides,0)-1;Ia.setVolume(z(ta,sa.volume,1));Ia.Nn=z(ta,sa.effect,!1);aK(Ia,ta,sa);V.add(Ia)}}if(oa.Wb in R){var ab=P.Wb(),jb=R[oa.Wb];const sa=this.O().slides.Wb;for(let Fb=0;Fb<jb.length;++Fb){const ta=jb[Fb],Ia=XJ(ta[sa.Kk],ta[sa.Af]),Va=new Ng(ta[sa.id],Ia,z(ta,sa.duration,0),ta[sa.Kk]);Va.Bh=$J(z(ta,sa.repeat,1),sa);Va.DH=ta[sa.qE];Va.OK=ta[sa.ty];Va.$J=ta[sa.OE];Va.Vf=z(ta,sa.slides,0)-1;Va.setVolume(z(ta,
sa.volume,1));aK(Va,ta,sa);ab.add(Va)}}var mc=H,Za=x;const Fa=this.O().slides,nb=mc.Nt(),Sb=Fa.Nt;if(Sb in Za){const sa=Za[Sb],Fb=sa.length;for(let ta=0;ta<Fb;++ta){const Ia=sa[ta],Va=new Tl(Ia[Sb.containerId],Ia[Sb.url]);Va.hh(Ia[Sb.width]);Va.uj(Ia[Sb.height]);Va.setTimeout(Ia[Sb.timeout]);Va.Jp(Ia[Sb.hE]);Va.QG=Ia[Sb.Ns];nb.add(Va)}}var Mb=H,Ea=x;const qe=this.O().slides,RK=Mb.xq,Ze=qe.mY;if(Ze in Ea){const sa=Ea[Ze],Fb=sa.length;for(let ta=0;ta<Fb;++ta){const Ia=sa[ta],Va=new MD(Ia[Ze.containerId],
Ia[Ze.$e]);Va.hh(Ia[Ze.width]);Va.uj(Ia[Ze.height]);Ze.va in Ia&&(Va.tf=Math.max(0,Ia[Ze.va]));RK.add(Va)}}bK(this,H,x);var Sj=H,Tj=x;const TK=this.O().slides,UK=Sj.xq,re=TK.lY;if(re in Tj){const sa=Tj[re],Fb=sa.length;for(let ta=0;ta<Fb;++ta){const Ia=sa[ta],Va=new ID(Ia[re.containerId],Ia[re.$e],Ia[re.clientId]);Va.hh(Ia[re.width]);Va.uj(Ia[re.height]);re.va in Ia&&(Va.tf=Math.max(0,Ia[re.va]));UK.add(Va)}}if(C.dE in x){var qs=H.Xz,ln=x[C.dE];const sa=this.O().slides.dE;for(let Fb=0;Fb<ln.length;++Fb){const ta=
ln[Fb];qs.zq.push(new Rl(ta[sa.containerId],ta[sa.url],ta[sa.width],ta[sa.height],ta[sa.va],ta[sa.bgColor],z(ta,sa.pO,!1)))}}var mn=H}else{if(na==C.Ct.quiz+""){const H=new tq;H.tl=!1;H.iq=!1;H.iz=x[C.fX];H.xt(x[C.sj]);const ka=C.gX,oa=x[ka];H.Yt=oa[ka.Ds];H.JK=oa[ka.aF];var nn=H,VK=nn.sF;a:{const qe=ka.AD;switch(oa[qe]){case qe.DD+"":var Vt="atAnyTime";break a;case qe.xD+"":Vt="afterAttempt";break a;case qe.yD+"":Vt="afterPassing";break a}throw Error("unknown quiz next slide rule");}VK.call(nn,Vt);
const Fa=ka.cE,nb=oa[Fa];var WK=cK(nb[Fa.Lm],Fa.Lm);H.Uv=WK;var XK=cK(nb[Fa.bE],Fa.Lm);H.Du=XK;H.Qc=new GH(x[C.src]);const Sb=C.hX;if(x.hasOwnProperty(Sb)){var iD=x[Sb];H.OL!=iD&&(H.OL=iD)}var jD=H}else{if(na==C.Ct.scenario+""){{const H=new Sp;H.tl=!1;H.iq=!1;H.xt(x[C.sj]);H.Qc=new GH(x[C.src]);const ka=C.vX,oa=x[ka];if(oa){H.Zt=oa[ka.Es];var kD=H,YK=kD.sF;b:{const Fa=ka.AD;switch(oa[Fa]){case Fa.DD+"":var Wt="atAnyTime";break b;case Fa.xD+"":Wt="afterAttempt";break b;case Fa.yD+"":Wt="afterPassing";
break b}throw Error("unknown scenario next slide rule");}YK.call(kD,Wt);var ok=ka.cE,lD=oa[ok],ZK=dK(lD[ok.Lm],ok.Lm);H.Vv=ZK;var $K=dK(lD[ok.bE],ok.Lm);H.Eu=$K}var nD=H}}else{const H=new Kp;H.tl=!1;H.iq=!1;H.Qc=new GH(x[C.src]);H.uQ=x[C.sE];H.xt(x[C.sj]);const ka=C.kW,oa=x[ka];H.lF(oa[ka.navigationType]);H.Xt=oa[ka.Cs];nD=H}jD=nD}mn=jD}var Ua=mn;const ca=x[C.XU];if(void 0!==ca){var aL=E.Mm()[ca];Ua.lq=aL}Ua.ZN(x[C.id]);Ua.Of=F;Ua.rF(z(x,C.title,""));Ua.xa(z(x,C.visible,!0));Ua.cB=z(x,C.Xx,0);Ua.rf=
z(x,C.text,"");Ua.jR=new SJ(z(x,C.GW,""),z(x,C.hW,""));if(C.Xe in x){var bL=Ua.Aa(),Xt=x[C.Xe],cL=Ua.Ug();const H=this.O().slides.Xe;for(let ka=0;ka<Xt.length;++ka){const oa=Xt[ka];if(!(H.NN in oa))throw Error("animation step json must contain playTime parameter");const Fa=H.MN in oa?oa[H.MN]:void 0;bL.add(new hf(oa[H.NN],Fa,(ka!=Xt.length-1||cL)&&void 0!==Fa))}}if(Ua instanceof Wl&&C.timeline in x){const H=new LJ(Ua.Md);H.load(Ua,x[C.timeline]);var Yt=H.Pg;Ua.Xz.gh(Yt);Ua.xq.gh(Yt);Ua.Nt().gh(Yt)}if(C.transition in
x){var Zf=x[C.transition];const H=this.O().slides.transition;if(!(H.type in Zf&&H.duration in Zf))throw Error("Transition type or duration not specified");var oD=Zf[H.type];VJ||(VJ={a:"Cut",b:"CutThroughBlack",c:"RandomTransition",d:"BlindsHorizontal",e:"BlindsVertical",f:"CheckerboardAcross",g:"CheckerboardDown",h:"CoverLeft",i:"CoverUp",j:"CoverRight",k:"CoverDown",l:"CoverLeftUp",m:"CoverRightUp",n:"CoverLeftDown",o:"CoverRightDown",p:"Dissolve",q:"FadeThroughBlack",r:"UncoverLeft",s:"UncoverUp",
t:"UncoverRight",u:"UncoverDown",v:"UncoverLeftUp",w:"UncoverRightUp",x:"UncoverLeftDown",y:"UncoverRightDown",z:"RandomBarsHorizontal",aa:"RandomBarsVertical",ab:"StripsLeftUp",ac:"StripsRightUp",ad:"StripsLeftDown",ae:"StripsRightDown",af:"WipeLeft",ag:"WipeUp",ah:"WipeRight",ai:"WipeDown",aj:"BoxOut",ak:"BoxIn",al:"SplitHorizontalOut",am:"SplitHorizontalIn",an:"SplitVerticalOut",ao:"SplitVerticalIn",ap:"ShapeCircle",aq:"ShapeDiamond",ar:"CombHorizontal",as:"CombVertical",at:"FadeSmoothly",au:"Newsflash",
av:"ShapePlus",aw:"PushDown",ax:"PushLeft",ay:"PushRight",az:"PushUp",ba:"Wedge",bb:"Wheel1Spoke",bc:"Wheel2Spokes",bd:"Wheel3Spokes",be:"Wheel4Spokes",bf:"Wheel8Spokes",bg:"WheelReverse1Spoke",bh:"VortexLeft",bi:"VortexUp",bj:"VortexRight",bk:"VortexDown",bl:"RippleCenter",bm:"RippleRightUp",bn:"RippleLeftUp",bo:"RippleLeftDown",bp:"RippleRightDown",bq:"GlitterDiamondLeft",br:"GlitterDiamondUp",bs:"GlitterDiamondRight",bt:"GlitterDiamondDown",bu:"GlitterHexagonLeft",bv:"GlitterHexagonUp",bw:"GlitterHexagonRight",
bx:"GlitterHexagonDown",by:"GalleryLeft",bz:"GalleryRight",ca:"ConveyorLeft",cb:"ConveyorRight",cc:"DoorsVertical",cd:"DoorsHorizontal",ce:"WindowVertical",cf:"WindowHorizontal",cg:"WarpIn",ch:"WarpOut",ci:"FlyThroughIn",cj:"FlyThroughOut",ck:"FlyThroughInBounce",cl:"FlyThroughOutBounce",cm:"RevealSmoothLeft",cn:"RevealSmoothRight",co:"RevealBlackLeft",cp:"RevealBlackRight",cq:"Honeycomb",cr:"FerrisWheelLeft",cs:"FerrisWheelRight",ct:"SwitchLeft",cu:"SwitchUp",cv:"SwitchRight",cw:"SwitchDown",cx:"FlipLeft",
cy:"FlipUp",cz:"FlipRight",da:"FlipDown",db:"Flashbulb",dc:"ShredStripsIn",dd:"ShredStripsOut",de:"ShredRectangleIn",df:"ShredRectangleOut",dg:"CubeLeft",dh:"CubeUp",di:"CubeRight",dj:"CubeDown",dk:"RotateLeft",dl:"RotateUp",dm:"RotateRight",dn:"RotateDown","do":"BoxLeft",dp:"BoxUp",dq:"BoxRight",dr:"BoxDown",ds:"OrbitLeft",dt:"OrbitUp",du:"OrbitRight",dv:"OrbitDown",dw:"PanLeft",dx:"PanUp",dy:"PanRight",dz:"PanDown",ea:"FallOverLeft",eb:"FallOverRight",ec:"DrapeLeft",ed:"DrapeRight",ee:"Curtains",
ef:"WindLeft",eg:"WindRight",eh:"Prestige",ei:"Fracture",ej:"Crush",ek:"PeelOffLeft",el:"PeelOffRight",em:"PageCurlSingleLeft",en:"PageCurlSingleRight",eo:"PageCurlDoubleLeft",ep:"PageCurlDoubleRight",eq:"AirplaneLeft",er:"AirplaneRight",es:"OrigamiLeft",et:"OrigamiRight",mo:"MorphByObject",mw:"MorphByWord",mc:"MorphByChar"});const ka=VJ[oD]||oD;let oa=null,Fa=!1;if(H.rg in Zf&&""!=Zf[H.rg]){const nb=Zf[H.rg];"-"==nb?Fa=!0:oa=Gf(Ua.Db(),nb)}var dL=new Bf(ka||"null",Zf[H.duration],oa,Fa);Ua.xd=dL}else Ua.xd=
new Bf("null",0);const Na=this.O().slides;if(Na.Ly in x){const H=Na.Ly,ka=x[H];var eL=new eI(ka[H.Ws],ka[H.width],ka[H.height]);Ua.GL=eL}if(C.Im in x){var fL=Ua.Im(),pD=x[C.Im];const H=this.O().slides.Im;for(let ka=0;ka<pD.length;++ka){const oa=pD[ka];let Fa=null;if(H.params in oa){const nb=oa[H.params];Fa={};for(let Sb=0;Sb<nb.length;++Sb){const qe=nb[Sb];Fa[qe[H.params.name]]=qe[H.params.value]}}fL.Eb.push(new ff(oa[H.name],Fa))}}const db=x[C.ZW];if(null!==db){const H=E.Pm().jN(db);Ua.mK=H}C.wf in
x&&eK(this,Ua.wf(),x[C.wf]);if(C.Jm in x){var hL=Ua.Jm(),iL=x[C.Jm];const H=this.O().slides.Jm,ka=z(iL,H.lock,!1),oa=ju();for(let Fa=0;Fa<oa.length;++Fa)hL.LI[oa[Fa]]=!ka}if(C.vg in x){var jL=Ua.vg(),qD=x[C.vg];const H=this.O().slides.vg;for(let ka=0;ka<qD.length;++ka){const oa=qD[ka],Fa=z(oa,H.Lh,[]),nb=new Mf({id:z(oa,H.id),gl:z(oa,H.gl,!1),gi:z(oa,H.gi,!1),GF:z(oa,H.GF),Lh:new Kf(Fa[0],Fa[1],Fa[2],Fa[3]),Xg:z(oa,H.Xg,!1),mh:z(oa,H.mh,!1),rotation:z(oa,H.rotation,0),slides:z(oa,H.slides,[]),Pp:z(oa,
H.Pp)});jL.hf.push(nb)}}u.push(Ua)}const rD=u.length;let sD=!1;for(var $f=0;$f<rD;++$f)if(u[$f].visible()){sD=!0;break}if(!sD)for($f=0;$f<rD;++$f)u[$f].xa(!0);let Zt=-1;for(let C=0;C<u.length;++C){const na=u[C];if(na.visible()){let ca=na.Xx();2<=ca-Zt&&(ca=Zt+1);Zt=na.cB=ca}}const kL=c.slides();for(y=0;y<u.length;++y)Tf(kL,u[y]);a:{for(var Gh=0;Gh<c.slides().count();++Gh){const ca=c.slides().R(0).wf();if(ca.pj()||ca.Ep())break a}const C=this.O(),na=c.MG;if(C.Gy in a){const ca=a[C.Gy];for(Gh=0;Gh<
ca.length;++Gh){const Na=ca[Gh],db=new dg(c.slides(),Na[C.Gy.name],Na[C.Gy.slides]);na.add(db)}}if(C.Vx in a){const ca=ur(na,a[C.Vx]);c.He=ca}}if(b.Gs in a){var ud=a[b.Gs];const C=this.O().Gs;c.iu=new Bq({content:ud[C.content],contentHover:ud[C.contentHover],url:ud[C.url],width:ud[C.width],height:ud[C.height],Sp:ud[C.Sp],language:ud[C.language],$o:ud[C.$o],Zo:ud[C.Zo],fp:ud[C.fp],gp:ud[C.gp]})}if(b.Mt in a){var se=a[b.Mt];const C=this.O().Mt,na=new Eq(se[C.src],new Kf(se[C.left],se[C.top],se[C.width],
se[C.height]));na.fh(se[C.opacity]);C.url in se&&(na.je=se[C.url],na.Ak=se[C.target]);c.Yi=na}if(b.settings in a){var ag=c.settings(),cd=a[b.settings];const C=this.O().settings;if(cd[C.navigation]){var $t=ag.navigation(),Hh=cd[C.navigation];const na=this.O().settings.navigation;if(na.Th in Hh){var tD=$t.Th(),Zn=Hh[na.Th];const ca=this.O().settings.navigation.Th;ca.enabled in Zn&&tD.yb(Zn[ca.enabled]);let Na="bySteps";if(ca.target in Zn)switch(Zn[ca.target]){case ca.target.step+"":Na="bySteps";break;
case ca.target.slide+"":Na="bySlides"}tD.Vj=Na}Hh[na.keyboard]&&(new hI(na.keyboard)).yE($t.keyboard(),Hh[na.keyboard]);if(na.mp in Hh){var lL=$t.mp(),mL=Hh[na.mp];const ca=this.O().settings.navigation.mp;lL.xM=z(mL,ca.OF,!0)}}if(cd[C.Ob]){const na=cd[C.Ob];var Ih=ag.Ob(),$n=na;const ca=this.O().settings.Ob;Ih.BX(z($n,ca.Sh,!1));Ih.yy(z($n,ca.Vc,!1));Ih.vw=z($n,ca.eF,!1);switch(z($n,ca.resume)){case ca.resume.prompt+"":Ih.wo="prompt";break;case ca.resume.TU+"":Ih.wo="always";break;case ca.resume.BW+
"":Ih.wo="never"}if(na[C.Ob.navigationType]){var uD=ag.navigation(),nL=uD.lF,oL=na[C.Ob.navigationType];const Na=this.O().settings.Ob.navigationType;let db="free";switch(oL){case Na.nX+"":db="restricted";break;case Na.zX+"":db="sequential"}nL.call(uD,db)}}if(C.Jk in cd){var pL=ag.Jk(),qL=cd[C.Jk];const na=this.O().settings.Jk;pL.fA=z(qL,na.fitToWindow,!0)}C.fn in cd&&fK(this,ag.fn(),cd[C.fn]);C.Fp in cd&&gK(this,ag.Fp(),cd[C.Fp]);if(C.Bm in cd){var tL=ag.Bm(),vD=cd[C.Bm];const na=this.O().settings.Bm;
na.enabled in vD&&tL.yb(vD[na.enabled])}}b.skinSettings in a&&(c.settings().Tr=a[b.skinSettings]);b.xb in a&&c.settings().iF(a[b.xb]);if(!(b.TM in a))throw Error("presentation json doesn't contain 'coreContainerId' parameter");c.settings().uk=a[b.TM];if(b.fonts in a){var wD=a[b.fonts];const C=this.O().fonts;for(let na=0;na<wD.length;++na){const ca=wD[na],Na=ca[C.name],db=ca[C.gY],H=ca[C.NF];var xD=db,yD=H,zD=ca[C.UU],AD=ca[C.sV],BD=ca[C.QV];let ka=0;if(-1==wm){let nb=0;if(Kb)Db&&(nb=1);else if(Jb||
oi)nb=2;else if(Lb||ki)Cb?nb=4:Ei?nb=3:Hb?nb=5:Ib&&Hi&&(nb=6);wm=nb}const oa=wm;if(0!=oa){switch(oa){case 1:ka=.5*Math.max(zD+AD+BD-(xD+yD),0);break;case 3:ka=.5*BD;case 2:case 4:case 5:case 6:ka+=.5*(xD+AD-zD-yD)}0!=ka&&(vm=!0)}um[Na]=new ym(db+H,H,ka,z(ca,C.bold,!1),z(ca,C.italic,!1));const Fa=new Cq(Na,ca[C.localName],ca[C.urls]);c.lH.push(Fa)}}a[b.Mh]&&c.hF(WJ(this,a[b.Mh]));const CD=this.O();if(CD.Gp in a){var uL=c.resources().Gp(),DD=a[CD.Gp];const C=this.O().Gp;for(let na=0;na<DD.length;++na){const ca=
DD[na];a:{switch(ca[C.type]){case C.type.VU+"":var ED="attachment";break a;case C.type.kX+"":ED="webLink";break a}throw Error("unknown reference type");}uL.uo.push(new Pq(ED,ca[C.title],ca[C.url],ca[C.target]))}}return c};function cK(a,b){switch(a[b.type]){case b.type.LD+"":return new Ag("closePlayerWindow");case b.type.Xc+"":return new Ag("gotoNextSlide");case b.type.Yc+"":return new Bg(a[b.H])}throw Error("unknown finish action");}
function dK(a,b){switch(a[b.type]){case b.type.LD+"":return new Ig("closePlayerWindow");case b.type.Xc+"":return new Ig("gotoNextSlide");case b.type.Yc+"":return new Jg(a[b.H])}throw Error("unknown finish action");}
function bK(a,b,c){function d(p){if(6!=p.length)throw Error("transform matrix must contain exactly 6 items");return new Dl(p[0],p[1],p[2],p[3],p[4],p[5])}function e(p){return new Kf(p[0],p[1],p[2],p[3])}function f(p,q){return new g(p[q.id],e(p[q.Lh]),d(p[q.Gf]),d(p[q.tg]))}function h(p,q){return new Jf(p[q.top],p[q.right],p[q.bottom],p[q.left])}const g=Ll,l=Kl,n=a.O().slides.FX;if(c[n]){var m=n.vF;w(c[n][m],(p,q)=>{const t=new Pl(p[m.type],e(p[m.Lh]),q),u=m.item;p[m.tb]&&(t.tb=f(p[m.tb],u),t.KM=p[m.tb][m.aW]);
w(p[m.jh],y=>{y=f(y,u);t.jh.push(y)});w(p[m.Nk]||[],y=>{y=new l(y[m.type],y[m.text],y[m.Cf]);t.Nk.push(y)});t.text=p[m.text];t.Xk=p[m.Xk]||0;t.rotation=p[m.rotation]/180*Math.PI;t.Xg=p[m.Xg];t.mh=p[m.mh];t.Cf=p[m.Cf];q=t.lp;q.line=p[m.line];q.fill=p[m.fill];q.Gm=p[m.Gm];q.Qm=p[m.Qm];q.Vm=p[m.Vm];q.Xm=p[m.Xm];q.Ym=p[m.Ym];Ol(t);p[m.fc]&&(t.fc=h(p[m.fc],m.fc));b.Go.push(t)},a)}}
function eK(a,b,c){function d(f){switch(f[e.action.type]){case e.action.type.FW+"":return new TJ;case e.action.type.Yc+"":return new wr(f[e.action.H])}throw Error("unknown branching action");}const e=a.O().slides.wf;e.pj in c&&Df(b,d(c[e.pj]));e.Ep in c&&Ef(b,d(c[e.Ep]))}function fK(a,b,c){function d(f){return new rr(f[e.link.url],f[e.link.target])}const e=a.O().settings.fn;pr(b,e.Cy in c?d(c[e.Cy]):null);qr(b,e.jy in c?d(c[e.jy]):null)}
function gK(a,b,c){function d(e){return e?new gr(new Date(1E3*e)):null}a=a.O().settings.Fp;a.password in c&&(b.NB=c[a.password]);if(a.Qp in c){const e=c[a.Qp];mr(b,new kr(d(e[a.Qp.wV]),d(e[a.Qp.xV])))}a.Ex in c&&(b.TG=c[a.Ex])}function $J(a,b){if(!a)return 1;if("number"===typeof a)return a;switch(a){case b.repeat.rO+"":return"untilNextClick";case b.repeat.sO+"":return"untilNextSlide";case b.repeat.tO+"":return"untilNextSound"}return 1}
function aK(a,b,c){if(c.kg in b){b=b[c.kg];for(let e=0;e<b.length;++e){var d=b[e];d=new lf(d[c.kg.name],d[c.kg.time]);a.kg().add(d)}}}function WJ(a,b){a=a.O().Mh;const c=new ZH;var d=a.logo;const e=b[d];e&&(d=new dI(e[d.Ws],e[d.width],e[d.height]),c.Sn!=d&&(c.Sn=d,c.OQ.D()));c.tF(z(b,a.ol,""));c.sD=z(b,a.Ry,"_blank");return c}
function XJ(a,b,c){let d=0,e=0,f=b.match(/width="(\d+(?:\.\d+)?(?:px)?)"/);f&&(d=parseInt(f[1],10));(f=b.match(/height="(\d+(?:\.\d+)?(?:px)?)"/))&&(e=parseInt(f[1],10));return new fg(a,b,d,e,c)}function YJ(a,b,c){const d=[];w(b,e=>{d.push(a.GC.mn[e]||null)});return new df(d,c)}
function ZJ(a,b,c){const d=a.O();if(d.Jc in c){const e=b.Jc();c=c[d.Jc];if(d.Jc.Kh in c){const f=b.GC,h=e.Kh();hK(a,c[d.Jc.Kh],(g,l,n,m)=>{h.zM(new Jq(f.mn[g]||null,n,m,l))})}if(d.Jc.ii in c){const f=b.lM,h=e.ii();hK(a,c[d.Jc.ii],(g,l,n,m)=>{h.BM(new Mq(f.mn[g]||null,n,m,l))})}}}function hK(a,b,c){const d=a.O().Jc.track;for(let f=0;f<b.length;++f){var e=b[f];const h=e[d.jt],g=z(e,d.volume,1),l=iK(a,e[d.Qa]);e=iK(a,e[d.Od]);c(h,g,l,e)}}
function iK(a,b){a=a.O().Jc.track.timestamp;return new Ve(b[a.H],b[a.fa],b[a.va])};var jK=function(){function a(){throw Error("stream error");}function b(l){return"undefined"==typeof l}function c(l){var n=0,m=l[n++],p=l[n++];(-1==m||-1==p||8!=(m&15)||0!=((m<<8)+p)%31||p&32)&&a();this.ID=l;this.Xo=n;this.Is=this.Ls=this.Ms=0;this.XD=!1;this.vx=null}var d=[],e=[],f=[],h,g;(function(){var l=[],n,m=2;for(n=0;8>n;++n)l.push(m),m+=1<<(n>>1);for(n=0;3>n;++n)d.push(n+16);for(n=0;7>=n;++n)d.push((8-n)%8),d.push(8+n);for(n=1;3>n;++n)e.push(n);for(n=0;28>n;++n){var p=n>>1<<16;m=n%8;p+=(l[m]<<
(n-m)/2)+1;e.push(p)}for(n=3;7>n;++n)f.push(n);m=7;for(n=0;24>n;++n)l=n>>2,p=(l<<16)+m,m+=1<<l,f.push(p);for(n=0;3>n;++n)f.push(258)})();c.prototype.WD=function(l){var n=this.vx,m=n?n.length:0;if(l<m)return n;for(var p=1024;p<l;)p<<=1;l=Array(p);for(p=0;p<m;++p)l[p]=n[p];return this.vx=l};c.prototype.SV=function(){for(;!this.XD;)this.jX();return this.vx.slice(0,this.Is)};c.prototype.Rk=function(l){for(var n=this.Ms,m=this.Ls,p=this.ID,q=this.Xo,t;n<l;)b(t=p[q++])&&a(),m|=t<<n,n+=8;this.Ls=m>>l;this.Ms=
n-l;this.Xo=q;return m&(1<<l)-1};c.prototype.jE=function(l){var n=l[0],m=l[1];l=this.Ms;for(var p=this.Ls,q=this.ID,t=this.Xo;l<m;){var u;b(u=q[t++])&&a();p|=u<<l;l+=8}m=n[p&(1<<m)-1];n=m>>16;m&=65535;(0==l||l<n||0==n)&&a();this.Ls=p>>n;this.Ms=l-n;this.Xo=t;return m};c.prototype.Rs=function(l){for(var n=l.length,m=0,p=0;p<n;++p)l[p]>m&&(m=l[p]);for(var q=1<<m,t=Array(q),u=1,y=0,E=2;u<=m;++u,y<<=1,E<<=1)for(var x=0;x<n;++x)if(l[x]==u){var F=0,M=y;for(p=0;p<u;++p)F=F<<1|M&1,M>>=1;for(p=F;p<q;p+=E)t[p]=
u<<16|x;++y}return[t,m]};c.prototype.jX=function(){function l(F,M,O,P,R){for(F=F.Rk(O)+P;0<F--;)M[y++]=R}var n=this.Rk(3);n&1&&(this.XD=!0);n>>=1;if(0==n){var m=this.ID,p=this.Xo,q;b(q=m[p++])&&a();var t=q;b(q=m[p++])&&a();t|=q<<8;b(q=m[p++])&&a();n=q;b(q=m[p++])&&a();(n|q<<8)!=(~t&65535)&&a();this.Ms=this.Ls=0;q=this.Is;n=this.WD(q+t);this.Is=t=q+t;for(var u=q;u<t;++u){if(b(q=m[p++])){this.XD=!0;break}n[u]=q}this.Xo=p}else{if(1==n){if(!h){m=Array(288);for(var y=0;143>=y;++y)m[y]=8;for(;255>=y;++y)m[y]=
9;for(;279>=y;++y)m[y]=7;for(;287>=y;++y)m[y]=8;h=this.Rs(m);n=Array(31);for(y=0;32>y;++y)n[y]=5;g=this.Rs(n);g[0][15]=0;g[0][31]=0}p=h;q=g}else if(2==n){n=this.Rk(5)+257;q=this.Rk(5)+1;p=this.Rk(4)+4;m=Array(d.length);for(y=0;y<p;)m[d[y++]]=this.Rk(3);p=this.Rs(m);y=m=0;q=n+q;for(t=Array(q);y<q;)u=this.jE(p),16==u?l(this,t,2,3,m):17==u?l(this,t,3,3,m=0):18==u?l(this,t,7,11,m=0):t[y++]=m=u;p=this.Rs(t.slice(0,n));q=this.Rs(t.slice(n,q))}else a();t=(n=this.vx)?n.length:0;for(u=this.Is;;){var E=this.jE(p);
if(256>E)u+1>=t&&(n=this.WD(u+1),t=n.length),n[u++]=E;else{if(256==E){this.Is=u;break}E-=257;E=f[E];var x=E>>16;0<x&&(x=this.Rk(x));m=(E&65535)+x;E=this.jE(q);E=e[E];x=E>>16;0<x&&(x=this.Rk(x));E=(E&65535)+x;u+m>=t&&(n=this.WD(u+m),t=n.length);for(x=0;x<m;++x,++u)n[u]=n[u-E]}}}};return c}();function kK(a,b){a=eh(a);a=(new jK(a)).SV();const c=[];let d=0,e,f,h,g=-1;const l=a.length;for(;d<l;)(e=a[d])?128>e?(c[++g]=String.fromCharCode(e),++d):191<e&&224>e?(f=a[d+1],c[++g]=String.fromCharCode((e&31)<<6|f&63),d+=2):(f=a[d+1],h=a[d+2],c[++g]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63),d+=3):++d;b(c.join(""))};function lK(a,b,c,d){var e=(new UJ(c)).load(b);b=parseInt(z(b,c.XW,"2007"),10);c=new YH;a.jK.D(e);e=new QH(e,b,c);He(a,e.ro,f=>{f.view().il().id=d;Hm(f.view().displayObject(),d);a.ro.D(f)});e.Pk()}function mK(a,b,c,d){kK(b,e=>{e=JSON.parse(e);if(!e)throw Error("invalid presentation json!");lK(a,e,c,d)})}class nK extends og{constructor(){super();this.ro=ng(this);this.jK=ng(this)}Pk(a,b,c){la(a)?lK(this,a,b,c):mK(this,a,b,c)}};function oK(a,b){B(a,b.sI,a.RA,a);B(a,b.YL,a.bD,a);b=b.Bt();B(a,b.Rp(),a.RA,a);B(a,b.Oy(),a.bD,a)}function pK(a,b){B(a,b.Co,a.RA,a);B(a,b.Ln,a.bD,a)}
class qK extends og{constructor(a){super();this.Xy=a;a=pi();this.Da=a.hasOwnProperty("accessibility")&&"1"==a.accessibility&&this.Cm()?"accessible":"normal";this.mD=!1;this.lK=ng(this);this.uI=ng(this);this.ZL=ng(this)}mode(){return this.Da}Cm(){return this.Xy&&!ki&&!(0<=window.location.search.indexOf("ispringpreview=1"))}RA(){this.mD=!0;this.uI.D()}bD(){this.mD=!1;this.ZL.D()}};function rK(a,b,c,d){if(a.Cm()){const e=new L({Lk:"SECTION"});e.Yh("region");e.xy(d.PB_ACCESSIBLE_ARIA_LABEL_SETTINGS);d=nd(document,c);c=e.displayObject();d.appendChild(c);c=new eC({V:"presentation-view-mode-switch-control",tabIndex:0});Ws(e,c);sK(c,a);tK(c,a);uK(c,b);return c}return null}
function sK(a,b){a.za.addHandler(()=>{if(b.mD)Ba("view mode change is locked");else{const d="normal"==b.Da?"accessible":"normal";a:switch(d){case "normal":var c=!0;break a;case "accessible":c=b.Cm();break a;default:throw Error("unknown presentation view mode");}c&&(b.Da=d,b.lK.D(d))}})}function tK(a,b){let c=!1;b.uI.addHandler(()=>{document.activeElement==a.displayObject()&&(c=!0);a.yb(!1)});b.ZL.addHandler(()=>{a.yb(!0);c&&(a.focus(),c=!1)})}
function uK(a,b){b.Fq.addHandler(()=>{a.focus()});b.$F.addHandler(c=>{"normal"==c&&a.focus()})};function vK(a,b){a=go(a);a=parseInt(a.slice(1),16);var c=[a>>16,a>>8&255,a&255].concat(b);b=c[0];a=c[1];var d=c[2];c=c[3];if(isNaN(b)||0>b||255<b||isNaN(a)||0>a||255<a||isNaN(d)||0>d||255<d||isNaN(c)||0>c||1<c)throw Error('"('+b+","+a+","+d+","+c+')" is not a valid RGBA color');b=[b,a,d,c];a=b.slice(0);a[3]=Math.round(1E3*b[3])/1E3;return"rgba("+a.join(",")+")"};var wK=class{constructor(a){this.Z=a}get type(){return this.Z}};function xK({color:a,opacity:b=1}){return new yK({color:a,opacity:b})}var yK=class extends wK{constructor({color:a,opacity:b}){super("SOLID");this.Dd=a;this.Ke=b}set color(a){this.Dd=a}get color(){return this.Dd}set opacity(a){this.Ke=a}get opacity(){return this.Ke}nO(){return vK(this.Dd,this.Ke)}qO(a){return xK({color:this.Dd,opacity:this.Ke*a})}};function zK({sp:a,hp:b=0}){return new AK({sp:a,hp:b})}
var AK=class extends wK{constructor({hp:a,sp:b}){super("GRADIENT");this.wu=a;this.Ku=b}get hp(){return this.wu}set hp(a){this.wu=a}get sp(){return this.Ku}set sp(a){this.Ku=a}nO(){const a=this.Ku.map(b=>vK(b.color,b.opacity)).join(", ");return`linear-gradient(${this.wu}deg, ${a})`}qO(a){return zK({hp:this.wu,sp:this.Ku.map(b=>({color:b,opacity:b.opacity*a}))})}};function BK(a){const b={};Object.keys(a).forEach(c=>{const d=a[c];"SOLID"===d.type?b[c]=xK({color:d.color,opacity:d.opacity}):"GRADIENT"===d.type&&(b[c]=zK({hp:d.degree,sp:d.gradient}))});return b};class CK{constructor(){var a=new KF;this.HW=new LF;this.NU=a;this.jW=MF}};function DK(a,b){zd(a.ph);a.ph=null;if("normal"==b){var c=a.HK.HW;b={__slide_width__:`${a.J.slideWidth()}px`,__slide_height__:`${a.J.slideHeight()}px`,__player_view_id__:a.BS,__borderRadius__:`${a.J.settings().skin().borderRadius}px`};var d=c.OD,e;if(e=a.gb){e=a.gb;const f={};for(const [h,g]of Object.entries(e))f[h]=g.nO();e=f}a.ph=d.call(c,e,b)}else if("accessible"==b)a.ph=a.HK.NU.OD();else throw Error("unknown presentation view mode");}
class EK{constructor({oe:a,UW:b,colors:c,$E:d}){this.J=a;this.BS=b;this.gb=c;this.HK=d;this.ph=null;(a=this.gb)&&(a.popupBorder=a.playerText.qO(.08))}};function FK(a,b){if(a.NG.hasOwnProperty(b))a=a.NG[b];else throw Error("unknown template id: "+b);a=vd(Gc(a));return a instanceof DocumentFragment?a.firstChild:a}class GK{constructor(a){this.NG=a}sH(a){return"{"+a+"}"}};class HK extends GK{};function IK(a){if(a.SC&&a.SC.visible()){a.SC.focus();var b=!0}else b=!1;b||(a.Rf&&a.Rf.isActive()?(a.Rf.focus(),b=!0):b=!1);!b&&(a=a.lb.Fb[a.B.qa()].content(),a=void 0!==a.firstElementChild?a.firstElementChild:Bd(a.firstChild))&&(a.setAttribute("tabindex",0),a.focus())}function JK(a,{AO:b,f2:c=200}){if(a.KA()||a.Qq())b?setTimeout(()=>IK(a),c):IK(a)}
class KK extends og{constructor({ua:a,Mp:b}){super();this.B=a;this.lb=b;this.Rf=this.SC=null}KA(){return-1!=this.B.qa()&&this.B.W()instanceof Wl}Qq(){return-1!=this.B.qa()&&this.B.W()instanceof Sp}};function LK(a){if(0<a.Sf.length){const b=MK(a,a.Sf[0]);a.Ad("label",b)}else a.Ad("label","")}function NK(a){return a.Rf.Kh().ub().filter(b=>OK(a,b)).map(b=>b.audio())}function PK(a){return a.Rf.ii().ub().filter(b=>OK(a,b)).map(b=>b.video())}function OK(a,b){return a.I()>=b.Qa().H()&&a.I()<=b.Od().H()}function MK(a,b){return a.Ra.Te(b instanceof HTMLAudioElement?"PB_ACCESSIBLE_AUDIO_NARRATION_LABEL":"PB_ACCESSIBLE_VIDEO_NARRATION_LABEL")}
class QK extends L{constructor({Jc:a,ua:b,xb:c}){super({Lk:"SECTION",V:"ppt-accessible-narration"});this.Rf=a;this.B=b;this.Ra=c;this.Sf=[];this.KI=new Map;B(this,this.B.qg(),this.sU,this)}isActive(){return 0<this.Sf.length}focus(){this.isActive()&&this.Sf[0].focus()}sU(){const a=this.Sf.slice();this.Sf.forEach(b=>zd(b));this.Sf.splice(0,this.Sf.length);[...NK(this),...PK(this)].forEach(b=>{var c=this.Sf,d=c.push,e;if(!(e=this.KI.get(b.id()))){e=qG(b.Af()||pG(b));e=vd(Gc(e));const f=MK(this,e);zs(e,
"label",f);e=this.KI.set(b.id(),e).get(b.id())}d.call(c,e)});this.Sf.forEach(b=>{!a.includes(b)&&b.readyState&&(b.currentTime=0)});this.Sf.forEach(b=>this.Ma(b));this.xa(!!this.Sf.length);LK(this)}I(){return this.B.qa()}};class SK extends L{constructor({ua:a,TW:b,xb:c}){super({Lk:"NAV",V:"simple-navigation-panel"});this.Yh("navigation");this.xy(c.Te("PB_ACCESSIBLE_ARIA_LABEL_NAVIGATION_BUTTONS"));this.B=a;this.VB=b;this.Ra=c;this.wH=ng(this);this.uH=ng(this);const {cV:d,bV:e}=this.Hz();Ws(this,e);Ws(this,d);B(this,this.B.qg(),()=>{setTimeout(()=>{var f=d.yb,h=!this.B.jj("switchToPreviousSlide"),g=-1!=this.B.Td();f.call(d,h&&g);f=e.yb;h=!this.B.jj("switchToNextSlide");g=-1!=this.B.Rd();f.call(e,h&&g||this.B.qa()==this.B.Rh()&&
this.VB.Sh())},200)})}Hz(){const a=this.tu({caption:this.Ra.Te("PB_ACCESSIBLE_NAVIGATION_PREV_BUTTON"),RM:()=>this.wH.D()}),b=this.tu({caption:this.Ra.Te("PB_ACCESSIBLE_NAVIGATION_NEXT_BUTTON"),RM:()=>this.uH.D()});return{cV:a,bV:b}}tu({caption:a,RM:b}){const c=new eC({Hc:Ys(this,"button")});c.lc(a);B(this,c.za,b,this);return c}};function gL(a){return("presentationNavigationType"!=a.qy()||"presentationSeeking"==a.zN())&&"quizNavigationSettings"!=a.qy()&&"scenarioNavigationSettings"!=a.qy()}
class rL extends og{constructor(a){super();this.B=a;this.Vj="bySlides"}Ab(){return this.B.U().Ab()}isNextAvailable(){const a=this.B.jj("bySlides"==this.Vj?"switchToNextSlide":"switchToNextStep");return!(a&&gL(a))}isPrevAvailable(){const a=this.B.jj(this.Vj?"switchToPreviousSlide":"switchToPreviousStep");return!(a&&gL(a))}prev(){"bySlides"==this.Vj?this.B.zf():"bySteps"==this.Vj&&this.B.rp()}next(){"bySlides"==this.Vj?this.B.Xc():"bySteps"==this.Vj&&this.B.Uk()}};class sL extends og{constructor(a,b,c){super();this.B=a;this.mf=b;this.jv=c;B(this,this.mf.Ab(),()=>{this.B.invalidate()})}isNextAvailable(){return this.jv?this.mf.isNextAvailable():this.B.isNextAvailable()||this.mf.isNextAvailable()}isPrevAvailable(){return this.jv?this.mf.isPrevAvailable():this.B.isPrevAvailable()||this.mf.isPrevAvailable()}prev(){this.jv?this.mf.prev():this.B.isPrevAvailable()?this.B.prev():this.mf.prev()}next(){this.jv?this.mf.next():this.B.isNextAvailable()?this.B.next():this.mf.next()}}
;function vL(a,b,c){const d=a.cF().type();var e=b.settings().navigation().navigationType();c=c.W();if(e=wL(d,e,c)){c={};b=b.slides();a=a.cF().my();if(a=null!=a?`${b.R(a).LF()+1}`:"")b=c,"precedingQuizFailed precedingQuizNotPassed precedingQuizNotCompleted precedingScenarioNotPassed precedingScenarioFailed precedingScenarioNotCompleted".split(" ").includes(d)&&(b.SLIDE_INDEX=a);return{Ap:e,yN:c}}return null}
function wL(a,b,c){switch(a){case "currentSlideIsNotCompleted":return"PB_CURRENT_SLIDE_IS_NOT_COMPLETED";case "backwardNavigationIsRestricted":case "forwardNavigationIsRestricted":return"sequential"==b?"PB_NAVIGATION_IS_SEQUENTIAL":"PB_NAVIGATION_IS_RESTRICTED";case "interactionNotCompleted":return c instanceof Sp?"PB_SCENARIO_SLIDE_WINDOW_TEXT":c instanceof Kp?"PB_INTERACTION_SLIDE_WINDOW_TEXT":"PB_QUIZ_SLIDE_WINDOW_TEXT";case "precedingQuizFailed":return"PB_PRECEDING_QUIZ_FAILED_WINDOW_TEXT";case "precedingQuizNotPassed":return"PB_PRECEDING_QUIZ_NOT_PASSED_WINDOW_TEXT";
case "precedingQuizNotCompleted":return"PB_PRECEDING_QUIZ_NOT_COMPLETED_WINDOW_TEXT";case "precedingScenarioNotPassed":return"PB_PRECEDING_SCENARIO_NOT_PASSED_WINDOW_TEXT";case "precedingScenarioFailed":return"PB_PRECEDING_SCENARIO_FAILED_WINDOW_TEXT";case "precedingScenarioNotCompleted":return"PB_PRECEDING_SCENARIO_NOT_COMPLETED_WINDOW_TEXT";default:return""}};function xL(a){const b=a.B;B(a,a.C.BF(),a.CB,a);B(a,a.Jb.Wh().DE(),a.zB,a);B(a,b.qg(),a.DB,a);B(a,b.kz,a.lP,a);B(a,b.jn,a.Zy,a);He(a,a.C.rE(),a.GR,a);B(a,a.vv.wH,()=>{yL(a,a.B.zf.bind(a.B,!1))});B(a,a.vv.uH,()=>{yL(a,a.B.Xc.bind(a.B,!1))})}function yL(a,b){const c=zL(a);c&&a.Ad("busy","true");b();c&&setTimeout(()=>a.Ad("busy","false"),200)}function zL(a){return a.Hw?"slide"==a.Hw.pV&&"slide"==a.Hw.DW:!1}
class AL extends L{constructor({V:a,Sd:b,messages:c,skinSettings:d}){super({V:a});this.C=b;this.Tr=d;this.Ra=new NF(c);this.J=b.oe();this.Jb=b.view();this.B=this.Jb.ua();this.Li=this.Jb.Wh();this.ia=this.B.U();this.ki=this.Jb.ki;this.mf=Je(this,new rL(this.Li));this.iA=Je(this,new KK({ua:this.B,Mp:this.Jb.Mp()}));this.vv=new SK({ua:this.Li,TW:this.J.settings().Ob(),xb:this.Ra});a=this.J.Jc();this.Rf=a.Kh().count()||a.ii().count()?new QK({Jc:a,ua:this.B,xb:this.Ra}):null;a=new L({Lk:"SECTION",V:"ppt-accessible-footer"});
a.Yh("region");a.xy(this.Ra.Te("PB_ACCESSIBLE_ARIA_LABEL_BOTTOM_PANEL"));this.Aq=a;this.Hw=null;yu(this.ki,this.displayObject());xL(this);this.hh(this.J.slideWidth());-1==this.B.qa()&&this.xa(!1);Ce(this,window,"resize",this.bM,this);this.bM()}CB(a){var b=a.action(),c=this.J.settings().Ob().sy();"resumePlayback"==b&&"prompt"==c&&(a.wy("delayStartup"),b=a.JC,c=this.Ra.Te("PB_RESUME_PRESENTATION_WINDOW_TEXT"),confirm(c)?b.resume(a.H(),!0):b.start(this.B.Se(),!0))}GR(){this.xa(!0);JK(this.iA,{AO:!1})}DB(){if(this.fd()instanceof
Kp){var a=this.B.$a(),b=this.fd(),c=a,d=c.setExternalNavigationController;a=new sL(a.playerController(),this.mf,2==b.Rl);d.call(c,a)}this.vv.xa(this.KA()||this.Qq())}lP(a,b){this.fd()instanceof tq?this.B.Ca().skin().bottomPanel().setExternalParent(null):this.fd()instanceof Kp?this.B.$a().setExternalParentForAccessibleNavigationControls(null):this.Qq()&&this.B.Pa().setExternalParentForAccessibleBottomPanel(null);this.Hw={pV:a,DW:b}}Zy(){if(this.fd()instanceof tq){var a=this.Aq;this.B.Ca().skin().bottomPanel().setExternalParent(a?
a.displayObject():null)}else this.fd()instanceof Kp?(a=this.Aq,this.B.$a().setExternalParentForAccessibleNavigationControls(a?a.displayObject():null)):this.Qq()&&(a=this.Aq,this.B.Pa().setExternalParentForAccessibleBottomPanel(a?a.displayObject():null));JK(this.iA,{AO:zL(this)})}fd(){return-1!=this.B.qa()?this.B.W():null}KA(){return this.fd()instanceof Wl}Qq(){return this.fd()instanceof Sp}zB(a){(a=vL(a,this.J,this.B))&&this.xC(a)}xC({Ap:a,yN:b}){const c=this.B.U().suspended();ks(this.ia,!0);alert(this.Ra.Te(a,
b));ks(this.ia,c)}bM(){Vs(this,"min-height",`${window.innerHeight}px`)}};class BL extends AL{constructor({Sd:a,messages:b,skinSettings:c}){super({V:"accessible-null-skin",Sd:a,messages:b,skinSettings:c});(a=this.Rf)&&Ws(this,a);this.Ma(this.Jb.displayObject());(a=this.vv)&&Ws(this.Aq,a);(a=this.Aq)&&Ws(this,a);this.iA.Rf=this.Rf}};class CL extends L{constructor(){super({V:"launch-screen"});const a=new L({V:"launch-screen-button"});ki||B(this,a.za,()=>this.za.D());const b=new L({Hc:Ys(a,"play-icon")}),c=new L({Hc:Ys(a,"icon")});a.Ma(b);a.Ma(c);this.Ma(a)}};function DL(a){if(a.rf){const b=new L({Lk:"SPAN",Hc:Ys(a,"button-text")});b.lc(a.rf);return b}return null}
class EL extends L{constructor(){var {icon:a,type:b,size:c="medium",text:d,prefix:e}={type:"uikit-primary-button"};super({V:`${e?e:""}${b}`,Lk:"BUTTON"});this.cC=!1;this.rf=d||null;this.JH=(this.Gd=a||null)?new L({Za:this.Gd.element,Hc:Ys(this,`${this.Gd.zD}-icon`)}):null;(this.Bk=DL(this))&&Ws(this,this.Bk,this.Gd?"right"===this.Gd.zD?0:1:0);this.JH&&Ws(this,this.JH,this.Gd?"right"===this.Gd.zD?1:0:0);this.ZP=ng(this);this.lh("size",c);this.Wt()}pressed(){return this.cC}Df(a){this.cC=a;this.Ad("pressed",
a);this.lh("withTooltip",!this.cC)}lc(a){(this.rf=a)?this.Bk?this.Bk.lc(a):(this.Bk=DL(this),Ws(this,this.Bk,this.Gd?"right"===this.Gd.zD?0:1:0)):(Ke(this,this.Bk),this.Bk=null)}yb(a){super.yb(a);this.ZP.D(a)}};function FL(a,b){xe.call(this);this.Ps=a;a=Cd(this.Ps)?this.Ps:this.Ps?this.Ps.body:null;this.lW=!!a&&"rtl"==ph(a,"direction");this.uN=je(this.Ps,Hb?"DOMMouseScroll":"mousewheel",this,b)}v(FL,xe);
FL.prototype.handleEvent=function(a){var b=0,c=0,d=a.ne;"mousewheel"==d.type?(a=GL(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=GL(-d.wheelDeltaX),c=GL(-d.wheelDeltaY)):c=a):(a=d.detail,100<a?a=3:-100>a&&(a=-3),void 0!==d.axis&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);"number"===typeof this.vN&&(b=Qc(b,-this.vN,this.vN));"number"===typeof this.wN&&(c=Qc(c,-this.wN,this.wN));this.lW&&(b=-b);b=new HL(a,d,b,c);this.dispatchEvent(b)};function GL(a){return Ib&&(Jb||Lb)&&0!=a%40?a:a/40}
FL.prototype.yf=function(){FL.Ua.yf.call(this);ve(this.uN);this.uN=null};function HL(a,b,c,d){Wd.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d}v(HL,Wd);function IL(a,b){var c=a.xi,d=a.Qf;void 0!==c&&(b=Math.max(b,c));void 0!==d&&(b=Math.min(b,d));a.Xf!=b&&(a.Xf=b,JL(a),a.yw.D())}function KL(a,b,c){a.Fr=b;Ce(a,a.Fr,"mouseover",a.oJ,a);Ce(a,a.Fr,"mouseout",a.nJ,a);Ce(a,document,gm,a.GK,a);a.vo.stop();a.sw=function(){IL(this,this.Xf+this.DK)};a.DK=c;a.vo.start()}
class LL extends L{constructor(a){super({V:a.V,Vp:!0});this.aR=15;this.Xf=this.Qf=this.xi=this.Tv=0;this.KQ=a.Yg||1;this.DK=this.KB=0;this.US=100;this.No=Je(this,new L({Hc:Ys(this,"up")}));this.Ma(this.No);this.sf=Je(this,new L({V:"thumb"}));this.Ma(this.sf);this.sf.Ma(Je(this,new L({Hc:Ys(this.sf,"background")})));this.Bn=Je(this,new L({Hc:Ys(this,"down")}));this.Ma(this.Bn);this.sw=this.Fr=null;this.yw=ng(this);this.bU=ng(this);this.vo=new Yg(this.US);Ce(this,this.vo,"tick",this.WR,this);Ce(this,
this,fm,this.TL,this,jm);Ce(this,this.No,fm,this.iS,this,jm);Ce(this,this.sf,fm,this.EB,this,jm);Ce(this,this.Bn,fm,this.tR,this,jm);Ce(this,document.body,gm,this.wR,this)}Yg(){return this.KQ}scale(){return this.no}setScale(a){this.setParentScale(a)}yt(a,b,c,d=0){this.Tv=a;this.xi=b;this.Qf=c;this.KB=d;ML(this);IL(this,this.Xf)}TL(){}iS(a){a.preventDefault();a=-this.Yg();IL(this,this.Xf+a);KL(this,this.No,-this.Yg())}tR(a){a.preventDefault();a=this.Yg();IL(this,this.Xf+a);KL(this,this.Bn,this.Yg())}GK(){Ee(this,
this.Fr,"mouseover",this.oJ,this);Ee(this,this.Fr,"mouseout",this.nJ,this);Ee(this,document,gm,this.GK,this);this.vo.stop();this.sw=null}oJ(){this.vo.start()}nJ(){this.vo.stop()}WR(){this.sw&&this.sw()}EB(a){this.bU.D();a.preventDefault();Ce(this,document.body,hm,this.Lv,this);this.gD(!0)}gD(a){this.sf.lh("active",a)}wR(){Ee(this,document.body,hm,this.Lv,this);this.gD(!1)}Lv(){}Rg(){ML(this)}};function ML(a){const b=a.height()-a.No.height()-a.Bn.height();a.sf.uj(0==a.Qf-a.xi?b:Math.max(a.aR,Math.ceil(a.Tv/(a.Qf-a.xi+a.Tv)*b)));JL(a)}function JL(a){const b=NL(a);0==a.Qf-a.xi?a.sf.Ef(b.top):a.sf.Ef(b.top+Math.round((a.Xf-a.xi)/(a.Qf-a.xi)*b.height));a.No.yb(!!a.Xf);a.Bn.yb(a.Xf!=a.Qf)}function NL(a){const b=new Kf(0,0,0,0);b.top=a.No.height();b.height=a.height()-a.Bn.height()-a.sf.height()-b.top;b.left=a.sf.x();return b}
class OL extends LL{constructor(a){super(a);this.HI=0}TL(a){var b;if(b=!a.defaultPrevented)b=this.sf.displayObject().getBoundingClientRect(),b=!(a.clientY>=b.top&&a.clientY<=b.top+b.height);if(b){b=this.displayObject().getBoundingClientRect();var c=NL(this),d=0==this.KB?this.Tv:this.KB;a=(a.clientY-(b.top-c.top))/this.no<=this.sf.y()?-d:d;IL(this,this.Xf+a)}}EB(a){super.EB(a);const b=this.sf.displayObject().getBoundingClientRect();this.HI=a.clientY-Math.round(b.top);this.Lv(a)}Lv(a){const b=this.displayObject().getBoundingClientRect(),
c=NL(this);IL(this,(a.clientY-b.top-c.top*this.no-this.HI)/(c.height*this.no)*(this.Qf-this.xi)+this.xi)}};var PL=new Sd;function QL(a){a.kQ&&a.fh(a.FL||a.XA?.5:0)}function RL(a,b){Ce(a,new FL(b.displayObject(),{passive:!0}),PL,c=>{!Xg(c.ne)&&c.deltaY&&(c=0<c.deltaY?a.Yg():-a.Yg(),IL(a,a.Xf+c))},a)}
class SL extends OL{constructor({V:a,Yg:b,ZE:c,bW:d,WN:e=null}){super({V:a,Yg:b});this.Dr=c;this.XA=this.FL=!1;this.kQ=d;this.Nr=e;Vs(c,"overflow","hidden");B(this,this.yw,()=>{c.displayObject().scrollTop=this.Xf});Ce(this,c,"scroll",()=>{var f=c.displayObject().scrollTop;IL(this,f)},this);this.Nr?RL(this,this.Nr):(RL(this,this.Dr),RL(this,this));d?(this.fh(0),this.Nr?(Ce(this,this.Nr,"mouseenter",this.yB,this),Ce(this,this.Nr,"mouseleave",this.xB,this)):(Ce(this,this.Dr,"mouseover",this.yB,this),
Ce(this,this,"mouseover",this.yB,this),Ce(this,this.Dr,"mouseout",this.xB,this),Ce(this,this,"mouseout",this.xB,this))):this.fh(1)}yt(a,b,c,d=0){this.xa(0<c);super.yt(a,b,c,d)}gD(a){this.FL=a;QL(this)}yB(a){a&&(this.contains(a.relatedTarget)||this.Dr.contains(a.relatedTarget))||(this.XA=!0,QL(this))}xB(a){a&&(null==a.relatedTarget||this.contains(a.relatedTarget)||this.Dr.contains(a.relatedTarget))||(this.XA=!1,QL(this))}};class TL extends L{constructor(a){super({V:a});a=new L({Hc:Ys(this,"thumb")});Ws(this,a)}}class UL{constructor(a,b){this.Pj=a;this.yw=b}scrollY(){const a=this.Pj.getComputedPosition().y;return isNaN(a)?0:-a}JN(){return this.yw}}class VL extends og{constructor(a){super();this.M=a;this.rJ=ng(this);Ce(this,a,"scroll",()=>{this.rJ.D()})}scrollY(){return this.M.scrollTop}JN(){return this.rJ}}
class WL extends og{constructor({V:a="vertical-scrollbar",m2:b="mobile-vertical-scrollbar",ZE:c,z2:d,b2:e,WN:f=null,Yg:h=20,preventDefault:g=!0}){super();this.ig=this.Pj=null;this.QL=d||null;this.mG=e||null;this.Qf=0;if(ki){const l=ng(this);a={fadeScrollbars:!0,scrollX:!1,scrollY:!0,bounce:!1,deceleration:.006,useTransition:!1,preventDefault:g,disablePointer:!0,disableTouch:!1,disableMouse:!1,onScrollHandler:()=>{l.D()}};b=new TL(b);a.indicators={el:b.displayObject(),shrink:"scale"};this.Pj=new IScroll(c.displayObject(),
a);this.xw=new UL(this.Pj,l)}else this.ig=Je(this,new SL({V:a,Yg:h,ZE:c,bW:!0,WN:f})),this.xw=new VL(c.displayObject()),b=this.ig;B(this,this.xw.JN(),this.CK,this);this.rT=b}yt(a,b){this.Qf=Math.max(0,b-a);this.Pj?this.Pj.setScrollHeight(b):this.ig&&this.ig.yt(a,0,Math.max(this.Qf,0));this.CK()}setParentScale(a){this.ig&&this.ig.setParentScale(a)}CK(){if(this.QL){var a=Math.min(this.xw.scrollY(),60);zh(this.QL,a)}this.mG&&(a=this.Qf-this.xw.scrollY(),zh(this.mG,Math.min(a,60)))}Fd(){super.Fd();this.Pj&&
this.Pj.destroy()}};class XL extends L{constructor(){super({V:"message-box"});this.Yh("alertdialog");this.HJ=ng(this);this.Bz=ng(this);this.Ov=!1}open(){this.Ov=!0;this.pr();this.HJ.D(this)}close(){this.Ov=!1;this.xa(!1);this.Bz.D(this);Ee(this,document,"keydown",this.sK,this)}xa(a){super.xa(a);this.Uj&&this.Uj.xa(a)}sK(a){const b=a.target.nodeName;"INPUT"!=b&&"TEXTAREA"!=b&&a.preventDefault()}pr(){this.xa(!0);Ce(this,document,"keydown",this.sK,this)}};class YL extends $B{constructor(a){super(null,[0],[1],75,b=>b*b);this.TP=a}Up(){this.TP.fh(this.coords[0])}};class ZL extends XL{constructor(){super();this.Pz=this.vu=void 0}pr(){ki&&super.pr();this.vu&&this.vu.stop();this.xa(!0);!ki&&this.Pz&&this.Pz.focus();this.vu=new YL(this);this.vu.play()}};function $L(a){var b=a.Uj;const c=Math.floor(.5*(b.width()-a.width()));b=Math.floor(.5*(b.height()-a.height()));a.move(c,b)}
class aM extends ZL{constructor({Ky:a,icon:b,buttons:c,xb:d,mE:e}){super();if(this.Uj)throw Error("already modal");this.Uj=new L({V:"modal-layer"});this.Ra=d;this.Ba=new L({Hc:Ys(this,"content")});this.Gd=null;b&&(this.Gd=new L({Za:b,Hc:Ys(this,"icon")}),this.Ba.Ma(this.Gd));this.Bl=new L({Hc:Ys(this,"message-container")});this.Xn=new L({Hc:Ys(this,"message"),tabIndex:-1});at(this.Xn,this.Ra,a,e);Ws(this.Ba,this.Bl);this.Ma(this.Ba);this.Pz=this.Xn.displayObject();this.cL=new L({});Ws(this.cL,this.Xn);
Ws(this.Bl,this.cL);this.yl=new L({V:"message-box-buttons"});Xs(this.yl,Ys(this,"buttons"));Ws(this,this.yl);this.Hz(c);this.ig=new WL({ZE:this.Bl});this.Ba.Ma(this.ig.rT);Je(this,this.ig);this.KK=""}AB(){super.AB();this.ig.setParentScale(this.no)}pr(){super.pr();Zs(this);ii(()=>{$L(this)},this,0)}Hz(a){const b=new L({Hc:Ys(this.yl,"buttons")});a.forEach(({Ap:c,result:d})=>{const e=new EL;Xs(e,Ys(this.yl,"window-button"));at(e,this.Ra,c);Ws(b,e);B(this,e.za,()=>{this.KK=d;this.close()})});this.yl.Ma(b)}Rg(){var a=
Jh(this.Ba.displayObject()),b=this.Gd?Jh(this.Gd.displayObject()):null;b=this.Gd?this.Gd.width()+b.left+b.right:0;Vs(this.Bl,"max-width",Math.min(screen.width-b-a.right-a.left-80,480)+"px");Vs(this.Bl,"height","");a=this.Uj;b=Jh(this.Bl.displayObject());const c=Jh(this.yl.displayObject());a=.9*a.height()-b.top-b.bottom-this.yl.height()-c.top-c.bottom;b=Math.min(a,this.Xn.height());a<this.Xn.height()&&this.Bl.uj(Math.floor(a));$L(this);this.ig&&this.ig.yt(b,this.Xn.height());$L(this)}};function bM(a,b){a.Hk.xa(!0);a.kx.push(b);B(a,b.HJ,a.GJ,a);B(a,b.Bz,a.FJ,a,-1);var c=b.Uj;if(c){var d=a.Hk.displayObject();c=c.displayObject();d.appendChild(c)}d=a.Hk.displayObject();c=b.displayObject();d.appendChild(c);b.Ov?a.GJ(b):a.FJ(b)}function cM(a){for(let b=0;b<a.Zj.length;b++){const c=a.Zj[b];c.setParentScale(a.ya);Zs(c)}}
class dM extends og{constructor(a){super();const b=new L({V:"popup-layer"});a.appendChild(b.displayObject());this.Hk=b;this.Hk.xa(!1);this.kx=[];this.Zj=[];this.IJ=ng(this);this.ya=1;Db&&8>=Tb||di(this.Hk.displayObject(),"0 0");Ce(this,a,"touchstart",c=>{for(let d=0;d<this.Zj.length;d++){const e=this.Zj[d].Uj;if(e&&(c.target==e.displayObject()||e.displayObject().contains(c.target))){c.preventDefault();break}}},this,im)}GJ(a){this.Zj.push(a);cM(this);this.IJ.D(this.Zj.length)}FJ(a){Ma(this.Zj,a);this.IJ.D(this.Zj.length)}setScale(a){this.ya=
a;this.Hk.setScale(a);cM(this)}};function eM(a,{Ky:b,icon:c,buttons:d,mE:e}){return new Promise(f=>{const h=new aM({Ky:b,icon:c,buttons:d,xb:a.Ra,mE:e});bM(a.zs,h);h.open();B(a,h.Bz,()=>{var g=a.zs,l=Da(g.kx,h);0<=l&&(Oa(g.kx,l),h.Ov&&h.close(),Me(g,h),zd(h.displayObject()),(l=h.Uj)&&zd(l.displayObject()));g.Hk.xa(0<g.kx.length);f(h.KK)},a)})}class fM extends og{constructor({xb:a,hY:b}){super();this.Ra=a;this.zs=b}};function gM(a,b){window.scrollTo(a,b)}window.yPos=function(){return window.pageYOffset};window.scrollPageTo=gM;function hM(){this.IC=new D;this.Lz=this.sq=0;this.Vw=!1;this.M=A("DIV");this.M.style.width=Ri?"100%":"100vw";this.M.style.height=oi?"50vh":"100vh";this.M.style.position="absolute";this.M.style.zIndex="-1";this.M.style.top="0";ki&&!Ti&&(document.body.style.position="fixed");let a=window;if(Ai)try{a=window.top}catch(c){}document.body.insertAdjacentElement("afterbegin",this.M);(new ResizeObserver(()=>{oi&&Ti?setTimeout(()=>{iM(this)},100):iM(this)})).observe(this.M);window.invalidatePlayerSize=()=>
{};window.setPlayerSize=()=>{};window.removeResizeListeners=()=>{};document.addEventListener("touchend",c=>{0==c.touches.length&&(this.Vw=!1,setTimeout(()=>{iM(this,!1,!1)},100))},!0);document.addEventListener("touchstart",c=>{1==window.event.touches.length&&(this.Vw=!0);1<c.touches.length&&c.preventDefault()},!0);const b=a.onresize;a.onresize=()=>{b&&b();iM(this)};a.onorientationchange=()=>{const c=Md();c&&ki&&(oi?setTimeout(()=>{c.blur();Qi&&iM(this)},800):c.blur())};Ci&&window.frameElement&&window.frameElement.setAttribute("scrolling",
"no")}hM.prototype.Gx=function(){iM(this,!0)};
function iM(a,b=!1,c=!0){function d(m,p){if(b||n.sq!=m||n.Lz!=p){const q=n.sq;n.sq=m;n.Lz=p;n.IC.D(n.sq,n.Lz);q!=n.sq&&oi&&!n.Vw&&setTimeout(()=>{e(0,0)},100)}}const e=gM;if(b||!a.Vw){var f=oi?2*a.M.clientHeight:a.M.clientHeight;if(Ai||!(Hi&&.7>f/screen.height||Pg&&.7>window.innerHeight/f)){var h=1,g=a.M.clientWidth;c&&Ci&&window.frameElement&&(g=0,h=g/window.innerWidth);var l=window.innerHeight*h,n=a;d(g,l);c&&Ci&&window.frameElement&&setTimeout(()=>{g=window.frameElement.clientWidth;h=g/window.innerWidth;
l=window.innerHeight*h;d(g,l)},0)}}};function jM(a,b,c){null==a.qf&&(a.qf=new hM,a.qf.IC.addHandler(a.eS,a));a.Mu=b;a.Ej=c}class kM{constructor(){this.Ej=this.Mu=this.qf=null}Gx(){this.qf&&this.qf.Gx()}eS(a,b){this.Mu&&this.Mu.apply(this.Ej,[a,b])}};const lM=[{ip:Db,V:"ie"},{ip:li,V:"android_default"},{ip:Ib,V:"webkit"},{ip:Cb,V:"opera"},{ip:Hb,V:"gecko"}];function mM(a){Xs(a,ki?"mobile":"desktop");lM.find(b=>{b.ip&&Xs(a,b.V);return b.ip})};class nM{constructor(a){this.Rq=a;this.Ti=!1;this.Mz=void 0}suspend(){this.Mz=this.Rq.MA;mB(this.Rq,!1);this.Ti=!0}resume(){mB(this.Rq,this.Mz);this.Mz=void 0;this.Ti=!1}};function oM(a,b){De(a,b,"click",a.ik,a);setTimeout(()=>{Ee(a,b,"click",a.ik,a)},500)}
class pM extends og{constructor(a,b){super();this.C=a;this.On=b;this.bK=ng(this);this.Gg=!1;Je(this,this.On)}show(a){const b=this.On;b.yb(!1);const c=this.C.view(),d=c.ua().U();this.Gg=!0;var e=this.On,f=this.C.view();a=a||f.displayObject();a.appendChild(e.displayObject());c.setOverlayDisplayed(!0);B(this,d.ih(),this.Hv,this);b.yb(!0);B(this,b.za,this.Hv,this)}Hv(){const a=this.C.view();var b=a.ua().U();this.vn(b);this.vn(this.On);(li||Wi)&&(b=Dd(this.On.displayObject()))&&oM(this,b);zd(this.On.displayObject());
a.setOverlayDisplayed(!1);this.Gg=!1;this.bK.D()}ik(a){a.preventDefault()}};class qM extends L{constructor(){super({V:"preloader"});this.uL=0;this.Bw=!1;this.xa(!1)}show(){this.Bw||(this.Bw=!0,clearTimeout(this.CH),clearTimeout(this.gL),this.gL=ii(this.uT,this,800))}nj(){if(this.Bw&&(this.Bw=!1,clearTimeout(this.CH),clearTimeout(this.gL),this.visible())){var a=500-(this.oi()-this.uL);0<a?this.CH=ii(this.BH,this,a):this.BH()}}uT(){this.uL=this.oi();this.xa(!0)}BH(){this.xa(!1)}oi(){return(new Date).getTime()}};function rM(a){const b=new qM;a.Jb.displayObject().appendChild(b.displayObject());return b}function sM(a){a.aM();B(a,a.B.U().HD(),a.aM,a)}
class tM extends L{constructor(a,b,c,d,e){super({V:"none"});mM(this);this.BU=d;this.Ra=new NF(c);this.Jb=a.view();this.Ma(this.Jb.displayObject());this.J=a.oe();this.B=this.Jb.ua();this.ia=this.B.U();this.Li=this.Jb.Wh();this.ms=b;this.zs=new dM(this.displayObject());this.PG=new fM({xb:this.Ra,hY:this.zs});zs(this.Jb.displayObject(),"hidden",!0);this.iK=rM(this);B(this,a.BF(),this.CB,this);B(this,this.Jb.Wh().DE(),this.zB,this);this.mf=new rL(this.Jb.Wh());b=a.oe();b.settings().Jk().fitToWindow()||
(this.YB=b.slideWidth(),this.XB=b.slideHeight());B(this,this.B.qg(),this.DB,this);B(this,a.rE(),(f,h,g)=>{g?(f=new CL,f=new pM(a,f),He(this,f.bK,()=>{sM(this);this.B.play()}),f.show()):sM(this)});e?jM(e,this.Zu,this):(this.qf=new hM,B(this,this.qf.IC,this.Zu,this),ii(this.qf.Gx,this.qf));this.lv=new nM(this.B.yp());this.Co=ng(this);this.Ln=ng(this);this.Fq=ng(this);sM(this)}aM(){this.B.U().$b()?this.iK.show():this.iK.nj()}Zu(a,b){var c=this.BU?170:0;const d=a-c,e=b-c;this.YB<d&&this.XB<e?(this.move(Math.max(0,
Math.floor((a-this.YB)/2)),Math.max(0,Math.floor((b-this.XB)/2))),a=this.YB,b=this.XB):(this.move(c/2,c/2),a=d,b=e);this.Jb.resize(a,b);this.resize(a,b);c=this.zs;c.Hk.resize(a,b);cM(c)}DB(){var a=-1!=this.B.qa()?this.B.W():null;if(a instanceof Kp){const b=this.B.$a();a=new sL(b.playerController(),this.mf,2==a.Rl);b.setExternalNavigationController(a)}}CB(a){if("resumePlayback"==a.action()&&"prompt"==this.J.settings().Ob().sy()){const b=this.B.Se(),c=a.H();a.wy("delayStartup");const d=a.JC;eM(this.PG,
{Ky:"PB_RESUME_PRESENTATION_WINDOW_TEXT",icon:FK(this.ms,"mb_question_icon"),buttons:[{Ap:"PB_MESSAGE_BOX_YES",result:"yes"},{Ap:"PB_MESSAGE_BOX_NO",result:"no"}]}).then(e=>{this.lv.resume();this.Jb.setOverlayDisplayed(!1);this.Ln.D();this.Fq.D();"yes"==e?d.resume(c,!0):d.start(b,!0)});this.lv.suspend();this.Jb.setOverlayDisplayed(!0);this.Co.D()}}zB(a){(a=vL(a,this.J,this.B))&&this.xC(a)}xC({Ap:a,yN:b}){const c=this.B.U().suspended();this.lv.suspend();this.Jb.setOverlayDisplayed(!0);this.Co.D();
eM(this.PG,{Ky:a,icon:FK(this.ms,"mb_warning_icon"),buttons:[{Ap:"PB_MESSAGE_BOX_OK",result:"ok"}],mE:()=>b}).then(()=>{this.lv.resume();this.Jb.setOverlayDisplayed(!1);this.Ln.D();ks(this.ia,c)})}Fd(){super.Fd();zs(this.Jb.displayObject(),"hidden",!1)}};class uM extends og{constructor({Om:a,messages:b,Ok:c}){super();this.xr=a;this.Id=b;this.qf=new kM;this.zT=nd(document,c);this.sk=null;this.Co=ng(this);this.Ln=ng(this);this.Fq=ng(this);this.$F=ng(this)}C(){return this.xr}};class vM extends L{constructor({V:a="back_to_app",label:b,u2:c}){super({V:a});b&&(a=new L({Hc:Ys(this,"text")}),a.lc(b),this.Ma(a));c&&this.Ma(c);B(this,this.za,()=>ISPlayer.backToApp())}};class wM extends L{constructor({xb:a}){super({V:"title-panel"});this.iP=new vM({label:a.Te("PB_BACK_TO_APP_BUTTON_LABEL")});this.Ma(this.iP)}};class xM extends tM{constructor(a,b,c){super(a,b,c,!1);this.cU=new wM({xb:this.Ra});this.Ma(this.cU);a=ISPlayer;b=a.initWithData;c=hh(new gh,{version:9.3});b.call(a,c)}Zu(a,b){this.lh("landscape",a>b);super.Zu(a,b)}};function yM(a){if(aj)return new xM(a.C(),a.ms,a.Id);const b=new tM(a.C(),a.ms,a.Id,a.QO,a.qf);B(a,b.Co,()=>a.Co.D());B(a,b.Ln,()=>a.Ln.D());B(a,b.Fq,()=>a.Fq.D());return b}class zM extends uM{constructor({Om:a,messages:b,Ok:c,$E:d,Cm:e}){super({Om:a,messages:b,Ok:c});this.QO=e;this.ms=new HK(d.jW)}};var AM=class{constructor({sidePanelPosition:a,outlinePosition:b,colors:c,messages:d,showPlayersPanels:e=!1,showTitlePanel:f=!0,accessibilityModeEnabled:h,miniskinCustomizationEnabled:g,fontFamily:l,borderRadius:n,UE:m}){this.yT=a;this.uS=b;this.wT=f;this.gb=c;this.Id=d;this.vT=e;this.Xy=h;this.bR=g;this.Kl=l;this.wl=n;this.AS=m}sidePanelPosition(){return this.yT}showTitlePanel(){return this.wT}outlinePosition(){return this.uS}showPlayersPanels(){return this.vT}colors(){return this.gb}messages(){return this.Id}accessibilityModeEnabled(){return this.Xy}miniskinCustomizationEnabled(){return this.bR}fontFamily(){return this.Kl}borderRadius(){return this.wl}isInheritSettings(){return"universal"===
this.AS}};function iH(a,b=null){return new AM({sidePanelPosition:"none",outlinePosition:"none",colors:{},messages:b,showPlayersPanels:!0,accessibilityModeEnabled:a.accessibilityModeEnabled,miniskinCustomizationEnabled:!1,fontFamily:a.Kl,borderRadius:a.wl,UE:"none"})}
function eH(a,b=null){return new AM({sidePanelPosition:"none",outlinePosition:"none",colors:{},messages:b,showPlayersPanels:!0,accessibilityModeEnabled:a.accessibilityModeEnabled,miniskinCustomizationEnabled:!1,fontFamily:a.Kl,borderRadius:a.wl,UE:"none"})}function gH(a){return new AM({sidePanelPosition:"none",outlinePosition:"none",colors:{},messages:{},accessibilityModeEnabled:a.accessibilityModeEnabled,miniskinCustomizationEnabled:!1,fontFamily:a.Kl,borderRadius:a.wl,UE:"none"})}
class BM extends og{constructor(){super();this.UB=this.accessibilityModeEnabled=!1;this.gb={};this.Kl="";this.wl=0;this.sP=ng(this)}get SE(){return this.UB}set SE(a){this.UB!=a&&(this.UB=a,this.sP.D())}colors(){return this.gb}get fontFamily(){return this.Kl}set fontFamily(a){this.Kl=a}get borderRadius(){return this.wl}set borderRadius(a){this.wl=a}};var CM=class{constructor(){const a={colors:{A:"colors"},CV:{A:"enablePlaybackRateControl"},fontFamily:{A:"fontFamily"},borderRadius:{A:"borderRadius"}},b=IF();GF(a,b);this.Oa=a}yE(a){const b=new BM;a=a||{};b.SE=a[this.Oa.CV];var c=BK(a[this.Oa.colors]);b.gb=c;b.fontFamily=a[this.Oa.fontFamily]||"";b.borderRadius=a[this.Oa.borderRadius]||0;return b}};class DM{constructor({Om:a,skinSettings:b,xb:c}){this.C=a;this.Tr=b;this.Ra=c}Om(){return this.C}skinSettings(){return this.Tr}xb(){return this.Ra}};function EM(a,b,c,d,e){return new Promise(f=>{const h=ki||Ti;kj();const g=new nK;e&&g.ro.addHandler(e);let l=null,n=null;const m=new CK;let p,q;g.jK.addHandler(t=>{n=t;t=new CM;const u=n.settings();p=new qK(u.Bm().enabled());l=t.yE(n.settings().skin());l.accessibilityModeEnabled=p.Cm();n.settings().Uu=l;t=l.colors();q=new EK({oe:n,UW:d,colors:t,$E:m});DK(q,p.mode());h&&(n.settings().Jk().fA=!0)});g.ro.addHandler(t=>{const u=n.settings().xb()||{},y=new NF(u),E=t.view().ua();E.TE().Po=l.SE;oK(p,E);
const x=new zM({Om:t,messages:u,Ok:c,$E:m,Cm:p.Cm()});pK(p,x);const F=rK(p,x,c,u),M=O=>{t.$h(O);if(x.sk){zd(x.sk.displayObject());var P=x.qf;P.Mu=null;P.Ej=null;Ke(x,x.sk);x.sk=null}"normal"==O?x.sk=yM(x):"accessible"==O&&(x.sk=new BL({Sd:x.xr,messages:x.Id,skinSettings:{t2:!1,showSlideList:!1,p2:!1,s2:!1,q2:!1}}));Je(x,x.sk);P=x.sk.displayObject();x.zT.appendChild(P);x.qf.Gx();P=x.xr.view().ua();const R=P.qa();-1!=R&&(P.qg().D(R),Kj(P.hc()),x.xr.IM().XM(),x.xr.vO().XM(),P.jn.D());"accessible"==O&&
document.body.removeAttribute("style");x.$F.D(O);F&&("accessible"==O?(F.setAttribute("title",u.PB_ACCESSIBLE_SKIN_ENABLE_NORMAL_MODE),F.zt(-1),F.Ad("hidden",!0)):(F.setAttribute("title",u.PB_ACCESSIBLE_SKIN_ENABLE_ACCESSIBILITY_MODE),F.zt(0),F.displayObject().removeAttribute("aria-hidden")))};M(p.mode());p.lK.addHandler(O=>{DK(q,O);M(O)});f(new DM({Om:t,skinSettings:l,xb:y}))});g.Pk(a,b,d)})};r("PresentationPlayer.start",function(a,b,c,d,e){EM(a,JF(),b,c,d).then(f=>{FF(f,e)})});let lj=()=>!1;function Le(a){a&&("function"===typeof a.Re&&a.Re(),a.disposed=!0)}function FM(a,b){lj()&&(b?ha.console.error(a):ha.console.warn(a))}function Te(a,b){const c=a.stack||a.toString();0>String(c).indexOf(a.message)&&FM(a.message,b);FM(c,b)}window.onerror=function(...a){const [b,,,,c]=a;c?Te(c,!0):FM(b,!0);return!0};Aa=a=>{try{throw Error(a.message);}catch(b){Te(b,!1)}};
ha.console||(window._log="",ha.console={log:function(a){window._log+="\n"+a},warn:function(a){window._log+="\nwarn: "+a},error:function(a){window._log+="\nerror: "+a}});})();
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2018 Matteo Spinelli ~ http://cubiq.org/license */
!function(t,i,s){function e(s,e){this.wrapper="string"==typeof s?i.querySelector(s):s,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!h.hasPointer,disableTouch:h.hasPointer||!h.hasTouch,disableMouse:h.hasPointer||h.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,onScrollHandler:Function.prototype,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(A|INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:"undefined"==typeof t.onmousedown};for(var o in e)this.options[o]=e[o];this.translateZ=this.options.HWCompositing&&h.hasPerspective?" translateZ(0)":"",this.options.useTransition=h.hasTransition&&this.options.useTransition,this.options.useTransform=h.hasTransform&&this.options.useTransform,this.options.eventPassthrough=this.options.eventPassthrough===!0?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?h.ease[this.options.bounceEasing]||h.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,this.options.tap===!0&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function o(t,s,e){var o=i.createElement("div"),n=i.createElement("div");return e===!0&&(o.style.cssText="position:absolute;z-index:9999",n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),n.className="iScrollIndicator","h"==t?(e===!0&&(o.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",n.style.height="100%"),o.className="iScrollHorizontalScrollbar"):(e===!0&&(o.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",n.style.width="100%"),o.className="iScrollVerticalScrollbar"),o.style.cssText+=";overflow:hidden",s||(o.style.pointerEvents="none"),o.appendChild(n),o}function n(s,e){this.wrapper="string"==typeof e.el?i.querySelector(e.el):e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=s,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0};for(var o in e)this.options[o]=e[o];if(this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(h.addEvent(this.indicator,"touchstart",this),h.addEvent(t,"touchend",this)),this.options.disablePointer||(h.addEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.addEvent(t,h.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(h.addEvent(this.indicator,"mousedown",this),h.addEvent(t,"mouseup",this))),this.options.fade){this.wrapperStyle[h.style.transform]=this.scroller.translateZ;var n=h.style.transitionDuration;if(!n)return;this.wrapperStyle[n]=h.isBadAndroid?"0.0001ms":"0ms";var a=this;h.isBadAndroid&&r(function(){"0.0001ms"===a.wrapperStyle[n]&&(a.wrapperStyle[n]="0s")}),this.wrapperStyle.opacity="0"}}var r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(i){t.setTimeout(i,1e3/60)},h=function(){function e(t){return r!==!1&&(""===r?t:r+t.charAt(0).toUpperCase()+t.substr(1))}var o={},n=i.createElement("div").style,r=function(){for(var t,i=["t","webkitT","MozT","msT","OT"],s=0,e=i.length;s<e;s++)if(t=i[s]+"ransform",t in n)return i[s].substr(0,i[s].length-1);return!1}();o.getTime=Date.now||function(){return(new Date).getTime()},o.extend=function(t,i){for(var s in i)t[s]=i[s]},o.addEvent=function(t,i,s,e){t.addEventListener(i,s,!!e)},o.removeEvent=function(t,i,s,e){t.removeEventListener(i,s,!!e)},o.prefixPointerEvent=function(i){return t.MSPointerEvent?"MSPointer"+i.charAt(7).toUpperCase()+i.substr(8):i},o.momentum=function(t,i,e,o,n,r){var h,a,l=t-i,c=s.abs(l)/e;return r=void 0===r?6e-4:r,h=t+c*c/(2*r)*(l<0?-1:1),a=c/r,h<o?(h=n?o-n/2.5*(c/8):o,l=s.abs(h-t),a=l/c):h>0&&(h=n?n/2.5*(c/8):0,l=s.abs(t)+h,a=l/c),{destination:s.round(h),duration:a}};var h=e("transform");return o.extend(o,{hasTransform:h!==!1,hasPerspective:e("perspective")in n,hasTouch:"ontouchstart"in t,hasPointer:!(!t.PointerEvent&&!t.MSPointerEvent),hasTransition:e("transition")in n}),o.isBadAndroid=function(){var i=t.navigator.appVersion;if(/Android/.test(i)&&!/Chrome\/\d/.test(i)){var s=i.match(/Safari\/(\d+.\d)/);return!(s&&"object"==typeof s&&s.length>=2)||parseFloat(s[1])<535.19}return!1}(),o.extend(o.style={},{transform:h,transitionTimingFunction:e("transitionTimingFunction"),transitionDuration:e("transitionDuration"),transitionDelay:e("transitionDelay"),transformOrigin:e("transformOrigin"),touchAction:e("touchAction")}),o.hasClass=function(t,i){var s=new RegExp("(^|\\s)"+i+"(\\s|$)");return s.test(t.className)},o.addClass=function(t,i){if(!o.hasClass(t,i)){var s=t.className.split(" ");s.push(i),t.className=s.join(" ")}},o.removeClass=function(t,i){if(o.hasClass(t,i)){var s=new RegExp("(^|\\s)"+i+"(\\s|$)","g");t.className=t.className.replace(s," ")}},o.offset=function(t){for(var i=-t.offsetLeft,s=-t.offsetTop;t=t.offsetParent;)i-=t.offsetLeft,s-=t.offsetTop;return{left:i,top:s}},o.isHyperlink=function(t){if(!t)return!1;for(;t;){if("A"==t.nodeName.toLocaleUpperCase())return!0;t=t.parentNode}return!1},o.preventDefaultException=function(t,i){if(o.isHyperlink(t))return!0;for(var s in i)if(i[s].test(t[s]))return!0;return!1},o.extend(o.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),o.extend(o.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return s.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){var i=4;return(t-=1)*t*((i+1)*t+i)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){var i=.22,e=.4;return 0===t?0:1==t?1:e*s.pow(2,-10*t)*s.sin((t-i/4)*(2*s.PI)/i)+1}}}),o.tap=function(t,s){var e=i.createEvent("Event");e.initEvent(s,!0,!0),e.pageX=t.pageX,e.pageY=t.pageY,t.target.dispatchEvent(e)},o.click=function(s){var e,o=s.target;/(SELECT|INPUT|TEXTAREA)/i.test(o.tagName)||(e=i.createEvent(t.MouseEvent?"MouseEvents":"Event"),e.initEvent("click",!0,!0),e.view=s.view||t,e.detail=1,e.screenX=o.screenX||0,e.screenY=o.screenY||0,e.clientX=o.clientX||0,e.clientY=o.clientY||0,e.ctrlKey=!!s.ctrlKey,e.altKey=!!s.altKey,e.shiftKey=!!s.shiftKey,e.metaKey=!!s.metaKey,e.button=0,e.relatedTarget=null,e._constructed=!0,o.dispatchEvent(e))},o.getTouchAction=function(t,i){var s="none";return"vertical"===t?s="pan-y":"horizontal"===t&&(s="pan-x"),i&&"none"!=s&&(s+=" pinch-zoom"),s},o.getRect=function(t){if(t instanceof SVGElement){var i=t.getBoundingClientRect();return{top:i.top,left:i.left,width:i.width,height:i.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}},o}();e.prototype={version:"5.2.0-snapshot",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),clearTimeout(this.resizeTimeout),this.resizeTimeout=null,this._execEvent("destroy")},setScrollHeight:function(t){this.scrollHeight=t,this.refresh()},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(1!=h.eventType[t.type]){var i;if(i=t.which?t.button:t.button<2?0:4==t.button?1:2,0!==i)return}if(this.enabled&&(!this.initiated||h.eventType[t.type]===this.initiated)){!this.options.preventDefault||h.isBadAndroid||h.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,o=t.touches?t.touches[0]:t;this.initiated=h.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this.startTime=h.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,e=this.getComputedPosition(),this._translate(s.round(e.x),s.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=o.pageX,this.pointY=o.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&!h.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var i,e,o,n,r=t.touches?t.touches[0]:t,a=r.pageX-this.pointX,l=r.pageY-this.pointY,c=h.getTime();if(this.pointX=r.pageX,this.pointY=r.pageY,this.distX+=a,this.distY+=l,o=s.abs(this.distX),n=s.abs(this.distY),!(c-this.endTime>300&&o<10&&n<10)){if(this.directionLocked||this.options.freeScroll||(o>n+this.options.directionLockThreshold?this.directionLocked="h":n>=o+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);l=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}a=this.hasHorizontalScroll?a:0,l=this.hasVerticalScroll?l:0,i=this.x+a,e=this.y+l,(i>0||i<this.maxScrollX)&&(i=this.options.bounce?this.x+a/3:i>0?0:this.maxScrollX),(e>0||e<this.maxScrollY)&&(e=this.options.bounce?this.y+l/3:e>0?0:this.maxScrollY),this.directionX=a>0?-1:a<0?1:0,this.directionY=l>0?-1:l<0?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(i,e),c-this.startTime>300&&(this.startTime=c,this.startX=this.x,this.startY=this.y)}}},_end:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&!h.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var i,e,o=(t.changedTouches?t.changedTouches[0]:t,h.getTime()-this.startTime),n=s.round(this.x),r=s.round(this.y),a=s.abs(n-this.startX),l=s.abs(r-this.startY),c=0,p="";if(this.isInTransition=0,this.initiated=0,this.endTime=h.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(n,r),!this.moved)return this.options.tap&&h.tap(t,this.options.tap),this.options.click&&h.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&o<200&&a<100&&l<100)return void this._execEvent("flick");if(this.options.momentum&&o<300&&(i=this.hasHorizontalScroll?h.momentum(this.x,this.startX,o,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:n,duration:0},e=this.hasVerticalScroll?h.momentum(this.y,this.startY,o,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:r,duration:0},n=i.destination,r=e.destination,c=s.max(i.duration,e.duration),this.isInTransition=1),this.options.snap){var d=this._nearestSnap(n,r);this.currentPage=d,c=this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-d.x),1e3),s.min(s.abs(r-d.y),1e3)),300),n=d.x,r=d.y,this.directionX=0,this.directionY=0,p=this.options.bounceEasing}return n!=this.x||r!=this.y?((n>0||n<this.maxScrollX||r>0||r<this.maxScrollY)&&(p=h.ease.quadratic),void this.scrollTo(n,r,c,p)):void this._execEvent("scrollEnd")}}},_resize:function(){var t=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling)},resetPosition:function(t){var i=this.x,s=this.y;return t=t||0,!this.hasHorizontalScroll||this.x>0?i=0:this.x<this.maxScrollX&&(i=this.maxScrollX),!this.hasVerticalScroll||this.y>0?s=0:this.y<this.maxScrollY&&(s=this.maxScrollY),(i!=this.x||s!=this.y)&&(this.scrollTo(i,s,t,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){h.getRect(this.wrapper),this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight;var t=h.getRect(this.scroller);this.scrollHeight&&(t.height=this.scrollHeight),this.scrollerWidth=t.width,this.scrollerHeight=t.height,this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,h.hasPointer&&!this.options.disablePointer&&(this.wrapper.style[h.style.touchAction]=h.getTouchAction(this.options.eventPassthrough,!0),this.wrapper.style[h.style.touchAction]||(this.wrapper.style[h.style.touchAction]=h.getTouchAction(this.options.eventPassthrough,!1))),this.wrapperOffset=h.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(t,i){this._events[t]||(this._events[t]=[]),this._events[t].push(i)},off:function(t,i){if(this._events[t]){var s=this._events[t].indexOf(i);s>-1&&this._events[t].splice(s,1)}},_execEvent:function(t){if(this._events[t]){var i=0,s=this._events[t].length;if(s)for(;i<s;i++)this._events[t][i].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,i,s,e){t=this.x+t,i=this.y+i,s=s||0,this.scrollTo(t,i,s,e)},scrollTo:function(t,i,s,e){e=e||h.ease.circular,this.isInTransition=this.options.useTransition&&s>0;var o=this.options.useTransition&&e.style;!s||o?(o&&(this._transitionTimingFunction(e.style),this._transitionTime(s)),this._translate(t,i)):this._animate(t,i,s,e.fn)},scrollToElement:function(t,i,e,o,n){if(t=t.nodeType?t:this.scroller.querySelector(t)){var r=h.offset(t);r.left-=this.wrapperOffset.left,r.top-=this.wrapperOffset.top;var a=h.getRect(t),l=h.getRect(this.wrapper);e===!0&&(e=s.round(a.width/2-l.width/2)),o===!0&&(o=s.round(a.height/2-l.height/2)),r.left-=e||0,r.top-=o||0,r.left=r.left>0?0:r.left<this.maxScrollX?this.maxScrollX:r.left,r.top=r.top>0?0:r.top<this.maxScrollY?this.maxScrollY:r.top,i=void 0===i||null===i||"auto"===i?s.max(s.abs(this.x-r.left),s.abs(this.y-r.top)):i,this.scrollTo(r.left,r.top,i,n)}},_transitionTime:function(t){if(this.options.useTransition){t=t||0;var i=h.style.transitionDuration;if(i){if(this.scrollerStyle[i]=t+"ms",!t&&h.isBadAndroid){this.scrollerStyle[i]="0.0001ms";var s=this;r(function(){"0.0001ms"===s.scrollerStyle[i]&&(s.scrollerStyle[i]="0s")})}if(this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTime(t)}}},_transitionTimingFunction:function(t){if(this.scrollerStyle[h.style.transitionTimingFunction]=t,this.indicators)for(var i=this.indicators.length;i--;)this.indicators[i].transitionTimingFunction(t)},_translate:function(t,i){if(this.options.useTransform?this.scrollerStyle[h.style.transform]="translate("+t+"px,"+i+"px)"+this.translateZ:(t=s.round(t),i=s.round(i),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=i+"px"),this.x=t,this.y=i,this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].updatePosition();this.options.onScrollHandler()},_initEvents:function(i){var s=i?h.removeEvent:h.addEvent,e=this.options.bindToWrapper?this.wrapper:t;s(t,"orientationchange",this),s(t,"resize",this),this.options.click&&s(this.wrapper,"click",this,!0),this.options.disableMouse||(s(this.wrapper,"mousedown",this),s(e,"mousemove",this),s(e,"mousecancel",this),s(e,"mouseup",this)),h.hasPointer&&!this.options.disablePointer&&(s(this.wrapper,h.prefixPointerEvent("pointerdown"),this),s(e,h.prefixPointerEvent("pointermove"),this),s(e,h.prefixPointerEvent("pointercancel"),this),s(e,h.prefixPointerEvent("pointerup"),this)),h.hasTouch&&!this.options.disableTouch&&(s(this.wrapper,"touchstart",this),s(e,"touchmove",this),s(e,"touchcancel",this),s(e,"touchend",this)),s(this.scroller,"transitionend",this),s(this.scroller,"webkitTransitionEnd",this),s(this.scroller,"oTransitionEnd",this),s(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var i,s,e=t.getComputedStyle(this.scroller,null);return this.options.useTransform?(e=e[h.style.transform].split(")")[0].split(", "),i=+(e[12]||e[4]),s=+(e[13]||e[5])):(i=+e.left.replace(/[^-\d.]/g,""),s=+e.top.replace(/[^-\d.]/g,"")),{x:i,y:s}},_initIndicators:function(){function t(t){if(h.indicators)for(var i=h.indicators.length;i--;)t.call(h.indicators[i])}var i,s=this.options.interactiveScrollbars,e="string"!=typeof this.options.scrollbars,r=[],h=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(i={el:o("v",s,this.options.scrollbars),interactive:s,defaultScrollbars:!0,customStyle:e,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(i.el),r.push(i)),this.options.scrollX&&(i={el:o("h",s,this.options.scrollbars),interactive:s,defaultScrollbars:!0,customStyle:e,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(i.el),r.push(i))),this.options.indicators&&(r=r.concat(this.options.indicators));for(var a=r.length;a--;)this.indicators.push(new n(this,r[a]));this.options.fadeScrollbars&&(this.on("scrollEnd",function(){t(function(){this.fade()})}),this.on("scrollCancel",function(){t(function(){this.fade()})}),this.on("scrollStart",function(){t(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){t(function(){this.fade(1,!0)})})),this.on("refresh",function(){t(function(){this.refresh()})}),this.on("destroy",function(){t(function(){this.destroy()}),delete this.indicators})},_initWheel:function(){h.addEvent(this.wrapper,"wheel",this),h.addEvent(this.wrapper,"mousewheel",this),h.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",function(){clearTimeout(this.wheelTimeout),this.wheelTimeout=null,h.removeEvent(this.wrapper,"wheel",this),h.removeEvent(this.wrapper,"mousewheel",this),h.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(t){if(this.enabled){t.preventDefault();var i,e,o,n,r=this;if(void 0===this.wheelTimeout&&r._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){r.options.snap||r._execEvent("scrollEnd"),r.wheelTimeout=void 0},400),"deltaX"in t)1===t.deltaMode?(i=-t.deltaX*this.options.mouseWheelSpeed,e=-t.deltaY*this.options.mouseWheelSpeed):(i=-t.deltaX,e=-t.deltaY);else if("wheelDeltaX"in t)i=t.wheelDeltaX/120*this.options.mouseWheelSpeed,e=t.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in t)i=e=t.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in t))return;i=e=-t.detail/3*this.options.mouseWheelSpeed}if(i*=this.options.invertWheelDirection,e*=this.options.invertWheelDirection,this.hasVerticalScroll||(i=e,e=0),this.options.snap)return o=this.currentPage.pageX,n=this.currentPage.pageY,i>0?o--:i<0&&o++,e>0?n--:e<0&&n++,void this.goToPage(o,n);o=this.x+s.round(this.hasHorizontalScroll?i:0),n=this.y+s.round(this.hasVerticalScroll?e:0),this.directionX=i>0?-1:i<0?1:0,this.directionY=e>0?-1:e<0?1:0,o>0?o=0:o<this.maxScrollX&&(o=this.maxScrollX),n>0?n=0:n<this.maxScrollY&&(n=this.maxScrollY),this.scrollTo(o,n,0)}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",function(){var t,i,e,o,n,r,a,l=0,c=0,p=0,d=this.options.snapStepX||this.wrapperWidth,u=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(this.options.snap===!0)for(e=s.round(d/2),o=s.round(u/2);p>-this.scrollerWidth;){for(this.pages[l]=[],t=0,n=0;n>-this.scrollerHeight;)this.pages[l][t]={x:s.max(p,this.maxScrollX),y:s.max(n,this.maxScrollY),width:d,height:u,cx:p-e,cy:n-o},n-=u,t++;p-=d,l++}else for(r=this.options.snap,t=r.length,i=-1;l<t;l++)a=h.getRect(r[l]),(0===l||a.left<=h.getRect(r[l-1]).left)&&(c=0,i++),this.pages[c]||(this.pages[c]=[]),p=s.max(-a.left,this.maxScrollX),n=s.max(-a.top,this.maxScrollY),e=p-s.round(a.width/2),o=n-s.round(a.height/2),this.pages[c][i]={x:p,y:n,width:a.width,height:a.height,cx:e,cy:o},p>this.maxScrollX&&c++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1===0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.x-this.startX),1e3),s.min(s.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,i){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var e=0,o=this.pages.length,n=0;if(s.abs(t-this.absStartX)<this.snapThresholdX&&s.abs(i-this.absStartY)<this.snapThresholdY)return this.currentPage;for(t>0?t=0:t<this.maxScrollX&&(t=this.maxScrollX),i>0?i=0:i<this.maxScrollY&&(i=this.maxScrollY);e<o;e++)if(t>=this.pages[e][0].cx){t=this.pages[e][0].x;break}for(o=this.pages[e].length;n<o;n++)if(i>=this.pages[0][n].cy){i=this.pages[0][n].y;break}return e==this.currentPage.pageX&&(e+=this.directionX,e<0?e=0:e>=this.pages.length&&(e=this.pages.length-1),t=this.pages[e][0].x),n==this.currentPage.pageY&&(n+=this.directionY,n<0?n=0:n>=this.pages[0].length&&(n=this.pages[0].length-1),i=this.pages[0][n].y),{x:t,y:i,pageX:e,pageY:n}},goToPage:function(t,i,e,o){o=o||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),i>=this.pages[t].length?i=this.pages[t].length-1:i<0&&(i=0);var n=this.pages[t][i].x,r=this.pages[t][i].y;e=void 0===e?this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-this.x),1e3),s.min(s.abs(r-this.y),1e3)),300):e,this.currentPage={x:n,y:r,pageX:t,pageY:i},this.scrollTo(n,r,e,o)},next:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s++,s>=this.pages.length&&this.hasVerticalScroll&&(s=0,e++),this.goToPage(s,e,t,i)},prev:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s--,s<0&&this.hasVerticalScroll&&(s=0,e--),this.goToPage(s,e,t,i)},_initKeys:function(i){var s,e={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(s in this.options.keyBindings)"string"==typeof this.options.keyBindings[s]&&(this.options.keyBindings[s]=this.options.keyBindings[s].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(s in e)this.options.keyBindings[s]=this.options.keyBindings[s]||e[s];h.addEvent(t,"keydown",this),this.on("destroy",function(){h.removeEvent(t,"keydown",this)})},_key:function(t){if(this.enabled){var i,e=this.options.snap,o=e?this.currentPage.pageX:this.x,n=e?this.currentPage.pageY:this.y,r=h.getTime(),a=this.keyTime||0,l=.25;switch(this.options.useTransition&&this.isInTransition&&(i=this.getComputedPosition(),this._translate(s.round(i.x),s.round(i.y)),this.isInTransition=!1),this.keyAcceleration=r-a<200?s.min(this.keyAcceleration+l,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?o+=e?1:this.wrapperWidth:n+=e?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?o-=e?1:this.wrapperWidth:n-=e?1:this.wrapperHeight;break;case this.options.keyBindings.end:o=e?this.pages.length-1:this.maxScrollX,n=e?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:o=0,n=0;break;case this.options.keyBindings.left:o+=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:n+=e?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:o-=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:n-=e?1:5+this.keyAcceleration>>0;break;default:return}if(e)return void this.goToPage(o,n);o>0?(o=0,this.keyAcceleration=0):o<this.maxScrollX&&(o=this.maxScrollX,this.keyAcceleration=0),n>0?(n=0,this.keyAcceleration=0):n<this.maxScrollY&&(n=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(o,n,0),this.keyTime=r}},_animate:function(t,i,s,e){function o(){var d,u,m,f=h.getTime();return f>=p?(n.isAnimating=!1,n._translate(t,i),void(n.resetPosition(n.options.bounceTime)||n._execEvent("scrollEnd"))):(f=(f-c)/s,m=e(f),d=(t-a)*m+a,u=(i-l)*m+l,n._translate(d,u),void(n.isAnimating&&r(o)))}var n=this,a=this.x,l=this.y,c=h.getTime(),p=c+s;this.isAnimating=!0,o()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":t.defaultPrevented||this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":t.defaultPrevented||this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":this.enabled&&!t._constructed}}},n.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(h.removeEvent(this.indicator,"touchstart",this),h.removeEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.removeEvent(this.indicator,"mousedown",this),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),h.removeEvent(t,"touchend",this),h.removeEvent(t,h.prefixPointerEvent("pointerup"),this),h.removeEvent(t,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(i){var s=i.touches?i.touches[0]:i;i.preventDefault(),i.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=s.pageX,this.lastPointY=s.pageY,this.startTime=h.getTime(),this.options.disableTouch||h.addEvent(t,"touchmove",this),this.options.disablePointer||h.addEvent(t,h.prefixPointerEvent("pointermove"),this),this.options.disableMouse||h.addEvent(t,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var i,s,e,o,n=t.touches?t.touches[0]:t;h.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,i=n.pageX-this.lastPointX,this.lastPointX=n.pageX,s=n.pageY-this.lastPointY,this.lastPointY=n.pageY,e=this.x+i,o=this.y+s,this._pos(e,o),t.preventDefault(),t.stopPropagation()},_end:function(i){if(this.initiated){if(this.initiated=!1,i.preventDefault(),i.stopPropagation(),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),this.scroller.options.snap){var e=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),o=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.scroller.x-e.x),1e3),s.min(s.abs(this.scroller.y-e.y),1e3)),300);this.scroller.x==e.x&&this.scroller.y==e.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=e,this.scroller.scrollTo(e.x,e.y,o,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0;var i=h.style.transitionDuration;if(i&&(this.indicatorStyle[i]=t+"ms",!t&&h.isBadAndroid)){this.indicatorStyle[i]="0.0001ms";var s=this;r(function(){"0.0001ms"===s.indicatorStyle[i]&&(s.indicatorStyle[i]="0s")})}},transitionTimingFunction:function(t){this.indicatorStyle[h.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(h.addClass(this.wrapper,"iScrollBothScrollbars"),h.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(h.removeClass(this.wrapper,"iScrollBothScrollbars"),h.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px")),h.getRect(this.wrapper),this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=s.max(s.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=-this.indicatorWidth+8,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=s.max(s.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=-this.indicatorHeight+8,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),
this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&s.round(this.sizeRatioX*this.scroller.x)||0,i=this.options.listenY&&s.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(t<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=s.max(this.indicatorWidth+t,8),this.indicatorStyle.width=this.width+"px"),t=this.minBoundaryX):t>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=s.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),i<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=s.max(this.indicatorHeight+3*i,8),this.indicatorStyle.height=this.height+"px"),i=this.minBoundaryY):i>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=s.max(this.indicatorHeight-3*(i-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",i=this.maxPosY+this.indicatorHeight-this.height):i=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=i,this.scroller.options.useTransform?this.indicatorStyle[h.style.transform]="translate("+t+"px,"+i+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=i+"px")},_pos:function(t,i){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),i<0?i=0:i>this.maxPosY&&(i=this.maxPosY),t=this.options.listenX?s.round(t/this.sizeRatioX):this.scroller.x,i=this.options.listenY?s.round(i/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,i)},fade:function(t,i){if(!i||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var s=t?250:500,e=t?0:300;t=t?"1":"0",this.wrapperStyle[h.style.transitionDuration]=s+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),e)}}},e.utils=h,"undefined"!=typeof module&&module.exports?module.exports=e:"function"==typeof define&&define.amd?define(function(){return e}):t.IScroll=e}(window,document,Math);!function(e,n,s){function t(e,n){return typeof e===n}function o(){var e,n,s,o,a,i,l;for(var c in f)if(f.hasOwnProperty(c)){if(e=[],n=f[c],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(s=0;s<n.options.aliases.length;s++)e.push(n.options.aliases[s].toLowerCase());for(o=t(n.fn,"function")?n.fn():n.fn,a=0;a<e.length;a++)i=e[a],l=i.split("."),1===l.length?Modernizr[l[0]]=o:(!Modernizr[l[0]]||Modernizr[l[0]]instanceof Boolean||(Modernizr[l[0]]=new Boolean(Modernizr[l[0]])),Modernizr[l[0]][l[1]]=o),r.push((o?"":"no-")+l.join("-"))}}function a(e){var n=c.className,s=Modernizr._config.classPrefix||"";if(u&&(n=n.baseVal),Modernizr._config.enableJSClass){var t=new RegExp("(^|\\s)"+s+"no-js(\\s|$)");n=n.replace(t,"$1"+s+"js$2")}Modernizr._config.enableClasses&&(n+=" "+s+e.join(" "+s),u?c.className.baseVal=n:c.className=n)}function i(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):u?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}var r=[],f=[],l={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var s=this;setTimeout(function(){n(s[e])},0)},addTest:function(e,n,s){f.push({name:e,fn:n,options:s})},addAsyncTest:function(e){f.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=l,Modernizr=new Modernizr;var c=n.documentElement,u="svg"===c.nodeName.toLowerCase();Modernizr.addTest("inlinesvg",function(){var e=i("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)});var p="Moz O ms Webkit",d=l._config.usePrefixes?p.split(" "):[];l._cssomPrefixes=d;var m=function(n){var t,o=g.length,a=e.CSSRule;if("undefined"==typeof a)return s;if(!n)return!1;if(n=n.replace(/^@/,""),t=n.replace(/-/g,"_").toUpperCase()+"_RULE",t in a)return"@"+n;for(var i=0;o>i;i++){var r=g[i],f=r.toUpperCase()+"_"+t;if(f in a)return"@-"+r.toLowerCase()+"-"+n}return!1};l.atRule=m;var g=l._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];l._prefixes=g,o(),a(r),delete l.addTest,delete l.addAsyncTest;for(var v=0;v<Modernizr._q.length;v++)Modernizr._q[v]();e.Modernizr=Modernizr}(window,document);// glMatrix v0.9.5
glMatrixArrayType=typeof Float32Array!="undefined"?Float32Array:typeof WebGLFloatArray!="undefined"?WebGLFloatArray:Array;var vec3={};vec3.create=function(a){var b=new glMatrixArrayType(3);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2]}return b};vec3.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];return b};vec3.add=function(a,b,c){if(!c||a==c){a[0]+=b[0];a[1]+=b[1];a[2]+=b[2];return a}c[0]=a[0]+b[0];c[1]=a[1]+b[1];c[2]=a[2]+b[2];return c};
vec3.subtract=function(a,b,c){if(!c||a==c){a[0]-=b[0];a[1]-=b[1];a[2]-=b[2];return a}c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2];return c};vec3.negate=function(a,b){b||(b=a);b[0]=-a[0];b[1]=-a[1];b[2]=-a[2];return b};vec3.scale=function(a,b,c){if(!c||a==c){a[0]*=b;a[1]*=b;a[2]*=b;return a}c[0]=a[0]*b;c[1]=a[1]*b;c[2]=a[2]*b;return c};
vec3.normalize=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=Math.sqrt(c*c+d*d+e*e);if(g){if(g==1){b[0]=c;b[1]=d;b[2]=e;return b}}else{b[0]=0;b[1]=0;b[2]=0;return b}g=1/g;b[0]=c*g;b[1]=d*g;b[2]=e*g;return b};vec3.cross=function(a,b,c){c||(c=a);var d=a[0],e=a[1];a=a[2];var g=b[0],f=b[1];b=b[2];c[0]=e*b-a*f;c[1]=a*g-d*b;c[2]=d*f-e*g;return c};vec3.length=function(a){var b=a[0],c=a[1];a=a[2];return Math.sqrt(b*b+c*c+a*a)};vec3.dot=function(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]};
vec3.direction=function(a,b,c){c||(c=a);var d=a[0]-b[0],e=a[1]-b[1];a=a[2]-b[2];b=Math.sqrt(d*d+e*e+a*a);if(!b){c[0]=0;c[1]=0;c[2]=0;return c}b=1/b;c[0]=d*b;c[1]=e*b;c[2]=a*b;return c};vec3.lerp=function(a,b,c,d){d||(d=a);d[0]=a[0]+c*(b[0]-a[0]);d[1]=a[1]+c*(b[1]-a[1]);d[2]=a[2]+c*(b[2]-a[2]);return d};vec3.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+"]"};var mat3={};
mat3.create=function(a){var b=new glMatrixArrayType(9);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9]}return b};mat3.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];return b};mat3.identity=function(a){a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=1;a[5]=0;a[6]=0;a[7]=0;a[8]=1;return a};
mat3.transpose=function(a,b){if(!b||a==b){var c=a[1],d=a[2],e=a[5];a[1]=a[3];a[2]=a[6];a[3]=c;a[5]=a[7];a[6]=d;a[7]=e;return a}b[0]=a[0];b[1]=a[3];b[2]=a[6];b[3]=a[1];b[4]=a[4];b[5]=a[7];b[6]=a[2];b[7]=a[5];b[8]=a[8];return b};mat3.toMat4=function(a,b){b||(b=mat4.create());b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=0;b[4]=a[3];b[5]=a[4];b[6]=a[5];b[7]=0;b[8]=a[6];b[9]=a[7];b[10]=a[8];b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return b};
mat3.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+", "+a[6]+", "+a[7]+", "+a[8]+"]"};var mat4={};mat4.create=function(a){var b=new glMatrixArrayType(16);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15]}return b};
mat4.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15];return b};mat4.identity=function(a){a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1;return a};
mat4.transpose=function(a,b){if(!b||a==b){var c=a[1],d=a[2],e=a[3],g=a[6],f=a[7],h=a[11];a[1]=a[4];a[2]=a[8];a[3]=a[12];a[4]=c;a[6]=a[9];a[7]=a[13];a[8]=d;a[9]=g;a[11]=a[14];a[12]=e;a[13]=f;a[14]=h;return a}b[0]=a[0];b[1]=a[4];b[2]=a[8];b[3]=a[12];b[4]=a[1];b[5]=a[5];b[6]=a[9];b[7]=a[13];b[8]=a[2];b[9]=a[6];b[10]=a[10];b[11]=a[14];b[12]=a[3];b[13]=a[7];b[14]=a[11];b[15]=a[15];return b};
mat4.determinant=function(a){var b=a[0],c=a[1],d=a[2],e=a[3],g=a[4],f=a[5],h=a[6],i=a[7],j=a[8],k=a[9],l=a[10],o=a[11],m=a[12],n=a[13],p=a[14];a=a[15];return m*k*h*e-j*n*h*e-m*f*l*e+g*n*l*e+j*f*p*e-g*k*p*e-m*k*d*i+j*n*d*i+m*c*l*i-b*n*l*i-j*c*p*i+b*k*p*i+m*f*d*o-g*n*d*o-m*c*h*o+b*n*h*o+g*c*p*o-b*f*p*o-j*f*d*a+g*k*d*a+j*c*h*a-b*k*h*a-g*c*l*a+b*f*l*a};
mat4.inverse=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=a[3],f=a[4],h=a[5],i=a[6],j=a[7],k=a[8],l=a[9],o=a[10],m=a[11],n=a[12],p=a[13],r=a[14],s=a[15],A=c*h-d*f,B=c*i-e*f,t=c*j-g*f,u=d*i-e*h,v=d*j-g*h,w=e*j-g*i,x=k*p-l*n,y=k*r-o*n,z=k*s-m*n,C=l*r-o*p,D=l*s-m*p,E=o*s-m*r,q=1/(A*E-B*D+t*C+u*z-v*y+w*x);b[0]=(h*E-i*D+j*C)*q;b[1]=(-d*E+e*D-g*C)*q;b[2]=(p*w-r*v+s*u)*q;b[3]=(-l*w+o*v-m*u)*q;b[4]=(-f*E+i*z-j*y)*q;b[5]=(c*E-e*z+g*y)*q;b[6]=(-n*w+r*t-s*B)*q;b[7]=(k*w-o*t+m*B)*q;b[8]=(f*D-h*z+j*x)*q;
b[9]=(-c*D+d*z-g*x)*q;b[10]=(n*v-p*t+s*A)*q;b[11]=(-k*v+l*t-m*A)*q;b[12]=(-f*C+h*y-i*x)*q;b[13]=(c*C-d*y+e*x)*q;b[14]=(-n*u+p*B-r*A)*q;b[15]=(k*u-l*B+o*A)*q;return b};mat4.toRotationMat=function(a,b){b||(b=mat4.create());b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=0;b[13]=0;b[14]=0;b[15]=1;return b};
mat4.toMat3=function(a,b){b||(b=mat3.create());b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[4];b[4]=a[5];b[5]=a[6];b[6]=a[8];b[7]=a[9];b[8]=a[10];return b};mat4.toInverseMat3=function(a,b){var c=a[0],d=a[1],e=a[2],g=a[4],f=a[5],h=a[6],i=a[8],j=a[9],k=a[10],l=k*f-h*j,o=-k*g+h*i,m=j*g-f*i,n=c*l+d*o+e*m;if(!n)return null;n=1/n;b||(b=mat3.create());b[0]=l*n;b[1]=(-k*d+e*j)*n;b[2]=(h*d-e*f)*n;b[3]=o*n;b[4]=(k*c-e*i)*n;b[5]=(-h*c+e*g)*n;b[6]=m*n;b[7]=(-j*c+d*i)*n;b[8]=(f*c-d*g)*n;return b};
mat4.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],g=a[2],f=a[3],h=a[4],i=a[5],j=a[6],k=a[7],l=a[8],o=a[9],m=a[10],n=a[11],p=a[12],r=a[13],s=a[14];a=a[15];var A=b[0],B=b[1],t=b[2],u=b[3],v=b[4],w=b[5],x=b[6],y=b[7],z=b[8],C=b[9],D=b[10],E=b[11],q=b[12],F=b[13],G=b[14];b=b[15];c[0]=A*d+B*h+t*l+u*p;c[1]=A*e+B*i+t*o+u*r;c[2]=A*g+B*j+t*m+u*s;c[3]=A*f+B*k+t*n+u*a;c[4]=v*d+w*h+x*l+y*p;c[5]=v*e+w*i+x*o+y*r;c[6]=v*g+w*j+x*m+y*s;c[7]=v*f+w*k+x*n+y*a;c[8]=z*d+C*h+D*l+E*p;c[9]=z*e+C*i+D*o+E*r;c[10]=z*
g+C*j+D*m+E*s;c[11]=z*f+C*k+D*n+E*a;c[12]=q*d+F*h+G*l+b*p;c[13]=q*e+F*i+G*o+b*r;c[14]=q*g+F*j+G*m+b*s;c[15]=q*f+F*k+G*n+b*a;return c};mat4.multiplyVec3=function(a,b,c){c||(c=b);var d=b[0],e=b[1];b=b[2];c[0]=a[0]*d+a[4]*e+a[8]*b+a[12];c[1]=a[1]*d+a[5]*e+a[9]*b+a[13];c[2]=a[2]*d+a[6]*e+a[10]*b+a[14];return c};
mat4.multiplyVec4=function(a,b,c){c||(c=b);var d=b[0],e=b[1],g=b[2];b=b[3];c[0]=a[0]*d+a[4]*e+a[8]*g+a[12]*b;c[1]=a[1]*d+a[5]*e+a[9]*g+a[13]*b;c[2]=a[2]*d+a[6]*e+a[10]*g+a[14]*b;c[3]=a[3]*d+a[7]*e+a[11]*g+a[15]*b;return c};
mat4.translate=function(a,b,c){var d=b[0],e=b[1];b=b[2];if(!c||a==c){a[12]=a[0]*d+a[4]*e+a[8]*b+a[12];a[13]=a[1]*d+a[5]*e+a[9]*b+a[13];a[14]=a[2]*d+a[6]*e+a[10]*b+a[14];a[15]=a[3]*d+a[7]*e+a[11]*b+a[15];return a}var g=a[0],f=a[1],h=a[2],i=a[3],j=a[4],k=a[5],l=a[6],o=a[7],m=a[8],n=a[9],p=a[10],r=a[11];c[0]=g;c[1]=f;c[2]=h;c[3]=i;c[4]=j;c[5]=k;c[6]=l;c[7]=o;c[8]=m;c[9]=n;c[10]=p;c[11]=r;c[12]=g*d+j*e+m*b+a[12];c[13]=f*d+k*e+n*b+a[13];c[14]=h*d+l*e+p*b+a[14];c[15]=i*d+o*e+r*b+a[15];return c};
mat4.scale=function(a,b,c){var d=b[0],e=b[1];b=b[2];if(!c||a==c){a[0]*=d;a[1]*=d;a[2]*=d;a[3]*=d;a[4]*=e;a[5]*=e;a[6]*=e;a[7]*=e;a[8]*=b;a[9]*=b;a[10]*=b;a[11]*=b;return a}c[0]=a[0]*d;c[1]=a[1]*d;c[2]=a[2]*d;c[3]=a[3]*d;c[4]=a[4]*e;c[5]=a[5]*e;c[6]=a[6]*e;c[7]=a[7]*e;c[8]=a[8]*b;c[9]=a[9]*b;c[10]=a[10]*b;c[11]=a[11]*b;c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15];return c};
mat4.rotate=function(a,b,c,d){var e=c[0],g=c[1];c=c[2];var f=Math.sqrt(e*e+g*g+c*c);if(!f)return null;if(f!=1){f=1/f;e*=f;g*=f;c*=f}var h=Math.sin(b),i=Math.cos(b),j=1-i;b=a[0];f=a[1];var k=a[2],l=a[3],o=a[4],m=a[5],n=a[6],p=a[7],r=a[8],s=a[9],A=a[10],B=a[11],t=e*e*j+i,u=g*e*j+c*h,v=c*e*j-g*h,w=e*g*j-c*h,x=g*g*j+i,y=c*g*j+e*h,z=e*c*j+g*h;e=g*c*j-e*h;g=c*c*j+i;if(d){if(a!=d){d[12]=a[12];d[13]=a[13];d[14]=a[14];d[15]=a[15]}}else d=a;d[0]=b*t+o*u+r*v;d[1]=f*t+m*u+s*v;d[2]=k*t+n*u+A*v;d[3]=l*t+p*u+B*
v;d[4]=b*w+o*x+r*y;d[5]=f*w+m*x+s*y;d[6]=k*w+n*x+A*y;d[7]=l*w+p*x+B*y;d[8]=b*z+o*e+r*g;d[9]=f*z+m*e+s*g;d[10]=k*z+n*e+A*g;d[11]=l*z+p*e+B*g;return d};mat4.rotateX=function(a,b,c){var d=Math.sin(b);b=Math.cos(b);var e=a[4],g=a[5],f=a[6],h=a[7],i=a[8],j=a[9],k=a[10],l=a[11];if(c){if(a!=c){c[0]=a[0];c[1]=a[1];c[2]=a[2];c[3]=a[3];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}}else c=a;c[4]=e*b+i*d;c[5]=g*b+j*d;c[6]=f*b+k*d;c[7]=h*b+l*d;c[8]=e*-d+i*b;c[9]=g*-d+j*b;c[10]=f*-d+k*b;c[11]=h*-d+l*b;return c};
mat4.rotateY=function(a,b,c){var d=Math.sin(b);b=Math.cos(b);var e=a[0],g=a[1],f=a[2],h=a[3],i=a[8],j=a[9],k=a[10],l=a[11];if(c){if(a!=c){c[4]=a[4];c[5]=a[5];c[6]=a[6];c[7]=a[7];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}}else c=a;c[0]=e*b+i*-d;c[1]=g*b+j*-d;c[2]=f*b+k*-d;c[3]=h*b+l*-d;c[8]=e*d+i*b;c[9]=g*d+j*b;c[10]=f*d+k*b;c[11]=h*d+l*b;return c};
mat4.rotateZ=function(a,b,c){var d=Math.sin(b);b=Math.cos(b);var e=a[0],g=a[1],f=a[2],h=a[3],i=a[4],j=a[5],k=a[6],l=a[7];if(c){if(a!=c){c[8]=a[8];c[9]=a[9];c[10]=a[10];c[11]=a[11];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}}else c=a;c[0]=e*b+i*d;c[1]=g*b+j*d;c[2]=f*b+k*d;c[3]=h*b+l*d;c[4]=e*-d+i*b;c[5]=g*-d+j*b;c[6]=f*-d+k*b;c[7]=h*-d+l*b;return c};
mat4.frustum=function(a,b,c,d,e,g,f){f||(f=mat4.create());var h=b-a,i=d-c,j=g-e;f[0]=e*2/h;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=e*2/i;f[6]=0;f[7]=0;f[8]=(b+a)/h;f[9]=(d+c)/i;f[10]=-(g+e)/j;f[11]=-1;f[12]=0;f[13]=0;f[14]=-(g*e*2)/j;f[15]=0;return f};mat4.perspective=function(a,b,c,d,e){a=c*Math.tan(a*Math.PI/360);b=a*b;return mat4.frustum(-b,b,-a,a,c,d,e)};
mat4.ortho=function(a,b,c,d,e,g,f){f||(f=mat4.create());var h=b-a,i=d-c,j=g-e;f[0]=2/h;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=2/i;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=-2/j;f[11]=0;f[12]=-(a+b)/h;f[13]=-(d+c)/i;f[14]=-(g+e)/j;f[15]=1;return f};
mat4.lookAt=function(a,b,c,d){d||(d=mat4.create());var e=a[0],g=a[1];a=a[2];var f=c[0],h=c[1],i=c[2];c=b[1];var j=b[2];if(e==b[0]&&g==c&&a==j)return mat4.identity(d);var k,l,o,m;c=e-b[0];j=g-b[1];b=a-b[2];m=1/Math.sqrt(c*c+j*j+b*b);c*=m;j*=m;b*=m;k=h*b-i*j;i=i*c-f*b;f=f*j-h*c;if(m=Math.sqrt(k*k+i*i+f*f)){m=1/m;k*=m;i*=m;f*=m}else f=i=k=0;h=j*f-b*i;l=b*k-c*f;o=c*i-j*k;if(m=Math.sqrt(h*h+l*l+o*o)){m=1/m;h*=m;l*=m;o*=m}else o=l=h=0;d[0]=k;d[1]=h;d[2]=c;d[3]=0;d[4]=i;d[5]=l;d[6]=j;d[7]=0;d[8]=f;d[9]=
o;d[10]=b;d[11]=0;d[12]=-(k*e+i*g+f*a);d[13]=-(h*e+l*g+o*a);d[14]=-(c*e+j*g+b*a);d[15]=1;return d};mat4.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+", "+a[6]+", "+a[7]+", "+a[8]+", "+a[9]+", "+a[10]+", "+a[11]+", "+a[12]+", "+a[13]+", "+a[14]+", "+a[15]+"]"};quat4={};quat4.create=function(a){var b=new glMatrixArrayType(4);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3]}return b};quat4.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];return b};
quat4.calculateW=function(a,b){var c=a[0],d=a[1],e=a[2];if(!b||a==b){a[3]=-Math.sqrt(Math.abs(1-c*c-d*d-e*e));return a}b[0]=c;b[1]=d;b[2]=e;b[3]=-Math.sqrt(Math.abs(1-c*c-d*d-e*e));return b};quat4.inverse=function(a,b){if(!b||a==b){a[0]*=1;a[1]*=1;a[2]*=1;return a}b[0]=-a[0];b[1]=-a[1];b[2]=-a[2];b[3]=a[3];return b};quat4.length=function(a){var b=a[0],c=a[1],d=a[2];a=a[3];return Math.sqrt(b*b+c*c+d*d+a*a)};
quat4.normalize=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=a[3],f=Math.sqrt(c*c+d*d+e*e+g*g);if(f==0){b[0]=0;b[1]=0;b[2]=0;b[3]=0;return b}f=1/f;b[0]=c*f;b[1]=d*f;b[2]=e*f;b[3]=g*f;return b};quat4.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],g=a[2];a=a[3];var f=b[0],h=b[1],i=b[2];b=b[3];c[0]=d*b+a*f+e*i-g*h;c[1]=e*b+a*h+g*f-d*i;c[2]=g*b+a*i+d*h-e*f;c[3]=a*b-d*f-e*h-g*i;return c};
quat4.multiplyVec3=function(a,b,c){c||(c=b);var d=b[0],e=b[1],g=b[2];b=a[0];var f=a[1],h=a[2];a=a[3];var i=a*d+f*g-h*e,j=a*e+h*d-b*g,k=a*g+b*e-f*d;d=-b*d-f*e-h*g;c[0]=i*a+d*-b+j*-h-k*-f;c[1]=j*a+d*-f+k*-b-i*-h;c[2]=k*a+d*-h+i*-f-j*-b;return c};quat4.toMat3=function(a,b){b||(b=mat3.create());var c=a[0],d=a[1],e=a[2],g=a[3],f=c+c,h=d+d,i=e+e,j=c*f,k=c*h;c=c*i;var l=d*h;d=d*i;e=e*i;f=g*f;h=g*h;g=g*i;b[0]=1-(l+e);b[1]=k-g;b[2]=c+h;b[3]=k+g;b[4]=1-(j+e);b[5]=d-f;b[6]=c-h;b[7]=d+f;b[8]=1-(j+l);return b};
quat4.toMat4=function(a,b){b||(b=mat4.create());var c=a[0],d=a[1],e=a[2],g=a[3],f=c+c,h=d+d,i=e+e,j=c*f,k=c*h;c=c*i;var l=d*h;d=d*i;e=e*i;f=g*f;h=g*h;g=g*i;b[0]=1-(l+e);b[1]=k-g;b[2]=c+h;b[3]=0;b[4]=k+g;b[5]=1-(j+e);b[6]=d-f;b[7]=0;b[8]=c-h;b[9]=d+f;b[10]=1-(j+l);b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return b};quat4.slerp=function(a,b,c,d){d||(d=a);var e=c;if(a[0]*b[0]+a[1]*b[1]+a[2]*b[2]+a[3]*b[3]<0)e=-1*c;d[0]=1-c*a[0]+e*b[0];d[1]=1-c*a[1]+e*b[1];d[2]=1-c*a[2]+e*b[2];d[3]=1-c*a[3]+e*b[3];return d};
quat4.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+"]"};
(function(){var r=Math,d=function(m){return m>>0},v=(/webkit/i).test(navigator.appVersion)?"webkit":(/firefox/i).test(navigator.userAgent)?"Moz":(/trident/i).test(navigator.userAgent)?"ms":"opera" in window?"O":"",w=(/android/gi).test(navigator.appVersion),i=(/iphone|ipad/gi).test(navigator.appVersion),c=(/playbook/gi).test(navigator.appVersion),n=(/hp-tablet/gi).test(navigator.appVersion),k=false,u="ontouchstart" in window&&!n,f=v+"Transform" in document.documentElement.style,g=i||c,o=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(m){return setTimeout(m,1)}})(),l=(function(){return window.cancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout})(),h="onorientationchange" in window?"orientationchange":"resize",b=u?"touchstart":"mousedown",p=u?"touchmove":"mousemove",e=u?"touchend":"mouseup",t=u?"touchcancel":"mouseup",q=v=="Moz"?"DOMMouseScroll":"mousewheel",a="translate"+(k?"3d(":"("),j=k?",0)":")",s=function(y,m){var z=this,A=document,x;z.wrapper=typeof y=="object"?y:A.getElementById(y);z.wrapper.style.overflow="hidden";z.scroller=z.wrapper.children[0];z.options={hScroll:true,vScroll:true,x:0,y:0,bounce:true,bounceLock:false,momentum:true,lockDirection:true,useTransform:true,useTransition:false,topOffset:0,checkDOMChanges:false,handleClick:true,ignoreEmptyScroll:false,minThumbSize:16,hScrollbar:true,vScrollbar:true,fixedScrollbar:w,hideScrollbar:i,fadeScrollbar:i&&k,scrollbarClass:"",zoom:false,zoomMin:1,zoomMax:4,doubleTapZoom:2,wheelAction:"scroll",snap:false,snapThreshold:1,onRefresh:null,onBeforeScrollStart:function(B){B.preventDefault()},onScrollStart:null,onBeforeScrollMove:null,onScrollMove:null,onBeforeScrollEnd:null,onScrollEnd:null,onTouchEnd:null,onDestroy:null,onZoomStart:null,onZoom:null,onZoomEnd:null};for(x in m){z.options[x]=m[x]}z.x=z.options.x;z.y=z.options.y;z.options.useTransform=f?z.options.useTransform:false;z.options.hScrollbar=z.options.hScroll&&z.options.hScrollbar;z.options.vScrollbar=z.options.vScroll&&z.options.vScrollbar;z.options.zoom=z.options.useTransform&&z.options.zoom;z.options.useTransition=g&&z.options.useTransition;if(z.options.zoom&&w){a="translate(";j=")"}z.scroller.style[v+"TransformOrigin"]="0 0";if(z.options.useTransition){z.scroller.style[v+"TransitionProperty"]=z.options.useTransform?"-"+v.toLowerCase()+"-transform":"top left";z.scroller.style[v+"TransitionDuration"]="0";z.scroller.style[v+"TransitionTimingFunction"]="cubic-bezier(0.33,0.66,0.66,1)"}if(z.options.useTransform){z.scroller.style[v+"Transform"]=a+z.x+"px,"+z.y+"px"+j}else{z.scroller.style.cssText+=";position:absolute;top:"+z.y+"px;left:"+z.x+"px"}if(z.options.useTransition){z.options.fixedScrollbar=true}z.refresh();z._bind(h,window);z._bind(b);if(!u){z._bind("mouseout",z.wrapper);if(z.options.wheelAction!="none"){z._bind(q)}}if(z.options.checkDOMChanges){z.checkDOMTime=setInterval(function(){z._checkDOMChanges()},500)}};s.prototype={enabled:true,x:0,y:0,steps:[],scale:1,currPageX:0,currPageY:0,pagesX:[],pagesY:[],aniTime:null,wheelZoomCount:0,handleEvent:function(x){var m=this;switch(x.type){case b:if(!u&&x.button!==0){return}m._start(x);break;case p:m._move(x);break;case e:case t:m._end(x);break;case h:m._resize();break;case q:m._wheel(x);break;case"mouseout":m._mouseout(x);break;case"webkitTransitionEnd":m._transitionEnd(x);break}},_checkDOMChanges:function(){if(this.moved||this.zoomed||this.animating||(this.scrollerW==this.scroller.offsetWidth*this.scale&&this.scrollerH==this.scroller.offsetHeight*this.scale)){return}this.refresh()},_scrollbar:function(m){var y=this,z=document,x;if(!y[m+"Scrollbar"]){if(y[m+"ScrollbarWrapper"]){if(f){y[m+"ScrollbarIndicator"].style[v+"Transform"]=""}y[m+"ScrollbarWrapper"].parentNode.removeChild(y[m+"ScrollbarWrapper"]);y[m+"ScrollbarWrapper"]=null;y[m+"ScrollbarIndicator"]=null}return}if(!y[m+"ScrollbarWrapper"]){x=z.createElement("div");if(y.options.scrollbarClass){x.className=m+y.options.scrollbarClass}else{x.style.cssText="position:absolute;z-index:100;"+(m=="h"?"height:7px;bottom:1px;left:2px;right:"+(y.vScrollbar?"7":"2")+"px":"width:7px;bottom:"+(y.hScrollbar?"7":"2")+"px;top:2px;right:1px")}x.style.cssText+=";pointer-events:none;opacity:"+(y.options.hideScrollbar?"0":"1");y.wrapper.appendChild(x);y[m+"ScrollbarWrapper"]=x;x=z.createElement("div");x.id=m+"Thumb";x.className="thumb";if(!y.options.scrollbarClass){x.style.cssText="position:absolute;z-index:100;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.5);-"+v+"-background-clip:border-box;-"+v+"-box-sizing:content-box;"+(m=="h"?"height:100%":"width:100%")+";-"+v+"-border-radius:4px;border-radius:4px;"+(m=="h"?"bottom":"right")+":2px;"}x.style.cssText+=";pointer-events:none;-"+v+"-transform:"+a+"0,0"+j;if(y.options.useTransition){x.style.cssText+=";-"+v+"-transition-timing-function:cubic-bezier(0.33,0.66,0.66,1)"}y[m+"ScrollbarWrapper"].appendChild(x);y[m+"ScrollbarIndicator"]=x}if(m=="h"){y.hScrollbarSize=y.hScrollbarWrapper.clientWidth;y.hScrollbarIndicatorSize=r.max(d(y.hScrollbarSize*y.hScrollbarSize/y.scrollerW),y.options.minThumbSize);y.hScrollbarIndicator.style.width=y.hScrollbarIndicatorSize+"px";y.hScrollbarMaxScroll=y.hScrollbarSize-y.hScrollbarIndicatorSize;y.hScrollbarProp=y.hScrollbarMaxScroll/y.maxScrollX}else{y.vScrollbarSize=y.vScrollbarWrapper.clientHeight;y.vScrollbarIndicatorSize=r.max(d(y.vScrollbarSize*y.vScrollbarSize/y.scrollerH),y.options.minThumbSize);y.vScrollbarIndicator.style.height=y.vScrollbarIndicatorSize+"px";y.vScrollbarMaxScroll=y.vScrollbarSize-y.vScrollbarIndicatorSize;y.vScrollbarProp=y.vScrollbarMaxScroll/y.maxScrollY}y._scrollbarPos(m,true)},_resize:function(){var m=this;setTimeout(function(){m.refresh()},w?200:0)},_pos:function(m,z){this._posImpl(m,z);this._scrollbarPos("h");this._scrollbarPos("v")},_posImpl:function(m,z){if(this.zoomed){return}m=this.hScroll?m:0;z=this.vScroll?z:0;if(this.options.useTransform){this.scroller.style[v+"Transform"]=a+m+"px,"+z+"px"+j+" scale("+this.scale+")"}else{m=d(m);z=d(z);this.scroller.style.left=m+"px";this.scroller.style.top=z+"px"}this.x=m;this.y=z;if(this.options.onScrollMove){this.options.onScrollMove.call(this)}},_scrollbarPos:function(m,z){var y=this,A=m=="h"?y.x:y.y,x;if(!y[m+"Scrollbar"]){return}A=y[m+"ScrollbarProp"]*A;if(A<0){if(!y.options.fixedScrollbar){x=y[m+"ScrollbarIndicatorSize"]+d(A*3);if(x<8){x=8}y[m+"ScrollbarIndicator"].style[m=="h"?"width":"height"]=x+"px"}A=0}else{if(A>y[m+"ScrollbarMaxScroll"]){if(!y.options.fixedScrollbar){x=y[m+"ScrollbarIndicatorSize"]-d((A-y[m+"ScrollbarMaxScroll"])*3);if(x<8){x=8}y[m+"ScrollbarIndicator"].style[m=="h"?"width":"height"]=x+"px";A=y[m+"ScrollbarMaxScroll"]+(y[m+"ScrollbarIndicatorSize"]-x)}else{A=y[m+"ScrollbarMaxScroll"]}}}y[m+"ScrollbarWrapper"].style.opacity=z&&y.options.hideScrollbar?"0":"1";y[m+"ScrollbarIndicator"].style[v+"Transform"]=a+(m=="h"?A+"px,0":"0,"+A+"px")+j},_start:function(E){var D=this,z=u?E.touches[0]:E,A,m,F,C,B;if(!D.enabled){return}if(D.options.onBeforeScrollStart){D.options.onBeforeScrollStart.call(D,E)}if(D.options.useTransition||D.options.zoom){D._transitionTime(0)}D.moved=false;D.animating=false;D.zoomed=false;D.distX=0;D.distY=0;D.absDistX=0;D.absDistY=0;D.dirX=0;D.dirY=0;if(D.options.zoom&&u&&E.touches.length>1){C=r.abs(E.touches[0].pageX-E.touches[1].pageX);B=r.abs(E.touches[0].pageY-E.touches[1].pageY);D.touchesDistStart=r.sqrt(C*C+B*B);D.originX=r.abs(E.touches[0].pageX+E.touches[1].pageX-D.wrapperOffsetLeft*2)/2-D.x;D.originY=r.abs(E.touches[0].pageY+E.touches[1].pageY-D.wrapperOffsetTop*2)/2-D.y;if(D.options.onZoomStart){D.options.onZoomStart.call(D,E)}}if(D.options.momentum){if(D.options.useTransform){A=getComputedStyle(D.scroller,null)[v+"Transform"].replace(/[^0-9-.,]/g,"").split(",");m=A[4]*1;F=A[5]*1}else{m=getComputedStyle(D.scroller,null).left.replace(/[^0-9-]/g,"")*1;F=getComputedStyle(D.scroller,null).top.replace(/[^0-9-]/g,"")*1}if(m!=D.x||F!=D.y){if(D.options.useTransition){D._unbind("webkitTransitionEnd")}else{l(D.aniTime)}D.steps=[];D._pos(m,F)}}D.absStartX=D.x;D.absStartY=D.y;D.startX=D.x;D.startY=D.y;D.pointX=z.pageX;D.pointY=z.pageY;D.startTime=E.timeStamp||Date.now();if(D.options.onScrollStart){D.options.onScrollStart.call(D,E)}D._bind(p);D._bind(e);D._bind(t)},_move:function(E){var C=this,F=u?E.touches[0]:E,A=F.pageX-C.pointX,y=F.pageY-C.pointY,m=C.x+A,G=C.y+y,B,z,x,D=E.timeStamp||Date.now();if(C.options.ignoreEmptyScroll){if(C.maxScrollY==C.minScrollY){y=0}if(C.maxScrollX==0){A=0}}if(C.options.onBeforeScrollMove){C.options.onBeforeScrollMove.call(C,E)}if(C.options.zoom&&u&&E.touches.length>1){B=r.abs(E.touches[0].pageX-E.touches[1].pageX);z=r.abs(E.touches[0].pageY-E.touches[1].pageY);C.touchesDist=r.sqrt(B*B+z*z);C.zoomed=true;x=1/C.touchesDistStart*C.touchesDist*this.scale;if(x<C.options.zoomMin){x=0.5*C.options.zoomMin*Math.pow(2,x/C.options.zoomMin)}else{if(x>C.options.zoomMax){x=2*C.options.zoomMax*Math.pow(0.5,C.options.zoomMax/x)}}C.lastScale=x/this.scale;m=this.originX-this.originX*C.lastScale+this.x,G=this.originY-this.originY*C.lastScale+this.y;this.scroller.style[v+"Transform"]=a+m+"px,"+G+"px"+j+" scale("+x+")";if(C.options.onZoom){C.options.onZoom.call(C,E)}return}C.pointX=F.pageX;C.pointY=F.pageY;if(m>0||m<C.maxScrollX){m=C.options.bounce?C.x+(A/2):m>=0||C.maxScrollX>=0?0:C.maxScrollX}if(G>C.minScrollY||G<C.maxScrollY){G=C.options.bounce?C.y+(y/2):G>=C.minScrollY||C.maxScrollY>=0?C.minScrollY:C.maxScrollY}C.distX+=A;C.distY+=y;C.absDistX=r.abs(C.distX);C.absDistY=r.abs(C.distY);if(C.absDistX<6&&C.absDistY<6){return}if(C.options.lockDirection){if(C.absDistX>C.absDistY+5){G=C.y;y=0}else{if(C.absDistY>C.absDistX+5){m=C.x;A=0}}}C.moved=true;C._pos(m,G);C.dirX=A>0?-1:A<0?1:0;C.dirY=y>0?-1:y<0?1:0;if(D-C.startTime>300){C.startTime=D;C.startX=C.x;C.startY=C.y}if(C.options.onScrollMove){C.options.onScrollMove.call(C,E)}},_end:function(E){if(u&&E.touches.length!=0){return}var C=this,K=u?E.changedTouches[0]:E,F,J,y={dist:0,time:0},m={dist:0,time:0},B=(E.timeStamp||Date.now())-C.startTime,G=C.x,D=C.y,I,H,x,A,z;C._unbind(p);C._unbind(e);C._unbind(t);if(C.options.onBeforeScrollEnd){C.options.onBeforeScrollEnd.call(C,E)}if(C.zoomed){z=C.scale*C.lastScale;z=Math.max(C.options.zoomMin,z);z=Math.min(C.options.zoomMax,z);C.lastScale=z/C.scale;C.scale=z;C.x=C.originX-C.originX*C.lastScale+C.x;C.y=C.originY-C.originY*C.lastScale+C.y;C.scroller.style[v+"TransitionDuration"]="200ms";C.scroller.style[v+"Transform"]=a+C.x+"px,"+C.y+"px"+j+" scale("+C.scale+")";C.zoomed=false;C.refresh();if(C.options.onZoomEnd){C.options.onZoomEnd.call(C,E)}return}if(!C.moved){if(u){if(C.doubleTapTimer&&C.options.zoom){clearTimeout(C.doubleTapTimer);C.doubleTapTimer=null;if(C.options.onZoomStart){C.options.onZoomStart.call(C,E)}C.zoom(C.pointX,C.pointY,C.scale==1?C.options.doubleTapZoom:1);if(C.options.onZoomEnd){setTimeout(function(){C.options.onZoomEnd.call(C,E)},200)}}else{if(this.options.handleClick){C.doubleTapTimer=setTimeout(function(){C.doubleTapTimer=null;F=K.target;while(F.nodeType!=1){F=F.parentNode}if(F.tagName!="SELECT"&&F.tagName!="INPUT"&&F.tagName!="TEXTAREA"){J=document.createEvent("MouseEvents");J.initMouseEvent("click",true,true,E.view,1,K.screenX,K.screenY,K.clientX,K.clientY,E.ctrlKey,E.altKey,E.shiftKey,E.metaKey,0,null);J._fake=true;F.dispatchEvent(J)}},C.options.zoom?250:0)}}}C._resetPos(200);if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}return}if(B<300&&C.options.momentum){y=G?C._momentum(G-C.startX,B,-C.x,C.scrollerW-C.wrapperW+C.x,C.options.bounce?C.wrapperW:0):y;m=D?C._momentum(D-C.startY,B,-C.y,(C.maxScrollY<0?C.scrollerH-C.wrapperH+C.y-C.minScrollY:0),C.options.bounce?C.wrapperH:0):m;G=C.x+y.dist;D=C.y+m.dist;if((C.x>0&&G>0)||(C.x<C.maxScrollX&&G<C.maxScrollX)){y={dist:0,time:0}}if((C.y>C.minScrollY&&D>C.minScrollY)||(C.y<C.maxScrollY&&D<C.maxScrollY)){m={dist:0,time:0}}}if(y.dist||m.dist){x=r.max(r.max(y.time,m.time),10);if(C.options.snap){I=G-C.absStartX;H=D-C.absStartY;if(r.abs(I)<C.options.snapThreshold&&r.abs(H)<C.options.snapThreshold){C.scrollTo(C.absStartX,C.absStartY,200)}else{A=C._snap(G,D);G=A.x;D=A.y;x=r.max(A.time,x)}}C.scrollTo(d(G),d(D),x);if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}return}if(C.options.snap){I=G-C.absStartX;H=D-C.absStartY;if(r.abs(I)<C.options.snapThreshold&&r.abs(H)<C.options.snapThreshold){C.scrollTo(C.absStartX,C.absStartY,200)}else{A=C._snap(C.x,C.y);if(A.x!=C.x||A.y!=C.y){C.scrollTo(A.x,A.y,A.time)}}if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}return}C._resetPos(200);if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}},_resetPos:function(y){var m=this,z=m.x>=0?0:m.x<m.maxScrollX?m.maxScrollX:m.x,x=m.y>=m.minScrollY||m.maxScrollY>0?m.minScrollY:m.y<m.maxScrollY?m.maxScrollY:m.y;if(z==m.x&&x==m.y){if(m.moved){m.moved=false;if(m.options.onScrollEnd){m.options.onScrollEnd.call(m)}}if(m.hScrollbar&&m.options.hideScrollbar){m.hScrollbarWrapper.style.opacity="0"}if(m.vScrollbar&&m.options.hideScrollbar){m.vScrollbarWrapper.style.opacity="0"}return}m.scrollTo(z,x,y||0)},_wheel:function(B){var z=this,A,y,x,m,C;if("wheelDeltaX" in B){A=B.wheelDeltaX/12;y=B.wheelDeltaY/12}else{if("wheelDelta" in B){A=y=B.wheelDelta/12}else{if("detail" in B){A=y=-B.detail*3}else{return}}}if(z.options.wheelAction=="zoom"){C=z.scale*Math.pow(2,1/3*(y?y/Math.abs(y):0));if(C<z.options.zoomMin){C=z.options.zoomMin}if(C>z.options.zoomMax){C=z.options.zoomMax}if(C!=z.scale){if(!z.wheelZoomCount&&z.options.onZoomStart){z.options.onZoomStart.call(z,B)}z.wheelZoomCount++;z.zoom(B.pageX,B.pageY,C,400);setTimeout(function(){z.wheelZoomCount--;if(!z.wheelZoomCount&&z.options.onZoomEnd){z.options.onZoomEnd.call(z,B)}},400)}return}x=z.x+A;m=z.y+y;if(x>0){x=0}else{if(x<z.maxScrollX){x=z.maxScrollX}}if(m>z.minScrollY){m=z.minScrollY}else{if(m<z.maxScrollY){m=z.maxScrollY}}if(z.maxScrollY<0){z.scrollTo(x,m,0)}},_mouseout:function(x){var m=x.relatedTarget;if(!m){this._end(x);return}while(m=m.parentNode){if(m==this.wrapper){return}}this._end(x)},_transitionEnd:function(x){var m=this;if(x.target!=m.scroller){return}m._unbind("webkitTransitionEnd");m._startAni()},_startAni:function(){var C=this,x=C.x,m=C.y,A=Date.now(),B,z,y;if(C.animating){return}if(!C.steps.length){C._resetPos(400);return}B=C.steps.shift();if(B.x==x&&B.y==m){B.time=0}C.animating=true;C.moved=true;if(C.options.useTransition){C._transitionTime(B.time);C._pos(B.x,B.y);C.animating=false;if(B.time){C._bind("webkitTransitionEnd")}else{C._resetPos(0)}return}y=function(){var D=Date.now(),F,E;if(D>=A+B.time){C._pos(B.x,B.y);C.animating=false;if(C.options.onAnimationEnd){C.options.onAnimationEnd.call(C)}C._startAni();return}D=(D-A)/B.time-1;z=r.sqrt(1-D*D);F=(B.x-x)*z+x;E=(B.y-m)*z+m;C._pos(F,E);if(C.animating){C.aniTime=o(y)}};y()},_transitionTime:function(m){m+="ms";this.scroller.style[v+"TransitionDuration"]=m;if(this.hScrollbar){this.hScrollbarIndicator.style[v+"TransitionDuration"]=m}if(this.vScrollbar){this.vScrollbarIndicator.style[v+"TransitionDuration"]=m}},_momentum:function(D,x,B,m,F){var C=0.0006,y=r.abs(D)/x,z=(y*y)/(2*C),E=0,A=0;if(D>0&&z>B){A=F/(6/(z/y*C));B=B+A;y=y*B/z;z=B}else{if(D<0&&z>m){A=F/(6/(z/y*C));m=m+A;y=y*m/z;z=m}}z=z*(D<0?-1:1);E=y/C;return{dist:z,time:d(E)}},_offset:function(m){var y=-m.offsetLeft,x=-m.offsetTop;while(m=m.offsetParent){y-=m.offsetLeft;x-=m.offsetTop}if(m!=this.wrapper){y*=this.scale;x*=this.scale}return{left:y,top:x}},_snap:function(G,F){var D=this,C,B,E,A,z,m;E=D.pagesX.length-1;for(C=0,B=D.pagesX.length;C<B;C++){if(G>=D.pagesX[C]){E=C;break}}if(E==D.currPageX&&E>0&&D.dirX<0){E--}G=D.pagesX[E];z=r.abs(G-D.pagesX[D.currPageX]);z=z?r.abs(D.x-G)/z*500:0;D.currPageX=E;E=D.pagesY.length-1;for(C=0;C<E;C++){if(F>=D.pagesY[C]){E=C;break}}if(E==D.currPageY&&E>0&&D.dirY<0){E--}F=D.pagesY[E];m=r.abs(F-D.pagesY[D.currPageY]);m=m?r.abs(D.y-F)/m*500:0;D.currPageY=E;A=200;return{x:G,y:F,time:A}},_bind:function(y,x,m){(x||this.scroller).addEventListener(y,this,!!m)},_unbind:function(y,x,m){(x||this.scroller).removeEventListener(y,this,!!m)},resize:function(x,m){if(x){this.wrapperWidth=x}if(m){this.wrapperHeight=m}this.refresh()},destroy:function(){var m=this;m.scroller.style[v+"Transform"]="";m.hScrollbar=false;m.vScrollbar=false;m._scrollbar("h");m._scrollbar("v");m._unbind(h,window);m._unbind(b);m._unbind(p);m._unbind(e);m._unbind(t);if(!m.options.hasTouch){m._unbind("mouseout",m.wrapper);m._unbind(q)}if(m.options.useTransition){m._unbind("webkitTransitionEnd")}if(m.options.checkDOMChanges){clearInterval(m.checkDOMTime)}if(m.options.onDestroy){m.options.onDestroy.call(m)}},refresh:function(){var B=this,y,A,x,z,D=0,C=0;if(B.scale<B.options.zoomMin){B.scale=B.options.zoomMin}B.wrapperW=B.wrapperWidth||B.wrapper.clientWidth||1;B.wrapperH=B.wrapperHeight||B.wrapper.clientHeight||1;B.minScrollY=-B.options.topOffset||0;B.scrollerW=d(B.scroller.offsetWidth*B.scale);B.scrollerH=d((B.scroller.offsetHeight+B.minScrollY)*B.scale);B.maxScrollX=Math.min(0,B.wrapperW-B.scrollerW);B.maxScrollY=Math.min(0,B.wrapperH-B.scrollerH+B.minScrollY);B.dirX=0;B.dirY=0;if(B.options.onRefresh){B.options.onRefresh.call(B)}B.hScroll=B.options.hScroll;B.vScroll=B.options.vScroll&&(!B.options.bounceLock&&!B.hScroll||B.scrollerH>B.wrapperH);B.hScrollbar=B.hScroll&&B.options.hScrollbar&&B.maxScrollX<0;B.vScrollbar=B.vScroll&&B.options.vScrollbar&&B.maxScrollY<0;y=B._offset(B.wrapper);B.wrapperOffsetLeft=-y.left;B.wrapperOffsetTop=-y.top;var E=document.defaultView.getComputedStyle(B.scroller,null);B.wrapperOffsetTop+=parseInt(E["padding-top"]);if(typeof B.options.snap=="string"){B.pagesX=[];B.pagesY=[];z=B.scroller.querySelectorAll(B.options.snap);for(A=0,x=z.length;A<x;A++){var m=z[A];if(m.offsetParent){D=B._offset(m);D.left+=B.wrapperOffsetLeft;D.top+=B.wrapperOffsetTop;B.pagesX[A]=D.left<B.maxScrollX?B.maxScrollX:D.left*B.scale;B.pagesY[A]=D.top<B.maxScrollY?B.maxScrollY:D.top*B.scale}}}else{if(B.options.snap){B.pagesX=[];while(D>=B.maxScrollX){B.pagesX[C]=D;D=D-B.wrapperW;C++}if(B.maxScrollX%B.wrapperW){B.pagesX[B.pagesX.length]=B.maxScrollX-B.pagesX[B.pagesX.length-1]+B.pagesX[B.pagesX.length-1]}D=0;C=0;B.pagesY=[];while(D>=B.maxScrollY){B.pagesY[C]=D;D=D-B.wrapperH;C++}if(B.maxScrollY%B.wrapperH){B.pagesY[B.pagesY.length]=B.maxScrollY-B.pagesY[B.pagesY.length-1]+B.pagesY[B.pagesY.length-1]}}}B._scrollbar("h");B._scrollbar("v");if(!B.zoomed){B._resetPos(200)}},scrollTo:function(m,F,E,D){var C=this,B=m,A,z;if(!E){C._posImpl(m,F);return}C.stop();if(!B.length){B=[{x:m,y:F,time:E,relative:D}]}for(A=0,z=B.length;A<z;A++){if(B[A].relative){B[A].x=C.x-B[A].x;B[A].y=C.y-B[A].y}C.steps.push({x:B[A].x,y:B[A].y,time:B[A].time||0})}C._startAni()},scrollToElement:function(m,y){var x=this,z;m=m.nodeType?m:x.scroller.querySelector(m);if(!m){return}z=x._offset(m);z.left+=x.wrapperOffsetLeft;z.top+=x.wrapperOffsetTop;if(x.options.vScroll&&z.top<=x.y&&z.top-m.offsetHeight>=x.y-x.wrapper.clientHeight){return}else{if(z.top<x.y){z.top+=x.wrapper.clientHeight-m.offsetHeight}}if(x.options.hScroll&&z.left<x.x&&z.left-m.offsetWidth>x.x-x.wrapper.clientWidth){return}else{if(z.left<x.x){z.left+=x.wrapper.clientWidth-m.offsetWidth}}z.left=z.left>0?0:z.left<x.maxScrollX?x.maxScrollX:z.left;z.top=z.top>x.minScrollY?x.minScrollY:z.top<x.maxScrollY?x.maxScrollY:z.top;y=y===undefined?r.max(r.abs(z.left)*2,r.abs(z.top)*2):y;x.scrollTo(z.left,z.top,y)},scrollToPage:function(A,z,C){var B=this,m,D;C=C===undefined?400:C;if(B.options.onScrollStart){B.options.onScrollStart.call(B)}if(B.options.snap){A=A=="next"?B.currPageX+1:A=="prev"?B.currPageX-1:A;z=z=="next"?B.currPageY+1:z=="prev"?B.currPageY-1:z;A=A<0?0:A>B.pagesX.length-1?B.pagesX.length-1:A;z=z<0?0:z>B.pagesY.length-1?B.pagesY.length-1:z;B.currPageX=A;B.currPageY=z;m=B.pagesX[A];D=B.pagesY[z]}else{m=-B.wrapperW*A;D=-B.wrapperH*z;if(m<B.maxScrollX){m=B.maxScrollX}if(D<B.maxScrollY){D=B.maxScrollY}}B.scrollTo(m,D,C)},disable:function(){this.stop();this._resetPos(0);this.enabled=false;this._unbind(p);this._unbind(e);this._unbind(t)},enable:function(){this.enabled=true},stop:function(){if(this.options.useTransition){this._unbind("webkitTransitionEnd")}else{l(this.aniTime)}this.steps=[];this.moved=false;this.animating=false},zoom:function(m,D,C,B){var z=this,A=C/z.scale;if(!z.options.useTransform){return}z.zoomed=true;B=B===undefined?200:B;m=m-z.wrapperOffsetLeft-z.x;D=D-z.wrapperOffsetTop-z.y;z.x=m-m*A+z.x;z.y=D-D*A+z.y;z.scale=C;z.refresh();z.x=z.x>0?0:z.x<z.maxScrollX?z.maxScrollX:z.x;z.y=z.y>z.minScrollY?z.minScrollY:z.y<z.maxScrollY?z.maxScrollY:z.y;z.scroller.style[v+"TransitionDuration"]=B+"ms";z.scroller.style[v+"Transform"]=a+z.x+"px,"+z.y+"px"+j+" scale("+C+")";z.zoomed=false},isReady:function(){return !this.moved&&!this.zoomed&&!this.animating}};if(typeof exports!=="undefined"){exports.iScroll=s}else{window.iScroll=s}})();function RGBColor_(e){this.ok=!1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e=e.replace(/ /g,""),e=e.toLowerCase();var t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};e in t&&(e=t[e]);var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}];for(var r=0;r<n.length;r++){var i=n[r].re,s=n[r].process,o=i.exec(e);if(o){var u=s(o);this.r=u[0],this.g=u[1],this.b=u[2],this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return e.length==1&&(e="0"+e),t.length==1&&(t="0"+t),n.length==1&&(n="0"+n),"#"+e+t+n},this.getHelpXML=function(){var e=new Array;for(var r=0;r<n.length;r++){var i=n[r].example;for(var s=0;s<i.length;s++)e[e.length]=i[s]}for(var o in t)e[e.length]=o;var u=document.createElement("ul");u.setAttribute("id","rgbcolor-examples");for(var r=0;r<e.length;r++)try{var a=document.createElement("li"),f=new RGBColor_(e[r]),l=document.createElement("div");l.style.cssText="margin: 3px; border: 1px solid black; background:"+f.toHex()+"; "+"color:"+f.toHex(),l.appendChild(document.createTextNode("test"));var c=document.createTextNode(" "+e[r]+" -> "+f.toRGB()+" -> "+f.toHex());a.appendChild(l),a.appendChild(c),u.appendChild(a)}catch(h){}return u}}canvg=function(){function t(){var e={};return e.FRAMERATE=30,e.MAX_VIRTUAL_PIXELS=3e4,e.init=function(t){e.Definitions={},e.Styles={},e.Animations=[],e.Images=[],e.ctx=t,e.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){this.viewPorts=[]},this.SetCurrent=function(e,t){this.viewPorts.push({width:e,height:t})},this.RemoveCurrent=function(){this.viewPorts.pop()},this.Current=function(){return this.viewPorts[this.viewPorts.length-1]},this.width=function(){return this.Current().width},this.height=function(){return this.Current().height},this.ComputeSize=function(e){return e!=null&&typeof e=="number"?e:e=="x"?this.width():e=="y"?this.height():Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}},e.init(),e.ImagesLoaded=function(){for(var t=0;t<e.Images.length;t++)if(!e.Images[t].loaded)return!1;return!0},e.trim=function(e){return e.replace(/^\s+|\s+$/g,"")},e.compressSpaces=function(e){return e.replace(/[\s\r\t\n]+/gm," ")},e.ajax=function(e){var t;return window.XMLHttpRequest?t=new XMLHttpRequest:t=new ActiveXObject("Microsoft.XMLHTTP"),t?(t.open("GET",e,!1),t.send(null),t.responseText):null},e.parseXml=function(e){if(window.DOMParser){var t=new DOMParser;return t.parseFromString(e,"text/xml")}e=e.replace(/<!DOCTYPE svg[^>]*>/,"");var n=new ActiveXObject("Microsoft.XMLDOM");return n.async="false",n.loadXML(e),n},e.Property=function(t,n){this.name=t,this.value=n,this.hasValue=function(){return this.value!=null&&this.value!==""},this.numValue=function(){if(!this.hasValue())return 0;var e=parseFloat(this.value);return(this.value+"").match(/%$/)&&(e/=100),e},this.valueOrDefault=function(e){return this.hasValue()?this.value:e},this.numValueOrDefault=function(e){return this.hasValue()?this.numValue():e};var r=this;this.Color={addOpacity:function(t){var n=r.value;if(t!=null&&t!=""){var i=new RGBColor_(r.value);i.ok&&(n="rgba("+i.r+", "+i.g+", "+i.b+", "+t+")")}return new e.Property(r.name,n)}},this.Definition={getDefinition:function(){var t=r.value.replace(/^(url\()?#([^\)]+)\)?$/,"$2");return e.Definitions[t]},isUrl:function(){return r.value.indexOf("url(")==0},getFillStyle:function(t){var n=this.getDefinition();return n!=null&&n.createGradient?n.createGradient(e.ctx,t):n!=null&&n.createPattern?n.createPattern(e.ctx,t):null}},this.Length={DPI:function(e){return 96},EM:function(t){var n=12,r=new e.Property("fontSize",e.Font.Parse(e.ctx.font).fontSize);return r.hasValue()&&(n=r.Length.toPixels(t)),n},toPixels:function(t){if(!r.hasValue())return 0;var n=r.value+"";return n.match(/em$/)?r.numValue()*this.EM(t):n.match(/ex$/)?r.numValue()*this.EM(t)/2:n.match(/px$/)?r.numValue():n.match(/pt$/)?r.numValue()*1.25:n.match(/pc$/)?r.numValue()*15:n.match(/cm$/)?r.numValue()*this.DPI(t)/2.54:n.match(/mm$/)?r.numValue()*this.DPI(t)/25.4:n.match(/in$/)?r.numValue()*this.DPI(t):n.match(/%$/)?r.numValue()*e.ViewPort.ComputeSize(t):r.numValue()}},this.Time={toMilliseconds:function(){if(!r.hasValue())return 0;var e=r.value+"";return e.match(/s$/)?r.numValue()*1e3:e.match(/ms$/)?r.numValue():r.numValue()}},this.Angle={toRadians:function(){if(!r.hasValue())return 0;var e=r.value+"";return e.match(/deg$/)?r.numValue()*(Math.PI/180):e.match(/grad$/)?r.numValue()*(Math.PI/200):e.match(/rad$/)?r.numValue():r.numValue()*(Math.PI/180)}}},e.Font=new function(){this.Styles=["normal","italic","oblique","inherit"],this.Variants=["normal","small-caps","inherit"],this.Weights=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900","inherit"],this.CreateFont=function(t,n,r,i,s,o){var u=o!=null?this.Parse(o):this.CreateFont("","","","","",e.ctx.font);return{fontFamily:s||u.fontFamily,fontSize:i||u.fontSize,fontStyle:t||u.fontStyle,fontWeight:r||u.fontWeight,fontVariant:n||u.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var t=this;this.Parse=function(n){var r={},i=e.trim(e.compressSpaces(n||"")).split(" "),s={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},o="";for(var u=0;u<i.length;u++)!s.fontStyle&&t.Styles.indexOf(i[u])!=-1?(i[u]!="inherit"&&(r.fontStyle=i[u]),s.fontStyle=!0):!s.fontVariant&&t.Variants.indexOf(i[u])!=-1?(i[u]!="inherit"&&(r.fontVariant=i[u]),s.fontStyle=s.fontVariant=!0):!s.fontWeight&&t.Weights.indexOf(i[u])!=-1?(i[u]!="inherit"&&(r.fontWeight=i[u]),s.fontStyle=s.fontVariant=s.fontWeight=!0):s.fontSize?i[u]!="inherit"&&(o+=i[u]):(i[u]!="inherit"&&(r.fontSize=i[u].split("/")[0]),s.fontStyle=s.fontVariant=s.fontWeight=s.fontSize=!0);return o!=""&&(r.fontFamily=o),r}},e.ToNumberArray=function(t){var n=e.trim(e.compressSpaces((t||"").replace(/,/g," "))).split(" ");for(var r=0;r<n.length;r++)n[r]=parseFloat(n[r]);return n},e.Point=function(e,t){this.x=e,this.y=t,this.angleTo=function(e){return Math.atan2(e.y-this.y,e.x-this.x)},this.applyTransform=function(e){var t=this.x*e[0]+this.y*e[2]+e[4],n=this.x*e[1]+this.y*e[3]+e[5];this.x=t,this.y=n}},e.CreatePoint=function(t){var n=e.ToNumberArray(t);return new e.Point(n[0],n[1])},e.CreatePath=function(t){var n=e.ToNumberArray(t),r=[];for(var i=0;i<n.length;i+=2)r.push(new e.Point(n[i],n[i+1]));return r},e.BoundingBox=function(e,t,n,r){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN,this.x=function(){return this.x1},this.y=function(){return this.y1},this.width=function(){return this.x2-this.x1},this.height=function(){return this.y2-this.y1},this.addPoint=function(e,t){if(e!=null){if(isNaN(this.x1)||isNaN(this.x2))this.x1=e,this.x2=e;e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)}if(t!=null){if(isNaN(this.y1)||isNaN(this.y2))this.y1=t,this.y2=t;t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t)}},this.addX=function(e){this.addPoint(e,null)},this.addY=function(e){this.addPoint(null,e)},this.addBoundingBox=function(e){this.addPoint(e.x1,e.y1),this.addPoint(e.x2,e.y2)},this.addQuadraticCurve=function(e,t,n,r,i,s){var o=e+2/3*(n-e),u=t+2/3*(r-t),a=o+1/3*(i-e),f=u+1/3*(s-t);this.addBezierCurve(e,t,o,a,u,f,i,s)},this.addBezierCurve=function(e,t,n,r,i,s,o,u){var a=[e,t],f=[n,r],l=[i,s],c=[o,u];this.addPoint(a[0],a[1]),this.addPoint(c[0],c[1]);for(var h=0;h<=1;h++){var p=function(e){return Math.pow(1-e,3)*a[h]+3*Math.pow(1-e,2)*e*f[h]+3*(1-e)*Math.pow(e,2)*l[h]+Math.pow(e,3)*c[h]},d=6*a[h]-12*f[h]+6*l[h],v=-3*a[h]+9*f[h]-9*l[h]+3*c[h],m=3*f[h]-3*a[h];if(v==0){if(d==0)continue;var g=-m/d;0<g&&g<1&&(h==0&&this.addX(p(g)),h==1&&this.addY(p(g)));continue}var y=Math.pow(d,2)-4*m*v;if(y<0)continue;var b=(-d+Math.sqrt(y))/(2*v);0<b&&b<1&&(h==0&&this.addX(p(b)),h==1&&this.addY(p(b)));var w=(-d-Math.sqrt(y))/(2*v);0<w&&w<1&&(h==0&&this.addX(p(w)),h==1&&this.addY(p(w)))}},this.isPointInBox=function(e,t){return this.x1<=e&&e<=this.x2&&this.y1<=t&&t<=this.y2},this.addPoint(e,t),this.addPoint(n,r)},e.Transform=function(t){var n=this;this.Type={},this.Type.translate=function(t){this.p=e.CreatePoint(t),this.apply=function(e){e.translate(this.p.x||0,this.p.y||0)},this.applyToPoint=function(e){e.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0])}},this.Type.rotate=function(t){var n=e.ToNumberArray(t);this.angle=new e.Property("angle",n[0]),this.cx=n[1]||0,this.cy=n[2]||0,this.apply=function(e){e.translate(this.cx,this.cy),e.rotate(this.angle.Angle.toRadians()),e.translate(-this.cx,-this.cy)},this.applyToPoint=function(e){var t=this.angle.Angle.toRadians();e.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0]),e.applyTransform([Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0]),e.applyTransform([1,0,0,1,-this.p.x||0,-this.p.y||0])}},this.Type.scale=function(t){this.p=e.CreatePoint(t),this.apply=function(e){e.scale(this.p.x||1,this.p.y||this.p.x||1)},this.applyToPoint=function(e){e.applyTransform([this.p.x||0,0,0,this.p.y||0,0,0])}},this.Type.matrix=function(t){this.m=e.ToNumberArray(t),this.apply=function(e){e.transform(this.m[0],this.m[1],this.m[2],this.m[3],this.m[4],this.m[5])},this.applyToPoint=function(e){e.applyTransform(this.m)}},this.Type.SkewBase=function(t){this.base=n.Type.matrix,this.base(t),this.angle=new e.Property("angle",t)},this.Type.SkewBase.prototype=new this.Type.matrix,this.Type.skewX=function(e){this.base=n.Type.SkewBase,this.base(e),this.m=[1,0,Math.tan(this.angle.Angle.toRadians()),1,0,0]},this.Type.skewX.prototype=new this.Type.SkewBase,this.Type.skewY=function(e){this.base=n.Type.SkewBase,this.base(e),this.m=[1,Math.tan(this.angle.Angle.toRadians()),0,1,0,0]},this.Type.skewY.prototype=new this.Type.SkewBase,this.transforms=[],this.apply=function(e){for(var t=0;t<this.transforms.length;t++)this.transforms[t].apply(e)},this.applyToPoint=function(e){for(var t=0;t<this.transforms.length;t++)this.transforms[t].applyToPoint(e)};var r=e.trim(e.compressSpaces(t)).split(/\s(?=[a-z])/);for(var i=0;i<r.length;i++){var s=r[i].split("(")[0],o=r[i].split("(")[1].replace(")",""),u=new this.Type[s](o);this.transforms.push(u)}},e.AspectRatio=function(t,n,r,i,s,o,u,a,f,l){n=e.compressSpaces(n),n=n.replace(/^defer\s/,"");var c=n.split(" ")[0]||"xMidYMid",h=n.split(" ")[1]||"meet",p=r/i,d=s/o,v=Math.min(p,d),m=Math.max(p,d);h=="meet"&&(i*=v,o*=v),h=="slice"&&(i*=m,o*=m),f=new e.Property("refX",f),l=new e.Property("refY",l),f.hasValue()&&l.hasValue()?t.translate(-v*f.Length.toPixels("x"),-v*l.Length.toPixels("y")):(c.match(/^xMid/)&&(h=="meet"&&v==d||h=="slice"&&m==d)&&t.translate(r/2-i/2,0),c.match(/YMid$/)&&(h=="meet"&&v==p||h=="slice"&&m==p)&&t.translate(0,s/2-o/2),c.match(/^xMax/)&&(h=="meet"&&v==d||h=="slice"&&m==d)&&t.translate(r-i,0),c.match(/YMax$/)&&(h=="meet"&&v==p||h=="slice"&&m==p)&&t.translate(0,s-o)),c=="none"?t.scale(p,d):h=="meet"?t.scale(v,v):h=="slice"&&t.scale(m,m),t.translate(u==null?0:-u,a==null?0:-a)},e.Element={},e.Element.ElementBase=function(t){this.attributes={},this.styles={},this.children=[],this.attribute=function(t,n){var r=this.attributes[t];return r!=null?r:(r=new e.Property(t,""),n==1&&(this.attributes[t]=r),r)},this.style=function(t,n){var r=this.styles[t];if(r!=null)return r;var i=this.attribute(t);if(i!=null&&i.hasValue())return i;var s=this.parent;if(s!=null){var o=s.style(t);if(o!=null&&o.hasValue())return o}return r=new e.Property(t,""),n==1&&(this.styles[t]=r),r},this.render=function(e){if(this.style("display").value=="none")return;if(this.attribute("visibility").value=="hidden")return;e.save(),this.setContext(e);if(this.attribute("mask").hasValue()){var t=this.attribute("mask").Definition.getDefinition();t!=null&&t.apply(e,this)}else if(this.style("filter").hasValue()){var n=this.style("filter").Definition.getDefinition();n!=null&&n.apply(e,this)}else this.renderChildren(e);this.clearContext(e),e.restore()},this.setContext=function(e){},this.clearContext=function(e){},this.renderChildren=function(e){for(var t=0;t<this.children.length;t++)this.children[t].render(e)},this.addChild=function(t,n){var r=t;n&&(r=e.CreateElement(t)),r.parent=this,this.children.push(r)};if(t!=null&&t.nodeType==1){for(var n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];r.nodeType==1&&this.addChild(r,!0)}for(var n=0;n<t.attributes.length;n++){var i=t.attributes[n];this.attributes[i.nodeName]=new e.Property(i.nodeName,i.value)}var s=e.Styles[t.nodeName];if(s!=null)for(var o in s)this.styles[o]=s[o];if(this.attribute("class").hasValue()){var u=e.compressSpaces(this.attribute("class").value).split(" ");for(var a=0;a<u.length;a++){s=e.Styles["."+u[a]];if(s!=null)for(var o in s)this.styles[o]=s[o];s=e.Styles[t.nodeName+"."+u[a]];if(s!=null)for(var o in s)this.styles[o]=s[o]}}if(this.attribute("style").hasValue()){s=this.attribute("style").value.split(";");for(var n=0;n<s.length;n++)if(e.trim(s[n])!=""){var f=s[n].split(":"),o=e.trim(f[0]),l=e.trim(f[1]);this.styles[o]=new e.Property(o,l)}}this.attribute("id").hasValue()&&e.Definitions[this.attribute("id").value]==null&&(e.Definitions[this.attribute("id").value]=this)}},e.Element.RenderedElementBase=function(t){this.base=e.Element.ElementBase,this.base(t),this.setContext=function(t){if(this.style("fill").Definition.isUrl()){var n=this.style("fill").Definition.getFillStyle(this);n!=null&&(t.fillStyle=n)}else if(this.style("fill").hasValue()){var r=this.style("fill");this.style("fill-opacity").hasValue()&&(r=r.Color.addOpacity(this.style("fill-opacity").value)),t.fillStyle=r.value=="none"?"rgba(0,0,0,0)":r.value}if(this.style("stroke").Definition.isUrl()){var n=this.style("stroke").Definition.getFillStyle(this);n!=null&&(t.strokeStyle=n)}else if(this.style("stroke").hasValue()){var i=this.style("stroke");this.style("stroke-opacity").hasValue()&&(i=i.Color.addOpacity(this.style("stroke-opacity").value)),t.strokeStyle=i.value=="none"?"rgba(0,0,0,0)":i.value}this.style("stroke-width").hasValue()&&(t.lineWidth=this.style("stroke-width").Length.toPixels()),this.style("stroke-linecap").hasValue()&&(t.lineCap=this.style("stroke-linecap").value),this.style("stroke-linejoin").hasValue()&&(t.lineJoin=this.style("stroke-linejoin").value),this.style("stroke-miterlimit").hasValue()&&(t.miterLimit=this.style("stroke-miterlimit").value),typeof t.font!="undefined"&&(t.font=e.Font.CreateFont(this.style("font-style").value,this.style("font-variant").value,this.style("font-weight").value,this.style("font-size").hasValue()?this.style("font-size").Length.toPixels()+"px":"",this.style("font-family").value).toString());if(this.attribute("transform").hasValue()){var s=new e.Transform(this.attribute("transform").value);s.apply(t)}if(this.attribute("clip-path").hasValue()){var o=this.attribute("clip-path").Definition.getDefinition();o!=null&&o.apply(t)}this.style("opacity").hasValue()&&(t.globalAlpha=this.style("opacity").numValue())}},e.Element.RenderedElementBase.prototype=new e.Element.ElementBase,e.Element.PathElementBase=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.path=function(t){return t!=null&&t.beginPath(),new e.BoundingBox},this.renderChildren=function(t){this.path(t),e.Mouse.checkPath(this,t),t.fillStyle!=""&&t.fill(),t.strokeStyle!=""&&t.stroke();var n=this.getMarkers();if(n!=null){if(this.style("marker-start").Definition.isUrl()){var r=this.style("marker-start").Definition.getDefinition();r.render(t,n[0][0],n[0][1])}if(this.style("marker-mid").Definition.isUrl()){var r=this.style("marker-mid").Definition.getDefinition();for(var i=1;i<n.length-1;i++)r.render(t,n[i][0],n[i][1])}if(this.style("marker-end").Definition.isUrl()){var r=this.style("marker-end").Definition.getDefinition();r.render(t,n[n.length-1][0],n[n.length-1][1])}}},this.getBoundingBox=function(){return this.path()},this.getMarkers=function(){return null}},e.Element.PathElementBase.prototype=new e.Element.RenderedElementBase,e.Element.svg=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.baseClearContext=this.clearContext,this.clearContext=function(t){this.baseClearContext(t),e.ViewPort.RemoveCurrent()},this.baseSetContext=this.setContext,this.setContext=function(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4,this.baseSetContext(t),this.attribute("x").hasValue()&&this.attribute("y").hasValue()&&t.translate(this.attribute("x").Length.toPixels("x"),this.attribute("y").Length.toPixels("y"));var n=e.ViewPort.width(),r=e.ViewPort.height();if(typeof this.root=="undefined"&&this.attribute("width").hasValue()&&this.attribute("height").hasValue()){n=this.attribute("width").Length.toPixels("x"),r=this.attribute("height").Length.toPixels("y");var i=0,s=0;this.attribute("refX").hasValue()&&this.attribute("refY").hasValue()&&(i=-this.attribute("refX").Length.toPixels("x"),s=-this.attribute("refY").Length.toPixels("y")),t.beginPath(),t.moveTo(i,s),t.lineTo(n,s),t.lineTo(n,r),t.lineTo(i,r),t.closePath(),t.clip()}e.ViewPort.SetCurrent(n,r);if(this.attribute("viewBox").hasValue()){var o=e.ToNumberArray(this.attribute("viewBox").value),u=o[0],a=o[1];n=o[2],r=o[3],e.AspectRatio(t,this.attribute("preserveAspectRatio").value,e.ViewPort.width(),n,e.ViewPort.height(),r,u,a,this.attribute("refX").value,this.attribute("refY").value),e.ViewPort.RemoveCurrent(),e.ViewPort.SetCurrent(o[2],o[3])}}},e.Element.svg.prototype=new e.Element.RenderedElementBase,e.Element.svg=e.Element.svg,e.Element.rect=function(t){this.base=e.Element.PathElementBase,this.base(t),this.path=function(t){var n=this.attribute("x").Length.toPixels("x"),r=this.attribute("y").Length.toPixels("y"),i=this.attribute("width").Length.toPixels("x"),s=this.attribute("height").Length.toPixels("y"),o=this.attribute("rx").Length.toPixels("x"),u=this.attribute("ry").Length.toPixels("y");return this.attribute("rx").hasValue()&&!this.attribute("ry").hasValue()&&(u=o),this.attribute("ry").hasValue()&&!this.attribute("rx").hasValue()&&(o=u),t!=null&&(t.beginPath(),t.moveTo(n+o,r),t.lineTo(n+i-o,r),t.quadraticCurveTo(n+i,r,n+i,r+u),t.lineTo(n+i,r+s-u),t.quadraticCurveTo(n+i,r+s,n+i-o,r+s),t.lineTo(n+o,r+s),t.quadraticCurveTo(n,r+s,n,r+s-u),t.lineTo(n,r+u),t.quadraticCurveTo(n,r,n+o,r),t.closePath()),new e.BoundingBox(n,r,n+i,r+s)}},e.Element.rect.prototype=new e.Element.PathElementBase,e.Element.rect=e.Element.rect,e.Element.circle=function(t){this.base=e.Element.PathElementBase,this.base(t),this.path=function(t){var n=this.attribute("cx").Length.toPixels("x"),r=this.attribute("cy").Length.toPixels("y"),i=this.attribute("r").Length.toPixels();return t!=null&&(t.beginPath(),t.arc(n,r,i,0,Math.PI*2,!0),t.closePath()),new e.BoundingBox(n-i,r-i,n+i,r+i)}},e.Element.circle.prototype=new e.Element.PathElementBase,e.Element.circle=e.Element.circle,e.Element.ellipse=function(t){this.base=e.Element.PathElementBase,this.base(t),this.path=function(t){var n=4*((Math.sqrt(2)-1)/3),r=this.attribute("rx").Length.toPixels("x"),i=this.attribute("ry").Length.toPixels("y"),s=this.attribute("cx").Length.toPixels("x"),o=this.attribute("cy").Length.toPixels("y");return t!=null&&(t.beginPath(),t.moveTo(s,o-i),t.bezierCurveTo(s+n*r,o-i,s+r,o-n*i,s+r,o),t.bezierCurveTo(s+r,o+n*i,s+n*r,o+i,s,o+i),t.bezierCurveTo(s-n*r,o+i,s-r,o+n*i,s-r,o),t.bezierCurveTo(s-r,o-n*i,s-n*r,o-i,s,o-i),t.closePath()),new e.BoundingBox(s-r,o-i,s+r,o+i)}},e.Element.ellipse.prototype=new e.Element.PathElementBase,e.Element.ellipse=e.Element.ellipse,e.Element.line=function(t){this.base=e.Element.PathElementBase,this.base(t),this.getPoints=function(){return[new e.Point(this.attribute("x1").Length.toPixels("x"),this.attribute("y1").Length.toPixels("y")),new e.Point(this.attribute("x2").Length.toPixels("x"),this.attribute("y2").Length.toPixels("y"))]},this.path=function(t){var n=this.getPoints();return t!=null&&(t.beginPath(),t.moveTo(n[0].x,n[0].y),t.lineTo(n[1].x,n[1].y)),new e.BoundingBox(n[0].x,n[0].y,n[1].x,n[1].y)},this.getMarkers=function(){var e=this.getPoints(),t=e[0].angleTo(e[1]);return[[e[0],t],[e[1],t]]}},e.Element.line.prototype=new e.Element.PathElementBase,e.Element.line=e.Element.line,e.Element.polyline=function(t){this.base=e.Element.PathElementBase,this.base(t),this.points=e.CreatePath(this.attribute("points").value),this.path=function(t){var n=new e.BoundingBox(this.points[0].x,this.points[0].y);t!=null&&(t.beginPath(),t.moveTo(this.points[0].x,this.points[0].y));for(var r=1;r<this.points.length;r++)n.addPoint(this.points[r].x,this.points[r].y),t!=null&&t.lineTo(this.points[r].x,this.points[r].y);return n},this.getMarkers=function(){var e=[];for(var t=0;t<this.points.length-1;t++)e.push([this.points[t],this.points[t].angleTo(this.points[t+1])]);return e.push([this.points[this.points.length-1],e[e.length-1][1]]),e}},e.Element.polyline.prototype=new e.Element.PathElementBase,e.Element.polyline=e.Element.polyline,e.Element.polygon=function(t){this.base=e.Element.polyline,this.base(t),this.basePath=this.path,this.path=function(e){var t=this.basePath(e);return e!=null&&(e.lineTo(this.points[0].x,this.points[0].y),e.closePath()),t}},e.Element.polygon.prototype=new e.Element.polyline,e.Element.polygon=e.Element.polygon,e.Element.path=function(t){this.base=e.Element.PathElementBase,this.base(t);var n=this.attribute("d").value;n=n.replace(/,/gm," "),n=n.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2"),n=n.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2"),n=n.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2"),n=n.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2"),n=n.replace(/([0-9])([+\-])/gm,"$1 $2"),n=n.replace(/(\.[0-9]*)(\.)/gm,"$1 $2"),n=n.replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 "),n=e.compressSpaces(n),n=e.trim(n),this.PathParser=new function(t){this.tokens=t.split(" "),this.reset=function(){this.i=-1,this.command="",this.previousCommand="",this.start=new e.Point(0,0),this.control=new e.Point(0,0),this.current=new e.Point(0,0),this.points=[],this.angles=[]},this.isEnd=function(){return this.i>=this.tokens.length-1},this.isCommandOrEnd=function(){return this.isEnd()?!0:this.tokens[this.i+1].match(/^[A-Za-z]$/)!=null},this.isRelativeCommand=function(){return this.command==this.command.toLowerCase()},this.getToken=function(){return this.i=this.i+1,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var t=new e.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(t)},this.getAsControlPoint=function(){var e=this.getPoint();return this.control=e,e},this.getAsCurrentPoint=function(){var e=this.getPoint();return this.current=e,e},this.getReflectedControlPoint=function(){if(this.previousCommand.toLowerCase()!="c"&&this.previousCommand.toLowerCase()!="s")return this.current;var t=new e.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y);return t},this.makeAbsolute=function(e){return this.isRelativeCommand()&&(e.x=this.current.x+e.x,e.y=this.current.y+e.y),e},this.addMarker=function(e,t,n){n!=null&&this.angles.length>0&&this.angles[this.angles.length-1]==null&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(n)),this.addMarkerAngle(e,t==null?null:t.angleTo(e))},this.addMarkerAngle=function(e,t){this.points.push(e),this.angles.push(t)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var e=0;e<this.angles.length;e++)if(this.angles[e]==null)for(var t=e+1;t<this.angles.length;t++)if(this.angles[t]!=null){this.angles[e]=this.angles[t];break}return this.angles}}(n),this.path=function(t){var n=this.PathParser;n.reset();var r=new e.BoundingBox;t!=null&&t.beginPath();while(!n.isEnd()){n.nextCommand();switch(n.command.toUpperCase()){case"M":var i=n.getAsCurrentPoint();n.addMarker(i),r.addPoint(i.x,i.y),t!=null&&t.moveTo(i.x,i.y),n.start=n.current;while(!n.isCommandOrEnd())i=n.getAsCurrentPoint(),n.addMarker(i,n.start),r.addPoint(i.x,i.y),t!=null&&t.lineTo(i.x,i.y);break;case"L":while(!n.isCommandOrEnd()){var s=n.current;i=n.getAsCurrentPoint(),n.addMarker(i,s),r.addPoint(i.x,i.y),t!=null&&t.lineTo(i.x,i.y)}break;case"H":while(!n.isCommandOrEnd()){var o=new e.Point((n.isRelativeCommand()?n.current.x:0)+n.getScalar(),n.current.y);n.addMarker(o,n.current),n.current=o,r.addPoint(n.current.x,n.current.y),t!=null&&t.lineTo(n.current.x,n.current.y)}break;case"V":while(!n.isCommandOrEnd())o=new e.Point(n.current.x,(n.isRelativeCommand()?n.current.y:0)+n.getScalar()),n.addMarker(o,n.current),n.current=o,r.addPoint(n.current.x,n.current.y),t!=null&&t.lineTo(n.current.x,n.current.y);break;case"C":while(!n.isCommandOrEnd()){var u=n.current,a=n.getPoint(),f=n.getAsControlPoint(),l=n.getAsCurrentPoint();n.addMarker(l,f,a),r.addBezierCurve(u.x,u.y,a.x,a.y,f.x,f.y,l.x,l.y),t!=null&&t.bezierCurveTo(a.x,a.y,f.x,f.y,l.x,l.y)}break;case"S":while(!n.isCommandOrEnd())u=n.current,a=n.getReflectedControlPoint(),f=n.getAsControlPoint(),l=n.getAsCurrentPoint(),n.addMarker(l,f,a),r.addBezierCurve(u.x,u.y,a.x,a.y,f.x,f.y,l.x,l.y),t!=null&&t.bezierCurveTo(a.x,a.y,f.x,f.y,l.x,l.y);break;case"Q":while(!n.isCommandOrEnd())u=n.current,f=n.getAsControlPoint(),l=n.getAsCurrentPoint(),n.addMarker(l,f,f),r.addQuadraticCurve(u.x,u.y,f.x,f.y,l.x,l.y),t!=null&&t.quadraticCurveTo(f.x,f.y,l.x,l.y);break;case"T":while(!n.isCommandOrEnd())u=n.current,f=n.getReflectedControlPoint(),n.control=f,l=n.getAsCurrentPoint(),n.addMarker(l,f,f),r.addQuadraticCurve(u.x,u.y,f.x,f.y,l.x,l.y),t!=null&&t.quadraticCurveTo(f.x,f.y,l.x,l.y);break;case"A":while(!n.isCommandOrEnd()){u=n.current;var c=n.getScalar(),h=n.getScalar(),p=n.getScalar()*(Math.PI/180),d=n.getScalar(),v=n.getScalar();l=n.getAsCurrentPoint();var m=new e.Point(Math.cos(p)*(u.x-l.x)/2+Math.sin(p)*(u.y-l.y)/2,-Math.sin(p)*(u.x-l.x)/2+Math.cos(p)*(u.y-l.y)/2),g=Math.pow(m.x,2)/Math.pow(c,2)+Math.pow(m.y,2)/Math.pow(h,2);g>1&&(c*=Math.sqrt(g),h*=Math.sqrt(g));var y=(d==v?-1:1)*Math.sqrt((Math.pow(c,2)*Math.pow(h,2)-Math.pow(c,2)*Math.pow(m.y,2)-Math.pow(h,2)*Math.pow(m.x,2))/(Math.pow(c,2)*Math.pow(m.y,2)+Math.pow(h,2)*Math.pow(m.x,2)));isNaN(y)&&(y=0);var b=new e.Point(y*c*m.y/h,y*-h*m.x/c),w=new e.Point((u.x+l.x)/2+Math.cos(p)*b.x-Math.sin(p)*b.y,(u.y+l.y)/2+Math.sin(p)*b.x+Math.cos(p)*b.y),E=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))},S=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(E(e)*E(t))},x=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(S(e,t))},T=x([1,0],[(m.x-b.x)/c,(m.y-b.y)/h]),N=[(m.x-b.x)/c,(m.y-b.y)/h],C=[(-m.x-b.x)/c,(-m.y-b.y)/h],k=x(N,C);S(N,C)<=-1&&(k=Math.PI),S(N,C)>=1&&(k=0),v==0&&k>0&&(k-=2*Math.PI),v==1&&k<0&&(k+=2*Math.PI);var L=new e.Point(w.x-c*Math.cos((T+k)/2),w.y-h*Math.sin((T+k)/2));n.addMarkerAngle(L,(T+k)/2+(v==0?1:-1)*Math.PI/2),n.addMarkerAngle(l,k+(v==0?1:-1)*Math.PI/2),r.addPoint(l.x,l.y);if(t!=null){S=c>h?c:h;var A=c>h?1:c/h,O=c>h?h/c:1;t.translate(w.x,w.y),t.rotate(p),t.scale(A,O),t.arc(0,0,S,T,T+k,1-v),t.scale(1/A,1/O),t.rotate(-p),t.translate(-w.x,-w.y)}}break;case"Z":t!=null&&t.closePath(),n.current=n.start}}return r},this.getMarkers=function(){var e=this.PathParser.getMarkerPoints(),t=this.PathParser.getMarkerAngles(),n=[];for(var r=0;r<e.length;r++)n.push([e[r],t[r]]);return n}},e.Element.path.prototype=new e.Element.PathElementBase,e.Element.path=e.Element.path,e.Element.pattern=function(t){this.base=e.Element.ElementBase,this.base(t),this.createPattern=function(t,n){var r=new e.Element.svg;r.attributes.viewBox=new e.Property("viewBox",this.attribute("viewBox").value),r.attributes.x=new e.Property("x",this.attribute("x").value),r.attributes.y=new e.Property("y",this.attribute("y").value),r.attributes.width=new e.Property("width",this.attribute("width").value),r.attributes.height=new e.Property("height",this.attribute("height").value),r.children=this.children;var i=document.createElement("canvas");return i.width=this.attribute("width").Length.toPixels("x"),i.height=this.attribute("height").Length.toPixels("y"),r.render(i.getContext("2d")),t.createPattern(i,"repeat")}},e.Element.pattern.prototype=new e.Element.ElementBase,e.Element.pattern=e.Element.pattern,e.Element.marker=function(t){this.base=e.Element.ElementBase,this.base(t),this.baseRender=this.render,this.render=function(t,n,r){t.translate(n.x,n.y),this.attribute("orient").valueOrDefault("auto")=="auto"&&t.rotate(r),this.attribute("markerUnits").valueOrDefault("strokeWidth")=="strokeWidth"&&t.scale(t.lineWidth,t.lineWidth),t.save();var i=new e.Element.svg;i.attributes.viewBox=new e.Property("viewBox",this.attribute("viewBox").value),i.attributes.refX=new e.Property("refX",this.attribute("refX").value),i.attributes.refY=new e.Property("refY",this.attribute("refY").value),i.attributes.width=new e.Property("width",this.attribute("markerWidth").value),i.attributes.height=new e.Property("height",this.attribute("markerHeight").value),i.attributes.fill=new e.Property("fill",this.attribute("fill").valueOrDefault("black")),i.attributes.stroke=new e.Property("stroke",this.attribute("stroke").valueOrDefault("none")),i.children=this.children,i.render(t),t.restore(),this.attribute("markerUnits").valueOrDefault("strokeWidth")=="strokeWidth"&&t.scale(1/t.lineWidth,1/t.lineWidth),this.attribute("orient").valueOrDefault
("auto")=="auto"&&t.rotate(-r),t.translate(-n.x,-n.y)}},e.Element.marker.prototype=new e.Element.ElementBase,e.Element.marker=e.Element.marker,e.Element.defs=function(t){this.base=e.Element.ElementBase,this.base(t),this.render=function(e){}},e.Element.defs.prototype=new e.Element.ElementBase,e.Element.defs=e.Element.defs,e.Element.GradientBase=function(t){this.base=e.Element.ElementBase,this.base(t),this.gradientUnits=this.attribute("gradientUnits").valueOrDefault("objectBoundingBox"),this.stops=[];for(var n=0;n<this.children.length;n++){var r=this.children[n];this.stops.push(r)}this.getGradient=function(){},this.createGradient=function(t,n){var r=this;this.attribute("xlink:href").hasValue()&&(r=this.attribute("xlink:href").Definition.getDefinition());var i=this.getGradient(t,n);for(var s=0;s<r.stops.length;s++)i.addColorStop(r.stops[s].offset,r.stops[s].color);if(this.attribute("gradientTransform").hasValue()){var o=e.ViewPort.viewPorts[0],u=new e.Element.rect;u.attributes.x=new e.Property("x",-e.MAX_VIRTUAL_PIXELS/3),u.attributes.y=new e.Property("y",-e.MAX_VIRTUAL_PIXELS/3),u.attributes.width=new e.Property("width",e.MAX_VIRTUAL_PIXELS),u.attributes.height=new e.Property("height",e.MAX_VIRTUAL_PIXELS);var a=new e.Element.g;a.attributes.transform=new e.Property("transform",this.attribute("gradientTransform").value),a.children=[u];var f=new e.Element.svg;f.attributes.x=new e.Property("x",0),f.attributes.y=new e.Property("y",0),f.attributes.width=new e.Property("width",o.width),f.attributes.height=new e.Property("height",o.height),f.children=[a];var l=document.createElement("canvas");l.width=o.width,l.height=o.height;var c=l.getContext("2d");return c.fillStyle=i,f.render(c),c.createPattern(l,"no-repeat")}return i}},e.Element.GradientBase.prototype=new e.Element.ElementBase,e.Element.linearGradient=function(t){this.base=e.Element.GradientBase,this.base(t),this.getGradient=function(e,t){var n=t.getBoundingBox(),r=this.gradientUnits=="objectBoundingBox"?n.x()+n.width()*this.attribute("x1").numValue():this.attribute("x1").Length.toPixels("x"),i=this.gradientUnits=="objectBoundingBox"?n.y()+n.height()*this.attribute("y1").numValue():this.attribute("y1").Length.toPixels("y"),s=this.gradientUnits=="objectBoundingBox"?n.x()+n.width()*this.attribute("x2").numValue():this.attribute("x2").Length.toPixels("x"),o=this.gradientUnits=="objectBoundingBox"?n.y()+n.height()*this.attribute("y2").numValue():this.attribute("y2").Length.toPixels("y");return e.createLinearGradient(r,i,s,o)}},e.Element.linearGradient.prototype=new e.Element.GradientBase,e.Element.linearGradient=e.Element.linearGradient,e.Element.radialGradient=function(t){this.base=e.Element.GradientBase,this.base(t),this.getGradient=function(e,t){var n=t.getBoundingBox(),r=this.gradientUnits=="objectBoundingBox"?n.x()+n.width()*this.attribute("cx").numValue():this.attribute("cx").Length.toPixels("x"),i=this.gradientUnits=="objectBoundingBox"?n.y()+n.height()*this.attribute("cy").numValue():this.attribute("cy").Length.toPixels("y"),s=r,o=i;this.attribute("fx").hasValue()&&(s=this.gradientUnits=="objectBoundingBox"?n.x()+n.width()*this.attribute("fx").numValue():this.attribute("fx").Length.toPixels("x")),this.attribute("fy").hasValue()&&(o=this.gradientUnits=="objectBoundingBox"?n.y()+n.height()*this.attribute("fy").numValue():this.attribute("fy").Length.toPixels("y"));var u=this.gradientUnits=="objectBoundingBox"?(n.width()+n.height())/2*this.attribute("r").numValue():this.attribute("r").Length.toPixels();return e.createRadialGradient(s,o,0,r,i,u)}},e.Element.radialGradient.prototype=new e.Element.GradientBase,e.Element.radialGradient=e.Element.radialGradient,e.Element.stop=function(t){this.base=e.Element.ElementBase,this.base(t),this.offset=this.attribute("offset").numValue();var n=this.style("stop-color");this.style("stop-opacity").hasValue()&&(n=n.Color.addOpacity(this.style("stop-opacity").value)),this.color=n.value},e.Element.stop.prototype=new e.Element.ElementBase,e.Element.stop=e.Element.stop,e.Element.AnimateBase=function(t){this.base=e.Element.ElementBase,this.base(t),e.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").Time.toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").Time.toMilliseconds(),this.getProperty=function(){var e=this.attribute("attributeType").value,t=this.attribute("attributeName").value;return e=="CSS"?this.parent.style(t,!0):this.parent.attribute(t,!0)},this.initialValue=null,this.removed=!1,this.calcValue=function(){return""},this.update=function(e){this.initialValue==null&&(this.initialValue=this.getProperty().value);if(this.duration>this.maxDuration){if(this.attribute("repeatCount").value!="indefinite")return this.attribute("fill").valueOrDefault("remove")=="remove"&&!this.removed?(this.removed=!0,this.getProperty().value=this.initialValue,!0):!1;this.duration=0}this.duration=this.duration+e;var t=!1;if(this.begin<this.duration){var n=this.calcValue();if(this.attribute("type").hasValue()){var r=this.attribute("type").value;n=r+"("+n+")"}this.getProperty().value=n,t=!0}return t},this.progress=function(){return(this.duration-this.begin)/(this.maxDuration-this.begin)}},e.Element.AnimateBase.prototype=new e.Element.ElementBase,e.Element.animate=function(t){this.base=e.Element.AnimateBase,this.base(t),this.calcValue=function(){var e=this.attribute("from").numValue(),t=this.attribute("to").numValue();return e+(t-e)*this.progress()}},e.Element.animate.prototype=new e.Element.AnimateBase,e.Element.animate=e.Element.animate,e.Element.animateColor=function(t){this.base=e.Element.AnimateBase,this.base(t),this.calcValue=function(){var e=new RGBColor_(this.attribute("from").value),t=new RGBColor_(this.attribute("to").value);if(e.ok&&t.ok){var n=e.r+(t.r-e.r)*this.progress(),r=e.g+(t.g-e.g)*this.progress(),i=e.b+(t.b-e.b)*this.progress();return"rgb("+parseInt(n,10)+","+parseInt(r,10)+","+parseInt(i,10)+")"}return this.attribute("from").value}},e.Element.animateColor.prototype=new e.Element.AnimateBase,e.Element.animateColor=e.Element.animateColor,e.Element.animateTransform=function(t){this.base=e.Element.animate,this.base(t)},e.Element.animateTransform.prototype=new e.Element.animate,e.Element.animateTransform=e.Element.animateTransform,e.Element.font=function(t){this.base=e.Element.ElementBase,this.base(t),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.isRTL=!1,this.isArabic=!1,this.fontFace=null,this.missingGlyph=null,this.glyphs=[];for(var n=0;n<this.children.length;n++){var r=this.children[n];r.type=="font-face"?(this.fontFace=r,r.style("font-family").hasValue()&&(e.Definitions[r.style("font-family").value]=this)):r.type=="missing-glyph"?this.missingGlyph=r:r.type=="glyph"&&(r.arabicForm!=""?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[r.unicode]=="undefined"&&(this.glyphs[r.unicode]=[]),this.glyphs[r.unicode][r.arabicForm]=r):this.glyphs[r.unicode]=r)}},e.Element.font.prototype=new e.Element.ElementBase,e.Element.font=e.Element.font,e.Element.fontface=function(t){this.base=e.Element.ElementBase,this.base(t),this.ascent=this.attribute("ascent").value,this.descent=this.attribute("descent").value,this.unitsPerEm=this.attribute("units-per-em").numValue()},e.Element.fontface.prototype=new e.Element.ElementBase,e.Element.fontface=e.Element.fontface,e.Element.missingglyph=function(t){this.base=e.Element.path,this.base(t),this.horizAdvX=0},e.Element.missingglyph.prototype=new e.Element.path,e.Element.missingglyph=e.Element.missingglyph,e.Element.glyph=function(t){this.base=e.Element.path,this.base(t),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.unicode=this.attribute("unicode").value,this.arabicForm=this.attribute("arabic-form").value},e.Element.glyph.prototype=new e.Element.path,e.Element.glyph=e.Element.glyph,e.Element.text=function(t){this.base=e.Element.RenderedElementBase,this.base(t);if(t!=null){this.children=[];for(var n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];r.nodeType==1?this.addChild(r,!0):r.nodeType==3&&this.addChild(new e.Element.tspan(r),!1)}}this.baseSetContext=this.setContext,this.setContext=function(e){this.baseSetContext(e),this.style("dominant-baseline").hasValue()&&(e.textBaseline=this.style("dominant-baseline").value),this.style("alignment-baseline").hasValue()&&(e.textBaseline=this.style("alignment-baseline").value)},this.renderChildren=function(e){var t=this.style("text-anchor").valueOrDefault("start"),n=this.attribute("x").Length.toPixels("x"),r=this.attribute("y").Length.toPixels("y");for(var i=0;i<this.children.length;i++){var s=this.children[i];s.attribute("x").hasValue()?s.x=s.attribute("x").Length.toPixels("x"):(s.attribute("dx").hasValue()&&(n+=s.attribute("dx").Length.toPixels("x")),s.x=n);var o=s.measureText(e);if(t!="start"&&(i==0||s.attribute("x").hasValue())){var u=o;for(var a=i+1;a<this.children.length;a++){var f=this.children[a];if(f.attribute("x").hasValue())break;u+=f.measureText(e)}s.x-=t=="end"?u:u/2}n=s.x+o,s.attribute("y").hasValue()?s.y=s.attribute("y").Length.toPixels("y"):(s.attribute("dy").hasValue()&&(r+=s.attribute("dy").Length.toPixels("y")),s.y=r),r=s.y,s.render(e)}}},e.Element.text.prototype=new e.Element.RenderedElementBase,e.Element.text=e.Element.text,e.Element.TextElementBase=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.getGlyph=function(e,t,n){var r=t[n],i=null;if(e.isArabic){var s="isolated";(n==0||t[n-1]==" ")&&n<t.length-2&&t[n+1]!=" "&&(s="terminal"),n>0&&t[n-1]!=" "&&n<t.length-2&&t[n+1]!=" "&&(s="medial"),n>0&&t[n-1]!=" "&&(n==t.length-1||t[n+1]==" ")&&(s="initial"),typeof e.glyphs[r]!="undefined"&&(i=e.glyphs[r][s],i==null&&e.glyphs[r].type=="glyph"&&(i=e.glyphs[r]))}else i=e.glyphs[r];return i==null&&(i=e.missingGlyph),i},this.renderChildren=function(t){var n=this.parent.style("font-family").Definition.getDefinition();if(n!=null){var r=this.parent.style("font-size").numValueOrDefault(e.Font.Parse(e.ctx.font).fontSize),i=this.parent.style("font-style").valueOrDefault(e.Font.Parse(e.ctx.font).fontStyle),s=this.getText();n.isRTL&&(s=s.split("").reverse().join(""));var o=e.ToNumberArray(this.parent.attribute("dx").value);for(var u=0;u<s.length;u++){var a=this.getGlyph(n,s,u),f=r/n.fontFace.unitsPerEm;t.translate(this.x,this.y),t.scale(f,-f);var l=t.lineWidth;t.lineWidth=t.lineWidth*n.fontFace.unitsPerEm/r,i=="italic"&&t.transform(1,0,.4,1,0,0),a.render(t),i=="italic"&&t.transform(1,0,-0.4,1,0,0),t.lineWidth=l,t.scale(1/f,-1/f),t.translate(-this.x,-this.y),this.x+=r*(a.horizAdvX||n.horizAdvX)/n.fontFace.unitsPerEm,typeof o[u]!="undefined"&&!isNaN(o[u])&&(this.x+=o[u])}return}t.strokeStyle!=""&&t.strokeText(e.compressSpaces(this.getText()),this.x,this.y),t.fillStyle!=""&&t.fillText(e.compressSpaces(this.getText()),this.x,this.y)},this.getText=function(){},this.measureText=function(t){var n=this.parent.style("font-family").Definition.getDefinition();if(n!=null){var r=this.parent.style("font-size").numValueOrDefault(e.Font.Parse(e.ctx.font).fontSize),i=0,s=this.getText();n.isRTL&&(s=s.split("").reverse().join(""));var o=e.ToNumberArray(this.parent.attribute("dx").value);for(var u=0;u<s.length;u++){var a=this.getGlyph(n,s,u);i+=(a.horizAdvX||n.horizAdvX)*r/n.fontFace.unitsPerEm,typeof o[u]!="undefined"&&!isNaN(o[u])&&(i+=o[u])}return i}var f=e.compressSpaces(this.getText());if(!t.measureText)return f.length*10;t.save(),this.setContext(t);var l=t.measureText(f).width;return t.restore(),l}},e.Element.TextElementBase.prototype=new e.Element.RenderedElementBase,e.Element.tspan=function(t){this.base=e.Element.TextElementBase,this.base(t),this.text=t.nodeType==3?t.value:t.childNodes.length>0?t.childNodes[0].value:t.text,this.getText=function(){return this.text}},e.Element.tspan.prototype=new e.Element.TextElementBase,e.Element.tspan=e.Element.tspan,e.Element.tref=function(t){this.base=e.Element.TextElementBase,this.base(t),this.getText=function(){var e=this.attribute("xlink:href").Definition.getDefinition();if(e!=null)return e.children[0].getText()}},e.Element.tref.prototype=new e.Element.TextElementBase,e.Element.tref=e.Element.tref,e.Element.a=function(t){this.base=e.Element.TextElementBase,this.base(t),this.hasText=!0;for(var n=0;n<t.childNodes.length;n++)t.childNodes[n].nodeType!=3&&(this.hasText=!1);this.text=this.hasText?t.childNodes[0].value:"",this.getText=function(){return this.text},this.baseRenderChildren=this.renderChildren,this.renderChildren=function(t){if(this.hasText){this.baseRenderChildren(t);var n=new e.Property("fontSize",e.Font.Parse(e.ctx.font).fontSize);e.Mouse.checkBoundingBox(this,new e.BoundingBox(this.x,this.y-n.Length.toPixels("y"),this.x+this.measureText(t),this.y))}else{var r=new e.Element.g;r.children=this.children,r.parent=this,r.render(t)}},this.onclick=function(){window.open(this.attribute("xlink:href").value)},this.onmousemove=function(){e.ctx.canvas.style.cursor="pointer"}},e.Element.a.prototype=new e.Element.TextElementBase,e.Element.a=e.Element.a,e.Element.image=function(t){this.base=e.Element.RenderedElementBase,this.base(t),e.Images.push(this),this.img=document.createElement("img"),this.loaded=!1;var n=this;this.img.onload=function(){n.loaded=!0},this.img.src=this.attribute("xlink:href").value,this.renderChildren=function(t){var n=this.attribute("x").Length.toPixels("x"),r=this.attribute("y").Length.toPixels("y"),i=this.attribute("width").Length.toPixels("x"),s=this.attribute("height").Length.toPixels("y");if(i==0||s==0)return;t.save(),t.translate(n,r),e.AspectRatio(t,this.attribute("preserveAspectRatio").value,i,this.img.width,s,this.img.height,0,0),t.drawImage(this.img,0,0),t.restore()}},e.Element.image.prototype=new e.Element.RenderedElementBase,e.Element.image=e.Element.image,e.Element.g=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.getBoundingBox=function(){var t=new e.BoundingBox;for(var n=0;n<this.children.length;n++)t.addBoundingBox(this.children[n].getBoundingBox());return t}},e.Element.g.prototype=new e.Element.RenderedElementBase,e.Element.g=e.Element.g,e.Element.symbol=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.baseSetContext=this.setContext,this.setContext=function(t){this.baseSetContext(t);if(this.attribute("viewBox").hasValue()){var n=e.ToNumberArray(this.attribute("viewBox").value),r=n[0],i=n[1],s=n[2],o=n[3];e.AspectRatio(t,this.attribute("preserveAspectRatio").value,this.attribute("width").Length.toPixels("x"),s,this.attribute("height").Length.toPixels("y"),o,r,i),e.ViewPort.SetCurrent(n[2],n[3])}}},e.Element.symbol.prototype=new e.Element.RenderedElementBase,e.Element.symbol=e.Element.symbol,e.Element.style=function(t){this.base=e.Element.ElementBase,this.base(t);var n="";for(var r=0;r<t.childNodes.length;r++)n+=t.childNodes[r].data;n=n.replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,""),n=e.compressSpaces(n);var i=n.split("}");for(var r=0;r<i.length;r++)if(e.trim(i[r])!=""){var s=i[r].split("{"),o=s[0].split(","),u=s[1].split(";");for(var a=0;a<o.length;a++){var f=e.trim(o[a]);if(f!=""){var l={};for(var c=0;c<u.length;c++){var h=u[c].indexOf(":"),p=u[c].substr(0,h),d=u[c].substr(h+1,u[c].length-h);p!=null&&d!=null&&(l[e.trim(p)]=new e.Property(e.trim(p),e.trim(d)))}e.Styles[f]=l;if(f=="@font-face"){var v=l["font-family"].value.replace(/"/g,""),m=l.src.value.split(",");for(var g=0;g<m.length;g++)if(m[g].indexOf('format("svg")')>0){var y=m[g].indexOf("url"),b=m[g].indexOf(")",y),w=m[g].substr(y+5,b-y-6),E=e.parseXml(e.ajax(w)),S=E.getElementsByTagName("font");for(var x=0;x<S.length;x++){var T=e.CreateElement(S[x]);e.Definitions[v]=T}}}}}}},e.Element.style.prototype=new e.Element.ElementBase,e.Element.style=e.Element.style,e.Element.use=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.baseSetContext=this.setContext,this.setContext=function(e){this.baseSetContext(e),this.attribute("x").hasValue()&&e.translate(this.attribute("x").Length.toPixels("x"),0),this.attribute("y").hasValue()&&e.translate(0,this.attribute("y").Length.toPixels("y"))},this.getDefinition=function(){var e=this.attribute("xlink:href").Definition.getDefinition();return this.attribute("width").hasValue()&&(e.attribute("width",!0).value=this.attribute("width").value),this.attribute("height").hasValue()&&(e.attribute("height",!0).value=this.attribute("height").value),e},this.path=function(e){var t=this.getDefinition();t!=null&&t.path(e)},this.renderChildren=function(e){var t=this.getDefinition();t!=null&&t.render(e)}},e.Element.use.prototype=new e.Element.RenderedElementBase,e.Element.use=e.Element.use,e.Element.mask=function(t){this.base=e.Element.ElementBase,this.base(t),this.apply=function(e,t){var n=this.attribute("x").Length.toPixels("x"),r=this.attribute("y").Length.toPixels("y"),i=this.attribute("width").Length.toPixels("x"),s=this.attribute("height").Length.toPixels("y"),o=t.attribute("mask").value;t.attribute("mask").value="";var u=document.createElement("canvas");u.width=n+i,u.height=r+s;var a=u.getContext("2d");this.renderChildren(a);var f=document.createElement("canvas");f.width=n+i,f.height=r+s;var l=f.getContext("2d");t.render(l),l.globalCompositeOperation="destination-in",l.fillStyle=a.createPattern(u,"no-repeat"),l.fillRect(0,0,n+i,r+s),e.fillStyle=l.createPattern(f,"no-repeat"),e.fillRect(0,0,n+i,r+s),t.attribute("mask").value=o},this.render=function(e){}},e.Element.mask.prototype=new e.Element.ElementBase,e.Element.mask=e.Element.mask,e.Element.clipPath=function(t){this.base=e.Element.ElementBase,this.base(t),this.apply=function(e){for(var t=0;t<this.children.length;t++)this.children[t].path&&(this.children[t].path(e),e.clip())},this.render=function(e){}},e.Element.clipPath.prototype=new e.Element.ElementBase,e.Element.clipPath=e.Element.clipPath,e.Element.filter=function(t){this.base=e.Element.ElementBase,this.base(t),this.apply=function(e,t){var n=t.getBoundingBox(),r=this.attribute("x").Length.toPixels("x"),i=this.attribute("y").Length.toPixels("y");if(r==0||i==0)r=n.x1,i=n.y1;var s=this.attribute("width").Length.toPixels("x"),o=this.attribute("height").Length.toPixels("y");if(s==0||o==0)s=n.width(),o=n.height();var u=t.style("filter").value;t.style("filter").value="";var a=.2,f=a*s,l=a*o,c=document.createElement("canvas");c.width=s+2*f,c.height=o+2*l;var h=c.getContext("2d");h.translate(-r+f,-i+l),t.render(h);for(var p=0;p<this.children.length;p++)this.children[p].apply(h,0,0,s+2*f,o+2*l);e.drawImage(c,0,0,s+2*f,o+2*l,r-f,i-l,s+2*f,o+2*l),t.style("filter",!0).value=u},this.render=function(e){}},e.Element.filter.prototype=new e.Element.ElementBase,e.Element.filter=e.Element.filter,e.Element.feGaussianBlur=function(t){function n(e){e=Math.max(e,.01);var t=Math.ceil(e*4)+1,n=[];for(var r=0;r<t;r++)n[r]=Math.exp(-0.5*(r/e)*(r/e));return n}function r(e){var t=0;for(var n=1;n<e.length;n++)t+=Math.abs(e[n]);t=2*t+Math.abs(e[0]);for(var n=0;n<e.length;n++)e[n]/=t;return e}function i(e,t,n,r,i){for(var u=0;u<i;u++)for(var a=0;a<r;a++){var f=s(e,a,u,r,i,3)/255;for(var l=0;l<4;l++){var c=n[0]*(f==0?255:s(e,a,u,r,i,l))*(f==0||l==3?1:f);for(var h=1;h<n.length;h++){var p=s(e,Math.max(a-h,0),u,r,i,3)/255,d=s(e,Math.min(a+h,r-1),u,r,i,3)/255;c+=n[h]*((p==0?255:s(e,Math.max(a-h,0),u,r,i,l))*(p==0||l==3?1:p)+(d==0?255:s(e,Math.min(a+h,r-1),u,r,i,l))*(d==0||l==3?1:d))}o(t,u,a,i,r,l,c)}}}function s(e,t,n,r,i,s){return e[n*r*4+t*4+s]}function o(e,t,n,r,i,s,o){e[n*r*4+t*4+s]=o}function u(e,t,s,o){var u=e.getImageData(0,0,t,s),a=n(o);a=r(a);var f=[];i(u.data,f,a,t,s),i(f,u.data,a,s,t),e.clearRect(0,0,t,s),e.putImageData(u,0,0)}this.base=e.Element.ElementBase,this.base(t),this.apply=function(e,t,n,r,i){u(e,r,i,this.attribute("stdDeviation").numValue())}},e.Element.filter.prototype=new e.Element.feGaussianBlur,e.Element.title=function(e){},e.Element.title.prototype=new e.Element.ElementBase,e.Element.title=e.Element.title,e.Element.desc=function(e){},e.Element.desc.prototype=new e.Element.ElementBase,e.Element.desc=e.Element.desc,e.Element.MISSING=function(e){},e.Element.MISSING.prototype=new e.Element.ElementBase,e.CreateElement=function(t){var n=t.nodeName.replace(/^[^:]+:/,"");n=n.replace(/\-/g,"");var r=null;return typeof e.Element[n]!="undefined"?r=new e.Element[n](t):r=new e.Element.MISSING(t),r.type=t.nodeName,r},e.load=function(t,n){e.loadXml(t,e.ajax(n))},e.loadXml=function(t,n){e.loadXmlDoc(t,e.parseXml(n))},e.loadXmlDoc=function(t,n){e.init(t);var r=function(e){var n=t.canvas;while(n)e.x-=n.offsetLeft,e.y-=n.offsetTop,n=n.offsetParent;return window.scrollX&&(e.x+=window.scrollX),window.scrollY&&(e.y+=window.scrollY),e};e.opts["ignoreMouse"]!=1&&(t.canvas.onclick=function(t){var n=r(new e.Point(t!=null?t.clientX:window.event.clientX,t!=null?t.clientY:window.event.clientY));e.Mouse.onclick(n.x,n.y)},t.canvas.onmousemove=function(t){var n=r(new e.Point(t!=null?t.clientX:window.event.clientX,t!=null?t.clientY:window.event.clientY));e.Mouse.onmousemove(n.x,n.y)});var i=e.CreateElement(n.documentElement);i.root=!0;var s=!0,o=function(){e.ViewPort.Clear(),t.canvas.parentNode&&e.ViewPort.SetCurrent(t.canvas.parentNode.clientWidth,t.canvas.parentNode.clientHeight),e.opts["ignoreDimensions"]!=1&&(i.style("width").hasValue()&&(t.canvas.width=i.style("width").Length.toPixels("x"),t.canvas.style.width=t.canvas.width+"px"),i.style("height").hasValue()&&(t.canvas.height=i.style("height").Length.toPixels("y"),t.canvas.style.height=t.canvas.height+"px"));var n=t.canvas.clientWidth||t.canvas.width,r=t.canvas.clientHeight||t.canvas.height;e.ViewPort.SetCurrent(n,r),e.opts!=null&&e.opts["offsetX"]!=null&&(i.attribute("x",!0).value=e.opts.offsetX),e.opts!=null&&e.opts["offsetY"]!=null&&(i.attribute("y",!0).value=e.opts.offsetY);if(e.opts!=null&&e.opts["scaleWidth"]!=null&&e.opts["scaleHeight"]!=null){var o=1,u=1;i.attribute("width").hasValue()&&(o=i.attribute("width").Length.toPixels("x")/e.opts.scaleWidth),i.attribute("height").hasValue()&&(u=i.attribute("height").Length.toPixels("y")/e.opts.scaleHeight),i.attribute("width",!0).value=e.opts.scaleWidth,i.attribute("height",!0).value=e.opts.scaleHeight,i.attribute("viewBox",!0).value="0 0 "+n*o+" "+r*u,i.attribute("preserveAspectRatio",!0).value="none"}e.opts["ignoreClear"]!=1&&t.clearRect(0,0,n,r),i.render(t),s&&(s=!1,e.opts!=null&&typeof e.opts["renderCallback"]=="function"&&e.opts.renderCallback())},u=!0;e.ImagesLoaded()&&(u=!1,o()),e.intervalID=setInterval(function(){var t=!1;u&&e.ImagesLoaded()&&(u=!1,t=!0),e.opts["ignoreMouse"]!=1&&(t|=e.Mouse.hasEvents());if(e.opts["ignoreAnimation"]!=1)for(var n=0;n<e.Animations.length;n++)t|=e.Animations[n].update(1e3/e.FRAMERATE);e.opts!=null&&typeof e.opts["forceRedraw"]=="function"&&e.opts["forceRedraw"]()==1&&(t=!0),t&&(o(),e.Mouse.runEvents())},1e3/e.FRAMERATE)},e.stop=function(){e.intervalID&&clearInterval(e.intervalID)},e.Mouse=new function(){this.events=[],this.hasEvents=function(){return this.events.length!=0},this.onclick=function(e,t){this.events.push({type:"onclick",x:e,y:t,run:function(e){e.onclick&&e.onclick()}})},this.onmousemove=function(e,t){this.events.push({type:"onmousemove",x:e,y:t,run:function(e){e.onmousemove&&e.onmousemove()}})},this.eventElements=[],this.checkPath=function(e,t){for(var n=0;n<this.events.length;n++){var r=this.events[n];t.isPointInPath&&t.isPointInPath(r.x,r.y)&&(this.eventElements[n]=e)}},this.checkBoundingBox=function(e,t){for(var n=0;n<this.events.length;n++){var r=this.events[n];t.isPointInBox(r.x,r.y)&&(this.eventElements[n]=e)}},this.runEvents=function(){e.ctx.canvas.style.cursor="";for(var t=0;t<this.events.length;t++){var n=this.events[t],r=this.eventElements[t];while(r)n.run(r),r=r.parent}this.events=[],this.eventElements=[]}},e}var e=function(e,n,r){r=r||{},typeof e=="string"&&(e=document.getElementById(e));var i;e.svg==null?(i=t(),e.svg=i):(i=e.svg,i.stop()),i.opts=r;var s=e.getContext("2d");typeof n.documentElement!="undefined"?i.loadXmlDoc(s,n):n.substr(0,1)=="<"?i.loadXml(s,n):i.load(s,n)};return e}();
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ResizeObserver=e()}(this,function(){"use strict";function t(t){return window.getComputedStyle(t)}function e(t){return parseFloat(t)||0}function n(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce(function(n,r){var i=t["border-"+r+"-width"];return n+e(i)},0)}function r(t){for(var n=["top","right","bottom","left"],r={},i=n,o=Array.isArray(i),s=0,i=o?i:i[Symbol.iterator]();;){var a;if(o){if(s>=i.length)break;a=i[s++]}else{if(s=i.next(),s.done)break;a=s.value}var u=a,c=t["padding-"+u];r[u]=e(c)}return r}function i(t,e,n,r){return{width:t,height:e,top:n,right:t+r,bottom:e+n,left:r}}function o(t){var e=t.getBBox();return i(e.width,e.height,0,0)}function s(){var n=t(document.documentElement),r=e(n.width),o=e(n.height);return i(r,o,0,0)}function a(o){var s=o.clientWidth,a=o.clientHeight;if(!s&&!a)return O;var u=t(o),c=r(u),h=c.left+c.right,f=c.top+c.bottom,l=e(u.width),p=e(u.height);"border-box"===u.boxSizing&&(Math.round(l+h)!==s&&(l-=n(u,"left","right")+h),Math.round(p+f)!==a&&(p-=n(u,"top","bottom")+f));var d=Math.round(l+h)-s,_=Math.round(p+f)-a;return 1!==Math.abs(d)&&(l-=d),1!==Math.abs(_)&&(p-=_),i(l,p,c.top,c.left)}function u(t){return t instanceof window.SVGElement}function c(t){return t===document.documentElement}function h(t){return u(t)?o(t):c(t)?s():a(t)}function f(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={configurable:n.configurable||!1,writable:n.writable||!1,enumerable:n.enumerable||!1},i=Object.keys(e),o=Array.isArray(i),s=0,i=o?i:i[Symbol.iterator]();;){var a;if(o){if(s>=i.length)break;a=i[s++]}else{if(s=i.next(),s.done)break;a=s.value}var u=a;r.value=e[u],Object.defineProperty(t,u,r)}return t}var l=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},p=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},_=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},b="function"==typeof window.WeakMap&&"function"==typeof window.Map,v=function(){function t(t,e){var n=-1;return t.some(function(t,r){var i=t[0]===e;return i&&(n=r),i}),n}return b?window.WeakMap:function(){function e(){l(this,e),this.__entries__=[]}return e.prototype.get=function(e){var n=t(this.__entries__,e);return this.__entries__[n][1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e}()}(),y=function(){return b?window.Map:function(t){function e(){return l(this,e),_(this,t.apply(this,arguments))}return d(e,t),e.prototype.clear=function(){this.__entries__.splice(0,this.__entries__.length)},e.prototype.entries=function(){return this.__entries__.slice()},e.prototype.keys=function(){return this.__entries__.map(function(t){return t[0]})},e.prototype.values=function(){return this.__entries__.map(function(t){return t[1]})},e.prototype.forEach=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.__entries__,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;t.call(e,s[1],s[0])}},p(e,[{key:"size",get:function(){return this.__entries__.length}}]),e}(v)}(),w=function(){return"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame:function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),g=function(t){function e(){t.apply.apply(t,s),s=null,a&&(r.apply.apply(r,a),a=null)}function n(){o?w(e):e()}function r(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var o=[this,e];s?a=o:(s=o,setTimeout(n,i))}var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=null,a=null;return r},m="function"==typeof window.MutationObserver,E=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];l(this,t),this._isCycleContinuous=!m||e,this._listenersEnabled=!1,this._mutationsObserver=null,this._observers=[],this.refresh=g(this.refresh.bind(this),30,!0),this._continuousUpdateHandler=g(this.refresh,70)}return t.prototype.connect=function(t){this.isConnected(t)||this._observers.push(t),this._listenersEnabled||this._addListeners()},t.prototype.disconnect=function(t){var e=this._observers,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this._listenersEnabled&&this._removeListeners()},t.prototype.isConnected=function(t){return!!~this._observers.indexOf(t)},t.prototype.refresh=function(){var t=this._updateObservers();t?this.refresh():this._isCycleContinuous&&this._listenersEnabled&&this._continuousUpdateHandler()},t.prototype._updateObservers=function(){for(var t=!1,e=this._observers,n=Array.isArray(e),r=0,e=n?e:e[Symbol.iterator]();;){var i;if(n){if(r>=e.length)break;i=e[r++]}else{if(r=e.next(),r.done)break;i=r.value}var o=i;o.gatherActive(),o.hasActive()&&(t=!0,o.broadcastActive())}return t},t.prototype._addListeners=function(){this._listenersEnabled||(window.addEventListener("resize",this.refresh),m&&(this._mutationsObserver=new MutationObserver(this.refresh),this._mutationsObserver.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._listenersEnabled=!0,this._isCycleContinuous&&this.refresh())},t.prototype._removeListeners=function(){this._listenersEnabled&&(window.removeEventListener("resize",this.refresh),this._mutationsObserver&&this._mutationsObserver.disconnect(),this._mutationsObserver=null,this._listenersEnabled=!1)},p(t,[{key:"continuousUpdates",get:function(){return this._isCycleContinuous},set:function(t){m&&(this._isCycleContinuous=t,this._listenersEnabled&&t&&this.refresh())}}]),t}(),O=i(0,0,0,0),A=function(){function t(e){l(this,t),this.target=e,this._contentRect=O,this.broadcastWidth=0,this.broadcastHeight=0}return t.prototype.broadcastRect=function(){var t=this._contentRect;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t.prototype.isActive=function(){var t=h(this.target);return this._contentRect=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t}(),ResizeObserverEntry=function ResizeObserverEntry(t,e){l(this,ResizeObserverEntry);var n=window.ClientRect||Object,r=Object.create(n.prototype);f(r,e,{configurable:!0}),f(this,{target:t,contentRect:r},{configurable:!0})},k=function(){function ResizeObserver(t,e,n){if(l(this,ResizeObserver),"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this._callback=t,this._targets=new y,this._activeTargets=[],this._controller=e,this._publicObserver=n}return ResizeObserver.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(t instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this._targets;e.has(t)||(e.set(t,new A(t)),this._controller.isConnected(this)||this._controller.connect(this),this._controller.refresh())},ResizeObserver.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(t instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this._targets;e.has(t)&&(e.delete(t),e.size||this.disconnect())},ResizeObserver.prototype.disconnect=function(){this.clearActive(),this._targets.clear(),this._controller.disconnect(this)},ResizeObserver.prototype.gatherActive=function(){this.clearActive();var t=this._activeTargets;this._targets.forEach(function(e){e.isActive()&&t.push(e)})},ResizeObserver.prototype.broadcastActive=function(){if(this.hasActive()){var t=this._publicObserver,e=this._activeTargets.map(function(t){return new ResizeObserverEntry(t.target,t.broadcastRect())});this.clearActive(),this._callback.call(t,e,t)}},ResizeObserver.prototype.clearActive=function(){this._activeTargets.splice(0)},ResizeObserver.prototype.hasActive=function(){return!!this._activeTargets.length},ResizeObserver}(),T=new E,C=new v,ResizeObserver=function(){function ResizeObserver(t){if(l(this,ResizeObserver),!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=new k(t,T,this);C.set(this,e)}return p(ResizeObserver,null,[{key:"continuousUpdates",get:function(){return T.continuousUpdates},set:function(t){if("boolean"!=typeof t)throw new TypeError('type of "continuousUpdates" value must be boolean.');T.continuousUpdates=t}}]),ResizeObserver}();["observe","unobserve","disconnect"].forEach(function(t){ResizeObserver.prototype[t]=function(){var e;return(e=C.get(this))[t].apply(e,arguments)}}),"function"!=typeof window.ResizeObserver&&Object.defineProperty(window,"ResizeObserver",{value:ResizeObserver,writable:!0,configurable:!0});var x=window.ResizeObserver;return x});

