1 2; /* Start:"a:4:{s:4:"full";s:62:"/local/templates/altesa/js/jquery-3.6.0.min.js?172539403389501";s:6:"source";s:46:"/local/templates/altesa/js/jquery-3.6.0.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
vendor: 89,501 bytes, lines 3-4
3/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 4!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),j=function(e,t){return e===t&&(l=!0),0},D={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=C&&T(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&D.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(j),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(B," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(y){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace($,"$1"));return s[S]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[k,p];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===k&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,v,y,e){return v&&!v[S]&&(v=Ce(v)),y&&!y[S]&&(y=Ce(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v){i=Te(p,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(y||d){if(y){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=y?P(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace($,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace($," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,v,y,m,x,r,i=[],o=[],a=A[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[S]?i.push(a):o.push(a);(a=A(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==C||(T(o),n=!E);while(s=v[a++])if(s(o,t||C,n)){r.push(o);break}i&&(k=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c},m?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},d.sortStable=S.split("").sort(j).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1<i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<r?S.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length}});var D,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function I(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},S.each(e.match(P)||[],function(e,t){n[t]=!0}),n):S.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return S.each(arguments,function(e,t){var n;while(-1<(n=S.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,m(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:R)),o[2][3].add(l(0,e,m(n)?n:M))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)I(i[t],a(t),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e})};var F=S.Deferred();function B(){E.removeEventListener("DOMContentLoaded",B),C.removeEventListener("load",B),S.ready()}S.fn.ready=function(e){return F.then(e)["catch"](function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",B),C.addEventListener("load",B));var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){Q.set(this,n)}):$(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){S.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===S.css(e,"display")};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=S.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",y.option=!!ce.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,y.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))S.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;S.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<S.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ve(f.appendChild(o),"script"),l&&ye(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}var be=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Te(){return!1}function Ce(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function Se(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else r.length&&(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&S.event.add(e,i,we)}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.get(t);if(V(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,i),n.guid||(n.guid=S.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;while(l--)d=g=(s=be.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},c=S.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),S.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.hasData(e)&&Y.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(P)||[""]).length;while(l--)if(d=g=(s=be.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=S.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||S.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=S.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click",we),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Se(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(e,t){S.event.special[e]={setup:function(){return Se(this,e,Ce),!1},trigger:function(){return Se(this,e),!0},_default:function(){return!0},delegateType:t}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),S.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){S.event.remove(this,e,n,t)})}});var ke=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=S.extend({},o),Q.set(t,a))}}function He(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!y.checkClone&&Ae.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),He(t,r,i,o)});if(f&&(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(ve(e,"script"),De)).length;c<f;c++)u=e,c!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,ve(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,qe),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(Ne,""),u,l))}return n}function Oe(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ve(r)),r.parentNode&&(n&&ie(r)&&ye(ve(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r<i;r++)Le(o[r],a[r]);else Le(e,c);return 0<(a=ve(c,"script")).length&&ye(a,!f&&ve(e,"script")),c},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Oe(this,e,!0)},remove:function(e){return Oe(this,e)},text:function(e){return $(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)})},prepend:function(){return He(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ke.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return He(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(ve(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var Pe=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Re=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},Me=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ie=new RegExp(ne.join("|"),"i");function We(e,t,n){var r,i,o,a,s=e.style;return(n=n||Re(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=S.style(e,t)),!y.pixelBoxStyles()&&Pe.test(a)&&Ie.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Fe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(l);var e=C.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=E.createElement("div"),l=E.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",re.appendChild(e).appendChild(t).appendChild(n),r=C.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,re.removeChild(e)),a}}))}();var Be=["Webkit","Moz","ms"],$e=E.createElement("div").style,_e={};function ze(e){var t=S.cssProps[e]||_e[e];return t||(e in $e?e:_e[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Be.length;while(n--)if((e=Be[n]+t)in $e)return e}(e)||e)}var Ue=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ve={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:"0",fontWeight:"400"};function Ye(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Qe(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Je(e,t,n){var r=Re(e),i=(!y.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Pe.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Qe(e,t,n||(i?"border":"content"),o,r,a)+"px"}function Ke(e,t,n,r,i){return new Ke.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Xe.test(t),l=e.style;if(u||(t=ze(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Xe.test(t)||(t=ze(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=We(e,t,r)),"normal"===i&&t in Ge&&(i=Ge[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],function(e,u){S.cssHooks[u]={get:function(e,t,n){if(t)return!Ue.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,u,n):Me(e,Ve,function(){return Je(e,u,n)})},set:function(e,t,n){var r,i=Re(e),o=!y.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=n?Qe(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Qe(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=S.css(e,u)),Ye(0,t,s)}}}),S.cssHooks.marginLeft=Fe(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Me(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(S.cssHooks[i+o].set=Ye)}),S.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Re(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=Ke).prototype={constructor:Ke,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=Ke.propHooks[this.prop];return e&&e.get?e.get(this):Ke.propHooks._default.get(this)},run:function(e){var t,n=Ke.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ke.propHooks._default.set(this),this}}).init.prototype=Ke.prototype,(Ke.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[ze(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ke.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=Ke.prototype.init,S.fx.step={};var Ze,et,tt,nt,rt=/^(?:toggle|show|hide)$/,it=/queueHooks$/;function ot(){et&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(ot):C.setTimeout(ot,S.fx.interval),S.fx.tick())}function at(){return C.setTimeout(function(){Ze=void 0}),Ze=Date.now()}function st(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(lt.tweeners[t]||[]).concat(lt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function lt(o,e,t){var n,a,r=0,i=lt.prefilters.length,s=S.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=Ze||at(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:Ze||at(),duration:t.duration,tweens:[],createTween:function(e,t){var n=S.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=lt.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ut,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(lt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],lt.tweeners[n]=lt.tweeners[n]||[],lt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),v=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],rt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===S.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&le([e],!0),p.done(function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)S.style(e,r,d[r])})),u=ut(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?lt.prefilters.unshift(e):lt.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=lt(this,S.extend({},t),o);(i||Y.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&it.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(st(r,!0),e,t,n)}}),S.each({slideDown:st("show"),slideUp:st("hide"),slideToggle:st("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(Ze=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),Ze=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){et||(et=!0,ot())},S.fx.stop=function(){et=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},tt=E.createElement("input"),nt=E.createElement("select").appendChild(E.createElement("option")),tt.type="checkbox",y.checkOn=""!==tt.value,y.optSelected=nt.selected,(tt=E.createElement("input")).value="t",tt.type="radio",y.radioValue="t"===tt.value;var ct,ft=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return $(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?ct:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),ct={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=ft[t]||S.find.attr;ft[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=ft[o],ft[o]=r,r=null!=a(e,t,n)?o:null,ft[o]=i),r}});var pt=/^(?:input|select|textarea|button)$/i,dt=/^(?:a|area)$/i;function ht(e){return(e.match(P)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}S.fn.extend({prop:function(e,t){return $(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||dt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).addClass(t.call(this,e,gt(this)))});if((e=vt(t)).length)while(n=this[u++])if(i=gt(n),r=1===n.nodeType&&" "+ht(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).removeClass(t.call(this,e,gt(this)))});if(!arguments.length)return this.attr("class","");if((e=vt(t)).length)while(n=this[u++])if(i=gt(n),r=1===n.nodeType&&" "+ht(i)+" "){a=0;while(o=e[a++])while(-1<r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=ht(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):m(i)?this.each(function(e){S(this).toggleClass(i.call(this,e,gt(this),t),t)}):this.each(function(){var e,t,n,r;if(a){t=0,n=S(this),r=vt(i);while(e=r[t++])n.hasClass(e)?n.removeClass(e):n.addClass(e)}else void 0!==i&&"boolean"!==o||((e=gt(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+ht(gt(n))+" ").indexOf(t))return!0;return!1}});var yt=/\r/g;S.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(yt,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:ht(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},y.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in C;var mt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=v.call(e,"type")?e.type:e,h=v.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!mt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,mt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&V(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!V(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,xt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,xt),S.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){S.event.simulate(r,e.target,S.event.fix(e))};S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var bt=C.location,wt={guid:Date.now()},Tt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Ct=/\[\]$/,Et=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,kt=/^(?:input|select|textarea|keygen)/i;function At(n,e,r,i){var t;if(Array.isArray(e))S.each(e,function(e,t){r||Ct.test(n)?i(n,t):At(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)At(n+"["+t+"]",e[t],r,i)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)At(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&kt.test(this.nodeName)&&!St.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(Et,"\r\n")}}):{name:t.name,value:n.replace(Et,"\r\n")}}).get()}});var Nt=/%20/g,jt=/#.*$/,Dt=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Ht=/^\/\//,Ot={},Pt={},Rt="*/".concat("*"),Mt=E.createElement("a");function It(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Wt(t,i,o,a){var s={},u=t===Pt;function l(e){var r;return s[e]=!0,S.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Ft(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Mt.href=bt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(bt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ft(Ft(e,S.ajaxSettings),t):Ft(S.ajaxSettings,e)},ajaxPrefilter:It(Ot),ajaxTransport:It(Pt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=S.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?S(y):S.event,x=S.Deferred(),b=S.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=qt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||bt.href)+"").replace(Ht,bt.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(P)||[""],null==v.crossDomain){r=E.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Mt.protocol+"//"+Mt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=S.param(v.data,v.traditional)),Wt(Ot,v,t,T),h)return T;for(i in(g=S.event&&v.global)&&0==S.active++&&S.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Lt.test(v.type),f=v.url.replace(jt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Nt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(Tt.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(Dt,"$1"),o=(Tt.test(f)?"&":"?")+"_="+wt.guid+++o),v.url=f+o),v.ifModified&&(S.lastModified[f]&&T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&T.setRequestHeader("If-None-Match",S.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+Rt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Wt(Pt,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<S.inArray("script",v.dataTypes)&&S.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(S.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=m(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},$t=S.ajaxSettings.xhr();y.cors=!!$t&&"withCredentials"in $t,y.ajax=$t=!!$t,S.ajaxTransport(function(i){var o,a;if(y.cors||$t&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Bt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=ht(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=m,S.isWindow=x,S.camelCase=X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Vt=C.jQuery,Gt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Gt),e&&C.jQuery===S&&(C.jQuery=Vt),S},"undefined"==typeof e&&(C.jQuery=C.$=S),S});
5 6/* End */ 7; 8; /* Start:"a:4:{s:4:"full";s:65:"/local/templates/altesa/js/jquery.fancybox.min.js?172539403368253";s:6:"source";s:49:"/local/templates/altesa/js/jquery.fancybox.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
vendor: 68,253 bytes, lines 9-21
9// ================================================== 10// fancyBox v3.5.7 11// 12// Licensed GPLv3 for open source use 13// or fancyBox Commercial License for commercial use 14// 15// http://fancyapps.com/fancybox/ 16// Copyright 2019 fancyApps 17// 18// ================================================== 19!function(t,e,n,o){"use strict";function i(t,e){var o,i,a,s=[],r=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=h(t.data.options,e)),o=e.$target||n(t.currentTarget).trigger("blur"),(a=n.fancybox.getInstance())&&a.$trigger&&a.$trigger.is(o)||(e.selector?s=n(e.selector):(i=o.attr("data-fancybox")||"",i?(s=t.data?t.data.items:[],s=s.length?s.filter('[data-fancybox="'+i+'"]'):n('[data-fancybox="'+i+'"]')):s=[o]),r=n(s).index(o),r<0&&(r=0),a=n.fancybox.open(s,e,r),a.$trigger=o))}if(t.console=t.console||{info:function(t){}},n){if(n.fn.fancybox)return void console.info("fancyBox already initialized");var a={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},s=n(t),r=n(e),c=0,l=function(t){return t&&t.hasOwnProperty&&t instanceof n},d=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),u=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),f=function(){var t,n=e.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in o)if(void 0!==n.style[t])return o[t];return"transitionend"}(),p=function(t){return t&&t.length&&t[0].offsetHeight},h=function(t,e){var o=n.extend(!0,{},t,e);return n.each(e,function(t,e){n.isArray(e)&&(o[t]=e)}),o},g=function(t){var o,i;return!(!t||t.ownerDocument!==e)&&(n(".fancybox-container").css("pointer-events","none"),o={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},i=e.elementFromPoint(o.x,o.y)===t,n(".fancybox-container").css("pointer-events",""),i)},b=function(t,e,o){var i=this;i.opts=h({index:o},n.fancybox.defaults),n.isPlainObject(e)&&(i.opts=h(i.opts,e)),n.fancybox.isMobile&&(i.opts=h(i.opts,i.opts.mobile)),i.id=i.opts.id||++c,i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=!0,i.group=[],i.slides={},i.addContent(t),i.group.length&&i.init()};n.extend(b.prototype,{init:function(){var o,i,a=this,s=a.group[a.currIndex],r=s.opts;r.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==r.hideScrollbar&&!n.fancybox.isMobile&&e.body.scrollHeight>t.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),i="",n.each(r.buttons,function(t,e){i+=r.btnTpl[e]||""}),o=n(a.translate(a,r.baseTpl.replace("{{buttons}}",i).replace("{{arrows}}",r.btnTpl.arrowLeft+r.btnTpl.arrowRight))).attr("id","fancybox-container-"+a.id).addClass(r.baseClass).data("FancyBox",a).appendTo(r.parentEl),a.$refs={container:o},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){a.$refs[t]=o.find(".fancybox-"+t)}),a.trigger("onInit"),a.activate(),a.jumpTo(a.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,function(t,e){return void 0===n[e]?t:n[e]})},addContent:function(t){var e,o=this,i=n.makeArray(t);n.each(i,function(t,e){var i,a,s,r,c,l={},d={};n.isPlainObject(e)?(l=e,d=e.opts||e):"object"===n.type(e)&&n(e).length?(i=n(e),d=i.data()||{},d=n.extend(!0,{},d,d.options),d.$orig=i,l.src=o.opts.src||d.src||i.attr("href"),l.type||l.src||(l.type="inline",l.src=e)):l={type:"html",src:e+""},l.opts=n.extend(!0,{},o.opts,d),n.isArray(d.buttons)&&(l.opts.buttons=d.buttons),n.fancybox.isMobile&&l.opts.mobile&&(l.opts=h(l.opts,l.opts.mobile)),a=l.type||l.opts.type,r=l.src||"",!a&&r&&((s=r.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",l.opts.video.format||(l.opts.video.format="video/"+("ogv"===s[1]?"ogg":s[1]))):r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":r.match(/\.(pdf)((\?|#).*)?$/i)?(a="iframe",l=n.extend(!0,l,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===r.charAt(0)&&(a="inline")),a?l.type=a:o.trigger("objectNeedsType",l),l.contentType||(l.contentType=n.inArray(l.type,["html","inline","ajax"])>-1?"html":l.type),l.index=o.group.length,"auto"==l.opts.smallBtn&&(l.opts.smallBtn=n.inArray(l.type,["html","inline","ajax"])>-1),"auto"===l.opts.toolbar&&(l.opts.toolbar=!l.opts.smallBtn),l.$thumb=l.opts.$thumb||null,l.opts.$trigger&&l.index===o.opts.index&&(l.$thumb=l.opts.$trigger.find("img:first"),l.$thumb.length&&(l.opts.$orig=l.opts.$trigger)),l.$thumb&&l.$thumb.length||!l.opts.$orig||(l.$thumb=l.opts.$orig.find("img:first")),l.$thumb&&!l.$thumb.length&&(l.$thumb=null),l.thumb=l.opts.thumb||(l.$thumb?l.$thumb[0].src:null),"function"===n.type(l.opts.caption)&&(l.opts.caption=l.opts.caption.apply(e,[o,l])),"function"===n.type(o.opts.caption)&&(l.opts.caption=o.opts.caption.apply(e,[o,l])),l.opts.caption instanceof n||(l.opts.caption=void 0===l.opts.caption?"":l.opts.caption+""),"ajax"===l.type&&(c=r.split(/\s+/,2),c.length>1&&(l.src=c.shift(),l.opts.filter=c.shift())),l.opts.modal&&(l.opts=n.extend(!0,l.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),o.group.push(l)}),Object.keys(o.slides).length&&(o.updateControls(),(e=o.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),e.close(t)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),e.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),e.next()}).on("click.fb","[data-fancybox-zoom]",function(t){e[e.isScaledDown()?"scaleToActual":"scaleToFit"]()}),s.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(e.requestId&&u(e.requestId),e.requestId=d(function(){e.update(t)})):(e.current&&"iframe"===e.current.type&&e.$refs.stage.hide(),setTimeout(function(){e.$refs.stage.show(),e.update(t)},n.fancybox.isMobile?600:250))}),r.on("keydown.fb",function(t){var o=n.fancybox?n.fancybox.getInstance():null,i=o.current,a=t.keyCode||t.which;if(9==a)return void(i.opts.trapFocus&&e.focus(t));if(!(!i.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||n(t.target).is("input,textarea,video,audio,select")))return 8===a||27===a?(t.preventDefault(),void e.close(t)):37===a||38===a?(t.preventDefault(),void e.previous()):39===a||40===a?(t.preventDefault(),void e.next()):void e.trigger("afterKeydown",t,a)}),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1}),e.idleInterval=t.setInterval(function(){++e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())},1e3))},removeEvents:function(){var e=this;s.off("orientationchange.fb resize.fb"),r.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var o,i,a,s,r,c,l,d,u,f=this,h=f.group.length;if(!(f.isDragging||f.isClosing||f.isAnimating&&f.firstRun)){if(t=parseInt(t,10),!(a=f.current?f.current.opts.loop:f.opts.loop)&&(t<0||t>=h))return!1;if(o=f.firstRun=!Object.keys(f.slides).length,r=f.current,f.prevIndex=f.currIndex,f.prevPos=f.currPos,s=f.createSlide(t),h>1&&((a||s.index<h-1)&&f.createSlide(t+1),(a||s.index>0)&&f.createSlide(t-1)),f.current=s,f.currIndex=s.index,f.currPos=s.pos,f.trigger("beforeShow",o),f.updateControls(),s.forcedDuration=void 0,n.isNumeric(e)?s.forcedDuration=e:e=s.opts[o?"animationDuration":"transitionDuration"],e=parseInt(e,10),i=f.isMoved(s),s.$slide.addClass("fancybox-slide--current"),o)return s.opts.animationEffect&&e&&f.$refs.container.css("transition-duration",e+"ms"),f.$refs.container.addClass("fancybox-is-open").trigger("focus"),f.loadSlide(s),void f.preload("image");c=n.fancybox.getTranslate(r.$slide),l=n.fancybox.getTranslate(f.$refs.stage),n.each(f.slides,function(t,e){n.fancybox.stop(e.$slide,!0)}),r.pos!==s.pos&&(r.isComplete=!1),r.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),i?(u=c.left-(r.pos*c.width+r.pos*r.opts.gutter),n.each(f.slides,function(t,o){o.$slide.removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var i=o.pos*c.width+o.pos*o.opts.gutter;n.fancybox.setTranslate(o.$slide,{top:0,left:i-l.left+u}),o.pos!==s.pos&&o.$slide.addClass("fancybox-slide--"+(o.pos>s.pos?"next":"previous")),p(o.$slide),n.fancybox.animate(o.$slide,{top:0,left:(o.pos-s.pos)*c.width+(o.pos-s.pos)*o.opts.gutter},e,function(){o.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),o.pos===f.currPos&&f.complete()})})):e&&s.opts.transitionEffect&&(d="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,r.$slide.addClass("fancybox-slide--"+(r.pos>s.pos?"next":"previous")),n.fancybox.animate(r.$slide,d,e,function(){r.$slide.removeClass(d).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),s.isLoaded?f.revealContent(s):f.loadSlide(s),f.preload("image")}},createSlide:function(t){var e,o,i=this;return o=t%i.group.length,o=o<0?i.group.length+o:o,!i.slides[t]&&i.group[o]&&(e=n('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[t]=n.extend(!0,{},i.group[o],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,o){var i,a,s,r,c,l=this,d=l.current,u=d.$content,f=n.fancybox.getTranslate(d.$slide).width,p=n.fancybox.getTranslate(d.$slide).height,h=d.width,g=d.height;l.isAnimating||l.isMoved()||!u||"image"!=d.type||!d.isLoaded||d.hasError||(l.isAnimating=!0,n.fancybox.stop(u),t=void 0===t?.5*f:t,e=void 0===e?.5*p:e,i=n.fancybox.getTranslate(u),i.top-=n.fancybox.getTranslate(d.$slide).top,i.left-=n.fancybox.getTranslate(d.$slide).left,r=h/i.width,c=g/i.height,a=.5*f-.5*h,s=.5*p-.5*g,h>f&&(a=i.left*r-(t*r-t),a>0&&(a=0),a<f-h&&(a=f-h)),g>p&&(s=i.top*c-(e*c-e),s>0&&(s=0),s<p-g&&(s=p-g)),l.updateCursor(h,g),n.fancybox.animate(u,{top:s,left:a,scaleX:r,scaleY:c},o||366,function(){l.isAnimating=!1}),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop())},scaleToFit:function(t){var e,o=this,i=o.current,a=i.$content;o.isAnimating||o.isMoved()||!a||"image"!=i.type||!i.isLoaded||i.hasError||(o.isAnimating=!0,n.fancybox.stop(a),e=o.getFitPos(i),o.updateCursor(e.width,e.height),n.fancybox.animate(a,{top:e.top,left:e.left,scaleX:e.width/a.width(),scaleY:e.height/a.height()},t||366,function(){o.isAnimating=!1}))},getFitPos:function(t){var e,o,i,a,s=this,r=t.$content,c=t.$slide,l=t.width||t.opts.width,d=t.height||t.opts.height,u={};return!!(t.isLoaded&&r&&r.length)&&(e=n.fancybox.getTranslate(s.$refs.stage).width,o=n.fancybox.getTranslate(s.$refs.stage).height,e-=parseFloat(c.css("paddingLeft"))+parseFloat(c.css("paddingRight"))+parseFloat(r.css("marginLeft"))+parseFloat(r.css("marginRight")),o-=parseFloat(c.css("paddingTop"))+parseFloat(c.css("paddingBottom"))+parseFloat(r.css("marginTop"))+parseFloat(r.css("marginBottom")),l&&d||(l=e,d=o),i=Math.min(1,e/l,o/d),l*=i,d*=i,l>e-.5&&(l=e),d>o-.5&&(d=o),"image"===t.type?(u.top=Math.floor(.5*(o-d))+parseFloat(c.css("paddingTop")),u.left=Math.floor(.5*(e-l))+parseFloat(c.css("paddingLeft"))):"video"===t.contentType&&(a=t.opts.width&&t.opts.height?l/d:t.opts.ratio||16/9,d>l/a?d=l/a:l>d*a&&(l=d*a)),u.width=l,u.height=d,u)},update:function(t){var e=this;n.each(e.slides,function(n,o){e.updateSlide(o,t)})},updateSlide:function(t,e){var o=this,i=t&&t.$content,a=t.width||t.opts.width,s=t.height||t.opts.height,r=t.$slide;o.adjustCaption(t),i&&(a||s||"video"===t.contentType)&&!t.hasError&&(n.fancybox.stop(i),n.fancybox.setTranslate(i,o.getFitPos(t)),t.pos===o.currPos&&(o.isAnimating=!1,o.updateCursor())),o.adjustLayout(t),r.length&&(r.trigger("refresh"),t.pos===o.currPos&&o.$refs.toolbar.add(o.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",r.get(0).scrollHeight>r.get(0).clientHeight)),o.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,o=e.current,i=o.$slide;!e.isClosing&&o&&(i.siblings().css({transform:"",opacity:""}),i.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(i,{top:0,left:0,opacity:1},void 0===t?0:t,function(){i.css({transform:"",opacity:""}),o.isComplete||e.complete()},!1))},isMoved:function(t){var e,o,i=t||this.current;return!!i&&(o=n.fancybox.getTranslate(this.$refs.stage),e=n.fancybox.getTranslate(i.$slide),!i.$slide.hasClass("fancybox-animated")&&(Math.abs(e.top-o.top)>.5||Math.abs(e.left-o.left)>.5))},updateCursor:function(t,e){var o,i,a=this,s=a.current,r=a.$refs.container;s&&!a.isClosing&&a.Guestures&&(r.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=a.canPan(t,e),i=!!o||a.isZoomable(),r.toggleClass("fancybox-is-zoomable",i),n("[data-fancybox-zoom]").prop("disabled",!i),o?r.addClass("fancybox-can-pan"):i&&("zoom"===s.opts.clickContent||n.isFunction(s.opts.clickContent)&&"zoom"==s.opts.clickContent(s))?r.addClass("fancybox-can-zoomIn"):s.opts.touch&&(s.opts.touch.vertical||a.group.length>1)&&"video"!==s.contentType&&r.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this,n=e.current;if(n&&!e.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((t=e.getFitPos(n))&&(n.width>t.width||n.height>t.height))return!0}return!1},isScaledDown:function(t,e){var o=this,i=!1,a=o.current,s=a.$content;return void 0!==t&&void 0!==e?i=t<a.width&&e<a.height:s&&(i=n.fancybox.getTranslate(s),i=i.width<a.width&&i.height<a.height),i},canPan:function(t,e){var o=this,i=o.current,a=null,s=!1;return"image"===i.type&&(i.isComplete||t&&e)&&!i.hasError&&(s=o.getFitPos(i),void 0!==t&&void 0!==e?a={width:t,height:e}:i.isComplete&&(a=n.fancybox.getTranslate(i.$content)),a&&s&&(s=Math.abs(a.width-s.width)>1.5||Math.abs(a.height-s.height)>1.5)),s},loadSlide:function(t){var e,o,i,a=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,!1===a.trigger("beforeLoad",t))return t.isLoading=!1,!1;switch(e=t.type,o=t.$slide,o.off("refresh").trigger("onReset").addClass(t.opts.slideClass),e){case"image":a.setImage(t);break;case"iframe":a.setIframe(t);break;case"html":a.setContent(t,t.src||t.content);break;case"video":a.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":n(t.src).length?a.setContent(t,n(t.src)):a.setError(t);break;case"ajax":a.showLoading(t),i=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&a.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&a.setError(t)}})),o.one("onReset",function(){i.abort()});break;default:a.setError(t)}return!0}},setImage:function(t){var o,i=this;setTimeout(function(){var e=t.$image;i.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||i.showLoading(t)},50),i.checkSrcset(t),t.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,o=e.createElement("img"),o.onerror=function(){n(this).remove(),t.$ghost=null},o.onload=function(){i.afterLoad(t)},t.$ghost=n(o).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),i.setBigImage(t)},checkSrcset:function(e){var n,o,i,a,s=e.opts.srcset||e.opts.image.srcset;if(s){i=t.devicePixelRatio||1,a=t.innerWidth*i,o=s.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var o=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;o&&(e.value=o,e.postfix=t[t.length-1])}),e}),o.sort(function(t,e){return t.value-e.value});for(var r=0;r<o.length;r++){var c=o[r];if("w"===c.postfix&&c.value>=a||"x"===c.postfix&&c.value>=i){n=c;break}}!n&&o.length&&(n=o[o.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value),e.opts.srcset=s)}},setBigImage:function(t){var o=this,i=e.createElement("img"),a=n(i);t.$image=a.one("error",function(){o.setError(t)}).one("load",function(){var e;t.$ghost||(o.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),o.afterLoad(t)),o.isClosing||(t.opts.srcset&&(e=t.opts.sizes,e&&"auto"!==e||(e=(t.width/t.height>1&&s.width()/s.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),a.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout(function(){t.$ghost&&!o.isClosing&&t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))),o.hideLoading(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(i.complete||"complete"==i.readyState)&&a.naturalWidth&&a.naturalHeight?a.trigger("load"):i.error&&a.trigger("error")},resolveImageSlideSize:function(t,e,n){var o=parseInt(t.opts.width,10),i=parseInt(t.opts.height,10);t.width=e,t.height=n,o>0&&(t.width=o,t.height=Math.floor(o*n/e)),i>0&&(t.width=Math.floor(i*e/n),t.height=i)},setIframe:function(t){var e,o=this,i=t.opts.iframe,a=t.$slide;t.$content=n('<div class="fancybox-content'+(i.preload?" fancybox-is-hidden":"")+'"></div>').css(i.css).appendTo(a),a.addClass("fancybox-slide--"+t.contentType),t.$iframe=e=n(i.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(i.attr).appendTo(t.$content),i.preload?(o.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),o.afterLoad(t)}),a.on("refresh.fb",function(){var n,o,s=t.$content,r=i.css.width,c=i.css.height;if(1===e[0].isReady){try{n=e.contents(),o=n.find("body")}catch(t){}o&&o.length&&o.children().length&&(a.css("overflow","visible"),s.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===r&&(r=Math.ceil(Math.max(o[0].clientWidth,o.outerWidth(!0)))),s.css("width",r||"").css("max-width",""),void 0===c&&(c=Math.ceil(Math.max(o[0].clientHeight,o.outerHeight(!0)))),s.css("height",c||""),a.css("overflow","auto")),s.removeClass("fancybox-is-hidden")}})):o.afterLoad(t),e.attr("src",t.src),a.one("onReset",function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}n(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1})},setContent:function(t,e){var o=this;o.isClosing||(o.hideLoading(t),t.$content&&n.fancybox.stop(t.$content),t.$slide.empty(),l(e)&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=n("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("<div>").append(n.trim(e)).contents()),t.opts.filter&&(e=n("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){n(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1,t.isRevealed=!1)}),n(e).appendTo(t.$slide),n(e).is("video,audio")&&(n(e).addClass("fancybox-video"),n(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||n(e).attr("width"),t.opts.height=t.opts.height||n(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),o.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var e=this;(t=t||e.current)&&!t.$spinner&&(t.$spinner=n(e.translate(e,e.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){var e=this;(t=t||e.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=n(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(),e.revealContent(t))},adjustCaption:function(t){var e,n=this,o=t||n.current,i=o.opts.caption,a=o.opts.preventCaptionOverlap,s=n.$refs.caption,r=!1;s.toggleClass("fancybox-caption--separate",a),a&&i&&i.length&&(o.pos!==n.currPos?(e=s.clone().appendTo(s.parent()),e.children().eq(0).empty().html(i),r=e.outerHeight(!0),e.empty().remove()):n.$caption&&(r=n.$caption.outerHeight(!0)),o.$slide.css("padding-bottom",r||""))},adjustLayout:function(t){var e,n,o,i,a=this,s=t||a.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(o=s.$slide[0].style["padding-bottom"],i=s.$slide.css("padding-bottom"),parseFloat(i)>0&&(e=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(e-s.$slide[0].scrollHeight)<1&&(n=i),s.$slide.css("padding-bottom",o))),s.$content.css("margin-bottom",n))},revealContent:function(t){var e,o,i,a,s=this,r=t.$slide,c=!1,l=!1,d=s.isMoved(t),u=t.isRevealed;return t.isRevealed=!0,e=t.opts[s.firstRun?"animationEffect":"transitionEffect"],i=t.opts[s.firstRun?"animationDuration":"transitionDuration"],i=parseInt(void 0===t.forcedDuration?i:t.forcedDuration,10),!d&&t.pos===s.currPos&&i||(e=!1),"zoom"===e&&(t.pos===s.currPos&&i&&"image"===t.type&&!t.hasError&&(l=s.getThumbPos(t))?c=s.getFitPos(t):e="fade"),"zoom"===e?(s.isAnimating=!0,c.scaleX=c.width/l.width,c.scaleY=c.height/l.height,a=t.opts.zoomOpacity,"auto"==a&&(a=Math.abs(t.width/t.height-l.width/l.height)>.1),a&&(l.opacity=.1,c.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),l),p(t.$content),void n.fancybox.animate(t.$content,c,i,function(){s.isAnimating=!1,s.complete()})):(s.updateSlide(t),e?(n.fancybox.stop(r),o="fancybox-slide--"+(t.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,r.addClass(o).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),p(r),"image"!==t.type&&t.$content.hide().show(0),void n.fancybox.animate(r,"fancybox-slide--current",i,function(){r.removeClass(o).css({transform:"",opacity:""}),t.pos===s.currPos&&s.complete()},!0)):(t.$content.removeClass("fancybox-is-hidden"),u||!d||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===s.currPos&&s.complete())))},getThumbPos:function(t){var e,o,i,a,s,r=!1,c=t.$thumb;return!(!c||!g(c[0]))&&(e=n.fancybox.getTranslate(c),o=parseFloat(c.css("border-top-width")||0),i=parseFloat(c.css("border-right-width")||0),a=parseFloat(c.css("border-bottom-width")||0),s=parseFloat(c.css("border-left-width")||0),r={top:e.top+o,left:e.left+s,width:e.width-i-s,height:e.height-o-a,scaleX:1,scaleY:1},e.width>0&&e.height>0&&r)},complete:function(){var t,e=this,o=e.current,i={};!e.isMoved()&&o.isLoaded&&(o.isComplete||(o.isComplete=!0,o.$slide.siblings().trigger("onReset"),e.preload("inline"),p(o.$slide),o.$slide.addClass("fancybox-slide--complete"),n.each(e.slides,function(t,o){o.pos>=e.currPos-1&&o.pos<=e.currPos+1?i[o.pos]=o:o&&(n.fancybox.stop(o.$slide),o.$slide.off().remove())}),e.slides=i),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),o.opts.video.autoStart&&o.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()}),o.opts.autoFocus&&"html"===o.contentType&&(t=o.$content.find("input[autofocus]:enabled:visible:first"),t.length?t.trigger("focus"):e.focus(null,!0)),o.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,n,o=this;o.group.length<2||(n=o.slides[o.currPos+1],e=o.slides[o.currPos-1],e&&e.type===t&&o.loadSlide(e),n&&n.type===t&&o.loadSlide(n))},focus:function(t,o){var i,a,s=this,r=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");s.isClosing||(i=!t&&s.current&&s.current.isComplete?s.current.$slide.find("*:visible"+(o?":not(.fancybox-close-small)":"")):s.$refs.container.find("*:visible"),i=i.filter(r).filter(function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}),i.length?(a=i.index(e.activeElement),t&&t.shiftKey?(a<0||0==a)&&(t.preventDefault(),i.eq(i.length-1).trigger("focus")):(a<0||a==i.length-1)&&(t&&t.preventDefault(),i.eq(0).trigger("focus"))):s.$refs.container.trigger("focus"))},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var o,i,a,s,r,c,l,u=this,f=u.current,h=function(){u.cleanUp(t)};return!u.isClosing&&(u.isClosing=!0,!1===u.trigger("beforeClose",t)?(u.isClosing=!1,d(function(){u.update()}),!1):(u.removeEvents(),a=f.$content,o=f.opts.animationEffect,i=n.isNumeric(e)?e:o?f.opts.animationDuration:0,f.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?n.fancybox.stop(f.$slide):o=!1,f.$slide.siblings().trigger("onReset").remove(),i&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",i+"ms"),u.hideLoading(f),u.hideControls(!0),u.updateCursor(),"zoom"!==o||a&&i&&"image"===f.type&&!u.isMoved()&&!f.hasError&&(l=u.getThumbPos(f))||(o="fade"),"zoom"===o?(n.fancybox.stop(a),s=n.fancybox.getTranslate(a),c={top:s.top,left:s.left,scaleX:s.width/l.width,scaleY:s.height/l.height,width:l.width,height:l.height},r=f.opts.zoomOpacity, 20"auto"==r&&(r=Math.abs(f.width/f.height-l.width/l.height)>.1),r&&(l.opacity=0),n.fancybox.setTranslate(a,c),p(a),n.fancybox.animate(a,l,i,h),!0):(o&&i?n.fancybox.animate(f.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+o,i,h):!0===t?setTimeout(h,i):h(),!0)))},cleanUp:function(e){var o,i,a,s=this,r=s.current.opts.$orig;s.current.$slide.trigger("onReset"),s.$refs.container.empty().remove(),s.trigger("afterClose",e),s.current.opts.backFocus&&(r&&r.length&&r.is(":visible")||(r=s.$trigger),r&&r.length&&(i=t.scrollX,a=t.scrollY,r.trigger("focus"),n("html, body").scrollTop(a).scrollLeft(i))),s.current=null,o=n.fancybox.getInstance(),o?o.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var o,i=Array.prototype.slice.call(arguments,1),a=this,s=e&&e.opts?e:a.current;if(s?i.unshift(s):s=a,i.unshift(a),n.isFunction(s.opts[t])&&(o=s.opts[t].apply(s,i)),!1===o)return o;"afterClose"!==t&&a.$refs?a.$refs.container.trigger(t+".fb",i):r.trigger(t+".fb",i)},updateControls:function(){var t=this,o=t.current,i=o.index,a=t.$refs.container,s=t.$refs.caption,r=o.opts.caption;o.$slide.trigger("refresh"),r&&r.length?(t.$caption=s,s.children().eq(0).html(r)):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),a.find("[data-fancybox-count]").html(t.group.length),a.find("[data-fancybox-index]").html(i+1),a.find("[data-fancybox-prev]").prop("disabled",!o.opts.loop&&i<=0),a.find("[data-fancybox-next]").prop("disabled",!o.opts.loop&&i>=t.group.length-1),"image"===o.type?a.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",o.opts.image.src||o.src).show():o.opts.toolbar&&a.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(e.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=this,n=["infobar","toolbar","nav"];!t&&e.current.opts.preventCaptionOverlap||n.push("caption"),this.$refs.container.removeClass(n.map(function(t){return"fancybox-show-"+t}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:a,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),o=Array.prototype.slice.call(arguments,1);return e instanceof b&&("string"===n.type(t)?e[t].apply(e,o):"function"===n.type(t)&&t.apply(e,o),e)},open:function(t,e,n){return new b(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),r.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(n)&&t.getComputedStyle(n).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;return!(!t||!t.length)&&(e=t[0].getBoundingClientRect(),{top:e.top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))})},setTranslate:function(t,e){var n="",o={};if(t&&e)return void 0===e.left&&void 0===e.top||(n=(void 0===e.left?t.position().left:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==e.scaleX&&void 0!==e.scaleY?n+=" scale("+e.scaleX+", "+e.scaleY+")":void 0!==e.scaleX&&(n+=" scaleX("+e.scaleX+")"),n.length&&(o.transform=n),void 0!==e.opacity&&(o.opacity=e.opacity),void 0!==e.width&&(o.width=e.width),void 0!==e.height&&(o.height=e.height),t.css(o)},animate:function(t,e,o,i,a){var s,r=this;n.isFunction(o)&&(i=o,o=null),r.stop(t),s=r.getTranslate(t),t.on(f,function(c){(!c||!c.originalEvent||t.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(r.stop(t),n.isNumeric(o)&&t.css("transition-duration",""),n.isPlainObject(e)?void 0!==e.scaleX&&void 0!==e.scaleY&&r.setTranslate(t,{top:e.top,left:e.left,width:s.width*e.scaleX,height:s.height*e.scaleY,scaleX:1,scaleY:1}):!0!==a&&t.removeClass(e),n.isFunction(i)&&i(c))}),n.isNumeric(o)&&t.css("transition-duration",o+"ms"),n.isPlainObject(e)?(void 0!==e.scaleX&&void 0!==e.scaleY&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger(f)},o+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(f),t.off(f).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(t){var e;return t=t||{},e=t.selector||!1,e?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},r.on("click.fb-start","[data-fancybox]",i),r.on("click.fb-start","[data-fancybox-trigger]",function(t){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})}),function(){var t=null;r.on("mousedown mouseup focus blur",".fancybox-button",function(e){switch(e.type){case"mousedown":t=n(this);break;case"mouseup":t=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(t)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}})}()}}(window,document,jQuery),function(t){"use strict";var e={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(e,n,o){if(e)return o=o||"","object"===t.type(o)&&(o=t.param(o,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),o.length&&(e+=(e.indexOf("?")>0?"&":"?")+o),e};t(document).on("objectNeedsType.fb",function(o,i,a){var s,r,c,l,d,u,f,p=a.src||"",h=!1;s=t.extend(!0,{},e,a.opts.media),t.each(s,function(e,o){if(c=p.match(o.matcher)){if(h=o.type,f=e,u={},o.paramPlace&&c[o.paramPlace]){d=c[o.paramPlace],"?"==d[0]&&(d=d.substring(1)),d=d.split("&");for(var i=0;i<d.length;++i){var s=d[i].split("=",2);2==s.length&&(u[s[0]]=decodeURIComponent(s[1].replace(/\+/g," ")))}}return l=t.extend(!0,{},o.params,a.opts[e],u),p="function"===t.type(o.url)?o.url.call(this,c,l,a):n(o.url,c,l),r="function"===t.type(o.thumb)?o.thumb.call(this,c,l,a):n(o.thumb,c),"youtube"===e?p=p.replace(/&t=((\d+)m)?(\d+)s/,function(t,e,n,o){return"&start="+((n?60*parseInt(n,10):0)+parseInt(o,10))}):"vimeo"===e&&(p=p.replace("&%23","#")),!1}}),h?(a.opts.thumb||a.opts.$thumb&&a.opts.$thumb.length||(a.opts.thumb=r),"iframe"===h&&(a.opts=t.extend(!0,a.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),t.extend(a,{type:h,src:p,origSrc:a.src,contentSource:f,contentType:"image"===h?"image":"gmap_place"==f||"gmap_search"==f?"map":"video"})):p&&(a.type=a.opts.defaultType)});var o={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(t){var e,n=this;if(this[t].loaded)return void setTimeout(function(){n.done(t)});this[t].loading||(this[t].loading=!0,e=document.createElement("script"),e.type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){n[t].loaded=!0,n.done(t)}:e.onload=function(){n[t].loaded=!0,n.done(t)},document.body.appendChild(e))},done:function(e){var n,o,i;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(n=t.fancybox.getInstance())&&(o=n.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?i=new YT.Player(o.attr("id"),{events:{onStateChange:function(t){0==t.data&&n.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&(i=new Vimeo.Player(o),i.on("ended",function(){n.next()})))}};t(document).on({"afterShow.fb":function(t,e,n){e.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&o.load(n.contentSource)}})}(jQuery),function(t,e,n){"use strict";var o=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),i=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),a=function(e){var n=[];e=e.originalEvent||e||t.e,e=e.touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e];for(var o in e)e[o].pageX?n.push({x:e[o].pageX,y:e[o].pageY}):e[o].clientX&&n.push({x:e[o].clientX,y:e[o].clientY});return n},s=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},r=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,o=t[0].attributes,i=o.length;e<i;e++)if("data-fancybox-"===o[e].nodeName.substr(0,14))return!0;return!1},c=function(e){var n=t.getComputedStyle(e)["overflow-y"],o=t.getComputedStyle(e)["overflow-x"],i=("scroll"===n||"auto"===n)&&e.scrollHeight>e.clientHeight,a=("scroll"===o||"auto"===o)&&e.scrollWidth>e.clientWidth;return i||a},l=function(t){for(var e=!1;;){if(e=c(t.get(0)))break;if(t=t.parent(),!t.length||t.hasClass("fancybox-stage")||t.is("body"))break}return e},d=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};d.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),n(e).off(".fb.touch"),t.requestId&&(i(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},d.prototype.ontouchstart=function(o){var i=this,c=n(o.target),d=i.instance,u=d.current,f=u.$slide,p=u.$content,h="touchstart"==o.type;if(h&&i.$container.off("mousedown.fb.touch"),(!o.originalEvent||2!=o.originalEvent.button)&&f.length&&c.length&&!r(c)&&!r(c.parent())&&(c.is("img")||!(o.originalEvent.clientX>c[0].clientWidth+c.offset().left))){if(!u||d.isAnimating||u.$slide.hasClass("fancybox-animated"))return o.stopPropagation(),void o.preventDefault();i.realPoints=i.startPoints=a(o),i.startPoints.length&&(u.touch&&o.stopPropagation(),i.startEvent=o,i.canTap=!0,i.$target=c,i.$content=p,i.opts=u.opts.touch,i.isPanning=!1,i.isSwiping=!1,i.isZooming=!1,i.isScrolling=!1,i.canPan=d.canPan(),i.startTime=(new Date).getTime(),i.distanceX=i.distanceY=i.distance=0,i.canvasWidth=Math.round(f[0].clientWidth),i.canvasHeight=Math.round(f[0].clientHeight),i.contentLastPos=null,i.contentStartPos=n.fancybox.getTranslate(i.$content)||{top:0,left:0},i.sliderStartPos=n.fancybox.getTranslate(f),i.stagePos=n.fancybox.getTranslate(d.$refs.stage),i.sliderStartPos.top-=i.stagePos.top,i.sliderStartPos.left-=i.stagePos.left,i.contentStartPos.top-=i.stagePos.top,i.contentStartPos.left-=i.stagePos.left,n(e).off(".fb.touch").on(h?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(i,"ontouchend")).on(h?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(i,"ontouchmove")),n.fancybox.isMobile&&e.addEventListener("scroll",i.onscroll,!0),((i.opts||i.canPan)&&(c.is(i.$stage)||i.$stage.find(c).length)||(c.is(".fancybox-image")&&o.preventDefault(),n.fancybox.isMobile&&c.parents(".fancybox-caption").length))&&(i.isScrollable=l(c)||l(c.parent()),n.fancybox.isMobile&&i.isScrollable||o.preventDefault(),(1===i.startPoints.length||u.hasError)&&(i.canPan?(n.fancybox.stop(i.$content),i.isPanning=!0):i.isSwiping=!0,i.$container.addClass("fancybox-is-grabbing")),2===i.startPoints.length&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(i.canTap=!1,i.isSwiping=!1,i.isPanning=!1,i.isZooming=!0,n.fancybox.stop(i.$content),i.centerPointStartX=.5*(i.startPoints[0].x+i.startPoints[1].x)-n(t).scrollLeft(),i.centerPointStartY=.5*(i.startPoints[0].y+i.startPoints[1].y)-n(t).scrollTop(),i.percentageOfImageAtPinchPointX=(i.centerPointStartX-i.contentStartPos.left)/i.contentStartPos.width,i.percentageOfImageAtPinchPointY=(i.centerPointStartY-i.contentStartPos.top)/i.contentStartPos.height,i.startDistanceBetweenFingers=s(i.startPoints[0],i.startPoints[1]))))}},d.prototype.onscroll=function(t){var n=this;n.isScrolling=!0,e.removeEventListener("scroll",n.onscroll,!0)},d.prototype.ontouchmove=function(t){var e=this;return void 0!==t.originalEvent.buttons&&0===t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling?void(e.canTap=!1):(e.newPoints=a(t),void((e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=s(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=s(e.newPoints[0],e.startPoints[0],"y"),e.distance=s(e.newPoints[0],e.startPoints[0]),e.distance>0&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))))},d.prototype.onSwipe=function(e){var a,s=this,r=s.instance,c=s.isSwiping,l=s.sliderStartPos.left||0;if(!0!==c)"x"==c&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?l+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?l-=Math.pow(-s.distanceX,.8):l+=s.distanceX),s.sliderLastPos={top:"x"==c?0:s.sliderStartPos.top+s.distanceY,left:l},s.requestId&&(i(s.requestId),s.requestId=null),s.requestId=o(function(){s.sliderLastPos&&(n.each(s.instance.slides,function(t,e){var o=e.pos-s.instance.currPos;n.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+o*s.canvasWidth+o*e.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))});else if(Math.abs(s.distance)>10){if(s.canTap=!1,r.group.length<2&&s.opts.vertical?s.isSwiping="y":r.isDragging||!1===s.opts.vertical||"auto"===s.opts.vertical&&n(t).width()>800?s.isSwiping="x":(a=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=a>45&&a<135?"y":"x"),"y"===s.isSwiping&&n.fancybox.isMobile&&s.isScrollable)return void(s.isScrolling=!0);r.isDragging=s.isSwiping,s.startPoints=s.newPoints,n.each(r.slides,function(t,e){var o,i;n.fancybox.stop(e.$slide),o=n.fancybox.getTranslate(e.$slide),i=n.fancybox.getTranslate(r.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),e.pos===r.current.pos&&(s.sliderStartPos.top=o.top-i.top,s.sliderStartPos.left=o.left-i.left),n.fancybox.setTranslate(e.$slide,{top:o.top-i.top,left:o.left-i.left})}),r.SlideShow&&r.SlideShow.isActive&&r.SlideShow.stop()}},d.prototype.onPan=function(){var t=this;if(s(t.newPoints[0],t.realPoints[0])<(n.fancybox.isMobile?10:5))return void(t.startPoints=t.newPoints);t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&i(t.requestId),t.requestId=o(function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)})},d.prototype.limitMovement=function(){var t,e,n,o,i,a,s=this,r=s.canvasWidth,c=s.canvasHeight,l=s.distanceX,d=s.distanceY,u=s.contentStartPos,f=u.left,p=u.top,h=u.width,g=u.height;return i=h>r?f+l:f,a=p+d,t=Math.max(0,.5*r-.5*h),e=Math.max(0,.5*c-.5*g),n=Math.min(r-h,.5*r-.5*h),o=Math.min(c-g,.5*c-.5*g),l>0&&i>t&&(i=t-1+Math.pow(-t+f+l,.8)||0),l<0&&i<n&&(i=n+1-Math.pow(n-f-l,.8)||0),d>0&&a>e&&(a=e-1+Math.pow(-e+p+d,.8)||0),d<0&&a<o&&(a=o+1-Math.pow(o-p-d,.8)||0),{top:a,left:i}},d.prototype.limitPosition=function(t,e,n,o){var i=this,a=i.canvasWidth,s=i.canvasHeight;return n>a?(t=t>0?0:t,t=t<a-n?a-n:t):t=Math.max(0,a/2-n/2),o>s?(e=e>0?0:e,e=e<s-o?s-o:e):e=Math.max(0,s/2-o/2),{top:e,left:t}},d.prototype.onZoom=function(){var e=this,a=e.contentStartPos,r=a.width,c=a.height,l=a.left,d=a.top,u=s(e.newPoints[0],e.newPoints[1]),f=u/e.startDistanceBetweenFingers,p=Math.floor(r*f),h=Math.floor(c*f),g=(r-p)*e.percentageOfImageAtPinchPointX,b=(c-h)*e.percentageOfImageAtPinchPointY,m=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),v=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),y=m-e.centerPointStartX,x=v-e.centerPointStartY,w=l+(g+y),$=d+(b+x),S={top:$,left:w,scaleX:f,scaleY:f};e.canTap=!1,e.newWidth=p,e.newHeight=h,e.contentLastPos=S,e.requestId&&i(e.requestId),e.requestId=o(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})},d.prototype.ontouchend=function(t){var o=this,s=o.isSwiping,r=o.isPanning,c=o.isZooming,l=o.isScrolling;if(o.endPoints=a(t),o.dMs=Math.max((new Date).getTime()-o.startTime,1),o.$container.removeClass("fancybox-is-grabbing"),n(e).off(".fb.touch"),e.removeEventListener("scroll",o.onscroll,!0),o.requestId&&(i(o.requestId),o.requestId=null),o.isSwiping=!1,o.isPanning=!1,o.isZooming=!1,o.isScrolling=!1,o.instance.isDragging=!1,o.canTap)return o.onTap(t);o.speed=100,o.velocityX=o.distanceX/o.dMs*.5,o.velocityY=o.distanceY/o.dMs*.5,r?o.endPanning():c?o.endZooming():o.endSwiping(s,l)},d.prototype.endSwiping=function(t,e){var o=this,i=!1,a=o.instance.group.length,s=Math.abs(o.distanceX),r="x"==t&&a>1&&(o.dMs>130&&s>10||s>50);o.sliderLastPos=null,"y"==t&&!e&&Math.abs(o.distanceY)>50?(n.fancybox.animate(o.instance.current.$slide,{top:o.sliderStartPos.top+o.distanceY+150*o.velocityY,opacity:0},200),i=o.instance.close(!0,250)):r&&o.distanceX>0?i=o.instance.previous(300):r&&o.distanceX<0&&(i=o.instance.next(300)),!1!==i||"x"!=t&&"y"!=t||o.instance.centerSlide(200),o.$container.removeClass("fancybox-is-sliding")},d.prototype.endPanning=function(){var t,e,o,i=this;i.contentLastPos&&(!1===i.opts.momentum||i.dMs>350?(t=i.contentLastPos.left,e=i.contentLastPos.top):(t=i.contentLastPos.left+500*i.velocityX,e=i.contentLastPos.top+500*i.velocityY),o=i.limitPosition(t,e,i.contentStartPos.width,i.contentStartPos.height),o.width=i.contentStartPos.width,o.height=i.contentStartPos.height,n.fancybox.animate(i.$content,o,366))},d.prototype.endZooming=function(){var t,e,o,i,a=this,s=a.instance.current,r=a.newWidth,c=a.newHeight;a.contentLastPos&&(t=a.contentLastPos.left,e=a.contentLastPos.top,i={top:e,left:t,width:r,height:c,scaleX:1,scaleY:1},n.fancybox.setTranslate(a.$content,i),r<a.canvasWidth&&c<a.canvasHeight?a.instance.scaleToFit(150):r>s.width||c>s.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(o=a.limitPosition(t,e,r,c),n.fancybox.animate(a.$content,o,150)))},d.prototype.onTap=function(e){var o,i=this,s=n(e.target),r=i.instance,c=r.current,l=e&&a(e)||i.startPoints,d=l[0]?l[0].x-n(t).scrollLeft()-i.stagePos.left:0,u=l[0]?l[0].y-n(t).scrollTop()-i.stagePos.top:0,f=function(t){var o=c.opts[t];if(n.isFunction(o)&&(o=o.apply(r,[c,e])),o)switch(o){case"close":r.close(i.startEvent);break;case"toggleControls":r.toggleControls();break;case"next":r.next();break;case"nextOrClose":r.group.length>1?r.next():r.close(i.startEvent);break;case"zoom":"image"==c.type&&(c.isLoaded||c.$ghost)&&(r.canPan()?r.scaleToFit():r.isScaledDown()?r.scaleToActual(d,u):r.group.length<2&&r.close(i.startEvent))}};if((!e.originalEvent||2!=e.originalEvent.button)&&(s.is("img")||!(d>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))o="Outside";else if(s.is(".fancybox-slide"))o="Slide";else{if(!r.current.$content||!r.current.$content.find(s).addBack().filter(s).length)return;o="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,Math.abs(d-i.tapX)>50||Math.abs(u-i.tapY)>50)return this;f("dblclick"+o)}else i.tapX=d,i.tapY=u,c.opts["dblclick"+o]&&c.opts["dblclick"+o]!==c.opts["click"+o]?i.tapped=setTimeout(function(){i.tapped=null,r.isAnimating||f("click"+o)},500):f("click"+o);return this}},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new d(e))}).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,n=t.instance,o=n.group[n.currIndex].opts.slideShow;t.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),n.group.length<2||!o?t.$button.hide():o.progress&&(t.$progress=e('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(t){var n=this,o=n.instance,i=o.current;i&&(!0===t||i.opts.loop||o.currIndex<o.group.length-1)?n.isActive&&"video"!==i.contentType&&(n.$progress&&e.fancybox.animate(n.$progress.show(),{scaleX:1},i.opts.slideShow.speed),n.timer=setTimeout(function(){o.current.opts.loop||o.current.index!=o.group.length-1?o.next():o.jumpTo(0)},i.opts.slideShow.speed)):(n.stop(),o.idleSecondsCounter=0,o.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null,t.$progress&&t.$progress.removeAttr("style").hide()},start:function(){var t=this,e=t.instance.current;e&&(t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.isActive=!0,e.isComplete&&t.set(!0),t.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1,t.instance.trigger("onSlideShowChange",!1),t.$progress&&t.$progress.removeAttr("style").hide()},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,o){var i=e&&e.SlideShow;o?i&&n.opts.slideShow.autoStart&&i.start():i&&i.isActive&&i.clear()},"afterShow.fb":function(t,e,n){var o=e&&e.SlideShow;o&&o.isActive&&o.set()},"afterKeydown.fb":function(n,o,i,a,s){var r=o&&o.SlideShow;!r||!i.opts.slideShow||80!==s&&32!==s||e(t.activeElement).is("button,a,input")||(a.preventDefault(),r.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),e(t).on("visibilitychange",function(){var n=e.fancybox.getInstance(),o=n&&n.SlideShow;o&&o.isActive&&(t.hidden?o.clear():o.set())})}(document,jQuery),function(t,e){"use strict";var n=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},o=0;o<e.length;o++){var i=e[o];if(i&&i[1]in t){for(var a=0;a<i.length;a++)n[e[0][a]]=i[a];return n}}return!1}();if(n){var o={request:function(e){e=e||t.documentElement,e[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e.extend(!0,e.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),e(t).on(n.fullscreenchange,function(){var t=o.isFullscreen(),n=e.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",t),n.$refs.container.toggleClass("fancybox-is-fullscreen",t),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))})}e(t).on({"onInit.fb":function(t,e){var i;if(!n)return void e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove();e&&e.group[e.currIndex].opts.fullScreen?(i=e.$refs.container,i.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),o.toggle()}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&o.request(),e.FullScreen=o):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(t,e,n,o,i){e&&e.FullScreen&&70===i&&(o.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&o.exit()}})}(document,jQuery),function(t,e){"use strict";var n="fancybox-thumbs";e.fancybox.defaults=e.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},e.fancybox.defaults);var o=function(t){this.init(t)};e.extend(o.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,n=t.group,o=0;e.instance=t,e.opts=n[t.currIndex].opts.thumbs,t.Thumbs=e,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var i=0,a=n.length;i<a&&(n[i].thumb&&o++,!(o>1));i++);o>1&&e.opts?(e.$button.removeAttr("style").on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var t,o=this,i=o.instance,a=o.opts.parentEl,s=[];o.$grid||(o.$grid=e('<div class="'+n+" "+n+"-"+o.opts.axis+'"></div>').appendTo(i.$refs.container.find(a).addBack().filter(a)),o.$grid.on("click","a",function(){i.jumpTo(e(this).attr("data-index"))})),o.$list||(o.$list=e('<div class="'+n+'__list">').appendTo(o.$grid)),e.each(i.group,function(e,n){t=n.thumb,t||"image"!==n.type||(t=n.src),s.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(t&&t.length?' style="background-image:url('+t+')"':'class="fancybox-thumbs-missing"')+"></a>")}),o.$list[0].innerHTML=s.join(""),"x"===o.opts.axis&&o.$list.width(parseInt(o.$grid.css("padding-right"),10)+i.group.length*o.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,n,o=this,i=o.$list,a=o.$grid;o.instance.current&&(e=i.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+o.instance.current.index+'"]').addClass("fancybox-thumbs-active"),n=e.position(),"y"===o.opts.axis&&(n.top<0||n.top>i.height()-e.outerHeight())?i.stop().animate({scrollTop:i.scrollTop()+n.top},t):"x"===o.opts.axis&&(n.left<a.scrollLeft()||n.left>a.scrollLeft()+(a.width()-e.outerWidth()))&&i.parent().stop().animate({scrollLeft:n.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focus(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&(n=new o(e),n.isActive&&!0===n.opts.autoStart&&n.show())},"beforeShow.fb":function(t,e,n,o){var i=e&&e.Thumbs;i&&i.isVisible&&i.focus(o?0:250)},"afterKeydown.fb":function(t,e,n,o,i){var a=e&&e.Thumbs;a&&a.isActive&&71===i&&(o.preventDefault(),a.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(t,e){"use strict";function n(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})}e.extend(!0,e.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location}, 21tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),e(t).on("click","[data-fancybox-share]",function(){var t,o,i=e.fancybox.getInstance(),a=i.current||null;a&&("function"===e.type(a.opts.share.url)&&(t=a.opts.share.url.apply(a,[i,a])),o=a.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===a.type?encodeURIComponent(a.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,n(t)).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),e.fancybox.open({src:i.translate(i,o),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){i.$refs.container.one("beforeClose.fb",function(){t.close(null,0)}),e.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})},mobile:{autoFocus:!1}}}))})}(document,jQuery),function(t,e,n){"use strict";function o(){var e=t.location.hash.substr(1),n=e.split("-"),o=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,i=n.join("-");return{hash:e,index:o<1?1:o,gallery:i}}function i(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function a(t){var e,n;return!!t&&(e=t.current?t.current.opts:t.opts,""!==(n=e.hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(e).on({"onInit.fb":function(t,e){var n,i;!1!==e.group[e.currIndex].opts.hash&&(n=o(),(i=a(e))&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,o,i,s){var r;i&&!1!==i.opts.hash&&(r=a(o))&&(o.currentHash=r+(o.group.length>1?"-"+(i.index+1):""),t.location.hash!=="#"+o.currentHash&&(s&&!o.origHash&&(o.origHash=t.location.hash),o.hashTimer&&clearTimeout(o.hashTimer),o.hashTimer=setTimeout(function(){"replaceState"in t.history?(t.history[s?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+o.currentHash),s&&(o.hasCreatedHistory=!0)):t.location.hash=o.currentHash,o.hashTimer=null},300)))},"beforeClose.fb":function(n,o,i){i&&!1!==i.opts.hash&&(clearTimeout(o.hashTimer),o.currentHash&&o.hasCreatedHistory?t.history.back():o.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(o.origHash||"")):t.location.hash=o.origHash),o.currentHash=null)}}),n(t).on("hashchange.fb",function(){var t=o(),e=null;n.each(n(".fancybox-container").get().reverse(),function(t,o){var i=n(o).data("FancyBox");if(i&&i.currentHash)return e=i,!1}),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&i(t)}),setTimeout(function(){n.fancybox.getInstance()||i(o())},50))})}(window,document,jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,e,o){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var o=e.current,i=(new Date).getTime();e.group.length<2||!1===o.opts.wheel||"auto"===o.opts.wheel&&"image"!==o.type||(t.preventDefault(),t.stopPropagation(),o.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,i-n<250||(n=i,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,jQuery);
21 22/* End */ 23; 24; /* Start:"a:4:{s:4:"full";s:60:"/local/templates/altesa/js/altesa-player.js?1733135093685387";s:6:"source";s:43:"/local/templates/altesa/js/altesa-player.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 25// Playerjs.com 19.12.15 26// 29.11.2024 07:11:02 27// API - https://playerjs.com/docs/q=api 28 29eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('if(!1A.4Z){1A.4Z=[];1A.eC}if(1A[\'F0\']){1y(F0,1)};E yc(2w){B o={1t:J,n7:[],vG:[],ek:J,j1:\'MW\',N1:zP,N2:zO,8g:\'19.12.15\',gQ:[\'8f\',\'\'],j0:\'\',1Z:J,7G:J,a0:J,N8:J,ep:J,5j:J,91:J,92:J,u:\'#Ng#N6#Bp#Mq#Bp#Mw#Mz#Mo#ML#MR#O3#O9#NC#Ns#NO#Lh#Lo#Lq#L9#pJ#L8#L4#M4#pJ#M8#Mg#LH#LL#pJ#LN#LB#Lj#Lp#Om#R6#Rb#Rh#pJ#S7==\',u2:\'\',u3:\'\',u4:\'\',u5:\'\',u6:\'\',u7:\'\',u8:\'\',u9:\'\',Sf:\'\',y:\'xx?x?x=\',p:\'\',Sm:-1,rk:"C8",eR:"//C8.a7",7l:[],dt:H,pr:H,ga:J,ab:J,hx:[],Rw:J,ej:\'//.9o//\',x5:0,2x:[],7n:[],aj:[],2X:[],mg:[],aq:0,9Z:[],qm:0,ri:J,5Q:J,1v:J,wo:J,7P:J,ni:\'<Eg>\',hw:\'</Eg>\',al:1A.aB.Z<2i&&1A.aB.1f<2i,rU:[],Ru:[],5A:{\'1M\':1,\'DK\':1,\'eX\':1,\'ds\':1,\'m0\':0},9L:[],xr:0,ew:0,5b:J,51:J,eI:J,pW:J,RU:[],lE:[],bm:J,cP:0,ic:J,vI:1E,jY:1E,qv:J,Ao:E(x){B a;I a},P1:0,mv:4y,4o:J,dz:J,xF:1Q.xF,d:8I.ud,kX:8I.ud,8O:8I.8O,jZ:8I.8O.K("jZ")==0,P6:{},tP:\'P8-Bi.a7/Bi.js\',fd:["Ao","z9"],5R:[],Pd:[],Pi:[],hn:1,lR:[],z9:E(x,y,z){B a;I a},18:0,l5:0,5e:J,dk:-1,ae:3,OF:0,rQ:0,am:0,3E:{x:1,y:1,x0:1,y0:1},cX:["fU","fP","eH","l2","kR","kh","ns","km","cZ","bB","lO","lo"],q6:["Q8","Q9","Qa","Qc"],e1:0,Qg:0,qy:0,Cs:0,dX:0,Bn:[],c0:[\'7m\',\'ee\',\'oh\',\'6z\'],Qi:[],nL:H,nR:[],mL:0,ws:"w"+"s",ek:J,gk:[J,J,J]};B h3={S:{w:20,h:20,1d:"-",Qk:"-",a:1,7o:-1,1u:"3H",1H:"",1M:1,fc:-1,b9:0,2t:1,1q:"",1C:"",42:"Qn",gw:12,jV:0,1r:"Q",2Q:"0 3 0 3",9X:"0 0 0 0",2p:1,hl:"0 0 0 0",Qp:0,hD:1,bg:0,q5:0,HN:0,5Y:1,8D:-1,5h:"3U",ar:-1,fw:"0 0 0 0",pF:-1,pE:"3H",aw:-1,oY:-1,5S:"1W",4i:"z4",2t:0,jd:"3U",jt:0.7,uW:0,uZ:"3H",jb:"3 5 3 5",PA:"0 0 0 0",Pt:1,v1:"qe-qf",v3:11,v4:0,2J:"",Gy:5,Gw:0,3f:0,PS:2,PJ:2,Ii:0.2,Io:0,Ip:0.1,fV:0,Pz:"PV",PW:1,Q7:5,Ig:"3U",Ij:"3H",FG:"3H",Id:1,Hn:1,vY:1,7y:0,3A:0,fB:20,dH:"<2y Z=\'20\' 1f=\'20\'><g><dB ry=\'5\' rx=\'5\' cy=\'10\' cx=\'10\' 6n=\'#gN\'/></g></2y>",vK:1,pk:-1,k1:0,pt:1,yF:-1,Q5:0.1,h0:0,3c:"",ES:0,EN:"z4",3v:"",Fk:DY,Fn:DY,IL:0,5z:0,6b:"3H",FB:0,FD:"3U",Fm:9,yu:"0 0 10 0",yX:"0 0 0 0",FA:0}};E Jx(){I H;o.JW=H}E cm(s){if(s.K(\'.\')==-1){s=s.1j(1);s2=\'\';U(i=0;i<s.R;i+=3){s2+=\'%u0\'+s.4M(i,i+3)}s=Pr(s2)}I s};E Jy(){if(o.u!=\'\'){v=8W(v,54.7a(dN(o.u)))}if(2w.K("#"+v.9F)==0){2R{2w=54.7a(o[o.fd[0]](2w))}2D(e){}}F{if(2w.K("#"+v.bS)==0){2R{2w=54.7a(o[o.fd[1]](2w))}2D(e){}}}}E 7K(x,y){}E oz(y,1e){}B rE=E(){B 8U=22("28");o.1R.1V(8U);O(8U,{\'1r\':\'2E\',\'1b\':0,\'1c\':0,\'Z\':\'100%\',\'1f\':30,\'2C-1u\':v.Jp,\'1B\':v.KP,\'2k\':\'1W\'});B x=22("28");o.1R.1V(x);O(x,{\'1r\':\'2E\',\'1b\':0,\'1c\':0,\'Z\':\'100%\',\'1u\':v.Kk,\'42-3J\':v.KH,\'2S\':(v.Ko+\'px \'+v.Ku+\'px\'),\'2k\':\'1W\'});G.9o=E(1C,n){x.1T=1C;6E(x);O(8U,{\'1f\':x.2V,\'2k\':\'4w\'});8U.C.4W="OX";U(B i=0;i<x.aP(\'a\').R;i++){x.aP(\'a\')[i].C.1u=\'#gN\'}if(n){1y(G.lH,2i*n)}x.C.4W="Pq"};G.lH=E(){3h(x);3h(8U)}};2h(E(w,i,s,e){B af=0;B 9t=0;B fh=0;B eq=[];B dV=[];ll(H){if(af<5)dV.2N(w.6F(af));F if(af<w.R)eq.2N(w.6F(af));af++;if(9t<5)dV.2N(i.6F(9t));F if(9t<i.R)eq.2N(i.6F(9t));9t++;if(fh<5)dV.2N(s.6F(fh));F if(fh<s.R)eq.2N(s.6F(fh));fh++;if(w.R+i.R+s.R+e.R==eq.R+dV.R+e.R)1h}B Df=eq.tX(\'\');B DV=dV.tX(\'\');9t=0;B tQ=[];U(af=0;af<eq.R;af+=2){B td=-1;if(DV.aQ(9t)%2)td=1;tQ.2N(6Y.wk(2L(Df.1j(af,2),36)-td));9t++;if(9t>=dV.R)9t=0}I tQ.tX(\'\')}(\'Sk\',\'QU\',\'QT\',\'QG\'));B v={1n:0,yb:0,qj:"#3U",2T:0,rV:1,8z:"#3U",5h:"#3H",7y:0,eo:1,pP:1,3g:0,uu:1,eA:0,yI:1,1p:{QX:0,1u:"3U",a:"0.4",h:34,jG:1,1l:1,hC:1,dv:0,iS:3,7X:0,sa:3,5S:"1W",1r:"2O",2Q:"0 0 0 0",7y:0,hk:0,a5:\'\'},1N:{on:1,f:1,r:1,m:1,3B:5,xX:"3B",9x:1,xY:"1I",q0:0,H9:0,yl:1,hf:0.2},W:{5h:"3U",ar:"pb",5Y:0.9,8D:-1,1r:"1b",2Q:"0 0 0 0",2S:"7 15 7 15",1u:"3H",42:"AQ, AM, qe-qf",gw:12,5k:10,jV:0,6b:"AO",IV:1,8z:"Rj",a:1,7o:-1,R8:0,R4:100,Qt:Ll,Mf:1,yh:1,F6:"LF",yw:"3U",yY:-1,LP:-1,EC:0,6S:3,ip:16,IU:"LU",7y:0,hZ:1,ny:1,nv:"3H",yz:0,yv:"3U",Fa:1,Fb:0,Fe:"pb",o2:0,l4:4y,bG:0,6U:0,Fs:0,Ft:0,dl:1,3y:0,i7:50,rM:0,mH:1,dD:LE,pX:0,yq:"pb",yK:"0 0 0 0",rD:30,8z:"zW"},1g:{5h:"3U",ar:"Le",5Y:0.7,8D:-1,42:"AQ, AM, qe-qf",1r:"2O-2u",2Q:"0 0 0 0",2S:"7 10 7 15",1u:"3H",gw:12,ip:16,5k:10,jV:0,Og:"3H",6b:"AO",a:1,1M:5,7o:-1,tJ:1,6S:3,hZ:1,ny:1,nv:"3H",o2:0,l4:4y,7y:0,O6:1,O4:"53",4E:1,Nk:"7A",MO:1,Ms:"1X",Mp:0,N5:"6M",MS:0,N4:"4T",rD:30,8z:"zW"},P3:{1r:"2O-2u",2Q:"0 10 50 0"},1I:0.8,qE:1,pY:1,8R:0,5H:0,E3:1,59:0,4G:0,Jl:0,JF:0,3k:0,vm:1,qo:0,xo:0,xt:0,im:\',\',kH:\';\',ex:\'//\',sT:1,i2:\'[\',eF:\']\',f5:\'6n\',ox:1,nF:-1,v7:0,O1:\'20 0 0 20\',O2:\'1c-1b\',Nn:100,M3:100,Lz:-1,qU:0,E2:1,Jp:"pD",Kk:"3H",Ko:5,Ku:10,KP:1,KH:10,qm:0,wq:1,sb:1,eT:1,4Y:\'Ro\',yd:0,jf:\'5t\',9U:1,K0:0,Jo:0,Jc:0,9h:1,c4:1,Ja:5,6A:0,Cx:1,mS:0,tw:5,Qw:0,QD:0,QL:0,mq:1,zc:1,Je:0,Kx:0,QM:0,tD:1,l9:0,3l:"B6",QO:HP,p4:\'100%\',ga:0,za:{8w:1,2n:0,kZ:0,4f:0,1t:1,yZ:0,z2:0,z3:0,QY:0,Rs:0,S0:0},zI:{8w:1,2n:0,kZ:0,4f:0,1t:1,yZ:0,z2:0,z3:0},S4:100,sM:1,fF:1,pj:14,fU:\'100%\',CA:1,ph:20,BX:1,kR:0.7,CW:2,uP:3,cZ:10,fP
29:"3H",eH:"HK",l2:"3U",kh:0,ns:0,km:kb,so:1,bB:0,ue:1,8L:1,Sh:1,Sl:0.3,RE:3,Rt:4,OZ:5,P2:0,P4:P5,Pb:EJ,CD:0,CE:1,yJ:1,gt:1,A0:1,wu:0,FT:Pe,FU:90,FH:0,FW:1,FY:"pb",FV:0,FZ:1,9F:\'2\',bS:\'3\',OW:10,OE:1,OV:1,Or:-1,Ot:1,Ov:1,Ox:-1,Oy:0,OJ:1,OL:0,OM:1,ON:0,OQ:1,Q0:0,Q4:1,PY:0,Qo:1,PH:0,Pu:1,Pv:0,r3:1,Pw:0,Px:0,Py:1,PB:0,PC:1,PE:"#3H",PF:"#3U",PI:"#3U",PL:"#3H",PM:"#3U",PN:"#3H",PR:"#3U",Qv:"#3H",PG:"#3U",PD:"#3H",Qq:"#3U",Ql:"#3H",Qj:1,Qh:0,Qf:1,Qe:0.5,Q6:"#3H",Q2:"#3U",Q1:1,PX:1,OT:1,OO:1,Ow:1,Ou:10,Os:-1,Pp:1,Pk:1,Pj:0,oe:0,Ph:"or",Pg:"or",Pa:"or",P7:"or",P0:"50%",Ps:-1,Qs:0,RV:-1,RT:0,RP:0,Az:1,Av:0,RO:30,RN:2,Dn:10,Cc:0,RM:30,zh:1,zH:1,6g:0,2b:{on:0,5h:"3U",2T:0,ah:2,8z:"3U",1r:"1b",2Q:"20 0 0 20",Z:rb,1l:0}};v.9G="ru";B 8b=E(is){B i;B C=[];B f=[];B 9J=[];B RK=[];B 5Z=[];B 8i=[];B 1L=[];B f2=[];B f8=[];B RG=[];B 4V=[];B 5I=[];B 5r=[];B dw=[];B bW=J;B 2j;B aK=-1;B 4S=H;B 1a=is;B 6e=is=="1g";B W;B 5H=[];B dy=[];B mb;B 3u=\'\';B d9=\'\';B 6d=-1;B kB;B eQ=J;B RF=J;B mO=J;B mW=J;B g8=J;B jn=J;B n0;B wn;B m6;B iS;B uM;B hI=[];B 6m=[];B pg=0;B aL=0;B 9B;B 6i="2p";B bc=(o.1i.2f?"fi":"q7");B bf=(o.1i.2f?"fH":"qk");C=8W(C,v[is]);C=4h(v[is],\'2Q\',\'2Q\');C=4h(v[is],\'9X\',\'9X\');C=4h(v[is],\'b6\',\'b6\');if(C.pX==0){C.yK="0 0 0 0"}C=4h(v[is],\'fw\',\'yK\');C=4h(v[is],\'2S\',\'2S\');C.ob=0;B kQ="<2y C=\'2Q-1c:c8\' Z=\'"+C.6S*2+"\' 1f=\'"+(C.6S*2>C.5k?(C.6S*2):C.5k)+"\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\'><g><dB ry=\'"+(C.6S)+"\' rx=\'"+C.6S+"\' cy=\'"+(C.6S*2>C.5k?(C.6S):(C.5k/2))+"\' cx=\'"+C.6S+"\' 6n=\'"+3x(C.6b)+"\'/></g></2y>";B GV="<2y Z=\'"+C.6S*2+"\' 1f=\'"+C.5k+"\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\' ><g><dB ry=\'"+(C.6S-1)+"\' rx=\'"+(C.6S-1)+"\' cy=\'"+(C.5k/2+2)+"\' cx=\'"+C.6S+"\' 4s=\'"+3x(C.6b)+"\' 4s=\'1\' 6n-1B=\'0\'/></g></2y>";B xx=4;B Il="<5d C=\'2k:cO-4w;\'><2y Z=\'"+(xx+2)+"\' 1f=\'"+(C.5k)+"\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\'><g><2I x1=\'1\' y1=\'"+(C.5k/2-xx)+"\' x2=\'"+xx+"\' y2=\'"+(C.5k/2)+"\' 4s=\'#"+C.1u+"\' 4s-Z=\'1\' 4s-eZ=\'4t\'/><2I x1=\'"+xx+"\' y1=\'"+(C.5k/2)+"\' x2=\'1\' y2=\'"+(C.5k/2+xx)+"\' 4s=\'#"+C.1u+"\' 4s-Z=\'1\' 4s-eZ=\'4t\'/></g></2y></5d>";B iU="<5d C=\'2k:cO-4w;\'><2y Z=\'"+(xx+10)+"\' 1f=\'"+(C.5k+1)+"\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\' C=\'kp:1b\'><g><2I x1=\'1\' y1=\'"+(C.5k/2+2)+"\' x2=\'"+xx+"\' y2=\'"+(C.5k/2-xx+2)+"\' 4s=\'#"+C.1u+"\' 4s-Z=\'1\' 4s-eZ=\'4t\' /><2I x1=\'1\' y1=\'"+(C.5k/2+2)+"\' x2=\'"+xx+"\' y2=\'"+(C.5k/2+xx+2)+"\' 4s=\'#"+C.1u+"\' 4s-Z=\'1\' 4s-eZ=\'4t\'/></g></2y></5d>";B 8z=5x(2m(C.8z,\'3H\'),2m(C.IS,1));B 1F=22("28");o.1R.1V(1F);O(1F,{\'6G\':\'3f\',\'2k\':\'4w\',\'1B\':0,\'2T-6B\':C.7y});if(C.pF==1){O(1F,{"2T":"4q 6N "+3x(2m(C.pE,\'3H\'))})}B jh={};U(B i in o.5A){if(o.5A.2v(i)){jh[o.5A[i]]=-1}}if(6e){1F.C.4W=RB}F{1F.C.4W=RX}B Y=22("28");if(o.al){C.Fw>0?C.gw=C.Fw:\'\';C.Fu>0?C.dD=C.Fu:\'\';C.Fr>0?C.i7=C.Fr:\'\'}O(Y,{\'1r\':\'gz\',\'1c\':0,\'1b\':0,\'2k\':\'4w\',\'Z\':\'100%\',\'2S-1c\':C.bw,\'2S-2u\':C.6V+(6e&&C.3y==1?0:20),\'2S-2O\':C.bn,\'2S-1b\':C.7d,\'1u\':C.1u,\'42-3J\':C.gw*2m(v.8r,1),\'42-f1\':gx(C.42),\'kT-fK\':C.jV+\'px\'});if(o.1i.6w){O(Y,{\'9z-Z\':Fq})}if(is!=="W"){O(Y,{\'6G-y\':(6e&&C.3y==1?\'3f\':\'9n\')})}1F.1V(Y);if(C.3y!=1){B 7f=22("28");O(7f,{\'2k\':\'4w\',\'6G\':\'3f\',\'2T-6B\':C.7y});if(C.3y!=1){if(o.1i.6w){O(7f,{\'9z-Z\':Fq})}}Y.1V(7f)}3W(Y,{id:(v.id+"4a"+is)});if(is=="W"){if(C.3y==1){O(Y,{\'Z\':\'100%\',\'2S-2u\':C.6V,\'2S-2O\':C.bn+20,\'6G-x\':\'9n\',\'6G-y\':\'3f\',\'bo-9x\':\'dZ\'});O(1F,{\'Z\':o.3a-C.4O-C.4F,\'1f\':C.i7+C.bw+C.bn})}F{O(Y,{\'6G-y\':\'9n\',\'6G-x\':\'3f\'});if(C.Gc==1){mz()}}if(C.pX==1){O(1F,{\'2C-1u\':C.yq})}if(v.W.2P==1){3h(1F)}}if(C.hZ==1){B 5E=22("28");B ba=5x(C.pX==1?C.yq:C.5h);if(C.3y==1){i9(5E,\'to 2u, 5o(\'+ba+\',\'+(C.5Y*1+0.3)+\'), 5o(\'+ba+\',0)\',\'1b\',12,5,7,10,7,10,12,15);5E.1w(6i,FC)}F{i9(5E,\'to 2O, 5o(\'+ba+\',\'+(C.5Y*1+0.3)+\'), 5o(\'+ba+\',0)\',\'1c\',5,12,10,7,10,7,15,12);5E.1w(6i,Fx)}B 5K=22("28");if(C.3y==1){i9(5K,\'to 1b, 5o(\'+ba+\',\'+(C.5Y*1+0.3)+\'), 5o(\'+ba+\',0)\',\'2u\',8,5,13,10,13,10,8,15);5K.1w(6i,Fz)}F{i9(5K,\'to 2O, 5o(\'+ba+\',0), 5o(\'+ba+\',\'+(C.5Y*1+0.3)+\')\',\'2O\',5,8,10,13,10,13,15,8);5K.1w(6i,Fv)}5E.1w("q7",hW);5E.1w("qk",hW);5K.1w("q7",hW);5K.1w("qk",hW);Y.1w("yt",I9,{5J:J});5E.1w("9S",bb);5K.1w("9S",bb);1F.1V(5E);1F.1V(5K);3I(wn);wn=7I(Fo,2i)}Y.1w(bc,I5,{5J:J});Y.1w(bf,wL,{5J:J});if(v.W.9B>0&&!9B&&is=="W"){if(1G In!=="1E"){9B=1z In()}}if(6e){U(B i=1;i<15;i++){if(L(v["c9"+is][is+i])){v.1g[is+i]=v["c9"+is][is+i];if(L(v["c9"+is][is+i+"1O"])){v.1g[is+i+"1O"]=v["c9"+is][is+i+"1O"]}if(L(v["c9"+is][is+i+"1d"])){v.1g[is+i+"1d"]=v["c9"+is][is+i+"1d"]}}if(L(v.1g[is+i])){if(v.1g[is+i]==1){bN(\'f\',i);bY(f[i],9J[i],5Z[i],8i[i],i);B 5w=v.1g[is+i+"1d"];B 7g=v.1g[is+i+"1O"];if(!L(5w)){v.1g[is+i+"1d"]="4T"}if(5w){if(5w.K("3F")>-1&&7g){if(!v[\'6r\'+5w]){if(7g.K(":")>0){B mi=5w.4M(-1);B dm=v[\'lk\'+mi];B k=4D(7g.1j(7g.K(":")+1)).2q(\',\');B ka=[];B iD;U(B j=0;j<k.R;j++){if(k[j].K("(*)")>-1){!L(dm)?dm=j:\'\';k[j]=k[j].1P("(*)",\'\')}iD=k[j].K("->2U:");ka[j]=\'\';if(iD>0){ka[j]=k[j].1j(iD+6);k[j]=k[j].1j(0,iD)}}o[\'6r\'+5w]=k;o[\'m\'+mi+\'4a\'+\'2U\']=ka;7g=v.1g[is+i+"1O"]=7g.1j(0,7g.K(":"))}F{o[\'6r\'+5w]=[];v.1g[is+i+"1O"]=7g}v[\'6r\'+5w]=1;o[\'hq\'+5w]=2m(dm,0)}}}5Z[i].1T=2K(5w);if(2g(7g)){5Z[i].1T=7g}if(5w=="2W"){o.eS=H}1L[i]=5w;7F(i);if(1L[i]==\'lz\'){if(1G Ih!=="1E"){!o.fC?o.fC=1z Ih():\'\';if(L(1A.vg)){5Z[i].1T=o.fC.Rq();o.fC.Ch()}}}if(1L[i]in o.5A){jh[1L[i]]=i}f[i].1w(bc,6t,{5J:J});f[i].1w(bf,5X,{5J:J});f[i].1w(6i,aX);f[i].1w("9S",bb);if(v.1g[is+i+"1l"]==1){O(f[i],{"1f":0})}}}}}E I9(x){if(is=="W"&&C.3y==1&&x){if(x.yD==0&&x.cC!=0){Y.bd-=x.cC;x.8K()}}3I(m6);m6=7I(wL,j6);bp()}E I5(){o.3D=H}E wL(){if(C.gn==1){2F(o.gv);o.gv=1y(E(){if(!o.3D&&!o.nT){8o()}},(v.1g.gH>0?v.1g.gH*2i:(o.1i.tv?4d:2i)))}o.3D=J}
29E 6t(1e){if(o.1Z){o.5q?o.V.5q(J):\'\'}B i=1e.4i.5V(\'ou\');B x;if(i){x=\'f\'}F{if(1e.4i.5V(\'bv\')){i=1e.4i.5V(\'bv\');x=\'f2\'}}if(i){i=2L(i);B gE=J;if(L(2h(x)[i])){if(C.8D>-1){O(2h(x+\'bg\')[i],{\'1B\':C.8D})}if(2g(C.dI)){O(2h(x+\'bg\')[i],{\'6Q\':\'eX(\'+C.dI+\')\'})}if(C.7o>-1){O(2h(x+\'1O\')[i],{\'1B\':C.7o});O(2h(x+\'5z\')[i],{\'1B\':C.7o})}if(is=="W"){if(1L[i].K("W")==0){B id=1L[i].1j(8);if(3u==id||d9==id){O(2h(x+\'1O\')[i],{\'1u\':C.6b});O(2h(x+\'5z\')[i],{\'1u\':C.6b});gE=H}F{O(2h(x+\'1O\')[i],{\'1u\':C.1u})}}}if(C.xP==1&&L(C.ly)&&gE){}F{O(2h(x+\'bg\')[i],{\'7M\':C.ar})}}}};E 5X(1e){if(o.1Z){o.5q?o.V.5q(H):\'\'}B i=1e.4i.5V(\'ou\');B x;B gE=J;3I(hL);bp();if(i){x=\'f\'}F{if(1e.4i.5V(\'bv\')){i=1e.4i.5V(\'bv\');x=\'f2\'}}if(i){if(L(2h(x)[i])){if(C.8D>-1){O(2h(x+\'bg\')[i],{\'1B\':C.5Y})}if(2g(C.dI)){O(2h(x+\'bg\')[i],{\'6Q\':\'eX(1)\'})}if(C.7o>-1){O(2h(x+\'1O\')[i],{\'1B\':C.a});O(2h(x+\'5z\')[i],{\'1B\':C.a})}if(is=="W"){if(1L[i].K("W")==0){B id=1L[i].1j(8);if(3u==id||d9==id){O(2h(x+\'1O\')[i],{\'1u\':C.6b});O(2h(x+\'5z\')[i],{\'1u\':C.6b});gE=H}F{if(L(o.9Z[id])){io(i)}F{O(2h(x+\'1O\')[i],{\'1u\':C.1u})}}}}if(C.xP==1&&L(C.ly)&&gE){}F{O(2h(x+\'bg\')[i],{\'7M\':o.9Z[id]?C.yw:C.5h})}}}}E aX(1e){if(!g8){B d=1z 7W();o.bx=d.9K();B i=1e.4i.5V(\'ou\');if(i){if(L(f[i])){if(L(1L[i])){if(is=="W"){o.2e=1E}4X(i,0)}}}pz()}}B wR;B hL;E Hp(1e){if(!g8){B i=1e.4i.5V(\'bv\');if(i){if(L(5r[i])){if(2j in o.5A){wR=i;hL=7I(HY,4y)}}}}}E HY(){z5(wR)}E bb(1e){3I(hL);1e.6x=H;bp()}E xe(1e){3I(hL);if(!g8){B d=1z 7W();o.bx=d.9K();B i=1e.4i.5V(\'bv\');if(i){if(i==0){if(5r[0]==\'1u\'){cW();4X(pg)}F{dn()}}F{if(L(5r[i])){z5(i)}}}}}E qh(1e){B x=1e.4i.5V(\'H5\');if(x){xi(x)}}E H4(1e){bp();B i=1e.4i.5V(\'bv\');if(L(5r[i])){if(7i("=",i)>0){B x=5r[i].1j(0,7i("=",i));B y=5r[i].1j(7i("=",i)+1);B z=2j+\'HB\';if(!v[z]){v[z]=[]}if(!L(v[z][x])){v[z][x]=v[x]+\'\'}wX(x,y)}}};E wX(x,y){v[x]=y;if(o.5m&&v.so==1&&x!="bB"){3R.9f("pG"+x,y)}if(o.5e&&o.3K){o.3K.aa()}o.V.iL();xi(x)}E GP(1e){B i=1e.4i.5V(\'bv\');B x=5r[i];if(L(x)){if(x.K("=")>0){B z=x.1j(0,x.K("="));B y=x.1j(x.K("=")+1);v[z]=y;uE();7F(o[2j+\'xm\']);if(2j=="kv"){7K("EU")}}}}E 7F(i){if(L(1L[i])){B az=J;B 7V=J;B 5i=\'\';if(6e){if(1L[i]=="53"){5i=o.P.uk()}if(1L[i]=="7A"){5i=o.P.un()}if(1L[i]=="2W"){5i=\' \';7V=H}if(1L[i].K("3F")>-1){if(o[\'6r\'+1L[i]]){if(o[\'6r\'+1L[i]].R>0){B t=o[\'hq\'+1L[i]];if(t!=-1){5i=o[\'6r\'+1L[i]][t]}7V=H}}}if(1L[i]=="cN"){if(o.7D){5i=o.mg[o.Op]}}if(1L[i]=="7A"||1L[i]=="cN"||1L[i]=="53"){if(o[\'6r\'+1L[i]].R==0){az=H}F{if(o[\'6r\'+1L[i]].R==1&&(C.Jw!=1||o[\'6r\'+1L[i]][0]==1)){az=H}F{7V=H}}}if(1L[i]=="5j"){if(!o.5j){az=H}F{7V=H}}if(1L[i]=="6M"){if(o.2o!=\'e3\'&&!v.6M){az=H}F{7V=H}}if(1L[i]=="1X"){if(L(o.1Y)){7V=H;if(o.51||v.8L==1){if(o.3w){5i=o.2X[!o.51?o.3w.7s():o.3n]}}F{5i=\'\'}B hu=0;U(B s=0;s<o.1Y.R;s++){if(o.1Y[s]!=\'\'){hu++}}if(hu==1&&o.kK==1){hu=0}if(v.mw==1&&v.v5==1){}F{if(hu==0){az=H;7V=J}}}F{az=H}}if(1L[i]=="4T"){5i=o.5R[o.ae];5i==1&&C.du!=1?5i=2K(\'dW\'):\'\';7V=H;if(o.2o=="ci"||(o.P.5T()&&C.Li!=1)){az=H;7V=J}}if(1L[i]in o.5A){5i=kw(1L[i]);7V=H}if(1L[i].K("8B")>0){B x=\' \';B y=[\'sL\',\'sK\',\'sI\'];U(B z=0;z<y.R;z++){if(L(v[1L[i]+y[z]])){if(v[1L[i]+y[z]]!==\' \'){x+=(x!==\' \'?\':\':\'\')+v[1L[i]+y[z]]}}}5i=x!=\' 0:0\'&&x.K(":")>-1?x:\' \';o[1L[i]+\'7N\']=5i;7V=H}}8i[i].1T=5i+(5i!=\'\'&&C.Lf!=1?\' &h6;<2y Z="kN" 1f="IM" uF="-1 -1 5 8" 8g="1.1" 4c="3P://4b.w3.43/4d/2y" 4c:4e="3P://4b.w3.43/7Y/4e"><pL 4s="#\'+3x(C.6b)+\'" 4s-Z="1" 6n="1W" 8k="0 0 3 3 0 6"></pL></2y>\':\'\');B Iv=6e&&aK!=-1;if(az){1l(f[i]);if(6e){dw[i]?2F(dw[i]):\'\';if(o.Q){o.Q.kf(i,J,5i)}F{dw[i]=1y(E(){o.Q.kf(i,J,5i)},4y)}}O(f[i],{\'1r\':\'2E\',\'2u\':0,\'1c\':-100})}if(7V){if(Iv){}F{if(C.3y==1){O(f[i],{\'2k\':\'cO-4w\'})}F{1o(f[i])}}if(6e){dw[i]?2F(dw[i]):\'\';if(o.Q){o.Q.kf(i,H,5i)}F{dw[i]=1y(E(){o.Q.kf(i,H,5i)},47)}}O(f[i],{\'1r\':\'gz\',\'2u\':0,\'1c\':0})}2A()}U(B j=1;j<f.R;j++){if(f[j]){if(5O(f[j])){B 4C=J;4S?4C=H:\'\';4S=J;4C&&o.Q?o.Q.4C():\'\'}}}};B wa=0;E 4X(i,Hg,fa){fa?1L[i]=fa:\'\';if(L(1L[i])){o.nT=H;bp();B x=uJ();if(6e){aK==-1?wa=x[0]:x[0]=wa}if(2j!=1L[i]){2j=1L[i];B wh=2j.K("3F")>-1;if(2j==\'53\'||2j==\'7A\'||2j==\'1X\'||2j==\'4T\'||wh||2j==\'cN\'||2j in o.5A||2j.K("8B")>0||2j==\'2W\'||2j==\'1u\'){aK=i;B z=dG(o[\'6r\'+2j]);if(2j=="lA"){if(C.rS==1){z=7K("Lg")}F{z=7K("Lr")}}if(2j=="kv"){z=7K("L7")}
29if(2j=="2W"&&o.2W){z=[];U(B j=1;j<=16;j++){if(L(v["2W"+j])){z.2N(2K(v["2W"+j]));hI[z.R]=v["2W"+j]}}}if(2j=="1u"&&o.4o){z=[];pg=i;U(B j=0;j<o.q6.R;j++){B co=o.q6[j].1j(4);z.2N(2K(co));6m[z.R]=co}}if(z.R==0&&wh){B ai=2j.4M(-1);if(L(1A[\'os\'+ai])){1A[\'os\'+ai](v.id)}8o();I}B eY=o[\'hq\'+2j];B GW=o[\'L3\'+2j];U(B j=1;j<f.R;j++){if(f[j]){f[j].C.2k="1W"}}f2=[];bN(\'f2\',0);bY(f2[0],f8[0],4V[0],5I[0],0);O(f2[0],{"2T-2O":"4q 6N "+(C.xg==1?8z:"5o(100,100,100,0.7)")});aL=Hg;B oV=J;4V[0].1T=(x[0]<2||aL==1||C.wl==1?\'\':iU)+(v.1g[is+i+"1O"]&&v.1g[is+i+"1O"]!=\'\'?v.1g[is+i+"1O"]:2K(v.1g[is+i+"1d"]))+(o[1L[i]+\'7N\']?o[1L[i]+\'7N\']:\'\');if(2j==\'1X\'&&!o.vC){B ki=22("28");ki.1T=2K("2w");O(ki,{\'1u\':C.1u,\'9T\':\'2B\',\'6P\':\'4H\'});5I[0].1V(ki);ki.1w(6i,G3);oV=H}if(2j==\'1X\'&&v.mw==1&&!o.1i.tv&&L(1A.vg)){B uf=22("28");!o.3w?o.3w=1z iN():\'\';uf.1T="<r9 1H=\'3b\' id=\'"+v.id+"He\' Nm=\'.tW,.tM,.k9\' C=\'2k:1W\'/>"+2K(\'Dm\');O(uf,{\'1u\':C.1u,\'9T\':\'2B\',\'6P\':\'4H\',\'2Q-1b\':(oV?\'dp\':0)});5I[0].1V(uf);o.fD=1Q.8e(v.id+"He");o.fD.NB=o.3w.tz;uf.1w(6i,o.3w.tz)}if(oV){if(eQ){if(aL==2){z=[];3h(f2[0])}U(j=0;j<o.cX.R;j++){if(v.lX==0&&o.cX[j]=="eH"){}F{z.2N("Nt"+o.cX[j])}}}}O(4V[0],{\'42-3J\':C.ip*2m(v.8r,1)});5r[0]="Nq";if(2j in o.5A){ut(2j);if(pg>0&&o.q6.K(\'Ol\'+2j)>-1){4V[0].1T=iU+2K(2j);5r[0]="1u";5I[0].1T=kw(2j)}O(5I[0],{\'Z\':C.5k*2.5,\'1C-8s\':\'2u\'})}if(aL!=1&&x[0]>1){f2[0].1w(bc,6t);f2[0].1w(bf,5X);f2[0].1w(6i,xe);f2[0].1w("9S",bb)}F{O(f2[0],{"6P":\'7b\'})}if(C.rl==1){3h(f2[0])}if(L(z)){B zz=\'\';U(j=0;j<z.R;j++){B y=j+1;B dq=0;B 6v=J;if(z[j]&&4D(z[j])!=\'\'){if(2j==\'53\'){if(z[j]==2K("2B")){dq=1}if(o.2o=="1D"&&v.Oj==1){B iz=5g(z[j]);if(iz&&iz<zz){dq=2}zz=5g(z[j])}}bN(\'f2\',y,dq);bY(f2[y],f8[y],4V[y],5I[y],1L[i],i);if(2j==\'4T\'){z[j]==1&&C.du!=1?z[j]=2K(\'dW\'):\'\'}if(1G(z[j])==\'4z\'){if(z[j].K("<<<")==0){z[j]=z[j].1P(\'<<<\',\'\');6v=H}if(z[j].K(\'8B\')>0){o[2j+\'xm\']=i}if(z[j].K("ya")==0){B 1J=z[j];if(1J.K("8B")>0){4V[y].1T=2K(z[j].1j(1J.K("8B")+5))}F{4V[y].1T=2K(z[j].1j(7))}if(z[j]==\'Oi\'){mb=f2[y];O(f2[y],{"2T-1c":"4q 6N "+(C.xg==1?8z:"5o(100,100,100,0.7)")})}}F{4V[y].1T=z[j]}}F{4V[y].1T=z[j]}5r[y]=2j+j;if(eY==j||GW==j){5I[y].1T=eY==j?kQ:GV;if(eY==j){lq(y)}}if(1G(z[j])==\'4z\'){if(z[j].K("ya")==0){B t=z[j].1j(7);if(t.K("1u")>0){5I[y].1T="<28 C=\'"+(v[t]=="3U"?\'2T:4q 6N #iY;1f:aC;Z:aC;\':\'1f:dp;Z:dp;\')+";2C-1u:"+(v[t].K("#")==-1?\'#\':\'\')+v[t]+";2T-6B:dp;\'></28>"}F{if(L(v[z[j].1j(7)])){5I[y].1T=v[z[j].1j(7)]}}}if(2j=="2W"){if(L(hI[y])&&o.2W){5I[y].1T=o.2W.1q(hI[y],0.7,3x(C.6b))}}if(2j=="1u"){if(L(6m[y])&&o.4o){5I[y].1T=kw(6m[y])}}if(2j==\'53\'){if(z[j]==2K("2B")&&o.P.kM()){lq(y)}if(2g(v.c7)){B fq=v.c7.2q(",");U(B k=0;k<fq.R;k++){if(z[j].K(fq[k])>-1){3h(f2[y])}}}}}B xj="";if(1G(z[j])==\'4z\'){if(z[j].K("ya")==0){3W(f2[y],{\'Od\':i,\'H5\':z[j].1j(7)});xj="qh"}}if(!6v){f2[y].1w(bc,6t);f2[y].1w(bf,5X);if(xj=="qh"){f2[y].1w(6i,qh)}F{f2[y].1w(6i,xe)}f2[y].1w("9S",bb);f2[y].1w("E6",Hp)}F{O(f2[y],{"6P":"7b"})}}}}2A()}if(1L[i]==\'6M\'){o.V.hO();2j=-1}if(1L[i]==\'lz\'&&L(o.fC)){o.fC.6C();2j=-1}if(1L[i].K(\'W\')>-1){B id=1L[i].1j(8);if(L(o.1K[id])){B fl=o.1K[id][\'3b\'];if(L(fl)){if(1L[i].K(\'W\')>-1){if(L(kB)){2j=-1;I}}if(fl.K(\'3B:\')==0){if(id.K(\'x\'+d9)!=0){o.2e=fl.1j(5);d3(id.1j(0,id.lF(\'-\'))+\'-0\');I}if(!o.1v){o.2e=fl.1j(5)}if(!o.1t){o.V.2z()}3r(\'3B\',fl.1j(5));v.W.6U==0&&v.W.dl==1?8o():\'\';I}d7(i);xR(id);7K("BM");if(L(o.1K[id][\'7j\'])&&v.7j==1&&v.MV==1){7j(o.1K[id][\'7j\'])}F{mK(id);o.V.eg(fl,(v.W.iJ==1?1:1E));v.W.6U==0&&v.W.dl==1?1y(8o,4y):\'\';mO=J;mW=J;mM(id);js("MY")}}F{if(L(o.1K[id][\'5c\'])){6l(id);if(mO){6d==-1?4X(0,0):\'\'}F if(mW){6d==-1?4X(2L(f.R)-2,0):\'\'}}}}if(o.2P){o.2P.mh()}}if(1L[i]==\'5j\'){o.P.fr()}}}};G.IE=E(x){7F(o[x+\'xm\'])};E xi(x){if(x=="lo"){G7();I}if(x=="lO"){B z=2j+\'HB\';if(v[z]){U(B y in v[z]){if(v[z].2v(y)){wX(y,v[z][y])}}eP()}I}bp();U(B i=0;i<f2.R;i++){if(f2[i]){f2[i].C.2k="1W"}}f2=[];bN(\'f2\',0);bY(f2[0],f8[0],4V[0],5I[0],0);O(f2[0],{"2T-2O":"4q 6N "+(C.xg==1?8z:"5o(100,100,100,0.7)")});if(x.K("8B")>0){f2[0].1w(6i,uE);4V[0].1T=2K(x.1j(x.K("8B")+5))}F{f2[0].1w(6i,eP);4V[0].1T=(C.wl!=1?iU:\'\')+2K(x)}O(4V[0],{\'42-3J\':C.ip*2m(v.8r,1)});f2[0].1w(bc,6t);f2[0].1w(bf,5X);f2[0].1w("9S",bb);B 4n=[];B lp=J;if(x.K("3J")>0){4n=[\'50%\',\'75%\',\'100%\',\'125%\',\'rb%\',\'Cu%\',\'4y%\',\'Nd%\',\'dx%\',\'kb%\']}if(x.K("5Y")>0){4n=[\'0\',\'0.2\',\'0.3\',\'0.4\',\'0.5\',\'0.6\',\'0.7\',\'0.8\',\'0.9\',\'1\']}if(x.K("ji")>0){U(B i=-5;i<5.5;i+=0.5){4n.2N(2H.4t(i*100)/100)}}if(x.K("df")>0){4n=[4y,kb,gB]}if(x.K("2O")>0){U(i=0;i<21;i++){4n[i]=i*10}}if(x.K("sL")>0){U(i=0;i<24;i++){4n[i]=i}}if(x.K("sK")>0||x.K("sI")>0){U(i=0;i<60;i++){4n[i]=i}}if(x.K("ah")>0){lp=H;4n=[0,1]}if(x.K("4s")>0){lp=H;4n=[0,1]}if(x.K("1u")>
290){4n=[\'3H\',\'HK\',\'Mv\',\'Mx\',\'MA\',\'MN\',\'NS\',\'NV\',\'NY\',\'O0\',\'Oa\',\'Oc\',\'Ok\',\'O8\',\'NR\',\'NQ\',\'Np\',\'3U\'];B vx=v[x].1P("#","");if(4n.K(vx)==-1){4n[8]=vx}}U(y=1;y<=4n.R;y++){bN(\'f2\',y,0);bY(f2[y],f8[y],4V[y],5I[y],y);O(5I[y],{\'2S-1b\':0});if(x.K("1u")>0||x.K("2O")>0||x.K("8B")>0||x.K("ji")>0){y%3!=0?O(f2[y],{\'kp\':\'1b\'}):\'\';O(f2[y],{\'Z\':\'33.3%\'});if(x.K("1u")>0){4n[y-1]=2m(v["Nr"+(y-1)],4n[y-1]);4V[y].1T="<28 C=\'"+(4n[y-1]=="3U"?\'2T:4q 6N #iY;1f:H3;Z:H3;\':\'1f:eW;Z:eW;\')+";2C-1u:"+3x(4n[y-1])+";2T-6B:eW;\'></28>";O(f2[y],{\'2I-1f\':1})}F{4V[y].1T=4n[y-1]}}F{if(x.K("df")>0){4V[y].1T=4n[y-1]}F{y%2!=0?O(f2[y],{\'kp\':\'1b\'}):\'\';O(f2[y],{\'Z\':\'50%\'});if(lp){4V[y].1T=2K(4n[y-1]+\'7N\')}F{4V[y].1T=4n[y-1]}}}5r[y]=x+\'=\'+4n[y-1];if((4n[y-1]==v[x]&&6Y(v[x])!=" ")||v[x]==\'#\'+4n[y-1]){5I[y].1T=kQ;lq(y)}f2[y].1w(bc,6t);f2[y].1w(bf,5X);if(x.K("8B")>0){f2[y].1w(6i,GP)}F{f2[y].1w(6i,H4)}f2[y].1w("9S",bb)}2A()}E lq(x){f2[x].op.bi(\'6T-\'+v.id+\'-ey-lk\');O(4V[x],{\'1u\':C.6b});nn(f8[x])}E mK(id){if(L(o.1K[id][\'2a\'])){v.2a=o.1K[id][\'2a\'];L(v.2a)?o.P.a9(v.2a):\'\'}if(L(o.1K[id][\'1O\'])){o.cT=o.1K[id][\'1O\']}v.W.H7>0?kB=1y(Ha,v.W.H7*2i):\'\';wt()}E mM(id){B t=o.1K[id][\'1O\'];if(L(t)){if(v.qo==1){if(o.V.oB(o.1K[id])){}F{v.1O=(v.xt==1&&L(o.vQ)?o.vQ+(v.xo==1?\'<br>\':\' \'):\'\')+t}o.V.9C(\'1O\')}}if(v.fV==1){if(L(o.1K[id][\'8k\'])){v.8k=o.1K[id][\'8k\']}F{v.8k=[]}o.Q.kc()}B xv=[\'5G\',\'om\',\'lv\',\'6M\',\'7e\',\'X\',\'hR\',\'BN\',\'ln\',\'lm\',\'4f\',\'4p\',\'1m\',\'BO\',\'BT\',\'8x\',\'cv\',\'he\',\'BS\',\'9w\',\'kg\'];U(B i=0;i<xv.R;i++){B jo=o.1K[id][xv[i]];if(L(jo)){o.lE[xv[i]]=jo;v[xv[i]]=jo;if(i==16){v.W.bG=jo}}F{i<4?v[xv[i]]=1E:\'\'}}U(B uv in o.1K[id]){if(uv.K("BY")==0){v[uv.1j(7)]=o.1K[id][uv]}}xR(id);B 9q=o.1K[id];if(L(9q[\'2r\'])){9q[\'1X\']=9q[\'2r\']}if(L(9q[\'1X\'])){o.V.eK(9q[\'1X\'])}if(L(9q[\'9w\'])){o.Q.yB()}o.V.i4(o.1K[id]);if(o.iM){o.Q.yN(o.iM)}if(L(9q[\'aY\'])){3r(\'aY\',9q[\'aY\'])}if(L(9q.1I)){o.V.3T(9q.1I)}}E xR(id){B x=o.1K[id][\'1v\'];if(L(x)){if(x=="3q"){if(2w.1X&&!o.1K[id][\'1X\']){o.1K[id][\'1X\']=2w.1X}if(o.P.18()>0){v.1v=o.2e=o.P.18()}F{2w.1v&&!o.2e?o.2e=2w.1v:v.1v=0}}F{v.1v=o.2e=x}}F{v.1v=0}}E Ha(){2F(kB);kB=26}E d7(x){if(6d==0&&!o.1v){O(5Z[6d],{\'1u\':C.1u});O(9J[6d],{\'7M\':C.5h});8i[6d].1T=\'\';f[6d].op.5G(\'6T-\'+v.id+\'-ey-pl\')}F{o.w8=x;if(6d>-1){io(6d)}if(3u!=\'\'){if(!o.9Z[3u]&&L(o.1K[3u])){o.x5+=2m(o.1K[3u].1m,0)}o.9Z[3u]=H;5H=xH(5H,3u)}}if(1L[x]){B id=1L[x].1j(8);8i[x].1T=kQ;f[x].op.bi(\'6T-\'+v.id+\'-ey-pl\');O(5Z[x],{\'1u\':C.6b,\'1C-uL\':\'1W\',\'1B\':C.a});nn(9J[x]);if(C.xP==1&&L(C.ly)){O(9J[x],{\'7M\':C.ly})}6d=x;3u=id;o.3u=3u;v.4P=3u;o.le=5Z[x].1T;o.w8=3u;d9=o.1K[id][\'hj\'];if(o.Q){o.Q.i8()}if(9B){9B.Ln()}}}E 6l(id){B x=id==0?o.W:o.1K[id];o.w8=id;U(B i=0;i<f.R;i++){if(f[i]){if(C.3y==1){Y.3j(f[i])}F{7f.3j(f[i])}f[i]=26}}f=[];6d=-1;if(L(x[\'5c\'])){B y=7Z.6f(x[\'5c\']).R;bN(\'f\',y);1L[y]="LO";bY(f[y],9J[y],5Z[y],8i[y],y);if(C.3y==1){O(f[y],{"Z":(C.mH==1?C.dD:"2B"),"1f":C.i7})}if(C.IV==1){B wI="4q 6N "+5x(C.IU,2m(C.IS,1));if(C.3y==1){O(f[y],{"Lt":wI})}F{O(f[y],{"R3":wI})}}B 1J=x.1O;if(C.wl!=1){1J=iU+1J}5Z[y].1T=1J;O(5Z[y],{\'42-3J\':C.ip*2m(v.8r,1)});B p=x[\'hj\'];f[y].1w(bc,6t);f[y].1w(bf,5X);f[y].1w(6i,E(){Fp(p)});x=x[\'5c\']}B y=7Z.6f(x).R;5H=[];dy=[];if(9B&&C.3y!=1){9B.5G(7f);if(y>v.W.9B){9B.bi(C,7f)}}U(B i=0;i<y;i++){bN(\'f\',i);1L[i]="W"+x[i].id;if(!L(o.9Z[x[i].id])&&!L(x[i].5c)){5H[x[i].id]=i;dy[x[i].id]=i}bY(f[i],9J[i],5Z[i],8i[i],i);if(C.3y==1){if(C.6S==0){O(5Z[i],{\'Z\':C.dD-C.sd-C.sC});3h(8i[i])}O(f[i],{"Z":(C.mH==1?C.dD:"2B"),"1f":C.i7})}5Z[i].1T=x[i].1O?x[i].1O:\'&h6;\';if(v.bX==1&&v.Cf==1&&x[i].id){if(o.Ik){if(o.Ik.K(x[i].id)>-1){x[i].e0=1}}}if(L(x[i].e0)){if(x[i].e0==1){o.9Z[x[i].id]=H;io(i)}}if(L(x[i].5c)){8i[i].1T=Il;O(8i[i],{"1u":C.1u})}f[i].1w(bc,6t);f[i].1w(bf,5X);f[i].1w(6i,aX);f[i].1w("9S",bb);if(L(o.9Z[x[i].id])){io(i)}if(3u==x[i].id){d7(i)}if(d9==x[i].id){O(5Z[i],{\'1u\':C.6b});O(8i[i],{\'1u\':C.6b});nn(9J[i])}}2A();4S=J;o.Q?o.Q.4C():\'\'}E nn(x){if(2g(C.HV)&&x){O(x,{"2C-a5":"3e-4J(5o(0, 0, 0, "+(1-C.HV*1)+") 0 0)"})}}E i9(x,y,z,x1,y1,x2,y2,x3,y3,x4,y4){B ww=(C.3y==1?\'GM\':\'100%\');B hh=(C.3y==1?\'100%\':\'GM\');O(x,{\'1r\':\'2E\',\'2k\':\'cO-4w\',\'Z\':ww,\'1f\':hh,\'1C-8s\':\'8h\'});if(C.Fa==1){O(x,{\'2C\':\'-pO-3e-4J(\'+y+\')\',\'2C\':\'-3L-3e-4J(\'+y+\')\',\'2C\':\'-ms-3e-4J(\'+y+\')\',\'2C\':\'-o-3e-4J(\'+y+\')\',\'2C\':\'3e-4J(\'+y+\')\',})}if(C.3y==1||o.1i.2f){O(x,{\'6P\':\'4H\'})}F{O(x,{\'4H-3l\':\'1W\'})}if(C.o2==1){O(x,{\'62-Z\':C.l4+\'px!5W\'})}if(z=="1c"){O(x,{\'1c\':-1,\'1b\':0})}if(z=="2O"){O(x,{\'2O\':-1,\'1b\':0})}if(z=="1b"){O(x,{\'1c\':0,\'1b\':0})}if(z=="2u"){O(x,{\'1c\':0,\'2u\':0})}if(z=="2u"||z=="1b"){O(x,{\'1C-8s\':\'1b\',\'2S-1c\':1F.2V/2-10})}x.1T="<8h><28 "+(C.Fb==1?"RY=\'G.C.7M=\\"#"+C.Fe+"\\"\' S5=\'"+(C.yz==1?"G.C.7M=\\"#"+C.yv:"G.C.2C=\\"1W")+"\\"\'":"")+" C=\'4H-3l:2B;6P:4H;Z:eW;1f:eW;2T-6B:eW;"+(C.yz==1?"2C-1u:#"+C.yv+";":"")+(z=="1c"?"2Q-1c:dp;":"")+(z=="2O"?"2Q-1c:dp;":"")+(z=="2u"?"2Q-1b:gj;":"")+(z=="1b"?"2Q-2u:gj;":"")+"\'><2y Z=\'20\' 1f=\'20\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\'><g><2I x1=\'"+x1+"\' y1=\'"+y1+"\' x2=\'"+x2+"\' y2=\'"+y2+"\' 4s=\'#"+C.nv+"\' 4s-Z=\'"+C.ny+"\' 4s-eZ=\'4t\'/><2I x1=\'"+x3+"\' y1=\'"+y3+"\' x2=\'"+x4+"\' y2=\'"+y4+"\' 4s=\'#"+C.nv+"\' 4s-Z=\'"+C.ny+"\' 4s-eZ=\'4t\'/></g></2y></28></8h>"}G.9M=E(){if(C.hZ==1){9M()}};E Fo(){if(bW){9M()}}E 9M(e){if(C.hZ==1&&!jn){if(C.3y==1){B h=Y.Si;B m=1F.2c+C.7d+C.6V+20;B t=Y.bd}F{B h=Y.Kg;B m=1F.2V;B t=Y.de}if(h>m){if(t>0){if(!5O(5E)){1o(5E);B m1=1z 5L({"mc":5E,"1H":"8F","to":1,"18":0.3,"me":"5E"})}}F{if(5O(5E)){B m2=1z 5L({"mc":5E,"1H":"8F","to":0,"18":0.3,"me":"5E","1l":H})}if(e){e.cC<0?e.8K():\'\'}}if(t<h-m-10){if(!5O(5K)){1o(5K);B m3=1z 5L({"mc":5K,"1H":"8F","to":1,"18":0.3,"me":"5K"})}}F{if(5O(5K)){B m4=1z 5L({"mc":5K,"1H":"8F","to":0,"18":0.3,"me":"5K","1l":H})}if(e){e.cC>0?e.8K():\'\'}}}F{1l(5E);1l(5K)}}}E Fv(){B x=Y.de+1F.2V-60;B m=1z 5L({"mc":Y,"1H":"9n","to":x,"18":0.3,"me":"Js","6J":"bI"});1y(9M,2i)}E Fx(){B x=Y.de-1F.2V+60;B m=1z 5L({"mc":Y,"1H":"9n","to":x,"18":0.3,"me":"Sr","6J":"bI"});1y(9M,2i)}E hW(1e){2F(o.gv);1e.aT()}
29E Fz(){B x=Y.bd+(1F.2c+C.7d+C.6V)-60;B m=1z 5L({"mc":Y,"1H":"i0","to":x,"18":0.3,"me":"Rv","6J":"bI"});1y(9M,2i)}E FC(){B x=Y.bd-(1F.2c+C.7d+C.6V)+60;B m=1z 5L({"mc":Y,"1H":"i0","to":x,"18":0.3,"me":"Jr","6J":"bI"});1y(9M,2i)}E Fp(x){if(x==\'\'){6l(0)}F{if(L(o.1K[x])){6l(x)}}2j=\'\'}E io(x){8i[x].1T=\'\';O(5Z[x],{\'1u\':C.F6});if(C.EC==1){O(5Z[x],{\'1C-uL\':\'2I-RL\'})}if(C.yh>-1){O(5Z[x],{\'1B\':C.yh})}f[x].op.5G(\'6T-\'+v.id+\'-ey-pl\');O(9J[x],{\'7M\':C.yw});if(C.yY>-1){O(9J[x],{\'1B\':C.yY})}}E z5(i){if(L(5r[i])){bp();if(7i("53",i)==0){o.V.5P(5r[i].1j(7))}if(7i("7A",i)==0){o.V.ec(5r[i].1j(10))}if(7i("1X",i)==0){!o.3w?o.3w=1z iN():\'\';o.3w.8Z(5r[i].1j(8))}if(7i("cN",i)==0&&v.7D==1){o.7D.Bt(5r[i].1j(7))}if(7i("3F",i)==0){B 5w=5r[i].4M(0,-1);o[\'hq\'+5w]!=-1?o[\'hq\'+5w]=i-1:\'\';if(o[\'6r\'+5w]){B mi=5w.4M(-1);if(o[\'m\'+mi+\'4a\'+\'2U\'][i-1]!=\'\'){B ap=o[\'m\'+mi+\'4a\'+\'2U\'][i-1].2q(":");3r(ap[0],ap.R>1?ap[1]:26)}if(L(1A[\'os\'+mi])){v[\'lk\'+mi]=i-1;1A[\'os\'+mi](v.id,o[\'6r\'+5w][i-1],i-1)}}7F(aK);8o()}if(7i("2W",i)==0){o.2W?o.2W.2U(hI[i]):\'\';8o()}if(7i("1u",i)==0){cW();4X(0,0,6m[i])}U(B p in o.5A){if(o.5A.2v(p)){if(7i(p,i)==0){o.P.Aw(p,i)}}}if(7i("8B",i)>0){if(4V[i].1T==2K(\'6v\')){7K(2j+\'0\');7F(aK);if(2j=="kv"){7K("EU")}dn()}F{if(2j=="lA"&&C.rS==1){7K(\'rS\',i);7F(aK);dn()}}}if(7i("4T",i)==0){o.V.8Y(5r[i].1j(5));i6();1y(8o,4y)}}};G.i6=E(){i6()};G.IC=E(x){U(B i=0;i<1L.R;i++){if(1L[i]==x){I H}}I J};E i6(){U(B i=0;i<1L.R;i++){if(1L[i]=="4T"){7F(i);if(2j==\'4T\'){cW();4X(i,0)}}}}E bN(x,i,dq){if(L(2h(x))){2h(x)[i]=22("28");if(i<2||x=="f"||2j!=\'53\'||dq>0){if(C.3y==1){Y.1V(2h(x)[i])}F{7f.1V(2h(x)[i])}}F{if(C.3y==1){Y.lQ(2h(x)[i],2h(x)[i-1])}F{7f.lQ(2h(x)[i],2h(x)[dq==2?i-2:i-1])}}if(x==\'f\'){3W(2h(x)[i],{\'ou\':i})}if(x==\'f2\'){3W(2h(x)[i],{\'bv\':i})}2h(x+\'bg\')[i]=22("28");B oa=22("28");2h(x)[i].1V(oa);oa.1V(2h(x+\'bg\')[i]);fj(oa);2h(x+\'4u\')[i]=22("28");2h(x)[i].1V(2h(x+\'4u\')[i]);eh(2h(x+\'4u\')[i]);fj(2h(x+\'4u\')[i]);2h(x+\'1O\')[i]=22("28");2h(x)[i].1V(2h(x+\'1O\')[i]);2h(x+\'5z\')[i]=22("28");2h(x)[i].1V(2h(x+\'5z\')[i]);if(i>0&&x=="f2"&&6e&&C.tJ==0){3h(2h(x+\'5z\')[i])}}};E bY(x,8U,kJ,rg,Pl,ii){O(x,{\'1r\':\'gz\',\'2u\':0,\'1c\':0,\'6P\':\'4H\',\'1f\':\'2B\',\'Z\':\'100%\',\'6G\':\'3f\',\'2k\':\'4w\',\'2I-1f\':\'1.Pm\'});if(6e){if(C.3y==1){O(x,{\'Z\':\'2B\'})}}if(C.rM&&C.3y==1){O(x,{\'Pn\':C.rM})}if(C.3y==1&&(!6e||ii>0||C.rl==1)){O(x,{\'2k\':\'cO-4w\',\'b5-8s\':\'1c\',\'bo-9x\':\'dW\'})}O(8U,{\'2C\':(C.GU==1?"3e-4J(to 1b,"+3x(C.OY)+", "+3x(C.5h)+")":3x(C.5h)),\'1B\':C.5Y,\'9T\':\'1W\',\'5l\':\'1B 0.2s 6J-5p,2C .2s 6J-5p,6Q .2s 6J-5p\'});eh(8U);eh(8U.3Z);if(C.a2==1){O(8U.3Z,{\'jC-6Q\':\'a2(aC)\'})}if(C.OB==1){x.C[C.3y==1?"2T-2u":"2T-2O"]="4q 6N "+5x(2m(C.Oq,\'3H\'),2m(C.OD,0.2))}O(kJ,{\'1r\':\'gz\',\'2u\':0,\'1c\':0,\'kp\':(C.8s?C.8s:\'1b\'),\'1u\':C.1u,\'2S-1c\':C.Gf,\'2S-2u\':C.sC,\'2S-2O\':C.OG,\'2S-1b\':C.sd,\'9T\':\'1W\',\'1B\':C.a,\'5l\':\'1B 0.2s 3e,1u 0.2s 3e\',});O(rg,{\'1r\':\'gz\',\'2u\':0,\'1c\':0,\'kp\':(C.Gt?C.Gt:\'2u\'),\'2S-1c\':C.Gf,\'2S-2u\':C.sC,\'2S-1b\':C.sd,\'9T\':\'1W\',\'42-3J\':C.5k*2m(v.8r,1),\'1B\':C.a,\'1u\':C.6b,\'5l\':\'1B 0.2s 3e,1u 0.2s 3e\'});if(C.o2==1){O(x,{\'62-Z\':C.l4+\'px!5W\'});O(kJ,{\'62-Z\':(C.l4-70)+\'px!5W\'})}F{if(C.3y==1){if(C.mH==1){O(x,{\'Z\':C.dD});O(kJ,{\'Z\':C.dD-70})}}F{O(kJ,{\'bo-9x\':\'dZ\'});O(rg,{\'bo-9x\':\'dZ\'})}}}E dn(){U(B i=1;i<f.R;i++){if(L(f[i])){if(C.3y==1){f[i].C.2k="cO-4w"}F{f[i].C.2k="4w"}}}bp();cW();2A();2j=\'\';aK=-1};E cW(){U(B j=0;j<f2.R;j++){if(f2[j]){if(C.3y==1){Y.3j(f2[j])}F{7f.3j(f2[j])}f2[j]=26}}f2=[];2j=\'\'}E Kd(){I Y.2c};G.iB=E(){mz()};E mz(){if(is=="W"){if(C.3y==1||C.Gc==1){B x=o.3a-C.4O-C.4F;O(1F,{\'Z\':x});O(Y,{\'Z\':x});7f?O(7f,{\'Z\':x}):\'\'}o.2P?o.2P.2A():\'\'}}E 2A(){if(!jn){if(6e){o.Q?o.Q.oi():\'\';B x=C.rl==1&&f.R>1?f[1]:f[0]}if(is=="W"){mz();o.Q?o.Q.iB():\'\';B x=f[0];if(v.wK==1){oL()}}f.R>1&&!x?(f[1]?x=f[1]:\'\'):\'\';f.R>2&&!x?(f[2]?x=f[2]:\'\'):\'\';if(x){x.2c==0&&f2.R>0?x=f2[0]:\'\'}if(Y.2c-Y.qY>0&&x&&C.3y!=1){if(L(5E)){O(5E,{"Z":7f.2c})}if(L(5K)){O(5K,{"Z":7f.2c})}C.ob=(Y.2c-x.2c)-(Y.qY-x.qY)}F{C.ob=0}}};E uJ(){B x=0;B y=0;B z=\'\';U(B i=1;i<f.R;i++){if(L(f[i])){if(f[i].C.5C!="3f"&&f[i].C.2k!="1W"){x++;y=i;z=1L[i]}}}I[x,y,z]}G.xD=E(){eQ=H;G.1o();aL=2;eP()};E G3(x){eQ=H;eP(x);if(eQ&&mb){Y.PK(0,mb.mU)}}E G7(x){eQ=J;eP(x)}E eP(){dn();U(B i=0;i<1L.R;i++){if(1L[i]=="1X"){4X(i,aL)}}}E bp(){2F(uM);uM=1y(E(){o.nT=J},4d)}E uE(){B x=2j;dn();U(B i=0;i<1L.R;i++){if(1L[i]==x){4X(i,0)}}}G.tb=E(){I v.1g.6U==1&&v.1g.1p==1};E 8o(x){if((!6e&&v.W.Gs==1)||(6e&&v.1g.6U==1&&x!=2)){I}if(is==\'W\'&&v.W.2P==1&&v.W.PP!=1){if(v.W.6U==1&&x==1){I}o.2P?o.2P.Ct():\'\';bW=J}F{if((x!=1||(C.PQ==1&&C.6U==1))&&!o.1i.tv){B m=1z 5L({"mc":1F,"1H":"8F","to":0,"18":0.1,"me":is,"6J":"AR"});iS=1y(E(){O(1F,{"5C":"3f","1B":0,"1c":-4d});bW=J},4y)}F{O(1F,{"5C":"3f","1B":0,"1c":-4d});bW=J}}if(is==\'W\'){if(v.W.KX==1&&o.Q){o.Q.rH("1d","W",H)}}3I(m6)};G.c=E(){I 1F};G.co=E(){if(1F.PT(Y)){I Y}};
29G.s=E(1a){if(1a=="4F"||1a=="4O"){B k2=1a.1P("2Q","9X");B k3=1a.1P("2Q","b6");if(2g(C[k3])&&o.al){I o.3a*C[k3]/100}if(2g(C[k2])){I o.3a*C[k2]/100}}I C[1a]};G.ss=E(1a){I C};G.1o=E(){dn();2F(iS);bW=H;if(is==\'W\'&&v.W.2P==1){o.2P?o.2P.oj():\'\'}F{O(1F,{"5C":"4r","1B":1,"5l":"1B 0.2s 3e"});B x=uJ();if(x[0]==1){if(x[2]=="53"||x[2]=="7A"||x[2]=="1X"||x[2]=="4T"||x[2]in o.5A||x[2].K("8B")>0){4X(x[1],0)}}}if(o.Q){if(is==\'W\'&&o.Q.bu()){o.Q.aS()}if(is==\'1g\'&&o.Q.eO()&&!o.2P&&v.W.6U!=1&&v.g6!=1){o.Q.Iz()}}if(o.Q){is==\'1g\'?o.Q.oi():\'\';if(is==\'W\'){o.Q.iB();if(v.W.KX==1){o.Q.rH("1d","W",J)}}}if(o.1i.6w){O(Y,{\'9z-Z\':\'2B\'});if(C.3y!=1){O(7f,{\'9z-Z\':\'2B\'})}}g8=H;3I(n0);n0=7I(Kp,100)};E Kp(){3I(n0);g8=J}G.6C=E(i){4X(i,1)};G.1l=E(x){8o(x)};G.EK=E(){if(o.2P){o.2P.bt()}};G.5P=E(){U(B i=0;i<1L.R;i++){if(1L[i]=="53"){7F(i);if(o.2x.R>1){1o(f[i])}if(2j==\'53\'){cW();4X(i,aL)}}}};G.fr=E(){U(B i=0;i<1L.R;i++){if(1L[i]=="5j"){7F(i)}}};G.kS=E(x){U(B i=0;i<1L.R;i++){if(1L[i]==x){7F(i);if(o[\'6r\'+x]){if(o[\'6r\'+x].R>1){1o(f[i])}}if(2j==x){cW();4X(i,aL)}}}};G.8Z=E(){U(B i=0;i<1L.R;i++){if(1L[i]=="1X"){7F(i);if(o.2X){if(o.2X.R>0){B x=J;if(o.1Y){U(B y=0;y<o.1Y.R;y++){if(o.1Y[y]!=\'\'){x=H;1h}}}F{x=H}x?1o(f[i]):\'\'}}if(2j==\'1X\'){cW();4X(i,0)}}}};G.w0=E(x){o.W=x;6l(0);if(L(v.4P)){if(v.4P.K("x-")!=0){U(B y in o.1K){if(o.1K.2v(y)){if(o.1K[y].er==v.4P){v.4P=y}}}}if(L(o.1K[v.4P])){gT(o.1K[v.4P]);B y=o.1K[v.4P][\'bM\'];d7(y);if(v.W.xy==1&&C.2P!=1){6l(0);1y(E(){2A()},47)}F{1y(E(){es(y);2A()},47)}v.4P=1E}F{d7(0)}}F{d7(0)}if(C.2P==1){if(!L(o.2P)){o.2P=1z OU()}}};G.d3=E(x){d3(x)};E d3(x){if(L(o.1K[x])){gT(o.1K[x]);4X(o.1K[x][\'bM\'],0);es(o.1K[x][\'bM\'])}};G.lw=E(x){if(L(o.1K[x])){gT(o.1K[x]);if(o.1K[x]["3b"]){o.2e=1E;d7(o.1K[x][\'bM\']);mK(x);o.V.eg(o.1K[x]["3b"],1);mM(x);es(o.1K[x][\'bM\']);if(o.2P){o.2P.mh()}}F if(o.1K[x]["5c"]){6l(x)}}};E Jb(x){if(L(o.1K[x])){d9=\'\';6l(0);gT(o.1K[x]);mK(x);4X(o.1K[x][\'bM\'],0);mM(x)}};G.au=E(){mO=H;B x=2L(6d)+1;if(3u!=\'\'){o.9Z[3u]=H;5H=xH(5H,3u)}if(v.5H==1){x=vo(5H);if(x==26){if(v.OI==1||v.W.bG==1){dy.Gv(E(a,b){I 2H.5y()-0.5});U(B x in dy){if(dy.2v(x)){5H[x]=dy[x]}}x=vo(5H);js("5t")}F{o.V.Cd()}}}F{if(3u!=\'\'){B y=7Q().K(3u);if(y<7Q().R){B j;U(B i=y+1;i<7Q().R;i++){j=o.1K[7Q()[i]];
29if(j.3b){if(j.3b.K("3B:")!=0&&j.5t!=1&&!j.5c){G.lw(j.id);x=-1;o.V.2z();js("5t");1h}}}}}}if(x>-1){o.2e=1E;4X(x,0);es(x)}};E es(x){if(f[x]&&!jn){if(C.3y==1){B to=f[x].j9-20;B m=1z 5L({"mc":Y,"1H":"i0","to":to,"18":0.3,"me":"Jr","6J":"bI"})}F{B to=f[x].mU-1F.2V/2+20;B m=1z 5L({"mc":Y,"1H":"9n","to":to,"18":0.3,"me":"Js","6J":"bI"})}1y(9M,2i)}}E vo(4m){B 6f=7Z.6f(4m);B x;U(B i=0;i<6f.R;i++){x=4m[6f[6f.R*2H.5y()<<0]];if(x){1h}}I x};G.5A=E(x){ut(x)};E ut(x){jh[x]>-1?7F(jh[x]):\'\';if(5I[0]){if(2j==\'1M\'){5I[0].1T=2H.4t(o.3E.x*100)+\'%\'}F{5I[0].1T=kw(2j)}}};E kw(x){if(x=="1M"){I 2H.4t(o.3E.x*100)+\'%\'}F{I 2H.4t(2m(o.9L[x],o.5A[x])*100)+\'%\'}}G.cz=E(){I tN()};E tN(){if(v.5H==1){I 7Z.6f(5H).R>0}B x=J;if(o.1K){x=7Q().K(3u)<7Q().R-1}I x};G.lr=E(){if(L(o.hQ)){2j=1E;Jb(o.hQ)}};G.f0=E(){B x=6d>0;if(o.1K){B z=7Q().K(3u);x=z>0;if(z==1){if(L(o.1K[7Q()[0]].5c)){x=J}}}I x};G.fg=E(){I L(o.1K)};G.di=E(){mW=H;if(G.f0()){B x=2L(6d)-1;if(x<0){B y=7Q().K(3u);if(y>0){B j;B z;U(B i=y-1;i>=0;i--){j=o.1K[7Q()[i]];if(j){if(j.3b){z=j;if(j.3b.K("3B:")!=0&&j.5t!=1&&!j.5c){z=j;1h}}}}if(z){G.lw(z.id);o.V.2z()}}}F{o.2e=1E;4X(x,0);es(x)}js("P9")}};G.lj=E(){if(6d>0){es(6d)}};E 7i(x,i){I 5r[i].K(x)};E gT(x){if(x){if(x[\'uO\']!=-1){gT(o.1K[x[\'hj\']]);6l(x[\'hj\'])}F{6l(0)}}};G.g=E(x){bO(x){1k"Z":I Kd();1h;1k"1f":I 1F.2V;1h;1k"1c":I C.av;1h;1k"CN":I Y.Kg;1h;1k"C2":I C.ge;1h;1k"x":I 5g(1F.C.1b);1h;1k"y":I 5g(1F.C.1c);1h;1k"1B":I 1F.C.1B;1h;1k"1o":I bW;1h;1k"6C":I aK;1h;1k"1a":I 1a;1h;1k"ax":I 1a+ax;1h;1k"4S":I 4S;1h;1k"W":I is=="W";1h;1k"e0":I o.9Z[3u];1h;1k"6C?":I o.2P?o.2P.yT():bW;1k"tJ":I kQ;1h;1k"cr":I o.1K[o.cr]?o.1K[o.cr].1O:\'\';1k"cv":I v.cv?v.cv:\'\';1k"I2":I tN()?o.1K[7Q()[7Q().K(3u)+1]].1O:\'\'}};E 7Q(){I 7Z.6f(o.1K)};G.Ix=E(){3u=\'\';v.4P=\'\'};G.4S=E(){if(6e){B x=0;U(B i=1;i<15;i++){if(1L[i]=="53"){B y=o.2x.R;if(L(v.c7)){B z=v.c7.2q(",");U(B j=0;j<z.R;j++){if(o.2x.K(z[j])>-1){y--}}}if(y>0){if(y>1||(y==1&&o.2x!=1&&C.Jw==1)){x++}}}if(1L[i]=="5j"){if(o.5j){x++}}if(1L[i]=="6M"){if(o.2o==\'e3\'||v.6M){x++}}if(1L[i]=="7A"){if(o.7n.R>1){x++}}if(1L[i]=="cN"&&v.7D==1){if(o.mg.R>0){x++}}if(1L[i]=="1X"){if(L(o.1Y)){U(B s=0;s<o.1Y.R;s++){if(o.1Y[s]!=\'\'){x++;1h}}}if(x==1&&o.kK==1){x=0}if(v.mw==1&&v.v5==1){x++}}if(1L[i]=="4T"){if(o.2o!="ci"){x++}}if(1L[i]in o.5A||1L[i]=="2W"||1L[i]=="1u"){x++}if(1L[i]){if(1L[i].K("8B")>0){x++}if(1L[i].K("3F")>-1){x++}}if(v.1g[is+i+\'1l\']==1){x--}}I x<=0}F if(is=="W"){I f.R==0}F{I 4S}};G.4g=E(){if(1F.3Z==o.1R){1F.3j(Y);o.1R.3j(1F);o.2P?o.2P.4g():\'\';1F=26;Y=26;jn=H}}};B B4=E(X,jW){B 6W=J;if(X.K(\'6W\')==0){6W=H;X=X.1j(5)}B n8=mx(X);B 2n;B 3g;B jE=J;B 3Y=J;B lh=J;B mZ=J;B 2B=H;B rT=[];B d5=1;B mQ=J;B jw=0;B qR;B dQ=0;B n1=0;B mG=J;B mN=\'Jq\'+v.id+(6W?\'6W\':\'\');jN("#Jq"+v.id+"{Z:100%!5W;1f:100%!5W;62-Z:1W!5W;62-1f:1W!5W}");B 1F=22(\'28\');B n4=0;1F.7k(\'id\',mN);jW.1V(1F);o.5j=J;!6W?o.V.hF():\'\';if(o.1i.2f){v.4G=1}if(v.Kv!=1){B 8n=22(\'28\');jW.1V(8n);O(8n,{1r:"2E",1c:0,1b:0,"2C-1u":"#pD",1f:"100%",Z:"100%","1B":0});8n.1w("CZ",E(1e){1e.6x=H});if(o.1i.2f){8n.1w("fi",E(1e){1e.6x=H});8n.1w("2p",E(1e){1e.6x=H});8n.1w("fH",E(1e){1e.6x=H;gf(1e);if(v.eo==1&&v.QN!=1){1y(L1,100);1y(mJ,2i)}})}F{8n.1w("uV",E(1e){B x=H;if(v.1U==1){if(L(v.7m)&&!lh){x=J}if(L(v.l7)&&aU()=="8q"&&18()>0){x=J}}if(x&&v.eo==1&&v.KU!=1){3h(G);1y(mJ,4d)}})}v.eo==1&&v.QK!=1?3h(8n):\'\'}E mJ(){6E(8n)}E L1(){if(v.KU!=1){3h(8n)}}if(v.4G==1&&v.3k==0){9u()}if(!1A[\'YT\']){1A.QF=E(){na();U(B i=0;i<1A.4Z.R;i++){if(1A.4Z[i]){if(1A.4Z[i].2U("id")!=v.id){if(1A.4Z[i].2U(\'B1\')){1A.4Z[i].2U(\'Bh\')}}}}};B ta=tU("4U.a7/KT","4U.a7/KT","Qx");if(ta){ta.vq=E(e){o.V.et();if(v.JS!=1){2n=\'BA QW kD\';o.P.5N()}}}}F{na()}E na(){if(v.4G==1||6W){!jE?jH():\'\'}F{o.V.et()}}E jH(){if("YT"in 1A){if(L(YT.uj)&&!jE){1n("qW gq");B vh=0;if(v.Kv==1){vh=1}o.2e>0?dQ=2L(o.2e):\'\';3g=1z YT.uj(mN,{1f:o.8M,Z:o.8N,Rp:n8,Rl:{Ri:1,Rg:mN,Rf:1,Re:1,dl:1,kV:((v.sM==0||(v.EA!=1&&o.1i.6Z))&&o.1i.2f?0:1),Rc:3,Q:vh,Ra:0,R9:1,8S:0,3k:6W||v.3k==1?1:0,8R:0},3l:{\'R7\':sU,\'R0\':KB,\'5N\':5N,\'Lm\':JK}});if(o.2e>0){o.2e=1E}2A();jE=H}F{1y(jH,47)}}F{1y(jH,47)}}B jP;E sU(){if(o.P){1n("qW fk");3Y=H;2F(qR);o.V.8d();if(6W){if(o.1i.vZ){o.V.56()}3g.n6();o.1U.M2()}F{if(v.3k==1&&o.1i.vZ&&!o.ek){o.V.56();if(o.1i.2f){3I(jP);jP=7I(KD,dx)}}if(v.4G==0){3g.n6()}F{o.V.et()}n4=3g.rI();o.P.ag();if(d5!=1){8Y(d5)}bL();2A();if(v.Lw==1){2R{if(3g.uz()){if(L(3g.uz().1O)){v.1O=3g.uz().1O;o.V.9C(\'1O\')}}}2D(e){}}}}}E KD(){B x=3g.JB();if(x==2||x==-1){o.Q.3d();o.Q.8d();3I(jP)}if(x==1){3I(jP)}}E KB(1e){if(v.M7==1){1n(\'YT\',1e.29)}if(6W){if(1e.29==YT.e8.JA){o.1U.LY()}if(1e.29==YT.e8.KV){}}F{if(1e.29==YT.e8.KV){if(n1==1){n1=0;sU()}if(!o.1t){o.V.2z()}if(dQ>0){3g.zQ(dQ,H);dQ=0;o.2e=1E}mJ();lh=H;3Y=H;if(mZ){3g.yf()}F{o.P.ac();o.P.bh()}JZ();if(L(v.4x)){U(B i=0;i<o.2x.R;i++){if(v.4x==o.2x[i]){5P(i)}}v.4x=26}F{if(L(o.4x)){U(B i=0;i<o.2x.R;i++){if(o.4x==o.2x[i]){5P(i)}}o.4x=26}}mQ=J}if(1e.29==-1&&mQ&&o.1t){1n("qW LQ")}if(1e.29==YT.e8.LD){}if(1e.29==YT.e8.JA){8p()}if(1e.29==YT.e8.LV){if(!o.1t){}if(o.1t){mQ=H;9u()}}if(1e.29==YT.e8.Mk){}}}E 5N(1e){if(6W){o.1U.LX()}F{if(1e.29==2){2n="JL 4U id"}if(1e.29==5){2n="uq 4S"}if(1e.29==101||1e.29==rb||1e.29==100){2n="G ef is Lu"}if(v.Mn==1){L(v.JU)?2n=v.JU:\'\'}if(v.JS!=1){o.P.5N()}F{1l(o.2a)}}}E 8p(){v.1v>0?dQ=v.1v:\'\';o.P.8p();o.P.ag()}E g0(){if(!o.Ke&&o.1t){o.V.3d()}}E bh(){o.P.bh()}E bL(){o.P.bL();o.V.ti()}E ag(){o.P.ag()}E dK(){o.P.dK()}E 9u(){if(o.P){o.P.9u()}F{qR=1y(9u,100)}}E JK(1e){qM(1e.29)}E JZ(){if(!mG){B x=3g.NG()+\'\';if(x!=\'\'&&x!=1E){o.2x=x.2q(\',\');o.2x=o.2x.CV();if(v.sb==0){B y=o.2x.K(\'2B\');if(y>-1){o.2x.su(y,1)}}U(B i=0;i<o.2x.R;i++){o.2x[i]=kd(o.2x[i])}mG=H;qM(3g.NF())}}}E qM(x){o.3i=o.2x.K(kd(x+\'\'));o.Q.wb(o.3i)}G.3J=E(){I{"Z":0,"1f":0}};G.3v=E(x){n8=mx(x);if(o.2e>0){dQ=2L(o.2e)}d3(n8)};E aU(){B 6O=-1;if(3Y){6O=3g.JB()}B x=\'\';if(6O==-1){x="8q"}if(6O==1||6O==3){jw=0;x="7T";o.P.bh()}if(6O==2){x="8q";if(o.1t){jw++;if(jw==2){o.V.3d();jw=0}}}if(6O==5){x="8q"}if(6O==0){x="7v"}I x}E 2A(){2R{if(L(3g)){3g.Nl(o.3a,o.4B)}}2D(e){1n(e)}}E kd(x){B y=x;if(x=="Nj"){y="o6"}if(x=="al"){y="k5"}if(x=="Ni"){y="kC"}if(x=="Nb"){y="kW"}
29if(x=="N9"){y="o9"}if(x=="N7"){y="ng"}if(v.Kx==1){y=2K(y)}if(x=="2B"){y=2K("2B")}rT[y]=x;I y}E 18(){B x=3Y?3g.N3():0;if(x>0&&v.hv>0){v.4p=x-v.hv;v.hv=-1}I x};E 8Y(x){2R{3g?3g.N0(x):\'\';d5=x}2D(e){}};G.o5=E(){na()};G.2z=E(){if(3Y){3g.n6()}F{if(!jE){jH()}F{}}};G.3d=E(){if(3Y){3g.yf()}};G.dE=E(){if(3Y){aU()==\'7T\'?3g.yf():3g.n6()}};G.3S=E(x){if(3Y){3g.zQ(x,H);js("3B",x)}};G.ak=E(){I J};G.56=E(){3Y?3g.59():\'\'};G.6j=E(){3Y?3g.MT():\'\'};G.3T=E(x){3Y?3g.zb(x*100):\'\'};G.n5=E(){I aU()==\'7T\'};G.5T=E(){I J};G.uU=E(x){5P(x)};E 5P(x){if(3Y){if(L(o.2x[x])){B y=rT[o.2x[x]];2B=y==\'2B\';B z=18();3g.MZ(y)}}}G.eL=E(x){8Y(x)};G.3Y=E(){I 3Y};G.6X=E(){I aU()};G.18=E(){I 18()};G.1m=E(){B x=3Y?3g.rI():0;if(x!=n4){n4=x;o.P.ag()}if(L(v.4f)){if(7w([v.4f],\'-\')){x=x+v.4f*1}F{x=v.4f}}I x};G.a4=E(){B x=0;if(3Y){x=3g.Ne()*3g.rI()}I x};G.4N=E(){2A()};G.kL=E(){I 2n};G.2B=E(){I v.sb==1?2B:J};G.BF=E(x){d3(x)};E d3(x){X=x;if(3g){n1=1;3g.Mr(x,0)}}G.mY=E(){if(o.1i.2f&&o.1i.cE){G.2z();mZ=H}F{if(aU()=="7T"){G.3d()}}};G.cU=E(){mZ=J};G.vJ=E(){I H};G.4g=E(){3Y?3g.as():\'\';3Y=J;mG=J;2R{if(1F){jW.3j(1F)}jW.3j(8n)}2D(e){}}};B tm=E(){if(1Q.d1==="rO"){qL()}F{1Q.1w("O7",E(e){if(1Q.d1=="rO"){qL()}})}E qL(){if(2w.1P){if(2w.1P=="ef"||2w.1P=="rR"){B vd=1Q.aP(2w.1P);B mC=[];B jm=[];U(B i=0;i<vd.R;i++){B f3=\'\';B h8=vd[i].5V("2a");B 7g=vd[i].5V("1O");B AA=vd[i].5V("Nu");B r6=vd[i].5V("id");B qC=vd[i].5V("3v");B sr=vd[i].aP(\'aG\');if(sr.R>0){U(B j=0;j<sr.R;j++){f3+=(f3!=\'\'?\' or \':\'\')+sr[j].3v}}F{if(L(qC)){f3=qC}}if(f3!=\'\'&&!L(AA)){B 28=1Q.22("28");B 7S=vd[i].3Z;if(7S){B w=vd[i].2c;B h=vd[i].2V;7S.lQ(28,vd[i]);if(w>0){O(28,{"Z":w,"1f":h})}B f7=dG(2w);B id=r6?r6:\'gi\'+kj();28.id=id;f7.id=id;f7.3b=f3;h8?f7.2a=h8:\'\';7g?f7.1O=7g:\'\';mC[id]=f7;jm[id]=vd[i]}}}U(B k in mC){if(jm[k]){jm[k].3Z.3j(jm[k]);1A[k]=1z yc(mC[k])}}}}}};B iN=E(){B 2r=[];B aW=[];B 4S=H;B 7s;B 9d=-1;B uy;B 9W;B nA=[];B nk;B ke=[];G.1v=E(x){if(!x&&9W){mB(9W);9W=1E}F{x?mB(x):\'\'}};G.wx=E(x){mB(x)};G.Kj=E(){ke=[]};E mB(x){if(x){if(x.K("#"+v.bS)==0&&x.K(v.ex)>0){o[o.fd[1]](x,BC)}F{bj(x)}}}E BC(x){if(x){o.1Y=x;bj(x)}}E bj(x){!x?x=\'\':\'\';if(x!=\'11\'){B 1v=0;B va=H;B kG=\'\';o.1Y=x.2q(",");o.2X=[];o.3n=-1;if(o.5m&&v.ue==1){if(3R.6H("t8")!=26){kG=3R.6H("t8")}}F{if(o.mI){kG=o.mI}}U(B i=0;i<o.1Y.R;i++){if(o.1Y[i].K("#0")==0){o.1Y[i]=cm(o.1Y[i])}if(o.1Y[i].K("#"+v.9F)==0){o.1Y[i]=o[o.fd[0]](o.1Y[i])}if(o.1Y[i].K("[")==0&&o.1Y[i].K("]")>1){o.2X[i]=o.1Y[i].1j(o.1Y[i].K("[")+1,o.1Y[i].K("]")-1);o.1Y[i]=o.1Y[i].1j(o.1Y[i].K("]")+1);va=J}F{o.2X[i]=o.1Y[i].1j(o.1Y[i].lF("/")+1);o.2X[i]=o.2X[i].1j(0,o.2X[i].lF("."))}if(o.1Y[i].K("#0")==0){o.1Y[i]=cm(o.1Y[i])}if(o.1Y[i].K("#"+v.9F)==0){o.1Y[i]=o[o.fd[0]](o.1Y[i])}}if(o.2X.R>1&&v.lX==1){o.2X.2N(lU(\'La\',(v.Nz==1&&L(v.B5)?v.B5:2K(\'w7\')))
29);o.1Y.2N("9Y")}if(o.2X.R>0&&v.8L==1){if(v.xq==1){7s=0;1v++;o.2X.ku(lU(\'Bf\',2K(\'6v\')));o.1Y.ku("")}F{o.2X.2N(lU(\'Bf\',2K(\'6v\')));o.1Y.2N("");7s=o.2X.R-1}}if(L(v.Bg)){U(B i=0;i<o.1Y.R;i++){if(v.Bg==o.2X[i]){1v=i;o.3n=i;v.fF=1}}}if(kG!=\'\'){U(B i=0;i<o.1Y.R;i++){if(kG==o.2X[i]){1v=i;o.3n=i}}}if(v.8L==1&&v.fF==0){o.3n=7s}L(o.Q)?o.Q.aM():\'\';if(v.fF==1){o.3n=1v;if(o.1v){if(v.lX==1&&o.1Y[1v]=="9Y"){ty(o.3n)}F{hK(o.3n)}}F{9W=x;o.51=o.1Y[1v]!=\'6v\'&&1v!=7s;1y(k7,47)}}F{if(va&&o.1Y.R<3){hK(7s==0?1:0)}v.8L!=1?o.3n=-1:\'\'}}F{4g()}};E zB(x){if(x.K(\'js:\')==0){2R{x=2h(x.1j(3))}2D(e){8v.1n(e.9H)}}I x?x:\'\'};G.rp=E(x){kE(x,\'1D\')};E hK(x){if(L(o.1Y[x])){o.1Y[x]=zB(o.1Y[x]);if(o.1Y[x]){if(o.1Y[x].K(".")>-1){o.mp=o.1Y[x].2q(" or ");o.fS=0;kE(x)}F{if(o.1Y[x].K(\'aW\')==0){if(aW[o.1Y[x].1j(4)]){tO(o.2X[x],aW[o.1Y[x].1j(4)])}}if(o.1Y[x].K(\'1D\')==0){o.P.f9(x,"FK");o.51=H;o.3n=x;o.Q.aM()}}}}}E ty(x){o.51=H;k7()}E kE(x,y){B X=y==\'1D\'?x:4D(o.mp[o.fS]);B hR=X;B fW;if(nA[X]){if(o.1Y[x]!=\'9Y\'){o.51=H;k7()}}F{if(X.K(\'bQ\')>0&&X.K(\'bQ\')<4){fW=X.1j(0,X.K(\'bQ\'));hR=X.1j(X.K(\'bQ\')+3)}B 4I=h9(hR);9d=x;o.kK=1;4I.cQ=E(){o.kK=0;if(G.d1==4&&G.6X==4y){o.51=H;tO(X,G.dR,x,y)}F{if(o.fS+1<o.mp.R){o.fS++;kE(9d)}F{o7("eu")}}};4I.vq=E(e){o.kK=0;if(o.fS+1<o.mp.R){o.fS++;kE(9d)}F{o7("eu")}};4I.e5()}};E o7(x){1n("1X gh qg or E1 DS");if(o.2X&&o.1Y){if(o.2X[o.3n]){if(o.2X[o.3n].K(2K("eu"))==-1){o.2X[o.3n]=o.2X[o.3n]+\' (\'+2K(x)+\')\'}}if(v.S1==1&&9d>-1){o.1Y[9d]=\'\';o.2X[9d]=\'\'}}o.3n=-1;o.51=J;if(o.S2){o.Q.aM();o.Q.4C()}F{1y(E(){if(o.Q){o.Q.aM();o.Q.4C()}},100)}if(L(o.1X)){o.1R.3j(o.1X);o.1X=26}}E tO(X,x,y,z){B fW;if(x.K("#"+v.9F)==0){x=o[o.fd[0]](x)}if(x.K("#"+v.bS)==0&&x.K(v.ex)>0){x=o[o.fd[1]](x)}if(X.K(\'bQ\')>0&&X.K(\'bQ\')<4){fW=X.1j(0,X.K(\'bQ\'))}if(X.K(\'.k9\')>-1||X.K(\'.tM\')>-1||X.K(\'.nU\')>-1||X.K(\'.tW\')>-1){B l=fW?fW:o.3n;!o.1Y?o.1Y=[]:\'\';if(o.1Y[l]=="9Y"){l=y}if(z!=\'1D\'||!2r[l]){2r[l]=7Z();2r[l][0]=[];2r[l][1]=[]}B 3z=ao();3z=x.2q(/\\r|\\n/);B tR=1;B t1=0;B t2=0;B g2=(L(v.A7)?v.A7:0);if(X.K(\'ji=\')>0){g2=X.1j(X.K(\'ji=\')+6)*1}U(B i=0;i<3z.R;i++){if(X.K(\'.k9\')>-1||X.K(\'.tW\')>-1){if(3z[i].K(\'-->\')>-1&&3z[i].K(\':\')>-1){if(z==\'1D\'){if(ke.K(3z[i])>-1){1h}ke.2N(3z[i])}t1=k8(3z[i].1j(0,3z[i].K(\'-->\')))*1+g2;t1==0?t1=1:\'\';t2=k8(3z[i].1j(3z[i].K(\'-->\')+4,12))*1+g2;L(2r[l][0][t1])?\'\':2r[l][0][t1]=\'\';U(B j=t1;j<t2;j++){2r[l][1][j]=t1}tR++}F{3z[i]=4D(3z[i]);if(3z[i]!=\'\'&&3z[i].R>0&&3z[i]!=tR&&3z[i]!=\'Sb\'){if(2g(2r[l][0][t1])){2r[l][0][t1]=2r[l][0][t1]+\'<br>\'+3z[i]}F{2r[l][0][t1]=3z[i]}}}}if(X.K(\'.tM\')>-1||X.K(\'.nU\')>-1){if(3z[i].K(\'Sj:\')>-1){t1=k8(3z[i].1j((X.K(\'.nU\')>-1?3z[i].K(\'=0\')+3:12),12))*1+g2;t2=k8(3z[i].1j((X.K(\'.nU\')>-1?3z[i].K(\'=0\')+14:23),10))*1+g2;B p=\'\';if(3z[i].K(\'0,,\')>0){p=3z[i].1j(3z[i].K(\'0,,\')+3)}F{if(3z[i].K(\'zS,\')>0){p=3z[i].1j(3z[i].K(\'zS,\')+6)}if(3z[i].K(\')}\')>0){p=3z[i].1j(3z[i].K(\')}\')+2)}}if(p!=\'\'){if(2r[l][0][t1]!=1E){2r[l][0][t1]+=\'<br>\'+p}F{2r[l][0][t1]=p}2r[l][0][t1]=2r[l][0][t1].1P(/{.*?}/,\'\');2r[l][0][t1]=2r[l][0][t1].1P(/\\\\\\\\N/,\'<br>\');2r[l][0][t1]=2r[l][0][t1].1P(/\\\\N/,\'<br>\');U(B j=t1;j<t2;j++){2r[l][1][j]=t1}}}}}nA[X]=H;if(o.1Y[y]!=\'9Y\'){z!=\'1D\'?k7():\'\'}}F{if(x!=\'\'){if(x.K(\'[\')==0){bj(x)}F{o7("2n")}}F{4g();o.Q.4C()}}}E k7(){o.Q.aM();o.V.iL();o.Q.4C()}E k8(k9){B 1J=k9.2q(\':\');B 5p=0;1J.R==2?1J.ku("cK"):\'\';1J[0]!=\'cK\'?5p+=1J[0]*y8:\'\';1J[1]!=\'cK\'?5p+=1J[1]*60:\'\';5p+=1J[2].1j(0,2)*1;5p=5p*10+1J[2].1j(3,1)*1;I 5p};E 8Z(x){if(L(o.3n)){if(o.3n!=x){ke=[];if(x==-1||(v.8L==1&&x==7s)){nY()}F{v.bB=0;o.3n=x;o.51=H;v.fF=1;vA(x);js("1X",o.2X[x]);o.Q.aM()}}F{if(v.8L!=1){nY()}}}}E vF(){if(L(o.2X[o.3n])){if(o.5m&&v.ue==1){3R.9f("t8",o.2X[o.3n])}F{v.Pf!=1?o.mI=o.2X[o.3n]:\'\'}}}E vA(x){if(L(o.1Y[x])){1n("eK",x);o.3n=x;vF();if(o.2o=="1D"&&o.9E==H){o.P.f9(x,"1D")}F{if(o.2o=="3N"&&o.vC==H){o.P.f9(x,"3N")}F{if(o.1Y[x]=="9Y"){ty(o.3n)}F{hK(o.3n)}}}}};G.tz=E(){if(o.fD){B x=o.fD.41;if(x[0]){B y=1z vg();y.cQ=E(e){B z=e.4i.iR;aW.2N(z);o.3n=-1;B z=x[0].6s;if(z.R>40){z=x[0].6s.1j(0,15)+\'...\'+x[0].6s.1j(-15)}if(v.8L==1&&v.xq==1){o.1Y.2N(\'aW\'+(aW.R-1));o.2X.2N(z+\'\');8Z(o.1Y.R-1)}F{o.1Y.ku(\'aW\'+(aW.R-1));o.2X.ku(z+\'\');v.8L==1?7s++:\'\';8Z(0)}o.fD.5z=""};y.Q3(x[0])}F{o.fD.2p()}}};G.8Z=E(x){8Z(x)};G.7s=E(){I 7s};G.Qd=E(x){7s=x};G.1o=E(x){oj(x)};G.C=E(){qs()};G.5G=E(){4g()};G.6v=E(){nY()};E nY(){js("1X","6v");o.51?o.AH=o.3n:\'\';o.3n=v.8L==1?7s:-1;v.fF=0;o.51=J;o.Q.aM();vF();o.vC?vA(o.3n):\'\';L(o.1X)?o.1R.3j(o.1X):\'\';o.1X=26}E oj(18){if(o.a0){I}B t=2L(18*10);if(v.bB){18=18-v.bB*1}
29if(o.51&&L(o.1Y)){if(2r){B x=o.3n;B t=2L(18*10);if(v.ye==1&&!o.1t){I}if(o.1Y[x]=="9Y"){if(!nk){U(B i=0;i<o.1Y.R;i++){1y(hK,i*47,i)}if(!2r[x]){2r[x]=7Z();2r[x][0]=ao();2r[x][1]=ao()}nk=H}F{if(2r[x][1][t]){}F{U(B i=0;i<o.1Y.R;i++){if(2r[i]){if(L(2r[i][1])){if(L(2r[i][1][t])){if(!2r[x][0][t]){2r[x][0][t]=\'\'}2r[x][0][t]+=(2r[x][0][t]!=\'\'?\'<br>[ot]\':\'\')+2r[i][0][2r[i][1][t]]+(2r[x][0][t]!=\'\'?\'[/ot]\':\'\')}}}}if(L(2r[x][0])){if(L(2r[x][0][t])){2r[x][1][t]=t}}}}}if(L(2r[x])){if(L(2r[x][1])){if(L(2r[x][1][t])){B y=\'\';y=2r[x][0][2r[x][1][t]];if(!L(o.1X)){o.1X=22(\'28\');3W(o.1X,{id:\'gi\'+v.id+\'4a\'+\'1X\'});o.1R.1V(o.1X);qs();js("qP",o.2X[x])}if(4S){6E(o.1X)}Ec();if(v.E8==1){y=PU(y)}if(v.lX==1){y=y.1P(/\\[ot\\]/gm,\'<7C C="1u:\'+3x(v.eH)+\'">\');y=y.1P(/\\[\\/ot\\]/gm,\'</7C>\')}if(y.K(\'<c.\')>-1){y=y.1P(/\\<c./gm,\'<7C C=1u:\');y=y.1P(/\\<\\/c\\>/gm,\'</7C>\')}if(v.9p){if(v.9p.2r==1&&uy!=y){js("2r",y);uy=y}}o.1X.1T=\'<7C C="\'+(v.BX==1?\'2C-1u:\'+5x(v.l2,v.kR)+\';\':\'\')+\'-3L-7h-uL-1h: PO;1u:\'+3x(v.fP)+\';2S:\'+v.uP+\'px \'+v.uP*2+\'px;2T-6B:\'+v.CW+\'px;2Q:0 0;2I-1f:\'+(v.CK?v.CK:1.8)+\';42-df:\'+v.km+\'">\'+4D(y)+\'</7C>\';O(o.1X,{"42-3J":((2L(v.pj)+((2L(v.fU)-100)*2L(v.pj)/100))+"px")});if(v.CA==1){if(o.1Z){O(o.1X,{"42-3J":((v.ph+((2L(v.fU)-100)*v.ph/100))+"px")})}}4S=J}F{if(!4S&&L(o.1X)){ro()}}}}F{ro()}}}}E ro(){if(!4S){o.1X?o.1X.1T=\'\':\'\';4S=H;3h(o.1X)}}E qs(){if(o.1X){O(o.1X,{"1r":"2E","Z":"100%","2S-1b":"10%","2S-2u":"10%","1b":0,"1u":v.fP,"1C-8s":"8h","7h-jT":"2T-7h"});if(v.Qm==1&&L(v.qz)){v.qz!=\'\'?O(o.1X,{"42-f1":v.qz}):\'\'}if(v.ns==1){O(o.1X,{"1C-ah":"-4q -4q 0 #gl,4q -4q 0 #gl,-4q 4q 0 #gl,4q 4q 0 #gl"})}F{if(v.kh==1){O(o.1X,{"1C-ah":"4q 4q Qb PZ"})}F{O(o.1X,{"1C-ah":"1W"})}}if(v.OP==1){rK(o.1X,\'o.nI\')}F{v.E8!=1?fj(o.1X):\'\'}}}E Ec(){if(!o.nI){if((o.Q.py()||v.cZ>v.1p.h)&&v.OH==1){O(o.1X,{"1r":"2E","1c":"2B","1b":0,"2O":v.cZ*1})}F{O(o.1X,{"1r":"2E","1b":0,"2O":(v.cZ*1+v.1p.h*1)})}}}E 4g(){o.3n=-1;o.51=J;o.pW=J;v.1X=26;v.lv=26;o.2r=26;o.1Y=26;nk=J;nA=[];2r=[];if(L(o.Q)){o.Q.aM()}o.2X=[];if(L(o.1X)){o.1R.3j(o.1X);o.1X=26}o.3n=26;o.51=J}};o.OC={"2B":"ÐвÑо","1t":"ÐÑÑк","3G":"ÐаÑза","2G":"СÑоп","1Z":"Ðо веÑÑ ÑкÑан","s6":"ÐÑйÑи из полноÑкÑанного Ñежима","1g":"ÐаÑÑÑойки","2w":"ÐаÑамеÑÑÑ","1I":"ÐÑомкоÑÑÑ","59":"ÐÑклÑÑиÑÑ Ð·Ð²Ñк","96":"ÐклÑÑиÑÑ Ð·Ð²Ñк","5b":"Ð ÐФÐÐ Ð","W":"ÐлейлиÑÑ","53":"ÐаÑеÑÑво","6M":"СкаÑаÑÑ","lz":"ÐÑкÑÑÑÑ Ñайл","1X":"СÑбÑиÑÑÑ","4T":"СкоÑоÑÑÑ","dW":"ÐбÑÑнаÑ","2n":"оÑибка","OA":"ÐклÑÑиÑе звÑк","7A":"ÐÑдио","eu":"оÑибка загÑÑзки","o6":"ÐÑÐµÐ½Ñ Ð½Ð¸Ð·ÐºÐ¾Ðµ","k5":"Ðизкое","kC":"СÑеднее","kW":"ÐÑÑокое","u1":"ÐÑÑокое","5t":"СледÑÑÑий","cl":"ÐÑедÑдÑÑий","2W":"ÐоделиÑÑÑÑ","DP":"СкопиÑовано в бÑÑÐµÑ Ð¾Ð±Ð¼ÐµÐ½Ð°","Ak":"Реклама","7e":"ÐÑопÑÑÑиÑÑ","Oz":"ÐÑопÑÑÑиÑÑ ÑеÑез ","Aj":"ÐеÑейÑи на ÑÐ°Ð¹Ñ ÑекламодаÑелÑ","fU":"Ð Ð°Ð·Ð¼ÐµÑ ÑекÑÑа","bB":"Сдвиг по вÑемени","fP":"Ð¦Ð²ÐµÑ ÑекÑÑа","eH":"Ð¦Ð²ÐµÑ ÑекÑÑа 2","l2":"Ð¦Ð²ÐµÑ Ñона","kR":"ÐÑозÑаÑноÑÑÑ Ñона","kh":"ТенÑ","ns":"ÐонÑÑÑ","km":"ТолÑина ÑекÑÑа","cZ":"ÐÑÑÑÑп ÑнизÑ","lO":"СбÑоÑиÑÑ","lo":"СкÑÑÑÑ Ð¿Ð°ÑамеÑÑÑ","Dm":"ÐагÑÑзиÑÑ","lA":"Сон","kv":"ÐÑопÑÑк","sL":"ЧаÑ","sK":"ÐинÑÑа","sI":"СекÑнда","Ee":"Ðа","En":"ÐеÑ","of":"из","8c":"ÐаÑолÑ","Eu":"ÐÑибка воÑпÑÐ¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð½Ð° ÑÑÑÑойÑÑве","Ex":"ÐгÑÐ°ÐµÑ Ð½Ð° ÑÑÑÑойÑÑве","cN":"Ðанал","1M":"ÐаÑÑÑаб","on":"Ðкл.","6v":"ÐÑкл.","w7":"ÐÑе ÑÑазÑ","h4":"кбиÑ/Ñ","lm":"Ðод","X":"СÑÑлка","1u":"ЦвеÑ","DK":"ÐонÑÑаÑÑ","eX":"ЯÑкоÑÑÑ","ds":"ÐаÑÑÑенноÑÑÑ","m0":"СепиÑ"};B 5L=E(x){B gY;B Pc;B 2Y;B 4Q;B 4j;B nO;B gM=0;B d5;B rA=J;B rP;if(x.me!=1E&&x.mc!=1E&&x.1H!=1E&&x.to!=1E){if(x.18==26){if(x.1H.K("gd")>-1){x.to==0?x.18=0.5:x.18=0.2}F{x.18=0.20}}gY=AC(x.6J);
29if(x.1H.K("1M")==-1){if(L(o.7l[x.me])){o.7l[x.me].w4()}o.7l[x.me]=G}if(x.1o==1){x.mc.1S("2k",H)}2Y=x.1H.2q(\'|\');4j=6Y(x.to).2q(\'|\');4Q=1z ao();U(B i=0;i<2Y.R;i++){if(!4j[i]){4j[i]=4j[0]}if(2Y[i]=="gd"){4Q[i]=x.mc.g("1B")}if(2Y[i]=="8F"){4Q[i]=x.mc.C.1B}if(2Y[i]=="y"){4Q[i]=x.mc.g("y")}if(2Y[i]=="x"){4Q[i]=x.mc.g("x")}if(2Y[i]=="1b"){4Q[i]=2L(x.mc.C.1b)}if(2Y[i]=="1c"){4Q[i]=2L(x.mc.C.1c)}if(2Y[i]=="1M"){4Q[i]=x.mc.g("3p")}if(2Y[i]=="9n"){4Q[i]=x.mc.de}if(2Y[i]=="i0"){4Q[i]=x.mc.bd}if(2Y[i]=="3t"){4Q[i]=x.mc.g("3t")}if(2Y[i]=="3p"){4Q[i]=x.mc.g("3p")}if(2Y[i]=="Z"){4Q[i]=x.mc.g("Z")}if(2Y[i]=="Bc"){4Q[i]=x.mc.2c;4j[i]=2H.9g(4j[i]);x.me=="Po"?1n("Z",x.me,4Q[i],4j[i],x.mc.2c):\'\'}if(2Y[i]=="1f"){4Q[i]=x.mc.g("1f")}if(2Y[i]=="B2"){4Q[i]=x.mc.2V}4j[i]=zL(4j[i]);4Q[i]=zL(4Q[i])}d5=x.18*2i/gY.R;nO=gY.R;if(2Y.R==1&&4Q[0]==4j[0]){9N()}F{1y(nN,2H.4t(d5))}}E nN(){U(B i=0;i<2Y.R;i++){B 1J=4Q[i]+(4j[i]-4Q[i])*(gY[gM]?gY[gM]:0);s8(2Y[i],1J);if(2Y[i]=="y"){x.mc.1S("1c",1J)}if(2Y[i]=="x"){x.mc.1S("1b",1J)}if(2Y[i]=="1b"){x.mc.C.1b=1J+"px"}if(2Y[i]=="1c"){x.mc.C.1c=1J+"px"}if(2Y[i]=="1M"){x.mc.1S("1M",1J)}if(2Y[i]=="3t"){x.mc.1S("3t",1J)}if(2Y[i]=="3p"){x.mc.1S("3p",1J)}if(2Y[i]=="9n"){x.mc.de=1J}if(2Y[i]=="i0"){x.mc.bd=1J}if(2Y[i]=="Z"){x.mc.1S("Z",1J)}if(2Y[i]=="Bc"){O(x.mc,{"Z":1J})}if(2Y[i]=="1f"){x.mc.1S("1f",1J)}if(2Y[i]=="B2"){O(x.mc,{"1f":1J})}}gM++;if(!rA){if(gM==nO){9N()}F{rP=1y(nN,2H.4t(d5))}}}E 9N(){rA=H;if(x.1l){if(2Y[0]=="8F"||2Y[0]=="1b"){1l(x.mc)}F{x.mc.1S("2k",J)}}if(x.1H.K("1M")==-1){o.7l[x.me]=26;4p o.7l[x.me]}U(B i=0;i<2Y.R;i++){s8(2Y[i],4j[i])}2F(rP)};E s8(y,z){if(y=="gd"){x.mc.1S("1B",z)}if(y=="8F"){x.mc.C.1B=z}}G.w4=E(){9N()};G.Eb=E(){gM=nO-1;nN();9N()};G.XY=E(x0,x1,y0,y1){B e=J;U(B i=0;i<2Y.R;i++){if(2Y[i]==\'x\'&&x0!=x1){e=H}if(2Y[i]==\'y\'&&y0!=y1){e=H}}e?9N():\'\'};E AC(AD){bO(AD){1k"AR":I[0,0.Qr,0.RS,1.RR,1.RQ,1.RJ,1.102,0.RH,0.RD,0.87,0.RC,0.RA,1.Rz,1.Ry,1.Rx,1.RW,0.RI,0.Se,0.Sq,0.Sp,1.So,1.Ca,1.Sn,1.Ca,1.Sg,0.iY,0.lc,0.lc,0.lc,0.lc,1];1h;1k"bI":I[0,0.Sd,0.RZ,0.Sc,0.Sa,0.S9,0.S8,0.S6,0.S3,0.Rr,0.QV,0.QS,0.QR,0.QQ,0.QP,0.QJ,0.QH,0.Qu,0.CJ,0.95,0.QE,0.QC,0.QB,0.QA,0.99,0.Qz,0.Qy,0.iY,1];1h;7b:I[0,0.Cu,0.32,0.44,0.52,0.6,0.67,0.73,0.Oo,0.82,0.85,0.QI,0.Rd,0.CJ,0.95,0.97,0.Rn,0.Rm,1];1h}}};B A1=E(){B N=7H.Rk,ua=7H.QZ,wO;B M=ua.wM(/(ls|hB|6w|Cn|BZ)\\/?\\s*(\\.?\\d+(\\.\\d+)*)/i);B M=ua.wM(/(ls|hB|6w|Cn|BZ|R5|nd)\\/?\\s*(\\.?\\d+(\\.\\d+)*)/i);if(M&&(wO=ua.wM(/8g\\/([\\.\\d]+)/i))!=26)M[2]=wO[1];B lB=7H.BU;G.cw=M?M[1]:N;G.8g=M?M[2]:7H.R2;G.dY=7H.BU>1;G.9G=7H.K2;G.ls=G.cw=="R1";G.sy=G.cw=="BJ 9.0";G.ie=G.cw=="BJ"||G.cw=="Lb"||G.cw=="Lv";G.nd=ua.cD(/(nd)\\/?\\s*/i)>-1;G.ff=G.cw=="Lk";G.6w=G.cw=="Ld";G.hB=1A.hB;G.iE=ua.cD("L5 NT")>-1;G.4l=(ua.cD(/(6Z|iW|Lx)\\/?\\s*/i)>-1)||(7H.M0===\'M5\'&&lB>1);G.tv=v.DR!=1&&ua.cD(/(TV|M9|Mb|Mc|Md|Mh|Mi|Mj)\\/?\\s*/i)>-1;G.lg=v.DR!=1&&ua.cD(/(LG)\\/?\\s*/i)>-1;G.6Z=ua.cD(/(6Z)\\/?\\s*/i)>-1;G.iW=G.4l&&!G.6Z;G.3L=\'Ma\'in 1Q.pU.C;if(ua.cD(/(cE)\\/?\\s*/i)>-1){lB>0?G.cE=H:G.tv=H;if(LA(\'(4H:LC)\').LJ){G.tv=H}}G.2f=(2w.2f==1||G.4l||G.cE||(ua.cD(/(LR|LS|ls nB)\\/?\\s*/i)>-1))&&!G.tv&&2w.LT!=1;G.vZ=G.6w||G.hB;G.1Z=J;if(G.4l){G.LM=3X(ua.1j(ua.K(\'OS \')+3,4).1P(\'4a\',\'.\'));if(G.iW&&(!\'HA\'in 1A||lB<2)){G.2f=G.4l=J;G.tv=H}}G.fG=!G.2f;G.rY=G.2f||G.dY;G.DB=G.2f||G.tv;G.Ly=G.3L&&G.fG;if(o.1R.yQ||o.1R.yS||o.1R.yP||o.1R.yO||o.1R.yL){G.1Z=H}};E 8W(4m,7u){U(B s in 7u){if(1G(7u[s])==\'3C\'){if(s=="3l"||s=="3b"){4m[s]=7u[s]}F{U(B s2 in 7u[s]){if(1G(4m[s])!=\'3C\'){4m[s]={}}if(1G(7u[s][s2])==\'3C\'){U(B s3 in 7u[s][s2]){if(1G(4m[s][s2])!=\'3C\'){4m[s][s2]={}}if(1G(7u[s][s2][s3])==\'3C\'){U(B s4 in 7u[s][s2][s3]){if(1G(4m[s][s2][s3])!=\'3C\'){4m[s][s2][s3]={}}4m[s][s2][s3][s4]=7u[s][s2][s3][s4];if(s3==\'2S\'||s3==\'2Q\'){4m[s][s2][s3][s4]=2L(4m[s][s2][s3][s4])}}}F{4m[s][s2][s3]=7u[s][s2][s3];if(s2==\'2S\'||s2==\'2Q\'){4m[s][s2][s3]=2L(4m[s][s2][s3])}}}}F{4m[s][s2]=7u[s][s2];if(s==\'2S\'||s==\'2Q\'){4m[s][s2]=2L(4m[s][s2])}}}}}F{if(s.K("LI")>0&&4D(7u[s])===""){}F{4m[s]=qX(s,7u[s])}}}I 4m};B qX=E(1a,5z){if(1G(5z)==\'4z\'){5z=4D(5z);if(1a.K("1u")>-1&&5z!=-1){5z=3x(5z)}}I 5z};E D9(){2R{B 5m=1A[\'3R\'],x=\'Ml\';5m.9f(x,x);5m.rW(x);I H}2D(e){I J}};E wB(ax){if(ax){if(L(o.7l[ax])){o.7l[ax].w4()}}};B 2K=E(x){B y=x;if(y){y=x.6F(0).Bl()+x.4M(1);if(y.K("4a")>-1){y=y.1P(/4a/ig," ")}}B en={"of":"of","h4":"h4","Ex":"Es on Er","Eu":"Es 2n on Er","w7":"LK at LW","8c":"pn","En":"No","lA":"Me","kv":"M6","lz":"vE 3b","Ee":"M1","cZ":"LZ 2Q","km":"L2 df","kh":"L6","kR":"bs 1B","l2":"bs 1u","fU":"wd 3J","fP":"wd 1u","eH":"wd 1u 2","bB":"46 ji","lo":"bt 2w","lO":"Ls","cl":"Lc","DP":"NP to NN","o6":"NM","k5":"NL","kC":"NK","kW":"DI","u1":"DI","o9":"HD","ng":"NJ HD","NI":"NH HD","tI":"NE HD","uS":"ND HD 4K","Ak":"Ad","Aj":"Go to NA Mm\'s Ny","7A":"Nx","5b":"Nw","1Z":"Nv 1Z","s6":"Cr 1Z"};if(L(en[x])){y=en[x]}if(v.Ai==1){if(o[\'lG\'+o.1i.9G]){v.9G=o.1i.9G;v.Ai=0}}if(L(o[\'lG\'+v.9G])){if(L(o[\'lG\'+v.9G][x])){y=o[\'lG\'+v.9G][x]}}if(v.y5){if(v.y5[x]){y=v.y5[x]}}I y};B a1=E(x,y,z){if(!L(o.hx[y])&&v.sH!=1){B t=o.cT?o.cT:(v.1O?v.1O:\'\');L(v.8x)?t=v.8x:\'\';if(v.zI[x]==1&&v.CG==1&&L(v.y9)){if(L(1A["zJ"+v.y9])){1A["zJ"+v.y9].Oh(\'lJ\'+x,{1O:t});1n("zj",\'lJ\'+x)}F{1n("zj Of 2n")}}if(v.za[x]==1){if(v.ga==1){B jB;if(1A.zw){jB={\'Oe\':\'Ob\',\'NU\':t};if(v.jF){if(1G(v.jF)=="3C"){U(B g in v.jF){if(v.jF.2v(g)){jB[g]=v.jF[g]}}}}v.O5==1?1n(\'ga\',\'lJ\'+x,jB):\'\';zw(\'1e\',\'lJ\'+x,jB)}}}}z?o.hx[y]=H:\'\'};B mx=E(X){B x=\'\';X=X.1P("v=","{=");if(X){if(X.K(\'mo.be/\')>-1){x=X.1j(X.K(".be/")+4);x.1P("/","")}F{x=X.2q(/(mo.be\\/|v\\/|lm\\/|NZ\\?|4U.NX\\/KJ\\/[^#]*#([^\\/]*?\\/)*)\\??{?=?([^#\\&\\?]*)/)[3]}if(x!=\'\'){if(x.K("?t=")>0){v.1v=x.1j(x.K("?t=")+3);B h=0;B m=0;B s=0;if(v.1v.K("h")>0){h=v.1v.1j(0,v.1v.K("h"));v.1v=v.1v.1j(v.1v.K("h")+1)}if(v.1v.K("m")>0){m=v.1v.1j(0,v.1v.K("m"));v.1v=v.1v.1j(v.1v.K("m")+1)}if(v.1v.K("s")>0){s=v.1v.1j(0,v.1v.K("s"));v.1v=v.1v.1j(v.1v.K("s")+1)}if(h>0||m>0||s>0){v.1v=h*y8+m*60+s*1}}if(x.K("?")>0){x=x.1j(0,x.K("?"))}}}I x};B js=E(x,y,li,ev){if(x=="8w"){o.8w=H}if(ev==1){U(B yi in y){if(y.2v(yi)){if(1G(y[yi])=="3C"){y[yi]=\'\'}}}}if(v.l9==1&&o.8w){if(v.NW==1||li==1){z6(x,y)}F{if(y!=1E){if(1G(y)==\'3C\'){2R{y=54.wi(y)}2D(e){}}
29F{if(1G(y)==\'4z\'){y=y.1P(/\'/ig,\'â²\')}}}if(1G(v.3l)==\'4z\'){if(v.3l.K("{")==0){2R{v.3l=v.3l.1P(/\\\'/ig,\'"\');v.3l=54.7a(v.3l)}2D(e){8v.1n(e)}}}if(1G(v.3l)==\'3C\'){if(L(v.3l[x])||L(v.3l[\'xC\'])){B z=x;if(!L(v.3l[x])&&L(v.3l[\'xC\'])){z=\'xC\'}if(x.K("6c")==0){if(L(v.3l[\'1U\'])){z=\'1U\'}}2R{if(y!==1E){2h(v.3l[z]+"(\'"+x+"\',\'"+v.id+"\',\'"+y+"\')")}F{2h(v.3l[z]+"(\'"+x+"\',\'"+v.id+"\')")}}2D(e){1n("3l",e,x)}}}F{if(v.3l==\'\'){v.3l="B6"}2R{if(y!==1E){2h(v.3l+"(\'"+x+"\',\'"+v.id+"\',\'"+y+"\')")}F{2h(v.3l+"(\'"+x+"\',\'"+v.id+"\')")}}2D(e){1n("3l",e,x,y)}}}}if(o.8w&&v.Bw==1){if(o.Bv){2R{o.Bv.hU.p6({1e:x,8V:y},"*")}2D(e){}}}if(v.Ji==1&&li!==1){if(x&&2g(v.BB)){B pm=v.BB.1P(/\\s+/ig,\'\').2q(\',\');if(pm.K(x)==-1){I}}B zv={1e:x,18:o.P?(x=="3B"?o.CI:o.P.18()):0};if(y!=1E){zv["29"]=y}if(x=="1m"||x=="18"){zv["1m"]=o.P.1m()}if(x=="1I"||x=="96"){zv["1I"]=v.1I}if(x=="1z"){zv["id"]=3r("Bs")}2R{1A.7S.p6(zv,\'*\')}2D(e){};B z=x;x=="8w"||x=="1v"||x=="4f"?z=x+"ed":\'\';x=="1t"?z="MM":\'\';x=="3G"?z="8q":\'\';x=="59"?z="3m":\'\';x=="96"?z="MK":\'\';x=="3B"?z="MJ":\'\';x=="MI"?z="MH":\'\';zv["1e"]=z;if(z!=\'\'&&z!=x){zv=54.7a(54.wi(zv));2R{1A.7S.p6(zv,\'*\')}2D(e){}}}};B z6=E(x,y){B ev=1Q.MG(\'7q\');if(y!==1E){ev.8V=y}ev.MF(x,H,H);o.1F.ME(ev)};G.2U=E(x,y,S){v.MD==1?1n(\'2U\',x,y):\'\';I 3r(x,y,S)};E 3r(x,y,S){if(L(o.V)&&1G(x)==\'4z\'){if(o.kq==1){I}if(S){if(1G(S)==\'4z\'){if(S.K("id:")==0){S=o.Q.uH(S.1j(3),"4L");if(S){if(x=="p0"&&y=="MB"){S.H8()}}}}}if(x=="1t"||x=="3b"){if(L(y)){B bm=J;if(1G(y)==\'4z\'){y=y.1P(/(\\r\\n|\\n|\\r)/gm,"");B 2e=-1;if(y.K("[3B:")>-1&&y.lF("]")==y.R-1){2e=y.1j(y.K("[3B:")+6,y.R-1);2e=2e.1j(0,2e.R-1);if(2e=="18"){2e=o.P.18()}F{2e=2L(2e)}y=y.1j(0,y.K("[3B:"));if(y==\'\'){if(o.P.1m()>0){o.V.3S(2e);o.V.2z();I}F{o.2e=2e;o.V.2z();I}}F{o.2e=2e}}if(y.K("[By]")>-1){bm=H;y=y.1P(\'[By]\',\'\')}if(y.K("#"+v.9F)==0){y=o[o.fd[0]](y)}if(y.K("#"+v.bS)==0&&y.K(v.ex)>0){o[o.fd[1]](y,B8,x);I}if(y.K("#0")==0){y=cm(y)}if(v.cn==1){y=cn(y)}if(y.K(".9o")==y.R-4){B 4I=h9(y);4I.cQ=E(){if(G.d1==4&&G.6X==4y){2R{3r(\'1t\',54.7a(G.dR))}2D(e){}}};4I.e5();I}if(y.K("id:")==0&&L(o.1K)){B z=B9(y);if(L(o.1K[z])){o.Q.HU(z);2e>-1?o.2e=2e:\'\';I H}F{I J}}if(y.K("My:")==0){B z=y.1j(10);if(o.2o=="4U"){o.P.DL(z);I H}F{y=\'//mo.be/\'+z}}}if(x=="1t"){o.Q.Iy();o.V.eg(y,1E,1E,(bm?1:0))}if(x=="3b"){o.np=H;v.3k=0;o.V.eg(y,1,1E,(bm?1:0));o.Q.3V(0,0);o.1v=J}}F{if(x=="1t"){o.V.2z()}if(x=="3b"){1G Bx==\'E\'?Bx():\'\'}}}if(x=="dS"){y?o.P.DF(y):\'\'}if(x=="4G"){if(L(y)){o.np=H;o.V.eg(y,1,1)}F{o.P.sN()}}if(x=="3G"){if(o.1t){o.V.3d();o.V.iL()}if(L(y)){if(y==1){2R{if(o.1U){o.1U.3G()}if(o.cu){o.cu.3G()}}2D(e){}}}}if(x=="cN"&&L(y)){o.1v&&o.7D?o.7D.Bt(y):\'\'}if(x.K("Mu")==0){if(o.1U){o.1U.Mt(x.1j(6),y)}}if(x=="5w"){I o.ek}if(x=="an"){o.an.lH();o.an=1z rE();if(L(y)){o.an.9o(y)}F{if(v.Eo==1){o.an.9o(v.Ew)}F{o.an.9o("MP 9H")}if(v.Et==1&&L(v.Eq)){o.eB=1z Ep()}}}if(x=="8a"){!o.1v?o.Q.xN():\'\';o.Q.9v();o.Q.IT("xV")}if(x=="iG"){o.1t?o.V.3d():o.V.2z()}if(x=="2G"){v.4G=0;v.3k=0;o.P.qF();o.V.bD()}if(x=="6A"){o.18=o.P.18();o.V.fp()}if(x=="6M"){if(v.9p){if(v.9p.on==1&&v.9p.MC==1){o.V.hO()}}}if(x=="yW"&&L(y)){if(o.5a){o.5a.2U(y)}}if(x=="2W"){o.Q.EH()}if(x=="MQ"&&L(y)){if(v.1U==1){if(y.K(\'js:\')==0){v.6z=y;v.iw=H;o.V.rX("6z")}F{if(o.p!=\'\'){B sv=54.7a(dN(o.p));U(B l in sv){if(sv.2v(l)){if(L(sv[l].id)){if(y==sv[l].id){v.6z=\'Nh\'+(L(sv[l][\'xc\'])?\'xc\'+sv[l][\'xc\']:\'\')+y+\'4a\'+sv[l].7m;v.iw=H;o.V.rX("6z")}}}}}}}}if(x=="Nf"){1G AX=="E"?AX(y):\'\'}if(x=="AV"&&y){v.AV=y;o.3q?o.3q.Nc():\'\'}if(x=="59"){o.V.56()}if(x=="4T"){if(L(y)){o.V.8Y(y)}F{I o.5R[o.ae]}}if(x=="e0"){if(v.9p&&o.bz){if(v.9p.bz==1){I 2H.4t((o.bz.6Q(Na).R-1)/2H.4t(o.P.1m())*100)}}}if(x=="kk"){I o.5R}if(x=="96"){o.V.6j()}if(x=="lv"){if(L(y)){v[x]=y;o.V.iK()}}if(x=="cL"){I o.2x}if(x=="Cy"){I o.ab?H:J}if(x=="5b"){I o.P?o.P.5T():J}if(x=="qP"){I v.8L==1?(v.xq==1?o.2X.4M(1):o.2X.4M(0,-1)):o.2X}if(x=="GX"){o.51?o.3w.6v():o.3w.8Z(2m(o.AH,(o.3w.7s()==0?1:0)))}if(x=="e3"){I o.a0}if(x.K("1X:")==0&&y){v[x.1P(\'1O:\',\'4a\')]=y;o.V.iL()}if(x=="MX"){I o.hG}if(x=="aJ"){I o.7n}if(x=="1I"||x=="zb"){if(L(y)){if(1G y=="4z"){if(y.K("+")==0){y=v.1I+3X(y.1j(1))}
29F{if(y.K("-")==0){y=v.1I-3X(y.1j(1))}}}if(y>=0&&y<=1){o.V.3T(y)}}I o.3m?0:v.1I}if(x=="3m"){I L(o.3m)?o.3m:J}if(x=="MU"){o.Q?o.Q.Hj(y):\'\'}if(x=="aY"){y<2?y=\'\':\'\';if(2g(o[\'u\'+y])){B x2=54.7a(dN(o[\'u\'+y]));B v2=o.v0?dG(o.v0):{};v=v2;v=8W(v,x2);v=8W(v,2w);v=8W(v,o.lE);B xz=J;if(o.Q.bu()){o.Q.8b();xz=H}B xA=J;if(o.Q.eO()){o.Q.cI();xA=H}o.Q.4g();o.Q=26;o.Q=1z qD();if(o.P.6X()=="7T"){o.Q.2z()}o.Q.3T(v.1I);if(L(v.1O)){9C(v.1O)}if(xz){o.Q.8b()}if(xA){o.Q.cI()}if(o.1Z){o.Q.9a()}o.Q.3V(o.P.18(),o.P.1m());aA()}}if(x=="ln"){I v.ln}if(x=="4N"){o.Q.4N(H)}if(x=="Ss"){o.Q.oi()}if(x=="EE"){aA()}if(x=="2n"){o.P.5N(x)}if(x=="3B"){if(L(y)){if(1G y=="4z"){if(y.K("%")>-1){y=2L(y.1j(0,y.K("%")));y=o.P.1m()*y/100}F{B nG=o.P.18();if(o.3q&&!o.1v){if(!o.3q.o8){B f=o.3q.b8();if(f.t&&f.d){nG=f.t;o.3q.o8=H}}}if(y.K("+")==0){y=nG+3X(y.1j(1))}F{if(y.K("-")==0){y=nG-3X(y.1j(1))}}}}y=y*1;y<0?y=0:\'\';if(o.P.1m()>0){y>o.P.1m()?y=0:\'\'}if(!L(o.1U)&&!L(o.5F)&&o.P.1m()>0){o.2e=1E;o.V.3S(y,H);o.V.tr()}F{o.2e=y}}}if(x=="Su"){8v.1n(y);y?v.1N.3B=y:\'\'}if(x=="1Z"){!o.1Z?o.V.9a():\'\'}if(x=="yo"){o.1Z?o.V.8H():\'\'}if(x=="V0"){I o.1Z}if(x=="3J"){I o.3a+\'/\'+o.4B}if(x=="10o"){I o.P?o.P.3J():1E}if(x=="10p"){if(L(o.fv)){o.fv.Do()}}if(x=="If"||x=="10q"){if(L(o.fv)){o.fv.Un()}}if(x=="18"||x=="zC"){B kz=o.P?o.P.18():0;if(o.3q&&v.bX==1&&!o.1v&&kz==0){B f=o.3q.b8();if(f.t){kz=f.t}}I x=="zC"?g1(kz):kz}if(x=="10r"){if(o.cr){3r("1t","id:"+o.cr)}if(o.zu){3r("3B",o.zu);3r("1t")}}if(x=="1m"){I o.P?o.P.1m():0}if(x=="8j"){I o.P?o.P.a4():0}if(x=="8k"){if(y){v.8k=y;o.Q.kc()}}if(x=="53"){if(L(y)){if(S){v.hd=aN(v.hd,y,S);if(o.2x.R==2){o.V.5P(v.hd)}}F{o.V.5P(y)}}F{I o.P?xG(o.P.uk()):0}}if(x=="7A"){if(L(y)){if(y==\'AY\'){I o.6R*1}if(S){v.xu=aN(v.xu,y,S);if(o.7n.R==2){o.V.ec(v.xu)}}F{o.V.ec(y)}}F{I o.P?o.P.un():0}}if(x=="B1"){I o.2o=="4U"}if(x=="r5"){if(o.6R>0){o.o4=o.6R}o.V.eg(o.41[o.lL])}if(x=="7T"){I o.1t}if(x=="lh"){I o.1v}if(x=="1i"){I o.1i[y]}if(x=="Bh"){o.kq!=1?o.P.tF():\'\'}if(x=="id"){I v.id}if(x=="1n"){v.1n=y}if(x=="l9"){v.l9=y}if(x=="2b"){o.P.AW()}if(x=="10s"){o.P.Ap();if(S){o.xr=aN(o.xr,y,S)}}if(x=="5j"){o.P.fr()}if(x=="91"){o.P.dM()}if(x=="2w"&&v.sH!=1){8v.1n(2w)}if(x=="10t"&&o.3K){o.3K.8w()}if(x=="10n"&&o.3K){o.3K.5G()}if(x=="1X"){if(L(y)){if(y==\'AY\'){I o.3n*1}if(y==\'0/1\'){if(o.51){o.xl=o.3n;y=-1}F{y=o.xl?o.xl:0}}if(y.6a().R<3&&o.3w){o.3w.8Z(y*1)}F{v.1X=y;o.V.eK(y)}}F{I o.2X?o.2X[o.3n]:\'\'}}if(x=="+1X"&&v.1X){if(L(y)){v.1X+=\',\'+y;o.V.eK(v.1X)}}if(x=="cq"){if(L(o.cq)){if(L(y)){o.cq.2U(y)}F{I o.cq.10u()}}}if(x=="vH"){if(o.AK){I o.AK}F{I J}}if(x=="9A"){I o.P.9A()}if(x=="7h"){if(o.bE){o.bE.3Z?o.bE.3Z.3j(o.bE):\'\'}o.bE=22("28");o.bE.id=y;o.bE.C.4W=10w;o.1R.1V(o.bE)}if(x=="EQ"){if(o.4o){B 5u=22("5u");B 3J=o.P.3J();5u.Z=3J.Z>0?3J.Z:o.aE;5u.1f=3J.1f>0?3J.1f:o.ez;O(5u,{"1r":"2E","1c":-5u.1f,"1b":-5u.Z,"2k":"1W"});1Q.b4.1V(5u);B 9j=5u.AN(\'2d\');9j.x8(o.P.ak(),0,0,5u.Z,5u.1f);B 53=2;B jR=1Q.22("5u");jR.Z=5u.Z*53;jR.1f=5u.1f*53;B je=jR.AN("2d");je.x8(o.P.ak(),0,0,5u.Z*53,5u.1f*53);if(v.10x==1&&L(v.xa)){!L(v.jK)?v.jK=20:\'\';!L(v.xb)?v.xb="3H":\'\';je.42=v.jK+"px 10y, 10z";je.10A=3x(v.xb);je.10B((v.xa=="kX"?o.kX:v.xa),v.jK,5u.1f*53-v.jK-5)}9j.x8(jR,0,0,5u.Z,5u.1f);B 4u;2R{4u=5u.10C("a5/10v")}2D(e){8v.1n(e.9H);I J}I 4u}F{I J}}if(x=="3N"){I o.2o==x?o.P.mm():1E}if(x=="1D"){I o.2o==x?o.P.lZ():1E}if(x=="2a"){if(!o.1t||v.eT===0){o.P.a9(y);I H}F{I J}}if(x=="DW"){if(L(y)){y==\'1/0\'?y=1-2m(v.mD,0):\'\';v.mD=y;o.P.jQ()}F{I 2m(v.mD,0)}}if(x=="1M"){if(L(y)){if(y==0){o.P.jQ()}F{o.P.1M(y)}}F{I[o.3E.x,o.3E.y,o.3M.C.1b,o.3M.C.1c]}}if(x=="1O"){if(L(y)){L(y)?v.1O=y:\'\';o.V.9C(\'1O\');I H}F{I v.1O}}if(x=="10l"){o.V.CU()}if(x=="2N"){if(y){!o.iQ?o.iQ=[]:\'\';if(1G(y)==\'3C\'){y=o.iQ.9O(y);x="W"}}}if(x=="W"){if(y){if(1G(y)==\'3C\'){2R{o.V.6l(y);I H}2D(e){I J}}F{if(y.K(".9o")==y.R-4||y.K(".9o?")>0){B 4I=h9(y);4I.cQ=E(){if(G.d1==4&&G.6X==4y){2R{3r(\'W\',54.7a(G.dR))}2D(e){}}};4I.e5();I H}F{if(y==\'\'){o.V.6l([])}F{if(y==\'e0\'&&o.hG>0){B 1J=2H.4t(((o.x5+(!o.Q.cJ("e0")?o.P.18():0))/o.hG)*100);if(1J<o.wZ||1J>100){I o.wZ}F{o.wZ=1J;I 1J}}}}}}}if(x=="5t"){o.Q?o.Q.au():\'\'}if(x=="cl"){o.Q?o.Q.di():\'\'}if(x=="6p"){o.Q?o.Q.jk(y):\'\'}if(x=="6p?"){I o.9P?[o.10d,o.10k]:0}if(x=="gP"){o.P?o.P.gP():\'\'}if(x=="nl"){if(L(y)&&L(o.1K)){!o.1t?v.3k=0:\'\';
29U(B j in o.1K){if(o.1K.2v(j)){if(o.1K[j].er==y){y=j}}}if(L(o.1K[y])){o.Q.Hm(y);I H}F{I J}}}if(x=="12F"){B 1J=[];if(L(o.1K)){U(B j in o.1K){if(o.1K[j].5c&&o.1K[j].uO==-1){1J.2N({1O:o.1K[j].1O,id:o.1K[j].id})}}}I 1J}if(x=="Bs"){if(o.3u){I o.1K[o.3u].er?o.1K[o.3u].er:o.3u}}if(x=="ZX"){if(o.1K){I 7Z.6f(o.1K).R}F{I-1}}if(x=="le"){if(L(o.le)){I o.le}}if(x=="ZY"){o.Q.ik(y)}if(x=="ZZ"){o.P.j3()}if(x=="1p"){if(y=="on"){v.1p.1l=0}F if(y=="6v"){v.1p.1l=1;o.Q.gp()}F{o.Q.jv()}}if(x=="lk"){o.Q.8b()}if(x=="10a"||x=="10b"||x=="ZV"){if(L(y)){o[\'10c\'+x.4M(-1)]=v[x]=y*1;o.Q.hM(\'3F\'+x.4M(-1))}F{I v[x]}}if(x=="5Q"){o[x]=H}if(x=="10e"){if(o.1U){I H}F{I J}}if(x=="10f"){if(o.1U){I Bd()}F{I J}}if(x=="10g"){if(o.1U){I o.1U.3G()}F{I J}}if(x=="10h"){if(o.1U){I o.1U.CC()}F{I J}}if(x=="10i"){if(o.1U){o.1U.10j()}F{I J}}if(x=="10D"){if(o.1U){o.1U.59()}F{I J}}if(x=="6g"){if(S){v.6g=aN(v.6g,y,S);o.P.6g()}F{I v.6g}}if(x=="8R"){if(L(S)){v.8R=aN(v.8R,y,S)}F{if(L(y)){y==\'0/1\'?y=1-v.8R:\'\';v.8R=y}F{I v.8R}}}if(x=="5H"){if(L(S)){v.5H=aN(v.5H,y,S)}F{if(L(y)){v.5H=y}F{I v.5H}}}if(x=="kg"||x=="p9"){B z="bG";x=="p9"?z="p7":"";if(L(S)){v.W[z]=aN(v.W[z],y,S)}F{if(L(y)){y==\'0/1\'?y=1-v.W[z]:\'\';v.W[z]=y}}I v.W[z]}if(x=="hd"){if(o.2x.R==2){v.hd=o.2x[o.3i];v.hd=aN(v.hd,y,S);if(o.2x[0]==v.hd){o.V.5P(0)}F{o.V.5P(1)}}}if(x=="v"&&y){if(y.K(\'3b\')==0||y.K(\'bk\')==0){I}I v[y]}if(x.K("dL:")==0){B xx=x.1j(7);if(1G(y)==\'3C\'&&1G(v[xx])==\'3C\'){U(B yy in y){if(y.2v(yy)){v[xx][yy]=y[yy]}}}F{if(x.K(\'JC\')==-1){v[xx]=y}}I H}if(x.K("1C:")==0){o.Q.EG(x.1j(5),y)}if(v.zD==1&&x.K("1u")==0&&y){jN(\'5d, 5d > *{--6T\'+x+\':\'+5x(y,v[y.1P("1u","6m")+\'a\'])+\'}\')}if(x=="10m"){I o.P?o.P.bZ():\'\'}if(x=="10E"){I o.8g+\' \'+o.j1}if(x=="j1"){I o.j1}if(x=="tg"){I o.tg}if(x=="Bb"){I o.Bb}if(x=="5C"){I o.5C}if(x=="10X"){I o.1U?o.z7:1E}if(x=="as"){o.V.ov();v.1N.on=0;if(v.uu==1){U(B i=0;i<4Z.R;i++){if(4Z[i]){if(4Z[i].2U("id")==v.id){4Z[i]=26}}}}U(B w in 1A){if(1A[w]==o.G){1A[w]=26}}if(1A.eC==v.id){1A.eC=\'\'}if(o.3K){o.3K.5G()}o.kq=1;o.1F.1T=\'\';o.G=26}}F{I J}};E B8(x,y){if(x&&y){3r(y,x)}}E aN(x,y,S){B z=4D(y)+\'\';if(y){if(y.K("/")>0){B y2=y.2q("/");if(y2.R==2){if(x==4D(y2[0])){z=4D(y2[1]);if(S){S.cG(1)}}F{z=4D(y2[0]);if(S){S.cG(0)}}}}}I z}E h9(x){B 4I=1z Dz();4I.6C(\'DD\',x,H);I 4I}E B9(y){B z=y.1j(3);if(o.1K){U(B j in o.1K){if(o.1K.2v(j)){if(o.1K[j].er==z){z=j}}}}I z}E Bd(){B x;if(o.1U){if(o.1U.ey()){x=o.1U}}if(!x&&o.5F){x=o.5F}if(x){B y={is:o.3Q,1i:x.8V("10Z"),8g:x.8V("8g"),11a:x.8V("zZ"),X:o.B7+(x.8V("zA")?x.8V("11b")+x.8V("zA"):\'\'),1H:x.8V("11c"),1m:x.8V("cg"),3b:x.8V("3b"),18:(o.P?o.P.18():\'\'),1I:x.11d(),id:o.z7};if(o.3Q=="6z"){y.11e=o.10Y}I y}}E wt(){if(\'gg\'in 7H){7H.gg.7P=1z 11f({1O:Ag(2m(o.cT,v.1O)),11h:[{3v:2m(v.2a,\'\')}]});if(!o.zG){7H.gg.lK(\'1t\',E(){3r("1t")});7H.gg.lK(\'3G\',E(){3r("3G")});if(o.Q.fg()){7H.gg.lK(\'11i\',E(){3r("cl")});7H.gg.lK(\'11j\',E(){3r("5t")})}o.zG=H}}}B 22=E(x){B y=x;x==\'28\'||x==\'rc\'?y=\'5d\':\'\';B z=1Q.22(y);if(x==\'rc\'){O(z,{"6P":"4H","2k":"4w"})}I z};B 1n=E(a,b,c,d,e,f,g){if(v.1n==1||v.yb==1){B x=a+(b!=1E?" "+b:"")+(c!=1E?" "+c:"")+(d!=1E?" "+d:"")+(e!=1E?" "+e:"")+(f!=1E?" "+f:"")+(g!=1E?" "+g:"");8v.1n("yc"+(v.tl==1?"2":"")+": "+x);if(v.yb==1&&L(1Q.8e("zp"))){1Q.8e("zp").1T+=x+\'<br/>\'}}};B JM=E(){if(v.wY==1&&L(v.e6)&&v.e6!=\'\'){B x=1Q.22(\'h0\');x.8S=\'11k\';v.e6.K(\':\')>0&&v.e6.K(\':la\')==-1?v.e6=v.e6.1P(/:/ig,\':la@\'):\'\';x.8O=\'jZ://wY.11l.a7/11m?f1=\'+v.e6.1P(/,/ig,"&f1=").1P(/ /ig,"+");1Q.11n.1V(x)+\'&2k=11g\'}};B I8=E(28,6m){B x=["yE","gU","pL","ir","dB","10W"];U(B y=0;y<x.R;y++){B z=28.yj("2y "+x[y]);if(z.R>0){U(B y2=0;y2<z.R;y2++){z[y2].C.6n=6m}}}};B pz=E(){if(v.9p){if(v.9p.10O==1){js("2p")}}};B 46=E(18){18<0?18=0:\'\';B A9=o.P.1m>=gB?H:J;B A8=o.P.1m>=y8?H:J;B 6K=2H.9g(18/60);B 7R=2H.9g(18-6K*60);B 8G=2H.9g(6K/60);B jJ=2H.9g(8G/24);6K=6K-8G*60;if(jJ>0){8G=8G-jJ*24}if(v.lI==1&&o.P.5T()){B d=1z 7W();I 6Y(1z 7W(d.9K()+18*2i).Ab())}F{I 6Y((jJ>0?jJ+\':\':\'\')+(8G>0||A8?8G+\':\':\'\')+((8G>0||A9)&&6K<10?\'0\':\'\')+6K+\':\'+(7R<10?\'0\':\'\')+7R)}};B g1=E(x){B 7R=2H.9g(x);B 6K=2H.9g(7R/60);B 8G=2H.9g(6K/60);6K=2H.9g(6K%60);7R=2H.9g(7R%60);8G>0&&6K<10?6K="0"+6K:"";7R=7R>=0?((7R>=10)?7R:"0"+7R):"cK";B 5p=(8G>0?8G+":":"")+(6K>=0?6K:"0")+":"+7R;if(v.lI==1&&o.P.5T()){B d=1z 7W();I 6Y(1z 7W(d.9K()+x*2i).Ab())}F{I 5p}};
29B zr=E(){I zs((1A.8I!=1A.7S.8I)?1Q.q9:1Q.8I.8O)};B xG=E(x){if(x){x=x.6a();B y6=x.K(" <7C C=\'1B");if(y6>-1){x=x.1j(0,y6)}}I x};B tU=E(x,y,z){B t;if(!Ah(x)&&y){t=1Q.22(\'nb\');y=="10V"?y=x:\'\';t.3v=y.K(\'//\')==-1?\'jZ://\'+y:y;t.10H=1;if(z){t.6s=z}B s=1Q.aP(\'nb\')[0];s.3Z.lQ(t,s)}I t};B Ag=E(x){if(x){if(1G(x)==\'4z\'){x=x.1P(/<[^>]*>?/gm,\'\')}}I x};B Ah=E(y){B x=J;B ql=1Q.aP(\'nb\');U(B i=0;i<ql.R;i++){if(ql[i].3v.K(y)>-1){x=H}}I x};B 5x=E(x,y,z){if(x){if(x.K(\'1u\')>-1||x.K(\'B\')>-1){if(L(y)&&L(z)){z.C.1B=y}I 3x(x)}F{x=x.1P(\'#\',\'\');B r=2L(x.R==3?x.4M(0,1).fb(2):x.4M(0,2),16);B g=2L(x.R==3?x.4M(1,2).fb(2):x.4M(2,4),16);B b=2L(x.R==3?x.4M(2,3).fb(2):x.4M(4,6),16);if(L(y)){I\'5o(\'+r+\', \'+g+\', \'+b+\', \'+y+\')\'}F{I\'zR(\'+r+\', \'+g+\', \'+b+\')\'}}}};B 8m=E(y){B x=y;if(v.zm&&v.zm!=1){x=y/v.zm}I x};B O=E(e,o){if(L(e)){U(B 1a in o){if(o.2v(1a)){if(o[1a]!=\'10I\'&&o[1a]!=1E){if(1G o[1a]==\'10J\'&&1a!=\'42-df\'&&1a!=\'1B\'&&1a!=\'4W\'){o[1a]+=\'px\'}if(1a.K("10K")>-1&&1a.K("Kq")==-1){o[1a]=3x(o[1a])}if(1a=="2Z"||1a.K("jC")>-1){e.C[\'-ms-\'+1a]=o[1a];e.C[\'-pO-\'+1a]=o[1a];e.C[\'-3L-\'+1a]=o[1a];e.C[\'-o-\'+1a]=o[1a]}if(1a=="uG"){if(o[1a].K(" ")>-1){o[1a]=\'"\'+o[1a]+\'"\'}}if(1a=="7h-jT"){e.C.10L(1a,o[1a],\'5W\')}F{e.C[1a]=o[1a]}}}}}};B rB=E(x,6m,b1,b2){6m=3x(6m);B y=2m(b1,1)*1;B z=2m(b2,1)*1;O(x,{"2C":"10M-3e-4J(-10G,"+6m+","+6m+" "+y+"px,5o(0,0,0,0),"+y+"px,5o(0,0,0,0) "+(y+z)+"px)"})};B 3x=E(c){if(c){c.K("1u")==0?c=\'B(--6T\'+c+\')\':\'\';I c.1j(0,1)!=\'#\'&&c.K("B")==-1&&c.K("zR")==-1?c="#"+c:c}F{I\'#gN\'}};B I1=E(x,1u,y){!1u?1u=\'#gN\':\'\';1u=3x(1u);B r=5y(oC,10N);x=x.1P(/\\(zy\\)/g,r);x=x.1P(/\\(1u\\)/g,1u);x=x.1P(/\\(iT\\)/g,1+(v.10P.1M-1)/2);B zV=x.1j(0,x.K(\'|||\'));B xT=x.1j(x.K(\'|||\')+3);B aR=\'\';if(o.1i.3L){aR=xT.1P(/5S:/g,"-3L-5S:");aR=aR.1P(/5S-/g,"-3L-5S-");aR=aR.1P(/@zT/g,"@-3L-zT");aR=aR.1P(/2Z/g,"-3L-2Z")}y?y.1T=zV:\'\';jN(aR+xT)};B 7w=E(x,y,f){B z=J;if(x){U(B i=0;i<x.R;i++){if(x[i]){if(f){if(3X(y)==3X(x[i])){z=i;1h}}F{if(6Y(x[i]).K(y)>-1){z=H}}}}}I z};B gF=E(x,y){B z=J;if(x&&y){U(B i=0;i<y.R;i++){if(6Y(x).K(y[i])>-1){z=H}}}I z};B jN=E(x){if(o.O){if(o.O.Dx){o.O.Dx.10Q=x}F{o.O.1V(1Q.DA(x))}}};B eh=E(x){O(x,{"1r":"2E","1c":0,"1b":0,"Z":"100%","1f":"100%"})};B fj=E(x){O(x,{"9T":"1W"})};B 4I=E(y,z){B x=1z Dz();x.6C(\'DD\',y,H);x.cQ=z;x.e5()};B 10R=E(x){if(x){U(B i=0;i<5;i++){if(x.10S=="10T"){1h}F{if(x.Du){x=x.Du}}}}I x};B gD=E(z){B gD=1Q.22("4u");if(o.lR.K(z)>-1){o.lR.2N(z);if(z.K("?")>0){z=z+\'&\'+2H.5y()}F{z=z+\'?\'+2H.5y()}}F{o.lR.2N(z)}gD.7k(\'3v\',z);gD.7k(\'1f\',\'4q\');gD.7k(\'Z\',\'4q\')};B 3W=E(e,o){U(B 1a in o){if(o.2v(1a)){e.7k(1a,o[1a])}}};B as=E(e){if(e){2R{e.3Z.3j(e);e=26}2D(e){}}};B 5y=E(9z,62){I 2H.9g(10U.R>1?(62-9z+1)*2H.5y()+9z:(9z+1)*2H.5y())};B kj=E(){I 2H.5y().6a(36).10F(2,12)};B xH=E(x,y){x=7Z.6f(x).ZT(E(4m,1a){if(1a!=y){4m[1a]=x[1a]}I 4m},{});I x};B 4D=E(x){if(1G x=="4z"){I x.1P(/^\\s+|\\s+$/gm,\'\')}F{I x}};B 6p=E(x,y,z){B r=J;if(x){if(x.K(y)>-1){B r=x.1j(x.K(y)+y.R);if(z){if(r.K(z)>-1){r=r.1j(0,r.K(z))}}}}I r};B Zj=E(x,n){if(n==0){I"#0"+d2.e(x)}if(n==-1){I d2.e(x)}if(n==1){I"#1"+vR(d2.e(x),1)}};B s9=E(x){if(v[x]!=""){if(1G v[x]!="4z"){o[x+\'o\']=v[x]}F{if(v[x].K("[{")==0){2R{v[x]=v[x].1P(/6T\'qt/ig,\'"\');o[x+\'o\']=2h(v[x])}2D(e){}}}}};B 5U=E(x){I 6Y.wk(x)};B dN=E(x){if(x.1j(0,2)=="#1"){I d2.d(vR(x.1j(2),-1))}F if(x.1j(0,2)=="#0"){I d2.d(x.1j(2))}F{I x}};B E7=E(x){if(x){if(x.K(\'3P\')==-1&&x.K(\'.\')==-1&&x.R>100&&x.K(\'29:\')==-1){x=\'29:a5/vb;jy,\'+x}}I x};B 1l=E(x){x?x.C.5C="3f":\'\'};B 1o=E(x){x?x.C.5C="4r":\'\'};B 3h=E(x){if(x){if(ao.Dl(x)){U(B i in x){if(1G x[i]=="3C"){x[i].C.2k="1W"}}}F{x.C.2k="1W"}}};B 6E=E(x){if(x){if(ao.Dl(x)){U(B i in x){if(1G x[i]=="3C"){x[i].C.2k="4w"}}}F{x.C.2k="4w"}}};B 5O=E(x){I x?x.C.5C!="3f"&&x.C.2k!="1W":J};B 5g=E(s){if(1G s=="4z"){if(s.K("px")>0){s=s.1j(0,s.K("px"))}}I 2L(s)};B 3f=E(x){I x.C.2k=="1W"};B 4h=E(o,x,y){o[x+\'1c\']=0;o[x+\'2u\']=0;o[x+\'2O\']=0;o[x+\'1b\']=0;if(L(o[y])){B z=o[y].2q(" ");if(z.R==4){o[x+\'1c\']=z[0]?3X(z[0]):0;o[x+\'2u\']=z[1]?3X(z[1]):0;o[x+\'2O\']=z[2]?3X(z[2]):0;o[x+\'1b\']=z[3]?3X(z[3]):0}}I o};B GT=E(x){if(x){x=x.1P(/ /ig,\'px \')}I x+\'px\'};B lU=E(x,y){I v[x]&&v[x]!=\'\'?v[x]:y};B eM=6Y.wk(65,66,67,68,69,70,71,72,73,74,75,76,77,97,98,99,100,101,102,103,104,105,106,107,108,109,78,79,80,81,82,83,84,85,86,87,88,89,90,110,
29111,112,113,114,115,116,117,118,119,120,121,122);B d2={aO:eM+"ZS+/=",e:E(e){B t="";B n,r,i,s,o,u,a;B f=0;e=d2.DZ(e);ll(f<e.R){n=e.aQ(f++);r=e.aQ(f++);i=e.aQ(f++);s=n>>2;o=(n&3)<<4|r>>4;u=(r&15)<<2|i>>6;a=i&63;if(tq(r)){u=a=64}F if(tq(i)){a=64}t=t+G.aO.6F(s)+G.aO.6F(o)+G.aO.6F(u)+G.aO.6F(a)}I t},d:E(e){B t="";B n,r,i;B s,o,u,a;B f=0;e=e.1P(/[^A-Za-z0-9\\+\\/\\=]/g,"");ll(f<e.R){s=G.aO.K(e.6F(f++));o=G.aO.K(e.6F(f++));u=G.aO.K(e.6F(f++));a=G.aO.K(e.6F(f++));n=s<<2|o>>4;r=(o&15)<<4|u>>2;i=(u&3)<<6|a;t=t+5U(n);if(u!=64){t=t+5U(r)}if(a!=64){t=t+5U(i)}}t=d2.E4(t);I t},DZ:E(e){e=e.1P(/\\r\\n/g,"\\n");B t="";U(B n=0;n<e.R;n++){B r=e.aQ(n);if(r<128){t+=5U(r)}F if(r>127&&r<Z1){t+=5U(r>>6|Z2);t+=5U(r&63|128)}F{t+=5U(r>>12|E9);t+=5U(r>>6&63|128);t+=5U(r&63|128)}}I t},E4:E(e){B t="";B n=0;B r=0;B c1=0;B c2=0;B c3=0;ll(n<e.R){r=e.aQ(n);if(r<128){t+=5U(r);n++}F if(r>Z3&&r<E9){c2=e.aQ(n+1);t+=5U((r&31)<<6|c2&63);n+=2}F{c2=e.aQ(n+1);c3=e.aQ(n+2);t+=5U((r&15)<<12|(c2&63)<<6|c3&63);n+=3}}I t}};B vR=E(s,n){s=s.1P(/\\+/g,"#");s=s.1P(/#/g,"+");B a=Cb(o.y)*n;if(n<0)a+=eM.R/2;B r=eM.1j(a*2)+eM.1j(0,a*2);I s.1P(/[A-Za-z]/g,E(c){I r.6F(eM.K(c))})};B Cb=E(x){x=x.2q(5U(61));B iR=\'\';B c1=5U(120);B vN;U(B i in x){if(x.2v(i)){B vO=\'\';U(B j in x[i]){if(x[i].2v(j)){vO+=(x[i][j]==c1)?5U(49):5U(48)}}vN=2L(vO,2);iR+=5U(vN.6a(10))}}I iR.1j(0,iR.R-1)};B L=E(x){I x!=26&&1G(x)!=\'1E\'&&x!=\'1E\'};B 2m=E(x,y){I L(x)?x:y};B 2g=E(x){I L(x)&&x!=-1&&x!=\'\'};B Z4=E(x,y){I 2g(x)?x:y};B dG=E(x){if(1G x=="3C"){x=54.7a(54.wi(x))}I x};B fe=E(el){B x=el.Cl().1b+(1A.Cj?1A.Cj:1A.Z5);I x};B gx=E(x){v.Z6==1&&2g(v.Ck)?x=v.Ck:\'\';I x};B j2=E(el){Z0 ir=el.Cl();I ir.1c+1A.Z7};B 7j=E(x,y){if(x!=\'\'){if(v.Z9==1||y==\'11p\'){1A.6C(x)}F{if(v.Zc==1||y==\'1c\'){1A.7S.8I.8O=x}F{1A.8I.8O=x}}x=\'\'}};B vz=E(){if(v.4R==1){o.4R?o.1R.3j(o.4R):\'\';o.4R=26}};B De=E(){B nD=J;o.1i.tv?1n("tv"):\'\';o.1i.2f?1n("2f"+(o.1i.4l?\' 4l\':\'\')):\'\';G.9C=E(x){o.Q?o.Q.1O(x):\'\'};G.6y=E(x){if(x){if(1G(x)==\'4z\'){x=nW(x)}if(1G(x)==\'4z\'){x=x.1P(/(\\r\\n|\\n|\\r)/gm,"");if(x.K("[{")==0){2R{x=x.1P(/6T\'qt/ig,\'"\');x=54.7a(x)}2D(e){x="D6 54"}}}if(1G(x)==\'3C\'){o.1K=[];o.iQ=dG(x);o.W=uQ(x);if(o.W.R>0){if(v.W.Zd==1&&!v.4P){B 6f=7Z.6f(o.1K);B wS=6f.4M(-1)[0];wS?v.4P=wS:\'\'}B y=BQ();if(y){x=y.3b;o.cT=y.1O;o.Q?o.Q.EI(y.1O):\'\';if(2g(y.2a)){if(o.P){o.P.a9(y.2a)}F{v.2a=y.2a}}if(L(y.2r)){y.1X=y.2r}if(L(y.1v)){if(y.1v=="3q"&&!o.1v){}F{v.1v=o.2e=y.1v}}7K("BM");if(L(y.id)){o.3u=y.id}B sx=["1X","ln","lm","X","hR","BN","BO","lv","he","BS","8x","6M","8k","5G","om","4f","4p","BT","cv","1m","7e","9w","1I"];if(L(v.bF)){if(v.bF.Ze==1&&v.bF.qo==1){sx.2N("1O");sx.2N("t1");sx.2N("t2");sx.2N("t3");sx.2N("t4");sx.2N("t5")}}U(B i=0;i<sx.R;i++){if(L(y[sx[i]])){v[sx[i]]=y[sx[i]];o.lE[sx[i]]=y[sx[i]]}}U(B uv in y){if(uv.K("BY")==0){v[uv.1j(7)]=y[uv]}}i4(y);if(sx.K(\'1O\')>0){if(v.bF.CS==1){o.pV=v.bF.CP;o.V.oB(y)}o.V.9C(\'1O\')}if(L(y.1I)){1y(E(){o.V.3T(y.1I)},4y)}if(o.Q){o.Q.6l(o.W);if(v.9w){o.Q.yB()}}if(o.2P){o.2P.mh()}}F{}}}if(1G(x)==\'4z\'){x=nW(x);if(x){if(x.K("#"+v.9F)==0){x=o[o.fd[0]](x)}if(x){if(x.K("#"+v.bS)==0&&x.K(v.ex)>0){x=o[o.fd[1]](x)}if(x){if(x.K("#0")==0){x=cm(x)}x=nW(x)}F{x=\'\'}}}if(v.cn==1){x=cn(x)}if(x==\'\'){1n("4S 3b");o.9b=H;js("2n","4S")}o.2x=[];o.aj=[];o.7n=[];o.lL=0;o.3i=0;o.6R=0;o.aq=0;v.im==\'\'?v.im=\',\':\'\';if((x.K(v.i2)>-1&&x.K(v.eF)>-1)||L(v.cL)){o.41=x.2q(v.im)}F{o.41=[x]}o.aJ=[];if(L(v.cL)){B cL=v.cL.2q(v.im)}if(o.41.R>0){B q=-1;U(B i=0;i<o.41.R;i++){o.41[i]=4D(o.41[i]);if(o.41[i]!=\'\'){if(o.41[i].K(v.i2)==0&&o.41[i].K(v.eF)>1){o.2x[i]=o.41[i].1j(o.41[i].K(v.i2)+v.i2.R,o.41[i].K(v.eF)-v.eF.R);o.41[i]=o.41[i].1j(o.41[i].K(v.eF)+v.eF.R)}F{if(L(v.cL)){o.2x[i]=L(cL[i])?cL[i]:\'\'}F{o.2x[i]=i+1}}B is=0;if(L(v.4x)&&q==-1){if(6Y(v.4x).K("lx:")==0){if(v.4x.1j(4)*1==i){is=1}}if(v.4x==o.2x[i]){is=1}if(v.4x=="62"&&i==o.41.R-1){is=1}}if(L(o.4x)){if(o.4x==o.2x[i]){is=1;q=i}}if(is==1){o.lL=i;o.3i=i}o.41[i]=wE(o.41[i])}}}F{o.41[0]=wE(o.41[0])}I o.41[o.lL]}}F{I x}};E wE(x){if(L(v.mu)&&x.K("//")==-1){x=v.mu+x}I x};G.CU=E(){if(o.W){B x=o.W.CV();U(B i=0;i<x.R;i++){x[i].bM=i}o.W=x;o.Q.6l(o.W)}};E i4(y){B wA;U(B i=1;i<6;i++){B t="1C"+i;if(L(y[t])){v[t]=y[t];wA=H}}if(wA&&o.Q){o.Q.EF()}}G.i4=E(x){i4(x)};G.6l=E(x){if(1G(x)==\'3C\'){o.1K=[];o.iQ=dG(x);o.W=uQ(x);if(o.Q){o.Q.6l(o.W)}}};G.eg=E(x,y,z,no){if(!L(y)){o.3k=H;
29o.dJ=H}!L(z)?v.4G=0:\'\';v.1m=1E;v.4f=1E;!2w.4p?v.4p=1E:\'\';o.9b!=2?o.9b=J:\'\';o.7P=J;o.91=J;o.am=0;o.hx=[];o.t7=J;o.vD=J;o.KZ=J;o.9V=1E;o.gk=[J,J,J];o.Zf=kj();o.Dh=0;o.ew=0;o.bz?o.bz=[]:\'\';o.2o!=\'6T\'&&o.3w?o.3w.5G():\'\';if(o.D1){o.D1=[];o.Zg=[]}o.d4=0;o.Z8=0;if(o.eB){o.eB.5G()}if(o.P.6X()=="7T"){G.bD()}if(o.6p&&o.9P){o.Q.jk()}if(L(o.2W)){o.2W.4g()}if(L(o.cd)){2F(o.cd)}js("1z");if(v.1U==1&&no!=1){o.V.fA();o.V.fA(\'6z\')}x=G.6y(x);if(y==1){o.2o=\'\';7z();1y(E(){o.P.B0()},100);o.wr=H}o.P.6y(x);if((o.1i.2f||o.1i.6w)&&!L(y)){o.V.2z()}if(L(o.hT)){o.3E={x:1,y:1,x0:1,y0:1};o.P.jQ()}y!=1?a1("1t","2z"):\'\';o.P.k4();o.Q.hE();o.Q.lC();o.Q.4C();o.fQ?o.fQ.C6():\'\'};G.oB=E(x){B y=J;if(x&&o.pV){v.1O=o.pV;U(B i=1;i<6;i++){if(L(x[\'t\'+i])){v.1O=v.1O.1P("{"+i+"}",x[\'t\'+i]);y=H}}}I y};G.et=E(){if(v.3k==1&&!v.D2||o.3k){if(v.iZ==1){1y(E(){o.V.2z()},47)}F{G.2z()}v.D2=1;o.3k=J}iK()};G.iK=E(){iK()};E iK(){if(v.wu==1){if(1G D3!=="1E"){o.th=1z D3()}}}G.k4=E(){B x=J;if(o.1i.2f){x=H;if(v.zN==1&&o.1i.6Z){x=J}if(v.zK==1&&o.1i.iW){x=J}if(v.zM==1&&o.1i.4l){x=J}if(v.YY==1&&o.1i.cE){x=J}}if(v.YP==1&&o.1i.tv){x=H}I x};G.t9=E(){o.P.3T(v.1I);if(o.3m){o.P.56()}o.7P=H;o.Q?o.Q.4C():\'\';if(!o.1t&&!o.1v){v.5a==1?o.5a.2U("3G"):\'\'}if(o.5e&&o.4o){o.3K.Cr();o.3K.Go()}if(v.1U==1){if(v.CR!=1&&v.iw==1){!L(o.1U)?hS("6z","7P"):\'\'}}};G.Dr=E(){!o.kF?ac(H):\'\'};E ac(x){o.kF=H;if(o.Q){if(o.Q.bu()){o.Q.8b()}}if(o.2P){o.2P.bt()}if(o.8S){o.8S.bt()}!x?o.P.2z():\'\';if(!o.t7){1y(E(){o.P.k4()},47)}!o.1t?o.Q.2z():\'\';v.5a==1?o.5a.2U("1t"):\'\';v.1U==1?o.V.fA(\'ee\'):\'\';if(o.1i.2f){o.Q.go()}if(L(o.2W)){o.2W.YX()?o.2W.Ct():\'\'}}G.2z=E(bm){if(!o.1t&&o.P){o.gV=H;o.og=J;o.7v=J;v.6A==9?v.6A=1:\'\';2F(o.C0);B 2G=J;if(o.2o=="4U"){if(!o.P.o5()&&v.3k!=1&&v.4G==1){2G=H;if(1A[\'YT\']){v.3k=1;o.3k=H;o.P.tF()}}}if(v.8c==1&&v.BW==0){o.V.pn();2G=H}if(o.9b||2G){if(o.9b){8y("7m")?qc(2):\'\'}}F{o.np=J;o.dJ=J;CM(!o.1v);o.an.lH();if(!o.1v){js("1v");o.1v=H;if(v.1p.nr==1){1y(E(){o.Q.yn()},100)}if(v.1p.7X>0&&v.3k==1){o.eI=H;1y(wm,v.1p.7X*2i)}if(v.YI==1&&v.YJ){YK()}U(B i=0;i<o.c0.R;i++){if(v[\'DT\'+o.c0[i]]==1){3R.9f("Ey"+o.c0[i],7W.oE())}}if(v.YL==1&&v.YM){YN("1v")}if(o.3w){o.3w.1v()}js("1z");o.iM?o.Q.yN(o.iM):\'\';o.Q.xN();o.Q.4C();a1("1t","2z");o.1i.2f?wt():\'\';o.ab?a1("Cy","YH",1):\'\'}F{if(o.wr){a1("1t","2z");o.wr=J}F{a1("CC","YO")}}if(v.CD==1&&!o.1Z){B dd=1z 7W();B tt=dd.9K();if(tt-o.bx<dx){if(!o.1i.4l&&(v.CE!=1||o.1i.2f)){G.9a()}}}if(o.51){if(v.ye==1){6E(o.1X);6E(o.DH)}}if(o.eB){o.eB.5G()}if(bm!=1&&8y("7m")||8y("6W")){qc(2)}F{if(v.7j==1&&L(v.CF)&&!L(2w.7j)){7j(v.CF);2G=H}if(!2G){1n("2z");o.P.1m()>0?o.Q.3V(o.P.18(),o.P.1m()):\'\';if(!o.wo){o.wo=H;if(v.1p.7X>0&&v.3k==1){o.eI=H;1y(wm,v.1p.7X*2i)}}B l7=J;if(o.P.18()>1&&v.oe==1&&bm!=1&&!8J()&&!L(o.1U)&&!L(o.5F)){l7=8y("ee")}if(l7){8J()?ac(J):\'\'}F{ac(J)}}}}}F{o.P?o.P.2z():\'\'}};E wm(){o.eI=J;o.Q.4C()}G.3d=E(){if(o.1t){o.gV=J;1n("3d");o.P.3d();o.Q.3d();js("3G");v.qU==1?7z():\'\';v.te==1?od():\'\';v.5a==1?o.5a.2U("3G"):\'\';if(o.51){if(v.ye==1){3h(o.1X);3h(o.DH)}}if(!L(o.1U)&&!L(o.5F)&&v.oe==0){if(8y("ee")){}F{if(v.CQ!=1&&v.nR==1){hS("e2","3G")}}}if(8J()){o.og=H}o.kF=J}};G.56=E(){o.P.56();o.Q.56();o.3m=H;js("59")};G.6j=E(){o.P.6j();o.3m=J;o.Q.6j();o.P.3T(v.1I);js("96")};G.3T=E(x,y){if(o.Q){x<0.YQ?x=0:\'\';x>1?x=1:\'\';if(x<=0){G.56();v.1I=0;x=0}F{if(o.3m){G.6j()}v.1I=x}js("1I",x);o.Q.3T(x,y);o.P.3T(x)}};G.9v=E(){o.Q.9v()};G.8d=E(){o.Q?o.Q.8d():\'\'};G.YR=E(){G.8d()};G.sX=E(){o.V.6D();G.8d()};G.3V=E(18,1m){if(o.3q&&!o.1v){B f=o.3q.b8();if(f.t&&f.d){18=f.t}}o.Q?o.Q.3V(18,1m):\'\'};G.ti=E(18,1m){if(o.2e>0&&o.2o!="4U"){o.V.3S(o.2e,J);o.2e=1E}};G.gf=E(){B d=1z 7W();o.bx=d.9K();B x=J;if(o.Q.bu()&&v.1g.6U!=1){o.Q.aS();x=H}if(o.2P){if(o.2P.yT()){o.2P.bt();x=H}}if(v.W.6U==0){if(o.Q.eO()&&v.W.dl==1){o.Q.cI();x=H}}if(v.7j==1&&L(v.BE)&&!L(2w.7j)){7j(v.BE);x=H}if(o.3m&&v.pq==1){o.V.6j();v.pq=0;x=H}if(!x){if(v.1N.on==1&&v.1N.2M==1&&v.1N.s7==1){7r(\'1t\',(o.1t?0:1))}G.dE()}};G.Gu=E(){if(o.Q.bu()){o.Q.8b()}};G.dE=E(){if(o.P.6X()=="7T"){js("EZ");v.YS==1?G.ov():G.3d()}F{js("F1");G.2z()}aa()};G.3S=E(aH,hD){if(aH<o.P.1m()){if(v.gy.YU==1){if(aH>o.P.18()){I}}if(v.4p>0){aH<v.4p?aH=v.4p:\'\'}1n("3S",aH);o.CI=aH;o.P.3S(aH);if(hD){o.Q.3S(aH,o.P.1m())}o.l0=H;o.fn=o.P.18();aa(o.fn)}};
29G.vE=E(X,4i,CH){if(o.P.6X()=="7T"&&o.fL!=\'rR\'){3d();if(o.1Z&&CH){o.V.8H()}}1A.6C(X,4i)};G.hO=E(){if(v.1U==1&&!o.1v){if(8y("7m")){o.qu=H;I}}B x=o.P.bZ();if(L(v.6M)){x=v.6M}if(x!=\'\'){js("6M");B iE=1A.6C(x,(v.YV==1?\'YW\':\'z4\'));iE.5Q()}};G.6D=E(x){B 18=o.P.18();B 1m=o.P.1m();if(!o.1v&&o.2e>0){18=o.2e}o.Q.i1(18,1m,x)};G.tr=E(){B 18=o.P.18();B 1m=o.P.1m();B bA=1m>0?18/1m:0;B d4=2H.pA(bA*100);if(!o.l0){o.Q?o.Q.i1((o.2e>0?o.2e:18),1m):\'\'}F{18!=o.fn&&o.fn!=-9?o.l0=J:\'\'}if((v.ga==1||v.CG==1)&&1m>0){lY("yZ","2z 25%",bA,0.25);lY("z2","2z 50%",bA,0.50);lY("z3","2z 75%",bA,0.75)}U(B i=0;i<3;i++){if(!o.gk[i]){if(bA>=i*0.25+0.25){Cg(i)}}}v.yC==1?1n(1,18,1m):\'\';if(v.6A==1||v.yU>0){if(o.1t){B z=J;B l8=J;if(v.Cx==1&&v.6A==1){if(!o.P.5T()){z=H}}if(18>0){if(18==o.18&&!z){l8=H}F{o.am=0}o.18=18}F{if(v.Zh==1){B ld=o.P.a4();v.yC==1?1n(2,ld,o.l5):\'\';if(!z){if(ld==o.l5){l8=H}F{o.am=0}}o.l5=ld}}if(l8){o.am++;if(v.6A==1){v.yC==1?1n(3,o.am):\'\';if(o.am==v.tw*(2i/o.mv)){o.V.fp()}}F if(v.yU>0&&o.P.ug()>1){if(o.am==v.yU*(2i/o.mv)){o.P.5N(\'OR xs\')}}}}}if(v.9p){if(v.9p.bz==1&&1m>0){!o.bz?o.bz=[]:\'\';o.bz[2H.4t(18)]=1}}if(v.1U==1){if(v.CR!=1&&v.iw==1){!L(o.1U)?hS("6z",18,1m):\'\'}if(v.CQ!=1&&v.nR==1){!L(o.1U)?hS("e2",18,1m):\'\'}}if(v.DU==1&&v.ys>0){if(18>=v.ys){if(!L(o.1U)){if(8y("6W")){o.P.3d();o.Q.3d()}v.ys=0}}}7K("1t");if(v.8c==1&&v.BW>-1){YZ(18,1m)}if(v.Zi==1&&v.ZB){if(1G BV!=="1E"){BV(18)}}if(o.51){aa(18)}if(o.5m&&v.bX==1){if(o.3q){!o.2e?o.3q.s0(18,1m):\'\'}}if(o.9P){o.6p?o.6p.1t(18):\'\'}if(L(v.4f)){B ed=v.4f;if(7w([v.4f],\'-\')){ed=1m}if(ed>0&&18>ed){o.P.3d();o.P.3S(v.1v>0?v.1v:0);o.V.nV()}}if(L(v.5G)){B r1=v.5G.2q(",");U(B i=0;i<r1.R;i++){B r2=r1[i].2q("-");if(r2.R==2){if(18>r2[0]&&18<r2[1]){o.P.3S(r2[1]*1+(o.1i.6w?1:0))}}}}if(o.d4!=d4&&d4>0){if(v.ZD==1){if(1G BH!=="1E"){BH(18,1m,d4)}}if(v.ZE==1&&o.dt){if(1G BL!=="1E"){BL()}}}o.d4=d4};E Cg(x){o.gk[x]=H;if(v.bX==1&&v.Cf==1&&v.Cc==x){if(o.5m&&o.3u){o.3q?o.3q.ZF(o.3u):\'\'}}js("gk",(x+1)*25+\'%\')}E lY(x,y,t,p){if(!L(o.hx[y])){if(t>p){a1(x,y,1)}}};G.fp=E(){o.am=0;L(o.cd)?2F(o.cd):\'\';if(v.ZG==1){js("6A")}F{o.2e>0||o.P.5T()?\'\':o.2e=o.P.18()+(v.ZH>0?1:0);B C4=o.Q.eO();js("6A");o.P.6A();C4&&v.W.dl==1?o.Q.ik():\'\'}};G.AJ=E(){o.Q.i1(0,0);o.Q.wj(0,0);o.V.3V(0,0);o.Q.8d()};G.wz=E(){if(o.P){B 18=o.P.a4();if(v.ZI==1){js("a4",18)}B 1m=o.P.1m();o.Q?o.Q.wj(18,1m):\'\'}};G.nV=E(){js("ZC");js("gk","100%");o.7v=H;if(v.8R==1){if(o.2o=="4U"){G.bD()}v.1U==1?o.V.fA(\'7m\'):\'\';if(v.1v>0){o.V.3S(v.1v);o.2e=1E}G.2z()}F{if(o.P.5T()||o.2o=="4U"||o.2o=="rt"){G.bD()}F{if(v.E3==1){o.V.3S((v.1v>0?v.1v:0),H);if(o.1i.ie){o.P.3d()}}}o.Q.8p();v.DU==1?v.ZJ=1:\'\';if(8y("oh")||8y("qS")){}F{9N()}}js("4f")};G.9a=E(){B 2G=J;B 2n=J;o.Eh=J;o.aD=H;1y(E(){o.aD=J},j6);U(B x in o.7l){if(o.7l.2v(x)){if(L(o.7l[x])){2R{o.7l[x].Eb()}2D(e){}}}}2R{o.ep=H;if(((o.1i.4l&&v.gt==1)||(o.1i.cE&&v.zY==1))&&o.4o&&!o.a0){B x=o.P.ak();if(x){if(x.ZL){h5();2G=H}}}if(!2G){B nh;B y=o.1R;if((o.2o=="dm"||o.2o=="ci")&&o.1i.6Z&&v.gt==1){o.P.l3();I}if(y.yS){o.7G=H;nh=y.yS({nE:"1l"});if(nh!==1E){nh.cA(E(){}).2D(E(2n){})}}F if(y.yQ){y.yQ({nE:"1l"});o.7G=H}F if(o.1R.yP){y.yP({nE:"1l"});o.7G=H}F if(y.yO){y.yO({nE:"1l"});o.7G=H}F if(y.yL){y.yL();o.7G=H}}}2D(e){2n=H;1n(e)}if(o.1i.3L&&o.1i.2f){if(1Q.ZM===J){o.7G=J}}if(!o.7G&&!2G){if(o.1i.3L&&o.p1){h5()}F{G.xI()}}if(!2n){1y(Ei,4y)}};E h5(){B x=o.P.ak();if(x){if(o.P.18()==0&&o.1i.4l&&v.ZN!=1){!o.1t?o.V.2z():\'\'}F{o.iF=H;o.P.zk();x.ZO();x.1w("JV",Dk)}}}E nQ(){B x=o.P.ak();if(x){x.ZP()}};G.h5=E(){h5()};G.nQ=E(){nQ()};E Ei(){if(o.Eh!=H){if(o.92){o.P.dM()}if(v.1N.yl==1){nK(H);o.5q=H}v.5a==1?o.5a.2U("kZ"):\'\';js("1Z");a1("kZ","9a",1)}};B cs;B 8t={x:0,y:0};E yx(e){if(o.2P){if(o.2P.ZQ()){I}}if(e.ZR!=0){e.yD!=0?8t.x++:8t.x--;e.cC!=0?8t.y++:8t.y--;if((v.1N.Dp==1||v.1N.Ds==1)&&o.1Z&&8t.y>8t.x){3I(cs);cs=7I(E(){8t={x:0,y:0};3I(cs)},2i)}F{o.9i=H;3I(cs);cs=7I(E(){o.9i=J;o.Q.4N();8t={x:0,y:0};3I(cs)},4d);o.Q.4N();e.8K()}if(8t.x>8t.y){if(e.yD>0){o.V.3T(3X(v.1I)-v.1N.hf/10,"no")}F{o.V.3T(3X(v.1I)+v.1N.hf/10,"no")}}F{B st=(o.1i.iE?-v.1N.hf/10:v.1N.hf/10);if(v.1N.Ds==1&&o.1Z){o.P.1M((e.cC>0?st:-st))}F if(v.1N.Dp==1&&o.1Z){3r("3B",(e.cC>0?"+"+st*10:"-"+st*10))}F{o.V.3T(3X(v.1I)+(e.cC>0?st:-st),"no");o.Q.hY()}}}}E Dk(){if(o.1i.4l){o.P.zi();js("yo")}o.iF=J}G.xI=E(){if(o.ep){o.1Z=H;o.Q.9a();if(!o.7G){if(L(o.8E)){2R{O(o.8E,{\'Z\':\'100%\',\'1f\':\'100%\',\'1r\':\'vL\',\'1b\':0,\'1c\':0,\'4W\':"oC"})}2D(dU){}}O(o.1R,{\'Z\':\'100%\',\'1f\':\'100%\',\'1r\':\'vL\',\'1b\':0,\'1c\':0,\'4W\':"oC"});o.3a=o.1R.2c;o.4B=o.1R.2V;2R{1Q.b4.C.6G=\'3f\';if(!L(o.W)){1Q.xk=E(e){e.8K()}}}2D(dU){}}if(v.yJ==1){O(o.1R,{\'7M\':\'#3U\'})}if(v.yI==1&&o.1i.3L==1&&!o.1i.ff){B sw=1A.aB.Z;B fz=1;U(B i=1;i<6;i++){if(sw>2i*i){fz=2m(v[\'yI\'+(2i*i)],i)}}if(fz>1){o.1R.C.zt=fz;v.zm=fz;aA()}}if(o.2P){o.2P.bt()}aa();o.ep=J}};G.8H=E(){nD=H;if(1Q.Dg){1Q.Dg()}F if(1Q.DG){1Q.DG()}F if(1Q.DO){1Q.DO()}F if(1Q.DN){1Q.DN()}F if(1Q.DM){1Q.DM()}F if(1Q.DJ){1Q.DJ()}if(!o.7G){G.wV(J)}};G.K8=E(x,y){qr(x,y)};
29E qr(x,DE){if(L(o.1U)&&!DE){o.ow=x}F{B 2G=J;B e9=o.8N/x;B eb=0;B nH={\'1f\':e9};if(v.ZK==1){if(e9>o.8M){e9=o.8M;eb=o.8N/x;o.8N=nH[\'Z\']=eb}}if(L(o.8E)&&v.JN!=1){2R{O(o.8E,nH)}2D(dU){2G=H;1n("eA ZA Zs")}}if(!2G){o.4Y=x;o.8M=e9;if(o.4Y>0){O(o.1F,nH)}if(eb>0){js("Z",eb)}js("1f",e9)}if(o.1U&&!o.1Z){o.4B=e9;if(eb>0){o.3a=eb}o.1U.2A()}}};G.wV=E(x){if(nD||x){o.1Z=J;o.iF=J;if(!o.7G){if(L(o.8E)){2R{O(o.8E,{\'1r\':\'qi\',\'1b\':0,\'1c\':0,\'4W\':\'A6\'});O(o.8E,o.JQ);O(o.8E,{\'Z\':o.aE,\'1f\':o.ez})}2D(dU){}}O(o.1R,{\'Z\':o.aE,\'1f\':o.ez,\'1r\':\'2E\',\'1b\':0,\'1c\':0,\'4W\':\'A6\'});2R{1Q.b4.C.6G=\'2B\';1Q.xk=E(e){I H}}2D(dU){}}o.Q.8H();if(v.yJ==1){O(o.1R,{\'7M\':v.qj});if(v.eE==1){o.1R.C.7M=\'eE\'}F{O(o.1R,{\'7M\':v.qj})}}if(v.zm>1){o.1R.C.zt=1;v.zm=1;aA()}if(v.1N.yl==1){nK(J);o.5q=J}if(o.2P){o.2P.bt()}aa();o.nI?o.nI=J:\'\';o.Q.lj();nD=J;js("yo");o.7G=J;o.aD=J}};G.5q=E(x){v.1N.Zz!=0?nK(x):\'\'};E nK(x){8t={x:0,y:0};if(x){1A.1w("yt",yx,{5J:J})}F{3I(cs);1A.6L("yt",yx)}}G.bD=E(x){v.4G=0;if(x!=1){o.Q.3d();o.V.AJ()}F{}o.P.3T(v.1I);if(o.Q.bu()){o.Q.8b()}if(o.3m){G.56()}aa(0);1n("2G");js("2G")};G.ov=E(){v.4G=0;v.3k=0;v.mS=0;v.6A==1?v.6A=9:\'\';o.P.qF();o.V.bD()};G.5P=E(x){if(L(o.3i)){if(o.3i!=x){o.3i=x;if(v.tD==1){o.4x=o.2x[x];if(o.5m){3R.9f("ts",o.4x)}}o.P.5P(x);js("53",o.2x[x]);o.Q.wb(x)}}};G.hF=E(){o.Q?o.Q.hF():\'\'};G.ec=E(x){if(L(o.6R)){if(o.6R!=x){o.6R=x;if(v.Ev==1){o.aZ=v.aZ=o.7n[x];if(o.5m){3R.9f("vk",o.aZ)}}o.P.ec(x);js("7A",x);o.Q.hM("7A")}}};G.8Y=E(x,z){x==\'0.0\'?x=0.1:\'\';B y=x;6Y(y).K(\'.\')>0?z=1:\'\';y=y*1;if(!z){y=x==o.du?1:o.5R[x];o.ae=x}y=3X(y);if(o.ih||z){o.hn=y;U(B i=0;i<o.5R.R;i++){if(y<=o.5R[i]*1){o.ae=i;1h}}}if(o.5m&&v.BP==1){3R.9f("C1",y)}js("4T",y);o.P.8Y(y);o.Q.hM("4T")};E aa(x){o.3w?o.3w.1o(L(x)?x:o.P.18()):\'\'};G.iL=E(){if(o.3w){aa();o.3w.C()}};G.eK=E(x){if(1G(iN)==\'E\'){!o.3w?o.3w=1z iN():\'\';o.3w.wx(x)}};B 7B;B 9y;B nz;B 2l;E 8y(x){if(v["6c"+x+"zU"]>0&&o.5m){B tb=3R.6H("pG"+x+"4a"+o.d);if(tb){B ct=1z 7W();o.bx=ct.9K();B ze=(ct.9K()-tb)/Zl;if(ze<v["6c"+x+"zU"]){I J}}}if(v["6c"+x+"zf"]>0){if(o.P.1m()>0){if(o.P.1m()<v["6c"+x+"zf"]*60){if(v["6c"+x+"Be"]>0){v["6c"+x+"4a"+"Ef"]=v["6c"+x+"Be"]}F{I J}}}}if(o.j0.K("8A")!=-1&&v.1U==1&&!o.bm&&v[x+\'s\']==1){if(1G rN=="1E"){I J}if(x=="6W"||x=="qS"){if(1G BD!=="1E"){2l=[];I BD(x)}}if(L(o.1U)||L(o.5F)){if(!5O(o.rF)||8J(o.3Q)){1n(\'ad bg\');I J}F{1n(\'ad oE\');I H}}F{if(L(v[x])){if(v[x].6a().K(".")>-1||v[x].6a().K(":")>-1||v[x].6a().K("[Zm]")>-1){js("Zn",x);if(!8J(x)&&x!="e2"){1y(E(){o.1t||(o.5F==26&&o.1U==26)?\'\':o.V.9v()},10);gO()}7B=0;9y=0;nz=x;2l=v[x].2q(" g4 ");o.5M=[];o.sS=2l.R;ib();o.CL=1;o.nL=H;U(B i=0;i<2l.R;i++){2l[i]=2l[i].2q(" or ")}v[x.9O("4a","j7")]=v[x];v[x]=26;o.3Q=x;if(x!=\'e2\'){o.1U=1z rN()}o.5F=1z nu();U(B i=0;i<2l.R;i++){U(B j=0;j<2l[i].R;j++){B 7L=4D(2l[i][j]);if(7L.K("[50%]")>0){B 1J=5y(1,2);2l[i][j]=2l[i][j].1P("[50%]","");if(1J==2){2l[i][j]=\'\'}}}}if(v.qq==1){U(B i=0;i<2l.R;i++){B n=i==0?1:0;if(2l[i].R>n){U(B j=n;j<2l[i].R;j++){B 7L=4D(2l[i][j]);if(o.1i.sy){fR(7L)}F{1y(fR,i*100,7L)}}}}}if(2l[0][0]==\'\'){hP()}F{o.5F.nw(4D(2l[0][0]),x)}I H}F{I J}}F{I J}}}F{I J}};G.rX=E(x){8y(x)};E hS(w,x,d){if(L(o[w+\'o\'])&&v[w+\'s\']==1){B y;U(B i in o[w+\'o\']){if(o[w+\'o\'].2v(i)){if(!L(o[w+\'o\'][i].ol)&&L(o[w+\'o\'][i].18)&&L(o[w+\'o\'][i].1U)){B z=o[w+\'o\'][i].18.6a();B ok=J;if(z){if(x=="7P"){if(z==x){ok=H}}F{if(z=="3G"){if(z==x){ok=H}}if(z.K("%")>0){if(d>0){z=2L(z.1j(0,z.K("%")))*d/100}F{z=-1}}F{z=2L(z)}if(x>=z){if(v[\'6c\'+w+\'AG\']>0&&z>-1){if(x-z>=v[\'6c\'+w+\'AG\']){z=-1}}if(z>-1){ok=H}}}if(o[w+\'o\'][i].Aq&&o.P.1m()>0){if(o.P.1m()<o[w+\'o\'][i].Aq*1){o[w+\'o\'][i].ol=H;ok=J}}if(ok){y=o[w+\'o\'][i].1U;v[w]=o[w+\'o\'][i].1U;o[w+\'Zo\']=o[w+\'o\'][i].18;o[w+\'Zp\']=o[w+\'o\'][i].Zq;if(8y(w)){o[w+\'o\'][i].ol=H;1h}}}}}}}};E nt(){if(8J()){if(o.e1==0||v[\'6c\'+o.3Q+\'Zk\']==1){O(o.rF,{"1B":0,"5C":"3f","1c":4d});1n(o.3Q+" 1l");o.3Q==\'6z\'?o.P.2z():\'\'}}}E 8J(z){B y=J;B x=[\'6z\',\'ee\'];U(B i=0;i<x.R;i++){if(o.3Q==x[i]||z==x[i]){if(v[\'6c\'+x[i]+\'Zr\']==1){y=H}}}I y};G.8J=E(x){I 8J(x)};G.Zt=E(x){x?\'\':nP();o.3Q=="6z"?o.Bn.2N(o.B7):\'\'};G.Zu=E(){nP()};G.Zv=E(){nP()};E nP(){if(8J()){if(o.1t){o.P.3d();o.Q.3d()}1n(o.3Q+" 1o");O(o.rF,{"1B":1,"5C":"4r","1c":0});o.mT=1}if(o.iF&&!o.7G){nQ()}F{if(v["6c"+o.3Q+"dW"]==1&&o.1Z){o.V.8H()}}};G.Zw=E(x){o.5F=26;o.mT=0;1n("8A 3Y",o.3Q);js("Zx",o.3Q);if(x.1H=="e2"){B Af=1z Zy(x);o.nR.2N(Af)}F{if(L(o.1U)){if(v.4G==0&&v.11o==1&&o.P.18()==0&&!o.7P){v.4G=1;o.P.sN()}if((!o.1U.ZU()||x.zZ)&&o.rQ>0){1n("8A 11q");o.1U.4g();
29o.1U=26;o.1U=1z rN()}if(8J()){nt()}F{if(o.1t){o.P.3d();o.Q.3d()}}o.rQ++;if(o.nL&&v.dX>0){2F(o.dX);o.dX=1y(Di,v.dX*2i*60);if(L(v.DC)){if(v.DC!=\'\'){o.iP?o.iP.5G():\'\';o.iP=1z 11w()}}}o.nL=J;if(v.Db>0){1n("8A 12X");js("12H");1y(sF,v.Db*2i,x)}F{sF(x)}}F{1n("8A 12L")}}};E sF(x){o.1U.Go(x)}E Di(){if(L(o.1U)){if(o.1U.ey()&&o.e1==0){o.1U.qH();1n("8A xs "+v.dX);2l=[];bH()}}}G.12M=E(){js(\'12G\',o.3Q);1n("8A 2n");sP()};G.hP=E(){sP()};E sP(){B n=ib();1n("8A 5t "+!n);!n?hP():bH()};G.12I=E(x){if(v[o.3Q+"sQ"]){U(B i=0;i<3;i++){v[o.3Q+"sQ"]=v[o.3Q+"sQ"].1P(x+(i==0?\' g4 \':(i==1?\' or \':\'\')),\'\')}}};G.12J=E(){I ib()};E ib(){B x=J;if(o.3Q){B 7N=v[\'6c\'+o.3Q+\'4a\'+\'Ef\'];B i5=v[\'6c\'+o.3Q+\'4a\'+\'12R\'];if(i5||7N){if(i5>0&&o.qy>0){o.sS=i5;if(o.e1>=i5){x=H}}F{if(7N>0){o.sS=7N;if(o.e1>=7N){x=H}}}}}I x}E hP(){if(2l.R>0&&2l[7B]){if(9y<2l[7B].R-1){1n("8A 12Z");o.1U?o.1U.qH():\'\';nt();9y++;B 7L=4D(2l[7B][9y]);B eV=qO(7L);if(eV==\'7e\'){o.5F=1z nu();o.5F.nw(7L,o.3Q)}if(eV==\'2n\'){hP()}}F{bH()}}F{bH()}}E qO(7L){B x=\'7e\';if(v.qq==1&&o.5M){B nl=J;B n=0;U(B i=0;i<o.5M.R;i++){if(o.5M[i].nm==0){if(o.5M[i].cj.Ej(7L)){o.5M[i].nm=1;B y=o.5M[i].cj.aU();if(y==\'3Y\'){o.5F=o.5M[i].cj;1n("8A Ej");o.5M[i].cj.fk();x=y}F{if(y==\'\'){x=\'ok\';1n("8A 12W");o.5F=o.5M[i].cj;o.5M[i].cj.12N()}if(y==\'2n\'){x=\'2n\'}}nl=H}if(nl&&o.5M[i].dc==0){n++;if(n<6){qB(o.5M[i])}F{1h}}}}}I x}G.12Q=E(x,y){if(x!=\'\'){B z=7B;B sc=J;if(y){U(B j=0;j<2l.R;j++){2l[j]==y?z=j:\'\'}}if(2l.R==1){if(2l[0].R>1&&9y<2l[0].R-1&&2l[9y]){B C3=2l[9y].4M(1,99);2l[0].su(9y+1,99);sc=H}}if(1G(x)=="3C"){U(B i=0;i<x.R;i++){2l.su(z+i+1,0,[x[i]]);if(o.1i.sy){fR(x[i])}F{1y(fR,i*100,x[i])}}}F{if(1G(x)=="4z"){2l.2N([x]);fR(x)}}if(sc){2l[2l.R-1]=2l[2l.R-1].9O(C3)}}};G.12Y=E(x,y){if(x!=\'\'){B z=7B;if(y){U(B j=0;j<2l.R;j++){2l[j]==y?z=j:\'\'}}if(2l[z]){if(1G(x)=="3C"){U(B i=0;i<x.R;i++){2l[z].2N(x[i])}}F{if(1G(x)=="4z"){2l[z].2N(x)}}}}};G.bH=E(x){bH(x)};E fR(x){if(v.qq==1&&o.5M){B i=0;U(B i=0;i<2l.R;i++){if(2l[i]==x){if(7B>=i){I}F{}}}if(2l.R==1&&2l[0].R>1){}F{B n=0;U(i=0;i<o.5M.R;i++){o.5M[i].nm==0?n++:\'\'}o.5M.2N({dc:0,nm:0,x:4D(x),t:o.3Q,cj:1z nu(H)});n<5?qB(o.5M[o.5M.R-1]):\'\'}}}E qB(x){if(x){x.dc=1;x.cj.nw(x.x,x.t)}}E bH(iJ){B 2G=ib();1n("8A 5G ("+o.e1+")");if(2l.R>0&&7B==2l.R-1){if(2l[0][0].K("js:")==0){7B=-1;2l=[[2l[0][0]]]}}if(o.12P==2){2G=H}if(2l.R>7B+1&&!2G){o.1U.qH();nt();7B++;o.CL++;9y=0;B 7L=4D(2l[7B][0]);B eV=qO(7L);if(eV==\'7e\'){o.5F=1z nu();o.5F.nw(7L,nz)}if(eV==\'2n\'){bH(iJ)}}F{g3();o.Q.8d();if(L(o.1U)){o.1U.4g();o.1U=26}o.5F=26;2l=[];9y=0;7B=0;o.mT=0;o.CX!=1?js("12S",o.3Q):\'\';o.CX=0;if(v.Ce==1){if(o.cu){2R{o.cu.x9()}2D(e){1n(o.cu,e)}o.cu=1E}}nz=\'\';o.e1=0;o.Cs=0;2F(o.dX);3I(o.12U);o.iP?o.iP.5G():\'\';o.ce?o.ce.1l():\'\';o.qy++;if(o.3Q=="7m"||(o.3Q=="ee"&&v.oe==1&&o.gV)||o.3Q=="6z"){if(v.3b!=\'?\'){o.P.cU();B re;if(o.qu){o.V.hO();o.qu=J;re=H}if(o.2o=="4U"&&!o.ri&&o.1i.4l){re=H;o.3Q=="7m"?o.P.Ax():\'\'}if(re||iJ==\'iJ\'||v.131==1||o.og){o.og=J}F{o.V.2z(1)}}}if(o.ow>0){qr(o.ow);o.ow=0}if(o.3Q=="oh"){9N()}o.ri=J;o.3Q=26}};G.12O=E(){2l=[[\'\']]};G.fA=E(y){B x=[\'7m\',\'ee\',\'oh\',\'6W\',\'qS\'];B z;U(B i=0;i<x.R;i++){z=J;if(y){y!=x[i]?z=H:\'\'}if(!z&&L(v[x[i].9O("4a","j7")])){v[\'6c\'+x[i].9O("4a","Cv")]--;if(v[\'6c\'+x[i].9O("4a","Cv")]>0){v[x[i]]=v[x[i].9O("4a","j7")];v[x[i].9O("4a","j7")]=26}}}if(y=="7m"||y=="6z"){if(v.r3>1){if(L(o.r4)&&v.iw==1){U(B i in o.r4){o.r4[i].ol=1E}v.r3--}}}};G.pn=E(){gO();if(L(o.8c)){o.8c.4g();o.8c=26}o.8c=1z 12T()};G.12V=E(){g3();o.8c.4g();o.8c=26};G.gO=E(){gO()};G.g3=E(){g3()};E gO(){if(o.a8){}F{o.a8=22("28");o.1R.1V(o.a8);eh(o.a8);O(o.a8,{"2C":"#3U","1B":0.1});o.a8.C.4W=EB}};E g3(){if(o.a8){o.1R.3j(o.a8);o.a8=26}};E 7z(){if(L(o.2a)){B p=o.1Z?2m(v.12K,v.2a):v.2a;if(p!=o.wf){a9(p,o.2a,v.f5)}1o(o.2a);O(o.2a,{"1B":v.ox});o.Q.4C();o.fN?o.fN.1t():\'\'}};G.gr=E(){if(L(o.2a)){if(5O(o.2a)){3I(o.vX);B t=o.P.18();if(t==0&&v.Dc==1){}F{if(v.D5>0){2F(o.qV);o.qV=1y(od,v.D5*2i)}F{od()}}}}};E od(){2F(o.qV);if((v.qU==1&&!o.1t)||v.om==1){v.om==1?7z():\'\'}F{O(o.2a,{"1B":0});1y(CY,47)}}E CY(){if(!o.1t&&v.eT==1){}F{1l(o.2a);o.fN?o.fN.3G():\'\';o.Q.4C()}}G.7z=E(){7z()};E CM(x){if(v.uu==1){U(B i=0;i<1A.4Z.R;i++){if(1A.4Z[i]){if(1A.4Z[i].2U("id")!=v.id){1A.4Z[i].2U(\'3G\',(v.130==1?1:0))}}}}1A.eC=v.id}E uQ(x){B y=7Z.6f(x).R;o.hG=0;if(y>0){x=uB(x,y,\'\',-1)}I x}E uB(x,y,p,j){B x2=[];B 2G;if(L(x[\'W\'])){x=x[\'W\'];y=x.R}B ii=0;U(B i=0;i<y;i++){2G=J;if(L(x[i][\'id\'])){x[i][\'er\']=x[i][\'id\']}x[i][\'id\']="x"+p+\'-\'+i+(L(x[i][\'id\'])?\'-\'+x[i][\'id\']:\'\');j==-1&&i==0&&!L(x[i][\'5c\'])?o.hQ=x[i][\'id\']:\'\';if(!L(o.hQ)){j==0&&!L(x[i][\'5c\'])?o.hQ=x[i][\'id\']:\'\'}x[i][\'hj\']=p;x[i][\'uO\']=j;x[i][\'bM\']=ii;if(L(x[i][\'1m\'])){o.hG+=x[i][\'1m\']}if(L(x[i][\'Co\'])){x[i][\'1O\']=x[i][\'Co\'];B q1=x[i][\'3b\']?x[i][\'3b\'].K(\'[\'):0;B q2=x[i][\'3b\']?x[i][\'3b\'].K(\']\'):0;if(q1>0&&q2>0){B s1=x[i][\'3b\'].1j(q1+1,q2-q1-1);B s2=s1.2q(",");B s3=\'\';U(B k=0;k<s2.R;k++){s3+="["+s2[k]+"]"+x[i][\'3b\'].1P("["+s1+"]",s2[k])+(k<s2.R-1?",":\'\')}x[i][\'3b\']=s3}}if(L(x[i][\'W\'])){x[i][\'5c\']=x[i][\'W\']}
29if(!L(x[i][\'5c\'])){if(L(x[i][\'3b\'])){if(x[i][\'3b\']==\'\'&&!L(x[i][\'7j\'])){2G=H}}F{2G=H}}if(!2G){o.1K[x[i][\'id\']]=x[i];ii+=1}if(L(x[i][\'5c\'])){B z=7Z.6f(x[i][\'5c\']).R;if(z>0){x[i][\'5c\']=uB(x[i][\'5c\'],z,x[i][\'id\'],i)}}if(!2G){x2.2N(x[i])}}I x2}E BQ(){B x=[];if(L(v.4P)){if(v.4P.K("x-")!=0){U(B y in o.1K){if(o.1K.2v(y)){if(o.1K[y].er==v.4P){v.4P=y}}}}if(L(o.1K[v.4P])){v.W.123==1?v.W.xy=0:\'\';x=o.1K[v.4P]}F{x=o.W[0];if(v.4P==o.BK){o.2e=1E}}}F{x=o.W[0]}if(x){U(B i=0;i<10;i++){if(L(x[\'5c\'])){x=x[\'5c\'][0]}F{1h}}v.4P=x.id;if(v.4P==o.BK&&x.1v!=\'3q\'){x.1v=1E}}I x}G.eJ=E(){I eJ()};E eJ(){B x=J;if(o.Q){if(o.Q.fg()){if((v.W.bG==1||v.kg==1)&&o.Q.cz()){x=H}}}I x};E 9N(){a1("4f","9N",1);o.V.fA();if(o.5m&&v.bX==1){o.3q.s0(0,o.P.1m())}if(o.Q.fg()){if(eJ()){if(L(v.W.BR)){o.C0=1y(E(){o.Q.au()},v.W.BR*2i)}F{o.Q.au()}}F{vr()}}F{if(v.12E==1&&o.1Z){o.V.8H()}vy()}}G.Cd=E(){vr()};E vr(){if(v.W.bG==1&&v.W.p7==1&&!o.Q.cz()){o.Q.lr();I}if(v.W.JH==1){!o.Q.eO()?o.Q.cI():\'\'}vy()}E vy(){v.5a==1?o.5a.2U("4f"):\'\';js("11K");if(v.7j==1&&v.11L==1&&2g(v.C9)){7j(v.C9)}if(v.8S){if(1G C7!=="1E"){!o.8S?o.8S=1z C7():o.8S.vE()}}!o.8S?7z():\'\'}E nW(x){if(x.K(\'js:\')==0){2R{x=2h(x.1j(3))}2D(e){8v.1n(e.9H)}}I x?x:\'\'}};B ve=E(X){B X;B 3O;B mt;B 7U;B hc="";B dT=0;B jr=J;B m5=J;B sZ;B P;B 3o;o.3E={x:1,y:1,x0:1,y0:1};B 9W;B kA=[];B nX=0;B fm=0;B kI;if(1G(X)==\'4z\'){X=4D(X);if(X.K("[{")==0){2R{X=X.1P(/6T\'qt/ig,\'"\');X=54.7a(X);9W?X=o.V.6y(X):\'\'}2D(e){8v.1n(e);X="D6 54"}}if(X.K("#"+v.9F)==0){X=o[o.fd[0]](X)}if(X){if(X.K("#"+v.bS)==0&&X.K(v.ex)>0){9W=H;o[o.fd[1]](X,bj)}}if(X){if(X.K("#0")==0){if(X.K(o.ej)>0){X=cm(X.1P(o.ej,\'\'))+o.ej}F{X=cm(X)}}}if(v.cn==1){X=cn(X)}if(1G(X)==\'4z\'){if(X.K(".b7")==X.R-4||X.K(".9o")>0){kA=X.2q(" or ");vc()}}}o.3M=22("28");eh(o.3M);O(o.3M,{"5l":"2Z 0.2s 3e","1C-8s":"8h"});o.1R.1V(o.3M);if(v.1N.Cp==1){if(!o.vB){rK(o.3M,\'o.Cp\',v.1N.iX!=1,v.1N.iX==1,D7);o.vB=H}}if(!9W){bj()}E D7(){B p=o.3M.j9;B p2=o.3a;if(v.1N.iX==1){p=o.3M.mU;p2=o.4B}B x;if(p>p2*2m(v.1N.Ea,0.5)){if(o.Q.f0()){x=H;o.Q.di()}}F{if(p<-p2*2m(v.1N.Ea,0.5)){if(o.Q.cz()){x=H;o.Q.au()}}}if(x){if(v.1N.iX==1){O(o.3M,{"1c":0})}F{O(o.3M,{"1b":0})}}F{1z 5L({mc:o.3M,1H:(v.1N.iX==1?"1c":"1b"),to:0,18:0.1,6J:"EX",me:"vB"})}}E vc(){X=kA[nX];if(X.K(o.ej)>0){X=X.1P(o.ej,\'\');v.3b=X}B 4I=h9(X);4I.cQ=E(){if(G.d1==4&&G.6X==4y){cI(G);o.Q.Gp()}F{nZ(1)}};4I.vq=E(e){nZ(3)};4I.e5();9W=H}E nZ(x){if(kA.R>1){if(nX+1<kA.R){nX++;vc();x=0}}if(x==1){5N("W gh qg or E1 DS")}if(x==2){5N("11M 54")}}E cI(x){if(x.dR){B y=x.dR;if(y.K("#"+v.9F)==0){y=o[o.fd[0]](y)}if(y.K("#"+v.bS)==0&&y.K(v.ex)>0){y=o[o.fd[1]](y)}if(X.K(".b7")==X.R-4){B b7=y.2q(/(\\r\\n\\t|\\n|\\r\\t)/gm);X=[];B vf=1;B ky=\'\';U(B i=0;i<b7.R;i++){if(b7[i].K("#11N")>-1){if(b7[i].K(" - ")>-1){B 1J=b7[i].2q(" - ");ky=1J[1J.R-1]}}if(b7[i].K("3P")>-1){X.2N({1O:""+(ky!=\'\'?ky:vf),3b:b7[i]});vf++;ky=\'\'}}}F{y=y.1P(/(\\r\\n\\t|\\n|\\r\\t)/gm,"");2R{X=54.7a(y)}2D(e){8v.1n(e.9H);nZ(2)}}if(o.Q){if(v.W.oy==1){o.Q.ik(2)}}bj();aA();1y(E(){js("W")},1)}}E bj(x){X=o.V.6y(x?x:X);X&&X!=\'?\'?6y(X):\'\';o.1t&&x&&!o.1U?o.P.2z():\'\'}E 5N(x,DX){B y=H;B yy=H;js("11O",x);if(o.kq){I}if(DX!=1&&v.6A==1&&v.tB==1){tu();I}if(3O){if(o.1t||o.gV||(v.3k==1&&!o.1v)){if(3O.R>0){7U++;y=7U>3O.R-1;if(y&&3O.R>1&&v.ew>0){if(o.ew<v.ew){7U=0;y=J}o.ew++}if(y&&v.11P==1){if(o.41.R>1){if(o.2x[o.3i].K(2K("eu"))==-1){o.2x[o.3i]=o.2x[o.3i]+\' (\'+2K("eu")+\')\'}if(o.3i>0){yy=J;o.V.5P(o.3i-1);ja()}F{if(o.2x[o.3i+1].K(2K("eu"))==-1){yy=J;o.V.5P(o.3i+1);ja()}}}}if(!y){o.2e>0||!o.1v||P.5T()?\'\':o.2e=46();if(o.2o!=mE(3O[7U])||!o.4o){if(o.1t){o.V.bD(1)}}o.gb=J;if(v.vj>0){2F(o.gu);o.gu=1y(kn,v.vj*2i)}F{kn()}}F{if(v.6A==1&&yy&&v.tB!=1){y=J;tu()}}}}F{y=J;if(!o.1v){kn()}}}if(y&&yy&&x){tC(x,H)}};E kn(){if(o.kq){I}if(o.1t||o.gV||(v.3k==1&&!o.1v)){1n("11J aG",o.2e);6y(\'or\');o.1v&&!o.1U?P.2z():\'\';ja()}F{if(!o.1v){if(3O.R>0){if(7U+1<3O.R){7U++;o.ew++;6y(\'or\')}}}F{2F(o.gu);o.gu=1y(kn,2g(v.vj,5)*2i)}}}E tC(x,mr){a1("2n","kD",H);o.dJ=J;if(v.E2==1&&!o.9b){if(v.Eo==1){o.an.9o(v.Ew)}F{o.an.9o(x)}if(v.Et==1&&L(v.Eq)){o.eB=1z Ep();o.V.gr()}}mr?o.9b=H:\'\';if(o.1t){o.V.8d();o.Q.3d()}L(o.2a)&&!L(o.eB)?o.V.7z():\'\';js("2n",x)}E tu(){fm++;1n("kD fp Ar "+fm);o.1t?o.oo=1:\'\';L(o.cd)?2F(o.cd):\'\';o.cd=1y(Ek,v.tw*2i)}E Ek(){B x=2m(v.11Q,10);if(o.1t||o.oo==1){o.oo=0;if(fm<x){o.V.fp()}F{if(v.tB==1){5N(P.kL(),1)}F{tC(\'fp kD \'+P.kL())}}}}G.5N=E(x){5N(x?x:P.kL())};G.8p=E(y){1n("nV");jr=H;2F(kI);B x=J;if(3V()>0&&!o.5e&&!y){B 18=o.AI;if(18+10<3V()){1n(\'11S (DQ)\');js("DQ");P.2z();P.3S(18);x=H}}if(!x){o.V.nV()}};G.ac=E(){if(v.te==1){L(o.2a)?o.V.7z():\'\'}v.eT==1?o.V.gr():\'\';o.Q.2z();o.V.Dr();if(v.11T==1&&L(v.s5)){if(v.s5.R>5){rZ();3I(sZ);sZ=7I(rZ,v.Dn*2i)}}js("1t")};G.k4=E(){if(v.pN==1&&o.4o){if(o.V.k4()){o.a0=P.vJ();o.Q.4C();tK()}}o.t7=H};G.g0=E(){46()>0&&46()==3V()&&o.V.eJ()?\'\':o.V.3d()};G.kY=E(){1n("11U")};G.kl=E(){1n("sX");o.V.sX();L(o.fn)?js("3B",o.fn):\'\'};G.bL=E(){1n("t9");fm=0;o.V.t9();o.2o=="1D"?uK(1):\'\'};G.ag=E(){if(P){1n("3V",3V());o.V.3V(46(),3V());js("1m",3V());fm=0;2F(o.cd);if(L(o.o4)){o.V.ec(o.o4);o.o4=26}}};E 46(){B x=P.18();I x}E 3V(){B x=P.1m();I x}G.dK=E(){};G.9u=E(){1n("9v");o.V.9v();js("8a")};G.bh=E(){if(dT!=46()){if(!o.a8){o.V.8d();if(dT==0){if(v.eT==1&&v.Dc==1){o.V.gr()}}}}dT=46();B cg=3V();js("18",dT);if(v.2b.on==1){if(1G(Da)==\'E\'){!v.dS&&v.2b.dS?v.dS=v.2b.dS:\'\';if(!3o&&v.2b.3F!=1&&v.dS&&v.dS!=\'\'&&dT>0){o.eG=1z Da();3o=o.eG.gK()}}}if(o.2o=="1D"&&o.1i.6w&&cg>0){if(o.1t&&dT>cg-1){2F(kI);kI=1y(Dj,4d)}}};E Dj(){if(!jr){o.V.3d();o.P.8p()}}G.tF=E(){if(o.2o=="4U"){P?P.o5():\'\'}};G.DL=E(x){o.V.bD();P.BF(x)};G.EW=E(x){if(L(x)){if(3o){3o.3T(x)}v.2b.1I=x}};G.DF=E(x){if(L(x)){if(3o){3o.3v(x);3o.2z()}}};G.o5=E(){if(o.2o=="4U"&&P){I P.3Y()}F{I H}};G.lZ=E(){I o.2o=="1D"?P.lZ():1E};G.mm=E(){I P.mm()};G.5P=E(x){1n("11V",x);if((o.2o=="e3"||o.2o==o.ws||(o.2o=="1D"&&(v.9h==0||9Q()<2))||(o.2o=="3N"&&(v.mq==0||cB()<2)))&&L(o.41[x])){B 18=G.18();o.2e>0?\'\':o.2e=18;o.V.3S(18,J);6y(o.41[x],H);B y=H;if(v.1g){if((v.1g.11W==1&&!o.1t)||!o.1v){y=J}}if(o.aq>0){P.gc(o.aq)}if(y){o.V.2z()}}if(o.2o=="1D"&&v.9h==1&&9Q()>1){P.G1(x)}F if(o.2o=="3N"&&v.mq==1&&cB()>1){P.G5(x)}F if(o.2o=="4U"||o.2o=="rt"){P.uU(x)}};G.Jf=E(x,y){I kd(x,y)};G.tE=E(x,y){I A5(x,y)};E kd(x,y){B r=x.1f+\'p\';if(x.1f<4y){r=\'o6\'}F if(x.1f>=4y&&x.1f<=dx){r=\'k5\'}F if(x.1f>dx&&x.1f<=kb){r=\'kC\'}F if(x.1f>kb&&x.1f<=47){r=\'kW\'}F if(x.1f>47&&x.1f<=gB){r=\'u1\'}F if(x.1f>gB&&x.1f<=Dy){r=\'o9\'}F if(x.1f>Dy&&x.1f<=D8){r=\'ng\'}F if(x.1f>D8&&x.1f<=BG){r=\'tI\'}F if(x.1f>BG&&x.1f<=zX){r=\'11X\'}F if(x.1f>zX){r=\'uS\'}if(x.Z==11R&&x.1f<=11H){r=\'k5\'}F if(x.Z==zP&&x.1f<=zO){r=\'kC\'}F if(x.Z==11z&&x.1f<=11G){r=\'kW\'}F if(x.Z==11s&&x.1f<=11t){r=\'o9\'}F if(x.Z==11u&&x.1f<=11v){r=\'ng\'}F if(x.Z==11x&&x.1f<=11r){r=\'tI\'}F if(x.Z==11y&&x.1f<=11A){r=\'uS\'}if(v.1g.11B==1&&L(v.1g[\'6s\'+r])){r=v.1g[\'6s\'+r]}F{if(y==1){r=2K(r)}if(y==2&&L(x.9V)){r=2L(x.9V/2i)+\' \'+2K(\'h4\')}}I r};E A5(x,y){B r=x.pK();if(r=="11C"||r=="en"){x="11D"}F if(r=="11E"||r=="ru"){x="Ð ÑÑÑкий"}if(1G(v.nf)=="3C"){if(L(v.nf[x])){x=v.nf[x]}F{x=2m(v.nf[y.6a()],x)}}I x};E tK(){if(o.4o&&o.1Y&&!o.rd){P.qQ();U(B i=0;i<o.1Y.R;i++){if(o.1Y[i]!=\'9Y\'){P.FX(o.1Y[i],o.2X[i],(i==o.3n))}}o.rd=H}}G.8Y=E(x){1n("11F",x);x=3X(x);P?P.eL(x):\'\';if(v.2b.on==1){if(3o){3o.eL(x)}}};G.zk=E(){tK()};G.zi=E(){P.qQ()};G.ec=E(x){1n("11Y",x);if(o.aJ.R>0){if(o.aJ[x]){B 18=G.18();o.2e>0?\'\':o.2e=18;o.V.3S(18,J);6y(o.aJ[x],H);o.V.2z()}}F{if(o.2o=="1D"&&v.c4==1){P.FO(x)}F if(o.2o=="3N"&&v.zc==1){P.G4(x)}F if(o.4o){P.gc(x)}}};G.uk=E(){B x=o.2x[o.3i];x==1E?x=\'\':\'\';B y=kM()&&v.9U==1&&v.9h==1&&x!=2K("2B");I(y?\'\'+2K("2B")+\' \':\'\')+x};G.un=E(){B x=o.7n[o.6R];x==1E?x=\'\':\'\';I x};G.kM=E(){I kM()};E kM(){B x=J;if(P){if(o.2o=="4U"){x=P.2B()}if(o.2o=="1D"&&v.9h==1&&9Q()>1&&v.9U==1){x=P.2B()}if(o.2o=="3N"&&v.mq==1&&cB()>1){x=P.2B()}}I x}E 9Q(){if(o.2o=="1D"){I P.9Q()}F{I 0}}E cB(){if(o.2o=="3N"){I P.cB()}F{I 0}};G.9A=E(){I o.4o?P.9A():o.4Y};G.4N=E(x){if(P&&(o.qT||L(v.9A))){P.4N()}if(v.wQ>0){O(o.3M,{"1f":(o.1Z?"100%":o.ez-v.wQ)})}if(o.3o&&v.2b.AF==1){o.eG.4N()}if(v.v7==1){11I()}if(o.uC){o.uC.4N()}};G.3J=E(){I P?P.3J():{}};G.l3=E(){P.l3()};G.6A=E(){1n(\'6A\');o.am=0;o.1v?v.3k=1:\'\';o.V.9v();if(X&&v.11Z!=1){if(X.K(\'(5y)\')==-1){X=X+(X.K(\'?\')==-1?\'?\':\'&\')+\'zy=(5y)\'}}if(X){if(o.4o){P.3v(X);G.2z()}F{6y(X)}}};if(!L(o.2a)){sg()}if(L(v.2a)){if(v.2a!=\'\'){a9(v.2a,o.2a,v.f5);if(v.te==1&&!o.1v){1l(o.2a)}}F{v.2a=26}}E aU(){hc=P?P.6X():\'\'}E An(X){3O=X.2q(" or ");U(B i=0;i<3O.R;i++){if(3O[i].K(" g4 ")>-1){mt=3O[i].2q(" g4 ");3O[i]=mt[5y(0,mt.R-1)]}if(L(v.mu)&&3O[i].K("//")==-1){3O[i]=v.mu+3O[i]}}7U=0}E Ba(){aU();if(hc=="7T"||o.5e){o.V.tr()}if(hc!=""){o.V.wz()}}E sg(){if(o.2a){o.1R.3j(o.2a)}o.2a=22("28");O(o.2a,{"4H-3l":"1W","1B":v.ox,5l:"1B 0.5s"});if(v.v7==1){12o()}F{eh(o.2a)}o.1R.1V(o.2a)}E 6y(x,y,Am){if(x){if(x.K("3B:")==0&&o.W){o.2e=x.1j(5);o.Q.Gn(0);I}}2F(kI);v.kH==\'\'?v.kH=\';\':\'\';if(x.K(\'{\')>-1&&x.K(\'}\')>-1&&x.K(v.kH)>-1){B z=x.2q(v.kH);o.aJ=[];U(B i=0;i<z.R;i++){o.7n[i]=z[i].1j(z[i].K("{")+1,z[i].K("}")-1);o.aJ[i]=z[i].1j(z[i].K("}")+1);if(L(v.aZ)){if(v.aZ==o.7n[i]){o.6R=i}}}x=o.aJ[o.6R]}!L(3O)?3O=[]:\'\';o.m8?2F(o.m8):\'\';x&&x!=\'or\'&&x!=\'x\'?An(x):\'\';B ft=o.2o;
29if(3O.R>0){B fu=3O[7U];if(fu){if(fu.K(\'js:\')==0){2R{fu=2h(fu.1j(3))}2D(e){8v.1n(e.9H)}}}if(fu){o.2o=mE(fu);B gK=J;if(Am){gK=H}X=fu;if(X){X=X.1P(/\\(5y\\)/g,2H.5y())}F{X=3O[0]}if(!gK&&x!=\'x\'&&P&&o.2o==ft&&(ft=="e3"||(ft=="ci"&&!o.1i.2f)||(ft=="4U"&&o.1v&&!m5)||ft=="dm"||ft=="1D"||ft=="3N")){P.3v(X)}F{1n("12q");my();Bo(X)}uK()}}if(!y){3I(o.vI);o.vI=7I(Ba,o.mv);if(!L(v.1X)&&v.mw==1&&v.v5==1){v.1X=\'\'}if(L(v.1X)){o.V.eK(v.1X)}if(v.g6==1){if(v.pN==1&&o.1i.2f){}F{if(o.2o=="4U"){O(o.3M,{"1c":-j6,"1b":-j6})}F{3h(o.3M)}v.1p.1l=0}}}}E uK(x){if(o.du||x){if(o.ih){P.eL(o.hn)}F{if(o.ae!=o.du){P.eL(o.5R[o.ae])}}}}E mE(x){B 1H="e3";if(x){if(x.K(".KG")>0){1H="1D"}F if(x.K(".Kz")>0){1H="3N"}F if(x.K("w")==0&&x.K("s")==1){1H=o.ws}F if(x.K(\'4U.a7/\')>-1||x.K(\'mo.be/\')>-1){if(1G(B4)==\'E\'){1H="4U";if(v.wq==1){B y=\'jZ://4u.4U.a7/vi/\'+mx(x)+\'/\';Br(y+\'B3.jD\',E(z){z>100?v.2a=y+\'B3.jD\':v.2a=y+\'12r.jD\';if(o.1K){o.1K[o.3u][\'2a\']=v.2a}v.3k==1||o.1v?\'\':a9(v.2a,o.2a,v.f5)})}}F{1n("No BA")}}F if(v.ci==1&&x.K(\'ci.a7/\')>-1){1H="ci"}F if(v.12s==1&&x.K(\'12t.r\')>-1){1H="rt"}F if(v.Bw==1){if(1G(Bu)==\'E\'){Bu(x)?1H="6T":\'\'}}}o.qT=1H=="4U"||1H=="ci"||1H=="rt";o.4o=1H=="e3"||1H=="1D"||1H=="3N"||1H==o.ws;I 1H}E Br(X,Bq){B 4u=1z 12u();4u.cQ=E(){Bq(G.1f)};4u.3v=X}E Bo(x){o.2o=mE(x);if(o.4o){P=1z zn(x,o.3M,J)}if(o.qT){P=2h("1z ve"+o.2o[0].Bl()+o.2o.4M(1)+"(x,o.3M);")}if(o.2o=="6T"){P=1z 12v(x)}o.Q?o.Q.Hd():\'\';qZ()}G.B0=E(){qZ()};E qZ(){if(L(v.1m)){B t=0;if(o.3q&&v.bX==1&&!o.1v){t=o.3q.b8().t}1y(E(){o.V.3V(t,v.1m)},100)}}E my(){if(P){P.4g();P=26;hc="7v"}if(3o){3o.4g();3o=26;3o=1E;o.eG.5G();o.3o=26;o.eG=26}};G.4g=E(){my()};G.12p=E(){3O=[];my()};G.6y=E(x,y,z){6y(x,y,z)};G.a9=E(x){a9(x,o.2a,v.f5)};G.2z=E(){if(P){jr=J;m5=J;if(o.5e){o.3K.2z()}F{P.2z();v.eT==1?o.V.gr():\'\'}if(L(3o)){3o.2z()}if(o.7D){if(o.4o){if(o.bx>0&&!o.7D.12w()){o.7D.mh()}}F{o.mg=[];o.Q.hM("cN")}}if(o.4o&&v.Ky>-1&&!o.vD&&!o.1i.4l){if(o.bx>0){P.Ks()}}ja()}F{1y(G.2z,47)}};E ja(){if(v.Au>0&&3O.R>1){if(3V()==0||v.As==1){2F(o.m8);o.m8=1y(At,v.Au*2i)}}}
29E At(){if(o.1t&&(3V()==0||v.As==1)&&46()==0&&!o.gu){if(P){if(P.a4()==0&&7U!=3O.R-1){5N(\'6y Ar\')}}}}G.Ap=E(1e){if(o.3o){if(v.2b.AF==1){if(o.rU[o.3o]>2){I}}if(1e){1e.aT();1A.1e?1A.1e.6x=H:\'\'}B 1J=P;P.vw(H,o.3o);3o.vw(J,o.3M);P=3o;3o=1J;P.2z();3o.2z();js("2b")}};G.Ax=E(){P.3v(X)};G.yV=E(){v.5a==1?o.5a.2U("1l"):\'\';o.qv=H};G.hg=E(){if(v.1p.xM){v.1p.xM=J;if(o.Q){o.Q.w1(1);o.Q.yn()}}o.qv=J};G.AW=E(){if(o.3o&&o.eG){o.eG.iG()}};G.fr=E(){if(o.4o&&o.5j){o.ic=H;P.5j()}};G.dM=E(){if(o.4o&&o.91){P.91()}};G.mY=E(){if(v.g5==1&&L(v.12y)){if(L(o.g5)){o.g5.1o()}F{if(1G(AT)==\'E\'){o.g5=1z AT()}}}j3();if(P){qc(0);P.mY()}};G.cU=E(){o.g5?o.g5.1l():\'\';P?P.cU():\'\'};G.j3=E(x){j3(x)};E j3(x){if(v.12z==1&&2g(v.ce)){if(L(o.ce)){o.ce.1o(x)}F{if(1G(AP)==\'E\'){o.ce=1z AP()}}}}G.3d=E(){if(o.5e){o.3K.3d()}F{P?P.3d():1n("12A")}if(L(o.3o)){3o.3d()}};G.qF=E(){m5=H;o.V.3S(0,J);L(o.2a)?o.V.7z():\'\';6y(\'x\')};G.dE=E(){P?P.dE():\'\'};G.3S=E(x){if(P){if(o.5e){o.3K.3S(x)}F{P.3S(x);if(v.2b.on==1){if(3o){3o.3S(x)}}}}};G.56=E(){if(P){P.56();o.5e?o.3K.56():\'\';1n("59")}if(v.2b.on==1&&v.2b.gs==1){if(3o){3o.56()}}};G.6j=E(){if(P){P.6j();o.5e?o.3K.6j():\'\';1n("96")}if(v.2b.on==1&&v.2b.gs==1){if(3o){3o.6j()}}};G.3T=E(x){P?P.3T(x):\'\';if(v.2b.on==1){if(v.2b.gs==1&&3o&&!o.KY){3o.3T(x)}}if(o.5e){o.3K.3T(x)}};G.n5=E(){I P?P.n5():J};G.5T=E(){I P?P.5T():J};G.6X=E(){I hc};G.7v=E(){I jr};G.18=E(){B x=0;if(P){x=46();if(o.5e){B y=o.3K.46();y?x=y:\'\'}F{if(3V()>0&&x!=3V()){o.AI=x+0.12B}}I x}F{I 0}};G.1m=E(){B x=0;if(P){x=3V();x==0&&L(v.1m)?x=v.1m*1:\'\';if(o.5e){B y=o.3K.3V();y?x=y:\'\'}}I x};G.a4=E(){I P?P.a4():0};G.gP=E(){o.3E.gP=o.3E.gP?J:H;O(o.3M,{"2Z":(o.3E.gP?"3p(-1)":"3p(1)")})};G.12C=E(){sg()};G.sN=E(){if(o.4o){P.4G()}};G.Aw=E(x,y){if(x==\'1M\'){if(y==1){d8(v.1g.1M/100)}if(y==2){d8(-v.1g.1M/100)}if(y==3){o.P.jQ()}}F{if(o.4o){if(!o.9L[x]){if(x==\'m0\'){o.9L[x]=0}F{o.9L[x]=1}}if(y==1){o.9L[x]+=v.1g[x]/100}if(y==2){o.9L[x]-=v.1g[x]/100}if(y==3){if(x==\'m0\'){o.9L[x]=0}F{o.9L[x]=1}}!o.jX?o.jX=[]:\'\';o.jX[x]=x+\'(\'+2L(o.9L[x]*100)+\'%) \';B cf=\'\';U(B i in o.jX){cf+=o.jX[i]}O(P.ak(),{\'6Q\':cf});o.Q.lP(x)}}};G.1M=E(x){d8(x)};E d8(x){if(6Y(x).K(":")>0){B y=x.2q(":");B z0=o.3a/o.4B;B z1=o.P.3J();if(z1.Z>0){z0=z1.Z/z1.1f}B z=y[0]/y[1];if(z0!=z){if(o.4o){P.f4()}B w2=o.4B*z;B x2=w2/o.3a;B h2=o.3a/z;B y2=h2/o.4B;if(x2<1){o.3E.x0=o.3E.x=3X(x2);o.3E.y=1}F{o.3E.x=1;o.3E.y0=o.3E.y=3X(y2)}O(o.3M,{"2Z":"3p("+o.3E.x+") 3t("+o.3E.y+")"});o.hT=x}}F{o.3E.x+=3X(x);o.3E.y+=3X(x);O(o.3M,{"2Z":"3p("+o.3E.x+") 3t("+o.3E.y+")"})}if(v.1N.12D==1){if(!o.rz){if(o.3E.x>0||o.3E.y>1){rK(o.3M,\'o.12x\');o.rz=H}}rG()}o.Q?o.Q.lP(\'1M\'):\'\'};G.jQ=E(){if(o.4o){P.f4()}o.3E.x=o.3E.x0;o.3E.y=o.3E.y0;O(o.3M,{"2Z":"3p("+o.3E.x+") 3t("+o.3E.y+")"});o.Q.lP(\'1M\');o.hT=26;rG()};E rG(){if(o.rz&&v.1N.12n!=1){if(o.3E.x==1&&o.3E.y==1){O(o.3M,{"1c":0,"1b":0})}}};G.f9=E(x,y){P.f9(x,y)};G.bZ=E(){I bZ()};E bZ(){I 3O?(3O.R>0?(3O[7U]?3O[7U]:\'\'):\'\'):\'\'};G.ug=E(){I 3O.R};G.ak=E(){I P?P.ak():J};G.6g=E(){if(o.4o){P.6g()}};G.sz=E(){P.sz()};E rZ(){B 4I=h9(v.s5+\'?X=\'+3O[7U]);4I.cQ=E(){if(G.d1==4&&G.6X==4y){if(G.dR){v.1O=G.dR;o.V.9C(\'1O\')}}};4I.e5()}};B zn=E(X,1F,2b){B 17=22(v.g6==1?"rR":"ef");B a3;B ub=0;B 1D;B 4v=J;B uo=J;B tn=J;B 9D=J;B g9=-1;B md=-1;B 3N;B 6I=J;B ws;B us=J;B 6o=J;o.5b=J;B 8C=0;B 8T=J;B jL=0;B 2n;B 12f;B ne=J;B jS=-1;B cV=-1;B tS;B rr;B 9E;B l1;B 12m;B m7;B Jm=\'ef/Em; 126="129.12a, 12b.40.2"\';B nc=J;O(17,{\'1r\':\'qi\',\'Z\':\'100%\',\'1f\':\'100%\',\'3C-kU\':\'vV\',\'5l\':"6Q 0.2s 3e",\'9z-1f\':\'2B\',\'62-1f\':\'1W\',\'9z-Z\':\'2B\',\'62-Z\':\'1W\'});f4();if(o.1i.6Z&&v.3k==1&&v.vm==1){if(!o.1v&&v.7m){3W(17,{\'kV\':1})}F{o.3m=H;o.Q?o.Q.56():\'\';3W(17,{\'3m\':1,\'kV\':1,\'3k\':1})}}F{if(v.sM==1&&o.1i.2f){if(v.EA!=1&&o.1i.6Z&&v.1U!=1){}F{3W(17,{\'kV\':1})}}if(!o.1i.tv){3W(17,{\'4G\':(v.4G==1?\'7P\':\'1W\')})}}if(v.12c==1){3W(17,{"12d":"L0","124":"L0"})}X=he(X);3W(17,{\'3v\':X,\'x-3L-5j\':\'KO\',\'KA\':\'H\'});if(v.2a&&v.12e==1){3W(17,{"2a":v.2a})}if(v.12g!=1){3W(17,{\'KA\':\'H\'})}if(v.12h==1){3W(17,{\'2b\':\'J\'})}if(2b){17.3k=H;if(v.2b.gs!=1||v.3k==1){17.3m=H}F{17.1I=2g(v.2b.1I)?v.2b.1I:v.1I}}if(v.12i==1){3W(17,{\'12j\':\'12k\'})}uI();if(v.12l==1){B ei=22("eA");3W(ei,{"Ez":"no","KE":"H","KL":"H","3v":""});O(ei,{"1r":"2E","Z":"100%","1f":"100%","2T":0});
291F.1V(ei);B KF=1A.7I(E(){if(ei.hU.1Q.d1==="rO"){1A.3I(KF);O(ei.rv.b4,{"2S":0,"2Q":0});ei.rv.b4.1V(17)}},100)}F{1F.1V(17)}if(!L(X)){X=\'\'}B jz=J;if(o.1i.tv){if(X.K("Zb")>0){jz=H}}if(o.1i.6w){if(X.K("YG")>0||(v.Kc==1&&v.e4==1)){jz=H}}if(o.1i.4l){if(X.K("sT")>0){jz=H}}o.1i.6w?J0():\'\';if(X.K(".Kz")>0){6o=H;if(!o.3N){if(1G Kn!=="1E"){o.3N=1z Kn()}F{6o=J}}if(L(o.3N)){if(!L(1A.JG)){o.3N.nb()}F{rh()}}}F if(((2w.1D==1&&v.sH!=1)||X.K(".KG")>0)&&!jz&&(o.gQ.K("8f")!=-1||L(1A.5B))){4v=H;uo=H;2R{if(L(1A.5B)){if(!5B.JE()||(o.1i.6w&&v.VB==1&&!o.1i.4l)||(o.1i.4l&&v.sT==1)||(o.1i.nd&&v.YE==1)){1n(\'8f Us \',5B.JE());4v=J}F{if(v.4G==1||v.3k==1||v.Jl==1||2b){dg(J)}}}F{4v=J}}2D(2n){4v=J}}F if(X.K("w")==0&&X.K("s")==1&&v.Ut==1){8T=H;tH()}if(o.1i.tv&&v.3k==1&&!4v&&!6o&&!8T){1y(E(){o.V.et()},100)}if(v.7D==1){L(o.7D)?o.7D.bt():\'\';o.7D=1z Uu()};G.sz=E(){rh()};E rh(){6o=H;if(tf()){if(v.4G==1||v.3k==1||v.JF==1){n3(J)}}F{6o=J;1n("Uv gh J6")}}E n3(x){if(o.3N&&!6I){o.3N.gK(x,17,X,2b);L(1A.JG)?6I=H:\'\'}}E dg(x){1n("8f");if(o.41.R>1){v.9h=0;v.K5=H}F{v.K5?v.9h=1:\'\'}if(o.aJ.R>1){v.c4=0;v.Kh=H}F{v.Kh?v.c4=1:\'\'}o.9E=J;g9=-1;9E=[];o.3w?o.3w.Kj():\'\';B qA=J;if(v.7m&&v.Kb==1){qA=H;v.Kb=0}a3={J5:(v.K0==1&&!2b),Uw:(v.4G==1||v.3k==1||2b||x)&&!qA,gA:60,sV:60,Ux:J};if(v.JO>0){a3.Uy={7b:{JP:v.JO*2i}}}if(v.JI>0){a3.Uz={7b:{JP:v.JI*2i}}}if(v.UB==1){a3.Ur=H}if(v.e4==1){B ks=[\'wv\',\'pr\',\'ck\'];B mX=[\'a7.UC.gd\',\'a7.UE.UF\',\'43.w3.UG\'];B dj={};U(B i=0;i<ks.R;i++){if(v[\'e4\'+ks[i]]==1){dj[mX[i]]={};if(2g(v[\'e4\'+ks[i]+\'l\'])){dj[mX[i]].UH=tY(v[\'e4\'+ks[i]+\'l\'])}if(2g(v[\'e4\'+ks[i]+\'s\'])){dj[mX[i]].UI=tY(v[\'e4\'+ks[i]+\'s\'])}}}a3.UJ=H;a3.UK=dj}if(v.Jo==1){a3[\'UL\']=E(4I,X){4I.UM=H}}if(L(v.6q)){if(L(v.6q.gA)){if(v.6q.gA>gB){v.6q.gA=gB}v.6q.sV=v.6q.gA}if(L(v.6q.Kt)){v.6q.sV=v.6q.gA=v.6q.Kt}if(1G v.6q=="3C"){U(B 1a in v.6q){if(v.6q[1a].6a().K(\'2h:\')==0){v.6q[1a]=2h(v.6q[1a].1j(5))}a3[1a]=v.6q[1a]}}}js("UD",1D);1D=1z 5B(a3);js("1D",1D,1);1D.K4(X);1D.Up(17);1D.on(5B.7q.Ud,E(){1n("8f Uo")});1D.on(5B.7q.U4,E(1e,29){!2b?o.V.et():\'\'});1D.on(5B.7q.U5,E(1e,29){if(!2b&&v.9h==1&&9Q()>1){Jg();mR();o.Q?o.Q.hE(o.3i):\'\'}});1D.on(5B.7q.U6,E(1e,29){mR()});1D.on(5B.7q.U7,E(1e,29){mR()});1D.on(5B.7q.U8,E(1e,29){if(!2b){if(29.j8.5b!=o.5b){o.5b=29.j8.5b;o.Q.4C()}o.5b=29.j8.5b;if(o.5b){1n("U9");o.KZ=X.K("?qN")>-1;if(17.1m>0&&17.cY>0){if(17.1m-17.cY<10){if(o.jU>0){if(o.jU==17.cY&&o.KW==17.1m){o.mL++;if(o.mL>2){o.mL=0;o.jU=-1;1D.as();dg(H);8p()}}F{o.jU=-1}}F{o.jU=17.cY;o.KW=17.1m}}}}}if(v.9h==1){o.3i=1D.mj;o.Q?o.Q.hE(o.3i):\'\'}mk()});1D.on(5B.7q.Ua,E(1e,29){if(L(29.j4)){!2b?js("Ub",29.j4.U3):\'\';if(v.dr==1){if(!o.dr){if(1G KI!=="1E"){o.dr=1z KI()}}o.dr?o.dr.Go(29.j4):\'\'}}if(g9>-1){1D.KK=g9;g9=-1}2F(o.gu);tn=H;J7()});1D.on(5B.7q.Uc,E(1e,29){js("Ue",29,1)});1D.on(5B.7q.Uf,E(1e,29){if(!2b&&v.c4==1){1y(tk,47)}});1D.on(5B.7q.Ug,E(1e,29){if(!2b&&v.c4==1){tA()}});1D.Uh=J;if(v.Ui==1){1D.on(5B.7q.Uj,E(1e,29){if(1G(29)=="3C"){if(29.j4.1H==\'1X\'){B fu=29.j4.X;if(fu){B st=1D.FI;if(o.51){o.3w.rp(st+\'bQ\'+fu)}F{!9E[st]?9E[st]=[]:\'\';9E[st].2N(fu)}}}}});1D.on(5B.7q.Uk,E(1e,29){B x=1D.Ul;B y=\'\';U(B i=0;i<x.R;i++){y+=(y!=\'\'?\',\':\'\')+\'[\'+x[i].6s+\']1D\'+i;x[i].7b?o.mI=x[i].6s:\'\'}3r("1X",y)})}1D.on(5B.7q.Um,E(1e,29){v.1n==1?8v.1n(29):\'\';js(29.1H+\'5B\',29,0,H);o.tg=29;if(29.gb){if(29.1H=="UN"){1n("8f gb uq 2n");if(v.mS==1&&46()==0){um()}F{2n=29.j8+\' (\'+29.1H+\')\';o.2e>0||2b||v.5b==1||8T?\'\':o.2e=46();1D.as();if(!2b){o.gb=H;o.P.5N()}}}F{B nx=J;if(29.1H=="Uq"){if(v.UO==1&&o.P.ug()>0){nx=H}F{1n("8f gb P 2n, j7");1D.Vd()}}F{nx=H}if(nx){2n="8f gb 2n, as";1D.as();!2b?o.P.5N():\'\'}}}F{1n("8f ",29.1H,29.j8,(29.mP?29.mP.ur:\'\'));js("Vf",(29.mP?29.mP.ur:\'\'));if(8C>0){8C=2;tT()}}});9D=H}E tY(x){if(x){U(B j=1;j<11;j++){if(v["Ju"+j]){x=x.1P("{"+j+"}",v["Ju"+j])}}}I x}E mR(){if(!2b&&v.9h==1&&9Q()>1){if(o.3i!=1D.mj){o.3i=1D.mj;o.Q?o.Q.hE(o.3i):\'\';1n("8f Vg "+o.3i)}if(2g(v.c7)&&o.3i>0){B fq=v.c7.2q(",");U(B k=0;k<fq.R;k++){if(o.2x[o.3i].K(fq[k])>-1){1n(\'Vh 53\');1D.jc=o.3i-1;o.3i--;1h}}}if(v.9U!=1&&mn()&&md>-1){sW(md)}}}E tH(){if(L(1A.Jk)){if(tf()){if(!L(o.ws)){o.ws=1z Vi()}ws=1z Jk(17,X,2m(v.Vj,{J5:H}));us=H}F{8T=J;1n("gh J6")}}}E J7(){tV()};G.6g=E(){tV()};E tV(){if(v.Hl&&o.Q){if(17.cR.R>0){if(v.6g==1){17.cR[17.cR.R-1].fL="Gd"}F{17.cR[17.cR.R-1].fL="3f"}if(!o.6g){o.6g=H;o.Q.4C()}}F{if(o.6g){o.6g=J;o.Q.4C()}}}}E um(){1n("Vk");!2b&&o.1t?o.V.3d():\'\';o.V.7z();8C=1;tT(o.1t)}E tT(x){if(8C>0){2F(tS);tS=1y(Jd,v.Ja*2i)}}E Jd(){if(8C>0){1n("Vl");if(4v){if(8C==1){1D.K4(X)}if(8C==2){1D.as();dg(H);17.1t()}}F{3W(17,{\'3v\':X})}}}17.1w(\'Vm\',JT);17.1w(\'2n\',qJ);17.1w(\'7v\',8p);17.1w(\'1t\',ac);17.1w(\'3G\',g0);17.1w(\'GA\',bh);17.1w(\'l0\',kY);17.1w(\'o8\',kl);17.1w(\'GC\',bL);17.1w(\'GD\',dK);17.1w(\'8a\',9u);17.1w(\'GG\',ag);17.1w(\'Vn\',K7);17.1w(\'GH\',rs);
2917.1w(\'GI\',rw);if(v.Kc==1&&o.1i.6w){if(2g(v.Ve)){if(2g(v.Vo)){17.1w(\'GJ\',sB)}F{if(1G JR!=="1E"){o.ma=JR(X,17)}}}}if(o.1i.6Z){17.1w("Vq",l3,J);17.1w(\'JV\',JX)}E JX(){17.dC("Q")}E l3(){1n("6Z kZ",17.JY);if(17.JY){o.V.h5()}}E JT(){if(!4v&&!6o){!2b?o.V.et():\'\'}}E qJ(){if(!4v&&!6o){if(17.2n){B x=17.2n.ur;2n=17.2n.9H;if(2n==\'\'){if(x==1){2n="Km"}if(x==2){2n="uq"}if(x==3){2n="dN"}if(x==4){2n="gh qg"}}1n("kD: ",2n)}if(uo&&v.mS==1&&46()==0){2n=1E;um()}if(2n!=1E||o.1i.4l){5N()}}}E 5N(){!2b?o.P.5N():\'\'}E 8p(){if(!2b){o.P.8p()}F{if(v.2b.8R==1){17.cY=0;17.1t()}}}E ac(){if(!o.1v&&v.7m){1n(\'JL 1t\');3G();o.V.2z();I}if(4v&&8C>0){}F{if(!2b){B aF=o.V.8J()&&o.mT!=1;if(aF||cV==-1){B x=J;if(4v){if(L(o.1U)||L(o.5F)){if(aF){}F{1n(\'3G kF\');3G();x=H}}}if(!x){o.P.ac()}}}}}E g0(){if(!nc){1n("Vr");if(o.1t&&o.gV&&!17.7v&&v.Kf==1&&!o.a0){1n("Kf");gC()}F{!2b&&!o.Ke&&17.8q?o.P.g0():\'\'}}}E bh(){!2b?o.P.bh():\'\';if(cV>-1){if(46()>cV){3G();cV=-1}}}E kY(){!2b?o.P.kY():\'\'}E kl(){!2b?o.P.kl():\'\'}E bL(){if(2b){n2()}F{o.P.bL();vu();if(4v&&8C>0){8C=0;1n("Vs up");1D.Jv();gC();o.Q.2z()}if(L(v.9A)){2A()}m7?Gb():\'\';1y(Ka,47)}}E Jt(){if(17.C.1c=="-Vt"||17.mU<-2i){cU()}}E Ka(){if(17){if(17.bK&&o.7n.R==0&&v.Vu!=0){B at=17.bK;U(i=0;i<at.R;i++){B x=o.P.tE((at[i].8x?at[i].8x+\' (\':\'\')+at[i].K2+(at[i].8x?\')\':\'\'),i);if(x==v.aZ){o.6R=o.aq=i}o.7n[i]=x}o.Q.lC(o.aq)}}if(o.aq>0){gc(o.aq,1)}};G.9A=E(){I(17.mF/17.h1)};E n2(){if(17.h1>0){O(1F,{"1f":1F.2c/(17.mF/17.h1)-2L(v.2b.2T)})}F{if(ub<20){1y(n2,100);ub++}}}E vu(){if(v.qp==1){3I(o.tG);o.tG=7I(tZ,100);tZ()}}E tZ(){if(17){if(17.h1>0){o.V.K8(17.mF/17.h1);3I(o.tG)}}}E ag(){!2b&&!8T?o.P.ag():\'\'}E dK(){!2b?o.P.dK():\'\'}E 9u(){if(4v&&8C>0){}F{!2b?o.P.9u():\'\'}}E K7(){o.V.ti()}E tf(){B mV=1A.K6=1A.K6||1A.ZW;B hz=1A.K3=1A.K3||1A.Vv;B lW=mV&&1G mV.lW===\'E\'&&mV.lW(Jm);B Jh=!hz||hz.tc&&1G hz.tc.Vw===\'E\'&&1G hz.tc.5G===\'E\';I lW&&Jh}B t0="<7C C=\'1B:0.5\'>";E Jg(){if(!2b&&v.9h==1){B x=1D.9I;B q=-1;o.2x=[];if(x.R>1){if(v.4x==\'62\'){q=x.R-1}U(B i=0;i<x.R;i++){if(L(x[i].1f)){B y=o.P.Jf(x[i],v.Je);if(o.2x.K(y)>-1||v.Vx==1){if(L(x[i].9V)){B yi=o.2x.K(y);yi>-1?o.2x[yi]+=" "+t0+" &h6;"+2L(x[yi].9V/2i)+\' \'+2K(\'h4\')+\'</7C>\':\'\';o.2x[i]=y+" "+t0+" &h6;"+2L(x[i].9V/2i)+\' \'+2K(\'h4\')+\'</7C>\'}}F{o.2x[i]=y}if(L(x[i].J9)){o.aj[i]=x[i].J9[0]}}F if(L(x[i].6s)){o.2x[i]=x[i].6s}F{o.2x[i]=i}if(L(v.4x)&&q==-1){if(v.4x==o.2x[i]){q=i}}if(L(o.4x)){if(o.4x==o.2x[i]){q=i}}}if(v.9U==1){o.2x[x.R]=2K("2B")}F{q==-1?q=x.R-1:\'\'}if(v.Jc==1||q>-1){if(v.jf=="5t"||(!o.1v&&v.4G==0)){1D.r0=q}F{if(v.jf=="eY"){1D.jc=q}}o.3i=q}F{if(v.9U==1){o.3i=1D.9I.R-1}F{o.3i=1D.Vy}}if(v.JD>0){1D.mf=x.R-v.JD*1-1}mk()}if(1D.9I[o.3i]){o.9V=2m(1D.9I[o.3i].9V,0)}o.Q?o.Q.4C():\'\'}}E mk(){if(v.c4==1){tk();tA()}}E tk(){if(!2b&&v.c4==1){B x=1D.bK;o.7n=[];B 2G;B 1S=-1;if(x.R>1){U(B i=0;i<x.R;i++){2G=J;if(L(x[i].gL)&&o.aj.R>0){if(x[i].gL!=o.aj[o.3i]){U(B j=0;j<o.aj.R;j++){if(o.aj[j]==x[i].gL){2G=H}}}}if(!2G){o.7n[i]=(L(x[i].6s)?o.P.tE(x[i].6s,i):i)+(v.Vp==1&&L(x[i].9G)?\' (\'+x[i].9G+\')\':\'\');if(L(v.aZ)){if(v.aZ==o.7n[i]){1S=i}}}}}}if(1S>-1){o.6R=1S;1D.mA=1S}}E tA(){if(!2b){B x=1D.bK;B y=1D.mA;if(y>-1){if(L(x[y].gL)){if(o.aj.R>0){if(o.aj[o.3i]!=x[y].gL){U(B i=0;i<x.R;i++){if(x[i].6s==x[y].6s&&x[i].gL==o.aj[o.3i]){1D.mA=i;y=i;1h}}}}}o.6R=y;1n("8f Vc",o.6R);o.Q.lC(o.6R)}}};G.gc=E(x,y){gc(x,y)};E gc(x,y){if(17.bK.R>1){17.bK[x].uD=H;17.bK[y==1?0:o.aq].uD=J;o.aq=x;y!=1?17.cY=o.P.18():\'\'}}E 46(){if(6o){I 6I?o.3N.18():0}F{I 17.cY}};E 3V(){B x=17.1m;if(x==V1){v.5b=1;x=46()+10;if(o.cg){x<o.cg?x=o.cg:\'\'}o.cg=x}if(6o&&6I){x=o.3N.1m()}if(L(v.4f)){if(7w([v.4f],\'-\')){x=x+v.4f*1}F{x=v.4f}}I!tq(x)?x:0}G.2z=E(){B p=H;if(4v&&!tn){if(!9D){dg(H)}1D.Jv()}if(6o&&!6I){n3(H);p=J}if(8T){if(!us){tH()}ws.1t();p=J}Jt();p?gC():\'\'};B Vb;E gC(){if(X!="1W"&&17){B pp=17.1t();if(pp!==1E){pp.cA(E(){1n("UR");if(!o.3m){if(17.3m){1n("US");17.3m=J}}jL=0}).2D(E(2n){B em=2n.9H;1n("UT",em);if(em.K(\'aG\')==-1&&em.K(\'UU by\')==-1){if(v.vm==1&&L(17)&&o.1t){1n(\'UV\',o.1t);o.V.56();2R{17.1I=0}2D(e){};B vl=17.1t();if(vl){vl.cA(E(){}).2D(E(e){1n("UW",e.9H);if(o.1i.tv&&(4v||6o)){}F{o.Q.3d();o.V.7z();js("UX")}})}}F{if(!o.ek){o.Q.3d();o.V.7z()}}}F{if(em.K(\'dc UY\')>0||em.K(\'Km\')>0){if(o.1t){if(jL<5){1n("UZ",jL);1y(gC,UQ);jL++}F{}}}}})}}}G.mY=E(){if(o.5F||o.1U){if(o.92){dM()}if(!o.ic&&o.1i.2f&&o.1i.3L){if(!17.3m){17.3m=H;ne=H}O(17,{"1r":"2E","1b":-4d,"1c":-4d});cV=46();if(!8T){17.1t()}if(cV==0&&o.2e>0){l1=o.2e}}}};G.cU=E(){cU()};E cU(){if(!o.ic&&(o.1i.2f||o.1i.3L)){O(17,{"1r":"qi","1b":0,"1c":0});if(L(v.9A)){2A()}if(ne){!o.3m?17.3m=J:\'\';ne=J}if(l1>0){o.2e=l1;l1=0}cV=-1}};G.3d=E(){1n(\'8q\');3G()};
29E 3G(){if(8T){ws.3G()}F{17.3G()}};G.dE=E(){!17.8q?3d():gC()};G.3S=E(x){if(6o&&6I){o.3N.3B(x)}F{if(4v){if(v.YF==1&&x>0&&mn()&&v.9U==1){g9=1D.jc;1D.KK=0}}17.cY=x}};G.56=E(){17.3m=H};G.6j=E(){17.3m=J;if(o.2o=="1D"&&o.1i.4l&&v.1U==1){if(!L(o.KN)){nc=H;1n("4l 96");17.3G();1y(E(){17.1t();nc=J},10);o.KN=H}}};G.3T=E(x){17.1I=x};G.Ks=E(){if(o.KM!=17){B aG;B 9j;if(o.n7[17]){aG=o.n7[17];9j=o.vG[17]}F{1A.n9=1A.n9||1A.V2;if(L(1A.n9)){2R{9j=1z n9();aG=9j.V3(17);o.n7[17]=aG;o.vG[17]=9j}2D(e){1n(e)}}}if(9j){B jI=9j.V4();jI.jI.5z=v.Ky;aG.Kw(jI);jI.Kw(9j.V5);o.vD=H;o.KM=17}}};G.n5=E(){I!17.8q};G.5T=E(){I v.5b==1||8T?H:o.5b};G.ak=E(){I 17};G.vJ=E(){3W(17,{\'Q\':\'1\'});I H};G.4G=E(){3W(17,{\'4G\':\'7P\'});if(4v&&!9D){dg(J)}if(6o&&!6I){n3(J)}};G.6X=E(){B 6O="7T";if(17.8q){6O="8q"}if(17.7v){6O="7v"}I 6O};G.vw=E(x,y){2b=x;y.1V(17);1F=y;if(x){if(v.2b.gs!=1){17.3m=H}F{if(!o.3m){17.3m=J}}n2();if(o.2x.R>0&&v.9U==1){if(4v){jS=o.3i;1D.mf=0;1D.jc=0}}}F{if(!o.3m&&v.2b.gs!=1){17.3m=J}17.1I=2g(v.2b.1I)?v.2b.1I:v.1I;vu();if(o.2x.R>0&&v.9U==1){if(4v){1D.mf=-1;if(jS>-1){jS<1D.9I.R?1D.r0=jS:\'\'}}}}};G.18=E(){I 46()};G.1m=E(){I 3V()};G.a4=E(){B x=0;if(17.8j){if(17.8j.R>0){B y=46();U(B i=0;i<17.8j.R;i++){if((y>=17.8j.1v(i)||y>=17.8j.1v(i)-100)&&y<=17.8j.4f(i)){x=17.8j.4f(i)}}x==0?x=17.8j.4f(17.8j.R-1):\'\'}}if(L(v.4f)){B ed=v.4f;if(7w([ed],\'-\')){ed=3V()}x>ed?x=ed:\'\'}I x};G.2B=E(){I mn()};E mn(){B x=J;if(4v){if(9D){x=1D.V6}}F if(6o){if(6I){x=o.3N.2B()}}I x}G.3J=E(){I{"Z":17.mF,"1f":17.h1}};G.3v=E(x){if(x){1n("3v");x=x.1P(/\\(5y\\)/g,2H.5y());x=he(x);X=x;o.9b!=2?o.9b=J:\'\';if(6o){if(6I){o.3N.aG(x)}}F if(4v){4v&&1D?1D.as():\'\';dg(o.1v||o.3k);ux()}F{3W(17,{\'3v\':x,\'3k\':0});uI();3G()}}};E he(x){if(x){B y=x.K(\':V7:\');if(y>0){o.he=x.1j(y+6);x=x.1j(0,y)}}I x}E uI(){if(o.1i.6w&&17){B y=17.cR;if(y){U(B i=0;i<y.R;i++){y[i].fL="V8"}}y=17.bK;if(y){U(i=0;i<y.R;i++){y[i].uD=(i==0?1:0)}}o.ma?o.ma.V9(X):\'\'}ux();if(v.uC==1){1G GO!=="1E"?GO(X,17,1F):\'\'}}E J0(){if(o.2o=="1D"&&4v){}F{if(1A.Va){m7=H;G9()}}}E Gb(){m7=J}E G9(e){o.5j=H;1n("5j",o.5j);!2b?o.V.hF():\'\'}G.5j=E(){17.UP()};G.91=E(){dM()};E ux(){if(o.1i.3L){if(L(17.U1)&&!o.1i.6Z){o.91=H}if(1Q.Tf&&!17.U0){o.91=H}}}E dM(){if(o.1i.6w){if(17.ST==="m9-in-m9"){17.G8("cO");o.92=J}F{17.G8("m9-in-m9");o.92=H}}F{if(!1Q.SU){2h(\'17.SV().cA(p => {o.92 = H;}).2D(2n => {o.92 = J;});\')}F{2h(\'1Q.SW().cA(ok =>{o.92 = J;}).2D(2n => {});\')}}};E rs(){o.92=H};E rw(){o.92=J};E sB(e){if(1G G6!=="1E"){o.ma=G6(e)}}G.G5=E(x){if(6I){o.3N.uU(x)}};G.G4=E(x){if(6I){if(17.8j.R>0){o.3N.SX(x)}}};G.SY=E(x){if(o.ws){o.ws.G2(ws,x,-1)}};G.SZ=E(x){if(o.ws){o.ws.G2(ws,-1,x)}};G.G1=E(x){md=x*1;sW(x)};E sW(x){if(9D){B y=2L(x);if(y>=1D.9I.R){if(v.9U==1){y=-1;1D.mf=-1}F{y=1D.9I.R-1}}if(v.jf=="eY"){1y(9u,47);1D.jc=y}if(v.jf=="5t"){1n("8f 5t T0 "+y);1D.r0=y}if(y==-1){o.3i=1D.mj}mk()}};G.lZ=E(){I 1D};G.mm=E(){I 6I?o.3N.T1():J};G.9Q=E(){I 9Q()};E 9Q(){B x=0;if(9D){if(1D.9I){x=1D.9I.R}}I x}G.cB=E(){I cB()};G.f4=E(){f4()};E f4(){if(17){if(v.mD==1||v.6n==1){if(v.SS==1||v.6n==1){O(17,{\'3C-kU\':\'6n\'})}F{O(17,{\'3C-kU\':\'w9\'})}}F{O(17,{\'3C-kU\':\'vV\'})}}}G.4N=E(){2A()};E 2A(){if(v.9A){3r(\'1M\',6Y(v.9A).1P(\'/\',\':\'))}}E cB(){B x=0;if(6I){x=o.3N.9I()}I x}G.FO=E(x){if(9D){1D.mA=2L(x)}};G.f9=E(x,y){if(y=="1D"&&9D&&rr){rr.T2(x)}if(y=="FK"&&9D){if(9E[x]&&o.3w){U(B i=0;i<9E[x].R;i++){o.3w.rp(9E[x][i])}}1y(E(){1D.FI=x*1},47)}if(y=="3N"&&6I){o.3N.T4(x)}};G.eL=E(x){if(x){17.T5=x}};G.qQ=E(){B x=17.T6;B y=[];U(B i=0;i<x.R;i++){if(x[i].oT.pK()==\'a6\'){x[i].6L("dc",qw);y.2N(x[i])}}U(B i=0;i<y.R;i++){17.3j(y[i])}U(B i=0;i<17.cR.R;i++){17.cR[i].fL=\'3f\'}o.rd=J};G.FX=E(x,y,z){if(x!=\'\'){if(x.K(\' or \')>0){B xx=x.2q(\' or \');x=xx[0]}B a6=1Q.22(\'a6\');a6.7k(\'3v\',x);a6.7k(\'8x\',y);a6.7k(\'T7\',\'qP\');a6.7k(\'fL\',\'Gd\');if(z){a6.7k(\'7b\',\'\')}17.1V(a6);a6.1w("dc",qw)}};E qw(e){if(e.4i.8x&&o.3w){U(B i=0;i<o.2X.R;i++){if(o.2X[i]==e.4i.8x){o.3w.8Z(i)}}}};G.kL=E(){I 2n?2n:\'\'};G.4g=E(){3I(o.T8);4v&&1D?1D.as():\'\';6o&&6I?o.3N.T9():\'\';8T&&ws?ws.2G():\'\';17.6L(\'2n\',qJ);17.6L(\'7v\',8p);17.6L(\'1t\',ac);17.6L(\'3G\',g0);17.6L(\'GA\',bh);17.6L(\'l0\',kY);17.6L(\'o8\',kl);17.6L(\'GC\',bL);17.6L(\'GD\',dK);17.6L(\'8a\',9u);17.6L(\'GG\',ag);17.6L(\'GH\',rs);
2917.6L(\'GI\',rw);17.6L(\'GJ\',sB);17.3v=\'\';if(1F.oT=="JJ"){1F.rv.b4.3j(17)}F{1F.3j(17)}17=26}};B qD=E(){B b=[];B gW=[];B 5v=[];B 8a=J;B lb;B 7J=J;B 1g;B W;if(o.4E){o.4E.1l();o.4E=26}B nJ;o.5R=[0.25,0.5,0.75,1,1.25,1.5,2];if(v.1g.Ta==1&&L(v.1g.kk)){v.1g.kk=v.1g.kk.1P(/\\n/ig,\'\');o.5R=v.1g.kk.2q(",")}o.du=7w(o.5R,1,H);o.ae==3?o.ae=o.du:\'\';U(B i in o.5A){if(o.5A.2v(i)){!L(v.1g[i])?v.1g[i]=5:\'\';o[\'6r\'+i]=[\'+ \'+v.1g[i]+\'%\',\'&Tb; \'+v.1g[i]+\'%\',(o.5A[i]*100+\'%\')]}}if(v.1p.dv==1&&o.1i.4l&&v.gt==1){v.1p.1l=0}B nS=J;B 9l=0;B oc=0;B fy=J;B yA=H;B hX;B bg=1z vv();B 1g;B 5f=[];B sl=J;B sj=J;B ko=0;B c5=[];if(v.gy.1r=="Q-2u"){v.gy.1r="Q"}U(B y in v){if(v.2v(y)){if(y.K("c9")==0&&v[y]){!L(v[y].sm)?v[y].sm=v[y].5f:v[y].5f=v[y].sm;if(5f[v[y].5f]){v[y].5f+=v[y].5f}5f[v[y].5f]=y;if(v.gy.1r!="Q"){if(v[y].1r=="Q-2u"){c5.2N([y,v[y].5f]);sl=H}F{if(v[y].1r=="Q"||v[y].1r==1E){sl?sj=H:\'\'}}}ko<v[y].5f?ko=v[y].5f:\'\'}}}if(sj){c5.Gv(E(a,b){I a[1]-b[1]});U(B i=0;i<c5.R;i++){5f[v[c5[i][0]].5f]=26;v[c5[i][0]].5f=ko+1;ko++;5f[v[c5[i][0]].5f]=c5[i][0]}}o.bP=v.1p.1l==1&&v.1p.Ib==1;if(o.bP){o.1p=22("28");o.1R.1V(o.1p);O(o.1p,{\'1r\':\'2E\',\'1b\':0,\'1c\':0,\'Z\':\'100%\',\'1f\':\'100%\',\'5l\':\'1c 0.3s 6J-5p\',\'4H-3l\':\'1W\'})}B 7t=22("28");if(o.bP){o.1p.1V(7t)}F{o.1R.1V(7t)}B aI;if(v.1p.Tc==1){aI=1z vv(H)}O(7t,{\'1r\':\'2E\',\'1b\':0,\'2O\':0,\'Z\':\'100%\',\'1f\':v.1p.h});7t.ha=E(){!o.1i.2f?o.V.Gu():\'\'};if(v.vn==1){3h(bg.c());3h(7t)}U(B i=1;i<5f.R;i++){if(5f[i]){B y=5f[i];if(y){B 1d=v[y].1d;B T3=v[y].1l;if(o.1i.2f){if(1d=="1I"&&v[y].7E=="4T"){}F{if(1d=="1I"&&v.SQ==1&&o.1i.2f){v[y].iA=0}F{if(1d=="1I"||(1d=="1Z"&&v.SF)){v[y].on=0}}}if(1d=="ay"){v[y].SP==1?v[y].on=0:\'\'}}F{if(1d=="ay"){v[y].Sw==1?v[y].on=0:\'\'}}if(v[y].1l==1){if(v[y].Fg==1&&L(v[y].nj)){2w[v[y].nj]?v[y].on=0:\'\'}if(v[y].Fd==1&&L(v[y].nq)){!2w[v[y].nq]?v[y].on=0:\'\'}}if(v.vn==1){v[y].on=0}if(v[y].on==1){if(1d=="2I"||1d=="1I"){b[y]=1z Ia(y,1d);b[y].2A(b[y].s("w"))}F{b[y]=1z GS(y)}gW.2N(y);if(b[y].g("1d")=="1O"){if(b[y].s("1C")==\'\'){if(b[y].s("B")!=\'\'){if(!L(v[b[y].s("B")])){b[y].1S("2k",J)}}F{b[y].1S("2k",J)}}}if(b[y].g("1d")=="3F"){B lu=b[y].s("3c");if(lu){if(lu.K("2U:")==0&&lu.K(",0/1")>0){B z=lu.2q(",");3r(z[0].1j(4))==0?b[y].cG(0):\'\'}if(7w([lu],"2W")){o.eS=H}}}b[y].1S("1M",b[y].s("1M"))}}}}if(L(v.1g)){if(1G(8b)==\'E\'){1g=1z 8b("1g");v.1g.6U==1?1g.1o():1g.1l()}F{o.Sx=H}}if(L(v.W)){if(1G(8b)==\'E\'){W=1z 8b("W");if(L(o.W)){W.w0(o.W);if(v.W.oy==0||!L(v.W.oy)){v.W.6U==0?W.1l():\'\'}F{W.1o()}if(v.W.Gs==1){W.1o()}}F{W.1l(1)}i8()}}o1();yR();2A(H);4k();wg();yA=J;E Gj(S){B x=0;B Sy=J;if(S){if(S.g("1d")==\'2I\'){x=5v.1b+S.s("4F")+S.g("Z")/2;if(5v.fx!=26){}F{5v.fx=[]}}F{if(5v.fx!=26){B bV=S.g("Z")+S.s("4O")+S.s("4F");if(gZ(S)){bV=0}if(S.s("3f")==1&&!S.g("1o")){bV=0}if(S.s("b5")>0){bV=0}x=bg.g("w")-v.1p.kx*1-bV+S.g("Z")/2+S.s("4F");B i=0;5v.2u-=bV;U(i=0;i<5v.fx.R;i++){B bU=b[5v.fx[i]];if(bU.s("b5")>0){O(bU.c(),{"1b":(bU.g("x0")-bV)})}F{O(bU.c(),{"1b":(bU.g("x")-bV)})}bU.1S("x0",bU.g("x"))}5v.fx.2N(S.g("1a"));S.1S(\'fX\',1)}F{if(S.s("3f")==1&&!S.g("1o")&&!S.g("fO")){if(S.g("1d")=="1I"){if(S.s("1l")==1&&S.s("iA")==1&&fy){9l+=S.g("Z")+S.s("4F")+S.s("4O");fy=J}}}F{if(S.s("b5")>0){x=5v.1b+S.s("4F")+S.s("4O")}F{B 2G=J;if(S.g("1d")=="1I"){if(S.s("1l")==1&&S.s("iA")==1&&!S.g("fO")){if(!o.eD&&!o.9i){2G=H;fy=J}F{if(!fy){9l-=S.g("Z")+S.s("4F")+S.s("4O");fy=H}}}}if(gZ(S)){2G=H}if(!2G){5v.1b+=S.g("Z")/2+S.s("4F");x=5v.1b;5v.1b+=S.g("Z")/2+S.s("4O")}F{x=5v.1b}}}}}}I x};G.Gp=E(){o1();if(W&&v.W.6U&&!o.1v){W.1o()}};G.Gn=E(x){if(W){W.6C(x)}};G.AE=E(){o1()};E o1(){if(o.eS){1G Gm==\'E\'?o.2W=1z Gm():\'\'}}E yr(S){B Z=o.1Z&&v.1p.jG==0?o.aE:o.3a;B 1f=o.4B;B aV=0;if(S!=bg){aV=Z/2+S.s("4F")-S.s("4O")}B dP=1f/2;B sJ=S.g("Z");B o0=S.g("1f");B p=S.s("1r");if(p.K("8h")>-1){aV=o.3a/2+S.s("4F")-S.s("4O")}if(p.K("1c")==0){dP=o0/2+(S.s("Gk")*o.4B/100)}if(p.K("2O")==0){dP=o.4B-(S==bg?o0:o0/2)-(S.s("Gl")*o.4B/100)}if(p.K("2u")>-1){aV=o.3a-sJ/2+S.s("4F")-S.s("4O")-(S.s("Ge")*o.3a/100)}if(p.K("1b")>-1){aV=sJ/2+S.s("4F")-(S.s("1H")=="1C"?0:S.s("4O"))+(S.s("jp")*o.3a/100)}if(p.K("9c")>-1){dP=-o.pi/2-(S.s("Gl")*o.pi/100)+(S.s("Gk")*o.pi/100);aV=(p=="9c"?-1:1)*o.rC/2+(S.s("jp")*o.rC/100)+S.s("4F")-S.s("4O")}if(p.K("Q")>-1){B cx=Gj(S);aV=(bg?(bg.c()?5g(bg.c().j9):0):0)+cx;if(p=="Q-2u"){aV+=9l}if(v.1p.1r=="1c"){dP=v.1p.h/2-(v.dA<0?v.dA:0)}F{dP=1f-v.1p.h/2}}I{x:aV,y:dP+S.s("av")-S.s("ge")}}E 2A(9Y){B w=o.1Z&&v.1p.jG==0?o.aE:o.3a;B h=o.4B;if(v.1p.Sz==1){v.1p.Gh=2g(v.1p.Gi)&&o.al?v.1p.Gi:v.1p.sa;v.1p.kx=o.3a*v.1p.Gh/100}F{v.1p.kx=v.1p.sa}O(bg.c(),{\'1c\':(v.1p.1r=="1c"?0:o.4B-v.1p.h)-v.dA});bg.1S("y0",(o.4B-v.1p.h-v.dA));if(v.1p.jG==0&&bg){O(bg.c(),{\'Z\':w,\'1b\':0,\'2Q-1b\':0});bg.1S("w",w);if(o.1Z){O(bg.c(),{\'1b\':\'50%\',\'2Q-1b\':-w/2})}}5v={"1b":v.1p.kx*1,"2u":(bg.g("w")-v.1p.kx*1)};B rJ=J;if(!bg.g("1o")){bg.1S("2k",H);rJ=H}B 1a;U(B i=0;i<gW.R;i++){1a=gW[i];if(b[1a]){B cc=yr(b[1a]);if(cc){if(b[1a].s("5S")=="1r"){if(L(o.7l[1a])){if(b[1a].g("x0")==cc.x&&b[1a].g("y0")==cc.y){3q}F{o.7l[1a].XY(b[1a].g("x0"),cc.x,b[1a].g("y0"),cc.y)}}}b[1a].1S("x0",cc.x);b[1a].1S("y0",cc.y);if(b[1a].s("3f")==1&&!b[1a].g("1o")&&!9Y){wy(b[1a])}F{O(b[1a].c(),{"1r":"2E","1b":b[1a].g("x0"),"1c":b[1a].g("y0")})}}}}if(rJ){bg.1S("2k",J)}9l=0;U(1a in b){if(b.2v(1a)){if(b[1a].s("1r")=="Q-2u"&&b[1a].g("1d")!="2I"&&9l>-1){9l=5v.2u-5v.1b}if(b[1a].g("1d")=="2I"&&bg){B c6;B ml=b[1a].s("4F")+b[1a].s("jp")*o.3a/100;B mr=b[1a].s("4O")+b[1a].s("Ge")*o.3a/100;if(b[1a].s("SA")==1){if(b[1a].s("SB")==1){c6=(o.3a*b[1a].s("w")/100)-ml-mr}F{c6=b[1a].s("w")}}F{if(b[1a].s("1r").K("Q")>-1){c6=5v.2u-5v.1b-ml-mr;O(b[1a].c(),{"1b":(5g(bg.c().j9)+5v.1b+ml+c6/2)});9l=-1}F{c6=bg.g("w")-ml-mr;if(bg.c()){O(b[1a].c(),{"1b":(5g(bg.c().j9)+ml+c6/2)})}}}b[1a].1S("x0",b[1a].g("x"));b[1a].2A(c6)}}}if(1g){iC(1g)}if(W){iC(W)}if(nS||o.1Z||oc!=9l){4k()}}E wy(b){B 1b=0;B 1c=0;if(b.s("1r").K("2u")>-1&&b.s("1r").K("Q")==-1){1b=o.3a+b.g("Z")+10}if(b.s("1r").K("1b")>-1){1b=-b.g("Z")-10}if(b.s("1r").K("1c")>-1){1c=-b.g("1f")*2}if(b.s("1r").K("2O")>-1||b.s("1r").K("Q")>-1){1c=o.4B+b.g("1f")+b.g("Z")+10}if(1b>0){O(b.c(),{"1b":1b})}if(1c>0){O(b.c(),{"1c":1c})}}E iC(x){B 1c=-4d;x.iB();B y=o.4B-v.1p.h*(x.s("1r").K("1c")>-1?1:2);
29if(x==W&&v.wK==1){y=o.4B}B o3=(o.1i.2f&&o.4B<SC&&L(x.s("FF"))?x.s("FF"):x.s("rD"))*1;B ht=y-(o.1Z&&!o.1i.2f?100+o3:o3)-(x==W&&o3==0?x.s("av"):0);ht<100?ht=100:\'\';O(x.c(),{\'62-1f\':ht});x.co()?O(x.co(),{\'62-1f\':ht}):\'\';if(x.g("1o")){1c=o.4B/2-x.g("1f")/2+x.s("av")-x.s("ge");if(x.s("1r").K("1c")>-1){1c=x.s("av")-x.s("ge")}if(x.s("1r").K("2O")>-1){1c=o.4B-(v.1p.1r!=\'1c\'?v.1p.h:0)-x.g("1f")+x.s("av")-x.s("ge")}1c<0?1c=0:\'\'}if(x.g("1a")=="1g"&&o.bT){B FE=o.3a-x.g("Z")-x.s("4O");if(o.bT>FE){O(x.c(),{"1r":"2E","2u":x.s("4O"),"1b":"2B","1c":1c})}F{O(x.c(),{"1r":"2E","1b":o.bT,"2u":"2B","1c":(o.iH<1c?o.iH:1c)})}}F{if(x.s("1r").K("2u")>-1){O(x.c(),{"1r":"2E","2u":x.s("4O")-x.s("ob"),"1b":"2B","1c":1c})}F if(x.s("1r").K("1b")>-1){O(x.c(),{"1r":"2E","1b":x.s("4F"),"2u":"2B","1c":1c})}F{if(x.g("1a")=="W"&&x.s("3y")==1){O(x.c(),{"1r":"2E","1b":o.3a/2-x.g("Z")/2+x.s("4F")/2-x.s("4O")/2,"1c":1c})}F{B l=o.3a/2-x.g("Z")/2+x.s("4F")-x.s("4O");O(x.c(),{"1r":"2E","1b":(l>0?l:0),"1c":1c})}}}x.9M()};G.eN=E(1a){B S=b[1a];B a=S.g("1d");if(a){B d=1z 7W();o.bx=d.9K();if(a&&a!=""){4X(S);a=="3G"?o.F3=1:\'\';a=="1t"?o.F3=0:\'\'}}pz()};G.rH=E(z,x,y){U(B 1a in b){if(b.2v(1a)){if(b[1a].s(z)==x){b[1a].1S(y?"6E":"3h")}}}};G.uH=E(x,s){B y=7c(s,x);I y};E 4X(S,1H){o.ek=H;nJ=S;B a=S.g("1d");if(a=="1t"){o.V.2z();if(o.3m&&v.F2==1){o.V.6j();v.F2=0}if(v.1N.on==1&&v.1N.2M==1&&v.1N.s7==1){7r(\'1t\',1)}js("F1")}F{if(a=="3G"){o.oo=0;o.V.3d();if(v.1N.on==1&&v.1N.2M==1&&v.1N.s7==1){7r(\'1t\',0)}js("EZ")}if(a=="2G"){o.V.ov()}}if(a=="EX"){o.V.3S(0,J)}if(a=="1Z"){!o.5e?o.V.9a():\'\'}F{if(a=="s6"){o.V.8H()}}if(a=="2I"){B ld=o.P.1m();B lt=S.g("2p")*ld;if(v.4p>0){ld-=v.4p*1;lt=S.g("2p")*ld+v.4p*1}if(v.hv>0){if(v.hv/ld<=1-S.g("2p")){I}}js(a,lt);o.V.3S(lt,H);if(o.3q){o.3q.s0(lt,ld);o.2e>0?o.2e=1E:\'\'}js("lT",lt)}if(a=="1I"){B x=S.g("2p");x<0.SD?x=0:\'\';x>1?x=1:\'\';if(S.s("7E")=="4T"){x=3X(x*o.5R.4M(-1)[0]).v6(1);o.V.8Y(x,1)}F if(S.s("7E")=="vt"){o.P.EW(x)}F{if(o.5m&&v.qE==1){3R.9f("qG",x);if(S.g("2p")>0||o.1i.6Z||v.pY==0){3R.rW("ia")}F{3R.9f("ia",1)}}o.V.3T(x)}}if(a=="59"){if(o.5m&&!o.1i.6Z&&v.pY==1){3R.9f("ia",1)}o.V.56();if(v.1N.2M==1&&v.1N.EV==1){7r(\'59\',0)}}F{if(a=="96"){if(o.5m){3R.rW("ia")}o.V.6j();if(v.1N.2M==1&&v.1N.EV==1){7r(\'59\',1)}}}if(a.K("18")==0){S.Sv()?S.hJ():S.On()}if(a=="po"){o.P.vM()}if(a=="1M+"){o.P.d8(0.1)}if(a=="1M-"){o.P.d8(-0.1)}if(a=="1M"){o.P.d8(0)}if(a=="5b"){3r("r5");S.1S("pc",1);S.1S("ds",1)}if(a=="2W"){js("2W");yk()}if(a=="1g"){o.bT=1E;if(1g){if(!1g.g("1o")){1g.1o()}F{1g.1l()}}}if(a=="W"){if(o.gJ==a){I}o.Q.ik()}if(a=="5t"){o.Q.au()}if(a=="cl"){o.Q.di()}if(a=="3F"){if(S.s("h0")==1&&S.s("3c")!=""){B x=4D(S.s("3c"));if(o.gJ==a+x){I}if(x.K(\'{18}\')>-1){x=x.1P(\'{18}\',(L(o.3q)?o.3q.b8().t:o.P.18()))}if(x.K(\'{3b}\')>-1){x=x.1P(\'{3b}\',o.P.bZ())}if(x.K(\'{1O}\')>-1){x=x.1P(\'{1O}\',v.1O.1P(/,/ig," "))}if(x=="5j"){o.P.fr()}if(x.K(\'7e\')==0){if(S.s("7e")>0){o.V.3S(o.d0?o.d0.SE():S.s("7e"))}}if(x.K(\'SG\')==0){if(o.d0){o.d0.SH()}}if(x=="SI"){o.V.3S(S.s("jp")*o.P.1m()/100);!o.1t?o.V.2z():\'\'}S.s("ES")==1?o.V.3d():\'\';B y=x.2q(",");if(x.K("2U:")==0){B z=x.1j(4).2q(";");U(B i=0;i<z.R;i++){y=z[i].2q(",");if(y.R>1){if(y[0]==\'3B\'){if(v.1N.2M==1&&v.1N.SJ==1){7r(\'3B\',y[1]>0?1:0)}}3r(y[0],y[1],S);js("lT",y[1]);y[1]==\'0/1\'||y[1]==\'1/0\'?vz():\'\'}F{if(y[0]=="EQ"){B ss=3r(y[0]);if(ss){if(ss.K("29")>-1){if(v.SK==1){B 4u=1Q.22(\'4u\');4u.7k(\'3v\',ss);O(4u,{1r:"vL",2u:(L(v.oq)?v.oq:20),2O:(L(v.oq)?v.oq:20),Z:0,5l:"Z 0.5s bI-SL(.75,-0.5,0,1.75)"});4u.C.4W=EB;1Q.b4.1V(4u);1y(E(){O(4u,{Z:(L(v.EP)?v.EP:4y)})},1);4u.ha=E(){G.3Z.3j(G)}}if(v.SM==1){B a=22("a");a.8O=ss;a.6M=y[0]+".jD";a.2p()}}}F{1n(y[0]+" 2n")}}F{3r(y[0])}}}}F{if(x.K("js:")==0){if(x.K("(")>0&&x.K(")")>0){2h(x.1j(3))}F{2h(y[0].1j(3)+\'(\'+(L(y[1])?\'"\'+y[1]+\'"\':\'\')+(L(y[2])?\',"\'+y[2]+\'"\':\'\')+\')\')}}if(x.K("1e:")==0){z6(x.1j(6),o.P.18())}if(x.K("2W:")==0&&o.2W){o.2W.2U(x.1j(6))}if(x.K("yW:")==0&&o.5a){3r("yW",x.1j(7))}if(x.K("3P")==0||x.K("/")==0||x.K("?")==0||x.K("X:")==0){x.K("X:")==0?x=x.1j(4):\'\';1A.6C(x,S.s("EN"))}if(x.K("6M")==0){o.V.hO()}if(x=="2U:91"){o.P.dM()}}if(x.K("1g#")>-1){if(1g){B si=x.1j(9).2q(",");if(1g.g("1o")&&1g.g("6C")==si[0]){o.bT=1E;o.iH=1E;1g.1l()}F{o.bT=S.g("x")-S.g("Z")/2;o.iH=S.g("y")+S.g("h");U(B i=0;i<si.R;i++){i==0?1g.1o():\'\';1g.6C(si[i])}W?W.EK():\'\'}}}if(x.K("1g:")>-1&&v.1g.SN==1){if(!o.4E){o.4E=1z SO()}if(v.1g.gn==1){if(1H=="6u"){o.4E.1o(x)}F{o.4E.iG(x)}}F{if(!1H){o.4E.iG(x)}}}if(x=="Hy"){o.V.g3();o.xp=0;S.1S("3h");B bl=7c("3c","4w");if(bl){bl.1S("3h")}}if(x=="4w"){S.6k("OK");S.s("ju")?1A.8I.8O=4D(S.s("ju")):\'\'}}}};G.1O=E(t){B y=J;U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="1O"){if(b[x].s("B")==t||t=="1O"){if(b[x].s("1l")==1&&b[x].s("xE")==1&&o.1t){y=H}if(v[t]==\'\'||y){b[x].1S("2k",J)}
29F{b[x].1S("2k",H)}b[x].6k(v[t])}}}}ym()};G.EI=E(){ym()};G.yn=E(){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="3F"){if(b[x].s("1H")=="1C"){b[x].9s()}}}}};E ym(){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="3F"){if(b[x].s("1H")=="1C"){b[x].IB(H)}}}}}E yk(){if(L(o.2W)){o.2W.oj()}}G.EH=E(){yk()};G.BI=E(){if(v.1O!=\'\'){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="1O"){B y=J;if(!b[x].g("1o")){y=H;b[x].1S("2k",H)}b[x].6k(v.1O);if(y){b[x].1S("2k",J)}}}}}};G.yB=E(){yR()};E yR(){if(v.9w){if(1G(v.9w)=="3C"){U(B x in v.9w){if(v.9w.2v(x)){i3(x,v.9w[x])}}}}};G.EG=E(y,z){i3(y,z)};G.yN=E(x){if(b[x]){b[x].wD()}};G.EF=E(){U(B x in b){if(b.2v(x)){if(b[x].g("we")){b[x].wD()}}}};E i3(y,z){if(y){U(B x in b){if(b.2v(x)){if(b[x].g("we")){if(b[x].s("4L")==y){if((!b[x].g("1o")||b[x].s("3f")==1)&&!gZ(b[x])){b[x].1S("Hi");b[x].1S("2k",H)}b[x].i3(z)}}}}}};G.4N=E(){2A()};G.EE=E(){2A(H)};G.oi=E(){iC(1g)};G.iB=E(){iC(W)};G.2z=E(){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="1t"){b[x].On()}if(b[x].s("pp")==1){b[x].vW(1)}}}o.ce?o.ce.1l():\'\';yH();o.1t=H;4k()};G.3d=E(){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="3G"||b[x].g("1d")=="2G"){b[x].hJ()}if(b[x].s("pp")==1){b[x].vW(0)}}}if(W){if(!o.dJ&&v.W.Ho==1&&!W.4S()){W.1o()}}o.1t=J;G.8d();4k();if(v.1p.1l==1&&v.1p.h7==1){gp(H)}if(o.P.18()>0){B y=7c("1d","5b");if(y){y.1S("pc",0.5);y.1S("ds",0)}}};G.56=E(){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="59"){b[x].On()}G.3T(0)}}4k()};G.6j=E(){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="96"){b[x].hJ()}}}if(v.1I<0.1){v.1I=0.5;o.V.3T(v.1I)}F{G.3T(v.1I)}4k()};G.3T=E(1I,y){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="1I"){if(!b[x].s("7E")||b[x].s("7E")=="1I"){b[x].6D(1I,1,(y=="no"?y:H))}}if(b[x].g("1d")=="59"){b[x].wF(1I)}}}4k()};G.9a=E(){B bl=7c("1d","1Z");if(bl){bl.On();bl.1S("1M",bl.s("1M"))}4k();nS?1y(4k,47):\'\';if(o.1Z&&o.HQ){if(o.1i.iE||o.1i.tv){1y(2A,10)}}go();yg()};G.8H=E(){B bl=7c("1d","1Z");if(bl){bl.hJ()}2A();3I(o.jY);4k();yg()};E yg(){if(o.bT){o.bT=1E;o.iH=1E;1g.1l()}}G.8p=E(){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="1t"){b[x].wP()}}}};G.vp=E(){4k()};G.CO=E(){yH()};E yH(){if(W){if(W.g("1o")&&v.W.dl==1){o.Q.cI()}}}E 4k(){U(B x in b){if(b.2v(x)){if(b[x].g("1d")!="ay"){ch(b[x])}}}ch(bg);if(oc!=9l){oc=9l;2A()}if(o.bP){gS(!o.eI&&!o.4A&&!o.1Z&&o.1t&&v.1p.dv!=1&&!o.5e)}};E jv(){B 1o=7J&&v.1p.hC==1;if(v.1p.1l==1){if(!o.1t&&v.1p.h7==1){1o=J}}if(1o){U(B x in b){if(b.2v(x)){if(b[x].g("1d")!="ay"){ch(b[x],J)}}}O(o.1R,{"6P":"7b"});o.iI=H;ch(bg,J);if(bg.g("1o")){hg()}gS(J)}}E gp(){B 1l=o.1t&&v.1p.hC==1&&!o.3D;if(o.dz&&v.1p.Td==1){1l=J}if(!o.1t&&v.1p.1l==1&&v.1p.h7==1){if(o.4A&&v.1p.ER==1&&!o.1i.2f){}F{1l=H}}B nC;if(W){if(W.g("6C?")){nC=H}}if(1g){if(1g.g("1o")){nC=H}if(1g.g("1o")&&o.nT){1l=J}}if(nC&&v.1p.SR==1){B m=v.1p.Te;if(m==1&&o.1i.2f){I}F{if(m==0||!L(m)){I}}}if(o.5e){1l=J}if(1l){U(B x in b){if(b.2v(x)){if(b[x].g("1d")!="ay"){ch(b[x],H)}}}ch(bg,H);if(!bg.g("1o")){7J=H;o.P.yV();if(o.1t){O(o.1R,{"6P":"1W"});o.iI=J}}gS(H)}}E go(){if(v.1p.hC==1){if(v.1p.dv==1&&!o.1Z&&!o.aD){}F{3I(o.jY);o.jY=7I(gp,((v.1p.7X>0?v.1p.7X:v.1p.iS)*2i))}}}E ch(S,bC){B 1l=J;B 1o=J;B bJ=J;if(v.1p.1l==1){if((!o.eI&&!o.4A&&!o.1Z&&o.1t&&v.1p.dv!=1&&!o.5e)||(o.1Z&&7J&&!o.iI)||(o.V.eJ()&&o.7v&&!o.4A)){1l=H;1o=J;bJ=H}F{1l=J;1o=H}if(L(bC)&&!o.5e){1l=bC;1o=!1l}if(o.bP&&(S.s("1r").K("Q")==0||S.s("1d")=="2I")){1l=J;1o=H}if(v.1p.h7==1&&!o.1t){if(o.4A&&v.1p.ER==1&&!o.1i.2f){}F{1l=H;1o=J;bJ=J}}if(v.1p.TD==1&&!o.7P&&o.1t){1l=J;1o=H}}F{if(S.s("1l")!=1){1o=H}}if(1o&&!o.iI){O(o.1R,{"6P":"7b"});o.iI=H}B a=S.g("1d");if(a=="3F"&&S.s("1r").K("Q")==-1){1l=J;1o=H}if(o.5e){if(a=="2I"){if(o.P.1m()==-1){1l=H;1o=J}}}B yM=J;B hp=gZ(S);if(S.s("1l")==1){if(S.s("Hs")==1){if(bJ||bC||(o.1t&&!o.4A)){!bJ&&!bC?\'\':hp=H}}if(S.s("TF")==1){if(!bJ&&!bC){hp=H}}if(S.s("TG")==1){if(o.1t&&!o.4A){hp=H}}if(S.s("Fl")==1||S.s("F9")==1||S.s("GN")==1){nS=H}}if(hp){1l=H;1o=J}F{!1l?1o=H:\'\'}if(S.s("1d")=="1I"){if(S.s("1l")==1&&S.s("iA")==1&&!S.g("fO")){1l=H;1o=J;if(!bJ&&(o.9i||o.eD)&&!bC&&S.s("dF")!=1){1l=J;1o=H}F{yM=H}}}if(o.a0||(!o.1v&&v.1p.1l==1&&v.1p.nr==1)||(!o.7P&&v.1p.1l==1&&v.1p.Iq==1)||(!o.1Z&&v.1p.1l==1&&v.1p.TH==1)){if(S.s("1r").K("Q")>-1||S.s("1r").K("2O")>-1){1l=H;1o=J}if(v.1p.dv==1&&!o.1Z){1l=J;1o=H}}if(1g){if(1g.g("1o")&&v.1g.6U!=1){bJ=J;bC=J}}if(W&&o.2P){if(v.W.TI==1){if(o.2P.yT()){I}}}
29if(a=="2W"){if(L(o.2W)){if(o.2W.4S()){1l=H;1o=J;S.1S("5S","1W")}}}if(a=="W"||a=="5t"||a=="cl"||S.s("Fy")==1){if(W){if(W.4S()&&S.s("Fy")!=0){1l=H;1o=J;S.1S("5S","1W")}}F{1l=H;1o=J}}if(o.TJ==1){1l=H;1o=J}if(yM){B cc=yr(S);if(cc){cc.y>0?S.1S("y0",cc.y):\'\';O(S.c(),{"1r":"2E","1c":S.g("y0")})}}if(1l){8o(S,(yA?H:J))}if(1o){I7(S)}if(S==bg){if(!1l&&1o){hg();6E(7t);aI?aI.1S("1B",aI.s("a")):\'\';7J=J;hX==0?js("ui",1):\'\';hX=1;o.6p&&o.9P?o.6p.1o():\'\'}if(1l&&!1o&&!o.5e){o.P.yV();aS();3h(7t);aI?aI.1S("1B",0):\'\';7J=H;hX==1?js("ui",0):\'\';hX=0;o.6p&&o.9P?o.6p.1l():\'\'}if(1g){if(1g.tb()){if(!1g.g("1o")){1o&&!1l?1g.1o():\'\'}F{!1o&&1l?1g.1l(2):\'\'}}}if(W){if(v.W.6U==1&&!W.4S()){if(1o||o.a0){if(v.W.Ft==1&&o.1Z){}F{if(!W.g("1o")){if(v.W.Fs==1){!o.1t&&!o.dJ?W.1o():\'\'}F{W.1o()}}}}F{if(1l&&W.g("1o")){W.1l()}}}}}};E gZ(S){B x=J;B a=S.g("1d");if(S.s("1l")==1){if(S.s("xE")==1){o.1t||o.dJ?x=H:\'\'}if(S.s("h7")==1){!o.1t&&!o.dJ?x=H:\'\'}if(S.s("TK")==1){o.7v?x=H:\'\'}if(S.s("fJ")==1){x=H}F{if(S.s("TL")==1){if(o.1i.fG){S.1S("fJ",1);x=H}}if(S.s("TM")==1){if(o.1i.2f){S.1S("fJ",1);x=H}}}if(S.s("F9")==1){if(o.3a>S.s("Fn")){S.1S("dF",1);x=H}F{S.1S("dF",0)}}if(S.s("TN")==1&&!8a){x=H;o.lM=1}if(S.s("TE")==1&&!o.9b){x=H}if(S.s("TO")==1&&o.9b){x=H}if(S.s("TQ")==1&&8a){x=H;o.lM=1}if(S.s("Fl")==1){if(o.3a<=S.s("Fk")){S.1S("dF",1);x=H}F{S.1S("dF",0)}}if(S.s("TR")==1){o.1v?x=H:\'\'}B t=o.P.18();B d=o.P.1m();if(S.s("Hx")==1&&S.s("Fj")>0){if(t>=S.s("Fj")){x=H}}if(S.s("Hw")==1&&S.s("Fi")>0){if(t<S.s("Fi")){x=H}}if(S.s("Hv")==1&&S.s("Fh")>0){if(t<d-S.s("Fh")||d==0){x=H}}if(S.s("TS")==1){if(W){if(!W.cz()){x=H}}}if(S.s("TT")==1){if(o.1v||!o.3q||o.P.5T()){if(S.s("nr")!=1){x=H}}if(o.3q){if(o.3q.b8().t==0){x=H}}}if(S.s("nr")==1){!o.1v?x=H:\'\'}if(S.s("qn")>0){x=H}if(S.s("Fg")==1){if(L(S.s("nj"))){2w[S.s("nj")]?x=H:\'\'}}if(S.s("TU")==1){if(!L(S.s("9w"))){x=H}}if(S.s("Fd")==1){if(L(S.s("nq"))){!2w[S.s("nq")]?x=H:\'\'}}if(S.s("TW")==1&&o.1i.4l){!o.1v||o.np?x=H:\'\'}if(S.s("TX")==1){!o.P.7v()?x=H:\'\'}if(S.s("TY")==1){!o.P.5T()?x=H:\'\'}if(S.s("TZ")==1){!o.4A?x=H:\'\'}if(S.s("TP")==1){!o.1Z?x=H:\'\'}if(S.s("GN")==1){o.1Z?x=H:\'\'}if(S.s("TC")==1){!o.3m?x=H:\'\'}if(S.s("Tr")==1){o.P.5T()&&o.P.bZ().K("?qN")==-1?x=H:\'\'}if(S.s("Ic")==1){5O(o.2a)?x=H:\'\'}if(S.s("Iq")==1){!o.7P?x=H:\'\'}if(S.s("TB")==1){o.7P?x=H:\'\'}if(S.s("Th")==1){o.nB?x=H:\'\'}if(S.s("Ti")==1){!o.nB?x=H:\'\'}if(S.s("H6")==1){if(S.g("hH")){x=H}}if(S.s("Tj")==1){!o.ab?x=H:\'\'}if(S.s("Tk")==1){o.ab?x=H:\'\'}if(S.s("Tl")==1){if(v.4G==1&&v.eo==1){if(o.2o=="4U"&&!L(v.2a)&&v.wq==0){if(!o.1v||o.P.6X()=="7v"){if(v.2a==\'\'){}F{x=H}}}}}}if(a=="3F"){B lu=S.s("3c");if(lu){if(lu=="2U:5j"||lu=="5j"){if(!o.5j&&!o.ic&&!o.Tn){x=H}}if(lu=="2U:91"){if(!o.91||(!o.1v&&v.4G==0)){x=H}}if(lu=="2U:If"){if(!o.nB){x=H}}if(lu.K("6g")>-1){if(!o.6g){x=H}}if(7w([lu],"7e")&&!7w([lu],"js:")&&S.s("fJ")!=1){B sk=J;if(L(v.7e)){if(!o.d0){1G Ie==\'E\'?o.d0=1z Ie():\'\'}if(o.d0){sk=o.d0.wx(S)}}!sk?x=H:\'\'}}}if(a=="W"||a=="5t"||a=="cl"){if(W){if(W.4S()){x=H}}F{x=H}}if(a=="1g"){if(1g){if(1g.4S()){x=H;o.2o!=\'1D\'?S.1S("5S","1W"):\'\'}}F{x=H}}if(S.g("1H")=="1C"){if(S.g("R")==0){x=H}}if(S.g("1g#")){if(!S.g("1S#4r")){x=H}}if(S.s("3K")==1){B cb=1Q.8e("To"+v.id);if((o.P.1m()==0&&o.P.18()==0)||!o.4o||!5O(cb)||!o.Tp){x=H}}if(S.s("wc")==1){!x?S.1S("wc",1):\'\'}if(a=="1m"){if(o.P.5T()&&S.s("Tg")!=1){x=H}}if(S.g("1a")=="xV"&&o.1i.2f){if(o.a0&&o.1i.cE){x=H}}I x}E 8o(S,wH){if(S.g("1o")){if(o.aD||S.s("5S")=="1W"||wH){S.1S("2k",J)}F{I6(S)}S.1S("1o",J)}};E I7(S){if(!S.g("1o")){if(S.s("5S")=="1W"||o.aD){S.1S("2k",H);if(o.aD){S.1S("1B",1)}if(S.g("1d")=="1I"){if(o.ix){wy(S)}}}F{I4(S)}if(S.s("1d")=="1I"){o.Q.3T(o.3m?0:v.1I)}if(S.s("1d")=="2I"){o.V.wz()}S.1S("1o",H)}};E I6(S){wB(S.g("1a"));B 5D="gd|";B 5n="0|";B 1l=1;B a=S.s("5S");if(S.s("I3")==1){5D=\'\';5n=\'\'}B p=S.s("1r");B iT=S.g("3p");2g(S.s("nM"))?p=S.s("nM"):\'\';gF(p,[\'2O\'])&&o.bP?p="":\'\';if(a=="1M"){5D+="1M|";5n+="0|"}if(a=="1r"){if(p.K("2u")>-1&&p.K("Q")==-1){5D+="x|";5n+=5g(o.3a+S.g("Z")/2*iT)+"|"}if(p.K("1b")>-1){5D+="x|";5n+=5g(-S.g("Z")/2)*iT+"|"}if(p.K("1c")>-1){5D+="y|";5n+=(-S.g("1f")/2)*iT+"|"}if(gF(p,["2O","Q","9c"])){5D+="y|";
29if(S.g("1d")=="2I"||S.g("1d")=="1I"){5n+=5g(o.4B+S.s("h")+(S.s("h")<20?20-S.s("h"):0))+"|"}F{5n+=5g(o.4B+S.g("1f")/2)+"|"}}if(p=="8h"){5D+="1M|";5n+="0|"}}B m=1z 5L({"mc":S,"me":S.g("1a"),"1H":5D.1j(0,5D.R-1),"to":5n.1j(0,5n.R-1),"1l":1l})};E I4(S){wB(S.g("1a"));B 5D="";B 5n="";B a=S.s("5S");B p=S.s("1r");2g(S.s("nM"))?p=S.s("nM"):\'\';if(S.g("1B")!=1&&S.s("I3")!=1){5D="gd|";5n=(S.g("1a")==\'bg\'?v.1p.a:"1")+"|"}if(a=="1M"){if(S.g("3p")!=S.s("1M")){5D+="1M|";5n+=S.s("1M")+"|"}}if(a=="1r"){if(p=="8h"){if(S.g("3p")!=S.s("1M")){5D+="1M|";5n+=S.s("1M")+"|"}}F{if(p.K("Q")>-1||p=="2O"){if(S.g("y")!=S.g("y0")){5D+="y|";5n+=S.g("y0")+"|"}}F{5D+="x|y|";5n+=S.g("x0")+"|"+S.g("y0")+"|"}}}if(5D!=""&&5n!=""){B m=1z 5L({mc:S,me:S.g("1a"),1H:5D.1j(0,5D.R-1),to:5n.1j(0,5n.R-1),1o:1})}F{S.1S("2k",H)}};G.kt=E(1a,1H,wH){B 4N=J;B 2G=J;B S=b[1a];B 1d=S.g("1d");B 3c=S.s("3c");if(1H=="6u"){if(o.ix){if(1d=="1I"||1d=="59"||1d=="96"){if(!S.g("fO")){o.9i=H;o.eD=H;4N=H;4k();if(v.gy.HX==1){B bl=7c("1d","2I");if(bl){3h(bl.c())}}}}}if(1g&&v.1g.gn==1&&((1d=="1g"||3c.K("Ir")==0)||3c.K("1g:")==0)){2F(o.gv);if(!1g.g("1o")||nJ!=S){4X(S,1H);o.gJ=1d+3c;1y(E(){o.gJ=26},47)}}if(W&&v.W.gn==1&&1d=="W"){2F(o.wN);if(!W.g("1o")||nJ!=S){4X(S,1H);o.gJ=1d;1y(E(){o.gJ=26},47)}}}if(1H=="5p"){if(o.ix){if(1d=="1I"||1d=="59"||1d=="96"){o.9i=J;o.eD=H;1y(E(){if(!o.9i){o.eD=J;U(B x in b){if(b.2v(x)){if(!7J){if(b[x].g("1d")=="1I"&&!b[x].g("fO")){8o(b[x]);2A()}}if(b[x].g("1d")=="2I"){if(v.gy.HX==1){6E(b[x].c())}}}}}},47)}}if(1d=="2I"){o.V.6D(1)}if(v.1g.gn==1&&((1d=="1g"||3c.K("Ir")==0)||3c.K("1g:")==0)){2F(o.gv);o.gv=1y(E(){if(!o.3D){aS(1)}},(v.1g.gH>0?v.1g.gH*2i:2i))}if(W&&v.W.gn==1&&1d=="W"){2F(o.wN);o.wN=1y(E(){if(!o.3D){W.g("1o")?W.1l(1):\'\'}},(v.W.gH>0?v.W.gH*2i:2i))}}if(4N){1y(2A,10)}};G.oH=E(){if(o.5q&&!o.1Z&&!o.aD){o.V.5q(J);o.5q=J}if(o.2a){if(v.nF>-1&&5O(o.2a)){O(o.2a,{1B:v.ox})}}if(o.1t&&v.IN==1&&v.Tq!=0){o.V.3d()}if(v.1p.7X>0){2F(o.IK);o.IK=1y(4k,v.1p.7X*2i)}F{4k()}};G.E0=E(){if(o.2a){if(v.nF>-1&&5O(o.2a)){O(o.2a,{1B:v.nF})}}if(!o.1t&&v.IN==1){o.V.2z()}4k();gS(J)};G.fI=E(b3,b0){B y;U(B x in b){if(b.2v(x)){y=b[x].g("1d");if(y=="2I"||y=="1I"){b[x].fI(b3,b0)}}}};G.pu=E(){if(v.1p.1l==1){if(v.1p.dv==1&&!o.1Z){I}if((!o.4A||o.1i.2f)&&o.P.6X()=="7T"){o.4A=H;4k();o.1i.2f?1y(E(){o.4A=J},47):\'\'}if(v.1p.hC==1){jv();go()}gS(J)}};G.fo=E(b3,b0){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="2I"||b[x].g("1d")=="1I"){b[x].fo(b3,b0)}}}};G.i1=E(18,1m,IQ){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="2I"){b[x].6D(18,1m,IQ)}if(b[x].g("1d")=="18"){lN(b[x],18,1m)}if(b[x].s("HM")==1){b[x].vM()}if(b[x].s("HO")==1){b[x].IP(18,1m)}if(b[x].s("Ht")==1){if(b[x].s("3c")=="Hu"||b[x].s("3c")=="9V"){1G IR==\'E\'?IR(b[x]):\'\'}if(b[x].s("Hr")==1&&!b[x].g("1o")&&7J){}F{if(b[x].g("1o")==gZ(b[x])){4k();2A()}}}}}};E gS(x){if(v.1p.1l==1){x?aS():\'\';if(o.bP){if(!o.1t&&v.1p.h7==1){x=H}if(x&&!o.wT){O(o.1p,{"1c":bg.h()})}if(!x&&o.wT){O(o.1p,{"1c":0})}o.wT=x}}}E hg(){7J=J;o.P.hg();if(o.xL){o.xL=J;2A();1y(2A,dx)}}E lN(x,18,1m){if(v.4p>0){18-=v.4p*1;1m-=v.4p*1}B y=46(18);if(x.s("HE")=="1"){y=46(1m-18)}if(x.s("Ts")=="1"){if(x.s("Tt")=="1"){y=y+(1m>0?\' \'+2K(x.s("Tu"))+\' \'+46(1m):\'\')}F{18==0?y=46(1m):\'\'}}x.6k(y)}G.wj=E(18,1m){B x=7c("1d","2I");if(x){x.FP(18,1m)}};G.jk=E(y){if(o.P.1m()>0){B x=7c("1d","2I");if(x){x.jk(y)}}};G.9v=E(){if(!8a){if(v.g6==1){2F(lb);lb=1y(9v,47)}F{9v()}}};E 9v(){if(!8a){js("Tv");8a=H;B x=7c("1d","ay");if(x){x.Is();if(v.II==1&&o.1t){2F(o.IW);o.IW=1y(IY,(v.IX>0?v.IX:1)*2i)}}o.lM?4k():\'\'}}E IY(){if(o.1t&&8a){o.V.7z()}}G.IT=E(y){U(B x in b){if(x==y){b[x].1S("3h")}}};G.8d=E(){2F(lb);if(8a){js("8j");B x=7c("1d","ay");if(x){x.iy();if(v.II==1&&o.1t){o.V.gr()}}8a=J;o.lM?4k():\'\'}};G.hY=E(){B x=7c("3c","1I 9n");if(x){x.1S("6E");x.6k(2K(\'1I\')+\' \'+(o.3m?0:2H.pA(v.1I*100))+\'%\');2F(o.hY);o.hY=1y(IG,2i)}};E IG(){B x=7c("3c","1I 9n");if(x){x.6k(\'\');x.1S("3h");2F(o.hY)}}G.3S=E(18,1m){if(v.4p>0){18-=v.4p*1;1m-=v.4p*1}U(B x in b){if(b.2v(x)){if(b[x].s("on")==1){if(b[x].g("1d")=="2I"){1m>0?b[x].1S("2p",18/1m):\'\';b[x].FN()}if(b[x].g("1d")=="18"){lN(b[x],18,1m)}if(b[x].g("1d")=="5b"){b[x].1S("pc",0.5);b[x].1S("ds",0)}}}}};G.3V=E(18,1m){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="1m"){if(v.4p>0){1m-=v.4p*1}b[x].6k(46(1m))}if(b[x].g("1d")=="2I"){b[x].6D(18,1m);b[x].GE(1m)}if(b[x].g("1d")=="18"){lN(b[x],18,1m)}}}};G.8b=E(){if(!o.4E){1g.g("1o")?1g.1l():1g.1o()}};G.bu=E(){if(1g){if(o.4E){I o.4E.5O()||1g.g("1o")}F{I 1g.g("1o")?H:J}}F{I J}};
29G.lP=E(x){if(1g){1g.5A(x)}};G.aS=E(){aS()};G.Tw=E(x){if(1g){1g.IE(x)}};G.El=E(){if(1g){1g.i6()}};G.Cm=E(x){if(1g){I 1g.IC(x)}};E aS(x){if(1g){1g.g("1o")?1g.1l(x):\'\'}o.4E?o.4E.1l():\'\'};G.cI=E(){if(W){if(W.g("1o")){W.1l(1)}F{W.1o()}}};G.ik=E(x){if(W){if(W.g("1o")&&x!=1){x!=2?W.1l():\'\'}F{1y(E(){W.1o()},100)}}};G.eO=E(){if(W){I W.g("1o")?H:J}F{I J}};G.Iz=E(x){if(W){W.g("1o")?W.1l(x):\'\'}};G.cJ=E(x){I W?W.g(x):\'\'};G.6l=E(x){if(W){W.w0(x)}};G.Iy=E(x){if(W){W.Ix(x)}};G.au=E(){if(W){W.au()}};G.lj=E(){if(W){W.lj()}};G.i8=E(){i8()};E i8(){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="5t"){O(b[x].c(),{"1B":(!W.cz()?0.5:1)})}if(b[x].g("1d")=="cl"){O(b[x].c(),{"1B":(!W.f0()?0.5:1)})}}}}G.cz=E(){if(W){I W.cz()}F{I J}};G.f0=E(){if(W){I W.f0()}F{I J}};G.fg=E(){if(W){I W.fg()}F{I J}};G.lr=E(){if(W){W.lr()}};G.di=E(){if(W){W.di()}};G.HU=E(x){if(x&&W){W.d3(x)}};G.Hm=E(x){if(x&&W){W.lw(x)}};G.Hj=E(x){if(x&&W){O(W.co(),{"Tx":"1W","2S-2u":W.s("6V")});1Q.8e(x).1V(W.co());3h(W.c())}};G.Ty=E(){};G.wb=E(x){if(1g){1g.5P();1g.g("1o")?1y(E(){1g.1l()},4y):\'\'}};G.hE=E(){if(1g){1g.5P()}if(o.4E){o.4E.dL()}};G.hF=E(x){if(1g){1g.fr()}2A();4k()};G.hM=E(x){if(1g){1g.kS(x);1g.g("1o")?1g.1l():\'\'}if(o.4E){o.4E.dL()}x=="4T"?wg():\'\'};E wg(){if(o.ih){B x=3X(o.hn/o.5R.4M(-1)[0],1).v6(2);U(B i in b){if(b.2v(i)){if(b[i].s("7E")=="4T"&&o.hn){b[i].6D(x,1)}if(b[i].s("3c")=="2U:4T,1.0"){b[i].wF(x)}}}}}G.lC=E(x){if(1g){1g.kS("7A")}if(o.4E){o.4E.dL()}};G.aM=E(){if(1g){1g.8Z();1g.g("1o")?1y(E(){1g.1l()},4y):\'\'}if(o.4E){o.4E.dL()}if(o.5e&&o.4o){o.3K.aa()}};G.xD=E(){o.4E?o.4E.1l():\'\';if(1g){1g.xD()}};G.kf=E(lx,2k,7N){U(B x in b){if(b.2v(x)){if(b[x].g("1d")=="1g"){if(b[x].s("gI")==1){b[x].HZ()}}if(b[x].g("Hh")=="1g#"+lx){b[x].1S("1S#4r",2k);if(b[x].g("1H")=="1C"){if(7N){b[x].6k(xG(7N))}}F{if(v.1g[\'1g\'+lx+\'1d\']=="1X"){if(7N==2K("6v")){b[x].cG(0)}F{b[x].cG(1)}}2A()}ch(b[x])}}}};G.Hd=E(){if(1g){1g.5P();1g.kS("7A");1g.kS("6M")}};G.kc=E(){B x=7c("1d","2I");if(x){x.kc()}};G.4N=E(){2A();if(7J){o.xL=H}};G.w1=E(x){if(!7J||x==1){2A();4k()}F{v.1p.xM=H}};G.xN=E(){B b=7c("1H","O");if(b){b.I0()}};G.4C=E(){4k();2A();4k();if(o.a0){3h(7t)}F{!7J?6E(7t):\'\'}};G.CB=E(1e){if(1A.eC==v.id&&v.1N.on==1){B x=1e.GZ;B y=J;if(x==1E){x=1e.GY}if(L(o.1U)||L(o.8c)||o.xp==1){I J}if(o.1t&&v.1N.kF==1){y=H}if(((v.1N.9x==1&&x==32)||(v.1N.Tz==1&&x==13)||(v.1N.k==1&&x==75))&&(o.5Q||o.4A||y)){if(v.1N.2M==1){7r(\'1t\',o.1t?0:1)}o.V.dE();1e.8K();I J}!v.1N.lS?v.1N.lS=0.2:\'\';!v.1N.1M?v.1N.1M=5:\'\';if(v.1N.H9==1&&(o.5Q||y)){if(o.P.1m()>0){U(B i=48;i<58;i++){if(x==i){o.V.3S((o.P.1m()*(x-48)*10)/100,H)}}}}if((x==39||(v.1N.l==1&&x==76))&&(o.5Q||y)){lD(v.1N.xX)}if((x==37||(v.1N.j==1&&x==74))&&(o.5Q||y)){lV(v.1N.xX)}if(x==38&&(o.5Q||y)){lD(v.1N.xY)}if(x==40&&(o.5Q||y)){lV(v.1N.xY)}if(x==TA&&(o.5Q||y)){lD(v.1N.H2)}if(x==Vz&&(o.5Q||y)){lV(v.1N.H2)}}};E 7c(y,z){U(B x in b){if(b.2v(x)){if(b[x].s(y)==z){I b[x]}}}}E lD(x){if(x=="5t"){if(o.W){o.Q.au()}F{x="3B"}}if(x=="3B"){if(o.P.1m()>0){B sk=o.P.18()+3X(v.1N.3B);if(sk<o.P.1m()){o.V.3S(sk,H);js("lT",sk)}}}if(x=="1I"){o.V.3T(3X(v.1I)+3X(v.1N.lS));1e.8K()}if(x=="1M"){o.P.1M(v.1N.1M/100);1e.8K()}if(v.1N.2M==1){7r(x,1)}}E lV(x){if(x=="5t"){if(o.W){o.Q.di()}F{x="3B"}}if(x=="3B"){if(o.P.1m()>0&&o.1v){B sk=o.P.18()-v.1N.3B>=0?o.P.18()-v.1N.3B:0;o.V.3S(sk,H);js("lT",sk)}}if(x=="1I"){o.V.3T(3X(v.1I)-3X(v.1N.lS));1e.8K()}if(x=="1M"){o.P.1M(-v.1N.1M/100);1e.8K()}if(v.1N.2M==1){7r(x,0)}};G.D4=E(1e){if(1A.eC==v.id){B x=1e.GZ;if(x==1E){x=1e.GY}if(x==57){if(v.1n==1){}}if(o.1Z&&x==27){o.V.8H()}if(L(o.1U)||L(o.8c)){I J}if(v.1N.on==1){if(v.1N.f==1&&x==70&&v.g6!=1&&(o.5Q||o.4A)){if(v.1N.2M==1){7r(\'1Z\',o.1Z?0:1)}o.1Z?o.V.8H():o.V.9a()}if(v.1N.s==1&&x==83&&(o.5Q||o.4A)){if(o.3w){if(v.1N.2M==1){7r(\'1X\',o.51?0:1)}3r("GX")}}if(v.1N.m==1&&x==77&&(o.5Q||o.4A)){if(v.1N.2M==1){7r(\'59\',o.3m?1:0)}o.3m?o.V.6j():o.V.56()}}}};G.4g=E(){3I(o.jY);U(B x in o){if(x.K("Y")==0&&x.K("AL")>-1){3I(o[x])}}U(B i=0;i<gW.R;i++){B 1a=gW[i];if(b[1a]){b[1a].4g()}}if(1g){1g.4g()}if(W){W.4g()}bg.4g();aI?aI.4g():\'\';if(7t.3Z==o.1R){o.1R.3j(7t)}F{o.1p?o.1p.3j(7t):\'\'}};G.jv=E(){jv()};G.gp=E(){gp();4k()};G.go=E(){go()};G.py=E(){I 7J}};B GS=E(1a){B i;B C=[];B w;B h;B vP=0;B bg;B q8;B 9e;B q4=0;B 4r=H;B H0=J;B 3p=1;B 3t=1;B 2t;B hi;B 2J;B 8l;B 1d;B 9R=\'\';B x0;B y0;B on;B 6u=J;B ca=J;B jj=0;B U2;B VA=0;B fX=0;B Hq=0;B fE=0;B pd=J;B IA=J;B hH=J;B 3f=J;B iu;B gI;B p8;B w6=J;C=8W(C,h3.S);C=8W(C,v[1a]);B V=[C.1d];1d=V[0];L(C.GR)?V[1]=C.GR:\'\';L(C.GQ)?V[1]=C.GQ:\'\';L(C.1O)?C.1C=C.1O:\'\';if(2g(C.Hk)){o.al?C.1M=C.Hk:\'\'}if(1d=="2W"){o.eS=H}if(L(C.3c)){if(C.1H=="1C"&&C.3c!=\'\'){if(L(v[C.3c+\'1C\'])){C.1C=v[C.3c+\'1C\']}}if(C.3c.K("1g#")==0){9R=C.3c;if(C.2J==\'\'&&9R.K(",")==-1){C.2J=2K(v.1g[\'1g\'+9R.1j(9)+\'1d\'])}}if(C.3c.K("6g")>-1){v.Hl=H}if(C.3c.K("2W:")>-1){o.eS=H}if(C.3c=="X8"){C.Xx=1z Xy(C)}}B 7x=C.2J?C.2J.2q("///"):[];if(C.HS==1){C.1H="1C";C.1C=hr(0)+(V.R>1?\'///\'+hr(1):\'\');if(2g(C.aw)){C.1u=C.aw}}C.it=[];C.il=[];B x7=0;B 2M=1z ao();B 1q=1z ao();B do=1z ao();B Xz=1z ao();B hm=0;B bq;if(C.1H=="1C"){if(C.4L){if(L(v[C.4L+\'1C\'])){C.1C=v[C.4L+\'1C\']}}if(L(C.1C)){2M[0]=4D(C.1C);C.oR=C.1C.R;B xB=[\'/\',\'|\',\'-\'];xB.K(C.1C.1j(-1))>-1?C.vT=C.1C.1j(-1):\'\';xB.K(C.1C.1j(0,1))>
29-1?C.vU=C.1C.1j(0,1):\'\';if(1d=="18"||1d=="1m"){if(C.1C.K(\'0:\')==0){C.oI=H}if(C.1C.2q(":").R==3){C.ID=H}F{if(C.1C.K(\'cK:cK\')>-1){C.IF=H}}if(C.lI==1){v.lI=1}}if(C.HE==1&&C.1C.K("-")==0){C.IH=H}if(C.1C.K("///")>0&&(1d=="3F"||C.HS==1)){C.fM=C.1C.2q("///");C.1C=2M[0]=C.fM[0]}}if(v.wY==1){1y(9s,100);1y(9s,47);1y(9s,2i)}}F{if(L(C.1q)){2M[0]=C.1q;if(2M[0].K("///")>0&&2M[0].K("jy")==-1){2M=C.1q.2q("///")}if(L(C.oW)){2M[1]=C.oW}if(C.IZ==1){if(2g(C.HR)){2M.2N(C.HR);hm=2M.R-1}}}}if(1d=="3F"){if(C.XA==1&&L(C.ju)){C.xS=C.3c}}B Y=22("28");B sp=C.1r;if(sp.K(\'9c\')>-1){o.9c?o.9c.1V(Y):1y(E(){o.9c.1V(Y)},100);o.HQ=H}F{if(o.bP&&((gF(sp,["2O"])&&C.XB!=1)||(gF(sp,["Y"])))){o.1p.1V(Y)}F{o.1R.1V(Y)}if(1d=="ay"&&C.XC==1){Y.C.4W=lf}}if(C.HO==1){C.hA=1z XD(C,Y)}B q8=22("28");Y.1V(q8);B da=22("28");O(da,{"1r":"2E","1b":0,"1c":0});Y.1V(da);O(Y,{"1r":"2E","1b":0,"1c":0,"1B":1,"e7":"qd","oA":"jx"});if(2g(C.4L)){3W(Y,{"id":(v.id+"4a"+"c9"+C.4L)})}if(C.HM==1||C.H1==1){O(da,{"5l":"2Z 0.2s 3e"})}if(2M.R>0){U(i=0;i<2M.R;i++){1q[i]=22("28");O(1q[i],{"1r":"2E","1c":0,"1b":0,"9T":"1W","1B":C.a,"5l":"1B 0.1s 3e"});if(C.fc>C.1M){O(1q[i],{"5l":"1B 0.1s 3e,2Z 0.1s 3e"})}if(C.1H=="gX"&&C.3v!=\'\'){if(2g(C.4L)){3W(1q[i],{"id":(v.id+"4a"+"Y"+"4a"+C.4L+"4a"+"1q")});if(v[C.4L+\'3v\']){C.3v=v[C.4L+\'3v\']}}if(gF(C.3v,[".vb",".jD",".XE","jy",".gD"])){C.3v.K("//")==-1&&C.3v.K("jy")==-1?C.3v=\'//\'+C.3v:\'\';B z=22("4u");C.9d=1;z.1w("dc",xK);z.3v=C.3v;1q[i].1V(z);C.w=1q[i].2c;C.h=1q[i].2V;if(C.HJ>0){O(z,{1f:C.HJ})}}}if(C.1H=="1C"){O(1q[i],{"1u":(C.1u),"e7":C.gw*2m(v.8r,1),"uG":gx(C.42),"kT-fK":C.jV+\'px\',"2S":"0 c8 0 c8","bo-9x":"dZ"});if(o.al){if(2g(C.HG)){O(1q[i],{"e7":C.HG*2m(v.8r,1),})}}if(C.2p==1){if(C.1C.K("<a ")>-1||1a=="bF"){O(1q[i],{"9T":"2B"})}}if(C.HF==1){O(1q[i],{"42-df":"HF"})}if(C.la>0){O(1q[i],{"42-df":C.la})}if(C.HC){O(1q[i],{"oA":C.HC+"em"})}2M[i]==\'5b\'?2M[i]=2K("5b"):\'\';1q[i].1T=wG(2M[i]);1y(vS,100);C.w=1q[i].2c;C.h=1q[i].2V;if(2g(C.4L)){3W(1q[i],{"id":(v.id+"pI"+C.4L+"XF")})}}if(C.1H=="O"){o.1v?1y(wJ,4y):\'\'}B 9k=2M[i].6a();if(9k.K(\'B:\')==0){9k=2m(1A[9k.1j(4)],\'\')}B l6=9k.K(\'<2y\')>-1||9k.K(\'<Xw\')>-1;if(C.1H=="2y"&&(9k.K(\'<g>\')>-1||l6)){if(1d=="59"||1d=="3F"){9k=9k.1P(/gi/g,\'gi\'+v.id+1a)}if(9k.K(\'4H\')>-1){cH(1q[i])}1q[i].1T=(!l6?"<2y Z=\'20\' 1f=\'20\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\'>":\'\')+9k+(!l6?"</2y>":\'\');1q[i].2c>20?C.w=1q[i].2c:\'\';1q[i].2V>20?C.h=1q[i].2V:\'\';O(1q[i],{"Z":C.w,"1f":C.h});if(C.aw!=-1){oQ(1q,C.aw)}if(2g(C.4L)){3W(1q[i],{"id":(v.id+"pI"+C.4L+"XG"+i)})}}da.1V(1q[i]);i>0?1l(1q[i]):\'\'}bs();p8?xK():\'\';if(C.3c=="3K"){C.3K=1;C.1l=1;o.3K?1q[0].1T=o.3K.p0(C.aw!=-1?C.aw:\'#3H\'):\'\';if(o.1i.2f){1q[0].HA=xd;1q[0].XI=5X;1q[0].xk=xf}F{1q[0].jO=6t;1q[0].jM=5X;1q[0].jl=db}}F{if((bg.2c*C.1M<35||bg.2V*C.1M<35)&&C.1H!=\'1C\'){xJ();cH(9e)}F{cH(bg)}}if(1d=="3F"){B lu=\'\';if(C.h0==1&&L(C.3c)){lu=C.3c;if(lu.K("2U:")==0){if(lu==\'2U:1t\'&&C.ju==\'2U:3G\'){C.pp=1}B 1J=lu.1j(4).2q(",");if(1J.R==2){B xn=1J[1].2q("/");if(xn.R==2){1J[0]==\'hd\'?1J[0]="4x":\'\';if(v[1J[0]]==xn[1]){C.a=1;O(1q[0],{"1B":C.a})}}}}if(lu=="Hy"||lu=="4w"){o.V.gO();Y.C.4W=lf;o.xp=1}}if((C.1l==1&&(C.Hx==1||C.Hw==1||C.Hv==1))||lu.K("7e")==0||lu=="Hu"||lu=="9V"){C.Ht=1;if(7w([C.1r],"Y")||C.Hs==1){C.Hr=1}}if(lu.K("7e")==0){Y.C.4W=lf}}U(B sf in C){wC(sf)}if(1d=="1g"&&C.gI==1){gI=1z XJ(Y,bg,C)}if(C.2p==0){fj(Y)}if(C.9d==1){1l(bg)}if(C.2t==1){oP()}if(C.1r.K("2u")>-1){fX=1}if(C.1r.K("1c")>-1){Hq=1}if(C.1r.K("2O")>-1){fE=1;1d=="3F"&&2g(C.3c)?Y.C.4W=lf:\'\'}if(C.1r.K("Y")>-1){fE=1}2A();B t=\'\';if(C.b9!=0){t+="po("+C.b9+"yG)"}if(C.XK==1){t+=" 3p(-1)"}if(C.XL==1){t+=" 3t(-1)"}if(t!=\'\'){O(da,{"2Z":t})}if(1d=="ay"){iy()}B 1J=[];B i;if(1d=="W"){1J=[\'bG\',\'JH\',\'oy\',\'Ho\',\'xy\',\'p7\'];U(i=0;i<1J.R;i++){if(L(C[1J[i]])&&!L(v.W[1J[i]])){v.W[1J[i]]=C[1J[i]]}}}if(1d=="1O"){1J=[\'qo\',\'xt\',\'xo\'];U(i=0;i<1J.R;i++){if(L(C[1J[i]])&&!L(2w[1J[i]])){v[1J[i]]=C[1J[i]]}}}C.pa==1?94():\'\';if(1d=="3F"&&C.on==0){3h(Y)}if(C.1l==1&&C.qn>0){1y(Hz,C.qn*2i)}}E Hz(){C.qn=-1;o.Q.4C()}E xJ(){if(9e){9e.3Z.3j(9e)}9e=22("28");O(9e,{"1r":"2E","1c":0,"1b":0,"Z":C.1H=="gX"?bg.2c:(bg.2c>35?bg.2c:35)*C.Hn,"1f":C.1H=="gX"?bg.2V:(bg.2V>35?bg.2V:35)*C.vY});C=4h(C,\'hl\',\'hl\');Y.1V(9e)}
29E cH(x){if(1d.K("18")==0&&V.R==1){C.2p=0}if(1d=="3F"&&C.h0==0){C.2p=0}if(C.2p==1){if(C.hD==1){O(x,{"6P":"4H"})}O(x,{"9T":"2B"});if(o.1i.2f){x.1w("ca",E(e){xf(e)},{5J:J});x.1w("fi",E(e){xd(e)},{5J:J});x.1w("fH",E(e){HH(e)},{5J:J})}x.ha=aX;if(v.1p.hk==1||C.hk==1){O(x,{"2C-1u":"#pD","1B":0.5})}}F{O(x,{"6P":"7b"})}if(!o.1i.2f){x.jO=6t;x.jM=5X}if(C.3f==1||C.2t==1){x.jl=db}}E xf(e){js("XM"+1a);e.aT();ca=H}E xd(e){C.HI==1?6t():\'\';e.aT()}E HH(e){e.aT();e.8K();C.HI==1?5X():\'\';if(!ca){aX(e)}ca=J}E bs(){if(bg){bg.3Z.3j(bg)}bg=22("28");O(bg,{"1r":"2E","1c":0,"1b":0});if(2g(C.4L)){3W(bg,{"id":(v.id+"pI"+C.4L+"XN")})}w=C.w;h=C.h;C.hb=-1;C.aF=-1;C=4h(C,\'2Q\',\'2Q\');C=4h(C,\'9X\',\'9X\');if(C.b6&&o.al){if(C.b6!=\'0 0 0 0\'){C=4h(C,\'9X\',\'b6\')}}if(C.1H=="1C"){w=1q[x7].2c;h=1q[x7].2V;if(C.x6>0){w<C.x6?w=C.x6:\'\'}}C=4h(C,\'fw\',\'fw\');C=4h(C,\'HL\',\'HL\');if(2g(C.4L)&&L(v.3F)&&C.1d=="3F"){if(1G(v.3F)==\'3C\'){U(B i=0;i<7Z.6f(v.3F).R;i++){if(v.3F[i][C.4L]){if(v.3F[i][C.4L]=="6v"){C.on=0}F{B 1J=v.3F[i][C.4L].2q(":");if(1J[0]=="2Q-1b"){if(1J[1].K("%")>0){C.jp=2L(1J[1])}F{C.4F=2L(1J[1])}}}}}}}C.h=h;C.w=w;if(C.bg==1){h=h+C.bw+C.bn;w=w+C.7d+C.6V;C.h=h;C.w=w;if(C.1H=="1C"){C.hN=1q[0].2V}}F{C.5Y=0}O(bg,{"Z":(C.HN==1?HP:w),"1f":h,"vs":(C.q5*h)/2,"5l":"2C .1s 3e, 1B .2s, 2Z .1s 3e"+(2g(C.dI)?\', 6Q .1s 3e\':\'\')});oX(C.5h,C.5Y);if(C.1H=="gX"){O(bg,{"Z":w,"1f":h,"vs":(C.q5*h/C.1M)/2,})}if(C.F4==1){rB(bg,C.5h,C.F5,C.F8)}if(C.pF==1){O(bg,{"2T":2m(C.ET,1)+"px 6N "+C.pE})}if(C.a2==1){O(bg,{\'jC-6Q\':\'a2(aC)\'})}q8.1V(bg);if(C.7t==1){O(1q[0],{\'2C\':5x(2m(C.XO,\'3U\'),2m(C.XP,0.5),1q[0]),\'2T-6B\':2m(C.XQ,0),\'2S\':GT(2m(C.XH,0))})}}E oX(x,y){!2g(x)?x=C.5h:\'\';!2g(y)?y=C.5Y:\'\';O(bg,{"2C":(C.GU==1?"3e-4J("+(C.Xu==1?"to 2u,":\'\')+5x(x,y)+","+5x(C.Xj,y)+")":5x(x,y,bg))})}E 2A(){B hb=(-bg.2V/2);B aF=(-bg.2c/2);if(hb!=C.hb||aF!=C.aF){O(bg,{"1c":(-bg.2V/2),"1b":(-bg.2c/2)});C.hb=hb;C.aF=aF}if(9e){B x=C.1H=="gX"?bg.2c:(bg.2c>35?bg.2c:35);B y=C.1H=="gX"?bg.2V:(bg.2V>35?bg.2V:35);O(9e,{"1c":(-y/2)+C.EY-C.Bm,"1b":(-x/2)+C.Xt-C.Xa})}U(B i=0;i<2M.R;i++){B it=C.1H=="2y"?2H.4t(2L(1q[i].C.1f))/2:2H.4t(1q[i].2V)/2;B il=C.1H=="2y"?2L(1q[i].C.Z)/2:1q[i].2c/2;if(it!=C.it[i]||il!=C.il[i]){O(1q[i],{"1c":-it,"1b":-il});if(bg){O(1q[i],{"1c":(5g(1q[i].C.1c)+C.bw/2-C.bn/2+C.Xb/2+C.Xc/2),"1b":(5g(1q[i].C.1b)+C.7d/2-C.6V/2+C.Xd/2+C.Xe/2)})}C.it[i]=it;C.il[i]=il}}}E 6t(){B i;6u=H;if(C.do==1){if(on&&L(C.oW)){i=1}F{i=0}if(bq&&do.R>2){i=2}if(do[i]){oK();1o(1q[do[i]])}}if(C.bg==1){if(2g(C.ar)||2g(C.8D)){oX(C.ar,C.8D)}if(2g(C.dI)){O(bg,{"6Q":"eX("+C.dI+")"})}}if(C.7o>-1&&!H0){U(i=0;i<2M.R;i++){if(1q[i].C.5C!="3f"){O(1q[i],{"1B":C.7o})}}}if(C.oY!=-1){oQ(1q,C.oY)}if(C.H1==1){jj+=45;iV(1q[0],jj)}if(C.fc>C.1M&&C.fc>-1){1M(C.fc)}if(1d=="1g"&&o.Q.bu()){}F{if(C.2t==1&&C.pa!=1){B x=7x.R>1&&!on?7x[1]:7x[0];if(x){if(x.K(\'B:\')==0){2J.1T=1A[x.1j(4)];94()}}1o(2t);O(2t,{"1B":1})}}if(1d=="59"){o.V.5q(H);o.5q=H}o.dz=H;o.Q.kt(1a,"6u")}E 5X(){6u=J;B i;if(C.do==1){if(on&&L(C.oW)){i=1}F{i=0}if(bq&&do.R>2){i=2}oK();1o(1q[i])}if(C.bg==1){if(2g(C.ar)||2g(C.8D)){oX(C.5h,C.5Y)}if(2g(C.dI)){O(bg,{"6Q":"eX(1)"})}}if(C.7o>-1){U(i=0;i<2M.R;i++){if(1q[i].C.5C!="3f"){O(1q[i],{"1B":C.a})}}}if(C.fc>-1){1M(C.1M)}if(C.oY!=-1){oQ(1q,(C.aw==-1?\'#3H\':C.aw))}if(1d=="59"&&!o.1Z){o.V.5q(J);o.5q=J}xZ();o.dz=J;o.Q?o.Q.kt(1a,"5p"):\'\'}E xZ(){if(C.2t==1&&C.pa!=1){1l(2t);O(2t,{"1B":0})}}E aX(e){e?e.6x=H:\'\';if(!pd){o.Q.eN(1a);if(1d=="3F"){hy()}xZ();if(C.Xf==1){jj-=30;iV(1q[0],jj)}hH=H;if(C.H6==1||(1a=="xV"&&C.1l==1&&C.xE==1)){o.Q.4C()}}};G.H8=E(){aX()};E hy(){if(2M){if(2M.R>1){if(on==H){1o(1q[0]);1l(1q[1])}F{1o(1q[1]);1l(1q[0])}}if(C.2t==1&&7x.R>1){2J.1T=o.ni+(on==H?7x[0]:7x[1])+o.hw;94()}}if(L(C.xS)){if(on==H){C.3c=C.xS}F{C.3c=C.ju}}ho();on=!on;
29if(C.3c){if(C.3c.K(",0/1")>-1){js(C.3c,on?1:0)}}if(C.bg==1&&L(C.xQ)){if(C.xQ!=-1){if(on){C.Hb=C.5h;C.5h=C.xQ}F{C.5h=C.Hb}bs();cH(bg);2A();if(C.1H=="1C"){9s()}F{1M(C.1M)}}}}E ho(){if(L(C.fM)){if(C.fM.R>1){if(on==H){6k(C.fM[0])}F{6k(C.fM[1])}}}}E wP(1e){1e.6x=H;o.Q.eN(1a)}E oK(){U(B i=0;i<2M.R;i++){if(1q[i].C.5C!="3f"){O(1q[i],{"1B":C.a});1l(1q[i])}}}E vS(1C){if(1q[0]){if(1q[0].2c>o.3a-C.4F-C.4O-C.7d-C.6V){if(C.xO==1){if(!1C){1C=1q[0].1T}1q[0].1T=\'<xO>\'+1C+\'</xO>\'}F{O(1q[0],{"bo-9x":"dW"})}O(1q[0],{"Z":o.3a-C.4F-C.4O-C.7d-C.6V})}}}E xK(){if(bg){p8=J;C.9d=0;1l(bg);if(1q[0]){C.w=1q[0].2c*C.1M;C.h=1q[0].2V*C.1M;1M(C.1M)}C.a4=0;bs();xJ();cH(9e);1o(bg);2A();o.Q.4N();if(!5O(Y)){3h(Y)}}F{p8=H}}E Gr(1e){1e.6x=H}E db(){if(!o.1i.2f&&!o.dz){6t()}94()}E 1M(x){if(x>0){O(bg,{"2Z":"1M("+x+")"});U(i=0;i<2M.R;i++){O(1q[i],{"2Z":"1M("+x+")"})}if(C.hA){C.hA.1M(x)}3p=x;3t=x}}E oP(){2t=22("28");O(2t,{\'1r\':\'2E\',\'1b\':0,\'1c\':0,\'1f\':\'2B\',"1B":0,"5l":"1B 0.1s 3e"});hi=22("28");C=4h(C,\'jb\',\'jb\');C=4h(C,\'Hc\',\'Hc\');O(hi,{\'1r\':\'2E\',\'1b\':0,\'1c\':0,\'Z\':\'100%\',\'1f\':30,\'2C-1u\':C.jd,\'1B\':C.jt,\'2T-6B\':C.uW});2J=22("28");O(2J,{\'1r\':\'2E\',\'1b\':C.sA,\'1c\':C.oM,\'1u\':C.uZ,\'42-f1\':gx(C.v1),\'42-3J\':C.v3*2m(v.8r,1),"kT-fK":C.v4+\'px\',"2I-1f":"1"});if(C.2J){if(C.2J.K("B:")==0){C.Hf=H}}if(!C.Hf){O(2J,{\'bo-9x\':\'dZ\'})}if(C.gR==1){8l=22("28");8l.1T=\'<2y Z="aC" 1f="uA" uF="0 0 8 6" 8g="1.1" 4c="3P://4b.w3.43/4d/2y" 4c:4e="3P://4b.w3.43/7Y/4e"><gU id="J2" 4s="1W" 6n="#\'+C.jd.1P("#","")+\'" 6n-KR="KQ" 8k="0 0 8 0 4 6"></gU></2y>\'}if(C.pa==1){O(2t,{"1B":1});cH(2t)}F{fj(2t)}Y.1V(2t);2J.1T=o.ni+(C.2J==\'\'?2K(1d):7x[0])+o.hw;2t.1V(hi);2t.1V(2J);if(C.gR==1){2t.1V(8l);B wU=o.xF?\'-aC\':\'-uA\';B ps=C.Xg;if(!L(ps)){ps=\'\'}B tp=ps.K("1c")>-1;if(tp){iV(8l,\'-Xh\')}O(8l,{\'1r\':\'2E\',\'2u\':(ps.K("2u")>-1?10*C.1M:\'2B\'),\'1b\':(ps.K("1b")>-1?10*C.1M:(ps==\'\'||ps==\'1c\'?\'50%\':\'2B\')),\'2Q-1b\':(ps==\'\'||ps==\'1c\'?\'-zd\':0),\'2O\':(tp?\'2B\':wU),\'1c\':(tp?wU:\'2B\'),\'1B\':C.jt})}94()}E 94(){if(C.2t==1){O(2t,{"1c":(fE==1?-h-2t.2V+3:-2t.2V/2)+C.X9-C.Xi,"1b":(fX==1?-2J.2c:(fE==1?-w/2:+2J.2c))-(fE==1?0:2J.2c/2+5)+C.Xk-C.Xl,"1f":C.oM+2J.2V+C.uY,"Z":C.sA+2J.2c+C.G0});O(hi,{\'1f\':2t.2V});2t.C.4W="2i"}}G.c=E(){I Y};G.s=E(x){if(1d=="3F"){wC(x)}I C[x]};G.ss=E(x,x2){I L(C[x])?C[x][x2]:J};G.g=E(x){bO(x){1k"Z":I w;1h;1k"1f":I h;1h;1k"h":I 2m(C.hN,h);1h;1k"x":I 5g(Y.C.1b);1h;1k"y":I 5g(Y.C.1c);1h;1k"1B":I Y.C.1B?Y.C.1B:1;1h;1k"1o":I 4r;1h;1k"3p":I 3p;1h;1k"3t":I 3t;1h;1k"1d":I 1d;1h;1k"Hh":I 9R;1h;1k"hH":I hH;1h;1k"1H":I C.1H;1h;1k"R":I C.oR?C.oR:0;1h;1k"1a":I 1a;1h;1k"x0":I x0;1h;1k"y0":I y0;1h;1k"6u":I 6u;1h;1k"1g#":I 9R.K("1g#")==0;1h;1k"1g:":I 9R.K("1g:")==0;1h;1k"we":I 1d=="3F"&&C.1H=="1C";1h;1k"1S#4r":I w6;1h;7b:I J}};G.1S=E(k,x){bO(k){1k"1o":6u?5X():\'\';4r=x;1h;1k"2k":It(x);1h;1k"6E":6E(Y);1h;1k"3h":3h(Y);1h;1k"Hi":C.3f=0;1h;1k"wc":if(C.HT>0&&C.3f!=1&&!iu){2F(iu);iu=1y(E(){3h(Y);(C.Xm!=1?C.3f=1:\'\');iu=1E},C.HT*2i)}1h;1k"1M":1M(x);1h;1k"Xn":O(Y,{"2Z":"1M(0)"});1h;1k"3p":O(Y,{"2Z":"3p("+x+")"});3p=x;1h;1k"3t":O(Y,{"2Z":"3t("+x+")"});3t=x;1h;1k"1B":O(Y,{"1B":x});1h;1k"pc":O(1q[0],{"1B":x});1h;1k"ds":O(1q[0],{"6Q":"ds("+x+")"});1h;1k"1b":O(Y,{"1b":x});1h;1k"1c":O(Y,{"1c":x});1h;1k"Z":O(Y,{"Z":x});1h;1k"1f":O(Y,{"1f":x});1h;1k"qx":C.qx=x;1h;1k"fX":fX=x;1h;1k"1S#4r":w6=x;1h;1k"x":O(Y,{"1b":x});1h;1k"y":O(Y,{"1c":x});1h;1k"5S":C.5S=x;1h;1k"7e":C.7e=x;1h;1k"x0":x0=x;1h;1k"y0":y0=x;1h;1k"fJ":C.fJ=x;1h;7b:I J}};E It(x){if(x&&o.1i.2f){pd=H;1y(Iw,dx)}if(!x){if(oJ()&&bq){1l(1q[hm]);1o(1q[0]);bq=J}}if(C.9d==1){x?1o(Y):1l(Y)}F{if(1a=="Xo"||1a=="Xp"){x?1o(Y):1l(Y)}F{O(Y,{"2k":(x?"4w":"1W")})}4r=x;x?1o(Y):\'\'}if(x&&C.p5){C.p5=J;1y(9s,100)}}E Iw(){pd=J}G.6k=E(x,y){if(9R!=\'\'&&(C.1C==\'x\'||C.1C==\'1x\')){x=x+\'x\'}if(y){x=C.1C+x}6k(x);!5O(Y)?C.p5=H:\'\'};B w5;G.i3=E(x){if(w5!=x){C.9w=x;6k(x);!5O(Y)?C.p5=H:\'\';o.Q?o.Q.4N():\'\'}w5=x};G.vM=E(){iV(da,q4);q4+=20};E iV(x,y){O(x,{"2Z":"po("+y+"yG)"+(x==1q[0]&&!IA&&3p!=1?\' 1M(\'+3p+\')\':\'\')})};G.IB=E(x){if(C.1C.K("{1O")>-1){6k(C.1C)}};G.hy=E(){hy()};G.vW=E(x){on=x==0;ho()};E 6k(1C){if(C.1H=="1C"){if(L(1C)){if(C.ID){if(1C.R==4){1C=(C.oI?\'0:0\':\'cK:0\')+1C}if(1C.R==5){1C=(C.oI?\'0:\':\'cK:\')+1C}if(1C.R==7){1C=(C.oI?\'\':\'0\')+1C}}if(C.IF){if(1C.R==4){1C=\'0\'+1C}}C.oR=1C.R}1C=(C.vU?C.vU+(C.IH?\'\':\' \'):\'\')+1C+(C.vT?\' \'+C.vT:\'\');B Iu=1q[0].2c+(C.bg==1?C.bw+C.bn:0);B IJ=1q[0].2V+(C.bg==1?C.bw+C.bn:0);1q[0].1T=o.ni+(1d=="3F"?wG(1C):1C)+o.hw;if(C.Xq==1){1q[0].1T+=\'<7C C="2k:cO-4w;Z:dp"></7C><7C C="2T-1c: c8 6N \'+3x(C.1u)+\';2T-1b: c8 6N eE;2T-2u: c8 6N eE;1r: 2E;2u:c8;1c: 50%;2Q-1c: -4q;"></7C>\'}if(1d=="1O"){O(1q[0],{"Z":"2B","bo-9x":"dZ"});vS(1C)}C.w=1q[0].2c+(C.bg==1?C.6V+C.7d:0);C.h=1q[0].2V+(C.bg==1?C.bw+C.bn:0);if(Iu!=C.w||IJ!=C.h||(C.w>0&&vP==0)){9s()}if(1q[0].2c>0){vP=C.w}F{9R!=\'\'?1l(1q[0]):\'\';if(1C!=\'\'){1y(9s,10)}}}}G.9s=E(){9s()};E oJ(){I!o.P.5T()&&C.IZ==1}E 9s(){if(C.1H=="1C"){if(1q[0]){if(1q[0].2c>0){9R!=\'\'?1o(1q[0]):\'\';w=C.w=1q[0].2c;h=C.h=1q[0].2V;bs();cH(bg);2A();if(o.Q){if(7w([C.1r],"Y")){o.Q.w1()}F{o.Q.4N()}}}}}}G.wF=E(x){if(C.IL==1){B n=4;if(1a=="Xr"){if(o.1i.2f){I}}F{n=8}B y=\'gi\';B z=[];U(B i=1;i<n;i++){z[i]=1Q.8e(y.9O(v.id,1a,\'Xs\',i))}if(z[1]){U(B i=1;i<n;i++){z[i]?1l(z[i]):\'\'}if(n==4){U(B i=1;i<n;i++){x>(i/n)&&z[i]?1o(z[i]):\'\'}}F{U(B i=n;i>0;i--){if(x*1+(1/n)>=(i/n)&&z[i]){1o(z[i]);1h}}}}}};G.On=E(){if(!on){if(2M){if(2M.R>1&&V.R>1){1l(1q[0]);1o(1q[1])}}if(V.R>1){1d=V[1];if(C.2t==1){2J.1T=hr(1);94()}}if(oJ()&&bq){1l(1q[hm]);bq=J}if(C.pp==1){hy(1)}ho();on=H}};E hr(x){I o.ni+(C.2J==\'\'?2K(V[x]):(7x.R>1?7x[x]:7x[0]))+o.hw}G.cG=E(x){cG(x)};G.IP=E(x,y){if(C.hA){C.hA.dL(x,y)}};E cG(x){B y=\'gi\';B z=1Q.8e(y.9O(v.id,1a,\'XR\'));if(z){O(z,{"5l":"2Z 0.1s 6J-5p"});if(x==1){z.C.2Z=\'IO(0, 0)\'}F{z.C.2Z=\'IO(-IM, 0)\'}}F{if(x==1){C.a=1}F{C.a=0.5}}on=x==1;if(C.2t==1&&7x.R>1){2J.1T=(on?7x[0]:7x[1])}O(1q[0],{"1B":C.a})};G.hJ=E(){if(on){if(2M){if(2M.R>1&&V.R>1){1o(1q[0]);1l(1q[1]);O(1q[0],{"1B":C.a})}}1d=V[0];if(V.R>1){if(C.2t==1){2J.1T=hr(0);94()}}ho();on=J;bq=J}};G.wP=E(){if(oJ()){oK();1o(1q[hm]);bq=H}};G.Is=E(){B 2G=J;
29if(C.1l==1){if(C.Ic==1){if(5O(o.2a)){2G=H}}if(C.Xv==1&&!o.1Z){2G=H}if(C.XS==1&&o.1Z){2G=H}}if(!2G){6E(Y);B gG=Y.aP("*");U(B i=gG.R;i--;){O(gG[i],{"5S-1t-6O":"Yi"})}4r=H}};G.iy=E(){iy()};E iy(){3h(Y);B gG=Y.aP("*");U(B i=gG.R;i--;){O(gG[i],{"5S-1t-6O":"8q"})}4r=J}G.4g=E(){if(2M.R>0){U(i=0;i<2M.R;i++){if(1q[i].3Z==Y){Y.3j(1q[i])}1q[i]=26}}if(bg){bg.dC("ha");bg.dC("jO");bg.dC("jM");bg.3Z.3j(bg);bg=26}if(C.1r.K(\'9c\')>-1){if(Y.3Z==o.9c){o.9c.3j(Y)}}F{if(Y.3Z==o.1R){o.1R.3j(Y)}F{if(o.1p){if(Y.3Z==o.1p){o.1p.3j(Y)}}}}if(2t){if(2t.3Z==Y){Y.3j(2t)}}Y=26};G.HZ=E(){gI?gI.iG():\'\'};G.I0=E(){wJ()};E wJ(){I1(2M[0],C.1u,1q[0])}E wG(x){B z=x+\'\';if(x.K(\'{\')>-1){if(x.K(\'{18}\')>-1&&L(o.3q)){x=x.1P(\'{18}\',g1(o.3q.b8().t))}if(x.K(\'{1O\')>-1){B y=o.cT?o.cT:(v.1O?v.1O:\'\');if(x.K(\'{cv}\')>-1&&o.Q){x=x.1P(\'{cv}\',o.Q.cJ(\'cv\'))}if(o.cr&&o.Q){y=o.Q.cJ(\'cr\')}x=x.1P(\'{1O}\',y);if(o.cr&&!o.Q){1y(6k,100,z)}}if(x.K(\'{1C\')>-1){U(B i=1;i<6;i++){if(x.K(\'{1C\'+i+\'}\')>-1){if(L(v[\'1C\'+i])){x=x.1P(\'{1C\'+i+\'}\',v[\'1C\'+i])}F{x=x.1P(\'{1C\'+i+\'}\',\'\')}}}}if(x.K(\'{5t}\')>-1){o.iM=1a;if(o.Q){x=x.1P(\'{5t}\',o.Q.cJ(\'I2\'))}}}I x}G.wD=E(){6k(C.1C)};E wC(sf){if(2g(C[sf+\'4a\'+\'B\'])){B x=v[C[sf+\'4a\'+\'B\']];if(2g(x)){if(1G(x)=="4z"){C[sf]=x}}}}E oQ(1q,6m){U(B i=0;i<1q.R;i++){I8(1q[i],6m)}if(C.3c=="3K"){if(o.3K){o.3K.Yk(1q[0],6m)}}}};B Ia=E(1a,1d){B i;B C=[];B w;B h;B bg;B 4r=H;B x0;B y0;B 3p=1;B 3t=1;B fY=0;B 8X=0;B Yl;B 3D;B pw;B 6u;B 2p;B 3A;B FQ;B FL;B r8;B FM;B 2t;B 2J;B 8l;B fZ;B qI;o.Gq=-1;B pC;B 6u;B se;U(i in h3.S){C[i]=h3.S[i]}B 1d=v[1a].1d;B 1H=v[1a].1H;U(i in h3[1d]){C[i]=h3[1d][i]}U(i in v[1a]){C[i]=v[1a][i]}C.w=2L(C.w);C.h=2L(C.h);C=4h(C,\'2Q\',\'2Q\');C=4h(C,\'9X\',\'9X\');if(o.al){if(C.HW>0){C.w=2L(C.HW)}if(C.b6){if(C.b6!=\'0 0 0 0\'){C=4h(C,\'9X\',\'b6\')}}}B Y=22("28");if(v.1p.Ib==1&&v.1p.1l==1){o.1p.1V(Y)}F{o.1R.1V(Y)}1d=="2I"?o.9c=Y:\'\';B 8u=J;if(C.7E){if(C.7E!=\'1I\'){8u=H}}O(Y,{"1r":"2E","1c":0,"1b":0,"1B":1,"e7":"qd","oA":"jx"});if(C.Id==1){Y.C.4W=C.5f}bs();B 9m=22("28");O(9m,{"1r":"2E","2O":2H.4t(-C.h/2),"1b":2H.4t(-C.w/2)});if(C.7y>0&&C.EM==1){O(9m,{"2T-6B":C.7y*C.h/2,"1f":C.h,"6G":"3f","4H-3l":"1W"})}if(2g(C.4L)){3W(Y,{"id":(v.id+"pI"+C.4L)})}Y.1V(9m);if(1d==\'2I\'&&v.wu==1){FS()}if(C.2t==1){oP()}B 8Q=22("28");iq(0,8Q,0.3,(C.4J==1?"3e-4J("+(C.wW==1?"to 1b,":\'\')+3x(C.Ig)+", "+3x(C.pM)+")":3x(C.pM)),C.w,C.Ym);if(C.Fc==1&&L(C.pQ)){B ij=22("28");ij.1T=C.pQ.1P(/\\#Ff/g,3x(C.pM));8Q.1V(ij);O(ij,{"1r":"2E","2O":-2H.4t(C.h/2),"1b":0,"4H-3l":"1W"});O(8Q,{"6G":"3f","2C":"1W"});B x=["yE","gU","pL","ir","dB"];U(B y=0;y<x.R;y++){B z=ij.yj("2y "+x[y]);if(z.R>0){U(B y2=0;y2<z.R;y2++){z[y2].C.6n=3x(C.pM)}}}}9m.1V(8Q);B Yn=[];B cF=22("28");iq(1,cF,C.Ii,(C.4J==1?"3e-4J("+(C.wW==1?"to 1b,":\'\')+3x(C.Ij)+", "+3x(C.Im)+")":C.Im),0,C.Yo);9m.1V(cF);if(C.7o>0){B dh=22("28");iq(2,dh,C.Io,C.Yp,0,C.7o);9m.1V(dh)}B 7p=22("28");iq(3,7p,C.Ip,(C.4J==1?"3e-4J("+(C.wW==1?"to 1b,":\'\')+3x(C.FG)+", "+3x(C.1u)+")":C.1u),0,C.a);if(C.Fc==1&&L(C.pQ)){B pR=22("28");pR.1T=C.pQ.1P(/\\#Ff/g,3x(C.1u));O(pR,{"1r":"2E","2O":-2H.4t(C.h/2),"1b":0,"4H-3l":"1W"});O(7p,{"6G":"3f","2C":"1W"});7p.1V(pR)}if(C.5z==1){B cp=22("28");C=4h(C,\'yX\',\'yX\');C=4h(C,\'yu\',\'yu\');O(cp,{"1r":"2E","2O":C.h/2,"1b":0,"4H-3l":"1W","42-3J":C.Fm*2m(v.8r,1),"1u":C.6b,"2I-1f":"100%","2S-1c":C.Yq,"2S-2O":C.Yr,"2S-1b":C.Ys,"2S-2u":C.Yj,"2Q-1c":C.Yt,"2Q-2O":C.Yv,"2Q-1b":C.Yw,"2Q-2u":C.Yx,"2T-6B":(C.FA+"px"),"2k":"1W"});if(C.FB==1){O(cp,{"2C":3x(C.FD)})}7p.1V(cp);B k0=J;B Yy=J}o.pi=C.h;9m.1V(7p);if(C.fV==1){B 8k=[];if(1G F7!=="1E"){B 8P=1z F7(Y,8k,w,C)}}if(C.3A==1){if(C.dH.6a().K(\'<2y\')==-1){C.dH==\'\'?C.dH="<2y Z=\'20\' 1f=\'20\'><g><dB ry=\'5\' rx=\'5\' cy=\'10\' cx=\'10\' 6n=\'#gN\'/></g></2y>":\'\'}3A=22("28");3A.1T=C.dH.6a();C=4h(C,\'ED\',\'ED\');O(3A,{"1r":"2E","1c":-10+C.Yz-C.YA,"1b":-2i,"4H-3l":"1W","1f":20,"Z":C.fB,"1B":C.vK,"5l":"2Z 0.1s 3e, 1B 0.1s 3e"});if(C.k1==1||C.rf==1){O(3A,{"2Z":"1M(0)"})}F{if(C.pt!=1){O(3A,{"2Z":"1M("+C.pt+")"})}}if(C.YB==1){O(3A,{"6Q":"YC-ah(4q 4q c8 5o(0, 0, 0, .7))"})}Y.1V(3A);if(C.yF!=-1){B x=["yE","ir","dB"];U(B y=0;y<x.R;y++){B z=3A.yj("2y "+x[y]);if(z.R>0){U(B y2=0;y2<z.R;y2++){z[y2].C.6n=3x(C.yF)}}}}C.f6=3A.2c}if(C.b9!=0){O(Y,{"2Z":"po("+C.b9+"yG)"})}if(C.3f==1){1l(Y);4r=J}if(1d=="1I"&&!8u){if(C.1l==1&&C.iA==1){o.ix=H;C.3f=H}F{o.ix=J}}C.b5=0;if(C.b9!=0){C.iv=2H.Aa(C.b9);
29if(C.iv>45&&C.iv<YD){C.b5=90}if(C.iv>Yu&&C.iv<EJ){C.b5=GK}}if(8u){C.7E?o[\'2I\'+\'4a\'+C.7E]=C.7E:\'\';w=C.w;C.7E=="4T"?6D(1,o.5R.4M(-1)[0],"no"):\'\';if(C.7E=="vt"){B pv=v.1I;v.2b?(v.2b.1I?pv=v.2b.1I:\'\'):\'\';6D(pv,1,"no")}}E iq(n,x,y,z,EL,EO){O(x,{"1r":"2E","2O":0,"1b":0,"Z":EL,"1f":(C[\'h\'+n]>0?C[\'h\'+n]:C.h),"2C":z?(z.K("3e")>-1?z:3x(z)):\'\',"2T-6B":(C.EM==1?1:C.7y*C.h/2),"1B":EO,"4H-3l":"1W","5l":"2Z 0.2s 6J-in-5p"})}E bs(){bg=22("28");C=4h(C,\'fw\',\'fw\');B hN=C.h+C.bw+C.bn;B J1=C.w+C.7d+C.6V;if(C.bg==1){}F{C.5Y=0}C=4h(C,\'hl\',\'hl\');if(v.1p.hk==1||C.hk==1){C.5h=\'#pD\';C.bg=1;C.5Y=0.5}O(bg,{"1r":"2E","1c":0,"1b":0,"Z":J1,"1f":hN*C.vY,"vs":(C.q5*hN)/2,"2C":5x(C.5h,C.5Y),"9T":"2B","5l":"1B .1s 3e, 2C .1s 3e"});if(C.a2==1){O(bg,{\'jC-6Q\':\'a2(aC)\'})}if(C.pF==1){O(bg,{"2T":2m(C.ET,1)+"px 6N #"+C.pE})}if(C.2p==1){if(C.hD==1){O(bg,{"6P":"4H"})}if(!o.1i.2f||v.fG==1){bg.ha=aX;bg.Yh=sD;bg.Y6=pT;bg.jl=db}}F{O(bg,{"6P":"7b"})}if(!o.1i.2f){bg.jO=6t;bg.jl=db;bg.jM=5X}if(o.1i.rY&&C.2p==1){bg.1w("fi",E(1e){1e.6x=H;if(!L(1e.6h)&&1e.7O.R>0){1e.6h=1e.7O[0].k6;1e.9r=1e.7O[0].oN}pC=1e;6t(1e);pT(1e)},{5J:J});bg.1w("fH",E(1e){1e.6x=H;o.3D=J;5X(1e);sD(pC)},{5J:J});bg.1w("2p",E(1e){1e.6x=H});bg.1w("ca",E(1e){if(!L(1e.6h)&&1e.7O.R>0){1e.6h=1e.7O[0].k6;1e.9r=1e.7O[0].oN}pC=1e;o.3D=H;db(1e);if(o.1i.rY){pT(1e)}},{5J:J})}O(bg,{"1b":2H.pA(-C.w/2-C.7d)});O(bg,{"1c":2H.pA(-C.h/2-C.bw+C.EY-C.Bm)});if(C.F4==1){rB(bg,C.5h,C.F5,C.F8)}Y.1V(bg)}E 2A(Z){if(Z!=w){w=Z;o.rC=w;B bA=w/8Q.2c;O(bg,{"Z":(w+C.7d+C.6V),"1b":-w/2-C.7d,});O(9m,{"1b":-w/2});O(8Q,{"Z":w});O(9m,{"Z":w});B xx=cF.2c*bA;if(xx>8Q.2c){xx=8Q.2c}O(cF,{"Z":xx});B wp=7p.2c*bA;O(7p,{"Z":wp});jq(wp);if(1d=="2I"){KS()}if(C.fV==1){8P?8P.Gx(w):\'\'}if(o.6p){o.6p.2A()}}}E jq(x){if(C.3A==1){if(x<C.f6/2&&C.fB!=20){x=C.f6/2}if(x>w-C.f6/2&&C.fB!=20){x=w-C.f6/2}B y=x-w/2-C.f6/2+C.Yg-C.XV;O(3A,{"1b":y})}}E rj(){O(3A,{"2Z":"1M("+C.pt+")"})}E 6t(1e){o.Q.kt(1a,"6u");if(C.bg==1){if(C.8D!=-1){B m=1z 5L({"mc":bg,"1H":"8F","to":C.8D,"18":0.1,"me":(1a+"bg")})}if(2g(C.ar)){O(bg,{"2C-1u":C.ar})}}if(2g(C.rL)){O(7p,{"2C-1u":C.rL})}if(C.3A==1){if(C.Gg==1&&L(C.sE)){if(C.q3==1&&3D){}F{3A.1T="<2y Z=\'"+C.fB+"\' 1f=\'20\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\'>
29"+C.sE.6a()+"</2y>"}}if(C.k1==1){if(C.rf==1&&!o.1v){}F{rj()}}F{if(C.pk!=-1){B m2=1z 5L({"mc":3A,"1H":"8F","to":C.pk,"18":0.1,"me":(1a+"3A")})}}}if(C.2t==1&&(o.P.1m()>0||1d=="1I"||8u)){kO()}if(C.fT>0){O(bg,{"2Z":"3t("+((C.fT-1)/5+1)+")"});sO(C.fT)}if(C.3A==1&&C.rq==1){jq(8m(1e.6h)-8X)}if(1d=="1I"){o.V.5q(H);o.5q=H}6u=H;o.dz=H}E sO(x){O(8Q,{"2Z":"3t("+x+")"});O(cF,{"2Z":"3t("+x+")"});dh?O(dh,{"2Z":"3t("+x+")"}):\'\';O(7p,{"2Z":"3t("+x+")"})}E 5X(){if(!pw){if(C.7o>0){O(dh,{"Z":0})}if(2g(C.rL)){O(7p,{"2C-1u":C.1u})}if(C.bg==1){if(C.8D!=-1){B m=1z 5L({"mc":bg,"1H":"8F","to":C.5Y,"18":0.1,"me":(1a+"bg")})}if(2g(C.ar)){O(bg,{"2C-1u":C.5h})}}if(C.3A==1){if(C.Gg==1&&L(C.sE)){if(C.q3==1&&3D){}F{3A.1T="<2y Z=\'"+C.fB+"\' 1f=\'20\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\'>"+C.dH.6a()+"</2y>"}}if(C.k1==1){O(3A,{"2Z":"1M(0)"})}F{if(C.pk!=-1){B m2=1z 5L({"mc":3A,"1H":"8F","to":C.vK,"18":0.1,"me":(1a+"3A")})}}}if(C.fT>0){O(bg,{"2Z":"3t(1)"});sO(1)}if(1d=="1I"&&!o.1Z){o.V.5q(J);o.5q=J}o.Q.kt(1a,"5p")}if(C.fV==1&&8P){8P.5p()}if(C.2t==1&&(o.P.1m()>0||1d=="1I")){pS()}if(o.pW&&1d=="2I"){o.th.1l();o.Gq=-1}6u=J;o.dz=J}E aX(1e){1e.6x=H}E Gr(1e){1e.6x=H}E sD(1e){if(1d=="1I"){if(o.9i){pw=H;2F(se);se=1y(E(){pw=J;5X()},2i)}}ra();o.3D=J;if(C.3A==1){if(C.q3==1&&L(C.sq)){3A.1T="<2y Z=\'20\' 1f=\'20\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\'>"+C.dH.6a()+"</2y>"}}cS(1e.6h,1e.9r);o.Q.eN(1a);o.Q.fo(1e.6h,1e.9r);1e.6x=H}E pT(1e){3D=H;if(C.3A==1){if(C.q3==1&&L(C.sq)){3A.1T="<2y Z=\'20\' 1f=\'20\' 4c:4e=\'3P://4b.w3.43/7Y/4e\' 4c=\'3P://4b.w3.43/4d/2y\'>"+C.sq.6a()+"</2y>"}}fY=8m(j2(bg));8X=8m(fe(bg));cS(1e.6h,1e.9r);6D(2p,1,"no")}E cS(dO,d6){B x;dO=8m(dO);d6=8m(d6);B GL=2H.62(1Q.pU.bd,1Q.b4.bd);B GF=2H.62(1Q.pU.de,1Q.b4.de);if(o.1i.2f){}F{d6=d6+GF;dO=dO+GL}if(C.b5>0){x=d6-fY-C.6V;2p=x/w;if(C.b5==GK){x=d6-fY-C.7d;2p=x/w;2p=(2p-1)*-1}}F{x=dO-8X-C.7d;2p=x/w;if(C.b9>XW&&C.b9<XX){x=dO-8X-C.6V;2p=x/w;2p=(2p-1)*-1}}2p>1?2p=1:\'\';2p<0?2p=0:\'\'}G.GE=E(){8P?8P.Gx(w):\'\'};G.kc=E(){8P?8P.dL(w):\'\'};E ra(){3D=J}E db(1e){8X=8m(fe(bg));if(C.7o>0){if(o.1v||1d!=\'2I\'){O(dh,{"Z":8m(1e.6h)-8X})}}if(C.2t==1&&(o.P.1m()>0||1d=="1I"||8u)){kO();fY=j2(bg);cS(1e.6h,1e.9r);if(1d=="2I"){if(v.XZ==1){if(o.P.5T()&&o.P.bZ().K("?qN")>0){2J.1T=\'- \'+g1((1-2p)*o.P.1m(H))}F{2J.1T=g1(2p*o.P.1m())}}F{B d=o.P.1m();if(v.4p>0){d=d-v.4p*1}B bi=\'\';if(C.fV==1&&8P){bi=8P.2t(2p*d);bi!=\'\'?bi=bi+\'<br>\':\'\'}if(o.dr&&o.GB){2J.1T=o.dr.Tm(o.GB+2p*d*2i)}F{2J.1T=bi+g1(2p*d)}}}if(1d=="1I"||8u){2J.1T=uN(2p)}94(1e)}if(o.pW&&1d=="2I"&&o.th){qI=1e;if(!fZ||v.Gz!=1){qK()}if(v.Gz==1){2F(fZ);fZ=1y(qK,50)}}if(C.3A==1&&C.rq==1){jq(8m(1e.6h)-8X)}}E qK(){2F(fZ);fZ=1E;if(C.2t==0){fY=8m(j2(bg));8X=8m(fe(bg));cS(1e.6h,1e.9r)}6u?o.th.cM(qI,w,2p,8X):\'\'}E 94(1e,t,l){B 1b=(-w/2+(8m(1e.6h)+1Q.pU.bd-8X)-2J.2c/2)+(l?l:0);B kP=0;if(v.uR!=1){if(1b+w/2+2J.2c+10>o.3a){kP=1b;1b=o.3a-w/2-2J.2c-10}if(1b+o.3a/2<0){kP=1b;1b=-o.3a/2}}B x={"1c":(-2J.2V-C.Gy*1-C.oM-C.uY)-(C.Gw==1?(C.h/2)*(C.fT>0?C.fT:1):0)+(t?t:0),"1b":1b};O(2t,x);if(C.gR==1){O(8l,{\'1r\':\'2E\',\'1b\':2J.2c/2-4+(kP!=0?kP-1b:0),\'1c\':2J.2V-6})}}G.kO=E(e,x,t,l){kO();2J.1T=x;94(e,t,l)};E kO(){if(!5O(2t)||2t.C.1B==0){1o(2t);O(2t,{"1B":1})}}G.pS=E(){pS()};E pS(){1l(2t);O(2t,{"1B":0})}G.c=E(){I Y};G.s=E(1a){I C[1a]};G.ss=E(x,x2){I C[x][x2]};G.g=E(x){bO(x){1k"Z":I w;1h;1k"Y0":I 8Q.2c;1h;1k"1f":I C.h;1h;1k"x":I 5g(Y.C.1b);1h;1k"y":I 5g(Y.C.1c);1h;1k"1B":I Y.C.1B?Y.C.1B:1;1h;1k"1o":I 4r;1h;1k"3p":I 3p;1h;1k"3t":I 3t;1h;1k"1d":I 1d;1h;1k"1a":I 1a;1h;1k"x0":I x0;1h;1k"y0":I y0;1h;1k"2p":I 2p;1h;1k"fO":I 8u;1h;7b:I J}};G.1S=E(1a,x){bO(1a){1k"1o":4r=x;1h;1k"3D":3D=x;1h;1k"2k":1d=="2I"||C.1l==1?O(Y,{"5C":(x?"4r":"3f")}):O(Y,{"2k":(x?"4w":"1W")});4r=x;1h;1k"3p":O(Y,{"2Z":"3p("+x+")"});3p=x;1h;1k"3t":O(Y,{"2Z":"3t("+x+")"});3t=x;1h;1k"1B":O(Y,{"1B":x});1h;1k"1b":O(Y,{"1b":x});1h;1k"1c":O(Y,{"1c":x});1h;1k"2p":2p=x;1h;1k"dF":C.dF=x;1h;1k"Z":O(Y,{"Z":x});1h;1k"1f":O(Y,{"1f":x});1h;1k"qx":C.Y1=x;1h;1k"x":O(Y,{"1b":x});1h;1k"y":O(Y,{"1c":x});1h;1k"x0":x0=x;1h;1k"y0":y0=x;1h}};G.2A=E(x){2A(x)};G.oH=E(x){};G.fI=E(b3,b0){if(3D){if(1d=="1I"||8u||C.Y2==1){cS(b3,b0);o.Q.eN(1a)}if(1d=="1I"){o.9i=H}cS(b3,b0);6D(2p,1,"no")}};G.fo=E(b3,b0){if(3D){ra();3D=J;cS(b3,b0);o.Q.eN(1a);6D(2p,1,"no")}};E 6D(18,1m,x){18<0?18=0:\'\';if(v.4p>0&&1m>1){1m=1m-v.4p;18=18-v.4p}
29if(C.3A==1&&C.rf==1&&C.k1!=1){if(!C.FJ&&18>0){rj();C.FJ=H}}if(3D&&1m!=1){}F{B 4j;if(1m>0&&18>0){if(18>1m){18=1m}4j=w*(18/1m);if(4j==7p.2c){4j=-1}}F{4j=0}if(4j>=0){O(7p,{"Z":4j});if(C.rq==1&&6u&&!x){}F{jq(4j)}}if(L(cp)){if(1m<2&&1d=="2I"){if(k0){3h(cp);k0=J}}F{if(!k0){6E(cp);k0=H}cp.1T=1d=="2I"?46(18==0?1m:18):uN(18)}}}};G.6D=E(18,1m,x){if(1m!=FL||18!=FM||x){6D(18,1m,x)}};G.FN=E(){2p>1?2p=1:\'\';2p<0?2p=0:\'\';O(7p,{"Z":(2p*w)})};G.FP=E(18,1m){if(1m>0&&18>0){B 4j=w*(18/1m);4j>w?4j=w:\'\';O(cF,{"Z":5g(4j)});FQ=1m;r8=18}F{r8=0;O(cF,{"Z":0})}};G.jk=E(x){if(C.6p==1){if(!o.6p){if(x!=0){if(1G FR!=="1E"){o.6p=1z FR(Y,C,x);o.9P=H}}}F{if((!L(x)||x==0)&&o.9P){o.6p.1l();o.9P=J}F{if(!o.9P||(L(x)&&x!=1&&x!=0)){o.6p.r5(x);o.9P=H}}}}};E FS(){o.cM=22("28");O(o.cM,{\'1r\':\'2E\',\'1b\':0,\'1c\':0,\'Z\':v.FT,\'1f\':v.FU,\'6G\':\'3f\',"4H-3l":"1W","2C-1u":"#gl","2T-6B":v.FV+\'px\',"2k":"1W"});o.cM.id="Y3"+v.id;if(v.FH==1){O(o.cM,{"2T":v.FW+"px 6N "+qX(\'1u\',v.FY)})}if(v.FZ==1){O(o.cM,{"7h-ah":"gj 4q kN 5o(0,0,0,0.5)"})}o.cM.C.4W="iY";Y.1V(o.cM)}E oP(){2t=22("28");O(2t,{\'1r\':\'2E\',\'1b\':0,\'1c\':0,\'1f\':\'2B\',"4H-3l":"1W","1B":0,"5l":"1B 0.1s 3e"});C=4h(C,\'jb\',\'jb\');2J=22("28");O(2J,{\'1r\':\'2E\',\'2S-1b\':C.sA,\'2S-2u\':C.G0,\'2S-1c\':C.oM,\'2S-2O\':C.uY-1,\'1C-8s\':\'8h\',\'1u\':C.uZ,\'42-f1\':gx(C.v1),\'42-3J\':C.v3*2m(v.8r,1),\'kT-fK\':C.v4+\'px\',\'2I-1f\':"1",\'2C-1u\':5x(C.jd,C.jt),\'2T-6B\':C.uW});C.Ga?C.gR=C.Ga:\'\';if(C.gR==1){8l=22("28");8l.1T=\'<2y Z="aC" 1f="uA" uF="0 0 8 6" 8g="1.1" 4c="3P://4b.w3.43/4d/2y" 4c:4e="3P://4b.w3.43/7Y/4e"><gU id="J2" 4s="1W" 6n="\'+3x(C.jd)+\'" 6n-KR="KQ" 8k="0 0 8 0 4 6"></gU></2y>\'}Y.1V(2t);2t.1V(2J);if(C.gR==1){2t.1V(8l);O(8l,{\'1B\':C.jt})}2t.C.4W="2i"};E KS(){if(o.3q&&v.bX==1&&!o.1v){B f=o.3q.b8();if(f.t&&f.d){6D(f.t,f.d)}}};E uN(x){B y=2H.4t(x*100);if(8u){if(o.ih){I(8u&&2g(C.2J)?C.2J+\'&h6;\':\'\')+3X(x*o.5R.4M(-1)[0]).v6(1)}if(o.KY){I(8u&&2g(C.2J)?C.2J+\'&h6;\':\'\')+o.vt}}I y};G.4g=E(){Y.3j(9m);if(bg){bg.dC("ha");bg.dC("jO");bg.dC("jM");bg.3Z.3j(bg);bg=26}if(3A){Y.3j(3A)}if(Y.3Z==o.1R){o.1R.3j(Y)}F{if(o.1p){if(Y.3Z==o.1p){o.1p.3j(Y)}}}Y=26}};B vv=E(1c){B i;B C=[];B w;B h;B 4r=H;B 3p=1;B 3t=1;B x0=0;B y0=0;B ax=5y(oC,Y4);B 1d,1a="bg";B 1H="XU";if(1c==H){C["1r"]=\'1c\';C.h=2m(v.1p.Y5,50);C.a=2m(v.1p.Y7,0.5);C.1u=2m(v.1p.Y8,\'#gl\')}F{C["1r"]=v.1p.1r;U(B k in v.1p){if(v.1p.2v(k)){C[k]=v.1p[k]}}}if(C.1o==0){v.1p.h=C.h=0;C.2S=C.2Q="0 0 0 0";C.4J=0}C["1M"]=1;C=4h(C,\'2Q\',\'2Q\');if(2g(C.KC)&&o.al){C=4h(C,\'2Q\',\'KC\')}if(C.Y9==1){C.4F+=\'%\';C.4O+=\'%\'}B Y=22("28");if(C.a2==1&&C.4J==0){C.a<1?C.v8=C.a:C.v8=0.2;v.1p.a=C.a=1}F{C.a2=0}O(Y,{\'1r\':\'2E\',\'1b\':0,\'1c\':0,\'Z\':(C.jG==1||1c?\'100%\':o.aE),\'1B\':C.a,\'4H-3l\':\'1W\',\'e7\':\'qd\',\'oA\':\'jx\'});o.1R.1V(Y);B bg=22("28");O(bg,{\'1f\':C.h-(C.1r!=\'1c\'?C.ge+C.av:0),\'2k\':\'4w\',\'2Q-1b\':C.4F,\'2Q-2u\':C.4O,\'2T-6B\':C.7y});if(C.jA>0){B jA=\'4q 6N \'+5x(2m(C.Ya,\'3H\'),C.jA);if(C.Yb==1){O(bg,{\'2T-1c\':jA})}F{O(bg,{\'2T\':jA})}}Y.1V(bg);w=Y.2c;v.dA=-C.av;if(C.4J==1||1c){if((C.1u==\'3U\'||v.1p.a5!=\'\')&&!1c){if(C.1r!=\'1c\'){v.dA=98-C.h}B 4u=\'29:a5/vb;jy,Yc+Yd/T/D+Ye/Yf/XT==\';if(v.1p.a5.K("29:a5")>-1){4u=v.1p.a5}O(bg,{\'1f\':C.h+(C.1r!=\'1c\'?v.dA:0),\'2C\':\'X(\'+4u+\') fb-x 50% 100%\',\'2C-3J\':\'2B\'})}F{B g7=(1c?\'to 1c, \':\'to 2O, \')+5x(C.1u,0)+\', \'+5x(C.1u,1);O(bg,{\'2C\':\'-pO-3e-4J(\'+g7+\')\',\'2C\':\'-3L-3e-4J(\'+g7+\')\',\'2C\':\'-ms-3e-4J(\'+g7+\')\',\'2C\':\'-o-3e-4J(\'+g7+\')\',\'2C\':\'3e-4J(\'+g7+\')\'})}}F{if(C.a2==1){O(Y,{\'jC-6Q\':\'a2(aC)\'});O(bg,{\'1B\':C.v8})}O(bg,{\'2C-1u\':C.1u})}if(1c){O(Y,{"5l":"1B 0.2s 6J-5p"})}G.h=E(){I C.h-(C.1r!=\'1c\'?C.av:0)};G.c=E(){I Y};G.s=E(1a){I C[1a]};G.g=E(x){if(Y){bO(x){1k"w":Y.2c>0?w=Y.2c:\'\';I w;1h;1k"Z":I Y.2c;1h;1k"1f":I Y.2V;1h;1k"x":I 5g(Y.C.1b);1h;1k"y":I 5g(Y.C.1c);1h;1k"1B":I Y.C.1B?Y.C.1B:1;1h;1k"1o":I 4r;1h;1k"3p":I 3p;1h;1k"3t":I 3t;1h;1k"1a":I 1a;1h;1k"x0":I x0;1h;1k"y0":I y0;1h;1k"ax":I 1a+ax;1h;7b:I J}}F{I J}};G.1S=E(1a,x){bO(1a){1k"1o":4r=x;1h;1k"w":w=x;1h;1k"2k":O(Y,{"2k":(x&&v.vn!=1?"4w":"1W")});4r=x;1h;1k"1M":O(Y,{"2Z":"1M("+x+")"});3p=x;3t=x;1h;1k"3p":O(Y,{"2Z":"3p("+x+")"});3p=x;1h;1k"3t":O(Y,{"2Z":"3t("+x+")"});3t=x;1h;1k"1B":O(Y,{"1B":x});1h;1k"1b":O(Y,{"1b":x});1h;1k"1c":O(Y,{"1c":x});1h;1k"Z":O(Y,{"Z":x});1h;1k"1f":O(Y,{"1f":x});1h;1k"x":O(Y,{"1b":x});1h;1k"y":O(Y,{"1c":x});1h;1k"x0":x0=x;1h;1k"y0":y0=x;1h}};G.4g=E(){o.1R.3j(Y);Y=26}};if(1G(2w)=="4z"){Jy()}o.G=G;if(2w.id){if(1Q.8e(2w.id)){tx()}F{1Q.1w(\'X7\',gq)}}F{1G tm==\'E\'?tm():\'\'}E tx(){if(L(2w.id)){if(1Q.8e(2w.id)){if(!AZ(1Q.8e(2w.id))||2w.4r==1){2w.Wm==1?1y(gq,50):gq()}F{1y(tx,50)}}}}E gq(){U(B i=0;i<1A.4Z.R;i++){if(L(1A.4Z[i])){if(1A.4Z[i].2U("id")==2w.id){if(1A.4Z[i].2U("7T")){1A.4Z[i].2U(\'2G\')}}F{if(v.X6==1&&1A.4Z[i].2U("v","3k")==1){2w.3k=0}}}}1A.4Z.2N(o.G);B 2G=J;o.v0=dG(v);2w.aY?2w.3g=2w.aY:\'\';if(L(2w.3g)){U(B i=2;i<10;i++){if(2w.3g==i&&o[\'u\'+i]!=\'\'){v=8W(v,54.7a(dN(o[\'u\'+i])));2G=H}}}if(o.u!=\'\'&&!2G){v=8W(v,(1G o.u!="3C"?54.7a(dN(o.u)):o.u))}if(1G(W0)!="E"){U(B 1a in 2w){if(2w.2v(1a)){if(1a.K("JC")==0){2w[1a]=26}}}}v=8W(v,2w);o.1F=1Q.8e(v.id);if(v.iZ==1&&v.W1==1&&1G(tj)=="E"){xW(o.1F,"W2");if(!tj()){1A.1Q.1w("9n",tj,{5J:J})}}F{J3()}}E J3(){B h8=v.2a;if(v.W3==1&&L(v.2a)&&L(h8)){v.2a!=\'\'?v.2a=h8:\'\'}if((!L(v.3b)||v.3b==\'\')&&v.W4==1){1n(\'5G\');I}if(v.Ji==1||v.tl==1){1A.1w(\'9H\',E(1e){B x=1E;B y;L(1e.29.18)?x=1e.29.18:\'\';L(1e.29.1I)?x=1e.29.1I:\'\';L(1e.29.Jj)?y=1e.29.Jj:\'\';L(1e.29.2U)?y=1e.29.2U:\'\';if(y&&2g(v.K1)){B pm=v.K1.1P(/\\s+/ig,\'\').2q(\',\');if(pm.K(y)==-1){I}}if(v.tl==1){if(1G(K9)=="E"){K9(1e)}}if(y&&o.8w){if(L(1e.29.1S)){x=1e.29.1S}B z=3r(y,x);1A.7S.p6({1e:y,W5:z},\'*\')}})}U(B 1a in o.gQ){if(o.gQ.2v(1a)){o.gQ[1a]!=\'\'?o.j0+=o.gQ[1a]+\' \':\'\'}}1n(o.8g+\' \'+o.j0);1A.eC=v.id;o.d=8I.ud;o.hs=8I.W6;if(!v.4P&&7w([o.hs],\'#1t-\')){v.4P=o.hs.1j(o.hs.K(\'#1t-\')+6)}if(7S){B p3=J;2R{if(7S){if(7S.1Q){B oU=7S.1Q.aP("JJ");U(B i=0;i<oU.R;i++){if(oU[i].hU===1A){o.8E=oU[i];o.p1=H;v.JN!=1?O(o.8E,{"2T":"1W"}):\'\';o.JQ=o.8E.C;1n("eA")}}}F{p3=H}}}2D(dU){p3=H}if(p3){o.p1=H;1n("W7-kX")}}o.p1&&1Q.q9?o.kX=1Q.q9.2q(\'/\')[2]:\'\';!o.JW?Jx():\'\';if(1G(Kl)=="E"){if(Kl()){I}}o.8w=H;JM();B Ki=1z 7W();if(Ki.W8()==20){if(5y(1,20)==10&&v.VZ!=0){tU(o.tP,o.tP);1y(E(){if(1A.ga){ga(\'gK\',\'UA-W9-6\',\'2B\',{\'6s\':\'6T\',\'Wb\':H});ga(\'Wc\',\'Jn\');ga(\'Jn:Wd\',[o.d]);ga(\'6T.e5\',\'1e\',{We:\'uj\',Wf:\'gq\',Wg:o.d})}},j6)}}if(!o.1F){v.1n=1;1n(\'id "\'+v.id+\'" gh qg\');I J}o.1F.1T=\'\';O(o.1F,{\'2S\':0,\'Wh-fK\':\'dW\'});o.8M=o.1F.2V;o.8N=o.1F.2c;if(L(v.j5)&&!L(v.4Y)){if(L(v.j5.4Y)){v.4Y=v.j5.4Y}if(L(v.j5.qp)){v.qp=v.j5.qp}}if(o.1F.C.Z.K("%")>-1){o.Wi=o.1F.C.Z}if(v.4Y=="6v"||o.1F.C.1f.K("%")>-1){v.4Y="%";o.p4=o.1F.C.1f;o.8M=0}if(o.8N==0){if(o.1F.C.Z.K("px")>0){o.8N=2L(o.1F.C.Z)}F{if(o.1F.3Z.C.Z.K("px")>0){o.8N=2L(o.1F.3Z.C.Z)}F{if(o.1F.3Z.3Z.C.Z.K("px")>0){o.8N=2L(o.1F.3Z.3Z.C.Z)}}}}if(6Y(v.4Y).K("x")>0){o.4Y=v.4Y.2q("x")[0]/v.4Y.2q("x")[1];if(o.8M==0){o.8M=o.8N/o.4Y}}F{o.4Y=0}O(o.1F,{\'1r\':\'gz\',\'7h-jT\':\'sG-7h\',\'1C-8s\':\'1b\',\'-3L-KJ-Wj\':\'1W\',\'uG\':gx(\'qe-qf\'),\'9z-1f\':15,\'e7\':14*2m(v.8r,1),\'2I-1f\':\'jx\',\'zl\':\'Bk\',\'1u-Kq\':\'1W\'});if(v.ah==1){O(o.1F,{\'7h-ah\':\' 0 Jz Wa 5o(50,50,93,.1), 0 kN Jz 5o(0,0,0,.VX)\'})}if(o.4Y>0){O(o.1F,{\'1f\':o.8M})}F{O(o.1F,{\'1f\':o.8M==0?o.p4:o.8M})}if(o.8N==0){O(o.1F,{\'Z\':\'100%\'})}o.1R=22("28");O(o.1R,{\'1r\':\'2E\',\'7h-jT\':\'sG-7h\',\'7M\':v.qj,\'1u\':\'#3H\',\'Z\':\'100%\',\'1f\':\'100%\',\'1b\':0,\'1c\':0,\'e7\':\'qd\',\'2I-1f\':\'jx\'});if(v.uR!=1){o.1R.C.6G=\'3f\'}if(v.VM==1){o.1R.C.7M=\'eE\'}o.O=1Q.22(\'C\');o.O.1H=\'1C/O\';o.1R.1V(o.O);o.1R.7k("id",\'VW\'+v.id);qc(1);if(1A.J8){B J4=1z J8(E(e){if(e[0].sn.R>0){U(B i=0;i<e[0].sn.R;i++){if(e[0].sn[i]==o.1R){x9()}}}});J4.VD(o.1F,{VE:H})}o.ea=22(\'eA\');3W(o.ea,{"id":"Kr"+v.id,"Ez":"no","1O":"Kr"+v.id,"KE":"H","KL":"H","KO-ql":"H"});O(o.ea,{\'1r\':\'2E\',\'Z\':\'100%\',\'1f\':\'100%\',\'2T\':0,\'4H-3l\':\'1W\'});if(v.2T==1){if(v.VF==1){O(o.ea,{"7h-ah":"gj gj gj "+v.rV+"px "+v.8z+" VG",\'4W\':2})}F{O(o.1F,{\'2T\':v.rV+\'px 6N \'+v.8z})}}if(!1Q.VH(\'.sh\')){B 1J="";if(v.zD==1){U(B i=1;i<6;i++){if(2g(v[\'1u\'+i])){1J+=\'--VI\'+i+\':\'+5x(v[\'1u\'+i],v[\'6m\'+i+\'a\'])+\';\'}}}jN("5d, 5d > *{-3L-VJ-5C: 3f;1r: qi;1c: 2B;1b: 2B;6G:4r;zl:Bk!5W;62-Z:1W!5W;dY-1d: VK;2Z-VC: 8h 8h;7h-jT:sG-7h!5W;-3L-AB-Ay-1u: 5o(0,0,0,0);-3L-AB-Ay-1u: eE;1C-VL:0!5W;"+1J+"} 5d 4u{62-Z:1W} 5d > *:5Q{VN: 1W} 5d,5d a,5d a:VO,5d a:VP,5d a:h0,5d a:ey,5d a:5Q{1u:#gN;42-3J:100%;}5d eA{2T:0}5d eA{2k:4w!5W;62-1f:1W!5W;2C:eE}.sh{}5d 2y{2Q:0}");o.1R.7k(\'VQ\',\'sh\')}o.1R.1V(o.ea);o.5a?o.5a.2U(\'8w\'):\'\';o.1F.VR=E VS(e){o.qm++;if(o.qm==5){v.1n=1;1n(o.8g+\' \'+o.j0+\' \'+o.j1)}if(!e)B e=1A.1e;e.6x=H;if(e.aT)e.aT();
29B x=e.k6-fe(o.1R);B y=e.oN-j2(o.1R);if(v.VT==1){if(L(v.qa)){if(4D(v.qa)!=\'\'){o.rk=v.qa;L(v.AS)?o.eR=v.AS:\'\';v.qa==\'1W\'?o.eR=o.d:\'\'}}}v9(x,y);I J};E v9(x,y){if(o.eR.K(o.d)==-1||v.Av==1||v.4R==1){if(!L(o.4R)){!v.oZ?v.oZ="3U":\'\';!v.tL?v.tL="3H":\'\';o.4R=22(\'28\');B 1J;B n=0;U(B i=0;i<10;i++){if((v[\'rm\'+i]==1&&v.4R==1)||i==9){if((L(v[\'rm\'+i+\'t\'])&&L(v[\'rm\'+i+\'a\'])||i==9)){1J=22("rc");if(i==9){if(v.VU!=1){1J.r7=o.rk+(v.Az==1?" "+o.8g:\'\')}F{1h}}F{1J.r7=v[\'rm\'+i+\'t\']}if(i!=9){if(v[\'rm\'+i+\'a\'].K(",0/1")>-1||v[\'rm\'+i+\'a\'].K(",1/0")>-1){B z=v[\'rm\'+i+\'a\'].2q(\',\');1J.r7+=\' (\'+(3r(z[0].1j(4))==1?2K(\'on\'):2K(\'6v\'))+\')\'}if(v[\'rm\'+i+\'a\'].K("2W")==0){o.eS=H;!o.2W?o.Q.AE():\'\'}}1J.7k("i",i);z8(1J);1J.1w("2p",Bj);o.4R.1V(1J);n++}}}O(o.4R,{"1C-2Z":"VV","2I-1f":"1","bo-9x":"dZ","2C":5x(v.oZ,0.7)});if(n>1){O(o.4R,{"2S":"kN"})}o.4R.C.4W="Wk";o.4R.jl=Bz;o.1R.1V(o.4R)}F{6E(o.4R)}O(o.4R,{"1r":"2E","1c":y,"1b":x,"1C-8s":"1b"});B uX=J;if(o.3a-x<o.4R.2c-20&&v.uR!=1){O(o.4R,{"1b":x-o.4R.2c});uX=H}if(v.VY==1||uX){O(o.4R,{"1C-8s":"2u"})}o.A2=x;o.Al=y;2F(o.qb);o.qb=1y(E(){3h(o.4R)},4d)}}E Bz(){2F(o.qb);o.qb=1y(E(){3h(o.4R)},4d)}E Bj(e){B i=e.4i.5V("i");B y;B uc=J;if(i>0){if(i==9){o.eR!=\'\'?1A.6C(o.eR):\'\'}F{B x=v[\'rm\'+i+\'a\'];if(x){if(x.K("2U:")==0){if(x.K(",0/1")>-1||x.K(",1/0")>-1){B z=x.2q(\',\');B b=o.Q.uH(x,"3c");B u=3r(z[0].1j(4),z[1],b);js(z,u);vz();v9(o.A2,o.Al);uc=H}F{y=x.2q(",");3r(y[0].1j(4),(L(y[1])?y[1]:26))}}if(x.K("2W:")==0&&o.2W){o.2W.2U(x.1j(6))}if(x.K("js:")==0){y=x.2q(",");2h(y[0].1j(3)+\'(\'+(L(y[1])?\'"\'+y[1]+\'"\':\'\')+(L(y[2])?\',"\'+y[2]+\'"\':\'\')+\')\')}if(x.K("X:")==0){x=x.1P(/\\(X\\)/g,zr());x=x.1P(/\\(Wl\\)/g,zs(L(v.zF)?v.zF:1Q.q9));x=x.1P(/\\(1O\\)/g,o.cT);x=x.1P(/\\(8x\\)/g,v.8x);1A.6C(x.1j(4))}}}!uc?3h(o.4R):\'\'}}E z8(x){O(x,{"2S":"zd kN","42-3J":(v.zg?v.zg:"55")*2m(v.8r,1)+"%","kT-fK":"0.WK","1B":0.9,"1u":v.tL});x.1w("q7",A4);x.1w("qk",Ac)}E A4(e){O(e.4i,{"1B":1});O(e.4i,{"2C":5x(v.oZ,0.5)})}E Ac(e){O(e.4i,{"1B":0.9});O(e.4i,{"2C":"1W"})}o.1i=1z A1();if(o.1i.4l){B uh=(v.A0==1?\'*::-3L-P-Q-1v-WM-p0 {2k: 1W!5W;-3L-ul: 1W;}\':\'\');if(v.pN==1&&v.zM!=1&&(v.zN!=1||!o.1i.6Z)&&(v.zK!=1||!o.1i.iW)){}F{if(o.1i.4l&&v.gt==1){}
29F{uh+=\'ef::-3L-P-Q {2k:1W !5W;}*::-3L-P-Q-WN {2k: 1W!5W;-3L-ul: 1W;}*::6O(3L-P-Q-1t-p0){2k: 1W!5W;-3L-ul: 1W;}\'}}B 1J=1Q.22(\'C\');1J.1H=\'1C/O\';1J.1V(1Q.DA(uh));o.1R.1V(1J)}if(o.1i.DB){v.3k==1&&v.WO==1?v.3k=0:\'\'}if(o.4Y==0){if(o.1R.2V==15&&!o.p4&&v.Dw>0){O(o.1F,{"1f":v.Dw})}}if(L(v.kg)){v.W.bG=v.kg}if(L(v.p9)){v.W.p7=v.p9}if(L(v.1v)){o.2e=v.1v}if(L(1A.Dd)&&v.WP==1){1A.Dd(fk)}F{fk()}}E fk(){1n("fk");o.V=1z De();if(!v.3b){v.3b="?"}if(v.pl){v.3b=v.pl+o.ej}o.WQ=kj();o.Dh=0;o.5m=D9();if(o.5m){if(3R.6H("t6")!=26){o.sY=3R.6H("t6")}F{o.sY=kj();3R.9f("t6",o.sY)}if(v.tD==1){if(3R.6H("ts")!=26){o.4x=3R.6H("ts");if(2g(v.c7)){if(v.c7.K(o.4x)>-1){o.4x=26}}}}if(v.Ev==1){if(3R.6H("vk")!=26){v.aZ=3R.6H("vk")}}U(B i=0;i<o.c0.R;i++){if(v[\'DT\'+o.c0[i]]==1){if(3R.6H("Ey"+o.c0[i])!=26){}F{v[o.c0[i]+\'s\']=0}}}7K("WR");7K("WS")}o.kr=o.8O.1j(o.8O.K("://")+3);if(o.kr.K("#")>0){o.kr=o.kr.1j(0,o.kr.K("#"))}if(o.5m&&v.bX==1){o.3q=1z WT()}if(v.iZ==1){o.5C=v.WU;xW(o.1F,"5C",H)}v.fv==1&&v.iZ==1?o.fv=1z WL():\'\';v.ab==1?WV():\'\';if(v.WX==1){o.cq=1z WY();o.cq.bj()}o.P=1z ve(v.3b);if(!o.1i.2f||v.fG==1){o.1R.1w("WZ",E(){o.4A=H;o.oS=H;o.Q?o.Q.E0():\'\'});o.1R.1w("X0",E(e){if(!o.3D){if(v.1p.7X>0){2F(o.oD);o.oD=1y(E(){if(o.4A!=o.oS){o.4A=o.oS;o.Q.vp()}},v.1p.7X*2i)}F{o.4A=J}o.oS=J;if(o.Q){o.Q.oH()}}})}if(!o.1i.2f){o.1R.1w("E6",E(e){if(!o.hV){o.3D=H}});o.1R.1w("9S",E(e){if(!o.hV){o.3D=J;if(!o.5q){o.9i=J;o.eD=J}if(o.1i.dY&&o.1i.fG&&o.1Z){1y(E(){o.4A=J;o.Q.vp()},47)}1y(E(){o.5Q=H},47);if(o.1i.2f&&o.Q.py()){}F{o.Q?o.Q.fo(e.6h,e.9r):\'\'}if(v.g6==1){if(o.Q.bu()){o.Q.8b()}}}});o.1R.1w("uV",E(e){if(!o.hV){if(L(o.Q)){if(o.3D){o.Q.fI(e.6h,e.9r)}F{o.Q.pu()}}}})}if(o.1i.2f){1A.1w("X1",A3,J)}v.vH==1&&1G C5==\'E\'?o.vH=1z C5():\'\';o.3M.1w("fi",E(e){if(e.7O){o.fs=e.7O.R}o.3D=H;o.4A=H;o.oF=J;oz("1v",e)},{5J:H});o.3M.1w("ca",E(e){if(e.7O){o.fs=e.7O.R;if(o.fs>1){o.uw=1}}if(o.3D){o.oF=H;oz("X2",e)}},{5J:H});o.3M.1w("fH",E(e){o.3D=J;2F(o.oD);o.oD=1y(E(){o.4A=J},(v.1p.7X>0?v.1p.7X:0.5)*2i);if(v.pB==1){B oE=1z 7W().9K();if(oE-o.bx<(v.iO?v.iO:0.3)*2i){pH(e)}}!o.oF&&o.fs<2&&o.uw!=1?gf(e):\'\';o.oF=J;o.fs=0;if(e.7O.R==0){o.fs=0;o.uw=0}oz("4f",e)},{5J:H});2R{1A.1Q.1w("9S",E(e){o.5Q=J;if(!o.5q){o.9i=J;o.eD=J}if(o.3D&&o.Q){o.3D=J;o.Q.fo(e.6h,e.9r);o.Q.oH()}if(!o.4A&&!o.1i.2f&&!o.1i.tv){o.Q.aS();if(o.2P){o.2P.bt()}o.Q.CO()}})}2D(dU){}1A.1Q.1w("uV",E(e){if(o.Q){if(o.3D){o.Q.fI(e.6h,e.9r)}F{if(o.1Z&&o.uT){o.Q.pu()}}}});if(!o.1i.tv){o.1R.1w("fi",E(e){o.hV=H;if(!o.1i.2f){1n("uT");o.uT=H}o.dY=H;o.3D=H},{5J:H});o.1R.1w("fH",E(e){o.dY=J;o.3D=J},{5J:H});1A.1Q.1w("ca",E(e){if(o.Q&&o.dY){o.Q.fI(e.7O[0].k6,e.7O[0].oN)}},{5J:H})}1A.1Q.1w("X3",E(e){B x=e.4i.oT.pK();if(x==\'r9\'||x==\'Cq\'||x==\'Cz\'){I}F{o.Q?o.Q.D4(e):\'\'}});1A.1Q.1w("X4",E(e){B x=e.4i.oT.pK();if(x==\'r9\'||x==\'Cq\'||x==\'28\'||x==\'Cz\'){I}F{o.Q?o.Q.CB(e):\'\'}});if(o.8E){rn(7S.1Q,Dt)}rn(1Q,Dv);E rn(x,z){B y=[\'\',\'pO\',\'3L\',\'ms\',\'X5\'];if(x){U(B i=0;i<y.R;i++){x.1w(y[i]+(i<y.R-1?"WW":\'\'),z,J)}}}if(!L(o.ea.hU)){1n("WJ");I}F{o.ea.hU.1w(\'4N\',oO,H)}o.3M.1w("2p",E(e){!o.hV?gf(e):\'\'},J);if(v.pP==1&&v.pB==1){o.3M.1w("CZ",pH,J)}oL();if(v.3K){v.3K.on==1?o.3K=1z Wy():\'\'}v.5a==1?o.5a=1z WI():\'\';v.fQ==1?o.fQ=1z Wo():\'\';o.Q=1z qD();if(v.bF.CS){o.pV=v.bF.CP}9C();aA();if(o.5m){if(v.qE==1&&v.1I!=0&&!o.1i.2f){if(3R.6H("qG")!=26){v.1I=3R.6H("qG")}if(3R.6H("ia")==1&&v.pY==1){v.59=1}}if(v.BP==1){B sp=3R.6H("C1");if(L(sp)){if(sp.K(\'.\')>0&&o.ih){o.V.8Y(sp,1)}F{if(o.5R){B pZ=7w(o.5R,sp,H);if(pZ!=-1&&o.Q.Cm(\'4T\')){o.ae=pZ;o.P.8Y(o.5R[pZ])}o.Q.El()}}}}B sR=J;if(v.so==1){U(B j=0;j<o.cX.R;j++){if(3R.6H("pG"+o.cX[j])!=26){v[o.cX[j]]=3R.6H("pG"+o.cX[j]);sR=H}}}if(o.1i.2f){if(!sR){2g(v.Dq)?v.cZ=v.Dq:\'\'}if(L(v.Ae)){v.pj=v.Ae;2g(v.zE)?v.ph=v.zE:\'\'}}}if(o.3q){B f=o.3q.b8();if(f.t&&f.d){o.Q.i1(f.t,f.d);o.Q.3V(f.t,f.d);v.1m=f.d}}o.V.3T(v.1I);if(v.59==1){o.V.56();o.Q.4C()}if(L(v.zo)){3r("4T",v.zo)}o.an=1z rE();if(v.7y>0){O(o.1F,{"2T-6B":(v.7y+"px")});O(o.1R,{"2T-6B":(v.7y+"px")})}if(L(v.6z)){s9("6z")}if(L(v.e2)){s9("e2")}if(L(o.W)){js("W")}if(v.8c==1&&v.Wp==1){o.V.pn()}U(B i=2;i<10;i++){if(L(v["aY"+i])){if(v["aY"+i]=="2f"&&o.1i.2f){3r("aY",i)}}}1y(oO,47,H);1y(E(){js("8w");if(v.3Y){if(1G v.3Y==\'E\'){v.3Y=v.3Y.6s};2h(v.3Y+(v.3Y.K(\'()\')==-1?\'("\'+v.id+\'")\':\'\'))}},1)}E gf(e){if(o.rU[o.3M]>2){I}o.ek=H;v.iO==0?v.pB=1:\'\';if(o.pe&&v.eo==1&&!o.1i.tv){pH(e)}F{B t=(v.iO?v.iO:0.35)*2i;pf();2F(o.AU);o.AU=1y(E(){o.cP=0},t+4y);if(v.pB==1||(v.pP==0&&v.1N.q0!=1)){yp()}F{o.pe=1y(yp,t)}}o.cP++;pz()}E yp(){pf();if(o.1i.2f){if(o.Q.py()){o.Q.pu();if(o.3m&&v.pq==1){o.V.6j();v.pq=0}if(v.Wq!=1){I}}
29if(o.iF){if(v.zY==1&&v.Wr==1&&o.1i.cE){I}if(v.gt==1&&v.Ws==1&&o.1i.4l){I}}}if(o.cP>1&&v.1N.q0==1){o.cP=0;I}o.cP=0;if(v.eo==1){o.1i.2f&&v.Wt==1?\'\':o.V.gf()}}E pH(e){pf();B y=J;if(v.1N.q0==1){if(e){if(v.1N.Wu==1&&!o.1i.2f){}F{B x;if(o.1i.2f){x=e.Wv;if(!x){if(e.Ci){x=e.Ci[0].k6-fe(o.1R)}}}F{x=e.Ww}if(v.zm&&v.zm!=1){x=x/v.zm}if(x){if(x<o.3a/2){if(x<o.3a*20/100){3r("3B","-"+2m(v.1N.CT,10)*o.cP);v.1N.2M==1&&v.1N.Cw==1?7r(\'3B\',0):\'\';y=H}}F{if(x>o.3a-o.3a*20/100){3r("3B","+"+2m(v.1N.CT,10)*o.cP);v.1N.2M==1&&v.1N.Cw==1?7r(\'3B\',1):\'\';y=H}}if(y){if(e.aT)e.aT()}}}}}if(!y){if(v.pP==1){if(v.pN==1&&o.1i.2f){}F{o.1Z?o.V.8H():o.V.9a()}}}}E pf(){2F(o.pe);o.pe=1E}E oO(x){if(o.D0!=o.1R.2c){x?o.D0=o.1R.2c:\'\';oO()}F{aA()}}E aA(){B y=J;if(o.aE!=o.1R.2c||o.ez!=o.1R.2V){y=H}oL();o.Q?o.Q.4N():\'\';o.P.4N();y&&!o.1Z?js("4N",o.aE+\',\'+o.ez):\'\'}E oL(){B xw=o.1R.2c;B xh=o.1R.2V;if(o.Q){if(v.wK==1){if(v.W.1r!="2O"){B x=o.Q.cJ("CN")+o.Q.cJ("1c")+5+o.Q.cJ("C2")+2m(v.Wn,0);O(o.1F,{"1f":x})}}}if(o.4Y>0&&!o.1Z&&!o.ep){xh=xw/o.4Y+2m(v.wQ,0);O(o.1F,{"1f":xh})}if(!o.1Z&&!o.ep&&!o.aD){o.aE=2H.4t(xw);o.ez=2H.4t(xh)}if(o.1i.2f&&o.1Z&&v.yd==1&&aB.bR){if(L(aB.bR.oG)){if(o.4Y>0){if(o.4Y<1||o.P.9A()<1){B sp=aB.bR.oG(\'zq\');if(sp!==1E){sp.cA(E(){}).2D(E(e){})}}F{B sp=aB.bR.oG(\'y7\');if(sp!==1E){sp.cA(E(){}).2D(E(e){})}}}F{B sp=aB.bR.oG(\'y7\');if(sp!==1E){sp.cA(E(){}).2D(E(e){})}}}}o.3a=xw;o.4B=xh;if(L(v.1O)&&o.Q){v.1O!=\'\'?o.Q.BI():\'\'}if(L(o.hT)){o.P.1M(o.hT)}if(o.1U&&!o.1Z){o.1U.2A()}if(v.Ce==1&&L(o.cu)){2R{o.cu.2A()}2D(e){8v.1n(e)}}o.2P?o.2P.2A():\'\';o.cq?o.cq.2A():\'\';o.5a?o.5a.2U(\'4N\'):\'\';o.8S?o.8S.2A():\'\'}E 9C(){o.V.oB(v);U(B x in v){if(v.2v(x)){if(x.K("1O")==0){if(v[x]!=\'\'){o.vQ=v[x];o.V.9C(x)}}}}o.fQ?o.fQ.C6():\'\'}E a9(X,1F,1M){if(X){if(X!=\'\'){if(v.cn==1){X=cn(X)}if(1F==o.2a&&X==o.wf){}F{if(X.K("#"+v.9F)==0){X=o[o.fd[0]](X)}if(X.K("#0")==0){X=cm(X)}X=E7(X);if(L(v.E5)&&X.K("//")==-1){X=v.E5+X}B s="vV";if(1M=="6n"){s="w9"}if(1M=="1W"){s="2B"}if(1M=="DW"){s="100% 100%"}if(X.K(\' g4 \')>0&&1F==o.2a){o.jg=X.2q(\' g4 \');3I(o.vX);o.vX=7I(Ed,2m(v.Wx,2)*2i);o.eU=0;X=o.jg[0]}X=X.1P(/ or /g,\'"),X("\');X=X.1P(/\\s/g,\'%20\');if(v.Wz==1&&7w([X],\'.Em\')){B 1J=\'6T\'+v.id+\'WA\';1F.1T=\'<ef id="\'+1J+\'" 3v="\'+X+\'" 8R=1 kV=1 3k=1 3m=1 C="\'+(v.WB==1?\'3C-kU:w9;\':\'\')+\'Z:100%;1f:100%"></ef>\';o.fN=1Q.8e(1J)}F{o.fN=1E;1F.1T=\'\';O(1F,{\'2C-a5\':\'X("\'+X+\'")\',\'2C-fb\':\'no-fb\',\'2C-1r\':\'8h\',\'2C-3J\':s})}1o(1F);1F==o.2a?o.wf=X:\'\'}}}};E Ed(){if(L(o.jg)&&L(o.eU)){o.eU++;if(o.eU>=o.jg.R){o.eU=0}a9(o.jg[o.eU],o.2a,v.f5)}}E Dv(){if(o.1Z&&!xU()){o.V.wV(H);o.1i.ff?aA():\'\'}F{if(o.ep||o.4A){xU()?o.1Z=H:\'\';o.V.xI()}}1n("1Z",o.1Z)}E Dt(){if(v.iZ==1){xW(o.1F,"5C",H)}}E WC(){1n("bR "+aB.bR.q4)}E A3(){if(2H.Aa(1A.bR)===90){1n("y7");if(v.zx==1){B ok=H;if(v.zh==1&&!o.1v){ok=J}if(v.zH==1&&!o.1t){ok=J}if(o.92){ok=J}if(o.1U){ok=H}!o.1Z&&ok?o.V.9a():\'\'}}F{1n("zq");if(v.zx==1){o.1Z&&v.yd!=1?o.V.8H():\'\'}}}E xU(x){!x?x=1Q:\'\';B y=J;2R{y=!!(x.WD||x.WE||x.WF||x.WG||(x.WH!=1E))}2D(e){y=J}I y}E AZ(x){I x.2c==0&&x.2V==0};E x9(){U(B x in o){if(o.2v(x)){if(x.K("AL")>-1){3I(o[x])}if(x.K("xs")>-1){2F(o[x])}}}1n("St")}}',62,4032,'|||||||||||||||||||||||||||||||||||||var|style||function|else|this|true|return|false|indexOf|exist|||css|media|controls|length|but||for|actions|playlist|url|control|width||||||||pjstg|time||key|left|top|action|event|height|settings|break|system|substr|case|hide|duration|log|show|toolbar|icon|position||play|color|start|addEventListener||setTimeout|new|window|opacity|text|hls|undefined|container|typeof|type|volume|tmp|playlist_dic|faction|scale|hotkey|title|replace|document|frame|set|innerHTML|vast|appendChild|none|subtitle|subs|fullscreen|||createElement||||null||div|data|poster|pip|offsetWidth||seekto|mobile|exist2|eval|1000|open_action|display|vasturl|existv|error|file_type|click|split|sub||tip|right|hasOwnProperty|options|files_quality|svg|Play|Resize|auto|background|catch|absolute|clearTimeout|stop|Math|line|tiptext|Lang|parseInt|icons|push|bottom|droplist|margin|try|padding|border|api|offsetHeight|share|files_subtitle|_type|transform|||||||||||screen_w|file|linkurl|Pause|linear|hidden|player|hide2|current_quality|removeChild|autoplay|events|muted|current_subtitle|media2|scaleX|continue|apiProcessor||scaleY|plid|src|sbt|CheckColor|floatleft|rows|handle|seek|object|mouseDown|mediascale|custom|pause|ffffff|clearInterval|size|chromecast|webkit|mediacontainer|dash|urls|http|vasttype|localStorage|Seek|Volume|000000|Duration|attr|parseFloat|ready|parentNode||files|font|org|||Time|500|||_|www|xmlns|2000|xlink|end|Remove|MarginPadding|target|_to|ShowOrHide|ios|obj|values|tagvideo|delete|1px|visible|stroke|round|img|is_hls|block|default_qual
29ity|200|string|mouseHere|screen_h|refresh|trim|settings2|marginleft|preload|pointer|xhr|gradient||dom|slice|resize|marginright|plstart|_from|rightmenu|empty|speed|youtube|f2title|zIndex|Action|aspect|pljssglobal||subtitle_on||quality|JSON||Mute|||mute|effects|live|folder|pjsdiv|casting|order|int|bgcolor|_value|airplay|valuefontsize|transition|storage|m_to|rgba|out|volumewheel|f2action||next|canvas|butPosition|act|hex2rgb|random|value|menuproc|Hls|visibility|m_type|arr_up|vastloader|remove|shuffle|f2value|passive|arr_down|Motion|vast_loaders|onError|isVisible|SetQuality|focus|files_speed|animation|isLive|dechar|getAttribute|important|onOut|bga|ftitle|||max||||||||toString|valuecolor|vast_|plx|iset|keys|captions|clientX|evntclk|Unmute|UpdateText|UpdatePlaylist|clr|fill|is_dash|cut|hlsconfig|files_|name|onOver|over|off|safari|cancelBubble|File|midroll|reload|radius|open|UpdatePlay|show2|charAt|overflow|getItem|dash_created|ease|minutes|removeEventListener|download|solid|state|cursor|filter|current_audiotrack|activeiconsize|pjs|always|bgpaddingright|intro|status|String|iphone|||||||||||parse|default|FindBut|bgpaddingleft|skip|control2|ttl|box|f2i|redirect|setAttribute|motions|preroll|files_audiotrack|aover|line3|Events|PluginHotIcon|ioff|bg2|obj2|ended|indOf|tips|rounding|ShowPoster|audiotrack|vast_and|span|channels|customline|Value|realfullscreen|navigator|setInterval|toolbarHidden|SettingsTimers|_url|backgroundColor|val|touches|metadata|okpd|seconds|parent|playing|current_url|_show|Date|hideleavetimeout|1999|Object|||||||||||waiting|Settings|pass|StopWaiting|getElementById|HLS|version|center|fvalue|buffered|points|tipcrn|Zoomed|layer|HideControl|onEnded|paused|globalfs|align|lastwheel|_cul|console|init|label|Advertising|bordercolor|VAST|timer|is_sleep|bgaover|parentIframe|alpha_div|hours|Normalscreen|location|isVastBgLoad|preventDefault|sub_off|container_h|container_w|href|pnt|line0|loop|rel|is_ws|xbg|info|UpdateObject|leftBg|SetSpeed|SetSubtitle||pipwebkit|ispipkit||Tip||unmute||||Fullscreen|media_error|timeline|loading|area|setItem|floor|hlsquality|hidden_volume_over|ctx|icn|stretch_width|lines|scroll|txt|apiprm|opid|clientY|ResizeText|ll1I|onWaiting|Waiting|customtext|space|vast_or|min|ratio|srch|Title|hls_created|hls_subs|enc2|lang|message|levels|fbg|getTime|fltrs|Arrows|End|concat|cutted|HlsLevelsLength|actionstt|mouseup|pointerEvents|hlsautoquality|bitrate|wait|marginproc|all|plhistory|nativecontrols|gaTracker|blur|hls_config|loaded|image|track|com|curtain|Poster|Sub||onPlay||current_speed|lIll|onDuration|shadow||files_quality_ag|tag|small|reloadTimer|alert|Array||ncrtat|bgcolorover|destroy||PlaylistNext|margintop|iconscolor|motion_id|buffer|_hide|MainResize|screen|8px|fullscreen_process|normal_w|bgl|source|sec|bgtop|audiotracks|open_settings|_cstm|SubtitleChanged|Switcher|_keyStr|getElementsByTagName|charCodeAt|_css2|SettingsClose|stopPropagation|Status|but_x|upld|onClick|design|default_audio|stage_y|||stage_x|body|vertical|mrgnprs|m3u|flag|rotation|scrollbgcolor|onMouseUp|evntovr|scrollLeft||evntout||onTimeupdate|add|Start|||noads|bgpaddingbottom|white|Retimer|replay||Background|Close|SettingsVisible|f2id|bgpaddingtop|clicktime||pld|delta|sub_shift|forcehide|Stop|subtox|control_title|autoplaylist|VastRemoveAndPlay|cubic|toolbar_hide|audioTracks|onMeta|pjs_i|CreateItem|switch|tlbrhd|id_|orientation|enc3|sttx|but2|but_space|is_visible|timestore|StyleItem|currentFile|vsts||||hlsaudio|_rb|line_width|forbidden_quality|3px|control_|touchmove|||reloadto|vast_loadtxt||dur|ShowOrHideProcessor|vimeo|ldr||prev|fd0|fplace||line3value|quiz|butplstart|volumewheelin||ima|title2|browser|||PlaylistNextExist|then|DashLevelsLength|deltaY|search|android|line1|CustomSwitch|Clickable|Playlist|PlaylistG|00|qualities|thumb|channel|inline|clicks|onload|textTracks|CalculateClick|titlestore|AfterVast|pause_before_vast|Remove2|sub_options|currentTime|sub_bottom|skpbt|readyState|salt|playById|prc|_speed|event_y|ActionPlaylist|Scale|plfolder|icns|onMove|load||scrollTop|weight|CreateHLS|line2|PlaylistPrev|||autohide||Home|iconsover|10px|toend|hlsfdt|saturate||speed1|hidejustfull|stout|300|shuffle_|controlover|toolbar_margintop|ellipse|removeAttribute|floatwidth|Toggle|hiddenwidth|copyObject|handleicon|bgbrovr|newplay|onVolume|update|PipWebkit|decode|event_x|but_y|_start|responseText|file2|_lastime|err|l1lI|normal|vast_longtimeout|touch|nowrap|played|vast_impressions|overlay|native|hlsdrm|send|fontnames|fontSize|PlayerState|coh|frameresize|cow|SetAudioTrack||pauseroll|video|NewFile|Pos0|tagframe|pltxt|acted||||screenclick|fullscreen_start|ll1l|pjs_id|ScrollTo|MediaReady|loading_error||or0|file3_separator|active|normal_h|iframe|err404v|pljssglobalid|hidden_volume_over_process|transparent|qbr2|mediapip|sub_color2|starttimeout|plNxtExst|Subtitle|setSpeed|abc|ControlClick|PlaylistVisible|SubtitleSettingsMenu|sub_settings_on|brandurl|shareme|posterhide|pstrsi|_preloaded|20px|brightness|current|linecap|PlaylistPrevExist|family||srs|ObjectFit|poster_scale|handlewidth|o
29pt|f2bg|hlsDashSub||repeat|scaleover||findLeft||PlaylistExist|Il1l|touchstart|Pnt0|Ready||rldcnt|seeking_time|StageMouseUp|Reload||Airplay|tchs|||minify|bgpadding|rightbs|stretch_with_volume||VastRecover|handle_width|upldfl|subupld|bottomside|subtitle_start|desktop|touchend|StageMove|hdnn|spacing|mode|texts|pstrv|cul|sub_color|mediatags|VastAddPreload|sub_or|expand|sub_sizeproc|pointed|_id|rightside|topBg|thmove|onPause|timeFormat|url_shift|RemoveCurtain|and|vast_poster|hidevideo|bgg|justshow|hls_force||fatal|nativeAudioTrack|alpha|marginbottom|ScreenClick|mediaSession|not|pjs_|0px|quartile|000||showovercontrol|HideInterval|HideForce|Init|HidePoster|nomute|nativefullios|errorto|settingsovertimer|fontsize|checkFont|control_line|relative|maxBufferLength|600|TagPlay|gif|opn|indOf2|items|showoverto|hdicon|overopentimeout|create|groupId|_step|fff|Curtain|flip|compilation|tippointer|ToolbarDown|FindPlStart|polygon|actplay|butNames|pic|_ease|HideProof|link|videoHeight||default_style|kbps|NativeEnterFs|nbsp|hideonpause|pstr|XHR|onclick|bgt|_status||casturl|wheelstep|ToolbarShow||tipbg|pjs_parent|clickarea|clickmargin|iconreplay|custom_speed|SwitchText||current_|TipText||ymax|sxs|seekwindow|ni2|gatracked|CustomToogle|sourceBuffer|tmln|chrome|hidewithoutmoving|hand|QualityChangedNoHand|AirplayChanged|pldur|clicked|shr|Off|SubtitleLoad|downin|SettingChanged|bgh|Download|VastNext|pl_first_id|url2|MidrollOverlay|custom_aspect|contentWindow|touched|ScrollOverOut|uijs|volumescroll|scrollarrows|scrollleft|Played|qbr1|CustomText|Ctxt|va2l|UpdateSpeed|floatheight|PlaylistControls|StyleArrow|pljsmute|VastAndLimit|airplayed|||||line_speed||svg0|PlaylistShow||file_separator||HistoryPlaylist|headfontsize|StyleLine|rect|||htto|rotation2|midrolls|hidden_volume|BufferStop||hideoutmute|resizePlaylist|ResizeSettings|kap|win|nativefull|toggle|stty|fcdef|dontplay|Thumbs|RenewSubtitle|ctxtnk|PluginSub|dclckto|vast_longtomsg|playlist_source|result|hidetimeout|scl|_prevIcon|Rot|ipad|swipev|999|observer|compilations|playerid|findTop|VstLdTxt|frag|playersize|3000|recover|details|offsetLeft|FileTo|tippadding|currentLevel|tipbgcolor|ctx2|hlschangequality|pstrs|mpi|shift|iconangle|Cut|onmousemove|plrs2|removed|tpp|marginprocleft|HandleWidth|_ended||tipbga|linkurl2|ShowForce|_psd|1em|base64|nohls|brd|gao|backdrop|jpg|created|galabels|stretchonfullscreen|YtInit|gain|days|ssfontsize|play_errs|onmouseout|pushCSS|onmouseover|_play_i|normalscale|canvas2|pip_quality|sizing|hls_stuck_time|letterspacing|parentcontainer|cftlr|toolbarInterval|https|l3v_show|handlehide|||NativeControls|240p|pageX|Parsed|TimeSub|srt||400|RenewPoints|RenameQualities|hlsrows|SettingsN|autonext|sub_shadow|prm|randomstr|speeds|onSeeked|sub_weight|ErrorOr|_max_order|float|destroyed|href2||Mouse|unshift|offsettimer|FltrVal|lrpd|m3ut|_t|plurls|pldly|360p|Error|SubtitleLoad2|onplay|memory|file2_separator|hlsend_to|xtitle|subload|errorMessage|autoQuality|5px|ShowTip|left0|_activeIcon|sub_bga|SetSetting|letter|fit|playsinline|480p|domain|onSeeking|full|seeking|_seekaftervast|sub_bgcolor|iosfull|limitmaxwidth|timeld|isvg|playroll|rld|eventstracker|wght|wait_to|998||playlist_title|2001||started||PlaylistHere|menu|while|embed|vars|sub_x|valuefromlang|StyleActive|PlaylistRewind|opera|||thumbnails|openById|num|playbgcolor|openfile|sleeptimer|mtp|AudioTrackChangedNoHand|KeyPlusUp|plopt|lastIndexOf|lang_|close|dvrtime|playerjs_|setActionHandler|current_file|wtcntrl|UpdateTime|sub_reset|MenuProc|insertBefore|gifed|vol|userseek|StringVar|KeyPlusDown|isTypeSupported|sub_all|gaTrackPlay|getHLS|sepia|||||_stopped|wheelinterval|arpl|fileTimeout|picture|hlsfps|subopt1||hlscq||autoLevelCapping|files_channel|Update||loadLevel|HlsUpdateAudio||getDASH|isAuto|y
29outu|subsor|dashquality|||urls_and|prefile|timerTime|sub_upload|YoutubeID|RemoveMedia|ResizePlaylist|audioTrack|Start0|plrs|covervideo|FileType|videoWidth|quality_received|floatlimitwidth|remember_sub|ShowLayer|UpdateVars0|stuck|UpdateVars|container_id|autonextopenfolder|response|_wait|HlsLevel|livewakeup|vastfrombg|offsetTop|mediaSource|autoprevopenfolder|ksu|BeforeVast|vastonmobile|showinterval|_readyonplay|PipSize|CreateDASH|drtn|isPlaying|playVideo|audiosrc|youtube_id|AudioContext|YouTubeIframeAPIReady|script|nops|edge|unmuteplease|rename_audio|1080p|fspr||hidevar|alldd|find|done|BgBrAct||newfile|hidevar2|hideuntilstarted|sub_stroke|VastBgLoad|VastLoader|scrollarrowcolor|Load||scrollarrowsize|vast_type|parsed|mini|hdstp|_fullscreen_end|navigationUI|poster_aover|omt|nhs|subdrag|_lastactbut|VolumeWheelX|adsfirst|apdr|onStep|_steps|VastVisible|NativeExitFs|overlays|resizeonwidth|setaction|ssa|Ended|fjs|current_plurl|SubtitleOff|PlaylistError|but_h|CreateShare|limitwidth|hmx|restart_audio|YoutubeReady|160p|SubtitleError|seeked|720p|bgtmp|scrollwidth|stretch_width_last|HidePoster2|pauserollonplay||vstpause|postroll|resizeSettings|Show||worked|showposter||rldplay|classList|ssflyp||PlayerjsMenu|sub2|fid|StopMedia|resizeonplay|poster_a|openplaylistbefore|Touch|lineHeight|TitleTemplate|100000|leavetimeout2|now|mouseMove|lock|StageLeave|timeshort|isReplay|hideAllIcons|MainUpdateSize|tippaddingtop|pageY|FrameResizer|CreateTip|IconsColor|lngth|mouseHere2|tagName|frames|suboptns|icon2|BgClr|iconscolorover|rmbgcolor|button|iniframe||exception|container_h_procent|resizetxt|postMessage|playlistrewind|imgldd|playlistloop|tipalways|333333|iconopacity|noclick|click_t|ClearClick|iclr|sub_size_fullscreen|timeline_h|sub_size|handleaover|||Password|rotate||unmuteonclick|||handlescale|StageMove2||mouseUp||ToolbarHidden|JsClk|ceil|click0timeout|lastTouch|ff0000|bgbordercolor|bgborder|pljs|DoubleClick|_control_|mcGFWJ48UM9JnwZ|toLowerCase|polyline|colorbg|nativecontrolsmobile|moz|doubleclick|customdesignsvg|svg3|HideTip|onDown|documentElement|title_template|thumbs_on|marginbg|mutestore|spd|seeksides|||handleiconspress|angle|bgo|clr_options|mouseover|bgcontainer|referrer|rc_label|rightout|datetime|14px|sans|serif|found|onClickSubtitle|static|screencolor|mouseout|scripts|rightclick|hideuntilto|showtitleplaylist|changeheight|vast_preload|NewAspect|Style||vstdwn|toolbarhidden|iOSTrackLoaded|over_final|vast_starts|sub_font|dontload|VastPreloadLoad|vsrc|Controls|volumestore|Recover|pljsvolume|RemoveForNextAd|movevent|onTagError|Thumb2|Replace|SetCurrentQuality|DVR|VastPreloaded|subtitles|removeTracks|startwait_t|outro|file_yv|posteronpause|pstr_to|Youtube|SettingsParser|clientWidth|ChkDrt|nextLevel|||vast_midroll_limit|midrollo|restart|vdid|innerText|_time_load|input|EndMove|150|div2|nativesub||handlehideinit|xvalue|CheckDash|vastclick|ShowHandle|brand|nohead||FSL|Empty|hlsSub|handlemove|_hlssubtracks|onPipEnter|||contentDocument|onPipLeave|||mediadrag|_stop|Bglines|timeline_w|hmaxk|Alert|vastcontainer|xy00|toggleControl|getDuration|bg_hide|PluginMovable|coloroverplay|floatmarginright|VastVideo|complete|_timeout|vastgo|audio|sleep2|_set_quality|moving|bordersize|removeItem|advertising|mobtch|RadioTags|write|||||tagsurl|normalscreen|playiconbut|Alpha|str2obj|leftandrightpadding|ytautoquality|moveOr2end|paddingleft|onup_to||CreatePoster|pjscssed||_move_rights||_rights|order0|removedNodes|sub_designstore||handleiconpress||||splice||||ie9|onDash|tippaddingleft|onWkitKey|paddingright|onUp|handleiconover|VastGo|content|playerjscom|second|but_w|minute|hour|playsinlineonmobile|Preload|LineScale|VastCheckNext|_recover|substore|adsinchain|nativehlsios|onYtPlayerReady|maxMaxBufferLength|SetHlsQuality|Seeked|userid|_tags|span05||||||pljsuserid|checknative|pljssubtitle|Metadata|scrpt||prototype|ll11|posterhidepause|MseIsSupported|hlserror||LoadedData|InitVisible|HlsAudioTracks|pjsframed|PluginReplace|hls_started|||isNaN|Playing|pljsquality||ErrorReload||reloadtimeout|VisibleCheck|SubtitleLoadAll|SubUpload|HlsAudioTrack|reloadfirst|ErrorMsg|qualitystore|renameTracks|onYoutubeReady|heightInterval|CreateWS|1440p|activeicon|NativeSubtitle|rmcolor|ass|NxtExt|SubtitleParse|gaurl|l1ll|cnt|sleep_timeout|HlsSleep|Script|Captions|vtt|join|DrmVars|WaitSize||540p||||||||||pipto|dont|hostname|sub_store||urlsl|ioscss||Player|getQuality|appearance|HlsSleep0|getAudioTrack|is_hls2||network|code|ws_created|Menuproc|stopotherplayers||tchs2|CheckPip|lastsub|getVideoData|6px|IndexPlaylistProcessor|v360|enabled|SubtitleTimerMenu|viewBox|fontFamily|butByS|tagSrc|VisibleItems|StartSpeed|decoration|settimer|TipVol|pjs_parent_i|sub_bgpadding|IndexPlaylist|notofh|2160p|mobiled|setQuality|mousemove|tipbgrounding|tmpr|tippaddingbottom|tipcolor||tipfont||tipfontsize|tipletterspacing|sub_upload0|toFixed|poster_float|blra|RightMenu|urlcnfg|png|PlaylistLoad||Media|m3ui|FileReader|cntrls||filerorto|pljstrack|pp2|autoplaymute|nocontrol
29s|Shuffle|Review|onerror|End2|borderRadius|volume2|PlayerSize|ControlsBg|ChangePip||End3|reRightMenu|SetSubtitle2|mdswp|dash_subs|gained|Open|SubRem|audioctx|geo|timerInterval|nativeControls|handlea|fixed|Rotate|chr|encoded|last_text_w|maintitle|pepper|Marquee|postsmbl|presmbl|contain|CstmTgl|pstrsin|clickscaley|mutedautoplay|updatePlaylist|resizeFromText|||TheEnd|lastt|settingsNumberVisible|together|plopenid|cover|stvs|QualityChanged|hidetime|Text|ctxt|currentposter|SpeedChanged|csta|stringify|Loaded|fromCharCode|noprevicon|StartTimeout|arrinterval|start2||youtubeposter|nwfl||MediaSess|thumbs|||check|HidePositionControl|Loading|utx|killMotion|CheckHideVars|UpText|Prefile|UpdateVolume|Places|quick|hdbrdclr|SetCSS|change2playlist|ControlOut|match|playlistovertimer|tem|ReplayIcon|screenmarginbottom|downi|last|toolbarisdown|btm|NormalscreenUI|grdlft|StyleSubtitle|fonts|pldur3||||||pldur2|minw|_currentIcon|drawImage|Destroy|sstext|ssfontcolor|cpm|onMobOver|onClick2|onMobMove|bordercolored||ActionOptions|clck|ontouchmove|submm|_i|tmp2|addtitleplaylistbr|stopkeys|sub_off0|piped|timeout|addtitleplaylist|ahd||||openplaylistroot|show_settings|show_playlist|smbls|other|SubOpt|hideonplay|doctype|NoSpan|removebykey|FullscreenUI|ClickArea|imageLoaded|resizeonmouse|resizeme|startcss|marquee|playbgcolored|bgcolorlink2|UpdateStart|linkurl0|_css|isFullscreen|control_start|Visibility|leftright|updown|TipHide||||||rename|spn|landscape|3600|yamtrid|pjslng|logout|Playerjs|landfullmobile|subpausehide|pauseVideo|CloseSttx|historytitlea||querySelectorAll|ShowShare|volumewheelfull|TitlePl|resizetext|exitfullscreen|ScreenClick2|marginbgcolor|ControlCoordinate|introstart|wheel|valuemargin|scrollarrowbgcolor|historybgcolor|VolumeWheel||scrollarrowbg|firstly|customTextPl|reloadlog|deltaX|path|handlecolor|deg|ClosePl|fzoom|fullblack|marginbgpadding|msRequestFullscreen|re_y|upText|webkitRequestFullScreen|mozRequestFullScreen|requestFullScreen|CustomTextButs|requestFullscreen|Visible|fileorto|ToolbarHide|effect|valuepadding|historybga|play25|||play50|play75|_blank|Action2|JsEvent|vast_adid|RightCSS|rtBZnhdy|ga_event|setVolume|dashaudio|4px|ct2|timelimit|rmsize|lsfullstart|removeNativeSubtitle|Yandex|nativeSubtitle|direction||MediaVideo|default_speed|pjslog|portrait|Href|encodeURIComponent|zoom|butseekto||gtag|landscapefull|rand||wrapper|sfjs|time2|clrs|sub_sizemobfull|parent_domain|mss|lsfullplay|yamtr_event|yaCounter|nativenotipad|Number|nativenotios|nativenotiphone|360|640|seekTo|rgb|ffect|keyframes|timebreak|_html|666666|1800|nativefulldroid|isVpaid|hidestartbutios|System|right_x|OrientationChange|RightOver|RenameTracks|unset|subshift|full_hours|full_minutes|abs|toLocaleTimeString|RightOut||sub_sizemob|ovr|notag|Scripted|slng|adsinvitation|ads|right_y|crt|ParseUrl|RzYasdtH|PipSwitch|minduration|Timeout|filetod|FileTimeout|fileto|rc_anyway|menufltr|reYT|highlight|rc_version|nor|tap|Ease|str|CrShr|movable|rest|last_subtitle|current_time|Stopped|geobj|Interval|helvetica|getContext|ffdd1f|PlgnVstLdtx|arial|elastic|rc_labelurl|PlgnVstPstr|click_t2|cuid|PipToggle|VastBreak|index|isHidden|Drt|isyoutube|height_div|maxresdefault|MediaYoutube|sub_allmyt|PlayerjsEvents|current_vast_url|api_|FindIdPl|Timer|dasherror|width_div|VastInfo|timelimited|sub_off_title|default_subtitle|youtubeready|analytics|RightClick|ltr|toUpperCase|clickmarginbottom|midrollimprsd|CreateMedia|mcGFZdc0Xa4qfMKqmcGFWJ48UM9JnwZ|callback|imageExists|playlist_id|SetChannel|PjsFramed|pjsfrm|pjsframe|Papi41|skipads|RightMove|YouTube|pmevnts|Start00|PluginIntro|redirectonclick|playId|1550|PluginTrack|updateTitle|MSIE|plcontinue|PluginHeart|offset|url3|heartbeat|speedstore|FindFileInPlaylist|apto|castname|outside|maxTouchPoints|PluginSlides|passontime|sub_bg|update_|msie|plapto|pljsspeed|margin_bottom|last_ors|openpl|PluginGeo|read|PluginRel|playerjs|after|006|sugar|playedquartile|ShuffleEnd|vast_ima|playedstore|Quartile||changedTouches|scrollX|globalfontname|getBoundingClientRect|SettingsExist|firefox|comment|swiping|textarea|Exit|vpaid_starts|Hide|175|limit|seekicon|reloadlive|adblock|pjsin|sub_big_fullscreen|KeyDown|resume|fullonplay|fullonplaymobile|redirectonplay|yamtr|endfull|seeked_time|935|sub_lineheight|adscounter|StopOtherPlayer|scroll_height|closePl|template|nooverlay|nomidroll|templated|seeksidesec|InvertPlaylist|reverse|sub_bgo|shwvstfnsh|HidePoster3|dblclick|screen_lw|trkp|autoplayed|PluginThumbs|KeyUp|posterhidetime|incorrect|Swiping|1150|StorageSupport|PluginPip|vast_prestarttimeout|posterhidestart|requestAnimationFrame|Actions|lI1l|cancelFullScreen|sesstime|VastLongTimeout|ChkHlsEnd|iosExitFullscreen|isArray|upload|tagsinterval||whlskfll|sub_bottommob|onPlayTag|scrollwheelfull|ParentFS|parentElement|FullscreenChange|playerheight|styleSheet|900|XMLHttpRequest|createTextNode|mobiletv|vast_longtimemsg|GET|frmvst|pipSrc|exitFullscreen|subtitle2|High|msExitFullscreen|contrast|playByYoutubeId|webkitCancelFullScreen|mozCancelFullScreen|cancelFullscreen|copied|recovery|n
29otv|denied|vast_nofirst|intros|I1lI|stretch|norld|700|_ue|StageOver|access|alerts|finishrewind|_ud|preposter|mousedown|checkBase64|sub_split2words|224|swipep|TheEnd2|SubtitleBottom|Posters|1val|andlimit|noindex|fs_error|PostFullscreen|preloaded|ReloadTimeout|SettingsSpeed|mp4|0val|alert404|PluginErrorVideo|alert404video|device|Playback|alert404v|casterror|trackstore|alert404text|castdevice|pljsfirst|scrolling|playsinlineonmobileiphone|1001|historytitlestrike|handlemargin|resize2|upTexts|customText|showShare|titlepl|315|plclose|_w|roundout|linktarget|_a|ssflyw|screenshot|hidepsms|linkpause|bgbrdrw|offsetwrite|muteiconbut|pipVol|back|clickmargintop|userpause|PlayerjsAsync|userplay|unmuteonplay|actpause|bglines|bgline1|historycolor|PluginPoints|bgline2|hideoverwidth|scrollarrowgradient|scrollarrowbgover|customdesign|hidewovar|scrollarrowbgovercolor|FFFFFF|hideonvar|hidebeforesec2|hidebeforesec|hideaftersec|hideonwidthlimit|hideonwidth|valuesize|hideoverwidthlimit|ArrowsInterval|PlaylistBack|220|floatheightsmall|alwaysjustpause|alwaysnotfullscreen|floatwidthsmall|ScrollDown|smallfontsize|ScrollUp|hidewithoutplaylist|ScrollRight|valuerounding|valuebg|ScrollLeft|valuebgcolor|sttr|hmaxk2|gradientcolor|thumb_border|subtitleTrack|handleinit|hls2|_duration_play|_time_play|UpdatePlaySeek|setHlsAudioTrack|UpdateLoad|_duration_load|PluginCut|CreateThumb|thumb_width|thumb_height|thumb_radius|thumb_borderwidth|addTrack|thumb_bordercolor|thumb_shadow|tippaddingright|setHlsQuality|setTracks|SubtitleSettings|setDashAudioTrack|setDashQuality|PluginHlsFps|SubtitleSettingsClose|webkitSetPresentationMode|Arpl2|linetippointer|UnArpl|width100|showing|marginprocright|paddingtop|handleiconsover|lrppp|lrpps|ControlX|marginproctop|marginprocbottom|PluginShare|OpenPl||NewPl|current_thumb|CancelBubble|always2|valuealign|ControlsBgClick|sort|toptip|place|linetipmarginbottom|thumb_move|timeupdate|hlsptm|loadedmetadata|volumechange|PlacePoints|yOffset|durationchange|enterpictureinpicture|leavepictureinpicture|webkitneedkey|270|xOffset|40px|hideonfullscreen|PjsCheck360|onClickTimer2|opposite|action2|Control|MarPad|bggr|_xIcon|pressed|togglesubs|keyCode|which|selectOpen|rotateonhover|plusminus|18px|onClickSubtitle2|setupx|hideafterclick|pldelay|Click|nums|Pldelay|bgcolorlink0|tipmargin|UpdateSettings|_subfile|tipvar|cstm|action_settings|unhidden|PlaylistMove|scalesmall|hlscaptions|PlaylistOpenId|clickscalex|openplaylistpause|onMouseDown|topside|often2|hideonleaveandplay|often|bandwidth|hidebefore2|hidebefore|hideafter|unblock|Hideuntilto|ontouchstart|_reset|lineh||inversetime|bold|fontsizesmall|onMobOut|mobileover|picheight|ffeeab|iconmargin|rotateplaying|bgstretch|svgtmln|5000|rszr|icon3|liketext|hidesec|PlaylistPlayId|bgbract|wps|hideonvolume|DownIn|HdIcon|setcss|controlCSS|nxtttl|apdra|ShowAnimate|ControlOver|HideAnimate|ShowControl|SvgColor|Wheel|ControlLine|hidedown|hidewithposter|ontop|PluginSkip|unfixing|gradientcolorbg|PluginOpen|linespeed1|gradientcolorload|playedstored|_nextIcon|colorload|PluginPlSrch|linespeed2|linespeed3|hideuntilmeta|setting|Buffer|DisplayControl|prevorius_default_w|iset2|noClickTimeout|prenewpl|PreNewPl|PlaylistClose|zoomed|RenewFromTitle|Exist|with_hours|UpdateTimer|with_min|Volumescrolled|minus4back|posteronwait|prevorius_default_h|leavetimeout|displayvolume|7px|playonhover|translate|Tmln|upd|PluginMbps|brda|HideElement|headbordercolor|borderbottom|wtpstr_to|pstrwt|WaitPoster|iconsreplay|Arpl|bgw|Rectangle|Init2|obsrvr|debug|supported|hlsTextTracks|MutationObserver|audioGroupIds|livewakeuptime|showById|hlslowquality|HlsLiveWaiting|nameofhlsquality|renameQualities|HlsQualityLevels|sourceBufferValidAPI|postmessage|method|FlussonicMsePlayer|preloadhls|mimeCodec|linker|hlscookies|alertsbgcolor|pljs_yt_|scroll_left|scroll_down|CheckTop|drm|startLoad|show1value|prtObj|optStr|15px|ENDED|getPlayerState|rc_|hlsmaxlvl|isSupported|preloaddash|dashjs|openplaylistafter|hlsfto|IFRAME|onQualityChanged|wrong|CustomFonts|notframe|hlsmto|maxLoadTimeMs|parentIframe_style|PluginHlsFps2|yterrors|onLoadStart|customyterror|webkitendfullscreen|prted|iosexfull|webkitDisplayingFullscreen|Qualities|hlsdebug|postmessages|language|SourceBuffer|loadSource|hlsquality_off|MediaSource|onLoadedData|changeAspect|PjsFrMsg|MetaAudio|hlsvastwait|hlsdrmfp|Width|nopause|unpause|scrollHeight|hlsaudio_off|today|reHls|alertscolor|PjsFr|aborted|PluginDash|alertspaddingv|ShowTimeout|scheme|pjsfrrs|Gain|customBuffer|alertspaddingh|youtubecontrols|connect|nameofyoutubequality|volumegain|mpd|disableRemotePlayback|onYtPlayerStateChange|mrgnsmll|PlayingChecker|allowfullscreen|framei|m3u8|alertsfontsize|PlgHlsFdt|user|nextAutoLevel|allowtransparency|gainedsource|um1|allow|alertsbga|evenodd|rule|Continue|iframe_api|ytcl|PLAYING|hl
29s_stuck_duration|hidecontrol|line_volume2|dvr|anonymous|HideLayer|Font|pressed_|mdZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjP45jaKGjafCfabEktu5lQu3hPZ|Windows|Shadow|offsetoptions|fsGsXTkFYtfslsf8Z3WxfenzWeOymPZIjMZqXdSzW2r0mPZIjMZ|meLrndqqWa0xQQbGitj4ktNIlaVClP43lQZ1jJq3fbj5itq5laf4kQZHiauEkJu3kQj4kIK5itRGjQfHkaf5iabGitb5kaZ2jaNqlP41jabIjQNIlPGHjM42laZ5kaV5fbj5itRGjQfHkaf5iabHitb3lQuHlaZqlP44lQqIlaR3jPGHjP41kJu1ktu5fabGitj4ktNIlaVCjQbEkQZ5kQV5lPLjjQjEjaV2lQf4ksGHjP41kJu1ktu5fbG5itq2laR3jQNJiab0itZ4jJu5ktfqNJuEkQb4laR3jQNCjQREjQf3kJV5jPK5itRHlaq1kJb0iab1itV5jJq0jajqlP44ktq1kJb0jIGHks4GjJZ2jQjIfbjHjM4IjQN2kaf5iab2itj4kJN1lQqqjQKEkJZ4jaZHkMGHks4JlaZ0kQu4fabHitbIktR3jQNCjQVEjaj3ktbJjsLjjQNEjJf3jJR3jPGHjs44jJqGkaR5fbGHkM4JjtZJkQZHiab1itRHlQR2jabqNJb0itjIkJj1kJbCjQVEjaK3laq3kIKHkM43jtN0jtq2iab2itNGkJRJlaqqjQREjtb2jtb0jIGHks40jaZ1jJq4fbjHkP43jaNJkQZHiab2itNGkJRJlaqqjQVEjQK2jtq1kIGHks4GjaZ4laZ3fab2itbGktf4kQZCjQREkQb5kQVGjPLjjQVEjQKHkaf4ksGHjM42lQf4jaR5fbjHks4Hjab0jtq2iabGitN2jtKGkajqjQVEjab1jtb0jIGHjM4IjJq0lQbIfab1itq0kMGHjM4GkQu5jtj3fbjHkP42kJf3laR3iauElaq4ktN0kQuqjQREkaNIjaZHkMG5itqGjtj5kJV4fab1itfHktfHkajClP44jafJlQZ2lMLjjQKEjJq2kaf4ksG5itZ5kJRJlaZqTsZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjQfElaKJkJRGiMKHjI4Hjaf1jJuzfegFndc0WPqDjtZGitKGjaKGjMuqnegrYxkCVUOvhM0Hjs44jaj3kQKCfM0HjI4Hjaf1jJuzfMZqWwvCYa0xf2WwWwWwWsnZiJ48Zdc0XMLumPnkjM44laRIjQNIlaVClP44jaKGjajGkPLajM4JlQZGkJb0jtuClP44jaKGjajGkPKGiabGitb5kJK3kaRqjMGHjM42lQKGkJN1fbjGiabHitb4jQq2jafqjM4JlQZGkJb0jtuCjQbEkQqHjJVGjsKGitq4kQfHkaf4ksGHjP41labJktKIfbGJitR2kQZHkaf5iabHitR4jQj2jafqQaKEjJV3jJR3jQNJiab0itZ4kaR3kaRqNJKEjab3ktNIlaR3jPGHkP4HjtqIjQZJfaKEjab3ktNIlaR3jPGHkP42lQNGkJN1faKEjJV3jJR3jQNJiab2itKJkJZHkJjqNJKEkJbJkaf4kQZHiab2itj4kJNJjQVqjP4IkJV4kQZHkMGHks4JlaZ0jJb2fabEktf1jJR3jQNCjQVEjaj3kJb3jILjkM44jtVHkaf4ksGHjs44jJuJktKIfbG0itqIktb0jtq2iab1itRHlQq2jafqNJNElaf2jQNIlaVCjQVEjaK4jaKJjPK1itfIjJfHkaf5iab2itNGkJRGjJbqkP43jQRCjQVEkaK3kQKJjPLaks4IjajHkaf4ksGHks40jaZ1jajHfaVEktK1jaZHkajCjQVEjaK4jaKJjPK2itVGkQK3jQNJiab1itRHlQq2jafqQaVEktKGjtb0jtuCjQKEktu0lQjHksLaks42jaKIjQNIlPGHjM40ktNIjQZJfaVEkQb0iabGitf0jaZ4laqqks4Jkaf3laR3jPGHjM4GktfIlaq4fbj2itb3jQR3jQNJiauElauHjaZ0kaqqkP45kaK4kQZHkMG5itqGkaq2jab5faREkJb1iauElaK0laVGjQuqQaKElaq1jtb0jtq2iauElaKGjaKJjaRqTsZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjI4Jjaf1jJVCfabJitbGjJZ1jIuqZw90VUOvhM0HlaKEjaKGjaKGhPL0ZwcEZ2HrndRyiQjEjJKIkQj2iMKDjQjEjQKJkJRJhPKxfdWzYdG9gIkwWwWwWwVxUM8|sub_all_title|Trident|Previous|Safari|222222|hidearrow|sleep2options|meLrndqqWa0xQQKCjMLjjQVCjMLjjQVCjsLjjMGIfbGGiaKqTsLkjMG2fbGHksG2fbGHksG4fbGGiaqqQaKCksLXfb0GiabIfbGHksGHjsLjjQVCjQNqQaKCjQNqQaKCjQfqTsZqWwvCYa0xf2WwWwWwWsnZiJ48UM9xmtHZi3k2WJ4siMgrV3OzY24slsgGYdc5YdvJnMfCfxLFZ2v0XT9EftysYdSwnMfCfw1rZwnzYsf6ftKqjMKGfaVsiMgsWIf6jPGsZ2krYdRsltbEkPGsnevGWPf6fxk2WIfCfwcEXT1rndvFYsf6fxLFZ2v0XT9EfsGsVwnGVTOuXT5xftysjIKJfajqjIfCfwgxVPf6jM40iMgsW2cFnwSIftyGitqCfxOzZMf6je0CfwkFYxOIY2HpWxSCYMf6oIgFZwOvZsf6lPGsY24sltbCfwvtY24slsf8Z3WxfenzWeOymPZIjMZqXdSzW2r0mPZIjMZ|speed4live|mdZqnegrYxkwY3gDmPn0ZwcEZ2HrndRykP41iMK1hPZ|Firefox|177|onPlaybackQualityChange|clear|mdZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjsGqjP42lQu5lQZzgJ48Zdc0XMLumPnkjQKEjJq1jtb0jIGGitb5ktq1kJb0jILalP44lQZGkJb0jIGGitb5ktq1kJb0jIK5itRCjM41lQj5jtq1kJbqlP41iabEjaq2lQf4kQZqNJuEkPGHitR3laZHkaf5fauElau3jaZHkajCjP45kJqIjQNIlPKHjM4JlaRIjQNJiabElQZ4jtb0jtuqQabJitK2kQZHkajCjP45kJqIjQNIlPLjlP44ktZJkQZHkMG1itb4jQNIlaR3fbj5itRHkJV0jtq2iaREkQf1jaZHkajqlP41jQZ2kaf4ksG2itK5jauIlaR3fauElaV3jJR3jQNCks40jJN1kJb0jILajQKEjtbJkaf4ksG2itZ4kaf4kQZHfabGitZ3ktq1kJbCks43laNIlaR3jPKHjP4HjtRJkQZHiaVEkaj0kQZHkajqQab0itjIktb0jtuCjI4IjJVIjQNIlPLjjQNEjJf2jQNIlPG1ituHktZHkaf5fbjHkM4JjtVHkaf5iaVEkaK0laR3jQNqjQNEkJfJjtb0jIG2itqGkaj1kJb0fab1itfHkPG2itqGkaj1kJb0fbjHkP43jajHkaf5iaVElaK0jJR3jQNqjQVEjQK1jaZHkMG2itNGkaq1kJb0fab2itbGkQK3jQNCkP45jQV3jQNIlPLjjQVEjQKGjtb0jIGHitK5jQZ4kQZHfbjHks4HjaKIjQNJiaKElaVHjaZHkaf5fab2itKHkMGGitVJkJV0jtq1kIKHkP44kaf3laR3iaKEkaR5jQNIlaR3fbjHkP42kJb1kJb0iaKEjtq3lQf4kQZHfab1itN0jaq1kJbCjM4Ijab3jQNIlaVqjQREjtb1iaKEjtKHkJb0jtq2fbGHjM4JlaRIjQNJiaKEjQu2laR3jQNJfcyxfdWzYdG9gIkwWwWwWwVxUM8|meLrndqqWa0xQQqElQu5lQuCjQKEkaj3kauqQaqElQu5lQuCjQKEkaj3kPLjjsG1itfHlaZ1fbG4itu5lQu5iaKqQaqElQu5lQuCjQKEkaj3kauqTsLkjMGGfbGIiaKqQafCjQKEjtN5lajqQaKCjQKEjtN5lajqQaKCjMLXgILwXTHCmPZtWwWwWwWwg1GFmtHZi2Z|meLrndqqWa0xQQKElaq2kaf4kQZHiaKEjQu1ktNIlaR3fbjGitj5laf4kQZHkMGGitb5kQV0jtq1kIKGitKGjQfHkaf4kQZHiaKEkQuIkJb0jtq2faKEjaKHjtb0jtq1kJbCjP4GlaR3jQNIlPLajM4GjabIjQNIlaR3jPGHitR3kJRqjM4JlQqIlaR3jQNCjP45kJZqjM44laV0jtq1kJbCjP45kJZqQajEkQV2lQf4kQZCjP45kJZqQaKEjJV4kQZHkaf5iaREjQqGjtb0jtuqNJKEjab4laR3jQNIlPG1itRIjJq1kJb0faKEjab4laR3jQNIlPG2itK4lQZHkaf5faKEjJV4kQZHkaf5iaVEkajJjJR3jQNqNJKEkJb0ktNIlaR3iaVEkJqJjaZHkajqjP4IkJqGkJb0jIG2itZ4jJK3jQNJfabEktf2kQZHkajCks40jJjJkQZHkMLjkM44jtZJkQZHkMGJitfJkPLjkM44jtZJkQZHkMG1ituHkQRqNJNElaf3jJR3jQNCks40jaj2kaf4ksK1itfIkaNIlaR3iaVElaKJjQNIlaVqkP43jQVIjQNIlPG2itqGjJb0jtq2fbj2itfGkaj1kJb0iaVElaKJjQNIlaVqks42jaVIlaR3jPG2itNGjJV0jtq2faVEktK2jtq1kJbCkP45jQR1fbG2itVGjQNIlaR3iabEjauGkQZHkajqNJVEktKHkaf4kQZCjM44kQu4kQZHkajqks41jQRIjQNIlPGGitVJktNIlaR3jPK2itj0kMGGitN1kJuIlaR3jPLaks4HkJf3laR3jPGGitf4ktZHkaf4ksK1itu0jtK3jQNJiaKEjtKGkPK1itZHktfHkaf5iaKEjtKGkPLjjM44laV0jtq1kJbCjM4HlQR2kaf4kQZqTsZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjI4Jjaj3kQKCfajEkau5jJuJhPLIY3OrndRyiQuGitKGjaKGjMuqnegrYxkCVUOvhM0JitjGjJZ1jMGqiQjEkau5jJuJhPKxfdWzYdG9gIkwWwWwWwVxUM8|sleepoptions|Reset|borderRight|unavailable|Edge|yttitle|ipod|wkdt|poster_floatbgcolor|matchMedia|mdZqnegrYxkwY3gDmPn0ZwcEZ2HrndRykMGqkMuxmtHIWTk0feq9gJKxfeu9gJKxfenzWeOymPZHjsZqXdSzW2r0mPZHjsZqWwvCYa0xf2WwWwWwWsnZiJ48UM9xmtHZi3k2WJ4siMgrV3OzY24slsgJnd9GfsGsnevGWPf6fxk2WIfCfwgxftyGpPGsV29EnegFYc9GZwS2ftz7fw9IWdSIftyHkPGsY24sltKCfwvtY24slsf8Z3WxfenzWeOymPZIjMZqXdSzW2r0mPZIjMZ|fine|PAUSED|170|999999||mdkzZwkCWPLzWa0xQ3WrYMZqZ3OIY2DvmPZtWwWwWwWwgILtoa0xlPZqV3u9gJuxfef9gJuxmtHZi2kzZwkCWQ48UM9xmtHZi3k2WJ4siMgzV29EjIf6ftHJnwZqn2vundq9gJfGgILyWTvxXeN9gJfGgJ48WIL0ZwcEZ2WFZw09g3OIVT5JYdc0WPqIiMKJhPZ|roll|matches|All|meLrndqqWa0xQQb2iaZEjQj2ktbHjJfqQab2iaZEjQK5jQV5kaRqQab1itfGlab3laRCkI4HjauHktu0kPLjjQNEjtZ1jauJiaZEjQK5jQV5kaRqNJb0itf3kQK5jIGJitb5lQbIktf1fabHitK2jJb5kIGGfaZEjQj3kQN2kaRCjMLajI4IjQb4lQR5jPGGfaKCjI4HlQuHjtVIkPKGiaZEjQK5jQV5kaRqNJKCjQbEjab5jtbIksKJitfHjQq5kQuHiab0itfHlajJlauqkI4HjJZ1kaV0kPGHkM4IjQqJjJq5fbG3itbJkJR0ktN1iabIitN0jQK0ktRqNJNEjQuJjJK4kQRCjQfEkaNHjaN2kPKHitZ4kaj4ktVIiabGitK0jQZGjQqqjP43laNJlaV2jsG3itbGlQb2lQN1fbjHitZ4kaj4ktVIiaNEjQZ2ktj3jaRqkM4HlQjJjaq1kPGHitZ3kJf5jtj2faZEjQj3kQN2kaRCjP43kJZIlQfJksLajQKEjaqHkJq0kMGHitZ3kJf5jtj2fabIitN5jaZGktjCkM4HkJV2jJZGkPKHjs40lQK3jaVJiaZEjQK5jQV5kaRqQabGitV0kaRHktZCkI4HjauHktu0kPLjjQjEjJqIlau5ksGHjP41kQf0jaK0fbGHksG3itbJktVHjQjIfcyxfdWzYdG9gIkwWwWwWwVxmtHZi3Lrndq|iosv|fsGsVTk0XT9EftysZdHroPfCfxO5ZdRslsgJnwZsiMgsWIf6jPGsVwntY2HFZsf6ftKGjaKGjMfCfwgxYIf6jPGsVwnGVTOuXT5xftysiQbqiQbqiQbqiQbsiMgzV29EYTcIW2vEftysjMKGfaKqjMfCfwgxVPf6jM4JiMgsW2cFnwSIftyGitVCfxktVTHvY3WvZsf6js4HiMgyXTOvftyHiMgyXTOvY25GYdc5ftyHiMgyXTOvY255Y3S0nTgvftyHiMgsW2gFZwOvZsf6je0CfwkFYxOIY2HpYdv2WPf6oIgFZwOvZsf6jQjCfw9EftyHiMg0WUr0ftysYdv2WPfCfwHvneOvZxkGVTkzYwZsltfCfwctndvFYsf6fwHznwRsiMg0oULvftysndS4nMfCfwrrYwNsltKCfwkCXTkBftyGiMgwY250Z2v6WPf6jQKCfw1rZwnzYsf6ftKqjMKGfMfCfwrzWdRsltbCfwrzWdSFYxWFWMf6jPGsVPf6jM41pPGsV29EnegFYc9Jnd9Gftz7fw9IWdSIftyHkMGsY24sltKCfwvtY24slsf8Z3WxfenzWeOymPZIjMZqXdSzW2r0mPZIjMZ|playlistfolder|historybgaover|unstarted|blackberry|iemobile|nomobile|888888|BUFFERING|once|ytError|ytEnded|Bottom|platform|Yes|ytReady|poster_floatheight|meLrndqqWa0xQQbGitj4kQfHkajCjM4HlQV4kQZHkajqNJuElau3jaZHkajCjM4HlQV4kQZHkajqlP41iaKEkQuJlQf4kQZHfauEkPGHitK4ktuIlaR3fbj5itRCjP41kJq3jQNIlPK5itq5kJK3jQNJiabElQZ4jtb0jtuqjQKEjJq1jtb0jIGHitu3lafHkaf5fbGHjI4GktR3jQNJiabElQZ4jtb0jtuqQauElaV3jJR3jQNCkP4Hlab0jtq1kILalP41jQZ2kaf4ksG1itRIkQK3jQNJfauEkQb3ktNIlaVCks4GlQK5jtq1kIK5itq2kJj1kJb0iaVEkaj0kQZHkajqNJbGitfHjJNIlaVCks43laNIlaR3jPKHjM43kJV4kQZHiaVEkJq0jtq1kJbqjQbEjQf1jJR3jPG2itNJkaR3jQNJfbGHkM4JjtVHkaf5iajEjtj2jtb0jtuqQab0itjIktb0jtuCkP45jQV3jQNIlPLajQNEjJf2jQNIlPG2itNGkaq1kJb0fab0itZIjJfHkajCks44jaNJkQZHkMKHkP4IjQRCks44jaNJkQZHkMLajQREkJKJjQNIlPG2itqGkaj1kJb0fab2itbGkQK3jQNCks40jaN4kQZHkMKHks4HjaRGkJb0iaRElQb2kJb0jtuqQab2itbGjafHkajCjP4GlQb3laR3jPLajQVEjQKGjtb0jIGGitq2jQK3jQNIlPKHks4GjQNCjM42jJZ2kaf4kQZqjQRElaNIkJq1kIGGitN1lQb0jtq1kILajQREktZHkQZHkMGGitf4kJuIlaR3jPKHkP40kaK4kQZHiaKEjtKHkJb0jtq2fab1itfHkPGGitfGjQZHkaf4ksLjjQKEjJq1jtb0jIGGitb5ktq1kJb0jILXgIL0ZwcEZ2WFZw09g3OIVT5JYdc0WPqHjs44jaf1jJVCfajEkQKGktK3hPLIY3OrndRyiQb4jM4GjaKGjaKzfeOIVT5JYdc0WPqDjQfElaKIkQj2iMKDjI41jaK2jaZzfMZqWwvCYa0xf2WwWwWwWsnZiJ48Zdc0XMLumPnkjM44laV0jtq1kJbCjM4HlQR2kaf4kQZqNJKEjJu4jtq1kJb0iaKEjQu1ktNIlaR3faKEjaKHjtb0jtq1kJbCjM41lQf3jQNIlaVqjM4GjabIjQNIlaR3jPGHitK4kQZHkaf5fbjGitKGjQfHkaf4kQZHiabEkQZ3kPKGitj5laf4kQZHkMGHitu3kIKGitq4ktNIlaR3jPGHitu3kILjjI41ktV5jtq1kIGHitu3kILjjM4Jktq1kJb0jtuCkP4HlaKIjQNIlPLajM4GjQq4kQZHkaf5iaREkQfJlaR3jQNqjM4GjQq4kQZHkaf5iaVEjaq5kJb0jtuqjM4Jktq1kJb0jtuCks40jJjJkQZHkMLajM43jQN2kaf4kQZCks43lajGkJb0jIKHitf3laK3jQNJiaVEkJqJjaZHkajqjP42jtV1kJb0jIG2itNJjJj1kJb0fbG0itqIkJj1kJb0iajEjtj1fbG0itqIkJj1kJb0iaRElQb1kPLakM44jtZJkQZHkMG2itNGjJV0jtq2faREjtf0kaf4kQZCks44jajHkaf4ksK1itZHktfHkaf5iaVElaKJjQNIlaVq
29NJVEjtK0jJR3jQNCks44jajHkaf4ksK2itVGktf4kQZHiaVEkaKJktNIlaVqks42jaVIlaR3jPG1ituHkQRqQaVEktKHkaf4kQZCjP4GlQK1kJb0jILaks42jab0jtq1kIGGitq1lQq1kJb0jIK2itRHkQfHkaf5iaKEktj2kaf4kQZHfaVEjJN0iaKEkaR3lQf4kQZHfbj2itb3jtZ4kQZHiaKEjtq2kJb0jtq2faRElQNIjaZHkajCjM4IjaK1faREkJb2jtb0jtuCjM4IjaK1fbGGitq4ktNIlaR3jPGGitb5kQV0jtq1kILXgIL0ZwcEZ2WFZw09g3OIVT5JYdc0WPqJitjGjJZ1jMGqjI40lQuJlQjzfegFndc0WPq5jM4GjaKGjaKzfeOIVT5JYdc0WPqDjI4Jjaj3kQKCfM0JitN5lQj5jIuqgILwXTHCmPZtWwWwWwWwg1GFmtHGVUOyfdN9g00HjM4JlaV0jtq2iauEkJu3kQj4kILalP44lQqIlaR3jPG5itZ5kJRJlaZqlP41jabIjQNIlPGHjM4HlQN3ktK0fauEkQKHjtb0jtuCjQKEktq3lQN2lPLalP41jabIjQNIlPGHjP4HkJu5jQq3fauElau4jtq1kJbCjQbEkQZ5kQV5lPKHjM4JlaV0jtq2iabHitR3lQR2lQuqQabJitK2ktuIlaVCjQbEkQZ5kQV5lPLjlP44ktq1kJb0jIGHkM43laj5lQVIfbj5itRHlaq1kJb0iab1itbIkJZ2lQbqlP41jQq4kQZHkMGHkP42lQj4kaKJfauElaV4kQZHkajCjQVEjaj3ktbJjsLajQKEjtb0ktNIlPGHks4JlaZ0kQu4fabGitZ3laK3jQNCjQVEjJq3kaR5lMKHjP4HjtV1kJb0iab2itKJkJVHjJfqQab0itjIkJj1kJbCjQfElaj4jaN1lPLjjQNEjJf3jJR3jPGHkP41jQu1ktKHfbjHkM4JjtZJkQZHiab2itKGkJq4kJZqjQNEkJf0kaf4ksGHks40jaZ1jJq4fab1itfHktfHkajCjQVEkaK3kQj4lMLajQREkJK0jJR3jPGHks40jaZ1jJq4fab2itbGktf4kQZCjQVEjaK3laq3kIKHks4HjaVIlaR3iab1itRHlQR2jabqQab2itbGjQNIlaVCjQKEktuIlaK1lPLajQVEjQKHkaf4ksGHjM40ktfGjaNJfab2itKHkQfHkajCjQKEjtj4kauHjsKHkP44kaNCjQKEjaR5lQfJkILajQREktZIkJq1kIG5itq4laV0kaR5fab1itN0jtK3jQNClP44jafJlQZ2lMKHkP4IjQVIjQNJiauElaKIjJu3ktqqQabGitj4ktNIlaVClP43lQZ1jJq3fcyxfeOIVT5JWw9IYQ0xnegrYxkCVUOvhabIitqGjJZ1jMGqjQjEjQKIkQj5hPLIY3OrndRyiQuGitKGjaKGjMuqnegrYxkCVUOvhM0Hjs44jaj3kQKCfM0HjI4Hjaf1jJuzfMZqWwvCYa0xf2WwWwWwWsnZiJ48Zdc0XMLumPnkjM44laRIjQNIlaVClP44jaKGjajGkPLajM4JlQZGkJb0jtuClP44jaKGjajGkPKGiabGitb5kJK3kaRqjMGHjM42lQKGkJN1fbjGiabHitb4jQq2jafqjM4JlQZGkJb0jtuCjQbEkQqHjJVGjsKGitq4kQfHkaf4ksGHjP41labJktKIfbGJitR2kQZHkaf5iabHitR4jQj2jafqQaKEjJV3jJR3jQNJiab0itZ4kaR3kaRqNJKEjab3ktNIlaR3jPGHkP4HjtqIjQZJfaKEjab3ktNIlaR3jPGHkP42lQNGkJN1faKEjJV3jJR3jQNJiab2itKJkJZHkJjqNJKEkJbJkaf4kQZHiab2itj4kJNJjQVqjP4IkJV4kQZHkMGHks4JlaZ0jJb2fabEktf1jJR3jQNCjQVEjaj3kJb3jILjkM44jtVHkaf4ksGHjs44jJuJktKIfbG0itqIktb0jtq2iab1itRHlQq2jafqNJNElaf2jQNIlaVCjQVEjaK4jaKJjPK1itfIjJfHkaf5iab2itNGkJRGjJbqkP43jQRCjQVEkaK3kQKJjPLaks4IjajHkaf4ksGHks40jaZ1jajHfaVEktK1jaZHkajCjQVEjaK4jaKJjPK2itVGkQK3jQNJiab1itRHlQq2jafqQaVEktKGjtb0jtuCjQKEktu0lQjHksLaks42jaKIjQNIlPGHjM40ktNIjQZJfaVEkQb0iabGitf0jaZ4laqqks4Jkaf3laR3jPGHjM4GktfIlaq4fbj2itb3jQR3jQNJiauElauHjaZ0kaqqkP45kaK4kQZHkMG5itqGkaq2jab5faREkJb1iauElaK0laVGjQuqQaKElaq1jtb0jtq2iauElaKGjaKJjaRqTsZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjI4Jjaf1jJVCfabJitbGjJZ1jIuqZw90VUOvhM0JktKEjaKGjaKGhPL0ZwcEZ2HrndRyiQjEjJKIkQj2iMKDjQjEjQKJkJRJhPKxfdWzYdG9gIkwWwWwWwVxUM8|MacIntel|Skip|ytlog|fsGsVTk0XT9EftysWxSCYektZwSvYsfCfwctndvFYtfslsgEY3gDVTHJV3gvWT4siMg0oULvftysZ3WxfsGsZd9JXUOzY24slsgtY250Zw9CZI1IXTnynMfCfw1rZwnzYsf6ftKqjMKGfabIfsGsZ2krYdRslsfGituspPGsV29EnegFYc9JndcInMf6oIgF
29ZwOvZsf6jQfCfxLFZ2v0XT9EftysV2SEndSIfsGsZ2krYdRslsf0fsGsY24sltbCfwvtY24slsf8Z3WxfenzWeOymPZIjeL4gILyWTvxXeN9gJfGZeqxfeWzWUnMY3q9gJj1kPKGfafGfafGgIL2WUgJXT9EmPZHitbxferDYd5JmPnyneOGlvGFUM93n3ZEnJjEY3gxUM8IjaKGUM9JnwZxferDYd5JlxrCXT5BmPnyneOGlvGFUM93n3ZEnJjEY3gxUM8HlQu5UM94YdvEXIZ|tvOS|WebkitAppearance|webOS|armv|BRAVIA|Sleep|postertitleonhover|mdZqXTN9g3LCVUuHlPZqZ3OIY2DvmPnEY25vgILJnegFX2RDn2vundq9gJbxfdWzYdG9g25FYwRxfdWzYdGDZxSCWQ0xWUWvYw9uWMZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjJR2itKGjaKGjMGqjP4GjaKGjaKzgJ48Zdc0XMLumPnkks41iaVEjQKGlajGjaNqNJVEkPG0itVIjQZGkaK2faZEjaNIlQV4kJRCkM45jQf1lQZ2jsK3itu0jab4kQR1iaREjJZIktqGktfqNJqElaj3kaKIjJNCkP44jJf3ktj2jIKHjP44jtR0jJu1iaZEkQNGjQVHjauqjQfEkQK5kJV1ksG3ituIlaj0kaV5fbjHjI4HlQNGlQb4iaqEjJb2kQf4jtqqjQjEkJf3kab3iaqElQj5lQNHjJZqjQfEkQZ3ktj2kIG5itV1jQZJjJj2fbjHjP40jtZ4kQV0iabGitj2jJRIkQjqlP40jtuHlQuIjsGHjP41lajGjaZ4faZElQV0kQu5ktbCjQfEjJj0laj4lMLaks41iabJitK4ktV2lQuqks41iabIituGktq2jajqks41iabHitV2kaV3jtqqNJVEkPGHjM40jtf0laRJfaVEkPG3itR3lQu1ktKHfaVEkPG2itbGjaqJjaK0fcyxfdvumPnNVUOyiQfxfdWzYdG9gIkwWwWwWwVxmtHZi3Lrndq|Roku|Tizen|Philips|CUED|__storage_test__|advertiser|customyterrors|mcGFZ3WxmsfCfwctndvFYsf6fxLCVUusiMgrV3OzY24IftysZdc1Z2RsiMg0oULvftysZ3WxfsGsZ2krYdRslsfHitbsiMgJV2cCWT92WUfslsfHitfsiMgDVUgxXT4slsf0fab1faKqjQKsiMgsW2kFYd9IY3WvZsf6ftKGVTOvWsfCfwbslsfGitusiMgrY3WvZsf6ftbsiMg0XUKsltKCfwvtY25JV29CY3gFnwSIftysiQbsiMgzV29EZ2kFYd9IftysiQbspPGsV29EnegFYc9DnUOvftz7fw9IWdSIftyHjMGsY24sltbCfwvtY24slsf8Z3WxfenzWeOymPZIjMZqXdSzW2r0mPZIjMZ|settings4|fsGsXTkFYtfslsf8Z3WxfenzWeOymPZHjxL4gILyWTvxXeN9gJb0ZeqxfeWzWUnMY3q9gJb5fajqjQfqjQNxfeWvZxkzY249gJbEjPZqod1CYxj9g2r0neK6UM9Zi3n3nI53jI5FZwnZiJfGjaLZi3k2WIZqod1CYxj6odHzYwC9g2r0neK6UM9Zi3n3nI53jI5FZwnZiJb5lQvZi3rCXT5BgJ4qfMKqmdZqXTN9g3LrnUkvjsZqZ3OIY2DvmPnEY25vgILJnegFX2RDn2vundq9gJbxfdWzYdG9g25FYwRxfdWzYdGDZxSCWQ0xWUWvYw9uWMZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjQuEjaKGjaKGiMKJitKGjaKGjMuxmsKqfMKqfMKqmeLrndqqWa0xQQZEkJK3ktuIjtqCjM43kJZ3kJqGktZqQaZEkJK3ktuIjtqCjQjEjtfIjtfIjsLakI43jaZ2lQfIlMGHjI42kQb3kJZqlM4GlQbHjtKIjPGHkMK4itR2kabGjtRJiab0fbGHjP4HjJjJjJjJiab0fbjHjP42jaVJjQR2iab0fabHitu4lQZ0jJRCjQjEktRHkJZ3fabHitu4lQZ0jJRCjQjEjtfIjtfIjsLjjQbElQq5kJNJkPGGitZ3kJZ3kJZ3lMLajQbElQq5kJNJkPGGitj0lafIjtu3jsKHjP42jaVJjQR2iaKqjQbEjQjJjJjJjIGGfbG4itR2kabGjtRJiaKqNJqEjauHjQfGjtbCjMK3itZGkJV5jtf4iaKEjJN4jtfIlQZIfaZEkJK3ktuIjtqCjM43kJZ3kJZ3kJqqTsLkjI40jtR2kabGjPGHkMLjjM44kQV0jQKIkQjCjQNqNJKEjJqJkaf3lQjHiab0faKCjQjEktRHkJZ3faKCjQjEjtfIjtfIjsLjjMGGitZ3kJZ3kJuHjILajMGGitj0lafIjtu3jsKGitj4jJNIkJuJjPGGfaKElaR2kabGjtRJiaKqQajEkaf1ktNHjabCjMLajI44lQq2jtjJkMGGfaNEjtqIjaRHjtZCjM4JkaqIjtf5kJfqkM4IlafGkQbIkIGGitZ3kJZ3kJZ3lMLjkM4IlafGkQbIkIGHjI4IjtfIjtfIfbj0itf4jtK1jQf3iabJitV1jQZ3kIKJitq5laVIjJj0iab0fajEkaf1ktNHjabCjQNqTsZqWwvCYa0xf2WwWwWwWsZ|loadVideoById|settings3action|VpaidSet|vpaid_|72ccf8|fsGsXTkFYtjslsf8Z3WxfenzWeOymPZIjMZqXdSzW2r0mPZIjMZ|62de50|youtubeid|mdZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjsGqjIuxmtHGVUOyfdN9g00HksG3itbJktVHjQjIfbGHksG3itbGlQb2lQN1fbGHkP4IjaqHkJq1iaZEjQK5jQV5kaRqQab0itf3kQK5jIG3itbGlQb2lQN1fbjHkM4IkJRGlQjCjI4HlQuHjtVIkPKHjP4GktjHlQZCjMK3itbJkJR0ktN1iaKqNJjEjtbHlau1lQbCjMKGiajEjQu5jQf2jtRqjMG3itbGlQb2lQN1fbjGiabHitKHlQfHjtVqjI4IjQb4lQR5jPGHkM4IjQqJjJq5faZEjQj3kQN2kaRCjQNEjtb4jJj4lPLjkI4HjJZ1kaV0kPGHjs40kabGkaV1fbj0itb5jJjGlaR1iabIitN0jQK0ktRqjP43laNJlaV2jsGHjM4Gkab3jab4fabEkJq0jJq2ktfCkI4HjauHktu0kPLajP43laNJlaV2jsG0itb3ktVJkJK1faNEjQuJjJK4kQRCjP43kJZIlQfJksK3itbJkJR0ktN1iabEkJZ3jtuIjJVqNJbGitK4jQZ4kaNCjP43kJZIlQfJksKHjs40lQK3jaVJiaNEjQZ2ktj3jaRqjQfEkauGkJK2jIG3itbGlQb2lQN1fbGHjM42kaN1jQV3iaZEjQK5jQV5kaRqQabJitj4jtq5lQVCjQbEkQRIkaKGkMLjjQVCkI4HjJV2jQbJjsLXgILwXTHCmPZtWwWwWwWwgJ48UM9GVUOymtHZi2Z|faed54|toogle|dwn|logapi|dispatchEvent|initEvent|createEvent|adShown|vast_Impression|rewound|unmuted|mdZqWwvCYM1InTHvmPnEY256WUgFgIL0ZwcEZ2WFZw09g3OIVT5JYdc0WPqIitRCfajzgJ48Zdc0XMLumPnklP42jJj0lafHkMGGitKGjaj5jtu1jJjGkMLajQKEktN0jtNHjPGDjM4GjQR4jQf0jaj4fabGituJlaVHktbCjM40ktN5lQbHktqqjQKElQb3jJfHkMGIitfIkJq5jtu1fbjHjM45jQuHlQV0iabGitj3jafHkaNqjQKElQfHjaZHkMGHjP4IjJq3kabIfabGituIjtu0ktNCjQfEjQK3kaKHlPLajQKElQNHktu2kMGHjI44jtuGkQj3fabGitj0jtZ2kJuCjQNEjauJkaf4kIK5itV1jaj1kJb0iab0itK5jJNIlaZqNJZEjtj2kaf4kQZCjQNEjauJkaf4kIK1itu3jJj0lafHiabGitfHjtq0lajqjI44jQq5kJjIjPGHjM4IjQf4kaqJfbGIitZ4jaK4lQf5iabGitfHjtq0lajqNJbEjQj0jJZ1iabGitfHjtq0lajqkI45lQj2jaR3ldRDjQRClM43kQV1jauGjsK3itu5jJVGkQZ4WP0HkPG3itbHjaZ5kaZ0fbj3itu5jJVGkQZ4WP0HkPG1itN2kQK4jaN1fabEjJK5jQRHkJuCkM4HkQZGjaKHfafElQR0laV2jaZCkM4HkQZGjaKHfbGJitqHlau3jJfHiaNEjQR3jaKGjPLaks4IjaVIkPG0itb1kJKGjabqks42jJZ2jJj5jIGGitK0laZ0jQb2kJVqlP42jJj0lafHkMGGitKGjaj5jtu1jJjGkMLXgILwXTHCmPZtWwWwWwWwg1GFmtHGVUOyfdN9g00Hjs40jJq5kJVClP4Ijab1laR2kPLajQbElQNIjQKHiauEjtf4jQKJkPKHjs4GkQu5kQqHiaqEkJV2kaRHkJfqjQfEjafGkJb3jPG2itR5kJN3laRqNJbHitu4jaV3jtNCkM4JlaN1kJV3jsKHjP45kaZ3jtVCkM4GjQbHlaj4ksKHjs40jJq5kJVCkM4GjaK0ktu1lMLajQjEktq5kJj0lPGJitu3jtq4jaf5fab0itZGkabGlQuCkP4HktN3jQK2kPKHkM43jaNHjau5iaVEktKGlQVGktRqNJb0itZGkabGlQuClM4GjJZJkaN1lMKHjI42lQKGjaf4iauEjtKHkQq1ktRqjQfEkaj4lQZ2iauEjtKHkQq1ktRqTsZqWwvCYa0xf2WwWwWwWsnZiJ48UM9xmtHZi3k2WJ4siMgzV29Ejsf6ftHJnwZqn2vundq9gJfGgILyWTvxXeN9gJfGgJ48WILwXTHCiUg1YdR9g25FYxzvZw8xfdWzYdG9gIjGjaKGjaKxfeOIVT5JWw9IYQ0xnegrYxkCVUOvhabEkPGqjsuxmtHGVUOyfdN9g00HjP45jQR1jtq5iafEkJu5laf1laNqQajEkQb1jJbJkabCjQbEjtKGjaNHjILajs4GjQj5jJR5jIGHjP4GkQjJjtj5fabClP42ktV2lQj2jIKHiaqEjQbGkJu0kJNqNJbCks40ktRGlaK0kPKIitjGlQb1jQZ5iaREjQR3jaKGjPKJitu1kaq2ktK3iaREjQR3jaKGjPLjkM44jQq5kJjIjPG1itb1kJKGjabqNJZEjtK2jtRCkP4HkQZGjaKHfaZEktj3ktjJlQjCjP4Gkaq3k
29abHkIKHjM42jJj0lafHiabEjaKGjJuIlQRqNJbHitR1kJK1kJVCjM45laR1laRJlQZqjQbElaqIkQKJjIGHitj4kQZ0kQK0fabHituHkQRIlauCjs43lQu4jtR4kMLXfb0HjP45jQqHkaN4iaVEjJR4kJb2kJRqNJbHituHlQZ0kQjCjQbEktf0kaqJjIKHjP45jtbJkaR5iabIitj2kQq5jJqqjQbElQfIlQN2kMGHjI4HjaZ0jab5fbjHjP45kab2lQV0iab0itqIlQK1jJZqjQbEjJNIkJV3lPGHkP4GlQj0jtq3fabGitV1jaj1kJbCjQREjauJkaf4kILalM44kJqIlafJkPGHkP4GlQj0jtq3faZEkJf2kaK5kJqCjQjEjaKIjQN5lMK2itj4ktqJktqCjQbElauGjaf0lMLjjQbElQb4jQN0lMG2itj1laZHktZ1fcyxfdWzYdG9gIkwWwWwWwVxUM8|resumed|feba54|settings3|Test|startvast|meLrndqqWa0xQQbEjJRJkQRJjJuCjQRElaRJkQRJkMLjjQRElaVIjQZHkPGHitj0kauJkQf2fbjHks4GkQZ0jJj3iabEjQN5ktZJjQfqjQVEjaR3kajJkIGGitqJjJK5jaVIkIKHkP44ktfHkJb1iaKEktj3laf4kaqHfbjHkP42ktV5jau0iaKEkaNIkQV2jJj1fab1itj1jajIktuCjM40kaf1ktVJjJRqjQREjQR1jaV0kIGGitVJkJqIlaN4jPLjjM42kaV0kaV2jauCjQREjQN2kaN2ksLajM40kQbHlaN0ktNCjQREjJNHkJK4lMKGitN1jQb4kaN2kMGHkP42kQqIlQbIfaKEktN2kaN2ktK5iab1itq1jJR1jJNqNJKElaNHkJK4kJR1iab2itK0laqHkQRqjP4HkQqIlQbIkMGHks4Gkaq4jQR1fabEjJRJkQRJjJuCjQRElaRJkQRJkMLXgILwXTHCmPZtWwWwWwWwg1GFmtHZi2Z|settings5|unMute|moveplaylist|redirectplaylist|fjte41h2fac7|plduration|usernew|setPlaybackQuality|setPlaybackRate|default_w|default_h|getCurrentTime|settings5action|settings4action|meLrndqqWa0xQQKCjP44jJuGkaR2lMLajMGDjM42jJb5laK4kQuqjM45jaZGlajHjauCiQKEjQN2jab0jJN2fafEkaK1lQZIktuCjM42jtf1lQu5jQVqNJjElQK0laVIjtZCjP4JlQbIjQNHlMK4itq5ktV3kaj5iaNEjtNJkQuGlaRqjQKEjaj5lQK5jPG0itq5jtK5jaKIfbjHjP4HlajHkaj4iaREkQNGkQq5jQqqjQfEjaZ0jQb2kMG2itR4jtK2jtRIfabGitb1jJf5kaRCkI43kJbHlab1lPLalM4IjJf0kJf1lMG4itu2jajGjaV2faNElauJkQb3ksGHjM45lQZ1ktV5fafEkaN2kJR4lMGHjs4IkQj1kJRIfbjGiabJitRGlQR4jJRqjMGHjI4IjauHlQj4fafEkaN0lQfGkQWviQb2iabHitbJjJu5ktNqNJZEkQNJkQjGjQvviQb2iauEjaR4kJu5jQfqjP42ktf1kaR5ldRDjQVCkM4JjQKGkJfIjPKGiabElaj5jaN1ktqqTsZqXTN9g1LrndqDjsZqWwvCYa0xf2WwWwWwWsZ|hd1080|fullwheel|hd720|Boolean|large|updateCuid|250|getVideoLoadedFraction|vastbreak|1oIgJV3gvWT5tY2HFZsf6ftKGjaKGjMfCfxOFY2HsVUfslxCsV29CY3fslsfGjaKGjaKsiMgyXTOvftyHiMgDVUgxXT4slsfDjtKqjMKGfaKsiMgxZwcuXTSEnMf6jPGsVT5zYTc0XT9EftysVTHGXdbsiMgrftyHiMgCWTW0VT5uZwvxXeOGVTOuXT5xftyHje0CfwkFYxOIY2Hpndv0YdRslxCsY3guWUfsltbCfw9EftyHiMgrV3OzY24slsg0XUOCWPfCfxO5ZdRslsg0WUr0fsGsZd9JXUOzY24slsg0Y3KDYdSwnMfCfwkCXTkBftyGiMgyVT5uftyGiMg0WUr0ftysfsGsnwcIftysndv0YdRsiMgyXTOvftyHiMgyXTOvY25GYdc5ftyHiMgrYwvDVUOzY24slsgGY3kzndvFYsfCfwgxftyHiMgsW2bsltKEkMGsVwnGVTOuXT5xftysksK2faVqksg9iMgtY250Zw9CU2HzYwRslxCsY3guWUfsltjCfw9EftyHiMg0oULvftysZ2rrZdRsiMgrV3OzY24slsgCXT5vfsGsXMf6lMGsZw91YwOzYwZslsfHfsGsnIf6jQKGiMgrftyHiMgrVwZslsfGitjsiMgrYd9rWMf6ftKEkMfCfwcFnwSIftysjMfCfwkFYd9IftysfJf5kRj3jIfCfwkFYd9IVwZslsgwWwWwWwVsiMgtY2HFZwHFVTNslsgwWwWwWwVsiMgtY2HFZw92WUfslsgwWwWwWwVsiMgsnTWwWUfslxCsY24sltKCfwkFYd9IftysWwWwWwWwfsGsVPf6jM41pPGsZd9JXUOzY24slsgtY250Zw9CZIfCfw1rZwnzYsf6ftKqjQKqjMKGfsGsXdcEWdHvftyHiMgsW3LrWdOzYwZslsf1faKqkPKGfsGsndvGftyHiMgyXTOvftyHiMgyXTOvY25CXUWvftyHiMgyVT5uYdSJV2cCWPf6ftbEksfCfwHzYwS0XULDVUgxXT5sY3O0Y20sltZCfxOFZeOzZMf6jPGsndvGVwntY2HFZsf6ftKGjaKGjMfCfxOzZdgxZw91YwOzYwZsltk9iMgtY250Zw9CU3LCVUuslxCsY3guWUfsltfCfw9EftyHiMgzV29Eftysmek2WIL3XTO0Xa0xjQgGoMZqXdSzW2r0mPZHj3L4gIL2XTS3Nw94mPZJkaKqkMKHjsKHjIZqnwSIZ2vFYt0xjP4HgIL4YTHEZJ0xXeO0ZazZi1GFn3n3ixZJiw9IW1GFjtKGjcGFZ3WxgIL4YTHEZJz4YdvEXJ0xXeO0ZazZi1GFn3n3ixZJiw9IW1GFjQu5lSGFodHzYwCxmtHxfdvumPnGYdc5jQqxfek0Zw9BWQ0xYw9EWPZqZ3OIY2DviUnzWeOymPZHgILwXTHCmPnEY25vgILwXTHCiUg1YdR9g2S2WT5FWdNxfeOIVT5JWw9IYQ0xnegrYxkCVUOvhaj0jM4GjaKGjaKCfaNEjaKGjaKGhPZ|prt|medium|tiny|settings2action|setSize|accept|poster_floatwidth||644082|home|subclr|mdZqWwvCYM1InTHvmPnEY256WUgFgIL0ZwcEZ2WFZw09g3OIVT5JYdc0WPqHiMKHhPZ|pjslng_|noreplace|Enter|LIVE|Audio|website|sub_allmy|the|onchange|mcGFZ3WxmtHZi2Oznt58peGEYd9rWdSIhegrYwNzfeDGY3kzndvFYtyqZwSCVUOznwR7YTcIW2vElsKDjtSGoMKGfaKqiQf1Zeq7n2vundq6faRGZeq7pP5CY2cuWUfyZwcEWMu6VwSwY3gvfeDtY250WT50lsKxgJDuXUkGYdc5lsLsYd9tXJDGVTOuXT5xiUOFZayqjQKGgQD9iwkzZwk1YdcIhegrYwNzfeCDn2SsX2v0iTcEXT1rndvFYtyqZw90VUOvfagJfdHzYwSrZsLzYwWzYwv0WQDrYwvDVUOzY246fegFndc0WPKIZILCXT5vVUfqXT5wXT5zndR7XdSzW2r0lsKHjaKvlI13WTgBXUNDnegrYxkwY3gDiT9IXTnzYtyqV2SEndSIfdkvYxOvZtD0ZwcEZ2WFZw0DY3gzW2vElsLtWT50WUfqV2SEndSIl3nzWeOylsKHjaKvl3LFZ2v0XT9ElsLrVxkFYeS0WQD0Y3K6faK7Vw90nd9DlsKGl2HvWxN6faK7ZwvxXeN6faK7YTcIW2vElsLrnUOFl30EZdc0XMrIVT5uhPL7Z3OIY2DviTOrZ2rrZxgroQyqjPGqjtKGl3
29k0Zw9BWP1uVUkyY2WwZ2S0lsKGlI13WTgBXUNDVT5zYTc0XT9ElsLuVUkyfabEkUjqWTcJWP1zYs1FnUNqXT5wXT5zndR7VT5zYTc0XT9ElsLuVUkyfabEkUjqWTcJWP1zYs1FnUNqXT5wXT5zndR7pRKDn2SsX2v0iTDvoTWIVT1vZILIY3OrndRqoJbGjMRqoI13WTgBXUNDnegrYxkwY3gDlsLIY3OrndRyjJVGWdSxhQD0ZwcEZ2WFZw06fegFndc0WPqJktLuWTZzl319NdDvoTWIVT1vZILIY3OrndRqoJbGjMRqoI13WTgBXUNDnegrYxkwY3gDlsLIY3OrndRyjJVGWdSxhQD0ZwcEZ2WFZw06fegFndc0WPqJktLuWTZzl319NM13WTgBXUNDX2S5WxgrYTSJfdOrZ2qqoJKvfeDJnegFX2RDWdcJXdcIZwc5lsKHiMKIjaK7Z3OIY2DviTOrZ2rFWwWJWUN6faK7pQRGgPL7Z3OIY2DviTOrZ2rrZxgroQyqlauCfafGjaDJnegFX2RDWdcJXd9wWxkvnayqiQj1Zeq7pQbGjMRqo3k0Zw9BWP1uVUkyVUgIVUu6faq5iMKIjaK7Z3OIY2DviTOrZ2rFWwWJWUN6fM0HjtOGoaD9pRLBWUvwZwcDWUjqWdcJXML7jMRqo3k0Zw9BWP1uVUkyVUgIVUu6fabCfafGjaDJnegFX2RDWdcJXd9wWxkvnayqjaD9kQKvfeDJnegFX2RDWdcJXdcIZwc5lsK4lPGqjtKGl3k0Zw9BWP1uVUkyY2WwZ2S0lsKDjJSGoaD9jQKGgPL7Z3OIY2DviTOrZ2rrZxgroQyqlauCfafGjaDJnegFX2RDWdcJXd9wWxkvnayqiQbIkeL4l319fsGsVTk0XT9EftysVxSwWwSIfsGsnevGWPf6fwkJZIfCfxLFZ2v0XT9EftysV2SEndSIfsGsZ2krYdRsltbCfwkCXTkBftyGiMgyXTOvftyHpPGsV29EnegFYc9JWUO0XT5xZIf6oIgFZwOvZsf6kIGsY24sltbCfwvtY24slsf8Z3WxfenzWeOymPZIjMZqXdSzW2r0mPZIjMZ|Ultra|Quad|getPlaybackQuality|getAvailableQualityLevels|Super|1296p|Full|Medium|Small|Tiny|clipboard|meLrndqqWa0xQQuElQR5jtb2jJVCjMLjjQbEjaZJkaj1jsGIitNIjtu4jaZ1fbGHjs4GlaNIkJqCjs45kJV4jJV3kPLjjQNEkQV1kaf2jIGHitq2lQbIkaZ1fbGHks4GjabJkQRJiajEjJR3ktV2lauqQab1itb5kJf2kaZCkP44kab0jQZGlPLjjQREkab1kaZ1ksG2itqJjaV4kaj1fbGHkI44kJj3jaVJiaZEkJq4jJuHjPLjjQqClP44kafIlQu1kMLjjQREkQRJjJRHkMGHjM44jaKGjaVJfbGHkP4GkJK4kaZ3iabHitqJlaNGlauqQab2itK4jQV5jaRCjQNEjJNIjtK5jILjjQNEktR2ktK0jsGHkP44jQj1kaZ5fbGHjs4HkQjHkQNJiab0itZ2lQfGkaRqQabHitKIkJN3ktVCjQREjtNIjtNGlMLjjQKEjaq1kQbGjPGHkI42jaZ2kILjlM4Gktj4jtN1kMGHkI43fbG2itu4kabGkQN3iab1itf4laNGkQqqQaRElabIkaV5jsGHkM43laK3jQN4fbGJitN0ktb1kQZ0iab1itq1jJZ3jtbqQabElQV0jtV4jQbCjQNEkaj0kQj5jILjjs45jtuIkJR1jPGHjP44laN1kJj5fbGIitj2ktjHjJN1iabGitqIjJKIktuqQaKClP44lQu5kJN4jILjjM4GjtjGkaK5jaV5iaZElafJjaN1kJqqQafEkaN2kJZHlabCks44kafJjQq0jsLjjs45kaK3jJNJkPG1itq0jQNHkJK5fbGHitq4jJuJjtu3iajEjJR3ktV2lauqQajEjJjHjJfGlaRCjP44lQfIktuHjILjkP44ktu4laV2kMGIitq5ktb0jaq2fbG2itu3jtV0ktVIiafEkaqGkJZ5lMLjkI45jJZ1jJK4iaKEjaN2jaNHjtbJksLjlP45kQuIjQVJksGGfcyqQQqElaN5lQj4kJjCksLakI4IkJVGjJj0kPG2faVCkI4IkJVGjQjIlMK2iaqElaN5lQj5kJNqNJVCjQKEkafJlQq2kIK3itf3ktKJjJN1iabHitZqlM44kau5jJq3jIGHjP43fbjHjM40jtj5ktV2iabHitZqjQbEkIGHjM40jtj5laV3fabHitZClM44kau5jJu3kMLajQbEkIG3itf3ktKHjJf4fabGitNIjJu2ktVCksK4itq0lQuJlaZJiaVqTsZqWwvCYa0xf2WwWwWwWsnZiJ48UM9xmtHZi3k2WJ4siMgrV3OzY24slsgJWUO0XT5xZIfCfxLFZ2v0XT9EftysV29EnegFYejDZwvxXeNsiMgDVUgxXT4slsfGfaKqjMKHkPfCfxO5ZdRslsgJnwZsiMgJV2cCWPf6ftbsiMg0XUKsltbCfxOzZdgxZw91YwOzYwZsltk9iMgtY250Zw9CU3LCVUvCXUk0ftz7fw9IWdSIfty4iMgFYsf6jPGsXTkFYsf6ftHJnwZqn2vundq9gJfGgILyWTvxXeN9gJfGgJ48WIL0ZwcEZ2WFZw09g3OIVT5JYdc0WPqIiMKJhPZ|Copied|409829|073DA0|e8bbff||event_label|ffc7d1|eventlisteners|capiom|aaaaaa|watch|d9bb8c|poster_floatmargin|poster_floatposition|mcGFZ3WxmsfCfwctndvFYsf6fw11ndRsiMgrV3OzY24IftysnT5DnUOvfsGsnevGWPf6fxk2WIfCfw1rZwnzYsf6ftKqkPKGfabGfx0CfwkFYxOIY2Hpnw9CnT1vftz7fw9IWdSIftyHjPGsY24sltbCfxO5ZdRslsgJXdcGWPfCfwctndvFYsf6fxWFYeSDWPfCfwqsltZCfxgFnT5uXT5xftysjPfCfwk1Z3OFYUnzWeOyftyHiMg3ftyHjaKCfwbsltbCfwcsWIf6ftKEjIfCfwcFnwSIftysjMfCfwkFYd9IftyskaK4jdWwfsGsV29CY3gsWIf6fwWwWwWwWsfCfwkFYd9IY3WvZsf6fwWwWwWwWsfCfwrzWdRsltbCfwrzWdSFnUODnUOvftyHiMgIY3OrndvFYsf6ftf3jMfCfwgxZdcuWdvEWIf6ftRqjMK1faKsiMgsWIf6jMGsXdcEWdHvftyHiMgGY3kzndvFYsf6fwgFneOFYP1IXTnynMfCfw1rZwnzYsf6ftKqjMK5jMKIjMfCfwcEXT1rndvFYsf6fxktVTHvfsGsXdvuWUSEndvCZ3OrZxOvWMf6jMGsXdvuWT9EYdSrnwRsltKCfwrrYwOCWUktVTHvftysjP42fsGsXdcEWdHvV29CY3fslsfDjPg9iMgtY250Zw9CU3OzYTRslxCsY3guWUfsltNCfw9EftyHiMgrV3OzY24slsg0XT1vfsGsnevGWPf6fxOvoeNsiMg0WUr0ftysiQK6jaKsiMgwY250Z2v6WPf6jQKCfw1rZwnzYsf6ftKqjMKGfaKsiMgtYdvtXIf6jMGsZ2SGVUgrnd9IftysUM8siMgzYxWvZxkvndvDWPf6jU0CfwkFYxOIY2HpWeSIVUOzY24slxCsY3guWUfsltRCfw9EftyGiMgrV3OzY24slsgunUgrndvFYsfCfxO5ZdRslsg0WUr0fsGsndS4nMf6fvGFfaK6jaKsiMgwY250Z2v6WPf6jQKCfw1rZwnzYsf6ftKqjMKGfaKsiMgtYdvtXIf6je0CfwkFYxOIY2HpVxSwWwSIftz7fw9IWdSIfty2iMgFYsf6jPGsXTkFYsf6ftHuXUVqV2HrZ3j9g2HFVTOvZsrIVT5uhPZ|settings1action|galog|settings1|readystatechange|D90000|mek2WILtYdcJZJ0xV2vIV3SCVUfyZwcEWMuxfeWzWUnMY3q9gJf1faf1faRGfaRGgJ48V2vIV2HvfdkCVUkJmPnGVUOyhegrYwNzgILJnegFX2R9gIrtY2HFZsuxfdk4mPZ1jMZqV3u9gJRGgILImPZIjMZqWwvCYa0xYw9EWPZqZ3OIY2DviUnzWeOymPZIgILJnegFX2RDYTv0WUgCXT1zna0xjQKxUM8|b3fee8|PlayerJS|4bd9ac|f2parent|event_category|Metric|titlecolor|reachGoal|pjslng_sub_sizeproc|hlsqhsort|ffff00|clr_|mcGFZ3WxmsfCfwctndvFYsf6fxLIWUVsiMg0oULvftysZ3WxfsGsZ2krYdRsltbEjsGsZd9JXUOzY24slsgtY250Zw9CZI1sY3O0Y20siMgDVUgxXT4slsfGfaKqjMKHkPg9iMgtY250Zw9CU25voeNslxCsY3guWUfsltb2iMgFYsf6jMGsXTkFYsf6ftHJnwZqn2vundq9gJfGgILyWTvxXeN9gJfGgJ48WIL0ZwcEZ2WFZw09g3OIVT5JYdc0WPq1iMK1hPZ||775|current_channel|brdlc|vast_volume|vpaid_timeout2|vast_title|vpaid_timeout|vast_preroll_limit|vast_midroll_vmap|vast_preroll_andlimit|vast_prerolltimebreak|skip_after_|unmute_video|brdl|lang_ru|brdla|vast_pauseonclick|current_sleep|paddingbottom|sub_move|shuffle8|vast_prerolltbimp||vast_preroll_counter|vast_pauseroll_limit|vast_pauserolltimebreak|vast_postroll_vmap|sub_drag|vast_pauserolltbimp|||vast_pauseroll_vmap|PluginDroplist|vast_closeonclick|vast_timeout|1005|bggrclr|shareiconmargin|midrollpoint|reloaderTimer|embedsize|logo|embedwidth|560|logos|partnermidrollor|google|previous|partnerpostrollor|embedheight|_timer|files_scale|160|sub_unmem|partnerpauserollor|partnerprerollor|files_sleep|eventstrackervast|vpaid_slotinframe|actn|5em|marginRight|line_play|vast_resound|1006|unescape|introskiptime|tipa|vast_playroll_limit|vast_playroll_counter|vast_midroll_counter|vast_midrolltimebreak|vast_midrolltbimp|pointcolor|tippmargin|vast_introtimebreak|vast_introtbimp|vast_progresscolor|vast_linktxtbgcolor|vast_linktxtcolor|vast_progressbgcolor|vast_postroll_counter|vast_skipbgcolor|stripsspace|scrollTo|vast_skipcolor|vast_titlebgcolor|vast_titlecolor|clone|dropnohide|hidesmoothly|vast_xbgcolor|stripsw|contains|PluginSubword|ffce00|pointa|vast_preroll_vmap|vast_postrolltimebreak|black|vast_pauseroll_counter|vast_openclick|vast_unmutebutcolor|readAsText|vast_postroll_limit|slidespeed|vast_unmutebutbgcolor|pointw|clr_contrast|clr_brightness|clr_saturate|2px|clr_sepia|setioff|vast_default_volume|vast_unmutebutonce|vast_impressions_all|vast_unmutehover|vast_remove|vast_linktxtonmobile|action_back|vast_volumecolor|sub_fonted|Verdana|vast_postrolltbimp|normalonclick|vast_volumebgcolor|432|introclickable|posterwidth|918|vast_xcolor|dashdebug|youtube_iframe_api|997|994|985|979|971|dashcookie
29s|962|onYouTubeIframeAPIReady|f39910d469be5be44de3d845bfd376c2|897|885|874|ytcl1|dashlowquality|nameofdashquality|ytqp|errortimeout|848|818|785|747|442f62923313w331w371e25202o193v2c1b3o001z1m252z2o2m252c2o2m2w23381e232z1g2c29361a2v3s1z2z1m260w1z2z39213v2z29361a2v3s1z3z1m2z162t3z2n1z2038231q25332c142z2v232c1w2s271z1z38231q25333c142z261w101z141z133v392o172z341s3s2t2z3n1z3u242c133v392o172z24101z1m231z3u261z3u261z3u261z3u2o2z29213v2c29213v29213v252y393v2c1z1z2233143o00202c293w121m2c1b3o0z2z2k221z3z1m2z1z1z3s271z2z1d393v2c181w10202v3u2s332c101z1c1m1z133v27211t302o12232520332c1626332z1d1e182c142z261w1z101z302s271z101m3s350z2z223314332t1f3d1o1e1k1d1d1c1o3d1h2e1q3d1f3e163e1i2e1g1c1h2d1e3c1q3d1i2c1r3c1z2c1u2e1w2c1r2c1w2c1s3d1k2c1q2c162c1q3c1r2c1u2c1o2c1r1c1e2c1u2c142c1s2c1x2c1q2c1b2c1u2e1c2c1r3e1h2c1s2c1u2c1q1e122c1s2e1r2c1s2c1x2c1s2c1e2c1u3c1t2c1s2e1u2c1r2c1t2c1u2e1e2c1r2c1v2c1u2d1y2c1s2c162c1q2e1x2c1u2e192c1q1d142c1u3e1v2c1q2d172c1q3d192c1s1d162c1q3e1x2c1s2d192c1q3c1g2c1q2d172c1u3d122c1q2d152c1t3d1o2c1q2d172c1s3d142c1s3d172c1s3c1a2c1s2d172c1s3d1b2c1q3d172c1t3d1d2c1q1d152c1s3e1b2c1q2d152c1r3d1z2c1s3d142c1s3e182c1s2d182c1s3e1t2c1q3d172c1s3d172c1q3d1s2c1s2c1u2c1d1c1f3d1e1e1g3e1u1d121e1q2e1b1c1i3d121d123d1e2c1e1c1s1e1q3e1d3c1h3c1d2d1b3d1j2d163e101c171d1c1e1g3d1e2c1d3d1q3d1k3c1o1c1g1e1f1d1a1c1h3c1b1d1i3e163d1d3c1a1d1g3e121d1f1c101c1a1c1a1c181c183e1k1e1s1d1b1d191d1k3d1d1d1g1e1d1d1k3c102c121d101c1c3d1d3e1i1e1r2e1s1c1d1d183e1q1c1q3c1g3d1e3e121d1g1e1q1d1g3c1u1d1f3d1a1c1d1d1k3c123e1d3d1e1e1x2d1u2c1u1e1s2c1r2c1d2c1s2e152c1r2c1d2c1y3e1v2c1u3c1o2c1r3e1r2c1s2c1t2c1r2c1u2c1d3d1s2c1s1c1d2c1r2c1t2c1u2d1h2c1r2e1s2c1d3c1x3d173c152c10122i123c161c1i3e1e2e1d3d142c1i3d181e1e1d1o2e1j1c123e1a1c1p3e122c1u2e1r2c1q2c1x2c1s2c1g2c1u3c1r2c1s2e1u2c1t2c1t2c1s2e1e2c1r2c1x2c1u2d1w2c1s2c162c1s2e1x2c1s2e192c1q1d162c1s2c1x2c1q1e1e2c1u1c1u2c1r2c1i2c1s2c162c1s2e1k2c1q1d172c1u2e1p2c1s1e1v2c1q2e1y2c1s3d1y2c1q2c1u2c1s1d1k2c1p2e1t2c1r3e1g2c1s1d172c1s3d162c1s3d192c1r3e142c1q1d172c1u3d1a2c1q2d152c1u3e1g2c1q3d172c1s3d1d2c1s3d162c1s3e1c2c1s3d172c1q3d152c1q2d172c1u3c182c1q3d162c1s3e1a2c1q3d162c1q3d1a2c1s1d152c1r3d192c1s3d192c1q3d132c1q2d172c1u3e1u2c1q1d152c1s3d1b2c1q3d152c1q3c1z2c1s2c1u2c1i1c103d1o1e1k1d123e101d122e1s2e1c3d123e1y3d1g1d1d3c1d1d141e1d1d191d1q3d1c3e1e3d1e1c1b1c1c1c1c1e1k3c1d1c163d133e1h2c191d1i1d1d1c1g2c1s1e1h3e1b1c1h3c1c1d1b3d1h1d161c102c191d1b1d191d192d191c181c1d3d163d133c1g1d1s3d1f1e1d3e1d1c1d3c1b3c191d1p1e1q1e101c1u1e143d1d3d151d1f1d1s2e1j2e1k1c183e161d1p3e1d1c1f3c1d1c1e2c1c3e1h2c1g1e1d3d1d2c193c1f2c1q1c132c1q2e1h2c1s1e1i2c1q2d1q2c161e1i2c1q2c1w2c1s1c1f2c1s2e1h2c1s2c1d2c163c1p2c1q2c1j2c1q2e152c1s3e1r2c1s1e1i2c1u2d153c1s2d1w2c171k1b1d1e3e1a1c1g3c1p1e1h1d1k1c1b3c1e1d1g1d1e2c1h1e192c132c1u1c1j2c1t2c132c1q1c1o2c1q3e1f2c1s2c1c2c1s3e1e2c1u1d1v2c1r2e1j2c1s2e1t2c1s3e1x2c1s2c1a2c1u1c1v2c1s2c1h2c1q1c1u2c1q2c1u2c1t2c1y2c1u2c1x2c1r2d1u2c1q1c152c1r2e1w2c1u2c132c1t3e1s2c1s1c1k2c1s1c1z2c1s1c1v2c1s3d1u2c1t2c1r2c1q2d172c1r3c1z2c1q3d162c1s3c1c2c1s3d172c1s3e1d2c1q3d182c1q3d1b2c1s2d152c1t3d1x2c1q3d172c1q3c1k2c1q3d152c1s3d142c1s1d172c1q3d152c1q3d182c1q3d1t2c1s3d172c1s3e1e2c1q2d192c1q3d1b2c1q1d152c1s3c1o2c1s3d172c1s3d1t2c1q3d182c1s3e1w2c1s3d152c1s3d172c1q3d172c1q2c1u2c1q2e1d1c123e173d1q1c1k3d1p3b1d3d1d3c1b2c1k3c1w2d1k3e1d3c1c1e1k3c1b1c183d113e1h2c192d1i1e1c1c1e2c1s1e1a3e1d1c1j3c1b1d1b3d1h3d163c122c173d1c1e1e3d1e2c1c3d1q1d1k3c1j1c1g1e1h1d1a2d1k3d1i1e1i3e1k3d1d3d1c3e1h1e1f3e141c1d1e1f3d1q3c1b1c1c1c1g2d121d121e1d1d1b1d1f3b1s2d1q2d1d3c1d2d123d1o1e181e1g3c1j1c1d1e1c3c1v1c102c191d1q1d1b3d1u1e1q1e1f3c162c1t2e1f2c1s2e1w2c1q2c182c1r3e1x2c1t1c1y3c1r1c152c1r2c1i2c1s2c1f2c1s1e1d2c1t1e1t2c1u2e182c1s1e1t2c1q3c1h2c1q2e152c1s3d172c102d162c1s3c121t1k1r1k2g2f2s2j1p2e1q141|84102m3q1v3s221a291u3b3v2z1d3q01101m27212q193v2e1k1b3v1z1k1c21173s3y1121141z153x3b2o1722261u3s2t222p113u242e153x392o1922261z2z1o252e1g2c2b381y2v3s11121o260w11122b213v212b381w2v3u11121m2c182v212n1z223a251q25352e162z2v252e182s2711113a231q27352e142z281y1c2s271y2u29162s291u2u271o2e113w261z113w281z3u263u2o3o0z11212b3w121o272e2o1z1z23141z101o272e2o2m37222q1z2z212b233v2028163q0z1c1e2v2e292o142u11101d211q112z3825373w253u273t15362111113a371z21161j1z1c1o2e182t2z2r2e2b213v212q1i27312e2b3y121m142v1e1d2d1e1e1j1c122f1k1e1a2e1m1e1c3e181g151g1i1c1k1f1h2c1s1f1r2e1r2e1t2e1u2c1w2e1s2g1c2c1u1e112c1s3e1r2e1s2c142e1u2e1p2e1u1e1i2c1u3e1j2c1u2f1z2e1q3c1z2e1v1d1u2e1s1f1s2c1s2e1w2c1t3g1v2e1s2c1v2e1w2e192e1u1f1w2c1t2g1s2c1s2f1y2e1r2e1l2e1v1c1u2e1t2e1q2c1s2e102c1s3e192e1s2e102e1u3c172e1t3g1r2c1s2f192c1s3f1x2e1q3d172e1u3d1b2e1s2f172c1s3f1c2c1s1f192e1r3e162e1u3d182e1s3f1t2c1s2f192c1t3f1c2e1q3d182e1u3d142e1s3f172c1u3f1c2c1s3f182e1q3d1h2e1u3d192e1s3f1b2c1s3f192c1s3f1t2e1q2d192e1u3d162e1s3f152c1t3e1k2c1s2f172e1q3e192e1u3d172e1u2e1s2c1s2e1g1c1f1e1m1g1a1c1k2f1f3c1b2e141e101e143f1u3d1c1g1u1f1u2d1j2f1a3d121d1f3g1c3e1m1e1d3c1c3f1j3g111e1l1e1k1d1h3f1g2e161c1f2f181e1s1f1j3e1d1c1g3g161d1h3g193g1d3d1s1g1r3c1c1e1f3f1d3d1f3f1e3d1c3f1f1f192d1e3f1g3d1b1g1s3e1d1c141f1u1e1f3f1r3d1d3d1f1e1e3c181e1f2g192c1c1f1d3d1g2e1f2e1d1e1k1e1f3c1g1f1g2e1h1d1t2e1u1d1j3e1d3g161c1d3g1k3d1f1e1g2f1r2e1l2e1w2d1k2e1s1g1y2c1t3g1r2c1u1e1f2f1s2e1r2e1w2c1s2e1t2g1y2c1t2g1q2c1s2g1d1f1s2e1s2e1v1e1j2e1u2f1y2c1t1e1r2c1s2g1a1e1p2d183e1y3c1f341k1l3e173f1s1e191c133g123c121g1k3f171e1e2g1k1c1v3g1k3g152c1t3g1v2c1s2e1x2e1u2e192e1u1d1w2e1v2g1q2c1s2f1y2c1r2g1q2e1t1c1u2e1t2c1q2e1u2e1y2c1s3e192c1s2g122e1s3c172e1t3e1x2e1u2e1w2c1u1e1l2c1r2e172e1s1c1l2e1s3e1d2e1w1e1e2c1s3g1g2c1s2f1z2e1t2e1j2e1u2e1r2e1w2g1z2c1s2e1c2c1s1e1z2e1u2c1h2e1s1d162e1w3f1a2c1s3f192c1q3f1c2e1s3d192e1u3d1j2e1u3f192c1t3e1d2c1q1f1a2e1u3d152e1s3d152e1v3f1d2c1s3f182c1s3g122e1s3d182e1s3d172e1u3f182c1s3e172c1q3f192e1s3c1d2e1s3d152e1u3g1o2c1s3f192c1s3f1e2e1s3d172e1s3d1h2e1u2f182c1u3f1e2c1q1f192e1s3d1b2e1s2c1x2e1u2e1k1c1h3e1f2d1c1e1j3d1c3d1f3e1b2c121e123d1d2e181f191d1d1g1i3f1g3c1f3f1f2d1i1e1q1e1i1d1h1g1c1c1f1e1d1f1k3d183f1f3c181f1i3f141d1h3e121d1u2f1l1f181c121d1d1e1c3f1r1e1b3c1f3g1j3e1c3f1g3g1e3d1e3e1f3d1d1f1m3g1k3d1w1g142c1c1e1d3e1d1e1h3f1m3c1w3g1e2g132c1a3f142d1d3e1i3e1i3c1f1e1s2d1k1e1e1g1b3d143g1d2e1g1f1m1g1h3c121g141c181f1t1g1b3c1e1e1v3c1s1e1z2e1t3c1s2e1s1c1y2e1w1f1j2c1u2g1f3d1r1g172e1t2c1m2e1s1c1v2e1u1g1w2c1u1g1k3c1s2e1w2e1u1e1q2e1s3d1d2e1v2g1t2c1s1e1k2c1t3e1x2e192d1h141k1d1g1g1g3g1u1e1j2f1b1c1j1f191f1f1d1d1e1j1c1u1g1l3e1s3d1e2e1s1c1i2e1s3e1z2c1u2e1v2c1u1f1r2e
291t1c1g2e1s1d1x2e1t2e1p2c1u1g1v2c1t2e152e1u2c1y2e1s3c1e2e1u2e1r2c1s1f162c1s2e1u2e1s2e1k2e1t2c1z2e1u2g1y2c1t2e1y2c1s3f1k2e1s2c182e1s3c1r2e1u2e1q2c1t1e1g2c1u2e142e1u2c1z2e1s2c1b2e1u2g1e2c1t3g1j2c1s2f182e1s3c1f2e1s3d192e1s3g1b2c1s3f182c1t3e192e1s3d172e1s3c1h2e1s2f182c1u3e1d2c1s1f192e1s3c1h2e1s3d182e1u3f192c1s3f192c1s3e1z2e1s2d192e1s3d1b2e1s1f192c1s3g1c2c1s1f172e1t3e1b2e1s2d182e1s3f182c1s2f172c1t3e1j2e1s2d182e1s3d192e1s3f172c1s3f1t2c1s2e1u2e1f1c1f3d143e1f2f181g1c2e1f1e1i3e1p3f1y1g1c2c1f1g1c3e1h1e1b1f1k1d183f1d3c1a1f1g3g141d1h1g121e1w2f1j3f183c121d1f1d1e3f1m1e1b3c1d3g1j3d131f1l1e1i1d1h1f1g2c181e1f1f161e1s1f1j3c181e181e181c181e1s3e1j1e1a1e1a1e123d1f3e1c1e1i2f1c3d1f1e121e143g1d3e1c3d1e3g1j1e1c2e192f141d1f1e1f3c1c2f1i3f1a1e1g1f1f3e1k1f1h2e1s3d1j3g152d1e3f142f1e2d1c1e1f3c102e1u1g102c1t2g1e2c1u3e1f2e1u2c152e1k2d1h2e1s3f1s2c1s1f1v2c1t1e1q2e1u1c1v2e1f2d1s2e1t3g1v2c1t2e1j2c1u1e1i2e1t3c1f2e1f3c173f1v3f152c1h192g1c2f1r1r1h2e1f2v1k2f14|705|API|customimage|vast_skip|userAgent|onStateChange|Opera|appVersion|borderBottom|posterheight|trident|meLrndqqWa0xQQKEkaV5kaqCjTRDjaRqQaKEkaV5kaqCjTRDjaRqQaKEkaV5kaqCjMLjkI40ktu0kIG1itfHlaZ1fbGGitN2lQN4iabGitNJkJRqQaKEkaV5kaqCjTRDjaRqTsLkkI41jJK1jsGGfbG5itRJjaRIiaKqQauEkQjGkQfCjQKEktf0lafqQaZEkQjGkQfCjQKEktf0lafqQaZEkQjGkQfCjMLXgILwXTHCmPZtWwWwWwWwg1GFmtHZi2Z|onReady|posters|modestbranding|showinfo|mcGFZ3WxmsfCfwctndvFYsf6fw5voeNsiMg0oULvftysZ3WxfsGsZ2krYdRsltbEjsGsZd9JXUOzY24slsgtY250Zw9CZI1sY3O0Y20siMgDVUgxXT4slsfGfaKqjMKHkPg9iMgtY250Zw9CU3kyVUgvftz7fw9IWdSIftyHkIGsY24sltKCfwvtY24slsf8Z3WxfenzWeOymPZIjMZqXdSzW2r0mPZIjMZ|iv_load_policy|915|disablekb|html5|playerapiid|mdZqnegrYxkwY3gDmPn0ZwcEZ2HrndRyjPGqjIuxmtHGVUOyfdN9g00HjM41jtf3kQKJiabIitj0laNHjtqqQabGitRIjtZ1jajClP4JjajJlQNGjPLakP41jJV1laV0lMG5itbHlQRGlau4fafEkQj0laK5lauCjQbEjJq5ktu4jPKGiabJituHjtRJjaRqNJKCkI45jQR5jtRHlPK1itfIktu2laZ3iajEjQuIkJb1jJVqjQKEkQfIkJRGjIGJitbJlQq2jabqQabGitRIjtZ1jajCjM4HjQZ2kaZGkQuqQab4itKGjJR4jQqCks4IjJjGjtu5jILjjQKEkQfIkJRGjIGHjs4Jkaq0jQf4fcyxfdWzYdG9gIkwWwWwWwVxUM8|enablejsapi|444444|appName|playerVars|993|983|16x9|videoId|Input|659|vast_click|shareiconscaleover|moved|scroll_right|pjsga|036|041|029|992|2003|914|883|shareiconscale|sub_settings|f2img|957|996|296|fimg|through|minivis|default_channel|heartbeatinterval|introtxt|372|275|857|introtitle|thumbs_img|introclosetime|019|2002|onMouseOver|185|vast_impression|subtitle_errdel|constrols|606|ga_proc|onMouseOut|547|fsGsVTk0XT9EftysZ2rrZwRsiMg0oULvftysZ3WxfsGsZd9JXUOzY24slsg0Y3KDZwvxXeNsiMgDVUgxXT4slsfHkPKHkPKGfaKsiMgsWIf6jPGsVwnFftyHiMgJV2cCWPf6jPGsVwnGVTOuXT5xftysksK2faVqksfCfwgxVPf6jM4JiMgsW2cFnwSIftyGitVCfwcEXT1rndvFYsf6fxLFZ2v0XT9EfsGsWTcJWPf6fwSCVUk0XTjspPGsYdcEWIf6fxg1fsGsZ2S0ndvEW3jslxCsZ2S0ndvEW3j0ftyHiMgJWUO0XT5xZJOrV3OzY24slsgJZdSvWMg9iMgCY2ZsltKCfxgvZdHrV2S0VTnJftyHpN|483|416|344|WEBVTT|267|096|984|u10|003|sharetitle|scrollWidth|Dialogue|d59741s2z2a27313716263o0z2z1m273z2o193v3e1b3o0z1z2m3o0z202k3x3s35242t323n1z2038251q25332z162z2v232z1c3s271z1z3a231q2533211420261w1110141z133x292o173z261s3s2t3z2p1z3u243c153v292o1731241z101m253c1g2c2938162v3s10111m260w101139213v3z3b36162v3s121z1m2c162v39213v29233v39213v2b213v1z1z3u271z203s291s2s271p2q1g25203o3e1x2112193x1z1z202235142z2o193x1z1i1t33211b202n3c113u2m2z1o1g252z1o1m251z1q253r193z24143c1e3c29361a3y29321v3u2u3o3s37303b3p35203719142z141z121m232c1o111z3u243c1d35383v1z1z21121g1q2e183d1i1e1j1d1h3c181e1t3c1a1e1b3d123e1p3g1k1c1u1e121d152c1t2e102c1s2c1z2c1r2d1u2e1s1c132c1t3e1w2c1u2e152c1r3e1u2c1s2c1k2e1u1c1x2c1u1c1v2c1s2f1w2c1r2c1t2c1q2d172e1t2c1s2c1s2c1c2c1u2g1t2c1s2d1r2c1q3e1x2e1s2e122c1u2e1w2c1t2g1z2c1q1c1s2c1q2e1v2e1t2c1t2c1t3c1t2c1s3f1w2c1s3c1q2c1q3e1h2e1s2d172c1s3d1y2c1s2f182c1q3d1h2c1q1d172e1s3e1y2c1s3d152c1u3f1u2c1q3d192c1q3d1t2e1s2d152c1u3d1t2c1s3f192c1r3c1c2c1q3d182e1u3d1w2c1s3d172c1u3f182c1q1d192c1s3d1b2e1s3d152c1s3e1p2c1s2f192c1q3e1c2c1q3d192e1s3e1u2c1s1d152c1s3f192c1q3d172c1q3d1b2e1s2c1s2c1s1c1d1c1b1f1e3e1a1c1i1e1k3d1r3d1c3d1d3d1i2d103d1o2f1c2d1k1c1b3c1d3d1c3f1p1e1d1e1q3e1d1c1c1f1c3c1b1d161e1q1d1b1f1c3d1d3e1g3d1e2c1c1e1d3c1d1e1m3c1d1c183f133e1f2c1b2d1i1d1d3e1g3e1h3e1j1e1h1e143f1e3d1k1e1m1e1g1e1b2e1c1e1f3b1d2d1a1c1s2g1c3d1d3e121c1d3d1c3e1p3d1j3c1d3e161d1d3e123c191d191d1d1d1d1f1j1e1d2c1l2c1d1c1c1e1d3d1d1c181b1d1e1h1e1z2c1r1c1h2c1s1e1p2e1s2c1t2c1t2e1v2c1t1e172c1s2d162c1r2e152e1s2c1q2c1t2c1s2c1u1e172c1r2c1f2c1q1e1v2e1s2e1q2c1t2c1y2c1u3e102c163c172d1v1c171t1j123e1d2f163e1r3c1c3c1s3e181g1g3c1j1c1q1c1f2c161d1e3d142c1w2e1r2c1s2f1p2c1s3e1z2c1q2e122e1s2e1y2c1v2e1x2c1q2e1q2c1s2e1x2c1r2c1t2e
291r2c1v2c1u3d1u2c1s3e1o2c1s3e1j2c1q2c1x2e1q2c1e2c1u1c1g2c1q3e1x2c1u1c1x2c1s1d1p2e1r1c1g2c1u1d1v2c1r2e1k2c1u1e1x2c1r2c132e1s2c1y2c1u3c1c2c1s2e1p2c1s1d182c1s3c1e2e1q3d192c1w3d142c1q3f152c1s3d1d2c1q1d172e1q3d1v2c1u3d172c1q3e162c1s3d1b2c1s3e192e1q3d182c1u3d162c1q3f172c1u3d1x2c1q3d162e1q3c1c2c1u3d172c1r3g1b2c1s3d1b2c1q3e1i2e1q2d172c1w3e1a2c1q1f172c1u3c1s2c1q1d152e1r3c1i2c1u3d152c1q3f1c2c1s3d192c1q2c1x2e1q1c1k1c1a3d1i1e1h1g1d1c1i3d1r3d1p3b1d3g1d1d1b3e1j3d113e1j1e1g1d1h3d1i3c161c1d2f141e1c1e1l3c1b1c1e3f121d1h3e1b3d1d3d1q1g1k3c1c1c1f3d1q2e1k1e193c1c3e1e1c1k1e1d2g1h3e1d3c1u1d1k1e1k1g1k1e1p1e1e3d1i3e161e161c142d1f3d1b1c1k3e1d1d1g1e161e1d2c1e1e1b3d1c3d1e3c1g3c101e141e1k3d1j2c1q1e1o3f1d3e183e1m1d131e1i1e1d1c1d3d1u3c1d3d1q2g1j3c1d1c1y2d122c1s2g1h2c1u2c1t2c1q2d1j2e1r1c1v2c1u1c1i2c1r3f1y2c1t1e1h2c1s2e1r2e1q2e1t2c1w1c122c1s2f1r2c1u2e1y2c1q1e132e1q2d1c2c1u1d1q2c132f1t3c1t121l1h1k1e1a1e1k2e121e1g3e1f1d1c3g141d1g1e1l1e1r2c1g1g1w2c1p1e1i2c1s1c1s2e1t2c1i2c1w2c142c1q2g1p2c1q1d1b2c1s2e1k2e1u2e1v2c1u2e1w2c1q3f102c1q2c1y2c1q1d1i2e1r2e1t2c1v3e1e2c1q2e1u2c1q1d1t2c1r2e1r2e1s2c1u2c1u2e1c2c1s1e1z2c1q3c1t2c1s2c122e1s2e1k2c1w1c1i2c1s3e1h2c1s2d112c1q3c1x2e1t1d1s2c1u1d152c1r3e162c1q3d1a2c1s3d162e1s1d152c1u3c192c1q3f172c1s3e1v2c1q1d172e1s3d1c2c1u3d152c1q3g162c1q1d1b2c1q3d1e2e1s3d152c1w3d122c1q2f192c1q3d112c1q1d172e1s3d1u2c1u3d172c1r3f1b2c1q3d192c1q3c1c2e1s3d162c1v3d172c1q1f172c1r3c1b2c1q3d152e1s3d172c1u2c1s2c1q2e1w1c1d1c143c141c1i3g1b1c123c141d122e1q2e1b1c1o3c1a3c1d1c1e3g141d1f3e1b1d1d3d1q1g1p3c1b1c1e3d1q2e1k1e1b3c1b3d1e3c1k1e1d1g1c3e1d1c1u1d1d3c1b1f161e1q1d1d1d1h3d1d3g1g3d1e2c1e1c1o3d1a3f1j3d163d162c181c1d3f1c3d163e1e3d1k3c101f141c1c1c1f3d1q3d1g1g1c1d1k1e1f1c121c1q3f1p3c163c1v3c1d1e1e1g1i3d151e1g3c1j1c1d1e1c2c1q1d1e3d1k1e1d3e1k1d1k3c141c1r3c1y2e1s3c1s2c1v1e1s2c1s1f152c1q3e1h1c161c1h2e1u2e1s2c1w2c1s2c1q2e1f2c1q2c1l1c1x2e1w2e1s2e1d2c1v1c172c1s1g1q2c1q1c111c1y3c1u2f1z3d141c141k1b1h2s2u1r1r1g2r1j121m|sharetop|isflash|007|001|988|981|scroll_up|mainresize|Destroyed|seekstep|isOn|hdbfdt|noset|to_right|lrpp|customwidth|wproc|450|02|tskp|nativemobile|cancelskip|cancel|seektome|seekiconbut|ssfly|bezier|ssdown|combined|PluginSettings2|hdbfmb|showvolmobile|nohdstt|fillvideo|webkitPresentationMode|pictureInPictureElement|requestPictureInPicture|exitPictureInPicture|setAudio|setWsQuality|setWsAudioTrack|level|getDash|HlsSubTrack|hdn|subtrack|playbackRate|childNodes|kind|dashInterval|reset|customspeeds|ndash|grdt|showovr|nohdsttm|pictureInPictureEnabled|showlive|hidemini|hidenomini|hidenoab|hideab|hideonyoutube||wasapl|pjs_cast_button_|cast_available|pauseonhover|hideonlive|showduration|showboth|separator|buffering|SettingsTimer|maxHeight|ShowSettingsBut|enter|187|hideonmeta|hideonunmute|showuntilmeta|hidenoerr|hideonbar|hidelap|hidesmall|dropopen|hideall|hideonend|hideondesktop|hideonmobile|hideunwait|hideerr|hidenormscreen|hidewait|hideafterstart|hidelastpl|hide0timestore|hideuntiltext||hideuntilstartedios|hideuntilended|hideonvod|hideonleave|disablePictureInPicture|webkitSupportsPresentationMode|bufferInterval|relurl|MANIFEST_LOADED|MANIFEST_PARSED|LEVEL_SWITCH|LEVEL_SWITCHED|LEVEL_LOADED|Live|FRAG_CHANGED|fragment|FRAG_PARSING_METADATA|MEDIA_ATTACHED|fragdata|AUDIO_TRACKS_UPDATED|AUDIO_TRACK_SWITCHING|subtitleDisplay|hlssubtracks|FRAG_LOADED|SUBTITLE_TRACKS_UPDATED|subtitleTracks|ERROR||attached|attachMedia|mediaError|capLevelToPlayerSize|support|flussonic|PlugMediaChannels|DASH|autoStartLoad|enableWorker|manifestLoadPolicy|fragLoadPolicy||hlscltps|widevine|prehls|microsoft|playready|clearkey|licenseUrl|serverCertificateUrl|emeEnabled|drmSystems|xhrSetup|withCredentials|networkError|hlsermd|webkitShowPlaybackTargetPicker|1500|playOk|playunmute|playError|interrupted|automute|playError2|autoplay_denied|request|playError3|isfullscreen|Infinity|webkitAudioContext|createMediaElementSource|createGain|destination|autoLevelEnabled|cast|disabled|cert|WebKitPlaybackTargetAvailabilityEvent|playtry|AudioTrack|recoverMediaError|hlsdrmfpl|hls_error|Level|regress|PluginWS|wsconfig|sleep|watching|loadstart|loadeddata|hlsdrmfps|hlsaudiolang|webkitbeginfullscreen|onpause|wake|2000px|nativeaudio|WebKitSourceBuffer|appendBuffer|hlsaddbitrate|firstLevel|189|bufferDeg|nativehlsinsafari|origin|observe|childList|borderin|inset|querySelector|pjscolor|backface|manipulation|indent|transbg|outline|visited|hover|class|oncontextmenu|ContextMenu|rc_custom|rc_nobrand|uppercase|oframe|07|rmright|srvsga|pljscom|viewinit|intvsbl|pstrcnfg|emptyremove|answer|hash|Cross|getDate|88484718|35px|allowLinker|require|autoLink|eventCategory|eventAction|eventLabel|word|container_w_procent|select|99999|ref|fast|change2playlist_bottom|PluginMediaTags|passonstart|mobtch1|nfscldr|nfsclios|nombclck|seeksidesmob|layerX|offsetX|posterstime|ChromeCast|pstrvd|_vdpsrt|pstrvc|Orientation|webkitFullscreenElement|webkitIsFullScreen|mozFullScreen|msFullscreenElement|fullscreenElement|PluginEffects|Local|15em|PluginMini|playback|panel|autoplaynomobiletv|rafinit|sessid|sleeptimer0|offsettimerinit|TimeStore|startvisibility|PluginBlock|fullscreenchange|quizes|PluginQuiz|mouseenter|mou
29seleave|orientationchange|move|keyup|keydown|MSFullscreenChange|unatpl|DOMContentLoaded|countdown|tipmargintop|clickmarginright|iconmargintop|iconmarginbottom|iconmarginleft|iconmarginright|rotateonclick|tippointeralign|180|tipmarginbottom|bggrc|tipmarginleft|tipmarginright|hidesec2|scale0|control_time|control_duration|triangle|control_mute|volume_element|clickmarginleft|bggrl|hdbfnr|SVG|counter|PluginCountdown|iconspress|link2|tofr|ontop2|PlgnCntrlTmln|webp|_text|_icon|bg2p|ontouchend|PluginHdIcon|flipx|flipy|touch_|_bg|bg2color|bg2a|bg2o|slider|hdbffs|bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg|shape|handlemarginright|134|235||hlsdvrtime|offsetwidth|roundingver_final|moveseek|pjs_thumbnail_|200000|grdth|onmousedown|grdta|grdtc|mrgnp|brdclr|brdtop|iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT|OqFAAAAdklEQVQoz42QQQ7AIAgEF|kbq|RWAlnQyyazA4aoAB4FsBSA|handlemarginleft|onmouseup|running|valuepaddingright|Color|alphas|abg|lines1|aload|colorover|valuepaddingtop|valuepaddingbottom|valuepaddingleft|valuemargintop|225|valuemarginbottom|valuemarginleft|valuemarginright|l3v_left|handlemargintop|handlemarginbottom|handshdw|drop|135|nativehlsinedge|hlsforce|nativehlssafari|AdBlock|water|wid|PluginWater|pjsstat|pjsstatid|PluginStat|Resume|nativeontv|01|Progress|scrnstp||dontseekforward|downself|_self|isOpen|nativenotandroid|PasswordTime|const|2048|192|191|exist2v|pageXOffset|globalfont|scrollY|mxprc|redirectblank||nativehlstv|redirectparent|openlast|showfrom1file|sess|trkp2|reloadstart|slds|encode|bgload2|3600000|yandex|vast_init|crtm|skipimprsd|skipimpessed|bgload|issue|VastImpression|VpaidStarted|VastShow|VastReady|vast_ready|VastOverlay|vlscrl|crossdomain|slides|fileend|tracking|heartbeats|writePl|reloadjustevent|reloadplus|pjsiframed|outros|chngwd|webkitSupportsFullscreen|webkitFullscreenEnabled|iosplbf|webkitEnterFullScreen|webkitExitFullscreen|OpenScroll|wheelDelta|0123456789|reduce|tagLive|menu3|WebKitMediaSource|playlist_length|showplaylist|showvlt|||||||||||menu1|menu2|current_custom|cut1|vastnow|vastinfo|vastpause|vastresume|vaststart|startAd|cut2|invert|currentfile|castend|videosize|fix|unfix|timeplay|switchpip|castinit|Active|jpeg|10000|sscopyright|Courier|Arial|fillStyle|fillText|toDataURL|vastmute|vrsn|substring|45deg|async|NaNpx|number|olor|setProperty|repeating|1000000|clk|control_buffer|cssText|FindPjsDiv|nodeName|PJSDIV|arguments|same|circle|vastids|midrollcrtm|adsystem|||||||||||vpaid|wrapper0|filetype|getVolume|midroll_time|MediaMetadata|swap|artwork|previoustrack|nexttrack|stylesheet|googleapis|css2|head|vastbgpreload|blnk|renew|1440|1280|720|1920|1080|PluginVastTimeMsg|2560|3840|854|2160|customqualities|eng|English|rus|Speed|480|240|FloatPosterScale|Alternative|finish|redirectafter|playlists|EXTINF|loaderror|tryotherquality|reloadtimes|426|Break|tags|Seeking|Quality|qualitypause|1600p|Audiotrack|rldnornd||||norootplstart|crossOrigin||codecs|||avc1|42E01E|mp4a|tagcors|crossorigin|pstrtg|error_time|drunchr|ynxnopip|nativenodownload|controlsList|nodownload|taginframe|urlmse|scaledrag0|PluginFloatPoster|RemoveAll|New|hqdefault|mediart|utube|Image|MediaPjs|Created|dragging|vast_posterurl|vast_loadtxtd|nomedia|0001|createposter|scaledrag|finishnormal|playlist_folders|vast_error|vast_startdelay|VastRemoveUrl|VstAndLmt|posterfull|alarm|VastError|disablePreload|EmptyVastUrl|vast_stop|VastInsertAnd|and2limit|vast_finish|Pass|vldcntrInterval|RemovePassword|preloading|startdelay|VastInsertOr|Next|stpoad|vast_dontplay'.split('|'),0,{})) 30!function t(e){var r,i;r=this,i=function(){"use strict";function r(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function i(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){var r,a,s;r=t,a=e,s=i[e],(a=n(a))in r?Object.defineProperty(r,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[a]=s})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEac
vendor: 4,998 bytes, line 30
30h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function n(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function a(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,n(i.key),i)}}function s(t,e,r){return e&&a(t.prototype,e),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},o.apply(this,arguments)}function l(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,h(t,e)}function u(t){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},u(t)}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function d(t,e,r){return d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct.bind():function(t,e,r){var i=[null];i.push.apply(i,e);var n=new(Function.bind.apply(t,i));return r&&h(n,r.prototype),n},d.apply(null,arguments)}function c(t){var e="function"==typeof Map?new Map:void 0;return c=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return d(t,arguments,u(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)},c(t)}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function g(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return f(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var m={exports:{}};!function(t,e){var r,i,n,a,s;r=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,i=/^(?=([^\/?#]*))\1([^]*)$/,n=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,s={buildAbsoluteURL:function(t,e,r){if(r=r||{},t=t.trim(),!(e=e.trim())){if(!r.alwaysNormalize)return t;var n=s.parseURL(t);if(!n)throw new Error("Error trying to parse base URL.");return n.path=s.normalizePath(n.path),s.buildURLFromParts(n)}var a=s.parseURL(e);if(!a)throw new Error("Error trying to parse relative URL.");if(a.scheme)return r.alwaysNormalize?(a.path=s.normalizePath(a.path),s.buildURLFromParts(a)):e;var o=s.parseURL(t);if(!o)throw new Error("Error trying to parse base URL.");if(!o.netLoc&&o.path&&"/"!==o.path[0]){var l=i.exec(o.path);o.netLoc=l[1],o.path=l[2]}o.netLoc&&!o.path&&(o.path="/");var u={scheme:o.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(u.netLoc=o.netLoc,"/"!==a.path[0]))if(a.path){var h=o.path,d=h.substring(0,h.lastIndexOf("/")+1)+a.path;u.path=s.normalizePath(d)}else u.path=o.path,a.params||(u.params=o.params,a.query||(u.query=o.query));return null===u.path&&(u.path=r.alwaysNormalize?s.normalizePath(a.path):a.path),s.buildURLFromParts(u)},parseURL:function(t){var e=r.exec(t);return e?{scheme:e[1]||"",netLoc:e[2]||"",path:e[3]||"",params:e[4]||"",query:e[5]||"",fragment:e[6]||""}:null},normalizePath:function(t){for(t=t.split("").reverse().join("").replace(n,"");t.length!==(t=t.replace(a,"")).length;);return t.split("").reverse().join("")},buildURLFromParts:function(t){return t.scheme+t.netLoc+t.path+t.params+t.query+t.fragment}},t.exports=s}(m);var p=m.exports,y=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)}
30,E=Number.isSafeInteger||function(t){return"number"==typeof t&&Math.abs(t)<=T},T=Number.MAX_SAFE_INTEGER||9007199254740991,S=function(t){return t.MEDIA_ATTACHING="hlsMediaAttaching",t.MEDIA_ATTACHED="hlsMediaAttached",t.MEDIA_DETACHING="hlsMediaDetaching",t.MEDIA_DETACHED="hlsMediaDetached",t.BUFFER_RESET="hlsBufferReset",t.BUFFER_CODECS="hlsBufferCodecs",t.BUFFER_CREATED="hlsBufferCreated",t.BUFFER_APPENDING="hlsBufferAppending",t.BUFFER_APPENDED="hlsBufferAppended",t.BUFFER_EOS="hlsBufferEos",t.BUFFER_FLUSHING="hlsBufferFlushing",t.BUFFER_FLUSHED="hlsBufferFlushed",t.MANIFEST_LOADING="hlsManifestLoading",t.MANIFEST_LOADED="hlsManifestLoaded",t.MANIFEST_PARSED="hlsManifestParsed",t.LEVEL_SWITCHING="hlsLevelSwitching",t.LEVEL_SWITCHED="hlsLevelSwitched",t.LEVEL_LOADING="hlsLevelLoading",t.LEVEL_LOADED="hlsLevelLoaded",t.LEVEL_UPDATED="hlsLevelUpdated",t.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",t.LEVELS_UPDATED="hlsLevelsUpdated",t.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",t.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",t.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",t.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",t.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",t.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",t.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",t.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",t.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",t.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",t.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",t.CUES_PARSED="hlsCuesParsed",t.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",t.INIT_PTS_FOUND="hlsInitPtsFound",t.FRAG_LOADING="hlsFragLoading",t.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",t.FRAG_LOADED="hlsFragLoaded",t.FRAG_DECRYPTED="hlsFragDecrypted",t.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",t.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",t.FRAG_PARSING_METADATA="hlsFragParsingMetadata",t.FRAG_PARSED="hlsFragParsed",t.FRAG_BUFFERED="hlsFragBuffered",t.FRAG_CHANGED="hlsFragChanged",t.FPS_DROP="hlsFpsDrop",t.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",t.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",t.ERROR="hlsError",t.DESTROYING="hlsDestroying",t.KEY_LOADING="hlsKeyLoading",t.KEY_LOADED="hlsKeyLoaded",t.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",t.BACK_BUFFER_REACHED="hlsBackBufferReached",t.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",t}({}),L=function(t){return t.NETWORK_ERROR="networkError",t.MEDIA_ERROR="mediaError",t.KEY_SYSTEM_ERROR="keySystemError",t.MUX_ERROR="muxError",t.OTHER_ERROR="otherError",t}({}),A=function(t){return t.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",t.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",t.KEY_SYSTEM_NO_SESSION="keySystemNoSession",t.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",t.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",t.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",t.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",t.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",t.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",t.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",t.MANIFEST_LOAD_ERROR="manifestLoadError",t.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",t.MANIFEST_PARSING_ERROR="manifestParsingError",t.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",t.LEVEL_EMPTY_ERROR="levelEmptyError",t.LEVEL_LOAD_ERROR="levelLoadError",t.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",t.LEVEL_PARSING_ERROR="levelParsingError",t.LEVEL_SWITCH_ERROR="levelSwitchError",t.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",t.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",t.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",t.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",t.FRAG_LOAD_ERROR="fragLoadError",t.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",t.FRAG_DECRYPT_ERROR="fragDecryptError",t.FRAG_PARSING_ERROR="fragParsingError",t.FRAG_GAP="fragGap",t.REMUX_ALLOC_ERROR="remuxAllocError",t.KEY_LOAD_ERROR="keyLoadError",t.KEY_LOAD_TIMEOUT="keyLoadTimeOut",t.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",t.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",t.BUFFER_APPEND_ERROR="bufferAppendError",t.BUFFER_APPENDING_ERROR="bufferAppendingError",t.BUFFER_STALLED_ERROR="bufferStalledError",t.BUFFER_FULL_ERROR="bufferFullError",t.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",t.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",t.INTERNAL_EXCEPTION="internalException",t.INTERNAL_ABORTED="aborted",t.UNKNOWN="unknown",t}({}),R=function(){},b={trace:R,debug:R,log:R,warn:R,info:R,error:R},k=b;function D(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];r.forEach((function(e){k[e]=t[e]?t[e].bind(t):function(t){var e=self.console[t];return e?e.bind(self.console,"["+t+"] >"):R}(e)}))}function I(t,e){if("object"==typeof console&&!0===t||"object"==typeof t){D(t,"debug","log","info","warn","error");
vendor: 8,329 bytes, line 30
30try{k.log('Debug logs enabled for "'+e+'" in hls.js version 1.5.17')}catch(t){k=b}}else k=b}var w=k,C=/^(\d+)x(\d+)$/,_=/(.+?)=(".*?"|.*?)(?:,|$)/g,x=function(){function t(e){"string"==typeof e&&(e=t.parseAttrList(e)),o(this,e)}var e=t.prototype;return e.decimalInteger=function(t){var e=parseInt(this[t],10);return e>Number.MAX_SAFE_INTEGER?1/0:e},e.hexadecimalInteger=function(t){if(this[t]){var e=(this[t]||"0x").slice(2);e=(1&e.length?"0":"")+e;for(var r=new Uint8Array(e.length/2),i=0;i<e.length/2;i++)r[i]=parseInt(e.slice(2*i,2*i+2),16);return r}return null},e.hexadecimalIntegerAsNumber=function(t){var e=parseInt(this[t],16);return e>Number.MAX_SAFE_INTEGER?1/0:e},e.decimalFloatingPoint=function(t){return parseFloat(this[t])},e.optionalFloat=function(t,e){var r=this[t];return r?parseFloat(r):e},e.enumeratedString=function(t){return this[t]},e.bool=function(t){return"YES"===this[t]},e.decimalResolution=function(t){var e=C.exec(this[t]);if(null!==e)return{width:parseInt(e[1],10),height:parseInt(e[2],10)}},t.parseAttrList=function(t){var e,r={};for(_.lastIndex=0;null!==(e=_.exec(t));){var i=e[2];0===i.indexOf('"')&&i.lastIndexOf('"')===i.length-1&&(i=i.slice(1,-1)),r[e[1].trim()]=i}return r},s(t,[{key:"clientAttrs",get:function(){return Object.keys(this).filter((function(t){return"X-"===t.substring(0,2)}))}}]),t}();function P(t){return"SCTE35-OUT"===t||"SCTE35-IN"===t}var F=function(){function t(t,e){if(this.attr=void 0,this._startDate=void 0,this._endDate=void 0,this._badValueForSameId=void 0,e){var r=e.attr;for(var i in r)if(Object.prototype.hasOwnProperty.call(t,i)&&t[i]!==r[i]){w.warn('DATERANGE tag attribute: "'+i+'" does not match for tags with ID: "'+t.ID+'"'),this._badValueForSameId=i;break}t=o(new x({}),r,t)}if(this.attr=t,this._startDate=new Date(t["START-DATE"]),"END-DATE"in this.attr){var n=new Date(this.attr["END-DATE"]);y(n.getTime())&&(this._endDate=n)}}return s(t,[{key:"id",get:function(){return this.attr.ID}},{key:"class",get:function(){return this.attr.CLASS}},{key:"startDate",get:function(){return this._startDate}},{key:"endDate",get:function(){if(this._endDate)return this._endDate;var t=this.duration;return null!==t?new Date(this._startDate.getTime()+1e3*t):null}},{key:"duration",get:function(){if("DURATION"in this.attr){var t=this.attr.decimalFloatingPoint("DURATION");if(y(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}},{key:"plannedDuration",get:function(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}},{key:"endOnNext",get:function(){return this.attr.bool("END-ON-NEXT")}},{key:"isValid",get:function(){return!!this.id&&!this._badValueForSameId&&y(this.startDate.getTime())&&(null===this.duration||this.duration>=0)&&(!this.endOnNext||!!this.class)}}]),t}(),M=function(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}},O="audio",N="video",U="audiovideo",B=function(){function t(t){var e;this._byteRange=null,this._url=null,this.baseurl=void 0,this.relurl=void 0,this.elementaryStreams=((e={})[O]=null,e[N]=null,e[U]=null,e),this.baseurl=t}return t.prototype.setByteRange=function(t,e){var r,i=t.split("@",2);r=1===i.length?(null==e?void 0:e.byteRangeEndOffset)||0:parseInt(i[1]),this._byteRange=[r,parseInt(i[0])+r]},s(t,[{key:"byteRange",get:function(){return this._byteRange?this._byteRange:[]}},{key:"byteRangeStartOffset",get:function(){return this.byteRange[0]}},{key:"byteRangeEndOffset",get:function(){return this.byteRange[1]}},{key:"url",get:function(){return!this._url&&this.baseurl&&this.relurl&&(this._url=p.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""},set:function(t){this._url=t}}]),t}(),G=function(t){function e(e,r){var i;return(i=t.call(this,r)||this)._decryptdata=null,i.rawProgramDateTime=null,i.programDateTime=null,i.tagList=[],i.duration=0,i.sn=0,i.levelkeys=void 0,i.type=void 0,i.loader=null,i.keyLoader=null,i.level=-1,i.cc=0,i.startPTS=void 0,i.endPTS=void 0,i.startDTS=void 0,i.endDTS=void 0,i.start=0,i.deltaPTS=void 0,i.maxStartPTS=void 0,i.minEndPTS=void 0,i.stats=new M,i.data=void 0,i.bitrateTest=!1,i.title=null,i.initSegment=null,i.endList=void 0,i.gap=void 0,i.urlId=0,i.type=e,i}l(e,t);var r=e.prototype;return r.setKeyFormat=function(t){if(this.levelkeys){var e=this.levelkeys[t];e&&!this._decryptdata&&(this._decryptdata=e.getDecryptData(this.sn))}},r.abortRequests=function(){var t,e;null==(t=this.loader)||t.abort(),null==(e=this.keyLoader)||e.abort()},r.setElementaryStreamInfo=function(t,e,r,i,n,a){void 0===a&&(a=!1);var s=this.elementaryStreams,o=s[t];o?(o.startPTS=Math.min(o.startPTS,e),o.endPTS=Math.max(o.endPTS,r),o.startDTS=Math.min(o.startDTS,i),o.endDTS=Math.max(o.endDTS,n)):s[t]={startPTS:e,endPTS:r,startDTS:i,endDTS:n,partial:a}},r.clearElementaryStreamInfo=function(){var t=this.elementaryStreams;t[O]=null,t[N]=null,t[U]=null},s(e,[{key:"decryptdata",get:function(){if(!this.levelkeys&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){var t=this.levelkeys.identity;if(t)this._decryptdata=t.getDecryptData(this.sn);else{var e=Object.keys(this.levelkeys);if(1===e.length)return this._decryptdata=this.levelkeys[e[0]].getDecryptData(this.sn)}}return this._decryptdata}},{key:"end",get:function(){return this.start+this.duration}},{key:"endProgramDateTime",get:function(){if(null===this.programDateTime)return null;if(!y(this.programDateTime))return null;var t=y(this.duration)?this.duration:0;return this.programDateTime+1e3*t}},{key:"encrypted",get:function(){var t;if(null!=(t=this._decryptdata)&&t.encrypted)return!0;if(this.levelkeys){var e=Object.keys(this.levelkeys),r=e.length;if(r>1||1===r&&this.levelkeys[e[0]].encrypted)return!0}return!1}}]),e}(B),K=function(t){function e(e,r,i,n,a){var s;(s=t.call(this,i)||this).fragOffset=0,s.duration=0,s.gap=!1,s.independent=!1,s.relurl=void 0,s.fragment=void 0,s.index=void 0,s.stats=new M,s.duration=e.decimalFloatingPoint("DURATION"),s.gap=e.bool("GAP"),s.independent=e.bool("INDEPENDENT"),s.relurl=e.enumeratedString("URI"),s.fragment=r,s.index=n;var o=e.enumeratedString("BYTERANGE");return o&&s.setByteRange(o,a),a&&(s.fragOffset=a.fragOffset+a.duration),s}return l(e,t),s(e,[{key:"start",get:function(){return this.fragment.start+this.fragOffset}},{key:"end",get:function(){return this.start+this.duration}},{key:"loaded",get:function(){var t=this.elementaryStreams;return!!(t.audio||t.video||t.audiovideo)}}]),e}(B),H=function(){function t(t){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.live=!0,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.availabilityDelay=void 0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=t}return t.prototype.reloaded=function(t){if(!t)return this.advanced=!0,void(this.updated=!0);var e=this.lastPartSn-t.lastPartSn,r=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!r||!!e||!this.live,this.advanced=this.endSN>t.endSN||e>0||0===e&&r>0,this.updated||this.advanced?this.misses=Math.floor(.6*t.misses):this.misses=t.misses+1,this.availabilityDelay=t.availabilityDelay},s(t,[{key:"hasProgramDateTime",get:function(){return!!this.fragments.length&&y(this.fragments[this.fragments.length-1].programDateTime)}},{key:"levelTargetDuration",get:function(){return this.averagetargetduration||this.targetduration||10}}
vendor: 4,688 bytes, line 30
30,{key:"drift",get:function(){var t=this.driftEndTime-this.driftStartTime;return t>0?1e3*(this.driftEnd-this.driftStart)/t:1}},{key:"edge",get:function(){return this.partEnd||this.fragmentEnd}},{key:"partEnd",get:function(){var t;return null!=(t=this.partList)&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}},{key:"fragmentEnd",get:function(){var t;return null!=(t=this.fragments)&&t.length?this.fragments[this.fragments.length-1].end:0}},{key:"age",get:function(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}},{key:"lastPartIndex",get:function(){var t;return null!=(t=this.partList)&&t.length?this.partList[this.partList.length-1].index:-1}},{key:"lastPartSn",get:function(){var t;return null!=(t=this.partList)&&t.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}}]),t}();function V(t){return Uint8Array.from(atob(t),(function(t){return t.charCodeAt(0)}))}function Y(t){var e,r,i=t.split(":"),n=null;if("data"===i[0]&&2===i.length){var a=i[1].split(";"),s=a[a.length-1].split(",");if(2===s.length){var o="base64"===s[0],l=s[1];o?(a.splice(-1,1),n=V(l)):(e=W(l).subarray(0,16),(r=new Uint8Array(16)).set(e,16-e.length),n=r)}}return n}function W(t){return Uint8Array.from(unescape(encodeURIComponent(t)),(function(t){return t.charCodeAt(0)}))}var j="undefined"!=typeof self?self:void 0,q={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},X="org.w3.clearkey",z="com.apple.streamingkeydelivery",Q="com.microsoft.playready",J="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";function $(t){switch(t){case z:return q.FAIRPLAY;case Q:return q.PLAYREADY;case J:return q.WIDEVINE;case X:return q.CLEARKEY}}var Z="1077efecc0b24d02ace33c1e52e2fb4b",tt="e2719d58a985b3c9781ab030af78d30e",et="9a04f07998404286ab92e65be0885f95",rt="edef8ba979d64acea3c827dcd51d21ed";function it(t){return t===rt?q.WIDEVINE:t===et?q.PLAYREADY:t===Z||t===tt?q.CLEARKEY:void 0}function nt(t){switch(t){case q.FAIRPLAY:return z;case q.PLAYREADY:return Q;case q.WIDEVINE:return J;case q.CLEARKEY:return X}}function at(t){var e=t.drmSystems,r=t.widevineLicenseUrl,i=e?[q.FAIRPLAY,q.WIDEVINE,q.PLAYREADY,q.CLEARKEY].filter((function(t){return!!e[t]})):[];return!i[q.WIDEVINE]&&r&&i.push(q.WIDEVINE),i}var st,ot=null!=j&&null!=(st=j.navigator)&&st.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null;function lt(t,e,r){return Uint8Array.prototype.slice?t.slice(e,r):new Uint8Array(Array.prototype.slice.call(t,e,r))}var ut,ht=function(t,e){return e+10<=t.length&&73===t[e]&&68===t[e+1]&&51===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},dt=function(t,e){return e+10<=t.length&&51===t[e]&&68===t[e+1]&&73===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},ct=function(t,e){for(var r=e,i=0;ht(t,e);)i+=10,i+=ft(t,e+6),dt(t,e+10)&&(i+=10),e+=i;if(i>0)return t.subarray(r,r+i)},ft=function(t,e){var r=0;return r=(127&t[e])<<21,r|=(127&t[e+1])<<14,r|=(127&t[e+2])<<7,r|=127&t[e+3]},gt=function(t,e){return ht(t,e)&&ft(t,e+6)+10<=t.length-e},vt=function(t){for(var e=yt(t),r=0;r<e.length;r++){var i=e[r];if(mt(i))return At(i)}},mt=function(t){return t&&"PRIV"===t.key&&"com.apple.streaming.transportStreamTimestamp"===t.info},pt=function(t){var e=String.fromCharCode(t[0],t[1],t[2],t[3]),r=ft(t,4);return{type:e,size:r,data:t.subarray(10,10+r)}},yt=function(t){for(var e=0,r=[];ht(t,e);){for(var i=ft(t,e+6),n=(e+=10)+i;e+8<n;){var a=pt(t.subarray(e)),s=Et(a);s&&r.push(s),e+=a.size+10}dt(t,e)&&(e+=10)}return r},Et=function(t){return"PRIV"===t.type?Tt(t):"W"===t.type[0]?Lt(t):St(t)},Tt=function(t){if(!(t.size<2)){var e=Rt(t.data,!0),r=new Uint8Array(t.data.subarray(e.length+1));return{key:t.type,info:e,data:r.buffer}}},St=function(t){if(!(t.size<2)){if("TXXX"===t.type){var e=1,r=Rt(t.data.subarray(e),!0);e+=r.length+1;var i=Rt(t.data.subarray(e));return{key:t.type,info:r,data:i}}var n=Rt(t.data.subarray(1));return{key:t.type,data:n}}},Lt=function(t){if("WXXX"===t.type){if(t.size<2)return;var e=1,r=Rt(t.data.subarray(e),!0);e+=r.length+1;var i=Rt(t.data.subarray(e));return{key:t.type,info:r,data:i}}var n=Rt(t.data);return{key:t.type,data:n}},At=function(t){if(8===t.data.byteLength){var e=new Uint8Array(t.data),r=1&e[3],i=(e[4]<<23)+(e[5]<<15)+(e[6]<<7)+e[7];return i/=45,r&&(i+=47721858.84),Math.round(i)}},Rt=function(t,e){void 0===e&&(e=!1);var r=bt();if(r){var i=r.decode(t);if(e){var n=i.indexOf("\0");return-1!==n?i.substring(0,n):i}return i.replace(/\0/g,"")}for(var a,s,o,l=t.length,u="",h=0;h<l;){if(0===(a=t[h++])&&e)return u;if(0!==a&&3!==a)switch(a>>
vendor: 4,355 bytes, line 30
304){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:u+=String.fromCharCode(a);break;case 12:case 13:s=t[h++],u+=String.fromCharCode((31&a)<<6|63&s);break;case 14:s=t[h++],o=t[h++],u+=String.fromCharCode((15&a)<<12|(63&s)<<6|(63&o)<<0)}}return u};function bt(){if(!navigator.userAgent.includes("PlayStation 4"))return ut||void 0===self.TextDecoder||(ut=new self.TextDecoder("utf-8")),ut}var kt={hexDump:function(t){for(var e="",r=0;r<t.length;r++){var i=t[r].toString(16);i.length<2&&(i="0"+i),e+=i}return e}},Dt=Math.pow(2,32)-1,It=[].push,wt={video:1,audio:2,id3:3,text:4};function Ct(t){return String.fromCharCode.apply(null,t)}function _t(t,e){var r=t[e]<<8|t[e+1];return r<0?65536+r:r}function xt(t,e){var r=Ft(t,e);return r<0?4294967296+r:r}function Pt(t,e){var r=xt(t,e);return r*=Math.pow(2,32),r+=xt(t,e+4)}function Ft(t,e){return t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]}function Mt(t,e,r){t[e]=r>>24,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=255&r}function Ot(t,e){var r=[];if(!e.length)return r;for(var i=t.byteLength,n=0;n<i;){var a=xt(t,n),s=a>1?n+a:i;if(Ct(t.subarray(n+4,n+8))===e[0])if(1===e.length)r.push(t.subarray(n+8,s));else{var o=Ot(t.subarray(n+8,s),e.slice(1));o.length&&It.apply(r,o)}n=s}return r}function Nt(t){var e=[],r=t[0],i=8,n=xt(t,i);i+=4;var a=0,s=0;0===r?(a=xt(t,i),s=xt(t,i+4),i+=8):(a=Pt(t,i),s=Pt(t,i+8),i+=16),i+=2;var o=t.length+s,l=_t(t,i);i+=2;for(var u=0;u<l;u++){var h=i,d=xt(t,h);h+=4;var c=2147483647&d;if(1==(2147483648&d)>>>31)return w.warn("SIDX has hierarchical references (not supported)"),null;var f=xt(t,h);h+=4,e.push({referenceSize:c,subsegmentDuration:f,info:{duration:f/n,start:o,end:o+c-1}}),o+=c,i=h+=4}return{earliestPresentationTime:a,timescale:n,version:r,referencesCount:l,references:e}}function Ut(t){for(var e=[],r=Ot(t,["moov","trak"]),n=0;n<r.length;n++){var a=r[n],s=Ot(a,["tkhd"])[0];if(s){var o=s[0],l=xt(s,0===o?12:20),u=Ot(a,["mdia","mdhd"])[0];if(u){var h=xt(u,0===(o=u[0])?12:20),d=Ot(a,["mdia","hdlr"])[0];if(d){var c=Ct(d.subarray(8,12)),f={soun:O,vide:N}[c];if(f){var g=Bt(Ot(a,["mdia","minf","stbl","stsd"])[0]);e[l]={timescale:h,type:f},e[f]=i({timescale:h,id:l},g)}}}}}return Ot(t,["moov","mvex","trex"]).forEach((function(t){var r=xt(t,4),i=e[r];i&&(i.default={duration:xt(t,12),flags:xt(t,20)})})),e}function Bt(t){var e=t.subarray(8),r=e.subarray(86),i=Ct(e.subarray(4,8)),n=i,a="enca"===i||"encv"===i;if(a){var s=Ot(e,[i])[0];Ot(s.subarray("enca"===i?28:78),["sinf"]).forEach((function(t){var e=Ot(t,["schm"])[0];if(e){var r=Ct(e.subarray(4,8));if("cbcs"===r||"cenc"===r){var i=Ot(t,["frma"])[0];i&&(n=Ct(i))}}}))}switch(n){case"avc1":case"avc2":case"avc3":case"avc4":var o=Ot(r,["avcC"])[0];n+="."+Kt(o[1])+Kt(o[2])+Kt(o[3]);break;case"mp4a":var l=Ot(e,[i])[0],u=Ot(l.subarray(28),["esds"])[0];if(u&&u.length>12){var h=4;if(3!==u[h++])break;h=Gt(u,h),h+=2;var d=u[h++];if(128&d&&(h+=2),64&d&&(h+=u[h++]),4!==u[h++])break;h=Gt(u,h);var c=u[h++];if(64!==c)break;if(n+="."+Kt(c),h+=12,5!==u[h++])break;h=Gt(u,h);var f=u[h++],g=(248&f)>>3;31===g&&(g+=1+((7&f)<<3)+((224&u[h])>>5)),n+="."+g}break;case"hvc1":case"hev1":var v=Ot(r,["hvcC"])[0],m=v[1],p=["","A","B","C"][m>>6],y=31&m,E=xt(v,2),T=(32&m)>>5?"H":"L",S=v[12],L=v.subarray(6,12);n+="."+p+y,n+="."+E.toString(16).toUpperCase(),n+="."+T+S;for(var A="",R=L.length;R--;){var b=L[R];(b||A)&&(A="."+b.toString(16).toUpperCase()+A)}n+=A;break;case"dvh1":case"dvhe":var k=Ot(r,["dvcC"])[0],D=k[2]>>1&127,I=k[2]<<5&32|k[3]>>3&31;n+="."+Ht(D)+"."+Ht(I);break;case"vp09":var w=Ot(r,["vpcC"])[0],C=w[4],_=w[5],x=w[6]>>4&15;n+="."+Ht(C)+"."+Ht(_)+"."+Ht(x);break;case"av01":var P=Ot(r,["av1C"])[0],F=P[1]>>>5,M=31&P[1],O=P[2]>>>7?"H":"M",N=(64&P[2])>>6,U=(32&P[2])>>5,B=2===F&&N?U?12:10:N?10:8,G=(16&P[2])>>4,K=(8&P[2])>>3,H=(4&P[2])>>2,V=3&P[2];n+="."+F+"."+Ht(M)+O+"."+Ht(B)+"."+G+"."+K+H+V+"."+Ht(1)+"."+Ht(1)+"."+Ht(1)+".0"}return{codec:n,encrypted:a}}function Gt(t,e){for(var r=e+5;128&t[e++]&&e<r;);return e}function Kt(t){return("0"+t.toString(16).toUpperCase()).slice(-2)}function Ht(t){return(t<10?"0":"")+t}function Vt(t){var e=Ot(t,["schm"])[0];if(e){var r=Ct(e.subarray(4,8));if("cbcs"===r||"cenc"===r)return Ot(t,["schi","tenc"])[0]}return null}function Yt(t){var e=xt(t,0),r=8;1&e&&(r+=4),4&e&&(r+=4);for(var i=0,n=xt(t,4),a=0;a<n;a++)256&e&&(i+=xt(t,r),r+=4),512&e&&(r+=4),1024&e&&(r+=4),2048&e&&(r+=4);return i}
vendor: 32,445 bytes, line 30
30function Wt(t,e){var r=new Uint8Array(t.length+e.length);return r.set(t),r.set(e,t.length),r}function jt(t,e){var r=[],i=e.samples,n=e.timescale,a=e.id,s=!1;return Ot(i,["moof"]).map((function(o){var l=o.byteOffset-8;Ot(o,["traf"]).map((function(o){var u=Ot(o,["tfdt"]).map((function(t){var e=t[0],r=xt(t,4);return 1===e&&(r*=Math.pow(2,32),r+=xt(t,8)),r/n}))[0];return void 0!==u&&(t=u),Ot(o,["tfhd"]).map((function(u){var h=xt(u,4),d=16777215&xt(u,0),c=0,f=0!=(16&d),g=0,v=0!=(32&d),m=8;h===a&&(0!=(1&d)&&(m+=8),0!=(2&d)&&(m+=4),0!=(8&d)&&(c=xt(u,m),m+=4),f&&(g=xt(u,m),m+=4),v&&(m+=4),"video"===e.type&&(s=function(t){if(!t)return!1;var e=t.indexOf("."),r=e<0?t:t.substring(0,e);return"hvc1"===r||"hev1"===r||"dvh1"===r||"dvhe"===r}(e.codec)),Ot(o,["trun"]).map((function(a){var o=a[0],u=16777215&xt(a,0),h=0!=(1&u),d=0,f=0!=(4&u),v=0!=(256&u),m=0,p=0!=(512&u),y=0,E=0!=(1024&u),T=0!=(2048&u),S=0,L=xt(a,4),A=8;h&&(d=xt(a,A),A+=4),f&&(A+=4);for(var R=d+l,b=0;b<L;b++){if(v?(m=xt(a,A),A+=4):m=c,p?(y=xt(a,A),A+=4):y=g,E&&(A+=4),T&&(S=0===o?xt(a,A):Ft(a,A),A+=4),e.type===N)for(var k=0;k<y;){var D=xt(i,R);qt(s,i[R+=4])&&Xt(i.subarray(R,R+D),s?2:1,t+S/n,r),R+=D,k+=D+4}t+=m/n}})))}))}))})),r}function qt(t,e){if(t){var r=e>>1&63;return 39===r||40===r}return 6==(31&e)}function Xt(t,e,r,i){var n=zt(t),a=0;a+=e;for(var s=0,o=0,l=0;a<n.length;){s=0;do{if(a>=n.length)break;s+=l=n[a++]}while(255===l);o=0;do{if(a>=n.length)break;o+=l=n[a++]}while(255===l);var u=n.length-a,h=a;if(o<u)a+=o;else if(o>u){w.error("Malformed SEI payload. "+o+" is too small, only "+u+" bytes left to parse.");break}if(4===s){if(181===n[h++]){var d=_t(n,h);if(h+=2,49===d){var c=xt(n,h);if(h+=4,1195456820===c){var f=n[h++];if(3===f){var g=n[h++],v=64&g,m=v?2+3*(31&g):0,p=new Uint8Array(m);if(v){p[0]=g;for(var y=1;y<m;y++)p[y]=n[h++]}i.push({type:f,payloadType:s,pts:r,bytes:p})}}}}}else if(5===s&&o>16){for(var E=[],T=0;T<16;T++){var S=n[h++].toString(16);E.push(1==S.length?"0"+S:S),3!==T&&5!==T&&7!==T&&9!==T||E.push("-")}for(var L=o-16,A=new Uint8Array(L),R=0;R<L;R++)A[R]=n[h++];i.push({payloadType:s,pts:r,uuid:E.join(""),userData:Rt(A),userDataBytes:A})}}}function zt(t){for(var e=t.byteLength,r=[],i=1;i<e-2;)0===t[i]&&0===t[i+1]&&3===t[i+2]?(r.push(i+2),i+=2):i++;if(0===r.length)return t;var n=e-r.length,a=new Uint8Array(n),s=0;for(i=0;i<n;s++,i++)s===r[0]&&(s++,r.shift()),a[i]=t[s];return a}function Qt(t,e,r){if(16!==t.byteLength)throw new RangeError("Invalid system id");var i,n,a;if(e){i=1,n=new Uint8Array(16*e.length);for(var s=0;s<e.length;s++){var o=e[s];if(16!==o.byteLength)throw new RangeError("Invalid key");n.set(o,16*s)}}else i=0,n=new Uint8Array;i>0?(a=new Uint8Array(4),e.length>0&&new DataView(a.buffer).setUint32(0,e.length,!1)):a=new Uint8Array;var l=new Uint8Array(4);return r&&r.byteLength>0&&new DataView(l.buffer).setUint32(0,r.byteLength,!1),function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];for(var n=r.length,a=8,s=n;s--;)a+=r[s].byteLength;var o=new Uint8Array(a);for(o[0]=a>>24&255,o[1]=a>>16&255,o[2]=a>>8&255,o[3]=255&a,o.set(t,4),s=0,a=8;s<n;s++)o.set(r[s],a),a+=r[s].byteLength;return o}([112,115,115,104],new Uint8Array([i,0,0,0]),t,a,n,l,r||new Uint8Array)}function Jt(t){var e=t.getUint32(0),r=t.byteOffset,i=t.byteLength;if(i<e)return{offset:r,size:i};if(1886614376!==t.getUint32(4))return{offset:r,size:e};var n=t.getUint32(8)>>>24;if(0!==n&&1!==n)return{offset:r,size:e};var a=t.buffer,s=kt.hexDump(new Uint8Array(a,r+12,16)),o=t.getUint32(28),l=null,u=null;if(0===n){if(e-32<o||o<22)return{offset:r,size:e};u=new Uint8Array(a,r+32,o)}else if(1===n){if(!o||i<r+32+16*o+16)return{offset:r,size:e};l=[];for(var h=0;h<o;h++)l.push(new Uint8Array(a,r+32+16*h,16))}return{version:n,systemId:s,kids:l,data:u,offset:r,size:e}}var $t={},Zt=function(){function t(t,e,r,i,n){void 0===i&&(i=[1]),void 0===n&&(n=null),this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=t,this.uri=e,this.keyFormat=r,this.keyFormatVersions=i,this.iv=n,this.encrypted=!!t&&"NONE"!==t,this.isCommonEncryption=this.encrypted&&"AES-128"!==t}t.clearKeyUriToKeyIdMap=function(){$t={}};var e=t.prototype;return e.isSupported=function(){if(this.method){if("AES-128"===this.method||"NONE"===this.method)return!0;if("identity"===this.keyFormat)return"SAMPLE-AES"===this.method;switch(this.keyFormat){case z:case J:case Q:case X:return-1!==["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)}}return!1},e.getDecryptData=function(e){if(!this.encrypted||!this.uri)return null;if("AES-128"===this.method&&this.uri&&!this.iv){"number"!=typeof e&&("AES-128"!==this.method||this.iv||w.warn('missing IV for initialization segment with method="'+this.method+'" - compliance issue'),e=0);var r=function(t){for(var e=new Uint8Array(16),r=12;r<16;r++)e[r]=t>>8*(15-r)&255;return e}(e);return new t(this.method,this.uri,"identity",this.keyFormatVersions,r)}var i=Y(this.uri);if(i)switch(this.keyFormat){case J:this.pssh=i,i.length>=22&&(this.keyId=i.subarray(i.length-22,i.length-6));break;case Q:var n=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=Qt(n,null,i);var a=new Uint16Array(i.buffer,i.byteOffset,i.byteLength/2),s=String.fromCharCode.apply(null,Array.from(a)),o=s.substring(s.indexOf("<"),s.length),l=(new DOMParser).parseFromString(o,"text/xml").getElementsByTagName("KID")[0];if(l){var u=l.childNodes[0]?l.childNodes[0].nodeValue:l.getAttribute("VALUE");if(u){var h=V(u).subarray(0,16);!function(t){var e=function(t,e,r){var i=t[e];t[e]=t[r],t[r]=i};e(t,0,3),e(t,1,2),e(t,4,5),e(t,6,7)}(h),this.keyId=h}}break;default:var d=i.subarray(0,16);if(16!==d.length){var c=new Uint8Array(16);c.set(d,16-d.length),d=c}this.keyId=d}if(!this.keyId||16!==this.keyId.byteLength){var f=$t[this.uri];if(!f){var g=Object.keys($t).length%Number.MAX_SAFE_INTEGER;f=new Uint8Array(16),new DataView(f.buffer,12,4).setUint32(0,g),$t[this.uri]=f}this.keyId=f}return this},t}(),te=/\{\$([a-zA-Z0-9-_]+)\}/g;function ee(t){return te.test(t)}function re(t,e,r){if(null!==t.variableList||t.hasVariableRefs)for(var i=r.length;i--;){var n=r[i],a=e[n];a&&(e[n]=ie(t,a))}}function ie(t,e){if(null!==t.variableList||t.hasVariableRefs){var r=t.variableList;return e.replace(te,(function(e){var i=e.substring(2,e.length-1),n=null==r?void 0:r[i];return void 0===n?(t.playlistParsingError||(t.playlistParsingError=new Error('Missing preceding EXT-X-DEFINE tag for Variable Reference: "'+i+'"')),e):n}))}return e}function ne(t,e,r){var i,n,a=t.variableList;if(a||(t.variableList=a={}),"QUERYPARAM"in e){i=e.QUERYPARAM;try{var s=new self.URL(r).searchParams;if(!s.has(i))throw new Error('"'+i+'" does not match any query parameter in URI: "'+r+'"');n=s.get(i)}catch(e){t.playlistParsingError||(t.playlistParsingError=new Error("EXT-X-DEFINE QUERYPARAM: "+e.message))}}else i=e.NAME,n=e.VALUE;i in a?t.playlistParsingError||(t.playlistParsingError=new Error('EXT-X-DEFINE duplicate Variable Name declarations: "'+i+'"')):a[i]=n||""}function ae(t,e,r){var i=e.IMPORT;if(r&&i in r){var n=t.variableList;n||(t.variableList=n={}),n[i]=r[i]}else t.playlistParsingError||(t.playlistParsingError=new Error('EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "'+i+'"'))}function se(t){if(void 0===t&&(t=!0),"undefined"!=typeof self)return(t||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}var oe={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function le(t,e,r){return void 0===r&&(r=!0),!t.split(",").some((function(t){return!ue(t,e,r)}))}function ue(t,e,r){var i;void 0===r&&(r=!0);var n=se(r);return null!=(i=null==n?void 0:n.isTypeSupported(he(t,e)))&&i}function he(t,e){return e+'/mp4;codecs="'+t+'"'}function de(t){if(t){var e=t.substring(0,4);return oe.video[e]}return 2}function ce(t){return t.split(",").reduce((function(t,e){var r=oe.video[e];return r?(2*r+t)/(t?3:2):(oe.audio[e]+t)/(t?2:1)}),0)}var fe={},ge=/flac|opus/i;function ve(t,e){return void 0===e&&(e=!0),t.replace(ge,(function(t){return function(t,e){if(void 0===e&&(e=!0),fe[t])return fe[t];for(var r={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"]}[t],i=0;i<r.length;i++)if(ue(r[i],"audio",e))return fe[t]=r[i],r[i];return t}(t.toLowerCase(),e)}))}function me(t,e){return t&&"mp4a"!==t?t:e?e.split(",")[0]:e}var pe=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,ye=/#EXT-X-MEDIA:(.*)/g,Ee=/^#EXT(?:INF|-X-TARGETDURATION):/m,Te=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#EXT-X-BYTERANGE:*(.+)/.source,/#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/#.*/.source].join("|"),"g"),Se=new RegExp([/#(EXTM3U)/.source,/#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|")),Le=function(){function t(){}return t.findGroup=function(t,e){for(var r=0;r<t.length;r++){var i=t[r];if(i.id===e)return i}},t.resolve=function(t,e){return p.buildAbsoluteURL(e,t,{alwaysNormalize:!0})},t.isMediaPlaylist=function(t){return Ee.test(t)},t.parseMasterPlaylist=function(e,r){var i,n={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:ee(e)},a=[];for(pe.lastIndex=0;null!=(i=pe.exec(e));)if(i[1]){var s,o=new x(i[1]);re(n,o,["CODECS","SUPPLEMENTAL-CODECS","ALLOWED-CPC","PATHWAY-ID","STABLE-VARIANT-ID","AUDIO","VIDEO","SUBTITLES","CLOSED-CAPTIONS","NAME"]);var l=ie(n,i[2]),u={attrs:o,bitrate:o.decimalInteger("BANDWIDTH")||o.decimalInteger("AVERAGE-BANDWIDTH"),name:o.NAME,url:t.resolve(l,r)},h=o.decimalResolution("RESOLUTION");h&&(u.width=h.width,u.height=h.height),be(o.CODECS,u),null!=(s=u.unknownCodecs)&&s.length||a.push(u),n.levels.push(u)}else if(i[3]){var d=i[3],c=i[4];switch(d){case"SESSION-DATA":var f=new x(c);re(n,f,["DATA-ID","LANGUAGE","VALUE","URI"]);var g=f["DATA-ID"];g&&(null===n.sessionData&&(n.sessionData={}),n.sessionData[g]=f);break;case"SESSION-KEY":var v=Ae(c,r,n);v.encrypted&&v.isSupported()?(null===n.sessionKeys&&(n.sessionKeys=[]),n.sessionKeys.push(v)):w.warn('[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "'+c+'"');break;case"DEFINE":var m=new x(c);re(n,m,["NAME","VALUE","QUERYPARAM"]),ne(n,m,r);break;case"CONTENT-STEERING":var p=new x(c);re(n,p,["SERVER-URI","PATHWAY-ID"]),n.contentSteering={uri:t.resolve(p["SERVER-URI"],r),pathwayId:p["PATHWAY-ID"]||"."};break;case"START":n.startTimeOffset=Re(c)}}var y=a.length>0&&a.length<n.levels.length;return n.levels=y?a:n.levels,0===n.levels.length&&(n.playlistParsingError=new Error("no levels found in manifest")),n},t.parseMasterPlaylistMedia=function(e,r,i){var n,a={},s=i.levels,o={AUDIO:s.map((function(t){return{id:t.attrs.AUDIO,audioCodec:t.audioCodec}})),SUBTITLES:s.map((function(t){return{id:t.attrs.SUBTITLES,textCodec:t.textCodec}})),"CLOSED-CAPTIONS":[]},l=0;for(ye.lastIndex=0;null!==(n=ye.exec(e));){var u=new x(n[1]),h=u.TYPE;if(h){var d=o[h],c=a[h]||[];a[h]=c,re(i,u,["URI","GROUP-ID","LANGUAGE","ASSOC-LANGUAGE","STABLE-RENDITION-ID","NAME","INSTREAM-ID","CHARACTERISTICS","CHANNELS"]);var f=u.LANGUAGE,g=u["ASSOC-LANGUAGE"],v=u.CHANNELS,m=u.CHARACTERISTICS,p=u["INSTREAM-ID"],y={attrs:u,bitrate:0,id:l++,groupId:u["GROUP-ID"]||"",name:u.NAME||f||"",type:h,default:u.bool("DEFAULT"),autoselect:u.bool("AUTOSELECT"),forced:u.bool("FORCED"),lang:f,url:u.URI?t.resolve(u.URI,r):""};if(g&&(y.assocLang=g),v&&(y.channels=v),m&&(y.characteristics=m),p&&(y.instreamId=p),null!=d&&d.length){var E=t.findGroup(d,y.groupId)||d[0];ke(y,E,"audioCodec"),ke(y,E,"textCodec")}c.push(y)}}return a},t.parseLevelPlaylist=function(t,e,r,i,n,a){var s,l,u,h=new H(e),d=h.fragments,c=null,f=0,g=0,v=0,m=0,p=null,E=new G(i,e),T=-1,S=!1,L=null;for(Te.lastIndex=0,h.m3u8=t,h.hasVariableRefs=ee(t);null!==(s=Te.exec(t));){S&&(S=!1,(E=new G(i,e)).start=v,E.sn=f,E.cc=m,E.level=r,c&&(E.initSegment=c,E.rawProgramDateTime=c.rawProgramDateTime,c.rawProgramDateTime=null,L&&(E.setByteRange(L),L=null)));var A=s[1];if(A){E.duration=parseFloat(A);var R=(" "+s[2]).slice(1);E.title=R||null,E.tagList.push(R?["INF",A,R]:["INF",A])}else if(s[3]){if(y(E.duration)){E.start=v,u&&we(E,u,h),E.sn=f,E.level=r,E.cc=m,d.push(E);var b=(" "+s[3]).slice(1);E.relurl=ie(h,b),De(E,p),p=E,v+=E.duration,f++,g=0,S=!0}}else if(s[4]){var k=(" "+s[4]).slice(1);p?E.setByteRange(k,p):E.setByteRange(k)}else if(s[5])E.rawProgramDateTime=(" "+s[5]).slice(1),E.tagList.push(["PROGRAM-DATE-TIME",E.rawProgramDateTime]),-1===T&&(T=d.length);else{if(!(s=s[0].match(Se))){w.warn("No matches on slow regex match for level playlist!");continue}for(l=1;l<s.length&&void 0===s[l];l++);var D=(" "+s[l]).slice(1),I=(" "+s[l+1]).slice(1),C=s[l+2]?(" "+s[l+2]).slice(1):"";switch(D){case"PLAYLIST-TYPE":h.type=I.toUpperCase();break;case"MEDIA-SEQUENCE":f=h.startSN=parseInt(I);break;case"SKIP":var _=new x(I);re(h,_,["RECENTLY-REMOVED-DATERANGES"]);var P=_.decimalInteger("SKIPPED-SEGMENTS");if(y(P)){h.skippedSegments=P;for(var M=P;M--;)d.unshift(null);f+=P}var O=_.enumeratedString("RECENTLY-REMOVED-DATERANGES");O&&(h.recentlyRemovedDateranges=O.split("\t"));break;case"TARGETDURATION":h.targetduration=Math.max(parseInt(I),1);break;case"VERSION":h.version=parseInt(I);break;case"INDEPENDENT-SEGMENTS":case"EXTM3U":break;case"ENDLIST":h.live=!1;break;case"#":(I||C)&&E.tagList.push(C?[I,C]:[I]);break;case"DISCONTINUITY":m++,E.tagList.push(["DIS"]);break;case"GAP":E.gap=!0,E.tagList.push([D]);break;case"BITRATE":E.tagList.push([D,I]);break;case"DATERANGE":var N=new x(I);re(h,N,["ID","CLASS","START-DATE","END-DATE","SCTE35-CMD","SCTE35-OUT","SCTE35-IN"]),re(h,N,N.clientAttrs);var U=new F(N,h.dateRanges[N.ID]);U.isValid||h.skippedSegments?h.dateRanges[U.id]=U:w.warn('Ignoring invalid DATERANGE tag: "'+I+'"'),E.tagList.push(["EXT-X-DATERANGE",I]);break;case"DEFINE":var B=new x(I);re(h,B,["NAME","VALUE","IMPORT","QUERYPARAM"]),"IMPORT"in B?ae(h,B,a):ne(h,B,e);break;case"DISCONTINUITY-SEQUENCE":m=parseInt(I);break;case"KEY":var V=Ae(I,e,h);if(V.isSupported()){if("NONE"===V.method){u=void 0;break}u||(u={}),u[V.keyFormat]&&(u=o({},u)),u[V.keyFormat]=V}else w.warn('[Keys] Ignoring invalid EXT-X-KEY tag: "'+I+'"');break;case"START":h.startTimeOffset=Re(I);break;case"MAP":var Y=new x(I);if(re(h,Y,["BYTERANGE","URI"]),E.duration){var W=new G(i,e);Ie(W,Y,r,u),c=W,E.initSegment=c,c.rawProgramDateTime&&!E.rawProgramDateTime&&(E.rawProgramDateTime=c.rawProgramDateTime)}else{var j=E.byteRangeEndOffset;if(j){var q=E.byteRangeStartOffset;L=j-q+"@"+q}else L=null;Ie(E,Y,r,u),c=E,S=!0}break;case"SERVER-CONTROL":var X=new x(I);h.canBlockReload=X.bool("CAN-BLOCK-RELOAD"),h.canSkipUntil=X.optionalFloat("CAN-SKIP-UNTIL",0),h.canSkipDateRanges=h.canSkipUntil>0&&X.bool("CAN-SKIP-DATERANGES"),h.partHoldBack=X.optionalFloat("PART-HOLD-BACK",0),h.holdBack=X.optionalFloat("HOLD-BACK",0);break;case"PART-INF":var z=new x(I);h.partTarget=z.decimalFloatingPoint("PART-TARGET");break;case"PART":var Q=h.partList;Q||(Q=h.partList=[]);var J=g>0?Q[Q.length-1]:void 0,$=g++,Z=new x(I);re(h,Z,["BYTERANGE","URI"]);var tt=new K(Z,E,e,$,J);Q.push(tt),E.duration+=tt.duration;break;case"PRELOAD-HINT":var et=new x(I);re(h,et,["URI"]),h.preloadHint=et;break;case"RENDITION-REPORT":var rt=new x(I);re(h,rt,["URI"]),h.renditionReports=h.renditionReports||[],h.renditionReports.push(rt);break;default:w.warn("line parsed but not handled: "+s)}}}p&&!p.relurl?(d.pop(),v-=p.duration,h.partList&&(h.fragmentHint=p)):h.partList&&(De(E,p),E.cc=m,h.fragmentHint=E,u&&we(E,u,h));var it=d.length,nt=d[0],at=d[it-1];if((v+=h.skippedSegments*h.targetduration)>0&&it&&at){h.averagetargetduration=v/it;var st=at.sn;h.endSN="initSegment"!==st?st:0,h.live||(at.endList=!0),nt&&(h.startCC=nt.cc)}else h.endSN=0,h.startCC=0;return h.fragmentHint&&(v+=h.fragmentHint.duration),h.totalduration=v,h.endCC=m,T>0&&function(t,e){for(var r=t[e],i=e;i--;){var n=t[i];if(!n)return;n.programDateTime=r.programDateTime-1e3*n.duration,r=n}}(d,T),h},t}();function Ae(t,e,r){var i,n,a=new x(t);re(r,a,["KEYFORMAT","KEYFORMATVERSIONS","URI","IV","URI"]);var s=null!=(i=a.METHOD)?i:"",o=a.URI,l=a.hexadecimalInteger("IV"),u=a.KEYFORMATVERSIONS,h=null!=(n=a.KEYFORMAT)?n:"identity";o&&a.IV&&!l&&w.error("Invalid IV: "+a.IV);var d=o?Le.resolve(o,e):"",c=(u||"1").split("/").map(Number).filter(Number.isFinite);return new Zt(s,d,h,c,l)}function Re(t){var e=new x(t).decimalFloatingPoint("TIME-OFFSET");return y(e)?e:null}function be(t,e){var r=(t||"").split(/[ ,]+/).filter((function(t){return t}));["video","audio","text"].forEach((function(t){var i=r.filter((function(e){return function(t,e){var r=oe[e];return!!r&&!!r[t.slice(0,4)]}(e,t)}));i.length&&(e[t+"Codec"]=i.join(","),r=r.filter((function(t){return-1===i.indexOf(t)})))})),e.unknownCodecs=r}function ke(t,e,r){var i=e[r];i&&(t[r]=i)}function De(t,e){t.rawProgramDateTime?t.programDateTime=Date.parse(t.rawProgramDateTime):null!=e&&e.programDateTime&&(t.programDateTime=e.endProgramDateTime),y(t.programDateTime)||(t.programDateTime=null,t.rawProgramDateTime=null)}function Ie(t,e,r,i){t.relurl=e.URI,e.BYTERANGE&&t.setByteRange(e.BYTERANGE),t.level=r,t.sn="initSegment",i&&(t.levelkeys=i),t.initSegment=null}function we(t,e,r){t.levelkeys=e;var i=r.encryptedFragments;i.length&&i[i.length-1].levelkeys===e||!Object.keys(e).some((function(t){return e[t].isCommonEncryption}))||i.push(t)}var Ce="manifest",_e="level",xe="audioTrack",Pe="subtitleTrack",Fe="main",Me="audio",Oe="subtitle";function Ne(t){switch(t.type){case xe:return Me;case Pe:return Oe;default:return Fe}}function Ue(t,e){var r=t.url;return void 0!==r&&0!==r.indexOf("data:")||(r=e.url),r}var Be=function(){function t(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.hls=t,this.registerListeners()}var e=t.prototype;return e.startLoad=function(t){},e.stopLoad=function(){this.destroyInternalLoaders()},e.registerListeners=function(){var t=this.hls;t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.LEVEL_LOADING,this.onLevelLoading,this),t.on(S.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(S.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)},e.unregisterListeners=function(){var t=this.hls;t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.LEVEL_LOADING,this.onLevelLoading,this),t.off(S.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(S.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)},e.createInternalLoader=function(t){var e=this.hls.config,r=e.pLoader,i=e.loader,n=new(r||i)(e);return this.loaders[t.type]=n,n},e.getInternalLoader=function(t){return this.loaders[t.type]},e.resetInternalLoader=function(t){this.loaders[t]&&delete this.loaders[t]},e.destroyInternalLoaders=function(){for(var t in this.loaders){var e=this.loaders[t];e&&e.destroy(),this.resetInternalLoader(t)}},e.destroy=function(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()},e.onManifestLoading=function(t,e){var r=e.url;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:Ce,url:r,deliveryDirectives:null})},e.onLevelLoading=function(t,e){var r=e.id,i=e.level,n=e.pathwayId,a=e.url,s=e.deliveryDirectives;this.load({id:r,level:i,pathwayId:n,responseType:"text",type:_e,url:a,deliveryDirectives:s})},e.onAudioTrackLoading=function(t,e){var r=e.id,i=e.groupId,n=e.url,a=e.deliveryDirectives;this.load({id:r,groupId:i,level:null,responseType:"text",type:xe,url:n,deliveryDirectives:a})},e.onSubtitleTrackLoading=function(t,e){var r=e.id,i=e.groupId,n=e.url,a=e.deliveryDirectives;this.load({id:r,groupId:i,level:null,responseType:"text",type:Pe,url:n,deliveryDirectives:a})},e.load=function(t){var e,r,i,n=this,a=this.hls.config,s=this.getInternalLoader(t);if(s){var l=s.context;if(l&&l.url===t.url&&l.level===t.level)return void w.trace("[playlist-loader]: playlist request ongoing");w.log("[playlist-loader]: aborting previous loader for type: "+t.type),s.abort()}if(r=t.type===Ce?a.manifestLoadPolicy.default:o({},a.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),s=this.createInternalLoader(t),y(null==(e=t.deliveryDirectives)?void 0:e.part)&&(t.type===_e&&null!==t.level?i=this.hls.levels[t.level].details:t.type===xe&&null!==t.id?i=this.hls.audioTracks[t.id].details:t.type===Pe&&null!==t.id&&(i=this.hls.subtitleTracks[t.id].details),i)){var u=i.partTarget,h=i.targetduration;if(u&&h){var d=1e3*Math.max(3*u,.8*h);r=o({},r,{maxTimeToFirstByteMs:Math.min(d,r.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(d,r.maxTimeToFirstByteMs)})}}var c=r.errorRetry||r.timeoutRetry||{},f={loadPolicy:r,timeout:r.maxLoadTimeMs,maxRetry:c.maxNumRetry||0,retryDelay:c.retryDelayMs||0,maxRetryDelay:c.maxRetryDelayMs||0},g={onSuccess:function(t,e,r,i){var a=n.getInternalLoader(r);n.resetInternalLoader(r.type);var s=t.data;0===s.indexOf("#EXTM3U")?(e.parsing.start=performance.now(),Le.isMediaPlaylist(s)?n.handleTrackOrLevelPlaylist(t,e,r,i||null,a):n.handleMasterPlaylist(t,e,r,i)):n.handleManifestParsingError(t,r,new Error("no EXTM3U delimiter"),i||null,e)},onError:function(t,e,r,i){n.handleNetworkError(e,r,!1,t,i)},onTimeout:function(t,e,r){n.handleNetworkError(e,r,!0,void 0,t)}};s.load(t,f,g)},e.handleMasterPlaylist=function(t,e,r,i){var n=this.hls,a=t.data,s=Ue(t,r),o=Le.parseMasterPlaylist(a,s);if(o.playlistParsingError)this.handleManifestParsingError(t,r,o.playlistParsingError,i,e);else{var l=o.contentSteering,u=o.levels,h=o.sessionData,d=o.sessionKeys,c=o.startTimeOffset,f=o.variableList;this.variableList=f;var g=Le.parseMasterPlaylistMedia(a,s,o),v=g.AUDIO,m=void 0===v?[]:v,p=g.SUBTITLES,y=g["CLOSED-CAPTIONS"];m.length&&(m.some((function(t){return!t.url}))||!u[0].audioCodec||u[0].attrs.AUDIO||(w.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),m.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new x({}),bitrate:0,url:""}))),n.trigger(S.MANIFEST_LOADED,{levels:u,audioTracks:m,subtitles:p,captions:y,contentSteering:l,url:s,stats:e,networkDetails:i,sessionData:h,sessionKeys:d,startTimeOffset:c,variableList:f})}},e.handleTrackOrLevelPlaylist=function(t,e,r,i,n){var a=this.hls,s=r.id,o=r.level,l=r.type,u=Ue(t,r),h=y(o)?o:y(s)?s:0,d=Ne(r),c=Le.parseLevelPlaylist(t.data,u,h,d,0,this.variableList);if(l===Ce){var f={attrs:new x({}),bitrate:0,details:c,name:"",url:u};a.trigger(S.MANIFEST_LOADED,{levels:[f],audioTracks:[],url:u,stats:e,networkDetails:i,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}e.parsing.end=performance.now(),r.levelDetails=c,this.handlePlaylistLoaded(c,t,e,r,i,n)},e.handleManifestParsingError=function(t,e,r,i,n){this.hls.trigger(S.ERROR,{type:L.NETWORK_ERROR,details:A.MANIFEST_PARSING_ERROR,fatal:e.type===Ce,url:t.url,err:r,error:r,reason:r.message,response:t,context:e,networkDetails:i,stats:n})},e.handleNetworkError=function(t,e,r,n,a){void 0===r&&(r=!1);var s="A network "+(r?"timeout":"error"+(n?" (status "+n.code+")":""))+" occurred while loading "+t.type;t.type===_e?s+=": "+t.level+" id: "+t.id:t.type!==xe&&t.type!==Pe||(s+=" id: "+t.id+' group-id: "'+t.groupId+'"');var o=new Error(s);w.warn("[playlist-loader]: "+s);var l=A.UNKNOWN,u=!1,h=this.getInternalLoader(t);switch(t.type){case Ce:l=r?A.MANIFEST_LOAD_TIMEOUT:A.MANIFEST_LOAD_ERROR,u=!0;break;case _e:l=r?A.LEVEL_LOAD_TIMEOUT:A.LEVEL_LOAD_ERROR,u=!1;break;case xe:l=r?A.AUDIO_TRACK_LOAD_TIMEOUT:A.AUDIO_TRACK_LOAD_ERROR,u=!1;break;case Pe:l=r?A.SUBTITLE_TRACK_LOAD_TIMEOUT:A.SUBTITLE_LOAD_ERROR,u=!1}h&&this.resetInternalLoader(t.type);var d={type:L.NETWORK_ERROR,details:l,fatal:u,url:t.url,loader:h,context:t,error:o,networkDetails:e,stats:a};if(n){var c=(null==e?void 0:e.url)||t.url;d.response=i({url:c,data:void 0},n)}this.hls.trigger(S.ERROR,d)},e.handlePlaylistLoaded=function(t,e,r,i,n,a){var s=this.hls,o=i.type,l=i.level,u=i.id,h=i.groupId,d=i.deliveryDirectives,c=Ue(e,i),f=Ne(i),g="number"==typeof i.level&&f===Fe?l:void 0;if(t.fragments.length){t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));var v=t.playlistParsingError;if(v)s.trigger(S.ERROR,{type:L.NETWORK_ERROR,details:A.LEVEL_PARSING_ERROR,fatal:!1,url:c,error:v,reason:v.message,response:e,context:i,level:g,parent:f,networkDetails:n,stats:r});else switch(t.live&&a&&(a.getCacheAge&&(t.ageHeader=a.getCacheAge()||0),a.getCacheAge&&!isNaN(t.ageHeader)||(t.ageHeader=0)),o){case Ce:case _e:s.trigger(S.LEVEL_LOADED,{details:t,level:g||0,id:u||0,stats:r,networkDetails:n,deliveryDirectives:d});break;case xe:s.trigger(S.AUDIO_TRACK_LOADED,{details:t,id:u||0,groupId:h||"",stats:r,networkDetails:n,deliveryDirectives:d});break;case Pe:s.trigger(S.SUBTITLE_TRACK_LOADED,{details:t,id:u||0,groupId:h||"",stats:r,networkDetails:n,deliveryDirectives:d})}}else{var m=new Error("No Segments found in Playlist");s.trigger(S.ERROR,{type:L.NETWORK_ERROR,details:A.LEVEL_EMPTY_ERROR,fatal:!1,url:c,error:m,reason:m.message,response:e,context:i,level:g,parent:f,networkDetails:n,stats:r})}},t}();function Ge(t,e){var r;try{r=new Event("addtrack")}catch(t){(r=document.createEvent("Event")).initEvent("addtrack",!1,!1)}r.track=t,e.dispatchEvent(r)}function Ke(t,e){var r=t.mode;if("disabled"===r&&(t.mode="hidden"),t.cues&&!t.cues.getCueById(e.id))try{if(t.addCue(e),!t.cues.getCueById(e.id))throw new Error("addCue is failed for: "+e)}catch(r){w.debug("[texttrack-utils]: "+r);try{var i=new self.TextTrackCue(e.startTime,e.endTime,e.text);i.id=e.id,t.addCue(i)}catch(t){w.debug("[texttrack-utils]: Legacy TextTrackCue fallback failed: "+t)}}"disabled"===r&&(t.mode=r)}function He(t){var e=t.mode;if("disabled"===e&&(t.mode="hidden"),t.cues)for(var r=t.cues.length;r--;)t.removeCue(t.cues[r]);"disabled"===e&&(t.mode=e)}function Ve(t,e,r,i){var n=t.mode;if("disabled"===n&&(t.mode="hidden"),t.cues&&t.cues.length>0)for(var a=function(t,e,r){var i=[],n=function(t,e){if(e<t[0].startTime)return 0;var r=t.length-1;if(e>t[r].endTime)return-1;for(var i=0,n=r;i<=n;){var a=Math.floor((n+i)/2);if(e<t[a].startTime)n=a-1;else{if(!(e>t[a].startTime&&i<r))return a;i=a+1}}return t[i].startTime-e<e-t[n].startTime?i:n}(t,e);if(n>-1)for(var a=n,s=t.length;a<s;a++){var o=t[a];if(o.startTime>=e&&o.endTime<=r)i.push(o);else if(o.startTime>r)return i}return i}(t.cues,e,r),s=0;s<a.length;s++)i&&!i(a[s])||t.removeCue(a[s]);"disabled"===n&&(t.mode=n)}function Ye(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];"subtitles"!==i.kind&&"captions"!==i.kind||!i.label||e.push(t[r])}return e}var We="org.id3",je="com.apple.quicktime.HLS",qe="https://aomedia.org/emsg/ID3";function Xe(){if("undefined"!=typeof self)return self.VTTCue||self.TextTrackCue}function ze(t,e,r,n,a){var s=new t(e,r,"");try{s.value=n,a&&(s.type=a)}catch(o){s=new t(e,r,JSON.stringify(a?i({type:a},n):n))}return s}var Qe=function(){var t=Xe();try{t&&new t(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY}();function Je(t,e){return t.getTime()/1e3-e}var $e=function(){function t(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=t,this._registerListeners()}var e=t.prototype;return e.destroy=function(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=null},e._registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(S.LEVEL_UPDATED,this.onLevelUpdated,this)},e._unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(S.LEVEL_UPDATED,this.onLevelUpdated,this)},e.onMediaAttached=function(t,e){this.media=e.media},e.onMediaDetaching=function(){this.id3Track&&(He(this.id3Track),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={})},e.onManifestLoading=function(){this.dateRangeCuesAppended={}},e.createTrack=function(t){var e=this.getID3Track(t.textTracks);return e.mode="hidden",e},e.getID3Track=function(t){if(this.media){for(var e=0;e<t.length;e++){var r=t[e];if("metadata"===r.kind&&"id3"===r.label)return Ge(r,this.media),r}return this.media.addTextTrack("metadata","id3")}},e.onFragParsingMetadata=function(t,e){if(this.media){var r=this.hls.config,i=r.enableEmsgMetadataCues,n=r.enableID3MetadataCues;if(i||n){var a=e.samples;this.id3Track||(this.id3Track=this.createTrack(this.media));var s=Xe();if(s)for(var o=0;o<a.length;o++){var l=a[o].type;if((l!==qe||i)&&n){var u=yt(a[o].data);if(u){var h=a[o].pts,d=h+a[o].duration;d>Qe&&(d=Qe),d-h<=0&&(d=h+.25);for(var c=0;c<u.length;c++){var f=u[c];if(!mt(f)){this.updateId3CueEnds(h,l);var g=ze(s,h,d,f,l);g&&this.id3Track.addCue(g)}}}}}}}},e.updateId3CueEnds=function(t,e){var r,i=null==(r=this.id3Track)?void 0:r.cues;if(i)for(var n=i.length;n--;){var a=i[n];a.type===e&&a.startTime<t&&a.endTime===Qe&&(a.endTime=t)}},e.onBufferFlushing=function(t,e){var r=e.startOffset,i=e.endOffset,n=e.type,a=this.id3Track,s=this.hls;if(s){var o=s.config,l=o.enableEmsgMetadataCues,u=o.enableID3MetadataCues;a&&(l||u)&&Ve(a,r,i,"audio"===n?function(t){return t.type===We&&u}:"video"===n?function(t){return t.type===qe&&l}:function(t){return t.type===We&&u||t.type===qe&&l})}},e.onLevelUpdated=function(t,e){var r=this,i=e.details;if(this.media&&i.hasProgramDateTime&&this.hls.config.enableDateRangeMetadataCues){var n=this.dateRangeCuesAppended,a=this.id3Track,s=i.dateRanges,o=Object.keys(s);if(a)for(var l=Object.keys(n).filter((function(t){return!o.includes(t)})),u=function(){var t=l[h];Object.keys(n[t].cues).forEach((function(e){a.removeCue(n[t].cues[e])})),delete n[t]},h=l.length;h--;)u();var d=i.fragments[i.fragments.length-1];if(0!==o.length&&y(null==d?void 0:d.programDateTime)){this.id3Track||(this.id3Track=this.createTrack(this.media));for(var c=d.programDateTime/1e3-d.start,f=Xe(),g=function(){var t=o[v],e=s[t],i=Je(e.startDate,c),a=n[t],l=(null==a?void 0:a.cues)||{},u=(null==a?void 0:a.durationKnown)||!1,h=Qe,d=e.endDate;if(d)h=Je(d,c),u=!0;else if(e.endOnNext&&!u){var g=o.reduce((function(t,r){if(r!==e.id){var i=s[r];if(i.class===e.class&&i.startDate>e.startDate&&(!t||e.startDate<t.startDate))return i}return t}),null);g&&(h=Je(g.startDate,c),u=!0)}for(var m,p,y=Object.keys(e.attr),E=0;E<y.length;E++){var T=y[E];if("ID"!==(p=T)&&"CLASS"!==p&&"START-DATE"!==p&&"DURATION"!==p&&"END-DATE"!==p&&"END-ON-NEXT"!==p){var S=l[T];if(S)u&&!a.durationKnown&&(S.endTime=h);else if(f){var L=e.attr[T];P(T)&&(m=L,L=Uint8Array.from(m.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer);var A=ze(f,i,h,{key:T,data:L},je);A&&(A.id=t,r.id3Track.addCue(A),l[T]=A)}}}n[t]={cues:l,dateRange:e,durationKnown:u}},v=0;v<o.length;v++)g()}}},t}(),Ze=function(){function t(t){var e=this;this.hls=void 0,this.config=void 0,this.media=null,this.levelDetails=null,this.currentTime=0,this.stallCount=0,this._latency=null,this.timeupdateHandler=function(){return e.timeupdate()},this.hls=t,this.config=t.config,this.registerListeners()}var e=t.prototype;return e.destroy=function(){this.unregisterListeners(),this.onMediaDetaching(),this.levelDetails=null,this.hls=this.timeupdateHandler=null}
vendor: 9,048 bytes, line 30
30,e.registerListeners=function(){this.hls.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.on(S.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(S.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.on(S.ERROR,this.onError,this)},e.unregisterListeners=function(){this.hls.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.off(S.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(S.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.off(S.ERROR,this.onError,this)},e.onMediaAttached=function(t,e){this.media=e.media,this.media.addEventListener("timeupdate",this.timeupdateHandler)},e.onMediaDetaching=function(){this.media&&(this.media.removeEventListener("timeupdate",this.timeupdateHandler),this.media=null)},e.onManifestLoading=function(){this.levelDetails=null,this._latency=null,this.stallCount=0},e.onLevelUpdated=function(t,e){var r=e.details;this.levelDetails=r,r.advanced&&this.timeupdate(),!r.live&&this.media&&this.media.removeEventListener("timeupdate",this.timeupdateHandler)},e.onError=function(t,e){var r;e.details===A.BUFFER_STALLED_ERROR&&(this.stallCount++,null!=(r=this.levelDetails)&&r.live&&w.warn("[playback-rate-controller]: Stall detected, adjusting target latency"))},e.timeupdate=function(){var t=this.media,e=this.levelDetails;if(t&&e){this.currentTime=t.currentTime;var r=this.computeLatency();if(null!==r){this._latency=r;var i=this.config,n=i.lowLatencyMode,a=i.maxLiveSyncPlaybackRate;if(n&&1!==a&&e.live){var s=this.targetLatency;if(null!==s){var o=r-s;if(o<Math.min(this.maxLatency,s+e.targetduration)&&o>.05&&this.forwardBufferLength>1){var l=Math.min(2,Math.max(1,a)),u=Math.round(2/(1+Math.exp(-.75*o-this.edgeStalled))*20)/20;t.playbackRate=Math.min(l,Math.max(1,u))}else 1!==t.playbackRate&&0!==t.playbackRate&&(t.playbackRate=1)}}}}},e.estimateLiveEdge=function(){var t=this.levelDetails;return null===t?null:t.edge+t.age},e.computeLatency=function(){var t=this.estimateLiveEdge();return null===t?null:t-this.currentTime},s(t,[{key:"latency",get:function(){return this._latency||0}},{key:"maxLatency",get:function(){var t=this.config,e=this.levelDetails;return void 0!==t.liveMaxLatencyDuration?t.liveMaxLatencyDuration:e?t.liveMaxLatencyDurationCount*e.targetduration:0}},{key:"targetLatency",get:function(){var t=this.levelDetails;if(null===t)return null;var e=t.holdBack,r=t.partHoldBack,i=t.targetduration,n=this.config,a=n.liveSyncDuration,s=n.liveSyncDurationCount,o=n.lowLatencyMode,l=this.hls.userConfig,u=o&&r||e;(l.liveSyncDuration||l.liveSyncDurationCount||0===u)&&(u=void 0!==a?a:s*i);var h=i;return u+Math.min(1*this.stallCount,h)}},{key:"liveSyncPosition",get:function(){var t=this.estimateLiveEdge(),e=this.targetLatency,r=this.levelDetails;if(null===t||null===e||null===r)return null;var i=r.edge,n=t-e-this.edgeStalled,a=i-r.totalduration,s=i-(this.config.lowLatencyMode&&r.partTarget||r.targetduration);return Math.min(Math.max(a,n),s)}},{key:"drift",get:function(){var t=this.levelDetails;return null===t?1:t.drift}},{key:"edgeStalled",get:function(){var t=this.levelDetails;if(null===t)return 0;var e=3*(this.config.lowLatencyMode&&t.partTarget||t.targetduration);return Math.max(t.age-e,0)}},{key:"forwardBufferLength",get:function(){var t=this.media,e=this.levelDetails;if(!t||!e)return 0;var r=t.buffered.length;return(r?t.buffered.end(r-1):e.edge)-this.currentTime}}]),t}(),tr=["NONE","TYPE-0","TYPE-1",null],er=["SDR","PQ","HLG"],rr="",ir="YES",nr="v2";function ar(t){var e=t.canSkipUntil,r=t.canSkipDateRanges,i=t.age;return e&&i<e/2?r?nr:ir:rr}var sr=function(){function t(t,e,r){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=t,this.part=e,this.skip=r}return t.prototype.addDirectives=function(t){var e=new self.URL(t);return void 0!==this.msn&&e.searchParams.set("_HLS_msn",this.msn.toString()),void 0!==this.part&&e.searchParams.set("_HLS_part",this.part.toString()),this.skip&&e.searchParams.set("_HLS_skip",this.skip),e.href},t}(),or=function(){function t(t){this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.url=void 0,this.frameRate=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.videoCodec=void 0,this.width=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.supportedPromise=void 0,this.supportedResult=void 0,this._avgBitrate=0,this._audioGroups=void 0,this._subtitleGroups=void 0,this._urlId=0,this.url=[t.url],this._attrs=[t.attrs],this.bitrate=t.bitrate,t.details&&(this.details=t.details),this.id=t.id||0,this.name=t.name,this.width=t.width||0,this.height=t.height||0,this.frameRate=t.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=t.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=t.audioCodec,this.videoCodec=t.videoCodec,this.codecSet=[t.videoCodec,t.audioCodec].filter((function(t){return!!t})).map((function(t){return t.substring(0,4)})).join(","),this.addGroupId("audio",t.attrs.AUDIO),this.addGroupId("text",t.attrs.SUBTITLES)}var e=t.prototype;return e.hasAudioGroup=function(t){return lr(this._audioGroups,t)},e.hasSubtitleGroup=function(t){return lr(this._subtitleGroups,t)},e.addGroupId=function(t,e){if(e)if("audio"===t){var r=this._audioGroups;r||(r=this._audioGroups=[]),-1===r.indexOf(e)&&r.push(e)}else if("text"===t){var i=this._subtitleGroups;i||(i=this._subtitleGroups=[]),-1===i.indexOf(e)&&i.push(e)}},e.addFallback=function(){},s(t,[{key:"maxBitrate",get:function(){return Math.max(this.realBitrate,this.bitrate)}},{key:"averageBitrate",get:function(){return this._avgBitrate||this.realBitrate||this.bitrate}},{key:"attrs",get:function(){return this._attrs[0]}},{key:"codecs",get:function(){return this.attrs.CODECS||""}},{key:"pathwayId",get:function(){return this.attrs["PATHWAY-ID"]||"."}},{key:"videoRange",get:function(){return this.attrs["VIDEO-RANGE"]||"SDR"}},{key:"score",get:function(){return this.attrs.optionalFloat("SCORE",0)}},{key:"uri",get:function(){return this.url[0]||""}},{key:"audioGroups",get:function(){return this._audioGroups}},{key:"subtitleGroups",get:function(){return this._subtitleGroups}},{key:"urlId",get:function(){return 0},set:function(t){}},{key:"audioGroupIds",get:function(){return this.audioGroups?[this.audioGroupId]:void 0}},{key:"textGroupIds",get:function(){return this.subtitleGroups?[this.textGroupId]:void 0}},{key:"audioGroupId",get:function(){var t;return null==(t=this.audioGroups)?void 0:t[0]}},{key:"textGroupId",get:function(){var t;return null==(t=this.subtitleGroups)?void 0:t[0]}}]),t}();function lr(t,e){return!(!e||!t)&&-1!==t.indexOf(e)}function ur(t,e){var r=e.startPTS;if(y(r)){var i,n=0;e.sn>t.sn?(n=r-t.start,i=t):(n=t.start-r,i=e),i.duration!==n&&(i.duration=n)}else e.sn>t.sn?t.cc===e.cc&&t.minEndPTS?e.start=t.start+(t.minEndPTS-t.start):e.start=t.start+t.duration:e.start=Math.max(t.start-e.duration,0)}function hr(t,e,r,i,n,a){i-r<=0&&(w.warn("Fragment should have a positive duration",e),i=r+e.duration,a=n+e.duration);var s=r,o=i,l=e.startPTS,u=e.endPTS;if(y(l)){var h=Math.abs(l-r);y(e.deltaPTS)?e.deltaPTS=Math.max(h,e.deltaPTS):e.deltaPTS=h,s=Math.max(r,l),r=Math.min(r,l),n=Math.min(n,e.startDTS),o=Math.min(i,u),i=Math.max(i,u),a=Math.max(a,e.endDTS)}var d=r-e.start;0!==e.start&&(e.start=r),e.duration=i-e.start,e.startPTS=r,e.maxStartPTS=s,e.startDTS=n,e.endPTS=i,e.minEndPTS=o,e.endDTS=a;var c,f=e.sn;if(!t||f<t.startSN||f>t.endSN)return 0;var g=f-t.startSN,v=t.fragments;for(v[g]=e,c=g;c>0;c--)ur(v[c],v[c-1]);for(c=g;c<v.length-1;c++)ur(v[c],v[c+1]);return t.fragmentHint&&ur(v[v.length-1],t.fragmentHint),t.PTSKnown=t.alignedSliding=!0,d}function dr(t,e){for(var r=null,i=t.fragments,n=i.length-1;n>=0;n--){var a=i[n].initSegment;if(a){r=a;break}}t.fragmentHint&&delete t.fragmentHint.endPTS;var s,l,u,h,d,c=0;if(function(t,e,r){for(var i=e.skippedSegments,n=Math.max(t.startSN,e.startSN)-e.startSN,a=(t.fragmentHint?1:0)+(i?e.endSN:Math.min(t.endSN,e.endSN))-e.startSN,s=e.startSN-t.startSN,o=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments,l=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,u=n;u<=a;u++){var h=l[s+u],d=o[u];i&&!d&&u<i&&(d=e.fragments[u]=h),h&&d&&r(h,d)}}(t,e,(function(t,i){t.relurl&&(c=t.cc-i.cc),y(t.startPTS)&&y(t.endPTS)&&(i.start=i.startPTS=t.startPTS,i.startDTS=t.startDTS,i.maxStartPTS=t.maxStartPTS,i.endPTS=t.endPTS,i.endDTS=t.endDTS,i.minEndPTS=t.minEndPTS,i.duration=t.endPTS-t.startPTS,i.duration&&(s=i),e.PTSKnown=e.alignedSliding=!0),i.elementaryStreams=t.elementaryStreams,i.loader=t.loader,i.stats=t.stats,t.initSegment&&(i.initSegment=t.initSegment,r=t.initSegment)})),r&&(e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments).forEach((function(t){var e;!t||t.initSegment&&t.initSegment.relurl!==(null==(e=r)?void 0:e.relurl)||(t.initSegment=r)})),e.skippedSegments)if(e.deltaUpdateFailed=e.fragments.some((function(t){return!t})),e.deltaUpdateFailed){w.warn("[level-helper] Previous playlist missing segments ski
30pped in delta playlist");for(var f=e.skippedSegments;f--;)e.fragments.shift();e.startSN=e.fragments[0].sn,e.startCC=e.fragments[0].cc}else e.canSkipDateRanges&&(e.dateRanges=(l=t.dateRanges,u=e.dateRanges,h=e.recentlyRemovedDateranges,d=o({},l),h&&h.forEach((function(t){delete d[t]})),Object.keys(u).forEach((function(t){var e=new F(u[t].attr,d[t]);e.isValid?d[t]=e:w.warn('Ignoring invalid Playlist Delta Update DATERANGE tag: "'+JSON.stringify(u[t].attr)+'"')})),d));var g=e.fragments;if(c){w.warn("discontinuity sliding from playlist, take drift into account");for(var v=0;v<g.length;v++)g[v].cc+=c}e.skippedSegments&&(e.startCC=e.fragments[0].cc),function(t,e,r){if(t&&e)for(var i=0,n=0,a=t.length;n<=a;n++){var s=t[n],o=e[n+i];s&&o&&s.index===o.index&&s.fragment.sn===o.fragment.sn?r(s,o):i--}}(t.partList,e.partList,(function(t,e){e.elementaryStreams=t.elementaryStreams,e.stats=t.stats})),s?hr(e,s,s.startPTS,s.endPTS,s.startDTS,s.endDTS):cr(t,e),g.length&&(e.totalduration=e.edge-g[0].start),e.driftStartTime=t.driftStartTime,e.driftStart=t.driftStart;var m=e.advancedDateTime;if(e.advanced&&m){var p=e.edge;e.driftStart||(e.driftStartTime=m,e.driftStart=p),e.driftEndTime=m,e.driftEnd=p}else e.driftEndTime=t.driftEndTime,e.driftEnd=t.driftEnd,e.advancedDateTime=t.advancedDateTime}function cr(t,e){var r=e.startSN+e.skippedSegments-t.startSN,i=t.fragments;r<0||r>=i.length||fr(e,i[r].start)}function fr(t,e){if(e){for(var r=t.fragments,i=t.skippedSegments;i<r.length;i++)r[i].start+=e;t.fragmentHint&&(t.fragmentHint.start+=e)}}function gr(t,e,r){var i;return null!=t&&t.details?vr(null==(i=t.details)?void 0:i.partList,e,r):null}function vr(t,e,r){if(t)for(var i=t.length;i--;){var n=t[i];if(n.index===r&&n.fragment.sn===e)return n}return null}function mr(t){t.forEach((function(t,e){var r=t.details;null!=r&&r.fragments&&r.fragments.forEach((function(t){t.level=e}))}))}function pr(t){switch(t.details){case A.FRAG_LOAD_TIMEOUT:case A.KEY_LOAD_TIMEOUT:case A.LEVEL_LOAD_TIMEOUT:case A.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function yr(t,e){var r=pr(e);return t.default[(r?"timeout":"error")+"Retry"]}function Er(t,e){var r="linear"===t.backoff?1:Math.pow(2,e);return Math.min(r*t.retryDelayMs,t.maxRetryDelayMs)}function Tr(t){return i(i({},t),{errorRetry:null,timeoutRetry:null})}function Sr(t,e,r,i){if(!t)return!1;var n=null==i?void 0:i.code,a=e<t.maxNumRetry&&(function(t){return 0===t&&!1===navigator.onLine||!!t&&(t<400||t>499)}(n)||!!r);return t.shouldRetry?t.shouldRetry(t,e,r,i,a):a}var Lr=function(t,e){for(var r=0,i=t.length-1,n=null,a=null;r<=i;){var s=e(a=t[n=(r+i)/2|0]);if(s>0)r=n+1;else{if(!(s<0))return a;i=n-1}}return null};function Ar(t,e,r,i,n){void 0===r&&(r=0),void 0===i&&(i=0),void 0===n&&(n=.005);var a=null;if(t){a=e[t.sn-e[0].sn+1]||null;var s=t.endDTS-r;s>0&&s<15e-7&&(r+=15e-7)}else 0===r&&0===e[0].start&&(a=e[0]);if(a&&((!t||t.level===a.level)&&0===Rr(r,i,a)||function(t,e,r){if(e&&0===e.start&&e.level<t.level&&(e.endPTS||0)>0){var i=e.tagList.reduce((function(t,e){return"INF"===e[0]&&(t+=parseFloat(e[1])),t}),r);return t.start<=i}return!1}(a,t,Math.min(n,i))))return a;var o=Lr(e,Rr.bind(null,r,i));return!o||o===t&&a?a:o}function Rr(t,e,r){if(void 0===t&&(t=0),void 0===e&&(e=0),r.start<=t&&r.start+r.duration>t)return 0;var i=Math.min(e,r.duration+(r.deltaPTS?r.deltaPTS:0));return r.start+r.duration-i<=t?1:r.start-i>t&&r.start?-1:0}function br(t,e,r){var i=1e3*Math.min(e,r.duration+(r.deltaPTS?r.deltaPTS:0));return(r.endProgramDateTime||0)-i>t}var kr=0,Dr=2,Ir=3,wr=5,Cr=0,_r=1,xr=2,Pr=function(){function t(t){this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.log=void 0,this.warn=void 0,this.error=void 0,this.hls=t,this.log=w.log.bind(w,"[info]:"),this.warn=w.warn.bind(w,"[warning]:"),this.error=w.error.bind(w,"[error]:"),this.registerListeners()}var e=t.prototype;return e.registerListeners=function(){var t=this.hls;t.on(S.ERROR,this.onError,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.LEVEL_UPDATED,this.onLevelUpdated,this)},e.unregisterListeners=function(){var t=this.hls;t&&(t.off(S.ERROR,this.onError,this),t.off(S.ERROR,this.onErrorOut,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.LEVEL_UPDATED,this.onLevelUpdated,this))},e.destroy=function(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}},e.startLoad=function(t){},e.stopLoad=function(){this.playlistError=0},e.getVariantLevelIndex=function(t){return(null==t?void 0:t.type)===Fe?t.level:this.hls.loadLevel},e.onManifestLoading=function(){this.playlistError=0,this.penalizedRenditions={}},e.onLevelUpdated=function(){this.playlistError=0},e.onError=function(t,e){var r,i;if(!e.fatal){var n=this.hls,a=e.context;switch(e.details){case A.FRAG_LOAD_ERROR:case A.FRAG_LOAD_TIMEOUT:case A.KEY_LOAD_ERROR:case A.KEY_LOAD_TIMEOUT:return void(e.errorAction=this.getFragRetryOrSwitchAction(e));case A.FRAG_PARSING_ERROR:if(null!=(r=e.frag)&&r.gap)return void(e.errorAction={action:kr,flags:Cr});case A.FRAG_GAP:case A.FRAG_DECRYPT_ERROR:return e.errorAction=this.getFragRetryOrSwitchAction(e),void(e.errorAction.action=Dr);case A.LEVEL_EMPTY_ERROR:case A.LEVEL_PARSING_ERROR:var s,o,l=e.parent===Fe?e.level:n.loadLevel;return void(e.details===A.LEVEL_EMPTY_ERROR&&null!=(s=e.context)&&null!=(o=s.levelDetails)&&o.live?e.errorAction=this.getPlaylistRetryOrSwitchAction(e,l):(e.levelRetry=!1,e.errorAction=this.getLevelSwitchAction(e,l)));case A.LEVEL_LOAD_ERROR:case A.LEVEL_LOAD_TIMEOUT:return void("number"==typeof(null==a?void 0:a.level)&&(e.errorAction=this.getPlaylistRetryOrSwitchAction(e,a.level)));case A.AUDIO_TRACK_LOAD_ERROR:case A.AUDIO_TRACK_LOAD_TIMEOUT:case A.SUBTITLE_LOAD_ERROR:case A.SUBTITLE_TRACK_LOAD_TIMEOUT:if(a){var u=n.levels[n.loadLevel];if(u&&(a.type===xe&&u.hasAudioGroup(a.groupId)||a.type===Pe&&u.hasSubtitleGroup(a.groupId)))return e.errorAction=this.getPlaylistRetryOrSwitchAction(e,n.loadLevel),e.errorAction.action=Dr,void(e.errorAction.flags=_r)}return;case A.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:var h=n.levels[n.loadLevel],d=null==h?void 0:h.attrs["HDCP-LEVEL"];return void(d?e.errorAction={action:Dr,flags:xr,hdcpLevel:d}:this.keySystemError(e));
vendor: 9,005 bytes, line 30
30case A.BUFFER_ADD_CODEC_ERROR:case A.REMUX_ALLOC_ERROR:case A.BUFFER_APPEND_ERROR:return void(e.errorAction=this.getLevelSwitchAction(e,null!=(i=e.level)?i:n.loadLevel));case A.INTERNAL_EXCEPTION:case A.BUFFER_APPENDING_ERROR:case A.BUFFER_FULL_ERROR:case A.LEVEL_SWITCH_ERROR:case A.BUFFER_STALLED_ERROR:case A.BUFFER_SEEK_OVER_HOLE:case A.BUFFER_NUDGE_ON_STALL:return void(e.errorAction={action:kr,flags:Cr})}e.type===L.KEY_SYSTEM_ERROR&&this.keySystemError(e)}},e.keySystemError=function(t){var e=this.getVariantLevelIndex(t.frag);t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,e)},e.getPlaylistRetryOrSwitchAction=function(t,e){var r=yr(this.hls.config.playlistLoadPolicy,t),i=this.playlistError++;if(Sr(r,i,pr(t),t.response))return{action:wr,flags:Cr,retryConfig:r,retryCount:i};var n=this.getLevelSwitchAction(t,e);return r&&(n.retryConfig=r,n.retryCount=i),n},e.getFragRetryOrSwitchAction=function(t){var e=this.hls,r=this.getVariantLevelIndex(t.frag),i=e.levels[r],n=e.config,a=n.fragLoadPolicy,s=n.keyLoadPolicy,o=yr(t.details.startsWith("key")?s:a,t),l=e.levels.reduce((function(t,e){return t+e.fragmentError}),0);if(i&&(t.details!==A.FRAG_GAP&&i.fragmentError++,Sr(o,l,pr(t),t.response)))return{action:wr,flags:Cr,retryConfig:o,retryCount:l};var u=this.getLevelSwitchAction(t,r);return o&&(u.retryConfig=o,u.retryCount=l),u},e.getLevelSwitchAction=function(t,e){var r=this.hls;null==e&&(e=r.loadLevel);var i=this.hls.levels[e];if(i){var n,a,s=t.details;i.loadError++,s===A.BUFFER_APPEND_ERROR&&i.fragmentError++;var o=-1,l=r.levels,u=r.loadLevel,h=r.minAutoLevel,d=r.maxAutoLevel;r.autoLevelEnabled||(r.loadLevel=-1);for(var c,f=null==(n=t.frag)?void 0:n.type,g=(f===Me&&s===A.FRAG_PARSING_ERROR||"audio"===t.sourceBufferName&&(s===A.BUFFER_ADD_CODEC_ERROR||s===A.BUFFER_APPEND_ERROR))&&l.some((function(t){var e=t.audioCodec;return i.audioCodec!==e})),v="video"===t.sourceBufferName&&(s===A.BUFFER_ADD_CODEC_ERROR||s===A.BUFFER_APPEND_ERROR)&&l.some((function(t){var e=t.codecSet,r=t.audioCodec;return i.codecSet!==e&&i.audioCodec===r})),m=null!=(a=t.context)?a:{},p=m.type,y=m.groupId,E=function(){var e=(T+u)%l.length;if(e!==u&&e>=h&&e<=d&&0===l[e].loadError){var r,n,a=l[e];if(s===A.FRAG_GAP&&f===Fe&&t.frag){var c=l[e].details;if(c){var m=Ar(t.frag,c.fragments,t.frag.start);if(null!=m&&m.gap)return 0}}else{if(p===xe&&a.hasAudioGroup(y)||p===Pe&&a.hasSubtitleGroup(y))return 0;if(f===Me&&null!=(r=i.audioGroups)&&r.some((function(t){return a.hasAudioGroup(t)}))||f===Oe&&null!=(n=i.subtitleGroups)&&n.some((function(t){return a.hasSubtitleGroup(t)}))||g&&i.audioCodec===a.audioCodec||!g&&i.audioCodec!==a.audioCodec||v&&i.codecSet===a.codecSet)return 0}return o=e,1}},T=l.length;T--&&(0===(c=E())||1!==c););if(o>-1&&r.loadLevel!==o)return t.levelRetry=!0,this.playlistError=0,{action:Dr,flags:Cr,nextAutoLevel:o}}return{action:Dr,flags:_r}},e.onErrorOut=function(t,e){var r;switch(null==(r=e.errorAction)?void 0:r.action){case kr:break;case Dr:this.sendAlternateToPenaltyBox(e),e.errorAction.resolved||e.details===A.FRAG_GAP?/MediaSource readyState: ended/.test(e.error.message)&&(this.warn('MediaSource ended after "'+e.sourceBufferName+'" sourceBuffer append error. Attempting to recover from media error.'),this.hls.recoverMediaError()):e.fatal=!0}e.fatal&&this.hls.stopLoad()},e.sendAlternateToPenaltyBox=function(t){var e=this.hls,r=t.errorAction;if(r){var i=r.flags,n=r.hdcpLevel,a=r.nextAutoLevel;switch(i){case Cr:this.switchLevel(t,a);break;case xr:n&&(e.maxHdcpLevel=tr[tr.indexOf(n)-1],r.resolved=!0),this.warn('Restricting playback to HDCP-LEVEL of "'+e.maxHdcpLevel+'" or lower')}r.resolved||this.switchLevel(t,a)}},e.switchLevel=function(t,e){void 0!==e&&t.errorAction&&(this.warn("switching to level "+e+" after "+t.details),this.hls.nextAutoLevel=e,t.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel)},t}(),Fr=function(){function t(t,e){this.hls=void 0,this.timer=-1,this.requestScheduled=-1,this.canLoad=!1,this.log=void 0,this.warn=void 0,this.log=w.log.bind(w,e+":"),this.warn=w.warn.bind(w,e+":"),this.hls=t}var e=t.prototype;return e.destroy=function(){this.clearTimer(),this.hls=this.log=this.warn=null},e.clearTimer=function(){-1!==this.timer&&(self.clearTimeout(this.timer),this.timer=-1)},e.startLoad=function(){this.canLoad=!0,this.requestScheduled=-1,this.loadPlaylist()},e.stopLoad=function(){this.canLoad=!1,this.clearTimer()},e.switchParams=function(t,e,r){var i=null==e?void 0:e.renditionReports;if(i){for(var n=-1,a=0;a<i.length;a++){var s=i[a],o=void 0;try{o=new self.URL(s.URI,e.url).href}catch(t){w.warn("Could not construct new URL for Rendition Report: "+t),o=s.URI||""}if(o===t){n=a;break}o===t.substring(0,o.length)&&(n=a)}if(-1!==n){var l=i[n],u=parseInt(l["LAST-MSN"])||(null==e?void 0:e.lastPartSn),h=parseInt(l["LAST-PART"])||(null==e?void 0:e.lastPartIndex);if(this.hls.config.lowLatencyMode){var d=Math.min(e.age-e.partTarget,e.targetduration);h>=0&&d>e.partTarget&&(h+=1)}var c=r&&ar(r);return new sr(u,h>=0?h:void 0,c)}}},e.loadPlaylist=function(t){-1===this.requestScheduled&&(this.requestScheduled=self.performance.now())},e.shouldLoadPlaylist=function(t){return this.canLoad&&!!t&&!!t.url&&(!t.details||t.details.live)},e.shouldReloadPlaylist=function(t){return-1===this.timer&&-1===this.requestScheduled&&this.shouldLoadPlaylist(t)},e.playlistLoaded=function(t,e,r){var i=this,n=e.details,a=e.stats,s=self.performance.now(),o=a.loading.first?Math.max(0,s-a.loading.first):0;if(n.advancedDateTime=Date.now()-o,n.live||null!=r&&r.live){if(n.reloaded(r),r&&this.log("live playlist "+t+" "+(n.advanced?"REFRESHED "+n.lastPartSn+"-"+n.lastPartIndex:n.updated?"UPDATED":"MISSED")),r&&n.fragments.length>0&&dr(r,n),!this.canLoad||!n.live)return;var l,u=void 0,h=void 0;if(n.canBlockReload&&n.endSN&&n.advanced){var d=this.hls.config.lowLatencyMode,c=n.lastPartSn,f=n.endSN,g=n.lastPartIndex,v=c===f;-1!==g?(u=v?f+1:c,h=v?d?0:g:g+1):u=f+1;var m=n.age,p=m+n.ageHeader,y=Math.min(p-n.partTarget,1.5*n.targetduration);if(y>0){if(r&&y>r.tuneInGoal)this.warn("CDN Tune-in goal increased from: "+r.tuneInGoal+" to: "+y+" with playlist age: "+n.age),y=0;else{var E=Math.floor(y/n.targetduration);u+=E,void 0!==h&&(h+=Math.round(y%n.targetduration/n.partTarget)),this.log("CDN Tune-in age: "+n.ageHeader+"s last advanced "+m.toFixed(2)+"s goal: "+y+" skip sn "+E+" to part "+h)}n.tuneInGoal=y}if(l=this.getDeliveryDirectives(n,e.deliveryDirectives,u,h),d||!v)return void this.loadPlaylist(l)}else(n.canBlockReload||n.canSkipUntil)&&(l=this.getDeliveryDirectives(n,e.deliveryDirectives,u,h));var T=this.hls.mainForwardBufferInfo,S=T?T.end-T.len:0,L=function(t,e){void 0===e&&(e=1/0);var r=1e3*t.targetduration;if(t.updated){var i=t.fragments;if(i.length&&4*r>e){var n=1e3*i[i.length-1].duration;n<r&&(r=n)}}else r/=2;return Math.round(r)}(n,1e3*(n.edge-S));n.updated&&s>this.requestScheduled+L&&(this.requestScheduled=a.loading.start),void 0!==u&&n.canBlockReload?this.requestScheduled=a.loading.first+L-(1e3*n.partTarget||1e3):-1===this.requestScheduled||this.requestScheduled+L<s?this.requestScheduled=s:this.requestScheduled-s<=0&&(this.requestScheduled+=L);var A=this.requestScheduled-s;A=Math.max(0,A),this.log("reload live playlist "+t+" in "+Math.round(A)+" ms"),this.timer=self.setTimeout((function(){return i.loadPlaylist(l)}),A)}else this.clearTimer()},e.getDeliveryDirectives=function(t,e,r,i){var n=ar(t);return null!=e&&e.skip&&t.deltaUpdateFailed&&(r=e.msn,i=e.part,n=rr),new sr(r,i,n)},e.checkRetry=function(t){var e=this,r=t.details,i=pr(t),n=t.errorAction,a=n||{},s=a.action,o=a.retryCount,l=void 0===o?0:o,u=a.retryConfig,h=!!n&&!!u&&(s===wr||!n.resolved&&s===Dr);if(h){var d;if(this.requestScheduled=-1,l>=u.maxNumRetry)return!1;if(i&&null!=(d=t.context)&&d.deliveryDirectives)this.warn("Retrying playlist loading "+(l+1)+"/"+u.maxNumRetry+' after "'+r+'" without delivery-directives'),this.loadPlaylist();else{var c=Er(u,l);this.timer=self.setTimeout((function(){return e.loadPlaylist()}),c),this.warn("Retrying playlist loading "+(l+1)+"/"+u.maxNumRetry+' after "'+r+'" in '+c+"ms")}t.levelRetry=!0,n.resolved=!0}return h},t}(),Mr=function(){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0),this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=t,this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=e,this.totalWeight_=r}var e=t.prototype;return e.sample=function(t,e){var r=Math.pow(this.alpha_,t);this.estimate_=e*(1-r)+r*this.estimate_,this.totalWeight_+=t},e.getTotalWeight=function(){return this.totalWeight_},e.getEstimate=function(){if(this.alpha_){var t=1-Math.pow(this.alpha_,this.totalWeight_);if(t)return this.estimate_/t}return this.estimate_},t}(),Or=function(){function t(t,e,r,i){void 0===i&&(i=100),this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=r,this.minWeight_=.001,this.minDelayMs_=50,this.slow_
vendor: 32,660 bytes, line 30
30=new Mr(t),this.fast_=new Mr(e),this.defaultTTFB_=i,this.ttfb_=new Mr(t)}var e=t.prototype;return e.update=function(t,e){var r=this.slow_,i=this.fast_,n=this.ttfb_;r.halfLife!==t&&(this.slow_=new Mr(t,r.getEstimate(),r.getTotalWeight())),i.halfLife!==e&&(this.fast_=new Mr(e,i.getEstimate(),i.getTotalWeight())),n.halfLife!==t&&(this.ttfb_=new Mr(t,n.getEstimate(),n.getTotalWeight()))},e.sample=function(t,e){var r=(t=Math.max(t,this.minDelayMs_))/1e3,i=8*e/r;this.fast_.sample(r,i),this.slow_.sample(r,i)},e.sampleTTFB=function(t){var e=t/1e3,r=Math.sqrt(2)*Math.exp(-Math.pow(e,2)/2);this.ttfb_.sample(r,Math.max(t,5))},e.canEstimate=function(){return this.fast_.getTotalWeight()>=this.minWeight_},e.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},e.getEstimateTTFB=function(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_},e.destroy=function(){},t}(),Nr={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]},Ur={};function Br(t,e,r){var n=t.videoCodec,a=t.audioCodec;if(!n||!a||!r)return Promise.resolve(Nr);var s={width:t.width,height:t.height,bitrate:Math.ceil(Math.max(.9*t.bitrate,t.averageBitrate)),framerate:t.frameRate||30},o=t.videoRange;"SDR"!==o&&(s.transferFunction=o.toLowerCase());var l=n.split(",").map((function(t){return{type:"media-source",video:i(i({},s),{},{contentType:he(t,"video")})}}));return a&&t.audioGroups&&t.audioGroups.forEach((function(t){var r;t&&(null==(r=e.groups[t])||r.tracks.forEach((function(e){if(e.groupId===t){var r=e.channels||"",i=parseFloat(r);y(i)&&i>2&&l.push.apply(l,a.split(",").map((function(t){return{type:"media-source",audio:{contentType:he(t,"audio"),channels:""+i}}})))}})))})),Promise.all(l.map((function(t){var e=function(t){var e=t.audio,r=t.video,i=r||e;if(i){var n=i.contentType.split('"')[1];if(r)return"r"+r.height+"x"+r.width+"f"+Math.ceil(r.framerate)+(r.transferFunction||"sd")+"_"+n+"_"+Math.ceil(r.bitrate/1e5);if(e)return"c"+e.channels+(e.spatialRendering?"s":"n")+"_"+n}return""}(t);return Ur[e]||(Ur[e]=r.decodingInfo(t))}))).then((function(t){return{supported:!t.some((function(t){return!t.supported})),configurations:l,decodingInfoResults:t}})).catch((function(t){return{supported:!1,configurations:l,decodingInfoResults:[],error:t}}))}function Gr(t,e){var r=!1,i=[];return t&&(r="SDR"!==t,i=[t]),e&&(i=e.allowedVideoRanges||er.slice(0),i=(r=void 0!==e.preferHDR?e.preferHDR:function(){if("function"==typeof matchMedia){var t=matchMedia("(dynamic-range: high)"),e=matchMedia("bad query");if(t.media!==e.media)return!0===t.matches}return!1}())?i.filter((function(t){return"SDR"!==t})):["SDR"]),{preferHDR:r,allowedVideoRanges:i}}function Kr(t,e){w.log('[abr] start candidates with "'+t+'" ignored because '+e)}function Hr(t,e,r){if("attrs"in t){var i=e.indexOf(t);if(-1!==i)return i}for(var n=0;n<e.length;n++)if(Vr(t,e[n],r))return n;return-1}function Vr(t,e,r){var i=t.groupId,n=t.name,a=t.lang,s=t.assocLang,o=t.characteristics,l=t.default,u=t.forced;return(void 0===i||e.groupId===i)&&(void 0===n||e.name===n)&&(void 0===a||e.lang===a)&&(void 0===a||e.assocLang===s)&&(void 0===l||e.default===l)&&(void 0===u||e.forced===u)&&(void 0===o||function(t,e){void 0===e&&(e="");var r=t.split(","),i=e.split(",");return r.length===i.length&&!r.some((function(t){return-1===i.indexOf(t)}))}(o,e.characteristics))&&(void 0===r||r(t,e))}function Yr(t,e){var r=t.audioCodec,i=t.channels;return!(void 0!==r&&(e.audioCodec||"").substring(0,4)!==r.substring(0,4)||void 0!==i&&i!==(e.channels||"2"))}function Wr(t,e,r){for(var i=e;i>-1;i--)if(r(t[i]))return i;for(var n=e+1;n<t.length;n++)if(r(t[n]))return n;return-1}var jr=function(){function t(t){var e=this;this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.codecTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.bwEstimator=void 0,this._abandonRulesCheck=function(){var t=e.fragCurrent,r=e.partCurrent,i=e.hls,n=i.autoLevelEnabled,a=i.media;if(t&&a){var s=performance.now(),o=r?r.stats:t.stats,l=r?r.duration:t.duration,u=s-o.loading.start,h=i.minAutoLevel;if(o.aborted||o.loaded&&o.loaded===o.total||t.level<=h)return e.clearTimer(),void(e._nextAutoLevel=-1);if(n&&!a.paused&&a.playbackRate&&a.readyState){var d=i.mainForwardBufferInfo;if(null!==d){var c=e.bwEstimator.getEstimateTTFB(),f=Math.abs(a.playbackRate);if(!(u<=Math.max(c,l/(2*f)*1e3))){var g=d.len/f,v=o.loading.first?o.loading.first-o.loading.start:-1,m=o.loaded&&v>-1,p=e.getBwEstimate(),E=i.levels,T=E[t.level],L=o.total||Math.max(o.loaded,Math.round(l*T.averageBitrate/8)),A=m?u-v:u;A<1&&m&&(A=Math.min(u,8*o.loaded/p));var R=m?1e3*o.loaded/A:0,b=R?(L-o.loaded)/R:8*L/p+c/1e3;if(!(b<=g)){var k,D=R?8*R:p,I=Number.POSITIVE_INFINITY;for(k=t.level-1;k>h;k--){var C=E[k].maxBitrate;if((I=e.getTimeToLoadFrag(c/1e3,D,l*C,!E[k].details))<g)break}if(!(I>=b||I>10*l)){i.nextLoadLevel=i.nextAutoLevel=k,m?e.bwEstimator.sample(u-Math.min(c,v),o.loaded):e.bwEstimator.sampleTTFB(u);var _=E[k].maxBitrate;e.getBwEstimate()*e.hls.config.abrBandWidthUpFactor>_&&e.resetEstimator(_),e.clearTimer(),w.warn("[abr] Fragment "+t.sn+(r?" part "+r.index:"")+" of level "+t.level+" is loading too slowly;\n Time to underbuffer: "+g.toFixed(3)+" s\n Estimated load time for current fragment: "+b.toFixed(3)+" s\n Estimated load time for down switch fragment: "+I.toFixed(3)+" s\n TTFB estimate: "+(0|v)+" ms\n Current BW estimate: "+(y(p)?0|p:"Unknown")+" bps\n New BW estimate: "+(0|e.getBwEstimate())+" bps\n Switching to level "+k+" @ "+(0|_)+" bps"),i.trigger(S.FRAG_LOAD_EMERGENCY_ABORTED,{frag:t,part:r,stats:o})}}}}}}},this.hls=t,this.bwEstimator=this.initEstimator(),this.registerListeners()}var e=t.prototype;return e.resetEstimator=function(t){t&&(w.log("setting initial bwe to "+t),this.hls.config.abrEwmaDefaultEstimate=t),this.firstSelection=-1,this.bwEstimator=this.initEstimator()},e.initEstimator=function(){var t=this.hls.config;return new Or(t.abrEwmaSlowVoD,t.abrEwmaFastVoD,t.abrEwmaDefaultEstimate)},e.registerListeners=function(){var t=this.hls;t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.FRAG_LOADING,this.onFragLoading,this),t.on(S.FRAG_LOADED,this.onFragLoaded,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this),t.on(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this),t.on(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(S.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.on(S.ERROR,this.onError,this)},e.unregisterListeners=function(){var t=this.hls;t&&(t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.FRAG_LOADING,this.onFragLoading,this),t.off(S.FRAG_LOADED,this.onFragLoaded,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this),t.off(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this),t.off(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(S.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.off(S.ERROR,this.onError,this))},e.destroy=function(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null},e.onManifestLoading=function(t,e){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()},e.onLevelsUpdated=function(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null},e.onMaxAutoLevelUpdated=function(){this.firstSelection=-1,this.nextAutoLevelKey=""},e.onFragLoading=function(t,e){var r,i=e.frag;this.ignoreFragment(i)||(i.bitrateTest||(this.fragCurrent=i,this.partCurrent=null!=(r=e.part)?r:null),this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100))},e.onLevelSwitching=function(t,e){this.clearTimer()},e.onError=function(t,e){if(!e.fatal)switch(e.details){case A.BUFFER_ADD_CODEC_ERROR:case A.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case A.FRAG_LOAD_TIMEOUT:var r=e.frag,i=this.fragCurrent,n=this.partCurrent;if(r&&i&&r.sn===i.sn&&r.level===i.level){var a=performance.now(),s=n?n.stats:r.stats,o=a-s.loading.start,l=s.loading.first?s.loading.first-s.loading.start:-1;if(s.loaded&&l>-1){var u=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(o-Math.min(u,l),s.loaded)}else this.bwEstimator.sampleTTFB(o)}}},e.getTimeToLoadFrag=function(t,e,r,i){return t+r/e+(i?this.lastLevelLoadSec:0)},e.onLevelLoaded=function(t,e){var r=this.hls.config,i=e.stats.loading,n=i.end-i.start;y(n)&&(this.lastLevelLoadSec=n/1e3),e.details.live?this.bwEstimator.update(r.abrEwmaSlowLive,r.abrEwmaFastLive):this.bwEstimator.update(r.abrEwmaSlowVoD,r.abrEwmaFastVoD)},e.onFragLoaded=function(t,e){var r=e.frag,i=e.part,n=i?i.stats:r.stats;if(r.type===Fe&&this.bwEstimator.sampleTTFB(n.loading.first-n.loading.start),!this.ignoreFragment(r)){if(this.clearTimer(),r.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){var a=i?i.duration:r.duration,s=this.hls.levels[r.level],o=(s.loaded?s.loaded.bytes:0)+n.loaded,l=(s.loaded?s.loaded.duration:0)+a;s.loaded={bytes:o,duration:l},s.realBitrate=Math.round(8*o/l)}if(r.bitrateTest){var u={stats:n,frag:r,part:i,id:r.type};this.onFragBuffered(S.FRAG_BUFFERED,u),r.bitrateTest=!1}else this.lastLoadedFragLevel=r.level}},e.onFragBuffered=function(t,e){var r=e.frag,i=e.part,n=null!=i&&i.stats.loaded?i.stats:r.stats;if(!n.aborted&&!this.ignoreFragment(r)){var a=n.parsing.end-n.loading.start-Math.min(n.loading.first-n.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(a,n.loaded),n.bwEstimate=this.getBwEstimate(),r.bitrateTest?this.bitrateTestDelay=a/1e3:this.bitrateTestDelay=0}},e.ignoreFragment=function(t){return t.type!==Fe||"initSegment"===t.sn},e.clearTimer=function(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)},e.getAutoLevelKey=function(){return this.getBwEstimate()+"_"+this.getStarvationDelay().toFixed(2)},e.getNextABRAutoLevel=function(){var t=this.fragCurrent,e=this.partCurrent,r=this.hls,i=r.maxAutoLevel,n=r.config,a=r.minAutoLevel,s=e?e.duration:t?t.duration:0,o=this.getBwEstimate(),l=this.getStarvationDelay(),u=n.abrBandWidthFactor,h=n.abrBandWidthUpFactor;if(l){var d=this.findBestLevel(o,a,i,l,0,u,h);if(d>=0)return d}var c=s?Math.min(s,n.maxStarvationDelay):n.maxStarvationDelay;if(!l){var f=this.bitrateTestDelay;f&&(c=(s?Math.min(s,n.maxLoadingDelay):n.maxLoadingDelay)-f,w.info("[abr] bitrate test took "+Math.round(1e3*f)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*c)+" ms"),u=h=1)}var g=this.findBestLevel(o,a,i,l,c,u,h);if(w.info("[abr] "+(l?"rebuffering expected":"buffer is empty")+", optimal quality level "+g),g>-1)return g;var v=r.levels[a],m=r.levels[r.loadLevel];return(null==v?void 0:v.bitrate)<(null==m?void 0:m.bitrate)?a:r.loadLevel},e.getStarvationDelay=function(){var t=this.hls,e=t.media;if(!e)return 1/0;var r=e&&0!==e.playbackRate?Math.abs(e.playbackRate):1,i=t.mainForwardBufferInfo;return(i?i.len:0)/r},e.getBwEstimate=function(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate},e.findBestLevel=function(t,e,r,i,n,a,s){var o,l=this,u=i+n,h=this.lastLoadedFragLevel,d=-1===h?this.hls.firstLevel:h,c=this.fragCurrent,f=this.partCurrent,g=this.hls,v=g.levels,m=g.allAudioTracks,p=g.loadLevel,E=g.config;if(1===v.length)return 0;var T,S=v[d],L=!(null==S||null==(o=S.details)||!o.live),A=-1===p||-1===h,R="SDR",b=(null==S?void 0:S.frameRate)||0,k=E.audioPreference,D=E.videoPreference,I=this.audioTracksByGroup||(this.audioTracksByGroup=function(t){return t.reduce((function(t,e){var r=t.groups[e.groupId];r||(r=t.groups[e.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),r.tracks.push(e);var i=e.channels||"2";return r.channels[i]=(r.channels[i]||0)+1,r.hasDefault=r.hasDefault||e.default,r.hasAutoSelect=r.hasAutoSelect||e.autoselect,r.hasDefault&&(t.hasDefaultAudio=!0),r.hasAutoSelect&&(t.hasAutoSelectAudio=!0),t}),{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}(m));if(A){if(-1!==this.firstSelection)return this.firstSelection;var C=this.codecTiers||(this.codecTiers=function(t,e,r,i){return t.slice(r,i+1).reduce((function(t,r){if(!r.codecSet)return t;var i=r.audioGroups,n=t[r.codecSet];n||(t[r.codecSet]=n={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!i,fragmentError:0}),n.minBitrate=Math.min(n.minBitrate,r.bitrate);var a=Math.min(r.height,r.width);return n.minHeight=Math.min(n.minHeight,a),n.minFramerate=Math.min(n.minFramerate,r.frameRate),n.maxScore=Math.max(n.maxScore,r.score),n.fragmentError+=r.fragmentError,n.videoRanges[r.videoRange]=(n.videoRanges[r.videoRange]||0)+1,i&&i.forEach((function(t){if(t){var r=e.groups[t];r&&(n.hasDefaultAudio=n.hasDefaultAudio||e.hasDefaultAudio?r.hasDefault:r.hasAutoSelect||!e.hasDefaultAudio&&!e.hasAutoSelectAudio,Object.keys(r.channels).forEach((function(t){n.channels[t]=(n.channels[t]||0)+r.channels[t]})))}})),t}),{})}(v,I,e,r)),_=function(t,e,r,i,n){for(var a=Object.keys(t),s=null==i?void 0:i.channels,o=null==i?void 0:i.audioCodec,l=s&&2===parseInt(s),u=!0,h=!1,d=1/0,c=1/0,f=1/0,g=0,v=[],m=Gr(e,n),p=m.preferHDR,E=m.allowedVideoRanges,T=function(){var e=t[a[S]];u=e.channels[2]>0,d=Math.min(d,e.minHeight),c=Math.min(c,e.minFramerate),f=Math.min(f,e.minBitrate);var r=E.filter((function(t){return e.videoRanges[t]>0}));r.length>0&&(h=!0,v=r)},S=a.length;S--;)T();d=y(d)?d:0,c=y(c)?c:0;var L=Math.max(1080,d),A=Math.max(30,c);return f=y(f)?f:r,r=Math.max(f,r),h||(e=void 0,v=[]),{codecSet:a.reduce((function(e,i){var n=t[i];if(i===e)return e;if(n.minBitrate>r)return Kr(i,"min bitrate of "+n.minBitrate+" > current estimate of "+r),e;if(!n.hasDefaultAudio)return Kr(i,"no renditions with default or auto-select sound found"),e;if(o&&i.indexOf(o.substring(0,4))%5!=0)return Kr(i,'audio codec preference "'+o+'" not found'),e;if(s&&!l){if(!n.channels[s])return Kr(i,"no renditions with "+s+" channel sound found (channels options: "+Object.keys(n.channels)+")"),e}else if((!o||l)&&u&&0===n.channels[2])return Kr(i,"no renditions with stereo sound found"),e;return n.minHeight>L?(Kr(i,"min resolution of "+n.minHeight+" > maximum of "+L),e):n.minFramerate>A?(Kr(i,"min framerate of "+n.minFramerate+" > maximum of "+A),e):v.some((function(t){return n.videoRanges[t]>0}))?n.maxScore<g?(Kr(i,"max score of "+n.maxScore+" < selected max of "+g),e):e&&(ce(i)>=ce(e)||n.fragmentError>t[e].fragmentError)?e:(g=n.maxScore,i):(Kr(i,"no variants with VIDEO-RANGE of "+JSON.stringify(v)+" found"),e)}),void 0),videoRanges:v,preferHDR:p,minFramerate:c,minBitrate:f}}(C,R,t,k,D),x=_.codecSet,P=_.videoRanges,F=_.minFramerate,M=_.minBitrate,O=_.preferHDR;T=x,R=O?P[P.length-1]:P[0],b=F,t=Math.max(t,M),w.log("[abr] picked start tier "+JSON.stringify(_))}else T=null==S?void 0:S.codecSet,R=null==S?void 0:S.videoRange;for(var N,U=f?f.duration:c?c.duration:0,B=this.bwEstimator.getEstimateTTFB()/1e3,G=[],K=function(){var e,o=v[H],c=H>d;if(!o)return 0;if(E.useMediaCapabilities&&!o.supportedResult&&!o.supportedPromise){var g=navigator.mediaCapabilities;"function"==typeof(null==g?void 0:g.decodingInfo)&&function(t,e,r,i,n,a){var s=t.audioCodec?t.audioGroups:null,o=null==a?void 0:a.audioCodec,l=null==a?void 0:a.channels,u=l?parseInt(l):o?1/0:2,h=null;if(null!=s&&s.length)try{h=1===s.length&&s[0]?e.groups[s[0]].channels:s.reduce((function(t,r){if(r){var i=e.groups[r];if(!i)throw new Error("Audio track group "+r+" not found");Object.keys(i.channels).forEach((function(e){t[e]=(t[e]||0)+i.channels[e]}))}return t}),{2:0})}catch(t){return!0}return void 0!==t.videoCodec&&(t.width>1920&&t.height>1088||t.height>1920&&t.width>1088||t.frameRate>Math.max(i,30)||"SDR"!==t.videoRange&&t.videoRange!==r||t.bitrate>Math.max(n,8e6))||!!h&&y(u)&&Object.keys(h).some((function(t){return parseInt(t)>u}))}(o,I,R,b,t,k)?(o.supportedPromise=Br(o,I,g),o.supportedPromise.then((function(t){if(l.hls){o.supportedResult=t;var e=l.hls.levels,r=e.indexOf(o);t.error?w.warn('[abr] MediaCapabilities decodingInfo error: "'+t.error+'" for level '+r+" "+JSON.stringify(t)):t.supported||(w.warn("[abr] Unsupported MediaCapabilities decodingInfo result for level "+r+" "+JSON.stringify(t)),r>-1&&e.length>1&&(w.log("[abr] Removing unsupported level "+r),l.hls.removeLevel(r)))}}))):o.supportedResult=Nr}if(T&&o.codecSet!==T||R&&o.videoRange!==R||c&&b>o.frameRate||!c&&b>0&&b<o.frameRate||o.supportedResult&&(null==(e=o.supportedResult.decodingInfoResults)||!e[0].smooth))return G.push(H),0;var m,D=o.details,C=(f?null==D?void 0:D.partTarget:null==D?void 0:D.averagetargetduration)||U;m=c?s*t:a*t;var _=U&&i>=2*U&&0===n?v[H].averageBitrate:v[H].maxBitrate,x=l.getTimeToLoadFrag(B,m,_*C,void 0===D);if(m>=_&&(H===h||0===o.loadError&&0===o.fragmentError)&&(x<=B||!y(x)||L&&!l.bitrateTestDelay||x<u)){var P=l.forcedAutoLevel;return H===p||-1!==P&&P===p||(G.length&&w.trace("[abr] Skipped level(s) "+G.join(",")+" of "+r+' max with CODECS and VIDEO-RANGE:"'+v[G[0]].codecs+'" '+v[G[0]].videoRange+'; not compatible with "'+S.codecs+'" '+R),w.info("[abr] switch candidate:"+d+"->"+H+" adjustedbw("+Math.round(m)+")-bitrate="+Math.round(m-_)+" ttfb:"+B.toFixed(1)+" avgDuration:"+C.toFixed(1)+" maxFetchDuration:"+u.toFixed(1)+" fetchDuration:"+x.toFixed(1)+" firstSelection:"+A+" codecSet:"+T+" videoRange:"+R+" hls.loadLevel:"+p)),A&&(l.firstSelection=H),{v:H}}},H=r;H>=e;H--)if(0!==(N=K())&&N)return N.v;return-1},s(t,[{key:"firstAutoLevel",get:function(){var t=this.hls,e=t.maxAutoLevel,r=t.minAutoLevel,i=this.getBwEstimate(),n=this.hls.config.maxStarvationDelay,a=this.findBestLevel(i,r,e,0,n,1,1);if(a>-1)return a;var s=this.hls.firstLevel,o=Math.min(Math.max(s,r),e);return w.warn("[abr] Could not find best starting auto level. Defaulting to first in playlist "+s+" clamped to "+o),o}},{key:"forcedAutoLevel",get:function(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}},{key:"nextAutoLevel",get:function(){var t=this.forcedAutoLevel,e=this.bwEstimator.canEstimate(),r=this.lastLoadedFragLevel>-1;if(!(-1===t||e&&r&&this.nextAutoLevelKey!==this.getAutoLevelKey()))return t;var i=e&&r?this.getNextABRAutoLevel():this.firstAutoLevel;if(-1!==t){var n=this.hls.levels;if(n.length>Math.max(t,i)&&n[t].loadError<=n[i].loadError)return t}return this._nextAutoLevel=i,this.nextAutoLevelKey=this.getAutoLevelKey(),i},set:function(t){var e=this.hls,r=e.maxAutoLevel,i=e.minAutoLevel,n=Math.min(Math.max(t,i),r);this._nextAutoLevel!==n&&(this.nextAutoLevelKey="",this._nextAutoLevel=n)}}]),t}(),qr=function(){function t(){this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}var e=t.prototype;return e.destroy=function(){this.onHandlerDestroying(),this.onHandlerDestroyed()},e.onHandlerDestroying=function(){this.clearNextTick(),this.clearInterval()},e.onHandlerDestroyed=function(){},e.hasInterval=function(){return!!this._tickInterval},e.hasNextTick=function(){return!!this._tickTimer},e.setInterval=function(t){return!this._tickInterval&&(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,t),!0)},e.clearInterval=function(){return!!this._tickInterval&&(self.clearInterval(this._tickInterval),this._tickInterval=null,!0)},e.clearNextTick=function(){return!!this._tickTimer&&(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0)},e.tick=function(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)},e.tickImmediate=function(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)},e.doTick=function(){},t}(),Xr="NOT_LOADED",zr="APPENDING",Qr="PARTIAL",Jr="OK",$r=function(){function t(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}var e=t.prototype;return e._registerListeners=function(){var t=this.hls;t.on(S.BUFFER_APPENDED,this.onBufferAppended,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this),t.on(S.FRAG_LOADED,this.onFragLoaded,this)},e._unregisterListeners=function(){var t=this.hls;t.off(S.BUFFER_APPENDED,this.onBufferAppended,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this),t.off(S.FRAG_LOADED,this.onFragLoaded,this)},e.destroy=function(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null},e.getAppendedFrag=function(t,e){var r=this.activePartLists[e];if(r)for(var i=r.length;i--;){var n=r[i];if(!n)break;var a=n.end;if(n.start<=t&&null!==a&&t<=a)return n}return this.getBufferedFrag(t,e)},e.getBufferedFrag=function(t,e){for(var r=this.fragments,i=Object.keys(r),n=i.length;n--;){var a=r[i[n]];if((null==a?void 0:a.body.type)===e&&a.buffered){var s=a.body;if(s.start<=t&&t<=s.end)return s}}return null},e.detectEvictedFragments=function(t,e,r,i){var n=this;this.timeRanges&&(this.timeRanges[t]=e);var a=(null==i?void 0:i.fragment.sn)||-1;Object.keys(this.fragments).forEach((function(i){var s=n.fragments[i];if(s&&!(a>=s.body.sn))if(s.buffered||s.loaded){var o=s.range[t];o&&o.time.some((function(t){var r=!n.isTimeBuffered(t.startPTS,t.endPTS,e);return r&&n.removeFragment(s.body),r}))}else s.body.type===r&&n.removeFragment(s.body)}))},e.detectPartialFragments=function(t){var e=this,r=this.timeRanges,i=t.frag,n=t.part;if(r&&"initSegment"!==i.sn){var a=ti(i),s=this.fragments[a];if(!(!s||s.buffered&&i.gap)){var o=!i.relurl;Object.keys(r).forEach((function(t){var a=i.elementaryStreams[t];if(a){var l=r[t],u=o||!0===a.partial;s.range[t]=e.getBufferedTimes(i,n,u,l)}})),s.loaded=null,Object.keys(s.range).length?(s.buffered=!0,(s.body.endList=i.endList||s.body.endList)&&(this.endListFragments[s.body.type]=s),Zr(s)||this.removeParts(i.sn-1,i.type)):this.removeFragment(s.body)}}},e.removeParts=function(t,e){var r=this.activePartLists[e];r&&(this.activePartLists[e]=r.filter((function(e){return e.fragment.sn>=t})))},e.fragBuffered=function(t,e){var r=ti(t),i=this.fragments[r];!i&&e&&(i=this.fragments[r]={body:t,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},t.gap&&(this.hasGaps=!0)),i&&(i.loaded=null,i.buffered=!0)},e.getBufferedTimes=function(t,e,r,i){for(var n={time:[],partial:r},a=t.start,s=t.end,o=t.minEndPTS||s,l=t.maxStartPTS||a,u=0;u<i.length;u++){var h=i.start(u)-this.bufferPadding,d=i.end(u)+this.bufferPadding;if(l>=h&&o<=d){n.time.push({startPTS:Math.max(a,i.start(u)),endPTS:Math.min(s,i.end(u))});break}if(a<d&&s>h){var c=Math.max(a,i.start(u)),f=Math.min(s,i.end(u));f>c&&(n.partial=!0,n.time.push({startPTS:c,endPTS:f}))}else if(s<=h)break}return n},e.getPartialFragment=function(t){var e,r,i,n=null,a=0,s=this.bufferPadding,o=this.fragments;return Object.keys(o).forEach((function(l){var u=o[l];u&&Zr(u)&&(r=u.body.start-s,i=u.body.end+s,t>=r&&t<=i&&(e=Math.min(t-r,i-t),a<=e&&(n=u.body,a=e)))})),n},e.isEndListAppended=function(t){var e=this.endListFragments[t];return void 0!==e&&(e.buffered||Zr(e))},e.getState=function(t){var e=ti(t),r=this.fragments[e];return r?r.buffered?Zr(r)?Qr:Jr:zr:Xr},e.isTimeBuffered=function(t,e,r){for(var i,n,a=0;a<r.length;a++){if(i=r.start(a)-this.bufferPadding,n=r.end(a)+this.bufferPadding,t>=i&&e<=n)return!0;if(e<=i)return!1}return!1},e.onFragLoaded=function(t,e){var r=e.frag,i=e.part;if("initSegment"!==r.sn&&!r.bitrateTest){var n=i?null:e,a=ti(r);this.fragments[a]={body:r,appendedPTS:null,loaded:n,buffered:!1,range:Object.create(null)}}},e.onBufferAppended=function(t,e){var r=this,i=e.frag,n=e.part,a=e.timeRanges;if("initSegment"!==i.sn){var s=i.type;if(n){var o=this.activePartLists[s];o||(this.activePartLists[s]=o=[]),o.push(n)}this.timeRanges=a,Object.keys(a).forEach((function(t){var e=a[t];r.detectEvictedFragments(t,e,s,n)}))}},e.onFragBuffered=function(t,e){this.detectPartialFragments(e)},e.hasFragment=function(t){var e=ti(t);return!!this.fragments[e]},e.hasParts=function(t){var e;return!(null==(e=this.activePartLists[t])||!e.length)},e.removeFragmentsInRange=function(t,e,r,i,n){var a=this;i&&!this.hasGaps||Object.keys(this.fragments).forEach((function(s){var o=a.fragments[s];if(o){var l=o.body;l.type!==r||i&&!l.gap||l.start<e&&l.end>t&&(o.buffered||n)&&a.removeFragment(l)}}))},e.removeFragment=function(t){var e=ti(t);t.stats.loaded=0,t.clearElementaryStreamInfo();var r=this.activePartLists[t.type];if(r){var i=t.sn;this.activePartLists[t.type]=r.filter((function(t){return t.fragment.sn!==i}))}delete this.fragments[e],t.endList&&delete this.endListFragments[t.type]},e.removeAllFragments=function(){this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1},t}();function Zr(t){var e,r,i;return t.buffered&&(t.body.gap||(null==(e=t.range.video)?void 0:e.partial)||(null==(r=t.range.audio)?void 0:r.partial)||(null==(i=t.range.audiovideo)?void 0:i.partial))}function ti(t){return t.type+"_"+t.level+"_"+t.sn}var ei={length:0,start:function(){return 0},end:function(){return 0}},ri=function(){function t(){}return t.isBuffered=function(e,r){try{if(e)for(var i=t.getBuffered(e),n=0;n<i.length;n++)if(r>=i.start(n)&&r<=i.end(n))return!0}catch(t){}return!1},t.bufferInfo=function(e,r,i){try{if(e){var n,a=t.getBuffered(e),s=[];for(n=0;n<a.length;n++)s.push({start:a.start(n),end:a.end(n)});return this.bufferedInfo(s,r,i)}}catch(t){}return{len:0,start:r,end:r,nextStart:void 0}},t.bufferedInfo=function(t,e,r){e=Math.max(0,e),t.sort((function(t,e){var r=t.start-e.start;return r||e.end-t.end}));var i=[];if(r)for(var n=0;n<t.length;n++){var a=i.length;if(a){var s=i[a-1].end;t[n].start-s<r?t[n].end>s&&(i[a-1].end=t[n].end):i.push(t[n])}else i.push(t[n])}else i=t;for(var o,l=0,u=e,h=e,d=0;d<i.length;d++){var c=i[d].start,f=i[d].end;if(e+r>=c&&e<f)u=c,l=(h=f)-e;else if(e+r<c){o=c;break}}return{len:l,start:u||0,end:h||0,nextStart:o}},t.getBuffered=function(t){try{return t.buffered}catch(t){return w.log("failed to get media.buffered",t),ei}},t}(),ii=function(t,e,r,i,n,a){void 0===i&&(i=0),void 0===n&&(n=-1),void 0===a&&(a=!1),this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing={start:0,executeStart:0,executeEnd:0,end:0},this.buffering={audio:{start:0,executeStart:0,executeEnd:0,end:0},video:{start:0,executeStart:0,executeEnd:0,end:0},audiovideo:{start:0,executeStart:0,executeEnd:0,end:0}},this.level=t,this.sn=e,this.id=r,this.size=i,this.part=n,this.partial=a};function ni(t,e){for(var r=0,i=t.length;r<i;r++){var n;if((null==(n=t[r])?void 0:n.cc)===e)return t[r]}return null}function ai(t,e){if(t){var r=t.start+e;t.start=t.startPTS=r,t.endPTS=r+t.duration}}function si(t,e){for(var r=e.fragments,i=0,n=r.length;i<n;i++)ai(r[i],t);e.fragmentHint&&ai(e.fragmentHint,t),e.alignedSliding=!0}function oi(t,e,r){e&&(function(t,e,r){if(function(t,e,r){return!(!e||!(r.endCC>r.startCC||t&&t.cc<r.startCC))}(t,r,e)){var i=function(t,e){var r=t.fragments,i=e.fragments;if(i.length&&r.length){var n=ni(r,i[0].cc);if(n&&(!n||n.startPTS))return n;w.log("No frag in previous level to align on")}else w.log("No fragments to align")}(r,e);i&&y(i.start)&&(w.log("Adjusting PTS using last level due to CC increase within current level "+e.url),si(i.start,e))}}(t,r,e),!r.alignedSliding&&e&&li(r,e),r.alignedSliding||!e||r.skippedSegments||cr(e,r))}function li(t,e){if(t.hasProgramDateTime&&e.hasProgramDateTime){var r=t.fragments,i=e.fragments;if(r.length&&i.length){var n,a,s=Math.min(e.endCC,t.endCC);e.startCC<s&&t.startCC<s&&(n=ni(i,s),a=ni(r,s)),n&&a||(a=ni(r,(n=i[Math.floor(i.length/2)]).cc)||r[Math.floor(r.length/2)]);var o=n.programDateTime,l=a.programDateTime;o&&l&&si((l-o)/1e3-(a.start-n.start),t)}}}var ui=Math.pow(2,17),hi=function(){function t(t){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=t}var e=t.prototype;return e.destroy=function(){this.loader&&(this.loader.destroy(),this.loader=null)},e.abort=function(){this.loader&&this.loader.abort()},e.load=function(t,e){var r=this,n=t.url;if(!n)return Promise.reject(new fi({type:L.NETWORK_ERROR,details:A.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error("Fragment does not have a "+(n?"part list":"url")),networkDetails:null}));this.abort();var a=this.config,s=a.fLoader,o=a.loader;return new Promise((function(l,u){if(r.loader&&r.loader.destroy(),t.gap){if(t.tagList.some((function(t){return"GAP"===t[0]})))return void u(ci(t));t.gap=!1}var h=r.loader=t.loader=s?new s(a):new o(a),d=di(t),c=Tr(a.fragLoadPolicy.default),f={loadPolicy:c,timeout:c.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:"initSegment"===t.sn?1/0:ui};t.stats=h.stats,h.load(d,f,{onSuccess:function(e,i,n,a){r.resetLoader(t,h);var s=e.data;n.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(s.slice(0,16)),s=s.slice(16)),l({frag:t,part:null,payload:s,networkDetails:a})},onError:function(e,a,s,o){r.resetLoader(t,h),u(new fi({type:L.NETWORK_ERROR,details:A.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:i({url:n,data:void 0},e),error:new Error("HTTP Error "+e.code+" "+e.text),networkDetails:s,stats:o}))},onAbort:function(e,i,n){r.resetLoader(t,h),u(new fi({type:L.NETWORK_ERROR,details:A.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:n,stats:e}))},onTimeout:function(e,i,n){r.resetLoader(t,h),u(new fi({type:L.NETWORK_ERROR,details:A.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error("Timeout after "+f.timeout+"ms"),networkDetails:n,stats:e}))},onProgress:function(r,i,n,a){e&&e({frag:t,part:null,payload:n,networkDetails:a})}})}))},e.loadPart=function(t,e,r){var n=this;this.abort();var a=this.config,s=a.fLoader,o=a.loader;return new Promise((function(l,u){if(n.loader&&n.loader.destroy(),t.gap||e.gap)u(ci(t,e));else{var h=n.loader=t.loader=s?new s(a):new o(a),d=di(t,e),c=Tr(a.fragLoadPolicy.default),f={loadPolicy:c,timeout:c.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:ui};e.stats=h.stats,h.load(d,f,{onSuccess:function(i,a,s,o){n.resetLoader(t,h),n.updateStatsFromPart(t,e);var u={frag:t,part:e,payload:i.data,networkDetails:o};r(u),l(u)},onError:function(r,a,s,o){n.resetLoader(t,h),u(new fi({type:L.NETWORK_ERROR,details:A.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:e,response:i({url:d.url,data:void 0},r),error:new Error("HTTP Error "+r.code+" "+r.text),networkDetails:s,stats:o}))},onAbort:function(r,i,a){t.stats.aborted=e.stats.aborted,n.resetLoader(t,h),u(new fi({type:L.NETWORK_ERROR,details:A.INTERNAL_ABORTED,fatal:!1,frag:t,part:e,error:new Error("Aborted"),networkDetails:a,stats:r}))},onTimeout:function(r,i,a){n.resetLoader(t,h),u(new fi({type:L.NETWORK_ERROR,details:A.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:e,error:new Error("Timeout after "+f.timeout+"ms"),networkDetails:a,stats:r}))}})}}))},e.updateStatsFromPart=function(t,e){var r=t.stats,i=e.stats,n=i.total;if(r.loaded+=i.loaded,n){var a=Math.round(t.duration/e.duration),s=Math.min(Math.round(r.loaded/n),a),o=(a-s)*Math.round(r.loaded/s);r.total=r.loaded+o}else r.total=Math.max(r.loaded,r.total);var l=r.loading,u=i.loading;l.start?l.first+=u.first-u.start:(l.start=u.start,l.first=u.first),l.end=u.end},e.resetLoader=function(t,e){t.loader=null,this.loader===e&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),e.destroy()},t}();function di(t,e){void 0===e&&(e=null);var r=e||t,i={frag:t,part:e,responseType:"arraybuffer",url:r.url,headers:{},rangeStart:0,rangeEnd:0},n=r.byteRangeStartOffset,a=r.byteRangeEndOffset;if(y(n)&&y(a)){var s,o=n,l=a;if("initSegment"===t.sn&&"AES-128"===(null==(s=t.decryptdata)?void 0:s.method)){var u=a-n;u%16&&(l=a+(16-u%16)),0!==n&&(i.resetIV=!0,o=n-16)}i.rangeStart=o,i.rangeEnd=l}return i}function ci(t,e){var r=new Error("GAP "+(t.gap?"tag":"attribute")+" found"),i={type:L.MEDIA_ERROR,details:A.FRAG_GAP,fatal:!1,frag:t,error:r,networkDetails:null};return e&&(i.part=e),(e||t).stats.aborted=!0,new fi(i)}var fi=function(t){function e(e){var r;return(r=t.call(this,e.error.message)||this).data=void 0,r.data=e,r}return l(e,t),e}(c(Error)),gi=function(){function t(t,e){this.subtle=void 0,this.aesIV=void 0,this.subtle=t,this.aesIV=e}return t.prototype.decrypt=function(t,e){return this.subtle.decrypt({
vendor: 29,919 bytes, line 30
30name:"AES-CBC",iv:this.aesIV},e,t)},t}(),vi=function(){function t(t,e){this.subtle=void 0,this.key=void 0,this.subtle=t,this.key=e}return t.prototype.expandKey=function(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])},t}(),mi=function(){function t(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}var e=t.prototype;return e.uint8ArrayToUint32Array_=function(t){for(var e=new DataView(t),r=new Uint32Array(4),i=0;i<4;i++)r[i]=e.getUint32(4*i);return r},e.initTable=function(){var t=this.sBox,e=this.invSBox,r=this.subMix,i=r[0],n=r[1],a=r[2],s=r[3],o=this.invSubMix,l=o[0],u=o[1],h=o[2],d=o[3],c=new Uint32Array(256),f=0,g=0,v=0;for(v=0;v<256;v++)c[v]=v<128?v<<1:v<<1^283;for(v=0;v<256;v++){var m=g^g<<1^g<<2^g<<3^g<<4;m=m>>>8^255&m^99,t[f]=m,e[m]=f;var p=c[f],y=c[p],E=c[y],T=257*c[m]^16843008*m;i[f]=T<<24|T>>>8,n[f]=T<<16|T>>>16,a[f]=T<<8|T>>>24,s[f]=T,T=16843009*E^65537*y^257*p^16843008*f,l[m]=T<<24|T>>>8,u[m]=T<<16|T>>>16,h[m]=T<<8|T>>>24,d[m]=T,f?(f=p^c[c[c[E^p]]],g^=c[c[g]]):f=g=1}},e.expandKey=function(t){for(var e=this.uint8ArrayToUint32Array_(t),r=!0,i=0;i<e.length&&r;)r=e[i]===this.key[i],i++;if(!r){this.key=e;var n=this.keySize=e.length;if(4!==n&&6!==n&&8!==n)throw new Error("Invalid aes key size="+n);var a,s,o,l,u=this.ksRows=4*(n+6+1),h=this.keySchedule=new Uint32Array(u),d=this.invKeySchedule=new Uint32Array(u),c=this.sBox,f=this.rcon,g=this.invSubMix,v=g[0],m=g[1],p=g[2],y=g[3];for(a=0;a<u;a++)a<n?o=h[a]=e[a]:(l=o,a%n==0?(l=c[(l=l<<8|l>>>24)>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l],l^=f[a/n|0]<<24):n>6&&a%n==4&&(l=c[l>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l]),h[a]=o=(h[a-n]^l)>>>0);for(s=0;s<u;s++)a=u-s,l=3&s?h[a]:h[a-4],d[s]=s<4||a<=4?l:v[c[l>>>24]]^m[c[l>>>16&255]]^p[c[l>>>8&255]]^y[c[255&l]],d[s]=d[s]>>>0}},e.networkToHostOrderSwap=function(t){return t<<24|(65280&t)<<8|(16711680&t)>>8|t>>>24},e.decrypt=function(t,e,r){for(var i,n,a,s,o,l,u,h,d,c,f,g,v,m,p=this.keySize+6,y=this.invKeySchedule,E=this.invSBox,T=this.invSubMix,S=T[0],L=T[1],A=T[2],R=T[3],b=this.uint8ArrayToUint32Array_(r),k=b[0],D=b[1],I=b[2],w=b[3],C=new Int32Array(t),_=new Int32Array(C.length),x=this.networkToHostOrderSwap;e<C.length;){for(d=x(C[e]),c=x(C[e+1]),f=x(C[e+2]),g=x(C[e+3]),o=d^y[0],l=g^y[1],u=f^y[2],h=c^y[3],v=4,m=1;m<p;m++)i=S[o>>>24]^L[l>>16&255]^A[u>>8&255]^R[255&h]^y[v],n=S[l>>>24]^L[u>>16&255]^A[h>>8&255]^R[255&o]^y[v+1],a=S[u>>>24]^L[h>>16&255]^A[o>>8&255]^R[255&l]^y[v+2],s=S[h>>>24]^L[o>>16&255]^A[l>>8&255]^R[255&u]^y[v+3],o=i,l=n,u=a,h=s,v+=4;i=E[o>>>24]<<24^E[l>>16&255]<<16^E[u>>8&255]<<8^E[255&h]^y[v],n=E[l>>>24]<<24^E[u>>16&255]<<16^E[h>>8&255]<<8^E[255&o]^y[v+1],a=E[u>>>24]<<24^E[h>>16&255]<<16^E[o>>8&255]<<8^E[255&l]^y[v+2],s=E[h>>>24]<<24^E[o>>16&255]<<16^E[l>>8&255]<<8^E[255&u]^y[v+3],_[e]=x(i^k),_[e+1]=x(s^D),_[e+2]=x(a^I),_[e+3]=x(n^w),k=d,D=c,I=f,w=g,e+=4}return _.buffer},t}(),pi=function(){function t(t,e){var r=(void 0===e?{}:e).removePKCS7Padding,i=void 0===r||r;if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.useSoftware=t.enableSoftwareAES,this.removePKCS7Padding=i,i)try{var n=self.crypto;n&&(this.subtle=n.subtle||n.webkitSubtle)}catch(t){}this.useSoftware=!this.subtle}var e=t.prototype;return e.destroy=function(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null},e.isSync=function(){return this.useSoftware},e.flush=function(){var t=this.currentResult,e=this.remainderData;if(!t||e)return this.reset(),null;var r,i,n,a=new Uint8Array(t);return this.reset(),this.removePKCS7Padding?(i=(r=a).byteLength,(n=i&&new DataView(r.buffer).getUint8(i-1))?lt(r,0,i-n):r):a},e.reset=function(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)},e.decrypt=function(t,e,r){var i=this;return this.useSoftware?new Promise((function(n,a){i.softwareDecrypt(new Uint8Array(t),e,r);var s=i.flush();s?n(s.buffer):a(new Error("[softwareDecrypt] Failed to decrypt data"))})):this.webCryptoDecrypt(new Uint8Array(t),e,r)},e.softwareDecrypt=function(t,e,r){var i=this.currentIV,n=this.currentResult,a=this.remainderData;this.logOnce("JS AES decrypt"),a&&(t=Wt(a,t),this.remainderData=null);var s=this.getValidChunk(t);if(!s.length)return null;i&&(r=i);var o=this.softwareDecrypter;o||(o=this.softwareDecrypter=new mi),o.expandKey(e);var l=n;return this.currentResult=o.decrypt(s.buffer,0,r),this.currentIV=lt(s,-16).buffer,l||null},e.webCryptoDecrypt=function(t,e,r){var i=this;if(this.key!==e||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(t,e,r));this.key=e,this.fastAesKey=new vi(this.subtle,e)}return this.fastAesKey.expandKey().then((function(e){return i.subtle?(i.logOnce("WebCrypto AES decrypt"),new gi(i.subtle,new Uint8Array(r)).decrypt(t.buffer,e)):Promise.reject(new Error("web crypto not initialized"))})).catch((function(n){return w.warn("[decrypter]: WebCrypto Error, disable WebCrypto API, "+n.name+": "+n.message),i.onWebCryptoError(t,e,r)}))},e.onWebCryptoError=function(t,e,r){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,e,r);var i=this.flush();if(i)return i.buffer;throw new Error("WebCrypto and softwareDecrypt: failed to decrypt data")},e.getValidChunk=function(t){var e=t,r=t.length-t.length%16;return r!==t.length&&(e=lt(t,0,r),this.remainderData=lt(t,r)),e},e.logOnce=function(t){this.logEnabled&&(w.log("[decrypter]: "+t),this.logEnabled=!1)},t}(),yi=function(t){for(var e="",r=t.length,i=0;i<r;i++)e+="["+t.start(i).toFixed(3)+"-"+t.end(i).toFixed(3)+"]";return e},Ei="STOPPED",Ti="IDLE",Si="KEY_LOADING",Li="FRAG_LOADING",Ai="FRAG_LOADING_WAITING_RETRY",Ri="WAITING_TRACK",bi="PARSING",ki="PARSED",Di="ENDED",Ii="ERROR",wi="WAITING_INIT_PTS",Ci="WAITING_LEVEL",_i=function(t){function e(e,r,i,n,a){var s;return(s=t.call(this)||this).hls=void 0,s.fragPrevious=null,s.fragCurrent=null,s.fragmentTracker=void 0,s.transmuxer=null,s._state=Ei,s.playlistType=void 0,s.media=null,s.mediaBuffer=null,s.config=void 0,s.bitrateTest=!1,s.lastCurrentTime=0,s.nextLoadPosition=0,s.startPosition=0,s.startTimeOffset=null,s.loadedmetadata=!1,s.retryDate=0,s.levels=null,s.fragmentLoader=void 0,s.keyLoader=void 0,s.levelLastLoaded=null,s.startFragRequested=!1,s.decrypter=void 0,s.initPTS=[],s.onvseeking=null,s.onvended=null,s.logPrefix="",s.log=void 0,s.warn=void 0,s.playlistType=a,s.logPrefix=n,s.log=w.log.bind(w,n+":"),s.warn=w.warn.bind(w,n+":"),s.hls=e,s.fragmentLoader=new hi(e.config),s.keyLoader=i,s.fragmentTracker=r,s.config=e.config,s.decrypter=new pi(e.config),e.on(S.MANIFEST_LOADED,s.onManifestLoaded,function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(s)),s}l(e,t);var r=e.prototype;return r.doTick=function(){this.onTickEnd()},r.onTickEnd=function(){},r.startLoad=function(t){},r.stopLoad=function(){this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);var t=this.fragCurrent;null!=t&&t.loader&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=Ei},r._streamEnded=function(t,e){if(e.live||t.nextStart||!t.end||!this.media)return!1;var r=e.partList;if(null!=r&&r.length){var i=r[r.length-1];return ri.isBuffered(this.media,i.start+i.duration/2)}var n=e.fragments[e.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(n)},r.getLevelDetails=function(){var t;if(this.levels&&null!==this.levelLastLoaded)return null==(t=this.levelLastLoaded)?void 0:t.details},r.onMediaAttached=function(t,e){var r=this.media=this.mediaBuffer=e.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),r.addEventListener("seeking",this.onvseeking),r.addEventListener("ended",this.onvended);var i=this.config;this.levels&&i.autoStartLoad&&this.state===Ei&&this.startLoad(i.startPosition)},r.onMediaDetaching=function(){var t=this.media;null!=t&&t.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),t&&this.onvseeking&&this.onvended&&(t.removeEventListener("seeking",this.onvseeking),t.removeEventListener("ended",this.onvended),this.onvseeking=this.onvended=null),this.keyLoader&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()},r.onMediaSeeking=function(){var t=this.config,e=this.fragCurrent,r=this.media,i=this.mediaBuffer,n=this.state,a=r?r.currentTime:0,s=ri.bufferInfo(i||r,a,t.maxBufferHole);if(this.log("media seeking to "+(y(a)?a.toFixed(3):a)+", state: "+n),this.state===Di)this.resetLoadingState();else if(e){var o=t.maxFragLookUpTolerance,l=e.start-o,u=e.start+e.duration+o;if(!s.len||u<s.start||l>s.end){var h=a>u;(a<l||h)&&(h&&e.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),e.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}r&&(this.fragmentTracker.removeFragmentsInRange(a,1/0,this.playlistType,!0),this.lastCurrentTime=a),this.loadedmetadata||s.len||(this.nextLoadPosition=this.startPosition=a),this.tickImmediate()},r.onMediaEnded=function(){this.startPosition=this.lastCurrentTime=0},r.onManifestLoaded=function(t,e){this.startTimeOffset=e.startTimeOffset,this.initPTS=[]},r.onHandlerDestroying=function(){this.hls.off(S.MANIFEST_LOADED,this.onManifestLoaded,this),this.stopLoad(),t.prototype.onHandlerDestroying.call(this),this.hls=null},r.onHandlerDestroyed=function(){this.state=Ei,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,t.prototype.onHandlerDestroyed.call(this)},r.loadFragment=function(t,e,r){this._loadFragForPlayback(t,e,r)},r._loadFragForPlayback=function(t,e,r){var i=this;this._doFragLoad(t,e,r,(function(e){if(i.fragContextChanged(t))return i.warn("Fragment "+t.sn+(e.part?" p: "+e.part.index:"")+" of level "+t.level+" was dropped during download."),void i.fragmentTracker.removeFragment(t);t.stats.chunkCount++,i._handleFragmentLoadProgress(e)})).then((function(e){if(e){var r=i.state;i.fragContextChanged(t)?(r===Li||!i.fragCurrent&&r===bi)&&(i.fragmentTracker.removeFragment(t),i.state=Ti):("payload"in e&&(i.log("Loaded fragment "+t.sn+" of level "+t.level),i.hls.trigger(S.FRAG_LOADED,e)),i._handleFragmentLoadComplete(e))}})).catch((function(e){i.state!==Ei&&i.state!==Ii&&(i.warn("Frag error: "+((null==e?void 0:e.message)||e)),i.resetFragmentLoading(t))}))},r.clearTrackerIfNeeded=function(t){var e,r=this.fragmentTracker;if(r.getState(t)===zr){var i=t.type,n=this.getFwdBufferInfo(this.mediaBuffer,i),a=Math.max(t.duration,n?n.len:this.config.maxBufferLength),s=this.backtrackFragment;(1==(s?t.sn-s.sn:0)||this.reduceMaxBufferLength(a,t.duration))&&r.removeFragment(t)}else 0===(null==(e=this.mediaBuffer)?void 0:e.buffered.length)?r.removeAllFragments():r.hasParts(t.type)&&(r.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),r.getState(t)===Qr&&r.removeFragment(t))},r.checkLiveUpdate=function(t){if(t.updated&&!t.live){var e=t.fragments[t.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:e,part:null,stats:e.stats,id:e.type})}t.fragments[0]||(t.deltaUpdateFailed=!0)},r.flushMainBuffer=function(t,e,r){if(void 0===r&&(r=null),t-e){var i={startOffset:t,endOffset:e,type:r};this.hls.trigger(S.BUFFER_FLUSHING,i)}},r._loadInitSegment=function(t,e){var r=this;this._doFragLoad(t,e).then((function(e){if(!e||r.fragContextChanged(t)||!r.levels)throw new Error("init load aborted");return e})).then((function(e){var i=r.hls,n=e.payload,a=t.decryptdata;if(n&&n.byteLength>0&&null!=a&&a.key&&a.iv&&"AES-128"===a.method){var s=self.performance.now();return r.decrypter.decrypt(new Uint8Array(n),a.key.buffer,a.iv.buffer).catch((function(e){throw i.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.FRAG_DECRYPT_ERROR,fatal:!1,error:e,reason:e.message,frag:t}),e})).then((function(n){var a=self.performance.now();return i.trigger(S.FRAG_DECRYPTED,{frag:t,payload:n,stats:{tstart:s,tdecrypt:a}}),e.payload=n,r.completeInitSegmentLoad(e)}))}return r.completeInitSegmentLoad(e)})).catch((function(e){r.state!==Ei&&r.state!==Ii&&(r.warn(e),r.resetFragmentLoading(t))}))},r.completeInitSegmentLoad=function(t){if(!this.levels)throw new Error("init load aborted, missing levels");var e=t.frag.stats;this.state=Ti,t.frag.data=new Uint8Array(t.payload),e.parsing.start=e.buffering.start=self.performance.now(),e.parsing.end=e.buffering.end=self.performance.now(),this.tick()},r.fragContextChanged=function(t){var e=this.fragCurrent;return!t||!e||t.sn!==e.sn||t.level!==e.level},r.fragBufferedComplete=function(t,e){var r,i,n,a,s=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log("Buffered "+t.type+" sn: "+t.sn+(e?" part: "+e.index:"")+" of "+(this.playlistType===Fe?"level":"track")+" "+t.level+" (frag:["+(null!=(r=t.startPTS)?r:NaN).toFixed(3)+"-"+(null!=(i=t.endPTS)?i:NaN).toFixed(3)+"] > buffer:"+(s?yi(ri.getBuffered(s)):"(detached)")+")"),"initSegment"!==t.sn){var o;if(t.type!==Oe){var l=t.elementaryStreams;if(!Object.keys(l).some((function(t){return!!l[t]})))return void(this.state=Ti)}var u=null==(o=this.levels)?void 0:o[t.level];null!=u&&u.fragmentError&&(this.log("Resetting level fragment error count of "+u.fragmentError+" on frag buffered"),u.fragmentError=0)}this.state=Ti,s&&(!this.loadedmetadata&&t.type==Fe&&s.buffered.length&&(null==(n=this.fragCurrent)?void 0:n.sn)===(null==(a=this.fragPrevious)?void 0:a.sn)&&(this.loadedmetadata=!0,this.seekToStartPos()),this.tick())},r.seekToStartPos=function(){},r._handleFragmentLoadComplete=function(t){var e=this.transmuxer;if(e){var r=t.frag,i=t.part,n=t.partsLoaded,a=!n||0===n.length||n.some((function(t){return!t})),s=new ii(r.level,r.sn,r.stats.chunkCount+1,0,i?i.index:-1,!a);e.flush(s)}},r._handleFragmentLoadProgress=function(t){},r._doFragLoad=function(t,e,r,i){var n,a=this;void 0===r&&(r=null);var s=null==e?void 0:e.details;if(!this.levels||!s)throw new Error("frag load aborted, missing level"+(s?"":" detail")+"s");var o=null;if(!t.encrypted||null!=(n=t.decryptdata)&&n.key?!t.encrypted&&s.encryptedFragments.length&&this.keyLoader.loadClear(t,s.encryptedFragments):(this.log("Loading key for "+t.sn+" of ["+s.startSN+"-"+s.endSN+"], "+("[stream-controller]"===this.logPrefix?"level":"track")+" "+t.level),this.state=Si,this.fragCurrent=t,o=this.keyLoader.load(t).then((function(t){if(!a.fragContextChanged(t.frag))return a.hls.trigger(S.KEY_LOADED,t),a.state===Si&&(a.state=Ti),t})),this.hls.trigger(S.KEY_LOADING,{frag:t}),null===this.fragCurrent&&(o=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))),r=Math.max(t.start,r||0),this.config.lowLatencyMode&&"initSegment"!==t.sn){var l=s.partList;if(l&&i){r>t.end&&s.fragmentHint&&(t=s.fragmentHint);var u=this.getNextPart(l,t,r);if(u>-1){var h,d=l[u];return this.log("Loading part sn: "+t.sn+" p: "+d.index+" cc: "+t.cc+" of playlist ["+s.startSN+"-"+s.endSN+"] parts [0-"+u+"-"+(l.length-1)+"] "+("[stream-controller]"===this.logPrefix?"level":"track")+": "+t.level+", target: "+parseFloat(r.toFixed(3))),this.nextLoadPosition=d.start+d.duration,this.state=Li,h=o?o.then((function(r){return!r||a.fragContextChanged(r.frag)?null:a.doFragPartsLoad(t,d,e,i)})).catch((function(t){return a.handleFragLoadError(t)})):this.doFragPartsLoad(t,d,e,i).catch((function(t){return a.handleFragLoadError(t)})),this.hls.trigger(S.FRAG_LOADING,{frag:t,part:d,targetBufferTime:r}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):h}if(!t.url||this.loadedEndOfParts(l,r))return Promise.resolve(null)}}this.log("Loading fragment "+t.sn+" cc: "+t.cc+" "+(s?"of ["+s.startSN+"-"+s.endSN+"] ":"")+("[stream-controller]"===this.logPrefix?"level":"track")+": "+t.level+", target: "+parseFloat(r.toFixed(3))),y(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Li;var c,f=this.config.progressive;return c=f&&o?o.then((function(e){return!e||a.fragContextChanged(null==e?void 0:e.frag)?null:a.fragmentLoader.load(t,i)})).catch((function(t){return a.handleFragLoadError(t)})):Promise.all([this.fragmentLoader.load(t,f?i:void 0),o]).then((function(t){var e=t[0];return!f&&e&&i&&i(e),e})).catch((function(t){return a.handleFragLoadError(t)})),this.hls.trigger(S.FRAG_LOADING,{frag:t,targetBufferTime:r}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):c},r.doFragPartsLoad=function(t,e,r,i){var n=this;return new Promise((function(a,s){var o,l=[],u=null==(o=r.details)?void 0:o.partList;!function e(o){n.fragmentLoader.loadPart(t,o,i).then((function(i){l[o.index]=i;var s=i.part;n.hls.trigger(S.FRAG_LOADED,i);var h=gr(r,t.sn,o.index+1)||vr(u,t.sn,o.index+1);if(!h)return a({frag:t,part:s,partsLoaded:l});e(h)})).catch(s)}(e)}))},r.handleFragLoadError=function(t){if("data"in t){var e=t.data;t.data&&e.details===A.INTERNAL_ABORTED?this.handleFragLoadAborted(e.frag,e.part):this.hls.trigger(S.ERROR,e)}else this.hls.trigger(S.ERROR,{type:L.OTHER_ERROR,details:A.INTERNAL_EXCEPTION,err:t,error:t,fatal:!0});return null},r._handleTransmuxerFlush=function(t){var e=this.getCurrentContext(t);if(e&&this.state===bi){var r=e.frag,i=e.part,n=e.level,a=self.performance.now();r.stats.parsing.end=a,i&&(i.stats.parsing.end=a),this.updateLevelTiming(r,i,n,t.partial)}else this.fragCurrent||this.state===Ei||this.state===Ii||(this.state=Ti)},r.getCurrentContext=function(t){var e=this.levels,r=this.fragCurrent,i=t.level,n=t.sn,a=t.part;if(null==e||!e[i])return this.warn("Levels object was unset while buffering fragment "+n+" of level "+i+". The current chunk will not be buffered."),null;var s=e[i],o=a>-1?gr(s,n,a):null,l=o?o.fragment:function(t,e,r){if(null==t||!t.details)return null;var i=t.details,n=i.fragments[e-i.startSN];return n||((n=i.fragmentHint)&&n.sn===e?n:e<i.startSN&&r&&r.sn===e?r:null)}(s,n,r);return l?(r&&r!==l&&(l.stats=r.stats),{frag:l,part:o,level:s}):null},r.bufferFragmentData=function(t,e,r,i,n){var a;if(t&&this.state===bi){var s=t.data1,o=t.data2,l=s;if(s&&o&&(l=Wt(s,o)),null!=(a=l)&&a.length){var u={type:t.type,frag:e,part:r,chunkMeta:i,parent:e.type,data:l};if(this.hls.trigger(S.BUFFER_APPENDING,u),t.dropped&&t.independent&&!r){if(n)return;this.flushBufferGap(e)}}}},r.flushBufferGap=function(t){var e=this.media;if(e)if(ri.isBuffered(e,e.currentTime)){var r=e.currentTime,i=ri.bufferInfo(e,r,0),n=t.duration,a=Math.min(2*this.config.maxFragLookUpTolerance,.25*n),s=Math.max(Math.min(t.start-a,i.end-a),r+a);t.start-s>a&&this.flushMainBuffer(s,t.start)}else this.flushMainBuffer(0,t.start)},r.getFwdBufferInfo=function(t,e){var r=this.getLoadPosition();return y(r)?this.getFwdBufferInfoAtPos(t,r,e):null},r.getFwdBufferInfoAtPos=function(t,e,r){var i=this.config.maxBufferHole,n=ri.bufferInfo(t,e,i);if(0===n.len&&void 0!==n.nextStart){var a=this.fragmentTracker.getBufferedFrag(e,r);if(a&&n.nextStart<a.end)return ri.bufferInfo(t,e,Math.max(n.nextStart,i))}return n},r.getMaxBufferLength=function(t){var e,r=this.config;return e=t?Math.max(8*r.maxBufferSize/t,r.maxBufferLength):r.maxBufferLength,Math.min(e,r.maxMaxBufferLength)},r.reduceMaxBufferLength=function(t,e){var r=this.config,i=Math.max(Math.min(t-e,r.maxBufferLength),e),n=Math.max(t-3*e,r.maxMaxBufferLength/2,i);return n>=i&&(r.maxMaxBufferLength=n,this.warn("Reduce max buffer length to "+n+"s"),!0)},r.getAppendedFrag=function(t,e){var r=this.fragmentTracker.getAppendedFrag(t,Fe);return r&&"fragment"in r?r.fragment:r},r.getNextFragment=function(t,e){var r=e.fragments,i=r.length;if(!i)return null;var n,a=this.config,s=r[0].start;if(e.live){var o=a.initialLiveManifestSize;if(i<o)return this.warn("Not enough fragments to start playback (have: "+i+", need: "+o+")"),null;(!e.PTSKnown&&!this.startFragRequested&&-1===this.startPosition||t<s)&&(n=this.getInitialLiveFragment(e,r),this.startPosition=this.nextLoadPosition=n?this.hls.liveSyncPosition||n.start:t)}else t<=s&&(n=r[0]);if(!n){var l=a.lowLatencyMode?e.partEnd:e.fragmentEnd;n=this.getFragmentAtPosition(t,l,e)}return this.mapToInitFragWhenRequired(n)},r.isLoopLoading=function(t,e){var r=this.fragmentTracker.getState(t);return(r===Jr||r===Qr&&!!t.gap)&&this.nextLoadPosition>e},r.getNextFragmentLoopLoading=function(t,e,r,i,n){var a=t.gap,s=this.getNextFragment(this.nextLoadPosition,e);if(null===s)return s;if(t=s,a&&t&&!t.gap&&r.nextStart){var o=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,r.nextStart,i);if(null!==o&&r.len+o.len>=n)return this.log('buffer full after gaps in "'+i+'" playlist starting at sn: '+t.sn),null}return t},r.mapToInitFragWhenRequired=function(t){return null==t||!t.initSegment||null!=t&&t.initSegment.data||this.bitrateTest?t:t.initSegment},r.getNextPart=function(t,e,r){for(var i=-1,n=!1,a=!0,s=0,o=t.length;s<o;s++){var l=t[s];if(a=a&&!l.independent,i>-1&&r<l.start)break;var u=l.loaded;u?i=-1:(n||l.independent||a)&&l.fragment===e&&(i=s),n=u}return i},r.loadedEndOfParts=function(t,e){var r=t[t.length-1];return r&&e>r.start&&r.loaded},r.getInitialLiveFragment=function(t,e){var r=this.fragPrevious,i=null;if(r){if(t.hasProgramDateTime&&(this.log("Live playlist, switching playlist, load frag with same PDT: "+r.programDateTime),i=function(t,e,r){if(null===e||!Array.isArray(t)||!t.length||!y(e))return null;if(e<(t[0].programDateTime||0))return null;if(e>=(t[t.length-1].endProgramDateTime||0))return null;r=r||0;for(var i=0;i<t.length;++i){var n=t[i];if(br(e,r,n))return n}return null}(e,r.endProgramDateTime,this.config.maxFragLookUpTolerance)),!i){var n=r.sn+1;if(n>=t.startSN&&n<=t.endSN){var a=e[n-t.startSN];r.cc===a.cc&&(i=a,this.log("Live playlist, switching playlist, load frag with next SN: "+i.sn))}i||(i=function(t,e){return Lr(t,(function(t){return t.cc<e?1:t.cc>e?-1:0}))}(e,r.cc),i&&this.log("Live playlist, switching playlist, load frag with same CC: "+i.sn))}}else{var s=this.hls.liveSyncPosition;null!==s&&(i=this.getFragmentAtPosition(s,this.bitrateTest?t.fragmentEnd:t.edge,t))}return i},r.getFragmentAtPosition=function(t,e,r){var i,n=this.config,a=this.fragPrevious,s=r.fragments,o=r.endSN,l=r.fragmentHint,u=n.maxFragLookUpTolerance,h=r.partList,d=!!(n.lowLatencyMode&&null!=h&&h.length&&l);if(d&&l&&!this.bitrateTest&&(s=s.concat(l),o=l.sn),i=t<e?Ar(a,s,t,t>e-u?0:u):s[s.length-1]){var c=i.sn-r.startSN,f=this.fragmentTracker.getState(i);if((f===Jr||f===Qr&&i.gap)&&(a=i),a&&i.sn===a.sn&&(!d||h[0].fragment.sn>i.sn)&&a&&i.level===a.level){var g=s[c+1];i=i.sn<o&&this.fragmentTracker.getState(g)!==Jr?g:null}}return i},r.synchronizeToLiveEdge=function(t){var e=this.config,r=this.media;if(r){var i=this.hls.liveSyncPosition,n=r.currentTime,a=t.fragments[0].start,s=t.edge,o=n>=a-e.maxFragLookUpTolerance&&n<=s;if(null!==i&&r.duration>i&&(n<i||!o)){var l=void 0!==e.liveMaxLatencyDuration?e.liveMaxLatencyDuration:e.liveMaxLatencyDurationCount*t.targetduration;(!o&&r.readyState<4||n<s-l)&&(this.loadedmetadata||(this.nextLoadPosition=i),r.readyState&&(this.warn("Playback: "+n.toFixed(3)+" is located too far from the end of live sliding playlist: "+s+", reset currentTime to : "+i.toFixed(3)),r.currentTime=i))}}},r.alignPlaylists=function(t,e,r){var i=t.fragments.length;if(!i)return this.warn("No fragments in live playlist"),0;var n=t.fragments[0].start,a=!e,s=t.alignedSliding&&y(n);if(a||!s&&!n){var o=this.fragPrevious;oi(o,r,t);var l=t.fragments[0].start;return this.log("Live playlist sliding: "+l.toFixed(2)+" start-sn: "+(e?e.startSN:"na")+"->"+t.startSN+" prev-sn: "+(o?o.sn:"na")+" fragments: "+i),l}return n},r.waitForCdnTuneIn=function(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,3*t.partTarget)},r.setStartPosition=function(t,e){var r=this.startPosition;if(r<e&&(r=-1),-1===r||-1===this.lastCurrentTime){var i=null!==this.startTimeOffset,n=i?this.startTimeOffset:t.startTimeOffset;null!==n&&y(n)?(r=e+n,n<0&&(r+=t.totalduration),r=Math.min(Math.max(e,r),e+t.totalduration),this.log("Start time offset "+n+" found in "+(i?"multivariant":"media")+" playlist, adjust startPosition to "+r),this.startPosition=r):t.live?r=this.hls.liveSyncPosition||e:this.startPosition=r=0,this.lastCurrentTime=r}this.nextLoadPosition=r},r.getLoadPosition=function(){var t=this.media,e=0;return this.loadedmetadata&&t?e=t.currentTime:this.nextLoadPosition&&(e=this.nextLoadPosition),e},r.handleFragLoadAborted=function(t,e){this.transmuxer&&"initSegment"!==t.sn&&t.stats.aborted&&(this.warn("Fragment "+t.sn+(e?" part "+e.index:"")+" of level "+t.level+" was aborted"),this.resetFragmentLoading(t))},r.resetFragmentLoading=function(t){this.fragCurrent&&(this.fragContextChanged(t)||this.state===Ai)||(this.state=Ti)},r.onFragmentOrKeyLoadError=function(t,e){if(e.chunkMeta&&!e.frag){var r=this.getCurrentContext(e.chunkMeta);r&&(e.frag=r.frag)}var i=e.frag;if(i&&i.type===t&&this.levels)if(this.fragContextChanged(i)){var n;this.warn("Frag load error must match current frag to retry "+i.url+" > "+(null==(n=this.fragCurrent)?void 0:n.url))}else{var a=e.details===A.FRAG_GAP;a&&this.fragmentTracker.fragBuffered(i,!0);var s=e.errorAction,o=s||{},l=o.action,u=o.retryCount,h=void 0===u?0:u,d=o.retryConfig;if(s&&l===wr&&d){this.resetStartWhenNotLoaded(this.levelLastLoaded);var c=Er(d,h);this.warn("Fragment "+i.sn+" of "+t+" "+i.level+" errored with "+e.details+", retrying loading "+(h+1)+"/"+d.maxNumRetry+" in "+c+"ms"),s.resolved=!0,this.retryDate=self.performance.now()+c,this.state=Ai}else if(d&&s){if(this.resetFragmentErrors(t),!(h<d.maxNumRetry))return void w.warn(e.details+" reached or exceeded max retry ("+h+")");a||l===Ir||(s.resolved=!0)}else(null==s?void 0:s.action)===Dr?this.state=Ci:this.state=Ii;this.tickImmediate()}},r.reduceLengthAndFlushBuffer=function(t){if(this.state===bi||this.state===ki){var e=t.frag,r=t.parent,i=this.getFwdBufferInfo(this.mediaBuffer,r),n=i&&i.len>.5;n&&this.reduceMaxBufferLength(i.len,(null==e?void 0:e.duration)||10);var a=!n;return a&&this.warn("Buffer full error while media.currentTime is not buffered, flush "+r+" buffer"),e&&(this.fragmentTracker.removeFragment(e),this.nextLoadPosition=e.start),this.resetLoadingState(),a}return!1},r.resetFragmentErrors=function(t){t===Me&&(this.fragCurrent=null),this.loadedmetadata||(this.startFragRequested=!1),this.state!==Ei&&(this.state=Ti)},r.afterBufferFlushed=function(t,e,r){if(t){var i=ri.getBuffered(t);this.fragmentTracker.detectEvictedFragments(e,i,r),this.state===Di&&this.resetLoadingState()}},r.resetLoadingState=function(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state=Ti},r.resetStartWhenNotLoaded=function(t){if(!this.loadedmetadata){this.startFragRequested=!1;var e=t?t.details:null;null!=e&&e.live?(this.startPosition=-1,this.setStartPosition(e,0),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}},r.resetWhenMissingContext=function(t){this.warn("The loading context changed while buffering fragment "+t.sn+" of level "+t.level+". This chunk will not be buffered."),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()},r.removeUnbufferedFrags=function(t){void 0===t&&(t=0),this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)},r.updateLevelTiming=function(t,e,r,i){var n,a=this,s=r.details;if(s){if(!Object.keys(t.elementaryStreams).reduce((function(e,n){var o=t.elementaryStreams[n];if(o){var l=o.endPTS-o.startPTS;if(l<=0)return a.warn("Could not parse fragment "+t.sn+" "+n+" duration reliably ("+l+")"),e||!1;var u=i?0:hr(s,t,o.startPTS,o.endPTS,o.startDTS,o.endDTS);return a.hls.trigger(S.LEVEL_PTS_UPDATED,{details:s,level:r,drift:u,type:n,frag:t,start:o.startPTS,end:o.endPTS}),!0}return e}),!1)&&null===(null==(n=this.transmuxer)?void 0:n.error)){var o=new Error("Found no media in fragment "+t.sn+" of level "+t.level+" resetting transmuxer to fallback to playlist timing");if(0===r.fragmentError&&(r.fragmentError++,t.gap=!0,this.fragmentTracker.removeFragment(t),this.fragmentTracker.fragBuffered(t,!0)),this.warn(o.message),this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.FRAG_PARSING_ERROR,fatal:!1,error:o,frag:t,reason:"Found no media in msn "+t.sn+' of level "'+r.url+'"'}),!this.hls)return;this.resetTransmuxer()}this.state=ki,this.hls.trigger(S.FRAG_PARSED,{frag:t,part:e})}else this.warn("level.details undefined")},r.resetTransmuxer=function(){this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null)},r.recoverWorkerError=function(t){"demuxerWorker"===t.event&&(this.fragmentTracker.removeAllFragments(),this.resetTransmuxer(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())},s(e,[{key:"state",get:function(){return this._state},set:function(t){var e=this._state;e!==t&&(this._state=t,this.log(e+"->"+t))}}]),e}(qr),xi=function(){function t(){this.chunks=[],this.dataLength=0}var e=t.prototype;return e.push=function(t){this.chunks.push(t),this.dataLength+=t.length},e.flush=function(){var t,e=this.chunks,r=this.dataLength;return e.length?(t=1===e.length?e[0]:function(t,e){for(var r=new
vendor: 3,803 bytes, line 30
30Uint8Array(e),i=0,n=0;n<t.length;n++){var a=t[n];r.set(a,i),i+=a.length}return r}(e,r),this.reset(),t):new Uint8Array(0)},e.reset=function(){this.chunks.length=0,this.dataLength=0},t}();function Pi(t,e){return void 0===t&&(t=""),void 0===e&&(e=9e4),{type:t,id:-1,pid:-1,inputTimeScale:e,sequenceNumber:-1,samples:[],dropped:0}}var Fi=function(){function t(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}var e=t.prototype;return e.resetInitSegment=function(t,e,r,i){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}},e.resetTimeStamp=function(t){this.initPTS=t,this.resetContiguity()},e.resetContiguity=function(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0},e.canParse=function(t,e){return!1},e.appendFrame=function(t,e,r){},e.demux=function(t,e){this.cachedData&&(t=Wt(this.cachedData,t),this.cachedData=null);var r,i=ct(t,0),n=i?i.length:0,a=this._audioTrack,s=this._id3Track,o=i?vt(i):void 0,l=t.length;for((null===this.basePTS||0===this.frameIndex&&y(o))&&(this.basePTS=Mi(o,e,this.initPTS),this.lastPTS=this.basePTS),null===this.lastPTS&&(this.lastPTS=this.basePTS),i&&i.length>0&&s.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:i,type:We,duration:Number.POSITIVE_INFINITY});n<l;){if(this.canParse(t,n)){var u=this.appendFrame(a,t,n);u?(this.frameIndex++,this.lastPTS=u.sample.pts,r=n+=u.length):n=l}else gt(t,n)?(i=ct(t,n),s.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:i,type:We,duration:Number.POSITIVE_INFINITY}),r=n+=i.length):n++;if(n===l&&r!==l){var h=lt(t,r);this.cachedData?this.cachedData=Wt(this.cachedData,h):this.cachedData=h}}return{audioTrack:a,videoTrack:Pi(),id3Track:s,textTrack:Pi()}},e.demuxSampleAes=function(t,e,r){return Promise.reject(new Error("["+this+"] This demuxer does not support Sample-AES decryption"))},e.flush=function(t){var e=this.cachedData;return e&&(this.cachedData=null,this.demux(e,0)),{audioTrack:this._audioTrack,videoTrack:Pi(),id3Track:this._id3Track,textTrack:Pi()}},e.destroy=function(){},t}(),Mi=function(t,e,r){return y(t)?90*t:9e4*e+(r?9e4*r.baseTime/r.timescale:0)};function Oi(t,e){return 255===t[e]&&240==(246&t[e+1])}function Ni(t,e){return 1&t[e+1]?7:9}function Ui(t,e){return(3&t[e+3])<<11|t[e+4]<<3|(224&t[e+5])>>>5}function Bi(t,e){return e+1<t.length&&Oi(t,e)}function Gi(t,e){if(Bi(t,e)){var r=Ni(t,e);if(e+r>=t.length)return!1;var i=Ui(t,e);if(i<=r)return!1;var n=e+i;return n===t.length||Bi(t,n)}return!1}function Ki(t,e,r,i,n){if(!t.samplerate){var a=function(t,e,r,i){var n,a,s,o,l=navigator.userAgent.toLowerCase(),u=i,h=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];n=1+((192&e[r+2])>>>6);var d=(60&e[r+2])>>>2;if(!(d>h.length-1))return s=(1&e[r+2])<<2,s|=(192&e[r+3])>>>6,w.log("manifest codec:"+i+", ADTS type:"+n+", samplingIndex:"+d),/firefox/i.test(l)?d>=6?(n=5,o=new Array(4),a=d-3):(n=2,o=new Array(2),a=d):-1!==l.indexOf("android")?(n=2,o=new Array(2),a=d):(n=5,o=new Array(4),i&&(-1!==i.indexOf("mp4a.40.29")||-1!==i.indexOf("mp4a.40.5"))||!i&&d>=6?a=d-3:((i&&-1!==i.indexOf("mp4a.40.2")&&(d>=6&&1===s||/vivaldi/i.test(l))||!i&&1===s)&&(n=2,o=new Array(2)),a=d)),o[0]=n<<3,o[0]|=(14&d)>>1,o[1]|=(1&d)<<7,o[1]|=s<<3,5===n&&(o[1]|=(14&a)>>1,o[2]=(1&a)<<7,o[2]|=8,o[3]=0),{config:o,samplerate:h[d],channelCount:s,codec:"mp4a.40."+n,manifestCodec:u};var c=new Error("invalid ADTS sampling index:"+d);t.emit(S.ERROR,S.ERROR,{type:L.MEDIA_ERROR,details:A.FRAG_PARSING_ERROR,fatal:!0,error:c,reason:c.message})}(e,r,i,n);if(!a)return;t.config=a.config,t.samplerate=a.samplerate,t.channelCount=a.channelCount,t.codec=a.codec,t.manifestCodec=a.manifestCodec,w.log("parsed codec:"+t.codec+", rate:"+a.samplerate+", channels:"+a.channelCount)}
vendor: 4,648 bytes, line 30
30}function Hi(t){return 9216e4/t}function Vi(t,e,r,i,n){var a,s=i+n*Hi(t.samplerate),o=function(t,e){var r=Ni(t,e);if(e+r<=t.length){var i=Ui(t,e)-r;if(i>0)return{headerLength:r,frameLength:i}}}(e,r);if(o){var l=o.frameLength,u=o.headerLength,h=u+l,d=Math.max(0,r+h-e.length);d?(a=new Uint8Array(h-u)).set(e.subarray(r+u,e.length),0):a=e.subarray(r+u,r+h);var c={unit:a,pts:s};return d||t.samples.push(c),{sample:c,length:h,missing:d}}var f=e.length-r;return(a=new Uint8Array(f)).set(e.subarray(r,e.length),0),{sample:{unit:a,pts:s},length:f,missing:-1}}var Yi=null,Wi=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],ji=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],qi=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Xi=[0,1,1,4];function zi(t,e,r,i,n){if(!(r+24>e.length)){var a=Qi(e,r);if(a&&r+a.frameLength<=e.length){var s=i+n*(9e4*a.samplesPerFrame/a.sampleRate),o={unit:e.subarray(r,r+a.frameLength),pts:s,dts:s};return t.config=[],t.channelCount=a.channelCount,t.samplerate=a.sampleRate,t.samples.push(o),{sample:o,length:a.frameLength,missing:0}}}}function Qi(t,e){var r=t[e+1]>>3&3,i=t[e+1]>>1&3,n=t[e+2]>>4&15,a=t[e+2]>>2&3;if(1!==r&&0!==n&&15!==n&&3!==a){var s=t[e+2]>>1&1,o=t[e+3]>>6,l=1e3*Wi[14*(3===r?3-i:3===i?3:4)+n-1],u=ji[3*(3===r?0:2===r?1:2)+a],h=3===o?1:2,d=qi[r][i],c=Xi[i],f=8*d*c,g=Math.floor(d*l/u+s)*c;if(null===Yi){var v=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Yi=v?parseInt(v[1]):0}return!!Yi&&Yi<=87&&2===i&&l>=224e3&&0===o&&(t[e+3]=128|t[e+3]),{sampleRate:u,channelCount:h,frameLength:g,samplesPerFrame:f}}}function Ji(t,e){return 255===t[e]&&224==(224&t[e+1])&&0!=(6&t[e+1])}function $i(t,e){return e+1<t.length&&Ji(t,e)}function Zi(t,e){if(e+1<t.length&&Ji(t,e)){var r=Qi(t,e),i=4;null!=r&&r.frameLength&&(i=r.frameLength);var n=e+i;return n===t.length||$i(t,n)}return!1}var tn=function(t){function e(e,r){var i;return(i=t.call(this)||this).observer=void 0,i.config=void 0,i.observer=e,i.config=r,i}l(e,t);var r=e.prototype;return r.resetInitSegment=function(e,r,i,n){t.prototype.resetInitSegment.call(this,e,r,i,n),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:r,duration:n,inputTimeScale:9e4,dropped:0}},e.probe=function(t){if(!t)return!1;var e=ct(t,0),r=(null==e?void 0:e.length)||0;if(Zi(t,r))return!1;for(var i=t.length;r<i;r++)if(Gi(t,r))return w.log("ADTS sync word found !"),!0;return!1},r.canParse=function(t,e){return function(t,e){return function(t,e){return e+5<t.length}(t,e)&&Oi(t,e)&&Ui(t,e)<=t.length-e}(t,e)},r.appendFrame=function(t,e,r){Ki(t,this.observer,e,r,t.manifestCodec);var i=Vi(t,e,r,this.basePTS,this.frameIndex);if(i&&0===i.missing)return i},e}(Fi),en=/\/emsg[-/]ID3/i,rn=function(){function t(t,e){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=e}var e=t.prototype;return e.resetTimeStamp=function(){},e.resetInitSegment=function(t,e,r,i){var n=this.videoTrack=Pi("video",1),a=this.audioTrack=Pi("audio",1),s=this.txtTrack=Pi("text",1);if(this.id3Track=Pi("id3",1),this.timeOffset=0,null!=t&&t.byteLength){var o=Ut(t);if(o.video){var l=o.video,u=l.id,h=l.timescale,d=l.codec;n.id=u,n.timescale=s.timescale=h,n.codec=d}if(o.audio){var c=o.audio,f=c.id,g=c.timescale,v=c.codec;a.id=f,a.timescale=g,a.codec=v}s.id=wt.text,n.sampleDuration=0,n.duration=a.duration=i}},e.resetContiguity=function(){this.remainderData=null},t.probe=function(t){return function(t){for(var e=t.byteLength,r=0;r<e;){var i=xt(t,r);if(i>8&&109===t[r+4]&&111===t[r+5]&&111===t[r+6]&&102===t[r+7])return!0;r=i>1?r+i:e}return!1}(t)},e.demux=function(t,e){this.timeOffset=e;var r=t,i=this.videoTrack,n=this.txtTrack;if(this.config.progressive){this.remainderData&&(r=Wt(this.remainderData,t));var a=function(t){var e={valid:null,remainder:null},r=Ot(t,["moof"]);if(r.length<2)return e.remainder=t,e;var i=r[r.length-1];return e.valid=lt(t,0,i.byteOffset-8),e.remainder=lt(t,i.byteOffset-8),e}(r);this.remainderData=a.remainder,i.samples=a.valid||new Uint8Array}else i.samples=r;var s=this.extractID3Track(i,e);return n.samples=jt(e,i),{videoTrack:i,audioTrack:this.audioTrack,id3Track:s,textTrack:this.txtTrack}},e.flush=function(){var t=this.timeOffset,e=this.videoTrack,r=this.txtTrack;e.samples=this.remainderData||new Uint8Array,this.remainderData=null;var i=this.extractID3Track(e,this.timeOffset);
vendor: 8,250 bytes, line 30
30return r.samples=jt(t,e),{videoTrack:e,audioTrack:Pi(),id3Track:i,textTrack:Pi()}},e.extractID3Track=function(t,e){var r=this.id3Track;if(t.samples.length){var i=Ot(t.samples,["emsg"]);i&&i.forEach((function(t){var i=function(t){var e=t[0],r="",i="",n=0,a=0,s=0,o=0,l=0,u=0;if(0===e){for(;"\0"!==Ct(t.subarray(u,u+1));)r+=Ct(t.subarray(u,u+1)),u+=1;for(r+=Ct(t.subarray(u,u+1)),u+=1;"\0"!==Ct(t.subarray(u,u+1));)i+=Ct(t.subarray(u,u+1)),u+=1;i+=Ct(t.subarray(u,u+1)),u+=1,n=xt(t,12),a=xt(t,16),o=xt(t,20),l=xt(t,24),u=28}else if(1===e){n=xt(t,u+=4);var h=xt(t,u+=4),d=xt(t,u+=4);for(u+=4,s=Math.pow(2,32)*h+d,E(s)||(s=Number.MAX_SAFE_INTEGER,w.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),o=xt(t,u),l=xt(t,u+=4),u+=4;"\0"!==Ct(t.subarray(u,u+1));)r+=Ct(t.subarray(u,u+1)),u+=1;for(r+=Ct(t.subarray(u,u+1)),u+=1;"\0"!==Ct(t.subarray(u,u+1));)i+=Ct(t.subarray(u,u+1)),u+=1;i+=Ct(t.subarray(u,u+1)),u+=1}return{schemeIdUri:r,value:i,timeScale:n,presentationTime:s,presentationTimeDelta:a,eventDuration:o,id:l,payload:t.subarray(u,t.byteLength)}}(t);if(en.test(i.schemeIdUri)){var n=y(i.presentationTime)?i.presentationTime/i.timeScale:e+i.presentationTimeDelta/i.timeScale,a=4294967295===i.eventDuration?Number.POSITIVE_INFINITY:i.eventDuration/i.timeScale;a<=.001&&(a=Number.POSITIVE_INFINITY);var s=i.payload;r.samples.push({data:s,len:s.byteLength,dts:n,pts:n,type:qe,duration:a})}}))}return r},e.demuxSampleAes=function(t,e,r){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))},e.destroy=function(){},t}(),nn=function(t,e){var r=0,i=5;e+=i;for(var n=new Uint32Array(1),a=new Uint32Array(1),s=new Uint8Array(1);i>0;){s[0]=t[e];var o=Math.min(i,8),l=8-o;a[0]=4278190080>>>24+l<<l,n[0]=(s[0]&a[0])>>l,r=r?r<<o|n[0]:n[0],e+=1,i-=o}return r},an=function(t){function e(e){var r;return(r=t.call(this)||this).observer=void 0,r.observer=e,r}l(e,t);var r=e.prototype;return r.resetInitSegment=function(e,r,i,n){t.prototype.resetInitSegment.call(this,e,r,i,n),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:r,duration:n,inputTimeScale:9e4,dropped:0}},r.canParse=function(t,e){return e+64<t.length},r.appendFrame=function(t,e,r){var i=sn(t,e,r,this.basePTS,this.frameIndex);if(-1!==i)return{sample:t.samples[t.samples.length-1],length:i,missing:0}},e.probe=function(t){if(!t)return!1;var e=ct(t,0);if(!e)return!1;var r=e.length;return 11===t[r]&&119===t[r+1]&&void 0!==vt(e)&&nn(t,r)<16},e}(Fi);function sn(t,e,r,i,n){if(r+8>e.length)return-1;if(11!==e[r]||119!==e[r+1])return-1;var a=e[r+4]>>6;if(a>=3)return-1;var s=[48e3,44100,32e3][a],o=63&e[r+4],l=2*[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][3*o+a];if(r+l>e.length)return-1;var u=e[r+6]>>5,h=0;2===u?h+=2:(1&u&&1!==u&&(h+=2),4&u&&(h+=2));var d=(e[r+6]<<8|e[r+7])>>12-h&1,c=[2,1,2,3,3,4,4,5][u]+d,f=e[r+5]>>3,g=7&e[r+5],v=new Uint8Array([a<<6|f<<1|g>>2,(3&g)<<6|u<<3|d<<2|o>>4,o<<4&224]),m=i+n*(1536/s*9e4),p=e.subarray(r,r+l);return t.config=v,t.channelCount=c,t.samplerate=s,t.samples.push({unit:p,pts:m}),l}var on=function(){function t(){this.VideoSample=null}var e=t.prototype;return e.createVideoSample=function(t,e,r,i){return{key:t,frame:!1,pts:e,dts:r,units:[],debug:i,length:0}},e.getLastNalUnit=function(t){var e,r,i=this.VideoSample;if(i&&0!==i.units.length||(i=t[t.length-1]),null!=(e=i)&&e.units){var n=i.units;r=n[n.length-1]}return r},e.pushAccessUnit=function(t,e){if(t.units.length&&t.frame){if(void 0===t.pts){var r=e.samples,i=r.length;if(!i)return void e.dropped++;var n=r[i-1];t.pts=n.pts,t.dts=n.dts}e.samples.push(t)}t.debug.length&&w.log(t.pts+"/"+t.dts+":"+t.debug)},t}(),ln=function(){function t(t){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=t,this.bytesAvailable=t.byteLength,this.word=0,this.bitsAvailable=0}var e=t.prototype;return e.loadWord=function(){var t=this.data,e=this.bytesAvailable,r=t.byteLength-e,i=new Uint8Array(4),n=Math.min(4,e);if(0===n)throw new Error("no bytes available");i.set(t.subarray(r,r+n)),this.word=new DataView(i.buffer).getUint32(0),this.bitsAvailable=8*n,this.bytesAvailable-=n},e.skipBits=function(t){var e;t=Math.min(t,8*this.bytesAvailable+this.bitsAvailable),this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,t-=(e=t>>3)<<3,this.bytesAvailable-=e,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)},e.readBits=function(t){var e=Math.min(this.bitsAvailable,t),r=this.word>>>32-e;if(t>32&&w.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=e,this.bitsAvailable>0)this.word<<=e;else{if(!(this.bytesAvailable>0))throw new Error("no bits available");this.loadWord()}return(e=t-e)>0&&this.bitsAvailable?r<<e|this.readBits(e):r},e.skipLZ=function(){var t;for(t=0;t<this.bitsAvailable;++t)if(0!=(this.word&2147483648>>>t))return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()},e.skipUEG=function(){this.skipBits(1+this.skipLZ())},e.skipEG=function(){this.skipBits(1+this.skipLZ())},e.readUEG=function(){var t=this.skipLZ();return this.readBits(t+1)-1},e.readEG=function(){var t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)},e.readBoolean=function(){return 1===this.readBits(1)},e.readUByte=function(){return this.readBits(8)},e.readUShort=function(){return this.readBits(16)},e.readUInt=function(){return this.readBits(32)},e.skipScalingList=function(t){for(var e=8,r=8,i=0;i<t;i++)0!==r&&(r=(e+this.readEG()+256)%256),e=0===r?e:r},e.readSPS=function(){var t,e,r,i=0,n=0,a=0,s=0,o=this.readUByte.bind(this),l=this.readBits.bind(this),u=this.readUEG.bind(this),h=this.readBoolean.bind(this),d=this.skipBits.bind(this),c=this.skipEG.bind(this),f=this.skipUEG.bind(this),g=this.skipScalingList.bind(this);o();var v=o();if(l(5),d(3),o(),f(),100===v||110===v||122===v||244===v||44===v||83===v||86===v||118===v||128===v){var m=u();if(3===m&&d(1),f(),f(),d(1),h())for(e=3!==m?8:12,r=0;r<e;r++)h()&&g(r<6?16:64)}f();var p=u();if(0===p)u();else if(1===p)for(d(1),c(),c(),t=u(),r=0;r<t;r++)c();f(),d(1);var y=u(),E=u(),T=l(1);0===T&&d(1),d(1),h()&&(i=u(),n=u(),a=u(),s=u());var S=[1,1];if(h()&&h())switch(o()){case 1:S=[1,1];break;case 2:S=[12,11];break;case 3:S=[10,11];break;case 4:S=[16,11];break;case 5:S=[40,33];break;case 6:S=[24,11];break;case 7:S=[20,11];break;case 8:S=[32,11];break;case 9:S=[80,33];break;case 10:S=[18,11];break;case 11:S=[15,11];break;case 12:S=[64,33];break;case 13:S=[160,99];break;case 14:S=[4,3];break;case 15:S=[3,2];break;case 16:S=[2,1];break;case 255:S=[o()<<8|o(),o()<<8|o()]}return{width:Math.ceil(16*(y+1)-2*i-2*n),height:(2-T)*(E+1)*16-(T?2:4)*(a+s),pixelRatio:S}},e.readSliceType=function(){return this.readUByte(),this.readUEG(),this.readUEG()},t}(),un=function(t){function e(){return t.apply(this,arguments)||this}l(e,t);var r=e.prototype;return r.parseAVCPES=function(t,e,r,i,n){var a,s=this,o=this.parseAVCNALu(t,r.data),l=this.VideoSample,u=!1;r.data=null,l&&o.length&&!t.audFound&&(this.pushAccessUnit(l,t),l=this.VideoSample=this.createVideoSample(!1,r.pts,r.dts,"")),o.forEach((function(i){var o;switch(i.type){case 1:var h=!1;a=!0;var d,c=i.data;if(u&&c.length>4){var f=new ln(c).readSliceType();2!==f&&4!==f&&7!==f&&9!==f||(h=!0)}h&&null!=(d=l)&&d.frame&&!l.key&&(s.pushAccessUnit(l,t),l=s.VideoSample=null),l||(l=s.VideoSample=s.createVideoSample(!0,r.pts,r.dts,"")),l.frame=!0,l.key=h;break;case 5:a=!0,null!=(o=l)&&o.frame&&!l.key&&(s.pushAccessUnit(l,t),l=s.VideoSample=null),l||(l=s.VideoSample=s.createVideoSample(!0,r.pts,r.dts,"")),l.key=!0,l.frame=!0;break;case 6:a=!0,Xt(i.data,1,r.pts,e.samples);break;case 7:var g,v;a=!0,u=!0;var m=i.data,p=new ln(m).readSPS();if(!t.sps||t.width!==p.width||t.height!==p.height||(null==(g=t.pixelRatio)?void 0:g[0])!==
vendor: 5,296 bytes, line 30
30p.pixelRatio[0]||(null==(v=t.pixelRatio)?void 0:v[1])!==p.pixelRatio[1]){t.width=p.width,t.height=p.height,t.pixelRatio=p.pixelRatio,t.sps=[m],t.duration=n;for(var y=m.subarray(1,4),E="avc1.",T=0;T<3;T++){var S=y[T].toString(16);S.length<2&&(S="0"+S),E+=S}t.codec=E}break;case 8:a=!0,t.pps=[i.data];break;case 9:a=!0,t.audFound=!0,l&&s.pushAccessUnit(l,t),l=s.VideoSample=s.createVideoSample(!1,r.pts,r.dts,"");break;case 12:a=!0;break;default:a=!1,l&&(l.debug+="unknown NAL "+i.type+" ")}l&&a&&l.units.push(i)})),i&&l&&(this.pushAccessUnit(l,t),this.VideoSample=null)},r.parseAVCNALu=function(t,e){var r,i,n=e.byteLength,a=t.naluState||0,s=a,o=[],l=0,u=-1,h=0;for(-1===a&&(u=0,h=31&e[0],a=0,l=1);l<n;)if(r=e[l++],a)if(1!==a)if(r)if(1===r){if(i=l-a-1,u>=0){var d={data:e.subarray(u,i),type:h};o.push(d)}else{var c=this.getLastNalUnit(t.samples);c&&(s&&l<=4-s&&c.state&&(c.data=c.data.subarray(0,c.data.byteLength-s)),i>0&&(c.data=Wt(c.data,e.subarray(0,i)),c.state=0))}l<n?(u=l,h=31&e[l],a=0):a=-1}else a=0;else a=3;else a=r?0:2;else a=r?0:1;if(u>=0&&a>=0){var f={data:e.subarray(u,n),type:h,state:a};o.push(f)}if(0===o.length){var g=this.getLastNalUnit(t.samples);g&&(g.data=Wt(g.data,e))}return t.naluState=a,o},e}(on),hn=function(){function t(t,e,r){this.keyData=void 0,this.decrypter=void 0,this.keyData=r,this.decrypter=new pi(e,{removePKCS7Padding:!1})}var e=t.prototype;return e.decryptBuffer=function(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer)},e.decryptAacSample=function(t,e,r){var i=this,n=t[e].unit;if(!(n.length<=16)){var a=n.subarray(16,n.length-n.length%16),s=a.buffer.slice(a.byteOffset,a.byteOffset+a.length);this.decryptBuffer(s).then((function(a){var s=new Uint8Array(a);n.set(s,16),i.decrypter.isSync()||i.decryptAacSamples(t,e+1,r)}))}},e.decryptAacSamples=function(t,e,r){for(;;e++){if(e>=t.length)return void r();if(!(t[e].unit.length<32||(this.decryptAacSample(t,e,r),this.decrypter.isSync())))return}},e.getAvcEncryptedData=function(t){for(var e=16*Math.floor((t.length-48)/160)+16,r=new Int8Array(e),i=0,n=32;n<t.length-16;n+=160,i+=16)r.set(t.subarray(n,n+16),i);return r},e.getAvcDecryptedUnit=function(t,e){for(var r=new Uint8Array(e),i=0,n=32;n<t.length-16;n+=160,i+=16)t.set(r.subarray(i,i+16),n);return t},e.decryptAvcSample=function(t,e,r,i,n){var a=this,s=zt(n.data),o=this.getAvcEncryptedData(s);this.decryptBuffer(o.buffer).then((function(o){n.data=a.getAvcDecryptedUnit(s,o),a.decrypter.isSync()||a.decryptAvcSamples(t,e,r+1,i)}))},e.decryptAvcSamples=function(t,e,r,i){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;e++,r=0){if(e>=t.length)return void i();for(var n=t[e].units;!(r>=n.length);r++){var a=n[r];if(!(a.data.length<=48||1!==a.type&&5!==a.type||(this.decryptAvcSample(t,e,r,i,a),this.decrypter.isSync())))return}}},t}(),dn=188,cn=function(){function t(t,e,r){this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._duration=0,this._pmtId=-1,this._videoTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.remainderData=null,this.videoParser=void 0,this.observer=t,this.config=e,this.typeSupported=r,this.videoParser=new un}t.probe=function(e){var r=t.syncOffset(e);return r>0&&w.warn("MPEG2-TS detected but first sync word found @ offset "+r),-1!==r},t.syncOffset=function(t){for(var e=t.length,r=Math.min(940,e-dn)+1,i=0;i<r;){for(var n=!1,a=-1,s=0,o=i;o<e;o+=dn){if(71!==t[o]||e-o!==dn&&71!==t[o+dn]){if(s)return-1;break}if(s++,-1===a&&0!==(a=o)&&(r=Math.min(a+18612,t.length-dn)+1),n||(n=0===fn(t,o)),n&&s>1&&(0===a&&s>2||o+dn>r))return a}i++}return-1},t.createTrack=function(t,e){return{container:"video"===t||"audio"===t?"video/mp2t":void 0,type:t,id:wt[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:"audio"===t?e:void 0}};var e=t.prototype;return e.resetInitSegment=function(e,r,i,n){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=t.createTrack("video"),this._audioTrack=t.createTrack("audio",n),this._id3Track=t.createTrack("id3"),this._txtTrack=t.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=r,this.videoCodec=i,this._duration=n},e.resetTimeStamp=function(){},e.resetContiguity=function(){var t=this._audioTrack,e=this._videoTrack,r=this._id3Track;t&&(t.pesData=null),e&&(e.pesData=null),r&&(r.pesData=null),this.aacOverFlow=null,this.remainderData=null},e.demux=function(e,r,i,n){var a;void 0===i&&(i=!1),void 0===n&&(n=!1),i||(this.sampleAes=null);var s=this._videoTrack,o=this._audioTrack,l=this._id3Track,u=this._txtTrack,h=s.pid,d=s.pesData,c=o.pid,f=l.pid,g=o.pesData,v=l.pesData,m=null,p=this.pmtParsed,y=this._pmtId,E=e.length;if(this.remainderData&&(E=(e=Wt(this.remainderData,e)).length,this.remainderData=null),E<dn&&!n)return this.remainderData=e,{audioTrack:o,videoTrack:s,id3Track:l,textTrack:u};var T=Math.max(0,t.syncOffset(e));(E-=(E-T)%dn)<e.byteLength&&!n&&(this.remainderData=new Uint8Array(e.buffer,E,e.buffer.byteLength-E));for(var S=0,L=T;L<E;L+=dn)if(71===e[L]){var A=!!(64&e[L+1]),R=fn(e,L),b=void 0;if((48&e[L+3])>>4>1){if((b=L+5+e[L+4])===L+dn)continue}else b=L+4;
vendor: 15,661 bytes, line 30
30switch(R){case h:A&&(d&&(a=yn(d))&&this.videoParser.parseAVCPES(s,u,a,!1,this._duration),d={data:[],size:0}),d&&(d.data.push(e.subarray(b,L+dn)),d.size+=L+dn-b);break;case c:if(A){if(g&&(a=yn(g)))switch(o.segmentCodec){case"aac":this.parseAACPES(o,a);break;case"mp3":this.parseMPEGPES(o,a);break;case"ac3":this.parseAC3PES(o,a)}g={data:[],size:0}}g&&(g.data.push(e.subarray(b,L+dn)),g.size+=L+dn-b);break;case f:A&&(v&&(a=yn(v))&&this.parseID3PES(l,a),v={data:[],size:0}),v&&(v.data.push(e.subarray(b,L+dn)),v.size+=L+dn-b);break;case 0:A&&(b+=e[b]+1),y=this._pmtId=gn(e,b);break;case y:A&&(b+=e[b]+1);var k=vn(e,b,this.typeSupported,i,this.observer);(h=k.videoPid)>0&&(s.pid=h,s.segmentCodec=k.segmentVideoCodec),(c=k.audioPid)>0&&(o.pid=c,o.segmentCodec=k.segmentAudioCodec),(f=k.id3Pid)>0&&(l.pid=f),null===m||p||(w.warn("MPEG-TS PMT found at "+L+" after unknown PID '"+m+"'. Backtracking to sync byte @"+T+" to parse all TS packets."),m=null,L=T-188),p=this.pmtParsed=!0;break;case 17:case 8191:break;default:m=R}}else S++;S>0&&mn(this.observer,new Error("Found "+S+" TS packet/s that do not start with 0x47")),s.pesData=d,o.pesData=g,l.pesData=v;var D={audioTrack:o,videoTrack:s,id3Track:l,textTrack:u};return n&&this.extractRemainingSamples(D),D},e.flush=function(){var t,e=this.remainderData;return this.remainderData=null,t=e?this.demux(e,-1,!1,!0):{videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t},e.extractRemainingSamples=function(t){var e,r=t.audioTrack,i=t.videoTrack,n=t.id3Track,a=t.textTrack,s=i.pesData,o=r.pesData,l=n.pesData;if(s&&(e=yn(s))?(this.videoParser.parseAVCPES(i,a,e,!0,this._duration),i.pesData=null):i.pesData=s,o&&(e=yn(o))){switch(r.segmentCodec){case"aac":this.parseAACPES(r,e);break;case"mp3":this.parseMPEGPES(r,e);break;case"ac3":this.parseAC3PES(r,e)}r.pesData=null}else null!=o&&o.size&&w.log("last AAC PES packet truncated,might overlap between fragments"),r.pesData=o;l&&(e=yn(l))?(this.parseID3PES(n,e),n.pesData=null):n.pesData=l},e.demuxSampleAes=function(t,e,r){var i=this.demux(t,r,!0,!this.config.progressive),n=this.sampleAes=new hn(this.observer,this.config,e);return this.decrypt(i,n)},e.decrypt=function(t,e){return new Promise((function(r){var i=t.audioTrack,n=t.videoTrack;i.samples&&"aac"===i.segmentCodec?e.decryptAacSamples(i.samples,0,(function(){n.samples?e.decryptAvcSamples(n.samples,0,0,(function(){r(t)})):r(t)})):n.samples&&e.decryptAvcSamples(n.samples,0,0,(function(){r(t)}))}))},e.destroy=function(){this._duration=0},e.parseAACPES=function(t,e){var r,i,n,a=0,s=this.aacOverFlow,o=e.data;if(s){this.aacOverFlow=null;var l=s.missing,u=s.sample.unit.byteLength;if(-1===l)o=Wt(s.sample.unit,o);else{var h=u-l;s.sample.unit.set(o.subarray(0,l),h),t.samples.push(s.sample),a=s.missing}}for(r=a,i=o.length;r<i-1&&!Bi(o,r);r++);if(r!==a){var d,c=r<i-1;if(d=c?"AAC PES did not start with ADTS header,offset:"+r:"No ADTS header found in AAC PES",mn(this.observer,new Error(d),c),!c)return}if(Ki(t,this.observer,o,r,this.audioCodec),void 0!==e.pts)n=e.pts;else{if(!s)return void w.warn("[tsdemuxer]: AAC PES unknown PTS");var f=Hi(t.samplerate);n=s.sample.pts+f}for(var g,v=0;r<i;){if(r+=(g=Vi(t,o,r,n,v)).length,g.missing){this.aacOverFlow=g;break}for(v++;r<i-1&&!Bi(o,r);r++);}},e.parseMPEGPES=function(t,e){var r=e.data,i=r.length,n=0,a=0,s=e.pts;if(void 0!==s)for(;a<i;)if($i(r,a)){var o=zi(t,r,a,s,n);if(!o)break;a+=o.length,n++}else a++;else w.warn("[tsdemuxer]: MPEG PES unknown PTS")},e.parseAC3PES=function(t,e){var r=e.data,i=e.pts;if(void 0!==i)for(var n,a=r.length,s=0,o=0;o<a&&(n=sn(t,r,o,i,s++))>0;)o+=n;else w.warn("[tsdemuxer]: AC3 PES unknown PTS")},e.parseID3PES=function(t,e){if(void 0!==e.pts){var r=o({},e,{type:this._videoTrack?qe:We,duration:Number.POSITIVE_INFINITY});t.samples.push(r)}else w.warn("[tsdemuxer]: ID3 PES unknown PTS")},t}();function fn(t,e){return((31&t[e+1])<<8)+t[e+2]}function gn(t,e){return(31&t[e+10])<<8|t[e+11]}function vn(t,e,r,i,n){var a={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},s=e+3+((15&t[e+1])<<8|t[e+2])-4;for(e+=12+((15&t[e+10])<<8|t[e+11]);e<s;){var o=fn(t,e),l=(15&t[e+3])<<8|t[e+4];switch(t[e]){case 207:if(!i){pn("ADTS AAC");break}case 15:-1===a.audioPid&&(a.audioPid=o);break;case 21:-1===a.id3Pid&&(a.id3Pid=o);break;case 219:if(!i){pn("H.264");break}case 27:-1===a.videoPid&&(a.videoPid=o,a.segmentVideoCodec="avc");break;case 3:case 4:r.mpeg||r.mp3?-1===a.audioPid&&(a.audioPid=o,a.segmentAudioCodec="mp3"):w.log("MPEG audio found, not supported in this browser");break;case 193:if(!i){pn("AC-3");break}case 129:r.ac3?-1===a.audioPid&&(a.audioPid=o,a.segmentAudioCodec="ac3"):w.log("AC-3 audio found, not supported in this browser");break;case 6:if(-1===a.audioPid&&l>0)for(var u=e+5,h=l;h>2;){106===t[u]&&(!0!==r.ac3?w.log("AC-3 audio found, not supported in this browser for now"):(a.audioPid=o,a.segmentAudioCodec="ac3"));var d=t[u+1]+2;u+=d,h-=d}break;case 194:case 135:return mn(n,new Error("Unsupported EC-3 in M2TS found")),a;case 36:return mn(n,new Error("Unsupported HEVC in M2TS found")),a}e+=l+5}return a}function mn(t,e,r){w.warn("parsing error: "+e.message),t.emit(S.ERROR,S.ERROR,{type:L.MEDIA_ERROR,details:A.FRAG_PARSING_ERROR,fatal:!1,levelRetry:r,error:e,reason:e.message})}function pn(t){w.log(t+" with AES-128-CBC encryption found in unencrypted stream")}function yn(t){var e,r,i,n,a,s=0,o=t.data;if(!t||0===t.size)return null;for(;o[0].length<19&&o.length>1;)o[0]=Wt(o[0],o[1]),o.splice(1,1);if(1===((e=o[0])[0]<<16)+(e[1]<<8)+e[2]){if((r=(e[4]<<8)+e[5])&&r>t.size-6)return null;var l=e[7];192&l&&(n=536870912*(14&e[9])+4194304*(255&e[10])+16384*(254&e[11])+128*(255&e[12])+(254&e[13])/2,64&l?n-(a=536870912*(14&e[14])+4194304*(255&e[15])+16384*(254&e[16])+128*(255&e[17])+(254&e[18])/2)>54e5&&(w.warn(Math.round((n-a)/9e4)+"s delta between PTS and DTS, align them"),n=a):a=n);var u=(i=e[8])+9;if(t.size<=u)return null;t.size-=u;for(var h=new Uint8Array(t.size),d=0,c=o.length;d<c;d++){var f=(e=o[d]).byteLength;if(u){if(u>f){u-=f;continue}e=e.subarray(u),f-=u,u=0}h.set(e,s),s+=f}return r&&(r-=i+3),{data:h,pts:n,dts:a,len:r}}return null}var En=function(t){function e(){return t.apply(this,arguments)||this}l(e,t);var r=e.prototype;return r.resetInitSegment=function(e,r,i,n){t.prototype.resetInitSegment.call(this,e,r,i,n),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:r,duration:n,inputTimeScale:9e4,dropped:0}},e.probe=function(t){if(!t)return!1;var e=ct(t,0),r=(null==e?void 0:e.length)||0;if(e&&11===t[r]&&119===t[r+1]&&void 0!==vt(e)&&nn(t,r)<=16)return!1;for(var i=t.length;r<i;r++)if(Zi(t,r))return w.log("MPEG Audio sync word found !"),!0;return!1},r.canParse=function(t,e){return function(t,e){return Ji(t,e)&&4<=t.length-e}(t,e)},r.appendFrame=function(t,e,r){if(null!==this.basePTS)return zi(t,e,r,this.basePTS,this.frameIndex)},e}(Fi),Tn=function(){function t(){}return t.getSilentFrame=function(t,e){if("mp4a.40.2"===t){if(1===e)return new Uint8Array([0,200,0,128,35,128]);if(2===e)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===e)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}},t}(),Sn=Math.pow(2,32)-1,Ln=function(){function t(){}return t.init=function(){var e;for(e in t.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],dac3:[],"ac-3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]},t.types)t.types.hasOwnProperty(e)&&(t.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);var r=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),i=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);t.HDLR_TYPES={video:r,audio:i};var n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),a=new Uint8Array([0,0,0,0,0,0,0,0]);t.STTS=t.STSC=t.STCO=a,t.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),t.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),t.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),t.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var s=new Uint8Array([105,115,111,109]),o=new Uint8Array([97,118,99,49]),l=new Uint8Array([0,0,0,1]);t.FTYP=t.box(t.types.ftyp,s,l,s,o),t.DINF=t.box(t.types.dinf,t.box(t.types.dref,n))},t.box=function(t){for(var e=8,r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];for(var a=i.length,s=a;a--;)e+=i[a].byteLength;var o=new Uint8Array(e);for(o[0]=e>>24&255,o[1]=e>>16&255,o[2]=e>>8&255,o[3]=255&e,o.set(t,4),a=0,e=8;a<s;a++)o.set(i[a],e),e+=i[a].byteLength;return o},t.hdlr=function(e){return t.box(t.types.hdlr,t.HDLR_TYPES[e])},t.mdat=function(e){return t.box(t.types.mdat,e)},t.mdhd=function(e,r){r*=e;var i=Math.floor(r/(Sn+1)),n=Math.floor(r%(Sn+1));return t.box(t.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24,i>>16&255,i>>8&255,255&i,n>>24,n>>16&255,n>>8&255,255&n,85,196,0,0]))},t.mdia=function(e){return t.box(t.types.mdia,t.mdhd(e.timescale,e.duration),t.hdlr(e.type),t.minf(e))},t.mfhd=function(e){return t.box(t.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))},t.minf=function(e){return"audio"===e.type?t.box(t.types.minf,t.box(t.types.smhd,t.SMHD),t.DINF,t.stbl(e)):t.box(t.types.minf,t.box(t.types.vmhd,t.VMHD),t.DINF,t.stbl(e))},t.moof=function(e,r,i){return t.box(t.types.moof,t.mfhd(e),t.traf(i,r))},t.moov=function(e){for(var r=e.length,i=[];r--;)i[r]=t.trak(e[r]);return t.box.apply(null,[t.types.moov,t.mvhd(e[0].timescale,e[0].duration)].concat(i).concat(t.mvex(e)))},t.mvex=function(e){for(var r=e.length,i=[];r--;)i[r]=t.trex(e[r]);return t.box.apply(null,[t.types.mvex].concat(i))},t.mvhd=function(e,r){r*=e;var i=Math.floor(r/(Sn+1)),n=Math.floor(r%(Sn+1)),a=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24,i>>16&255,i>>8&255,255&i,n>>24,n>>16&255,n>>8&255,255&n,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t.box(t.types.mvhd,a)},t.sdtp=function(e){var r,i,n=e.samples||[],a=new Uint8Array(4+n.length);for(r=0;r<n.length;r++)i=n[r].flags,a[r+4]=i.dependsOn<<4|i.isDependedOn<<2|i.hasRedundancy;return t.box(t.types.sdtp,a)},t.stbl=function(e){return t.box(t.types.stbl,t.stsd(e),t.box(t.types.stts,t.STTS),t.box(t.types.stsc,t.STSC),t.box(t.types.stsz,t.STSZ),t.box(t.types.stco,t.STCO))},t.avc1=function(e){var r,i,n,a=[],s=[];for(r=0;r<e.sps.length;r++)n=(i=e.sps[r]).byteLength,a.push(n>>>8&255),a.push(255&n),a=a.concat(Array.prototype.slice.call(i));for(r=0;r<e.pps.length;r++)n=(i=e.pps[r]).byteLength,s.push(n>>>8&255),s.push(255&n),s=s.concat(Array.prototype.slice.call(i));var o=t.box(t.types.avcC,new Uint8Array([1,a[3],a[4],a[5],255,224|e.sps.length].concat(a).concat([e.pps.length]).concat(s))),l=e.width,u=e.height,h=e.pixelRatio[0],d=e.pixelRatio[1];return t.box(t.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,u>>8&255,255&u,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),o,t.box(t.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),t.box(t.types.pasp,new Uint8Array([h>>24,h>>16&255,h>>8&255,255&h,d>>24,d>>16&255,d>>8&255,255&d])))},t.esds=function(t){var e=t.config.length;return new Uint8Array([0,0,0,0,3,23+e,0,1,0,4,15+e,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([e]).concat(t.config).concat([6,1,2]))},t.audioStsd=function(t){var e=t.samplerate;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount,0,16,0,0,0,0,e>>8&255,255&e,0,0])},t.mp4a=function(e){return t.box(t.types.mp4a,t.audioStsd(e),t.box(t.types.esds,t.esds(e)))},t.mp3=function(e){return t.box(t.types[".mp3"],t.audioStsd(e))},t.ac3=function(e){return t.box(t.types["ac-3"],t.audioStsd(e),t.box(t.types.dac3,e.config))},t.stsd=function(e){return"audio"===e.type?"mp3"===e.segmentCodec&&"mp3"===e.codec?t.box(t.types.stsd,t.STSD,t.mp3(e)):"ac3"===e.segmentCodec?t.box(t.types.stsd,t.STSD,t.ac3(e)):t.box(t.types.stsd,t.STSD,t.mp4a(e)):t.box(t.types.stsd,t.STSD,t.avc1(e))},t.tkhd=function(e){var r=e.id,i=e.duration*e.timescale,n=e.width,a=e.height,s=Math.floor(i/(Sn+1)),o=Math.floor(i%(Sn+1));return t.box(t.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,r>>24&255,r>>16&255,r>>8&255,255&r,0,0,0,0,s>>24,s>>16&255,s>>8&255,255&s,o>>24,o>>16&255,o>>8&255,255&o,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,n>>8&255,255&n,0,0,a>>8&255,255&a,0,0]))},t.traf=function(e,r){var i=t.sdtp(e),n=e.id,a=Math.floor(r/(Sn+1)),s=Math.floor(r%(Sn+1));return t.box(t.types.traf,t.box(t.types.tfhd,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n])),t.box(t.types.tfdt,new Uint8Array([1,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,s>>24,s>>16&255,s>>8&255,255&s])),t.trun(e,i.length+16+20+8+16+8+8),i)},t.trak=function(e){return e.duration=e.duration||4294967295,t.box(t.types.trak,t.tkhd(e),t.mdia(e))},t.trex=function(e){var r=e.id;return t.box(t.types.trex,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,255&r,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))},t.trun=function(e,r){var i,n,a,s,o,l,u=e.samples||[],h=u.length,d=12+16*h,c=new Uint8Array(d);for(r+=8+d,c.set(["video"===e.type?1:0,0,15,1,h>>>24&255,h>>>16&255,h>>>8&255,255&h,r>>>24&255,r>>>16&255,r>>>8&255,255&r],0),i=0;i<h;i++)a=(n=u[i]).duration,s=n.size,o=n.flags,l=n.cts,c.set([a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s,o.isLeading<<2|o.dependsOn,o.isDependedOn<<6|o.hasRedundancy<<4|o.paddingValue<<1|o.isNonSync,61440&o.degradPrio,15&o.degradPrio,l>>>24&255,l>>>16&255,l>>>8&255,255&l],12+16*i);return t.box(t.types.trun,c)},t.initSegment=function(e){t.types||t.init();var r=t.moov(e);return Wt(t.FTYP,r)},t}();Ln.types=void 0,Ln.HDLR_TYPES=void 0,Ln.STTS=void 0,Ln.STSC=void 0,Ln.STCO=void 0,Ln.STSZ=void 0,Ln.VMHD=void 0,Ln.SMHD=void 0,Ln.STSD=void 0,Ln.FTYP=void 0,Ln.DINF=void 0;var An=9e4;function Rn(t,e,r,i){void 0===r&&(r=1),void 0===i&&(i=!1);var n=t*e*r;return i?Math.round(n):n}function bn(t,e){return void 0===e&&(e=!1),Rn(t,1e3,1/An,e)}var kn=null,Dn=null,In=function(){function t(t,e,r,i){if(this.observer=void 0,this.config=void 0,this.typeSupp
vendor: 5,547 bytes, line 30
30orted=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=t,this.config=e,this.typeSupported=r,this.ISGenerated=!1,null===kn){var n=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);kn=n?parseInt(n[1]):0}if(null===Dn){var a=navigator.userAgent.match(/Safari\/(\d+)/i);Dn=a?parseInt(a[1]):0}}var e=t.prototype;return e.destroy=function(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null},e.resetTimeStamp=function(t){w.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=t},e.resetNextTimestamp=function(){w.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1},e.resetInitSegment=function(){w.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0},e.getVideoStartPts=function(t){var e=!1,r=t.reduce((function(t,r){var i=r.pts-t;return i<-4294967296?(e=!0,wn(t,r.pts)):i>0?t:r.pts}),t[0].pts);return e&&w.debug("PTS rollover detected"),r},e.remux=function(t,e,r,i,n,a,s,o){var l,u,h,d,c,f,g=n,v=n,m=t.pid>-1,p=e.pid>-1,y=e.samples.length,E=t.samples.length>0,T=s&&y>0||y>1;if((!m||E)&&(!p||T)||this.ISGenerated||s){if(this.ISGenerated){var S,L,A,R,b=this.videoTrackConfig;!b||e.width===b.width&&e.height===b.height&&(null==(S=e.pixelRatio)?void 0:S[0])===(null==(L=b.pixelRatio)?void 0:L[0])&&(null==(A=e.pixelRatio)?void 0:A[1])===(null==(R=b.pixelRatio)?void 0:R[1])||this.resetInitSegment()}else h=this.generateIS(t,e,n,a);var k,D=this.isVideoContiguous,I=-1;if(T&&(I=function(t){for(var e=0;e<t.length;e++)if(t[e].key)return e;return-1}(e.samples),!D&&this.config.forceKeyFrameOnDiscontinuity))if(f=!0,I>0){w.warn("[mp4-remuxer]: Dropped "+I+" out of "+y+" video samples due to a missing keyframe");var C=this.getVideoStartPts(e.samples);e.samples=e.samples.slice(I),e.dropped+=I,k=v+=(e.samples[0].pts-C)/e.inputTimeScale}else-1===I&&(w.warn("[mp4-remuxer]: No keyframe found out of "+y+" video samples"),f=!1);if(this.ISGenerated){if(E&&T){var _=this.getVideoStartPts(e.samples),x=(wn(t.samples[0].pts,_)-_)/e.inputTimeScale;g+=Math.max(0,x),v+=Math.max(0,-x)}if(E){if(t.samplerate||(w.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),h=this.generateIS(t,e,n,a)),u=this.remuxAudio(t,g,this.isAudioContiguous,a,p||T||o===Me?v:void 0),T){var P=u?u.endPTS-u.startPTS:0;e.inputTimeScale||(w.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),h=this.generateIS(t,e,n,a)),l=this.remuxVideo(e,v,D,P)}}else T&&(l=this.remuxVideo(e,v,D,0));l&&(l.firstKeyFrame=I,l.independent=-1!==I,l.firstKeyFramePTS=k)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(r.samples.length&&(c=Cn(r,n,this._initPTS,this._initDTS)),i.samples.length&&(d=_n(i,n,this._initPTS))),{audio:u,video:l,initSegment:h,independent:f,text:d,id3:c}},e.generateIS=function(t,e,r,i){var n,a,s,o=t.samples,l=e.samples,u=this.typeSupported,h={},d=this._initPTS,c=!d||i,f="audio/mp4";if(c&&(n=a=1/0),t.config&&o.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":u.mpeg?(f="audio/mpeg",t.codec=""):u.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3"}h.audio={id:"audio",container:f,codec:t.codec,initSegment:"mp3"===t.segmentCodec&&u.mpeg?new Uint8Array(0):Ln.initSegment([t]),metadata:{channelCount:t.channelCount}},c&&(s=t.inputTimeScale,d&&s===d.timescale?c=!1:n=a=o[0].pts-Math.round(s*r))}if(e.sps&&e.pps&&l.length){if(e.timescale=e.inputTimeScale,h.video={id:"main",container:"video/mp4",codec:e.codec,initSegment:Ln.initSegment([e]),metadata:{width:e.width,height:e.height}},c)if(s=e.inputTimeScale,d&&s===d.timescale)c=!1;else{var g=this.getVideoStartPts(l),v=Math.round(s*r);a=Math.min(a,wn(l[0].dts,g)-v),n=Math.min(n,g-v)}this.videoTrackConfig={width:e.width,height:e.height,pixelRatio:e.pixelRatio}}if(Object.keys(h).length)return this.ISGenerated=!0,c?(this._initPTS={baseTime:n,timescale:s},this._initDTS={baseTime:a,timescale:s}):n=s=void 0,{tracks:h,initPTS:n,timescale:s}},e.remuxVideo=function(t,e,r,i){var n,a,s=t.inputTimeScale,l=t.samples,u=[],h=l.length,d=this._initPTS,c=this.nextAvcDts,f=8,g=this.videoSampleDuration,v=Number.POSITIVE_INFINITY,m=Number.NEGATIVE_INFINITY,p=!1;if(!r||null===c){var y=e*s,E=l[0].pts-wn(l[0].dts,l[0].pts);kn&&null!==c&&Math.abs(y-E-c)<15e3?r=!0:c=y-E}for(var T=d.baseTime*s/d.timescale,R=0;R<h;R++){var b=l[R];b.pts=wn(b.pts-T,c),b.dts=wn(b.dts-T,c),b.dts<l[R>0?R-1:R].dts&&(p=!0)}p&&l.sort((function(t,e){var r=t.dts-e.dts,i=t.pts-e.pts;return r||i})),n=l[0].dts;var k=(a=l[l.length-1].dts)-n,D=k?Math.round(k/(h-1)):g||t.inputTimeScale/30;if(r){var I=n-c,C=I>D,_=I<-1;if((C||_)&&(C?w.warn("AVC: "+bn(I,!0)+" ms ("+I+"dts) hole between fragments detected at "+e.toFixed(3)):w.warn("AVC: "+bn(-I,!0)+" ms ("+I+"dts) overlapping between fragments detected at "+e.toFixed(3)),!_||c>=l[0].pts||kn)){n=c;var x=l[0].pts-I;if(C)l[0].dts=n,l[0].pts=x;else for(var P=0;P<l.length&&!(l[P].dts>x);P++)l[P].dts-=I,l[P].pts-=I;w.log("Video: Initial PTS/DTS adjusted: "+bn(x,!0)+"/"+bn(n,!0)+", delta: "+bn(I,!0)+" ms")}}for(var F=0,M=0,O=n=Math.max(0,n),N=0;N<h;N++){for(var U=l[N],B=U.units,G=B.length,K=0,H=0;H<G;H++)K+=B[H].data.length;M+=K,F+=G,U.length=K,U.dts<O?(U.dts=O,O+=D/4|0||1):O=U.dts,v=Math.min(U.pts,v),m=Math.max(U.pts,m)}a=l[h-1].dts;var V,Y=M+4*F+8;try{V=new Uint8Array(Y)}catch(t){return void this.observer.emit(S.ERROR,S.ERROR,{type:L.MUX_ERROR,details:A.REMUX_ALLOC_ER
vendor: 10,785 bytes, line 30
30ROR,fatal:!1,error:t,bytes:Y,reason:"fail allocating video mdat "+Y})}var W=new DataView(V.buffer);W.setUint32(0,Y),V.set(Ln.types.mdat,4);for(var j=!1,q=Number.POSITIVE_INFINITY,X=Number.POSITIVE_INFINITY,z=Number.NEGATIVE_INFINITY,Q=Number.NEGATIVE_INFINITY,J=0;J<h;J++){for(var $=l[J],Z=$.units,tt=0,et=0,rt=Z.length;et<rt;et++){var it=Z[et],nt=it.data,at=it.data.byteLength;W.setUint32(f,at),f+=4,V.set(nt,f),f+=at,tt+=4+at}var st=void 0;if(J<h-1)g=l[J+1].dts-$.dts,st=l[J+1].pts-$.pts;else{var ot=this.config,lt=J>0?$.dts-l[J-1].dts:D;if(st=J>0?$.pts-l[J-1].pts:D,ot.stretchShortVideoTrack&&null!==this.nextAudioPts){var ut=Math.floor(ot.maxBufferHole*s),ht=(i?v+i*s:this.nextAudioPts)-$.pts;ht>ut?((g=ht-lt)<0?g=lt:j=!0,w.log("[mp4-remuxer]: It is approximately "+ht/90+" ms to the next segment; using duration "+g/90+" ms for the last video frame.")):g=lt}else g=lt}var dt=Math.round($.pts-$.dts);q=Math.min(q,g),z=Math.max(z,g),X=Math.min(X,st),Q=Math.max(Q,st),u.push(new Pn($.key,g,tt,dt))}if(u.length)if(kn){if(kn<70){var ct=u[0].flags;ct.dependsOn=2,ct.isNonSync=0}}else if(Dn&&Q-X<z-q&&D/z<.025&&0===u[0].cts){w.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");for(var ft=n,gt=0,vt=u.length;gt<vt;gt++){var mt=ft+u[gt].duration,pt=ft+u[gt].cts;if(gt<vt-1){var yt=mt+u[gt+1].cts;u[gt].duration=yt-pt}else u[gt].duration=gt?u[gt-1].duration:D;u[gt].cts=0,ft=mt}}g=j||!g?D:g,this.nextAvcDts=c=a+g,this.videoSampleDuration=g,this.isVideoContiguous=!0;var Et={data1:Ln.moof(t.sequenceNumber++,n,o({},t,{samples:u})),data2:V,startPTS:v/s,endPTS:(m+g)/s,startDTS:n/s,endDTS:c/s,type:"video",hasAudio:!1,hasVideo:!0,nb:u.length,dropped:t.dropped};return t.samples=[],t.dropped=0,Et},e.getSamplesPerFrame=function(t){switch(t.segmentCodec){case"mp3":return 1152;case"ac3":return 1536;default:return 1024}},e.remuxAudio=function(t,e,r,i,n){var a=t.inputTimeScale,s=a/(t.samplerate?t.samplerate:a),l=this.getSamplesPerFrame(t),u=l*s,h=this._initPTS,d="mp3"===t.segmentCodec&&this.typeSupported.mpeg,c=[],f=void 0!==n,g=t.samples,v=d?0:8,m=this.nextAudioPts||-1,p=e*a,y=h.baseTime*a/h.timescale;if(this.isAudioContiguous=r=r||g.length&&m>0&&(i&&Math.abs(p-m)<9e3||Math.abs(wn(g[0].pts-y,p)-m)<20*u),g.forEach((function(t){t.pts=wn(t.pts-y,p)})),!r||m<0){if(g=g.filter((function(t){return t.pts>=0})),!g.length)return;m=0===n?0:i&&!f?Math.max(0,p):g[0].pts}if("aac"===t.segmentCodec)for(var E=this.config.maxAudioFramesDrift,T=0,R=m;T<g.length;T++){var b=g[T],k=b.pts,D=k-R,I=Math.abs(1e3*D/a);if(D<=-E*u&&f)0===T&&(w.warn("Audio frame @ "+(k/a).toFixed(3)+"s overlaps nextAudioPts by "+Math.round(1e3*D/a)+" ms."),this.nextAudioPts=m=R=k);else if(D>=E*u&&I<1e4&&f){var C=Math.round(D/u);(R=k-C*u)<0&&(C--,R+=u),0===T&&(this.nextAudioPts=m=R),w.warn("[mp4-remuxer]: Injecting "+C+" audio frame @ "+(R/a).toFixed(3)+"s due to "+Math.round(1e3*D/a)+" ms gap.");for(var _=0;_<C;_++){var x=Math.max(R,0),P=Tn.getSilentFrame(t.manifestCodec||t.codec,t.channelCount);P||(w.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),P=b.unit.subarray()),g.splice(T,0,{unit:P,pts:x}),R+=u,T++}}b.pts=R,R+=u}for(var F,M=null,O=null,N=0,U=g.length;U--;)N+=g[U].unit.byteLength;for(var B=0,G=g.length;B<G;B++){var K=g[B],H=K.unit,V=K.pts;if(null!==O)c[B-1].duration=Math.round((V-O)/s);else{if(r&&"aac"===t.segmentCodec&&(V=m),M=V,!(N>0))return;N+=v;try{F=new Uint8Array(N)}catch(t){return void this.observer.emit(S.ERROR,S.ERROR,{type:L.MUX_ERROR,details:A.REMUX_ALLOC_ERROR,fatal:!1,error:t,bytes:N,reason:"fail allocating audio mdat "+N})}d||(new DataView(F.buffer).setUint32(0,N),F.set(Ln.types.mdat,4))}F.set(H,v);var Y=H.byteLength;v+=Y,c.push(new Pn(!0,l,Y,0)),O=V}var W=c.length;if(W){var j=c[c.length-1];this.nextAudioPts=m=O+s*j.duration;var q=d?new Uint8Array(0):Ln.moof(t.sequenceNumber++,M/s,o({},t,{samples:c}));t.samples=[];var X=M/a,z=m/a,Q={data1:q,data2:F,startPTS:X,endPTS:z,startDTS:X,endDTS:z,type:"audio",hasAudio:!0,hasVideo:!1,nb:W};return this.isAudioContiguous=!0,Q}},e.remuxEmptyAudio=function(t,e,r,i){var n=t.inputTimeScale,a=n/(t.samplerate?t.samplerate:n),s=this.nextAudioPts,o=this._initDTS,l=9e4*o.baseTime/o.timescale,u=(null!==s?s:i.startDTS*n)+l,h=i.endDTS*n+l,d=1024*a,c=Math.ceil((h-u)/d),f=Tn.getSilentFrame(t.manifestCodec||t.codec,t.channelCount);if(w.warn("[mp4-remuxer]: remux empty Audio"),f){for(var g=[],v=0;v<c;v++){var m=u+v*d;g.push({unit:f,pts:m,dts:m})}return t.samples=g,this.remuxAudio(t,e,r,!1)}w.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec")},t}();function wn(t,e){var r;if(null===e)return t;for(r=e<t?-8589934592:8589934592;Math.abs(t-e)>4294967296;)t+=r;return t}function Cn(t,e,r,i){var n=t.samples.length;if(n){for(var a=t.inputTimeScale,s=0;s<n;s++){var o=t.samples[s];o.pts=wn(o.pts-r.baseTime*a/r.timescale,e*a)/a,o.dts=wn(o.dts-i.baseTime*a/i.timescale,e*a)/a}var l=t.samples;return t.samples=[],{samples:l}}}function _n(t,e,r){var i=t.samples.length;if(i){for(var n=t.inputTimeScale,a=0;a<i;a++){var s=t.samples[a];s.pts=wn(s.pts-r.baseTime*n/r.timescale,e*n)/n}t.samples.sort((function(t,e){return t.pts-e.pts}));var o=t.samples;return t.samples=[],{samples:o}}}var xn,Pn=function(t,e,r,i){this.size=void 0,this.duration=void 0,this.cts=void 0,this.flags=void 0,this.duration=e,this.size=r,this.cts=i,this.flags={isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:t?2:1,isNonSync:t?0:1}},Fn=function(){function t(){this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null}var e=t.prototype;return e.destroy=function(){},e.resetTimeStamp=function(t){this.initPTS=t,this.lastEndTime=null},e.resetNextTimestamp=function(){this.lastEndTime=null},e.resetInitSegment=function(t,e,r,i){this.audioCodec=e,this.videoCodec=r,this.generateInitSegment(function(t,e){if(!t||!e)return t;var r=e.keyId;return r&&e.isCommonEncryption&&Ot(t,["moov","trak"]).forEach((function(t){var e=Ot(t,["mdia","minf","stbl","stsd"])[0].subarray(8),i=Ot(e,["enca"]),n=i.length>0;n||(i=Ot(e,["encv"])),i.forEach((function(t){Ot(n?t.subarray(28):t.subarray(78),["sinf"]).forEach((function(t){var e=Vt(t);if(e){var i=e.subarray(8,24);i.some((function(t){return 0!==t}))||(w.log("[eme] Patching keyId in 'enc"+(n?"a":"v")+">sinf>>tenc' box: "+kt.hexDump(i)+" -> "+kt.hexDump(r)),e.set(r,8))}}))}))})),t}(t,i)),this.emitInitSegment=!0},e.generateInitSegment=function(t){var e=this.audioCodec,r=this.videoCodec;if(null==t||!t.byteLength)return this.initTracks=void 0,void(this.initData=void 0);var i=this.initData=Ut(t);i.audio&&(e=Mn(i.audio,O)),i.video&&(r=Mn(i.video,N));var n={};i.audio&&i.video?n.audiovideo={container:"video/mp4",codec:e+","+r,initSegment:t,id:"main"}:i.audio?n.audio={container:"audio/mp4",codec:e,initSegment:t,id:"audio"}:i.video?n.video={container:"video/mp4",codec:r,initSegment:t,id:"main"}:w.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=n},e.remux=function(t,e,r,i,n,a){var s,o,l=this.initPTS,u=this.lastEndTime,h={audio:void 0,video:void 0,text:i,id3:r,initSegment:void 0};y(u)||(u=this.lastEndTime=n||0);var d=e.samples;if(null==d||!d.length)return h;var c={initPTS:void 0,timescale:1},f=this.initData;if(null!=(s=f)&&s.length||(this.generateInitSegment(d),f=this.initData),null==(o=f)||!o.length)return w.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),h;this.emitInitSegment&&(c.tracks=this.initTracks,this.emitInitSegment=!1);var g=function(t,e){for(var r=0,i=0,n=0,a=Ot(t,["moof","traf"]),s=0;s<a.length;s++){var o=a[s],l=Ot(o,["tfhd"])[0],u=e[xt(l,4)];if(u){var h=u.default,d=xt(l,0)|(null==h?void 0:h.flags),c=null==h?void 0:h.duration;8&d&&(c=xt(l,2&d?12:8));for(var f=u.timescale||9e4,g=Ot(o,["trun"]),v=0;v<g.length;v++)!(r=Yt(g[v]))&&c&&(r=c*xt(g[v],4)),u.type===N?i+=r/f:u.type===O&&(n+=r/f)}}if(0===i&&0===n){for(var m=1/0,p=0,E=0,T=Ot(t,["sidx"]),S=0;S<T.length;S++){var L=Nt(T[S]);if(null!=L&&L.references){m=Math.min(m,L.earliestPresentationTime/L.timescale);var A=L.references.reduce((function(t,e){return t+e.info.duration||0}),0);E=(p=Math.max(p,A+L.earliestPresentationTime/L.timescale))-m}}if(E&&y(E))return E}return i||n}(d,f),v=function(t,e){return Ot(e,["moof","traf"]).reduce((function(e,r){var i=Ot(r,["tfdt"])[0],n=i[0],a=Ot(r,["tfhd"]).reduce((function(e,r){var a=xt(r,4),s=t[a];if(s){var o=xt(i,4);if(1===n){if(o===Dt)return w.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),e;o*=Dt+1,o+=xt(i,8)}var l=o/(s.timescale||9e4);if(y(l)&&(null===e||l<e))return l}return e}),null);return null!==a&&y(a)&&(null===e||a<e)?a:e}),null)}(f,d),m=null===v?n:v;(function(t,e,r,i){if(null===t)return!0;var n=Math.max(i,1),a=e-t.baseTime/t.timescale;return Math.abs(a-r)>n}(l,m,n,g)||c.timescale!==l.timescale&&a)&&(c.initPTS=m-n,l&&1===l.timescale&&w.warn("Adjusting initPTS by "+(c.initPTS-l.baseTime)),this.initPTS=l={baseTime:c.initPTS,timescale:1});var p=t?m-l.baseTime/l.timescale:u,E=p+g;!function(t,e,r){Ot(e,["moof","traf"]).forEach((function(e){Ot(e,["tfhd"]).forEach((function(i){var n=xt(i,4),a=t[n];if(a){var s=a.timescale||9e4;Ot(e,["tfdt"]).forEach((function(t){var e=t[0],i=r*s;if(i){var n=xt(t,4);if(0===e)n-=i,Mt(t,4,n=Math.max(n,0));else{n*=Math.pow(2,32),n+=xt(t,8),n-=i,n=Math.max(n,0);var a=Math.floor(n/(Dt+1)),o=Math.floor(n%(Dt+1));Mt(t,4,a),Mt(t,8,o)}}}))}}))}))}(f,d,l.baseTime/l.timescale),g>0?this.lastEndTime=E:(w.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());var T=!!f.audio,S=!!f.video,L="";T&&(L+="audio"),S&&(L+="video");var A={data1:d,startPTS:p,startDTS:p,endPTS:E,endDTS:E,type:L,hasAudio:T,hasVideo:S,nb:1,dropped:0};return h.audio="audio"===A.type?A:void 0,h.video="audio"!==A.type?A:void 0,h.initSegment=c,h.id3=Cn(r,n,l,l),i.samples.length&&(h.text=_n(i,n,l)),h},t}();function Mn(t,e){var r=null==t?void 0:t.codec;if(r&&r.length>4)return r;if(e===O){if("ec-3"===r||"ac-3"===r||"alac"===r)return r;if("fLaC"===r||"Opus"===r)return ve(r,!1);var i="mp4a.40.5";return w.info('Parsed audio codec "'+r+'" or audio object type not handled. Using "'+i+'"'),i}return w.warn('Unhandled video codec "'+r+'"'),"hvc1"===r||"hev1"===r?"hvc1.1.6.L120.90":"av01"===r?"av01.0.04M.08":"avc1.42e01e"}try{xn=self.performance.now.bind(self.performance)}catch(t){w.debug("Unable to use Performance API on this environment"),xn=null==j?void 0:j.Date.now}var On=[{demux:rn,remux:Fn},{demux:cn,remux:In},{demux:tn,remux:In},{demux:En,remux:In}];On.splice(2,0,{demux:an,remux:In});var Nn=function(){function t(t,e,r,i,n){this.async=!1,this.observer=void 0,this.typeSupp
vendor: 8,913 bytes, line 30
30orted=void 0,this.config=void 0,this.vendor=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=t,this.typeSupported=e,this.config=r,this.vendor=i,this.id=n}var e=t.prototype;return e.configure=function(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()},e.push=function(t,e,r,i){var n=this,a=r.transmuxing;a.executeStart=xn();var s=new Uint8Array(t),o=this.currentTransmuxState,l=this.transmuxConfig;i&&(this.currentTransmuxState=i);var u=i||o,h=u.contiguous,d=u.discontinuity,c=u.trackSwitch,f=u.accurateTimeOffset,g=u.timeOffset,v=u.initSegmentChange,m=l.audioCodec,p=l.videoCodec,y=l.defaultInitPts,E=l.duration,T=l.initSegmentData,R=function(t,e){var r=null;return t.byteLength>0&&null!=(null==e?void 0:e.key)&&null!==e.iv&&null!=e.method&&(r=e),r}(s,e);if(R&&"AES-128"===R.method){var b=this.getDecrypter();if(!b.isSync())return this.decryptionPromise=b.webCryptoDecrypt(s,R.key.buffer,R.iv.buffer).then((function(t){var e=n.push(t,null,r);return n.decryptionPromise=null,e})),this.decryptionPromise;var k=b.softwareDecrypt(s,R.key.buffer,R.iv.buffer);if(r.part>-1&&(k=b.flush()),!k)return a.executeEnd=xn(),Un(r);s=new Uint8Array(k)}var D=this.needsProbing(d,c);if(D){var I=this.configureTransmuxer(s);if(I)return w.warn("[transmuxer] "+I.message),this.observer.emit(S.ERROR,S.ERROR,{type:L.MEDIA_ERROR,details:A.FRAG_PARSING_ERROR,fatal:!1,error:I,reason:I.message}),a.executeEnd=xn(),Un(r)}(d||c||v||D)&&this.resetInitSegment(T,m,p,E,e),(d||v||D)&&this.resetInitialTimestamp(y),h||this.resetContiguity();var C=this.transmux(s,R,g,f,r),_=this.currentTransmuxState;return _.contiguous=!0,_.discontinuity=!1,_.trackSwitch=!1,a.executeEnd=xn(),C},e.flush=function(t){var e=this,r=t.transmuxing;r.executeStart=xn();var i=this.decrypter,n=this.currentTransmuxState,a=this.decryptionPromise;if(a)return a.then((function(){return e.flush(t)}));var s=[],o=n.timeOffset;if(i){var l=i.flush();l&&s.push(this.push(l,null,t))}var u=this.demuxer,h=this.remuxer;if(!u||!h)return r.executeEnd=xn(),[Un(t)];var d=u.flush(o);return Bn(d)?d.then((function(r){return e.flushRemux(s,r,t),s})):(this.flushRemux(s,d,t),s)},e.flushRemux=function(t,e,r){var i=e.audioTrack,n=e.videoTrack,a=e.id3Track,s=e.textTrack,o=this.currentTransmuxState,l=o.accurateTimeOffset,u=o.timeOffset;w.log("[transmuxer.ts]: Flushed fragment "+r.sn+(r.part>-1?" p: "+r.part:"")+" of level "+r.level);var h=this.remuxer.remux(i,n,a,s,u,l,!0,this.id);t.push({remuxResult:h,chunkMeta:r}),r.transmuxing.executeEnd=xn()},e.resetInitialTimestamp=function(t){var e=this.demuxer,r=this.remuxer;e&&r&&(e.resetTimeStamp(t),r.resetTimeStamp(t))},e.resetContiguity=function(){var t=this.demuxer,e=this.remuxer;t&&e&&(t.resetContiguity(),e.resetNextTimestamp())},e.resetInitSegment=function(t,e,r,i,n){var a=this.demuxer,s=this.remuxer;a&&s&&(a.resetInitSegment(t,e,r,i),s.resetInitSegment(t,e,r,n))},e.destroy=function(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)},e.transmux=function(t,e,r,i,n){return e&&"SAMPLE-AES"===e.method?this.transmuxSampleAes(t,e,r,i,n):this.transmuxUnencrypted(t,r,i,n)},e.transmuxUnencrypted=function(t,e,r,i){var n=this.demuxer.demux(t,e,!1,!this.config.progressive),a=n.audioTrack,s=n.videoTrack,o=n.id3Track,l=n.textTrack;return{remuxResult:this.remuxer.remux(a,s,o,l,e,r,!1,this.id),chunkMeta:i}},e.transmuxSampleAes=function(t,e,r,i,n){var a=this;return this.demuxer.demuxSampleAes(t,e,r).then((function(t){return{remuxResult:a.remuxer.remux(t.audioTrack,t.videoTrack,t.id3Track,t.textTrack,r,i,!1,a.id),chunkMeta:n}}))},e.configureTransmuxer=function(t){for(var e,r=this.config,i=this.observer,n=this.typeSupported,a=this.vendor,s=0,o=On.length;s<o;s++){var l;if(null!=(l=On[s].demux)&&l.probe(t)){e=On[s];break}}if(!e)return new Error("Failed to find demuxer by probing fragment data");var u=this.demuxer,h=this.remuxer,d=e.remux,c=e.demux;h&&h instanceof d||(this.remuxer=new d(i,r,n,a)),u&&u instanceof c||(this.demuxer=new c(i,r,n),this.probe=c.probe)},e.needsProbing=function(t,e){return!this.demuxer||!this.remuxer||t||e},e.getDecrypter=function(){var t=this.decrypter;return t||(t=this.decrypter=new pi(this.config)),t},t}(),Un=function(t){return{remuxResult:{},chunkMeta:t}};function Bn(t){return"then"in t&&t.then instanceof Function}var Gn=function(t,e,r,i,n){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=t,this.videoCodec=e,this.initSegmentData=r,this.duration=i,this.defaultInitPts=n||null},Kn=function(t,e,r,i,n,a){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=t,this.contiguous=e,this.accurateTimeOffset=r,this.trackSwitch=i,this.timeOffset=n,this.initSegmentChange=a},Hn={exports:{}};!function(t){var e=Object.prototype.hasOwnProperty,r="~";function i(){}function n(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function a(t,e,i,a,s){if("function"!=typeof i)throw new TypeError("The listener must be a function");var o=new n(i,a||t,s),l=r?r+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],o]:t._events[l].push(o):(t._events[l]=o,t._eventsCount++),t}function s(t,e){0==--t._eventsCount?t._events=new i:delete t._events[e]}function o(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),o.prototype.eventNames=function(){var t,i,n=[];if(0===this._eventsCount)return n;for(i in t=this._events)e.call(t,i)&&n.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},o.prototype.listeners=function(t){var e=r?r+t:t,i=this._events[e];if(!i)return[];if(i.fn)return[i.fn];for(var n=0,a=i.length,s=new Array(a);n<a;n++)s[n]=i[n].fn;return s},o.prototype.listenerCount=function(t){var e=r?r+t:t,i=this._events[e];return i?i.fn?1:i.length:0},o.prototype.emit=function(t,e,i,n,a,s){var o=r?r+t:t;if(!this._events[o])return!1;var l,u,h=this._events[o],d=arguments.length;if(h.fn){switch(h.once&&this.removeListener(t,h.fn,void 0,!0),d){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,e),!0;case 3:return h.fn.call(h.context,e,i),!0;case 4:return h.fn.call(h.context,e,i,n),!0;case 5:return h.fn.call(h.context,e,i,n,a),!0;case 6:return h.fn.call(h.context,e,i,n,a,s),!0}for(u=1,l=new Array(d-1);u<d;u++)l[u-1]=arguments[u];h.fn.apply(h.context,l)}else{var c,f=h.length;for(u=0;u<f;u++)switch(h[u].once&&this.removeListener(t,h[u].fn,void 0,!0),d){case 1:h[u].fn.call(h[u].context);break;case 2:h[u].fn.call(h[u].context,e);break;case 3:h[u].fn.call(h[u].context,e,i);break;case 4:h[u].fn.call(h[u].context,e,i,n);break;default:if(!l)for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];h[u].fn.apply(h[u].context,l)}}return!0},o.prototype.on=function(t,e,r){return a(this,t,e,r,!1)},o.prototype.once=function(t,e,r){return a(this,t,e,r,!0)},o.prototype.removeListener=function(t,e,i,n){var a=r?r+t:t;if(!this._events[a])return this;if(!e)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn!==e||n&&!o.once||i&&o.context!==i||s(this,a);else{for(var l=0,u=[],h=o.length;l<h;l++)(o[l].fn!==e||n&&!o[l].once||i&&o[l].context!==i)&&u.push(o[l]);u.length?this._events[a]=1===u.length?u[0]:u:s(this,a)}return this},o.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&s(this,e)):(this._events=new i,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=r,o.EventEmitter=o,t.exports=o}(Hn);var Vn=v(Hn.exports);function Yn(t,e){if(!((r=e.remuxResult).audio||r.video||r.text||r.id3||r.initSegment))return!1;var r,i=[],n=e.remuxResult,a=n.audio,s=n.video;return a&&Wn(i,a),s&&Wn(i,s),t.postMessage({event:"transmuxComplete",data:e},i),!0}function Wn(t,e){e.data1&&t.push(e.data1.buffer),e.data2&&t.push(e.data2.buffer)}function jn(t,e,r){e.reduce((function(e,r){return Yn(t,r)||e}),!1)||t.postMessage({event:"transmuxComplete",data:e[0]}),t.postMessage({event:"flush",data:r})}void 0!==e&&e&&function(t){var e=new Vn,r=function(e,r){t.postMessage({event:e,data:r})};e.on(S.FRAG_DECRYPTED,r),e.on(S.ERROR,r);var i=function(){var t=function(t){var e=function(e){r("workerLog",{logType:t,message:e})};w[t]=e};for(var e in w)t(e)};t.addEventListener("message",(function(n){var a=n.data;switch(a.cmd){case"init":var s=JSON.parse(a.config);t.transmuxer=new Nn(e,a.typeSupported,s,"",a.id),I(s.debug,a.id),i(),r("init",null);break;case"configure":t.transmuxer.configure(a.config);break;case"demux":var o=t.transmuxer.push(a.data,a.decryptdata,a.chunkMeta,a.state);Bn(o)?(t.transmuxer.async=!0,o.then((function(e){Yn(t,e)}
vendor: 46,117 bytes, line 30
30)).catch((function(t){r(S.ERROR,{type:L.MEDIA_ERROR,details:A.FRAG_PARSING_ERROR,chunkMeta:a.chunkMeta,fatal:!1,error:t,err:t,reason:"transmuxer-worker push error"})}))):(t.transmuxer.async=!1,Yn(t,o));break;case"flush":var l=a.chunkMeta,u=t.transmuxer.flush(l);Bn(u)||t.transmuxer.async?(Bn(u)||(u=Promise.resolve(u)),u.then((function(e){jn(t,e,l)})).catch((function(t){r(S.ERROR,{type:L.MEDIA_ERROR,details:A.FRAG_PARSING_ERROR,chunkMeta:a.chunkMeta,fatal:!1,error:t,err:t,reason:"transmuxer-worker flush error"})}))):jn(t,u,l)}}))}(self);var qn=function(){function e(e,r,i,n){var a=this;this.error=null,this.hls=void 0,this.id=void 0,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.onwmsg=void 0,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0;var s=e.config;this.hls=e,this.id=r,this.useWorker=!!s.enableWorker,this.onTransmuxComplete=i,this.onFlush=n;var o=function(t,e){(e=e||{}).frag=a.frag,e.id=a.id,t===S.ERROR&&(a.error=e.error),a.hls.trigger(t,e)};this.observer=new Vn,this.observer.on(S.FRAG_DECRYPTED,o),this.observer.on(S.ERROR,o);var l,u,h,d,c=se(s.preferManagedMediaSource)||{isTypeSupported:function(){return!1}},f={mpeg:c.isTypeSupported("audio/mpeg"),mp3:c.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:c.isTypeSupported('audio/mp4; codecs="ac-3"')};if(!this.useWorker||"undefined"==typeof Worker||(s.workerPath,0))this.transmuxer=new Nn(this.observer,f,s,"",r);else try{s.workerPath?(w.log("loading Web Worker "+s.workerPath+' for "'+r+'"'),this.workerContext=(h=s.workerPath,d=new self.URL(h,self.location.href).href,{worker:new self.Worker(d),scriptURL:d})):(w.log('injecting Web Worker for "'+r+'"'),this.workerContext=(l=new self.Blob(["var exports={};var module={exports:exports};function define(f){f()};define.amd=true;("+t.toString()+")(true);"],{type:"text/javascript"}),u=self.URL.createObjectURL(l),{worker:new self.Worker(u),objectURL:u})),this.onwmsg=function(t){return a.onWorkerMessage(t)};var g=this.workerContext.worker;g.addEventListener("message",this.onwmsg),g.onerror=function(t){var e=new Error(t.message+" ("+t.filename+":"+t.lineno+")");s.enableWorker=!1,w.warn('Error in "'+r+'" Web Worker, fallback to inline'),a.hls.trigger(S.ERROR,{type:L.OTHER_ERROR,details:A.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:e})},g.postMessage({cmd:"init",typeSupported:f,vendor:"",id:r,config:JSON.stringify(s)})}catch(t){w.warn('Error setting up "'+r+'" Web Worker, fallback to inline',t),this.resetWorker(),this.error=null,this.transmuxer=new Nn(this.observer,f,s,"",r)}}var r=e.prototype;return r.resetWorker=function(){if(this.workerContext){var t=this.workerContext,e=t.worker,r=t.objectURL;r&&self.URL.revokeObjectURL(r),e.removeEventListener("message",this.onwmsg),e.onerror=null,e.terminate(),this.workerContext=null}},r.destroy=function(){if(this.workerContext)this.resetWorker(),this.onwmsg=void 0;else{var t=this.transmuxer;t&&(t.destroy(),this.transmuxer=null)}var e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.observer=null,this.hls=null},r.push=function(t,e,r,i,n,a,s,o,l,u){var h,d,c=this;l.transmuxing.start=self.performance.now();var f=this.transmuxer,g=a?a.start:n.start,v=n.decryptdata,m=this.frag,p=!(m&&n.cc===m.cc),y=!(m&&l.level===m.level),E=m?l.sn-m.sn:-1,T=this.part?l.part-this.part.index:-1,S=0===E&&l.id>1&&l.id===(null==m?void 0:m.stats.chunkCount),L=!y&&(1===E||0===E&&(1===T||S&&T<=0)),A=self.performance.now();(y||E||0===n.stats.parsing.start)&&(n.stats.parsing.start=A),!a||!T&&L||(a.stats.parsing.start=A);var R=!(m&&(null==(h=n.initSegment)?void 0:h.url)===(null==(d=m.initSegment)?void 0:d.url)),b=new Kn(p,L,o,y,g,R);if(!L||p||R){w.log("[transmuxer-interface, "+n.type+"]: Starting new transmux session for sn: "+l.sn+" p: "+l.part+" level: "+l.level+" id: "+l.id+"\n discontinuity: "+p+"\n trackSwitch: "+y+"\n contiguous: "+L+"\n accurateTimeOffset: "+o+"\n timeOffset: "+g+"\n initSegmentChange: "+R);var k=new Gn(r,i,e,s,u);this.configureTransmuxer(k)}if(this.frag=n,this.part=a,this.workerContext)this.workerContext.worker.postMessage({cmd:"demux",data:t,decryptdata:v,chunkMeta:l,state:b},t instanceof ArrayBuffer?[t]:[]);else if(f){var D=f.push(t,v,l,b);Bn(D)?(f.async=!0,D.then((function(t){c.handleTransmuxComplete(t)})).catch((function(t){c.transmuxerError(t,l,"transmuxer-interface push error")}))):(f.async=!1,this.handleTransmuxComplete(D))}},r.flush=function(t){var e=this;t.transmuxing.start=self.performance.now();var r=this.transmuxer;if(this.workerContext)this.workerContext.worker.postMessage({cmd:"flush",chunkMeta:t});else if(r){var i=r.flush(t);Bn(i)||r.async?(Bn(i)||(i=Promise.resolve(i)),i.then((function(r){e.handleFlushResult(r,t)})).catch((function(r){e.transmuxerError(r,t,"transmuxer-interface flush error")}))):this.handleFlushResult(i,t)}},r.transmuxerError=function(t,e,r){this.hls&&(this.error=t,this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.FRAG_PARSING_ERROR,chunkMeta:e,frag:this.frag||void 0,fatal:!1,error:t,err:t,reason:r}))},r.handleFlushResult=function(t,e){var r=this;t.forEach((function(t){r.handleTransmuxComplete(t)})),this.onFlush(e)},r.onWorkerMessage=function(t){var e=t.data;if(null!=e&&e.event){var r=this.hls;if(this.hls)switch(e.event){case"init":var i,n=null==(i=this.workerContext)?void 0:i.objectURL;n&&self.URL.revokeObjectURL(n);break;case"transmuxComplete":this.handleTransmuxComplete(e.data);break;case"flush":this.onFlush(e.data);break;case"workerLog":w[e.data.logType]&&w[e.data.logType](e.data.message);break;default:e.data=e.data||{},e.data.frag=this.frag,e.data.id=this.id,r.trigger(e.event,e.data)}}else w.warn("worker message received with no "+(e?"event name":"data"))},r.configureTransmuxer=function(t){var e=this.transmuxer;this.workerContext?this.workerContext.worker.postMessage({cmd:"configure",config:t}):e&&e.configure(t)},r.handleTransmuxComplete=function(t){t.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(t)},e}();function Xn(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!zn(t[r].attrs,e[r].attrs))return!1;return!0}function zn(t,e,r){var i=t["STABLE-RENDITION-ID"];return i&&!r?i===e["STABLE-RENDITION-ID"]:!(r||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some((function(r){return t[r]!==e[r]}))}function Qn(t,e){return e.label.toLowerCase()===t.name.toLowerCase()&&(!e.language||e.language.toLowerCase()===(t.lang||"").toLowerCase())}var Jn=function(t){function e(e,r,i){var n;return(n=t.call(this,e,r,i,"[audio-stream-controller]",Me)||this).videoBuffer=null,n.videoTrackCC=-1,n.waitingVideoCC=-1,n.bufferedTrack=null,n.switchingTrack=null,n.trackId=-1,n.waitingData=null,n.mainDetails=null,n.flushing=!1,n.bufferFlushed=!1,n.cachedTrackLoadedData=null,n._registerListeners(),n}l(e,t);var r=e.prototype;return r.onHandlerDestroying=function(){this._unregisterListeners(),t.prototype.onHandlerDestroying.call(this),this.mainDetails=null,this.bufferedTrack=null,this.switchingTrack=null},r._registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this),t.on(S.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(S.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(S.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(S.ERROR,this.onError,this),t.on(S.BUFFER_RESET,this.onBufferReset,this),t.on(S.BUFFER_CREATED,this.onBufferCreated,this),t.on(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(S.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(S.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this)},r._unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this),t.off(S.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(S.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(S.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(S.ERROR,this.onError,this),t.off(S.BUFFER_RESET,this.onBufferReset,this),t.off(S.BUFFER_CREATED,this.onBufferCreated,this),t.off(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(S.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(S.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this)},r.onInitPtsFound=function(t,e){var r=e.frag,i=e.id,n=e.initPTS,a=e.timescale;if("main"===i){var s=r.cc;this.initPTS[r.cc]={baseTime:n,timescale:a},this.log("InitPTS for cc: "+s+" found from main: "+n),this.videoTrackCC=s,this.state===wi&&this.tick()}},r.startLoad=function(t){if(!this.levels)return this.startPosition=t,void(this.state=Ei);var e=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),e>0&&-1===t?(this.log("Override startPosition with lastCurrentTime @"+e.toFixed(3)),t=e,this.state=Ti):(this.loadedmetadata=!1,this.state=Ri),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()},r.doTick=function(){switch(this.state){case Ti:this.doTickIdle();break;case Ri:var e,r=this.levels,i=this.trackId,n=null==r||null==(e=r[i])?void 0:e.details;if(n){if(this.waitForCdnTuneIn(n))break;this.state=wi}break;case Ai:var a,s=performance.now(),o=this.retryDate;if(!o||s>=o||null!=(a=this.media)&&a.seeking){var l=this.levels,u=this.trackId;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((null==l?void 0:l[u])||null),this.state=Ti}break;case wi:var h=this.waitingData;if(h){var d=h.frag,c=h.part,f=h.cache,g=h.complete;if(void 0!==this.initPTS[d.cc]){this.waitingData=null,this.waitingVideoCC=-1,this.state=Li;var v={frag:d,part:c,payload:f.flush(),networkDetails:null};this._handleFragmentLoadProgress(v),g&&t.prototype._handleFragmentLoadComplete.call(this,v)}else if(this.videoTrackCC!==this.waitingVideoCC)this.log("Waiting fragment cc ("+d.cc+") cancelled because video is at cc "+this.videoTrackCC),this.clearWaitingFragment();else{var m=this.getLoadPosition(),p=ri.bufferInfo(this.mediaBuffer,m,this.config.maxBufferHole);Rr(p.end,this.config.maxFragLookUpTolerance,d)<0&&(this.log("Waiting fragment cc ("+d.cc+") @ "+d.start+" cancelled because another fragment at "+p.end+" is needed"),this.clearWaitingFragment())}}else this.state=Ti}this.onTickEnd()},r.clearWaitingFragment=function(){var t=this.waitingData;t&&(this.fragmentTracker.removeFragment(t.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=Ti)},r.resetLoadingState=function(){this.clearWaitingFragment(),t.prototype.resetLoadingState.call(this)},r.onTickEnd=function(){var t=this.media;null!=t&&t.readyState&&(this.lastCurrentTime=t.currentTime)},r.doTickIdle=function(){var t=this.hls,e=this.levels,r=this.media,i=this.trackId,n=t.config;if((r||!this.startFragRequested&&n.startFragPrefetch)&&null!=e&&e[i]){var a=e[i],s=a.details;if(!s||s.live&&this.levelLastLoaded!==a||this.waitForCdnTuneIn(s))this.state=Ri;else{var o=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&o&&(this.bufferFlushed=!1,this.afterBufferFlushed(o,O,Me));var l=this.getFwdBufferInfo(o,Me);if(null!==l){var u=this.bufferedTrack,h=this.switchingTrack;if(!h&&this._streamEnded(l,s))return t.trigger(S.BUFFER_EOS,{type:"audio"}),void(this.state=Di);var d=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,Fe),c=l.len,f=this.getMaxBufferLength(null==d?void 0:d.len),g=s.fragments,v=g[0].start,m=this.flushing?this.getLoadPosition():l.end;if(h&&r){var p=this.getLoadPosition();u&&!zn(h.attrs,u.attrs)&&(m=p),s.PTSKnown&&p<v&&(l.end>v||l.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),r.currentTime=v+.05)}if(!(c>=f&&!h&&m<g[g.length-1].start)){var y=this.getNextFragment(m,s),E=!1;if(y&&this.isLoopLoading(y,m)&&(E=!!y.gap,y=this.getNextFragmentLoopLoading(y,s,l,Fe,f)),y){var T=d&&y.start>d.end+s.targetduration;if(T||(null==d||!d.len)&&l.len){var L=this.getAppendedFrag(y.start,Fe);if(null===L)return;if(E||(E=!!L.gap||!!T&&0===d.len),T&&!E||E&&l.nextStart&&l.nextStart<L.end)return}this.loadFragment(y,a,m)}else this.bufferFlushed=!0}}}}},r.getMaxBufferLength=function(e){var r=t.prototype.getMaxBufferLength.call(this);return e?Math.min(Math.max(r,e),this.config.maxMaxBufferLength):r},r.onMediaDetaching=function(){this.videoBuffer=null,this.bufferFlushed=this.flushing=!1,t.prototype.onMediaDetaching.call(this)},r.onAudioTracksUpdated=function(t,e){var r=e.audioTracks;this.resetTransmuxer(),this.levels=r.map((function(t){return new or(t)}))},r.onAudioTrackSwitching=function(t,e){var r=!!e.url;this.trackId=e.id;var i=this.fragCurrent;i&&(i.abortRequests(),this.removeUnbufferedFrags(i.start)),this.resetLoadingState(),r?this.setInterval(100):this.resetTransmuxer(),r?(this.switchingTrack=e,this.state=Ti,this.flushAudioIfNeeded(e)):(this.switchingTrack=null,this.bufferedTrack=e,this.state=Ei),this.tick()},r.onManifestLoading=function(){this.fragmentTracker.removeAllFragments(),this.startPosition=this.lastCurrentTime=0,this.bufferFlushed=this.flushing=!1,this.levels=this.mainDetails=this.waitingData=this.bufferedTrack=this.cachedTrackLoadedData=this.switchingTrack=null,this.startFragRequested=!1,this.trackId=this.videoTrackCC=this.waitingVideoCC=-1},r.onLevelLoaded=function(t,e){this.mainDetails=e.details,null!==this.cachedTrackLoadedData&&(this.hls.trigger(S.AUDIO_TRACK_LOADED,this.cachedTrackLoadedData),this.cachedTrackLoadedData=null)},r.onAudioTrackLoaded=function(t,e){var r;if(null!=this.mainDetails){var i=this.levels,n=e.details,a=e.id;if(i){this.log("Audio track "+a+" loaded ["+n.startSN+","+n.endSN+"]"+(n.lastPartSn?"[part-"+n.lastPartSn+"-"+n.lastPartIndex+"]":"")+",duration:"+n.totalduration);var s=i[a],o=0;if(n.live||null!=(r=s.details)&&r.live){this.checkLiveUpdate(n);var l,u=this.mainDetails;if(n.deltaUpdateFailed||!u)return;!s.details&&n.hasProgramDateTime&&u.hasProgramDateTime?(li(n,u),o=n.fragments[0].start):o=this.alignPlaylists(n,s.details,null==(l=this.levelLastLoaded)?void 0:l.details)}s.details=n,this.levelLastLoaded=s,this.startFragRequested||!this.mainDetails&&n.live||this.setStartPosition(this.mainDetails||n,o),this.state!==Ri||this.waitForCdnTuneIn(n)||(this.state=Ti),this.tick()}else this.warn("Audio tracks were reset while loading level "+a)}else this.cachedTrackLoadedData=e},r._handleFragmentLoadProgress=function(t){var e,r=t.frag,i=t.part,n=t.payload,a=this.config,s=this.trackId,o=this.levels;if(o){var l=o[s];if(l){var u=l.details;if(!u)return this.warn("Audio track details undefined on fragment load progress"),void this.removeUnbufferedFrags(r.start);var h=a.defaultAudioCodec||l.audioCodec||"mp4a.40.2",d=this.transmuxer;d||(d=this.transmuxer=new qn(this.hls,Me,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));var c=this.initPTS[r.cc],f=null==(e=r.initSegment)?void 0:e.data;if(void 0!==c){var g=i?i.index:-1,v=-1!==g,m=new ii(r.level,r.sn,r.stats.chunkCount,n.byteLength,g,v);d.push(n,f,h,"",r,i,u.totalduration,!1,m,c)}else this.log("Unknown video PTS for cc "+r.cc+", waiting for video PTS before demuxing audio frag "+r.sn+" of ["+u.startSN+" ,"+u.endSN+"],track "+s),(this.waitingData=this.waitingData||{frag:r,part:i,cache:new xi,complete:!1}).cache.push(new Uint8Array(n)),this.waitingVideoCC=this.videoTrackCC,this.state=wi}else this.warn("Audio track is undefined on fragment load progress")}else this.warn("Audio tracks were reset while fragment load was in progress. Fragment "+r.sn+" of level "+r.level+" will not be buffered")},r._handleFragmentLoadComplete=function(e){this.waitingData?this.waitingData.complete=!0:t.prototype._handleFragmentLoadComplete.call(this,e)},r.onBufferReset=function(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1},r.onBufferCreated=function(t,e){var r=e.tracks.audio;r&&(this.mediaBuffer=r.buffer||null),e.tracks.video&&(this.videoBuffer=e.tracks.video.buffer||null)},r.onFragBuffered=function(t,e){var r=e.frag,n=e.part;if(r.type===Me)if(this.fragContextChanged(r))this.warn("Fragment "+r.sn+(n?" p: "+n.index:"")+" of level "+r.level+" finished buffering, but was aborted. state: "+this.state+", audioSwitch: "+(this.switchingTrack?this.switchingTrack.name:"false"));else{if("initSegment"!==r.sn){this.fragPrevious=r;var a=this.switchingTrack;a&&(this.bufferedTrack=a,this.switchingTrack=null,this.hls.trigger(S.AUDIO_TRACK_SWITCHED,i({},a)))}this.fragBufferedComplete(r,n)}else if(!this.loadedmetadata&&r.type===Fe){var s=this.videoBuffer||this.media;s&&ri.getBuffered(s).length&&(this.loadedmetadata=!0)}},r.onError=function(e,r){var i;if(r.fatal)this.state=Ii;else switch(r.details){case A.FRAG_GAP:case A.FRAG_PARSING_ERROR:case A.FRAG_DECRYPT_ERROR:case A.FRAG_LOAD_ERROR:case A.FRAG_LOAD_TIMEOUT:case A.KEY_LOAD_ERROR:case A.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(Me,r);break;case A.AUDIO_TRACK_LOAD_ERROR:case A.AUDIO_TRACK_LOAD_TIMEOUT:case A.LEVEL_PARSING_ERROR:r.levelRetry||this.state!==Ri||(null==(i=r.context)?void 0:i.type)!==xe||(this.state=Ti);break;case A.BUFFER_APPEND_ERROR:case A.BUFFER_FULL_ERROR:if(!r.parent||"audio"!==r.parent)return;if(r.details===A.BUFFER_APPEND_ERROR)return void this.resetLoadingState();this.reduceLengthAndFlushBuffer(r)&&(this.bufferedTrack=null,t.prototype.flushMainBuffer.call(this,0,Number.POSITIVE_INFINITY,"audio"));break;case A.INTERNAL_EXCEPTION:this.recoverWorkerError(r)}},r.onBufferFlushing=function(t,e){e.type!==N&&(this.flushing=!0)},r.onBufferFlushed=function(t,e){var r=e.type;if(r!==N){this.flushing=!1,this.bufferFlushed=!0,this.state===Di&&(this.state=Ti);var i=this.mediaBuffer||this.media;i&&(this.afterBufferFlushed(i,r,Me),this.tick())}},r._handleTransmuxComplete=function(t){var e,r="audio",i=this.hls,n=t.remuxResult,a=t.chunkMeta,s=this.getCurrentContext(a);if(s){var l=s.frag,u=s.part,h=s.level,d=h.details,c=n.audio,f=n.text,g=n.id3,v=n.initSegment;if(!this.fragContextChanged(l)&&d){if(this.state=bi,this.switchingTrack&&c&&this.completeAudioSwitch(this.switchingTrack),null!=v&&v.tracks){var m=l.initSegment||l;this._bufferInitSegment(h,v.tracks,m,a),i.trigger(S.FRAG_PARSING_INIT_SEGMENT,{frag:m,id:r,tracks:v.tracks})}if(c){var p=c.startPTS,y=c.endPTS,E=c.startDTS,T=c.endDTS;u&&(u.elementaryStreams[O]={startPTS:p,endPTS:y,startDTS:E,endDTS:T}),l.setElementaryStreamInfo(O,p,y,E,T),this.bufferFragmentData(c,l,u,a)}if(null!=g&&null!=(e=g.samples)&&e.length){var L=o({id:r,frag:l,details:d},g);i.trigger(S.FRAG_PARSING_METADATA,L)}if(f){var A=o({id:r,frag:l,details:d},f);i.trigger(S.FRAG_PARSING_USERDATA,A)}}else this.fragmentTracker.removeFragment(l)}else this.resetWhenMissingContext(a)},r._bufferInitSegment=function(t,e,r,i){if(this.state===bi){e.video&&delete e.video;var n=e.audio;if(n){n.id="audio";var a=t.audioCodec;this.log("Init audio buffer, container:"+n.container+", codecs[level/parsed]=["+a+"/"+n.codec+"]"),a&&1===a.split(",").length&&(n.levelCodec=a),this.hls.trigger(S.BUFFER_CODECS,e);var s=n.initSegment;if(null!=s&&s.byteLength){var o={type:"audio",frag:r,part:null,chunkMeta:i,parent:r.type,data:s};this.hls.trigger(S.BUFFER_APPENDING,o)}this.tickImmediate()}}},r.loadFragment=function(e,r,i){var n,a=this.fragmentTracker.getState(e);if(this.fragCurrent=e,this.switchingTrack||a===Xr||a===Qr)if("initSegment"===e.sn)this._loadInitSegment(e,r);else if(null!=(n=r.details)&&n.live&&!this.initPTS[e.cc]){this.log("Waiting for video PTS in continuity counter "+e.cc+" of live stream before loading audio fragment "+e.sn+" of level "+this.trackId),this.state=wi;var s=this.mainDetails;s&&s.fragments[0].start!==r.details.fragments[0].start&&li(r.details,s)}else this.startFragRequested=!0,t.prototype.loadFragment.call(this,e,r,i);else this.clearTrackerIfNeeded(e)},r.flushAudioIfNeeded=function(e){var r=this.media,i=this.bufferedTrack,n=null==i?void 0:i.attrs,a=e.attrs;r&&n&&(n.CHANNELS!==a.CHANNELS||i.name!==e.name||i.lang!==e.lang)&&(this.log("Switching audio track : flushing all audio"),t.prototype.flushMainBuffer.call(this,0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null)},r.completeAudioSwitch=function(t){var e=this.hls;this.flushAudioIfNeeded(t),this.bufferedTrack=t,this.switchingTrack=null,e.trigger(S.AUDIO_TRACK_SWITCHED,i({},t))},e}(_i),$n=function(t){function e(e){var r;return(r=t.call(this,e,"[audio-track-controller]")||this).tracks=[],r.groupIds=null,r.tracksInGroup=[],r.trackId=-1,r.currentTrack=null,r.selectDefaultTrack=!0,r.registerListeners(),r}l(e,t);var r=e.prototype;return r.registerListeners=function(){var t=this.hls;t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.LEVEL_LOADING,this.onLevelLoading,this),t.on(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(S.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(S.ERROR,this.onError,this)},r.unregisterListeners=function(){var t=this.hls;t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.LEVEL_LOADING,this.onLevelLoading,this),t.off(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(S.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(S.ERROR,this.onError,this)},r.destroy=function(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,t.prototype.destroy.call(this)},r.onManifestLoading=function(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0},r.onManifestParsed=function(t,e){this.tracks=e.audioTracks||[]},r.onAudioTrackLoaded=function(t,e){var r=e.id,i=e.groupId,n=e.details,a=this.tracksInGroup[r];if(a&&a.groupId===i){var s=a.details;a.details=e.details,this.log("Audio track "+r+' "'+a.name+'" lang:'+a.lang+" group:"+i+" loaded ["+n.startSN+"-"+n.endSN+"]"),r===this.trackId&&this.playlistLoaded(r,e,s)}else this.warn("Audio track with id:"+r+" and group:"+i+" not found in active group "+(null==a?void 0:a.groupId))},r.onLevelLoading=function(t,e){this.switchLevel(e.level)},r.onLevelSwitching=function(t,e){this.switchLevel(e.level)},r.switchLevel=function(t){var e=this.hls.levels[t];if(e){var r=e.audioGroups||null,i=this.groupIds,n=this.currentTrack;if(!r||(null==i?void 0:i.length)!==(null==r?void 0:r.length)||null!=r&&r.some((function(t){return-1===(null==i?void 0:i.indexOf(t))}))){this.groupIds=r,this.trackId=-1,this.currentTrack=null;var a=this.tracks.filter((function(t){return!r||-1!==r.indexOf(t.groupId)}));if(a.length)this.selectDefaultTrack&&!a.some((function(t){return t.default}))&&(this.selectDefaultTrack=!1),a.forEach((function(t,e){t.id=e}));else if(!n&&!this.tracksInGroup.length)return;this.tracksInGroup=a;var s=this.hls.config.audioPreference;if(!n&&s){var o=Hr(s,a,Yr);if(o>-1)n=a[o];else{var l=Hr(s,this.tracks);n=this.tracks[l]}}var u=this.findTrackId(n);-1===u&&n&&(u=this.findTrackId(null));var h={audioTracks:a};this.log("Updating audio tracks, "+a.length+" track(s) found in group(s): "+(null==r?void 0:r.join(","))),this.hls.trigger(S.AUDIO_TRACKS_UPDATED,h);var d=this.trackId;if(-1!==u&&-1===d)this.setAudioTrack(u);else if(a.length&&-1===d){var c,f=new Error("No audio track selected for current audio group-ID(s): "+(null==(c=this.groupIds)?void 0:c.join(","))+" track count: "+a.length);this.warn(f.message),this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:f})}}else this.shouldReloadPlaylist(n)&&this.setAudioTrack(this.trackId)}},r.onError=function(t,e){!e.fatal&&e.context&&(e.context.type!==xe||e.context.id!==this.trackId||this.groupIds&&-1===this.groupIds.indexOf(e.context.groupId)||(this.requestScheduled=-1,this.checkRetry(e)))},r.setAudioOption=function(t){var e=this.hls;if(e.config.audioPreference=t,t){var r=this.allAudioTracks;if(this.selectDefaultTrack=!1,r.length){var i=this.currentTrack;if(i&&Vr(t,i,Yr))return i;var n=Hr(t,this.tracksInGroup,Yr);if(n>-1){var a=this.tracksInGroup[n];return this.setAudioTrack(n),a}if(i){var s=e.loadLevel;-1===s&&(s=e.firstAutoLevel);var o=function(t,e,r,i,n){var a=e[i],s=e.reduce((function(t,e,r){var i=e.uri;return(t[i]||(t[i]=[])).push(r),t}),{})[a.uri];s.length>1&&(i=Math.max.apply(Math,s));var o=a.videoRange,l=a.frameRate,u=a.codecSet.substring(0,4),h=Wr(e,i,(function(e){if(e.videoRange!==o||e.frameRate!==l||e.codecSet.substring(0,4)!==u)return!1;var i=e.audioGroups,a=r.filter((function(t){return!i||-1!==i.indexOf(t.groupId)}));return Hr(t,a,n)>-1}));return h>-1?h:Wr(e,i,(function(e){var i=e.audioGroups,a=r.filter((function(t){return!i||-1!==i.indexOf(t.groupId)}));return Hr(t,a,n)>-1}))}(t,e.levels,r,s,Yr);if(-1===o)return null;e.nextLoadLevel=o}if(t.channels||t.audioCodec){var l=Hr(t,r);if(l>-1)return r[l]}}}return null},r.setAudioTrack=function(t){var e=this.tracksInGroup;if(t<0||t>=e.length)this.warn("Invalid audio track id: "+t);else{this.clearTimer(),this.selectDefaultTrack=!1;var r=this.currentTrack,n=e[t],a=n.details&&!n.details.live;if(!(t===this.trackId&&n===r&&a||(this.log("Switching to audio-track "+t+' "'+n.name+'" lang:'+n.lang+" group:"+n.groupId+" channels:"+n.channels),this.trackId=t,this.currentTrack=n,this.hls.trigger(S.AUDIO_TRACK_SWITCHING,i({},n)),a))){var s=this.switchParams(n.url,null==r?void 0:r.details,n.details);this.loadPlaylist(s)}}},r.findTrackId=function(t){for(var e=this.tracksInGroup,r=0;r<e.length;r++){var i=e[r];if((!this.selectDefaultTrack||i.default)&&(!t||Vr(t,i,Yr)))return r}if(t){for(var n=t.name,a=t.lang,s=t.assocLang,o=t.characteristics,l=t.audioCodec,u=t.channels,h=0;h<e.length;h++)if(Vr({name:n,lang:a,assocLang:s,characteristics:o,audioCodec:l,channels:u},e[h],Yr))return h;for(var d=0;d<e.length;d++){var c=e[d];if(zn(t.attrs,c.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return d}for(var f=0;f<e.length;f++){var g=e[f];if(zn(t.attrs,g.attrs,["LANGUAGE"]))return f}}return-1},r.loadPlaylist=function(e){var r=this.currentTrack;if(this.shouldLoadPlaylist(r)&&r){t.prototype.loadPlaylist.call(this);var i=r.id,n=r.groupId,a=r.url;if(e)try{a=e.addDirectives(a)}catch(t){this.warn("Could not construct new URL with HLS Delivery Directives: "+t)}this.log("loading audio-track playlist "+i+' "'+r.name+'" lang:'+r.lang+" group:"+n),this.clearTimer(),this.hls.trigger(S.AUDIO_TRACK_LOADING,{url:a,id:i,groupId:n,deliveryDirectives:e||null})}},s(e,[{key:"allAudioTracks",get:function(){return this.tracks}},{key:"audioTracks",get:function(){return this.tracksInGroup}},{key:"audioTrack",get:function(){return this.trackId},set:function(t){this.selectDefaultTrack=!1,this.setAudioTrack(t)}}]),e}(Fr),Zn=function(t){function e(e,r,i){var n;return(n=t.call(this,e,r,i,"[subtitle-stream-controller]",Oe)||this).currentTrackId=-1,n.tracksBuffered=[],n.mainDetails=null,n._registerListeners(),n}l(e,t);var r=e.prototype;return r.onHandlerDestroying=function(){this._unregisterListeners(),t.prototype.onHandlerDestroying.call(this),this.mainDetails=null},r._registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this),t.on(S.ERROR,this.onError,this),t.on(S.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(S.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(S.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(S.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.on(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this)},r._unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this),t.off(S.ERROR,this.onError,this),t.off(S.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(S.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(S.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(S.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.off(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this)},r.startLoad=function(t){this.stopLoad(),this.state=Ti,this.setInterval(500),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()},r.onManifestLoading=function(){this.mainDetails=null,this.fragmentTracker.removeAllFragments()},r.onMediaDetaching=function(){this.tracksBuffered=[],t.prototype.onMediaDetaching.call(this)},r.onLevelLoaded=function(t,e){this.mainDetails=e.details},r.onSubtitleFragProcessed=function(t,e){var r=e.frag,i=e.success;if(this.fragPrevious=r,this.state=Ti,i){var n=this.tracksBuffered[this.currentTrackId];if(n){for(var a,s=r.start,o=0;o<n.length;o++)if(s>=n[o].start&&s<=n[o].end){a=n[o];break}var l=r.start+r.duration;a?a.end=l:(a={start:s,end:l},n.push(a)),this.fragmentTracker.fragBuffered(r),this.fragBufferedComplete(r,null)}}},r.onBufferFlushing=function(t,e){var r=e.startOffset,i=e.endOffset;if(0===r&&i!==Number.POSITIVE_INFINITY){var n=i-1;if(n<=0)return;e.endOffsetSubtitles=Math.max(0,n),this.tracksBuffered.forEach((function(t){for(var e=0;e<t.length;)if(t[e].end<=n)t.shift();else{if(!(t[e].start<n))break;t[e].start=n,e++}})),this.fragmentTracker.removeFragmentsInRange(r,n,Oe)}},r.onFragBuffered=function(t,e){var r;this.loadedmetadata||e.frag.type!==Fe||null!=(r=this.media)&&r.buffered.length&&(this.loadedmetadata=!0)},r.onError=function(t,e){var r=e.frag;(null==r?void 0:r.type)===Oe&&(e.details===A.FRAG_GAP&&this.fragmentTracker.fragBuffered(r,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==Ei&&(this.state=Ti))},r.onSubtitleTracksUpdated=function(t,e){var r=this,i=e.subtitleTracks;this.levels&&Xn(this.levels,i)?this.levels=i.map((function(t){return new or(t)})):(this.tracksBuffered=[],this.levels=i.map((function(t){var e=new or(t);return r.tracksBuffered[e.id]=[],e})),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,Oe),this.fragPrevious=null,this.mediaBuffer=null)},r.onSubtitleTrackSwitch=function(t,e){var r;if(this.currentTrackId=e.id,null!=(r=this.levels)&&r.length&&-1!==this.currentTrackId){var i=this.levels[this.currentTrackId];null!=i&&i.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,i&&this.setInterval(500)}else this.clearInterval()},r.onSubtitleTrackLoaded=function(t,e){var r,i=this.currentTrackId,n=this.levels,a=e.details,s=e.id;if(n){var o=n[s];if(!(s>=n.length)&&o){this.log("Subtitle track "+s+" loaded ["+a.startSN+","+a.endSN+"]"+(a.lastPartSn?"[part-"+a.lastPartSn+"-"+a.lastPartIndex+"]":"")+",duration:"+a.totalduration),this.mediaBuffer=this.mediaBufferTimeRanges;var l=0;if(a.live||null!=(r=o.details)&&r.live){var u=this.mainDetails;if(a.deltaUpdateFailed||!u)return;var h,d=u.fragments[0];o.details?0===(l=this.alignPlaylists(a,o.details,null==(h=this.levelLastLoaded)?void 0:h.details))&&d&&fr(a,l=d.start):a.hasProgramDateTime&&u.hasProgramDateTime?(li(a,u),l=a.fragments[0].start):d&&fr(a,l=d.start)}o.details=a,this.levelLastLoaded=o,s===i&&(this.startFragRequested||!this.mainDetails&&a.live||this.setStartPosition(this.mainDetails||a,l),this.tick(),a.live&&!this.fragCurrent&&this.media&&this.state===Ti&&(Ar(null,a.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),o.details=void 0)))}}else this.warn("Subtitle tracks were reset while loading level "+s)},r._handleFragmentLoadComplete=function(t){var e=this,r=t.frag,i=t.payload,n=r.decryptdata,a=this.hls;if(!this.fragContextChanged(r)&&i&&i.byteLength>0&&null!=n&&n.key&&n.iv&&"AES-128"===n.method){var s=performance.now();this.decrypter.decrypt(new Uint8Array(i),n.key.buffer,n.iv.buffer).catch((function(t){throw a.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.FRAG_DECRYPT_ERROR,fatal:!1,error:t,reason:t.message,frag:r}),t})).then((function(t){var e=performance.now();a.trigger(S.FRAG_DECRYPTED,{frag:r,payload:t,stats:{tstart:s,tdecrypt:e}})})).catch((function(t){e.warn(t.name+": "+t.message),e.state=Ti}))}},r.doTick=function(){if(this.media){if(this.state===Ti){var t=this.currentTrackId,e=this.levels,r=null==e?void 0:e[t];if(!r||!e.length||!r.details)return;var i=this.config,n=this.getLoadPosition(),a=ri.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],n,i.maxBufferHole),s=a.end,o=a.len,l=this.getFwdBufferInfo(this.media,Fe),u=r.details;if(o>this.getMaxBufferLength(null==l?void 0:l.len)+u.levelTargetDuration)return;var h=u.fragments,d=h.length,c=u.edge,f=null,g=this.fragPrevious;if(s<c){var v=i.maxFragLookUpTolerance,m=s>c-v?0:v;!(f=Ar(g,h,Math.max(h[0].start,s),m))&&g&&g.start<h[0].start&&(f=h[0])}else f=h[d-1];if(!f)return;if("initSegment"!==(f=this.mapToInitFragWhenRequired(f)).sn){var p=h[f.sn-u.startSN-1];p&&p.cc===f.cc&&this.fragmentTracker.getState(p)===Xr&&(f=p)}this.fragmentTracker.getState(f)===Xr&&this.loadFragment(f,r,s)}}else this.state=Ti},r.getMaxBufferLength=function(e){var r=t.prototype.getMaxBufferLength.call(this);return e?Math.max(r,e):r},r.loadFragment=function(e,r,i){this.fragCurrent=e,"initSegment"===e.sn?this._loadInitSegment(e,r):(this.startFragRequested=!0,t.prototype.loadFragment.call(this,e,r,i))},s(e,[{key:"mediaBufferTimeRanges",get:function(){return new ta(this.tracksBuffered[this.currentTrackId]||[])}}]),e}(_i),ta=function(t){this.buffered=void 0;var e=function(e,r,i){if((r>>>=0)>i-1)throw new DOMException("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+r+") is greater than the maximum bound ("+i+")");return t[r][e]};this.buffered={get length(){return t.length},end:function(r){return e("end",r,t.length)},start:function(r){return e("start",r,t.length)}}},ea=function(t){function e(e){var r;return(r=t.call(this,e,"[subtitle-track-controller]")||this).media=null,r.tracks=[],r.groupIds=null,r.tracksInGroup=[],r.trackId=-1,r.currentTrack=null,r.selectDefaultTrack=!0,r.queuedDefaultTrack=-1,r.asyncPollTrackChange=function(){return r.pollTrackChange(0)},r.useTextTrackPolling=!1,r.subtitlePollingInterval=-1,r._subtitleDisplay=!0,r.onTextTracksChanged=function(){if(r.useTextTrackPolling||self.clearInterval(r.subtitlePollingInterval),r.media&&r.hls.config.renderTextTracksNatively){for(var t=null,e=Ye(r.media.textTracks),i=0;i<e.length;i++)if("hidden"===e[i].mode)t=e[i];else if("showing"===e[i].mode){t=e[i];break}var n=r.findTrackForTextTrack(t);r.subtitleTrack!==n&&r.setSubtitleTrack(n)}},r.registerListeners(),r}l(e,t);var r=e.prototype;return r.destroy=function(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,this.onTextTracksChanged=this.asyncPollTrackChange=null,t.prototype.destroy.call(this)},r.registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.LEVEL_LOADING,this.onLevelLoading,this),t.on(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(S.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(S.ERROR,this.onError,this)},r.unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.LEVEL_LOADING,this.onLevelLoading,this),t.off(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(S.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(S.ERROR,this.onError,this)},r.onMediaAttached=function(t,e){this.media=e.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))},r.pollTrackChange=function(t){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,t)},r.onMediaDetaching=function(){this.media&&(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||this.media.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),Ye(this.media.textTracks).forEach((function(t){He(t)})),this.subtitleTrack=-1,this.media=null)},r.onManifestLoading=function(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0},r.onManifestParsed=function(t,e){this.tracks=e.subtitleTracks},r.onSubtitleTrackLoaded=function(t,e){var r=e.id,i=e.groupId,n=e.details,a=this.tracksInGroup[r];if(a&&a.groupId===i){var s=a.details;a.details=e.details,this.log("Subtitle track "+r+' "'+a.name+'" lang:'+a.lang+" group:"+i+" loaded ["+n.startSN+"-"+n.endSN+"]"),r===this.trackId&&this.playlistLoaded(r,e,s)}else this.warn("Subtitle track with id:"+r+" and group:"+i+" not found in active group "+(null==a?void 0:a.groupId))},r.onLevelLoading=function(t,e){this.switchLevel(e.level)},r.onLevelSwitching=function(t,e){this.switchLevel(e.level)},r.switchLevel=function(t){var e=this.hls.levels[t];if(e){var r=e.subtitleGroups||null,i=this.groupIds,n=this.currentTrack;if(!r||(null==i?void 0:i.length)!==(null==r?void 0:r.length)||null!=r&&r.some((function(t){return-1===(null==i?void 0:i.indexOf(t))}))){this.groupIds=r,this.trackId=-1,this.currentTrack=null;var a=this.tracks.filter((function(t){return!r||-1!==r.indexOf(t.groupId)}));if(a.length)this.selectDefaultTrack&&!a.some((function(t){return t.default}))&&(this.selectDefaultTrack=!1),a.forEach((function(t,e){t.id=e}));else if(!n&&!this.tracksInGroup.length)return;this.tracksInGroup=a;var s=this.hls.config.subtitlePreference;if(!n&&s){this.selectDefaultTrack=!1;var o=Hr(s,a);if(o>-1)n=a[o];else{var l=Hr(s,this.tracks);n=this.tracks[l]}}var u=this.findTrackId(n);-1===u&&n&&(u=this.findTrackId(null));var h={subtitleTracks:a};this.log("Updating subtitle tracks, "+a.length+' track(s) found in "'+(null==r?void 0:r.join(","))+'" group-id'),this.hls.trigger(S.SUBTITLE_TRACKS_UPDATED,h),-1!==u&&-1===this.trackId&&this.setSubtitleTrack(u)}else this.shouldReloadPlaylist(n)&&this.setSubtitleTrack(this.trackId)}},r.findTrackId=function(t){for(var e=this.tracksInGroup,r=this.selectDefaultTrack,i=0;i<e.length;i++){var n=e[i];if((!r||n.default)&&(r||t)&&(!t||Vr(n,t)))return i}if(t){for(var a=0;a<e.length;a++){var s=e[a];if(zn(t.attrs,s.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return a}for(var o=0;o<e.length;o++){var l=e[o];if(zn(t.attrs,l.attrs,["LANGUAGE"]))return o}}return-1},r.findTrackForTextTrack=function(t){if(t)for(var e=this.tracksInGroup,r=0;r<e.length;r++)if(Qn(e[r],t))return r;return-1},r.onError=function(t,e){!e.fatal&&e.context&&(e.context.type!==Pe||e.context.id!==this.trackId||this.groupIds&&-1===this.groupIds.indexOf(e.context.groupId)||this.checkRetry(e))},r.setSubtitleOption=function(t){if(this.hls.config.subtitlePreference=t,t){var e=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,e.length){var r=this.currentTrack;if(r&&Vr(t,r))return r;var i=Hr(t,this.tracksInGroup);if(i>-1){var n=this.tracksInGroup[i];return this.setSubtitleTrack(i),n}if(r)return null;var a=Hr(t,e);if(a>-1)return e[a]}}return null},r.loadPlaylist=function(e){t.prototype.loadPlaylist.call(this);var r=this.currentTrack;if(this.shouldLoadPlaylist(r)&&r){var i=r.id,n=r.groupId,a=r.url;if(e)try{a=e.addDirectives(a)}catch(t){this.warn("Could not construct new URL with HLS Delivery Directives: "+t)}this.log("Loading subtitle playlist for id "+i),this.hls.trigger(S.SUBTITLE_TRACK_LOADING,{url:a,id:i,groupId:n,deliveryDirectives:e||null})}},r.toggleTrackModes=function(){var t=this.media;if(t){var e,r=Ye(t.textTracks),i=this.currentTrack;if(i&&((e=r.filter((function(t){return Qn(i,t)}))[0])||this.warn('Unable to find subtitle TextTrack with name "'+i.name+'" and language "'+i.lang+'"')),[].slice.call(r).forEach((function(t){"disabled"!==t.mode&&t!==e&&(t.mode="disabled")})),e){var n=this.subtitleDisplay?"showing":"hidden";e.mode!==n&&(e.mode=n)}}},r.setSubtitleTrack=function(t){var e=this.tracksInGroup;if(this.media)if(t<-1||t>=e.length||!y(t))this.warn("Invalid subtitle track id: "+t);else{this.clearTimer(),this.selectDefaultTrack=!1;var r=this.currentTrack,i=e[t]||null;if(this.trackId=t,this.currentTrack=i,this.toggleTrackModes(),i){var n=!!i.details&&!i.details.live;if(t!==this.trackId||i!==r||!n){this.log("Switching to subtitle-track "+t+(i?' "'+i.name+'" lang:'+i.lang+" group:"+i.groupId:""));var a=i.id,s=i.groupId,o=void 0===s?"":s,l=i.name,u=i.type,h=i.url;this.hls.trigger(S.SUBTITLE_TRACK_SWITCH,{id:a,groupId:o,name:l,type:u,url:h});var d=this.switchParams(i.url,null==r?void 0:r.details,i.details);this.loadPlaylist(d)}}else this.hls.trigger(S.SUBTITLE_TRACK_SWITCH,{id:t})}else this.queuedDefaultTrack=t},s(e,[{key:"subtitleDisplay",get:function(){return this._subtitleDisplay},set:function(t){this._subtitleDisplay=t,this.trackId>-1&&this.toggleTrackModes()}},{key:"allSubtitleTracks",get:function(){return this.tracks}},{key:"subtitleTracks",get:function(){return this.tracksInGroup}},{key:"subtitleTrack",get:function(){return this.trackId},set:function(t){this.selectDefaultTrack=!1,this.setSubtitleTrack(t)}}]),e}(Fr),ra=function(){function t(t){this.buffers=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.buffers=t}var e=t.prototype;return e.append=function(t,e,r){var i=this.queues[e];i.push(t),1!==i.length||r||this.executeNext(e)},e.insertAbort=function(t,e){this.queues[e].unshift(t),this.executeNext(e)},e.appendBlocker=function(t){var e,r=new Promise((function(t){e=t})),i={execute:e,onStart:function(){},onComplete:function(){},onError:function(){}};return this.append(i,t),r},e.executeNext=function(t){var e=this.queues[t];if(e.length){var r=e[0];try{r.execute()}catch(e){w.warn('[buffer-operation-queue]: Exception executing "'+t+'" SourceBuffer operation: '+e),r.onError(e);var i=this.buffers[t];null!=i&&i.updating||this.shiftAndExecuteNext(t)}}},e.shiftAndExecuteNext=function(t){this.queues[t].shift(),this.executeNext(t)},e.current=function(t){return this.queues[t][0]},t}(),ia=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,na=function(){function t(t){var e=this;this.details=null,this._objectUrl=null,this.operationQueue=void 0,this.listeners=void 0,this.hls=void 0,this.bufferCodecEventsExpected=0,this._bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.appendSource=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.pendingTracks={},this.sourceBuffer=void 0,this.log=void 0,this.warn=void 0,this.error=void 0,this._onEndStreaming=function(t){e.hls&&e.hls.pauseBuffering()},this._onStartStreaming=function(t){e.hls&&e.hls.resumeBuffering()},this._onMediaSourceOpen=function(){var t=e.media,r=e.mediaSource;e.log("Media source opened"),t&&(t.removeEventListener("emptied",e._onMediaEmptied),e.updateMediaElementDuration(),e.hls.trigger(S.MEDIA_ATTACHED,{media:t,mediaSource:r})),r&&r.removeEventListener("sourceopen",e._onMediaSourceOpen),e.checkPendingTracks()},this._onMediaSourceClose=function(){e.log("Media source closed")},this._onMediaSourceEnded=function(){e.log("Media source ended")},this._onMediaEmptied=function(){var t=e.mediaSrc,r=e._objectUrl;t!==r&&w.error("Media element src was set while attaching MediaSource ("+r+" > "+t+")")},this.hls=t;var r,i="[buffer-controller]";this.appendSource=(r=se(t.config.preferManagedMediaSource),"undefined"!=typeof self&&r===self.ManagedMediaSource),this.log=w.log.bind(w,i),this.warn=w.warn.bind(w,i),this.error=w.error.bind(w,i),this._initSourceBuffer(),this.registerListeners()}var e=t.prototype;return e.hasSourceTypes=function(){return this.getSourceBufferTypes().length>0||Object.keys(this.pendingTracks).length>0},e.destroy=function(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=null,this.hls=null},e.registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.BUFFER_RESET,this.onBufferReset,this),t.on(S.BUFFER_APPENDING,this.onBufferAppending,this),t.on(S.BUFFER_CODECS,this.onBufferCodecs,this),t.on(S.BUFFER_EOS,this.onBufferEos,this),t.on(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(S.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(S.FRAG_PARSED,this.onFragParsed,this),t.on(S.FRAG_CHANGED,this.onFragChanged,this)},e.unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.BUFFER_RESET,this.onBufferReset,this),t.off(S.BUFFER_APPENDING,this.onBufferAppending,this),t.off(S.BUFFER_CODECS,this.onBufferCodecs,this),t.off(S.BUFFER_EOS,this.onBufferEos,this),t.off(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(S.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(S.FRAG_PARSED,this.onFragParsed,this),t.off(S.FRAG_CHANGED,this.onFragChanged,this)},e._initSourceBuffer=function(){this.sourceBuffer={},this.operationQueue=new ra(this.sourceBuffer),this.listeners={audio:[],video:[],audiovideo:[]},this.appendErrors={audio:0,video:0,audiovideo:0},this.lastMpegAudioChunk=null},e.onManifestLoading=function(){this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=0,this.details=null},e.onManifestParsed=function(t,e){var r=2;(e.audio&&!e.video||!e.altAudio)&&(r=1),this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=r,this.log(this.bufferCodecEventsExpected+" bufferCodec event
30(s) expected")},e.onMediaAttaching=function(t,e){var r=this.media=e.media,i=se(this.appendSource);if(r&&i){var n,a=this.mediaSource=new i;this.log("created media source: "+(null==(n=a.constructor)?void 0:n.name)),a.addEventListener("sourceopen",this._onMediaSourceOpen),a.addEventListener("sourceended",this._onMediaSourceEnded),a.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(a.addEventListener("startstreaming",this._onStartStreaming),a.addEventListener("endstreaming",this._onEndStreaming));var s=this._objectUrl=self.URL.createObjectURL(a);if(this.appendSource)try{r.removeAttribute("src");var o=self.ManagedMediaSource;r.disableRemotePlayback=r.disableRemotePlayback||o&&a instanceof o,aa(r),function(t,e){var r=self.document.createElement("source");r.type="video/mp4",r.src=e,t.appendChild(r)}(r,s),r.load()}catch(t){r.src=s}else r.src=s;r.addEventListener("emptied",this._onMediaEmptied)}},e.onMediaDetaching=function(){var t=this.media,e=this.mediaSource,r=this._objectUrl;if(e){if(this.log("media source detaching"),"open"===e.readyState)try{e.endOfStream()}catch(t){this.warn("onMediaDetaching: "+t.message+" while calling endOfStream")}this.onBufferReset(),e.removeEventListener("sourceopen",this._onMediaSourceOpen),e.removeEventListener("sourceended",this._onMediaSourceEnded),e.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(e.removeEventListener("startstreaming",this._onStartStreaming),e.removeEventListener("endstreaming",this._onEndStreaming)),t&&(t.removeEventListener("emptied",this._onMediaEmptied),r&&self.URL.revokeObjectURL(r),this.mediaSrc===r?(t.removeAttribute("src"),this.appendSource&&aa(t),t.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.bufferCodecEventsExpected=this._bufferCodecEventsTotal,this.pendingTracks={},this.tracks={}}this.hls.trigger(S.MEDIA_DETACHED,void 0)},e.onBufferReset=function(){var t=this;this.getSourceBufferTypes().forEach((function(e){t.resetBuffer(e)})),this._initSourceBuffer()},e.resetBuffer=function(t){var e=this.sourceBuffer[t];try{var r;e&&(this.removeBufferListeners(t),this.sourceBuffer[t]=void 0,null!=(r=this.mediaSource)&&r.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(e))}catch(e){this.warn("onBufferReset "+t,e)}},e.onBufferCodecs=function(t,e){var r=this,i=this.getSourceBufferTypes().length,n=Object.keys(e);if(n.forEach((function(t){if(i){var n=r.tracks[t];if(n&&"function"==typeof n.buffer.changeType){var a,s=e[t],o=s.id,l=s.codec,u=s.levelCodec,h=s.container,d=s.metadata,c=me(n.codec,n.levelCodec),f=null==c?void 0:c.replace(ia,"$1"),g=me(l,u),v=null==(a=g)?void 0:a.replace(ia,"$1");if(g&&f!==v){"audio"===t.slice(0,5)&&(g=ve(g,r.appendSource));var m=h+";codecs="+g;r.appendChangeType(t,m),r.log("switching codec "+c+" to "+g),r.tracks[t]={buffer:n.buffer,codec:l,container:h,levelCodec:u,metadata:d,id:o}}}}else r.pendingTracks[t]=e[t]})),!i){var a=Math.max(this.bufferCodecEventsExpected-1,0);this.bufferCodecEventsExpected!==a&&(this.log(a+" bufferCodec event(s) expected "+n.join(",")),this.bufferCodecEventsExpected=a),this.mediaSource&&"open"===this.mediaSource.readyState&&this.checkPendingTracks()}},e.appendChangeType=function(t,e){var r=this,i=this.operationQueue,n={execute:function(){var n=r.sourceBuffer[t];n&&(r.log("changing "+t+" sourceBuffer type to "+e),n.changeType(e)),i.shiftAndExecuteNext(t)},onStart:function(){},onComplete:function(){},onError:function(e){r.warn("Failed to change "+t+" SourceBuffer type",e)}};i.append(n,t,!!this.pendingTracks[t])},e.onBufferAppending=function(t,e){var r=this,i=this.hls,n=this.operationQueue,a=this.tracks,s=e.data,o=e.type,l=e.frag,u=e.part,h=e.chunkMeta,d=h.buffering[o],c=self.performance.now();d.start=c;var f=l.stats.buffering,g=u?u.stats.buffering:null;0===f.start&&(f.start=c),g&&0===g.start&&(g.start=c);var v=a.audio,m=!1;"audio"===o&&"audio/mpeg"===(null==v?void 0:v.container)&&(m=!this.lastMpegAudioChunk||1===h.id||this.lastMpegAudioChunk.sn!==h.sn,this.lastMpegAudioChunk=h);var p=l.start,y={execute:function(){if(d.executeStart=self.performance.now(),m){var t=r.sourceBuffer[o];if(t){var e=p-t.timestampOffset;Math.abs(e)>
vendor: 8,031 bytes, line 30
30=.1&&(r.log("Updating audio SourceBuffer timestampOffset to "+p+" (delta: "+e+") sn: "+l.sn+")"),t.timestampOffset=p)}}r.appendExecutor(s,o)},onStart:function(){},onComplete:function(){var t=self.performance.now();d.executeEnd=d.end=t,0===f.first&&(f.first=t),g&&0===g.first&&(g.first=t);var e=r.sourceBuffer,i={};for(var n in e)i[n]=ri.getBuffered(e[n]);r.appendErrors[o]=0,"audio"===o||"video"===o?r.appendErrors.audiovideo=0:(r.appendErrors.audio=0,r.appendErrors.video=0),r.hls.trigger(S.BUFFER_APPENDED,{type:o,frag:l,part:u,chunkMeta:h,parent:l.type,timeRanges:i})},onError:function(t){var e={type:L.MEDIA_ERROR,parent:l.type,details:A.BUFFER_APPEND_ERROR,sourceBufferName:o,frag:l,part:u,chunkMeta:h,error:t,err:t,fatal:!1};if(t.code===DOMException.QUOTA_EXCEEDED_ERR)e.details=A.BUFFER_FULL_ERROR;else{var n=++r.appendErrors[o];e.details=A.BUFFER_APPEND_ERROR,r.warn("Failed "+n+"/"+i.config.appendErrorMaxRetry+' times to append segment in "'+o+'" sourceBuffer'),n>=i.config.appendErrorMaxRetry&&(e.fatal=!0)}i.trigger(S.ERROR,e)}};n.append(y,o,!!this.pendingTracks[o])},e.onBufferFlushing=function(t,e){var r=this,i=this.operationQueue,n=function(t){return{execute:r.removeExecutor.bind(r,t,e.startOffset,e.endOffset),onStart:function(){},onComplete:function(){r.hls.trigger(S.BUFFER_FLUSHED,{type:t})},onError:function(e){r.warn("Failed to remove from "+t+" SourceBuffer",e)}}};e.type?i.append(n(e.type),e.type):this.getSourceBufferTypes().forEach((function(t){i.append(n(t),t)}))},e.onFragParsed=function(t,e){var r=this,i=e.frag,n=e.part,a=[],s=n?n.elementaryStreams:i.elementaryStreams;s[U]?a.push("audiovideo"):(s[O]&&a.push("audio"),s[N]&&a.push("video")),0===a.length&&this.warn("Fragments must have at least one ElementaryStreamType set. type: "+i.type+" level: "+i.level+" sn: "+i.sn),this.blockBuffers((function(){var t=self.performance.now();i.stats.buffering.end=t,n&&(n.stats.buffering.end=t);var e=n?n.stats:i.stats;r.hls.trigger(S.FRAG_BUFFERED,{frag:i,part:n,stats:e,id:i.type})}),a)},e.onFragChanged=function(t,e){this.trimBuffers()},e.onBufferEos=function(t,e){var r=this;this.getSourceBufferTypes().reduce((function(t,i){var n=r.sourceBuffer[i];return!n||e.type&&e.type!==i||(n.ending=!0,n.ended||(n.ended=!0,r.log(i+" sourceBuffer now EOS"))),t&&!(n&&!n.ended)}),!0)&&(this.log("Queueing mediaSource.endOfStream()"),this.blockBuffers((function(){r.getSourceBufferTypes().forEach((function(t){var e=r.sourceBuffer[t];e&&(e.ending=!1)}));var t=r.mediaSource;t&&"open"===t.readyState?(r.log("Calling mediaSource.endOfStream()"),t.endOfStream()):t&&r.log("Could not call mediaSource.endOfStream(). mediaSource.readyState: "+t.readyState)})))},e.onLevelUpdated=function(t,e){var r=e.details;r.fragments.length&&(this.details=r,this.getSourceBufferTypes().length?this.blockBuffers(this.updateMediaElementDuration.bind(this)):this.updateMediaElementDuration())},e.trimBuffers=function(){var t=this.hls,e=this.details,r=this.media;if(r&&null!==e&&this.getSourceBufferTypes().length){var i=t.config,n=r.currentTime,a=e.levelTargetDuration,s=e.live&&null!==i.liveBackBufferLength?i.liveBackBufferLength:i.backBufferLength;if(y(s)&&s>0){var o=Math.max(s,a),l=Math.floor(n/a)*a-o;this.flushBackBuffer(n,a,l)}if(y(i.frontBufferFlushThreshold)&&i.frontBufferFlushThreshold>0){var u=Math.max(i.maxBufferLength,i.frontBufferFlushThreshold),h=Math.max(u,a),d=Math.floor(n/a)*a+h;this.flushFrontBuffer(n,a,d)}}},e.flushBackBuffer=function(t,e,r){var i=this,n=this.details,a=this.sourceBuffer;this.getSourceBufferTypes().forEach((function(s){var o=a[s];if(o){var l=ri.getBuffered(o);if(l.length>0&&r>l.start(0)){if(i.hls.trigger(S.BACK_BUFFER_REACHED,{bufferEnd:r}),null!=n&&n.live)i.hls.trigger(S.LIVE_BACK_BUFFER_REACHED,{bufferEnd:r});else if(o.ended&&l.end(l.length-1)-t<2*e)return void i.log("Cannot flush "+s+" back buffer while SourceBuffer is in ended state");i.hls.trigger(S.BUFFER_FLUSHING,{startOffset:0,endOffset:r,type:s})}}}))},e.flushFrontBuffer=function(t,e,r){var i=this,n=this.sourceBuffer;this.getSourceBufferTypes().forEach((function(a){var s=n[a];if(s){var o=ri.getBuffered(s),l=o.length;if(l<2)return;var u=o.start(l-1),h=o.end(l-1);if(r>u||t>=u&&t<=h)return;if(s.ended&&t-h<2*e)return void i.log("Cannot flush "+a+" front buffer while SourceBuffer is in ended state");i.hls.trigger(S.BUFFER_FLUSHING,{startOffset:u,endOffset:1/0,type:a})}}))},e.updateMediaElementDuration=function(){if(this.details&&this.media&&this.mediaSource&&"open"===this.mediaSource.readyState){var t=this.details,e=this.hls,r=this.media,i=this.mediaSource,n=t.fragments[0].start+t.totalduration,a=r.duration,s=y(i.duration)?i.duration:0;t.live&&e.config.liveDurationInfinity?(i.duration=1/0,this.updateSeekableRange(t)):(n>s&&n>a||!y(a))&&(this.log("Updating Media Source duration to "+n.toFixed(3)),i.duration=n)}},e.updateSeekableRange=function(t){var e=this.mediaSource,r=t.fragments;if(r.length&&t.live&&null!=e&&e.setLiveSeekableRange){var i=Math.max(0,r[0].start),n=Math.max(i,i+t.totalduration);this.log("Media Source duration is set to "+e.duration+". Setting seekable range to "+i+"-"+n+"."),e.setLiveSeekableRange(i,n)}},e.checkPendingTracks=function(){var t=this.bufferCodecEventsExpected,e=this.operationQueue,r=this.pendingTracks,i=Object.keys(r).length;if(i&&(!t||2===i||"audiovideo"in r)){this.createSourceBuffers(r),this.pendingTracks={};var n=this.getSourceBufferTypes();if(n.length)this.hls.trigger(S.BUFFER_CREATED,{tracks:this.tracks}),n.forEach((function(t){e.executeNext(t)}));else{var a=new Error("could not create source buffer for media codec(s)");this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:a,reason:a.message})}}},e.createSourceBuffers=function(t){var e=this,r=this.sourceBuffer,i=this.mediaSource;if(!i)throw Error("createSourceBuffers called when mediaSource was null");var n=function(n){if(!r[n]){var a,s=t[n];if(!s)throw Error("source buffer exists for track "+n+", however track does not");var o=-1===(null==(a=s.levelCodec)?void 0:a.indexOf(","))?s.levelCodec:s.codec;o&&"audio"===n.slice(0,5)&&(o=ve(o,e.appendSource));var l=s.container+";codecs="+o;e.log("creating sourceBuffer("+l+")");try{var u=r[n]=i.addSourceBuffer(l),h=n;e.addBufferListener(h,"updatestart",e._onSBUpdateStart),e.addBufferListener(h,"updateend",e._onSBUpdateEnd),e.addBufferListener(h,"error",e._onSBUpdateError),e.appendSource&&e.addBufferListener(h,"bufferedchange",(function(t,r){var i=r.removedRanges;null!=i&&i.length&&e.hls.trigger(S.BUFFER_FLUSHED,{type:n})})),e.tracks[n]={buffer:u,codec:o,container:s.container,levelCodec:s.levelCodec,metadata:s.metadata,id:s.id}}catch(t){e.error("error while trying to add sourceBuffer: "+t.message),e.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:t,sourceBufferName:n,mimeType:l})}}};for(var a in t)n(a)},e._onSBUpdateStart=function(t){this.operationQueue.current(t).onStart()},e._onSBUpdateEnd=function(t){var e;if("closed"!==(null==(e=this.mediaSource)?void 0:e.readyState)){var r=this.operationQueue;r.current(t).onComplete(),r.shiftAndExecuteNext(t)}else this.resetBuffer(t)},e._onSBUpdateError=function(t,e){var r,i=new Error(t+" SourceBuffer error. MediaSource readyState: "+(null==(r=this.mediaSource)?void 0:r.readyState));this.error(""+i,e),this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.BUFFER_APPENDING_ERROR,sourceBufferName:t,error:i,fatal:!1});var n=this.operationQueue.current(t);n&&n.onError(i)},e.removeExecutor=function(t,e,r){var i=this.media,n=this.mediaSource,a=this.operationQueue,s=this.sourceBuffer[t];if(!i||!n||!s)return this.warn("Attempting to remove from the "+t+" SourceBuffer, but it does not exist"),void a.shiftAndExecuteNext(t);var o=y(i.duration)?i.duration:1/0,l=y(n.duration)?n.duration:1/0,u=Math.max(0,e),h=Math.min(r,o,l);h>u&&(!s.ending||s.ended)?(s.ended=!1,this.log("Removing ["+u+","+h+"] from the "+t+" SourceBuffer"),s.remove(u,h)):a.shiftAndExecuteNext(t)},e.appendExecutor=function(t,e){var r=this.sourceBuffer[e];
vendor: 10,866 bytes, line 30
30if(r)r.ended=!1,r.appendBuffer(t);else if(!this.pendingTracks[e])throw new Error("Attempting to append to the "+e+" SourceBuffer, but it does not exist")},e.blockBuffers=function(t,e){var r=this;if(void 0===e&&(e=this.getSourceBufferTypes()),!e.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),void Promise.resolve().then(t);var i=this.operationQueue,n=e.map((function(t){return i.appendBlocker(t)}));Promise.all(n).then((function(){t(),e.forEach((function(t){var e=r.sourceBuffer[t];null!=e&&e.updating||i.shiftAndExecuteNext(t)}))}))},e.getSourceBufferTypes=function(){return Object.keys(this.sourceBuffer)},e.addBufferListener=function(t,e,r){var i=this.sourceBuffer[t];if(i){var n=r.bind(this,t);this.listeners[t].push({event:e,listener:n}),i.addEventListener(e,n)}},e.removeBufferListeners=function(t){var e=this.sourceBuffer[t];e&&this.listeners[t].forEach((function(t){e.removeEventListener(t.event,t.listener)}))},s(t,[{key:"mediaSrc",get:function(){var t,e,r=(null==(t=this.media)||null==(e=t.querySelector)?void 0:e.call(t,"source"))||this.media;return null==r?void 0:r.src}}]),t}();function aa(t){var e=t.querySelectorAll("source");[].slice.call(e).forEach((function(e){t.removeChild(e)}))}var sa={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},oa=function(t){return String.fromCharCode(sa[t]||t)},la=15,ua=100,ha={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},da={17:2,18:4,21:6,22:8,23:10,19:13,20:15},ca={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},fa={25:2,26:4,29:6,30:8,31:10,27:13,28:15},ga=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],va=function(){function t(){this.time=null,this.verboseLevel=0}return t.prototype.log=function(t,e){if(this.verboseLevel>=t){var r="function"==typeof e?e():e;w.log(this.time+" ["+t+"] "+r)}},t}(),ma=function(t){for(var e=[],r=0;r<t.length;r++)e.push(t[r].toString(16));return e},pa=function(){function t(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}var e=t.prototype;return e.reset=function(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1},e.setStyles=function(t){for(var e=["foreground","underline","italics","background","flash"],r=0;r<e.length;r++){var i=e[r];t.hasOwnProperty(i)&&(this[i]=t[i])}},e.isDefault=function(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash},e.equals=function(t){return this.foreground===t.foreground&&this.underline===t.underline&&this.italics===t.italics&&this.background===t.background&&this.flash===t.flash},e.copy=function(t){this.foreground=t.foreground,this.underline=t.underline,this.italics=t.italics,this.background=t.background,this.flash=t.flash},e.toString=function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash},t}(),ya=function(){function t(){this.uchar=" ",this.penState=new pa}var e=t.prototype;return e.reset=function(){this.uchar=" ",this.penState.reset()},e.setChar=function(t,e){this.uchar=t,this.penState.copy(e)},e.setPenState=function(t){this.penState.copy(t)},e.equals=function(t){return this.uchar===t.uchar&&this.penState.equals(t.penState)},e.copy=function(t){this.uchar=t.uchar,this.penState.copy(t.penState)},e.isEmpty=function(){return" "===this.uchar&&this.penState.isDefault()},t}(),Ea=function(){function t(t){this.chars=[],this.pos=0,this.currPenState=new pa,this.cueStartTime=null,this.logger=void 0;for(var e=0;e<ua;e++)this.chars.push(new ya);this.logger=t}var e=t.prototype;return e.equals=function(t){for(var e=0;e<ua;e++)if(!this.chars[e].equals(t.chars[e]))return!1;return!0},e.copy=function(t){for(var e=0;e<ua;e++)this.chars[e].copy(t.chars[e])},e.isEmpty=function(){for(var t=!0,e=0;e<ua;e++)if(!this.chars[e].isEmpty()){t=!1;break}return t},e.setCursor=function(t){this.pos!==t&&(this.pos=t),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>ua&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=ua)},e.moveCursor=function(t){var e=this.pos+t;if(t>1)for(var r=this.pos+1;r<e+1;r++)this.chars[r].setPenState(this.currPenState);this.setCursor(e)},e.backSpace=function(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)},e.insertChar=function(t){var e=this;t>=144&&this.backSpace();var r=oa(t);this.pos>=ua?this.logger.log(0,(function(){return"Cannot insert "+t.toString(16)+" ("+r+") at position "+e.pos+". Skipping it!"})):(this.chars[this.pos].setChar(r,this.currPenState),this.moveCursor(1))},e.clearFromPos=function(t){var e;for(e=t;e<ua;e++)this.chars[e].reset()},e.clear=function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()},e.clearToEndOfRow=function(){this.clearFromPos(this.pos)},e.getTextString=function(){for(var t=[],e=!0,r=0;r<ua;r++){var i=this.chars[r].uchar;" "!==i&&(e=!1),t.push(i)}return e?"":t.join("")},e.setPenStyles=function(t){this.currPenState.setStyles(t),this.chars[this.pos].setPenState(this.currPenState)},t}(),Ta=function(){function t(t){this.rows=[],this.currRow=14,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(var e=0;e<la;e++)this.rows.push(new Ea(t));this.logger=t}var e=t.prototype;return e.reset=function(){for(var t=0;t<la;t++)this.rows[t].clear();this.currRow=14},e.equals=function(t){for(var e=!0,r=0;r<la;r++)if(!this.rows[r].equals(t.rows[r])){e=!1;break}return e},e.copy=function(t){for(var e=0;e<la;e++)this.rows[e].copy(t.rows[e])},e.isEmpty=function(){for(var t=!0,e=0;e<la;e++)if(!this.rows[e].isEmpty()){t=!1;break}return t},e.backSpace=function(){this.rows[this.currRow].backSpace()},e.clearToEndOfRow=function(){this.rows[this.currRow].clearToEndOfRow()},e.insertChar=function(t){this.rows[this.currRow].insertChar(t)},e.setPen=function(t){this.rows[this.currRow].setPenStyles(t)},e.moveCursor=function(t){this.rows[this.currRow].moveCursor(t)},e.setCursor=function(t){this.logger.log(2,"setCursor: "+t),this.rows[this.currRow].setCursor(t)},e.setPAC=function(t){this.logger.log(2,(function(){return"pacData = "+JSON.stringify(t)}));var e=t.row-1;if(this.nrRollUpRows&&e<this.nrRollUpRows-1&&(e=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==e){for(var r=0;r<la;r++)this.rows[r].clear();var i=this.currRow+1-this.nrRollUpRows,n=this.lastOutputScreen;if(n){var a=n.rows[i].cueStartTime,s=this.logger.time;if(null!==a&&null!==s&&a<s)for(var o=0;o<this.nrRollUpRows;o++)this.rows[e-this.nrRollUpRows+o+1].copy(n.rows[i+o])}}this.currRow=e;var l=this.rows[this.currRow];if(null!==t.indent){var u=t.indent,h=Math.max(u-1,0);l.setCursor(t.indent),t.color=l.chars[h].penState.foreground}var d={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(d)},e.setBkgData=function(t){this.logger.log(2,(function(){return"bkgData = "+JSON.stringify(t)})),this.backSpace(),this.setPen(t),this.insertChar(32)},e.setRollUpRows=function(t){this.nrRollUpRows=t},e.rollUp=function(){var t=this;if(null!==this.nrRollUpRows){this.logger.log(1,(function(){return t.getDisplayText()}));var e=this.currRow+1-this.nrRollUpRows,r=this.rows.splice(e,1)[0];r.clear(),this.rows.splice(this.currRow,0,r),this.logger.log(2,"Rolling up")}else this.logger.log(3,"roll_up but nrRollUpRows not set yet")},e.getDisplayText=function(t){t=t||!1;for(var e=[],r="",i=-1,n=0;n<la;n++){var a=this.rows[n].getTextString();a&&(i=n+1,t?e.push("Row "+i+": '"+a+"'"):e.push(a.trim()))}return e.length>0&&(r=t?"["+e.join(" | ")+"]":e.join("\n")),r},e.getTextAndFormat=function(){return this.rows},t}(),Sa=function(){function t(t,e,r){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=t,this.outputFilter=e,this.mode=null,this.verbose=0,this.displayedMemory=new Ta(r),this.nonDisplayedMemory=new Ta(r),this.lastOutputScreen=new Ta(r),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=r}var e=t.prototype;return e.reset=function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null},e.getHandler=function(){return this.outputFilter},e.setHandler=function(t){this.outputFilter=t},e.setPAC=function(t){this.writeScreen.setPAC(t)},e.setBkgData=function(t){this.writeScreen.setBkgData(t)},e.setMode=function(t){t!==this.mode&&(this.mode=t,this.logger.log(2,(function(){return"MODE="+t})),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=t)},e.insertChars=function(t){for(var e=this,r=0;r<t.length;r++)this.writeScreen.insertChar(t[r]);var i=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,(function(){return i+": "+e.writeScreen.getDisplayText(!0)})),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(this.logger.log(1,(function(){return"DISPLAYED: "+e.displayedMemory.getDisplayText(!0)})),this.outputDataUpdate())},e.ccRCL=function(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")},e.ccBS=function(){this.logger.log(2,"BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())},e.ccAOF=function(){},e.ccAON=function(){},e.ccDER=function(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()},e.ccRU=function(t){this.logger.log(2,"RU("+t+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(t)},e.ccFON=function(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}
vendor: 4,932 bytes, line 30
30,e.ccRDC=function(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")},e.ccTR=function(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")},e.ccRTD=function(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")},e.ccEDM=function(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)},e.ccCR=function(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)},e.ccENM=function(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()},e.ccEOC=function(){var t=this;if(this.logger.log(2,"EOC - End Of Caption"),"MODE_POP-ON"===this.mode){var e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,(function(){return"DISP: "+t.displayedMemory.getDisplayText()}))}this.outputDataUpdate(!0)},e.ccTO=function(t){this.logger.log(2,"TO("+t+") - Tab Offset"),this.writeScreen.moveCursor(t)},e.ccMIDROW=function(t){var e={flash:!1};if(e.underline=t%2==1,e.italics=t>=46,e.italics)e.foreground="white";else{var r=Math.floor(t/2)-16;e.foreground=["white","green","blue","cyan","red","yellow","magenta"][r]}this.logger.log(2,"MIDROW: "+JSON.stringify(e)),this.writeScreen.setPen(e)},e.outputDataUpdate=function(t){void 0===t&&(t=!1);var e=this.logger.time;null!==e&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,e,this.lastOutputScreen),t&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:e):this.cueStartTime=e,this.lastOutputScreen.copy(this.displayedMemory))},e.cueSplitAtTime=function(t){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,t,this.displayedMemory),this.cueStartTime=t))},t}(),La=function(){function t(t,e,r){this.channels=void 0,this.currentChannel=0,this.cmdHistory={a:null,b:null},this.logger=void 0;var i=this.logger=new va;this.channels=[null,new Sa(t,e,i),new Sa(t+1,r,i)]}var e=t.prototype;return e.getHandler=function(t){return this.channels[t].getHandler()},e.setHandler=function(t,e){this.channels[t].setHandler(e)},e.addData=function(t,e){var r=this;this.logger.time=t;for(var i=function(t){var i=127&e[t],n=127&e[t+1],a=!1,s=null;if(0===i&&0===n)return 0;r.logger.log(3,(function(){return"["+ma([e[t],e[t+1]])+"] -> ("+ma([i,n])+")"}));var o=r.cmdHistory;if(i>=16&&i<=31){if(function(t,e,r){return r.a===t&&r.b===e}(i,n,o))return Aa(null,null,o),r.logger.log(3,(function(){return"Repeated command ("+ma([i,n])+") is dropped"})),0;Aa(i,n,r.cmdHistory),(a=r.parseCmd(i,n))||(a=r.parseMidrow(i,n)),a||(a=r.parsePAC(i,n)),a||(a=r.parseBackgroundAttributes(i,n))}else Aa(null,null,o);if(!a&&(s=r.parseChars(i,n))){var l=r.currentChannel;l&&l>0?r.channels[l].insertChars(s):r.logger.log(2,"No channel found yet. TEXT-MODE?")}a||s||r.logger.log(2,(function(){return"Couldn't parse cleaned data "+ma([i,n])+" orig: "+ma([e[t],e[t+1]])}))},n=0;n<e.length;n+=2)i(n)},e.parseCmd=function(t,e){if(!((20===t||28===t||21===t||29===t)&&e>=32&&e<=47||(23===t||31===t)&&e>=33&&e<=35))return!1;var r=20===t||21===t||23===t?1:2,i=this.channels[r];return 20===t||21===t||28===t||29===t?32===e?i.ccRCL():33===e?i.ccBS():34===e?i.ccAOF():35===e?i.ccAON():36===e?i.ccDER():37===e?i.ccRU(2):38===e?i.ccRU(3):39===e?i.ccRU(4):40===e?i.ccFON():41===e?i.ccRDC():42===e?i.ccTR():43===e?i.ccRTD():44===e?i.ccEDM():45===e?i.ccCR():46===e?i.ccENM():47===e&&i.ccEOC():i.ccTO(e-32),this.currentChannel=r,!0},e.parseMidrow=function(t,e){var r=0;if((17===t||25===t)&&e>=32&&e<=47){if((r=17===t?1:2)!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;var i=this.channels[r];return!!i&&(i.ccMIDROW(e),this.logger.log(3,(function(){return"MIDROW ("+ma([t,e])+")"})),!0)}return!1},e.parsePAC=function(t,e){var r;if(!((t>=17&&t<=23||t>=25&&t<=31)&&e>=64&&e<=127||(16===t||24===t)&&e>=64&&e<=95))return!1;var i=t<=23?1:2;r=e>=64&&e<=95?1===i?ha[t]:ca[t]:1===i?da[t]:fa[t];var n=this.channels[i];return!!n&&(n.setPAC(this.interpretPAC(r,e)),this.currentChannel=i,!0)},e.interpretPAC=function(t,e){var r,i={color:null,italics:!1,indent:null,underline:!1,row:t};return r=e>95?e-96:e-64,i.underline=1==(1&r),r<=13?i.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(r/2)]:r<=15?(i.italics=!0,i.color="white"):i.indent=4*Math.floor((r-16)/2),i},e.parseChars=function(t,e){var r,i,n=null,a=null;return t>=25?(r=2,a=t-8):(r=1,a=t),a>=17&&a<=19?(i=17===a?e+80:18===a?e+112:e+144,this.logger.log(2,(function(){return"Special char '"+oa(i)+"' in channel "+r})),n=[i]):t>=32&&t<=127&&(n=0===e?[t]:[t,e]),n&&this.logger.log(3,(function(){return"Char codes = "+ma(n).join(",")})),n}
vendor: 5,315 bytes, line 30
30,e.parseBackgroundAttributes=function(t,e){var r;if(!((16===t||24===t)&&e>=32&&e<=47||(23===t||31===t)&&e>=45&&e<=47))return!1;var i={};16===t||24===t?(r=Math.floor((e-32)/2),i.background=ga[r],e%2==1&&(i.background=i.background+"_semi")):45===e?i.background="transparent":(i.foreground="black",47===e&&(i.underline=!0));var n=t<=23?1:2;return this.channels[n].setBkgData(i),!0},e.reset=function(){for(var t=0;t<Object.keys(this.channels).length;t++){var e=this.channels[t];e&&e.reset()}Aa(null,null,this.cmdHistory)},e.cueSplitAtTime=function(t){for(var e=0;e<this.channels.length;e++){var r=this.channels[e];r&&r.cueSplitAtTime(t)}},t}();function Aa(t,e,r){r.a=t,r.b=e}var Ra=function(){function t(t,e){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=e}var e=t.prototype;return e.dispatchCue=function(){null!==this.startTime&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)},e.newCue=function(t,e,r){(null===this.startTime||this.startTime>t)&&(this.startTime=t),this.endTime=e,this.screen=r,this.timelineController.createCaptionsTrack(this.trackName)},e.reset=function(){this.cueRanges=[],this.startTime=null},t}(),ba=function(){if(null!=j&&j.VTTCue)return self.VTTCue;var t=["","lr","rl"],e=["start","middle","end","left","right"];function r(t,e){if("string"!=typeof e)return!1;if(!Array.isArray(t))return!1;var r=e.toLowerCase();return!!~t.indexOf(r)&&r}function i(t){return r(e,t)}function n(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var s in a)t[s]=a[s]}return t}function a(e,a,s){var o=this,l={enumerable:!0};o.hasBeenReset=!1;var u="",h=!1,d=e,c=a,f=s,g=null,v="",m=!0,p="auto",y="start",E=50,T="middle",S=50,L="middle";Object.defineProperty(o,"id",n({},l,{get:function(){return u},set:function(t){u=""+t}})),Object.defineProperty(o,"pauseOnExit",n({},l,{get:function(){return h},set:function(t){h=!!t}})),Object.defineProperty(o,"startTime",n({},l,{get:function(){return d},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");d=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"endTime",n({},l,{get:function(){return c},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");c=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"text",n({},l,{get:function(){return f},set:function(t){f=""+t,this.hasBeenReset=!0}})),Object.defineProperty(o,"region",n({},l,{get:function(){return g},set:function(t){g=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"vertical",n({},l,{get:function(){return v},set:function(e){var i=function(e){return r(t,e)}(e);if(!1===i)throw new SyntaxError("An invalid or illegal string was specified.");v=i,this.hasBeenReset=!0}})),Object.defineProperty(o,"snapToLines",n({},l,{get:function(){return m},set:function(t){m=!!t,this.hasBeenReset=!0}})),Object.defineProperty(o,"line",n({},l,{get:function(){return p},set:function(t){if("number"!=typeof t&&"auto"!==t)throw new SyntaxError("An invalid number or illegal string was specified.");p=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"lineAlign",n({},l,{get:function(){return y},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"position",n({},l,{get:function(){return E},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");E=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"positionAlign",n({},l,{get:function(){return T},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");T=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"size",n({},l,{get:function(){return S},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");S=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"align",n({},l,{get:function(){return L},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");L=e,this.hasBeenReset=!0}})),o.displayState=void 0}return a.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},a}(),ka=function(){function t(){}return t.prototype.decode=function(t,e){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))},t}();function Da(t){function e(t,e,r,i){return 3600*(0|t)+60*(0|e)+(0|r)+parseFloat(i||0)}var r=t.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return r?parseFloat(r[2])>59?e(r[2],r[3],0,r[4]):e(r[1],r[2],r[3],r[4]):null}var Ia=function(){function t(){this.values=Object.create(null)}var e=t.prototype;return e.set=function(t,e){this.get(t)||""===e||(this.values[t]=e)},e.get=function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},e.has=function(t){return t in this.values},e.alt=function(t,e,r){for(var i=0;i<r.length;++i)if(e===r[i]){this.set(t,e);break}},e.integer=function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},e.percent=function(t,e){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(e)){var r=parseFloat(e);
vendor: 7,823 bytes, line 30
30if(r>=0&&r<=100)return this.set(t,r),!0}return!1},t}();function wa(t,e,r,i){var n=i?t.split(i):[t];for(var a in n)if("string"==typeof n[a]){var s=n[a].split(r);2===s.length&&e(s[0],s[1])}}var Ca=new ba(0,0,""),_a="middle"===Ca.align?"middle":"center";function xa(t,e,r){var i=t;function n(){var e=Da(t);if(null===e)throw new Error("Malformed timestamp: "+i);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function a(){t=t.replace(/^\s+/,"")}if(a(),e.startTime=n(),a(),"--\x3e"!==t.slice(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+i);t=t.slice(3),a(),e.endTime=n(),a(),function(t,e){var i=new Ia;wa(t,(function(t,e){var n;switch(t){case"region":for(var a=r.length-1;a>=0;a--)if(r[a].id===e){i.set(t,r[a].region);break}break;case"vertical":i.alt(t,e,["rl","lr"]);break;case"line":n=e.split(","),i.integer(t,n[0]),i.percent(t,n[0])&&i.set("snapToLines",!1),i.alt(t,n[0],["auto"]),2===n.length&&i.alt("lineAlign",n[1],["start",_a,"end"]);break;case"position":n=e.split(","),i.percent(t,n[0]),2===n.length&&i.alt("positionAlign",n[1],["start",_a,"end","line-left","line-right","auto"]);break;case"size":i.percent(t,e);break;case"align":i.alt(t,e,["start",_a,"end","left","right"])}}),/:/,/\s/),e.region=i.get("region",null),e.vertical=i.get("vertical","");var n=i.get("line","auto");"auto"===n&&-1===Ca.line&&(n=-1),e.line=n,e.lineAlign=i.get("lineAlign","start"),e.snapToLines=i.get("snapToLines",!0),e.size=i.get("size",100),e.align=i.get("align",_a);var a=i.get("position","auto");"auto"===a&&50===Ca.position&&(a="start"===e.align||"left"===e.align?0:"end"===e.align||"right"===e.align?100:50),e.position=a}(t,e)}function Pa(t){return t.replace(/<br(?: \/)?>/gi,"\n")}var Fa=function(){function t(){this.state="INITIAL",this.buffer="",this.decoder=new ka,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}var e=t.prototype;return e.parse=function(t){var e=this;function r(){var t=e.buffer,r=0;for(t=Pa(t);r<t.length&&"\r"!==t[r]&&"\n"!==t[r];)++r;var i=t.slice(0,r);return"\r"===t[r]&&++r,"\n"===t[r]&&++r,e.buffer=t.slice(r),i}t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));try{var i="";if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;var n=(i=r()).match(/^()?WEBVTT([ \t].*)?$/);if(null==n||!n[0])throw new Error("Malformed WebVTT signature.");e.state="HEADER"}for(var a=!1;e.buffer;){if(!/\r\n|\n/.test(e.buffer))return this;switch(a?a=!1:i=r(),e.state){case"HEADER":/:/.test(i)?wa(i,(function(t,e){}),/:/):i||(e.state="ID");continue;case"NOTE":i||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){e.state="NOTE";break}if(!i)continue;if(e.cue=new ba(0,0,""),e.state="CUE",-1===i.indexOf("--\x3e")){e.cue.id=i;continue}case"CUE":if(!e.cue){e.state="BADCUE";continue}try{xa(i,e.cue,e.regionList)}catch(t){e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var s=-1!==i.indexOf("--\x3e");if(!i||s&&(a=!0)){e.oncue&&e.cue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}if(null===e.cue)continue;e.cue.text&&(e.cue.text+="\n"),e.cue.text+=i;continue;case"BADCUE":i||(e.state="ID")}}}catch(t){"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},e.flush=function(){var t=this;try{if((t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state||"BADWEBVTT"===t.state)throw new Error("Malformed WebVTT signature.")}catch(e){t.onparsingerror&&t.onparsingerror(e)}return t.onflush&&t.onflush(),this},t}(),Ma=/\r\n|\n\r|\n|\r/g,Oa=function(t,e,r){return void 0===r&&(r=0),t.slice(r,r+e.length)===e},Na=function(t){for(var e=5381,r=t.length;r;)e=33*e^t.charCodeAt(--r);return(e>>>0).toString()};function Ua(t,e,r){return Na(t.toString())+Na(e.toString())+Na(r)}function Ba(t,e,r,i,n,a,s){var o,l,u,h=new Fa,d=Rt(new Uint8Array(t)).trim().replace(Ma,"\n").split("\n"),c=[],f=e?(o=e.baseTime,void 0===(l=e.timescale)&&(l=1),Rn(o,An,1/l)):0,g="00:00.000",v=0,m=0,p=!0;h.oncue=function(t){var a=r[i],s=r.ccOffset,o=(v-f)/9e4;if(null!=a&&a.new&&(void 0!==m?s=r.ccOffset=a.start:function(t,e,r){var i=t[e],n=t[i.prevCC];if(!n||!n.new&&i.new)return t.ccOffset=t.presentationOffset=i.start,void(i.new=!1);for(;null!=(a=n)&&a.new;){var a;t.ccOffset+=i.start-n.start,i.new=!1,n=t[(i=n).prevCC]}t.presentationOffset=r}(r,i,o)),o){if(!e)return void(u=new Error("Missing initPTS for VTT MPEGTS"));s=o-r.presentationOffset}var l=t.endTime-t.startTime,h=wn(9e4*(t.startTime+s-m),9e4*n)/9e4;t.startTime=Math.max(h,0),t.endTime=Math.max(h+l,0);var d=t.text.trim();t.text=decodeURIComponent(encodeURIComponent(d)),t.id||(t.id=Ua(t.startTime,t.endTime,d)),t.endTime>0&&c.push(t)},h.onparsingerror=function(t){u=t},h.onflush=function(){u?s(u):a(c)},d.forEach((function(t){if(p){if(Oa(t,"X-TIMESTAMP-MAP=")){p=!1,t.slice(16).split(",").forEach((function(t){Oa(t,"LOCAL:")?g=t.slice(6):Oa(t,"MPEGTS:")&&(v=parseInt(t.slice(7)))}));try{m=function(t){var e=parseInt(t.slice(-3)),r=parseInt(t.slice(-6,-4)),i=parseInt(t.slice(-9,-7)),n=t.length>9?parseInt(t.substring(0,t.indexOf(":"))):0;if(!(y(e)&&y(r)&&y(i)&&y(n)))throw Error("Malformed X-TIMESTAMP-MAP: Local:"+t);return e+=1e3*r,(e+=6e4*i)+36e5*n}(g)/1e3}catch(t){u=t}return}""===t&&(p=!1)}h.parse(t+"\n")})),h.flush()}var Ga="stpp.ttml.im1t",Ka=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Ha=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Va={left:"start",center:"center",right:"end",start:"start",end:"end"};function Ya(t,e,r,i){var n=Ot(new Uint8Array(t),["mdat"]);if(0!==n.length){var a,s,l,u,h=n.map((function(t){return Rt(t)})),d=(a=e.baseTime,s=1,void 0===(l=e.timescale)&&(l=1),void 0===u&&(u=!1),Rn(a,s,1/l,u));try{h.forEach((function(t){return r(function(t,e){var r=(new DOMParser).parseFromString(t,"text/xml"),i=r.getElementsByTagName("tt")[0];if(!i)throw new Error("Invalid ttml");var n={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},a=Object.keys(n).reduce((function(t,e){return t[e]=i.getAttribute("ttp:"+e)||n[e],t}),{}),s="preserve"!==i.getAttribute("xml:space"),l=ja(Wa(i,"styling","style")),u=ja(Wa(i,"layout","region")),h=Wa(i,"body","[begin]");return[].map.call(h,(function(t){var r=qa(t,s);if(!r||!t.hasAttribute("begin"))return null;var i=Qa(t.getAttribute("begin"),a),n=Qa(t.getAttribute("dur"),a),h=Qa(t.getAttribute("end"),a);if(null===i)throw za(t);if(null===h){if(null===n)throw za(t);h=i+n}var d=new ba(i-e,h-e,r);d.id=Ua(d.startTime,d.endTime,d.text);var c=function(t,e,r){var i="http://www.w3.org/ns/ttml#styling",n=null,a=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],s=null!=t&&t.hasAttribute("style")?t.getAttribute("style"):null;return s&&r.hasOwnProperty(s)&&(n=r[s]),a.reduce((function(r,a){var s=Xa(e,i,a)||Xa(t,i,a)||Xa(n,i,a);return s&&(r[a]=s),r}),{})}(u[t.getAttribute("region")],l[t.getAttribute("style")],l),f=c.textAlign;if(f){var g=Va[f];g&&(d.lineAlign=g),d.align=f}return o(d,c),d})).filter((function(t){return null!==t}))}(t,d))}))}catch(t){i(t)}}else i(new Error("Could not parse IMSC1 mdat"))}function Wa(t,e,r){var i=t.getElementsByTagName(e)[0];return i?[].slice.call(i.querySelectorAll(r)):[]}function ja(t){return t.reduce((function(t,e){var r=e.getAttribute("xml:id");return r&&(t[r]=e),t}),{})}function qa(t,e){return[].slice.call(t.childNodes).reduce((function(t,r,i){var n;return"br"===r.nodeName&&i?t+"\n":null!=(n=r.childNodes)&&n.length?qa(r,e):e?t+r.textContent.trim().replace(/\s+/g," "):t+r.textContent}),"")}function Xa(t,e,r){return t&&t.hasAttributeNS(e,r)?t.getAttributeNS(e,r):null}function za(t){return new Error("Could not parse ttml timestamp "+t)}function Qa(t,e){if(!t)return null;var r=Da(t);return null===r&&(Ka.test(t)?r=function(t,e){var r=Ka.exec(t),i=(0|r[4])+(0|r[5])/e.subFrameRate;return 3600*(0|r[1])+60*(0|r[2])+(0|r[3])+i/e.frameRate}
vendor: 11,503 bytes, line 30
30(t,e):Ha.test(t)&&(r=function(t,e){var r=Ha.exec(t),i=Number(r[1]);switch(r[2]){case"h":return 3600*i;case"m":return 60*i;case"ms":return 1e3*i;case"f":return i/e.frameRate;case"t":return i/e.tickRate}return i}(t,e))),r}var Ja=function(){function t(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(S.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(S.FRAG_LOADING,this.onFragLoading,this),t.on(S.FRAG_LOADED,this.onFragLoaded,this),t.on(S.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(S.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(S.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(S.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(S.BUFFER_FLUSHING,this.onBufferFlushing,this)}var e=t.prototype;return e.destroy=function(){var t=this.hls;t.off(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(S.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(S.FRAG_LOADING,this.onFragLoading,this),t.off(S.FRAG_LOADED,this.onFragLoaded,this),t.off(S.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(S.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(S.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(S.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(S.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=null,this.cea608Parser1=this.cea608Parser2=void 0},e.initCea608Parsers=function(){if(this.config.enableCEA708Captions&&(!this.cea608Parser1||!this.cea608Parser2)){var t=new Ra(this,"textTrack1"),e=new Ra(this,"textTrack2"),r=new Ra(this,"textTrack3"),i=new Ra(this,"textTrack4");this.cea608Parser1=new La(1,t,e),this.cea608Parser2=new La(3,r,i)}},e.addCues=function(t,e,r,i,n){for(var a,s,o,l,u=!1,h=n.length;h--;){var d=n[h],c=(a=d[0],s=d[1],o=e,l=r,Math.min(s,l)-Math.max(a,o));if(c>=0&&(d[0]=Math.min(d[0],e),d[1]=Math.max(d[1],r),u=!0,c/(r-e)>.5))return}if(u||n.push([e,r]),this.config.renderTextTracksNatively){var f=this.captionsTracks[t];this.Cues.newCue(f,e,r,i)}else{var g=this.Cues.newCue(null,e,r,i);this.hls.trigger(S.CUES_PARSED,{type:"captions",cues:g,track:t})}},e.onInitPtsFound=function(t,e){var r=this,i=e.frag,n=e.id,a=e.initPTS,s=e.timescale,o=this.unparsedVttFrags;"main"===n&&(this.initPTS[i.cc]={baseTime:a,timescale:s}),o.length&&(this.unparsedVttFrags=[],o.forEach((function(t){r.onFragLoaded(S.FRAG_LOADED,t)})))},e.getExistingTrack=function(t,e){var r=this.media;if(r)for(var i=0;i<r.textTracks.length;i++){var n=r.textTracks[i];if(Za(n,{name:t,lang:e,attrs:{}}))return n}return null},e.createCaptionsTrack=function(t){this.config.renderTextTracksNatively?this.createNativeTrack(t):this.createNonNativeTrack(t)},e.createNativeTrack=function(t){if(!this.captionsTracks[t]){var e=this.captionsProperties,r=this.captionsTracks,i=this.media,n=e[t],a=n.label,s=n.languageCode,o=this.getExistingTrack(a,s);if(o)r[t]=o,He(r[t]),Ge(r[t],i);else{var l=this.createTextTrack("captions",a,s);l&&(l[t]=!0,r[t]=l)}}},e.createNonNativeTrack=function(t){if(!this.nonNativeCaptionsTracks[t]){var e=this.captionsProperties[t];if(e){var r={_id:t,label:e.label,kind:"captions",default:!!e.media&&!!e.media.default,closedCaptions:e.media};this.nonNativeCaptionsTracks[t]=r,this.hls.trigger(S.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[r]})}}},e.createTextTrack=function(t,e,r){var i=this.media;if(i)return i.addTextTrack(t,e,r)},e.onMediaAttaching=function(t,e){this.media=e.media,this._cleanTracks()},e.onMediaDetaching=function(){var t=this.captionsTracks;Object.keys(t).forEach((function(e){He(t[e]),delete t[e]})),this.nonNativeCaptionsTracks={}},e.onManifestLoading=function(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())},e._cleanTracks=function(){var t=this.media;if(t){var e=t.textTracks;if(e)for(var r=0;r<e.length;r++)He(e[r])}},e.onSubtitleTracksUpdated=function(t,e){var r=this,i=e.subtitleTracks||[],n=i.some((function(t){return t.textCodec===Ga}));if(this.config.enableWebVTT||n&&this.config.enableIMSC1){if(Xn(this.tracks,i))return void(this.tracks=i);if(this.textTracks=[],this.tracks=i,this.config.renderTextTracksNatively){var a=this.media,s=a?Ye(a.textTracks):null;if(this.tracks.forEach((function(t,e){var i;if(s){for(var n=null,a=0;a<s.length;a++)if(s[a]&&Za(s[a],t)){n=s[a],s[a]=null;break}n&&(i=n)}if(i)He(i);else{var o=$a(t);(i=r.createTextTrack(o,t.name,t.lang))&&(i.mode="disabled")}i&&r.textTracks.push(i)})),null!=s&&s.length){var o=s.filter((function(t){return null!==t})).map((function(t){return t.label}));o.length&&w.warn("Media element contains unused subtitle tracks: "+o.join(", ")+". Replace media element for each source to clear TextTracks and captions menu.")}}else if(this.tracks.length){var l=this.tracks.map((function(t){return{label:t.name,kind:t.type.toLowerCase(),default:t.default,subtitleTrack:t}}));this.hls.trigger(S.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:l})}}},e.onManifestLoaded=function(t,e){var r=this;this.config.enableCEA708Captions&&e.captions&&e.captions.forEach((function(t){var e=/(?:CC|SERVICE)([1-4])/.exec(t.instreamId);if(e){var i="textTrack"+e[1],n=r.captionsProperties[i];n&&(n.label=t.name,t.lang&&(n.languageCode=t.lang),n.media=t)}}))},e.closedCaptionsForLevel=function(t){var e=this.hls.levels[t.level];return null==e?void 0:e.attrs["CLOSED-CAPTIONS"]},e.onFragLoading=function(t,e){if(this.enabled&&e.frag.type===Fe){var r,i,n=this.cea608Parser1,a=this.cea608Parser2,s=this.lastSn,o=e.frag,l=o.cc,u=o.sn,h=null!=(r=null==(i=e.part)?void 0:i.index)?r:-1;n&&a&&(u!==s+1||u===s&&h!==this.lastPartIndex+1||l!==this.lastCc)&&(n.reset(),a.reset()),this.lastCc=l,this.lastSn=u,this.lastPartIndex=h}},e.onFragLoaded=function(t,e){var r=e.frag,i=e.payload;if(r.type===Oe)if(i.byteLength){var n=r.decryptdata,a="stats"in e;if(null==n||!n.encrypted||a){var s=this.tracks[r.level],o=this.vttCCs;o[r.cc]||(o[r.cc]={start:r.start,prevCC:this.prevCC,new:!0},this.prevCC=r.cc),s&&s.textCodec===Ga?this._parseIMSC1(r,i):this._parseVTTs(e)}}else this.hls.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:r,error:new Error("Empty subtitle payload")})},e._parseIMSC1=function(t,e){var r=this,i=this.hls;Ya(e,this.initPTS[t.cc],(function(e){r._appendCues(e,t.level),i.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})}),(function(e){w.log("Failed to parse IMSC1: "+e),i.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:e})}))},e._parseVTTs=function(t){var e,r=this,i=t.frag,n=t.payload,a=this.initPTS,s=this.unparsedVttFrags,o=a.length-1;if(a[i.cc]||-1!==o){var l=this.hls;Ba(null!=(e=i.initSegment)&&e.data?Wt(i.initSegment.data,new Uint8Array(n)):n,this.initPTS[i.cc],this.vttCCs,i.cc,i.start,(function(t){r._appendCues(t,i.level),l.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:i})}),(function(e){var a="Missing initPTS for VTT MPEGTS"===e.message;a?s.push(t):r._fallbackToIMSC1(i,n),w.log("Failed to parse VTT cue: "+e),a&&o>i.cc||l.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:i,error:e})}))}else s.push(t)},e._fallbackToIMSC1=function(t,e){var r=this,i=this.tracks[t.level];i.textCodec||Ya(e,this.initPTS[t.cc],(function(){i.textCodec=Ga,r._parseIMSC1(t,e)}),(function(){i.textCodec="wvtt"}))},e._appendCues=function(t,e){var r=this.hls;if(this.config.renderTextTracksNatively){var i=this.textTracks[e];if(!i||"disabled"===i.mode)return;t.forEach((function(t){return Ke(i,t)}))}else{var n=this.tracks[e];if(!n)return;var a=n.default?"default":"subtitles"+e;r.trigger(S.CUES_PARSED,{type:"subtitles",cues:t,track:a})}},e.onFragDecrypted=function(t,e){e.frag.type===Oe&&this.onFragLoaded(S.FRAG_LOADED,e)},e.onSubtitleTracksCleared=function(){this.tracks=[],this.captionsTracks={}},e.onFragParsingUserdata=function(t,e){this.initCea608Parsers();var r=this.cea608Parser1,i=this.cea608Parser2;if(this.enabled&&r&&i){var n=e.frag,a=e.samples;if(n.type!==Fe||"NONE"!==this.closedCaptionsForLevel(n))for(var s=0;s<a.length;s++){var o=a[s].bytes;if(o){var l=this.extractCea608Data(o);r.addData(a[s].pts,l[0]),i.addData(a[s].pts,l[1])}}}},e.onBufferFlushing=function(t,e){var r=e.startOffset,i=e.endOffset,n=e.endOffsetSubtitles,a=e.type,s=this.media;if(s&&!(s.currentTime<i)){if(!a||"video"===a){var o=this.captionsTracks;Object.keys(o).forEach((function(t){return Ve(o[t],r,i)}))}if(this.config.renderTextTracksNatively&&0===r&&void 0!==n){var l=this.textTracks;Object.keys(l).forEach((function(t){return Ve(l[t],r,n)}))}}},e.extractCea608Data=function(t){for(var e=[[],[]],r=31&t[0],i=2,n=0;n<r;n++){var a=t[i++],s=127&t[i++],o=127&t[i++];if((0!==s||0!==o)&&0!=(4&a)){var l=3&a;0!==l&&1!==l||(e[l].push(s),e[l].push(o))}}return e},t}();function $a(t){return t.characteristics&&/transcribes-spoken-dialog/gi.test(t.characteristics)&&/describes-music-and-sound/gi.test(t.characteristics)?"captions":"subtitles"}function Za(t,e){return!!t&&t.kind===$a(e)&&Qn(e,t)}var ts=function(){function t(t){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=t,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}var e=t.prototype;return e.setStreamController=function(t){this.streamController=t},e.destroy=function(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null},e.registerListeners=function(){var t=this.hls;t.on(S.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.on(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(S.BUFFER_CODECS,this.onBufferCodecs,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this)},e.unregisterListener=function(){var t=this.hls;t.off(S.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.off(S.MEDIA_ATTA
vendor: 5,147 bytes, line 30
30CHING,this.onMediaAttaching,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(S.BUFFER_CODECS,this.onBufferCodecs,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this)},e.onFpsDropLevelCapping=function(t,e){var r=this.hls.levels[e.droppedLevel];this.isLevelAllowed(r)&&this.restrictedLevels.push({bitrate:r.bitrate,height:r.height,width:r.width})},e.onMediaAttaching=function(t,e){this.media=e.media instanceof HTMLVideoElement?e.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()},e.onManifestParsed=function(t,e){var r=this.hls;this.restrictedLevels=[],this.firstLevel=e.firstLevel,r.config.capLevelToPlayerSize&&e.video&&this.startCapping()},e.onLevelsUpdated=function(t,e){this.timer&&y(this.autoLevelCapping)&&this.detectPlayerSize()},e.onBufferCodecs=function(t,e){this.hls.config.capLevelToPlayerSize&&e.video&&this.startCapping()},e.onMediaDetaching=function(){this.stopCapping()},e.detectPlayerSize=function(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0)return void(this.clientRect=null);var t=this.hls.levels;if(t.length){var e=this.hls,r=this.getMaxLevel(t.length-1);r!==this.autoLevelCapping&&w.log("Setting autoLevelCapping to "+r+": "+t[r].height+"p@"+t[r].bitrate+" for media "+this.mediaWidth+"x"+this.mediaHeight),e.autoLevelCapping=r,e.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=e.autoLevelCapping}}},e.getMaxLevel=function(e){var r=this,i=this.hls.levels;if(!i.length)return-1;var n=i.filter((function(t,i){return r.isLevelAllowed(t)&&i<=e}));return this.clientRect=null,t.getMaxLevelByMediaSize(n,this.mediaWidth,this.mediaHeight)},e.startCapping=function(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())},e.stopCapping=function(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)},e.getDimensions=function(){if(this.clientRect)return this.clientRect;var t=this.media,e={width:0,height:0};if(t){var r=t.getBoundingClientRect();e.width=r.width,e.height=r.height,e.width||e.height||(e.width=r.right-r.left||t.width||0,e.height=r.bottom-r.top||t.height||0)}return this.clientRect=e,e},e.isLevelAllowed=function(t){return!this.restrictedLevels.some((function(e){return t.bitrate===e.bitrate&&t.width===e.width&&t.height===e.height}))},t.getMaxLevelByMediaSize=function(t,e,r){if(null==t||!t.length)return-1;for(var i,n,a=t.length-1,s=Math.max(e,r),o=0;o<t.length;o+=1){var l=t[o];if((l.width>=s||l.height>=s)&&(i=l,!(n=t[o+1])||i.width!==n.width||i.height!==n.height)){a=o;break}}return a},s(t,[{key:"mediaWidth",get:function(){return this.getDimensions().width*this.contentScaleFactor}},{key:"mediaHeight",get:function(){return this.getDimensions().height*this.contentScaleFactor}},{key:"contentScaleFactor",get:function(){var t=1;if(!this.hls.config.ignoreDevicePixelRatio)try{t=self.devicePixelRatio}catch(t){}return t}}]),t}(),es=function(){function t(t){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=t,this.registerListeners()}var e=t.prototype;return e.setStreamController=function(t){this.streamController=t},e.registerListeners=function(){this.hls.on(S.MEDIA_ATTACHING,this.onMediaAttaching,this)},e.unregisterListeners=function(){this.hls.off(S.MEDIA_ATTACHING,this.onMediaAttaching,this)},e.destroy=function(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null},e.onMediaAttaching=function(t,e){var r=this.hls.config;if(r.capLevelOnFPSDrop){var i=e.media instanceof self.HTMLVideoElement?e.media:null;this.media=i,i&&"function"==typeof i.getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),r.fpsDroppedMonitoringPeriod)}},e.checkFPS=function(t,e,r){var i=performance.now();if(e){if(this.lastTime){var n=i-this.lastTime,a=r-this.lastDroppedFrames,s=e-this.lastDecodedFrames,o=1e3*a/n,l=this.hls;if(l.trigger(S.FPS_DROP,{currentDropped:a,currentDecoded:s,totalDroppedFrames:r}),o>0&&a>l.config.fpsDroppedMonitoringThreshold*s){var u=l.currentLevel;w.warn("drop FPS ratio greater than max allowed value for currentLevel: "+u),u>0&&(-1===l.autoLevelCapping||l.autoLevelCapping>=u)&&(u-=1,l.trigger(S.FPS_DROP_LEVEL_CAPPING,{level:u,droppedLevel:l.currentLevel}),l.autoLevelCapping=u,this.streamController.nextLevelSwitch())}}this.lastTime=i,this.lastDroppedFrames=r,this.lastDecodedFrames=e}},e.checkFPSInterval=function(){var t=this.media;if(t)if(this.isVideoPlaybackQualityAvailable){var e=t.getVideoPlaybackQuality();this.checkFPS(t,e.totalVideoFrames,e.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)}
vendor: 6,145 bytes, line 30
30,t}(),rs="[eme]",is=function(){function t(e){this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=t.CDMCleanupPromise?[t.CDMCleanupPromise]:[],this.onMediaEncrypted=this._onMediaEncrypted.bind(this),this.onWaitingForKey=this._onWaitingForKey.bind(this),this.debug=w.debug.bind(w,rs),this.log=w.log.bind(w,rs),this.warn=w.warn.bind(w,rs),this.error=w.error.bind(w,rs),this.hls=e,this.config=e.config,this.registerListeners()}var e=t.prototype;return e.destroy=function(){this.unregisterListeners(),this.onMediaDetached();var t=this.config;t.requestMediaKeySystemAccessFunc=null,t.licenseXhrSetup=t.licenseResponseCallback=void 0,t.drmSystems=t.drmSystemOptions={},this.hls=this.onMediaEncrypted=this.onWaitingForKey=this.keyIdToKeySessionPromise=null,this.config=null},e.registerListeners=function(){this.hls.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(S.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(S.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(S.MANIFEST_LOADED,this.onManifestLoaded,this)},e.unregisterListeners=function(){this.hls.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(S.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(S.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(S.MANIFEST_LOADED,this.onManifestLoaded,this)},e.getLicenseServerUrl=function(t){var e=this.config,r=e.drmSystems,i=e.widevineLicenseUrl,n=r[t];if(n)return n.licenseUrl;if(t===q.WIDEVINE&&i)return i;throw new Error('no license server URL configured for key-system "'+t+'"')},e.getServerCertificateUrl=function(t){var e=this.config.drmSystems[t];if(e)return e.serverCertificateUrl;this.log('No Server Certificate in config.drmSystems["'+t+'"]')},e.attemptKeySystemAccess=function(t){var e=this,r=this.hls.levels,i=function(t,e,r){return!!t&&r.indexOf(t)===e},n=r.map((function(t){return t.audioCodec})).filter(i),a=r.map((function(t){return t.videoCodec})).filter(i);return n.length+a.length===0&&a.push("avc1.42e01e"),new Promise((function(r,i){!function t(s){var o=s.shift();e.getMediaKeysPromise(o,n,a).then((function(t){return r({keySystem:o,mediaKeys:t})})).catch((function(e){s.length?t(s):i(e instanceof ls?e:new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_NO_ACCESS,error:e,fatal:!0},e.message))}))}(t)}))},e.requestMediaKeySystemAccess=function(t,e){var r=this.config.requestMediaKeySystemAccessFunc;if("function"!=typeof r){var i="Configured requestMediaKeySystemAccess is not a function "+r;return null===ot&&"http:"===self.location.protocol&&(i="navigator.requestMediaKeySystemAccess is not available over insecure protocol "+location.protocol),Promise.reject(new Error(i))}return r(t,e)},e.getMediaKeysPromise=function(t,e,r){var i=this,n=function(t,e,r,i){var n;switch(t){case q.FAIRPLAY:n=["cenc","sinf"];break;case q.WIDEVINE:case q.PLAYREADY:n=["cenc"];break;case q.CLEARKEY:n=["cenc","keyids"];break;default:throw new Error("Unknown key-system: "+t)}return function(t,e,r,i){return[{initDataTypes:t,persistentState:i.persistentState||"optional",distinctiveIdentifier:i.distinctiveIdentifier||"optional",sessionTypes:i.sessionTypes||[i.sessionType||"temporary"],audioCapabilities:e.map((function(t){return{contentType:'audio/mp4; codecs="'+t+'"',robustness:i.audioRobustness||"",encryptionScheme:i.audioEncryptionScheme||null}})),videoCapabilities:r.map((function(t){return{contentType:'video/mp4; codecs="'+t+'"',robustness:i.videoRobustness||"",encryptionScheme:i.videoEncryptionScheme||null}}))}]}(n,e,r,i)}(t,e,r,this.config.drmSystemOptions),a=this.keySystemAccessPromises[t],s=null==a?void 0:a.keySystemAccess;if(!s){this.log('Requesting encrypted media "'+t+'" key-system access with config: '+JSON.stringify(n)),s=this.requestMediaKeySystemAccess(t,n);var o=this.keySystemAccessPromises[t]={keySystemAccess:s};return s.catch((function(e){i.log('Failed to obtain access to key-system "'+t+'": '+e)})),s.then((function(e){i.log('Access for key-system "'+e.keySystem+'" obtained');var r=i.fetchServerCertificate(t);return i.log('Create media-keys for "'+t+'"'),o.mediaKeys=e.createMediaKeys().then((function(e){return i.log('Media-keys created for "'+t+'"'),r.then((function(r){return r?i.setMediaKeysServerCertificate(e,t,r):e}))})),o.mediaKeys.catch((function(e){i.error('Failed to create media-keys for "'+t+'"}: '+e)})),o.mediaKeys}))}return s.then((function(){return a.mediaKeys}))},e.createMediaKeySessionContext=function(t){var e=t.decryptdata,r=t.keySystem,i=t.mediaKeys;this.log('Creating key-system session "'+r+'" keyId: '+kt.hexDump(e.keyId||[]));var n=i.createSession(),a={decryptdata:e,keySystem:r,mediaKeys:i,mediaKeysSession:n,keyStatus:"status-pending"};return this.mediaKeySessions.push(a),a},e.renewKeySession=function(t){var e=t.decryptdata;if(e.pssh){var r=this.createMediaKeySessionContext(t),i=this.getKeyIdString(e);this.keyIdToKeySessionPromise[i]=this.generateRequestWithPreferredKeySession(r,"cenc",e.pssh,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(t)},e.getKeyIdString=function(t){if(!t)throw new Error("Could not read keyId of undefined decryptdata");if(null===t.keyId)throw new Error("keyId is null");return kt.hexDump(t.keyId)},e.updateKeySession=function(t,e){var r,i=t.mediaKeysSession;return this.log('Updating key-session "'+i.sessionId+'" for keyID '+kt.hexDump((null==(r=t.decryptdata)?void 0:r.keyId)||[])+"\n } (data length: "+(e?e.byteLength:e)+")"),i.update(e)},e.selectKeySystemFormat=function(t){var e=Object.keys(t.levelkeys||{});return this.keyFormatPromise||(this.log("Selecting key-system from fragment (sn: "+t.sn+" "+t.type+": "+t.level+") key formats "+e.join(", ")),this.keyFormatPromise=this.getKeyFormatPromise(e)),this.keyFormatPromise},e.getKeyFormatPromise=function(t){var e=this;return new Promise((function(r,i){var n=at(e.config),a=t.map($).filter((function(t){return!!t&&-1!==n.indexOf(t)}));return e.getKeySystemSelectionPromise(a).then((function(t){var e=t.keySystem,
30n=nt(e);n?r(n):i(new Error('Unable to find format for key-system "'+e+'"'))})).catch(i)}))},e.loadKey=function(t){var e=this,r=t.keyInfo.decryptdata,i=this.getKeyIdString(r),n="(keyId: "+i+' format: "'+r.keyFormat+'" method: '+r.method+" uri: "+r.uri+")";this.log("Starting session for key "+n);var a=this.keyIdToKeySessionPromise[i];return a||(a=this.keyIdToKeySessionPromise[i]=this.getKeySystemForKeyPromise(r).then((function(i){var a=i.keySystem,s=i.mediaKeys;return e.throwIfDestroyed(),e.log("Handle encrypted media sn: "+t.frag.sn+" "+t.frag.type+": "+t.frag.level+" using key "+n),e.attemptSetMediaKeys(a,s).then((function(){e.throwIfDestroyed();var t=e.createMediaKeySessionContext({keySystem:a,mediaKeys:s,decryptdata:r});return e.generateRequestWithPreferredKeySession(t,"cenc",r.pssh,"playlist-key")}))}))).catch((function(t){return e.handleError(t)})),a},e.throwIfDestroyed=function(t){if(!this.hls)throw new Error("invalid state")},e.handleError=function(t){this.hls&&(this.error(t.message),t instanceof ls?this.hls.trigger(S.ERROR,t.data):this.hls.trigger(S.ERROR,{type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0}))},e.getKeySystemForKeyPromise=function(t){var e=this.getKeyIdString(t),r=this.keyIdToKeySessionPromise[e];if(!r){var i=$(t.keyFormat),n=i?[i]:at(this.config);return this.attemptKeySystemAccess(n)}return r},e.getKeySystemSelectionPromise=function(t){if(t.length||(t=at(this.config)),0===t.length)throw new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},"Missing key-system license configuration options "+JSON.stringify({drmSystems:this.config.drmSystems}));return this.attemptKeySystemAccess(t)},e._onMediaEncrypted=function(t){var e=this,r=t.initDataType,i=t.initData,n='"'+t.type+'" event: init data type: "'+r+'"';if(this.debug(n),null!==i){var a,s;if("sinf"===r&&this.config.drmSystems[q.FAIRPLAY]){var o=Ct(new Uint8Array(i));try{var l=V(JSON.parse(o).sinf),u=Vt(new Uint8Array(l));if(!u)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");a=u.subarray(8,24),s=q.FAIRPLAY}catch(t){return void this.warn(n+" Failed to parse sinf: "+t)}}else{var h=function(t){var e=[];if(t instanceof ArrayBuffer)for(var r=t.byteLength,i=0;i+32<r;){var n=Jt(new DataView(t,i));e.push(n),i+=n.size}return e}(i),d=h.filter((function(t){return t.systemId===rt}))[0];
vendor: 25,867 bytes, line 30
30if(!d)return void(0===h.length||h.some((function(t){return!t.systemId}))?this.warn(n+" contains incomplete or invalid pssh data"):this.log("ignoring "+n+" for "+h.map((function(t){return it(t.systemId)})).join(",")+" pssh data in favor of playlist keys"));if(s=it(d.systemId),0===d.version&&d.data){var c=d.data.length-22;a=d.data.subarray(c,c+16)}}if(s&&a){for(var f,g=kt.hexDump(a),v=this.keyIdToKeySessionPromise,m=this.mediaKeySessions,p=v[g],y=function(){var t=m[E],n=t.decryptdata;if(!n.keyId)return 0;var s=kt.hexDump(n.keyId);return g===s||-1!==n.uri.replace(/-/g,"").indexOf(g)?(p=v[s],n.pssh||(delete v[s],n.pssh=new Uint8Array(i),n.keyId=a,p=v[g]=p.then((function(){return e.generateRequestWithPreferredKeySession(t,r,i,"encrypted-event-key-match")}))),1):void 0},E=0;E<m.length&&(0===(f=y())||1!==f);E++);p||(p=v[g]=this.getKeySystemSelectionPromise([s]).then((function(t){var n,s=t.keySystem,o=t.mediaKeys;e.throwIfDestroyed();var l=new Zt("ISO-23001-7",g,null!=(n=nt(s))?n:"");return l.pssh=new Uint8Array(i),l.keyId=a,e.attemptSetMediaKeys(s,o).then((function(){e.throwIfDestroyed();var t=e.createMediaKeySessionContext({decryptdata:l,keySystem:s,mediaKeys:o});return e.generateRequestWithPreferredKeySession(t,r,i,"encrypted-event-no-match")}))}))),p.catch((function(t){return e.handleError(t)}))}}},e._onWaitingForKey=function(t){this.log('"'+t.type+'" event')},e.attemptSetMediaKeys=function(t,e){var r=this,i=this.setMediaKeysQueue.slice();this.log('Setting media-keys for "'+t+'"');var n=Promise.all(i).then((function(){if(!r.media)throw new Error("Attempted to set mediaKeys without media element attached");return r.media.setMediaKeys(e)}));return this.setMediaKeysQueue.push(n),n.then((function(){r.log('Media-keys set for "'+t+'"'),i.push(n),r.setMediaKeysQueue=r.setMediaKeysQueue.filter((function(t){return-1===i.indexOf(t)}))}))},e.generateRequestWithPreferredKeySession=function(t,e,r,i){var n,a,s=this,o=null==(n=this.config.drmSystems)||null==(a=n[t.keySystem])?void 0:a.generateRequest;if(o)try{var l=o.call(this.hls,e,r,t);if(!l)throw new Error("Invalid response from configured generateRequest filter");e=l.initDataType,r=t.decryptdata.pssh=l.initData?new Uint8Array(l.initData):null}catch(t){var u;if(this.warn(t.message),null!=(u=this.hls)&&u.config.debug)throw t}if(null===r)return this.log('Skipping key-session request for "'+i+'" (no initData)'),Promise.resolve(t);var h=this.getKeyIdString(t.decryptdata);this.log('Generating key-session request for "'+i+'": '+h+" (init data type: "+e+" length: "+(r?r.byteLength:null)+")");var d=new Vn,c=t._onmessage=function(e){var r=t.mediaKeysSession;if(r){var i=e.messageType,n=e.message;s.log('"'+i+'" message event for session "'+r.sessionId+'" message size: '+n.byteLength),"license-request"===i||"license-renewal"===i?s.renewLicense(t,n).catch((function(t){s.handleError(t),d.emit("error",t)})):"license-release"===i?t.keySystem===q.FAIRPLAY&&(s.updateKeySession(t,W("acknowledged")),s.removeSession(t)):s.warn('unhandled media key message type "'+i+'"')}else d.emit("error",new Error("invalid state"))},f=t._onkeystatuseschange=function(e){if(t.mediaKeysSession){s.onKeyStatusChange(t);var r=t.keyStatus;d.emit("keyStatus",r),"expired"===r&&(s.warn(t.keySystem+" expired for key "+h),s.renewKeySession(t))}else d.emit("error",new Error("invalid state"))};t.mediaKeysSession.addEventListener("message",c),t.mediaKeysSession.addEventListener("keystatuseschange",f);var g=new Promise((function(t,e){d.on("error",e),d.on("keyStatus",(function(r){r.startsWith("usable")?t():"output-restricted"===r?e(new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):"internal-error"===r?e(new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},'key status changed to "'+r+'"')):"expired"===r?e(new Error("key expired while generating request")):s.warn('unhandled key status change "'+r+'"')}))}));return t.mediaKeysSession.generateRequest(e,r).then((function(){var e;s.log('Request generated for key-session "'+(null==(e=t.mediaKeysSession)?void 0:e.sessionId)+'" keyId: '+h)})).catch((function(t){throw new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_NO_SESSION,error:t,fatal:!1},"Error generating key-session request: "+t)})).then((function(){return g})).catch((function(e){throw d.removeAllListeners(),s.removeSession(t),e})).then((function(){return d.removeAllListeners(),t}))},e.onKeyStatusChange=function(t){var e=this;t.mediaKeysSession.keyStatuses.forEach((function(r,i){e.log('key status change "'+r+'" for keyStatuses keyId: '+kt.hexDump("buffer"in i?new Uint8Array(i.buffer,i.byteOffset,i.byteLength):new Uint8Array(i))+" session keyId: "+kt.hexDump(new Uint8Array(t.decryptdata.keyId||[]))+" uri: "+t.decryptdata.uri),t.keyStatus=r}))},e.fetchServerCertificate=function(t){var e=this.config,r=new(0,e.loader)(e),n=this.getServerCertificateUrl(t);return n?(this.log('Fetching server certificate for "'+t+'"'),new Promise((function(a,s){var o={responseType:"arraybuffer",url:n},l=e.certLoadPolicy.default,u={loadPolicy:l,timeout:l.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},h={onSuccess:function(t,e,r,i){a(t.data)},onError:function(e,r,a,l){s(new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:a,response:i({url:o.url,data:void 0},e)},'"'+t+'" certificate request failed ('+n+"). Status: "+e.code+" ("+e.text+")"))},onTimeout:function(e,r,i){s(new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:i,response:{url:o.url,data:void 0}},'"'+t+'" certificate request timed out ('+n+")"))},onAbort:function(t,e,r){s(new Error("aborted"))}};r.load(o,u,h)}))):Promise.resolve()},e.setMediaKeysServerCertificate=function(t,e,r){var i=this;return new Promise((function(n,a){t.setServerCertificate(r).then((function(a){i.log("setServerCertificate "+(a?"success":"not supported by CDM")+" ("+(null==r?void 0:r.byteLength)+') on "'+e+'"'),n(t)})).catch((function(t){a(new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:t,fatal:!0},t.message))}))}))},e.renewLicense=function(t,e){var r=this;return this.requestLicense(t,new Uint8Array(e)).then((function(e){return r.updateKeySession(t,new Uint8Array(e)).catch((function(t){throw new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:t,fatal:!0},t.message)}))}))},e.unpackPlayReadyKeyMessage=function(t,e){var r=String.fromCharCode.apply(null,new Uint16Array(e.buffer));if(!r.includes("PlayReadyKeyMessage"))return t.setRequestHeader("Content-Type","text/xml; charset=utf-8"),e;var i=(new DOMParser).parseFromString(r,"application/xml"),n=i.querySelectorAll("HttpHeader");if(n.length>0)for(var a,s=0,o=n.length;s<o;s++){var l,u,h=null==(l=(a=n[s]).querySelector("name"))?void 0:l.textContent,d=null==(u=a.querySelector("value"))?void 0:u.textContent;h&&d&&t.setRequestHeader(h,d)}var c=i.querySelector("Challenge"),f=null==c?void 0:c.textContent;if(!f)throw new Error("Cannot find <Challenge> in key message");return W(atob(f))},e.setupLicenseXHR=function(t,e,r,i){var n=this,a=this.config.licenseXhrSetup;return a?Promise.resolve().then((function(){if(!r.decryptdata)throw new Error("Key removed");return a.call(n.hls,t,e,r,i)})).catch((function(s){if(!r.decryptdata)throw s;return t.open("POST",e,!0),a.call(n.hls,t,e,r,i)})).then((function(r){return t.readyState||t.open("POST",e,!0),{xhr:t,licenseChallenge:r||i}})):(t.open("POST",e,!0),Promise.resolve({xhr:t,licenseChallenge:i}))},e.requestLicense=function(t,e){var r=this,i=this.config.keyLoadPolicy.default;return new Promise((function(n,a){var s=r.getLicenseServerUrl(t.keySystem);r.log("Sending license request to URL: "+s);var o=new XMLHttpRequest;o.responseType="arraybuffer",o.onreadystatechange=function(){if(!r.hls||!t.mediaKeysSession)return a(new Error("invalid state"));if(4===o.readyState)if(200===o.status){r._requestLicenseFailureCount=0;var l=o.response;r.log("License received "+(l instanceof ArrayBuffer?l.byteLength:l));var u=r.config.licenseResponseCallback;if(u)try{l=u.call(r.hls,o,s,t)}catch(t){r.error(t)}n(l)}else{var h=i.errorRetry,d=h?h.maxNumRetry:0;if(r._requestLicenseFailureCount++,r._requestLicenseFailureCount>d||o.status>=400&&o.status<500)a(new ls({type:L.KEY_SYSTEM_ERROR,details:A.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:o,response:{url:s,data:void 0,code:o.status,text:o.statusText}},"License Request XHR failed ("+s+"). Status: "+o.status+" ("+o.statusText+")"));else{var c=d-r._requestLicenseFailureCount+1;r.warn("Retrying license request, "+c+" attempts left"),r.requestLicense(t,e).then(n,a)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=o,r.setupLicenseXHR(o,s,t,e).then((function(e){var i=e.xhr,n=e.licenseChallenge;t.keySystem==q.PLAYREADY&&(n=r.unpackPlayReadyKeyMessage(i,n)),i.send(n)}))}))},e.onMediaAttached=function(t,e){if(this.config.emeEnabled){var r=e.media;this.media=r,r.addEventListener("encrypted",this.onMediaEncrypted),r.addEventListener("waitingforkey",this.onWaitingForKey)}},e.onMediaDetached=function(){var e=this,r=this.media,i=this.mediaKeySessions;r&&(r.removeEventListener("encrypted",this.onMediaEncrypted),r.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null),this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Zt.clearKeyUriToKeyIdMap();var n=i.length;t.CDMCleanupPromise=Promise.all(i.map((function(t){return e.removeSession(t)})).concat(null==r?void 0:r.setMediaKeys(null).catch((function(t){e.log("Could not clear media keys: "+t)})))).then((function(){n&&(e.log("finished closing key sessions and clearing media keys"),i.length=0)})).catch((function(t){e.log("Could not close sessions and clear media keys: "+t)}))},e.onManifestLoading=function(){this.keyFormatPromise=null},e.onManifestLoaded=function(t,e){var r=e.sessionKeys;if(r&&this.config.emeEnabled&&!this.keyFormatPromise){var i=r.reduce((function(t,e){return-1===t.indexOf(e.keyFormat)&&t.push(e.keyFormat),t}),[]);this.log("Selecting key-system from session-keys "+i.join(", ")),this.keyFormatPromise=this.getKeyFormatPromise(i)}},e.removeSession=function(t){var e=this,r=t.mediaKeysSession,i=t.licenseXhr;if(r){this.log("Remove licenses and keys and close session "+r.sessionId),t._onmessage&&(r.removeEventListener("message",t._onmessage),t._onmessage=void 0),t._onkeystatuseschange&&(r.removeEventListener("keystatuseschange",t._onkeystatuseschange),t._onkeystatuseschange=void 0),i&&i.readyState!==XMLHttpRequest.DONE&&i.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;var n=this.mediaKeySessions.indexOf(t);return n>-1&&this.mediaKeySessions.splice(n,1),r.remove().catch((function(t){e.log("Could not remove session: "+t)})).then((function(){return r.close()})).catch((function(t){e.log("Could not close session: "+t)}))}},t}();is.CDMCleanupPromise=void 0;var ns,as,ss,os,ls=function(t){function e(e,r){var i;return(i=t.call(this,r)||this).data=void 0,e.error||(e.error=new Error(r)),i.data=e,e.err=e.error,i}return l(e,t),e}(c(Error));!function(t){t.MANIFEST="m",t.AUDIO="a",t.VIDEO="v",t.MUXED="av",t.INIT="i",t.CAPTION="c",t.TIMED_TEXT="tt",t.KEY="k",t.OTHER="o"}(ns||(ns={})),function(t){t.DASH="d",t.HLS="h",t.SMOOTH="s",t.OTHER="o"}(as||(as={})),function(t){t.OBJECT="CMCD-Object",t.REQUEST="CMCD-Request",t.SESSION="CMCD-Session",t.STATUS="CMCD-Status"}(ss||(ss={}));var us=((os={})[ss.OBJECT]=["br","d","ot","tb"],os[ss.REQUEST]=["bl","dl","mtp","nor","nrr","su"],os[ss.SESSION]=["cid","pr","sf","sid","st","v"],os[ss.STATUS]=["bs","rtp"],os),hs=function t(e,r){this.value=void 0,this.params=void 0,Array.isArray(e)&&(e=e.map((function(e){return e instanceof t?e:new t(e)}))),this.value=e,this.params=r},ds=function(t){this.description=void 0,this.description=t},cs="Dict";function fs(t,e,r,i){return new Error("failed to "+t+' "'+(n=e,(Array.isArray(n)?JSON.stringify(n):n instanceof Map?"Map{}":n instanceof Set?"Set{}":"object"==typeof n?JSON.stringify(n):String(n))+'" as ')+r,{cause:i});var n}var gs="Bare Item",vs="Boolean",ms="Byte Sequence",ps="Decimal",ys="Integer",Es=/[\x00-\x1f\x7f]+/,Ts="Token",Ss="Key";function Ls(t,e,r){return fs("serialize",t,e,r)}function As(t){if(!1===ArrayBuffer.isView(t))throw Ls(t,ms);return":"+(e=t,btoa(String.fromCharCode.apply(String,e))+":");var e}function Rs(t){if(function(t){return t<-999999999999999||999999999999999<t}(t))throw Ls(t,ys);return t.toString()}function bs(t,e){if(t<0)return-bs(-t,e);var r=Math.pow(10,e);if(Math.abs(t*r%1-.5)<Number.EPSILON){var i=Math.floor(t*r);return(i%2==0?i:i+1)/r}return Math.round(t*r)/r}function ks(t){var e=bs(t,3);if(Math.floor(Math.abs(e)).toString().length>12)throw Ls(t,ps);var r=e.toString();return r.includes(".")?r:r+".0"}var Ds="String";function Is(t){var e,r=(e=t).description||e.toString().slice(7,-1);if(!1===/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(r))throw Ls(r,Ts);return r}function ws(t){switch(typeof t){case"number":if(!y(t))throw Ls(t,gs);return Number.isInteger(t)?Rs(t):ks(t);case"string":return function(t){if(Es.test(t))throw Ls(t,Ds);return'"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}(t);case"symbol":return Is(t);case"boolean":return function(t){if("boolean"!=typeof t)throw Ls(t,vs);return t?"?1":"?0"}(t);case"object":if(t instanceof Date)return function(t){return"@"+Rs(t.getTime()/1e3)}(t);if(t instanceof Uint8Array)return As(t);if(t instanceof ds)return Is(t);default:throw Ls(t,gs)}}function Cs(t){if(!1===/^[a-z*][a-z0-9\-_.*]*$/.test(t))throw Ls(t,Ss);return t}function _s(t){return null==t?"":Object.entries(t).map((function(t){var e=t[0],r=t[1];return!0===r?";"+Cs(e):";"+Cs(e)+"="+ws(r)})).join("")}function xs(t){return t instanceof hs?""+ws(t.value)+_s(t.params):ws(t)}function Ps(t,e){var r;if(void 0===e&&(e={whitespace:!0}),"object"!=typeof t)throw Ls(t,cs);var i=t instanceof Map?t.entries():Object.entries(t),n=null!=(r=e)&&r.whitespace?" ":"";return Array.from(i).map((function(t){var e=t[0],r=t[1];r instanceof hs==0&&(r=new hs(r));var i,n=Cs(e);return!0===r.value?n+=_s(r.params):(n+="=",Array.isArray(r.value)?n+="("+(i=r).value.map(xs).join(" ")+")"+_s(i.params):n+=xs(r)),n})).join(","+n)}var Fs=function(t){return"ot"===t||"sf"===t||"st"===t},Ms=function(t){return"number"==typeof t?y(t):null!=t&&""!==t&&!1!==t},Os=function(t){return Math.round(t)},Ns=function(t){return 100*Os(t/100)},Us={br:Os,d:Os,bl:Ns,dl:Ns,mtp:Ns,nor:function(t,e){return null!=e&&e.baseUrl&&(t=function(t,e){var r=new URL(t),i=new URL(e);if(r.origin!==i.origin)return t;for(var n=r.pathname.split("/").slice(1),a=i.pathname.split("/").slice(1,-1);n[0]===a[0];)n.shift(),a.shift();for(;a.length;)a.shift(),n.unshift("..");return n.join("/")}(t,e.baseUrl)),encodeURIComponent(t)},rtp:Ns,tb:Os};function Bs(t,e){return void 0===e&&(e={}),t?function(t,e){return Ps(t,e)}(function(t,e){var r={};if(null==t||"object"!=typeof t)return r;var i=Object.keys(t).sort(),n=o({},Us,null==e?void 0:e.formatters),a=null==e?void 0:e.filter;return i.forEach((function(i){if(null==a||!a(i)){var s=t[i],o=n[i];o&&(s=o(s,e)),"v"===i&&1===s||"pr"==i&&1===s||Ms(s)&&(Fs(i)&&"string"==typeof s&&(s=new ds(s)),r[i]=s)}})),r}(t,e),o({whitespace:!1},e)):""}function Gs(t,e,r){return o(t,function(t,e){var r;if(void 0===e&&(e={}),!t)return{};var i=Object.entries(t),n=Object.entries(us).concat(Object.entries((null==(r=e)?void 0:r.customHeaderMap)||{})),a=i.reduce((function(t,e){var r,i=e[0],a=e[1],s=(null==(r=n.find((function(t){return t[1].includes(i)})))?void 0:r[0])||ss.REQUEST;return null!=t[s]||(t[s]={}),t[s][i]=a,t}),{});return Object.entries(a).reduce((function(t,r){var i=r[0],n=r[1];return t[i]=Bs(n,e),t}),{})}(e,r))}var Ks="CMCD",Hs=/CMCD=[^&#]+/;function Vs(t,e,r){var i=function(t,e){if(void 0===e&&(e={}),!t)return"";var r=Bs(t,e);return Ks+"="+encodeURIComponent(r)}(e,r);if(!i)return t;if(Hs.test(t))return t.replace(Hs,i);var n=t.includes("?")?"&":"?";return""+t+n+i}var Ys=function(){function t(t){var e=this;this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=function(){e.initialized&&(e.starved=!0),e.buffering=!0},this.onPlaying=function(){e.initialized||(e.initialized=!0),e.buffering=!1},this.applyPlaylistData=function(t){try{e.apply(t,{ot:ns.MANIFEST,su:!e.initialized})}catch(t){w.warn("Could not generate manifest CMCD data.",t)}},this.applyFragmentData=function(t){try{var r=t.frag,i=e.hls.levels[r.level],n=e.getObjectType(r),a={d:1e3*r.duration,ot:n};n!==ns.VIDEO&&n!==ns.AUDIO&&n!=ns.MUXED||(a.br=i.bitrate/1e3,a.tb=e.getTopBandwidth(n)/1e3,a.bl=e.getBufferLength(n)),e.apply(t,a)}catch(t){w.warn("Could not generate segment CMCD data.",t)}},this.hls=t;var r=this.config=t.config,i=r.cmcd;null!=i&&(r.pLoader=this.createPlaylistLoader(),r.fLoader=this.createFragmentLoader(),this.sid=i.sessionId||function(){try{return crypto.randomUUID()}catch(i){try{var t=URL.createObjectURL(new Blob),e=t.toString();return URL.revokeObjectURL(t),e.slice(e.lastIndexOf("/")+1)}catch(t){var r=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=(r+16*Math.random())%16|0;return r=Math.floor(r/16),("x"==t?e:3&e|8).toString(16)}))}}}(),this.cid=i.contentId,this.useHeaders=!0===i.useHeaders,this.includeKeys=i.includeKeys,this.registerListeners())}var e=t.prototype;return e.registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHED,this.onMediaDetached,this),t.on(S.BUFFER_CREATED,this.onBufferCreated,this)},e.unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHED,this.onMediaDetached,this),t.off(S.BUFFER_CREATED,this.onBufferCreated,this)},e.destroy=function(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=null},e.onMediaAttached=function(t,e){this.media=e.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)},e.onMediaDetached=function(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)},e.onBufferCreated=function(t,e){var r,i;this.audioBuffer=null==(r=e.tracks.audio)?void 0:r.buffer,this.videoBuffer=null==(i=e.tracks.video)?void 0:i.buffer},e.createData=function(){var t;return{v:1,sf:as.HLS,sid:this.sid,cid:this.cid,pr:null==(t=this.media)?void 0:t.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}},e.apply=function(t,e){void 0===e&&(e={}),o(e,this.createData());var r=e.ot===ns.INIT||e.ot===ns.VIDEO||e.ot===ns.MUXED;this.starved&&r&&(e.bs=!0,e.su=!0,this.starved=!1),null==e.su&&(e.su=this.buffering);var i=this.includeKeys;i&&(e=Object.keys(e).reduce((function(t,r){return i.includes(r)&&(t[r]=e[r]),t}),{})),this.useHeaders?(t.headers||(t.headers={}),Gs(t.headers,e)):t.url=Vs(t.url,e)},e.getObjectType=function(t){var e=t.type;return"subtitle"===e?ns.TIMED_TEXT:"initSegment"===t.sn?ns.INIT:"audio"===e?ns.AUDIO:"main"===e?this.hls.audioTracks.length?ns.VIDEO:ns.MUXED:void 0},e.getTopBandwidth=function(t){var e,r=0,i=this.hls;if(t===ns.AUDIO)e=i.audioTracks;else{var n=i.maxAutoLevel,a=n>-1?n+1:i.levels.length;e=i.levels.slice(0,a)}for(var s,o=g(e);!(s=o()).done;){var l=s.value;l.bitrate>r&&(r=l.bitrate)}return r>0?r:NaN},e.getBufferLength=function(t){var e=this.hls.media,r=t===ns.AUDIO?this.audioBuffer:this.videoBuffer;return r&&e?1e3*ri.bufferInfo(r,e.currentTime,this.config.maxBufferHole).len:NaN},e.createPlaylistLoader=function(){var t=this.config.pLoader,e=this.applyPlaylistData,r=t||this.config.loader;return function(){function t(t){this.loader=void 0,this.loader=new r(t)}var i=t.prototype;return i.destroy=function(){this.loader.destroy()},i.abort=function(){this.loader.abort()},i.load=function(t,r,i){e(t),this.loader.load(t,r,i)},s(t,[{key:"stats",get:function(){return this.loader.stats}},{key:"context",get:function(){return this.loader.context}}]),t}()},e.createFragmentLoader=function(){var t=this.config.fLoader,e=this.applyFragmentData,r=t||this.config.loader;return function(){function t(t){this.loader=void 0,this.loader=new r(t)}var i=t.prototype;return i.destroy=function(){this.loader.destroy()},i.abort=function(){this.loader.abort()},i.load=function(t,r,i){e(t),this.loader.load(t,r,i)},s(t,[{key:"stats",get:function(){return this.loader.stats}},{key:"context",get:function(){return this.loader.context}}]),t}()},t}(),Ws=function(){function t(t){this.hls=void 0,this.log=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this.pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=t,this.log=w.log.bind(w,"[content-steering]:"),this.registerListeners()}var e=t.prototype;return e.registerListeners=function(){var t=this.hls;t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.ERROR,this.onError,this)},e.unregisterListeners=function(){var t=this.hls;t&&(t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.ERROR,this.onError,this))},e.startLoad=function(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){var t=1e3*this.timeToLoad-(performance.now()-this.updated);if(t>0)return void this.scheduleRefresh(this.uri,t)}this.loadSteeringManifest(this.uri)}},e.stopLoad=function(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()},e.clearTimeout=function(){-1!==this.reloadTimer&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)},e.destroy=function(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null},e.removeLevel=function(t){var e=this.levels;e&&(this.levels=e.filter((function(e){return e!==t})))},e.onManifestLoading=function(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null},e.onManifestLoaded=function(t,e){var r=e.contentSteering;null!==r&&(this.pathwayId=r.pathwayId,this.uri=r.uri,this.started&&this.startLoad())},e.onManifestParsed=function(t,e){this.audioTracks=e.audioTracks,this.subtitleTracks=e.subtitleTracks},e.onError=function(t,e){var r=e.errorAction;if((null==r?void 0:r.action)===Dr&&r.flags===_r){var i=this.levels,n=this.pathwayPriority,a=this.pathwayId;if(e.context){var s=e.context,o=s.groupId,l=s.pathwayId,u=s.type;o&&i?a=this.getPathwayForGroupId(o,u,a):l&&(a=l)}a in this.penalizedPathways||(this.penalizedPathways[a]=performance.now()),!n&&i&&(n=i.reduce((function(t,e){return-1===t.indexOf(e.pathwayId)&&t.push(e.pathwayId),t}),[])),n&&n.length>1&&(this.updatePathwayPriority(n),r.resolved=this.pathwayId!==a),r.resolved||w.warn("Could not resolve "+e.details+' ("'+e.error.message+'") with content-steering for Pathway: '+a+" levels: "+(i?i.length:i)+" priorities: "+JSON.stringify(n)+" penalized: "+JSON.stringify(this.penalizedPathways))}},e.filterParsedLevels=function(t){this.levels=t;var e=this.getLevelsForPathway(this.pathwayId);if(0===e.length){var r=t[0].pathwayId;this.log("No levels found in Pathway "+this.pathwayId+'. Setting initial Pathway to "'+r+'"'),e=this.getLevelsForPathway(r),this.pathwayId=r}return e.length!==t.length&&this.log("Found "+e.length+"/"+t.length+' levels in Pathway "'+this.pathwayId+'"'),e},e.getLevelsForPathway=function(t){return null===this.levels?[]:this.levels.filter((function(e){return t===e.pathwayId}))},e.updatePathwayPriority=function(t){var e;this.pathwayPriority=t;var r=this.penalizedPathways,i=performance.now();Object.keys(r).forEach((function(t){i-r[t]>3e5&&delete r[t]}));for(var n=0;n<t.length;n++){var a=t[n];if(!(a in r)){if(a===this.pathwayId)return;var s=this.hls.nextLoadLevel,o=this.hls.levels[s];if((e=this.getLevelsForPathway(a)).length>0){this.log('Setting Pathway to "'+a+'"'),this.pathwayId=a,mr(e),this.hls.trigger(S.LEVELS_UPDATED,{levels:e});var l=this.hls.levels[s];o&&l&&this.levels&&(l.attrs["STABLE-VARIANT-ID"]!==o.attrs["STABLE-VARIANT-ID"]&&l.bitrate!==o.bitrate&&this.log("Unstable Pathways change from bitrate "+o.bitrate+" to "+l.bitrate),this.hls.nextLoadLevel=s);break}}}},e.getPathwayForGroupId=function(t,e,r){for(var i=this.getLevelsForPathway(r).concat(this.levels||[]),n=0;n<i.length;n++)if(e===xe&&i[n].hasAudioGroup(t)||e===Pe&&i[n].hasSubtitleGroup(t))return i[n].pathwayId;return r},e.clonePathways=function(t){var e=this,r=this.levels;if(r){var i={},n={};t.forEach((function(t){var a=t.ID,s=t["BASE-ID"],o=t["URI-REPLACEMENT"];if(!r.some((function(t){return t.pathwayId===a}))){var l=e.getLevelsForPathway(s).map((function(t){var e=new x(t.attrs);e["PATHWAY-ID"]=a;var r=e.AUDIO&&e.AUDIO+"_clone_"+a,s=e.SUBTITLES&&e.SUBTITLES+"_clone_"+a;r&&(i[e.AUDIO]=r,e.AUDIO=r),s&&(n[e.SUBTITLES]=s,e.SUBTITLES=s);var l=qs(t.uri,e["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",o),u=new or({attrs:e,audioCodec:t.audioCodec,bitrate:t.bitrate,height:t.height,name:t.name,url:l,videoCodec:t.videoCodec,width:t.width});if(t.audioGroups)for(var h=1;h<t.audioGroups.length;h++)u.addGroupId("audio",t.audioGroups[h]+"_clone_"+a);if(t.subtitleGroups)for(var d=1;d<t.subtitleGroups.length;d++)u.addGroupId("text",t.subtitleGroups[d]+"_clone_"+a);return u}));
vendor: 8,361 bytes, line 30
30r.push.apply(r,l),js(e.audioTracks,i,o,a),js(e.subtitleTracks,n,o,a)}}))}},e.loadSteeringManifest=function(t){var e,r=this,i=this.hls.config,n=i.loader;this.loader&&this.loader.destroy(),this.loader=new n(i);try{e=new self.URL(t)}catch(e){return this.enabled=!1,void this.log("Failed to parse Steering Manifest URI: "+t)}if("data:"!==e.protocol){var a=0|(this.hls.bandwidthEstimate||i.abrEwmaDefaultEstimate);e.searchParams.set("_HLS_pathway",this.pathwayId),e.searchParams.set("_HLS_throughput",""+a)}var s={responseType:"json",url:e.href},o=i.steeringManifestLoadPolicy.default,l=o.errorRetry||o.timeoutRetry||{},u={loadPolicy:o,timeout:o.maxLoadTimeMs,maxRetry:l.maxNumRetry||0,retryDelay:l.retryDelayMs||0,maxRetryDelay:l.maxRetryDelayMs||0},h={onSuccess:function(t,i,n,a){r.log('Loaded steering manifest: "'+e+'"');var s=t.data;if(1===s.VERSION){r.updated=performance.now(),r.timeToLoad=s.TTL;var o=s["RELOAD-URI"],l=s["PATHWAY-CLONES"],u=s["PATHWAY-PRIORITY"];if(o)try{r.uri=new self.URL(o,e).href}catch(t){return r.enabled=!1,void r.log("Failed to parse Steering Manifest RELOAD-URI: "+o)}r.scheduleRefresh(r.uri||n.url),l&&r.clonePathways(l);var h={steeringManifest:s,url:e.toString()};r.hls.trigger(S.STEERING_MANIFEST_LOADED,h),u&&r.updatePathwayPriority(u)}else r.log("Steering VERSION "+s.VERSION+" not supported!")},onError:function(t,e,i,n){if(r.log("Error loading steering manifest: "+t.code+" "+t.text+" ("+e.url+")"),r.stopLoad(),410===t.code)return r.enabled=!1,void r.log("Steering manifest "+e.url+" no longer available");var a=1e3*r.timeToLoad;if(429!==t.code)r.scheduleRefresh(r.uri||e.url,a);else{var s=r.loader;if("function"==typeof(null==s?void 0:s.getResponseHeader)){var o=s.getResponseHeader("Retry-After");o&&(a=1e3*parseFloat(o))}r.log("Steering manifest "+e.url+" rate limited")}},onTimeout:function(t,e,i){r.log("Timeout loading steering manifest ("+e.url+")"),r.scheduleRefresh(r.uri||e.url)}};this.log("Requesting steering manifest: "+e),this.loader.load(s,u,h)},e.scheduleRefresh=function(t,e){var r=this;void 0===e&&(e=1e3*this.timeToLoad),this.clearTimeout(),this.reloadTimer=self.setTimeout((function(){var e,i=null==(e=r.hls)?void 0:e.media;!i||i.ended?r.scheduleRefresh(t,1e3*r.timeToLoad):r.loadSteeringManifest(t)}),e)},t}();function js(t,e,r,i){t&&Object.keys(e).forEach((function(n){var a=t.filter((function(t){return t.groupId===n})).map((function(t){var a=o({},t);return a.details=void 0,a.attrs=new x(a.attrs),a.url=a.attrs.URI=qs(t.url,t.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",r),a.groupId=a.attrs["GROUP-ID"]=e[n],a.attrs["PATHWAY-ID"]=i,a}));t.push.apply(t,a)}))}function qs(t,e,r,i){var n,a=i.HOST,s=i.PARAMS,o=i[r];e&&(n=null==o?void 0:o[e])&&(t=n);var l=new self.URL(t);return a&&!n&&(l.host=a),s&&Object.keys(s).sort().forEach((function(t){t&&l.searchParams.set(t,s[t])})),l.href}var Xs=/^age:\s*[\d.]+\s*$/im,zs=function(){function t(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new M,this.retryDelay=0}var e=t.prototype;return e.destroy=function(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null},e.abortInternal=function(){var t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,4!==t.readyState&&(this.stats.aborted=!0,t.abort()))},e.abort=function(){var t;this.abortInternal(),null!=(t=this.callbacks)&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)},e.load=function(t,e,r){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=e,this.callbacks=r,this.loadInternal()},e.loadInternal=function(){var t=this,e=this.config,r=this.context;if(e&&r){var i=this.loader=new self.XMLHttpRequest,n=this.stats;n.loading.first=0,n.loaded=0,n.aborted=!1;var a=this.xhrSetup;a?Promise.resolve().then((function(){if(t.loader===i&&!t.stats.aborted)return a(i,r.url)})).catch((function(e){if(t.loader===i&&!t.stats.aborted)return i.open("GET",r.url,!0),a(i,r.url)})).then((function(){t.loader!==i||t.stats.aborted||t.openAndSendXhr(i,r,e)})).catch((function(e){t.callbacks.onError({code:i.status,text:e.message},r,i,n)})):this.openAndSendXhr(i,r,e)}},e.openAndSendXhr=function(t,e,r){t.readyState||t.open("GET",e.url,!0);var i=e.headers,n=r.loadPolicy,a=n.maxTimeToFirstByteMs,s=n.maxLoadTimeMs;if(i)for(var o in i)t.setRequestHeader(o,i[o]);e.rangeEnd&&t.setRequestHeader("Range","bytes="+e.rangeStart+"-"+(e.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=e.responseType,self.clearTimeout(this.requestTimeout),r.timeout=a&&y(a)?a:s,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),r.timeout),t.send()},e.readystatechange=function(){var t=this.context,e=this.loader,r=this.stats;if(t&&e){var i=e.readyState,n=this.config;if(!r.aborted&&i>=2&&(0===r.loading.first&&(r.loading.first=Math.max(self.performance.now(),r.loading.start),n.timeout!==n.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),n.timeout=n.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),n.loadPolicy.maxLoadTimeMs-(r.loading.first-r.loading.start)))),4===i)){self.clearTimeout(this.requestTimeout),e.onreadystatechange=null,e.onprogress=null;var a=e.status,s="text"!==e.responseType;if(a>=200&&a<300&&(s&&e.response||null!==e.responseText)){r.loading.end=Math.max(self.performance.now(),r.loading.first);var o=s?e.response:e.responseText,l="arraybuffer"===e.responseType?o.byteLength:o.length;if(r.loaded=r.total=l,r.bwEstimate=8e3*r.total/(r.loading.end-r.loading.first),!this.callbacks)return;var u=this.callbacks.onProgress;if(u&&u(r,t,o,e),!this.callbacks)return;var h={url:e.responseURL,data:o,code:a};this.callbacks.onSuccess(h,r,t,e)}else{var d=n.loadPolicy.errorRetry;Sr(d,r.retry,!1,{url:t.url,data:void 0,code:a})?this.retry(d):(w.error(a+" while loading "+t.url),this.callbacks.onError({code:a,text:e.statusText},t,e,r))}}}},e.loadtimeout=function(){if(this.config){var t=this.config.loadPolicy.timeoutRetry;if(Sr(t,this.stats.retry,!0))this.retry(t);else{var e;w.warn("timeout while loading "+(null==(e=this.context)?void 0:e.url));var r=this.callbacks;r&&(this.abortInternal(),r.onTimeout(this.stats,this.context,this.loader))}}},e.retry=function(t){var e=this.context,r=this.stats;this.retryDelay=Er(t,r.retry),r.retry++,w.warn((status?"HTTP Status "+status:"Timeout")+" while loading "+(null==e?void 0:e.url)+", retrying "+r.retry+"/"+t.maxNumRetry+" in "+this.retryDelay+"ms"),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)},e.loadprogress=function(t){var e=this.stats;e.loaded=t.loaded,t.lengthComputable&&(e.total=t.total)},e.getCacheAge=function(){var t=null;if(this.loader&&Xs.test(this.loader.getAllResponseHeaders())){var e=this.loader.getResponseHeader("age");t=e?parseFloat(e):null}return t},e.getResponseHeader=function(t){return this.loader&&new RegExp("^"+t+":\\s*[\\d.]+\\s*$","im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null},t}(),Qs=/(\d+)-(\d+)\/(\d+)/,Js=function(){function t(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||$s,this.controller=new self.AbortController,this.stats=new M}var e=t.prototype;return e.destroy=function(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null},e.abortInternal=function(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())},e.abort=function(){var t;this.abortInternal(),null!=(t=this.callbacks)&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)},e.load=function(t,e,r){var i=this,n=this.stats;if(n.loading.start)throw new Error("Loader can only be used once.");
vendor: 4,338 bytes, line 30
30n.loading.start=self.performance.now();var a=function(t,e){var r={method:"GET",mode:"cors",credentials:"same-origin",signal:e,headers:new self.Headers(o({},t.headers))};return t.rangeEnd&&r.headers.set("Range","bytes="+t.rangeStart+"-"+String(t.rangeEnd-1)),r}(t,this.controller.signal),s=r.onProgress,l="arraybuffer"===t.responseType,u=l?"byteLength":"length",h=e.loadPolicy,d=h.maxTimeToFirstByteMs,c=h.maxLoadTimeMs;this.context=t,this.config=e,this.callbacks=r,this.request=this.fetchSetup(t,a),self.clearTimeout(this.requestTimeout),e.timeout=d&&y(d)?d:c,this.requestTimeout=self.setTimeout((function(){i.abortInternal(),r.onTimeout(n,t,i.response)}),e.timeout),self.fetch(this.request).then((function(a){i.response=i.loader=a;var o=Math.max(self.performance.now(),n.loading.start);if(self.clearTimeout(i.requestTimeout),e.timeout=c,i.requestTimeout=self.setTimeout((function(){i.abortInternal(),r.onTimeout(n,t,i.response)}),c-(o-n.loading.start)),!a.ok){var u=a.status,h=a.statusText;throw new to(h||"fetch, bad network response",u,a)}return n.loading.first=o,n.total=function(t){var e=t.get("Content-Range");if(e){var r=function(t){var e=Qs.exec(t);if(e)return parseInt(e[2])-parseInt(e[1])+1}(e);if(y(r))return r}var i=t.get("Content-Length");if(i)return parseInt(i)}(a.headers)||n.total,s&&y(e.highWaterMark)?i.loadProgressively(a,n,t,e.highWaterMark,s):l?a.arrayBuffer():"json"===t.responseType?a.json():a.text()})).then((function(a){var o=i.response;if(!o)throw new Error("loader destroyed");self.clearTimeout(i.requestTimeout),n.loading.end=Math.max(self.performance.now(),n.loading.first);var l=a[u];l&&(n.loaded=n.total=l);var h={url:o.url,data:a,code:o.status};s&&!y(e.highWaterMark)&&s(n,t,a,o),r.onSuccess(h,n,t,o)})).catch((function(e){if(self.clearTimeout(i.requestTimeout),!n.aborted){var a=e&&e.code||0,s=e?e.message:null;r.onError({code:a,text:s},t,e?e.details:null,n)}}))},e.getCacheAge=function(){var t=null;if(this.response){var e=this.response.headers.get("age");t=e?parseFloat(e):null}return t},e.getResponseHeader=function(t){return this.response?this.response.headers.get(t):null},e.loadProgressively=function(t,e,r,i,n){void 0===i&&(i=0);var a=new xi,s=t.body.getReader();return function o(){return s.read().then((function(s){if(s.done)return a.dataLength&&n(e,r,a.flush(),t),Promise.resolve(new ArrayBuffer(0));var l=s.value,u=l.length;return e.loaded+=u,u<i||a.dataLength?(a.push(l),a.dataLength>=i&&n(e,r,a.flush(),t)):n(e,r,l,t),o()})).catch((function(){return Promise.reject()}))}()},t}();function $s(t,e){return new self.Request(t.url,e)}var Zs,to=function(t){function e(e,r,i){var n;return(n=t.call(this,e)||this).code=void 0,n.details=void 0,n.code=r,n.details=i,n}return l(e,t),e}(c(Error)),eo=/\s/,ro=i(i({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:6e7,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:zs,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:jr,bufferController:na,capLevelController:ts,errorController:Pr,fpsController:es,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:ot,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableID3MetadataCues:!0,useMediaCapabilities:!0,cert
vendor: 4,366 bytes, line 30
30LoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null}},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},{cueHandler:{newCue:function(t,e,r,i){for(var n,a,s,o,l,u=[],h=self.VTTCue||self.TextTrackCue,d=0;d<i.rows.length;d++)if(s=!0,o=0,l="",!(n=i.rows[d]).isEmpty()){for(var c,f=0;f<n.chars.length;f++)eo.test(n.chars[f].uchar)&&s?o++:(l+=n.chars[f].uchar,s=!1);n.cueStartTime=e,e===r&&(r+=1e-4),o>=16?o--:o++;var g=Pa(l.trim()),v=Ua(e,r,g);null!=t&&null!=(c=t.cues)&&c.getCueById(v)||((a=new h(e,r,g)).id=v,a.line=d+1,a.align="left",a.position=10+Math.min(80,10*Math.floor(8*o/32)),u.push(a))}return t&&u.length&&(u.sort((function(t,e){return"auto"===t.line||"auto"===e.line?0:t.line>8&&e.line>8?e.line-t.line:t.line-e.line})),u.forEach((function(e){return Ke(t,e)}))),u}},enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}),{},{subtitleStreamController:Zn,subtitleTrackController:ea,timelineController:Ja,audioStreamController:Jn,audioTrackController:$n,emeController:is,cmcdController:Ys,contentSteeringController:Ws});function io(t){return t&&"object"==typeof t?Array.isArray(t)?t.map(io):Object.keys(t).reduce((function(e,r){return e[r]=io(t[r]),e}),{}):t}function no(t){var e=t.loader;e!==Js&&e!==zs?(w.log("[config]: Custom loader detected, cannot enable progressive streaming"),t.progressive=!1):function(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(t){}return!1}()&&(t.loader=Js,t.progressive=!0,t.enableSoftwareAES=!0,w.log("[config]: Progressive streaming enabled, using FetchLoader"))}var ao=function(t){function e(e,r){var i;return(i=t.call(this,e,"[level-controller]")||this)._levels=[],i._firstLevel=-1,i._maxAutoLevel=-1,i._startLevel=void 0,i.currentLevel=null,i.currentLevelIndex=-1,i.manualLevelIndex=-1,i.steering=void 0,i.onParsedComplete=void 0,i.steering=r,i._registerListeners(),i}l(e,t);var r=e.prototype;return r._registerListeners=function(){var t=this.hls;t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this),t.on(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this),t.on(S.ERROR,this.onError,this)},r._unregisterListeners=function(){var t=this.hls;t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this),t.off(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this),t.off(S.ERROR,this.onError,this)},r.destroy=function(){this._unregisterListeners(),this.steering=null,this.resetLevels(),t.prototype.destroy.call(this)}
vendor: 4,664 bytes, line 30
30,r.stopLoad=function(){this._levels.forEach((function(t){t.loadError=0,t.fragmentError=0})),t.prototype.stopLoad.call(this)},r.resetLevels=function(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1},r.onManifestLoading=function(t,e){this.resetLevels()},r.onManifestLoaded=function(t,e){var r=this.hls.config.preferManagedMediaSource,i=[],n={},a={},s=!1,o=!1,l=!1;e.levels.forEach((function(t){var e,u,h=t.attrs,d=t.audioCodec,c=t.videoCodec;-1!==(null==(e=d)?void 0:e.indexOf("mp4a.40.34"))&&(Zs||(Zs=/chrome|firefox/i.test(navigator.userAgent)),Zs&&(t.audioCodec=d=void 0)),d&&(t.audioCodec=d=ve(d,r)),0===(null==(u=c)?void 0:u.indexOf("avc1"))&&(c=t.videoCodec=function(t){for(var e=t.split(","),r=0;r<e.length;r++){var i=e[r].split(".");if(i.length>2){var n=i.shift()+".";n+=parseInt(i.shift()).toString(16),n+=("000"+parseInt(i.shift()).toString(16)).slice(-4),e[r]=n}}return e.join(",")}(c));var f=t.width,g=t.height,v=t.unknownCodecs;if(s||(s=!(!f||!g)),o||(o=!!c),l||(l=!!d),!(null!=v&&v.length||d&&!le(d,"audio",r)||c&&!le(c,"video",r))){var m=h.CODECS,p=h["FRAME-RATE"],y=h["HDCP-LEVEL"],E=h["PATHWAY-ID"],T=h.RESOLUTION,S=h["VIDEO-RANGE"],L=(E||".")+"-"+t.bitrate+"-"+T+"-"+p+"-"+m+"-"+S+"-"+y;if(n[L])if(n[L].uri===t.url||t.attrs["PATHWAY-ID"])n[L].addGroupId("audio",h.AUDIO),n[L].addGroupId("text",h.SUBTITLES);else{var A=a[L]+=1;t.attrs["PATHWAY-ID"]=new Array(A+1).join(".");var R=new or(t);n[L]=R,i.push(R)}else{var b=new or(t);n[L]=b,a[L]=1,i.push(b)}}})),this.filterAndSortMediaOptions(i,e,s,o,l)},r.filterAndSortMediaOptions=function(t,e,r,i,n){var a=this,s=[],o=[],l=t;if((r||i)&&n&&(l=l.filter((function(t){var e,r=t.videoCodec,i=t.videoRange,n=t.width,a=t.height;return(!!r||!(!n||!a))&&!!(e=i)&&er.indexOf(e)>-1}))),0!==l.length){if(e.audioTracks){var u=this.hls.config.preferManagedMediaSource;so(s=e.audioTracks.filter((function(t){return!t.audioCodec||le(t.audioCodec,"audio",u)})))}e.subtitles&&so(o=e.subtitles);var h=l.slice(0);l.sort((function(t,e){if(t.attrs["HDCP-LEVEL"]!==e.attrs["HDCP-LEVEL"])return(t.attrs["HDCP-LEVEL"]||"")>(e.attrs["HDCP-LEVEL"]||"")?1:-1;if(r&&t.height!==e.height)return t.height-e.height;if(t.frameRate!==e.frameRate)return t.frameRate-e.frameRate;if(t.videoRange!==e.videoRange)return er.indexOf(t.videoRange)-er.indexOf(e.videoRange);if(t.videoCodec!==e.videoCodec){var i=de(t.videoCodec),n=de(e.videoCodec);if(i!==n)return n-i}if(t.uri===e.uri&&t.codecSet!==e.codecSet){var a=ce(t.codecSet),s=ce(e.codecSet);if(a!==s)return s-a}return t.averageBitrate!==e.averageBitrate?t.averageBitrate-e.averageBitrate:0}));var d=h[0];if(this.steering&&(l=this.steering.filterParsedLevels(l)).length!==h.length)for(var c=0;c<h.length;c++)if(h[c].pathwayId===l[0].pathwayId){d=h[c];break}this._levels=l;for(var f=0;f<l.length;f++)if(l[f]===d){var g;this._firstLevel=f;var v=d.bitrate,m=this.hls.bandwidthEstimate;if(this.log("manifest loaded, "+l.length+" level(s) found, first bitrate: "+v),void 0===(null==(g=this.hls.userConfig)?void 0:g.abrEwmaDefaultEstimate)){var p=Math.min(v,this.hls.config.abrEwmaDefaultEstimateMax);p>m&&m===ro.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=p)}break}var y=n&&!i,E={levels:l,audioTracks:s,subtitleTracks:o,sessionData:e.sessionData,sessionKeys:e.sessionKeys,firstLevel:this._firstLevel,stats:e.stats,audio:n,video:i,altAudio:!y&&s.some((function(t){return!!t.url}))};this.hls.trigger(S.MANIFEST_PARSED,E),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}else Promise.resolve().then((function(){if(a.hls){e.levels.length&&a.warn("One or more CODECS in variant not supported: "+JSON.stringify(e.levels[0].attrs));var t=new Error("no level with compatible codecs found in manifest");a.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:e.url,error:t,reason:t.message})}}))},r.onError=function(t,e){!e.fatal&&e.context&&e.context.type===_e&&e.context.level===this.level&&this.checkRetry(e)},r.onFragBuffered=function(t,e){var r=e.frag;if(void 0!==r&&r.type===Fe){var i=r.elementaryStreams;if(!Object.keys(i).some((function(t){return!!i[t]})))return;var n=this._levels[r.level];null!=n&&n.loadError&&(this.log("Resetting level error count of "+n.loadError+" on frag buffered"),n.loadError=0)}},r.onLevelLoaded=function(t,e){var r,i,n=e.level,a=e.details,s=this._levels[n];if(!s)return this.warn("Invalid level index "+n),void(null!=(i=e.deliveryDirectives)&&i.skip&&(a.deltaUpdateFailed=!0));n===this.currentLevelIndex?(0===s.fragmentError&&(s.loadError=0),this.playlistLoaded(n,e,
vendor: 9,009 bytes, line 30
30s.details)):null!=(r=e.deliveryDirectives)&&r.skip&&(a.deltaUpdateFailed=!0)},r.loadPlaylist=function(e){t.prototype.loadPlaylist.call(this);var r=this.currentLevelIndex,i=this.currentLevel;if(i&&this.shouldLoadPlaylist(i)){var n=i.uri;if(e)try{n=e.addDirectives(n)}catch(t){this.warn("Could not construct new URL with HLS Delivery Directives: "+t)}var a=i.attrs["PATHWAY-ID"];this.log("Loading level index "+r+(void 0!==(null==e?void 0:e.msn)?" at sn "+e.msn+" part "+e.part:"")+" with"+(a?" Pathway "+a:"")+" "+n),this.clearTimer(),this.hls.trigger(S.LEVEL_LOADING,{url:n,level:r,pathwayId:i.attrs["PATHWAY-ID"],id:0,deliveryDirectives:e||null})}},r.removeLevel=function(t){var e,r=this,i=this._levels.filter((function(e,i){return i!==t||(r.steering&&r.steering.removeLevel(e),e===r.currentLevel&&(r.currentLevel=null,r.currentLevelIndex=-1,e.details&&e.details.fragments.forEach((function(t){return t.level=-1}))),!1)}));mr(i),this._levels=i,this.currentLevelIndex>-1&&null!=(e=this.currentLevel)&&e.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.hls.trigger(S.LEVELS_UPDATED,{levels:i})},r.onLevelsUpdated=function(t,e){var r=e.levels;this._levels=r},r.checkMaxAutoUpdated=function(){var t=this.hls,e=t.autoLevelCapping,r=t.maxAutoLevel,i=t.maxHdcpLevel;this._maxAutoLevel!==r&&(this._maxAutoLevel=r,this.hls.trigger(S.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:r,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:i}))},s(e,[{key:"levels",get:function(){return 0===this._levels.length?null:this._levels}},{key:"level",get:function(){return this.currentLevelIndex},set:function(t){var e=this._levels;if(0!==e.length){if(t<0||t>=e.length){var r=new Error("invalid level idx"),i=t<0;if(this.hls.trigger(S.ERROR,{type:L.OTHER_ERROR,details:A.LEVEL_SWITCH_ERROR,level:t,fatal:i,error:r,reason:r.message}),i)return;t=Math.min(t,e.length-1)}var n=this.currentLevelIndex,a=this.currentLevel,s=a?a.attrs["PATHWAY-ID"]:void 0,o=e[t],l=o.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=o,n!==t||!o.details||!a||s!==l){this.log("Switching to level "+t+" ("+(o.height?o.height+"p ":"")+(o.videoRange?o.videoRange+" ":"")+(o.codecSet?o.codecSet+" ":"")+"@"+o.bitrate+")"+(l?" with Pathway "+l:"")+" from level "+n+(s?" with Pathway "+s:""));var u={level:t,attrs:o.attrs,details:o.details,bitrate:o.bitrate,averageBitrate:o.averageBitrate,maxBitrate:o.maxBitrate,realBitrate:o.realBitrate,width:o.width,height:o.height,codecSet:o.codecSet,audioCodec:o.audioCodec,videoCodec:o.videoCodec,audioGroups:o.audioGroups,subtitleGroups:o.subtitleGroups,loaded:o.loaded,loadError:o.loadError,fragmentError:o.fragmentError,name:o.name,id:o.id,uri:o.uri,url:o.url,urlId:0,audioGroupIds:o.audioGroupIds,textGroupIds:o.textGroupIds};this.hls.trigger(S.LEVEL_SWITCHING,u);var h=o.details;if(!h||h.live){var d=this.switchParams(o.uri,null==a?void 0:a.details,h);this.loadPlaylist(d)}}}}},{key:"manualLevel",get:function(){return this.manualLevelIndex},set:function(t){this.manualLevelIndex=t,void 0===this._startLevel&&(this._startLevel=t),-1!==t&&(this.level=t)}},{key:"firstLevel",get:function(){return this._firstLevel},set:function(t){this._firstLevel=t}},{key:"startLevel",get:function(){if(void 0===this._startLevel){var t=this.hls.config.startLevel;return void 0!==t?t:this.hls.firstAutoLevel}return this._startLevel},set:function(t){this._startLevel=t}},{key:"nextLoadLevel",get:function(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel},set:function(t){this.level=t,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=t)}}]),e}(Fr);function so(t){var e={};t.forEach((function(t){var r=t.groupId||"";t.id=e[r]=e[r]||0,e[r]++}))}var oo=function(){function t(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}var e=t.prototype;return e.abort=function(t){for(var e in this.keyUriToKeyInfo){var r=this.keyUriToKeyInfo[e].loader;if(r){var i;if(t&&t!==(null==(i=r.context)?void 0:i.frag.type))return;r.abort()}}},e.detach=function(){for(var t in this.keyUriToKeyInfo){var e=this.keyUriToKeyInfo[t];(e.mediaKeySessionContext||e.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}},e.destroy=function(){for(var t in this.detach(),this.keyUriToKeyInfo){var e=this.keyUriToKeyInfo[t].loader;e&&e.destroy()}this.keyUriToKeyInfo={}},e.createKeyLoadError=function(t,e,r,i,n){return void 0===e&&(e=A.KEY_LOAD_ERROR),new fi({type:L.NETWORK_ERROR,details:e,fatal:!1,frag:t,response:n,error:r,networkDetails:i})},e.loadClear=function(t,e){var r=this;if(this.emeController&&this.config.emeEnabled)for(var i=t.sn,n=t.cc,a=function(){var t=e[s];if(n<=t.cc&&("initSegment"===i||"initSegment"===t.sn||i<t.sn))return r.emeController.selectKeySystemFormat(t).then((function(e){t.setKeyFormat(e)})),1},s=0;s<e.length&&!a();s++);},e.load=function(t){var e=this;return!t.decryptdata&&t.encrypted&&this.emeController?this.emeController.selectKeySystemFormat(t).then((function(r){return e.loadInternal(t,r)})):this.loadInternal(t)},e.loadInternal=function(t,e){var r,i;e&&t.setKeyFormat(e);var n=t.decryptdata;if(!n){var a=new Error(e?"Expected frag.decryptdata to be defined after setting format "+e:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,A.KEY_LOAD_ERROR,a))}var s=n.uri;if(!s)return Promise.reject(this.createKeyLoadError(t,A.KEY_LOAD_ERROR,new Error('Invalid key URI: "'+s+'"')));var o,l=this.keyUriToKeyInfo[s];if(null!=(r=l)&&r.decryptdata.key)return n.key=l.decryptdata.key,Promise.resolve({frag:t,keyInfo:l});if(null!=(i=l)&&i.keyLoadPromise)switch(null==(o=l.mediaKeySessionContext)?void 0:o.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return l.keyLoadPromise.then((function(e){return n.key=e.keyInfo.decryptdata.key,{frag:t,keyInfo:l}}))}switch(l=this.keyUriToKeyInfo[s]={decryptdata:n,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},n.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return"identity"===n.keyFormat?this.loadKeyHTTP(l,t):this.loadKeyEME(l,t);case"AES-128":return this.loadKeyHTTP(l,t);default:return Promise.reject(this.createKeyLoadError(t,A.KEY_LOAD_ERROR,new Error('Key supplied with unsupported METHOD: "'+n.method+'"')))}},e.loadKeyEME=function(t,e){var r={frag:e,keyInfo:t};if(this.emeController&&this.config.emeEnabled){var i=this.emeController.loadKey(r);if(i)return(t.keyLoadPromise=i.then((function(e){return t.mediaKeySessionContext=e,r}))).catch((function(e){throw t.keyLoadPromise=null,e}))}return Promise.resolve(r)},e.loadKeyHTTP=function(t,e){var r=this,n=this.config,a=new(0,n.loader)(n);return e.keyLoader=t.loader=a,t.keyLoadPromise=new Promise((function(s,o){var l={keyInfo:t,frag:e,responseType:"arraybuffer",url:t.decryptdata.uri},u=n.keyLoadPolicy.default,h={loadPolicy:u,timeout:u.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},d={onSuccess:function(t,e,i,n){var a=i.frag,l=i.keyInfo,u=i.url;if(!a.decryptdata||l!==r.keyUriToKeyInfo[u])return o(r.createKeyLoadError(a,A.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),n));l.decryptdata.key=a.decryptdata.key=new Uint8Array(t.data),a.keyLoader=null,l.loader=null,s({frag:a,keyInfo:l})},onError:function(t,n,a,s){r.resetLoader(n),o(r.createKeyLoadError(e,A.KEY_LOAD_ERROR,new Error("HTTP Error "+t.code+" loading key "+t.text),a,i({url:l.url,data:void 0},t)))},onTimeout:function(t,i,n){r.resetLoader(i),o(r.createKeyLoadError(e,A.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),n))},onAbort:function(t,i,n){r.resetLoader(i),o(r.createKeyLoadError(e,A.INTERNAL_ABORTED,new Error("key loading aborted"),n))}};a.load(l,h,d)}))},e.resetLoader=function(t){var e=t.frag,r=t.keyInfo,i=t.url,n=r.loader;e.keyLoader===n&&(e.keyLoader=null,r.loader=null),delete this.keyUriToKeyInfo[i],n&&n.destroy()},t}();function lo(){return self.SourceBuffer||self.WebKitSourceBuffer}function uo(){if(!se())return!1;var t=lo();return!t||t.prototype&&"function"==typeof t.prototype.appendBuffer&&"function"==typeof t.prototype.remove}var ho=function(){function t(t,e,r,i){this.config=void 0,this.media=null,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=t,this.media=e,this.fragmentTracker=r,this.hls=i}var e=t.prototype;return e.destroy=function(){this.media=null,this.hls=this.fragmentTracker=null},e.poll=function(t,e){var r=this.config,i=this.media,n=this.stalled;if(null!==i){var a=i.currentTime,s=i.seeking,o=this.seeking&&!s,l=!this.seeking&&s;if(this.seeking=s,a===t)if(l||o)this.stalled=null;else if(i.paused&&!s||i.ended||0===i.playbackRate||!ri.getBuffered(i).length)this.nudgeRetry=0;else{var u=ri.bufferInfo(i,a,0),h=u.nextStart||0;if(s){var d=u.len>2,c=!h||e&&e.start<=a||h-a>2&&!this.fragmentTracker.getPartialFragment(a);if(d||c)return;this.moved=!1}if(!this.moved&&null!==this.stalled){var f;if(!(u.len>0||h))return;
vendor: 33,450 bytes, line 30
30var g=Math.max(h,u.start||0)-a,v=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,m=(null==v||null==(f=v.details)?void 0:f.live)?2*v.details.targetduration:2,p=this.fragmentTracker.getPartialFragment(a);if(g>0&&(g<=m||p))return void(i.paused||this._trySkipBufferHole(p))}var y=self.performance.now();if(null!==n){var E=y-n;if(s||!(E>=250)||(this._reportStall(u),this.media)){var T=ri.bufferInfo(i,a,r.maxBufferHole);this._tryFixBufferStall(T,E)}}else this.stalled=y}else if(this.moved=!0,s||(this.nudgeRetry=0),null!==n){if(this.stallReported){var S=self.performance.now()-n;w.warn("playback not stuck anymore @"+a+", after "+Math.round(S)+"ms"),this.stallReported=!1}this.stalled=null}}},e._tryFixBufferStall=function(t,e){var r=this.config,i=this.fragmentTracker,n=this.media;if(null!==n){var a=n.currentTime,s=i.getPartialFragment(a);if(s&&(this._trySkipBufferHole(s)||!this.media))return;(t.len>r.maxBufferHole||t.nextStart&&t.nextStart-a<r.maxBufferHole)&&e>1e3*r.highBufferWatchdogPeriod&&(w.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())}},e._reportStall=function(t){var e=this.hls,r=this.media;if(!this.stallReported&&r){this.stallReported=!0;var i=new Error("Playback stalling at @"+r.currentTime+" due to low buffer ("+JSON.stringify(t)+")");w.warn(i.message),e.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.BUFFER_STALLED_ERROR,fatal:!1,error:i,buffer:t.len})}},e._trySkipBufferHole=function(t){var e=this.config,r=this.hls,i=this.media;if(null===i)return 0;var n=i.currentTime,a=ri.bufferInfo(i,n,0),s=n<a.start?a.start:a.nextStart;if(s){var o=a.len<=e.maxBufferHole,l=a.len>0&&a.len<1&&i.readyState<3,u=s-n;if(u>0&&(o||l)){if(u>e.maxBufferHole){var h=this.fragmentTracker,d=!1;if(0===n){var c=h.getAppendedFrag(0,Fe);c&&s<c.end&&(d=!0)}if(!d){var f=t||h.getAppendedFrag(n,Fe);if(f){for(var g=!1,v=f.end;v<s;){var m=h.getPartialFragment(v);if(!m){g=!0;break}v+=m.duration}if(g)return 0}}}var p=Math.max(s+.05,n+.1);if(w.warn("skipping hole, adjusting currentTime from "+n+" to "+p),this.moved=!0,this.stalled=null,i.currentTime=p,t&&!t.gap){var y=new Error("fragment loaded with buffer holes, seeking from "+n+" to "+p);r.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:y,reason:y.message,frag:t})}return p}}return 0},e._tryNudgeBuffer=function(){var t=this.config,e=this.hls,r=this.media,i=this.nudgeRetry;if(null!==r){var n=r.currentTime;if(this.nudgeRetry++,i<t.nudgeMaxRetry){var a=n+(i+1)*t.nudgeOffset,s=new Error("Nudging 'currentTime' from "+n+" to "+a);w.warn(s.message),r.currentTime=a,e.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.BUFFER_NUDGE_ON_STALL,error:s,fatal:!1})}else{var o=new Error("Playhead still not moving while enough data buffered @"+n+" after "+t.nudgeMaxRetry+" nudges");w.error(o.message),e.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:A.BUFFER_STALLED_ERROR,error:o,fatal:!0})}}},t}(),co=function(t){function e(e,r,i){var n;return(n=t.call(this,e,r,i,"[stream-controller]",Fe)||this).audioCodecSwap=!1,n.gapController=null,n.level=-1,n._forceStartLoad=!1,n.altAudio=!1,n.audioOnly=!1,n.fragPlaying=null,n.onvplaying=null,n.onvseeked=null,n.fragLastKbps=0,n.couldBacktrack=!1,n.backtrackFragment=null,n.audioCodecSwitch=!1,n.videoBuffer=null,n._registerListeners(),n}l(e,t);var r=e.prototype;return r._registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.LEVEL_LOADING,this.onLevelLoading,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this),t.on(S.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(S.ERROR,this.onError,this),t.on(S.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(S.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(S.BUFFER_CREATED,this.onBufferCreated,this),t.on(S.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this)},r._unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this),t.off(S.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(S.ERROR,this.onError,this),t.off(S.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(S.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(S.BUFFER_CREATED,this.onBufferCreated,this),t.off(S.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this)},r.onHandlerDestroying=function(){this._unregisterListeners(),t.prototype.onHandlerDestroying.call(this)},r.startLoad=function(t){if(this.levels){var e=this.lastCurrentTime,r=this.hls;if(this.stopLoad(),this.setInterval(100),this.level=-1,!this.startFragRequested){var i=r.startLevel;-1===i&&(r.config.testBandwidth&&this.levels.length>1?(i=0,this.bitrateTest=!0):i=r.firstAutoLevel),r.nextLoadLevel=i,this.level=r.loadLevel,this.loadedmetadata=!1}e>0&&-1===t&&(this.log("Override startPosition with lastCurrentTime @"+e.toFixed(3)),t=e),this.state=Ti,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()}else this._forceStartLoad=!0,this.state=Ei},r.stopLoad=function(){this._forceStartLoad=!1,t.prototype.stopLoad.call(this)},r.doTick=function(){switch(this.state){case Ci:var t=this.levels,e=this.level,r=null==t?void 0:t[e],i=null==r?void 0:r.details;if(i&&(!i.live||this.levelLastLoaded===r)){if(this.waitForCdnTuneIn(i))break;this.state=Ti;break}if(this.hls.nextLoadLevel!==this.level){this.state=Ti;break}break;case Ai:var n,a=self.performance.now(),s=this.retryDate;if(!s||a>=s||null!=(n=this.media)&&n.seeking){var o=this.levels,l=this.level,u=null==o?void 0:o[l];this.resetStartWhenNotLoaded(u||null),this.state=Ti}}this.state===Ti&&this.doTickIdle(),this.onTickEnd()},r.onTickEnd=function(){t.prototype.onTickEnd.call(this),this.checkBuffer(),this.checkFragmentChanged()},r.doTickIdle=function(){var t=this.hls,e=this.levelLastLoaded,r=this.levels,i=this.media;if(null!==e&&(i||!this.startFragRequested&&t.config.startFragPrefetch)&&(!this.altAudio||!this.audioOnly)){var n=t.nextLoadLevel;if(null!=r&&r[n]){var a=r[n],s=this.getMainFwdBufferInfo();if(null!==s){var o=this.getLevelDetails();if(o&&this._streamEnded(s,o)){var l={};return this.altAudio&&(l.type="video"),this.hls.trigger(S.BUFFER_EOS,l),void(this.state=Di)}t.loadLevel!==n&&-1===t.manualLevel&&this.log("Adapting to level "+n+" from level "+this.level),this.level=t.nextLoadLevel=n;var u=a.details;if(!u||this.state===Ci||u.live&&this.levelLastLoaded!==a)return this.level=n,void(this.state=Ci);var h=s.len,d=this.getMaxBufferLength(a.maxBitrate);if(!(h>=d)){this.backtrackFragment&&this.backtrackFragment.start>s.end&&(this.backtrackFragment=null);var c=this.backtrackFragment?this.backtrackFragment.start:s.end,f=this.getNextFragment(c,u);if(this.couldBacktrack&&!this.fragPrevious&&f&&"initSegment"!==f.sn&&this.fragmentTracker.getState(f)!==Jr){var g,v=(null!=(g=this.backtrackFragment)?g:f).sn-u.startSN,m=u.fragments[v-1];m&&f.cc===m.cc&&(f=m,this.fragmentTracker.removeFragment(m))}else this.backtrackFragment&&s.len&&(this.backtrackFragment=null);if(f&&this.isLoopLoading(f,c)){if(!f.gap){var p=this.audioOnly&&!this.altAudio?O:N,y=(p===N?this.videoBuffer:this.mediaBuffer)||this.media;y&&this.afterBufferFlushed(y,p,Fe)}f=this.getNextFragmentLoopLoading(f,u,s,Fe,d)}f&&(!f.initSegment||f.initSegment.data||this.bitrateTest||(f=f.initSegment),this.loadFragment(f,a,c))}}}}},r.loadFragment=function(e,r,i){var n=this.fragmentTracker.getState(e);this.fragCurrent=e,n===Xr||n===Qr?"initSegment"===e.sn?this._loadInitSegment(e,r):this.bitrateTest?(this.log("Fragment "+e.sn+" of level "+e.level+" is being downloaded to test bitrate and will not be buffered"),this._loadBitrateTestFrag(e,r)):(this.startFragRequested=!0,t.prototype.loadFragment.call(this,e,r,i)):this.clearTrackerIfNeeded(e)},r.getBufferedFrag=function(t){return this.fragmentTracker.getBufferedFrag(t,Fe)},r.followingBufferedFrag=function(t){return t?this.getBufferedFrag(t.end+.5):null},r.immediateLevelSwitch=function(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)},r.nextLevelSwitch=function(){var t=this.levels,e=this.media;if(null!=e&&e.readyState){var r,i=this.getAppendedFrag(e.currentTime);i&&i.start>1&&this.flushMainBuffer(0,i.start-1);var n=this.getLevelDetails();if(null!=n&&n.live){var a=this.getMainFwdBufferInfo();if(!a||a.len<2*n.targetduration)return}if(!e.paused&&t){var s=t[this.hls.nextLoadLevel],o=this.fragLastKbps;r=o&&this.fragCurrent?this.fragCurrent.duration*s.maxBitrate/(1e3*o)+1:0}else r=0;var l=this.getBufferedFrag(e.currentTime+r);if(l){var u=this.followingBufferedFrag(l);if(u){this.abortCurrentFrag();var h=u.maxStartPTS?u.maxStartPTS:u.start,d=u.duration,c=Math.max(l.end,h+Math.min(Math.max(d-this.config.maxFragLookUpTolerance,d*(this.couldBacktrack?.5:.125)),d*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(c,Number.POSITIVE_INFINITY)}}}},r.abortCurrentFrag=function(){var t=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,t&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.state){case Si:case Li:case Ai:case bi:case ki:this.state=Ti}this.nextLoadPosition=this.getLoadPosition()},r.flushMainBuffer=function(e,r){t.prototype.flushMainBuffer.call(this,e,r,this.altAudio?"video":null)},r.onMediaAttached=function(e,r){t.prototype.onMediaAttached.call(this,e,r);var i=r.media;this.onvplaying=this.onMediaPlaying.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),i.addEventListener("playing",this.onvplaying),i.addEventListener("seeked",this.onvseeked),this.gapController=new ho(this.config,i,this.fragmentTracker,this.hls)},r.onMediaDetaching=function(){var e=this.media;e&&this.onvplaying&&this.onvseeked&&(e.removeEventListener("playing",this.onvplaying),e.removeEventListener("seeked",this.onvseeked),this.onvplaying=this.onvseeked=null,this.videoBuffer=null),this.fragPlaying=null,this.gapController&&(this.gapController.destroy(),this.gapController=null),t.prototype.onMediaDetaching.call(this)},r.onMediaPlaying=function(){this.tick()},r.onMediaSeeked=function(){var t=this.media,e=t?t.currentTime:null;y(e)&&this.log("Media seeked to "+e.toFixed(3));var r=this.getMainFwdBufferInfo();null!==r&&0!==r.len?this.tick():this.warn('Main forward buffer length on "seeked" event '+(r?r.len:"empty")+")")},r.onManifestLoading=function(){this.log("Trigger BUFFER_RESET"),this.hls.trigger(S.BUFFER_RESET,void 0),this.fragmentTracker.removeAllFragments(),this.couldBacktrack=!1,this.startPosition=this.lastCurrentTime=this.fragLastKbps=0,this.levels=this.fragPlaying=this.backtrackFragment=this.levelLastLoaded=null,this.altAudio=this.audioOnly=this.startFragRequested=!1},r.onManifestParsed=function(t,e){var r,i,n=!1,a=!1;e.levels.forEach((function(t){var e=t.audioCodec;e&&(n=n||-1!==e.indexOf("mp4a.40.2"),a=a||-1!==e.indexOf("mp4a.40.5"))})),this.audioCodecSwitch=n&&a&&!("function"==typeof(null==(i=lo())||null==(r=i.prototype)?void 0:r.changeType)),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=e.levels,this.startFragRequested=!1},r.onLevelLoading=function(t,e){var r=this.levels;if(r&&this.state===Ti){var i=r[e.level];(!i.details||i.details.live&&this.levelLastLoaded!==i||this.waitForCdnTuneIn(i.details))&&(this.state=Ci)}},r.onLevelLoaded=function(t,e){var r,i=this.levels,n=e.level,a=e.details,s=a.totalduration;if(i){this.log("Level "+n+" loaded ["+a.startSN+","+a.endSN+"]"+(a.lastPartSn?"[part-"+a.lastPartSn+"-"+a.lastPartIndex+"]":"")+", cc ["+a.startCC+", "+a.endCC+"] duration:"+s);var o=i[n],l=this.fragCurrent;!l||this.state!==Li&&this.state!==Ai||l.level!==e.level&&l.loader&&this.abortCurrentFrag();var u=0;if(a.live||null!=(r=o.details)&&r.live){var h;if(this.checkLiveUpdate(a),a.deltaUpdateFailed)return;u=this.alignPlaylists(a,o.details,null==(h=this.levelLastLoaded)?void 0:h.details)}if(o.details=a,this.levelLastLoaded=o,this.hls.trigger(S.LEVEL_UPDATED,{details:a,level:n}),this.state===Ci){if(this.waitForCdnTuneIn(a))return;this.state=Ti}this.startFragRequested?a.live&&this.synchronizeToLiveEdge(a):this.setStartPosition(a,u),this.tick()}else this.warn("Levels were reset while loading level "+n)},r._handleFragmentLoadProgress=function(t){var e,r=t.frag,i=t.part,n=t.payload,a=this.levels;if(a){var s=a[r.level],o=s.details;if(!o)return this.warn("Dropping fragment "+r.sn+" of level "+r.level+" after level details were reset"),void this.fragmentTracker.removeFragment(r);var l=s.videoCodec,u=o.PTSKnown||!o.live,h=null==(e=r.initSegment)?void 0:e.data,d=this._getAudioCodec(s),c=this.transmuxer=this.transmuxer||new qn(this.hls,Fe,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),f=i?i.index:-1,g=-1!==f,v=new ii(r.level,r.sn,r.stats.chunkCount,n.byteLength,f,g),m=this.initPTS[r.cc];c.push(n,h,d,l,r,i,o.totalduration,u,v,m)}else this.warn("Levels were reset while fragment load was in progress. Fragment "+r.sn+" of level "+r.level+" will not be buffered")},r.onAudioTrackSwitching=function(t,e){var r=this.altAudio;if(!e.url){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var i=this.fragCurrent;i&&(this.log("Switching to main audio track, cancel main fragment load"),i.abortRequests(),this.fragmentTracker.removeFragment(i)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();var n=this.hls;r&&(n.trigger(S.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null}),this.fragmentTracker.removeAllFragments()),n.trigger(S.AUDIO_TRACK_SWITCHED,e)}},r.onAudioTrackSwitched=function(t,e){var r=e.id,i=!!this.hls.audioTracks[r].url;if(i){var n=this.videoBuffer;n&&this.mediaBuffer!==n&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=n)}this.altAudio=i,this.tick()},r.onBufferCreated=function(t,e){var r,i,n=e.tracks,a=!1;for(var s in n){var o=n[s];if("main"===o.id){if(i=s,r=o,"video"===s){var l=n[s];l&&(this.videoBuffer=l.buffer)}}else a=!0}a&&r?(this.log("Alternate track found, use "+i+".buffered to schedule main fragment loading"),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media},r.onFragBuffered=function(t,e){var r=e.frag,i=e.part;if(!r||r.type===Fe){if(this.fragContextChanged(r))return this.warn("Fragment "+r.sn+(i?" p: "+i.index:"")+" of level "+r.level+" finished buffering, but was aborted. state: "+this.state),void(this.state===ki&&(this.state=Ti));var n=i?i.stats:r.stats;this.fragLastKbps=Math.round(8*n.total/(n.buffering.end-n.loading.first)),"initSegment"!==r.sn&&(this.fragPrevious=r),this.fragBufferedComplete(r,i)}},r.onError=function(t,e){var r;if(e.fatal)this.state=Ii;else switch(e.details){case A.FRAG_GAP:case A.FRAG_PARSING_ERROR:case A.FRAG_DECRYPT_ERROR:case A.FRAG_LOAD_ERROR:case A.FRAG_LOAD_TIMEOUT:case A.KEY_LOAD_ERROR:case A.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(Fe,e);break;case A.LEVEL_LOAD_ERROR:case A.LEVEL_LOAD_TIMEOUT:case A.LEVEL_PARSING_ERROR:e.levelRetry||this.state!==Ci||(null==(r=e.context)?void 0:r.type)!==_e||(this.state=Ti);break;case A.BUFFER_APPEND_ERROR:case A.BUFFER_FULL_ERROR:if(!e.parent||"main"!==e.parent)return;if(e.details===A.BUFFER_APPEND_ERROR)return void this.resetLoadingState();this.reduceLengthAndFlushBuffer(e)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case A.INTERNAL_EXCEPTION:this.recoverWorkerError(e)}},r.checkBuffer=function(){var t=this.media,e=this.gapController;if(t&&e&&t.readyState){if(this.loadedmetadata||!ri.getBuffered(t).length){var r=this.state!==Ti?this.fragCurrent:null;e.poll(this.lastCurrentTime,r)}this.lastCurrentTime=t.currentTime}},r.onFragLoadEmergencyAborted=function(){this.state=Ti,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()},r.onBufferFlushed=function(t,e){var r=e.type;if(r!==O||this.audioOnly&&!this.altAudio){var i=(r===N?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(i,r,Fe),this.tick()}},r.onLevelsUpdated=function(t,e){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level),this.levels=e.levels},r.swapAudioCodec=function(){this.audioCodecSwap=!this.audioCodecSwap},r.seekToStartPos=function(){var t=this.media;if(t){var e=t.currentTime,r=this.startPosition;if(r>=0&&e<r){if(t.seeking)return void this.log("could not seek to "+r+", already seeking at "+e);var i=ri.getBuffered(t),n=(i.length?i.start(0):0)-r;n>0&&(n<this.config.maxBufferHole||n<this.config.maxFragLookUpTolerance)&&(this.log("adjusting start position by "+n+" to match buffer start"),r+=n,this.startPosition=r),this.log("seek to target start position "+r+" from current time "+e),t.currentTime=r}}},r._getAudioCodec=function(t){var e=this.config.defaultAudioCodec||t.audioCodec;return this.audioCodecSwap&&e&&(this.log("Swapping audio codec"),e=-1!==e.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),e},r._loadBitrateTestFrag=function(t,e){var r=this;t.bitrateTest=!0,this._doFragLoad(t,e).then((function(i){var n=r.hls;if(i&&!r.fragContextChanged(t)){e.fragmentError=0,r.state=Ti,r.startFragRequested=!1,r.bitrateTest=!1;var a=t.stats;a.parsing.start=a.parsing.end=a.buffering.start=a.buffering.end=self.performance.now(),n.trigger(S.FRAG_LOADED,i),t.bitrateTest=!1}}))},r._handleTransmuxComplete=function(t){var e,r="main",i=this.hls,n=t.remuxResult,a=t.chunkMeta,s=this.getCurrentContext(a);if(s){var o=s.frag,l=s.part,u=s.level,h=n.video,d=n.text,c=n.id3,f=n.initSegment,g=u.details,v=this.altAudio?void 0:n.audio;if(this.fragContextChanged(o))this.fragmentTracker.removeFragment(o);else{if(this.state=bi,f){if(null!=f&&f.tracks){var m=o.initSegment||o;this._bufferInitSegment(u,f.tracks,m,a),i.trigger(S.FRAG_PARSING_INIT_SEGMENT,{frag:m,id:r,tracks:f.tracks})}var p=f.initPTS,E=f.timescale;y(p)&&(this.initPTS[o.cc]={baseTime:p,timescale:E},i.trigger(S.INIT_PTS_FOUND,{frag:o,id:r,initPTS:p,timescale:E}))}if(h&&g&&"initSegment"!==o.sn){var T=g.fragments[o.sn-1-g.startSN],L=o.sn===g.startSN,A=!T||o.cc>T.cc;if(!1!==n.independent){var R=h.startPTS,b=h.endPTS,k=h.startDTS,D=h.endDTS;if(l)l.elementaryStreams[h.type]={startPTS:R,endPTS:b,startDTS:k,endDTS:D};else if(h.firstKeyFrame&&h.independent&&1===a.id&&!A&&(this.couldBacktrack=!0),h.dropped&&h.independent){var I=this.getMainFwdBufferInfo(),w=(I?I.end:this.getLoadPosition())+this.config.maxBufferHole,C=h.firstKeyFramePTS?h.firstKeyFramePTS:R;if(!L&&w<C-this.config.maxBufferHole&&!A)return void this.backtrack(o);A&&(o.gap=!0),o.setElementaryStreamInfo(h.type,o.start,b,o.start,D,!0)}else L&&R>2&&(o.gap=!0);o.setElementaryStreamInfo(h.type,R,b,k,D),this.backtrackFragment&&(this.backtrackFragment=o),this.bufferFragmentData(h,o,l,a,L||A)}else{if(!L&&!A)return void this.backtrack(o);o.gap=!0}}if(v){var _=v.startPTS,x=v.endPTS,P=v.startDTS,F=v.endDTS;l&&(l.elementaryStreams[O]={startPTS:_,endPTS:x,startDTS:P,endDTS:F}),o.setElementaryStreamInfo(O,_,x,P,F),this.bufferFragmentData(v,o,l,a)}if(g&&null!=c&&null!=(e=c.samples)&&e.length){var M={id:r,frag:o,details:g,samples:c.samples};i.trigger(S.FRAG_PARSING_METADATA,M)}if(g&&d){var N={id:r,frag:o,details:g,samples:d.samples};i.trigger(S.FRAG_PARSING_USERDATA,N)}}}else this.resetWhenMissingContext(a)},r._bufferInitSegment=function(t,e,r,i){var n=this;if(this.state===bi){this.audioOnly=!!e.audio&&!e.video,this.altAudio&&!this.audioOnly&&delete e.audio;var a=e.audio,s=e.video,o=e.audiovideo;if(a){var l=t.audioCodec,u=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){l&&(l=-1!==l.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5");var h=a.metadata;h&&"channelCount"in h&&1!==(h.channelCount||1)&&-1===u.indexOf("firefox")&&(l="mp4a.40.5")}l&&-1!==l.indexOf("mp4a.40.5")&&-1!==u.indexOf("android")&&"audio/mpeg"!==a.container&&(l="mp4a.40.2",this.log("Android: force audio codec to "+l)),t.audioCodec&&t.audioCodec!==l&&this.log('Swapping manifest audio codec "'+t.audioCodec+'" for "'+l+'"'),a.levelCodec=l,a.id="main",this.log("Init audio buffer, container:"+a.container+", codecs[selected/level/parsed]=["+(l||"")+"/"+(t.audioCodec||"")+"/"+a.codec+"]")}s&&(s.levelCodec=t.videoCodec,s.id="main",this.log("Init video buffer, container:"+s.container+", codecs[level/parsed]=["+(t.videoCodec||"")+"/"+s.codec+"]")),o&&this.log("Init audiovideo buffer, container:"+o.container+", codecs[level/parsed]=["+t.codecs+"/"+o.codec+"]"),this.hls.trigger(S.BUFFER_CODECS,e),Object.keys(e).forEach((function(t){var a=e[t].initSegment;null!=a&&a.byteLength&&n.hls.trigger(S.BUFFER_APPENDING,{type:t,data:a,frag:r,part:null,chunkMeta:i,parent:r.type})})),this.tickImmediate()}},r.getMainFwdBufferInfo=function(){return this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,Fe)},r.backtrack=function(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Ti},r.checkFragmentChanged=function(){var t=this.media,e=null;if(t&&t.readyState>1&&!1===t.seeking){var r=t.currentTime;if(ri.isBuffered(t,r)?e=this.getAppendedFrag(r):ri.isBuffered(t,r+.1)&&(e=this.getAppendedFrag(r+.1)),e){this.backtrackFragment=null;var i=this.fragPlaying,n=e.level;i&&e.sn===i.sn&&i.level===n||(this.fragPlaying=e,this.hls.trigger(S.FRAG_CHANGED,{frag:e}),i&&i.level===n||this.hls.trigger(S.LEVEL_SWITCHED,{level:n}))}}},s(e,[{key:"nextLevel",get:function(){var t=this.nextBufferedFrag;return t?t.level:-1}},{key:"currentFrag",get:function(){var t=this.media;return t?this.fragPlaying||this.getAppendedFrag(t.currentTime):null}},{key:"currentProgramDateTime",get:function(){var t=this.media;if(t){var e=t.currentTime,r=this.currentFrag;if(r&&y(e)&&y(r.programDateTime)){var i=r.programDateTime+1e3*(e-r.start);return new Date(i)}}return null}},{key:"currentLevel",get:function(){var t=this.currentFrag;return t?t.level:-1}},{key:"nextBufferedFrag",get:function(){var t=this.currentFrag;return t?this.followingBufferedFrag(t):null}},{key:"forceStartLoad",get:function(){return this._forceStartLoad}}]),e}(_i),fo=function(){function t(e){void 0===e&&(e={}),this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this.started=!1,this._emitter=new Vn,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null,this.triggeringException=void 0,I(e.debug||!1,"Hls instance");var r=this.config=function(t,e){if((e.liveSyncDurationCount||e.liveMaxLatencyDurationCount)&&(e.liveSyncDuration||e.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(void 0!==e.liveMaxLatencyDurationCount&&(void 0===e.liveSyncDurationCount||e.liveMaxLatencyDurationCount<=e.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(void 0!==e.liveMaxLatencyDuration&&(void 0===e.liveSyncDuration||e.liveMaxLatencyDuration<=e.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');var r=io(t),n=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return["manifest","level","frag"].forEach((function(t){var i=("level"===t?"playlist":t)+"LoadPolicy",a=void 0===e[i],s=[];n.forEach((function(n){var o=t+"Loading"+n,l=e[o];if(void 0!==l&&a){s.push(o);var u=r[i].default;switch(e[i]={default:u},n){case"TimeOut":u.maxLoadTimeMs=l,u.maxTimeToFirstByteMs=l;break;case"MaxRetry":u.errorRetry.maxNumRetry=l,u.timeoutRetry.maxNumRetry=l;break;case"RetryDelay":u.errorRetry.retryDelayMs=l,u.timeoutRetry.retryDelayMs=l;break;case"MaxRetryTimeout":u.errorRetry.maxRetryDelayMs=l,u.timeoutRetry.maxRetryDelayMs=l}}})),s.length&&w.warn('hls.js config: "'+s.join('", "')+'" setting(s) are deprecated, use "'+i+'": '+JSON.stringify(e[i]))})),i(i({},r),e)}(t.DefaultConfig,e);this.userConfig=e,r.progressive&&no(r);var n=r.abrController,a=r.bufferController,s=r.capLevelController,o=r.errorController,l=r.fpsController,u=new o(this),h=this.abrController=new n(this),d=this.bufferController=new a(this),c=this.capLevelController=new s(this),f=new l(this),g=new Be(this),v=new $e(this),m=r.contentSteeringController,p=m?new m(this):null,y=this.levelController=new ao(this,p),E=new $r(this),T=new oo(this.config),L=this.streamController=new co(this,E,T);c.setStreamController(L),f.setStreamController(L);var A=[g,y,L];p&&A.splice(1,0,p),this.networkControllers=A;var R=[h,d,c,f,v,E];this.audioTrackController=this.createController(r.audioTrackController,A);var b=r.audioStreamController;b&&A.push(new b(this,E,T)),this.subtitleTrackController=this.createController(r.subtitleTrackController,A);var k=r.subtitleStreamController;k&&A.push(new k(this,E,T)),this.createController(r.timelineController,R),T.emeController=this.emeController=this.createController(r.emeController,R),this.cmcdController=this.createController(r.cmcdController,R),this.latencyController=this.createController(Ze,R),this.coreComponents=R,A.push(u);var D=u.onErrorOut;"function"==typeof D&&this.on(S.ERROR,D,u)}t.isMSESupported=function(){return uo()},t.isSupported=function(){return function(){if(!uo())return!1;var t=se();return"function"==typeof(null==t?void 0:t.isTypeSupported)&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some((function(e){return t.isTypeSupported(he(e,"video"))}))||["mp4a.40.2","fLaC"].some((function(e){return t.isTypeSupported(he(e,"audio"))})))}()},t.getMediaSource=function(){return se()};var e=t.prototype;return e.createController=function(t,e){if(t){var r=new t(this);return e&&e.push(r),r}return null},e.on=function(t,e,r){void 0===r&&(r=this),this._emitter.on(t,e,r)},e.once=function(t,e,r){void 0===r&&(r=this),this._emitter.once(t,e,r)},e.removeAllListeners=function(t){this._emitter.removeAllListeners(t)},e.off=function(t,e,r,i){void 0===r&&(r=this),this._emitter.off(t,e,r,i)},e.listeners=function(t){return this._emitter.listeners(t)},e.emit=function(t,e,r){return this._emitter.emit(t,e,r)},e.trigger=function(t,e){if(this.config.debug)return this.emit(t,t,e);try{return this.emit(t,t,e)}catch(e){if(w.error("An internal error happened while handling event "+t+'. Error message: "'+e.message+'". Here is a stacktrace:',e),!this.triggeringException){this.triggeringException=!0;var r=t===S.ERROR;this.trigger(S.ERROR,{type:L.OTHER_ERROR,details:A.INTERNAL_EXCEPTION,fatal:r,event:t,error:e}),this.triggeringException=!1}}return!1},e.listenerCount=function(t){return this._emitter.listenerCount(t)},e.destroy=function(){w.log("destroy"),this.trigger(S.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this.url=null,this.networkControllers.forEach((function(t){return t.destroy()})),this.networkControllers.length=0,this.coreComponents.forEach((function(t){return t.destroy()})),this.coreComponents.length=0;var t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null},e.attachMedia=function(t){w.log("attachMedia"),this._media=t,this.trigger(S.MEDIA_ATTACHING,{media:t})},e.detachMedia=function(){w.log("detachMedia"),this.trigger(S.MEDIA_DETACHING,void 0),this._media=null},e.loadSource=function(t){this.stopLoad();var e=this.media,r=this.url,i=this.url=p.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,w.log("loadSource:"+i),e&&r&&(r!==i||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(e)),this.trigger(S.MANIFEST_LOADING,{url:t})},e.startLoad=function(t){void 0===t&&(t=-1),w.log("startLoad("+t+")"),this.started=!0,this.networkControllers.forEach((function(e){e.startLoad(t)}))},e.stopLoad=function(){w.log("stopLoad"),this.started=!1,this.networkControllers.forEach((function(t){t.stopLoad()}))},e.resumeBuffering=function(){this.started&&this.networkControllers.forEach((function(t){"fragmentLoader"in t&&t.startLoad(-1)}))},e.pauseBuffering=function(){this.networkControllers.forEach((function(t){"fragmentLoader"in t&&t.stopLoad()}))},e.swapAudioCodec=function(){w.log("swapAudioCodec"),this.streamController.swapAudioCodec()},e.recoverMediaError=function(){w.log("recoverMediaError");var t=this._media;this.detachMedia(),t&&this.attachMedia(t)},e.removeLevel=function(t){this.levelController.removeLevel(t)},e.setAudioOption=function(t){var e;return null==(e=this.audioTrackController)?void 0:e.setAudioOption(t)},e.setSubtitleOption=function(t){var e;return null==(e=this.subtitleTrackController)||e.setSubtitleOption(t),null},s(t,[{key:"levels",get:function(){var t=this.levelController.levels;return t||[]}},{key:"currentLevel",get:function(){return this.streamController.currentLevel},set:function(t){w.log("set currentLevel:"+t),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}},{key:"nextLevel",get:function(){return this.streamController.nextLevel},set:function(t){w.log("set nextLevel:"+t),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}},{key:"loadLevel",get:function(){return this.levelController.level},set:function(t){w.log("set loadLevel:"+t),this.levelController.manualLevel=t}},{key:"nextLoadLevel",get:function(){return this.levelController.nextLoadLevel},set:function(t){this.levelController.nextLoadLevel=t}},{key:"firstLevel",get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(t){w.log("set firstLevel:"+t),this.levelController.firstLevel=t}},{key:"startLevel",get:function(){var t=this.levelController.startLevel;return-1===t&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t},set:function(t){w.log("set startLevel:"+t),-1!==t&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}},{key:"capLevelToPlayerSize",get:function(){return this.config.capLevelToPlayerSize},set:function(t){var e=!!t;e!==this.config.capLevelToPlayerSize&&(e?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=e)}},{key:"autoLevelCapping",get:function(){return this._autoLevelCapping},set:function(t){this._autoLevelCapping!==t&&(w.log("set autoLevelCapping:"+t),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}},{key:"bandwidthEstimate",get:function(){var t=this.abrController.bwEstimator;return t?t.getEstimate():NaN},set:function(t){this.abrController.resetEstimator(t)}},{key:"ttfbEstimate",get:function(){var t=this.abrController.bwEstimator;return t?t.getEstimateTTFB():NaN}},{key:"maxHdcpLevel",get:function(){return this._maxHdcpLevel},set:function(t){(function(t){return tr.indexOf(t)>-1})(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}},{key:"autoLevelEnabled",get:function(){return-1===this.levelController.manualLevel}},{key:"manualLevel",get:function(){return this.levelController.manualLevel}},{key:"minAutoLevel",get:function(){var t=this.levels,e=this.config.minAutoBitrate;if(!t)return 0;for(var r=t.length,i=0;i<r;i++)if(t[i].maxBitrate>=e)return i;return 0}},{key:"maxAutoLevel",get:function(){var t,e=this.levels,r=this.autoLevelCapping,i=this.maxHdcpLevel;if(t=-1===r&&null!=e&&e.length?e.length-1:r,i)for(var n=t;n--;){var a=e[n].attrs["HDCP-LEVEL"];if(a&&a<=i)return n}return t}},{key:"firstAutoLevel",get:function(){return this.abrController.firstAutoLevel}},{key:"nextAutoLevel",get:function(){return this.abrController.nextAutoLevel},set:function(t){this.abrController.nextAutoLevel=t}},{key:"playingDate",get:function(){return this.streamController.currentProgramDateTime}},{key:"mainForwardBufferInfo",get:function(){return this.streamController.getMainFwdBufferInfo()}},{key:"allAudioTracks",get:function(){var t=this.audioTrackController;return t?t.allAudioTracks:[]}},{key:"audioTracks",get:function(){var t=this.audioTrackController;return t?t.audioTracks:[]}},{key:"audioTrack",get:function(){var t=this.audioTrackController;return t?t.audioTrack:-1},set:function(t){var e=this.audioTrackController;e&&(e.audioTrack=t)}},{key:"allSubtitleTracks",get:function(){var t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}},{key:"subtitleTracks",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTracks:[]}},{key:"subtitleTrack",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTrack:-1},set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleTrack=t)}},{key:"media",get:function(){return this._media}},{key:"subtitleDisplay",get:function(){var t=this.subtitleTrackController;return!!t&&t.subtitleDisplay}
30,set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleDisplay=t)}},{key:"lowLatencyMode",get:function(){return this.config.lowLatencyMode},set:function(t){this.config.lowLatencyMode=t}},{key:"liveSyncPosition",get:function(){return this.latencyController.liveSyncPosition}},{key:"latency",get:function(){return this.latencyController.latency}},{key:"maxLatency",get:function(){return this.latencyController.maxLatency}},{key:"targetLatency",get:function(){return this.latencyController.targetLatency}},{key:"drift",get:function(){return this.latencyController.drift}},{key:"forceStartLoad",get:function(){return this.streamController.forceStartLoad}}],[{key:"version",get:function(){return"1.5.17"}},{key:"Events",get:function(){return S}},{key:"ErrorTypes",get:function(){return L}},{key:"ErrorDetails",get:function(){return A}},{key:"DefaultConfig",get:function(){return t.defaultConfig?t.defaultConfig:ro},set:function(e){t.defaultConfig=e}}]),t}();return fo.defaultConfig=void 0,fo},"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(r="undefined"!=typeof globalThis?globalThis:r||self).Hls=i()}(!1); 31/* End */ 32; 33; /* Start:"a:4:{s:4:"full";s:50:"/local/templates/altesa/js/index.js?17725459007686";s:6:"source";s:35:"/local/templates/altesa/js/index.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 34$(document).ready(function() { 35 36 if ($('.home-first__swiper').length) { 37 var HomeFirstSlider = new Swiper('.home-first__swiper', { 38 speed: 2500, 39 slidesPerView: 1, 40 spaceBetween: 30, 41 pagination: { 42 el: '.home-first__pagination', 43 }, 44 navigation: { 45 nextEl: '.home-first__button-next', 46 prevEl: '.home-first__button-prev', 47 }, 48 }) 49 } 50 51 if ($('.mainslider').length) { 52 var MainSlider = new Swiper('.mainslider .swiper', { 53 loop: true, 54 speed: 2500, 55 autoplay: { 56 delay: 5000, 57 }, 58 pagination: { 59 el: '.swiper-pagination', 60 clickable: 'true', 61 }, 62 navigation: { 63 nextEl: '.swiper-button-next', 64 prevEl: '.swiper-button-prev', 65 }, 66 }) 67 } 68 69 if ($('.elementor-image-carousel-wrapper').length) { 70 var LeasingPageSlider = new Swiper('.elementor-image-carousel-wrapper', { 71 speed: 2500, 72 slidesPerView: 2, 73 slidesPerGroup: 1, 74 spaceBetween: 20, 75 navigation: { 76 nextEl: '.elementor-swiper-button-next', 77 prevEl: '.elementor-swiper-button-prev', 78 }, 79 pagination: { 80 el: '.elementor-swiper-pagination', 81 }, 82 autoplay: { 83 delay: 1000, 84 }, 85 breakpoints: { 86 650: { slidesPerView: 3 }, 87 1025: { slidesPerView: 6 }, 88 }, 89 }) 90 } 91 92 if ($('.home-offers_swiper').length) { 93 var HomeOfferSlider = new Swiper('.home-offers_swiper', { 94 speed: 2500, 95 slidesPerView: 1, 96 slidesPerGroup: 1, 97 spaceBetween: 20, 98 navigation: { 99 nextEl: '.home-offers_swiper-button-next', 100 prevEl: '.home-offers_swiper-button-prev', 101 }, 102 breakpoints: { 103 650: { slidesPerView: 2 }, 104 1025: { slidesPerView: 3 }, 105 }, 106 }) 107 } 108 if ($('.home-completed-project__swiper').length) { 109 var HomeProjectsSlider = new Swiper('.home-completed-project__swiper', { 110 speed: 2500, 111 slidesPerView: 1, 112 slidesPerGroup: 1, 113 spaceBetween: 10, 114 navigation: { 115 nextEl: '.home-completed-project-next', 116 prevEl: '.home-completed-project-prev', 117 }, 118 breakpoints: { 119 767: { slidesPerView: 2 }, 120 1000: { spaceBetween: 20, slidesPerView: 2 }, 121 }, 122 }) 123 } 124 if ($('.product-slider').length) { 125 var ThumbSlider = new Swiper('.thumbs-product-slider', { 126 centeredSlides: true, 127 centeredSlidesBounds: true, 128 slidesPerView: 3, 129 spaceBetween: 10, loop: true, watchOverflow: true, watchSlidesVisibility: true, 130 watchSlidesProgress: true, direction: 'vertical', 131 }) 132 133 var ProductSlider = new Swiper('.product-slider .swiper', { 134 spaceBetween: 30, 135 slidesPerView: 1, 136 centeredSlides: true, 137 loop: true, 138 pagination: {el: '.swiper-pagination'}, 139 speed: 250, 140 watchOverflow: true, 141 watchSlidesVisibility: true, 142 watchSlidesProgress: true, 143 preventInteractionOnTransition: true, 144 thumbs: { swiper: ThumbSlider }, 145 grabCursor: true, 146 navigation: { 147 nextEl: '.thumbs-product-button-next', 148 prevEl: '.thumbs-product-button-prev', 149 } 150 }) 151 } 152 153 $('.catalog-menu-button').click(function () { 154 $(this).toggleClass('active') 155 $('.mobile-menu').toggleClass('show'); 156 }); 157 158 $('.nav_sm').click(function () { 159 var smi=$(this).children('i'); 160 var smdiv=$(this).children('div'); 161 if ($(this).hasClass('sm-active')) { 162 $(this).removeClass('sm-active'); 163 $(smi).css("transform", "none"); 164 $(smdiv).css("display", "none"); 165 } 166 else { 167 $(this).addClass('sm-active'); 168 $(smdiv).css("display", "contents"); 169 $(smi).css("transform", "rotate(180deg)"); 170 } 171 }); 172 173 $('.footer-equipment').click(function () { 174 $(this).next('.footer-equipment__list').slideToggle() 175 }) 176 $('.footer-information').click(function () { 177 $(this).next('.footer-information__list').slideToggle() 178 }) 179 180 $('.dropbtn').click(function () { 181 $('.dropdown-content').toggle() 182 }) 183 $('.dropdown-content a').click(function () { 184 var text = $(this).text() 185 $('.dropbtn').text(text) 186 $('.dropdown-content').hide() 187 }) 188 189 function activateTab(tab, group) { 190 $('.tab-link[data-group="' + group + '"]').removeClass('active'); 191 $('.tab[data-group="' + group + '"]').removeClass('active'); 192 $('.tab-link[data-tab="' + tab + '"]').addClass('active'); 193 $('.tab[data-tab="' + tab + '"]').addClass('active'); 194 } 195 196 // ÐбÑабоÑка клика по ÑÐ°Ð±Ñ 197 $('body').on('click', '.tab-link', function() { 198 var tab = $(this).data('tab'); 199 var group = $(this).data('group'); 200 201 // ÐкÑивиÑÑем Ñаб 202 activateTab(tab, group); 203 204 // ÐбновлÑем Ñ ÑÑ Ð² URL 205 window.location.hash = 'tab-' + tab; 206 }); 207 208 // ÐÑовеÑка Ñ ÑÑа пÑи загÑÑзке ÑÑÑаниÑÑ 209 function initializeTabsFromHash() { 210 var hash = window.location.hash; // ÐолÑÑаем Ñ ÑÑ Ð¸Ð· URL 211 if (hash && hash.startsWith('#tab-')) { 212 var tabId = hash.substring(5); // УбиÑаем '#tab-' из ÑÑÑоки 213 var $tabLink = $('.tab-link[data-tab="' + tabId + '"]'); 214 if ($tabLink.length) { 215 var group = $tabLink.data('group'); 216 activateTab(tabId, group); 217 } 218 } 219 } 220 221 // ÐниÑиализаÑÐ¸Ñ Ñабов пÑи загÑÑзке ÑÑÑаниÑÑ 222 initializeTabsFromHash(); 223 224 // ÐополниÑелÑно: оÑÑлеживание изменений Ñ ÑÑа без пеÑезагÑÑзки ÑÑÑаниÑÑ 225 $(window).on('hashchange', function() { 226 initializeTabsFromHash(); 227 }); 228 229 230 $('.show-filter').click(function() { 231 $('.filter').addClass('show'); 232 $('body').addClass('lock'); 233 $('.overlay').fadeIn(300); 234 }); 235 236 237 $('body').on('click', '.show-modal', function () { 238 var goalName = $(this).attr('data-ym-click'); 239 if (goalName && typeof ym !== 'undefined') { 240 ym(83439094, 'reachGoal', goalName); 241 } 242 var modal = $(this).attr('data-modal');
243 if (modal == 'modal-order') { 244 product = $(this).data('title'); 245 $('.modal[data-modal=' + modal + '] h3').text(product); 246 $('.modal[data-modal=' + modal + '] input[name="form-product"]').text( 247 product 248 ); 249 } 250 $('.modal[data-modal=' + modal + ']').fadeIn(250); 251 $('body').addClass('lock'); 252 $('.overlay').fadeIn(250); 253 }); 254 255 $('body').on('click', '.modal .close, .filter .close, .overlay', function () { 256 $('.modal').fadeOut(250); 257 $('.filter').removeClass('show'); 258 $('body').removeClass('lock'); 259 $('.overlay').fadeOut(250); 260 }); 261 262 $('a[href^="#"]').on('click', function (event) { 263 var target = this.getAttribute('href'); 264 if (target) { 265 event.preventDefault(); 266 $('html, body').stop().animate({ 267 scrollTop: $(target).offset().top-105 268 }, 1000); 269 } 270 }); 271 272 var player = new Playerjs({replace:"video"}); 273}); 274 275APP = { 276 init: function () { 277 this.catalog.init(); 278 }, 279 280 catalog: { 281 init: function () { 282 this.sortSectionItem(); 283 }, 284 285 sortSectionItem: function () { 286 var elSelect = document.querySelector('.js-catalog__sort-item'); 287 if (!elSelect) { 288 return; 289 } 290 $(elSelect).on('change', function() { 291 location.href = '?sort='+this.value; 292 }); 293 294 } 295 } 296}; 297 298$(document).ready(function () { 299 APP.init(); 300}); 301 302$(document).ready(function () { 303 304 // ÐенÑем лаÑинÑкÑÑ Ð±ÑÐºÐ²Ñ 'c' на киÑиллиÑеÑкÑÑ 'Ñ' в бÑенде Accurl 305 306 $(document).on('submit', '.js-search-form', function () { 307 if ($('.js-search-input').length) { 308 let search_input = $(this).find('.js-search-input').val(); 309 310 if (search_input.match(/accurl/gi)) { // Accurl smart 311 $('.js-search-input').val(search_input.replace(/accurl/gi, 'AcÑurl')); // ÐенÑем бÑÐºÐ²Ñ Ð² бÑенде 312 } 313 } 314 315 return true; 316 }); 317 318}); 319 320/* End */ 321; 322; /* Start:"a:4:{s:4:"full";s:54:"/local/templates/altesa/js/orderform.js?17618135077841";s:6:"source";s:39:"/local/templates/altesa/js/orderform.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 323document.addEventListener('DOMContentLoaded', function () { 324 // reCAPTCHA клÑÑ (v3). ÐамениÑе на Ñвой: 325 const siteKey = '6LfsZr4qAAAAAKkDvpFQaP5qsRrp4nJOENhnpX6l'; 326 327 function showFormMessage(form, message, isSuccess = false) { 328 let resultBlock = form.querySelector('.cf-result'); 329 if (!resultBlock) { 330 resultBlock = document.createElement('div'); 331 resultBlock.classList.add('cf-result'); 332 form.appendChild(resultBlock); 333 } 334 resultBlock.innerHTML = ''; 335 336 const msgDiv = document.createElement('div'); 337 msgDiv.classList.add('cf-notification'); 338 msgDiv.classList.add(isSuccess ? 'cf-notification--success' : 'cf-notification--error'); 339 msgDiv.textContent = message; 340 341 resultBlock.appendChild(msgDiv); 342 } 343 344 function getCookie(name) { 345 const matches = document.cookie.match(new RegExp( 346 "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\+^])/g, '\\$1') + "=([^;]*)" 347 )); 348 return matches ? decodeURIComponent(matches[1]) : ""; 349 } 350 351 function getUrlParams() { 352 const params = {}; 353 const query = window.location.search.substring(1); 354 if (!query) return params; 355 query.split('&').forEach(part => { 356 const [key, val] = part.split('='); 357 if (key) params[decodeURIComponent(key)] = decodeURIComponent(val || ''); 358 }); 359 return params; 360 } 361 362 function saveUTMToSessionStorage(params) { 363 ['utm_source', 'utm_medium', 'utm_campaign', 'utm_content', 'utm_term'].forEach(param => { 364 if (params[param]) { 365 sessionStorage.setItem(param, params[param]); 366 } 367 }); 368 } 369 370 function getUTMFromSessionStorage() { 371 return { 372 utm_source: sessionStorage.getItem('utm_source') || '', 373 utm_medium: sessionStorage.getItem('utm_medium') || '', 374 utm_campaign: sessionStorage.getItem('utm_campaign') || '', 375 utm_content: sessionStorage.getItem('utm_content') || '', 376 utm_term: sessionStorage.getItem('utm_term') || '', 377 }; 378 } 379 380 381 // Ð¡Ð¾Ñ ÑанÑем UTM-меÑки в sessionStorage пÑи пеÑвом визиÑе
382 const urlParams = getUrlParams(); 383 saveUTMToSessionStorage(urlParams); 384 385 // ÐолÑÑаем UTM-меÑки из sessionStorage 386 const utmParams = getUTMFromSessionStorage(); 387 388 const forms = document.querySelectorAll('.cf-form'); 389 if (!forms.length) return; 390 391 forms.forEach((form, formIndex) => { 392 console.log(`ÐниÑиализаÑÐ¸Ñ ÑоÑÐ¼Ñ #${formIndex + 1}`); 393 394 const phoneInputs = form.querySelectorAll('.cf-phone'); 395 const nameInput = form.querySelector('[name="name"]'); 396 const emailInput = form.querySelector('[name="email"]'); 397 const msgInput = form.querySelector('[name="obr"]'); 398 399 const metrikaFields = form.querySelectorAll('.metrika_client_id'); 400 const roistatFields = form.querySelectorAll('.roistat'); 401 const utmSourceFields = form.querySelectorAll('.utm_source'); 402 const utmMediumFields = form.querySelectorAll('.utm_medium'); 403 const utmCampaignFields = form.querySelectorAll('.utm_campaign'); 404 const utmContentFields = form.querySelectorAll('.utm_content'); 405 const utmTermFields = form.querySelectorAll('.utm_term'); 406 407 const honeypotInput = form.querySelector('.nbf'); 408 const recaptchaInput = form.querySelector('.recaptcha-token'); 409 410 // ÐаÑки ÑелеÑона 411 let imInstances = []; 412 if (phoneInputs.length && typeof Inputmask !== 'undefined') { 413 phoneInputs.forEach(phoneInput => { 414 const im = new Inputmask("+7 (999) 999-99-99"); 415 im.mask(phoneInput); 416 imInstances.push(im); 417 }); 418 } 419 420 // ÐаполнÑем Ð¿Ð¾Ð»Ñ UTM из sessionStorage 421 if (utmParams.utm_source) { 422 utmSourceFields.forEach(f => f.value = utmParams.utm_source); 423 } 424 if (utmParams.utm_medium) { 425 utmMediumFields.forEach(f => f.value = utmParams.utm_medium); 426 } 427 if (utmParams.utm_campaign) { 428 utmCampaignFields.forEach(f => f.value = utmParams.utm_campaign); 429 } 430 if (utmParams.utm_content) { 431 utmContentFields.forEach(f => f.value = utmParams.utm_content); 432 } 433 if (utmParams.utm_term) { 434 utmTermFields.forEach(f => f.value = utmParams.utm_term); 435 } 436 437 // ÐбÑабоÑка оÑпÑавки ÑоÑÐ¼Ñ 438 form.addEventListener('submit', function (e) { 439 e.preventDefault(); 440 441 // ÐÑовеÑка honeypot 442 if (honeypotInput && honeypotInput.value.trim() !== '') { 443 showFormMessage(form, 'ÐÑибка: подозÑиÑелÑÐ½Ð°Ñ Ð°ÐºÑивноÑÑÑ!', false); 444 return; 445 } 446 447 // Ðаполнение полей roistat / metrika 448 roistatFields.forEach(f => { 449 if (!f.value) f.value = getCookie('roistat_visit') || ''; 450 }); 451 metrikaFields.forEach(f => { 452 if (!f.value) f.value = getCookie('_ym_uid') || ''; 453 }); 454 455 // ÐÑовеÑÑем обÑзаÑелÑнÑе Ð¿Ð¾Ð»Ñ 456 phoneInputs.forEach(inp => inp.classList.remove('error')); 457 if (nameInput) nameInput.classList.remove('error'); 458 if (emailInput) emailInput.classList.remove('error'); 459 460 let hasError = false; 461 phoneInputs.forEach((inp, i) => { 462 const val = inp.value.trim(); 463 if (!val) { 464 showFormMessage(form, 'Ðоле "ТелеÑон" обÑзаÑелÑное.', false); 465 inp.classList.add('error'); 466 hasError = true; 467 } else { 468 const im = imInstances[i]; 469 if (im && inp.inputmask && !inp.inputmask.isComplete()) { 470 showFormMessage(form, 'ÐожалÑйÑÑа, введиÑе полнÑй Ð½Ð¾Ð¼ÐµÑ ÑелеÑона.', false); 471 inp.classList.add('error'); 472 hasError = true; 473 } 474 } 475 }); 476 if (hasError) return; 477 478 const formData = new FormData(form); 479 480 // ÐобавлÑем UTM-меÑки в formData 481 Object.entries(utmParams).forEach(([key, value]) => { 482 if (value) { 483 formData.set(key, value); 484 } 485 }); 486 487 // ÐлокиÑÑем Ð¿Ð¾Ð»Ñ 488 form.classList.add('cf-form--loading'); 489 const allFields = form.querySelectorAll('input, button, select, textarea:not([name="sessid"])'); 490 allFields.forEach(fld => fld.disabled = true); 491 492 grecaptcha.ready(() => { 493 grecaptcha.execute(siteKey, { action: 'submit' }).then(token => { 494 formData.set('g_recaptcha_token', token); 495 496 fetch('/local/ajax/orderform_handler.php', { 497 method: 'POST', 498 body: formData 499 }) 500 .then(resp => resp.json()) 501 .then(data => { 502 if (data.status === 'success') { 503 // Ð¦ÐµÐ»Ñ Ð¯.ÐеÑÑики 504 const goalName = form.dataset.ymGoal; 505 if (goalName && typeof ym !== 'undefined') { 506 ym(83439094, 'reachGoal', goalName); 507 } 508 showFormMessage(form, data.message, true); 509 form.reset(); 510 511 // СбÑÐ¾Ñ Ð¼Ð°Ñок
512 phoneInputs.forEach(inp => { 513 if (inp.inputmask) inp.inputmask.remove(); 514 }); 515 imInstances = []; 516 phoneInputs.forEach(inp => { 517 const newIM = new Inputmask("+7 (999) 999-99-99"); 518 newIM.mask(inp); 519 imInstances.push(newIM); 520 }); 521 } else { 522 showFormMessage(form, data.message, false); 523 } 524 }) 525 .catch(err => { 526 console.error('Fetch error:', err); 527 showFormMessage(form, 'ÐÑоизоÑла оÑибка пÑи оÑпÑавке. ÐопÑобÑйÑе позже.', false); 528 }) 529 .finally(() => { 530 form.classList.remove('cf-form--loading'); 531 allFields.forEach(fld => fld.disabled = false); 532 }); 533 }); 534 }); 535 }); 536 }); 537}); 538 539/* End */ 540; 541; /* Start:"a:4:{s:4:"full";s:60:"/local/templates/altesa/js/inputmask.min.js?1737455826121411";s:6:"source";s:43:"/local/templates/altesa/js/inputmask.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 542/*! 543 * dist/inputmask.min 544 * https://github.com/RobinHerbots/Inputmask 545 * Copyright (c) 2010 - 2024 Robin Herbots 546 * Licensed under the MIT license 547 * Version: 5.0.10-beta.14 548 */ 549!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}("undefined"!=typeof self?self:this,(function(){return function(){"use strict";var e={3976:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:function(){},onincomplete:function(){},oncleared:function(){},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:function(){},onBeforeMask:null,onBeforePaste:function(e,t){return"function"==typeof t.onBeforeMask?t.onBeforeMask.call(this,e,t):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:function(){},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0,validationEventTimeOut:3e3,substitutes:{}}},7392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={9:{validator:"[0-9\uff10-\uff19]",definitionSymbol:"*"},a:{validator:"[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",definitionSymbol:"*"},"*":{validator:"[0-9\uff10-\uff19A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]"}}},253:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(void 0===n)return e.__data?e.__data[t]:null;e.__data=e.__data||{},e.__data[t]=n}},3776:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Event=void 0,t.off=function(e,t){var n,i;u(this[0])&&e&&(n=this[0].eventRegistry,i=this[0],e.split(" ").forEach((function(e){var a=o(e.split("."),2);(function(e,i){var a,r,o=[];if(e.length>0)if(void 0===t)for(a=0,r=n[e][i].length;a<r;a++)o.push({ev:e,namespace:i&&i.length>0?i:"global",handler:n[e][i][a]});else o.push({ev:e,namespace:i&&i.length>0?i:"global",handler:t});else if(i.length>0)for(var l in n)for(var s in n[l])if(s===i)if(void 0===t)for(a=0,r=n[l][s].length;a<r;a++)o.push({ev:l,namespace:s,handler:n[l][s][a]});else o.push({ev:l,namespace:s,handler:t});return o}
vendor: 25,837 bytes, line 549
549)(a[0],a[1]).forEach((function(e){var t=e.ev,a=e.handler;!function(e,t,a){if(e in n==1)if(i.removeEventListener?i.removeEventListener(e,a,!1):i.detachEvent&&i.detachEvent("on".concat(e),a),"global"===t)for(var r in n[e])n[e][r].splice(n[e][r].indexOf(a),1);else n[e][t].splice(n[e][t].indexOf(a),1)}(t,e.namespace,a)}))})));return this},t.on=function(e,t){if(u(this[0])){var n=this[0].eventRegistry,i=this[0];e.split(" ").forEach((function(e){var a=o(e.split("."),2),r=a[0],l=a[1];!function(e,a){i.addEventListener?i.addEventListener(e,t,!1):i.attachEvent&&i.attachEvent("on".concat(e),t),n[e]=n[e]||{},n[e][a]=n[e][a]||[],n[e][a].push(t)}(r,void 0===l?"global":l)}))}return this},t.trigger=function(e){var t=arguments;if(u(this[0]))for(var n=this[0].eventRegistry,i=this[0],o="string"==typeof e?e.split(" "):[e.type],l=0;l<o.length;l++){var s=o[l].split("."),f=s[0],p=s[1]||"global";if(void 0!==c&&"global"===p){var d,h={bubbles:!0,cancelable:!0,composed:!0,detail:arguments[1]};if(c.createEvent){try{if("input"===f)h.inputType="insertText",d=new InputEvent(f,h);else d=new CustomEvent(f,h)}catch(e){(d=c.createEvent("CustomEvent")).initCustomEvent(f,h.bubbles,h.cancelable,h.detail)}e.type&&(0,a.default)(d,e),i.dispatchEvent(d)}else(d=c.createEventObject()).eventType=f,d.detail=arguments[1],e.type&&(0,a.default)(d,e),i.fireEvent("on"+d.eventType,d)}else if(void 0!==n[f]){arguments[0]=arguments[0].type?arguments[0]:r.default.Event(arguments[0]),arguments[0].detail=arguments.slice(1);var v=n[f];("global"===p?Object.values(v).flat():v[p]).forEach((function(e){return e.apply(i,t)}))}}return this};var i=s(n(9380)),a=s(n(600)),r=s(n(4963));function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=r.call(n)).done)&&(l.push(i.value),l.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function s(e){return e&&e.__esModule?e:{default:e}}var c=i.default.document;function u(e){return e instanceof Element}var f=t.Event=void 0;"function"==typeof i.default.CustomEvent?t.Event=f=i.default.CustomEvent:i.default.Event&&c&&c.createEvent?(t.Event=f=function(e,t){t=t||{bubbles:!1,cancelable:!1,composed:!0,detail:void 0};var n=c.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n},f.prototype=i.default.Event.prototype):"undefined"!=typeof Event&&(t.Event=f=Event)},600:function(e,t){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t,i,a,r,o,l,s=arguments[0]||{},c=1,u=arguments.length,f=!1;"boolean"==typeof s&&(f=s,s=arguments[c]||{},c++);"object"!==n(s)&&"function"!=typeof s&&(s={});for(;c<u;c++)if(null!=(t=arguments[c]))for(i in t)a=s[i],s!==(r=t[i])&&(f&&r&&("[object Object]"===Object.prototype.toString.call(r)||(o=Array.isArray(r)))?(o?(o=!1,l=a&&Array.isArray(a)?a:[]):l=a&&"[object Object]"===Object.prototype.toString.call(a)?a:{},s[i]=e(f,l,r)):void 0!==r&&(s[i]=r));return s}},4963:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=l(n(9380)),a=l(n(253)),r=n(3776),o=l(n(600));function l(e){return e&&e.__esModule?e:{default:e}}var s=i.default.document;function c(e){return e instanceof c?e:this instanceof c?void(null!=e&&e!==i.default&&(this[0]=e.nodeName?e:void 0!==e[0]&&e[0].nodeName?e[0]:s.querySelector(e),void 0!==this[0]&&null!==this[0]&&(this[0].eventRegistry=this[0].eventRegistry||{}))):new c(e)}c.prototype={on:r.on,off:r.off,trigger:r.trigger},c.extend=o.default,c.data=a.default,c.Event=r.Event;t.default=c},9845:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mobile=t.iphone=t.ie=void 0;var i,a=(i=n(9380))&&i.__esModule?i:{default:i};var r=a.default.navigator&&a.default.navigator.userAgent||"";t.ie=r.indexOf("MSIE ")>0||r.indexOf("Trident/")>0,t.mobile=a.default.navigator&&a.default.navigator.userAgentData&&a.default.navigator.userAgentData.mobile||a.default.navigator&&a.default.navigator.maxTouchPoints||"ontouchstart"in a.default,t.iphone=/iphone/i.test(r)},7184:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.escapeRegex=function(e){return e.replace(n,"\\$1")};var n=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim")},6030:function(e,t,n){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlers=void 0;var a,r=n(9845),o=(a=n(9380))&&a.__esModule?a:{default:a},l=n(7760),s=n(2839),c=n(8711),u=n(7215),f=n(4713);function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return t};var e,t={},n=Object.prototype,a=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function f(e,t,n,i){var a=t&&t.prototype instanceof k?t:k,o=Object.create(a.prototype),l=new D(i||[]);return r(o,"_invoke",{value:E(e,n,l)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",v="suspendedYield",m="executing",g="completed",y={};function k(){}function b(){}function x(){}var w={};u(w,l,(function(){return this}));var P=Object.getPrototypeOf,S=P&&P(P(L([])));S&&S!==n&&a.call(S,l)&&(w=S);var O=x.prototype=k.prototype=Object.create(w);function _(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function n(r,o,l,s){var c=d(e[r],e,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,l,s)}),(function(e){n("throw",e,l,s)})):t.resolve(f).then((function(e){u.value=e,l(u)}),(function(e){return n("throw",e,l,s)}))}s(c.arg)}var o;r(this,"_invoke",{value:function(e,i){function a(){return new t((function(t,a){n(e,i,t,a)}))}return o=o?o.then(a,a):a()}})}function E(t,n,i){var a=h;return function(r,o){if(a===m)throw new Error("Generator is already running");if(a===g){if("throw"===r)throw o;return{value:e,done:!0}}for(i.method=r,i.arg=o;;){var l=i.delegate;if(l){var s=j(l,i);if(s){if(s===y)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===h)throw a=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=m;var c=d(t,n,i);if("normal"===c.type){if(a=i.done?g:v,c.arg===y)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(a=g,i.method="throw",i.arg=c.arg)}}}function j(t,n){var i=n.method,a=t.iterator[i];if(a===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var r=d(a,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,y;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(a.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(i(t)+" is not iterable")}return b.prototype=x,r(O,"constructor",{value:x,configurable:!0}),r(x,"constructor",{value:b,configurable:!0}),b.displayName=u(x,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,u(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},_(M.prototype),u(M.prototype,s,(function(){return this})),t.AsyncIterator=M,t.async=function(e,n,i,a,r){void 0===r&&(r=Promise);var o=new M(f(e,n,i,a),r);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},_(O),u(O,c,"Generator"),u(O,l,(function(){return this})),u(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=L,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(i,a){return l.type="throw",l.arg=t,n.next=i,a&&(n.method="next",n.arg=e),!!a}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=a.call(o,"catchLoc"),c=a.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,y):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var a=i.arg;A(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:L(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),y}},t}function d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw r}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function v(e,t,n,i,a,r,o){try{var l=e[r](o),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(i,a)}var m,g,y=t.EventHandlers={keyEvent:function(e,t,n,i,a){var o=this.inputmask,p=o.opts,d=o.dependencyLib,h=o.maskset,v=this,m=d(v),g=e.key,k=c.caret.call(o,v),b=p.onKeyDown.call(this,e,c.getBuffer.call(o),k,p);if(void 0!==b)return b;if(g===s.keys.Backspace||g===s.keys.Delete||r.iphone&&g===s.keys.BACKSPACE_SAFARI||e.ctrlKey&&g===s.keys.x&&!("oncut"in v))e.preventDefault(),u.handleRemove.call(o,v,g,k),(0,l.writeBuffer)(v,c.getBuffer.call(o,!0),h.p,e,v.inputmask._valueGet()!==c.getBuffer.call(o).join(""));else if(g===s.keys.End||g===s.keys.PageDown){e.preventDefault();var x=c.seekNext.call(o,c.getLastValidPosition.call(o));c.caret.call(o,v,e.shiftKey?k.begin:x,x,!0)}else g===s.keys.Home&&!e.shiftKey||g===s.keys.PageUp?(e.preventDefault(),c.caret.call(o,v,0,e.shiftKey?k.begin:0,!0)):p.undoOnEscape&&g===s.keys.Escape&&!0!==e.altKey?((0,l.checkVal)(v,!0,!1,o.undoValue.split("")),m.trigger("click")):g!==s.keys.Insert||e.shiftKey||e.ctrlKey||void 0!==o.userOptions.insertMode?!0===p.tabThrough&&g===s.keys.Tab?!0===e.shiftKey?(k.end=c.seekPrevious.call(o,k.end,!0),!0===f.getTest.call(o,k.end-1).match.static&&k.end--,k.begin=c.seekPrevious.call(o,k.end,!0),k.begin>=0&&k.end>0&&(e.preventDefault(),c.caret.call(o,v,k.begin,k.end))):(k.begin=c.seekNext.call(o,k.begin,!0),k.end=c.seekNext.call(o,k.begin,!0),k.end<h.maskLength&&k.end--,k.begin<=h.maskLength&&(e.preventDefault(),c.caret.call(o,v,k.begin,k.end))):e.shiftKey||(p.insertModeVisual&&!1===p.insertMode?g===s.keys.ArrowRight?setTimeout((function(){var e=c.caret.call(o,v);c.caret.call(o,v,e.begin)}),0):g===s.keys.ArrowLeft&&setTimeout((function(){var e=c.translatePosition.call(o,v.inputmask.caretPos.begin);c.translatePosition.call(o,v.inputmask.caretPos.end);o.isRTL?c.caret.call(o,v,e+(e===h.maskLength?0:1)):c.caret.call(o,v,e-(0===e?0:1))}),0):void 0===o.keyEventHook||o.keyEventHook(e)):u.isSelection.call(o,k)?p.insertMode=!p.insertMode:(p.insertMode=!p.insertMode,c.caret.call(o,v,k.begin,k.begin));return o.isComposing=g==s.keys.Process||g==s.keys.Unidentified,o.ignorable=void 0===g||g.length>1&&!("textarea"===v.tagName.toLowerCase()&&g==s.keys.Enter),y.keypressEvent.call(this,e,t,n,i,a)},keypressEvent:function(e,t,n,i,a){var r=this.inputmask||this,o=r.opts,f=r.dependencyLib,p=r.maskset,d=r.el,h=f(d),v=e.key;if(!0===t||e.ctrlKey&&e.altKey&&!r.ignorable||!(e.ctrlKey||e.metaKey||r.ignorable)){if(v){var m,g=t?{begin:a,end:a}:c.caret.call(r,d);t||(v=o.substitutes[v]||v),p.writeOutBuffer=!0;var y=u.isValid.call(r,g,v,i,void 0,void 0,void 0,t);if(!1!==y&&(c.resetMaskSet.call(r,!0),m=void 0!==y.caret?y.caret:c.seekNext.call(r,y.pos.begin?y.pos.begin:y.pos),p.p=m),m=o.numericInput&&void 0===y.caret?c.seekPrevious.call(r,m):m,!1!==n&&(setTimeout((function(){o.onKeyValidation.call(d,v,y)}),0),p.writeOutBuffer&&!1!==y)){var k=c.getBuffer.call(r);(0,l.writeBuffer)(d,k,m,e,!0!==t)}if(e.preventDefault(),t)return!1!==y&&(y.forwardPosition=m),y}}else v===s.keys.Enter&&r.undoValue!==r._valueGet(!0)&&(r.undoValue=r._valueGet(!0),setTimeout((function(){h.trigger("change")}),0))},pasteEvent:(m=p().mark((function e(t){var n,i,a,r,s,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=function(e,n,i,a,o){var s=c.caret.call(e,n,void 0,void 0,!0),u=i.substr(0,s.begin),f=i.substr(s.end,i.length);if(u==(e.isRTL?c.getBufferTemplate.call(e).slice().reverse():c.getBufferTemplate.call(e)).slice(0,s.begin).join("")&&(u=""),f==(e.isRTL?c.getBufferTemplate.call(e).slice().reverse():c.getBufferTemplate.call(e)).slice(s.end).join("")&&(f=""),a=u+a+f,e.isRTL&&!0!==r.numericInput){a=a.split("");var p,h=d(c.getBufferTemplate.call(e));try{for(h.s();!(p=h.n()).done;){var v=p.value;a[0]===v&&a.shift()}}catch(e){h.e(e)}finally{h.f()}a=a.reverse().join("")}var m=a;if("function"==typeof o){if(!1===(m=o.call(e,m,r)))return!1;m||(m=i)}(0,l.checkVal)(n,!0,!1,m.toString().split(""),t)},i=this,a=this.inputmask,r=a.opts,s=a._valueGet(!0),a.skipInputEvent=!0,t.clipboardData&&t.clipboardData.getData?u=t.clipboardData.getData("text/plain"):o.default.clipboardData&&o.default.clipboardData.getData&&(u=o.default.clipboardData.getData("Text")),n(a,i,s,u,r.onBeforePaste),t.preventDefault();case 7:case"end":return e.stop()}}),e,this)})),g=function(){var e=this,t=arguments;return new Promise((function(n,i){var a=m.apply(e,t);function r(e){v(a,n,i,r,o,"next",e)}function o(e){v(a,n,i,r,o,"throw",e)}r(void 0)}))},function(e){return g.apply(this,arguments)}),inputFallBackEvent:function(e){var t=this.inputmask,n=t.opts,i=t.dependencyLib;var a,o=this,u=o.inputmask._valueGet(!0),p=(t.isRTL?c.getBuffer.call(t).slice().reverse():c.getBuffer.call(t)).join(""),d=c.caret.call(t,o,void 0,void 0,!0);if(p!==u){if(a=function(e,i,a){for(var r,o,l,s=e.substr(0,a.begin).split(""),u=e.substr(a.begin).split(""),p=i.substr(0,a.begin).split(""),d=i.substr(a.begin).split(""),h=s.length>=p.length?s.length:p.length,v=u.length>=d.length?u.length:d.length,m="",g=[],y="~";s.length<h;)s.push(y);for(;p.length<h;)p.push(y);for(;u.length<v;)u.unshift(y);for(;d.length<v;)d.unshift(y);var k=s.concat(u),b=p.concat(d);for(o=0,r=k.length;o<r;o++)switch(l=f.getPlaceholder.call(t,c.translatePosition.call(t,o)),m){case"insertText":b[o-1]===k[o]&&a.begin==k.length-1&&g.push(k[o]),o=r;break;case"insertReplacementText":case"deleteContentBackward":k[o]===y?a.end++:o=r;break;default:k[o]!==b[o]&&(k[o+1]!==y&&k[o+1]!==l&&void 0!==k[o+1]||(b[o]!==l||b[o+1]!==y)&&b[o]!==y?b[o+1]===y&&b[o]===k[o+1]?(m="insertText",g.push(k[o]),a.begin--,a.end--):k[o]!==l&&k[o]!==y&&(k[o+1]===y||b[o]!==k[o]&&b[o+1]===k[o+1])?(m="insertReplacementText",g.push(k[o]),a.begin--):k[o]===y?(m="deleteContentBackward",(c.isMask.call(t,c.translatePosition.call(t,o),!0)||b[o]===n.radixPoint)&&a.end++):o=r:(m="insertText",g.push(k[o]),a.begin--,a.end--))}return{action:m,data:g,caret:a}}(u,p,d),(o.inputmask.shadowRoot||o.ownerDocument).activeElement!==o&&o.focus(),(0,l.writeBuffer)(o,c.getBuffer.call(t)),c.caret.call(t,o,d.begin,d.end,!0),!r.mobile&&t.skipNextInsert&&"insertText"===e.inputType&&"insertText"===a.action&&t.isComposing)return!1;switch("insertCompositionText"===e.inputType&&"insertText"===a.action&&t.isComposing?t.skipNextInsert=!0:t.skipNextInsert=!1,a.action){case"insertText":case"insertReplacementText":a.data.forEach((function(e,n){var a=new i.Event("keypress");a.key=e,t.ignorable=!1,y.keypressEvent.call(o,a)})),setTimeout((function(){t.$el.trigger("keyup")}),0);break;case"deleteContentBackward":var h=new i.Event("keydown");h.key=s.keys.Backspace,y.keyEvent.call(o,h);break;default:(0,l.applyInputValue)(o,u),c.caret.call(t,o,d.begin,d.end,!0)}e.preventDefault()}},setValueEvent:function(e){var t=this.inputmask,n=t.dependencyLib,i=this,a=e&&e.detail?e.detail[0]:arguments[1];void 0===a&&(a=i.inputmask._valueGet(!0)),(0,l.applyInputValue)(i,a,new n.Event("input"),void 0!==(e&&e.detail?e.detail[0]:arguments[1])),(e.detail&&void 0!==e.detail[1]||void 0!==arguments[2])&&c.caret.call(t,i,e.detail?e.detail[1]:arguments[2])},focusEvent:function(e){var t=this.inputmask,n=t.opts,i=t&&t._valueGet();n.showMaskOnFocus&&i!==c.getBuffer.call(t).join("")&&(0,l.writeBuffer)(this,c.getBuffer.call(t),c.seekNext.call(t,c.getLastValidPosition.call(t))),!0!==n.positionCaretOnTab||!1!==t.mouseEnter||u.isComplete.call(t,c.getBuffer.call(t))&&-1!==c.getLastValidPosition.call(t)||y.clickEvent.apply(this,[e,!0]),t.undoValue=t&&t._valueGet(!0)},invalidEvent:function(e){this.inputmask.validationEvent=!0},mouseleaveEvent:function(){var e=this.inputmask,t=e.opts,n=this;e.mouseEnter=!1,t.clearMaskOnLostFocus&&(n.inputmask.shadowRoot||n.ownerDocument).activeElement!==n&&(0,l.HandleNativePlaceholder)(n,e.originalPlaceholder)},clickEvent:function(e,t){var n=this.inputmask;n.clicked++;var i=this;if((i.inputmask.shadowRoot||i.ownerDocument).activeElement===i){var a=c.determineNewCaretPosition.call(n,c.caret.call(n,i),t);void 0!==a&&c.caret.call(n,i,a)}},cutEvent:function(e){var t=this.inputmask,n=t.maskset,i=this,a=c.caret.call(t,i),r=t.isRTL?c.getBuffer.call(t).slice(a.end,a.begin):c.getBuffer.call(t).slice(a.begin,a.end),f=t.isRTL?r.reverse().join(""):r.join("");o.default.navigator&&o.default.navigator.clipboard?o.default.navigator.clipboard.writeText(f):o.default.clipboardData&&o.default.clipboardData.getData&&o.default.clipboardData.setData("Text",f),u.handleRemove.call(t,i,s.keys.Delete,a),(0,l.writeBuffer)(i,c.getBuffer.call(t),n.p,e,t.undoValue!==t._valueGet(!0))},blurEvent:function(e){var t=this.inputmask,n=t.opts,i=t.dependencyLib;t.clicked=0;var a=i(this),r=this;if(r.inputmask){(0,l.HandleNativePlaceholder)(r,t.originalPlaceholder);var o=r.inputmask._valueGet(),s=c.getBuffer.call(t).slice();""!==o&&(n.clearMaskOnLostFocus&&(-1===c.getLastValidPosition.call(t)&&o===c.getBufferTemplate.call(t).join("")?s=[]:l.clearOptionalTail.call(t,s)),!1===u.isComplete.call(t,s)&&(setTimeout((function(){a.trigger("incomplete")}),0),n.clearIncomplete&&(c.resetMaskSet.call(t,!1),s=n.clearMaskOnLostFocus?[]:c.getBufferTemplate.call(t).slice())),(0,l.writeBuffer)(r,s,void 0,e)),o=t._valueGet(!0),t.undoValue!==o&&(""!=o||t.undoValue!=c.getBufferTemplate.call(t).join("")||t.undoValue==c.getBufferTemplate.call(t).join("")&&t.maskset.validPositions.length>0)&&(t.undoValue=o,a.trigger("change"))}},mouseenterEvent:function(){var e=this.inputmask,t=e.opts.showMaskOnHover,n=this;if(e.mouseEnter=!0,(n.inputmask.shadowRoot||n.ownerDocument).activeElement!==n){var i=(e.isRTL?c.getBufferTemplate.call(e).slice().reverse():c.getBufferTemplate.call(e)).join("");t&&(0,l.HandleNativePlaceholder)(n,i)}},submitEvent:function(){var e=this.inputmask,t=e.opts;e.undoValue!==e._valueGet(!0)&&e.$el.trigger("change"),-1===c.getLastValidPosition.call(e)&&e._valueGet&&e._valueGet()===c.getBufferTemplate.call(e).join("")&&e._valueSet(""),t.clearIncomplete&&!1===u.isComplete.call(e,c.getBuffer.call(e))&&e._valueSet(""),t.removeMaskOnSubmit&&(e._valueSet(e.unmaskedvalue(),!0),setTimeout((function(){(0,l.writeBuffer)(e.el,c.getBuffer.call(e))}),0))},resetEvent:function(){var e=this.inputmask;e.refreshValue=!0,setTimeout((function(){(0,l.applyInputValue)(e.el,e._valueGet(!0))}),0)}}},9716:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.EventRuler=void 0;var i,a=n(7760),r=(i=n(2394))&&i.__esModule?i:{default:i},o=n(2839),l=n(8711);t.EventRuler={on:function(e,t,n){var i=e.inputmask.dependencyLib,s=function(t){t.originalEvent&&(t=t.originalEvent||t,arguments[0]=t);var s,c=this,u=c.inputmask,f=u?u.opts:void 0;if(void 0===u&&"FORM"!==this.nodeName){var p=i.data(c,"_inputmask_opts");i(c).off(),p&&new r.default(p).mask(c)}else{if(["submit","reset","setvalue"].includes(t.type)||"FORM"===this.nodeName||!(c.disabled||c.readOnly&&!("keydown"===t.type&&t.ctrlKey&&t.key===o.keys.c||!1===f.tabThrough&&t.key===o.keys.Tab))){switch(t.type){case"input":if(!0===u.skipInputEvent)return u.skipInputEvent=!1,t.preventDefault();break;case"click":case"focus":return u.validationEvent?(u.validationEvent=!1,e.blur(),(0,a.HandleNativePlaceholder)(e,(u.isRTL?l.getBufferTemplate.call(u).slice().reverse():l.getBufferTemplate.call(u)).join("")),setTimeout((function(){e.focus()}),f.validationEventTimeOut),!1):(s=arguments,void setTimeout((function(){e.inputmask&&n.apply(c,s)}),0))}var d=n.apply(c,arguments);return!1===d&&(t.preventDefault(),t.stopPropagation()),d}t.preventDefault()}};["submit","reset"].includes(t)?(s=s.bind(e),null!==e.form&&i(e.form).on(t,s)):i(e).on(t,s),e.inputmask.events[t]=e.inputmask.events[t]||[],e.inputmask.events[t].push(s)},off:function(e,t){if(e.inputmask&&e.inputmask.events){var n=e.inputmask.dependencyLib,i=e.inputmask.events;for(var a in t&&((i=[])[t]=e.inputmask.events[t]),i){for(var r=i[a];r.length>0;){var o=r.pop();["submit","reset"].includes(a)?null!==e.form&&n(e.form).off(a,o):n(e).off(a,o)}delete e.inputmask.events[a]}}}}},219:function(e,t,n){var i,a=n(7184),r=(i=n(2394))&&i.__esModule?i:{default:i},o=n(2839),l=n(8711),s=n(4713);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=r.call(n)).done)&&(l.push(i.value),l.length!==t);s=!0);}catch(e){c=!0,a=e}
vendor: 7,450 bytes, line 549
549finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(a=i.key,r=void 0,r=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==f(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"),"symbol"===f(r)?r:String(r)),i)}var a,r}n(1313);var d=r.default.dependencyLib,h=function(){function e(t,n,i,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mask=t,this.format=n,this.opts=i,this.inputmask=a,this._date=new Date(1,0,1),this.initDateObject(t,this.opts,this.inputmask)}var t,n,i;return t=e,(n=[{key:"date",get:function(){return void 0===this._date&&(this._date=new Date(1,0,1),this.initDateObject(void 0,this.opts,this.inputmask)),this._date}},{key:"initDateObject",value:function(e,t,n){var i,a=-1;for(P(t).lastIndex=0;i=P(t).exec(this.format);)if(i.index>=a){var r=/\d+$/.exec(i[0]),o=r?i[0][0]+"x":i[0],l=void 0;if(void 0!==e){if(r){var c=P(t).lastIndex,u=j.call(n,i.index,t,n&&n.maskset);P(t).lastIndex=c,l=e.slice(0,e.indexOf(u.nextMatch[0]))}else{for(var f=i[0][0],p=i.index;n&&(t.placeholder["".concat(i.index,"'").concat(s.getTest.call(n,p).match.placeholder)]||s.getTest.call(n,p).match.placeholder)===f;)p++;a=p;var d=p-i.index;l=e.slice(0,d||y[o]&&y[o][4]||o.length)}e=e.slice(l.length)}Object.prototype.hasOwnProperty.call(y,o)&&this.setValue(this,l,o,y[o][2],y[o][1])}}},{key:"setValue",value:function(e,t,n,i,a){if(void 0!==t)switch(i){case"ampm":e[i]=t,e["raw"+i]=t.replace(/\s/g,"_");break;case"month":if("mmm"===n||"mmmm"===n){e[i]=_("mmm"===n?m.monthNames.slice(0,12).findIndex((function(e){return t.toLowerCase()===e.toLowerCase()}))+1:m.monthNames.slice(12,24).findIndex((function(e){return t.toLowerCase()===e.toLowerCase()}))+1,2),e[i]="00"===e[i]?"":e[i].toString(),e["raw"+i]=e[i];break}default:e[i]=t.replace(/[^0-9]/g,"0"),e["raw"+i]=t.replace(/\s/g,"_")}if(void 0!==a){var r=e[i];("day"===i&&29===parseInt(r)||"month"===i&&2===parseInt(r))&&(29!==parseInt(e.day)||2!==parseInt(e.month)||""!==e.year&&void 0!==e.year||e._date.setFullYear(2012,1,29)),"day"===i&&(g=!0,0===parseInt(r)&&(r=1)),"month"===i&&(g=!0),"year"===i&&(g=!0,r.length<y[n][4]&&(r=_(r,y[n][4],!0))),(""!==r&&!isNaN(r)||"ampm"===i)&&a.call(e._date,r)}}},{key:"reset",value:function(){this._date=new Date(1,0,1)}},{key:"reInit",value:function(){this._date=void 0,this.date}}])&&p(t.prototype,n),i&&p(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}(),v=(new Date).getFullYear(),m=r.default.prototype.i18n,g=!1,y={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return _(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",function(e){var t=e?parseInt(e):0;return t>0&&t--,Date.prototype.setMonth.call(this,t)},"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",function(e){var t=e?parseInt(e):0;return t>0&&t--,Date.prototype.setMonth.call(this,t)},"month",function(){return _(Date.prototype.getMonth.call(this)+1,2)}],mmm:[m.monthNames.slice(0,12).join("|"),function(e){var t=m.monthNames.slice(0,12).findIndex((function(t){return e.toLowerCase()===t.toLowerCase()}));return-1!==t&&Date.prototype.setMonth.call(this,t)},"month",function(){return m.monthNames.slice(0,12)[Date.prototype.getMonth.call(this)]}],mmmm:[m.monthNames.slice(12,24).join("|"),function(e){var t=m.monthNames.slice(12,24).findIndex((function(t){return e.toLowerCase()===t.toLowerCase()}));return-1!==t&&Date.prototype.setMonth.call(this,t)},"month",function(){return m.monthNames.slice(12,24)[Date.prototype.getMonth.call(this)]}],yy:["[0-9]{2}",function(e){var t=(new Date).getFullYear().toString().slice(0,2);Date.prototype.setFullYear.call(this,"".concat(t).concat(e))},"year",function(){return _(Date.prototype.getFullYear.call(this),2)},2],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return _(Date.prototype.getFullYear.call(this),4)},4],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return _(Date.prototype.getHours.call(this),2)}],hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return _(Date.prototype.getHours.call(this),2)}],Hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return function(){return _(Date.prototype.getHours.call(this),e)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return _(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return _(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return _(Date.prototype.getMilliseconds.call(this),3)},3],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return _(Date.prototype.getMilliseconds.call(this),2)},2],t:["[ap]",b,"ampm",x,1],tt:["[ap]m",b,"ampm",x,2],T:["[AP]",b,"ampm",x,1],TT:["[AP]M",b,"ampm",x,2],Z:[".*",void 0,"Z",function(){var e=this.toString().match(/\((.+)\)/)[1];e.includes(" ")&&(e=(e=e.replace("-"," ").toUpperCase()).split(" ").map((function(e){return c(e,1)[0]})).join(""));return e}],o:[""],S:[""]},k={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function b(e){var t=this.getHours();e.toLowerCase().includes("p")?this.setHours(t+12):e.toLowerCase().includes("a")&&t>=12&&this.setHours(t-12)}function x(){var e=this.getHours();return(e=e||12)>=12?"PM":"AM"}function w(e){var t=/\d+$/.exec(e[0]);if(t&&void 0!==t[0]){var n=y[e[0][0]+"x"].slice("");return n[0]=n[0](t[0]),n[3]=n[3](t[0]),n}if(y[e[0]])return y[e[0]]}function P(e){if(!e.tokenizer){var t=[],n=[];for(var i in y)if(/\.*x$/.test(i)){var a=i[0]+"\\d+";-1===n.indexOf(a)&&n.push(a)}
549else-1===t.indexOf(i[0])&&t.push(i[0]);e.tokenizer="("+(n.length>0?n.join("|")+"|":"")+t.join("+|")+")+?|.",e.tokenizer=new RegExp(e.tokenizer,"g")}return e.tokenizer}function S(e,t,n){if(!g)return!0;if(void 0===e.rawday||!isFinite(e.rawday)&&new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day||"29"==e.day&&(!isFinite(e.rawyear)||void 0===e.rawyear||""===e.rawyear)||new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day)return t;if("29"==e.day){var i=j.call(this,t.pos,n,this.maskset);if(i.targetMatch&&"yyyy"===i.targetMatch[0]&&t.pos-i.targetMatchIndex==2)return t.remove=t.pos+1,t}else if(2==e.date.getMonth()&&"30"==e.day&&void 0!==t.c)return e.day="03",e.date.setDate(3),e.date.setMonth(1),t.insert=[{pos:t.pos,c:"0"},{pos:t.pos+1,c:t.c}],t.caret=l.seekNext.call(this,t.pos+1),t;return!1}function O(e,t,n,i){var r,o,l="",s=0,c=!1,u={};for(P(n).lastIndex=0;r=P(n).exec(e);)if("\\"===r[0])c=!0;else{if(void 0===t)if(!c&&(o=w(r)))l+="("+o[0]+")",n.placeholder&&""!==n.placeholder?(u[s]=n.placeholder[r.index%n.placeholder.length],u["".concat(r.index,"'").concat(n.placeholder[r.index%n.placeholder.length])]=r[0].charAt(0)):u[s]=r[0].charAt(0);else switch(r[0]){case"[":l+="(";break;case"]":l+=")?";break;default:l+=(0,a.escapeRegex)(r[0]),u[s]=r[0].charAt(0)}else if(!c&&(o=w(r)))if(!0!==i&&o[3])l+=o[3].call(t.date);else o[2]?l+=t["raw"+o[2]]:l+=r[0];else l+="".concat(c?"\\":"").concat(r[0]);s++,c=!1}return void 0===t&&(n.placeholder=u),l}function _(e,t,n){for(e=String(e),t=t||2;e.length<t;)e=n?e+"0":"0"+e;return e}function M(e,t,n){return"string"==typeof e?new h(e,t,n,this):e&&"object"===f(e)&&Object.prototype.hasOwnProperty.call(e,"date")?e:void 0}function E(e,t){return O(t.inputFormat,{date:e},t)}function j(e,t,n){var i,a,r=this,o=0,l=0;for(P(t).lastIndex=0;a=P(t).exec(t.inputFormat);){var c=/\d+$/.exec(a[0]);if(c)l=parseInt(c[0]);else{for(var u=a[0][0],f=o;r&&(t.placeholder["".concat(a.index,"'").concat(s.getTest.call(r,f).match.placeholder)]||s.getTest.call(r,f).match.placeholder)===u;)f++;0===(l=f-o)&&(l=a[0].length)}if((o+=l)>=e+1){var p="";if(n&&n.tests[e]){var d=Object.keys(t.placeholder).filter((function(t){for(var i=a.index-1;i<o;i++)if(t==="".concat(i,"'").concat(n.tests[e][0].match.placeholder))return!0;return!1}));p=d.length>0?t.placeholder[d[0]]:n.tests[e][0].match.placeholder}if(-1!==a[0].indexOf(p)){i=a,a=P(t).exec(t.inputFormat);break}}}return{targetMatchIndex:o-l,nextMatch:a,targetMatch:i}}r.default.extendAliases({datetime:{mask:function(e){if(e.numericInput=!1,y.S=m.ordinalSuffix.join("|"),e.inputFormat=k[e.inputFormat]||e.inputFormat,e.repeat&&(e.repeat=parseInt(e.repeat.toString()),e.repeat>0)){for(var t="",n=0;n<e.repeat;n++)t+=e.inputFormat;e.inputFormat=t,e.repeat=0}return e.displayFormat=k[e.displayFormat]||e.displayFormat||e.inputFormat,e.outputFormat=k[e.outputFormat]||e.outputFormat||e.inputFormat,e.regex=O(e.inputFormat,void 0,e),e.min=M(e.min,e.inputFormat,e),e.max=M(e.max,e.inputFormat,e),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:null,outputFormat:null,min:null,max:null,skipOptionalPartCharacter:"",preValidation:function(e,t,n,i,a,r,o,l){if(l)return!0;if(isNaN(n)&&e[t]!==n){var s=j.call(this,t,a,r);if(s.nextMatch&&s.nextMatch[0]===n&&s.targetMatch[0].length>1){var c=w(s.targetMatch)[0];if(new RegExp(c).test("0"+e[t-1]))return e[t]=e[t-1],e[t-1]="0",{fuzzy:!0,buffer:e,refreshFromBuffer:{start:t-1,end:t+1},pos:t+1}}}return!0},postValidation:function(e,t,n,i,a,r,o,l){var c,u,f=this;if(o)return!0;if(!1===i&&(((c=j.call(f,t+1,a,r)).targetMatch&&c.targetMatchIndex===t&&c.targetMatch[0].length>1&&void 0!==y[c.targetMatch[0]]||(c=j.call(f,t+2,a,r)).targetMatch&&c.targetMatchIndex===t+1&&c.targetMatch[0].length>1&&void 0!==y[c.targetMatch[0]])&&(u=w(c.targetMatch)[0]),void 0!==u&&(void 0!==r.validPositions[t+1]&&new RegExp(u).test(n+"0")?(e[t]=n,e[t+1
vendor: 4,210 bytes, line 549
549]="0",i={pos:t+2,caret:t}):new RegExp(u).test("0"+n)&&(e[t]="0",e[t+1]=n,i={pos:t+2})),!1===i))return i;if(i.fuzzy&&(e=i.buffer,t=i.pos),(c=j.call(f,t,a,r)).targetMatch&&c.targetMatch[0]&&void 0!==y[c.targetMatch[0]]){var p=w(c.targetMatch);u=p[0];var d=e.slice(c.targetMatchIndex,c.targetMatchIndex+c.targetMatch[0].length);if(!1===new RegExp(u).test(d.join(""))&&2===c.targetMatch[0].length&&r.validPositions[c.targetMatchIndex]&&r.validPositions[c.targetMatchIndex+1]&&(r.validPositions[c.targetMatchIndex+1].input="0"),"year"==p[2])for(var h=s.getMaskTemplate.call(f,!1,1,void 0,!0),m=t+1;m<e.length;m++)e[m]=h[m],r.validPositions.splice(t+1,1)}var g=i,k=M.call(f,e.join(""),a.inputFormat,a);return g&&!isNaN(k.date.getTime())&&(a.prefillYear&&(g=function(e,t,n){if(e.year!==e.rawyear){var i=v.toString(),a=e.rawyear.replace(/[^0-9]/g,""),r=i.slice(0,a.length),o=i.slice(a.length);if(2===a.length&&a===r){var l=new Date(v,e.month-1,e.day);e.day==l.getDate()&&(!n.max||n.max.date.getTime()>=l.getTime())&&(e.date.setFullYear(v),e.year=i,t.insert=[{pos:t.pos+1,c:o[0]},{pos:t.pos+2,c:o[1]}])}}return t}(k,g,a)),g=function(e,t,n,i,a){if(!t)return t;if(t&&n.min&&!isNaN(n.min.date.getTime())){var r;for(e.reset(),P(n).lastIndex=0;r=P(n).exec(n.inputFormat);){var o;if((o=w(r))&&o[3]){for(var l=o[1],s=e[o[2]],c=n.min[o[2]],u=n.max?n.max[o[2]]:c+1,f=[],p=!1,d=0;d<c.length;d++)void 0!==i.validPositions[d+r.index]||p?(f[d]=s[d],p=p||s[d]>c[d]):(d+r.index==0&&s[d]<c[d]?(f[d]=s[d],p=!0):f[d]=c[d],"year"===o[2]&&s.length-1==d&&c!=u&&(f=(parseInt(f.join(""))+1).toString().split("")),"ampm"===o[2]&&c!=u&&n.min.date.getTime()>e.date.getTime()&&(f[d]=u[d]));l.call(e._date,f.join(""))}}t=n.min.date.getTime()<=e.date.getTime(),e.reInit()}return t&&n.max&&(isNaN(n.max.date.getTime())||(t=n.max.date.getTime()>=e.date.getTime())),t}(k,g=S.call(f,k,g,a),a,r)),void 0!==t&&g&&i.pos!==t?{buffer:O(a.inputFormat,k,a).split(""),refreshFromBuffer:{start:t,end:i.pos},pos:i.caret||i.pos}:g},onKeyDown:function(e,t,n,i){e.ctrlKey&&e.key===o.keys.ArrowRight&&(this.inputmask._valueSet(E(new Date,i)),d(this).trigger("setvalue"))},onUnMask:function(e,t,n){return t?O(n.outputFormat,M.call(this,e,n.inputFormat,n),n,!0):t},casing:function(e,t,n,i){if(0==t.nativeDef.indexOf("[ap]"))return e.toLowerCase();if(0==t.nativeDef.indexOf("[AP]"))return e.toUpperCase();var a=s.getTest.call(this,[n-1]);return 0==a.match.def.indexOf("[AP]")||0===n||a&&a.input===String.fromCharCode(o.keyCode.Space)||a&&a.match.def===String.fromCharCode(o.keyCode.Space)?e.toUpperCase():e.toLowerCase()},onBeforeMask:function(e,t){return"[object Date]"===Object.prototype.toString.call(e)&&(e=E(e,t)),e},insertMode:!1,insertModeVisual:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}})},1313:function(e,t,n){var i,a=(i=n(2394))&&i.__esModule?i:{default:i};a.default.dependencyLib.extend(!0,a.default.prototype.i18n,{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]})},3851:function(e,t,n){var i,a=(i=n(2394))&&i.__esModule?i:{default:i},r=n(8711),o=n(4713);function l(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}a.default.extendDefinitions({A:{validator:"[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",casing:"up
549per"},"&":{validator:"[0-9A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}});var c=/25[0-5]|2[0-4][0-9]|[01][0-9][0-9]/;function u(e,t,n,i,a){if(n-1>-1&&"."!==t.buffer[n-1]?(e=t.buffer[n-1]+e,e=n-2>-1&&"."!==t.buffer[n-2]?t.buffer[n-2]+e:"0"+e):e="00"+e,a.greedy&&parseInt(e)>255&&c.test("00"+e.charAt(2))){var r=[].concat(l(t.buffer.slice(0,n)),[".",e.charAt(2)]);if(r.join("").match(/\./g).length<4)return{refreshFromBuffer:!0,buffer:r,caret:n+2}}return c.test(e)}a.default.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)://.*",autoUnmask:!1,keepStatic:!1,tabThrough:!0},ip:{mask:"i{1,3}.j{1,3}.k{1,3}.l{1,3}",definitions:{i:{validator:u},j:{validator:u},k:{validator:u},l:{validator:u}},onUnMask:function(e,t,n){return e},inputmode:"decimal",substitutes:{",":"."}},email:{mask:function(e){var t=e.separator,n=e.quantifier,i="*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",a=i;if(t)for(var r=0;r<n;r++)a+="[".concat(t).concat(i,"]");return a},greedy:!1,casing:"lower",separator:null,quantifier:5,skipOptionalPartCharacter:"",onBeforePaste:function(e,t){return(e=e.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-9\uff11-\uff19A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(e,t,n){return e},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0},ssn:{mask:"999-99-9999",postValidation:function(e,t,n,i,a,l,s){var c=o.getMaskTemplate.call(this,!0,r.getLastValidPosition.call(this),!0,!0);return/^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(c.join(""))}}})},207:function(e,t,n){var i,a=n(7184),r=(i=n(2394))&&i.__esModule?i:{default:i},o=n(2839),l=n(8711);var s=r.default.dependencyLib;function c(e,t){for(var n="",i=0;i<e.length;i++)r.default.prototype.definitions[e.charAt(i)]||t.definitions[e.charAt(i)]||t.optionalmarker[0]===e.charAt(i)||t.optionalmarker[1]===e.charAt(i)||t.quantifiermarker[0]===e.charAt(i)||t.quantifiermarker[1]===e.charAt(i)||t.groupmarker[0]===e.charAt(i)||t.groupmarker[1]===e.charAt(i)||t.alternatormarker===e.charAt(i)?n+="\\"+e.charAt(i):n+=e.charAt(i);return n}function u(e,t,n,i){if(e.length>0&&t>0&&(!n.digitsOptional||i)){var a=e.indexOf(n.radixPoint),r=!1;n.negationSymbol.back===e[e.length-1]&&(r=!0,e.length--),-1===a&&(e.push(n.radixPoint),a=e.length-1);for(var o=1;o<=t;o++)isFinite(e[a+o])||(e[a+o]="0")}return r&&e.push(n.negationSymbol.back),e}function f(e,t){var n=0;for(var i in"+"===e&&(n=l.seekNext.call(this,t.validPositions.length-1)),t.tests)if((i=parseInt(i))>=n)for(var a=0,r=t.tests[i].length;a<r;a++)if((void 0===t.validPositions[i]||"-"===e)&&t.tests[i][a].match.def===e)return i+(void 0!==t.validPositions[i]&&"-"!==e?1:0);return n}function p(e,t){for(var n=-1,i=0,a=t.validPositions.length;i<a;i++){var r=t.validPositions[i];if(r&&r.match.def===e){n=i;break}}return n}function d(e,t,n,i,a){var r=t.buffer?t.buffer.indexOf(a.radixPoint):-1,o=(-1!==r||i&&a.jitMasking)&&new RegExp(a.definitions[9].validator).test(e);return!i&&a._radixDance&&-1!==r&&o&&null==t.validPositions[r]?{insert:{pos:r===n?r+1:r,c:a.radixPoint},pos:n}:o}r.default.extendAliases({numeric:{mask:function(e){e.repeat=0,e.groupSeparator===e.radixPoint&&e.digits&&"0"!==e.digits&&("."===e.radixPoint?e.groupSeparator=",":","===e.radixPoint?e.groupSeparator=".":e.groupSeparator="")," "===e.groupSeparator&&(e.skipOptionalPartCharacter=void 0),e.placeholder.length>1&&(e.placeholder=e.placeholder.charAt(0)),"radixFocus"===e.positionCaretOnClick&&""===e.placeholder&&(e.positionCaretOnClick="lvp");var t="0",n=e.radixPoint;!0===e.numericInput&&void 0===e.__financeInput?(t="1",e.positionCaretOnClick="radixFocus"===e.positionCaretOnClick?"lvp":e.positionCaretOnClick,e.digitsOptional=!1,isNaN(e.digits)&&(e.digits=2),e._radixDance=!1,n=","===e.radixPoint?"?":"!",""!==e.radixPoint&&void 0===e.definitions[n]&&(e.definitions[n]={}
vendor: 4,130 bytes, line 549
549,e.definitions[n].validator="["+e.radixPoint+"]",e.definitions[n].placeholder=e.radixPoint,e.definitions[n].static=!0,e.definitions[n].generated=!0)):(e.__financeInput=!1,e.numericInput=!0);var i,r="[+]";if(r+=c(e.prefix,e),""!==e.groupSeparator?(void 0===e.definitions[e.groupSeparator]&&(e.definitions[e.groupSeparator]={},e.definitions[e.groupSeparator].validator="["+e.groupSeparator+"]",e.definitions[e.groupSeparator].placeholder=e.groupSeparator,e.definitions[e.groupSeparator].static=!0,e.definitions[e.groupSeparator].generated=!0),r+=e._mask(e)):r+="9{+}",void 0!==e.digits&&0!==e.digits){var o=e.digits.toString().split(",");isFinite(o[0])&&o[1]&&isFinite(o[1])?r+=n+t+"{"+e.digits+"}":(isNaN(e.digits)||parseInt(e.digits)>0)&&(e.digitsOptional||e.jitMasking?(i=r+n+t+"{0,"+e.digits+"}",e.keepStatic=!0):r+=n+t+"{"+e.digits+"}")}else e.inputmode="numeric";return r+=c(e.suffix,e),r+="[-]",i&&(r=[i+c(e.suffix,e)+"[-]",r]),e.greedy=!1,function(e){void 0===e.parseMinMaxOptions&&(null!==e.min&&(e.min=e.min.toString().replace(new RegExp((0,a.escapeRegex)(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.min=e.min.replace(e.radixPoint,".")),e.min=isFinite(e.min)?parseFloat(e.min):NaN,isNaN(e.min)&&(e.min=Number.MIN_VALUE)),null!==e.max&&(e.max=e.max.toString().replace(new RegExp((0,a.escapeRegex)(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.max=e.max.replace(e.radixPoint,".")),e.max=isFinite(e.max)?parseFloat(e.max):NaN,isNaN(e.max)&&(e.max=Number.MAX_VALUE)),e.parseMinMaxOptions="done")}(e),""!==e.radixPoint&&e.substituteRadixPoint&&(e.substitutes["."==e.radixPoint?",":"."]=e.radixPoint),r},_mask:function(e){return"("+e.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,SetMaxOnOverflow:!1,step:1,inputType:"text",unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"decimal",shortcuts:{k:"1000",m:"1000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",usePrototypeDefinitions:!1,stripLeadingZeroes:!0,substituteRadixPoint:!0,definitions:{0:{validator:d},1:{validator:d,definitionSymbol:"9"},9:{validator:"[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]",definitionSymbol:"*"},"+":{validator:function(e,t,n,i,a){return a.allowMinus&&("-"===e||e===a.negationSymbol.front)}},"-":{validator:function(e,t,n,i,a){return a.allowMinus&&e===a.negationSymbol.back}}},preValidation:function(e,t,n,i,a,r,o,l){var s=this;if(!1!==a.__financeInput&&n===a.radixPoint)return!1;var c=e.indexOf(a.radixPoint),u=t;if(t=function(e,t,n,i,a){return a._radixDance&&a.numericInput&&t!==a.negationSymbol.back&&e<=n&&(n>0||t==a.radixPoint)&&(void 0===i.validPositions[e-1]||i.validPositions[e-1].input!==a.negationSymbol.back)&&(e-=1),e}(t,n,c,r,a),"-"===n||n===a.negationSymbol.front){if(!0!==a.allowMinus)return!1;var d=!1,h=p("+",r),v=p("-",r);return-1!==h&&(d=[h],-1!==v&&d.push(v)),!1!==d?{remove:d,caret:u-a.negationSymbol.back.length}:{insert:[{pos:f.call(s,"+",r),c:a.negationSymbol.front,fromIsValid:!0},{pos:f.call(s,"-",r),c:a.negationSymbol.back,fromIsValid:void 0}],caret:u+a.negationSymbol.back.length}}if(n===a.groupSeparator)return{caret:u};if(l)return!0;if(-1!==c&&!0===a._radixDance&&!1===i&&n===a.radixPoint&&void 0!==a.digits&&(isNaN(a.digits)||parseInt(a.digits)>0)&&c!==t){var m=f.call(s,a.radixPoint,r);return r.validPositions[m]&&(r.validPositions[m].generatedInput=r.validPositions[m].generated||!1),{caret:a._radixDance&&t===c-1?c+1:c}}if(!1===a.__financeInput)if(i){if(a.digitsOptional)return{rewritePosition:o.end};if(!a.digitsOptional){if(o.begin>c&&o.end<=c)return n===a.radixPoint?{insert:{pos:c+1,c:"0",fromIsValid:!0},rewritePosition:c}:{rewritePosition:c+1};if(o.begin<c)return{rewritePosition:o.begin-1}}}else if(!a.showMaskOnHover&&!a.showMaskOnFocus&&!a.digitsOptional&&a.digits>0&&""===this.__valueGet.call(this.el))return{rewritePosition:c};return{rewritePosition:t}},postValidation:function(e,t,n,i,a,r,o,l,c){if(!1===i)return i;if(o)return!0;
vendor: 5,976 bytes, line 549
549if(null!==a.min||null!==a.max){var f=a.onUnMask(e.slice().reverse().join(""),void 0,s.extend({},a,{unmaskAsNumber:!0}));if(null!==a.min&&f<a.min&&!0!==c&&(f.toString().length>a.min.toString().length||e[0]===a.radixPoint||f<0))return!1;if(null!==a.max&&f>a.max)return!!a.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:u(a.max.toString().replace(".",a.radixPoint).split(""),a.digits,a).reverse()}}return i},onUnMask:function(e,t,n){if(""===t&&!0===n.nullable)return t;var i=e.replace(n.prefix,"");return i=(i=i.replace(n.suffix,"")).replace(new RegExp((0,a.escapeRegex)(n.groupSeparator),"g"),""),""!==n.placeholder.charAt(0)&&(i=i.replace(new RegExp(n.placeholder.charAt(0),"g"),"0")),n.unmaskAsNumber?(""!==n.radixPoint&&-1!==i.indexOf(n.radixPoint)&&(i=i.replace(a.escapeRegex.call(this,n.radixPoint),".")),i=(i=i.replace(new RegExp("^"+(0,a.escapeRegex)(n.negationSymbol.front)),"-")).replace(new RegExp((0,a.escapeRegex)(n.negationSymbol.back)+"$"),""),Number(i)):i},isComplete:function(e,t){var n=(t.numericInput?e.slice().reverse():e).join("");return n=(n=(n=(n=(n=n.replace(new RegExp("^"+(0,a.escapeRegex)(t.negationSymbol.front)),"-")).replace(new RegExp((0,a.escapeRegex)(t.negationSymbol.back)+"$"),"")).replace(t.prefix,"")).replace(t.suffix,"")).replace(new RegExp((0,a.escapeRegex)(t.groupSeparator)+"([0-9]{3})","g"),"$1"),","===t.radixPoint&&(n=n.replace((0,a.escapeRegex)(t.radixPoint),".")),isFinite(n)},onBeforeMask:function(e,t){var n;e=null!==(n=e)&&void 0!==n?n:"";var i=t.radixPoint||",";isFinite(t.digits)&&(t.digits=parseInt(t.digits)),"number"!=typeof e&&"number"!==t.inputType||""===i||(e=e.toString().replace(".",i));var r="-"===e.charAt(0)||e.charAt(0)===t.negationSymbol.front,o=e.split(i),l=o[0].replace(/[^\-0-9]/g,""),s=o.length>1?o[1].replace(/[^0-9]/g,""):"",c=o.length>1;e=l+(""!==s?i+s:s);var f=0;if(""!==i&&(f=t.digitsOptional?t.digits<s.length?t.digits:s.length:t.digits,""!==s||!t.digitsOptional)){var p=Math.pow(10,f||1);e=e.replace((0,a.escapeRegex)(i),"."),isNaN(parseFloat(e))||(e=(t.roundingFN(parseFloat(e)*p)/p).toFixed(f)),e=e.toString().replace(".",i)}if(0===t.digits&&-1!==e.indexOf(i)&&(e=e.substring(0,e.indexOf(i))),null!==t.min||null!==t.max){var d=e.toString().replace(i,".");null!==t.min&&d<t.min?e=t.min.toString().replace(".",i):null!==t.max&&d>t.max&&(e=t.max.toString().replace(".",i))}return r&&"-"!==e.charAt(0)&&(e="-"+e),u(e.toString().split(""),f,t,c).join("")},onBeforeWrite:function(e,t,n,i){function r(e,t){if(!1!==i.__financeInput||t){var n=e.indexOf(i.radixPoint);-1!==n&&e.splice(n,1)}if(""!==i.groupSeparator)for(;-1!==(n=e.indexOf(i.groupSeparator));)e.splice(n,1);return e}var o,l;if(i.stripLeadingZeroes&&(l=function(e,t){var n=new RegExp("(^"+(""!==t.negationSymbol.front?(0,a.escapeRegex)(t.negationSymbol.front)+"?":"")+(0,a.escapeRegex)(t.prefix)+")(.*)("+(0,a.escapeRegex)(t.suffix)+(""!=t.negationSymbol.back?(0,a.escapeRegex)(t.negationSymbol.back)+"?":"")+"$)").exec(e.slice().reverse().join("")),i=n?n[2]:"",r=!1;return i&&(i=i.split(t.radixPoint.charAt(0))[0],r=new RegExp("^[0"+t.groupSeparator+"]*").exec(i)),!(!r||!(r[0].length>1||r[0].length>0&&r[0].length<i.length))&&r}(t,i)))for(var c=t.join("").lastIndexOf(l[0].split("").reverse().join(""))-(l[0]==l.input?0:1),f=l[0]==l.input?1:0,p=l[0].length-f;p>0;p--)this.maskset.validPositions.splice(c+p,1),delete t[c+p];if(e)switch(e.type){case"blur":case"checkval":if(null!==i.min){var d=i.onUnMask(t.slice().reverse().join(""),void 0,s.extend({},i,{unmaskAsNumber:!0}));if(null!==i.min&&d<i.min)return{refreshFromBuffer:!0,buffer:u(i.min.toString().replace(".",i.radixPoint).split(""),i.digits,i).reverse()}}if(t[t.length-1]===i.negationSymbol.front){var h=new RegExp("(^"+(""!=i.negationSymbol.front?(0,a.escapeRegex)(i.negationSymbol.front)+"?":"")+(0,a.escapeRegex)(i.prefix)+")(.*)("+(0,a.escapeRegex)(i.suffix)+(""!=i.negationSymbol.back?(0,a.escapeRegex)(i.negationSymbol.back)+"?":"")+"$)").exec(r(t.slice(),!0).reverse().join(""));0==(h?h[2]:"")&&(o={refreshFromBuffer:!0,buffer:[0]})}else if(""!==i.radixPoint){t.indexOf(i.radixPoint)===i.suffix.length&&(o&&o.buffer?o.buffer.splice(0,1+i.suffix.length):(t.splice(0,1+i.suffix.length),o={refreshFromBuffer:!0,buffer:r(t)}))}if(i.enforceDigitsOnBlur){var v=(o=o||{})&&o.buffer||t.slice().reverse();o.refreshFromBuffer=!0,o.buffer=u(v,i.digits,i,!0).reverse()}}return o},onKeyDown:function(e,t,n,i){var a,r=s(this);if(3!=e.location){var l,c=e.key;if((l=i.shortcuts&&i.shortcuts[c])&&l.length>1)return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())*parseInt(l)),r.trigger("setvalue"),!1}if(e.ctrlKey)switch(e.key){case o.keys.ArrowUp:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(i.step)),r.trigger("setvalue"),!1;case o.keys.ArrowDown:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(i.step)),r.trigger("setvalue"),!1}if(!e.shiftKey&&(e.key===o.keys.Delete||e.key===o.keys.Backspace||e.key===o.keys.BACKSPACE_SAFARI)&&n.begin!==t.length){if(t[e.key===o.keys.Delete?n.begin-1:n.end]===i.negationSymbol.front)return a=t.slice().reverse(),""!==i.negationSymbol.front&&a.shift(),""!==i.negationSymbol.back&&a.pop(),r.trigger("setvalue",[a.join(""),n.begin]),!1;if(!0===i._radixDance){var f,p=t.indexOf(i.radixPoint);if(i.digitsOptional){if(0===p)return(a=t.slice().reverse()).pop(),r.trigger("setvalue",[a.join(""),n.begin>=a.length?a.length:n.begin]),!1}else if(-1!==p&&(n.begin<p||n.end<p||e.key===o.keys.Delete&&(n.begin===p||n.begin-1===p)))return n.begin===n.end&&(e.key===o.keys.Backspace||e.key===o.keys.BACKSPACE_SAFARI?n.begin++:e.key===o.keys.Delete&&n.begin-1===p&&(f=s.extend({},n),n.begin--,n.end--)),(a=t.slice().reverse()).splice(a.length-n.begin,n.begin-n.end+1),a=u(a,i.digits,i).join(""),f&&(n=f),r.trigger("setvalue",[a,n.begin>=a.length?p+1:n.begin]),!1}}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1}
vendor: 14,425 bytes, line 549
549,decimal:{alias:"numeric"},integer:{alias:"numeric",inputmode:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(e){return"("+e.groupSeparator+"99){*|1}("+e.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}})},9380:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n?window:{}},7760:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HandleNativePlaceholder=function(e,t){var n=e?e.inputmask:this;if(i.ie){if(e.inputmask._valueGet()!==t&&(e.placeholder!==t||""===e.placeholder)){var a=o.getBuffer.call(n).slice(),r=e.inputmask._valueGet();if(r!==t){var l=o.getLastValidPosition.call(n);-1===l&&r===o.getBufferTemplate.call(n).join("")?a=[]:-1!==l&&u.call(n,a),p(e,a)}}}else e.placeholder!==t&&(e.placeholder=t,""===e.placeholder&&e.removeAttribute("placeholder"))},t.applyInputValue=c,t.checkVal=f,t.clearOptionalTail=u,t.unmaskedvalue=function(e){var t=e?e.inputmask:this,n=t.opts,i=t.maskset;if(e){if(void 0===e.inputmask)return e.value;e.inputmask&&e.inputmask.refreshValue&&c(e,e.inputmask._valueGet(!0))}for(var a=[],r=i.validPositions,l=0,s=r.length;l<s;l++)r[l]&&r[l].match&&(1!=r[l].match.static||!0!==n.keepStatic&&Array.isArray(i.metadata)&&!0!==r[l].generatedInput)&&a.push(r[l].input);var u=0===a.length?"":(t.isRTL?a.reverse():a).join("");if("function"==typeof n.onUnMask){var f=(t.isRTL?o.getBuffer.call(t).slice().reverse():o.getBuffer.call(t)).join("");u=n.onUnMask.call(t,f,u,n)}return u},t.writeBuffer=p;var i=n(9845),a=n(6030),r=n(2839),o=n(8711),l=n(7215),s=n(4713);function c(e,t,n,i){var a=e?e.inputmask:this,r=a.opts;e.inputmask.refreshValue=!1,!0!==i&&"function"==typeof r.onBeforeMask&&(t=r.onBeforeMask.call(a,t,r)||t),f(e,!0,!1,t=(t||"").toString().split(""),n),a.undoValue=a._valueGet(!0),(r.clearMaskOnLostFocus||r.clearIncomplete)&&e.inputmask._valueGet()===o.getBufferTemplate.call(a).join("")&&-1===o.getLastValidPosition.call(a)&&e.inputmask._valueSet("")}function u(e){e.length=0;for(var t,n=s.getMaskTemplate.call(this,!0,0,!0,void 0,!0);void 0!==(t=n.shift());)e.push(t);return e}function f(e,t,n,i,r){var c,u=e?e.inputmask:this,f=u.maskset,d=u.opts,h=u.dependencyLib,v=i.slice(),m="",g=-1,y=d.skipOptionalPartCharacter;d.skipOptionalPartCharacter="",o.resetMaskSet.call(u,!1),u.clicked=0,g=d.radixPoint?o.determineNewCaretPosition.call(u,{begin:0,end:0},!1,!1===d.__financeInput?"radixFocus":void 0).begin:0,f.p=g,u.caretPos={begin:g};var k=[],b=u.caretPos;if(v.forEach((function(e,t){if(void 0!==e){var i=new h.Event("_checkval");i.key=e,m+=e;var r=o.getLastValidPosition.call(u,void 0,!0);!function(e,t){for(var n=s.getMaskTemplate.call(u,!0,0).slice(e,o.seekNext.call(u,e,!1,!1)).join("").replace(/'/g,""),i=n.indexOf(t);i>0&&" "===n[i-1];)i--;var a=0===i&&!o.isMask.call(u,e)&&(s.getTest.call(u,e).match.nativeDef===t.charAt(0)||!0===s.getTest.call(u,e).match.static&&s.getTest.call(u,e).match.nativeDef==="'"+t.charAt(0)||" "===s.getTest.call(u,e).match.nativeDef&&(s.getTest.call(u,e+1).match.nativeDef===t.charAt(0)||!0===s.getTest.call(u,e+1).match.static&&s.getTest.call(u,e+1).match.nativeDef==="'"+t.charAt(0)));if(!a&&i>0&&!o.isMask.call(u,e,!1,!0)){var r=o.seekNext.call(u,e);u.caretPos.begin<r&&(u.caretPos={begin:r})}return a}(g,m)?(c=a.EventHandlers.keypressEvent.call(u,i,!0,!1,n,u.caretPos.begin))&&(g=u.caretPos.begin+1,m=""):c=a.EventHandlers.keypressEvent.call(u,i,!0,!1,n,r+1),c?(void 0!==c.pos&&f.validPositions[c.pos]&&!0===f.validPositions[c.pos].match.static&&void 0===f.validPositions[c.pos].alternation&&(k.push(c.pos),u.isRTL||(c.forwardPosition=c.pos+1)),p.call(u,void 0,o.getBuffer.call(u),c.forwardPosition,i,!1),u.caretPos={begin:c.forwardPosition,end:c.forwardPosition},b=u.caretPos):void 0===f.validPositions[t]&&v[t]===s.getPlaceholder.call(u,t)&&o.isMask.call(u,t,!0)?u.caretPos.begin++:u.caretPos=b}})),k.length>0){var x,w,P=o.seekNext.call(u,-1,void 0,!1);if(!l.isComplete.call(u,o.getBuffer.call(u))&&k.length<=P||l.isComplete.call(u,o.getBuffer.call(u))&&k.length>0&&k.length!==P&&0===k[0])for(var S=P;void 0!==(x=k.shift());)if(x<S){var O=new h.Event("_checkval");if((w=f.validPositions[x]).generatedInput=!0,O.key=w.input,(c=a.EventHandlers.keypressEvent.call(u,O,!0,!1,n,S))&&void 0!==c.pos&&c.pos!==x&&f.validPositions[c.pos]&&!0===f.validPositions[c.pos].match.static)k.push(c.pos);else if(!c)break;S++}}t&&p.call(u,e,o.getBuffer.call(u),c?c.forwardPosition:u.caretPos.begin,r||new h.Event("checkval"),r&&("input"===r.type&&u.undoValue!==o.getBuffer.call(u).join("")||"paste"===r.type)),d.skipOptionalPartCharacter=y}function p(e,t,n,i,a){var s=e?e.inputmask:this,c=s.opts,u=s.dependencyLib;if(i&&"function"==typeof c.onBeforeWrite){var f=c.onBeforeWrite.call(s,i,t,n,c);if(f){if(f.refreshFromBuffer){var p=f.refreshFromBuffer;l.refreshFromBuffer.call(s,!0===p?p:p.start,p.end,f.buffer||t),t=o.getBuffer.call(s,!0)}void 0!==n&&(n=void 0!==f.caret?f.caret:n)}}if(void 0!==e&&(e.inputmask._valueSet(t.join("")),void 0===n||void 0!==i&&"blur"===i.type||o.caret.call(s,e,n,void 0,void 0,void 0!==i&&"keydown"===i.type&&(i.key===r.keys.Delete||i.key===r.keys.Backspace)),void 0===e.inputmask.writeBufferHook||e.inputmask.writeBufferHook(n),!0===a)){var d=u(e),h=e.inputmask._valueGet();e.inputmask.skipInputEvent=!0,d.trigger("input"),setTimeout((function(){h===o.getBufferTemplate.call(s).join("")?d.trigger("cleared"):!0===l.isComplete.call(s,t)&&d.trigger("complete")}),0)}}},2394:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=v(n(3976)),a=v(n(7392)),r=v(n(4963)),o=n(9716),l=v(n(9380)),s=n(7760),c=n(157),u=n(2391),f=n(8711),p=n(7215),d=n(4713);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function v(e){return e&&e.__esModule?e:{default:e}}var m=l.default.document,g="_inputmask_opts";function y(e,t,n){if(!(this instanceof y))return new y(e,t,n);this.dependencyLib=r.default,this.el=void 0,this.events={},this.maskset=void 0,!0!==n&&("[object Object]"===Object.prototype.toString.call(e)?t=e:(t=t||{},e&&(t.alias=e)),this.opts=r.default.extend(!0,{},this.defaults,t),this.noMasksCache=t&&void 0!==t.definitions,this.userOptions=t||{},k(this.opts.alias,t,this.opts)),this.refreshValue=!1,this.undoValue=void 0,this.$el=void 0,this.skipInputEvent=!1,this.validationEvent=!1,this.ignorable=!1,this.maxLength,this.mouseEnter=!1,this.clicked=0,this.originalPlaceholder=void 0,this.isComposing=!1,this.hasAlternator=!1}function k(e,t,n){var i=y.prototype.aliases[e];return i?(i.alias&&k(i.alias,void 0,n),r.default.extend(!0,n,i),r.default.extend(!0,n,t),!0):(null===n.mask&&(n.mask=e),!1)}y.prototype={dataAttribute:"data-inputmask",defaults:i.default,definitions:a.default,aliases:{},masksCache:{},i18n:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(e){var t=this;return"string"==typeof e&&(e=m.getElementById(e)||m.querySelectorAll(e)),(e=e.nodeName?[e]:Array.isArray(e)?e:[].slice.call(e)).forEach((function(e,n){var i=r.default.extend(!0,{},t.opts);if(function(e,t,n,i){function a(t,a){var r=""===i?t:i+"-"+t;null!==(a=void 0!==a?a:e.getAttribute(r))&&("string"==typeof a&&(0===t.indexOf("on")?a=l.default[a]:"false"===a?a=!1:"true"===a&&(a=!0)),n[t]=a)}if(!0===t.importDataAttributes){var o,s,c,u,f=e.getAttribute(i);if(f&&""!==f&&(f=f.replace(/'/g,'"'),s=JSON.parse("{"+f+"}")),s)for(u in c=void 0,s)if("alias"===u.toLowerCase()){c=s[u];break}for(o in a("alias",c),n.alias&&k(n.alias,n,t),t){if(s)for(u in c=void 0,s)if(u.toLowerCase()===o.toLowerCase()){c=s[u];break}a(o,c)}}r.default.extend(!0,t,n),("rtl"===e.dir||t.rightAlign)&&(e.style.textAlign="right");("rtl"===e.dir||t.numericInput)&&(e.dir="ltr",e.removeAttribute("dir"),t.isRTL=!0);return Object.keys(n).length}(e,i,r.default.extend(!0,{},t.userOptions),t.dataAttribute)){var a=(0,u.generateMaskSet)(i,t.noMasksCache);void 0!==a&&(void 0!==e.inputmask&&(e.inputmask.opts.autoUnmask=!0,e.inputmask.remove()),e.inputmask=new y(void 0,void 0,!0),e.inputmask.opts=i,e.inputmask.noMasksCache=t.noMasksCache,e.inputmask.userOptions=r.default.extend(!0,{},t.userOptions),e.inputmask.el=e,e.inputmask.$el=(0,r.default)(e),e.inputmask.maskset=a,r.default.data(e,g,t.userOptions),c.mask.call(e.inputmask))}})),e&&e[0]&&e[0].inputmask||this},option:function(e,t){return"string"==typeof e?this.opts[e]:"object"===h(e)?(r.default.extend(this.userOptions,e),this.el&&!0!==t&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){if(this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),void 0===this.el||void 0!==e){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");s.checkVal.call(this,void 0,!1,!1,t),"function"==typeof this.opts.onBeforeWrite&&this.opts.onBeforeWrite.call(this,void 0,f.getBuffer.call(this),0,this.opts)}return s.unmaskedvalue.call(this,this.el)},remove:function(){if(this.el){r.default.data(this.el,g,null);var e=this.opts.autoUnmask?(0,s.unmaskedvalue)(this.el):this._valueGet(this.opts.autoUnmask);e!==f.getBufferTemplate.call(this).join("")?this._valueSet(e,this.opts.autoUnmask):this._valueSet(""),o.EventRuler.off(this.el),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el),"value")&&this.__valueGet&&Object.defineProperty(this.el,"value",{get:this.__valueGet,set:this.__valueSet,configurable:!0}):m.__lookupGetter__&&this.el.__lookupGetter__("value")&&this.__valueGet&&(this.el.__defineGetter__("value",this.__valueGet),this.el.__defineSetter__("value",this.__valueSet)),this.el.inputmask=void 0}return this.el},getemptymask:function(){return this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),(this.isRTL?f.getBufferTemplate.call(this).reverse():f.getBufferTemplate.call(this)).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),p.isComplete.call(this,f.getBuffer.call(this))},getmetadata:function(){if(this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var e=d.getMaskTemplate.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach((function(t){return t.mask!==e||(e=t,!1)})),e}return this.maskset.metadata},isValid:function(e){if(this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache),e){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");s.checkVal.call(this,void 0,!0,!1,t)}else e=this.isRTL?f.getBuffer.call(this).slice().reverse().join(""):f.getBuffer.call(this).join("");for(var n=f.getBuffer.call(this),i=f.determineLastRequiredPosition.call(this),a=n.length-1;a>i&&!f.isMask.call(this,a);a--);return n.splice(i,a+1-i),p.isComplete.call(this,n)&&e===(this.isRTL?f.getBuffer.call(this).slice().reverse().join(""):f.getBuffer.call(this).join(""))},format:function(e,t){this.maskset=this.maskset||(0,u.generateMaskSet)(this.opts,this.noMasksCache);var n=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");s.checkVal.call(this,void 0,!0,!1,n);var i=this.isRTL?f.getBuffer.call(this).slice().reverse().join(""):f.getBuffer.call(this).join("");return t?{value:i,metadata:this.getmetadata()}:i},setValue:function(e){this.el&&(0,r.default)(this.el).trigger("setvalue",[e])},analyseMask:u.analyseMask},y.extendDefaults=function(e){r.default.extend(!0,y.prototype.defaults,e)},y.extendDefinitions=function(e){r.default.extend(!0,y.prototype.definitions,e)},y.extendAliases=function(e){r.default.extend(!0,y.prototype.aliases,e)},y.format=function(e,t,n){return y(t).format(e,n)},y.unmask=function(e,t){return y(t).unmaskedvalue(e)},y.isValid=function(e,t){return y(t).isValid(e)},y.remove=function(e){"string"==typeof e&&(e=m.getElementById(e)||m.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask&&e.inputmask.remove()}))},y.setValue=function(e,t){"string"==typeof e&&(e=m.getElementById(e)||m.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask?e.inputmask.setValue(t):(0,r.default)(e).trigger("setvalue",[t])}))},y.dependencyLib=r.default,l.default.Inputmask=y;t.default=y},5296:function(e,t,n){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=d(n(9380)),r=d(n(2394));function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(r=a.key,o=void 0,o=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===i(o)?o:String(o)),a)}var r,o}function l(e){var t=u();return function(){var n,a=p(e);if(t){var r=p(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function s(e){var t="function"==typeof Map?new Map:void 0;return s=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return c(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)},s(e)}
vendor: 9,744 bytes, line 549
549function c(e,t,n){return c=u()?Reflect.construct.bind():function(e,t,n){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return n&&f(a,n.prototype),a},c.apply(null,arguments)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e){return e&&e.__esModule?e:{default:e}}var h=a.default.document;if(h&&h.head&&h.head.attachShadow&&a.default.customElements&&void 0===a.default.customElements.get("input-mask")){var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(s,e);var t,n,i,a=l(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=(e=a.call(this)).getAttributeNames(),n=e.attachShadow({mode:"closed"});for(var i in e.input=h.createElement("input"),e.input.type="text",n.appendChild(e.input),t)Object.prototype.hasOwnProperty.call(t,i)&&e.input.setAttribute(t[i],e.getAttribute(t[i]));var o=new r.default;return o.dataAttribute="",o.mask(e.input),e.input.inputmask.shadowRoot=n,e}return t=s,(n=[{key:"attributeChangedCallback",value:function(e,t,n){this.input.setAttribute(e,n)}},{key:"value",get:function(){return this.input.value},set:function(e){this.input.value=e}}])&&o(t.prototype,n),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),s}(s(HTMLElement));a.default.customElements.define("input-mask",v)}},2839:function(e,t){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=r.call(n)).done)&&(l.push(i.value),l.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e,t,i){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var a=i.call(e,t||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(t,"__esModule",{value:!0}),t.keys=t.keyCode=void 0,t.toKey=function(e,t){return s[e]||(t?String.fromCharCode(e):String.fromCharCode(e).toLowerCase())},t.toKeyCode=function(e){return l[e]};var l=t.keyCode=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({c:67,x:88,z:90,BACKSPACE_SAFARI:127,Enter:13,Meta_LEFT:91,Meta_RIGHT:92,Space:32},{Alt:18,AltGraph:18,ArrowDown:40,ArrowLeft:37,ArrowRight:39,ArrowUp:38,Backspace:8,CapsLock:20,Control:17,ContextMenu:93,Dead:221,Delete:46,End:35,Escape:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,Home:36,Insert:45,NumLock:144,PageDown:34,PageUp:33,Pause:19,PrintScreen:44,Process:229,Shift:16,ScrollLock:145,Tab:9,Unidentified:229}),s=Object.entries(l).reduce((function(e,t){var n=i(t,2),a=n[0],r=n[1];return e[r]=void 0===e[r]?a:e[r],e}),{});t.keys=Object.entries(l).reduce((function(e,t){var n=i(t,2),a=n[0];n[1];return e[a]="Space"===a?" ":a,e}),{})},2391:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.analyseMask=function(e,t,n){var i,a,s,c,u,f,p=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,d=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,h=!1,v=new o.default,m=[],g=[],y=!1;function k(e,i,a){a=void 0!==a?a:e.matches.length;var o=e.matches[a-1];if(t){if(0===i.indexOf("[")||h&&/\\d|\\s|\\w|\\p/i.test(i)||"."===i){var s=n.casing?"i":"";/\\p\{.*}/i.test(i)&&(s+="u"),e.matches.splice(a++,0,{fn:new RegExp(i,s),static:!1,optionality:!1,newBlockMarker:void 0===o?"master":o.def!==i,casing:null,def:i,placeholder:"object"===l(n.placeholder)?n.placeholder[v.matches.length]:void 0,nativeDef:i})}else h&&(i=i[i.length-1]),i.split("").forEach((function(t,i){o=e.matches[a-1],e.matches.splice(a++,0,{fn:/[a-z]/i.test(n.staticDefinitionSymbol||t)?new RegExp("["+(n.staticDefinitionSymbol||t)+"]",n.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===o?"master":o.def!==t&&!0!==o.static,casing:null,def:n.staticDefinitionSymbol||t,placeholder:void 0!==n.staticDefinitionSymbol?t:"object"===l(n.placeholder)?n.placeholder[v.matches.length]:void 0,nativeDef:(h?"'":"")+t})}));h=!1}else{var c=n.definitions&&n.definitions[i]||n.usePrototypeDefinitions&&r.default.prototype.definitions[i];c&&!h?e.matches.splice(a++,0,{fn:c.validator?"string"==typeof c.validator?new RegExp(c.validator,n.casing?"i":""):new function(){this.test=c.validator}:/./,static:c.static||!1,optionality:c.optional||!1,defOptionality:c.optional||!1,newBlockMarker:void 0===o||c.optional?"master":o.def!==(c.definitionSymbol||i),casing:c.casing,def:c.definitionSymbol||i,placeholder:c.placeholder,nativeDef:i,generated:c.generated}):(e.matches.splice(a++,0,{fn:/[a-z]/i.test(n.staticDefinitionSymbol||i)?new RegExp("["+(n.staticDefinitionSymbol||i)+"]",n.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===o?"master":o.def!==i&&!0!==o.static,casing:null,def:n.staticDefinitionSymbol||i,placeholder:void 0!==n.staticDefinitionSymbol?i:void 0,nativeDef:(h?"'":"")+i}),h=!1)}}function b(){if(m.length>0){if(k(c=m[m.length-1],a),c.isAlternator){u=m.pop();for(var e=0;e<u.matches.length;e++)u.matches[e].isGroup&&(u.matches[e].isGroup=!1);m.length>0?(c=m[m.length-1]).matches.push(u):v.matches.push(u)}}else k(v,a)}function x(e){var t=new o.default(!0);return t.openGroup=!1,t.matches=e,t}function w(){if((s=m.pop()).openGroup=!1,void 0!==s)if(m.length>0){if((c=m[m.length-1]).matches.push(s),c.isAlternator){u=m.pop();for(var e=0;e<u.matches.length;e++)u.matches[e].isGroup=!1,u.matches[e].alternatorGroup=!1;m.length>0?(c=m[m.length-1]).matches.push(u):v.matches.push(u)}}else v.matches.push(s);else b()}function P(e){var t=e.pop();return t.isQuantifier&&(t=x([e.pop(),t])),t}t&&(n.optionalmarker[0]=void 0,n.optionalmarker[1]=void 0);for(;i=t?d.exec(e):p.exec(e);){if(a=i[0],t){switch(a.charAt(0)){case"?":a="{0,1}";break;case"+":case"*":a="{"+a+"}";break;case"|":if(0===m.length){var S=x(v.matches);S.openGroup=!0,m.push(S),v.matches=[],y=!0}}switch(a){case"\\d":a="[0-9]";break;case"\\p":a+=d.exec(e)[0],a+=d.exec(e)[0]}}if(h)b();else switch(a.charAt(0)){case"$":case"^":t||b();break;case n.escapeChar:h=!0,t&&b();break;case n.optionalmarker[1]:case n.groupmarker[1]:w();break;case n.optionalmarker[0]:m.push(new o.default(!1,!0));break;case n.groupmarker[0]:m.push(new o.default(!0));break;case n.quantifiermarker[0]:var O=new o.default(!1,!1,!0),_=(a=a.replace(/[{}?]/g,"")).split("|"),M=_[0].split(","),E=isNaN(M[0])?M[0]:parseInt(M[0]),j=1===M.length?E:isNaN(M[1])?M[1]:parseInt(M[1]),T=isNaN(_[1])?_[1]:parseInt(_[1]);"*"!==E&&"+"!==E||(E="*"===j?0:1),O.quantifier={min:E,max:j,jit:T};var A=m.length>0?m[m.length-1].matches:v.matches;(i=A.pop()).isGroup||(i=x([i])),A.push(i),A.push(O);break;case n.alternatormarker:if(m.length>0){var D=(c=m[m.length-1]).matches[c.matches.length-1];f=c.openGroup&&(void 0===D.matches||!1===D.isGroup&&!1===D.isAlternator)?m.pop():P(c.matches)}else f=P(v.matches);if(f.isAlternator)m.push(f);else if(f.alternatorGroup?(u=m.pop(),f.alternatorGroup=!1):u=new o.default(!1,!1,!1,!0),u.matches.push(f),m.push(u),f.openGroup){f.openGroup=!1;var L=new o.default(!0);L.alternatorGroup=!0,m.push(L)}break;default:b()}}y&&w();for(;m.length>0;)s=m.pop(),v.matches.push(s);v.matches.length>
vendor: 40,323 bytes, lines 549-589
5490&&(!function e(i){i&&i.matches&&i.matches.forEach((function(a,r){var o=i.matches[r+1];(void 0===o||void 0===o.matches||!1===o.isQuantifier)&&a&&a.isGroup&&(a.isGroup=!1,t||(k(a,n.groupmarker[0],0),!0!==a.openGroup&&k(a,n.groupmarker[1]))),e(a)}))}(v),g.push(v));(n.numericInput||n.isRTL)&&function e(t){for(var i in t.matches=t.matches.reverse(),t.matches)if(Object.prototype.hasOwnProperty.call(t.matches,i)){var a=parseInt(i);if(t.matches[i].isQuantifier&&t.matches[a+1]&&t.matches[a+1].isGroup){var r=t.matches[i];t.matches.splice(i,1),t.matches.splice(a+1,0,r)}void 0!==t.matches[i].matches?t.matches[i]=e(t.matches[i]):t.matches[i]=((o=t.matches[i])===n.optionalmarker[0]?o=n.optionalmarker[1]:o===n.optionalmarker[1]?o=n.optionalmarker[0]:o===n.groupmarker[0]?o=n.groupmarker[1]:o===n.groupmarker[1]&&(o=n.groupmarker[0]),o)}var o;return t}(g[0]);return g},t.generateMaskSet=function(e,t){var n;function o(e,t){var n=t.repeat,i=t.groupmarker,r=t.quantifiermarker,o=t.keepStatic;if(n>0||"*"===n||"+"===n){var l="*"===n?0:"+"===n?1:n;if(l!=n)e=i[0]+e+i[1]+r[0]+l+","+n+r[1];else for(var c=e,u=1;u<l;u++)e+=c}if(!0===o){var f=e.match(new RegExp("(.)\\[([^\\]]*)\\]","g"));f&&f.forEach((function(t,n){var i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,r,o,l=[],s=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=r.call(n)).done)&&(l.push(i.value),l.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.split("["),2),r=i[0],o=i[1];o=o.replace("]",""),e=e.replace(new RegExp("".concat((0,a.escapeRegex)(r),"\\[").concat((0,a.escapeRegex)(o),"\\]")),r.charAt(0)===o.charAt(0)?"(".concat(r,"|").concat(r).concat(o,")"):"".concat(r,"[").concat(o,"]"))}))}return e}function c(e,n,a){var s,c,u=!1;return null!==e&&""!==e||((u=null!==a.regex)?e=(e=a.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(u=!0,e=".*")),1===e.length&&!1===a.greedy&&0!==a.repeat&&(a.placeholder=""),e=o(e,a),c=u?"regex_"+a.regex:a.numericInput?e.split("").reverse().join(""):e,null!==a.keepStatic&&(c="ks_"+a.keepStatic+c),"object"===l(a.placeholder)&&(c="ph_"+JSON.stringify(a.placeholder)+c),void 0===r.default.prototype.masksCache[c]||!0===t?(s={mask:e,maskToken:r.default.prototype.analyseMask(e,u,a),validPositions:[],_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:n,maskLength:void 0,jitOffset:{}},!0!==t&&(r.default.prototype.masksCache[c]=s,s=i.default.extend(!0,{},r.default.prototype.masksCache[c]))):s=i.default.extend(!0,{},r.default.prototype.masksCache[c]),s}"function"==typeof e.mask&&(e.mask=e.mask(e));if(Array.isArray(e.mask)){if(e.mask.length>1){null===e.keepStatic&&(e.keepStatic=!0);var u=e.groupmarker[0];return(e.isRTL?e.mask.reverse():e.mask).forEach((function(t){u.length>1&&(u+=e.alternatormarker),void 0!==t.mask&&"function"!=typeof t.mask?u+=t.mask:u+=t})),c(u+=e.groupmarker[1],e.mask,e)}e.mask=e.mask.pop()}n=e.mask&&void 0!==e.mask.mask&&"function"!=typeof e.mask.mask?c(e.mask.mask,e.mask,e):c(e.mask,e.mask,e);null===e.keepStatic&&(e.keepStatic=!1);return n};var i=c(n(4963)),a=n(7184),r=c(n(2394)),o=c(n(9695));function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function c(e){return e&&e.__esModule?e:{default:e}}},157:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mask=function(){var e=this,t=this.opts,n=this.el,c=this.dependencyLib;r.EventRuler.off(n);var u=function(t,n){var i=t.getAttribute("type"),a="input"===t.tagName.toLowerCase()&&n.supportsInputType.includes(i)||t.isContentEditable||"textarea"===t.tagName.toLowerCase();if(!a)if("input"===t.tagName.toLowerCase()){var s=document.createElement("input");s.setAttribute("type",i),a="text"===s.type,s=null}else a="partial";return!1!==a?function(t){var i,a;function s(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==l.getLastValidPosition.call(e)||!0!==n.nullable?(this.inputmask.shadowRoot||this.ownerDocument).activeElement===this&&n.clearMaskOnLostFocus?(e.isRTL?o.clearOptionalTail.call(e,l.getBuffer.call(e).slice()).reverse():o.clearOptionalTail.call(e,l.getBuffer.call(e).slice())).join(""):i.call(this):"":i.call(this)}function u(e){a.call(this,e),this.inputmask&&(0,o.applyInputValue)(this,e)}if(!t.inputmask.__valueGet){if(!0!==n.noValuePatching){if(Object.getOwnPropertyDescriptor){var f=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value"):void 0;f&&f.get&&f.set?(i=f.get,a=f.set,Object.defineProperty(t,"value",{get:s,set:u,configurable:!0})):"input"!==t.tagName.toLowerCase()&&(i=function(){return this.textContent},a=function(e){this.textContent=e},Object.defineProperty(t,"value",{get:s,set:u,configurable:!0}))}else document.__lookupGetter__&&t.__lookupGetter__("value")&&(i=t.__lookupGetter__("value"),a=t.__lookupSetter__("value"),t.__defineGetter__("value",s),t.__defineSetter__("value",u));t.inputmask.__valueGet=i,t.inputmask.__valueSet=a}t.inputmask._valueGet=function(t){return e.isRTL&&!0!==t?i.call(this.el).split("").reverse().join(""):i.call(this.el)},t.inputmask._valueSet=function(t,n){a.call(this.el,null==t?"":!0!==n&&e.isRTL?t.split("").reverse().join(""):t)},void 0===i&&(i=function(){return this.value},a=function(e){this.value=e},function(t){if(c.valHooks&&(void 0===c.valHooks[t]||!0!==c.valHooks[t].inputmaskpatch)){var i=c.valHooks[t]&&c.valHooks[t].get?c.valHooks[t].get:function(e){return e.value},a=c.valHooks[t]&&c.valHooks[t].set?c.valHooks[t].set:function(e,t){return e.value=t,e};c.valHooks[t]={get:function(t){if(t.inputmask){if(t.inputmask.opts.autoUnmask)return t.inputmask.unmaskedvalue();var a=i(t);return-1!==l.getLastValidPosition.call(e,void 0,void 0,t.inputmask.maskset.validPositions)||!0!==n.nullable?a:""}return i(t)},set:function(e,t){var n=a(e,t);return e.inputmask&&(0,o.applyInputValue)(e,t),n},inputmaskpatch:!0}}}(t.type),function(e){r.EventRuler.on(e,"mouseenter",(function(){var e=this,t=e.inputmask._valueGet(!0);t!=(e.inputmask.isRTL?l.getBuffer.call(e.inputmask).slice().reverse():l.getBuffer.call(e.inputmask)).join("")&&(0,o.applyInputValue)(e,t)}))}(t))}}(t):t.inputmask=void 0,a}(n,t);if(!1!==u){e.originalPlaceholder=n.placeholder,e.maxLength=void 0!==n?n.maxLength:void 0,-1===e.maxLength&&(e.maxLength=void 0),"inputMode"in n&&null===n.getAttribute("inputmode")&&(n.inputMode=t.inputmode,n.setAttribute("inputmode",t.inputmode)),!0===u&&(t.showMaskOnFocus=t.showMaskOnFocus&&-1===["cc-number","cc-exp"].indexOf(n.autocomplete),i.iphone&&(t.insertModeVisual=!1,n.setAttribute("autocorrect","off")),r.EventRuler.on(n,"submit",a.EventHandlers.submitEvent),r.EventRuler.on(n,"reset",a.EventHandlers.resetEvent),r.EventRuler.on(n,"blur",a.EventHandlers.blurEvent),r.EventRuler.on(n,"focus",a.EventHandlers.focusEvent),r.EventRuler.on(n,"invalid",a.EventHandlers.invalidEvent),r.EventRuler.on(n,"click",a.EventHandlers.clickEvent),r.EventRuler.on(n,"mouseleave",a.EventHandlers.mouseleaveEvent),r.EventRuler.on(n,"mouseenter",a.EventHandlers.mouseenterEvent),r.EventRuler.on(n,"paste",a.EventHandlers.pasteEvent),r.EventRuler.on(n,"cut",a.EventHandlers.cutEvent),r.EventRuler.on(n,"complete",t.oncomplete),r.EventRuler.on(n,"incomplete",t.onincomplete),r.EventRuler.on(n,"cleared",t.oncleared),!0!==t.inputEventOnly&&r.EventRuler.on(n,"keydown",a.EventHandlers.keyEvent),(i.mobile||t.inputEventOnly)&&n.removeAttribute("maxLength"),r.EventRuler.on(n,"input",a.EventHandlers.inputFallBackEvent)),r.EventRuler.on(n,"setvalue",a.EventHandlers.setValueEvent),void 0===e.applyMaskHook||e.applyMaskHook(),l.getBufferTemplate.call(e).join(""),e.undoValue=e._valueGet(!0);var f=(n.inputmask.shadowRoot||n.ownerDocument).activeElement;if(""!==n.inputmask._valueGet(!0)||!1===t.clearMaskOnLostFocus||f===n){(0,o.applyInputValue)(n,n.inputmask._valueGet(!0),t);var p=l.getBuffer.call(e).slice();!1===s.isComplete.call(e,p)&&t.clearIncomplete&&l.resetMaskSet.call(e,!1),t.clearMaskOnLostFocus&&f!==n&&(-1===l.getLastValidPosition.call(e)?p=[]:o.clearOptionalTail.call(e,p)),(!1===t.clearMaskOnLostFocus||t.showMaskOnFocus&&f===n||""!==n.inputmask._valueGet(!0))&&(0,o.writeBuffer)(n,p),f===n&&l.caret.call(e,n,l.seekNext.call(e,l.getLastValidPosition.call(e)))}}};var i=n(9845),a=n(6030),r=n(9716),o=n(7760),l=n(8711),s=n(7215)},9695:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=n||!1,this.isAlternator=i||!1,this.quantifier={min:1,max:1}}},3194:function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),i=n.length>>>0;if(0===i)return!1;for(var a=0|t,r=Math.max(a>=0?a:i-Math.abs(a),0);r<i;){if(n[r]===e)return!0;r++}return!1}})},9302:function(){var e=Function.bind.call(Function.call,Array.prototype.reduce),t=Function.bind.call(Function.call,Object.prototype.propertyIsEnumerable),n=Function.bind.call(Function.call,Array.prototype.concat),i=Object.keys;Object.entries||(Object.entries=function(a){return e(i(a),(function(e,i){return n(e,"string"==typeof i&&t(a,i)?[[i,a[i]]]:[])}),[])})},7149:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===e("test".__proto__)?function(e){return e.__proto__}:function(e){return e.constructor.prototype})},4013:function(){String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)})},8711:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.caret=function(e,t,n,i,r){var o,l=this,s=this.opts;if(void 0===t)return"selectionStart"in e&&"selectionEnd"in e?(t=e.selectionStart,n=e.selectionEnd):a.default.getSelection?(o=a.default.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==e&&o.commonAncestorContainer!==e||(t=o.startOffset,n=o.endOffset):document.selection&&document.selection.createRange&&(n=(t=0-(o=document.selection.createRange()).duplicate().moveStart("character",-e.inputmask._valueGet().length))+o.text.length),{begin:i?t:f.call(l,t),end:i?n:f.call(l,n)};if(Array.isArray(t)&&(n=l.isRTL?t[0]:t[1],t=l.isRTL?t[1]:t[0]),void 0!==t.begin&&(n=l.isRTL?t.begin:t.end,t=l.isRTL?t.end:t.begin),"number"==typeof t){t=i?t:f.call(l,t),n="number"==typeof(n=i?n:f.call(l,n))?n:t;var c=parseInt(((e.ownerDocument.defaultView||a.default).getComputedStyle?(e.ownerDocument.defaultView||a.default).getComputedStyle(e,null):e.currentStyle).fontSize)*n;if(e.scrollLeft=c>e.scrollWidth?c:0,e.inputmask.caretPos={begin:t,end:n},s.insertModeVisual&&!1===s.insertMode&&t===n&&(r||n++),e===(e.inputmask.shadowRoot||e.ownerDocument).activeElement){if("setSelectionRange"in e)e.setSelectionRange(t,n);else if(a.default.getSelection){if(o=document.createRange(),void 0===e.firstChild||null===e.firstChild){var u=document.createTextNode("");e.appendChild(u)}o.setStart(e.firstChild,t<e.inputmask._valueGet().length?t:e.inputmask._valueGet().length),o.setEnd(e.firstChild,n<e.inputmask._valueGet().length?n:e.inputmask._valueGet().length),o.collapse(!0);var p=a.default.getSelection();p.removeAllRanges(),p.addRange(o)}else e.createTextRange&&((o=e.createTextRange()).collapse(!0),o.moveEnd("character",n),o.moveStart("character",t),o.select());void 0===e.inputmask.caretHook||e.inputmask.caretHook.call(l,{begin:t,end:n})}}},t.determineLastRequiredPosition=function(e){var t,n,i=this,a=i.maskset,l=i.dependencyLib,c=s.call(i),u={},f=a.validPositions[c],p=o.getMaskTemplate.call(i,!0,s.call(i),!0,!0),d=p.length,h=void 0!==f?f.locator.slice():void 0;for(t=c+1;t<p.length;t++)h=(n=o.getTestTemplate.call(i,t,h,t-1)).locator.slice(),u[t]=l.extend(!0,{},n);var v=f&&void 0!==f.alternation?f.locator[f.alternation]:void 0;for(t=d-1;t>c&&(((n=u[t]).match.optionality||n.match.optionalQuantifier&&n.match.newBlockMarker||v&&(v!==u[t].locator[f.alternation]&&!0!==n.match.static||!0===n.match.static&&n.locator[f.alternation]&&r.checkAlternationMatch.call(i,n.locator[f.alternation].toString().split(","),v.toString().split(","))&&""!==o.getTests.call(i,t)[0].def))&&p[t]===o.getPlaceholder.call(i,t,n.match));t--)d--;return e?{l:d,def:u[d]?u[d].match:void 0}:d},t.determineNewCaretPosition=function(e,t,n){var i,a,r,f=this,p=f.maskset,d=f.opts;t&&(f.isRTL?e.end=e.begin:e.begin=e.end);if(e.begin===e.end){switch(n=n||d.positionCaretOnClick){case"none":break;case"select":e={begin:0,end:l.call(f).length};break;case"ignore":e.end=e.begin=u.call(f,s.call(f));break;case"radixFocus":if(f.clicked>1&&0===p.validPositions.length)break;if(function(e){if(""!==d.radixPoint&&0!==d.digits){var t=p.validPositions;if(void 0===t[e]||void 0===t[e].input){if(e<u.call(f,-1))return!0;var n=l.call(f).indexOf(d.radixPoint);if(-1!==n){for(var i=0,a=t.length;i<a;i++)if(t[i]&&n<i&&t[i].input!==o.getPlaceholder.call(f,i))return!1;return!0}}}return!1}(e.begin)){var h=l.call(f).join("").indexOf(d.radixPoint);e.end=e.begin=d.numericInput?u.call(f,h):h;break}default:if(i=e.begin,a=s.call(f,i,!0),i<=(r=u.call(f,-1!==a||c.call(f,0)?a:-1)))e.end=e.begin=c.call(f,i,!1,!0)?i:u.call(f,i);else{var v=p.validPositions[a],m=o.getTestTemplate.call(f,r,v?v.match.locator:void 0,v),g=o.getPlaceholder.call(f,r,m.match);if(""!==g&&l.call(f)[r]!==g&&!0!==m.match.optionalQuantifier&&!0!==m.match.newBlockMarker||!c.call(f,r,d.keepStatic,!0)&&m.match.def===g){var y=u.call(f,r);(i>=y||i===r)&&(r=y)}e.end=e.begin=r}}return e}},t.getBuffer=l,t.getBufferTemplate=function(){var e=this.maskset;void 0===e._buffer&&(e._buffer=o.getMaskTemplate.call(this,!1,1),void 0===e.buffer&&(e.buffer=e._buffer.slice()));return e._buffer},t.getLastValidPosition=s,t.isMask=c,t.resetMaskSet=function(e){var t=this.maskset;t.buffer=void 0,!0!==e&&(t.validPositions=[],t.p=0);!1===e&&(t.tests={},t.jitOffset={})},t.seekNext=u,t.seekPrevious=function(e,t){var n=this,i=e-1;if(e<=0)return 0;for(;i>0&&(!0===t&&(!0!==o.getTest.call(n,i).match.newBlockMarker||!c.call(n,i,void 0,!0))||!0!==t&&!c.call(n,i,void 0,!0));)i--;return i},t.translatePosition=f;var i,a=(i=n(9380))&&i.__esModule?i:{default:i},r=n(7215),o=n(4713);function l(e){var t=this,n=t.maskset;return void 0!==n.buffer&&!0!==e||(n.buffer=o.getMaskTemplate.call(t,!0,s.call(t),!0),void 0===n._buffer&&(n._buffer=n.buffer.slice())),n.buffer}function s(e,t,n){var i=this.maskset,a=-1,r=-1,o=n||i.validPositions;void 0===e&&(e=-1);for(var l=0,s=o.length;l<s;l++)o[l]&&(t||!0!==o[l].generatedInput)&&(l<=e&&(a=l),l>=e&&(r=l));return-1===a||a===e?r:-1===r||e-a<r-e?a:r}function c(e,t,n){var i=this,a=this.maskset,r=o.getTestTemplate.call(i,e).match;if(""===r.def&&(r=o.getTest.call(i,e).match),!0!==r.static)return r.fn;if(!0===n&&void 0!==a.validPositions[e]&&!0!==a.validPositions[e].generatedInput)return!0;if(!0!==t&&e>-1){if(n){var l=o.getTests.call(i,e);return l.length>1+(""===l[l.length-1].match.def?1:0)}var s=o.determineTestTemplate.call(i,e,o.getTests.call(i,e)),c=o.getPlaceholder.call(i,e,s.match);return s.match.def!==c}return!1}function u(e,t,n){var i=this;void 0===n&&(n=!0);for(var a=e+1;""!==o.getTest.call(i,a).match.def&&(!0===t&&(!0!==o.getTest.call(i,a).match.newBlockMarker||!c.call(i,a,void 0,!0))||!0!==t&&!c.call(i,a,void 0,n));)a++;return a}function f(e){var t=this.opts,n=this.el;return!this.isRTL||"number"!=typeof e||t.greedy&&""===t.placeholder||!n||(e=this._valueGet().length-e)<0&&(e=0),e}},4713:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.determineTestTemplate=f,t.getDecisionTaker=s,t.getMaskTemplate=function(e,t,n,i,a){var r=this,o=this.opts,l=this.maskset,s=o.greedy;a&&o.greedy&&(o.greedy=!1,r.maskset.tests={});t=t||0;var p,d,v,m,g=[],y=0;do{if(!0===e&&l.validPositions[y])d=(v=a&&l.validPositions[y].match.optionality&&void 0===l.validPositions[y+1]&&(!0===l.validPositions[y].generatedInput||l.validPositions[y].input==o.skipOptionalPartCharacter&&y>0)?f.call(r,y,h.call(r,y,p,y-1)):l.validPositions[y]).match,p=v.locator.slice(),g.push(!0===n?v.input:!1===n?d.nativeDef:c.call(r,y,d));else{d=(v=u.call(r,y,p,y-1)).match,p=v.locator.slice();var k=!0!==i&&(!1!==o.jitMasking?o.jitMasking:d.jit);(m=(m||l.validPositions[y-1])&&d.static&&d.def!==o.groupSeparator&&null===d.fn)||!1===k||void 0===k||"number"==typeof k&&isFinite(k)&&k>y?g.push(!1===n?d.nativeDef:c.call(r,g.length,d)):m=!1}y++}while(!0!==d.static||""!==d.def||t>y);""===g[g.length-1]&&g.pop();!1===n&&void 0!==l.maskLength||(l.maskLength=y-1);return o.greedy=s,g},t.getPlaceholder=c,t.getTest=p,t.getTestTemplate=u,t.getTests=h,t.isSubsetOf=d;var i,a=(i=n(2394))&&i.__esModule?i:{default:i},r=n(8711);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function l(e,t){var n=(null!=e.alternation?e.mloc[s(e)]:e.locator).join("");if(""!==n)for(n=n.split(":")[0];n.length<t;)n+="0";return n}function s(e){var t=e.locator[e.alternation];return"string"==typeof t&&t.length>0&&(t=t.split(",")[0]),void 0!==t?t.toString():""}function c(e,t,n){var i=this,a=this.opts,l=this.maskset;if(void 0!==(t=t||p.call(i,e).match).placeholder||!0===n){if(""!==t.placeholder&&!0===t.static&&!0!==t.generated){var s=r.getLastValidPosition.call(i,e),c=r.seekNext.call(i,s);return(n?e<=c:e<c)?a.staticDefinitionSymbol&&t.static?t.nativeDef:t.def:"function"==typeof t.placeholder?t.placeholder(a):t.placeholder}return"function"==typeof t.placeholder?t.placeholder(a):t.placeholder}if(!0===t.static){if(e>-1&&void 0===l.validPositions[e]){var u,f=h.call(i,e),d=[];if("string"==typeof a.placeholder&&f.length>1+(""===f[f.length-1].match.def?1:0))for(var v=0;v<f.length;v++)if(""!==f[v].match.def&&!0!==f[v].match.optionality&&!0!==f[v].match.optionalQuantifier&&(!0===f[v].match.static||void 0===u||!1!==f[v].match.fn.test(u.match.def,l,e,!0,a))&&(d.push(f[v]),!0===f[v].match.static&&(u=f[v]),d.length>1&&/[0-9a-bA-Z]/.test(d[0].match.def)))return a.placeholder.charAt(e%a.placeholder.length)}return t.def}return"object"===o(a.placeholder)?t.def:a.placeholder.charAt(e%a.placeholder.length)}function u(e,t,n){return this.maskset.validPositions[e]||f.call(this,e,h.call(this,e,t?t.slice():t,n))}function f(e,t){var n=this.opts,i=0,a=function(e,t){var n=0,i=!1;t.forEach((function(e){e.match.optionality&&(0!==n&&n!==e.match.optionality&&(i=!0),(0===n||n>e.match.optionality)&&(n=e.match.optionality))})),n&&(0==e||1==t.length?n=0:i||(n=0));return n}(e,t);e=e>0?e-1:0;var r,o,s,c=l(p.call(this,e));n.greedy&&t.length>1&&""===t[t.length-1].match.def&&(i=1);for(var u=0;u<t.length-i;u++){var f=t[u];r=l(f,c.length);var d=Math.abs(r-c);(!0!==f.unMatchedAlternationStopped||t.filter((function(e){return!0!==e.unMatchedAlternationStopped})).length<=1)&&(void 0===o||""!==r&&d<o||s&&!n.greedy&&s.match.optionality&&s.match.optionality-a>0&&"master"===s.match.newBlockMarker&&(!f.match.optionality||f.match.optionality-a<1||!f.match.newBlockMarker)||s&&!n.greedy&&s.match.optionalQuantifier&&!f.match.optionalQuantifier)&&(o=d,s=f)}return s}function p(e,t){var n=this.maskset;return n.validPositions[e]?n.validPositions[e]:(t||h.call(this,e))[0]}function d(e,t,n){function i(e){for(var t,n=[],i=-1,a=0,r=e.length;a<r;a++)if("-"===e.charAt(a))for(t=e.charCodeAt(a+1);++i<t;)n.push(String.fromCharCode(i));else i=e.charCodeAt(a),n.push(e.charAt(a));return n.join("")}return e.match.def===t.match.nativeDef||!(!(n.regex||e.match.fn instanceof RegExp&&t.match.fn instanceof RegExp)||!0===e.match.static||!0===t.match.static)&&("."===t.match.fn.source||-1!==i(t.match.fn.source.replace(/[[\]/]/g,"")).indexOf(i(e.match.fn.source.replace(/[[\]/]/g,""))))}function h(e,t,n){var i,r,o=this,l=this.dependencyLib,s=this.maskset,c=this.opts,u=this.el,p=s.maskToken,h=t?n:0,v=t?t.slice():[0],m=[],g=!1,y=t?t.join(""):"",k=!1;function b(t,n,r,l){function f(r,l,p){function v(e,t){var n=0===t.matches.indexOf(e);return n||t.matches.every((function(i,a){return!0===i.isQuantifier?n=v(e,t.matches[a-1]):Object.prototype.hasOwnProperty.call(i,"matches")&&(n=v(e,i)),!n})),n}function w(e,t,n){var i,a;if((s.tests[e]||s.validPositions[e])&&(s.validPositions[e]?[s.validPositions[e]]:s.tests[e]).every((function(e,r){if(e.mloc[t])return i=e,!1;var o=void 0!==n?n:e.alternation,l=void 0!==e.locator[o]?e.locator[o].toString().indexOf(t):-1;return(void 0===a||l<a)&&-1!==l&&(i=e,a=l),!0})),i){var r=i.locator[i.alternation],o=i.mloc[t]||i.mloc[r]||i.locator;if(-1!==o[o.length-1].toString().indexOf(":"))o.pop();return o.slice((void 0!==n?n:i.alternation)+1)}return void 0!==n?w(e,t):void 0}function P(t,n){return!0===t.match.static&&!0!==n.match.static&&n.match.fn.test(t.match.def,s,e,!1,c,!1)}function S(e,t){var n=e.alternation,i=void 0===t||n<=t.alternation&&-1===e.locator[n].toString().indexOf(t.locator[n]);if(!i&&n>t.alternation)for(var a=0;a<n;a++)if(e.locator[a]!==t.locator[a]){n=a,i=!0;break}return!!i&&function(n){e.mloc=e.mloc||{};var i=e.locator[n];if(void 0!==i){if("string"==typeof i&&(i=i.split(",")[0]),void 0===e.mloc[i]&&(e.mloc[i]=e.locator.slice(),e.mloc[i].push(":".concat(e.alternation))),void 0!==t){for(var a in t.mloc)"string"==typeof a&&(a=parseInt(a.split(",")[0])),e.mloc[a+0]=t.mloc[a];e.locator[n]=Object.keys(e.mloc).join(",")}return e.alternation>n&&(e.alternation=n),!0}return e.alternation=void 0,!1}(n)}function O(e,t){if(e.locator.length!==t.locator.length)return!1;for(var n=e.alternation+1;n<e.locator.length;n++)if(e.locator[n]!==t.locator[n])return!1;return!0}if(h>e+c._maxTestPos)throw new Error("Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. ".concat(s.mask));if(h===e&&void 0===r.matches){if(m.push({match:r,locator:l.reverse(),cd:y,mloc:{}}),!r.optionality||void 0!==p||!(c.definitions&&c.definitions[r.nativeDef]&&c.definitions[r.nativeDef].optional||a.default.prototype.definitions[r.nativeDef]&&a.default.prototype.definitions[r.nativeDef].optional))return!0;g=!0,h=e}else if(void 0!==r.matches){if(r.isGroup&&p!==r)return function(){if(r=f(t.matches[t.matches.indexOf(r)+1],l,p))return!0}();if(r.isOptional)return function(){var t=r,a=m.length;if(r=b(r,n,l,p),m.length>0){if(m.forEach((function(e,t){t>=a&&(e.match.optionality=e.match.optionality?e.match.optionality+1:1)})),i=m[m.length-1].match,void 0!==p||!v(i,t))return r;g=!0,h=e}}();if(r.isAlternator)return function(){function i(e){for(var t,n=e.matches[0].matches?e.matches[0].matches.length:1,i=0;i<e.matches.length&&n===(t=e.matches[i].matches?e.matches[i].matches.length:1);i++);return n!==t}o.hasAlternator=!0;var a,v=r,y=[],b=m.slice(),x=l.length,_=n.length>0?n.shift():-1;if(-1===_||"string"==typeof _){var M,E=h,j=n.slice(),T=[];if("string"==typeof _)T=_.split(",");else for(M=0;M<v.matches.length;M++)T.push(M.toString());if(void 0!==s.excludes[e]){for(var A=T.slice(),D=0,L=s.excludes[e].length;D<L;D++){var C=s.excludes[e][D].toString().split(":");l.length==C[1]&&T.splice(T.indexOf(C[0]),1)}0===T.length&&(delete s.excludes[e],T=A)}(!0===c.keepStatic||isFinite(parseInt(c.keepStatic))&&E>=c.keepStatic)&&(T=T.slice(0,1));for(var R=0;R<T.length;R++){M=parseInt(T[R]),m=[],n="string"==typeof _&&w(h,M,x)||j.slice();var B=v.matches[M];if(B&&f(B,[M].concat(l),p))r=!0;else if(0===R&&(k=i(v)),B&&B.matches&&B.matches.length>v.matches[0].matches.length)break;a=m.slice(),h=E,m=[];for(var I=0;I<a.length;I++){var F=a[I],N=!1;F.alternation=F.alternation||x,S(F);for(var V=0;V<y.length;V++){var G=y[V];if("string"!=typeof _||void 0!==F.alternation&&T.includes(F.locator[F.alternation].toString())){if(F.match.nativeDef===G.match.nativeDef){N=!0,S(G,F);break}if(d(F,G,c)){S(F,G)&&(N=!0,y.splice(y.indexOf(G),0,F));break}if(d(G,F,c)){S(G,F);break}if(P(F,G)){O(F,G)||void 0!==u.inputmask.userOptions.keepStatic?S(F,G)&&(N=!0,y.splice(y.indexOf(G),0,F)):c.keepStatic=!0;break}if(P(G,F)){S(G,F);break}}}N||y.push(F)}}m=b.concat(y),h=e,g=m.length>0&&k,r=y.length>0&&!k,k&&g&&!r&&m.forEach((function(e,t){e.unMatchedAlternationStopped=!0})),n=j.slice()}else r=f(v.matches[_]||t.matches[_],[_].concat(l),p);if(r)return!0}();if(r.isQuantifier&&p!==t.matches[t.matches.indexOf(r)-1])return function(){for(var a=r,o=!1,u=n.length>0?n.shift():0;u<(isNaN(a.quantifier.max)?u+1:a.quantifier.max)&&h<=e;u++){var p=t.matches[t.matches.indexOf(a)-1];if(r=f(p,[u].concat(l),p)){if(m.forEach((function(t,n){(i=x(p,t.match)?t.match:m[m.length-1].match).optionalQuantifier=u>=a.quantifier.min,i.jit=(u+1)*(p.matches.indexOf(i)+1)>a.quantifier.jit,i.optionalQuantifier&&v(i,p)&&(g=!0,h=e,c.greedy&&null==s.validPositions[e-1]&&u>a.quantifier.min&&-1!=["*","+"].indexOf(a.quantifier.max)&&(m.pop(),y=void 0),o=!0,r=!1),!o&&i.jit&&(s.jitOffset[e]=p.matches.length-p.matches.indexOf(i))})),o)break;return!0}}}();if(r=b(r,n,l,p))return!0}else h++}for(var p=n.length>0?n.shift():0;p<t.matches.length;p++)if(!0!==t.matches[p].isQuantifier){var v=f(t.matches[p],[p].concat(r),l);if(v&&h===e)return v;if(h>e)break}}function x(e,t){var n=-1!=e.matches.indexOf(t);return n||e.matches.forEach((function(e,i){void 0===e.matches||n||(n=x(e,t))})),n}if(e>-1){if(void 0===t){for(var w,P=e-1;void 0===(w=s.validPositions[P]||s.tests[P])&&P>-1;)P--;void 0!==w&&P>-1&&(v=function(e,t){var n,i=[];return Array.isArray(t)||(t=[t]),t.length>0&&(void 0===t[0].alternation||!0===c.keepStatic?0===(i=f.call(o,e,t.slice()).locator.slice()).length&&(i=t[0].locator.slice()):t.forEach((function(e){""!==e.def&&(0===i.length?(n=e.alternation,i=e.locator.slice()):e.locator[n]&&-1===i[n].toString().indexOf(e.locator[n])&&(i[n]+=","+e.locator[n]))}))),i}(P,w),y=v.join(""),h=P)}if(s.tests[e]&&s.tests[e][0].cd===y)return s.tests[e];for(var S=v.shift();S<p.length;S++){if(b(p[S],v,[S])&&h===e||h>e)break}}return(0===m.length||g)&&m.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:k&&0===m.filter((function(e){return!0!==e.unMatchedAlternationStopped})).length?[0]:[],mloc:{},cd:y}),void 0!==t&&s.tests[e]?r=l.extend(!0,[],m):(s.tests[e]=l.extend(!0,[],m),r=s.tests[e]),m.forEach((function(e){e.match.optionality=e.match.defOptionality||!1})),r}},7215:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.alternate=l,t.checkAlternationMatch=function(e,t,n){for(var i,a=this.opts.greedy?t:t.slice(0,1),r=!1,o=void 0!==n?n.split(","):[],l=0;l<o.length;l++)-1!==(i=e.indexOf(o[l]))&&e.splice(i,1);for(var s=0;s<e.length;s++)if(a.includes(e[s])){r=!0;break}return r},t.handleRemove=function(e,t,n,i,s){var c=this,u=this.maskset,f=this.opts;if((f.numericInput||c.isRTL)&&(t===a.keys.Backspace?t=a.keys.Delete:t===a.keys.Delete&&(t=a.keys.Backspace),c.isRTL)){var p=n.end;n.end=n.begin,n.begin=p}var d,h=r.getLastValidPosition.call(c,void 0,!0);n.end>=r.getBuffer.call(c).length&&h>=n.end&&(n.end=h+1);t===a.keys.Backspace?n.end-n.begin<1&&(n.begin=r.seekPrevious.call(c,n.begin)):t===a.keys.Delete&&n.begin===n.end&&(n.end=r.isMask.call(c,n.end,!0,!0)?n.end+1:r.seekNext.call(c,n.end)+1);!1!==(d=v.call(c,n))&&((!0!==i&&!1!==f.keepStatic||null!==f.regex&&-1!==o.getTest.call(c,n.begin).match.def.indexOf("|"))&&l.call(c,!0),!0!==i&&(u.p=t===a.keys.Delete?n.begin+d:n.begin,u.p=r.determineNewCaretPosition.call(c,{begin:u.p,end:u.p},!1,!1===f.insertMode&&t===a.keys.Backspace?"none":void 0).begin))},t.isComplete=c,t.isSelection=u,t.isValid=f,t.refreshFromBuffer=d,t.revalidateMask=v;var i=n(6030),a=n(2839),r=n(8711),o=n(4713);function l(e,t,n,i,a,s){var c=this,u=this.dependencyLib,p=this.opts,d=c.maskset;if(!c.hasAlternator)return!1;var h,v,m,g,y,k,b,x,w,P,S,O=u.extend(!0,[],d.validPositions),_=u.extend(!0,{},d.tests),M=!1,E=!1,j=void 0!==a?a:r.getLastValidPosition.call(c);if(s&&(P=s.begin,S=s.end,s.begin>s.end&&(P=s.end,S=s.begin)),-1===j&&void 0===a)h=0,v=(g=o.getTest.call(c,h)).alternation;else for(;j>=0;j--)if((m=0===j?o.getTest.call(c,0):d.validPositions[j])&&void 0!==m.alternation){if(j<=(e||0)&&g&&g.locator[m.alternation]!==m.locator[m.alternation])break;h=j,v=m.alternation,g=m}if(void 0!==v){b=parseInt(h),d.excludes[b]=d.excludes[b]||[],!0!==e&&d.excludes[b].push((0,o.getDecisionTaker)(g)+":"+g.alternation);var T=[],A=-1;for(y=b;b<r.getLastValidPosition.call(c,void 0,!0)+1;y++)-1===A&&e<=y&&void 0!==t&&(T.push(t),A=T.length-1),(k=d.validPositions[b])&&!0!==k.generatedInput&&(0!==b||k.input!==p.skipOptionalPartCharacter)&&(void 0===s||y<P||y>=S)&&T.push(k.input),d.validPositions.splice(b,1);for(-1===A&&void 0!==t&&(T.push(t),A=T.length-1);void 0!==d.excludes[b]&&d.excludes[b].length<10;){for(d.tests={},r.resetMaskSet.call(c,!0),M=!0,y=0;y<T.length&&(x=M.caret||0==p.insertMode&&null!=x?r.seekNext.call(c,x):r.getLastValidPosition.call(c,void 0,!0)+1,w=T[y],M=f.call(c,x,w,!1,i,!0));y++)y===A&&(E=M),1==e&&M&&(E={caretPos:y});if(M)break;if(r.resetMaskSet.call(c),g=o.getTest.call(c,b),d.validPositions=u.extend(!0,[],O),d.tests=u.extend(!0,{},_),!d.excludes[b]){E=l.call(c,e,t,n,i,b-1,s);break}if(null!=g.alternation){var D=(0,o.getDecisionTaker)(g);if(-1!==d.excludes[b].indexOf(D+":"+g.alternation)){E=l.call(c,e,t,n,i,b-1,s);break}for(d.excludes[b].push(D+":"+g.alternation),y=b;y<r.getLastValidPosition.call(c,void 0,!0)+1;y++)d.validPositions.splice(b)}else delete d.excludes[b]}}return E&&!1===p.keepStatic||delete d.excludes[b],E}function s(e,t,n){var i=this.opts,r=this.maskset;switch(i.casing||t.casing){case"upper":e=e.toUpperCase();break;case"lower":e=e.toLowerCase();break;case"title":var o=r.validPositions[n-1];e=0===n||o&&o.input===String.fromCharCode(a.keyCode.Space)?e.toUpperCase():e.toLowerCase();break;default:if("function"==typeof i.casing){var l=Array.prototype.slice.call(arguments);l.push(r.validPositions),e=i.casing.apply(this,l)}}return e}function c(e){var t=this,n=this.opts,i=this.maskset;if("function"==typeof n.isComplete)return n.isComplete(e,n);if("*"!==n.repeat){var a=!1,l=r.determineLastRequiredPosition.call(t,!0),s=l.l;if(void 0===l.def||l.def.newBlockMarker||l.def.optionality||l.def.optionalQuantifier){a=!0;for(var c=0;c<=s;c++){var u=o.getTestTemplate.call(t,c).match;if(!0!==u.static&&void 0===i.validPositions[c]&&(!1===u.optionality||void 0===u.optionality||u.optionality&&0==u.newBlockMarker)&&(!1===u.optionalQuantifier||void 0===u.optionalQuantifier)||!0===u.static&&""!=u.def&&e[c]!==o.getPlaceholder.call(t,c,u)){a=!1;break}}}return a}}function u(e){var t=this.opts.insertMode?0:1;return this.isRTL?e.begin-e.end>t:e.end-e.begin>t}function f(e,t,n,i,a,p,m){var g=this,y=this.dependencyLib,k=this.opts,b=g.maskset;n=!0===n;var x=e;function w(e){if(void 0!==e){if(void 0!==e.remove&&(Array.isArray(e.remove)||(e.remove=[e.remove]),e.remove.sort((function(e,t){return g.isRTL?e.pos-t.pos:t.pos-e.pos})).forEach((function(e){v.call(g,{begin:e,end:e+1})})),e.remove=void 0),void 0!==e.insert&&(Array.isArray(e.insert)||(e.insert=[e.insert]),e.insert.sort((function(e,t){return g.isRTL?t.pos-e.pos:e.pos-t.pos})).forEach((function(e){""!==e.c&&f.call(g,e.pos,e.c,void 0===e.strict||e.strict,void 0!==e.fromIsValid?e.fromIsValid:i)})),e.insert=void 0),e.refreshFromBuffer&&e.buffer){var t=e.refreshFromBuffer;d.call(g,!0===t?t:t.start,t.end,e.buffer),e.refreshFromBuffer=void 0}void 0!==e.rewritePosition&&(x=e.rewritePosition,e=!0)}return e}function P(t,n,a){var l=!1;return o.getTests.call(g,t).every((function(c,f){var p=c.match;if(r.getBuffer.call(g,!0),!1!==(l=(!p.jit||void 0!==b.validPositions[r.seekPrevious.call(g,t)])&&(null!=p.fn?p.fn.test(n,b,t,a,k,u.call(g,e)):(n===p.def||n===k.skipOptionalPartCharacter)&&""!==p.def&&{c:o.getPlaceholder.call(g,t,p,!0)||p.def,pos:t}))){var d=void 0!==l.c?l.c:n,h=t;return d=d===k.skipOptionalPartCharacter&&!0===p.static?o.getPlaceholder.call(g,t,p,!0)||p.def:d,!0!==(l=w(l))&&void 0!==l.pos&&l.pos!==t&&(h=l.pos),!0!==l&&void 0===l.pos&&void 0===l.c?!1:(!1===v.call(g,e,y.extend({},c,{input:s.call(g,d,p,h)}),i,h)&&(l=!1),!1)}return!0})),l}void 0!==e.begin&&(x=g.isRTL?e.end:e.begin);var S=!0,O=y.extend(!0,[],b.validPositions);if(!1===k.keepStatic&&void 0!==b.excludes[x]&&!0!==a&&!0!==i)for(var _=x;_<(g.isRTL?e.begin:e.end);_++)void 0!==b.excludes[_]&&(b.excludes[_]=void 0,delete b.tests[_]);if("function"==typeof k.preValidation&&!0!==i&&!0!==p&&(S=w(S=k.preValidation.call(g,r.getBuffer.call(g),x,t,u.call(g,e),k,b,e,n||a))),!0===S){if(S=P(x,t,n),(!n||!0===i)&&!1===S&&!0!==p){var M=b.validPositions[x];if(!M||!0!==M.match.static||M.match.def!==t&&t!==k.skipOptionalPartCharacter){if(k.insertMode||void 0===b.validPositions[r.seekNext.call(g,x)]||e.end>x){var E=!1;if(b.jitOffset[x]&&void 0===b.validPositions[r.seekNext.call(g,x)]&&!1!==(S=f.call(g,x+b.jitOffset[x],t,!0,!0))&&(!0!==a&&(S.caret=x),E=!0),e.end>x&&(b.validPositions[x]=void 0),!E&&!r.isMask.call(g,x,k.keepStatic&&0===x))for(var j=x+1,T=r.seekNext.call(g,x,!1,0!==x);j<=T;j++)if(!1!==(S=P(j,t,n))){S=h.call(g,x,void 0!==S.pos?S.pos:j)||S,x=j;break}}}else S={caret:r.seekNext.call(g,x)}}if(g.hasAlternator&&!0!==a&&!n&&(a=!0,!1===S&&k.keepStatic&&(c.call(g,r.getBuffer.call(g))||0===x)?S=l.call(g,x,t,n,i,void 0,e):(u.call(g,e)&&b.tests[x]&&b.tests[x].length>1&&k.keepStatic||!0===S&&!0!==k.numericInput&&b.tests[x]&&b.tests[x].length>1&&r.getLastValidPosition.call(g,void 0,!0)>x)&&(S=l.call(g,!0))),!0===S&&(S={pos:x}),"function"==typeof k.postValidation&&!0!==i&&!0!==p){var A=k.postValidation.call(g,r.getBuffer.call(g,!0),void 0!==e.begin?g.isRTL?e.end:e.begin:e,t,S,k,b,n,m,a);void 0!==A&&(S=!0===A?S:A)}}S&&void 0===S.pos&&(S.pos=x),!1===S||!0===p?(r.resetMaskSet.call(g,!0),b.validPositions=y.extend(!0,[],O)):h.call(g,void 0,x,!0);var D=w(S);void 0!==g.maxLength&&(r.getBuffer.call(g).length>g.maxLength&&!i&&(r.resetMaskSet.call(g,!0),b.validPositions=y.extend(!0,[],O),D=!1));return D}function p(e,t,n){for(var i=this.maskset,a=!1,r=o.getTests.call(this,e),l=0;l<r.length;l++){if(r[l].match&&(r[l].match.nativeDef===t.match[n.shiftPositions?"def":"nativeDef"]&&(!n.shiftPositions||!t.match.static)||r[l].match.nativeDef===t.match.nativeDef||n.regex&&!r[l].match.static&&r[l].match.fn.test(t.input,i,e,!1,n))){a=!0;break}if(r[l].match&&r[l].match.def===t.match.nativeDef){a=void 0;break}}return!1===a&&void 0!==i.jitOffset[e]&&(a=p.call(this,e+i.jitOffset[e],t,n)),a}function d(e,t,n){var a,o,l=this,s=this.maskset,c=this.opts,u=this.dependencyLib,f=c.skipOptionalPartCharacter,p=l.isRTL?n.slice().reverse():n;if(c.skipOptionalPartCharacter="",!0===e)r.resetMaskSet.call(l,!1),e=0,t=n.length,o=r.determineNewCaretPosition.call(l,{begin:0,end:0},!1).begin;else{for(a=e;a<t;a++)s.validPositions.splice(e,0);o=e}var d=new u.Event("keypress");for(a=e;a<t;a++){d.key=p[a].toString(),l.ignorable=!1;var h=i.EventHandlers.keypressEvent.call(l,d,!0,!1,!1,o);!1!==h&&void 0!==h&&(o=h.forwardPosition)}c.skipOptionalPartCharacter=f}function h(e,t,n){var i=this,a=this.maskset,l=this.dependencyLib;if(void 0===e)for(e=t-1;e>0&&!a.validPositions[e];e--);for(var s=e;s<t;s++){if(void 0===a.validPositions[s]&&!r.isMask.call(i,s,!1))if(0==s?o.getTest.call(i,s):a.validPositions[s-1]){var c=o.getTests.call(i,s).slice();""===c[c.length-1].match.def&&c.pop();var u,p=o.determineTestTemplate.call(i,s,c);if(p&&(!0!==p.match.jit||"master"===p.match.newBlockMarker&&(u=a.validPositions[s+1])&&!0===u.match.optionalQuantifier)&&((p=l.extend({},p,{input:o.getPlaceholder.call(i,s,p.match,!0)||p.match.def})).generatedInput=!0,v.call(i,s,p,!0),!0!==n)){var d=a.validPositions[t].input;return a.validPositions[t]=void 0,f.call(i,t,d,!0,!0)}}}}function v(e,t,n,i){var a=this,l=this.maskset,s=this.opts,c=this.dependencyLib;function d(e,t,n){var i=t[e];if(void 0!==i&&!0===i.match.static&&!0!==i.match.optionality&&(void 0===t[0]||void 0===t[0].alternation)){var a=n.begin<=e-1?t[e-1]&&!0===t[e-1].match.static&&t[e-1]:t[e-1],r=n.end>e+1?t[e+1]&&!0===t[e+1].match.static&&t[e+1]:t[e+1];return a&&r}return!1}var h=0,v=void 0!==e.begin?e.begin:e,m=void 0!==e.end?e.end:e,g=!0;if(e.begin>e.end&&(v=e.end,m=e.begin),i=void 0!==i?i:v,void 0===n&&(v!==m||s.insertMode&&void 0!==l.validPositions[i]||void 0===t||t.match.optionalQuantifier||t.match.optionality)){var y,k=c.extend(!0,[],l.validPositions),b=r.getLastValidPosition.call(a,void 0,!0);l.p=v;var x=u.call(a,e)?v:i;for(y=b;y>=x;y--)l.validPositions.splice(y,1),void 0===t&&delete l.tests[y+1];var w,P,S=i,O=S;for(t&&(l.validPositions[i]=c.extend(!0,{},t),O++,S++),null==k[m]&&l.jitOffset[m]&&(m+=l.jitOffset[m]+1),y=t?m:m-1;y<=b;y++){if(void 0!==(w=k[y])&&!0!==w.generatedInput&&(y>=m||y>=v&&d(y,k,{begin:v,end:m}))){for(;""!==o.getTest.call(a,O).match.def;){if(!1!==(P=p.call(a,O,w,s))||"+"===w.match.def){"+"===w.match.def&&r.getBuffer.call(a,!0);var _=f.call(a,O,w.input,"+"!==w.match.def,!0);if(g=!1!==_,S=(_.pos||O)+1,!g&&P)break}else g=!1;if(g){void 0===t&&w.match.static&&y===e.begin&&h++;break}if(!g&&r.getBuffer.call(a),O>l.maskLength)break;O++}""==o.getTest.call(a,O).match.def&&(g=!1),O=S}if(!g)break}if(!g)return l.validPositions=c.extend(!0,[],k),r.resetMaskSet.call(a,!0),!1}else t&&o.getTest.call(a,i).match.cd===t.match.cd&&(l.validPositions[i]=c.extend(!0,{},t));return r.resetMaskSet.call(a,!0),h}}},t={};function n(i){var a=t[i];if(void 0!==a)return a.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}var i={};return function(){var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(7149),n(3194),n(9302),n(4013),n(3851),n(219),n(207),n(5296);var t,a=(t=n(2394))&&t.__esModule?t:{default:t};e.default=a.default}(),i}()})); 550/* End */ 551; 552; /* Start:"a:4:{s:4:"full";s:54:"/local/templates/altesa/js/activity.js?176312293811367";s:6:"source";s:38:"/local/templates/altesa/js/activity.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 553// Atrem-Production 554// СобÑÑие на доÑÑижение 90% пÑокÑÑÑки ÑÑÑаниÑÑ 555document.addEventListener("click", function() { 556 let scrollPercentage = (window.scrollY + window.innerHeight) / document.body.scrollHeight; 557 if (scrollPercentage >= 0.9) { 558 if (typeof ym !== 'undefined') { 559 ym(83439094, 'reachGoal', 'view90'); 560 } 561 document.removeEventListener("scroll", arguments.callee); 562 } 563}); 564 565// СобÑÑие на доÑÑижение 90% пÑокÑÑÑки ÑÑÑаниÑÑ 566document.addEventListener("scroll", function() { 567 let scrollPercentage = (window.scrollY + window.innerHeight) / document.body.scrollHeight; 568 if (scrollPercentage >= 0.9) { 569 if (typeof ym !== 'undefined') { 570 ym(83439094, 'reachGoal', 'view90'); 571 } 572 document.removeEventListener("scroll", arguments.callee); 573 } 574}); 575 576// СобÑÑие на Ð½Ð°Ñ Ð¾Ð¶Ð´ÐµÐ½Ð¸Ðµ на ÑайÑе более 45 ÑекÑнд 577setTimeout(function() { 578 if (typeof ym !== 'undefined') { 579 ym(83439094, 'reachGoal', 'stay45sec'); 580 } 581}, 45000); 582 583// СобÑÑие на пÑоÑмоÑÑ Ð±Ð¾Ð»ÐµÐµ 1 ÑÑÑаниÑÑ Ð·Ð° ÑеÑÑÐ¸Ñ 584if (typeof sessionStorage !== 'undefined') { 585 let pageViews = sessionStorage.getItem('pageViews') || 0; 586 pageViews++; 587 sessionStorage.setItem('pageViews', pageViews); 588 if (pageViews > 1) { 589 if (typeof ym !== 'undefined') {
590 ym(83439094, 'reachGoal', 'viewMoreThanOnePage'); 591 } 592 } 593} 594 595// СобÑÑие на копиÑование адÑеÑа ÑлекÑÑонной поÑÑÑ Ñ Ð´Ð¾Ð¼ÐµÐ½Ð¾Ð¼ @altesa.ru 596document.addEventListener("copy", function(event) { 597 // ÐолÑÑаем ÑекÑÑ, коÑоÑÑй полÑзоваÑÐµÐ»Ñ ÐºÐ¾Ð¿Ð¸ÑÑÐµÑ 598 let copiedText = window.getSelection().toString(); 599 600 // ÐÑовеÑÑем, ÑодеÑÐ¶Ð¸Ñ Ð»Ð¸ ÑкопиÑованнÑй ÑекÑÑ Ð°Ð´ÑÐµÑ Ñ Ð´Ð¾Ð¼ÐµÐ½Ð¾Ð¼ @altesa.ru 601 if (copiedText.includes("@altesa.ru")) { 602 if (typeof ym !== 'undefined') { 603 ym(83439094, 'reachGoal', 'emailCopy'); 604 } 605 } 606}); 607 608// СÑеÑÑик акÑивноÑÑи полÑзоваÑÐµÐ»Ñ Ð´Ð»Ñ "ÐкÑивноÑÑÑ 4" и "ÐкÑивноÑÑÑ 5" 609let activityCount = 0; 610function trackActivity() { 611 activityCount++; 612 // Ð¦ÐµÐ»Ñ "ÐкÑивноÑÑÑ 4" â полÑзоваÑÐµÐ»Ñ ÑовеÑÑил 4 дейÑÑÐ²Ð¸Ñ 613 if (activityCount === 4) { 614 if (typeof ym !== 'undefined') { 615 ym(83439094, 'reachGoal', 'activity4or5'); 616 } 617 } 618 // Ð¦ÐµÐ»Ñ "ÐкÑивноÑÑÑ 5" â полÑзоваÑÐµÐ»Ñ ÑовеÑÑил 5 дейÑÑвий 619 if (activityCount === 5) { 620 if (typeof ym !== 'undefined') { 621 ym(83439094, 'reachGoal', 'activity4or5'); 622 } 623 // ÐоÑле доÑÑÐ¸Ð¶ÐµÐ½Ð¸Ñ 5 дейÑÑвий, можно оÑклÑÑиÑÑ Ð¾ÑÑлеживание 624 document.removeEventListener("scroll", trackActivity); 625 document.removeEventListener("click", trackActivity); 626 } 627} 628// ÐÑÑлеживание пÑокÑÑÑки и кликов Ð´Ð»Ñ ÑÑеÑа акÑивноÑÑи 629document.addEventListener("scroll", trackActivity); 630document.addEventListener("click", trackActivity); 631 632window.uao_settings = { 633 interval: 30, 634 checkInterval: 5, 635 ym: 83439094, 636 ym_period_goal_prefix: 'ym_prefix', 637 data_layer_prefix: 'dl_prefix', 638 callback: function (seconds) { }, 639 } 640 641 function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } 642 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 643 function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } 644 function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } 645 function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } 646 function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } 647 function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } 648 UAO_COUNT = 'uao_count'; 649 UAO_GLOBAL_COUNT = 'uao_global_count'; 650 var UALoop = /*#__PURE__*/function () { 651 function UALoop(goalInterval, checkInterval) { 652 _classCallCheck(this, UALoop); 653 _defineProperty(this, "uao_debugger", new UADebugger()); 654 this.id = Math.random().toString(36); 655 this.goalInterval = goalInterval; 656 this.checkInterval = checkInterval; 657 this.uao_debugger.isEnabled = true; 658 } 659 _createClass(UALoop, [{ 660 key: "targetCount", 661 get: function get() { 662 return Math.ceil(this.goalInterval / this.checkInterval); 663 } 664 }, { 665 key: "calculate", 666 value: function calculate() { 667 var _sessionStorage$getIt, _sessionStorage$getIt2; 668 var currentCount = (_sessionStorage$getIt = +sessionStorage.getItem(UAO_COUNT)) !== null && _sessionStorage$getIt !== void 0 ? _sessionStorage$getIt : 0; 669 currentCount = currentCount + 1; 670 sessionStorage.setItem(UAO_COUNT, currentCount.toString()); 671 var globalCount = (_sessionStorage$getIt2 = +sessionStorage.getItem(UAO_GLOBAL_COUNT)) !== null && _sessionStorage$getIt2 !== void 0 ? _sessionStorage$getIt2 : 0; 672 globalCount = globalCount + 1; 673 sessionStorage.setItem(UAO_GLOBAL_COUNT, globalCount.toString()); 674 this.uao_debugger.log("".concat(currentCount, " / ").concat(this.targetCount)); 675 return currentCount === this.targetCount; 676 } 677 }]); 678 return UALoop; 679 }(); 680 var UAObserver = /*#__PURE__*/function () { 681 function UAObserver(isLoggingEnabled) { 682 _classCallCheck(this, UAObserver); 683 _defineProperty(this, "events", ['touchmove', 'blur', 'focus', 'focusin', 'focusout', 'resize', 'scroll', 'click', 'dblclick', 'mousedown', 'mouseup', 'mousemove', 'mouseover', 'mouseout', 'mouseenter', 'mouseleave', 'change', 'select', 'submit', 'keydown', 'ke
683ypress', 'keyup', 'error', 'load' 684 //'unload' 685 ]); 686 _defineProperty(this, "loop", void 0); 687 _defineProperty(this, "uao_debugger", new UADebugger()); 688 _defineProperty(this, "settings", window.uao_settings); 689 _defineProperty(this, "commit", false); 690 if (isLoggingEnabled) this.uao_debugger.isEnabled = true; 691 } 692 _createClass(UAObserver, [{ 693 key: "loop", 694 set: function set(value) { 695 this.loop = value; 696 } 697 }, { 698 key: "start", 699 value: function start() { 700 this.addListeners(); 701 this.init(); 702 } 703 }, { 704 key: "addListeners", 705 value: function addListeners() { 706 var _this = this; 707 this.events.forEach(function (evtName) { 708 window.addEventListener(evtName, function (e) { 709 if (e.isTrusted) { 710 _this.commit = true; 711 } 712 }); 713 }); 714 } 715 }, { 716 key: "init", 717 value: function init() { 718 this.loop = new UALoop(this.settings.interval, this.settings.checkInterval); 719 //this.uao_debugger.log('init', this.loop.id) 720 this.setInterval(); 721 } 722 }, { 723 key: "setInterval", 724 value: function setInterval() { 725 var _this2 = this; 726 if (+sessionStorage.getItem(UAO_COUNT) <= 0) sessionStorage.setItem(UAO_COUNT, '0'); 727 if (+sessionStorage.getItem(UAO_GLOBAL_COUNT) <= 0) sessionStorage.setItem(UAO_GLOBAL_COUNT, '0'); 728 var interval = window.setInterval(function () { 729 if (_this2.commit && _this2.loop.calculate()) { 730 clearInterval(interval); 731 if (_this2.settings) { 732 //this.uao_debugger.log('ÐоÑÑижение инÑеÑвала акÑивноÑÑи оÑновной Ñели'); 733 734 var globalCount = sessionStorage.getItem(UAO_GLOBAL_COUNT); 735 var globalSeconds = globalCount * _this2.settings.checkInterval; 736 if (_this2.settings.callback) _this2.settings.callback(globalSeconds); 737 if (_this2.settings.ym_period_goal_prefix && _this2.settings.ym && window.ym) { 738 //this.uao_debugger.log('ÐоÑÑижение инÑеÑвала акÑивноÑÑи пеÑиодиÑеÑкой Ñели'); 739 window.ym(_this2.settings.ym, 'reachGoal', "".concat(_this2.settings.ym_period_goal_prefix).concat(globalSeconds)); 740 } 741 if (_this2.settings.data_layer_prefix && window.dataLayer) { 742 window.dataLayer.push({ 743 event: "".concat(_this2.settings.data_layer_prefix).concat(globalSeconds) 744 }); 745 } 746 } 747 sessionStorage.setItem(UAO_COUNT, '0'); 748 _this2.init(); 749 } 750 _this2.commit = false; 751 }, this.loop.checkInterval * 1000); 752 } 753 }]); 754 return UAObserver; 755 }(); 756 var UADebugger = /*#__PURE__*/function () { 757 function UADebugger() { 758 _classCallCheck(this, UADebugger); 759 _defineProperty(this, "isEnabled", false); 760 } 761 _createClass(UADebugger, [{ 762 key: "isEnabled", 763 set: function set(value) { 764 this.isEnabled = value; 765 } 766 }, { 767 key: "log", 768 value: function log(message) { 769 var _console; 770 for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { 771 args[_key - 1] = arguments[_key]; 772 } 773 if (this.isEnabled) (_console = console).log.apply(_console, [message].concat(args)); 774 } 775 }]); 776 return UADebugger; 777 }(); 778 new UAObserver(true).start(); 779 780// СобÑÑие на пÑименение ÑилÑÑÑов 781document.addEventListener('DOMContentLoaded', function() { 782 const runFilter = document.querySelector('#modef a'); 783 if (runFilter) { 784 runFilter.addEventListener('click', function(event) { 785 ym(83439094,'reachGoal','filtr_catalog_click'); 786 }); 787 } 788}); 789/* End */ 790; 791; /* Start:"a:4:{s:4:"full";
791s:67:"/bitrix/components/altesa/search.title/script.min.js?17700292916443";s:6:"source";s:48:"/bitrix/components/altesa/search.title/script.js";s:3:"min";s:52:"/bitrix/components/altesa/search.title/script.min.js";s:3:"map";s:52:"/bitrix/components/altesa/search.title/script.map.js";}"*/ 792function JCTitleSearch(t){var e=this;this.arParams={AJAX_PAGE:t.AJAX_PAGE,CONTAINER_ID:t.CONTAINER_ID,INPUT_ID:t.INPUT_ID,MIN_QUERY_LEN:parseInt(t.MIN_QUERY_LEN)};if(t.WAIT_IMAGE)this.arParams.WAIT_IMAGE=t.WAIT_IMAGE;if(t.MIN_QUERY_LEN<=0)t.MIN_QUERY_LEN=1;this.cache=[];this.cache_key=null;this.startText="";this.running=false;this.runningCall=false;this.currentRow=-1;this.RESULT=null;this.CONTAINER=null;this.INPUT=null;this.WAIT=null;this.ShowResult=function(t){if(BX.type.isString(t)){e.RESULT.innerHTML=t}e.RESULT.style.display=e.RESULT.innerHTML!==""?"block":"none";var s=e.adjustResultNode();var i;var n;var l=BX.findChild(e.RESULT,{tag:"table",class:"title-search-result"},true);if(l){n=BX.findChild(l,{tag:"th"},true)}if(n){var r=BX.pos(l);r.width=r.right-r.left;var a=BX.pos(n);a.width=a.right-a.left;n.style.width=a.width+"px";e.RESULT.style.width=s.width+a.width+"px";e.RESULT.style.left=s.left-a.width-1+"px";if(r.width-a.width>s.width)e.RESULT.style.width=s.width+a.width-1+"px";r=BX.pos(l);i=BX.pos(e.RESULT);if(i.right>r.right){e.RESULT.style.width=r.right-r.left+"px"}}var o;if(l)o=BX.findChild(e.RESULT,{class:"title-search-fader"},true);if(o&&n){i=BX.pos(e.RESULT);o.style.left=i.right-i.left-18+"px";o.style.width=18+"px";o.style.top=0+"px";o.style.height=i.bottom-i.top+"px";o.style.display="block"}};this.onKeyPress=function(t){var s=BX.findChild(e.RESULT,{tag:"table",class:"title-search-result"},true);if(!s)return false;var i;var n=s.rows.length;switch(t){case 27:e.RESULT.style.display="none";e.currentRow=-1;e.UnSelectAll();return true;case 40:if(e.RESULT.style.display=="none")e.RESULT.style.display="block";var l=-1;for(i=0;i<n;i++){if(!BX.findChild(s.rows[i],{class:"title-search-separator"},true)){if(l==-1)l=i;if(e.currentRow<i){e.currentRow=i;break}else if(s.rows[i].className=="title-search-selected"){s.rows[i].className=""}}}if(i==n&&e.currentRow!=i)e.currentRow=l;s.rows[e.currentRow].className="title-search-selected";return true;case 38:if(e.RESULT.style.display=="none")e.RESULT.style.display="block";var r=-1;for(i=n-1;i>=0;i--){if(!BX.findChild(s.rows[i],{class:"title-search-separator"},true)){if(r==-1)r=i;if(e.currentRow>i){e.currentRow=i;break}else if(s.rows[i].className=="title-search-selected"){s.rows[i].className=""}}}if(i<0&&e.currentRow!=i)e.currentRow=r;s.rows[e.currentRow].className="title-search-selected";return true;case 13:if(e.RESULT.style.display=="block"){for(i=0;i<n;i++){if(e.currentRow==i){if(!BX.findChild(s.rows[i],{class:"title-search-separator"},true)){var a=BX.findChild(s.rows[i],{tag:"a"},true);if(a){window.location=a.href;return true}}}}}return false}return false};this.onTimeout=function(){e.onChange(function(){setTimeout(e.onTimeout,500)})};this.onChange=function(t){if(e.running){e.runningCall=true;return}e.running=true;if(e.INPUT.value!=e.oldValue&&e.INPUT.value!=e.startText){e.oldValue=e.INPUT.value;if(e.INPUT.value.length>=e.arParams.MIN_QUERY_LEN){e.cache_key=e.arParams.INPUT_ID+"|"+e.INPUT.value;if(e.cache[e.cache_key]==null){if(e.WAIT){var s=BX.pos(e.INPUT);var i=s.bottom-s.top-2;e.WAIT.style.top=s.top+1+"px";e.WAIT.style.height=i+"px";e.WAIT.style.width=i+"px";e.WAIT.style.left=s.right-i+2+"px";e.WAIT.style.display="block"}BX.ajax.post(e.arParams.AJAX_PAGE,{ajax_call:"y",INPUT_ID:e.arParam
792s.INPUT_ID,q:e.INPUT.value,l:e.arParams.MIN_QUERY_LEN},function(s){e.cache[e.cache_key]=s;e.ShowResult(s);e.currentRow=-1;e.EnableMouseEvents();if(e.WAIT)e.WAIT.style.display="none";if(!!t)t();e.running=false;if(e.runningCall){e.runningCall=false;e.onChange()}});return}else{e.ShowResult(e.cache[e.cache_key]);e.currentRow=-1;e.EnableMouseEvents()}}else{e.RESULT.style.display="none";e.currentRow=-1;e.UnSelectAll()}}if(!!t)t();e.running=false};this.onScroll=function(){if(BX.type.isElementNode(e.RESULT)&&e.RESULT.style.display!=="none"&&e.RESULT.innerHTML!==""){e.adjustResultNode()}};this.UnSelectAll=function(){var t=BX.findChild(e.RESULT,{tag:"table",class:"title-search-result"},true);if(t){var s=t.rows.length;for(var i=0;i<s;i++)t.rows[i].className=""}};this.EnableMouseEvents=function(){var t=BX.findChild(e.RESULT,{tag:"table",class:"title-search-result"},true);if(t){var s=t.rows.length;for(var i=0;i<s;i++)if(!BX.findChild(t.rows[i],{class:"title-search-separator"},true)){t.rows[i].id="row_"+i;t.rows[i].onmouseover=function(t){if(e.currentRow!=this.id.substr(4)){e.UnSelectAll();this.className="title-search-selected";e.currentRow=this.id.substr(4)}};t.rows[i].onmouseout=function(t){this.className="";e.currentRow=-1}}}};this.onFocusLost=function(t){setTimeout(function(){e.RESULT.style.display="none"},250)};this.onFocusGain=function(){if(e.RESULT.innerHTML.length)e.ShowResult()};this.onKeyDown=function(t){if(!t)t=window.event;if(e.RESULT.style.display=="block"){if(e.onKeyPress(t.keyCode))return BX.PreventDefault(t)}};this.adjustResultNode=function(){if(!(BX.type.isElementNode(e.RESULT)&&BX.type.isElementNode(e.CONTAINER))){return{top:0,right:0,bottom:0,left:0,width:0,height:0}}var t=BX.pos(e.CONTAINER);e.RESULT.style.position="absolute";e.RESULT.style.top=t.bottom+2+"px";e.RESULT.style.left=t.left+"px";e.RESULT.style.width=t.width+"px";return t};this._onContainerLayoutChange=function(){if(BX.type.isElementNode(e.RESULT)&&e.RESULT.style.display!=="none"&&e.RESULT.innerHTML!==""){e.adjustResultNode()}};this.Init=function(){this.CONTAINER=document.getElementById(this.arParams.CONTAINER_ID);BX.addCustomEvent(this.CONTAINER,"OnNodeLayoutChange",this._onContainerLayoutChange);this.RESULT=document.body.appendChild(document.createElement("DIV"));this.RESULT.className="title-search-result";this.INPUT=document.getElementById(this.arParams.INPUT_ID);this.startText=this.oldValue=this.INPUT.value;BX.bind(this.INPUT,"focus",function(){e.onFocusGain()});BX.bind(this.INPUT,"blur",function(){e.onFocusLost()});this.INPUT.onkeydown=this.onKeyDown;if(this.arParams.WAIT_IMAGE){this.WAIT=document.body.appendChild(document.createElement("DIV"));this.WAIT.style.backgroundImage="url('"+this.arParams.WAIT_IMAGE+"')";if(!BX.browser.IsIE())this.WAIT.style.backgroundRepeat="none";this.WAIT.style.display="none";this.WAIT.style.position="absolute";this.WAIT.style.zIndex="1100"}BX.bind(this.INPUT,"bxchange",function(){e.onChange()});var t=BX.findParent(this.CONTAINER,BX.is_fixed);if(BX.type.isElementNode(t)){BX.bind(window,"scroll",BX.throttle(this.onScroll,100,this))}};BX.ready(function(){e.Init(t)})} 793/* End */ 794;; /* /local/templates/altesa/js/jquery-3.6.0.min.js?172539403389501*/ 795; /* /local/templates/altesa/js/jquery.fancybox.min.js?172539403368253*/ 796; /* /local/templates/altesa/js/altesa-player.js?1733135093685387*/ 797; /* /local/templates/altesa/js/index.js?17725459007686*/ 798; /* /local/templates/altesa/js/orderform.js?17618135077841*/ 799; /* /local/templates/altesa/js/inputmask.min.js?1737455826121411*/ 800; /* /local/templates/altesa/js/activity.js?176312293811367*/ 801; /* /bitrix/components/altesa/search.title/script.min.js?17700292916443*/ 802 803//# sourceMappingURL=template_adebe5adfcf678155a34e7484af11730.map.js
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.