PageSourceSearch

https://justdesignfx.com/static/js/main.efdca09f.js

js justdesignfx.com collected 2026-10-06 20:08:50 UTC 1,743,865 bytes, 3 lines download raw bytes

vendor: 5,213 bytes, lines 1-2
1/*! For license information please see main.efdca09f.js.LICENSE.txt */
2(function(){var __webpack_modules__={3874:function(e,t,n){"use strict";var r=n(9851);e.exports=function(e,t){return void 0===t&&(t=!1),function(n,i,a){if(n)e(n);else if(i.statusCode>=400&&i.statusCode<=599){var s=a;if(t)if(r.TextDecoder){var o=function(e){void 0===e&&(e="");return e.toLowerCase().split(";").reduce((function(e,t){var n=t.split("="),r=n[0],i=n[1];return"charset"===r.trim()?i.trim():e}),"utf-8")}(i.headers&&i.headers["content-type"]);try{s=new TextDecoder(o).decode(a)}catch(l){}}else s=String.fromCharCode.apply(null,new Uint8Array(a));e({cause:s})}else e(null,a)}}},6656:function(e,t,n){"use strict";var r=n(9851),i=n(434),a=n(8112);o.httpHandler=n(3874);function s(e,t,n){var r=e;return a(t)?(n=t,"string"===typeof e&&(r={uri:e})):r=i({},t,{uri:e}),r.callback=n,r}function o(e,t,n){return l(t=s(e,t,n))}function l(e){if("undefined"===typeof e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,i){t||(t=!0,e.callback(n,r,i))};function r(){var e=void 0;if(e=u.response?u.response:u.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(n){}return null}(u),g)try{e=JSON.parse(e)}catch(t){}return e}function i(e){return clearTimeout(c),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,v)}function a(){if(!l){var t;clearTimeout(c),t=e.useXDR&&void 0===u.status?200:1223===u.status?204:u.status;var i=v,a=null;return 0!==t?(i={body:r(),statusCode:t,method:h,headers:{},url:d,rawRequest:u},u.getAllResponseHeaders&&(i.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();"undefined"===typeof t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}(u.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),n(a,i,i.body)}}var s,l,u=e.xhr||null;u||(u=e.cors||e.useXDR?new o.XDomainRequest:new o.XMLHttpRequest);var c,d=u.url=e.uri||e.url,h=u.method=e.method||"GET",f=e.body||e.data,p=u.headers=e.headers||{},m=!!e.sync,g=!1,v={body:void 0,headers:{},statusCode:0,method:h,url:d,rawRequest:u};if("json"in e&&!1!==e.json&&(g=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==h&&"HEAD"!==h&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),f=JSON.stringify(!0===e.json?f:e.json))),u.onreadystatechange=function(){4===u.readyState&&setTimeout(a,0)},u.onload=a,u.onerror=i,u.onprogress=function(){},u.onabort=function(){l=!0},u.ontimeout=i,u.open(h,d,!m,e.username,e.password),m||(u.withCredentials=!!e.withCredentials),!m&&e.timeout>0&&(c=setTimeout((function(){if(!l){l=!0,u.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}}),e.timeout)),u.setRequestHeader)for(s in p)p.hasOwnProperty(s)&&u.setRequestHeader(s,p[s]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(u.responseType=e.responseType),"beforeSend"in e&&"function"===typeof e.beforeSend&&e.beforeSend(u),u.send(f||null),u}e.exports=o,e.exports.default=o,o.XMLHttpRequest=r.XMLHttpRequest||function(){},o.XDomainRequest="withCredentials"in new o.XMLHttpRequest?o.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n<e.length;n++)t(e[n])}(["get","put","post","patch","head","delete"],(function(e){o["delete"===e?"del":e]=function(t,n,r){return(n=s(t,n,r)).method=e.toUpperCase(),l(n)}}))},9145:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=Object),t&&"function"===typeof t.freeze?t.freeze(e):e}var r=n({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!==typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"===typeof n.find)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}},t.freeze=n,t.MIME_TYPE=r,t.NAMESPACE=i},4708:function(e,t,n){var r=n(9145),i=n(9668),a=n(1775),s=n(9660),o=i.DOMImplementation,l=r.NAMESPACE,u=s.ParseError,c=s.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function h(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>
vendor: 5,357 bytes, line 2
2=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}h.prototype.parseFromString=function(e,t){var n=this.options,r=new c,i=n.domBuilder||new f,s=n.errorHandler,o=n.locator,u=n.xmlns||{},h=/\/x?html?$/.test(t),p=h?a.HTML_ENTITIES:a.XML_ENTITIES;o&&i.setDocumentLocator(o),r.errorHandler=function(e,t,n){if(!e){if(t instanceof f)return t;e=t}var r={},i=e instanceof Function;function a(t){var a=e[t];!a&&i&&(a=2==e.length?function(n){e(t,n)}:e),r[t]=a&&function(e){a("[xmldom "+t+"]\t"+e+m(n))}||function(){}}return n=n||{},a("warning"),a("error"),a("fatalError"),r}(s,i,o),r.domBuilder=n.domBuilder||i,h&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var g=n.normalizeLineEndings||d;return e&&"string"===typeof e?r.parse(g(e),u,p):r.errorHandler.error("invalid doc source"),i.doc},f.prototype={startDocument:function(){this.doc=(new o).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),s=r.length;v(this,a),this.currentElement=a,this.locator&&p(this.locator,a);for(var o=0;o<s;o++){e=r.getURI(o);var l=r.getValue(o),u=(n=r.getQName(o),i.createAttributeNS(e,n));this.locator&&p(r.getLocator(o),u),u.value=u.nodeValue=l,a.setAttributeNode(u)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&p(this.locator,n),v(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=g.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&p(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=g.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&p(this.locator,r),v(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&p(this.locator,i),v(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,m(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,m(this.locator))},fatalError:function(e){throw new u(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){f.prototype[e]=function(){return null}})),t.DOMParser=h},9668:function(e,t,n){var r=n(9145),i=r.find,a=r.NAMESPACE;function s(e){return""!==e}function o(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(s):[]}(e);return Object.keys(t.reduce(o,{}))}function u(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function c(e,t){var n=e.prototype;if(!(n instanceof t)){var r=function(){};r.prototype=t.prototype,u(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var d={},h=d.ELEMENT_NODE=1,f=d.ATTRIBUTE_NODE=2,p=d.TEXT_NODE=3,m=d.CDATA_SECTION_NODE=4,g=d.ENTITY_REFERENCE_NODE=5,v=d.ENTITY_NODE=6,y=d.PROCESSING_INSTRUCTION_NODE=7,_=d.COMMENT_NODE=8,b=d.DOCUMENT_NODE=9,x=d.DOCUMENT_TYPE_NODE=10,T=d.DOCUMENT_FRAGMENT_NODE=11,w=d.NOTATION_NODE=12,S={},E={},k=(S.INDEX_SIZE_ERR=(E[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(E[2]="DOMString size error",2),S.HIERARCHY_REQUEST_ERR=(E[3]="Hierarchy request error",3)),C=(S.WRONG_DOCUMENT_ERR=(E[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(E[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(E[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(E[7]="No modification allowed",7),S.NOT_FOUND_ERR=(E[8]="Not found",8)),P=(S.NOT_SUPPORTED_ERR=(E[9]="Not supported",9),S.INUSE_ATTRIBUTE_ERR=(E[10]="Attribute in use",10));S.INVALID_STATE_ERR=(E[11]="Invalid state",11),S.SYNTAX_ERR=(E[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(E[13]="Invalid modification",13),S.NAMESPACE_ERR=(E[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(E[15]="Invalid access",15);function A(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,E[e]),this.message=E[e],Error.captureStackTrace&&Error.captureStackTrace(this,A);return n.code=e,t&&(this.message=this.message+": "+t),n}function I(){}function O(e,t){this._node=e,this._refresh=t,D(this)}function D(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);_e(e,"length",n.length),u(n,e),e._inc=t}}function M(){}function N(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function R(e,t,n,r){if(r?t[N(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&z(i,e,r),function(e,t,n){e&&e._inc++;var r=n.namespaceURI;r===a.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(i,e,n))}}function L(e,t,n){var r=N(t,n);if(!(r>=0))throw new A(C,new Error(e.tagName+"@"+n));for(var i=t.length-1;r<i;)t[r]=t[++r];
vendor: 1,861 bytes, line 2
2if(t.length=i,e){var a=e.ownerDocument;a&&(z(a,e,n),n.ownerElement=null)}}function j(){}function F(){}function B(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function U(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(U(e,t))return!0}while(e=e.nextSibling)}function V(){this.ownerDocument=this}function z(e,t,n,r){e&&e._inc++,n.namespaceURI===a.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function G(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function H(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,G(e.ownerDocument,e),t}function W(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function q(e){return e&&e.nodeType===F.ELEMENT_NODE}function Y(e){return e&&e.nodeType===F.TEXT_NODE}function X(e,t){var n=e.childNodes||[];if(i(n,q)||W(t))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Z(e,t){var n=e.childNodes||[];if(i(n,(function(e){return q(e)&&e!==t})))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function K(e,t,n){if(!function(e){return e&&(e.nodeType===F.DOCUMENT_NODE||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.ELEMENT_NODE)}(e))throw new A(k,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new A(C,"child not in parent");if(!function(e){return e&&(q(e)||Y(e)||W(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(t)||W(t)&&e.nodeType!==F.DOCUMENT_NODE)throw new A(k,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function Q(e,t,n){var r=e.childNodes||[],a=t.childNodes||[];
vendor: 6,261 bytes, line 2
2if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var s=a.filter(q);if(s.length>1||i(a,Y))throw new A(k,"More than one element or text in fragment");if(1===s.length&&!X(e,n))throw new A(k,"Element in fragment can not be inserted before doctype")}if(q(t)&&!X(e,n))throw new A(k,"Only one element can be added and only after doctype");if(W(t)){if(i(r,W))throw new A(k,"Only one doctype is allowed");var o=i(r,q);if(n&&r.indexOf(o)<r.indexOf(n))throw new A(k,"Doctype can only be inserted before an element");if(!n&&o)throw new A(k,"Doctype can not be appended since element is present")}}function $(e,t,n){var r=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var s=a.filter(q);if(s.length>1||i(a,Y))throw new A(k,"More than one element or text in fragment");if(1===s.length&&!Z(e,n))throw new A(k,"Element in fragment can not be inserted before doctype")}if(q(t)&&!Z(e,n))throw new A(k,"Only one element can be added and only after doctype");if(W(t)){if(i(r,(function(e){return W(e)&&e!==n})))throw new A(k,"Only one doctype is allowed");var o=i(r,q);if(n&&r.indexOf(o)<r.indexOf(n))throw new A(k,"Doctype can only be inserted before an element")}}function J(e,t,n,r){K(e,t,n),e.nodeType===F.DOCUMENT_NODE&&(r||Q)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===T){var a=t.firstChild;if(null==a)return t;var s=t.lastChild}else a=s=t;var o=n?n.previousSibling:e.lastChild;a.previousSibling=o,s.nextSibling=n,o?o.nextSibling=a:e.firstChild=a,null==n?e.lastChild=s:n.previousSibling=s;do{a.parentNode=e}while(a!==s&&(a=a.nextSibling));return G(e.ownerDocument||e,e),t.nodeType==T&&(t.firstChild=t.lastChild=null),t}function ee(){this._nsMap={}}function te(){}function ne(){}function re(){}function ie(){}function ae(){}function se(){}function oe(){}function le(){}function ue(){}function ce(){}function de(){}function he(){}function fe(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,i=r.prefix,a=r.namespaceURI;if(a&&null==i&&null==(i=r.lookupPrefix(a)))var s=[{namespace:a,prefix:null}];return ge(this,n,e,t,s),n.join("")}function pe(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if("xml"===r&&i===a.XML||i===a.XMLNS)return!1;for(var s=n.length;s--;){var o=n[s];if(o.prefix===r)return o.namespace!==i}return!0}function me(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,B),'"')}function ge(e,t,n,r,i){if(i||(i=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case h:var s=e.attributes,o=s.length,l=e.firstChild,u=e.tagName,c=u;if(!(n=a.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var d,v=0;v<s.length;v++)if("xmlns"===s.item(v).name){d=s.item(v).value;break}if(!d)for(var w=i.length-1;w>=0;w--){if(""===(S=i[w]).prefix&&S.namespace===e.namespaceURI){d=S.namespace;break}}if(d!==e.namespaceURI)for(w=i.length-1;w>=0;w--){var S;if((S=i[w]).namespace===e.namespaceURI){S.prefix&&(c=S.prefix+":"+u);break}}}t.push("<",c);for(var E=0;E<o;E++){"xmlns"==(k=s.item(E)).prefix?i.push({prefix:k.localName,namespace:k.value}):"xmlns"==k.nodeName&&i.push({prefix:"",namespace:k.value})}for(E=0;E<o;E++){var k,C,P;if(pe(k=s.item(E),0,i))me(t,(C=k.prefix||"")?"xmlns:"+C:"xmlns",P=k.namespaceURI),i.push({prefix:C,namespace:P});ge(k,t,n,r,i)}if(u===c&&pe(e,0,i))me(t,(C=e.prefix||"")?"xmlns:"+C:"xmlns",P=e.namespaceURI),i.push({prefix:C,namespace:P});if(l||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(t.push(">"),n&&/^script$/i.test(u))for(;l;)l.data?t.push(l.data):ge(l,t,n,r,i.slice()),l=l.nextSibling;else for(;l;)ge(l,t,n,r,i.slice()),l=l.nextSibling;t.push("</",c,">")}else t.push("/>");return;case b:case T:for(l=e.firstChild;l;)ge(l,t,n,r,i.slice()),l=l.nextSibling;return;case f:return me(t,e.name,e.value);case p:return t.push(e.data.replace(/[<&>]/g,B));case m:return t.push("<![CDATA[",e.data,"]]>");case _:return t.push("\x3c!--",e.data,"--\x3e");case x:var A=e.publicId,I=e.systemId;if(t.push("<!DOCTYPE ",e.name),A)t.push(" PUBLIC ",A),I&&"."!=I&&t.push(" ",I),t.push(">");else if(I&&"."!=I)t.push(" SYSTEM ",I,">");else{var O=e.internalSubset;O&&t.push(" [",O,"]"),t.push(">")}return;case y:return t.push("<?",e.target," ",e.data,"?>");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ve(e,t,n){var r;switch(t.nodeType){case h:(r=t.cloneNode(!1)).ownerDocument=e;case T:break;case f:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var i=t.firstChild;i;)r.appendChild(ve(e,i,n)),i=i.nextSibling;return r}function ye(e,t,n){var r=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=t[i];"object"!=typeof a&&a!=r[i]&&(r[i]=a)}switch(t.childNodes&&(r.childNodes=new I),r.ownerDocument=e,r.nodeType){case h:var s=t.attributes,o=r.attributes=new M,l=s.length;o._ownerElement=r;for(var u=0;u<l;u++)r.setAttributeNode(ye(e,s.item(u),!0));break;case f:n=!0}if(n)for(var c=t.firstChild;c;)r.appendChild(ye(e,c,n)),c=c.nextSibling;return r}function _e(e,t,n){e[t]=n}A.prototype=Error.prototype,u(S,A),I.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)ge(this[r],n,e,t);return n.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},O.prototype.item=function(e){return D(this),this[e]},c(O,I),M.prototype={length:0,item:I.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new A(P);var n=this.getNamedItem(e.nodeName);return R(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new A(P);return t=this.getNamedItemNS(e.namespaceURI,e.localName),R(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return L(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return L(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},j.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new V;
vendor: 4,405 bytes, line 2
2if(r.implementation=this,r.childNodes=new I,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new se;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},F.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return J(this,e,t)},replaceChild:function(e,t){J(this,e,t,$),t&&this.removeChild(t)},removeChild:function(e){return H(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ye(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==p&&e.nodeType==p?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(d,F),u(d,F.prototype),V.prototype={nodeName:"#document",nodeType:b,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==T){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return J(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===h&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),H(this,e)},replaceChild:function(e,t){J(this,e,t,$),e.ownerDocument=this,t&&this.removeChild(t),q(e)&&(this.documentElement=e)},importNode:function(e,t){return ve(this,e,t)},getElementById:function(e){var t=null;return U(this.documentElement,(function(n){if(n.nodeType==h&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=l(e);return new O(this,(function(n){var r=[];return t.length>0&&U(n.documentElement,(function(i){if(i!==n&&i.nodeType===h){var a=i.getAttribute("class");if(a){var s=e===a;if(!s){var o=l(a);s=t.every((u=o,function(e){return u&&-1!==u.indexOf(e)}))}s&&r.push(i)}}var u})),r}))},createElement:function(e){var t=new ee;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new I,(t.attributes=new M)._ownerElement=t,t},createDocumentFragment:function(){var e=new ce;return e.ownerDocument=this,e.childNodes=new I,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ae;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new de;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new te;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ue;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new ee,r=t.split(":"),i=n.attributes=new M;return n.childNodes=new I,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new te,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},c(V,F),ee.prototype={nodeType:h,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)}
vendor: 3,500 bytes, line 2
2,appendChild:function(e){return e.nodeType===T?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,G(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new O(this,(function(t){var n=[];return U(t,(function(r){r===t||r.nodeType!=h||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new O(this,(function(n){var r=[];return U(n,(function(i){i===n||i.nodeType!==h||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},V.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,V.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,c(ee,F),te.prototype.nodeType=f,c(te,F),ne.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(E[k])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},c(ne,F),re.prototype={nodeName:"#text",nodeType:p,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},c(re,ne),ie.prototype={nodeName:"#comment",nodeType:_},c(ie,ne),ae.prototype={nodeName:"#cdata-section",nodeType:m},c(ae,ne),se.prototype.nodeType=x,c(se,F),oe.prototype.nodeType=w,c(oe,F),le.prototype.nodeType=v,c(le,F),ue.prototype.nodeType=g,c(ue,F),ce.prototype.nodeName="#document-fragment",ce.prototype.nodeType=T,c(ce,F),de.prototype.nodeType=y,c(de,F),he.prototype.serializeToString=function(e,t,n){return fe.call(e,t,n)},F.prototype.toString=fe;try{if(Object.defineProperty){var be=function e(t){switch(t.nodeType){case h:case T:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}};Object.defineProperty(O.prototype,"length",{get:function(){return D(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return be(this)},set:function(e){switch(this.nodeType){case h:case T:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),_e=function(e,t,n){e["$$"+t]=n}}}catch(xe){}t.DocumentType=se,t.DOMException=A,t.DOMImplementation=j,t.Element=ee,t.Node=F,t.No
vendor: 11,606 bytes, line 2
2deList=I,t.XMLSerializer=he},1775:function(e,t,n){var r=n(9145).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",euro:"\u20ac",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}),t.entityMap=t.HTML_ENTITIES},7542:function(e,t,n){var r=n(9668);r.DOMImplementation,r.XMLSerializer,t.DOMParser=n(4708).DOMParser},9660:function(e,t,n){var r=n(9145).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function o(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,o)}function l(){}function u(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,n,i,a,s){function o(e,t,r){n.attributeNames.hasOwnProperty(e)&&s.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),r)}for(var l,u=++t,c=0;;){var d=e.charAt(u);switch(d){case"=":if(1===c)l=e.slice(t,u),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(s.warning('attribute value must after "="'),l=e.slice(t,u)),t=u+1,!((u=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");o(l,h=e.slice(t,u),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');o(l,h=e.slice(t,u),t),s.warning('attribute "'+l+'" missed start quot('+d+")!!"),t=u+1,c=5}break;case"/":switch(c){case 0:n.setTagName(e.slice(t,u));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),0==c&&n.setTagName(e.slice(t,u)),u;case">":switch(c){case 0:n.setTagName(e.slice(t,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=e.slice(t,u)).slice(-1)&&(n.closed=!0,h=h.slice(0,-1));case 2:2===c&&(h=l),4==c?(s.warning('attribute "'+h+'" missed quot(")!'),o(l,h,t)):(r.isHTML(i[""])&&h.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),o(h,h,t));break;case 3:throw new Error("attribute value missed!!")}return u;case"\x80":d=" ";default:if(d<=" ")switch(c){case 0:n.setTagName(e.slice(t,u)),c=6;break;case 1:l=e.slice(t,u),c=2;break;case 4:var h=e.slice(t,u);s.warning('attribute "'+h+'" missed quot(")!!'),o(l,h,t);case 5:c=6}else switch(c){case 2:n.tagName;r.isHTML(i[""])&&l.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),o(l,l,t),t=u,c=1;break;case 5:s.warning('attribute space is required"'+l+'"!!');case 6:c=1,t=u;break;case 3:c=4,t=u;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function d(e,t,n){for(var i=e.tagName,a=null,s=e.length;s--;){var o=e[s],l=o.qName,u=o.value;if((f=l.indexOf(":"))>0)var c=o.prefix=l.slice(0,f),d=l.slice(f+1),h="xmlns"===c&&d;else d=l,c=null,h="xmlns"===l&&"";o.localName=d,!1!==h&&(null==a&&(a={},p(n,n={})),n[h]=a[h]=u,o.uri=r.XMLNS,t.startPrefixMapping(h,u))}for(s=e.length;s--;){(c=(o=e[s]).prefix)&&("xml"===c&&(o.uri=r.XML),"xmlns"!==c&&(o.uri=n[c||""]))}var f;(f=i.indexOf(":"))>0?(c=e.prefix=i.slice(0,f),d=e.localName=i.slice(f+1)):(c=null,d=e.localName=i);var m=e.uri=n[c||""];if(t.startElement(m,d,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=a,!0;if(t.endElement(m,d,i),a)for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&t.endPrefixMapping(c)}function h(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf("</"+n+">",t),s=e.substring(t+1,a);if(/[&<]/.test(s))return/^script$/i.test(n)?(i.characters(s,0,s.length),a):(s=s.replace(/&#?\w+;/g,r),i.characters(s,0,s.length),a)}return t+1}function f(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf("</"+n+">"))<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}function p(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function m(e,t,n,r){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,i-t-4),i+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var a=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);for(;n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var o=a[1][0],l=!1,u=!1;s>3&&(/^public$/i.test(a[2][0])?(l=a[3][0],u=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(u=a[3][0]));var c=a[s-1];return n.startDTD(o,l,u),n.endDTD(),c.index+c[0].length}return-1}function g(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return n.processingInstruction(i[1],i[2]),r+2}return-1}return-1}function v(){this.attributeNames={}}o.prototype=new Error,o.prototype.name=o.name,l.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),p(t,t={}),function(e,t,n,i,a){function s(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function l(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?s(parseInt(t.substr(1).replace("x","0x"))):(a.error("entity not found:"+e),e)}function p(t){if(t>E){var n=e.substring(E,t).replace(/&#?\w+;/g,l);T&&y(E),i.characters(n,0,t-E),E=t}}function y(t,n){for(;t>=b&&(n=x.exec(e));)_=n.index,b=_+n[0].length,T.lineNumber++;T.columnNumber=t-_+1}var _=0,b=0,x=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,w=[{currentNSMap:t}],S={},E=0;for(;;){try{var k=e.indexOf("<",E);if(k<0){if(!e.substr(E).match(/^\s*$/)){var C=i.doc,P=C.createTextNode(e.substr(E));C.appendChild(P),i.currentElement=P}return}switch(k>E&&p(k),e.charAt(k+1)){case"/":var A=e.indexOf(">",k+3),I=e.substring(k+2,A).replace(/[ \t\n\r]+$/g,""),O=w.pop();A<0?(I=e.substring(k+2).replace(/[\s<].*/,""),a.error("end tag name: "+I+" is not complete:"+O.tagName),A=k+1+I.length):I.match(/\s</)&&(I=I.replace(/[\s<].*/,""),a.error("end tag name: "+I+" maybe not complete"),A=k+1+I.length);var D=O.localNSMap,M=O.tagName==I;if(M||O.tagName&&O.tagName.toLowerCase()==I.toLowerCase()){if(i.endElement(O.uri,O.localName,I),D)for(var N in D)Object.prototype.hasOwnProperty.call(D,N)&&i.endPrefixMapping(N);M||a.fatalError("end tag name: "+I+" is not match the current start tagName:"+O.tagName)}else w.push(O);A++;break;case"?":T&&y(k),A=g(e,k,i);break;case"!":T&&y(k),A=m(e,k,i,a);break;default:T&&y(k);var R=new v,L=w[w.length-1].currentNSMap,j=(A=c(e,k,R,L,l,a),R.length);if(!R.closed&&f(e,A,R.tagName,S)&&(R.closed=!0,n.nbsp||a.warning("unclosed xml attribute")),T&&j){for(var F=u(T,{}),B=0;B<j;B++){var U=R[B];y(U.offset),U.locator=u(T,{})}i.locator=F,d(R,i,L)&&w.push(R),i.locator=T}else d(R,i,L)&&w.push(R);r.isHTML(R.uri)&&!R.closed?A=h(e,A,R.tagName,l,i):A++}}catch(V){if(V instanceof o)throw V;a.error("element parse error: "+V),A=-1}A>E?E=A:p(Math.max(k,E)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},v.prototype={setTagName:function(e){if(!s.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!s.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=l,t.ParseError=o},7472:function(e){e.exports="object"==typeof self?self.FormData:window.FormData},1694:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var s=i.apply(null,n);s&&e.push(s)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var o in n)r.call(n,o)&&n[o]&&e.push(o)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}
vendor: 14,744 bytes, line 2
2.apply(t,[]))||(e.exports=n)}()},6724:function(e,t,n){var r=n(9218),i=n(1772),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(i(e)+" is not a function")}},6299:function(e,t,n){var r=n(9218),i=String,a=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},5715:function(e,t,n){var r=n(5028),i=n(4385),a=n(1592).f,s=r("unscopables"),o=Array.prototype;void 0==o[s]&&a(o,s,{configurable:!0,value:i(null)}),e.exports=function(e){o[s][e]=!0}},4817:function(e,t,n){var r=n(8946),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},5884:function(e,t,n){var r=n(3931),i=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(i(e)+" is not an object")}},1531:function(e,t,n){var r=n(2837);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},2422:function(e,t,n){"use strict";var r=n(5851),i=n(8513),a=n(8385),s=n(1940),o=n(8205),l=n(1219),u=n(3385),c=n(3055),d=n(8131),h=n(443),f=Array;e.exports=function(e){var t=a(e),n=l(this),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m;g&&(m=r(m,p>2?arguments[2]:void 0));var v,y,_,b,x,T,w=h(t),S=0;if(!w||this===f&&o(w))for(v=u(t),y=n?new this(v):f(v);v>S;S++)T=g?m(t[S],S):t[S],c(y,S,T);else for(x=(b=d(t,w)).next,y=n?new this:[];!(_=i(x,b)).done;S++)T=g?s(b,m,[_.value,S],!0):_.value,c(y,S,T);return y.length=S,y}},488:function(e,t,n){var r=n(5770),i=n(1823),a=n(3385),s=function(e){return function(t,n,s){var o,l=r(t),u=a(l),c=i(s,u);if(e&&n!=n){for(;u>c;)if((o=l[c++])!=o)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},5880:function(e,t,n){var r=n(5851),i=n(4932),a=n(1036),s=n(8385),o=n(3385),l=n(5491),u=i([].push),c=function(e){var t=1==e,n=2==e,i=3==e,c=4==e,d=6==e,h=7==e,f=5==e||d;return function(p,m,g,v){for(var y,_,b=s(p),x=a(b),T=r(m,g),w=o(x),S=0,E=v||l,k=t?E(p,w):n||h?E(p,0):void 0;w>S;S++)if((f||S in x)&&(_=T(y=x[S],S,b),e))if(t)k[S]=_;else if(_)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:u(k,y)}else switch(e){case 4:return!1;case 7:u(k,y)}return d?-1:i||c?c:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},3278:function(e,t,n){var r=n(1823),i=n(3385),a=n(3055),s=Array,o=Math.max;e.exports=function(e,t,n){for(var l=i(e),u=r(t,l),c=r(void 0===n?l:n,l),d=s(o(c-u,0)),h=0;u<c;u++,h++)a(d,h,e[u]);return d.length=h,d}},9026:function(e,t,n){var r=n(1941),i=n(1219),a=n(3931),s=n(5028)("species"),o=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===o||r(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}},5491:function(e,t,n){var r=n(9026);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},1940:function(e,t,n){var r=n(5884),i=n(9053);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(s){i(e,"throw",s)}}},6225:function(e,t,n){var r=n(5028)("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(o){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(o){}return n}},2933:function(e,t,n){var r=n(4932),i=r({}.toString),a=r("".slice);e.exports=function(e){return a(i(e),8,-1)}},7205:function(e,t,n){var r=n(6042),i=n(9218),a=n(2933),s=n(5028)("toStringTag"),o=Object,l="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=o(e),s))?n:l?a(t):"Object"==(r=a(t))&&i(t.callee)?"Arguments":r}},3425:function(e,t,n){"use strict";var r=n(1592).f,i=n(4385),a=n(7544),s=n(5851),o=n(4817),l=n(9055),u=n(4439),c=n(4931),d=n(5927),h=n(2267),f=n(1196),p=n(2499).fastKey,m=n(9671),g=m.set,v=m.getterFor;e.exports={getConstructor:function(e,t,n,c){var d=e((function(e,r){o(e,h),g(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),l(r)||u(r,e[c],{that:e,AS_ENTRIES:n})})),h=d.prototype,m=v(t),y=function(e,t,n){var r,i,a=m(e),s=_(e,t);return s?s.value=n:(a.last=s={index:i=p(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=s),r&&(r.next=s),f?a.size++:e.size++,"F"!==i&&(a.index[i]=s)),e},_=function(e,t){var n,r=m(e),i=p(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(h,{clear:function(){for(var e=m(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=this,n=m(t),r=_(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=m(this),r=s(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!_(this,e)}}),a(h,n?{get:function(e){var t=_(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),f&&r(h,"size",{get:function(){return m(this).size}}),d},setStrong:function(e,t,n){var r=t+" Iterator",i=v(t),a=v(r);c(e,t,(function(e,t){g(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?d("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,d(void 0,!0))}),n?"entries":"values",!n,!0),h(t)}}},322:function(e,t,n){"use strict";var r=n(4932),i=n(7544),a=n(2499).getWeakData,s=n(4817),o=n(5884),l=n(9055),u=n(3931),c=n(4439),d=n(5880),h=n(3013),f=n(9671),p=f.set,m=f.getterFor,g=d.find,v=d.findIndex,y=r([].splice),_=0,b=function(e){return e.frozen||(e.frozen=new x)},x=function(){this.entries=[]},T=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};x.prototype={get:function(e){var t=T(this,e);if(t)return t[1]},has:function(e){return!!T(this,e)},set:function(e,t){var n=T(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var d=e((function(e,i){s(e,f),p(e,{type:t,id:_++,frozen:void 0}),l(i)||c(i,e[r],{that:e,AS_ENTRIES:n})})),f=d.prototype,g=m(t),v=function(e,t,n){var r=g(e),i=a(o(t),!0);return!0===i?b(r).set(t,n):i[r.id]=n,e};return i(f,{delete:function(e){var t=g(this);if(!u(e))return!1;var n=a(e);return!0===n?b(t).delete(e):n&&h(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!u(e))return!1;var n=a(e);return!0===n?b(t).has(e):n&&h(n,t.id)}}),i(f,n?{get:function(e){var t=g(this);if(u(e)){var n=a(e);return!0===n?b(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),d}}},3309:function(e,t,n){"use strict";var r=n(7768),i=n(6840),a=n(4932),s=n(6673),o=n(7543),l=n(2499),u=n(4439),c=n(4817),d=n(9218),h=n(9055),f=n(3931),p=n(2837),m=n(6225),g=n(3370),v=n(1527);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),_=-1!==e.indexOf("Weak"),b=y?"set":"add",x=i[e],T=x&&x.prototype,w=x,S={},E=function(e){var t=a(T[e]);o(T,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(_&&!f(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return _&&!f(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(_&&!f(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(s(e,!d(x)||!(_||T.forEach&&!p((function(){(new x).entries().next()})))))w=n.getConstructor(t,e,y,b),l.enable();else if(s(e,!0)){var k=new w,C=k[b](_?{}:-0,1)!=k,P=p((function(){k.has(1)})),A=m((function(e){new x(e)})),I=!_&&p((function(){for(var e=new x,t=5;t--;)e[b](t,t);return!e.has(-0)}));A||((w=t((function(e,t){c(e,T);var n=v(new x,e,w);return h(t)||u(t,n[b],{that:n,AS_ENTRIES:y}),n}))).prototype=T,T.constructor=w),(P||I)&&(E("delete"),E("has"),y&&E("get")),(I||C)&&E(b),_&&T.clear&&delete T.clear}return S[e]=w,r({global:!0,constructor:!0,forced:w!=x},S),g(w,e),_||n.setStrong(w,e,y),w}},189:function(e,t,n){var r=n(3013),i=n(7273),a=n(2573),s=n(1592);e.exports=function(e,t,n){for(var o=i(t),l=s.f,u=a.f,c=0;c<o.length;c++){var d=o[c];r(e,d)||n&&r(n,d)||l(e,d,u(t,d))}}},1586:function(e,t,n){var r=n(2837);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},5927:function(e){e.exports=function(e,t){return{value:e,done:t}}},3873:function(e,t,n){var r=n(1196),i=n(1592),a=n(2037);e.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},2037:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3055:function(e,t,n){"use strict";var r=n(4655),i=n(1592),a=n(2037);e.exports=function(e,t,n){var s=r(t);s in e?i.f(e,s,a(0,n)):e[s]=n}},7543:function(e,t,n){var r=n(9218),i=n(1592),a=n(2557),s=n(9131);e.exports=function(e,t,n,o){o||(o={});var l=o.enumerable,u=void 0!==o.name?o.name:t;if(r(n)&&a(n,u,o),o.global)l?e[t]=n:s(t,n);else{try{o.unsafe?e[t]&&(l=!0):delete e[t]}catch(c){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},7544:function(e,t,n){var r=n(7543);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},9131:function(e,t,n){var r=n(6840),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},1196:function(e,t,n){var r=n(2837);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4363:function(e){var t="object"==typeof document&&document.all,n="undefined"==typeof t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},937:function(e,t,n){var r=n(6840),i=n(3931),a=r.document,s=i(a)&&i(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},7427:function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5372:function(e,t,n){var r,i,a=n(6840),s=n(7427),o=a.process,l=a.Deno,u=o&&o.versions||l&&l.version,c=u&&u.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},2080:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7768:function(e,t,n){var r=n(6840),i=n(2573).f,a=n(3873),s=n(7543),o=n(9131),l=n(189),u=n(6673);e.exports=function(e,t){var n,c,d,h,f,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||o(p,{}):(r[p]||{}).prototype)for(c in t){if(h=t[c],d=e.dontCallGetSet?(f=i(n,c))&&f.value:n[c],!u(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&a(h,"sham",!0),s(n,c,h,e)}}},2837:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},7914:function(e,t,n){var r=n(2837);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},5851:function(e,t,n){var r=n(7926),i=n(6724),a=n(4138),s=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?s(e,t):function(){return e.apply(t,arguments)}}},4138:function(e,t,n){var r=n(2837);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8513:function(e,t,n){var r=n(4138),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},3211:function(e,t,n){var r=n(1196),i=n(3013),a=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,o=i(a,"name"),l=o&&"something"===function(){}.name,u=o&&(!r||r&&s(a,"name").configurable);e.exports={EXISTS:o,PROPER:l,CONFIGURABLE:u}},7926:function(e,t,n){var r=n(2933),i=n(4932);e.exports=function(e){if("Function"===r(e))return i(e)}},4932:function(e,t,n){var r=n(4138),i=Function.prototype,a=i.call,s=r&&i.bind.bind(a,a);e.exports=r?s:function(e){return function(){return a.apply(e,arguments)}}},1240:function(e,t,n){var r=n(6840),i=n(9218),a=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},443:function(e,t,n){var r=n(7205),i=n(3863),a=n(9055),s=n(9706),o=n(5028)("iterator");e.exports=function(e){if(!a(e))return i(e,o)||i(e,"@@iterator")||s[r(e)]}},8131:function(e,t,n){var r=n(8513),i=n(6724),a=n(5884),s=n(1772),o=n(443),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?o(e):t;if(i(n))return a(r(n,e));throw l(s(e)+" is not iterable")}},3863:function(e,t,n){var r=n(6724),i=n(9055);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},6840:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},3013:function(e,t,n){var r=n(4932),i=n(8385),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},6196:function(e){e.exports={}},2012:function(e,t,n){var r=n(1240);e.exports=r("document","documentElement")},6707:function(e,t,n){var r=n(1196),i=n(2837),a=n(937);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},1036:function(e,t,n){var r=n(4932),i=n(2837),a=n(2933),s=Object,o=r("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o(e,""):s(e)}:s},1527:function(e,t,n){var r=n(9218),i=n(3931),a=n(4381);e.exports=function(e,t,n){var s,o;return a&&r(s=t.constructor)&&s!==n&&i(o=s.prototype)&&o!==n.prototype&&a(e,o),e}},8589:function(e,t,n){var r=n(4932),i=n(9218),a=n(4460),s=r(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return s(e)}),e.exports=a.inspectSource},2499:function(e,t,n){var r=n(7768),i=n(4932),a=n(6196),s=n(3931),o=n(3013),l=n(1592).f,u=n(3772),c=n(8910),d=n(6643),h=n(4839),f=n(7914),p=!1,m=h("meta"),g=0,v=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},p=!0;var e=u.f,t=i([].splice),n={};n[m]=1,e(n).length&&(u.f=function(n){for(var r=e(n),i=0,a=r.length;i<a;i++)if(r[i]===m){t(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,m)){if(!d(e))return"F";if(!t)return"E";v(e)}return e[m].objectID},getWeakData:function(e,t){if(!o(e,m)){if(!d(e))return!0;
vendor: 4,262 bytes, line 2
2if(!t)return!1;v(e)}return e[m].weakData},onFreeze:function(e){return f&&p&&d(e)&&!o(e,m)&&v(e),e}};a[m]=!0},9671:function(e,t,n){var r,i,a,s=n(1615),o=n(6840),l=n(3931),u=n(3873),c=n(3013),d=n(4460),h=n(9378),f=n(6196),p="Object already initialized",m=o.TypeError,g=o.WeakMap;if(s||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw m(p);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},a=function(e){return v.has(e)}}else{var y=h("state");f[y]=!0,r=function(e,t){if(c(e,y))throw m(p);return t.facade=e,u(e,y,t),t},i=function(e){return c(e,y)?e[y]:{}},a=function(e){return c(e,y)}}e.exports={set:r,get:i,has:a,enforce:function(e){return a(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},8205:function(e,t,n){var r=n(5028),i=n(9706),a=r("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[a]===e)}},1941:function(e,t,n){var r=n(2933);e.exports=Array.isArray||function(e){return"Array"==r(e)}},9218:function(e,t,n){var r=n(4363),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},1219:function(e,t,n){var r=n(4932),i=n(2837),a=n(9218),s=n(7205),o=n(1240),l=n(8589),u=function(){},c=[],d=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=r(h.exec),p=!h.exec(u),m=function(e){if(!a(e))return!1;try{return d(u,c,e),!0}catch(t){return!1}},g=function(e){if(!a(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,l(e))}catch(t){return!0}};g.sham=!0,e.exports=!d||i((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},6673:function(e,t,n){var r=n(2837),i=n(9218),a=/#|\.prototype\./,s=function(e,t){var n=l[o(e)];return n==c||n!=u&&(i(t)?r(t):!!t)},o=s.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=s.data={},u=s.NATIVE="N",c=s.POLYFILL="P";e.exports=s},9055:function(e){e.exports=function(e){return null===e||void 0===e}},3931:function(e,t,n){var r=n(9218),i=n(4363),a=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===a}:function(e){return"object"==typeof e?null!==e:r(e)}},3608:function(e){e.exports=!1},8287:function(e,t,n){var r=n(1240),i=n(9218),a=n(8946),s=n(7611),o=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&a(t.prototype,o(e))}},4439:function(e,t,n){var r=n(5851),i=n(8513),a=n(5884),s=n(1772),o=n(8205),l=n(3385),u=n(8946),c=n(8131),d=n(443),h=n(9053),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,n){var g,v,y,_,b,x,T,w=n&&n.that,S=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_RECORD),k=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),P=r(t,w),A=function(e){return g&&h(g,"normal",e),new p(!0,e)},I=function(e){return S?(a(e),C?P(e[0],e[1],A):P(e[0],e[1])):C?P(e,A):P(e)};if(E)g=e.iterator;else if(k)g=e;else{if(!(v=d(e)))throw f(s(e)+" is not iterable");if(o(v)){for(y=0,_=l(e);_>y;y++)if((b=I(e[y]))&&u(m,b))return b;return new p(!1)}g=c(e,v)}for(x=E?e.next:g.next;!(T=i(x,g)).done;){try{b=I(T.value)}catch(O){h(g,"throw",O)}if("object"==typeof b&&b&&u(m,b))return b}return new p(!1)}},9053:function(e,t,n){var r=n(8513),i=n(5884),a=n(3863);e.exports=function(e,t,n){var s,o;i(e);try{if(!(s=a(e,"return"))){if("throw"===t)throw n;return n}s=r(s,e)}catch(l){o=!0,s=l}if("throw"===t)throw n;if(o)throw s;return i(s),n}},1331:function(e,t,n){"use strict";var r=n(7022).IteratorPrototype,i=n(4385),a=n(2037),s=n(3370),o=n(9706),l=function(){return this};e.exports=function(e,t,n,u){var c=t+" Iterator";return e.prototype=i(r,{next:a(+!u,n)}),s(e,c,!1,!0),o[c]=l,e}},4931:function(e,t,n){"use strict";var r=n(7768),i=n(8513),a=n(3608),s=n(3211),o=n(9218),l=n(1331),u=n(4305),c=n(4381),d=n(3370),h=n(3873),f=n(7543),p=n(5028),m=n(9706),g=n(7022),v=s.PROPER,y=s.CONFIGURABLE,_=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,x=p("iterator"),T="keys",w="values",S="entries",E=function(){return this};e.exports=function(e,t,n,s,p,g,k){l(n,t,s);var C,P,A,I=function(e){if(e===p&&R)return R;if(!b&&e in M)return M[e];
vendor: 4,124 bytes, line 2
2switch(e){case T:case w:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",D=!1,M=e.prototype,N=M[x]||M["@@iterator"]||p&&M[p],R=!b&&N||I(p),L="Array"==t&&M.entries||N;if(L&&(C=u(L.call(new e)))!==Object.prototype&&C.next&&(a||u(C)===_||(c?c(C,_):o(C[x])||f(C,x,E)),d(C,O,!0,!0),a&&(m[O]=E)),v&&p==w&&N&&N.name!==w&&(!a&&y?h(M,"name",w):(D=!0,R=function(){return i(N,this)})),p)if(P={values:I(w),keys:g?R:I(T),entries:I(S)},k)for(A in P)(b||D||!(A in M))&&f(M,A,P[A]);else r({target:t,proto:!0,forced:b||D},P);return a&&!k||M[x]===R||f(M,x,R,{name:p}),m[t]=R,P}},7022:function(e,t,n){"use strict";var r,i,a,s=n(2837),o=n(9218),l=n(3931),u=n(4385),c=n(4305),d=n(7543),h=n(5028),f=n(3608),p=h("iterator"),m=!1;[].keys&&("next"in(a=[].keys())?(i=c(c(a)))!==Object.prototype&&(r=i):m=!0),!l(r)||s((function(){var e={};return r[p].call(e)!==e}))?r={}:f&&(r=u(r)),o(r[p])||d(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},9706:function(e){e.exports={}},3385:function(e,t,n){var r=n(2347);e.exports=function(e){return r(e.length)}},2557:function(e,t,n){var r=n(4932),i=n(2837),a=n(9218),s=n(3013),o=n(1196),l=n(3211).CONFIGURABLE,u=n(8589),c=n(9671),d=c.enforce,h=c.get,f=String,p=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),y=o&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),_=String(String).split("String"),b=e.exports=function(e,t,n){"Symbol("===m(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||l&&e.name!==t)&&(o?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&s(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?o&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=d(e);return s(r,"source")||(r.source=v(_,"string"==typeof t?t:"")),e};Function.prototype.toString=b((function(){return a(this)&&h(this).source||u(this)}),"toString")},1246:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},2526:function(e,t,n){"use strict";var r=n(1196),i=n(4932),a=n(8513),s=n(2837),o=n(8084),l=n(400),u=n(8306),c=n(8385),d=n(1036),h=Object.assign,f=Object.defineProperty,p=i([].concat);e.exports=!h||s((function(){if(r&&1!==h({b:1},h(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=h({},e)[n]||o(h({},t)).join("")!=i}))?function(e,t){for(var n=c(e),i=arguments.length,s=1,h=l.f,f=u.f;i>s;)for(var m,g=d(arguments[s++]),v=h?p(o(g),h(g)):o(g),y=v.length,_=0;y>_;)m=v[_++],r&&!a(f,g,m)||(n[m]=g[m]);return n}:h},4385:function(e,t,n){var r,i=n(5884),a=n(1697),s=n(2080),o=n(6196),l=n(2012),u=n(937),c=n(9378),d="prototype",h="script",f=c("IE_PROTO"),p=function(){},m=function(e){return"<"+h+">"+e+"</"+h+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}v="undefined"!=typeof document?document.domain&&r?g(r):function(){var e,t=u("iframe"),n="java"+h+":";return t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F}():g(r);for(var e=s.length;e--;)delete v[d][s[e]];return v()};o[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p[d]=i(e),n=new p,p[d]=null,n[f]=e):n=v(),void 0===t?n:a.f(n,t)}},1697:function(e,t,n){var r=n(1196),i=n(6056),a=n(1592),s=n(5884),o=n(5770),l=n(8084);t.f=r&&!i?Object.defineProperties:function(e,t){s(e);for(var n,r=o(t),i=l(t),u=i.length,c=0;u>c;)a.f(e,n=i[c++],r[n]);return e}},1592:function(e,t,n){var r=n(1196),i=n(6707),a=n(6056),s=n(5884),o=n(4655),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",f="writable";t.f=r?a?function(e,t,n){if(s(e),t=o(t),s(n),"function"===typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=c(e,t);
vendor: 2,097 bytes, line 2
2r&&r[f]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:d in n?n[d]:r[d],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(s(e),t=o(t),s(n),i)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},2573:function(e,t,n){var r=n(1196),i=n(8513),a=n(8306),s=n(2037),o=n(5770),l=n(4655),u=n(3013),c=n(6707),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=o(e),t=l(t),c)try{return d(e,t)}catch(n){}if(u(e,t))return s(!i(a.f,e,t),e[t])}},8910:function(e,t,n){var r=n(2933),i=n(5770),a=n(3772).f,s=n(3278),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"Window"==r(e)?function(e){try{return a(e)}catch(t){return s(o)}}(e):a(i(e))}},3772:function(e,t,n){var r=n(3080),i=n(2080).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},400:function(e,t){t.f=Object.getOwnPropertySymbols},4305:function(e,t,n){var r=n(3013),i=n(9218),a=n(8385),s=n(9378),o=n(1586),l=s("IE_PROTO"),u=Object,c=u.prototype;e.exports=o?u.getPrototypeOf:function(e){var t=a(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},6643:function(e,t,n){var r=n(2837),i=n(3931),a=n(2933),s=n(1531),o=Object.isExtensible,l=r((function(){o(1)}));e.exports=l||s?function(e){return!!i(e)&&((!s||"ArrayBuffer"!=a(e))&&(!o||o(e)))}:o},8946:function(e,t,n){var r=n(4932);e.exports=r({}.isPrototypeOf)},3080:function(e,t,n){var r=n(4932),i=n(3013),a=n(5770),s=n(488).indexOf,o=n(6196),l=r([].push);e.exports=function(e,t){var n,r=a(e),u=0,c=[];for(n in r)!i(o,n)&&i(r,n)&&l(c,n);for(;t.length>u;)i(r,n=t[u++])&&(~s(c,n)||l(c,n));return c}},8084:function(e,t,n){var r=n(3080),i=n(2080);e.exports=Object.keys||function(e){return r(e,i)}},8306:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4381:function(e,t,n){var r=n(4932),i=n(5884),a=n(6299);
vendor: 5,081 bytes, line 2
2e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(s){}return function(n,r){return i(n),a(r),t?e(n,r):n.__proto__=r,n}}():void 0)},4289:function(e,t,n){"use strict";var r=n(6042),i=n(7205);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},7772:function(e,t,n){var r=n(8513),i=n(9218),a=n(3931),s=TypeError;e.exports=function(e,t){var n,o;if("string"===t&&i(n=e.toString)&&!a(o=r(n,e)))return o;if(i(n=e.valueOf)&&!a(o=r(n,e)))return o;if("string"!==t&&i(n=e.toString)&&!a(o=r(n,e)))return o;throw s("Can't convert object to primitive value")}},7273:function(e,t,n){var r=n(1240),i=n(4932),a=n(3772),s=n(400),o=n(5884),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(o(e)),n=s.f;return n?l(t,n(e)):t}},2244:function(e,t,n){var r=n(9055),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},2267:function(e,t,n){"use strict";var r=n(1240),i=n(1592),a=n(5028),s=n(1196),o=a("species");e.exports=function(e){var t=r(e),n=i.f;s&&t&&!t[o]&&n(t,o,{configurable:!0,get:function(){return this}})}},3370:function(e,t,n){var r=n(1592).f,i=n(3013),a=n(5028)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,a)&&r(e,a,{configurable:!0,value:t})}},9378:function(e,t,n){var r=n(1778),i=n(4839),a=r("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},4460:function(e,t,n){var r=n(6840),i=n(9131),a="__core-js_shared__",s=r[a]||i(a,{});e.exports=s},1778:function(e,t,n){var r=n(3608),i=n(4460);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.2",mode:r?"pure":"global",copyright:"\xa9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})},8424:function(e,t,n){var r=n(4932),i=n(2128),a=n(6124),s=n(2244),o=r("".charAt),l=r("".charCodeAt),u=r("".slice),c=function(e){return function(t,n){var r,c,d=a(s(t)),h=i(n),f=d.length;return h<0||h>=f?e?"":void 0:(r=l(d,h))<55296||r>56319||h+1===f||(c=l(d,h+1))<56320||c>57343?e?o(d,h):r:e?u(d,h,h+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},166:function(e,t,n){var r=n(5372),i=n(2837);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1823:function(e,t,n){var r=n(2128),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},5770:function(e,t,n){var r=n(1036),i=n(2244);e.exports=function(e){return r(i(e))}},2128:function(e,t,n){var r=n(1246);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},2347:function(e,t,n){var r=n(2128),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},8385:function(e,t,n){var r=n(2244),i=Object;e.exports=function(e){return i(r(e))}},6740:function(e,t,n){var r=n(8513),i=n(3931),a=n(8287),s=n(3863),o=n(7772),l=n(5028),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,l=s(e,c);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||a(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}},4655:function(e,t,n){var r=n(6740),i=n(8287);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},6042:function(e,t,n){var r={};r[n(5028)("toStringTag")]="z",e.exports="[object z]"===String(r)},6124:function(e,t,n){var r=n(7205),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},1772:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},4839:function(e,t,n){var r=n(4932),i=0,a=Math.random(),s=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+a,36)}},7611:function(e,t,n){var r=n(166);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6056:function(e,t,n){var r=n(1196),i=n(2837);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1615:function(e,t,n){var r=n(6840),i=n(9218),a=r.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},5028:function(e,t,n){var r=n(6840),i=n(1778),a=n(3013),s=n(4839),o=n(166),l=n(7611),u=r.Symbol,c=i("wks"),d=l?u.for||u:u&&u.withoutSetter||s;e.exports=function(e){return a(c,e)||(c[e]=o&&a(u,e)?u[e]:d("Symbol."+e)),c[e]}},9104:function(e,t,n){var r=n(7768),i=n(2422);r({target:"Array",stat:!0,forced:!n(6225)((function(e){Array.from(e)}))},{from:i})},8887:function(e,t,n){"use strict";var r=n(5770),i=n(5715),a=n(9706),s=n(9671),o=n(1592).f,l=n(4931),u=n(5927),c=n(3608),d=n(1196),h="Array Iterator",f=s.set,p=s.getterFor(h);e.exports=l(Array,"Array",(function(e,t){f(this,{type:h,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var m=a.Arguments=a.Array;
2if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==m.name)try{o(m,"name",{value:"values"})}catch(g){}},1132:function(e,t,n){"use strict";n(3309)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(3425))},5742:function(e,t,n){n(1132)},3265:function(e,t,n){var r=n(7768),i=n(2526);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},5202:function(e,t,n){var r=n(6042),i=n(7543),a=n(4289);r||i(Object.prototype,"toString",a,{unsafe:!0})},5012:function(e,t,n){"use strict";n(3309)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(3425))},6669:function(e,t,n){n(5012)},9147:function(e,t,n){"use strict";var r=n(8424).charAt,i=n(6124),a=n(9671),s=n(4931),o=n(5927),l="String Iterator",u=a.set,c=a.getterFor(l);s(String,"String",(function(e){u(this,{type:l,string:i(e),index:0})}),(function(){var e,t=c(this),n=t.string,i=t.index;return i>=n.length?o(void 0,!0):(e=r(n,i),t.index+=e.length,o(e,!1))}))},1400:function(e,t,n){"use strict";var r,i=n(7914),a=n(6840),s=n(4932),o=n(7544),l=n(2499),u=n(3309),c=n(322),d=n(3931),h=n(9671).enforce,f=n(2837),p=n(1615),m=Object,g=Array.isArray,v=m.isExtensible,y=m.isFrozen,_=m.isSealed,b=m.freeze,x=m.seal,T={},w={},S=!a.ActiveXObject&&"ActiveXObject"in a,E=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},k=u("WeakMap",E,c),C=k.prototype,P=s(C.set);if(p)if(S){r=c.getConstructor(E,"WeakMap",!0),l.enable();var A=s(C.delete),I=s(C.has),O=s(C.get);o(C,{delete:function(e){if(d(e)&&!v(e)){var t=h(this);return t.frozen||(t.frozen=new r),A(this,e)||t.frozen.delete(e)}return A(this,e)},has:function(e){if(d(e)&&!v(e)){var t=h(this);return t.frozen||(t.frozen=new r),I(this,e)||t.frozen.has(e)}return I(this,e)},get:function(e){if(d(e)&&!v(e)){var t=h(this);return t.frozen||(t.frozen=new r),I(this,e)?O(this,e):t.frozen.get(e)}return O(this,e)},set:function(e,t){if(d(e)&&!v(e)){var n=h(this);n.frozen||(n.frozen=new r),I(this,e)?P(this,e,t):n.frozen.set(e,t)}else P(this,e,t);return this}})}else i&&f((function(){var e=b([]);return P(new k,e,1),!y(e)}))&&o(C,{set:function(e,t){var n;return g(e)&&(y(e)?n=T:_(e)&&(n=w)),P(this,e,t),n==T&&b(e),n==w&&x(e),this}})},7952:function(e,t,n){n(1400)},7203:function(e,t,n){var r,i="undefined"!==typeof n.g?n.g:"undefined"!==typeof window?window:{},a=n(5893);"undefined"!==typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),e.exports=r},9851:function(e,t,n){var r;r="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:{},e.exports=r},8112:function(e){e.exports=function(e){if(!e)return!1;var n=t.call(e);return"[object Function]"===n||"function"===typeof e&&"[object RegExp]"!==n||"undefined"!==typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var t=Object.prototype.toString},7943:function(e,t){function n(e){if(e&&"object"===typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"===typeof e)return s[e];var n,a=String(e);return(n=r[a.toLowerCase()])?n:(n=i[a.toLowerCase()])||(1===a.length?a.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"===typeof e){var n=e.which||e.keyCode||e.charCode;if(null===n||void 0===n)return!1;if("string"===typeof t){var a;if(a=r[t.toLowerCase()])return a===n;if(a=i[t.toLowerCase()])return a===n}else if("number"===typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)r[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)r[a-48]=a;for(a=1;a<13;a++)r["f"+a]=a+111;for(a=0;a<10;a++)r["numpad "+a]=a+96;var s=t.names=t.title={};for(a in r)s[r[a]]=a;for(var o in i)r[o]=i[o]},4260:function(e){var t=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,s=Object.prototype.toString;function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function l(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}(e))return NaN;if(o(e)){var l="function"==typeof e.valueOf?e.valueOf():e;e=o(l)?l+"":l}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(t,"");var u=r.test(e);return u||i.test(e)?a(e.slice(2),u?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=l(n))===n?n:0),void 0!==t&&(t=(t=l(t))===t?t:0),function(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}(l(e),t,n)}}
vendor: 1,345 bytes, line 2
2,5095:function(e,t,n){var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,o=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),d=Object.prototype.toString,h=Math.max,f=Math.min,p=function(){return c.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=a.test(e);return n||s.test(e)?o(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,a,s,o,l,u=0,c=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,a=i;return r=i=void 0,u=t,s=e.apply(a,n)}function _(e){return u=e,o=setTimeout(x,t),c?y(e):s}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=a}function x(){var e=p();if(b(e))return T(e);o=setTimeout(x,function(e){var n=t-(e-l);return d?f(n,a-(e-u)):n}(e))}function T(e){return o=void 0,v&&r?y(e):(r=i=void 0,s)}function w(){var e=p(),n=b(e);if(r=arguments,i=this,l=e,n){if(void 0===o)return _(l);
vendor: 5,346 bytes, line 2
2if(d)return o=setTimeout(x,t),y(l)}return void 0===o&&(o=setTimeout(x,t)),s}return t=g(t)||0,m(n)&&(c=!!n.leading,a=(d="maxWait"in n)?h(g(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v),w.cancel=function(){void 0!==o&&clearTimeout(o),u=0,r=l=i=o=void 0},w.flush=function(){return void 0===o?s:T(p())},w}},7197:function(e,t,n){var r=n(7009).Symbol;e.exports=r},9066:function(e,t,n){var r=n(7197),i=n(1587),a=n(3581),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):a(e)}},821:function(e,t,n){var r=n(6050),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},1032:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},1587:function(e,t,n){var r=n(7197),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,o=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch(l){}var i=s.call(e);return r&&(t?e[o]=n:delete e[o]),i}},3581:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7009:function(e,t,n){var r=n(1032),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},6050:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},8573:function(e,t,n){var r=n(8092),i=n(72),a=n(2582),s=Math.max,o=Math.min;e.exports=function(e,t,n){var l,u,c,d,h,f,p=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=u;return l=u=void 0,p=t,d=e.apply(r,n)}function _(e){return p=e,h=setTimeout(x,t),m?y(e):d}function b(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-p>=c}function x(){var e=i();if(b(e))return T(e);h=setTimeout(x,function(e){var n=t-(e-f);return g?o(n,c-(e-p)):n}(e))}function T(e){return h=void 0,v&&l?y(e):(l=u=void 0,d)}function w(){var e=i(),n=b(e);if(l=arguments,u=this,f=e,n){if(void 0===h)return _(f);if(g)return clearTimeout(h),h=setTimeout(x,t),y(f)}return void 0===h&&(h=setTimeout(x,t)),d}return t=a(t)||0,r(n)&&(m=!!n.leading,c=(g="maxWait"in n)?s(a(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v),w.cancel=function(){void 0!==h&&clearTimeout(h),p=0,l=f=u=h=void 0},w.flush=function(){return void 0===h?d:T(i())},w}},8092:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},152:function(e,t,n){var r=n(9066),i=n(3141);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},72:function(e,t,n){var r=n(7009);e.exports=function(){return r.Date.now()}},3038:function(e,t,n){var r=n(8573),i=n(8092);e.exports=function(e,t,n){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:a,maxWait:t,trailing:s})}},2582:function(e,t,n){var r=n(821),i=n(8092),a=n(152),s=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=o.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):s.test(e)?NaN:+e}},9741:function(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var i=r(t),a=r(n);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function c(e,t){if(null==e)return{};var n,r,i=u(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function d(e,t){return h(e)||f(e,t)||p(e,t)||g()}function h(e){if(Array.isArray(e))return e}function f(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a=[],s=!0,o=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);s=!0);}catch(l){o=!0,i=l}finally{try{s||null==n.return||n.return()}finally{if(o)throw i}}return a}}function p(e,t){if(e){if("string"===typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}
2function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var v=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],y=function(e,t){var r=e.animationData,s=e.loop,l=e.autoplay,u=e.initialSegment,h=e.onComplete,f=e.onLoopComplete,p=e.onEnterFrame,m=e.onSegmentStart,g=e.onConfigReady,y=e.onDataReady,_=e.onDataFailed,b=e.onLoadedImages,x=e.onDOMLoaded,T=e.onDestroy;e.lottieRef,e.renderer,e.name,e.assetsPath,e.rendererSettings;var w=c(e,v),S=d(n.useState(!1),2),E=S[0],k=S[1],C=n.useRef(),P=n.useRef(null),A=function(){var e;null===(e=C.current)||void 0===e||e.play()},I=function(){var e;null===(e=C.current)||void 0===e||e.stop()},O=function(){var e;null===(e=C.current)||void 0===e||e.pause()},D=function(e){var t;null===(t=C.current)||void 0===t||t.setSpeed(e)},M=function(e,t){var n;null===(n=C.current)||void 0===n||n.goToAndPlay(e,t)},N=function(e,t){var n;null===(n=C.current)||void 0===n||n.goToAndStop(e,t)},R=function(e){var t;null===(t=C.current)||void 0===t||t.setDirection(e)},L=function(e,t){var n;null===(n=C.current)||void 0===n||n.playSegments(e,t)},j=function(e){var t;null===(t=C.current)||void 0===t||t.setSubframe(e)},F=function(e){var t;return null===(t=C.current)||void 0===t?void 0:t.getDuration(e)},B=function(){var e;null===(e=C.current)||void 0===e||e.destroy(),C.current=void 0},U=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(P.current){null===(t=C.current)||void 0===t||t.destroy();var r=o(o(o({},e),n),{},{container:P.current});return C.current=i.default.loadAnimation(r),k(!!C.current),function(){var e;null===(e=C.current)||void 0===e||e.destroy(),C.current=void 0}}};return n.useEffect((function(){var e=U();return function(){return null===e||void 0===e?void 0:e()}}),[r,s]),n.useEffect((function(){C.current&&(C.current.autoplay=!!l)}),[l]),n.useEffect((function(){C.current&&(u?Array.isArray(u)&&u.length&&((C.current.currentRawFrame<u[0]||C.current.currentRawFrame>u[1])&&(C.current.currentRawFrame=u[0]),C.current.setSegment(u[0],u[1])):C.current.resetSegments(!0))}),[u]),n.useEffect((function(){var e=[{name:"complete",handler:h},{name:"loopComplete",handler:f},{name:"enterFrame",handler:p},{name:"segmentStart",handler:m},{name:"config_ready",handler:g},{name:"data_ready",handler:y},{name:"data_failed",handler:_},{name:"loaded_images",handler:b},{name:"DOMLoaded",handler:x},{name:"destroy",handler:T}].filter((function(e){return null!=e.handler}));if(e.length){var t=e.map((function(e){var t;return null===(t=C.current)||void 0===t||t.addEventListener(e.name,e.handler),function(){var t;null===(t=C.current)||void 0===t||t.removeEventListener(e.name,e.handler)}}));return function(){t.forEach((function(e){return e()}))}}}),[h,f,p,m,g,y,_,b,x,T]),{View:a.default.createElement("div",o({style:t,ref:P},w)),play:A,stop:I,pause:O,setSpeed:D,goToAndStop:N,goToAndPlay:M,setDirection:R,playSegments:L,setSubframe:j,getDuration:F,destroy:B,animationContainerRef:P,animationLoaded:E,animationItem:C.current}};function _(e){var t=e.getBoundingClientRect(),n=t.top,r=t.height;return(window.innerHeight-n)/(window.innerHeight+r)}function b(e,t,n){var r=e.getBoundingClientRect(),i=r.top;return{x:(t-r.left)/r.width,y:(n-i)/r.height}}var x=function(e){var t=e.wrapperRef,r=e.animationItem,i=e.mode,a=e.actions;n.useEffect((function(){var e=t.current;if(e&&r&&a.length){r.stop();var n=function(){var t=null,n=function(){var n=_(e),i=a.find((function(e){var t=e.visibility;return t&&n>=t[0]&&n<=t[1]}));if(i){if("seek"===i.type&&i.visibility&&2===i.frames.length){var s=i.frames[0]+Math.ceil((n-i.visibility[0])/(i.visibility[1]-i.visibility[0])*i.frames[1]);r.goToAndStop(s-r.firstFrame-1,!0)}"loop"===i.type&&(null===t||t!==i.frames||r.isPaused)&&(r.playSegments(i.frames,!0),t=i.frames),"play"===i.t
vendor: 7,731 bytes, line 2
2ype&&r.isPaused&&(r.resetSegments(!0),r.play()),"stop"===i.type&&r.goToAndStop(i.frames[0]-r.firstFrame-1,!0)}};return document.addEventListener("scroll",n),function(){document.removeEventListener("scroll",n)}},s=function(){var t=function(t,n){var i=t,s=n;if(-1!==i&&-1!==s){var o=b(e,i,s);i=o.x,s=o.y}var l=a.find((function(e){var t=e.position;return t&&Array.isArray(t.x)&&Array.isArray(t.y)?i>=t.x[0]&&i<=t.x[1]&&s>=t.y[0]&&s<=t.y[1]:!(!t||Number.isNaN(t.x)||Number.isNaN(t.y))&&i===t.x&&s===t.y}));if(l){if("seek"===l.type&&l.position&&Array.isArray(l.position.x)&&Array.isArray(l.position.y)&&2===l.frames.length){var u=(i-l.position.x[0])/(l.position.x[1]-l.position.x[0]),c=(s-l.position.y[0])/(l.position.y[1]-l.position.y[0]);r.playSegments(l.frames,!0),r.goToAndStop(Math.ceil((u+c)/2*(l.frames[1]-l.frames[0])),!0)}"loop"===l.type&&r.playSegments(l.frames,!0),"play"===l.type&&(r.isPaused&&r.resetSegments(!1),r.playSegments(l.frames)),"stop"===l.type&&r.goToAndStop(l.frames[0],!0)}},n=function(e){t(e.clientX,e.clientY)},i=function(){t(-1,-1)};return e.addEventListener("mousemove",n),e.addEventListener("mouseout",i),function(){e.removeEventListener("mousemove",n),e.removeEventListener("mouseout",i)}};switch(i){case"scroll":return n();case"cursor":return s()}}}),[i,r])},T=function(e){var t=e.actions,n=e.mode,r=e.lottieObj,i=r.animationItem,a=r.View,s=r.animationContainerRef;return x({actions:t,animationItem:i,mode:n,wrapperRef:s}),a},w=["style","interactivity"],S=function(e){var t,r,i,a=e.style,s=e.interactivity,o=c(e,w),l=y(o,a),u=l.View,d=l.play,h=l.stop,f=l.pause,p=l.setSpeed,m=l.goToAndStop,g=l.goToAndPlay,v=l.setDirection,_=l.playSegments,b=l.setSubframe,x=l.getDuration,S=l.destroy,E=l.animationContainerRef,k=l.animationLoaded,C=l.animationItem;return n.useEffect((function(){e.lottieRef&&(e.lottieRef.current={play:d,stop:h,pause:f,setSpeed:p,goToAndPlay:g,goToAndStop:m,setDirection:v,playSegments:_,setSubframe:b,getDuration:x,destroy:S,animationContainerRef:E,animationLoaded:k,animationItem:C})}),[null===(t=e.lottieRef)||void 0===t?void 0:t.current]),T({lottieObj:{View:u,play:d,stop:h,pause:f,setSpeed:p,goToAndStop:m,goToAndPlay:g,setDirection:v,playSegments:_,setSubframe:b,getDuration:x,destroy:S,animationContainerRef:E,animationLoaded:k,animationItem:C},actions:null!==(r=null===s||void 0===s?void 0:s.actions)&&void 0!==r?r:[],mode:null!==(i=null===s||void 0===s?void 0:s.mode)&&void 0!==i?i:"scroll"})};Object.defineProperty(e,"LottiePlayer",{enumerable:!0,get:function(){return i.default}}),e.default=S,e.useLottie=y,e.useLottieInteractivity=T,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(7625),n(2791))},7625:function(module,exports,__webpack_require__){var factory;"undefined"!==typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var n,r,i=e.length;for(n=0;n<i;n+=1)for(var a in r=e[n].prototype)Object.prototype.hasOwnProperty.call(r,a)&&(t.prototype[a]=r[a])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,n=this.audios.length;for(t=0;t<n;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var n,r=0,i=[];switch(e){case"int16":case"uint8c":n=1;break;default:n=1.1}for(r=0;r<t;r+=1)i.push(n);return i}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?function(t,n){return"float32"===t?new Float32Array(n):"int16"===t?new Int16Array(n):"uint8c"===t?new Uint8ClampedArray(n):e(t,n)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="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},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],n=t.length;for(e=0;e<n;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,n=createSizedArray(e.length),r=e.length;for(t=0;t<r;t+=1)n[t]=Math.abs(e[t]);return n}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,n,r){this.type=e,this.currentTime=t,this.totalTime=n,this.direction=r<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,n,r){this.type=e,this.currentLoop=n,this.totalLoops=t,this.direction=r<0?-1:1}function BMSegmentStartEvent(e,t,n){this.type=e,this.firstFrame=t,this.totalFrames=n}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=function(){var e=0;return function(){return idPrefix$1+"__lottie_element_"+(e+=1)}}();function HSVtoRGB(e,t,n){var r,i,a,s,o,l,u,c;switch(l=n*(1-t),u=n*(1-(o=6*e-(s=Math.floor(6*e)))*t),c=n*(1-(1-o)*t),s%6){case 0:r=n,i=c,a=l;break;case 1:r=u,i=n,a=l;break;case 2:r=l,i=n,a=c;break;case 3:r=l,i=u,a=n;break;case 4:r=c,i=l,a=n;break;case 5:r=n,i=l,a=u}return[r,i,a]}
vendor: 30,281 bytes, line 2
2function RGBtoHSV(e,t,n){var r,i=Math.max(e,t,n),a=Math.min(e,t,n),s=i-a,o=0===i?0:s/i,l=i/255;switch(i){case a:r=0;break;case e:r=t-n+s*(t<n?6:0),r/=6*s;break;case t:r=n-e+2*s,r/=6*s;break;case n:r=e-t+4*s,r/=6*s}return[r,o,l]}function addSaturationToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[1]+=t,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e,t,n=[];for(e=0;e<256;e+=1)t=e.toString(16),n[e]=1===t.length?"0"+t:t;return function(e,t,r){return e<0&&(e=0),t<0&&(t=0),r<0&&(r=0),"#"+n[e]+n[t]+n[r]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="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},_typeof$5(e)}var dataManager=function(){var e,t,n=1,r=[],i={onmessage:function(){},postMessage:function(t){e({data:t})}},a={postMessage:function(e){i.onmessage({data:e})}};function s(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),r=URL.createObjectURL(n);return new Worker(r)}return e=t,i}((function(e){if(a.dataManager||(a.dataManager=function(){function e(i,a){var s,o,l,u,d,h,f=i.length;for(o=0;o<f;o+=1)if("ks"in(s=i[o])&&!s.completed){if(s.completed=!0,s.hasMask){var p=s.masksProperties;for(u=p.length,l=0;l<u;l+=1)if(p[l].pt.k.i)r(p[l].pt.k);else for(h=p[l].pt.k.length,d=0;d<h;d+=1)p[l].pt.k[d].s&&r(p[l].pt.k[d].s[0]),p[l].pt.k[d].e&&r(p[l].pt.k[d].e[0])}0===s.ty?(s.layers=t(s.refId,a),e(s.layers,a)):4===s.ty?n(s.shapes):5===s.ty&&c(s)}}function t(e,t){var n=function(e,t){for(var n=0,r=t.length;n<r;){if(t[n].id===e)return t[n];n+=1}return null}(e,t);return n?n.layers.__used?JSON.parse(JSON.stringify(n.layers)):(n.layers.__used=!0,n.layers):null}function n(e){var t,i,a;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)r(e[t].ks.k);else for(a=e[t].ks.k.length,i=0;i<a;i+=1)e[t].ks.k[i].s&&r(e[t].ks.k[i].s[0]),e[t].ks.k[i].e&&r(e[t].ks.k[i].e[0]);else"gr"===e[t].ty&&n(e[t].it)}function r(e){var t,n=e.i.length;for(t=0;t<n;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function i(e,t){var n=t?t.split("."):[100,100,100];return e[0]>n[0]||!(n[0]>e[0])&&(e[1]>n[1]||!(n[1]>e[1])&&(e[2]>n[2]||!(n[2]>e[2])&&null))}var a=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)5===e[n].ty&&t(e[n])}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,a=t.assets.length;for(r=0;r<a;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),s=function(){var e=[4,7,99];return function(t){if(t.chars&&!i(e,t.v)){var r,a=t.chars.length;for(r=0;r<a;r+=1){var s=t.chars[r];s.data&&s.data.shapes&&(n(s.data.shapes),s.data.ip=0,s.data.op=99999,s.data.st=0,s.data.sr=1,s.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[r].t||(s.data.shapes.push({ty:"no"}),s.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),o=function(){var e=[5,7,15];function t(e){var t=e.t.p;"number"===typeof t.a&&(t.a={a:0,k:t.a}),"number"===typeof t.p&&(t.p={a:0,k:t.p}),"number"===typeof t.r&&(t.r={a:0,k:t.r})}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)5===e[n].ty&&t(e[n])}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,a=t.assets.length;for(r=0;r<a;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),l=function(){var e=[4,1,9];function t(e){var n,r,i,a=e.length;for(n=0;n<a;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(i=e[n].c.k.length,r=0;r<i;r+=1)e[n].c.k[r].s&&(e[n].c.k[r].s[0]/=255,e[n].c.k[r].s[1]/=255,e[n].c.k[r].s[2]/=255,e[n].c.k[r].s[3]/=255),e[n].c.k[r].e&&(e[n].c.k[r].e[0]/=255,e[n].c.k[r].e[1]/=255,e[n].c.k[r].e[2]/=255,e[n].c.k[r].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)4===e[n].ty&&t(e[n].shapes)}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,a=t.assets.length;for(r=0;r<a;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),u=function(){var e=[4,4,18];function t(e){var n,r,i;for(n=e.length-1;n>=0;n-=1)if("sh"===e[n].ty)if(e[n].ks.k.i)e[n].ks.k.c=e[n].closed;else for(i=e[n].ks.k.length,r=0;r<i;r+=1)e[n].ks.k[r].s&&(e[n].ks.k[r].s[0].c=e[n].closed),e[n].ks.k[r].e&&(e[n].ks.k[r].e[0].c=e[n].closed);else"gr"===e[n].ty&&t(e[n].it)}function n(e){var n,r,i,a,s,o,l=e.length;for(r=0;r<l;r+=1){if((n=e[r]).hasMask){var u=n.masksProperties;for(a=u.length,i=0;i<a;i+=1)if(u[i].pt.k.i)u[i].pt.k.c=u[i].cl;else for(o=u[i].pt.k.length,s=0;s<o;s+=1)u[i].pt.k[s].s&&(u[i].pt.k[s].s[0].c=u[i].cl),u[i].pt.k[s].e&&(u[i].pt.k[s].e[0].c=u[i].cl)}4===n.ty&&t(n.shapes)}}return function(t){if(i(e,t.v)&&(n(t.layers),t.assets)){var r,a=t.assets.length;for(r=0;r<a;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}();function c(e){0===e.t.a.length&&e.t.p}var d={completeData:function(n){n.__complete||(l(n),a(n),s(n),o(n),u(n),e(n.layers,n.assets),function(n,r){if(n){var i=0,a=n.length;for(i=0;i<a;i+=1)1===n[i].t&&(n[i].data.layers=t(n[i].data.refId,r),e(n[i].data.layers,r))}}(n.chars,n.assets),n.__complete=!0)}};return d.checkColors=l,d.checkChars=s,d.checkPathProperties=o,d.checkShapes=u,d.completeLayers=e,d}()),a.assetLoader||(a.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"===typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,n,r,i){var a,s=new XMLHttpRequest;try{s.responseType="json"}catch(o){}s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)a=e(s),r(a);else try{a=e(s),r(a)}catch(o){i&&i(o)}};try{s.open(["G","E","T"].join(""),t,!0)}catch(l){s.open(["G","E","T"].join(""),n+"/"+t,!0)}s.send()}}}()),"loadAnimation"===e.data.type)a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}))})),t.onmessage=function(e){var t=e.data,n=t.id,i=r[n];r[n]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function o(e,t){var i="processId_"+(n+=1);return r[i]={onComplete:e,onError:t},i}return{loadAnimation:function(e,n,r){s();var i=o(n,r);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},loadData:function(e,n,r){s();var i=o(n,r);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},completeAnimation:function(e,n,r){s();var i=o(n,r);t.postMessage({type:"complete",animation:e,id:i})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(e,t,n){var r="";if(e.e)r=e.p;else if(t){var i=e.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),r=t+i}else r=n,r+=e.u?e.u:"",r+=e.p;return r}function i(e){var t=0,n=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(n)),t+=1}.bind(this),50)}function a(e){var t={assetData:e},n=r(e,this.assetsPath,this.path);return dataManager.loadData(n,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function s(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return s.prototype={loadAssets:function(e,t){var n;this.imagesLoadedCb=t;var r=e.length;for(n=0;n<r;n+=1)e[n].layers||(e[n].t&&"seq"!==e[n].t?3===e[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[n]))):(this.totalImages+=1,this.images.push(this._createImageData(e[n]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,n=this.images.length;t<n;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var n=r(t,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),i.src=n;var a={img:i,assetData:t};return a},createImageData:function(t){var n=r(t,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var a={img:i,assetData:t};return a},imageLoaded:t,footageLoaded:n,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var n=this._cbs[e],r=0;r<n.length;r+=1)n[r](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var n=0,r=this._cbs[e].length;n<r;)this._cbs[e][n]===t&&(this._cbs[e].splice(n,1),n-=1,r-=1),n+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,n=e.split("\r\n"),r={},i=0,a=0;a<n.length;a+=1)2===(t=n[a].split(":")).length&&(r[t[0]]=t[1].trim(),i+=1);if(0===i)throw new Error;return r}return function(t){for(var n=[],r=0;r<t.length;r+=1){var i=t[r],a={time:i.tm,duration:i.dr};try{a.payload=JSON.parse(t[r].cm)}catch(s){try{a.payload=e(t[r].cm)}catch(o){a.payload={name:t[r].cm}}}n.push(a)}return n}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,n=this.compositions.length;t<n;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function _typeof$4(e){return _typeof$4="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},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var n=getRenderer(t);this.renderer=new n(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var n={wrapper:e,animationData:t},r=e.attributes;n.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",n.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:"canvas";var i=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";"false"===i?n.loop=!1:"true"===i?n.loop=!0:""!==i&&(n.loop=parseInt(i,10));var a=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:!r.getNamedItem("bm-autoplay")||r.getNamedItem("bm-autoplay").value;n.autoplay="false"!==a,n.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"","false"===(r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),this.setParams(n)},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,n,r=this.animationData.layers,i=r.length,a=e.layers,s=a.length;for(n=0;n<s;n+=1)for(t=0;t<i;){if(r[t].id===a[n].id){r[t]=a[n];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,t=0;t<i;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var n="number"===typeof e?e:void 0,r="number"===typeof t?t:void 0;this.renderer.updateContainerSize(n,r)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,n=0;n<this.markers.length;n+=1)if((t=this.markers[n]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,n){if(!n||this.name===n){var r=Number(e);if(isNaN(r)){var i=this.getMarkerData(e);i&&this.goToAndStop(i.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,n){if(!n||this.name===n){var r=Number(e);if(isNaN(r)){var i=this.getMarkerData(e);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(r,t,n);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,n=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(n=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),n&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?n=e:this.currentRawFrame+this.firstFrame>t&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var n,r=e.length;for(n=0;n<r;n+=1)this.segments.push(e[n])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var n=e.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,n=this.assets.length;t<n;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,n){try{this.renderer.getElementByPath(e).updateDocumentData(t,n)}catch(r){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],n=0,r=0,i=0,a=!0,s=!1;function o(e){for(var n=0,i=e.target;n<r;)t[n].animation===i&&(t.splice(n,1),n-=1,r-=1,i.isPaused||c()),n+=1}function l(e,n){if(!e)return null;for(var i=0;i<r;){if(t[i].elem===e&&null!==t[i].elem)return t[i].animation;i+=1}var a=new AnimationItem;return d(a,e),a.setData(e,n),a}function u(){i+=1,p()}function c(){i-=1}function d(e,n){e.addEventListener("destroy",o),e.addEventListener("_active",u),e.addEventListener("_idle",c),t.push({elem:n,animation:e}),r+=1}function h(e){var o,l=e-n;for(o=0;o<r;o+=1)t[o].animation.advanceTime(l);n=e,i&&!s?window.requestAnimationFrame(h):a=!0}function f(e){n=e,window.requestAnimationFrame(h)}function p(){!s&&i&&a&&(window.requestAnimationFrame(f),a=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return d(t,null),t.setParams(e),t},e.setSpeed=function(e,n){var i;for(i=0;i<r;i+=1)t[i].animation.setSpeed(e,n)},e.setDirection=function(e,n){var i;for(i=0;i<r;i+=1)t[i].animation.setDirection(e,n)},e.play=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.play(e)},e.pause=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.pause(e)},e.stop=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.stop(e)},e.togglePause=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.togglePause(e)},e.searchAnimations=function(e,t,n){var r,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=i.length;for(r=0;r<a;r+=1)n&&i[r].setAttribute("data-bm-type",n),l(i[r],e);if(t&&0===a){n||(n="svg");var s=document.getElementsByTagName("body")[0];s.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",n),s.appendChild(o),l(o,e)}},e.resize=function(){var e;
vendor: 11,708 bytes, line 2
2for(e=0;e<r;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,n,i){var a;for(a=0;a<r;a+=1)t[a].animation.goToAndStop(e,n,i)},e.destroy=function(e){var n;for(n=r-1;n>=0;n-=1)t[n].animation.destroy(e)},e.freeze=function(){s=!0},e.unfreeze=function(){s=!1,p()},e.setVolume=function(e,n){var i;for(i=0;i<r;i+=1)t[i].animation.setVolume(e,n)},e.mute=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.mute(e)},e.unmute=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,n=t.length,r=[];for(e=0;e<n;e+=1)r.push(t[e].animation);return r},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,n,r,i,a){var s=a||("bez_"+e+"_"+n+"_"+r+"_"+i).replace(/\./g,"p");if(t[s])return t[s];var o=new u([e,n,r,i]);return t[s]=o,o}},t={},n=.1,r="function"===typeof Float32Array;function i(e,t){return 1-3*t+3*e}function a(e,t){return 3*t-6*e}function s(e){return 3*e}function o(e,t,n){return((i(t,n)*e+a(t,n))*e+s(t))*e}function l(e,t,n){return 3*i(t,n)*e*e+2*a(t,n)*e+s(t)}function u(e){this._p=e,this._mSampleValues=r?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return u.prototype={get:function(e){var t=this._p[0],n=this._p[1],r=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),t===n&&r===i?e:0===e?0:1===e?1:o(this._getTForX(e),n,i)},_precompute:function(){var e=this._p[0],t=this._p[1],n=this._p[2],r=this._p[3];this._precomputed=!0,e===t&&n===r||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],r=0;r<11;++r)this._mSampleValues[r]=o(r*n,e,t)},_getTForX:function(e){for(var t=this._p[0],r=this._p[2],i=this._mSampleValues,a=0,s=1;10!==s&&i[s]<=e;++s)a+=n;var u=a+(e-i[--s])/(i[s+1]-i[s])*n,c=l(u,t,r);return c>=.001?function(e,t,n,r){for(var i=0;i<4;++i){var a=l(t,n,r);if(0===a)return t;t-=(o(t,n,r)-e)/a}return t}(e,u,t,r):0===c?u:function(e,t,n,r,i){var a,s,l=0;do{(a=o(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s}while(Math.abs(a)>1e-7&&++l<10);return s}(e,a,a+n,t,r)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,n){var r=0,i=e,a=createSizedArray(i);return{newElement:function(){return r?a[r-=1]:t()},release:function(e){r===i&&(a=pooling.double(a),i*=2),n&&n(e),a[r]=e,r+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,n=e.lengths.length;for(t=0;t<n;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,n,r,i,a){var s=e*r+t*i+n*a-i*r-a*e-n*t;return s>-.001&&s<.001}var n=function(e,t,n,r){var i,a,s,o,l,u,c=getDefaultCurveSegments(),d=0,h=[],f=[],p=bezierLengthPool.newElement();for(s=n.length,i=0;i<c;i+=1){for(l=i/(c-1),u=0,a=0;a<s;a+=1)o=bmPow(1-l,3)*e[a]+3*bmPow(1-l,2)*l*n[a]+3*(1-l)*bmPow(l,2)*r[a]+bmPow(l,3)*t[a],h[a]=o,null!==f[a]&&(u+=bmPow(h[a]-f[a],2)),f[a]=h[a];u&&(d+=u=bmSqrt(u)),p.percents[i]=l,p.lengths[i]=d}return p.addedLength=d,p};function r(e){this.segmentLength=0,this.points=new Array(e)}function i(e,t){this.partialLength=e,this.point=t}var a=function(){var e={};return function(n,a,s,o){var l=(n[0]+"_"+n[1]+"_"+a[0]+"_"+a[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!e[l]){var u,c,d,h,f,p,m,g=getDefaultCurveSegments(),v=0,y=null;2===n.length&&(n[0]!==a[0]||n[1]!==a[1])&&t(n[0],n[1],a[0],a[1],n[0]+s[0],n[1]+s[1])&&t(n[0],n[1],a[0],a[1],a[0]+o[0],a[1]+o[1])&&(g=2);var _=new r(g);for(d=s.length,u=0;u<g;u+=1){for(m=createSizedArray(d),f=u/(g-1),p=0,c=0;c<d;c+=1)h=bmPow(1-f,3)*n[c]+3*bmPow(1-f,2)*f*(n[c]+s[c])+3*(1-f)*bmPow(f,2)*(a[c]+o[c])+bmPow(f,3)*a[c],m[c]=h,null!==y&&(p+=bmPow(m[c]-y[c],2));v+=p=bmSqrt(p),_.points[u]=new i(p,m),y=m}_.segmentLength=v,e[l]=_}return e[l]}}();function s(e,t){var n=t.percents,r=t.lengths,i=n.length,a=bmFloor((i-1)*e),s=e*t.addedLength,o=0;if(a===i-1||0===a||s===r[a])return n[a];for(var l=r[a]>s?-1:1,u=!0;u;)if(r[a]<=s&&r[a+1]>s?(o=(s-r[a])/(r[a+1]-r[a]),u=!1):a+=l,a<0||a>=i-1){if(a===i-1)return n[a];u=!1}return n[a]+(n[a+1]-n[a])*o}var o=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,r=segmentsLengthPool.newElement(),i=e.c,a=e.v,s=e.o,o=e.i,l=e._length,u=r.lengths,c=0;for(t=0;t<l-1;t+=1)u[t]=n(a[t],a[t+1],s[t],o[t+1]),c+=u[t].addedLength;return i&&l&&(u[t]=n(a[t],a[0],s[t],o[0]),c+=u[t].addedLength),r.totalLength=c,r},getNewSegment:function(t,n,r,i,a,l,u){a<0?a=0:a>1&&(a=1);var c,d=s(a,u),h=s(l=l>1?1:l,u),f=t.length,p=1-d,m=1-h,g=p*p*p,v=d*p*p*3,y=d*d*p*3,_=d*d*d,b=p*p*m,x=d*p*m+p*d*m+p*p*h,T=d*d*m+p*d*h+d*p*h,w=d*d*h,S=p*m*m,E=d*m*m+p*h*m+p*m*h,k=d*h*m+p*h*h+d*m*h,C=d*h*h,P=m*m*m,A=h*m*m+m*h*m+m*m*h,I=h*h*m+m*h*h+h*m*h,O=h*h*h;for(c=0;c<f;c+=1)o[4*c]=e.round(1e3*(g*t[c]+v*r[c]+y*i[c]+_*n[c]))/1e3,o[4*c+1]=e.round(1e3*(b*t[c]+x*r[c]+T*i[c]+w*n[c]))/1e3,o[4*c+2]=e.round(1e3*(S*t[c]+E*r[c]+k*i[c]+C*n[c]))/1e3,o[4*c+3]=e.round(1e3*(P*t[c]+A*r[c]+I*i[c]+O*n[c]))/1e3;return o},getPointInSegment:function(t,n,r,i,a,o){var l=s(a,o),u=1-l;return[e.round(1e3*(u*u*u*t[0]+(l*u*u+u*l*u+u*u*l)*r[0]+(l*l*u+u*l*l+l*u*l)*i[0]+l*l*l*n[0]))/1e3,e.round(1e3*(u*u*u*t[1]+(l*u*u+u*l*u+u*u*l)*r[1]+(l*l*u+u*l*l+l*u*l)*i[1]+l*l*l*n[1]))/1e3]},buildBezierData:a,pointOnLine2D:t,pointOnLine3D:function(n,r,i,a,s,o,l,u,c){if(0===i&&0===o&&0===c)return t(n,r,a,s,l,u);var d,h=e.sqrt(e.pow(a-n,2)+e.pow(s-r,2)+e.pow(o-i,2)),f=e.sqrt(e.pow(l-n,2)+e.pow(u-r,2)+e.pow(c-i,2)),p=e.sqrt(e.pow(l-a,2)+e.pow(u-s,2)+e.pow(c-o,2));return(d=h>f?h>p?h-f-p:p-f-h:p>f?p-f-h:f-h-p)>-1e-4&&d<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function n(e,t){var n,i=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var a,s,o,l,u,c,d,h,f,p=t.lastIndex,m=p,g=this.keyframes.length-1,v=!0;v;){if(a=this.keyframes[m],s=this.keyframes[m+1],m===g-1&&e>=s.t-i){a.h&&(a=s),p=0;break}if(s.t-i>e){p=m;break}m<g-1?m+=1:(p=0,v=!1)}o=this.keyframesMetadata[m]||{};var y,_=s.t-i,b=a.t-i;if(a.to){o.bezierData||(o.bezierData=bez.buildBezierData(a.s,s.s||a.e,a.to,a.ti));var x=o.bezierData;if(e>=_||e<b){var T=e>=_?x.points.length-1:0;for(u=x.points[T].point.length,l=0;l<u;l+=1)n[l]=x.points[T].point[l]}else{o.__fnct?f=o.__fnct:(f=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,o.__fnct=f),c=f((e-b)/(_-b));var w,S=x.segmentLength*c,E=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastPoint:0,v=!0,d=x.points.length;v;){if(E+=x.points[h].partialLength,0===S||0===c||h===x.points.length-1){for(u=x.points[h].point.length,l=0;l<u;l+=1)n[l]=x.points[h].point[l];break}if(S>=E&&S<E+x.points[h+1].partialLength){for(w=(S-E)/x.points[h+1].partialLength,u=x.points[h].point.length,l=0;l<u;l+=1)n[l]=x.points[h].point[l]+(x.points[h+1].point[l]-x.points[h].point[l])*w;break}h<d-1?h+=1:v=!1}t._lastPoint=h,t._lastAddedLength=E-x.points[h].partialLength,t._lastKeyframeIndex=m}}else{var k,C,P,A,I;if(g=a.s.length,y=s.s||a.e,this.sh&&1!==a.h)e>=_?(n[0]=y[0],n[1]=y[1],n[2]=y[2]):e<=b?(n[0]=a.s[0],n[1]=a.s[1],n[2]=a.s[2]):function(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],s=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i),o=Math.asin(2*n*r+2*i*a),l=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i);e[0]=s/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}(n,function(e,t,n){var r,i,a,s,o,l=[],u=e[0],c=e[1],d=e[2],h=e[3],f=t[0],p=t[1],m=t[2],g=t[3];return(i=u*f+c*p+d*m+h*g)<0&&(i=-i,f=-f,p=-p,m=-m,g=-g),1-i>1e-6?(r=Math.acos(i),a=Math.sin(r),s=Math.sin((1-n)*r)/a,o=Math.sin(n*r)/a):(s=1-n,o=n),l[0]=s*u+o*f,l[1]=s*c+o*p,l[2]=s*d+o*m,l[3]=s*h+o*g,l}(r(a.s),r(y),(e-b)/(_-b)));else for(m=0;m<g;m+=1)1!==a.h&&(e>=_?c=1:e<b?c=0:(a.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[m]?f=o.__fnct[m]:(k=void 0===a.o.x[m]?a.o.x[0]:a.o.x[m],C=void 0===a.o.y[m]?a.o.y[0]:a.o.y[m],P=void 0===a.i.x[m]?a.i.x[0]:a.i.x[m],A=void 0===a.i.y[m]?a.i.y[0]:a.i.y[m],f=BezierFactory.getBezierEasing(k,C,P,A).get,o.__fnct[m]=f)):o.__fnct?f=o.__fnct:(k=a.o.x,C=a.o.y,P=a.i.x,A=a.i.y,f=BezierFactory.getBezierEasing(k,C,P,A).get,a.keyframeMetadata=f),c=f((e-b)/(_-b)))),y=s.s||a.e,I=1===a.h?a.s[m]:a.s[m]+(y[m]-a.s[m])*c,"multidimensional"===this.propType?n[m]=I:n=I}return t.lastIndex=p,n}function r(e){var t=e[0]*degToRads,n=e[1]*degToRads,r=e[2]*degToRads,i=Math.cos(t/2),a=Math.cos(n/2),s=Math.cos(r/2),o=Math.sin(t/2),l=Math.sin(n/2),u=Math.sin(r/2);return[o*l*s+i*a*u,o*a*s+i*l*u,i*l*s-o*a*u,i*a*s-o*l*u]}function i(){var t=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame<n&&t<n))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function a(e){var n;if("unidimensional"===this.propType)n=e*this.mult,t(this.v-n)>1e-5&&(this.v=n,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)n=e[r]*this.mult,t(this.v[r]-n)>1e-5&&(this.v[r]=n,this._mdf=!0),r+=1}function s(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)n=this.effectsSequence[e](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(e,t,n,r){this.propType="unidimensional",this.mult=n||1,this.data=t,this.v=n?t.k*n:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.addEffect=o}function u(e,t,n,r){var i;this.propType="multidimensional",this.mult=n||1,this.data=t,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var l=t.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),this.vel=createTypedArray("float32",l),i=0;i<l;i+=1)this.v[i]=t.k[i]*this.mult,this.pv[i]=t.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=s,this.setVValue=a,this.addEffect=o}function c(t,r,l,u){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=l||1,this.elem=t,this.container=u,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.interpolateValue=n,this.effectsSequence=[i.bind(this)],this.addEffect=o}function d(t,r,l,u){var c;this.propType="multidimensional";var d,h,f,p,m=r.k.length;for(c=0;c<m-1;c+=1)r.k[c].to&&r.k[c].s&&r.k[c+1]&&r.k[c+1].s&&(d=r.k[c].s,h=r.k[c+1].s,f=r.k[c].to,p=r.k[c].ti,(2===d.length&&(d[0]!==h[0]||d[1]!==h[1])&&bez.pointOnLine2D(d[0],d[1],h[0],h[1],d[0]+f[0],d[1]+f[1])&&bez.pointOnLine2D(d[0],d[1],h[0],h[1],h[0]+p[0],h[1]+p[1])||3===d.length&&(d[0]!==h[0]||d[1]!==h[1]||d[2]!==h[2])&&bez.pointOnLine3D(d[0],d[1],d[2],h[0],h[1],h[2],d[0]+f[0],d[1]+f[1],d[2]+f[2])&&bez.pointOnLine3D(d[0],d[1],d[2],h[0],h[1],h[2],h[0]+p[0],h[1]+p[1],h[2]+p[2]))&&(r.k[c].to=null,r.k[c].ti=null),d[0]===h[0]&&d[1]===h[1]&&0===f[0]&&0===f[1]&&0===p[0]&&0===p[1]&&(2===d.length||d[2]===
vendor: 1,920 bytes, line 2
2h[2]&&0===f[2]&&0===p[2])&&(r.k[c].to=null,r.k[c].ti=null));this.effectsSequence=[i.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=t,this.container=u,this.comp=t.comp,this.getValue=s,this.setVValue=a,this.interpolateValue=n,this.frameId=-1;var g=r.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),c=0;c<g;c+=1)this.v[c]=e,this.pv[c]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=o}return{getProp:function(e,t,n,r,i){var a;if(t.k.length)if("number"===typeof t.k[0])a=new u(e,t,r,i);else switch(n){case 0:a=new c(e,t,r,i);break;case 1:a=new d(e,t,r,i)}else a=new l(e,t,r,i);return a.effectsSequence.length&&i.addDynamicProperty(a),a}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var n=0;n<t;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;
vendor: 12,109 bytes, line 2
2)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,n,r,i){var a;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[r]||a[r]&&!i)&&(a[r]=pointPool.newElement()),a[r][0]=e,a[r][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,r,i,a,s,o){this.setXYAt(e,t,"v",s,o),this.setXYAt(n,r,"o",s,o),this.setXYAt(i,a,"i",s,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,r=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),i=1);var a,s=this._length-1,o=this._length;for(a=i;a<o;a+=1)e.setTripleAt(t[s][0],t[s][1],r[s][0],r[s][1],n[s][0],n[s][1],a,!1),s-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){var e=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,n=e._length;for(t=0;t<n;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1}));return e.clone=function(t){var n,r=e.newElement(),i=void 0===t._length?t.v.length:t._length;for(r.setLength(i),r.c=t.c,n=0;n<i;n+=1)r.setTripleAt(t.v[n][0],t.v[n][1],t.o[n][0],t.o[n][1],t.i[n][0],t.i[n][1],n);return r},e}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:function(){return t?r[t-=1]:new ShapeCollection},release:function(e){var i,a=e._length;for(i=0;i<a;i+=1)shapePool.release(e.shapes[i]);e._length=0,t===n&&(r=pooling.double(r),n*=2),r[t]=e,t+=1}},t=0,n=4,r=createSizedArray(n);return e}(),ShapePropertyFactory=function(){var e=-999999;function t(e,t,n){var r,i,a,s,o,l,u,c,d,h=n.lastIndex,f=this.keyframes;if(e<f[0].t-this.offsetTime)r=f[0].s[0],a=!0,h=0;else if(e>=f[f.length-1].t-this.offsetTime)r=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],a=!0;else{for(var p,m,g,v=h,y=f.length-1,_=!0;_&&(p=f[v],!((m=f[v+1]).t-this.offsetTime>e));)v<y-1?v+=1:_=!1;if(g=this.keyframesMetadata[v]||{},h=v,!(a=1===p.h)){if(e>=m.t-this.offsetTime)c=1;else if(e<p.t-this.offsetTime)c=0;else{var b;g.__fnct?b=g.__fnct:(b=BezierFactory.getBezierEasing(p.o.x,p.o.y,p.i.x,p.i.y).get,g.__fnct=b),c=b((e-(p.t-this.offsetTime))/(m.t-this.offsetTime-(p.t-this.offsetTime)))}i=m.s?m.s[0]:p.e[0]}r=p.s[0]}for(l=t._length,u=r.i[0].length,n.lastIndex=h,s=0;s<l;s+=1)for(o=0;o<u;o+=1)d=a?r.i[s][o]:r.i[s][o]+(i.i[s][o]-r.i[s][o])*c,t.i[s][o]=d,d=a?r.o[s][o]:r.o[s][o]+(i.o[s][o]-r.o[s][o])*c,t.o[s][o]=d,d=a?r.v[s][o]:r.v[s][o]+(i.v[s][o]-r.v[s][o])*c,t.v[s][o]=d}function n(){var t=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==e&&(i<n&&t<n||i>r&&t>r)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function r(){this.paths=this.localShapeCollection}function i(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var n,r=e._length;for(n=0;n<r;n+=1)if(e.v[n][0]!==t.v[n][0]||e.v[n][1]!==t.v[n][1]||e.o[n][0]!==t.o[n][0]||e.o[n][1]!==t.o[n][1]||e.i[n][0]!==t.i[n][0]||e.i[n][1]!==t.i[n][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var n=this.effectsSequence.length;for(t=0;t<n;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(e,t,n){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===n?t.pt.k:t.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function o(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(t,i,a){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===a?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=r,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[n.bind(this)]}s.prototype.interpolateShape=t,s.prototype.getValue=a,s.prototype.setVValue=i,s.prototype.addEffect=o,l.prototype.getValue=a,l.prototype.interpolateShape=t,l.prototype.setVValue=i,l.prototype.addEffect=o;var u=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],n=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,a=3!==this.d,s=this.v;s.v[0][0]=t,s.v[0][1]=n-i,s.v[1][0]=a?t+r:t-r,s.v[1][1]=n,s.v[2][0]=t,s.v[2][1]=n+i,s.v[3][0]=a?t-r:t+r,s.v[3][1]=n,s.i[0][0]=a?t-r*e:t+r*e,s.i[0][1]=n-i,s.i[1][0]=a?t+r:t-r,s.i[1][1]=n-i*e,s.i[2][0]=a?t+r*e:t-r*e,s.i[2][1]=n+i,s.i[3][0]=a?t-r:t+r,s.i[3][1]=n+i*e,s.o[0][0]=a?t+r*e:t-r*e,s.o[0][1]=n-i,s.o[1][0]=a?t+r:t-r,s.o[1][1]=n+i*e,s.o[2][0]=a?t-r*e:t+r*e,s.o[2][1]=n+i,s.o[3][0]=a?t-r:t+r,s.o[3][1]=n-i*e}},extendPrototype([DynamicPropertyContainer],t),t}(),c=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,n,r,i=2*Math.floor(this.pt.v),a=2*Math.PI/i,s=!0,o=this.or.v,l=this.ir.v,u=this.os.v,c=this.is.v,d=2*Math.PI*o/(2*i),h=2*Math.PI*l/(2*i),f=-Math.PI/2;f+=this.r.v;var p=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<i;e+=1){n=s?u:c,r=s?d:h;var m=(t=s?o:l)*Math.cos(f),g=t*Math.sin(f),v=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),y=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-v*r*n*p,g-y*r*n*p,m+v*r*n*p,g+y*r*n*p,e,!0),s=!s,f+=a*p}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),n=2*Math.PI/t,r=this.or.v,i=this.os.v,a=2*Math.PI*r/(4*t),s=.5*-Math.PI,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=r*Math.cos(s),u=r*Math.sin(s),c=0===l&&0===u?0:u/Math.sqrt(l*l+u*u),d=0===l&&0===u?0:-l/Math.sqrt(l*l+u*u);l+=+this.p.v[0],u+=+this.p.v[1],this.v.setTripleAt(l,u,l-c*a*i*o,u-d*a*i*o,l+c*a*i*o,u+d*a*i*o,e,!0),s+=n*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),d=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],n=this.s.v[0]/2,r=this.s.v[1]/2,i=bmMin(n,r,this.r.v),a=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+n,t-r+i,e+n,t-r+i,e+n,t-r+a,0,!0),this.v.setTripleAt(e+n,t+r-i,e+n,t+r-a,e+n,t+r-i,1,!0),0!==i?(this.v.setTripleAt(e+n-i,t+r,e+n-i,t+r,e+n-a,t+r,2,!0),this.v.setTripleAt(e-n+i,t+r,e-n+a,t+r,e-n+i,t+r,3,!0),this.v.setTripleAt(e-n,t+r-i,e-n,t+r-i,e-n,t+r-a,4,!0),this.v.setTripleAt(e-n,t-r+i,e-n,t-r+a,e-n,t-r+i,5,!0),this.v.setTripleAt(e-n+i,t-r,e-n+i,t-r,e-n+a,t-r,6,!0),this.v.setTripleAt(e+n-i,t-r,e+n-a,t-r,e+n-i,t-r,7,!0)):(this.v.setTripleAt(e-n,t+r,e-n+a,t+r,e-n,t+r,2),this.v.setTripleAt(e-n,t-r,e-n,t-r+a,e-n,t-r,3))):(this.v.setTripleAt(e+n,t-r+i,e+n,t-r+a,e+n,t-r+i,0,!0),0!==i?(this.v.setTripleAt(e+n-i,t-r,e+n-i,t-r,e+n-a,t-r,1,!0),this.v.setTripleAt(e-n+i,t-r,e-n+a,t-r,e-n+i,t-r,2,!0),this.v.setTripleAt(e-n,t-r+i,e-n,t-r+i,e-n,t-r+a,3,!0),this.v.setTripleAt(e-n,t+r-i,e-n,t+r-a,e-n,t+r-i,4,!0),this.v.setTripleAt(e-n+i,t+r,e-n+i,t+r,e-n+a,t+r,5,!0),this.v.setTripleAt(e+n-i,t+r,e+n-a,t+r,e+n-i,t+r,6,!0),this.v.setTripleAt(e+n,t+r-i,e+n,t+r-i,e+n,t+r-a,7,!0)):(this.v.setTripleAt(e-n,t-r,e-n+a,t-r,e-n,t-r,1,!0),this.v.setTripleAt(e-n,t+r,e-n,t+r-a,e-n,t+r,2,!0),this.v.setTripleAt(e+n,t+r,e+n-a,t+r,e+n,t+r,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],e),e}(),h={getShapeProp:function(e,t,n){var r;return 3===n||4===n?r=(3===n?t.pt:t.ks).k.length?new l(e,t,n):new s(e,t,n):5===n?r=new d(e,t):6===n?r=new u(e,t):7===n&&(r=new c(e,t)),r.k&&e.addDynamicProperty(r),r},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}};return h}(),Matrix=function(){var e=Math.cos,t=Math.sin,n=Math.tan,r=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}
vendor: 9,610 bytes, line 2
2function s(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(1,0,0,0,0,r,-i,0,0,i,r,0,0,0,0,1)}function o(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(r,0,i,0,0,1,0,0,-i,0,r,0,0,0,0,1)}function l(n){if(0===n)return this;var r=e(n),i=t(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function u(e,t){return this._t(1,t,e,1,0,0)}function c(e,t){return this.shear(n(e),n(t))}function d(r,i){var a=e(i),s=t(i);return this._t(a,s,0,0,-s,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(r),1,0,0,0,0,1,0,0,0,0,1)._t(a,-s,0,0,s,a,0,0,0,0,1,0,0,0,0,1)}function h(e,t,n){return n||0===n||(n=1),1===e&&1===t&&1===n?this:this._t(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1)}function f(e,t,n,r,i,a,s,o,l,u,c,d,h,f,p,m){return this.props[0]=e,this.props[1]=t,this.props[2]=n,this.props[3]=r,this.props[4]=i,this.props[5]=a,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=u,this.props[10]=c,this.props[11]=d,this.props[12]=h,this.props[13]=f,this.props[14]=p,this.props[15]=m,this}function p(e,t,n){return n=n||0,0!==e||0!==t||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1):this}function m(e,t,n,r,i,a,s,o,l,u,c,d,h,f,p,m){var g=this.props;if(1===e&&0===t&&0===n&&0===r&&0===i&&1===a&&0===s&&0===o&&0===l&&0===u&&1===c&&0===d)return g[12]=g[12]*e+g[15]*h,g[13]=g[13]*a+g[15]*f,g[14]=g[14]*c+g[15]*p,g[15]*=m,this._identityCalculated=!1,this;var v=g[0],y=g[1],_=g[2],b=g[3],x=g[4],T=g[5],w=g[6],S=g[7],E=g[8],k=g[9],C=g[10],P=g[11],A=g[12],I=g[13],O=g[14],D=g[15];return g[0]=v*e+y*i+_*l+b*h,g[1]=v*t+y*a+_*u+b*f,g[2]=v*n+y*s+_*c+b*p,g[3]=v*r+y*o+_*d+b*m,g[4]=x*e+T*i+w*l+S*h,g[5]=x*t+T*a+w*u+S*f,g[6]=x*n+T*s+w*c+S*p,g[7]=x*r+T*o+w*d+S*m,g[8]=E*e+k*i+C*l+P*h,g[9]=E*t+k*a+C*u+P*f,g[10]=E*n+k*s+C*c+P*p,g[11]=E*r+k*o+C*d+P*m,g[12]=A*e+I*i+O*l+D*h,g[13]=A*t+I*a+O*u+D*f,g[14]=A*n+I*s+O*c+D*p,g[15]=A*r+I*o+O*d+D*m,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function y(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function _(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function b(e,t,n){return{x:e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}}function x(e,t,n){return e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12]}function T(e,t,n){return e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13]}function w(e,t,n){return e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}function S(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,n=-this.props[1]/e,r=-this.props[4]/e,i=this.props[0]/e,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,o=new Matrix;return o.props[0]=t,o.props[1]=n,o.props[4]=r,o.props[5]=i,o.props[12]=a,o.props[13]=s,o}function E(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function k(e){var t,n=e.length,r=[];for(t=0;t<n;t+=1)r[t]=E(e[t]);return r}function C(e,t,n){var r=createTypedArray("float32",6);if(this.isIdentity())r[0]=e[0],r[1]=e[1],r[2]=t[0],r[3]=t[1],r[4]=n[0],r[5]=n[1];else{var i=this.props[0],a=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],u=this.props[13];r[0]=e[0]*i+e[1]*s+l,r[1]=e[0]*a+e[1]*o+u,r[2]=t[0]*i+t[1]*s+l,r[3]=t[0]*a+t[1]*o+u,r[4]=n[0]*i+n[1]*s+l,r[5]=n[0]*a+n[1]*o+u}return r}function P(e,t,n){return this.isIdentity()?[e,t,n]:[e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]]}function A(e,t){if(this.isIdentity())return e+","+t;var n=this.props;return Math.round(100*(e*n[0]+t*n[4]+n[12]))/100+","+Math.round(100*(e*n[1]+t*n[5]+n[13]))/100}function I(){for(var e=0,t=this.props,n="matrix3d(";e<16;)n+=r(1e4*t[e])/1e4,n+=15===e?")":",",e+=1;return n}function O(e){return e<1e-6&&e>0||e>-1e-6&&e<0?r(1e4*e)/1e4:e}function D(){var e=this.props;return"matrix("+O(e[0])+","+O(e[1])+","+O(e[4])+","+O(e[5])+","+O(e[12])+","+O(e[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=c,this.skewFromAxis=d,this.shear=u,this.scale=h,this.setTransform=f,this.translate=p,this.transform=m,this.applyToPoint=b,this.applyToX=x,this.applyToY=T,this.applyToZ=w,this.applyToPointArray=P,this.applyToTriplePoints=C,this.applyToPointStringified=A,this.toCSS=I,this.to2dCSS=D,this.clone=y,this.cloneFromProps=_,this.equals=v,this.inversePoints=k,this.inversePoint=E,this.getInverseMatrix=S,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="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},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"===typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),n=0;n<t.length;n+=1){var r=t[n].split("=");if(decodeURIComponent(r[0])==e)return decodeURIComponent(r[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.10.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(err){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,n){t[e]||(t[e]=n)},e.getModifier=function(e,n,r){return new t[e](n,r)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=Pro
vendor: 5,993 bytes, line 2
2pertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,n,r,i){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var s,o,l=[],u=a.length;for(s=0;s<u;s+=1){var c,d;(o=a[s]).e*i<r||o.s*i>r+n||(c=o.s*i<=r?0:(o.s*i-r)/n,d=o.e*i>=r+n?1:(o.e*i-r)/n,l.push([c,d]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t<n;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,n,r,i;if(this._mdf||e){var a=this.o.v%360/360;if(a<0&&(a+=1),(t=this.s.v>1?1+a:this.s.v<0?0+a:this.s.v+a)>(n=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var s=t;t=n,n=s}t=1e-4*Math.round(1e4*t),n=1e-4*Math.round(1e4*n),this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var o,l,u,c,d,h=this.shapes.length,f=0;if(n===t)for(i=0;i<h;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===n&&0===t||0===n&&1===t){if(this._mdf)for(i=0;i<h;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var p,m,g=[];for(i=0;i<h;i+=1)if((p=this.shapes[i]).shape._mdf||this._mdf||e||2===this.m){if(l=(r=p.shape.paths)._length,d=0,!p.shape._mdf&&p.pathsData.length)d=p.totalShapeLength;else{for(u=this.releasePathsData(p.pathsData),o=0;o<l;o+=1)c=bez.getSegmentsLength(r.shapes[o]),u.push(c),d+=c.totalLength;p.totalShapeLength=d,p.pathsData=u}f+=d,p.shape._mdf=!0}else p.shape.paths=p.localShapeCollection;var v,y=t,_=n,b=0;for(i=h-1;i>=0;i-=1)if((p=this.shapes[i]).shape._mdf){for((m=p.localShapeCollection).releaseShapes(),2===this.m&&h>1?(v=this.calculateShapeEdges(t,n,p.totalShapeLength,b,f),b+=p.totalShapeLength):v=[[y,_]],l=v.length,o=0;o<l;o+=1){y=v[o][0],_=v[o][1],g.length=0,_<=1?g.push({s:p.totalShapeLength*y,e:p.totalShapeLength*_}):y>=1?g.push({s:p.totalShapeLength*(y-1),e:p.totalShapeLength*(_-1)}):(g.push({s:p.totalShapeLength*y,e:p.totalShapeLength}),g.push({s:0,e:p.totalShapeLength*(_-1)}));var x=this.addShapes(p,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(p.shape.paths.shapes[p.shape.paths._length-1].c){var T=x.pop();this.addPaths(x,m),x=this.addShapes(p,g[1],T)}else this.addPaths(x,m),x=this.addShapes(p,g[1]);this.addPaths(x,m)}}p.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t.addShape(e[n])},TrimModifier.prototype.addSegment=function(e,t,n,r,i,a,s){i.setXYAt(t[0],t[1],"o",a),i.setXYAt(n[0],n[1],"i",a+1),s&&i.setXYAt(e[0],e[1],"v",a),i.setXYAt(r[0],r[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,n,r){t.setXYAt(e[1],e[5],"o",n),t.setXYAt(e[2],e[6],"i",n+1),r&&t.setXYAt(e[0],e[4],"v",n),t.setXYAt(e[3],e[7],"v",n+1)},TrimModifier.prototype.addShapes=function(e,t,n){var r,i,a,s,o,l,u,c,d=e.pathsData,h=e.shape.paths.shapes,f=e.shape.paths._length,p=0,m=[],g=!0;for(n?(o=n._length,c=n._length):(n=shapePool.newElement(),o=0,c=0),m.push(n),r=0;r<f;r+=1){for(l=d[r].lengths,n.c=h[r].c,a=h[r].c?l.length:l.length+1,i=1;i<a;i+=1)if(p+(s=l[i-1]).addedLength<t.s)p+=s.addedLength,n.c=!1;else{if(p>t.e){n.c=!1;break}t.s<=p&&t.e>=p+s.addedLength?(this.addSegment(h[r].v[i-1],h[r].o[i-1],h[r].i[i],h[r].v[i],n,o,g),g=!1):(u=bez.getNewSegment(h[r].v[i-1],h[r].v[i],h[r].o[i-1],h[r].i[i],(t.s-p)/s.addedLength,(t.e-p)/s.addedLength,l[i-1]),this.addSegmentFromArray(u,n,o,g),g=!1,n.c=!1),p+=s.addedLength,o+=1}if(h[r].c&&l.length){if(s=l[i-1],p<=t.e){var v=l[i-1].addedLength;t.s<=p&&t.e>=p+v?(this.addSegment(h[r].v[i-1],h[r].o[i-1],h[r].i[0],h[r].v[0],n,o,g),g=!1):(u=bez.getNewSegment(h[r].v[i-1],h[r].v[0],h[r].o[i-1],h[r].i[0],(t.s-p)/v,(t.e-p)/v,l[i-1]),this.addSegmentFromArray(u,n,o,g),g=!1,n.c=!1)}else n.c=!1;p+=s.addedLength,o+=1}if(n._length&&(n.setXYAt(n.v[c][0],n.v[c][1],"i",c),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),p>t.e)break;r<f-1&&(n=shapePool.newElement(),g=!0,m.push(n),o=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var n=t/100,r=[0,0],i=e._length,a=0;for(a=0;a<i;a+=1)r[0]+=e.v[a][0],r[1]+=e.v[a][1];r[0]/=i,r[1]/=i;var s,o,l,u,c,d,h=shapePool.newElement();for(h.c=e.c,a=0;a<i;a+=1)s=e.v[a][0]+(r[0]-e.v[a][0])*n,o=e.v[a][1]+(r[1]-e.v[a][1])*n,l=e.o[a][0]+(r[0]-e.o[a][0])*-n,u=e.o[a][1]+(r[1]-e.o[a][1])*-n,c=e.i[a][0]+(r[0]-e.i[a][0])*-n,d=e.i[a][1]+(r[1]-e.i[a][1])*-n,h.setTripleAt(s,o,l,u,c,d,a);return h},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,n,r,i,a,s,o=this.shapes.length,l=this.amount.v;if(0!==l)for(n=0;n<o;n+=1){if(s=(a=this.shapes[n]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,r=0;r<i;r+=1)s.addShape(this.processPath(t[r],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,n){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]}
vendor: 22,243 bytes, line 2
2,1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var r,i=t.or.k.length;for(r=0;r<i;r+=1)t.or.k[r].to=null,t.or.k[r].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var n;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var r,i;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(r=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],i=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(r[0]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),r[1]=s.getValueAtTime((s.keyframes[0].t+.01)/n,0),i[0]=a.getValueAtTime(a.keyframes[0].t/n,0),i[1]=s.getValueAtTime(s.keyframes[0].t/n,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(r[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),r[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/n,0),i[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0),i[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/n,0)):(r=[a.pv,s.pv],i[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime),i[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/n,s.offsetTime))}else r=i=e;this.v.rotate(-Math.atan2(r[1]-i[1],r[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,n,r){return new t(e,n,r)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,n){return e*(1-n)+t*n}function lerpPoint(e,t,n){return[lerp(e[0],t[0],n),lerp(e[1],t[1],n)]}function quadRoots(e,t,n){if(0===e)return[];var r=t*t-4*e*n;if(r<0)return[];var i=-t/(2*e);if(0===r)return[i];var a=Math.sqrt(r)/(2*e);return[i-a,i+a]}function polynomialCoefficients(e,t,n,r){return[3*t-e-3*n+r,3*e-6*t+3*n,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,n,r,i){i&&pointEqual(e,t)&&(t=lerpPoint(e,r,1/3)),i&&pointEqual(n,r)&&(n=lerpPoint(e,r,2/3));var a=polynomialCoefficients(e[0],t[0],n[0],r[0]),s=polynomialCoefficients(e[1],t[1],n[1],r[1]);this.a=[a[0],s[0]],this.b=[a[1],s[1]],this.c=[a[2],s[2]],this.d=[a[3],s[3]],this.points=[e,t,n,r]}function extrema(e,t){var n=e.points[0][t],r=e.points[e.points.length-1][t];if(n>r){var i=r;r=n,n=i}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),s=0;s<a.length;s+=1)if(a[s]>0&&a[s]<1){var o=e.point(a[s])[t];o<n?n=o:o>r&&(r=o)}return{min:n,max:r}}function intersectData(e,t,n){var r=e.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:e,t:(t+n)/2,t1:t,t2:n}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return 2*Math.abs(e.cx-t.cx)<e.width+t.width&&2*Math.abs(e.cy-t.cy)<e.height+t.height}function intersectsImpl(e,t,n,r,i,a){if(boxIntersect(e,t))if(n>=a||e.width<=r&&e.height<=r&&t.width<=r&&t.height<=r)i.push([e.t,t.t]);else{var s=splitData(e),o=splitData(t);intersectsImpl(s[0],o[0],n+1,r,i,a),intersectsImpl(s[0],o[1],n+1,r,i,a),intersectsImpl(s[1],o[0],n+1,r,i,a),intersectsImpl(s[1],o[1],n+1,r,i,a)}}function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,n,r){var i=[e[0],e[1],1],a=[t[0],t[1],1],s=[n[0],n[1],1],o=[r[0],r[1],1],l=crossProduct(crossProduct(i,a),crossProduct(s,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,n){return[e[0]+Math.cos(t)*n,e[1]-Math.sin(t)*n]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}function setPoint(e,t,n,r,i,a,s){var o=n-Math.PI/2,l=n+Math.PI/2,u=t[0]+Math.cos(n)*r*i,c=t[1]-Math.sin(n)*r*i;e.setTripleAt(u,c,u+Math.cos(o)*a,c-Math.sin(o)*a,u+Math.cos(l)*s,c-Math.sin(l)*s,e.length())}function getPerpendicularVector(e,t){var n=[t[0]-e[0],t[1]-e[1]],r=.5*-Math.PI;return[Math.cos(r)*n[0]-Math.sin(r)*n[1],Math.sin(r)*n[0]+Math.cos(r)*n[1]]}function getProjectingAngle(e,t){var n=0===t?e.length()-1:t-1,r=(t+1)%e.length(),i=getPerpendicularVector(e.v[n],e.v[r]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(e,t,n,r,i,a,s){var o=getProjectingAngle(t,n),l=t.v[n%t._length],u=t.v[0===n?t._length-1:n-1],c=t.v[(n+1)%t._length],d=2===a?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0,h=2===a?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0;setPoint(e,t.v[n%t._length],o,s,r,h/(2*(i+1)),d/(2*(i+1)),a)}function zigZagSegment(e,t,n,r,i,a){for(var s=0;s<r;s+=1){var o=(s+1)/(r+1),l=2===i?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,u=t.normalAngle(o);setPoint(e,t.point(o),u,a,n,l/(2*(r+1)),l/(2*(r+1)),i),a=-a}return a}function linearOffset(e,t,n){var r=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,r,n),polarOffset(t,r,n)]}function offsetSegment(e,t){var n,r,i,a,s,o,l;n=(l=linearOffset(e.points[0],e.points[1],t))[0],r=l[1],i=(l=linearOffset(e.points[1],e.points[2],t))[0],a=l[1],s=(l=linearOffset(e.points[2],e.points[3],t))[0],o=l[1];var u=lineIntersection(n,r,i,a);null===u&&(u=r);var c=lineIntersection(s,o,i,a);return null===c&&(c=s),new PolynomialBezier(n,u,c,o)}function joinLines(e,t,n,r,i){var a=t.points[3],s=n.points[0];if(3===r)return a;if(pointEqual(a,s))return a;if(2===r){var o=-t.tangentAngle(1),l=-n.tangentAngle(0)+Math.PI,u=lineIntersection(a,polarOffset(a,o+Math.PI/2,100),s,polarOffset(s,o+Math.PI/2,100)),c=u?pointDistance(u,a):pointDistance(a,s)/2,d=polarOffset(a,o,2*c*roundCorner);return e.setXYAt(d[0],d[1],"o",e.length()-1),d=polarOffset(s,l,2*c*roundCorner),e.setTripleAt(s[0],s[1],s[0],s[1],d[0],d[1],e.length()),s}var h=lineIntersection(pointEqual(a,t.points[2])?t.points[0]:t.points[2],a,s,pointEqual(s,n.points[1])?n.points[3]:n.points[1]);return h&&pointDistance(h,a)<i?(e.setTripleAt(h[0],h[1],h[0],h[1],h[0],h[1],e.length()),h):a}function getIntersection(e,t){var n=e.intersections(t);return n.length&&floatEqual(n[0][0],1)&&n.shift(),n.length?n[0]:null}function pruneSegmentIntersection(e,t){var n=e.slice(),r=t.slice(),i=getIntersection(e[e.length-1],t[0]);return i&&(n[e.length-1]=e[e.length-1].split(i[0])[0],r[0]=t[0].split(i[1])[1]),e.length>1&&t.length>1&&(i=getIntersection(e[0],t[t.length-1]))?[[e[0].split(i[0])[0]],[t[t.length-1].split(i[1])[1]]]:[n,r]}function pruneIntersections(e){for(var t,n=1;n<e.length;n+=1)t=pruneSegmentIntersection(e[n-1],e[n]),e[n-1]=t[0],e[n]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var n,r,i,a,s=e.inflectionPoints();if(0===s.length)return[offsetSegment(e,t)];if(1===s.length||floatEqual(s[1],1))return n=(i=e.split(s[0]))[0],r=i[1],[offsetSegment(n,t),offsetSegment(r,t)];n=(i=e.split(s[0]))[0];var o=(s[1]-s[0])/(1-s[0]);return a=(i=i[1].split(o))[0],r=i[1],[offsetSegment(n,t),offsetSegment(a,t),offsetSegment(r,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",r="normal",i=t.length,a=0;a<i;a+=1)switch(t[a].toLowerCase()){case"italic":r="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:r,weight:e.fWeight||n}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,n,r,i,a){var s=a?-1:1,o=r.s.v[0]+(1-r.s.v[0])*(1-i),l=r.s.v[1]+(1-r.s.v[1])*(1-i);e.translate(r.p.v[0]*s*i,r.p.v[1]*s*i,r.p.v[2]),t.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),t.rotate(-r.r.v*s*i),t.translate(r.a.v[0],r.a.v[1],r.a.v[2]),n.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),n.scale(a?1/o:o,a?1/l:l),n.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(e,t,n,r){for(this.elem=e,this.arr=t,this.pos=n,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[n]);n>0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]._render=t,"gr"===e[n].ty&&this.changeGroupRender(e[n].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,n,r,i,a,s=!1;if(this._mdf||e){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(a=0,r=0;r<=this._groups.length-1;r+=1){if(o=a<l,this._groups[r]._render=o,this.changeGroupRender(this._groups[r].it,o),!o){var c=this.elemsData[r].it,d=c[c.length-1];0!==d.transform.op.v?(d.transform.op._mdf=!0,d.transform.op.v=0):d.transform.op._mdf=!1}a+=1}this._currentCopies=l;var h=this.o.v,f=h%1,p=h>0?Math.floor(h):Math.ceil(h),m=this.pMatrix.props,g=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,_,b=0;if(h>0){for(;b<p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,f,!1),b+=f)}else if(h<0){for(;b>p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),b-=f)}for(r=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(_=(n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==b){for((0!==r&&1===i||r!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),y=0;y<_;y+=1)n[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<_;y+=1)n[y]=this.matrix.props[y];b+=1,a-=1,r+=i}}else for(a=this._currentCopies,r=0,i=1;a;)n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,r+=i;return s},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var n,r=shapePool.newElement();r.c=e.c;var i,a,s,o,l,u,c,d,h,f,p,m,g=e._length,v=0;for(n=0;n<g;n+=1)i=e.v[n],s=e.o[n],a=e.i[n],i[0]===s[0]&&i[1]===s[1]&&i[0]===a[0]&&i[1]===a[1]?0!==n&&n!==g-1||e.c?(o=0===n?e.v[g-1]:e.v[n-1],u=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,c=p=i[0]+(o[0]-i[0])*u,d=m=i[1]-(i[1]-o[1])*u,h=c-(c-i[0])*roundCorner,f=d-(d-i[1])*roundCorner,r.setTripleAt(c,d,h,f,p,m,v),v+=1,o=n===g-1?e.v[0]:e.v[n+1],u=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,c=h=i[0]+(o[0]-i[0])*u,d=f=i[1]+(o[1]-i[1])*u,p=c-(c-i[0])*roundCorner,m=d-(d-i[1])*roundCorner,r.setTripleAt(c,d,h,f,p,m,v),v+=1):(r.setTripleAt(i[0],i[1],s[0],s[1],a[0],a[1],v),v+=1):(r.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],v),v+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,n,r,i,a,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(n=0;n<o;n+=1){if(s=(a=this.shapes[n]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,r=0;r<i;r+=1)s.addShape(this.processPath(t[r],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,n=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(n<0)return[];var r=Math.sqrt(n);return floatZero(r)?r>0&&r<1?[t]:[]:[t-r,t+r].filter((function(e){return e>0&&e<1}))},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),n=lerpPoint(this.points[1],this.points[2],e),r=lerpPoint(this.points[2],this.points[3],e),i=lerpPoint(t,n,e),a=lerpPoint(n,r,e),s=lerpPoint(i,a,e);return[new PolynomialBezier(this.points[0],t,i,s,!0),new PolynomialBezier(s,a,r,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}},PolynomialBezier.prototype.intersections=function(e,t,n){void 0===t&&(t=2),void 0===n&&(n=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,r,n),r},PolynomialBezier.shapeSegment=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[n],e.v[n],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[n],e.i[n],e.o[t],e.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(e,t,n,r){var i=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(i-=1),0===i)return a;var s=-1,o=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,n,r,s);for(var l=0;l<i;l+=1)s=zigZagSegment(a,o,t,n,r,-s),o=l!==i-1||e.c?PolynomialBezier.shapeSegment(e,(l+1)%i):null,zigZagCorner(a,e,l+1,t,n,r,s);return a},ZigZagModifier.prototype.processShapes=function(e){var t,n,r,i,a,s,o=this.shapes.length,l=this.amplitude.v,u=Math.max(0,Math.round(this.frequency.v)),c=this.pointsType.v;if(0!==l)for(n=0;n<o;n+=1){if(s=(a=this.shapes[n]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,r=0;r<i;r+=1)s.addShape(this.processPath(t[r],l,u,c));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(e,t,n,r){var i=shapePool.newElement();i.c=e.c;var a,s,o,l=e.length();e.c||(l-=1);var u=[];for(a=0;a<l;a+=1)o=PolynomialBezier.shapeSegment(e,a),u.push(offsetSegmentSplit(o,t));if(!e.c)for(a=l-1;a>=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(e,a),u.push(offsetSegmentSplit(o,t));u=pruneIntersections(u);var c=null,d=null;for(a=0;a<u.length;a+=1){var h=u[a];for(d&&(c=joinLines(i,d,h[0],n,r)),d=h[h.length-1],s=0;s<h.length;s+=1)o=h[s],c&&pointEqual(o.points[0],c)?i.setXYAt(o.points[1][0],o.points[1][1],"o",i.length()-1):i.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],i.length()),i.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],i.length()),c=o.points[3]}return u.length&&joinLines(i,d,u[0][0],n,r),i},OffsetPathModifier.prototype.processShapes=function(e){var t,n,r,i,a,s,o=this.shapes.length,l=this.amount.v,u=this.miterLimit.v,c=this.lineJoin;if(0!==l)for(n=0;n<o;n+=1){if(s=(a=this.shapes[n]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,r=0;r<i;r+=1)s.addShape(this.processPath(t[r],l,c,u));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};
vendor: 5,655 bytes, line 2
2var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],r=[65039,8205];function i(e,t){var n=createTag("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=t;var r=createTag("span");r.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(r),document.body.appendChild(n);var i=r.offsetWidth;return r.style.fontFamily=function(e){var t,n=e.split(","),r=n.length,i=[];for(t=0;t<r;t+=1)"sans-serif"!==n[t]&&"monospace"!==n[t]&&i.push(n[t]);return i.join(",")}(e)+", "+t,{node:r,w:i,parent:n}}function a(e,t){var n,r=document.body&&t?"svg":"canvas",i=getFontProperties(e);if("svg"===r){var a=createNS("text");a.style.fontSize="100px",a.setAttribute("font-family",e.fFamily),a.setAttribute("font-style",i.style),a.setAttribute("font-weight",i.weight),a.textContent="1",e.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",e.fClass)):a.style.fontFamily=e.fFamily,t.appendChild(a),n=a}else{var s=new OffscreenCanvas(500,500).getContext("2d");s.font=i.style+" "+i.weight+" 100px "+e.fFamily,n=s}return{measureText:function(e){return"svg"===r?(n.textContent=e,n.getComputedTextLength()):n.measureText(e).width}}}var s=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};s.isModifier=function(e,t){var r=e.toString(16)+t.toString(16);return-1!==n.indexOf(r)},s.isZeroWidthJoiner=function(e,t){return t?e===r[0]&&t===r[1]:e===r[1]},s.isCombinedCharacter=function(e){return-1!==t.indexOf(e)};var o={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var n,r,i=e.length,a=this.chars.length;for(t=0;t<i;t+=1){for(n=0,r=!1;n<a;)this.chars[n].style===e[t].style&&this.chars[n].fFamily===e[t].fFamily&&this.chars[n].ch===e[t].ch&&(r=!0),n+=1;r||(this.chars.push(e[t]),a+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach((function(e){e.helper=a(e),e.cache={}})),void(this.fonts=e.list);var n,r=e.list,s=r.length,o=s;for(n=0;n<s;n+=1){var l,u,c=!0;if(r[n].loaded=!1,r[n].monoCase=i(r[n].fFamily,"monospace"),r[n].sansCase=i(r[n].fFamily,"sans-serif"),r[n].fPath){if("p"===r[n].fOrigin||3===r[n].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+r[n].fFamily+'"], style[f-origin="3"][f-family="'+r[n].fFamily+'"]')).length>0&&(c=!1),c){var d=createTag("style");d.setAttribute("f-forigin",r[n].fOrigin),d.setAttribute("f-origin",r[n].origin),d.setAttribute("f-family",r[n].fFamily),d.type="text/css",d.innerText="@font-face {font-family: "+r[n].fFamily+"; font-style: normal; src: url('"+r[n].fPath+"');}",t.appendChild(d)}}else if("g"===r[n].fOrigin||1===r[n].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;u<l.length;u+=1)-1!==l[u].href.indexOf(r[n].fPath)&&(c=!1);if(c){var h=createTag("link");h.setAttribute("f-forigin",r[n].fOrigin),h.setAttribute("f-origin",r[n].origin),h.type="text/css",h.rel="stylesheet",h.href=r[n].fPath,document.body.appendChild(h)}}else if("t"===r[n].fOrigin||2===r[n].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),u=0;u<l.length;u+=1)r[n].fPath===l[u].src&&(c=!1);if(c){var f=createTag("link");f.setAttribute("f-forigin",r[n].fOrigin),f.setAttribute("f-origin",r[n].origin),f.setAttribute("rel","stylesheet"),f.setAttribute("href",r[n].fPath),t.appendChild(f)}}}else r[n].loaded=!0,o-=1;r[n].helper=a(r[n],t),r[n].cache={},this.fonts.push(r[n])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,n,r){for(var i=0,a=this.chars.length;i<a;){if(this.chars[i].ch===t&&this.chars[i].style===n&&this.chars[i].fFamily===r)return this.chars[i];i+=1}return("string"===typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,n,r)),e},getFontByName:function(e){for(var t=0,n=this.fonts.length;t<n;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,n){var r=this.getFontByName(t),i=e.charCodeAt(0);if(!r.cache[i+1]){var a=r.helper;if(" "===e){var s=a.measureText("|"+e+"|"),o=a.measureText("||");r.cache[i+1]=(s-o)/100}else r.cache[i+1]=a.measureText(e)/100}return r.cache[i+1]*n},checkLoadedFonts:function(){var e,t,n,r=this.fonts.length,i=r;for(e=0;e<r;e+=1)this.fonts[e].loaded?i-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,n=this.fonts[e].monoCase.w,t.offsetWidth!==n?(i-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,n=this.fonts[e].sansCase.w,t.offsetWidth!==n&&(i-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return s.prototype=o,s}();
vendor: 6,328 bytes, line 2
2function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function AngleEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function ColorEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function PointEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function LayerIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function MaskIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function CheckboxEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var n,r=e.ef||[];this.effectElements=[];var i,a=r.length;for(n=0;n<a;n+=1)i=new GroupEffect(r[n],t),this.effectElements.push(i)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,n)}function AudioElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,n),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(e,t,n){this.data=e,this.element=t,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r,i,a=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l,u,c,d,h,f=this.masksProperties,p=0,m=[],g=createElementID(),v="clipPath",y="clip-path";for(r=0;r<s;r+=1)if(("a"!==f[r].mode&&"n"!==f[r].mode||f[r].inv||100!==f[r].o.k||f[r].o.x)&&(v="mask",y="mask"),"s"!==f[r].mode&&"i"!==f[r].mode||0!==p?u=null:((u=createNS("rect")).setAttribute("fill","#ffffff"),u.setAttribute("width",this.element.comp.data.w||0),u.setAttribute("height",this.element.comp.data.h||0),m.push(u)),i=createNS("path"),"n"===f[r].mode)this.viewData[r]={op:PropertyFactory.getProp(this.element,f[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[r],3),elem:i,lastPath:""},a.appendChild(i);else{var _;if(p+=1,i.setAttribute("fill","s"===f[r].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==f[r].x.k?(v="mask",y="mask",h=PropertyFactory.getProp(this.element,f[r].x,0,null,this.element),_=createElementID(),(c=createNS("filter")).setAttribute("id",_),(d=createNS("feMorphology")).setAttribute("operator","erode"),d.setAttribute("in","SourceGraphic"),d.setAttribute("radius","0"),c.appendChild(d),a.appendChild(c),i.setAttribute("stroke","s"===f[r].mode?"#000000":"#ffffff")):(d=null,h=null),this.storedData[r]={elem:i,x:h,expan:d,lastPath:"",lastOperator:"",filterId:_,lastRadius:0},"i"===f[r].mode){l=m.length;var b=createNS("g");for(o=0;o<l;o+=1)b.appendChild(m[o]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",g+"_"+p),x.appendChild(i),a.appendChild(x),b.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+p+")"),m.length=0,m.push(b)}else m.push(i);f[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,f[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[r],3),invRect:u},this.viewData[r].prop.k||this.drawPath(f[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=createNS(v),s=m.length,r=0;r<s;r+=1)this.maskElement.appendChild(m[r]);p>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+g+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var n;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,i=this.data.ef.length,a=this.data.ef;for(n=0;n<i;n+=1){switch(r=null,a[n].ty){case 0:r=new SliderEffect(a[n],t,this);break;case 1:r=new AngleEffect(a[n],t,this);break;case 2:r=new ColorEffect(a[n],t,this);break;case 3:r=new PointEffect(a[n],t,this);break;case 4:case 7:r=new CheckboxEffect(a[n],t,this);break;
vendor: 10,374 bytes, line 2
2case 10:r=new LayerIndexEffect(a[n],t,this);break;case 11:r=new MaskIndexEffect(a[n],t,this);break;case 5:r=new EffectsManager(a[n],t,this);break;default:r=new NoValueEffect(a[n],t,this)}r&&this.effectElements.push(r)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),n=e("effects"),r=e("shape"),i=e("text"),a=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var s=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=a(this):4===this.data.ty?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,n){this.globalData=t,this.comp=n,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var n,r=this.dynamicProperties.length;for(n=0;n<r;n+=1)(t||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,n,r=this.layers.length;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t]).ip-n.st<=e-this.layers[t].st&&n.op-n.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var n,r=e.length,i=this.layers.length;for(t=0;t<r;t+=1)for(n=0;n<i;){if(this.layers[n].id===e[t].id){this.layers[n]=e[t];break}n+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,n){for(var r=this.elements,i=this.layers,a=0,s=i.length;a<s;)i[a].ind==t&&(r[a]&&!0!==r[a]?(n.push(r[a]),r[a].setAsParent(),void 0!==i[a].parent?this.buildElementParenting(e,i[a].parent,n):e.setHierarchy(n)):(this.buildItem(a),this.addPendingElement(e))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length;for(t=0;t<n;t+=1)if(e[t].xt){var r=this.createComp(e[t]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(e){var t,n=this.elements.length;for(t=0;t<n;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,n=e.shift();if("number"===typeof n)t=this.elements[n];else{var r,i=this.elements.length;for(r=0;r<i;r+=1)if(this.elements[r].data.nm===n){t=this.elements[r];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,n=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<r;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),n=0;n<r;n+=1)e=this.hierarchy[n].finalTransform.mProp.v.props,t.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var n,r=!0,i=this.comp;r;)i.finalTransform?(i.data.hasMask&&t.splice(0,0,i.finalTransform),i=i.comp):r=!1;var a,s=t.length;for(n=0;n<s;n+=1)a=t[n].mat.applyToPointArray(0,0,0),e=[e[0]-a[0],e[1]-a[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,n=this.element.finalTransform.mat,r=this.masksProperties.length;for(t=0;t<r;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var i=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),i.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,n){var r,i,a=" M"+t.v[0][0]+","+t.v[0][1];for(i=t._length,r=1;r<i;r+=1)a+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[r][0]+","+t.i[r][1]+" "+t.v[r][0]+","+t.v[r][1];if(t.c&&i>1&&(a+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==a){var s="";n.elem&&(t.c&&(s=e.inv?this.solidPath+a:a),n.elem.setAttribute("d",
vendor: 4,126 bytes, line 2
2s)),n.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var n=createNS("filter");return n.setAttribute("id",e),!0!==t&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!==typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(e){var t,n,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),o=0;for(this.filters=[],t=0;t<i;t+=1){n=null;var l=e.data.ef[t].ty;registeredEffects[l]&&(n=new(0,registeredEffects[l].effect)(s,e.effectsManager.effectElements[t],e,idPrefix+o,r),r=idPrefix+o,registeredEffects[l].countsAsEffect&&(o+=1)),n&&this.filters.push(n)}o&&(e.globalData.defs.appendChild(s),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t,n){registeredEffects[e]={effect:t,countsAsEffect:n}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var n=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(n.setAttribute("id",i),n.appendChild(r),this.globalData.defs.appendChild(n),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),a.appendChild(this.layerElement),this.transformedElement=a,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffe
vendor: 9,825 bytes, line 2
2ctsManager=new SVGEffects(this)},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,n,r,i,a=this.layerId+"_"+e;if(1===e||3===e){var s=createNS("mask");s.setAttribute("id",a),s.setAttribute("mask-type",3===e?"luminance":"alpha"),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(r),this.globalData.defs.appendChild(s),featureSupport.maskType||1!==e||(s.setAttribute("mask-type","luminance"),t=createElementID(),n=filtersFactory.createFilter(t),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(r),s.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var o=createNS("mask");o.setAttribute("id",a),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),t=createElementID(),n=filtersFactory.createFilter(t);var u=createNS("feComponentTransfer");u.setAttribute("in","SourceGraphic"),n.appendChild(u);var c=createNS("feFuncA");c.setAttribute("type","table"),c.setAttribute("tableValues","1.0 0.0"),u.appendChild(c),this.globalData.defs.appendChild(n);var d=createNS("rect");d.setAttribute("width",this.comp.data.w),d.setAttribute("height",this.comp.data.h),d.setAttribute("x","0"),d.setAttribute("y","0"),d.setAttribute("fill","#ffffff"),d.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),l.appendChild(d),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(r),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),l.appendChild(d),i.appendChild(this.layerElement),l.appendChild(i)),this.globalData.defs.appendChild(o)}this.matteMasks[e]=a}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,n=this.shapeModifiers.length;for(t=0;t<n;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,n=0,r=t.length;n<r;){if(t[n].elem===e)return t[n].pos;n+=1}return 0},addProcessedElement:function(e,t){for(var n=this.processedElements,r=n.length;r;)if(n[r-=1].elem===e)return void(n[r].pos=t);n.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,n){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=n,this.lvl=t,this._isAnimated=!!n.k;for(var r=0,i=e.length;r<i;){if(e[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,n,r){var i;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var a,s=t.length||0;for(i=0;i<s;i+=1)a=PropertyFactory.getProp(e,t[i].v,0,0,this),this.k=a.k||this.k,this.dataProps[i]={n:t[i].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n}function SVGNoStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=n}function GradientProperty(e,t,n){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var r=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,n)}function SVGGradientStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,n){this.transform={mProps:e,op:t,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<n;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var n=0,r=this.o.length/2;n<r;){if(Math.abs(e[4*n]-e[4*t+2*n])>.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,n,r,i=4*this.data.p;for(t=0;t<i;t+=1)n=t%4===0?100:255,r=Math.round(this.prop.v[t]*n),this.c[t]!==r&&(this.c[t]=r,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=4*this.data.p;t<i;t+=1)n=t%2===0?100:1,r=t%2===0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==r&&(this.o[t-4*this.data.p]=r,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,n){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=Pro
vendor: 8,533 bytes, line 2
2pertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,t),this.setGradientOpacity(t,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var n=createElementID(),r=createNS(1===t.t?"linearGradient":"radialGradient");r.setAttribute("id",n),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var i,a,s,o=[];for(s=4*t.g.p,a=0;a<s;a+=4)i=createNS("stop"),r.appendChild(i),o.push(i);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=r,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var n,r,i,a=createNS("mask"),s=createNS("path");a.appendChild(s);var o=createElementID(),l=createElementID();a.setAttribute("id",l);var u=createNS(1===e.t?"linearGradient":"radialGradient");u.setAttribute("id",o),u.setAttribute("spreadMethod","pad"),u.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var c=this.stops;for(r=4*e.g.p;r<i;r+=2)(n=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),u.appendChild(n),c.push(n);s.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===e.ty&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&s.setAttribute("stroke-miterlimit",e.ml)),this.of=u,this.ms=a,this.ost=c,this.maskId=l,t.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,n,r){if(0===t)return"";var i,a=e.o,s=e.i,o=e.v,l=" M"+r.applyToPointStringified(o[0][0],o[0][1]);for(i=1;i<t;i+=1)l+=" C"+r.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+r.applyToPointStringified(s[i][0],s[i][1])+" "+r.applyToPointStringified(o[i][0],o[i][1]);return n&&t&&(l+=" C"+r.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+r.applyToPointStringified(s[0][0],s[0][1])+" "+r.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function n(e,t,n){(n||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(n||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function r(){}function i(n,r,i){var a,s,o,l,u,c,d,h,f,p,m,g=r.styles.length,v=r.lvl;for(c=0;c<g;c+=1){if(l=r.sh._mdf||i,r.styles[c].lvl<v){for(h=t.reset(),p=v-r.styles[c].lvl,m=r.transformers.length-1;!l&&p>0;)l=r.transformers[m].mProps._mdf||l,p-=1,m-=1;if(l)for(p=v-r.styles[c].lvl,m=r.transformers.length-1;p>0;)f=r.transformers[m].mProps.v.props,h.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),p-=1,m-=1}else h=e;if(s=(d=r.sh.paths)._length,l){for(o="",a=0;a<s;a+=1)(u=d.shapes[a])&&u._length&&(o+=buildShapeString(u,u._length,u.c,h));r.caches[c]=o}else o=r.caches[c];r.styles[c].d+=!0===n.hd?"":o,r.styles[c]._mdf=l||r.styles[c]._mdf}}function a(e,t,n){var r=t.style;(t.c._mdf||n)&&r.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("fill-opacity",t.o.v)}function s(e,t,n){o(e,t,n),l(0,t,n)}function o(e,t,n){var r,i,a,s,o,l=t.gf,u=t.g._hasOpacity,c=t.s.v,d=t.e.v;if(t.o._mdf||n){var h="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(h,t.o.v)}if(t.s._mdf||n){var f=1===e.t?"x1":"cx",p="x1"===f?"y1":"cy";l.setAttribute(f,c[0]),l.setAttribute(p,c[1]),u&&!t.g._collapsable&&(t.of.setAttribute(f,c[0]),t.of.setAttribute(p,c[1]))}if(t.g._cmdf||n){r=t.cst;var m=t.g.c;for(a=r.length,i=0;i<a;i+=1)(s=r[i]).setAttribute("offset",m[4*i]+"%"),s.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(u&&(t.g._omdf||n)){var g=t.g.o;for(a=(r=t.g._collapsable?t.cst:t.ost).length,i=0;i<a;i+=1)s=r[i],t.g._collapsable||s.setAttribute("offset",g[2*i]+"%"),s.setAttribute("stop-opacity",g[2*i+1])}if(1===e.t)(t.e._mdf||n)&&(l.setAttribute("x2",d[0]),l.setAttribute("y2",d[1]),u&&!t.g._collapsable&&(t.of.setAttribute("x2",d[0]),t.of.setAttribute("y2",d[1])));else if((t.s._mdf||t.e._mdf||n)&&(o=Math.sqrt(Math.pow(c[0]-d[0],2)+Math.pow(c[1]-d[1],2)),l.setAttribute("r",o),u&&!t.g._collapsable&&t.of.setAttribute("r",o)),t.e._mdf||t.h._mdf||t.a._mdf||n){o||(o=Math.sqrt(Math.pow(c[0]-d[0],2)+Math.pow(c[1]-d[1],2)));var v=Math.atan2(d[1]-c[1],d[0]-c[0]),y=t.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var _=o*y,b=Math.cos(v+t.a.v)*_+c[0],x=Math.sin(v+t.a.v)*_+c[1];l.setAttribute("fx",b),l.setAttribute("fy",x),u&&!t.g._collapsable&&(t.of.setAttribute("fx",b),t.of.setAttribute("fy",x))}}function l(e,t,n){var r=t.style,i=t.d;i&&(i._mdf||n)&&i.dashStr&&(r.pElem.setAttribute("stroke-dasharray",i.dashStr),r.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||n)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||n)&&(r.pElem.setAttribute("stroke-width",t.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return a;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return n;case"no":return r;default:return null}}}}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}function LetterProps(e,t,n,r,i,a){this.o=e,this.sw=t,this.sc=n,this.fc=r,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!r,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,n,r,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(n=0;n<a;n+=1){for(r=this.stylesList[n],o=!1,s.length=0,e=0;e<i;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(r)&&(s.push(t),o=t._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var n,r=new SVGStyleData(e,t),i=r.pElem;return"st"===e.ty?n=new SVGStrokeStyleData(this,e,r):"fl"===e.ty?n=new SVGFillStyleData(this,e,r):"gf"===e.ty||"gs"===e.ty?(n=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,r),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),i.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))):"no"===e.ty&&(n=new SVGNoStyleData(this,e,r)),"st"!==e.ty&&"gs"!==e.ty||(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),i.setAttribute("fill-opacity","0"),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&i.setAttribute("fill-rule","evenodd"),e.ln&&i.setAttribute("id",e.ln),e.cl&&i.setAttribute("class",e.cl),e.bm&&(i.style["mix-blend-mode"]=getBlendM
vendor: 7,598 bytes, line 2
2ode(e.bm)),this.stylesList.push(r),this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var n=TransformPropertyFactory.getTransformProperty(this,e,this),r=new SVGTransformData(n,n.o,t);return this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createShapeElement=function(e,t,n){var r=4;"rc"===e.ty?r=5:"el"===e.ty?r=6:"sr"===e.ty&&(r=7);var i=new SVGShapeData(t,n,ShapePropertyFactory.getShapeProp(this,e,r,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var n=0,r=this.animatedContents.length;n<r;){if(this.animatedContents[n].element===t)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,n=e.styles,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||n.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,n,r,i,a,s){var o,l,u,c,d,h,f=[].concat(a),p=e.length-1,m=[],g=[];for(o=p;o>=0;o-=1){if((h=this.searchProcessedElement(e[o]))?t[o]=n[h-1]:e[o]._render=s,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty||"no"===e[o].ty)h?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],i),e[o]._render&&t[o].style.pElem.parentNode!==r&&r.appendChild(t[o].style.pElem),m.push(t[o].style);else if("gr"===e[o].ty){if(h)for(u=t[o].it.length,l=0;l<u;l+=1)t[o].prevViewData[l]=t[o].it[l];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,t[o].gr,i+1,f,s),e[o]._render&&t[o].gr.parentNode!==r&&r.appendChild(t[o].gr)}else"tr"===e[o].ty?(h||(t[o]=this.createTransformElement(e[o],r)),c=t[o].transform,f.push(c)):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?(h||(t[o]=this.createShapeElement(e[o],f,i)),this.setElementStyles(t[o])):"tm"===e[o].ty||"rd"===e[o].ty||"ms"===e[o].ty||"pb"===e[o].ty||"zz"===e[o].ty||"op"===e[o].ty?(h?(d=t[o]).closed=!1:((d=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=d,this.shapeModifiers.push(d)),g.push(d)):"rp"===e[o].ty&&(h?(d=t[o]).closed=!0:(d=ShapeModifiers.getModifier(e[o].ty),t[o]=d,d.init(this,e,o,t),this.shapeModifiers.push(d),s=!1),g.push(d));this.addProcessedElement(e[o],o+1)}for(p=m.length,o=0;o<p;o+=1)m[o].closed=!0;for(p=g.length,o=0;o<p;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,n=this.animatedContents.length;for(e=0;e<n;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,n,r,i,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,s=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,s=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,s=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,s=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,s=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(r=0;r<i;r+=1)a=n!==this.keysIndex?this.effectsSequence[r](a,a.t):this.effectsSequence[r](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,n=0,r=e.length;n<=r-1&&!(n===r-1||e[n+1].t>t);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,n,r=[],i=0,a=e.length,s=!1;i<a;)t=e.charCodeAt(i),FontManager.isCombinedCharacter(t)?r[r.length-1]+=e.charAt(i):t>=55296&&t<=56319?(n=e.charCodeAt(i+1))>=56320&&n<=57343?(s||FontManager.isModifier(t,n)?(r[r.length-1]+=e.substr(i,2),s=!1):r.push(e.substr(i,2)),i+=1):r.push(e.charAt(i)):t>56319?(n=e.charCodeAt(i+1),FontManager.isZeroWidthJoiner(t,n)?(s=!0,r[r.length-1]+=e.substr(i,2),i+=1):r.push(e.charAt(i))):FontManager.isZeroWidthJoiner(t)?(r[r.length-1]+=e.charAt(i),s=!0):r.push(e.charAt(i)),i+=1;return r},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,n,r,i,a,s,o,l=this.elem.globalData.fontManager,u=this.data,c=[],d=0,h=u.m.g,f=0,p=0,m=0,g=[],v=0,y=0,_=l.getFontByName(e.f),b=0,x=getFontProperties(_);e.fWeight=x.weight,e.fStyle=x.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),n=e.finalText.length,e.finalLineHeight=e.lh;var T,w=e.tr/1e3*e.finalSize;if(e.sz)for(var S,E,k=!0,C=e.sz[0],P=e.sz[1];k;){S=0,v=0,n=(E=this.buildFinalText(e.t)).length,w=e.tr/1e3*e.finalSize;var A=-1;for(t=0;t<n;t+=1)T=E[t].charCodeAt(0),r=!1," "===E[t]?A=t:13!==T&&3!==T||(v=0,r=!0,S+=e.finalLineHeight||1.2*e.finalSize),l.chars?(o=l.getCharData(E[t],_.fStyle,_.fFamily),b=r?0:o.w*e.finalSize/100):b=l.measureText(E[t],e.f,e.finalSize),v+b>C&&" "!==E[t]?(-1===A?n+=1:t=A,S+=e.finalLineHeight||1.2*e.finalSize,E.splice(t,A===t?1:0,"\r"),A=-1,v=0):(v+=b,v+=w);S+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&P<S?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=E,n=e.finalText.length,k=!1)}v=-w,b=0;var I,O=0;for(t=0;t<n;
vendor: 13,799 bytes, line 2
2t+=1)if(r=!1,13===(T=(I=e.finalText[t]).charCodeAt(0))||3===T?(O=0,g.push(v),y=v>y?v:y,v=-2*w,i="",r=!0,m+=1):i=I,l.chars?(o=l.getCharData(I,_.fStyle,l.getFontByName(e.f).fFamily),b=r?0:o.w*e.finalSize/100):b=l.measureText(i,e.f,e.finalSize)," "===I?O+=b+w:(v+=b+w+O,O=0),c.push({l:b,an:b,add:f,n:r,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==h){if(f+=b,""===i||" "===i||t===n-1){for(""!==i&&" "!==i||(f-=b);p<=t;)c[p].an=f,c[p].ind=d,c[p].extra=b,p+=1;d+=1,f=0}}else if(3==h){if(f+=b,""===i||t===n-1){for(""===i&&(f-=b);p<=t;)c[p].an=f,c[p].ind=d,c[p].extra=b,p+=1;f=0,d+=1}}else c[d].ind=d,c[d].extra=0,d+=1;if(e.l=c,y=v>y?v:y,g.push(v),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=y,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var D,M,N,R,L=u.a;s=L.length;var j=[];for(a=0;a<s;a+=1){for((D=L[a]).a.sc&&(e.strokeColorAnim=!0),D.a.sw&&(e.strokeWidthAnim=!0),(D.a.fc||D.a.fh||D.a.fs||D.a.fb)&&(e.fillColorAnim=!0),R=0,N=D.s.b,t=0;t<n;t+=1)(M=c[t]).anIndexes[a]=R,(1==N&&""!==M.val||2==N&&""!==M.val&&" "!==M.val||3==N&&(M.n||" "==M.val||t==n-1)||4==N&&(M.n||t==n-1))&&(1===D.s.rn&&j.push(R),R+=1);u.a[a].s.totalChars=R;var F,B=-1;if(1===D.s.rn)for(t=0;t<n;t+=1)B!=(M=c[t]).anIndexes[a]&&(B=M.anIndexes[a],F=j.splice(Math.floor(Math.random()*j.length),1)[0]),M.anIndexes[a]=F}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var n=this.copyData({},this.data.d.k[t].s);n=this.copyData(n,e),this.data.d.k[t].s=n,this.recalculate(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,n=Math.floor;function r(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return r.prototype={getMult:function(r){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,a=0,s=1,o=1;this.ne.v>0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,s,o).get,u=0,c=this.finalS,d=this.finalE,h=this.data.sh;if(2===h)u=l(u=d===c?r>=d?1:0:e(0,t(.5/(d-c)+(r-c)/(d-c),1)));else if(3===h)u=l(u=d===c?r>=d?0:1:1-e(0,t(.5/(d-c)+(r-c)/(d-c),1)));else if(4===h)d===c?u=0:(u=e(0,t(.5/(d-c)+(r-c)/(d-c),1)))<.5?u*=2:u=1-2*(u-.5),u=l(u);else if(5===h){if(d===c)u=0;else{var f=d-c,p=-f/2+(r=t(e(0,r+.5-c),d-c)),m=f/2;u=Math.sqrt(1-p*p/(m*m))}u=l(u)}else 6===h?(d===c?u=0:(r=t(e(0,r+.5-c),d-c),u=(1+Math.cos(Math.PI+2*Math.PI*r/(d-c)))/2),u=l(u)):(r>=n(c)&&(u=e(0,t(r-c<0?t(d,1)-(c-r):d-r,1))),u=l(u));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var v=.5-.5*g;u<v?u=0:(u=(u-v)/g)>1&&(u=1)}return u*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/t,r=this.s.v/t+n,i=this.e.v/t+n;if(r>i){var a=r;r=i,i=a}this.finalS=r,this.finalE=i}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(e,t,n){return new r(e,t,n)}}}();function TextAnimatorDataProperty(e,t,n){var r={propType:!1},i=PropertyFactory.getProp,a=t.a;this.a={r:a.r?i(e,a.r,0,degToRads,n):r,rx:a.rx?i(e,a.rx,0,degToRads,n):r,ry:a.ry?i(e,a.ry,0,degToRads,n):r,sk:a.sk?i(e,a.sk,0,degToRads,n):r,sa:a.sa?i(e,a.sa,0,degToRads,n):r,s:a.s?i(e,a.s,1,.01,n):r,a:a.a?i(e,a.a,1,0,n):r,o:a.o?i(e,a.o,0,.01,n):r,p:a.p?i(e,a.p,1,0,n):r,sw:a.sw?i(e,a.sw,0,0,n):r,sc:a.sc?i(e,a.sc,1,0,n):r,fc:a.fc?i(e,a.fc,1,0,n):r,fh:a.fh?i(e,a.fh,0,0,n):r,fs:a.fs?i(e,a.fs,0,.01,n):r,fb:a.fb?i(e,a.fb,0,.01,n):r,t:a.t?i(e,a.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,n=this._textData.a.length,r=PropertyFactory.getProp;for(e=0;e<n;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,r,i,a,s,o,l,u,c,d,h,f,p,m,g,v,y,_,b,x=this._moreOptions.alignment.v,T=this._animatorsData,w=this._textData,S=this.mHelper,E=this._renderType,k=this.renderedLetters.length,C=e.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var P,A=b.v;for(this._pathData.r.v&&(A=A.reverse()),s={tLength:0,segments:[]},a=A._length-1,v=0,i=0;i<a;i+=1)P=bez.buildBezierData(A.v[i],A.v[i+1],[A.o[i][0]-A.v[i][0],A.o[i][1]-A.v[i][1]],[A.i[i+1][0]-A.v[i+1][0],A.i[i+1][1]-A.v[i+1][1]]),s.tLength+=P.segmentLength,s.segments.push(P),v+=P.segmentLength;i=a,b.v.c&&(P=bez.buildBezierData(A.v[i],A.v[0],[A.o[i][0]-A.v[i][0],A.o[i][1]-A.v[i][1]],[A.i[0][0]-A.v[0][0],A.i[0][1]-A.v[0][1]]),s.tLength+=P.segmentLength,s.segments.push(P),v+=P.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,h=0,d=1,u=0,c=!0,m=s.segments,o<0&&b.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),d=(p=m[h=m.length-1].points).length-1;o<0;)o+=p[d].partialLength,(d-=1)<0&&(d=(p=m[h-=1].points).length-1);f=(p=m[h].points)[d-1],g=(l=p[d]).partialLength}a=C.length,n=0,r=0;var I,O,D,M,N,R=1.2*e.finalSize*.714,L=!0;D=T.length;var j,F,B,U,V,z,G,H,W,q,Y,X,Z=-1,K=o,Q=h,$=d,J=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var ne=0,re=0,ie=2===e.j?-.5:-1,ae=0,se=!0;for(i=0;i<a;i+=1)if(C[i].n){for(ne&&(ne+=re);ae<i;)C[ae].animatorJustifyOffset=ne,ae+=1;ne=0,se=!0}else{for(O=0;O<D;O+=1)(I=T[O].a).t.propType&&(se&&2===e.j&&(re+=I.t.v*ie),(N=T[O].s.getMult(C[i].anIndexes[O],w.a[O].s.totalChars)).length?ne+=I.t.v*N[0]*ie:ne+=I.t.v*N*ie);se=!1}for(ne&&(ne+=re);ae<i;)C[ae].animatorJustifyOffset=ne,ae+=1}for(i=0;i<a;i+=1){if(S.reset(),U=1,C[i].n)n=0,r+=e.yOffset,r+=L?1:0,o=K,L=!1,this._hasMaskedPath&&(d=$,f=(p=m[h=Q].points)[d-1],g=(l=p[d]).partialLength,u=0),ee="",Y="",W="",X="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==C[i].line){switch(e.j){case 1:o+=v-e.lineWidths[C[i].line];break;case 2:o+=(v-e.lineWidths[C[i].line])/2}J=C[i].line}Z!==C[i].ind&&(C[Z]&&(o+=C[Z].extra),o+=C[i].an/2,Z=C[i].ind),o+=x[0]*C[i].an*.005;var oe=0;for(O=0;O<D;O+=1)(I=T[O].a).p.propType&&((N=T[O].s.getMult(C[i].anIndexes[O],w.a[O].s.totalChars)).length?oe+=I.p.v[0]*N[0]:oe+=I.p.v[0]*N),I.a.propType&&((N=T[O].s.getMult(C[i].anIndexes[O],w.a[O].s.totalChars)).length?oe+=I.a.v[0]*N[0]:oe+=I.a.v[0]*N);for(c=!0,this._pathData.a.v&&(o=.5*C[0].an+(v-this._pathData.f.v-.5*C[0].an-.5*C[C.length-1].an)*Z/(a-1),o+=this._pathData.f.v);c;)u+g>=o+oe||!p?(y=(o+oe-u)/l.partialLength,F=f.point[0]+(l.point[0]-f.point[0])*y,B=f.point[1]+(l.point[1]-f.point[1])*y,S.translate(-x[0]*C[i].an*.005,-x[1]*R*.01),c=!1):p&&(u+=l.partialLength,(d+=1)>=p.length&&(d=0,m[h+=1]?p=m[h].points:b.v.c?(d=0,p=m[h=0].points):(u-=l.partialLength,p=null)),p&&(f=l,g=(l=p[d]).partialLength));j=C[i].an/2-C[i].add,S.translate(-j,0,0)}else j=C[i].an/2-C[i].add,S.translate(-j,0,0),S.translate(-x[0]*C[i].an*.005,-x[1]*R*.01,0);for(O=0;O<D;O+=1)(I=T[O].a).t.propType&&(N=T[O].s.getMult(C[i].anIndexes[O],w.a[O].s.totalChars),0===n&&0===e.j||(this._hasMaskedPath?N.length?o+=I.t.v*N[0]:o+=I.t.v*N:N.length?n+=I.t.v*N[0]:n+=I.t.v*N));for(e.strokeWidthAnim&&(z=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(G=[e.fc[0],e.fc[1],e.fc[2]]),O=0;O<D;O+=1)(I=T[O].a).a.propType&&((N=T[O].s.getMult(C[i].anIndexes[O],w.a[O].s.totalChars)).length?S.translate(-I.a.v[0]*N[0],-I.a.v[1]*N[1],I.a.v[2]*N[2]):S.translate(-I.a.v[0]*N,-I.a.v[1]*N,I.a.v[2]*N));for(O=0;O<D;O+=1)(I=T[O].a).s.propType&&((N=T[O].s.getMult(C[i].anIndexes[O],w.a[O].s.totalChars)).length?S.scale(1+(I.s.v[0]-1)*N[0],1+(I.s.v[1]-1)*N[1],1):S.scale(1+(I.s.v[0]-1)*N,1+(I.s.v[1]-1)*N,1));for(O=0;O<D;O+=1){if(I=T[O].a,N=T[O].s.getMult(C[i].anIndexes[O],w.a[O].s.totalChars),I.sk.propType&&(N.length?S.skewFromAxis(-I.sk.v*N[0],I.sa.v*N[1]):S.skewFromAxis(-I.sk.v*N,I.sa.v*N)),I.r.propType&&(N.length?S.rotateZ(-I.r.v*N[2]):S.rotateZ(-I.r.v*N)),I.ry.propType&&(N.length?S.rotateY(I.ry.v*N[1]):S.rotateY(I.ry.v*N)),I.rx.propType&&(N.length?S.rotateX(I.rx.v*N[0]):S.rotateX(I.rx.v*N)),I.o.propType&&(N.length?U+=(I.o.v*N[0]-U)*N[0]:U+=(I.o.v*N-U)*N),e.strokeWidthAnim&&I.sw.propType&&(N.length?z+=I.sw.v*N[0]:z+=I.sw.v*N),e.strokeColorAnim&&I.sc.propType)for(H=0;H<3;H+=1)N.length?V[H]+=(I.sc.v[H]-V[H])*N[0]:V[H]+=(I.sc.v[H]-V[H])*N;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(H=0;H<3;H+=1)N.length?G[H]+=(I.fc.v[H]-G[H])*N[0]:G[H]+=(I.fc.v[H]-G[H])*N;I.fh.propType&&(G=N.length?addHueToRGB(G,I.fh.v*N[0]):addHueToRGB(G,I.fh.v*N)),I.fs.propType&&(G=N.length?addSaturationToRGB(G,I.fs.v*N[0]):addSaturationToRGB(G,I.fs.v*N)),I.fb.propType&&(G=N.length?addBrightnessToRGB(G,I.fb.v*N[0]):addBrightnessToRGB(G,I.fb.v*N))}}for(O=0;O<D;O+=1)(I=T[O].a).p.propType&&(N=T[O].s.getMult(C[i].anIndexes[O],w.a[O].s.totalChars),this._hasMaskedPath?N.length?S.translate(0,I.p.v[1]*N[0],-I.p.v[2]*N[1]):S.translate(0,I.p.v[1]*N,-I.p.v[2]*N):N.length?S.translate(I.p.v[0]*N[0],I.p.v[1]*N[1],-I.p.v[2]*N[2]):S.translate(I.p.v[0]*N,I.p.v[1]*N,-I.p.v[2]*N));if(e.strokeWidthAnim&&(W=z<0?0:z),e.strokeColorAnim&&(q="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(Y="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(S.translate(0,-e.ls),S.translate(0,x[1]*R*.01+r,0),this._pathData.p.v){_=(l.point[1]-f.point[1])/(l.point[0]-f.point[0]);var le=180*Math.atan(_)/Math.PI;l.point[0]<f.point[0]&&(le+=180),S.rotate(-le*Math.PI/180)}S.translate(F,B,0),o-=x[0]*C[i].an*.005,C[i+1]&&Z!==C[i+1].ind&&(o+=C[i].an/2,o+=.001*e.tr*e.finalSize)}else{switch(S.translate(n,r,0),e.ps&&S.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:S.translate(C[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[i].line]),0,0);break;case 2:S.translate(C[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[i].line])/2,0,0)}S.translate(0,-e.ls),S.translate(j,0,0),S.translate(x[0]*C[i].an*.005,x[1]*R*.01,0),n+=C[i].l+.001*e.tr*e.finalSize}"html"===E?ee=S.toCSS():"svg"===E?ee=S.to2dCSS():te=[S.props[0],S.props[1],S.props[2],S.props[3],S.props[4],S.props[5],S.props[6],S.props[7],S.props[8],S.props[9],S.props[10],S.props[11],S.props[12],S.props[13],S.props[14],S.props[15]],X=U}k<=i?(M=new LetterProps(X,W,q,Y,ee,te),this.renderedLetters.push(M),k+=1,this.lettersChangedFlag=!0):(M=this.renderedLetters[i],this.lettersChangedFlag=M.update(X,W,q,Y,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,n),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var n,r,i=t.length,a="";for(n=0;n<i;
vendor: 4,604 bytes, line 2
2n+=1)"sh"===t[n].ty&&(r=t[n].ks.k,a+=buildShapeString(r,r.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,n,r,i){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n])/2,0,0)}t.translate(r,i,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,n){this.textSpans=[],this.renderType="svg",this.initElement(e,t,n)}function ISolidElement(e,t,n){this.initElement(e,t,n)}function NullElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initFrame(),this.initTransform(e,t,n),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,n){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";if(t&&t.title){var r=createNS("title"),i=createElementID();r.setAttribute("id",i),r.textContent=t.title,this.svgElement.appendChild(r),n+=i}if(t&&t.description){var a=createNS("desc"),s=createElementID();a.setAttribute("id",s),a.textContent=t.description,this.svgElement.appendChild(a),n+=" "+s}n&&this.svgElement.setAttribute("aria-labelledby",n);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var e;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,n=e.length,r=[],i="";t<n;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(r.push(i),i=""):i+=e[t],t+=1;return r.push(i),r},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var n=e.shapes[0];if(n.it){var r=n.it[n.it.length-1];r.s&&(r.s.k[0]=t,r.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var r=this.globalData.fontManager.getFontByName(n.f);
vendor: 5,721 bytes, line 2
2if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var i=n.fWeight,a=n.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",n.t);var s,o=n.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var u=this.mHelper,c=this.data.singleShape,d=0,h=0,f=!0,p=.001*n.tr*n.finalSize;if(!c||l||n.sz){var m,g=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!c||0===e){if(s=g>e?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=s,l){var v=createNS("g");s.appendChild(v),this.textSpans[e].childSpan=v}this.textSpans[e].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(u.reset(),c&&(o[e].n&&(d=-p,h+=n.yOffset,h+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(n,u,o[e].line,d,h),d+=o[e].l||0,d+=p),l){var y;if(1===(m=this.globalData.fontManager.getCharData(n.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)y=new SVGCompElement(m.data,this.globalData,this);else{var _=emptyShapeData;m.data&&m.data.shapes&&(_=this.buildShapeData(m.data,n.finalSize)),y=new SVGShapeElement(_,this.globalData,this)}if(this.textSpans[e].glyph){var b=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(b.layerElement),b.destroy()}this.textSpans[e].glyph=y,y._debug=!0,y.prepareFrame(0),y.renderFrame(),this.textSpans[e].childSpan.appendChild(y.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else c&&s.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),s.textContent=o[e].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}c&&s&&s.setAttribute("d","")}else{var x=this.textContainer,T="start";switch(n.j){case 1:T="end";break;case 2:T="middle";break;default:T="start"}x.setAttribute("text-anchor",T),x.setAttribute("letter-spacing",p);var w=this.buildTextContents(n.finalText);for(t=w.length,h=n.ps?n.ps[1]+n.ascent:0,e=0;e<t;e+=1)(s=this.textSpans[e].span||createNS("tspan")).textContent=w[e],s.setAttribute("x",0),s.setAttribute("y",h),s.style.display="inherit",x.appendChild(s),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=s,h+=n.finalLineHeight;this.layerElement.appendChild(x)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<n;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var n,r,i,a=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(t=s.length,e=0;e<t;e+=1)s[e].n||(n=a[e],r=this.textSpans[e].span,(i=this.textSpans[e].glyph)&&i.renderFrame(),n._mdf.m&&r.setAttribute("transform",n.m),n._mdf.o&&r.setAttribute("opacity",n.o),n._mdf.sw&&r.setAttribute("stroke-width",n.sw),n._mdf.sc&&r.setAttribute("stroke",n.sc),n._mdf.fc&&r.setAttribute("fill",n.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,
20,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var n=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",e.w),r.setAttribute("height",e.h),r.setAttribute("x",0),r.setAttribute("y",0);var i=createElementID();n.setAttribute("id",i),n.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),t.appendChild(n),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,n=this.layers.length;for(t=0;t<n;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var n=this.createItem(this.layers[e]);if(t[e]=n,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,e),this.layers[e].tt){var r="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===r)return;if(this.elements[r]&&!0!==this.elements[r]){var i=t[r].getMatte(this.layers[e].tt);n.setMatte(i)}else this.buildItem(r),this.addPendingElement(n)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,n=this.elements.length;t<n;){if(this.elements[t]===e){var r="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,i=this.elements[r].getMatte(this.layers[t].tt);e.setMatte(i);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<n;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){for(var r,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(n,r):this.layerElement.appendChild(n)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var n,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var n=0;for(n=this._length;n<e;n+=1)this.saved[n]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVContextData.prototype.popTransform=function(){var e,t=this.saved[this.cArrPos],n=this.cTr.props;for(e=0;e<16;e+=1)n[e]=t[e];return t},CVContextData.prototype.popOpacity=function(){var e=this.savedOp[this.cArrPos];return this.cO=e,e},CVContextData.prototype.pop=function(){return this.cArrPos-=1,{transform:this.popTransform(),opacity:this.popOpacity()}},CVContextData.prototype.push=function(){var e,t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var n=this.saved[this.cArrPos];for(e=0;e<16;e+=1)n[e]=t[e];this.savedOp[this.cArrPos]=this.cO,this.cArrPos+=1},CVContextData.prototype.getTransform=function(){return this.cTr},CVContextData.prototype.getOpacity=function(){return this.cO},CVContextData.prototype.setOpacity=function(e){this.cO=e},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,n=e.length,r="_";for(t=0;t<n;t+=1)r+=e[t].transform.key+"_";var i=this.sequences[r];
vendor: 5,189 bytes, line 2
2return i||(i={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=i,this.sequenceList.push(i)),i},processSequence:function(e,t){for(var n,r=0,i=e.transforms.length,a=t;r<i&&!t;){if(e.transforms[r].transform.mProps._mdf){a=!0;break}r+=1}if(a)for(e.finalTransform.reset(),r=i-1;r>=0;r-=1)n=e.transforms[r].transform.mProps.v.props,e.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);e._mdf=a},processSequences:function(e){var t,n=this.sequenceList.length;for(t=0;t<n;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,n=null,r=null;function i(){t||(r=function(){var t=createNS("svg"),n=createNS("filter"),r=createNS("feColorMatrix");return n.setAttribute("id",e),r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),n.appendChild(r),t.appendChild(n),t.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(t.style.display="none"),t}(),document.body.appendChild(r),t=createTag("canvas"),(n=t.getContext("2d")).filter="url(#"+e+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}return{load:i,get:function(r){return t||i(),t.width=r.width,t.height=r.height,n.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var n=createTag("canvas");return n.width=e,n.height=t,n}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas};function CVEffects(){}function CVMaskElement(e,t){var n;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r=this.masksProperties.length,i=!1;for(n=0;n<r;n+=1)"n"!==this.masksProperties[n].mode&&(i=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,n,r,i=this.element.finalTransform.mat,a=this.element.canvasContext,s=this.masksProperties.length;for(a.beginPath(),e=0;e<s;e+=1)if("n"!==this.masksProperties[e].mode){var o;this.masksProperties[e].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),r=this.viewData[e].v,t=i.applyToPointArray(r.v[0][0],r.v[0][1],0),a.moveTo(t[0],t[1]);var l=r._length;for(o=1;o<l;o+=1)n=i.applyToTriplePoints(r.o[o-1],r.i[o],r.v[o]),a.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=i.applyToTriplePoints(r.o[o-1],r.i[0],r.v[0]),a.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(e,t,n,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,a=4;"rc"===t.ty?a=5:"el"===t.ty?a=6:"sr"===t.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var s,o=n.length;for(i=0;i<o;i+=1)n[i].closed||(s={transforms:r.addTransformSequence(n[i].transforms),trNodes:[]},this.styledShapes.push(s),n[i].elements.push(s))}function CVShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,n)}function CVTextElement(e,t,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,n)}function CVImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,n)}function CVSolidElement(e,t,n){this.initElement(e,t,n)}function CanvasRendererBase(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=ne
vendor: 1,135 bytes, line 2
2w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(e,t,n){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=ne
vendor: 4,343 bytes, line 2
2w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(e,t,n){this.initElement(e,t,n)}function HShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,n)}function HCameraElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,e.pe,0,0,this),e.ks.p.s?(this.px=r(this,e.ks.p.x,1,0,this),this.py=r(this,e.ks.p.y,1,0,this),this.pz=r(this,e.ks.p.z,1,0,this)):this.p=r(this,e.ks.p,1,0,this),e.ks.a&&(this.a=r(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var i,a=e.ks.or.k.length;for(i=0;i<a;i+=1)e.ks.or.k[i].to=null,e.ks.or.k[i].ti=null}this.or=r(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,e.ks.rx,0,degToRads,this),this.ry=r(this,e.ks.ry,0,degToRads,this),this.rz=r(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(e,t,n){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var n=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(n),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.t
vendor: 12,959 bytes, line 2
2y,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],t=e.getContext("2d");if(this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas);n.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var n={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},r={};if("fl"===e.ty||"st"===e.ty?(r.c=PropertyFactory.getProp(this,e.c,1,255,this),r.c.k||(n.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(r.s=PropertyFactory.getProp(this,e.s,1,null,this),r.e=PropertyFactory.getProp(this,e.e,1,null,this),r.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,e.g,this)),r.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(n.lc=lineCapEnum[e.lc||2],n.lj=lineJoinEnum[e.lj||2],1==e.lj&&(n.ml=e.ml),r.w=PropertyFactory.getProp(this,e.w,0,null,this),r.w.k||(n.wi=r.w.v),e.d){var i=new DashProperty(this,e.d,"canvas",this);r.d=i,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,n,r,i){var a,s,o,l,u,c,d=e.length-1,h=[],f=[],p=[].concat(i);for(a=d;a>=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=n[l-1]:e[a]._shouldRender=r,"fl"===e[a].ty||"st"===e[a].ty||"gf"===e[a].ty||"gs"===e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],p),h.push(t[a].style);else if("gr"===e[a].ty){if(l)for(o=t[a].it.length,s=0;s<o;s+=1)t[a].prevViewData[s]=t[a].it[s];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,r,p)}else"tr"===e[a].ty?(l||(c=this.createTransformElement(e[a]),t[a]=c),p.push(t[a]),this.addTransformToStyleList(t[a])):"sh"===e[a].ty||"rc"===e[a].ty||"el"===e[a].ty||"sr"===e[a].ty?l||(t[a]=this.createShapeElement(e[a])):"tm"===e[a].ty||"rd"===e[a].ty||"pb"===e[a].ty||"zz"===e[a].ty||"op"===e[a].ty?(l?(u=t[a]).closed=!1:((u=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=u,this.shapeModifiers.push(u)),f.push(u)):"rp"===e[a].ty&&(l?(u=t[a]).closed=!0:(u=ShapeModifiers.getModifier(e[a].ty),t[a]=u,u.init(this,e,a,t),this.shapeModifiers.push(u),r=!1),f.push(u));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(h),d=f.length,a=0;a<d;a+=1)f[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,n,r,i,a,s,o,l,u=this.stylesList.length,c=this.globalData.renderer,d=this.globalData.canvasContext;for(e=0;e<u;e+=1)if(("st"!==(o=(l=this.stylesList[e]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),a=l.elements,"st"===o||"gs"===o?(d.strokeStyle="st"===o?l.co:l.grd,d.lineWidth=l.wi,d.lineCap=l.lc,d.lineJoin=l.lj,d.miterLimit=l.ml||0):d.fillStyle="fl"===o?l.co:l.grd,c.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&d.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),n=a.length,t=0;t<n;t+=1){for("st"!==o&&"gs"!==o||(d.beginPath(),l.da&&(d.setLineDash(l.da),d.lineDashOffset=l.do)),i=(s=a[t].trNodes).length,r=0;r<i;r+=1)"m"===s[r].t?d.moveTo(s[r].p[0],s[r].p[1]):"c"===s[r].t?d.bezierCurveTo(s[r].pts[0],s[r].pts[1],s[r].pts[2],s[r].pts[3],s[r].pts[4],s[r].pts[5]):d.closePath();"st"!==o&&"gs"!==o||(d.stroke(),l.da&&d.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&d.fill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(e,t,n,r){var i,a;for(a=e,i=t.length-1;i>=0;i-=1)"tr"===t[i].ty?(a=n[i].transform,this.renderShapeTransform(e,a)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],n[i]):"fl"===t[i].ty?this.renderFill(t[i],n[i],a):"st"===t[i].ty?this.renderStroke(t[i],n[i],a):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],n[i],a):"gr"===t[i].ty?this.renderShape(a,t[i].it,n[i].it):t[i].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n,r,i,a=e.trNodes,s=t.paths,o=s._length;a.length=0;var l=e.transforms.finalTransform;for(i=0;i<o;i+=1){var u=s.shapes[i];if(u&&u.v){for(r=u._length,n=1;n<r;n+=1)1===n&&a.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[n],u.v[n])});1===r&&a.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&r&&(a.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[0],u.v[0])}),a.push({t:"z"}))}}e.trNodes=a}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var n,r=t.styledShapes.length;for(n=0;n<r;n+=1)this.renderStyledShape(t.styledShapes[n],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,n){var r=t.style;(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,n){var r,i=t.style;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var a,s=this.globalData.canvasContext,o=t.s.v,l=t.e.v;if(1===e.t)r=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var u=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),c=Math.atan2(l[1]-o[1],l[0]-o[0]),d=t.h.v;d>=1?d=.99:d<=-1&&(d=-.99);var h=u*d,f=Math.cos(c+t.a.v)*h+o[0],p=Math.sin(c+t.a.v)*h+o[1];r=s.createRadialGradient(f,p,0,o[0],o[1],u)}var m=e.g.p,g=t.g.c,v=1;for(a=0;a<m;a+=1)t.g._hasOpacity&&t.g._collapsable&&(v=t.g.o[2*a+1]),r.addColorStop(g[4*a]/100,"rgba("+g[4*a+1]+","+g[4*a+2]+","+g[4*a+3]+","+v+")");i.grd=r}i.coOp=t.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(e,t,n){var r=t.style,i=t.d;i&&(i._mdf||this._isFirstFrame)&&(r.da=i.dashArray,r.do=i.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity),(t.w._mdf||this._isFirstFrame)&&(r.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var n=!1;e.sc&&(n=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var r,i,a,s,o,l,u,c,d,h,f,p,m=this.globalData.fontManager.getFontByName(e.f),g=e.l,v=this.mHelper;this.stroke=n,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,i=e.finalText.length;var y=this.data.singleShape,_=.001*e.tr*e.finalSize,b=0,x=0,T=!0,w=0;for(r=0;r<i;r+=1){s=(a=this.globalData.fontManager.getCharData(e.finalText[r],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&a.data||{},v.reset(),y&&g[r].n&&(b=-_,x+=e.yOffset,x+=T?1:0,T=!1),d=(u=s.shapes?s.shapes[0].it:[]).length,v.scale(e.finalSize/100,e.finalSize/100),y&&this.applyTextPropertiesToMatrix(e,v,g[r].line,b,x),f=createSizedArray(d-1);var S=0;for(c=0;c<d;c+=1)if("sh"===u[c].ty){for(l=u[c].ks.k.i.length,h=u[c].ks.k,p=[],o=1;o<l;o+=1)1===o&&p.push(v.applyToX(h.v[0][0],h.v[0][1],0),v.applyToY(h.v[0][0],h.v[0][1],0)),p.push(v.applyToX(h.o[o-1][0],h.o[o-1][1],0),v.applyToY(h.o[o-1][0],h.o[o-1][1],0),v.applyToX(h.i[o][0],h.i[o][1],0),v.applyToY(h.i[o][0],h.i[o][1],0),v.applyToX(h.v[o][0],h.v[o][1],0),v.applyToY(h.v[o][0],h.v[o][1],0));p.push(v.applyToX(h.o[o-1][0],h.o[o-1][1],0),v.applyToY(h.o[o-1][0],h.o[o-1][1],0),v.applyToX(h.i[0][0],h.i[0][1],0),v.applyToY(h.i[0][0],h.i[0][1],0),v.applyToX(h.v[0][0],h.v[0][1],0),v.applyToY(h.v[0][0],h.v[0][1],0)),f[S]=p,S+=1}y&&(b+=g[r].l,b+=_),this.textSpans[w]?this.textSpans[w].elem=f:this.textSpans[w]={elem:f},w+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,n,r,i,a,s=this.canvasContext;s.font=this.values.fValue,s.lineCap="butt",s.lineJoin="miter",s.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;t=u.length;var c,d,h=null,f=null,p=null;for(e=0;e<t;
2e+=1)if(!u[e].n){if((o=l[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?h!==o.fc&&(h=o.fc,s.fillStyle=o.fc):h!==this.values.fill&&(h=this.values.fill,s.fillStyle=this.values.fill),r=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(a=(d=c[n]).length,this.globalData.canvasContext.moveTo(d[0],d[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(d[i],d[i+1],d[i+2],d[i+3],d[i+4],d[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?p!==o.sw&&(p=o.sw,s.lineWidth=o.sw):p!==this.values.sWidth&&(p=this.values.sWidth,s.lineWidth=this.values.sWidth),o&&o.sc?f!==o.sc&&(f=o.sc,s.strokeStyle=o.sc):f!==this.values.stroke&&(f=this.values.stroke,s.strokeStyle=this.values.stroke),r=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(a=(d=c[n]).length,this.globalData.canvasContext.moveTo(d[0],d[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(d[i],d[i+1],d[i+2],d[i+3],d[i+4],d[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,n,r=e.getContext("2d"),i=this.img.width,a=this.img.height,s=i/a,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?t=(n=a)*o:n=(t=i)/o,r.drawImage(this.img,(i-t)/2,(a-n)/2,t,n,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.getTransform(),n=t.props;this.transformMat.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]),t.cloneFromProps(this.transformMat.props);var r=t.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){var t=this.contextData.getOpacity();if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=t);t*=e<0?0:e,this.contextData.setOpacity(t),this.globalData.currentGlobalAlpha!==t&&(this.canvasContext.globalAlpha=t,this.globalData.currentGlobalAlpha=t)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore(
vendor: 4,301 bytes, line 2
2)},CanvasRendererBase.prototype.save=function(e){this.renderConfig.clearCanvas?(e&&this.canvasContext.save(),this.contextData.push()):this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over");var t=this.contextData.pop(),n=t.transform,r=t.opacity;this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var n="0px 0px 0px";t.transformOrigin=n,t.mozTransformOrigin=n,t.webkitTransformOrigin=n,t["-webkit-transform"]=n,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){var n,r,i,a;if(this.reset(),e?(n=e,r=t,this.canvasContext.canvas.width=n,this.canvasContext.canvas.height=r):(this.animationItem.wrapper&&this.animationItem.container?(n=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight):(n=this.canvasContext.canvas.width,r=this.canvasContext.canvas.height),this.canvasContext.canvas.width=n*this.renderConfig.dpr,this.canvasContext.canvas.height=r*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),o=s[1]||"meet",l=s[0]||"xMidYMid",u=l.substr(0,4),c=l.substr(4);i=n/r,(a=this.transformCanvas.w/this.transformCanvas.h)>i&&"meet"===o||a<i&&"slice"===o?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===u&&(a<i&&"meet"===o||a>i&&"slice"===o)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===u&&(a<i&&"meet"===o||a>i&&"slice"===o)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===c&&(a>i&&"meet"===o||a<i&&"slice"===o)?(r-this.transformCanvas.h*(n/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===c&&(a>i&&"meet"===o||a<i&&"slice"===o)?(r-this.transformCanvas.h*(n/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;
vendor: 32,375 bytes, line 2
2for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var n;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=0;n<r;n+=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(e-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t=e[n].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var n,r,i,a,s,o=e.sh.v,l=e.transformers,u=o._length;if(!(u<=1)){for(n=0;n<u-1;n+=1)r=this.getTransformedPoint(l,o.v[n]),i=this.getTransformedPoint(l,o.o[n]),a=this.getTransformedPoint(l,o.i[n+1]),s=this.getTransformedPoint(l,o.v[n+1]),this.checkBounds(r,i,a,s,t);o.c&&(r=this.getTransformedPoint(l,o.v[n]),i=this.getTransformedPoint(l,o.o[n]),a=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(r,i,a,s,t))}},HShapeElement.prototype.checkBounds=function(e,t,n,r,i){this.getBoundsOfCurve(e,t,n,r);var a=this.shapeBoundingBox;i.x=bmMin(a.left,i.x),i.xMax=bmMax(a.right,i.xMax),i.y=bmMin(a.top,i.y),i.yMax=bmMax(a.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,n,r){for(var i,a,s,o,l,u,c,d=[[e[0],r[0]],[e[1],r[1]]],h=0;h<2;++h)a=6*e[h]-12*t[h]+6*n[h],i=-3*e[h]+9*t[h]-9*n[h]+3*r[h],s=3*t[h]-3*e[h],a|=0,s|=0,0===(i|=0)&&0===a||(0===i?(o=-s/a)>0&&o<1&&d[h].push(this.calculateF(o,e,t,n,r,h)):(l=a*a-4*s*i)>=0&&((u=(-a+bmSqrt(l))/(2*i))>0&&u<1&&d[h].push(this.calculateF(u,e,t,n,r,h)),(c=(-a-bmSqrt(l))/(2*i))>0&&c<1&&d[h].push(this.calculateF(c,e,t,n,r,h))));this.shapeBoundingBox.left=bmMin.apply(null,d[0]),this.shapeBoundingBox.top=bmMin.apply(null,d[1]),this.shapeBoundingBox.right=bmMax.apply(null,d[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,d[1])},HShapeElement.prototype.calculateF=function(e,t,n,r,i,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*n[a]+3*(1-e)*bmPow(e,2)*r[a]+bmPow(e,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]&&e[n].sh?this.calculateShapeBoundingBox(e[n],t):e[n]&&e[n].it?this.calculateBoundingBox(e[n].it,t):e[n]&&e[n].style&&e[n].w&&this.expandStrokeBoundingBox(e[n].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var n=0;if(e.keyframes){for(var r=0;r<e.keyframes.length;r+=1){var i=e.keyframes[r].s;i>n&&(n=i)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var n=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),n=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),n=!0),n||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=i,r.webkitTransform=i}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,n=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=n,t.color=n,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r,i,a=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{t.fontFamily=a.fFamily;var s=e.fWeight,o=e.fStyle;t.fontStyle=o,t.fontWeight=s}var l,u,c,d=e.l;i=d.length;var h,f=this.mHelper,p="",m=0;for(r=0;r<i;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?c=(u=this.textSpans[m]).children[0]:((u=createTag("div")).style.lineHeight=0,(c=createNS("svg")).appendChild(l),styleDiv(u)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(u=this.textSpans[m],l=this.textPaths[m]):(styleDiv(u=createTag("span")),styleDiv(l=createTag("span")),u.appendChild(l)),this.globalData.fontManager.chars){var g,v=this.globalData.fontManager.getCharData(e.finalText[r],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(g=v?v.data:null,f.reset(),g&&g.shapes&&g.shapes.length&&(h=g.shapes[0].it,f.scale(e.finalSize/100,e.finalSize/100),p=this.createPathShape(f,h),l.setAttribute("d",p)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(u),g&&g.shapes){document.body.appendChild(c);var y=c.getBBox();c.setAttribute("width",y.width+2),c.setAttribute("height",y.height+2),c.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var _=c.style,b="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";_.transform=b,_.webkitTransform=b,d[r].yOffset=y.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);u.appendChild(c)}}else if(l.textContent=d[r].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(u);var x=l.style,T="translate3d(0,"+-e.finalSize/1.2+"px,0)";x.transform=T,x.webkitTransform=T}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=u,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var n,r,i,a,s,o=0,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;for(r=u.length,n=0;n<r;n+=1)u[n].n?o+=1:(a=this.textSpans[n],s=this.textPaths[n],i=l[o],o+=1,i._mdf.m&&(this.isMasked?a.setAttribute("transform",i.m):(a.style.webkitTransform=i.m,a.style.transform=i.m)),a.style.opacity=i.o,i.sw&&i._mdf.sw&&s.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&s.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(s.setAttribute("fill",i.fc),s.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();if(this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height)),this.currentBBox.w!==c.width+2||this.currentBBox.h!==c.height+2||this.currentBBox.x!==c.x-1||this.currentBBox.y!==c.y-1){this.currentBBox.w=c.width+2,this.currentBBox.h=c.height+2,this.currentBBox.x=c.x-1,this.currentBBox.y=c.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var d="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=d,e.webkitTransform=d}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,n,r,i=this.comp.threeDElements.length;for(e=0;e<i;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){n=t.perspectiveElem.style,r=t.container.style;var a=this.pe.v+"px",s="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=a,n.webkitPerspective=a,r.transformOrigin=s,r.mozTransformOrigin=s,r.webkitTransformOrigin=s,n.transform=o,n.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,n=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)n=this.hierarchy[e].finalTransform.mProp._mdf||n;if(n||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var r=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),s=[i[0]/a,i[1]/a,i[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),u=Math.atan2(s[0],-s[2]);this.mat.rotateY(u).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var d,h,f;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(d=this.comp.threeDElements[e]).type){if(c){var p=this.mat.toCSS();(f=d.container.style).transform=p,f.webkitTransform=p}this.pe._mdf&&((h=d.perspectiveElem.style).perspective=this.pe.v+"px",h.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){var r=this.layers[t];if(r.ddd&&this.supports3d)this.addTo3dContainer(n,t);else if(this.threeDElements)this.addTo3dContainer(n,t);else{for(var i,a,s=0;s<t;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s],i=(this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement())||i),s+=1;i?r.ddd&&this.supports3d||this.layerElement.insertBefore(n,i):r.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,n=this.threeDElements.length;t<n;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var n,r,i=createTag("div");styleDiv(i);var a=createTag("div");if(styleDiv(a),"3d"===t){(n=i.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var s="50% 50%";n.webkitTransformOrigin=s,n.mozTransformOrigin=s,n.transformOrigin=s;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=a.style).transform=o,r.webkitTransform=o}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,n=this.layers.length,r="";for(e=0;e<n;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==r&&(r="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==r&&(r="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(n=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,r=this.threeDElements.length;n<r;){if(t<=this.threeDElements[n].endPos){for(var i,a=this.threeDElements[n].startPos;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(i=this.elements[a].getBaseElement()),a+=1;i?this.threeDElements[n].container.insertBefore(e,i):this.threeDElements[n].container.appendChild(e);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),n=this.animationItem.wrapper,r=t.style;r.width=e.w+"px",r.height=e.h+"px",this.resizerElem=t,styleDiv(t),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),n.appendChild(t),r.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var a=createNS("defs");i.appendChild(a),this.data=e,this.setupGlobalData(e,i),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,n,r,i=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,s=i/a;this.globalData.compSize.w/this.globalData.compSize.h>s?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,n=0,r=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,n=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,r=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+n+","+r+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,n=this.globalData.compSize.h,r=this.threeDElements.length;for(e=0;e<r;e+=1){var i=this.threeDElements[e].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(n,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,n=e.length,r=createTag("div");for(t=0;t<n;t+=1)if(e[t].xt){var i=this.createComp(e[t],r,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var n,r=0;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(n=this.elements[r].getBaseElement()),r+=1;n?this.layerElement.insertBefore(e,n):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(e){function t(t){for(var n=0,r=e.layers.length;n<r;){if(e.layers[n].nm===t||e.layers[n].ind===t)return e.elements[n].layerInterface;n+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t},Expressions=function(){var e={initExpressions:function(e){var t=0,n=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0===(t-=1)&&function(){var e,t=n.length;for(e=0;e<t;e+=1)n[e].release();n.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===n.indexOf(e)&&n.push(e)}}};return e}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var n,r=createSizedArray(t.viewData.length),i=t.viewData.length;for(n=0;n<i;n+=1)r[n]=new e(t.viewData[n],t.masksProperties[n]);return function(e){for(n=0;n<i;){if(t.masksProperties[n].nm===e)return r[n];n+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function n(e,t,n){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(r){if(!e.numKeys)return 0;var i="";i="s"in t.keyframes[r-1]?t.keyframes[r-1].s:"e"in t.keyframes[r-2]?t.keyframes[r-2].e:t.keyframes[r-2].s;var a="unidimensional"===n?new Number(i):Object.assign({},i);return a.time=t.keyframes[r-1].t/t.elem.comp.globalData.frameRate,a.value="unidimensional"===n?i[0]:i,a},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function r(){return e}return function(i){return i?"unidimensional"===i.propType?function(t){t&&"pv"in t||(t=e);var r=1/t.mult,i=t.pv*r,a=new Number(i);return a.value=i,n(a,t,"unidimensional"),function(){return t.k&&t.getValue(),i=t.v*r,a.value!==i&&((a=new Number(i)).value=i,n(a,t,"unidimensional")),a}}(i):function(e){e&&"pv"in e||(e=t);var r=1/e.mult,i=e.data&&e.data.l||e.pv.length,a=createTypedArray("float32",i),s=createTypedArray("float32",i);return a.value=s,n(a,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<i;t+=1)s[t]=e.v[t]*r,a[t]=s[t];return a}}(i):r}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var n,r,i,a;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?a=ExpressionPropertyInterface(e.p):(n=ExpressionPropertyInterface(e.px),r=ExpressionPropertyInterface(e.py),e.pz&&(i=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[n(),r(),i?i():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.applyPoint(n,e)}function n(e,t){var n=this.getMatrix(t);return this.applyPoint(n,e)}function r(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.invertPoint(n,e)}function i(e,t){var n=this.getMatrix(t);return this.invertPoint(n,e)}function a(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function s(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function o(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function l(){return[1,1,1,1]}return function(u){var c;function d(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return d.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return c;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return d.effect;case"ADBE Text Properties":return d.textInterface;default:return null}}d.getMatrix=e,d.invertPoint=s,d.applyPoint=a,d.toWorld=n,d.toWorldVec=t,d.fromWorld=i,d.fromWorldVec=r,d.toComp=n,d.fromComp=o,d.sampleImage=l,d.sourceRectAtTime=u.sourceRectAtTime.bind(u),d._elem=u;var h=getDescriptor(c=TransformExpressionInterface(u.finalTransform.mProp),"anchorPoint");return Object.defineProperties(d,{hasParent:{get:function(){return u.hierarchy.length}},parent:{get:function(){return u.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:h,anchor_point:h,transform:{get:function(){return c}},active:{get:function(){return u.isInRange}}}),d.startTime=u.data.st,d.index=u.data.ind,d.source=u.data.refId,d.height=0===u.data.ty?u.data.h:100,d.width=0===u.data.ty?u.data.w:100,d.inPoint=u.data.ip/u.comp.globalData.frameRate,d.outPoint=u.data.op/u.comp.globalData.frameRate,d._name=u.data.nm,d.registerMaskInterface=function(e){d.mask=new MaskManagerInterface(e,u)},d.registerEffectsInterface=function(e){d.effect=e},d}}(),propertyGroupFactory=function(e,t){return function(n){return(n=void 0===n?1:n)<=0?e:t(n-1)}},PropertyInterface=function(e,t){var n={_name:e};return function(e){return(e=void 0===e?1:e)<=0?n:t(e-1)}}
vendor: 8,233 bytes, line 2
2,EffectsExpressionInterface=function(){function e(n,r,i,a){function s(e){for(var t=n.ef,r=0,i=t.length;r<i;){if(e===t[r].nm||e===t[r].mn||e===t[r].ix)return 5===t[r].ty?u[r]:u[r]();r+=1}throw new Error}var o,l=propertyGroupFactory(s,i),u=[],c=n.ef.length;for(o=0;o<c;o+=1)5===n.ef[o].ty?u.push(e(n.ef[o],r.effectElements[o],r.effectElements[o].propertyGroup,a)):u.push(t(r.effectElements[o],n.ef[o].ty,a,l));return"ADBE Color Control"===n.mn&&Object.defineProperty(s,"color",{get:function(){return u[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:l}}),s.enabled=0!==n.en,s.active=s.enabled,s}function t(e,t,n,r){var i=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",r)),function(){return 10===t?n.comp.compInterface(e.p.v):i()}}return{createEffectsInterface:function(t,n){if(t.effectsManager){var r,i=[],a=t.data.ef,s=t.effectsManager.effectElements.length;for(r=0;r<s;r+=1)i.push(e(a[r],t.effectsManager.effectElements[r],n,t));var o=t.data.ef||[],l=function(e){for(r=0,s=o.length;r<s;){if(e===o[r].nm||e===o[r].mn||e===o[r].ix)return i[r];r+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}}}(),ShapePathInterface=function(e,t,n){var r=t.sh;function i(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?i.path:null}var a=propertyGroupFactory(i,n);return r.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(i,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:n}}),i},ShapeExpressionInterface=function(){function e(e,s,h){var f,p=[],m=e?e.length:0;for(f=0;f<m;f+=1)"gr"===e[f].ty?p.push(t(e[f],s[f],h)):"fl"===e[f].ty?p.push(n(e[f],s[f],h)):"st"===e[f].ty?p.push(i(e[f],s[f],h)):"tm"===e[f].ty?p.push(a(e[f],s[f],h)):"tr"===e[f].ty||("el"===e[f].ty?p.push(o(e[f],s[f],h)):"sr"===e[f].ty?p.push(l(e[f],s[f],h)):"sh"===e[f].ty?p.push(ShapePathInterface(e[f],s[f],h)):"rc"===e[f].ty?p.push(u(e[f],s[f],h)):"rd"===e[f].ty?p.push(c(e[f],s[f],h)):"rp"===e[f].ty?p.push(d(e[f],s[f],h)):"gf"===e[f].ty?p.push(r(e[f],s[f],h)):p.push((e[f],s[f],function(){return null})));return p}function t(t,n,r){var i=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,r);var a=function(t,n,r){var i,a=function(e){for(var t=0,n=i.length;t<n;){if(i[t]._name===e||i[t].mn===e||i[t].propertyIndex===e||i[t].ix===e||i[t].ind===e)return i[t];t+=1}return"number"===typeof e?i[e-1]:null};a.propertyGroup=propertyGroupFactory(a,r),i=e(t.it,n.it,a.propertyGroup),a.numProperties=i.length;var o=s(t.it[t.it.length-1],n.it[n.it.length-1],a.propertyGroup);return a.transform=o,a.propertyIndex=t.cix,a._name=t.nm,a}(t,n,i.propertyGroup),o=s(t.it[t.it.length-1],n.it[n.it.length-1],i.propertyGroup);return i.content=a,i.transform=o,Object.defineProperty(i,"_name",{get:function(){return t.nm}}),i.numProperties=t.np,i.propertyIndex=t.ix,i.nm=t.nm,i.mn=t.mn,i}function n(e,t,n){function r(e){return"Color"===e||"color"===e?r.color:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function r(e,t,n){function r(e){return"Start Point"===e||"start point"===e?r.startPoint:"End Point"===e||"end point"===e?r.endPoint:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",n)),t.e.setGroupProperty(PropertyInterface("End Point",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function i(e,t,n){var r,i=propertyGroupFactory(u,n),a=propertyGroupFactory(l,i);function s(n){Object.defineProperty(l,e.d[n].nm,{get:ExpressionPropertyInterface(t.d.dataProps[n].p)})}var o=e.d?e.d.length:0,l={};for(r=0;r<o;r+=1)s(r),t.d.dataProps[r].p.setGroupProperty(a);function u(e){return"Color"===e||"color"===e?u.color:"Opacity"===e||"opacity"===e?u.opacity:"Stroke Width"===e||"stroke width"===e?u.strokeWidth:null}return Object.defineProperties(u,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",i)),t.o.setGroupProperty(PropertyInterface("Opacity",i)),t.w.setGroupProperty(PropertyInterface("Stroke Width",i)),u}function a(e,t,n){function r(t){return t===e.e.ix||"End"===t||"end"===t?r.end:t===e.s.ix?r.start:t===e.o.ix?r.offset:null}var i=propertyGroupFactory(r,n);return r.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",i)),t.e.setGroupProperty(PropertyInterface("End",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),r.propertyIndex=e.ix,r.propertyGroup=n,Object.defineProperties(r,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),r.mn=e.mn,r}function s(e,t,n){function r(t){return e.a.ix===t||"Anchor Point"===t?r.anchorPoint:e.o.ix===t||"Opacity"===t?r.opacity:e.p.ix===t||"Position"===t?r.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?r.rotation:e.s.ix===t||"Scale"===t?r.scale:e.sk&&e.sk.ix===t||"Skew"===t?r.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?r.skewAxis:null}var i=propertyGroupFactory(r,n);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(r,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),r.ty="tr",r.mn=e.mn,r.propertyGroup=n,r}function o(e,t,n){function r(t){return e.p.ix===t?r.position:e.s.ix===t?r.size:null}var i=propertyGroupFactory(r,n);r.propertyIndex=e.ix;var a="tm"===t.sh.ty?t.sh.prop:t.sh;return a.s.setGroupProperty(PropertyInterface("Size",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:e.nm}}),r.mn=e.mn,r}function l(e,t,n){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.rotation:e.pt.ix===t?r.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?r.outerRadius:e.os.ix===t?r.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?r.innerRoundness:null:r.innerRadius}var i=propertyGroupFactory(r,n),a="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",i)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),a.pt.setGroupProperty(PropertyInterface("Points",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(
vendor: 8,641 bytes, line 2
2a.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:e.nm}}),r.mn=e.mn,r}function u(e,t,n){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?r.size:null}var i=propertyGroupFactory(r,n),a="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,a.p.setGroupProperty(PropertyInterface("Position",i)),a.s.setGroupProperty(PropertyInterface("Size",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:e.nm}}),r.mn=e.mn,r}function c(e,t,n){function r(t){return e.r.ix===t||"Round Corners 1"===t?r.radius:null}var i=propertyGroupFactory(r,n),a=t;return r.propertyIndex=e.ix,a.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(r,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:e.nm}}),r.mn=e.mn,r}function d(e,t,n){function r(t){return e.c.ix===t||"Copies"===t?r.copies:e.o.ix===t||"Offset"===t?r.offset:null}var i=propertyGroupFactory(r,n),a=t;return r.propertyIndex=e.ix,a.c.setGroupProperty(PropertyInterface("Copies",i)),a.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:e.nm}}),r.mn=e.mn,r}return function(t,n,r){var i;function a(e){if("number"===typeof e)return 0===(e=void 0===e?1:e)?r:i[e-1];for(var t=0,n=i.length;t<n;){if(i[t]._name===e)return i[t];t+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return r})),i=e(t,n,a.propertyGroup),a.numProperties=i.length,a._name="Contents",a}}(),TextExpressionInterface=function(e){var t,n;function r(e){return"ADBE Text Document"===e?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return r!==t&&(t=e.textProperty.currentData.t,(n=new String(r)).value=r||new String(r),Object.defineProperty(n,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),n}}),r};function _typeof$2(e){return _typeof$2="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},_typeof$2(e)}var FootageInterface=function(){var e=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",n=e.getFootageData();function r(e){if(n[e])return t=e,"object"===_typeof$2(n=n[e])?r:n;var i=e.indexOf(t);if(-1!==i){var a=parseInt(e.substr(i+t.length),10);return"object"===_typeof$2(n=n[a])?r:n}return""}return function(){return t="",n=e.getFootageData(),r}}(e),t};return function(t){function n(e){return"Data"===e?n.dataInterface:null}return n._name="Data",n.dataInterface=e(t),n}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}function _typeof$1(e){return _typeof$1="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},_typeof$1(e)}function seedRandom(e,t){var n=this,r=256,i="random",a=t.pow(r,6),s=t.pow(2,52),o=2*s,l=255;function u(e){var t,n=e.length,i=this,a=0,s=i.i=i.j=0,o=i.S=[];for(n||(e=[n++]);a<r;)o[a]=a++;for(a=0;a<r;a++)o[a]=o[s=l&s+e[a%n]+(t=o[a])],o[s]=t;i.g=function(e){for(var t,n=0,a=i.i,s=i.j,o=i.S;e--;)t=o[a=l&a+1],n=n*r+o[l&(o[a]=o[s=l&s+t])+(o[s]=t)];return i.i=a,i.j=s,n}}function c(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function d(e,t){var n,r=[],i=_typeof$1(e);if(t&&"object"==i)for(n in e)try{r.push(d(e[n],t-1))}catch(a){}return r.length?r:"string"==i?e:e+"\0"}function h(e,t){for(var n,r=e+"",i=0;i<r.length;)t[l&i]=l&(n^=19*t[l&i])+r.charCodeAt(i++);return f(t)}function f(e){return String.fromCharCode.apply(0,e)}t["seed"+i]=function(l,p,m){var g=[],v=h(d((p=!0===p?{entropy:!0}:p||{}).entropy?[l,f(e)]:null===l?function(){try{var t=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(t),f(t)}catch(s){var i=n.navigator,a=i&&i.plugins;return[+new Date,n,a,n.screen,f(e)]}}():l,3),g),y=new u(g),_=function(){for(var e=y.g(6),t=a,n=0;e<s;)e=(e+n)*r,t*=r,n=y.g(1);for(;e>=o;)e/=2,t/=2,n>>>=1;return(e+n)/t};return _.int32=function(){return 0|y.g(4)},_.quick=function(){return y.g(4)/4294967296},_.double=_,h(f(y.S),e),(p.pass||m||function(e,n,r,a){return a&&(a.S&&c(a,y),e.state=function(){return c(y,{})}),r?(t[i]=e,n):e})(_,v,"global"in p?p.global:this==t,p.state)},h(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof(e){return _typeof="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},_typeof(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var n,r=e.length,i=[];for(n=0;n<r;n+=1)i[n]=-e[n];return i}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var n=_typeof(e),r=_typeof(t);if("string"===n||"string"===r)return e+t;if(isNumerable(n,e)&&isNumerable(r,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,s=t.length,o=[];i<a||i<s;)("number"===typeof e[i]||e[i]instanceof Number)&&("number"===typeof t[i]||t[i]instanceof Number)?o[i]=e[i]+t[i]:o[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return o}return 0}var add=sum;function sub(e,t){var n=_typeof(e),r=_typeof(t);if(isNumerable(n,e)&&isNumerable(r,t))return"string"===n&&(e=parseInt(e,10)),"string"===r&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,s=t.length,o=[];i<a||i<s;)("number"===typeof e[i]||e[i]instanceof Number)&&("number"===typeof t[i]||t[i]instanceof Number)?o[i]=e[i]-t[i]:o[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return o}return 0}function mul(e,t){var n,r,i,a=_typeof(e),s=_typeof(t);if(isNumerable(a,e)&&isNumerable(s,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e[r]*t;return n}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e*t[r];return n}return 0}function div(e,t){var n,r,i,a=_typeof(e),s=_typeof(t);if(isNumerable(a,e)&&isNumerable(s,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e[r]/t;return n}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,n=createTypedArray("float32",i),r=0;r<i;r+=1)n[r]=e/t[r];return n}return 0}function mod(e,t){return"string"===typeof e&&(e=parseInt(e,10)),"string"===typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,n){if(t>n){var r=n;n=t,t=r}return Math.min(Math.max(e,t),n)}function radiansToDegrees(e){return e/degToRads}
vendor: 7,572 bytes, line 2
2var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"===typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var n;t||(t=helperLengthArray);var r=Math.min(e.length,t.length),i=0;for(n=0;n<r;n+=1)i+=Math.pow(t[n]-e[n],2);return Math.sqrt(i)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,n,r=e[0],i=e[1],a=e[2],s=Math.max(r,i,a),o=Math.min(r,i,a),l=(s+o)/2;if(s===o)t=0,n=0;else{var u=s-o;switch(n=l>.5?u/(2-s-o):u/(s+o),s){case r:t=(i-a)/u+(i<a?6:0);break;case i:t=(a-r)/u+2;break;case a:t=(r-i)/u+4}t/=6}return[t,n,l,e[3]]}function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t,n,r,i=e[0],a=e[1],s=e[2];if(0===a)t=s,r=s,n=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;t=hue2rgb(l,o,i+1/3),n=hue2rgb(l,o,i),r=hue2rgb(l,o,i-1/3)}return[t,n,r,e[3]]}function linear(e,t,n,r,i){if(void 0!==r&&void 0!==i||(r=t,i=n,t=0,n=1),n<t){var a=n;n=t,t=a}if(e<=t)return r;if(e>=n)return i;var s,o=n===t?0:(e-t)/(n-t);if(!r.length)return r+(i-r)*o;var l=r.length,u=createTypedArray("float32",l);for(s=0;s<l;s+=1)u[s]=r[s]+(i[s]-r[s])*o;return u}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var n,r=t.length;e||(e=createTypedArray("float32",r));var i=createTypedArray("float32",r),a=BMMath.random();for(n=0;n<r;n+=1)i[n]=e[n]+a*(t[n]-e[n]);return i}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,n,r){var i,a=e.length,s=shapePool.newElement();s.setPathData(!!r,a);var o,l,u=[0,0];for(i=0;i<a;i+=1)o=t&&t[i]?t[i]:u,l=n&&n[i]?n[i]:u,s.setTripleAt(e[i][0],e[i][1],l[0]+e[i][0],l[1]+e[i][1],o[0]+e[i][0],o[1]+e[i][1],i,!0);return s}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var n,r,i=this.pv.length?this.pv.length:1,a=createTypedArray("float32",i),s=Math.floor(5*time);for(n=0,r=0;n<s;){for(r=0;r<i;r+=1)a[r]+=-t+2*t*BMMath.random();n+=1}var o=5*time,l=o-Math.floor(o),u=createTypedArray("float32",i);if(i>1){for(r=0;r<i;r+=1)u[r]=this.pv[r]+a[r]+(-t+2*t*BMMath.random())*l;return u}return this.pv+a[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var n=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],r=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,r,0]}function easeOut(e,t,n,r,i){return applyEase(easeOutBez,e,t,n,r,i)}function easeIn(e,t,n,r,i){return applyEase(easeInBez,e,t,n,r,i)}function ease(e,t,n,r,i){return applyEase(easeInOutBez,e,t,n,r,i)}function applyEase(e,t,n,r,i,a){void 0===i?(i=n,a=r):t=(t-n)/(r-n),t>1?t=1:t<0&&(t=0);var s=e(t);if($bm_isInstanceOfArray(i)){var o,l=i.length,u=createTypedArray("float32",l);for(o=0;o<l;o+=1)u[o]=(a[o]-i[o])*s+i[o];return u}return(a-i)*s+i}function nearestKey(e){var t,n,r,i=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(n=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)n=1,r=data.k[0].t;else{for(t=0;t<i-1;t+=1){if(e===data.k[t].t){n=t+1,r=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(n=t+2,r=data.k[t+1].t):(n=t+1,r=data.k[t].t);break}}-1===n&&(n=t+1,r=data.k[t].t)}else n=0,r=0;var a={};return a.index=n,a.time=r/elem.comp.globalData.frameRate,a}function key(e){var t,n,r;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(r=i.length,n=0;n<r;n+=1)t[n]=i[n],t.value[n]=i[n];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"===typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"===typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKe
vendor: 11,625 bytes, line 2
2ys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(e,t,n){t.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(e,t,n).bind(n)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),n=this.getValueAtTime(e+-.01),r=0;if(t.length){var i;for(i=0;i<t.length;i+=1)r+=Math.pow(n[i]-t[i],2);r=100*Math.sqrt(r)}else r=0;return r},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,n,r=-.001,i=this.getValueAtTime(e),a=this.getValueAtTime(e+r);if(i.length)for(t=createTypedArray("float32",i.length),n=0;n<i.length;n+=1)t[n]=(a[n]-i[n])/r;else t=(a-i)/r;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,n){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var r,i,a,s,o,l=this.comp.renderedFrame,u=this.keyframes,c=u[u.length-1].t;if(l<=c)return this.pv;if(n?i=c-(r=t?Math.abs(c-this.elem.comp.globalData.frameRate*t):Math.max(0,c-this.elem.data.ip)):((!t||t>u.length-1)&&(t=u.length-1),r=c-(i=u[u.length-1-t].t)),"pingpong"===e){if(Math.floor((l-i)/r)%2!==0)return this.getValueAtTime((r-(l-i)%r+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(i/this.comp.globalData.frameRate,0),h=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0),p=Math.floor((l-i)/r);if(this.pv.length){for(s=(o=new Array(d.length)).length,a=0;a<s;a+=1)o[a]=(h[a]-d[a])*p+f[a];return o}return(h-d)*p+f}if("continue"===e){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*((l-c)/this.comp.globalData.frameRate)/5e-4;return o}return m+(l-c)/.001*(m-g)}}return this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0)}function t(e,t,n){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var r,i,a,s,o,l=this.comp.renderedFrame,u=this.keyframes,c=u[0].t;if(l>=c)return this.pv;if(n?i=c+(r=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-c)):((!t||t>u.length-1)&&(t=u.length-1),r=(i=u[t].t)-c),"pingpong"===e){if(Math.floor((c-l)/r)%2===0)return this.getValueAtTime(((c-l)%r+c)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(c/this.comp.globalData.frameRate,0),h=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime((r-(c-l)%r+c)/this.comp.globalData.frameRate,0),p=Math.floor((c-l)/r)+1;if(this.pv.length){for(s=(o=new Array(d.length)).length,a=0;a<s;a+=1)o[a]=f[a]-(h[a]-d[a])*p;return o}return f-(h-d)*p}if("continue"===e){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*(c-l)/.001;return o}return m+(m-g)*(c-l)/.001}}return this.getValueAtTime((r-((c-l)%r+c))/this.comp.globalData.frameRate,0)}function n(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var n,r,i=this.comp.renderedFrame/this.comp.globalData.frameRate,a=i-e,s=t>1?(i+e-a)/(t-1):1,o=0,l=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;o<t;){if(r=this.getValueAtTime(a+o*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]+=r[l];else n+=r;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]/=t;else n/=t;return n}function r(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var n=this.a.getValueAtTime(e);t.translate(-n[0]*this.a.mult,-n[1]*this.a.mult,n[2]*this.a.mult)}if(this.appliedTransformations<2){var r=this.s.getValueAtTime(e);t.scale(r[0]*this.s.mult,r[1]*this.s.mult,r[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(e),a=this.sa.getValueAtTime(e);t.skewFromAxis(-i*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var s=this.r.getValueAtTime(e);t.rotate(-s*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(e),l=this.ry.getValueAtTime(e),u=this.rx.getValueAtTime(e),c=this.or.getValueAtTime(e);t.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(u*this.rx.mult).rotateZ(-c[2]*this.or.mult).rotateY(c[1]*this.or.mult).rotateX(c[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var d=this.px.getValueAtTime(e),h=this.py.getValueAtTime(e);if(this.data.p.z){var f=this.pz.getValueAtTime(e);t.translate(d*this.px.mult,h*this.py.mult,-f*this.pz.mult)}else t.translate(d*this.px.mult,h*this.py.mult,0)}else{var p=this.p.getValueAtTime(e);t.translate(p[0]*this.p.mult,p[1]*this.p.mult,-p[2]*this.p.mult)}return t}function i(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,n){var s=a(e,t,n);return s.dynamicProperties.length?s.getValueAtTime=r.bind(s):s.getValueAtTime=i.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(r,i,a,o,l){var u=s(r,i,a,o,l);u.kf?u.getValueAtTime=expressionHelpers.getValueAtTime.bind(u):u.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(u),u.setGroupProperty=expressionHelpers.setGroupProperty,u.loopOut=e,u.loopIn=t,u.smooth=n,u.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(u),u.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(u),u.numKeys=1===i.a?i.k.length:0,u.propertyIndex=i.ix;var c=0;return 0!==a&&(c=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),u._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(r,i,u),u.k&&l.addDynamicProperty(u),u};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function u(){}u.prototype={vertices:function(e,t){this.k&&this.getValue();var n,r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0));var i=r._length,a=r[e],s=r.v,o=createSizedArray(i);for(n=0;n<i;n+=1)o[n]="i"===e||"o"===e?[a[n][0]-s[n][0],a[n][1]-s[n][1]]:[a[n][0],a[n][1]];return o},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));for(var r,i=this._segmentsLength,a=i.lengths,s=i.totalLength*e,o=0,l=a.length,u=0;o<l;){if(u+a[o].addedLength>s){var c=o,d=n.c&&o===l-1?0:o+1,h=(s-u)/a[o].addedLength;r=bez.getPointInSegment(n.v[c],n.v[d],n.o[c],n.i[d],h,a[o]);break}u+=a[o].addedLength,o+=1}return r||(r=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),r},vectorOnPath:function(e,t,n){1==e?e=this.v.c:0==e&&(e=.999);var r=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),a=i[0]-r[0],s=i[1]-r[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(s,2));return 0===o?[0,0]:"tangent"===n?[a/o,s/o]:[-s/o,a/o]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([u],o),extendPrototype([u],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var c=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,n,r,i){var a=c(e,t,n,r,i);return a.propertyIndex=t.ix,a.lock=!1,3===n?expressionHelpers.searchExpressions(e,t.pt,a):4===n&&expressionHelpers.searchExpressions(e,t.ks,a),a.k&&e.addDynamicProperty(a),a}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var n=this.calculateExpression(t);if(e.t!==n){var r={};return this.copyData(r,e),r.t=n.toString(),r.__complete=!1,r}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(e,t){var n,r,i=createNS("feMerge");for(i.setAttribute("result",e),r=0;r<t.length;r+=1)(n=createNS("feMergeNode")).setAttribute("in",t[r]),i.appendChild(n),i.appendChild(n);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,n,r,i){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",r+"_tint_1"),e.appendChild(a),(a=createNS("feColorMatrix")).setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",r+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var s=this.createMergeNode(r,[i,r+"_tint_1",r+"_tint_2"]);e.appendChild(s)}function SVGFillFilter(e,t,n,r){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",r),e.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(e,t,n){this.initialized=!1,this.filterManager=t,this.elem=n,this.paths=[]}function SVGTritoneFilter(e,t,n,r){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.a
vendor: 5,131 bytes, line 2
2ppendChild(i);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",r),this.matrixFilter=a;var s=createNS("feFuncR");s.setAttribute("type","table"),a.appendChild(s),this.feFuncR=s;var o=createNS("feFuncG");o.setAttribute("type","table"),a.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,e.appendChild(a)}function SVGProLevelsFilter(e,t,n,r){this.filterManager=t;var i=this.filterManager.effectElements,a=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&((a=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",r),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}function SVGDropShadowEffect(e,t,n,r,i){var a=t.container.globalData.renderConfig.filterSize,s=t.data.fs||a;e.setAttribute("x",s.x||a.x),e.setAttribute("y",s.y||a.y),e.setAttribute("width",s.width||a.width),e.setAttribute("height",s.height||a.height),this.filterManager=t;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",r+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,e.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",r+"_drop_shadow_1"),l.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var u=createNS("feFlood");u.setAttribute("flood-color","#00ff00"),u.setAttribute("flood-opacity","1"),u.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=u,e.appendChild(u);var c=createNS("feComposite");c.setAttribute("in",r+"_drop_shadow_3"),c.setAttribute("in2",r+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",r+"_drop_shadow_4"),e.appendChild(c);var d=this.createMergeNode(r,[r+"_drop_shadow_4",i]);e.appendChild(d)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",n[0]-t[0]+" 0 0 0 "+t[0]+" "+(n[1]-t[1])+" 0 0 0 "+t[1]+" "+(n[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,n,r,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,n=0):r=1+(n=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);n<r;n+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:n});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),s=createElementID();a.setAttribute("id",s),a.setAttribute("mask-type","alpha"),a.appendChild(t),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+s+")");i[0];)o.appendChild(i[0]);this.elem.layerElement.appendChild(o),this.masker=a,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var n,r,i=this.paths.length;for(t=0;t<i;
vendor: 4,652 bytes, line 2
2t+=1)if(-1!==this.paths[t].m&&(n=this.elem.maskManager.viewData[this.paths[t].m],r=this.paths[t].p,(e||this.filterManager._mdf||n.prop._mdf)&&r.setAttribute("d",n.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||n.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=r.getTotalLength();a="0 0 0 "+l*s+" ";var u,c=l*(o-s),d=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,h=Math.floor(c/d);for(u=0;u<h;u+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;r.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var f=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*f[0])+","+bmFloor(255*f[1])+","+bmFloor(255*f[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,i=r[0]+" "+n[0]+" "+t[0],a=r[1]+" "+n[1]+" "+t[1],s=r[2]+" "+n[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",s)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var n=createNS(e);return n.setAttribute("type","table"),t.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(e,t,n,r,i){for(var a,s,o=0,l=Math.min(e,t),u=Math.max(e,t),c=Array.call(null,{length:256}),d=0,h=i-r,f=t-e;o<=256;)s=(a=o/256)<=l?f<0?i:r:a>=u?f<0?r:i:r+h*Math.pow((a-e)/f,1/n),c[d]=s,d+=1,o+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=n*Math.cos(r),a=n*Math.sin(r);
2this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(e,t,n,r){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",r),e.appendChild(i),this.feGaussianBlur=i}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t<n;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var n=e.layerElement.parentNode;if(n){for(var r,i=n.children,a=0,s=i.length;a<s&&i[a]!==e.layerElement;)a+=1;a<=s-2&&(r=i[a+1]);var o=createNS("use");o.setAttribute("href","#"+t),r?n.insertBefore(o,r):n.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var n=createElementID(),r=createNS("mask");r.setAttribute("id",t.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var i=e.globalData.defs;i.appendChild(r);var a=createNS("symbol");a.setAttribute("id",n),this.replaceInParent(t,n),a.appendChild(t.layerElement),i.appendChild(a);var s=createNS("use");s.setAttribute("href","#"+n),r.appendChild(s),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,n=0,r=t.length;n<r;)t[n]&&t[n].data.ind===e&&this.setElementAsMask(this.elem,t[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=3==n?0:t,i=2==n?0:t;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+i);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie},module.exports=factory())},8857:function(e,t,n){var r=n(7522).getUint64;e.exports=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},i=12;0===n.version?(n.earliestPresentationTime=t.getUint32(i),n.firstOffset=t.getUint32(i+4),i+=8):(n.earliestPresentationTime=r(e.subarray(i)),n.firstOffset=r(e.subarray(i+8)),i+=16),i+=2;var a=t.getUint16(i);for(i+=2;a>0;i+=12,a--)n.references.push({referenceType:(128&e[i])>>>7,referencedSize:2147483647&t.getUint32(i),subsegmentDuration:t.getUint32(i+4),startsWithSap:!!(128&e[i+8]),sapType:(112&e[i+8])>>>4,sapDeltaTime:268435455&t.getUint32(i+8)});return n}},3474:function(e){var t,n,r,i,a,s,o,l=9e4;t=function(e){return e*l},n=function(e,t){return e*t},r=function(e){return e/l},i=function(e,t){return e/t},a=function(e,n){return t(i(e,n))},s=function(e,t){return n(r(e),t)},o=function(e,t,n){return r(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:l,secondsToVideoTs:t,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:i,audioTsToVideoTs:a,videoTsToAudioTs:s,metadataTsToSeconds:o}},7522:function(e){var t=Math.pow(2,32);e.exports={getUint64:function(e){var n,r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getBigUint64?(n=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?
vendor: 1,654 bytes, line 2
2Number(n):n:r.getUint32(0)*t+r.getUint32(4)},MAX_UINT32:t}},1725:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,a){for(var s,o,l=i(e),u=1;u<arguments.length;u++){for(var c in s=Object(arguments[u]))n.call(s,c)&&(l[c]=s[c]);if(t){o=t(s);for(var d=0;d<o.length;d++)r.call(s,o[d])&&(l[o[d]]=s[o[d]])}}return l}},888:function(e,t,n){"use strict";var r=n(9047);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,s){if(s!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
vendor: 4,631 bytes, line 2
2;return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5866:function(e,t,n){"use strict";var r=n(2791),i=n(5296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,o={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(o[e]=t,e=0;e<t.length;e++)s.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},p={};function m(e,t,n,r,i,a,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function _(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!d.call(p,e)||!d.call(f,e)&&(h.test(e)?p[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
2-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),T=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),C=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var M=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var N=Symbol.iterator;function R(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=N&&e[N]||e["@@iterator"])?e:null}var L,j=Object.assign;function F(e){if(void 0===L)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var B=!1;function U(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var i=u.stack.split("\n"),a=r.stack.split("\n"),s=i.length-1,o=a.length-1;1<=s&&0<=o&&i[s]!==a[o];)o--;for(;1<=s&&0<=o;s--,o--)if(i[s]!==a[o]){if(1!==s||1!==o)do{if(s--,0>--o||i[s]!==a[o]){var l="\n"+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=s&&0<=o);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function V(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function z(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case w:return"Fragment";case T:return"Portal";case E:return"Profiler";case S:return"StrictMode";case A:return"Suspense";case I:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(t=e.displayName||null)?t:z(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return z(e(t))}catch(n){}}return null}function G(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return z(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)}
vendor: 11,024 bytes, line 2
2,set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Z(e,t){var n=t.checked;return j({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&_(e,"checked",t,!1)}function $(e,t){Q(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return j({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ae(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function he(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(fe).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ve=j({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function _e(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var be=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,we=null,Se=null;function Ee(e){if(e=_i(e)){if("function"!==typeof Te)throw Error(a(280));var t=e.stateNode;t&&(t=xi(t),Te(e.stateNode,e.type,t))}}function ke(e){we?Se?Se.push(e):Se=[e]:we=e}function Ce(){if(we){var e=we,t=Se;if(Se=we=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Pe(e,t){return e(t)}function Ae(){}var Ie=!1;function Oe(e,t,n){if(Ie)return e(t,n);Ie=!0;try{return Pe(e,t,n)}finally{Ie=!1,(null!==we||null!==Se)&&(Ae(),Ce())}}function De(e,t){var n=e.stateNode;if(null===n)return null;var r=xi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Me=!1;if(c)try{var Ne={};Object.defineProperty(Ne,"passive",{get:function(){Me=!0}}),window.addEventListener("test",Ne,Ne),window.removeEventListener("test",Ne,Ne)}catch(ce){Me=!1}function Re(e,t,n,r,i,a,s,o,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Le=!1,je=null,Fe=!1,Be=null,Ue={onError:function(e){Le=!0,je=e}};function Ve(e,t,n,r,i,a,s,o,l){Le=!1,je=null,Re.apply(Ue,arguments)}function ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ge(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if(ze(e)!==e)throw Error(a(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var s=i.alternate;if(null===s){if(null!==(r=i.return)){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return He(i),e;if(s===r)return He(i),t;s=s.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,l=i.child;l;){if(l===n){o=!0,n=i,r=s;break}if(l===r){o=!0,r=i,n=s;break}l=l.sibling}if(!o){for(l=s.child;l;){if(l===n){o=!0,n=s,r=i;break}if(l===r){o=!0,r=s,n=i;break}l=l.sibling}if(!o)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ye=i.unstable_scheduleCallback,Xe=i.unstable_cancelCallback,Ze=i.unstable_shouldYield,Ke=i.unstable_requestPaint,Qe=i.unstable_now,$e=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,at=null;var st=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ot(e)/lt|0)|0},ot=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,s=268435455&n;if(0!==s){var o=s&~i;0!==o?r=dt(o):0!==(a&=s)&&(r=dt(a))}else 0!==(s=n&~i)?r=dt(s):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&0!==(4194240&a)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-st(t)),r|=e[n],t&=~i;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-st(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var _t=0;function bt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,Tt,wt,St,Et,kt=!1,Ct=[],Pt=null,At=null,It=null,Ot=new Map,Dt=new Map,Mt=[],Nt="mou
2sedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rt(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":It=null;break;case"pointerover":case"pointerout":Ot.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(t.pointerId)}}function Lt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&(null!==(t=_i(t))&&Tt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function jt(e){var t=yi(e.target);if(null!==t){var n=ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ge(n)))return e.blockedOn=t,void Et(e.priority,(function(){wt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=_i(n))&&Tt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function Bt(e,t,n){Ft(e)&&n.delete(t)}function Ut(){kt=!1,null!==Pt&&Ft(Pt)&&(Pt=null),null!==At&&Ft(At)&&(At=null),null!==It&&Ft(It)&&(It=null),Ot.forEach(Bt),Dt.forEach(Bt)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,kt||(kt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ut)))}function zt(e){function t(t){return Vt(t,e)}if(0<Ct.length){Vt(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&Vt(Pt,e),null!==At&&Vt(At,e),null!==It&&Vt(It,e),Ot.forEach(t),Dt.forEach(t),n=0;n<Mt.length;n++)(r=Mt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Mt.length&&null===(n=Mt[0]).blockedOn;)jt(n),null===n.blockedOn&&Mt.shift()}var Gt=b.ReactCurrentBatchConfig,Ht=!0;function Wt(e,t,n,r){var i=_t,a=Gt.transition;Gt.transition=null;try{_t=1,Yt(e,t,n,r)}finally{_t=i,Gt.transition=a}}function qt(e,t,n,r){var i=_t,a=Gt.transition;Gt.transition=null;try{_t=4,Yt(e,t,n,r)}finally{_t=i,Gt.transition=a}}function Yt(e,t,n,r){if(Ht){var i=Zt(e,t,n,r);if(null===i)Hr(e,t,r,Xt,n),Rt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Pt=Lt(Pt,e,t,n,r,i),!0;case"dragenter":return At=Lt(At,e,t,n,r,i),!0;case"mouseover":return It=Lt(It,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Ot.set(a,Lt(Ot.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Dt.set(a,Lt(Dt.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Rt(e,r),4&t&&-1<Nt.indexOf(e)){for(;null!==i;){var a=_i(i);if(null!==a&&xt(a),null===(a=Zt(e,t,n,r))&&Hr(e,t,r,Xt,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Xt=null;function Zt(e,t,n,r){if(Xt=null,null!==(e=yi(e=xe(r))))if(null===(t=ze(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ge(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch($e()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,$t=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=$t,r=n.length,i="value"in Qt?Qt.value:Qt.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var s=r-e;for(t=1;t<=s&&n[r-t]===i[a-t];t++);return Jt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,i,a){for(var s in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(s)&&(t=e[s],this[s]=t?t(i):i[s]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return j(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var sn,on,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=j({},un,{view:0,detail:0}),hn=an(dn),fn=j({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 9,184 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(sn=e.screenX-ln.screenX,on=e.screenY-ln.screenY):on=sn=0,ln=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:on}}),pn=an(fn),mn=an(j({},fn,{dataTransfer:0})),gn=an(j({},dn,{relatedTarget:0})),vn=an(j({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=j({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_n=an(yn),bn=an(j({},un,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Tn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function En(){return Sn}var kn=j({},dn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Tn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=an(kn),Pn=an(j({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=an(j({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),In=an(j({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),On=j({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Dn=an(On),Mn=[9,13,27,32],Nn=c&&"CompositionEvent"in window,Rn=null;c&&"documentMode"in document&&(Rn=document.documentMode);var Ln=c&&"TextEvent"in window&&!Rn,jn=c&&(!Nn||Rn&&8<Rn&&11>=Rn),Fn=String.fromCharCode(32),Bn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var zn=!1;var Gn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Gn[e.type]:"textarea"===t}function Wn(e,t,n,r){ke(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Yn=null;function Xn(e){Fr(e,0)}function Zn(e){if(Y(bi(e)))return e}function Kn(e,t){if("change"===e)return t}var Qn=!1;if(c){var $n;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}$n=Jn}else $n=!1;Qn=$n&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Yn=qn=null)}function nr(e){if("value"===e.propertyName&&Zn(Yn)){var t=[];Wn(t,Yn,e,xe(e)),Oe(Xn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Yn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zn(Yn)}function ar(e,t){if("click"===e)return Zn(t)}function sr(e,t){if("input"===e||"change"===e)return Zn(t)}var or="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(or(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!d.call(t,i)||!or(e[i],t[i]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=hr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=cr(n,a);var s=cr(n,r);i&&s&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,_r=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;_r||null==gr||gr!==X(r)||("selectionStart"in(r=gr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=qr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Tr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},wr={},Sr={};function Er(e){if(wr[e])return wr[e];if(!Tr[e])return e;var t,n=Tr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return wr[e]=n[t];return e}c&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete Tr.animationend.animation,delete Tr.animationiteration.animation,delete Tr.animationstart.animation),"TransitionEvent"in window||delete Tr.transitionend.transition);var kr=Er("animationend"),Cr=Er("animationiteration"),Pr=Er("animationstart"),Ar=Er("transitionend"),Ir=new Map,Or="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dr(e,t){Ir.set(e,t),l(t,[e])}for(var Mr=0;Mr<Or.length;Mr++){var Nr=Or[Mr];Dr(Nr.toLowerCase(),"on"+(Nr[0].toUpperCase()+Nr.slice(1)))}Dr(kr,"onAnimationEnd"),Dr(Cr,"onAnimationIteration"),Dr(Pr,"onAnimationStart"),Dr("dblclick","onDoubleClick"),Dr("focusin","onFocus"),Dr("focusout","onBlur"),Dr(Ar,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function jr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,s,o,l,u){if(Ve.apply(this,arguments),Le){if(!Le)throw Error(a(198));var c=je;Le=!1,je=null,Fe||(Fe=!0,Be=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var s=r.length-1;0<=s;s--){var o=r[s],l=o.instance,u=o.currentTarget;if(o=o.listener,l!==a&&i.isPropagationStopped())break e;jr(i,o,u),a=l}else for(s=0;s<r.length;s++){if(l=(o=r[s]).instance,u=o.currentTarget,o=o.listener,l!==a&&i.isPropagationStopped())break e;jr(i,o,u),a=l}}}if(Fe)throw e=Be,Fe=!1,Be=null,e}function Br(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||(Gr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Gr(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function zr(e){if(!e[Vr]){e[Vr]=!0,s.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,Ur("selectionchange",!1,t))}}function Gr(e,t,n,r){switch(Kt(t)){case 1:var i=Wt;break;case 4:i=qt;break;default:i=Yt}n=i.bind(null,t,n,e),i=void 0,!Me||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,i){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var o=r.stateNode.containerInfo;if(o===i||8===o.nodeType&&o.parentNode===i)break;if(4===s)for(s=r.return;null!==s;){var l=s.tag;if((3===l||4===l)&&((l=s.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;s=s.return}for(;null!==o;){if(null===(s=yi(o)))return;if(5===(l=s.tag)||6===l){r=a=s;continue e}o=o.parentNode}}r=r.return}Oe((function(){var r=a,i=xe(n),s=[];e:{var o=Ir.get(e);if(void 0!==o){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Cn;break;case"focusin":u="focus",l=gn;break;case"focusout":u="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=An;break;case kr:case Cr:case Pr:l=vn;break;case Ar:l=In;break;case"scroll":l=hn;break;case"wheel":l=Dn;break;case"copy":case"cut":case"paste":l=_n;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Pn}var c=0!==(4&t),d=!c&&"scroll"===e,h=c?null!==o?o+"Capture":null:o;c=[];for(var f,p=r;null!==p;){var m=(f=p).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==h&&(null!=(m=De(p,h))&&c.push(Wr(p,m,f)))),d)break;p=p.return}0<c.length&&(o=new l(o,u,null,n,i),s.push({event:o,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(o="mouseover"===e||"pointerover"===e)||n===be||!(u=n.relatedTarget||n.fromElement)||!yi(u)&&!u[pi])&&(l||o)&&(o=i.window===i?i:(o=i.ownerDocument)?o.defaultView||o.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?yi(u):null)&&(u!==(d=ze(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=pn,m="onMouseLeave",h="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=Pn,m="onPointerLeave",h="onPointerEnter",p="pointer"),d=null==l?o:bi(l),f=null==u?o:bi(u),(o=new c(m,p+"leave",l,n,i)).target=d,o.relatedTarget=f,m=null,yi(i)===r&&((c=new c(h,p+"enter",u,n,i)).target=f,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(h=u,p=0,f=c=l;f;f=Yr(f))p++;for(f=0,m=h;m;m=Yr(m))f++;for(;0<p-f;)c=Yr(c),p--;for(;0<f-p;)h=Yr(h),f--;for(;p--;){if(c===h||null!==h&&c===h.alternate)break e;c=Yr(c),h=Yr(h)}c=null}else c=null;null!==l&&Xr(s,o,l,c,!1),null!==u&&null!==d&&Xr(s,d,u,c,!0)}if("select"===(l=(o=r?bi(r):window).nodeName&&o.nodeName.toLowerCase())||"input"===l&&"file"===o.type)var g=Kn;else if(Hn(o))if(Qn)g=sr;else{g=ir;var v=rr}else(l=o.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(g=ar);switch(g&&(g=g(e,r))?Wn(s,g,n,i):(v&&v(e,o,r),"focusout"===e&&(v=o._wrapperState)&&v.controlled&&"number"===o.type&&ee(o,"number",o.value)),v=r?bi(r):window,e){case"focusin":(Hn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":_r=!0;break;case"contextmenu":case"mouseup":case"dragend":_r=!1,br(s,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":br(s,n,i)}var y;if(Nn)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else zn?Un(e,n)&&(_="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(_="onCompositionStart");
vendor: 85,733 bytes, line 2
2_&&(jn&&"ko"!==n.locale&&(zn||"onCompositionStart"!==_?"onCompositionEnd"===_&&zn&&(y=en()):($t="value"in(Qt=i)?Qt.value:Qt.textContent,zn=!0)),0<(v=qr(r,_)).length&&(_=new bn(_,e,null,n,i),s.push({event:_,listeners:v}),y?_.data=y:null!==(y=Vn(n))&&(_.data=y))),(y=Ln?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(zn)return"compositionend"===e||!Nn&&Un(e,t)?(e=en(),Jt=$t=Qt=null,zn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(i=new bn("onBeforeInput","beforeinput",null,n,i),s.push({event:i,listeners:r}),i.data=y))}Fr(s,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=De(e,n))&&r.unshift(Wr(e,a,i)),null!=(a=De(e,t))&&r.push(Wr(e,a,i))),e=e.return}return r}function Yr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xr(e,t,n,r,i){for(var a=t._reactName,s=[];null!==n&&n!==r;){var o=n,l=o.alternate,u=o.stateNode;if(null!==l&&l===r)break;5===o.tag&&null!==u&&(o=u,i?null!=(l=De(n,a))&&s.unshift(Wr(n,l,o)):i||null!=(l=De(n,a))&&s.push(Wr(n,l,o))),n=n.return}0!==s.length&&e.push({event:t,listeners:s})}var Zr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Qr(e){return("string"===typeof e?e:""+e).replace(Zr,"\n").replace(Kr,"")}function $r(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(a(425))}function Jr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"===typeof setTimeout?setTimeout:void 0,ii="function"===typeof clearTimeout?clearTimeout:void 0,ai="function"===typeof Promise?Promise:void 0,si="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ai?function(e){return ai.resolve(null).then(e).catch(oi)}:ri;function oi(e){setTimeout((function(){throw e}))}function li(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void zt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);zt(t)}function ui(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ci(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var di=Math.random().toString(36).slice(2),hi="__reactFiber$"+di,fi="__reactProps$"+di,pi="__reactContainer$"+di,mi="__reactEvents$"+di,gi="__reactListeners$"+di,vi="__reactHandles$"+di;function yi(e){var t=e[hi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[hi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ci(e);null!==e;){if(n=e[hi])return n;e=ci(e)}return t}n=(e=n).parentNode}return null}function _i(e){return!(e=e[hi]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function bi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function xi(e){return e[fi]||null}var Ti=[],wi=-1;function Si(e){return{current:e}}function Ei(e){0>wi||(e.current=Ti[wi],Ti[wi]=null,wi--)}function ki(e,t){wi++,Ti[wi]=e.current,e.current=t}var Ci={},Pi=Si(Ci),Ai=Si(!1),Ii=Ci;function Oi(e,t){var n=e.type.contextTypes;if(!n)return Ci;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Di(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Mi(){Ei(Ai),Ei(Pi)}function Ni(e,t,n){if(Pi.current!==Ci)throw Error(a(168));ki(Pi,t),ki(Ai,n)}function Ri(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(a(108,G(e)||"Unknown",i));return j({},n,r)}function Li(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ci,Ii=Pi.current,ki(Pi,e),ki(Ai,Ai.current),!0}function ji(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ri(e,t,Ii),r.__reactInternalMemoizedMergedChildContext=e,Ei(Ai),Ei(Pi),ki(Pi,e)):Ei(Ai),ki(Ai,n)}var Fi=null,Bi=!1,Ui=!1;function Vi(e){null===Fi?Fi=[e]:Fi.push(e)}function zi(){if(!Ui&&null!==Fi){Ui=!0;var e=0,t=_t;try{var n=Fi;for(_t=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fi=null,Bi=!1}catch(i){throw null!==Fi&&(Fi=Fi.slice(e+1)),Ye(Je,zi),i}finally{_t=t,Ui=!1}}return null}var Gi=[],Hi=0,Wi=null,qi=0,Yi=[],Xi=0,Zi=null,Ki=1,Qi="";function $i(e,t){Gi[Hi++]=qi,Gi[Hi++]=Wi,Wi=e,qi=t}function Ji(e,t,n){Yi[Xi++]=Ki,Yi[Xi++]=Qi,Yi[Xi++]=Zi,Zi=e;var r=Ki;e=Qi;var i=32-st(r)-1;r&=~(1<<i),n+=1;var a=32-st(t)+i;if(30<a){var s=i-i%5;a=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Ki=1<<32-st(t)+i|n<<i|r,Qi=a+e}else Ki=1<<a|n<<i|r,Qi=e}function ea(e){null!==e.return&&($i(e,1),Ji(e,1,0))}function ta(e){for(;e===Wi;)Wi=Gi[--Hi],Gi[Hi]=null,qi=Gi[--Hi],Gi[Hi]=null;for(;e===Zi;)Zi=Yi[--Xi],Yi[Xi]=null,Qi=Yi[--Xi],Yi[Xi]=null,Ki=Yi[--Xi],Yi[Xi]=null}var na=null,ra=null,ia=!1,aa=null;function sa(e,t){var n=Ou(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function oa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,na=e,ra=ui(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,na=e,ra=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Zi?{id:Ki,overflow:Qi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ou(18,null,null,0)).stateNode=t,n.return=e,e.child=n,na=e,ra=null,!0);default:return!1}}function la(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ua(e){if(ia){var t=ra;if(t){var n=t;if(!oa(e,t)){if(la(e))throw Error(a(418));t=ui(n.nextSibling);var r=na;t&&oa(e,t)?sa(r,n):(e.flags=-4097&e.flags|2,ia=!1,na=e)}}else{if(la(e))throw Error(a(418));e.flags=-4097&e.flags|2,ia=!1,na=e}}}function ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;na=e}function da(e){if(e!==na)return!1;if(!ia)return ca(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ra)){if(la(e))throw ha(),Error(a(418));for(;t;)sa(e,t),t=ui(t.nextSibling)}if(ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ra=ui(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ra=null}}else ra=na?ui(e.stateNode.nextSibling):null;return!0}function ha(){for(var e=ra;e;)e=ui(e.nextSibling)}function fa(){ra=na=null,ia=!1}function pa(e){null===aa?aa=[e]:aa.push(e)}var ma=b.ReactCurrentBatchConfig;function ga(e,t){if(e&&e.defaultProps){for(var n in t=j({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var va=Si(null),ya=null,_a=null,ba=null;function xa(){ba=_a=ya=null}function Ta(e){var t=va.current;Ei(va),e._currentValue=t}function wa(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Sa(e,t){ya=e,ba=_a=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bo=!0),e.firstContext=null)}function Ea(e){var t=e._currentValue;if(ba!==e)if(e={context:e,memoizedValue:t,next:null},null===_a){if(null===ya)throw Error(a(308));_a=e,ya.dependencies={lanes:0,firstContext:e}}else _a=_a.next=e;return t}var ka=null;function Ca(e){null===ka?ka=[e]:ka.push(e)}function Pa(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Ca(t)):(n.next=i.next,i.next=n),t.interleaved=n,Aa(e,r)}function Aa(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ia=!1;function Oa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Da(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ma(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Na(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Pl)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Aa(e,n)}return null===(i=r.interleaved)?(t.next=t,Ca(r)):(t.next=i.next,i.next=t),r.interleaved=t,Aa(e,n)}function Ra(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function La(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=s:a=a.next=s,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ja(e,t,n,r){var i=e.updateQueue;Ia=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,o=i.shared.pending;if(null!==o){i.shared.pending=null;var l=o,u=l.next;l.next=null,null===s?a=u:s.next=u,s=l;var c=e.alternate;null!==c&&((o=(c=c.updateQueue).lastBaseUpdate)!==s&&(null===o?c.firstBaseUpdate=u:o.next=u,c.lastBaseUpdate=l))}if(null!==a){var d=i.baseState;for(s=0,c=u=l=null,o=a;;){var h=o.lane,f=o.eventTime;if((r&h)===h){null!==c&&(c=c.next={eventTime:f,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,m=o;switch(h=t,f=n,m.tag){case 1:if("function"===typeof(p=m.payload)){d=p.call(f,d,h);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(h="function"===typeof(p=m.payload)?p.call(f,d,h):p)||void 0===h)break e;d=j({},d,h);break e;case 2:Ia=!0}}null!==o.callback&&0!==o.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[o]:h.push(o))}else f={eventTime:f,lane:h,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(u=c=f,l=d):c=c.next=f,s|=h;if(null===(o=o.next)){if(null===(o=i.shared.pending))break;o=(h=o).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{s|=i.lane,i=i.next}while(i!==t)}else null===a&&(i.shared.lanes=0);Ll|=s,e.lanes=s,e.memoizedState=d}}function Fa(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(a(191,i));i.call(r)}}}var Ba=(new r.Component).refs;function Ua(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:j({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Va={isMounted:function(e){return!!(e=e._reactInternals)&&ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),i=tu(e),a=Ma(r,i);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Na(e,a,i))&&(nu(t,e,i,r),Ra(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),i=tu(e),a=Ma(r,i);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Na(e,a,i))&&(nu(t,e,i,r),Ra(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),i=Ma(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Na(e,i,r))&&(nu(t,e,r,n),Ra(t,e,r))}};function za(e,t,n,r,i,a,s){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,s):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(i,a))}function Ga(e,t,n){var r=!1,i=Ci,a=t.contextType;return"object"===typeof a&&null!==a?a=Ea(a):(i=Di(t)?Ii:Pi.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?Oi(e,i):Ci),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Va,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ha(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Va.enqueueReplaceState(t,t.state,null)}function Wa(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ba,Oa(e);var a=t.contextType;"object"===typeof a&&null!==a?i.context=Ea(a):(a=Di(t)?Ii:Pi.current,i.context=Oi(e,a)),i.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(Ua(e,t,a,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Va.enqueueReplaceState(i,i.state,null),ja(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function qa(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=r,s=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===s?t.ref:(t=function(e){var t=i.refs;t===Ba&&(t=i.refs={}),null===e?delete t[s]:t[s]=e},t._stringRef=s,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ya(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xa(e){return(0,e._init)(e._payload)}function Za(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Mu(e,t)).index=0,e.sibling=null,e}function s(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function o(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=ju(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var a=n.type;return a===w?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===D&&Xa(a)===t.type)?((r=i(t,n.props)).ref=qa(e,t,n),r.return=e,r):((r=Nu(n.type,n.key,n.props,null,e.mode,r)).ref=qa(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fu(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Ru(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function h(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=ju(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Nu(t.type,t.key,t.props,null,e.mode,n)).ref=qa(e,null,t),n.return=e,n;case T:return(t=Fu(t,e.mode,n)).return=e,t;case D:return h(e,(0,t._init)(t._payload),n)}if(te(t)||R(t))return(t=Ru(t,e.mode,n,null)).return=e,t;Ya(e,t)}return null}function f(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===i?u(e,t,n,r):null;case T:return n.key===i?c(e,t,n,r):null;case D:return f(e,t,(i=n._init)(n._payload),r)}if(te(n)||R(n))return null!==i?null:d(e,t,n,r,null);Ya(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case T:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case D:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||R(r))return d(t,e=e.get(n)||null,r,i,null);Ya(t,r)}return null}function m(i,a,o,l){for(var u=null,c=null,d=a,m=a=0,g=null;null!==d&&m<o.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=f(i,d,o[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(i,d),a=s(v,a,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===o.length)return n(i,d),ia&&$i(i,m),u;if(null===d){for(;m<o.length;m++)null!==(d=h(i,o[m],l))&&(a=s(d,a,m),null===c?u=d:c.sibling=d,c=d);return ia&&$i(i,m),u}for(d=r(i,d);m<o.length;m++)null!==(g=p(d,i,m,o[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=s(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(i,e)})),ia&&$i(i,m),u}function g(i,o,l,u){var c=R(l);if("function"!==typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var d=c=null,m=o,g=o=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var _=f(i,m,y.value,u);if(null===_){null===m&&(m=v);break}e&&m&&null===_.alternate&&t(i,m),o=s(_,o,g),null===d?c=_:d.sibling=_,d=_,m=v}if(y.done)return n(i,m),ia&&$i(i,g),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=h(i,y.value,u))&&(o=s(y,o,g),null===d?c=y:d.sibling=y,d=y);return ia&&$i(i,g),c}for(m=r(i,m);!y.done;g++,y=l.next())null!==(y=p(m,i,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),o=s(y,o,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),ia&&$i(i,g),c}return function e(r,a,s,l){if("object"===typeof s&&null!==s&&s.type===w&&null===s.key&&(s=s.props.children),"object"===typeof s&&null!==s){switch(s.$$typeof){case x:e:{for(var u=s.key,c=a;null!==c;){if(c.key===u){if((u=s.type)===w){if(7===c.tag){n(r,c.sibling),(a=i(c,s.props.children)).return=r,r=a;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===D&&Xa(u)===c.type){n(r,c.sibling),(a=i(c,s.props)).ref=qa(r,c,s),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}s.type===w?((a=Ru(s.props.children,r.mode,l,s.key)).return=r,r=a):((l=Nu(s.type,s.key,s.props,null,r.mode,l)).ref=qa(r,a,s),l.return=r,r=l)}return o(r);case T:e:{for(c=s.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===s.containerInfo&&a.stateNode.implementation===s.implementation){n(r,a.sibling),(a=i(a,s.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Fu(s,r.mode,l)).return=r,r=a}return o(r);case D:return e(r,a,(c=s._init)(s._payload),l)}if(te(s))return m(r,a,s,l);if(R(s))return g(r,a,s,l);Ya(r,s)}return"string"===typeof s&&""!==s||"number"===typeof s?(s=""+s,null!==a&&6===a.tag?(n(r,a.sibling),(a=i(a,s)).return=r,r=a):(n(r,a),(a=ju(s,r.mode,l)).return=r,r=a),o(r)):n(r,a)}}var Ka=Za(!0),Qa=Za(!1),$a={},Ja=Si($a),es=Si($a),ts=Si($a);function ns(e){if(e===$a)throw Error(a(174));return e}function rs(e,t){switch(ki(ts,t),ki(es,e),ki(Ja,$a),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ei(Ja),ki(Ja,t)}function is(){Ei(Ja),Ei(es),Ei(ts)}function as(e){ns(ts.current);var t=ns(Ja.current),n=le(t,e.type);t!==n&&(ki(es,e),ki(Ja,n))}function ss(e){es.current===e&&(Ei(Ja),Ei(es))}var os=Si(0);function ls(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var us=[];function cs(){for(var e=0;e<us.length;e++)us[e]._workInProgressVersionPrimary=null;us.length=0}var ds=b.ReactCurrentDispatcher,hs=b.ReactCurrentBatchConfig,fs=0,ps=null,ms=null,gs=null,vs=!1,ys=!1,_s=0,bs=0;function xs(){throw Error(a(321))}function Ts(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!or(e[n],t[n]))return!1;return!0}function ws(e,t,n,r,i,s){if(fs=s,ps=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ds.current=null===e||null===e.memoizedState?so:oo,e=n(r,i),ys){s=0;do{if(ys=!1,_s=0,25<=s)throw Error(a(301));s+=1,gs=ms=null,t.updateQueue=null,ds.current=lo,e=n(r,i)}while(ys)}if(ds.current=ao,t=null!==ms&&null!==ms.next,fs=0,gs=ms=ps=null,vs=!1,t)throw Error(a(300));return e}function Ss(){var e=0!==_s;return _s=0,e}function Es(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gs?ps.memoizedState=gs=e:gs=gs.next=e,gs}function ks(){if(null===ms){var e=ps.alternate;e=null!==e?e.memoizedState:null}else e=ms.next;var t=null===gs?ps.memoizedState:gs.next;if(null!==t)gs=t,ms=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ms=e).memoizedState,baseState:ms.baseState,baseQueue:ms.baseQueue,queue:ms.queue,next:null},null===gs?ps.memoizedState=gs=e:gs=gs.next=e}return gs}function Cs(e,t){return"function"===typeof t?t(e):t}function Ps(e){var t=ks(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ms,i=r.baseQueue,s=n.pending;if(null!==s){if(null!==i){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(null!==i){s=i.next,r=r.baseState;var l=o=null,u=null,c=s;do{var d=c.lane;if((fs&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=h,o=r):u=u.next=h,ps.lanes|=d,Ll|=d}c=c.next}while(null!==c&&c!==s);null===u?o=r:u.next=l,or(r,t.memoizedState)||(bo=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{s=i.lane,ps.lanes|=s,Ll|=s,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function As(e){var t=ks(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(null!==i){n.pending=null;var o=i=i.next;do{s=e(s,o.action),o=o.next}while(o!==i);or(s,t.memoizedState)||(bo=!0),t.memoizedState=s,null===t.baseQueue&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Is(){}function Os(e,t){var n=ps,r=ks(),i=t(),s=!or(r.memoizedState,i);if(s&&(r.memoizedState=i,bo=!0),r=r.queue,Gs(Ns.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||null!==gs&&1&gs.memoizedState.tag){if(n.flags|=2048,Fs(9,Ms.bind(null,n,r,i,t),void 0,null),null===Al)throw Error(a(349));0!==(30&fs)||Ds(n,t,i)}return i}function Ds(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ps.updateQueue)?(t={lastEffect:null,stores:null},ps.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ms(e,t,n,r){t.value=n,t.getSnapshot=r,Rs(t)&&Ls(e)}function Ns(e,t,n){return n((function(){Rs(t)&&Ls(e)}))}function Rs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!or(e,n)}catch(r){return!0}}function Ls(e){var t=Aa(e,1);null!==t&&nu(t,e,1,-1)}function js(e){var t=Es();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Cs,lastRenderedState:e},t.queue=e,e=e.dispatch=to.bind(null,ps,e),[t.memoizedState,e]}function Fs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ps.updateQueue)?(t={lastEffect:null,stores:null},ps.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bs(){return ks().memoizedState}function Us(e,t,n,r){var i=Es();ps.flags|=e,i.memoizedState=Fs(1|t,n,void 0,void 0===r?null:r)}function Vs(e,t,n,r){var i=ks();r=void 0===r?null:r;var a=void 0;if(null!==ms){var s=ms.memoizedState;if(a=s.destroy,null!==r&&Ts(r,s.deps))return void(i.memoizedState=Fs(t,n,a,r))}ps.flags|=e,i.memoizedState=Fs(1|t,n,a,r)}function zs(e,t){return Us(8390656,8,e,t)}function Gs(e,t){return Vs(2048,8,e,t)}function Hs(e,t){return Vs(4,2,e,t)}function Ws(e,t){return Vs(4,4,e,t)}function qs(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ys(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Vs(4,4,qs.bind(null,t,e),n)}function Xs(){}function Zs(e,t){var n=ks();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ts(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ks(e,t){var n=ks();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ts(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qs(e,t,n){return 0===(21&fs)?(e.baseState&&(e.baseState=!1,bo=!0),e.memoizedState=n):(or(n,t)||(n=mt(),ps.lanes|=n,Ll|=n,e.baseState=!0),t)}function $s(e,t){var n=_t;_t=0!==n&&4>n?n:4,e(!0);var r=hs.transition;hs.transition={};try{e(!1),t()}finally{_t=n,hs.transition=r}}function Js(){return ks().memoizedState}function eo(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},no(e))ro(t,n);else if(null!==(n=Pa(e,t,n,r))){nu(n,e,r,eu()),io(n,t,r)}}function to(e,t,n){var r=tu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(no(e))ro(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,o=a(s,n);if(i.hasEagerState=!0,i.eagerState=o,or(o,s)){var l=t.interleaved;return null===l?(i.next=i,Ca(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(u){}null!==(n=Pa(e,t,i,r))&&(nu(n,e,r,i=eu()),io(n,t,r))}}function no(e){var t=e.alternate;return e===ps||null!==t&&t===ps}function ro(e,t){ys=vs=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function io(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var ao={readContext:Ea,useCallback:xs,useContext:xs,useEffect:xs,useImperativeHandle:xs,useInsertionEffect:xs,useLayoutEffect:xs,useMemo:xs,useReducer:xs,useRef:xs,useState:xs,useDebugValue:xs,useDeferredValue:xs,useTransition:xs,useMutableSource:xs,useSyncExternalStore:xs,useId:xs,unstable_isNewReconciler:!1},so={readContext:Ea,useCallback:function(e,t){return Es().memoizedState=[e,void 0===t?null:t],e},useContext:Ea,useEffect:zs,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Us(4194308,4,qs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Us(4194308,4,e,t)},useInsertionEffect:function(e,t){return Us(4,2,e,t)},useMemo:function(e,t){var n=Es();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Es();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=eo.bind(null,ps,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Es().memoizedState=e},useState:js,useDebugValue:Xs,useDeferredValue:function(e){return Es().memoizedState=e},useTransition:function(){var e=js(!1),t=e[0];return e=$s.bind(null,e[1]),Es().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ps,i=Es();if(ia){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Al)throw Error(a(349));0!==(30&fs)||Ds(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,zs(Ns.bind(null,r,s,e),[e]),r.flags|=2048,Fs(9,Ms.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Es(),t=Al.identifierPrefix;if(ia){var n=Qi;t=":"+t+"R"+(n=(Ki&~(1<<32-st(Ki)-1)).toString(32)+n),0<(n=_s++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=bs++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oo={readContext:Ea,useCallback:Zs,useContext:Ea,useEffect:Gs,useImperativeHandle:Ys,useInsertionEffect:Hs,useLayoutEffect:Ws,useMemo:Ks,useReducer:Ps,useRef:Bs,useState:function(){return Ps(Cs)},useDebugValue:Xs,useDeferredValue:function(e){return Qs(ks(),ms.memoizedState,e)},useTransition:function(){return[Ps(Cs)[0],ks().memoizedState]},useMutableSource:Is,useSyncExternalStore:Os,useId:Js,unstable_isNewReconciler:!1},lo={readContext:Ea,useCallback:Zs,useContext:Ea,useEffect:Gs,useImperativeHandle:Ys,useInsertionEffect:Hs,useLayoutEffect:Ws,useMemo:Ks,useReducer:As,useRef:Bs,useState:function(){return As(Cs)},useDebugValue:Xs,useDeferredValue:function(e){var t=ks();return null===ms?t.memoizedState=e:Qs(t,ms.memoizedState,e)},useTransition:function(){return[As(Cs)[0],ks().memoizedState]},useMutableSource:Is,useSyncExternalStore:Os,useId:Js,unstable_isNewReconciler:!1};function uo(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var i=n}catch(a){i="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:i,digest:null}}function co(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ho(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fo="function"===typeof WeakMap?WeakMap:Map;function po(e,t,n){(n=Ma(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hl||(Hl=!0,Wl=r),ho(0,t)},n}function mo(e,t,n){(n=Ma(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ho(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){ho(0,t),"function"!==typeof r&&(null===ql?ql=new Set([this]):ql.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function go(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fo;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Eu.bind(null,e,t,n),t.then(e,e))}function vo(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yo(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ma(-1,1)).tag=2,Na(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var _o=b.ReactCurrentOwner,bo=!1;function xo(e,t,n,r){t.child=null===e?Qa(t,null,n,r):Ka(t,e.child,n,r)}function To(e,t,n,r,i){n=n.render;var a=t.ref;return Sa(t,i),r=ws(e,t,n,r,a,i),n=Ss(),null===e||bo?(ia&&n&&ea(t),t.flags|=1,xo(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ho(e,t,i))}function wo(e,t,n,r,i){if(null===e){var a=n.type;return"function"!==typeof a||Du(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Nu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,So(e,t,a,r,i))}if(a=e.child,0===(e.lanes&i)){var s=a.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(s,r)&&e.ref===t.ref)return Ho(e,t,i)}return t.flags|=1,(e=Mu(a,r)).ref=t.ref,e.return=t,t.child=e}function So(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(lr(a,r)&&e.ref===t.ref){if(bo=!1,t.pendingProps=r=a,0===(e.lanes&i))return t.lanes=e.lanes,Ho(e,t,i);0!==(131072&e.flags)&&(bo=!0)}}return Co(e,t,n,r,i)}function Eo(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ki(Ml,Dl),Dl|=n;else{if(0===(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ki(Ml,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,ki(Ml,Dl),Dl|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,ki(Ml,Dl),Dl|=r;return xo(e,t,i,n),t.child}function ko(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Co(e,t,n,r,i){var a=Di(n)?Ii:Pi.current;return a=Oi(t,a),Sa(t,i),n=ws(e,t,n,r,a,i),r=Ss(),null===e||bo?(ia&&r&&ea(t),t.flags|=1,xo(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ho(e,t,i))}function Po(e,t,n,r,i){if(Di(n)){var a=!0;Li(t)}else a=!1;if(Sa(t,i),null===t.stateNode)Go(e,t),Ga(t,n,r),Wa(t,n,r,i),r=!0;else if(null===e){var s=t.stateNode,o=t.memoizedProps;s.props=o;var l=s.context,u=n.contextType;"object"===typeof u&&null!==u?u=Ea(u):u=Oi(t,u=Di(n)?Ii:Pi.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof s.getSnapshotBeforeUpdate;d||"function"!==typeof s.UNSAFE_componentWillReceiveProps&&"function"!==typeof s.componentWillReceiveProps||(o!==r||l!==u)&&Ha(t,s,r,u),Ia=!1;var h=t.memoizedState;s.state=h,ja(t,r,s,i),l=t.memoizedState,o!==r||h!==l||Ai.current||Ia?("function"===typeof c&&(Ua(t,n,c,r),l=t.memoizedState),(o=Ia||za(t,n,o,r,h,l,u))?(d||"function"!==typeof s.UNSAFE_componentWillMount&&"function"!==typeof s.componentWillMount||("function"===typeof s.componentWillMount&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"===typeof s.componentDidMount&&(t.flags|=4194308)):("function"===typeof s.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=o):("function"===typeof s.componentDidMount&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Da(e,t),o=t.memoizedProps,u=t.type===t.elementType?o:ga(t.type,o),s.props=u,d=t.pendingProps,h=s.context,"object"===typeof(l=n.contextType)&&null!==l?l=Ea(l):l=Oi(t,l=Di(n)?Ii:Pi.current);var f=n.getDerivedStateFromProps;(c="function"===typeof f||"function"===typeof s.getSnapshotBeforeUpdate)||"function"!==typeof s.UNSAFE_componentWillReceiveProps&&"function"!==typeof s.componentWillReceiveProps||(o!==d||h!==l)&&Ha(t,s,r,l),Ia=!1,h=t.memoizedState,s.state=h,ja(t,r,s,i);var p=t.memoizedState;o!==d||h!==p||Ai.current||Ia?("function"===typeof f&&(Ua(t,n,f,r),p=t.memoizedState),(u=Ia||za(t,n,u,r,h,p,l)||!1)?(c||"function"!==typeof s.UNSAFE_componentWillUpdate&&"function"!==typeof s.componentWillUpdate||("function"===typeof s.componentWillUpdate&&s.componentWillUpdate(r,p,l),"function"===typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(r,p,l)),"function"===typeof s.componentDidUpdate&&(t.flags|=4),"function"===typeof s.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof s.componentDidUpdate||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!==typeof s.getSnapshotBeforeUpdate||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),s.props=r,s.state=p,s.context=l,r=u):("function"!==typeof s.componentDidUpdate||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!==typeof s.getSnapshotBeforeUpdate||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ao(e,t,n,r,a,i)}function Ao(e,t,n,r,i,a){ko(e,t);var s=0!==(128&t.flags);if(!r&&!s)return i&&ji(t,n,!1),Ho(e,t,a);r=t.stateNode,_o.current=t;var o=s&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&s?(t.child=Ka(t,e.child,null,a),t.child=Ka(t,null,o,a)):xo(e,t,o,a),t.memoizedState=r.state,i&&ji(t,n,!0),t.child}function Io(e){var t=e.stateNode;t.pendingContext?Ni(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ni(0,t.context,!1),rs(e,t.containerInfo)}function Oo(e,t,n,r,i){return fa(),pa(i),t.flags|=256,xo(e,t,n,r),t.child}var Do,Mo,No,Ro={dehydrated:null,treeContext:null,retryLane:0};function Lo(e){return{baseLanes:e,cachePool:null,transitions:null}}function jo(e,t,n){var r,i=t.pendingProps,s=os.current,o=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&s)),r?(o=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(s|=1),ki(os,1&s),null===e)return ua(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=i.children,e=i.fallback,o?(i=t.mode,o=t.child,l={mode:"hidden",children:l},0===(1&i)&&null!==o?(o.childLanes=0,o.pendingProps=l):o=Lu(l,i,0,null),e=Ru(e,i,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Lo(n),t.memoizedState=Ro,e):Fo(t,l));if(null!==(s=e.memoizedState)&&null!==(r=s.dehydrated))return function(e,t,n,r,i,s,o){if(n)return 256&t.flags?(t.flags&=-257,Bo(e,t,o,r=co(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Lu({mode:"visible",children:r.children},i,0,null),(s=Ru(s,i,o,null)).flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,0!==(1&t.mode)&&Ka(t,e.child,null,o),t.child.memoizedState=Lo(o),t.memoizedState=Ro,s);if(0===(1&t.mode))return Bo(e,t,o,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,Bo(e,t,o,r=co(s=Error(a(419)),r,void 0))}if(l=0!==(o&e.childLanes),bo||l){if(null!==(r=Al)){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|o))?0:i)&&i!==s.retryLane&&(s.retryLane=i,Aa(e,i),nu(r,e,i,-1))}return mu(),Bo(e,t,o,r=co(Error(a(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Cu.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,ra=ui(i.nextSibling),na=t,ia=!0,aa=null,null!==e&&(Yi[Xi++]=Ki,Yi[Xi++]=Qi,Yi[Xi++]=Zi,Ki=e.id,Qi=e.overflow,Zi=t),t=Fo(t,r.children),t.flags|=4096,t)}(e,t,l,i,r,s,n);if(o){o=i.fallback,l=t.mode,r=(s=e.child).sibling;var u={mode:"hidden",children:i.children};return 0===(1&l)&&t.child!==s?((i=t.child).childLanes=0,i.pendingProps=u,t.deletions=null):(i=Mu(s,u)).subtreeFlags=14680064&s.subtreeFlags,null!==r?o=Mu(r,o):(o=Ru(o,l,n,null)).flags|=2,o.return=t,i.return=t,i.sibling=o,t.child=i,i=o,o=t.child,l=null===(l=e.child.memoizedState)?Lo(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=Ro,i}return e=(o=e.child).sibling,i=Mu(o,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Fo(e,t){return(t=Lu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bo(e,t,n,r){return null!==r&&pa(r),Ka(t,e.child,null,n),(e=Fo(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Uo(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),wa(e.return,t,n)}function Vo(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function zo(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(xo(e,t,r.children,n),0!==(2&(r=os.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Uo(e,n,t);else if(19===e.tag)Uo(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ki(os,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ls(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Vo(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ls(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Vo(t,!0,n,null,a);break;case"together":Vo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Go(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ho(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ll|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Mu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wo(e,t){if(!ia)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qo(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yo(e,t,n){var r=t.pendingProps;switch(ta(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qo(t),null;case 1:case 17:return Di(t.type)&&Mi(),qo(t),null;case 3:return r=t.stateNode,is(),Ei(Ai),Ei(Pi),cs(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(da(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==aa&&(su(aa),aa=null))),qo(t),null;case 5:ss(t);var i=ns(ts.current);if(n=t.type,null!==e&&null!=t.stateNode)Mo(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return qo(t),null}if(e=ns(Ja.current),da(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[hi]=t,r[fi]=s,e=0!==(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(i=0;i<Rr.length;i++)Br(Rr[i],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":K(r,s),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Br("invalid",r);break;case"textarea":ie(r,s),Br("invalid",r)}for(var l in ye(n,s),i=null,s)if(s.hasOwnProperty(l)){var u=s[l];"children"===l?"string"===typeof u?r.textContent!==u&&(!0!==s.suppressHydrationWarning&&$r(r.textContent,u,e),i=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==s.suppressHydrationWarning&&$r(r.textContent,u,e),i=["children",""+u]):o.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":q(r),J(r,s,!0);break;case"textarea":q(r),se(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=Jr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[hi]=t,e[fi]=r,Do(e,t),t.stateNode=e;e:{switch(l=_e(n,r),n){case"dialog":Br("cancel",e),Br("close",e),i=r;break;case"iframe":case"object":case"embed":Br("load",e),i=r;break;case"video":case"audio":for(i=0;i<Rr.length;i++)Br(Rr[i],e);i=r;break;case"source":Br("error",e),i=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),i=r;break;case"details":Br("toggle",e),i=r;break;case"input":K(e,r),i=Z(e,r),Br("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=j({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Br("invalid",e)}for(s in ye(n,i),u=i)if(u.hasOwnProperty(s)){var c=u[s];"style"===s?ge(e,c):"dangerouslySetInnerHTML"===s?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===s?"string"===typeof c?("textarea"!==n||""!==c)&&he(e,c):"number"===typeof c&&he(e,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(o.hasOwnProperty(s)?null!=c&&"onScroll"===s&&Br("scroll",e):null!=c&&_(e,s,c,l))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),se(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ne(e,!!r.multiple,s,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qo(t),null;case 6:if(e&&null!=t.stateNode)No(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));if(n=ns(ts.current),ns(Ja.current),da(t)){if(r=t.stateNode,n=t.memoizedProps,r[hi]=t,(s=r.nodeValue!==n)&&null!==(e=na))switch(e.tag){case 3:$r(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&$r(r.nodeValue,n,0!==(1&e.mode))}s&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[hi]=t,t.stateNode=r}return qo(t),null;case 13:if(Ei(os),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==ra&&0!==(1&t.mode)&&0===(128&t.flags))ha(),fa(),t.flags|=98560,s=!1;else if(s=da(t),null!==r&&null!==r.dehydrated){if(null===e){if(!s)throw Error(a(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(a(317));s[hi]=t}else fa(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qo(t),s=!1}else null!==aa&&(su(aa),aa=null),s=!0;if(!s)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&os.current)?0===Nl&&(Nl=3):mu())),null!==t.updateQueue&&(t.flags|=4),qo(t),null);case 4:return is(),null===e&&zr(t.stateNode.containerInfo),qo(t),null;case 10:return Ta(t.type._context),qo(t),null;case 19:if(Ei(os),null===(s=t.memoizedState))return qo(t),null;if(r=0!==(128&t.flags),null===(l=s.rendering))if(r)Wo(s,!1);else{if(0!==Nl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ls(e))){for(t.flags|=128,Wo(s,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=14680066,null===(l=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,e=l.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ki(os,1&os.current|2),t.child}e=e.sibling}null!==s.tail&&Qe()>zl&&(t.flags|=128,r=!0,Wo(s,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ls(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wo(s,!0),null===s.tail&&"hidden"===s.tailMode&&!l.alternate&&!ia)return qo(t),null}else 2*Qe()-s.renderingStartTime>zl&&1073741824!==n&&(t.flags|=128,r=!0,Wo(s,!1),t.lanes=4194304);s.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=s.last)?n.sibling=l:t.child=l,s.last=l)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Qe(),t.sibling=null,n=os.current,ki(os,r?1&n|2:1&n),t):(qo(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Dl)&&(qo(t),6&t.subtreeFlags&&(t.flags|=8192)):qo(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Xo(e,t){switch(ta(t),t.tag){case 1:return Di(t.type)&&Mi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return is(),Ei(Ai),Ei(Pi),cs(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ss(t),null;case 13:if(Ei(os),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));fa()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ei(os),null;case 4:return is(),null;case 10:return Ta(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Do=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Mo=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ns(Ja.current);var a,s=null;switch(n){case"input":i=Z(e,i),r=Z(e,r),s=[];break;case"select":i=j({},i,{value:void 0}),r=j({},r,{value:void 0}),s=[];break;case"textarea":i=re(e,i),r=re(e,r),s=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var l=i[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(s=s||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(s=s||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Br("scroll",e),s||l===u||(s=[])):(s=s||[]).push(c,u))}n&&(s=s||[]).push("style",n);var c=s;(t.updateQueue=c)&&(t.flags|=4)}},No=function(e,t,n,r){n!==r&&(t.flags|=4)};var Zo=!1,Ko=!1,Qo="function"===typeof WeakSet?WeakSet:Set,$o=null;function Jo(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Su(e,t,r)}else n.current=null}function el(e,t,n){try{n()}catch(r){Su(e,t,r)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&el(t,n,a)}i=i.next}while(i!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[hi],delete t[fi],delete t[mi],delete t[gi],delete t[vi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ol(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var cl=null,dl=!1;function hl(e,t,n){for(n=n.child;null!==n;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(at&&"function"===typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(it,n)}catch(o){}switch(n.tag){case 5:Ko||Jo(n,t);case 6:var r=cl,i=dl;cl=null,hl(e,t,n),dl=i,null!==(cl=r)&&(dl?(e=cl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cl.removeChild(n.stateNode));break;case 18:null!==cl&&(dl?(e=cl,n=n.stateNode,8===e.nodeType?li(e.parentNode,n):1===e.nodeType&&li(e,n),zt(e)):li(cl,n.stateNode));break;case 4:r=cl,i=dl,cl=n.stateNode.containerInfo,dl=!0,hl(e,t,n),cl=r,dl=i;break;case 0:case 11:case 14:case 15:if(!Ko&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var a=i,s=a.destroy;a=a.tag,void 0!==s&&(0!==(2&a)||0!==(4&a))&&el(n,t,s),i=i.next}while(i!==r)}hl(e,t,n);break;case 1:if(!Ko&&(Jo(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){Su(n,t,o)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Ko=(r=Ko)||null!==n.memoizedState,hl(e,t,n),Ko=r):hl(e,t,n);break;default:hl(e,t,n)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Qo),t.forEach((function(t){var r=Pu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,l=o;e:for(;null!==l;){switch(l.tag){case 5:cl=l.stateNode,dl=!1;break e;case 3:case 4:cl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===cl)throw Error(a(160));fl(s,o,i),cl=null,dl=!1;var u=i.alternate;null!==u&&(u.return=null),i.return=null}catch(c){Su(i,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(g){Su(e,e.return,g)}try{nl(5,e,e.return)}catch(g){Su(e,e.return,g)}}break;case 1:ml(t,e),vl(e),512&r&&null!==n&&Jo(n,n.return);break;case 5:if(ml(t,e),vl(e),512&r&&null!==n&&Jo(n,n.return),32&e.flags){var i=e.stateNode;try{he(i,"")}catch(g){Su(e,e.return,g)}}if(4&r&&null!=(i=e.stateNode)){var s=e.memoizedProps,o=null!==n?n.memoizedProps:s,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===s.type&&null!=s.name&&Q(i,s),_e(l,o);var c=_e(l,s);for(o=0;o<u.length;o+=2){var d=u[o],h=u[o+1];"style"===d?ge(i,h):"dangerouslySetInnerHTML"===d?de(i,h):"children"===d?he(i,h):_(i,d,h,c)}switch(l){case"input":$(i,s);break;case"textarea":ae(i,s);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;null!=p?ne(i,!!s.multiple,p,!1):f!==!!s.multiple&&(null!=s.defaultValue?ne(i,!!s.multiple,s.defaultValue,!0):ne(i,!!s.multiple,s.multiple?[]:"",!1))}i[fi]=s}catch(g){Su(e,e.return,g)}}break;case 6:if(ml(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(a(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(g){Su(e,e.return,g)}}break;case 3:if(ml(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{zt(t.containerInfo)}catch(g){Su(e,e.return,g)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(i=e.child).flags&&(s=null!==i.memoizedState,i.stateNode.isHidden=s,!s||null!==i.alternate&&null!==i.alternate.memoizedState||(Vl=Qe())),4&r&&pl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ko=(c=Ko)||d,ml(t,e),Ko=c):ml(t,e),vl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for($o=e,d=e.child;null!==d;){for(h=$o=d;null!==$o;){switch(p=(f=$o).child,f.tag){case 0:case 11:case 14:case 15:nl(4,f,f.return);break;case 1:Jo(f,f.return);var m=f.stateNode;if("function"===typeof m.componentWillUnmount){r=f,n=f.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Su(r,n,g)}}break;case 5:Jo(f,f.return);break;case 22:if(null!==f.memoizedState){xl(h);continue}}null!==p?(p.return=f,$o=p):xl(h)}d=d.sibling}e:for(d=null,h=e;;){if(5===h.tag){if(null===d){d=h;try{i=h.stateNode,c?"function"===typeof(s=i.style).setProperty?s.setProperty("display","none","important"):s.display="none":(l=h.stateNode,o=void 0!==(u=h.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",o))}catch(g){Su(e,e.return,g)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(g){Su(e,e.return,g)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ml(t,e),vl(e),4&r&&pl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(he(i,""),r.flags&=-33),ul(e,ol(e),i);break;case 3:case 4:var s=r.stateNode.containerInfo;ll(e,ol(e),s);break;default:throw Error(a(161))}}catch(o){Su(e,e.return,o)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,n){$o=e,_l(e,t,n)}function _l(e,t,n){for(var r=0!==(1&e.mode);null!==$o;){var i=$o,a=i.child;if(22===i.tag&&r){var s=null!==i.memoizedState||Zo;if(!s){var o=i.alternate,l=null!==o&&null!==o.memoizedState||Ko;o=Zo;var u=Ko;if(Zo=s,(Ko=l)&&!u)for($o=i;null!==$o;)l=(s=$o).child,22===s.tag&&null!==s.memoizedState?Tl(i):null!==l?(l.return=s,$o=l):Tl(i);for(;null!==a;)$o=a,_l(a,t,n),a=a.sibling;$o=i,Zo=o,Ko=u}bl(e)}else 0!==(8772&i.subtreeFlags)&&null!==a?(a.return=i,$o=a):bl(e)}}function bl(e){for(;null!==$o;){var t=$o;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ko||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ko)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ga(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;null!==s&&Fa(t,s,r);break;case 3:var o=t.updateQueue;if(null!==o){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Fa(t,o,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&zt(h)}}}break;default:throw Error(a(163))}Ko||512&t.flags&&il(t)}catch(f){Su(t,t.return,f)}}if(t===e){$o=null;break}if(null!==(n=t.sibling)){n.return=t.return,$o=n;break}$o=t.return}}function xl(e){for(;null!==$o;){var t=$o;if(t===e){$o=null;break}var n=t.sibling;if(null!==n){n.return=t.return,$o=n;break}$o=t.return}}function Tl(e){for(;null!==$o;){var t=$o;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(l){Su(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(l){Su(t,i,l)}}var a=t.return;try{il(t)}catch(l){Su(t,a,l)}break;case 5:var s=t.return;try{il(t)}catch(l){Su(t,s,l)}}}catch(l){Su(t,t.return,l)}if(t===e){$o=null;break}var o=t.sibling;if(null!==o){o.return=t.return,$o=o;break}$o=t.return}}var wl,Sl=Math.ceil,El=b.ReactCurrentDispatcher,kl=b.ReactCurrentOwner,Cl=b.ReactCurrentBatchConfig,Pl=0,Al=null,Il=null,Ol=0,Dl=0,Ml=Si(0),Nl=0,Rl=null,Ll=0,jl=0,Fl=0,Bl=null,Ul=null,Vl=0,zl=1/0,Gl=null,Hl=!1,Wl=null,ql=null,Yl=!1,Xl=null,Zl=0,Kl=0,Ql=null,$l=-1,Jl=0;function eu(){return 0!==(6&Pl)?Qe():-1!==$l?$l:$l=Qe()}function tu(e){return 0===(1&e.mode)?1:0!==(2&Pl)&&0!==Ol?Ol&-Ol:null!==ma.transition?(0===Jl&&(Jl=mt()),Jl):0!==(e=_t)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function nu(e,t,n,r){if(50<Kl)throw Kl=0,Ql=null,Error(a(185));vt(e,n,r),0!==(2&Pl)&&e===Al||(e===Al&&(0===(2&Pl)&&(jl|=n),4===Nl&&ou(e,Ol)),ru(e,r),1===n&&0===Pl&&0===(1&t.mode)&&(zl=Qe()+500,Bi&&zi()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-st(a),o=1<<s,l=i[s];-1===l?0!==(o&n)&&0===(o&r)||(i[s]=ft(o,t)):l<=t&&(e.expiredLanes|=o),a&=~o}}(e,t);var r=ht(e,e===Al?Ol:0);if(0===r)null!==n&&Xe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Xe(n),1===t)0===e.tag?function(e){Bi=!0,Vi(e)}(lu.bind(null,e)):Vi(lu.bind(null,e)),si((function(){0===(6&Pl)&&zi()})),n=null;else{switch(bt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Au(n,iu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function iu(e,t){if($l=-1,Jl=0,0!==(6&Pl))throw Error(a(327));var n=e.callbackNode;if(Tu()&&e.callbackNode!==n)return null;var r=ht(e,e===Al?Ol:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gu(e,r);else{t=r;var i=Pl;Pl|=2;var s=pu();for(Al===e&&Ol===t||(Gl=null,zl=Qe()+500,hu(e,t));;)try{yu();break}catch(l){fu(e,l)}xa(),El.current=s,Pl=i,null!==Il?t=0:(Al=null,Ol=0,t=Nl)}if(0!==t){if(2===t&&(0!==(i=pt(e))&&(r=i,t=au(e,i))),1===t)throw n=Rl,hu(e,0),ou(e,r),ru(e,Qe()),n;if(6===t)ou(e,r);else{if(i=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!or(a(),i))return!1}catch(o){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=gu(e,r))&&(0!==(s=pt(e))&&(r=s,t=au(e,s))),1===t))throw n=Rl,hu(e,0),ou(e,r),ru(e,Qe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:xu(e,Ul,Gl);break;case 3:if(ou(e,r),(130023424&r)===r&&10<(t=Vl+500-Qe())){if(0!==ht(e,0))break;if(((i=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(xu.bind(null,e,Ul,Gl),t);break}xu(e,Ul,Gl);break;case 4:if(ou(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-st(r);s=1<<o,(o=t[o])>i&&(i=o),r&=~s}if(r=i,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sl(r/1960))-r)){e.timeoutHandle=ri(xu.bind(null,e,Ul,Gl),r);break}xu(e,Ul,Gl);break;default:throw Error(a(329))}}}return ru(e,Qe()),e.callbackNode===n?iu.bind(null,e):null}function au(e,t){var n=Bl;return e.current.memoizedState.isDehydrated&&(hu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Ul,Ul=n,null!==t&&su(t)),e}function su(e){null===Ul?Ul=e:Ul.push.apply(Ul,e)}function ou(e,t){for(t&=~Fl,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-st(t),r=1<<n;e[n]=-1,t&=~r}}function lu(e){if(0!==(6&Pl))throw Error(a(327));Tu();var t=ht(e,0);if(0===(1&t))return ru(e,Qe()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=au(e,r))}if(1===n)throw n=Rl,hu(e,0),ou(e,t),ru(e,Qe()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Ul,Gl),ru(e,Qe()),null}function uu(e,t){var n=Pl;Pl|=1;try{return e(t)}finally{0===(Pl=n)&&(zl=Qe()+500,Bi&&zi())}}function cu(e){null!==Xl&&0===Xl.tag&&0===(6&Pl)&&Tu();var t=Pl;Pl|=1;var n=Cl.transition,r=_t;try{if(Cl.transition=null,_t=1,e)return e()}finally{_t=r,Cl.transition=n,0===(6&(Pl=t))&&zi()}}function du(){Dl=Ml.current,Ei(Ml)}function hu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Il)for(n=Il.return;null!==n;){var r=n;switch(ta(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Mi();break;case 3:is(),Ei(Ai),Ei(Pi),cs();break;case 5:ss(r);break;case 4:is();break;case 13:case 19:Ei(os);break;case 10:Ta(r.type._context);break;case 22:case 23:du()}n=n.return}if(Al=e,Il=e=Mu(e.current,null),Ol=Dl=t,Nl=0,Rl=null,Fl=jl=Ll=0,Ul=Bl=null,null!==ka){for(t=0;t<ka.length;t++)if(null!==(r=(n=ka[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var s=a.next;a.next=i,r.next=s}n.pending=r}ka=null}return e}function fu(e,t){for(;;){var n=Il;try{if(xa(),ds.current=ao,vs){for(var r=ps.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}vs=!1}if(fs=0,gs=ms=ps=null,ys=!1,_s=0,kl.current=null,null===n||null===n.return){Nl=1,Rl=t,Il=null;break}e:{var s=e,o=n.return,l=n,u=t;if(t=Ol,l.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=l,h=d.tag;if(0===(1&d.mode)&&(0===h||11===h||15===h)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=vo(o);if(null!==p){p.flags&=-257,yo(p,o,l,0,t),1&p.mode&&go(s,c,t),u=c;var m=(t=p).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0===(1&t)){go(s,c,t),mu();break e}u=Error(a(426))}else if(ia&&1&l.mode){var v=vo(o);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),yo(v,o,l,0,t),pa(uo(u,l));break e}}s=u=uo(u,l),4!==Nl&&(Nl=2),null===Bl?Bl=[s]:Bl.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t,La(s,po(0,u,t));break e;case 1:l=u;var y=s.type,_=s.stateNode;if(0===(128&s.flags)&&("function"===typeof y.getDerivedStateFromError||null!==_&&"function"===typeof _.componentDidCatch&&(null===ql||!ql.has(_)))){s.flags|=65536,t&=-t,s.lanes|=t,La(s,mo(s,l,t));break e}}s=s.return}while(null!==s)}bu(n)}catch(b){t=b,Il===n&&null!==n&&(Il=n=n.return);continue}break}}function pu(){var e=El.current;return El.current=ao,null===e?ao:e}function mu(){0!==Nl&&3!==Nl&&2!==Nl||(Nl=4),null===Al||0===(268435455&Ll)&&0===(268435455&jl)||ou(Al,Ol)}function gu(e,t){var n=Pl;Pl|=2;var r=pu();for(Al===e&&Ol===t||(Gl=null,hu(e,t));;)try{vu();break}catch(i){fu(e,i)}if(xa(),Pl=n,El.current=r,null!==Il)throw Error(a(261));return Al=null,Ol=0,Nl}function vu(){for(;null!==Il;)_u(Il)}function yu(){for(;null!==Il&&!Ze();)_u(Il)}function _u(e){var t=wl(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?bu(e):Il=t,kl.current=null}function bu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Yo(n,t,Dl)))return void(Il=n)}else{if(null!==(n=Xo(n,t)))return n.flags&=32767,void(Il=n);if(null===e)return Nl=6,void(Il=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Il=t);Il=t=e}while(null!==t);0===Nl&&(Nl=5)}function xu(e,t,n){var r=_t,i=Cl.transition;try{Cl.transition=null,_t=1,function(e,t,n,r){do{Tu()}while(null!==Xl);if(0!==(6&Pl))throw Error(a(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-st(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}(e,s),e===Al&&(Il=Al=null,Ol=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Yl||(Yl=!0,Au(tt,(function(){return Tu(),null}))),s=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||s){s=Cl.transition,Cl.transition=null;var o=_t;_t=1;var l=Pl;Pl|=4,kl.current=null,function(e,t){if(ei=Ht,fr(e=hr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch(x){n=null;break e}var o=0,l=-1,u=-1,c=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==n||0!==i&&3!==h.nodeType||(l=o+i),h!==s||0!==r&&3!==h.nodeType||(u=o+r),3===h.nodeType&&(o+=h.nodeValue.length),null!==(p=h.firstChild);)f=h,h=p;for(;;){if(h===e)break t;if(f===n&&++c===i&&(l=o),f===s&&++d===r&&(u=o),null!==(p=h.nextSibling))break;f=(h=f).parentNode}h=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Ht=!1,$o=t;null!==$o;)if(e=(t=$o).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,$o=e;else for(;null!==$o;){t=$o;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,_=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ga(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(a(163))}}catch(x){Su(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,$o=e;break}$o=t.return}m=tl,tl=!1}(e,n),gl(n,e),pr(ti),Ht=!!ei,ti=ei=null,e.current=n,yl(n,e,i),Ke(),Pl=l,_t=o,Cl.transition=s}else e.current=n;if(Yl&&(Yl=!1,Xl=e,Zl=i),s=e.pendingLanes,0===s&&(ql=null),function(e){if(at&&"function"===typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(it,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ru(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Hl)throw Hl=!1,e=Wl,Wl=null,e;0!==(1&Zl)&&0!==e.tag&&Tu(),s=e.pendingLanes,0!==(1&s)?e===Ql?Kl++:(Kl=0,Ql=e):Kl=0,zi()}(e,t,n,r)}finally{Cl.transition=i,_t=r}return null}function Tu(){if(null!==Xl){var e=bt(Zl),t=Cl.transition,n=_t;try{if(Cl.transition=null,_t=16>e?16:e,null===Xl)var r=!1;else{if(e=Xl,Xl=null,Zl=0,0!==(6&Pl))throw Error(a(331));var i=Pl;for(Pl|=4,$o=e.current;null!==$o;){var s=$o,o=s.child;if(0!==(16&$o.flags)){var l=s.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for($o=c;null!==$o;){var d=$o;switch(d.tag){case 0:case 11:case 15:nl(8,d,s)}var h=d.child;if(null!==h)h.return=d,$o=h;else for(;null!==$o;){var f=(d=$o).sibling,p=d.return;if(al(d),d===c){$o=null;break}if(null!==f){f.return=p,$o=f;break}$o=p}}}var m=s.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}$o=s}}if(0!==(2064&s.subtreeFlags)&&null!==o)o.return=s,$o=o;else e:for(;null!==$o;){if(0!==(2048&(s=$o).flags))switch(s.tag){case 0:case 11:case 15:nl(9,s,s.return)}var y=s.sibling;if(null!==y){y.return=s.return,$o=y;break e}$o=s.return}}var _=e.current;for($o=_;null!==$o;){var b=(o=$o).child;if(0!==(2064&o.subtreeFlags)&&null!==b)b.return=o,$o=b;else e:for(o=_;null!==$o;){if(0!==(2048&(l=$o).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(T){Su(l,l.return,T)}if(l===o){$o=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,$o=x;break e}$o=l.return}}if(Pl=i,zi(),at&&"function"===typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(it,e)}catch(T){}r=!0}return r}finally{_t=n,Cl.transition=t}}return!1}function wu(e,t,n){e=Na(e,t=po(0,t=uo(n,t),1),1),t=eu(),null!==e&&(vt(e,1,t),ru(e,t))}function Su(e,t,n){if(3===e.tag)wu(e,e,n);else for(;null!==t;){if(3===t.tag){wu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===ql||!ql.has(r))){t=Na(t,e=mo(t,e=uo(n,e),1),1),e=eu(),null!==t&&(vt(t,1,e),ru(t,e));break}}t=t.return}}function Eu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,Al===e&&(Ol&n)===n&&(4===Nl||3===Nl&&(130023424&Ol)===Ol&&500>Qe()-Vl?hu(e,0):Fl|=n),ru(e,t)}function ku(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=eu();null!==(e=Aa(e,t))&&(vt(e,t,n),ru(e,n))}function Cu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ku(e,n)}function Pu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),ku(e,n)}function Au(e,t){return Ye(e,t)}function Iu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ou(e,t,n,r){return new Iu(e,t,n,r)}function Du(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mu(e,t){var n=e.alternate;return null===n?((n=Ou(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Nu(e,t,n,r,i,s){var o=2;if(r=e,"function"===typeof e)Du(e)&&(o=1);else if("string"===typeof e)o=5;else e:switch(e){case w:return Ru(n.children,i,s,t);case S:o=8,i|=8;break;case E:return(e=Ou(12,n,t,2|i)).elementType=E,e.lanes=s,e;case A:return(e=Ou(13,n,t,i)).elementType=A,e.lanes=s,e;case I:return(e=Ou(19,n,t,i)).elementType=I,e.lanes=s,e;case M:return Lu(n,i,s,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case k:o=10;break e;case C:o=9;break e;case P:o=11;break e;case O:o=14;break e;case D:o=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ou(o,n,t,i)).elementType=e,t.type=r,t.lanes=s,t}function Ru(e,t,n,r){return(e=Ou(7,e,r,t)).lanes=n,e}function Lu(e,t,n,r){return(e=Ou(22,e,r,t)).elementType=M,e.lanes=n,e.stateNode={isHidden:!1},e}function ju(e,t,n){return(e=Ou(6,e,null,t)).lanes=n,e}function Fu(e,t,n){return(t=Ou(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,i,a,s,o,l){return e=new Bu(e,t,n,o,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Ou(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Oa(a),e}function Vu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:T,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function zu(e){if(!e)return Ci;e:{if(ze(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Di(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Di(n))return Ri(e,n,t)}return t}function Gu(e,t,n,r,i,a,s,o,l){return(e=Uu(n,r,!0,e,0,a,0,o,l)).context=zu(null),n=e.current,(a=Ma(r=eu(),i=tu(n))).callback=void 0!==t&&null!==t?t:null,Na(n,a,i),e.current.lanes=i,vt(e,i,r),ru(e,r),e}function Hu(e,t,n,r){var i=t.current,a=eu(),s=tu(i);return n=zu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ma(a,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Na(i,t,s))&&(nu(e,i,s,a),Ra(e,i,s)),s}function Wu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Yu(e,t){qu(e,t),(e=e.alternate)&&qu(e,t)}wl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ai.current)bo=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return bo=!1,function(e,t,n){switch(t.tag){case 3:Io(t),fa();break;case 5:as(t);break;case 1:Di(t.type)&&Li(t);break;case 4:rs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ki(va,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ki(os,1&os.current),t.flags|=128,null):0!==(n&t.child.childLanes)?jo(e,t,n):(ki(os,1&os.current),null!==(e=Ho(e,t,n))?e.sibling:null);ki(os,1&os.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return zo(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ki(os,os.current),r)break;return null;case 22:case 23:return t.lanes=0,Eo(e,t,n)}return Ho(e,t,n)}(e,t,n);bo=0!==(131072&e.flags)}else bo=!1,ia&&0!==(1048576&t.flags)&&Ji(t,qi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Go(e,t),e=t.pendingProps;var i=Oi(t,Pi.current);Sa(t,n),i=ws(null,t,r,e,i,n);var s=Ss();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Di(r)?(s=!0,Li(t)):s=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Oa(t),i.updater=Va,t.stateNode=i,i._reactInternals=t,Wa(t,r,e,n),t=Ao(null,t,r,!0,s,n)):(t.tag=0,ia&&s&&ea(t),xo(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Go(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"===typeof e)return Du(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===O)return 14}return 2}(r),e=ga(r,e),i){case 0:t=Co(null,t,r,e,n);break e;case 1:t=Po(null,t,r,e,n);break e;case 11:t=To(null,t,r,e,n);break e;case 14:t=wo(null,t,r,ga(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,Co(e,t,r,i=t.elementType===r?i:ga(r,i),n);case 1:return r=t.type,i=t.pendingProps,Po(e,t,r,i=t.elementType===r?i:ga(r,i),n);case 3:e:{if(Io(t),null===e)throw Error(a(387));r=t.pendingProps,i=(s=t.memoizedState).element,Da(e,t),ja(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated){if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,256&t.flags){t=Oo(e,t,r,n,i=uo(Error(a(423)),t));break e}if(r!==i){t=Oo(e,t,r,n,i=uo(Error(a(424)),t));break e}for(ra=ui(t.stateNode.containerInfo.firstChild),na=t,ia=!0,aa=null,n=Qa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fa(),r===i){t=Ho(e,t,n);break e}xo(e,t,r,n)}t=t.child}return t;case 5:return as(t),null===e&&ua(t),r=t.type,i=t.pendingProps,s=null!==e?e.memoizedProps:null,o=i.children,ni(r,i)?o=null:null!==s&&ni(r,s)&&(t.flags|=32),ko(e,t),xo(e,t,o,n),t.child;case 6:return null===e&&ua(t),null;case 13:return jo(e,t,n);case 4:return rs(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ka(t,null,r,n):xo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,To(e,t,r,i=t.elementType===r?i:ga(r,i),n);case 7:return xo(e,t,t.pendingProps,n),t.child;case 8:case 12:return xo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,ki(va,r._currentValue),r._currentValue=o,null!==s)if(or(s.value,o)){if(s.children===i.children&&!Ai.current){t=Ho(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.dependencies;if(null!==l){o=s.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===s.tag){(u=Ma(-1,n&-n)).tag=2;var c=s.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),wa(s.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===s.tag)o=s.type===t.type?null:s.child;else if(18===s.tag){if(null===(o=s.return))throw Error(a(341));o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),wa(o,n,t),o=s.sibling}else o=s.child;if(null!==o)o.return=s;else for(o=s;null!==o;){if(o===t){o=null;break}if(null!==(s=o.sibling)){s.return=o.return,o=s;break}o=o.return}s=o}xo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Sa(t,n),r=r(i=Ea(i)),t.flags|=1,xo(e,t,r,n),t.child;case 14:return i=ga(r=t.type,t.pendingProps),wo(e,t,r,i=ga(r.type,i),n);case 15:return So(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ga(r,i),Go(e,t),t.tag=1,Di(r)?(e=!0,Li(t)):e=!1,Sa(t,n),Ga(t,r,i),Wa(t,r,i,n),Ao(null,t,r,!0,e,n);case 19:return zo(e,t,n);case 22:return Eo(e,t,n)}throw Error(a(156,t.tag))};var Xu="function"===typeof reportError?reportError:function(e){console.error(e)};function Zu(e){this._internalRoot=e}function Ku(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function $u(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,i){var a=n._reactRootContainer;if(a){var s=a;if("function"===typeof i){var o=i;i=function(){var e=Wu(s);o.call(e)}}Hu(t,s,e,i)}else s=function(e,t,n,r,i){if(i){if("function"===typeof r){var a=r;r=function(){var e=Wu(s);a.call(e)}}var s=Gu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=s,e[pi]=s.current,zr(8===e.nodeType?e.parentNode:e),cu(),s}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var o=r;r=function(){var e=Wu(l);o.call(e)}}var l=Uu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=l,e[pi]=l.current,zr(8===e.nodeType?e.parentNode:e),cu((function(){Hu(t,l,n,r)})),l}(n,t,e,i,r);return Wu(s)}Ku.prototype.render=Zu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Hu(e,t,null,null)},Ku.prototype.unmount=Zu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){Hu(null,e,null,null)})),t[pi]=null}},Ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mt.length&&0!==t&&t<Mt[n].priority;n++);Mt.splice(n,0,e),0===n&&jt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ru(t,Qe()),0===(6&Pl)&&(zl=Qe()+500,zi()))}break;case 13:cu((function(){var t=Aa(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),Yu(e,1)}},Tt=function(e){if(13===e.tag){var t=Aa(e,134217728);if(null!==t)nu(t,e,134217728,eu());Yu(e,134217728)}},wt=function(e){if(13===e.tag){var t=tu(e),n=Aa(e,t);if(null!==n)nu(n,e,t,eu());Yu(e,t)}},St=function(){return _t},Et=function(e,t){var n=_t;try{return _t=e,t()}finally{_t=n}},Te=function(e,t,n){switch(t){case"input":if($(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=xi(r);if(!i)throw Error(a(90));Y(r),$(r,i)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=uu,Ae=cu;var tc={usingClientEntryPoint:!1,Events:[_i,bi,xi,ke,Ce,uu]},nc={findFiberByHostInstance:yi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{it=ic.inject(rc),at=ic}catch(ce){}}
2t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(a(200));return Vu(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(a(299));var n=!1,r="",i=Xu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Uu(e,1,!1,null,0,n,0,r,i),e[pi]=t.current,zr(8===e.nodeType?e.parentNode:e),new Zu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return cu(e)},t.hydrate=function(e,t,n){if(!$u(t))throw Error(a(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,i=!1,s="",o=Xu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(s=n.identifierPrefix),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),t=Gu(t,null,e,1,null!=n?n:null,i,0,s,o),e[pi]=t.current,zr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Ku(t)},t.render=function(e,t,n){if(!$u(t))throw Error(a(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!$u(e))throw Error(a(40));return!!e._reactRootContainer&&(cu((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[pi]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!$u(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},1250:function(e,t,n){"use strict";var r=n(4164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(5866)},77:function(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,i="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var o,l,u,c;if(Array.isArray(e)){if((o=e.length)!=s.length)return!1;for(l=o;0!==l--;)if(!a(e[l],s[l]))return!1;return!0}if(n&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!s.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!a(l.value[1],s.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!s.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((o=e.length)!=s.length)return!1;for(l=o;0!==l--;)if(e[l]!==s[l])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===s.toString();if((o=(u=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(l=o;0!==l--;)if(!Object.prototype.hasOwnProperty.call(s,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=o;0!==l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!a(e[u[l]],s[u[l]]))return!1;return!0}return e!==e&&s!==s}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},7567:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=e||"";t&&(a=r(e));n&&(a=i(a));return a};var n=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function r(e){return e.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,r){return t>0&&t+e.length!==r.length&&e.search(n)>-1&&":"!==r.charAt(t-2)&&("-"!==r.charAt(t+e.length)||"-"===r.charAt(t-1))&&r.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}function i(e){return"string"===typeof(t=e)&&-1!==t.indexOf("@")?(console.warn("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):e;var t}}
vendor: 8,183 bytes, line 2
2,7848:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GA4=void 0;var r=l(n(7666)),i=l(n(7567)),a=["eventCategory","eventAction","eventLabel","eventValue","hitType"],s=["title","location"],o=["page","hitType"];function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e){return c="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},c(e)}function d(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m(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 h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(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 r,i,a,s,o=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(c){u=!0,i=c}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(e,t)||m(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 m(e,t){if(e){if("string"===typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_(r.key),r)}}function y(e,t,n){return(t=_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}var b=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,"reset",(function(){t.isInitialized=!1,t._testMode=!1,t._currentMeasurementId,t._hasLoadedGA=!1,t._isQueuing=!1,t._queueGtag=[]})),y(this,"_gtag",(function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t._testMode||t._isQueuing?t._queueGtag.push(n):r.default.apply(void 0,n)})),y(this,"_loadGA",(function(e,n){if("undefined"!==typeof window&&"undefined"!==typeof document&&!t._hasLoadedGA){var r=document.createElement("script");r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(e),n&&r.setAttribute("nonce",n),document.body.appendChild(r),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},t._hasLoadedGA=!0}})),y(this,"_toGtagOptions",(function(e){if(e){var t={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"};return Object.entries(e).reduce((function(e,n){var r=p(n,2),i=r[0],a=r[1];return t[i]?e[t[i]]=a:e[i]=a,e}),{})}})),y(this,"initialize",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Require GA_MEASUREMENT_ID");var r="string"===typeof e?[{trackingId:e}]:e;t._currentMeasurementId=r[0].trackingId;var i=n.gaOptions,a=n.gtagOptions,s=n.nonce,o=n.testMode,l=void 0!==o&&o;if(t._testMode=l,l||t._loadGA(t._currentMeasurementId,s),t.isInitialized||(t._gtag("js",new Date),r.forEach((function(e){var n=f(f(f({},t._toGtagOptions(f(f({},i),e.gaOptions))),a),e.gtagOptions);Object.keys(n).length?t._gtag("config",e.trackingId,n):t._gtag("config",e.trackingId)}))),t.isInitialized=!0,!l){var u=d(t._queueGtag);for(t._queueGtag=[],t._isQueuing=!1;u.length;){var c=u.shift();t._gtag.apply(t,d(c)),"get"===c[0]&&(t._isQueuing=!0)}}})),y(this,"set",(function(e){e?"object"===c(e)?(0===Object.keys(e).length&&console.warn("empty `fieldsObject` given to .set()"),t._gaCommand("set",e)):console.warn("Expected `fieldsObject` arg to be an Object"):console.warn("`fieldsObject` is required in .set()")})),y(this,"_gaCommandSendEvent",(function(e,n,r,i,a){t._gtag("event",n,f(f({event_category:e,event_label:r,value:i},a&&{non_interaction:a.nonInteraction}),t._toGtagOptions(a)))})),y(this,"_gaCommandSendEventParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommandSendEvent.apply(t,d(n.slice(1)));else{var i=n[0],s=i.eventCategory,o=i.eventAction,l=i.eventLabel,c=i.eventValue,h=(i.hitType,u(i,a));t._gaCommandSendEvent(s,o,l,c,h)}})),y(this,"_gaCommandSendTiming",(function(e,n,r,i){t._gtag("event","timing_complete",{name:n,value:r,event_category:e,event_label:i})})),y(this,"_gaCommandSendPageview",(function(e,n){if(n&&Object.keys(n).length){var r=t._toGtagOptions(n),i=r.title,a=r.location,o=u(r,s);t._gtag("event","page_view",f(f(f(f({},e&&{page_path:e}),i&&{page_title:i}),a&&{page_location:a}),o))}else e?t._gtag("event","page_view",{page_path:e}):t._gtag("event","page_view")})),y(this,"_gaCommandSendPageviewParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommandSendPageview.apply(t,d(n.slice(1)));else{var i=n[0],a=i.page,s=(i.hitType,u(i,o));t._gaCommandSendPageview(a,s)}})),y(this,"_gaCommandSend",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i="string"===typeof n[0]?n[0]:n[0].hitType;switch(i){case"event":t._gaCommandSendEventParameters.apply(t,n);break;case"pageview":t._gaCommandSendPageviewParameters.apply(t,n);break;case"timing":t._gaCommandSendTiming.apply(t,d(n.slice(1)));break;case"screenview":case"transaction":case"item":case"social":case"exception":console.warn("Unsupported send command: ".concat(i));break;default:console.warn("Send command doesn't exist: ".concat(i))}})),y(this,"_gaCommandSet",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];"string"===typeof n[0]&&(n[0]=y({},n[0],n[1])),t._gtag("set",t._toGtagOptions(n[0]))})),y(this,"_gaCommand",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];
2switch(e){case"send":t._gaCommandSend.apply(t,r);break;case"set":t._gaCommandSet.apply(t,r);break;default:console.warn("Command doesn't exist: ".concat(e))}})),y(this,"ga",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommand.apply(t,n);else{var i=n[0];t._gtag("get",t._currentMeasurementId,"client_id",(function(e){t._isQueuing=!1;var n=t._queueGtag;for(i({get:function(n){return"clientId"===n?e:"trackingId"===n?t._currentMeasurementId:"apiVersion"===n?"1":void 0}});n.length;){var r=n.shift();t._gtag.apply(t,d(r))}})),t._isQueuing=!0}return t.ga})),y(this,"event",(function(e,n){if("string"===typeof e)t._gtag("event",e,t._toGtagOptions(n));else{var r=e.action,a=e.category,s=e.label,o=e.value,l=e.nonInteraction,u=e.transport;if(!a||!r)return void console.warn("args.category AND args.action are required in event()");var c={hitType:"event",eventCategory:(0,i.default)(a),eventAction:(0,i.default)(r)};s&&(c.eventLabel=(0,i.default)(s)),"undefined"!==typeof o&&("number"!==typeof o?console.warn("Expected `args.value` arg to be a Number."):c.eventValue=o),"undefined"!==typeof l&&("boolean"!==typeof l?console.warn("`args.nonInteraction` must be a boolean."):c.nonInteraction=l),"undefined"!==typeof u&&("string"!==typeof u?console.warn("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(u)&&console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),c.transport=u)),t._gaCommand("send",c)}})),y(this,"send",(function(e){t._gaCommand("send",e)})),this.reset()}var t,n,l;return t=e,n=[{key:"gtag",value:function(){this._gtag.apply(this,arguments)}}],n&&v(t.prototype,n),l&&v(t,l),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.GA4=b;var x=new b;t.default=x},7666:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;"undefined"!==typeof window&&("undefined"===typeof window.gtag&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(r=window).gtag.apply(r,t))};t.default=n},757:function(e,t,n){"use strict";function r(e){return r="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},r(e)}t.ZP=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=s?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=e[o]}i.default=e,n&&n.set(e,i);return i}(n(7848));function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}i.GA4;var s=i.default;t.ZP=s},5590:function(e,t,n){"use strict";n.d(t,{j:function(){return s}});var r=n(4578),i=n(8846),a=n(1985),s=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!a.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(i.l))},5708:function(e,t,n){"use strict";n.d(t,{QueryClient:function(){return r.S}});var r=n(2451),i=n(5044);n.o(i,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return i.QueryClientProvider}}),n.o(i,"useQuery")&&n.d(t,{useQuery:function(){return i.useQuery}})},209:function(e,t,n){"use strict";n.d(t,{E:function(){return a},j:function(){return i}});var r=console;function i(){return r}function a(e){r=e}},2363:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var r=n(1985),i=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,r.A4)((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,r.A4)((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),a=new i},4463:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var r=n(4578),i=n(8846),a=n(1985),s=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!a.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n
vendor: 5,670 bytes, line 2
2)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine},t}(i.l))},2451:function(e,t,n){"use strict";n.d(t,{S:function(){return y}});var r=n(7462),i=n(1985),a=n(4578),s=n(2363),o=n(209),l=n(6350),u=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,r.Z)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,i.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,a=this.state.data,s=(0,i.SE)(e,a);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,a,s))?s=a:!1!==this.options.structuralSharing&&(s=(0,i.Q$)(a,s)),this.dispatch({data:s,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),s},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(i.ZT).catch(i.ZT):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,i.Kp)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,a,s=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var u;return null==(u=this.retryer)||u.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var c=this.observers.find((function(e){return e.options.queryFn}));c&&this.setOptions(c.options)}var d=(0,i.mc)(this.queryKey),h=(0,i.G9)(),f={queryKey:d,pageParam:void 0,meta:this.meta};Object.defineProperty(f,"signal",{enumerable:!0,get:function(){if(h)return s.abortSignalConsumed=!0,h.signal}});var p,m,g={fetchOptions:t,options:this.options,queryKey:d,state:this.state,fetchFn:function(){return s.options.queryFn?(s.abortSignalConsumed=!1,s.options.queryFn(f)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(p=this.options.behavior)||p.onFetch(g));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=g.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(m=g.fetchOptions)?void 0:m.meta});return this.retryer=new l.m4({fn:g.fetchFn,abort:null==h||null==(a=h.abort)?void 0:a.bind(h),onSuccess:function(e){s.setData(e),null==s.cache.config.onSuccess||s.cache.config.onSuccess(e,s),0===s.cacheTime&&s.optionalRemove()},onError:function(e){(0,l.DV)(e)&&e.silent||s.dispatch({type:"error",error:e}),(0,l.DV)(e)||(null==s.cache.config.onError||s.cache.config.onError(e,s),(0,o.j)().error(e)),0===s.cacheTime&&s.optionalRemove()},onFail:function(){s.dispatch({type:"failed"})},onPause:function(){s.dispatch({type:"pause"})},onContinue:function(){s.dispatch({type:"continue"})}
2,retry:g.options.retry,retryDelay:g.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),s.V.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"===typeof e.initialData?e.initialData():e.initialData,n="undefined"!==typeof e.initialData?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r="undefined"!==typeof t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,i;switch(t.type){case"failed":return(0,r.Z)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"fetch":return(0,r.Z)({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.Z)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(i=t.dataUpdatedAt)?i:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var a=t.error;return(0,l.DV)(a)&&a.revert&&this.revertState?(0,r.Z)({},this.revertState):(0,r.Z)({},e,{error:a,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.Z)({},e,{isInvalidated:!0});case"setState":return(0,r.Z)({},e,t.state);default:return e}},e}(),c=n(8846),d=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}(0,a.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,a=t.queryKey,s=null!=(r=t.queryHash)?r:(0,i.Rm)(a,t),o=this.get(s);return o||(o=new u({cache:this,queryKey:a,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a),meta:t.meta}),this.add(o)),o},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;s.V.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=(0,i.I6)(e,t)[0];return"undefined"===typeof n.exact&&(n.exact=!0),this.queries.find((function(e){return(0,i._x)(n,e)}))},n.findAll=function(e,t){var n=(0,i.I6)(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return(0,i._x)(n,e)})):this.queries},n.notify=function(e){var t=this;s.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;s.V.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;s.V.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(c.l),h=function(){function e(e){this.options=(0,r.Z)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(i.ZT).catch(i.ZT)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)}
2)).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,o.j)().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new l.m4({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,r.Z)({},e,{failureCount:e.failureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"loading":return(0,r.Z)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,r.Z)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.Z)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.Z)({},e,t.state);default:return e}}(this.state,e),s.V.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();var f=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}(0,a.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new h({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;s.V.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return"undefined"===typeof e.exact&&(e.exact=!0),this.mutations.find((function(t){return(0,i.X7)(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return(0,i.X7)(e,t)}))},n.notify=function(e){var t=this;s.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPau
2sed}));return s.V.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(i.ZT)}))}),Promise.resolve())}))},t}(c.l),p=n(5590),m=n(4463);function g(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function v(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var y=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new d,this.mutationCache=e.mutationCache||new f,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=p.j.subscribe((function(){p.j.isFocused()&&m.N.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=m.N.subscribe((function(){p.j.isFocused()&&m.N.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=(0,i.I6)(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll((0,r.Z)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=(0,i._v)(e),a=this.defaultQueryOptions(r);return this.queryCache.build(this,a).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return s.V.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var i=e.queryKey;return[i,r.setQueryData(i,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=(0,i.I6)(e,t)[0],r=this.queryCache;s.V.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var a=this,o=(0,i.I6)(e,t,n),l=o[0],u=o[1],c=this.queryCache,d=(0,r.Z)({},l,{active:!0});return s.V.batch((function(){return c.findAll(l).forEach((function(e){e.reset()})),a.refetchQueries(d,u)}))},t.cancelQueries=function(e,t,n){var r=this,a=(0,i.I6)(e,t,n),o=a[0],l=a[1],u=void 0===l?{}:l;"undefined"===typeof u.revert&&(u.revert=!0);var c=s.V.batch((function(){return r.queryCache.findAll(o).map((function(e){return e.cancel(u)}))}));return Promise.all(c).then(i.ZT).catch(i.ZT)},t.invalidateQueries=function(e,t,n){var a,o,l,u=this,c=(0,i.I6)(e,t,n),d=c[0],h=c[1],f=(0,r.Z)({},d,{active:null==(a=null!=(o=d.refetchActive)?o:d.active)||a,inactive:null!=(l=d.refetchInactive)&&l});return s.V.batch((function(){return u.queryCache.findAll(d).forEach((function(e){e.invalidate()})),u.refetchQueries(f,h)}))},t.refetchQueries=function(e,t,n){var a=this,o=(0,i.I6)(e,t,n),l=o[0],u=o[1],c=s.V.batch((function(){return a.queryCache.findAll(l).map((function(e){return e.fetch(void 0,(0,r.Z)({},u,{meta:{refetchPage:null==l?void 0:l.refetchPage}}))}))})),d=Promise.all(c).then(i.ZT);return(null==u?void 0:u.throwOnError)||(d=d.catch(i.ZT)),d},t.fetchQuery=function(e,t,n){var r=(0,i._v)(e,t,n),a=this.defaultQueryOptions(r);"undefined"===typeof a.retry&&(a.retry=!1);var s=this.queryCache.build(this,a);return s.isStaleByTime(a.staleTime)?s.fetch(a):Promise.resolve(s.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(i.ZT).catch(i.ZT)},t.fetchInfiniteQuery=function(e,t,n){var r=(0,i._v)(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,a,s,o,u,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(a=r.meta)?void 0:a.fetchMore,h=null==d?void 0:d.pageParam,f="forward"===(null==d?void 0:d.direction),p="backward"===(null==d?void 0:d.direction),m=(null==(s=e.state.data)?void 0:s.pages)||[],y=(null==(o=e.state.data)?void 0:o.pageParams)||[],_=(0,i.G9)(),b=null==_?void 0:_.signal,x=y,T=!1,w=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},S=function(e,t,n,r){return x=r?[t].concat(x):[].concat(x,[t]),r?[n].concat(e):[].concat(e,[n])},E=function(t,n,r,i){if(T)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&t.length)return Promise.resolve(t);var a={queryKey:e.queryKey,signal:b,pageParam:r,meta:e.meta},s=w(a),o=Promise.resolve(s).then((function(e){return S(t,r,e,i)}));return(0,l.LE)(s)&&(o.cancel=s.cancel),o};if(m.length)if(f){var k="undefined"!==typeof h,C=k?h:g(e.options,m);u=E(m,k,C)}else if(p){var P="undefined"!==typeof h,A=P?h:v(e.options,m);u=E(m,P,A,!0)}else!function(){x=[];
2var t="undefined"===typeof e.options.getNextPageParam,n=!c||!m[0]||c(m[0],0,m);u=n?E([],t,y[0]):Promise.resolve(S([],y[0],m[0]));for(var r=function(n){u=u.then((function(r){if(!c||!m[n]||c(m[n],n,m)){var i=t?y[n]:g(e.options,r);return E(r,t,i)}return Promise.resolve(S(r,y[n],m[n]))}))},i=1;i<m.length;i++)r(i)}();else u=E([]);var I=u.then((function(e){return{pages:e,pageParams:x}}));return I.cancel=function(){T=!0,null==_||_.abort(),(0,l.LE)(u)&&u.cancel()},I}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(i.ZT).catch(i.ZT)},t.cancelMutations=function(){var e=this,t=s.V.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(i.ZT).catch(i.ZT)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return(0,i.yF)(e)===(0,i.yF)(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return(0,i.to)(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return(0,i.yF)(e)===(0,i.yF)(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return(0,i.to)(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,r.Z)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,i.Rm)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,r.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},6350:function(e,t,n){"use strict";n.d(t,{DV:function(){return u},LE:function(){return o},m4:function(){return c}});var r=n(5590),i=n(4463),a=n(1985);function s(e){return Math.min(1e3*Math.pow(2,e),3e4)}function o(e){return"function"===typeof(null==e?void 0:e.cancel)}var l=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function u(e){return e instanceof l}var c=function(e){var t,n,u,c,d=this,h=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){h=!0},this.continueRetry=function(){h=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){u=e,c=t}));var f=function(t){d.isResolved||(d.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),u(t))},p=function(t){d.isResolved||(d.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),c(t))};!function u(){if(!d.isResolved){var c;try{c=e.fn()}catch(m){c=Promise.reject(m)}t=function(e){if(!d.isResolved&&(p(new l(e)),null==d.abort||d.abort(),o(c)))try{c.cancel()}catch(t){}},d.isTransportCancelable=o(c),Promise.resolve(c).then(f).catch((function(t){var o,l;if(!d.isResolved){var c=null!=(o=e.retry)?o:3,f=null!=(l=e.retryDelay)?l:s,m="function"===typeof f?f(d.failureCount,t):f,g=!0===c||"number"===typeof c&&d.failureCount<c||"function"===typeof c&&c(d.failureCount,t);!h&&g?(d.failureCount++,null==e.onFail||e.onFail(d.failureCount,t),(0,a.Gh)(m).then((function(){if(!r.j.isFocused()||!i.N.isOnline())return new Promise((function(t){n=t,d.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,d.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){h?p(t):u()}))):p(t)}}))}}()}},8846:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},5044:function(){},1985:function(e,t,n){"use strict";n.d(t,{A4:function(){return S},G9:function(){return E},Gh:function(){return w},I6:function(){return d},Kp:function(){return u},PN:function(){return o},Q$:function(){return y},Rm:function(){return p},SE:function(){return s},VS:function(){return _},X7:function(){return f},ZT:function(){return a},_v:function(){return c},_x:function(){return h},mc:function(){return l},sk:function(){return i},to:function(){return g},yF:function(){return m}});var r=n(7462),i="undefined"===typeof window;function a(){}function s(e,t){return"function"===typeof e?e(t):e}function o(e){return"number"===typeof e&&e>=0&&e!==1/0}function l(e){return Array.isArray(e)?e:[e]}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}
2function c(e,t,n){return T(e)?"function"===typeof t?(0,r.Z)({},n,{queryKey:e,queryFn:t}):(0,r.Z)({},t,{queryKey:e}):e}function d(e,t,n){return T(e)?[(0,r.Z)({},t,{queryKey:e}),n]:[e||{},t]}function h(e,t){var n=e.active,r=e.exact,i=e.fetching,a=e.inactive,s=e.predicate,o=e.queryKey,l=e.stale;if(T(o))if(r){if(t.queryHash!==p(o,t.options))return!1}else if(!g(t.queryKey,o))return!1;var u=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,a);if("none"===u)return!1;if("all"!==u){var c=t.isActive();if("active"===u&&!c)return!1;if("inactive"===u&&c)return!1}return("boolean"!==typeof l||t.isStale()===l)&&(("boolean"!==typeof i||t.isFetching()===i)&&!(s&&!s(t)))}function f(e,t){var n=e.exact,r=e.fetching,i=e.predicate,a=e.mutationKey;if(T(a)){if(!t.options.mutationKey)return!1;if(n){if(m(t.options.mutationKey)!==m(a))return!1}else if(!g(t.options.mutationKey,a))return!1}return("boolean"!==typeof r||"loading"===t.state.status===r)&&!(i&&!i(t))}function p(e,t){return((null==t?void 0:t.queryKeyHashFn)||m)(e)}function m(e){var t,n=l(e);return t=n,JSON.stringify(t,(function(e,t){return b(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function g(e,t){return v(l(e),l(t))}function v(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((function(n){return!v(e[n],t[n])})))}function y(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||b(e)&&b(t)){for(var r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{},o=0,l=0;l<a;l++){var u=n?l:i[l];s[u]=y(e[u],t[u]),s[u]===e[u]&&o++}return r===a&&o===r?e:s}return t}function _(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function b(e){if(!x(e))return!1;var t=e.constructor;if("undefined"===typeof t)return!0;var n=t.prototype;return!!x(n)&&!!n.hasOwnProperty("isPrototypeOf")}function x(e){return"[object Object]"===Object.prototype.toString.call(e)}function T(e){return"string"===typeof e||Array.isArray(e)}function w(e){return new Promise((function(t){setTimeout(t,e)}))}function S(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function E(){if("function"===typeof AbortController)return new AbortController}},1933:function(e,t,n){"use strict";n.d(t,{QueryClient:function(){return r.QueryClient},QueryClientProvider:function(){return i.QueryClientProvider},useQuery:function(){return i.useQuery}});var r=n(5708);n.o(r,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useQuery")&&n.d(t,{useQuery:function(){return r.useQuery}});var i=n(1519)},1519:function(e,t,n){"use strict";n.d(t,{QueryClientProvider:function(){return d},useQuery:function(){return k}});var r=n(2363),i=n(4164).unstable_batchedUpdates;r.V.setBatchNotifyFunction(i);var a=n(209),s=console;(0,a.E)(s);var o=n(2791),l=o.createContext(void 0),u=o.createContext(!1);function c(e){return e&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=l),window.ReactQueryClientContext):l}var d=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,i=e.children;o.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=c(r);return o.createElement(u.Provider,{value:r},o.createElement(a.Provider,{value:t},i))},h=n(7462),f=n(4578),p=n(1985),m=n(5590),g=n(8846),v=n(6350),y=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,f.Z)(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),_(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return b(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return b(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var i=this.hasListeners();i&&x(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!i||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var a=this.computeRefetchInterval();!i||this.currentQuery===r&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},i=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return i(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&i("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var i=t.subscribe((function(t){t.isFetching||(i(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch((0,h.Z)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(p.ZT)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!p.sk&&!this.currentResult.isStale&&(0,p.PN)(this.options.staleTime)){var t=(0,p.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!p.sk&&!1!==this.options.enabled&&(0,p.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackgroun
2d||m.j.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,i=this.options,s=this.currentResult,o=this.currentResultState,l=this.currentResultOptions,u=e!==r,c=u?e.state:this.currentQueryInitialState,d=u?this.currentResult:this.previousQueryResult,h=e.state,f=h.dataUpdatedAt,m=h.error,g=h.errorUpdatedAt,v=h.isFetching,y=h.status,b=!1,w=!1;if(t.optimisticResults){var S=this.hasListeners(),E=!S&&_(e,t),k=S&&x(e,r,t,i);(E||k)&&(v=!0,f||(y="loading"))}if(t.keepPreviousData&&!h.dataUpdateCount&&(null==d?void 0:d.isSuccess)&&"error"!==y)n=d.data,f=d.dataUpdatedAt,y=d.status,b=!0;else if(t.select&&"undefined"!==typeof h.data)if(s&&h.data===(null==o?void 0:o.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(h.data),!1!==t.structuralSharing&&(n=(0,p.Q$)(null==s?void 0:s.data,n)),this.selectResult=n,this.selectError=null}catch(P){(0,a.j)().error(P),this.selectError=P}else n=h.data;if("undefined"!==typeof t.placeholderData&&"undefined"===typeof n&&("loading"===y||"idle"===y)){var C;if((null==s?void 0:s.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))C=s.data;else if(C="function"===typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&"undefined"!==typeof C)try{C=t.select(C),!1!==t.structuralSharing&&(C=(0,p.Q$)(null==s?void 0:s.data,C)),this.selectError=null}catch(P){(0,a.j)().error(P),this.selectError=P}"undefined"!==typeof C&&(y="success",n=C,w=!0)}return this.selectError&&(m=this.selectError,n=this.selectResult,g=Date.now(),y="error"),{status:y,isLoading:"loading"===y,isSuccess:"success"===y,isError:"error"===y,isIdle:"idle"===y,data:n,dataUpdatedAt:f,error:m,errorUpdatedAt:g,failureCount:h.fetchFailureCount,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>c.dataUpdateCount||h.errorUpdateCount>c.errorUpdateCount,isFetching:v,isRefetching:v&&"loading"!==y,isLoadingError:"error"===y&&0===h.dataUpdatedAt,isPlaceholderData:w,isPreviousData:b,isRefetchError:"error"===y&&0!==h.dataUpdatedAt,isStale:T(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,i=n.notifyOnChangePropsExclusions;if(!r&&!i)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var a="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,s=e[r]!==t[r],o=null==a?void 0:a.some((function(e){return e===n})),l=null==i?void 0:i.some((function(e){return e===n}));return s&&!l&&(!a||o)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,p.VS)(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,h.Z)({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,v.DV)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;r.V.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEac
2h((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(g.l);function _(e,t){return function(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&b(e,t,t.refetchOnMount)}function b(e,t,n){if(!1!==t.enabled){var r="function"===typeof n?n(e):n;return"always"===r||!1!==r&&T(e,t)}return!1}function x(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&T(e,n)}function T(e,t){return e.isStaleByTime(t.staleTime)}function w(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var S=o.createContext(w());function E(e,t){var n=o.useRef(!1),i=o.useState(0)[1],a=function(){var e=o.useContext(c(o.useContext(u)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e}(),s=o.useContext(S),l=a.defaultQueryObserverOptions(e);l.optimisticResults=!0,l.onError&&(l.onError=r.V.batchCalls(l.onError)),l.onSuccess&&(l.onSuccess=r.V.batchCalls(l.onSuccess)),l.onSettled&&(l.onSettled=r.V.batchCalls(l.onSettled)),l.suspense&&("number"!==typeof l.staleTime&&(l.staleTime=1e3),0===l.cacheTime&&(l.cacheTime=1)),(l.suspense||l.useErrorBoundary)&&(s.isReset()||(l.retryOnMount=!1));var d,h,f,p=o.useState((function(){return new t(a,l)}))[0],m=p.getOptimisticResult(l);if(o.useEffect((function(){n.current=!0,s.clearReset();var e=p.subscribe(r.V.batchCalls((function(){n.current&&i((function(e){return e+1}))})));return p.updateResult(),function(){n.current=!1,e()}}),[s,p]),o.useEffect((function(){p.setOptions(l,{listeners:!1})}),[l,p]),l.suspense&&m.isLoading)throw p.fetchOptimistic(l).then((function(e){var t=e.data;null==l.onSuccess||l.onSuccess(t),null==l.onSettled||l.onSettled(t,null)})).catch((function(e){s.clearReset(),null==l.onError||l.onError(e),null==l.onSettled||l.onSettled(void 0,e)}));if(m.isError&&!s.isReset()&&!m.isFetching&&(d=l.suspense,h=l.useErrorBoundary,f=[m.error,p.getCurrentQuery()],"function"===typeof h?h.apply(void 0,f):"boolean"===typeof h?h:d))throw m.error;return"tracked"===l.notifyOnChangeProps&&(m=p.trackResult(m,l)),m}function k(e,t,n){return E((0,p._v)(e,t,n),y)}},9475:function(e,t,n){"use strict";var r,i=n(2791),a=(r=i)&&"object"===typeof r&&"default"in r?r.default:r;function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!==typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,u=[];function c(){l=e(u.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return l},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,u=[],e};var s=i.prototype;return s.UNSAFE_componentWillMount=function(){u.push(this),c()},s.componentDidUpdate=function(){c()},s.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),c()},s.render=function(){return a.createElement(r,this.props)},i}(i.PureComponent);return s(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),s(d,"canUseDOM",o),d}}},6374:function(e,t,n){"use strict";var r=n(2791),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,a={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:a,_owner:o.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},9117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function y(){}function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var b=_.prototype=new y;b.constructor=_,m(b,v.prototype),b.isPureReactComponent=!0;var x=Array.isArray,T=Object.prototype.hasOwnProperty,w={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var i,a={},s=null,o=null;if(null!=t)for(i in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(s=""+t.key),t)T.call(t,i)&&!S.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:n,type:e,key:s,ref:o,props:a,_owner:w.current}}function k(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function P(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,i,a,s){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return s=s(l=e),e=""===a?"."+P(l,0):a,x(s)?(i="",null!=e&&(i=e.replace(C,"$&/")+"/"),A(s,t,i,"",(function(e){return e}))):null!=s&&(k(s)&&(s=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,i+(!s.key||l&&l.key===s.key?"":(""+s.key).replace(C,"$&/")+"/")+e)),t.push(s)),1;if(l=0,a=""===a?".":a+":",x(e))for(var u=0;u<e.length;u++){var c=a+P(o=e[u],u);l+=A(o,t,i,c,s)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(o=e.next()).done;)l+=A(o=o.value,t,i,c=a+P(o,u++),s);else if("object"===o)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function I(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},M={transition:null},N={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:M,ReactCurrentOwner:w};
vendor: 7,468 bytes, line 2
2t.Children={map:I,forEach:function(e,t,n){I(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return I(e,(function(){t++})),t},toArray:function(e){return I(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=s,t.PureComponent=_,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),a=e.key,s=e.ref,o=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,o=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)T.call(t,u)&&!S.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:e.type,key:a,ref:s,props:i,_owner:o}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return D.current.useTransition()},t.version="18.2.0"},2791:function(e,t,n){"use strict";e.exports=n(9117)},184:function(e,t,n){"use strict";e.exports=n(6374)},4947:function(e){e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(i){r=i}return[r,n]}},6813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,s=i>>>1;r<s;){var o=2*(r+1)-1,l=e[o],u=o+1,c=e[u];if(0>a(l,n))u<i&&0>a(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[o]=n,r=o);else{if(!(u<i&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();t.unstable_now=function(){return o.now()-l}}var u=[],c=[],d=1,h=null,f=3,p=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,_="undefined"!==typeof setImmediate?setImmediate:null;function b(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function x(e){if(g=!1,b(e),!m)if(null!==r(u))m=!0,M(T);else{var t=r(c);null!==t&&N(x,t.startTime-e)}}function T(e,n){m=!1,g&&(g=!1,y(k),k=-1),p=!0;var a=f;try{for(b(n),h=r(u);null!==h&&(!(h.expirationTime>n)||e&&!A());){var s=h.callback;if("function"===typeof s){h.callback=null,f=h.priorityLevel;var o=s(h.expirationTime<=n);n=t.unstable_now(),"function"===typeof o?h.callback=o:h===r(u)&&i(u),b(n)}else i(u);h=r(u)}if(null!==h)var l=!0;else{var d=r(c);null!==d&&N(x,d.startTime-n),l=!1}return l}finally{h=null,f=a,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,S=!1,E=null,k=-1,C=5,P=-1;function A(){return!(t.unstable_now()-P<C)}function I(){if(null!==E){var e=t.unstable_now();P=e;var n=!0;try{n=E(!0,e)}finally{n?w():(S=!1,E=null)}}else S=!1}if("function"===typeof _)w=function(){_(I)};else if("undefined"!==typeof MessageChannel){var O=new MessageChannel,D=O.port2;O.port1.onmessage=I,w=function(){D.postMessage(null)}}else w=function(){v(I,0)};function M(e){E=e,S||(S=!0,w())}function N(e,n){k=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,M(T))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,i,a){var s=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:a,expirationTime:o=a+o,sortIndex:-1},a>s?(e.sortIndex=a,n(c,e),null===r(u)&&e===r(c)&&(g?(y(k),k=-1):g=!0,N(x,a-s))):(e.sortIndex=o,n(u,e),m||p||(m=!0,M(T))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},4556:function(e){!function(t){var n=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,r=/^(?=([^\/?#]*))\1([^]*)$/,i=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,s={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var i=s.parseURL(e);if(!i)throw new Error("Error trying to parse base URL.");return i.path=s.normalizePath(i.path),s.buildURLFromParts(i)}var a=s.parseURL(t);if(!a)throw new Error("Error trying to parse relative URL.");
2if(a.scheme)return n.alwaysNormalize?(a.path=s.normalizePath(a.path),s.buildURLFromParts(a)):t;var o=s.parseURL(e);if(!o)throw new Error("Error trying to parse base URL.");if(!o.netLoc&&o.path&&"/"!==o.path[0]){var l=r.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 c=o.path,d=c.substring(0,c.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=n.alwaysNormalize?s.normalizePath(a.path):a.path),s.buildURLFromParts(u)},parseURL:function(e){var t=n.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(i,"");e.length!==(e=e.replace(a,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}};e.exports=s}()},1561:function(e,t,n){"use strict";var r=n(2791);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=r.useState,s=r.useEffect,o=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return o((function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})}),[e,n,t]),s((function(){return u(i)&&c({inst:i}),e((function(){u(i)&&c({inst:i})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},7595:function(e,t,n){"use strict";var r=n(2791),i=n(7248);var a="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},s=i.useSyncExternalStore,o=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=o(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;d=u((function(){function e(e){if(!l){if(l=!0,s=e,e=r(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return o=t}return o=e}if(t=o,a(s,e))return t;var n=r(e);return void 0!==i&&i(t,n)?t:(s=e,o=n)}var s,o,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,i]);var f=s(e,d[0],d[1]);return l((function(){h.hasValue=!0,h.value=f}),[f]),c(f),f}},7248:function(e,t,n){"use strict";e.exports=n(1561)},327:function(e,t,n){"use strict";e.exports=n(7595)},1336:function(e){e.exports=function(){"use strict";function e(){return e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.apply(this,arguments)}var t="undefined"!=typeof window,n=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),r=t&&"IntersectionObserver"in window,i=t&&"classList"in document.createElement("p"),a=t&&window.devicePixelRatio>1,s={elements_selector:".lazy",container:n||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},o=function(t){return e({},s,t)},l=function(e,t){var n,r="LazyLoad::Initialized",i=new e(t);try{n=new CustomEvent(r,{detail:{instance:i}})}catch(e){(n=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,{instance:i})}window.dispatchEvent(n)},u="src",c="srcset",d="sizes",h="poster",f="llOriginalAttrs",p="data",m="loading",g="loaded",v="applied",y="error",_="native",b="data-",x="ll-status",T=function(e,t){return e.getAttribute(b+t)},w=function(e){return T(e,x)},S=function(e,t){return function(e,t,n){var r="data-ll-status";null!==n?e.setAttribute(r,n):e.removeAttribute(r)}(e,0,t)},E=function(e){return S(e,null)},k=function(e){return null===w(e)},C=function(e){return w(e)===_},P=[m,g,v,y],A=function(e,t,n,r){e&&(void 0===r?void 0===n?e(t):e(t,n):e(t,n,r))},I=function(e,t){i?e.classList.add(t):e.className+=(e.className?" ":"")+t},O=function(e,t){i?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},D=function(e){return e.llTempImage},M=function(e,t){if(t){var n=t._observer;n&&n.unobserve(e)}},N=function(e,t){e&&(e.loadingCount+=t)},R=function(e,t){e&&(e.toLoadCount=t)},L=function(e){for(var t,n=[],r=0;t=e.children[r];r+=1)"SOURCE"===t.tagName&&n.push(t);return n},j=function(e,t){var n=e.parentNode;
vendor: 4,925 bytes, line 2
2n&&"PICTURE"===n.tagName&&L(n).forEach(t)},F=function(e,t){L(e).forEach(t)},B=[u],U=[u,h],V=[u,c,d],z=[p],G=function(e){return!!e[f]},H=function(e){return e[f]},W=function(e){return delete e[f]},q=function(e,t){if(!G(e)){var n={};t.forEach((function(t){n[t]=e.getAttribute(t)})),e[f]=n}},Y=function(e,t){if(G(e)){var n=H(e);t.forEach((function(t){!function(e,t,n){n?e.setAttribute(t,n):e.removeAttribute(t)}(e,t,n[t])}))}},X=function(e,t,n){I(e,t.class_applied),S(e,v),n&&(t.unobserve_completed&&M(e,t),A(t.callback_applied,e,n))},Z=function(e,t,n){I(e,t.class_loading),S(e,m),n&&(N(n,1),A(t.callback_loading,e,n))},K=function(e,t,n){n&&e.setAttribute(t,n)},Q=function(e,t){K(e,d,T(e,t.data_sizes)),K(e,c,T(e,t.data_srcset)),K(e,u,T(e,t.data_src))},$={IMG:function(e,t){j(e,(function(e){q(e,V),Q(e,t)})),q(e,V),Q(e,t)},IFRAME:function(e,t){q(e,B),K(e,u,T(e,t.data_src))},VIDEO:function(e,t){F(e,(function(e){q(e,B),K(e,u,T(e,t.data_src))})),q(e,U),K(e,h,T(e,t.data_poster)),K(e,u,T(e,t.data_src)),e.load()},OBJECT:function(e,t){q(e,z),K(e,p,T(e,t.data_src))}},J=["IMG","IFRAME","VIDEO","OBJECT"],ee=function(e,t){!t||function(e){return e.loadingCount>0}(t)||function(e){return e.toLoadCount>0}(t)||A(e.callback_finish,t)},te=function(e,t,n){e.addEventListener(t,n),e.llEvLisnrs[t]=n},ne=function(e,t,n){e.removeEventListener(t,n)},re=function(e){return!!e.llEvLisnrs},ie=function(e){if(re(e)){var t=e.llEvLisnrs;for(var n in t){var r=t[n];ne(e,n,r)}delete e.llEvLisnrs}},ae=function(e,t,n){!function(e){delete e.llTempImage}(e),N(n,-1),function(e){e&&(e.toLoadCount-=1)}(n),O(e,t.class_loading),t.unobserve_completed&&M(e,n)},se=function(e,t,n){var r=D(e)||e;re(r)||function(e,t,n){re(e)||(e.llEvLisnrs={});var r="VIDEO"===e.tagName?"loadeddata":"load";te(e,r,t),te(e,"error",n)}(r,(function(i){!function(e,t,n,r){var i=C(t);ae(t,n,r),I(t,n.class_loaded),S(t,g),A(n.callback_loaded,t,r),i||ee(n,r)}(0,e,t,n),ie(r)}),(function(i){!function(e,t,n,r){var i=C(t);ae(t,n,r),I(t,n.class_error),S(t,y),A(n.callback_error,t,r),n.restore_on_error&&Y(t,V),i||ee(n,r)}(0,e,t,n),ie(r)}))},oe=function(e,t,n){!function(e){return J.indexOf(e.tagName)>-1}(e)?function(e,t,n){!function(e){e.llTempImage=document.createElement("IMG")}(e),se(e,t,n),function(e){G(e)||(e[f]={backgroundImage:e.style.backgroundImage})}(e),function(e,t,n){var r=T(e,t.data_bg),i=T(e,t.data_bg_hidpi),s=a&&i?i:r;s&&(e.style.backgroundImage='url("'.concat(s,'")'),D(e).setAttribute(u,s),Z(e,t,n))}(e,t,n),function(e,t,n){var r=T(e,t.data_bg_multi),i=T(e,t.data_bg_multi_hidpi),s=a&&i?i:r;s&&(e.style.backgroundImage=s,X(e,t,n))}(e,t,n),function(e,t,n){var r=T(e,t.data_bg_set);if(r){var i=r.split("|"),a=i.map((function(e){return"image-set(".concat(e,")")}));e.style.backgroundImage=a.join(),""===e.style.backgroundImage&&(a=i.map((function(e){return"-webkit-image-set(".concat(e,")")})),e.style.backgroundImage=a.join()),X(e,t,n)}}(e,t,n)}(e,t,n):function(e,t,n){se(e,t,n),function(e,t,n){var r=$[e.tagName];r&&(r(e,t),Z(e,t,n))}(e,t,n)}(e,t,n)},le=function(e){e.removeAttribute(u),e.removeAttribute(c),e.removeAttribute(d)},ue=function(e){j(e,(function(e){Y(e,V)})),Y(e,V)},ce={IMG:ue,IFRAME:function(e){Y(e,B)},VIDEO:function(e){F(e,(function(e){Y(e,B)})),Y(e,U),e.load()},OBJECT:function(e){Y(e,z)}},de=function(e,t){(function(e){var t=ce[e.tagName];t?t(e):function(e){if(G(e)){var t=H(e);e.style.backgroundImage=t.backgroundImage}}(e)})(e),function(e,t){k(e)||C(e)||(O(e,t.class_entered),O(e,t.class_exited),O(e,t.class_applied),O(e,t.class_loading),O(e,t.class_loaded),O(e,t.class_error))}(e,t),E(e),W(e)},he=["IMG","IFRAME","VIDEO"],fe=function(e){return e.use_native&&"loading"in HTMLImageElement.prototype},pe=function(e,t,n){e.forEach((function(e){return function(e){return e.isIntersecting||e.intersectionRatio>0}(e)?function(e,t,n,r){var i=function(e){return P.indexOf(w(e))>=0}(e);S(e,"entered"),I(e,n.class_entered),O(e,n.class_exited),function(e,t,n){t.unobserve_entered&&M(e,n)}(e,n,r),A(n.callback_enter,e,t,r),i||oe(e,n,r)}(e.target,e,t,n):function(e,t,n,r){k(e)||(I(e,n.class_exited),function(e,t,n,r){n.cancel_on_exit&&function(e){return w(e)===m}(e)&&"IMG"===e.tagName&&(ie(e),function(e){j(e,(function(e){le(e)})),le(e)}(e),ue(e),O(e,n.class_loading),N(r,-1),E(e),A(n.callback_cancel,e,t,r))}(e,t,n,r),A(n.callback_exit,e,t,r))}(e.target,e,t,n)}))},me=function(e){return Array.prototype.slice.call(e)},ge=function(e){return e.container.querySelectorAll(e.elements_selector)},ve=function(e){return function(e){return w(e)===y}(e)},ye=function(e,t){return function(e){return me(e).filter(k)}(e||ge(t))},_e=function(e,n){var i=o(e);this._settings=i,this.loadingCount=0,function(e,t){r&&!fe(e)&&(t._observer=new IntersectionObserver((function(n){pe(n,e,t)}),function(e){return{root:e.container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}}(e)))}(i,this),function(e,n){t&&(n._onlineHandler=function(){!function(e,t){var n;
2(n=ge(e),me(n).filter(ve)).forEach((function(t){O(t,e.class_error),E(t)})),t.update()}(e,n)},window.addEventListener("online",n._onlineHandler))}(i,this),this.update(n)};return _e.prototype={update:function(e){var t,i,a=this._settings,s=ye(e,a);R(this,s.length),!n&&r?fe(a)?function(e,t,n){e.forEach((function(e){-1!==he.indexOf(e.tagName)&&function(e,t,n){e.setAttribute("loading","lazy"),se(e,t,n),function(e,t){var n=$[e.tagName];n&&n(e,t)}(e,t),S(e,_)}(e,t,n)})),R(n,0)}(s,a,this):(i=s,function(e){e.disconnect()}(t=this._observer),function(e,t){t.forEach((function(t){e.observe(t)}))}(t,i)):this.loadAll(s)},destroy:function(){this._observer&&this._observer.disconnect(),t&&window.removeEventListener("online",this._onlineHandler),ge(this._settings).forEach((function(e){W(e)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){var t=this,n=this._settings;ye(e,n).forEach((function(e){M(e,t),oe(e,n,t)}))},restoreAll:function(){var e=this._settings;ge(e).forEach((function(t){de(t,e)}))}},_e.load=function(e,t){var n=o(t);oe(e,n)},_e.resetStatus=function(e){E(e)},t&&function(e,t){if(t)if(t.length)for(var n,r=0;n=t[r];r+=1)l(e,n);else l(e,t)}(_e,window.lazyLoadOptions),_e}()},2755:function(e,t,n){var r=n(9851),i=e.exports={WebVTT:n(6772),VTTCue:n(7688),VTTRegion:n(5024)};r.vttjs=i,r.WebVTT=i.WebVTT;var a=i.VTTCue,s=i.VTTRegion,o=r.VTTCue,l=r.VTTRegion;i.shim=function(){r.VTTCue=a,r.VTTRegion=s},i.restore=function(){r.VTTCue=o,r.VTTRegion=l},r.VTTCue||i.shim()},6772:function(e,t,n){var r=n(7203),i=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function a(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function s(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function o(){this.values=i(null)}function l(e,t,n,r){var i=r?e.split(r):[e];for(var a in i)if("string"===typeof i[a]){var s=i[a].split(n);if(2===s.length)t(s[0].trim(),s[1].trim())}}function u(e,t,n){var r=e;function i(){var t=s(e);if(null===t)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function u(){e=e.replace(/^\s+/,"")}if(u(),t.startTime=i(),u(),"--\x3e"!==e.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),u(),t.endTime=i(),u(),function(e,t){var r=new o;l(e,(function(e,t){switch(e){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var a=t.split(","),s=a[0];r.integer(e,s),r.percent(e,s)&&r.set("snapToLines",!1),r.alt(e,s,["auto"]),2===a.length&&r.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=t.split(","),r.percent(e,a[0]),2===a.length&&r.alt("positionAlign",a[1],["start","center","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");try{t.line=r.get("line","auto")}catch(i){}t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(i){t.align=r.get("align","middle")}try{t.position=r.get("position","auto")}catch(i){t.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var c=r.createElement&&r.createElement("textarea"),d={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},h={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},f={v:"title",lang:"lang"},p={rt:"ruby"};function m(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>
2]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e,t){return!p[t.localName]||p[t.localName]===e.localName}function i(t,n){var r=d[t];if(!r)return null;var i=e.document.createElement(r),a=f[t];return a&&n&&(i[a]=n.trim()),i}for(var a,o,l=e.document.createElement("div"),u=l,m=[];null!==(a=n());)if("<"!==a[0])u.appendChild(e.document.createTextNode((o=a,c.innerHTML=o,o=c.textContent,c.textContent="",o)));else{if("/"===a[1]){m.length&&m[m.length-1]===a.substr(2).replace(">","")&&(m.pop(),u=u.parentNode);continue}var g,v=s(a.substr(1,a.length-2));if(v){g=e.document.createProcessingInstruction("timestamp",v),u.appendChild(g);continue}var y=a.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(g=i(y[1],y[3])))continue;if(!r(u,g))continue;if(y[2]){var _=y[2].split(".");_.forEach((function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(h.hasOwnProperty(n)){var r=t?"background-color":"color",i=h[n];g.style[r]=i}})),g.className=_.join(" ")}m.push(y[1]),u.appendChild(g),u=g}return l}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function v(e){for(var t=0;t<g.length;t++){var n=g[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function y(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function i(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var a=n.match(/^.*(\n|\r)/);return a?(e.length=0,a[0]):n}return"ruby"===t.tagName?i(e):t.childNodes?(r(e,t),i(e)):void 0}for(r(t,e);n=i(t);)for(var a=0;a<n.length;a++)if(v(n.charCodeAt(a)))return"rtl";return"ltr"}function _(){}function b(e,t,n){_.call(this),this.cue=t,this.cueDiv=m(e,t.text);var r={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(r,this.cueDiv),this.div=e.document.createElement("div"),r={direction:y(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(r),this.div.appendChild(this.cueDiv);var i=0;switch(t.positionAlign){case"start":i=t.position;break;case"center":i=t.position-t.size/2;break;case"end":i=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(i,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(i,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")}
vendor: 10,693 bytes, line 2
2)}}function x(e){var t,n,r,i;if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,i=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||i,this.height=e.height||n,this.bottom=e.bottom||i+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight}function T(e,t,n,r){var i=new x(t),a=t.cue,s=function(e){if("number"===typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,i=0;i<n.length&&n[i]!==t;i++)"showing"===n[i].mode&&r++;return-1*++r}(a),o=[];if(a.snapToLines){var l;switch(a.vertical){case"":o=["+y","-y"],l="height";break;case"rl":o=["+x","-x"],l="width";break;case"lr":o=["-x","+x"],l="width"}var u=i.lineHeight,c=u*Math.round(s),d=n[l]+u,h=o[0];Math.abs(c)>d&&(c=c<0?-1:1,c*=Math.ceil(d/u)*u),s<0&&(c+=""===a.vertical?n.height:n.width,o=o.reverse()),i.move(h,c)}else{var f=i.lineHeight/n.height*100;switch(a.lineAlign){case"center":s-=f/2;break;case"end":s-=f}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(s,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(s,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(s,"%")})}o=["+y","-x","+x","-y"],i=new x(t)}var p=function(e,t){for(var i,a=new x(e),s=1,o=0;o<t.length;o++){for(;e.overlapsOppositeAxis(n,t[o])||e.within(n)&&e.overlapsAny(r);)e.move(t[o]);if(e.within(n))return e;var l=e.intersectPercentage(n);s>l&&(i=new x(e),s=l),e=new x(a)}return i||a}(i,o);t.move(p.toCSSCompatValues(n))}function w(){}_.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},_.prototype.formatStyle=function(e,t){return 0===e?0:e+t},b.prototype=i(_.prototype),b.prototype.constructor=b,x.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},x.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},x.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},x.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},x.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},x.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},x.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},x.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},w.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!==typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},w.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null};w.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var i=[],a=x.getSimpleBoxPosition(r),s={font:Math.round(.05*a.height*100)/100+"px sans-serif"};!function(){for(var n,o,l=0;l<t.length;l++)o=t[l],n=new b(e,o,s),r.appendChild(n.div),T(0,n,a,i),o.displayState=n.div,i.push(x.getSimpleBoxPosition(n))}()}else for(var o=0;o<t.length;o++)r.appendChild(t[o].displayState)},w.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},w.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof a))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}function r(e){e.match(/X-TIMESTAMP-MAP/)?l(e,(function(e,n){if("X-TIMESTAMP-MAP"===e)!function(e){var n=new o;l(e,(function(e,t){switch(e){case"MPEGT":n.integer(e+"S",t);break;case"LOCA":n.set(e+"L",s(t))}}),/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}(n)}),/=/):l(e,(function(e,n){if("Region"===e)!function(e){var n=new o;if(l(e,(function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var i=new o;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(e+"X",i.get("x")),n.set(e+"Y",i.get("y"));break;case"scroll":n.alt(e,t,["up"])}}),/=/,/\s/),n.has("id")){var r=new(t.vttjs.VTTRegion||t.window.VTTRegion);r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:n.get("id"),region:r})}}(n)}),/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var i;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var c=(i=n()).match(/^WEBVTT([ \t].*)?$/);if(!c||!c[0])throw new a(a.Errors.BadSignature);t.state="HEADER"}for(var d=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(d?d=!1:i=n(),t.state){case"HEADER":/:/.test(i)?r(i):i||(t.state="ID");continue;case"NOTE":i||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){t.state="NOTE";break}if(!i)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(f){t.cue.align="middle"}if(t.state="CUE",-1===i.indexOf("--\x3e")){t.cue.id=i;continue}case"CUE":try{u(i,t.cue,t.regionList)}catch(f){t.reportOrThrowError(f),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var h=-1!==i.indexOf("--\x3e");if(!i||h&&(d=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=i.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":i||(t.state="ID");continue}}}catch(f){t.reportOrThrowError(f),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new a(a.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},e.exports=w},7688:function(e){var t={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(e){return"string"===typeof e&&(!!n[e.toLowerCase()]&&e.toLowerCase())}function i(e,n,i){this.hasBeenReset=!1;var a="",s=!1,o=e,l=n,u=i,c=null,d="",h=!0,f="auto",p="start",m="auto",g="auto",v=100,y="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a},set:function(e){a=""+e}},pauseOnExit:{enumerable:!0,get:function(){return s},set:function(e){s=!!e}},startTime:{enumerable:!0,get:function(){return o},set:function(e){if("number"!==typeof e)throw new TypeError("Start time must be set to a number.");o=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return l},set:function(e){if("number"!==typeof e)throw new TypeError("End time must be set to a number.");l=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return u},set:function(e){u=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return c},set:function(e){c=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return d},set:function(e){var n=function(e){return"string"===typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===n)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");d=n,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return h},set:function(e){h=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return f},set:function(e){if("number"!==typeof e&&"auto"!==e)throw new SyntaxError("Line: an invalid number or illegal string was specified.");f=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return p},set:function(e){var t=r(e);t?(p=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return m},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");m=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(e){var t=r(e);t?(g=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return v},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");v=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return y},set:function(e){var t=r(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");y=t,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=i},5024:function(e){var t={"":!0,up:!0};function n(e){return"number"===typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,r=3,i=0,a=100,s=0,o=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!n(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return r},set:function(e){if("number"!==typeof e)throw new TypeError("Lines must be set to a number.");r=e}},regionAnchorY:{enumerable:!0,get:function(){return a}
2,set:function(e){if(!n(e))throw new Error("RegionAnchorX must be between 0 and 100.");a=e}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(e){if(!n(e))throw new Error("RegionAnchorY must be between 0 and 100.");i=e}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!n(e))throw new Error("ViewportAnchorY must be between 0 and 100.");o=e}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(e){if(!n(e))throw new Error("ViewportAnchorX must be between 0 and 100.");s=e}},scroll:{enumerable:!0,get:function(){return l},set:function(e){var n=function(e){return"string"===typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);!1===n?console.warn("Scroll: an invalid or illegal string was specified."):l=n}}})}},5893:function(){},434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},4578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.amdO={},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};__webpack_require__.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"===typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"===typeof n.then)return n}var i=Object.create(null);__webpack_require__.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return n[e]}}));return a.default=function(){return n},__webpack_require__.d(i,a),i}}(),__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.p="/";var __webpack_exports__={};!function(){"use strict";var e={};__webpack_require__.r(e),__webpack_require__.d(e,{keyboardHandler:function(){return Bu},mouseHandler:function(){return Uu},resizeHandler:function(){return Vu},selectHandler:function(){return zu},touchHandler:function(){return Gu},wheelHandler:function(){return Hu}});var t=__webpack_require__(1933),n=__webpack_require__(184),r=new t.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,refetchOnReconnect:!1,retry:!1,staleTime:3e5}}}),i=function(e){var i=e.children;return(0,n.jsx)(t.QueryClientProvider,{client:r,children:i})},a=__webpack_require__(2791),s=__webpack_require__.t(a,2),o=__webpack_require__(1250);function l(e){if(Array.isArray(e))return e}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}
2function d(){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 h(e,t){return l(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,s,o=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(c){u=!0,i=c}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw i}}return o}}(e,t)||c(e,t)||d()}function f(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function p(e){return function(e){if(Array.isArray(e))return u(e)}(e)||f(e)||c(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 m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e){return g="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},g(e)}function v(e){var t=function(e,t){if("object"!==g(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===g(t)?t:String(t)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function _(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var b,x=__webpack_require__(9611);function T(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&&(0,x.Z)(e,t)}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function S(){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 E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){if(t&&("object"===g(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return E(e)}function C(e){var t=S();return function(){var n,r=w(e);if(t){var i=w(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return k(this,n)}}function P(e,t,n){return P=S()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&(0,x.Z)(i,n.prototype),i},P.apply(null,arguments)}function A(e){var t="function"===typeof Map?new Map:void 0;return A=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return P(e,arguments,w(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,x.Z)(r,e)},A(e)}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(b||(b={}));var O,D="popstate";function M(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function N(e,t){return{usr:e.state,key:e.key,idx:t}}function R(e,t,n,r){return void 0===n&&(n=null),I({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?j(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function L(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,a=e.hash,s=void 0===a?"":a;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),s&&"#"!==s&&(n+="#"===s.charAt(0)?s:"#"+s),n}function j(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function F(e,t,n,r){void 0===r&&(r={});var i=r,a=i.window,s=void 0===a?document.defaultView:a,o=i.v5Compat,l=void 0!==o&&o,u=s.history,c=b.Pop,d=null,h=f();function f(){return(u.state||{idx:null}).idx}function p(){c=b.Pop;var e=f(),t=null==e?null:e-h;h=e,d&&d({action:c,location:g.location,delta:t})}function m(e){var t="null"!==s.location.origin?s.location.origin:s.location.href,n="string"===typeof e?e:L(e);return M(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==h&&(h=0,u.replaceState(I({},u.state,{idx:h}),""));var g={get action(){return c},get location(){return e(s,u)},listen:function(e){if(d)throw new Error("A history only accepts one active listener");
2return s.addEventListener(D,p),d=e,function(){s.removeEventListener(D,p),d=null}},createHref:function(e){return t(s,e)},createURL:m,encodeLocation:function(e){var t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=b.Push;var r=R(g.location,e,t);n&&n(r,e);var i=N(r,h=f()+1),a=g.createHref(r);try{u.pushState(i,"",a)}catch(o){s.location.assign(a)}l&&d&&d({action:c,location:g.location,delta:1})},replace:function(e,t){c=b.Replace;var r=R(g.location,e,t);n&&n(r,e);var i=N(r,h=f()),a=g.createHref(r);u.replaceState(i,"",a),l&&d&&d({action:c,location:g.location,delta:0})},go:function(e){return u.go(e)}};return g}function B(e,t,n){void 0===n&&(n="/");var r=X(("string"===typeof t?j(t):t).pathname||"/",n);if(null==r)return null;var i=U(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var a=null,s=0;null==a&&s<i.length;++s)a=W(i[s],Y(r));return a}function U(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var i=function(e,i,a){var s={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};s.relativePath.startsWith("/")&&(M(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(r.length));var o=J([r,s.relativePath]),l=n.concat(s);e.children&&e.children.length>0&&(M(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+o+'".'),U(e.children,t,l,o)),(null!=e.path||e.index)&&t.push({path:o,score:H(o,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,a=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f: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.")}var a,s=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(o)throw a}}}}(V(e.path));try{for(a.s();!(r=a.n()).done;){var s=r.value;i(e,t,s)}}catch(o){a.e(o)}finally{a.f()}}else i(e,t)})),t}function V(e){var t=e.split("/");if(0===t.length)return[];var n,r=l(n=t)||f(n)||c(n)||d(),i=r[0],a=r.slice(1),s=i.endsWith("?"),o=i.replace(/\?$/,"");if(0===a.length)return s?[o,""]:[o];var u=V(a.join("/")),h=[];return h.push.apply(h,p(u.map((function(e){return""===e?o:[o,e].join("/")})))),s&&h.push.apply(h,p(u)),h.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(O||(O={}));var z=/^:\w+$/,G=function(e){return"*"===e};function H(e,t){var n=e.split("/"),r=n.length;return n.some(G)&&(r+=-2),t&&(r+=2),n.filter((function(e){return!G(e)})).reduce((function(e,t){return e+(z.test(t)?3:""===t?1:10)}),r)}function W(e,t){for(var n=e.routesMeta,r={},i="/",a=[],s=0;s<n.length;++s){var o=n[s],l=s===n.length-1,u="/"===i?t:t.slice(i.length)||"/",c=q({path:o.relativePath,caseSensitive:o.caseSensitive,end:l},u);if(!c)return null;
2Object.assign(r,c.params);var d=o.route;a.push({params:r,pathname:J([i,c.pathname]),pathnameBase:ee(J([i,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(i=J([i,c.pathnameBase]))}return a}function q(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);Z("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");var a=new RegExp(i,t?void 0:"i");return[a,r]}(e.path,e.caseSensitive,e.end),r=h(n,2),i=r[0],a=r[1],s=t.match(i);if(!s)return null;var o=s[0],l=o.replace(/(.)\/+$/,"$1"),u=s.slice(1);return{params:a.reduce((function(e,t,n){if("*"===t){var r=u[n]||"";l=o.slice(0,o.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return Z(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(u[n]||"",t),e}),{}),pathname:o,pathnameBase:l,pattern:e}}function Y(e){try{return decodeURI(e)}catch(t){return Z(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function X(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function Z(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function K(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function Q(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function $(e,t,n,r){var i;void 0===r&&(r=!1),"string"===typeof e?i=j(e):(M(!(i=I({},e)).pathname||!i.pathname.includes("?"),K("?","pathname","search",i)),M(!i.pathname||!i.pathname.includes("#"),K("#","pathname","hash",i)),M(!i.search||!i.search.includes("#"),K("#","search","hash",i)));var a,s=""===e||""===i.pathname,o=s?"/":i.pathname;if(r||null==o)a=n;else{var l=t.length-1;if(o.startsWith("..")){for(var u=o.split("/");".."===u[0];)u.shift(),l-=1;i.pathname=u.join("/")}a=l>=0?t[l]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?j(e):e,r=n.pathname,i=n.search,a=void 0===i?"":i,s=n.hash,o=void 0===s?"":s,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:te(a),hash:ne(o)}}(i,a),d=o&&"/"!==o&&o.endsWith("/"),h=(s||"."===o)&&n.endsWith("/");return c.pathname.endsWith("/")||!d&&!h||(c.pathname+="/"),c}var J=function(e){return e.join("/").replace(/\/\/+/g,"/")},ee=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},te=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},ne=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},re=function(e){T(n,e);var t=C(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n)}(A(Error));function ie(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var ae=["post","put","patch","delete"],se=(new Set(ae),["get"].concat(ae));new Set(se),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;Symbol("deferred");function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe.apply(this,arguments)}var le="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},ue=a.useState,ce=a.useEffect,de=a.useLayoutEffect,he=a.useDebugValue;function fe(e){var t=e.getSnapshot,n=e.value;try{var r=t();
2return!le(n,r)}catch(i){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,s.useSyncExternalStore;var pe=a.createContext(null);var me=a.createContext(null);var ge=a.createContext(null);var ve=a.createContext(null);var ye=a.createContext(null);var _e=a.createContext({outlet:null,matches:[]});var be=a.createContext(null);function xe(){return null!=a.useContext(ye)}function Te(){return xe()||M(!1),a.useContext(ye).location}function we(){xe()||M(!1);var e=a.useContext(ve),t=e.basename,n=e.navigator,r=a.useContext(_e).matches,i=Te().pathname,s=JSON.stringify(Q(r).map((function(e){return e.pathnameBase}))),o=a.useRef(!1);return a.useEffect((function(){o.current=!0})),a.useCallback((function(e,r){if(void 0===r&&(r={}),o.current)if("number"!==typeof e){var a=$(e,JSON.parse(s),i,"path"===r.relative);"/"!==t&&(a.pathname="/"===a.pathname?t:J([t,a.pathname])),(r.replace?n.replace:n.push)(a,r.state,r)}else n.go(e)}),[t,n,s,i])}function Se(){var e=a.useContext(_e).matches,t=e[e.length-1];return t?t.params:{}}function Ee(e,t){var n=(void 0===t?{}:t).relative,r=a.useContext(_e).matches,i=Te().pathname,s=JSON.stringify(Q(r).map((function(e){return e.pathnameBase})));return a.useMemo((function(){return $(e,JSON.parse(s),i,"path"===n)}),[e,s,i,n])}function ke(){var e=function(){var e,t=a.useContext(be),n=De(Pe.UseRouteError),r=Me(Pe.UseRouteError);if(t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=ie(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),n?a.createElement("pre",{style:i},n):null,null)}var Ce,Pe,Ae=function(e){T(n,e);var t=C(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).state={location:e.location,error:e.error},r}return _(n,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?a.createElement(_e.Provider,{value:this.props.routeContext},a.createElement(be.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}}]),n}(a.Component);function Ie(e){var t=e.routeContext,n=e.match,r=e.children,i=a.useContext(pe);return i&&i.static&&i.staticContext&&n.route.errorElement&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),a.createElement(_e.Provider,{value:t},r)}function Oe(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}var r=e,i=null==n?void 0:n.errors;if(null!=i){var s=r.findIndex((function(e){return e.route.id&&(null==i?void 0:i[e.route.id])}));s>=0||M(!1),r=r.slice(0,Math.min(r.length,s+1))}return r.reduceRight((function(e,s,o){var l=s.route.id?null==i?void 0:i[s.route.id]:null,u=n?s.route.errorElement||a.createElement(ke,null):null,c=t.concat(r.slice(0,o+1)),d=function(){return a.createElement(Ie,{match:s,routeContext:{outlet:e,matches:c}},l?u:void 0!==s.route.element?s.route.element:e)};return n&&(s.route.errorElement||0===o)?a.createElement(Ae,{location:n.location,component:u,error:l,children:d(),routeContext:{outlet:null,matches:c}}):d()}),null)}function De(e){var t=a.useContext(me);return t||M(!1),t}function Me(e){var t=function(e){var t=a.useContext(_e);return t||M(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||M(!1),n.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(Ce||(Ce={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(Pe||(Pe={}));var Ne;function Re(e){M(!1)}function Le(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,i=void 0===r?null:r,s=e.location,o=e.navigationType,l=void 0===o?b.Pop:o,u=e.navigator,c=e.static,d=void 0!==c&&c;xe()&&M(!1);var h=n.replace(/^\/*/,"/"),f=a.useMemo((function(){return{basename:h,navigator:u,static:d}}),[h,u,d]);"string"===typeof s&&(s=j(s));var p=s,m=p.pathname,g=void 0===m?"/":m,v=p.search,y=void 0===v?"":v,_=p.hash,x=void 0===_?"":_,T=p.state,w=void 0===T?null:T,S=p.key,E=void 0===S?"default":S,k=a.useMemo((function(){var e=X(g,h);return null==e?null:{pathname:e,search:y,hash:x,state:w,key:E}}),[h,g,y,x,w,E]);return null==k?null:a.createElement(ve.Provider,{value:f},a.createElement(ye.Provider,{children:i,value:{location:k,navigationType:l}}))}function je(e){var t=e.children,n=e.location,r=a.useContext(pe);return function(e,t){xe()||M(!1);var n,r=a.useContext(ve).navigator,i=a.useContext(me),s=a.useContext(_e).matches,o=s[s.length-1],l=o?o.params:{},u=(o&&o.pathname,o?o.pathnameBase:"/"),c=(o&&o.route,Te());
2if(t){var d,h="string"===typeof t?j(t):t;"/"===u||(null==(d=h.pathname)?void 0:d.startsWith(u))||M(!1),n=h}else n=c;var f=n.pathname||"/",p=B(e,{pathname:"/"===u?f:f.slice(u.length)||"/"}),m=Oe(p&&p.map((function(e){return Object.assign({},e,{params:Object.assign({},l,e.params),pathname:J([u,r.encodeLocation?r.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:J([u,r.encodeLocation?r.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),s,i||void 0);return t&&m?a.createElement(ye.Provider,{value:{location:oe({pathname:"/",search:"",hash:"",state:null,key:"default"},n),navigationType:b.Pop}},m):m}(r&&!t?r.router.routes:Be(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(Ne||(Ne={}));var Fe=new Promise((function(){}));a.Component;function Be(e,t){void 0===t&&(t=[]);var n=[];return a.Children.forEach(e,(function(e,r){if(a.isValidElement(e))if(e.type!==a.Fragment){e.type!==Re&&M(!1),e.props.index&&e.props.children&&M(!1);var i=[].concat(p(t),[r]),s={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(s.children=Be(e.props.children,i)),n.push(s)}else n.push.apply(n,Be(e.props.children,t))})),n}function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ue.apply(this,arguments)}function Ve(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var ze=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function Ge(e){var t,n=e.basename,r=e.children,i=e.window,s=a.useRef();null==s.current&&(s.current=(void 0===(t={window:i,v5Compat:!0})&&(t={}),F((function(e,t){var n=e.location;return R("",{pathname:n.pathname,search:n.search,hash:n.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:L(t)}),null,t)));var o=s.current,l=h(a.useState({action:o.action,location:o.location}),2),u=l[0],c=l[1];return a.useLayoutEffect((function(){return o.listen(c)}),[o]),a.createElement(Le,{basename:n,children:r,location:u.location,navigationType:u.action,navigator:o})}var He="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,We=a.forwardRef((function(e,t){var n=e.onClick,r=e.relative,i=e.reloadDocument,s=e.replace,o=e.state,l=e.target,u=e.to,c=e.preventScrollReset,d=Ve(e,ze),h="string"===typeof u?u:L(u),f=/^[a-z+]+:\/\//i.test(h)||h.startsWith("//"),p=h,m=!1;if(He&&f){var g=new URL(window.location.href),v=h.startsWith("//")?new URL(g.protocol+h):new URL(h);v.origin===g.origin?p=v.pathname+v.search+v.hash:m=!0}var y=function(e,t){var n=(void 0===t?{}:t).relative;xe()||M(!1);var r=a.useContext(ve),i=r.basename,s=r.navigator,o=Ee(e,{relative:n}),l=o.hash,u=o.pathname,c=o.search,d=u;return"/"!==i&&(d="/"===u?i:J([i,u])),s.createHref({pathname:d,search:c,hash:l})}(p,{relative:r}),_=function(e,t){var n=void 0===t?{}:t,r=n.target,i=n.replace,s=n.state,o=n.preventScrollReset,l=n.relative,u=we(),c=Te(),d=Ee(e,{relative:l});return a.useCallback((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();var n=void 0!==i?i:L(c)===L(d);u(e,{replace:n,state:s,preventScrollReset:o,relative:l})}}),[c,u,d,i,s,r,e,o,l])}(p,{replace:s,state:o,target:l,preventScrollReset:c,relative:r});return a.createElement("a",Ue({},d,{href:f?h:y,onClick:m||i?n:function(e){n&&n(e),e.defaultPrevented||_(e)},ref:t,target:l}))}));var qe,Ye;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(qe||(qe={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ye||(Ye={}));function Xe(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ze="App_content__4nD5C",Ke="App_dark__qooFh",Qe=__webpack_require__(1694),$e=__webpack_require__.n(Qe);function Je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function et(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var tt,nt,rt,it,at,st,ot,lt,ut,ct,dt,ht={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ft={duration:.5,overwrite:!1,delay:0},pt=1e8,mt=1e-8,gt=2*Math.PI,vt=gt/4,yt=0,_t=Math.sqrt,bt=Math.cos,xt=Math.sin,Tt=function(e){return"string"===typeof e},wt=function(e){return"function"===typeof e},St=function(e){return"number"===typeof e},Et=function(e){return"undefined"===typeof e},kt=function(e){return"object"===typeof e},Ct=function(e){return!1!==e},Pt=function(){return"undefined"!==typeof window},At=function(e){return wt(e)||Tt(e)},It="function"===typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Ot=Array.isArray,Dt=/(?:-?\.?\d|\.)+/gi,Mt=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Nt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Rt=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Lt=/[+-]=-?[.\d]+/,jt=/[^,'"\[\]\s]+/gi,Ft=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Bt={},Ut={},Vt=function(e){return(Ut=vn(e,Bt))&&vi},zt=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Gt=function(e,t){return!t&&console.warn(e)},Ht=function(e,t){return e&&(Bt[e]=t)&&Ut&&(Ut[e]=t)||Bt},Wt=function(){return 0},qt={suppressEvents:!0,isStart:!0,kill:!1},Yt={suppressEvents:!0,kill:!1},Xt={suppressEvents:!0},Zt={},Kt=[],Qt={},$t={},Jt={},en=30,tn=[],nn="",rn=function(e){var t,n,r=e[0];if(kt(r)||wt(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=tn.length;n--&&!tn[n].targetTest(r););t=tn[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Dr(e[n],t)))||e.splice(n,1);return e},an=function(e){return e._gsap||rn(Kn(e))[0]._gsap},sn=function(e,t,n){return(n=e[t])&&wt(n)?e[t]():Et(n)&&e.getAttribute&&e.getAttribute(t)||n}
vendor: 43,467 bytes, line 2
2,on=function(e,t){return(e=e.split(",")).forEach(t)||e},ln=function(e){return Math.round(1e5*e)/1e5||0},un=function(e){return Math.round(1e7*e)/1e7||0},cn=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+r:"-"===n?e-r:"*"===n?e*r:e/r},dn=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},hn=function(){var e,t,n=Kt.length,r=Kt.slice(0);for(Qt={},Kt.length=0,e=0;e<n;e++)(t=r[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},fn=function(e,t,n,r){Kt.length&&!nt&&hn(),e.render(t,n,r||nt&&t<0&&(e._initted||e._startAt)),Kt.length&&!nt&&hn()},pn=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(jt).length<2?t:Tt(e)?e.trim():e},mn=function(e){return e},gn=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},vn=function(e,t){for(var n in t)e[n]=t[n];return e},yn=function e(t,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=kt(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},_n=function(e,t){var n,r={};for(n in e)n in t||(r[n]=e[n]);return r},bn=function(e){var t,n=e.parent||it,r=e.keyframes?(t=Ot(e.keyframes),function(e,n){for(var r in n)r in e||"duration"===r&&t||"ease"===r||(e[r]=n[r])}):gn;if(Ct(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},xn=function(e,t,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var a,s=e[r];if(i)for(a=t[i];s&&s[i]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=s,t.parent=t._dp=e,t},Tn=function(e,t,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},wn=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove(e),e._act=0},Sn=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},En=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},kn=function(e,t,n,r){return e._startAt&&(nt?e._startAt.revert(Yt):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Cn=function e(t){return!t||t._ts&&e(t.parent)},Pn=function(e){return e._repeat?An(e._tTime,e=e.duration()+e._rDelay)*e:0},An=function(e,t){var n=Math.floor(e/=t);return e&&n===e?n-1:n},In=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},On=function(e){return e._end=un(e._start+(e._tDur/Math.abs(e._ts||e._rts||mt)||0))},Dn=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=un(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),On(e),n._dirty||Sn(n,e)),e},Mn=function(e,t){var n;if((t._time||t._initted&&!t._dur)&&(n=In(e.rawTime(),t),(!t._dur||Wn(0,t.totalDuration(),n)-t._tTime>mt)&&t.render(n,!0)),Sn(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},Nn=function(e,t,n,r){return t.parent&&wn(t),t._start=un((St(n)?n:n||e!==it?zn(e,n,t):e._time)+t._delay),t._end=un(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),xn(e,t,"_first","_last",e._sort?"_start":0),Fn(t)||(e._recent=t),r||Mn(e,t),e._ts<0&&Dn(e,e._tTime),e},Rn=function(e,t){return(Bt.ScrollTrigger||zt("scrollTrigger",t))&&Bt.ScrollTrigger.create(t,e)},Ln=function(e,t,n,r,i){return Ur(e,t,i),e._initted?!n&&e._pt&&!nt&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&ut!==_r.frame?(Kt.push(e),e._lazy=[i,r],1):void 0:1},jn=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},Fn=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},Bn=function(e,t,n,r){var i=e._repeat,a=un(t)||0,s=e._tTime/e._tDur;return s&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:un(a*(i+1)+e._rDelay*i):a,s>0&&!r&&Dn(e,e._tTime=e._tDur*s),e.parent&&On(e),n||Sn(e.parent,e),e},Un=function(e){return e instanceof Nr?Sn(e):Bn(e,e._dur)},Vn={_start:0,endTime:Wt,totalDuration:Wt},zn=function e(t,n,r){var i,a,s,o=t.labels,l=t._recent||Vn,u=t.duration()>=pt?l.endTime(!1):t._dur;return Tt(n)&&(isNaN(n)||n in o)?(a=n.charAt(0),s="%"===n.substr(-1),i=n.indexOf("="),"<"===a||">"===a?(i>=0&&(n=n.replace(/=/,"")),("<"===a?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(s?(i<0?l:r).totalDuration()/100:1)):i<0?(n in o||(o[n]=u),o[n]):(a=parseFloat(n.charAt(i-1)+n.substr(i+1)),s&&r&&(a=a/100*(Ot(r)?r[0]:r).totalDuration()),i>1?e(t,n.substr(0,i-1),r)+a:u+a)):null==n?u:+n},Gn=function(e,t,n){var r,i,a=St(t[1]),s=(a?2:1)+(e<2?0:1),o=t[s];if(a&&(o.duration=t[1]),o.parent=n,e){for(r=o,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=Ct(i.vars.inherit)&&i.parent;o.immediateRender=Ct(r.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new Wr(t[0],o,t[s+1])},Hn=function(e,t){return e||0===e?t(e):t},Wn=function(e,t,n){return n<e?e:n>t?t:n},qn=function(e,t){return Tt(e)&&(t=Ft.exec(e))?t[1]:""},Yn=[].slice,Xn=function(e,t){return e&&kt(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&kt(e[0]))&&!e.nodeType&&e!==at},Zn=function(e,t,n){return void 0===n&&(n=[]),e.forEach((function(e){var r;return Tt(e)&&!t||Xn(e,1)?(r=n).push.apply(r,Kn(e)):n.push(e)}))||n},Kn=function(e,t,n){return rt&&!t&&rt.selector?rt.selector(e):!Tt(e)||n||!st&&br()?Ot(e)?Zn(e,n):Xn(e)?Yn.call(e,0):e?[e]:[]:Yn.call((t||ot).querySelectorAll(e),0)},Qn=function(e){return e=Kn(e)[0]||Gt("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return Kn(t,n.querySelectorAll?n:n===e?Gt("Invalid scope")||ot.createElement("div"):e)}},$n=function(e){return e.sort((function(){return.5-Math.random()}))},Jn=function(e){if(wt(e))return e;var t=kt(e)?e:{each:e},n=Cr(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},s=r>0&&r<1,o=isNaN(r)||s,l=t.axis,u=r,c=r;return Tt(r)?u=c={center:.5,edges:.5,end:1}[r]||0:!s&&o&&(u=r[0],c=r[1]),function(e,s,d){var h,f,p,m,g,v,y,_,b,x=(d||t).length,T=a[x];if(!T){if(!(b="auto"===t.grid?0:(t.grid||[1,pt])[1])){for(y=-pt;y<(y=d[b++].getBoundingClientRect().left)&&b<x;);b--}for(T=a[x]=[],h=o?Math.min(b,x)*u-.5:r%b,f=b===pt?0:o?x*c/b-.5:r/b|0,y=0,_=pt,v=0;v<x;v++)p=v%b-h,m=f-(v/b|0),T[v]=g=l?Math.abs("y"===l?m:p):_t(p*p+m*m),g>y&&(y=g),g<_&&(_=g);"random"===r&&$n(T),T.max=y-_,T.min=_,T.v=x=(parseFloat(t.amount)||parseFloat(t.each)*(b>x?x-1:l?"y"===l?x/b:b:Math.max(b,x/b))||0)*("edges"===r?-1:1),T.b=x<0?i-x:i,T.u=qn(t.amount||t.each)||0,n=n&&x<0?Er(n):n}return x=(T[e]-T.min)/T.max||0,un(T.b+(n?n(x):x)*T.v)+T.u}},er=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=un(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(St(n)?0:qn(n))}},tr=function(e,t){var n,r,i=Ot(e);return!i&&kt(e)&&(n=i=e.radius||pt,e.values?(e=Kn(e.values),(r=!St(e[0]))&&(n*=n)):e=er(e.increment)),Hn(t,i?wt(e)?function(t){return r=e(t),Math.abs(r-t)<=n?r:t}:function(t){for(var i,a,s=parseFloat(r?t.x:t),o=parseFloat(r?t.y:0),l=pt,u=0,c=e.length;c--;)(i=r?(i=e[c].x-s)*i+(a=e[c].y-o)*a:Math.abs(e[c]-s))<l&&(l=i,u=c);return u=!n||l<=n?e[u]:t,r||u===t||St(t)?u:u+qn(t)}:er(e))},nr=function(e,t,n,r){return Hn(Ot(e)?!t:!0===n?!!(n=0):!r,(function(){return Ot(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*r)/r}))},rr=function(e,t,n){return Hn(n,(function(n){return e[~~t(n)]}))},ir=function(e){for(var t,n,r,i,a=0,s="";~(t=e.indexOf("random(",a));)r=e.indexOf(")",t),i="["===e.charAt(t+7),n=e.substr(t+7,r-t-7).match(i?jt:Dt),s+=e.substr(a,t-a)+nr(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),a=r+1;return s+e.substr(a,e.length-a)},ar=function(e,t,n,r,i){var a=t-e,s=r-n;return Hn(i,(function(t){return n+((t-e)/a*s||0)}))},sr=function(e,t,n){var r,i,a,s=e.labels,o=pt;for(r in s)(i=s[r]-t)<0===!!n&&i&&o>(i=Math.abs(i))&&(a=r,o=i);return a},or=function(e,t,n){var r,i,a,s=e.vars,o=s[t],l=rt,u=e._ctx;if(o)return r=s[t+"Params"],i=s.callbackScope||e,n&&Kt.length&&hn(),u&&(rt=u),a=r?o.apply(i,r):o.call(i),rt=l,a},lr=function(e){return wn(e),e.scrollTrigger&&e.scrollTrigger.kill(!!nt),e.progress()<1&&or(e,"onInterrupt"),e},ur=function(e){var t=(e=!e.name&&e.default||e).name,n=wt(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:Wt,render:ei,add:Fr,kill:ni,modifier:ti,rawVars:0},a={targetTest:0,get:0,getSetter:Kr,aliases:{},register:0};if(br(),e!==r){if($t[t])return;gn(r,gn(_n(e,i),a)),vn(r.prototype,vn(i,_n(e,a))),$t[r.prop=t]=r,e.targetTest&&(tn.push(r),Zt[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Ht(t,r),e.register&&e.register(vi,r,ai)},cr=255,dr={aqua:[0,cr,cr],lime:[0,cr,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,cr],navy:[0,0,128],white:[cr,cr,cr],olive:[128,128,0],yellow:[cr,cr,0],orange:[cr,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[cr,0,0],pink:[cr,192,203],cyan:[0,cr,cr],transparent:[cr,cr,cr,0]},hr=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*cr+.5|0},fr=function(e,t,n){var r,i,a,s,o,l,u,c,d,h,f=e?St(e)?[e>>16,e>>8&cr,e&cr]:0:dr.black;if(!f){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),dr[e])f=dr[e];else if("#"===e.charAt(0)){if(e.length<6&&(r=e.charAt(1),i=e.charAt(2),a=e.charAt(3),e="#"+r+r+i+i+a+a+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(f=parseInt(e.substr(1,6),16))>>16,f>>8&cr,f&cr,parseInt(e.substr(7),16)/255];f=[(e=parseInt(e.substr(1),16))>>16,e>>8&cr,e&cr]}else if("hsl"===e.substr(0,3))if(f=h=e.match(Dt),t){if(~e.indexOf("="))return f=e.match(Mt),n&&f.length<4&&(f[3]=1),f}else s=+f[0]%360/360,o=+f[1]/100,r=2*(l=+f[2]/100)-(i=l<=.5?l*(o+1):l+o-l*o),f.length>3&&(f[3]*=1),f[0]=hr(s+1/3,r,i),f[1]=hr(s,r,i),f[2]=hr(s-1/3,r,i);else f=e.match(Dt)||dr.transparent;f=f.map(Number)}return t&&!h&&(r=f[0]/cr,i=f[1]/cr,a=f[2]/cr,l=((u=Math.max(r,i,a))+(c=Math.min(r,i,a)))/2,u===c?s=o=0:(d=u-c,o=l>.5?d/(2-u-c):d/(u+c),s=u===r?(i-a)/d+(i<a?6:0):u===i?(a-r)/d+2:(r-i)/d+4,s*=60),f[0]=~~(s+.5),f[1]=~~(100*o+.5),f[2]=~~(100*l+.5)),n&&f.length<4&&(f[3]=1),f},pr=function(e){var t=[],n=[],r=-1;return e.split(gr).forEach((function(e){var i=e.match(Nt)||[];t.push.apply(t,i),n.push(r+=i.length+1)})),t.c=n,t},mr=function(e,t,n){var r,i,a,s,o="",l=(e+o).match(gr),u=t?"hsla(":"rgba(",c=0;if(!l)return e;if(l=l.map((function(e){return(e=fr(e,t,1))&&u+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"})),n&&(a=pr(e),(r=n.c).join(o)!==a.c.join(o)))for(s=(i=e.replace(gr,"1").split(Nt)).length-1;c<s;c++)o+=i[c]+(~r.indexOf(c)?l.shift()||u+"0,0,0,0)":(a.length?a:l.length?l:n).shift());if(!i)for(s=(i=e.split(gr)).length-1;c<s;c++)o+=i[c]+l[c];return o+i[s]},gr=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in dr)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),vr=/hsl[a]?\(/,yr=function(e){var t,n=e.join(" ");if(gr.lastIndex=0,gr.test(n))return t=vr.test(n),e[1]=mr(e[1],t),e[0]=mr(e[0],t,pr(e[1])),!0},_r=function(){var e,t,n,r,i,a,s=Date.now,o=500,l=33,u=s(),c=u,d=1e3/240,h=d,f=[],p=function n(p){var m,g,v,y,_=s()-c,b=!0===p;if(_>o&&(u+=_-l),((m=(v=(c+=_)-u)-h)>0||b)&&(y=++r.frame,i=v-1e3*r.time,r.time=v/=1e3,h+=m+(m>=d?4:d-m),g=1),b||(e=t(n)),g)for(a=0;a<f.length;a++)f[a](v,i,y,p)};return r={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(e){return i/(1e3/(e||60))},wake:function(){lt&&(!st&&Pt()&&(at=st=window,ot=at.document||{},Bt.gsap=vi,(at.gsapVersions||(at.gsapVersions=[])).push(vi.version),Vt(Ut||at.GreenSockGlobals||!at.gsap&&at||{}),n=at.requestAnimationFrame),e&&r.sleep(),t=n||function(e){return setTimeout(e,h-1e3*r.time+1|0)},dt=1,p(2))},sleep:function(){(n?at.cancelAnimationFrame:clearTimeout)(e),dt=0,t=Wt},lagSmoothing:function(e,t){o=e||1/0,l=Math.min(t||33,o)},fps:function(e){d=1e3/(e||240),h=1e3*r.time+d},add:function(e,t,n){var i=t?function(t,n,a,s){e(t,n,a,s),r.remove(i)}:e;return r.remove(e),f[n?"unshift":"push"](i),br(),i},remove:function(e,t){~(t=f.indexOf(e))&&f.splice(t,1)&&a>=t&&a--},_listeners:f},r}(),br=function(){return!dt&&_r.wake()},xr={},Tr=/^[\d.\-M][\d.\-,\s]/,wr=/["']/g,Sr=function(e){for(var t,n,r,i={},a=e.substr(1,e.length-3).split(":"),s=a[0],o=1,l=a.length;o<l;o++)n=a[o],t=o!==l-1?n.lastIndexOf(","):n.length,r=n.substr(0,t),i[s]=isNaN(r)?r.replace(wr,"").trim():+r,s=n.substr(t+1).trim();return i},Er=function(e){return function(t){return 1-e(1-t)}},kr=function e(t,n){for(var r,i=t._first;i;)i instanceof Nr?e(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?e(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},Cr=function(e,t){return e&&(wt(e)?e:xr[e]||function(e){var t=(e+"").split("("),n=xr[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[Sr(t[1])]:function(e){var t=e.indexOf("(")+1,n=e.indexOf(")"),r=e.indexOf("(",t);return e.substring(t,~r&&r<n?e.indexOf(")",n+1):n)}(e).split(",").map(pn)):xr._CE&&Tr.test(e)?xr._CE("",e):n}(e))||t},Pr=function(e,t,n,r){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===r&&(r=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var i,a={easeIn:t,easeOut:n,easeInOut:r};return on(e,(function(e){for(var t in xr[e]=Bt[e]=a,xr[i=e.toLowerCase()]=n,a)xr[i+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=xr[e+"."+t]=a[t]})),a},Ar=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},Ir=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),s=a/gt*(Math.asin(1/i)||0),o=function(e){return 1===e?1:i*Math.pow(2,-10*e)*xt((e-s)*a)+1},l="out"===t?o:"in"===t?function(e){return 1-o(1-e)}:Ar(o);return a=gt/a,l.config=function(n,r){return e(t,n,r)},l},Or=function e(t,n){void 0===n&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i="out"===t?r:"in"===t?function(e){return 1-r(1-e)}:Ar(r);return i.config=function(n){return e(t,n)},i};on("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,t){var n=t<5?t+1:t;Pr(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},(function(e){return 1-Math.pow(1-e,n)}),(function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow(2*(1-e),n)/2}))})),xr.Linear.easeNone=xr.none=xr.Linear.easeIn,Pr("Elastic",Ir("in"),Ir("out"),Ir()),function(e,t){var n=1/t,r=function(r){return r<n?e*r*r:r<.7272727272727273?e*Math.pow(r-1.5/t,2)+.75:r<.9090909090909092?e*(r-=2.25/t)*r+.9375:e*Math.pow(r-2.625/t,2)+.984375};Pr("Bounce",(function(e){return 1-r(1-e)}),r)}(7.5625,2.75),Pr("Expo",(function(e){return e?Math.pow(2,10*(e-1)):0})),Pr("Circ",(function(e){return-(_t(1-e*e)-1)})),Pr("Sine",(function(e){return 1===e?1:1-bt(e*vt)})),Pr("Back",Or("in"),Or("out"),Or()),xr.SteppedEase=xr.steps=Bt.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,r=e+(t?0:1),i=t?1:0;return function(e){return((r*Wn(0,.99999999,e)|0)+i)*n}}},ft.ease=xr["quad.out"],on("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(e){return nn+=e+","+e+"Params,"}));var Dr=function(e,t){this.id=yt++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:sn,this.set=t?t.getSetter:Kr},Mr=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Bn(this,+e.duration,1,1),this.data=e.data,rt&&(this._ctx=rt,rt.data.push(this)),dt||_r.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Bn(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(br(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Dn(this,e),!n._dp||n.parent||Mn(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Nn(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===mt||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),fn(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Pn(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+Pn(this),t):this.duration()?Math.min(1,this._time/this._dur):this.ratio},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?An(this._tTime,n)+1:1},t.timeScale=function(e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var t=this.parent&&this._ts?In(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(Wn(-this._delay,this._tDur,t),!0),On(this),En(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(br(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==mt&&(this._tTime-=mt)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Nn(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(Ct(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?In(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=Xt);var t=nt;return nt=e,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),nt=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(t._ts||1),t=t._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Un(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Un(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(zn(this,e),Ct(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,Ct(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-mt))},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this;return new Promise((function(n){var r=wt(e)?e:mn,i=function(){var e=t.then;t.then=null,wt(r)&&(r=r(t))&&(r.then||r===t)&&(t.then=e),n(r),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?i():t._prom=i}))},t.kill=function(){lr(this)},e}();gn(Mr.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Nr=function(e){function t(t,n){var r;return void 0===t&&(t={}),(r=e.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=Ct(t.sortChildren),it&&Nn(t.parent||it,Je(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Rn(Je(r),t.scrollTrigger),r}et(t,e);var n=t.prototype;return n.to=function(e,t,n){return Gn(0,arguments,this),this},n.from=function(e,t,n){return Gn(1,arguments,this),this},n.fromTo=function(e,t,n,r){return Gn(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,bn(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Wr(e,t,zn(this,n),1),this},n.call=function(e,t,n){return Nn(this,Wr.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,s){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=s,n.parent=this,new Wr(e,n,zn(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,s){return n.runBackwards=1,bn(n).immediateRender=Ct(n.immediateRender),this.staggerTo(e,t,n,r,i,a,s)},n.staggerFromTo=function(e,t,n,r,i,a,s,o){return r.startAt=n,bn(r).immediateRender=Ct(r.immediateRender),this.staggerTo(e,t,r,i,a,s,o)},n.render=function(e,t,n){var r,i,a,s,o,l,u,c,d,h,f,p,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=e<=0?0:un(e),_=this._zTime<0!==e<0&&(this._initted||!v);if(this!==it&&y>g&&e>=0&&(y=g),y!==this._tTime||n||_){if(m!==this._time&&v&&(y+=this._time-m,e+=this._time-m),r=y,d=this._start,l=!(c=this._ts),_&&(v||(m=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(f=this._yoyo,o=v+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*o+e,t,n);if(r=un(y%o),y===g?(s=this._repeat,r=v):((s=~~(y/o))&&s===y/o&&(r=v,s--),r>v&&(r=v)),h=An(this._tTime,o),!m&&this._tTime&&h!==s&&(h=s),f&&1&s&&(r=v-r,p=1),s!==h&&!this._lock){var b=f&&1&h,x=b===(f&&1&s);if(s<h&&(b=!b),m=b?0:v,this._lock=1,this.render(m||(p?0:un(s*o)),t,!v)._lock=0,this._tTime=y,!t&&this.parent&&or(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),m&&m!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,g=this._tDur,x&&(this._lock=2,m=b?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;kr(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<t)return r;r=r._prev}}(this,un(m),un(r)),u&&(y-=r-(r=u._start))),this._tTime=y,this._time=r,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,m=0),!m&&r&&!t&&(or(this,"onStart"),this._tTime!==y))return this;if(r>=m&&e>=0)for(i=this._first;i;){if(a=i._next,(i._act||r>=i._start)&&i._ts&&u!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,t,n),r!==this._time||!this._ts&&!l){u=0,a&&(y+=this._zTime=-1e-8);break}}i=a}else{i=this._last;for(var T=e<0?e:r;i;){if(a=i._prev,(i._act||T<=i._end)&&i._ts&&u!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(T-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(T-i._start)*i._ts,t,n||nt&&(i._initted||i._startAt)),r!==this._time||!this._ts&&!l){u=0,a&&(y+=this._zTime=T?-1e-8:mt);break}}i=a}}if(u&&!t&&(this.pause(),u.render(r>=m?0:-1e-8)._zTime=r>=m?1:-1,this._ts))return this._start=d,On(this),this.render(e,t,n);this._onUpdate&&!t&&or(this,"onUpdate",!0),(y===g&&this._tTime>=this.totalDuration()||!y&&m)&&(d!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((e||!v)&&(y===g&&this._ts>0||!y&&this._ts<0)&&wn(this,1),t||e<0&&!m||!y&&!m&&g||(or(this,y===g&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<g&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(St(t)||(t=zn(this,t,e)),!(e instanceof Mr)){if(Ot(e))return e.forEach((function(e){return n.add(e,t)})),this;if(Tt(e))return this.addLabel(e,t);if(!wt(e))return this;e=Wr.delayedCall(0,e)}return this!==e?Nn(this,e,t):this},n.getChildren=function(e,t,n,r){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===r&&(r=-pt);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof Wr?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return Tt(e)?this.removeLabel(e):wt(e)?this.killTweensOf(e):(Tn(this,e),e===this._recent&&(this._recent=this._last),Sn(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=un(_r.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=zn(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=Wr.delayedCall(0,t||Wt,n);return r.data="isPause",this._hasPause=1,Nn(this,r,zn(this,e))},n.removePause=function(e){var t=this._first;for(e=zn(this,e);t;)t._start===e&&"isPause"===t.data&&wn(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)Rr!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,r=[],i=Kn(e),a=this._first,s=St(t);a;)a instanceof Wr?dn(a._targets,i)&&(s?(!Rr||a._initted&&a._ts)&&a.globalTime(0)<=t&&a.globalTime(a.totalDuration())>t:!t||a.isActive())&&r.push(a):(n=a.getTweensOf(i,t)).length&&r.push.apply(r,n),a=a._next;return r},n.tweenTo=function(e,t){t=t||{};var n,r=this,i=zn(r,e),a=t,s=a.startAt,o=a.onStart,l=a.onStartParams,u=a.immediateRender,c=Wr.to(r,gn({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:t.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale())||mt,onStart:function(){if(r.pause(),!n){var e=t.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale());c._dur!==e&&Bn(c,e,0,1).render(c._time,!0,!0),n=1}o&&o.apply(c,l||[])}},t));return u?c.render(0):c},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,gn({startAt:{time:zn(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),sr(this,zn(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),sr(this,zn(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+mt)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);for(var r,i=this._first,a=this.labels;i;)i._start>=n&&(i._start+=e,i._end+=e),i=i._next;if(t)for(r in a)a[r]>=n&&(a[r]+=e);return Sn(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Sn(this)},n.totalDuration=function(e){var t,n,r,i=0,a=this,s=a._last,o=pt;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-e:e));if(a._dirty){for(r=a.parent;s;)t=s._prev,s._dirty&&s.totalDuration(),(n=s._start)>o&&a._sort&&s._ts&&!a._lock?(a._lock=1,Nn(a,s,n-s._delay,1)._lock=0):o=n,n<0&&s._ts&&(i-=n,(!r&&!a._dp||r&&r.smoothChildTiming)&&(a._start+=n/a._ts,a._time-=n,a._tTime-=n),a.shiftChildren(-n,!1,-Infinity),o=0),s._end>i&&s._ts&&(i=s._end),s=t;Bn(a,a===it&&a._time>i?a._time:i,1,1),a._dirty=0}return a._tDur},t.updateRoot=function(e){if(it._ts&&(fn(it,In(e,it)),ut=_r.frame),_r.frame>=en){en+=ht.autoSleep||120;var t=it._first;if((!t||!t._ts)&&ht.autoSleep&&_r._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||_r.sleep()}}},t}(Mr);gn(Nr.prototype,{_lock:0,_hasPause:0,_forcing:0});var Rr,Lr,jr=function(e,t,n,r,i,a,s){var o,l,u,c,d,h,f,p,m=new ai(this._pt,e,t,0,1,Jr,null,i),g=0,v=0;for(m.b=n,m.e=r,n+="",(f=~(r+="").indexOf("random("))&&(r=ir(r)),a&&(a(p=[n,r],e,t),n=p[0],r=p[1]),l=n.match(Rt)||[];o=Rt.exec(r);)c=o[0],d=r.substring(g,o.index),u?u=(u+1)%5:"rgba("===d.substr(-5)&&(u=1),c!==l[v++]&&(h=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:d||1===v?d:",",s:h,c:"="===c.charAt(1)?cn(h,c)-h:parseFloat(c)-h,m:u&&u<4?Math.round:0},g=Rt.lastIndex);return m.c=g<r.length?r.substring(g,r.length):"",m.fp=s,(Lt.test(r)||f)&&(m.e=0),this._pt=m,m},Fr=function(e,t,n,r,i,a,s,o,l,u){wt(r)&&(r=r(i||0,e,a));var c,d=e[t],h="get"!==n?n:wt(d)?l?e[t.indexOf("set")||!wt(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,f=wt(d)?l?Xr:Yr:qr;if(Tt(r)&&(~r.indexOf("random(")&&(r=ir(r)),"="===r.charAt(1)&&((c=cn(h,r)+(qn(h)||0))||0===c)&&(r=c)),!u||h!==r||Lr)return isNaN(h*r)||""===r?(!d&&!(t in e)&&zt(t,r),jr.call(this,e,t,h,r,f,o||ht.stringFilter,l)):(c=new ai(this._pt,e,t,+h||0,r-(h||0),"boolean"===typeof d?$r:Qr,0,f),l&&(c.fp=l),s&&c.modifier(s,this,e),this._pt=c)},Br=function(e,t,n,r,i,a){var s,o,l,u;if($t[e]&&!1!==(s=new $t[e]).init(i,s.rawVars?t[e]:function(e,t,n,r,i){if(wt(e)&&(e=zr(e,i,t,n,r)),!kt(e)||e.style&&e.nodeType||Ot(e)||It(e))return Tt(e)?zr(e,i,t,n,r):e;var a,s={};for(a in e)s[a]=zr(e[a],i,t,n,r);return s}(t[e],r,i,a,n),n,r,a)&&(n._pt=o=new ai(n._pt,i,e,0,1,s.render,s,0,s.priority),n!==ct))for(l=n._ptLookup[n._targets.indexOf(i)],u=s._props.length;u--;)l[s._props[u]]=o;return s},Ur=function e(t,n,r){var i,a,s,o,l,u,c,d,h,f,p,m,g,v=t.vars,y=v.ease,_=v.startAt,b=v.immediateRender,x=v.lazy,T=v.onUpdate,w=v.onUpdateParams,S=v.callbackScope,E=v.runBackwards,k=v.yoyoEase,C=v.keyframes,P=v.autoRevert,A=t._dur,I=t._startAt,O=t._targets,D=t.parent,M=D&&"nested"===D.data?D.vars.targets:O,N="auto"===t._overwrite&&!tt,R=t.timeline;if(R&&(!C||!y)&&(y="none"),t._ease=Cr(y,ft.ease),t._yEase=k?Er(Cr(!0===k?y:k,ft.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!R&&!!v.runBackwards,!R||C&&!v.stagger){if(m=(d=O[0]?an(O[0]).harness:0)&&v[d.prop],i=_n(v,Zt),I&&(I._zTime<0&&I.progress(1),n<0&&E&&b&&!P?I.render(-1,!0):I.revert(E&&A?Yt:qt),I._lazy=0),_){if(wn(t._startAt=Wr.set(O,gn({data:"isStart",overwrite:!1,parent:D,immediateRender:!0,lazy:!I&&Ct(x),startAt:null,delay:0,onUpdate:T,onUpdateParams:w,callbackScope:S,stagger:0},_))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(nt||!b&&!P)&&t._startAt.revert(Yt),b&&A&&n<=0&&r<=0)return void(n&&(t._zTime=n))}else if(E&&A&&!I)if(n&&(b=!1),s=gn({overwrite:!1,data:"isFromStart",lazy:b&&!I&&Ct(x),immediateRender:b,stagger:0,parent:D},i),m&&(s[d.prop]=m),wn(t._startAt=Wr.set(O,s)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(nt?t._startAt.revert(Yt):t._startAt.render(-1,!0)),t._zTime=n,b){if(!n)return}else e(t._startAt,mt,mt);for(t._pt=t._ptCache=0,x=A&&Ct(x)||x&&!A,a=0;a<O.length;a++){if(c=(l=O[a])._gsap||rn(O)[a]._gsap,t._ptLookup[a]=f={},Qt[c.id]&&Kt.length&&hn(),p=M===O?a:M.indexOf(l),d&&!1!==(h=new d).init(l,m||i,t,p,M)&&(t._pt=o=new ai(t._pt,l,h.name,0,1,h.render,h,0,h.priority),h._props.forEach((function(e){f[e]=o})),h.priority&&(u=1)),!d||m)for(s in i)$t[s]&&(h=Br(s,i,t,p,l,M))?h.priority&&(u=1):f[s]=o=Fr.call(t,l,s,"get",i[s],p,M,0,v.stringFilter);t._op&&t._op[a]&&t.kill(l,t._op[a]),N&&t._pt&&(Rr=t,it.killTweensOf(l,f,t.globalTime(n)),g=!t.parent,Rr=0),t._pt&&x&&(Qt[c.id]=1)}u&&ii(t),t._onInit&&t._onInit(t)}t._onUpdate=T,t._initted=(!t._op||t._pt)&&!g,C&&n<=0&&R.render(pt,!0,!0)},Vr=function(e,t,n,r){var i,a,s=t.ease||r||"power1.inOut";if(Ot(t))a=n[e]||(n[e]=[]),t.forEach((function(e,n){return a.push({t:n/(t.length-1)*100,v:e,e:s})}));else for(i in t)a=n[i]||(n[i]=[]),"ease"===i||a.push({t:parseFloat(e),v:t[i],e:s})},zr=function(e,t,n,r,i){return wt(e)?e.call(t,n,r,i):Tt(e)&&~e.indexOf("random(")?ir(e):e},Gr=nn+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Hr={};on(Gr+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return Hr[e]=1}));var Wr=function(e){function t(t,n,r,i){var a;"number"===typeof n&&(r.duration=n,n=r,r=null);var s,o,l,u,c,d,h,f,p=(a=e.call(this,i?n:bn(n))||this).vars,m=p.duration,g=p.delay,v=p.immediateRender,y=p.stagger,_=p.overwrite,b=p.keyframes,x=p.defaults,T=p.scrollTrigger,w=p.yoyoEase,S=n.parent||it,E=(Ot(t)||It(t)?St(t[0]):"length"in n)?[t]:Kn(t);if(a._targets=E.length?rn(E):Gt("GSAP target "+t+" not found. https://greensock.com",!ht.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=_,b||y||At(m)||At(g)){if(n=a.vars,(s=a.timeline=new Nr({data:"nested",defaults:x||{},targets:S&&"nested"===S.data?S.vars.targets:E})).kill(),s.parent=s._dp=Je(a),s._start=0,y||At(m)||At(g)){if(u=E.length,h=y&&Jn(y),kt(y))for(c in y)~Gr.indexOf(c)&&(f||(f={}),f[c]=y[c]);for(o=0;o<u;o++)(l=_n(n,Hr)).stagger=0,w&&(l.yoyoEase=w),f&&vn(l,f),d=E[o],l.duration=+zr(m,Je(a),o,d,E),l.delay=(+zr(g,Je(a),o,d,E)||0)-a._delay,!y&&1===u&&l.delay&&(a._delay=g=l.delay,a._start+=g,l.delay=0),s.to(d,l,h?h(o,d,E):0),s._ease=xr.none;s.duration()?m=g=0:a.timeline=0}else if(b){bn(gn(s.vars.defaults,{ease:"none"})),s._ease=Cr(b.ease||n.ease||"none");var k,C,P,A=0;if(Ot(b))b.forEach((function(e){return s.to(E,e,">")})),s.duration();else{for(c in l={},b)"ease"===c||"easeEach"===c||Vr(c,b[c],l,b.easeEach);for(c in l)for(k=l[c].sort((function(e,t){return e.t-t.t})),A=0,o=0;o<k.length;o++)(P={ease:(C=k[o]).e,duration:(C.t-(o?k[o-1].t:0))/100*m})[c]=C.v,s.to(E,P,A),A+=P.duration;s.duration()<m&&s.to({},{duration:m-s.duration()})}}m||a.duration(m=s.duration())}else a.timeline=0;return!0!==_||tt||(Rr=Je(a),it.killTweensOf(E),Rr=0),Nn(S,Je(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(v||!m&&!b&&a._start===un(S._time)&&Ct(v)&&Cn(Je(a))&&"nested"!==S.data)&&(a._tTime=-1e-8,a.render(Math.max(0,-g)||0)),T&&Rn(Je(a),T),a}et(t,e);var n=t.prototype;return n.render=function(e,t,n){var r,i,a,s,o,l,u,c,d,h=this._time,f=this._tDur,p=this._dur,m=e<0,g=e>f-mt&&!m?f:e<mt?0:e;if(p){if(g!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m){if(r=g,c=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*s+e,t,n);if(r=un(g%s),g===f?(a=this._repeat,r=p):((a=~~(g/s))&&a===g/s&&(r=p,a--),r>p&&(r=p)),(l=this._yoyo&&1&a)&&(d=this._yEase,r=p-r),o=An(this._tTime,s),r===h&&!n&&this._initted)return this._tTime=g,this;a!==o&&(c&&this._yEase&&kr(c,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=n=1,this.render(un(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Ln(this,m?e:r,n,t,g))return this._tTime=0,this;if(h!==this._time)return this;if(p!==this._dur)return this.render(e,t,n)}if(this._tTime=g,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(d||this._ease)(r/p),this._from&&(this.ratio=u=1-u),r&&!h&&!t&&(or(this,"onStart"),this._tTime!==g))return this;for(i=this._pt;i;)i.r(u,i.d),i=i._next;c&&c.render(e<0?e:!r&&l?-1e-8:c._dur*c._ease(r/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(m&&kn(this,e,0,n),or(this,"onUpdate")),this._repeat&&a!==o&&this.vars.onRepeat&&!t&&this.parent&&or(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(m&&!this._onUpdate&&kn(this,e,0,!0),(e||!p)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&wn(this,1),t||m&&!h||!(g||h||l)||(or(this,g===f?"onComplete":"onReverseComplete",!0),this._prom&&!(g<f&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,n,r){var i,a,s,o=e.ratio,l=t<0||!t&&(!e._start&&jn(e)&&(e._initted||!Fn(e))||(e._ts<0||e._dp._ts<0)&&!Fn(e))?0:1,u=e._rDelay,c=0;if(u&&e._repeat&&(c=Wn(0,e._tDur,t),a=An(c,u),e._yoyo&&1&a&&(l=1-l),a!==An(e._tTime,u)&&(o=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==o||nt||r||e._zTime===mt||!t&&e._zTime){if(!e._initted&&Ln(e,t,r,n,c))return;for(s=e._zTime,e._zTime=t||(n?mt:0),n||(n=t&&!s),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=c,i=e._pt;i;)i.r(l,i.d),i=i._next;t<0&&kn(e,t,0,!0),e._onUpdate&&!n&&or(e,"onUpdate"),c&&e._repeat&&!n&&e.parent&&or(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&wn(e,1),n||nt||(or(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r){dt||_r.wake(),this._ts||this.play();var i=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ur(this,i),function(e,t,n,r,i,a,s){var o,l,u,c,d=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!d)for(d=e._ptCache[t]=[],u=e._ptLookup,c=e._targets.length;c--;){if((o=u[c][t])&&o.d&&o.d._pt)for(o=o.d._pt;o&&o.p!==t&&o.fp!==t;)o=o._next;if(!o)return Lr=1,e.vars[t]="+=0",Ur(e,s),Lr=0,1;d.push(o)}for(c=d.length;c--;)(o=(l=d[c])._pt||l).s=!r&&0!==r||i?o.s+(r||0)+a*o.c:r,o.c=n-o.s,l.e&&(l.e=ln(n)+qn(l.e)),l.b&&(l.b=o.s+qn(l.b))}(this,e,t,n,r,this._ease(i/this._dur),i)?this.resetTo(e,t,n,r):(Dn(this,0),this.parent||xn(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,t){if(void 0===t&&(t="all"),!e&&(!t||"all"===t))return this._lazy=this._pt=0,this.parent?lr(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Rr&&!0!==Rr.vars.overwrite)._first||lr(this),this.parent&&n!==this.timeline.totalDuration()&&Bn(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,a,s,o,l,u,c=this._targets,d=e?Kn(e):c,h=this._ptLookup,f=this._pt;if((!t||"all"===t)&&function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0}(c,d))return"all"===t&&(this._pt=0),lr(this);for(r=this._op=this._op||[],"all"!==t&&(Tt(t)&&(o={},on(t,(function(e){return o[e]=1})),t=o),t=function(e,t){var n,r,i,a,s=e[0]?an(e[0]).harness:0,o=s&&s.aliases;if(!o)return t;for(r in n=vn({},t),o)if(r in n)for(i=(a=o[r].split(",")).length;i--;)n[a[i]]=n[r];return n}(c,t)),u=c.length;u--;)if(~d.indexOf(c[u]))for(o in i=h[u],"all"===t?(r[u]=t,s=i,a={}):(a=r[u]=r[u]||{},s=t),s)(l=i&&i[o])&&("kill"in l.d&&!0!==l.d.kill(o)||Tn(this,l,"_pt"),delete i[o]),"all"!==a&&(a[o]=1);return this._initted&&!this._pt&&f&&lr(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return Gn(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return Gn(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return it.killTweensOf(e,t,n)},t}(Mr);gn(Wr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),on("staggerTo,staggerFrom,staggerFromTo",(function(e){Wr[e]=function(){var t=new Nr,n=Yn.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}}));var qr=function(e,t,n){return e[t]=n},Yr=function(e,t,n){return e[t](n)},Xr=function(e,t,n,r){return e[t](r.fp,n)},Zr=function(e,t,n){return e.setAttribute(t,n)},Kr=function(e,t){return wt(e[t])?Yr:Et(e[t])&&e.setAttribute?Zr:qr},Qr=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},$r=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Jr=function(e,t){var n=t._pt,r="";if(!e&&t.b)r=t.b;else if(1===e&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},ei=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},ti=function(e,t,n,r){for(var i,a=this._pt;a;)i=a._next,a.p===r&&a.modifier(e,t,n),a=i},ni=function(e){for(var t,n,r=this._pt;r;)n=r._next,r.p===e&&!r.op||r.op===e?Tn(this,r,"_pt"):r.dep||(t=1),r=n;return!t},ri=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},ii=function(e){for(var t,n,r,i,a=e._pt;a;){for(t=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:i)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:i=a,a=t}e._pt=r},ai=function(){function e(e,t,n,r,i,a,s,o,l){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||Qr,this.d=s||this,this.set=o||qr,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=ri,this.m=e,this.mt=n,this.tween=t},e}();on(nn+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return Zt[e]=1})),Bt.TweenMax=Bt.TweenLite=Wr,Bt.TimelineLite=Bt.TimelineMax=Nr,it=new Nr({sortChildren:!1,defaults:ft,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),ht.stringFilter=yr;var si=[],oi={},li=[],ui=0,ci=function(e){return(oi[e]||li).map((function(e){return e()}))},di=function(){var e=Date.now(),t=[];e-ui>2&&(ci("matchMediaInit"),si.forEach((function(e){var n,r,i,a,s=e.queries,o=e.conditions;for(r in s)(n=at.matchMedia(s[r]).matches)&&(i=1),n!==o[r]&&(o[r]=n,a=1);a&&(e.revert(),i&&t.push(e))})),ci("matchMediaRevert"),t.forEach((function(e){return e.onMatch(e)})),ui=e,ci("matchMedia"))},hi=function(){function e(e,t){this.selector=t&&Qn(t),this.data=[],this._r=[],this.isReverted=!1,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){wt(e)&&(n=t,t=e,e=wt);var r=this,i=function(){var e,i=rt,a=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=Qn(n)),rt=r,e=t.apply(r,arguments),wt(e)&&r._r.push(e),rt=i,r.selector=a,r.isReverted=!1,e};return r.last=i,e===wt?i(r):e?r[e]=i:i},t.ignore=function(e){var t=rt;rt=null,e(this),rt=t},t.getTweens=function(){var t=[];return this.data.forEach((function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Wr&&!(n.parent&&"nested"===n.parent.data)&&t.push(n)})),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e){var r=this.getTweens();this.data.forEach((function(e){"isFlip"===e.data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(e){return r.splice(r.indexOf(e),1)})))})),r.map((function(e){return{g:e.globalTime(0),t:e}})).sort((function(e,t){return t.g-e.g||-1})).forEach((function(t){return t.t.revert(e)})),this.data.forEach((function(t){return!(t instanceof Mr)&&t.revert&&t.revert(e)})),this._r.forEach((function(t){return t(e,n)})),this.isReverted=!0}else this.data.forEach((function(e){return e.kill&&e.kill()}));if(this.clear(),t){var i=si.indexOf(this);~i&&si.splice(i,1)}},t.revert=function(e){this.kill(e||{})},e}(),fi=function(){function e(e){this.contexts=[],this.scope=e}var t=e.prototype;return t.add=function(e,t,n){kt(e)||(e={matches:e});var r,i,a,s=new hi(0,n||this.scope),o=s.conditions={};for(i in this.contexts.push(s),t=s.add("onMatch",t),s.queries=e,e)"all"===i?a=1:(r=at.matchMedia(e[i]))&&(si.indexOf(s)<0&&si.push(s),(o[i]=r.matches)&&(a=1),r.addListener?r.addListener(di):r.addEventListener("change",di));return a&&t(s),this},t.revert=function(e){this.kill(e||{})}
vendor: 8,687 bytes, line 2
2,t.kill=function(e){this.contexts.forEach((function(t){return t.kill(e,!0)}))},e}(),pi={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach((function(e){return ur(e)}))},timeline:function(e){return new Nr(e)},getTweensOf:function(e,t){return it.getTweensOf(e,t)},getProperty:function(e,t,n,r){Tt(e)&&(e=Kn(e)[0]);var i=an(e||{}).get,a=n?mn:pn;return"native"===n&&(n=""),e?t?a(($t[t]&&$t[t].get||i)(e,t,n,r)):function(t,n,r){return a(($t[t]&&$t[t].get||i)(e,t,n,r))}:e},quickSetter:function(e,t,n){if((e=Kn(e)).length>1){var r=e.map((function(e){return vi.quickSetter(e,t,n)})),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=$t[t],s=an(e),o=s.harness&&(s.harness.aliases||{})[t]||t,l=a?function(t){var r=new a;ct._pt=0,r.init(e,n?t+n:t,ct,0,[e]),r.render(1,r),ct._pt&&ei(1,ct)}:s.set(e,o);return a?l:function(t){return l(e,o,n?t+n:t,s,1)}},quickTo:function(e,t,n){var r,i=vi.to(e,vn(((r={})[t]="+=0.1",r.paused=!0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return it.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Cr(e.ease,ft.ease)),yn(ft,e||{})},config:function(e){return yn(ht,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||"").split(",").forEach((function(e){return e&&!$t[e]&&!Bt[e]&&Gt(t+" effect requires "+e+" plugin.")})),Jt[t]=function(e,t,r){return n(Kn(e),gn(t||{},i),r)},a&&(Nr.prototype[t]=function(e,n,r){return this.add(Jt[t](e,kt(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){xr[e]=Cr(t)},parseEase:function(e,t){return arguments.length?Cr(e,t):xr},getById:function(e){return it.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,r,i=new Nr(e);for(i.smoothChildTiming=Ct(e.smoothChildTiming),it.remove(i),i._dp=0,i._time=i._tTime=it._time,n=it._first;n;)r=n._next,!t&&!n._dur&&n instanceof Wr&&n.vars.onComplete===n._targets[0]||Nn(i,n,n._start-n._delay),n=r;return Nn(it,i,0),i},context:function(e,t){return e?new hi(e,t):rt},matchMedia:function(e){return new fi(e)},matchMediaRefresh:function(){return si.forEach((function(e){var t,n,r=e.conditions;for(n in r)r[n]&&(r[n]=!1,t=1);t&&e.revert()}))||di()},addEventListener:function(e,t){var n=oi[e]||(oi[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=oi[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:function e(t,n,r){var i=n-t;return Ot(t)?rr(t,e(0,t.length),n):Hn(r,(function(e){return(i+(e-t)%i)%i+t}))},wrapYoyo:function e(t,n,r){var i=n-t,a=2*i;return Ot(t)?rr(t,e(0,t.length-1),n):Hn(r,(function(e){return t+((e=(a+(e-t)%a)%a||0)>i?a-e:e)}))},distribute:Jn,random:nr,snap:tr,normalize:function(e,t,n){return ar(e,t,0,1,n)},getUnit:qn,clamp:function(e,t,n){return Hn(n,(function(n){return Wn(e,t,n)}))},splitColor:fr,toArray:Kn,selector:Qn,mapRange:ar,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||qn(n))}},interpolate:function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var s,o,l,u,c,d=Tt(t),h={};if(!0===r&&(i=1)&&(r=null),d)t={p:t},n={p:n};else if(Ot(t)&&!Ot(n)){for(l=[],u=t.length,c=u-2,o=1;o<u;o++)l.push(e(t[o-1],t[o]));u--,a=function(e){e*=u;var t=Math.min(c,~~e);return l[t](e-t)},r=n}else i||(t=vn(Ot(t)?[]:{},t));if(!l){for(s in n)Fr.call(h,t,s,"get",n[s]);a=function(e){return ei(e,h)||(d?t.p:t)}}}return Hn(r,a)},shuffle:$n},install:Vt,effects:Jt,ticker:_r,updateRoot:Nr.updateRoot,plugins:$t,globalTimeline:it,core:{PropTween:ai,globals:Ht,Tween:Wr,Timeline:Nr,Animation:Mr,getCache:an,_removeLinkedListItem:Tn,reverting:function(){return nt},context:function(e){return e&&rt&&(rt.data.push(e),e._ctx=rt),rt},suppressOverwrites:function(e){return tt=e}}};on("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return pi[e]=Wr[e]})),_r.add(Nr.updateRoot),ct=pi.to({},{duration:0});var mi=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},gi=function(e,t){return{name:e,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(Tt(n)&&(r={},on(n,(function(e){return r[e]=1})),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}!function(e,t){var n,r,i,a=e._targets;for(n in t)for(r=a.length;r--;)(i=e._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=mi(i,n)),i&&i.modifier&&i.modifier(t[n],e,a[r],n))}(e,n)}}}},vi=pi.registerPlugin({name:"attr",init:function(e,t,n,r,i){var a,s,o;for(a in this.tween=n,t)o=e.getAttribute(a)||"",(s=this.add(e,"setAttribute",(o||0)+"",t[a],r,i,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)nt?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},gi("roundProps",er),gi("modifiers"),gi("snap",tr))||pi;Wr.version=Nr.version=vi.version="3.11.4",lt=1,Pt()&&br();xr.Power0;var yi,_i,bi,xi,Ti,wi,Si,Ei,ki=xr.Power1,Ci=xr.Power2,Pi=xr.Power3,Ai=(xr.Power4,xr.Linear,xr.Quad,xr.Cubic,xr.Quart,xr.Quint,xr.Strong,xr.Elastic),Ii=(xr.Back,xr.SteppedEase,xr.Bounce,xr.Sine,xr.Expo,xr.Circ,{}),Oi=180/Math.PI,Di=Math.PI/180,Mi=Math.atan2,Ni=/([A-Z])/g,Ri=/(left|right|width|margin|padding|x)/i,Li=/[\s,\(]\S/,ji={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Fi=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Bi=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Ui=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},Vi=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},zi=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Gi=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},Hi=function(e,t,n){return e.style[t]=n},Wi=function(e,t,n){return e.style.setProperty(t,n)},qi=function(e,t,n){return e._gsap[t]=n},Yi=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Xi=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},Zi=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},Ki="transform",Qi=Ki+"Origin",$i=function(e,t){var n=this,r=this.target,i=r.style;if(e in Ii){if(this.tfm=this.tfm||{},"transform"!==e&&(~(e=ji[e]||e).indexOf(",")?e.split(",").forEach((function(e){return n.tfm[e]=ga(r,e)})):this.tfm[e]=r._gsap.x?r._gsap[e]:ga(r,e)),this.props.indexOf(Ki)>=0)return;r._gsap.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(Qi,t,"")),e=Ki}(i||t)&&this.props.push(e,t,i[e])},Ji=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ea=function(){var e,t,n=this.props,r=this.target,i=r.style,a=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?r[n[e]]=n[e+2]:n[e+2]?i[n[e]]=n[e+2]:i.removeProperty(n[e].replace(Ni,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)a[t]=this.tfm[t];a.svg&&(a.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),!(e=Si())||e.isStart||i[Ki]||(Ji(i),a.uncache=1)}},ta=function(e,t){var n={target:e,props:[],revert:ea,save:$i};return t&&t.split(",").forEach((function(e){return n.save(e)})),n},na=function(e,t){var n=_i.createElementNS?_i.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):_i.createElement(e);return n.style?n:_i.createElement(e)},ra=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(Ni,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&e(t,aa(n)||n,1)||""},ia="O,Moz,ms,Ms,Webkit".split(","),aa=function(e,t,n){var r=(t||Ti).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(ia[i]+e in r););return i<0?null:(3===i?"ms":i>=0?ia[i]:"")+e},sa=function(){"undefined"!==typeof window&&window.document&&(yi=window,_i=yi.document,bi=_i.documentElement,Ti=na("div")||{style:{}},na("div"),Ki=aa(Ki),Qi=Ki+"Origin",Ti.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ei=!!aa("perspective"),Si=vi.core.reverting,xi=1)},oa=function e(t){var n,r=na("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,a=this.nextSibling,s=this.style.cssText;if(bi.appendChild(r),r.appendChild(this),this.style.display="block",t)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(o){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(a?i.insertBefore(this,a):i.appendChild(this)),bi.removeChild(r),this.style.cssText=s,n},la=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},ua=function(e){var t;try{t=e.getBBox()}
vendor: 4,250 bytes, line 2
2catch(n){t=oa.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===oa||(t=oa.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+la(e,["x","cx","x1"])||0,y:+la(e,["y","cy","y1"])||0,width:0,height:0}},ca=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!ua(e))},da=function(e,t){if(t){var n=e.style;t in Ii&&t!==Qi&&(t=Ki),n.removeProperty?("ms"!==t.substr(0,2)&&"webkit"!==t.substr(0,6)||(t="-"+t),n.removeProperty(t.replace(Ni,"-$1").toLowerCase())):n.removeAttribute(t)}},ha=function(e,t,n,r,i,a){var s=new ai(e._pt,t,n,0,1,a?Gi:zi);return e._pt=s,s.b=r,s.e=i,e._props.push(n),s},fa={deg:1,rad:1,turn:1},pa={grid:1,flex:1},ma=function e(t,n,r,i){var a,s,o,l,u=parseFloat(r)||0,c=(r+"").trim().substr((u+"").length)||"px",d=Ti.style,h=Ri.test(n),f="svg"===t.tagName.toLowerCase(),p=(f?"client":"offset")+(h?"Width":"Height"),m=100,g="px"===i,v="%"===i;return i===c||!u||fa[i]||fa[c]?u:("px"!==c&&!g&&(u=e(t,n,r,"px")),l=t.getCTM&&ca(t),!v&&"%"!==c||!Ii[n]&&!~n.indexOf("adius")?(d[h?"width":"height"]=m+(g?c:i),s=~n.indexOf("adius")||"em"===i&&t.appendChild&&!f?t:t.parentNode,l&&(s=(t.ownerSVGElement||{}).parentNode),s&&s!==_i&&s.appendChild||(s=_i.body),(o=s._gsap)&&v&&o.width&&h&&o.time===_r.time&&!o.uncache?ln(u/o.width*m):((v||"%"===c)&&!pa[ra(s,"display")]&&(d.position=ra(t,"position")),s===t&&(d.position="static"),s.appendChild(Ti),a=Ti[p],s.removeChild(Ti),d.position="absolute",h&&v&&((o=an(s)).time=_r.time,o.width=s[p]),ln(g?a*u/m:a&&u?m/a*u:0))):(a=l?t.getBBox()[h?"width":"height"]:t[p],ln(v?u/a*m:u/100*a)))},ga=function(e,t,n,r){var i;return xi||sa(),t in ji&&"transform"!==t&&~(t=ji[t]).indexOf(",")&&(t=t.split(",")[0]),Ii[t]&&"transform"!==t?(i=Pa(e,r),i="transformOrigin"!==t?i[t]:i.svg?i.origin:Aa(ra(e,Qi))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=xa[t]&&xa[t](e,t,n)||ra(e,t)||sn(e,t)||("opacity"===t?1:0)),n&&!~(i+"").trim().indexOf(" ")?ma(e,t,i,n)+n:i},va=function(e,t,n,r){if(!n||"none"===n){var i=aa(t,e,1),a=i&&ra(e,i,1);a&&a!==n?(t=i,n=a):"borderColor"===t&&(n=ra(e,"borderTopColor"))}var s,o,l,u,c,d,h,f,p,m,g,v=new ai(this._pt,e.style,t,0,1,Jr),y=0,_=0;if(v.b=n,v.e=r,n+="","auto"===(r+="")&&(e.style[t]=r,r=ra(e,t)||r,e.style[t]=n),yr(s=[n,r]),r=s[1],l=(n=s[0]).match(Nt)||[],(r.match(Nt)||[]).length){for(;o=Nt.exec(r);)h=o[0],p=r.substring(y,o.index),c?c=(c+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(c=1),h!==(d=l[_++]||"")&&(u=parseFloat(d)||0,g=d.substr((u+"").length),"="===h.charAt(1)&&(h=cn(u,h)+g),f=parseFloat(h),m=h.substr((f+"").length),y=Nt.lastIndex-m.length,m||(m=m||ht.units[t]||g,y===r.length&&(r+=m,v.e+=m)),g!==m&&(u=ma(e,t,d,m)||0),v._pt={_next:v._pt,p:p||1===_?p:",",s:u,c:f-u,m:c&&c<4||"zIndex"===t?Math.round:0});v.c=y<r.length?r.substring(y,r.length):""}else v.r="display"===t&&"none"===r?Gi:zi;return Lt.test(r)&&(v.e=0),this._pt=v,v},ya={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},_a=function(e){var t=e.split(" "),n=t[0],r=t[1]||"50%";return"top"!==n&&"bottom"!==n&&"left"!==r&&"right"!==r||(e=n,n=r,r=e),t[0]=ya[n]||n,t[1]=ya[r]||r,t.join(" ")},ba=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,r,i,a=t.t,s=a.style,o=t.u,l=a._gsap;if("all"===o||!0===o)s.cssText="",r=1;else for(i=(o=o.split(",")).length;--i>-1;)n=o[i],Ii[n]&&(r=1,n="transformOrigin"===n?Qi:Ki),da(a,n);r&&(da(a,Ki),l&&(l.svg&&a.removeAttribute("transform"),Pa(a,1),l.uncache=1,Ji(s)))}},xa={clearProps:function(e,t,n,r,i){if("isFromStart"!==i.data){var a=e._pt=new ai(e._pt,t,n,0,0,ba);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},Ta=[1,0,0,1,0,0],wa={},Sa=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},Ea=function(e){var t=ra(e,Ki);return Sa(t)?Ta:t.substr(7).match(Mt).map(ln)},ka=function(e,t){var n,r,i,a,s=e._gsap||an(e),o=e.style,l=Ea(e);return s.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Ta:l:(l!==Ta||e.offsetParent||e===bi||s.svg||(i=o.display,o.display="block",(n=e.parentNode)&&e.offsetParent||(a=1,r=e.nextElementSibling,bi.appendChild(e)),l=Ea(e),i?o.display=i:da(e,"display"),a&&(r?n.insertBefore(e,r):n?n.appendChild(e):bi.removeChild(e))),t&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)}
vendor: 10,474 bytes, line 2
2,Ca=function(e,t,n,r,i,a){var s,o,l,u=e._gsap,c=i||ka(e,!0),d=u.xOrigin||0,h=u.yOrigin||0,f=u.xOffset||0,p=u.yOffset||0,m=c[0],g=c[1],v=c[2],y=c[3],_=c[4],b=c[5],x=t.split(" "),T=parseFloat(x[0])||0,w=parseFloat(x[1])||0;n?c!==Ta&&(o=m*y-g*v)&&(l=T*(-g/o)+w*(m/o)-(m*b-g*_)/o,T=T*(y/o)+w*(-v/o)+(v*b-y*_)/o,w=l):(T=(s=ua(e)).x+(~x[0].indexOf("%")?T/100*s.width:T),w=s.y+(~(x[1]||x[0]).indexOf("%")?w/100*s.height:w)),r||!1!==r&&u.smooth?(_=T-d,b=w-h,u.xOffset=f+(_*m+b*v)-_,u.yOffset=p+(_*g+b*y)-b):u.xOffset=u.yOffset=0,u.xOrigin=T,u.yOrigin=w,u.smooth=!!r,u.origin=t,u.originIsAbsolute=!!n,e.style[Qi]="0px 0px",a&&(ha(a,u,"xOrigin",d,T),ha(a,u,"yOrigin",h,w),ha(a,u,"xOffset",f,u.xOffset),ha(a,u,"yOffset",p,u.yOffset)),e.setAttribute("data-svg-origin",T+" "+w)},Pa=function(e,t){var n=e._gsap||new Dr(e);if("x"in n&&!t&&!n.uncache)return n;var r,i,a,s,o,l,u,c,d,h,f,p,m,g,v,y,_,b,x,T,w,S,E,k,C,P,A,I,O,D,M,N,R=e.style,L=n.scaleX<0,j="px",F="deg",B=getComputedStyle(e),U=ra(e,Qi)||"0";return r=i=a=l=u=c=d=h=f=0,s=o=1,n.svg=!(!e.getCTM||!ca(e)),B.translate&&("none"===B.translate&&"none"===B.scale&&"none"===B.rotate||(R[Ki]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[Ki]?B[Ki]:"")),R.scale=R.rotate=R.translate="none"),g=ka(e,n.svg),n.svg&&(n.uncache?(C=e.getBBox(),U=n.xOrigin-C.x+"px "+(n.yOrigin-C.y)+"px",k=""):k=!t&&e.getAttribute("data-svg-origin"),Ca(e,k||U,!!k||n.originIsAbsolute,!1!==n.smooth,g)),p=n.xOrigin||0,m=n.yOrigin||0,g!==Ta&&(b=g[0],x=g[1],T=g[2],w=g[3],r=S=g[4],i=E=g[5],6===g.length?(s=Math.sqrt(b*b+x*x),o=Math.sqrt(w*w+T*T),l=b||x?Mi(x,b)*Oi:0,(d=T||w?Mi(T,w)*Oi+l:0)&&(o*=Math.abs(Math.cos(d*Di))),n.svg&&(r-=p-(p*b+m*T),i-=m-(p*x+m*w))):(N=g[6],D=g[7],A=g[8],I=g[9],O=g[10],M=g[11],r=g[12],i=g[13],a=g[14],u=(v=Mi(N,O))*Oi,v&&(k=S*(y=Math.cos(-v))+A*(_=Math.sin(-v)),C=E*y+I*_,P=N*y+O*_,A=S*-_+A*y,I=E*-_+I*y,O=N*-_+O*y,M=D*-_+M*y,S=k,E=C,N=P),c=(v=Mi(-T,O))*Oi,v&&(y=Math.cos(-v),M=w*(_=Math.sin(-v))+M*y,b=k=b*y-A*_,x=C=x*y-I*_,T=P=T*y-O*_),l=(v=Mi(x,b))*Oi,v&&(k=b*(y=Math.cos(v))+x*(_=Math.sin(v)),C=S*y+E*_,x=x*y-b*_,E=E*y-S*_,b=k,S=C),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,c=180-c),s=ln(Math.sqrt(b*b+x*x+T*T)),o=ln(Math.sqrt(E*E+N*N)),v=Mi(S,E),d=Math.abs(v)>2e-4?v*Oi:0,f=M?1/(M<0?-M:M):0),n.svg&&(k=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!Sa(ra(e,Ki)),k&&e.setAttribute("transform",k))),Math.abs(d)>90&&Math.abs(d)<270&&(L?(s*=-1,d+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,d+=d<=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+j,n.y=i-((n.yPercent=i&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+j,n.z=a+j,n.scaleX=ln(s),n.scaleY=ln(o),n.rotation=ln(l)+F,n.rotationX=ln(u)+F,n.rotationY=ln(c)+F,n.skewX=d+F,n.skewY=h+F,n.transformPerspective=f+j,(n.zOrigin=parseFloat(U.split(" ")[2])||0)&&(R[Qi]=Aa(U)),n.xOffset=n.yOffset=0,n.force3D=ht.force3D,n.renderTransform=n.svg?La:Ei?Ra:Oa,n.uncache=0,n},Aa=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ia=function(e,t,n){var r=qn(t);return ln(parseFloat(t)+parseFloat(ma(e,"x",n+"px",r)))+r},Oa=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Ra(e,t)},Da="0deg",Ma="0px",Na=") ",Ra=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,s=n.y,o=n.z,l=n.rotation,u=n.rotationY,c=n.rotationX,d=n.skewX,h=n.skewY,f=n.scaleX,p=n.scaleY,m=n.transformPerspective,g=n.force3D,v=n.target,y=n.zOrigin,_="",b="auto"===g&&e&&1!==e||!0===g;if(y&&(c!==Da||u!==Da)){var x,T=parseFloat(u)*Di,w=Math.sin(T),S=Math.cos(T);T=parseFloat(c)*Di,x=Math.cos(T),a=Ia(v,a,w*x*-y),s=Ia(v,s,-Math.sin(T)*-y),o=Ia(v,o,S*x*-y+y)}m!==Ma&&(_+="perspective("+m+Na),(r||i)&&(_+="translate("+r+"%, "+i+"%) "),(b||a!==Ma||s!==Ma||o!==Ma)&&(_+=o!==Ma||b?"translate3d("+a+", "+s+", "+o+") ":"translate("+a+", "+s+Na),l!==Da&&(_+="rotate("+l+Na),u!==Da&&(_+="rotateY("+u+Na),c!==Da&&(_+="rotateX("+c+Na),d===Da&&h===Da||(_+="skew("+d+", "+h+Na),1===f&&1===p||(_+="scale("+f+", "+p+Na),v.style[Ki]=_||"translate(0, 0)"},La=function(e,t){var n,r,i,a,s,o=t||this,l=o.xPercent,u=o.yPercent,c=o.x,d=o.y,h=o.rotation,f=o.skewX,p=o.skewY,m=o.scaleX,g=o.scaleY,v=o.target,y=o.xOrigin,_=o.yOrigin,b=o.xOffset,x=o.yOffset,T=o.forceCSS,w=parseFloat(c),S=parseFloat(d);h=parseFloat(h),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),h+=p),h||f?(h*=Di,f*=Di,n=Math.cos(h)*m,r=Math.sin(h)*m,i=Math.sin(h-f)*-g,a=Math.cos(h-f)*g,f&&(p*=Di,s=Math.tan(f-p),i*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),n*=s=Math.sqrt(1+s*s),r*=s)),n=ln(n),r=ln(r),i=ln(i),a=ln(a)):(n=m,a=g,r=i=0),(w&&!~(c+"").indexOf("px")||S&&!~(d+"").indexOf("px"))&&(w=ma(v,"x",c,"px"),S=ma(v,"y",d,"px")),(y||_||b||x)&&(w=ln(w+y-(y*n+_*i)+b),S=ln(S+_-(y*r+_*a)+x)),(l||u)&&(s=v.getBBox(),w=ln(w+l/100*s.width),S=ln(S+u/100*s.height)),s="matrix("+n+","+r+","+i+","+a+","+w+","+S+")",v.setAttribute("transform",s),T&&(v.style[Ki]=s)},ja=function(e,t,n,r,i){var a,s,o=360,l=Tt(i),u=parseFloat(i)*(l&&~i.indexOf("rad")?Oi:1)-r,c=r+u+"deg";return l&&("short"===(a=i.split("_")[1])&&(u%=o)!==u%180&&(u+=u<0?o:-360),"cw"===a&&u<0?u=(u+36e9)%o-~~(u/o)*o:"ccw"===a&&u>0&&(u=(u-36e9)%o-~~(u/o)*o)),e._pt=s=new ai(e._pt,t,n,r,u,Bi),s.e=c,s.u="deg",e._props.push(n),s},Fa=function(e,t){for(var n in t)e[n]=t[n];return e},Ba=function(e,t,n){var r,i,a,s,o,l,u,c=Fa({},n._gsap),d=n.style;for(i in c.svg?(a=n.getAttribute("transform"),n.setAttribute("transform",""),d[Ki]=t,r=Pa(n,1),da(n,Ki),n.setAttribute("transform",a)):(a=getComputedStyle(n)[Ki],d[Ki]=t,r=Pa(n,1),d[Ki]=a),Ii)(a=c[i])!==(s=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(o=qn(a)!==(u=qn(s))?ma(n,i,a,u):parseFloat(a),l=parseFloat(s),e._pt=new ai(e._pt,r,i,o,l-o,Fi),e._pt.u=u||0,e._props.push(i));Fa(r,c)};on("padding,margin,Width,Radius",(function(e,t){var n="Top",r="Right",i="Bottom",a="Left",s=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map((function(n){return t<2?e+n:"border"+n+e}));xa[t>1?"border"+e:e]=function(e,t,n,r,i){var a,o;if(arguments.length<4)return a=s.map((function(t){return ga(e,t,n)})),5===(o=a.join(" ")).split(a[0]).length?a[0]:o;a=(r+"").split(" "),o={},s.forEach((function(e,t){return o[e]=a[t]=a[t]||a[(t-1)/2|0]})),e.init(t,o,i)}}));var Ua={name:"css",register:sa,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a,s,o,l,u,c,d,h,f,p,m,g,v,y,_,b,x=this._props,T=e.style,w=n.vars.startAt;for(d in xi||sa(),this.styles=this.styles||ta(e),b=this.styles.props,this.tween=n,t)if("autoRound"!==d&&(s=t[d],!$t[d]||!Br(d,t,n,r,e,i)))if(u=typeof s,c=xa[d],"function"===u&&(u=typeof(s=s.call(n,r,e,i))),"string"===u&&~s.indexOf("random(")&&(s=ir(s)),c)c(this,e,d,s,n)&&(_=1);else if("--"===d.substr(0,2))a=(getComputedStyle(e).getPropertyValue(d)+"").trim(),s+="",gr.lastIndex=0,gr.test(a)||(h=qn(a),f=qn(s)),f?h!==f&&(a=ma(e,d,a,f)+f):h&&(s+=h),this.add(T,"setProperty",a,s,r,i,0,0,d),x.push(d),b.push(d,0,T[d]);else if("undefined"!==u){if(w&&d in w?(a="function"===typeof w[d]?w[d].call(n,r,e,i):w[d],Tt(a)&&~a.indexOf("random(")&&(a=ir(a)),qn(a+"")||(a+=ht.units[d]||qn(ga(e,d))||""),"="===(a+"").charAt(1)&&(a=ga(e,d))):a=ga(e,d),l=parseFloat(a),(p="string"===u&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),o=parseFloat(s),d in ji&&("autoAlpha"===d&&(1===l&&"hidden"===ga(e,"visibility")&&o&&(l=0),b.push("visibility",0,T.visibility),ha(this,T,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==d&&"transform"!==d&&~(d=ji[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in Ii)if(this.styles.save(d),g||((v=e._gsap).renderTransform&&!t.parseTransform||Pa(e,t.parseTransform),y=!1!==t.smoothOrigin&&v.smooth,(g=this._pt=new ai(this._pt,T,Ki,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new ai(this._pt,v,"scaleY",v.scaleY,(p?cn(v.scaleY,p+o):o)-v.scaleY||0,Fi),this._pt.u=0,x.push("scaleY",d),d+="X";else{if("transformOrigin"===d){b.push(Qi,0,T[Qi]),s=_a(s),v.svg?Ca(e,s,0,y,0,this):((f=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&&ha(this,v,"zOrigin",v.zOrigin,f),ha(this,T,d,Aa(a),Aa(s)));continue}if("svgOrigin"===d){Ca(e,s,1,y,0,this);continue}if(d in wa){ja(this,v,d,l,p?cn(l,p+s):s);continue}if("smoothOrigin"===d){ha(this,v,"smooth",v.smooth,s);continue}if("force3D"===d){v[d]=s;continue}if("transform"===d){Ba(this,s,e);continue}}else d in T||(d=aa(d)||d);if(m||(o||0===o)&&(l||0===l)&&!Li.test(s)&&d in T)o||(o=0),(h=(a+"").substr((l+"").length))!==(f=qn(s)||(d in ht.units?ht.units[d]:h))&&(l=ma(e,d,a,f)),this._pt=new ai(this._pt,m?v:T,d,l,(p?cn(l,p+o):o)-l,m||"px"!==f&&"zIndex"!==d||!1===t.autoRound?Fi:Vi),this._pt.u=f||0,h!==f&&"%"!==f&&(this._pt.b=a,this._pt.r=Ui);else if(d in T)va.call(this,e,d,a,p?p+s:s);else if(d in e)this.add(e,d,a||e[d],p?p+s:s,r,i);else if("parseTransform"!==d){zt(d,s);continue}m||(d in T?b.push(d,0,T[d]):b.push(d,1,a||e[d])),x.push(d)}_&&ii(this)},render:function(e,t){if(t.tween._time||!Si())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:ga,aliases:ji,getSetter:function(e,t,n){var r=ji[t];return r&&r.indexOf(",")<0&&(t=r),t in Ii&&t!==Qi&&(e._gsap.x||ga(e,"x"))?n&&wi===n?"scale"===t?Yi:qi:(wi=n||{})&&("scale"===t?Xi:Zi):e.style&&!Et(e.style[t])?Hi:~t.indexOf("-")?Wi:Kr(e,t)},core:{_removeProperty:da,_getMatrix:ka}};vi.utils.checkPrefix=aa,vi.core.getStyleSaver=ta,function(e,t,n,r){var i=on(e+","+t+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(e){Ii[e]=1}));on(t,(function(e){ht.units[e]="deg",wa[e]=1})),ji[i[13]]=e+","+t,on("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(e){var t=e.split(":");ji[t[1]]=i[t[0]]}))}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY"),on("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){ht.units[e]="px"})),vi.registerPlugin(Ua);var Va=vi.registerPlugin(Ua)||vi,za=(Va.core.Tween,"Header_header__1iCIK"),Ga="Header_light__nuJv3",Ha="Header_jdfxLogo__6enQH";var Wa=__webpack_require__.p+"static/media/jdfx-logo-black.a50d5e28aefe51c850a0ebd8aa9ca0db.svg",qa=function(e){var t,n=new Set,r=function(e,r){var i="function"===typeof e?e(t):e;if(!Object.is(i,t)){var a=t;t=(null!=r?r:"object"!==typeof i)?i:Object.assign({}
2,t,i),n.forEach((function(e){return e(t,a)}))}},i=function(){return t},a={setState:r,getState:i,subscribe:function(e){return n.add(e),function(){return n.delete(e)}},destroy:function(){console.warn("[DEPRECATED] The destroy method will be unsupported in the future version. You should use unsubscribe function returned by subscribe. Everything will be garbage collected if store is garbage collected."),n.clear()}};return t=e(r,i,a),a},Ya=function(e){return e?qa(e):qa},Xa=__webpack_require__(327).useSyncExternalStoreWithSelector;var Za=function(e){"function"!==typeof e&&console.warn('[DEPRECATED] Passing a vanilla store will be unsupported in the future version. Please use `import { useStore } from "zustand"` to use the vanilla store in React.');var t="function"===typeof e?Ya(e):e,n=function(e,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.getState,n=arguments.length>2?arguments[2]:void 0,r=Xa(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return(0,a.useDebugValue)(r),r}(t,e,n)};return Object.assign(n,t),n},Ka=function(e){return e?Za(e):Za},Qa=Ka((function(e){return{theme:"DARK",setTheme:function(t){return e({theme:t})}}})),$a=Qa,Ja=function(){var e=(0,a.useRef)(null),t=$a();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("header",{className:$e()(za,Xe({},Ga,"LIGHT"===t.theme)),children:(0,n.jsx)(We,{to:"/",children:(0,n.jsx)("img",{ref:e,className:Ha,src:Wa,alt:"JUSTDesign FX Logo"})})})})};function es(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ts,ns,rs,is,as,ss,os,ls,us,cs,ds,hs,fs,ps=function(){return ts||"undefined"!==typeof window&&(ts=window.gsap)&&ts.registerPlugin&&ts},ms=1,gs=[],vs=[],ys=[],_s=Date.now,bs=function(e,t){return t},xs=function(e,t){return~ys.indexOf(e)&&ys[ys.indexOf(e)+1][t]},Ts=function(e){return!!~cs.indexOf(e)},ws=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},Ss=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},Es="scrollLeft",ks="scrollTop",Cs=function(){return ds&&ds.isPressed||vs.cache++},Ps=function(e,t){var n=function n(r){if(r||0===r){ms&&(rs.history.scrollRestoration="manual");var i=ds&&ds.isPressed;r=n.v=Math.round(r)||(ds&&ds.iOS?1:0),e(r),n.cacheID=vs.cache,i&&bs("ss",r)}else(t||vs.cache!==n.cacheID||bs("ref"))&&(n.cacheID=vs.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},As={s:Es,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Ps((function(e){return arguments.length?rs.scrollTo(e,Is.sc()):rs.pageXOffset||is[Es]||as[Es]||ss[Es]||0}))},Is={s:ks,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:As,sc:Ps((function(e){return arguments.length?rs.scrollTo(As.sc(),e):rs.pageYOffset||is[ks]||as[ks]||ss[ks]||0}))},Os=function(e){return ts.utils.toArray(e)[0]||("string"===typeof e&&!1!==ts.config().nullTargetWarn?console.warn("Element not found:",e):null)},Ds=function(e,t){var n=t.s,r=t.sc;Ts(e)&&(e=is.scrollingElement||as);var i=vs.indexOf(e),a=r===Is.sc?1:2;!~i&&(i=vs.push(e)-1),vs[i+a]||e.addEventListener("scroll",Cs);var s=vs[i+a],o=s||(vs[i+a]=Ps(xs(e,n),!0)||(Ts(e)?r:Ps((function(t){return arguments.length?e[n]=t:e[n]}))));return o.target=e,s||(o.smooth="smooth"===ts.getProperty(e,"scrollBehavior")),o},Ms=function(e,t,n){var r=e,i=e,a=_s(),s=a,o=t||50,l=Math.max(500,3*o),u=function(e,t){var l=_s();t||l-a>o?(i=r,r=e,s=a,a=l):n?r+=e:r=i+(e-i)/(l-s)*(a-s)};return{update:u,reset:function(){i=r=n?0:r,s=a=0},getVelocity:function(e){var t=s,o=i,c=_s();return(e||0===e)&&e!==r&&u(e),a===s||c-s>l?0:(r+(n?o:-o))/((n?c:a)-t)*1e3}}},Ns=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Rs=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},Ls=function(){(us=ts.core.globals().ScrollTrigger)&&us.core&&function(){var e=us.core,t=e.bridge||{},n=e._scrollers,r=e._proxies;n.push.apply(n,vs),r.push.apply(r,ys),vs=n,ys=r,bs=function(e,n){return t[e](n)}}()},js=function(e){return(ts=e||ps())&&"undefined"!==typeof document&&document.body&&(rs=window,is=document,as=is.documentElement,ss=is.body,cs=[rs,is,as,ss],ts.utils.clamp,fs=ts.core.context||function(){},ls="onpointerenter"in ss?"pointer":"mouse",os=Fs.isTouch=rs.matchMedia&&rs.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in rs||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,hs=Fs.eventTypes=("ontouchstart"in as?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in as?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return ms=0}),500),Ls(),ns=1),ns};As.op=Is,vs.cache=0;var Fs=function(){function e(e){this.init(e)}var t,n,r;return e.prototype.init=function(e){ns||js(ts)||console.warn("Please gsap.registerPlugin(Observer)"),us||Ls();var t=e.tolerance,n=e.dragMinimum,r=e.type,i=e.target,a=e.lineHeight,s=e.debounce,o=e.preventDefault,l=e.onStop,u=e.onStopDelay,c=e.ignore,d=e.wheelSpeed,h=e.event,f=e.onDragStart,p=e.onDragEnd,m=e.onDrag,g=e.onPress,v=e.onRelease,y=e.onRight,_=e.onLeft,b=e.onUp,x=e.onDown,T=e.onChangeX,w=e.onCh
vendor: 13,201 bytes, line 2
2angeY,S=e.onChange,E=e.onToggleX,k=e.onToggleY,C=e.onHover,P=e.onHoverEnd,A=e.onMove,I=e.ignoreCheck,O=e.isNormalizer,D=e.onGestureStart,M=e.onGestureEnd,N=e.onWheel,R=e.onEnable,L=e.onDisable,j=e.onClick,F=e.scrollSpeed,B=e.capture,U=e.allowClicks,V=e.lockAxis,z=e.onLockAxis;this.target=i=Os(i)||as,this.vars=e,c&&(c=ts.utils.toArray(c)),t=t||1e-9,n=n||0,d=d||1,F=F||1,r=r||"wheel,touch,pointer",s=!1!==s,a||(a=parseFloat(rs.getComputedStyle(ss).lineHeight)||22);var G,H,W,q,Y,X,Z,K=this,Q=0,$=0,J=Ds(i,As),ee=Ds(i,Is),te=J(),ne=ee(),re=~r.indexOf("touch")&&!~r.indexOf("pointer")&&"pointerdown"===hs[0],ie=Ts(i),ae=i.ownerDocument||is,se=[0,0,0],oe=[0,0,0],le=0,ue=function(){return le=_s()},ce=function(e,t){return(K.event=e)&&c&&~c.indexOf(e.target)||t&&re&&"touch"!==e.pointerType||I&&I(e,t)},de=function(){var e=K.deltaX=Rs(se),n=K.deltaY=Rs(oe),r=Math.abs(e)>=t,i=Math.abs(n)>=t;S&&(r||i)&&S(K,e,n,se,oe),r&&(y&&K.deltaX>0&&y(K),_&&K.deltaX<0&&_(K),T&&T(K),E&&K.deltaX<0!==Q<0&&E(K),Q=K.deltaX,se[0]=se[1]=se[2]=0),i&&(x&&K.deltaY>0&&x(K),b&&K.deltaY<0&&b(K),w&&w(K),k&&K.deltaY<0!==$<0&&k(K),$=K.deltaY,oe[0]=oe[1]=oe[2]=0),(q||W)&&(A&&A(K),W&&(m(K),W=!1),q=!1),X&&!(X=!1)&&z&&z(K),Y&&(N(K),Y=!1),G=0},he=function(e,t,n){se[n]+=e,oe[n]+=t,K._vx.update(e),K._vy.update(t),s?G||(G=requestAnimationFrame(de)):de()},fe=function(e,t){V&&!Z&&(K.axis=Z=Math.abs(e)>Math.abs(t)?"x":"y",X=!0),"y"!==Z&&(se[2]+=e,K._vx.update(e,!0)),"x"!==Z&&(oe[2]+=t,K._vy.update(t,!0)),s?G||(G=requestAnimationFrame(de)):de()},pe=function(e){if(!ce(e,1)){var t=(e=Ns(e,o)).clientX,r=e.clientY,i=t-K.x,a=r-K.y,s=K.isDragging;K.x=t,K.y=r,(s||Math.abs(K.startX-t)>=n||Math.abs(K.startY-r)>=n)&&(m&&(W=!0),s||(K.isDragging=!0),fe(i,a),s||f&&f(K))}},me=K.onPress=function(e){ce(e,1)||(K.axis=Z=null,H.pause(),K.isPressed=!0,e=Ns(e),Q=$=0,K.startX=K.x=e.clientX,K.startY=K.y=e.clientY,K._vx.reset(),K._vy.reset(),ws(O?i:ae,hs[1],pe,o,!0),K.deltaX=K.deltaY=0,g&&g(K))},ge=function(e){if(!ce(e,1)){Ss(O?i:ae,hs[1],pe,!0);var t=!isNaN(K.y-K.startY),n=K.isDragging&&(Math.abs(K.x-K.startX)>3||Math.abs(K.y-K.startY)>3),r=Ns(e);!n&&t&&(K._vx.reset(),K._vy.reset(),o&&U&&ts.delayedCall(.08,(function(){if(_s()-le>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(ae.createEvent){var t=ae.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,rs,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),K.isDragging=K.isGesturing=K.isPressed=!1,l&&!O&&H.restart(!0),p&&n&&p(K),v&&v(K,n)}},ve=function(e){return e.touches&&e.touches.length>1&&(K.isGesturing=!0)&&D(e,K.isDragging)},ye=function(){return(K.isGesturing=!1)||M(K)},_e=function(e){if(!ce(e)){var t=J(),n=ee();he((t-te)*F,(n-ne)*F,1),te=t,ne=n,l&&H.restart(!0)}},be=function(e){if(!ce(e)){e=Ns(e,o),N&&(Y=!0);var t=(1===e.deltaMode?a:2===e.deltaMode?rs.innerHeight:1)*d;he(e.deltaX*t,e.deltaY*t,0),l&&!O&&H.restart(!0)}},xe=function(e){if(!ce(e)){var t=e.clientX,n=e.clientY,r=t-K.x,i=n-K.y;K.x=t,K.y=n,q=!0,(r||i)&&fe(r,i)}},Te=function(e){K.event=e,C(K)},we=function(e){K.event=e,P(K)},Se=function(e){return ce(e)||Ns(e,o)&&j(K)};H=K._dc=ts.delayedCall(u||.25,(function(){K._vx.reset(),K._vy.reset(),H.pause(),l&&l(K)})).pause(),K.deltaX=K.deltaY=0,K._vx=Ms(0,50,!0),K._vy=Ms(0,50,!0),K.scrollX=J,K.scrollY=ee,K.isDragging=K.isGesturing=K.isPressed=!1,fs(this),K.enable=function(e){return K.isEnabled||(ws(ie?ae:i,"scroll",Cs),r.indexOf("scroll")>=0&&ws(ie?ae:i,"scroll",_e,o,B),r.indexOf("wheel")>=0&&ws(i,"wheel",be,o,B),(r.indexOf("touch")>=0&&os||r.indexOf("pointer")>=0)&&(ws(i,hs[0],me,o,B),ws(ae,hs[2],ge),ws(ae,hs[3],ge),U&&ws(i,"click",ue,!1,!0),j&&ws(i,"click",Se),D&&ws(ae,"gesturestart",ve),M&&ws(ae,"gestureend",ye),C&&ws(i,ls+"enter",Te),P&&ws(i,ls+"leave",we),A&&ws(i,ls+"move",xe)),K.isEnabled=!0,e&&e.type&&me(e),R&&R(K)),K},K.disable=function(){K.isEnabled&&(gs.filter((function(e){return e!==K&&Ts(e.target)})).length||Ss(ie?ae:i,"scroll",Cs),K.isPressed&&(K._vx.reset(),K._vy.reset(),Ss(O?i:ae,hs[1],pe,!0)),Ss(ie?ae:i,"scroll",_e,B),Ss(i,"wheel",be,B),Ss(i,hs[0],me,B),Ss(ae,hs[2],ge),Ss(ae,hs[3],ge),Ss(i,"click",ue,!0),Ss(i,"click",Se),Ss(ae,"gesturestart",ve),Ss(ae,"gestureend",ye),Ss(i,ls+"enter",Te),Ss(i,ls+"leave",we),Ss(i,ls+"move",xe),K.isEnabled=K.isPressed=K.isDragging=!1,L&&L(K))},K.kill=K.revert=function(){K.disable();var e=gs.indexOf(K);e>=0&&gs.splice(e,1),ds===K&&(ds=0)},gs.push(K),O&&Ts(i)&&(ds=K),K.enable(h)},t=e,(n=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&es(t.prototype,n),r&&es(t,r),e}();Fs.version="3.11.4",Fs.create=function(e){return new Fs(e)},Fs.register=js,Fs.getAll=function(){return gs.slice()},Fs.getById=function(e){return gs.filter((function(t){return t.vars.id===e}))[0]},ps()&&ts.registerPlugin(Fs);var Bs,Us,Vs,zs,Gs,Hs,Ws,qs,Ys,Xs,Zs,Ks,Qs,$s,Js,eo,to,no,ro,io,ao,so,oo,lo,uo,co,ho,fo,po,mo,go,vo,yo,_o,bo=1,xo=Date.now,To=xo(),wo=0,So=0,Eo=function(){return $s=1},ko=function(){return $s=0},Co=function(e){return e},Po=function(e){return Math.round(1e5*e)/1e5||0},Ao=function(){return"undefined"!==typeof window},Io=function(){return Bs||Ao()&&(Bs=window.gsap)&&Bs.registerPlugin&&Bs},Oo=function(e){return!!~Ws.indexOf(e)},Do=function(e){return xs(e,"getBoundingClientRect")||(Oo(e)?function(){return Gl.width=Vs.innerWidth,Gl.height=Vs.innerHeight,Gl}:function(){return il(e)})},Mo=function(e,t){var n=t.s,r=t.d2,i=t.d,a=t.a;return(n="scroll"+r)&&(a=xs(e,n))?a()-Do(e)()[i]:Oo(e)?(Gs[n]||Hs[n])-(Vs["inner"+r]||Gs["client"+r]||Hs["client"+r]):e[n]-e["offset"+r]},No=function(e,t){for(var n=0;n<ro.length;n+=3)(!t||~t.indexOf(ro[n+1]))&&e(ro[n],ro[n+1],ro[n+2])},Ro=function(e){return"string"===typeof e},Lo=function(e){return"function"===typeof e},jo=function(e){return"number"===typeof e},Fo=function(e){return"object"===typeof e},Bo=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},Uo=function(e,t){if(e.enabled){var n=t(e);n&&n.totalTime&&(e.callbackAnimation=n)}},Vo=Math.abs,zo="left",Go="right",Ho="bottom",Wo="width",qo="height",Yo="Right",Xo="Left",Zo="Top",Ko="Bottom",Qo="padding",$o="margin",Jo="Width",el="Height",tl="px",nl=function(e){return Vs.getComputedStyle(e)},rl=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},il=function(e,t){var n=t&&"matrix(1, 0, 0, 1, 0, 0)"!==nl(e)[Js]&&Bs.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect();return n&&n.progress(0).kill(),r},al=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},sl=function(e){var t,n=[],r=e.labels,i=e.duration();for(t in r)n.push(r[t]/i);return n},ol=function(e){var t=Bs.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort((function(e,t){return e-t}));return n?function(e,r,i){var a;if(void 0===i&&(i=.001),!r)return t(e);if(r>0){for(e-=i,a=0;a<n.length;a++)if(n[a]>=e)return n[a];return n[a-1]}for(a=n.length,e+=i;a--;)if(n[a]<=e)return n[a];return n[0]}:function(n,r,i){void 0===i&&(i=.001);var a=t(n);return!r||Math.abs(a-n)<i||a-n<0===r<0?a:t(r<0?n-e:n+e)}},ll=function(e,t,n,r){return n.split(",").forEach((function(n){return e(t,n,r)}))},ul=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},cl=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},dl=function(e,t,n){return n&&n.wheelHandler&&e(t,"wheel",n)},hl={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},fl={toggleActions:"play",anticipatePin:0},pl={top:0,left:0,center:.5,bottom:1,right:1},ml=function(e,t){if(Ro(e)){var n=e.indexOf("="),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in pl?pl[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},gl=function(e,t,n,r,i,a,s,o){var l=i.startColor,u=i.endColor,c=i.fontSize,d=i.indent,h=i.fontWeight,f=zs.createElement("div"),p=Oo(n)||"fixed"===xs(n,"pinType"),m=-1!==e.indexOf("scroller"),g=p?Hs:n,v=-1!==e.indexOf("start"),y=v?l:u,_="border-color:"+y+";font-size:"+c+";color:"+y+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return _+="position:"+((m||o)&&p?"fixed;":"absolute;"),(m||o||!p)&&(_+=(r===Is?Go:Ho)+":"+(a+parseFloat(d))+"px;"),s&&(_+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),f._isStart=v,f.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),f.style.cssText=_,f.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(f,g.children[0]):g.appendChild(f),f._offset=f["offset"+r.op.d2],vl(f,0,r,v),f},vl=function(e,t,n,r){var i={display:"block"},a=n[r?"os2":"p2"],s=n[r?"p2":"os2"];e._isFlipped=r,i[n.a+"Percent"]=r?-100:0,i[n.a]=r?"1px":0,i["border"+a+Jo]=1,i["border"+s+Jo]=0,i[n.p]=t+"px",Bs.set(e,i)},yl=[],_l={},bl=function(){return xo()-wo>34&&(go||(go=requestAnimationFrame(Ll)))},xl=function(){(!oo||!oo.isPressed||oo.startX>Hs.clientWidth)&&(vs.cache++,oo?go||(go=requestAnimationFrame(Ll)):Ll(),wo||Cl("scrollStart"),wo=xo())},Tl=function(){co=Vs.innerWidth,uo=Vs.innerHeight},wl=function(){vs.cache++,!Qs&&!so&&!zs.fullscreenElement&&!zs.webkitFullscreenElement&&(!lo||co!==Vs.innerWidth||Math.abs(Vs.innerHeight-uo)>.25*Vs.innerHeight)&&qs.restart(!0)},Sl={},El=[],kl=function e(){return cl(Xl,"scrollEnd",e)||Ml(!0)},Cl=function(e){return Sl[e]&&Sl[e].map((function(e){return e()}))||El},Pl=[],Al=function(e){for(var t=0;t<Pl.length;t+=5)(!e||Pl[t+4]&&Pl[t+4].query===e)&&(Pl[t].style.cssText=Pl[t+1],Pl[t].getBBox&&Pl[t].setAttribute("transform",Pl[t+2]||""),Pl[t+3].uncache=1)},Il=function(e,t){var n;for(eo=0;eo<yl.length;eo++)!(n=yl[eo])||t&&n._ctx!==t||(e?n.kill(1):n.revert(!0,!0));t&&Al(t),t||Cl("revert")},Ol=function(e,t){vs.cache++,(t||!vo)&&vs.forEach((function(e){return Lo(e)&&e.cacheID++&&(e.rec=0)})),Ro(e)&&(Vs.history.scrollRestoration=po=e)},Dl=0,Ml=function(e,t){if(!wo||e){vo=Xl.isRefreshing=!0,vs.forEach((function(e){return Lo(e)&&e.cacheID++&&(e.rec=e())}));var n=Cl("refreshInit");io&&Xl.sort(),t||Il(),vs.forEach((function(e){Lo(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))})),yl.slice(0).forEach((function(e){return e.refresh()})),yl.forEach((function(e,t){if(e._subPinOffset&&e.pin){var n=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[n];e.revert(!0,1),e.adjustPinSpacing(e.pin[n]-r),e.revert(!1,1)}})),yl.forEach((function(e){return"max"===e.vars.end&&e.setPositions(e.start,Math.max(e.start+1,Mo(e.scroller,e._dir)))})),n.forEach((function(e){return e&&e.render&&e.render(-1)})),vs.forEach((function(e){Lo(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),Ol(po,1),qs.pause(),Dl++,Ll(2),yl.forEach((function(e){return Lo(e.vars.onRefresh)&&e.vars.onRefresh(e)})),vo=Xl.isRefreshing=!1,Cl("refresh")}else ul(Xl,"scrollEnd",kl)},Nl=0,Rl=1,Ll=function(e){if(!vo||2===e){Xl.isUpdating=!0,_o&&_o.update(0);var t=yl.length,n=xo(),r=n-To>=50,i=t&&yl[0].scroll();if(Rl=Nl>i?-1:1,Nl=i,r&&(wo&&!$s&&n-wo>200&&(wo=0,Cl("scrollEnd")),Zs=To,To=n),Rl<0){for(eo=t;eo-- >0;)yl[eo]&&yl[eo].update(0,r);Rl=1}else for(eo=0;eo<t;eo++)yl[eo]&&yl[eo].update(0,r);Xl.isUpdating=!1}go=0},jl=[zo,"top",Ho,Go,$o+Ko,$o+Yo,$o+Zo,$o+Xo,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Fl=jl.concat([Wo,qo,"boxSizing","max"+Jo,"max"+el,"position",$o,Qo,Qo+Zo,Qo+Yo,Qo+Ko,Qo+Xo]),Bl=function(e,t,n,r){if(!e._gsap.swappedIn){for(var i,a=jl.length,s=t.style,o=e.style;a--;)s[i=jl[a]]=n[i];s.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(s.display="inline-block"),o[Ho]=o[Go]="auto",s.flexBasis=n.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[Wo]=al(e,As)+tl,s[qo]=al(e,Is)+tl,s[Qo]=o[$o]=o.top=o[zo]="0",Vl(r),o[Wo]=o["max"+Jo]=n[Wo],o[qo]=o["max"+el]=n[qo],o[Qo]=n[Qo],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Ul=/([A-Z])/g,Vl=function(e){if(e){var t,n,r=e.t.style,i=e.length,a=0;for((e.t._gsap||Bs.core.getCache(e.t)).uncache=1;a<i;a+=2)n=e[a+1],t=e[a],n?r[t]=n:r[t]&&r.removeProperty(t.replace(Ul,"-$1").toLowerCase())}},zl=function(e){for(var t=Fl.length,n=e.style,r=[],i=0;i<t;i++)r.push(Fl[i],n[Fl[i]]);return r.t=e,r},Gl={left:0,top:0},Hl=function(e,t,n,r,i,a,s,o,l,u,c,d,h){Lo(e)&&(e=e(o)),Ro(e)&&"max"===e.substr(0,3)&&(e=d+("="===e.charAt(4)?ml("0"+e.substr(3),n):0));var f,p,m,g=h?h.time():0;if(h&&h.seek(0),jo(e))s&&vl(s,n,r,!0);else{Lo(t)&&(t=t(o));var v,y,_,b,x=(e||"0").split(" ");m=Os(t)||Hs,(v=il(m)||{})&&(v.left||v.top)||"none"!==nl(m).display||(b=m.style.display,m.style.display="block",v=il(m),b?m.style.display=b:m.style.removeProperty("display")),y=ml(x[0],v[r.d]),_=ml(x[1]||"0",n),e=v[r.p]-l[r.p]-u+y+i-_,s&&vl(s,_,r,n-_<20||s._isStart&&_>20),n-=n-_}if(a){var T=e+n,w=a._isStart;f="scroll"+r.d2,vl(a,T,r,w&&T>20||!w&&(c?Math.max(Hs[f],Gs[f]):a.parentNode[f])<=T+1),c&&(l=il(s),c&&(a.style[r.op.p]=l[r.op.p]-r.op.m-a._offset+tl))}return h&&m&&(f=il(m),h.seek(d),p=il(m),h._caScrollDist=f[r.p]-p[r.p],e=e/h._c
2aScrollDist*d),h&&h.seek(g),h?e:Math.round(e)},Wl=/(webkit|moz|length|cssText|inset)/i,ql=function(e,t,n,r){if(e.parentNode!==t){var i,a,s=e.style;if(t===Hs){for(i in e._stOrig=s.cssText,a=nl(e))+i||Wl.test(i)||!a[i]||"string"!==typeof s[i]||"0"===i||(s[i]=a[i]);s.top=n,s.left=r}else s.cssText=e._stOrig;Bs.core.getCache(e).uncache=1,t.appendChild(e)}},Yl=function(e,t){var n,r,i=Ds(e,t),a="_scroll"+t.p2,s=function t(s,o,l,u,c){var d=t.tween,h=o.onComplete,f={};return l=l||i(),c=u&&c||0,u=u||s-l,d&&d.kill(),n=Math.round(l),o[a]=s,o.modifiers=f,f[a]=function(e){return(e=Math.round(i()))!==n&&e!==r&&Math.abs(e-n)>3&&Math.abs(e-r)>3?(d.kill(),t.tween=0):e=l+u*d.ratio+c*d.ratio*d.ratio,r=n,n=Math.round(e)},o.onUpdate=function(){vs.cache++,Ll()},o.onComplete=function(){t.tween=0,h&&h.call(d)},d=t.tween=Bs.to(e,o)};return e[a]=i,i.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},ul(e,"wheel",i.wheelHandler),s},Xl=function(){function e(t,n){Us||e.register(Bs)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),So){var r,i,a,s,o,l,u,c,d,h,f,p,m,g,v,y,_,b,x,T,w,S,E,
vendor: 18,407 bytes, line 2
2k,C,P,A,I,O,D,M,N,R,L,j,F,B,U,V,z,G=t=rl(Ro(t)||jo(t)||t.nodeType?{trigger:t}:t,fl),H=G.onUpdate,W=G.toggleClass,q=G.id,Y=G.onToggle,X=G.onRefresh,Z=G.scrub,K=G.trigger,Q=G.pin,$=G.pinSpacing,J=G.invalidateOnRefresh,ee=G.anticipatePin,te=G.onScrubComplete,ne=G.onSnapComplete,re=G.once,ie=G.snap,ae=G.pinReparent,se=G.pinSpacer,oe=G.containerAnimation,le=G.fastScrollEnd,ue=G.preventOverlaps,ce=t.horizontal||t.containerAnimation&&!1!==t.horizontal?As:Is,de=!Z&&0!==Z,he=Os(t.scroller||Vs),fe=Bs.core.getCache(he),pe=Oo(he),me="fixed"===("pinType"in t?t.pinType:xs(he,"pinType")||pe&&"fixed"),ge=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],ve=de&&t.toggleActions.split(" "),ye="markers"in t?t.markers:fl.markers,_e=pe?0:parseFloat(nl(he)["border"+ce.p2+Jo])||0,be=this,xe=t.onRefreshInit&&function(){return t.onRefreshInit(be)},Te=function(e,t,n){var r=n.d,i=n.d2,a=n.a;return(a=xs(e,"getBoundingClientRect"))?function(){return a()[r]}:function(){return(t?Vs["inner"+i]:e["client"+i])||0}}(he,pe,ce),we=function(e,t){return!t||~ys.indexOf(e)?Do(e):function(){return Gl}}(he,pe),Se=0,Ee=0,ke=Ds(he,ce);if(fo(be),be._dir=ce,ee*=45,be.scroller=he,be.scroll=oe?oe.time.bind(oe):ke,s=ke(),be.vars=t,n=n||t.animation,"refreshPriority"in t&&(io=1,-9999===t.refreshPriority&&(_o=be)),fe.tweenScroll=fe.tweenScroll||{top:Yl(he,Is),left:Yl(he,As)},be.tweenTo=r=fe.tweenScroll[ce.p],be.scrubDuration=function(e){(N=jo(e)&&e)?M?M.duration(e):M=Bs.to(n,{ease:"expo",totalProgress:"+=0.001",duration:N,paused:!0,onComplete:function(){return te&&te(be)}}):(M&&M.progress(1).kill(),M=0)},n&&(n.vars.lazy=!1,n._initted||!1!==n.vars.immediateRender&&!1!==t.immediateRender&&n.duration()&&n.render(0,!0,!0),be.animation=n.pause(),n.scrollTrigger=be,be.scrubDuration(Z),O=0,q||(q=n.vars.id)),yl.push(be),ie&&(Fo(ie)&&!ie.push||(ie={snapTo:ie}),"scrollBehavior"in Hs.style&&Bs.set(pe?[Hs,Gs]:he,{scrollBehavior:"auto"}),vs.forEach((function(e){return Lo(e)&&e.target===(pe?zs.scrollingElement||Gs:he)&&(e.smooth=!1)})),a=Lo(ie.snapTo)?ie.snapTo:"labels"===ie.snapTo?function(e){return function(t){return Bs.utils.snap(sl(e),t)}}(n):"labelsDirectional"===ie.snapTo?(z=n,function(e,t){return ol(sl(z))(e,t.direction)}):!1!==ie.directional?function(e,t){return ol(ie.snapTo)(e,xo()-Ee<500?0:t.direction)}:Bs.utils.snap(ie.snapTo),R=ie.duration||{min:.1,max:2},R=Fo(R)?Xs(R.min,R.max):Xs(R,R),L=Bs.delayedCall(ie.delay||N/2||.1,(function(){var e=ke(),t=xo()-Ee<500,i=r.tween;if(!(t||Math.abs(be.getVelocity())<10)||i||$s||Se===e)be.isActive&&Se!==e&&L.restart(!0);else{var s=(e-l)/m,o=n&&!de?n.totalProgress():s,c=t?0:(o-D)/(xo()-Zs)*1e3||0,d=Bs.utils.clamp(-s,1-s,Vo(c/2)*c/.185),h=s+(!1===ie.inertia?0:d),f=Xs(0,1,a(h,be)),p=Math.round(l+f*m),g=ie,v=g.onStart,y=g.onInterrupt,_=g.onComplete;if(e<=u&&e>=l&&p!==e){if(i&&!i._initted&&i.data<=Vo(p-e))return;!1===ie.inertia&&(d=f-s),r(p,{duration:R(Vo(.185*Math.max(Vo(h-o),Vo(f-o))/c/.05||0)),ease:ie.ease||"power3",data:Vo(p-e),onInterrupt:function(){return L.restart(!0)&&y&&y(be)},onComplete:function(){be.update(),Se=ke(),O=D=n&&!de?n.totalProgress():be.progress,ne&&ne(be),_&&_(be)}},e,d*m,p-e-d*m),v&&v(be,r.tween)}}})).pause()),q&&(_l[q]=be),(V=(K=be.trigger=Os(K||Q))&&K._gsap&&K._gsap.stRevert)&&(V=V(be)),Q=!0===Q?K:Os(Q),Ro(W)&&(W={targets:K,className:W}),Q&&(!1===$||$===$o||($=!(!$&&Q.parentNode&&Q.parentNode.style&&"flex"===nl(Q.parentNode).display)&&Qo),be.pin=Q,(i=Bs.core.getCache(Q)).spacer?g=i.pinState:(se&&((se=Os(se))&&!se.nodeType&&(se=se.current||se.nativeElement),i.spacerIsNative=!!se,se&&(i.spacerState=zl(se))),i.spacer=_=se||zs.createElement("div"),_.classList.add("pin-spacer"),q&&_.classList.add("pin-spacer-"+q),i.pinState=g=zl(Q)),!1!==t.force3D&&Bs.set(Q,{force3D:!0}),be.spacer=_=i.spacer,I=nl(Q),E=I[$+ce.os2],x=Bs.getProperty(Q),T=Bs.quickSetter(Q,ce.a,tl),Bl(Q,_,I),y=zl(Q)),ye){p=Fo(ye)?rl(ye,hl):hl,h=gl("scroller-start",q,he,ce,p,0),f=gl("scroller-end",q,he,ce,p,0,h),b=h["offset"+ce.op.d2];var Ce=Os(xs(he,"content")||he);c=this.markerStart=gl("start",q,Ce,ce,p,b,0,oe),d=this.markerEnd=gl("end",q,Ce,ce,p,b,0,oe),oe&&(U=Bs.quickSetter([c,d],ce.a,tl)),me||ys.length&&!0===xs(he,"fixedMarkers")||(!function(e){var t=nl(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"}(pe?Hs:he),Bs.set([h,f],{force3D:!0}),C=Bs.quickSetter(h,ce.a,tl),A=Bs.quickSetter(f,ce.a,tl))}if(oe){var Pe=oe.vars.onUpdate,Ae=oe.vars.onUpdateParams;oe.eventCallback("onUpdate",(function(){be.update(0,0,1),Pe&&Pe.apply(Ae||[])}))}be.previous=function(){return yl[yl.indexOf(be)-1]},be.next=function(){return yl[yl.indexOf(be)+1]},be.revert=function(e,t){if(!t)return be.kill(!0);var r=!1!==e||!be.enabled,i=Qs;r!==be.isReverted&&(r&&(F=Math.max(ke(),be.scroll.rec||0),j=be.progress,B=n&&n.progress()),c&&[c,d,h,f].forEach((function(e){return e.style.display=r?"none":"block"})),r&&(Qs=1,be.update(r)),!Q||ae&&be.isActive||(r?function(e,t,n){Vl(n);var r=e._gsap;if(r.spacerIsNative)Vl(r.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1}(Q,_,g):Bl(Q,_,nl(Q),k)),r||be.update(r),Qs=i,be.isReverted=r)},be.refresh=function(i,a){if(!Qs&&be.enabled||a)if(Q&&i&&wo)ul(e,"scrollEnd",kl);else{!vo&&xe&&xe(be),Qs=1,Ee=xo(),r.tween&&(r.tween.kill(),r.tween=0),M&&M.pause(),J&&n&&n.revert({kill:!1}).invalidate(),be.isReverted||be.revert(!0,!0),be._subPinOffset=!1;for(var p,b,T,E,C,A,I,O,D,N,R,U=Te(),V=we(),z=oe?oe.duration():Mo(he,ce),G=0,H=0,W=t.end,q=t.endTrigger||K,Y=t.start||(0!==t.start&&K?Q?"0 0":"0 100%":0),Z=be.pinnedContainer=t.pinnedContainer&&Os(t.pinnedContainer),ee=K&&Math.max(0,yl.indexOf(be))||0,te=ee;te--;)(A=yl[te]).end||A.refresh(0,1)||(Qs=1),!(I=A.pin)||I!==K&&I!==Q||A.isReverted||(N||(N=[]),N.unshift(A),A.revert(!0,!0)),A!==yl[te]&&(ee--,te--);for(Lo(Y)&&(Y=Y(be)),l=Hl(Y,K,U,ce,ke(),c,h,be,V,_e,me,z,oe)||(Q?-.001:0),Lo(W)&&(W=W(be)),Ro(W)&&!W.indexOf("+=")&&(~W.indexOf(" ")?W=(Ro(Y)?Y.split(" ")[0]:"")+W:(G=ml(W.substr(2),U),W=Ro(Y)?Y:l+G,q=K)),u=Math.max(l,Hl(W||(q?"100% 0":z),q,U,ce,ke()+G,d,f,be,V,_e,me,z,oe))||-.001,m=u-l||(l-=.01)&&.001,G=0,te=ee;te--;)(I=(A=yl[te]).pin)&&A.start-A._pinPush<=l&&!oe&&A.end>0&&(p=A.end-A.start,(I===K&&A.start-A._pinPush<l||I===Z)&&!jo(Y)&&(G+=p*(1-A.progress)),I===Q&&(H+=p));if(l+=G,u+=G,be._pinPush=H,c&&G&&((p={})[ce.a]="+="+G,Z&&(p[ce.p]="-="+ke()),Bs.set([c,d],p)),Q)p=nl(Q),E=ce===Is,T=ke(),w=parseFloat(x(ce.a))+H,!z&&u>1&&((R={style:R=(pe?zs.scrollingElement||Gs:he).style,value:R["overflow"+ce.a.toUpperCase()]})["overflow"+ce.a.toUpperCase()]="scroll"),Bl(Q,_,p),y=zl(Q),b=il(Q,!0),O=me&&Ds(he,E?As:Is)(),$&&((k=[$+ce.os2,m+H+tl]).t=_,(te=$===Qo?al(Q,ce)+m+H:0)&&k.push(ce.d,te+tl),Vl(k),Z&&yl.forEach((function(e){e.pin===Z&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),me&&ke(F)),me&&((C={top:b.top+(E?T-l:O)+tl,left:b.left+(E?O:T-l)+tl,boxSizing:"border-box",position:"fixed"})[Wo]=C["max"+Jo]=Math.ceil(b.width)+tl,C[qo]=C["max"+el]=Math.ceil(b.height)+tl,C[$o]=C[$o+Zo]=C[$o+Yo]=C[$o+Ko]=C[$o+Xo]="0",C[Qo]=p[Qo],C[Qo+Zo]=p[Qo+Zo],C[Qo+Yo]=p[Qo+Yo],C[Qo+Ko]=p[Qo+Ko],C[Qo+Xo]=p[Qo+Xo],v=function(e,t,n){for(var r,i=[],a=e.length,s=n?8:0;s<a;s+=2)r=e[s],i.push(r,r in t?t[r]:e[s+1]);return i.t=e.t,i}(g,C,ae),vo&&ke(0)),n?(D=n._initted,ao(1),n.render(n.duration(),!0,!0),S=x(ce.a)-w+m+H,P=Math.abs(m-S)>1,me&&P&&v.splice(v.length-2,2),n.render(0,!0,!0),D||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ao(0)):S=m,R&&(R.value?R.style["overflow"+ce.a.toUpperCase()]=R.value:R.style.removeProperty("overflow-"+ce.a));else if(K&&ke()&&!oe)for(b=K.parentNode;b&&b!==Hs;)b._pinOffset&&(l-=b._pinOffset,u-=b._pinOffset),b=b.parentNode;N&&N.forEach((function(e){return e.revert(!1,!0)})),be.start=l,be.end=u,s=o=vo?F:ke(),oe||vo||(s<F&&ke(F),be.scroll.rec=0),be.revert(!1,!0),L&&(Se=-1,be.isActive&&ke(l+m*j),L.restart(!0)),Qs=0,n&&de&&(n._initted||B)&&n.progress()!==B&&n.progress(B,!0).render(n.time(),!0,!0),(j!==be.progress||oe)&&(n&&!de&&n.totalProgress(j,!0),be.progress=(s-l)/m===j?0:j),Q&&$&&(_._pinOffset=Math.round(be.progress*S)),X&&!vo&&X(be)}},be.getVelocity=function(){return(ke()-o)/(xo()-Zs)*1e3||0},be.endAnimation=function(){Bo(be.callbackAnimation),n&&(M?M.progress(1):n.paused()?de||Bo(n,be.direction<0,1):Bo(n,n.reversed()))},be.labelToScroll=function(e){return n&&n.labels&&(l||be.refresh()||l)+n.labels[e]/n.duration()*m||0},be.getTrailing=function(e){var t=yl.indexOf(be),n=be.direction>0?yl.slice(0,t).reverse():yl.slice(t+1);return(Ro(e)?n.filter((function(t){return t.vars.preventOverlaps===e})):n).filter((function(e){return be.direction>0?e.end<=l:e.start>=u}))},be.update=function(e,t,i){if(!oe||i||e){var a,c,d,f,p,g,b,x=vo?F:be.scroll(),k=e?0:(x-l)/m,I=k<0?0:k>1?1:k||0,N=be.progress;if(t&&(o=s,s=oe?ke():x,ie&&(D=O,O=n&&!de?n.totalProgress():I)),ee&&!I&&Q&&!Qs&&!bo&&wo&&l<x+(x-o)/(xo()-Zs)*ee&&(I=1e-4),I!==N&&be.enabled){if(f=(p=(a=be.isActive=!!I&&I<1)!==(!!N&&N<1))||!!I!==!!N,be.direction=I>N?1:-1,be.progress=I,f&&!Qs&&(c=I&&!N?0:1===I?1:1===N?2:3,de&&(d=!p&&"none"!==ve[c+1]&&ve[c+1]||ve[c],b=n&&("complete"===d||"reset"===d||d in n))),ue&&(p||b)&&(b||Z||!n)&&(Lo(ue)?ue(be):be.getTrailing(ue).forEach((function(e){return e.endAnimation()}))),de||(!M||Qs||bo?n&&n.totalProgress(I,!!Qs):(M._dp._time-M._start!==M._time&&M.render(M._dp._time-M._start),M.resetTo?M.resetTo("totalProgress",I,n._tTime/n._tDur):(M.vars.totalProgress=I,M.invalidate().restart()))),Q)if(e&&$&&(_.style[$+ce.os2]=E),me){if(f){if(g=!e&&I>N&&u+1>x&&x+1>=Mo(he,ce),ae)if(e||!a&&!g)ql(Q,_);else{var R=il(Q,!0),j=x-l;ql(Q,Hs,R.top+(ce===Is?j:0)+tl,R.left+(ce===Is?0:j)+tl)}Vl(a||g?v:y),P&&I<1&&a||T(w+(1!==I||g?0:S))}}else T(Po(w+S*I));ie&&!r.tween&&!Qs&&!bo&&L.restart(!0),W&&(p||re&&I&&(I<1||!mo))&&Ys(W.targets).forEach((function(e){return e.classList[a||re?"add":"remove"](W.className)})),H&&!de&&!e&&H(be),f&&!Qs?(de&&(b&&("complete"===d?n.pause().totalProgress(1):"reset"===d?n.restart(!0).pause():"restart"===d?n.restart(!0):n[d]()),H&&H(be)),!p&&mo||(Y&&p&&Uo(be,Y),ge[c]&&Uo(be,ge[c]),re&&(1===I?be.kill(!1,1):ge[c]=0),p||ge[c=1===I?1:3]&&Uo(be,ge[c])),le&&!a&&Math.abs(be.getVelocity())>(jo(le)?le:2500)&&(Bo(be.callbackAnimation),M?M.progress(1):Bo(n,"reverse"===d?1:!I,1))):de&&H&&!Qs&&H(be)}if(A){var B=oe?x/oe.duration()*(oe._caScrollDist||0):x;C(B+(h._isFlipped?1:0)),A(B)}U&&U(-x/oe.duration()*(oe._caScrollDist||0))}},be.enable=function(t,n){be.enabled||(be.enabled=!0,ul(he,"resize",wl),ul(pe?zs:he,"scroll",xl),xe&&ul(e,"refreshInit",xe),!1!==t&&(be.progress=j=0,s=o=Se=ke()),!1!==n&&be.refresh())},be.getTween=function(e){return e&&r?r.tween:M},be.setPositions=function(e,t){Q&&(w+=e-l,S+=t-e-m,$===Qo&&be.adjustPinSpacing(t-e-m)),be.start=l=e,be.end=u=t,m=t-e,be.update()},be.adjustPinSpacing=function(e){if(k){var t=k.indexOf(ce.d)+1;k[t]=parseFloat(k[t])+e+tl,k[1]=parseFloat(k[1])+e+tl,Vl(k)}},be.disable=function(t,n){if(be.enabled&&(!1!==t&&be.revert(!0,!0),be.enabled=be.isActive=!1,n||M&&M.pause(),F=0,i&&(i.uncache=1),xe&&cl(e,"refreshInit",xe),L&&(L.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!pe)){for(var a=yl.length;a--;)if(yl[a].scroller===he&&yl[a]!==be)return;cl(he,"resize",wl),cl(he,"scroll",xl)}},be.kill=function(e,r){be.disable(e,r),M&&!r&&M.kill(),q&&delete _l[q];var a=yl.indexOf(be);a>=0&&yl.splice(a,1),a===eo&&Rl>0&&eo--,a=0,yl.forEach((function(e){return e.scroller===be.scroller&&(a=1)})),a||vo||(be.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),c&&[c,d,h,f].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),_o===be&&(_o=0),Q&&(i&&(i.uncache=1),a=0,yl.forEach((function(e){return e.pin===Q&&a++})),a||(i.spacer=0)),t.onKill&&t.onKill(be)},be.enable(!1,!1),V&&V(be),n&&n.add&&!m?Bs.delayedCall(.01,(function(){return l||u||be.refresh()}))&&(m=.01)&&(l=u=0):be.refresh(),Q&&function(){if(yo!==Dl){var e=yo=Dl;requestAnimationFrame((function(){return e===Dl&&Ml(!0)}))}}()}else this.update=this.refresh=this.kill=Co},e.register=function(t){return Us||(Bs=t||Io(),Ao()&&window.document&&e.enable(),Us=So),Us},e.defaults=function(e){if(e)for(var t in e)fl[t]=e[t];return fl},e.disable=function(e,t){So=0,yl.forEach((function(n){return n[t?"kill":"disable"](e)})),cl(Vs,"wheel",xl),cl(zs,"scroll",xl),clearInterval(Ks),cl(zs,"touchcancel",Co),cl(Hs,"touchstart",Co),ll(cl,zs,"pointerdown,touchstart,mousedown",Eo),ll(cl,zs,"pointerup,touchend,mouseup",ko),qs.kill(),No(cl);for(var n=0;n<vs.length;n+=3)dl(cl,vs[n],vs[n+1]),dl(cl,vs[n],vs[n+2])},e.enable=function(){if(Vs=window,zs=document,Gs=zs.documentElement,Hs=zs.body,Bs&&(Ys=Bs.utils.toArray,Xs=Bs.utils.clamp,fo=Bs.core.context||Co,ao=Bs.core.suppressOverwrites||Co,po=Vs.history.scrollRestoration||"auto",Bs.core.globals("ScrollTrigger",e),Hs)){So=1,Fs.register(Bs),e.isTouch=Fs.isTouch,ho=Fs.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),ul(Vs,"wheel",xl),Ws=[Vs,zs,Gs,Hs],Bs.matchMedia?(e.matchMedia=function(e){var t,n=Bs.matchMedia();for(t in e)n.add(t,e[t]);return n},Bs.addEventListener("matchMediaInit",(function(){return Il()})),Bs.addEventListener("matchMediaRevert",(function(){return Al()})),Bs.addEventListener("matchMedia",(function(){Ml(0,1),Cl("matchMedia")})),Bs.matchMedia("(orientation: portrait)",(function(){return Tl(),Tl}))):console.warn("Requires GSAP 3.11.0 or later"),Tl(),ul(zs,"scroll",xl);var t,n,r=Hs.style,i=r.borderTopStyle,a=Bs.core.Animation.prototype;for(a.revert||Object.defineProperty(a,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",t=il(Hs),Is.m=Math.round(t.top+Is.sc())||0,As.m=Math.round(t.left+As.sc())||0,i?r.borderTopStyle=i:r.removeProperty("border-top-style"),Ks=setInterval(bl,250),Bs.delayedCall(.5,(function(){return bo=0})),ul(zs,"touchcancel",Co),ul(Hs,"touchstart",Co),ll(ul,zs,"pointerdown,touchstart,mousedown",Eo),ll(ul,zs,"pointerup,touchend,mouseup",ko),Js=Bs.utils.checkPrefix("transform"),Fl.push(Js),Us=xo(),qs=Bs.delayedCall(.2,Ml).pause(),ro=[zs,"visibilitychange",function(){var e=Vs.innerWidth,t=Vs.innerHeight;zs.hidden?(to=e,no=t):to===e&&no===t||wl()},zs,"DOMContentLoaded",Ml,Vs,"load",Ml,Vs,"resize",wl],No(ul),yl.forEach((function(e){return e.enable(0,1)})),n=0;n<vs.length;n+=3)dl(cl,vs[n],vs[n+1]),dl(cl,vs[n],vs[n+2])}},e.config=function(t){"limitCallbacks"in t&&(mo=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(Ks)||(Ks=n)&&setInterval(bl,n),"ignoreMobileResize"in t&&(lo=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(No(cl)||No(ul,t.autoRefreshEvents||"none"),so=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var n=Os(e),r=vs.indexOf(n),i=Oo(n);~r&&vs.splice(r,i?6:2),t&&(i?ys.unshift(Vs,t,Hs,t,Gs,t):ys.unshift(n,t))},e.clearMatchMedia=function(e){yl.forEach((function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)}))},e.isInViewport=function(e,t,n){var r=(Ro(e)?Os(e):e).getBoundingClientRect(),i=r[n?Wo:qo]*t||0;return n?r.right-i>0&&r.left+i<Vs.innerWidth:r.bottom-i>0&&r.top+i<Vs.innerHeight},e.positionInViewport=function(e,t,n){Ro(e)&&(e=Os(e));var r=e.getBoundingClientRect(),i=r[n?Wo:qo],a=null==t?i/2:t in pl?pl[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return n?(r.left+a)/Vs.innerWidth:(r.top+a)/Vs.innerHeight},e.killAll=function(e){if(yl.slice(0).forEach((function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()})),!0!==e){var t=Sl.killAll||[];Sl={},t.forEach((function(e){return e()}))}},e}();Xl.version="3.11.4",Xl.saveStyles=function(e){return e?Ys(e).forEach((function(e){if(e&&e.style){var t=Pl.indexOf(e);t>=0&&Pl.splice(t,5),Pl.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Bs.core.getCache(e),fo())}})):Pl},Xl.revert=function(e,t){return Il(!e,t)},Xl.create=function(e,t){return new Xl(e,t)},Xl.refresh=function(e){return e?wl():(Us||Xl.register())&&Ml(!0)},Xl.update=function(e){return++vs.cache&&Ll(!0===e?2:0)},Xl.clearScrollMemory=Ol,Xl.maxScroll=function(e,t){return Mo(e,t?As:Is)},Xl.getScrollFunc=function(e,t){return Ds(Os(e),t?As:Is)},Xl.getById=function(e){return _l[e]},Xl.getAll=function(){return yl.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},Xl.isScrolling=function(){return!!wo},Xl.snapDirectional=ol,Xl.addEventListener=function(e,t){var n=Sl[e]||(Sl[e]=[]);~n.indexOf(t)||n.push(t)},Xl.removeEventListener=function(e,t){var n=Sl[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},Xl.batch=function(e,t){var n,r=[],i={},a=t.interval||.016,s=t.batchMax||1e9,o=function(e,t){var n=[],r=[],i=Bs.delayedCall(a,(function(){t(n,r),n=[],r=[]})).pause();return function(e){n.length||i.restart(!0),n.push(e.trigger),r.push(e),s<=n.length&&i.progress(1)}};for(n in t)i[n]="on"===n.substr(0,2)&&Lo(t[n])&&"onRefreshInit"!==n?o(0,t[n]):t[n];return Lo(s)&&(s=s(),ul(Xl,"refresh",(function(){return s=t.batchMax()}))),Ys(e).forEach((function(e){var t={};for(n in i)t[n]=i[n];t.trigger=e,r.push(Xl.create(t))})),r};var Zl,Kl=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},Ql=function e(t,n){!0===n?t.style.removeProperty("touch-action"):t.style.touchAction=!0===n?"auto":n?"pan-"+n+(Fs.isTouch?" pinch-zoom":""):"none",t===Gs&&e(Hs,n)},$l={auto:1,scroll:1},Jl=function(e){var t,n=e.event,r=e.target,i=e.axis,a=(n.changedTouches?n.changedTouches[0]:n).target,s=a._gsap||Bs.core.getCache(a),o=xo();if(!s._isScrollT||o-s._isScrollT>2e3){for(;a&&a!==Hs&&(a.scrollHeight<=a.clientHeight&&a.scrollWidth<=a.clientWidth||!$l[(t=nl(a)).overflowY]&&!$l[t.overflowX]);)a=a.parentNode;s._isScroll=a&&a!==r&&!Oo(a)&&($l[(t=nl(a)).overflowY]||$l[t.overflowX]),s._isScrollT=o}(s._isScroll||"x"===i)&&(n.stopPropagation(),n._gsapAllow=!0)},eu=function(e,t,n,r){return Fs.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&Jl,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&ul(zs,Fs.eventTypes[0],nu,!1,!0)},onDisable:function(){return cl(zs,Fs.eventTypes[0],nu,!0)}})},tu=/(input|label|select|textarea)/i,nu=function(e){var t=tu.test(e.target.tagName);(t||Zl)&&(e._gsapAllow=!0,Zl=t)},ru=function(e){Fo(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,n,r,i,a,s,o,l,u=e,c=u.normalizeScrollX,d=u.momentum,h=u.allowNestedScroll,f=Os(e.target)||Gs,p=Bs.core.globals().ScrollSmoother,m=p&&p.get(),g=ho&&(e.content&&Os(e.content)||m&&!1!==e.content&&!m.smooth()&&m.content()),v=Ds(f,Is),y=Ds(f,As),_=1,b=(Fs.isTouch&&Vs.visualVie
2wport?Vs.visualViewport.scale*Vs.visualViewport.width:Vs.outerWidth)/Vs.innerWidth,x=0,T=Lo(d)?function(){return d(t)}:function(){return d||2.8},w=eu(f,e.type,!0,h),S=function(){return i=!1},E=Co,k=Co,C=function(){n=Mo(f,Is),k=Xs(ho?1:0,n),c&&(E=Xs(0,Mo(f,As))),r=Dl},P=function(){g._gsap.y=Po(parseFloat(g._gsap.y)+v.offset)+"px",g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(g._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},A=function(){C(),a.isActive()&&a.vars.scrollY>n&&(v()>n?a.progress(1)&&v(n):a.resetTo("scrollY",n))};return g&&Bs.set(g,{y:"+=0"}),e.ignoreCheck=function(e){return ho&&"touchmove"===e.type&&function(){if(i){requestAnimationFrame(S);var e=Po(t.deltaY/2),n=k(v.v-e);if(g&&n!==v.v+v.offset){v.offset=n-v.v;var r=Po((parseFloat(g&&g._gsap.y)||0)-v.offset);g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",g._gsap.y=r+"px",v.cacheID=vs.cache,Ll()}return!0}v.offset&&P(),i=!0}()||_>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){var e=_;_=Po((Vs.visualViewport&&Vs.visualViewport.scale||1)/b),a.pause(),e!==_&&Ql(f,_>1.01||!c&&"x"),s=y(),o=v(),C(),r=Dl},e.onRelease=e.onGestureStart=function(e,t){if(v.offset&&P(),t){vs.cache++;var r,i,s=T();c&&(i=(r=y())+.05*s*-e.velocityX/.227,s*=Kl(y,r,i,Mo(f,As)),a.vars.scrollX=E(i)),i=(r=v())+.05*s*-e.velocityY/.227,s*=Kl(v,r,i,Mo(f,Is)),a.vars.scrollY=k(i),a.invalidate().duration(s).play(.01),(ho&&a.vars.scrollY>=n||r>=n-1)&&Bs.to({},{onUpdate:A,duration:s})}else l.restart(!0)},e.onWheel=function(){a._ts&&a.pause(),xo()-x>1e3&&(r=0,x=xo())},e.onChange=function(e,t,n,i,a){if(Dl!==r&&C(),t&&c&&y(E(i[2]===t?s+(e.startX-e.x):y()+t-i[1])),n){v.offset&&P();var l=a[2]===n,u=l?o+e.startY-e.y:v()+n-a[1],d=k(u);l&&u!==d&&(o+=d-u),v(d)}(n||t)&&Ll()},e.onEnable=function(){Ql(f,!c&&"x"),Xl.addEventListener("refresh",A),ul(Vs,"resize",A),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),w.enable()},e.onDisable=function(){Ql(f,!0),cl(Vs,"resize",A),Xl.removeEventListener("refresh",A),w.kill()},e.lockAxis=!1!==e.lockAxis,(t=new Fs(e)).iOS=ho,ho&&!v()&&v(1),ho&&Bs.ticker.add(Co),l=t._dc,a=Bs.to(t,{ease:"power4",paused:!0,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",onComplete:l.vars.onComplete}),t};Xl.sort=function(e){return yl.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},Xl.observe=function(e){return new Fs(e)},Xl.normalizeScroll=function(e){if("undefined"===typeof e)return oo;if(!0===e&&oo)return oo.enable();if(!1===e)return oo&&oo.kill();var t=e instanceof Fs?e:ru(e);return oo&&oo.target===t.target&&oo.kill(),Oo(t.target)&&(oo=t),t},Xl.core={_getVelocityProp:Ms,_inputObserver:eu,_scrollers:vs,_proxies:ys,bridge:{ss:function(){wo||Cl("scrollStart"),wo=xo()},ref:function(){return Qs}}},Io()&&Bs.registerPlugin(Xl);var iu=function(e,t){return iu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},iu(e,t)};var au=function(){return au=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},au.apply(this,arguments)};function su(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function ou(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],s=0,o=a.length;s<o;s++,i++)r[i]=a[s];return r}__webpack_require__(8887),__webpack_require__(5742),__webpack_require__(5202),__webpack_require__(9147),__webpack_require__(6669),__webpack_require__(7952),__webpack_require__(9104),__webpack_require__(3265);var lu=__webpack_require__(4260),uu=__webpack_require__.n(lu);function cu(e,t){return void 0===e&&(e=-1/0),void 0===t&&(t=1/0),function(n,r){var i="_"+r;Object.defineProperty(n,r,{get:function(){return this[i]},set:function(n){Object.defineProperty(this,i,{value:uu()(n,e,t),enumerable:!1,writable:!0,configurable:!0})},enumerable:!0,configurable:!0})}}function du(e,t){var n="_"+t;Object.defineProperty(e,t,{get:function(){return this[n]},set:function(e){Object.defineProperty(this,n,{value:!!e,enumerable:!1,writable:!0,configurable:!0})},enumerable:!0,configurable:!0})}var hu=__webpack_require__(5095),fu=__webpack_require__.n(hu);function pu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,r){var i=r.value;return{get:function(){return this.hasOwnProperty(n)||Object.defineProperty(this,n,{value:fu().apply(void 0,ou([i],e))}),this[n]}}}}var mu,gu=function(){function e(e){var t=this;void 0===e&&(e={}),this.damping=.1,this.thumbMinSize=20,this.renderByPixels=!0,this.alwaysShowTracks=!1,this.continuousScrolling=!0,this.delegateTo=null,this.plugins={},Object.keys(e).forEach((function(n){t[n]=e[n]}))}return Object.defineProperty(e.prototype,"wheelEventTarget",{get:function(){return this.delegateTo},set:function(e){console.warn("[smooth-scrollbar]: `options.wheelEventTarget` is deprecated and will be removed in the future, use `options.delegateTo` instead."),this.delegateTo=e},enumerable:!0,configurable:!0}),su([cu(0,1)],e.prototype,"damping",void 0),su([cu(0,1/0)],e.prototype,"thumbMinSize",void 0),su([du],e.prototype,"renderByPixels",void 0),su([du],e.prototype,"alwaysShowTracks",void 0),su([du],e.prototype,"continuousScrolling",void 0),e}(),vu=new WeakMap;
vendor: 6,198 bytes, line 2
2function yu(){if(void 0!==mu)return mu;var e=!1;try{var t=function(){},n=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassive",t,n),window.removeEventListener("testPassive",t,n)}catch(r){}return mu=!!e&&{passive:!1}}function _u(e){var t=vu.get(e)||[];return vu.set(e,t),function(e,n,r){function i(e){e.defaultPrevented||r(e)}n.split(/\s+/g).forEach((function(n){t.push({elem:e,eventName:n,handler:i}),e.addEventListener(n,i,yu())}))}}function bu(e){var t=function(e){return e.touches?e.touches[e.touches.length-1]:e}(e);return{x:t.clientX,y:t.clientY}}function xu(e,t){return void 0===t&&(t=[]),t.some((function(t){return e===t}))}var Tu=["webkit","moz","ms","o"],wu=new RegExp("^-(?!(?:"+Tu.join("|")+")-)");function Su(e,t){t=function(e){var t={};return Object.keys(e).forEach((function(n){if(wu.test(n)){var r=e[n];n=n.replace(/^-/,""),t[n]=r,Tu.forEach((function(e){t["-"+e+"-"+n]=r}))}else t[n]=e[n]})),t}(t),Object.keys(t).forEach((function(n){var r=n.replace(/^-/,"").replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}));e.style[r]=t[n]}))}var Eu,ku=function(){function e(e){this.velocityMultiplier=window.devicePixelRatio,this.updateTime=Date.now(),this.delta={x:0,y:0},this.velocity={x:0,y:0},this.lastPosition={x:0,y:0},this.lastPosition=bu(e)}return e.prototype.update=function(e){var t=this,n=t.velocity,r=t.updateTime,i=t.lastPosition,a=Date.now(),s=bu(e),o={x:-(s.x-i.x),y:-(s.y-i.y)},l=a-r||16.7,u=o.x/l*16.7,c=o.y/l*16.7;n.x=u*this.velocityMultiplier,n.y=c*this.velocityMultiplier,this.delta=o,this.updateTime=a,this.lastPosition=s},e}(),Cu=function(){function e(){this._touchList={}}return Object.defineProperty(e.prototype,"_primitiveValue",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.isActive=function(){return void 0!==this._activeTouchID},e.prototype.getDelta=function(){var e=this._getActiveTracker();return e?au({},e.delta):this._primitiveValue},e.prototype.getVelocity=function(){var e=this._getActiveTracker();return e?au({},e.velocity):this._primitiveValue},e.prototype.getEasingDistance=function(e){var t=1-e,n={x:0,y:0},r=this.getVelocity();return Object.keys(r).forEach((function(e){for(var i=Math.abs(r[e])<=10?0:r[e];0!==i;)n[e]+=i,i=i*t|0})),n},e.prototype.track=function(e){var t=this,n=e.targetTouches;return Array.from(n).forEach((function(e){t._add(e)})),this._touchList},e.prototype.update=function(e){var t=this,n=e.touches,r=e.changedTouches;return Array.from(n).forEach((function(e){t._renew(e)})),this._setActiveID(r),this._touchList},e.prototype.release=function(e){var t=this;delete this._activeTouchID,Array.from(e.changedTouches).forEach((function(e){t._delete(e)}))},e.prototype._add=function(e){this._has(e)&&this._delete(e);var t=new ku(e);this._touchList[e.identifier]=t},e.prototype._renew=function(e){this._has(e)&&this._touchList[e.identifier].update(e)},e.prototype._delete=function(e){delete this._touchList[e.identifier]},e.prototype._has=function(e){return this._touchList.hasOwnProperty(e.identifier)},e.prototype._setActiveID=function(e){this._activeTouchID=e[e.length-1].identifier},e.prototype._getActiveTracker=function(){return this._touchList[this._activeTouchID]},e}();!function(e){e.X="x",e.Y="y"}(Eu||(Eu={}));var Pu=function(){function e(e,t){void 0===t&&(t=0),this._direction=e,this._minSize=t,this.element=document.createElement("div"),this.displaySize=0,this.realSize=0,this.offset=0,this.element.className="scrollbar-thumb scrollbar-thumb-"+e}return e.prototype.attachTo=function(e){e.appendChild(this.element)},e.prototype.update=function(e,t,n){this.realSize=Math.min(t/n,1)*t,this.displaySize=Math.max(this.realSize,this._minSize),this.offset=e/n*(t+(this.realSize-this.displaySize)),Su(this.element,this._getStyle())},e.prototype._getStyle=function(){switch(this._direction){case Eu.X:return{width:this.displaySize+"px","-transform":"translate3d("+this.offset+"px, 0, 0)"};case Eu.Y:return{height:this.displaySize+"px","-transform":"translate3d(0, "+this.offset+"px, 0)"};default:return null}},e}(),Au=function(){function e(e,t){void 0===t&&(t=0),this.element=document.createElement("div"),this._isShown=!1,this.element.className="scrollbar-track scrollbar-track-"+e,this.thumb=new Pu(e,t),this.thumb.attachTo(this.element)}return e.prototype.attachTo=function(e){e.appendChild(this.element)},e.prototype.show=function(){this._isShown||(this._isShown=!0,this.element.classList.add("show"))},e.prototype.hide=function(){this._isShown&&(this._isShown=!1,this.element.classList.remove("show"))},e.prototype.update=function(e,t,n){Su(this.element,{display:n<=t?"none":"block"}),this.thumb.update(e,t,n)},e}(),Iu=function(){function e(e){this._scrollbar=e;var t=e.options.thumbMinSize;this.xAxis=new Au(Eu.X,t),this.yAxis=new Au(Eu.Y,t),this.xAxis.attachTo(e.containerEl),this.yAxis.attachTo(e.containerEl),e.options.alwaysShowTracks&&(this.xAxis.show(),this.yAxis.show())}return e.prototype.update=function(){var e=this._scrollbar,t=e.size,n=e.offset;this.xAxis.update(n.x,t.container.width,t.content.width),this.yAxis.update(n.y,t.container.height,t.content.height)},e.prototype.autoHideOnIdle=function(){this._scrollbar.options.alwaysShowTracks||(this.xAxis.hide(),this.yAxis.hide())},su([pu(300)],e.prototype,"autoHideOnIdle",null),e}();var Ou=new WeakMap;function Du(e){return Math.pow(e-1,3)+1}var Mu,Nu,Ru,Lu=function(){function e(e,t){var n=this.constructor;this.scrollbar=e,this.name=n.pluginName,this.options=au(au({},n.defaultOptions),t)}return e.prototype.onInit=function(){},e.prototype.onDestroy=function(){},e.prototype.onUpdate=function(){},e.prototype.onRender=function(e){},e.prototype.transformDelta=function(e,t){return au({},e)},e.pluginName="",e.defaultOptions={},e}(),ju={order:new Set,constructors:{}};function Fu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.forEach((function(e){var t=e.pluginName;if(!t)throw new TypeError("plugin name is required");ju.order.add(t),ju.constructors[t]=e}))}function Bu(e){var t=_u(e),n=e.containerEl;t(n,"keydown",(function(t){var r=document.activeElement;if((r===n||n.contains(r))&&!function(e){if("INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||e.
2isContentEditable)return!e.disabled;return!1}(r)){var i=function(e,t){var n=e.size,r=e.limit,i=e.offset;switch(t){case Mu.TAB:return function(e){requestAnimationFrame((function(){e.scrollIntoView(document.activeElement,{offsetTop:e.size.container.height/2,offsetLeft:e.size.container.width/2,onlyScrollIfNeeded:!0})}))}(e);case Mu.SPACE:return[0,200];case Mu.PAGE_UP:return[0,40-n.container.height];case Mu.PAGE_DOWN:return[0,n.container.height-40];case Mu.END:return[0,r.y-i.y];case Mu.HOME:return[0,-i.y];case Mu.LEFT:return[-40,0];case Mu.UP:return[0,-40];case Mu.RIGHT:return[40,0];case Mu.DOWN:return[0,40];default:return null}}(e,t.keyCode||t.which);if(i){var a=i[0],s=i[1];e.addTransformableMomentum(a,s,t,(function(n){n?t.preventDefault():(e.containerEl.blur(),e.parent&&e.parent.containerEl.focus())}))}}}))}function Uu(e){var t,n,r,i,a,s=_u(e),o=e.containerEl,l=e.track,u=l.xAxis,c=l.yAxis;function d(t,n){var r=e.size,i=e.limit,a=e.offset;if(t===Nu.X){var s=r.container.width+(u.thumb.realSize-u.thumb.displaySize);return uu()(n/s*r.content.width,0,i.x)-a.x}if(t===Nu.Y){var o=r.container.height+(c.thumb.realSize-c.thumb.displaySize);return uu()(n/o*r.content.height,0,i.y)-a.y}return 0}function h(e){return xu(e,[u.element,u.thumb.element])?Nu.X:xu(e,[c.element,c.thumb.element])?Nu.Y:void 0}s(o,"click",(function(t){if(!n&&xu(t.target,[u.element,c.element])){var r=t.target,i=h(r),a=r.getBoundingClientRect(),s=bu(t);if(i===Nu.X){var o=s.x-a.left-u.thumb.displaySize/2;e.setMomentum(d(i,o),0)}if(i===Nu.Y){o=s.y-a.top-c.thumb.displaySize/2;e.setMomentum(0,d(i,o))}}})),s(o,"mousedown",(function(n){if(xu(n.target,[u.thumb.element,c.thumb.element])){t=!0;var s=n.target,l=bu(n),d=s.getBoundingClientRect();i=h(s),r={x:l.x-d.left,y:l.y-d.top},a=o.getBoundingClientRect(),Su(e.containerEl,{"-user-select":"none"})}})),s(window,"mousemove",(function(s){if(t){n=!0;var o=bu(s);if(i===Nu.X){var l=o.x-r.x-a.left;e.setMomentum(d(i,l),0)}if(i===Nu.Y){l=o.y-r.y-a.top;e.setMomentum(0,d(i,l))}}})),s(window,"mouseup blur",(function(){t=n=!1,Su(e.containerEl,{"-user-select":""})}))}function Vu(e){_u(e)(window,"resize",fu()(e.update.bind(e),300))}function zu(e){var t,n=_u(e),r=e.containerEl,i=e.contentEl,a=!1,s=!1;function o(n){var r=n.x,i=n.y;if(r||i){var a=e.offset,s=e.limit;e.setMomentum(uu()(a.x+r,0,s.x)-a.x,uu()(a.y+i,0,s.y)-a.y),t=requestAnimationFrame((function(){o({x:r,y:i})}))}}n(window,"mousemove",(function(n){if(a){cancelAnimationFrame(t);var r=function(e,t){var n=e.bounding,r=n.top,i=n.right,a=n.bottom,s=n.left,o=bu(t),l=o.x,u=o.y,c={x:0,y:0},d=20;if(0===l&&0===u)return c;l>i-d?c.x=l-i+d:l<s+d&&(c.x=l-s-d);u>a-d?c.y=u-a+d:u<r+d&&(c.y=u-r-d);return c.x*=2,c.y*=2,c}(e,n);o(r)}})),n(i,"contextmenu",(function(){s=!0,cancelAnimationFrame(t),a=!1})),n(i,"mousedown",(function(){s=!1})),n(i,"selectstart",(function(){s||(cancelAnimationFrame(t),a=!0)})),n(window,"mouseup blur",(function(){cancelAnimationFrame(t),a=!1,s=!1})),n(r,"scroll",(function(e){e.preventDefault(),r.scrollTop=r.scrollLeft=0}))}function Gu(e){var t,n=e.options.delegateTo||e.containerEl,r=new Cu,i=_u(e),a=0;i(n,"touchstart",(function(n){r.track(n),e.setMomentum(0,0),0===a&&(t=e.options.damping,e.options.damping=Math.max(t,.5)),a++})),i(n,"touchmove",(function(t){if(!Ru||Ru===e){r.update(t);var n=r.getDelta(),i=n.x,a=n.y;e.addTransformableMomentum(i,a,t,(function(n){n&&t.cancelable&&(t.preventDefault(),Ru=e)}))}})),i(n,"touchcancel touchend",(function(n){var i=r.getEasingDistance(t);e.addTransformableMomentum(i.x,i.y,n),0===--a&&(e.options.damping=t),r.release(n),Ru=null}))}function Hu(e){_u(e)(e.options.delegateTo||e.containerEl,"onwheel"in window||document.implementation.hasFeature("Events.wheel","3.0")?"wheel":"mousewheel",(function(t){var n=function(e){if("deltaX"in e){var t=function(e){return Yu[e]||Yu[0]}(e.deltaMode);return{x:e.deltaX/Wu*t,y:e.deltaY/Wu*t}}if("wheelDeltaX"in e)return{x:e.wheelDeltaX/qu,y:e.wheelDeltaY/qu};return{x:0,y:e.wheelDelta/qu}}(t),r=n.x,i=n.y;e.addTransformableMomentum(r,i,t,(function(e){e&&t.preventDefault()}))}))}!function(e){e[e.TAB=9]="TAB",e[e.SPACE=32]="SPACE",e[e.PAGE_UP=33]="PAGE_UP",e[e.PAGE_DOWN=34]="PAGE_DOWN",e[e.END=35]="END",e[e.HOME=36]="HOME",e[e.LEFT=37]="LEFT",e[e.UP=38]="UP",e[e.RIGHT=39]="RIGHT",e[e.DOWN=40]="DOWN"}(Mu||(Mu={})),function(e){e[e.X=0]="X",e[e.Y=1]="Y"}(Nu||(Nu={}));var Wu=1,qu=-3,Yu=[1,28,500];var Xu=new Map,Zu=function(){function t(e,t){var n=this;this.offset={x:0,y:0},this.limit={x:1/0,y:1/0},this.bounding={top:0,right:0,bottom:0,left:0},this._plugins=[],this._momentum={x:0,y:0},this._listeners=new Set,this.containerEl=e;var r=this.contentEl=document.createElement("div");this.options=new gu(t),e.setAttribute("data-scrollbar","true"),e.setAttribute("tabindex","-1"),Su(e,{overflow:"hidden",outline:"none"}),window.navigator.msPointerEnabled&&(e.style.msTouchAction="none"),r.className="scroll-content",Array.from(e.childNodes).forEac
vendor: 5,343 bytes, line 2
2h((function(e){r.appendChild(e)})),e.appendChild(r),this.track=new Iu(this),this.size=this.getSize(),this._plugins=function(e,t){return Array.from(ju.order).filter((function(e){return!1!==t[e]})).map((function(n){var r=new(0,ju.constructors[n])(e,t[n]);return t[n]=r.options,r}))}(this,this.options.plugins);var i=e.scrollLeft,a=e.scrollTop;e.scrollLeft=e.scrollTop=0,this.setPosition(i,a,{withoutCallbacks:!0});var s=window.ResizeObserver;"function"===typeof s&&(this._observer=new s((function(){n.update()})),this._observer.observe(r)),Xu.set(e,this),requestAnimationFrame((function(){n._init()}))}return Object.defineProperty(t.prototype,"parent",{get:function(){for(var e=this.containerEl.parentElement;e;){var t=Xu.get(e);if(t)return t;e=e.parentElement}return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollTop",{get:function(){return this.offset.y},set:function(e){this.setPosition(this.scrollLeft,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollLeft",{get:function(){return this.offset.x},set:function(e){this.setPosition(e,this.scrollTop)},enumerable:!0,configurable:!0}),t.prototype.getSize=function(){return function(e){var t=e.containerEl,n=e.contentEl,r=getComputedStyle(t),i=["paddingTop","paddingBottom","paddingLeft","paddingRight"].map((function(e){return r[e]?parseFloat(r[e]):0})),a=i[0]+i[1],s=i[2]+i[3];return{container:{width:t.clientWidth,height:t.clientHeight},content:{width:n.offsetWidth-n.clientWidth+n.scrollWidth+s,height:n.offsetHeight-n.clientHeight+n.scrollHeight+a}}}(this)},t.prototype.update=function(){!function(e){var t=e.getSize(),n={x:Math.max(t.content.width-t.container.width,0),y:Math.max(t.content.height-t.container.height,0)},r=e.containerEl.getBoundingClientRect(),i={top:Math.max(r.top,0),right:Math.min(r.right,window.innerWidth),bottom:Math.min(r.bottom,window.innerHeight),left:Math.max(r.left,0)};e.size=t,e.limit=n,e.bounding=i,e.track.update(),e.setPosition()}(this),this._plugins.forEach((function(e){e.onUpdate()}))},t.prototype.isVisible=function(e){return function(e,t){var n=e.bounding,r=t.getBoundingClientRect(),i=Math.max(n.top,r.top),a=Math.max(n.left,r.left),s=Math.min(n.right,r.right);return i<Math.min(n.bottom,r.bottom)&&a<s}(this,e)},t.prototype.setPosition=function(e,t,n){var r=this;void 0===e&&(e=this.offset.x),void 0===t&&(t=this.offset.y),void 0===n&&(n={});var i=function(e,t,n){var r=e.options,i=e.offset,a=e.limit,s=e.track,o=e.contentEl;return r.renderByPixels&&(t=Math.round(t),n=Math.round(n)),t=uu()(t,0,a.x),n=uu()(n,0,a.y),t!==i.x&&s.xAxis.show(),n!==i.y&&s.yAxis.show(),r.alwaysShowTracks||s.autoHideOnIdle(),t===i.x&&n===i.y?null:(i.x=t,i.y=n,Su(o,{"-transform":"translate3d("+-t+"px, "+-n+"px, 0)"}),s.update(),{offset:au({},i),limit:au({},a)})}(this,e,t);i&&!n.withoutCallbacks&&this._listeners.forEach((function(e){e.call(r,i)}))},t.prototype.scrollTo=function(e,t,n,r){void 0===e&&(e=this.offset.x),void 0===t&&(t=this.offset.y),void 0===n&&(n=0),void 0===r&&(r={}),function(e,t,n,r,i){void 0===r&&(r=0);var a=void 0===i?{}:i,s=a.easing,o=void 0===s?Du:s,l=a.callback,u=e.options,c=e.offset,d=e.limit;u.renderByPixels&&(t=Math.round(t),n=Math.round(n));var h=c.x,f=c.y,p=uu()(t,0,d.x)-h,m=uu()(n,0,d.y)-f,g=Date.now();cancelAnimationFrame(Ou.get(e)),function t(){var n=Date.now()-g,i=r?o(Math.min(n/r,1)):1;if(e.setPosition(h+p*i,f+m*i),n>=r)"function"===typeof l&&l.call(e);else{var a=requestAnimationFrame(t);Ou.set(e,a)}}()}(this,e,t,n,r)},t.prototype.scrollIntoView=function(e,t){void 0===t&&(t={}),function(e,t,n){var r=void 0===n?{}:n,i=r.alignToTop,a=void 0===i||i,s=r.onlyScrollIfNeeded,o=void 0!==s&&s,l=r.offsetTop,u=void 0===l?0:l,c=r.offsetLeft,d=void 0===c?0:c,h=r.offsetBottom,f=void 0===h?0:h,p=e.containerEl,m=e.bounding,g=e.offset,v=e.limit;if(t&&p.contains(t)){var y=t.getBoundingClientRect();if(!o||!e.isVisible(t)){var _=a?y.top-m.top-u:y.bottom-m.bottom+f;e.setMomentum(y.left-m.left-d,uu()(_,-g.y,v.y-g.y))}}}(this,e,t)},t.prototype.addListener=function(e){if("function"!==typeof e)throw new TypeError("[smooth-scrollbar] scrolling listener should be a function");this._listeners.add(e)},t.prototype.removeListener=function(e){this._listeners.delete(e)},t.prototype.addTransformableMomentum=function(e,t,n,r){this._updateDebounced();var i=this._plugins.reduce((function(e,t){return t.transformDelta(e,n)||e}),{x:e,y:t}),a=!this._shouldPropagateMomentum(i.x,i.y);a&&this.addMomentum(i.x,i.y),r&&r.call(this,a)},t.prototype.addMomentum=function(e,t){this.setMomentum(this._momentum.x+e,this._momentum.y+t)},t.prototype.setMomentum=function(e,t){0===this.limit.x&&(e=0),0===this.limit.y&&(t=0),this.options.renderByPixels&&(e=Math.round(e),t=Math.round(t)),this._momentum.x=e,this._momentum.y=t},t.prototype.updatePluginOptions=function(e,t){this._plugins.forEach((function(n){n.name===e&&Object.assign(n.options,t)}))},t.prototype.destroy=function(){var e=this.containerEl,t=this.contentEl;!function(e){var t=vu.get(e);t&&(t.forEach((function(e){var t=e.elem,n=e.eventName,r=e.handler;t.removeEventListener(n,r,yu())})),vu.delete(e))}(this),this._listeners.clear(),this.setMomentum(0,0),cancelAnimationFrame(this._renderID),this._observer&&this._observer.disconnect(),Xu.delete(this.containerEl);for(var n=Array.from(t.childNodes);e.firstChild;)e.removeChild(e.firstChild);
2n.forEach((function(t){e.appendChild(t)})),Su(e,{overflow:""}),e.scrollTop=this.scrollTop,e.scrollLeft=this.scrollLeft,this._plugins.forEach((function(e){e.onDestroy()})),this._plugins.length=0},t.prototype._init=function(){var t=this;this.update(),Object.keys(e).forEach((function(n){e[n](t)})),this._plugins.forEach((function(e){e.onInit()})),this._render()},t.prototype._updateDebounced=function(){this.update()},t.prototype._shouldPropagateMomentum=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0);var n=this,r=n.options,i=n.offset,a=n.limit;if(!r.continuousScrolling)return!1;0===a.x&&0===a.y&&this._updateDebounced();var s=uu()(e+i.x,0,a.x),o=uu()(t+i.y,0,a.y),l=!0;return l=(l=(l=l&&s===i.x)&&o===i.y)&&(i.x===a.x||0===i.x||i.y===a.y||0===i.y)},t.prototype._render=function(){var e=this._momentum;if(e.x||e.y){var t=this._nextTick("x"),n=this._nextTick("y");e.x=t.momentum,e.y=n.momentum,this.setPosition(t.position,n.position)}var r=au({},this._momentum);this._plugins.forEach((function(e){e.onRender(r)})),this._renderID=requestAnimationFrame(this._render.bind(this))},t.prototype._nextTick=function(e){var t=this,n=t.options,r=t.offset,i=t._momentum,a=r[e],s=i[e];if(Math.abs(s)<=.1)return{momentum:0,position:a+s};var o=s*(1-n.damping);return n.renderByPixels&&(o|=0),{momentum:o,position:a+s-o}},su([pu(100,{leading:!0})],t.prototype,"_updateDebounced",null),t}(),Ku="smooth-scrollbar-style",Qu=!1;function $u(){if(!Qu&&"undefined"!==typeof window){var e=document.createElement("style");e.id=Ku,e.textContent="\n[data-scrollbar] {\n  display: block;\n  position: relative;\n}\n\n.scroll-content {\n  display: flow-root;\n  -webkit-transform: translate3d(0, 0, 0);\n          transform: translate3d(0, 0, 0);\n}\n\n.scrollbar-track {\n  position: absolute;\n  opacity: 0;\n  z-index: 1;\n  background: rgba(222, 222, 222, .75);\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  -webkit-transition: opacity 0.5s 0.5s ease-out;\n          transition: opacity 0.5s 0.5s ease-out;\n}\n.scrollbar-track.show,\n.scrollbar-track:hover {\n  opacity: 1;\n  -webkit-transition-delay: 0s;\n          transition-delay: 0s;\n}\n\n.scrollbar-track-x {\n  bottom: 0;\n  left: 0;\n  width: 100%;\n  height: 8px;\n}\n.scrollbar-track-y {\n  top: 0;\n  right: 0;\n  width: 8px;\n  height: 100%;\n}\n.scrollbar-thumb {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 8px;\n  height: 8px;\n  background: rgba(0, 0, 0, .5);\n  border-radius: 4px;\n}\n",document.head&&document.head.appendChild(e),Qu=!0}}var Ju,ec=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}iu(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.init=function(e,t){if(!e||1!==e.nodeType)throw new TypeError("expect element to be DOM Element, but got "+e);return $u(),Xu.has(e)?Xu.get(e):new Zu(e,t)},t.initAll=function(e){return Array.from(document.querySelectorAll("[data-scrollbar]"),(function(n){return t.init(n,e)}))},t.has=function(e){return Xu.has(e)},t.get=function(e){return Xu.get(e)},t.getAll=function(){return Array.from(Xu.values())},t.destroy=function(e){var t=Xu.get(e);t&&t.destroy()},t.destroyAll=function(){Xu.forEach((function(e){e.destroy()}))},t.use=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Fu.apply(void 0,e)},t.attachStyle=function(){return $u()},t.detachStyle=function(){return function(){if(Qu&&"undefined"!==typeof window){var e=document.getElementById(Ku);e&&e.parentNode&&(e.parentNode.removeChild(e),Qu=!1)}}()},t.version="8.8.1",t.ScrollbarPlugin=Lu,t}(Zu),tc=ec,nc="HamburgerMenu_xBurger__HhUcZ",rc="HamburgerMenu_disabled__EBcBw",ic="HamburgerMenu_open__6dreQ",ac="HamburgerMenu_xBurgerTextW__c1TlH",sc="HamburgerMenu_xBurgerText__BgaaZ",oc="HamburgerMenu_lines__YDJa9",lc="HamburgerMenu_line__b7S5+",uc="HamburgerMenu_horizontal1__3fKyu",cc="HamburgerMenu_horizontal2__WLz0i",dc="HamburgerMenu_horizontal3__4Azqb",hc="HamburgerMenu_cross1W__i-JVQ",fc="HamburgerMenu_cross1__BZo2L",pc="HamburgerMenu_cross2W__a5i1P",mc="HamburgerMenu_cross2__auhf3",gc=Ka((function(e,t){return{open:!1,toggle:function(){return e({open:!t().open})}}})),vc=gc,yc=function(){var e,t=vc(),r=h((0,a.useState)(!1),2),i=r[0],s=r[1];return(0,a.useEffect)((function(){return s(!0),setTimeout((function(){s(!1)}),1e3),function(){clearTimeout(undefined)}}),[t.open]),(0,n.jsxs)("div",{className:$e()(nc,(e={},Xe(e,ic,t.open),Xe(e,rc,i),e)),onClick:t.toggle,"data-hamburger-menu":!0,children:[(0,n.jsxs)("div",{className:ac,children:[(0,n.jsx)("p",{className:sc,children:"MENU"}),(0,n.jsx)("p",{className:sc,children:"CLOSE"})]}),(0,n.jsxs)("div",{className:oc,children:[(0,n.jsx)("div",{className:$e()(lc,uc)}),(0,n.jsx)("div",{className:$e()(lc,cc)}),(0,n.jsx)("div",{className:$e()(lc,dc)}),(0,n.jsx)("div",{className:hc,children:(0,n.jsx)("div",{className:fc})}),(0,n.jsx)("div",{className:pc,children:(0,n.jsx)("div",{className:mc})})]})]})},_c=a.memo(yc),bc="MagnetCursor_magnetCursor__2I4wB",xc="MagnetCursor_cursor__XEDVb",Tc="MagnetCursor_default__G8pOy",wc="MagnetCursor_inner__AMAYU",Sc="MagnetCursor_award__b9gev",Ec="MagnetCursor_texted__18kaU",kc="MagnetCursor_active__48023",Cc="MagnetCursor_visible__Rk4Rb",Pc="MagnetCursor_text__dRvHZ",Ac=function(){var e=h((0,a.useState)({clientX:0,clientY:0}),2),t=e[0],n=e[1],r=function(e){var t=e.clientX,r=e.clientY;n({clientX:t,clientY:r})};return(0,a.useEffect)((function(){return document.addEventListener("mousemove",r,!1),function(){document.removeEventListener("mousemove",r)}}),[]),t},Ic=["title","titleId"];function Oc(){return Oc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oc.apply(this,arguments)}function Dc(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Mc(e,t){var n=e.title,r=e.titleId,i=Dc(e,Ic);return a.createElement("svg",Oc({xmlns:"http://www.w3.org/2000/svg",width:88.948,height:88.518,viewBox:"0 0 88.948 88.518",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Ju||(Ju=a.createElement("path",{id:"Path_5563","data-name":"Path 5563",d:"M-1933.108,1011.568c.211,23.913-19.486,44.331-44.576,44.259a44.454,44.454,0,0,1-44.369-44.516,44.393,44.393,0,0,1,45.273-44A44.178,44.178,0,0,1-1933.108,1011.568Zm-44.354,20.259c4.149,0,8.3-.022,12.446.019a1.242,1.242,0,0,0,1.425-1q3.839-11.871,7.746-23.72a1.108,1.108,0,0,0-.489-1.479q-10.227-7.343-20.408-14.75a1.049,1.049,0,0,0-1.472.01q-10.185,7.4-20.407,14.751a1.1,1.1,0,0,0-.466,1.485q3.906,11.849,7.749,23.719a1.185,1.185,0,0,0,1.331.983C-1985.825,1031.807-1981.644,1031.827-1977.462,1031.827Z",transform:"translate(2022.054 -967.309)",fill:"#d9ff50"})))}var Nc=a.forwardRef(Mc),Rc=(__webpack_require__.p,Ka((function(e,t){return{default:!0,visible:!1,scaled:!1,hidden:!1,circled:!1,texted:!1,award:!1,slide:!1,toggleDefault:function(){return e((function(){return{default:!t().default,seeMore:!1,texted:!1,hidden:!1,slide:!1}}))},toggleHide:function(){return e((function(){return{hidden:!t().hidden,seeMore:!1,texted:!1}}))},toggleSlide:function(){return e((function(){return{slide:!t().slide,seeMore:!1}}))},toggleVisibility:function(){return e((function(){return{visible:!t().visible}}))},toggleText:function(){return e((function(){return{texted:!t().texted,default:!t().default}}))},toggleAward:function(){return e((function(){return{award:!t().award,default:!t().default}}))}}}))),Lc=Rc,jc=function(){var e,t=(0,a.useRef)(null),r=(0,a.useRef)(null),i=Lc(),s=Ac(),o=s.clientX,l=s.clientY;return(0,a.useEffect)((function(){var e=function(){i.visible||i.toggleVisibility()},t=function(){i.visible&&i.toggleVisibility()};return document.body.addEventListener("mouseenter",e),document.body.addEventListener("mouseleave",t),function(){document.body.removeEventListener("mouseenter",e),document.body.removeEventListener("mouseleave",t)}}),[i.visible]),(0,a.useEffect)((function(){i.visible&&r.current&&Va.to(r.current,{x:function(){return o-10},y:function(){return l-5},duration:0})}),[o,l,i.visible]),(0,n.jsx)("div",{className:$e()(bc,Xe({},Cc,i.visible)),ref:r,children:(0,n.jsxs)("div",{className:xc,ref:t,children:[(0,n.jsxs)("div",{className:$e()(wc,Xe({},kc,i.texted||i.award)),children:[(0,n.jsx)("p",{className:$e()(Ec,Xe({},kc,i.texted&&!i.award)),children:(0,n.jsx)("span",{className:Pc,children:"VIEW"})}),(0,n.jsx)("p",{className:$e()(Sc,Xe({},kc,i.award&&!i.texted)),children:(0,n.jsx)(Nc,{})})]}),(0,n.jsx)("div",{className:$e()(Tc,(e={},Xe(e,kc,!i.texted&&!i.award),Xe(e,Tc,i.default),e))})]})})};function Fc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Fc(Object(n),!0).forEach((function(t){Xe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Uc="Menu_navMenu__JTgLL",Vc="Menu_oHiddenWrapper__vdICC",zc="Menu_oHidden__kUgwf",Gc="Menu_real__cghCA",Hc="Menu_dummy__rpqbe",Wc="Menu_jdfxLogoMenu__YPUPM",qc="Menu_linksWrapper__ni9GO",Yc="Menu_chooseWisely__Umj51",Xc="Menu_navMenuItem__3FxW1";var Zc=__webpack_require__.p+"static/media/choose-wisely.eb4921b452d28023ff6b453c6cddd083.svg";var Kc=__webpack_require__.p+"static/media/contact.8693bc7fb6fc7b35d3da95ca5f7e2bee.svg";var Qc=__webpack_require__.p+"static/media/jdfx-logo-menu.7769935762a1b71051e46ded3a2202f2.svg";var $c=__webpack_require__.p+"static/media/about.31ea5454110d00fe955571ede675db6a.svg";var Jc=__webpack_require__.p+"static/media/works.8cd537e0d80e3864274a01ce79300d72.svg";var ed=function(){var e=h((0,a.useState)({width:window.innerWidth,height:window.innerHeight}),2),t=e[0],n=e[1],r=function(){n({width:window.innerWidth,height:window.innerHeight})};return td("resize",r),nd((function(){r()}),[]),t};var td=function(e,t,n,r){var i=(0,a.useRef)(t);nd((function(){i.current=t}),[t]),(0,a.useEffect)((function(){var t,a=null!==(t=null===n||void 0===n?void 0:n.current)&&void 0!==t?t:window;if(a&&a.addEventListener){var s=function(e){return i.current(e)};return a.addEventListener(e,s,r),function(){a.removeEventListener(e,s,r)}}}),[e,n,r])},nd="undefined"!==typeof window?a.useLayoutEffect:a.useEffect;var rd=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"root",n=(0,a.useState)(e),r=h(n,2),i=r[0],s=r[1];return nd((function(){if(i){var e=document.body.style.overflow,n=document.body.style.paddingRight;document.body.style.overflow="hidden";var r=document.getElementById(t),a=r?r.offsetWidth-r.scrollWidth:0;return a&&(document.body.style.paddingRight="".concat(a,"px")),function(){document.body.style.overflow=e,a&&(document.body.style.paddingRight=n)}}}),[i]),(0,a.useEffect)((function(){i!==e&&s(e)}),[e]),[i,s]},id=function(){var e=h((0,a.useState)(null),2),t=e[0],n=e[1],r=(0,a.useRef)(null);return(0,a.useEffect)((function(){r.current&&n(r.current)}),[]),[t,r]};var ad=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mousedown";td(n,(function(n){var r=null===e||void 0===e?void 0:e.current;r&&!r.contains(n.target)&&t(n)}))},sd=Ka((function(e,t){return{locked:!1,toggle:function(){return e({locked:!t().locked})}}})),od=sd,ld=640,ud=768,cd=1024,dd={prod:"https://justdesignfx.com",dev:"https://demo.justdesignfx.com"},hd="prod",fd=function(){var e=(0,a.useRef)(null),t=(0,a.useRef)(null),r=(0,a.useRef)(null),i=(0,a.useRef)(null),s=(0,a.useRef)(null),o=(0,a.useRef)(null),l=(0,a.useRef)(null),u=(0,a.useRef)(null),c=(0,a.useRef)(null),d=(0,a.useRef)(null),f=(0,a.useRef)(null),p=(0,a.useRef)(null),m=(0,a.useRef)(null),g=(0,a.useRef)(null),v=(0,a.useRef)(null),y=(0,a.useRef)(null),_=(0,a.useRef)(null),b=(0,a.useRef)(null),x=(0,a.useRef)(null),T=(0,a.useRef)(null),w=(0,a.useRef)(null),S=(0,a.useRef)(null),E=(0,a.useRef)(null),k=(0,a.useRef)(null),C=(0,a.useRef)(null),P=(0,a.useRef)(null),A=h((0,a.useState)(null),2),I=A[0],O=A[1],D=h((0,a.useState)(null),2),M=D[0],N=D[1],R=vc(),L=ed(),j=h(rd(!1,"root"),2),F=(j[0],j[1]),B=a.useContext(rh);(0,a.useEffect)((function(){var e=1.05,n=.5,a=1.2,h=Ai.easeOut;switch(M){case"about":Va.to([t.current,r.current,i.current,s.current],{scaleY:2.2,scaleX:e,ease:h,duration:a}),Va.to([o.current,l.current,u.current,c.current],{scaleY:n,scaleX:1,yPercent:85,ease:h,duration:a}),Va.to([d.current,f.current,p.current,m.current],{scaleY:n,scaleX:1,ease:h,duration:a});break;case"works":Va.to([t.current,r.current,i.current,s.current],{scaleY:function(){return"works"===M?.5:1},scaleX:1,ease:h,duration:a}),Va.to([d.current,f.current,p.current,m.current],{scaleY:function(){return"works"===M?.5:1},scaleX:1,ease:h,duration:a}),Va.to([o.current,l.current,u.current,c.current],{scaleY:2.2,scaleX:e,yPercent:0,ease:h,duration:a});break;case"contact":Va.to([t.current,r.current,i.current,s.current],{scaleY:n,scaleX:1,ease:h,duration:a}),Va.to([o.current,l.current,u.current,c.current],{scaleY:n,yPercent:-85,ease:h,duration:a}),Va.to([d.current,f.current,p.current,m.current],{scaleY:2.2,scaleX:e,ease:h,duration:a});break;default:Va.to([t.current,r.current,i.current,s.current],{scaleY:1,scaleX:1,ease:h,duration:a}),Va.to([o.current,l.current,u.current,c.current],{scaleY:1,scaleX:1,yPercent:0,ease:h,duration:a}),Va.to([d.current,f.current,p.current,m.current],{scaleY:1,scaleX:1,ease:h,duration:a})}}),[M,I]);var U=(0,a.useRef)(null),V=function(){N(null)};(0,a.useEffect)((function(){Va.set([t.current,r.current,i.current,s.current],{transformOrigin:"0 0"}),Va.set([o.current,l.current,u.current,c.current],{transformOrigin:"0 50%"}),Va.set([d.current,f.current,p.current,m.current],{transformOrigin:"0 100%"}),Va.set(g.current,{xPercent:0}),Va.set(v.current,{xPercent:-33}),Va.set(y.current,{xPercent:-66}),Va.set(e.current,{display:"none",duration:0,opacity:0}
2),Va.set(k.current,{width:"33%"}),Va.set(C.current,{width:"33%"}),Va.set(P.current,{width:"34%"}),Va.set([S.current,E.current],{rotation:0,xPercent:0}),U.current=Va.timeline({paused:!0}).add("s").to([k.current,C.current,P.current],{width:0,duration:1,ease:Ci.easeInOut},"s").to(g.current,{xPercent:-33,duration:1,ease:Ci.easeInOut},"s").to(v.current,{xPercent:-66,duration:1,ease:Ci.easeInOut},"s").to(y.current,{xPercent:-99,duration:1,ease:Ci.easeInOut},"s").to([S.current,E.current],{rotation:-60,xPercent:-100,duration:1,ease:Ci.easeInOut},"s"),U.current.play(1)}),[]);od();(0,a.useEffect)((function(){U.current.isActive()||(N(null),R.open?(U.current.reverse(),B.lockScrollbar(),F(!0),Va.to(e.current,{autoAlpha:1,delay:1,duration:0,display:"flex",height:function(){return L.height}})):R.open||(U.current.play(),B.unlockScrollbar(),F(!1),Va.to(e.current,{autoAlpha:0,duration:0,display:"none"})))}),[R.open]);var z=Te();return(0,a.useEffect)((function(){R.open&&R.toggle()}),[z]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:$e()(Uc,Gc),ref:e,children:[(0,n.jsx)(We,{to:"/",children:(0,n.jsx)("img",{className:Wc,src:Qc,alt:"JUST DESIGN FX Logo"})}),(0,n.jsxs)("div",{className:qc,ref:_,children:[(0,n.jsx)(We,Bc(Bc(Bc({to:"/about",className:Xc},L.width>cd&&{onMouseOver:function(){O(M),N("about")}}),L.width>cd&&{onMouseOut:V}),{},{children:(0,n.jsx)("img",{ref:t,src:$c,alt:"Team"})})),(0,n.jsx)(We,Bc(Bc(Bc({to:"/works",className:Xc},L.width>cd&&{onMouseOver:function(){O(M),N("works")}}),L.width>cd&&{onMouseOut:V}),{},{children:(0,n.jsx)("img",{ref:o,src:Jc,alt:"Works"})})),(0,n.jsx)(We,Bc(Bc(Bc({to:"/contact",className:Xc},L.width>cd&&{onMouseOver:function(){O(M),N("contact")}}),L.width>cd&&{onMouseOut:V}),{},{children:(0,n.jsx)("img",{ref:d,src:Kc,alt:"Let's Talk"})})),(0,n.jsx)("img",{className:Yc,src:Zc,alt:"Choose Wisely"})]})]}),(0,n.jsxs)("div",{className:Vc,ref:w,children:[(0,n.jsx)("div",{className:zc,ref:k,children:(0,n.jsxs)("div",{className:$e()(Uc,Hc),ref:g,style:{height:L.height},children:[(0,n.jsx)("img",{ref:S,className:Wc,src:Qc,alt:"JUST DESIGN FX Logo"}),(0,n.jsxs)("div",{className:qc,ref:b,children:[(0,n.jsx)("div",{className:Xc,children:(0,n.jsx)("img",{ref:r,src:$c,alt:""})}),(0,n.jsx)("div",{className:Xc,children:(0,n.jsx)("img",{ref:l,src:Jc,alt:""})}),(0,n.jsx)("div",{className:Xc,children:(0,n.jsx)("img",{ref:f,src:Kc,alt:""})}),(0,n.jsx)("img",{className:Yc,src:Zc,alt:"Choose Wisely"})]})]})}),(0,n.jsx)("div",{className:zc,ref:C,children:(0,n.jsxs)("div",{className:$e()(Uc,Hc),ref:v,style:{height:L.height},children:[(0,n.jsx)("img",{ref:E,className:Wc,src:Qc,alt:"JUST DESIGN FX Logo"}),(0,n.jsxs)("div",{className:qc,ref:x,children:[(0,n.jsx)("div",{className:Xc,children:(0,n.jsx)("img",{ref:i,src:$c,alt:""})}),(0,n.jsx)("div",{className:Xc,children:(0,n.jsx)("img",{ref:u,src:Jc,alt:""})}),(0,n.jsx)("div",{className:Xc,children:(0,n.jsx)("img",{ref:p,src:Kc,alt:""})}),(0,n.jsx)("img",{className:Yc,src:Zc,alt:"Choose Wisely"})]})]})}),(0,n.jsx)("div",{className:zc,ref:P,children:(0,n.jsx)("div",{className:$e()(Uc,Hc),ref:y,style:{height:L.height},children:(0,n.jsxs)("div",{className:qc,ref:T,children:[(0,n.jsx)("div",{className:Xc,children:(0,n.jsx)("img",{ref:s,src:$c,alt:""})}),(0,n.jsx)("div",{className:Xc,children:(0,n.jsx)("img",{ref:c,src:Jc,alt:""})}),(0,n.jsx)("div",{className:Xc,children:(0,n.jsx)("img",{ref:m,src:Kc,alt:""})}),(0,n.jsx)("img",{className:Yc,src:Zc,alt:"Choose Wisely"})]})})})]})]})},pd=a.memo(fd),md="Modal_modal__ELjcq",gd="Modal_close__GTRLM",vd="Modal_open__-L4w3",yd="Modal_icon__yqxZ5",_d="Modal_content__KNurj",bd="Modal_backdrop__EMsOJ",xd=Ka((function(e,t){return{scrollToTop:!1,open:!1,content:null,toggle:function(){return e({open:!t().open})},setContent:function(t){return e({content:t})},toggleScrollToTop:function(){return e({scrollToTop:!t().scrollToTop})}}})),Td=xd;var wd=__webpack_require__.p+"static/media/cross-black.e94b787fa44c5821882752fada357530.svg",Sd=function(){(0,a.useRef)(null);var e=(0,a.useRef)(null),t=(0,a.useRef)(null),r=(0,a.useRef)(null),i=Te(),s=a.useContext(rh),o=Td(),l=h(rd(!1,"root"),2),u=(l[0],l[1]);(0,a.useEffect)((function(){o.open&&o.toggle()}),[i]),(0,a.useEffect)((function(){o.open?(u(!0),s.lockScrollbar(),Va.to(r.current,{autoAlpha:1,duration:.2,pointerEvents:"auto"})):(u(!1),s.unlockScrollbar(),Va.to(r.current,{autoAlpha:0,duration:.4,delay:.4,pointerEvents:"none",onComplete:function(){o.setContent(null)}}))}),[o.open]);var c=function(){o.toggle()},d=(0,a.useCallback)((function(e){"Escape"===e.key&&o.open&&o.toggle()}),[]);return(0,a.useEffect)((function(){return document.addEventListener("keydown",d,!1),function(){document.removeEventListener("keydown",d,!1)}}),[]),(0,n.jsxs)("div",{className:$e()(md,Xe({},vd,o.open)),ref:t,children:[(0,n.jsx)("div",{className:gd,onClick:c,children:(0,n.jsx)("img",{className:yd,src:wd,alt:"Close Icon"})}),(0,n.jsx)("div",{className:bd,ref:r,onClick:c}),(0,n.jsx)("div",{className:_d,ref:e,onClick:function(e){e.stopPropagation()},children:o.content})]})},Ed={hide:"Preloader_hide__O3eao",show:"Preloader_show__7mroO",curs
2orPointer:"Preloader_cursorPointer__PrA49",absoluteCenter:"Preloader_absoluteCenter__tWS60",absoluteStretch:"Preloader_absoluteStretch__uIpQJ",flexCenterX:"Preloader_flexCenterX__-nOTR",lsWrapper:"Preloader_lsWrapper__t+fpg",flexStart:"Preloader_flexStart__Itcjn",flexStartX:"Preloader_flexStartX__yklDa",flexEndX:"Preloader_flexEndX__fQWs8",flexCenterY:"Preloader_flexCenterY__0Q+LT",flexStartY:"Preloader_flexStartY__7x1oB",flexEndY:"Preloader_flexEndY__oqwlo",flexBetweenX:"Preloader_flexBetweenX__zNqYr",flexBetweenY:"Preloader_flexBetweenY__9oBPt",absoluteFullPage:"Preloader_absoluteFullPage__YDbpc",fixedFullPage:"Preloader_fixedFullPage__zyta-",loadingOHiddenWrapper:"Preloader_loadingOHiddenWrapper__V1t4S",logoLottie:"Preloader_logoLottie__Lb9Xr",progressV2:"Preloader_progressV2__VU3q5",oHidden1:"Preloader_oHidden1__KzNce",oHidden2:"Preloader_oHidden2__dXAE7",oHidden3:"Preloader_oHidden3__tQgn1",lDummyNavMenu:"Preloader_lDummyNavMenu__wGgib",textWrapper:"Preloader_textWrapper__dyEkI",jdfxLogoMenu:"Preloader_jdfxLogoMenu__Wsx-U"},kd=__webpack_require__(9741),Cd=__webpack_require__.n(kd),Pd=JSON.parse('{"v":"5.5.7","meta":{"g":"LottieFiles AE 0.1.21","a":"","k":"","d":"","tc":""},"fr":24,"ip":0,"op":366,"w":1200,"h":1200,"nm":"Pre-comp 1","ddd":1,"assets":[{"id":"comp_0","layers":[{"ddd":1,"ind":3,"ty":4,"nm":"just_logo Outlines 3","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"rx":{"a":0,"k":0,"ix":8},"ry":{"a":0,"k":0,"ix":9},"rz":{"a":0,"k":0,"ix":10},"or":{"a":0,"k":[270,0,0],"ix":7},"p":{"a":0,"k":[124,46.968,0],"ix":2},"a":{"a":0,"k":[124,122,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-1.447,-0.347],[0,0],[0.376,-0.882],[3.796,-1.658],[2.238,1.391],[4.686,0.563],[2.796,-1.381],[3.918,-2.946],[6.354,6.859],[0,0],[1.228,2.707],[0.466,2.658],[0,0],[-4.393,-2.902],[-4.779,2.127],[-2.014,1.827],[-3.548,2.097],[-4.151,-0.514],[-5.049,-2.065],[-4.837,5.954],[-1.131,1.95],[0,0],[0.65,1.623]],"o":[[0.751,1.229],[0,0],[-0.359,0.824],[-1.614,3.498],[-4.734,2.197],[-4.969,-1.856],[-3.089,-0.319],[-4.282,2.297],[-6.858,5.045],[0,0],[-2.658,-1.809],[-1.072,-2.547],[0,0],[1.77,4.756],[3.999,3.716],[2.47,-1.086],[3.183,-2.597],[3.595,-2.217],[5.507,0.711],[5.96,3.534],[1.534,-1.621],[0,0],[-1.776,-0.66],[0.001,-0.001]],"v":[[41.522,-13.476],[44.597,-10.194],[45.725,-10.216],[43.893,-5.689],[36.082,2.396],[21.279,0.679],[6.451,-3.389],[-2.467,-1.981],[-14.576,6.435],[-38.796,6.617],[-38.238,7.075],[-43.464,-0.019],[-45.725,-7.832],[-45.342,-7.951],[-37.146,5.104],[-21.977,6.584],[-15.178,2.259],[-5.201,-4.982],[6.875,-7.248],[22.577,-2.445],[40.618,-3.75],[44.174,-9.406],[44.311,-9.089],[41.142,-13.349]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[124.581,149.656],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 27","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-4.563,2.455],[0,0],[1.976,4.014],[-0.279,1.348]],"o":[[0.991,5.039],[0,0],[-2.802,3.579],[-0.616,-1.247],[0,0]],"v":[[-5.12,-4.359],[5.43,0.715],[5.564,0.821],[-4.822,-0.365],[-5.286,-4.4]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[170.423,137.952],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 28","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-2.952,1.28],[-1.007,1.946],[0,0],[4.296,2.1],[0.645,1.323]],"o":[[2.506,2.255],[1.801,-0.799],[0,0],[-0.035,4.86],[-1.337,-0.652],[0,0]],"v":[[-6.145,-1.336],[2.362,0.196],[6.131,-3.943],[6.301,-3.941],[-3.268,1.843],[-6.301,-1.268]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[78.451,139.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 29","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-0.591,3.026],[-1.771,0],[-1.365,-1.992],[0,0],[0,0],[1.144,0.516],[0.074,1.808]],"o":[[0.221,-7.453],[0.59,-3.025],[1.77,0],[1.365,1.993],[0,0],[0,0],[-1.144,-0.517],[-0.074,-1.808]],"v":[[-5.645,3.867],[
vendor: 58,336 bytes, line 2
2-4.132,-9.747],[0.554,-15.023],[4.354,-12.146],[5.498,-4.508],[4.869,15.023],[-4.206,14.309],[-5.645,9.882]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[135.137,103.265],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":11,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":13,"s":[100,2]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":15,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":45,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":47,"s":[100,2]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":49,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":75,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":77,"s":[100,2]},{"t":79,"s":[100,100]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 32","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-1.532,1.414],[-0.062,5.793],[0,0],[2.352,-4.332],[0.052,-5.034]],"o":[[0,0],[1.602,-1.478],[0.062,-5.793],[0,0],[0,0],[-0.053,5.034]],"v":[[-5.824,17.767],[3.394,15.75],[5.762,6.418],[5.686,-17.114],[-3.577,-13.434],[-5.624,-5.667]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[110.887,104.124],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":11,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":13,"s":[100,2]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":15,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":45,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":47,"s":[100,2]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":49,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":75,"s":[100,100]},{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":77,"s":[100,2]},{"t":79,"s":[100,100]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 33","np":2,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false}],"ip":2,"op":96,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Shape Layer 2","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":1,"s":[-22.332]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":4,"s":[-26.667]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":7,"s":[-42.924]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":9,"s":[-62.994]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":114,"s":[-549.096]},{"t":118,"s":[-563.6]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[433.777,578,0],"to":[0.599,0,0],"ti":[-0.599,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":1,"s":[437.371,578,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":4,"s":[437.371,578,0],"to":[-5.688,41.258,0],"ti":[15.762,0.813,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":9,"s":[403.245,825.55,0],"to":[-15.762,-0.813,0],"ti":[-6.592,42.071,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":114,"s":[342.799,573.124,0],"to":[6.592,-42.071,0],"ti":[-16.667,0,0]},{"t":118,"s":[442.799,573.124,0]}],"ix":2},"a":{"a":0,"k":[-239.9,3.362,0],"ix":1},"s":{"a":0,"k":[115.646,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[563.669,1090.318],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.850980451995,1,0.313725490196,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[41.934,3.362],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":114,"op":122,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"just_logo Outlines 10","tt":2,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[599.985,564.09,0],"ix":2},"a":{"a":0,"k":[123.997,113.884,0],"ix":1},"s":{"a":0,"k":[442.476,442.476,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-37.078],[37.078,0],[0,37.078],[-37.078,0]],"o":[[0,37.078],[-37.078,0],[0,-37.078],[37.078,0]],"v":[[67.136,0],[0,67.136],[-67.136,0],[0,-67.136]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.850980451995,1,0.313725490196,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[123.997,113.884],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 34","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":114,"op":122,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Shape Layer 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":1,"s":[-22.332]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":4,"s":[-26.667]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":7,"s":[-42.924]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":9,"s":[-62.994]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":84,"s":[-62.994]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":85,"s":[-234.994]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":86,"s":[-171.785]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":93,"s":[-207.861]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":97,"s":[-204.909]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":98,"s":[-382.268]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":100,"s":[-385.383]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":105,"s":[-364.213]},{"t":113,"s":[-364.213]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[433.777,578,0],"to":[0.599,0,0],"ti":[-0.599,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":1,"s":[437.371,578,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":4,"s":[437.371,578,0],"to":[-5.688,41.258,0],"ti":[5.688,-41.258,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":9,"s":[403.245,825.55,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":84,"s":[403.245,825.55,0],"to":[68.55,-85.753,0],"ti":[-79.591,33.496,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":85,"s":[814.546,311.035,0],"to":[79.591,-33.496,0],"ti":[12.292,-42.257,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":86,"s":[880.791,624.574,0],"to":[-12.292,42.257,0],"ti":[23.333,10,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":93,"s":[740.791,564.574,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":97,"s":[740.791,564.574,0],"to":[3.333,0,0],"ti":[-6.667,3.333,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":98,"s":[760.791,564.574,0],"to":[6.667,-3.333,0],"ti":[-20,6.667,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":100,"s":[780.791,544.574,0],"to":[20,-6.667,0],"ti":[-26.667,3.333,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":105,"s":[880.791,524.574,0],"to":[26.667,-3.333,0],"ti":[-10,-6.667,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":108,"s":[940.791,524.574,0],"to":[10,6.667,0],"ti":[0,-6.667,0]},{"t":113,"s":[940.791,564.574,0]}],"ix":2},"a":{"a":0,"k":[-239.9,3.362,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":9,"s":[115.646,100,100]},{"t":84,"s":[115.646,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[563.669,1090.318],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.850980451995,1,0.313725490196,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[41.934,3.362],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":114,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"just_logo Outlines 9","tt":2,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[599.985,564.09,0],"ix":2},"a":{"a":0,"k":[123.997,113.884,0],"ix":1},"s":{"a":0,"k":[442.476,442.476,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-37.078],[37.078,0],[0,37.078],[-37.078,0]],"o":[[0,37.078],[-37.078,0],[0,-37.078],[37.078,0]],"v":[[67.136,0],[0,67.136],[-67.136,0],[0,-67.136]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.850980451995,1,0.313725490196,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[123.997,113.884],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 34","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":114,"st":0,"bm":0},{"ddd":1,"ind":8,"ty":4,"nm":"just_logo Outlines","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"rx":{"a":0,"k":0,"ix":8},"ry":{"a":0,"k":0,"ix":9},"rz":{"a":1,"k":[{"i":{"x":[0],"y":[0.998]},"o":{"x":[0.936],"y":[0]},"t":36,"s":[0]},{"t":68,"s":[-180.5]}],"ix":10},"or":{"a":0,"k":[270,0,0],"ix":7},"p":{"a":0,"k":[124,75.915,0],"ix":2},"a":{"a":0,"k":[124,122,0],"ix":1},"s":{"a":0,"k":[107.963,107.963,107.963],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0.411,-0.049],[-0.063,-0.52],[0,0],[0,0]],"o":[[-0.064,-0.541],[-0.454,0.054],[0,0],[0,0],[0,0]],"v":[[-0.09,-0.209],[-0.885,-0.971],[-1.454,-0.046],[-1.333,0.971],[0.031,0.809]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-0.758,0.09],[-0.214,-0.502],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[-0.093,-0.779],[0.628,-0.075],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-1.803,1.642],[-2.003,-0.047],[-1.003,-1.593],[0.257,-0.799],[1.602,-2.036],[1.693,-1.277],[0.421,-0.16],[0.529,0.749],[1.915,0.584],[1.986,1.191]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[1.84,-0.22],[0,0],[-0.228,-1.905],[-1.84,0.22],[0,0],[0.227,1.905]],"o":[[0,0],[-1.841,0.219],[0.224,1.884],[0,0],[1.841,-0.219],[-0.224,-1.884]],"v":[[-0.398,-3.334],[-0.419,-3.332],[-3.378,0.402],[0.396,3.334],[0.419,3.332],[3.378,-0.402]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ind":3,"ty":"sh","ix":4,"ks":{"a":0,"k":{"i":[[2.057,-0.245],[0,0],[0.251,2.101],[-2.057,0.245],[0,0],[-0.251,-2.101]],"o":[[0,0],[-2.057,0.245],[-0.252,-2.122],[0,0],[2.056,-0.245],[0.252,2.121]],"v":[[0.471,3.765],[0.449,3.768],[-3.79,0.451],[-0.471,-3.765],[-0.449,-3.768],[3.79,-0.451]],"c":true},"ix":2},"nm":"Path 4","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[32.032,133.037],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":7,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[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,0]],"o":[[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,0]],"v":[[-1.356,0.372],[-9.039,-3.798],[-9.973,-6.818],[-0.798,-1.695],[4.246,-11.382],[5.142,-8.488],[0.851,-0.312],[0.935,-0.041],[9.096,4.277],[9.973,7.109],[0.336,1.97],[-4.335,11.382],[-5.246,8.446],[-1.272,0.643]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[39.675,148.524],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[3.45,1.645],[8.818,-1.526],[9.949,0.388],[-2.908,7.984],[-9.949,-3.935],[-8.222,-4.956],[-2.313,5.049],[1.722,2.666],[-3.965,-6.963],[-2.238,-7.984]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[48.263,169.431],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[2.504,11.529],[-0.039,9.508],[-1.917,-8.694],[-10.057,1.545],[-11.797,0.161],[-2.505,-11.529],[0.124,-9.439],[1.984,8.61],[10.057,-1.543],[11.797,-0.16]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[69.639,191.739],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":3,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.103,2.537],[0.338,0.718],[2.933,1.276],[0.738,-0.077],[0.736,-1.692],[0,0],[0,0],[0,0],[0,0],[-1.227,0.2],[-3.492,-1.519],[-0.566,-1.212],[1.348,-3.101],[1.257,-0.395],[3.559,1.548],[0.724,0.94],[-0.892,2.053],[0,0],[-0.52,-0.553],[-2.771,-1.205],[-0.735,0.236]],"o":[[1.098,-2.524],[-0.337,-0.718],[-2.865,-1.245],[-0.737,0.075],[0,0],[0,0],[0,0],[0,0],[1.023,-2.352],[1.229,-0.201],[3.545,1.541],[0.567,1.211],[-1.348,3.101],[-1.257,0.395],[-3.505,-1.524],[-0.724,-0.942],[0,0],[-0.578,1.329],[0.52,0.553],[2.959,1.286],[0.737,-0.236]],"v":[[6.2,2.662],[7.34,-2.202],[2.435,-5.192],[-2.971,-6.946],[-5.182,-4.295],[1.417,-1.427],[0.617,0.413],[-8.02,-3.342],[-7.223,-5.176],[-3.846,-9.006],[3.234,-7.03],[9.403,-2.901],[8.231,3.568],[4.323,8.812],[-2.902,7.084],[-9.245,3.388],[-8.993,-1.103],[-6.953,-0.216],[-7.04,2.607],[-2.102,5.245],[3.441,6.821]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[89.531,203.456],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":3,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[0.729,-7.514],[2.885,-6.975],[-0.728,7.514],[-2.886,6.975]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[102.874,207.874],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 6","np":3,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.446,0.216],[0.862,0.486],[-0.17,1.925],[-1.397,0.446],[-3.358,-0.297],[-0.972,-0.888],[0.181,-2.041],[0,0],[0.591,0.409],[2.765,0.244],[0.826,-0.19],[0.088,-0.999],[-0.578,-0.3],[-2.793,-0.247],[-1.099,-0.93],[0.144,-1.621],[1.124,-0.419],[3.33,0.294],[0.972,0.888],[-0.165,1.854],[0,0],[-0.621,-0.393],[-2.431,-0.215],[-0.484,0.017],[-0.106,1.207],[0.75,0.433]],"o":[[-3.46,-0.306],[-1.07,-0.605],[0.162,-1.825],[1.142,-0.366],[3.634,0.321],[0.742,0.679],[0,0],[0.124,-1.404],[-0.591,-0.41],[-2.706,-0.239],[-0.827,0.189],[-0.09,1.013],[0.579,0.298],[3.417,0.302],[0.843,0.701],[-0.154,1.752],[-1.124,0.418],[-3.314,-0.294],[-0.769,-0.71],[0,0],[-0.114,1.283],[0.622,0.393],[2.085,0.184],[1.463,-0.047],[0.09,-1.018],[-0.75,-0.433]],"v":[[-0.542,0.859],[-7.025,-0.328],[-8.375,-4.123],[-6.038,-7.528],[0.712,-7.631],[7.62,-5.817],[8.463,-1.738],[6.248,-1.933],[5.548,-4.654],[0.513,-5.635],[-4.787,-5.71],[-6.159,-3.927],[-5.426,-1.958],[-0.366,-1.139],[6.408,0.708],[7.457,4.192],[5.539,7.448],[-1.142,7.634],[-7.572,5.862],[-8.479,2.017],[-6.308,2.21],[-5.546,4.724],[-0.965,5.636],[2.887,5.888],[5.241,4.008],[4.252,1.832]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[116.875,210.115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 7","np":3,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[8.077,6.44],[-6.072,8.358],[-6.342,6.371],[5.604,4.751],[5.018,0.43],[-6.517,1.994],[-6.786,0.006],[4.749,-1.557],[4.138,-6.072],[-7.809,-4.453],[-8.078,-6.44],[6.071,-8.358]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[136.804,209.497],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 8","np":3,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.114,-0.837],[-0.8,-2.017],[-0.666,-0.535],[-1.108,0.438],[0,0]],"o":[[0,0],[-1.121,0.445],[-0.115,0.836],[0.793,2.004],[0.665,0.535],[0,0],[0,0]],"v":[[3.571,-6.974],[-5.975,-3.193],[-7.828,-1.272],[-6.801,3.008],[-4.613,6.817],[-1.953,6.962],[7.592,3.18]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.873,0.39],[1.206,3.045],[-0.544,1.312],[-1.716,0.679],[0,0]],"o":[[0,0],[-1.715,0.679],[-1.294,-0.584],[-1.202,-3.031],[0.364,-0.895],[0,0],[0,0]],"v":[[10.398,4.226],[-1.236,8.835],[-5.118,9.269],[-8.868,3.827],[-9.854,-2.687],[-6.734,-5.049],[4.9,-9.658]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[157.993,203.341],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 9","np":5,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[8.337,-2.051],[-3.131,8.506],[-4.489,7.029],[0.419,2.51],[-8.337,-6.999],[-6.7,-8.505],[2.055,1.006],[6.979,-3.527]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[186.419,189.235],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 10","np":3,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.394,-2.022],[0.847,-0.511],[1.591,1.096],[-0.3,1.436],[-1.913,2.776],[-1.252,0.409],[-1.688,-1.163],[0,0],[0.649,-0.313],[1.574,-2.286],[0.243,-0.813],[-0.826,-0.568],[-0.545,0.357],[-1.591,2.311],[-1.35,0.5],[-1.341,-0.923],[0.19,-1.184],[1.895,-2.753],[1.252,-0.408],[1.532,1.055],[0,0],[-0.648,0.346],[-1.385,2.01],[-0.224,0.429],[0.997,0.687],[0.746,-0.44]],"o":[[-1.971,2.86],[-1.053,0.632],[-1.508,-1.039],[0.243,-1.173],[2.069,-3.005],[0.956,-0.311],[0,0],[-1.16,-0.8],[-0.647,0.313],[-1.542,2.238],[-0.242,0.813],[0.837,0.577],[0.545,-0.356],[1.946,-2.824],[1.026,-0.388],[1.448,0.998],[-0.189,1.184],[-1.888,2.742],[-0.997,0.319],[0,0],[1.061,0.73],[0.649,-0.349],[1.188,-1.724],[0.68,-1.296],[-0.842,-0.58],[-0.746,0.438]],"v":[[0.694,0.901],[-3.533,5.959],[-7.499,5.264],[-9.312,1.553],[-6.077,-4.371],[-1.096,-9.491],[2.87,-8.214],[1.607,-6.383],[-1.105,-7.114],[-4.438,-3.216],[-7.115,1.36],[-6.238,3.432],[-4.163,3.763],[-0.958,-0.237],[3.984,-5.223],[7.535,-4.419],[9.423,-1.146],[6.296,4.759],[1.586,9.483],[-2.207,8.38],[-0.971,6.585],[1.592,7.16],[4.643,3.622],[6.76,0.394],[6.284,-2.581],[3.902,-2.791]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[197.058,171.456],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 11","np":3,"cix":2,"bm":0,"ix":11,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0.483,-0.507],[1.003,-2.604],[-0.022,-0.694],[-1.087,-0.419],[0,0],[0,0],[0,0],[0.143,0.927],[-1.389,3.608],[-0.77,0.623],[-1.916,-0.738],[0,0],[0,0]],"o":[[-1.087,-0.418],[-0.484,0.506],[-1.013,2.631],[0.021,0.693],[0,0],[0,0],[0,0],[-1.915,-0.738],[-0.165,-1.029],[1.385,-3.594],[0.77,-0.622],[0,0],[0,0],[0,0]],"v":[[-1.112,-7.233],[-3.467,-7.1],[-5.697,-2.434],[-7.184,2.553],[-5.522,4.221],[4.362,8.027],[3.562,10.102],[-6.319,6.298],[-9.406,3.801],[-7.569,-3.155],[-4.339,-9.479],[-0.311,-9.307],[9.571,-5.503],[8.771,-3.426]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[207.08,153.766],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 12","np":3,"cix":2,"bm":0,"ix":12,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0.503,0.998],[-0.454,3.135],[-0.738,0.744],[-2.503,-0.362],[0,0],[0.468,-0.446],[0.34,-2.355],[-0.32,-0.545],[-1.715,-0.248]],"o":[[0,0],[0,0],[-2.65,-0.383],[-0.423,-0.839],[0.44,-3.05],[0.826,-0.836],[0,0],[-1.697,-0.244],[-0.468,0.445],[-0.34,2.353],[0.318,0.544],[0,0]],"v":[[7.37,5.867],[7.053,8.068],[-2.217,6.73],[-6.947,4.659],[-6.902,-1.303],[-5.134,-6.995],[-0.141,-7.706],[-0.459,-5.506],[-3.707,-5.205],[-4.919,-1.006],[-4.95,3.341],[-1.901,4.529]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[210.927,134.042],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 13","np":3,"cix":2,"bm":0,"ix":13,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-0.411,0.044],[0.057,0.52],[0,0],[0,0]],"o":[[0.06,0.542],[0.455,-0.05],[0,0],[0,0],[0,0]],"v":[[0.088,0.209],[0.873,0.979],[1.453,0.061],[1.343,-0.958],[-0.022,-0.81]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.759,-0.083],[0.208,0.504],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0.085,0.78],[-0.627,0.067],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[1.818,-1.622],[2.002,0.067],[0.984,1.604],[-0.265,0.796],[-1.623,2.018],[-1.705,1.258],[-0.422,0.154],[-0.52,-0.755],[-1.907,-0.605],[-1.973,-1.212]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[-1.841,0.2],[0,0],[0.207,1.907],[1.842,-0.2],[0,0],[-0.207,-1.907]],"o":[[0,0],[1.842,-0.2],[-0.204,-1.885],[0,0],[-1.841,0.199],[0.204,1.885]],"v":[[0.361,3.337],[0.384,3.334],[3.38,-0.367],[-0.362,-3.337],[-0.384,-3.335],[-3.38,0.367]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ind":3,"ty":"sh","ix":4,"ks":{"a":0,"k":{"i":[[-2.058,0.224],[0,0],[-0.228,-2.102],[2.058,-0.223],[0,0],[0.228,2.102]],"o":[[0,0],[2.059,-0.223],[0.23,2.123],[0,0],[-2.058,0.223],[-0.23,-2.123]],"v":[[-0.431,-3.769],[-0.409,-3.771],[3.792,-0.411],[0.431,3.768],[0.409,3.77],[-3.792,0.41]],"c":true},"ix":2},"nm":"Path 4","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[216.057,111.891],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 14","np":7,"cix":2,"bm":0,"ix":14,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[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,0]],"o":[[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,0]],"v":[[1.359,-0.358],[8.997,3.892],[9.9,6.921],[0.78,1.703],[-4.366,11.337],[-5.232,8.433],[-0.856,0.303],[-0.937,0.031],[-9.052,-4.373],[-9.9,-7.214],[-0.317,-1.974],[4.454,-11.337],[5.333,-8.391],[1.278,-0.629]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[208.59,96.351],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 15","np":3,"cix":2,"bm":0,"ix":15,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-3.415,-1.707],[-8.814,1.409],[-9.926,-0.517],[3.007,-7.98],[9.926,4.01],[8.188,5.012],[2.382,-5.052],[-1.678,-2.709],[3.911,6.977],[2.174,7.98]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[200.19,75.367],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 16","np":3,"cix":2,"bm":0,"ix":16,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-2.387,-11.554],[0.134,-9.507],[1.828,8.714],[10.07,-1.443],[11.798,-0.042],[2.386,11.554],[-0.219,9.439],[-1.898,-8.629],[-10.072,1.444],[-11.798,0.042]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[179.057,52.812],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 17","np":3,"cix":2,"bm":0,"ix":17,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.129,-2.525],[-0.332,-0.722],[-2.918,-1.306],[-0.738,0.068],[-0.752,1.685],[0,0],[0,0],[0,0],[0,0],[1.23,-0.188],[3.477,1.553],[0.554,1.217],[-1.38,3.087],[-1.261,0.381],[-3.542,-1.584],[-0.715,-0.948],[0.914,-2.043],[0,0],[0.514,0.558],[2.76,1.233],[0.738,-0.228]],"o":[[-1.123,2.513],[0.329,0.721],[2.853,1.275],[0.741,-0.068],[0,0],[0,0],[0,0],[0,0],[-1.047,2.342],[-1.231,0.188],[-3.528,-1.578],[-0.554,-1.218],[1.38,-3.087],[1.262,-0.383],[3.49,1.56],[0.715,0.948],[0,0],[0.59,-1.323],[-0.515,-0.559],[-2.945,-1.317],[-0.739,0.228]],"v":[[-6.176,-2.723],[-7.365,2.129],[-2.493,5.169],[2.893,6.98],[5.132,4.351],[-1.435,1.415],[-0.616,-0.416],[7.981,3.427],[7.165,5.253],[3.749,9.048],[-3.312,7],[-9.436,2.807],[-8.197,-3.65],[-4.236,-8.853],[2.97,-7.051],[9.276,-3.289],[8.977,1.198],[6.948,0.291],[7.063,-2.531],[2.151,-5.22],[-3.374,-6.853]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[159.3,40.897],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 18","np":3,"cix":2,"bm":0,"ix":18,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-0.805,7.506],[-2.956,6.946],[0.803,-7.506],[2.956,-6.946]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[145.982,36.34],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 19","np":3,"cix":2,"bm":0,"ix":19,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.444,-0.241],[-0.858,-0.493],[0.19,-1.923],[1.401,-0.431],[3.356,0.331],[0.962,0.898],[-0.201,2.04],[0,0],[-0.586,-0.415],[-2.763,-0.273],[-0.828,0.181],[-0.098,0.998],[0.576,0.306],[2.791,0.276],[1.091,0.941],[-0.16,1.62],[-1.129,0.407],[-3.327,-0.328],[-0.963,-0.899],[0.183,-1.851],[0,0],[0.618,0.399],[2.429,0.239],[0.483,-0.011],[0.119,-1.206],[-0.745,-0.441]],"o":[[3.457,0.342],[1.063,0.617],[-0.18,1.823],[-1.145,0.355],[-3.63,-0.359],[-0.736,-0.686],[0,0],[-0.139,1.403],[0.586,0.416],[2.705,0.267],[0.828,-0.181],[0.1,-1.012],[-0.576,-0.304],[-3.414,-0.337],[-0.835,-0.71],[0.173,-1.75],[1.128,-0.407],[3.311,0.328],[0.762,0.718],[0,0],[0.127,-1.282],[-0.617,-0.4],[-2.082,-0.206],[-1.464,0.032],[-0.1,1.017],[0.745,0.44]],"v":[[0.55,-0.856],[7.021,0.397],[8.331,4.207],[5.96,7.587],[-0.791,7.622],[-7.68,5.737],[-8.481,1.648],[-6.268,1.867],[-5.596,4.595],[-0.572,5.628],[4.728,5.757],[6.118,3.989],[5.404,2.012],[0.354,1.141],[-6.402,-0.776],[-7.415,-4.271],[-5.463,-7.507],[1.219,-7.625],[7.631,-5.786],[8.499,-1.933],[6.329,-2.146],[5.593,-4.669],[1.022,-5.628],[-2.827,-5.921],[-5.201,-4.064],[-4.233,-1.878]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[132.027,33.963],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 20","np":3,"cix":2,"bm":0,"ix":20,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-8.011,-6.522],[6.158,-8.295],[6.407,-6.305],[-5.556,-4.808],[-5.014,-0.482],[6.537,-1.927],[6.786,0.063],[-4.765,1.508],[-4.199,6.029],[7.762,4.532],[8.011,6.522],[-6.157,8.295]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[112.085,34.376],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 21","np":3,"cix":2,"bm":0,"ix":21,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-0.123,0.835],[0.778,2.025],[0.659,0.542],[1.112,-0.428],[0,0]],"o":[[0,0],[1.126,-0.432],[0.123,-0.835],[-0.773,-2.012],[-0.66,-0.542],[0,0],[0,0]],"v":[[-3.657,6.941],[5.928,3.259],[7.801,1.358],[6.819,-2.933],[4.67,-6.764],[2.011,-6.936],[-7.574,-3.254]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-0.87,-0.399],[-1.175,-3.058],[0.557,-1.305],[1.723,-0.662],[0,0]],"o":[[0,0],[1.722,-0.662],[1.288,0.597],[1.169,3.043],[-0.373,0.892],[0,0],[0,0]],"v":[[-10.369,-4.33],[1.313,-8.816],[5.201,-9.211],[8.895,-3.73],[9.812,2.793],[6.667,5.124],[-5.013,9.61]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[90.853,40.306],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 22","np":5,"cix":2,"bm":0,"ix":22,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-8.311,1.918],[3.262,-8.523],[4.605,-7.034],[-0.348,-2.565],[8.312,7.034],[6.661,8.523],[-1.999,-1.076],[-6.967,3.407]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[62.209,54.185],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 23","np":3,"cix":2,"bm":0,"ix":23,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.415,2.008],[-0.851,0.503],[-1.58,-1.113],[0.314,-1.432],[1.941,-2.757],[1.257,-0.395],[1.675,1.18],[0,0],[-0.652,0.306],[-1.599,2.269],[-0.251,0.81],[0.819,0.577],[0.55,-0.35],[1.614,-2.293],[1.355,-0.485],[1.331,0.937],[-0.202,1.182],[-1.924,2.733],[-1.256,0.396],[-1.521,-1.072],[0,0],[0.651,-0.341],[1.405,-1.996],[0.228,-0.425],[-0.991,-0.698],[-0.751,0.432]],"o":[[2,-2.839],[1.061,-0.622],[1.497,1.054],[-0.256,1.171],[-2.101,2.982],[-0.959,0.302],[0,0],[1.152,0.812],[0.65,-0.305],[1.565,-2.222],[0.251,-0.81],[-0.832,-0.586],[-0.549,0.351],[-1.976,2.804],[-1.03,0.377],[-1.438,-1.013],[0.202,-1.182],[1.917,-2.72],[1,-0.308],[0,0],[-1.054,-0.742],[-0.652,0.341],[-1.206,1.711],[-0.694,1.289],[0.835,0.588],[0.75,-0.431]],"v":[[-0.687,-0.907],[3.59,-5.919],[7.551,-5.182],[9.326,-1.454],[6.029,4.438],[0.993,9.503],[-2.959,8.186],[-1.678,6.368],[1.027,7.128],[4.402,3.264],[7.126,-1.284],[6.271,-3.365],[4.199,-3.717],[0.954,0.249],[-4.043,5.182],[-7.584,4.342],[-9.438,1.049],[-6.249,-4.824],[-1.489,-9.497],[2.292,-8.354],[1.038,-6.572],[-1.521,-7.174],[-4.607,-3.669],[-6.758,-0.464],[-6.312,2.518],[-3.934,2.753]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[51.463,71.775],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 24","np":3,"cix":2,"bm":0,"ix":24,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-0.488,0.502],[-1.029,2.594],[0.015,0.694],[1.082,0.429],[0,0],[0,0],[0,0],[-0.132,-0.928],[1.425,-3.593],[0.775,-0.614],[1.908,0.756],[0,0],[0,0]],"o":[[1.083,0.429],[0.49,-0.502],[1.039,-2.621],[-0.015,-0.693],[0,0],[0,0],[0,0],[1.907,0.756],[0.156,1.031],[-1.42,3.58],[-0.776,0.616],[0,0],[0,0],[0,0]],"v":[[1.053,7.243],[3.41,7.134],[5.687,2.49],[7.223,-2.482],[5.577,-4.166],[-4.267,-8.07],[-3.448,-10.137],[6.396,-6.234],[9.456,-3.707],[7.551,3.229],[4.258,9.521],[0.232,9.309],[-9.611,5.406],[-8.792,3.339]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[41.218,89.409],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 25","np":3,"cix":2,"bm":0,"ix":25,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[-0.492,-1.002],[0.485,-3.131],[0.747,-0.737],[2.499,0.387],[0,0],[-0.473,0.44],[-0.364,2.35],[0.313,0.548],[1.712,0.265]],"o":[[0,0],[0,0],[2.645,0.41],[0.415,0.844],[-0.471,3.045],[-0.834,0.827],[0,0],[1.695,0.262],[0.474,-0.44],[0.364,-2.351],[-0.313,-0.548],[0,0]],"v":[[-7.36,-5.92],[-7.019,-8.117],[2.237,-6.685],[6.945,-4.566],[6.839,1.396],[5.012,7.07],[0.013,7.729],[0.353,5.533],[3.604,5.266],[4.859,1.079],[4.935,-3.268],[1.898,-4.486]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0.3,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[37.241,109.045],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 26","np":3,"cix":2,"bm":0,"ix":26,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.002,-1.476],[12.878,-18.134],[20.232,-7.367],[21.303,6.291],[13.714,16.835],[1.671,21.871],[-11.59,19.174],[-19.545,8.803],[-21.805,-4.622],[-14.892,-15.764],[-3.314,-21.607],[-0.009,-5.564],[0.002,1.474],[3.617,10.976],[6.448,8.994],[8.808,6.641],[10.413,3.719],[11.556,0.367],[11.236,-3.223],[9.533,-6.244],[7.02,-8.46],[4.207,-10.255],[0.848,-11.33],[-2.787,-11.297],[-5.839,-9.5],[-8.288,-7.264],[-10.068,-4.479],[-11.318,-1.208],[-11.484,2.389],[-10.047,5.602],[-7.674,7.979],[-4.953,9.884],[-1.706,11.121],[-0.009,5.648]],"o":[[-0.035,22.227],[-12.455,17.538],[-20.895,7.61],[-20.835,-6.153],[-13.856,-17.01],[-1.705,-22.327],[11.074,-18.321],[20.339,-9.161],[21.241,4.504],[15.009,15.887],[0.844,5.5],[0.002,1.027],[-0.019,-11.552],[-3.465,-10.513],[-6.428,-8.965],[-8.829,-6.657],[-10.895,-3.891],[-11.684,-0.372],[-10.956,3.143],[-9.197,6.023],[-7.077,8.53],[-4.313,10.511],[-0.867,11.599],[2.671,10.828],[5.77,9.388],[8.288,7.262],[10.401,4.627],[11.663,1.245],[11.258,-2.342],[9.67,-5.392],[7.665,-7.968],[5.04,-10.06],[0.857,-5.583],[0.001,-1.023]],"v":[[106.83,0.438],[86.989,62.798],[36.675,101.357],[-28.818,103.201],[-82.039,67.684],[-105.967,7.671],[-90.776,-56.495],[-43.528,-98.639],[21.564,-105.477],[77.291,-74.003],[105.567,-16.184],[106.83,0.438],[111.177,-0.727],[105.739,-34.776],[90.731,-64.227],[67.705,-87.812],[38.61,-103.518],[4.684,-109.876],[-30.004,-105.555],[-60.925,-91.382],[-85.444,-69.471],[-102.521,-41.066],[-110.312,-8.042],[-107.473,26.567],[-94.602,57.292],[-73.389,82.459],[-45.637,100.197],[-12.774,109.003],[22.251,107.296],[54.448,95.355],[80.642,75.162],[99.701,48.171],[109.899,16.15],[111.177,-0.727]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[123.725,122.144],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 30","np":2,"cix":2,"bm":0,"ix":27,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.004,-1.476],[7.927,-11.181],[12.416,-4.522],[12.974,3.897],[8.43,10.386],[1.036,13.487],[-7.106,11.838],[-11.965,5.434],[-13.308,-2.855],[-9.152,-9.744],[-2.026,-13.356],[-0.009,-3.415],[0.003,1.474],[8.294,11.526],[13.096,4.586],[14.025,-4.06],[9.028,-10.852],[1.042,-14.024],[-7.574,-12.192],[-12.649,-5.554],[-14.191,2.96],[-9.918,10.258],[-2.127,13.787],[-0.009,3.556]],"o":[[-0.035,13.692],[-7.631,10.764],[-12.755,4.645],[-12.818,-3.851],[-8.527,-10.506],[-1.057,-13.759],[6.756,-11.253],[12.417,-5.64],[13.095,2.809],[9.248,9.845],[0.512,3.378],[0.003,1.028],[-0.037,-14.198],[-8.106,-11.261],[-13.795,-4.831],[-13.54,3.92],[-8.989,10.807],[-1.061,14.295],[7.287,11.73],[13.297,5.839],[13.954,-2.912],[9.692,-10.025],[0.542,-3.516],[0.002,-1.022]],"v":[[65.738,0.477],[53.526,38.93],[22.717,62.627],[-17.26,63.585],[-49.962,41.597],[-64.682,4.553],[-55.372,-35.018],[-26.477,-60.96],[13.281,-65.052],[47.591,-45.502],[64.971,-9.727],[65.738,0.477],[70.085,-0.689],[57.27,-40.28],[24.494,-64.762],[-18.61,-65.817],[-53.471,-43.179],[-69.027,-4.847],[-59.109,36.038],[-28.434,62.661],[14.134,66.917],[50.943,46.739],[69.277,9.939],[70.085,-0.689]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[123.569,122.105],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 31","np":2,"cix":2,"bm":0,"ix":28,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":122,"st":0,"bm":0},{"ddd":1,"ind":9,"ty":3,"nm":"just_logo Outlines 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"rx":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[119]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":24,"s":[84]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":36,"s":[90]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":68,"s":[90]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0]},"t":79,"s":[94]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":97,"s":[76]},{"t":122,"s":[114]}],"ix":8},"ry":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[-18]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":24,"s":[-2]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":36,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":68,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0]},"t":79,"s":[-7]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":97,"s":[-23]},{"t":122,"s":[-19]}],"ix":9},"rz":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[-76]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":24,"s":[21]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":36,"s":[0]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.167],"y":[0]},"t":68,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0]},"t":79,"s":[-9]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":97,"s":[82]},{"t":122,"s":[283]}],"ix":10},"or":{"a":1,"k":[{"i":{"x":0.667,"y":0.667},"o":{"x":0.333,"y":0.333},"t":24,"s":[0,0,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.333,"y":0.333},"t":36,"s":[0,0,0],"to":[0,0,0],"ti":[0,0,0]},{"t":68,"s":[0,0,0]}],"ix":7},"p":{"a":0,"k":[599.985,600,296.09],"ix":2},"a":{"a":0,"k":[123.997,113.884,0],"ix":1},"s":{"a":0,"k":[442.476,442.476,442.476],"ix":6}},"ao":0,"ip":0,"op":122,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"just_logo Outlines 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[599.985,564.09,0],"ix":2},"a":{"a":0,"k":[123.997,113.884,0],"ix":1},"s":{"a":0,"k":[442.476,442.476,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-37.078],[37.078,0],[0,37.078],[-37.078,0]],"o":[[0,37.078],[-37.078,0],[0,-37.078],[37.078,0]],"v":[[67.136,0],[0,67.136],[-67.136,0],[0,-67.136]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.850980451995,1,0.313725490196,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[123.997,113.884],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 34","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":122,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"main_file 2","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[600,600,0],"ix":2},"a":{"a":0,"k":[600,600,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1200,"h":1200,"ip":244,"op":366,"st":244,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"main_file 2","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[600,600,0],"ix":2},"a":{"a":0,"k":[600,600,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1200,"h":1200,"ip":122,"op":244,"st":122,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"main_file 2","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[600,600,0],"ix":2},"a":{"a":0,"k":[600,600,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1200,"h":1200,"ip":0,"op":122,"st":0,"bm":0}],"markers":[]}'),Ad=Ka((function(e,t){return{active:!0,toggle:function(){return e({active:!t().active})}}})),Id=Ad,Od="PreloaderProgress_progressWrapper__nwy9d",Dd="PreloaderProgress_progress__ri5bO",Md=function(e){var t=e.up,r=(0,a.useRef)(null),i=h((0,a.useState)(""),2),s=i[0],o=i[1];return(0,a.useEffect)((function(){var e,n,r;e=document.images,n=0,r=e.length;var i=function(){if(o((100/r*(n+=1)<<0)+"%"),n===r)return t()};return function(){for(var t=0;t<r;t++){var n=new Image;n.onload=i,n.onerror=i,n.src=e[t].src}}(),function(){}}),[]),(0,n.jsx)("div",{className:Od,ref:r,children:(0,n.jsx)("div",{className:Dd,children:(0,n.jsx)("h5",{style:{fontFamily:"VanguardCF-Bold"},children:s})})})},Nd=function(){var e=(0,a.useRef)(null),t=(0,a.useRef)(null),r=(0,a.useRef)(null),i=(0,a.useRef)(null),s=(0,a.useRef)(null),o=(0,a.useRef)(null),l=(0,a.useRef)(null),u=(0,a.useRef)(null),c=(0,a.useRef)(null),d=(0,a.useRef)(null),h=(0,a.useRef)(null),f=(0,a.useRef)(null),p=(0,a.useRef)(null),m=ed(),g=Id();(0,a.useEffect)((function(){Va.set(document.querySelector(".scroll-content"),{opacity:0}),o.current&&Va.set(o.current,{xPercent:-33,duration:1,ease:Ci.easeInOut}),l.current&&Va.set(l.current,{xPercent:-66,duration:1,ease:Ci.easeInOut}),u.current&&Va.set(u.current,{xPercent:-99,duration:1,ease:Ci.easeInOut}),r.current&&i.current&&s.current&&Va.set([r.current,i.current,s.current],{width:0}),c.current&&Va.set(c.current,{rotation:0,xPercent:0});return p.current=Va.timeline({paused:!0,yoyo:!0,repeat:1,repeatDelay:.5,delay:.5}).add("start").to(r.current,{width:"34%",duration:1,ease:Pi.easeInOut},"start").to(i.current,{width:"34%",duration:1,ease:Pi.easeInOut},"start").to(s.current,{width:"34%",duration:1,ease:Pi.easeInOut},"start").to(o.current,{xPercent:0,duration:1,ease:ki.easeInOut},"start").to(l.current,{xPercent:-33,duration:1,ease:ki.easeInOut},"start").to(u.current,{xPercent:-66,duration:1,ease:ki.easeInOut},"start").from(c.current,{rotation:-360,xPercent:-500,duration:1,ease:Ci.easeInOut,onComplete:function(){Va.to(document.querySelector(".scroll-content"),{op
2acity:1,delay:1.3,duration:.4}),Va.to(e.current,{autoAlpha:0,duration:0})}},"start"),function(){p.current.kill(),p.current.clear()}}),[]);var v=function(){p.current.play().then((function(){g.toggle()}))};return(0,n.jsx)(n.Fragment,{children:g.active&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:Ed.lsWrapper,ref:e,style:{height:m.height},onClick:v,children:[(0,n.jsx)(Cd(),{rendererSettings:{preserveAspectRatio:"xMidYMid slice"},autoplay:!0,animationData:Pd,className:Ed.logoLottie}),(0,n.jsx)("div",{className:Ed.progressV2,style:{visibility:"hidden"},children:(0,n.jsx)(Md,{up:v})})]}),(0,n.jsxs)("div",{className:Ed.loadingOHiddenWrapper,ref:t,style:{height:m.height},children:[(0,n.jsx)("div",{className:Ed.oHidden1,ref:r,children:(0,n.jsx)("div",{className:$e()(Ed.lDummyNavMenu,Ed.dnm1),ref:o,children:(0,n.jsxs)("div",{className:Ed.textWrapper,ref:d,children:[(0,n.jsx)("img",{ref:c,className:Ed.jdfxLogoMenu,src:Wa,alt:"JUST DESIGN FX Logo"}),(0,n.jsx)("h1",{children:"FUTURE"}),(0,n.jsx)("h1",{children:"EXPERIENCE."})]})})}),(0,n.jsx)("div",{className:Ed.oHidden2,ref:i,children:(0,n.jsx)("div",{className:$e()(Ed.lDummyNavMenu,Ed.dnm3),ref:l,children:(0,n.jsxs)("div",{className:Ed.textWrapper,ref:h,children:[(0,n.jsx)("h1",{children:"FUTURE"}),(0,n.jsx)("h1",{children:"EXPERIENCE."})]})})}),(0,n.jsx)("div",{className:Ed.oHidden3,ref:s,children:(0,n.jsx)("div",{className:$e()(Ed.lDummyNavMenu,Ed.dnm3),ref:u,children:(0,n.jsxs)("div",{className:Ed.textWrapper,ref:f,children:[(0,n.jsx)("h1",{children:"FUTURE"}),(0,n.jsx)("h1",{children:"EXPERIENCE."})]})})})]})]})})},Rd="StickyOtherWorks_scrollTracker__Xp65B",Ld="StickyOtherWorks_otherWorks__jhdGZ",jd="StickyOtherWorks_orange__6jMKh";var Fd=__webpack_require__.p+"static/media/other-works.924d4ea921f63d41d5403159b1667f27.svg",Bd=function(){return(0,n.jsxs)(We,{className:Rd,to:"/works","data-sticky-other-works":!0,children:[(0,n.jsx)("div",{className:jd}),(0,n.jsx)("img",{className:Ld,src:Fd,alt:"Other Works Text Around Eyes"})]})},Ud=__webpack_require__(4164),Vd=__webpack_require__(8573),zd=__webpack_require__.n(Vd),Gd=__webpack_require__(3038),Hd=__webpack_require__.n(Gd),Wd=function(e,t){return Wd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},Wd(e,t)};function qd(e,t){function n(){this.constructor=e}Wd(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Yd=function(){return Yd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Yd.apply(this,arguments)};function Xd(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}var Zd=function(e,t,n,r){switch(t){case"debounce":return zd()(e,n,r);case"throttle":return Hd()(e,n,r);default:return e}},Kd=function(e){return"function"===typeof e},Qd=function(){return"undefined"===typeof window},$d=function(e){return e instanceof Element||e instanceof HTMLDocument},Jd=function(e,t,n,r){return function(i){var a=i.width,s=i.height;t((function(t){return t.width===a&&t.height===s||t.width===a&&!r||t.height===s&&!n?t:(null===e||void 0===e||e(a,s),{width:a,height:s})}))}};!function(e){function t(t){var n=e.call(this,t)||this;n.cancelHandler=function(){n.resizeHandler&&n.resizeHandler.cancel&&(n.resizeHandler.cancel(),n.resizeHandler=null)},n.attachObserver=function(){var e=n.props,t=e.targetRef,r=e.observerOptions;if(!Qd()){t&&t.current&&(n.targetRef.current=t.current);var i=n.getElement();i&&(n.observableElement&&n.observableElement===i||(n.observableElement=i,n.resizeObserver.observe(i,r)))}},n.getElement=function(){var e=n.props,t=e.querySelector,r=e.targetDomEl;if(Qd())return null;if(t)return document.querySelector(t);if(r&&$d(r))return r;if(n.targetRef&&$d(n.targetRef.current))return n.targetRef.current;var i=(0,Ud.findDOMNode)(n);if(!i)return null;switch(n.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return i;default:return i.parentElement}},n.createResizeHandler=function(e){var t=n.props,r=t.handleWidth,i=void 0===r||r,a=t.handleHeight,s=void 0===a||a,o=t.onResize;if(i||s){var l=Jd(o,n.setState.bind(n),i,s);e.forEach((function(e){var t=e&&e.contentRect||{},r=t.width,i=t.height;
2!n.skipOnMount&&!Qd()&&l({width:r,height:i}),n.skipOnMount=!1}))}},n.getRenderType=function(){var e=n.props,t=e.render,r=e.children;return Kd(t)?"renderProp":Kd(r)?"childFunction":(0,a.isValidElement)(r)?"child":Array.isArray(r)?"childArray":"parent"};var r=t.skipOnMount,i=t.refreshMode,s=t.refreshRate,o=void 0===s?1e3:s,l=t.refreshOptions;return n.state={width:void 0,height:void 0},n.skipOnMount=r,n.targetRef=(0,a.createRef)(),n.observableElement=null,Qd()||(n.resizeHandler=Zd(n.createResizeHandler,i,o,l),n.resizeObserver=new window.ResizeObserver(n.resizeHandler)),n}qd(t,e),t.prototype.componentDidMount=function(){this.attachObserver()},t.prototype.componentDidUpdate=function(){this.attachObserver()},t.prototype.componentWillUnmount=function(){Qd()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},t.prototype.render=function(){var e=this.props,t=e.render,n=e.children,r=e.nodeType,i=void 0===r?"div":r,s=this.state,o={width:s.width,height:s.height,targetRef:this.targetRef};switch(this.getRenderType()){case"renderProp":return null===t||void 0===t?void 0:t(o);case"childFunction":return null===n||void 0===n?void 0:n(o);case"child":var l=n;if(l.type&&"string"===typeof l.type){var u=Xd(o,["targetRef"]);return(0,a.cloneElement)(l,u)}return(0,a.cloneElement)(l,o);case"childArray":return n.map((function(e){return!!e&&(0,a.cloneElement)(e,o)}));default:return a.createElement(i,null)}}}(a.PureComponent);var eh=Qd()?a.useEffect:a.useLayoutEffect;var th={hide:"CookiePopup_hide__h5Ax0",show:"CookiePopup_show__lLBKV",cursorPointer:"CookiePopup_cursorPointer__MkypW",absoluteCenter:"CookiePopup_absoluteCenter__g-7MU",absoluteStretch:"CookiePopup_absoluteStretch__I53GC",flexCenterX:"CookiePopup_flexCenterX__lLOIg",flexStart:"CookiePopup_flexStart__17ZvO",flexStartX:"CookiePopup_flexStartX__jVQhA",flexEndX:"CookiePopup_flexEndX__xFti0",flexCenterY:"CookiePopup_flexCenterY__tRSjQ",flexStartY:"CookiePopup_flexStartY__EhR1P",flexEndY:"CookiePopup_flexEndY__2tETE",flexBetweenX:"CookiePopup_flexBetweenX__9tmvk",flexBetweenY:"CookiePopup_flexBetweenY__fw8Fq",privacyAndCookieModal:"CookiePopup_privacyAndCookieModal__Pmh6C",fixedWrapper:"CookiePopup_fixedWrapper__bXGXu",cookieWrapper:"C
2ookiePopup_cookieWrapper__sLu38",btn:"CookiePopup_btn__N3YNw",btnSuccess:"CookiePopup_btnSuccess__-v+R8"},nh=function(){var e=Td(),t=h((0,a.useState)(!1),2),r=t[0],i=t[1];(0,a.useEffect)((function(){var e=localStorage.getItem("isCookieAccepted")||"";i(!e)}),[]);var s=function(t){e.setContent(o(t)),e.open||e.toggle()},o=function(t){switch(t){case"COOKIE_MODAL":return(0,n.jsxs)("div",{className:$e()(th.privacyAndCookieModal,th.cookie),children:[(0,n.jsx)("h5",{children:"Cookie Policy"}),(0,n.jsxs)("p",{children:["This cookie policy (\u201cCookie Policy\u201d) is intended to inform you how we use \u201ccookies\u201d and similar technologies on our website at"," ",(0,n.jsx)(We,{to:"/",onClick:e.toggle,children:"justdesignfx.com"})," ","and to assist you in making informed decisions when using our Site. Please take a moment to read and understand this Cookie Policy. This Cookie Policy should also be read in conjunction with our Privacy Policy ."]}),(0,n.jsx)("h5",{children:"What are cookies?"}),(0,n.jsx)("p",{children:"Cookies and similar technologies are very small text documents or pieces of code, which often include an anonymous unique identifier. When you visit a website or use a mobile application, a computer asks your computer or mobile device for permission to store this file on your computer or mobile device and access information from it. Information gathered through cookies and similar technologies may include the date and time of visits and how you are using the particular website or mobile application."}),(0,n.jsx)("p",{children:"We may use first and third party cookies on our Site and/or in our emails. First party cookies are cookies placed by us to collect information about you. However, certain cookies available on our Site and/or in our emails are placed by third party website operators. This means that the information about you collected by those third party cookies will be shared with the relevant third party. Please refer to the relevant third party website operator\u2019s privacy notice for more information about how they may use such information."}),(0,n.jsxs)("p",{children:["For more details on cookies and similar technologies, please visit"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.allaboutcookies.org",children:"All About Cookies"}),". For the purposes of the remaining sections of this Cookie Policy, we will refer to all technologies using the above features as \u201ccookies\u201d."]}),(0,n.jsx)("h5",{children:"How long do cookies last?"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:th.inlineItalic,children:"Session Cookies"})," \u2013 these are temporary cookies that expire (and are automatically erased) whenever you close your browser."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:th.inlineItalic,children:"Persistent Cookies "})," \u2013 these usually have an expiration date and so stay in your browser until they expire, or until you manually delete them."]}),(0,n.jsx)("h5",{children:"Cookies used on our site"}),(0,n.jsx)("p",{children:"We use the following types of cookies on our Site:"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:th.inlineItalic,children:"Essential Cookies "})," \u2013 Essential cookies are those cookies which are essential for the operation of a website."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:th.inlineItalic,children:"Functionality Cookies "}
2)," \u2013 These cookies recognise you when you return to a website, they remember your preferences and they provide enhanced, more personalised features."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:th.inlineItalic,children:"Analytics/Performance Cookies"}),"\u2013 Analytics cookies, along with other information, allow websites to calculate the aggregate number of people using a website and which features of a website are most popular. This information is generally used to improve the website."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:th.inlineItalic,children:"Social Media Cookies"})," \u2013 These cookies are used to personalise your interaction with social media, such as Twitter, Facebook, Tumblr and YouTube. Such cookies recognise users of those social media sites when you view social media content on the website. They also allow you to quickly share content across social media, through the use of simple \u201csharing\u201d buttons. Some websites may also contain features that enable you to use your social media account to sign in and create/maintain an account with the website you are visiting and to enable the website operator to store your content. This involves the use of cookies."]}),(0,n.jsx)("p",{children:"The bullet points below set out more information about the individual cookies we may use on our Site and the purposes for which they are used."}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsxs)("p",{children:[" ","_ga - 3rd party, analytical, lasts 2 years. This is a Google Analytics cookie. It registers a unique ID that is used to generate statistical data on the use of our Site. More information about Google Analytics can be found here:"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.google.com/intl/en/analytics/privacyoverview.html",children:"http://www.google.com/intl/en/analytics/privacyoverview.html"})]})}),(0,n.jsx)("li",{children:(0,n.jsxs)("p",{children:["_gat - 3rd party, analytical, lasts for the session only. This is a Google Analytics cookie. It is used to throttle the request rate on our Site. More information about Google Analytics can be found here:"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.google.com/intl/en/analytics/privacyoverview.html",children:(0,n.jsx)("span",{children:"http://www.google.com/intl/en/analytics/privacyoverview.html"})})]})}),(0,n.jsx)("li",{children:(0,n.jsxs)("p",{children:["_gid - 3rd party, analytical, lasts for the session only. This is a Google Analytics cookie. It registers a unique ID that is used to generate statistical data on the use of our Site. More information about Google Analytics can be found here:"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.google.com/intl/en/analytics/privacyoverview.html",children:"http://www.google.com/intl/en/analytics/privacyoverview.html"})]})})]}),(0,n.jsx)("h5",{children:"Consent to use cookies"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:th.inlineItalic,children:"Non-essential Cookies"})," \u2013 We may only store and access non-essential cookies on your device with your permission. You are not obliged to give consent to our use of non-essential cookies. Further, if you give your consent and then change your mind you can block or delete them (see below)."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:th.inlineItalic,children:"Essential Cookies"})," \u2013 Please note that we do not need your consent to store and access essential cookies on your device, although you can still block or delete them (see below)."]}),(0,n.jsx)("h5",{children:"Refusing, blocking and deleting cookies"}),(0,n.jsxs)("p",{children:["You can block the use of cookies altogether by activating the relevant settings in your browser. For more information on cookie management and blocking or deleting cookies for a wide variety of browsers, visit"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.allaboutcookies.org",children:"All About Cookies"}),"."]}),(0,n.jsx)("p",{children:"Please be aware that in order to use some parts of our Site you will need to allow certain essential or functional cookies. If you subsequently block or delete those cookies, some aspects of our Site may not work properly and you may 
2not be able to access all or part of our Site."}),(0,n.jsx)("h5",{children:"Cookies used in emails"}),(0,n.jsx)("p",{children:"Please note that any emails you receive from us may contain cookies or similar technologies to help us to see if recipients have opened an email and understand how recipients have interacted with it. Once you click on an email that contains a cookie, your contact information may subsequently be cross-referenced to [the source email] and/or the relevant cookie. If you have enabled images, cookies may be set on your computer or mobile device. Cookies will also be set if you click on any link within the email."}),(0,n.jsx)("p",{children:"If you do not wish to accept cookies from any one of our emails, simply close the email before downloading any images or clicking on any links. You can also set your browser to restrict cookies or to reject them entirely. These settings will apply to all cookies whether included on websites or in emails."}),(0,n.jsx)("p",{children:"In some instances, depending on your email or browser settings, cookies in an email may be automatically accepted (for example, when you've added an email address to your address book or safe senders list). Please refer to your email browser or device instructions for more information on this."}),(0,n.jsx)("small",{children:"Last updated 01 May 2022"})]});case"PRIVACY_MODAL":return(0,n.jsxs)("div",{className:$e()(th.privacyAndCookieModal,th.privacy),children:[(0,n.jsx)("h5",{children:"Privacy Policy"}),(0,n.jsxs)("p",{children:["JUST DESIGN FX\xae, Inc. (\u201cJust Design\u201d) provides this website,"," ",(0,n.jsx)(We,{to:"/",onClick:s,children:"justdesignfx.com"})," ","for informational purposes. By accessing the website, you accept these Terms and Conditions of use and Privacy Policy, as may be amended from time to time, without limitation or qualification. If you do not wish to be bound by these Terms and Conditions, please refrain from further use of the website."]}),(0,n.jsx)("h5",{children:"All Content is Protected by Copyright Laws"}),(0,n.jsx)("p",{children:"Images, text, software, documentation, electronic text and image files, audio and video files and clips, and other materials on the Website are protected by copyright laws and may be covered by other restrictions as well. JUST DESIGN FX retains all rights it may hold, including copyright, in data, image, text, and any other information contained in these files. Copyrights and other proprietary rights in the material on the Website may al
2so subsist in individuals and entities other than, and in addition to, JUST DESIGN FX. JUST DESIGN FX expressly prohibits the copying of any protected materials on the Website."}),(0,n.jsx)("h5",{children:"Commercial Use is Restricted"}),(0,n.jsxs)("p",{children:["Unauthorized publication or exploitation of Just Design\u2019s files is specifically prohibited. Anyone wishing to use any of these files or images for commercial use, publication, or any other purpose must request and receive prior written permission. All requests to reproduce content from the Website should be made with"," ",(0,n.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),(0,n.jsx)("h5",{children:"Reservation of Rights"}),(0,n.jsx)("p",{children:"All rights not expressly granted by Just Design herein are specifically and completely reserved. Nothing on the Website or in these Terms and Conditions grants, expressly or implicitly, by estoppel or otherwise, any right or license to use any content or property of any third party, or may be construed to mean that Just Design has authority to grant any right or license on behalf of any third party."}),(0,n.jsx)("h5",{children:"Protection of Privacy"}),(0,n.jsx)("p",{children:"Just Design is committed to protecting the privacy of its Website visitors in accordance with applicable laws and regulations."}),(0,n.jsx)("p",{children:"Just Design collects and stores aggregated, anonymized or pseudonymized information about your activity on and interaction with the Website, such as your IP address, the type of device or browser you use, and your actions on the Website. If you sign up for the Newsletter, Just Design also collects and stores your email address."}),(0,n.jsx)("p",{children:"Just Design uses the information it collects for the following purposes:"}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsx)("p",{children:"To track and analyze use of the Website so Just Design can provide users with the best experience possible."})}),(0,n.jsx)("li",{children:(0,n.jsx)("p",{children:"To communicate with you about updates."})})]}),(0,n.jsx)("p",{children:"Just Design will indefinitely retain the aggregated, anonymized or pseudonymized information Just Design collects from you to protect the safety and security of the Website, improve the Website, or comply with legal obligations. Just Design will also retain your email addresses for as long as you are subscribed to the Newsletter. You will always have the opportunity to unsubscribe from future Newsletter correspondence."}),(0,n.jsx)("p",{children:"Just Design may include links to other websites or services whose privacy practices may differ from Just Design\u2019s. When you use a link to an external website or service, the privacy policy and data processing disclosures for that website or service governs."}),(0,n.jsxs)("p",{children:["Residents of the European Economic Area and Switzerland are afforded certain rights regarding their personal information. Except where an exception or exemption applies, these rights include the ability to request access, corrections, and deletion of personal information. While these rights are not applicable globally, all Website users can request access to, the correction of, or the deletion of their email addresses collected in connection with the bulletin. Such requests should be directed to",(0,n.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),(0,n.jsx)("h5",{children:"Links to Third-Party Websites"}),(0,n.jsx)("p",{children:"Just Design has not reviewed all the websites or services linked to or from the Website. Just Design provides these links as a convenience and linking to any third-party websites or services is at the user's own risk. A link does not imply endorsement or affiliation with the linked website by Just Design."}),(0,n.jsx)("h5",{children:"DISCLAIMER"}),(0,n.jsx)("p",{children:"JUST DESIGN PROVIDES THE WEBSITE ON AN \u201cAS IS\u201d BASIS. YOUR USE OF THE WEBSITE OR ITS CONTENTS IS AT YOUR OWN RISK. JUST DESIGN DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COPYRIGHT OR TRADEMARK OWNERSHIP AND/OR NONINFRINGEMENT OF COPYRIGHTS OR OTHER THIRD PARTY PROPRIETARY RIGHTS. JUST DESIGN DOES NOT WARRANT THAT THE WEBSITE WILL PROVIDE CONTINUOUS, PROMPT, SECURE, OR ERROR-FREE SERVICE. JUST DESIGN MAKES REASONABLE, ONGOING EFFORTS TO REVISE AND UPDATE THE WEBSITE, BUT ASSUMES NO LIABILITY FOR ANY ERRORS OR OMISSIONS, INCLUDING THE INACCURACY OF CONTENT, OR FOR ANY DAMAGES OR LOSSES THAT YOU OR ANY THIRD PARTY MAY INCUR AS A RESULT OF THE UNAVAILABILITY OF THE WEBSITE. JUST DESIGN ASSUMES NO RESPONSIBILITY, AND SHALL NOT BE LIABLE FOR, ANY DAMAGES TO YOUR COMPUTER EQUIPMENT OR OTHER PROPERTY ARISING FROM YOUR USE OF THE WEBSITE, INCLUDING BUT NOT LIMITED TO THE REPRODUCTION OF THE WEBSITE\u2019S CONTENT."}),(0,n.jsx)("h5",{children:"LIMITATION OF LIABILITY"}),(0,n.jsx)("p",{children:"NEITHER JUST DESIGN, ITS AFFILIATES, DIRECTORS, OFFICERS, EMPLOYEES, OR AGENTS WILL HAVE ANY LIABILITY FOR ANY DAMAGES, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, COMPENSATORY, PUNITIVE, SPECIAL, OR CONSEQUENTIAL DAMAGES (EVEN IF JUST DESIGN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES) ARISING FROM OR RELATED TO YOUR USE OF THE WEBSITE AND/OR ITS CONTENTS."}),(0,n.jsx)("h5",{children:"Indemnification"}),(0,n.jsx)("p",{children:"By using the Website in any manner, you represent and warrant that your use will be consistent with these Terms and Conditions. You agree to indemnify, defend, and hold Just Design, its affiliates, directors, officers, employees, and agents harmless from all claims, causes, costs, expenses, fees (including reasonable attorneys\u2019 fees), judgments, liabilities, losses, and damages arising from or relating to your use of the Website."}),(0,n.jsx)("h5",{children:"Entire Agreement; Severance; Waiver"}),(0,n.jsx)("p",{children:"These Terms and Conditions incorporate by reference any notices on the Website and constitute the entire agreement regarding user access to the Website. If any provision of the Terms and Conditions -is deemed unlawful, void, or unenforceable, that provision 
2will be severable from the remaining provisions and will not affect their validity and enforceability. Just Design\u2019s failure to enforce a provision on any occasion will not be construed as a waiver of such provision."}),(0,n.jsxs)("small",{children:["These Terms and Conditions were last modified on",(0,n.jsx)("br",{})," 01 May, 2022."]})]});default:return(0,n.jsx)(n.Fragment,{})}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:th.fixedWrapper,style:{transition:"0.4s all ease",opacity:r?"1":"0",visibility:r?"visible":"hidden",pointerEvents:r?"auto":"none"},children:(0,n.jsxs)("div",{className:th.cookieWrapper,children:[(0,n.jsxs)("p",{children:["By continuing to use our site, you\u2019re saying you\u2019re okay with our",(0,n.jsx)("br",{})," ",(0,n.jsx)("span",{onClick:function(){return s("COOKIE_MODAL")},children:"Cookie Policy"}),"."]}),(0,n.jsx)("button",{className:th.btn,onClick:function(){i(!1),localStorage.setItem("isCookieAccepted",JSON.stringify(!0))},children:(0,n.jsx)("p",{className:th.btnSuccess,children:"DONE"})})]})})})},rh=a.createContext(null),ih=function(e){var t=e.children,r=e.location,i=(0,a.useRef)(null),s=(0,a.useRef)(null),o=(0,a.useRef)(null),l=Va.utils.selector(i),u=ed(),c=Td(),d=od(),h=function(){o.current&&o.current.updatePluginOptions("modal",{open:!0}),console.log("SCROLLBAR LOCKED")},f=function(){o.current&&o.current.updatePluginOptions("modal",{open:!1}),console.log("SCROLLBAR UNLOCKED")};return function(e){void 0===e&&(e={});var t=e.skipOnMount,n=void 0!==t&&t,r=e.refreshMode,i=e.refreshRate,s=void 0===i?1e3:i,o=e.refreshOptions,l=e.handleWidth,u=void 0===l||l,c=e.handleHeight,d=void 0===c||c,h=e.targetRef,f=e.observerOptions,p=e.onResize,m=(0,a.useRef)(n),g=(0,a.useRef)(null),v=(0,a.useRef)(),y=null!==h&&void 0!==h?h:g,_=(0,a.useState)({width:void 0,height:void 0}),b=_[0],x=_[1];eh((function(){if(u||d){var e=Jd(p,x,u,d);v.current=Zd((function(t){(u||d)&&t.forEach((function(t){var n=t&&t.contentRect||{},r=n.width,i=n.height;!m.current&&e({width:r,height:i}),m.current=!1}))}),r,s,o);var t=new window.ResizeObserver(v.current);return y.current&&t.observe(y.current,f),function(){var e,n;t.disconnect(),null===(n=(e=v.current).cancel)||void 0===n||n.call(e)}}}),[r,s,o,u,d,p,f,y.current]),Yd({ref:y},b)}({targetRef:s,onResize:function(){u.width<=cd||(Xl.refresh(),console.log("SCROLLTRIGGER REFRESHED"))}}),(0,a.useLayoutEffect)((function(){var e,t;Va.registerPlugin(Xl),o.current&&(o.current.destroy(),console.log("Smooth Destroyed"));var n=function(e){t=Va.context((function(){l("[data-parallax]").length>0&&(console.log("PARALLAX ITEMS INITIALIZED"),u.width>=cd&&l("[data-parallax]").forEach((function(e){Va.to(e,{yPercent:function(){return 100*parseFloat(e.dataset.speedY)*parseFloat(e.dataset.directionY)},xPercent:function(){return 100*parseFloat(e.dataset.speedX)*parseFloat(e.dataset.directionX)},scrollTrigger:{trigger:e,scrub:1}})})));if(l("[data-marquee]").length>0){console.log("MARQUEE INITIALIZED"),Va.set(l("[data-marquee]"),{xPercent:-100});var e={skew:0,scale:0},t=Va.quickSetter("[data-marquee-sliding]","skewX","deg"),n=Va.utils.clamp(-20,20);Xl.create({onUpdate:function(r){var i=n(r.getVelocity()/-200);Math.abs(i)>Math.abs(e.skew)&&(e.skew=i,Va.to(e,{skew:0,duration:.4,ease:"power3",overwrite:!0,onUpdate:function(){t(e.skew)}}))}}),l("[data-marquee-sliding]").forEach((function(e){Va.to(e,{xPercent:function(){return(u.width>ld?20:40)*("1"===e.dataset.direction?1:-1)},scrollTrigger:{trigger:e,scrub:!0}})}))}if(l("[data-h-scroll]").length>0&&u.width>cd){console.log("HORIZONTAL SCROLL INITIALIZED");var r=0,i=document.querySelector("[data-h-scroll]"),a=function(){r=0,l("[data-h-scroll-section]").forEach((function(e){r+=e.clientWidth}))};a(),Xl.addEventListener("refreshInit",a);var s=document.querySelector("[data-hscroll-scrollbar]");Va.to(l("[data-h-scroll-section]"),{x:function(){return"-".concat(r-window.innerWidth)},ease:"none",scrollTrigger:{trigger:i,end:function(){return"+=".concat(r)},onUpdate:function(e){s&&Va.to(s,{scaleX:null===e||void 0===e?void 0:e.progress})},scrub:!0,pin:!0,invalidateOnRefresh:!0}})}if(l("[data-reveal]").length>0&&u.width>cd){var o;console.log("DATA REVEAL INITIALIZED");var c=null===(o=document.querySelector("[data-reveal]"))||void 0===o?void 0:o.clientHeight;Va.set(l("[data-reveal]"),{yPercent:-50}),Va.set(l("[data-overlay]"),{opacity:1}),Va.to(l("[data-reveal]"),{yPercent:0,ease:"none",scrollTrigger:{trigger:l("[data-reveal]"),start:"center bottom",end:function(){return"center bottom-=".concat(c)},scrub:!0}}),Va.to(l("[data-overlay]"),{opacity:0,ease:"none",scrollTrigger:{trigger:l("[data-reveal]"),start:"center bottom",end:function(){return"center bottom-=".concat(c)},scrub:!0}})}l("[data-flip]").length>0&&(console.log("DATA FLIP INITIALIZED"),Va.to(l("[data-flip]"),{scrollTrigger:{trigger:l("[data-flip]")[0],start:"center center",end:"center center",onEnter:function(){Va.to(l("[data-flip]"),{rotateX:-180,duration:0})},onEnterBack:function(){Va.to(l("[data-flip]"),{rotateX:0,duration:0})}}}));var d=document.querySelector("[data-hamburger-menu]");if(d){var h=Va.from(d,{autoAlpha:0,paused:!0,duration:.2}).progress(1);Xl.create({start:"top top",end:"max",onUpdate:function(e){-1===e.direction?h.play():h.reverse()}})}var f=document.querySelector("[data-sticky-other-works]");f&&(Va.set(f,{autoAlpha:0}),Xl.create({start:"top+=".concat(2*u.height,"px bottom"),end:"max-=".concat(u.height,"px bottom"),onEnter:function(){Va.to(f,{autoAlpha:1,duration:.2})},onEnterBack:function(){Va.to(f,{autoAlpha:1,duration:.2})},onLeave:function(){Va.to(f,{autoAlpha:0,duration:.2})},onLeaveBack:function(){Va.to(f,{autoAlpha:0,duration:.2})}}))}))};return u.width>cd?function(){var t,r=function(e){T(n,e);var t=C(n);function n(){return m(this,n),t.apply(this,arguments)}return _(n,[{key:"transformDelta",value:function(e){return this.options.open?{x:0,y:0}:e}}]),n}(Lu);if(r.pluginName="modal",r.defaultOptions={open:!1},tc.use(r),i.current&&(o.current=tc.init(i.current,{damping:.075,delegateTo:document,alwaysShowTracks:!1,renderByPixels:!1}),console.log("Smooth Initialized")),e=Va.context((function(){Va.set("body",{height:"100vh",width:"100vw",overflow:"hidden"}),Va.set(i.current,{height:"100vh",width:"100vw",overflow:"hidden"})})),Xl.scrollerProxy(i.current,{scrollTop:function(e){if(o.current)return arguments.length&&(o.current.scrollTop=e),o.current.scrollTop}}),null===(t=o.current)||void 0===t||t.addListener(Xl.update),Xl.defaults({scroller:i.current}),n(o.current),document.querySelector(".gsap-marker-scroller-start")){var a,s=Va.utils.toArray('[class *= "gsap-marker"]');null===(a=o.current)||void 0===a||a.addListener((function(e){var t=e.offset;Va.set(s,{marginTop:-t.y})}))}}
vendor: 4,915 bytes, line 2
2():n(null),function(){Xl.getAll().forEach((function(e){e.kill()})),Va.killTweensOf(window),e&&e.revert(),t&&t.revert()}}),[u.width,r]),(0,a.useCallback)((function(){c.open?h():f()}),[c.open]),(0,a.useCallback)((function(){d.locked?h():f()}),[d.locked]),(0,n.jsxs)(rh.Provider,{value:{scrollToTop:function(){Va.to("body",{autoAlpha:0,onComplete:function(){var e;o.current?null===(e=o.current)||void 0===e||e.scrollTo(0,0,0):window.scrollTo({top:0,left:0}),Va.to("body",{autoAlpha:1,delay:.4})}})},lockScrollbar:h,unlockScrollbar:f},children:[(0,n.jsx)("div",{ref:i,children:(0,n.jsx)("div",{ref:s,children:t})}),(0,n.jsx)(pd,{}),(0,n.jsx)(_c,{}),(0,n.jsx)(Sd,{}),(0,n.jsx)(jc,{}),(0,n.jsx)(Nd,{}),(0,n.jsx)(nh,{}),u.width>ld&&r.pathname.includes("/works/")&&(0,n.jsx)(Bd,{})]})},ah=__webpack_require__(757);function sh(){sh=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",o=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(A){l=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var a=t&&t.prototype instanceof h?t:h,s=Object.create(a.prototype),o=new k(i||[]);return r(s,"_invoke",{value:T(e,n,o)}),s}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=u;var d={};function h(){}function f(){}function p(){}var m={};l(m,a,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(C([])));y&&y!==t&&n.call(y,a)&&(m=y);var _=p.prototype=h.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function i(r,a,s,o){var l=c(e[r],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==g(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,o)}),(function(e){i("throw",e,s,o)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return i("throw",e,s,o)}))}o(l.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function T(e,t,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var o=w(s,n);if(o){if(o===d)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=c(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(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 E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=p,r(_,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,o,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,o,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},b(x.prototype),l(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var s=new x(u(t,n,r,i),a);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))}
vendor: 6,376 bytes, line 2
2,b(_),l(_,o,"Generator"),l(_,a,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=C,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return s.type="throw",s.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var o=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(o&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(o){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=e,s.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(s)},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),d},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),E(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function oh(e,t,n,r,i,a,s){try{var o=e[a](s),l=o.value}catch(u){return void n(u)}o.done?t(l):Promise.resolve(l).then(r,i)}function lh(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(e){oh(a,r,i,s,o,"next",e)}function o(e){oh(a,r,i,s,o,"throw",e)}s(void 0)}))}}var uh={hide:"About_hide__l3iNv",show:"About_show__6RazH",cursorPointer:"About_cursorPointer__wWM4V",absoluteCenter:"About_absoluteCenter__vao+Q",absoluteStretch:"About_absoluteStretch__UCSnE",flexCenterX:"About_flexCenterX__4F-BA",about:"About_about__fbw-e",references:"About_references__0-+3f",companiesMobile:"About_companiesMobile__mszKJ",logoWrapper:"About_logoWrapper__+LcY9",whatWeDo:"About_whatWeDo__EpEFG",flexStart:"About_flexStart__pFmBs",flexStartX:"About_flexStartX__PZEaZ",flexEndX:"About_flexEndX__vPi2C",flexCenterY:"About_flexCenterY__4eZEM",marqueeSection:"About_marqueeSection__XNrfd",eyeWrapper:"About_eyeWrapper__Jqxkg",intro:"About_intro__ZJDTg",titleWrapper:"About_titleWrapper__s2TxJ",flexStartY:"About_flexStartY__GU4G+",flexEndY:"About_flexEndY__xRCXx",flexBetweenX:"About_flexBetweenX__vEjmI",flexBetweenY:"About_flexBetweenY__diiA9",title:"About_title__-oDKc",flyingTextWrapper:"About_flyingTextWrapper__FZhqT",newLine:"About_newLine__XZx0d",emoji:"About_emoji__aHQLa",verticalTextLeft:"About_verticalTextLeft__VnEyp",verticalTextRight:"About_verticalTextRight__kc7Cn",downArrow:"About_downArrow__5wjQB",downArrowMobile:"About_downArrowMobile__cD4By",teamBlob:"About_teamBlob__1j0S6",teamSmile:"About_teamSmile__wN2Sk",fields:"About_fields__ev+NE",fieldCard:"About_fieldCard__Fwzf0",seeAllWorks:"About_seeAllWorks__NIr8F",index:"About_index__N5gT6",description:"About_description__M3W2Z",pin:"About_pin__MveYN",awards:"About_awards__7wYiA",awardsTitle:"About_awardsTitle__ups9Z",s:"About_s__RlTl+",row:"About_row__uqlex",item:"About_item__t0+wl",text:"About_text__knqje",link:"About_link__K6zrW",trophy:"About_trophy__MD0FK",table:"About_table__AeumO",tableMobile:"About_tableMobile__Bpzdi",pentawardsLogo:"About_pentawardsLogo__cB6vY",textWrapper:"About_textWrapper__ntuQs",referencesSun:"About_referencesSun__rYjQF",companies:"About_companies__unA7K",mWrapper:"About_mWrapper__E2w-v",white:"About_white__Aft-G",gray:"About_gray__CNg3X",marqueeText:"About_marqueeText__TETv5",inlineO:"About_inlineO__r8AUi",rightMargin:"About_rightMargin__Q3bPf",teamEye:"About_teamEye__QALd6",eyeText:"About_eyeText__yB2kD",rocketWrapper:"About_rocketWrapper__3+TZo",rocket:"About_rocket__OUa1A",bombWrapper:"About_bombWrapper__e0k5A",bomb:"About_bomb__JBu60",teamMembersDesktop:"About_teamMembersDesktop__OVdrB",horizontalScroll:"About_horizontalScroll__Tqc02",progressBar:"About_progressBar__3qOJ4",fixedElement:"About_fixedElement__RfhEv",horizontalScrollItem:"About_horizontalScrollItem__Hr91k",slide1:"About_slide1__J5I8g",memberCard:"About_memberCard__x-Vdp",imgWrapper:"About_imgWrapper__jB9PK",memberPhoto:"About_memberPhoto__+VQGE",info:"About_info__5sQ9T",credentials:"About_credentials__JBzIW",role:"About_role__ZDPAY",linkedinLogo:"About_linkedinLogo__hMFo3",emojiWrapper:"About_emojiWrapper__0sDLn",emojiBg:"About_emojiBg__Yg4Xe",keepScrooolling:"About_keepScrooolling__esJm2",social:"About_social__E5d95"},ch=__webpack_require__(2007),dh=__webpack_require__.n(ch),hh=__webpack_require__(9475),fh=__webpack_require__.n(hh),ph=__webpack_require__(77),mh=__webpack_require__.n(ph),gh=__webpack_require__(1725),vh=__webpack_require__.n(gh),yh="bodyAttributes",_h="htmlAttributes",bh="titleAttributes",xh={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},Th=(Object.keys(xh).map((function(e){return xh[e]})),"charset"),wh="cssText",Sh="href",Eh="http-equiv",kh="innerHTML",Ch="itemprop",Ph="name",Ah="property",Ih="rel",Oh="src",Dh="target",Mh={accesskey:"accessKey",charset
2:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Nh="defaultTitle",Rh="defer",Lh="encodeSpecialCharacters",jh="onChangeClientState",Fh="titleTemplate",Bh=Object.keys(Mh).reduce((function(e,t){return e[Mh[t]]=t,e}),{}),Uh=[xh.NOSCRIPT,xh.SCRIPT,xh.STYLE],Vh="data-react-helmet",zh="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},Gh=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Hh=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Wh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qh=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Yh=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},Xh=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Zh=function(e){var t=ef(e,xh.TITLE),n=ef(e,Fh);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=ef(e,Nh);return t||r||void 0},Kh=function(e){return ef(e,jh)||function(){}},Qh=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Wh({},e,t)}),{})},$h=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[xh.BASE]})).map((function(e){return e[xh.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var a=r[i].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},Jh=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&sf("Helmet: "+e+' should be of type "Array". Instead found type "'+zh(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,a=Object.keys(e),s=0;s<a.length;s++){var o=a[s],l=o.toLowerCase();-1===t.indexOf(l)||n===Ih&&"canonical"===e[n].toLowerCase()||l===Ih&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(o)||o!==kh&&o!==wh&&o!==Ch||(n=o)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][u]&&(i[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(i),s=0;s<a.length;s++){var o=a[s],l=vh()({},r[o],i[o]);r[o]=l}return e}),[]).reverse()},ef=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},tf=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){tf(t)}),0)}}(),nf=function(e){return clearTimeout(e)},rf="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||tf:__webpack_require__.g.requestAnimationFrame||tf,af="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||nf:__webpack_require__.g.cancelAnimationFrame||nf,sf=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},of=null,lf=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,a=e.linkTags,s=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,u=e.scriptTags,c=e.styleTags,d=e.title,h=e.titleAttributes;df(xh.BODY,r),df(xh.HTML,i),cf(d,h);var f={baseTag:hf(xh.BASE,n),linkTags:hf(xh.LINK,a),metaTags:hf(xh.META,s),noscriptTags:hf(xh.NOSCRIPT,o),scriptTags:hf(xh.SCRIPT,u),styleTags:hf(xh.STYLE,c)},p={},m={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)})),t&&t(),l(e,p,m)},uf=function(e){return Array.isArray(e)?e.join(""):e},cf=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=uf(e)),df(xh.TITLE,t)},df=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(Vh),i=r?r.split(","):[],a=[].concat(i),s=Object.keys(t),o=0;o<s.length;o++){var l=s[o],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),-1===i.indexOf(l)&&i.push(l);var c=a.indexOf(l);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d--)n.removeAttribute(a[d]);i.length===a.length?n.removeAttribute(Vh):n.getAttribute(Vh)!==s.join(",")&&n.setAttribute(Vh,s.join(","))}},hf=function(e,t){var n=document.head||document.querySelector(xh.HEAD),r=n.querySelectorAll(e+"["+Vh+"]"),i=Array.prototype.slice.call(r),a=[],s=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);
2for(var r in t)if(t.hasOwnProperty(r))if(r===kh)n.innerHTML=t.innerHTML;else if(r===wh)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var o="undefined"===typeof t[r]?"":t[r];n.setAttribute(r,o)}n.setAttribute(Vh,"true"),i.some((function(e,t){return s=t,n.isEqualNode(e)}))?i.splice(s,1):a.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:a}},ff=function(e){return Object.keys(e).reduce((function(t,n){var r="undefined"!==typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},pf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[Mh[n]||n]=e[n],t}),t)},mf=function(e,t,n){switch(e){case xh.TITLE:return{toComponent:function(){return function(e,t,n){var r,i=((r={key:t})[Vh]=!0,r),s=pf(n,i);return[a.createElement(xh.TITLE,s,t)]}(0,t.title,t.titleAttributes)},toString:function(){return function(e,t,n,r){var i=ff(n),a=uf(t);return i?"<"+e+" "+Vh+'="true" '+i+">"+Xh(a,r)+"</"+e+">":"<"+e+" "+Vh+'="true">'+Xh(a,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case yh:case _h:return{toComponent:function(){return pf(t)},toString:function(){return ff(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[Vh]=!0,r);return Object.keys(t).forEach((function(e){var n=Mh[e]||e;if(n===kh||n===wh){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),a.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===kh||e===wh)})).reduce((function(e,t){var i="undefined"===typeof r[t]?t:t+'="'+Xh(r[t],n)+'"';return e?e+" "+i:i}),""),a=r.innerHTML||r.cssText||"",s=-1===Uh.indexOf(e);return t+"<"+e+" "+Vh+'="true" '+i+(s?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},gf=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,a=e.linkTags,s=e.metaTags,o=e.noscriptTags,l=e.scriptTags,u=e.styleTags,c=e.title,d=void 0===c?"":c,h=e.titleAttributes;return{base:mf(xh.BASE,t,r),bodyAttributes:mf(yh,n,r),htmlAttributes:mf(_h,i,r),link:mf(xh.LINK,a,r),meta:mf(xh.META,s,r),noscript:mf(xh.NOSCRIPT,o,r),script:mf(xh.SCRIPT,l,r),style:mf(xh.STYLE,u,r),title:mf(xh.TITLE,{title:d,titleAttributes:h},r)}},vf=function(e){var t,n;return n=t=function(t){function n(){return Gh(this,n),Yh(this,t.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.shouldComponentUpdate=function(e){return!mh()(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case xh.SCRIPT:case xh.NOSCRIPT:return{innerHTML:t};case xh.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,a=e.nestedChildren;return Wh({},r,((t={})[n.type]=[].concat(r[n.type]||[],[Wh({},i,this.mapNestedChildrenToProps(n,a))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,a=e.newChildProps,s=e.nestedChildren;switch(r.type){case xh.TITLE:return Wh({},i,((t={})[r.type]=s,t.titleAttributes=Wh({},a),t));case xh.BODY:return Wh({},i,{bodyAttributes:Wh({},a)});case xh.HTML:return Wh({},i,{htmlAttributes:Wh({},a)})}return Wh({},i,((n={})[r.type]=Wh({},a),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Wh({},t);return Object.keys(e).forEach((function(t){var r;n=Wh({},n,((r={})[t]=e[t],r))})),n}
2,n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return a.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,a=i.children,s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[Bh[n]||n]=e[n],t}),t)}(qh(i,["children"]));switch(n.warnOnInvalidChildren(e,a),e.type){case xh.LINK:case xh.META:case xh.NOSCRIPT:case xh.SCRIPT:case xh.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=qh(t,["children"]),i=Wh({},r);return n&&(i=this.mapChildrenToProps(n,i)),a.createElement(e,i)},Hh(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(a.Component),t.propTypes={base:dh().object,bodyAttributes:dh().object,children:dh().oneOfType([dh().arrayOf(dh().node),dh().node]),defaultTitle:dh().string,defer:dh().bool,encodeSpecialCharacters:dh().bool,htmlAttributes:dh().object,link:dh().arrayOf(dh().object),meta:dh().arrayOf(dh().object),noscript:dh().arrayOf(dh().object),onChangeClientState:dh().func,script:dh().arrayOf(dh().object),style:dh().arrayOf(dh().object),title:dh().string,titleAttributes:dh().object,titleTemplate:dh().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=gf({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n}(fh()((function(e){return{baseTag:$h([Sh,Dh],e),bodyAttributes:Qh(yh,e),defer:ef(e,Rh),encode:ef(e,Lh),htmlAttributes:Qh(_h,e),linkTags:Jh(xh.LINK,[Ih,Sh],e),metaTags:Jh(xh.META,[Ph,Th,Eh,Ah,Ch],e),noscriptTags:Jh(xh.NOSCRIPT,[kh],e),onChangeClientState:Kh(e),scriptTags:Jh(xh.SCRIPT,[Oh,kh],e),styleTags:Jh(xh.STYLE,[wh],e),title:Zh(e),titleAttributes:Qh(bh,e)}}),(function(e){of&&af(of),e.defer?of=rf((function(){lf(e,(function(){of=null}))})):(lf(e),of=null)}),gf)((function(){return null})));vf.renderStatic=vf.rewind;var yf,_f=["title","titleId"];function bf(){return bf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bf.apply(this,arguments)}function xf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Tf(e,t){var n=e.title,r=e.titleId,i=xf(e,_f);return a.createElement("svg",bf({xmlns:"http://www.w3.org/2000/svg",width:109.176,height:31.53,viewBox:"0 0 109.176 31.53",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,yf||(yf=a.createElement("g",{id:"Group_1755","data-name":"Group 1755",transform:"translate(0)"},a.createElement("path",{id:"Path_20","data-name":"Path 20",d:"M556.229,479.678v2.8H548.8v-2.8Z",transform:"translate(-529.58 -465.036)",fill:"#fff"}),a.createElement("path",{id:"Path_21","data-name":"Path 21",d:"M203.441,259.289l-.2,3.445h-2.438V239.982h3.575v5.46c0,1.04-.163,3.12-.26,4.388.553-1.853,2.405-3.413,5.753-3.413,5.233,0,7.118,2.8,7.118,8.386,0,5.558-1.983,8.418-7.216,8.418C205.066,263.222,203.863,261.011,203.441,259.289Zm9.946-4.485c0-3.965-1.073-5.558-4.551-5.558-3.445,0-4.583,1.593-4.583,5.558,0,4,1.138,5.591,4.583,5.591C212.347,260.394,213.387,258.834,213.387,254.8Z",transform:"translate(-200.808 -238.582)",fill:"#fff"}),a.createElement("path",{id:"Path_22","data-name":"Path 22",d:"M739.452,380.4v-2.983a23.807,23.807,0,0,0,6.3,1.051c4.169,0,5.66-1.695,5.66-5.05,0-.949.1-2.135.17-2.779-.678,1.8-2.407,3.356-5.966,3.356-5.457,0-7.423-2.949-7.423-8.135,0-4.982,2.034-8.135,7.525-8.135,5.016,0,6.169,2.44,6.609,4.034l.2-3.525h2.542v15.185c0,4.745-2.2,7.931-8.948,7.931A25.888,25.888,0,0,1,739.452,380.4Zm12-14.541c0-3.288-1.152-5.186-4.745-5.186-3.661,0-4.779,1.83-4.779,5.186s1.084,5.186,4.745,5.186C750.3,371.049,751.451,369.184,751.451,365.863Z",transform:"translate(-708.51 -349.823)",fill:"#fff"}),a.createElement("g",{id:"Group_14","data-name":"Group 14",transform:"translate(48.398 7.905)"},a.createElement("path",{id:"Path_23","data-name":"Path 23",d:"M1076.871,366.473c0-5.627,2.034-8.745,8.813-8.745,6.745,0,8.779,3.118,8.779,8.745,0,5.66-2.034,8.779-8.779,8.779C1078.9,375.252,1076.871,372.133,1076.871,366.473Zm13.864,0c0-4.169-1.153-5.864-5.051-5.864-3.966,0-5.051,1.661-5.051,5.864s1.119,5.864,5.051,5.864S1090.734,370.71,1090.734,366.473Z",transform:"translate(-1076.871 -357.728)",fill:"#fff"}),a.createElement("path",{id:"Path_24","data-name":"Path 24",d:"M1416.152,366.473c0-5.627,2.034-8.745,8.813-8.745,6.745,0,8.779,3.118,8.779,8.745,0,5.66-2.034,8.779-8.779,8.779C1418.186,375.252,1416.152,372.133,1416.152,366.473Zm13.863,0c0-4.169-1.152-5.864-5.05-5.864-3.966,0-5.051,1.661-5.051,5.864s1.119,5.864,5.051,5.864S1430.015,370.71,1430.015,366.473Z",transform:"translate(-1397.408 -357.728)",fill:"#fff"})),a.createElement("path",{id:"Path_25","data-name":"Path 25",d:"M1755.432,251.7c0-5.8,2.1-8.745,7.423-8.745,3.525,0,5.423,1.627,6,3.559-.135-1.322-.271-3.491-.271-4.576v-5.694h3.728v23.727h-2.542l-.2-3.661c-.44,1.932-1.762,4.169-6.677,4.169C1757.432,260.482,1755.432,257.6,1755.432,251.7Zm13.253,0c0-4.237-1.288-5.8-4.779-5.8-3.525,0-4.746,1.525-4.746,5.8s1.254,5.83,4.779,5.83C1767.4,257.533,1768.685,255.974,1768.685,251.7Z",transform:"translate(-1669.547 -235.053)",fill:"#fff"}),a.createElement("path",{id:"Path_26","data-name":"Path 26",d:"M2100.775,216.883a2.363,2.363,0,0,1-.165.927,2.161,2.161,0,0,1-.476.718,2.131,2.131,0,0,1-.706.465,2.219,2.219,0,0,1-.844.17,2.323,2.323,0,0,1-.9-.164,2.144,2.144,0,0,1-.714-.471,2.225,2.225,0,0,1-.472-.713,2.347,2.347,0,0,1-.18-.9,2.315,2.315,0,0,1,.163-.925,2.153,2.153,0,0,1,.476-.718,2.178,2.178,0,0,1,.7-.467,2.3,2.3,0,0,1,.856-.17,2.206,2.206,0,0,1,2.063,1.321,2.4,2.4,0,0,1,.2.926m-.486,0a2.091,2.091,0,0,0-.146-.755,1.755,1.755,0,0,0-.381-.591,1.673,1.673,0,0,0-1.24-.511,1.706,1.706,0,0,0-.688.143,1.6,1.6,0,0,0-.548.387,1.791,1.791,0,0,0-.363.6,2.216,2.216,0,0,0,.014,1.483,1.728,1.728,0,0,0,.358.59,1.715,1.715,0,0,0,2.51.01,1.779,1.779,0,0,0,.362-.593A2.131,2.131,0,0,0,2100.289,216.886Zm-2.166,1.314-.414,0-.039-2.507.956-.007a1.152,1.152,0,0,1,.685.164.641.641,0,0,1,.241.549.6.6,0,0,1-.181.5.83.83,0,0,1-.462.192l.72,1.1-.467,0-.667-1.068-.391,0Zm.441-1.428c.075,0,.148,0,.217-.01a.469.469,0,0,0,.188-.054.318.318,0,0,0,.124-.118.4.4,0,0,0,.047-.215.314.314,0,0,0-.054-.183.37.37,0,0,0-.132-.1.638.638,0,0,0-.178-.046c-.065-.005-.128-.007-.187-.007l-.5,0,.009.734Z",transform:"translate(-1991.599 -214.635)",fill:"#fff"}))))}
2var wf,Sf=a.forwardRef(Tf),Ef=(__webpack_require__.p,["title","titleId"]);function kf(){return kf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kf.apply(this,arguments)}function Cf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Pf(e,t){var n=e.title,r=e.titleId,i=Cf(e,Ef);return a.createElement("svg",kf({xmlns:"http://www.w3.org/2000/svg",width:100.445,height:27.996,viewBox:"0 0 100.445 27.996",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,wf||(wf=a.createElement("path",{id:"Path_1520","data-name":"Path 1520",d:"M67.369,78.768l.19.05a.544.544,0,0,1-.01.093V79a.362.362,0,0,0,.19.285,2.2,2.2,0,0,0,.451.213c.181.054.359.1.532.132a2.525,2.525,0,0,0,.421.051c.093,0,.206-.008.34-.021a1.893,1.893,0,0,0,.412-.082,1.125,1.125,0,0,0,.34-.182.4.4,0,0,0,.141-.316.343.343,0,0,0-.251-.325,2.506,2.506,0,0,0-.612-.152c-.248-.04-.515-.076-.8-.112a4.455,4.455,0,0,1-.8-.183,1.788,1.788,0,0,1-.622-.366.93.93,0,0,1-.241-.681,1.214,1.214,0,0,1,.532-1.036,2.5,2.5,0,0,1,1.492-.387,3.307,3.307,0,0,1,.8.082,3.5,3.5,0,0,1,.572.162,2.466,2.466,0,0,1,.371.174.614.614,0,0,0,.22.07.271.271,0,0,0,.121-.021.651.651,0,0,1,.1-.061l.109.112-.5.955-.18-.06-.02-.123a.206.206,0,0,0-.091-.122,1.667,1.667,0,0,0-.62-.3,3.444,3.444,0,0,0-.943-.12,2.447,2.447,0,0,0-.38.029,1.155,1.155,0,0,0-.321.082.6.6,0,0,0-.221.163.355.355,0,0,0,.161.559,3.441,3.441,0,0,0,.622.152l.8.113a3.61,3.61,0,0,1,.8.184,1.526,1.526,0,0,1,.612.385.952.952,0,0,1,.251.7,1.16,1.16,0,0,1-.221.731,1.489,1.489,0,0,1-.531.448,2.245,2.245,0,0,1-.713.214c-.12.016-.238.028-.353.035L69,81.437h-.59l.348-1.054a2.818,2.818,0,0,1-.286-.04c-.222-.048-.425-.1-.613-.152s-.334-.117-.462-.162a.927.927,0,0,0-.23-.08.148.148,0,0,0-.121.061l-.139-.1Zm60.7,0,.19.05a.457.457,0,0,1-.01.093V79a.361.361,0,0,0,.19.285,2.195,2.195,0,0,0,.451.213c.18.054.358.1.529.132a2.591,2.591,0,0,0,.423.051c.092,0,.205-.008.34-.021a1.911,1.911,0,0,0,.412-.082,1.118,1.118,0,0,0,.34-.182.4.4,0,0,0,.141-.316.345.345,0,0,0-.253-.325,2.474,2.474,0,0,0-.611-.152c-.247-.04-.513-.076-.8-.112a4.443,4.443,0,0,1-.8-.183,1.779,1.779,0,0,1-.622-.366.931.931,0,0,1-.241-.681,1.218,1.218,0,0,1,.53-1.036,2.511,2.511,0,0,1,1.494-.387,3.309,3.309,0,0,1,.8.082,3.586,3.586,0,0,1,.572.162,2.522,2.522,0,0,1,.37.174.607.607,0,0,0,.222.07.278.278,0,0,0,.121-.021.719.719,0,0,1,.1-.061l.112.112-.5.955-.18-.06-.021-.123a.211.211,0,0,0-.088-.122,1.715,1.715,0,0,0-.622-.3,3.442,3.442,0,0,0-.944-.12,2.423,2.423,0,0,0-.38.029,1.165,1.165,0,0,0-.321.082.615.615,0,0,0-.222.163.353.353,0,0,0-.078.233.338.338,0,0,0,.241.326,3.451,3.451,0,0,0,.622.152l.8.113a3.569,3.569,0,0,1,.8.184,1.514,1.514,0,0,1,.611.385.947.947,0,0,1,.25.7,1.15,1.15,0,0,1-.219.731,1.481,1.481,0,0,1-.53.448,2.237,2.237,0,0,1-.713.214c-.12.016-.239.028-.354.035l-.52,1.048h-.588l.345-1.054c-.094-.008-.191-.022-.287-.04-.219-.048-.425-.1-.611-.152s-.333-.117-.46-.162a.927.927,0,0,0-.231-.08.149.149,0,0,0-.12.061l-.139-.1ZM57.237,75.333a.562.562,0,0,0,.171.41.56.56,0,0,0,.812,0,.559.559,0,0,0,.171-.41.567.567,0,0,0-.171-.414.565.565,0,0,0-.812,0A.571.571,0,0,0,57.237,75.333Zm82.735,5.042h1.522V80.19c-.185,0-.277-.051-.277-.154v-3.8c0-.1.092-.152.277-.152V75.9h-1.522v.183a.441.441,0,0,1,.222.04.116.116,0,0,1,.06.112v3.8a.143.143,0,0,1-.06.124.584.584,0,0,1-.222.03Zm-24.6,0h1.341V80.19a.378.378,0,0,1-.139-.02c-.034-.015-.05-.048-.05-.1a.337.337,0,0,1,.021-.11l.069-.152.283-.549h2.144l.271.579.049.131a.306.306,0,0,1,.021.113.115.115,0,0,1-.06.112.192.192,0,0,1-.1.029v.155h1.422V80.19a.466.466,0,0,1-.13-.061A.383.383,0,0,1,120.4,80l-1.624-3.456a1.849,1.849,0,0,0-.1-.192.379.379,0,0,1-.04-.154c0-.046.01-.073.028-.079l.072-.213h-1.513v.183c.07.047.079.07.079.11a.4.4,0,0,1-.04.174l-.09.225-1.494,3.3a1.239,1.239,0,0,1-.121.183.293.293,0,0,1-.189.112Zm1.822-1.872.713-1.707.812,1.707ZM105.73,80.19v.184h1.3V80.19c-.123,0-.18-.051-.18-.154V76.653h1.3a.283.283,0,0,1,.151.042.139.139,0,0,1,.069.132h.181V75.658h-.181a.226.226,0,0,1-.069.192.242.242,0,0,1-.151.052h-3.569a.241.241,0,0,1-.15-.052.224.224,0,0,1-.069-.192h-.181v1.169h.181a.138.138,0,0,1,.069-.132.282.282,0,0,1,.15-.042h1.3v3.384a.154.154,0,0,1-.049.124A.2.2,0,0,1,105.73,80.19Zm-14.1.184h1.233V80.19c-.141,0-.21-.051-.21-.154V77.081l2.486,2.682.21.234c.065.068.1.115.1.143l-.072.235h1.3V80.19c-.121,0-.181-.051-.181-.154v-3.8c0-.1.06-.152.181-.152V75.9H95.46v.183c.134,0,.2.05.2.152V78.99l-2.405-2.58c-.148-.149-.219-.241-.219-.274l.07-.233H91.632v.183c.119,0,.18.05.18.152v3.8c0,.1-.061.154-.18.154Zm-12.586,0h1.342V80.19a.368.368,0,0,1-.139-.02c-.035-.015-.051-.048-.051-.1a.378.378,0,0,1,.02-.11l.071-.152.28-.549h2.146l.271.579.051.131a.316.316,0,0,1,.02.113.113.113,0,0,1-.06.112.2.2,0,0,1-.1.029v.155h1.423V80.19a.441.441,0,0,1-.13-.061A.344.344,0,0,1,84.077,80l
2-1.624-3.456c-.035-.074-.067-.137-.1-.192a.386.386,0,0,1-.042-.154c0-.046.012-.073.031-.079l.068-.213H80.9v.183c.072.047.081.07.081.11a.44.44,0,0,1-.039.174l-.091.225-1.493,3.3a1.128,1.128,0,0,1-.121.183.289.289,0,0,1-.19.112ZM80.869,78.5l.713-1.707.812,1.707Zm-23.8,1.872h1.524V80.19c-.189,0-.281-.051-.281-.154V76.5c0-.1.092-.152.281-.152v-.183H57.07v.183a.41.41,0,0,1,.22.042.112.112,0,0,1,.06.11v3.534a.142.142,0,0,1-.06.124.575.575,0,0,1-.22.03Zm-13.128,0h1.232V80.19c-.139,0-.21-.051-.21-.154V77.081l2.486,2.682.21.234c.067.068.1.115.1.143l-.07.235h1.3V80.19c-.12,0-.18-.051-.18-.154v-3.8c0-.1.06-.152.18-.152V75.9H47.772v.183c.133,0,.2.05.2.152V78.99l-2.4-2.58c-.147-.149-.221-.241-.221-.274l.07-.233H43.942v.183c.121,0,.18.05.18.152v3.8c0,.1-.06.154-.18.154ZM124.36,70.8l.474.276a.565.565,0,0,1,.439-.276,1.926,1.926,0,0,1,.881.276q.51.238,1.355.583a14.944,14.944,0,0,0,2.168.549,21.6,21.6,0,0,0,3.252.2,23.25,23.25,0,0,0,2.98-.2,10.648,10.648,0,0,0,3.014-.894,6.4,6.4,0,0,0,2.3-1.785,4.388,4.388,0,0,0,.949-2.919,4.639,4.639,0,0,0-.609-2.507,4.148,4.148,0,0,0-1.559-1.511,6.506,6.506,0,0,0-2.2-.824,18.009,18.009,0,0,0-2.505-.378q-1.287-.1-2.542-.17a14.8,14.8,0,0,1-2.2-.276A4.447,4.447,0,0,1,129,60.326a1.424,1.424,0,0,1-.576-1.237,1.26,1.26,0,0,1,.407-.962,3.214,3.214,0,0,1,1.083-.652,6.529,6.529,0,0,1,1.425-.343,9.325,9.325,0,0,1,1.556-.139,9.568,9.568,0,0,1,1.964.207,10.654,10.654,0,0,1,1.83.48,6.541,6.541,0,0,1,1.455.722,2.672,2.672,0,0,1,.917.79,1.9,1.9,0,0,1,.27.788l.337.137,2.339-4.293-.407-.274a.924.924,0,0,1-.675.206,3.124,3.124,0,0,1-1.119-.274c-.428-.183-.972-.378-1.626-.584a21.735,21.735,0,0,0-2.27-.583,15.435,15.435,0,0,0-3.116-.275,11.655,11.655,0,0,0-3.657.515,8.036,8.036,0,0,0-2.574,1.27,5.258,5.258,0,0,0-1.524,1.821,4.956,4.956,0,0,0-.475,2.095,5.1,5.1,0,0,0,.576,2.576,4.8,4.8,0,0,0,1.559,1.546,7.415,7.415,0,0,0,2.2.789,23.174,23.174,0,0,0,2.54.344c.858.068,1.693.126,2.508.171a14.862,14.862,0,0,1,2.2.206,4.167,4.167,0,0,1,1.556.549,1.278,1.278,0,0,1,.611,1.167,1.514,1.514,0,0,1-.643,1.272,5.032,5.032,0,0,1-1.524.755,9.7,9.7,0,0,1-1.8.379c-.608.045-1.106.068-1.49.068a10.342,10.342,0,0,1-1.761-.173,16.43,16.43,0,0,1-1.9-.515,11.445,11.445,0,0,1-1.592-.686,2.573,2.573,0,0,1-.914-.824,1.077,1.077,0,0,1-.136-.55l-.338-.172Zm-5.519-10.676V60.9a4.6,4.6,0,0,0,1.432-.6,5.471,5.471,0,0,0,1.217-1.039,5.042,5.042,0,0,0,.833-1.33,3.736,3.736,0,0,0,.335-1.548,2.869,2.869,0,0,0-.5-1.718,1.613,1.613,0,0,0-1.429-.7,1.544,1.544,0,0,0-1.122.508,1.7,1.7,0,0,0-.477,1.21,1.5,1.5,0,0,0,.428,1.136,1.568,1.568,0,0,0,1.05.387,3.577,3.577,0,0,1,.4.024.274.274,0,0,1,.264.194,1.458,1.458,0,0,1-.191.869,3.659,3.659,0,0,1-.62.823,4.694,4.694,0,0,1-.812.654A3.406,3.406,0,0,1,118.841,60.122ZM96.813,54.266v.619a1.853,1.853,0,0,1,.817.241,1.827,1.827,0,0,1,.747.584L104.925,65v6.123a.6.6,0,0,1-.2.483.886.886,0,0,1-.509.136v.62h5.362v-.62c-.518,0-.779-.205-.779-.62V65l5.769-8.294c.273-.412.5-.733.678-.963a3.1,3.1,0,0,1,.546-.551,1.142,1.142,0,0,1,.508-.241,1.851,1.851,0,0,1,.509-.068v-.619h-5.94v.619a2.719,2.719,0,0,1,.578.068q.337.07.338.311a.791.791,0,0,1-.169.447q-.17.243-.442.654L107.2,61.9q-.441-.722-1.152-1.755c-.477-.688-.939-1.355-1.392-2q-.646-1-1.155-1.754a3.066,3.066,0,0,1-.474-1c0-.23.09-.367.271-.413a1.634,1.634,0,0,1,.576-.1v-.619ZM87.991,71.125V57.431h5.6a1.044,1.044,0,0,1,.576.173.684.684,0,0,1,.307.653h.611V53.441h-.611a.683.683,0,0,1-.307.652,1.049,1.049,0,0,1-.576.174H78.523a1.242,1.242,0,0,1-.613-.174.712.712,0,0,1-.271-.652h-.611v4.817h.611a.713.713,0,0,1,.271-.653,1.236,1.236,0,0,1,.613-.173h5.6V71.125a.6.6,0,0,1-.2.483.627.627,0,0,1-.408.136v.62h5.227v-.62C88.238,71.745,87.991,71.539,87.991,71.125ZM67.22,72.365h5.635v-.62c-.589,0-.882-.205-.882-.62V55.5q0-.619.882-.619v-.619H67.22v.619q.883,0,.883.619V71.125c0,.414-.295.62-.883.62Zm-5.293-2.752-2.239-3.648-.476.275a.647.647,0,0,1,.137.413q0,.447-.679.964a7.7,7.7,0,0,1-1.628.894,16.236,16.236,0,0,1-2.172.654,11.379,11.379,0,0,1-2.275.241,9.2,9.2,0,0,1-2.749-.412,7.005,7.005,0,0,1-2.274-1.206,6.031,6.031,0,0,1-1.527-1.927,5.893,5.893,0,0,1-.578-2.649,5.678,5.678,0,0,1,.578-2.615,5.9,5.9,0,0,1,1.527-1.961,7.014,7.014,0,0,1,2.274-1.205,9.218,9.218,0,0,1,2.749-.412,9.018,9.018,0,0,1,1.833.206,14.331,14.331,0,0,1,1.9.516,6.336,6.336,0,0,1,1.528.722c.406.252.633.5.678.756a1.018,1.018,0,0,1,.035.242.72.72,0,0,1,.034.206l.338.24,2.648-4.162-.509-.413c-.045.068-.112.161-.2.275a.3.3,0,0,1-.271.172,3.028,3.028,0,0,1-.747-.275,13.548,13.548,0,0,0-1.663-.583q-1.052-.309-2.477-.585a16.085,16.
2085,0,0,0-3.122-.275,14.36,14.36,0,0,0-4.107.583A10.693,10.693,0,0,0,44.991,56.4a8.512,8.512,0,0,0-2.377,2.924,8.789,8.789,0,0,0,2.377,10.907,10.588,10.588,0,0,0,3.495,1.687,15.237,15.237,0,0,0,4.107.548,12.617,12.617,0,0,0,3.122-.377,16.126,16.126,0,0,0,2.648-.895q1.187-.516,1.934-.929a3.247,3.247,0,0,1,.985-.413.381.381,0,0,1,.169.034h.2Z",transform:"translate(-41.732 -53.441)",fill:"#fff",fillRule:"evenodd"})))}var Af,If,Of=a.forwardRef(Pf),Df=(__webpack_require__.p,["title","titleId"]);function Mf(){return Mf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mf.apply(this,arguments)}function Nf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Rf(e,t){var n=e.title,r=e.titleId,i=Nf(e,Df);return a.createElement("svg",Mf({id:"Group_1624","data-name":"Group 1624",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:123.213,height:16.094,viewBox:"0 0 123.213 16.094",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Af||(Af=a.createElement("defs",null,a.createElement("clipPath",{id:"clip-path"},a.createElement("rect",{id:"Rectangle_1978","data-name":"Rectangle 1978",width:123.213,height:16.094,fill:"#fff"})))),If||(If=a.createElement("g",{id:"Group_1619","data-name":"Group 1619"},a.createElement("path",{id:"Path_4460","data-name":"Path 4460",d:"M482.147,17.358a10.311,10.311,0,0,1-3.407-.539,6.631,6.631,0,0,1-4.191-4.313,9.892,9.892,0,0,1-.2-5.7,6.62,6.62,0,0,1,4.537-4.844,9.5,9.5,0,0,1,6.135-.029,6.975,6.975,0,0,1,4.965,6.213,8.989,8.989,0,0,1-.6,4.809,7.031,7.031,0,0,1-5.671,4.264c-.184.03-.37.055-.556.07-.372.029-.746.049-1.017.067m2.929-7.874c-.068-.554-.1-1.117-.214-1.661a3.454,3.454,0,0,0-1.271-2.155,2.654,2.654,0,0,0-3.979,1.027,6.286,6.286,0,0,0,.018,5.457,2.5,2.5,0,0,0,2.66,1.492,2.546,2.546,0,0,0,2.369-1.78,7.7,7.7,0,0,0,.417-2.38",transform:"translate(-440.736 -1.339)",fill:"#fff"}),a.createElement("path",{id:"Path_4461","data-name":"Path 4461",d:"M231.506,10.3a8.27,8.27,0,0,1,1.313-4.659,7.168,7.168,0,0,1,5.392-3.072,9.345,9.345,0,0,1,5.144.7,6.972,6.972,0,0,1,4.087,5.568,9.614,9.614,0,0,1-.268,4.334,6.848,6.848,0,0,1-4.82,4.8,9.846,9.846,0,0,1-5.573.029,6.767,6.767,0,0,1-5.042-5.652c-.131-.672-.159-1.365-.234-2.048m5.03.063a5.935,5.935,0,0,0,.686,3,2.546,2.546,0,0,0,2.4,1.3,2.422,2.422,0,0,0,2.421-1.582,8.318,8.318,0,0,0,.457-2.105,5.553,5.553,0,0,0-.644-3.42,2.581,2.581,0,0,0-2.4-1.365,2.516,2.516,0,0,0-2.3,1.4,5.583,5.583,0,0,0-.619,2.771",transform:"translate(-215.248 -2.313)",fill:"#fff"}),a.createElement("path",{id:"Path_4462","data-name":"Path 4462",d:"M743.407,21.808c-.2.012-.331.026-.466.027-1.754,0-3.509,0-5.263.007a.476.476,0,0,1-.469-.268q-1.622-2.662-3.261-5.314c-.072-.117-.152-.228-.2-.3-.386.356-.772.694-1.13,1.059a.6.6,0,0,0-.093.388c0,1.343.012,2.686.02,4.029,0,.126,0,.251,0,.411h-5.035V6.831h4.964v4.7l.094.035c.168-.183.339-.364.5-.55q1.8-2.01,3.6-4.018a.594.594,0,0,1,.373-.2c1.847-.02,3.7-.024,5.543-.03a.7.7,0,0,1,.127.042l-5.523,5.65,6.214,9.351",transform:"translate(-676.417 -6.291)",fill:"#fff"}),a.createElement("path",{id:"Path_4463","data-name":"Path 4463",d:"M15.3,10.512h-4.71a.931.931,0,0,1-.056-.155A2.444,2.444,0,0,0,7.659,8.106a2.525,2.525,0,0,0-2.381,2.238,8.335,8.335,0,0,0-.014,3.923,2.759,2.759,0,0,0,3.629,2.146,2.287,2.287,0,0,0,1.674-2.039c.06-.311.175-.387.474-.385,1.321.008,2.643-.009,3.964-.017h.432c-.019.183-.025.34-.053.493A6.515,6.515,0,0,1,9.2,20.139a9.823,9.823,0,0,1-5.012-.7A6.588,6.588,0,0,1,.246,14.448,9.154,9.154,0,0,1,.892,8.3a6.782,6.782,0,0,1,5.5-3.791,9.691,9.691,0,0,1,5.287.694,6.019,6.019,0,0,1,3.62,5.082,2.031,2.031,0,0,1,0,.228",transform:"translate(0 -4.104)",fill:"#fff"}),a.createElement("path",{id:"Path_4464","data-name":"Path 4464",d:"M1324.062,15.85a6.5,6.5,0,0,1-5.114-2.1,7.52,7.52,0,0,1-1.8-3.812,10.576,10.576,0,0,1,.3-5.256,6.5,6.5,0,0,1,6.982-4.668,6.911,6.911,0,0,1,3.841,1.239,6.69,6.69,0,0,1,2.487,3.593,10.592,10.592,0,0,1,.126,5.771,6.584,6.584,0,0,1-6.827,5.235m-5.609-7.936c0,.315-.017.631,0,.945a8.244,8.244,0,0,0,.127.936c.442,2.369,1.9,4.507,4.789,4.794a5.189,5.189,0,0,0,5.879-3.578,9.166,9.166,0,0,0,.054-5.952,5.025,5.025,0,0,0-4.543-3.792,5.153,5.153,0,0,0-5.57,2.946,7.729,7.729,0,0,0-.742,3.7",transform:"translate(-1224.469 0)",fill:"#fff"}),a.createElement("path",{id:"Path_4465","data-name":"Path 4465",d:"M960.41,12.032h1.376c.045.24.085.477.135.713a3.379,3.379,0,0,0,2.864,2.8,6.183,6.183,0,0,0,3.254-.152,2.846,2.846,0,0,0,1.97-3.325,2.188,2.188,0,0,0-1.253-1.677,18.977,18.977,0,0,0-2.4-.856c-.971-.3-1.965-.518-2.935-.817a3.475,3.475,0,0,1-2.651-2.867A3.554,3.554,0,0,1,962.258,2.1a6.35,6.35,0,0,1,4.135-1.027,5.2,5.2,0,0,1,3.336,1.271,3.98,3.98,0,0,1,1.293,3.167h-1.356c-.031-.23-.05-.472-.1-.708a2.793,2.793,0,0,0-1.8-2.168,5.006,5.006,0,0,0-4.425.292,2.44,2.44,0,0,0-.038,4.2,7.272,7.272,0,0,0,1.442.617c1.331.4,2.671.763,4.015,1.115a3.606,3.606,0,0,1,2.75,3.875,3.831,3.831,0,0,1-2.792,3.714,7.613,7.613,0,0,1-5.937-.222,4.31,4.31,0,0,1-2.375-4.2",transform:"translate(-892.955 -0.984)",fill:"#fff"}),a.createElement("path",{id:"Path_4466","data-name":"Path 4466",d:"M1131.811,21.089V6.054h1.393v6.42h9.036V6.03h1.46V21.051h-1.413V13.729h-9.023v7.36Z",transform:"translate(-1052.326 -5.606)",fill:"#fff"}),a.createElement("path",{id:"Path_4467","data-name":"Path 4467",d:"M1537.089,13.547v6.6h-1.444V5.141
2a.478.478,0,0,1,.125-.025c2.094.008,4.187,0,6.28.035a4.865,4.865,0,0,1,2.375.657,3.242,3.242,0,0,1,1.5,1.867,5.268,5.268,0,0,1,.171,2.56,3.543,3.543,0,0,1-2.518,2.835,9.333,9.333,0,0,1-3.033.474c-.994.017-1.989,0-2.983,0h-.474m-.012-7.277V12.3c1.054,0,2.069.018,3.083-.006a17.626,17.626,0,0,0,2.129-.152,2.48,2.48,0,0,0,2.25-1.683,3.66,3.66,0,0,0,.077-2.072,2.442,2.442,0,0,0-2.28-1.885c-1.739-.166-3.494-.165-5.259-.235",transform:"translate(-1427.8 -4.757)",fill:"#fff"}),a.createElement("rect",{id:"Rectangle_1977","data-name":"Rectangle 1977",width:4.462,height:4.264,transform:"translate(118.751 11.124)",fill:"#fff"}))))}var Lf,jf,Ff=a.forwardRef(Rf),Bf=(__webpack_require__.p,["title","titleId"]);function Uf(){return Uf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uf.apply(this,arguments)}function Vf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function zf(e,t){var n=e.title,r=e.titleId,i=Vf(e,Bf);return a.createElement("svg",Uf({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:80.517,height:42.577,viewBox:"0 0 80.517 42.577",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Lf||(Lf=a.createElement("defs",null,a.createElement("clipPath",{id:"clip-path"},a.createElement("rect",{id:"Rectangle_1976","data-name":"Rectangle 1976",width:80.517,height:42.577,fill:"#fff"})))),jf||(jf=a.createElement("g",{id:"Group_1764","data-name":"Group 1764",transform:"translate(0)"},a.createElement("g",{id:"Group_1617","data-name":"Group 1617",transform:"translate(0)"},a.createElement("path",{id:"Path_4456","data-name":"Path 4456",d:"M105.973,25.874a3.151,3.151,0,0,1-3.114-3.114,2.565,2.565,0,0,0-2.653-2.653H94.439a2.658,2.658,0,0,0-2.652,2.653,3.042,3.042,0,0,1-.894,2.191,2.966,2.966,0,0,1-2.22.923c-.024,0-.047,0-.071,0h-.786a1.879,1.879,0,0,0-1.879,1.88v1.621a1.879,1.879,0,0,0,1.879,1.879h1.621a1.88,1.88,0,0,0,1.88-1.879v-.649c0-.067.009-.134.009-.2a3.151,3.151,0,0,1,3.114-3.114h5.767a3.054,3.054,0,0,1,3.114,3.114V40.1a3.151,3.151,0,0,1-3.114,3.114H94.439a3.16,3.16,0,0,1-3.1-2.8v-.629a3.16,3.16,0,0,1,3.1-2.8h5.454a2.529,2.529,0,0,0,1.9-.779,2.606,2.606,0,0,0,.75-1.875,2.565,2.565,0,0,0-2.653-2.653H94.439a2.658,2.658,0,0,0-2.652,2.653,3.159,3.159,0,0,1-2.707,3.086h-1.24a1.88,1.88,0,0,0-1.88,1.879v1.621a1.88,1.88,0,0,0,1.88,1.88h1.4a2.947,2.947,0,0,1,1.654.848,3.015,3.015,0,0,1,.894,2.22,2.658,2.658,0,0,0,2.652,2.653h5.767a2.658,2.658,0,0,0,2.653-2.653,2.966,2.966,0,0,1,.923-2.22,3.042,3.042,0,0,1,2.191-.894,2.658,2.658,0,0,0,2.653-2.653V28.527a2.565,2.565,0,0,0-2.653-2.653",transform:"translate(-60.925 -14.255)",fill:"#fff"}),a.createElement("path",{id:"Path_4457","data-name":"Path 4457",d:"M217.723,31.406h1.621a1.879,1.879,0,0,0,1.879-1.88V27.905a1.879,1.879,0,0,0-1.879-1.88h-.756c-.029,0-.057,0-.086,0a3.151,3.151,0,0,1-3.114-3.114,2.565,2.565,0,0,0-2.653-2.653h-5.767a2.658,2.658,0,0,0-2.652,2.653,3.164,3.164,0,0,1-2.595,3.07H200.35a1.879,1.879,0,0,0-1.879,1.88v1.621a1.879,1.879,0,0,0,1.879,1.879h1.3a2.956,2.956,0,0,1,1.774.864,3.016,3.016,0,0,1,.894,2.22,2.658,2.658,0,0,0,2.652,2.653h5.767a3.045,3.045,0,0,1,3.109,2.986v.248a3.148,3.148,0,0,1-3.109,2.995h-5.767a3.151,3.151,0,0,1-3.114-3.114c0-.027,0-.052,0-.079v-.775a1.879,1.879,0,0,0-1.879-1.88H200.35a1.88,1.88,0,0,0-1.88,1.88v1.621a1.88,1.88,0,0,0,1.88,1.879h.711c.047,0,.093.006.14.006a3.054,3.054,0,0,1,3.114,3.114,2.658,2.658,0,0,0,2.652,2.653h5.767a2.529,2.529,0,0,0,1.9-.779,2.605,2.605,0,0,0,.75-1.875,3.162,3.162,0,0,1,2.6-3.07h1.356a1.879,1.879,0,0,0,1.879-1.88V39.4a1.879,1.879,0,0,0-1.879-1.879h-1.272a3.159,3.159,0,0,1-2.685-3.083,2.565,2.565,0,0,0-2.653-2.653h-5.767a3.114,3.114,0,0,1,0-6.228h5.767a3.044,3.044,0,0,1,3.109,2.986v.98a1.88,1.88,0,0,0,1.88,1.88",transform:"translate(-140.707 -14.36)",fill:"#fff"}),a.createElement("path",{id:"Path_4458","data-name":"Path 4458",d:"M182.138,35.941v1.81a1.759,1.759,0,0,1-1.76,1.757h-1.807a1.756,1.756,0,0,1-1.757-1.757V36.382a4.312,4.312,0,0,0-1.165-2.048,2.959,2.959,0,0,0-2.183-.883h-.006a2.614,2.614,0,0,1-2.611-2.577.149.149,0,0,1,0-.038V17.355a.44.44,0,0,1,.006-.091c0-.063.006-.128.013-.188.01-.084.022-.166.038-.247.013-.059.028-.122.044-.182.006-.022.013-.044.019-.063.019-.063.044-.125.069-.188a1.47,1.47,0,0,1,.088-.191.226.226,0,0,1,.022-.038,1.379,1.379,0,0,1,.113-.194c.041-.063.085-.122.132-.182s.088-.107.135-.157a.571.571,0,0,1,.044-.05s.006-.006.006-.01a.026.026,0,0,1,.012-.013,3.273,3.273,0,0,0-.194-4.985l-.448-.451a1.521,1.521,0,0,1-.225-.272v0a1.747,1.747,0,0,1,0-1.932v0a1.521,1.521,0,0,1,.225-.272v0l1.278-1.274v0c.044-.044.088-.081.132-.119h0a1.476,1.476,0,0,1,.291-.194,1.753,1.753,0,0,1,1.635,0,1.477,1.477,0,0,1,.291.194h0c.044.038.088.075.132.119v0l1.278,1.274v0a1.674,1.674,0,0,1,.226.272,1.511,1.511,0,0,1,.088.153,1.607,1.607,0,0,1,.128.313,1.759,1.759,0,0,1-.442,1.747l-.492.495a.077.077,0,0,0-.019.016,3.113,3.113,0,0,0-.407.407.091.091,0,0,0-.016.019l-.031.028a1.269,1.269,0,0,0-.075.107l-.019.028a3.279,3.279,0,0,0,.226,4.124c.006.01.013.016.019.025a.425.425,0,0,0,.035.04c.034.041.075.078.113.116a.315.315,0,0,1,.044.05.619.619,0,0,1,.044.05,2.036,2.036,0,0,1,.135.157,1.787,1.787,0,0,1,.132.182,1.35,1.35,0,0,1,.113.194.251.251,0,0,1,.022.038,1.507,1.507,0,0,1,.088.191c.025.063.05.125.069.188.006.022.013.044.019.063.016.06.031.122.044.182a2.477,2.477,0,0,1,.05.435.441.441,0,0,1,.006.091V30.836a.164.164,0,0,1,0,.038A4.106,4.106,0,0,0,177.3,33.31a2.963,2.963,0,0,0,1.7.874h1.378a1.759,1.759,0,0,1,1.76,1.757",transform:"translate(-120.825 -4.146)",fill:"#fff"}),a.createElement("path",{id:"Path_4459","data-name":"Path 4459",d:"M26.7,29.972H25.073a1.881,1.881,0,0,0-1.879,1.882V32.6c0,.034,0,.069,0,.1a3.155,3.155,0,0,1-3.116,3.116H8.5A2.989,2.989,0,0,1,6.3,34.892a3.063,3.063,0,0,1,0-4.384A3,3,0,0,1,8.5,29.587h5.765a2.529,2.529,0,0,0,1.9-.78,2.592,2.592,0,0,0,.749-1.873,3.155,3.155,0,0,1,3.116-3.116,2.53,2.53,0,0,0,1.9-.777,2.607,2.607,0,0,0,.751-1.876v-6.9a2.57,2.57,0,0,0-2.652-2.653,3,3,0,0,1-2.192-.921,3.063,3.063,0,0,1,0-4.384A3,3,0,0,1,20.03,5.39c.025,0,.05,0,.078,0h.78A1.866,1.866,0,0,0,22.607,4.25c.022-.056.044-.113.063-.172a1.819,1.819,0,0,0,.091-.57V1.885a1.826,1.826,0,0,0-.091-.573,1.607,1.607,0,0,0-.134-.319c-.019-.038-.041-.072-.063-.11A1.859,1.859,0,0,0,20.888,0H19.234a1.867,1.867,0,0,0-1.866,1.866V3.132A2.871,2.871,0,0,1,14.5,5.853a.858.858,0,0,1-.091,0h-.056a.922.922,0,0,1-.094,0H8.5A2.652,2.652,0,0,0,5.844,8.505,3.005,3.005,0,0,1,4.92,10.7a3,3,0,0,1-2.192.921,2.547,2.547,0,0,0-1.873.78,2.553,2.553,0,0,0-.78,1.873v6.9a2.559,2.559,0,0,0,.78,1.876,2.555,2.555,0,0,0,1.873.777,3.059,3.059,0,0,1,3.116,3.116,3.005,3.005,0,0,1-.924,2.192,3.022,3.022,0,0,1-1.794.9H1.879A1.879,1.879,0,0,0,0,31.9v1.622A1.881,1.881,0,0,0,1.879,35.4H3.295a2.907,2.907,0,0,1,1.653.874,3.052,3.052,0,0,1,.9,2.192,2.53,2.53,0,0,0,.777,1.9,2.612,2.612,0,0,0,1.876.749H20.075a2.561,2.561,0,0,0,2.652-2.653,3.155,3.155,0,0,1,3.116-3.116H26.7a1.876,1.876,0,0,0,1.879-1.879V31.855A1.879,1.879,0,0,0,26.7,29.972M5.38,21.166v-6.9A2.993,2.993,0,0,1,6.3,12.082,2.988,2.988,0,0,1,8.5,11.158h5.765a3.055,3.055,0,0,1,3.116,3.113v6.9a3.048,3.048,0,0,1-.9,2.192,2.968,2.968,0,0,1-2.22.924H8.5A3,3,0,0,1,6.3,23.359a3,3,0,0,1-.924-2.192",fill:"#fff"}),a.createElement("text",{id:"Seamless_Security_","data-name":"Seamless Security_",transform:"translate(31.334 37.251)",fill:"#fff",fontSize:1,fontFamily:"ClearSans, Clear Sans"},a.createElement("tspan",{x:0,y:0,letterSpacing:"0.049em"},"S"),a.createElement("tspan",{y:0,letterSpacing:"0.05em"},"e"),a.createElement("tspan",{y:0,letterSpacing:"0.049em"},"a"),a.createElement("tspan",{y:0,letterSpacing:"0.05em"},"mless"),a.createElement("tspan",{y:0,xmlSpace:"preserve",letterSpacing:"0.049em"}," S"),a.createElement("tspan",{y:0,letterSpacing:"0.05em"},"ecu"),a.createElement("tspan",{y:0,letterSpacing:"0.049em"},"r"),a.createElement("tspan",{y:0,letterSpacing:"0.05em"},"ity"),a.createElement("tspan",{y:0},"_"))))))}
2var Gf,Hf=a.forwardRef(zf),Wf=(__webpack_require__.p,["title","titleId"]);function qf(){return qf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qf.apply(this,arguments)}function Yf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Xf(e,t){var n=e.title,r=e.titleId,i=Yf(e,Wf);return a.createElement("svg",qf({xmlns:"http://www.w3.org/2000/svg",width:111.516,height:25.937,viewBox:"0 0 111.516 25.937",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Gf||(Gf=a.createElement("g",{id:"Group_1263","data-name":"Group 1263",transform:"translate(0)"},a.createElement("g",{id:"Group_1244","data-name":"Group 1244",transform:"translate(0 0)"},a.createElement("g",{id:"Group_1229","data-name":"Group 1229",transform:"translate(47.924 6.962)"},a.createElement("path",{id:"Path_1474","data-name":"Path 1474",d:"M549.794,277.9,546.7,267.431h-1.368v-2.8h6.545v2.8h-1.666l3.065,10.473Zm5.8-7.141-1.7,6.248-1.369-4.641,1.577-5.921Zm1.993-6.129,4.552,13.269h-3.273l-4.552-13.269Zm3.243,6.962,1.13-4.165h-1.636v-2.8h6.4v2.8h-1.369l-2.737,9.342Z",transform:"translate(-545.332 -264.634)",fill:"#fff"})),a.createElement("g",{id:"Group_1234","data-name":"Group 1234",transform:"translate(0 0.61)"},a.createElement("g",{id:"Group_1230","data-name":"Group 1230"},a.createElement("path",{id:"Path_1475","data-name":"Path 1475",d:"M127.254,231.02v3.132a6.7,6.7,0,0,1-2.954-.567v-3.013a5.123,5.123,0,0,0,2.208.537A2.837,2.837,0,0,0,127.254,231.02Zm-.6-13.036v-2.8h5.071v14.558a3.947,3.947,0,0,1-3.49,4.3V217.984Zm1.074-7.07a2.118,2.118,0,0,1,4.236,0,2.118,2.118,0,0,1-4.236,0Z",transform:"translate(-124.3 -208.825)",fill:"#fff"})),a.createElement("g",{id:"Group_1231","data-name":"Group 1231",transform:"translate(9.205 6.354)"},a.createElement("path",{id:"Path_1476","data-name":"Path 1476",d:"M213.935,275.36v2.864a5.942,5.942,0,0,1-.716.03c-4.087,0-6.474-1.1-6.474-5.012v-5.787h-1.581v-2.8h5.071v8.293c0,1.76.806,2.416,2.864,2.416Zm6.056,2.178c-1.79.328-3.669.537-5.072.656V267.455h-1.611v-2.8h5.1v10.441l1.581-.3Z",transform:"translate(-205.165 -264.651)",fill:"#fff"})),a.createElement("g",{id:"Group_1232","data-name":"Group 1232",transform:"translate(25.7 6.056)"},a.createElement("path",{id:"Path_1477","data-name":"Path 1477",d:"M353.964,275.869v-2.655a4.327,4.327,0,0,0,.9.089c1.074,0,2.058-.388,2.058-1.372,0-.925-.776-1.223-2.357-1.551-3.132-.567-4.475-1.85-4.475-4.117,0-2.8,2.3-4.236,5.31-4.236a3.5,3.5,0,0,1,.477.03v2.625a3.746,3.746,0,0,0-.477-.03c-1.163,0-1.82.537-1.82,1.313,0,.746.477,1.134,2.029,1.462,3.55.686,4.8,1.939,4.8,4.326,0,2.834-2.3,4.176-5.549,4.176C354.561,275.929,354.263,275.9,353.964,275.869Zm-3.788-4.415h2.894v4.3a8.693,8.693,0,0,1-2.894-.984Zm6.593-5.071v-4.236a8.831,8.831,0,0,1,2.923.895v3.341Z",transform:"translate(-350.086 -262.027)",fill:"#fff"})),a.createElement("g",{id:"Group_1233","data-name":"Group 1233",transform:"translate(37.036 3.103)"},a.createElement("path",{id:"Path_1478","data-name":"Path 1478",d:"M449.672,239.334h2v-3.252h3.46v11.635c0,1.551.716,2.028,1.79,2.028a4.453,4.453,0,0,0,2.446-.746v3.192a6.948,6.948,0,0,1-3.371.746c-2.3,0-4.326-1.1-4.326-4.3v-6.5h-2Zm6.444,2.8v-2.8h3.132v2.8Z",transform:"translate(-449.672 -236.082)",fill:"#fff"}))),a.createElement("g",{id:"Group_1235","data-name":"Group 1235",transform:"translate(86.287 6.784)"},a.createElement("path",{id:"Path_1479","data-name":"Path 1479",d:"M882.36,264.344a21.357,21.357,0,0,1,5.087-1.161v10.532h2.291v2.8H882.36v-2.8h1.606v-6.873l-1.606.387Zm6.069,1.874v-3.124c.327-.03.8-.03.893-.03a10.1,10.1,0,0,1,2.5.327v3.154a6.885,6.885,0,0,0-2.5-.387A4.969,4.969,0,0,0,888.429,266.218Z",transform:"translate(-882.36 -263.064)",fill:"#fff"})),a.createElement("g",{id:"Group_1236","data-name":"Group 1236",transform:"translate(96.759 0)"},a.createElement("path",{id:"Path_1480","data-name":"Path 1480",d:"M974.362,203.467h5.088V220.9h1.458v2.8h-6.545v-2.8h1.577V206.264h-1.577ZM987.215,220.9h1.9v2.8h-3.868l-5.147-6.278,2.35-2.38Zm-4.165-6.457,1.25-1.279h-1.9v-2.737h6.635v2.8H987.9l-3.243,3.124Z",transform:"translate(-974.362 -203.467)",fill:"#fff"})),a.createElement("g",{id:"Group_1239","data-name":"Group 1239",transform:"translate(69.737 6.695)"},a.createElement("g",{id:"Group_1237","data-name":"Group 1237",transform:"translate(0.276 0.404)"},a.createElement("path",{id:"Path_1481","data-name":"Path 1481",d:"M742.589,265.832l1.034,1.788a5.2,5.2,0,0,0,2.5,9.37v2.075a7,7,0,0,1-2.937-.859,7.1,7.1,0,0,1-3.3-3.762A7.227,7.227,0,0,1,742.589,265.832Z",transform:"translate(-739.391 -265.832)",fill:"#fff"})),a.createElement("g",{id:"Group_1238","data-name":"Group 1238"},a.createElement("path",{id:"Path_1482","data-name":"Path 1482",d:"M744.259,276.229l-.3-.02
21a7.314,7.314,0,0,1-3.055-.894,7.4,7.4,0,0,1-3.433-3.909,7.531,7.531,0,0,1,2.816-8.952l.252-.166,1.306,2.259-.188.153a4.915,4.915,0,0,0,2.369,8.869l.237.04ZM740.348,263.1A6.967,6.967,0,0,0,738,271.2a6.843,6.843,0,0,0,3.176,3.614,6.722,6.722,0,0,0,2.515.8v-1.526a5.464,5.464,0,0,1-2.583-9.672Z",transform:"translate(-736.966 -262.287)",fill:"#fff"}))),a.createElement("g",{id:"Group_1240","data-name":"Group 1240",transform:"translate(76.213 4.814)"},a.createElement("path",{id:"Path_1483","data-name":"Path 1483",d:"M793.86,251.971v-6.208h2.612v6.208Z",transform:"translate(-793.86 -245.763)",fill:"#fff"})),a.createElement("g",{id:"Group_1243","data-name":"Group 1243",transform:"translate(78.01 6.695)"},a.createElement("g",{id:"Group_1241","data-name":"Group 1241",transform:"translate(0.284 0.404)"},a.createElement("path",{id:"Path_1484","data-name":"Path 1484",d:"M815.683,265.832l-1.033,1.788a5.2,5.2,0,0,1-2.5,9.37v2.075a7,7,0,0,0,2.938-.859,7.1,7.1,0,0,0,3.3-3.762A7.227,7.227,0,0,0,815.683,265.832Z",transform:"translate(-812.148 -265.832)",fill:"#fff"})),a.createElement("g",{id:"Group_1242","data-name":"Group 1242"},a.createElement("path",{id:"Path_1485","data-name":"Path 1485",d:"M809.649,276.229v-2.62l.237-.04a4.915,4.915,0,0,0,2.369-8.869l-.188-.153,1.306-2.259.252.166a7.531,7.531,0,0,1,2.816,8.952,7.4,7.4,0,0,1-3.433,3.909,7.315,7.315,0,0,1-3.055.894Zm.569-2.143v1.526a6.721,6.721,0,0,0,2.515-.8,6.843,6.843,0,0,0,3.176-3.614,6.967,6.967,0,0,0-2.349-8.1l-.759,1.314a5.464,5.464,0,0,1-2.583,9.672Z",transform:"translate(-809.649 -262.287)",fill:"#fff"})))))))}
2var Zf,Kf,Qf=a.forwardRef(Xf),$f=(__webpack_require__.p,["title","titleId"]);function Jf(){return Jf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jf.apply(this,arguments)}function ep(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function tp(e,t){var n=e.title,r=e.titleId,i=ep(e,$f);return a.createElement("svg",Jf({id:"Group_1757","data-name":"Group 1757",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:100.151,height:27.996,viewBox:"0 0 100.151 27.996",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Zf||(Zf=a.createElement("defs",null,a.createElement("clipPath",{id:"clip-path"},a.createElement("rect",{id:"Rectangle_2253","data-name":"Rectangle 2253",width:100.151,height:27.996,fill:"#fff"})))),Kf||(Kf=a.createElement("g",{id:"Group_1756","data-name":"Group 1756"},a.createElement("path",{id:"Path_5072","data-name":"Path 5072",d:"M97.5,5.848A13.969,13.969,0,0,0,86.693.013c-9.843-.428-13.613,9.7-13.613,9.7C70.339,0,62.2.321,61.344.349c-.084,0-8.731,0-8.731,0V23.409L42.185.828h-.734L29.876,24.794,24.9.353,15.04,18.028,5.665.013,0,27.484H4.687L7.377,12.73,15.121,27.4l7.5-14.592,2.771,14.755,8.722-.081,2.853-7.173H46.1l2.853,7.255H60.141a13.887,13.887,0,0,0,5.88-1.257c5.138-2.4,6.529-6.87,7.058-7.466a13.56,13.56,0,0,0,13.287,9.14c6.15-.25,9.625-3.114,11.588-6.208A14.336,14.336,0,0,0,97.5,5.848M39.006,16.072l2.527-6.114,2.69,6.114Zm20.583,7.021a9.123,9.123,0,0,1-1.875-.194V5.1a9.1,9.1,0,1,1,1.875,18m35.787-8.327a9.2,9.2,0,1,1-9.783-9.783,9.238,9.238,0,0,1,9.783,9.783",transform:"translate(0 0)",fill:"#fff"}))))}
2var np,rp=a.forwardRef(tp),ip=(__webpack_require__.p,["title","titleId"]);function ap(){return ap=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ap.apply(this,arguments)}function sp(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function op(e,t){var n=e.title,r=e.titleId,i=sp(e,ip);return a.createElement("svg",ap({xmlns:"http://www.w3.org/2000/svg",width:86.172,height:35.414,viewBox:"0 0 86.172 35.414",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,np||(np=a.createElement("g",{id:"Group_1265","data-name":"Group 1265",transform:"translate(0)"},a.createElement("path",{id:"Path_1521","data-name":"Path 1521",d:"M32.254,83.406h5.585l3.427,5.628L44.7,83.406h5.581V99.42H44.955V91.486l-3.689,5.691h-.087l-3.688-5.691V99.42H32.254Z",transform:"translate(-32.254 -82.128)",fill:"#fff"}),a.createElement("path",{id:"Path_1522","data-name":"Path 1522",d:"M78.464,98.208v-.044a6.316,6.316,0,0,1,6.431-6.57c4.461,0,6.5,3.091,6.5,6.886,0,.274,0,.6-.02.875H83.34a2.332,2.332,0,0,0,2.354,1.666,3.478,3.478,0,0,0,2.542-1.283l2.791,2.217a6.694,6.694,0,0,1-5.7,2.723c-4.121,0-6.867-2.581-6.867-6.471m8.192-1.144c-.115-1.192-.823-1.875-1.742-1.875-.89,0-1.488.707-1.646,1.875Z",transform:"translate(-60.277 -87.093)",fill:"#fff"}),a.createElement("path",{id:"Path_1523","data-name":"Path 1523",d:"M107.046,107.274l1.512-3.546a5.7,5.7,0,0,0,2.284.819,1.973,1.973,0,0,0,.845-.182l-4.894-12.008h5.378l2.173,6.586,1.987-6.586h5.287l-4.321,11.62c-1.211,3.274-2.542,4.6-5.422,4.6a9.568,9.568,0,0,1-4.829-1.3",transform:"translate(-77.456 -87.556)",fill:"#fff"}),a.createElement("path",{id:"Path_1524","data-name":"Path 1524",d:"M140.611,91.435v-.047c0-4.235,2.569-7.048,5.7-7.048a4.987,4.987,0,0,1,4.014,1.835V80.158h5.552V98.017h-5.552V96.378a4.974,4.974,0,0,1-3.966,1.955c-3.226,0-5.748-2.81-5.748-6.9m9.836-.075v-.043a2.289,2.289,0,0,0-2.224-2.4,2.262,2.262,0,0,0-2.229,2.4v.043a2.233,2.233,0,1,0,4.453,0",transform:"translate(-97.965 -80.158)",fill:"#fff"}),a.createElement("path",{id:"Path_1525","data-name":"Path 1525",d:"M179.22,100.824v-.048c0-2.667,1.954-4.16,5.086-4.16a9.605,9.605,0,0,1,3.159.491v-.222c0-1.251-.737-1.936-2.474-1.936a9.777,9.777,0,0,0-3.7.76l-.972-3.693a15.23,15.23,0,0,1,5.628-.978c2.738,0,4.476.562,5.648,1.734A5.473,5.473,0,0,1,192.989,97v7.612h-5.553V103.27a5.073,5.073,0,0,1-3.838,1.662c-2.569,0-4.378-1.468-4.378-4.108m8.291-1.152v-.562a3.922,3.922,0,0,0-1.274-.218,1.507,1.507,0,0,0-1.71,1.488v.051a1.24,1.24,0,0,0,1.27,1.3c.983,0,1.714-.788,1.714-2.058",transform:"translate(-121.379 -86.757)",fill:"#fff"}),a.createElement("path",{id:"Path_1526","data-name":"Path 1526",d:"M215.079,91.1h5.553v1.856a5.222,5.222,0,0,1,4.084-2.176c2.838,0,4.58,1.836,4.58,4.872v8.806h-5.558V97.44c0-1.155-.656-1.817-1.515-1.817a1.64,1.64,0,0,0-1.592,1.817v7.018h-5.553Z",transform:"translate(-143.125 -86.6)",fill:"#fff"}),a.createElement("g",{id:"Group_1264","data-name":"Group 1264",transform:"translate(0 22.907)"},a.createElement("path",{id:"Path_1527","data-name":"Path 1527",d:"M32.254,138.361h1.054v1.166H32.254Zm.105,3.469H33.2v8.85h-.844Z",transform:"translate(-32.254 -138.361)",fill:"#fff"}),a.createElement("path",{id:"Path_1528","data-name":"Path 1528",d:"M41.682,148.909l.59-.679a5.833,5.833,0,0,0,4.356,1.811c1.821,0,3.071-1.029,3.071-2.421v-.028c0-1.282-.677-2.031-3.439-2.587-2.926-.606-4.088-1.56-4.088-3.42v-.032c0-1.8,1.648-3.193,3.9-3.193a6.089,6.089,0,0,1,4.166,1.475l-.573.71a5.27,5.27,0,0,0-3.623-1.371c-1.809,0-2.971,1.046-2.971,2.294v.034c0,1.3.66,2.043,3.539,2.654,2.825.572,3.992,1.563,3.992,3.346v.033c0,1.96-1.685,3.314-4.029,3.314a6.927,6.927,0,0,1-4.89-1.941",transform:"translate(-37.971 -138.361)",fill:"#fff"}),a.createElement("path",{id:"Path_1529","data-name":"Path 1529",d:"M73.25,139.637H69.017V138.8h9.364v.832H74.153v11.312h-.9Z",transform:"translate(-54.548 -138.63)",fill:"#fff"}),a.createElement("path",{id:"Path_1530","data-name":"Path 1530",d:"M98.821,138.584h.869l5.65,12.231h-.982l-1.55-3.4H95.644l-1.542,3.4h-.94Zm3.605,8.015-3.188-7.025-3.21,7.025Z",transform:"translate(-69.191 -138.496)",fill:"#fff"}),a.createElement("path",{id:"Path_1531","data-name":"Path 1531",d:"M130.634,138.8h.852l8.379,10.564V138.8h.869v12.144h-.677L131.5,140.159v10.789h-.869Z",transform:"translate(-91.915 -138.63)",fill:"#fff"}),a.createElement("path",{id:"Path_1532","data-name":"Path 1532",d:"M165.459,138.8h5.016a4.361,4.361,0,0,1,3.154,1.078,2.587,2.587,0,0,1,.781,1.906v.034a3,3,0,0,1-2.06,2.879c1.455.383,2.741,1.232,2.741,2.9v.03c0,2.033-1.738,3.316-4.359,3.316h-5.273Zm4.911,5.6c1.8,0,3.126-.886,3.126-2.5v-.035c0-1.337-1.083-2.239-3.038-2.239h-4.1v4.772Zm.4,5.7c2.082,0,3.4-.952,3.4-2.481v-.03c0-1.513-1.287-2.362-3.7-2.362h-4.113v4.873Z",transform:"translate(-113.034 -138.63)",fill:"#fff"}),a.createElement("path",{id:"Path_1533","data-name":"Path 1533",d:"M196.806,145.9v-7.1h.9v7.008c0,2.9,1.525,4.51,4.112,4.51,2.446,0,4.041-1.494,4.041-4.422v-7.1h.9V145.8c0,3.469-2.027,5.341-4.977,5.341-2.913,0-4.977-1.839-4.977-5.236",transform:"translate(-132.044 -138.63)",fill:"#fff"}),a.createElement("path",{id:"Path_1534","data-name":"Path 1534",d:"M230.8,138.8h.9v11.308h7.13v.836H230.8Z",transform:"translate(-152.657 -138.63)",fill:"#fff"})))))}
2var lp,up,cp=a.forwardRef(op),dp=(__webpack_require__.p,["title","titleId"]);function hp(){return hp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hp.apply(this,arguments)}function fp(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function pp(e,t){var n=e.title,r=e.titleId,i=fp(e,dp);return a.createElement("svg",hp({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:40.32,height:45.816,viewBox:"0 0 40.32 45.816",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,lp||(lp=a.createElement("defs",null,a.createElement("clipPath",{id:"clip-path"},a.createElement("rect",{id:"Rectangle_1975","data-name":"Rectangle 1975",width:40.32,height:45.816,fill:"none"})))),up||(up=a.createElement("g",{id:"Group_1616","data-name":"Group 1616",transform:"translate(0)"},a.createElement("path",{id:"Path_4429","data-name":"Path 4429",d:"M.649,173.895l1.9,8.577.054-.033L.753,173.726Z",transform:"translate(-0.595 -159.381)",fill:"#262223"}),a.createElement("path",{id:"Path_4430","data-name":"Path 4430",d:"M95.895,402.222l8.028-8.441-25.507-.138-7.543,8.406",transform:"translate(-65.021 -361.14)",fill:"#262223"}),a.createElement("g",{id:"Group_1615","data-name":"Group 1615",transform:"translate(0 0)"},a.createElement("g",{id:"Group_1614","data-name":"Group 1614",transform:"translate(0 0)"},a.createElement("path",{id:"Path_4431","data-name":"Path 4431",d:"M157.394,489.773s.7,4.152,7.751,4.206,7.881-4.1,7.881-4.1Z",transform:"translate(-144.398 -449.332)",fill:"#262223"}),a.createElement("path",{id:"Path_4432","data-name":"Path 4432",d:"M1.462,15.393,7.979,1.034l6.752,32.455L7.2,41.813,1.463,15.381",transform:"translate(-1.341 -0.949)",fill:"#fff"}),a.createElement("path",{id:"Path_4433","data-name":"Path 4433",d:"M6.952,41.054l-.009-.044L1.2,14.579h0L7.746.157l.016.07,6.752,32.466-.007.007ZM1.247,14.587,6.975,40.962l7.493-8.285L7.73.3Z",transform:"translate(-1.1 -0.144)",fill:"#262223"}),a.createElement("line",{id:"Line_51","data-name":"Line 51",x1:2.352,y2:2.133,transform:"translate(30.843 0.042)",fill:"none",stroke:"#262223",strokeMiterlimit:10,strokeWidth:.45}),a.createElement("path",{id:"Path_4434","data-name":"Path 4434",d:"M362.686.651l-3.553,3.2,3.541.418Z",transform:"translate(-329.479 -0.597)",fill:"#262223"}),a.createElement("path",{id:"Path_4435","data-name":"Path 4435",d:"M362.135,3.719l-.027,0-3.588-.423.034-.031L362.148.025V.076Zm-3.514-.458,3.467.409L362.1.129Z",transform:"translate(-328.916 -0.023)",fill:"#262223"}),a.createElement("path",{id:"Path_4436","data-name":"Path 4436",d:"M81.125.649l6.706,32.414,6.6.035s.849,5.24,8.107,5.286,7.732-5.2,7.732-5.2l3.019.016L114.685.649h-7.051l-.051,2.879s-1.019-.929-5.068-.952a8.3,8.3,0,0,0-4.109.949L98.252.649Z",transform:"translate(-74.426 -0.595)",fill:"#fff"}),a.createElement("path",{id:"Path_4437","data-name":"Path 4437",d:"M101.947,37.988c-2.077-.013-4.938-.488-6.791-2.675A6.14,6.14,0,0,1,93.807,32.7l-6.6-.035-.007-.034L80.477.175H97.7l0,.038.15,2.806a8.62,8.62,0,0,1,4.015-.918h.054c3.487.02,4.73.7,5.025.907L107,.175h7.141l-1.4,32.627-3.022-.016a5.624,5.624,0,0,1-1.16,2.6c-1.7,2.172-4.528,2.612-6.606,2.6m-14.678-5.4,6.6.035.006.034a5.961,5.961,0,0,0,1.339,2.609c1.833,2.161,4.67,2.63,6.73,2.643s4.864-.422,6.544-2.565a5.462,5.462,0,0,0,1.149-2.6l0-.037,3.017.016L114.044.254h-6.962l-.052,2.934-.074-.067c-.351-.318-1.857-.923-5.037-.941h-.053a8.321,8.321,0,0,0-4.03.942l-.065.04L97.615.254H80.584Z",transform:"translate(-73.832 -0.161)",fill:"#221f1f"}),a.createElement("path",{id:"Path_4438","data-name":"Path 4438",d:"M101.947,37.988c-2.077-.013-4.938-.488-6.791-2.675A6.14,6.14,0,0,1,93.807,32.7l-6.6-.035-.007-.034L80.477.175H97.7l0,.038.15,2.806a8.62,8.62,0,0,1,4.015-.918h.054c3.487.02,4.73.7,5.025.907L107,.175h7.141l-1.4,32.627-3.022-.016a5.624,5.624,0,0,1-1.16,2.6C106.854,37.561,104.024,38,101.947,37.988Zm-14.678-5.4,6.6.035.006.034a5.961,5.961,0,0,0,1.339,2.609c1.833,2.161,4.67,2.63,6.73,2.643s4.864-.422,6.544-2.565a5.462,5.462,0,0,0,1.149-2.6l0-.037,3.017.016L114.044.254h-6.962l-.052,2.934-.074-.067c-.351-.318-1.857-.923-5.037-.941h-.053a8.321,8.321,0,0,0-4.03.942l-.065.04L97.615.254H80.584Z",transform:"translate(-73.832 -0.161)",fill:"none",stroke:"#221f1f",strokeMiterlimit:10,strokeWidth:.35}),a.createElement("path",{id:"Path_4439","data-name":"Path 4439",d:"M119.371,39.091l1.387-21.868h4.087l-3.182,29.089-4.329-.021-5.658-29.07h4.041l3.36,21.868c.023.158.284.159.293,0",transform:"translate(-102.456 -15.799)",fill:"#262223"}),a.createElement("path",{id:"Path_4440","data-name":"Path 4440",d:"M282.017,72.228c-3.3-.018-5.075-2.361-5.14-5.548L276.5,48.187c-.065-3.207,1.78-5.581,5.521-5.579,3.718,0,5.629,2.382,5.562,5.594L287.2,66.725c-.067,3.212-1.865,5.521-5.183,5.5m-1.56-5.289c.009,1.5.523,2.257,1.561,2.262s1.552-.745,1.562-2.248l.123-19.061c.01-1.484-.543-2.216-1.679-2.217-1.136.019-1.689.75-1.68,2.212Z",transform:"translate(-253.671 -39.09)",fill:"#262223"}),a.createElement("path",{id:"Path_4441","data-name":"Path 4441",d:"M422.019,46.45l.768-29.163h3.1l-1.093,29.176Z",transform:"translate(-387.172 -15.859)",fill:"#262223"}),a.createElement("path",{id:"Path_4442","data-name":"Path 4442",d:"M268.667,391.885l1.7-1.628.121.165-1.41,1.3,1.688-.917.106.146-1.381,1.335,1.66-.952.118.162-2.062,1.133-.121-.165,1.329-1.29-1.631.88Z",transform:"translate(-246.483 -358.033)",fill:"#262223"}),a.createElement("path",{id:"Path_4443","data-name":"Path 4443",d:"M286.271,407.836l
2-.17-.1,1.443-1.87.2.115-.853,2.22-.164-.1.256-.649-.3-.177Zm.763-.52.454-1.125-.721.967Z",transform:"translate(-262.477 -372.352)",fill:"#262223"}),a.createElement("path",{id:"Path_4444","data-name":"Path 4444",d:"M306.659,411.951l-.177-.056.248-.863.06-1.517.194.061-.094,1.242.585-1.089.194.061-.76,1.291Z",transform:"translate(-281.175 -375.701)",fill:"#262223"}),a.createElement("path",{id:"Path_4445","data-name":"Path 4445",d:"M331,416.78l.124-2.22-.327-.021.009-.154.841.055-.009.154-.325-.021-.125,2.22Z",transform:"translate(-303.482 -380.168)",fill:"#262223"}),a.createElement("path",{id:"Path_4446","data-name":"Path 4446",d:"M345.767,417.125a.356.356,0,0,1-.391-.361l-.069-1.66a.379.379,0,0,1,.757-.03l.064,1.66a.354.354,0,0,1-.361.391m-.006-.156a.183.183,0,0,0,.18-.215l-.067-1.687c-.006-.141-.073-.208-.2-.2s-.183.079-.177.218l.069,1.686a.183.183,0,0,0,.194.2",transform:"translate(-316.794 -380.468)",fill:"#262223"}),a.createElement("path",{id:"Path_4447","data-name":"Path 4447",d:"M369.322,414.152l-.636-2.288.183-.053.594,2.141.424-.123.04.147Z",transform:"translate(-338.243 -377.808)",fill:"#262223"}),a.createElement("path",{id:"Path_4448","data-name":"Path 4448",d:"M380.178,409.977l-1.026-2.13.171-.086,1.024,2.13Z",transform:"translate(-347.845 -374.092)",fill:"#262223"}),a.createElement("path",{id:"Path_4449","data-name":"Path 4449",d:"M385.617,401.166l-1.155-1.718.143-.129,1.3,1.993-.173.156-1.806-1.536.146-.132Z",transform:"translate(-352.222 -366.347)",fill:"#262223"}),a.createElement("path",{id:"Path_4450","data-name":"Path 4450",d:"M395.031,392.215l-2.123-1.007.277-.581.138.065-.194.407.839.4.2-.407.134.063-.2.407.878.417.2-.41.136.065Z",transform:"translate(-360.465 -358.373)",fill:"#262223"}),a.createElement("path",{id:"Path_4451","data-name":"Path 4451",d:"M348.067,448.971l-3.57,3.961h.057l3.6-4Z",transform:"translate(-316.051 -411.865)",fill:"#a4a3a3"}),a.createElement("path",{id:"Path_4452","data-name":"Path 4452",d:"M158.812,400.958l6.935-8.531-.034-.029-6.957,8.559Z",transform:"translate(-145.647 -359.998)",fill:"#a4a3a3"}),a.createElement("path",{id:"Path_4453","data-name":"Path 4453",d:"M242.166,390.8h.054l.065.261.184-.449h-.115Z",transform:"translate(-222.17 -358.356)",fill:"#fff"}),a.createElement("path",{id:"Path_4454","data-name":"Path 4454",d:"M5.825,40.927,0,14.5l.006-.013L6.626.01,6.7.045.088,14.506l5.82,26.4Z",transform:"translate(0 -0.01)",fill:"#221f1f"}),a.createElement("line",{id:"Line_52","data-name":"Line 52",x1:2.377,y2:2.122,transform:"translate(30.8 0.032)",fill:"#221f1f"}),a.createElement("rect",{id:"Rectangle_1974","data-name":"Rectangle 1974",width:3.186,height:.084,transform:"matrix(0.746, -0.666, 0.666, 0.746, 30.773, 2.123)",fill:"#221f1f"}),a.createElement("path",{id:"Path_4455","data-name":"Path 4455",d:"M78.636,392.984l-7.53,8.367-.02.071.076.009.714-.352L76.327,397l2.308-3.639Z",transform:"translate(-65.216 -360.535)",fill:"#262223"}))))))}
2var mp,gp=a.forwardRef(pp),vp=(__webpack_require__.p,["title","titleId"]);function yp(){return yp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yp.apply(this,arguments)}function _p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function bp(e,t){var n=e.title,r=e.titleId,i=_p(e,vp);return a.createElement("svg",yp({xmlns:"http://www.w3.org/2000/svg",width:89.774,height:27.835,viewBox:"0 0 89.774 27.835",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,mp||(mp=a.createElement("g",{id:"Group_1228","data-name":"Group 1228",transform:"translate(0)"},a.createElement("g",{id:"Group_1197","data-name":"Group 1197",transform:"translate(0 0)"},a.createElement("g",{id:"Group_1195","data-name":"Group 1195",transform:"translate(0.404 0.269)"},a.createElement("path",{id:"Path_1417","data-name":"Path 1417",d:"M966.234,514.536h6.761l8.874,27.3H975.7Zm16.733,22.742-3-9.227,3.127-13.515h3.042l7.057,27.3h-5.409l-3.042-13.323ZM995.01,539l-2.747-10.682,4.437-13.783h6.8Z",transform:"translate(-966.234 -514.536)",fill:"#fff"})),a.createElement("g",{id:"Group_1196","data-name":"Group 1196"},a.createElement("path",{id:"Path_1418","data-name":"Path 1418",d:"M992.327,541.278H986.3l-2.784-12.19L981.8,537.61l-3.373-10.373,3.191-13.794h3.518Zm-5.541-.537h4.794l-6.918-26.761H982.1l-3.062,13.235,2.628,8.082,1.824-9.013Zm-5.761.537h-6.783l-9.651-27.835h7.386Zm-6.348-.537h5.556l-8.7-26.761H965.4Zm19.051-1.547-3.01-11.707.022-.067,4.5-13.976h7.429Zm-2.4-11.691,2.483,9.656,8.047-23.179h-6.177Z",transform:"translate(-964.591 -513.443)",fill:"#fff"}))),a.createElement("g",{id:"Group_1200","data-name":"Group 1200",transform:"translate(33.594 0)"},a.createElement("g",{id:"Group_1198","data-name":"Group 1198",transform:"translate(0.403 0.269)"},a.createElement("path",{id:"Path_1419","data-name":"Path 1419",d:"M1115.808,531.65l1.605,5.284H1111.5l-1.521,4.9h-7.014l8.493-24.579,3.042,10.031-1.226,4.365Zm5.662,10.184-8.282-27.3h5.916l9.381,27.3Z",transform:"translate(-1102.962 -514.536)",fill:"#fff"})),a.createElement("g",{id:"Group_1199","data-name":"Group 1199"},a.createElement("path",{id:"Path_1420","data-name":"Path 1420",d:"M1127.649,541.278h-7.643l-8.445-27.835h6.522l.065.189Zm-7.191-.537h6.386l-9.2-26.761h-5.309Zm-11.719.537h-7.417l8.915-25.8,3.331,10.98-1.151,4.1h2.38l1.769,5.82h-6.08l-1.521,4.9Zm-6.611-.537h6.387l1.521-4.9h5.752l-1.443-4.747h-2.691l1.3-4.63-2.754-9.082Z",transform:"translate(-1101.321 -513.443)",fill:"#fff"}))),a.createElement("g",{id:"Group_1201","data-name":"Group 1201",transform:"translate(59.581 0)"},a.createElement("path",{id:"Path_1421","data-name":"Path 1421",d:"M1237.285,541.278h-7.607V530.558l-3.005,6.528-3.356-7.6.044-.1,7.047-15.942h6.877Zm-7.015-.537h6.422V513.98h-5.884l-6.854,15.505,2.729,6.182,3.586-7.791Zm-5.551.537h-4.788l-.076-.165-12.764-27.67h7.153l.075.168,11.37,25.6Zm-4.393-.537h4l.721-1.534-11.2-25.227h-5.862Zm-5.479.537h-7.607V518l7.607,16.483Zm-7.014-.537h6.422v-6.148l-6.422-13.915Z",transform:"translate(-1207.091 -513.443)",fill:"#fff"})),a.createElement("g",{id:"Group_1202","data-name":"Group 1202",transform:"translate(60.026 0.269)"},a.createElement("path",{id:"Path_1422","data-name":"Path 1422",d:"M1316.1,589.857a.418.418,0,0,0-.4.189.691.691,0,0,0-.058.319v.76h.887v-.741a.789.789,0,0,0-.054-.331A.372.372,0,0,0,1316.1,589.857Z",transform:"translate(-1289.414 -571.351)",fill:"#fff"}),a.createElement("path",{id:"Path_1423","data-name":"Path 1423",d:"M1208.9,559.112h7.015v-6.47l-7.015-15.2Z",transform:"translate(-1208.903 -531.815)",fill:"#fff"}),a.createElement("path",{id:"Path_1424","data-name":"Path 1424",d:"M1281.4,514.536l-6.972,15.774,3.043,6.891,3.3-7.159v11.792h7.014v-27.3Zm2.579,10.252,1.438-.684-1.438-.655v-.781l2.063,1.1h1.238v.689h-1.238l-2.063,1.141Zm0,1.159h.584v1.744h.7v-1.6h.573v1.6h.849v-1.825h.594v2.5h-3.3Zm0,5.056h1.36l-1.36-1.273v-.89l1.357,1.353,1.943-1.422v.885l-1.441,1.016.337.332h1.1v.678h-3.3Zm0,2.4a1.433,1.433,0,0,1,.085-.52.8
211.811,0,0,1,.23-.308,1.023,1.023,0,0,1,.278-.166.916.916,0,0,1,.346-.061.991.991,0,0,1,.463.118.663.663,0,0,1,.321.392.615.615,0,0,1,.261-.323,1.09,1.09,0,0,1,.516-.095h.221a1.7,1.7,0,0,0,.307-.018.277.277,0,0,0,.188-.127h.083v.76c-.073.021-.132.036-.177.045a1.644,1.644,0,0,1-.285.029l-.307,0a.623.623,0,0,0-.421.109.555.555,0,0,0-.106.393v.672h1.295v.673h-3.3Zm3.3,6.982h-2.716v.99h-.584v-2.67h.584v.986h2.716Zm-.453-2.245a1.7,1.7,0,0,1-.819.163h-2.029v-.7h2.027a1.152,1.152,0,0,0,.5-.08.669.669,0,0,0,0-1.085,1.142,1.142,0,0,0-.5-.08h-2.027v-.7h2.029a1.7,1.7,0,0,1,.819.163,1.519,1.519,0,0,1,0,2.32Z",transform:"translate(-1258.329 -514.536)",fill:"#fff"}),a.createElement("path",{id:"Path_1425","data-name":"Path 1425",d:"M1208.9,514.536l12.592,27.3h4.395l.845-1.8-11.325-25.5Z",transform:"translate(-1208.903 -514.536)",fill:"#fff"})))))}var xp,Tp=a.forwardRef(bp),wp=(__webpack_require__.p,["title","titleId"]);function Sp(){return Sp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sp.apply(this,arguments)}function Ep(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function kp(e,t){var n=e.title,r=e.titleId,i=Ep(e,wp);return a.createElement("svg",Sp({xmlns:"http://www.w3.org/2000/svg",width:90.12,height:90,viewBox:"0 0 90.12 90",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,xp||(xp=a.createElement("path",{id:"Path_4426","data-name":"Path 4426",d:"M99-36.12C77.16-42.84,61.32-59.4,54.6-80.4H53.28c-6.72,21-22.56,37.56-44.4,44.28v1.44C30.72-27.96,46.56-11.4,53.28,9.6H54.6c6.72-21,22.56-37.56,44.4-44.28Z",transform:"translate(-8.88 80.4)"})))}
2var Cp,Pp=a.forwardRef(kp),Ap=(__webpack_require__.p,["title","titleId"]);function Ip(){return Ip=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ip.apply(this,arguments)}function Op(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Dp(e,t){var n=e.title,r=e.titleId,i=Op(e,Ap);return a.createElement("svg",Ip({xmlns:"http://www.w3.org/2000/svg",width:31.208,height:57.205,viewBox:"0 0 31.208 57.205",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Cp||(Cp=a.createElement("g",{id:"Layer_2","data-name":"Layer 2",transform:"translate(38.662 -0.81) rotate(90)"},a.createElement("path",{id:"Path_85","data-name":"Path 85",d:"M41.045,9.283a1.955,1.955,0,0,0,0,2.776l8.993,8.993H4.015a1.955,1.955,0,0,0,0,3.91H50L41.045,33.9A1.949,1.949,0,0,0,43.8,36.654L56.236,24.22a1.72,1.72,0,0,0,0-2.483L43.821,9.283a1.955,1.955,0,0,0-2.776,0Z",fill:"#f8f9fa",stroke:"#000",strokeWidth:2.5}))))}var Mp=a.forwardRef(Dp);__webpack_require__.p;var Np=__webpack_require__.p+"static/media/all-services.9016af7f45f073d7908b7a6f7b92f5ce.svg";var Rp=__webpack_require__.p+"static/media/companies.ae68b4feb43b297721b6b7765f614440.svg";var Lp=__webpack_require__.p+"static/media/references-sun.fed9722cf2710f8e5e37c4fe9218c9d8.svg",jp=__webpack_require__.p+"static/media/team-blob.a3cd591a91ef2d3cfa29.png",Fp=__webpack_require__.p+"static/media/team-smile.cafa78ac1984c871053a.png";function Bp(e,t){return function(){return e.apply(t,arguments)}}var Up,Vp=Object.prototype.toString,zp=Object.getPrototypeOf,Gp=(Up=Object.create(null),function(e){var t=Vp.call(e);return Up[t]||(Up[t]=t.slice(8,-1).toLowerCase())}),Hp=function(e){return e=e.toLowerCase(),function(t){return Gp(t)===e}},Wp=function(e){return function(t){return typeof t===e}},qp=Array.isArray,Yp=Wp("undefined");var Xp=Hp("ArrayBuffer");var Zp=Wp("string"),Kp=Wp("function"),Qp=Wp("number"),$p=function(e){return null!==e&&"object"===typeof e},Jp=function(e){if("object"!==Gp(e))return!1;var t=zp(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},em=Hp("Date"),tm=Hp("File"),nm=Hp("Blob"),rm=Hp("FileList"),im=Hp("URLSearchParams");function am(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=i.allOwnKeys,s=void 0!==a&&a;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),qp(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{var o,l=s?Object.getOwnPropertyNames(e):Object.keys(e),u=l.length;for(n=0;n<u;n++)o=l[n],t.call(null,e[o],o,e)}}function sm(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),i=r.length;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}var om="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,lm=function(e){return!Yp(e)&&e!==om};var um,cm=(um="undefined"!==typeof Uint8Array&&zp(Uint8Array),function(e){return um&&e instanceof um}),dm=Hp("HTMLFormElement"),hm=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),fm=Hp("RegExp"),pm=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};am(n,(function(n,i){!1!==t(n,i,e)&&(r[i]=n)})),Object.defineProperties(e,r)},mm={isArray:qp,isArrayBuffer:Xp,isBuffer:function(e){return null!==e&&!Yp(e)&&null!==e.constructor&&!Yp(e.constructor)&&Kp(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"===typeof FormData&&e instanceof FormData||Vp.call(e)===t||Kp(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Xp(e.buffer)},isString:Zp,isNumber:Qp,isBoolean:function(e){return!0===e||!1===e},isObject:$p,isPlainObject:Jp,isUndefined:Yp,isDate:em,isFile:tm,isBlob:nm,isRegExp:fm,isFunction:Kp,isStream:function(e){return $p(e)&&Kp(e.pipe)},isURLSearchParams:im,isTypedArray:cm,isFileList:rm,forEach:am,merge:function e(){for(var t=lm(this)&&this||{},n=t.caseless,r={},i=function(t,i){var a=n&&sm(r,i)||i;Jp(r[a])&&Jp(t)?r[a]=e(r[a],t):Jp(t)?r[a]=e({},t):qp(t)?r[a]=t.slice():r[a]=t},a=0,s=arguments.length;a<s;a++)arguments[a]&&am(arguments[a],i);return r},extend:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.allOwnKeys;
vendor: 5,280 bytes, line 2
2return am(t,(function(t,r){n&&Kp(t)?e[r]=Bp(t,n):e[r]=t}),{allOwnKeys:i}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var i,a,s,o={};if(t=t||{},null==e)return t;do{for(a=(i=Object.getOwnPropertyNames(e)).length;a-- >0;)s=i[a],r&&!r(s,e,t)||o[s]||(t[s]=e[s],o[s]=!0);e=!1!==n&&zp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Gp,kindOfTest:Hp,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(qp(e))return e;var t=e.length;if(!Qp(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var i=n.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:dm,hasOwnProperty:hm,hasOwnProp:hm,reduceDescriptors:pm,freezeMethods:function(e){pm(e,(function(t,n){if(Kp(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];Kp(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return qp(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:sm,global:om,isContextDefined:lm,toJSONObject:function(e){var t=new Array(10);return function e(n,r){if($p(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var i=qp(n)?[]:{};return am(n,(function(t,n){var a=e(t,r+1);!Yp(a)&&(i[n]=a)})),t[r]=void 0,i}}return n}(e,0)}};function gm(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}mm.inherits(gm,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:mm.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var vm=gm.prototype,ym={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){ym[e]={value:e}})),Object.defineProperties(gm,ym),Object.defineProperty(vm,"isAxiosError",{value:!0}),gm.from=function(e,t,n,r,i,a){var s=Object.create(vm);return mm.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),gm.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};var _m=gm,bm=__webpack_require__(7472);function xm(e){return mm.isPlainObject(e)||mm.isArray(e)}function Tm(e){return mm.endsWith(e,"[]")?e.slice(0,-2):e}function wm(e,t,n){return e?e.concat(t).map((function(e,t){return e=Tm(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var Sm=mm.toFlatObject(mm,{},null,(function(e){return/^is[A-Z]/.test(e)}));var Em=function(e,t,n){if(!mm.isObject(e))throw new TypeError("target must be an object");t=t||new(bm||FormData);var r,i=(n=mm.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!mm.isUndefined(t[e])}))).metaTokens,a=n.visitor||c,s=n.dots,o=n.indexes,l=(n.Blob||"undefined"!==typeof Blob&&Blob)&&((r=t)&&mm.isFunction(r.append)&&"FormData"===r[Symbol.toStringTag]&&r[Symbol.iterator]);if(!mm.isFunction(a))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(mm.isDate(e))return e.toISOString();if(!l&&mm.isBlob(e))throw new _m("Blob is not supported. Use a Buffer instead.");return mm.isArrayBuffer(e)||mm.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,r){var a=e;if(e&&!r&&"object"===typeof e)if(mm.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(mm.isArray(e)&&function(e){return mm.isArray(e)&&!e.some(xm)}(e)||mm.isFileList(e)||mm.endsWith(n,"[]")&&(a=mm.toArray(e)))return n=Tm(n),a.forEach((function(e,r){!mm.isUndefined(e)&&null!==e&&t.append(!0===o?wm([n],r,s):null===o?n:n+"[]",u(e))})),!1;return!!xm(e)||(t.append(wm(r,n,s),u(e)),!1)}var d=[],h=Object.assign(Sm,{defaultVisitor:c,convertValue:u,isVisitable:xm});if(!mm.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!mm.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));d.push(n),mm.forEach(n,(function(n,i){!0===(!(mm.isUndefined(n)||null===n)&&a.call(t,n,mm.isString(i)?i.trim():i,r,h))&&e(n,r?r.concat(i):[i])})),d.pop()}}(e),t};
vendor: 2,744 bytes, line 2
2function km(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Cm(e,t){this._pairs=[],e&&Em(e,this,t)}var Pm=Cm.prototype;Pm.append=function(e,t){this._pairs.push([e,t])},Pm.toString=function(e){var t=e?function(t){return e.call(this,t,km)}:km;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Am=Cm;function Im(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Om(e,t,n){if(!t)return e;var r,i=n&&n.encode||Im,a=n&&n.serialize;if(r=a?a(t,n):mm.isURLSearchParams(t)?t.toString():new Am(t,n).toString(i)){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var Dm=function(){function e(){m(this,e),this.handlers=[]}return _(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){mm.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),Mm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Nm="undefined"!==typeof URLSearchParams?URLSearchParams:Am,Rm=FormData,Lm=function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}(),jm="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,Fm={isBrowser:!0,classes:{URLSearchParams:Nm,FormData:Rm,Blob:Blob},isStandardBrowserEnv:Lm,isStandardBrowserWebWorkerEnv:jm,protocols:["http","https","file","blob","url","data"]};var Bm=function(e){function t(e,n,r,i){var a=e[i++],s=Number.isFinite(+a),o=i>=e.length;return a=!a&&mm.isArray(r)?r.length:a,o?(mm.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!s):(r[a]&&mm.isObject(r[a])||(r[a]=[]),t(e,n,r[a],i)&&mm.isArray(r[a])&&(r[a]=function(e){var t,n,r={},i=Object.keys(e),a=i.length;for(t=0;t<a;t++)r[n=i[t]]=e[n];return r}(r[a])),!s)}if(mm.isFormData(e)&&mm.isFunction(e.entries)){var n={};return mm.forEachEntry(e,(function(e,r){t(function(e){return mm.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),r,n,0)})),n}return null},Um={"Content-Type":void 0};var Vm={transitional:Mm,adapter:["xhr","http"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",i=r.indexOf("application/json")>-1,a=mm.isObject(e);
vendor: 9,598 bytes, line 2
2if(a&&mm.isHTMLForm(e)&&(e=new FormData(e)),mm.isFormData(e))return i&&i?JSON.stringify(Bm(e)):e;if(mm.isArrayBuffer(e)||mm.isBuffer(e)||mm.isStream(e)||mm.isFile(e)||mm.isBlob(e))return e;if(mm.isArrayBufferView(e))return e.buffer;if(mm.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Em(e,new Fm.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Fm.isNode&&mm.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=mm.isFileList(e))||r.indexOf("multipart/form-data")>-1){var s=this.env&&this.env.FormData;return Em(n?{"files[]":e}:e,s&&new s,this.formSerializer)}}return a||i?(t.setContentType("application/json",!1),function(e,t,n){if(mm.isString(e))try{return(t||JSON.parse)(e),mm.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||Vm.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&mm.isString(e)&&(n&&!this.responseType||r)){var i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(a){if(i){if("SyntaxError"===a.name)throw _m.from(a,_m.ERR_BAD_RESPONSE,this,null,this.response);throw a}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Fm.classes.FormData,Blob:Fm.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};mm.forEach(["delete","get","head"],(function(e){Vm.headers[e]={}})),mm.forEach(["post","put","patch"],(function(e){Vm.headers[e]=mm.merge(Um)}));var zm=Vm,Gm=mm.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Hm=Symbol("internals");function Wm(e){return e&&String(e).trim().toLowerCase()}function qm(e){return!1===e||null==e?e:mm.isArray(e)?e.map(qm):String(e)}function Ym(e,t,n,r){return mm.isFunction(r)?r.call(this,t,n):mm.isString(t)?mm.isString(r)?-1!==t.indexOf(r):mm.isRegExp(r)?r.test(t):void 0:void 0}var Xm=function(e,t){function n(e){m(this,n),e&&this.set(e)}return _(n,[{key:"set",value:function(e,t,n){var r=this;function i(e,t,n){var i=Wm(t);if(!i)throw new Error("header name must be a non-empty string");var a=mm.findKey(r,i);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||t]=qm(e))}var a=function(e,t){return mm.forEach(e,(function(e,n){return i(e,n,t)}))};return mm.isPlainObject(e)||e instanceof this.constructor?a(e,t):mm.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z]+$/.test(e.trim())?a(function(e){var t,n,r,i={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&Gm[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)})),i}(e),t):null!=e&&i(t,e,n),this}},{key:"get",value:function(e,t){if(e=Wm(e)){var n=mm.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(mm.isFunction(t))return t.call(this,r,n);if(mm.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Wm(e)){var n=mm.findKey(this,e);return!(!n||t&&!Ym(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function i(e){if(e=Wm(e)){var i=mm.findKey(n,e);!i||t&&!Ym(0,n[i],i,t)||(delete n[i],r=!0)}}return mm.isArray(e)?e.forEach(i):i(e),r}},{key:"clear",value:function(){return Object.keys(this).forEach(this.delete.bind(this))}},{key:"normalize",value:function(e){var t=this,n={};return mm.forEach(this,(function(r,i){var a=mm.findKey(n,i);if(a)return t[a]=qm(r),void delete t[i];var s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(i):String(i).trim();s!==i&&delete t[i],t[s]=qm(r),n[s]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return mm.forEach(this,(function(n,r){null!=n&&!1!==n&&(t[r]=e&&mm.isArray(n)?n.join(", "):n)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=h(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[Hm]=this[Hm]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=Wm(e);t[r]||(!function(e,t){var n=mm.toCamelCase(" "+t);["get","set","has"].forEach((function(r){Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return mm.isArray(e)?e.forEach(r):r(e),this}}]),n}();Xm.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]),mm.freezeMethods(Xm.prototype),mm.freezeMethods(Xm);var Zm=Xm;function Km(e,t){var n=this||zm,r=t||n,i=Zm.from(r.headers),a=r.data;return mm.forEach(e,(function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)})),i.normalize(),a}function Qm(e){return!(!e||!e.__CANCEL__)}function $m(e,t,n){_m.call(this,null==e?"canceled":e,_m.ERR_CANCELED,t,n),this.name="CanceledError"}mm.inherits($m,_m,{__CANCEL__:!0});var Jm=$m;var eg=Fm.isStandardBrowserEnv?{write:function(e,t,n,r,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),mm.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),mm.isString(r)&&s.push("path="+r),mm.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function tg(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var ng=Fm.isStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=mm.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0};var rg=function(e,t){e=e||10;var n,r=new Array(e),i=new Array(e),a=0,s=0;return t=void 0!==t?t:1e3,function(o){var l=Date.now(),u=i[s];n||(n=l),r[a]=o,i[a]=l;for(var c=s,d=0;c!==a;)d+=r[c++],c%=e;if((a=(a+1)%e)===s&&(s=(s+1)%e),!(l-n<t)){var h=u&&l-u;return h?Math.round(1e3*d/h):void 0}}};function ig(e,t){var n=0,r=rg(50,250);return function(i){var a=i.loaded,s=i.lengthComputable?i.total:void 0,o=a-n,l=r(o);n=a;var u={loaded:a,total:s,progress:s?a/s:void 0,bytes:o,rate:l||void 0,estimated:l&&s&&a<=s?(s-a)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}var ag={http:null,xhr:"undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){var r,i=e.data,a=Zm.from(e.headers).normalize(),s=e.responseType;function o(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}mm.isFormData(i)&&(Fm.isStandardBrowserEnv||Fm.isStandardBrowserWebWorkerEnv)&&a.setContentType(!1);var l=new XMLHttpRequest;if(e.auth){var u=e.auth.username||"",c=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(u+":"+c))}var d=tg(e.baseURL,e.url);function h(){if(l){var r=Zm.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new _m("Request failed with status code "+n.status,[_m.ERR_BAD_REQUEST,_m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),o()}),(function(e){n(e),o()}),{data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}}if(l.open(e.method.toUpperCase(),Om(d,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=h:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(h)},l.onabort=function(){l&&(n(new _m("Request aborted",_m.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new _m("Network Error",_m.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||Mm;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new _m(t,r.clarifyTimeoutError?_m.
2ETIMEDOUT:_m.ECONNABORTED,e,l)),l=null},Fm.isStandardBrowserEnv){var f=(e.withCredentials||ng(d))&&e.xsrfCookieName&&eg.read(e.xsrfCookieName);f&&a.set(e.xsrfHeaderName,f)}void 0===i&&a.setContentType(null),"setRequestHeader"in l&&mm.forEach(a.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),mm.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&"json"!==s&&(l.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&l.addEventListener("progress",ig(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",ig(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=function(t){l&&(n(!t||t.type?new Jm(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));var p=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(d);p&&-1===Fm.protocols.indexOf(p)?n(new _m("Unsupported protocol "+p+":",_m.ERR_BAD_REQUEST,e)):l.send(i||null)}))}};mm.forEach(ag,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));var sg=function(e){for(var t,n,r=(e=mm.isArray(e)?e:[e]).length,i=0;i<r&&(t=e[i],!(n=mm.isString(t)?ag[t.toLowerCase()]:t));i++);
vendor: 6,065 bytes, line 2
2if(!n){if(!1===n)throw new _m("Adapter ".concat(t," is not supported by the environment"),"ERR_NOT_SUPPORT");throw new Error(mm.hasOwnProp(ag,t)?"Adapter '".concat(t,"' is not available in the build"):"Unknown adapter '".concat(t,"'"))}if(!mm.isFunction(n))throw new TypeError("adapter is not a function");return n};function og(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Jm(null,e)}function lg(e){return og(e),e.headers=Zm.from(e.headers),e.data=Km.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),sg(e.adapter||zm.adapter)(e).then((function(t){return og(e),t.data=Km.call(e,e.transformResponse,t),t.headers=Zm.from(t.headers),t}),(function(t){return Qm(t)||(og(e),t&&t.response&&(t.response.data=Km.call(e,e.transformResponse,t.response),t.response.headers=Zm.from(t.response.headers))),Promise.reject(t)}))}var ug=function(e){return e instanceof Zm?e.toJSON():e};function cg(e,t){t=t||{};var n={};function r(e,t,n){return mm.isPlainObject(e)&&mm.isPlainObject(t)?mm.merge.call({caseless:n},e,t):mm.isPlainObject(t)?mm.merge({},t):mm.isArray(t)?t.slice():t}function i(e,t,n){return mm.isUndefined(t)?mm.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function a(e,t){if(!mm.isUndefined(t))return r(void 0,t)}function s(e,t){return mm.isUndefined(t)?mm.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function o(n,i,a){return a in t?r(n,i):a in e?r(void 0,n):void 0}var l={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:function(e,t){return i(ug(e),ug(t),!0)}};return mm.forEach(Object.keys(e).concat(Object.keys(t)),(function(r){var a=l[r]||i,s=a(e[r],t[r],r);mm.isUndefined(s)&&a!==o||(n[r]=s)})),n}var dg="1.2.5",hg={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){hg[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var fg={};hg.transitional=function(e,t,n){function r(e,t){return"[Axios v1.2.5] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,a){if(!1===e)throw new _m(r(i," has been removed"+(t?" in "+t:"")),_m.ERR_DEPRECATED);return t&&!fg[i]&&(fg[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}};var pg={assertOptions:function(e,t,n){if("object"!==typeof e)throw new _m("options must be an object",_m.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],s=t[a];if(s){var o=e[a],l=void 0===o||s(o,a,e);if(!0!==l)throw new _m("option "+a+" must be "+l,_m.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new _m("Unknown option "+a,_m.ERR_BAD_OPTION)}},validators:hg},mg=pg.validators,gg=function(){function e(t){m(this,e),this.defaults=t,this.interceptors={request:new Dm,response:new Dm}}return _(e,[{key:"request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var n,r=t=cg(this.defaults,t),i=r.transitional,a=r.paramsSerializer,s=r.headers;void 0!==i&&pg.assertOptions(i,{silentJSONParsing:mg.transitional(mg.boolean),forcedJSONParsing:mg.transitional(mg.boolean),clarifyTimeoutError:mg.transitional(mg.boolean)},!1),void 0!==a&&pg.assertOptions(a,{encode:mg.function,serialize:mg.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(n=s&&mm.merge(s.common,s[t.method]))&&mm.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete s[e]})),t.headers=Zm.concat(n,s);var o=[],l=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var u,c=[];this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));var d,h=0;if(!l){var f=[lg.bind(this),void 0];for(f.unshift.apply(f,o),f.push.apply(f,c),d=f.length,u=Promise.resolve(t);h<d;)u=u.then(f[h++],f[h++]);return u}d=o.length;var p=t;for(h=0;h<d;){var m=o[h++],g=o[h++];try{p=m(p)}catch(v){g.call(this,v);break}}try{u=lg.call(this,p)}catch(v){return Promise.reject(v)}for(h=0,d=c.length;h<d;)u=u.then(c[h++],c[h++]);return u}},{key:"getUri",value:function(e){return Om(tg((e=cg(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();mm.forEach(["delete","get","head","options"],(function(e){gg.prototype[e]=function(t,n){return this.request(cg(n||{},{method:e,url:t,data:(n||{}).data}))}})),mm.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(cg(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}gg.prototype[e]=t(),gg.prototype[e+"Form"]=t(!0)}));var vg=gg,yg=function(){function e(t){if(m(this,e),"function"!==typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,i){r.reason||(r.reason=new Jm(e,t,i),n(r.reason))}))}return _(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}]),e}(),_g=yg;var bg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
2setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bg).forEach((function(e){var t=h(e,2),n=t[0],r=t[1];bg[r]=n}));var xg=bg;var Tg=function e(t){var n=new vg(t),r=Bp(vg.prototype.request,n);return mm.extend(r,vg.prototype,n,{allOwnKeys:!0}),mm.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(cg(t,n))},r}(zm);Tg.Axios=vg,Tg.CanceledError=Jm,Tg.CancelToken=_g,Tg.isCancel=Qm,Tg.VERSION=dg,Tg.toFormData=Em,Tg.AxiosError=_m,Tg.Cancel=Tg.CanceledError,Tg.all=function(e){return Promise.all(e)},Tg.spread=function(e){return function(t){return e.apply(null,t)}},Tg.isAxiosError=function(e){return mm.isObject(e)&&!0===e.isAxiosError},Tg.mergeConfig=cg,Tg.AxiosHeaders=Zm,Tg.formToJSON=function(e){return Bm(mm.isHTMLForm(e)?new FormData(e):e)},Tg.HttpStatusCode=xg,Tg.default=Tg;var wg,Sg,Eg,kg=Tg,Cg=kg.create({baseURL:"".concat(dd[hd],"/jd-admin/services"),headers:{"Content-type":"application/json"}}),Pg="FooterMain_subscribeSuccess__icWGv",Ag="FooterMain_doneButton__u0F+A",Ig="FooterMain_revealWrapper__RsFFX",Og="FooterMain_footerMain__twhaE",Dg="FooterMain_subscribe__2708B",Mg="FooterMain_formWrapper__Lke1L",Ng="FooterMain_privacyCheck__G+zeD",Rg="FooterMain_radioWrapper__hs9Dd",Lg="FooterMain_customRadio__WNQKQ",jg="FooterMain_inner__Nakrv",Fg="FooterMain_buttons__lf-05",Bg="FooterMain_btnGetDirection__vSw5e",Ug="FooterMain_btn__a2tZ+",Vg="FooterMain_overlay__VtdYi",zg="FooterMain_text__+jrJ3",Gg="FooterMain_btnText__JqVcq",Hg="FooterMain_arrowW__vHINY",Wg="FooterMain_inputGroup__Sed75",qg="FooterMain_inputLabel__MJJTA",Yg="FooterMain_input__gypS8",Xg="FooterMain_turnstileWrapper__1LXLm",Zg="FooterMain_subscribeError__9e1ey",Kg="FooterMain_errText__nLpNF",Qg="FooterMain_radioText__RloKx",$g="FooterMain_sendBtn__e-tvk",Jg="FooterMain_scrollToTop__fHUZA",ev="FooterMain_contact__EVSWG",tv="FooterMain_sayHi__WSlYH",nv="FooterMain_addressTitle__dpMVc",rv="FooterMain_textSm__XXtAg",iv="FooterMain_col__mVmaj",av="FooterMain_welcomeAboard__WHSzd",sv="FooterMain_title__gXqYy",ov=["title","titleId"];function lv(){return lv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lv.apply(this,arguments)}function uv(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function cv(e,t){var n=e.title,r=e.titleId,i=uv(e,ov);return a.createElement("svg",lv({id:"Group_1833","data-name":"Group 1833",xmlns:"http://www.w3.org/2000/svg",width:195.598,height:195.598,viewBox:"0 0 195.598 195.598",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,wg||(wg=a.createElement("g",{id:"Group_1828","data-name":"Group 1828"},a.createElement("path",{id:"Path_5396","data-name":"Path 5396",d:"M80.789,1.508A97.782,97.782,0,1,1,1.507,114.81,97.783,97.783,0,0,1,80.789,1.508",fill:"#fff"}),a.createElement("rect",{id:"Rectangle_2310","data-name":"Rectangle 2310",width:195.598,height:195.598,fill:"none"}))),Sg||(Sg=a.createElement("g",{id:"Group_1830","data-name":"Group 1830"},a.createElement("path",{id:"Path_5397","data-name":"Path 5397",d:"M49.038,105.673A47.388,47.388,0,1,0,83.419,48.144a47.388,47.388,0,0,0-34.381,57.529v0",fill:"#d9ff50"}),a.createElement("path",{id:"Path_5398","data-name":"Path 5398",d:"M63.573,112.569c2.162,5.562,6.317,12.256,13.007,11.106,5.309-.693,9-4.386,13.157-7.617,8.54-6.695,17.309-1.155,25.622,2.077,4.847,1.847,9.465-2.077,11.046-6.479",fill:"none",stroke:"#231f20",strokeMiterlimit:10.005,strokeWidth:1.378}),a.createElement("path",{id:"Path_5399","data-name":"Path 5399",d:"M60.266,111.39a3.06,3.06,0,0,0,3.191,1.256A3.122,3.122,0,0,0,65.81,110.1",fill:"none",stroke:"#231f20",strokeMiterlimit:10.005,strokeWidth:1.378}),a.createElement("path",{id:"Path_5400","data-name":"Path 5400",d:"M130.017,111.227a2.482,2.482,0,0,1-3.181.588,4.382,4.382,0,0,1-2.339-3.065",fill:"none",stroke:"#231f20",strokeMiterlimit:10.005,strokeWidth:1.378}),a.createElement("path",{id:"Path_5401","data-name":"Path 5401",d:"M82.038,97.606a9.739,9.739,0,0,1,.086,1.592c2.538-.461,6.232-.924,6.694-2.308,2.077-6.925.693-14.774.693-22.16-8.772.231-7.849,11.305-7.613,17.508.067,1.758.135,3.543.141,5.365",fill:"#231f20"}),a.createElement("path",{id:"Path_5402","data-name":"Path 5402",d:"M98.926,94.605c.05,2.75,5.
2128,1.366,7.436,2.058,0-7.387,2.538-17.082-1.386-20.544-4.616-3.924-6.694,8.31-6.2,14.151.068,1.449.14,2.89.149,4.334",fill:"#231f20"}),a.createElement("path",{id:"Path_5403","data-name":"Path 5403",d:"M54.211,75.362a47.4,47.4,0,1,1,17.06,64.826A47.4,47.4,0,0,1,54.211,75.362Z",fill:"none",stroke:"#000",strokeMiterlimit:10.008,strokeWidth:1.251}),a.createElement("rect",{id:"Rectangle_2311","data-name":"Rectangle 2311",width:95.724,height:100.427,transform:"translate(47.279 46.703)",fill:"none"}))),Eg||(Eg=a.createElement("g",{id:"Group_1832","data-name":"Group 1832"},a.createElement("path",{id:"Path_5404","data-name":"Path 5404",d:"M31.608,46.807l-1.535,2.141L44.626,59.391,42.684,62.1,28.129,51.653,26.6,53.792l-2.267-1.627,5.011-6.984Z",fill:"#171717"}),a.createElement("path",{id:"Path_5405","data-name":"Path 5405",d:"M47.361,50.321l-2.09,2.205,2.562,2.958-2.2,2.318L32.126,41.955l3.979-4.2,16.559,12.63L50.45,52.723Zm-2.194-1.708L36.4,41.793l-.233.245,7.277,8.387Z",fill:"#171717"}),a.createElement("path",{id:"Path_5406","data-name":"Path 5406",d:"M51.183,40.153l1.162,3.293,3.442,4.561-2.621,1.978L40.7,33.469l2.619-1.978L48.9,38.886l.126-.094-3.323-9.1,2.623-1.978L51.848,37l9.109,7.1L58.445,46Z",fill:"#171717"}),a.createElement("path",{id:"Path_5407","data-name":"Path 5407",d:"M55.836,26.572l2.98,5.4,2.717-1.5,1.327,2.4-2.718,1.5,3,5.434,2.776-1.533,1.349,2.443L61.6,43.846l-10-18.117L57.265,22.6l1.347,2.442Z",fill:"#171717"}),a.createElement("path",{id:"Path_5408","data-name":"Path 5408",d:"M65.336,18.81l4.89-1.4L76.36,32.627l.216-.062L73.732,16.408l4.89-1.4,5.7,19.907-2.942.842-4.464-15.6-.261.074,2.777,16.083-3.5,1L69.771,22.2l-.259.074,4.465,15.6-2.944.842Z",fill:"#171717"}),a.createElement("path",{id:"Path_5409","data-name":"Path 5409",d:"M86.67,16.89l.65,6.132,3.088-.329.29,2.73-3.088.328.656,6.176,3.156-.335.294,2.776-6.445.682L83.086,14.464l6.444-.683.3,2.774Z",fill:"#171717"}),a.createElement("path",{id:"Path_5410","data-name":"Path 5410",d:"M105.325,16.969,102.7,16.78l-1.287,17.858L98.094,34.4,99.38,16.54l-2.625-.189.2-2.782,8.57.617Z",fill:"#171717"}),a.createElement("path",{id:"Path_5411","data-name":"Path 5411",d:"M116.588,20.4l-2.732,12.485c-.674,3.078-2.649,3.682-5.221,3.12-2.55-.559-4.114-1.937-3.44-5.015l2.733-12.485c.673-3.078,2.67-3.677,5.219-3.12,2.572.563,4.115,1.938,3.441,5.015m-4.037-2.289c-.6-.13-1.167.067-1.4,1.123l-2.723,12.441c-.231,1.055.208,1.474.8,1.6.616.135,1.167-.067,1.4-1.122l2.723-12.442c.23-1.055-.185-1.469-.8-1.6",fill:"#171717"}),a.createElement("path",{id:"Path_5412","data-name":"Path 5412",d:"M131.547,24.932l-2.411-1.053-7.164,16.408-3.052-1.333,7.165-16.408-2.411-1.052,1.115-2.556,7.874,3.437Z",fill:"#171717"}),a.createElement("path",{id:"Path_5413","data-name":"Path 5413",d:"M141.152,32.056,134.3,42.84c-1.69,2.658-3.752,2.547-5.972,1.135-2.2-1.4-3.2-3.23-1.508-5.889L133.673,27.3c1.69-2.658,3.77-2.535,5.972-1.135,2.222,1.411,3.2,3.231,1.507,5.888m-3-3.534c-.515-.326-1.119-.338-1.7.573l-6.828,10.746c-.58.911-.313,1.454.2,1.781.532.337,1.119.337,1.7-.575L138.35,30.3c.58-.911.332-1.442-.2-1.78",fill:"#171717"}),a.createElement("path",{id:"Path_5414","data-name":"Path 5414",d:"M150.454,39.867l-5.027,5.883c-1.915,2.24-3.183,2.754-5.542.738l-1.335-1.141-3.01,3.523-2.513-2.148L146.47,30.99l3.849,3.289c2.359,2.015,2.049,3.348.135,5.588m-2.463-2.1c.7-.82.685-1.25-.052-1.879l-.752-.642-6.84,8,.752.644c.736.628,1.163.578,1.865-.242Z",fill:"#171717"}),a.createElement("path",{id:"Path_5415","data-name":"Path 5415",d:"M164.738,140.092l1.248-2.316-15.764-8.495,1.579-2.93,15.764,8.493,1.248-2.317,2.456,1.323-4.075,7.565Z",fill:"#171717"}),a.createElement("path",{id:"Path_5416","data-name":"Path 5416",d:"M148.7,138.6l1.783-2.458-2.925-2.6,1.877-2.585,15.455,13.944-3.4,4.679-18.058-10.356,1.889-2.6Zm2.4,1.406,9.574,5.616.2-.273-8.3-7.364Z",fill:"#171717"}),a.createElement("path",{id:"Path_5417","data-name":"Path 5417",d:"M146.232,149.206l-1.583-3.114-4.01-4.072,2.34-2.3L157.5,154.462l-2.34,2.306-6.5-6.605-.113.111,4.485,8.592-2.341,2.3-4.705-8.753-9.961-5.851,2.242-2.21Z",fill:"#171717"}),a.createElement("path",{id:"Path_5418","data-name":"Path 5418",d:"M143.417,163.278l-3.662-4.962-2.5,
21.846-1.631-2.209,2.5-1.846-3.689-5L131.881,153l-1.657-2.245,5.214-3.85,12.3,16.658-5.214,3.85-1.658-2.245Z",fill:"#171717"}),a.createElement("path",{id:"Path_5419","data-name":"Path 5419",d:"M134.98,172.218l-4.666,2.022-8.058-14.286-.2.09,4.919,15.647-4.665,2.022-8.234-18.992,2.807-1.217,6.453,14.884.247-.108L118.736,156.7l3.345-1.449,8.062,14.186.247-.108-6.451-14.883,2.807-1.217Z",fill:"#171717"}),a.createElement("path",{id:"Path_5420","data-name":"Path 5420",d:"M114.091,176.884l-1.441-5.992-3.019.725-.642-2.668,3.019-.726-1.452-6.036-3.084.741-.652-2.712,6.3-1.516,4.84,20.123-6.3,1.515-.651-2.711Z",fill:"#171717"}),a.createElement("path",{id:"Path_5421","data-name":"Path 5421",d:"M95.581,179.244l2.628-.154L97.16,161.209l3.324-.194,1.051,17.88,2.628-.154.163,2.785-8.58.5Z",fill:"#171717"}),a.createElement("path",{id:"Path_5422","data-name":"Path 5422",d:"M83.977,177.316l1.064-12.736c.263-3.138,2.141-4,4.764-3.778,2.6.218,4.333,1.379,4.07,4.517L92.81,178.054c-.262,3.139-2.163,4-4.763,3.778-2.624-.219-4.333-1.379-4.07-4.516m4.3,1.736c.605.051,1.147-.22,1.238-1.3l1.062-12.69c.09-1.077-.4-1.433-1.005-1.484-.628-.052-1.147.22-1.237,1.3l-1.062,12.69c-.091,1.075.377,1.43,1,1.483",fill:"#171717"}),a.createElement("path",{id:"Path_5423","data-name":"Path 5423",d:"M68.559,174.791l2.53.728,4.949-17.21,3.2.919-4.949,17.21,2.53.728-.772,2.681-8.258-2.375Z",fill:"#171717"}),a.createElement("path",{id:"Path_5424","data-name":"Path 5424",d:"M58.231,169.1l5.251-11.654c1.294-2.873,3.352-3.056,5.753-1.974,2.38,1.072,3.625,2.744,2.331,5.617l-5.251,11.653c-1.294,2.872-3.372,3.047-5.752,1.974-2.4-1.081-3.625-2.744-2.332-5.616m3.479,3.072c.554.25,1.155.176,1.6-.81l5.233-11.612c.443-.984.1-1.484-.452-1.734-.575-.259-1.156-.175-1.6.809l-5.233,11.613c-.442.985-.12,1.475.454,1.734",fill:"#171717"}),a.createElement("path",{id:"Path_5425","data-name":"Path 5425",d:"M47.859,162.421l4.223-6.487c1.606-2.471,2.8-3.144,5.4-1.451l1.47.957,2.529-3.885,2.773,1.805L52.962,170.709l-4.242-2.762c-2.6-1.694-2.469-3.056-.861-5.526m2.716,1.767c-.589.9-.517,1.329.295,1.857l.83.539,5.743-8.824-.83-.541c-.81-.527-1.227-.423-1.815.483Z",fill:"#171717"}),a.createElement("rect",{id:"Rectangle_2312","data-name":"Rectangle 2312",width:195.598,height:195.598,fill:"none"}))))}var dv=a.forwardRef(cv),hv=(__webpack_require__.p,__webpack_require__.p+"static/media/subscribe.01d6ef041fe2c9eb2933.gif"),fv={hide:"Copyright_hide__Oz0Cu",show:"Copyright_show__YsuI0",cursorPointer:"Copyright_cursorPointer__FjNC0",absoluteCenter:"Copyright_absoluteCenter__jP+Nj",absoluteStretch:"Copyright_absoluteStretch__6uQX3",flexCenterX:"Copyright_flexCenterX__2O1kO",flexStart:"Copyright_flexStart__XeacE",flexStartX:"Copyright_flexStartX__QPMId",flexEndX:"Copyright_flexEndX__tPuYs",flexCenterY:"Copyright_flexCenterY__+90B3",flexStartY:"Copyright_flexStartY__NGtXH",flexEndY:"Copyright_flexEndY__kxLrF",flexBetweenX:"Copyright_flexBetweenX__Pn87o",flexBetweenY:"Copyright_flexBetweenY__Q81h3",privacyAndCookieModal:"Copyright_privacyAndCookieModal__5iNKW",copyright:"Copyright_copyright__EhOEz",text:"Copyright_text__02R0Z",links:"Copyright_links__hJWss",link:"Copyright_link__QBxpb",social:"Copyright_social__xs1zb",icon:"Copyright_icon__Cv7PE"};
2var pv=__webpack_require__.p+"static/media/icon-behance.f728e03c75dd5ac989003c851cb67839.svg";var mv=__webpack_require__.p+"static/media/icon-instagram.628094cf4f163c0eccddf2a0028841c0.svg";var gv=__webpack_require__.p+"static/media/icon-linkedin.5d8d607ebf89f3c51fec467efb7ad2cb.svg",vv=function(){var e=Td(),t=function(t){e.setContent(r(t)),e.open||e.toggle()},r=function(r){switch(r){case"COOKIE_MODAL":return(0,n.jsxs)("div",{className:$e()(fv.privacyAndCookieModal,fv.cookie),children:[(0,n.jsx)("h5",{children:"Cookie Policy"}),(0,n.jsxs)("p",{children:["This cookie policy (\u201cCookie Policy\u201d) is intended to inform you how we use \u201ccookies\u201d and similar technologies on our website at"," ",(0,n.jsx)(We,{to:"/",onClick:e.toggle,children:"justdesignfx.com"})," ","and to assist you in making informed decisions when using our Site. Please take a moment to read and understand this Cookie Policy. This Cookie Policy should also be read in conjunction with our Privacy Policy ."]}),(0,n.jsx)("h5",{children:"What are cookies?"}),(0,n.jsx)("p",{children:"Cookies and similar technologies are very small text documents or pieces of code, which often include an anonymous unique identifier. When you visit a website or use a mobile application, a computer asks your computer or mobile device for permission to store this file on your computer or mobile device and access information from it. Information gathered through cookies and similar technologies may include the date and time of visits and how you are using the particular website or mobile application."}),(0,n.jsx)("p",{children:"We may use first and third party cookies on our Site and/or in our emails. First party cookies are cookies placed by us to collect information about you. However, certain cookies available on our Site and/or in our emails are placed by third party website operators. This means that the information about you collected by those third party cookies will be shared with the relevant third party. Please refer to the relevant third party website operator\u2019s privacy notice for more information about how they may use such information."}),(0,n.jsxs)("p",{children:["For more details on cookies and similar technologies, please visit"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.allaboutcookies.org",children:"All About Cookies"}),". For the purposes of the remaining sections of this Cookie Policy, we will refer to all technologies using the above features as \u201ccookies\u201d."]}),(0,n.jsx)("h5",{children:"How long do cookies last?"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:fv.inlineItalic,children:"Session Cookies"})," \u2013 these are temporary cookies that expire (and are automatically erased) whenever you close your browser."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:fv.inlineItalic,children:"Persistent Cookies "})," \u2013 these usually have an expiration date and so stay in your browser until they expire, or until you manually delete them."]}),(0,n.jsx)("h5",{children:"Cookies used on our site"}),(0,n.jsx)("p",{children:"We use the following types of cookies on our Site:"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:fv.inlineItalic,children:"Essential Cookies "})," \u2013 Essential cookies are those cookies which are essential for the operation of a website."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:fv.inlineItalic,children:"Functionality Cookies "}
2)," \u2013 These cookies recognise you when you return to a website, they remember your preferences and they provide enhanced, more personalised features."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:fv.inlineItalic,children:"Analytics/Performance Cookies"}),"\u2013 Analytics cookies, along with other information, allow websites to calculate the aggregate number of people using a website and which features of a website are most popular. This information is generally used to improve the website."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:fv.inlineItalic,children:"Social Media Cookies"})," \u2013 These cookies are used to personalise your interaction with social media, such as Twitter, Facebook, Tumblr and YouTube. Such cookies recognise users of those social media sites when you view social media content on the website. They also allow you to quickly share content across social media, through the use of simple \u201csharing\u201d buttons. Some websites may also contain features that enable you to use your social media account to sign in and create/maintain an account with the website you are visiting and to enable the website operator to store your content. This involves the use of cookies."]}),(0,n.jsx)("p",{children:"The bullet points below set out more information about the individual cookies we may use on our Site and the purposes for which they are used."}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsxs)("p",{children:[" ","_ga - 3rd party, analytical, lasts 2 years. This is a Google Analytics cookie. It registers a unique ID that is used to generate statistical data on the use of our Site. More information about Google Analytics can be found here:"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.google.com/intl/en/analytics/privacyoverview.html",children:"http://www.google.com/intl/en/analytics/privacyoverview.html"})]})}),(0,n.jsx)("li",{children:(0,n.jsxs)("p",{children:["_gat - 3rd party, analytical, lasts for the session only. This is a Google Analytics cookie. It is used to throttle the request rate on our Site. More information about Google Analytics can be found here:"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.google.com/intl/en/analytics/privacyoverview.html",children:(0,n.jsx)("span",{children:"http://www.google.com/intl/en/analytics/privacyoverview.html"})})]})}),(0,n.jsx)("li",{children:(0,n.jsxs)("p",{children:["_gid - 3rd party, analytical, lasts for the session only. This is a Google Analytics cookie. It registers a unique ID that is used to generate statistical data on the use of our Site. More information about Google Analytics can be found here:"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.google.com/intl/en/analytics/privacyoverview.html",children:"http://www.google.com/intl/en/analytics/privacyoverview.html"})]})})]}),(0,n.jsx)("h5",{children:"Consent to use cookies"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:fv.inlineItalic,children:"Non-essential Cookies"})," \u2013 We may only store and access non-essential cookies on your device with your permission. You are not obliged to give consent to our use of non-essential cookies. Further, if you give your consent and then change your mind you can block or delete them (see below)."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:fv.inlineItalic,children:"Essential Cookies"})," \u2013 Please note that we do not need your consent to store and access essential cookies on your device, although you can still block or delete them (see below)."]}),(0,n.jsx)("h5",{children:"Refusing, blocking and deleting cookies"}),(0,n.jsxs)("p",{children:["You can block the use of cookies altogether by activating the relevant settings in your browser. For more information on cookie management and blocking or deleting cookies for a wide variety of browsers, visit"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.allaboutcookies.org",children:"All About Cookies"}),"."]}),(0,n.jsx)("p",{children:"Please be aware that in order to use some parts of our Site you will need to allow certain essential or functional cookies. If you subsequently block or delete those cookies, some aspects of our Site may not work properly and you may 
2not be able to access all or part of our Site."}),(0,n.jsx)("h5",{children:"Cookies used in emails"}),(0,n.jsx)("p",{children:"Please note that any emails you receive from us may contain cookies or similar technologies to help us to see if recipients have opened an email and understand how recipients have interacted with it. Once you click on an email that contains a cookie, your contact information may subsequently be cross-referenced to [the source email] and/or the relevant cookie. If you have enabled images, cookies may be set on your computer or mobile device. Cookies will also be set if you click on any link within the email."}),(0,n.jsx)("p",{children:"If you do not wish to accept cookies from any one of our emails, simply close the email before downloading any images or clicking on any links. You can also set your browser to restrict cookies or to reject them entirely. These settings will apply to all cookies whether included on websites or in emails."}),(0,n.jsx)("p",{children:"In some instances, depending on your email or browser settings, cookies in an email may be automatically accepted (for example, when you've added an email address to your address book or safe senders list). Please refer to your email browser or device instructions for more information on this."}),(0,n.jsx)("small",{children:"Last updated 01 May 2022"})]});case"PRIVACY_MODAL":return(0,n.jsxs)("div",{className:$e()(fv.privacyAndCookieModal,fv.privacy),children:[(0,n.jsx)("h5",{children:"Privacy Policy"}),(0,n.jsxs)("p",{children:["JUST DESIGN FX\xae, Inc. (\u201cJust Design\u201d) provides this website,"," ",(0,n.jsx)(We,{to:"/",onClick:t,children:"justdesignfx.com"})," ","for informational purposes. By accessing the website, you accept these Terms and Conditions of use and Privacy Policy, as may be amended from time to time, without limitation or qualification. If you do not wish to be bound by these Terms and Conditions, please refrain from further use of the website."]}),(0,n.jsx)("h5",{children:"All Content is Protected by Copyright Laws"}),(0,n.jsx)("p",{children:"Images, text, software, documentation, electronic text and image files, audio and video files and clips, and other materials on the Website are protected by copyright laws and may be covered by other restrictions as well. JUST DESIGN FX retains all rights it may hold, including copyright, in data, image, text, and any other information contained in these files. Copyrights and other proprietary rights in the material on the Website may al
2so subsist in individuals and entities other than, and in addition to, JUST DESIGN FX. JUST DESIGN FX expressly prohibits the copying of any protected materials on the Website."}),(0,n.jsx)("h5",{children:"Commercial Use is Restricted"}),(0,n.jsxs)("p",{children:["Unauthorized publication or exploitation of Just Design\u2019s files is specifically prohibited. Anyone wishing to use any of these files or images for commercial use, publication, or any other purpose must request and receive prior written permission. All requests to reproduce content from the Website should be made with"," ",(0,n.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),(0,n.jsx)("h5",{children:"Reservation of Rights"}),(0,n.jsx)("p",{children:"All rights not expressly granted by Just Design herein are specifically and completely reserved. Nothing on the Website or in these Terms and Conditions grants, expressly or implicitly, by estoppel or otherwise, any right or license to use any content or property of any third party, or may be construed to mean that Just Design has authority to grant any right or license on behalf of any third party."}),(0,n.jsx)("h5",{children:"Protection of Privacy"}),(0,n.jsx)("p",{children:"Just Design is committed to protecting the privacy of its Website visitors in accordance with applicable laws and regulations."}),(0,n.jsx)("p",{children:"Just Design collects and stores aggregated, anonymized or pseudonymized information about your activity on and interaction with the Website, such as your IP address, the type of device or browser you use, and your actions on the Website. If you sign up for the Newsletter, Just Design also collects and stores your email address."}),(0,n.jsx)("p",{children:"Just Design uses the information it collects for the following purposes:"}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsx)("p",{children:"To track and analyze use of the Website so Just Design can provide users with the best experience possible."})}),(0,n.jsx)("li",{children:(0,n.jsx)("p",{children:"To communicate with you about updates."})})]}),(0,n.jsx)("p",{children:"Just Design will indefinitely retain the aggregated, anonymized or pseudonymized information Just Design collects from you to protect the safety and security of the Website, improve the Website, or comply with legal obligations. Just Design will also retain your email addresses for as long as you are subscribed to the Newsletter. You will always have the opportunity to unsubscribe from future Newsletter correspondence."}),(0,n.jsx)("p",{children:"Just Design may include links to other websites or services whose privacy practices may differ from Just Design\u2019s. When you use a link to an external website or service, the privacy policy and data processing disclosures for that website or service governs."}),(0,n.jsxs)("p",{children:["Residents of the European Economic Area and Switzerland are afforded certain rights regarding their personal information. Except where an exception or exemption applies, these rights include the ability to request access, corrections, and deletion of personal information. While these rights are not applicable globally, all Website users can request access to, the correction of, or the deletion of their email addresses collected in connection with the bulletin. Such requests should be directed to",(0,n.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),(0,n.jsx)("h5",{children:"Links to Third-Party Websites"}),(0,n.jsx)("p",{children:"Just Design has not reviewed all the websites or services linked to or from the Website. Just Design provides these links as a convenience and linking to any third-party websites or services is at the user's own risk. A link does not imply endorsement or affiliation with the linked website by Just Design."}),(0,n.jsx)("h5",{children:"DISCLAIMER"}),(0,n.jsx)("p",{children:"JUST DESIGN PROVIDES THE WEBSITE ON AN \u201cAS IS\u201d BASIS. YOUR USE OF THE WEBSITE OR ITS CONTENTS IS AT YOUR OWN RISK. JUST DESIGN DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COPYRIGHT OR TRADEMARK OWNERSHIP AND/OR NONINFRINGEMENT OF COPYRIGHTS OR OTHER THIRD PARTY PROPRIETARY RIGHTS. JUST DESIGN DOES NOT WARRANT THAT THE WEBSITE WILL PROVIDE CONTINUOUS, PROMPT, SECURE, OR ERROR-FREE SERVICE. JUST DESIGN MAKES REASONABLE, ONGOING EFFORTS TO REVISE AND UPDATE THE WEBSITE, BUT ASSUMES NO LIABILITY FOR ANY ERRORS OR OMISSIONS, INCLUDING THE INACCURACY OF CONTENT, OR FOR ANY DAMAGES OR LOSSES THAT YOU OR ANY THIRD PARTY MAY INCUR AS A RESULT OF THE UNAVAILABILITY OF THE WEBSITE. JUST DESIGN ASSUMES NO RESPONSIBILITY, AND SHALL NOT BE LIABLE FOR, ANY DAMAGES TO YOUR COMPUTER EQUIPMENT OR OTHER PROPERTY ARISING FROM YOUR USE OF THE WEBSITE, INCLUDING BUT NOT LIMITED TO THE REPRODUCTION OF THE WEBSITE\u2019S CONTENT."}),(0,n.jsx)("h5",{children:"LIMITATION OF LIABILITY"}),(0,n.jsx)("p",{children:"NEITHER JUST DESIGN, ITS AFFILIATES, DIRECTORS, OFFICERS, EMPLOYEES, OR AGENTS WILL HAVE ANY LIABILITY FOR ANY DAMAGES, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, COMPENSATORY, PUNITIVE, SPECIAL, OR CONSEQUENTIAL DAMAGES (EVEN IF JUST DESIGN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES) ARISING FROM OR RELATED TO YOUR USE OF THE WEBSITE AND/OR ITS CONTENTS."}),(0,n.jsx)("h5",{children:"Indemnification"}),(0,n.jsx)("p",{children:"By using the Website in any manner, you represent and warrant that your use will be consistent with these Terms and Conditions. You agree to indemnify, defend, and hold Just Design, its affiliates, directors, officers, employees, and agents harmless from all claims, causes, costs, expenses, fees (including reasonable attorneys\u2019 fees), judgments, liabilities, losses, and damages arising from or relating to your use of the Website."}),(0,n.jsx)("h5",{children:"Entire Agreement; Severance; Waiver"}),(0,n.jsx)("p",{children:"These Terms and Conditions incorporate by reference any notices on the Website and constitute the entire agreement regarding user access to the Website. If any provision of the Terms and Conditions -is deemed unlawful, void, or unenforceable, that provision 
2will be severable from the remaining provisions and will not affect their validity and enforceability. Just Design\u2019s failure to enforce a provision on any occasion will not be construed as a waiver of such provision."}),(0,n.jsxs)("small",{children:["These Terms and Conditions were last modified on",(0,n.jsx)("br",{})," 01 May, 2022."]})]});default:return(0,n.jsx)(n.Fragment,{})}};return(0,n.jsxs)("div",{className:fv.copyright,children:[(0,n.jsxs)("small",{className:fv.text,children:["\xa9 All work copyright of JUST DESIGN FX",(0,n.jsx)("sup",{style:{paddingLeft:"2px",paddingRight:"6px"},children:"\xae"}),"2023"]}),(0,n.jsxs)("div",{className:fv.links,children:[(0,n.jsx)("small",{className:fv.link,onClick:function(){return t("COOKIE_MODAL")},children:"Cookie Policy"}),(0,n.jsx)("small",{className:fv.link,onClick:function(){return t("PRIVACY_MODAL")},children:"Privacy Policy"})]}),(0,n.jsx)("div",{className:fv.col,children:(0,n.jsxs)("div",{className:fv.social,children:[(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://www.instagram.com/justdesignfx/",children:(0,n.jsx)("img",{className:fv.icon,src:mv,alt:"Instagram Logo"})}),(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://www.behance.net/justdesign_fx",children:(0,n.jsx)("img",{className:fv.icon,src:pv,alt:"Behance Logo"})}),(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://tr.linkedin.com/company/just-design-fx",children:(0,n.jsx)("img",{className:fv.icon,src:gv,alt:"Linkedin Logo"})})]})})]})};function yv(e){var t=e.fill,r=void 0===t?"#f2f2f2":t;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",viewBox:"0 0 9 9",children:(0,n.jsx)("path",{id:"Path_5163","data-name":"Path 5163",d:"M273.6,453.737h8.634a.186.186,0,0,0,.2-.167v-8.633a.214.214,0,0,0-.2-.2h-1.9V450.2l-5.467-5.429-1.433,1.468,5.467,5.428h-5.467v1.9a.158.158,0,0,0,.167.167Z",transform:"translate(-444.737 282.433) rotate(-90)",fill:r,fillRule:"evenodd"})})}var _v="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",bv=function(){var e=ed(),t=a.useContext(rh),r=(0,a.useRef)(null),i=h((0,a.useState)(null),2),s=i[0],o=i[1],l=h((0,a.useState)(!1),2),u=l[0],c=l[1],d=h((0,a.useState)(null),2),f=d[0],p=d[1],m=h((0,a.useState)(null),2),g=m[0],v=m[1],y=h((0,a.useState)(null),2),_=y[0],b=y[1],x=h((0,a.useState)(!1),2),T=x[0],w=x[1],S=h((0,a.useState)(!1),2),E=S[0],k=S[1],C=(0,a.useRef)(null),P=(0,a.useRef)((function(){})),A=(0,a.useRef)((function(){})),I=(0,a.useRef)((function(){})),O="0x4AAAAAACH_WFm9rbjKc3ro",D=Td(),M=(0,n.jsxs)("div",{className:Pg,children:[(0,n.jsx)("img",{className:av,src:hv,alt:"Hand With Mail"}),(0,n.jsx)("h5",{className:sv,children:"Welcome aboard!"}),(0,n.jsx)("p",{className:zg,children:"We'll keep in touch with news from the future..."}),(0,n.jsx)("button",{className:Ag,type:"button",onClick:function(){return D.toggle()},children:"DONE"})]}),N=function(){b(null),window.turnstile&&window.turnstile.reset(null!==g&&void 0!==g?g:void 0)},R=function(){var e=lh(sh().mark((function e(t){var n,r,i;return sh().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s){e.next=3;break}return console.log("Required input email!"),e.abrupt("return");case 3:if(n=null!==t&&void 0!==t?t:_){e.next=6;break}return e.abrupt("return");case 6:return e.prev=6,e.next=9,Cg.post("/home/subscribe.php",{email:s,turnstileToken:n},{headers:{"Content-Type":"application/json",Accept:"application/json"}});case 9:return r=e.sent,i=r.data,e.abrupt("return",i);case 14:if(e.prev=14,e.t0=e.catch(6),!kg.isAxiosError(e.t0)){e.next=21;break}return console.log("error message: ",e.t0.message),e.abrupt("return",e.t0.message);case 21:return console.log("unexpected error: ",e.t0),e.abrupt("return","An unexpected error occurred");case 23:case"end":return e.stop()}}),e,null,[[6,14]])})));return function(t){return e.apply(this,arguments)}}(),L=function(e){return"string"===typeof e?(p(e),void N()):e?void(e.success?(D.setContent(M),D.toggle(),j()):(p(e.message),console.log("A server side error occured!"),N())):(p("Something went wrong. Please try again."),void N())};P.current=function(e){b(e),T&&(w(!1),R(e).then((function(e){L(e)})))},A.current=function(){T&&p("Security verification failed. Please try again."),w(!1)},I.current=function(){b(null)},(0,a.useEffect)((function(){if(E&&!g){var e=function(){if(C.current&&window.turnstile&&!g){var e=window.turnstile.render(C.current,{sitekey:O,size:"invisible",theme:"dark",callback:function(e){return P.current(e)},"error-callback":function(){return A.current()},"expired-callback":function(){return I.current()}});v(e),T&&window.turnstile.execute(e)}};if(!window.turnstile){var t=function(){p("Unable to load security verification at the moment.")},n=document.querySelector('script[src="'.concat(_v,'"]'));if(n)return n.addEventListener("load",e),function(){return n.removeEventListener("load",e)};var r=document.createElement("script");return r.src=_v,r.async=!0,r.defer=!0,r.addEventListener("load",e),r.addEventListener("error",t),document.body.appendChild(r),function(){r.removeEventListener("load",e),r.removeEventListener("error",t)}}e()}}),[O,g,E,T]);var j=function(){r.current&&r.current.reset(),o(null),c(!1),p(null),N()};return(0,n.jsxs)("div",{className:Ig,"data-reveal":!0,children:[(0,n.jsx)("div",{className:Vg,"data-overlay":!0}),(0,n.jsxs)("footer",{className:Og,children:[(0,n.jsxs)("div",{className:Dg,children:[(0,n.jsxs)("form",{className:Mg,ref:r,onSubmit:function(e){return function(e){if(e.preventDefault(),s){if(p(null),!E)return k(!0),void w(!0);if(!_)return g&&window.turnstile?(w(!0),void window.turnstile.execute(g)):void w(!0);R().then((function(e){L(e)}))}}(e)},children:[(0,n.jsxs)("div",{className:Wg,children:[(0,n.jsxs)("h6",{className:qg,children:["SUBSCRIBE TO",(0,n.jsx)("br",{})," OUR EMAIL"]}),(0,n.jsx)("input",{className:Yg,name:"email",type:"email",placeholder:"YOUR EMAIL ADDRESS",required:!0,onChange:function(e){o(e.currentTarget.value)},onFocus:function(){return k(!0)}}),(0,n.jsx)("div",{ref:C,className:Xg,"aria-hidden":"true"}),f&&(0,n.jsx)("div",{className:Zg,children:(0,n.jsx)("p",{className:Kg,children:f})})]}),(0,n.jsx)("div",{className:Ng,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:Rg,onClick:function(){c((function(e){return!e}))},children:[(0,n.jsx)("div",{className:Lg,children:(0,n.jsx)("div",{className:jg,style:{transition:"0.2s opacity ease",opacity:u?"1":"0"}})}),(0,n.jsxs)("p",{className:Qg,children:["Join our design community to be a part of the future\u2026! ",(0,n.jsx)("br",{})," By subscribing, you consent to receive emails from us."]})]}),(0,n.jsx)("button",{className:$g,type:"submit",style:{transition:"0.2s opacity ease",opacity:u?"1":"0.2",pointerEvents:u?"auto":"none"},children:"SEND"})]})})]}),e.width>ud&&(0,n.jsx)(dv,{onClick:t.scrollToTop,className:Jg})]}),(0,n.jsxs)("div",{className:ev,children:[(0,n.jsxs)("div",{className:iv,children:[(0,n.jsx)("h5",{className:tv,children:"SAY HI ! \ud83d\udc4b"}),(0,n.jsxs)("p",{className:zg,children:["Start a conversation about new business opportunities,",(0,n.jsx)("br",{})," media inquiries or learn about our career options."]}),(0,n.jsxs)("div",{className:Fg,children:[(0,n.jsx)(We,{className:Ug,to:"/contact",state:{contactReason:"NEW_PROJECT"},children:(0,n.jsx)("p",{className:Gg,children:"NEW PROJECT"})}),(0,n.jsx)(We,{className:Ug,to:"/contact",state:{contactReason:"MEDIA_INQUIRY"},children:(0,n.jsx)("p",{className:Gg,children:"MEDIA INQUIRY"})}),(0,n.jsx)("a",{className:Ug,href:"mailto:[email protected]",children:(0,n.jsx)("p",{className:Gg,children:"CAREER"})})]})]}),(0,n.jsxs)("div",{className:iv,children:[(0,n.jsx)("h5",{className:nv,children:"ISTANBUL HQ"}),(0,n.jsxs)("p",{className:rv,children:["JUSTWork Office Campus Balkan Cad. ",(0,n.jsx)("br",{}),"No:62, 34770, ISTANBUL / TURKEY"]}),(0,n.jsx)("div",{className:Fg,children:(0,n.jsxs)("a",{className:Bg,target:"_blank",rel:"noreferrer",href:"https://www.google.com/maps/place/JUSTWork/@41.0234497,29.1265974,15z/data=!4m5!3m4!1s0x0:0x5af99b7e2004cb13!8m2!3d41.0234497!4d29.1265974",children:[(0,n.jsx)("p",{className:Gg,children:"GET DIRECTION"}),(0,n.jsx)("div",{className:Hg,children:(0,n.jsx)(yv,{})})]})})]}),(0,n.jsxs)("div",{className:iv,children:[(0,n.jsx)("h5",{className:nv,children:"NEW YORK HQ"}),(0,n.jsxs)("p",{className:rv,children:["44 W 47th St #22, New York, ",(0,n.jsx)("br",{}),"NY 10036 USA"]}),(0,n.jsx)("div",{className:Fg,children:(0,n.jsxs)("a",{className:Bg,target:"_blank",rel:"noreferrer",href:"https://www.google.com/maps/place/44+W+47th+St+%2322,+New+York,+NY+10036,+USA/@40.757209,-73.9807804,17z/data=!3m1!4b1!4m5!3m4!1s0x89c258ffa808b8d3:0x4aa58f11c530b9
20a!8m2!3d40.757209!4d-73.9807804",children:[(0,n.jsx)("p",{className:Gg,children:"GET DIRECTION"}),(0,n.jsx)("div",{className:Hg,children:(0,n.jsx)(yv,{})})]})})]})]}),(0,n.jsx)(vv,{})]})]})};function xv(e){var t;try{t=e()}catch(r){return}var n={getItem:function(e){var n,r=function(e){return null===e?null:JSON.parse(e)},i=null!=(n=t.getItem(e))?n:null;return i instanceof Promise?i.then(r):r(i)},setItem:function(e,n){return t.setItem(e,JSON.stringify(n))},removeItem:function(e){return t.removeItem(e)}};return n}var Tv=function e(t){return function(n){try{var r=t(n);return r instanceof Promise?r:{then:function(t){return e(t)(r)},catch:function(e){return this}}}catch(i){return{then:function(e){return this},catch:function(t){return e(t)(i)}}}}},wv=function(e,t){return"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Please use `storage` option instead."),function(e,t){return function(n,r,i){var a,s=Bc({getStorage:function(){return localStorage},serialize:JSON.stringify,deserialize:JSON.parse,partialize:function(e){return e},version:0,merge:function(e,t){return Bc(Bc({},t),e)}},t),o=!1,l=new Set,u=new Set;try{a=s.getStorage()}catch(g){}if(!a)return e((function(){console.warn("[zustand persist middleware] Unable to update item '".concat(s.name,"', the given storage is currently unavailable.")),n.apply(void 0,arguments)}),r,i);
2var c=Tv(s.serialize),d=function(){var e,t=s.partialize(Bc({},r())),n=c({state:t,version:s.version}).then((function(e){return a.setItem(s.name,e)})).catch((function(t){e=t}));if(e)throw e;return n},h=i.setState;i.setState=function(e,t){h(e,t),d()};var f,p=e((function(){n.apply(void 0,arguments),d()}),r,i),m=function(){var e;if(a){o=!1,l.forEach((function(e){return e(r())}));var t=(null==(e=s.onRehydrateStorage)?void 0:e.call(s,r()))||void 0;return Tv(a.getItem.bind(a))(s.name).then((function(e){if(e)return s.deserialize(e)})).then((function(e){if(e){if("number"!==typeof e.version||e.version===s.version)return e.state;if(s.migrate)return s.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((function(e){var t;return f=s.merge(e,null!=(t=r())?t:p),n(f,!0),d()})).then((function(){null==t||t(f,void 0),o=!0,u.forEach((function(e){return e(f)}))})).catch((function(e){null==t||t(void 0,e)}))}};return i.persist={setOptions:function(e){s=Bc(Bc({},s),e),e.getStorage&&(a=e.getStorage())},clearStorage:function(){null==a||a.removeItem(s.name)},getOptions:function(){return s},rehydrate:function(){return m()},hasHydrated:function(){return o},onHydrate:function(e){return l.add(e),function(){l.delete(e)}},onFinishHydration:function(e){return u.add(e),function(){u.delete(e)}}},m(),f||p}}(e,t)):function(e,t){return function(n,r,i){var a=Bc({storage:xv((function(){return localStorage})),partialize:function(e){return e},version:0,merge:function(e,t){return Bc(Bc({},t),e)}},t),s=!1,o=new Set,l=new Set,u=a.storage;if(!u)return e((function(){console.warn("[zustand persist middleware] Unable to update item '".concat(a.name,"', the given storage is currently unavailable.")),n.apply(void 0,arguments)}),r,i);var c=function(){var e=a.partialize(Bc({},r()));return u.setItem(a.name,{state:e,version:a.version})},d=i.setState;i.setState=function(e,t){d(e,t),c()};var h,f=e((function(){n.apply(void 0,arguments),c()}),r,i),p=function(){var e;if(u){s=!1,o.forEach((function(e){return e(r())}));var t=(null==(e=a.onRehydrateStorage)?void 0:e.call(a,r()))||void 0;return Tv(u.getItem.bind(u))(a.name).then((function(e){if(e){if("number"!==typeof e.version||e.version===a.version)return e.state;if(a.migrate)return a.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((function(e){var t;return h=a.merge(e,null!=(t=r())?t:f),n(h,!0),c()})).then((function(){null==t||t(h,void 0),s=!0,l.forEach((function(e){return e(h)}))})).catch((function(e){null==t||t(void 0,e)}))}};return i.persist={setOptions:function(e){a=Bc(Bc({},a),e),e.storage&&(u=e.storage)},clearStorage:function(){null==u||u.removeItem(a.name)},getOptions:function(){return a},rehydrate:function(){return p()},hasHydrated:function(){return s},onHydrate:function(e){return o.add(e),function(){o.delete(e)}},onFinishHydration:function(e){return l.add(e),function(){l.delete(e)}}},p(),h||f}}(e,t)},Sv=Ka()(wv((function(e,t){return{filters:{service:"",clientType:""},setService:function(n){return e({filters:Bc(Bc({},t().filters),{},{service:n})})},setClientType:function(n){return e({filters:Bc(Bc({},t().filters),{},{clientType:n})})},resetFilters:function(){return e({filters:Bc(Bc({},t().filters),{},{clientType:"",service:""})})}}}),{name:"filters",storage:xv((function(){return localStorage}))})),Ev=Sv,kv=function(){var e=(0,a.useRef)(null),r=(0,a.useRef)(null),i=Ev().setService,s=function(){var e=lh(sh().mark((function e(){var t;return sh().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Cg.get("/about/servicesCards.php");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),o=function(){var e=lh(sh().mark((function e(){var t;return sh().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Cg.get("/about/awards.php");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l=(0,t.useQuery)(["awards"],o,{enabled:!0,retry:2}).data,u=(0,t.useQuery)(["servicesCards"],s,{enabled:!0,retry:2}).data,c=function(t,r){if(r%2===1)return r<t.length-1?(0,n.jsx)(Pp,{className:uh.pin,ref:e}):void 0};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(vf,{children:[(0,n.jsx)("meta",{charSet:"utf-8"}),(0,n.jsx)("title",{children:"JUST DESIGN FX | About"}),(0,n.jsx)("meta",{name:"description",content:"Learn about our design services, team members, clients and awards."}),(0,n.jsx)("link",{rel:"canonical",href:"https://justdesignfx.com/about"})]}),(0,n.jsxs)("main",{className:uh.about,children:[(0,n.jsxs)("section",{className:uh.intro,children:[(0,n.jsxs)("div",{className:uh.titleWrapper,children:[(0,n.jsxs)("h1",{className:uh.title,children:["WE ARE ",(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:uh.inlineJust,children:"just"})]}),(0,n.jsx)("h1",{className:uh.title,children:"RELENTLESS"}),(0,n.jsx)("h1",{className:uh.title,children:(0,n.jsx)("span",{children:"dreamers."})})]}),(0,n.jsxs)("div",{className:uh.flyingTextWrapper,children:[(0,n.jsxs)("small",{children:[(0,n.jsxs)("span",{className:uh.newLine,children:["We design iconic brands with future impact.",(0,n.jsx)("span",{className:uh.emoji,children:"\ud83d\ude80"})]}),"JUST DESIGN FX",(0,n.jsx)("sup",{children:"\xae"}
2)," is a new generation awarded branding and web design agency that specializes in creating the best possible brand experience for business owners and target users."]}),(0,n.jsxs)("small",{children:["At JUST DESIGN FX",(0,n.jsx)("sup",{children:"\xae"}),", we work collaboratively with clients from all over the world. Our working methodology involves analyzing a brand\u2019s current position, understanding its design and marketing needs, and envisioning its best future.",(0,n.jsx)("span",{className:uh.newLine,children:"Our offices are currently located in Istanbul and New York."})]})]}),(0,n.jsx)("div",{className:uh.verticalTextLeft,children:(0,n.jsx)("img",{src:Np,alt:"A Full Services Creative Studio Text"})}),(0,n.jsxs)("div",{className:uh.verticalTextRight,children:[(0,n.jsx)("h6",{children:"THE FUTURE IS NEAR."}),(0,n.jsx)(Mp,{className:uh.downArrow})]}),(0,n.jsx)("div",{className:uh.downArrowMobile,children:(0,n.jsx)(Mp,{className:uh.downArrow})}),(0,n.jsx)("img",{className:uh.teamBlob,src:jp,alt:"Water Blob","data-parallax":!0,"data-speed-y":"0.3","data-direction-y":"-1"}),(0,n.jsx)("img",{className:uh.teamSmile,src:Fp,alt:"Smiley","data-parallax":!0,"data-speed-y":"0.2","data-direction-y":"-1"}),(0,n.jsx)("div",{className:uh.whatWeDo,ref:r,"data-parallax":!0,"data-speed-y":"0.6","data-direction-y":"-1",children:(0,n.jsxs)("h1",{children:["WHAT",(0,n.jsx)("br",{})," WE DO."]})})]}),(0,n.jsx)("section",{className:uh.fields,children:u&&Array.isArray(u)&&u.map((function(e,t){return(0,n.jsxs)(We,{onMouseDown:function(){return t=e.id,void i(t);var t},to:"/works",className:uh.fieldCard,children:[(0,n.jsx)("small",{className:uh.index,children:"0".concat(t+1,".")}),e.title.split("<br>").map((function(e,t){return(0,n.jsx)("h5",{className:uh.title,children:e},t)})),(0,n.jsx)("p",{className:uh.description,children:e.description}),(0,n.jsx)("p",{className:uh.seeAllWorks,children:"SEE ALL WORKS."}),c(u,t)]},e.id)}))}),(0,n.jsxs)("section",{className:uh.awards,children:[(0,n.jsx)("h3",{className:uh.awardsTitle,children:"AWARDS"}),(0,n.jsxs)("div",{className:uh.table,children:[(0,n.jsxs)("div",{className:$e()(uh.row,uh.title),children:[(0,n.jsx)("h5",{className:uh.text,children:"Award"}),(0,n.jsx)("h5",{className:uh.text,children:"Project & Category"})]}),l&&l.length>0&&Array.isArray(l)&&l.map((function(e){return(0,n.jsx)(n.Fragment,{children:e.url?(0,n.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",children:(0,n.jsxs)("div",{className:$e()(uh.row,uh.item),children:[(0,n.jsx)("img",{className:uh.trophy,src:e.image,alt:"Trophy"}),(0,n.jsx)("h5",{className:uh.text,children:e.title}),(0,n.jsx)("h5",{className:uh.text,children:e.category}),e.url&&(0,n.jsx)("h5",{className:uh.link,children:"View Case"})]},e.id)},e.id):(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:$e()(uh.row,uh.item),children:[(0,n.jsx)("img",{className:uh.trophy,src:e.image,alt:"Trophy"}),(0,n.jsx)("h5",{className:uh.text,children:e.title}),(0,n.jsx)("h5",{className:uh.text,children:e.category})]},e.id)},e.id)})}))]}),(0,n.jsx)("div",{className:uh.tableMobile,children:l&&l.length>0&&Array.isArray(l)&&(null===l||void 0===l?void 0:l.map((function(e){return(0,n.jsx)(n.Fragment,{children:e.url?(0,n.jsxs)("a",{href:e.url,target:"_blank",rel:"noreferrer",children:[(0,n.jsx)("img",{className:uh.trophy,src:e.image,alt:"Trophy"}),(0,n.jsxs)("div",{className:$e()(uh.row,uh.title),children:[(0,n.jsx)("h5",{className:uh.text,children:"Award"}),(0,n.jsx)("h5",{className:uh.text,children:e.title})]}),(0,n.jsxs)("div",{className:$e()(uh.row,uh.item),children:[(0,n.jsx)("h5",{className:uh.text,children:"Project & Category"}),(0,n.jsx)("h5",{className:uh.text,children:e.category})]}),(0,n.jsxs)("div",{className:$e()(uh.row,uh.item),children:[(0,n.jsx)("div",{}),(0,n.jsx)("h5",{className:uh.link,children:"View Case"})]})]},e.id):(0,n.jsxs)("div",{children:[(0,n.jsx)("img",{className:uh.trophy,src:e.image,alt:"Trophy"}),(0,n.jsxs)("div",{className:$e()(uh.row,uh.title),children:[(0,n.jsx)("h5",{className:uh.text,children:"Award"}),(0,n.jsx)("h5",{className:uh.text,children:e.title})]}),(0,n.jsxs)("div",{className:$e()(uh.row,uh.item),children:[(0,n.jsx)("h5",{className:uh.text,children:"Project & Category"}),(0,n.jsx)("h5",{className:uh.text,children:e.category})]})]},e.id)})})))})]}),(0,n.jsxs)("section",{className:uh.references,children:[(0,n.jsxs)("div",{className:uh.textWrapper,children:[(0,n.jsx)("h3",{children:"SOME OF"}),(0,n.jsx)("h3",{children:"OUR"}),(0,n.jsx)("h3",{children:(0,n.jsx)("span",{children:"clients..."})})]}),(0,n.jsx)("img",{className:uh.referencesSun,src:Lp,alt:"Sun Smiley"}),(0,n.jsx)("img",{className:uh.companies,src:Rp,alt:"Company Logos"}),(0,n.jsxs)("div",{className:uh.companiesMobile,children:[(0,n.jsx)("div",{className:uh.logoWrapper,children:(0,n.jsx)(Tp,{className:uh.companyLogo})}),(0,n.jsx)("div",{className:uh.logoWrapper,children:(0,n.jsx)(Hf,{className:uh.companyLogo})}),(0,n.jsx)("div",{className:uh.logoWrapper,children:(0,n.jsx)(cp,{
2className:uh.companyLogo})}),(0,n.jsx)("div",{className:uh.logoWrapper,children:(0,n.jsx)(gp,{className:uh.companyLogo})}),(0,n.jsx)("div",{className:uh.logoWrapper,children:(0,n.jsx)(rp,{className:uh.companyLogo})}),(0,n.jsx)("div",{className:uh.logoWrapper,children:(0,n.jsx)(Of,{className:uh.companyLogo})}),(0,n.jsx)("div",{className:uh.logoWrapper,children:(0,n.jsx)(Sf,{className:uh.companyLogo})}),(0,n.jsx)("div",{className:uh.logoWrapper,children:(0,n.jsx)(Qf,{className:uh.companyLogo})}),(0,n.jsx)("div",{className:uh.logoWrapper,children:(0,n.jsx)(Ff,{className:uh.companyLogo})})]})]})]}),(0,n.jsx)(bv,{})]})},Cv={hide:"Contact_hide__kRxFI",contactForm:"Contact_contactForm__aEkkr",form:"Contact_form__41JRg",inputWrapper:"Contact_inputWrapper__yIp66",label:"Contact_label__X04Yq",hidden:"Contact_hidden__+3GK8",show:"Contact_show__GNDfM",cursorPointer:"Contact_cursorPointer__vmDud",contactSuccess:"Contact_contactSuccess__GJgBb",doneButton:"Contact_doneButton__X7wuJ",privacyPolicy:"Contact_privacyPolicy__xhE3G",privacyText:"Contact_privacyText__NUYXu",btnContainer:"Contact_btnContainer__WTDYZ",buttons:"Contact_buttons__CI5Ar",reasonBtn:"Contact_reasonBtn__1VBpN",absoluteCenter:"Contact_absoluteCenter__bxC53",absoluteStretch:"Contact_absoluteStretch__WNDje",accept:"Contact_accept__kkfW3",flexCenterX:"Contact_flexCenterX__6ixI9",submitBtnMobile:"Contact_submitBtnMobile__b1kis",iconRightArrow:"Contact_iconRightArrow__UpuhH",submitBtn:"Contact_submitBtn__gFpSg",flexStart:"Contact_flexStart__XkcI1",flexStartX:"Contact_flexStartX__B9+TC",flexEndX:"Contact_flexEndX__NS7uN",flexCenterY:"Contact_flexCenterY__ZHK2M",contact:"Contact_contact__Eoom1",intro:"Contact_intro__D5hz-",flexStartY:"Contact_flexStartY__Qrm2F",flexEndY:"Contact_flexEndY__I0nEz",flexBetweenX:"Contact_flexBetweenX__vgN7W",flexBetweenY:"Contact_flexBetweenY__pk7Bm",privacyAndCookieModal:"Contact_privacyAndCookieModal__iP2ZK",line:"Contact_line__EpbZz",text:"Contact_text__x0dtG",inlineLove:"Contact_inlineLove__O7eYG",inlineLoveBlack:"Contact_inlineLoveBlack__M8Bo0",inlineLoveGreen:"Contact_inlineLoveGreen__IjQ2r",contactBlob:"Contact_contactBlob__2LMwO",contactSmile:"Contact_contactSmile__e9Wl3",dropALine:"Contact_dropALine__8qGZ3",rowX:"Contact_rowX__Q4Zfb",rowY:"Contact_rowY__HEtYy",formText:"Contact_formText__RAICR",textarea:"Contact_textarea__MGupJ",formInput:"Contact_formInput__j07uX",active:"Contact_active__sQ0Tj",btnText:"Contact_btnText__12Mk-",link:"Contact_link__S7NyW",welcomeAboard:"Contact_welcomeAboard__lARdK",title:"Contact_title__ynB6m"},Pv=__webpack_require__.p+"static/media/contact-blob.45cdc01f21c821643a40.png",Av=__webpack_require__.p+"static/media/contact-smile.38ba552fd6c4e4a08942.png";var Iv=__webpack_require__.p+"static/media/drop-a-line.3baae202e7fb8d0552cdc9c423ece028.svg";var Ov,Dv=__webpack_require__.p+"static/media/privacy-accept.e93c4d0ad5068ea864ce3b7873d15af6.svg",Mv={hide:"FooterContact_hide__8PrHy",show:"FooterContact_show__kscNJ",cursorPointer:"FooterContact_cursorPointer__wIqxu",absoluteCenter:"FooterContact_absoluteCenter__KB3m+",absoluteStretch:"FooterContact_absoluteStretch__pQBEY",flexCenterX:"FooterContact_flexCenterX__KXUh3",revealWrapper:"FooterContact_revealWrapper__xPs-Z",buttons:"FooterContact_buttons__7ekFs",btnGetDirection:"FooterContact_btnGetDirection__1MxeX",btn:"FooterContact_btn__gZPKN",flexStart:"FooterContact_flexStart__l6tVG",flexStartX:"FooterContact_flexStartX__y1yQ8",flexEndX:"FooterContact_flexEndX__hkU2X",flexCenterY:"FooterContact_flexCenterY__-+lMp",flexStartY:"FooterContact_flexStartY__wSZEh",flexEndY:"FooterContact_flexEndY__JcdDN",flexBetweenX:"FooterContact_flexBetweenX__2k8tZ",flexBetweenY:"FooterContact_flexBetweenY__BBq9l",overlay:"FooterContact_overlay__lxeez",btnText:"FooterContact_btnText__TiZEA",arrowW:"FooterContact_arrowW__W5msB",contactFooter:"FooterContact_contactFooter__eUAwj",contact:"FooterContact_contact__sbV6Z",projectFooter:"FooterContact_projectFooter__kUeDp",colTitle:"FooterContact_colTitle__zgSZZ",colText:"FooterContact_colText__1glfJ",inlineLink:"FooterContact_inlineLink__cBqgN",col:"FooterContact_col__59Zx4",social:"FooterContact_social__DwXxI",icon:"FooterContact_icon__qrs-x",copyright:"FooterContact_copyright__+sFb+",text:"FooterContact_text__FSBFc",links:"FooterContact_links__-ZCy-",link:"FooterContact_link__P4TZN"},Nv=function(){return(0,n.jsxs)("div",{className:Mv.revealWrapper,"data-reveal":!0,children:[(0,n.jsx)("div",{className:Mv.overlay,"data-overlay":!0}),(0,n.jsxs)("div",{className:Mv.contactFooter,children:[(0,n.jsxs)("div",{className:Mv.contact,children:[(0,n.jsxs)("div",{className:Mv.col,children:[(0,n.jsx)("h5",{className:$e()(Mv.colTitle,Mv.addressTitle),children:"ISTANBUL HQ"}),(0,n.jsxs)("p",{className:$e()(Mv.colText,Mv.textSm),children:["JUSTWork Office Campus Balkan Cad. ",(0,n.jsx)("br",{}),"No:62, 34770, ISTANBUL / TURKEY"]}),(0,n.jsx)("div",{className:Mv.buttons,children:(0,n.jsxs)("a",{className:Mv.btnGetDirection,target:"_blank",rel:"noreferrer",href:"https://www.google.com/maps/place/JUSTWork/@41.0234497,29.1265974,15z/data=!4m5!3m4!1s0x0:0x5af99b7e2004cb13!8m2!3d41.0234497!4d29.1265974",children:[(0,n.jsx)("p",{className:Mv.btnText,children:"GET DIRECTION"}),(0,n.jsxs)("div",{className:Mv.arrowW,children:[(0,n.jsx)(yv,{})," "]})]})})]}),(0,n.jsxs)("div",{className:Mv.col,children:[(0,n.jsx)("h5",{className:$e()(Mv.colTitle,Mv.addressTitle),children:"NEW YORK HQ"}),(0,n.jsxs)("p",{className:$e()(Mv.colText,Mv.textSm),children:["44 W 47th St #22, New York, ",(0,n.jsx)("br",{}),"NY 10036 USA"]}),(0,n.jsx)("div",{className:Mv.buttons,children:(0,n.jsxs)("a",{className:Mv.btnGetDirection,target:"_blank",rel:"noreferrer",href:"https://www.google.com/maps/place/44+W+47th+St+%2322,+New+York,+NY+10036,+USA/@40.757209,-73.9807804,17z/data=!3m1!4b1!4m5!3m4!1s0x89c258ffa808b8d3:0x4aa58f11c530b9
20a!8m2!3d40.757209!4d-73.9807804",children:[(0,n.jsx)("p",{className:Mv.btnText,children:"GET DIRECTION"}),(0,n.jsx)("div",{className:Mv.arrowW,children:(0,n.jsx)(yv,{})})]})})]}),(0,n.jsxs)("div",{className:Mv.col,children:[(0,n.jsx)("h5",{className:Mv.colTitle,children:"JOIN THE TEAM"}),(0,n.jsxs)("p",{className:Mv.colText,children:["Send us your CV, we are always looking",(0,n.jsx)("br",{})," for new talents."]}),(0,n.jsx)("div",{className:Mv.buttons,children:(0,n.jsx)("a",{className:Mv.btn,href:"mailto:[email protected]",children:(0,n.jsx)("p",{className:Mv.btnText,children:"CAREER"})})})]})]}),(0,n.jsx)(vv,{})]})]})},Rv=function(e){e.preventDefault(),"focus"===e.type&&e?e.target.labels[0].style.opacity="0":"blur"===e.type&&e&&(e.target.labels[0].style.opacity="1")},Lv=__webpack_require__.p+"static/media/contact.7366f68f152b74b6f7a9.gif",jv=["title","titleId"];function Fv(){return Fv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fv.apply(this,arguments)}function Bv(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Uv(e,t){var n=e.title,r=e.titleId,i=Bv(e,jv);return a.createElement("svg",Fv({xmlns:"http://www.w3.org/2000/svg",width:12.642,height:12.772,viewBox:"0 0 12.642 12.772",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Ov||(Ov=a.createElement("path",{id:"Path_91","data-name":"Path 91",d:"M11.547,28.72V27.225l9.555.1L21,36.91l-1.495.065.1-7.182L9.4,40l-.942-.975,10.172-10.2Z",transform:"translate(-8.46 -27.225)",fill:"#000000"})))}var Vv=a.forwardRef(Uv),zv=__webpack_require__.p+"static/media/icon-white-right-arrow.dfb83ce98ee3c476367431f0bb7e36a3.svg",Gv=function(){var e=(0,a.useRef)(null),t=(0,a.useRef)(null),r=(0,a.useRef)(null),i=(0,a.useRef)(null),s=(0,a.useRef)(null),o=(0,a.useRef)(null),l=h((0,a.useState)(!1),2),u=l[0],c=l[1],d=h((0,a.useState)(null),2),f=d[0],p=d[1],m=h((0,a.useState)(null),2),g=m[0],v=m[1],y=h((0,a.useState)(null),2),_=y[0],b=y[1],x=h((0,a.useState)(null),2),T=x[0],w=x[1],S=ed(),E=Te(),k=Td();(0,a.useEffect)((function(){var e,t=null===(e=E.state)||void 0===e?void 0:e.contactReason;t&&("NEW_PROJECT"===t?b("NEW_PROJECT"):"MEDIA_INQUIRY"===t&&b("MEDIA_INQUIRY"))}),[]);var C=function(){var e=lh(sh().mark((function e(){var t,n;return sh().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Cg.post("/letstalk/contact.php",{name:f,email:g,type:_,message:T},{headers:{"Content-Type":"application/json",Accept:"application/json"}});case 3:return t=e.sent,n=t.data,e.abrupt("return",n);case 8:if(e.prev=8,e.t0=e.catch(0),!kg.isAxiosError(e.t0)){e.next=15;break}return console.log("error message: ",e.t0.message),e.abrupt("return",e.t0.message);case 15:return console.log("unexpected error: ",e.t0),e.abrupt("return","An unexpected error occurred");case 17:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=lh(sh().mark((function e(t){return sh().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),f&&g&&_&&T&&u){e.next=3;break}return e.abrupt("return");case 3:C().then((function(e){e.success&&(D("CONTACT_SUCCESS"),M())}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){b(e)},I=function(){c((function(e){return!e}))},O=function(e){switch(e){case"COOKIE_MODAL":return(0,n.jsxs)("div",{className:$e()(Cv.privacyAndCookieModal,Cv.cookie),children:[(0,n.jsx)("h5",{children:"Cookie Policy"}),(0,n.jsxs)("p",{children:["This cookie policy (\u201cCookie Policy\u201d) is intended to inform you how we use \u201ccookies\u201d and similar technologies on our website at"," ",(0,n.jsx)(We,{to:"/",onClick:k.toggle,children:"justdesignfx.com"})," ","and to assist you in making informed decisions when using our Site. Please take a moment to read and understand this Co
2okie Policy. This Cookie Policy should also be read in conjunction with our"," ",(0,n.jsx)("span",{onClick:function(){D("PRIVACY_MODAL")},style:{textDecoration:"underline",cursor:"pointer"},children:"Privacy Policy"}),"."]}),(0,n.jsx)("h5",{children:"What are cookies?"}),(0,n.jsx)("p",{children:"Cookies and similar technologies are very small text documents or pieces of code, which often include an anonymous unique identifier. When you visit a website or use a mobile application, a computer asks your computer or mobile device for permission to store this file on your computer or mobile device and access information from it. Information gathered through cookies and similar technologies may include the date and time of visits and how you are using the particular website or mobile application."}),(0,n.jsx)("p",{children:"We may use first and third party cookies on our Site and/or in our emails. First party cookies are cookies placed by us to collect information about you. However, certain cookies available on our Site and/or in our emails are placed by third party website operators. This means that the information about you collected by those third party cookies will be shared with the relevant third party. Please refer to the relevant third party website operator\u2019s privacy notice for more information about how they may use such information."}),(0,n.jsxs)("p",{children:["For more details on cookies and similar technologies, please visit"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.allaboutcookies.org",children:"All About Cookies"}),". For the purposes of the remaining sections of this Cookie Policy, we will refer to all technologies using the above features as \u201ccookies\u201d."]}),(0,n.jsx)("h5",{children:"How long do cookies last?"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Cv.inlineItalic,children:"Session Cookies"})," \u2013 these are temporary cookies that expire (and are automatically erased) whenever you close your browser."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Cv.inlineItalic,children:"Persistent Cookies "})," \u2013 these usually have an expiration date and so stay in your browser until they expire, or until you manually delete them."]}),(0,n.jsx)("h5",{children:"Cookies used on our site"}),(0,n.jsx)("p",{children:"We use the following types of cookies on our Site:"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Cv.inlineItalic,children:"Essential Cookies "})," \u2013 Essential cookies are those cookies which are essential for the operation of a website."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Cv.inlineItalic,children:"Functionality Cookies "}
2)," \u2013 These cookies recognise you when you return to a website, they remember your preferences and they provide enhanced, more personalised features."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Cv.inlineItalic,children:"Analytics/Performance Cookies"}),"\u2013 Analytics cookies, along with other information, allow websites to calculate the aggregate number of people using a website and which features of a website are most popular. This information is generally used to improve the website."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Cv.inlineItalic,children:"Social Media Cookies"})," \u2013 These cookies are used to personalise your interaction with social media, such as Twitter, Facebook, Tumblr and YouTube. Such cookies recognise users of those social media sites when you view social media content on the website. They also allow you to quickly share content across social media, through the use of simple \u201csharing\u201d buttons. Some websites may also contain features that enable you to use your social media account to sign in and create/maintain an account with the website you are visiting and to enable the website operator to store your content. This involves the use of cookies."]}),(0,n.jsx)("p",{children:"The bullet points below set out more information about the individual cookies we may use on our Site and the purposes for which they are used."}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsxs)("p",{children:[" ","_ga - 3rd party, analytical, lasts 2 years. This is a Google Analytics cookie. It registers a unique ID that is used to generate statistical data on the use of our Site. More information about Google Analytics can be found here:"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.google.com/intl/en/analytics/privacyoverview.html",children:"http://www.google.com/intl/en/analytics/privacyoverview.html"})]})}),(0,n.jsx)("li",{children:(0,n.jsxs)("p",{children:["_gat - 3rd party, analytical, lasts for the session only. This is a Google Analytics cookie. It is used to throttle the request rate on our Site. More information about Google Analytics can be found here:"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.google.com/intl/en/analytics/privacyoverview.html",children:"http://www.google.com/intl/en/analytics/privacyoverview.html"})]})}),(0,n.jsx)("li",{children:(0,n.jsxs)("p",{children:["_gid - 3rd party, analytical, lasts for the session only. This is a Google Analytics cookie. It registers a unique ID that is used to generate statistical data on the use of our Site. More information about Google Analytics can be found here:"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.google.com/intl/en/analytics/privacyoverview.html",children:"http://www.google.com/intl/en/analytics/privacyoverview.html"})]})})]}),(0,n.jsx)("h5",{children:"Consent to use cookies "}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Cv.inlineItalic,children:"Non-essential Cookies"})," \u2013 We may only store and access non-essential cookies on your device with your permission. You are not obliged to give consent to our use of non-essential cookies. Further, if you give your consent and then change your mind you can block or delete them (see below)."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:Cv.inlineItalic,children:"Essential Cookies"})," \u2013 Please note that we do not need your consent to store and access essential cookies on your device, although you can still block or delete them (see below)."]}),(0,n.jsx)("h5",{children:"Refusing, blocking and deleting cookies"}),(0,n.jsxs)("p",{children:["You can block the use of cookies altogether by activating the relevant settings in your browser. For more information on cookie management and blocking or deleting cookies for a wide variety of browsers, visit"," ",(0,n.jsx)("a",{target:"_blank",rel:"noreferrer",href:"http://www.allaboutcookies.org",children:"All About Cookies"}),"."]}),(0,n.jsx)("p",{children:"Please be aware that in order to use some parts of our Site you will need to allow certain essential or functional cookies. If you subsequently block or delete those cookies, some aspects of our Site may not work properly and you may 
2not be able to access all or part of our Site."}),(0,n.jsx)("h5",{children:"Cookies used in emails"}),(0,n.jsx)("p",{children:"Please note that any emails you receive from us may contain cookies or similar technologies to help us to see if recipients have opened an email and understand how recipients have interacted with it. Once you click on an email that contains a cookie, your contact information may subsequently be cross-referenced to [the source email] and/or the relevant cookie. If you have enabled images, cookies may be set on your computer or mobile device. Cookies will also be set if you click on any link within the email."}),(0,n.jsx)("p",{children:"If you do not wish to accept cookies from any one of our emails, simply close the email before downloading any images or clicking on any links. You can also set your browser to restrict cookies or to reject them entirely. These settings will apply to all cookies whether included on websites or in emails."}),(0,n.jsx)("p",{children:"In some instances, depending on your email or browser settings, cookies in an email may be automatically accepted (for example, when you've added an email address to your address book or safe senders list). Please refer to your email browser or device instructions for more information on this."}),(0,n.jsx)("small",{children:"Last updated 01 May 2022"})]});case"PRIVACY_MODAL":return(0,n.jsxs)("div",{className:$e()(Cv.privacyAndCookieModal,Cv.privacy),children:[(0,n.jsx)("h5",{children:"Privacy Policy"}),(0,n.jsxs)("p",{children:["JUST DESIGN FX\xae, Inc. (\u201cJust Design\u201d) provides this website,"," ",(0,n.jsx)(We,{to:"/",onClick:D,children:"justdesignfx.com"})," ","for informational purposes. By accessing the website, you accept these Terms and Conditions of use and Privacy Policy, as may be amended from time to time, without limitation or qualification. If you do not wish to be bound by these Terms and Conditions, please refrain from further use of the website."]}),(0,n.jsx)("h5",{children:"All Content is Protected by Copyright Laws"}),(0,n.jsx)("p",{children:"Images, text, software, documentation, electronic text and image files, audio and video files and clips, and other materials on the Website are protected by copyright laws and may be covered by other restrictions as well. JUST DESIGN FX retains all rights it may hold, including copyright, in data, image, text, and any other information contained in these files. Copyrights and other proprietary rights in the material on the Website may al
2so subsist in individuals and entities other than, and in addition to, JUST DESIGN FX. JUST DESIGN FX expressly prohibits the copying of any protected materials on the Website."}),(0,n.jsx)("h5",{children:"Commercial Use is Restricted"}),(0,n.jsxs)("p",{children:["Unauthorized publication or exploitation of Just Design\u2019s files is specifically prohibited. Anyone wishing to use any of these files or images for commercial use, publication, or any other purpose must request and receive prior written permission. All requests to reproduce content from the Website should be made with"," ",(0,n.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),(0,n.jsx)("h5",{children:"Reservation of Rights"}),(0,n.jsx)("p",{children:"All rights not expressly granted by Just Design herein are specifically and completely reserved. Nothing on the Website or in these Terms and Conditions grants, expressly or implicitly, by estoppel or otherwise, any right or license to use any content or property of any third party, or may be construed to mean that Just Design has authority to grant any right or license on behalf of any third party."}),(0,n.jsx)("h5",{children:"Protection of Privacy"}),(0,n.jsx)("p",{children:"Just Design is committed to protecting the privacy of its Website visitors in accordance with applicable laws and regulations."}),(0,n.jsx)("p",{children:"Just Design collects and stores aggregated, anonymized or pseudonymized information about your activity on and interaction with the Website, such as your IP address, the type of device or browser you use, and your actions on the Website. If you sign up for the Newsletter, Just Design also collects and stores your email address."}),(0,n.jsx)("p",{children:"Just Design uses the information it collects for the following purposes:"}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsx)("p",{children:"To track and analyze use of the Website so Just Design can provide users with the best experience possible."})}),(0,n.jsx)("li",{children:(0,n.jsx)("p",{children:"To communicate with you about updates."})})]}),(0,n.jsx)("p",{children:"Just Design will indefinitely retain the aggregated, anonymized or pseudonymized information Just Design collects from you to protect the safety and security of the Website, improve the Website, or comply with legal obligations. Just Design will also retain your email addresses for as long as you are subscribed to the Newsletter. You will always have the opportunity to unsubscribe from future Newsletter correspondence."}),(0,n.jsx)("p",{children:"Just Design may include links to other websites or services whose privacy practices may differ from Just Design\u2019s. When you use a link to an external website or service, the privacy policy and data processing disclosures for that website or service governs."}),(0,n.jsxs)("p",{children:["Residents of the European Economic Area and Switzerland are afforded certain rights regarding their personal information. Except where an exception or exemption applies, these rights include the ability to request access, corrections, and deletion of personal information. While these rights are not applicable globally, all Website users can request access to, the correction of, or the deletion of their email addresses collected in connection with the bulletin. Such requests should be directed to",(0,n.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),(0,n.jsx)("h5",{children:"Links to Third-Party Websites"}),(0,n.jsx)("p",{children:"Just Design has not reviewed all the websites or services linked to or from the Website. Just Design provides these links as a convenience and linking to any third-party websites or services is at the user's own risk. A link does not imply endorsement or affiliation with the linked website by Just Design."}),(0,n.jsx)("h5",{children:"DISCLAIMER"}),(0,n.jsx)("p",{children:"JUST DESIGN PROVIDES THE WEBSITE ON AN \u201cAS IS\u201d BASIS. YOUR USE OF THE WEBSITE OR ITS CONTENTS IS AT YOUR OWN RISK. JUST DESIGN DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COPYRIGHT OR TRADEMARK OWNERSHIP AND/OR NONINFRINGEMENT OF COPYRIGHTS OR OTHER THIRD PARTY PROPRIETARY RIGHTS. JUST DESIGN DOES NOT WARRANT THAT THE WEBSITE WILL PROVIDE CONTINUOUS, PROMPT, SECURE, OR ERROR-FREE SERVICE. JUST DESIGN MAKES REASONABLE, ONGOING EFFORTS TO REVISE AND UPDATE THE WEBSITE, BUT ASSUMES NO LIABILITY FOR ANY ERRORS OR OMISSIONS, INCLUDING THE INACCURACY OF CONTENT, OR FOR ANY DAMAGES OR LOSSES THAT YOU OR ANY THIRD PARTY MAY INCUR AS A RESULT OF THE UNAVAILABILITY OF THE WEBSITE. JUST DESIGN ASSUMES NO RESPONSIBILITY, AND SHALL NOT BE LIABLE FOR, ANY DAMAGES TO YOUR COMPUTER EQUIPMENT OR OTHER PROPERTY ARISING FROM YOUR USE OF THE WEBSITE, INCLUDING BUT NOT LIMITED TO THE REPRODUCTION OF THE WEBSITE\u2019S CONTENT."}),(0,n.jsx)("h5",{children:"LIMITATION OF LIABILITY"}),(0,n.jsx)("p",{children:"NEITHER JUST DESIGN, ITS AFFILIATES, DIRECTORS, OFFICERS, EMPLOYEES, OR AGENTS WILL HAVE ANY LIABILITY FOR ANY DAMAGES, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, COMPENSATORY, PUNITIVE, SPECIAL, OR CONSEQUENTIAL DAMAGES (EVEN IF JUST DESIGN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES) ARISING FROM OR RELATED TO YOUR USE OF THE WEBSITE AND/OR ITS CONTENTS."}),(0,n.jsx)("h5",{children:"Indemnification"}),(0,n.jsx)("p",{children:"By using the Website in any manner, you represent and warrant that your use will be consistent with these Terms and Conditions. You agree to indemnify, defend, and hold Just Design, its affiliates, directors, officers, employees, and agents harmless from all claims, causes, costs, expenses, fees (including reasonable attorneys\u2019 fees), judgments, liabilities, losses, and damages arising from or relating to your use of the Website."}),(0,n.jsx)("h5",{children:"Entire Agreement; Severance; Waiver"}),(0,n.jsx)("p",{children:"These Terms and Conditions incorporate by reference any notices on the Website and constitute the entire agreement regarding user access to the Website. If any provision of the Terms and Conditions -is deemed unlawful, void, or unenforceable, that provision 
2will be severable from the remaining provisions and will not affect their validity and enforceability. Just Design\u2019s failure to enforce a provision on any occasion will not be construed as a waiver of such provision."}),(0,n.jsxs)("small",{children:["These Terms and Conditions were last modified on",(0,n.jsx)("br",{})," 01 May, 2022."]})]});case"CONTACT_SUCCESS":return(0,n.jsxs)("div",{className:Cv.contactSuccess,children:[(0,n.jsx)("img",{className:Cv.welcomeAboard,src:Lv,alt:"Hand With Mail"}),(0,n.jsx)("h5",{className:Cv.title,children:"THANK YOU!"}),(0,n.jsx)("p",{className:Cv.text,children:"Your form was successfully sent. We\u2019ll reach out to you soon."}),(0,n.jsx)("button",{className:Cv.doneButton,type:"button",onClick:function(){return k.toggle()},children:"DONE"})]});default:return(0,n.jsx)(n.Fragment,{})}},D=function(e){k.setContent(O(e)),k.toggle()},M=function(){o.current&&o.current.reset(),p(null),v(null),b(null),w(null),c(!1)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(vf,{children:[(0,n.jsx)("meta",{charSet:"utf-8"}),(0,n.jsx)("title",{children:"JUST DESIGN FX | Contact"}),(0,n.jsx)("meta",{name:"description",content:"Learn about our design services, team members, clients and awards."}),(0,n.jsx)("link",{rel:"canonical",href:"https://justdesignfx.com/contact"})]}),(0,n.jsxs)("main",{className:Cv.contact,children:[(0,n.jsxs)("section",{className:Cv.intro,children:[(0,n.jsx)("div",{className:Cv.line,children:(0,n.jsx)("h1",{className:Cv.text,children:"WE WOULD"})}),(0,n.jsx)("div",{className:Cv.line,children:(0,n.jsxs)("h1",{className:Cv.text,children:[(0,n.jsxs)("span",{className:Cv.inlineLove,children:["LOVE ",(0,n.jsx)("span",{className:Cv.inlineLoveBlack,children:"LOVE"}),(0,n.jsx)("span",{className:Cv.inlineLoveGreen,children:"LOVE"})]}),(0,n.jsx)("br",{}),"TO HEAR"]})}),(0,n.jsx)("div",{className:Cv.line,children:(0,n.jsx)("h1",{className:Cv.text,children:"from you."})}),(0,n.jsx)("img",{src:Pv,className:Cv.contactBlob,alt:"Water Blob"}),(0,n.jsx)("img",{src:Av,className:Cv.contactSmile,alt:"Smiley"})]}),(0,n.jsxs)("section",{className:Cv.contactForm,children:[(0,n.jsx)("img",{src:Iv,className:Cv.dropALine,alt:"Drop A Line"}),(0,n.jsxs)("form",{className:Cv.form,onSubmit:function(e){return P(e)},ref:o,children:[(0,n.jsxs)("div",{className:Cv.rowX,children:[(0,n.jsxs)("h2",{className:Cv.formText,children:["HELLO,",(0,n.jsx)("br",{})," MY NAME IS"]}),(0,n.jsxs)("div",{className:Cv.inputWrapper,children:[(0,n.jsx)("label",{htmlFor:"name",className:$e()(Cv.label,Cv.companyLabel,Xe({},Cv.hidden,f)),children:"YOUR NAME / COMPANY"}),(0,n.jsx)("input",{id:"name",ref:r,className:Cv.formInput,name:"name",type:"text",required:!0,onFocus:Rv,onBlur:Rv,onChange:function(e){p(e.currentTarget.value)}})]})]}),(0,n.jsxs)("div",{className:Cv.rowY,children:[(0,n.jsxs)("h2",{className:Cv.formText,children:["I'M EXCITED TO ",(0,n.jsx)("br",{})," CONTACT YOUR ",(0,n.jsx)("br",{})," STUDIO ABOUT A"]}),(0,n.jsxs)("div",{className:Cv.buttons,children:[(0,n.jsx)("div",{onClick:function(){return A("NEW_PROJECT")},className:$e()(Cv.reasonBtn,Xe({},Cv.active,"NEW_PROJECT"===_)),children:(0,n.jsx)("p",{className:Cv.btnText,children:"NEW PROJECT"})}),(0,n.jsx)("div",{onClick:function(){return A("MEDIA_INQUIRY")},className:$e()(Cv.reasonBtn,Xe({},Cv.active,"MEDIA_INQUIRY"===_)),children:(0,n.jsx)("p",{className:Cv.btnText,children:"MEDIA INQUIRY"})})]})]}),(0,n.jsxs)("div",{className:Cv.rowX,children:[(0,n.jsxs)("h2",{className:Cv.formText,children:["PLEASE ",(0,n.jsx)("br",{})," REACH ME AT"]}),(0,n.jsxs)("div",{className:Cv.inputWrapper,children:[(0,n.jsx)("label",{htmlFor:"email",className:$e()(Cv.label,Cv.emailLabel,Xe({},Cv.hidden,g)),children:"YOUR EMAIL ADDRESS"}),(0,n.jsx)("input",{id:"email",ref:t,className:Cv.formInput,name:"email",type:"email",required:!0,onFocus:Rv,onBlur:Rv,onChange:function(e){v(e.currentTarget.value)}})]})]}),(0,n.jsx)("div",{className:Cv.rowX,children:(0,n.jsxs)("h2",{className:Cv.formText,children:["I'M",(0,n.jsx)("br",{})," REACHING OUT",(0,n.jsx)("br",{})," ABOUT ..."]})}),(0,n.jsx)("div",{className:Cv.rowX,children:(0,n.jsxs)("div",{className:$e()(Cv.inputWrapper,Cv.textarea),children:[!T&&(0,n.jsx)("label",{style:{textAlign:window.innerWidth>ld?"left":"center"},className:$e()(Cv.label,Cv.messageLabel),children:"YOUR MESSAGE"}),(0,n.jsx)("textarea",{ref:i,name:"message",required:!0,className:$e()(Cv.formInput,Cv.textarea,Xe({},Cv.leftAligned,S.width>ld)),style:{textAlign:window.innerWidth>ld?"left":"center"},onChange:function(e){w(e.currentTarget.value)}})]})}),(0,n.jsxs)("div",{className:$e()(Cv.privacyPolicy,Xe({},Cv.active,u)),children:[(0,n.jsx)("div",{className:Cv.btnContainer,onClick:I,children:(0,n.jsx)("img",{ref:e,className:Cv.accept,src:Dv,alt:"Accept Visual"})}),(0,n.jsxs)("p",{className:Cv.privacyText,children:[(0,n.jsx)("span",{onClick:I,children:" I\u2019ve read and accepted the"}),(0,n.jsx)("br",{})," ",(0,n.jsx)("span",{className:Cv.link,onClick:function(){return D("PRIVACY_MODAL")},children:"Privacy Policy"})," ",(0,n.jsx)("span",{onClick:I,children:" standards of this website."})]}
vendor: 115,374 bytes, line 2
2),(0,n.jsx)("button",{ref:s,type:"submit",className:Cv.submitBtn,children:(0,n.jsx)("p",{className:Cv.btnText,children:"SEND"})}),(0,n.jsxs)("button",{type:"submit",className:Cv.submitBtnMobile,children:[(0,n.jsx)("p",{className:Cv.btnText,children:"SEND"}),(0,n.jsx)("div",{className:Cv.iconRightArrow,children:(0,n.jsx)(Vv,{})})]})]})]})]})]}),(0,n.jsx)(Nv,{})]})},Hv="Home_home__NSkG3",Wv="Home_works__Bo5qW",qv="Home_jdSmileyContainer__1USXK",Yv="Home_seeAllWorkBtnC__LTxWt",Xv="Home_intro__V1tpW",Zv="Home_videoContainer__YU5ee",Kv="Home_modalContent__GaxyP",Qv="Home_playShowreelBtnTouch__qTP-O",$v="Home_iconRightArrow__KipT5",Jv="Home_imgContainer__5fGTu",ey="Home_img__Xh3VN",ty="Home_textWrapper__T-eWX",ny="Home_lookAhead__zHKJW",ry="Home_title__cDBDz",iy="Home_oblique__WiAaQ",ay="Home_hasArrived__KFvxK",sy="Home_small__JPOIz",oy="Home_textBottom__1RGCU",ly="Home_video__pEJfq",uy="Home_btnText__vAvHl",cy="Home_arrow__ZIeqb",dy="Home_marqueeContainer__CFYXf",hy="Home_marqueeInner__igd7B",fy="Home_rightMargin__5W--D",py="Home_inlineO__pjoDz",my="Home_projects__RTfIt",gy="Home_bottomTextWrapper__+K9n2",vy="Home_firstLine__ZzB7S",yy="Home_inlineALook__KKJiz",_y="Home_inlineA__WxoIt",by="Home_inlineOo__tmHif",xy="Home_secondLine__LmXqd",Ty="Home_thirdLine__dF9Ee",wy="Home_seeAllWorkBtn__Snion",Sy="Home_bg__p-CYz",Ey="Home_smileyContainer__RNIBk",ky="Home_jdSmiley__t-DBM",Cy="Home_arrowContainer__qpubW",Py=__webpack_require__.p+"static/media/home-blob.6c70621ddb60cad55010.png",Ay=__webpack_require__.p+"static/media/jd-smile-looking-up.ecf1eab2616881eee6db.png";var Iy=__webpack_require__.p+"static/media/play-btn.35109456126bbd2d842e01764436a6e1.svg";var Oy=__webpack_require__.p+"static/media/see-all-arrow.2c1276b17a58e5755e351fdc05492209.svg",Dy="Marquee_marquee__RiFmc",My="Marquee_marqueeInner__IWTrK",Ny=function(e){var t=e.children,r=e.direction,i=void 0===r?1:r;return(0,n.jsx)("div",{className:Dy,"data-marquee":!0,children:(0,n.jsx)("div",{className:My,"data-marquee-sliding":!0,"data-direction":i,children:Array.from(Array(10)).map((function(e,r){return(0,n.jsx)(a.Fragment,{children:t},r)}))})})},Ry=__webpack_require__(9851),Ly=__webpack_require__.n(Ry),jy=__webpack_require__(7203),Fy=__webpack_require__.n(jy),By=__webpack_require__(7462),Uy=__webpack_require__(7943),Vy=__webpack_require__.n(Uy),zy=__webpack_require__(4578),Gy=__webpack_require__(4947),Hy=__webpack_require__.n(Gy),Wy=__webpack_require__(6656),qy=__webpack_require__.n(Wy),Yy=__webpack_require__(2755),Xy=__webpack_require__.n(Yy),Zy=__webpack_require__(4556),Ky=__webpack_require__.n(Zy),Qy="http://example.com",$y=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=Ly().location&&Ly().location.href||"");var n="function"===typeof Ly().URL,r=/^\/\//.test(e),i=!Ly().location&&!/\/\//i.test(e);if(n?e=new(Ly().URL)(e,Ly().location||Qy):/\/\//i.test(e)||(e=Ky().buildAbsoluteURL(Ly().location&&Ly().location.href||"",e)),n){var a=new URL(t,e);return i?a.href.slice(Qy.length):r?a.href.slice(a.protocol.length):a.href}return Ky().buildAbsoluteURL(e,t)},Jy=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),a=t.length,s=0;s<a;++s)t[s].apply(this,i)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();function e_(e){for(var t,n=(t=e,Ly().atob?Ly().atob(t):Buffer.from(t,"base64").toString("binary")),r=new Uint8Array(n.length),i=0;i<n.length;i++)r[i]=n.charCodeAt(i);return r}var t_,n_=function(e){function t(){var t;return(t=e.call(this)||this).buffer="",t}return(0,zy.Z)(t,e),t.prototype.push=function(e){var t;for(this.buffer+=e,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},t}(Jy),r_=String.fromCharCode(9),i_=function(e){var t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),n={};return t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),n},a_=function(e){for(var t,n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),r={},i=n.length;i--;)""!==n[i]&&((t=/([^=]*)=(.*)/.exec(n[i]).slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^['"](.*)['"]$/g,"$1"),r[t[0]]=t[1]);return r},s_=function(e){function t(){var t;return(t=e.call(this)||this).customParsers=[],t.tagMappers=[],t}(0,zy.Z)(t,e);var n=t.prototype;return n.push=function(e){var t,n,r=this;0!==(e=e.trim()).length&&("#"===e[0]?this.tagMappers.reduce((function(t,n){var r=n(e);return r===e?t:t.concat([r])}),[e]).forEach((function(e){for(var i=0;i<r.customParsers.length;i++)if(r.customParsers[i].call(r,e))return;if(0===e.indexOf("#EXT"))if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e))r.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(e))return n={type:"tag",tagType:"inf"},t[1]&&(n.duration=parseFloat(t[1])),t[2]&&(n.title=t[2]),void r.trigger("data",n);if(t=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"targetduration"},t[1]&&(n.duration=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"version"},t[1]&&(n.version=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"media-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e))return n={type:"tag",tagType:"playlist-type"},t[1]&&(n.playlistType=t[1]),void r.trigger("data",n);if(t=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(e))return n=(0,By.Z)(i_(t[1]),{type:"tag",tagType:"byterange"}),void r.trigger("data",n);if(t=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e))return n={type:"tag",tagType:"allow-cache"},t[1]&&(n.allowed=!/NO/.test(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-MAP:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"map"},t[1]){var a=a_(t[1]);a.URI&&(n.uri=a.URI),a.BYTERANGE&&(n.byterange=i_(a.BYTERANGE))}r.trigger("data",n)}else if(t=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"stream-inf"},t[1]){if(n.attributes=a_(t[1]),n.attributes.RESOLUTION){var s=n.attributes.RESOLUTION.split("x"),o={};s[0]&&(o.width=parseInt(s[0],10)),s[1]&&(o.height=parseInt(s[1],10)),n.attributes.RESOLUTION=o}n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes["FRAME-RATE"]&&(n.attributes["FRAME-RATE"]=parseFloat(n.attributes["FRAME-RATE"])),n.attributes["PROGRAM-ID"]&&(n.attributes["PROGRAM-ID"]=parseInt(n.attributes["PROGRAM-ID"],10))}r.trigger("data",n)}else{if(t=/^#EXT-X-MEDIA:?(.*)$/.exec(e))return n={type:"tag",tagType:"media"},t[1]&&(n.attributes=a_(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-ENDLIST/.exec(e))r.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e))r.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))return n={type:"tag",tagType:"program-date-time"},t[1]&&(n.dateTimeString=t[1],n.dateTimeObject=new Date(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-KEY:?(.*)$/.exec(e))return n={type:"tag",tagType:"key"},t[1]&&(n.attributes=a_(t[1]),n.attributes.IV&&("0x"===n.attributes.IV.substring(0,2).toLowerCase()&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),void r.trigger("data",n);if(t=/^#EXT-X-START:?(.*)$/.exec(e))return n={type:"tag",tagType:"start"},t[1]&&(n.attributes=a_(t[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out-cont"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-in"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if((t=/^#EXT-X-SKIP:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"skip"}).attributes=a_(t[1]),n.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(n.attributes["SKIPPED-SEGMENTS"]=parseInt(n.attributes["SKIPPED-SEGMENTS"],10)),n.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(n.attributes["RECENTLY-REMOVED-DATERANGES"]=n.attributes["RECENTLY-REMOVED-DATERANGES"].split(r_)),void r.trigger("data",n);if((t=/^#EXT-X-PART:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"part"}).attributes=a_(t[1]),["DURATION"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["INDEPENDENT","GAP"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),n.attributes.hasOwnProperty("BYTERANGE")&&(n.attributes.byterange=i_(n.attributes.BYTERANGE)),void r.trigger("data",n);if((t=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"server-control"}).attributes=a_(t[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),void r.trigger("data",n);if((t=/^#EXT-X-PART-INF:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"part-inf"}).attributes=a_(t[1]),["PART-TARGET"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),void r.trigger("data",n);if((t=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"preload-hint"}).attributes=a_(t[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(e){if(n.attributes.hasOwnProperty(e)){n.attributes[e]=parseInt(n.attributes[e],10);var t="BYTERANGE-LENGTH"===e?"length":"offset";n.attributes.byterange=n.attributes.byterange||{},n.attributes.byterange[t]=n.attributes[e],delete n.attributes[e]}})),void r.trigger("data",n);if((t=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"rendition-report"}).attributes=a_(t[1]),["LAST-MSN","LAST-PART"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseInt(n.attributes[e],10))})),void r.trigger("data",n);r.trigger("data",{type:"tag",data:e.slice(4)})}}}else r.trigger("data",{type:"comment",text:e.slice(1)})})):this.trigger("data",{type:"uri",uri:e}))},n.addParser=function(e){var t=this,n=e.expression,r=e.customType,i=e.dataParser,a=e.segment;"function"!==typeof i&&(i=function(e){return e}),this.customParsers.push((function(e){if(n.exec(e))return t.trigger("data",{type:"custom",data:i(e),customType:r,segment:a}),!0}))},n.addTagMapper=function(e){var t=e.expression,n=e.map;this.tagMappers.push((function(e){return t.test(e)?n(e):e}))},t}(Jy),o_=function(e){var t={};return Object.keys(e).forEach((function(n){var r;t[(r=n,r.toLowerCase().replace(/-(\w)/g,(function(e){return e[1].toUpperCase()})))]=e[n]})),t},l_=function(e){var t=e.serverControl,n=e.targetDuration,r=e.partTargetDuration;if(t){var i="#EXT-X-SERVER-CONTROL",a="holdBack",s="partHoldBack",o=n&&3*n,l=r&&2*r;n&&!t.hasOwnProperty(a)&&(t[a]=o,this.trigger("info",{message:i+" defaulting HOLD-BACK to targetDuration * 3 ("+o+")."})),o&&t[a]<o&&(this.trigger("warn",{message:i+" clamping HOLD-BACK ("+t[a]+") to targetDuration * 3 ("+o+")"}),t[a]=o),r&&!t.hasOwnProperty(s)&&(t[s]=3*r,this.trigger("info",{message:i+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+t[s]+")."})),r&&t[s]<l&&(this.trigger("warn",{message:i+" clamping PART-HOLD-BACK ("+t[s]+") to partTargetDuration * 2 ("+l+")."}),t[s]=l)}},u_=function(e){function t(){var t;(t=e.call(this)||this).lineStream=new n_,t.parseStream=new s_,t.lineStream.pipe(t.parseStream);var n,r,i=E(t),a=[],s={},o=!1,l=function(){},u={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},c=0;t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var d=0,h=0;return t.on("end",(function(){s.uri||!s.parts&&!s.preloadHints||(!s.map&&n&&(s.map=n),!s.key&&r&&(s.key=r),s.timeline||"number"!==typeof c||(s.timeline=c),t.manifest.preloadSegment=s)})),t.parseStream.on("data",(function(e){var t,f;({tag:function(){({version:function(){e.version&&(this.manifest.version=e.version)},"allow-cache":function(){this.manifest.allowCache=e.allowed,"allowed"in e||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var t={};"length"in e&&(s.byterange=t,t.length=e.length,"offset"in e||(e.offset=d)),"offset"in e&&(s.byterange=t,t.offset=e.offset),d=t.offset+t.length},endlist:function(){this.manifest.endList=!0},inf:function(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),e.duration>0&&(s.duration=e.duration),0===e.duration&&(s.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=a},key:function(){if(e.attributes)if("NONE"!==e.attributes.METHOD)if(e.attributes.URI){if("com.apple.streamingkeydelivery"===e.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:e.attributes});if("com.microsoft.playready"===e.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:e.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===e.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(e.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===e.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==e.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):e.attributes.KEYID&&"0x"===e.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:e.attributes.KEYFORMAT,keyId:e.attributes.KEYID.substring(2)},pssh:e_(e.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}e.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:e.attributes.METHOD||"AES-128",uri:e.attributes.URI},"undefined"!==typeof e.attributes.IV&&(r.iv=e.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else r=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(e.number)?this.manifest.mediaSequence=e.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+e.number})},"discontinuity-sequence":function(){isFinite(e.number)?(this.manifest.discontinuitySequence=e.number,c=e.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number})},"playlist-type":function(){/VOD|EVENT/.test(e.playlistType)?this.manifest.playlistType=e.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist})},map:function(){n={},e.uri&&(n.uri=e.uri),e.byterange&&(n.byterange=e.byterange),r&&(n.key=r)},"stream-inf":function(){this.manifest.playlists=a,this.manifest.mediaGroups=this.manifest.mediaGroups||u,e.attributes?(s.attributes||(s.attributes={}),(0,By.Z)(s.attributes,e.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||u,e.attributes&&e.attributes.TYPE&&e.attributes["GROUP-ID"]&&e.attributes.NAME){var n=this.manifest.mediaGroups[e.attributes.TYPE];n[e.attributes["GROUP-ID"]]=n[e.attributes["GROUP-ID"]]||{},t=n[e.attributes["GROUP-ID"]],(f={default:/yes/i.test(e.attributes.DEFAULT)}).default?f.autoselect=!0:f.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(f.language=e.attributes.LANGUAGE),e.attributes.URI&&(f.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(f.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(f.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(f.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=f}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){c+=1,s.discontinuity=!0,this.manifest.discontinuityStarts.push(a.length)},"program-date-time":function(){"undefined"===typeof this.manifest.dateTimeString&&(this.manifest.dateTimeString=e.dateTimeString,this.manifest.dateTimeObject=e.dateTimeObject),s.dateTimeString=e.dateTimeString,s.dateTimeObject=e.dateTimeObject},targetduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+e.duration}):(this.manifest.targetDuration=e.duration,l_.call(this,this.manifest))},start:function(){e.attributes&&!isNaN(e.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:e.attributes["TIME-OFFSET"],precise:e.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){s.cueOut=e.data},"cue-out-cont":function(){s.cueOutCont=e.data},"cue-in":function(){s.cueIn=e.data},skip:function(){this.manifest.skip=o_(e.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",e.attributes,["SKIPPED-SEGMENTS"])},part:function(){var t=this;o=!0;var n=this.manifest.segments.length,r=o_(e.attributes);s.parts=s.parts||[],s.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=h),h=r.byterange.offset+r.byterange.length);var i=s.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+i+" for segment #"+n,e.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(e,n){e.hasOwnProperty("lastPart")||t.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+n+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var t=this.manifest.serverControl=o_(e.attributes);t.hasOwnProperty("canBlockReload")||(t.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),l_.call(this,this.manifest),t.canSkipDateranges&&!t.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var t=this.manifest.segments.length,n=o_(e.attributes),r=n.type&&"PART"===n.type;s.preloadHints=s.preloadHints||[],s.preloadHints.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=r?h:0,r&&(h=n.byterange.offset+n.byterange.length)));var i=s.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+i+" for segment #"+t,e.attributes,["TYPE","URI"]),n.type)for(var a=0;a<s.preloadHints.length-1;a++){var o=s.preloadHints[a];o.type&&(o.type===n.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+i+" for segment #"+t+" has the same TYPE "+n.type+" as preload hint #"+a}))}},"rendition-report":function(){var t=o_(e.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(t);var n=this.manifest.renditionReports.length-1,r=["LAST-MSN","URI"];o&&r.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+n,e.attributes,r)},"part-inf":function(){this.manifest.partInf=o_(e.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",e.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),l_.call(this,this.manifest)}}[e.tagType]||l).call(i)},uri:function(){s.uri=e.uri,a.push(s),this.manifest.targetDuration&&!("duration"in s)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),s.duration=this.manifest.targetDuration),r&&(s.key=r),s.timeline=c,n&&(s.map=n),h=0,s={}},comment:function(){},custom:function(){e.segment?(s.custom=s.custom||{},s.custom[e.customType]=e.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[e.customType]=e.data)}})[e.type].call(i)})),t}(0,zy.Z)(t,e);var n=t.prototype;return n.warnOnMissingAttributes_=function(e,t,n){var r=[];n.forEach((function(e){t.hasOwnProperty(e)||r.push(e)})),r.length&&this.trigger("warn",{message:e+" lacks required attribute(s): "+r.join(", ")})},n.push=function(e){this.lineStream.push(e)},n.end=function(){this.lineStream.push("\n"),this.trigger("end")},n.addParser=function(e){this.parseStream.addParser(e)},n.addTagMapper=function(e){this.parseStream.addTagMapper(e)},t}(Jy),c_={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},d_=["video","audio","text"],h_=["Video","Audio","Text"],f_=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},p_=function(e){void 0===e&&(e="");var t=e.split(","),n=[];return t.forEach((function(e){var t;e=e.trim(),d_.forEach((function(r){var i=c_[r].exec(e.toLowerCase());if(i&&!(i.length<=1)){t=r;var a=e.substring(0,i[1].length),s=e.replace(a,"");n.push({type:a,details:s,mediaType:r})}})),t||n.push({type:e,details:"",mediaType:"unknown"})})),n},m_=function(e){return void 0===e&&(e=""),c_.audio.test(e.trim().toLowerCase())},g_=function(e){if(e&&"string"===typeof e){var t,n=e.toLowerCase().split(",").map((function(e){return f_(e.trim())})),r="video";1===n.length&&m_(n[0])?r="audio":1===n.length&&(void 0===(t=n[0])&&(t=""),c_.text.test(t.trim().toLowerCase()))&&(r="application");var i="mp4";return n.every((function(e){return c_.mp4.test(e)}))?i="mp4":n.every((function(e){return c_.webm.test(e)}))?i="webm":n.every((function(e){return c_.ogg.test(e)}))&&(i="ogg"),r+"/"+i+';codecs="'+e+'"'}},v_=function(e){return void 0===e&&(e=""),Ly().MediaSource&&Ly().MediaSource.isTypeSupported&&Ly().MediaSource.isTypeSupported(g_(e))||!1},y_=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var t=0;t<h_.length;t++){if(c_["muxer"+h_[t]].test(e))return!0}return!1}))},__="mp4a.40.2",b_=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,x_=/^application\/dash\+xml/i,T_=function(e){return b_.test(e)?"hls":x_.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null},w_=function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},S_=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||w_(e)||e instanceof ArrayBuffer||(e="number"!==typeof e||"number"===typeof e&&e!==e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},E_=Ly().BigInt||Number,k_=[E_("0x1"),E_("0x100"),E_("0x10000"),E_("0x1000000"),E_("0x100000000"),E_("0x10000000000"),E_("0x1000000000000"),E_("0x100000000000000"),E_("0x10000000000000000")],C_=(function(){var e=new Uint16Array([65484]),t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);255===t[0]||t[0]}(),function(e,t){var n=void 0===t?{}:t,r=n.signed,i=void 0!==r&&r,a=n.le,s=void 0!==a&&a;e=S_(e);var o=s?"reduce":"reduceRight",l=(e[o]?e[o]:Array.prototype[o]).call(e,(function(t,n,r){var i=s?r:Math.abs(r+1-e.length);return t+E_(n)*k_[i]}),E_(0));if(i){var u=k_[e.length]/E_(2)-E_(1);(l=E_(l))>u&&(l-=u,l-=u,l-=E_(2))}return Number(l)}),P_=function(e,t){var n=(void 0===t?{}:t).le,r=void 0!==n&&n;("bigint"!==typeof e&&"number"!==typeof e||"number"===typeof e&&e!==e)&&(e=0),e=E_(e);for(var i,a=(i=e,Math.ceil(function(e){return e.toString(2).length}(i)/8)),s=new Uint8Array(new ArrayBuffer(a)),o=0;o<a;o++){var l=r?o:Math.abs(o+1-s.length);s[l]=Number(e/k_[o]&E_(255)),e<0&&(s[l]=Math.abs(~s[l]),s[l]-=0===o?1:2)}return s},A_=function(e,t){if("string"!==typeof e&&e&&"function"===typeof e.toString&&(e=e.toString()),"string"!==typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var n=new Uint8Array(e.length),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n},I_=function(e,t,n){var r=void 0===n?{}:n,i=r.offset,a=void 0===i?0:i,s=r.mask,o=void 0===s?[]:s;e=S_(e);var l=(t=S_(t)).every?t.every:Array.prototype.every;return t.length&&e.length-a>=t.length&&l.call(t,(function(t,n){return t===(o[n]?o[n]&e[a+n]:e[a+n])}))},O_=__webpack_require__(7542),D_=function(e){return!!e&&"object"===typeof e},M_=function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce((function(t,n){return"object"!==typeof n||Object.keys(n).forEach((function(r){Array.isArray(t[r])&&Array.isArray(n[r])?t[r]=t[r].concat(n[r]):D_(t[r])&&D_(n[r])?t[r]=e(t[r],n[r]):t[r]=n[r]})),t}),{})},N_=function(e){return Object.keys(e).map((function(t){return e[t]}))},R_=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},L_=function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},j_=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1},F_="INVALID_NUMBER_OF_PERIOD",B_="DASH_EMPTY_MANIFEST",U_="DASH_INVALID_XML",V_="NO_BASE_URL",z_="SEGMENT_TIME_UNSPECIFIED",G_="UNSUPPORTED_UTC_TIMING_SCHEME",H_=function(e){var t=e.baseUrl,n=void 0===t?"":t,r=e.source,i=void 0===r?"":r,a=e.range,s=void 0===a?"":a,o=e.indexRange,l=void 0===o?"":o,u={uri:i,resolvedUri:$y(n||"",i)};if(s||l){var c,d=(s||l).split("-"),h=Ly().BigInt?Ly().BigInt(d[0]):parseInt(d[0],10),f=Ly().BigInt?Ly().BigInt(d[1]):parseInt(d[1],10);h<Number.MAX_SAFE_INTEGER&&"bigint"===typeof h&&(h=Number(h)),f<Number.MAX_SAFE_INTEGER&&"bigint"===typeof f&&(f=Number(f)),"bigint"===typeof(c="bigint"===typeof f||"bigint"===typeof h?Ly().BigInt(f)-Ly().BigInt(h)+Ly().BigInt(1):f-h+1)&&c<Number.MAX_SAFE_INTEGER&&(c=Number(c)),u.byterange={length:c,offset:h}}return u},W_=function(e){return e&&"number"!==typeof e&&(e=parseInt(e,10)),isNaN(e)?null:e},q_={static:function(e){var t=e.duration,n=e.timescale,r=void 0===n?1:n,i=e.sourceDuration,a=e.periodDuration,s=W_(e.endNumber),o=t/r;return"number"===typeof s?{start:0,end:s}:"number"===typeof a?{start:0,end:a/o}:{start:0,end:i/o}},dynamic:function(e){var t=e.NOW,n=e.clientOffset,r=e.availabilityStartTime,i=e.timescale,a=void 0===i?1:i,s=e.duration,o=e.periodStart,l=void 0===o?0:o,u=e.minimumUpdatePeriod,c=void 0===u?0:u,d=e.timeShiftBufferDepth,h=void 0===d?1/0:d,f=W_(e.endNumber),p=(t+n)/1e3,m=r+l,g=p+c-m,v=Math.ceil(g*a/s),y=Math.floor((p-m-h)*a/s),_=Math.floor((p-m)*a/s);return{start:Math.max(0,y),end:"number"===typeof f?f:Math.min(v,_)}}},Y_=function(e){var t=e.type,n=e.duration,r=e.timescale,i=void 0===r?1:r,a=e.periodDuration,s=e.sourceDuration,o=q_[t](e),l=function(e,t){for(var n=[],r=e;r<t;r++)n.push(r);return n}(o.start,o.end).map(function(e){return function(t){var n=e.duration,r=e.timescale,i=void 0===r?1:r,a=e.periodStart,s=e.startNumber;return{number:(void 0===s?1:s)+t,duration:n/i,timeline:a,time:t*n}}}(e));if("static"===t){var u=l.length-1,c="number"===typeof a?a:s;l[u].duration=c-n/i*u}return l},X_=function(e){var t=e.baseUrl,n=e.initialization,r=void 0===n?{}:n,i=e.sourceDuration,a=e.indexRange,s=void 0===a?"":a,o=e.periodStart,l=e.presentationTime,u=e.number,c=void 0===u?0:u,d=e.duration;if(!t)throw new Error(V_);var h=H_({baseUrl:t,source:r.sourceURL,range:r.range}),f=H_({baseUrl:t,source:t,indexRange:s});if(f.map=h,d){var p=Y_(e);p.length&&(f.duration=p[0].duration,f.timeline=p[0].timeline)}else i&&(f.duration=i,f.timeline=o);return f.presentationTime=l||o,f.number=c,[f]},Z_=function(e,t,n){var r,i=e.sidx.map?e.sidx.map:null,a=e.sidx.duration,s=e.timeline||0,o=e.sidx.byterange,l=o.offset+o.length,u=t.timescale,c=t.references.filter((function(e){return 1!==e.referenceType})),d=[],h=e.endList?"static":"dynamic",f=e.sidx.timeline,p=f,m=e.mediaSequence||0;r="bigint"===typeof t.firstOffset?Ly().BigInt(l)+t.firstOffset:l+t.firstOffset;for(var g=0;g<c.length;g++){var v=t.references[g],y=v.referencedSize,_=v.subsegmentDuration,b=void 0;b="bigint"===typeof r?r+Ly().BigInt(y)-Ly().BigInt(1):r+y-1;var x=X_({baseUrl:n,timescale:u,timeline:s,periodStart:f,presentationTime:p,number:m,duration:_,sourceDuration:a,indexRange:r+"-"+b,type:h})[0];i&&(x.map=i),d.push(x),r+="bigint"===typeof r?Ly().BigInt(y):y,p+=_/u,m++}return e.segments=d,e},K_=["AUDIO","SUBTITLES"],Q_=function(e){return(t=e,n=function(e){return e.timeline},N_(t.reduce((function(e,t){return t.forEach((function(t){e[n(t)]=t})),e}),{}))).sort((function(e,t){return e.timeline>t.timeline?1:-1}));var t,n},$_=function(e){var t,n,r=[];return t=e,n=function(e,t,n,i){r=r.concat(e.playlists||[])},K_.forEach((function(e){for(var r in t.mediaGroups[e])for(var i in t.mediaGroups[e][r]){var a=t.mediaGroups[e][r][i];n(a,e,r,i)}})),r},J_=function(e){var t=e.playlist,n=e.mediaSequence;t.mediaSequence=n,t.segments.forEach((function(e,n){e.number=t.mediaSequence+n}))},eb=function(e){var t=e.oldManifest,n=e.newManifest,r=t.playlists.concat($_(t)),i=n.playlists.concat($_(n));return n.timelineStarts=Q_([t.timelineStarts,n.timelineStarts]),function(e){var t=e.oldPlaylists,n=e.newPlaylists,r=e.timelineStarts;n.forEach((function(e){e.discontinuitySequence=j_(r,(function(t){return t.timeline===e.timeline}));var n=function(e,t){for(var n=0;n<e.length;n++)if(e[n].attributes.NAME===t)return e[n];return null}(t,e.attributes.NAME);if(n&&!e.sidx){var i=e.segments[0],a=j_(n.segments,(function(e){return Math.abs(e.presentationTime-i.presentationTime)<.016666666666666666}));if(-1===a)return J_({playlist:e,mediaSequence:n.mediaSequence+n.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),void((!n.segments.length&&e.timeline>n.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--);n.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),J_({playlist:e,mediaSequence:n.segments[a].number})}}))}({oldPlaylists:r,newPlaylists:i,timelineStarts:n.timelineStarts}),n},tb=function(e){return e&&e.uri+"-"+function(e){var t;return t="bigint"===typeof e.offset||"bigint"===typeof e.length?Ly().BigInt(e.offset)+Ly().BigInt(e.length)-Ly().BigInt(1):e.offset+e.length-1,e.offset+"-"+t}(e.byterange)},nb=function(e){return N_(e.reduce((function(e,t){var n=t.attributes.id+(t.attributes.lang||"");if(e[n]){var r;if(t.segments)t.segments[0]&&(t.segments[0].discontinuity=!0),(r=e[n].segments).push.apply(r,t.segments);t.attributes.contentProtection&&(e[n].attributes.contentProtection=t.attributes.contentProtection)}else e[n]=t,e[n].attributes.timelineStarts=[];return e[n].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e}),{})).map((function(e){var t,n;return e.discontinuityStarts=(t=e.segments||[],n="discontinuity",t.reduce((function(e,t,r){return t[n]&&e.push(r),e}),[])),e}))},rb=function(e,t){var n=tb(e.sidx),r=n&&t[n]&&t[n].sidx;return r&&Z_(e,r,e.sidx.resolvedUri),e},ib=function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var n in e)e[n]=rb(e[n],t);return e},ab=function(e){var t,n=e.attributes,r=e.segments,i=e.sidx,a=e.discontinuityStarts,s={attributes:(t={NAME:n.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:n.width,height:n.height},CODECS:n.codecs,BANDWIDTH:n.bandwidth},t["PROGRAM-ID"]=1,t),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuityStarts:a,timelineStarts:n.timelineStarts,segments:r};return n.frameRate&&(s.attributes["FRAME-RATE"]=n.frameRate),n.contentProtection&&(s.contentProtection=n.contentProtection),i&&(s.sidx=i),s},sb=function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType},ob=function(e){var t=e.attributes;return"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType},lb=function(e){var t=e.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType},ub=function(e){return e?Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(r.playlists)}),[]):[]},cb=function(e){var t,n=e.dashPlaylists,r=e.locations,i=e.sidxMapping,a=void 0===i?{}:i,s=e.previousManifest;if(!n.length)return{};var o=n[0].attributes,l=o.sourceDuration,u=o.type,c=o.suggestedPresentationDelay,d=o.minimumUpdatePeriod,h=nb(n.filter(sb)).map(ab),f=nb(n.filter(ob)),p=nb(n.filter(lb)),m=n.map((function(e){return e.attributes.captionServices})).filter(Boolean),g={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(t={AUDIO:{},VIDEO:{}},t["CLOSED-CAPTIONS"]={},t.SUBTITLES={},t),uri:"",duration:l,playlists:ib(h,a)};d>=0&&(g.minimumUpdatePeriod=1e3*d),r&&(g.locations=r),"dynamic"===u&&(g.suggestedPresentationDelay=c);var v,y,_=0===g.playlists.length,b=f.length?function(e,t,n){var r;void 0===t&&(t={}),void 0===n&&(n=!1);var i=e.reduce((function(e,i){var a=i.attributes.role&&i.attributes.role.value||"",s=i.attributes.lang||"",o=i.attributes.label||"main";if(s&&!i.attributes.label){var l=a?" ("+a+")":"";o=""+i.attributes.lang+l}e[o]||(e[o]={language:s,autoselect:!0,default:"main"===a,playlists:[],uri:""});var u=rb(function(e,t){var n,r=e.attributes,i=e.segments,a=e.sidx,s=e.mediaSequence,o=e.discontinuitySequence,l=e.discontinuityStarts,u={attributes:(n={NAME:r.id,BANDWIDTH:r.bandwidth,CODECS:r.codecs},n["PROGRAM-ID"]=1,n),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuitySequence:o,discontinuityStarts:l,timelineStarts:r.timelineStarts,mediaSequence:s,segments:i};return r.contentProtection&&(u.contentProtection=r.contentProtection),a&&(u.sidx=a),t&&(u.attributes.AUDIO="audio",u.attributes.SUBTITLES="subs"),u}(i,n),t);return e[o].playlists.push(u),"undefined"===typeof r&&"main"===a&&((r=i).default=!0),e}),{});return r||(i[Object.keys(i)[0]].default=!0),i}(f,a,_):null,x=p.length?function(e,t){return void 0===t&&(t={}),e.reduce((function(e,n){var r=n.attributes.lang||"text";return e[r]||(e[r]={language:r,default:!1,autoselect:!1,playlists:[],uri:""}),e[r].playlists.push(rb(function(e){var t,n=e.attributes,r=e.segments,i=e.mediaSequence,a=e.discontinuityStarts,s=e.discontinuitySequence;"undefined"===typeof r&&(r=[{uri:n.baseUrl,timeline:n.periodStart,resolvedUri:n.baseUrl||"",duration:n.sourceDuration,number:0}],n.duration=n.sourceDuration);var o=((t={NAME:n.id,BANDWIDTH:n.bandwidth})["PROGRAM-ID"]=1,t);return n.codecs&&(o.CODECS=n.codecs),{attributes:o,uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:n.baseUrl||"",targetDuration:n.duration,timelineStarts:n.timelineStarts,discontinuityStarts:a,discontinuitySequence:s,mediaSequence:i,segments:r}}(n),t)),e}),{})}(p,a):null,T=h.concat(ub(b),ub(x)),w=T.map((function(e){return e.timelineStarts}));return g.timelineStarts=Q_(w),v=T,y=g.timelineStarts,v.forEach((function(e){e.mediaSequence=0,e.discontinuitySequence=j_(y,(function(t){return t.timeline===e.timeline})),e.segments&&e.segments.forEach((function(e,t){e.number=t}))})),b&&(g.mediaGroups.AUDIO.audio=b),x&&(g.mediaGroups.SUBTITLES.subs=x),m.length&&(g.mediaGroups["CLOSED-CAPTIONS"].cc=m.reduce((function(e,t){return t?(t.forEach((function(t){var n=t.channel,r=t.language;e[r]={autoselect:!1,default:!1,instreamId:n,language:r},t.hasOwnProperty("aspectRatio")&&(e[r].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[r].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[r]["3D"]=t["3D"])})),e):e}),{})),s?eb({oldManifest:s,newManifest:g}):g},db=function(e,t,n){var r=e.NOW,i=e.clientOffset,a=e.availabilityStartTime,s=e.timescale,o=void 0===s?1:s,l=e.periodStart,u=void 0===l?0:l,c=e.minimumUpdatePeriod,d=(r+i)/1e3+(void 0===c?0:c)-(a+u);return Math.ceil((d*o-t)/n)},hb=function(e,t){for(var n=e.type,r=e.minimumUpdatePeriod,i=void 0===r?0:r,a=e.media,s=void 0===a?"":a,o=e.sourceDuration,l=e.timescale,u=void 0===l?1:l,c=e.startNumber,d=void 0===c?1:c,h=e.periodStart,f=[],p=-1,m=0;m<t.length;m++){var g=t[m],v=g.d,y=g.r||0,_=g.t||0;p<0&&(p=_),_&&_>p&&(p=_);var b=void 0;if(y<0){var x=m+1;b=x===t.length?"dynamic"===n&&i>0&&s.indexOf("$Number$")>0?db(e,p,v):(o*u-p)/v:(t[x].t-p)/v}else b=y+1;for(var T=d+f.length+b,w=d+f.length;w<T;)f.push({number:w,duration:v/u,time:p,timeline:h}),p+=v,w++}return f},fb=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,pb=function(e,t){return e.replace(fb,function(e){return function(t,n,r,i){if("$$"===t)return"$";if("undefined"===typeof e[n])return t;var a=""+e[n];return"RepresentationID"===n?a:(i=r?parseInt(i,10):1,a.length>=i?a:""+new Array(i-a.length+1).join("0")+a)}}(t))},mb=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},r=e.initialization,i=void 0===r?{sourceURL:"",range:""}:r,a=H_({baseUrl:e.baseUrl,source:pb(i.sourceURL,n),range:i.range}),s=function(e,t){return e.duration||t?e.duration?Y_(e):hb(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}]}(e,t);return s.map((function(t){n.Number=t.number,n.Time=t.time;var r=pb(e.media||"",n),i=e.timescale||1,s=e.presentationTimeOffset||0,o=e.periodStart+(t.time-s)/i;return{uri:r,timeline:t.timeline,duration:t.duration,resolvedUri:$y(e.baseUrl||"",r),map:a,number:t.number,presentationTime:o}}))},gb=function(e,t){var n=e.duration,r=e.segmentUrls,i=void 0===r?[]:r,a=e.periodStart;if(!n&&!t||n&&t)throw new Error(z_);var s,o=i.map((function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,i=void 0===r?{}:r,a=H_({baseUrl:n,source:i.sourceURL,range:i.range}),s=H_({baseUrl:n,source:t.media,range:t.mediaRange});return s.map=a,s}(e,t)}));return n&&(s=Y_(e)),t&&(s=hb(e,t)),s.map((function(t,n){if(o[n]){var r=o[n],i=e.timescale||1,s=e.presentationTimeOffset||0;return r.timeline=t.timeline,r.duration=t.duration,r.number=t.number,r.presentationTime=a+(t.time-s)/i,r}})).filter((function(e){return e}))},vb=function(e){var t,n,r=e.attributes,i=e.segmentInfo;i.template?(n=mb,t=M_(r,i.template)):i.base?(n=X_,t=M_(r,i.base)):i.list&&(n=gb,t=M_(r,i.list));var a={attributes:r};if(!n)return a;var s=n(t,i.segmentTimeline);if(t.duration){var o=t,l=o.duration,u=o.timescale,c=void 0===u?1:u;t.duration=l/c}else s.length?t.duration=s.reduce((function(e,t){return Math.max(e,Math.ceil(t.duration))}),0):t.duration=0;return a.attributes=t,a.segments=s,i.base&&t.indexRange&&(a.sidx=s[0],a.segments=[]),a},yb=function(e,t){return L_(e.childNodes).filter((function(e){return e.tagName===t}))},_b=function(e){return e.textContent.trim()},bb=function(e){var t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;var n=t.slice(1),r=n[0],i=n[1],a=n[2],s=n[3],o=n[4],l=n[5];return 31536e3*parseFloat(r||0)+2592e3*parseFloat(i||0)+86400*parseFloat(a||0)+3600*parseFloat(s||0)+60*parseFloat(o||0)+parseFloat(l||0)},xb={mediaPresentationDuration:function(e){return bb(e)},availabilityStartTime:function(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:function(e){return bb(e)},suggestedPresentationDelay:function(e){return bb(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return bb(e)},start:function(e){return bb(e)},width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},frameRate:function(e){return function(e){return parseFloat(e.split("/").reduce((function(e,t){return e/t})))}(e)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},presentationTimeOffset:function(e){return parseInt(e,10)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?bb(e):t},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},Tb=function(e){return e&&e.attributes?L_(e.attributes).reduce((function(e,t){var n=xb[t.name]||xb.DEFAULT;return e[t.name]=n(t.value),e}),{}):{}},wb={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},Sb=function(e,t){return t.length?R_(e.map((function(e){return t.map((function(t){return $y(e,_b(t))}))}))):e},Eb=function(e){var t=yb(e,"SegmentTemplate")[0],n=yb(e,"SegmentList")[0],r=n&&yb(n,"SegmentURL").map((function(e){return M_({tag:"SegmentURL"},Tb(e))})),i=yb(e,"SegmentBase")[0],a=n||t,s=a&&yb(a,"SegmentTimeline")[0],o=n||i||t,l=o&&yb(o,"Initialization")[0],u=t&&Tb(t);u&&l?u.initialization=l&&Tb(l):u&&u.initialization&&(u.initialization={sourceURL:u.initialization});var c={template:u,segmentTimeline:s&&yb(s,"S").map((function(e){return Tb(e)})),list:n&&M_(Tb(n),{segmentUrls:r,initialization:Tb(l)}),base:i&&M_(Tb(i),{initialization:Tb(l)})};return Object.keys(c).forEach((function(e){c[e]||delete c[e]})),c},kb=function(e,t,n){return function(r){var i,a=Tb(r),s=Sb(t,yb(r,"BaseURL")),o=yb(r,"Role")[0],l={role:Tb(o)},u=M_(e,a,l),c=yb(r,"Accessibility")[0],d="urn:scte:dash:cc:cea-608:2015"===(i=Tb(c)).schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(e){var t,n;if(n=e,/^CC\d=/.test(e)){var r=e.split("=");t=r[0],n=r[1]}else/^CC\d$/.test(e)&&(t=e);return{channel:t,language:n}})):"urn:scte:dash:cc:cea-708:2015"===i.schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(e){var t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){var n=e.split("="),r=n[0],i=n[1],a=void 0===i?"":i;t.channel=r,t.language=e,a.split(",").forEach((function(e){var n=e.split(":"),r=n[0],i=n[1];"lang"===r?t.language=i:"er"===r?t.easyReader=Number(i):"war"===r?t.aspectRatio=Number(i):"3D"===r&&(t["3D"]=Number(i))}))}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t})):void 0;d&&(u=M_(u,{captionServices:d}));var h=yb(r,"Label")[0];if(h&&h.childNodes.length){var f=h.childNodes[0].nodeValue.trim();u=M_(u,{label:f})}var p=yb(r,"ContentProtection").reduce((function(e,t){var n=Tb(t);n.schemeIdUri&&(n.schemeIdUri=n.schemeIdUri.toLowerCase());var r=wb[n.schemeIdUri];if(r){e[r]={attributes:n};var i=yb(t,"cenc:pssh")[0];if(i){var a=_b(i);e[r].pssh=a&&e_(a)}}return e}),{});Object.keys(p).length&&(u=M_(u,{contentProtection:p}));var m=Eb(r),g=yb(r,"Representation"),v=M_(n,m);return R_(g.map(function(e,t,n){return function(r){var i=yb(r,"BaseURL"),a=Sb(t,i),s=M_(e,Tb(r)),o=Eb(r);return a.map((function(e){return{segmentInfo:M_(n,o),attributes:M_(s,{baseUrl:e})}}))}}(u,s,v)))}},Cb=function(e,t){return function(n,r){var i=Sb(t,yb(n.node,"BaseURL")),a=M_(e,{periodStart:n.attributes.start});"number"===typeof n.attributes.duration&&(a.periodDuration=n.attributes.duration);var s=yb(n.node,"AdaptationSet"),o=Eb(n.node);return R_(s.map(kb(a,i,o)))}},Pb=function(e){if(""===e)throw new Error(B_);var t,n,r=new O_.DOMParser;try{n=(t=r.parseFromString(e,"application/xml"))&&"MPD"===t.documentElement.tagName?t.documentElement:null}catch(i){}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(U_);return n},Ab=function(e,t){void 0===t&&(t={});var n=function(e,t){void 0===t&&(t={});var n=t,r=n.manifestUri,i=void 0===r?"":r,a=n.NOW,s=void 0===a?Date.now():a,o=n.clientOffset,l=void 0===o?0:o,u=yb(e,"Period");if(!u.length)throw new Error(F_);var c=yb(e,"Location"),d=Tb(e),h=Sb([i],yb(e,"BaseURL"));d.type=d.type||"static",d.sourceDuration=d.mediaPresentationDuration||0,d.NOW=s,d.clientOffset=l,c.length&&(d.locations=c.map(_b));var f=[];return u.forEach((function(e,t){var n=Tb(e),r=f[t-1];n.start=function(e){var t=e.attributes,n=e.priorPeriodAttributes,r=e.mpdType;return"number"===typeof t.start?t.start:n&&"number"===typeof n.start&&"number"===typeof n.duration?n.start+n.duration:n||"static"!==r?null:0}({attributes:n,priorPeriodAttributes:r?r.attributes:null,mpdType:d.type}),f.push({node:e,attributes:n})})),{locations:d.locations,representationInfo:R_(f.map(Cb(d,h)))}}(Pb(e),t),r=n.representationInfo.map(vb);return cb({dashPlaylists:r,locations:n.locations,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest})},Ib=function(e){return function(e){var t=yb(e,"UTCTiming")[0];if(!t)return null;var n=Tb(t);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;default:throw new Error(G_)}return n}(Pb(e))},Ob=__webpack_require__(8857),Db=__webpack_require__.n(Ob),Mb=S_([73,68,51]),Nb=function e(t,n){return void 0===n&&(n=0),(t=S_(t)).length-n<10||!I_(t,Mb,{offset:n})?n:(n+=function(e,t){void 0===t&&(t=0);var n=(e=S_(e))[t+5],r=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&n)>>4?r+20:r+10}(t,n),e(t,n))},Rb=(new Uint8Array([79,112,117,115,72,101,97,100]),function(e){return"string"===typeof e?A_(e):e}),Lb=function(e){e=S_(e);for(var t=[],n=0;e.length>n;){var r=e[n],i=0,a=0,s=e[++a];for(a++;128&s;)i=(127&s)<<7,s=e[a],a++;i+=127&s;for(var o=0;o<t_.length;o++){var l=t_[o],u=l.id,c=l.parser;if(r===u){t.push(c(e.subarray(a,a+i)));break}}n+=i+a}return t};t_=[{id:3,parser:function(e){var t={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&t.flags&&(t.dependsOnEsId=e[t.size]<<8|e[t.size+1],t.size+=2),64&t.flags){var n=e[t.size];t.url=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,S_(e));try{return decodeURIComponent(escape(t))}catch(n){}return t}(e.subarray(t.size+1,t.size+1+n)),t.size+=n}return 32&t.flags&&(t.ocrEsId=e[t.size]<<8|e[t.size+1],t.size+=2),t.descriptors=Lb(e.subarray(t.size))||[],t}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:Lb(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var jb=function e(t,n,r){void 0===r&&(r=!1),n=function(e){return Array.isArray(e)?e.map((function(e){return Rb(e)})):[Rb(e)]}(n),t=S_(t);var i=[];if(!n.length)return i;for(var a=0;a<t.length;){var s=(t[a]<<24|t[a+1]<<16|t[a+2]<<8|t[a+3])>>>0,o=t.subarray(a+4,a+8);if(0===s)break;var l=a+s;if(l>t.length){if(r)break;l=t.length}var u=t.subarray(a+8,l);I_(o,n[0])&&(1===n.length?i.push(u):i.push.apply(i,e(u,n.slice(1),r))),a=l}return i},Fb={EBML:S_([26,69,223,163]),DocType:S_([66,130]),Segment:S_([24,83,128,103]),SegmentInfo:S_([21,73,169,102]),Tracks:S_([22,84,174,107]),Track:S_([174]),TrackNumber:S_([215]),DefaultDuration:S_([35,227,131]),TrackEntry:S_([174]),TrackType:S_([131]),FlagDefault:S_([136]),CodecID:S_([134]),CodecPrivate:S_([99,162]),VideoTrack:S_([224]),AudioTrack:S_([225]),Cluster:S_([31,67,182,117]),Timestamp:S_([231]),TimestampScale:S_([42,215,177]),BlockGroup:S_([160]),BlockDuration:S_([155]),Block:S_([161]),SimpleBlock:S_([163])},Bb=[128,64,32,16,8,4,2,1],Ub=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var i=function(e){for(var t=1,n=0;n<Bb.length&&!(e&Bb[n]);n++)t++;return t}(e[t]),a=e.subarray(t,t+i);return n&&((a=Array.prototype.slice.call(e,t,t+i))[0]^=Bb[i-1]),{length:i,value:C_(a,{signed:r}),bytes:a}},Vb=function e(t){return"string"===typeof t?t.match(/.{1,2}/g).map((function(t){return e(t)})):"number"===typeof t?P_(t):t},zb=function e(t,n,r){if(r>=n.length)return n.length;var i=Ub(n,r,!1);if(I_(t.bytes,i.bytes))return r;var a=Ub(n,r+i.length);return e(t,n,r+a.length+a.value+i.length)},Gb=function e(t,n){n=function(e){return Array.isArray(e)?e.map((function(e){return Vb(e)})):[Vb(e)]}(n),t=S_(t);var r=[];if(!n.length)return r;for(var i=0;i<t.length;){var a=Ub(t,i,!1),s=Ub(t,i+a.length),o=i+a.length+s.length;127===s.value&&(s.value=zb(a,t,o),s.value!==t.length&&(s.value-=o));var l=o+s.value>t.length?t.length:o+s.value,u=t.subarray(o,l);I_(n[0],a.bytes)&&(1===n.length?r.push(u):r=r.concat(e(u,n.slice(1)))),i+=a.length+s.length+u.length}return r},Hb=S_([0,0,0,1]),Wb=S_([0,0,1]),qb=S_([0,0,3]),Yb=function(e){for(var t=[],n=1;n<e.length-2;)I_(e.subarray(n,n+3),qb)&&(t.push(n+2),n++),n++;if(0===t.length)return e;var r=e.length-t.length,i=new Uint8Array(r),a=0;for(n=0;n<r;a++,n++)a===t[0]&&(a++,t.shift()),i[n]=e[a];return i},Xb=function(e,t,n,r){void 0===r&&(r=1/0),e=S_(e),n=[].concat(n);for(var i,a=0,s=0;a<e.length&&(s<r||i);){var o=void 0;if(I_(e.subarray(a),Hb)?o=4:I_(e.subarray(a),Wb)&&(o=3),o){if(s++,i)return Yb(e.subarray(i,a));var l=void 0;"h264"===t?l=31&e[a+o]:"h265"===t&&(l=e[a+o]>>1&63),-1!==n.indexOf(l)&&(i=a+o),a+=o+("h264"===t?1:2)}else a++}return e.subarray(0,0)},Zb={webm:S_([119,101,98,109]),matroska:S_([109,97,116,114,111,115,107,97]),flac:S_([102,76,97,67]),ogg:S_([79,103,103,83]),ac3:S_([11,119]),riff:S_([82,73,70,70]),avi:S_([65,86,73]),wav:S_([87,65,86,69]),"3gp":S_([102,116,121,112,51,103]),mp4:S_([102,116,121,112]),fmp4:S_([115,116,121,112]),mov:S_([102,116,121,112,113,116]),moov:S_([109,111,111,118]),moof:S_([109,111,111,102])},Kb={aac:function(e){var t=Nb(e);return I_(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=Nb(e);return I_(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=Gb(e,[Fb.EBML,Fb.DocType])[0];return I_(t,Zb.webm)},mkv:function(e){var t=Gb(e,[Fb.EBML,Fb.DocType])[0];return I_(t,Zb.matroska)},mp4:function(e){return!Kb["3gp"](e)&&!Kb.mov(e)&&(!(!I_(e,Zb.mp4,{offset:4})&&!I_(e,Zb.fmp4,{offset:4}))||(!(!I_(e,Zb.moof,{offset:4})&&!I_(e,Zb.moov,{offset:4}))||void 0))},mov:function(e){return I_(e,Zb.mov,{offset:4})},"3gp":function(e){return I_(e,Zb["3gp"],{offset:4})},ac3:function(e){var t=Nb(e);return I_(e,Zb.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var t=0;t+188<e.length&&t<188;){if(71===e[t]&&71===e[t+188])return!0;t+=1}return!1},flac:function(e){var t=Nb(e);return I_(e,Zb.flac,{offset:t})},ogg:function(e){return I_(e,Zb.ogg)},avi:function(e){return I_(e,Zb.riff)&&I_(e,Zb.avi,{offset:8})},wav:function(e){return I_(e,Zb.riff)&&I_(e,Zb.wav,{offset:8})},h264:function(e){return function(e,t,n){return Xb(e,"h264",t,n)}(e,7,3).length},h265:function(e){return function(e,t,n){return Xb(e,"h265",t,n)}(e,[32,33],3).length}},Qb=Object.keys(Kb).filter((function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e})).concat(["ts","h264","h265"]);Qb.forEach((function(e){var t=Kb[e];Kb[e]=function(e){return t(S_(e))}}));for(var $b,Jb=Kb,ex=function(e){e=S_(e);for(var t=0;t<Qb.length;t++){var n=Qb[t];if(Jb[n](e))return n}return""},tx=__webpack_require__(3474),nx="7.21.1",rx={},ix=function(e,t){return rx[e]=rx[e]||[],t&&(rx[e]=rx[e].concat(t)),rx[e]},ax=function(e,t){var n=ix(e).indexOf(t);return!(n<=-1)&&(rx[e]=rx[e].slice(),rx[e].splice(n,1),!0)},sx={prefixed:!0},ox=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],lx=ox[0],ux=0;ux<ox.length;ux++)if(ox[ux][1]in Fy()){$b=ox[ux];break}if($b){for(var cx=0;cx<$b.length;cx++)sx[lx[cx]]=$b[cx];sx.prefixed=$b[0]!==lx[0]}var dx=[];var hx=function e(t){var n,r="info",i=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];n("log",r,t)};return n=function(e,t){return function(n,r,i){var a=t.levels[r],s=new RegExp("^("+a+")$");if("log"!==n&&i.unshift(n.toUpperCase()+":"),i.unshift(e+":"),dx){dx.push([].concat(i));var o=dx.length-1e3;dx.splice(0,o>0?o:0)}if(Ly().console){var l=Ly().console[n];l||"debug"!==n||(l=Ly().console.info||Ly().console.log),l&&a&&s.test(n)&&l[Array.isArray(i)?"apply":"call"](Ly().console,i)}}}(t,i),i.createLogger=function(n){return e(t+": "+n)},i.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},i.level=function(e){if("string"===typeof e){if(!i.levels.hasOwnProperty(e))throw new Error('"'+e+'" in not a valid log level');r=e}return r},(i.history=function(){return dx?[].concat(dx):[]}).filter=function(e){return(dx||[]).filter((function(t){return new RegExp(".*"+e+".*").test(t[0])}))},i.history.clear=function(){dx&&(dx.length=0)},i.history.disable=function(){null!==dx&&(dx.length=0,dx=null)},i.history.enable=function(){null===dx&&(dx=[])},i.error=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n("error",r,t)},i.warn=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n("warn",r,t)},i.debug=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n("debug",r,t)},i}("VIDEOJS"),fx=hx.createLogger,px=Object.prototype.toString,mx=function(e){return yx(e)?Object.keys(e):[]};function gx(e,t){mx(e).forEach((function(n){return t(e[n],n)}))}function vx(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.assign?By.Z.apply(void 0,[e].concat(n)):(n.forEach((function(t){t&&gx(t,(function(t,n){e[n]=t}))})),e)}function yx(e){return!!e&&"object"===typeof e}function _x(e){return yx(e)&&"[object Object]"===px.call(e)&&e.constructor===Object}function bx(e,t){if(!e||!t)return"";if("function"===typeof Ly().getComputedStyle){var n;try{n=Ly().getComputedStyle(e)}catch(r){return""}return n?n.getPropertyValue(t)||n[t]:""}return""}var xx=Ly().navigator&&Ly().navigator.userAgent||"",Tx=/AppleWebKit\/([\d.]+)/i.exec(xx),wx=Tx?parseFloat(Tx.pop()):null,Sx=/iPod/i.test(xx),Ex=function(){var e=xx.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null}(),kx=/Android/i.test(xx),Cx=function(){var e=xx.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),Px=kx&&Cx<5&&wx<537,Ax=/Firefox/i.test(xx),Ix=/Edg/i.test(xx),Ox=!Ix&&(/Chrome/i.test(xx)||/CriOS/i.test(xx)),Dx=function(){var e=xx.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),Mx=function(){var e=/MSIE\s(\d+)\.\d/.exec(xx),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(xx)&&/rv:11.0/.test(xx)&&(t=11),t}(),Nx=/Safari/i.test(xx)&&!Ox&&!kx&&!Ix,Rx=/Windows/i.test(xx),Lx=Boolean(Hx()&&("ontouchstart"in Ly()||Ly().navigator.maxTouchPoints||Ly().DocumentTouch&&Ly().document instanceof Ly().DocumentTouch)),jx=/iPad/i.test(xx)||Nx&&Lx&&!/iPhone/i.test(xx),Fx=/iPhone/i.test(xx)&&!jx,Bx=Fx||jx||Sx,Ux=(Nx||Bx)&&!Ox,Vx=Object.freeze({__proto__:null,IS_IPOD:Sx,IOS_VERSION:Ex,IS_ANDROID:kx,ANDROID_VERSION:Cx,IS_NATIVE_ANDROID:Px,IS_FIREFOX:Ax,IS_EDGE:Ix,IS_CHROME:Ox,CHROME_VERSION:Dx,IE_VERSION:Mx,IS_SAFARI:Nx,IS_WINDOWS:Rx,TOUCH_ENABLED:Lx,IS_IPAD:jx,IS_IPHONE:Fx,IS_IOS:Bx,IS_ANY_SAFARI:Ux});function zx(e){return"string"===typeof e&&Boolean(e.trim())}function Gx(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function Hx(){return Fy()===Ly().document}function Wx(e){return yx(e)&&1===e.nodeType}function qx(){try{return Ly().parent!==Ly().self}catch(e){return!0}}function Yx(e){return function(t,n){if(!zx(t))return Fy()[e](null);zx(n)&&(n=Fy().querySelector(n));var r=Wx(n)?n:Fy();return r[e]&&r[e](t)}}function Xx(e,t,n,r){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={});var i=Fy().createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(hx.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+e+" to "+n+"."),i.setAttribute(e,n)):"textContent"===e?Zx(i,n):i[e]===n&&"tabIndex"!==e||(i[e]=n)})),Object.getOwnPropertyNames(n).forEach((function(e){i.setAttribute(e,n[e])})),r&&pT(i,r),i}function Zx(e,t){return"undefined"===typeof e.textContent?e.innerText=t:e.textContent=t,e}function Kx(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function Qx(e,t){return Gx(t),e.classList?e.classList.contains(t):(n=t,new RegExp("(^|\\s)"+n+"($|\\s)")).test(e.className);var n}function $x(e,t){return e.classList?e.classList.add(t):Qx(e,t)||(e.className=(e.className+" "+t).trim()),e}function Jx(e,t){return e?(e.classList?e.classList.remove(t):(Gx(t),e.className=e.className.split(/\s+/).filter((function(e){return e!==t})).join(" ")),e):(hx.warn("removeClass was called with an element that doesn't exist"),null)}function eT(e,t,n){var r=Qx(e,t);if("function"===typeof n&&(n=n(e,t)),"boolean"!==typeof n&&(n=!r),n!==r)return n?$x(e,t):Jx(e,t),e}function tT(e,t){Object.getOwnPropertyNames(t).forEach((function(n){var r=t[n];null===r||"undefined"===typeof r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)}))}function nT(e){var t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,i=r.length-1;i>=0;i--){var a=r[i].name,s=r[i].value;"boolean"!==typeof e[a]&&-1===n.indexOf(","+a+",")||(s=null!==s),t[a]=s}return t}function rT(e,t){return e.getAttribute(t)}function iT(e,t,n){e.setAttribute(t,n)}function aT(e,t){e.removeAttribute(t)}function sT(){Fy().body.focus(),Fy().onselectstart=function(){return!1}}function oT(){Fy().onselectstart=function(){return!0}}function lT(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((function(e){void 0!==t[e]&&(n[e]=t[e])})),n.height||(n.height=parseFloat(bx(e,"height"))),n.width||(n.width=parseFloat(bx(e,"width"))),n}}function uT(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};for(var t=e.offsetWidth,n=e.offsetHeight,r=0,i=0;e.offsetParent&&e!==Fy()[sx.fullscreenElement];)r+=e.offsetLeft,i+=e.offsetTop,e=e.offsetParent;return{left:r,top:i,width:t,height:n}}function cT(e,t){var n={x:0,y:0};if(Bx)for(var r=e;r&&"html"!==r.nodeName.toLowerCase();){var i=bx(r,"transform");if(/^matrix/.test(i)){var a=i.slice(7,-1).split(/,\s/).map(Number);n.x+=a[4],n.y+=a[5]}else if(/^matrix3d/.test(i)){var s=i.slice(9,-1).split(/,\s/).map(Number);n.x+=s[12],n.y+=s[13]}r=r.parentNode}var o={},l=uT(t.target),u=uT(e),c=u.width,d=u.height,h=t.offsetY-(u.top-l.top),f=t.offsetX-(u.left-l.left);return t.changedTouches&&(f=t.changedTouches[0].pageX-u.left,h=t.changedTouches[0].pageY+u.top,Bx&&(f-=n.x,h-=n.y)),o.y=1-Math.max(0,Math.min(1,h/d)),o.x=Math.max(0,Math.min(1,f/c)),o}function dT(e){return yx(e)&&3===e.nodeType}function hT(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function fT(e){return"function"===typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((function(e){return"function"===typeof e&&(e=e()),Wx(e)||dT(e)?e:"string"===typeof e&&/\S/.test(e)?Fy().createTextNode(e):void 0})).filter((function(e){return e}))}function pT(e,t){return fT(t).forEach((function(t){return e.appendChild(t)})),e}function mT(e,t){return pT(hT(e),t)}function gT(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||("mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons))}var vT,yT=Yx("querySelector"),_T=Yx("querySelectorAll"),bT=Object.freeze({__proto__:null,isReal:Hx,isEl:Wx,isInFrame:qx,createEl:Xx,textContent:Zx,prependTo:Kx,hasClass:Qx,addClass:$x,removeClass:Jx,toggleClass:eT,setAttributes:tT,getAttributes:nT,getAttribute:rT,setAttribute:iT,removeAttribute:aT,blockTextSelection:sT,unblockTextSelection:oT,getBoundingClientRect:lT,findPosition:uT,getPointerPosition:cT,isTextNode:dT,emptyEl:hT,normalizeContent:fT,appendContent:pT,insertContent:mT,isSingleLeftClick:gT,$:yT,$$:_T}),xT=!1,TT=function(){if(!1!==vT.options.autoSetup){var e=Array.prototype.slice.call(Fy().getElementsByTagName("video")),t=Array.prototype.slice.call(Fy().getElementsByTagName("audio")),n=Array.prototype.slice.call(Fy().getElementsByTagName("video-js")),r=e.concat(t,n);if(r&&r.length>0)for(var i=0,a=r.length;i<a;i++){var s=r[i];if(!s||!s.getAttribute){wT(1);break}void 0===s.player&&null!==s.getAttribute("data-setup")&&vT(s)}else xT||wT(1)}};function wT(e,t){Hx()&&(t&&(vT=t),Ly().setTimeout(TT,e))}function ST(){xT=!0,Ly().removeEventListener("load",ST)}Hx()&&("complete"===Fy().readyState?ST():Ly().addEventListener("load",ST));var ET,kT=function(e){var t=Fy().createElement("style");return t.className=e,t},CT=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t},PT=3;function AT(){return PT++}Ly().WeakMap||(ET=function(){function e(){this.vdata="vdata"+Math.floor(Ly().performance&&Ly().performance.now()||Date.now()),this.data={}}var t=e.prototype;return t.set=function(e,t){var n=e[this.vdata]||AT();return e[this.vdata]||(e[this.vdata]=n),this.data[n]=t,this},t.get=function(e){var t=e[this.vdata];if(t)return this.data[t];hx("We have no data for this element",e)},t.has=function(e){return e[this.vdata]in this.data},t.delete=function(e){var t=e[this.vdata];t&&(delete this.data[t],delete e[this.vdata])},e}());var IT,OT=Ly().WeakMap?new WeakMap:new ET;function DT(e,t){if(OT.has(e)){var n=OT.get(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&OT.delete(e)}}function MT(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function NT(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped||!e.isImmediatePropagationStopped){var r=e||Ly().event;for(var i in e={},r)"layerX"!==i&&"layerY"!==i&&"keyLocation"!==i&&"webkitMovementX"!==i&&"webkitMovementY"!==i&&"path"!==i&&("returnValue"===i&&r.preventDefault||(e[i]=r[i]));if(e.target||(e.target=e.srcElement||Fy()),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var a=Fy().documentElement,s=Fy().body;e.pageX=e.clientX+(a&&a.scrollLeft||s&&s.scrollLeft||0)-(a&&a.clientLeft||s&&s.clientLeft||0),e.pageY=e.clientY+(a&&a.scrollTop||s&&s.scrollTop||0)-(a&&a.clientTop||s&&s.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e.fixed_=!0,e}var RT=["touchstart","touchmove"];function LT(e,t,n){if(Array.isArray(t))return MT(LT,e,t,n);OT.has(e)||OT.set(e,{});var r=OT.get(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=AT()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=NT(t);var i=r.handlers[t.type];if(i)for(var a=i.slice(0),s=0,o=a.length;s<o&&!t.isImmediatePropagationStopped();s++)try{a[s].call(e,t,n)}catch(l){hx.error(l)}}}),1===r.handlers[t].length)if(e.addEventListener){var i=!1;(function(){if("boolean"!==typeof IT){IT=!1;try{var e=Object.defineProperty({},"passive",{get:function(){IT=!0}});Ly().addEventListener("test",null,e),Ly().removeEventListener("test",null,e)}catch(t){}}return IT})()&&RT.indexOf(t)>-1&&(i={passive:!0}),e.addEventListener(t,r.dispatcher,i)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function jT(e,t,n){if(OT.has(e)){var r=OT.get(e);if(r.handlers){if(Array.isArray(t))return MT(jT,e,t,n);var i=function(e,t){r.handlers[t]=[],DT(e,t)};if(void 0!==t){var a=r.handlers[t];if(a)if(n){if(n.guid)for(var s=0;s<a.length;s++)a[s].guid===n.guid&&a.splice(s--,1);DT(e,t)}else i(e,t)}else for(var o in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},o)&&i(e,o)}}}function FT(e,t,n){var r=OT.has(e)?OT.get(e):{},i=e.parentNode||e.ownerDocument;if("string"===typeof t?t={type:t,target:e}:t.target||(t.target=e),t=NT(t),r.dispatcher&&r.dispatcher.call(e,t,n),i&&!t.isPropagationStopped()&&!0===t.bubbles)FT.call(null,i,t,n);else if(!i&&!t.defaultPrevented&&t.target&&t.target[t.type]){OT.has(t.target)||OT.set(t.target,{});var a=OT.get(t.target);t.target[t.type]&&(a.disabled=!0,"function"===typeof t.target[t.type]&&t.target[t.type](),a.disabled=!1)}return!t.defaultPrevented}function BT(e,t,n){if(Array.isArray(t))return MT(BT,e,t,n);var r=function r(){jT(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||AT(),LT(e,t,r)}function UT(e,t,n){var r=function r(){jT(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||AT(),LT(e,t,r)}var VT,zT=Object.freeze({__proto__:null,fixEvent:NT,on:LT,off:jT,trigger:FT,one:BT,any:UT}),GT=30,HT=function(e,t,n){t.guid||(t.guid=AT());var r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},WT=function(e,t){var n=Ly().performance.now();return function(){var r=Ly().performance.now();r-n>=t&&(e.apply(void 0,arguments),n=r)}},qT=function(){};qT.prototype.allowedEvents_={},qT.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},LT(this,e,t),this.addEventListener=n},qT.prototype.addEventListener=qT.prototype.on,qT.prototype.off=function(e,t){jT(this,e,t)},qT.prototype.removeEventListener=qT.prototype.off,qT.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},BT(this,e,t),this.addEventListener=n},qT.prototype.any=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},UT(this,e,t),this.addEventListener=n},qT.prototype.trigger=function(e){var t=e.type||e;"string"===typeof e&&(e={type:t}),e=NT(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),FT(this,e)},qT.prototype.dispatchEvent=qT.prototype.trigger,qT.prototype.queueTrigger=function(e){var t=this;VT||(VT=new Map);var n=e.type||e,r=VT.get(this);r||(r=new Map,VT.set(this,r));var i=r.get(n);r.delete(n),Ly().clearTimeout(i);var a=Ly().setTimeout((function(){r.delete(n),0===r.size&&(r=null,VT.delete(t)),t.trigger(e)}),0);r.set(n,a)};var YT=function(e){return"function"===typeof e.name?e.name():"string"===typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:typeof e},XT=function(e){return e instanceof qT||!!e.eventBusEl_&&["on","one","off","trigger"].every((function(t){return"function"===typeof e[t]}))},ZT=function(e){return"string"===typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},KT=function(e,t,n){if(!e||!e.nodeName&&!XT(e))throw new Error("Invalid target for "+YT(t)+"#"+n+"; must be a DOM node or evented object.")},QT=function(e,t,n){if(!ZT(e))throw new Error("Invalid event type for "+YT(t)+"#"+n+"; must be a non-empty string or array.")},$T=function(e,t,n){if("function"!==typeof e)throw new Error("Invalid listener for "+YT(t)+"#"+n+"; must be a function.")},JT=function(e,t,n){var r,i,a,s=t.length<3||t[0]===e||t[0]===e.eventBusEl_;return s?(r=e.eventBusEl_,t.length>=3&&t.shift(),i=t[0],a=t[1]):(r=t[0],i=t[1],a=t[2]),KT(r,e,n),QT(i,e,n),$T(a,e,n),{isTargetingSelf:s,target:r,type:i,listener:a=HT(e,a)}},ew=function(e,t,n,r){KT(e,e,t),e.nodeName?zT[t](e,n,r):e[t](n,r)},tw={on:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=JT(this,n,"on"),a=i.isTargetingSelf,s=i.target,o=i.type,l=i.listener;if(ew(s,"on",o,l),!a){var u=function(){return e.off(s,o,l)};u.guid=l.guid;var c=function(){return e.off("dispose",u)};c.guid=l.guid,ew(this,"on","dispose",u),ew(s,"on","dispose",c)}},one:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=JT(this,n,"one"),a=i.isTargetingSelf,s=i.target,o=i.type,l=i.listener;if(a)ew(s,"one",o,l);else{var u=function t(){e.off(s,o,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];l.apply(null,r)};u.guid=l.guid,ew(s,"one",o,u)}},any:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=JT(this,n,"any"),a=i.isTargetingSelf,s=i.target,o=i.type,l=i.listener;if(a)ew(s,"any",o,l);else{var u=function t(){e.off(s,o,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];l.apply(null,r)};u.guid=l.guid,ew(s,"any",o,u)}},off:function(e,t,n){if(!e||ZT(e))jT(this.eventBusEl_,e,t);else{var r=e,i=t;KT(r,this,"off"),QT(i,this,"off"),$T(n,this,"off"),n=HT(this,n),this.off("dispose",n),r.nodeName?(jT(r,i,n),jT(r,"dispose",n)):XT(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(e,t){KT(this.eventBusEl_,this,"trigger");var n=e&&"string"!==typeof e?e.type:e;if(!ZT(n)){var r="Invalid event type for "+YT(this)+"#trigger; must be a non-empty string or object with a type key that has a non-empty value.";if(!e)throw new Error(r);(this.log||hx).error(r)}return FT(this.eventBusEl_,e,t)}};function nw(e,t){void 0===t&&(t={});var n=t.eventBusKey;if(n){if(!e[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');e.eventBusEl_=e[n]}else e.eventBusEl_=Xx("span",{className:"vjs-event-bus"});return vx(e,tw),e.eventedCallbacks&&e.eventedCallbacks.forEach((function(e){e()})),e.on("dispose",(function(){e.off(),[e,e.el_,e.eventBusEl_].forEach((function(e){e&&OT.has(e)&&OT.delete(e)})),Ly().setTimeout((function(){e.eventBusEl_=null}),0)})),e}var rw={state:{},setState:function(e){var t,n=this;return"function"===typeof e&&(e=e()),gx(e,(function(e,r){n.state[r]!==e&&((t=t||{})[r]={from:n.state[r],to:e}),n.state[r]=e})),t&&XT(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function iw(e,t){return vx(e,rw),e.state=vx({},e.state,t),"function"===typeof e.handleStateChanged&&XT(e)&&e.on("statechanged",e.handleStateChanged),e}var aw=function(e){return"string"!==typeof e?e:e.replace(/./,(function(e){return e.toLowerCase()}))},sw=function(e){return"string"!==typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))};function ow(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){t&&gx(t,(function(t,n){_x(t)?(_x(e[n])||(e[n]={}),e[n]=ow(e[n],t)):e[n]=t}))})),e}var lw=function(){function e(){this.map_={}}var t=e.prototype;return t.has=function(e){return e in this.map_},t.delete=function(e){var t=this.has(e);return delete this.map_[e],t},t.set=function(e,t){return this.map_[e]=t,this},t.forEach=function(e,t){for(var n in this.map_)e.call(t,this.map_[n],n,this)},e}(),uw=Ly().Map?Ly().Map:lw,cw=function(){function e(){this.set_={}}var t=e.prototype;return t.has=function(e){return e in this.set_},t.delete=function(e){var t=this.has(e);return delete this.set_[e],t},t.add=function(e){return this.set_[e]=1,this},t.forEach=function(e,t){for(var n in this.set_)e.call(t,n,n,this)},e}(),dw=Ly().Set?Ly().Set:cw,hw=function(){function e(e,t,n){var r=this;if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=ow({},this.options_),t=this.options_=ow(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){var i=e&&e.id&&e.id()||"no_player";this.id_=i+"_component_"+AT()}this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),t.className&&this.el_&&t.className.split(" ").forEach((function(e){return r.addClass(e)})),!1!==t.evented&&(nw(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),iw(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new dw,this.setIntervalIds_=new dw,this.rafIds_=new dw,this.namedRafs_=new uw,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(n),!1!==t.reportTouchActivity&&this.enableTouchActivity()}var t=e.prototype;return t.dispose=function(e){if(void 0===e&&(e={}),!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}},t.isDisposed=function(){return Boolean(this.isDisposed_)},t.player=function(){return this.player_},t.options=function(e){return e?(this.options_=ow(this.options_,e),this.options_):this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,n){return Xx(e,t,n)},t.localize=function(e,t,n){void 0===n&&(n=e);var r=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),a=i&&i[r],s=r&&r.split("-")[0],o=i&&i[s],l=n;return a&&a[e]?l=a[e]:o&&o[e]&&(l=o[e]),t&&(l=l.replace(/\{(\d+)\}/g,(function(e,n){var r=t[n-1],i=r;return"undefined"===typeof r&&(i=e),i}))),l},t.handleLanguagechange=function(){},t.contentEl=function(){return this.contentEl_||this.el_},t.id=function(){return this.id_},t.name=function(){return this.name_},t.children=function(){return this.children_},t.getChildById=function(e){return this.childIndex_[e]},t.getChild=function(e){if(e)return this.childNameIndex_[e]},t.getDescendant=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t=t.reduce((function(e,t){return e.concat(t)}),[]);for(var r=this,i=0;i<t.length;i++)if(!(r=r.getChild(t[i]))||!r.getChild)return;return r},t.addChild=function(t,n,r){var i,a;if(void 0===n&&(n={}),void 0===r&&(r=this.children_.length),"string"===typeof t){a=sw(t);var s=n.componentClass||a;n.name=a;var o=e.getComponent(s);if(!o)throw new Error("Component "+s+" does not exist");if("function"!==typeof o)return null;i=new o(this.player_||this,n)}else i=t;if(i.parentComponent_&&i.parentComponent_.removeChild(i),this.children_.splice(r,0,i),i.parentComponent_=this,"function"===typeof i.id&&(this.childIndex_[i.id()]=i),(a=a||i.name&&sw(i.name()))&&(this.childNameIndex_[a]=i,this.childNameIndex_[aw(a)]=i),"function"===typeof i.el&&i.el()){var l=null;this.children_[r+1]&&(this.children_[r+1].el_?l=this.children_[r+1].el_:Wx(this.children_[r+1])&&(l=this.children_[r+1])),this.contentEl().insertBefore(i.el(),l)}return i},t.removeChild=function(e){if("string"===typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[sw(e.name())]=null,this.childNameIndex_[aw(e.name())]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},t.initChildren=function(){var t=this,n=this.options_.children;if(n){var r,i=this.options_,a=e.getComponent("Tech");(r=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.options_).filter((function(e){return!r.some((function(t){return"string"===typeof t?e===t:e===t.name}))}))).map((function(e){var r,i;return"string"===typeof e?i=n[r=e]||t.options_[r]||{}:(r=e.name,i=e),{name:r,opts:i}})).filter((function(t){var n=e.getComponent(t.opts.componentClass||sw(t.name));return n&&!a.isTech(n)})).forEach((function(e){var n=e.name,r=e.opts;if(void 0!==i[n]&&(r=i[n]),!1!==r){!0===r&&(r={}),r.playerOptions=t.options_.playerOptions;var a=t.addChild(n,r);a&&(t[n]=a)}}))}},t.buildCSSClass=function(){return""},t.ready=function(e,t){if(void 0===t&&(t=!1),e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},t.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)},t.$=function(e,t){return yT(e,t||this.contentEl())},t.$$=function(e,t){return _T(e,t||this.contentEl())},t.hasClass=function(e){return Qx(this.el_,e)},t.addClass=function(e){$x(this.el_,e)},t.removeClass=function(e){Jx(this.el_,e)},t.toggleClass=function(e,t){eT(this.el_,e,t)},t.show=function(){this.removeClass("vjs-hidden")},t.hide=function(){this.addClass("vjs-hidden")},t.lockShowing=function(){this.addClass("vjs-lock-showing")},t.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.getAttribute=function(e){return rT(this.el_,e)},t.setAttribute=function(e,t){iT(this.el_,e,t)},t.removeAttribute=function(e){aT(this.el_,e)},t.width=function(e,t){return this.dimension("width",e,t)},t.height=function(e,t){return this.dimension("height",e,t)},t.dimensions=function(e,t){this.width(e,!0),this.height(t)},t.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t===t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[e],i=r.indexOf("px");return-1!==i?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+sw(e)],10)},t.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=bx(this.el_,e),0===(t=parseFloat(t))||isNaN(t)){var n="offset"+sw(e);t=this.el_[n]}return t},t.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.currentWidth=function(){return this.currentDimension("width")},t.currentHeight=function(){return this.currentDimension("height")},t.focus=function(){this.el_.focus()},t.blur=function(){this.el_.blur()},t.handleKeyDown=function(e){this.player_&&(Vy().isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))},t.handleKeyPress=function(e){this.handleKeyDown(e)},t.emitTapEvents=function(){var e,t=0,n=null;this.on("touchstart",(function(r){1===r.touches.length&&(n={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},t=Ly().performance.now(),e=!0)})),this.on("touchmove",(function(t){if(t.touches.length>1)e=!1;else if(n){var r=t.touches[0].pageX-n.pageX,i=t.touches[0].pageY-n.pageY;Math.sqrt(r*r+i*i)>10&&(e=!1)}}));var r=function(){e=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",(function(r){(n=null,!0===e)&&(Ly().performance.now()-t<200&&(r.preventDefault(),this.trigger("tap")))}))},t.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e,t=HT(this.player(),this.player().reportUserActivity);this.on("touchstart",(function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}));var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.setTimeout=function(e,t){var n,r=this;return e=HT(this,e),this.clearTimersOnDispose_(),n=Ly().setTimeout((function(){r.setTimeoutIds_.has(n)&&r.setTimeoutIds_.delete(n),e()}),t),this.setTimeoutIds_.add(n),n},t.clearTimeout=function(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),Ly().clearTimeout(e)),e},t.setInterval=function(e,t){e=HT(this,e),this.clearTimersOnDispose_();var n=Ly().setInterval(e,t);return this.setIntervalIds_.add(n),n},t.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),Ly().clearInterval(e)),e},t.requestAnimationFrame=function(e){var t,n=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=HT(this,e),t=Ly().requestAnimationFrame((function(){n.rafIds_.has(t)&&n.rafIds_.delete(t),e()})),this.rafIds_.add(t),t):this.setTimeout(e,1e3/60)},t.requestNamedAnimationFrame=function(e,t){var n=this;if(!this.namedRafs_.has(e)){this.clearTimersOnDispose_(),t=HT(this,t);var r=this.requestAnimationFrame((function(){t(),n.namedRafs_.has(e)&&n.namedRafs_.delete(e)}));return this.namedRafs_.set(e,r),e}},t.cancelNamedAnimationFrame=function(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))},t.cancelAnimationFrame=function(e){return this.supportsRaf_?(this.rafIds_.has(e)&&(this.rafIds_.delete(e),Ly().cancelAnimationFrame(e)),e):this.clearTimeout(e)},t.clearTimersOnDispose_=function(){var e=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((function(t){var n=t[0],r=t[1];e[n].forEach((function(t,n){return e[r](n)}))})),e.clearingTimersOnDispose_=!1})))},e.registerComponent=function(t,n){if("string"!==typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var r,i=e.getComponent("Tech"),a=i&&i.isTech(n),s=e===n||e.prototype.isPrototypeOf(n.prototype);if(a||!s)throw r=a?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+t+'"; '+r+".");t=sw(t),e.components_||(e.components_={});var o=e.getComponent("Player");if("Player"===t&&o&&o.players){var l=o.players,u=Object.keys(l);if(l&&u.length>0&&u.map((function(e){return l[e]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,e.components_[aw(t)]=n,n},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();function fw(e,t,n,r){return function(e,t,n){if("number"!==typeof t||t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+n+").")}(e,r,n.length-1),n[r][t]}function pw(e){var t;return t=void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:fw.bind(null,"start",0,e),end:fw.bind(null,"end",1,e)},Ly().Symbol&&Ly().Symbol.iterator&&(t[Ly().Symbol.iterator]=function(){return(e||[]).values()}),t}function mw(e,t){return Array.isArray(e)?pw(e):void 0===e||void 0===t?pw():pw([[e,t]])}function gw(e,t){var n,r,i=0;if(!t)return 0;e&&e.length||(e=mw(0,0));for(var a=0;a<e.length;a++)n=e.start(a),(r=e.end(a))>t&&(r=t),i+=r-n;return i/t}function vw(e){if(e instanceof vw)return e;"number"===typeof e?this.code=e:"string"===typeof e?this.message=e:yx(e)&&("number"===typeof e.code&&(this.code=e.code),vx(this,e)),this.message||(this.message=vw.defaultMessages[this.code]||"")}hw.prototype.supportsRaf_="function"===typeof Ly().requestAnimationFrame&&"function"===typeof Ly().cancelAnimationFrame,hw.registerComponent("Component",hw),vw.prototype.code=0,vw.prototype.message="",vw.prototype.status=null,vw.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],vw.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var yw=0;yw<vw.errorTypes.length;yw++)vw[vw.errorTypes[yw]]=yw,vw.prototype[vw.errorTypes[yw]]=yw;function _w(e){return void 0!==e&&null!==e&&"function"===typeof e.then}function bw(e){_w(e)&&e.then(null,(function(e){}))}var xw=function(e){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((function(t,n,r){return e[n]&&(t[n]=e[n]),t}),{cues:e.cues&&Array.prototype.map.call(e.cues,(function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}}))})},Tw=function(e){var t=e.$$("track"),n=Array.prototype.map.call(t,(function(e){return e.track})),r=Array.prototype.map.call(t,(function(e){var t=xw(e.track);return e.src&&(t.src=e.src),t}));return r.concat(Array.prototype.filter.call(e.textTracks(),(function(e){return-1===n.indexOf(e)})).map(xw))},ww=function(e,t){return e.forEach((function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach((function(e){return n.addCue(e)}))})),t.textTracks()},Sw="vjs-modal-dialog",Ew=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleKeyDown_=function(e){return r.handleKeyDown(e)},r.close_=function(e){return r.close(e)},r.opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=Xx("div",{className:Sw+"-content"},{role:"document"}),r.descEl_=Xx("p",{className:Sw+"-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),Zx(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},n.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return Sw+" vjs-hidden "+e.prototype.buildCSSClass.call(this)},n.label=function(){return this.localize(this.options_.label||"Modal Window")},n.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},n.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},n.opened=function(e){return"boolean"===typeof e&&this[e?"open":"close"](),this.opened_},n.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},n.closeable=function(e){if("boolean"===typeof e){var t=this.closeable_=!!e,n=this.getChild("closeButton");if(t&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close_)}!t&&n&&(this.off(n,"close",this.close_),this.removeChild(n),n.dispose())}return this.closeable_},n.fill=function(){this.fillWith(this.content())},n.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),mT(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t);var i=this.getChild("closeButton");i&&n.appendChild(i.el_)},n.empty=function(){this.trigger("beforemodalempty"),hT(this.contentEl()),this.trigger("modalempty")},n.content=function(e){return"undefined"!==typeof e&&(this.content_=e),this.content_},n.conditionalFocus_=function(){var e=Fy().activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus())},n.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},n.handleKeyDown=function(e){if(e.stopPropagation(),Vy().isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(Vy().isEventKey(e,"Tab")){for(var t,n=this.focusableEls_(),r=this.el_.querySelector(":focus"),i=0;i<n.length;i++)if(r===n[i]){t=i;break}Fy().activeElement===this.el_&&(t=0),e.shiftKey&&0===t?(n[n.length-1].focus(),e.preventDefault()):e.shiftKey||t!==n.length-1||(n[0].focus(),e.preventDefault())}},n.focusableEls_=function(){var e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,(function(e){return(e instanceof Ly().HTMLAnchorElement||e instanceof Ly().HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof Ly().HTMLInputElement||e instanceof Ly().HTMLSelectElement||e instanceof Ly().HTMLTextAreaElement||e instanceof Ly().HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof Ly().HTMLIFrameElement||e instanceof Ly().HTMLObjectElement||e instanceof Ly().HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")}))},t}(hw);Ew.prototype.options_={pauseOnOpen:!0,temporary:!0},hw.registerComponent("ModalDialog",Ew);var kw=function(e){function t(t){var n;void 0===t&&(t=[]),(n=e.call(this)||this).tracks_=[],Object.defineProperty(E(n),"length",{get:function(){return this.tracks_.length}});for(var r=0;r<t.length;r++)n.addTrack(t[r]);return n}(0,zy.Z)(t,e);var n=t.prototype;return n.addTrack=function(e){var t=this,n=this.tracks_.length;""+n in this||Object.defineProperty(this,n,{get:function(){return this.tracks_[n]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this})),e.labelchange_=function(){t.trigger({track:e,type:"labelchange",target:t})},XT(e)&&e.addEventListener("labelchange",e.labelchange_)},n.removeTrack=function(e){for(var t,n=0,r=this.length;n<r;n++)if(this[n]===e){(t=this[n]).off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack",target:this})},n.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===e){t=i;break}}return t},t}(qT);for(var Cw in kw.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"},kw.prototype.allowedEvents_)kw.prototype["on"+Cw]=null;var Pw=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].enabled=!1)},Aw=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].enabled){Pw(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,n}(0,zy.Z)(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.enabled&&Pw(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){n.changing_||(n.changing_=!0,Pw(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},t}(kw),Iw=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].selected=!1)},Ow=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].selected){Iw(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,Object.defineProperty(E(n),"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),n}(0,zy.Z)(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.selected&&Iw(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){n.changing_||(n.changing_=!0,Iw(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)},t}(kw),Dw=function(e){function t(){return e.apply(this,arguments)||this}(0,zy.Z)(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;e.prototype.addTrack.call(this,t),this.queueChange_||(this.queueChange_=function(){return n.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return n.trigger("selectedlanguagechange")}),t.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},t}(kw),Mw=function(){function e(e){void 0===e&&(e=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function(){return this.trackElements_.length}});for(var t=0,n=e.length;t<n;t++)this.addTrackElement_(e[t])}var t=e.prototype;return t.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)},t.getTrackElementByTrack_=function(e){for(var t,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},t.removeTrackElement_=function(e){for(var t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_[t].track&&"function"===typeof this.trackElements_[t].track.off&&this.trackElements_[t].track.off(),"function"===typeof this.trackElements_[t].off&&this.trackElements_[t].off(),this.trackElements_.splice(t,1);break}},e}(),Nw=function(){function e(t){e.prototype.setCues_.call(this,t),Object.defineProperty(this,"length",{get:function(){return this.length_}})}var t=e.prototype;return t.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var i=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)i.call(this,n)},t.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===e){t=i;break}}return t},e}(),Rw={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Lw={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},jw={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Fw={disabled:"disabled",hidden:"hidden",showing:"showing"},Bw=function(e){function t(t){var n;void 0===t&&(t={}),n=e.call(this)||this;var r={id:t.id||"vjs_track_"+AT(),kind:t.kind||"",language:t.language||""},i=t.label||"",a=function(e){Object.defineProperty(E(n),e,{get:function(){return r[e]},set:function(){}})};for(var s in r)a(s);return Object.defineProperty(E(n),"label",{get:function(){return i},set:function(e){e!==i&&(i=e,this.trigger("labelchange"))}}),n}return(0,zy.Z)(t,e),t}(qT),Uw=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=Fy().createElement("a");n.href=e;for(var r={},i=0;i<t.length;i++)r[t[i]]=n[t[i]];return"http:"===r.protocol&&(r.host=r.host.replace(/:80$/,"")),"https:"===r.protocol&&(r.host=r.host.replace(/:443$/,"")),r.protocol||(r.protocol=Ly().location.protocol),r.host||(r.host=Ly().location.host),r},Vw=function(e){if(!e.match(/^https?:\/\//)){var t=Fy().createElement("a");t.href=e,e=t.href}return e},zw=function(e){if("string"===typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},Gw=function(e,t){void 0===t&&(t=Ly().location);var n=Uw(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host},Hw=Object.freeze({__proto__:null,parseUrl:Uw,getAbsoluteURL:Vw,getFileExtension:zw,isCrossOrigin:Gw}),Ww=function(e,t){var n=new(Ly().WebVTT.Parser)(Ly(),Ly().vttjs,Ly().WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(Ly().console&&Ly().console.groupCollapsed&&Ly().console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach((function(e){return hx.error(e)})),Ly().console&&Ly().console.groupEnd&&Ly().console.groupEnd()),n.flush()},qw=function(e,t){var n={uri:e},r=Gw(e);r&&(n.cors=r);var i="use-credentials"===t.tech_.crossOrigin();i&&(n.withCredentials=i),qy()(n,HT(this,(function(e,n,r){if(e)return hx.error(e,n);t.loaded_=!0,"function"!==typeof Ly().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],(function(e){if("vttjserror"!==e.type)return Ww(r,t);hx.error("vttjs failed to load, stopping trying to process "+t.src)})):Ww(r,t)})))},Yw=function(e){function t(t){var n;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var r=ow(t,{kind:jw[t.kind]||"subtitles",language:t.language||t.srclang||""}),i=Fw[r.mode]||"disabled",a=r.default;"metadata"!==r.kind&&"chapters"!==r.kind||(i="hidden"),(n=e.call(this,r)||this).tech_=r.tech,n.cues_=[],n.activeCues_=[],n.preload_=!1!==n.tech_.preloadTextTracks;var s=new Nw(n.cues_),o=new Nw(n.activeCues_),l=!1;n.timeupdateHandler=HT(E(n),(function(e){void 0===e&&(e={}),this.tech_.isDisposed()||(this.tech_.isReady_?(this.activeCues=this.activeCues,l&&(this.trigger("cuechange"),l=!1),"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))):"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)))}));return n.tech_.one("dispose",(function(){n.stopTracking()})),"disabled"!==i&&n.startTracking(),Object.defineProperties(E(n),{default:{get:function(){return a},set:function(){}},mode:{get:function(){return i},set:function(e){Fw[e]&&i!==e&&(i=e,this.preload_||"disabled"===i||0!==this.cues.length||qw(this.src,this),this.stopTracking(),"disabled"!==i&&this.startTracking(),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?s:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return o;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var i=this.cues[n];(i.startTime<=e&&i.endTime>=e||i.startTime===i.endTime&&i.startTime<=e&&i.startTime+.5>=e)&&t.push(i)}if(l=!1,t.length!==this.activeCues_.length)l=!0;else for(var a=0;a<t.length;a++)-1===this.activeCues_.indexOf(t[a])&&(l=!0);return this.activeCues_=t,o.setCues_(this.activeCues_),o},set:function(){}}}),r.src?(n.src=r.src,n.preload_||(n.loaded_=!0),(n.preload_||"subtitles"!==r.kind&&"captions"!==r.kind)&&qw(n.src,E(n))):n.loaded_=!0,n}(0,zy.Z)(t,e);var n=t.prototype;return n.startTracking=function(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)},n.stopTracking=function(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)},n.addCue=function(e){var t=e;if(Ly().vttjs&&!(e instanceof Ly().vttjs.VTTCue)){for(var n in t=new(Ly().vttjs.VTTCue)(e.startTime,e.endTime,e.text),e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}for(var r=this.tech_.textTracks(),i=0;i<r.length;i++)r[i]!==this&&r[i].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},n.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(Bw);Yw.prototype.allowedEvents_={cuechange:"cuechange"};var Xw=function(e){function t(t){var n;void 0===t&&(t={});var r=ow(t,{kind:Lw[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty(E(n),"enabled",{get:function(){return i},set:function(e){"boolean"===typeof e&&e!==i&&(i=e,this.trigger("enabledchange"))}}),r.enabled&&(n.enabled=r.enabled),n.loaded_=!0,n}return(0,zy.Z)(t,e),t}(Bw),Zw=function(e){function t(t){var n;void 0===t&&(t={});var r=ow(t,{kind:Rw[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty(E(n),"selected",{get:function(){return i},set:function(e){"boolean"===typeof e&&e!==i&&(i=e,this.trigger("selectedchange"))}}),r.selected&&(n.selected=r.selected),n}return(0,zy.Z)(t,e),t}(Bw),Kw=function(e){function t(t){var n,r;void 0===t&&(t={}),n=e.call(this)||this;var i=new Yw(t);return n.kind=i.kind,n.src=i.src,n.srclang=i.language,n.label=i.label,n.default=i.default,Object.defineProperties(E(n),{readyState:{get:function(){return r}},track:{get:function(){return i}}}),r=0,i.addEventListener("loadeddata",(function(){r=2,n.trigger({type:"load",target:E(n)})})),n}return(0,zy.Z)(t,e),t}(qT);Kw.prototype.allowedEvents_={load:"load"},Kw.NONE=0,Kw.LOADING=1,Kw.LOADED=2,Kw.ERROR=3;var Qw={audio:{ListClass:Aw,TrackClass:Xw,capitalName:"Audio"},video:{ListClass:Ow,TrackClass:Zw,capitalName:"Video"},text:{ListClass:Dw,TrackClass:Yw,capitalName:"Text"}};Object.keys(Qw).forEach((function(e){Qw[e].getterName=e+"Tracks",Qw[e].privateName=e+"Tracks_"}));var $w={remoteText:{ListClass:Dw,TrackClass:Yw,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Mw,TrackClass:Kw,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Jw=(0,By.Z)({},Qw,$w);$w.names=Object.keys($w),Qw.names=Object.keys(Qw),Jw.names=[].concat($w.names).concat(Qw.names);var eS=function(e){function t(t,n){var r;return void 0===t&&(t={}),void 0===n&&(n=function(){}),t.reportTouchActivity=!1,(r=e.call(this,null,t,n)||this).onDurationChange_=function(e){return r.onDurationChange(e)},r.trackProgress_=function(e){return r.trackProgress(e)},r.trackCurrentTime_=function(e){return r.trackCurrentTime(e)},r.stopTrackingCurrentTime_=function(e){return r.stopTrackingCurrentTime(e)},r.disposeSourceHandler_=function(e){return r.disposeSourceHandler(e)},r.queuedHanders_=new Set,r.hasStarted_=!1,r.on("playing",(function(){this.hasStarted_=!0})),r.on("loadstart",(function(){this.hasStarted_=!1})),Jw.names.forEach((function(e){var n=Jw[e];t&&t[n.getterName]&&(r[n.privateName]=t[n.getterName])})),r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(e){!1===t["native"+e+"Tracks"]&&(r["featuresNative"+e+"Tracks"]=!1)})),!1===t.nativeCaptions||!1===t.nativeTextTracks?r.featuresNativeTextTracks=!1:!0!==t.nativeCaptions&&!0!==t.nativeTextTracks||(r.featuresNativeTextTracks=!0),r.featuresNativeTextTracks||r.emulateTextTracks(),r.preloadTextTracks=!1!==t.preloadTextTracks,r.autoRemoteTextTracks_=new Jw.text.ListClass,r.initTrackListeners(),t.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}(0,zy.Z)(t,e);var n=t.prototype;return n.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",(function(){return t.setTimeout((function(){return t.triggerSourceset(e)}),1)})),this.trigger({src:e,type:"sourceset"})},n.manualProgressOn=function(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)},n.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)},n.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(HT(this,(function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)},n.onDurationChange=function(e){this.duration_=this.duration()},n.buffered=function(){return mw(0,0)},n.bufferedPercent=function(){return gw(this.buffered(),this.duration_)},n.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},n.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)},n.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)},n.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},n.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.dispose=function(){this.clearTracks(Qw.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},n.clearTracks=function(e){var t=this;(e=[].concat(e)).forEach((function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var i=n[r];"text"===e&&t.removeRemoteTextTrack(i),n.removeTrack(i)}}))},n.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},n.reset=function(){},n.crossOrigin=function(){},n.setCrossOrigin=function(){},n.error=function(e){return void 0!==e&&(this.error_=new vw(e),this.trigger("error")),this.error_},n.played=function(){return this.hasStarted_?mw(0,0):mw()},n.play=function(){},n.setScrubbing=function(){},n.scrubbing=function(){},n.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.initTrackListeners=function(){var e=this;Qw.names.forEach((function(t){var n=Qw[t],r=function(){e.trigger(t+"trackchange")},i=e[n.getterName]();i.addEventListener("removetrack",r),i.addEventListener("addtrack",r),e.on("dispose",(function(){i.removeEventListener("removetrack",r),i.removeEventListener("addtrack",r)}))}))},n.addWebVttScript_=function(){var e=this;if(!Ly().WebVTT)if(Fy().body.contains(this.el())){if(!this.options_["vtt.js"]&&_x(Xy())&&Object.keys(Xy()).length>0)return void this.trigger("vttjsloaded");var t=Fy().createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",(function(){t.onload=null,t.onerror=null})),Ly().WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},n.emulateTextTracks=function(){var e=this,t=this.textTracks(),n=this.remoteTextTracks(),r=function(e){return t.addTrack(e.track)},i=function(e){return t.removeTrack(e.track)};n.on("addtrack",r),n.on("removetrack",i),this.addWebVttScript_();var a=function(){return e.trigger("texttrackchange")},s=function(){a();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",a),"showing"===n.mode&&n.addEventListener("cuechange",a)}};s(),t.addEventListener("change",s),t.addEventListener("addtrack",s),t.addEventListener("removetrack",s),this.on("dispose",(function(){n.off("addtrack",r),n.off("removetrack",i),t.removeEventListener("change",s),t.removeEventListener("addtrack",s),t.removeEventListener("removetrack",s);for(var e=0;e<t.length;e++){t[e].removeEventListener("cuechange",a)}}))},n.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,n,r,i){void 0===i&&(i={});var a=e.textTracks();i.kind=t,n&&(i.label=n),r&&(i.language=r),i.tech=e;var s=new Jw.text.TrackClass(i);return a.addTrack(s),s}(this,e,t,n)},n.createRemoteTextTrack=function(e){var t=ow(e,{tech:this});return new $w.remoteTextEl.TrackClass(t)},n.addRemoteTextTrack=function(e,t){var n=this;void 0===e&&(e={});var r=this.createRemoteTextTrack(e);return!0!==t&&!1!==t&&(hx.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==t&&this.ready((function(){return n.autoRemoteTextTracks_.addTrack(r.track)})),r},n.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)},n.getVideoPlaybackQuality=function(){return{}},n.requestPictureInPicture=function(){var e=this.options_.Promise||Ly().Promise;if(e)return e.reject()},n.disablePictureInPicture=function(){return!0},n.setDisablePictureInPicture=function(){},n.requestVideoFrameCallback=function(e){var t=this,n=AT();return!this.isReady_||this.paused()?(this.queuedHanders_.add(n),this.one("playing",(function(){t.queuedHanders_.has(n)&&(t.queuedHanders_.delete(n),e())}))):this.requestNamedAnimationFrame(n,e),n},n.cancelVideoFrameCallback=function(e){this.queuedHanders_.has(e)?this.queuedHanders_.delete(e):this.cancelNamedAnimationFrame(e)},n.setPoster=function(){},n.playsinline=function(){},n.setPlaysinline=function(){},n.overrideNativeAudioTracks=function(){},n.overrideNativeVideoTracks=function(){},n.canPlayType=function(){return""},t.canPlayType=function(){return""},t.canPlaySource=function(e,n){return t.canPlayType(e.type)},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");if(!t.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!t.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=sw(e),t.techs_[e]=n,t.techs_[aw(e)]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return t.techs_&&t.techs_[e]?t.techs_[e]:(e=sw(e),Ly()&&Ly().videojs&&Ly().videojs[e]?(hx.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),Ly().videojs[e]):void 0)},t}(hw);Jw.names.forEach((function(e){var t=Jw[e];eS.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),eS.prototype.featuresVolumeControl=!0,eS.prototype.featuresMuteControl=!0,eS.prototype.featuresFullscreenResize=!1,eS.prototype.featuresPlaybackRate=!1,eS.prototype.featuresProgressEvents=!1,eS.prototype.featuresSourceset=!1,eS.prototype.featuresTimeupdateEvents=!1,eS.prototype.featuresNativeTextTracks=!1,eS.prototype.featuresVideoFrameCallback=!1,eS.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n,r=e.sourceHandlers||[],i=0;i<r.length;i++)if(n=r[i].canPlayType(t))return n;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],i=0;i<r.length;i++)if(r[i].canHandleSource(t,n))return r[i];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};["seekable","seeking","duration"].forEach((function(e){var t=this[e];"function"===typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})}),e.prototype),e.prototype.setSource=function(t){var n=e.selectSourceHandler(t,this.options_);n||(e.nativeSourceHandler?n=e.nativeSourceHandler:hx.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),n!==e.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=n.handleSource(t,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},hw.registerComponent("Tech",eS),eS.registerTech("Tech",eS),eS.defaultTechOrder_=[];var tS={},nS={},rS={};function iS(e,t,n){e.setTimeout((function(){return cS(t,tS[t.type],n,e)}),1)}function aS(e,t,n,r){void 0===r&&(r=null);var i="call"+sw(n),a=e.reduce(uS(i),r),s=a===rS,o=s?null:t[n](a);return function(e,t,n,r){for(var i=e.length-1;i>=0;i--){var a=e[i];a[t]&&a[t](r,n)}}(e,n,o,s),o}var sS={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},oS={setCurrentTime:1,setMuted:1,setVolume:1},lS={play:1,pause:1};function uS(e){return function(t,n){return t===rS?rS:n[e]?n[e](t):t}}function cS(e,t,n,r,i,a){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===i&&(i=[]),void 0===a&&(a=!1);var s=t,o=s[0],l=s.slice(1);if("string"===typeof o)cS(e,tS[o],n,r,i,a);else if(o){var u=function(e,t){var n=nS[e.id()],r=null;if(void 0===n||null===n)return r=t(e),nS[e.id()]=[[t,r]],r;for(var i=0;i<n.length;i++){var a=n[i],s=a[0],o=a[1];s===t&&(r=o)}return null===r&&(r=t(e),n.push([t,r])),r}(r,o);if(!u.setSource)return i.push(u),cS(e,l,n,r,i,a);u.setSource(vx({},e),(function(t,s){if(t)return cS(e,l,n,r,i,a);i.push(u),cS(s,e.type===s.type?l:tS[s.type],n,r,i,a)}))}else l.length?cS(e,l,n,r,i,a):a?n(e,i):cS(e,tS["*"],n,r,i,!0)}var dS={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/d
2ash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},hS=function(e){void 0===e&&(e="");var t=zw(e);return dS[t.toLowerCase()]||""},fS=function e(t){if(Array.isArray(t)){var n=[];t.forEach((function(t){t=e(t),Array.isArray(t)?n=n.concat(t):yx(t)&&n.push(t)})),t=n}else t="string"===typeof t&&t.trim()?[pS({src:t})]:yx(t)&&"string"===typeof t.src&&t.src&&t.src.trim()?[pS(t)]:[];return t};function pS(e){if(!e.type){var t=hS(e.src);t&&(e.type=t)}return e}var mS=function(e){function t(t,n,r){var i,a=ow({createEl:!1},n);if(i=e.call(this,t,a,r)||this,n.playerOptions.sources&&0!==n.playerOptions.sources.length)t.src(n.playerOptions.sources);else for(var s=0,o=n.playerOptions.techOrder;s<o.length;s++){var l=sw(o[s]),u=eS.getTech(l);if(l||(u=hw.getComponent(l)),u&&u.isSupported()){t.loadTech_(l);break}}return i}return(0,zy.Z)(t,e),t}(hw);hw.registerComponent("MediaLoader",mS);var gS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).options_.controlText&&r.controlText(r.options_.controlText),r.handleMouseOver_=function(e){return r.handleMouseOver(e)},r.handleMouseOut_=function(e){return r.handleMouseOut(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.emitTapEvents(),r.enable(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={}),t=vx({className:this.buildCSSClass(),tabIndex:0},t),"button"===e&&hx.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),n=vx({role:"button"},n),this.tabIndex_=t.tabIndex;
vendor: 68,358 bytes, line 2
2var r=Xx(e,t,n);return r.appendChild(Xx("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},n.createControlTextEl=function(e){return this.controlTextEl_=Xx("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},n.controlText=function(e,t){if(void 0===t&&(t=this.el()),void 0===e)return this.controlText_||"Need Text";var n=this.localize(e);this.controlText_=e,Zx(this.controlTextEl_,n),this.nonIconControl||this.player_.options_.noUITitleAttributes||t.setAttribute("title",n)},n.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},n.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!==typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))},n.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!==typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)},n.handleLanguagechange=function(){this.controlText(this.controlText_)},n.handleClick=function(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},n.handleKeyDown=function(t){Vy().isEventKey(t,"Space")||Vy().isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(hw);hw.registerComponent("ClickableComponent",gS);var vS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update(),r.update_=function(e){return r.update(e)},t.on("posterchange",r.update_),r}(0,zy.Z)(t,e);var n=t.prototype;return n.dispose=function(){this.player().off("posterchange",this.update_),e.prototype.dispose.call(this)},n.createEl=function(){return Xx("div",{className:"vjs-poster",tabIndex:-1})},n.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},n.setSrc=function(e){var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t},n.handleClick=function(e){if(this.player_.controls()){var t=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;!this.player_.tech(!0)||(Mx||Ix)&&t||this.player_.tech(!0).focus(),this.player_.paused()?bw(this.player_.play()):this.player_.pause()}},t}(gS);hw.registerComponent("PosterImage",vS);var yS="#222",_S={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function bS(e,t){var n;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function xS(e,t,n){try{e.style[t]=n}catch(r){return}}var TS=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var a=function(e){return i.updateDisplay(e)};return t.on("loadstart",(function(e){return i.toggleDisplay(e)})),t.on("texttrackchange",a),t.on("loadedmetadata",(function(e){return i.preselectTrack(e)})),t.ready(HT(E(i),(function(){if(t.tech_&&t.tech_.featuresNativeTextTracks)this.hide();else{t.on("fullscreenchange",a),t.on("playerresize",a),Ly().addEventListener("orientationchange",a),t.on("dispose",(function(){return Ly().removeEventListener("orientationchange",a)}));for(var e=this.options_.playerOptions.tracks||[],n=0;n<e.length;n++)this.player_.addRemoteTextTrack(e[n],!0);this.preselectTrack()}}))),i}(0,zy.Z)(t,e);var n=t.prototype;return n.preselectTrack=function(){for(var e,t,n,r={captions:1,subtitles:1},i=this.player_.textTracks(),a=this.player_.cache_.selectedLanguage,s=0;s<i.length;s++){var o=i[s];a&&a.enabled&&a.language&&a.language===o.language&&o.kind in r?o.kind===a.kind?n=o:n||(n=o):a&&!a.enabled?(n=null,e=null,t=null):o.default&&("descriptions"!==o.kind||e?o.kind in r&&!t&&(t=o):e=o)}n?n.mode="showing":t?t.mode="showing":e&&(e.mode="showing")},n.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})},n.clearDisplay=function(){"function"===typeof Ly().WebVTT&&Ly().WebVTT.processCues(Ly(),[],this.el_)},n.updateDisplay=function(){var e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){for(var n=[],r=0;r<e.length;++r){var i=e[r];"showing"===i.mode&&n.push(i)}this.updateForTrack(n)}else{for(var a=null,s=null,o=e.length;o--;){var l=e[o];"showing"===l.mode&&("descriptions"===l.kind?a=l:s=l)}s?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(s)):a&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(a))}},n.updateDisplayState=function(e){for(var t=this.player_.textTrackSettings.getValues(),n=e.activeCues,r=n.length;r--;){var i=n[r];if(i){var a=i.displayState;if(t.color&&(a.firstChild.style.color=t.color),t.textOpacity&&xS(a.firstChild,"color",bS(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&xS(a.firstChild,"backgroundColor",bS(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?xS(a,"backgroundColor",bS(t.windowColor,t.windowOpacity)):a.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px "+yS:"raised"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px "+yS:"depressed"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px "+yS:"uniform"===t.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px "+yS)),t.fontPercent&&1!==t.fontPercent){var s=Ly().parseFloat(a.style.fontSize);a.style.fontSize=s*t.fontPercent+"px",a.style.height="auto",a.style.top="auto"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=_S[t.fontFamily])}}},n.updateForTrack=function(e){if(Array.isArray(e)||(e=[e]),"function"===typeof Ly().WebVTT&&!e.every((function(e){return!e.activeCues}))){for(var t=[],n=0;n<e.length;++n)for(var r=e[n],i=0;i<r.activeCues.length;++i)t.push(r.activeCues[i]);Ly().WebVTT.processCues(Ly(),t,this.el_);for(var a=0;a<e.length;++a){for(var s=e[a],o=0;o<s.activeCues.length;++o){var l=s.activeCues[o].displayState;$x(l,"vjs-text-track-cue"),$x(l,"vjs-text-track-cue-"+(s.language?s.language:a)),s.language&&iT(l,"lang",s.language)}this.player_.textTrackSettings&&this.updateDisplayState(s)}}},t}(hw);hw.registerComponent("TextTrackDisplay",TS);var wS=function(e){function t(){return e.apply(this,arguments)||this}return(0,zy.Z)(t,e),t.prototype.createEl=function(){var t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"Video Player"),r=Xx("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[n])}),i=e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return i.appendChild(r),i},t}(hw);hw.registerComponent("LoadingSpinner",wS);var SS=function(e){function t(){return e.apply(this,arguments)||this}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r=Xx("button",t=vx({className:this.buildCSSClass()},t),n=vx({type:"button"},n));return r.appendChild(Xx("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.addChild=function(e,t){void 0===t&&(t={});var n=this.constructor.name;return hx.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),hw.prototype.addChild.call(this,e,t)},n.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},n.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},n.handleKeyDown=function(t){Vy().isEventKey(t,"Space")||Vy().isEventKey(t,"Enter")?t.stopPropagation():e.prototype.handleKeyDown.call(this,t)},t}(gS);hw.registerComponent("Button",SS);var ES=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).mouseused_=!1,r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-big-play-button"},n.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY){var n=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;return bw(t),void(!this.player_.tech(!0)||(Mx||Ix)&&n||this.player_.tech(!0).focus())}var r=this.player_.getChild("controlBar"),i=r&&r.getChild("playToggle");if(i){var a=function(){return i.focus()};_w(t)?t.then(a,(function(){})):this.setTimeout(a,1)}else this.player_.tech(!0).focus()},n.handleKeyDown=function(t){this.mouseused_=!1,e.prototype.handleKeyDown.call(this,t)},n.handleMouseDown=function(e){this.mouseused_=!0},t}(SS);ES.prototype.controlText_="Play Video",hw.registerComponent("BigPlayButton",ES);var kS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).controlText(n&&n.controlText||r.localize("Close")),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},n.handleKeyDown=function(t){Vy().isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(SS);hw.registerComponent("CloseButton",kS);var CS=function(e){function t(t,n){var r;return void 0===n&&(n={}),r=e.call(this,t,n)||this,n.replay=void 0===n.replay||n.replay,r.on(t,"play",(function(e){return r.handlePlay(e)})),r.on(t,"pause",(function(e){return r.handlePause(e)})),n.replay&&r.on(t,"ended",(function(e){return r.handleEnded(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.player_.paused()?bw(this.player_.play()):this.player_.pause()},n.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},n.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},n.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},n.handleEnded=function(e){var t=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(function(e){return t.handleSeeked(e)}))},t}(SS);CS.prototype.controlText_="Play",hw.registerComponent("PlayToggle",CS);var PS=function(e,t){e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),i=Math.floor(e/3600),a=Math.floor(t/60%60),s=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(i=r=n="-"),(i=i>0||s>0?i+":":"")+(r=((i||a>=10)&&r<10?"0"+r:r)+":")+(n=n<10?"0"+n:n)},AS=PS;function IS(e,t){return void 0===t&&(t=e),AS(e,t)}var OS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["timeupdate","ended"],(function(e){return r.updateContent(e)})),r.updateTextNode_(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){var t=this.buildCSSClass(),n=e.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control"}),r=Xx("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+"\xa0"},{role:"presentation"});return n.appendChild(r),this.contentEl_=Xx("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),n.appendChild(this.contentEl_),n},n.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},n.updateTextNode_=function(e){var t=this;void 0===e&&(e=0),e=IS(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(function(){if(t.contentEl_){var e=t.textNode_;e&&t.contentEl_.firstChild!==e&&(e=null,hx.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),t.textNode_=Fy().createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_))}})))},n.updateContent=function(e){},t}(hw);OS.prototype.labelText_="Time",OS.prototype.controlText_="Time",hw.registerComponent("TimeDisplay",OS);var DS=function(e){function t(){return e.apply(this,arguments)||this}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-current-time"},n.updateContent=function(e){var t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)},t}(OS);DS.prototype.labelText_="Current Time",DS.prototype.controlText_="Current Time",hw.registerComponent("CurrentTimeDisplay",DS);var MS=function(e){function t(t,n){var r,i=function(e){return r.updateContent(e)};return(r=e.call(this,t,n)||this).on(t,"durationchange",i),r.on(t,"loadstart",i),r.on(t,"loadedmetadata",i),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-duration"},n.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},t}(OS);MS.prototype.labelText_="Duration",MS.prototype.controlText_="Duration",hw.registerComponent("DurationDisplay",MS);var NS=function(e){function t(){return e.apply(this,arguments)||this}return(0,zy.Z)(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),n=e.prototype.createEl.call(this,"div"),r=e.prototype.createEl.call(this,"span",{textContent:"/"});return n.appendChild(r),t.appendChild(n),t},t}(hw);hw.registerComponent("TimeDivider",NS);var RS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",(function(e){return r.updateContent(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-remaining-time"},n.createEl=function(){var t=e.prototype.createEl.call(this);return!1!==this.options_.displayNegative&&t.insertBefore(Xx("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},n.updateContent=function(e){var t;"number"===typeof this.player_.duration()&&(t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t))},t}(OS);RS.prototype.labelText_="Remaining Time",RS.prototype.controlText_="Remaining Time",hw.registerComponent("RemainingTimeDisplay",RS);var LS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateShowing(),r.on(r.player(),"durationchange",(function(e){return r.updateShowing(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=Xx("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Xx("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+"\xa0"})),this.contentEl_.appendChild(Fy().createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t},n.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},n.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(hw);hw.registerComponent("LiveDisplay",LS);var jS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateLiveEdgeStatus(),r.player_.liveTracker&&(r.updateLiveEdgeStatusHandler_=function(e){return r.updateLiveEdgeStatus(e)},r.on(r.player_.liveTracker,"liveedgechange",r.updateLiveEdgeStatusHandler_)),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=Xx("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},n.updateLiveEdgeStatus=function(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))},n.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},n.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,e.prototype.dispose.call(this)},t}(SS);jS.prototype.controlText_="Seek to live, currently playing live",hw.registerComponent("SeekToLive",jS);var FS=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},BS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseDown_=function(e){return r.handleMouseDown(e)},r.handleMouseUp_=function(e){return r.handleMouseUp(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleMouseMove_=function(e){return r.handleMouseMove(e)},r.update_=function(e){return r.update(e)},r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.enabled=function(){return this.enabled_},n.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},n.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},n.createEl=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),n.className=n.className+" vjs-slider",n=vx({tabIndex:0},n),r=vx({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},n.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||Ox||e.preventDefault(),sT(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)},n.handleMouseMove=function(e){},n.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;oT(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.update()},n.update=function(){var e=this;if(this.el_&&this.bar){var t=this.getProgress();return t===this.progress_||(this.progress_=t,this.requestNamedAnimationFrame("Slider#update",(function(){var n=e.vertical()?"height":"width";e.bar.el().style[n]=(100*t).toFixed(2)+"%"}))),t}},n.getProgress=function(){return Number(FS(this.getPercent(),0,1).toFixed(4))},n.calculateDistance=function(e){var t=cT(this.el_,e);return this.vertical()?t.y:t.x},n.handleKeyDown=function(t){Vy().isEventKey(t,"Left")||Vy().isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):Vy().isEventKey(t,"Right")||Vy().isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){e.stopPropagation(),e.preventDefault()},n.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(hw);hw.registerComponent("Slider",BS);var US=function(e,t){return FS(e/t*100,0,100).toFixed(2)+"%"},VS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).partEls_=[],r.on(t,"progress",(function(e){return r.update(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),n=Xx("span",{className:"vjs-control-text"}),r=Xx("span",{textContent:this.localize("Loaded")}),i=Fy().createTextNode(": ");return this.percentageEl_=Xx("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(n),n.appendChild(r),n.appendChild(i),n.appendChild(this.percentageEl_),t},n.dispose=function(){this.partEls_=null,this.percentageEl_=null,e.prototype.dispose.call(this)},n.update=function(e){var t=this;this.requestNamedAnimationFrame("LoadProgressBar#update",(function(){var e=t.player_.liveTracker,n=t.player_.buffered(),r=e&&e.isLive()?e.seekableEnd():t.player_.duration(),i=t.player_.bufferedEnd(),a=t.partEls_,s=US(i,r);t.percent_!==s&&(t.el_.style.width=s,Zx(t.percentageEl_,s),t.percent_=s);for(var o=0;o<n.length;o++){var l=n.start(o),u=n.end(o),c=a[o];c||(c=t.el_.appendChild(Xx()),a[o]=c),c.dataset.start===l&&c.dataset.end===u||(c.dataset.start=l,c.dataset.end=u,c.style.left=US(l,i),c.style.width=US(u-l,i))}for(var d=a.length;d>n.length;d--)t.el_.removeChild(a[d-1]);a.length=n.length}))},t}(hw);hw.registerComponent("LoadProgressBar",VS);var zS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=WT(HT(E(r),r.update),GT),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n){var r=uT(this.el_),i=lT(this.player_.el()),a=e.width*t;if(i&&r){var s=e.left-i.left+a,o=e.width-a+(i.right-e.right),l=r.width/2;s<l?l+=l-s:o<l&&(l=o),l<0?l=0:l>r.width&&(l=r.width),l=Math.round(l),this.el_.style.right="-"+l+"px",this.write(n)}},n.write=function(e){Zx(this.el_,e)},n.updateTime=function(e,t,n,r){var i=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",(function(){var a,s=i.player_.duration();if(i.player_.liveTracker&&i.player_.liveTracker.isLive()){var o=i.player_.liveTracker.liveWindow(),l=o-t*o;a=(l<1?"":"-")+IS(l,o)}else a=IS(n,s);i.update(e,t,a),r&&r()}))},t}(hw);hw.registerComponent("TimeTooltip",zS);var GS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=WT(HT(E(r),r.update),GT),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},n.update=function(e,t){var n=this.getChild("timeTooltip");if(n){var r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.updateTime(e,t,r)}},t}(hw);GS.prototype.options_={children:[]},Bx||kx||GS.prototype.options_.children.push("timeTooltip"),hw.registerComponent("PlayProgressBar",GS);var HS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=WT(HT(E(r),r.update),GT),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t){var n=this,r=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,r,(function(){n.el_.style.left=e.width*t+"px"}))},t}(hw);HS.prototype.options_={children:["timeTooltip"]},hw.registerComponent("MouseTimeDisplay",HS);var WS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).setEventHandlers_(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.setEventHandlers_=function(){var e=this;this.update_=HT(this,this.update),this.update=WT(this.update_,GT),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(t){return e.enableInterval_(t)},this.disableIntervalHandler_=function(t){return e.disableInterval_(t)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in Fy()&&"visibilityState"in Fy()&&this.on(Fy(),"visibilitychange",this.toggleVisibility_)},n.toggleVisibility_=function(e){"hidden"===Fy().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},n.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,GT))},n.disableInterval_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},n.update=function(t){var n=this;if("hidden"!==Fy().visibilityState){var r=e.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",(function(){var e=n.player_.ended()?n.player_.duration():n.getCurrentTime_(),t=n.player_.liveTracker,i=n.player_.duration();t&&t.isLive()&&(i=n.player_.liveTracker.liveCurrentTime()),n.percent_!==r&&(n.el_.setAttribute("aria-valuenow",(100*r).toFixed(2)),n.percent_=r),n.currentTime_===e&&n.duration_===i||(n.el_.setAttribute("aria-valuetext",n.localize("progress bar timing: currentTime={1} duration={2}",[IS(e,i),IS(i,i)],"{1} of {2}")),n.currentTime_=e,n.duration_=i),n.bar&&n.bar.update(lT(n.el()),n.getProgress())})),r}},n.userSeek_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)},n.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},n.getPercent=function(){var e,t=this.getCurrentTime_(),n=this.player_.liveTracker;return n&&n.isLive()?(e=(t-n.seekableStart())/n.liveWindow(),n.atLiveEdge()&&(e=1)):e=t/this.player_.duration(),e},n.handleMouseDown=function(t){gT(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},n.handleMouseMove=function(e,t){if(void 0===t&&(t=!1),gT(e)){var n;t||this.player_.scrubbing()||this.player_.scrubbing(!0);var r=this.calculateDistance(e),i=this.player_.liveTracker;if(i&&i.isLive()){if(r>=.99)return void i.seekToLiveEdge();var a=i.seekableStart(),s=i.liveCurrentTime();if((n=a+r*i.liveWindow())>=s&&(n=s),n<=a&&(n=a+.1),n===1/0)return}else(n=r*this.player_.duration())===this.player_.duration()&&(n-=.1);this.userSeek_(n)}},n.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},n.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},n.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?bw(this.player_.play()):this.update_()},n.stepForward=function(){this.userSeek_(this.player_.currentTime()+5)},n.stepBack=function(){this.userSeek_(this.player_.currentTime()-5)},n.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},n.handleKeyDown=function(t){var n=this.player_.liveTracker;if(Vy().isEventKey(t,"Space")||Vy().isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(Vy().isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(Vy().isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),n&&n.isLive()?this.userSeek_(n.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(Vy()(t))){t.preventDefault(),t.stopPropagation();var r=10*(Vy().codes[Vy()(t)]-Vy().codes[0])/100;n&&n.isLive()?this.userSeek_(n.seekableStart()+n.liveWindow()*r):this.userSeek_(this.player_.duration()*r)}else Vy().isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):Vy().isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):e.prototype.handleKeyDown.call(this,t)},n.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in Fy()&&"visibilityState"in Fy()&&this.off(Fy(),"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(BS);WS.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},Bx||kx||WS.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),hw.registerComponent("SeekBar",WS);var qS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseMove=WT(HT(E(r),r.handleMouseMove),GT),r.throttledHandleMouseSeek=WT(HT(E(r),r.handleMouseSeek),GT),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.handleMouseDownHandler_=function(e){return r.handleMouseDown(e)},r.enable(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},n.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("playProgressBar"),r=t.getChild("mouseTimeDisplay");if(n||r){var i=t.el(),a=uT(i),s=cT(i,e).x;s=FS(s,0,1),r&&r.update(a,s),n&&n.update(a,t.getProgress())}}},n.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},n.enabled=function(){return this.enabled_},n.disable=function(){if(this.children().forEach((function(e){return e.disable&&e.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){var e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&bw(this.player_.play())}},n.enable=function(){this.children().forEach((function(e){return e.enable&&e.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},n.removeListenersAddedOnMousedownAndTouchstart=function(){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)},n.handleMouseDown=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()},t}(hw);qS.prototype.options_={children:["seekBar"]},hw.registerComponent("ProgressControl",qS);var YS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],(function(e){return r.handlePictureInPictureChange(e)})),r.on(t,["disablepictureinpicturechanged","loadedmetadata"],(function(e){return r.handlePictureInPictureEnabledChange(e)})),r.on(t,["loadedmetadata","audioonlymodechange","audiopostermodechange"],(function(){"audio"===t.currentType().substring(0,5)||t.audioPosterMode()||t.audioOnlyMode()?(t.isInPictureInPicture()&&t.exitPictureInPicture(),r.hide()):r.show()})),r.disable(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},n.handlePictureInPictureEnabledChange=function(){Fy().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},n.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},n.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}(SS);YS.prototype.controlText_="Picture-in-Picture",hw.registerComponent("PictureInPictureToggle",YS);var XS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"fullscreenchange",(function(e){return r.handleFullscreenChange(e)})),!1===Fy()[t.fsApi_.fullscreenEnabled]&&r.disable(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},n.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},n.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(SS);XS.prototype.controlText_="Fullscreen",hw.registerComponent("FullscreenToggle",XS);var ZS=function(e){function t(){return e.apply(this,arguments)||this}return(0,zy.Z)(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return t.appendChild(e.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),t},t}(hw);hw.registerComponent("VolumeLevel",ZS);var KS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=WT(HT(E(r),r.update),GT),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n,r){if(!n){var i=lT(this.el_),a=lT(this.player_.el()),s=e.width*t;if(!a||!i)return;var o=e.left-a.left+s,l=e.width-s+(a.right-e.right),u=i.width/2;o<u?u+=u-o:l<u&&(u=l),u<0?u=0:u>i.width&&(u=i.width),this.el_.style.right="-"+u+"px"}this.write(r+"%")},n.write=function(e){Zx(this.el_,e)},n.updateVolume=function(e,t,n,r,i){var a=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(function(){a.update(e,t,n,r.toFixed(0)),i&&i()}))},t}(hw);hw.registerComponent("VolumeLevelTooltip",KS);var QS=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=WT(HT(E(r),r.update),GT),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t,n){var r=this,i=100*t;this.getChild("volumeLevelTooltip").updateVolume(e,t,n,i,(function(){n?r.el_.style.bottom=e.height*t+"px":r.el_.style.left=e.width*t+"px"}))},t}(hw);QS.prototype.options_={children:["volumeLevelTooltip"]},hw.registerComponent("MouseVolumeLevelDisplay",QS);var $S=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on("slideractive",(function(e){return r.updateLastVolume_(e)})),r.on(t,"volumechange",(function(e){return r.updateARIAAttributes(e)})),t.ready((function(){return r.updateARIAAttributes()})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},n.handleMouseDown=function(t){gT(t)&&e.prototype.handleMouseDown.call(this,t)},n.handleMouseMove=function(e){var t=this.getChild("mouseVolumeLevelDisplay");if(t){var n=this.el(),r=lT(n),i=this.vertical(),a=cT(n,e);a=i?a.y:a.x,a=FS(a,0,1),t.update(r,a,i)}gT(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},n.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},n.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},n.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},n.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},n.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},n.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},n.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",(function(){0===e.player_.volume()&&e.player_.lastVolume_(t)}))},t}(BS);$S.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Bx||kx||$S.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),$S.prototype.playerEvent="volumechange",hw.registerComponent("VolumeBar",$S);var JS=function(e){function t(t,n){var r;return void 0===n&&(n={}),n.vertical=n.vertical||!1,("undefined"===typeof n.volumeBar||_x(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(E(r=e.call(this,t,n)||this),t),r.throttledHandleMouseMove=WT(HT(E(r),r.handleMouseMove),GT),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r.on("touchstart",(function(e){return r.handleMouseDown(e)})),r.on("mousemove",(function(e){return r.handleMouseMove(e)})),r.on(r.volumeBar,["focus","slideractive"],(function(){r.volumeBar.addClass("vjs-slider-active"),r.addClass("vjs-slider-active"),r.trigger("slideractive")})),r.on(r.volumeBar,["blur","sliderinactive"],(function(){r.volumeBar.removeClass("vjs-slider-active"),r.removeClass("vjs-slider-active"),r.trigger("sliderinactive")})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},n.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(hw);JS.prototype.options_={children:["volumeBar"]},hw.registerComponent("VolumeControl",JS);var eE=function(e){function t(t,n){var r;return function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(E(r=e.call(this,t,n)||this),t),r.on(t,["loadstart","volumechange"],(function(e){return r.update(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},n.update=function(e){this.updateIcon_(),this.updateControlText_()},n.updateIcon_=function(){var e=this.player_.volume(),t=3;Bx&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var n=0;n<4;n++)Jx(this.el_,"vjs-vol-"+n);$x(this.el_,"vjs-vol-"+t)},n.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},t}(SS);eE.prototype.controlText_="Mute",hw.registerComponent("MuteToggle",eE);var tE=function(e){function t(t,n){var r;return void 0===n&&(n={}),"undefined"!==typeof n.inline?n.inline=n.inline:n.inline=!0,("undefined"===typeof n.volumeControl||_x(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline),(r=e.call(this,t,n)||this).handleKeyPressHandler_=function(e){return r.handleKeyPress(e)},r.on(t,["loadstart"],(function(e){return r.volumePanelState_(e)})),r.on(r.muteToggle,"keyup",(function(e){return r.handleKeyPress(e)})),r.on(r.volumeControl,"keyup",(function(e){return r.handleVolumeControlKeyUp(e)})),r.on("keydown",(function(e){return r.handleKeyPress(e)})),r.on("mouseover",(function(e){return r.handleMouseOver(e)})),r.on("mouseout",(function(e){return r.handleMouseOut(e)})),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}(0,zy.Z)(t,e);var n=t.prototype;return n.sliderActive_=function(){this.addClass("vjs-slider-active")},n.sliderInactive_=function(){this.removeClass("vjs-slider-active")},n.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},n.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},n.dispose=function(){this.handleMouseOut(),e.prototype.dispose.call(this)},n.handleVolumeControlKeyUp=function(e){Vy().isEventKey(e,"Esc")&&this.muteToggle.focus()},n.handleMouseOver=function(e){this.addClass("vjs-hover"),LT(Fy(),"keyup",this.handleKeyPressHandler_)},n.handleMouseOut=function(e){this.removeClass("vjs-hover"),jT(Fy(),"keyup",this.handleKeyPressHandler_)},n.handleKeyPress=function(e){Vy().isEventKey(e,"Esc")&&this.handleMouseOut()},t}(hw);tE.prototype.options_={children:["muteToggle","volumeControl"]},hw.registerComponent("VolumePanel",tE);var nE=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,n&&(r.menuButton_=n.menuButton),r.focusedChild_=-1,r.on("keydown",(function(e){return r.handleKeyDown(e)})),r.boundHandleBlur_=function(e){return r.handleBlur(e)},r.boundHandleTapClick_=function(e){return r.handleTapClick(e)},r}(0,zy.Z)(t,e);var n=t.prototype;return n.addEventListenerForItem=function(e){e instanceof hw&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},n.removeEventListenerForItem=function(e){e instanceof hw&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))},n.removeChild=function(t){"string"===typeof t&&(t=this.getChild(t)),this.removeEventListenerForItem(t),e.prototype.removeChild.call(this,t)},n.addItem=function(e){var t=this.addChild(e);t&&this.addEventListenerForItem(t)},n.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=Xx(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),LT(n,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),n},n.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,e.prototype.dispose.call(this)},n.handleBlur=function(e){var t=e.relatedTarget||Fy().activeElement;if(!this.children().some((function(e){return e.el()===t}))){var n=this.menuButton_;n&&n.buttonPressed_&&t!==n.el().firstChild&&n.unpressButton()}},n.handleTapClick=function(e){if(this.menuButton_){this.menuButton_.unpressButton();var t=this.children();if(!Array.isArray(t))return;var n=t.filter((function(t){return t.el()===e.target}))[0];if(!n)return;"CaptionSettingsMenuItem"!==n.name()&&this.menuButton_.focus()}},n.handleKeyDown=function(e){Vy().isEventKey(e,"Left")||Vy().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(Vy().isEventKey(e,"Right")||Vy().isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())},n.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},n.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},n.focus=function(e){void 0===e&&(e=0);var t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(hw);hw.registerComponent("Menu",nE);var rE=function(e){function t(t,n){var r;void 0===n&&(n={}),(r=e.call(this,t,n)||this).menuButton_=new SS(t,n),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var i=SS.prototype.buildCSSClass();r.menuButton_.el_.className=r.buildCSSClass()+" "+i,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0;var a=function(e){return r.handleClick(e)};return r.handleMenuKeyUp_=function(e){return r.handleMenuKeyUp(e)},r.on(r.menuButton_,"tap",a),r.on(r.menuButton_,"click",a),r.on(r.menuButton_,"keydown",(function(e){return r.handleKeyDown(e)})),r.on(r.menuButton_,"mouseenter",(function(){r.addClass("vjs-hover"),r.menu.show(),LT(Fy(),"keyup",r.handleMenuKeyUp_)})),r.on("mouseleave",(function(e){return r.handleMouseLeave(e)})),r.on("keydown",(function(e){return r.handleSubmenuKeyDown(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))},n.createMenu=function(){var e=new nE(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=Xx("li",{className:"vjs-menu-title",textContent:sw(this.options_.title),tabIndex:-1}),n=new hw(this.player_,{el:t});e.addItem(n)}if(this.items=this.createItems(),this.items)for(var r=0;r<this.items.length;r++)e.addItem(this.items[r]);return e},n.createItems=function(){},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},n.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+SS.prototype.buildCSSClass()+" "+e.prototype.buildCSSClass.call(this)},n.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},n.controlText=function(e,t){return void 0===t&&(t=this.menuButton_.el()),this.menuButton_.controlText(e,t)},n.dispose=function(){this.handleMouseLeave(),e.prototype.dispose.call(this)},n.handleClick=function(e){this.buttonPressed_?this.unpressButton():this.pressButton()},n.handleMouseLeave=function(e){this.removeClass("vjs-hover"),jT(Fy(),"keyup",this.handleMenuKeyUp_)},n.focus=function(){this.menuButton_.focus()},n.blur=function(){this.menuButton_.blur()},n.handleKeyDown=function(e){Vy().isEventKey(e,"Esc")||Vy().isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),Vy().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(Vy().isEventKey(e,"Up")||Vy().isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))},n.handleMenuKeyUp=function(e){(Vy().isEventKey(e,"Esc")||Vy().isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")},n.handleSubmenuKeyPress=function(e){this.handleSubmenuKeyDown(e)},n.handleSubmenuKeyDown=function(e){(Vy().isEventKey(e,"Esc")||Vy().isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),Vy().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus()))},n.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),Bx&&qx())return;this.menu.focus()}},n.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},n.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},n.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(hw);hw.registerComponent("MenuButton",rE);var iE=function(e){function t(t,n){var r,i=n.tracks;if((r=e.call(this,t,n)||this).items.length<=1&&r.hide(),!i)return E(r);var a=HT(E(r),r.update);return i.addEventListener("removetrack",a),i.addEventListener("addtrack",a),i.addEventListener("labelchange",a),r.player_.on("ready",a),r.player_.on("dispose",(function(){i.removeEventListener("removetrack",a),i.removeEventListener("addtrack",a),i.removeEventListener("labelchange",a)})),r}return(0,zy.Z)(t,e),t}(rE);hw.registerComponent("TrackButton",iE);var aE=["Tab","Esc","Up","Down","Right","Left"],sE=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).selectable=n.selectable,r.isSelected_=n.selected||!1,r.multiSelectable=n.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(t,n,r){this.nonIconControl=!0;var i=e.prototype.createEl.call(this,"li",vx({className:"vjs-menu-item",tabIndex:-1},n),r);return i.replaceChild(Xx("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),i.querySelector(".vjs-icon-placeholder")),i},n.handleKeyDown=function(t){aE.some((function(e){return Vy().isEventKey(t,e)}))||e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){this.selected(!0)},n.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},t}(gS);hw.registerComponent("MenuItem",sE);var oE=function(e){function t(t,n){var r,i=n.track,a=t.textTracks();n.label=i.label||i.language||"Unknown",n.selected="showing"===i.mode,(r=e.call(this,t,n)||this).track=i,r.kinds=(n.kinds||[n.kind||r.track.kind]).filter(Boolean);var s,o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(E(r),t)},l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleSelectedLanguageChange.apply(E(r),t)};(t.on(["loadstart","texttrackchange"],o),a.addEventListener("change",o),a.addEventListener("selectedlanguagechange",l),r.on("dispose",(function(){t.off(["loadstart","texttrackchange"],o),a.removeEventListener("change",o),a.removeEventListener("selectedlanguagechange",l)})),void 0===a.onchange)&&r.on(["tap","click"],(function(){if("object"!==typeof Ly().Event)try{s=new(Ly().Event)("change")}catch(e){}s||(s=Fy().createEvent("Event")).initEvent("change",!0,!0),a.dispatchEvent(s)}));return r.handleTracksChange(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.handleClick=function(t){var n=this.track,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var i=0;i<r.length;i++){var a=r[i];-1!==this.kinds.indexOf(a.kind)&&(a===n?"showing"!==a.mode&&(a.mode="showing"):"disabled"!==a.mode&&(a.mode="disabled"))}},n.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},n.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},n.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(sE);hw.registerComponent("TextTrackMenuItem",oE);var lE=function(e){function t(t,n){return n.track={player:t,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,e.call(this,t,n)||this}(0,zy.Z)(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var a=t[r];if(this.options_.kinds.indexOf(a.kind)>-1&&"showing"===a.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},n.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var a=t[r];if(["captions","descriptions","subtitles"].indexOf(a.kind)>-1&&"showing"===a.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(oE);hw.registerComponent("OffTextTrackMenuItem",lE);var uE=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.textTracks(),e.call(this,t,n)||this}return(0,zy.Z)(t,e),t.prototype.createItems=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t=oE),this.label_&&(n=this.label_+" off"),e.push(new lE(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<r.length;i++){var a=r[i];if(this.kinds_.indexOf(a.kind)>-1){var s=new t(this.player_,{track:a,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});s.addClass("vjs-"+a.kind+"-menu-item"),e.push(s)}}return e},t}(iE);hw.registerComponent("TextTrackButton",uE);var cE=function(e){function t(t,n){var r,i=n.track,a=n.cue,s=t.currentTime();return n.selectable=!0,n.multiSelectable=!1,n.label=a.text,n.selected=a.startTime<=s&&s<a.endTime,(r=e.call(this,t,n)||this).track=i,r.cue=a,r}return(0,zy.Z)(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime)},t}(sE);hw.registerComponent("ChaptersTrackMenuItem",cE);var dE=function(e){function t(t,n,r){var i;return(i=e.call(this,t,n,r)||this).selectCurrentItem_=function(){i.items.forEach((function(e){e.selected(i.track_.activeCues[0]===e.cue)}))},i}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildWrapperCSSClass.call(this)},n.update=function(t){if(!t||!t.track||"chapters"===t.track.kind){var n=this.findChaptersTrack();n!==this.track_?(this.setTrack(n),e.prototype.update.call(this)):(!this.items||n&&n.cues&&n.cues.length!==this.items.length)&&e.prototype.update.call(this)}},n.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}},n.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},n.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(sw(this.kind_))},n.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},n.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var i=t[n],a=new cE(this.player_,{track:this.track_,cue:i});e.push(a)}return e},t}(uE);dE.prototype.kind_="chapters",dE.prototype.controlText_="Chapters",hw.registerComponent("ChaptersButton",dE);var hE=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var a=t.textTracks(),s=HT(E(i),i.handleTracksChange);return a.addEventListener("change",s),i.on("dispose",(function(){a.removeEventListener("change",s)})),i}(0,zy.Z)(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,i=t.length;r<i;r++){var a=t[r];if(a.kind!==this.kind_&&"showing"===a.mode){n=!0;break}}n?this.disable():this.enable()},n.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(uE);hE.prototype.kind_="descriptions",hE.prototype.controlText_="Descriptions",hw.registerComponent("DescriptionsButton",hE);var fE=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(uE);fE.prototype.kind_="subtitles",fE.prototype.controlText_="Subtitles",hw.registerComponent("SubtitlesButton",fE);var pE=function(e){function t(t,n){var r;return n.track={player:t,kind:n.kind,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,n.name="CaptionSettingsMenuItem",(r=e.call(this,t,n)||this).addClass("vjs-texttrack-settings"),r.controlText(", opens "+n.kind+" settings dialog"),r}return(0,zy.Z)(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}(oE);hw.registerComponent("CaptionSettingsMenuItem",pE);var mE=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-captions-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new pE(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(uE);mE.prototype.kind_="captions",mE.prototype.controlText_="Captions",hw.registerComponent("CaptionsButton",mE);var gE=function(e){function t(){return e.apply(this,arguments)||this}return(0,zy.Z)(t,e),t.prototype.createEl=function(t,n,r){var i=e.prototype.createEl.call(this,t,n,r),a=i.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(a.appendChild(Xx("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),a.appendChild(Xx("span",{className:"vjs-control-text",textContent:" "+this.localize("Captions")}))),i},t}(oE);hw.registerComponent("SubsCapsMenuItem",gE);var vE=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(r.player_.language_)>-1&&(r.label_="captions"),r.menuButton_.controlText(sw(r.label_)),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new pE(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,gE)},t}(uE);vE.prototype.kinds_=["captions","subtitles"],vE.prototype.controlText_="Subtitles",hw.registerComponent("SubsCapsButton",vE);var yE=function(e){function t(t,n){var r,i=n.track,a=t.audioTracks();n.label=i.label||i.language||"Unknown",n.selected=i.enabled,(r=e.call(this,t,n)||this).track=i,r.addClass("vjs-"+i.kind+"-menu-item");var s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(E(r),t)};return a.addEventListener("change",s),r.on("dispose",(function(){a.removeEventListener("change",s)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(t,n,r){var i=e.prototype.createEl.call(this,t,n,r),a=i.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(a.appendChild(Xx("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),a.appendChild(Xx("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),i},n.handleClick=function(t){if(e.prototype.handleClick.call(this,t),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks)for(var n=this.player_.audioTracks(),r=0;r<n.length;r++){var i=n[r];i!==this.track&&(i.enabled=i===this.track)}},n.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(sE);hw.registerComponent("AudioTrackMenuItem",yE);var _E=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.audioTracks(),e.call(this,t,n)||this}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-audio-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(e){void 0===e&&(e=[]),this.hideThreshold_=1;for(var t=this.player_.audioTracks(),n=0;n<t.length;n++){var r=t[n];e.push(new yE(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e},t}(iE);_E.prototype.controlText_="Audio Track",hw.registerComponent("AudioTrackButton",_E);var bE=function(e){function t(t,n){var r,i=n.rate,a=parseFloat(i,10);return n.label=i,n.selected=a===t.playbackRate(),n.selectable=!0,n.multiSelectable=!1,(r=e.call(this,t,n)||this).label=i,r.rate=a,r.on(t,"ratechange",(function(e){return r.update(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},n.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(sE);bE.prototype.contentElType="button",hw.registerComponent("PlaybackRateMenuItem",bE);var xE=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).menuButton_.el_.setAttribute("aria-describedby",r.labelElId_),r.updateVisibility(),r.updateLabel(),r.on(t,"loadstart",(function(e){return r.updateVisibility(e)})),r.on(t,"ratechange",(function(e){return r.updateLabel(e)})),r.on(t,"playbackrateschange",(function(e){return r.handlePlaybackRateschange(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=Xx("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),t.appendChild(this.labelEl_),t},n.dispose=function(){this.labelEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){for(var e=this.playbackRates(),t=[],n=e.length-1;n>=0;n--)t.push(new bE(this.player(),{rate:e[n]+"x"}));return t},n.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},n.handleClick=function(e){var t=this.player().playbackRate(),n=this.playbackRates(),r=(n.indexOf(t)+1)%n.length;this.player().playbackRate(n[r])},n.handlePlaybackRateschange=function(e){this.update()},n.playbackRates=function(){var e=this.player();return e.playbackRates&&e.playbackRates()||[]},n.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},n.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},n.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},t}(rE);xE.prototype.controlText_="Playback Rate",hw.registerComponent("PlaybackRateMenuButton",xE);var TE=function(e){function t(){return e.apply(this,arguments)||this}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(t,n,r){return void 0===t&&(t="div"),void 0===n&&(n={}),void 0===r&&(r={}),n.className||(n.className=this.buildCSSClass()),e.prototype.createEl.call(this,t,n,r)},t}(hw);hw.registerComponent("Spacer",TE);var wE=function(e){function t(){return e.apply(this,arguments)||this}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:"\xa0"})},t}(TE);hw.registerComponent("CustomControlSpacer",wE);var SE=function(e){function t(){return e.apply(this,arguments)||this}return(0,zy.Z)(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(hw);SE.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in Fy()&&SE.prototype.options_.children.splice(SE.prototype.options_.children.length-1,0,"pictureInPictureToggle"),hw.registerComponent("ControlBar",SE);var EE=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"error",(function(e){return r.open(e)})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},n.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(Ew);EE.prototype.options_=(0,By.Z)({},Ew.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),hw.registerComponent("ErrorDisplay",EE);var kE="vjs-text-track-settings",CE=["#000","Black"],PE=["#00F","Blue"],AE=["#0FF","Cyan"],IE=["#0F0","Green"],OE=["#F0F","Magenta"],DE=["#F00","Red"],ME=["#FFF","White"],NE=["#FF0","Yellow"],RE=["1","Opaque"],LE=["0.5","Semi-Transparent"],jE=["0","Transparent"],FE={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[CE,ME,DE,IE,PE,NE,OE,AE]},backgroundOpacity:{selector:".vjs-bg-opacity >
2 select",id:"captions-background-opacity-%s",label:"Transparency",options:[RE,LE,jE]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[ME,CE,DE,IE,PE,NE,OE,AE]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[RE,LE]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[jE,LE,RE]}};function BE(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}FE.windowColor.options=FE.backgroundColor.options;var UE=function(e){function t(t,n){var r;return n.temporary=!1,(r=e.call(this,t,n)||this).updateDisplay=r.updateDisplay.bind(E(r)),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=Xx("p",{className:"vjs-control-text",textContent:r.localize("End of dialog window.")}),r.el().appendChild(r.endDialog),r.setDefaults(),void 0===n.persistTextTrackSettings&&(r.options_.persistTextTrackSettings=r.options_.playerOptions.persistTextTrackSettings),r.on(r.$(".vjs-done-button"),"click",(function(){r.saveSettings(),r.close()})),r.on(r.$(".vjs-default-button"),"click",(function(){r.setDefaults(),r.updateDisplay()})),gx(FE,(function(e){r.on(r.$(e.selector),"change",r.updateDisplay)})),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},n.createElSelect_=function(e,t,n){var r=this;void 0===t&&(t=""),void 0===n&&(n="label");var i=FE[e],a=i.id.replace("%s",this.id_),s=[t,a].join(" ").trim();return["<"+n+' id="'+a+'" class="'+("label"===n?"vjs-label":"")+'">',this.localize(i.label),"</"+n+">",'<select aria-labelledby="'+s+'">'].concat(i.options.map((function(e){var t=a+"-"+e[1].replace(/\W+/g,"");return['<option id="'+t+'" value="'+e[0]+'" ','aria-labelledby="'+s+" "+t+'">',r.localize(e[1]),"</option>"].join("")}))).concat("</select>").join("")},n.createElFgColor_=function(){var e="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",e),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")},n.createElBgColor_=function(){var e="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",e),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")},n.createElWinColor_=function(){var e="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",e),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")},n.createElColors_=function(){return Xx("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},n.createElFont_=function(){return Xx("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},n.createElControls_=function(){var e=this.localize("restore all settings to the default values");return Xx("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+e+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+e+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},n.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},n.label=function(){return this.localize("Caption Settings Dialog")},n.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},n.buildCSSClass=function(){return e.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},n.getValues=function(){var e,t,n,r=this;return t=function(e,t,n){var i,a,s=(i=r.$(t.selector),a=t.parser,BE(i.options[i.options.selectedIndex].value,a));return void 0!==s&&(e[n]=s),e},void 0===(n={})&&(n=0),mx(e=FE).reduce((function(n,r){return t(n,e[r],r)}),n)},n.setValues=function(e){var t=this;gx(FE,(function(n,r){!function(e,t,n){if(t)for(var r=0;r<e.options.length;
vendor: 34,175 bytes, line 2
2r++)if(BE(e.options[r].value,n)===t){e.selectedIndex=r;break}}(t.$(n.selector),e[r],n.parser)}))},n.setDefaults=function(){var e=this;gx(FE,(function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n}))},n.restoreSettings=function(){var e;try{e=JSON.parse(Ly().localStorage.getItem(kE))}catch(t){hx.warn(t)}e&&this.setValues(e)},n.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?Ly().localStorage.setItem(kE,JSON.stringify(e)):Ly().localStorage.removeItem(kE)}catch(t){hx.warn(t)}}},n.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},n.conditionalBlur_=function(){this.previouslyActiveEl_=null;var e=this.player_.controlBar,t=e&&e.subsCapsButton,n=e&&e.captionsButton;t?t.focus():n&&n.focus()},t}(Ew);hw.registerComponent("TextTrackSettings",UE);var VE=function(e){function t(t,n){var r,i=n.ResizeObserver||Ly().ResizeObserver;null===n.ResizeObserver&&(i=!1);var a=ow({createEl:!i,reportTouchActivity:!1},n);return(r=e.call(this,t,a)||this).ResizeObserver=n.ResizeObserver||Ly().ResizeObserver,r.loadListener_=null,r.resizeObserver_=null,r.debouncedHandler_=function(e,t,n,r){var i;void 0===r&&(r=Ly());var a=function(){var a=this,s=arguments,o=function(){i=null,o=null,n||e.apply(a,s)};!i&&n&&e.apply(a,s),r.clearTimeout(i),i=r.setTimeout(o,t)};return a.cancel=function(){r.clearTimeout(i),i=null},a}((function(){r.resizeHandler()}),100,!1,E(r)),i?(r.resizeObserver_=new r.ResizeObserver(r.debouncedHandler_),r.resizeObserver_.observe(t.el())):(r.loadListener_=function(){if(r.el_&&r.el_.contentWindow){var e=r.debouncedHandler_,t=r.unloadListener_=function(){jT(this,"resize",e),jT(this,"unload",t),t=null};LT(r.el_.contentWindow,"unload",t),LT(r.el_.contentWindow,"resize",e)}},r.one("load",r.loadListener_)),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})},n.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},n.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,e.prototype.dispose.call(this)},t}(hw);hw.registerComponent("ResizeManager",VE);var zE={trackingThreshold:20,liveTolerance:15},GE=function(e){function t(t,n){var r,i=ow(zE,n,{createEl:!1});return(r=e.call(this,t,i)||this).handleVisibilityChange_=function(e){return r.handleVisibilityChange(e)},r.trackLiveHandler_=function(){return r.trackLive_()},r.handlePlay_=function(e){return r.handlePlay(e)},r.handleFirstTimeupdate_=function(e){return r.handleFirstTimeupdate(e)},r.handleSeeked_=function(e){return r.handleSeeked(e)},r.seekToLiveEdge_=function(e){return r.seekToLiveEdge(e)},r.reset_(),r.on(r.player_,"durationchange",(function(e){return r.handleDurationchange(e)})),r.on(r.player_,"canplay",(function(){return r.toggleTracking()})),Mx&&"hidden"in Fy()&&"visibilityState"in Fy()&&r.on(Fy(),"visibilitychange",r.handleVisibilityChange_),r}(0,zy.Z)(t,e);var n=t.prototype;return n.handleVisibilityChange=function(){this.player_.duration()===1/0&&(Fy().hidden?this.stopTracking():this.startTracking())},n.trackLive_=function(){var e=this.player_.seekable();if(e&&e.length){var t=Number(Ly().performance.now().toFixed(4)),n=-1===this.lastTime_?0:(t-this.lastTime_)/1e3;this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+n;var r=this.liveCurrentTime(),i=this.player_.currentTime(),a=this.player_.paused()||this.seekedBehindLive_||Math.abs(r-i)>this.options_.liveTolerance;this.timeupdateSeen_&&r!==1/0||(a=!1),a!==this.behindLiveEdge_&&(this.behindLiveEdge_=a,this.trigger("liveedgechange"))}},n.handleDurationchange=function(){this.toggleTracking()},n.toggleTracking=function(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())},n.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,GT),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))},n.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},n.handleSeeked=function(){var e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()},n.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},n.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)},n.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},n.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},n.seekableEnd=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.end(n));return t.length?t.sort()[t.length-1]:1/0},n.seekableStart=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.start(n));return t.length?t.sort()[0]:0},n.liveWindow=function(){var e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()},n.isLive=function(){return this.isTracking()},n.atLiveEdge=function(){return!this.behindLiveEdge()},n.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},n.pastSeekEnd=function(){var e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_},n.behindLiveEdge=function(){return this.behindLiveEdge_},n.isTracking=function(){return"number"===typeof this.trackingInterval_},n.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},n.dispose=function(){this.off(Fy(),"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),e.prototype.dispose.call(this)},t}(hw);hw.registerComponent("LiveTracker",GE);var HE,WE=function(e){var t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;var n=e.$$("source"),r=[],i="";if(!n.length)return!1;for(var a=0;a<n.length;a++){var s=n[a].src;s&&-1===r.indexOf(s)&&r.push(s)}return!!r.length&&(1===r.length&&(i=r[0]),e.triggerSourceset(i),!0)},qE=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var t=Fy().createElement(this.nodeName.toLowerCase());t.innerHTML=e;for(var n=Fy().createDocumentFragment();t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",Ly().Element.prototype.appendChild.call(this,n),this.innerHTML}}),YE=function(e,t){for(var n={},r=0;r<e.length&&!((n=Object.getOwnPropertyDescriptor(e[r],t))&&n.set&&n.get);r++);return n.enumerable=!0,n.configurable=!0,n},XE=function(e){var t=e.el();if(!t.resetSourceWatch_){var n={},r=function(e){return YE([e.el(),Ly().HTMLMediaElement.prototype,Ly().Element.prototype,qE],"innerHTML")}(e),i=function(n){return function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var s=n.apply(t,i);return WE(e),s}};["append","appendChild","insertAdjacentHTML"].forEach((function(e){t[e]&&(n[e]=t[e],t[e]=i(n[e]))})),Object.defineProperty(t,"innerHTML",ow(r,{set:i(r.set)})),t.resetSourceWatch_=function(){t.resetSourceWatch_=null,Object.keys(n).forEach((function(e){t[e]=n[e]})),Object.defineProperty(t,"innerHTML",r)},e.one("sourceset",t.resetSourceWatch_)}},ZE=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?Vw(Ly().Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return Ly().Element.prototype.setAttribute.call(this,"src",e),e}}),KE=function(e){if(e.featuresSourceset){var t=e.el();if(!t.resetSourceset_){var n=function(e){return YE([e.el(),Ly().HTMLMediaElement.prototype,ZE],"src")}(e),r=t.setAttribute,i=t.load;Object.defineProperty(t,"src",ow(n,{set:function(r){var i=n.set.call(t,r);return e.triggerSourceset(t.src),i}})),t.setAttribute=function(n,i){var a=r.call(t,n,i);return/src/i.test(n)&&e.triggerSourceset(t.src),a},t.load=function(){var n=i.call(t);return WE(e)||(e.triggerSourceset(""),XE(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):WE(e)||XE(e),t.resetSourceset_=function(){t.resetSourceset_=null,t.load=i,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}}}},QE=function(e,t,n,r){void 0===r&&(r=!0);var i=function(n){return Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0})},a={configurable:!0,enumerable:!0,get:function(){var e=n();return i(e),e}};return r&&(a.set=i),Object.defineProperty(e,t,a)},$E=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i=t.source,a=!1;if(r.featuresVideoFrameCallback=r.featuresVideoFrameCallback&&"VIDEO"===r.el_.tagName,i&&(r.el_.currentSrc!==i.src||t.tag&&3===t.tag.initNetworkState_)?r.setSource(i):r.handleLateInit_(r.el_),t.enableSourceset&&r.setupSourcesetHandling_(),r.isScrubbing_=!1,r.el_.hasChildNodes()){for(var s=r.el_.childNodes,o=s.length,l=[];o--;){var u=s[o];"track"===u.nodeName.toLowerCase()&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(u),r.remoteTextTracks().addTrack(u.track),r.textTracks().addTrack(u.track),a||r.el_.hasAttribute("crossorigin")||!Gw(u.src)||(a=!0)):l.push(u))}for(var c=0;c<l.length;c++)r.el_.removeChild(l[c])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&a&&hx.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),r.restoreMetadataTracksInIOSNativePlayer_(),(Lx||Fx||Px)&&!0===t.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}(0,zy.Z)(t,e);var n=t.prototype;return n.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),t.disposeMediaElement(this.el_),this.options_=null,e.prototype.dispose.call(this)},n.setupSourcesetHandling_=function(){KE(this)},n.restoreMetadataTracksInIOSNativePlayer_=function(){var e,t=this.textTracks(),n=function(){e=[];for(var n=0;n<t.length;n++){var r=t[n];"metadata"===r.kind&&e.push({track:r,storedMode:r.mode})}};n(),t.addEventListener("change",n),this.on("dispose",(function(){return t.removeEventListener("change",n)}));var r=function n(){for(var r=0;r<e.length;r++){var i=e[r];"disabled"===i.track.mode&&i.track.mode!==i.storedMode&&(i.track.mode=i.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",(function(){t.removeEventListener("change",n),t.removeEventListener("change",r),t.addEventListener("change",r)})),this.on("webkitendfullscreen",(function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",r)}))},n.overrideNative_=function(e,t){var n=this;if(t===this["featuresNative"+e+"Tracks"]){var r=e.toLowerCase();this[r+"TracksListeners_"]&&Object.keys(this[r+"TracksListeners_"]).forEach((function(e){n.el()[r+"Tracks"].removeEventListener(e,n[r+"TracksListeners_"][e])})),this["featuresNative"+e+"Tracks"]=!t,this[r+"TracksListeners_"]=null,this.proxyNativeTracksForType_(r)}},n.overrideNativeAudioTracks=function(e){this.overrideNative_("Audio",e)},n.overrideNativeVideoTracks=function(e){this.overrideNative_("Video",e)},n.proxyNativeTracksForType_=function(e){var t=this,n=Qw[e],r=this.el()[n.getterName],i=this[n.getterName]();if(this["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var a={change:function(n){var r={type:"change",target:i,currentTarget:i,srcElement:i};i.trigger(r),"text"===e&&t[$w.remoteText.getterName]().trigger(r)},addtrack:function(e){i.addTrack(e.track)},removetrack:function(e){i.removeTrack(e.track)}},s=function(){for(var e=[],t=0;t<i.length;t++){for(var n=!1,a=0;a<r.length;a++)if(r[a]===i[t]){n=!0;break}n||e.push(i[t])}for(;e.length;)i.removeTrack(e.shift())};this[n.getterName+"Listeners_"]=a,Object.keys(a).forEach((function(e){var n=a[e];r.addEventListener(e,n),t.on("dispose",(function(t){return r.removeEventListener(e,n)}))})),this.on("loadstart",s),this.on("dispose",(function(e){return t.off("loadstart",s)}))}},n.proxyNativeTracks_=function(){var e=this;Qw.names.forEach((function(t){e.proxyNativeTracksForType_(t)}))},n.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=Fy().createElement("video");var r=ow({},this.options_.tag&&nT(this.options_.tag));Lx&&!0===this.options_.nativeControlsForTouch||delete r.controls,tT(e,vx(r,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}"undefined"!==typeof this.options_.preload&&iT(e,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);for(var i=["loop","muted","playsinline","autoplay"],a=0;a<i.length;a++){var s=i[a],o=this.options_[s];"undefined"!==typeof o&&(o?iT(e,s,s):aT(e,s),e[s]=o)}return e},n.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready((function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")}))}var i=["loadstart"];i.push("loadedmetadata"),e.readyState>=2&&i.push("loadeddata"),e.readyState>=3&&i.push("canplay"),e.readyState>=4&&i.push("canplaythrough"),this.ready((function(){i.forEach((function(e){this.trigger(e)}),this)}))}},n.setScrubbing=function(e){this.isScrubbing_=e},n.scrubbing=function(){return this.isScrubbing_},n.setCurrentTime=function(e){try{this.isScrubbing_&&this.el_.fastSeek&&Ux?this.el_.fastSeek(e):this.el_.currentTime=e}catch(t){hx(t,"Video is not ready. (Video.js)")}},n.duration=function(){var e=this;if(this.el_.duration===1/0&&kx&&Ox&&0===this.el_.currentTime){return this.on("timeupdate",(function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))})),NaN}return this.el_.duration||NaN},n.width=function(){return this.el_.offsetWidth},n.height=function(){return this.el_.offsetHeight},n.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",(function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)}))}},n.supportsFullScreen=function(){if("function"===typeof this.el_.webkitEnterFullScreen){var e=Ly().navigator&&Ly().navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},n.enterFullScreen=function(){var e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)bw(this.el_.play()),this.setTimeout((function(){e.pause();try{e.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}}),0);else try{e.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}},n.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},n.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},n.requestVideoFrameCallback=function(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):e.prototype.requestVideoFrameCallback.call(this,t)},n.cancelVideoFrameCallback=function(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):e.prototype.cancelVideoFrameCallback.call(this,t)},n.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},n.reset=function(){t.resetMediaElement(this.el_)},n.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},n.setControls=function(e){this.el_.controls=!!e},n.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},n.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=Fy().createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},n.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},n.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},n.getVideoPlaybackQuality=function(){if("function"===typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return"undefined"!==typeof this.el().webkitDroppedFrameCount&&"undefined"!==typeof this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),Ly().performance&&"function"===typeof Ly().performance.now?e.creationTime=Ly().performance.now():Ly().performance&&Ly().performance.timing&&"number"===typeof Ly().performance.timing.navigationStart&&(e.creationTime=Ly().Date.now()-Ly().performance.timing.navigationStart),e},t}(eS);QE($E,"TEST_VID",(function(){if(Hx()){var e=Fy().createElement("video"),t=Fy().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e}})),$E.isSupported=function(){try{$E.TEST_VID.volume=.5}catch(e){return!1}return!(!$E.TEST_VID||!$E.TEST_VID.canPlayType)},$E.canPlayType=function(e){return $E.TEST_VID.canPlayType(e)},$E.canPlaySource=function(e,t){return $E.canPlayType(e.type)},$E.canControlVolume=function(){try{var e=$E.TEST_VID.volume;$E.TEST_VID.volume=e/2+.1;var t=e!==$E.TEST_VID.volume;return t&&Bx?(Ly().setTimeout((function(){$E&&$E.prototype&&($E.prototype.featuresVolumeControl=e!==$E.TEST_VID.volume)})),!1):t}catch(n){return!1}},$E.canMuteVolume=function(){try{var e=$E.TEST_VID.muted;return $E.TEST_VID.muted=!e,$E.TEST_VID.muted?iT($E.TEST_VID,"muted","muted"):aT($E.TEST_VID,"muted"),e!==$E.TEST_VID.muted}catch(t){return!1}},$E.canControlPlaybackRate=function(){if(kx&&Ox&&Dx<58)return!1;try{var e=$E.TEST_VID.playbackRate;return $E.TEST_VID.playbackRate=e/2+.1,e!==$E.TEST_VID.playbackRate}catch(t){return!1}},$E.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(Fy().createElement("video"),"src",{get:e,set:e}),Object.defineProperty(Fy().createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(Fy().createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(Fy().createElement("audio"),"innerHTML",{get:e,set:e})}catch(t){return!1}return!0},$E.supportsNativeTextTracks=function(){return Ux||Bx&&Ox},$E.supportsNativeVideoTracks=function(){return!(!$E.TEST_VID||!$E.TEST_VID.videoTracks)},$E.supportsNativeAudioTracks=function(){return!(!$E.TEST_VID||!$E.TEST_VID.audioTracks)},$E.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function(e){var t=e[0],n=e[1];QE($E.prototype,t,(function(){return $E[n]()}),!0)})),$E.prototype.featuresVolumeControl=$E.canControlVolume(),$E.prototype.movingMediaElementInDOM=!Bx,$E.prototype.featuresFullscreenResize=!0,$E.prototype.featuresProgressEvents=!0,$E.prototype.featuresTimeupdateEvents=!0,$E.prototype.featuresVideoFrameCallback=!(!$E.TEST_VID||!$E.TEST_VID.requestVideoFrameCallback),$E.patchCanPlayType=function(){Cx>=4&&!Ax&&!Ox&&(HE=$E.TEST_VID&&$E.TEST_VID.constructor.prototype.canPlayType,$E.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":HE.call(this,e)})},$E.unpatchCanPlayType=function(){var e=$E.TEST_VID.constructor.prototype.canPlayType;return HE&&($E.TEST_VID.constructor.prototype.canPlayType=HE),e},$E.patchCanPlayType(),$E.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"===typeof e.load&&function(){try{e.load()}catch(t){}}()}},$E.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"===typeof e.load&&function(){try{e.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(e){$E.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){$E.prototype["set"+sw(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){$E.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(e){$E.prototype["set"+sw(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){$E.prototype[e]=function(){return this.el_[e]()}})),eS.withSourceHandlers($E),$E.nativeSourceHandler={},$E.nativeSourceHandler.canPlayType=function(e){try{return $E.TEST_VID.canPlayType(e)}catch(t){return""}},$E.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return $E.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=zw(e.src);return $E.nativeSourceHandler.canPlayType("video/"+n)}return""},$E.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},$E.nativeSourceHandler.dispose=function(){},$E.registerSourceHandler($E.nativeSourceHandler),eS.registerTech("Html5",$E);var JE=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],ek={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},tk=["tiny","xsmall","small","medium","large","xlarge","huge"],nk={};tk.forEach((function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;nk[e]="vjs-layout-"+t}));var rk={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},ik=function(e){function t(n,r,i){var a;if(n.id=n.id||r.id||"vjs_video_"+AT(),(r=vx(t.getTagSettings(n),r)).initChildren=!1,r.createEl=!1,r.evented=!1,r.reportTouchActivity=!1,!r.language)if("function"===typeof n.closest){var s=n.closest("[lang]");s&&s.getAttribute&&(r.language=s.getAttribute("lang"))}else for(var o=n;o&&1===o.nodeType;){if(nT(o).hasOwnProperty("lang")){r.language=o.getAttribute("lang");break}o=o.parentNode}if((a=e.call(this,null,r,i)||this).boundDocumentFullscreenChange_=function(e){return a.documentFullscreenChange_(e)},a.boundFullWindowOnEscKey_=function(e){return a.fullWindowOnEscKey(e)},a.boundUpdateStyleEl_=function(e){return a.updateStyleEl_(e)},a.boundApplyInitTime_=function(e){return a.applyInitTime_(e)},a.boundUpdateCurrentBreakpoint_=function(e){return a.updateCurrentBreakpoint_(e)},a.boundHandleTechClick_=function(e){return a.handleTechClick_(e)},a.boundHandleTechDoubleClick_=function(e){return a.handleTechDoubleClick_(e)},a.boundHandleTechTouchStart_=function(e){return a.handleTechTouchStart_(e)},a.boundHandleTechTouchMove_=function(e){return a.handleTechTouchMove_(e)},a.boundHandleTechTouchEnd_=function(e){return a.handleTechTouchEnd_(e)},a.boundHandleTechTap_=function(e){return a.handleTechTap_(e)},a.isFullscreen_=!1,a.log=fx(a.id_),a.fsApi_=sx,a.isPosterFromTech_=!1,a.queuedCallbacks_=[],a.isReady_=!1,a.hasStarted_=!1,a.userActive_=!1,a.debugEnabled_=!1,a.audioOnlyMode_=!1,a.audioPosterMode_=!1,a.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!a.options_||!a.options_.techOrder||!a.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(a.tag=n,a.tagAttributes=n&&nT(n),a.language(a.options_.language),r.languages){var l={};Object.getOwnPropertyNames(r.languages).forEach((function(e){l[e.toLowerCase()]=r.languages[e]})),a.languages_=l}else a.languages_=t.prototype.options_.languages;a.resetCache_(),a.poster_=r.poster||"",a.controls_=!!r.controls,n.controls=!1,n.removeAttribute("controls"),a.changingSrc_=!1,a.playCallbacks_=[],a.playTerminatedQueue_=[],n.hasAttribute("autoplay")?a.autoplay(!0):a.autoplay(a.options_.autoplay),r.plugins&&Object.keys(r.plugins).forEach((function(e){if("function"!==typeof a[e])throw new Error('plugin "'+e+'" does not exist')})),a.scrubbing_=!1,a.el_=a.createEl(),nw(E(a),{eventBusKey:"el_"}),a.fsApi_.requestFullscreen&&(LT(Fy(),a.fsApi_.fullscreenchange,a.boundDocumentFullscreenChange_),a.on(a.fsApi_.fullscreenchange,a.boundDocumentFullscreenChange_)),a.fluid_&&a.on(["playerreset","resize"],a.boundUpdateStyleEl_);var u=ow(a.options_);r.plugins&&Object.keys(r.plugins).forEach((function(e){a[e](r.plugins[e])})),r.debug&&a.debug(!0),a.options_.playerOptions=u,a.middleware_=[],a.playbackRates(r.playbackRates),a.initChildren(),a.isAudio("audio"===n.nodeName.toLowerCase()),a.controls()?a.addClass("vjs-controls-enabled"):a.addClass("vjs-controls-disabled"),a.el_.setAttribute("role","region"),a.isAudio()?a.el_.setAttribute("aria-label",a.localize("Audio Player")):a.el_.setAttribute("aria-label",a.localize("Video Player")),a.isAudio()&&a.addClass("vjs-audio"),a.flexNotSupported_()&&a.addClass("vjs-no-flex"),Lx&&a.addClass("vjs-touch-enabled"),Bx||a.addClass("vjs-workinghover"),t.players[a.id_]=E(a);var c=nx.split(".")[0];return a.addClass("vjs-v"+c),a.userActive(!0),a.reportUserActivity(),a.one("play",(function(e){return a.listenForUserActivity_(e)})),a.on("stageclick",(function(e){return a.handleStageClick_(e)})),a.on("keydown",(function(e){return a.handleKeyDown(e)})),a.on("languagechange",(function(e){return a.handleLanguagechange(e)})),a.breakpoints(a.options_.breakpoints),a.responsive(a.options_.responsive),a.on("ready",(function(){a.audioPosterMode(a.options_.audioPosterMode),a.audioOnlyMode(a.options_.audioOnlyMode)})),a}(0,zy.Z)(t,e);var n=t.prototype;return n.dispose=function(){var n=this;this.trigger("dispose"),this.off("dispose"),jT(Fy(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),jT(Fy(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),nS[this.id()]=null,Jw.names.forEach((function(e){var t=Jw[e],r=n[t.getterName]();r&&r.off&&r.off()})),e.prototype.dispose.call(this,{restoreEl:this.options_.restoreEl})},n.createEl=function(){var t,n=this.tag,r=this.playerElIngest_=n.parentNode&&n.parentNode.hasAttribute&&n.parentNode.hasAttribute("data-vjs-player"),i="video-js"===this.tag.tagName.toLowerCase();r?t=this.el_=n.parentNode:i||(t=this.el_=e.prototype.createEl.call(this,"div"));var a=nT(n);if(i){for(t=this.el_=n,n=this.tag=Fy().createElement("video");t.children.length;)n.appendChild(t.firstChild);Qx(t,"video-js")||$x(t,"video-js"),t.appendChild(n),r=this.playerElIngest_=t,Object.keys(t).forEach((function(e){try{n[e]=t[e]}catch(r){}}))}if(n.setAttribute("tabindex","-1"),a.tabindex="-1",(Mx||Ox&&Rx)&&(n.setAttribute("role","application"),a.role="application"),n.removeAttribute("width"),n.removeAttribute("height"),"width"in a&&delete a.width,"height"in a&&delete a.height,Object.getOwnPropertyNames(a).forEach((function(e){i&&"class"===e||t.setAttribute(e,a[e]),i&&n.setAttribute(e,a[e])})),n.playerId=n.id,n.id+="_html5_api",n.className="vjs-tech",n.player=t.player=this,this.addClass("vjs-paused"),!0!==Ly().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=kT("vjs-styles-dimensions");var s=yT(".vjs-styles-defaults"),o=yT("head");o.insertBefore(this.styleEl_,s?s.nextSibling:o.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var l=n.getElementsByTagName("a"),u=0;u<l.length;u++){var c=l.item(u);$x(c,"vjs-hidden"),c.setAttribute("hidden","hidden")}return n.initNetworkState_=n.networkState,n.parentNode&&!r&&n.parentNode.insertBefore(t,n),Kx(n,t),this.children_.unshift(n),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=t,t},n.crossOrigin=function(e){if(!e)return this.techGet_("crossOrigin");"anonymous"===e||"use-credentials"===e?this.techCall_("setCrossOrigin",e):hx.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+e+'"')},n.width=function(e){return this.dimension("width",e)},n.height=function(e){return this.dimension("height",e)},n.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t||"auto"===t)return this[n]=void 0,void this.updateStyleEl_();var r=parseFloat(t);isNaN(r)?hx.error('Improper value "'+t+'" supplied for for '+e):(this[n]=r,this.updateStyleEl_())},n.fluid=function(e){var t,n,r=this;if(void 0===e)return!!this.fluid_;this.fluid_=!!e,XT(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),n=function(){r.on(["playerreset","resize"],r.boundUpdateStyleEl_)},XT(t=this)?n():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(n))):this.removeClass("vjs-fluid"),this.updateStyleEl_()},n.fill=function(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},n.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},n.updateStyleEl_=function(){if(!0!==Ly().VIDEOJS_NO_DYNAMIC_STYLE){var e,t,n,r=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),i=r[1]/r[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/i:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*i,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),CT(this.styleEl_,"\n      ."+n+" {\n        width: "+e+"px;\n        height: "+t+"px;\n      }\n\n      ."+n+".vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: "+100*i+"%;\n      }\n    ")}else{var a="number"===typeof this.width_?this.width_:this.options_.width,s="number"===typeof this.height_?this.height_:this.options_.height,o=this.tech_&&this.tech_.el();o&&(a>=0&&(o.width=a),s>=0&&(o.height=s))}},n.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_();var r=sw(e),i=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==r&&this.tag&&(eS.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;var a=this.autoplay();("string"===typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(a=!1);var s={source:t,autoplay:a,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+i+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};
vendor: 3,002 bytes, line 2
2Jw.names.forEach((function(e){var t=Jw[e];s[t.getterName]=n[t.privateName]})),vx(s,this.options_[r]),vx(s,this.options_[i]),vx(s,this.options_[e.toLowerCase()]),this.tag&&(s.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(s.startTime=this.cache_.currentTime);var o=eS.getTech(e);if(!o)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new o(s),this.tech_.ready(HT(this,this.handleTechReady_),!0),ww(this.textTracksJson_||[],this.tech_),JE.forEach((function(e){n.on(n.tech_,e,(function(t){return n["handleTech"+sw(e)+"_"](t)}))})),Object.keys(ek).forEach((function(e){n.on(n.tech_,e,(function(t){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+ek[e]+"_"].bind(n),event:t}):n["handleTech"+ek[e]+"_"](t)}))})),this.on(this.tech_,"loadstart",(function(e){return n.handleTechLoadStart_(e)})),this.on(this.tech_,"sourceset",(function(e){return n.handleTechSourceset_(e)})),this.on(this.tech_,"waiting",(function(e){return n.handleTechWaiting_(e)})),this.on(this.tech_,"ended",(function(e){return n.handleTechEnded_(e)})),this.on(this.tech_,"seeking",(function(e){return n.handleTechSeeking_(e)})),this.on(this.tech_,"play",(function(e){return n.handleTechPlay_(e)})),this.on(this.tech_,"firstplay",(function(e){return n.handleTechFirstPlay_(e)})),this.on(this.tech_,"pause",(function(e){return n.handleTechPause_(e)})),this.on(this.tech_,"durationchange",(function(e){return n.handleTechDurationChange_(e)})),this.on(this.tech_,"fullscreenchange",(function(e,t){return n.handleTechFullscreenChange_(e,t)})),this.on(this.tech_,"fullscreenerror",(function(e,t){return n.handleTechFullscreenError_(e,t)})),this.on(this.tech_,"enterpictureinpicture",(function(e){return n.handleTechEnterPictureInPicture_(e)})),this.on(this.tech_,"leavepictureinpicture",(function(e){return n.handleTechLeavePictureInPicture_(e)})),this.on(this.tech_,"error",(function(e){return n.handleTechError_(e)})),this.on(this.tech_,"posterchange",(function(e){return n.handleTechPosterChange_(e)})),this.on(this.tech_,"textdata",(function(e){return n.handleTechTextData_(e)})),this.on(this.tech_,"ratechange",(function(e){return n.handleTechRateChange_(e)})),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===r&&this.tag||Kx(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},n.unloadTech_=function(){var e=this;Jw.names.forEach((function(t){var n=Jw[t];e[n.privateName]=e[n.getterName]()})),this.textTracksJson_=Tw(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},n.tech=function(e){return void 0===e&&hx.warn("Using the tech directly can be dangerous. I hope you know 
2what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},n.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)},n.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)},n.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},n.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())},n.manualAutoplay_=function(e){var t=this;if(this.tech_&&"string"===typeof e){var n,r=function(){var e=t.muted();t.muted(!0);var n=function(){t.muted(e)};t.playTerminatedQueue_.push(n);var r=t.play();if(_w(r))return r.catch((function(e){throw n(),new Error("Rejection at manualAutoplay. Restoring muted value. "+(e||""))}))};if("any"!==e||this.muted()?n="muted"!==e||this.muted()?this.play():r():_w(n=this.play())&&(n=n.catch(r)),_w(n))return n.then((function(){t.trigger({type:"autoplay-success",autoplay:e})})).catch((function(){t.trigger({type:"autoplay-failure",autoplay:e})}))}},n.updateSourceCaches_=function(e){void 0===e&&(e="");var t=e,n="";"string"!==typeof t&&(t=e.src,n=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!n&&(n=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var n=e.cache_.sources.filter((function(e){return e.src===t}));if(n.length)return n[0].type;for(var r=e.$$("source"),i=0;i<r.length;i++){var a=r[i];if(a.type&&a.src&&a.src===t)return a.type}return hS(t)}(this,t)),this.cache_.source=ow({},e,{src:t,type:n});for(var r=this.cache_.sources.filter((function(e){return e.src&&e.src===t})),i=[],a=this.$$("source"),s=[],o=0;o<a.length;o++){var l=nT(a[o]);i.push(l),l.src&&l.src===t&&s.push(l.src)}s.length&&!r.length?this.cache_.sources=i:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t},n.handleTechSourceset_=function(e){var t=this;if(!this.changingSrc_){var n=function(e){return t.updateSourceCaches_(e)},r=this.currentSource().src,i=e.src;r&&!/^blob:/.test(r)&&/^blob:/.test(i)&&(!this.lastSource_||this.lastSource_.tech!==i&&this.lastSource_.player!==r)&&(n=function(){}),n(i),e.src||this.tech_.any(["sourceset","loadstart"],(function(e){if("sourceset"!==e.type){var n=t.techGet("currentSrc");t.lastSource_.tech=n,t.updateSourceCaches_(n)}}))}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})},n.hasStarted=function(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},n.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},n.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(e){return e.callback(e.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},n.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting");var t=this.currentTime();this.on("timeupdate",(function n(){t!==e.currentTime()&&(e.removeClass("vjs-waiting"),e.off("timeupdate",n))}))},n.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},n.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},n.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},n.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},n.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},n.handleTechFirstPlay_=function(){this.options_.starttime&&(hx.warn("Passing the `starttime` option to the player will be deprecated 
2in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},n.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},n.handleTechEnded_=function(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},n.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},n.handleTechClick_=function(e){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"===typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?bw(this.play()):this.pause()))},n.handleTechDoubleClick_=function(e){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(function(t){return t.contains(e.target)}))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"===typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},n.handleTechTap_=function(){this.userActive(!this.userActive())},n.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},n.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},n.handleTechTouchEnd_=function(e){e.cancelable&&e.preventDefault()},n.handleStageClick_=function(){this.reportUserActivity()},n.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},n.documentFullscreenChange_=function(e){var t=e.target.player;if(!t||t===this){var n=this.el(),r=Fy()[this.fsApi_.fullscreenElement]===n;!r&&n.matches?r=n.matches(":"+this.fsApi_.fullscreen):!r&&n.msMatchesSelector&&(r=n.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(r)}},n.handleTechFullscreenChange_=function(e,t){var n=this;t&&(t.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(function(){n.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(t.isFullscreen))},n.handleTechFullscreenError_=function(e,t){this.trigger("fullscreenerror",t)},n.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},n.handleTechEnterPictureInPicture_=function(e){this.isInPictureInPicture(!0)},n.handleTechLeavePictureInPicture_=function(e){this.isInPictureInPicture(!1)},n.handleTechError_=function(){var e=this.tech_.error();this.error(e)},n.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},n.getCache=function(){return this.cache_},n.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}},n.techCall_=function(e,t){this.ready((function(){if(e in oS)return function(e,t,n,r){return t[n](e.reduce(uS(n),r))}(this.middleware_,this.tech_,e,t);if(e in lS)return aS(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(n){throw hx(n),n}}),!0)},n.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in sS)return function(e,t,n){return e.reduceRight(uS(n),t[n]())}(this.middleware_,this.tech_,e);if(e in lS)return aS(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw hx("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw hx("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw hx(t),t}}},n.play=function(){var e=this,t=this.options_.Promise||Ly().Promise;return t?new t((function(t){e.play_(t)})):this.play_()},n.play_=function(e){var t=this;void 0===e&&(e=bw),this.playCallbacks_.push(e);var n=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc()));if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!n)return this.waitToPlay_=function(e){t.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(n||!Ux&&!Bx||this.load());var r=this.techGet_("play");null===r?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(r)},n.runPlayTerminatedQueue_=function(){var e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach((function(e){e()}
vendor: 25,486 bytes, line 2
2))},n.runPlayCallbacks_=function(e){var t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach((function(t){t(e)}))},n.pause=function(){this.techCall_("pause")},n.paused=function(){return!1!==this.techGet_("paused")},n.played=function(){return this.techGet_("played")||mw(0,0)},n.scrubbing=function(e){if("undefined"===typeof e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},n.currentTime=function(e){return"undefined"!==typeof e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},n.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},n.duration=function(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))},n.remainingTime=function(){return this.duration()-this.currentTime()},n.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},n.buffered=function(){var e=this.techGet_("buffered");return e&&e.length||(e=mw(0,0)),e},n.bufferedPercent=function(){return gw(this.buffered(),this.duration())},n.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},n.volume=function(e){var t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},n.muted=function(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)},n.defaultMuted=function(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1},n.lastVolume_=function(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e},n.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},n.isFullscreen=function(e){if(void 0!==e){var t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_},n.requestFullscreen=function(e){var t=this.options_.Promise||Ly().Promise;if(t){var n=this;return new t((function(t,r){function i(){n.off("fullscreenerror",s),n.off("fullscreenchange",a)}function a(){i(),t()}function s(e,t){i(),r(t)}n.one("fullscreenchange",a),n.one("fullscreenerror",s);var o=n.requestFullscreenHelper_(e);o&&(o.then(i,i),o.then(t,r))}))}return this.requestFullscreenHelper_()},n.requestFullscreenHelper_=function(e){var t,n=this;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){var r=this.el_[this.fsApi_.requestFullscreen](t);return r&&r.then((function(){return n.isFullscreen(!0)}),(function(){return n.isFullscreen(!1)})),r}this.tech_.supportsFullScreen()&&!0===!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},n.exitFullscreen=function(){var e=this.options_.Promise||Ly().Promise;if(e){var t=this;return new e((function(e,n){function r(){t.off("fullscreenerror",a),t.off("fullscreenchange",i)}function i(){r(),e()}function a(e,t){r(),n(t)}t.one("fullscreenchange",i),t.one("fullscreenerror",a);var s=t.exitFullscreenHelper_();s&&(s.then(r,r),s.then(e,n))}))}return this.exitFullscreenHelper_()},n.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=Fy()[this.fsApi_.exitFullscreen]();return t&&bw(t.then((function(){return e.isFullscreen(!1)}))),t}this.tech_.supportsFullScreen()&&!0===!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},n.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=Fy().documentElement.style.overflow,LT(Fy(),"keydown",this.boundFullWindowOnEscKey_),Fy().documentElement.style.overflow="hidden",$x(Fy().body,"vjs-full-window"),this.trigger("enterFullWindow")},n.fullWindowOnEscKey=function(e){Vy().isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},n.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,jT(Fy(),"keydown",this.boundFullWindowOnEscKey_),Fy().documentElement.style.overflow=this.docOrigOverflow,Jx(Fy().body,"vjs-full-window"),this.trigger("exitFullWindow")},n.disablePictureInPicture=function(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")},n.isInPictureInPicture=function(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},n.requestPictureInPicture=function(){if("pictureInPictureEnabled"in Fy()&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},n.exitPictureInPicture=function(){if("pictureInPictureEnabled"in Fy())return Fy().exitPictureInPicture()},n.handleKeyDown=function(e){var t=this.options_.userActions;if(t&&t.hotkeys){(function(e){var t=e.tagName.toLowerCase();if(e.isContentEditable)return!0;if("input"===t)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(e.type);return-1!==["textarea"].indexOf(t)})(this.el_.ownerDocument.activeElement)||("function"===typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e))}},n.handleHotkeys=function(e){var t=this.options_.userActions?this.options_.userActions.hotkeys:{},n=t.fullscreenKey,r=void 0===n?function(e){return Vy().isEventKey(e,"f")}:n,i=t.muteKey,a=void 0===i?function(e){return Vy().isEventKey(e,"m")}:i,s=t.playPauseKey,o=void 0===s?function(e){return Vy().isEventKey(e,"k")||Vy().isEventKey(e,"Space")}:s;if(r.call(this,e)){e.preventDefault(),e.stopPropagation();var l=hw.getComponent("FullscreenToggle");!1!==Fy()[this.fsApi_.fullscreenEnabled]&&l.prototype.handleClick.call(this,e)}else if(a.call(this,e)){e.preventDefault(),e.stopPropagation(),hw.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(o.call(this,e)){e.preventDefault(),e.stopPropagation(),hw.getComponent("PlayToggle").prototype.handleClick.call(this,e)}},n.canPlayType=function(e){for(var t,n=0,r=this.options_.techOrder;n<r.length;n++){var i=r[n],a=eS.getTech(i);if(a||(a=hw.getComponent(i)),a){if(a.isSupported()&&(t=a.canPlayType(e)))return t}else hx.error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.')}return""},n.selectSource=function(e){var t,n=this,r=this.options_.techOrder.map((function(e){return[e,eS.getTech(e)]})).filter((function(e){var t=e[0],n=e[1];return n?n.isSupported():(hx.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)})),i=function(e,t,n){var r;return e.some((function(e){return t.some((function(t){if(r=n(e,t))return!0}))})),r},a=function(e,t){var r=e[0];if(e[1].canPlaySource(t,n.options_[r.toLowerCase()]))return{source:t,tech:r}};return(this.options_.sourceOrder?i(e,r,(t=a,function(e,n){return t(n,e)})):i(r,e,a))||!1},n.handleSrc_=function(e,t){var n=this;if("undefined"===typeof e)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();var r=fS(e);if(r.length){if(this.changingSrc_=!0,t||(this.cache_.sources=r),this.updateSourceCaches_(r[0]),iS(this,r[0],(function(e,i){var a,s;if(n.middleware_=i,t||(n.cache_.sources=r),n.updateSourceCaches_(e),n.src_(e))return r.length>1?n.handleSrc_(r.slice(1)):(n.changingSrc_=!1,n.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0),void n.triggerReady());a=i,s=n.tech_,a.forEach((function(e){return e.setTech&&e.setTech(s)}))})),this.options_.retryOnError&&r.length>1){var i=function(){n.error(null),n.handleSrc_(r.slice(1),!0)},a=function(){n.off("error",i)};this.one("error",i),this.one("playing",a),this.resetRetryOnError_=function(){n.off("error",i),n.off("playing",a)}}}else this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0)},n.src=function(e){return this.handleSrc_(e,!1)},n.src_=function(e){var t,n,r=this,i=this.selectSource([e]);return!i||(t=i.tech,n=this.techName_,sw(t)!==sw(n)?(this.changingSrc_=!0,this.loadTech_(i.tech,i.source),this.tech_.ready((function(){r.changingSrc_=!1})),!1):(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1}),!0),!1))},n.load=function(){this.techCall_("load")},n.reset=function(){var e=this,t=this.options_.Promise||Ly().Promise;this.paused()||!t?this.doReset_():bw(this.play().then((function(){return e.doReset_()})))},n.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),XT(this)&&this.trigger("playerreset")},n.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},n.resetProgressBar_=function(){this.currentTime(0);var e=this.controlBar||{},t=e.durationDisplay,n=e.remainingTimeDisplay;t&&t.updateContent(),n&&n.updateContent()},n.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},n.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},n.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},n.currentSource=function(){return this.cache_.source||{}},n.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},n.currentType=function(){return this.currentSource()&&this.currentSource().type||""},n.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")},n.autoplay=function(e){if(void 0===e)return this.options_.autoplay||!1;var t;"string"===typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"===typeof e?e:"play"),t=!1):this.options_.autoplay=!!e,t="undefined"===typeof t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)},n.playsinline=function(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")},n.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")},n.poster=function(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))},n.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},n.controls=function(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},n.usingNativeControls=function(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},n.error=function(e){var t=this;if(void 0===e)return this.error_||null;if(ix("beforeerror").forEach((function(n){var r=n(t,e);yx(r)&&!Array.isArray(r)||"string"===typeof r||"number"===typeof r||null===r?e=r:t.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&e&&4===e.code){var n=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],n),void this.one("loadstart",(function(){this.off(["click","touchstart"],n)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new vw(e),this.addClass("vjs-error"),hx.error("(CODE:"+this.error_.code+" "+vw.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),ix("error").forEach((function(e){return e(t,t.error_)}))},n.reportUserActivity=function(e){this.userActivity_=!0},n.userActive=function(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},n.listenForUserActivity_=function(){var e,t,n,r=HT(this,this.reportUserActivity),i=function(t){r(),this.clearInterval(e)};this.on("mousedown",(function(){r(),this.clearInterval(e),e=this.setInterval(r,250)})),this.on("mousemove",(function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())})),this.on("mouseup",i),this.on("mouseleave",i);var a,s=this.getChild("controlBar");!s||Bx||kx||(s.on("mouseenter",(function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),s.on("mouseleave",(function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",r),this.on("keyup",r),this.setInterval((function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a);var e=this.options_.inactivityTimeout;e<=0||(a=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),e))}}),250)},n.playbackRate=function(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)},n.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},n.isAudio=function(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e},n.enableAudioOnlyUI_=function(){var e=this;this.addClass("vjs-audio-only-mode");var t=this.children(),n=this.getChild("ControlBar"),r=n&&n.currentHeight();t.forEach((function(t){t!==n&&t.el_&&!t.hasClass("vjs-hidden")&&(t.hide(),e.audioOnlyCache_.hiddenChildren.push(t))})),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(r),this.trigger("audioonlymodechange")},n.disableAudioOnlyUI_=function(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach((function(e){return e.show()})),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")},n.audioOnlyMode=function(e){var t=this;if("boolean"!==typeof e||e===this.audioOnlyMode_)return this.audioOnlyMode_;this.audioOnlyMode_=e;var n=this.options_.Promise||Ly().Promise;if(n){if(e){var r=[];return this.isInPictureInPicture()&&r.push(this.exitPictureInPicture()),this.isFullscreen()&&r.push(this.exitFullscreen()),this.audioPosterMode()&&r.push(this.audioPosterMode(!1)),n.all(r).then((function(){return t.enableAudioOnlyUI_()}))}return n.resolve().then((function(){return t.disableAudioOnlyUI_()}))}e?(this.isInPictureInPicture()&&this.exitPictureInPicture(),this.isFullscreen()&&this.exitFullscreen(),this.enableAudioOnlyUI_()):this.disableAudioOnlyUI_()},n.enablePosterModeUI_=function(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},n.disablePosterModeUI_=function(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},n.audioPosterMode=function(e){var t=this;if("boolean"!==typeof e||e===this.audioPosterMode_)return this.audioPosterMode_;this.audioPosterMode_=e;var n=this.options_.Promise||Ly().Promise;return n?e?this.audioOnlyMode()?this.audioOnlyMode(!1).then((function(){t.enablePosterModeUI_()})):n.resolve().then((function(){t.enablePosterModeUI_()})):n.resolve().then((function(){t.disablePosterModeUI_()})):e?(this.audioOnlyMode()&&this.audioOnlyMode(!1),void this.enablePosterModeUI_()):void this.disablePosterModeUI_()},n.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},n.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},n.removeRemoteTextTrack=function(e){void 0===e&&(e={});var t=e.track;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)},n.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},n.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},n.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},n.language=function(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),XT(this)&&this.trigger("languagechange"))},n.languages=function(){return ow(t.prototype.options_.languages,this.languages_)},n.toJSON=function(){var e=ow(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];(r=ow(r)).player=void 0,e.tracks[n]=r}return e},n.createModal=function(e,t){var n=this;(t=t||{}).content=e||"";var r=new Ew(this,t);return this.addChild(r),r.on("dispose",(function(){n.removeChild(r)})),r.open(),r},n.updateCurrentBreakpoint_=function(){if(this.responsive())for(var e=this.currentBreakpoint(),t=this.currentWidth(),n=0;n<tk.length;n++){var r=tk[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(nk[e]),this.addClass(nk[r]),this.breakpoint_=r;break}}},n.removeCurrentBreakpoint_=function(){var e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)},n.breakpoints=function(e){return void 0===e||(this.breakpoint_="",this.breakpoints_=vx({},rk,e),this.updateCurrentBreakpoint_()),vx(this.breakpoints_)},n.responsive=function(e){return void 0===e?this.responsive_:(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0},n.currentBreakpoint=function(){return this.breakpoint_},n.currentBreakpointClass=function(){return nk[this.breakpoint_]||""},n.loadMedia=function(e,t){var n=this;if(e&&"object"===typeof e){this.reset(),this.cache_.media=ow(e);var r=this.cache_.media,i=r.artwork,a=r.poster,s=r.src,o=r.textTracks;!i&&a&&(this.cache_.media.artwork=[{src:a,type:hS(a)}]),s&&this.src(s),a&&this.poster(a),Array.isArray(o)&&o.forEach((function(e){return n.addRemoteTextTrack(e,!1)})),this.ready(t)}},n.getMedia=function(){if(!this.cache_.media){var e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(function(e){return{kind:e.kind,label:e.label,language:e.language,src:e.src}}))};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:hS(t.poster)}]),t}return ow(this.cache_.media)},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=nT(e),r=n["data-setup"];if(Qx(e,"vjs-fill")&&(n.fill=!0),Qx(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var i=Hy()(r||"{}"),a=i[0],s=i[1];a&&hx.error(a),vx(n,s)}if(vx(t,n),e.hasChildNodes())for(var o=e.childNodes,l=0,u=o.length;l<u;l++){var c=o[l],d=c.nodeName.toLowerCase();"source"===d?t.sources.push(nT(c)):"track"===d&&t.tracks.push(nT(c))}return t},n.flexNotSupported_=function(){var e=Fy().createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},n.debug=function(e){if(void 0===e)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)},n.playbackRates=function(e){if(void 0===e)return this.cache_.playbackRates;Array.isArray(e)&&e.every((function(e){return"number"===typeof e}))&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))},t}(hw);Jw.names.forEach((function(e){var t=Jw[e];ik.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}})),ik.prototype.crossorigin=ik.prototype.crossOrigin,ik.players={};var ak=Ly().navigator;ik.prototype.options_={techOrder:eS.defaultTechOrder_,html5:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:ak&&(ak.languages&&ak.languages[0]||ak.userLanguage||ak.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(e){ik.prototype[e]=function(){return this.techGet_(e)}})),JE.forEach((function(e){ik.prototype["handleTech"+sw(e)+"_"]=function(){return this.trigger(e)}})),hw.registerComponent("Player",ik);var sk="plugin",ok="activePlugins_",lk={},uk=function(e){return lk.hasOwnProperty(e)},ck=function(e){return uk(e)?lk[e]:void 0},dk=function(e,t){e[ok]=e[ok]||{},e[ok][t]=!0},hk=function(e,t,n){var r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},fk=function(e,t){return t.prototype.name=e,function(){hk(this,{name:e,plugin:t,instance:null},!0);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=P(t,[this].concat(r));return this[e]=function(){return a},hk(this,a.getEventHash()),a}},pk=function(){function e(t){if(this.constructor===e)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),nw(this),delete this.trigger,iw(this,this.constructor.defaultState),dk(t,this.name),this.dispose=this.dispose.bind(this),t.on("dispose",this.dispose)}var t=e.prototype;return t.version=function(){return this.constructor.VERSION},t.getEventHash=function(e){return void 0===e&&(e={}),e.name=this.name,e.plugin=this.constructor,e.instance=this,e},t.trigger=function(e,t){return void 0===t&&(t={}),FT(this.eventBusEl_,e,this.getEventHash(t))},t.handleStateChanged=function(e){},t.dispose=function(){var e=this.name,t=this.player;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t[ok][e]=!1,this.player=this.state=null,t[e]=fk(e,lk[e])},e.isBasic=function(t){var n="string"===typeof t?ck(t):t;return"function"===typeof n&&!e.prototype.isPrototypeOf(n.prototype)},e.registerPlugin=function(t,n){if("string"!==typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+typeof t+".");if(uk(t))hx.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(ik.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!==typeof n)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+typeof n+".");return lk[t]=n,t!==sk&&(e.isBasic(n)?ik.prototype[t]=function(e,t){var n=function(){hk(this,{name:e,plugin:t,instance:null},!0);var n=t.apply(this,arguments);return dk(this,e),hk(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}(t,n):ik.prototype[t]=fk(t,n)),n},e.deregisterPlugin=function(e){if(e===sk)throw new Error("Cannot de-register base plugin.");uk(e)&&(delete lk[e],delete ik.prototype[e])},e.getPlugins=function(e){var t;return void 0===e&&(e=Object.keys(lk)),e.forEach((function(e){var n=ck(e);n&&((t=t||{})[e]=n)})),t},e.getPluginVersion=function(e){var t=ck(e);return t&&t.VERSION||""},e}();pk.getPlugin=ck,pk.BASE_PLUGIN_NAME=sk,pk.registerPlugin(sk,pk),ik.prototype.usingPlugin=function(e){return!!this[ok]&&!0===this[ok][e]},ik.prototype.hasPlugin=function(e){return!!uk(e)};var mk=!1,gk=function(e){return 0===e.indexOf("#")?e.slice(1):e};function vk(e,t,n){var r=vk.getPlayer(e);if(r)return t&&hx.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var i="string"===typeof e?yT("#"+gk(e)):e;if(!Wx(i))throw new TypeError("The element or ID supplied is not val
2id. (videojs)");i.ownerDocument.defaultView&&i.ownerDocument.body.contains(i)||hx.warn("The element supplied is not included in the DOM"),!0===(t=t||{}).restoreEl&&(t.restoreEl=(i.parentNode&&i.parentNode.hasAttribute("data-vjs-player")?i.parentNode:i).cloneNode(!0)),ix("beforesetup").forEach((function(e){var n=e(i,ow(t));yx(n)&&!Array.isArray(n)?t=ow(t,n):hx.error("please return an object in beforesetup hooks")}));var a=hw.getComponent("Player");return r=new a(i,t,n),ix("setup").forEach((function(e){return e(r)})),r}if(vk.hooks_=rx,vk.hooks=ix,vk.hook=function(e,t){ix(e,t)},vk.hookOnce=function(e,t){ix(e,[].concat(t).map((function(t){return function n(){return ax(e,n),t.apply(void 0,arguments)}})))},vk.removeHook=ax,!0!==Ly().VIDEOJS_NO_DYNAMIC_STYLE&&Hx()){var yk=yT(".vjs-styles-defaults");if(!yk){yk=kT("vjs-styles-defaults");var _k=yT("head");_k&&_k.insertBefore(yk,_k.firstChild),CT(yk,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: 56.25%\n      }\n    ")}}wT(1,vk),vk.VERSION=nx,vk.options=ik.prototype.options_,vk.getPlayers=function(){return ik.players},vk.getPlayer=function(e){var t,n=ik.players;if("string"===typeof e){var r=gk(e),i=n[r];if(i)return i;t=yT("#"+r)}else t=e;if(Wx(t)){var a=t,s=a.player,o=a.playerId;if(s||n[o])return s||n[o]}},vk.getAllPlayers=function(){return Object.keys(ik.players).map((function(e){return ik.players[e]})).filter(Boolean)},vk.players=ik.players,vk.getComponent=hw.getComponent,vk.registerComponent=function(e,t){eS.isTech(t)&&hx.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),hw.registerComponent.call(hw,e,t)},vk.getTech=eS.getTech,vk.registerTech=eS.registerTech,vk.use=function(e,t){tS[e]=tS[e]||[],tS[e].push(t)},Object.defineProperty(vk,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(vk.middleware,"TERMINATOR",{value:rS,writeable:!1,enumerable:!0}),vk.browser=Vx,vk.TOUCH_ENABLED=Lx,vk.extend=function(e,t){void 0===t&&(t={}),mk||(hx.warn("videojs.extend is deprecated as of Video.js 7.22.0 and will be removed in Video.js 8.0.0"),mk=!0);var n=function(){e.apply(this,arguments)},r={};for(var i in"object"===typeof t?(t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"===typeof t&&(n=t),T(n,e),e&&(n.super_=e),r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n},vk.mergeOptions=ow,vk.bind=HT,vk.registerPlugin=pk.registerPlugin,vk.deregisterPlugin=pk.deregisterPlugin,vk.plugin=function(e,t){return hx.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),pk.registerPlugin(e,t)},vk.getPlugins=pk.getPlugins,vk.getPlugin=pk.getPlugin,vk.getPluginVersion=pk.getPluginVersion,vk.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),vk.options.languages=ow(vk.options.languages,((n={})[e]=t,n)),vk.options.languages[e]},vk.log=hx,vk.createLogger=fx,vk.createTimeRange=vk.createTimeRanges=mw,vk.formatTime=IS,vk.setFormatTime=function(e){AS=e},vk.resetFormatTime=function(){AS=PS},vk.parseUrl=Uw,vk.isCrossOrigin=Gw,vk.EventTarget=qT,vk.on=LT,vk.one=BT,vk.off=jT,vk.trigger=FT,vk.xhr=qy(),vk.TextTrack=Yw,vk.AudioTrack=Xw,vk.VideoTrack=Zw,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(e){vk[e]=function(){return hx.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),bT[e].apply(null,arguments)}})),vk.computedStyle=bx,vk.dom=bT,vk.url=Hw,vk.defineLazyProperty=QE,vk.addLanguage("en",{"Non-Fullscreen":"Exit Fullscreen"});var bk=$y,xk=function(e,t,n){return e&&n&&n.responseURL&&t!==n.responseURL?n.responseURL:t},Tk=function(e){return vk.log.debug?vk.log.debug.bind(vk,"VHS:",e+" >"):function(){}},wk=1/30,Sk=.1,Ek=function(e,t){var n,r=[];if(e&&e.length)for(n=0;n<e.length;n++)t(e.start(n),e.end(n))&&r.push([e.start(n),e.end(n)]);return vk.createTimeRanges(r)},kk=function(e,t){return Ek(e,(function(e,n){return e-Sk<=t&&n+Sk>=t}))},Ck=function(e,t){return Ek(e,(function(e){return e-wk>=t}))},Pk=function(e){var t=[];if(!e||!e.length)return"";for(var n=0;n<e.length;n++)t.push(e.start(n)+" => "+e.end(n));return t.join(", ")},Ak=function(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},Ik=function(e){if(e&&e.length&&e.end)return e.end(e.length-1)},Ok=function(e,t){var n=0;if(!e||!e.length)return n;for(var r=0;r<e.length;r++){var i=e.start(r),a=e.end(r);t>a||(n+=t>i&&t<=a?a-t:a-i)}return n},Dk=vk.createTimeRange,Mk=function(e,t){if(!t.preload)return t.duration;var n=0;
vendor: 251,225 bytes, line 2
2return(t.parts||[]).forEach((function(e){n+=e.duration})),(t.preloadHints||[]).forEach((function(t){"PART"===t.type&&(n+=e.partTargetDuration)})),n},Nk=function(e){return(e.segments||[]).reduce((function(e,t,n){return t.parts?t.parts.forEach((function(r,i){e.push({duration:r.duration,segmentIndex:n,partIndex:i,part:r,segment:t})})):e.push({duration:t.duration,segmentIndex:n,partIndex:null,segment:t,part:null}),e}),[])},Rk=function(e){var t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},Lk=function(e){var t=e.preloadSegment;if(t){var n=t.parts,r=(t.preloadHints||[]).reduce((function(e,t){return e+("PART"===t.type?1:0)}),0);return r+=n&&n.length?n.length:0}},jk=function(e,t){if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;var n=Rk(t).length>0;return n&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:n&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},Fk=function(e,t,n){if("undefined"===typeof t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence)return 0;var r=function(e,t){var n=0,r=t-e.mediaSequence,i=e.segments[r];if(i){if("undefined"!==typeof i.start)return{result:i.start,precise:!0};if("undefined"!==typeof i.end)return{result:i.end-i.duration,precise:!0}}for(;r--;){if("undefined"!==typeof(i=e.segments[r]).end)return{result:n+i.end,precise:!0};if(n+=Mk(e,i),"undefined"!==typeof i.start)return{result:n+i.start,precise:!0}}return{result:n,precise:!1}}(e,t);if(r.precise)return r.result;var i=function(e,t){for(var n,r=0,i=t-e.mediaSequence;i<e.segments.length;i++){if("undefined"!==typeof(n=e.segments[i]).start)return{result:n.start-r,precise:!0};if(r+=Mk(e,n),"undefined"!==typeof n.end)return{result:n.end-r,precise:!0}}return{result:-1,precise:!1}}(e,t);return i.precise?i.result:r.result+n},Bk=function(e,t,n){if(!e)return 0;if("number"!==typeof n&&(n=0),"undefined"===typeof t){if(e.totalDuration)return e.totalDuration;if(!e.endList)return Ly()[1/0]}return Fk(e,t,n)},Uk=function(e){var t=e.defaultDuration,n=e.durationList,r=e.startIndex,i=e.endIndex,a=0;if(r>i){var s=[i,r];r=s[0],i=s[1]}if(r<0){for(var o=r;o<Math.min(0,i);o++)a+=t;r=0}for(var l=r;l<i;l++)a+=n[l].duration;return a},Vk=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return Bk(e);if(null===t)return null;t=t||0;var i=Fk(e,e.mediaSequence+e.segments.length,t);return n&&(i-=r="number"===typeof r?r:jk(null,e)),Math.max(0,i)},zk=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},Gk=function(e){return e.excludeUntil&&e.excludeUntil===1/0},Hk=function(e){var t=zk(e);return!e.disabled&&!t},Wk=function(e,t){return t.attributes&&t.attributes[e]},qk=function(e,t){if(1===e.playlists.length)return!0;var n=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter((function(e){return!!Hk(e)&&(e.attributes.BANDWIDTH||0)<n})).length},Yk=function(e,t){return!(!e&&!t||!e&&t||e&&!t)&&(e===t||(!(!e.id||!t.id||e.id!==t.id)||(!(!e.resolvedUri||!t.resolvedUri||e.resolvedUri!==t.resolvedUri)||!(!e.uri||!t.uri||e.uri!==t.uri))))},Xk=function(e,t){var n=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{},r=!1;for(var i in n){for(var a in n[i])if(r=t(n[i][a]))break;if(r)break}return!!r},Zk=function(e){if(!e||!e.playlists||!e.playlists.length)return Xk(e,(function(e){return e.playlists&&e.playlists.length||e.uri}));for(var t=function(t){var n=e.playlists[t],r=n.attributes&&n.attributes.CODECS;return r&&r.split(",").every((function(e){return m_(e)}))||Xk(e,(function(e){return Yk(n,e)}))?"continue":{v:!1}},n=0;n<e.playlists.length;n++){var r=t(n);if("continue"!==r&&"object"===typeof r)return r.v}return!0},Kk={liveEdgeDelay:jk,duration:Bk,seekable:function(e,t,n){var r=t||0,i=Vk(e,t,!0,n);return null===i?Dk():Dk(r,i)},getMediaInfoForTime:function(e){for(var t=e.playlist,n=e.currentTime,r=e.startingSegmentIndex,i=e.startingPartIndex,a=e.startTime,s=e.experimentalExactManifestTimings,o=n-a,l=Nk(t),u=0,c=0;c<l.length;c++){var d=l[c];if(r===d.segmentIndex&&("number"!==typeof i||"number"!==typeof d.partIndex||i===d.partIndex)){u=c;break}}if(o<0){if(u>0)for(var h=u-1;h>=0;h--){var f=l[h];if(o+=f.duration,s){if(o<0)continue}else if(o+wk<=0)continue;return{partIndex:f.partIndex,segmentIndex:f.segmentIndex,startTime:a-Uk({defaultDuration:t.targetDuration,durationList:l,startIndex:u,endIndex:h})}}return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:n}}if(u<0){for(var p=u;p<0;p++)if((o-=t.targetDuration)<0)return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:n};u=0}for(var m=u;m<l.length;m++){var g=l[m];if(o-=g.duration,s){if(o>0)continue}else if(o-wk>=0)continue;return{partIndex:g.partIndex,segmentIndex:g.segmentIndex,startTime:a+Uk({defaultDuration:t.targetDuration,durationList:l,startIndex:u,endIndex:m})}}return{segmentIndex:l[l.length-1].segmentIndex,partIndex:l[l.length-1].partIndex,startTime:n}},isEnabled:Hk,isDisabled:function(e){return e.disabled},isBlacklisted:zk,isIncompatible:Gk,playlistEnd:Vk,isAes:function(e){for(var t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},hasAttribute:Wk,estimateSegmentRequestTime:function(e,t,n,r){return void 0===r&&(r=0),Wk("BANDWIDTH",n)?(e*n.attributes.BANDWIDTH-8*r)/t:NaN},isLowestEnabledRendition:qk,isAudioOnly:Zk,playlistMatch:Yk,segmentDurationWithParts:Mk},Qk=vk.log,$k=function(e,t){return e+"-"+t},Jk=function(e,t){e.mediaGroups&&["AUDIO","SUBTITLES"].forEach((function(n){if(e.mediaGroups[n])for(var r in e.mediaGroups[n])for(var i in e.mediaGroups[n][r]){var a=e.mediaGroups[n][r][i];t(a,n,r,i)}}))},eC=function(e){var t=e.playlist,n=e.uri,r=e.id;t.id=r,t.playlistErrors_=0,n&&(t.uri=n),t.attributes=t.attributes||{}},tC=function(e,t){e.uri=t;for(var n=0;n<e.playlists.length;n++)if(!e.playlists[n].uri){var r="placeholder-uri-"+n;e.playlists[n].uri=r}var i=Zk(e);Jk(e,(function(t,n,r,a){var s="placeholder-uri-"+n+"-"+r+"-"+a;if(!t.playlists||!t.playlists.length){if(i&&"AUDIO"===n&&!t.uri)for(var o=0;o<e.playlists.length;o++){var l=e.playlists[o];if(l.attributes&&l.attributes.AUDIO&&l.attributes.AUDIO===r)return}t.playlists=[(0,By.Z)({},t)]}t.playlists.forEach((function(t,n){var r=$k(n,s);t.uri?t.resolvedUri=t.resolvedUri||bk(e.uri,t.uri):(t.uri=0===n?s:r,t.resolvedUri=t.uri),t.id=t.id||r,t.attributes=t.attributes||{},e.playlists[t.id]=t,e.playlists[t.uri]=t}))})),function(e){for(var t=e.playlists.length;t--;){var n=e.playlists[t];eC({playlist:n,id:$k(t,n.uri)}),n.resolvedUri=bk(e.uri,n.uri),e.playlists[n.id]=n,e.playlists[n.uri]=n,n.attributes.BANDWIDTH||Qk.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}}(e),function(e){Jk(e,(function(t){t.uri&&(t.resolvedUri=bk(e.uri,t.uri))}))}(e)},nC=vk.mergeOptions,rC=vk.EventTarget,iC=function(e,t){if(!e)return t;var n=nC(e,t);if(e.preloadHints&&!t.preloadHints&&delete n.preloadHints,e.parts&&!t.parts)delete n.parts;else if(e.parts&&t.parts)for(var r=0;r<t.parts.length;r++)e.parts&&e.parts[r]&&(n.parts[r]=nC(e.parts[r],t.parts[r]));return!e.skipped&&t.skipped&&(n.skipped=!1),e.preload&&!t.preload&&(n.preload=!1),n},aC=function(e,t){!e.resolvedUri&&e.uri&&(e.resolvedUri=bk(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=bk(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=bk(t,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=bk(t,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach((function(e){e.resolvedUri||(e.resolvedUri=bk(t,e.uri))})),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach((function(e){e.resolvedUri||(e.resolvedUri=bk(t,e.uri))}))},sC=function(e){var t=e.segments||[],n=e.preloadSegment;if(n&&n.parts&&n.parts.length){if(n.preloadHints)for(var r=0;r<n.preloadHints.length;r++)if("MAP"===n.preloadHints[r].type)return t;n.duration=e.targetDuration,n.preload=!0,t.push(n)}return t},oC=function(e,t){return e===t||e.segments&&t.segments&&e.segments.length===t.segments.length&&e.endList===t.endList&&e.mediaSequence===t.mediaSequence&&e.preloadSegment===t.preloadSegment},lC=function(e,t,n){void 0===n&&(n=oC);var r=nC(e,{}),i=r.playlists[t.id];if(!i)return null;if(n(i,t))return null;t.segments=sC(t);var a=nC(i,t);if(a.preloadSegment&&!t.preloadSegment&&delete a.preloadSegment,i.segments){if(t.skip){t.segments=t.segments||[];for(var s=0;s<t.skip.skippedSegments;s++)t.segments.unshift({skipped:!0})}a.segments=function(e,t,n){var r=e.slice(),i=t.slice();n=n||0;for(var a,s=[],o=0;o<i.length;o++){var l=r[o+n],u=i[o];l?(a=l.map||a,s.push(iC(l,u))):(a&&!u.map&&(u.map=a),s.push(u))}return s}(i.segments,t.segments,t.mediaSequence-i.mediaSequence)}a.segments.forEach((function(e){aC(e,a.resolvedUri)}));for(var o=0;o<r.playlists.length;o++)r.playlists[o].id===t.id&&(r.playlists[o]=a);return r.playlists[t.id]=a,r.playlists[t.uri]=a,Jk(e,(function(e,n,r,i){if(e.playlists)for(var s=0;s<e.playlists.length;s++)t.id===e.playlists[s].id&&(e.playlists[s]=a)})),r},uC=function(e,t){var n=e.segments||[],r=n[n.length-1],i=r&&r.parts&&r.parts[r.parts.length-1],a=i&&i.duration||r&&r.duration;return t&&a?1e3*a:500*(e.partTargetDuration||e.targetDuration||10)},cC=function(e){function t(t,n,r){var i;if(void 0===r&&(r={}),i=e.call(this)||this,!t)throw new Error("A non-empty playlist URL or object is required");i.logger_=Tk("PlaylistLoader");var a=r,s=a.withCredentials,o=void 0!==s&&s,l=a.handleManifestRedirects,u=void 0!==l&&l;i.src=t,i.vhs_=n,i.withCredentials=o,i.handleManifestRedirects=u;var c=n.options_;return i.customTagParsers=c&&c.customTagParsers||[],i.customTagMappers=c&&c.customTagMappers||[],i.experimentalLLHLS=c&&c.experimentalLLHLS||!1,vk.browser.IE_VERSION&&(i.experimentalLLHLS=!1),i.state="HAVE_NOTHING",i.handleMediaupdatetimeout_=i.handleMediaupdatetimeout_.bind(E(i)),i.on("mediaupdatetimeout",i.handleMediaupdatetimeout_),i}(0,zy.Z)(t,e);var n=t.prototype;return n.handleMediaupdatetimeout_=function(){var e=this;if("HAVE_METADATA"===this.state){var t=this.media(),n=bk(this.master.uri,t.uri);this.experimentalLLHLS&&(n=function(e,t){if(t.endList||!t.serverControl)return e;var n={};if(t.serverControl.canBlockReload){var r=t.preloadSegment,i=t.mediaSequence+t.segments.length;if(r){var a=r.parts||[],s=Lk(t)-1;s>-1&&s!==a.length-1&&(n._HLS_part=s),(s>-1||a.length)&&i--}n._HLS_msn=i}if(t.serverControl&&t.serverControl.canSkipUntil&&(n._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(n).length){var o=new(Ly().URL)(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(e){n.hasOwnProperty(e)&&o.searchParams.set(e,n[e])})),e=o.toString()}return e}(n,t)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:n,withCredentials:this.withCredentials},(function(t,n){if(e.request)return t?e.playlistRequestError(e.request,e.media(),"HAVE_METADATA"):void e.haveMetadata({playlistString:e.request.responseText,url:e.media().uri,id:e.media().id})}))}},n.playlistRequestError=function(e,t,n){var r=t.uri,i=t.id;this.request=null,n&&(this.state=n),this.error={playlist:this.master.playlists[i],status:e.status,message:"HLS playlist request error at URL: "+r+".",responseText:e.responseText,code:e.status>=500?4:2},this.trigger("error")},n.parseManifest_=function(e){var t=this,n=e.url;return function(e){var t=e.onwarn,n=e.oninfo,r=e.manifestString,i=e.customTagParsers,a=void 0===i?[]:i,s=e.customTagMappers,o=void 0===s?[]:s,l=e.experimentalLLHLS,u=new u_;t&&u.on("warn",t),n&&u.on("info",n),a.forEach((function(e){return u.addParser(e)})),o.forEach((function(e){return u.addTagMapper(e)})),u.push(r),u.end();var c=u.manifest;if(l||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(e){c.hasOwnProperty(e)&&delete c[e]})),c.segments&&c.segments.forEach((function(e){["parts","preloadHints"].forEach((function(t){e.hasOwnProperty(t)&&delete e[t]}))}))),!c.targetDuration){var d=10;c.segments&&c.segments.length&&(d=c.segments.reduce((function(e,t){return Math.max(e,t.duration)}),0)),t&&t("manifest has no targetDuration defaulting to "+d),c.targetDuration=d}var h=Rk(c);if(h.length&&!c.partTargetDuration){var f=h.reduce((function(e,t){return Math.max(e,t.duration)}),0);t&&(t("manifest has no partTargetDuration defaulting to "+f),Qk.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),c.partTargetDuration=f}return c}({onwarn:function(e){var r=e.message;return t.logger_("m3u8-parser warn for "+n+": "+r)},oninfo:function(e){var r=e.message;return t.logger_("m3u8-parser info for "+n+": "+r)},manifestString:e.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},n.haveMetadata=function(e){var t=e.playlistString,n=e.playlistObject,r=e.url,i=e.id;this.request=null,this.state="HAVE_METADATA";var a=n||this.parseManifest_({url:r,manifestString:t});a.lastRequest=Date.now(),eC({playlist:a,uri:r,id:i});var s=lC(this.master,a);this.targetDuration=a.partTargetDuration||a.targetDuration,this.pendingMedia_=null,s?(this.master=s,this.media_=this.master.playlists[i]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(uC(this.media(),!!s)),this.trigger("loadedplaylist")},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),Ly().clearTimeout(this.mediaUpdateTimeout),Ly().clearTimeout(this.finalRenditionTimeout),this.off()},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e,t){var n=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"===typeof e){if(!this.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.master.playlists[e]}if(Ly().clearTimeout(this.finalRenditionTimeout),t){var r=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=Ly().setTimeout(this.media.bind(this,e,!1),r)}else{var i=this.state,a=!this.media_||e.id!==this.media_.id,s=this.master.playlists[e.id];if(s&&s.endList||e.endList&&e.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(a&&(this.trigger("mediachanging"),"HAVE_MASTER"===i?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(uC(e,!0)),a){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},(function(t,r){if(n.request){if(e.lastRequest=Date.now(),e.resolvedUri=xk(n.handleManifestRedirects,e.resolvedUri,r),t)return n.playlistRequestError(n.request,e,i);n.haveMetadata({playlistString:r.responseText,url:e.uri,id:e.id}),"HAVE_MASTER"===i?n.trigger("loadedmetadata"):n.trigger("mediachange")}}))}}},n.pause=function(){this.mediaUpdateTimeout&&(Ly().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")},n.load=function(e){var t=this;this.mediaUpdateTimeout&&(Ly().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var n=this.media();if(e){var r=n?(n.partTargetDuration||n.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=Ly().setTimeout((function(){t.mediaUpdateTimeout=null,t.load()}),r)}else this.started?n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},n.updateMediaUpdateTimeout_=function(e){var t=this;this.mediaUpdateTimeout&&(Ly().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=Ly().setTimeout((function(){t.mediaUpdateTimeout=null,t.trigger("mediaupdatetimeout"),t.updateMediaUpdateTimeout_(e)}),e))},n.start=function(){var e=this;if(this.started=!0,"object"===typeof this.src)return this.src.uri||(this.src.uri=Ly().location.href),this.src.resolvedUri=this.src.uri,void setTimeout((function(){e.setupInitialPlaylist(e.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},(function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"HLS playlist request error at URL: "+e.src+".",responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.src=xk(e.handleManifestRedirects,e.src,n);var r=e.parseManifest_({manifestString:n.responseText,url:e.src});e.setupInitialPlaylist(r)}}))},n.srcUri=function(){return"string"===typeof this.src?this.src:this.src.uri},n.setupInitialPlaylist=function(e){if(this.state="HAVE_MASTER",e.playlists)return this.master=e,tC(this.master,this.srcUri()),e.playlists.forEach((function(e){e.segments=sC(e),e.segments.forEach((function(t){aC(t,e.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.master.playlists[0]));var t=this.srcUri()||Ly().location.href;this.master=function(e,t){var n=$k(0,t),r={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:Ly().location.href,resolvedUri:Ly().location.href,playlists:[{uri:t,id:n,resolvedUri:t,attributes:{}}]};return r.playlists[n]=r.playlists[0],r.playlists[t]=r.playlists[0],r}(0,t),this.haveMetadata({playlistObject:e,url:t,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},t}(rC),dC=vk.xhr,hC=vk.mergeOptions,fC=function(e,t,n,r){var i="arraybuffer"===e.responseType?e.response:e.responseText;!t&&i&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=i.byteLength||i.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),n.headers&&(e.responseHeaders=n.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===n.statusCode||206===n.statusCode||0===n.statusCode||(t=new Error("XHR Failed with a response of: "+(e&&(i||e.responseText)))),r(t,e)},pC=function(){var e=function e(t,n){t=hC({timeout:45e3},t);var r=e.beforeRequest||vk.Vhs.xhr.beforeRequest;if(r&&"function"===typeof r){var i=r(t);i&&(t=i)}var a=(!0===vk.Vhs.xhr.original?dC:vk.Vhs.xhr)(t,(function(e,t){return fC(a,e,t,n)})),s=a.abort;return a.abort=function(){return a.aborted=!0,s.apply(a,arguments)},a.uri=t.uri,a.requestTime=Date.now(),a};return e.original=!0,e},mC=function(e){var t,n={};return e.byterange&&(n.Range="bytes="+(t=e.byterange).offset+"-"+("bigint"===typeof t.offset||"bigint"===typeof t.length?Ly().BigInt(t.offset)+Ly().BigInt(t.length)-Ly().BigInt(1):t.offset+t.length-1)),n},gC=function(e,t){return e.start(t)+"-"+e.end(t)},vC=function(e,t){var n=e.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},yC=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},_C=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];w_(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t},bC=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},xC=function(e){return e.resolvedUri},TC=function(e){for(var t=Array.prototype.slice.call(e),n=16,r="",i=0;i<t.length/n;i++)r+=t.slice(i*n,i*n+n).map(vC).join("")+" "+t.slice(i*n,i*n+n).map(yC).join("")+"\n";return r},wC=Object.freeze({__proto__:null,createTransferableMessage:_C,initSegmentId:bC,segmentKeyId:xC,hexDump:TC,tagDump:function(e){var t=e.bytes;return TC(t)},textRanges:function(e){var t,n="";for(t=0;t<e.length;t++)n+=gC(e,t)+" ";return n}}),SC=function(e){var t=e.playlist,n=e.time,r=void 0===n?void 0:n,i=e.callback;if(!i)throw new Error("getProgramTime: callback must be provided");if(!t||void 0===r)return i({message:"getProgramTime: playlist and time must be provided"});var a=function(e,t){if(!t||!t.segments||0===t.segments.length)return null;for(var n,r=0,i=0;i<t.segments.length&&!(e<=(r=(n=t.segments[i]).videoTimingInfo?n.videoTimingInfo.transmuxedPresentationEnd:r+n.duration));i++);var a=t.segments[t.segments.length-1];if(a.videoTimingInfo&&a.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>r){if(e>r+.25*a.duration)return null;n=a}return{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:r-n.duration,type:n.videoTimingInfo?"accurate":"estimate"}}(r,t);if(!a)return i({message:"valid programTime was not found"});if("estimate"===a.type)return i({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:a.estimatedStart});var s={mediaSeconds:r},o=function(e,t){if(!t.dateTimeObject)return null;var n=t.videoTimingInfo.transmuxerPrependedSeconds,r=e-(t.videoTimingInfo.transmuxedPresentationStart+n);return new Date(t.dateTimeObject.getTime()+1e3*r)}(r,a.segment);return o&&(s.programDateTime=o.toISOString()),i(null,s)},EC=function e(t){var n=t.programTime,r=t.playlist,i=t.retryCount,a=void 0===i?2:i,s=t.seekTo,o=t.pauseAfterSeek,l=void 0===o||o,u=t.tech,c=t.callback;if(!c)throw new Error("seekToProgramTime: callback must be provided");if("undefined"===typeof n||!r||!s)return c({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!r.endList&&!u.hasStarted_)return c({message:"player must be playing a live stream to start buffering"});if(!function(e){if(!e.segments||0===e.segments.length)return!1;for(var t=0;t<e.segments.length;t++)if(!e.segments[t].dateTimeObject)return!1;return!0}(r))return c({message:"programDateTime tags must be provided in the manifest "+r.resolvedUri});var d=function(e,t){var n;try{n=new Date(e)}catch(u){return null}if(!t||!t.segments||0===t.segments.length)return null;var r=t.segments[0];if(n<r.dateTimeObject)return null;for(var i=0;i<t.segments.length-1&&(r=t.segments[i],!(n<t.segments[i+1].dateTimeObject));i++);var a,s=t.segments[t.segments.length-1],o=s.dateTimeObject,l=s.videoTimingInfo?(a=s.videoTimingInfo).transmuxedPresentationEnd-a.transmuxedPresentationStart-a.transmuxerPrependedSeconds:s.duration+.25*s.duration;return n>new Date(o.getTime()+1e3*l)?null:(n>o&&(r=s),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:Kk.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})}(n,r);if(!d)return c({message:n+" was not found in the stream"});var h=d.segment,f=function(e,t){var n,r;try{n=new Date(e),r=new Date(t)}catch(a){}var i=n.getTime();return(r.getTime()-i)/1e3}(h.dateTimeObject,n);if("estimate"===d.type)return 0===a?c({message:n+" is not buffered yet. Try again"}):(s(d.estimatedStart+f),void u.one("seeked",(function(){e({programTime:n,playlist:r,retryCount:a-1,seekTo:s,pauseAfterSeek:l,tech:u,callback:c})})));var p=h.start+f;u.one("seeked",(function(){return c(null,u.currentTime())})),l&&u.pause(),s(p)},kC=function(e,t){if(4===e.readyState)return t()},CC=function(e,t,n){var r,i=[],a=!1,s=function(e,t,r,i){return t.abort(),a=!0,n(e,t,r,i)},o=function(e,t){if(!a){if(e)return s(e,t,"",i);var n=t.responseText.substring(i&&i.byteLength||0,t.responseText.length);if(i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if((t=t.filter((function(e){return e&&(e.byteLength||e.length)&&"string"!==typeof e}))).length<=1)return S_(t[0]);var r=t.reduce((function(e,t,n){return e+(t.byteLength||t.length)}),0),i=new Uint8Array(r),a=0;return t.forEach((function(e){e=S_(e),i.set(e,a),a+=e.byteLength})),i}(i,A_(n,!0)),r=r||Nb(i),i.length<10||r&&i.length<r+2)return kC(t,(function(){return s(e,t,"",i)}));var o=ex(i);return"ts"===o&&i.length<188||!o&&i.length<376?kC(t,(function(){return s(e,t,"",i)})):s(null,t,o,i)}},l={uri:e,beforeSend:function(e){e.overrideMimeType("text/plain; charset=x-user-defined"),e.addEventListener("progress",(function(t){return t.total,t.loaded,fC(e,null,{statusCode:e.status},o)}))}},u=t(l,(function(e,t){return fC(u,e,t,o)}));return u},PC=vk.EventTarget,AC=vk.mergeOptions,IC=function(e,t){if(!oC(e,t))return!1;if(e.sidx&&t.sidx&&(e.sidx.offset!==t.sidx.offset||e.sidx.length!==t.sidx.length))return!1;if(!e.sidx&&t.sidx||e.sidx&&!t.sidx)return!1;if(e.segments&&!t.segments||!e.segments&&t.segments)return!1;if(!e.segments&&!t.segments)return!0;for(var n=0;n<e.segments.length;n++){var r=e.segments[n],i=t.segments[n];if(r.uri!==i.uri)return!1;if(r.byterange||i.byterange){var a=r.byterange,s=i.byterange;if(a&&!s||!a&&s)return!1;if(a.offset!==s.offset||a.length!==s.length)return!1}}return!0},OC=function(e,t){var n,r,i={};for(var a in e){var s=e[a].sidx;if(s){var o=tb(s);if(!t[o])break;var l=t[o].sidxInfo;n=l,r=s,(Boolean(!n.map&&!r.map)||Boolean(n.map&&r.map&&n.map.byterange.offset===r.map.byterange.offset&&n.map.byterange.length===r.map.byterange.length))&&n.uri===r.uri&&n.byterange.offset===r.byterange.offset&&n.byterange.length===r.byterange.length&&(i[o]=t[o])}}return i},DC=function(e){function t(t,n,r,i){var a;void 0===r&&(r={}),(a=e.call(this)||this).masterPlaylistLoader_=i||E(a),i||(a.isMaster_=!0);var s=r,o=s.withCredentials,l=void 0!==o&&o,u=s.handleManifestRedirects,c=void 0!==u&&u;if(a.vhs_=n,a.withCredentials=l,a.handleManifestRedirects=c,!t)throw new Error("A non-empty playlist URL or object is required");return a.on("minimumUpdatePeriod",(function(){a.refreshXml_()})),a.on("mediaupdatetimeout",(function(){a.refreshMedia_(a.media().id)})),a.state="HAVE_NOTHING",a.loadedPlaylists_={},a.logger_=Tk("DashPlaylistLoader"),a.isMaster_?(a.masterPlaylistLoader_.srcUrl=t,a.masterPlaylistLoader_.sidxMapping_={}):a.childPlaylist_=t,a}(0,zy.Z)(t,e);var n=t.prototype;return n.requestErrored_=function(e,t,n){return!this.request||(this.request=null,e?(this.error="object"!==typeof e||e instanceof Error?{status:t.status,message:"DASH request error at URL: "+t.uri,response:t.response,code:2}:e,n&&(this.state=n),this.trigger("error"),!0):void 0)},n.addSidxSegments_=function(e,t,n){var r=this,i=e.sidx&&tb(e.sidx);if(e.sidx&&i&&!this.masterPlaylistLoader_.sidxMapping_[i]){var a=xk(this.handleManifestRedirects,e.sidx.resolvedUri),s=function(a,s){if(!r.requestErrored_(a,s,t)){var o,l=r.masterPlaylistLoader_.sidxMapping_;try{o=Db()(S_(s.response).subarray(8))}catch(u){return void r.requestErrored_(u,s,t)}return l[i]={sidxInfo:e.sidx,sidx:o},Z_(e,o,e.sidx.resolvedUri),n(!0)}};this.request=CC(a,this.vhs_.xhr,(function(t,n,i,o){if(t)return s(t,n);if(!i||"mp4"!==i)return s({status:n.status,message:"Unsupported "+(i||"unknown")+" container type for sidx segment at URL: "+a,response:"",playlist:e,internal:!0,blacklistDuration:1/0,code:2},n);var l=e.sidx.byterange,u=l.offset,c=l.length;if(o.length>=c+u)return s(t,{response:o.subarray(u,u+c),status:n.status,uri:n.uri});r.request=r.vhs_.xhr({uri:a,responseType:"arraybuffer",headers:mC({byterange:e.sidx.byterange})},s)}))}else this.mediaRequest_=Ly().setTimeout((function(){return n(!1)}),0)},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},Ly().clearTimeout(this.minimumUpdatePeriodTimeout_),Ly().clearTimeout(this.mediaRequest_),Ly().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},n.hasPendingRequest=function(){return this.request||this.mediaRequest_},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e){var t=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var n=this.state;if("string"===typeof e){if(!this.masterPlaylistLoader_.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.masterPlaylistLoader_.master.playlists[e]}var r=!this.media_||e.id!==this.media_.id;if(r&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(r&&(this.trigger("mediachanging"),this.trigger("mediachange")));r&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,n,(function(r){t.haveMetadata({startingState:n,playlist:e})})))},n.haveMetadata=function(e){var t=e.startingState,n=e.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[n.id]=n,this.mediaRequest_=null,this.refreshMedia_(n.id),"HAVE_MASTER"===t?this.trigger("loadedmetadata"):this.trigger("mediachange")},n.pause=function(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),Ly().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(Ly().clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)},n.load=function(e){var t=this;Ly().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var n=this.media();if(e){var r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=Ly().setTimeout((function(){return t.load()}),r)}else this.started?n&&!n.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()},n.start=function(){var e=this;this.started=!0,this.isMaster_?this.requestMaster_((function(t,n){e.haveMaster_(),e.hasPendingRequest()||e.media_||e.media(e.masterPlaylistLoader_.master.playlists[0])})):this.mediaRequest_=Ly().setTimeout((function(){return e.haveMaster_()}),0)},n.requestMaster_=function(e){var t=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},(function(n,r){if(!t.requestErrored_(n,r)){var i=r.responseText!==t.masterPlaylistLoader_.masterXml_;return t.masterPlaylistLoader_.masterXml_=r.responseText,r.responseHeaders&&r.responseHeaders.date?t.masterLoaded_=Date.parse(r.responseHeaders.date):t.masterLoaded_=Date.now(),t.masterPlaylistLoader_.srcUrl=xk(t.handleManifestRedirects,t.masterPlaylistLoader_.srcUrl,r),i?(t.handleMaster_(),void t.syncClientServerClock_((function(){return e(r,i)}))):e(r,i)}"HAVE_NOTHING"===t.state&&(t.started=!1)}))},n.syncClientServerClock_=function(e){var t=this,n=Ib(this.masterPlaylistLoader_.masterXml_);return null===n?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),e()):"DIRECT"===n.method?(this.masterPlaylistLoader_.clientOffset_=n.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:bk(this.masterPlaylistLoader_.srcUrl,n.value),method:n.method,withCredentials:this.withCredentials},(function(r,i){if(t.request){if(r)return t.masterPlaylistLoader_.clientOffset_=t.masterLoaded_-Date.now(),e();var a;a="HEAD"===n.method?i.responseHeaders&&i.responseHeaders.date?Date.parse(i.responseHeaders.date):t.masterLoaded_:Date.parse(i.responseText),t.masterPlaylistLoader_.clientOffset_=a-Date.now(),e()}})))},n.haveMaster_=function(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},n.handleMaster_=function(){this.mediaRequest_=null;var e=this.masterPlaylistLoader_.master,t=function(e){var t=e.masterXml,n=e.srcUrl,r=e.clientOffset,i=e.sidxMapping,a=e.previousManifest,s=Ab(t,{manifestUri:n,clientOffset:r,sidxMapping:i,previousManifest:a});return tC(s,n),s}({masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:e});e&&(t=function(e,t,n){for(var r=!0,i=AC(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts}),a=0;a<t.playlists.length;a++){var s=t.playlists[a];if(s.sidx){var o=tb(s.sidx);n&&n[o]&&n[o].sidx&&Z_(s,n[o].sidx,s.sidx.resolvedUri)}var l=lC(i,s,IC);l&&(i=l,r=!1)}return Jk(t,(function(e,t,n,a){if(e.playlists&&e.playlists.length){var s=e.playlists[0].id,o=lC(i,e.playlists[0],IC);o&&((i=o).mediaGroups[t][n][a].playlists[0]=i.playlists[s],r=!1)}})),t.minimumUpdatePeriod!==e.minimumUpdatePeriod&&(r=!1),r?null:i}(e,t,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=t||e;var n=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return n&&n!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=n),(!e||t&&t.minimumUpdatePeriod!==e.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(t)},n.updateMinimumUpdatePeriodTimeout_=function(){var e=this.masterPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(Ly().clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);var t=e.master&&e.master.minimumUpdatePeriod;0===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),"number"!==typeof t||t<=0?t<0&&this.logger_("found invalid minimumUpdatePeriod of "+t+", not setting a timeout"):this.createMUPTimeout_(t)},n.createMUPTimeout_=function(e){var t=this.masterPlaylistLoader_;t.minimumUpdatePeriodTimeout_=Ly().setTimeout((function(){t.minimumUpdatePeriodTimeout_=null,t.trigger("minimumUpdatePeriod"),t.createMUPTimeout_(e)}),e)},n.refreshXml_=function(){var e=this;this.requestMaster_((function(t,n){n&&(e.media_&&(e.media_=e.masterPlaylistLoader_.master.playlists[e.media_.id]),e.masterPlaylistLoader_.sidxMapping_=function(e,t){var n=OC(e.playlists,t);return Jk(e,(function(e,r,i,a){if(e.playlists&&e.playlists.length){var s=e.playlists;n=AC(n,OC(s,t))}})),n}(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.sidxMapping_),e.addSidxSegments_(e.media(),e.state,(function(t){e.refreshMedia_(e.media().id)})))}))},n.refreshMedia_=function(e){var t=this;if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMaster_&&this.handleMaster_();var n=this.masterPlaylistLoader_.master.playlists,r=!this.media_||this.media_!==n[e];if(r?this.media_=n[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){!function e(){t.media().endList||(t.mediaUpdateTimeout=Ly().setTimeout((function(){t.trigger("mediaupdatetimeout"),e()}),uC(t.media(),Boolean(r))))}()}this.trigger("loadedplaylist")},t}(PC),MC={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30},NC=function(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e},RC=function(e){return function(){var t=function(e){try{return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch(n){var t=new BlobBuilder;return t.append(e),URL.createObjectURL(t.getBlob())}}(e),n=NC(new Worker(t));n.objURL=t;var r=n.terminate;return n.on=n.addEventListener,n.off=n.removeEventListener,n.terminate=function(){return URL.revokeObjectURL(t),r.call(this)},n}},LC=function(e){return"var browserWorkerPolyFill = "+NC.toString()+";\nbrowserWorkerPolyFill(self);\n"+e},jC=function(e){return e.toString().replace(/^function.+?{/,"").slice(0,-1)},FC=LC(jC((function(){var e=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,r,i,a;if(n=e[t])if(2===arguments.length)for(i=n.length,r=0;r<i;++r)n[r].call(this,arguments[1]);else{for(a=[],r=arguments.length,r=1;r<arguments.length;++r)a.push(arguments[r]);for(i=n.length,r=0;r<i;++r)n[r].apply(this,a)}},this.dispose=function(){e={}}}};e.prototype.pipe=function(e){return this.on("data",(function(t){e.push(t)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},e.prototype.push=function(e){this.trigger("data",e)},e.prototype.flush=function(e){this.trigger("done",e)},e.prototype.partialFlush=function(e){this.trigger("partialdone",e)},e.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},e.prototype.reset=function(e){this.trigger("reset",e)};var t,n,r,i,a,s,o,l,u,c,d,h,f,p,m,g,v,y,_,b,x,T,w,S,E,k,C,P,A,I,O,D,M,N,R,L,j=e,F=Math.pow(2,32),B={getUint64:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(t=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:n.getUint32(0)*F+n.getUint32(4)},MAX_UINT32:F},U=B.MAX_UINT32;!function(){var e;if(w={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!==typeof Uint8Array){for(e in w)w.hasOwnProperty(e)&&(w[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);S=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),k=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),E=new Uint8Array([0,0,0,1]),C=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]),P=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]),A={video:C,audio:P},D=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),O=new Uint8Array([0,0,0,0,0,0,0,0]),M=new Uint8Array([0,0,0,0,0,0,0,0]),N=M,R=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),L=M,I=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),t=function(e){var t,n,r=[],i=0;for(t=1;t<arguments.length;t++)r.push(arguments[t]);for(t=r.length;t--;)i+=r[t].byteLength;for(n=new Uint8Array(i+8),new DataView(n.buffer,n.byteOffset,n.byteLength).setUint32(0,n.byteLength),n.set(e,4),t=0,i=8;t<r.length;t++)n.set(r[t],i),i+=r[t].byteLength;return n},n=function(){return t(w.dinf,t(w.dref,D))},r=function(e){return t(w.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},i=function(){return t(w.ftyp,S,E,S,k)},g=function(e){return t(w.hdlr,A[e])},a=function(e){return t(w.mdat,e)},m=function(e){var n=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(n[12]=e.samplerate>>>24&255,n[13]=e.samplerate>>>16&255,n[14]=e.samplerate>>>8&255,n[15]=255&e.samplerate),t(w.mdhd,n)},p=function(e){return t(w.mdia,m(e),g(e.type),o(e))},s=function(e){return t(w.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},o=function(e){return t(w.minf,"video"===e.type?t(w.vmhd,I):t(w.smhd,O),n(),y(e))},l=function(e,n){for(var r=[],i=n.length;i--;)r[i]=b(n[i]);return t.apply(null,[w.moof,s(e)].concat(r))},u=function(e){for(var n=e.length,r=[];n--;)r[n]=h(e[n]);return t.apply(null,[w.moov,d(4294967295)].concat(r).concat(c(e)))},c=function(e){for(var n=e.length,r=[];n--;)r[n]=x(e[n]);return t.apply(null,[w.mvex].concat(r))},d=function(e){var n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,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(w.mvhd,n)},v=function(e){var n,r,i=e.samples||[],a=new Uint8Array(4+i.length);for(r=0;r<i.length;r++)n=i[r].flags,a[r+4]=n.dependsOn<<4|n.isDependedOn<<2|n.hasRedundancy;return t(w.sdtp,a)},y=function(e){return t(w.stbl,_(e),t(w.stts,L),t(w.stsc,N),t(w.stsz,R),t(w.stco,M))},function(){var e,n;_=function(r){return t(w.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===r.type?e(r):n(r))},e=function(e){var n,r,i=e.sps||[],a=e.pps||[],s=[],o=[];for(n=0;n<i.length;n++)s.push((65280&i[n].byteLength)>>>8),s.push(255&i[n].byteLength),s=s.concat(Array.prototype.slice.call(i[n]));for(n=0;n<a.length;n++)o.push((65280&a[n].byteLength)>>>8),o.push(255&a[n].byteLength),o=o.concat(Array.prototype.slice.call(a[n]));if(r=[w.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,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),t(w.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([i.length],s,[a.length],o))),t(w.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var l=e.sarRatio[0],u=e.sarRatio[1];r.push(t(w.pasp,new Uint8Array([(4278190080&l)>>24,(16711680&l)>>16,(65280&l)>>8,255&l,(4278190080&u)>>24,(16711680&u)>>16,(65280&u)>>8,255&u])))}return t.apply(null,r)},n=function(e){return t(w.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),r(e))}}(),f=function(e){var n=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,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,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return t(w.tkhd,n)},b=function(e){var n,r,i,a,s,o;return n=t(w.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),s=Math.floor(e.baseMediaDecodeTime/U),o=Math.floor(e.baseMediaDecodeTime%U),r=t(w.tfdt,new Uint8Array([1,0,0,0,s>>>24&255,s>>>16&255,s>>>8&255,255&s,o>>>24&255,o>>>16&255,o>>>8&255,255&o])),92,"audio"===e.type?(i=T(e,92),t(w.traf,n,r,i)):(a=v(e),i=T(e,a.length+92),t(w.traf,n,r,i,a))},h=function(e){return e.duration=e.duration||4294967295,t(w.trak,f(e),p(e))},x=function(e){var n=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(n[n.length-1]=0),t(w.trex,n)},function(){var e,n,r;r=function(e,t){var n=0,r=0,i=0,a=0;return e.length&&(void 0!==e[0].duration&&(n=1),void 0!==e[0].size&&(r=2),void 0!==e[0].flags&&(i=4),void 0!==e[0].compositionTimeOffset&&(a=8)),[0,0,n|r|i|a,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},n=function(e,n){var i,a,s,o,l,u;for(n+=20+16*(o=e.samples||[]).length,s=r(o,n),(a=new Uint8Array(s.length+16*o.length)).set(s),i=s.length,u=0;u<o.length;u++)l=o[u],a[i++]=(4278190080&l.duration)>>>24,a[i++]=(16711680&l.duration)>>>16,a[i++]=(65280&l.duration)>>>8,a[i++]=255&l.duration,a[i++]=(4278190080&l.size)>>>24,a[i++]=(16711680&l.size)>>>16,a[i++]=(65280&l.size)>>>8,a[i++]=255&l.size,a[i++]=l.flags.isLeading<<2|l.flags.dependsOn,a[i++]=l.flags.isDependedOn<<6|l.flags.hasRedundancy<<4|l.flags.paddingValue<<1|l.flags.isNonSyncSample,a[i++]=61440&l.flags.degradationPriority,a[i++]=15&l.flags.degradationPriority,a[i++]=(4278190080&l.compositionTimeOffset)>>>24,a[i++]=(16711680&l.compositionTimeOffset)>>>16,a[i++]=(65280&l.compositionTimeOffset)>>>8,a[i++]=255&l.compositionTimeOffset;return t(w.trun,a)},e=function(e,n){var i,a,s,o,l,u;for(n+=20+8*(o=e.samples||[]).length,s=r(o,n),(i=new Uint8Array(s.length+8*o.length)).set(s),a=s.length,u=0;u<o.length;u++)l=o[u],i[a++]=(4278190080&l.duration)>>>24,i[a++]=(16711680&l.duration)>>>16,i[a++]=(65280&l.duration)>>>8,i[a++]=255&l.duration,i[a++]=(4278190080&l.size)>>>24,i[a++]=(16711680&l.size)>>>16,i[a++]=(65280&l.size)>>>8,i[a++]=255&l.size;return t(w.trun,i)},T=function(t,r){return"audio"===t.type?e(t,r):n(t,r)}}();var V,z,G,H,W,q,Y,X,Z=a,K=l,Q=function(e){var t,n=i(),r=u(e);return(t=new Uint8Array(n.byteLength+r.byteLength)).set(n),t.set(r,n.byteLength),t},$=function(e,t){var n={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return n.dataOffset=t,n.compositionTimeOffset=e.pts-e.dts,n.duration=e.duration,n.size=4*e.length,n.size+=e.byteLength,e.keyFrame&&(n.flags.dependsOn=2,n.flags.isNonSyncSample=0),n},J=function(e){var t,n,r=[],i=[];for(i.byteLength=0,i.nalCount=0,i.duration=0,r.byteLength=0,t=0;t<e.length;t++)"access_unit_delimiter_rbsp"===(n=e[t]).nalUnitType?(r.length&&(r.duration=n.dts-r.dts,i.byteLength+=r.byteLength,i.nalCount+=r.length,i.duration+=r.duration,i.push(r)),(r=[n]).byteLength=n.data.byteLength,r.pts=n.pts,r.dts=n.dts):("slice_layer_without_partitioning_rbsp_idr"===n.nalUnitType&&(r.keyFrame=!0),r.duration=n.dts-r.dts,r.byteLength+=n.data.byteLength,r.push(n));return i.length&&(!r.duration||r.duration<=0)&&(r.duration=i[i.length-1].duration),i.byteLength+=r.byteLength,i.nalCount+=r.length,i.duration+=r.duration,i.push(r),i},ee=function(e){var t,n,r=[],i=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,i.byteLength=0,i.nalCount=0,i.duration=0,i.pts=e[0].pts,i.dts=e[0].dts,t=0;t<e.length;t++)(n=e[t]).keyFrame?(r.length&&(i.push(r),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration),(r=[n]).nalCount=n.length,r.byteLength=n.byteLength,r.pts=n.pts,r.dts=n.dts,r.duration=n.duration):(r.duration+=n.duration,r.nalCount+=n.length,r.byteLength+=n.byteLength,r.push(n));return i.length&&r.duration<=0&&(r.duration=i[i.length-1].duration),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration,i.push(r),i},te=function(e){var t;return!e[0][0].keyFrame&&e.length>1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},ne=function(e,t){var n,r,i,a,s,o=t||0,l=[];for(n=0;n<e.length;n++)for(a=e[n],r=0;r<a.length;r++)s=a[r],o+=(i=$(s,o)).size,l.push(i);return l},re=function(e){var t,n,r,i,a,s,o=0,l=e.byteLength,u=e.nalCount,c=new Uint8Array(l+4*u),d=new DataView(c.buffer);for(t=0;t<e.length;t++)for(i=e[t],n=0;n<i.length;n++)for(a=i[n],r=0;r<a.length;r++)s=a[r],d.setUint32(o,s.data.byteLength),o+=4,c.set(s.data,o),o+=s.data.byteLength;return c},ie=[33,16,5,32,164,27],ae=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],se=function(e){for(var t=[];e--;)t.push(0);return t},oe=function(){if(!V){var e={96e3:[ie,[227,64],se(154),[56]],88200:[ie,[231],se(170),[56]],64e3:[ie,[248,192],se(240),[56]],48e3:[ie,[255,192],se(268),[55,148,128],se(54),[112]],44100:[ie,[255,192],se(268),[55,163,128],se(84),[112]],32e3:[ie,[255,192],se(268),[55,234],se(226),[112]],24e3:[ie,[255,192],se(268),[55,255,128],se(268),[111,112],se(126),[224]],16e3:[ie,[255,192],se(268),[55,255,128],se(268),[111,255],se(269),[223,108],se(195),[1,192]],12e3:[ae,se(268),[3,127,248],se(268),[6,255,240],se(268),[13,255,224],se(268),[27,253,128],se(259),[56]],11025:[ae,se(268),[3,127,248],se(268),[6,255,240],se(268),[13,255,224],se(268),[27,255,192],se(268),[55,175,128],se(108),[112]],8e3:[ae,se(268),[3,121,16],se(47),[7]]};t=e,V=Object.keys(t).reduce((function(e,n){return e[n]=new Uint8Array(t[n].reduce((function(e,t){return e.concat(t)}),[])),e}),{})}var t;return V},le=9e4;q=function(e,t){return z(W(e,t))},Y=function(e,t){return G(H(e),t)},X=function(e,t,n){return H(n?e:e-t)};var ue=le,ce=z=function(e){return e*le},de=(G=function(e,t){return e*t},H=function(e){return e/le}),he=(W=function(e,t){return e/t},q),fe=Y,pe=X,me=function(e,t,n,r){var i,a,s,o,l,u=0,c=0,d=0;if(t.length&&(i=he(e.baseMediaDecodeTime,e.samplerate),a=Math.ceil(ue/(e.samplerate/1024)),n&&r&&(u=i-Math.max(n,r),d=(c=Math.floor(u/a))*a),!(c<1||d>ue/2))){for((s=oe()[e.samplerate])||(s=t[0].data),o=0;o<c;o++)l=t[0],t.splice(0,0,{data:s,dts:l.dts-a,pts:l.pts-a});return e.baseMediaDecodeTime-=Math.floor(fe(d,e.samplerate)),d}},ge=function(e,t,n){return t.minSegmentDts>=n?e:(t.minSegmentDts=1/0,e.filter((function(e){return e.dts>=n&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)})))},ve=function(e){var t,n,r=[];for(t=0;t<e.length;t++)n=e[t],r.push({size:n.data.byteLength,duration:1024});return r},ye=function(e){var t,n,r=0,i=new Uint8Array(function(e){var t,n=0;for(t=0;t<e.length;t++)n+=e[t].data.byteLength;return n}(e));for(t=0;t<e.length;t++)n=e[t],i.set(n.data,r),r+=n.data.byteLength;return i},_e=ue,be=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},xe=function(e,t){var n,r=e.minSegmentDts;return t||(r-=e.timelineStartInfo.dts),n=e.timelineStartInfo.baseMediaDecodeTime,n+=r,n=Math.max(0,n),"audio"===e.type&&(n*=e.samplerate/_e,n=Math.floor(n)),n},Te=function(e,t){"number"===typeof t.pts&&(void 0===e.timelineStartInfo.pts&&(e.timelineStartInfo.pts=t.pts),void 0===e.minSegmentPts?e.minSegmentPts=t.pts:e.minSegmentPts=Math.min(e.minSegmentPts,t.pts),void 0===e.maxSegmentPts?e.maxSegmentPts=t.pts:e.maxSegmentPts=Math.max(e.maxSegmentPts,t.pts)),"number"===typeof t.dts&&(void 0===e.timelineStartInfo.dts&&(e.timelineStartInfo.dts=t.dts),void 0===e.minSegmentDts?e.minSegmentDts=t.dts:e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),void 0===e.maxSegmentDts?e.maxSegmentDts=t.dts:e.maxSegmentDts=Math.max(e.maxSegmentDts,t.dts))},we=function(e){for(var t=0,n={payloadType:-1,payloadSize:0},r=0,i=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)r+=255,t++;for(r+=e[t++];255===e[t];)i+=255,t++;if(i+=e[t++],!n.payload&&4===r){if("GA94"===String.fromCharCode(e[t+3],e[t+4],e[t+5],e[t+6])){n.payloadType=r,n.payloadSize=i,n.payload=e.subarray(t,t+i);break}n.payload=void 0}t+=i,r=0,i=0}return n},Se=function(e){return 181!==e.payload[0]||49!==(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},Ee=function(e,t){var n,r,i,a,s=[];if(!(64&t[0]))return s;for(r=31&t[0],n=0;n<r;n++)a={type:3&t[(i=3*n)+2],pts:e},4&t[i+2]&&(a.ccData=t[i+3]<<8|t[i+4],s.push(a));return s},ke=function(e){for(var t,n,r=e.byteLength,i=[],a=1;a<r-2;)0===e[a]&&0===e[a+1]&&3===e[a+2]?(i.push(a+2),a+=2):a++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var s=0;for(a=0;a<t;s++,a++)s===i[0]&&(s++,i.shift()),n[a]=e[s];return n},Ce=4,Pe=function e(t){t=t||{},e.prototype.init.call(this),this.parse708captions_="boolean"!==typeof t.parse708captions||t.parse708captions,this.captionPackets_=[],this.ccStreams_=[new Fe(0,0),new Fe(0,1),new Fe(1,0),new Fe(1,1)],this.parse708captions_&&(this.cc708Stream_=new Me({captionServices:t.captionServices})),this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};(Pe.prototype=new j).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=we(e.escapedRBSP)).payload&&t.payloadType===Ce&&(n=Se(t)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));r=Ee(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},Pe.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},Pe.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts})),this.captionPackets_.forEach((function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},Pe.prototype.flush=function(){return this.flushStream("flush")},Pe.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Pe.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},Pe.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},Pe.prototype.setsChannel1Active=function(e){return 4096===(30720&e.ccData)},Pe.prototype.setsChannel2Active=function(e){return 6144===(30720&e.ccData)},Pe.prototype.setsTextOrXDSActive=function(e){return 256===(28928&e.ccData)||4138===(30974&e.ccData)||6186===(30974&e.ccData)},Pe.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};var Ae={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Ie=function(e){return 32<=e&&e<=127||160<=e&&e<=255},Oe=function(e){this.windowNum=e,this.reset()};Oe.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},Oe.prototype.getText=function(){return this.rows.join("\n")},Oe.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},Oe.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&"function"===typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},Oe.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},Oe.prototype.addText=function(e){this.rows[this.rowIdx]+=e},Oe.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var De=function(e,t,n){this.serviceNum=e,this.text="",this.currentWindow=new Oe(-1),this.windows=[],this.stream=n,"string"===typeof t&&this.createTextDecoder(t)};De.prototype.init=function(e,t){this.startPts=e;for(var n=0;n<8;n++)this.windows[n]=new Oe(n),"function"===typeof t&&(this.windows[n].beforeRowOverflow=t)},De.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},De.prototype.createTextDecoder=function(e){if("undefined"===typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var Me=function e(t){t=t||{},e.prototype.init.call(this);var n,r=this,i=t.captionServices||{},a={};Object.keys(i).forEach((function(e){n=i[e],/^SERVICE/.test(e)&&(a[e]=n.encoding)})),this.serviceEncodings=a,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(r.new708Packet(),r.add708Bytes(e)):(null===r.current708Packet&&r.new708Packet(),r.add708Bytes(e))}};Me.prototype=new j,Me.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Me.prototype.add708Bytes=function(e){var t=e.ccData,n=t>>>8,r=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(n),this.current708Packet.data.push(r)},Me.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,n=null,r=null,i=0,a=t[i++];for(e.seq=a>>6,e.sizeCode=63&a;i<t.length;i++)r=31&(a=t[i++]),7===(n=a>>5)&&r>0&&(n=a=t[i++]),this.pushServiceBlock(n,i,r),r>0&&(i+=r-1)},Me.prototype.pushServiceBlock=function(e,t,n){var r,i=t,a=this.current708Packet.data,s=this.services[e];for(s||(s=this.initService(e,i));i<t+n&&i<a.length;i++)r=a[i],Ie(r)?i=this.handleText(i,s):24===r?i=this.multiByteCharacter(i,s):16===r?i=this.extendedCommands(i,s):128<=r&&r<=135?i=this.setCurrentWindow(i,s):152<=r&&r<=159?i=this.defineWindow(i,s):136===r?i=this.clearWindows(i,s):140===r?i=this.deleteWindows(i,s):137===r?i=this.displayWindows(i,s):138===r?i=this.hideWindows(i,s):139===r?i=this.toggleWindows(i,s):151===r?i=this.setWindowAttributes(i,s):144===r?i=this.setPenAttributes(i,s):145===r?i=this.setPenColor(i,s):146===r?i=this.setPenLocation(i,s):143===r?s=this.reset(i,s):8===r?s.currentWindow.backspace():12===r?s.currentWindow.clearText():13===r?s.currentWindow.pendingNewLine=!0:14===r?s.currentWindow.clearText():141===r&&i++},Me.prototype.extendedCommands=function(e,t){var n=this.current708Packet.data[++e];return Ie(n)&&(e=this.handleText(e,t,{isExtended:!0})),e},Me.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},Me.prototype.initService=function(e,t){var n,r,i=this;return(n="SERVICE"+e)in this.serviceEncodings&&(r=this.serviceEncodings[n]),this.services[e]=new De(e,r,i),this.services[e].init(this.getPts(t),(function(t){i.flushDisplayed(t,i.services[e])})),this.services[e]},Me.prototype.handleText=function(e,t,n){var r,i,a=n&&n.isExtended,s=n&&n.isMultiByte,o=this.current708Packet.data,l=a?4096:0,u=o[e],c=o[e+1],d=t.currentWindow;return t.textDecoder_&&!a?(s?(i=[u,c],e++):i=[u],r=t.textDecoder_.decode(new Uint8Array(i))):r=function(e){var t=Ae[e]||e;return 4096&e&&e===t?"":String.fromCharCode(t)}(l|u),d.pendingNewLine&&!d.isEmpty()&&d.newLine(this.getPts(e)),d.pendingNewLine=!1,d.addText(r),e},Me.prototype.multiByteCharacter=function(e,t){var n=this.current708Packet.data,r=n[e+1],i=n[e+2];return Ie(r)&&Ie(i)&&(e=this.handleText(++e,t,{isMultiByte:!0})),e},Me.prototype.setCurrentWindow=function(e,t){var n=7&this.current708Packet.data[e];return t.setCurrentWindow(n),e},Me.prototype.defineWindow=function(e,t){var n=this.current708Packet.data,r=n[e],i=7&r;t.setCurrentWindow(i);var a=t.currentWindow;return r=n[++e],a.visible=(32&r)>>5,a.rowLock=(16&r)>>4,a.columnLock=(8&r)>>3,a.priority=7&r,r=n[++e],a.relativePositioning=(128&r)>>7,a.anchorVertical=127&r,r=n[++e],a.anchorHorizontal=r,r=n[++e],a.anchorPoint=(240&r)>>4,a.rowCount=15&r,r=n[++e],a.columnCount=63&r,r=n[++e],a.windowStyle=(56&r)>>3,a.penStyle=7&r,a.virtualRowCount=a.rowCount+1,e},Me.prototype.setWindowAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.winAttr;return r=n[++e],i.fillOpacity=(192&r)>>6,i.fillRed=(48&r)>>4,i.fillGreen=(12&r)>>2,i.fillBlue=3&r,r=n[++e],i.borderType=(192&r)>>6,i.borderRed=(48&r)>>4,i.borderGreen=(12&r)>>2,i.borderBlue=3&r,r=n[++e],i.borderType+=(128&r)>>5,i.wordWrap=(64&r)>>6,i.printDirection=(48&r)>>4,i.scrollDirection=(12&r)>>2,i.justify=3&r,r=n[++e],i.effectSpeed=(240&r)>>4,i.effectDirection=(12&r)>>2,i.displayEffect=3&r,e},Me.prototype.flushDisplayed=function(e,t){for(var n=[],r=0;r<8;r++)t.windows[r].visible&&!t.windows[r].isEmpty()&&n.push(t.windows[r].getText());t.endPts=e,t.text=n.join("\n\n"),this.pushCaption(t),t.startPts=e},Me.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},Me.prototype.displayWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=1);return e},Me.prototype.hideWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=0);return e},Me.prototype.toggleWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible^=1);return e},Me.prototype.clearWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].clearText();return e},Me.prototype.deleteWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].reset();return e},Me.prototype.setPenAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penAttr;return r=n[++e],i.textTag=(240&r)>>4,i.offset=(12&r)>>2,i.penSize=3&r,r=n[++e],i.italics=(128&r)>>7,i.underline=(64&r)>>6,i.edgeType=(56&r)>>3,i.fontStyle=7&r,e},Me.prototype.setPenColor=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penColor;return r=n[++e],i.fgOpacity=(192&r)>>6,i.fgRed=(48&r)>>4,i.fgGreen=(12&r)>>2,i.fgBlue=3&r,r=n[++e],i.bgOpacity=(192&r)>>6,i.bgRed=(48&r)>>4,i.bgGreen=(12&r)>>2,i.bgBlue=3&r,r=n[++e],i.edgeRed=(48&r)>>4,i.edgeGreen=(12&r)>>2,i.edgeBlue=3&r,e},Me.prototype.setPenLocation=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,r=n[++e],i.row=15&r,r=n[++e],i.column=63&r,e},Me.prototype.reset=function(e,t){var n=this.getPts(e);return this.flushDisplayed(n,t),this.initService(t.serviceNum,e)};var Ne={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Re=function(e){return null===e?"":(e=Ne[e]||e,String.fromCharCode(e))},Le=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],je=function(){for(var e=[],t=15;t--;)e.push("");return e},Fe=function e(t,n){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=n||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,i,a;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096===(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,i=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=je();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=je();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=je()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))a=Re((r=(3&r)<<8)|i),this[this.mode_](e.pts,a),this.column_++;else if(this.isExtCharacter(r,i))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),a=Re((r=(3&r)<<8)|i),this[this.mode_](e.pts,a),this.column_++;else if(this.isMidRowCode(r,i))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14===(14&i)&&this.addFormatting(e.pts,["i"]),1===(1&i)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(r,i))this.column_+=3&i;else if(this.isPAC(r,i)){var s=Le.indexOf(7968&t);"rollUp"===this.mode_&&(s-this.rollUpRows_+1<0&&(s=this.rollUpRows_-1),this.setRollUp(e.pts,s)),s!==this.row_&&(this.clearFormatting(e.pts),this.row_=s),1&i&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16===(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(i)&&14===(14&i)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(r)&&(0===i&&(i=null),a=Re(r),a+=Re(i),this[this.mode_](e.pts,a),this.column_+=a.length)}else this.lastControlCode_=null}};Fe.prototype=new j,Fe.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e,t){try{return e.trim()}catch(n){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Fe.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=je(),this.nonDisplayed_=je(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Fe.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Fe.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Fe.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Fe.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Fe.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Fe.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Fe.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Fe.prototype.isNormalChar=function(e){return e>=32&&e<=127},Fe.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=je(),this.displayed_=je()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},Fe.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var n=t.reduce((function(e,t){return e+"<"+t+">"}),"");this[this.mode_](e,n)},Fe.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](e,t)}},Fe.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Fe.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Fe.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},Fe.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var Be={CaptionStream:Pe,Cea608Stream:Fe,Cea708Stream:Me},Ue={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Ve="shared",ze=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},Ge=function e(t){var n,r;e.prototype.init.call(this),this.type_=t||Ve,this.push=function(e){this.type_!==Ve&&e.type!==this.type_||(void 0===r&&(r=e.dts),e.dts=ze(e.dts,r),e.pts=ze(e.pts,r),n=e.dts,this.trigger("data",e))},this.flush=function(){r=n,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){r=void 0,n=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Ge.prototype=new j;var He,We=Ge,qe=ze,Ye=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},Xe=function(e,t,n){return decodeURIComponent(Ye(e,t,n))},Ze=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},Ke={TXXX:function(e){var t;if(3===e.data[0]){for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=Xe(e.data,1,t),e.value=Xe(e.data,t+1,e.data.length).replace(/\0*$/,"");break}e.data=e.value}},WXXX:function(e){var t;if(3===e.data[0])for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=Xe(e.data,1,t),e.url=Xe(e.data,t+1,e.data.length);break}},PRIV:function(e){var t,n;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=(n=e.data,unescape(Ye(n,0,t)));break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}};He=function(e){var t,n={descriptor:e&&e.descriptor},r=0,i=[],a=0;if(He.prototype.init.call(this),this.dispatchType=Ue.METADATA_STREAM_TYPE.toString(16),n.descriptor)for(t=0;t<n.descriptor.length;t++)this.dispatchType+=("00"+n.descriptor[t].toString(16)).slice(-2);this.push=function(e){var t,n,s,o,l;if("timed-metadata"===e.type)if(e.dataAlignmentIndicator&&(a=0,i.length=0),0===i.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(i.push(e),a+=e.data.byteLength,1===i.length&&(r=Ze(e.data.subarray(6,10)),r+=10),!(a<r)){for(t={data:new Uint8Array(r),frames:[],pts:i[0].pts,dts:i[0].dts},l=0;l<r;)t.data.set(i[0].data.subarray(0,r-l),l),l+=i[0].data.byteLength,a-=i[0].data.byteLength,i.shift();n=10,64&t.data[5]&&(n+=4,n+=Ze(t.data.subarray(10,14)),r-=Ze(t.data.subarray(16,20)));do{if((s=Ze(t.data.subarray(n+4,n+8)))<1)return void this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping metadata parsing."});if((o={id:String.fromCharCode(t.data[n],t.data[n+1],t.data[n+2],t.data[n+3]),data:t.data.subarray(n+10,n+s+10)}).key=o.id,Ke[o.id]&&(Ke[o.id](o),"com.apple.streaming.transportStreamTimestamp"===o.owner)){var u=o.data,c=(1&u[3])<<30|u[4]<<22|u[5]<<14|u[6]<<6|u[7]>>>2;c*=4,c+=3&u[7],o.timeStamp=c,void 0===t.pts&&void 0===t.dts&&(t.pts=o.timeStamp,t.dts=o.timeStamp),this.trigger("timestamp",o)}t.frames.push(o),n+=10,n+=s}while(n<r);this.trigger("data",t)}}},He.prototype=new j;var Qe,$e,Je,et=He,tt=We,nt=188;(Qe=function(){var e=new Uint8Array(nt),t=0;Qe.prototype.init.call(this),this.push=function(n){var r,i=0,a=nt;for(t?((r=new Uint8Array(n.byteLength+t)).set(e.subarray(0,t)),r.set(n,t),t=0):r=n;a<r.byteLength;)71!==r[i]||71!==r[a]?(i++,a++):(this.trigger("data",r.subarray(i,a)),i+=nt,a+=nt);i<r.byteLength&&(e.set(r.subarray(i),0),t=r.byteLength-i)},this.flush=function(){t===nt&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){t=0,this.trigger("reset")}}).prototype=new j,$e=function(){var e,t,n,r;$e.prototype.init.call(this),r=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,e=function(e,r){var i=0;r.payloadUnitStartIndicator&&(i+=e[i]+1),"pat"===r.type?t(e.subarray(i),r):n(e.subarray(i),r)},t=function(e,t){t.section_number=e[7],t.last_section_number=e[8],r.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=r.pmtPid},n=function(e,t){var n,i;if(1&e[5]){for(r.programMapTable={video:null,audio:null,"timed-metadata":{}},n=3+((15&e[1])<<8|e[2])-4,i=12+((15&e[10])<<8|e[11]);i<n;){var a=e[i],s=(31&e[i+1])<<8|e[i+2];a===Ue.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=s:a===Ue.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=s:a===Ue.METADATA_STREAM_TYPE&&(r.programMapTable["timed-metadata"][s]=a),i+=5+((15&e[i+3])<<8|e[i+4])}t.programMapTable=r.programMapTable}},this.push=function(t){var n={},r=4;if(n.payloadUnitStartIndicator=!!(64&t[1]),n.pid=31&t[1],n.pid<<=8,n.pid|=t[2],(48&t[3])>>>4>1&&(r+=t[r]+1),0===n.pid)n.type="pat",e(t.subarray(r),n),this.trigger("data",n);else if(n.pid===this.pmtPid)for(n.type="pmt",e(t.subarray(r),n),this.trigger("data",n);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,r,n]):this.processPes_(t,r,n)},this.processPes_=function(e,t,n){n.pid===this.programMapTable.video?n.streamType=Ue.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=Ue.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}},$e.prototype=new j,$e.STREAM_TYPES={h264:27,adts:15},Je=function(){var e,t=this,n=!1,r={data:[],size:0},i={data:[],size:0},a={data:[],size:0},s=function(e,n,r){var i,a,s=new Uint8Array(e.size),o={type:n},l=0,u=0;if(e.data.length&&!(e.size<9)){for(o.trackId=e.data[0].pid,l=0;l<e.data.length;l++)a=e.data[l],s.set(a.data,u),u+=a.data.byteLength;!function(e,t){var n,r=e[0]<<16|e[1]<<8|e[2];t.data=new Uint8Array,1===r&&(t.packetLength=6+(e[4]<<8|e[5]),t.dataAlignmentIndicator=0!==(4&e[6]),192&(n=e[7])&&(t.pts=(14&e[9])<<27|(255&e[10])<<20|(254&e[11])<<12|(255&e[12])<<5|(254&e[13])>>>3,t.pts*=4,t.pts+=(6&e[13])>>>1,t.dts=t.pts,64&n&&(t.dts=(14&e[14])<<27|(255&e[15])<<20|(254&e[16])<<12|(255&e[17])<<5|(254&e[18])>>>3,t.dts*=4,t.dts+=(6&e[18])>>>1)),t.data=e.subarray(9+e[8]))}(s,o),i="video"===n||o.packetLength<=e.size,(r||i)&&(e.size=0,e.data.length=0),i&&t.trigger("data",o)}};Je.prototype.init.call(this),this.push=function(o){({pat:function(){},pes:function(){var e,t;switch(o.streamType){case Ue.H264_STREAM_TYPE:e=r,t="video";break;case Ue.ADTS_STREAM_TYPE:e=i,t="audio";break;case Ue.METADATA_STREAM_TYPE:e=a,t="timed-metadata";break;default:return}o.payloadUnitStartIndicator&&s(e,t,!0),e.data.push(o),e.size+=o.data.byteLength},pmt:function(){var r={type:"metadata",tracks:[]};null!==(e=o.programMapTable).video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),n=!0,t.trigger("data",r)}})[o.type]()},this.reset=function(){r.size=0,r.data.length=0,i.size=0,i.data.length=0,this.trigger("reset")},this.flushStreams_=function(){s(r,"video"),s(i,"audio"),s(a,"timed-metadata")},this.flush=function(){if(!n&&e){var r={type:"metadata",tracks:[]};null!==e.video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",r)}n=!1,this.flushStreams_(),this.trigger("done")}},Je.prototype=new j;var rt={PAT_PID:0,MP2T_PACKET_LENGTH:nt,TransportPacketStream:Qe,TransportParseStream:$e,ElementaryStream:Je,TimestampRolloverStream:tt,CaptionStream:Be.CaptionStream,Cea608Stream:Be.Cea608Stream,Cea708Stream:Be.Cea708Stream,MetadataStream:et};for(var it in Ue)Ue.hasOwnProperty(it)&&(rt[it]=Ue[it]);var at,st=rt,ot=ue,lt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];at=function(e){var t,n=0;at.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger("log",{level:"warn",message:"adts skiping bytes "+e+" to "+t+" in frame "+n+" outside syncword"})},this.push=function(r){var i,a,s,o,l,u=0;if(e||(n=0),"audio"===r.type){var c;for(t&&t.length?(s=t,(t=new Uint8Array(s.byteLength+r.data.byteLength)).set(s),t.set(r.data,s.byteLength)):t=r.data;u+7<t.length;)if(255===t[u]&&240===(246&t[u+1])){if("number"===typeof c&&(this.skipWarn_(c,u),c=null),a=2*(1&~t[u+1]),i=(3&t[u+3])<<11|t[u+4]<<3|(224&t[u+5])>>5,l=(o=1024*(1+(3&t[u+6])))*ot/lt[(60&t[u+2])>>>2],t.byteLength-u<i)break;this.trigger("data",{pts:r.pts+n*l,dts:r.dts+n*l,sampleCount:o,audioobjecttype:1+(t[u+2]>>>6&3),channelcount:(1&t[u+2])<<2|(192&t[u+3])>>>6,samplerate:lt[(60&t[u+2])>>>2],samplingfrequencyindex:(60&t[u+2])>>>2,samplesize:16,data:t.subarray(u+7+a,u+i)}),n++,u+=i}else"number"!==typeof c&&(c=u),u++;"number"===typeof c&&(this.skipWarn_(c,u),c=null),t=t.subarray(u)}},this.flush=function(){n=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}},at.prototype=new j;var ut,ct,dt,ht=at,ft=function(e){var t=e.byteLength,n=0,r=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+r},this.loadWord=function(){var i=e.byteLength-t,a=new Uint8Array(4),s=Math.min(4,t);if(0===s)throw new Error("no bytes available");a.set(e.subarray(i,i+s)),n=new DataView(a.buffer).getUint32(0),r=8*s,t-=s},this.skipBits=function(e){var i;r>e?(n<<=e,r-=e):(e-=r,e-=8*(i=Math.floor(e/8)),t-=i,this.loadWord(),n<<=e,r-=e)},this.readBits=function(e){var i=Math.min(r,e),a=n>>>32-i;return(r-=i)>0?n<<=i:t>0&&this.loadWord(),(i=e-i)>0?a<<i|this.readBits(i):a},this.skipLeadingZeros=function(){var e;for(e=0;e<r;++e)if(0!==(n&2147483648>>>e))return n<<=e,r-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};ct=function(){var e,t,n=0;ct.prototype.init.call(this),this.push=function(r){var i;t?((i=new Uint8Array(t.byteLength+r.data.byteLength)).set(t),i.set(r.data,t.byteLength),t=i):t=r.data;for(var a=t.byteLength;n<a-3;n++)if(1===t[n+2]){e=n+5;break}for(;e<a;)switch(t[e]){case 0:if(0!==t[e-1]){e+=2;break}if(0!==t[e-2]){e++;break}n+3!==e-2&&this.trigger("data",t.subarray(n+3,e-2));do{e++}while(1!==t[e]&&e<a);n=e-2,e+=3;break;case 1:if(0!==t[e-1]||0!==t[e-2]){e+=3;break}this.trigger("data",t.subarray(n+3,e-2)),n=e-2,e+=3;break;default:e+=3}t=t.subarray(n),e-=n,n=0},this.reset=function(){t=null,n=0,this.trigger("reset")},this.flush=function(){t&&t.byteLength>3&&this.trigger("data",t.subarray(n+3)),t=null,n=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},ct.prototype=new j,dt={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},ut=function(){var e,t,n,r,i,a,s,o=new ct;ut.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,n=e.pts,r=e.dts,o.push(e))},o.on("data",(function(s){var o={trackId:t,pts:n,dts:r,data:s,nalUnitTypeCode:31&s[0]};switch(o.nalUnitTypeCode){case 5:o.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:o.nalUnitType="sei_rbsp",o.escapedRBSP=i(s.subarray(1));break;case 7:o.nalUnitType="seq_parameter_set_rbsp",o.escapedRBSP=i(s.subarray(1)),o.config=a(o.escapedRBSP);break;case 8:o.nalUnitType="pic_parameter_set_rbsp";break;case 9:o.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",o)})),o.on("done",(function(){e.trigger("done")})),o.on("partialdone",(function(){e.trigger("partialdone")})),o.on("reset",(function(){e.trigger("reset")})),o.on("endedtimeline",(function(){e.trigger("endedtimeline")})),this.flush=function(){o.flush()},this.partialFlush=function(){o.partialFlush()},this.reset=function(){o.reset()},this.endTimeline=function(){o.endTimeline()},s=function(e,t){var n,r=8,i=8;for(n=0;n<e;n++)0!==i&&(i=(r+t.readExpGolomb()+256)%256),r=0===i?r:i},i=function(e){for(var t,n,r=e.byteLength,i=[],a=1;a<r-2;)0===e[a]&&0===e[a+1]&&3===e[a+2]?(i.push(a+2),a+=2):a++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var s=0;for(a=0;a<t;s++,a++)s===i[0]&&(s++,i.shift()),n[a]=e[s];return n},a=function(e){var t,n,r,i,a,o,l,u,c,d,h,f,p=0,m=0,g=0,v=0,y=[1,1];if(n=(t=new ft(e)).readUnsignedByte(),i=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),dt[n]&&(3===(a=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(h=3!==a?8:12,f=0;f<h;f++)t.readBoolean()&&s(f<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(o=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===o)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),l=t.readUnsignedExpGolomb(),f=0;f<l;f++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),u=t.readUnsignedExpGolomb(),c=t.readUnsignedExpGolomb(),0===(d=t.readBits(1))&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(p=t.readUnsignedExpGolomb(),m=t.readUnsignedExpGolomb(),g=t.readUnsignedExpGolomb(),v=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:y=[1,1];break;case 2:y=[12,11];break;case 3:y=[10,11];break;case 4:y=[16,11];break;case 5:y=[40,33];break;case 6:y=[24,11];break;case 7:y=[20,11];break;case 8:y=[32,11];break;case 9:y=[80,33];break;case 10:y=[18,11];break;case 11:y=[15,11];break;case 12:y=[64,33];break;case 13:y=[160,99];break;case 14:y=[4,3];break;case 15:y=[3,2];break;case 16:y=[2,1];break;case 255:y=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}y&&(y[0],y[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:i,width:16*(u+1)-2*p-2*m,height:(2-d)*(c+1)*16-2*g-2*v,sarRatio:y}}},ut.prototype=new j;var pt,mt={H264Stream:ut,NalByteStream:ct},gt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],vt=function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return n=n>=0?n:0,(16&e[t+5])>>4?n+20:n+10},yt=function e(t,n){return t.length-n<10||t[n]!=="I".charCodeAt(0)||t[n+1]!=="D".charCodeAt(0)||t[n+2]!=="3".charCodeAt(0)?n:e(t,n+=vt(t,n))},_t=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},bt={isLikelyAacData:function(e){var t=yt(e,0);return e.length>=t+2&&255===(255&e[t])&&240===(240&e[t+1])&&16===(22&e[t+1])},parseId3TagSize:vt,parseAdtsSize:function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n},parseType:function(e,t){return e[t]==="I".charCodeAt(0)&&e[t+1]==="D".charCodeAt(0)&&e[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&e[t]&&240===(240&e[t+1])?"audio":null},parseSampleRate:function(e){for(var t=0;t+5<e.length;){if(255===e[t]&&240===(246&e[t+1]))return gt[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=_t(e.subarray(10,14)));do{if((n=_t(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){r=e.subarray(t+10,t+n+10);for(var i=0;i<r.byteLength;i++)if(0===r[i]){var a=unescape(function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i}(r,0,i));if("com.apple.streaming.transportStreamTimestamp"===a){var s=r.subarray(i+1),o=(1&s[3])<<30|s[4]<<22|s[5]<<14|s[6]<<6|s[7]>>>2;return o*=4,o+=3&s[7]}break}}t+=10,t+=n}while(t<e.byteLength);return null}};(pt=function(){var e=new Uint8Array,t=0;pt.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,i,a,s,o=0,l=0;for(e.length?(s=e.length,(e=new Uint8Array(n.byteLength+s)).set(e.subarray(0,s)),e.set(n,s)):e=n;e.length-l>=3;)if(e[l]!=="I".charCodeAt(0)||e[l+1]!=="D".charCodeAt(0)||e[l+2]!=="3".charCodeAt(0))if(255!==(255&e[l])||240!==(240&e[l+1]))l++;else{if(e.length-l<7)break;if(l+(o=bt.parseAdtsSize(e,l))>e.length)break;a={type:"audio",data:e.subarray(l,l+o),pts:t,dts:t},this.trigger("data",a),l+=o}else{if(e.length-l<10)break;if(l+(o=bt.parseId3TagSize(e,l))>e.length)break;i={type:"timed-metadata",data:e.subarray(l,l+o)},this.trigger("data",i),l+=o}r=e.length-l,e=r>0?e.subarray(l):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new j;var xt,Tt,wt,St,Et=pt,kt=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],Ct=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],Pt=mt.H264Stream,At=bt.isLikelyAacData,It=ue,Ot=function(e,t){t.stream=e,this.trigger("log",t)},Dt=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];"headOfPipeline"!==i&&t[i].on&&t[i].on("log",Ot.bind(e,i))}},Mt=function(e,t){var n;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},Nt=function(e,t,n,r,i,a){return{start:{dts:e,pts:e+(n-t)},end:{dts:e+(r-t),pts:e+(i-n)},prependedContentDuration:a,baseMediaDecodeTime:e}};Tt=function(e,t){var n,r=[],i=0,a=0,s=1/0;n=(t=t||{}).firstSequenceNumber||0,Tt.prototype.init.call(this),this.push=function(t){Te(e,t),e&&kt.forEach((function(n){e[n]=t[n]})),r.push(t)},this.setEarliestDts=function(e){i=e},this.setVideoBaseMediaDecodeTime=function(e){s=e},this.setAudioAppendStart=function(e){a=e},this.flush=function(){var o,l,u,c,d,h,f;0!==r.length?(o=ge(r,e,i),e.baseMediaDecodeTime=xe(e,t.keepOriginalTimestamps),f=me(e,o,a,s),e.samples=ve(o),u=Z(ye(o)),r=[],l=K(n,[e]),c=new Uint8Array(l.byteLength+u.byteLength),n++,c.set(l),c.set(u,l.byteLength),be(e),d=Math.ceil(1024*It/e.samplerate),o.length&&(h=o.length*d,this.trigger("segmentTimingInfo",Nt(he(e.baseMediaDecodeTime,e.samplerate),o[0].dts,o[0].pts,o[0].dts+h,o[0].pts+h,f||0)),this.trigger("timingInfo",{start:o[0].pts,end:o[0].pts+h})),this.trigger("data",{track:e,boxes:c}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){be(e),r=[],this.trigger("reset")}},Tt.prototype=new j,xt=function(e,t){var n,r,i,a=[],s=[];n=(t=t||{}).firstSequenceNumber||0,xt.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){Te(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.config,e.sps=[t.data],Ct.forEach((function(t){e[t]=r[t]}),this)),"pic_parameter_set_rbsp"!==t.nalUnitType||i||(i=t.data,e.pps=[t.data]),a.push(t)},this.flush=function(){for(var r,i,o,l,u,c,d,h,f=0;a.length&&"access_unit_delimiter_rbsp"!==a[0].nalUnitType;)a.shift();if(0===a.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(r=J(a),(o=ee(r))[0][0].keyFrame||((i=this.getGopForFusion_(a[0],e))?(f=i.duration,o.unshift(i),o.byteLength+=i.byteLength,o.nalCount+=i.nalCount,o.pts=i.pts,o.dts=i.dts,o.duration+=i.duration):o=te(o)),s.length){var p;if(!(p=t.alignGopsAtEnd?this.alignGopsAtEnd_(o):this.alignGopsAtStart_(o)))return this.gopCache_.unshift({gop:o.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),a=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");be(e),o=p}Te(e,o),e.samples=ne(o),u=Z(re(o)),e.baseMediaDecodeTime=xe(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",o.map((function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}}))),d=o[0],h=o[o.length-1],this.trigger("segmentTimingInfo",Nt(e.baseMediaDecodeTime,d.dts,d.pts,h.dts+h.duration,h.pts+h.duration,f)),this.trigger("timingInfo",{start:o[0].pts,end:o[o.length-1].pts+o[o.length-1].duration}),this.gopCache_.unshift({gop:o.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),a=[],this.trigger("baseMediaDecodeTime",e.baseMediaDecodeTime),this.trigger("timelineStartInfo",e.timelineStartInfo),l=K(n,[e]),c=new Uint8Array(l.byteLength+u.byteLength),n++,c.set(l),c.set(u,l.byteLength),this.trigger("data",{track:e,boxes:c}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),a=[],this.gopCache_.length=0,s.length=0,this.trigger("reset")},this.resetStream_=function(){be(e),r=void 0,i=void 0},this.getGopForFusion_=function(t){var n,r,i,a,s,o=1/0;for(s=0;s<this.gopCache_.length;s++)i=(a=this.gopCache_[s]).gop,e.pps&&Mt(e.pps[0],a.pps[0])&&e.sps&&Mt(e.sps[0],a.sps[0])&&(i.dts<e.timelineStartInfo.dts||(n=t.dts-i.dts-i.duration)>=-1e4&&n<=45e3&&(!r||o>n)&&(r=a,o=n));return r?r.gop:null},this.alignGopsAtStart_=function(e){var t,n,r,i,a,o,l,u;for(a=e.byteLength,o=e.nalCount,l=e.duration,t=n=0;t<s.length&&n<e.length&&(r=s[t],i=e[n],r.pts!==i.pts);)i.pts>r.pts?t++:(n++,a-=i.byteLength,o-=i.nalCount,l-=i.duration);return 0===n?e:n===e.length?null:((u=e.slice(n)).byteLength=a,u.duration=l,u.nalCount=o,u.pts=u[0].pts,u.dts=u[0].dts,u)},this.alignGopsAtEnd_=function(e){var t,n,r,i,a,o,l;for(t=s.length-1,n=e.length-1,a=null,o=!1;t>=0&&n>=0;){if(r=s[t],i=e[n],r.pts===i.pts){o=!0;break}r.pts>i.pts?t--:(t===s.length-1&&(a=n),n--)}if(!o&&null===a)return null;if(0===(l=o?n:a))return e;var u=e.slice(l),c=u.reduce((function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e}),{byteLength:0,duration:0,nalCount:0});return u.byteLength=c.byteLength,u.duration=c.duration,u.nalCount=c.nalCount,u.pts=u[0].pts,u.dts=u[0].dts,u},this.alignGopsWith=function(e){s=e}},xt.prototype=new j,St=function(e,t){this.numberOfTracks=0,this.metadataStream=t,"undefined"!==typeof(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"===typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,St.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),void("audio"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes))))}},St.prototype=new j,St.prototype.flush=function(e){var t,n,r,i,a=0,s={captions:[],captionStreams:{},metadata:[],info:{}},o=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==e&&"AudioSegmentStream"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(o=this.videoTrack.timelineStartInfo.pts,Ct.forEach((function(e){s.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(o=this.audioTrack.timelineStartInfo.pts,kt.forEach((function(e){s.info[e]=this.audioTrack[e]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?s.type=this.pendingTracks[0].type:s.type="combined",this.emittedTracks+=this.pendingTracks.length,r=Q(this.pendingTracks),s.initSegment=new Uint8Array(r.byteLength),s.initSegment.set(r),s.data=new Uint8Array(this.pendingBytes),i=0;i<this.pendingBoxes.length;i++)s.data.set(this.pendingBoxes[i],a),a+=this.pendingBoxes[i].byteLength;for(i=0;i<this.pendingCaptions.length;i++)(t=this.pendingCaptions[i]).startTime=pe(t.startPts,o,this.keepOriginalTimestamps),t.endTime=pe(t.endPts,o,this.keepOriginalTimestamps),s.captionStreams[t.stream]=!0,s.captions.push(t);for(i=0;i<this.pendingMetadata.length;i++)(n=this.pendingMetadata[i]).cueTime=pe(n.pts,o,this.keepOriginalTimestamps),s.metadata.push(n);for(s.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",s),i=0;i<s.captions.length;i++)t=s.captions[i],this.trigger("caption",t);for(i=0;i<s.metadata.length;i++)n=s.metadata[i],this.trigger("id3Frame",n)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},St.prototype.setRemux=function(e){this.remuxTracks=e},wt=function(e){var t,n,r=this,i=!0;wt.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="aac",i.metadataStream=new st.MetadataStream,i.aacStream=new Et,i.audioTimestampRolloverStream=new st.TimestampRolloverStream("audio"),i.timedMetadataTimestampRolloverStream=new st.TimestampRolloverStream("timed-metadata"),i.adtsStream=new ht,i.coalesceStream=new St(e,i.metadataStream),i.headOfPipeline=i.aacStream,i.aacStream.pipe(i.audioTimestampRolloverStream).pipe(i.adtsStream),i.aacStream.pipe(i.timedMetadataTimestampRolloverStream).pipe(i.metadataStream).pipe(i.coalesceStream),i.metadataStream.on("timestamp",(function(e){i.aacStream.setTimestamp(e.timeStamp)})),i.aacStream.on("data",(function(a){"timed-metadata"!==a.type&&"audio"!==a.type||i.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:r.baseMediaDecodeTime},codec:"adts",type:"audio"},i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new Tt(n,e),i.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),i.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t}))})),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("done",this.trigger.bind(this,"done")),Dt(this,i)},this.setupTsPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="ts",i.metadataStream=new st.MetadataStream,i.packetStream=new st.TransportPacketStream,i.parseStream=new st.TransportParseStream,i.elementaryStream=new st.ElementaryStream,i.timestampRolloverStream=new st.TimestampRolloverStream,i.adtsStream=new ht,i.h264Stream=new Pt,i.captionStream=new st.CaptionStream(e),i.coalesceStream=new St(e,i.metadataStream),i.headOfPipeline=i.packetStream,i.packetStream.pipe(i.parseStream).pipe(i.elementaryStream).pipe(i.timestampRolloverStream),i.timestampRolloverStream.pipe(i.h264Stream),i.timestampRolloverStream.pipe(i.adtsStream),i.timestampRolloverStream.pipe(i.metadataStream).pipe(i.coalesceStream),i.h264Stream.pipe(i.captionStream).pipe(i.coalesceStream),i.elementaryStream.on("data",(function(a){var s;if("metadata"===a.type){for(s=a.tracks.length;s--;)t||"video"!==a.tracks[s].type?n||"audio"!==a.tracks[s].type||((n=a.tracks[s]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime):(t=a.tracks[s]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime;t&&!i.videoSegmentStream&&(i.coalesceStream.numberOfTracks++,i.videoSegmentStream=new xt(t,e),i.videoSegmentStream.on("log",r.getLogTrigger_("videoSegmentStream")),i.videoSegmentStream.on("timelineStartInfo",(function(t){n&&!e.keepOriginalTimestamps&&(n.timelineStartInfo=t,i.audioSegmentStream.setEarliestDts(t.dts-r.baseMediaDecodeTime))})),i.videoSegmentStream.on("processedGopsInfo",r.trigger.bind(r,"gopInfo")),i.videoSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"videoSegmentTimingInfo")),i.videoSegmentStream.on("baseMediaDecodeTime",(function(e){n&&i.audioSegmentStream.setVideoBaseMediaDecodeTime(e)})),i.videoSegmentStream.on("timingInfo",r.trigger.bind(r,"videoTimingInfo")),i.h264Stream.pipe(i.videoSegmentStream).pipe(i.coalesceStream)),n&&!i.audioSegmentStream&&(i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new Tt(n,e),i.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),i.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),i.audioSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"audioSegmentTimingInfo")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream)),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t})}})),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("id3Frame",(function(e){e.dispatchType=i.metadataStream.dispatchType,r.trigger("id3Frame",e)})),i.coalesceStream.on("caption",this.trigger.bind(this,"caption")),i.coalesceStream.on("done",this.trigger.bind(this,"done")),Dt(this,i)},this.setBaseMediaDecodeTime=function(r){var i=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,be(n),i.audioTimestampRolloverStream&&i.audioTimestampRolloverStream.discontinuity()),t&&(i.videoSegmentStream&&(i.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,be(t),i.captionStream.reset()),i.timestampRolloverStream&&i.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){n&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var n=this.transmuxPipeline_;e.remux=t,n&&n.coalesceStream&&n.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(n){n.stream=e,t.trigger("log",n)}},this.push=function(e){if(i){var t=At(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),i=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){i=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},wt.prototype=new j;var Rt,Lt,jt,Ft={Transmuxer:wt,VideoSegmentStream:xt,AudioSegmentStream:Tt,AUDIO_PROPERTIES:kt,VIDEO_PROPERTIES:Ct,generateSegmentTimingInfo:Nt},Bt=function(e){return e>>>0},Ut=function(e){return("00"+e.toString(16)).slice(-2)},Vt=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},zt=Bt,Gt=function e(t,n){var r,i,a,s,o,l=[];if(!n.length)return null;for(r=0;r<t.byteLength;)i=zt(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]),a=Vt(t.subarray(r+4,r+8)),s=i>1?r+i:t.byteLength,a===n[0]&&(1===n.length?l.push(t.subarray(r+8,s)):(o=e(t.subarray(r+8,s),n.slice(1))).length&&(l=l.concat(o))),r=s;return l},Ht=Bt,Wt=B.getUint64,qt=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=Wt(e.subarray(4)):t.baseMediaDecodeTime=Ht(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),t},Yt=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},Xt=function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},r=new DataView(e.buffer,e.byteOffset,e.byteLength),i=1&n.flags[2],a=4&n.flags[2],s=1&n.flags[1],o=2&n.flags[1],l=4&n.flags[1],u=8&n.flags[1],c=r.getUint32(4),d=8;for(i&&(n.dataOffset=r.getInt32(d),d+=4),a&&c&&(t={flags:Yt(e.subarray(d,d+4))},d+=4,s&&(t.duration=r.getUint32(d),d+=4),o&&(t.size=r.getUint32(d),d+=4),u&&(1===n.version?t.compositionTimeOffset=r.getInt32(d):t.compositionTimeOffset=r.getUint32(d),d+=4),n.samples.push(t),c--);c--;)t={},s&&(t.duration=r.getUint32(d),d+=4),o&&(t.size=r.getUint32(d),d+=4),l&&(t.flags=Yt(e.subarray(d,d+4)),d+=4),u&&(1===n.version?t.compositionTimeOffset=r.getInt32(d):t.compositionTimeOffset=r.getUint32(d),d+=4),n.samples.push(t);return n},Zt=function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:n.getUint32(4)},i=1&r.flags[2],a=2&r.flags[2],s=8&r.flags[2],o=16&r.flags[2],l=32&r.flags[2],u=65536&r.flags[0],c=131072&r.flags[0];return t=8,i&&(t+=4,r.baseDataOffset=n.getUint32(12),t+=4),a&&(r.sampleDescriptionIndex=n.getUint32(t),t+=4),s&&(r.defaultSampleDuration=n.getUint32(t),t+=4),o&&(r.defaultSampleSize=n.getUint32(t),t+=4),l&&(r.defaultSampleFlags=n.getUint32(t)),u&&(r.durationIsEmpty=!0),!i&&c&&(r.baseDataOffsetIsMoof=!0),r},Kt="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof __webpack_require__.g?__webpack_require__.g:"undefined"!==typeof self?self:{},Qt="undefined"!==typeof window?window:"undefined"!==typeof Kt?Kt:"undefined"!==typeof self?self:{},$t=ke,Jt=Be.CaptionStream,en=function(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(n<i.size)return i;n-=i.size}return null},tn=function(e,t){var n=Gt(e,["moof","traf"]),r=Gt(e,["mdat"]),i={},a=[];return r.forEach((function(e,t){var r=n[t];a.push({mdat:e,traf:r})})),a.forEach((function(e){var n,r,a=e.mdat,s=e.traf,o=Gt(s,["tfhd"]),l=Zt(o[0]),u=l.trackId,c=Gt(s,["tfdt"]),d=c.length>0?qt(c[0]).baseMediaDecodeTime:0,h=Gt(s,["trun"]);t===u&&h.length>0&&(n=function(e,t,n){var r=t,i=n.defaultSampleDuration||0,a=n.defaultSampleSize||0,s=n.trackId,o=[];return e.forEach((function(e){var t=Xt(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=i),void 0===e.size&&(e.size=a),e.trackId=s,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),"bigint"===typeof r?(e.pts=r+Qt.BigInt(e.compositionTimeOffset),r+=Qt.BigInt(e.duration)):(e.pts=r+e.compositionTimeOffset,r+=e.duration)})),o=o.concat(t)})),o}(h,d,l),r=function(e,t,n){var r,i,a,s,o=new DataView(e.buffer,e.byteOffset,e.byteLength),l={logs:[],seiNals:[]};for(i=0;i+4<e.length;i+=a)if(a=o.getUint32(i),i+=4,!(a<=0))switch(31&e[i]){case 6:var u=e.subarray(i+1,i+1+a),c=en(i,t);if(r={nalUnitType:"sei_rbsp",size:a,data:u,escapedRBSP:$t(u),trackId:n},c)r.pts=c.pts,r.dts=c.dts,s=c;else{if(!s){l.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+i+" for trackId "+n+". See mux.js#223."});break}r.pts=s.pts,r.dts=s.dts}l.seiNals.push(r)}return l}(a,n,u),i[u]||(i[u]={seiNals:[],logs:[]}),i[u].seiNals=i[u].seiNals.concat(r.seiNals),i[u].logs=i[u].logs.concat(r.logs))})),i},nn=function(){var e,t,n,r,i,a,s=!1;this.isInitialized=function(){return s},this.init=function(t){e=new Jt,s=!0,a=!!t&&t.isPartial,e.on("data",(function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,i.captions.push(e),i.captionStreams[e.stream]=!0})),e.on("log",(function(e){i.logs.push(e)}))},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&"object"===typeof t&&0===Object.keys(t).length)&&(n!==e[0]||r!==t[n])},this.parse=function(e,a,s){var o;if(!this.isInitialized())return null;if(!a||!s)return null;if(this.isNewInit(a,s))n=a[0],r=s[n];else if(null===n||!r)return t.push(e),null;for(;t.length>0;){var l=t.shift();this.parse(l,a,s)}return o=function(e,t,n){if(null===t)return null;var r=tn(e,t)[t]||{};return{seiNals:r.seiNals,logs:r.logs,timescale:n}}(e,n,r),o&&o.logs&&(i.logs=i.logs.concat(o.logs)),null!==o&&o.seiNals?(this.pushNals(o.seiNals),this.flushStream(),i):i.logs.length?{logs:i.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach((function(t){e.push(t)}))},this.flushStream=function(){if(!this.isInitialized())return null;a?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){i.captions=[],i.captionStreams={},i.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],n=null,r=null,i?this.clearParsedCaptions():i={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},rn=Bt,an=Ut,sn=B.getUint64;Rt=function(e,t){var n=Gt(t,["moof","traf"]).reduce((function(t,n){var r,i,a=Gt(n,["tfhd"])[0],s=rn(a[4]<<24|a[5]<<16|a[6]<<8|a[7]),o=e[s]||9e4,l=Gt(n,["tfdt"])[0],u=new DataView(l.buffer,l.byteOffset,l.byteLength);return"bigint"===typeof(r=1===l[0]?sn(l.subarray(4,12)):u.getUint32(4))?i=r/Qt.BigInt(o):"number"!==typeof r||isNaN(r)||(i=r/o),i<Number.MAX_SAFE_INTEGER&&(i=Number(i)),i<t&&(t=i),t}),1/0);return"bigint"===typeof n||isFinite(n)?n:0},jt=function(e){var t=0===e[0]?12:20;return rn(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])},Lt=function(e){var t=Gt(e,["moov","trak"]),n=[];return t.forEach((function(e){var t,r,i={},a=Gt(e,["tkhd"])[0];a&&(r=(t=new DataView(a.buffer,a.byteOffset,a.byteLength)).getUint8(0),i.id=0===r?t.getUint32(12):t.getUint32(20));var s=Gt(e,["mdia","hdlr"])[0];if(s){var o=Vt(s.subarray(8,12));i.type="vide"===o?"video":"soun"===o?"audio":o}var l=Gt(e,["mdia","minf","stbl","stsd"])[0];if(l){var u=l.subarray(8);i.codec=Vt(u.subarray(4,8));var c,d=Gt(u,[i.codec])[0];d&&(/^[asm]vc[1-9]$/i.test(i.codec)?(c=d.subarray(78),"avcC"===Vt(c.subarray(4,8))&&c.length>11?(i.codec+=".",i.codec+=an(c[9]),i.codec+=an(c[10]),i.codec+=an(c[11])):i.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(i.codec)?(c=d.subarray(28),"esds"===Vt(c.subarray(4,8))&&c.length>20&&0!==c[19]?(i.codec+="."+an(c[19]),i.codec+="."+an(c[20]>>>2&63).replace(/^0/,"")):i.codec="mp4a.40.2"):i.codec=i.codec.toLowerCase())}var h=Gt(e,["mdia","mdhd"])[0];h&&(i.timescale=jt(h)),n.push(i)})),n};var on=Rt,ln=Lt,un=function(e){var t=31&e[1];return t<<=8,t|=e[2]},cn=function(e){return!!(64&e[1])},dn=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},hn=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},fn={parseType:function(e,t){var n=un(e);return 0===n?"pat":n===t?"pmt":t?"pes":null},parsePat:function(e){var t=cn(e),n=4+dn(e);return t&&(n+=e[n]+1),(31&e[n+10])<<8|e[n+11]},parsePmt:function(e){var t={},n=cn(e),r=4+dn(e);if(n&&(r+=e[r]+1),1&e[r+5]){var i;i=3+((15&e[r+1])<<8|e[r+2])-4;for(var a=12+((15&e[r+10])<<8|e[r+11]);a<i;){var s=r+a;t[(31&e[s+1])<<8|e[s+2]]=e[s],a+=5+((15&e[s+3])<<8|e[s+4])}return t}},parsePayloadUnitStartIndicator:cn,parsePesType:function(e,t){switch(t[un(e)]){case Ue.H264_STREAM_TYPE:return"video";case Ue.ADTS_STREAM_TYPE:return"audio";case Ue.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!cn(e))return null;var t=4+dn(e);if(t>=e.byteLength)return null;var n,r=null;return 192&(n=e[t+7])&&((r={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,r.pts*=4,r.pts+=(6&e[t+13])>>>1,r.dts=r.pts,64&n&&(r.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,r.dts*=4,r.dts+=(6&e[t+18])>>>1)),r},videoPacketContainsKeyFrame:function(e){for(var t=4+dn(e),n=e.subarray(t),r=0,i=0,a=!1;i<n.byteLength-3;i++)if(1===n[i+2]){r=i+5;break}for(;r<n.byteLength;)switch(n[r]){case 0:if(0!==n[r-1]){r+=2;break}if(0!==n[r-2]){r++;break}i+3!==r-2&&"slice_layer_without_partitioning_rbsp_idr"===hn(31&n[i+3])&&(a=!0);do{r++}while(1!==n[r]&&r<n.length);i=r-2,r+=3;break;case 1:if(0!==n[r-1]||0!==n[r-2]){r+=3;break}"slice_layer_without_partitioning_rbsp_idr"===hn(31&n[i+3])&&(a=!0),i=r-2,r+=3;break;default:r+=3}return n=n.subarray(i),r-=i,i=0,n&&n.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===hn(31&n[i+3])&&(a=!0),a}},pn=qe,mn={};mn.ts=fn,mn.aac=bt;var gn=ue,vn=188,yn=71,_n=function(e,t,n){for(var r,i,a,s,o=0,l=vn,u=!1;l<=e.byteLength;)if(e[o]!==yn||e[l]!==yn&&l!==e.byteLength)o++,l++;else{if(r=e.subarray(o,l),"pes"===mn.ts.parseType(r,t.pid))i=mn.ts.parsePesType(r,t.table),a=mn.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(s=mn.ts.parsePesTime(r))&&(s.type="audio",n.audio.push(s),u=!0);if(u)break;o+=vn,l+=vn}for(o=(l=e.byteLength)-vn,u=!1;o>=0;)if(e[o]!==yn||e[l]!==yn&&l!==e.byteLength)o--,l--;else{if(r=e.subarray(o,l),"pes"===mn.ts.parseType(r,t.pid))i=mn.ts.parsePesType(r,t.table),a=mn.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(s=mn.ts.parsePesTime(r))&&(s.type="audio",n.audio.push(s),u=!0);if(u)break;o-=vn,l-=vn}},bn=function(e,t,n){for(var r,i,a,s,o,l,u,c=0,d=vn,h=!1,f={data:[],size:0};d<e.byteLength;)if(e[c]!==yn||e[d]!==yn)c++,d++;else{if(r=e.subarray(c,d),"pes"===mn.ts.parseType(r,t.pid))if(i=mn.ts.parsePesType(r,t.table),a=mn.ts.parsePayloadUnitStartIndicator(r),"video"===i&&(a&&!h&&(s=mn.ts.parsePesTime(r))&&(s.type="video",n.video.push(s),h=!0),!n.firstKeyFrame)){if(a&&0!==f.size){for(o=new Uint8Array(f.size),l=0;f.data.length;)u=f.data.shift(),o.set(u,l),l+=u.byteLength;if(mn.ts.videoPacketContainsKeyFrame(o)){var p=mn.ts.parsePesTime(o);p?(n.firstKeyFrame=p,n.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}f.size=0}f.data.push(r),f.size+=r.byteLength}if(h&&n.firstKeyFrame)break;c+=vn,d+=vn}for(c=(d=e.byteLength)-vn,h=!1;c>=0;)if(e[c]!==yn||e[d]!==yn)c--,d--;else{if(r=e.subarray(c,d),"pes"===mn.ts.parseType(r,t.pid))i=mn.ts.parsePesType(r,t.table),a=mn.ts.parsePayloadUnitStartIndicator(r),"video"===i&&a&&(s=mn.ts.parsePesTime(r))&&(s.type="video",n.video.push(s),h=!0);if(h)break;c-=vn,d-=vn}},xn=function(e){var t={pid:null,table:null},n={};for(var r in function(e,t){for(var n,r=0,i=vn;i<e.byteLength;)if(e[r]!==yn||e[i]!==yn)r++,i++;else{switch(n=e.subarray(r,i),mn.ts.parseType(n,t.pid)){case"pat":t.pid=mn.ts.parsePat(n);break;case"pmt":var a=mn.ts.parsePmt(n);t.table=t.table||{},Object.keys(a).forEach((function(e){t.table[e]=a[e]}))}r+=vn,i+=vn}}(e,t),t.table){if(t.table.hasOwnProperty(r))switch(t.table[r]){case Ue.H264_STREAM_TYPE:n.video=[],bn(e,t,n),0===n.video.length&&delete n.video;break;case Ue.ADTS_STREAM_TYPE:n.audio=[],_n(e,t,n),0===n.audio.length&&delete n.audio}}return n},Tn=function(e,t){var n;return n=mn.aac.isLikelyAacData(e)?function(e){for(var t,n=!1,r=0,i=null,a=null,s=0,o=0;e.length-o>=3;){switch(mn.aac.parseType(e,o)){case"timed-metadata":if(e.length-o<10){n=!0;break}if((s=mn.aac.parseId3TagSize(e,o))>e.length){n=!0;break}null===a&&(t=e.subarray(o,o+s),a=mn.aac.parseAacTimestamp(t)),o+=s;break;case"audio":if(e.length-o<7){n=!0;break}if((s=mn.aac.parseAdtsSize(e,o))>e.length){n=!0;break}null===i&&(t=e.subarray(o,o+s),i=mn.aac.parseSampleRate(t)),r++,o+=s;break;default:o++}if(n)return null}if(null===i||null===a)return null;var l=gn/i;return{audio:[{type:"audio",dts:a,pts:a},{type:"audio",dts:a+1024*r*l,pts:a+1024*r*l}]}}(e):xn(e),n&&(n.audio||n.video)?(function(e,t){if(e.audio&&e.audio.length){var n=t;("undefined"===typeof n||isNaN(n))&&(n=e.audio[0].dts),e.audio.forEach((function(e){e.dts=pn(e.dts,n),e.pts=pn(e.pts,n),e.dtsTime=e.dts/gn,e.ptsTime=e.pts/gn}))}if(e.video&&e.video.length){var r=t;if(("undefined"===typeof r||isNaN(r))&&(r=e.video[0].dts),e.video.forEach((function(e){e.dts=pn(e.dts,r),e.pts=pn(e.pts,r),e.dtsTime=e.dts/gn,e.ptsTime=e.pts/gn})),e.firstKeyFrame){var i=e.firstKeyFrame;i.dts=pn(i.dts,r),i.pts=pn(i.pts,r),i.dtsTime=i.dts/gn,i.ptsTime=i.pts/gn}}}(n,t),n):null},wn=function(){function e(e,t){this.options=t||{},this.self=e,this.init()}var t=e.prototype;return t.init=function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Ft.Transmuxer(this.options),function(e,t){t.on("data",(function(t){var n=t.initSegment;t.initSegment={data:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength};var r=t.data;t.data=r.buffer,e.postMessage({action:"data",segment:t,byteOffset:r.byteOffset,byteLength:r.byteLength},[t.data])})),t.on("done",(function(t){e.postMessage({action:"done"})})),t.on("gopInfo",(function(t){e.postMessage({action:"gopInfo",gopInfo:t})})),t.on("videoSegmentTimingInfo",(function(t){var n={start:{decode:de(t.start.dts),presentation:de(t.start.pts)},end:{decode:de(t.end.dts),presentation:de(t.end.pts)},baseMediaDecodeTime:de(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=de(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:n})})),t.on("audioSegmentTimingInfo",(function(t){var n={start:{decode:de(t.start.dts),presentation:de(t.start.pts)},end:{decode:de(t.end.dts),presentation:de(t.end.pts)},baseMediaDecodeTime:de(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=de(t.prependedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:n})})),t.on("id3Frame",(function(t){e.postMessage({action:"id3Frame",id3Frame:t})})),t.on("caption",(function(t){e.postMessage({action:"caption",caption:t})})),t.on("trackinfo",(function(t){e.postMessage({action:"trackinfo",trackInfo:t})})),t.on("audioTimingInfo",(function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:de(t.start),end:de(t.end)}})})),t.on("videoTimingInfo",(function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:de(t.start),end:de(t.end)}})})),t.on("log",(function(t){e.postMessage({action:"log",log:t})}))}(this.self,this.transmuxer)},t.pushMp4Captions=function(e){this.captionParser||(this.captionParser=new nn,this.captionParser.init());var t=new Uint8Array(e.data,e.byteOffset,e.byteLength),n=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:"mp4Captions",captions:n&&n.captions||[],logs:n&&n.logs||[],data:t.buffer},[t.buffer])},t.probeMp4StartTime=function(e){var t=e.timescales,n=e.data,r=on(t,n);this.self.postMessage({action:"probeMp4StartTime",startTime:r,data:n},[n.buffer])},t.probeMp4Tracks=function(e){var t=e.data,n=ln(t);this.self.postMessage({action:"probeMp4Tracks",tracks:n,data:t},[t.buffer])},t.probeTs=function(e){var t=e.data,n=e.baseStartTime,r="number"!==typeof n||isNaN(n)?void 0:n*ue,i=Tn(t,r),a=null;i&&((a={hasVideo:i.video&&2===i.video.length||!1,hasAudio:i.audio&&2===i.audio.length||!1}).hasVideo&&(a.videoStart=i.video[0].ptsTime),a.hasAudio&&(a.audioStart=i.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:a,data:t},[t.buffer])},t.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},t.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},t.push=function(e){var t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)},t.reset=function(){this.transmuxer.reset()},t.setTimestampOffset=function(e){var t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(ce(t)))},t.setAudioAppendStart=function(e){this.transmuxer.setAudioAppendStart(Math.ceil(ce(e.appendStart)))},t.setRemux=function(e){this.transmuxer.setRemux(e.remux)},t.flush=function(e){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},t.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},t.alignGopsWith=function(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())},e}();self.onmessage=function(e){"init"===e.data.action&&e.data.options?this.messageHandlers=new wn(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new wn(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}}))),BC=RC(FC),UC=function(e){var t=e.transmuxer,n=e.bytes,r=e.audioAppendStart,i=e.gopsToAlignWith,a=e.remux,s=e.onData,o=e.onTrackInfo,l=e.onAudioTimingInfo,u=e.onVideoTimingInfo,c=e.onVideoSegmentTimingInfo,d=e.onAudioSegmentTimingInfo,h=e.onId3,f=e.onCaptions,p=e.onDone,m=e.onEndedTimeline,g=e.onTransmuxerLog,v=e.isEndOfTimeline,y={buffer:[]},_=v;if(t.onmessage=function(n){t.currentTransmux===e&&("data"===n.data.action&&function(e,t,n){var r=e.data.segment,i=r.type,a=r.initSegment,s=r.captions,o=r.captionStreams,l=r.metadata,u=r.videoFrameDtsTime,c=r.videoFramePtsTime;t.buffer.push({captions:s,captionStreams:o,metadata:l});var d=e.data.segment.boxes||{data:e.data.segment.data},h={type:i,data:new Uint8Array(d.data,d.data.byteOffset,d.data.byteLength),initSegment:new Uint8Array(a.data,a.byteOffset,a.byteLength)};"undefined"!==typeof u&&(h.videoFrameDtsTime=u),"undefined"!==typeof c&&(h.videoFramePtsTime=c),n(h)}(n,y,s),"trackinfo"===n.data.action&&o(n.data.trackInfo),"gopInfo"===n.data.action&&function(e,t){t.gopInfo=e.data.gopInfo}(n,y),"audioTimingInfo"===n.data.action&&l(n.data.audioTimingInfo),"videoTimingInfo"===n.data.action&&u(n.data.videoTimingInfo),"videoSegmentTimingInfo"===n.data.action&&c(n.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===n.data.action&&d(n.data.audioSegmentTimingInfo),"id3Frame"===n.data.action&&h([n.data.id3Frame],n.data.id3Frame.dispatchType),"caption"===n.data.action&&f(n.data.caption),"endedtimeline"===n.data.action&&(_=!1,m()),"log"===n.data.action&&g(n.data.log),"transmuxed"===n.data.type&&(_||(t.onmessage=null,function(e){var t=e.transmuxedData,n=e.callback;t.buffer=[],n(t)}({transmuxedData:y,callback:p}),VC(t))))},r&&t.postMessage({action:"setAudioAppendStart",appendStart:r}),Array.isArray(i)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:i}),"undefined"!==typeof a&&t.postMessage({action:"setRemux",remux:a}),n.byteLength){var b=n instanceof ArrayBuffer?n:n.buffer,x=n instanceof ArrayBuffer?0:n.byteOffset;t.postMessage({action:"push",data:b,byteOffset:x,byteLength:n.byteLength},[b])}v&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},VC=function(e){e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"===typeof e.currentTransmux?e.currentTransmux():UC(e.currentTransmux))},zC=function(e,t){e.postMessage({action:t}),VC(e)},GC=function(e,t){if(!t.currentTransmux)return t.currentTransmux=e,void zC(t,e);t.transmuxQueue.push(zC.bind(null,t,e))},HC=function(e){if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void UC(e);e.transmuxer.transmuxQueue.push(e)},WC=function(e){GC("reset",e)},qC=function(e){var t=new BC;t.currentTransmux=null,t.transmuxQueue=[];var n=t.terminate;return t.terminate=function(){return t.currentTransmux=null,t.transmuxQueue.length=0,n.call(t)},t.postMessage({action:"init",options:e}),t},YC=function(e){var t=e.transmuxer,n=e.endAction||e.action,r=e.callback,i=(0,By.Z)({},e,{endAction:null,transmuxer:null,callback:null});if(t.addEventListener("message",(function i(a){a.data.action===n&&(t.removeEventListener("message",i),a.data.data&&(a.data.data=new Uint8Array(a.data.data,e.byteOffset||0,e.byteLength||a.data.data.byteLength),e.data&&(e.data=a.data.data)),r(a.data))})),e.data){var a=e.data instanceof ArrayBuffer;i.byteOffset=a?0:e.data.byteOffset,i.byteLength=e.data.byteLength;var s=[a?e.data:e.data.buffer];t.postMessage(i,s)}else t.postMessage(i)},XC=2,ZC=-101,KC=-102,QC=function(e){e.forEach((function(e){e.abort()}))},$C=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:ZC,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:KC,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:XC,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:XC,xhr:t}:null},JC=function(e,t,n){return function(r,i){var a=i.response,s=$C(r,i);if(s)return n(s,e);if(16!==a.byteLength)return n({status:i.status,message:"Invalid HLS key at URL: "+i.uri,code:XC,xhr:i},e);for(var o=new DataView(a),l=new Uint32Array([o.getUint32(0),o.getUint32(4),o.getUint32(8),o.getUint32(12)]),u=0;u<t.length;u++)t[u].bytes=l;return n(null,e)}},eP=function(e,t){var n=ex(e.map.bytes);if("mp4"!==n){var r=e.map.resolvedUri||e.map.uri;return t({internal:!0,message:"Found unsupported "+(n||"unknown")+" container for initialization segment at URL: "+r,code:XC})}YC({action:"probeMp4Tracks",data:e.map.bytes,transmuxer:e.transmuxer,callback:function(n){var r=n.tracks,i=n.data;return e.map.bytes=i,r.forEach((function(t){e.map.tracks=e.map.tracks||{},e.map.tracks[t.type]||(e.map.tracks[t.type]=t,"number"===typeof t.id&&t.timescale&&(e.map.timescales=e.map.timescales||{},e.map.timescales[t.id]=t.timescale))})),t(null)}})},tP=function(e){var t=e.segment,n=e.finishProcessingFn,r=e.responseType;return function(e,i){var a=$C(e,i);if(a)return n(a,t);var s="arraybuffer"!==r&&i.responseText?function(e){for(var t=new Uint8Array(new ArrayBuffer(e.length)),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t.buffer}(i.responseText.substring(t.lastReachedChar||0)):i.response;return t.stats=function(e){return{bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}}(i),t.key?t.encryptedBytes=new Uint8Array(s):t.bytes=new Uint8Array(s),n(null,t)}},nP=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,i=e.timingInfoFn,a=e.videoSegmentTimingInfoFn,s=e.audioSegmentTimingInfoFn,o=e.id3Fn,l=e.captionsFn,u=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,h=e.doneFn,f=e.onTransmuxerLog,p=t.map&&t.map.tracks||{},m=Boolean(p.audio&&p.video),g=i.bind(null,t,"audio","start"),v=i.bind(null,t,"audio","end"),y=i.bind(null,t,"video","start"),_=i.bind(null,t,"video","end");YC({action:"probeTs",transmuxer:t.transmuxer,data:n,baseStartTime:t.baseStartTime,callback:function(e){t.bytes=n=e.data;var i=e.result;i&&(r(t,{hasAudio:i.hasAudio,hasVideo:i.hasVideo,isMuxed:m}),r=null,i.hasAudio&&!m&&g(i.audioStart),i.hasVideo&&y(i.videoStart),g=null,y=null),HC({bytes:n,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,remux:m,onData:function(e){e.type="combined"===e.type?"video":e.type,d(t,e)},onTrackInfo:function(e){r&&(m&&(e.isMuxed=!0),r(t,e))},onAudioTimingInfo:function(e){g&&"undefined"!==typeof e.start&&(g(e.start),g=null),v&&"undefined"!==typeof e.end&&v(e.end)},onVideoTimingInfo:function(e){y&&"undefined"!==typeof e.start&&(y(e.start),y=null),_&&"undefined"!==typeof e.end&&_(e.end)},onVideoSegmentTimingInfo:function(e){a(e)},onAudioSegmentTimingInfo:function(e){s(e)},onId3:function(e,n){o(t,e,n)},onCaptions:function(e){l(t,[e])},isEndOfTimeline:u,onEndedTimeline:function(){c()},onTransmuxerLog:f,onDone:function(e){h&&(e.type="combined"===e.type?"video":e.type,h(null,t,e))}})}})},rP=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,i=e.timingInfoFn,a=e.videoSegmentTimingInfoFn,s=e.audioSegmentTimingInfoFn,o=e.id3Fn,l=e.captionsFn,u=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,h=e.doneFn,f=e.onTransmuxerLog,p=new Uint8Array(n);if(function(e){return jb(e,["moof"]).length>0}(p)){t.isFmp4=!0;var m=t.map.tracks,g={isFmp4:!0,hasVideo:!!m.video,hasAudio:!!m.audio};m.audio&&m.audio.codec&&"enca"!==m.audio.codec&&(g.audioCodec=m.audio.codec),m.video&&m.video.codec&&"encv"!==m.video.codec&&(g.videoCodec=m.video.codec),m.video&&m.audio&&(g.isMuxed=!0),r(t,g);var v=function(e){d(t,{data:p,type:g.hasAudio&&!g.isMuxed?"audio":"video"}),e&&e.length&&l(t,e),h(null,t,{})};YC({action:"probeMp4StartTime",timescales:t.map.timescales,data:p,transmuxer:t.transmuxer,callback:function(e){var r=e.data,a=e.startTime;n=r.buffer,t.bytes=p=r,g.hasAudio&&!g.isMuxed&&i(t,"audio","start",a),g.hasVideo&&i(t,"video","start",a),m.video&&r.byteLength&&t.transmuxer?YC({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:t.transmuxer,data:p,timescales:t.map.timescales,trackIds:[m.video.id],callback:function(e){n=e.data.buffer,t.bytes=p=e.data,e.logs.forEach((function(e){f(vk.mergeOptions(e,{stream:"mp4CaptionParser"}))})),v(e.captions)}}):v()}})}else if(t.transmuxer){if("undefined"===typeof t.container&&(t.container=ex(p)),"ts"!==t.container&&"aac"!==t.container)return r(t,{hasAudio:!1,hasVideo:!1}),void h(null,t,{});nP({segment:t,bytes:n,trackInfoFn:r,timingInfoFn:i,videoSegmentTimingInfoFn:a,audioSegmentTimingInfoFn:s,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:c,dataFn:d,doneFn:h,onTransmuxerLog:f})}else h(null,t,{})},iP=function(e,t){var n,r=e.id,i=e.key,a=e.encryptedBytes,s=e.decryptionWorker;s.addEventListener("message",(function e(n){if(n.data.source===r){s.removeEventListener("message",e);var i=n.data.decrypted;t(new Uint8Array(i.bytes,i.byteOffset,i.byteLength))}})),n=i.bytes.slice?i.bytes.slice():new Uint32Array(Array.prototype.slice.call(i.bytes)),s.postMessage(_C({source:r,encrypted:a,key:n,iv:i.iv}),[a.buffer,n.buffer])},aP=function(e){var t=e.activeXhrs,n=e.decryptionWorker,r=e.trackInfoFn,i=e.timingInfoFn,a=e.videoSegmentTimingInfoFn,s=e.audioSegmentTimingInfoFn,o=e.id3Fn,l=e.captionsFn,u=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,h=e.doneFn,f=e.onTransmuxerLog,p=0,m=!1;return function(e,g){if(!m){if(e)return m=!0,QC(t),h(e,g);if((p+=1)===t.length){var v=function(){if(g.encryptedBytes)return function(e){var t=e.decryptionWorker,n=e.segment,r=e.trackInfoFn,i=e.timingInfoFn,a=e.videoSegmentTimingInfoFn,s=e.audioSegmentTimingInfoFn,o=e.id3Fn,l=e.captionsFn,u=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,h=e.doneFn,f=e.onTransmuxerLog;iP({id:n.requestId,key:n.key,encryptedBytes:n.encryptedBytes,decryptionWorker:t},(function(e){n.bytes=e,rP({segment:n,bytes:n.bytes,trackInfoFn:r,timingInfoFn:i,videoSegmentTimingInfoFn:a,audioSegmentTimingInfoFn:s,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:c,dataFn:d,doneFn:h,onTransmuxerLog:f})}))}({decryptionWorker:n,segment:g,trackInfoFn:r,timingInfoFn:i,videoSegmentTimingInfoFn:a,audioSegmentTimingInfoFn:s,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:c,dataFn:d,doneFn:h,onTransmuxerLog:f});rP({segment:g,bytes:g.bytes,trackInfoFn:r,timingInfoFn:i,videoSegmentTimingInfoFn:a,audioSegmentTimingInfoFn:s,id3Fn:o,captionsFn:l,isEndOfTimeline:u,endedTimelineFn:c,dataFn:d,doneFn:h,onTransmuxerLog:f})};if(g.endOfAllRequests=Date.now(),g.map&&g.map.encryptedBytes&&!g.map.bytes)return iP({decryptionWorker:n,id:g.requestId+"-init",encryptedBytes:g.map.encryptedBytes,key:g.map.key},(function(e){g.map.bytes=e,eP(g,(function(e){if(e)return QC(t),h(e,g);v()}))}));v()}}}},sP=function(e){var t=e.segment,n=e.progressFn;return e.trackInfoFn,e.timingInfoFn,e.videoSegmentTimingInfoFn,e.audioSegmentTimingInfoFn,e.id3Fn,e.captionsFn,e.isEndOfTimeline,e.endedTimelineFn,e.dataFn,function(e){if(!e.target.aborted)return t.stats=vk.mergeOptions(t.stats,function(e){var t=e.target,n={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return n.bytesReceived=e.loaded,n.bandwidth=Math.floor(n.bytesReceived/n.roundTripTime*8*1e3),n}(e)),!t.stats.firstBytesReceivedAt&&t.stats.bytesReceived&&(t.stats.firstBytesReceivedAt=Date.now()),n(e,t)}},oP=function(e){var t=e.xhr,n=e.xhrOptions,r=e.decryptionWorker,i=e.segment,a=e.abortFn,s=e.progressFn,o=e.trackInfoFn,l=e.timingInfoFn,u=e.videoSegmentTimingInfoFn,c=e.audioSegmentTimingInfoFn,d=e.id3Fn,h=e.captionsFn,f=e.isEndOfTimeline,p=e.endedTimelineFn,m=e.dataFn,g=e.doneFn,v=e.onTransmuxerLog,y=[],_=aP({activeXhrs:y,decryptionWorker:r,trackInfoFn:o,timingInfoFn:l,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:c,id3Fn:d,captionsFn:h,isEndOfTimeline:f,endedTimelineFn:p,dataFn:m,doneFn:g,onTransmuxerLog:v});if(i.key&&!i.key.bytes){var b=[i.key];i.map&&!i.map.bytes&&i.map.key&&i.map.key.resolvedUri===i.key.resolvedUri&&b.push(i.map.key);var x=t(vk.mergeOptions(n,{uri:i.key.resolvedUri,responseType:"arraybuffer"}),JC(i,b,_));y.push(x)}if(i.map&&!i.map.bytes){if(i.map.key&&(!i.key||i.key.resolvedUri!==i.map.key.resolvedUri)){var T=t(vk.mergeOptions(n,{uri:i.map.key.resolvedUri,responseType:"arraybuffer"}),JC(i,[i.map.key],_));y.push(T)}var w=vk.mergeOptions(n,{uri:i.map.resolvedUri,responseType:"arraybuffer",headers:mC(i.map)}),S=function(e){var t=e.segment,n=e.finishProcessingFn;return function(e,r){var i=$C(e,r);if(i)return n(i,t);var a=new Uint8Array(r.response);if(t.map.key)return t.map.encryptedBytes=a,n(null,t);t.map.bytes=a,eP(t,(function(e){if(e)return e.xhr=r,e.status=r.status,n(e,t);n(null,t)}))}}({segment:i,finishProcessingFn:_}),E=t(w,S);y.push(E)}var k=vk.mergeOptions(n,{uri:i.part&&i.part.resolvedUri||i.resolvedUri,responseType:"arraybuffer",headers:mC(i)}),C=t(k,tP({segment:i,finishProcessingFn:_,responseType:k.responseType}));C.addEventListener("progress",sP({segment:i,progressFn:s,trackInfoFn:o,timingInfoFn:l,videoSegmentTimingInfoFn:u,audioSegmentTimingInfoFn:c,id3Fn:d,captionsFn:h,isEndOfTimeline:f,endedTimelineFn:p,dataFn:m})),y.push(C);var P={};return y.forEach((function(e){e.addEventListener("loadend",function(e){var t=e.loadendState,n=e.abortFn;return function(e){e.target.aborted&&n&&!t.calledAbortFn&&(n(),t.calledAbortFn=!0)}}({loadendState:P,abortFn:a}))})),function(){return QC(y)}},lP=Tk("CodecUtils"),uP=function(e,t){var n=t.attributes||{};return e&&e.mediaGroups&&e.mediaGroups.AUDIO&&n.AUDIO&&e.mediaGroups.AUDIO[n.AUDIO]},cP=function(e){var t={};return e.forEach((function(e){var n=e.mediaType,r=e.type,i=e.details;t[n]=t[n]||[],t[n].push(f_(""+r+i))})),Object.keys(t).forEach((function(e){if(t[e].length>1)return lP("multiple "+e+" codecs found as attributes: "+t[e].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),void(t[e]=null);t[e]=t[e][0]})),t},dP=function(e){var t=0;return e.audio&&t++,e.video&&t++,t},hP=function(e,t){var n=t.attributes||{},r=cP(function(e){var t=e.attributes||{};if(t.CODECS)return p_(t.CODECS)}(t)||[]);if(uP(e,t)&&!r.audio&&!function(e,t){if(!uP(e,t))return!0;var n=t.attributes||{},r=e.mediaGroups.AUDIO[n.AUDIO];for(var i in r)if(!r[i].uri&&!r[i].playlists)return!0;return!1}(e,t)){var i=cP(function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var i=n[r];if(i.default&&i.playlists)return p_(i.playlists[0].attributes.CODECS)}return null}(e,n.AUDIO)||[]);i.audio&&(r.audio=i.audio)}return r},fP=Tk("PlaylistSelector"),pP=function(e){if(e&&e.playlist){var t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})}},mP=function(e,t){if(!e)return"";var n=Ly().getComputedStyle(e);return n?n[t]:""},gP=function(e,t){var n=e.slice();e.sort((function(e,r){var i=t(e,r);return 0===i?n.indexOf(e)-n.indexOf(r):i}))},vP=function(e,t){var n,r;return e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||Ly().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),n-(r=r||Ly().Number.MAX_VALUE)},yP=function(e,t,n,r,i,a){if(e){var s={bandwidth:t,width:n,height:r,limitRenditionByPlayerDimensions:i},o=e.playlists;Kk.isAudioOnly(e)&&(o=a.getAudioTrackPlaylists_(),s.audioOnly=!0);var l=o.map((function(e){var t=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return{bandwidth:e.attributes&&e.attributes.BANDWIDTH||Ly().Number.MAX_VALUE,width:t,height:n,playlist:e}}));gP(l,(function(e,t){return e.bandwidth-t.bandwidth}));var u=(l=l.filter((function(e){return!Kk.isIncompatible(e.playlist)}))).filter((function(e){return Kk.isEnabled(e.playlist)}));u.length||(u=l.filter((function(e){return!Kk.isDisabled(e.playlist)})));var c=u.filter((function(e){return e.bandwidth*MC.BANDWIDTH_VARIANCE<t})),d=c[c.length-1],h=c.filter((function(e){return e.bandwidth===d.bandwidth}))[0];if(!1===i){var f=h||u[0]||l[0];if(f&&f.playlist){var p="sortedPlaylistReps";return h&&(p="bandwidthBestRep"),u[0]&&(p="enabledPlaylistReps"),fP("choosing "+pP(f)+" using "+p+" with options",s),f.playlist}return fP("could not choose a playlist with options",s),null}var m=c.filter((function(e){return e.width&&e.height}));gP(m,(function(e,t){return e.width-t.width}));var g=m.filter((function(e){return e.width===n&&e.height===r}));d=g[g.length-1];var v,y,_,b,x=g.filter((function(e){return e.bandwidth===d.bandwidth}))[0];if(x||(y=(v=m.filter((function(e){return e.width>n||e.height>r}))).filter((function(e){return e.width===v[0].width&&e.height===v[0].height})),d=y[y.length-1],_=y.filter((function(e){return e.bandwidth===d.bandwidth}))[0]),a.experimentalLeastPixelDiffSelector){var T=m.map((function(e){return e.pixelDiff=Math.abs(e.width-n)+Math.abs(e.height-r),e}));gP(T,(function(e,t){return e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff})),b=T[0]}var w=b||_||x||h||u[0]||l[0];if(w&&w.playlist){var S="sortedPlaylistReps";return b?S="leastPixelDiffRep":_?S="resolutionPlusOneRep":x?S="resolutionBestRep":h?S="bandwidthBestRep":u[0]&&(S="enabledPlaylistReps"),fP("choosing "+pP(w)+" using "+S+" with options",s),w.playlist}return fP("could not choose a playlist with options",s),null}},_P=function(){var e=this.useDevicePixelRatio&&Ly().devicePixelRatio||1;return yP(this.playlists.master,this.systemBandwidth,parseInt(mP(this.tech_.el(),"width"),10)*e,parseInt(mP(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},bP=function(e){var t=e.inbandTextTracks,n=e.metadataArray,r=e.timestampOffset,i=e.videoDuration;if(n){var a=Ly().WebKitDataCue||Ly().VTTCue,s=t.metadataTrack_;if(s&&(n.forEach((function(e){var t=e.cueTime+r;!("number"!==typeof t||Ly().isNaN(t)||t<0)&&t<1/0&&e.frames.forEach((function(e){var n=new a(t,t,e.value||e.url||e.data||"");n.frame=e,n.value=e,function(e){Object.defineProperties(e.frame,{id:{get:function(){return vk.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return vk.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return vk.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})}(n),s.addCue(n)}))})),s.cues&&s.cues.length)){for(var o=s.cues,l=[],u=0;u<o.length;u++)o[u]&&l.push(o[u]);var c=l.reduce((function(e,t){var n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e}),{}),d=Object.keys(c).sort((function(e,t){return Number(e)-Number(t)}));d.forEach((function(e,t){var n=c[e],r=Number(d[t+1])||i;n.forEach((function(e){e.endTime=r}))}))}}},xP=function(e,t,n){var r,i;if(n&&n.cues)for(r=n.cues.length;r--;)(i=n.cues[r]).startTime>=e&&i.endTime<=t&&n.removeCue(i)},TP=function(e){return"number"===typeof e&&isFinite(e)},wP=1/60,SP=function(e){var t=e.startOfSegment,n=e.duration,r=e.segment,i=e.part,a=e.playlist,s=a.mediaSequence,o=a.id,l=a.segments,u=void 0===l?[]:l,c=e.mediaIndex,d=e.partIndex,h=e.timeline,f=u.length-1,p="mediaIndex/partIndex increment";e.getMediaInfoForTime?p="getMediaInfoForTime ("+e.getMediaInfoForTime+")":e.isSyncRequest&&(p="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(p+=" with independent "+e.independent);var m="number"===typeof d,g=e.segment.uri?"segment":"pre-segment",v=m?Lk({preloadSegment:r})-1:0;return g+" ["+(s+c)+"/"+(s+f)+"]"+(m?" part ["+d+"/"+v+"]":"")+" segment start/end ["+r.start+" => "+r.end+"]"+(m?" part start/end ["+i.start+" => "+i.end+"]":"")+" startOfSegment ["+t+"] duration ["+n+"] timeline ["+h+"] selected by ["+p+"] playlist ["+o+"]"},EP=function(e){return e+"TimingInfo"},kP=function(e){var t=e.timelineChangeController,n=e.currentTimeline,r=e.segmentTimeline,i=e.loaderType,a=e.audioDisabled;if(n===r)return!1;if("audio"===i){var s=t.lastTimelineChange({type:"main"});return!s||s.to!==r}if("main"===i&&a){var o=t.pendingTimelineChange({type:"audio"});return!o||o.to!==r}return!1},CP=function(e){var t=e.segmentDuration,n=e.maxDuration;return!!t&&Math.round(t)>n+wk},PP=function(e,t){if("hls"!==t)return null;var n=function(e){var t=0;return["video","audio"].forEach((function(n){var r=e[n+"TimingInfo"];if(r){var i,a=r.start,s=r.end;"bigint"===typeof a||"bigint"===typeof s?i=Ly().BigInt(s)-Ly().BigInt(a):"number"===typeof a&&"number"===typeof s&&(i=s-a),"undefined"!==typeof i&&i>t&&(t=i)}})),"bigint"===typeof t&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),t}({audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo});if(!n)return null;var r=e.playlist.targetDuration,i=CP({segmentDuration:n,maxDuration:2*r}),a=CP({segmentDuration:n,maxDuration:r}),s="Segment with index "+e.mediaIndex+" from playlist "+e.playlist.id+" has a duration of "+n+" when the reported duration is "+e.duration+" and the target duration is "+r+". For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1";return i||a?{severity:i?"warn":"info",message:s}:null},AP=function(e){function t(t,n){var r;if(r=e.call(this)||this,!t)throw new TypeError("Initialization settings are required");if("function"!==typeof t.currentTime)throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");return r.bandwidth=t.bandwidth,r.throughput={rate:0,count:0},r.roundTrip=NaN,r.resetStats_(),r.mediaIndex=null,r.partIndex=null,r.hasPlayed_=t.hasPlayed,r.currentTime_=t.currentTime,r.seekable_=t.seekable,r.seeking_=t.seeking,r.duration_=t.duration,r.mediaSource_=t.mediaSource,r.vhs_=t.vhs,r.loaderType_=t.loaderType,r.currentMediaInfo_=void 0,r.startingMediaInfo_=void 0,r.segmentMetadataTrack_=t.segmentMetadataTrack,r.goalBufferLength_=t.goalBufferLength,r.sourceType_=t.sourceType,r.sourceUpdater_=t.sourceUpdater,r.inbandTextTracks_=t.inbandTextTracks,r.state_="INIT",r.timelineChangeController_=t.timelineChangeController,r.shouldSaveSegmentTimingInfo_=!0,r.parse708captions_=t.parse708captions,r.useDtsForTimestampOffset_=t.useDtsForTimestampOffset,r.captionServices_=t.captionServices,r.experimentalExactManifestTimings=t.experimentalExactManifestTimings,r.checkBufferTimeout_=null,r.error_=void 0,r.currentTimeline_=-1,r.pendingSegment_=null,r.xhrOptions_=null,r.pendingSegments_=[],r.audioDisabled_=!1,r.isPendingTimestampOffset_=!1,r.gopBuffer_=[],r.timeMapping_=0,r.safeAppend_=vk.browser.IE_VERSION>=11,r.appendInitSegment_={audio:!0,video:!0},r.playlistOfLastInitSegment_={audio:null,video:null},r.callQueue_=[],r.loadQueue_=[],r.metadataQueue_={id3:[],caption:[]},r.waitingOnRemove_=!1,r.quotaExceededErrorRetryTimeout_=null,r.activeInitSegmentId_=null,r.initSegments_={},r.cacheEncryptionKeys_=t.cacheEncryptionKeys,r.keyCache_={},r.decrypter_=t.decrypter,r.syncController_=t.syncController,r.syncPoint_={segmentIndex:0,time:0},r.transmuxer_=r.createTransmuxer_(),r.triggerSyncInfoUpdate_=function(){return r.trigger("syncinfoupdate")},r.syncController_.on("syncinfoupdate",r.triggerSyncInfoUpdate_),r.mediaSource_.addEventListener("sourceopen",(function(){r.isEndOfStream_()||(r.ended_=!1)})),r.fetchAtBuffer_=!1,r.logger_=Tk("SegmentLoader["+r.loaderType_+"]"),Object.defineProperty(E(r),"state",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+" -> "+e),this.state_=e,this.trigger("statechange"))}}),r.sourceUpdater_.on("ready",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"main"===r.loaderType_&&r.timelineChangeController_.on("pendingtimelinechange",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"audio"===r.loaderType_&&r.timelineChangeController_.on("timelinechange",(function(){r.hasEnoughInfoToLoad_()&&r.processLoadQueue_(),r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),r}(0,zy.Z)(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return qC({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},n.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},n.dispose=function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&Ly().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},n.setAudio=function(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},n.abort=function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},n.abort_=function(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,Ly().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},n.checkForAbort_=function(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)},n.error=function(e){return"undefined"!==typeof e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_},n.endOfStream=function(){this.ended_=!0,this.transmuxer_&&WC(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},n.buffered_=function(){var e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return vk.createTimeRanges();if("main"===this.loaderType_){var t=e.hasAudio,n=e.hasVideo,r=e.isMuxed;if(n&&t&&!this.audioDisabled_&&!r)return this.sourceUpdater_.buffered();if(n)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},n.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=bC(e),r=this.initSegments_[n];return t&&!r&&e.bytes&&(this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),r||e},n.segmentKey=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=xC(e),r=this.keyCache_[n];this.cacheEncryptionKeys_&&t&&!r&&e.bytes&&(this.keyCache_[n]=r={resolvedUri:e.resolvedUri,bytes:e.bytes});var i={resolvedUri:(r||e).resolvedUri};return r&&(i.bytes=r.bytes),i},n.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},n.load=function(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.playlist=function(e,t){if(void 0===t&&(t={}),e){var n=this.playlist_,r=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));var i=null;if(n&&(n.id?i=n.id:n.uri&&(i=n.uri)),this.logger_("playlist update ["+i+" => "+(e.id||e.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!n||n.uri!==e.uri)return null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");var a=e.mediaSequence-n.mediaSequence;if(this.logger_("live window shift ["+a+"]"),null!==this.mediaIndex)if(this.mediaIndex-=a,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{var s=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!s.parts||!s.parts.length||!s.parts[this.partIndex])){var o=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=o}}r&&(r.mediaIndex-=a,r.mediaIndex<0?(r.mediaIndex=null,r.partIndex=null):(r.mediaIndex>=0&&(r.segment=e.segments[r.mediaIndex]),r.partIndex>=0&&r.segment.parts&&(r.part=r.segment.parts[r.partIndex]))),this.syncController_.saveExpiredSegmentInfo(n,e)}},n.pause=function(){this.checkBufferTimeout_&&(Ly().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},n.paused=function(){return null===this.checkBufferTimeout_},n.resetEverything=function(e){this.ended_=!1,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},n.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},n.resyncLoader=function(){this.transmuxer_&&WC(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})},n.remove=function(e,t,n,r){if(void 0===n&&(n=function(){}),void 0===r&&(r=!1),t===1/0&&(t=this.duration_()),t<=e)this.logger_("skipping remove because end ${end} is <= start ${start}");else if(this.sourceUpdater_&&this.getMediaInfo_()){var i=1,a=function(){0===--i&&n()};for(var s in!r&&this.audioDisabled_||(i++,this.sourceUpdater_.removeAudio(e,t,a)),(r||"main"===this.loaderType_)&&(this.gopBuffer_=function(e,t,n,r){for(var i=Math.ceil((t-r)*tx.ONE_SECOND_IN_TS),a=Math.ceil((n-r)*tx.ONE_SECOND_IN_TS),s=e.slice(),o=e.length;o--&&!(e[o].pts<=a););if(-1===o)return s;for(var l=o+1;l--&&!(e[l].pts<=i););return l=Math.max(l,0),s.splice(l,o-l+1),s}(this.gopBuffer_,e,t,this.timeMapping_),i++,this.sourceUpdater_.removeVideo(e,t,a)),this.inbandTextTracks_)xP(e,t,this.inbandTextTracks_[s]);xP(e,t,this.segmentMetadataTrack_),a()}else this.logger_("skipping remove because no source updater or starting media info")},n.monitorBuffer_=function(){this.checkBufferTimeout_&&Ly().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=Ly().setTimeout(this.monitorBufferTick_.bind(this),1)},n.monitorBufferTick_=function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&Ly().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=Ly().setTimeout(this.monitorBufferTick_.bind(this),500)},n.fillBuffer_=function(){if(!this.sourceUpdater_.updating()){var e=this.chooseNextRequest_();e&&("number"===typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}},n.isEndOfStream_=function(e,t,n){if(void 0===e&&(e=this.mediaIndex),void 0===t&&(t=this.playlist_),void 0===n&&(n=this.partIndex),!t||!this.mediaSource_)return!1;var r="number"===typeof e&&t.segments[e],i=e+1===t.segments.length,a=!r||!r.parts||n+1===r.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&i&&a},n.chooseNextRequest_=function(){var e=this.buffered_(),t=Ik(e)||0,n=Ok(e,this.currentTime_()),r=!this.hasPlayed_()&&n>=1,i=n>=this.goalBufferLength_(),a=this.playlist_.segments;if(!a.length||r||i)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());var s={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(s.isSyncRequest)s.mediaIndex=function(e,t,n){t=t||[];for(var r=[],i=0,a=0;a<t.length;a++){var s=t[a];if(e===s.timeline&&(r.push(a),(i+=s.duration)>n))return a}return 0===r.length?0:r[r.length-1]}(this.currentTimeline_,a,t);else if(null!==this.mediaIndex){var o=a[this.mediaIndex],l="number"===typeof this.partIndex?this.partIndex:-1;s.startOfSegment=o.end?o.end:t,o.parts&&o.parts[l+1]?(s.mediaIndex=this.mediaIndex,s.partIndex=l+1):s.mediaIndex=this.mediaIndex+1}else{var u=Kk.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time}),c=u.segmentIndex,d=u.startTime,h=u.partIndex;s.getMediaInfoForTime=this.fetchAtBuffer_?"bufferedEnd "+t:"currentTime "+this.currentTime_(),s.mediaIndex=c,s.startOfSegment=d,s.partIndex=h}var f=a[s.mediaIndex],p=f&&"number"===typeof s.partIndex&&f.parts&&f.parts[s.partIndex];if(!f||"number"===typeof s.partIndex&&!p)return null;if("number"!==typeof s.partIndex&&f.parts&&(s.partIndex=0,p=f.parts[0]),!n&&p&&!p.independent)if(0===s.partIndex){var m=a[s.mediaIndex-1],g=m.parts&&m.parts.length&&m.parts[m.parts.length-1];g&&g.independent&&(s.mediaIndex-=1,s.partIndex=m.parts.length-1,s.independent="previous segment")}else f.parts[s.partIndex-1].independent&&(s.partIndex-=1,s.independent="previous part");var v=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return s.mediaIndex>=a.length-1&&v&&!this.seeking_()?null:this.generateSegmentInfo_(s)},n.generateSegmentInfo_=function(e){var t=e.independent,n=e.playlist,r=e.mediaIndex,i=e.startOfSegment,a=e.isSyncRequest,s=e.partIndex,o=e.forceTimestampOffset,l=e.getMediaInfoForTime,u=n.segments[r],c="number"===typeof s&&u.parts[s],d={requestId:"segment-loader-"+Math.random(),uri:c&&c.resolvedUri||u.resolvedUri,mediaIndex:r,partIndex:c?s:null,isSyncRequest:a,startOfSegment:i,playlist:n,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:u.timeline,duration:c&&c.duration||u.duration,segment:u,part:c,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:l,independent:t},h="undefined"!==typeof o?o:this.isPendingTimestampOffset_;d.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:u.timeline,currentTimeline:this.currentTimeline_,startOfSegment:i,buffered:this.buffered_(),overrideCheck:h});var f=Ik(this.sourceUpdater_.audioBuffered());return"number"===typeof f&&(d.audioAppendStart=f-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(d.gopsToAlignWith=function(e,t,n){if("undefined"===typeof t||null===t||!e.length)return[];var r,i=Math.ceil((t-n+3)*tx.ONE_SECOND_IN_TS);for(r=0;r<e.length&&!(e[r].pts>i);r++);return e.slice(r)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),d},n.timestampOffsetForSegment_=function(e){return function(e){var t=e.segmentTimeline,n=e.currentTimeline,r=e.startOfSegment,i=e.buffered;return e.overrideCheck||t!==n?t<n?r:i.length?i.end(i.length-1):r:null}(e)},n.earlyAbortWhenNeeded_=function(e){if(!this.vhs_.tech_.paused()&&this.xhrOptions_.timeout&&this.playlist_.attributes.BANDWIDTH&&!(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)){var t=this.currentTime_(),n=e.bandwidth,r=this.pendingSegment_.duration,i=Kk.estimateSegmentRequestTime(r,n,this.playlist_,e.bytesReceived),a=function(e,t,n){return void 0===n&&(n=1),((e.length?e.end(e.length-1):0)-t)/n}(this.buffered_(),t,this.vhs_.tech_.playbackRate())-1;if(!(i<=a)){var s=function(e){var t=e.master,n=e.currentTime,r=e.bandwidth,i=e.duration,a=e.segmentDuration,s=e.timeUntilRebuffer,o=e.currentTimeline,l=e.syncController,u=t.playlists.filter((function(e){return!Kk.isIncompatible(e)})),c=u.filter(Kk.isEnabled);c.length||(c=u.filter((function(e){return!Kk.isDisabled(e)})));var d=c.filter(Kk.hasAttribute.bind(null,"BANDWIDTH")).map((function(e){var t=l.getSyncPoint(e,i,o,n)?1:2;return{playlist:e,rebufferingImpact:Kk.estimateSegmentRequestTime(a,r,e)*t-s}})),h=d.filter((function(e){return e.rebufferingImpact<=0}));return gP(h,(function(e,t){return vP(t.playlist,e.playlist)})),h.length?h[0]:(gP(d,(function(e,t){return e.rebufferingImpact-t.rebufferingImpact})),d[0]||null)}({master:this.vhs_.playlists.master,currentTime:t,bandwidth:n,duration:this.duration_(),segmentDuration:r,timeUntilRebuffer:a,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(s){var o=i-a-s.rebufferingImpact,l=.5;a<=wk&&(l=1),!s.playlist||s.playlist.uri===this.playlist_.uri||o<l||(this.bandwidth=s.playlist.attributes.BANDWIDTH*MC.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}}}},n.handleAbort_=function(e){this.logger_("Aborting "+SP(e)),this.mediaRequestsAborted+=1},n.handleProgress_=function(e,t){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.trigger("progress")},n.handleTrackInfo_=function(e,t){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.checkForIllegalMediaSwitch(t)||(t=t||{},function(e,t){if(!e&&!t||!e&&t||e&&!t)return!1;if(e===t)return!0;var n=Object.keys(e).sort(),r=Object.keys(t).sort();if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++){var a=n[i];if(a!==r[i])return!1;if(e[a]!==t[a])return!1}return!0}(this.currentMediaInfo_,t)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=t,this.currentMediaInfo_=t,this.logger_("trackinfo update",t),this.trigger("trackinfo")),this.checkForAbort_(e.requestId)||(this.pendingSegment_.trackInfo=t,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))},n.handleTimingInfo_=function(e,t,n,r){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId)){var i=this.pendingSegment_,a=EP(t);i[a]=i[a]||{},i[a][n]=r,this.logger_("timinginfo: "+t+" - "+n+" - "+r),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}},n.handleCaptions_=function(e,t){var n=this;if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(0!==t.length)if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),i={};t.forEach((function(e){i[e.stream]=i[e.stream]||{startTime:1/0,captions:[],endTime:0};var t=i[e.stream];t.startTime=Math.min(t.startTime,e.startTime+r),t.endTime=Math.max(t.endTime,e.endTime+r),t.captions.push(e)})),Object.keys(i).forEach((function(e){var t=i[e],a=t.startTime,s=t.endTime,o=t.captions,l=n.inbandTextTracks_;n.logger_("adding cues from "+a+" -> "+s+" for "+e),function(e,t,n){if(!e[n]){t.trigger({type:"usage",name:"vhs-608"}),t.trigger({type:"usage",name:"hls-608"});var r=n;/^cc708_/.test(n)&&(r="SERVICE"+n.split("_")[1]);var i=t.textTracks().getTrackById(r);if(i)e[n]=i;else{var a=n,s=n,o=!1,l=(t.options_.vhs&&t.options_.vhs.captionServices||{})[r];l&&(a=l.label,s=l.language,o=l.default),e[n]=t.addRemoteTextTrack({kind:"captions",id:r,default:o,label:a,language:s},!1).track}}}(l,n.vhs_.tech_,e),xP(a,s,l[e]),function(e){var t=e.inbandTextTracks,n=e.captionArray,r=e.timestampOffset;if(n){var i=Ly().WebKitDataCue||Ly().VTTCue;n.forEach((function(e){var n=e.stream;t[n].addCue(new i(e.startTime+r,e.endTime+r,e.text))}))}}({captionArray:o,inbandTextTracks:l,timestampOffset:r})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}else this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t));else this.logger_("SegmentLoader received no captions from a caption event")},n.handleId3_=function(e,t,n){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();!function(e,t,n){e.metadataTrack_||(e.metadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=t)}(this.inbandTextTracks_,n,this.vhs_.tech_),bP({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:r,videoDuration:this.duration_()})}else this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,n))},n.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach((function(e){return e()})),this.metadataQueue_.caption.forEach((function(e){return e()})),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},n.processCallQueue_=function(){var e=this.callQueue_;this.callQueue_=[],e.forEach((function(e){return e()}))},n.processLoadQueue_=function(){var e=this.loadQueue_;this.loadQueue_=[],e.forEach((function(e){return e()}))},n.hasEnoughInfoToLoad_=function(){if("audio"!==this.loaderType_)return!0;var e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!kP({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.getCurrentMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),e&&e.trackInfo||this.currentMediaInfo_},n.getMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),this.getCurrentMediaInfo_(e)||this.startingMediaInfo_},n.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;var n=t.hasAudio,r=t.hasVideo,i=t.isMuxed;return!(r&&!e.videoTimingInfo)&&(!(n&&!this.audioDisabled_&&!i&&!e.audioTimingInfo)&&!kP({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.handleData_=function(e,t){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()){var n=this.pendingSegment_;if(this.setTimeMapping_(n.timeline),this.updateMediaSecondsLoaded_(n.part||n.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),n.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),n.isFmp4=e.isFmp4,n.timingInfo=n.timingInfo||{},n.isFmp4)this.trigger("fmp4"),n.timingInfo.start=n[EP(t.type)].start;else{var r,i=this.getCurrentMediaInfo_(),a="main"===this.loaderType_&&i&&i.hasVideo;a&&(r=n.videoTimingInfo.start),n.timingInfo.start=this.trueSegmentStart_({currentStart:n.timingInfo.start,playlist:n.playlist,mediaIndex:n.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:a,firstVideoFrameTimeForData:r,videoTimingInfo:n.videoTimingInfo,audioTimingInfo:n.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(n,t.type),this.updateSourceBufferTimestampOffset_(n),n.isSyncRequest){this.updateTimingInfoEnd_(n),this.syncController_.saveSegmentTimingInfo({segmentInfo:n,shouldSaveTimelineMapping:"main"===this.loaderType_});var s=this.chooseNextRequest_();if(s.mediaIndex!==n.mediaIndex||s.partIndex!==n.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}n.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(n,t)}}else this.callQueue_.push(this.handleData_.bind(this,e,t))},n.updateAppendInitSegmentStatus=function(e,t){"main"!==this.loaderType_||"number"!==typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)},n.getInitSegmentAndUpdateState_=function(e){var t=e.type,n=e.initSegment,r=e.map,i=e.playlist;if(r){var a=bC(r);if(this.activeInitSegmentId_===a)return null;n=this.initSegmentForMap(r,!0).bytes,this.activeInitSegmentId_=a}return n&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=i,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,n):null},n.handleQuotaExceededError_=function(e,t){var n=this,r=e.segmentInfo,i=e.type,a=e.bytes,s=this.sourceUpdater_.audioBuffered(),o=this.sourceUpdater_.videoBuffered();s.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+Ak(s).join(", ")),o.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+Ak(o).join(", "));var l=s.length?s.start(0):0,u=s.length?s.end(s.length-1):0,c=o.length?o.start(0):0,d=o.length?o.end(o.length-1):0;if(u-l<=1&&d-c<=1)return this.logger_("On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: "+a.byteLength+", audio buffer: "+Ak(s).join(", ")+", video buffer: "+Ak(o).join(", ")+", "),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:r,type:i,bytes:a}));var h=this.currentTime_()-1;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+h),this.remove(0,h,(function(){n.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),n.waitingOnRemove_=!1,n.quotaExceededErrorRetryTimeout_=Ly().setTimeout((function(){n.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),n.quotaExceededErrorRetryTimeout_=null,n.processCallQueue_()}),1e3)}),!0)},n.handleAppendError_=function(e,t){var n=e.segmentInfo,r=e.type,i=e.bytes;t&&(22!==t.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",t),this.error(r+" append of "+i.length+"b failed for segment #"+n.mediaIndex+" in playlist "+n.playlist.id),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:n,type:r,bytes:i}))},n.appendToSourceBuffer_=function(e){var t=e.segmentInfo,n=e.type,r=e.initSegment,i=e.data,a=e.bytes;if(!a){var s=[i],o=i.byteLength;r&&(s.unshift(r),o+=r.byteLength),a=function(e){var t,n=0;return e.bytes&&(t=new Uint8Array(e.bytes),e.segments.forEach((function(e){t.set(e,n),n+=e.byteLength}))),t}({bytes:o,segments:s})}this.sourceUpdater_.appendBuffer({segmentInfo:t,type:n,bytes:a},this.handleAppendError_.bind(this,{segmentInfo:t,type:n,bytes:a}))},n.handleSegmentTimingInfo_=function(e,t,n){if(this.pendingSegment_&&t===this.pendingSegment_.requestId){var r=this.pendingSegment_.segment,i=e+"TimingInfo";r[i]||(r[i]={}),r[i].transmuxerPrependedSeconds=n.prependedContentDuration||0,r[i].transmuxedPresentationStart=n.start.presentation,r[i].transmuxedDecodeStart=n.start.decode,r[i].transmuxedPresentationEnd=n.end.presentation,r[i].transmuxedDecodeEnd=n.end.decode,r[i].baseMediaDecodeTime=n.baseMediaDecodeTime}},n.appendData_=function(e,t){var n=t.type,r=t.data;if(r&&r.byteLength&&("audio"!==n||!this.audioDisabled_)){var i=this.getInitSegmentAndUpdateState_({type:n,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:n,initSegment:i,data:r})}},n.loadSegment_=function(e){var t=this;this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"===typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(e):this.loadQueue_.push((function(){var n=(0,By.Z)({},e,{forceTimestampOffset:!0});(0,By.Z)(e,t.generateSegmentInfo_(n)),t.isPendingTimestampOffset_=!1,t.updateTransmuxerAndRequestSegment_(e)}))},n.updateTransmuxerAndRequestSegment_=function(e){var t=this;this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));var n=this.createSimplifiedSegmentObj_(e),r=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),i=null!==this.mediaIndex,a=e.timeline!==this.currentTimeline_&&e.timeline>0,s=r||i&&a;this.logger_("Requesting "+SP(e)),n.map&&!n.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=oP({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:n,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:s,endedTimelineFn:function(){t.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(n){var r=n.message,i=n.level,a=n.stream;t.logger_(SP(e)+" logged from transmuxer stream "+a+" as a "+i+": "+r)}})},n.trimBackBuffer_=function(e){var t=function(e,t,n){var r=t-MC.BACK_BUFFER_LENGTH;e.length&&(r=Math.max(r,e.start(0)));var i=t-n;return Math.min(i,r)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)},n.createSimplifiedSegmentObj_=function(e){var t=e.segment,n=e.part,r={resolvedUri:n?n.resolvedUri:t.resolvedUri,byterange:n?n.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},i=e.playlist.segments[e.mediaIndex-1];if(i&&i.timeline===t.timeline&&(i.videoTimingInfo?r.baseStartTime=i.videoTimingInfo.transmuxedDecodeEnd:i.audioTimingInfo&&(r.baseStartTime=i.audioTimingInfo.transmuxedDecodeEnd)),t.key){var a=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);r.key=this.segmentKey(t.key),r.key.iv=a}return t.map&&(r.map=this.initSegmentForMap(t.map)),r},n.saveTransferStats_=function(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)},n.saveBandwidthRelatedStats_=function(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e<wP?this.logger_("Ignoring segment's bandwidth because its duration of "+e+" is less than the min to record "+wP):(this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime)},n.handleTimeout_=function(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")},n.segmentRequestFinished_=function(e,t,n){if(this.callQueue_.length)this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,t,n));else if(this.saveTransferStats_(t.stats),this.pendingSegment_&&t.requestId===this.pendingSegment_.requestId){if(e){if(this.pendingSegment_=null,this.state="READY",e.code===KC)return;return this.pause(),e.code===ZC?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error"))}var r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),r.endOfAllRequests=t.endOfAllRequests,n.gopInfo&&(this.gopBuffer_=function(e,t,n){if(!t.length)return e;if(n)return t.slice();for(var r=t[0].pts,i=0;i<e.length&&!(e[i].pts>=r);i++);return e.slice(0,i).concat(t)}(this.gopBuffer_,n.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(r)}},n.setTimeMapping_=function(e){var t=this.syncController_.mappingForTimeline(e);null!==t&&(this.timeMapping_=t)},n.updateMediaSecondsLoaded_=function(e){"number"===typeof e.start&&"number"===typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration},n.shouldUpdateTransmuxerTimestampOffset_=function(e){return null!==e&&("main"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())},n.trueSegmentStart_=function(e){var t=e.currentStart,n=e.playlist,r=e.mediaIndex,i=e.firstVideoFrameTimeForData,a=e.currentVideoTimestampOffset,s=e.useVideoTimingInfo,o=e.videoTimingInfo,l=e.audioTimingInfo;if("undefined"!==typeof t)return t;if(!s)return l.start;var u=n.segments[r-1];return 0!==r&&u&&"undefined"!==typeof u.start&&u.end===i+a?o.start:i},n.waitForAppendsToComplete_=function(e){var t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),void this.trigger("error");var n=t.hasAudio,r=t.hasVideo,i=t.isMuxed,a="main"===this.loaderType_&&r,s=!this.audioDisabled_&&n&&!i;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||"number"!==typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);a&&e.waitingOnAppends++,s&&e.waitingOnAppends++,a&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),s&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))},n.checkAppendsDone_=function(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())},n.checkForIllegalMediaSwitch=function(e){var t=function(e,t,n){return"main"===e&&t&&n?n.hasAudio||n.hasVideo?t.hasVideo&&!n.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&n.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null}(this.loaderType_,this.getCurrentMediaInfo_(),e);return!!t&&(this.error({message:t,blacklistDuration:1/0}),this.trigger("error"),!0)},n.updateSourceBufferTimestampOffset_=function(e){if(null!==e.timestampOffset&&"number"===typeof e.timingInfo.start&&!e.changedTimestampOffset&&"main"===this.loaderType_){var t=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger("timestampoffset")}},n.getSegmentStartTimeForTimestampOffsetCalculation_=function(e){var t=e.videoTimingInfo,n=e.audioTimingInfo,r=e.timingInfo;return this.useDtsForTimestampOffset_?t&&"number"===typeof t.transmuxedDecodeStart?t.transmuxedDecodeStart:n&&"number"===typeof n.transmuxedDecodeStart?n.transmuxedDecodeStart:r.start:r.start},n.updateTimingInfoEnd_=function(e){e.timingInfo=e.timingInfo||{};var t=this.getMediaInfo_(),n="main"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;n&&(e.timingInfo.end="number"===typeof n.end?n.end:n.start+e.duration)},n.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:"main"===this.loaderType_});var t=PP(e,this.sourceType_);if(t&&("warn"===t.severity?vk.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",!e.isSyncRequest||(this.trigger("syncinfoupdate"),e.hasAppendedData_)){this.logger_("Appended "+SP(e)),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");var n=e.segment,r=e.part,i=n.end&&this.currentTime_()-n.end>3*e.playlist.targetDuration,a=r&&r.end&&this.currentTime_()-r.end>3*e.playlist.partTargetDuration;if(i||a)return this.logger_("bad "+(i?"segment":"part")+" "+SP(e)),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}else this.logger_("Throwing away un-appended sync request "+SP(e))},n.recordThroughput_=function(e){if(e.duration<wP)this.logger_("Ignoring segment's throughput because its duration of "+e.duration+" is less than the min to record "+wP);else{var t=this.throughput.rate,n=Date.now()-e.endOfAllRequests+1,r=Math.floor(e.byteLength/n*8*1e3);this.throughput.rate+=(r-t)/++this.throughput.count}},n.addSegmentMetadataCue_=function(e){if(this.segmentMetadataTrack_){var t=e.segment,n=t.start,r=t.end;if(TP(n)&&TP(r)){xP(n,r,this.segmentMetadataTrack_);var i=Ly().WebKitDataCue||Ly().VTTCue,a={custom:t.custom,dateTimeObject:t.dateTimeObject,dateTimeString:t.dateTimeString,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:n,end:r},s=new i(n,r,JSON.stringify(a));s.value=a,this.segmentMetadataTrack_.addCue(s)}}},t}(vk.EventTarget);function IP(){}var OP,DP=function(e){return"string"!==typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))},MP=["video","audio"],NP=function(e,t){var n=t[e+"Buffer"];return n&&n.updating||t.queuePending[e]},RP=function e(t,n){if(0!==n.queue.length){var r=0,i=n.queue[r];if("mediaSource"!==i.type){if("mediaSource"!==t&&n.ready()&&"closed"!==n.mediaSource.readyState&&!NP(t,n)){if(i.type!==t){if(r=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];if("mediaSource"===r.type)return null;if(r.type===e)return n}return null}(t,n.queue),null===r)return;i=n.queue[r]}return n.queue.splice(r,1),n.queuePending[t]=i,i.action(t,n),i.doneFn?void 0:(n.queuePending[t]=null,void e(t,n))}}else n.updating()||"closed"===n.mediaSource.readyState||(n.queue.shift(),i.action(n),i.doneFn&&i.doneFn(),e("audio",n),e("video",n))}},LP=function(e,t){var n=t[e+"Buffer"],r=DP(e);n&&(n.removeEventListener("updateend",t["on"+r+"UpdateEnd_"]),n.removeEventListener("error",t["on"+r+"Error_"]),t.codecs[e]=null,t[e+"Buffer"]=null)},jP=function(e,t){return e&&t&&-1!==Array.prototype.indexOf.call(e.sourceBuffers,t)},FP=function(e,t,n){return function(r,i){var a=i[r+"Buffer"];if(jP(i.mediaSource,a)){i.logger_("Appending segment "+t.mediaIndex+"'s "+e.length+" bytes to "+r+"Buffer");try{a.appendBuffer(e)}catch(s){i.logger_("Error with code "+s.code+" "+(22===s.code?"(QUOTA_EXCEEDED_ERR) ":"")+"when appending segment "+t.mediaIndex+" to "+r+"Buffer"),i.queuePending[r]=null,n(s)}}}},BP=function(e,t){return function(n,r){var i=r[n+"Buffer"];if(jP(r.mediaSource,i)){r.logger_("Removing "+e+" to "+t+" from "+n+"Buffer");try{i.remove(e,t)}catch(a){r.logger_("Remove "+e+" to "+t+" from "+n+"Buffer failed")}}}},UP=function(e){return function(t,n){var r=n[t+"Buffer"];jP(n.mediaSource,r)&&(n.logger_("Setting "+t+"timestampOffset to "+e),r.timestampOffset=e)}},VP=function(e){return function(t,n){e()}},zP=function(e){return function(t){if("open"===t.mediaSource.readyState){t.logger_("Calling mediaSource endOfStream("+(e||"")+")");try{t.mediaSource.endOfStream(e)}catch(n){vk.log.warn("Failed to call media source endOfStream",n)}}}},GP=function(e){return function(t){t.logger_("Setting mediaSource duration to "+e);try{t.mediaSource.duration=e}catch(n){vk.log.warn("Failed to set media source duration",n)}}},HP=function(){return function(e,t){if("open"===t.mediaSource.readyState){var n=t[e+"Buffer"];if(jP(t.mediaSource,n)){t.logger_("calling abort on "+e+"Buffer");try{n.abort()}catch(r){vk.log.warn("Failed to abort on "+e+"Buffer",r)}}}}},WP=function(e,t){return function(n){var r=DP(e),i=g_(t);n.logger_("Adding "+e+"Buffer with codec "+t+" to mediaSource");var a=n.mediaSource.addSourceBuffer(i);a.addEventListener("updateend",n["on"+r+"UpdateEnd_"]),a.addEventListener("error",n["on"+r+"Error_"]),n.codecs[e]=t,n[e+"Buffer"]=a}},qP=function(e){return function(t){var n=t[e+"Buffer"];if(LP(e,t),jP(t.mediaSource,n)){t.logger_("Removing "+e+"Buffer with codec "+t.codecs[e]+" from mediaSource");try{t.mediaSource.removeSourceBuffer(n)}catch(r){vk.log.warn("Failed to removeSourceBuffer "+e+"Buffer",r)}}}},YP=function(e){return function(t,n){var r=n[t+"Buffer"],i=g_(e);jP(n.mediaSource,r)&&n.codecs[t]!==e&&(n.logger_("changing "+t+"Buffer codec from "+n.codecs[t]+" to "+e),r.changeType(i),n.codecs[t]=e)}},XP=function(e){var t=e.type,n=e.sourceUpdater,r=e.action,i=e.doneFn,a=e.name;n.queue.push({type:t,action:r,doneFn:i,name:a}),RP(t,n)},ZP=function(e,t){return function(n){if(t.queuePending[e]){var r=t.queuePending[e].doneFn;t.queuePending[e]=null,r&&r(t[e+"Error_"])}RP(e,t)}},KP=function(e){function t(t){var n;return(n=e.call(this)||this).mediaSource=t,n.sourceopenListener_=function(){return RP("mediaSource",E(n))},n.mediaSource.addEventListener("sourceopen",n.sourceopenListener_),n.logger_=Tk("SourceUpdater"),n.audioTimestampOffset_=0,n.videoTimestampOffset_=0,n.queue=[],n.queuePending={audio:null,video:null},n.delayedAudioAppendQueue_=[],n.videoAppendQueued_=!1,n.codecs={},n.onVideoUpdateEnd_=ZP("video",E(n)),n.onAudioUpdateEnd_=ZP("audio",E(n)),n.onVideoError_=function(e){n.videoError_=e},n.onAudioError_=function(e){n.audioError_=e},n.createdSourceBuffers_=!1,n.initializedEme_=!1,n.triggeredReady_=!1,n}(0,zy.Z)(t,e);var n=t.prototype;return n.initializedEme=function(){this.initializedEme_=!0,this.triggerReady()},n.hasCreatedSourceBuffers=function(){return this.createdSourceBuffers_},n.hasInitializedAnyEme=function(){return this.initializedEme_},n.ready=function(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()},n.createSourceBuffers=function(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())},n.triggerReady=function(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))},n.addSourceBuffer=function(e,t){XP({type:"mediaSource",sourceUpdater:this,action:WP(e,t),name:"addSourceBuffer"})},n.abort=function(e){XP({type:e,sourceUpdater:this,action:HP(e),name:"abort"})},n.removeSourceBuffer=function(e){this.canRemoveSourceBuffer()?XP({type:"mediaSource",sourceUpdater:this,action:qP(e),name:"removeSourceBuffer"}):vk.log.error("removeSourceBuffer is not supported!")},n.canRemoveSourceBuffer=function(){return!vk.browser.IE_VERSION&&!vk.browser.IS_FIREFOX&&Ly().MediaSource&&Ly().MediaSource.prototype&&"function"===typeof Ly().MediaSource.prototype.removeSourceBuffer},t.canChangeType=function(){return Ly().SourceBuffer&&Ly().SourceBuffer.prototype&&"function"===typeof Ly().SourceBuffer.prototype.changeType},n.canChangeType=function(){return this.constructor.canChangeType()},n.changeType=function(e,t){this.canChangeType()?XP({type:e,sourceUpdater:this,action:YP(t),name:"changeType"}):vk.log.error("changeType is not supported!")},n.addOrChangeSourceBuffers=function(e){var t=this;if(!e||"object"!==typeof e||0===Object.keys(e).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach((function(n){var r=e[n];if(!t.hasCreatedSourceBuffers())return t.addSourceBuffer(n,r);t.canChangeType()&&t.changeType(n,r)}))},n.appendBuffer=function(e,t){var n=this,r=e.segmentInfo,i=e.type,a=e.bytes;if(this.processedAppend_=!0,"audio"===i&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([e,t]),void this.logger_("delayed audio append of "+a.length+" until video append");if(XP({type:i,sourceUpdater:this,action:FP(a,r||{mediaIndex:-1},t),doneFn:t,name:"appendBuffer"}),"video"===i){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;var s=this.delayedAudioAppendQueue_.slice();this.logger_("queuing delayed audio "+s.length+" appendBuffers"),this.delayedAudioAppendQueue_.length=0,s.forEach((function(e){n.appendBuffer.apply(n,e)}))}},n.audioBuffered=function(){return jP(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:vk.createTimeRange()},n.videoBuffered=function(){return jP(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:vk.createTimeRange()},n.buffered=function(){var e=jP(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,t=jP(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return t&&!e?this.audioBuffered():e&&!t?this.videoBuffered():function(e,t){var n=null,r=null,i=0,a=[],s=[];if(!e||!e.length||!t||!t.length)return vk.createTimeRange();for(var o=e.length;o--;)a.push({time:e.start(o),type:"start"}),a.push({time:e.end(o),type:"end"});for(o=t.length;o--;)a.push({time:t.start(o),type:"start"}),a.push({time:t.end(o),type:"end"});for(a.sort((function(e,t){return e.time-t.time})),o=0;o<a.length;o++)"start"===a[o].type?2===++i&&(n=a[o].time):"end"===a[o].type&&1===--i&&(r=a[o].time),null!==n&&null!==r&&(s.push([n,r]),n=null,r=null);return vk.createTimeRanges(s)}(this.audioBuffered(),this.videoBuffered())},n.setDuration=function(e,t){void 0===t&&(t=IP),XP({type:"mediaSource",sourceUpdater:this,action:GP(e),name:"duration",doneFn:t})},n.endOfStream=function(e,t){void 0===e&&(e=null),void 0===t&&(t=IP),"string"!==typeof e&&(e=void 0),XP({type:"mediaSource",sourceUpdater:this,action:zP(e),name:"endOfStream",doneFn:t})},n.removeAudio=function(e,t,n){void 0===n&&(n=IP),this.audioBuffered().length&&0!==this.audioBuffered().end(0)?XP({type:"audio",sourceUpdater:this,action:BP(e,t),doneFn:n,name:"remove"}):n()},n.removeVideo=function(e,t,n){void 0===n&&(n=IP),this.videoBuffered().length&&0!==this.videoBuffered().end(0)?XP({type:"video",sourceUpdater:this,action:BP(e,t),doneFn:n,name:"remove"}):n()},n.updating=function(){return!(!NP("audio",this)&&!NP("video",this))},n.audioTimestampOffset=function(e){return"undefined"!==typeof e&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(XP({type:"audio",sourceUpdater:this,action:UP(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_},n.videoTimestampOffset=function(e){return"undefined"!==typeof e&&this.videoBuffer&&this.videoTimestampOffset!==e&&(XP({type:"video",sourceUpdater:this,action:UP(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_},n.audioQueueCallback=function(e){this.audioBuffer&&XP({type:"audio",sourceUpdater:this,action:VP(e),name:"callback"})},n.videoQueueCallback=function(e){this.videoBuffer&&XP({type:"video",sourceUpdater:this,action:VP(e),name:"callback"})},n.dispose=function(){var e=this;this.trigger("dispose"),MP.forEach((function(t){e.abort(t),e.canRemoveSourceBuffer()?e.removeSourceBuffer(t):e[t+"QueueCallback"]((function(){return LP(t,e)}))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()},t}(vk.EventTarget),QP=function(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))},$P=new Uint8Array("\n\n".split("").map((function(e){return e.charCodeAt(0)}))),JP=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).mediaSource_=null,r.subtitlesTrack_=null,r.loaderType_="subtitle",r.featuresNativeTextTracks_=t.featuresNativeTextTracks,r.shouldSaveSegmentTimingInfo_=!1,r}(0,zy.Z)(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return null},n.buffered_=function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return vk.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,n=e[e.length-1].startTime;return vk.createTimeRanges([[t,n]])},n.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=bC(e),r=this.initSegments_[n];if(t&&!r&&e.bytes){var i=$P.byteLength+e.bytes.byteLength,a=new Uint8Array(i);a.set(e.bytes),a.set($P,e.bytes.byteLength),this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:a}}return r||e},n.couldBeginLoading_=function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.track=function(e){return"undefined"===typeof e||(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_},n.remove=function(e,t){xP(e,t,this.subtitlesTrack_)},n.fillBuffer_=function(){var e=this,t=this.chooseNextRequest_();if(t){if(null===this.syncController_.timestampOffsetForTimeline(t.timeline)){return this.syncController_.one("timestampoffset",(function(){e.state="READY",e.paused()||e.monitorBuffer_()})),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(t)}},n.timestampOffsetForSegment_=function(){return null},n.chooseNextRequest_=function(){return this.skipEmptySegments_(e.prototype.chooseNextRequest_.call(this))},n.skipEmptySegments_=function(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e},n.stopForError=function(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")},n.segmentRequestFinished_=function(e,t,n){var r=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(e)return e.code===ZC&&this.handleTimeout_(),e.code===KC?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);var i=this.pendingSegment_;this.saveBandwidthRelatedStats_(i.duration,t.stats),t.key&&this.segmentKey(t.key,!0),this.state="APPENDING",this.trigger("appending");var a=i.segment;if(a.map&&(a.map.bytes=t.map.bytes),i.bytes=t.bytes,"function"!==typeof Ly().WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var s,o=function(){r.subtitlesTrack_.tech_.off("vttjsloaded",s),r.stopForError({message:"Error loading vtt.js"})};return s=function(){r.subtitlesTrack_.tech_.off("vttjserror",o),r.segmentRequestFinished_(e,t,n)},this.state="WAITING_ON_VTTJS",this.subtitlesTrack_.tech_.one("vttjsloaded",s),void this.subtitlesTrack_.tech_.one("vttjserror",o)}a.requested=!0;try{this.parseVTTCues_(i)}catch(l){return void this.stopForError({message:l.message})}if(this.updateTimeMapping_(i,this.syncController_.timelines[i.timeline],this.playlist_),i.cues.length?i.timingInfo={start:i.cues[0].startTime,end:i.cues[i.cues.length-1].endTime}:i.timingInfo={start:i.startOfSegment,end:i.startOfSegment+i.duration},i.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");i.byteLength=i.bytes.byteLength,this.mediaSecondsLoaded+=a.duration,i.cues.forEach((function(e){r.subtitlesTrack_.addCue(r.featuresNativeTextTracks_?new(Ly().VTTCue)(e.startTime,e.endTime,e.text):e)})),function(e){var t=e.cues;if(t)for(var n=0;n<t.length;n++){for(var r=[],i=0,a=0;a<t.length;a++)t[n].startTime===t[a].startTime&&t[n].endTime===t[a].endTime&&t[n].text===t[a].text&&++i>1&&r.push(t[a]);r.length&&r.forEach((function(t){return e.removeCue(t)}))}}(this.subtitlesTrack_),this.handleAppendsDone_()}else this.state="READY"},n.handleData_=function(){},n.updateTimingInfoEnd_=function(){},n.parseVTTCues_=function(e){var t,n=!1;"function"===typeof Ly().TextDecoder?t=new(Ly().TextDecoder)("utf8"):(t=Ly().WebVTT.StringDecoder(),n=!0);var r=new(Ly().WebVTT.Parser)(Ly(),Ly().vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},r.oncue=e.cues.push.bind(e.cues),r.ontimestampmap=function(t){e.timestampmap=t},r.onparsingerror=function(e){vk.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var i=e.segment.map.bytes;n&&(i=QP(i)),r.parse(i)}var a=e.bytes;n&&(a=QP(a)),r.parse(a),r.flush()},n.updateTimeMapping_=function(e,t,n){var r=e.segment;if(t)if(e.cues.length){var i=e.timestampmap,a=i.MPEGTS/tx.ONE_SECOND_IN_TS-i.LOCAL+t.mapping;if(e.cues.forEach((function(e){e.startTime+=a,e.endTime+=a})),!n.syncInfo){var s=e.cues[0].startTime,o=e.cues[e.cues.length-1].startTime;n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:Math.min(s,o-r.duration)}}}else r.empty=!0},t}(AP),eA=function(e,t){for(var n=e.cues,r=0;r<n.length;r++){var i=n[r];if(t>=i.adStartTime&&t<=i.adEndTime)return i}return null},tA=[{name:"VOD",run:function(e,t,n,r,i){if(n!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:function(e,t,n,r,i){if(!Object.keys(e.timelineToDatetimeMappings).length)return null;var a=null,s=null,o=Nk(t);i=i||0;for(var l=0;l<o.length;l++){var u=o[t.endList||0===i?l:o.length-(l+1)],c=u.segment,d=e.timelineToDatetimeMappings[c.timeline];if(d&&c.dateTimeObject){var h=c.dateTimeObject.getTime()/1e3+d;if(c.parts&&"number"===typeof u.partIndex)for(var f=0;f<u.partIndex;f++)h+=c.parts[f].duration;var p=Math.abs(i-h);if(null!==s&&(0===p||s<p))break;s=p,a={time:h,segmentIndex:u.segmentIndex,partIndex:u.partIndex}}}return a}},{name:"Segment",run:function(e,t,n,r,i){var a=null,s=null;i=i||0;for(var o=Nk(t),l=0;l<o.length;l++){var u=o[t.endList||0===i?l:o.length-(l+1)],c=u.segment,d=u.part&&u.part.start||c&&c.start;if(c.timeline===r&&"undefined"!==typeof d){var h=Math.abs(i-d);if(null!==s&&s<h)break;(!a||null===s||s>=h)&&(s=h,a={time:d,segmentIndex:u.segmentIndex,partIndex:u.partIndex})}}return a}},{name:"Discontinuity",run:function(e,t,n,r,i){var a=null;if(i=i||0,t.discontinuityStarts&&t.discontinuityStarts.length)for(var s=null,o=0;o<t.discontinuityStarts.length;o++){var l=t.discontinuityStarts[o],u=t.discontinuitySequence+o+1,c=e.discontinuities[u];if(c){var d=Math.abs(i-c.time);if(null!==s&&s<d)break;(!a||null===s||s>=d)&&(s=d,a={time:c.time,segmentIndex:l,partIndex:null})}}return a}},{name:"Playlist",run:function(e,t,n,r,i){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}}],nA=function(e){function t(t){var n;return(n=e.call(this)||this).timelines=[],n.discontinuities=[],n.timelineToDatetimeMappings={},n.logger_=Tk("SyncController"),n}(0,zy.Z)(t,e);var n=t.prototype;return n.getSyncPoint=function(e,t,n,r){var i=this.runStrategies_(e,t,n,r);return i.length?this.selectSyncPoint_(i,{key:"time",value:r}):null},n.getExpiredTime=function(e,t){if(!e||!e.segments)return null;var n=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!n.length)return null;var r=this.selectSyncPoint_(n,{key:"segmentIndex",value:0});return r.segmentIndex>0&&(r.time*=-1),Math.abs(r.time+Uk({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:r.segmentIndex,endIndex:0}))},n.runStrategies_=function(e,t,n,r){for(var i=[],a=0;a<tA.length;a++){var s=tA[a],o=s.run(this,e,t,n,r);o&&(o.strategy=s.name,i.push({strategy:s.name,syncPoint:o}))}return i},n.selectSyncPoint_=function(e,t){for(var n=e[0].syncPoint,r=Math.abs(e[0].syncPoint[t.key]-t.value),i=e[0].strategy,a=1;a<e.length;a++){var s=Math.abs(e[a].syncPoint[t.key]-t.value);s<r&&(r=s,n=e[a].syncPoint,i=e[a].strategy)}return this.logger_("syncPoint for ["+t.key+": "+t.value+"] chosen with strategy ["+i+"]: [time:"+n.time+", segmentIndex:"+n.segmentIndex+("number"===typeof n.partIndex?",partIndex:"+n.partIndex:"")+"]"),n},n.saveExpiredSegmentInfo=function(e,t){var n=t.mediaSequence-e.mediaSequence;if(n>86400)vk.log.warn("Not saving expired segment info. Media sequence gap "+n+" is too large.");else for(var r=n-1;r>=0;r--){var i=e.segments[r];if(i&&"undefined"!==typeof i.start){t.syncInfo={mediaSequence:e.mediaSequence+r,time:i.start},this.logger_("playlist refresh sync: [time:"+t.syncInfo.time+", mediaSequence: "+t.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},n.setDateTimeMappingForStart=function(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){var t=e.segments[0],n=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-n}},n.saveSegmentTimingInfo=function(e){var t=e.segmentInfo,n=e.shouldSaveTimelineMapping,r=this.calculateSegmentTimeMapping_(t,t.timingInfo,n),i=t.segment;r&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:i.start}));var a=i.dateTimeObject;i.discontinuity&&n&&a&&(this.timelineToDatetimeMappings[i.timeline]=-a.getTime()/1e3)},n.timestampOffsetForTimeline=function(e){return"undefined"===typeof this.timelines[e]?null:this.timelines[e].time},n.mappingForTimeline=function(e){return"undefined"===typeof this.timelines[e]?null:this.timelines[e].mapping},n.calculateSegmentTimeMapping_=function(e,t,n){var r,i,a=e.segment,s=e.part,o=this.timelines[e.timeline];if("number"===typeof e.timestampOffset)o={time:e.startOfSegment,mapping:e.startOfSegment-t.start},n&&(this.timelines[e.timeline]=o,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+e.timeline+": [time: "+o.time+"] [mapping: "+o.mapping+"]")),r=e.startOfSegment,i=t.end+o.mapping;else{if(!o)return!1;r=t.start+o.mapping,i=t.end+o.mapping}return s&&(s.start=r,s.end=i),(!a.start||r<a.start)&&(a.start=r),a.end=i,!0},n.saveDiscontinuitySyncInfo_=function(e){var t=e.playlist,n=e.segment;if(n.discontinuity)this.discontinuities[n.timeline]={time:n.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(var r=0;r<t.discontinuityStarts.length;r++){var i=t.discontinuityStarts[r],a=t.discontinuitySequence+r+1,s=i-e.mediaIndex,o=Math.abs(s);if(!this.discontinuities[a]||this.discontinuities[a].accuracy>o){var l=void 0;l=s<0?n.start-Uk({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:i}):n.end+Uk({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:i}),this.discontinuities[a]={time:l,accuracy:o}}}},n.dispose=function(){this.trigger("dispose"),this.off()},t}(vk.EventTarget),rA=function(e){function t(){var t;return(t=e.call(this)||this).pendingTimelineChanges_={},t.lastTimelineChanges_={},t}(0,zy.Z)(t,e);var n=t.prototype;return n.clearPendingTimelineChange=function(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")},n.pendingTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"===typeof n&&"number"===typeof r&&(this.pendingTimelineChanges_[t]={type:t,from:n,to:r},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]},n.lastTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"===typeof n&&"number"===typeof r&&(this.lastTimelineChanges_[t]={type:t,from:n,to:r},delete this.pendingTimelineChanges_[t],this.trigger("timelinechange")),this.lastTimelineChanges_[t]},n.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},t}(vk.EventTarget),iA=LC(jC((function(){var e="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof __webpack_require__.g?__webpack_require__.g:"undefined"!==typeof self?self:{};function t(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}((void 0===t||null===t)&&n.path)}},n.exports),n.exports}var n=t((function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0})),r=t((function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),i=t((function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0})),a=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),a=t.length,s=0;s<a;++s)t[s].apply(this,i)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();var s,o=null,l=function(){function e(e){var t,n,r;o||(o=function(){var e,t,n,r,i,a,s,o,l=[[[],[],[],[],[]],[[],[],[],[],[]]],u=l[0],c=l[1],d=u[4],h=c[4],f=[],p=[];for(e=0;e<256;e++)p[(f[e]=e<<1^283*(e>>7))^e]=e;for(t=n=0;!d[t];t^=r||1,n=p[n]||1)for(a=(a=n^n<<1^n<<2^n<<3^n<<4)>>8^255&a^99,d[t]=a,h[a]=t,o=16843009*f[i=f[r=f[t]]]^65537*i^257*r^16843008*t,s=257*f[a]^16843008*a,e=0;e<4;e++)u[e][t]=s=s<<24^s>>>8,c[e][a]=o=o<<24^o>>>8;for(e=0;e<5;e++)u[e]=u[e].slice(0),c[e]=c[e].slice(0);return l}()),this._tables=[[o[0][0].slice(),o[0][1].slice(),o[0][2].slice(),o[0][3].slice(),o[0][4].slice()],[o[1][0].slice(),o[1][1].slice(),o[1][2].slice(),o[1][3].slice(),o[1][4].slice()]];var i=this._tables[0][4],a=this._tables[1],s=e.length,l=1;if(4!==s&&6!==s&&8!==s)throw new Error("Invalid aes key size");var u=e.slice(0),c=[];for(this._key=[u,c],t=s;t<4*s+28;t++)r=u[t-1],(t%s===0||8===s&&t%s===4)&&(r=i[r>>>24]<<24^i[r>>16&255]<<16^i[r>>8&255]<<8^i[255&r],t%s===0&&(r=r<<8^r>>>24^l<<24,l=l<<1^283*(l>>7))),u[t]=u[t-s]^r;for(n=0;t;n++,t--)r=u[3&n?t:t-4],c[n]=t<=4||n<4?r:a[0][i[r>>>24]]^a[1][i[r>>16&255]]^a[2][i[r>>8&255]]^a[3][i[255&r]]}return e.prototype.decrypt=function(e,t,n,r,i,a){var s,o,l,u,c=this._key[1],d=e^c[0],h=r^c[1],f=n^c[2],p=t^c[3],m=c.length/4-2,g=4,v=this._tables[1],y=v[0],_=v[1],b=v[2],x=v[3],T=v[4];for(u=0;u<m;u++)s=y[d>>>24]^_[h>>16&255]^b[f>>8&255]^x[255&p]^c[g],o=y[h>>>24]^_[f>>16&255]^b[p>>8&255]^x[255&d]^c[g+1],l=y[f>>>24]^_[p>>16&255]^b[d>>8&255]^x[255&h]^c[g+2],p=y[p>>>24]^_[d>>16&255]^b[h>>8&255]^x[255&f]^c[g+3],g+=4,d=s,h=o,f=l;for(u=0;u<4;u++)i[(3&-u)+a]=T[d>>>24]<<24^T[h>>16&255]<<16^T[f>>8&255]<<8^T[255&p]^c[g++],s=d,d=h,h=f,f=p,p=s},e}(),u=function(e){function t(){var t;return(t=e.call(this,a)||this).jobs=[],t.delay=1,t.timeout_=null,t}i(t,e);var n=t.prototype;return n.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},n.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(a),c=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},d=function(){function e(t,n,r,i){var a=e.STEP,s=new Int32Array(t.buffer),o=new Uint8Array(t.byteLength),l=0;for(this.asyncStream_=new u,this.asyncStream_.push(this.decryptChunk_(s.subarray(l,l+a),n,r,o)),l=a;l<s.length;l+=a)r=new Uint32Array([c(s[l-4]),c(s[l-3]),c(s[l-2]),c(s[l-1])]),this.asyncStream_.push(this.decryptChunk_(s.subarray(l,l+a),n,r,o));this.asyncStream_.push((function(){var e;i(null,(e=o).subarray(0,e.byteLength-e[e.byteLength-1]))}))}return e.prototype.decryptChunk_=function(e,t,n,r){return function(){var i=function(e,t,n){var r,i,a,s,o,u,d,h,f,p=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),m=new l(Array.prototype.slice.call(t)),g=new Uint8Array(e.byteLength),v=new Int32Array(g.buffer);for(r=n[0],i=n[1],a=n[2],s=n[3],f=0;f<p.length;f+=4)o=c(p[f]),u=c(p[f+1]),d=c(p[f+2]),h=c(p[f+3]),m.decrypt(o,u,d,h,v,f),v[f]=c(v[f]^r),v[f+1]=c(v[f+1]^i),v[f+2]=c(v[f+2]^a),v[f+3]=c(v[f+3]^s),r=o,i=u,a=d,s=h;return g}(e,t,n);r.set(i,e.byteOffset)}},n(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}();s="undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{};var h=s.BigInt||Number;h("0x1"),h("0x100"),h("0x10000"),h("0x1000000"),h("0x100000000"),h("0x10000000000"),h("0x1000000000000"),h("0x100000000000000"),h("0x10000000000000000");var f=function(e){var t={};return Object.keys(e).forEach((function(n){var r,i=e[n];r=i,("function"===ArrayBuffer.isView?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer)?t[n]={bytes:i.buffer,byteOffset:i.byteOffset,byteLength:i.byteLength}:t[n]=i})),t};self.onmessage=function(e){var t=e.data,n=new Uint8Array(t.encrypted.bytes,t.encrypted.byteOffset,t.encrypted.byteLength),r=new Uint32Array(t.key.bytes,t.key.byteOffset,t.key.byteLength/4),i=new Uint32Array(t.iv.bytes,t.iv.byteOffset,t.iv.byteLength/4);new d(n,r,i,(function(e,n){self.postMessage(f({source:t.source,decrypted:n}),[n.buffer])}))}}))),aA=RC(iA),sA=function(e){var t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},oA=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},lA=function(e,t){t.activePlaylistLoader=e,e.load()},uA={AUDIO:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e],i=t.blacklistCurrentPlaylist;oA(n,r);var a=r.activeTrack(),s=r.activeGroup(),o=(s.filter((function(e){return e.default}))[0]||s[0]).id,l=r.tracks[o];if(a!==l){for(var u in vk.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),r.tracks)r.tracks[u].enabled=r.tracks[u]===l;r.onTrackChanged()}else i({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e];vk.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),oA(n,r);var i=r.activeTrack();i&&(i.mode="disabled"),r.onTrackChanged()}}},cA={AUDIO:function(e,t,n){if(t){var r=n.tech,i=n.requestOptions,a=n.segmentLoaders[e];t.on("loadedmetadata",(function(){var e=t.media();a.playlist(e,i),(!r.paused()||e.endList&&"none"!==r.preload())&&a.load()})),t.on("loadedplaylist",(function(){a.playlist(t.media(),i),r.paused()||a.load()})),t.on("error",uA[e](e,n))}},SUBTITLES:function(e,t,n){var r=n.tech,i=n.requestOptions,a=n.segmentLoaders[e],s=n.mediaTypes[e];t.on("loadedmetadata",(function(){var e=t.media();a.playlist(e,i),a.track(s.activeTrack()),(!r.paused()||e.endList&&"none"!==r.preload())&&a.load()})),t.on("loadedplaylist",(function(){a.playlist(t.media(),i),r.paused()||a.load()})),t.on("error",uA[e](e,n))}},dA={AUDIO:function(e,t){var n=t.vhs,r=t.sourceType,i=t.segmentLoaders[e],a=t.requestOptions,s=t.master.mediaGroups,o=t.mediaTypes[e],l=o.groups,u=o.tracks,c=o.logger_,d=t.masterPlaylistLoader,h=Zk(d.master);for(var f in s[e]&&0!==Object.keys(s[e]).length||(s[e]={main:{default:{default:!0}}},h&&(s[e].main.default.playlists=d.master.playlists)),s[e])for(var p in l[f]||(l[f]=[]),s[e][f]){var m=s[e][f][p],g=void 0;if(h?(c("AUDIO group '"+f+"' label '"+p+"' is a master playlist"),m.isMasterPlaylist=!0,g=null):g="vhs-json"===r&&m.playlists?new cC(m.playlists[0],n,a):m.resolvedUri?new cC(m.resolvedUri,n,a):m.playlists&&"dash"===r?new DC(m.playlists[0],n,a,d):null,m=vk.mergeOptions({id:p,playlistLoader:g},m),cA[e](e,m.playlistLoader,t),l[f].push(m),"undefined"===typeof u[p]){var v=new vk.AudioTrack({id:p,kind:sA(m),enabled:!1,language:m.language,default:m.default,label:p});u[p]=v}}i.on("error",uA[e](e,t))},SUBTITLES:function(e,t){var n=t.tech,r=t.vhs,i=t.sourceType,a=t.segmentLoaders[e],s=t.requestOptions,o=t.master.mediaGroups,l=t.mediaTypes[e],u=l.groups,c=l.tracks,d=t.masterPlaylistLoader;for(var h in o[e])for(var f in u[h]||(u[h]=[]),o[e][h])if(!o[e][h][f].forced){var p=o[e][h][f],m=void 0;if("hls"===i)m=new cC(p.resolvedUri,r,s);else if("dash"===i){if(!p.playlists.filter((function(e){return e.excludeUntil!==1/0})).length)return;m=new DC(p.playlists[0],r,s,d)}else"vhs-json"===i&&(m=new cC(p.playlists?p.playlists[0]:p.resolvedUri,r,s));if(p=vk.mergeOptions({id:f,playlistLoader:m},p),cA[e](e,p.playlistLoader,t),u[h].push(p),"undefined"===typeof c[f]){var g=n.addRemoteTextTrack({id:f,kind:"subtitles",default:p.default&&p.autoselect,language:p.language,label:f},!1).track;c[f]=g}}a.on("error",uA[e](e,t))},"CLOSED-CAPTIONS":function(e,t){var n=t.tech,r=t.master.mediaGroups,i=t.mediaTypes[e],a=i.groups,s=i.tracks;for(var o in r[e])for(var l in a[o]||(a[o]=[]),r[e][o]){var u=r[e][o][l];if(/^(?:CC|SERVICE)/.test(u.instreamId)){var c=n.options_.vhs&&n.options_.vhs.captionServices||{},d={label:l,language:u.language,instreamId:u.instreamId,default:u.default&&u.autoselect};if(c[d.instreamId]&&(d=vk.mergeOptions(d,c[d.instreamId])),void 0===d.default&&delete d.default,a[o].push(vk.mergeOptions({id:l},u)),"undefined"===typeof s[l]){var h=n.addRemoteTextTrack({id:d.instreamId,kind:"captions",default:d.default,language:d.language,label:d.label},!1).track;s[l]=h}}}}},hA=function e(t,n){for(var r=0;r<t.length;r++){if(Yk(n,t[r]))return!0;if(t[r].playlists&&e(t[r].playlists,n))return!0}return!1},fA={AUDIO:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if(n[r].enabled)return n[r];return null}},SUBTITLES:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if("showing"===n[r].mode||"hidden"===n[r].mode)return n[r];return null}}},pA=function(e){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){dA[t](t,e)}));var t=e.mediaTypes,n=e.masterPlaylistLoader,r=e.tech,i=e.vhs,a=e.segmentLoaders,s=a.AUDIO,o=a.main;["AUDIO","SUBTITLES"].forEach((function(n){t[n].activeGroup=function(e,t){return function(n){var r=t.masterPlaylistLoader,i=t.mediaTypes[e].groups,a=r.media();if(!a)return null;var s=null;a.attributes[e]&&(s=i[a.attributes[e]]);var o=Object.keys(i);if(!s)if("AUDIO"===e&&o.length>1&&Zk(t.master))for(var l=0;l<o.length;l++){var u=i[o[l]];if(hA(u,a)){s=u;break}}else i.main?s=i.main:1===o.length&&(s=i[o[0]]);return"undefined"===typeof n?s:null!==n&&s&&s.filter((function(e){return e.id===n.id}))[0]||null}}(n,e),t[n].activeTrack=fA[n](n,e),t[n].onGroupChanged=function(e,t){return function(){var n=t.segmentLoaders,r=n[e],i=n.main,a=t.mediaTypes[e],s=a.activeTrack(),o=a.getActiveGroup(),l=a.activePlaylistLoader,u=a.lastGroup_;o&&u&&o.id===u.id||(a.lastGroup_=o,a.lastTrack_=s,oA(r,a),o&&!o.isMasterPlaylist&&(o.playlistLoader?(r.resyncLoader(),lA(o.playlistLoader,a)):l&&i.resetEverything()))}}(n,e),t[n].onGroupChanging=function(e,t){return function(){var n=t.segmentLoaders[e];t.mediaTypes[e].lastGroup_=null,n.abort(),n.pause()}}(n,e),t[n].onTrackChanged=function(e,t){return function(){var n=t.masterPlaylistLoader,r=t.segmentLoaders,i=r[e],a=r.main,s=t.mediaTypes[e],o=s.activeTrack(),l=s.getActiveGroup(),u=s.activePlaylistLoader,c=s.lastTrack_;if((!c||!o||c.id!==o.id)&&(s.lastGroup_=l,s.lastTrack_=o,oA(i,s),l)){if(l.isMasterPlaylist){if(!o||!c||o.id===c.id)return;var d=t.vhs.masterPlaylistController_,h=d.selectPlaylist();if(d.media()===h)return;return s.logger_("track change. Switching master audio from "+c.id+" to "+o.id),n.pause(),a.resetEverything(),void d.fastQualityChange_(h)}if("AUDIO"===e){if(!l.playlistLoader)return a.setAudio(!0),void a.resetEverything();i.setAudio(!0),a.setAudio(!1)}u!==l.playlistLoader?(i.track&&i.track(o),i.resetEverything(),lA(l.playlistLoader,s)):lA(l.playlistLoader,s)}}}(n,e),t[n].getActiveGroup=function(e,t){var n=t.mediaTypes;return function(){var t=n[e].activeTrack();return t?n[e].activeGroup(t):null}}(n,e)}));var l=t.AUDIO.activeGroup();if(l){var u=(l.filter((function(e){return e.default}))[0]||l[0]).id;t.AUDIO.tracks[u].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(o.setAudio(!1),s.setAudio(!0)):o.setAudio(!0)}n.on("mediachange",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanged()}))})),n.on("mediachanging",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanging()}))}));var c=function(){t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"vhs-audio-change"}),r.trigger({type:"usage",name:"hls-audio-change"})};for(var d in r.audioTracks().addEventListener("change",c),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),i.on("dispose",(function(){r.audioTracks().removeEventListener("change",c),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)})),r.clearTracks("audio"),t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[d])},mA=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],gA=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]},vA=function(e){function t(t){var n;n=e.call(this)||this;var r=t.src,i=t.handleManifestRedirects,a=t.withCredentials,s=t.tech,o=t.bandwidth,l=t.externVhs,u=t.useCueTags,c=t.blacklistDuration,d=t.enableLowInitialPlaylist,h=t.sourceType,f=t.cacheEncryptionKeys,p=t.experimentalBufferBasedABR,m=t.experimentalLeastPixelDiffSelector,g=t.captionServices;if(!r)throw new Error("A non-empty playlist URL or JSON manifest string is required");var v=t.maxPlaylistRetries;null!==v&&"undefined"!==typeof v||(v=1/0),OP=l,n.experimentalBufferBasedABR=Boolean(p),n.experimentalLeastPixelDiffSelector=Boolean(m),n.withCredentials=a,n.tech_=s,n.vhs_=s.vhs,n.sourceType_=h,n.useCueTags_=u,n.blacklistDuration=c,n.maxPlaylistRetries=v,n.enableLowInitialPlaylist=d,n.useCueTags_&&(n.cueTagsTrack_=n.tech_.addTextTrack("metadata","ad-cues"),n.cueTagsTrack_.inBandMetadataTrackDispatchType=""),n.requestOptions_={withCredentials:a,handleManifestRedirects:i,maxPlaylistRetries:v,timeout:null},n.on("error",n.pauseLoading),n.mediaTypes_=function(){var e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:IP,activeTrack:IP,getActiveGroup:IP,onGroupChanged:IP,onTrackChanged:IP,lastTrack_:null,logger_:Tk("MediaGroups["+t+"]")}})),e}(),n.mediaSource=new(Ly().MediaSource),n.handleDurationChange_=n.handleDurationChange_.bind(E(n)),n.handleSourceOpen_=n.handleSourceOpen_.bind(E(n)),n.handleSourceEnded_=n.handleSourceEnded_.bind(E(n)),n.mediaSource.addEventListener("durationchange",n.handleDurationChange_),n.mediaSource.addEventListener("sourceopen",n.handleSourceOpen_),n.mediaSource.addEventListener("sourceended",n.handleSourceEnded_),n.seekable_=vk.createTimeRanges(),n.hasPlayed_=!1,n.syncController_=new nA(t),n.segmentMetadataTrack_=s.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,n.decrypter_=new aA,n.sourceUpdater_=new KP(n.mediaSource),n.inbandTextTracks_={},n.timelineChangeController_=new rA;var y={vhs:n.vhs_,parse708captions:t.parse708captions,useDtsForTimestampOffset:t.useDtsForTimestampOffset,captionServices:g,mediaSource:n.mediaSource,currentTime:n.tech_.currentTime.bind(n.tech_),seekable:function(){return n.seekable()},seeking:function(){return n.tech_.seeking()},duration:function(){return n.duration()},hasPlayed:function(){return n.hasPlayed_},goalBufferLength:function(){return n.goalBufferLength()},bandwidth:o,syncController:n.syncController_,decrypter:n.decrypter_,sourceType:n.sourceType_,inbandTextTracks:n.inbandTextTracks_,cacheEncryptionKeys:f,sourceUpdater:n.sourceUpdater_,timelineChangeController:n.timelineChangeController_,experimentalExactManifestTimings:t.experimentalExactManifestTimings};n.masterPlaylistLoader_="dash"===n.sourceType_?new DC(r,n.vhs_,n.requestOptions_):new cC(r,n.vhs_,n.requestOptions_),n.setupMasterPlaylistLoaderListeners_(),n.mainSegmentLoader_=new AP(vk.mergeOptions(y,{segmentMetadataTrack:n.segmentMetadataTrack_,loaderType:"main"}),t),n.audioSegmentLoader_=new AP(vk.mergeOptions(y,{loaderType:"audio"}),t),n.subtitleSegmentLoader_=new JP(vk.mergeOptions(y,{loaderType:"vtt",featuresNativeTextTracks:n.tech_.featuresNativeTextTracks}),t),n.setupSegmentLoaderListeners_(),n.experimentalBufferBasedABR&&(n.masterPlaylistLoader_.one("loadedplaylist",(function(){return n.startABRTimer_()})),n.tech_.on("pause",(function(){return n.stopABRTimer_()})),n.tech_.on("play",(function(){return n.startABRTimer_()}))),mA.forEach((function(e){n[e+"_"]=gA.bind(E(n),e)})),n.logger_=Tk("MPC"),n.triggeredFmp4Usage=!1,"none"===n.tech_.preload()?(n.loadOnPlay_=function(){n.loadOnPlay_=null,n.masterPlaylistLoader_.load()},n.tech_.one("play",n.loadOnPlay_)):n.masterPlaylistLoader_.load(),n.timeToLoadedData__=-1,n.mainAppendsToLoadedData__=-1,n.audioAppendsToLoadedData__=-1;var _="none"===n.tech_.preload()?"play":"loadstart";return n.tech_.one(_,(function(){var e=Date.now();n.tech_.one("loadeddata",(function(){n.timeToLoadedData__=Date.now()-e,n.mainAppendsToLoadedData__=n.mainSegmentLoader_.mediaAppends,n.audioAppendsToLoadedData__=n.audioSegmentLoader_.mediaAppends}))})),n}(0,zy.Z)(t,e);var n=t.prototype;return n.mainAppendsToLoadedData_=function(){return this.mainAppendsToLoadedData__},n.audioAppendsToLoadedData_=function(){return this.audioAppendsToLoadedData__},n.appendsToLoadedData_=function(){var e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return-1===e||-1===t?-1:e+t},n.timeToLoadedData_=function(){return this.timeToLoadedData__},n.checkABR_=function(e){void 0===e&&(e="abr");var t=this.selectPlaylist();t&&this.shouldSwitchToMedia_(t)&&this.switchMedia_(t,e)},n.switchMedia_=function(e,t,n){var r=this.media(),i=r&&(r.id||r.uri),a=e.id||e.uri;i&&i!==a&&(this.logger_("switch media "+i+" -> "+a+" from "+t),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+t})),this.masterPlaylistLoader_.media(e,n)},n.startABRTimer_=function(){var e=this;this.stopABRTimer_(),this.abrTimer_=Ly().setInterval((function(){return e.checkABR_()}),250)},n.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(Ly().clearInterval(this.abrTimer_),this.abrTimer_=null)},n.getAudioTrackPlaylists_=function(){var e=this.master(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;var n,r=e.mediaGroups.AUDIO,i=Object.keys(r);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)n=this.mediaTypes_.AUDIO.activeTrack();else{var a=r.main||i.length&&r[i[0]];for(var s in a)if(a[s].default){n={label:s};break}}if(!n)return t;var o=[];for(var l in r)if(r[l][n.label]){var u=r[l][n.label];if(u.playlists&&u.playlists.length)o.push.apply(o,u.playlists);else if(u.uri)o.push(u);else if(e.playlists.length)for(var c=0;c<e.playlists.length;c++){var d=e.playlists[c];d.attributes&&d.attributes.AUDIO&&d.attributes.AUDIO===l&&o.push(d)}}return o.length?o:t},n.setupMasterPlaylistLoaderListeners_=function(){var e=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;qk(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,t.endList&&"none"!==e.tech_.preload()&&(e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load()),pA({sourceType:e.sourceType_,segmentLoaders:{AUDIO:e.audioSegmentLoader_,SUBTITLES:e.subtitleSegmentLoader_,main:e.mainSegmentLoader_},tech:e.tech_,requestOptions:e.requestOptions_,masterPlaylistLoader:e.masterPlaylistLoader_,vhs:e.vhs_,master:e.master(),mediaTypes:e.mediaTypes_,blacklistCurrentPlaylist:e.blacklistCurrentPlaylist.bind(e)}),e.triggerPresenceUsage_(e.master(),t),e.setupFirstPlay(),!e.mediaTypes_.AUDIO.activePlaylistLoader||e.mediaTypes_.AUDIO.activePlaylistLoader.media()?e.trigger("selectedinitialmedia"):e.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(function(){e.trigger("selectedinitialmedia")}))})),this.masterPlaylistLoader_.on("loadedplaylist",(function(){e.loadOnPlay_&&e.tech_.off("play",e.loadOnPlay_);var t=e.masterPlaylistLoader_.media();if(!t){var n;if(e.excludeUnsupportedVariants_(),e.enableLowInitialPlaylist&&(n=e.selectInitialPlaylist()),n||(n=e.selectPlaylist()),!n||!e.shouldSwitchToMedia_(n))return;if(e.initialMedia_=n,e.switchMedia_(e.initialMedia_,"initial"),!("vhs-json"===e.sourceType_&&e.initialMedia_.segments))return;t=e.initialMedia_}e.handleUpdatedMediaPlaylist(t)})),this.masterPlaylistLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.masterPlaylistLoader_.error)})),this.masterPlaylistLoader_.on("mediachanging",(function(){e.mainSegmentLoader_.abort(),e.mainSegmentLoader_.pause()})),this.masterPlaylistLoader_.on("mediachange",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;qk(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,e.masterPlaylistLoader_.load(),e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load(),e.tech_.trigger({type:"mediachange",bubbles:!0})})),this.masterPlaylistLoader_.on("playlistunchanged",(function(){var t=e.masterPlaylistLoader_.media();"playlist-unchanged"!==t.lastExcludeReason_&&(e.stuckAtPlaylistEnd_(t)&&(e.blacklistCurrentPlaylist({message:"Playlist no longer updating.",reason:"playlist-unchanged"}),e.tech_.trigger("playliststuck")))})),this.masterPlaylistLoader_.on("renditiondisabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})})),this.masterPlaylistLoader_.on("renditionenabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})}))},n.handleUpdatedMediaPlaylist=function(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},n.triggerPresenceUsage_=function(e,t){var n=e.mediaGroups||{},r=!0,i=Object.keys(n.AUDIO);for(var a in n.AUDIO)for(var s in n.AUDIO[a]){n.AUDIO[a][s].uri||(r=!1)}r&&(this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),this.tech_.trigger({type:"usage",name:"hls-demuxed"})),Object.keys(n.SUBTITLES).length&&(this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),this.tech_.trigger({type:"usage",name:"hls-webvtt"})),OP.Playlist.isAes(t)&&(this.tech_.trigger({type:"usage",name:"vhs-aes"}),this.tech_.trigger({type:"usage",name:"hls-aes"})),i.length&&Object.keys(n.AUDIO[i[0]]).length>1&&(this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.tech_.trigger({type:"usage",name:"hls-alternate-audio"})),this.useCueTags_&&(this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"}),this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"}))},n.shouldSwitchToMedia_=function(e){var t=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,n=this.tech_.currentTime(),r=this.bufferLowWaterLine(),i=this.bufferHighWaterLine();return function(e){var t=e.currentPlaylist,n=e.buffered,r=e.currentTime,i=e.nextPlaylist,a=e.bufferLowWaterLine,s=e.bufferHighWaterLine,o=e.duration,l=e.experimentalBufferBasedABR,u=e.log;if(!i)return vk.log.warn("We received no playlist to switch to. Please check your stream."),!1;var c="allowing switch "+(t&&t.id||"null")+" -> "+i.id;if(!t)return u(c+" as current playlist is not set"),!0;if(i.id===t.id)return!1;var d=Boolean(kk(n,r).length);if(!t.endList)return d||"number"!==typeof t.partTargetDuration?(u(c+" as current playlist is live"),!0):(u("not "+c+" as current playlist is live llhls, but currentTime isn't in buffered."),!1);var h=Ok(n,r),f=l?MC.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:MC.MAX_BUFFER_LOW_WATER_LINE;if(o<f)return u(c+" as duration < max low water line ("+o+" < "+f+")"),!0;var p=i.attributes.BANDWIDTH,m=t.attributes.BANDWIDTH;if(p<m&&(!l||h<s)){var g=c+" as next bandwidth < current bandwidth ("+p+" < "+m+")";return l&&(g+=" and forwardBuffer < bufferHighWaterLine ("+h+" < "+s+")"),u(g),!0}if((!l||p>m)&&h>=a){var v=c+" as forwardBuffer >= bufferLowWaterLine ("+h+" >= "+a+")";return l&&(v+=" and next bandwidth > current bandwidth ("+p+" > "+m+")"),u(v),!0}return u("not "+c+" as no switching criteria met"),!1}({buffered:this.tech_.buffered(),currentTime:n,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:r,bufferHighWaterLine:i,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},n.setupSegmentLoaderListeners_=function(){var e=this;this.mainSegmentLoader_.on("bandwidthupdate",(function(){e.checkABR_("bandwidthupdate"),e.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("timeout",(function(){e.experimentalBufferBasedABR&&e.mainSegmentLoader_.load()})),this.experimentalBufferBasedABR||this.mainSegmentLoader_.on("progress",(function(){e.trigger("progress")})),this.mainSegmentLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.mainSegmentLoader_.error())})),this.mainSegmentLoader_.on("appenderror",(function(){e.error=e.mainSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){e.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),e.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(function(){e.error=e.audioSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("ended",(function(){e.logger_("main segment loader ended"),e.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(t){e.experimentalBufferBasedABR||(e.delegateLoaders_("all",["abort"]),e.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120))}));var t=function(){if(!e.sourceUpdater_.hasCreatedSourceBuffers())return e.tryToCreateSourceBuffers_();var t=e.getCodecsOrExclude_();t&&e.sourceUpdater_.addOrChangeSourceBuffers(t)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(function(){e.logger_("audioSegmentLoader ended"),e.onEndOfStream()}))},n.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},n.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},n.smoothQualityChange_=function(e){void 0===e&&(e=this.selectPlaylist()),this.fastQualityChange_(e)},n.fastQualityChange_=function(e){var t=this;void 0===e&&(e=this.selectPlaylist()),e!==this.masterPlaylistLoader_.media()?(this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything((function(){vk.browser.IE_VERSION||vk.browser.IS_EDGE?t.tech_.setCurrentTime(t.tech_.currentTime()+.04):t.tech_.setCurrentTime(t.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")},n.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0)?this.tech_.setCurrentTime(e.end(e.length-1)):void 0}},n.setupFirstPlay=function(){var e=this,t=this.masterPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList){var n=this.seekable();if(!n.length)return!1;if(vk.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(function(){e.trigger("firstplay"),e.tech_.setCurrentTime(n.end(0)),e.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(n.end(0))}return this.hasPlayed_=!0,this.load(),!0},n.handleSourceOpen_=function(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){var e=this.tech_.play();"undefined"!==typeof e&&"function"===typeof e.then&&e.then(null,(function(e){}))}this.trigger("sourceopen")},n.handleSourceEnded_=function(){if(this.inbandTextTracks_.metadataTrack_){var e=this.inbandTextTracks_.metadataTrack_.cues;if(e&&e.length){var t=this.duration();e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}}},n.handleDurationChange_=function(){this.tech_.trigger("durationchange")},n.onEndOfStream=function(){var e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){var t=this.mainSegmentLoader_.getCurrentMediaInfo_();e=!t||t.hasVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())},n.stuckAtPlaylistEnd_=function(e){if(!this.seekable().length)return!1;var t=this.syncController_.getExpiredTime(e,this.duration());if(null===t)return!1;var n=OP.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),i=this.tech_.buffered();if(!i.length)return n-r<=Sk;var a=i.end(i.length-1);return a-r<=Sk&&n-a<=Sk},n.blacklistCurrentPlaylist=function(e,t){void 0===e&&(e={});var n=e.playlist||this.masterPlaylistLoader_.media();if(t=t||e.blacklistDuration||this.blacklistDuration,!n)return this.error=e,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));n.playlistErrors_++;var r,i=this.masterPlaylistLoader_.master.playlists,a=i.filter(Hk),s=1===a.length&&a[0]===n;if(1===i.length&&t!==1/0)return vk.log.warn("Problem encountered with playlist "+n.id+". Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(s);if(s){var o=!1;i.forEach((function(e){if(e!==n){var t=e.excludeUntil;"undefined"!==typeof t&&t!==1/0&&(o=!0,delete e.excludeUntil)}})),o&&(vk.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}r=n.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*t,n.excludeUntil=r,e.reason&&(n.lastExcludeReason_=e.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var l=this.selectPlaylist();if(!l)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");var u=e.internal?this.logger_:vk.log.warn,c=e.message?" "+e.message:"";u((e.internal?"Internal problem":"Problem")+" encountered with playlist "+n.id+"."+c+" Switching to playlist "+l.id+"."),l.attributes.AUDIO!==n.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),l.attributes.SUBTITLES!==n.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var d=l.targetDuration/2*1e3||5e3,h="number"===typeof l.lastRequest&&Date.now()-l.lastRequest<=d;return this.switchMedia_(l,"exclude",s||h)},n.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},n.delegateLoaders_=function(e,t){var n=this,r=[],i="all"===e;(i||"main"===e)&&r.push(this.masterPlaylistLoader_);var a=[];(i||"audio"===e)&&a.push("AUDIO"),(i||"subtitle"===e)&&(a.push("CLOSED-CAPTIONS"),a.push("SUBTITLES")),a.forEach((function(e){var t=n.mediaTypes_[e]&&n.mediaTypes_[e].activePlaylistLoader;t&&r.push(t)})),["main","audio","subtitle"].forEach((function(t){var i=n[t+"SegmentLoader_"];!i||e!==t&&"all"!==e||r.push(i)})),r.forEach((function(e){return t.forEach((function(t){"function"===typeof e[t]&&e[t]()}))}))},n.setCurrentTime=function(e){var t=kk(this.tech_.buffered(),e);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0},n.duration=function(){if(!this.masterPlaylistLoader_)return 0;var e=this.masterPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:OP.Playlist.duration(e):1/0:0},n.seekable=function(){return this.seekable_},n.onSyncInfoUpdate_=function(){var e;if(this.masterPlaylistLoader_){var t=this.masterPlaylistLoader_.media();if(t){var n=this.syncController_.getExpiredTime(t,this.duration());if(null!==n){var r=this.masterPlaylistLoader_.master,i=OP.Playlist.seekable(t,n,OP.Playlist.liveEdgeDelay(r,t));if(0!==i.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(n=this.syncController_.getExpiredTime(t,this.duration())))return;if(0===(e=OP.Playlist.seekable(t,n,OP.Playlist.liveEdgeDelay(r,t))).length)return}var a,s;this.seekable_&&this.seekable_.length&&(a=this.seekable_.end(0),s=this.seekable_.start(0)),e?e.start(0)>i.end(0)||i.start(0)>e.end(0)?this.seekable_=i:this.seekable_=vk.createTimeRanges([[e.start(0)>i.start(0)?e.start(0):i.start(0),e.end(0)<i.end(0)?e.end(0):i.end(0)]]):this.seekable_=i,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===a&&this.seekable_.start(0)===s||(this.logger_("seekable updated ["+Pk(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}},n.updateDuration=function(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,e),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(e){var t=this.seekable();if(!t.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<t.end(t.length-1))&&this.sourceUpdater_.setDuration(t.end(t.length-1))}else{var n=this.tech_.buffered(),r=OP.Playlist.duration(this.masterPlaylistLoader_.media());n.length>0&&(r=Math.max(r,n.end(n.length-1))),this.mediaSource.duration!==r&&this.sourceUpdater_.setDuration(r)}},n.dispose=function(){var e=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((function(t){var n=e.mediaTypes_[t].groups;for(var r in n)n[r].forEach((function(e){e.playlistLoader&&e.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()},n.master=function(){return this.masterPlaylistLoader_.master},n.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},n.areMediaTypesKnown_=function(){var e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),n=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!t||!n)},n.getCodecsOrExclude_=function(){var e=this,t={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}};t.video=t.main;var n=hP(this.master(),this.media()),r={},i=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(r.video=n.video||t.main.videoCodec||"avc1.4d400d"),t.main.isMuxed&&(r.video+=","+(n.audio||t.main.audioCodec||__)),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||i)&&(r.audio=n.audio||t.main.audioCodec||t.audio.audioCodec||__,t.audio.isFmp4=t.main.hasAudio&&!t.main.isMuxed?t.main.isFmp4:t.audio.isFmp4),r.audio||r.video){var a,s={};if(["video","audio"].forEach((function(e){if(r.hasOwnProperty(e)&&(i=t[e].isFmp4,o=r[e],!(i?v_(o):y_(o)))){var n=t[e].isFmp4?"browser":"muxer";s[n]=s[n]||[],s[n].push(r[e]),"audio"===e&&(a=n)}var i,o})),i&&a&&this.media().attributes.AUDIO){var o=this.media().attributes.AUDIO;this.master().playlists.forEach((function(t){(t.attributes&&t.attributes.AUDIO)===o&&t!==e.media()&&(t.excludeUntil=1/0)})),this.logger_("excluding audio group "+o+" as "+a+' does not support codec(s): "'+r.audio+'"')}if(!Object.keys(s).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var l=[];if(["video","audio"].forEach((function(t){var n=(p_(e.sourceUpdater_.codecs[t]||"")[0]||{}).type,i=(p_(r[t]||"")[0]||{}).type;n&&i&&n.toLowerCase()!==i.toLowerCase()&&l.push('"'+e.sourceUpdater_.codecs[t]+'" -> "'+r[t]+'"')})),l.length)return void this.blacklistCurrentPlaylist({playlist:this.media(),message:"Codec switching not supported: "+l.join(", ")+".",blacklistDuration:1/0,internal:!0})}return r}var u=Object.keys(s).reduce((function(e,t){return e&&(e+=", "),e+=t+' does not support codec(s): "'+s[t].join(",")+'"'}),"")+".";this.blacklistCurrentPlaylist({playlist:this.media(),internal:!0,message:u,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:this.media(),message:"Could not determine codecs for playlist.",blacklistDuration:1/0})},n.tryToCreateSourceBuffers_=function(){if("open"===this.mediaSource.readyState&&!this.sourceUpdater_.hasCreatedSourceBuffers()&&this.areMediaTypesKnown_()){var e=this.getCodecsOrExclude_();if(e){this.sourceUpdater_.createSourceBuffers(e);var t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}}},n.excludeUnsupportedVariants_=function(){var e=this,t=this.master().playlists,n=[];Object.keys(t).forEach((function(r){var i=t[r];if(-1===n.indexOf(i.id)){n.push(i.id);var a=hP(e.master,i),s=[];!a.audio||y_(a.audio)||v_(a.audio)||s.push("audio codec "+a.audio),!a.video||y_(a.video)||v_(a.video)||s.push("video codec "+a.video),a.text&&"stpp.ttml.im1t"===a.text&&s.push("text codec "+a.text),s.length&&(i.excludeUntil=1/0,e.logger_("excluding "+i.id+" for unsupported: "+s.join(", ")))}}))},n.excludeIncompatibleVariants_=function(e){var t=this,n=[],r=this.master().playlists,i=cP(p_(e)),a=dP(i),s=i.video&&p_(i.video)[0]||null,o=i.audio&&p_(i.audio)[0]||null;Object.keys(r).forEach((function(e){var i=r[e];if(-1===n.indexOf(i.id)&&i.excludeUntil!==1/0){n.push(i.id);var l=[],u=hP(t.masterPlaylistLoader_.master,i),c=dP(u);if(u.audio||u.video){if(c!==a&&l.push('codec count "'+c+'" !== "'+a+'"'),!t.sourceUpdater_.canChangeType()){var d=u.video&&p_(u.video)[0]||null,h=u.audio&&p_(u.audio)[0]||null;d&&s&&d.type.toLowerCase()!==s.type.toLowerCase()&&l.push('video codec "'+d.type+'" !== "'+s.type+'"'),h&&o&&h.type.toLowerCase()!==o.type.toLowerCase()&&l.push('audio codec "'+h.type+'" !== "'+o.type+'"')}l.length&&(i.excludeUntil=1/0,t.logger_("blacklisting "+i.id+": "+l.join(" && ")))}}}))},n.updateAdCues_=function(e){var t=0,n=this.seekable();n.length&&(t=n.start(0)),function(e,t,n){if(void 0===n&&(n=0),e.segments)for(var r,i=n,a=0;a<e.segments.length;a++){var s=e.segments[a];if(r||(r=eA(t,i+s.duration/2)),r){if("cueIn"in s){r.endTime=i,r.adEndTime=i,i+=s.duration,r=null;continue}if(i<r.endTime){i+=s.duration;continue}r.endTime+=s.duration}else if("cueOut"in s&&((r=new(Ly().VTTCue)(i,i+s.duration,s.cueOut)).adStartTime=i,r.adEndTime=i+parseFloat(s.cueOut),t.addCue(r)),"cueOutCont"in s){var o=s.cueOutCont.split("/").map(parseFloat),l=o[0],u=o[1];(r=new(Ly().VTTCue)(i,i+s.duration,"")).adStartTime=i-l,r.adEndTime=r.adStartTime+u,t.addCue(r)}i+=s.duration}}(e,this.cueTagsTrack_,t)},n.goalBufferLength=function(){var e=this.tech_.currentTime(),t=MC.GOAL_BUFFER_LENGTH,n=MC.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,MC.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)},n.bufferLowWaterLine=function(){var e=this.tech_.currentTime(),t=MC.BUFFER_LOW_WATER_LINE,n=MC.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,MC.MAX_BUFFER_LOW_WATER_LINE),i=Math.max(t,MC.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,this.experimentalBufferBasedABR?i:r)},n.bufferHighWaterLine=function(){return MC.BUFFER_HIGH_WATER_LINE},t}(vk.EventTarget),yA=function(e,t,n){var r,i,a,s=e.masterPlaylistController_,o=s[(e.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(s);if(t.attributes){var l=t.attributes.RESOLUTION;this.width=l&&l.width,this.height=l&&l.height,this.bandwidth=t.attributes.BANDWIDTH,this.frameRate=t.attributes["FRAME-RATE"]}this.codecs=hP(s.master(),t),this.playlist=t,this.id=n,this.enabled=(r=e.playlists,i=t.id,a=o,function(e){var t=r.master.playlists[i],n=Gk(t),s=Hk(t);return"undefined"===typeof e?s:(e?delete t.disabled:t.disabled=!0,e===s||n||(a(),e?r.trigger("renditionenabled"):r.trigger("renditiondisabled")),e)})},_A=["seeking","seeked","pause","playing","error"],bA=function(){function e(e){var t=this;this.masterPlaylistController_=e.masterPlaylistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=Tk("PlaybackWatcher"),this.logger_("initialize");var n=function(){return t.monitorCurrentTime_()},r=function(){return t.monitorCurrentTime_()},i=function(){return t.techWaiting_()},a=function(){return t.cancelTimer_()},s=this.masterPlaylistController_,o=["main","subtitle","audio"],l={};o.forEach((function(e){l[e]={reset:function(){return t.resetSegmentDownloads_(e)},updateend:function(){return t.checkSegmentDownloads_(e)}},s[e+"SegmentLoader_"].on("appendsdone",l[e].updateend),s[e+"SegmentLoader_"].on("playlistupdate",l[e].reset),t.tech_.on(["seeked","seeking"],l[e].reset)}));var u=function(e){["main","audio"].forEach((function(n){s[n+"SegmentLoader_"][e]("appended",t.seekingAppendCheck_)}))};this.seekingAppendCheck_=function(){t.fixesBadSeeks_()&&(t.consecutiveUpdates=0,t.lastRecordedTime=t.tech_.currentTime(),u("off"))},this.clearSeekingAppendCheck_=function(){return u("off")},this.watchForBadSeeking_=function(){t.clearSeekingAppendCheck_(),u("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",i),this.tech_.on(_A,a),this.tech_.on("canplay",r),this.tech_.one("play",n),this.dispose=function(){t.clearSeekingAppendCheck_(),t.logger_("dispose"),t.tech_.off("waiting",i),t.tech_.off(_A,a),t.tech_.off("canplay",r),t.tech_.off("play",n),t.tech_.off("seeking",t.watchForBadSeeking_),t.tech_.off("seeked",t.clearSeekingAppendCheck_),o.forEach((function(e){s[e+"SegmentLoader_"].off("appendsdone",l[e].updateend),s[e+"SegmentLoader_"].off("playlistupdate",l[e].reset),t.tech_.off(["seeked","seeking"],l[e].reset)})),t.checkCurrentTimeTimeout_&&Ly().clearTimeout(t.checkCurrentTimeTimeout_),t.cancelTimer_()}}var t=e.prototype;return t.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&Ly().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=Ly().setTimeout(this.monitorCurrentTime_.bind(this),250)},t.resetSegmentDownloads_=function(e){var t=this.masterPlaylistController_[e+"SegmentLoader_"];this[e+"StalledDownloads_"]>0&&this.logger_("resetting possible stalled download count for "+e+" loader"),this[e+"StalledDownloads_"]=0,this[e+"Buffered_"]=t.buffered_()},t.checkSegmentDownloads_=function(e){var t=this.masterPlaylistController_,n=t[e+"SegmentLoader_"],r=n.buffered_(),i=function(e,t){if(e===t)return!1;if(!e&&t||!t&&e)return!0;if(e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e.start(n)!==t.start(n)||e.end(n)!==t.end(n))return!0;return!1}(this[e+"Buffered_"],r);this[e+"Buffered_"]=r,i?this.resetSegmentDownloads_(e):(this[e+"StalledDownloads_"]++,this.logger_("found #"+this[e+"StalledDownloads_"]+" "+e+" appends that did not increase buffer (possible stalled download)",{playlistId:n.playlist_&&n.playlist_.id,buffered:Ak(r)}),this[e+"StalledDownloads_"]<10||(this.logger_(e+" loader stalled download exclusion"),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:"vhs-"+e+"-download-exclusion"}),"subtitle"!==e&&t.blacklistCurrentPlaylist({message:"Excessive "+e+" segment downloading detected."},1/0)))},t.checkCurrentTime_=function(){if(!this.tech_.paused()&&!this.tech_.seeking()){var e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+Sk>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}},t.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},t.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var e,t=this.seekable(),n=this.tech_.currentTime();this.afterSeekableWindow_(t,n,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(e=t.end(t.length-1));if(this.beforeSeekableWindow_(t,n)){var r=t.start(0);e=r+(r===t.end(0)?0:Sk)}if("undefined"!==typeof e)return this.logger_("Trying to seek outside of seekable at time "+n+" with seekable range "+Pk(t)+". Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0;for(var i=this.masterPlaylistController_.sourceUpdater_,a=this.tech_.buffered(),s=i.audioBuffer?i.audioBuffered():null,o=i.videoBuffer?i.videoBuffered():null,l=this.media(),u=l.partTargetDuration?l.partTargetDuration:2*(l.targetDuration-wk),c=[s,o],d=0;d<c.length;d++){if(c[d])if(Ok(c[d],n)<u)return!1}var h=Ck(a,n);return 0!==h.length&&(e=h.start(0)+Sk,this.logger_("Buffered region starts ("+h.start(0)+")  just beyond seek point ("+n+"). Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0)},t.waiting_=function(){if(!this.techWaiting_()){var e=this.tech_.currentTime(),t=this.tech_.buffered(),n=kk(t,e);return n.length&&e+3<=n.end(0)?(this.cancelTimer_(),this.tech_.setCurrentTime(e),this.logger_("Stopped at "+e+" while inside a buffered region ["+n.start(0)+" -> "+n.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),void this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})):void 0}},t.techWaiting_=function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(e,t)){var n=e.end(e.length-1);return this.logger_("Fell out of live window at time "+t+". Seeking to live point (seekable end) "+n),this.cancelTimer_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var r=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,i=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:r.audioBuffered(),videoBuffered:r.videoBuffered(),currentTime:t}))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var a=Ck(i,t);if(a.length>0){var s=a.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+s+", seeking to "+a.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*s,t),!0}return!1},t.afterSeekableWindow_=function(e,t,n,r){if(void 0===r&&(r=!1),!e.length)return!1;var i=e.end(e.length-1)+Sk;return!n.endList&&r&&(i=e.end(e.length-1)+3*n.targetDuration),t>i},t.beforeSeekableWindow_=function(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-this.liveRangeSafeTimeDelta)},t.videoUnderflow_=function(e){var t=e.videoBuffered,n=e.audioBuffered,r=e.currentTime;if(t){var i;if(t.length&&n.length){var a=kk(t,r-3),s=kk(t,r),o=kk(n,r);o.length&&!s.length&&a.length&&(i={start:a.end(0),end:o.end(0)})}else{Ck(t,r).length||(i=this.gapFromVideoUnderflow_(t,r))}return!!i&&(this.logger_("Encountered a gap in video from "+i.start+" to "+i.end+". Seeking to current time "+r),!0)}},t.skipTheGap_=function(e){var t=this.tech_.buffered(),n=this.tech_.currentTime(),r=Ck(t,n);this.cancelTimer_(),0!==r.length&&n===e&&(this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",e,"nextRange start:",r.start(0)),this.tech_.setCurrentTime(r.start(0)+wk),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))},t.gapFromVideoUnderflow_=function(e,t){for(var n=function(e){if(e.length<2)return vk.createTimeRanges();for(var t=[],n=1;n<e.length;n++){var r=e.end(n-1),i=e.start(n);t.push([r,i])}return vk.createTimeRanges(t)}(e),r=0;r<n.length;r++){var i=n.start(r),a=n.end(r);if(t-i<4&&t-i>2)return{start:i,end:a}}return null},e}(),xA={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},TA=function e(t,n){var r=0,i=0,a=vk.mergeOptions(xA,n);t.ready((function(){t.trigger({type:"usage",name:"vhs-error-reload-initialized"}),t.trigger({type:"usage",name:"hls-error-reload-initialized"})}));var s=function(){i&&t.currentTime(i)},o=function(e){null!==e&&void 0!==e&&(i=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",s),t.src(e),t.trigger({type:"usage",name:"vhs-error-reload"}),t.trigger({type:"usage",name:"hls-error-reload"}),t.play())},l=function(){return Date.now()-r<1e3*a.errorInterval?(t.trigger({type:"usage",name:"vhs-error-reload-canceled"}),void t.trigger({type:"usage",name:"hls-error-reload-canceled"})):a.getSource&&"function"===typeof a.getSource?(r=Date.now(),a.getSource.call(t,o)):void vk.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")},u=function e(){t.off("loadedmetadata",s),t.off("error",l),t.off("dispose",e)};t.on("error",l),t.on("dispose",u),t.reloadSourceOnError=function(n){u(),e(t,n)}},wA="2.15.1",SA={PlaylistLoader:cC,Playlist:Kk,utils:wC,STANDARD_PLAYLIST_SELECTOR:_P,INITIAL_PLAYLIST_SELECTOR:function(){var e=this,t=this.playlists.master.playlists.filter(Kk.isEnabled);return gP(t,(function(e,t){return vP(e,t)})),t.filter((function(t){return!!hP(e.playlists.master,t).video}))[0]||null},lastBandwidthSelector:_P,movingAverageBandwidthSelector:function(e){var t=-1,n=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var r=this.useDevicePixelRatio&&Ly().devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,n=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==n&&(t=e*this.systemBandwidth+(1-e)*t,n=this.systemBandwidth),yP(this.playlists.master,t,parseInt(mP(this.tech_.el(),"width"),10)*r,parseInt(mP(this.tech_.el(),"height"),10)*r,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},comparePlaylistBandwidth:vP,comparePlaylistResolution:function(e,t){var n,r;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),n=n||Ly().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),n===(r=r||Ly().Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r},xhr:pC()};Object.keys(MC).forEach((function(e){Object.defineProperty(SA,e,{get:function(){return vk.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),MC[e]},set:function(t){vk.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),"number"!==typeof t||t<0?vk.log.warn("value of Vhs."+e+" must be greater than or equal to 0"):MC[e]=t}})}));var EA="videojs-vhs",kA=function(e,t){for(var n=t.media(),r=-1,i=0;i<e.length;i++)if(e[i].id===n.id){r=i;break}e.selectedIndex_=r,e.trigger({selectedIndex:r,type:"change"})};SA.canPlaySource=function(){return vk.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var CA=function(e){var t=e.player,n=e.sourceKeySystems,r=e.audioMedia,i=e.mainPlaylists;if(!t.eme.initializeMediaKeys)return Promise.resolve();var a=function(e,t){return e.reduce((function(e,n){if(!n.contentProtection)return e;var r=t.reduce((function(e,t){var r=n.contentProtection[t];return r&&r.pssh&&(e[t]={pssh:r.pssh}),e}),{});return Object.keys(r).length&&e.push(r),e}),[])}(r?i.concat([r]):i,Object.keys(n)),s=[],o=[];return a.forEach((function(e){o.push(new Promise((function(e,n){t.tech_.one("keysessioncreated",e)}))),s.push(new Promise((function(n,r){t.eme.initializeMediaKeys({keySystems:e},(function(e){e?r(e):n()}))})))})),Promise.race([Promise.all(s),Promise.race(o)])},PA=function(e){var t=e.player,n=function(e,t,n){if(!e)return e;var r={};t&&t.attributes&&t.attributes.CODECS&&(r=cP(p_(t.attributes.CODECS))),n&&n.attributes&&n.attributes.CODECS&&(r.audio=n.attributes.CODECS);var i=g_(r.video),a=g_(r.audio),s={};for(var o in e)s[o]={},a&&(s[o].audioContentType=a),i&&(s[o].videoContentType=i),t.contentProtection&&t.contentProtection[o]&&t.contentProtection[o].pssh&&(s[o].pssh=t.contentProtection[o].pssh),"string"===typeof e[o]&&(s[o].url=e[o]);return vk.mergeOptions(e,s)}(e.sourceKeySystems,e.media,e.audioMedia);return!!n&&(t.currentSource().keySystems=n,!(n&&!t.eme)||(vk.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1))},AA=function(){if(!Ly().localStorage)return null;var e=Ly().localStorage.getItem(EA);if(!e)return null;try{return JSON.parse(e)}catch(t){return null}};SA.supportsNativeHls=function(){if(!Fy()||!Fy().createElement)return!1;var e=Fy().createElement("video");if(!vk.getTech("Html5").isSupported())return!1;return["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(t){return/maybe|probably/i.test(e.canPlayType(t))}))}(),SA.supportsNativeDash=!!(Fy()&&Fy().createElement&&vk.getTech("Html5").isSupported())&&/maybe|probably/i.test(Fy().createElement("video").canPlayType("application/d
2ash+xml")),SA.supportsTypeNatively=function(e){return"hls"===e?SA.supportsNativeHls:"dash"===e&&SA.supportsNativeDash},SA.isSupported=function(){return vk.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var IA=function(e){function t(t,n,r){var i;if(i=e.call(this,n,vk.mergeOptions(r.hls,r.vhs))||this,r.hls&&Object.keys(r.hls).length&&vk.log.warn("Using hls options is deprecated. Please rename `hls` to `vhs` in your options object."),"number"===typeof r.initialBandwidth&&(i.options_.bandwidth=r.initialBandwidth),i.logger_=Tk("VhsHandler"),n.options_&&n.options_.playerId){var a=vk(n.options_.playerId);a.hasOwnProperty("hls")||Object.defineProperty(a,"hls",{get:function(){return vk.log.warn("player.hls is deprecated. Use player.tech().vhs instead."),n.trigger({type:"usage",name:"hls-player-access"}),E(i)},configurable:!0}),a.hasOwnProperty("vhs")||Object.defineProperty(a,"vhs",{get:function(){return vk.log.warn("player.vhs is deprecated. Use player.tech().vhs instead."),n.trigger({type:"usage",name:"vhs-player-access"}),E(i)},configurable:!0}),a.hasOwnProperty("dash")||Object.defineProperty(a,"dash",{get:function(){return vk.log.warn("player.dash is deprecated. Use player.tech().vhs instead."),E(i)},configurable:!0}),i.player_=a}if(i.tech_=n,i.source_=t,i.stats={},i.ignoreNextSeekingEvent_=!1,i.setOptions_(),i.options_.overrideNative&&n.overrideNativeAudioTracks&&n.overrideNativeVideoTracks)n.overrideNativeAudioTracks(!0),n.overrideNativeVideoTracks(!0);else if(i.options_.overrideNative&&(n.featuresNativeVideoTracks||n.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return i.on(Fy(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(function(e){var t=Fy().fullscreenElement||Fy().webkitFullscreenElement||Fy().mozFullScreenElement||Fy().msFullscreenElement;t&&t.contains(i.tech_.el())?i.masterPlaylistController_.fastQualityChange_():i.masterPlaylistController_.checkABR_()})),i.on(i.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),i.on(i.tech_,"error",(function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()})),i.on(i.tech_,"play",i.play),i}(0,zy.Z)(t,e);var n=t.prototype;return n.setOptions_=function(){var e=this;if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=!1!==this.options_.handleManifestRedirects,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.smoothQualityChange=this.options_.smoothQualityChange||!1,this.options_.useBandwidthFromLocalStorage="undefined"!==typeof this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,"number"!==typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),"number"!==typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){var t=AA();t&&t.bandwidth&&(this.options_.bandwidth=t.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-bandwidth-from-local-storage"})),t&&t.throughput&&(this.options_.throughput=t.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-throughput-from-local-storage"}))}"number"!==typeof this.options_.bandwidth&&(this.options_.bandwidth=MC.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===MC.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","experimentalBufferBasedABR","liveRangeSafeTimeDelta","experimentalLLHLS","useNetworkInformationApi","useDtsForTimestampOffset","experimentalExactManifestTimings","experimentalLeastPixelDiffSelector"].forEach((function(t){"undefined"!==typeof e.source_[t]&&(e.options_[t]=e.source_[t])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},n.src=function(e,t){var n=this;if(e){var r;this.setOptions_(),this.options_.src=0===(r=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(r.substring(r.indexOf(",")+1)):r,this.options_.tech=this.tech_,this.options_.externVhs=SA,this.options_.sourceType=T_(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.options_.smoothQualityChange&&vk.log.warn("smoothQualityChange is deprecated and will be removed in the next major version"),this.masterPlaylistController_=new vA(this.options_);var i=vk.mergeOptions({liveRangeSafeTimeDelta:Sk},this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_});this.playbackWatcher_=new bA(i),this.masterPlaylistController_.on("error",(function(){var e=vk.players[n.tech_.options_.playerId],t=n.masterPlaylistController_.error;"object"!==typeof t||t.code?"string"===typeof t&&(t={message:t,code:3}):t.code=3,e.error(t)}));
vendor: 10,402 bytes, line 2
2var a=this.options_.experimentalBufferBasedABR?SA.movingAverageBandwidthSelector(.55):SA.STANDARD_PLAYLIST_SELECTOR;this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):a.bind(this),this.masterPlaylistController_.selectInitialPlaylist=SA.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function(){return this.masterPlaylistController_.selectPlaylist},set:function(e){this.masterPlaylistController_.selectPlaylist=e.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=e,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){var e=this.masterPlaylistController_.mainSegmentLoader_.bandwidth,t=Ly().navigator.connection||Ly().navigator.mozConnection||Ly().navigator.webkitConnection,n=1e7;if(this.options_.useNetworkInformationApi&&t){var r=1e3*t.downlink*1e3;e=r>=n&&e>=n?Math.max(e,r):r}return e},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var e,t=1/(this.bandwidth||1);return e=this.throughput>0?1/this.throughput:0,Math.floor(1/(t+e))},set:function(){vk.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function(){return n.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return n.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return n.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return n.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return n.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return n.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return n.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return n.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return n.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return n.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return n.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return Ak(n.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return n.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return n.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return n.tech_.name_},enumerable:!0},duration:{get:function(){return n.tech_.duration()},enumerable:!0},master:{get:function(){return n.playlists.master},enumerable:!0},playerDimensions:{get:function(){return n.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return Ak(n.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return n.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",(function(){n.options_.useBandwidthFromLocalStorage&&function(e){if(!Ly().localStorage)return!1;var t=AA();t=t?vk.mergeOptions(t,e):e;try{Ly().localStorage.setItem(EA,JSON.stringify(t))}catch(n){return!1}}({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})})),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var e;(e=n).representations=function(){var t=e.masterPlaylistController_.master(),n=Zk(t)?e.masterPlaylistController_.getAudioTrackPlaylists_():t.playlists;return n?n.filter((function(e){return!Gk(e)})).map((function(t,n){return new yA(e,t,t.id)})):[]}})),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",(function(){n.setupEme_()})),this.on(this.masterPlaylistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.masterPlaylistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=Ly().URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}},n.createKeySessions_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),CA({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.master.playlists}).then((function(){e.logger_("created EME key session"),e.masterPlaylistController_.sourceUpdater_.initializedEme()})).catch((function(t){e.logger_("error while creating EME key session",t),e.player_.error({message:"Failed to initialize media keys for EME",code:3})}))},n.handleWaitingForKey_=function(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},n.setupEme_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,n=PA({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});this.player_.tech_.on("keystatuschange",(function(t){if("output-restricted"===t.status){var n=e.masterPlaylistController_.master();if(n&&n.playlists){var r,i=[];if(n.playlists.forEach((function(e){e&&e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height>=720&&(!e.excludeUntil||e.excludeUntil<1/0)&&(e.excludeUntil=1/0,i.push(e))})),i.length)(r=vk.log).warn.apply(r,['DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.'].concat(i)),e.masterPlaylistController_.fastQualityChange_()}}})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==vk.browser.IE_VERSION&&n?this.createKeySessions_():this.masterPlaylistController_.sourceUpdater_.initializedEme()},n.setupQualityLevels_=function(){var e=this,t=vk.players[this.tech_.options_.playerId];t&&t.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=t.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var t,n;t=e.qualityLevels_,(n=e).representations().forEach((function(e){t.addQualityLevel(e)})),kA(t,n.playlists)})),this.playlists.on("mediachange",(function(){kA(e.qualityLevels_,e.playlists)})))},t.version=function(){return{"@videojs/http-streaming":wA,"mux.js":"6.0.1","mpd-parser":"0.22.1","m3u8-parser":"4.8.0","aes-decrypter":"3.1.3"}},n.version=function(){return this.constructor.version()},n.canChangeType=function(){return KP.canChangeType()},n.play=function(){this.masterPlaylistController_.play()},n.setCurrentTime=function(e){this.masterPlaylistController_.setCurrentTime(e)},n.duration=function(){return this.masterPlaylistController_.duration()},n.seekable=function(){return this.masterPlaylistController_.seekable()},n.dispose=function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&Ly().URL.revokeObjectURL&&(Ly().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),e.prototype.dispose.call(this)},n.convertToProgramTime=function(e,t){return SC({playlist:this.masterPlaylistController_.media(),time:e,callback:t})},n.seekToProgramTime=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=2),EC({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})},t}(vk.getComponent("Component")),OA={name:"videojs-http-streaming",VERSION:wA,canHandleSource:function(e,t){void 0===t&&(t={});var n=vk.mergeOptions(vk.options,t);return OA.canPlayType(e.type,n)},handleSource:function(e,t,n){void 0===n&&(n={});var r=vk.mergeOptions(vk.options,n);return t.vhs=new IA(e,t,r),vk.hasOwnProperty("hls")||Object.defineProperty(t,"hls",{get:function(){return vk.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),t.vhs},configurable:!0}),t.vhs.xhr=pC(),t.vhs.src(e.src,e.type),t.vhs},canPlayType:function(e,t){void 0===t&&(t={});var n=vk.mergeOptions(vk.options,t),r=n.vhs,i=(r=void 0===r?{}:r).overrideNative,a=void 0===i?!vk.browser.IS_ANY_SAFARI:i,s=n.hls,o=(s=void 0===s?{}:s).overrideNative,l=void 0!==o&&o,u=T_(e);return u&&(!SA.supportsTypeNatively(u)||l||a)?"maybe":""}};(v_("avc1.4d400d,mp4a.40.2")&&vk.getTech("Html5").registerSourceHandler(OA,0),vk.VhsHandler=IA,Object.defineProperty(vk,"HlsHandler",{get:function(){return vk.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),IA},configurable:!0}),vk.VhsSourceHandler=OA,Object.defineProperty(vk,"HlsSourceHandler",{get:function(){return vk.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),OA},configurable:!0}),vk.Vhs=SA,Object.defineProperty(vk,"Hls",{get:function(){return vk.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),SA},configurable:!0}),vk.use||(vk.registerComponent("Hls",SA),vk.registerComponent("
2Vhs",SA)),vk.options.vhs=vk.options.vhs||{},vk.options.hls=vk.options.hls||{},vk.getPlugin&&vk.getPlugin("reloadSourceOnError"))||(vk.registerPlugin||vk.plugin)("reloadSourceOnError",(function(e){TA(this,e)}));var DA=vk,MA={controls:!0,fluid:!0,playsinline:!0,controlBar:{volumePanel:{inline:!1}}},NA=function(e){var t=e.options,r=(e.onReady,(0,a.useRef)(null)),i=(0,a.useRef)(null);return(0,a.useEffect)((function(){return r.current&&(i.current=DA(r.current,Bc(Bc({},MA),t)).ready((function(){}))),function(){i.current&&i.current.dispose()}}),[t]),(0,n.jsx)("video",{ref:r,className:"video-js"})},RA="WorkCardHome_projectCard__a0wAV",LA="WorkCardHome_cardTagWrapper__ozbDH",jA="WorkCardHome_imgContainer__lmS3w",FA="WorkCardHome_award__DBBQv",BA="WorkCardHome_projectImg__YN2qz",UA="WorkCardHome_projectVid__TZhjn",VA="WorkCardHome_cardTitle__7yUx2",zA="WorkCardHome_cardTag__DgoID",GA=function(e){var t=ed(),r=Lc();return(0,n.jsxs)("div",{className:RA,children:[(0,n.jsx)(We,Bc(Bc(Bc({to:"/works/".concat(e.url),className:jA},t.width>cd&&{onMouseEnter:function(){r.toggleText()}}),t.width>cd&&{onMouseLeave:function(){r.toggleText(),r.toggleDefault()}}),{},{children:"video"===e.mediaType?(0,n.jsx)("video",{className:UA,src:t.width>ld?e.mediaSrcDesktop:e.mediaSrcMobile,autoPlay:!0,playsInline:!0,loop:!0,muted:!0}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{className:BA,src:t.width>ld?e.mediaSrcDesktop:e.mediaSrcMobile,alt:"Project Visual"}),e.awardImage&&(0,n.jsx)("img",{className:FA,src:e.awardImage,alt:"Award Visual"})]})})),(0,n.jsx)("h3",{className:VA,children:e.title}),(0,n.jsx)("div",{className:LA,children:e.services.map((function(e,t){return(0,n.jsx)("small",{className:zA,children:e},t)}))})]})},HA="MarqueeSimple_marquee__xKK27",WA="MarqueeSimple_marqueeGroup__Uh8KD",qA="MarqueeSimple_animate__Q1CQe",YA="MarqueeSimple_reversed__WtoU6",XA="MarqueeSimple_mInner__iTrPv",ZA=function(e){var t,r,i=e.children,s=e.direction,o=void 0===s?1:s,l=e.speed,u=void 0===l?1:l,c=h((0,a.useState)(!0),2),d=c[0],f=(c[1],ed());return(0,n.jsxs)("div",{className:HA,children:[(0,n.jsxs)("div",{className:$e()(WA,(t={},Xe(t,qA,d),Xe(t,YA,1===o),t)),style:{animationDuration:"".concat((f.width>ld?60:20)/u,"s")},children:[(0,n.jsx)("div",{className:XA,children:i}),(0,n.jsx)("div",{className:XA,"aria-hidden":"true",children:i})]}),(0,n.jsxs)("div",{"aria-hidden":"true",className:$e()(WA,(r={},Xe(r,qA,d),Xe(r,YA,1===o),r)),style:{animationDuration:"".concat((f.width>ld?60:20)/u,"s")},children:[(0,n.jsx)("div",{className:XA,children:i}),(0,n.jsx)("div",{className:XA,"aria-hidden":"true",children:i})]})]})},KA=function(){var e=ed(),r=Td(),i=Id(),s=(0,a.useRef)(null),o=function(){var e=lh(sh().mark((function e(){var t;return sh().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Cg.get("/home/latestWorks.php");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l=(0,t.useQuery)(["projects"],o,{enabled:!0,retry:2}).data,u={autoplay:!0,loop:!1,muted:!1,controls:!0,responsive:!0,playsinline:!0,sources:[{src:"https://player.vimeo.com/progressive_redirect/playback/714020513/rendition/1080p/file.mp4?loc=external&signature=2bd17e7a1706fa74d450d209a071c8f41a9a81e14e9c5b2edab639634f69b780",type:"video/mp4"}]},c=function(){r.setContent((0,n.jsx)("div",{className:Kv,children:(0,n.jsx)(NA,{options:u})}
2)),r.toggle()};return(0,a.useEffect)((function(){s.current&&(r.open?s.current.pause():s.current.play())}),[r.open]),(0,a.useEffect)((function(){s.current&&(i.active?s.current.pause():s.current.play())}),[i.active]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("main",{className:Hv,children:[(0,n.jsxs)("section",{className:Xv,children:[(0,n.jsx)("div",{className:Jv,"data-parallax":!0,"data-speed-y":"0.7","data-direction-y":"-1",children:(0,n.jsx)("img",{src:Py,alt:"Blob",className:ey})}),(0,n.jsxs)("div",{className:ty,children:[(0,n.jsx)("h6",{className:$e()(sy,ny),children:"LOOK AHEAD"}),(0,n.jsxs)("h1",{className:ry,children:["THE",(0,n.jsx)("span",{className:iy,children:" future"})]}),(0,n.jsx)("h1",{className:$e()(ry,ay),children:"HAS ARRIVED."}),(0,n.jsx)("div",{className:oy,children:(0,n.jsx)("h6",{className:sy,children:"AWARDED BRANDING & WEB DESIGN AGENCY."})})]}),(0,n.jsxs)("div",Bc(Bc({className:Zv},e.width>ud&&{onClick:c}),{},{children:[(0,n.jsx)("video",{ref:s,className:ly,loop:!0,muted:!0,playsInline:!0,children:(0,n.jsx)("source",{src:"https://player.vimeo.com/progressive_redirect/playback/735759197/rendition/1080p/file.mp4?loc=external&signature=e30cfa5b1167a21b92162ecb0fb71a006e86aa05246f9052bad228a6baebbff3",type:"video/mp4"})}),e.width<cd&&(0,n.jsxs)("button",{className:Qv,onClick:function(){c()},children:[(0,n.jsx)("p",{className:uy,children:"PLAY SHOWREEL"}),(0,n.jsx)("div",{className:$v,children:(0,n.jsx)("img",{className:cy,src:Iy,alt:"Play Icon"})})]})]}))]}),(0,n.jsxs)("section",{className:Wv,children:[(0,n.jsx)("div",{className:dy,children:e.width<=cd?(0,n.jsx)(ZA,{children:(0,n.jsxs)("div",{className:hy,children:[(0,n.jsx)("span",{className:fy,children:"LATEST"}),(0,n.jsxs)("span",{className:fy,children:["W",(0,n.jsx)("span",{className:py,children:"O"}),"RKS."]})]})}):(0,n.jsx)(Ny,{direction:-1,children:(0,n.jsxs)("div",{className:hy,children:[(0,n.jsx)("span",{className:fy,children:"LATEST"}),(0,n.jsxs)("span",{className:fy,children:["W",(0,n.jsx)("span",{className:py,children:"O"}),"RKS."]})]})})}),(0,n.jsx)("div",{className:my,children:0!==(null===l||void 0===l?void 0:l.length)&&Array.isArray(l)&&(null===l||void 0===l?void 0:l.map((function(e,t){return(0,a.createElement)(GA,Bc(Bc({},e),{},{key:t}))})))}),(0,n.jsxs)("div",{className:gy,children:[(0,n.jsxs)("h1",{className:vy,children:["TAKE",(0,n.jsxs)("span",{className:yy,children:[(0,n.jsx)("span",{className:_y,children:"a"}),"l",(0,n.jsx)("span",{className:by,children:"oo"}),"k"]}),"AT"]}),(0,n.jsxs)("h1",{className:xy,children:["WHAT WE'VE D",(0,n.jsx)("span",{className:py,children:"O"}),"NE"]}),(0,n.jsx)("h1",{className:Ty,children:"SO FAR..."})]}),(0,n.jsxs)("div",{className:qv,children:[(0,n.jsxs)(We,{className:Yv,to:"/works",children:[(0,n.jsx)("button",{className:wy,children:(0,n.jsx)("p",{className:uy,children:" SEE ALL WORK"})}),(0,n.jsx)("div",{className:Sy})]}),(0,n.jsx)("div",{className:Cy,children:(0,n.jsx)("img",{className:cy,src:Oy,alt:"Arrow"})}),(0,n.jsx)("div",{className:Ey,children:(0,n.jsx)("img",{className:ky,src:Ay,alt:"Smiley Looking Sky","data-parallax":!0,"data-speed-y":"0.3","data-direction-y":"-1"})})]})]})]}),(0,n.jsx)(bv,{})]})},QA="WorkDetail_workDetail__rT8yH",$A="WorkDetail_marqueeContainer__FT1fj",JA="WorkDetail_mWrapper__oHH2B",eI="WorkDetail_spanWrapper__346n2",tI="WorkDetail_rightMargin__PSqx2",nI="WorkDetail_inlineO__Fj85J",rI="WorkDetail_otherCoolStuff__sCvLI";var iI=__webpack_require__.p+"static/media/other-cool-stuffs.66982c377fac4cba8d00dd2923883272.svg",aI="AsymmetricMediaContainer_asymmetricMediaContainer__cuynB",sI="AsymmetricMediaContainer_mediaWrapper__GSBcE",oI="AsymmetricMediaContainer_isLeft__ddb2h",lI="Img_figure__O+5-p",uI="Img_img__+0Id7",cI="Img_aspectRatio__ZCSxV",dI=__webpack_require__(1336),hI=__webpack_require__.n(dI);document.hasOwnProperty("lazyLoadInstance")||(document.lazyLoadInstance=new(hI())({elements_selector:".lazy"}));var fI=function(e){var t=e.src,r=void 0===t?"/":t,i=e.objectFit,s=void 0===i?"cover":i,o=e.objectPosition,l=void 0===o?"center":o,u=e.alt,c=void 0===u?"Commercial Media":u,d=e.lazy,h=void 0!==d&&d,f=e.width,p=void 0===f?500:f,m=e.height,g=void 0===m?500:m,v=e.bgColor,y=void 0===v?"transparent":v;return(0,a.useEffect)((function(){document.lazyLoadInstance.update(
2)})),(0,n.jsxs)("figure",{className:lI,style:{background:y},children:[(0,n.jsx)("div",{className:cI,style:{"--aspectRatio":"".concat(g/p*100,"%")}}),h?(0,n.jsx)("img",{"data-src":r,className:$e()(uI,"lazy"),style:{objectFit:s,objectPosition:l},alt:c}):(0,n.jsx)("img",{src:r,className:uI,style:{objectFit:s,objectPosition:l},alt:c})]})},pI=function(e){var t=(0,a.useRef)(null),r=ed();return(0,n.jsx)("div",{className:$e()(aI,Xe({},oI,e.smallLeft)),children:e.items.length>0&&Array.isArray(e.items)&&e.items.map((function(i,a){return(0,n.jsx)("div",{className:sI,ref:t,style:{overflow:"hidden"},children:(0,n.jsx)(fI,{src:"".concat(dd[hd],"/jd-admin/assets/images/projects/").concat(e.workUrl,"/").concat(r.width<=ld?i.mediaData.mediaMobile.url:i.mediaData.mediaDesktop.url),alt:"Commercial Product Visuals",lazy:!0,width:r.width<=ld?i.mediaData.mediaMobile.width:i.mediaData.mediaDesktop.width,height:r.width<=ld?i.mediaData.mediaMobile.height:i.mediaData.mediaDesktop.height})},a)}))})},mI="ImageReveal_imageRevealWrapper__T7c3i",gI="ImageReveal_imageWrapper__+4BsM",vI="ImageReveal_bgImg__hI+Re",yI="ImageReveal_sImageWrapper__ChAhP",_I="ImageReveal_imgWrapper__WB-pu",bI=function(e){var t=(0,a.useRef)(null),r=(0,a.useRef)(null),i=ed(),s=h((0,a.useState)(0),2),o=s[0],l=s[1];return(0,n.jsx)("div",{className:mI,children:(0,n.jsxs)("div",Bc(Bc({className:gI,ref:r},i.width>cd&&{onMouseMove:function(e){var t;r.current&&(t=Va.utils.mapRange(0,r.current.clientWidth,0,100,e.clientX),l(t-9.5))}}),{},{children:[(0,n.jsx)("div",{className:vI,children:(0,n.jsx)(fI,{src:"".concat(dd[hd],"/jd-admin/assets/images/projects/").concat(e.workUrl,"/").concat(i.width>ld?e.items[0].mediaData.mediaDesktop.url:e.items[0].mediaData.mediaMobile.url),alt:"Commercial Product Visuals",width:i.width<=ld?e.items[0].mediaData.mediaMobile.width:e.items[0].mediaData.mediaDesktop.width,height:i.width<=ld?e.items[0].mediaData.mediaMobile.height:e.items[0].mediaData.mediaDesktop.height,lazy:!0})}),(0,n.jsx)("div",{className:yI,ref:t,style:{clipPath:"polygon(0 0, ".concat(o,"% 0, ").concat(o,"% 100%, 0% 100%)")},children:i.width>ld&&(0,n.jsx)("div",{className:_I,children:(0,n.jsx)(fI,{src:"".concat(dd[hd],"/jd-admin/assets/images/projects/").concat(e.workUrl,"/").concat(i.width>ld?e.items[1].mediaData.mediaDesktop.url:e.items[1].mediaData.mediaMobile.url),alt:"Commercial Product Visuals",width:i.width<=ld?e.items[1].mediaData.mediaMobile.width:e.items[1].mediaData.mediaDesktop.width,height:i.height<=ld?e.items[1].mediaData.mediaMobile.height:e.items[1].mediaData.mediaDesktop.height,lazy:!0})})})]}))})}
2,xI="MediaContainer_mediaContainer__oxxtP",TI="MediaContainer_mediaWrapper__B5pFB",wI="MediaContainer_sliderBtn__pDZrG",SI="MediaContainer_thumbnail__4fC19",EI="MediaContainer_hidden__hCCRa",kI="MediaContainer_iconWrapper__tYhtq",CI="MediaContainer_sliderWrapper__9l2vu",PI="MediaContainer_paddingX__QBowH",AI="MediaContainer_vidC__1exNu",II="MediaContainer_video__fNzyM",OI="MediaContainer_play__Hynna",DI=Ka((function(e,t){return{content:[],title:"",setContent:function(t){return e({content:p(t)})},setTitle:function(t){return e({title:t})}}})),MI=DI,NI="AllMediaSlider_allMediaSlider__Z91m6",RI="AllMediaSlider_slider__5p8Pn",LI="AllMediaSlider_btnWrapper__vl6-K",jI="AllMediaSlider_disabled__y16Kg",FI="AllMediaSlider_btnInner__3mPW8",BI="AllMediaSlider_title__QDpSA",UI="AllMediaSlider_mediaWrapper__hL8uO",VI="AllMediaSlider_video__0-5X0",zI="AllMediaSlider_btnPrev__XgdxS",GI="AllMediaSlider_btnNext__b0wmF",HI="AllMediaSlider_btnArrow__XoBnz",WI="AllMediaSlider_next__k+EOS",qI="AllMediaSlider_prev__c8N7J";function YI(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function XI(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:YI(t[n])&&YI(e[n])&&Object.keys(t[n]).length>0&&XI(e[n],t[n])}))}var ZI={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function KI(){var e="undefined"!==typeof document?document:{};return XI(e,ZI),e}var QI,$I,JI,eO={document:ZI,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function tO(){var e="undefined"!==typeof window?window:{};return XI(e,eO),e}function nO(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))}function rO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)}function iO(){return Date.now()}function aO(e){var t,n=tO();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function sO(e){var t,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",a=tO(),s=aO(e);return a.WebKitCSSMatrix?((n=s.transform||s.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new a.WebKitCSSMatrix("none"===n?"":n)):t=(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(n=a.WebKitCSSMatrix?r.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===i&&(n=a.WebKitCSSMatrix?r.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),n||0}function oO(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function lO(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function uO(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],n=1;n<arguments.length;n+=1){var r=n<0||arguments.length<=n?void 0:arguments[n];if(void 0!==r&&null!==r&&!lO(r))for(var i=Object.keys(Object(r)).filter((function(e){return t.indexOf(e)<0})),a=0,s=i.length;a<s;a+=1){var o=i[a],l=Object.getOwnPropertyDescriptor(r,o);void 0!==l&&l.enumerable&&(oO(e[o])&&oO(r[o])?r[o].__swiper__?e[o]=r[o]:uO(e[o],r[o]):!oO(e[o])&&oO(r[o])?(e[o]={},r[o].__swiper__?e[o]=r[o]:uO(e[o],r[o])):e[o]=r[o])}}return e}function cO(e,t,n){e.style.setProperty(t,n)}function dO(e){var t,n=e.swiper,r=e.targetPosition,i=e.side,a=tO(),s=-n.translate,o=null,l=n.params.speed;n.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(n.cssModeFrameID);var u=r>s?"next":"prev",c=function(e,t){return"next"===u&&e>=t||"prev"===u&&e<=t};!function e(){t=(new Date).getTime(),null===o&&(o=t);var u=Math.max(Math.min((t-o)/l,1),0),d=.5-Math.cos(u*Math.PI)/2,h=s+d*(r-s);if(c(h,r)&&(h=r),n.wrapperEl.scrollTo(Xe({},i,h)),c(h,r))return n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout((function(){n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo(Xe({},i,h))})),void a.cancelAnimationFrame(n.cssModeFrameID);n.cssModeFrameID=a.requestAnimationFrame(e)}()}function hO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return p(e.children).filter((function(e){return e.matches(t)}))}function fO(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=document.createElement(e);return(t=r.classList).add.apply(t,p(Array.isArray(n)?n:[n])),r}function pO(e,t){return tO().getComputedStyle(e,null).getPropertyValue(t)}function mO(e){var t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function gO(e,t,n){var r=tO();
2return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function vO(){return QI||(QI=function(){var e=tO(),t=KI();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),QI}function yO(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.userAgent,n=vO(),r=tO(),i=r.navigator.platform,a=t||r.navigator.userAgent,s={ios:!1,android:!1},o=r.screen.width,l=r.screen.height,u=a.match(/(Android);?[\s\/]+([\d.]+)?/),c=a.match(/(iPad).*OS\s([\d_]+)/),d=a.match(/(iPod)(.*OS\s([\d_]+))?/),h=!c&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===i,p="MacIntel"===i,m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&p&&n.touch&&m.indexOf("".concat(o,"x").concat(l))>=0&&((c=a.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),p=!1),u&&!f&&(s.os="android",s.android=!0),(c||h||d)&&(s.os="ios",s.ios=!0),s}function _O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return $I||($I=yO(e)),$I}function bO(){return JI||(JI=function(){var e=tO(),t=!1;function n(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){var r=String(e.navigator.userAgent);if(r.includes("Version/")){var i=h(r.split("Version/")[1].split(" ")[0].split(".").map((function(e){return Number(e)})),2),a=i[0],s=i[1];t=a<16||16===a&&s<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),JI}var xO={on:function(e,t,n){var r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;var i=n?"unshift":"push";return e.split(" ").forEach((function(e){r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once:function(e,t,n){var r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];t.apply(r,a)}return i.__emitterProxy=t,r.on(e,i,n)},onAny:function(e,t){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof e)return n;var r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny:function(e){var t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;var n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off:function(e,t){var n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((function(e){"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((function(r,i){(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit:function(){var e,t,n,r=this;if(!r.eventsListeners||r.destroyed)return r;if(!r.eventsListeners)return r;for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];"string"===typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),n=r):(e=a[0].events,t=a[0].data,n=a[0].context||r),t.unshift(n);var o=Array.isArray(e)?e:e.split(" ");return o.forEach((function(e){r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach((function(r){r.apply(n,[e].concat(p(t)))})),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach((function(e){e.apply(n,t)}))})),r}};var TO={updateSize:function(){var e,t,n=this,r=n.el;e="undefined"!==typeof n.params.width&&null!==n.params.width?n.params.width:r.clientWidth,t="undefined"!==typeof n.params.height&&null!==n.params.height?n.params.height:r.clientHeight,0===e&&n.isHorizontal()||0===t&&n.isVertical()||(e=e-parseInt(pO(r,"padding-left")||0,10)-parseInt(pO(r,"padding-right")||0,10),t=t-parseInt(pO(r,"padding-top")||0,10)-parseInt(pO(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(n,{width:e,height:t,size:n.isHorizontal()?e:t}))},updateSlides:function(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}var r=e.params,i=e.wrapperEl,a=e.slidesEl,s=e.size,o=e.rtlTranslate,l=e.wrongRTL,u=e.virtual&&r.virtual.enabled,c=u?e.virtual.slides.length:e.slides.length,d=hO(a,".".concat(e.params.slideClass,", swiper-slide")),h=u?e.virtual.slides.length:d.length,f=[],p=[],m=[],g=r.slidesOffsetBefore;"function"===typeof g&&(g=r.slidesOffsetBefore.call(e));var v=r.slidesOffsetAfter;"function"===typeof v&&(v=r.slidesOffsetAfter.call(e));var y=e.snapGrid.length,_=e.slidesGrid.length,b=r.spaceBetween,x=-g,T=0,w=0;if("undefined"!==typeof s){"string"===typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*s),e.virtualSize=-b,d.forEach((function(e){o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),r.centeredSlides&&r.cssMode&&(cO(i,"--swiper-centered-offset-before",""),cO(i,"--swiper-centered-offset-after",""));var S,E=r.grid&&r.grid.rows>1&&e.grid;E&&e.grid.initSlides(h);for(var k="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((function(e){return"undefined"!==typeof r.breakpoints[e].slidesPerView})).length>0,C=0;C<h;C+=1){S=0;var P=void 0;if(d[C]&&(P=d[C]),E&&e.grid.updateSlide(C,P,h,t),!d[C]||"none"!==pO(P,"display")){if("auto"===r.slidesPerView){k&&(d[C].style[t("width")]="");var A=getComputedStyle(P),I=P.style.transform,O=P.style.webkitTransform;if(I&&(P.style.transform="none"),O&&(P.style.webkitTransform="none"),r.roundLengths)S=e.isHorizontal()?gO(P,"width",!0):gO(P,"height",!0);else{var D=n(A,"width"),M=n(A,"padding-left"),N=n(A,"padding-right"),R=n(A,"margin-left"),L=n(A,"margin-right"),j=A.getPropertyValue("box-sizing");if(j&&"border-box"===j)S=D+R+L;else{var F=P,B=F.clientWidth;S=D+M+N+R+L+(F.offsetWidth-B)}}I&&(P.style.transform=I),O&&(P.style.webkitTransform=O),r.roundLengths&&(S=Math.floor(S))}else S=(s-(r.slidesPerView-1)*b)/r.slidesPerView,r.roundLengths&&(S=Math.floor(S)),d[C]&&(d[C].style[t("width")]="".concat(S,"px"));d[C]&&(d[C].swiperSlideSize=S),m.push(S),r.centeredSlides?(x=x+S/2+T/2+b,0===T&&0!==C&&(x=x-s/2-b),0===C&&(x=x-s/2-b),Math.abs(x)<.001&&(x=0),r.roundLengths&&(x=Math.floor(x)),w%r.
2slidesPerGroup===0&&f.push(x),p.push(x)):(r.roundLengths&&(x=Math.floor(x)),(w-Math.min(e.params.slidesPerGroupSkip,w))%e.params.slidesPerGroup===0&&f.push(x),p.push(x),x=x+S+b),e.virtualSize+=S+b,T=S,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+v,o&&l&&("slide"===r.effect||"coverflow"===r.effect)&&(i.style.width="".concat(e.virtualSize+r.spaceBetween,"px")),r.setWrapperSize&&(i.style[t("width")]="".concat(e.virtualSize+r.spaceBetween,"px")),E&&e.grid.updateWrapperSize(S,f,t),!r.centeredSlides){for(var U=[],V=0;V<f.length;V+=1){var z=f[V];r.roundLengths&&(z=Math.floor(z)),f[V]<=e.virtualSize-s&&U.push(z)}f=U,Math.floor(e.virtualSize-s)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-s)}if(u&&r.loop){var G=m[0]+b;if(r.slidesPerGroup>1)for(var H=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),W=G*r.slidesPerGroup,q=0;q<H;q+=1)f.push(f[f.length-1]+W);for(var Y=0;Y<e.virtual.slidesBefore+e.virtual.slidesAfter;Y+=1)1===r.slidesPerGroup&&f.push(f[f.length-1]+G),p.push(p[p.length-1]+G),e.virtualSize+=G}if(0===f.length&&(f=[0]),0!==r.spaceBetween){var X=e.isHorizontal()&&o?"marginLeft":t("marginRight");d.filter((function(e,t){return!(r.cssMode&&!r.loop)||t!==d.length-1})).forEach((function(e){e.style[X]="".concat(b,"px")}))}if(r.centeredSlides&&r.centeredSlidesBounds){var Z=0;m.forEach((function(e){Z+=e+(r.spaceBetween?r.spaceBetween:0)}));var K=(Z-=r.spaceBetween)-s;f=f.map((function(e){return e<0?-g:e>K?K+v:e}))}if(r.centerInsufficientSlides){var Q=0;if(m.forEach((function(e){Q+=e+(r.spaceBetween?r.spaceBetween:0)})),(Q-=r.spaceBetween)<s){var $=(s-Q)/2;f.forEach((function(e,t){f[t]=e-$})),p.forEach((function(e,t){p[t]=e+$}))}}if(Object.assign(e,{slides:d,snapGrid:f,slidesGrid:p,slidesSizesGrid:m}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){cO(i,"--swiper-centered-offset-before","".concat(-f[0],"px")),cO(i,"--swiper-centered-offset-after","".concat(e.size/2-m[m.length-1]/2,"px"));var J=-e.snapGrid[0],ee=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((function(e){return e+J})),e.slidesGrid=e.slidesGrid.map((function(e){return e+ee}))}if(h!==c&&e.emit("slidesLengthChange"),f.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==_&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!u&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){var te="".concat(r.containerModifierClass,"backface-hidden"),ne=e.el.classList.contains(te);h<=r.maxBackfaceHiddenSlides?ne||e.el.classList.add(te):ne&&e.el.classList.remove(te)}}},updateAutoHeight:function(e){var t,n=this,r=[],i=n.virtual&&n.params.virtual.enabled,a=0;"number"===typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);var s=function(e){return i?n.slides.filter((function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e}))[0]:n.slides[e]};if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)if(n.params.centeredSlides)(n.visibleSlides||[]).forEach((function(e){r.push(e)}));else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var o=n.activeIndex+t;if(o>n.slides.length&&!i)break;r.push(s(o))}else r.push(s(n.activeIndex));for(t=0;t<r.length;t+=1)if("undefined"!==typeof r[t]){var l=r[t].offsetHeight;a=l>a?l:a}(a||0===a)&&(n.wrapperEl.style.height="".concat(a,"px"))},updateSlidesOffset:function(){for(var e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0,r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,n=t.params,r=t.slides,i=t.rtlTranslate,a=t.snapGrid;if(0!==r.length){"undefined"===typeof r[0].swiperSlideOffset&&t.updateSlidesOffset();var s=-e;i&&(s=e),r.forEach((function(e){e.classList.remove(n.slideVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var o=0;o<r.length;o+=1){var l=r[o],u=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(u-=r[0].swiperSlideOffset);var c=(s+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+n.spaceBetween),d=(s-a[0]+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+n.spaceBetween),h=-(s-u),f=h+t.slidesSizesGrid[o],p=h>=0&&h<t.size-1||f>1&&f<=t.size||h<=0&&f>=t.size;p&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(o),r[o].classList.add(n.slideVisibleClass)),l.progress=i?-c:c,l.originalProgress=i?-d:d}}},updateProgress:function(e){var t=this;if("undefined"===typeof e){var n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}var r=t.params,i=t.maxTranslate()-t.minTranslate(),a=t.progress,s=t.isBeginning,o=t.isEnd,l=t.progressLoop,u=s,
2c=o;if(0===i)a=0,s=!0,o=!0;else{a=(e-t.minTranslate())/i;var d=Math.abs(e-t.minTranslate())<1,h=Math.abs(e-t.maxTranslate())<1;s=d||a<=0,o=h||a>=1,d&&(a=0),h&&(a=1)}if(r.loop){var f=mO(t.slides.filter((function(e){return"0"===e.getAttribute("data-swiper-slide-index")}))[0]),p=mO(t.slides.filter((function(e){return 1*e.getAttribute("data-swiper-slide-index")===t.slides.length-1}))[0]),m=t.slidesGrid[f],g=t.slidesGrid[p],v=t.slidesGrid[t.slidesGrid.length-1],y=Math.abs(e);(l=y>=m?(y-m)/v:(y+v-g)/v)>1&&(l-=1)}Object.assign(t,{progress:a,progressLoop:l,isBeginning:s,isEnd:o}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),s&&!u&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(u&&!s||c&&!o)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){var e,t=this,n=t.slides,r=t.params,i=t.slidesEl,a=t.activeIndex,s=t.virtual&&r.virtual.enabled,o=function(e){return hO(i,".".concat(r.slideClass).concat(e,", swiper-slide").concat(e))[0]};if(n.forEach((function(e){e.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)})),s)if(r.loop){var l=a-t.virtual.slidesBefore;l<0&&(l=t.virtual.slides.length+l),l>=t.virtual.slides.length&&(l-=t.virtual.slides.length),e=o('[data-swiper-slide-index="'.concat(l,'"]'))}else e=o('[data-swiper-slide-index="'.concat(a,'"]'));else e=n[a];if(e){e.classList.add(r.slideActiveClass);var u=function(e,t){for(var n=[];e.nextElementSibling;){var r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(e,".".concat(r.slideClass,", swiper-slide"))[0];r.loop&&!u&&(u=n[0]),u&&u.classList.add(r.slideNextClass);var c=function(e,t){for(var n=[];e.previousElementSibling;){var r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(e,".".concat(r.slideClass,", swiper-slide"))[0];r.loop&&0===!c&&(c=n[n.length-1]),c&&c.classList.add(r.slidePrevClass)}t.emitSlidesClasses()},updateActiveIndex:function(e){var t,n,r=this,i=r.rtlTranslate?r.translate:-r.translate,a=r.snapGrid,s=r.params,o=r.activeIndex,l=r.realIndex,u=r.snapIndex,c=e,d=function(e){var t=e-r.virtual.slidesBefore;return t<0&&(t=r.virtual.slides.length+t),t>=r.virtual.slides.length&&(t-=r.virtual.slides.length),t};if("undefined"===typeof c&&(c=function(e){for(var t,n=e.slidesGrid,r=e.params,i=e.rtlTranslate?e.translate:-e.translate,a=0;a<n.length;a+=1)"undefined"!==typeof n[a+1]?i>=n[a]&&i<n[a+1]-(n[a+1]-n[a])/2?t=a:i>=n[a]&&i<n[a+1]&&(t=a+1):i>=n[a]&&(t=a);return r.normalizeSlideIndex&&(t<0||"undefined"===typeof t)&&(t=0),t}(r)),a.indexOf(i)>=0)t=a.indexOf(i);else{var h=Math.min(s.slidesPerGroupSkip,c);t=h+Math.floor((c-h)/s.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),c===o)return t!==u&&(r.snapIndex=t,r.emit("snapIndexChange")),void(r.params.loop&&r.virtual&&r.params.virtual.enabled&&(r.realIndex=d(c)));n=r.virtual&&s.virtual.enabled&&s.loop?d(c):r.slides[c]?parseInt(r.slides[c].getAttribute("data-swiper-slide-index")||c,10):c,Object.assign(r,{snapIndex:t,realIndex:n,previousIndex:o,activeIndex:c}),r.emit("activeIndexChange"),r.emit("snapIndexChange"),l!==n&&r.emit("realIndexChange"),(r.initialized||r.params.runCallbacksOnInit)&&r.emit("slideChange")},updateClickedSlide:function(e){var t,n=this,r=n.params,i=e.closest(".".concat(r.slideClass,", swiper-slide")),a=!1;if(i)for(var s=0;s<n.slides.length;s+=1)if(n.slides[s]===i){a=!0,t=s;break}if(!i||!a)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=t,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var wO={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this,n=t.params,r=t.rtlTranslate,i=t.translate,a=t.wrapperEl;if(n.virtualTranslate)return r?-i:i;if(n.cssMode)return i;var s=sO(a,e);return r&&(s=-s),s||0},setTranslate:function(e,t){var n=this,r=n.rtlTranslate,i=n.params,a=n.wrapperEl,s=n.progress,o=0,l=0;n.isHorizontal()?o=r?-e:e:l=e,i.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),i.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-o:-l:i.virtualTranslate||(a.style.transform="translate3d(".concat(o,"px, ").concat(l,"px, ").concat(0,"px)")),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?o:l;var u=n.maxTranslate()-n.minTranslate();(0===u?0:(e-n.minTranslate())/u)!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4?arguments[4]:void 0,a=this,s=a.params,o=a.wrapperEl;if(a.animating&&s.preventInteractionOnTransition)return!1;var l,u=a.minTranslate(),c=a.maxTranslate();if(l=r&&e>u?u:r&&e<c?c:e,a.updateProgress(l),s.cssMode){var d=a.isHorizontal();if(0===t)o[d?"scrollLeft":"scrollTop"]=-l;else{var h;if(!a.support.smoothScroll)return dO({swiper:a,targetPosition:-l,side:d?"left":"top"}),!0;o.scrollTo((Xe(h={},d?"left":"top",-l),Xe(h,"behavior","smooth"),h))}return!0}return 0===t?(a.setTransition(0),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,n&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}};function SO(e){var t=e.swiper,n=e.runCallbacks,r=e.direction,i=e.step,a=t.activeIndex,s=t.previousIndex,o=r;if(o||(o=a>s?"next":a<s?"prev":"reset"),t.emit("transition".concat(i)),n&&a!==s){if("reset"===o)return void t.emit("slideResetTransition".concat(i));t.emit("slideChangeTransition".concat(i)),"next"===o?t.emit("slideNextTransition".concat(i)):t.emit("slidePrevTransition".concat(i))}}var EO={setTransition:function(e,t){var n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration="".concat(e,"ms")),n.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,r=n.params;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),SO({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,r=n.params;n.animating=!1,r.cssMode||(n.setTransition(0),SO({swiper:n,runCallbacks:e,direction:t,step:"End"}))}};var kO={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;"string"===typeof e&&(e=parseInt(e,10));var a=this,s=e;s<0&&(s=0);var o=a.params,l=a.snapGrid,u=a.slidesGrid,c=a.previousIndex,d=a.activeIndex,h=a.rtlTranslate,f=a.wrapperEl,p=a.enabled;if(a.animating&&o.preventInteractionOnTransition||!p&&!r&&!i)return!1;var m=Math.min(a.params.slidesPerGroupSkip,s),g=m+Math.floor((s-m)/a.params.slidesPerGroup);g>=l.length&&(g=l.length-1);var v,y=-l[g];if(o.normalizeSlideIndex)for(var _=0;_<u.length;_+=1){var b=-Math.floor(100*y),x=Math.floor(100*u[_]),T=Math.floor(100*u[_+1]);"undefined"!==typeof u[_+1]?b>=x&&b<T-(T-x)/2?s=_:b>=x&&b<T&&(s=_+1):b>=x&&(s=_)}if(a.initialized&&s!==d){if(!a.allowSlideNext&&y<a.translate&&y<a.minTranslate())return!1;if(!a.allowSlidePrev&&y>a.translate&&y>a.maxTranslate()&&(d||0)!==s)return!1}if(s!==(c||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(y),v=s>d?"next":s<d?"prev":"reset",h&&-y===a.translate||!h&&y===a.translate)return a.updateActiveIndex(s),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(y),"reset"!==v&&(a.transitionStart(n,v),a.transitionEnd(n,v)),!1;if(o.cssMode){var w=a.isHorizontal(),S=h?y:-y;if(0===t){var E=a.virtual&&a.params.virtual.enabled;E&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),E&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((function(){f[w?"scrollLeft":"scrollTop"]=S}))):f[w?"scrollLeft":"scrollTop"]=S,E&&requestAnimationFrame((function(){a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{var k;if(!a.support.smoothScroll)return dO({swiper:a,targetPosition:S,side:w?"left":"top"}),!0;f.scrollTo((Xe(k={},w?"left":"top",S),Xe(k,"behavior","smooth"),k))}return!0}return a.setTransition(t),a.setTranslate(y),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,r),a.transitionStart(n,v),0===t?a.transitionEnd(n,v):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,v))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3?arguments[3]:void 0;if("string"===typeof e){var i=parseInt(e,10);e=i}var a=this,s=e;return a.params.loop&&(a.virtual&&a.params.virtual.enabled?s+=a.virtual.slidesBefore:s=mO(a.slides.filter((function(e){return 1*e.getAttribute("data-swiper-slide-index")===s}))[0])),a.slideTo(s,t,n,r)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this,i=r.enabled,a=r.params,s=r.animating;if(!i)return r;var o=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(r.slidesPerViewDynamic("current",!0),1));var l=r.activeIndex<a.slidesPerGroupSkip?1:o,u=r.virtual&&a.virtual.enabled;if(a.loop){if(s&&!u&&a.loopPreventsSliding)return!1;r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft}return a.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this,i=r.params,a=r.snapGrid,s=r.slidesGrid,o=r.rtlTranslate,l=r.enabled,u=r.animating;if(!l)return r;var c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}var d=o?r.translate:-r.translate;function h(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var f,p=h(d),m=a.map((function(e){return h(e)}
2)),g=a[m.indexOf(p)-1];"undefined"===typeof g&&i.cssMode&&(a.forEach((function(e,t){p>=e&&(f=t)})),"undefined"!==typeof f&&(g=a[f>0?f-1:f]));var v=0;if("undefined"!==typeof g&&((v=s.indexOf(g))<0&&(v=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(v=v-r.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),i.rewind&&r.isBeginning){var y=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(y,e,t,n)}return r.slideTo(v,e,t,n)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this;return r.slideTo(r.activeIndex,e,t,n)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,i=this,a=i.activeIndex,s=Math.min(i.params.slidesPerGroupSkip,a),o=s+Math.floor((a-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[o]){var u=i.snapGrid[o],c=i.snapGrid[o+1];l-u>(c-u)*r&&(a+=i.params.slidesPerGroup)}else{var d=i.snapGrid[o-1],h=i.snapGrid[o];l-d<=(h-d)*r&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,r=t.slidesEl,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,a=t.clickedIndex,s=t.isElement?"swiper-slide":".".concat(n.slideClass);if(n.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?a<t.loopedSlides-i/2||a>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),a=mO(hO(r,"".concat(s,'[data-swiper-slide-index="').concat(e,'"]'))[0]),rO((function(){t.slideTo(a)}))):t.slideTo(a):a>t.slides.length-i?(t.loopFix(),a=mO(hO(r,"".concat(s,'[data-swiper-slide-index="').concat(e,'"]'))[0]),rO((function(){t.slideTo(a)}))):t.slideTo(a)}else t.slideTo(a)}};var CO,PO={loopCreate:function(e){var t=this,n=t.params,r=t.slidesEl;!n.loop||t.virtual&&t.params.virtual.enabled||(hO(r,".".concat(n.slideClass,", swiper-slide")).forEach((function(e,t){e.setAttribute("data-swiper-slide-index",t)})),t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"}))},loopFix:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slideRealIndex,n=e.slideTo,r=void 0===n||n,i=e.direction,a=e.setTranslate,s=e.activeSlideIndex,o=e.byController,l=e.byMousewheel,u=this;if(u.params.loop){u.emit("beforeLoopFix");var c=u.slides,d=u.allowSlidePrev,h=u.allowSlideNext,f=u.slidesEl,p=u.params;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&p.virtual.enabled)return r&&(p.centeredSlides||0!==u.snapIndex?p.centeredSlides&&u.snapIndex<p.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=d,u.allowSlideNext=h,void u.emit("loopFix");var m="auto"===p.slidesPerView?u.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10)),g=p.loopedSlides||m;g%p.slidesPerGroup!==0&&(g+=p.slidesPerGroup-g%p.slidesPerGroup),u.loopedSlides=g;var v=[],y=[],_=u.activeIndex;"undefined"===typeof s?s=mO(u.slides.filter((function(e){return e.classList.contains("swiper-slide-active")}))[0]):_=s;var b="next"===i||!i,x="prev"===i||!i,T=0,w=0;if(s<g){T=g-s;for(var S=0;S<g-s;S+=1){var E=S-Math.floor(S/c.length)*c.length;v.push(c.length-E-1)}}else if(s>u.slides.length-2*g){w=s-(u.slides.length-2*g);for(var k=0;k<w;k+=1){var C=k-Math.floor(k/c.length)*c.length;y.push(C)}}if(x&&v.forEach((function(e){f.prepend(u.slides[e])})),b&&y.forEach((function(e){f.append(u.slides[e])})),u.recalcSlides(),p.watchSlidesProgress&&u.updateSlidesOffset(),r)if(v.length>0&&x)if("undefined"===typeof t){var P=u.slidesGrid[_],A=u.slidesGrid[_+T],I=A-P;l?u.setTranslate(u.translate-I):(u.slideTo(_+T,0,!1,!0),a&&(u.touches[u.isHorizontal()?"startX":"startY"]+=I))}else a&&u.slideToLoop(t,0,!1,!0);else if(y.length>0&&b)if("undefined"===typeof t){var O=u.slidesGrid[_],D=u.slidesGrid[_-w],M=D-O;l?u.setTranslate(u.translate-M):(u.slideTo(_-w,0,!1,!0),a&&(u.touches[u.isHorizontal()?"startX":"startY"]+=M))}else u.slideToLoop(t,0,!1,!0);if(u.allowSlidePrev=d,u.allowSlideNext=h,u.controller&&u.controller.control&&!o){var N={slideRealIndex:t,slideTo:!1,direction:i,setTranslate:a,activeSlideIndex:s,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach((function(e){e.params.loop&&e.loopFix(N)})):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix(N)}u.emit("loopFix")}},loopDestroy:function(){var e=this,t=e.slides,n=e.params,r=e.slidesEl;if(!(!n.loop||e.virtual&&e.params.virtual.enabled)){e.recalcSlides();var i=[];t.forEach((function(e){var t="undefined"===typeof e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e})),t.forEach((function(e){e.removeAttribute("data-swiper-slide-index")}
2)),i.forEach((function(e){r.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}}};function AO(e){var t=this,n=KI(),r=tO(),i=t.touchEventsData;i.evCache.push(e);var a=t.params,s=t.touches;if(t.enabled&&(a.simulateTouch||"mouse"!==e.pointerType)&&(!t.animating||!a.preventInteractionOnTransition)){!t.animating&&a.cssMode&&a.loop&&t.loopFix();var o=e;o.originalEvent&&(o=o.originalEvent);var l=o.target;if(("wrapper"!==a.touchEventsTarget||t.wrapperEl.contains(l))&&(!("which"in o)||3!==o.which)&&!("button"in o&&o.button>0)&&(!i.isTouched||!i.isMoved)){var u=!!a.noSwipingClass&&""!==a.noSwipingClass,c=e.composedPath?e.composedPath():e.path;u&&o.target&&o.target.shadowRoot&&c&&(l=c[0]);var d=a.noSwipingSelector?a.noSwipingSelector:".".concat(a.noSwipingClass),h=!(!o.target||!o.target.shadowRoot);if(a.noSwiping&&(h?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;function n(t){if(!t||t===KI()||t===tO())return null;t.assignedSlot&&(t=t.assignedSlot);var r=t.closest(e);return r||t.getRootNode?r||n(t.getRootNode().host):null}return n(t)}(d,l):l.closest(d)))t.allowClick=!0;else if(!a.swipeHandler||l.closest(a.swipeHandler)){s.currentX=o.pageX,s.currentY=o.pageY;var f=s.currentX,p=s.currentY,m=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,g=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(m&&(f<=g||f>=r.innerWidth-g)){if("prevent"!==m)return;e.preventDefault()}Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=p,i.touchStartTime=iO(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1);var v=!0;l.matches(i.focusableElements)&&(v=!1,"SELECT"===l.nodeName&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==l&&n.activeElement.blur();var y=v&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!y||l.isContentEditable||o.preventDefault(),t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",o)}}}}function IO(e){var t=KI(),n=this,r=n.touchEventsData,i=n.params,a=n.touches,s=n.rtlTranslate;if(n.enabled&&(i.simulateTouch||"mouse"!==e.pointerType)){var o=e;if(o.originalEvent&&(o=o.originalEvent),r.isTouched){var l=r.evCache.findIndex((function(e){return e.pointerId===o.pointerId}));l>=0&&(r.evCache[l]=o);var u=r.evCache.length>1?r.evCache[0]:o,c=u.pageX,d=u.pageY;if(o.preventedByNestedSwiper)return a.startX=c,void(a.startY=d);if(!n.allowTouchMove)return o.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(a,{startX:c,startY:d,prevX:n.touches.currentX,prevY:n.touches.currentY,currentX:c,currentY:d}),r.touchStartTime=iO()));if(i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(d<a.startY&&n.translate<=n.maxTranslate()||d>a.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(c<a.startX&&n.translate<=n.maxTranslate()||c>a.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&o.target===t.activeElement&&o.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){a.currentX=c,a.currentY=d;var h=a.currentX-a.startX,f=a.currentY-a.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(f,2))<n.params.threshold)){var p;if("undefined"===typeof r.isScrolling)n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:h*h+f*f>=25&&(p=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,r.isScrolling=n.isHorizontal()?p>i.touchAngle:90-p>i.touchAngle);if(r.isScrolling&&n.emit("touchMoveOpposite",o),"undefined"===typeof r.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(r.startMoving=!0)),r.isScrolling||n.zoom&&n.params.zoom&&n.params.zoom.enabled&&r.evCache.length>1)r.isTouched=!1;else if(r.startMoving){n.allowClick=!1,!i.cssMode&&o.cancelable&&o.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&o.stopPropagation();var m=n.isHorizontal()?h:f,g=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;i.oneWayMovement&&(m=Math.abs(m)*(s?1:-1),g=Math.abs(g)*(s?1:-1)),a.diff=m,m*=i.touchRatio,s&&(m=-m,g=-g);var v=n.touchesDirection;n.swipeDirection=m>0?"prev":"next",n.touchesDirection=g>0?"prev":"next";var y,_=n.params.loop&&!i.cssMode;if(!r.isMoved){if(_&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){var b=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});
2n.wrapperEl.dispatchEvent(b)}r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",o)}r.isMoved&&v!==n.touchesDirection&&_&&Math.abs(m)>=1&&(n.loopFix({direction:n.swipeDirection,setTranslate:!0}),y=!0),n.emit("sliderMove",o),r.isMoved=!0,r.currentTranslate=m+r.startTranslate;var x=!0,T=i.resistanceRatio;if(i.touchReleaseOnEdges&&(T=0),m>0?(_&&!y&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.size/2:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(x=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+m,T)))):m<0&&(_&&!y&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.size/2:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===i.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(x=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-r.startTranslate-m,T)))),x&&(o.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(m)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);
2if(!r.allowThresholdMove)return r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,void(a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}}}}else r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",o)}}function OO(e){var t=this,n=t.touchEventsData,r=n.evCache.findIndex((function(t){return t.pointerId===e.pointerId}));if(r>=0&&n.evCache.splice(r,1),!["pointercancel","pointerout","pointerleave"].includes(e.type)){var i=t.params,a=t.touches,s=t.rtlTranslate,o=t.slidesGrid;if(t.enabled&&(i.simulateTouch||"mouse"!==e.pointerType)){var l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,c=iO(),d=c-n.touchStartTime;if(t.allowClick){var h=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(h&&h[0]||l.target),t.emit("tap click",l),d<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=iO(),rO((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===a.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=i.followFinger?s?t.translate:-t.translate:-n.currentTranslate,!i.cssMode)if(t.params.freeMode&&i.freeMode.enabled)t.freeMode.onTouchEnd({currentPos:u});else{for(var f=0,p=t.slidesSizesGrid[0],m=0;m<o.length;m+=m<i.slidesPerGroupSkip?1:i.slidesPerGroup){var g=m<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;"undefined"!==typeof o[m+g]?u>=o[m]&&u<o[m+g]&&(f=m,p=o[m+g]-o[m]):u>=o[m]&&(f=m,p=o[o.length-1]-o[o.length-2])}var v=null,y=null;i.rewind&&(t.isBeginning?y=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));var _=(u-o[f])/p,b=f<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(d>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(_>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?v:f+b):t.slideTo(f)),"prev"===t.swipeDirection&&(_>1-i.longSwipesRatio?t.slideTo(f+b):null!==y&&_<0&&Math.abs(_)>i.longSwipesRatio?t.slideTo(y):t.slideTo(f))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(f+b):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==v?v:f+b),"prev"===t.swipeDirection&&t.slideTo(null!==y?y:f))}}}}}function DO(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var r=e.allowSlideNext,i=e.allowSlidePrev,a=e.snapGrid,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();var o=s&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(CO),CO=setTimeout((function(){e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}}function MO(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function NO(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var r=e.maxTranslate()-e.minTranslate();(0===r?0:(e.translate-e.minTranslate())/r)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var RO=function(e,t){if(e&&!e.destroyed&&e.params){var n=t.closest(e.isElement?"swiper-slide":".".concat(e.params.slideClass));if(n){var r=n.querySelector(".".concat(e.params.lazyPreloaderClass));r&&r.remove()}}};function LO(e){RO(this,e.target),this.update()}var jO=!1;function FO(){}var BO=function(e,t){var n=KI(),r=e.params,i=e.el,a=e.wrapperEl,s=e.device,o=!!r.nested,l="on"===t?"addEventListener":"removeEventListener",u=t;i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&a[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",DO,!0):e[u]("observerUpdate",DO,!0),i[l]("load",e.onLoad,{capture:!0})};var UO=function(e,t){return e.grid&&t.grid&&t.grid.rows>1};var VO={setBreakpoint:function(){var e=this,t=e.realIndex,n=e.initialized,r=e.params,i=e.el,a=r.breakpoints;
2if(a&&(!a||0!==Object.keys(a).length)){var s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(s&&e.currentBreakpoint!==s){var o=(s in a?a[s]:void 0)||e.originalParams,l=UO(e,r),u=UO(e,o),c=r.enabled;l&&!u?(i.classList.remove("".concat(r.containerModifierClass,"grid"),"".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()):!l&&u&&(i.classList.add("".concat(r.containerModifierClass,"grid")),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===r.grid.fill)&&i.classList.add("".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((function(t){var n=r[t]&&r[t].enabled,i=o[t]&&o[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()}));var d=o.direction&&o.direction!==r.direction,h=r.loop&&(o.slidesPerView!==r.slidesPerView||d);d&&n&&e.changeDirection(),uO(e.params,o);var f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),c&&!f?e.disable():!c&&f&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",o),h&&n&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit("breakpoint",o)}}},getBreakpoint:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"window",n=arguments.length>2?arguments[2]:void 0;if(e&&("container"!==t||n)){var r=!1,i=tO(),a="window"===t?i.innerHeight:n.clientHeight,s=Object.keys(e).map((function(e){if("string"===typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));s.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var o=0;o<s.length;o+=1){var l=s[o],u=l.point,c=l.value;"window"===t?i.matchMedia("(min-width: ".concat(c,"px)")).matches&&(r=u):c<=n.clientWidth&&(r=u)}return r||"max"}}};var zO={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",runCallbacksOnInit:!0,_emitClasses:!1};function GO(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.keys(n)[0],i=n[r];"object"===typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&"enabled"in i?(!0===e[r]&&(e[r]={enabled:!0}),"object"!==typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),uO(t,n)):uO(t,n)):uO(t,n)}}var HO={eventsEmitter:xO,update:TO,translate:wO,transition:EO,slide:kO,loop:PO,grabCursor:{setGrabCursor:function(e){var t=this;if(!(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){var e=this,t=KI(),n=e.params;e.onTouchStart=AO.bind(e),e.onTouchMove=IO.bind(e),e.onTouchEnd=OO.bind(e),n.cssMode&&(e.onScroll=NO.bind(e)),e.onClick=MO.bind(e),e.onLoad=LO.bind(e),jO||(t.addEventListener("touchstart",FO),jO=!0),BO(e,"on")},detachEvents:function(){BO(this,"off")}},breakpoints:VO,checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked,n=e.params,r=n.slidesOffsetBefore;if(r){var i=e.slides.length-1,a=e.slidesGrid[i]+e.slidesSizesGrid[i]+2*r;e.isLocked=e.size>a}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,t=this,n=t.classNames,r=t.params,i=t.rtl,a=t.el,s=t.device,o=function(e,t){var n=[];return e.forEach((function(e){"object"===typeof e?Object.keys(e).forEach((function(r){e[r]&&n.push(t+r)})):"string"===typeof e&&n.push(t+e)})),n}(["initialized",r.direction,{"free-mode":t.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:i},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);n.push.apply(n,p(o)),(e=a.classList).add.apply(e,p(n)),t.emitContainerClasses()},removeClasses:function(){var e,t=this,n=t.el,r=t.classNames;(e=n.classList).remove.apply(e,p(r)),t.emitContainerClasses()}}},WO={},qO=function(){function e(){var t,n;m(this,e);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?n=i[0]:(t=i[0],n=i[1]),n||(n={}),n=uO({},n),t&&!n.el&&(n.el=t);var s=KI();if(n.el&&"string"===typeof n.el&&s.querySelectorAll(n.el).length>1){var o=[];return s.querySelectorAll(n.el).forEach((function(t){var r=uO({},n,{el:t});o.push(new e(r))})),o}var l,u=this;(u.__swiper__=!0,u.support=vO(),u.device=_O({userAgent:n.userAgent}),u.browser=bO(),u.eventsListeners={},u.eventsAnyListeners=[],u.modules=p(u.__modules__),n.modules&&Array.isArray(n.modules))&&(l=u.modules).push.apply(l,p(n.modules));var c={};
2u.modules.forEach((function(e){e({params:n,swiper:u,extendParams:GO(n,c),on:u.on.bind(u),once:u.once.bind(u),off:u.off.bind(u),emit:u.emit.bind(u)})}));var d=uO({},zO,c);return u.params=uO({},d,WO,n),u.originalParams=uO({},u.params),u.passedParams=uO({},n),u.params&&u.params.on&&Object.keys(u.params.on).forEach((function(e){u.on(e,u.params.on[e])})),u.params&&u.params.onAny&&u.onAny(u.params.onAny),Object.assign(u,{enabled:u.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===u.params.direction},isVertical:function(){return"vertical"===u.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:u.params.focusableElements,lastClickTime:iO(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.emit("_swiper"),u.params.init&&u.init(),u}return _(e,[{key:"recalcSlides",value:function(){var e=this,t=e.slidesEl,n=e.params;e.slides=hO(t,".".concat(n.slideClass,", swiper-slide"))}},{key:"enable",value:function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}},{key:"disable",value:function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}},{key:"setProgress",value:function(e,t){var n=this;e=Math.min(Math.max(e,0),1);var r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,"undefined"===typeof t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}}},{key:"getSlideClasses",value:function(e){var t=this;return t.destroyed?"":e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")}},{key:"emitSlidesClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.forEach((function(n){var r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}}},{key:"slidesPerViewDynamic",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"current",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this,r=n.params,i=n.slides,a=n.slidesGrid,s=n.slidesSizesGrid,o=n.size,l=n.activeIndex,u=1;if(r.centeredSlides){for(var c,d=i[l].swiperSlideSize,h=l+1;h<i.length;h+=1)i[h]&&!c&&(u+=1,(d+=i[h].swiperSlideSize)>o&&(c=!0));for(var f=l-1;f>=0;f-=1)i[f]&&!c&&(u+=1,(d+=i[f].swiperSlideSize)>o&&(c=!0))}else if("current"===e)for(var p=l+1;p<i.length;p+=1){var m=t?a[p]+s[p]-a[l]<o:a[p]-a[l]<o;m&&(u+=1)}else for(var g=l-1;g>=0;g-=1){var v=a[l]-a[g]<o;v&&(u+=1)}return u}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),p(e.el.querySelectorAll('[loading="lazy"]')).forEach((function(t){t.complete&&RO(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(r(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||r(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function r(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove("".concat(n.params.containerModifierClass).concat(r)),n.el.classList.add("".concat(n.params.containerModifierClass).concat(e)),n.emitContainerClasses(),n.params.direction=e,n.slides.forEac
2h((function(t){"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}},{key:"changeLanguageDirection",value:function(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="rtl"):(t.el.classList.remove("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="ltr"),t.update())}},{key:"mount",value:function(e){var t=this;if(t.mounted)return!0;var n=e||t.params.el;if("string"===typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.shadowEl&&(t.isElement=!0);var r=function(){return".".concat((t.params.wrapperClass||"").trim().split(" ").join("."))},i=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(r()):hO(n,r())[0];return!i&&t.params.createElements&&(i=fO("div",t.params.wrapperClass),n.append(i),hO(n,".".concat(t.params.slideClass)).forEach((function(e){i.append(e)}))),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement?n:i,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===pO(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===pO(n,"direction")),wrongRTL:"-webkit-box"===pO(i,"display")}),!0}},{key:"init",value:function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),p(t.el.querySelectorAll('[loading="lazy"]')).forEach((function(e){e.complete?RO(t,e):e.addEventListener("load",(function(e){RO(t,e.target)}))})),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=n.params,i=n.el,a=n.wrapperEl,s=n.slides;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach((function(e){e.classList.remove(r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.el.swiper=null,nO(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){uO(WO,e)}},{key:"extendedDefaults",get:function(){return WO}},{key:"defaults",get:function(){return zO}},{key:"installModule",value:function(t){e.prototype.__modules__||(e.prototype.__modules__=[]);var n=e.prototype.__modules__;"function"===typeof t&&n.indexOf(t)<0&&n.push(t)}},{key:"use",value:function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)}}]),e}();Object.keys(HO).forEach((function(e){Object.keys(HO[e]).forEach((function(t){qO.prototype[t]=HO[e][t]}))})),qO.use([function(e){var t=e.swiper,n=e.on,r=e.emit,i=tO(),a=null,s=null,o=function(){t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=function(){t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",(function(){t.params.resizeObserver&&"undefined"!==typeof i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((function(e){s=i.requestAnimationFrame((function(){var n=t.width,r=t.height,i=n,a=r;e.forEach((function(e){var n=e.contentBoxSize,r=e.contentRect,s=e.target;s&&s!==t.el||(i=r?r.width:(n[0]||n).inlineSize,a=r?r.height:(n[0]||n).blockSize)})),i===n&&a===r||o()}))}))).observe(t.el):(i.addEventListener("resize",o),i.addEventListener("orientationchange",l))})),n("destroy",(function(){s&&i.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(
2a.unobserve(t.el),a=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",l)}))},function(e){var t=e.swiper,n=e.extendParams,r=e.on,i=e.emit,a=[],s=tO(),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=s.MutationObserver||s.WebkitMutationObserver,r=new n((function(e){if(1!==e.length){var t=function(){i("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)}else i("observerUpdate",e[0])}));r.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),a.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(function(){if(t.params.observer){if(t.params.observeParents)for(var e=function(e,t){for(var n=[],r=e.parentElement;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}(t.el),n=0;n<e.length;n+=1)o(e[n]);o(t.el,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1})}})),r("destroy",(function(){a.forEach((function(e){e.disconnect()})),a.splice(0,a.length)}))}]);var YO=qO;function XO(e){var t=e.swiper,n=e.extendParams,r=e.on,i=e.emit;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};var a=function(e){return Array.isArray(e)||(e=[e].filter((function(e){return!!e}))),e};function s(e){var n;return e&&"string"===typeof e&&t.isElement&&(n=t.el.shadowRoot.querySelector(e))?n:(e&&("string"===typeof e&&(n=p(document.querySelectorAll(e))),t.params.uniqueNavElements&&"string"===typeof e&&n.length>1&&1===t.el.querySelectorAll(e).length&&(n=t.el.querySelector(e))),e&&!n?e:n)}function o(e,n){var r=t.params.navigation;(e=a(e)).forEach((function(e){var i;e&&((i=e.classList)[n?"add":"remove"].apply(i,p(r.disabledClass.split(" "))),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass))}))}function l(){var e=t.navigation,n=e.nextEl,r=e.prevEl;if(t.params.loop)return o(r,!1),void o(n,!1);o(r,t.isBeginning&&!t.params.rewind),o(n,t.isEnd&&!t.params.rewind)}function u(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function d(){var e=t.params.navigation;if(t.params.navigation=function(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach((function(i){if(!n[i]&&!0===n.auto){var a=hO(e.el,".".concat(r[i]))[0];a||((a=fO("div",r[i])).className=r[i],e.el.append(a)),n[i]=a,t[i]=a}})),n}(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),e.nextEl||e.prevEl){var n=s(e.nextEl),r=s(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:r}),n=a(n),r=a(r);var i=function(n,r){var i;(n&&n.addEventListener("click","next"===r?c:u),!t.enabled&&n)&&(i=n.classList).add.apply(i,p(e.lockClass.split(" ")))};n.forEach((function(e){return i(e,"next")})),r.forEach((function(e){return i(e,"prev")}))}}function h(){var e=t.navigation,n=e.nextEl,r=e.prevEl;n=a(n),r=a(r);var i=function(e,n){var r;e.removeEventListener("click","next"===n?c:u),(r=e.classList).remove.apply(r,p(t.params.navigation.disabledClass.split(" ")))};n.forEach((function(e){return i(e,"next")})),r.forEach((function(e){return i(e,"prev")}))}r("init",(function(){!1===t.params.navigation.enabled?f():(d(),l())})),r("toEdge fromEdge lock unlock",(function(){l()})),r("destroy",(function(){h()})),r("enable disable",(function(){var e=t.navigation,n=e.nextEl,r=e.prevEl;n=a(n),r=a(r),[].concat(p(n),p(r)).filter((function(e){return!!e})).forEach((function(e){return e.classList[t.enabled?"remove":"add"](t.params.navigation.lockClass)}))})),r("click",(function(e,n){var r=t.navigation,s=r.nextEl,o=r.prevEl;s=a(s),o=a(o);var l=n.target;if(t.params.navigation.hideOnClick&&!o.includes(l)&&!s.includes(l)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===l||t.pagination.el.contains(l)))return;var u;s.length?u=s[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(u=o[0].classList.contains(t.params.navigation.hiddenClass)),i(!0===u?"navigationShow":"navigationHide"),[].concat(p(s),p(o)).filter((function(e){return!!e}
2)).forEach((function(e){return e.classList.toggle(t.params.navigation.hiddenClass)}))}}));var f=function(){var e;(e=t.el.classList).add.apply(e,p(t.params.navigation.navigationDisabledClass.split(" "))),h()};Object.assign(t.navigation,{enable:function(){var e;(e=t.el.classList).remove.apply(e,p(t.params.navigation.navigationDisabledClass.split(" "))),d(),l()},disable:f,update:l,init:d,destroy:h})}function ZO(e){var t,n,r=e.swiper,i=e.extendParams,a=e.on,s=e.emit,o=e.params;r.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});var l,u,c,d,h,f,p,m=o&&o.autoplay?o.autoplay.delay:3e3,g=o&&o.autoplay?o.autoplay.delay:3e3,v=(new Date).getTime;function y(e){r&&!r.destroyed&&r.wrapperEl&&e.target===r.wrapperEl&&(r.wrapperEl.removeEventListener("transitionend",y),S())}var _=function e(){if(!r.destroyed&&r.autoplay.running){r.autoplay.paused?u=!0:u&&(g=l,u=!1);var t=r.autoplay.paused?l:v+g-(new Date).getTime();r.autoplay.timeLeft=t,s("autoplayTimeLeft",t,t/m),n=requestAnimationFrame((function(){e()}))}},b=function e(i){if(!r.destroyed&&r.autoplay.running){cancelAnimationFrame(n),_();var a="undefined"===typeof i?r.params.autoplay.delay:i;m=r.params.autoplay.delay,g=r.params.autoplay.delay;var o=function(){var e;if(e=r.virtual&&r.params.virtual.enabled?r.slides.filter((function(e){return e.classList.contains("swiper-slide-active")}))[0]:r.slides[r.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)}();!Number.isNaN(o)&&o>0&&"undefined"===typeof i&&(a=o,m=o,g=o),l=a;var u=r.params.speed,c=function(){r&&!r.destroyed&&(r.params.autoplay.reverseDirection?!r.isBeginning||r.params.loop||r.params.rewind?(r.slidePrev(u,!0,!0),s("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(r.slides.length-1,u,!0,!0),s("autoplay")):!r.isEnd||r.params.loop||r.params.rewind?(r.slideNext(u,!0,!0),s("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(0,u,!0,!0),s("autoplay")),r.params.cssMode&&(v=(new Date).getTime(),requestAnimationFrame((function(){e()}))))};return a>0?(clearTimeout(t),t=setTimeout((function(){c()}),a)):requestAnimationFrame((function(){c()})),a}},x=function(){r.autoplay.running=!0,b(),s("autoplayStart")},T=function(){r.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),s("autoplayStop")},w=function(e,n){if(!r.destroyed&&r.autoplay.running){clearTimeout(t),e||(p=!0);var i=function(){s("autoplayPause"),r.params.autoplay.waitForTransition?r.wrapperEl.addEventListener("transitionend",y):S()};if(r.autoplay.paused=!0,n)return f&&(l=r.params.autoplay.delay),f=!1,void i();var a=l||r.params.autoplay.delay;l=a-((new Date).getTime()-v),r.isEnd&&l<0&&!r.params.loop||(l<0&&(l=0),i())}},S=function(){r.isEnd&&l<0&&!r.params.loop||r.destroyed||!r.autoplay.running||(v=(new Date).getTime(),p?(p=!1,b(l)):b(),r.autoplay.paused=!1,s("autoplayResume"))},E=function(){if(!r.destroyed&&r.autoplay.running){var e=KI();"hidden"===e.visibilityState&&(p=!0,w(!0)),"visible"===e.visibilityState&&S()}},k=function(e){"mouse"===e.pointerType&&(p=!0,w(!0))},C=function(e){"mouse"===e.pointerType&&r.autoplay.paused&&S()};a("init",(function(){r.params.autoplay.enabled&&(r.params.autoplay.pauseOnMouseEnter&&(r.el.addEventListener("pointerenter",k),r.el.addEventListener("pointerleave",C)),KI().addEventListener("visibilitychange",E),v=(new Date).getTime(),x())})),a("destroy",(function(){r.el.removeEventListener("pointerenter",k),r.el.removeEventListener("pointerleave",C),KI().removeEventListener("visibilitychange",E),r.autoplay.running&&T()})),a("beforeTransitionStart",(function(e,t,n){!r.destroyed&&r.autoplay.running&&(n||!r.params.autoplay.disableOnInteraction?w(!0,!0):T())})),a("sliderFirstMove",(function(){!r.destroyed&&r.autoplay.running&&(r.params.autoplay.disableOnInteraction?T():(c=!0,d=!1,p=!1,h=setTimeout((function(){p=!0,d=!0,w(!0)}),200)))})),a("touchEnd",(function(){if(!r.destroyed&&r.autoplay.running&&c){if(clearTimeout(h),clearTimeout(t),r.params.autoplay.disableOnInteraction)return d=!1,void(c=!1);d&&r.params.cssMode&&S(),d=!1,c=!1}})),a("slideChange",(function(){!r.destroyed&&r.autoplay.running&&(f=!0)})),Object.assign(r.autoplay,{start:x,stop:T,pause:w,resume:S})}function KO(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function QO(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function $O(e,t){var n=["__proto__","constructor","prototype"];Object.keys(t).filter((function(e){return n.indexOf(e)<0}
2)).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:QO(t[n])&&QO(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:$O(e[n],t[n]):e[n]=t[n]}))}function JO(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function eD(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.pagination&&"undefined"===typeof e.pagination.el}function tD(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.scrollbar&&"undefined"===typeof e.scrollbar.el}function nD(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(" ").map((function(e){return e.trim()})).filter((function(e){return!!e})),n=[];return t.forEach((function(e){n.indexOf(e)<0&&n.push(e)})),n.join(" ")}function rD(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?e.includes("swiper-wrapper")?e:"swiper-wrapper ".concat(e):"swiper-wrapper"}var iD=["modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control","injectStyles","injectStylesUrls"];function aD(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function sD(e){var t=[];return a.Children.toArray(e).forEach((function(e){aD(e)?t.push(e):e.props&&e.props.children&&sD(e.props.children).forEach((function(e){return t.push(e)}))})),t}function oD(e){var t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(e).forEach((function(e){if(aD(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){var r=sD(e.props.children);r.length>0?r.forEach((function(e){return t.push(e)})):n["container-end"].push(e)}else n["container-end"].push(e)})),{slides:t,slots:n}}function lD(e){var t,n,r,i,a,s,o,l,u=e.swiper,c=e.slides,d=e.passedParams,h=e.changedParams,f=e.nextEl,p=e.prevEl,m=e.scrollbarEl,g=e.paginationEl,v=h.filter((function(e){return"children"!==e&&"direction"!==e&&"wrapperClass"!==e})),y=u.params,_=u.pagination,b=u.navigation,x=u.scrollbar,T=u.virtual,w=u.thumbs;h.includes("thumbs")&&d.thumbs&&d.thumbs.swiper&&y.thumbs&&!y.thumbs.swiper&&(t=!0),h.includes("controller")&&d.controller&&d.controller.control&&y.controller&&!y.controller.control&&(n=!0),h.includes("pagination")&&d.pagination&&(d.pagination.el||g)&&(y.pagination||!1===y.pagination)&&_&&!_.el&&(r=!0),h.includes("scrollbar")&&d.scrollbar&&(d.scrollbar.el||m)&&(y.scrollbar||!1===y.scrollbar)&&x&&!x.el&&(i=!0),h.includes("navigation")&&d.navigation&&(d.navigation.prevEl||p)&&(d.navigation.nextEl||f)&&(y.navigation||!1===y.navigation)&&b&&!b.prevEl&&!b.nextEl&&(a=!0);(h.includes("loop")&&u.isElement&&(y.loop&&!d.loop?s=!0:!y.loop&&d.loop?o=!0:l=!0),v.forEach((function(e){if(QO(y[e])&&QO
2(d[e]))$O(y[e],d[e]);else{var t=d[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?y[e]=d[e]:!1===t&&u[n=e]&&(u[n].destroy(),"navigation"===n?(u.isElement&&(u[n].prevEl.remove(),u[n].nextEl.remove()),y[n].prevEl=void 0,y[n].nextEl=void 0,u[n].prevEl=void 0,u[n].nextEl=void 0):(u.isElement&&u[n].el.remove(),y[n].el=void 0,u[n].el=void 0))}var n})),v.includes("controller")&&!n&&u.controller&&u.controller.control&&y.controller&&y.controller.control&&(u.controller.control=y.controller.control),h.includes("children")&&c&&T&&y.virtual.enabled&&(T.slides=c,T.update(!0)),h.includes("children")&&c&&y.loop&&(l=!0),t)&&(w.init()&&w.update(!0));n&&(u.controller.control=y.controller.control),r&&(!u.isElement||g&&"string"!==typeof g||((g=document.createElement("div")).classList.add("swiper-pagination"),u.el.shadowEl.appendChild(g)),g&&(y.pagination.el=g),_.init(),_.render(),_.update()),i&&(!u.isElement||m&&"string"!==typeof m||((m=document.createElement("div")).classList.add("swiper-scrollbar"),u.el.shadowEl.appendChild(m)),m&&(y.scrollbar.el=m),x.init(),x.updateSize(),x.setTranslate()),a&&(u.isElement&&(f&&"string"!==typeof f||((f=document.createElement("div")).classList.add("swiper-button-next"),u.el.shadowEl.appendChild(f)),p&&"string"!==typeof p||((p=document.createElement("div")).classList.add("swiper-button-prev"),u.el.shadowEl.appendChild(p))),f&&(y.navigation.nextEl=f),p&&(y.navigation.prevEl=p),b.init(),b.update()),h.includes("allowSlideNext")&&(u.allowSlideNext=d.allowSlideNext),h.includes("allowSlidePrev")&&(u.allowSlidePrev=d.allowSlidePrev),h.includes("direction")&&u.changeDirection(d.direction,!1),(s||l)&&u.loopDestroy(),(o||l)&&u.loopCreate(),u.update()}function uD(e,t){return"undefined"===typeof window?(0,a.useEffect)(e,t):(0,a.useLayoutEffect)(e,t)}var cD=(0,a.createContext)(null),dD=(0,a.createContext)(null),hD=["className","tag","wrapperTag","children","onSwiper"];function fD(){return fD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fD.apply(this,arguments)}var pD=(0,a.forwardRef)((function(e,t){var n=void 0===e?{}:e,r=n.className,i=n.tag,s=void 0===i?"div":i,o=n.wrapperTag,l=void 0===o?"div":o,u=n.children,c=n.onSwiper,d=KO(n,hD),f=!1,p=h((0,a.useState)("swiper"),2),m=p[0],g=p[1],v=h((0,a.useState)(null),2),y=v[0],_=v[1],b=h((0,a.useState)(!1),2),x=b[0],T=b[1],w=(0,a.useRef)(!1),S=(0,a.useRef)(null),E=(0,a.useRef)(null),k=(0,a.useRef)(null),C=(0,a.useRef)(null),P=(0,a.useRef)(null),A=(0,a.useRef)(null),I=(0,a.useRef)(null),O=(0,a.useRef)(null),D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={on:{}},r={},i={};$O(n,YO.defaults),$O(n,YO.extendedDefaults),n._emitClasses=!0,n.init=!1;var a={},s=iD.map((function(e){return e.replace(/_/,"")})),o=Object.assign({},e);return Object.keys(o).forEach((function(o){"undefined"!==typeof e[o]&&(s.indexOf(o)>=0?QO(e[o])?(n[o]={},i[o]={},$O(n[o],e[o]),$O(i[o],e[o])):(n[o]=e[o],i[o]=e[o]):0===o.search(/on[A-Z]/)&&"function"===typeof e[o]?t?r["".concat(o[2].toLowerCase()).concat(o.substr(3))]=e[o]:n.on["".concat(o[2].toLowerCase()).concat(o.substr(3))]=e[o]:a[o]=e[o])})),["navigation","pagination","scrollbar"].forEach((function(e){!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:i,rest:a,events:r}}(d),M=D.params,N=D.passedParams,R=D.rest,L=D.events,j=oD(u),F=j.slides,B=j.slots,U=function(){T(!x)};Object.assign(M.on,{_containerClasses:function(e,t){g(t)}});var V=function(){Object.assign(M.on,L),f=!0;var e=Bc({},M);if(delete e.wrapperClass,E.current=new YO(e),E.current.virtual&&E.current.params.virtual.enabled){E.current.virtual.slides=F;var t={cache:!1,slides:F,renderExternal:_,renderExternalUpdate:!1};$O(E.current.params.virtual,t),$O(E.current.originalParams.virtual,t)}};S.current||V(),E.current&&E.current.on("_beforeBreakpoint",U);return(0,a.useEffect)((function(){return function(){E.current&&E.current.off("_beforeBreakpoint",U)}})),(0,a.useEffect)((function(){!w.current&&E.current&&(E.current.emitSlidesClasses(),w.current=!0)})),uD((function(){if(t&&(t.current=S.current),S.current)return E.current.destroyed&&V(),function(e,t){var n=e.el,r=e.nextEl,i=e.prevEl,a=e.paginationEl,s=e.scrollbarEl,o=e.swiper;JO(t)&&r&&i&&(o.params.navigation.nextEl=r,o.originalParams.navigation.nextEl=r,o.params.navigation.prevEl=i,o.originalParams.navigation.prevEl=i),eD(t)&&a&&(o.params.pagination.el=a,o.originalParams.pagination.el=a),tD(t)&&s&&(o.params.scrollbar.el=s,o.originalParams.scrollbar.el=s),o.init(n)}({el:S.current,nextEl:P.current,prevEl:A.current,paginationEl:I.current,scrollbarEl:O.current,swiper:E.current},M),c&&c(E.current),function(){E.current&&!E.current.destroyed&&E.current.destroy(!0,!1)}}
2),[]),uD((function(){!f&&L&&E.current&&Object.keys(L).forEach((function(e){E.current.on(e,L[e])}));var e=function(e,t,n,r,i){var a=[];if(!t)return a;var s=function(e){a.indexOf(e)<0&&a.push(e)};if(n&&r){var o=r.map(i),l=n.map(i);o.join("")!==l.join("")&&s("children"),r.length!==n.length&&s("children")}return iD.filter((function(e){return"_"===e[0]})).map((function(e){return e.replace(/_/,"")})).forEach((function(n){if(n in e&&n in t)if(QO(e[n])&&QO(t[n])){var r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?s(n):(r.forEach((function(r){e[n][r]!==t[n][r]&&s(n)})),i.forEach((function(r){e[n][r]!==t[n][r]&&s(n)})))}else e[n]!==t[n]&&s(n)})),a}(N,k.current,F,C.current,(function(e){return e.key}));return k.current=N,C.current=F,e.length&&E.current&&!E.current.destroyed&&lD({swiper:E.current,slides:F,passedParams:N,changedParams:e,nextEl:P.current,prevEl:A.current,scrollbarEl:O.current,paginationEl:I.current}),function(){L&&E.current&&Object.keys(L).forEach((function(e){E.current.off(e,L[e])}))}})),uD((function(){var e;!(e=E.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[y]),a.createElement(s,fD({ref:S,className:nD("".concat(m).concat(r?" ".concat(r):""))},R),a.createElement(dD.Provider,{value:E.current},B["container-start"],a.createElement(l,{className:rD(M.wrapperClass)},B["wrapper-start"],M.virtual?function(e,t,n){if(!n)return null;for(var r=function(e){var n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},i=e.isHorizontal()?Xe({},e.rtlTranslate?"right":"left","".concat(n.offset,"px")):{top:"".concat(n.offset,"px")},s=n.from,o=n.to,l=e.params.loop?-t.length:0,u=e.params.loop?2*t.length:t.length,c=[],d=l;d<u;d+=1)d>=s&&d<=o&&c.push(t[r(d)]);return c.map((function(t){return a.cloneElement(t,{swiper:e,style:i})}))}(E.current,F,y):F.map((function(e,t){return a.cloneElement(e,{swiper:E.current,swiperSlideIndex:t})})),B["wrapper-end"]),JO(M)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:A,className:"swiper-button-prev"}),a.createElement("div",{ref:P,className:"swiper-button-next"})),tD(M)&&a.createElement("div",{ref:O,className:"swiper-scrollbar"}),eD(M)&&a.createElement("div",{ref:I,className:"swiper-pagination"}),B["container-end"]))}));pD.displayName="Swiper";var mD=["tag","children","className","swiper","zoom","lazy","virtualIndex","swiperSlideIndex"];function gD(){return gD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gD.apply(this,arguments)}var vD=(0,a.forwardRef)((function(e,t){var n=void 0===e?{}:e,r=n.tag,i=void 0===r?"div":r,s=n.children,o=n.className,l=void 0===o?"":o,u=n.swiper,c=n.zoom,d=n.lazy,f=n.virtualIndex,p=n.swiperSlideIndex,m=KO(n,mD),g=(0,a.useRef)(null),v=h((0,a.useState)("swiper-slide"),2),y=v[0],_=v[1],b=h((0,a.useState)(!1),2),x=b[0],T=b[1];function w(e,t,n){t===g.current&&_(n)}uD((function(){if("undefined"!==typeof p&&(g.current.swiperSlideIndex=p),t&&(t.current=g.current),g.current&&u){if(!u.destroyed)return u.on("_slideClass",w),function(){u&&u.off("_slideClass",w)};"swiper-slide"!==y&&_("swiper-slide")}})),uD((function(){u&&g.current&&!u.destroyed&&_(u.getSlideClasses(g.current))}),[u]);var S={isActive:y.indexOf("swiper-slide-active")>=0,isVisible:y.indexOf("swiper-slide-visible")>=0,isPrev:y.indexOf("swiper-slide-prev")>=0,isNext:y.indexOf("swiper-slide-next")>=0},E=function(){return"function"===typeof s?s(S):s};return a.createElement(i,gD({ref:g,className:nD("".concat(y).concat(l?" ".concat(l):"")),"data-swiper-slide-index":f,onLoad:function(){T(!0)}},m),c&&a.createElement(cD.Provider,{value:S},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof c?c:void 0},E(),d&&!x&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!c&&a.createElement(cD.Provider,{value:S},E(),d&&!x&&a.createElement("div",{className:"swiper-lazy-preloader"})))}));vD.displayName="SwiperSlide";var yD=function(e){var t=ed(),r=(0,a.useRef)(null);return(0,a.useEffect)((function(){r.current&&(r.current.pause(),e.currentSlide===e.index?r.current.play():r.current.pause())}),[e.currentSlide]),(0,n.jsx)(n.Fragment,{children:t.width>cd?(0,n.jsx)("video",{ref:r,className:VI,src:t.width<=ld?e.item.mediaData.mediaMobile.url:e.item.mediaData.mediaDesktop.url,controls:!0}):(0,n.jsx)("video",{className:VI,controls:!0,children:(0,n.jsx)("source",{src:"".concat(t.width<=ld?e.item.mediaData.mediaMobile.url:e.item.mediaData.mediaDesktop.url,"#t=0.001"),type:"video/mp4"})})})},_D=function(e){var t=e.items,r=e.title,i=e.activeSlide,s=ed(),o=h((0,a.useState)(0),2),l=o[0],u=o[1],c=h(id(),2),d=c[0],f=c[1],p=h(id(),2),m=p[0],g=p[1];return(0,n.jsxs)("div",{className:NI,children:[(0,n.jsx)("div",{className:BI,children:(0,n.jsx)("h2",{children:r})}),(0,n.jsxs)("div",{className:RI,children:[(0,n.jsx)(pD,{style:{height:"100%",width:"100%"},modules:[XO],onSlideChange:function(e){return u(e.activeIndex)},slidesPerView:1,initialSlide:i,centeredSlides:!0,spaceBetween:0,speed:600,navigation:{prevEl:m,nextEl:d,disabledClass:"hidden"},children:t.map((function(e,t){return(0,n.jsx)(a.Fragment,{children:"video"===e.mediaType?(0,n.jsx)(vD,{children:(0,n.jsx)("div",{className:UI,children:(0,n.jsx)(yD,{item:e,index:t,currentSlide:l})})}):(0,n.jsx)(vD,{children:(0,n.jsx)("div",{className:UI,children:(0,n.jsx)(fI,{src:s.width<=ld?e.mediaData.mediaMobile.url:e.mediaData.mediaDesktop.url,width:s.width<=ld?e.mediaData.mediaMobile.width:e.mediaData.mediaDesktop.width,height:s.height<=ld?e.mediaData.mediaMobile.height:e.mediaData.mediaDesktop.height,alt:"Commercial Product Visuals",objectFit:"contain",bgColor:"transparent",lazy:!0})})})},t)}))}),(0,n.jsx)("button",{className:$e()(LI,zI,Xe({},jI,0===l)),ref:g,children:(0,n.jsx)("div",{className:FI,children:(0,n.jsx)(Vv,{className:$e()(HI,qI)})})}),(0,n.jsx)("button",{className:$e()(LI,GI,Xe({},jI,l===t.length-1)),ref:f,children:(0,n.jsx)("div",{className:FI,children:(0,n.jsx)(Vv,{className:$e()(HI,WI)})})})]})]})},bD="Vid_figure__UiV4g",xD="Vid_vid__cvzdY",TD="Vid_aspectRatio__Hp4sK";document.hasOwnProperty("lazyLoadInstance")||(document.lazyLoadInstance=new(hI())({elements_selector:".lazy"}));var wD=function(e){var t=e.src,r=void 0===t?"#":t,i=e.lazy,s=void 0!==i&&i,o=e.muted,l=void 0===o||o,u=e.loop,c=void 0===u||u,d=e.autoPlay,h=void 0===d||d,f=e.height,p=void 0===f?500:f,m=e.width,g=void 0===m?500:m,v=e.bgColor,y=void 0===v?"transparent":v;return(0,a.useEffect)((function(){document.lazyLoadInstance.update(
2)})),(0,n.jsxs)("figure",{className:bD,style:{background:y},children:[(0,n.jsx)("div",{className:TD,style:{"--aspectRatio":"".concat(p/g*100,"%")}}),s?(0,n.jsx)("video",{className:$e()(xD,"lazy"),muted:l,autoPlay:h,loop:c,playsInline:!0,children:(0,n.jsx)("source",{"data-src":r,type:"video/mp4"})}):(0,n.jsx)("video",{className:xD,muted:l,autoPlay:h,loop:c,playsInline:!0,children:(0,n.jsx)("source",{src:r,type:"video/mp4"})})]})},SD=function(e){var t=ed(),r=(0,a.useRef)(null),i=h((0,a.useState)(!1),2),s=i[0],o=i[1];return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:$e()(kI,Xe({},EI,s)),children:(0,n.jsx)("img",{className:OI,src:Iy,alt:"Play Icon"})}),(0,n.jsx)("img",{onClick:function(){null!==r.current&&(r.current.onplaying?(o(!1),r.current.pause()):(r.current.paused,o(!0),r.current.play()))},className:$e()(SI,Xe({},EI,s)),src:t.width<=ld?e.mediaData.mediaMobile.thumbnail:e.mediaData.mediaDesktop.thumbnail,alt:"Video Thumbnail"}),(0,n.jsx)("video",{ref:r,className:II,playsInline:!0,controls:!0,children:(0,n.jsx)("source",{src:e.mediaData.mediaDesktop.url,type:"video/mp4"})})]})},ED=function(e){var t=ed(),r=Td(),i=ed(),s=MI(),o=function(e){if(!(s.content.length<=0)){var t=s.content.findIndex((function(t){return t.mediaData.mediaDesktop.url.includes(e)}));r.setContent((0,n.jsx)("div",{className:CI,children:(0,n.jsx)(_D,{items:p(s.content),activeSlide:t,title:s.title})}
2)),r.toggle()}};return(0,n.jsx)("div",{className:$e()(xI,Xe({},PI,e.isPaddingX)),children:e.items.length>0&&Array.isArray(e.items)&&e.items.map((function(r,s){return(0,n.jsx)(a.Fragment,{children:"video"===r.mediaType?(0,n.jsx)("div",{className:TI,style:{width:"".concat(100/e.items.length,"%")},children:r.isAutoplay?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:AI,onClick:function(){return o(r.mediaData.mediaDesktop.url)},children:(0,n.jsx)(wD,{src:t.width<=ld?r.mediaData.mediaMobile.url:r.mediaData.mediaDesktop.url,width:t.width<=ld?r.mediaData.mediaMobile.width:r.mediaData.mediaDesktop.width,height:t.width<=ld?r.mediaData.mediaMobile.height:r.mediaData.mediaDesktop.height,lazy:!0,bgColor:"#dedede"})}),i.width>cd&&(0,n.jsx)("div",{className:wI,onClick:function(){o(r.mediaData.mediaDesktop.url)},children:"Enlarge"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(SD,Bc(Bc({},r),{},{src:t.width<=ld?r.mediaData.mediaMobile.url:r.mediaData.mediaDesktop.url})),(0,n.jsx)("div",{className:wI,onClick:function(){i.width>cd&&o(r.mediaData.mediaDesktop.url)},children:"Enlarge"})]})}):(0,n.jsxs)("div",{className:TI,style:{width:"".concat(100/e.items.length,"%")},onClick:function(){return o(r.mediaData.mediaDesktop.url)},children:[(0,n.jsx)(fI,{src:"".concat(dd[hd],"/jd-admin/assets/images/projects/").concat(e.workUrl,"/").concat(t.width<=ld?r.mediaData.mediaMobile.url:r.mediaData.mediaDesktop.url),width:t.width<=ld?r.mediaData.mediaMobile.width:r.mediaData.mediaDesktop.width,height:t.width<=ld?r.mediaData.mediaMobile.height:r.mediaData.mediaDesktop.height,alt:"Commercial Product Visuals",lazy:!0,bgColor:"#dedede"}),(0,n.jsx)("div",{className:wI,children:"Enlarge"})]})},s)}))})},kD="MediaSlider_mediaSlider__s8TSc",CD="MediaSlider_btnWrapper__dL-Q4",PD="MediaSlider_btnInner__+lcGT",AD="MediaSlider_mediaWrapper__-6bvM",ID="MediaSlider_img__3iUkO",OD="MediaSlider_video__Kk5Wa",DD="MediaSlider_btnPrev__t2+WD",MD="MediaSlider_btnNext__kwxnv",ND="MediaSlider_btnArrow__Y3WXz",RD="MediaSlider_next__Jq1Mj",LD="MediaSlider_prev__qbKW4",jD=function(e){var t=h((0,a.useState)(0),2),r=(t[0],t[1]),i=h(id(),2),s=i[0],o=i[1],l=h(id(),2),u=l[0],c=l[1],d=ed();return(0,n.jsxs)("div",{className:kD,children:[(0,n.jsx)(pD,{style:{width:"100%",height:"100%"},modules:[XO,ZO],onSlideChange:function(e){return r(e.activeIndex)},slidesPerView:1,spaceBetween:0,speed:600,navigation:{prevEl:u,nextEl:s,disabledClass:"hidden"},autoplay:{delay:2e3},loop:!0,children:Array.isArray(e.items)&&e.items.map((function(t,r){return(0,n.jsx)(a.Fragment,{children:"video"===t.mediaType?(0,n.jsx)(vD,{children:(0,n.jsx)("div",{className:AD,children:(0,n.jsx)("div",{className:OD,children:(0,n.jsx)(wD,{src:t.mediaData.mediaDesktop.url,width:(d.width,t.mediaData.mediaDesktop.width),height:(d.height,t.mediaData.mediaDesktop.height),lazy:!0,bgColor:"#dedede"})})})}):(0,n.jsx)(vD,{children:(0,n.jsx)("div",{className:AD,children:(0,n.jsx)("div",{className:ID,children:(0,n.jsx)(fI,{src:"".concat(dd[hd],"/jd-admin/assets/images/projects/").concat(e.workUrl,"/").concat(t.mediaData.mediaDesktop.url),width:(d.width,t.mediaData.mediaDesktop.width),height:(d.height,t.mediaData.mediaDesktop.height),lazy:!0,bgColor:"#dedede"})})})})},r)}))}),(0,n.jsx)("button",{className:$e()(CD,DD),ref:c,children:(0,n.jsx)("div",{className:PD,children:(0,n.jsx)(Vv,{className:$e()(ND,LD)})})}),(0,n.jsx)("button",{className:$e()(CD,MD),ref:o,children:(0,n.jsx)("div",{className:PD,children:(0,n.jsx)(Vv,{className:$e()(ND,RD)})})})]})},FD={hide:"WorkInfo_hide__uHnZn",show:"WorkInfo_show__QOxI9",cursorPointer:"WorkInfo_cursorPointer__+MWb+",absoluteCenter:"WorkInfo_absoluteCenter__-76BA",absoluteStretch:"WorkInfo_absoluteStretch__DkJe9",flexCenterX:"WorkInfo_flexCenterX__du8j6",workInfo:"WorkInfo_workInfo__CteyL",details:"WorkInfo_details__D8GXp",text:"WorkInfo_text__kUqO-",description:"WorkInfo_description__Qkv30",viewMoreBtnTouch:"WorkInfo_viewMoreBtnTouch__FYsNY",btnReadMore:"WorkInfo_btnReadMore__8ql5l",flexStart:"WorkInfo_flexStart__ah2Yi",flexStartX:"WorkInfo_flexStartX__dpWC7",flexEndX:"WorkInfo_flexEndX__La+2Z",flexCenterY:"WorkInfo_flexCenterY__CjPi7",flexStartY:"WorkInfo_flexStartY__H8nJO",flexEndY:"WorkInfo_flexEndY__V2HGr",flexBetweenX:"WorkInfo_flexBetweenX__n6f8N",flexBetweenY:"WorkInfo_flexBetweenY__sbCW7",mediaWrapper:"WorkInfo_mediaWrapper__ZUyTT",projectVid:"WorkInfo_projectVid__bGOeW",award:"WorkInfo_award__gxPq5",title:"WorkInfo_title__6U1OP",company:"WorkInfo_company__O88X+",service:"WorkInfo_service__xFfBv",seperator:"WorkInfo_seperator__49ero",left:"WorkInfo_left__vfiF+",col:"WorkInfo_col__sVgvf",item:"WorkInfo_item__nuzJ+",infoTitle:"WorkInfo_infoTitle__L2fQU",trophy:"WorkInfo_trophy__vBQl8",par:"WorkInfo_par__BTZfP",awards:"WorkInfo_awards__xBcOa",link:"WorkInfo_link__rr-b8",descTitle:"WorkInfo_descTitle__smw6V",descTextWrapper:"WorkInfo_descTextWrapper__dcjJS",expanded:"WorkInfo_expanded__qXPoi",de
2scText:"WorkInfo_descText__tC-+N",press:"WorkInfo_press__BW8V9",btnText:"WorkInfo_btnText__NzAa7",arrowW:"WorkInfo_arrowW__HZt85",iconRightArrow:"WorkInfo_iconRightArrow__QG8Cx",arrow:"WorkInfo_arrow__wy9BN",modalContent:"WorkInfo_modalContent__SakG3",imgW:"WorkInfo_imgW__hUCNw",img:"WorkInfo_img__eio-X",info:"WorkInfo_info__a9sqm"},BD=function(e){var t,r,i=ed(),s=Td(),o=h((0,a.useState)(!1),2),l=o[0],u=o[1],c=(0,a.useRef)(null),d=(0,a.useRef)(null),f=h((0,a.useState)(null),2),p=f[0],m=f[1],g=h((0,a.useState)(!1),2),v=g[0],y=g[1];(0,a.useEffect)((function(){var e,t=null===d||void 0===d||null===(e=d.current)||void 0===e?void 0:e.clientHeight;t&&m(t)}),[]);var _=(0,n.jsxs)("div",{className:FD.modalContent,children:[(0,n.jsx)("div",{className:FD.imgW,children:"video"===e.mediaType?(0,n.jsx)("video",{className:FD.projectVid,src:i.width>ld?e.mediaSrc:e.mediaSrcMobile,autoPlay:!0,playsInline:!0,loop:!0,muted:!0}):(0,n.jsx)("img",{loading:"eager",className:FD.img,src:i.width>ld?e.mediaSrc:e.mediaSrcMobile,alt:"Project Banner"})}),(0,n.jsxs)("div",{className:FD.info,children:[(0,n.jsx)("h2",{className:FD.descTitle,children:"THE CASE"}),(0,n.jsx)("div",{className:FD.descText,ref:c,style:{maxHeight:"".concat(v?p:.6*i.width)},children:e.case.detail&&(0,n.jsx)("div",{className:FD.wrInner,ref:d,dangerouslySetInnerHTML:{__html:e.case.detail}})})]})]}),b=$a();return(0,a.useEffect)((function(){return b.setTheme("LIGHT"),function(){b.setTheme("DARK")}}),[]),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("section",{className:FD.workInfo,children:[(0,n.jsx)("div",{className:FD.mediaWrapper,children:"video"===e.mediaType?(0,n.jsx)("div",{className:FD.projectVid,children:(0,n.jsx)(wD,{src:i.width>ld?e.mediaSrc:e.mediaSrcMobile,lazy:!0,autoPlay:!0,loop:!0,muted:!0})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(fI,{src:i.width>ld?e.mediaSrc:e.mediaSrcMobile,alt:"Project Visual",lazy:!0}),e.awardImage&&(0,n.jsx)("img",{className:FD.award,src:e.awardImage,alt:"Award Visual"})]})}),(0,n.jsxs)("div",{className:FD.details,children:[(0,n.jsxs)("div",{className:FD.title,children:[(0,n.jsx)("small",{children:"PROJECT"}),(0,n.jsxs)("h1",{children:[(0,n.jsxs)("span",{className:FD.company,children:[e.title," ",(0,n.jsx)("br",{})]}),e.service&&(0,n.jsx)("span",{className:FD.seperator,children:" | "}),(0,n.jsx)("span",{className:FD.service,children:e.service})]})]}),(0,n.jsxs)("div",{className:FD.text,children:[(0,n.jsxs)("div",{className:FD.left,children:[(0,n.jsxs)("div",{className:FD.col,children:[e.client&&(0,n.jsxs)("div",{className:FD.item,children:[(0,n.jsx)("h5",{className:FD.infoTitle,children:"CLIENT"}),(0,n.jsx)("p",{className:FD.par,children:e.client})]}),e.clientType&&(0,n.jsxs)("div",{className:FD.item,children:[(0,n.jsx)("h5",{className:FD.infoTitle,children:"CLIENT TYPE"}),e.clientType.map((function(e,t){return(0,n.jsx)("p",{className:FD.par,children:e},t)}))]}),e.award&&(0,n.jsxs)("div",{className:FD.item,children:[(0,n.jsx)("h5",{className:FD.infoTitle,children:"AWARDS"}),e.award.map((function(e){return(0,n.jsx)(n.Fragment,{children:e.ui.split("<br>").map((function(t,r){return(0,n.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",className:$e()(FD.par,FD.awards),children:t},r)}))})}))]}),e.media&&(0,n.jsxs)("div",{className:FD.item,children:[(0,n.jsx)("h5",{className:FD.infoTitle,children:"MEDIA"}),(null===(t=e.media)||void 0===t?void 0:t.length)>0&&e.media.map((function(e,t){return(0,n.jsx)("p",{className:FD.par,children:(0,n.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",className:$e()(FD.par,FD.link),children:e.ui})},t)}))]})]}),(0,n.jsxs)("div",{className:FD.col,children:[e.market&&(0,n.jsxs)("div",{className:FD.item,children:[(0,n.jsx)("h5",{className:FD.infoTitle,children:"MARKET"}),(0,n.jsx)("p",{className:FD.par,children:e.market})]}),e.website&&(0,n.jsxs)("div",{className:FD.item,children:[(0,n.jsx)("h5",{className:FD.infoTitle,children:"WEBSITE"}),(0,n.jsx)("a",{href:null===(r=e.website)||void 0===r?void 0:r.url,target:"_blank",rel:"noreferrer",className:$e()(FD.par,FD.link),children:e.website.ui})]})]}),(0,n.jsx)("div",{className:FD.col,children:e.services&&(0,n.jsxs)("div",{className:FD.item,children:[(0,n.jsx)("h5",{className:FD.infoTitle,children:"SERVICES"}),e.services.map((function(e,t){return(0,n.jsx)("p",{className:FD.par,children:e},t)}))]})})]}),(0,n.jsxs)("div",{className:FD.description,children:[(0,n.jsx)("h2",{className:FD.descTitle,children:"THE CASE"}),(0,n.jsx)("div",{className:$e()(FD.descTextWrapper,Xe({},FD.expanded,l)),style:{maxHeight:"".concat(v?p:.73*window.innerWidth,"px")}
2,ref:c,children:(0,n.jsxs)("div",{className:FD.wrInner,ref:d,children:[i.width>ld?(0,n.jsx)(n.Fragment,{children:e.case.summary&&(0,n.jsx)("p",{className:FD.descText,dangerouslySetInnerHTML:{__html:e.case.summary}})}):(0,n.jsx)(n.Fragment,{children:e.case.detail?(0,n.jsx)("p",{className:FD.descText,dangerouslySetInnerHTML:{__html:e.case.detail}}):(0,n.jsx)("p",{className:FD.descText,dangerouslySetInnerHTML:{__html:e.case.summary}})}),(0,n.jsx)("div",{className:FD.press,children:e.case.mediaLink&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e.case.mediaLink}})})]})}),e.case.detail&&(0,n.jsxs)("button",{className:FD.btnReadMore,onClick:function(){i.width<cd||(s.setContent(_),s.toggle())},children:[(0,n.jsx)("p",{className:FD.btnText,children:"READ MORE"}),(0,n.jsx)("div",{className:FD.arrowW,children:(0,n.jsx)(yv,{})})]}),i.width<ld&&(0,n.jsxs)("button",{onClick:function(){y((function(e){return!e})),u((function(e){return!e}))},className:FD.viewMoreBtnTouch,children:[(0,n.jsx)("p",{children:l?"CLOSE":"READ MORE"}),(0,n.jsx)("div",{className:FD.iconRightArrow,style:{transition:"1.2s all ease",transform:l?"rotate(-45deg)":"rotate(135deg)"},children:(0,n.jsx)("img",{className:FD.arrow,src:zv,alt:"Arrow"})})]})]})]})]})]})})},UD={hide:"OtherWorks_hide__Jm7Et",otherWorks:"OtherWorks_otherWorks__R7MWC",btnWrapper:"OtherWorks_btnWrapper__po2Oc",disabled:"OtherWorks_disabled__Xzn+j",show:"OtherWorks_show__nmVxJ",cursorPointer:"OtherWorks_cursorPointer__lORKz",sliderItem:"OtherWorks_sliderItem__S3T+y",info:"OtherWorks_info__klrAG",cardBtn:"OtherWorks_cardBtn__9iAIY",absoluteCenter:"OtherWorks_absoluteCenter__MmJYI",absoluteStretch:"OtherWorks_absoluteStretch__dbu4T",flexCenterX:"OtherWorks_flexCenterX__hnh+f",btnInner:"OtherWorks_btnInner__CwjCs",flexStart:"OtherWorks_flexStart__f7ADq",flexStartX:"OtherWorks_flexStartX__dTCnF",flexEndX:"OtherWorks_flexEndX__nYKuH",flexCenterY:"OtherWorks_flexCenterY__UaUjf",flexStartY:"OtherWorks_flexStartY__SlQRt",flexEndY:"OtherWorks_flexEndY__QhpJN",flexBetweenX:"OtherWorks_flexBetweenX__eZ05m",flexBetweenY:"OtherWorks_flexBetweenY__+4LP4",mediaWrapper:"OtherWorks_mediaWrapper__dbTRy",media:"OtherWorks_media__UHXlZ",award:"OtherWorks_award__5V+5H",cardTagWrapper:"OtherWorks_cardTagWrapper__ROP4v",cardTag:"OtherWorks_cardTag__y6ftE",title:"OtherWorks_title__NS5iR",text:"OtherWorks_text__pGBYj",btnText:"OtherWorks_btnText__s+IR6",dark:"OtherWorks_dark__2Jn2D",light:"OtherWorks_light__1N2h1",btnPrev:"OtherWorks_btnPrev__gjnTW",btnNext:"OtherWorks_btnNext__H22qL",btnArrow:"OtherWorks_btnArrow__vAhyX",next:"OtherWorks_next__2r9KD",prev:"OtherWorks_prev__gCsLS"},VD=function(e){var t=e.works,r=h((0,a.useState)(0),2),i=r[0],s=r[1],o=h(id(),2),l=o[0],u=o[1],c=h(id(),2),d=c[0],f=c[1],p=ed(),m=Lc();return(0,n.jsxs)("div",{className:UD.otherWorks,children:[(0,n.jsx)(pD,{style:{width:"100%",height:"100%"},modules:[XO],onSlideChange:function(e){return s(e.activeIndex)},slidesPerView:1,loop:!0,breakpoints:{641:{spaceBetween:50,slidesPerView:1.2}},spaceBetween:0,speed:600,navigation:{prevEl:d,nextEl:l,disabledClass:"hidden"},children:Array.isArray(t)&&t.map((function(e,t){return(0,n.jsx)(vD,{children:(0,n.jsx)(We,{className:UD.hoverW,to:"/works/".concat(e.url),children:(0,n.jsxs)("div",{className:UD.sliderItem,children:[(0,n.jsx)("div",Bc(Bc(Bc({className:UD.mediaWrapper},p.width>cd&&{onMouseEnter:function(){m.toggleText()}}),p.width>cd&&{onMouseLeave:function(){m.toggleText(),m.toggleDefault()}}),{},{children:"video"===e.mediaType?(0,n.jsx)(wD,{src:p.width>ld?e.mediaSrcDesktop:e.mediaSrcMobile,lazy:!0,bgColor:"#dedede"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(fI,{src:p.width>ld?e.mediaSrcDesktop:e.mediaSrcMobile,alt:"Project Cover",lazy:!0,bgColor:"#dedede"}),e.awardImage&&(0,n.jsx)("img",{className:"award",src:e.awardImage,alt:"Award Visual"})]})})),(0,n.jsxs)("div",{className:UD.info,children:[(0,n.jsx)("div",{className:UD.cardTagWrapper,children:e.services&&e.services.map((function(e,t){return(0,n.jsx)("small",{className:UD.cardTag,children:e},t)}))}),(0,n.jsx)("h5",{className:UD.title,children:e.title}),(0,n.jsx)("div",{className:UD.cardBtn,children:(0,n.jsx)("p",{className:UD.btnText,children:"SEE FULL WORK"})})]})]})})},e.id)}))}
2),(0,n.jsx)("button",{className:$e()(UD.btnWrapper,UD.btnPrev,Xe({},UD.disabled,0===i)),ref:f,children:(0,n.jsx)("div",{className:UD.btnInner,children:(0,n.jsx)(Vv,{className:$e()(UD.btnArrow,UD.prev)})})}),(0,n.jsx)("button",{className:$e()(UD.btnWrapper,UD.btnNext,Xe({},UD.disabled,i===t.length-1)),ref:u,children:(0,n.jsx)("div",{className:UD.btnInner,children:(0,n.jsx)(Vv,{className:$e()(UD.btnArrow,UD.next)})})})]})},zD={workInfo:BD,mediaContainer:ED,asymmetricMediaContainer:pI,mediaSlider:jD,imageReveal:bI},GD=function(){var e=Se().workUrl,r=ed(),i=function(){var t=lh(sh().mark((function t(){var n,r;return sh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={url:e},t.next=3,Cg.get("/works/workDetail.php",{params:n});case 3:return r=t.sent,t.abrupt("return",r.data);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),s=(0,t.useQuery)(["work-info",e],i,{enabled:!0,retry:2}),o=(s.isLoading,s.data);console.log("data",o);var l=MI();return(0,a.useEffect)((function(){if(o){var e=p(o.allMedia);l.setContent(e),l.setTitle(o.components[0].propData.title)}}),[o]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(vf,{children:[(0,n.jsx)("meta",{charSet:"utf-8"}),o&&!o.googleSnippet&&(0,n.jsx)("meta",{name:"robots",content:"nosnippet"}),(0,n.jsx)("title",{children:"JUST DESIGN FX | ".concat(o&&o.components[0].propData.title||"")}),(0,n.jsx)("link",{rel:"canonical",href:"https://justdesignfx.com/works/".concat(o&&o.folderName)})]}),(0,n.jsxs)("main",{className:QA,children:[o&&Array.isArray(o.components)&&o.components.map((function(e,t){return function(e,t){return"undefined"!==typeof zD[e.component]?a.createElement(zD[e.component],Bc(Bc({},e.propData),{},{key:t,workUrl:o.folderName})):a.createElement((function(){return(0,n.jsxs)("div",{children:["The component ",e.component," has not been created yet."]})}),{key:t})}(e,t)})),(0,n.jsxs)("div",{className:$A,children:[r.width<=cd?(0,n.jsx)(ZA,{children:(0,n.jsx)("div",{className:JA,children:(0,n.jsxs)("div",{className:eI,children:[(0,n.jsx)("span",{className:tI,children:"OTHER"}),(0,n.jsxs)("span",{className:tI,children:["PR",(0,n.jsx)("span",{className:nI,children:"O"}),"JECTS."]})]})})}):(0,n.jsx)(Ny,{direction:-1,children:(0,n.jsx)("div",{className:JA,children:(0,n.jsxs)("div",{className:eI,children:[(0,n.jsx)("span",{className:tI,children:"OTHER"}),(0,n.jsxs)("span",{className:tI,children:["PR",(0,n.jsx)("span",{className:nI,children:"O"}),"JECTS."]})]})})}),(0,n.jsx)("img",{src:iI,className:rI,alt:"See Other Cool Stuffs Smiley"})]}),o&&Array.isArray(o.otherWorks)&&(0,n.jsx)(VD,{works:p(o.otherWorks)})]}),(0,n.jsx)(bv,{})]})},HD="Works_works__LqIMU",WD="Works_worksFilter__jnvQ-",qD="Works_formContainer__yP1OA",YD="Works_inputContainer__aSgms",XD="Works_label__leer-",ZD="Works_hidden__dwlTa",KD="Works_notFound__R9mbE",QD="Works_title__9gcIl",$D="Works_search__aNtWx",JD="Works_searchInput__i4J+5",eM="Works_iconWrapper__sXEwi",tM="Works_worksList__z5Rw-",nM="Works_notFoundText__isEkj",rM="Works_link__dtz7n",iM="Dropdown_selectInput__-RaCs",aM="Dropdown_label__uDjnF",sM="Dropdown_iconW__JmrVS",oM="Dropdown_options__mcNvI",lM="Dropdown_option__wmDXQ";var uM=__webpack_require__.p+"static/media/dropdown-arrow.117a93777469b7e314bade8dcfce2d63.svg",cM=function(e){var t,r,i=e.options,s=e.onChange,o=e.label,l=e.defaultValue,u=e.selectedOption,c=void 0===u?l:u,d=(0,a.useRef)(null),f=(0,a.useRef)(null),p=h((0,a.useState)(!1),2),m=p[0],g=p[1];return ad(d,(function(){m&&g(!1)})),(0,n.jsxs)("div",{className:iM,onClick:function(){return g(!m)},ref:d,children:[o||l&&(0,n.jsx)("label",{className:aM,children:(t="".concat(c?c.title.replace("<br> ",""):o),r=26,t.length<=r?t:t.slice(0,r)+"...")}),m&&(0,n.jsxs)("ul",{className:$e()(oM,Xe({},lM,m)),ref:f,children:[(0,n.jsx)("li",{className:$e()(lM),onClick:function(){g(!1),s(l.id)},children:l.title},l.id),i&&i.length>0&&i.map((function(e){return(0,n.jsx)("li",{className:$e()(lM),onClick:function(){g(!1),s(e.id)},children:e.title.replace("<br> ","")},e.id)}))]}),(0,n.jsx)("div",{className:sM,children:(0,n.jsx)(fI,{src:uM,objectFit:"contain"})})]})},dM="WorkCard_card__v8PCo",hM="WorkCard_mediaContainer__LvmMa",fM="WorkCard_award__99gCI",pM="WorkCard_video__aTGU3",mM="WorkCard_image__SIT1W",gM="WorkCard_title__MPVf2",vM=function(e){var t=h((0,a.useState)(!1),2),r=t[0],i=t[1],s=ed(),o=Lc();return(0,n.jsxs)(We,{to:"/works/".concat(e.url),className:dM,children:[(0,n.jsx)("div",Bc(Bc(Bc({className:hM},s.width>cd&&{onMouseEnter:function(){o.toggleText()}}),s.width>cd&&{onMouseLeave:function(){o.toggleText(),o.toggleDefault()}}),{},{children:"video"===e.mediaType?(0,n.jsx)("video",{onLoadedData:function(){i(!0)},style:{opacity:r?1:0,transition:"0.4s all ease"}
2,className:pM,src:e.mediaSrcDesktop,autoPlay:!0,playsInline:!0,loop:!0,muted:!0}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{onLoad:function(){i(!0)},style:{opacity:r?1:0,transition:"0.4s all ease"},className:mM,src:e.mediaSrcDesktop,alt:"Project Visual"}),e.awardImage&&(0,n.jsx)("img",{className:fM,src:e.awardImage,alt:"Award Visual"})]})})),(0,n.jsx)("h3",{className:gM,children:e.title})]})};var yM=__webpack_require__.p+"static/media/search-icon.5660358bf4b4e56307c470995b85b1ee.svg";var _M=__webpack_require__.p+"static/media/not-found-works.b2df704de733239474b5f37d1b220571.svg",bM=function(){ed();var e=$a(),r=(0,a.useRef)(null),i=(0,a.useRef)(null),s=(0,a.useRef)(null),o=Ev(),l=o.filters,u=o.setService,c=o.setClientType,d=o.resetFilters,f=h((0,a.useState)(""),2),p=f[0],m=f[1];(0,a.useEffect)((function(){return e.setTheme("LIGHT"),window.onbeforeunload=function(){d()},function(){e.setTheme("DARK")}}),[]);var g=function(){var e=lh(sh().mark((function e(){var t;return sh().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Cg.get("/works/clientTypes.php");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),v=(0,t.useQuery)(["client-type"],g,{enabled:!0,retry:2}),y=(v.isLoading,v.data),_=function(){var e=lh(sh().mark((function e(){var t;return sh().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Cg.get("/works/services.php");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),b=(0,t.useQuery)(["services"],_,{enabled:!0,retry:2}),x=(b.isLoading,b.data),T=function(){var e=lh(sh().mark((function e(){var t,n;return sh().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Bc(Bc({},l),{},{keyword:p}),e.next=3,Cg.post("/works/works.php",Bc({},t));case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=(0,t.useQuery)(["works",l,p],T,{enabled:!0,retry:2,onError:function(e){var t;console.log("FETCH ERROR",(null===(t=e.response)||void 0===t?void 0:t.data)||e)}}),S=w.isLoading,E=w.data,k=Lc();(0,a.useEffect)((function(){k.toggleDefault()}),[l]);var C=function(e,t){return e.filter((function(e){return e.id===t}))[0]},P=function(e){e.preventDefault(),"focus"===e.type&&e?e.target.labels[0].style.opacity="0":"blur"===e.type&&e&&(e.target.labels[0].style.opacity="0.3")};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(vf,{children:[(0,n.jsx)("meta",{charSet:"utf-8"}),(0,n.jsx)("title",{children:"JUST DESIGN FX | Works"}),(0,n.jsx)("meta",{name:"description",content:"Take a look at what we\u2019ve done. View our selection of branding and website projects."}),(0,n.jsx)("link",{rel:"canonical",href:"https://justdesignfx.com/works"})]}),(0,n.jsxs)("main",{className:HD,children:[(0,n.jsxs)("section",{className:WD,ref:r,children:[(0,n.jsx)("h1",{className:QD,children:"OUR WORKS"}),(0,n.jsxs)("form",{className:qD,onSubmit:function(e){return e.preventDefault()},children:[x&&Array.isArray(x)&&(0,n.jsx)("div",{className:YD,children:(0,n.jsx)(cM,{options:x,onChange:function(e){Va.to(i.current,{autoAlpha:0,duration:.4,pointerEvents:"none",onComplete:function(){u(e),""!==p&&m(""),Va.to(i.current,{delay:.4,autoAlpha:1,pointerEvents:"auto"})}})},defaultValue:{id:"",title:"Type of Work"},selectedOption:C(x,l.service)})}),y&&Array.isArray(y)&&(0,n.jsx)("div",{className:YD,children:(0,n.jsx)(cM,{options:y,onChange:function(e){Va.to(i.current,{autoAlpha:0,duration:.4,pointerEvents:"none",onComplete:function(){c(e),""!==p&&m(""),Va.to(i.current,{delay:.4,autoAlpha:1,pointerEvents:"auto"})}})},defaultValue:{id:"",title:"Type of Client"},selectedOption:C(y,l.clientType)})}),(0,n.jsxs)("div",{className:$e()(YD,$D),children:[(0,n.jsx)("div",{className:eM,children:(0,n.jsx)("img",{src:yM,alt:"search Icon"})}),(0,n.jsx)("label",{className:$e()(XD,Xe({},ZD,p)),htmlFor:"search",children:"Search work by client, type, keyword"}),(0,n.jsx)("input",{className:JD,id:"search",name:"search",type:"text",onCh
2ange:function(e){var t=e.currentTarget.value;""===l.clientType&&""===l.service||Va.to(i.current,{autoAlpha:0,duration:.4,pointerEvents:"none",onComplete:function(){c(""),u(""),Va.to(i.current,{delay:.4,autoAlpha:1,pointerEvents:"auto"})}}),m(t)},ref:s,onFocus:P,onBlur:P,value:p,autoComplete:"off"})]})]})]}),(0,n.jsx)("section",{className:HD,ref:i,children:!S&&(0,n.jsx)(n.Fragment,{children:E&&E.length>0&&Array.isArray(E)?(0,n.jsx)("div",{className:tM,children:E.map((function(e,t){return(0,a.createElement)(vM,Bc(Bc({},e),{},{key:t}))}))}):(0,n.jsxs)("div",{className:KD,children:[(0,n.jsx)("img",{src:_M,alt:"Not Found"}),(0,n.jsxs)("p",{className:nM,children:["Do you have a new project in mind?"," ",(0,n.jsx)(We,{className:rM,to:"/contact",state:{contactReason:"NEW_PROJECT"},children:"Reach out to us."})]})]})})})]}),(0,n.jsx)(bv,{})]})},xM="NotFound_notFoundPage__-xjY5";var TM=__webpack_require__.p+"static/media/not-found.026bd9c82adf52b2727b97baa8c594e9.svg",wM=function(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(vf,{children:(0,n.jsx)("meta",{name:"robots",content:"noindex"})}),(0,n.jsxs)("div",{className:xM,children:[(0,n.jsx)("img",{src:TM,alt:"404 Error Text With Upset Smiley"}),(0,n.jsx)("h1",{children:"Page Not Found"}),(0,n.jsx)("p",{children:"The Page you are looking for doesn't exist or an other error occured."})]})]})},SM="Unsubscribe_unsubscribeWrapper__je-tt",EM="Unsubscribe_borderWrapper__74OXM",kM="Unsubscribe_btn__J8tpX",CM="Unsubscribe_btnText__mwaS1",PM="Unsubscribe_reason__-xT3m",AM="Unsubscribe_formWrapper__ESuKm",IM="Unsubscribe_privacyCheck__kXnGN",OM="Unsubscribe_radioWrapper__tHs6v",DM="Unsubscribe_customRadio__b9gr6",MM="Unsubscribe_radioCheck__l4REi",NM="Unsubscribe_seeYou__PhcUF",RM="Unsubscribe_upset__dnDYn",LM="Unsubscribe_radioText__PVU0j",jM="Unsubscribe_disabled__NULLa",FM="Unsubscribe_resubscribedSuccessfully__2H0al",BM="Unsubscribe_resubscribe__cTaJD",UM="Unsubscribe_alreadyUnsubscribed__+xSBZ",VM="Unsubscribe_already__KcmvT";var zM=__webpack_require__.p+"static/media/smiley-upset.78ef32bb71951a937624b59d69f56655.svg",GM=function(){var e=Se().email,t=(0,a.useRef)(null),r=(we(),h((0,a.useState)(!1),2)),i=r[0],s=r[1],o=["I no longer want to receive these emails","Emails are too frequent","I never signed up to receive these emails","Emails are inappropriate","Emails are spam and should be reported"],l=h((0,a.useState)(null),2),u=l[0],c=l[1],d=h((0,a.useState)(null),2),f=d[0],p=d[1],m=function(){var t=lh(sh().mark((function t(){var n,r;return sh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Cg.post("/home/isUnsubscribed.php",{email:e});case 3:return n=t.sent,r=n.data,t.abrupt("return",r);case 8:if(t.prev=8,t.t0=t.catch(0),!kg.isAxiosError(t.t0)){t.next=15;break}return console.log("error message: ",t.t0.message),t.abrupt("return",t.t0.message);case 15:return console.log("unexpected error: ",t.t0),t.abrupt("return","An unexpected error occurred");case 17:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(){return t.apply(this,arguments)}}();(0,a.useEffect)((function(){m().then((function(e){e.success?_("FORM_SCREEN"):_("ALREADY_SCREEN")}))}),[]);var g=function(){var t=lh(sh().mark((function t(){var n,r;return sh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Cg.post("/home/unsubscribe.php",{email:e});case 3:return n=t.sent,r=n.data,t.abrupt("return",r);case 8:if(t.prev=8,t.t0=t.catch(0),!kg.isAxiosError(t.t0)){t.next=15;break}return console.log("error message: ",t.t0.message),t.abrupt("return",t.t0.message);case 15:return console.log("unexpected error: ",t.t0),t.abrupt("return","An unexpected error occurred");case 17:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(){return t.apply(this,arguments)}}(),v=function(t){if(t.preventDefault(),null!==u){var n=function(){var t=lh(sh().mark((function t(){var n,r;return sh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Cg.post("/home/unsubscribeReason.php",{email:e,unsubscribeReason:o[u]});case 3:return n=t.sent,r=n.data,t.abrupt("return",r);case 8:if(t.prev=8,t.t0=t.catch(0),!kg.isAxiosError(t.t0)){t.next=15;break}return console.log("error message: ",t.t0.message),t.abrupt("return",t.t0.message);case 15:return console.log("unexpected error: ",t.t0),t.abrupt("return","An unexpected error occurred");case 17:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(){return t.apply(this,arguments)}}();g().then((function(e){e.success&&n().then((function(e){e.success&&_("THANKS_SCREEN")}))}))}},y=function(){var t=function(){var t=lh(sh().mark((function t(){var n,r;return sh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Cg.post("/home/subscribe.php",{email:e});case 3:return n=t.sent,r=n.data,t.abrupt("return",r);case 8:if(t.prev=8,t.t0=t.catch(0),!kg.isAxiosError(t.t0)){t.next=15;break}return console.log("error message: ",t.t0.message),t.abrupt("return",t.t0.message);case 15:return console.log("unexpected error: ",t.t0),t.abrupt("return","An unexpected error occurred");case 17:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(){return t.apply(this,arguments)}}();t().then((function(e){e.success&&s(!0)}))},_=function(e){Va.to(t.current,{autoAlpha:0,duration:.3,onComplete:function(){p(e),Va.to(t.current,{autoAlpha:1,delay:.4,duration:.4})}})};return(0,a.useEffect)((function(){var e=document.querySelector("[data-hamburger-menu]");return Va.set(e,{autoAlpha:0}),function(){Va.set(e,{autoAlpha:1})}}),[]),(0,n.jsx)("div",{className:SM,children:(0,n.jsxs)("div",{className:EM,ref:t,children:[(0,n.jsx)("img",{className:RM,src:zM,alt:"Upset Smiley"}),function(){switch(f){case"THANKS_SCREEN":return(0,n.jsxs)("div",{className:NM,children:[(0,n.jsx)("h1",{children:"THANK YOU!"}),(0,n.jsx)(We,{to:"/",children:(0,n.jsx)("button",{className:kM,children:(0,n.jsx)("p",{className:CM,children:"HOMEPAGE"})})}),(0,n.jsx)("div",{children:i?(0,n.jsx)("p",{className:FM,children:"You have subscribed successfully!"}):(0,n.jsxs)("p",{className:BM,onClick:y,children:["Did you unsubscribe by mistake?"," ",(0,n.jsx)("span",{style:{textDecoration:"underline",cursor:"pointer"},children:"Resubscribe"})]})})]});case"ALREADY_SCREEN":return(0,n.jsx)("div",{className:UM,children:(0,n.jsxs)("p",{className:VM,children:["You have already unsubscribed."," ",(0,n.jsx)(We,{to:"/",style:{textDecoration:"underline",fontFamily:"VisbyCF-DemiBold"},children:"Go to homepage"})]})});default:return(0,n.jsxs)("div",{className:PM,children:[(0,n.jsxs)("h1",{children:["We\u2019re sad to let you go\u2026 ",(0,n.jsx)("br",{})," Hope to see you in ",(0,n.jsx)("span",{children:"the future."})]}),(0,n.jsx)("p",{children:"Please let us know why you\u2019re unsubscribing:"}),(0,n.jsxs)("form",{className:AM,onSubmit:v,children:[o.map((function(e,t){return(0,n.jsx)("div",{className:IM,onClick:function(){return function(e){c(e)}(t)},children:(0,n.jsxs)("div",{className:OM,children:[(0,n.jsx)("div",{className:DM,style:{opacity:u===t?"1":"0.6",transition:"0.2s opacity ease"},children:(0,n.jsx)("div",{className:MM,style:{opacity:u===t?"1":"0",visibility:u===t?"visible":"hidden",transition:"0.2s opacity ease"}})}),(0,n.jsx)("div",{className:LM,children:(0,n.jsx)("p",{children:e})})]})},t)})),(0,n.jsx)("button",{className:$e()(kM,Xe({},jM,null===u)),type:"submit",children:(0,n.jsx)("p",{className:CM,children:"SUBMIT"})})]})]})}}()]})})};var HM=function(){var e=ed(),t=Te(),r=h((0,a.useState)(t),2),i=r[0],s=r[1],o=$a(),l=Lc();(0,a.useEffect)((function(){ah.ZP.initialize("G-G91YDRN3MT")}),[]),(0,a.useEffect)((function(){var e=Array.from(document.querySelectorAll("[data-route-transition]"));t!==i&&Va.to(e,{opacity:0,pointerEvents:"none",duration:.3,ease:ki.easeInOut,onComplete:function(){window.scrollTo(0,0),Va.to(e,{opacity:1,pointerEvents:"auto",duration:.4,delay:1,ease:ki.easeInOut}),s(t)}})}),[t,i,e.width]),(0,a.useEffect)((function(){l.default||l.toggleDefault()}),[t]);var u=Ev().resetFilters;return(0,a.useEffect)((function(){"/works"!==t.pathname&&u()}),[t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(vf,{children:[(0,n.jsx)("meta",{charSet:"utf-8"}),(0,n.jsx)("title",{children:"JUST DESIGN FX | Branding, Packaging, and Web Design"}),(0,n.jsx)("meta",{name:"description",content:"We design iconic brands with future impact. JUST DESIGN FX is a future-focused brand and digital design agency with offices located in Istanbul and New York."}),(0,n.jsx)("link",{rel:"canonical",href:"https://justdesignfx.com/"})]}),(0,n.jsx)(ih,{location:i,children:(0,n.jsxs)("div",{className:$e()(Ze,Xe({},Ke,"DARK"===o.theme)),"data-route-transition":!0,children:[(0,n.jsx)(Ja,{}),(0,n.jsxs)(je,{location:i,children:[(0,n.jsx)(Re,{index:!0,element:(0,n.jsx)(KA,{})}),(0,n.jsx)(Re,{path:"works",element:(0,n.jsx)(bM,{})}),(0,n.jsx)(Re,{path:"works/:workUrl",element:(0,n.jsx)(GD,{})}),(0,n.jsx)(Re,{path:"contact",element:(0,n.jsx)(Gv,{})}),(0,n.jsx)(Re,{path:"about",element:(0,n.jsx)(kv,{})}),(0,n.jsx)(Re,{path:"unsubscribe/:email",element:(0,n.jsx)(GM,{})}),(0,n.jsx)(Re,{path:"*",element:(0,n.jsx)(wM,{})})]})]})})]})};o.createRoot(document.getElementById("root")).render((0,n.jsx)(a.StrictMode,{children:(0,n.jsx)(i,{children:(0,n.jsx)(Ge,{children:(0,n.jsx)(HM,{})})})}))}()})();
3//# sourceMappingURL=main.efdca09f.js.map

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.