PageSourceSearch

https://www.abudhabiart.ae/assets/AbuDhabiArt/js/vendors.min.js

js abudhabiart.ae collected 2026-10-02 07:59:43 UTC 1,577,682 bytes, 2 lines download raw bytes

vendor: 60,019 bytes, line 1
1!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(C,t){"use strict";function m(t){return null!=t&&t===t.window}var e=[],i=Object.getPrototypeOf,a=e.slice,g=e.flat?function(t){return e.flat.call(t)}:function(t){return e.concat.apply([],t)},l=e.push,s=e.indexOf,n={},r=n.toString,v=n.hasOwnProperty,o=v.toString,d=o.call(Object),y={},_=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},S=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(t,e,i){var n,s,r=(i=i||S).createElement("script");if(r.text=t,e)for(n in c)(s=e[n]||e.getAttribute&&e.getAttribute(n))&&r.setAttribute(n,s);i.head.appendChild(r).parentNode.removeChild(r)}function f(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?n[r.call(t)]||"object":typeof t}var u="3.5.1",x=function(t,e){return new x.fn.init(t,e)};function h(t){var e=!!t&&"length"in t&&t.length,i=f(t);return!_(t)&&!m(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}x.fn=x.prototype={jquery:u,constructor:x,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){t=x.merge(this.constructor(),t);return t.prevObject=this,t},each:function(t){return x.each(this,t)},map:function(i){return this.pushStack(x.map(this,function(t,e){return i.call(t,e,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},x.extend=x.fn.extend=function(){var t,e,i,n,s,r=arguments[0]||{},o=1,a=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[o]||{},o++),"object"==typeof r||_(r)||(r={}),o===a&&(r=this,o--);o<a;o++)if(null!=(t=arguments[o]))for(e in t)i=t[e],"__proto__"!==e&&r!==i&&(l&&i&&(x.isPlainObject(i)||(n=Array.isArray(i)))?(s=r[e],s=n&&!Array.isArray(s)?[]:n||x.isPlainObject(s)?s:{},n=!1,r[e]=x.extend(l,s,i)):void 0!==i&&(r[e]=i));return r},x.extend({expando:"jQuery"+(u+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){return!(!t||"[object Object]"!==r.call(t)||(t=i(t))&&("function"!=typeof(t=v.call(t,"constructor")&&t.constructor)||o.call(t)!==d))},isEmptyObject:function(t){for(var e in t)return!1;return!0},globalEval:function(t,e,i){b(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if(h(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},makeArray:function(t,e){e=e||[];return null!=t&&(h(Object(t))?x.merge(e,"string"==typeof t?[t]:t):l.call(e,t)),e},inArray:function(t,e,i){return null==e?-1:s.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,s=t.length;n<i;n++)t[s++]=e[n];return t.length=s,t},grep:function(t,e,i){for(var n=[],s=0,r=t.length,o=!i;s<r;s++)!e(t[s],s)!=o&&n.push(t[s]);return n},map:function(t,e,i){var n,s,r=0,o=[];if(h(t))for(n=t.length;r<n;r++)null!=(s=e(t[r],r,i))&&o.push(s);else for(r in t)null!=(s=e(t[r],r,i))&&o.push(s);return g(o)},guid:1,support:y}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=e[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){n["[object "+e+"]"]=e.toLowerCase()});var p=function(i){function u(t,e){return t="0x"+t.slice(1)-65536,e||(t<0?String.fromCharCode(65536+t):String.fromCharCode(t>>10|55296,1023&t|56320))}function n(){T()}var t,p,b,r,s,f,h,m,w,l,d,T,C,o,S,g,a,c,v,x="sizzle"+ +new Date,y=i.document,k=0,_=0,$=lt(),E=lt(),D=lt(),I=lt(),A=function(t,e){return t===e&&(d=!0),0},P={}.hasOwnProperty,e=[],M=e.pop,O=e.push,L=e.push,N=e.slice,R=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\["+j+"*("+B+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+j+"*\\]",U=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",z=new RegExp(j+"+","g"),q=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),W=new RegExp("^"+j+"*,"+j+"*"),V=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),Y=new RegExp(j+"|>"),G=new RegExp(U),K=new RegExp("^"+B+"$"),X={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,tt=/^[^{]+\{\s*\[native \w/,et=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,it=/[+~]/,nt=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),st=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=yt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{L.apply(e=N.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}catch(t){L={apply:e.length?function(t,e){O.apply(t,N.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function at(t,e,i,n){var s,r,o,a,l,d,c,u=e&&e.ownerDocument,h=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==h&&9!==h&&11!==h)return i;if(!n&&(T(e),e=e||C,S)){if(11!==h&&(l=et.exec(t)))if(s=l[1]){if(9===h){if(!(o=e.getElementById(s)))return i;if(o.id===s)return i.push(o),i}else if(u&&(o=u.getElementById(s))&&v(e,o)&&o.id===s)return i.push(o),i}else{if(l[2])return L.apply(i,e.getElementsByTagName(t)),i;if((s=l[3])&&p.getElementsByClassName&&e.getElementsByClassName)return L.apply(i,e.getElementsByClassName(s)),i}if(p.qsa&&!I[t+" "]&&(!g||!g.test(t))&&(1!==h||"object"!==e.nodeName.toLowerCase())){if(c=t,u=e,1===h&&(Y.test(t)||V.test(t))){for((u=it.test(t)&&mt(e.parentNode)||e)===e&&p.scope||((a=e.getAttribute("id"))?a=a.replace(st,rt):e.setAttribute("id",a=x)),r=(d=f(t)).length;r--;)d[r]=(a?"#"+a:":scope")+" "+vt(d[r]);c=d.join(",")}try{return L.apply(i,u.querySelectorAll(c)),i}catch(e){I(t,!0)}finally{a===x&&e.removeAttribute("id")}}}return m(t.replace(q,"$1"),e,i,n)}function lt(){var n=[];return function t(e,i){return n.push(e+" ")>b.cacheLength&&delete t[n.shift()],t[e+" "]=i}}function dt(t){return t[x]=!0,t}function ct(t){var e=C.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ut(t,e){for(var i=t.split("|"),n=i.length;n--;)b.attrHandle[i[n]]=e}function ht(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function pt(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ot(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ft(o){return dt(function(r){return r=+r,dt(function(t,e){for(var i,n=o([],t.length,r),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in p=at.support={},s=at.isXML=function(t){var e=t.namespaceURI,t=(t.ownerDocument||t).documentElement;return!Q.test(e||t&&t.nodeName||"HTML")},T=at.setDocument=function(t){var e,t=t?t.ownerDocument||t:y;return t!=C&&9===t.nodeType&&t.documentElement&&(o=(C=t).documentElement,S=!s(C),y!=C&&(e=C.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",n,!1):e.attachEvent&&e.attachEvent("onunload",n)),p.scope=ct(function(t){return o.appendChild(t).appendChild(C.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),p.attributes=ct(function(t){return t.className="i",!t.getAttribute("className")}),p.getElementsByTagName=ct(function(t){return t.appendChild(C.createComment("")),!t.getElementsByTagName("*").length}),p.getElementsByClassName=tt.test(C.getElementsByClassName),p.getById=ct(function(t){return o.appendChild(t).id=x,!C.getElementsByName||!C.getElementsByName(x).length}),p.getById?(b.filter.ID=function(t){var e=t.replace(nt,u);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&S){t=e.getElementById(t);return t?[t]:[]}}):(b.filter.ID=function(t){var e=t.replace(nt,u);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&S){var i,n,s,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(s=e.getElementsByName(t),n=0;r=s[n++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),b.find.TAG=p.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):p.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],s=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;i=r[s++];)1===i.nodeType&&n.push(i);return n},b.find.CLASS=p.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&S)return e.getElementsByClassName(t)},a=[],g=[],(p.qsa=tt.test(C.querySelectorAll))&&(ct(function(t){var e;o.appendChild(t).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+j+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+j+"*(?:value|"+F+")"),t.querySelectorAll("[id~="+x+"-]").length||g.push("~="),(e=C.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||g.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]"),t.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ct(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=C.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+j+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),o.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(p.matchesSelector=tt.test(c=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ct(function(t){p.disconnectedMatch=c.call(t,"*"),c.call(t,"[s!='']:x"),a.push("!=",U)}),g=g.length&&new RegExp(g.join("|")),a=a.length&&new RegExp(a.join("|")),e=tt.test(o.compareDocumentPosition),v=e||tt.test(o.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(i.contains?i.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return d=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===i?t==C||t.ownerDocument==y&&v(y,t)?-1:e==C||e.ownerDocument==y&&v(y,e)?1:l?R(l,t)-R(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return d=!0,0;var i,n=0,s=t.parentNode,r=e.parentNode,o=[t],a=[e];if(!s||!r)return t==C?-1:e==C?1:s?-1:r?1:l?R(l,t)-R(l,e):0;if(s===r)return ht(t,e);for(i=t;i=i.parentNode;)o.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;o[n]===a[n];)n++;return n?ht(o[n],a[n]):o[n]==y?-1:a[n]==y?1:0}),C},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(T(t),p.matchesSelector&&S&&!I[e+" "]&&(!a||!a.test(e))&&(!g||!g.test(e)))try{var i=c.call(t,e);if(i||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){I(e,!0)}return 0<at(e,C,null,[t]).length},at.contains=function(t,e){return(t.ownerDocument||t)!=C&&T(t),v(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=C&&T(t);var i=b.attrHandle[e.toLowerCase()],i=i&&P.call(b.attrHandle,e.toLowerCase())?i(t,e,!S):void 0;return void 0!==i?i:p.attributes||!S?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},at.escape=function(t){return(t+"").replace(st,rt)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,i=[],n=0,s=0;if(d=!p.detectDuplicates,l=!p.sortStable&&t.slice(0),t.sort(A),d){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return l=null,t},r=at.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=r(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=r(e);return i},(b=at.selectors={cacheLength:50,createPseudo:dt,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(nt,u),t[3]=(t[3]||t[4]||t[5]||"").replace(nt,u),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return X.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&G.test(i)&&(e=f(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(nt,u).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=$[t+" "];return e||(e=new RegExp("(^|"+j+")"+t+"("+j+"|$)"))&&$(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(t){t=at.attr(t,e);return null==t?"!="===i:!i||(t+="","="===i?t===n:"!="===i?t!==n:"^="===i?n&&0===t.indexOf(n):"*="===i?n&&-1<t.indexOf(n):"$="===i?n&&t.slice(-n.length)===n:"~="===i?-1<(" "+t.replace(z," ")+" ").indexOf(n):"|="===i&&(t===n||t.slice(0,n.length+1)===n+"-"))}},CHILD:function(f,t,e,m,g){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),_="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,i){var n,s,r,o,a,l,d=v!=y?"nextSibling":"previousSibling",c=t.parentNode,u=_&&t.nodeName.toLowerCase(),h=!i&&!_,p=!1;if(c){if(v){for(;d;){for(o=t;o=o[d];)if(_?o.nodeName.toLowerCase()===u:1===o.nodeType)return!1;l=d="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&h){for(p=(a=(n=(s=(r=(o=c)[x]||(o[x]={}))[o.uniqueID]||(r[o.uniqueID]={}))[f]||[])[0]===k&&n[1])&&n[2],o=a&&c.childNodes[a];o=++a&&o&&o[d]||(p=a=0)||l.pop();)if(1===o.nodeType&&++p&&o===t){s[f]=[k,a,p];break}}else if(h&&(p=a=(n=(s=(r=(o=t)[x]||(o[x]={}))[o.uniqueID]||(r[o.uniqueID]={}))[f]||[])[0]===k&&n[1]),!1===p)for(;(o=++a&&o&&o[d]||(p=a=0)||l.pop())&&((_?o.nodeName.toLowerCase()!==u:1!==o.nodeType)||!++p||(h&&((s=(r=o[x]||(o[x]={}))[o.uniqueID]||(r[o.uniqueID]={}))[f]=[k,p]),o!==t)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(t,r){var e,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return o[x]?o(r):1<o.length?(e=[t,t,"",r],b.setFilters.hasOwnProperty(t.toLowerCase())?dt(function(t,e){for(var i,n=o(t,r),s=n.length;s--;)t[i=R(t,n[s])]=!(e[i]=n[s])}):function(t){return o(t,0,e)}):o}},pseudos:{not:dt(function(t){var n=[],s=[],a=h(t.replace(q,"$1"));return a[x]?dt(function(t,e,i,n){for(var s,r=a(t,null,n,[]),o=t.length;o--;)(s=r[o])&&(t[o]=!(e[o]=s))}):function(t,e,i){return n[0]=t,a(n,null,i,s),n[0]=null,!s.pop()}}),has:dt(function(e){return function(t){return 0<at(e,t).length}}),contains:dt(function(e){return e=e.replace(nt,u),function(t){return-1<(t.textContent||r(t)).indexOf(e)}}),lang:dt(function(i){return K.test(i||"")||at.error("unsupported lang: "+i),i=i.replace(nt,u).toLowerCase(),function(t){var e;do{if(e=S?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===o},focus:function(t){return t===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Z.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(t=t.getAttribute("type"))||"text"===t.toLowerCase())},first:ft(function(){return[0]}),last:ft(function(t,e){return[e-1]}),eq:ft(function(t,e,i){return[i<0?i+e:i]}),even:ft(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:ft(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:ft(function(t,e,i){for(var n=i<0?i+e:e<i?e:i;0<=--n;)t.push(n);return t}),gt:ft(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})b.pseudos[t]=function(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}(t);function gt(){}function vt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function yt(o,t,e){var a=t.dir,l=t.next,d=l||a,c=e&&"parentNode"===d,u=_++;return t.first?function(t,e,i){for(;t=t[a];)if(1===t.nodeType||c)return o(t,e,i);return!1}:function(t,e,i){var n,s,r=[k,u];if(i){for(;t=t[a];)if((1===t.nodeType||c)&&o(t,e,i))return!0}else for(;t=t[a];)if(1===t.nodeType||c)if(n=(s=t[x]||(t[x]={}))[t.uniqueID]||(s[t.uniqueID]={}),l&&l===t.nodeName.toLowerCase())t=t[a]||t;else{if((s=n[d])&&s[0]===k&&s[1]===u)return r[2]=s[2];if((n[d]=r)[2]=o(t,e,i))return!0}return!1}}function _t(s){return 1<s.length?function(t,e,i){for(var n=s.length;n--;)if(!s[n](t,e,i))return!1;return!0}:s[0]}function bt(t,e,i,n,s){for(var r,o=[],a=0,l=t.length,d=null!=e;a<l;a++)(r=t[a])&&(i&&!i(r,n,s)||(o.push(r),d&&e.push(a)));return o}function wt(t){for(var n,e,i,s=t.length,r=b.relative[t[0].type],o=r||b.relative[" "],a=r?1:0,l=yt(function(t){return t===n},o,!0),d=yt(function(t){return-1<R(n,t)},o,!0),c=[function(t,e,i){i=!r&&(i||e!==w)||((n=e).nodeType?l:d)(t,e,i);return n=null,i}];a<s;a++)if(e=b.relative[t[a].type])c=[yt(_t(c),e)];else{if((e=b.filter[t[a].type].apply(null,t[a].matches))[x]){for(i=++a;i<s&&!b.relative[t[i].type];i++);return function t(p,f,m,g,v,e){return g&&!g[x]&&(g=t(g)),v&&!v[x]&&(v=t(v,e)),dt(function(t,e,i,n){var s,r,o,a=[],l=[],d=e.length,c=t||function(t,e,i){for(var n=0,s=e.length;n<s;n++)at(t,e[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),u=!p||!t&&f?c:bt(c,a,p,i,n),h=m?v||(t?p:d||g)?[]:e:u;if(m&&m(u,h,i,n),g)for(s=bt(h,l),g(s,[],i,n),r=s.length;r--;)(o=s[r])&&(h[l[r]]=!(u[l[r]]=o));if(t){if(v||p){if(v){for(s=[],r=h.length;r--;)(o=h[r])&&s.push(u[r]=o);v(null,h=[],s,n)}for(r=h.length;r--;)(o=h[r])&&-1<(s=v?R(t,o):a[r])&&(t[s]=!(e[s]=o))}}else h=bt(h===e?h.splice(d,h.length):h),v?v(null,e,h,n):L.apply(e,h)})}(1<a&&_t(c),1<a&&vt(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(q,"$1"),e,a<i&&wt(t.slice(a,i)),i<s&&wt(t=t.slice(i)),i<s&&vt(t))}c.push(e)}return _t(c)}return gt.prototype=b.filters=b.pseudos,b.setFilters=new gt,f=at.tokenize=function(t,e){var i,n,s,r,o,a,l,d=E[t+" "];if(d)return e?0:d.slice(0);for(o=t,a=[],l=b.preFilter;o;){for(r in i&&!(n=W.exec(o))||(n&&(o=o.slice(n[0].length)||o),a.push(s=[])),i=!1,(n=V.exec(o))&&(i=n.shift(),s.push({value:i,type:n[0].replace(q," ")}),o=o.slice(i.length)),b.filter)!(n=X[r].exec(o))||l[r]&&!(n=l[r](n))||(i=n.shift(),s.push({value:i,type:r,matches:n}),o=o.slice(i.length));if(!i)break}return e?o.length:o?at.error(t):E(t,a).slice(0)},h=at.compile=function(t,e){var i,g,v,y,_,n,s=[],r=[],o=D[t+" "];if(!o){for(i=(e=e||f(t)).length;i--;)((o=wt(e[i]))[x]?s:r).push(o);(o=D(t,(g=r,y=0<(v=s).length,_=0<g.length,n=function(t,e,i,n,s){var r,o,a,l=0,d="0",c=t&&[],u=[],h=w,p=t||_&&b.find.TAG("*",s),f=k+=null==h?1:Math.random()||.1,m=p.length;for(s&&(w=e==C||e||s);d!==m&&null!=(r=p[d]);d++){if(_&&r){for(o=0,e||r.ownerDocument==C||(T(r),i=!S);a=g[o++];)if(a(r,e||C,i)){n.push(r);break}s&&(k=f)}y&&((r=!a&&r)&&l--,t&&c.push(r))}if(l+=d,y&&d!==l){for(o=0;a=v[o++];)a(c,u,e,i);if(t){if(0<l)for(;d--;)c[d]||u[d]||(u[d]=M.call(n));u=bt(u)}L.apply(n,u),s&&!t&&0<u.length&&1<l+v.length&&at.uniqueSort(n)}return s&&(k=f,w=h),c},y?dt(n):n))).selector=t}return o},m=at.select=function(t,e,i,n){var s,r,o,a,l,d="function"==typeof t&&t,c=!n&&f(t=d.selector||t);if(i=i||[],1===c.length){if(2<(r=c[0]=c[0].slice(0)).length&&"ID"===(o=r[0]).type&&9===e.nodeType&&S&&b.relative[r[1].type]){if(!(e=(b.find.ID(o.matches[0].replace(nt,u),e)||[])[0]))return i;d&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(s=X.needsContext.test(t)?0:r.length;s--&&(o=r[s],!b.relative[a=o.type]);)if((l=b.find[a])&&(n=l(o.matches[0].replace(nt,u),it.test(r[0].type)&&mt(e.parentNode)||e))){if(r.splice(s,1),!(t=n.length&&vt(r)))return L.apply(i,n),i;break}}return(d||h(t,c))(n,e,!S,i,!e||it.test(t)&&mt(e.parentNode)||e),i},p.sortStable=x.split("").sort(A).join("")===x,p.detectDuplicates=!!d,T(),p.sortDetached=ct(function(t){return 1&t.compareDocumentPosition(C.createElement("fieldset"))}),ct(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ut("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),p.attributes&&ct(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ut("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ct(function(t){return null==t.getAttribute("disabled")})||ut(F,function(t,e,i){if(!i)return!0===t[e]?e.toLowerCase():(e=t.getAttributeNode(e))&&e.specified?e.value:null}),at}(C);x.find=p,x.expr=p.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=p.uniqueSort,x.text=p.getText,x.isXMLDoc=p.isXML,x.contains=p.contains,x.escapeSelector=p.escape;function w(t,e,i){for(var n=[],s=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&x(t).is(i))break;n.push(t)}return n}function T(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}var k=x.expr.match.needsContext;function $(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(t,i,n){return _(i)?x.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?x.grep(t,function(t){return t===i!==n}):"string"!=typeof i?x.grep(t,function(t){return-1<s.call(i,t)!==n}):x.filter(i,t,n)}x.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?x.find.matchesSelector(n,t)?[n]:[]:x.find.matches(t,x.grep(e,function(t){return 1===t.nodeType}))},x.fn.extend({find:function(t){var e,i,n=this.length,s=this;if("string"!=typeof t)return this.pushStack(x(t).filter(function(){for(e=0;e<n;e++)if(x.contains(s[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)x.find(t,s[e],i);return 1<n?x.uniqueSort(i):i},filter:function(t){return this.pushStack(D(this,t||[],!1))},not:function(t){return this.pushStack(D(this,t||[],!0))},is:function(t){return!!D(this,"string"==typeof t&&k.test(t)?x(t):t||[],!1).length}});var I,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(t,e,i){if(!t)return this;if(i=i||I,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):_(t)?void 0!==i.ready?i.ready(t):t(x):x.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:A.exec(t))||!n[1]&&e)return(!e||e.jquery?e||i:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof x?e[0]:e,x.merge(this,x.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:S,!0)),E.test(n[1])&&x.isPlainObject(e))for(var n in e)_(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(t=S.getElementById(n[2]))&&(this[0]=t,this.length=1),this}).prototype=x.fn,I=x(S);var P=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function O(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}x.fn.extend({has:function(t){var e=x(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(x.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,s=this.length,r=[],o="string"!=typeof t&&x(t);if(!k.test(t))for(;n<s;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?-1<o.index(i):1===i.nodeType&&x.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(1<r.length?x.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?s.call(x(t),this[0]):s.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),x.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return w(t,"parentNode")},parentsUntil:function(t,e,i){return w(t,"parentNode",i)},next:function(t){return O(t,"nextSibling")},prev:function(t){return O(t,"previousSibling")},nextAll:function(t){return w(t,"nextSibling")},prevAll:function(t){return w(t,"previousSibling")},nextUntil:function(t,e,i){return w(t,"nextSibling",i)},prevUntil:function(t,e,i){return w(t,"previousSibling",i)},siblings:function(t){return T((t.parentNode||{}).firstChild,t)},children:function(t){return T(t.firstChild)},contents:function(t){return null!=t.contentDocument&&i(t.contentDocument)?t.contentDocument:($(t,"template")&&(t=t.content||t),x.merge([],t.childNodes))}},function(n,s){x.fn[n]=function(t,e){var i=x.map(this,s,t);return"Until"!==n.slice(-5)&&(e=t),e&&"string"==typeof e&&(i=x.filter(e,i)),1<this.length&&(M[n]||x.uniqueSort(i),P.test(n)&&i.reverse()),this.pushStack(i)}});var L=/[^\x20\t\r\n\f]+/g;function N(t){return t}function R(t){throw t}function F(t,e,i,n){var s;try{t&&_(s=t.promise)?s.call(t).done(e).fail(i):t&&_(s=t.then)?s.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}x.Callbacks=function(n){var i;n="string"==typeof n?(i={},x.each(n.match(L)||[],function(t,e){i[e]=!0}),i):x.extend({},n);function s(){for(o=o||n.once,e=r=!0;l.length;d=-1)for(t=l.shift();++d<a.length;)!1===a[d].apply(t[0],t[1])&&n.stopOnFalse&&(d=a.length,t=!1);n.memory||(t=!1),r=!1,o&&(a=t?[]:"")}var r,t,e,o,a=[],l=[],d=-1,c={add:function(){return a&&(t&&!r&&(d=a.length-1,l.push(t)),function i(t){x.each(t,function(t,e){_(e)?n.unique&&c.has(e)||a.push(e):e&&e.length&&"string"!==f(e)&&i(e)})}(arguments),t&&!r&&s()),this},remove:function(){return x.each(arguments,function(t,e){for(var i;-1<(i=x.inArray(e,a,i));)a.splice(i,1),i<=d&&d--}),this},has:function(t){return t?-1<x.inArray(t,a):0<a.length},empty:function(){return a=a&&[],this},disable:function(){return o=l=[],a=t="",this},disabled:function(){return!a},lock:function(){return o=l=[],t||r||(a=t=""),this},locked:function(){return!!o},fireWith:function(t,e){return o||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),r||s()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!e}};return c},x.extend({Deferred:function(t){var r=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],s="pending",o={state:function(){return s},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var s=arguments;return x.Deferred(function(n){x.each(r,function(t,e){var i=_(s[e[4]])&&s[e[4]];a[e[1]](function(){var t=i&&i.apply(this,arguments);t&&_(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[e[0]+"With"](this,i?[t]:arguments)})}),s=null}).promise()},then:function(e,i,n){var l=0;function d(s,r,o,a){return function(){function t(){var t,e;if(!(s<l)){if((t=o.apply(i,n))===r.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,_(e)?a?e.call(t,d(l,r,N,a),d(l,r,R,a)):(l++,e.call(t,d(l,r,N,a),d(l,r,R,a),d(l,r,N,r.notifyWith))):(o!==N&&(i=void 0,n=[t]),(a||r.resolveWith)(i,n))}}var i=this,n=arguments,e=a?t:function(){try{t()}catch(t){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(t,e.stackTrace),l<=s+1&&(o!==R&&(i=void 0,n=[t]),r.rejectWith(i,n))}};s?e():(x.Deferred.getStackHook&&(e.stackTrace=x.Deferred.getStackHook()),C.setTimeout(e))}}return x.Deferred(function(t){r[0][3].add(d(0,t,_(n)?n:N,t.notifyWith)),r[1][3].add(d(0,t,_(e)?e:N)),r[2][3].add(d(0,t,_(i)?i:R))}).promise()},promise:function(t){return null!=t?x.extend(t,o):o}},a={};return x.each(r,function(t,e){var i=e[2],n=e[5];o[e[1]]=i.add,n&&i.add(function(){s=n},r[3-t][2].disable,r[3-t][3].disable,r[0][2].lock,r[0][3].lock),i.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=i.fireWith}),o.promise(a),t&&t.call(a,a),a},when:function(t){function e(e){return function(t){s[e]=this,r[e]=1<arguments.length?a.call(arguments):t,--i||o.resolveWith(s,r)}}var i=arguments.length,n=i,s=Array(n),r=a.call(arguments),o=x.Deferred();if(i<=1&&(F(t,o.done(e(n)).resolve,o.reject,!i),"pending"===o.state()||_(r[n]&&r[n].then)))return o.then();for(;n--;)F(r[n],e(n),o.reject);return o.promise()}});var j=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,e){C.console&&C.console.warn&&t&&j.test(t.name)&&C.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},x.readyException=function(t){C.setTimeout(function(){throw t})};var B=x.Deferred();function H(){S.removeEventListener("DOMContentLoaded",H),C.removeEventListener("load",H),x.ready()}x.fn.ready=function(t){return B.then(t).catch(function(t){x.readyException(t)}),this},x.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--x.readyWait:x.isReady)||(x.isReady=!0)!==t&&0<--x.readyWait||B.resolveWith(S,[x])}}),x.ready.then=B.then,"complete"===S.readyState||"loading"!==S.readyState&&!S.documentElement.doScroll?C.setTimeout(x.ready):(S.addEventListener("DOMContentLoaded",H),C.addEventListener("load",H));var U=function(t,e,i,n,s,r,o){var a=0,l=t.length,d=null==i;if("object"===f(i))for(a in s=!0,i)U(t,e,a,i[a],!0,r,o);else if(void 0!==n&&(s=!0,_(n)||(o=!0),d&&(e=o?(e.call(t,n),null):(d=e,function(t,e,i){return d.call(x(t),i)})),e))for(;a<l;a++)e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)));return s?t:d?e.call(t):l?e(t[0],i):r},z=/^-ms-/,q=/-([a-z])/g;function W(t,e){return e.toUpperCase()}function V(t){return t.replace(z,"ms-").replace(q,W)}function Y(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}function G(){this.expando=x.expando+G.uid++}G.uid=1,G.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Y(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,s=this.cache(t);if("string"==typeof e)s[V(e)]=i;else for(n in e)s[V(n)]=e[n];return s},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][V(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(V):(e=V(e))in n?[e]:e.match(L)||[]).length;for(;i--;)delete n[e[i]]}void 0!==e&&!x.isEmptyObject(n)||(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){t=t[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var K=new G,X=new G,Q=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function J(t,e,i){var n,s;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(Z,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===(s=i)||"false"!==s&&("null"===s?null:s===+s+""?+s:Q.test(s)?JSON.parse(s):s)}catch(t){}X.set(t,e,i)}else i=void 0;return i}x.extend({hasData:function(t){return X.hasData(t)||K.hasData(t)},data:function(t,e,i){return X.access(t,e,i)},removeData:function(t,e){X.remove(t,e)},_data:function(t,e,i){return K.access(t,e,i)},_removeData:function(t,e){K.remove(t,e)}}),x.fn.extend({data:function(i,t){var e,n,s,r=this[0],o=r&&r.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){X.set(this,i)}):U(this,function(t){var e;return r&&void 0===t?void 0!==(e=X.get(r,i))||void 0!==(e=J(r,i))?e:void 0:void this.each(function(){X.set(this,i,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(s=X.get(r),1===r.nodeType&&!K.get(r,"hasDataAttrs"))){for(e=o.length;e--;)o[e]&&0===(n=o[e].name).indexOf("data-")&&(n=V(n.slice(5)),J(r,n,s[n]));K.set(r,"hasDataAttrs",!0)}return s},removeData:function(t){return this.each(function(){X.remove(this,t)})}}),x.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=K.get(t,e),i&&(!n||Array.isArray(i)?n=K.access(t,e,x.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=x.queue(t,e),n=i.length,s=i.shift(),r=x._queueHooks(t,e);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===e&&i.unshift("inprogress"),delete r.stop,s.call(t,function(){x.dequeue(t,e)},r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return K.get(t,i)||K.access(t,i,{empty:x.Callbacks("once memory").add(function(){K.remove(t,[e+"queue",i])})})}}),x.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?x.queue(this[0],e):void 0===i?this:this.each(function(){var t=x.queue(this,e,i);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(t){return this.each(function(){x.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function i(){--s||r.resolveWith(o,[o])}var n,s=1,r=x.Deferred(),o=this,a=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=K.get(o[a],t+"queueHooks"))&&n.empty&&(s++,n.empty.add(i));return i(),r.promise(e)}});var tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+tt+")([a-z%]*)$","i"),it=["Top","Right","Bottom","Left"],nt=S.documentElement,st=function(t){return x.contains(t.ownerDocument,t)},rt={composed:!0};nt.getRootNode&&(st=function(t){return x.contains(t.ownerDocument,t)||t.getRootNode(rt)===t.ownerDocument});function ot(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===x.css(t,"display")}function at(t,e,i,n){var s,r,o=20,a=n?function(){return n.cur()}:function(){return x.css(t,e,"")},l=a(),d=i&&i[3]||(x.cssNumber[e]?"":"px"),c=t.nodeType&&(x.cssNumber[e]||"px"!==d&&+l)&&et.exec(x.css(t,e));if(c&&c[3]!==d){for(l/=2,d=d||c[3],c=+l||1;o--;)x.style(t,e,c+d),(1-r)*(1-(r=a()/l||.5))<=0&&(o=0),c/=r;c*=2,x.style(t,e,c+d),i=i||[]}return i&&(c=+c||+l||0,s=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=d,n.start=c,n.end=s)),s}var lt={};function dt(t,e){for(var i,n,s,r,o,a,l=[],d=0,c=t.length;d<c;d++)(n=t[d]).style&&(i=n.style.display,e?("none"===i&&(l[d]=K.get(n,"display")||null,l[d]||(n.style.display="")),""===n.style.display&&ot(n)&&(l[d]=(a=r=s=void 0,r=n.ownerDocument,o=n.nodeName,(a=lt[o])||(s=r.body.appendChild(r.createElement(o)),a=x.css(s,"display"),s.parentNode.removeChild(s),"none"===a&&(a="block"),lt[o]=a)))):"none"!==i&&(l[d]="none",K.set(n,"display",i)));for(d=0;d<c;d++)null!=l[d]&&(t[d].style.display=l[d]);return t}x.fn.extend({show:function(){return dt(this,!0)},hide:function(){return dt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ot(this)?x(this).show():x(this).hide()})}});var ct=/^(?:checkbox|radio)$/i,ut=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ht=/^$|^module$|\/(?:java|ecma)script/i,u=S.createDocumentFragment().appendChild(S.createElement("div"));(p=S.createElement("input")).setAttribute("type","radio"),p.setAttribute("checked","checked"),p.setAttribute("name","t"),u.appendChild(p),y.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,u.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!u.cloneNode(!0).lastChild.defaultValue,u.innerHTML="<option></option>",y.option=!!u.lastChild;var pt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ft(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&$(t,e)?x.merge([t],i):i}function mt(t,e){for(var i=0,n=t.length;i<n;i++)K.set(t[i],"globalEval",!e||K.get(e[i],"globalEval"))}pt.tbody=pt.tfoot=pt.colgroup=pt.caption=pt.thead,pt.th=pt.td,y.option||(pt.optgroup=pt.option=[1,"<select multiple='multiple'>","</select>"]);var gt=/<|&#?\w+;/;function vt(t,e,i,n,s){for(var r,o,a,l,d,c=e.createDocumentFragment(),u=[],h=0,p=t.length;h<p;h++)if((r=t[h])||0===r)if("object"===f(r))x.merge(u,r.nodeType?[r]:r);else if(gt.test(r)){for(o=o||c.appendChild(e.createElement("div")),a=(ut.exec(r)||["",""])[1].toLowerCase(),a=pt[a]||pt._default,o.innerHTML=a[1]+x.htmlPrefilter(r)+a[2],d=a[0];d--;)o=o.lastChild;x.merge(u,o.childNodes),(o=c.firstChild).textContent=""}else u.push(e.createTextNode(r));for(c.textContent="",h=0;r=u[h++];)if(n&&-1<x.inArray(r,n))s&&s.push(r);else if(l=st(r),o=ft(c.appendChild(r),"script"),l&&mt(o),i)for(d=0;r=o[d++];)ht.test(r.type||"")&&i.push(r);return c}var yt=/^key/,_t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bt=/^([^.]*)(?:\.(.+)|)/;function wt(){return!0}function Tt(){return!1}function Ct(t,e){return t===function(){try{return S.activeElement}catch(t){}}()==("focus"===e)}function St(t,e,i,n,s,r){var o,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)St(t,a,i,n,e[a],r);return t}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=Tt;else if(!s)return t;return 1===r&&(o=s,(s=function(t){return x().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=x.guid++)),t.each(function(){x.event.add(this,e,s,n,i)})}function xt(t,s,r){r?(K.set(t,s,!1),x.event.add(t,s,{namespace:!1,handler:function(t){var e,i,n=K.get(this,s);if(1&t.isTrigger&&this[s]){if(n.length)(x.event.special[s]||{}).delegateType&&t.stopPropagation();else if(n=a.call(arguments),K.set(this,s,n),e=r(this,s),this[s](),n!==(i=K.get(this,s))||e?K.set(this,s,!1):i={},n!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else n.length&&(K.set(this,s,{value:x.event.trigger(x.extend(n[0],x.Event.prototype),n.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===K.get(t,s)&&x.event.add(t,s,wt)}x.event={global:{},add:function(e,t,i,n,s){var r,o,a,l,d,c,u,h,p,f=K.get(e);if(Y(e))for(i.handler&&(i=(r=i).handler,s=r.selector),s&&x.find.matchesSelector(nt,s),i.guid||(i.guid=x.guid++),(a=f.events)||(a=f.events=Object.create(null)),(o=f.handle)||(o=f.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(L)||[""]).length;l--;)u=p=(d=bt.exec(t[l])||[])[1],h=(d[2]||"").split(".").sort(),u&&(c=x.event.special[u]||{},u=(s?c.delegateType:c.bindType)||u,c=x.event.special[u]||{},d=x.extend({type:u,origType:p,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&x.expr.match.needsContext.test(s),namespace:h.join(".")},r),(p=a[u])||((p=a[u]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,n,h,o)||e.addEventListener&&e.addEventListener(u,o)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=i.guid)),s?p.splice(p.delegateCount++,0,d):p.push(d),x.event.global[u]=!0)},remove:function(t,e,i,n,s){var r,o,a,l,d,c,u,h,p,f,m,g=K.hasData(t)&&K.get(t);if(g&&(l=g.events)){for(d=(e=(e||"").match(L)||[""]).length;d--;)if(p=m=(a=bt.exec(e[d])||[])[1],f=(a[2]||"").split(".").sort(),p){for(u=x.event.special[p]||{},h=l[p=(n?u.delegateType:u.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=h.length;r--;)c=h[r],!s&&m!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(h.splice(r,1),c.selector&&h.delegateCount--,u.remove&&u.remove.call(t,c));o&&!h.length&&(u.teardown&&!1!==u.teardown.call(t,f,g.handle)||x.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)x.event.remove(t,p+e[d],i,n,!0);x.isEmptyObject(l)&&K.remove(t,"handle events")}},dispatch:function(t){var e,i,n,s,r,o=new Array(arguments.length),a=x.event.fix(t),l=(K.get(this,"events")||Object.create(null))[a.type]||[],t=x.event.special[a.type]||{};for(o[0]=a,e=1;e<arguments.length;e++)o[e]=arguments[e];if(a.delegateTarget=this,!t.preDispatch||!1!==t.preDispatch.call(this,a)){for(r=x.event.handlers.call(this,a,l),e=0;(n=r[e++])&&!a.isPropagationStopped();)for(a.currentTarget=n.elem,i=0;(s=n.handlers[i++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==s.namespace&&!a.rnamespace.test(s.namespace)||(a.handleObj=s,a.data=s.data,void 0!==(s=((x.event.special[s.origType]||{}).handle||s.handler).apply(n.elem,o))&&!1===(a.result=s)&&(a.preventDefault(),a.stopPropagation()));return t.postDispatch&&t.postDispatch.call(this,a),a.result}},handlers:function(t,e){var i,n,s,r,o,a=[],l=e.delegateCount,d=t.target;if(l&&d.nodeType&&!("click"===t.type&&1<=t.button))for(;d!==this;d=d.parentNode||this)if(1===d.nodeType&&("click"!==t.type||!0!==d.disabled)){for(r=[],o={},i=0;i<l;i++)void 0===o[s=(n=e[i]).selector+" "]&&(o[s]=n.needsContext?-1<x(s,this).index(d):x.find(s,this,null,[d]).length),o[s]&&r.push(n);r.length&&a.push({elem:d,handlers:r})}return d=this,l<e.length&&a.push({elem:d,handlers:e.slice(l)}),a},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:_(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[x.expando]?t:new x.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){t=this||t;return ct.test(t.type)&&t.click&&$(t,"input")&&xt(t,"click",wt),!1},trigger:function(t){t=this||t;return ct.test(t.type)&&t.click&&$(t,"input")&&xt(t,"click"),!0},_default:function(t){t=t.target;return ct.test(t.type)&&t.click&&$(t,"input")&&K.get(t,"click")||$(t,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},x.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},x.Event=function(t,e){if(!(this instanceof x.Event))return new x.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?wt:Tt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&x.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:Tt,isPropagationStopped:Tt,isImmediatePropagationStopped:Tt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=wt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=wt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=wt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&yt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&_t.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},function(t,e){x.event.special[t]={setup:function(){return xt(this,t,Ct),!1},trigger:function(){return xt(this,t),!0},delegateType:e}}),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,s){x.event.special[t]={delegateType:s,bindType:s,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||x.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=s),e}}}),x.fn.extend({on:function(t,e,i,n){return St(this,t,e,i,n)},one:function(t,e,i,n){return St(this,t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,x(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=Tt),this.each(function(){x.event.remove(this,t,i,e)});for(s in t)this.off(s,e,t[s]);return this}});var kt=/<script|<style|<link/i,$t=/checked\s*(?:[^=]|=\s*.checked.)/i,Et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Dt(t,e){return $(t,"table")&&$(11!==e.nodeType?e:e.firstChild,"tr")&&x(t).children("tbody")[0]||t}function It(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function At(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,e){var i,n,s,r;if(1===e.nodeType){if(K.hasData(t)&&(r=K.get(t).events))for(s in K.remove(e,"handle events"),r)for(i=0,n=r[s].length;i<n;i++)x.event.add(e,s,r[s][i]);X.hasData(t)&&(t=X.access(t),t=x.extend({},t),X.set(e,t))}}function Mt(i,n,s,r){n=g(n);var t,e,o,a,l,d,c=0,u=i.length,h=u-1,p=n[0],f=_(p);if(f||1<u&&"string"==typeof p&&!y.checkClone&&$t.test(p))return i.each(function(t){var e=i.eq(t);f&&(n[0]=p.call(this,t,e.html())),Mt(e,n,s,r)});if(u&&(e=(t=vt(n,i[0].ownerDocument,!1,i,r)).firstChild,1===t.childNodes.length&&(t=e),e||r)){for(a=(o=x.map(ft(t,"script"),It)).length;c<u;c++)l=t,c!==h&&(l=x.clone(l,!0,!0),a&&x.merge(o,ft(l,"script"))),s.call(i[c],l,c);if(a)for(d=o[o.length-1].ownerDocument,x.map(o,At),c=0;c<a;c++)l=o[c],ht.test(l.type||"")&&!K.access(l,"globalEval")&&x.contains(d,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?x._evalUrl&&!l.noModule&&x._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},d):b(l.textContent.replace(Et,""),l,d))}return i}function Ot(t,e,i){for(var n,s=e?x.filter(e,t):t,r=0;null!=(n=s[r]);r++)i||1!==n.nodeType||x.cleanData(ft(n)),n.parentNode&&(i&&st(n)&&mt(ft(n,"script")),n.parentNode.removeChild(n));return t}x.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,s,r,o,a,l,d,c=t.cloneNode(!0),u=st(t);if(!(y.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||x.isXMLDoc(t)))for(o=ft(c),n=0,s=(r=ft(t)).length;n<s;n++)a=r[n],"input"===(d=(l=o[n]).nodeName.toLowerCase())&&ct.test(a.type)?l.checked=a.checked:"input"!==d&&"textarea"!==d||(l.defaultValue=a.defaultValue);if(e)if(i)for(r=r||ft(t),o=o||ft(c),n=0,s=r.length;n<s;n++)Pt(r[n],o[n]);else Pt(t,c);return 0<(o=ft(c,"script")).length&&mt(o,!u&&ft(t,"script")),c},cleanData:function(t){for(var e,i,n,s=x.event.special,r=0;void 0!==(i=t[r]);r++)if(Y(i)){if(e=i[K.expando]){if(e.events)for(n in e.events)s[n]?x.event.remove(i,n):x.removeEvent(i,n,e.handle);i[K.expando]=void 0}i[X.expando]&&(i[X.expando]=void 0)}}}),x.fn.extend({detach:function(t){return Ot(this,t,!0)},remove:function(t){return Ot(this,t)},text:function(t){return U(this,function(t){return void 0===t?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Mt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Dt(this,t).appendChild(t)})},prepend:function(){return Mt(this,arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=Dt(this,t)).insertBefore(t,e.firstChild)})},before:function(){return Mt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Mt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(x.cleanData(ft(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return x.clone(this,t,e)})},html:function(t){return U(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!kt.test(t)&&!pt[(ut.exec(t)||["",""])[1].toLowerCase()]){t=x.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(x.cleanData(ft(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=[];return Mt(this,arguments,function(t){var e=this.parentNode;x.inArray(this,i)<0&&(x.cleanData(ft(this)),e&&e.replaceChild(t,this))},i)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,o){x.fn[t]=function(t){for(var e,i=[],n=x(t),s=n.length-1,r=0;r<=s;r++)e=r===s?this:this.clone(!0),x(n[r])[o](e),l.apply(i,e.get());return this.pushStack(i)}});function Lt(t,e,i){var n,s={};for(n in e)s[n]=t.style[n],t.style[n]=e[n];for(n in i=i.call(t),e)t.style[n]=s[n];return i}var Nt,Rt,Ft,jt,Bt,Ht,Ut,zt,qt=new RegExp("^("+tt+")(?!px)[a-z%]+$","i"),Wt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=C),e.getComputedStyle(t)},Vt=new RegExp(it.join("|"),"i");function Yt(t,e,i){var n,s,r=t.style;return(i=i||Wt(t))&&(""!==(s=i.getPropertyValue(e)||i[e])||st(t)||(s=x.style(t,e)),!y.pixelBoxStyles()&&qt.test(s)&&Vt.test(e)&&(n=r.width,t=r.minWidth,e=r.maxWidth,r.minWidth=r.maxWidth=r.width=s,s=i.width,r.width=n,r.minWidth=t,r.maxWidth=e)),void 0!==s?s+"":s}function Gt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function Kt(){var t;zt&&(Ut.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",zt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",nt.appendChild(Ut).appendChild(zt),t=C.getComputedStyle(zt),Nt="1%"!==t.top,Ht=12===Xt(t.marginLeft),zt.style.right="60%",jt=36===Xt(t.right),Rt=36===Xt(t.width),zt.style.position="absolute",Ft=12===Xt(zt.offsetWidth/3),nt.removeChild(Ut),zt=null)}function Xt(t){return Math.round(parseFloat(t))}Ut=S.createElement("div"),(zt=S.createElement("div")).style&&(zt.style.backgroundClip="content-box",zt.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===zt.style.backgroundClip,x.extend(y,{boxSizingReliable:function(){return Kt(),Rt},pixelBoxStyles:function(){return Kt(),jt},pixelPosition:function(){return Kt(),Nt},reliableMarginLeft:function(){return Kt(),Ht},scrollboxSize:function(){return Kt(),Ft},reliableTrDimensions:function(){var t,e,i;return null==Bt&&(t=S.createElement("table"),i=S.createElement("tr"),e=S.createElement("div"),t.style.cssText="position:absolute;left:-11111px",i.style.height="1px",e.style.height="9px",nt.appendChild(t).appendChild(i).appendChild(e),i=C.getComputedStyle(i),Bt=3<parseInt(i.height),nt.removeChild(t)),Bt}}));var Qt=["Webkit","Moz","ms"],Zt=S.createElement("div").style,Jt={};function te(t){return x.cssProps[t]||Jt[t]||(t in Zt?t:Jt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=Qt.length;i--;)if((t=Qt[i]+e)in Zt)return t}(t)||t)}var ee=/^(none|table(?!-c[ea]).+)/,ie=/^--/,ne={position:"absolute",visibility:"hidden",display:"block"},se={letterSpacing:"0",fontWeight:"400"};function re(t,e,i){var n=et.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function oe(t,e,i,n,s,r){var o="width"===e?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(l+=x.css(t,i+it[o],!0,s)),n?("content"===i&&(l-=x.css(t,"padding"+it[o],!0,s)),"margin"!==i&&(l-=x.css(t,"border"+it[o]+"Width",!0,s))):(l+=x.css(t,"padding"+it[o],!0,s),"padding"!==i?l+=x.css(t,"border"+it[o]+"Width",!0,s):a+=x.css(t,"border"+it[o]+"Width",!0,s));return!n&&0<=r&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l}function ae(t,e,i){var n=Wt(t),s=(!y.boxSizingReliable()||i)&&"border-box"===x.css(t,"boxSizing",!1,n),r=s,o=Yt(t,e,n),a="offset"+e[0].toUpperCase()+e.slice(1);if(qt.test(o)){if(!i)return o;o="auto"}return(!y.boxSizingReliable()&&s||!y.reliableTrDimensions()&&$(t,"tr")||"auto"===o||!parseFloat(o)&&"inline"===x.css(t,"display",!1,n))&&t.getClientRects().length&&(s="border-box"===x.css(t,"boxSizing",!1,n),(r=a in t)&&(o=t[a])),(o=parseFloat(o)||0)+oe(t,e,i||(s?"border":"content"),r,n,o)+"px"}function le(t,e,i,n,s){return new le.prototype.init(t,e,i,n,s)}x.extend({cssHooks:{opacity:{get:function(t,e){if(e){t=Yt(t,"opacity");return""===t?"1":t}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,r,o,a=V(e),l=ie.test(e),d=t.style;if(l||(e=te(a)),o=x.cssHooks[e]||x.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(s=o.get(t,!1,n))?s:d[e];"string"==(r=typeof i)&&(s=et.exec(i))&&s[1]&&(i=at(t,e,s),r="number"),null!=i&&i==i&&("number"!==r||l||(i+=s&&s[3]||(x.cssNumber[a]?"":"px")),y.clearCloneStyle||""!==i||0!==e.indexOf("background")||(d[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,n))||(l?d.setProperty(e,i):d[e]=i))}},css:function(t,e,i,n){var s,r=V(e);return ie.test(e)||(e=te(r)),(r=x.cssHooks[e]||x.cssHooks[r])&&"get"in r&&(s=r.get(t,!0,i)),void 0===s&&(s=Yt(t,e,n)),"normal"===s&&e in se&&(s=se[e]),""===i||i?(e=parseFloat(s),!0===i||isFinite(e)?e||0:s):s}}),x.each(["height","width"],function(t,a){x.cssHooks[a]={get:function(t,e,i){if(e)return!ee.test(x.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ae(t,a,i):Lt(t,ne,function(){return ae(t,a,i)})},set:function(t,e,i){var n,s=Wt(t),r=!y.scrollboxSize()&&"absolute"===s.position,o=(r||i)&&"border-box"===x.css(t,"boxSizing",!1,s),i=i?oe(t,a,i,o,s):0;return o&&r&&(i-=Math.ceil(t["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(s[a])-oe(t,a,"border",!1,s)-.5)),i&&(n=et.exec(e))&&"px"!==(n[3]||"px")&&(t.style[a]=e,e=x.css(t,a)),re(0,e,i)}}}),x.cssHooks.marginLeft=Gt(y.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Yt(t,"marginLeft"))||t.getBoundingClientRect().left-Lt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(s,r){x.cssHooks[s+r]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[s+it[e]+r]=n[e]||n[e-2]||n[0];return i}},"margin"!==s&&(x.cssHooks[s+r].set=re)}),x.fn.extend({css:function(t,e){return U(this,function(t,e,i){var n,s,r={},o=0;if(Array.isArray(e)){for(n=Wt(t),s=e.length;o<s;o++)r[e[o]]=x.css(t,e[o],!1,n);return r}return void 0!==i?x.style(t,e,i):x.css(t,e)},t,e,1<arguments.length)}}),((x.Tween=le).prototype={constructor:le,init:function(t,e,i,n,s,r){this.elem=t,this.prop=i,this.easing=s||x.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(x.cssNumber[i]?"":"px")},cur:function(){var t=le.propHooks[this.prop];return(t&&t.get?t:le.propHooks._default).get(this)},run:function(t){var e,i=le.propHooks[this.prop];return this.options.duration?this.pos=e=x.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(i&&i.set?i:le.propHooks._default).set(this),this}}).init.prototype=le.prototype,(le.propHooks={_default:{get:function(t){return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(t=x.css(t.elem,t.prop,""))&&"auto"!==t?t:0},set:function(t){x.fx.step[t.prop]?x.fx.step[t.prop](t):1!==t.elem.nodeType||!x.cssHooks[t.prop]&&null==t.elem.style[te(t.prop)]?t.elem[t.prop]=t.now:x.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=le.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},x.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},x.fx=le.prototype.init,x.fx.step={};var de,ce,ue=/^(?:toggle|show|hide)$/,he=/queueHooks$/;function pe(){ce&&(!1===S.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(pe):C.setTimeout(pe,x.fx.interval),x.fx.tick())}function fe(){return C.setTimeout(function(){de=void 0}),de=Date.now()}function me(t,e){var i,n=0,s={height:t};for(e=e?1:0;n<4;n+=2-e)s["margin"+(i=it[n])]=s["padding"+i]=t;return e&&(s.opacity=s.width=t),s}function ge(t,e,i){for(var n,s=(ve.tweeners[e]||[]).concat(ve.tweeners["*"]),r=0,o=s.length;r<o;r++)if(n=s[r].call(i,e,t))return n}function ve(s,t,e){var i,r,n=0,o=ve.prefilters.length,a=x.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=de||fe(),t=Math.max(0,d.startTime+d.duration-t),e=1-(t/d.duration||0),i=0,n=d.tweens.length;i<n;i++)d.tweens[i].run(e);return a.notifyWith(s,[d,e,t]),e<1&&n?t:(n||a.notifyWith(s,[d,1,0]),a.resolveWith(s,[d]),!1)},d=a.promise({elem:s,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},e),originalProperties:t,originalOptions:e,startTime:de||fe(),duration:e.duration,tweens:[],createTween:function(t,e){t=x.Tween(s,d.opts,t,e,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(t),t},stop:function(t){var e=0,i=t?d.tweens.length:0;if(r)return this;for(r=!0;e<i;e++)d.tweens[e].run(1);return t?(a.notifyWith(s,[d,1,0]),a.resolveWith(s,[d,t])):a.rejectWith(s,[d,t]),this}}),c=d.props;for(function(t,e){var i,n,s,r,o;for(i in t)if(s=e[n=V(i)],r=t[i],Array.isArray(r)&&(s=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(o=x.cssHooks[n])&&"expand"in o)for(i in r=o.expand(r),delete t[n],r)i in t||(t[i]=r[i],e[i]=s);else e[n]=s}(c,d.opts.specialEasing);n<o;
vendor: 4,268 bytes, line 1
1n++)if(i=ve.prefilters[n].call(d,s,c,d.opts))return _(i.stop)&&(x._queueHooks(d.elem,d.opts.queue).stop=i.stop.bind(i)),i;return x.map(c,ge,d),_(d.opts.start)&&d.opts.start.call(s,d),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always),x.fx.timer(x.extend(l,{elem:s,anim:d,queue:d.opts.queue})),d}x.Animation=x.extend(ve,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return at(i.elem,t,et.exec(e),i),i}]},tweener:function(t,e){for(var i,n=0,s=(t=_(t)?(e=t,["*"]):t.match(L)).length;n<s;n++)i=t[n],ve.tweeners[i]=ve.tweeners[i]||[],ve.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,s,r,o,a,l,d,c="width"in e||"height"in e,u=this,h={},p=t.style,f=t.nodeType&&ot(t),m=K.get(t,"fxshow");for(n in i.queue||(null==(o=x._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,u.always(function(){u.always(function(){o.unqueued--,x.queue(t,"fx").length||o.empty.fire()})})),e)if(s=e[n],ue.test(s)){if(delete e[n],r=r||"toggle"===s,s===(f?"hide":"show")){if("show"!==s||!m||void 0===m[n])continue;f=!0}h[n]=m&&m[n]||x.style(t,n)}if((l=!x.isEmptyObject(e))||!x.isEmptyObject(h))for(n in c&&1===t.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(d=m&&m.display)&&(d=K.get(t,"display")),"none"===(c=x.css(t,"display"))&&(d?c=d:(dt([t],!0),d=t.style.display||d,c=x.css(t,"display"),dt([t]))),("inline"===c||"inline-block"===c&&null!=d)&&"none"===x.css(t,"float")&&(l||(u.done(function(){p.display=d}),null==d&&(c=p.display,d="none"===c?"":c)),p.display="inline-block")),i.overflow&&(p.overflow="hidden",u.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(f=m.hidden):m=K.access(t,"fxshow",{display:d}),r&&(m.hidden=!f),f&&dt([t],!0),u.done(function(){for(n in f||dt([t]),K.remove(t,"fxshow"),h)x.style(t,n,h[n])})),l=ge(f?m[n]:0,n,u),n in m||(m[n]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ve.prefilters.unshift(t):ve.prefilters.push(t)}}),x.speed=function(t,e,i){var n=t&&"object"==typeof t?x.extend({},t):{complete:i||!i&&e||_(t)&&t,duration:t,easing:i&&e||e&&!_(e)&&e};return x.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in x.fx.speeds?n.duration=x.fx.speeds[n.duration]:n.duration=x.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){_(n.old)&&n.old.call(this),n.queue&&x.dequeue(this,n.queue)},n},x.fn.extend({fadeTo:function(t,e,i,n){return this.filter(ot).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){var s=x.isEmptyObject(e),r=x.speed(t,i,n),n=function(){var t=ve(this,x.extend({},e),r);(s||K.get(this,"finish"))&&t.stop(!0)};return n.finish=n,s||!1===r.queue?this.each(n):this.queue(r.queue,n)},stop:function(s,t,r){function o(t){var e=t.stop;delete t.stop,e(r)}return"string"!=typeof s&&(r=t,t=s,s=void 0),t&&this.queue(s||"fx",[]),this.each(function(){var t=!0,e=null!=s&&s+"queueHooks",i=x.timers,n=K.get(this);if(e)n[e]&&n[e].stop&&o(n[e]);else for(e in n)n[e]&&n[e].stop&&he.test(e)&&o(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=s&&i[e].queue!==s||(i[e].anim.stop(r),t=!1,i.splice(e,1));!t&&r||x.dequeue(this,s)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var t,e=K.get(this),i=e[o+"queue"],n=e[o+"queueHooks"],s=x.timers,r=i?i.length:0;for(e.finish=!0,x.queue(this,o,[]),n&&n.stop&&n.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===o&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<r;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),x.each(["toggle","show","hide"],function(t,n){var s=x.fn[n];x.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?s.apply(this,arguments):this.animate(me(n,!0),t,e,i)}}),x.each({slideDown:me("show"),slideUp:me("hide"),slideToggle:me("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){x.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),x.timers=[],x.fx.tick=function(){var t,e=0,i=x.timers;for(de=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||x.fx.stop(),de=void 0},x.fx.timer=function(t){x.timers.push(t),x.fx.start()}
vendor: 10,673 bytes, line 1
1,x.fx.interval=13,x.fx.start=function(){ce||(ce=!0,pe())},x.fx.stop=function(){ce=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(n,t){return n=x.fx&&x.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,e){var i=C.setTimeout(t,n);e.stop=function(){C.clearTimeout(i)}})},u=S.createElement("input"),tt=S.createElement("select").appendChild(S.createElement("option")),u.type="checkbox",y.checkOn=""!==u.value,y.optSelected=tt.selected,(u=S.createElement("input")).value="t",u.type="radio",y.radioValue="t"===u.value;var ye,_e=x.expr.attrHandle;x.fn.extend({attr:function(t,e){return U(this,x.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){x.removeAttr(this,t)})}}),x.extend({attr:function(t,e,i){var n,s,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?x.prop(t,e,i):(1===r&&x.isXMLDoc(t)||(s=x.attrHooks[e.toLowerCase()]||(x.expr.match.bool.test(e)?ye:void 0)),void 0!==i?null===i?void x.removeAttr(t,e):s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:(t.setAttribute(e,i+""),i):!(s&&"get"in s&&null!==(n=s.get(t,e)))&&null==(n=x.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!y.radioValue&&"radio"===e&&$(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,s=e&&e.match(L);if(s&&1===t.nodeType)for(;i=s[n++];)t.removeAttribute(i)}}),ye={set:function(t,e,i){return!1===e?x.removeAttr(t,i):t.setAttribute(i,i),i}},x.each(x.expr.match.bool.source.match(/\w+/g),function(t,e){var o=_e[e]||x.find.attr;_e[e]=function(t,e,i){var n,s,r=e.toLowerCase();return i||(s=_e[r],_e[r]=n,n=null!=o(t,e,i)?r:null,_e[r]=s),n}});var be=/^(?:input|select|textarea|button)$/i,we=/^(?:a|area)$/i;function Te(t){return(t.match(L)||[]).join(" ")}function Ce(t){return t.getAttribute&&t.getAttribute("class")||""}function Se(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(L)||[]}x.fn.extend({prop:function(t,e){return U(this,x.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[x.propFix[t]||t]})}}),x.extend({prop:function(t,e,i){var n,s,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&x.isXMLDoc(t)||(e=x.propFix[e]||e,s=x.propHooks[e]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=x.find.attr(t,"tabindex");return e?parseInt(e,10):be.test(t.nodeName)||we.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(x.propHooks.selected={get:function(t){t=t.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(t){t=t.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,i,n,s,r,o,a=0;if(_(e))return this.each(function(t){x(this).addClass(e.call(this,t,Ce(this)))});if((t=Se(e)).length)for(;i=this[a++];)if(o=Ce(i),n=1===i.nodeType&&" "+Te(o)+" "){for(r=0;s=t[r++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");o!==(o=Te(n))&&i.setAttribute("class",o)}return this},removeClass:function(e){var t,i,n,s,r,o,a=0;if(_(e))return this.each(function(t){x(this).removeClass(e.call(this,t,Ce(this)))});if(!arguments.length)return this.attr("class","");if((t=Se(e)).length)for(;i=this[a++];)if(o=Ce(i),n=1===i.nodeType&&" "+Te(o)+" "){for(r=0;s=t[r++];)for(;-1<n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");o!==(o=Te(n))&&i.setAttribute("class",o)}return this},toggleClass:function(s,e){var r=typeof s,o="string"==r||Array.isArray(s);return"boolean"==typeof e&&o?e?this.addClass(s):this.removeClass(s):_(s)?this.each(function(t){x(this).toggleClass(s.call(this,t,Ce(this),e),e)}):this.each(function(){var t,e,i,n;if(o)for(e=0,i=x(this),n=Se(s);t=n[e++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==s&&"boolean"!=r||((t=Ce(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",!t&&!1!==s&&K.get(this,"__className__")||""))})},hasClass:function(t){for(var e,i=0,n=" "+t+" ";e=this[i++];)if(1===e.nodeType&&-1<(" "+Te(Ce(e))+" ").indexOf(n))return!0;return!1}});var xe=/\r/g;x.fn.extend({val:function(e){var i,t,n,s=this[0];return arguments.length?(n=_(e),this.each(function(t){1===this.nodeType&&(null==(t=n?e.call(this,t,x(this).val()):e)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=x.map(t,function(t){return null==t?"":t+""})),(i=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):s?(i=x.valHooks[s.type]||x.valHooks[s.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(s,"value"))?t:"string"==typeof(t=s.value)?t.replace(xe,""):null==t?"":t:void 0}}),x.extend({valHooks:{option:{get:function(t){var e=x.find.attr(t,"value");return null!=e?e:Te(x.text(t))}},select:{get:function(t){for(var e,i=t.options,n=t.selectedIndex,s="select-one"===t.type,r=s?null:[],o=s?n+1:i.length,a=n<0?o:s?n:0;a<o;a++)if(((e=i[a]).selected||a===n)&&!e.disabled&&(!e.parentNode.disabled||!$(e.parentNode,"optgroup"))){if(e=x(e).val(),s)return e;r.push(e)}return r},set:function(t,e){for(var i,n,s=t.options,r=x.makeArray(e),o=s.length;o--;)((n=s[o]).selected=-1<x.inArray(x.valHooks.option.get(n),r))&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<x.inArray(x(t).val(),e)}},y.checkOn||(x.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),y.focusin="onfocusin"in C;function ke(t){t.stopPropagation()}var $e=/^(?:focusinfocus|focusoutblur)$/;x.extend(x.event,{trigger:function(t,e,i,n){var s,r,o,a,l,d,c,u=[i||S],h=v.call(t,"type")?t.type:t,p=v.call(t,"namespace")?t.namespace.split("."):[],f=c=r=i=i||S;if(3!==i.nodeType&&8!==i.nodeType&&!$e.test(h+x.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),a=h.indexOf(":")<0&&"on"+h,(t=t[x.expando]?t:new x.Event(h,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:x.makeArray(e,[t]),d=x.event.special[h]||{},n||!d.trigger||!1!==d.trigger.apply(i,e))){if(!n&&!d.noBubble&&!m(i)){for(o=d.delegateType||h,$e.test(o+h)||(f=f.parentNode);f;f=f.parentNode)u.push(f),r=f;r===(i.ownerDocument||S)&&u.push(r.defaultView||r.parentWindow||C)}for(s=0;(f=u[s++])&&!t.isPropagationStopped();)c=f,t.type=1<s?o:d.bindType||h,(l=(K.get(f,"events")||Object.create(null))[t.type]&&K.get(f,"handle"))&&l.apply(f,e),(l=a&&f[a])&&l.apply&&Y(f)&&(t.result=l.apply(f,e),!1===t.result&&t.preventDefault());return t.type=h,n||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(u.pop(),e)||!Y(i)||a&&_(i[h])&&!m(i)&&((r=i[a])&&(i[a]=null),x.event.triggered=h,t.isPropagationStopped()&&c.addEventListener(h,ke),i[h](),t.isPropagationStopped()&&c.removeEventListener(h,ke),x.event.triggered=void 0,r&&(i[a]=r)),t.result}},simulate:function(t,e,i){t=x.extend(new x.Event,i,{type:t,isSimulated:!0});x.event.trigger(t,null,e)}}),x.fn.extend({trigger:function(t,e){return this.each(function(){x.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return x.event.trigger(t,e,i,!0)}}),y.focusin||x.each({focus:"focusin",blur:"focusout"},function(i,n){function s(t){x.event.simulate(n,t.target,x.event.fix(t))}x.event.special[n]={setup:function(){var t=this.ownerDocument||this.document||this,e=K.access(t,n);e||t.addEventListener(i,s,!0),K.access(t,n,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this.document||this,e=K.access(t,n)-1;e?K.access(t,n,e):(t.removeEventListener(i,s,!0),K.remove(t,n))}}});var Ee=C.location,De={guid:Date.now()},Ie=/\?/;x.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new C.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+t),e};var Ae=/\[\]$/,Pe=/\r?\n/g,Me=/^(?:submit|button|image|reset|file)$/i,Oe=/^(?:input|select|textarea|keygen)/i;x.param=function(t,e){function i(t,e){e=_(e)?e():e,s[s.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==e?"":e)}var n,s=[];if(null==t)return"";if(Array.isArray(t)||t.jquery&&!x.isPlainObject(t))x.each(t,function(){i(this.name,this.value)});else for(n in t)!function i(n,t,s,r){if(Array.isArray(t))x.each(t,function(t,e){s||Ae.test(n)?r(n,e):i(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,s,r)});else if(s||"object"!==f(t))r(n,t);else for(var e in t)i(n+"["+e+"]",t[e],s,r)}(n,t[n],e,i);return s.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=x.prop(this,"elements");return t?x.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!x(this).is(":disabled")&&Oe.test(this.nodeName)&&!Me.test(t)&&(this.checked||!ct.test(t))}).map(function(t,e){var i=x(this).val();return null==i?null:Array.isArray(i)?x.map(i,function(t){return{name:e.name,value:t.replace(Pe,"\r\n")}}):{name:e.name,value:i.replace(Pe,"\r\n")}}).get()}});var Le=/%20/g,Ne=/#.*$/,Re=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)$/gm,je=/^(?:GET|HEAD)$/,Be=/^\/\//,He={},Ue={},ze="*/".concat("*"),qe=S.createElement("a");function We(r){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,s=t.toLowerCase().match(L)||[];if(_(e))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(r[i]=r[i]||[]).unshift(e)):(r[i]=r[i]||[]).push(e)}}function Ve(e,n,s,r){var o={},a=e===Ue;function l(t){var i;return o[t]=!0,x.each(e[t]||[],function(t,e){e=e(n,s,r);return"string"!=typeof e||a||o[e]?a?!(i=e):void 0:(n.dataTypes.unshift(e),l(e),!1)}),i}return l(n.dataTypes[0])||!o["*"]&&l("*")}function Ye(t,e){var i,n,s=x.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((s[i]?t:n=n||{})[i]=e[i]);return n&&x.extend(!0,t,n),t}qe.href=Ee.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ee.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ee.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ze,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML}
vendor: 4,538 bytes, line 1
1,flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ye(Ye(t,x.ajaxSettings),e):Ye(x.ajaxSettings,t)},ajaxPrefilter:We(He),ajaxTransport:We(Ue),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var l,d,c,i,u,n,h,p,s,r,f=x.ajaxSetup({},e),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?x(m):x.event,v=x.Deferred(),y=x.Callbacks("once memory"),_=f.statusCode||{},o={},a={},b="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(h){if(!i)for(i={};e=Fe.exec(c);)i[e[1].toLowerCase()+" "]=(i[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=i[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?c:null},setRequestHeader:function(t,e){return null==h&&(t=a[t.toLowerCase()]=a[t.toLowerCase()]||t,o[t]=e),this},overrideMimeType:function(t){return null==h&&(f.mimeType=t),this},statusCode:function(t){if(t)if(h)w.always(t[w.status]);else for(var e in t)_[e]=[_[e],t[e]];return this},abort:function(t){t=t||b;return l&&l.abort(t),T(0,t),this}};if(v.promise(w),f.url=((t||f.url||Ee.href)+"").replace(Be,Ee.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(L)||[""],null==f.crossDomain){n=S.createElement("a");try{n.href=f.url,n.href=n.href,f.crossDomain=qe.protocol+"//"+qe.host!=n.protocol+"//"+n.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=x.param(f.data,f.traditional)),Ve(He,f,e,w),h)return w;for(s in(p=x.event&&f.global)&&0==x.active++&&x.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!je.test(f.type),d=f.url.replace(Ne,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Le,"+")):(r=f.url.slice(d.length),f.data&&(f.processData||"string"==typeof f.data)&&(d+=(Ie.test(d)?"&":"?")+f.data,delete f.data),!1===f.cache&&(d=d.replace(Re,"$1"),r=(Ie.test(d)?"&":"?")+"_="+De.guid+++r),f.url=d+r),f.ifModified&&(x.lastModified[d]&&w.setRequestHeader("If-Modified-Since",x.lastModified[d]),x.etag[d]&&w.setRequestHeader("If-None-Match",x.etag[d])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+ze+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(s,f.headers[s]);if(f.beforeSend&&(!1===f.beforeSend.call(m,w,f)||h))return w.abort();if(b="abort",y.add(f.complete),w.done(f.success),w.fail(f.error),l=Ve(Ue,f,e,w)){if(w.readyState=1,p&&g.trigger("ajaxSend",[w,f]),h)return w;f.async&&0<f.timeout&&(u=C.setTimeout(function(){w.abort("timeout")},f.timeout));try{h=!1,l.send(o,T)}catch(t){if(h)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,e,i,n){var s,r,o,a=e;h||(h=!0,u&&C.clearTimeout(u),l=void 0,c=n||"",w.readyState=0<t?4:0,n=200<=t&&t<300||304===t,i&&(o=function(t,e,i){for(var n,s,r,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||t.converters[s+" "+l[0]]){r=s;break}o=o||s}r=r||o}if(r)return r!==l[0]&&l.unshift(r),i[r]}(f,w,i)),!n&&-1<x.inArray("script",f.dataTypes)&&(f.converters["text script"]=function(){}),o=function(t,e,i,n){var s,r,o,a,l,d={},c=t.dataTypes.slice();if(c[1])for(o in t.converters)d[o.toLowerCase()]=t.converters[o];for(r=c.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=d[l+" "+r]||d["* "+r]))for(s in d)if((a=s.split(" "))[1]===r&&(o=d[l+" "+a[0]]||d["* "+a[0]])){!0===o?o=d[s]:!0!==d[s]&&(r=a[0],c.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(f,o,w,n),n?(f.ifModified&&((i=w.getResponseHeader("Last-Modified"))&&(x.lastModified[d]=i),(i=w.getResponseHeader("etag"))&&(x.etag[d]=i)),204===t||"HEAD"===f.type?a="nocontent":304===t?a="notmodified":(a=o.state,s=o.data,n=!(r=o.error))):(r=a,!t&&a||(a="error",t<0&&(t=0))),w.status=t,w.statusText=(e||a)+"",n?v.resolveWith(m,[s,a,w]):v.rejectWith(m,[w,a,r]),w.statusCode(_),_=void 0,p&&g.trigger(n?"ajaxSuccess":"ajaxError",[w,f,n?s:r]),y.fireWith(m,[w,a]),p&&(g.trigger("ajaxComplete",[w,f]),--x.active||x.event.trigger("ajaxStop")))}return w}
vendor: 4,349 bytes, line 1
1,getJSON:function(t,e,i){return x.get(t,e,i,"json")},getScript:function(t,e){return x.get(t,void 0,e,"script")}}),x.each(["get","post"],function(t,s){x[s]=function(t,e,i,n){return _(e)&&(n=n||i,i=e,e=void 0),x.ajax(x.extend({url:t,type:s,dataType:n,data:e,success:i},x.isPlainObject(t)&&t))}}),x.ajaxPrefilter(function(t){for(var e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),x._evalUrl=function(t,e,i){return x.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){x.globalEval(t,e,i)}})},x.fn.extend({wrapAll:function(t){return this[0]&&(_(t)&&(t=t.call(this[0])),t=x(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(i){return _(i)?this.each(function(t){x(this).wrapInner(i.call(this,t))}):this.each(function(){var t=x(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=_(e);return this.each(function(t){x(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(t){return!x.expr.pseudos.visible(t)},x.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(t){}};var Ge={0:200,1223:204},Ke=x.ajaxSettings.xhr();y.cors=!!Ke&&"withCredentials"in Ke,y.ajax=Ke=!!Ke,x.ajaxTransport(function(s){var r,o;if(y.cors||Ke&&!s.crossDomain)return{send:function(t,e){var i,n=s.xhr();if(n.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)n[i]=s.xhrFields[i];for(i in s.mimeType&&n.overrideMimeType&&n.overrideMimeType(s.mimeType),s.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)n.setRequestHeader(i,t[i]);r=function(t){return function(){r&&(r=o=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===t?n.abort():"error"===t?"number"!=typeof n.status?e(0,"error"):e(n.status,n.statusText):e(Ge[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=r(),o=n.onerror=n.ontimeout=r("error"),void 0!==n.onabort?n.onabort=o:n.onreadystatechange=function(){4===n.readyState&&C.setTimeout(function(){r&&o()})},r=r("abort");try{n.send(s.hasContent&&s.data||null)}catch(t){if(r)throw t}},abort:function(){r&&r()}}}),x.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return x.globalEval(t),t}}}),x.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),x.ajaxTransport("script",function(i){var n,s;if(i.crossDomain||i.scriptAttrs)return{send:function(t,e){n=x("<script>").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(t){n.remove(),s=null,t&&e("error"===t.type?404:200,t.type)}),S.head.appendChild(n[0])},abort:function(){s&&s()}}});var Xe=[],Qe=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Xe.pop()||x.expando+"_"+De.guid++;return this[t]=!0,t}}),x.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,r,o=!1!==t.jsonp&&(Qe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qe.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=_(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(Qe,"$1"+n):!1!==t.jsonp&&(t.url+=(Ie.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return r||x.error(n+" was not called"),r[0]},t.dataTypes[0]="json",s=C[n],C[n]=function(){r=arguments},i.always(function(){void 0===s?x(C).removeProp(n):C[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,Xe.push(n)),r&&_(s)&&s(r[0]),r=s=void 0}),"script"}),y.createHTMLDocument=((u=S.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>
1",2===u.childNodes.length),x.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(y.createHTMLDocument?((n=(e=S.implementation.createHTMLDocument("")).createElement("base")).href=S.location.href,e.head.appendChild(n)):e=S),n=!i&&[],(i=E.exec(t))?[e.createElement(i[1])]:(i=vt([t],e,n),n&&n.length&&x(n).remove(),x.merge([],i.childNodes)));var n},x.fn.load=function(t,e,i){var n,s,r,o=this,a=t.indexOf(" ");return-1<a&&(n=Te(t.slice(a)),t=t.slice(0,a)),_(e)?(i=e,e=void 0):e&&"object"==typeof e&&(s="POST"),0<o.length&&x.ajax({url:t,type:s||"GET",dataType:"html",data:e}).done(function(t){r=arguments,o.html(n?x("<div>").append(x.parseHTML(t)).find(n):t)}).always(i&&function(t,e){o.each(function(){i.apply(this,r||[t.responseText,e,t])})}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length},x.offset={setOffset:function(t,e,i){var n,s,r,o,a=x.css(t,"position"),l=x(t),d={};"static"===a&&(t.style.position="relative"),r=l.offset(),n=x.css(t,"top"),o=x.css(t,"left"),o=("absolute"===a||"fixed"===a)&&-1<(n+o).indexOf("auto")?(s=(a=l.position()).top,a.left):(s=parseFloat(n)||0,parseFloat(o)||0),_(e)&&(e=e.call(t,i,x.extend({},r))),null!=e.top&&(d.top=e.top-r.top+s),null!=e.left&&(d.left=e.left-r.left+o),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),l.css(d))}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){x.offset.setOffset(this,e,t)});var t,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),i=i.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],s={top:0,left:0};if("fixed"===x.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===x.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((s=x(t).offset()).top+=x.css(t,"borderTopWidth",!0),s.left+=x.css(t,"borderLeftWidth",!0))}return{top:e.top-s.top-x.css(n,"marginTop",!0),left:e.left-s.left-x.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===x.css(t,"position");)t=t.offsetParent;return t||nt})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var r="pageYOffset"===s;x.fn[e]=function(t){return U(this,function(t,e,i){var n;return m(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i?n?n[s]:t[e]:void(n?n.scrollTo(r?n.pageXOffset:i,r?i:n.pageYOffset):t[e]=i)},e,t,arguments.length)}}),x.each(["top","left"],function(t,i){x.cssHooks[i]=Gt(y.pixelPosition,function(t,e){if(e)return e=Yt(t,i),qt.test(e)?x(t).position()[i]+"px":e})}),x.each({Height:"height",Width:"width"},function(o,a){x.each({padding:"inner"+o,content:a,"":"outer"+o},function(n,r){x.fn[r]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return U(this,function(t,e,i){var n;return m(t)?0===r.indexOf("outer")?t["inner"+o]:t.document.documentElement["client"+o]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+o],n["scroll"+o],t.body["offset"+o],n["offset"+o],n["client"+o])):void 0===i?x.css(t,e,s):x.style(t,e,i,s)},a,i?t:void 0,i)}})}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){x.fn[e]=function(t){return this.on(e,t)}}),x.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,i){x.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}});var Ze=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;x.proxy=function(t,e){var i,n;if("string"==typeof e&&(n=t[e],e=t,t=n),_(t))return i=a.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(a.call(arguments)))}).guid=t.guid=t.guid||x.guid++,n},x.holdReady=function(t){t?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=$,x.isFunction=_,x.isWindow=m,x.camelCase=V,x.type=f,x.now=Date.now,x.isNumeric=function(t){var e=x.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},x.trim=function(t){return null==t?"":(t+"").replace(Ze,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return x});var Je=C.jQuery,ti=C.$;return x.noConflict=function(t){return C.$===x&&(C.$=ti),t&&C.jQuery===x&&(C.jQuery=Je),x},void 0===t&&(C.jQuery=C.$=x),x}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exp
1orts.AOS=e():t.AOS=e()}(this,function(){return s={},i.m=n=[function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function s(){if(0<arguments.length&&void 0!==arguments[0]&&arguments[0]&&(g=!0),g)return m=(0,p.default)(m,y),(0,h.default)(m,y.once),m}function r(){m=(0,f.default)(),s()}var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},a=(n(i(1)),i(6)),l=n(a),d=n(i(7)),c=n(i(8)),u=n(i(9)),h=n(i(10)),p=n(i(11)),f=n(i(14)),m=[],g=!1,v=document.all&&!window.atob,y={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1};t.exports={init:function(t){return y=o(y,t),m=(0,f.default)(),!0===(t=y.disable)||"mobile"===t&&u.default.mobile()||"phone"===t&&u.default.phone()||"tablet"===t&&u.default.tablet()||"function"==typeof t&&!0===t()||v?void m.forEach(function(t,e){t.node.removeAttribute("data-aos"),t.node.removeAttribute("data-aos-easing"),t.node.removeAttribute("data-aos-duration"),t.node.removeAttribute("data-aos-delay")}):(document.querySelector("body").setAttribute("data-aos-easing",y.easing),document.querySelector("body").setAttribute("data-aos-duration",y.duration),document.querySelector("body").setAttribute("data-aos-delay",y.delay),"DOMContentLoaded"===y.startEvent&&-1<["complete","interactive"].indexOf(document.readyState)?s(!0):("load"===y.startEvent?window:document).addEventListener(y.startEvent,function(){s(!0)}),window.addEventListener("resize",(0,d.default)(s,y.debounceDelay,!0)),window.addEventListener("orientationchange",(0,d.default)(s,y.debounceDelay,!0)),window.addEventListener("scroll",(0,l.default)(function(){(0,h.default)(m,y.once)},y.throttleDelay)),y.disableMutationObserver||(0,c.default)("[data-aos]",r),m)},refresh:s,refreshHard:r}},function(t,e){},,,,,function(f,t){(function(t){"use strict";function r(n,i,t){function s(t){var e=l,i=d;return l=d=void 0,f=t,u=n.apply(i,e)}function r(t){var e=t-p;return void 0===p||i<=e||e<0||g&&c<=t-f}function o(){var t,e=C();return r(e)?a(e):void(h=setTimeout(o,(e=i-((t=e)-p),g?T(e,c-(t-f)):e)))}function a(t){return h=void 0,v&&l?s(t):(l=d=void 0,u)}function e(){var t=C(),e=r(t);if(l=arguments,d=this,p=t,e){if(void 0===h)return f=e=p,h=setTimeout(o,i),m?s(e):u;if(g)return h=setTimeout(o,i),s(p)}return void 0===h&&(h=setTimeout(o,i)),u}var l,d,c,u,h,p,f=0,m=!1,g=!1,v=!0;if("function"!=typeof n)throw new TypeError(b);return i=_(i)||0,y(t)&&(m=!!t.leading,g="maxWait"in t,c=g?w(_(t.maxWait)||0,i):c,v="trailing"in t?!!t.trailing:v),e.cancel=function(){void 0!==h&&clearTimeout(h),l=p=d=h=void(f=0)},e.flush=function(){return void 0===h?u:a(C())},e}function y(t){var e=void 0===t?"undefined":n(t);return t&&("object"==e||"function"==e)}function i(t){return"symbol"==(void 0===t?"undefined":n(t))||!!(e=t)&&"object"==(void 0===e?"undefined":n(e))&&p.call(t)==o;var e}function _(t){if("number"==typeof t)return t;if(i(t))return s;if(y(t)&&(t=y(e="function"==typeof t.valueOf?t.valueOf():t)?e+"":e),"string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var e=d.test(t);return e||c.test(t)?u(t.slice(2),e?2:8):l.test(t)?s:+t}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b="Expected a function",s=NaN,o="[object Symbol]",a=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,e="object"==(void 0===t?"undefined":n(t))&&t&&t.Object===Object&&t,t="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,h=e||t||Function("return this")(),p=Object.prototype.toString,w=Math.max,T=Math.min,C=function(){return h.Date.now()};f.exports=function(t,e,i){var n=!0,s=!0;if("function"!=typeof t)throw new TypeError(b);return y(i)&&(n="leading"in i?!!i.leading:n,s="trailing"in i?!!i.trailing:s),r(t,e,{leading:n,maxWait:e,trailing:s})}}).call(t,function(){return this}())},function(p,t){(function(t){"use strict";function y(t){var e=void 0===t?"undefined":n(t);return t&&("object"==e||"function"==e)}function i(t){return"symbol"==(void 0===t?"undefined":n(t))||!!(e=t)&&"object"==(void 0===e?"undefined":n(e))&&h.call(t)==r;var e}function _(t){if("number"==typeof t)return t;if(i(t))return s;if(y(t)&&(t=y(e="function"==typeof t.valueOf?t.valueOf():t)?e+"":e),"string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var e=l.test(t);return e||d.test(t)?c(t.slice(2),e?2:8):a.test(t)?s:+t}function b(){return u.Date.now()}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=NaN,r="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,d=/^0o[0-7]+$/i,c=parseInt,e="object"==(void 0===t?"undefined":n(t))&&t&&t.Object===Object&&t,t="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,u=e||t||Function("return this")(),h=Object.prototype.toString,w=Math.max,T=Math.min;p.exports=function(n,i,t){function s(t){var e=l,i=d;return l=d=void 0,f=t,u=n.apply(i,e)}function r(t){var e=t-p;return void 0===p||i<=e||e<0||g&&c<=t-f}function o(){var t,e=b();return r(e)?a(e):void(h=setTimeout(o,(e=i-((t=e)-p),g?T(e,c-(t-f)):e)))}function a(t){return h=void 0,v&&l?s(t):(l=d=void 0,u)}function e(){var t=b(),e=r(t);if(l=arguments,d=this,p=t,e){if(void 0===h)return f=e=p,h=setTimeout(o,i),m?s(e):u;if(g)return h=setTimeout(o,i),s(p)}return void 0===h&&(h=setTimeout(o,i)),u}var l,d,c,u,h,p,f=0,m=!1,g=!1,v=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return i=_(i)||0,y(t)&&(m=!!t.leading,g="maxWait"in t,c=g?w(_(t.maxWait)||0,i):c,v="trailing"in t?!!t.trailing:v),e.cancel=function(){void 0!==h&&clearTimeout(h),l=p=d=h=void(f=0)},e.flush=function(){return void 0===h?u:a(b())},e}}).call(t,function(){return this}())},function(t,e){"use strict";function n(t){t&&t.forEach(function(t){var e=Array.prototype.slice.call(t.addedNodes),t=Array.prototype.slice.call(t.removedNodes
1);e.concat(t).filter(function(t){return t.hasAttribute&&t.hasAttribute("data-aos")}).length&&o()})}Object.defineProperty(e,"__esModule",{value:!0});var s=window.document,r=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,o=function(){};e.default=function(t,e){var i=new r(n);o=e,i.observe(s.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}},function(t,e){"use strict";function i(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(e,"__esModule",{value:!0});var n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,s=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,o=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,a=(function(t,e,i){return e&&d(t.prototype,e),i&&d(t,i),t}(l,[{key:"phone",value:function(){var t=i();return!(!n.test(t)&&!s.test(t.substr(0,4)))}},{key:"mobile",value:function(){var t=i();return!(!r.test(t)&&!o.test(t.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),l);function l(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l)}function d(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}e.default=new a},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,r){var o=window.pageYOffset,a=window.innerHeight;t.forEach(function(t,e){var i,n,s;n=a+o,s=r,t=(i=t).node.getAttribute("data-aos-once"),n>i.position?i.node.classList.add("aos-animate"):void 0===t||"false"!==t&&(s||"true"===t)||i.node.classList.remove("aos-animate")})}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,s=i(12),r=(n=s)&&n.__esModule?n:{default:n};e.default=function(t,i){return t.forEach(function(t,e){t.node.classList.add("aos-init"),t.position=(0,r.default)(t.node,i.offset)}),t}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,s=i(13),o=(n=s)&&n.__esModule?n:{default:n};e.default=function(t,e){var i=0,n=0,s=window.innerHeight,r={offset:t.getAttribute("data-aos-offset"),anchor:t.getAttribute("data-aos-anchor"),anchorPlacement:t.getAttribute("data-aos-anchor-placement")};switch(r.offset&&!isNaN(r.offset)&&(n=parseInt(r.offset)),r.anchor&&document.querySelectorAll(r.anchor)&&(t=document.querySelectorAll(r.anchor)[0]),i=(0,o.default)(t).top,r.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=t.offsetHeight/2;break;case"bottom-bottom":i+=t.offsetHeight;break;case"top-center":i+=s/2;break;case"bottom-center":i+=s/2+t.offsetHeight;break;case"center-center":i+=s/2+t.offsetHeight/2;break;case"top-top":i+=s;break;case"bottom-top":i+=t.offsetHeight+s;break;case"center-top":i+=t.offsetHeight/2+s}return r.anchorPlacement||r.offset||isNaN(e)||(n=e),i+n}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){for(var e=0,i=0;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e+=t.offsetLeft-("BODY"!=t.tagName?t.scrollLeft:0),i+=t.offsetTop-("BODY"!=t.tagName?t.scrollTop:0),t=t.offsetParent;return{top:i,left:e}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){return t=t||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(t,function(t){return{node:t}})}}],i.c=s,i.p="dist/",i(0);function i(t){if(s[t])return s[t].exports;var e=s[t]={exports:{},id:t,loaded:!1};return n[t].call(e.exports,e,e.exports,i),e.loaded=!0,e.exports}var n,s}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t=t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,c,s){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function e(e,t){var i,n=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)),n}function o(n){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?e(Object(s),!0).forEach(function(t){var e,i=n,t=s[e=t];e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEac
1h(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(s,t))})}return n}c=c&&c.hasOwnProperty("default")?c.default:c,s=s&&s.hasOwnProperty("default")?s.default:s;var i="transitionend";var u={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e,i=t.getAttribute("data-target");i&&"#"!==i||(i=(e=t.getAttribute("href"))&&"#"!==e?e.trim():"");try{return document.querySelector(i)?i:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=c(t).css("transition-duration"),i=c(t).css("transition-delay"),n=parseFloat(e),t=parseFloat(i);return n||t?(e=e.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(e)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){c(t).trigger(i)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var s=i[n],r=e[n],r=r&&u.isElement(r)?"element":{}.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(r))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+r+'" but expected type "'+s+'".')}},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?u.findShadowRoot(t.parentNode):null;t=t.getRootNode();return t instanceof ShadowRoot?t:null},jQueryDetection:function(){if(void 0===c)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=c.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};u.jQueryDetection(),c.fn.emulateTransitionEnd=function(t){var e=this,i=!1;return c(this).one(u.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||u.triggerTransitionEnd(e)},t),this},c.event.special[u.TRANSITION_END]={bindType:i,delegateType:i,handle:function(t){if(c(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var a="alert",l="bs.alert",d="."+l,h=c.fn[a],p={CLOSE:"close"+d,CLOSED:"closed"+d,CLICK_DATA_API:"click"+d+".data-api"},f=((w=m.prototype).close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},w.dispose=function(){c.removeData(this._element,l),this._element=null},w._getRootElement=function(t){var e=u.getSelectorFromElement(t),i=!1;return e&&(i=document.querySelector(e)),i||c(t).closest(".alert")[0]},w._triggerCloseEvent=function(t){var e=c.Event(p.CLOSE);return c(t).trigger(e),e},w._removeElement=function(e){var t,i=this;c(e).removeClass("show"),c(e).hasClass("fade")?(t=u.getTransitionDurationFromElement(e),c(e).one(u.TRANSITION_END,function(t){return i._destroyElement(e,t)}).emulateTransitionEnd(t)):this._destroyElement(e)},w._destroyElement=function(t){c(t).detach().trigger(p.CLOSED).remove()},m._jQueryInterface=function(i){return this.each(function(){var t=c(this),e=t.data(l);e||(e=new m(this),t.data(l,e)),"close"===i&&e[i](this)})},m._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},r(m,null,[{key:"VERSION",get:function(){return"5.3.7"}}]),m);function m(t){this._element=t}c(document).on(p.CLICK_DATA_API,'[data-dismiss="alert"]',f._handleDismiss(new f)),c.fn[a]=f._jQueryInterface,c.fn[a].Constructor=f,c.fn[a].noConflict=function(){return c.fn[a]=h,f._jQueryInterface};var g="button",v="bs.button",y="."+v,d=".data-api",_=c.fn[g],b="active",w='[data-toggle^="button"]',T='input:not([type="hidden"])',y={CLICK_DATA_API:"click"+y+d,FOCUS_BLUR_DATA_API:"focus"+y+d+" blur"+y+d,LOAD_DATA_API:"load"+y+d},C=((d=S.prototype).toggle=function(){var t,e=!0,i=!0,n=c(this._element).closest('[data-toggle="buttons"]')[0];!n||(t=this._element.querySelector(T))&&("radio"===t.type?t.checked&&this._element.classList.contains(b)?e=!1:(n=n.querySelector(".active"))&&c(n).removeClass(b):("checkbox"!==t.type||"LABEL"===this._element.tagName&&t.checked===this._element.classList.contains(b))&&(e=!1),e&&(t.checked=!this._element.classList.contains(b),c(t).trigger("change")),t.focus(),i=!1),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(i&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(b)),e&&c(this._element).toggleClass(b))},d.dispose=function(){c.removeData(this._element,v),this._element=null},S._jQueryInterface=function(e){return this.each(function(){var t=c(this).data(v);t||(t=new S(this),c(this).data(v,t)),"toggle"===e&&t[e]()})},r(S,null,[{key:"VERSION",get:function(){return"5.3.7"}}]),S);function S(t){this._element=t}c(document).on(y.CLICK_DATA_API,w,function(t){var e,i=t.target;c(i).hasClass("btn")||(i=c(i).closest(".btn")[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled")||(e=i.querySelector(T))&&(e.hasAttribute("disabled")||e.classList.contains("disabled"))?t.preventDefault():C._jQueryInterface.call(c(i),"toggle")}).on(y.FOCUS_BLUR_DATA_API,w,function(t){var e=c(t.target).closest(".btn")[0];c(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),c(window).on(y.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,i=t.length;e<i;e++){var n=t[e],s=n.querySelector(T);s.checked||s.hasAttribute("checked")?n.classList.add(b):n.classList.remove(b)}for(var r=0,o=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;r<o;r++){var a=t[r];"true"===a.getAttribute("aria-pressed")?a.classList.add(b):a.classList.remove(b)}}),c.fn[g]=C._jQueryInterface,c.fn[g].Constructor=C,c.fn[g].noConflict=function(){return c.fn[g]=_,C._jQueryInterface};var x="carousel",k="bs.carousel",$="."+k,y=".data-api",E=c.fn[x],D={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},I={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},A="next",P="prev",M={SLIDE:"slide"+$,SLID:"slid"+$,KEYDOWN:"keydown"+$,MOUSEENTER:"mouseenter"+$,MOUSELEAVE:"mouseleave"+$,TOUCHSTART:"touchstart"+$,TOUCHMOVE:"touchmove"+$,TOUCHEND:"touchend"+$,POINTERDOWN:"pointerdown"+$,POINTERUP:"pointerup"+$,DRAG_START:"dragstart"+$,LOAD_DATA_API:"load"+$+y,CLICK_DATA_API:"click"+$+y},O="active",L=".active.carousel-item",N={TOUCH:"touch",PEN:"pen"},R=((y=F.prototype).next=function(){this._isSliding||this._slide(A)},y.nextWhenVisible=function(){!document.hidden&&c(this._element).is(":visible")&&"hidden"
1!==c(this._element).css("visibility")&&this.next()},y.prev=function(){this._isSliding||this._slide(P)},y.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(u.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},y.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},y.to=function(t){var e=this;this._activeElement=this._element.querySelector(L);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)c(this._element).one(M.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();i=i<t?A:P;this._slide(i,this._items[t])}},y.dispose=function(){c(this._element).off($),c.removeData(this._element,k),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},y._getConfig=function(t){return t=o({},D,{},t),u.typeCheckConfig(x,t,I),t},y._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);t<=40||(t=t/this.touchDeltaX,(this.touchDeltaX=0)<t&&this.prev(),t<0&&this.next())},y._addEventListeners=function(){var e=this;this._config.keyboard&&c(this._element).on(M.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&c(this._element).on(M.MOUSEENTER,function(t){return e.pause(t)}).on(M.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},y._addTouchEventListeners=function(){var t,e,i=this;this._touchSupported&&(t=function(t){i._pointerEvent&&N[t.originalEvent.pointerType.toUpperCase()]?i.touchStartX=t.originalEvent.clientX:i._pointerEvent||(i.touchStartX=t.originalEvent.touches[0].clientX)},e=function(t){i._pointerEvent&&N[t.originalEvent.pointerType.toUpperCase()]&&(i.touchDeltaX=t.originalEvent.clientX-i.touchStartX),i._handleSwipe(),"hover"===i._config.pause&&(i.pause(),i.touchTimeout&&clearTimeout(i.touchTimeout),i.touchTimeout=setTimeout(function(t){return i.cycle(t)},500+i._config.interval))},c(this._element.querySelectorAll(".carousel-item img")).on(M.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(c(this._element).on(M.POINTERDOWN,t),c(this._element).on(M.POINTERUP,e),this._element.classList.add("pointer-event")):(c(this._element).on(M.TOUCHSTART,t),c(this._element).on(M.TOUCHMOVE,function(t){(t=t).originalEvent.touches&&1<t.originalEvent.touches.length?i.touchDeltaX=0:i.touchDeltaX=t.originalEvent.touches[0].clientX-i.touchStartX}),c(this._element).on(M.TOUCHEND,e)))},y._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},y._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},y._getItemByDirection=function(t,e){var i=t===A,n=t===P,s=this._getItemIndex(e),r=this._items.length-1;if((n&&0===s||i&&s===r)&&!this._config.wrap)return e;t=(s+(t===P?-1:1))%this._items.length;return-1==t?this._items[this._items.length-1]:this._items[t]},y._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(this._element.querySelector(L)),i=c.Event(M.SLIDE,{relatedTarget:t,direction:e,from:n,to:i});return c(this._element).trigger(i),i},y._setActiveIndicatorElement=function(t){var e;this._indicatorsElement&&(e=[].slice.call(this._indicatorsElement.querySelectorAll(".active")),c(e).removeClass(O),(t=this._indicatorsElement.children[this._getItemIndex(t)])&&c(t).addClass(O))},y._slide=function(t,e){var i,n,s,r=this,o=this._element.querySelector(L),a=this._getItemIndex(o),l=e||o&&this._getItemByDirection(t,o),d=this._getItemIndex(l),e=Boolean(this._interval),t=t===A?(i="carousel-item-left",n="carousel-item-next","left"):(i="carousel-item-right",n="carousel-item-prev","right");l&&c(l).hasClass(O)?this._isSliding=!1:!this._triggerSlideEvent(l,t).isDefaultPrevented()&&o&&l&&(this._isSliding=!0,e&&this.pause(),this._setActiveIndicatorElement(l),s=c.Event(M.SLID,{relatedTarget:l,direction:t,from:a,to:d}),c(this._element).hasClass("slide")?(c(l).addClass(n),u.reflow(l),c(o).addClass(i),c(l).addClass(i),(d=parseInt(l.getAttribute("data-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=d):this._config.interval=this._config.defaultInterval||this._config.interval,d=u.getTransitionDurationFromElement(o),c(o).one(u.TRANSITION_END,function(){c(l).removeClass(i+" "+n).addClass(O),c(o).removeClass(O+" "+n+" "+i),r._isSliding=!1,setTimeout(function(){return c(r._element).trigger(s)},0)}).emulateTransitionEnd(d)):(c(o).removeClass(O),c(l).addClass(O),this._isSliding=!1,c(this._element).trigger(s)),e&&this.cycle())},F._jQueryInterface=function(n){return this.each(function(){var t=c(this).data(k),e=o({},D,{},c(this).data());"object"==typeof n&&(e=o({},e,{},n));var i="string"==typeof n?n:e.slide;if(t||(t=new F(this,e),c(this).data(k,t)),"number"==typeof n)t.to(n);else if("string"==typeof i){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},F._dataApiClickHandler=function(t){var e,i,n=u.getSelectorFromElement(this);!n||(e=c(n)[0])&&c(e).hasClass("carousel")&&(i=o({},c(e).data(),{},c(this).data()),(n=this.getAttribute("data-slide-to"))&&(i.interval=!1),F._jQueryInterface.call(c(e),i),n&&c(e).data(k).to(n),t.preventDefault())},r(F,null,[{key:"VERSION",get:function(){return"5.3.7"}},{key:"Default",get:function(){return D}}]),F);function F(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}c(document).on(M.CLICK_DATA_API,"[data-slide], [data-slide-to]",R._dataApiClickHandler),c(window).on(M.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,i=t.length;e<i;e++){var n=c(t[e]);R._jQueryInterface.call(n,n.data())}}),c.fn[x]=R._jQueryInterface,c.fn[x].Constructor=R,c.fn[x].noConflict=function(){return c.fn[x]=E,R._jQueryInterface};var j="collapse",B="bs.collapse",y="."+B,H=c.fn[j],U={toggle:!0,parent:""},z={toggle:"boolean",parent:"(string|element)"},q={SHOW:"show"+y,SHOWN:"shown"+y,HIDE:"hide"+y,HIDDEN:"hidden"+y,CLICK_DATA_API:"click"+y+".data-api"},W="show",V="collapse",Y="collapsing",G="collapsed",K='[data-toggle="collapse"]',X=((y=Q.prototype).toggle=function(){c(this._element).hasClass(W)?this.hide():this.show()},y.show=function(){var t,e,i,n,s=this;this._isTransitioning||c(this._element).hasClass(W)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(t){return"string"==typeof s._config.parent?t.getAttribute("data-parent")===s._config.parent:t.classList.contains(V)})).length&&(n=null),n&&(i=c(n).not(this._selector).data(B))&&i._isTransitioning)||(t=c.Event(q.SHOW),c(this._element).trigger(t),t.isDefaultPrevented()||(n&&(Q._jQueryInterface.call(c(n).not(this._selector),"hide"),i||c(n).data(B,null)),e=this._getDimension(),c(this._element).removeClass(V).addClass(Y),this._element.style[e]=0,this._triggerArray.length&&c(this._triggerArray).removeClass(G).attr("aria-expanded",!0),this.setTransitioning(!0),i="scroll"+(e[0].toUpperCase()+e.slice(1)),n=u.getTransitionDurationFromElement(this._element),c(this._element).one(u.TRANSITION_END,function(){c(s._element).removeClass(Y).addClass(V).addClass(W),s._element.style[e]="",s.setTransitioning(!1),c(s._element).trigger(q.SHOWN)}).emulateTransitionEnd(n),this._element.style[e]=this._element[i]+"px"))},y.hide=function(){var t=this;if(!this._isTransitioning&&c(this._element).hasClass(W)){var e=c.Event(q.HIDE);if(c(this._element).trigger(e),!e.isDefaultPrevented()){e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",u.reflow(this._element),c(this._element).addClass(Y).removeClass(V).removeClass(W);var i=this._triggerArray.length;if(0<i)for(var n=0;n<i;n++){var s=this._triggerArray[n],r=u.getSelectorFromElement(s);null!==r&&(c([].slice.call(document.querySelectorAll(r))).hasClass(W)||c(s).addClass(G).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[e]="";e=u.getTransitionDurationFromElement(this._element);c(this._element).one(u.TRANSITION_END,function(){t.setTransitioning(!1),c(t._element).removeClass(Y).addClass(V).trigger(q.HIDDEN)}).emulateTransitionEnd(e)}}},y.setTransitioning=function(t){this._isTransitioning=t},y.dispose=function(){c.removeData(this._element,B),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},y._getConfig=function(t){return(t=o({},U,{},t)).toggle=Boolean(t.toggle),u.typeCheckConfig(j,t,z),t},y._getDimension=function(){return c(this._element).hasClass("width")?"width":"height"},y._getParent=function(){var t,i=this;u.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',e=[].slice.call(t.querySelectorAll(e));return c(e).each(function(t,e){i._addAriaAndCollapsedClass(Q._getTargetFromElement(e),[e])}),t},y._addAriaAndCollapsedClass=function(t,e){t=c(t).hasClass(W);e.length&&c(e).toggleClass(G,!t).attr("aria-expanded",t)},Q._getTargetFromElement=function(t){t=u.getSelectorFromElement(t);return t?document.querySelector(t):null},Q._jQueryInterface=function(n){return this.each(function(){var t=c(this),e=t.data(B),i=o({},U,{},t.data(),{},"object"==typeof n&&n?n:{});if(!e&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),e||(e=new Q(this,i),t.data(B,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method n
1amed "'+n+'"');e[n]()}})},r(Q,null,[{key:"VERSION",get:function(){return"5.3.7"}},{key:"Default",get:function(){return U}}]),Q);function Q(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(K)),n=0,s=i.length;n<s;n++){var r=i[n],o=u.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(o)).filter(function(t){return t===e});null!==o&&0<a.length&&(this._selector=o,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}c(document).on(q.CLICK_DATA_API,K,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var i=c(this),t=u.getSelectorFromElement(this),t=[].slice.call(document.querySelectorAll(t));c(t).each(function(){var t=c(this),e=t.data(B)?"toggle":i.data();X._jQueryInterface.call(t,e)})}),c.fn[j]=X._jQueryInterface,c.fn[j].Constructor=X,c.fn[j].noConflict=function(){return c.fn[j]=H,X._jQueryInterface};var Z="dropdown",J="bs.dropdown",tt="."+J,y=".data-api",et=c.fn[Z],it=new RegExp("38|40|27"),nt={HIDE:"hide"+tt,HIDDEN:"hidden"+tt,SHOW:"show"+tt,SHOWN:"shown"+tt,CLICK:"click"+tt,CLICK_DATA_API:"click"+tt+y,KEYDOWN_DATA_API:"keydown"+tt+y,KEYUP_DATA_API:"keyup"+tt+y},st="disabled",rt="show",ot="dropdown-menu-right",at='[data-toggle="dropdown"]',lt=".dropdown-menu",dt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},ct={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},ut=((y=ht.prototype).toggle=function(){var t;this._element.disabled||c(this._element).hasClass(st)||(t=c(this._menu).hasClass(rt),ht._clearMenus(),t||this.show(!0))},y.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||c(this._element).hasClass(st)||c(this._menu).hasClass(rt))){var e={relatedTarget:this._element},i=c.Event(nt.SHOW,e),n=ht._getParentFromElement(this._element);if(c(n).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===s)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");t=this._element;"parent"===this._config.reference?t=n:u.isElement(this._config.reference)&&(t=this._config.reference,void 0!==this._config.reference.jquery&&(t=this._config.reference[0])),"scrollParent"!==this._config.boundary&&c(n).addClass("position-static"),this._popper=new s(t,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===c(n).closest(".navbar-nav").length&&c(document.body).children().on("mouseover",null,c.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),c(this._menu).toggleClass(rt),c(n).toggleClass(rt).trigger(c.Event(nt.SHOWN,e))}}},y.hide=function(){var t,e,i;this._element.disabled||c(this._element).hasClass(st)||!c(this._menu).hasClass(rt)||(t={relatedTarget:this._element},e=c.Event(nt.HIDE,t),i=ht._getParentFromElement(this._element),c(i).trigger(e),e.isDefaultPrevented()||(this._popper&&this._popper.destroy(),c(this._menu).toggleClass(rt),c(i).toggleClass(rt).trigger(c.Event(nt.HIDDEN,t))))},y.dispose=function(){c.removeData(this._element,J),c(this._element).off(tt),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},y.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},y._addEventListeners=function(){var e=this;c(this._element).on(nt.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},y._getConfig=function(t){return t=o({},this.constructor.Default,{},c(this._element).data(),{},t),u.typeCheckConfig(Z,t,this.constructor.DefaultType),t},y._getMenuElement=function(){var t;return this._menu||(t=ht._getParentFromElement(this._element))&&(this._menu=t.querySelector(lt)),this._menu},y._getPlacement=function(){var t=c(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?(e="top-start",c(this._menu).hasClass(ot)&&(e="top-end")):t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":c(this._menu).hasClass(ot)&&(e="bottom-end"),e},y._detectNavbar=function(){return 0<c(this._element).closest(".
1navbar").length},y._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=o({},t.offsets,{},e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},y._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),o({},t,{},this._config.popperConfig)},ht._jQueryInterface=function(e){return this.each(function(){var t=c(this).data(J);if(t||(t=new ht(this,"object"==typeof e?e:null),c(this).data(J,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},ht._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(at)),i=0,n=e.length;i<n;i++){var s,r,o=ht._getParentFromElement(e[i]),a=c(e[i]).data(J),l={relatedTarget:e[i]};t&&"click"===t.type&&(l.clickEvent=t),a&&(s=a._menu,!c(o).hasClass(rt)||t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&c.contains(o,t.target)||(r=c.Event(nt.HIDE,l),c(o).trigger(r),r.isDefaultPrevented()||("ontouchstart"in document.documentElement&&c(document.body).children().off("mouseover",null,c.noop),e[i].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),c(s).removeClass(rt),c(o).removeClass(rt).trigger(c.Event(nt.HIDDEN,l)))))}},ht._getParentFromElement=function(t){var e,i=u.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},ht._dataApiKeydownHandler=function(t){var e,i,n;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||c(t.target).closest(lt).length):!it.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled||c(this).hasClass(st))||(n=ht._getParentFromElement(this),!(i=c(n).hasClass(rt))&&27===t.which||(i&&(!i||27!==t.which&&32!==t.which)?0!==(e=[].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(t){return c(t).is(":visible")})).length&&(i=e.indexOf(t.target),38===t.which&&0<i&&i--,40===t.which&&i<e.length-1&&i++,i<0&&(i=0),e[i].focus()):(27===t.which&&(n=n.querySelector(at),c(n).trigger("focus")),c(this).trigger("click"))))},r(ht,null,[{key:"VERSION",get:function(){return"5.3.7"}},{key:"Default",get:function(){return dt}},{key:"DefaultType",get:function(){return ct}}]),ht);function ht(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}c(document).on(nt.KEYDOWN_DATA_API,at,ut._dataApiKeydownHandler).on(nt.KEYDOWN_DATA_API,lt,ut._dataApiKeydownHandler).on(nt.CLICK_DATA_API+" "+nt.KEYUP_DATA_API,ut._clearMenus).on(nt.CLICK_DATA_API,at,function(t){t.preventDefault(),t.stopPropagation(),ut._jQueryInterface.call(c(this),"toggle")}).on(nt.CLICK_DATA_API,".dropdown form",function(t){t.stopPropagation()}),c.fn[Z]=ut._jQueryInterface,c.fn[Z].Constructor=ut,c.fn[Z].noConflict=function(){return c.fn[Z]=et,ut._jQueryInterface};var pt="modal",ft="bs.modal",mt="."+ft,gt=c.fn[pt],vt={backdrop:!0,keyboard:!0,focus:!0,show:!0},yt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},_t={HIDE:"hide"+mt,HIDE_PREVENTED:"hidePrevented"+mt,HIDDEN:"hidden"+mt,SHOW:"show"+mt,SHOWN:"shown"+mt,FOCUSIN:"focusin"+mt,RESIZE:"resize"+mt,CLICK_DISMISS:"click.dismiss"+mt,KEYDOWN_DISMISS:"keydown.dismiss"+mt,MOUSEUP_DISMISS:"mouseup.dismiss"+mt,MOUSEDOWN_DISMISS:"mousedown.dismiss"+mt,CLICK_DATA_API:"click"+mt+".data-api"},bt="modal-open",wt="fade",Tt="show",Ct="modal-static",St=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",xt=".sticky-top",kt=((y=$t.prototype).toggle=function(t){return this._isShown?this.hide():this.show(t)},y.show=function(t){var e,i=this;this._isShown||this._isTransitioning||(c(this._element).hasClass(wt)&&(this._isTransitioning=!0),e=c.Event(_t.SHOW,{relatedTarget:t}),c(this._element).trigger(e),this._isShown||e.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),c(this._element).on(_t.CLICK_DISMISS,'[data-dismiss="modal"]',function(t){return i.hide(t)}),c(this._dialog).on(_t.MOUSEDOWN_DISMISS,function(){c(i._element).one(_t.MOUSEUP_DISMISS,function(t){c(t.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return i._showElement(t)})))},y.hide=function(t){var e=this;t&&t.preventDefault(),this._isShown&&!this._isTransitioning&&(t=c.Event(_t.HIDE),c(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented()&&(this._isShown=!1,(t=c(this._element).hasClass(wt))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),c(document).off(_t.FOCUSIN),c(this._element).removeClass(Tt),c(this._element).off(_t.CLICK_DISMISS),c(this._dialog).off(_t.MOUSEDOWN_DISMISS),t?(t=u.getTransitionDurationFromElement(this._element),c(this._element).one(u.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(t)):this._hideModal()))},y.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return c(t).off(mt)}),c(document).off(_t.FOCUSIN),c.removeData(this._element,ft),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},y.handleUpdate=function(){this._adjustDialog()},y._getConfig=function(t){return t=o({},vt,{},t),u.typeCheckConfig(pt,t,yt),t},y._triggerBackdropTransition=function(){var t,e=this;"static"===this._config.backdrop?(t=c.Event(_t.HIDE_PREVENTED),c(this._element).trigger(t),t.defaultPrevented||(this._element.classList.add(Ct),t=u.getTransitionDurationFromElement(this._element),c(this._element).one(u.TRANSITION_END,function(){e._element.classList.remove(Ct)}).emulateTransitionEnd(t),this._element.focus())):this.hide()},y._showElement=function(t){var e=this,i=c(this._element).hasClass(wt),n=this._dialog?this._dialog.querySelector(".modal-body"):null;function s(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,
1c(e._element).trigger(r)}this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),c(this._dialog).hasClass("modal-dialog-scrollable")&&n?n.scrollTop=0:this._element.scrollTop=0,i&&u.reflow(this._element),c(this._element).addClass(Tt),this._config.focus&&this._enforceFocus();var r=c.Event(_t.SHOWN,{relatedTarget:t});i?(i=u.getTransitionDurationFromElement(this._dialog),c(this._dialog).one(u.TRANSITION_END,s).emulateTransitionEnd(i)):s()},y._enforceFocus=function(){var e=this;c(document).off(_t.FOCUSIN).on(_t.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===c(e._element).has(t.target).length&&e._element.focus()})},y._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?c(this._element).on(_t.KEYDOWN_DISMISS,function(t){27===t.which&&e._triggerBackdropTransition()}):this._isShown||c(this._element).off(_t.KEYDOWN_DISMISS)},y._setResizeEvent=function(){var e=this;this._isShown?c(window).on(_t.RESIZE,function(t){return e.handleUpdate(t)}):c(window).off(_t.RESIZE)},y._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){c(document.body).removeClass(bt),t._resetAdjustments(),t._resetScrollbar(),c(t._element).trigger(_t.HIDDEN)})},y._removeBackdrop=function(){this._backdrop&&(c(this._backdrop).remove(),this._backdrop=null)},y._showBackdrop=function(t){var e,i=this,n=c(this._element).hasClass(wt)?wt:"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),c(this._backdrop).appendTo(document.body),c(this._element).on(_t.CLICK_DISMISS,function(t){i._ignoreBackdropClick?i._ignoreBackdropClick=!1:t.target===t.currentTarget&&i._triggerBackdropTransition()}),n&&u.reflow(this._backdrop),c(this._backdrop).addClass(Tt),t&&(n?(e=u.getTransitionDurationFromElement(this._backdrop),c(this._backdrop).one(u.TRANSITION_END,t).emulateTransitionEnd(e)):t())):!this._isShown&&this._backdrop?(c(this._backdrop).removeClass(Tt),n=function(){i._removeBackdrop(),t&&t()},c(this._element).hasClass(wt)?(e=u.getTransitionDurationFromElement(this._backdrop),c(this._backdrop).one(u.TRANSITION_END,n).emulateTransitionEnd(e)):n()):t&&t()},y._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},y._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},y._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},y._setScrollbar=function(){var t,e,s=this;this._isBodyOverflowing&&(t=[].slice.call(document.querySelectorAll(St)),e=[].slice.call(document.querySelectorAll(xt)),c(t).each(function(t,e){var i=e.style.paddingRight,n=c(e).css("padding-right");c(e).data("padding-right",i).css("padding-right",parseFloat(n)+s._scrollbarWidth+"px")}),c(e).each(function(t,e){var i=e.style.marginRight,n=c(e).css("margin-right");c(e).data("margin-right",i).css("margin-right",parseFloat(n)-s._scrollbarWidth+"px")}),t=document.body.style.paddingRight,e=c(document.body).css("padding-right"),c(document.body).data("padding-right",t).css("padding-right",parseFloat(e)+this._scrollbarWidth+"px")),c(document.body).addClass(bt)},y._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(St));c(t).each(function(t,e){var i=c(e).data("padding-right");c(e).removeData("padding-right"),e.style.paddingRight=i||""});t=[].slice.call(document.querySelectorAll(xt));c(t).each(function(t,e){var i=c(e).data("margin-right");void 0!==i&&c(e).css("margin-right",i).removeData("margin-right")});t=c(document.body).data("padding-right");c(document.body).removeData("padding-right"),document.body.style.paddingRight=t||""},y._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},$t._jQueryInterface=function(i,n){return this.each(function(){var t=c(this).data(ft),e=o({},vt,{},c(this).data(),{},"object"==typeof i&&i?i:{});if(t||(t=new $t(this,e),c(this).data(ft,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i](n)}else e.show&&t.show(n)})},r($t,null,[{key:"VERSION",get:function(){return"5.3.7"}},{key:"Default",get:function(){return vt}}]),$t);function $t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}c(document).on(_t.CLICK_DATA_API,'[data-toggle="modal"]',function(t){var e,i=this,n=u.getSelectorFromElement(this);n&&(e=document.querySelector(n));n=c(e).data(ft)?"toggle":o({},c(e).data(),{},c(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=c(e).one(_t.SHOW,function(t){t.isDefaultPrevented()||s.one(_t.HIDDEN,function(){c(i).is(":visible")&&i.focus()})});kt._jQueryInterface.call(c(e),n,this)}),c.fn[pt]=kt._jQueryInterface,c.fn[pt].Constructor=kt,c.fn[pt].noConflict=function(){return c.fn[pt]=gt,kt._jQueryInterface};var Et=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Dt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,It=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function At(t,s,e){if(0===t.length)return t;if(e&&"function"==typeof e)return e(t);for(var t=(new window.DOMParser).parseFromString(t,"text/html"),r=Object.keys(s),o=[].slice.call(t.body.querySelectorAll("*")),i=0,n=o.length;i<n;i++)!function(t){var e=o[t],i=e.nodeName.toLowerCase();if(-1===r.indexOf(e.nodeName.toLowerCase()))return e.parentNode.removeChild(e);var t=[].slice.call(e.attributes),n=[].concat(s["*"]||[],s[i]||[]);t.forEach(function(t){!function(t,e){var i=t.nodeName.toLowerCase();if(-1!==e.indexOf(i))return-1===Et.indexOf(i)||Boolean(t.nodeValue.match(Dt)||t.nodeValue.match(It));for(var n=e.filter(function(t){return t instanceof RegExp}),s=0,r=n.length;s<r;s++)if(i.match(n[s]))return 1}(t,n)&&e.removeAttribute(t.nodeName)})}(i);return t.body.innerHTML}var Pt="tooltip",Mt="bs.tooltip",Ot="."+Mt,Lt=c.fn[Pt],Nt="bs-tooltip",Rt=new RegExp("(^|\\s)"+Nt+"\\S+","g"),Ft=["sanitize","whiteList","sanitizeFn"],jt={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Bt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ht={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Ut="show",zt={HIDE:"hide"+Ot,HIDDEN:"hidden"+Ot,SHOW:"show"+Ot,SHOWN:"shown"+Ot,INSERTED:"inserted"+Ot,CLICK:"click"+Ot,FOCUSIN:"focusin"+Ot,FOCUSOUT:"focusout"+Ot,MOUSEENTER:"mouseenter"+Ot,MOUSELEAVE:"mouseleave"+Ot},qt="fade",Wt="show",Vt="hover",Yt="focus",Gt=((y=Kt.prototype).enable=function(){this._isEnabled=!0},y.disable=function(){this._isEnabled=!1},y.toggleEnabled=function(){this._isEnabled=!this._isEnabled},y.toggle=function(t){var e,i;this._isEnabled&&(t?(e=this.constructor.DATA_KEY,(i=c(t.currentTarget).data(e))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),c(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)):c(this.getTipElement()).hasClass(Wt)?this._leave(null,this):this._enter(null,this))},y.dispose=function(){clearTimeout(this._timeout),c.removeData(this.element,this.constructor.DATA_KEY),c(this.element).off(this.constructor.EVENT_KEY),c(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&c(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},y.show=function(){var e=this;if("none"===c(this.element).css("display"))throw new Error("Please use show on visible elements");var t,i,n=c.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(c(this.element).trigger(n),i=u.findShadowRoot(this.element),t=c.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element),!n.isDefaultPrevented()&&t&&(i=this.getTipElement(),n=u.getUID(this.constructor.NAME),i.setAttribute("id",n),this.element.setAttribute("aria-describedby",n),this.setContent(),this.config.animation&&c(i).addClass(qt),t="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,n=this._getAttachment(t),this.addAttachmentClass(n),t=this._getContainer(),c(i).data(this.constructor.DATA_KEY,this),c.contains(this.element.ownerDocument.documentElement,this.tip)||c(i).appendTo(t),c(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new s(this.element,i,this._getPopperConfig(n)),c(i).addClass(Wt),"ontouchstart"in document.documentElement&&c(document.body).children().on("mouseover",null,c.noop),n=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,c(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)},c(this.tip).hasClass(qt)?(i=u.getTransitionDurationFromElement(this.tip),c(this.tip).one(u.TRANSITION_END,n).emulateTransitionEnd(i)):n()))},y.hide=function(t){function e(){i._hoverState!==Ut&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),c(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()}var i=this,n=this.getTipElement(),s=c.Event(this.constructor.Event.HIDE);c(this.element).trigger(s),s.isDefaultPrevented()||(c(n).removeClass(Wt),"ontouchstart"in document.documentElement&&c(document.body).children().off("mouseover",null,c.noop),this._activeTrigger.click=!1,this._activeTrigger[Yt]=!1,this._activeTrigger[Vt]=!1,c(this.tip).hasClass(qt)?(s=u.getTransitionDurationFromElement(n),c(n).one(u.TRANSITION_END,e).emulateTransitionEnd(s)):e(),this._hoverState="")},y.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},y.isWithContent=function(){return Boolean(this.getTitle())},y.addAttachmentClass=function(t){c(this.getTipElement()).addClass(Nt+"-"+t)},y.getTipElement=function(){return this.tip=this.tip||c(this.config.template)[0],this.tip},y.setContent=function(){var t=this.getTipElement();this.setElementContent(c(t.querySelectorAll(".tooltip-inner")),this.getTitle()),c(t).removeClass(qt+" "+Wt)},y.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=At(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?c(e).parent().is(t)||t.empty().append(e):t.text(c(e).text())},y.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},y._getPopperConfig=function(t){var e=this;return o({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"}
1,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},{},this.config.popperConfig)},y._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=o({},t.offsets,{},e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},y._getContainer=function(){return!1===this.config.container?document.body:u.isElement(this.config.container)?c(this.config.container):c(document).find(this.config.container)},y._getAttachment=function(t){return Bt[t.toUpperCase()]},y._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?c(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)}):"manual"!==t&&(e=t===Vt?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,t=t===Vt?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT,c(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(t,i.config.selector,function(t){return i._leave(t)}))}),this._hideModalHandler=function(){i.element&&i.hide()},c(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},y._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},y._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||c(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),c(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?Yt:Vt]=!0),c(e.getTipElement()).hasClass(Wt)||e._hoverState===Ut?e._hoverState=Ut:(clearTimeout(e._timeout),e._hoverState=Ut,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Ut&&e.show()},e.config.delay.show):e.show())},y._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||c(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),c(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?Yt:Vt]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},y._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},y._getConfig=function(t){var e=c(this.element).data();return Object.keys(e).forEach(function(t){-1!==Ft.indexOf(t)&&delete e[t]}),"number"==typeof(t=o({},this.constructor.Default,{},e,{},"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),u.typeCheckConfig(Pt,t,this.constructor.DefaultType),t.sanitize&&(t.template=At(t.template,t.whiteList,t.sanitizeFn)),t},y._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},y._cleanTipClass=function(){var t=c(this.getTipElement()),e=t.attr("class").match(Rt);null!==e&&e.length&&t.removeClass(e.join(""))},y._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},y._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(c(t).removeClass(qt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},Kt._jQueryInterface=function(i){return this.each(function(){var t=c(this).data(Mt),e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new Kt(this,e),c(this).data(Mt,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method n
1amed "'+i+'"');t[i]()}})},r(Kt,null,[{key:"VERSION",get:function(){return"5.3.7"}},{key:"Default",get:function(){return Ht}},{key:"NAME",get:function(){return Pt}},{key:"DATA_KEY",get:function(){return Mt}},{key:"Event",get:function(){return zt}},{key:"EVENT_KEY",get:function(){return Ot}},{key:"DefaultType",get:function(){return jt}}]),Kt);function Kt(t,e){if(void 0===s)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}c.fn[Pt]=Gt._jQueryInterface,c.fn[Pt].Constructor=Gt,c.fn[Pt].noConflict=function(){return c.fn[Pt]=Lt,Gt._jQueryInterface};var Xt="popover",Qt="bs.popover",Zt="."+Qt,Jt=c.fn[Xt],te="bs-popover",ee=new RegExp("(^|\\s)"+te+"\\S+","g"),ie=o({},Gt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),ne=o({},Gt.DefaultType,{content:"(string|element|function)"}),se={HIDE:"hide"+Zt,HIDDEN:"hidden"+Zt,SHOW:"show"+Zt,SHOWN:"shown"+Zt,INSERTED:"inserted"+Zt,CLICK:"click"+Zt,FOCUSIN:"focusin"+Zt,FOCUSOUT:"focusout"+Zt,MOUSEENTER:"mouseenter"+Zt,MOUSELEAVE:"mouseleave"+Zt},re=function(t){function n(){return t.apply(this,arguments)||this}var e;i=t,(e=n).prototype=Object.create(i.prototype),(e.prototype.constructor=e).__proto__=i;var i=n.prototype;return i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(t){c(this.getTipElement()).addClass(te+"-"+t)},i.getTipElement=function(){return this.tip=this.tip||c(this.config.template)[0],this.tip},i.setContent=function(){var t=c(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var t=c(this.getTipElement()),e=t.attr("class").match(ee);null!==e&&0<e.length&&t.removeClass(e.join(""))},n._jQueryInterface=function(i){return this.each(function(){var t=c(this).data(Qt),e="object"==typeof i?i:null;if((t||!/dispose|hide/.test(i))&&(t||(t=new n(this,e),c(this).data(Qt,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},r(n,null,[{key:"VERSION",get:function(){return"5.3.7"}},{key:"Default",get:function(){return ie}},{key:"NAME",get:function(){return Xt}},{key:"DATA_KEY",get:function(){return Qt}},{key:"Event",get:function(){return se}},{key:"EVENT_KEY",get:function(){return Zt}},{key:"DefaultType",get:function(){return ne}}]),n}(Gt);c.fn[Xt]=re._jQueryInterface,c.fn[Xt].Constructor=re,c.fn[Xt].noConflict=function(){return c.fn[Xt]=Jt,re._jQueryInterface};var oe="scrollspy",ae="bs.scrollspy",le="."+ae,de=c.fn[oe],ce={offset:10,method:"auto",target:""},ue={offset:"number",method:"string",target:"(string|element)"},he={ACTIVATE:"activate"+le,SCROLL:"scroll"+le,LOAD_DATA_API:"load"+le+".data-api"},pe="active",fe=".nav, .list-group",me=".nav-link",ge=".list-group-item",ve="position",ye=((y=_e.prototype).refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":ve,n="auto"===this._config.method?t:this._config.method,s=n===ve?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,i=u.getSelectorFromElement(t);if(i&&(e=document.querySelector(i)),e){t=e.getBoundingClientRect();if(t.width||t.height)return[c(e)[n]().top+s,i]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},y.dispose=function(){c.removeData(this._element,ae),c(this._scrollElement).off(le),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},y._getConfig=function(t){var e;return"string"!=typeof(t=o({},ce,{},"object"==typeof t&&t?t:{})).target&&((e=c(t.target).attr("id"))||(e=u.getUID(oe),c(t.target).attr("id",e)),t.target="#"+e),u.typeCheckConfig(oe,t,ue),t},y._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},y._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},y._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},y._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),i<=t){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(void 0===this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},y._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),t=c([].slice.call(document.querySelectorAll(t.join(","))));t.hasClass("dropdown-item")?(t.closest(".dropdown").find(".dropdown-toggle").addClass(pe),t.addClass(pe)):(t.addClass(pe),t.parents(fe).prev(me+", "+ge).addClass(pe),t.parents(fe).prev(".nav-item").children(me).addClass(pe)),c(this._scrollElement).trigger(he.ACTIVATE,{relatedTarget:e})},y._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(pe)}
1).forEach(function(t){return t.classList.remove(pe)})},_e._jQueryInterface=function(e){return this.each(function(){var t=c(this).data(ae);if(t||(t=new _e(this,"object"==typeof e&&e),c(this).data(ae,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},r(_e,null,[{key:"VERSION",get:function(){return"5.3.7"}},{key:"Default",get:function(){return ce}}]),_e);function _e(t,e){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+me+","+this._config.target+" "+ge+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,c(this._scrollElement).on(he.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}c(window).on(he.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var i=c(t[e]);ye._jQueryInterface.call(i,i.data())}}),c.fn[oe]=ye._jQueryInterface,c.fn[oe].Constructor=ye,c.fn[oe].noConflict=function(){return c.fn[oe]=de,ye._jQueryInterface};var be="bs.tab",y="."+be,we=c.fn.tab,Te={HIDE:"hide"+y,HIDDEN:"hidden"+y,SHOW:"show"+y,SHOWN:"shown"+y,CLICK_DATA_API:"click"+y+".data-api"},Ce="active",Se=".active",xe="> li > .active",ke=((y=$e.prototype).show=function(){var t,e,i,n,s,r,o=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&c(this._element).hasClass(Ce)||c(this._element).hasClass("disabled")||(r=c(this._element).closest(".nav, .list-group")[0],e=u.getSelectorFromElement(this._element),r&&(s="UL"===r.nodeName||"OL"===r.nodeName?xe:Se,i=(i=c.makeArray(c(r).find(s)))[i.length-1]),n=c.Event(Te.HIDE,{relatedTarget:this._element}),s=c.Event(Te.SHOW,{relatedTarget:i}),i&&c(i).trigger(n),c(this._element).trigger(s),s.isDefaultPrevented()||n.isDefaultPrevented()||(e&&(t=document.querySelector(e)),this._activate(this._element,r),r=function(){var t=c.Event(Te.HIDDEN,{relatedTarget:o._element}),e=c.Event(Te.SHOWN,{relatedTarget:i});c(i).trigger(t),c(o._element).trigger(e)},t?this._activate(t,t.parentNode,r):r()))},y.dispose=function(){c.removeData(this._element,be),this._element=null},y._activate=function(t,e,i){function n(){return s._transitionComplete(t,r,i)}var s=this,r=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?c(e).children(Se):c(e).find(xe))[0],e=i&&r&&c(r).hasClass("fade");r&&e?(e=u.getTransitionDurationFromElement(r),c(r).removeClass("show").one(u.TRANSITION_END,n).emulateTransitionEnd(e)):n()},y._transitionComplete=function(t,e,i){var n;e&&(c(e).removeClass(Ce),(n=c(e.parentNode).find("> .dropdown-menu .active")[0])&&c(n).removeClass(Ce),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)),c(t).addClass(Ce),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),u.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&c(t.parentNode).hasClass("dropdown-menu")&&((e=c(t).closest(".dropdown")[0])&&(e=[].slice.call(e.querySelectorAll(".dropdown-toggle")),c(e).addClass(Ce)),t.setAttribute("aria-expanded",!0)),i&&i()},$e._jQueryInterface=function(i){return this.each(function(){var t=c(this),e=t.data(be);if(e||(e=new $e(this),t.data(be,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},r($e,null,[{key:"VERSION",get:function(){return"5.3.7"}}]),$e);function $e(t){this._element=t}c(document).on(Te.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),ke._jQueryInterface.call(c(this),"show")}),c.fn.tab=ke._jQueryInterface,c.fn.tab.Constructor=ke,c.fn.tab.noConflict=function(){return c.fn.tab=we,ke._jQueryInterface};var Ee="toast",De="bs.toast",y="."+De,Ie=c.fn[Ee],Ae={CLICK_DISMISS:"click.dismiss"+y,HIDE:"hide"+y,HIDDEN:"hidden"+y,SHOW:"show"+y,SHOWN:"shown"+y},Pe="show",Me="showing",Oe={animation:"boolean",autohide:"boolean",delay:"number"},Le={animation:!0,autohide:!0,delay:500},Ne=((y=Re.prototype).show=function(){var t,e=this,i=c.Event(Ae.SHOW);c(this._element).trigger(i),i.isDefaultPrevented()||(this._config.animation&&this._element.classList.add("fade"),t=function(){e._element.classList.remove(Me),e._element.classList.add(Pe),c(e._element).trigger(Ae.SHOWN),e._config.autohide&&(e._timeout=setTimeout(function(){e.hide()},e._config.delay))},this._element.classList.remove("hide"),u.reflow(this._element),this._element.classList.add(Me),this._config.animation?(i=u.getTransitionDurationFromElement(this._element),c(this._element).one(u.TRANSITION_END,t).emulateTransitionEnd(i)):t())},y.hide=function(){var t;this._element.classList.contains(Pe)&&(t=c.Event(Ae.HIDE),c(this._element).trigger(t),t.isDefaultPrevented()||this._close())},y.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Pe)&&this._element.classList.remove(Pe),
1c(this._element).off(Ae.CLICK_DISMISS),c.removeData(this._element,De),this._element=null,this._config=null},y._getConfig=function(t){return t=o({},Le,{},c(this._element).data(),{},"object"==typeof t&&t?t:{}),u.typeCheckConfig(Ee,t,this.constructor.DefaultType),t},y._setListeners=function(){var t=this;c(this._element).on(Ae.CLICK_DISMISS,'[data-dismiss="toast"]',function(){return t.hide()})},y._close=function(){function t(){i._element.classList.add("hide"),c(i._element).trigger(Ae.HIDDEN)}var e,i=this;this._element.classList.remove(Pe),this._config.animation?(e=u.getTransitionDurationFromElement(this._element),c(this._element).one(u.TRANSITION_END,t).emulateTransitionEnd(e)):t()},Re._jQueryInterface=function(i){return this.each(function(){var t=c(this),e=t.data(De);if(e||(e=new Re(this,"object"==typeof i&&i),t.data(De,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i](this)}})},r(Re,null,[{key:"VERSION",get:function(){return"5.3.7"}},{key:"DefaultType",get:function(){return Oe}},{key:"Default",get:function(){return Le}}]),Re);function Re(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}c.fn[Ee]=Ne._jQueryInterface,c.fn[Ee].Constructor=Ne,c.fn[Ee].noConflict=function(){return c.fn[Ee]=Ie,Ne._jQueryInterface},t.Alert=f,t.Button=C,t.Carousel=R,t.Collapse=X,t.Dropdown=ut,t.Modal=kt,t.Popover=re,t.Scrollspy=ye,t.Tab=ke,t.Toast=Ne,t.Tooltip=Gt,t.Util=u,Object.defineProperty(t,"__esModule",{value:!0})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).flatpickr=e()}(this,function(){"use strict";var J=function(){return(J=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var s in e=arguments[i])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t}).apply(this,arguments)},tt=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],et={_disable:[],_enable:[],allowInput:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enable:[],enableSeconds:!1,enableTime:!1,errorHandler:function(t){return"undefined"!=typeof console&&console.warn(t)},getWeek:function(t){var e=new Date(t.getTime());e.setHours(0,0,0,0),e.setDate(e.getDate()+3-(e.getDay()+6)%7);t=new Date(e.getFullYear(),0,4);return 1+Math.round(((e.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},it={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(t){t%=100;if(3<t&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},nt=function(t){return("0"+t).slice(-2)},st=function(t){return!0===t?1:0};function rt(i,n,s){var r;return void 0===s&&(s=!1),function(){var t=this,e=arguments;null!==r&&clearTimeout(r),r=window.setTimeout(function(){r=null,s||i.apply(t,e)},n),s&&!r&&i.apply(t,e)}}var ot=function(t){return t instanceof Array?t:[t]};function at(t,e,i){if(!0===i)return t.classList.add(e);t.classList.remove(e)}function lt(t,e,i){t=window.document.createElement(t);return e=e||"",i=i||"",t.className=e,void 0!==i&&(t.textContent=i),t}function dt(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ct(t,e){var i=lt("div","numInputWrapper"),n=lt("input","numInput "+t),s=lt("span","arrowUp"),t=lt("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?n.type="number":(n.type="text",n.pattern="\\d*"),void 0!==e)for(var r in e)n.setAttribute(r,e[r]);return i.appendChild(n),i.appendChild(s),i.appendChild(t),i}function t(){}
vendor: 5,538 bytes, line 1
1var ut=function(t,e,i){return i.months[e?"shorthand":"longhand"][t]},v={D:t,F:function(t,e,i){t.setMonth(i.months.longhand.indexOf(e))},G:function(t,e){t.setHours(parseFloat(e))},H:function(t,e){t.setHours(parseFloat(e))},J:function(t,e){t.setDate(parseFloat(e))},K:function(t,e,i){t.setHours(t.getHours()%12+12*st(new RegExp(i.amPM[1],"i").test(e)))},M:function(t,e,i){t.setMonth(i.months.shorthand.indexOf(e))},S:function(t,e){t.setSeconds(parseFloat(e))},U:function(t,e){return new Date(1e3*parseFloat(e))},W:function(t,e,i){e=parseInt(e),e=new Date(t.getFullYear(),0,2+7*(e-1),0,0,0,0);return e.setDate(e.getDate()-e.getDay()+i.firstDayOfWeek),e},Y:function(t,e){t.setFullYear(parseFloat(e))},Z:function(t,e){return new Date(e)},d:function(t,e){t.setDate(parseFloat(e))},h:function(t,e){t.setHours(parseFloat(e))},i:function(t,e){t.setMinutes(parseFloat(e))},j:function(t,e){t.setDate(parseFloat(e))},l:t,m:function(t,e){t.setMonth(parseFloat(e)-1)},n:function(t,e){t.setMonth(parseFloat(e)-1)},s:function(t,e){t.setSeconds(parseFloat(e))},u:function(t,e){return new Date(parseFloat(e))},w:t,y:function(t,e){t.setFullYear(2e3+parseFloat(e))}},ht={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},o={Z:function(t){return t.toISOString()},D:function(t,e,i){return e.weekdays.shorthand[o.w(t,e,i)]},F:function(t,e,i){return ut(o.n(t,e,i)-1,!1,e)},G:function(t,e,i){return nt(o.h(t,e,i))},H:function(t){return nt(t.getHours())},J:function(t,e){return void 0!==e.ordinal?t.getDate()+e.ordinal(t.getDate()):t.getDate()},K:function(t,e){return e.amPM[st(11<t.getHours())]},M:function(t,e){return ut(t.getMonth(),!0,e)},S:function(t){return nt(t.getSeconds())},U:function(t){return t.getTime()/1e3},W:function(t,e,i){return i.getWeek(t)},Y:function(t){return t.getFullYear()},d:function(t){return nt(t.getDate())},h:function(t){return t.getHours()%12?t.getHours()%12:12},i:function(t){return nt(t.getMinutes())},j:function(t){return t.getDate()},l:function(t,e){return e.weekdays.longhand[t.getDay()]},m:function(t){return nt(t.getMonth()+1)},n:function(t){return t.getMonth()+1},s:function(t){return t.getSeconds()},u:function(t){return t.getTime()},w:function(t){return t.getDay()},y:function(t){return String(t.getFullYear()).substring(2)}},pt=function(t){var e=t.config,r=void 0===e?et:e,t=t.l10n,i=void 0===t?it:t;return function(n,t,e){var s=e||i;return void 0!==r.formatDate?r.formatDate(n,t,s):t.split("").map(function(t,e,i){return o[t]&&"\\"!==i[e-1]?o[t](n,s,r):"\\"!==t?t:""}).join("")}},ft=function(t){var e=t.config,m=void 0===e?et:e,t=t.l10n,g=void 0===t?it:t;return function(t,e,i,n){if(0===t||t){var s,r=n||g,n=t;if(t instanceof Date)s=new Date(t.getTime());else if("string"!=typeof t&&void 0!==t.toFixed)s=new Date(t);else if("string"==typeof t){var o=e||(m||et).dateFormat,e=String(t).trim();if("today"===e)s=new Date,i=!0;else if(/Z$/.test(e)||/GMT$/.test(e))s=new Date(t);else if(m&&m.parseDate)s=m.parseDate(t,o);else{s=m&&m.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);for(var a=void 0,l=[],d=0,c=0,u="";d<o.length;d++){var h=o[d],p="\\"===h,f="\\"===o[d-1]||p;ht[h]&&!f?(u+=ht[h],(f=new RegExp(u).exec(t))&&(a=!0)&&l["Y"!==h?"push":"unshift"]({fn:v[h],val:f[++c]})):p||(u+="."),l.forEach(function(t){var e=t.fn,t=t.val;return s=e(s,t,r)||s})}s=a?s:void 0}}if(s instanceof Date&&!isNaN(s.getTime()))return!0===i&&s.setHours(0,0,0,0),s;m.errorHandler(new Error("Invalid date provided: "+n))}}};function mt(t,e,i){return void 0===i&&(i=!0),!1!==i?new Date(t.getTime()).setHours(0,0,0,0)-new Date(e.getTime()).setHours(0,0,0,0):t.getTime()-e.getTime()}var gt=function(t,e,i){return t>Math.min(e,i)&&t<Math.max(e,i)},vt={DAY:864e5};"function"!=typeof Object.assign&&(Object.assign=function(i){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];if(!i)throw TypeError("Cannot convert undefined or null to object");for(var n=0,s=t;n<s.length;n++)!function(e){e&&Object.keys(e).forEach(function(t){return i[t]=e[t]})}(s[n]);return i});var yt=300;function a(d,c){var p={config:J({},et,_t.defaultConfig),l10n:it};function u(t){return t.bind(p)}function e(){var e=p.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame(function(){var t;void 0!==p.calendarContainer&&(p.calendarContainer.style.visibility="hidden",p.calendarContainer.style.display="block"),void 0!==p.daysContainer&&(t=(p.days.offsetWidth+1)*e.showMonths,p.daysContainer.style.width=t+"px",p.calendarContainer.style.width=t+(void 0!==p.weekWrapper?p.weekWrapper.offsetWidth:0)+"px",p.calendarContainer.style.removeProperty("visibility"),p.calendarContainer.style.removeProperty("display"))})}function o(t){0===p.selectedDates.length&&N(),void 0!==t&&"blur"!==t.type&&function(t){t.preventDefault();var e="keydown"===t.type,i=t.target;void 0!==p.amPM&&t.target===p.amPM&&(p.amPM.textContent=p.l10n.amPM[st(p.amPM.textContent===p.l10n.amPM[0])]);var n=parseFloat(i.getAttribute("min")),s=parseFloat(i.getAttribute("max")),r=parseFloat(i.getAttribute("step")),o=parseInt(i.value,10),a=o+r*(t.delta||(e?38===t.which?1:-1:0));void 0!==i.value&&2===i.value.length&&(e=i===p.hourElement,t=i===p.minuteElement,a<n?(a=s+a+st(!e)+(st(e)&&st(!p.amPM)),t&&v(void 0,-1,p.hourElement)):s<a&&(a=i===
vendor: 7,178 bytes, line 1
1p.hourElement?a-s-st(!p.amPM):n,t&&v(void 0,1,p.hourElement)),p.amPM&&e&&(1===r?a+o===23:Math.abs(a-o)>r)&&(p.amPM.textContent=p.l10n.amPM[st(p.amPM.textContent===p.l10n.amPM[0])]),i.value=nt(a))}(t);t=p._input.value;a(),Q(),p._input.value!==t&&p._debouncedChange()}function a(){var t,e,i,n,s;void 0!==p.hourElement&&void 0!==p.minuteElement&&(t=(parseInt(p.hourElement.value.slice(-2),10)||0)%24,e=(parseInt(p.minuteElement.value,10)||0)%60,i=void 0!==p.secondElement?(parseInt(p.secondElement.value,10)||0)%60:0,void 0!==p.amPM&&(n=p.amPM.textContent,t=t%12+12*st(n===p.l10n.amPM[1])),s=void 0!==p.config.minTime||p.config.minDate&&p.minDateHasTime&&p.latestSelectedDateObj&&0===mt(p.latestSelectedDateObj,p.config.minDate,!0),(void 0!==p.config.maxTime||p.config.maxDate&&p.maxDateHasTime&&p.latestSelectedDateObj&&0===mt(p.latestSelectedDateObj,p.config.maxDate,!0))&&(n=void 0!==p.config.maxTime?p.config.maxTime:p.config.maxDate,(t=Math.min(t,n.getHours()))===n.getHours()&&(e=Math.min(e,n.getMinutes())),e===n.getMinutes()&&(i=Math.min(i,n.getSeconds()))),s&&(s=void 0!==p.config.minTime?p.config.minTime:p.config.minDate,(t=Math.max(t,s.getHours()))===s.getHours()&&(e=Math.max(e,s.getMinutes())),e===s.getMinutes()&&(i=Math.max(i,s.getSeconds()))),r(t,e,i))}function n(t){t=t||p.latestSelectedDateObj;t&&r(t.getHours(),t.getMinutes(),t.getSeconds())}function i(){var t,e,i=p.config.defaultHour,n=p.config.defaultMinute,s=p.config.defaultSeconds;void 0!==p.config.minDate&&(t=p.config.minDate.getHours(),e=p.config.minDate.getMinutes(),(i=Math.max(i,t))===t&&(n=Math.max(e,n)),i===t&&n===e&&(s=p.config.minDate.getSeconds())),void 0!==p.config.maxDate&&(t=p.config.maxDate.getHours(),e=p.config.maxDate.getMinutes(),(i=Math.min(i,t))===t&&(n=Math.min(e,n)),i===t&&n===e&&(s=p.config.maxDate.getSeconds())),r(i,n,s)}function r(t,e,i){void 0!==p.latestSelectedDateObj&&p.latestSelectedDateObj.setHours(t%24,e,i||0,0),p.hourElement&&p.minuteElement&&!p.isMobile&&(p.hourElement.value=nt(p.config.time_24hr?t:(12+t)%12+12*st(t%12==0)),p.minuteElement.value=nt(e),void 0!==p.amPM&&(p.amPM.textContent=p.l10n.amPM[st(12<=t)]),void 0!==p.secondElement&&(p.secondElement.value=nt(i)))}function s(t){var e=parseInt(t.target.value)+(t.delta||0);(1<e/1e3||"Enter"===t.key&&!/[^\d]/.test(e.toString()))&&I(e)}function l(e,i,n,s){return i instanceof Array?i.forEach(function(t){return l(e,t,n,s)}):e instanceof Array?e.forEach(function(t){return l(t,i,n,s)}):(e.addEventListener(i,n,s),void p._handlers.push({element:e,event:i,handler:n,options:s}))}function h(e){return function(t){1===t.which&&e(t)}}function f(){V("onChange")}function m(t,e){var i=void 0!==t?p.parseDate(t):p.latestSelectedDateObj||(p.config.minDate&&p.config.minDate>p.now?p.config.minDate:p.config.maxDate&&p.config.maxDate<p.now?p.config.maxDate:p.now),n=p.currentYear,s=p.currentMonth;try{void 0!==i&&(p.currentYear=i.getFullYear(),p.currentMonth=i.getMonth())}catch(t){t.message="Invalid date supplied: "+i,p.config.errorHandler(t)}e&&p.currentYear!==n&&(V("onYearChange"),C()),!e||p.currentYear===n&&p.currentMonth===s||V("onMonthChange"),p.redraw()}function g(t){~t.target.className.indexOf("arrow")&&v(t,t.target.classList.contains("arrowUp")?1:-1)}function v(t,e,i){t=t&&t.target,i=i||t&&t.parentNode&&t.parentNode.firstChild,t=Y("increment");t.delta=e,i&&i.dispatchEvent(t)}function y(t,e,i,n){var s=A(e,!0),r=lt("span","flatpickr-day "+t,e.getDate().toString());return r.dateObj=e,r.$i=n,r.setAttribute("aria-label",p.formatDate(e,p.config.ariaDateFormat)),-1===t.indexOf("hidden")&&0===mt(e,p.now)&&((p.todayDateElem=r).classList.add("today"),r.setAttribute("aria-current","date")),s?(r.tabIndex=-1,G(e)&&(r.classList.add("selected"),p.selectedDateElem=r,"range"===p.config.mode&&(at(r,"startRange",p.selectedDates[0]&&0===mt(e,p.selectedDates[0],!0)),at(r,"endRange",p.selectedDates[1]&&0===mt(e,p.selectedDates[1],!0)),"nextMonthDay"===t&&r.classList.add("inRange")))):r.classList.add("flatpickr-disabled"),"range"===p.config.mode&&(s=e,!("range"!==p.config.mode||p.selectedDates.length<2)&&0<=mt(s,p.selectedDates[0])&&mt(s,p.selectedDates[1])<=0)&&!G(e)&&r.classList.add("inRange"),p.weekNumbers&&1===p.config.showMonths&&"prevMonthDay"!==t&&i%7==1&&p.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+p.config.getWeek(e)+"</span>"),V("onDayCreate",r),r}function _(t){t.focus(),"range"===p.config.mode&&O(t)}function b(t){for(var e=0<t?0:p.config.showMonths-1,i=0<t?p.config.showMonths:-1,n=e;n!=i;n+=t)for(var s=p.daysContainer.children[n],r=0<t?0:s.children.length-1,o=0<t?s.children.length:-1,a=r;a!=o;a+=t){var l=s.children[a];if(-1===l.className.indexOf("hidden")&&A(l.dateObj))return l}}function w(t,e){var i=P(document.activeElement||document.body),t=void 0!==t?t:i?document.activeElement:void 0!==p.selectedDateElem&&P(p.selectedDateElem)?p.selectedDateElem:void 0!==p.todayDateElem&&P(p.todayDateElem)?p.todayDateElem:b(0<e?1:-1);return void 0===t?p._input.focus():i?void function(t,e){for(var i=-1===t.className.indexOf("Month")?t.dateObj.getMonth():p.currentMonth,n=0<e?p.config.showMonths:-1,s=0<e?1:-1,r=i-p.currentMonth;r!=n;r+=s)for(var o=p.daysContainer.children[r],a=i-p.currentMonth===r?t.$i+e:e<0?o.children.length-1:0,l=o.children.length,d=a;0<=d&&d<l&&d!=(0<e?l:-1);d+=s){var c=o.children[d];if(-1===c.className.indexOf("hidden")&&A(c.dateObj)&&Math.abs(t.$i-d)>=Math.abs(e))return _(c)}p.changeMonth(s),w(b(s),0)}(t,e):_(t)}function T(){if(void 0!==p.daysContainer){dt(p.daysContainer),p.weekNumbers&&dt(p.weekNumbers);for(var t=document.createDocumentFragment(),e=0;e<p.config.showMonths;e++){var i=new Date(p.currentYear,p.currentMonth,1);i.setMonth(p.currentMonth+e),t.appendChild(function(t,e){for(var i=(new Date(t,e,1).getDay()-p.l10n.firstDayOfWeek+7)%7,n=p.utils.getDaysInMonth((e-1+12)%12),s=p.utils.getDaysInMonth(e),r=window.document.createDocumentFragment(),o=1<p.config.showMonths,a=o?"prevMonthDay hidden":"prevMonthDay",l=o?"nextMonthDay hidden":"nextMonthDay",d=n+1-i,c=0;d<=n;d++,c++)r.appendChild(y(a,new Date(t,e-1,d),d,c));for(d=1;d<=s;d++,c++)r.appendChild(y("",new Date(t,e,d),d,c));for(var u=s+1;u<=42-i&&(1===p.config.showMonths||c%7!=0);u++,c++)r.appendChild(y(l,new Date(t,e+1,u%s),u,c));return(o=lt("div","dayContainer")).appendChild(r),o}(i.getFullYear(),i.getMonth()))}p.daysContainer.appendChild(t),p.days=p.daysContainer.firstChild,"range"===p.config.mode&&1===p.selectedDates.length&&O()}}function C(){if(!(1<p.config.showMonths||"dropdown"!==p.config.monthSelectorType)){p.monthsDropdownContainer.tabIndex=-1,p.monthsDropdownContainer.innerHTML="";for(var t,e=0;e<12;e++){i=e,void 0!==p.config.minDate&&p.currentYear===p.config.minDate.getFullYear()&&i<p.config.minDate.getMonth()||void 0!==p.config.maxDate&&p.currentYear===p.config.maxDate.getFullYear()&&i>p.config.maxDate.getMonth()||((t=lt("option","flatpickr-monthDropdown-month")).value=new Date(p.currentYear,e).getMonth().toString(),t.textContent=ut(e,p.config.shorthandCurrentMonth,p.l10n),t.tabIndex=-1,p.currentMonth===e&&(t.selected=!0),p.monthsDropdownContainer.appendChild(t))}}var i}function S(){dt(p.monthNav),p.monthNav.appendChild(p.prevMonthNav),p.
1config.showMonths&&(p.yearElements=[],p.monthElements=[]);for(var t=p.config.showMonths;t--;){var e=function(){var t=lt("div","flatpickr-month"),e=window.document.createDocumentFragment(),i=1<p.config.showMonths||"static"===p.config.monthSelectorType?lt("span","cur-month"):(p.monthsDropdownContainer=lt("select","flatpickr-monthDropdown-months"),l(p.monthsDropdownContainer,"change",function(t){t=t.target,t=parseInt(t.value,10);p.changeMonth(t-p.currentMonth),V("onMonthChange")}),C(),p.monthsDropdownContainer),n=ct("cur-year",{tabindex:"-1"}),s=n.getElementsByTagName("input")[0];s.setAttribute("aria-label",p.l10n.yearAriaLabel),p.config.minDate&&s.setAttribute("min",p.config.minDate.getFullYear().toString()),p.config.maxDate&&(s.setAttribute("max",p.config.maxDate.getFullYear().toString()),s.disabled=!!p.config.minDate&&p.config.minDate.getFullYear()===p.config.maxDate.getFullYear());var r=lt("div","flatpickr-current-month");return r.appendChild(i),r.appendChild(n),e.appendChild(r),t.appendChild(e),{container:t,yearElement:s,monthElement:i}}();p.yearElements.push(e.yearElement),p.monthElements.push(e.monthElement),p.monthNav.appendChild(e.container)}p.monthNav.appendChild(p.nextMonthNav)}function x(){p.weekdayContainer?dt(p.weekdayContainer):p.weekdayContainer=lt("div","flatpickr-weekdays");for(var t=p.config.showMonths;t--;){var e=lt("div","flatpickr-weekdaycontainer");p.weekdayContainer.appendChild(e)}return k(),p.weekdayContainer}function k(){if(p.weekdayContainer){var t=p.l10n.firstDayOfWeek,e=p.l10n.weekdays.shorthand.slice();0<t&&t<e.length&&(e=e.splice(t,e.length).concat(e.splice(0,t)));for(var i=p.config.showMonths;i--;)p.weekdayContainer.children[i].innerHTML="\n      <span class='flatpickr-weekday'>\n        "+e.join("</span><span class='flatpickr-weekday'>")+"\n      </span>\n      "}}function $(t,e){void 0===e&&(e=!0);t=e?t:t-p.currentMonth;t<0&&!0===p._hidePrevMonthArrow||0<t&&!0===p._hideNextMonthArrow||(p.currentMonth+=t,(p.currentMonth<0||11<p.currentMonth)&&(p.currentYear+=11<p.currentMonth?1:-1,p.currentMonth=(p.currentMonth+12)%12,V("onYearChange"),C()),T(),V("onMonthChange"),K())}function E(t){return!(!p.config.appendTo||!p.config.appendTo.contains(t))||p.calendarContainer.contains(t)}function D(t){var e,i,n;p.isOpen&&!p.config.inline&&(i=E(e="function"==typeof(n=t).composedPath?n.composedPath()[0]:n.target),n=e===p.input||e===p.altInput||p.element.contains(e)||t.path&&t.path.indexOf&&(~t.path.indexOf(p.input)||~t.path.indexOf(p.altInput)),i="blur"===t.type?n&&t.relatedTarget&&!E(t.relatedTarget):!n&&!i&&!E(t.relatedTarget),t=!p.config.ignoredFocusElements.some(function(t){return t.contains(e)}),i&&t&&(void 0!==p.timeContainer&&void 0!==p.minuteElement&&void 0!==p.hourElement&&o(),p.close(),"range"===p.config.mode&&1===p.selectedDates.length&&(p.clear(!1),p.redraw())))}function I(t){var e;!t||p.config.minDate&&t<p.config.minDate.getFullYear()||p.config.maxDate&&t>p.config.maxDate.getFullYear()||(e=p.currentYear!==t,p.currentYear=t||p.currentYear,p.config.maxDate&&p.currentYear===p.config.maxDate.getFullYear()?p.currentMonth=Math.min(p.config.maxDate.getMonth(),p.currentMonth):p.config.minDate&&p.currentYear===p.config.minDate.getFullYear()&&(p.currentMonth=Math.max(p.config.minDate.getMonth(),p.currentMonth)),e&&(p.redraw(),V("onYearChange"),C()))}function A(t,e){void 0===e&&(e=!0);var i=p.parseDate(t,void 0,e);if(p.config.minDate&&i&&mt(i,p.config.minDate,void 0!==e?e:!p.minDateHasTime)<0||p.config.maxDate&&i&&0<mt(i,p.config.maxDate,void 0!==e?e:!p.maxDateHasTime))return!1;if(0===p.config.enable.length&&0===p.config.disable.length)return!0;if(void 0===i)return!1;for(var n=0<p.config.enable.length,s=n?p.config.enable:p.config.disable,r=0,o=void 0;r<s.length;r++){if("function"==typeof(o=s[r])&&o(i))return n;if(o instanceof Date&&void 0!==i&&o.getTime()===i.getTime())return n;if("string"==typeof o&&void 0!==i){var a=p.parseDate(o,void 0,!0);return a&&a.getTime()===i.getTime()?n:!n}if("object"==typeof o&&void 0!==i&&o.from&&o.to&&i.getTime()>=o.from.getTime()&&i.getTime()<=o.to.getTime())return n}return!n}function P(t){return void 0!==p.daysContainer&&-1===t.className.indexOf("hidden")&&p.daysContainer.contains(t)}function M(t){var e=t.target===p._input,i=p.config.allowInput,n=p.isOpen&&(!i||!e),s=p.config.inline&&e&&!i;if(13===t.keyCode&&e){if(i)return p.setDate(p._input.value,!0,t.target===p.altInput?p.config.altFormat:p.config.dateFormat),t.target.blur();p.open()}else if(E(t.target)||n||s){s=!!p.timeContainer&&p.timeContainer.contains(t.target);switch(t.keyCode){case 13:s?(t.preventDefault(),o(),H()):U(t);break;case 27:t.preventDefault(),H();break;case 8:case 46:e&&!p.config.allowInput&&(t.preventDefault(),p.clear());break;case 37:case 39:s||e?p.hourElement&&p.hourElement.focus():(t.preventDefault(),void 0!==p.daysContainer&&(!1===i||document.activeElement&&P(document.activeElement))&&(i=39===t.keyCode?1:-1,t.ctrlKey?(t.stopPropagation(),$(i),w(b(1),0)):w(void 0,i)));break;case 38:case 40:t.preventDefault();var r=40===t.keyCode?1:-1;p.daysContainer&&void 0!==t.target.$i||t.target===p.input||t.target===p.altInput?t.ctrlKey?(t.stopPropagation(),I(p.currentYear-r),w(b(1),0)):s||w(void 0,7*r):t.target===p.currentYearElement?I(p.currentYear-r):p.config.enableTime&&(!s&&p.hourElement&&p.hourElement.focus(),o(t),p._debouncedChange());break;case 9:s?-1!==(s=(r=[p.hourElement,p.minuteElement,p.secondElement,p.amPM].concat(p.pluginElements).filter(function(t){return t})).indexOf(t.target))&&(s=r[s+(t.shiftKey?-1:1)],t.preventDefault(),(s||p._input).focus()):!p.config.noCalendar&&p.daysContainer&&p.daysContainer.contains(t.target)&&t.shiftKey&&(t.preventDefault(),p._input.focus())}}if(void 0!==p.amPM&&t.target===p.amPM)switch(t.key){case p.l10n.amPM[0].charAt(0):case p.l10n.amPM[0].charAt(0).toLowerCase():p.amPM.textContent=p.l10n.amPM[0],a(),Q();break;case p.l10n.amPM[1].charAt(0):case p.l10n.amPM[1].charAt(0).toLowerCase():p.amPM.textContent=p.l10n.amPM[1],a(),Q()}(e||E(t.target))&&V("onKeyDown",t)}function O(n){if(1===p.selectedDates.length&&(!n||n.classList.contains("flatpickr-day")&&!n.classList.contains("flatpickr-disabled"))){for(var s=(n||p.days.firstElementChild).dateObj.getTime(),r=p.parseDate(p.selectedDates[0],void 0,!0).getTime(),t=Math.min(s,p.selectedDates[0].getTime()),e=Math.max(s,p.selectedDates[0].getTime()),o=!1,a=0,l=0,i=t;i<e;i+=vt.DAY)A(new Date(i),!0)||(o=o||t<i&&i<e,i<r&&(!a||a<i)?a=i:r<i&&(!l||i<l)&&(l=i));for(var d=0;d<p.config.showMonths;d++)for(var c=p.daysContainer.children[d],u=0,h=c.children.length;u<h;u++)!function(t){var e=c.children[t],i=e.dateObj.getTime(),t=0<a&&i<a||0<l&&l<i;t?(e.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(t){e.classList.remove(t)})):o&&!t||(["startRange","inRange","endRange","notAllowed"].forEach(function(t){e.classList.remove(t)}),void 0!==n&&(n.classList.add(s<=p.selectedDates[0].getTime()?"startRange":"endRange"),r<s&&i===r?e.classList.add("startRange"):s<r&&i===r&&e.classList.add("endRange"),a<=i&&(0===l||i<=l)&&gt(i,r,s)&&e.classList.add("inRange")))}(u)}}function L(){!p.isOpen||p.config.static||p.config.inline||j()}function N(){p.setDate(void 0!==p.config.minDate?new Date(p.config.minDate.getTime()):new Date,!0),i(),Q()}function R(i){return function(t){var e=p.config["_"+i+"Date"]=p.parseDate(t,p.config.dateFormat),t=p.config["_"+("min"===i?"max":"min")+"Date"];void 0!==e&&(p["min"===i?"minDateHasTime":"maxDateHasTime"]=0<e.getHours()||0<e.getMinutes()||0<e.getSeconds()),p.selectedDates&&(p.selectedDates=p.selectedDates.filter(function(t){return A(t)}),p.selectedDates.length||"min"!==i||n(e),Q()),p.daysContainer&&(B(),void 0!==e?p.
1currentYearElement[i]=e.getFullYear().toString():p.currentYearElement.removeAttribute(i),p.currentYearElement.disabled=!!t&&void 0!==e&&t.getFullYear()===e.getFullYear())}}function F(){"object"!=typeof p.config.locale&&void 0===_t.l10ns[p.config.locale]&&p.config.errorHandler(new Error("flatpickr: invalid locale "+p.config.locale)),p.l10n=J({},_t.l10ns.default,"object"==typeof p.config.locale?p.config.locale:"default"!==p.config.locale?_t.l10ns[p.config.locale]:void 0),ht.K="("+p.l10n.amPM[0]+"|"+p.l10n.amPM[1]+"|"+p.l10n.amPM[0].toLowerCase()+"|"+p.l10n.amPM[1].toLowerCase()+")",void 0===J({},c,JSON.parse(JSON.stringify(d.dataset||{}))).time_24hr&&void 0===_t.defaultConfig.time_24hr&&(p.config.time_24hr=p.l10n.time_24hr),p.formatDate=pt(p),p.parseDate=ft({config:p.config,l10n:p.l10n})}function j(t){var e,i,n,s,r,o;void 0!==p.calendarContainer&&(V("onPreCalendarPosition"),n=t||p._positionElement,i=Array.prototype.reduce.call(p.calendarContainer.children,function(t,e){return t+e.offsetHeight},0),o=p.calendarContainer.offsetWidth,s=(e=p.config.position.split(" "))[0],r=1<e.length?e[1]:null,t=n.getBoundingClientRect(),e=window.innerHeight-t.bottom,s="above"===s||"below"!==s&&e<i&&t.top>i,e=window.pageYOffset+t.top+(s?-i-2:n.offsetHeight+2),at(p.calendarContainer,"arrowTop",!s),at(p.calendarContainer,"arrowBottom",s),p.config.inline||(i=window.pageXOffset+t.left-(null!=r&&"center"===r?(o-t.width)/2:0),n=window.document.body.offsetWidth-(window.pageXOffset+t.right),s=i+o>window.document.body.offsetWidth,r=n+o>window.document.body.offsetWidth,at(p.calendarContainer,"rightMost",s),p.config.static||(p.calendarContainer.style.top=e+"px",s?r?void 0!==(s=document.styleSheets[0])&&(r=window.document.body.offsetWidth,r=Math.max(0,r/2-o/2),o=s.cssRules.length,t="{left:"+t.left+"px;right:auto;}",at(p.calendarContainer,"rightMost",!1),at(p.calendarContainer,"centerMost",!0),s.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+t,o),p.calendarContainer.style.left=r+"px",p.calendarContainer.style.right="auto"):(p.calendarContainer.style.left="auto",p.calendarContainer.style.right=n+"px"):(p.calendarContainer.style.left=i+"px",p.calendarContainer.style.right="auto"))))}function B(){p.config.noCalendar||p.isMobile||(K(),T())}function H(){p._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(p.close,0):p.close()}function U(t){t.preventDefault(),t.stopPropagation();var e,i,n=function t(e,i){return i(e)?e:e.parentNode?t(e.parentNode,i):void 0}(t.target,function(t){return t.classList&&t.classList.contains("flatpickr-day")&&!t.classList.contains("flatpickr-disabled")&&!t.classList.contains("notAllowed")});void 0!==n&&(i=n,n=((t=p.latestSelectedDateObj=new Date(i.dateObj.getTime())).getMonth()<p.currentMonth||t.getMonth()>p.currentMonth+p.config.showMonths-1)&&"range"!==p.config.mode,p.selectedDateElem=i,"single"===p.config.mode?p.selectedDates=[t]:"multiple"===p.config.mode?(e=G(t))?p.selectedDates.splice(parseInt(e),1):p.selectedDates.push(t):"range"===p.config.mode&&(2===p.selectedDates.length&&p.clear(!1,!1),p.latestSelectedDateObj=t,p.selectedDates.push(t),0!==mt(t,p.selectedDates[0],!0)&&p.selectedDates.sort(function(t,e){return t.getTime()-e.getTime()})),a(),n&&(e=p.currentYear!==t.getFullYear(),p.currentYear=t.getFullYear(),p.currentMonth=t.getMonth(),e&&(V("onYearChange"),C()),V("onMonthChange")),K(),T(),Q(),p.config.enableTime&&setTimeout(function(){return p.showTimeInput=!0},50),n||"range"===p.config.mode||1!==p.config.showMonths?void 0!==p.selectedDateElem&&void 0===p.hourElement&&p.selectedDateElem&&p.selectedDateElem.focus():_(i),void 0!==p.hourElement&&void 0!==p.hourElement&&p.hourElement.focus(),p.config.closeOnSelect&&(n="single"===p.config.mode&&!p.config.enableTime,i="range"===p.config.mode&&2===p.selectedDates.length&&!p.config.enableTime,(n||i)&&H()),f())}p.parseDate=ft({config:p.config,l10n:p.l10n}),p._handlers=[],p.pluginElements=[],p.loadedPlugins=[],p._bind=l,p._setHoursFromDate=n,p._positionCalendar=j,p.changeMonth=$,p.changeYear=I,p.clear=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0),p.input.value="",void 0!==p.altInput&&(p.altInput.value=""),void 0!==p.mobileInput&&(p.mobileInput.value=""),p.selectedDates=[],
vendor: 9,503 bytes, line 1
1!(p.latestSelectedDateObj=void 0)===e&&(p.currentYear=p._initialDate.getFullYear(),p.currentMonth=p._initialDate.getMonth()),!(p.showTimeInput=!1)===p.config.enableTime&&i(),p.redraw(),t&&V("onChange")},p.close=function(){p.isOpen=!1,p.isMobile||(void 0!==p.calendarContainer&&p.calendarContainer.classList.remove("open"),void 0!==p._input&&p._input.classList.remove("active")),V("onClose")},p._createElement=lt,p.destroy=function(){void 0!==p.config&&V("onDestroy");for(var t=p._handlers.length;t--;){var e=p._handlers[t];e.element.removeEventListener(e.event,e.handler,e.options)}if(p._handlers=[],p.mobileInput)p.mobileInput.parentNode&&p.mobileInput.parentNode.removeChild(p.mobileInput),p.mobileInput=void 0;else if(p.calendarContainer&&p.calendarContainer.parentNode)if(p.config.static&&p.calendarContainer.parentNode){var i=p.calendarContainer.parentNode;if(i.lastChild&&i.removeChild(i.lastChild),i.parentNode){for(;i.firstChild;)i.parentNode.insertBefore(i.firstChild,i);i.parentNode.removeChild(i)}}else p.calendarContainer.parentNode.removeChild(p.calendarContainer);p.altInput&&(p.input.type="text",p.altInput.parentNode&&p.altInput.parentNode.removeChild(p.altInput),delete p.altInput),p.input&&(p.input.type=p.input._type,p.input.classList.remove("flatpickr-input"),p.input.removeAttribute("readonly"),p.input.value=""),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(t){try{delete p[t]}catch(t){}})},p.isEnabled=A,p.jumpToDate=m,p.open=function(t,e){if(void 0===e&&(e=p._positionElement),!0===p.isMobile)return t&&(t.preventDefault(),t.target&&t.target.blur()),void 0!==p.mobileInput&&(p.mobileInput.focus(),p.mobileInput.click()),void V("onOpen");var i;p._input.disabled||p.config.inline||(i=p.isOpen,p.isOpen=!0,i||(p.calendarContainer.classList.add("open"),p._input.classList.add("active"),V("onOpen"),j(e)),!0===p.config.enableTime&&!0===p.config.noCalendar&&(0===p.selectedDates.length&&N(),!1!==p.config.allowInput||void 0!==t&&p.timeContainer.contains(t.relatedTarget)||setTimeout(function(){return p.hourElement.select()},50)))},p.redraw=B,p.set=function(t,e){if(null!==t&&"object"==typeof t)for(var i in Object.assign(p.config,t),t)void 0!==z[i]&&z[i].forEach(function(t){return t()});else p.config[t]=e,void 0!==z[t]?z[t].forEach(function(t){return t()}):-1<tt.indexOf(t)&&(p.config[t]=ot(e));p.redraw(),Q(!1)},p.setDate=function(t,e,i){if(void 0===e&&(e=!1),void 0===i&&(i=p.config.dateFormat),0!==t&&!t||t instanceof Array&&0===t.length)return p.clear(e);q(t,i),p.showTimeInput=0<p.selectedDates.length,p.latestSelectedDateObj=p.selectedDates[p.selectedDates.length-1],p.redraw(),m(),n(),0===p.selectedDates.length&&p.clear(!1),Q(e),e&&V("onChange")},p.toggle=function(t){if(!0===p.isOpen)return p.close();p.open(t)};var z={locale:[F,k],showMonths:[S,e,x],minDate:[m],maxDate:[m]};function q(t,e){var i=[];if(t instanceof Array)i=t.map(function(t){return p.parseDate(t,e)});else if(t instanceof Date||"number"==typeof t)i=[p.parseDate(t,e)];else if("string"==typeof t)switch(p.config.mode){case"single":case"time":i=[p.parseDate(t,e)];break;case"multiple":i=t.split(p.config.conjunction).map(function(t){return p.parseDate(t,e)});break;case"range":i=t.split(p.l10n.rangeSeparator).map(function(t){return p.parseDate(t,e)})}else p.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(t)));p.selectedDates=i.filter(function(t){return t instanceof Date&&A(t,!1)}),"range"===p.config.mode&&p.selectedDates.sort(function(t,e){return t.getTime()-e.getTime()})}function W(t){return t.slice().map(function(t){return"string"==typeof t||"number"==typeof t||t instanceof Date?p.parseDate(t,void 0,!0):t&&"object"==typeof t&&t.from&&t.to?{from:p.parseDate(t.from,void 0),to:p.parseDate(t.to,void 0)}:t}).filter(function(t){return t})}function V(t,e){if(void 0!==p.config){var i=p.config[t];if(void 0!==i&&0<i.length)for(var n=0;i[n]&&n<i.length;n++)i[n](p.selectedDates,p.input.value,p,e);"onChange"===t&&(p.input.dispatchEvent(Y("change")),p.input.dispatchEvent(Y("input")))}}function Y(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e}function G(t){for(var e=0;e<p.selectedDates.length;e++)if(0===mt(p.selectedDates[e],t))return""+e;return!1}function K(){p.config.noCalendar||p.isMobile||!p.monthNav||(p.yearElements.forEach(function(t,e){var i=new Date(p.currentYear,p.currentMonth,1);i.setMonth(p.currentMonth+e),1<p.config.showMonths||"static"===p.config.monthSelectorType?p.monthElements[e].textContent=ut(i.getMonth(),p.config.shorthandCurrentMonth,p.l10n)+" ":p.monthsDropdownContainer.value=i.getMonth().toString(),t.value=i.getFullYear().toString()}),p._hidePrevMonthArrow=void 0!==p.config.minDate&&(p.currentYear===p.config.minDate.getFullYear()?p.currentMonth<=p.config.minDate.getMonth():p.currentYear<p.config.minDate.getFullYear()),p._hideNextMonthArrow=void 0!==p.config.maxDate&&(p.currentYear===p.config.maxDate.getFullYear()?p.currentMonth+1>p.config.maxDate.getMonth():p.currentYear>p.config.maxDate.getFullYear()))}function X(e){return p.selectedDates.map(function(t){return p.formatDate(t,e)}).filter(function(t,e,i){return"range"!==p.config.mode||p.config.enableTime||i.indexOf(t)===e}).join("range"!==p.config.mode?p.config.conjunction:p.l10n.rangeSeparator)}function Q(t){void 0===t&&(t=!0),void 0!==p.mobileInput&&p.mobileFormatStr&&(p.mobileInput.value=void 0!==p.latestSelectedDateObj?p.formatDate(p.latestSelectedDateObj,p.mobileFormatStr):""),p.input.value=X(p.config.dateFormat),void 0!==p.altInput&&(p.altInput.value=X(p.config.altFormat)),!1!==t&&V("onValueUpdate")}function Z(t){var e=p.prevMonthNav.contains(t.target),i=p.nextMonthNav.contains(t.target);e||i?$(e?-1:1):0<=p.yearElements.indexOf(t.target)?t.target.select():t.target.classList.contains("arrowUp")?p.changeYear(p.currentYear+1):t.target.classList.contains("arrowDown")&&p.changeYear(p.currentYear-1)}return function(){p.element=p.input=d,p.isOpen=!1,function(){var t=["wrap","weekNumbers","allowInput","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],e=J({},c,JSON.parse(JSON.stringify(d.dataset||{}))),i={};p.config.parseDate=e.parseDate,p.config.formatDate=e.formatDate,Object.defineProperty(p.config,"enable",{get:function(){return p.config._enable},set:function(t){p.config._enable=W(t)}}),Object.defineProperty(p.config,"disable",{get:function(){return p.config._disable},set:function(t){p.config._disable=W(t)}});var n,s="time"===e.mode;e.dateFormat||!e.enableTime&&!s||(n=_t.defaultConfig.dateFormat||et.dateFormat,i.dateFormat=e.noCalendar||s?"H:i"+(e.enableSeconds?":S":""):n+" H:i"+(e.enableSeconds?":S":"")),e.altInput&&(e.enableTime||s)&&!e.altFormat&&(r=_t.defaultConfig.altFormat||et.altFormat,i.altFormat=e.noCalendar||s?"h:i"+(e.enableSeconds?":S K":" K"):r+" h:i"+(e.enableSeconds?":S":"")+" K"),e.altInputClass||(p.config.altInputClass=p.input.className+" "+p.config.altInputClass),Object.defineProperty(p.config,"minDate",{get:function(){return p.config._minDate},set:R("min")}),Object.defineProperty(p.config,"maxDate",{get:function(){return p.config._maxDate},set:R("max")});var r=function(e){return function(t){p.config["min"===e?"_minTime":"_maxTime"]=p.parseDate(t,"H:i:S")}};Object.defineProperty(p.config,"minTime",{get:function(){return p.config._minTime},set:r("min")}),Object.defineProperty(p.config,"maxTime",{get:function(){return p.config._maxTime},set:r("max")}),"time"===e.mode&&(p.config.noCalendar=!0,p.config.enableTime=!0),Object.assign(p.config,i,e);for(var o=0;o<t.length;o++)p.config[t[o]]=!0===p.config[t[o]]||"true"===p.config[t[o]];tt.filter(function(t){return void 0!==p.config[t]}).forEach(function(t){p.config[t]=ot(p.config[t]||[]).map(u)}),p.isMobile=!p.config.disableMobile&&!p.config.inline&&"single"===p.config.mode&&!p.config.disable.length&&!p.config.enable.length&&!p.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(o=0;o<p.config.plugins.length;o++){var a,l=p.config.plugins[o](p)||{};for(a in l)-1<tt.indexOf(a)?p.config[a]=ot(l[a]).map(u).concat(p.config[a]):void 0===e[a]&&(p.config[a]=l[a])}V("onParseConfig")}(),F(),p.input=p.config.wrap?d.querySelector("[data-input]"):d,p.input?(p.input._type=p.input.type,p.input.type="text",p.input.classList.add("flatpickr-input"),p._input=p.input,p.config.altInput&&(p.altInput=lt(p.input.nodeName,p.config.altInputClass),p._input=p.altInput,p.altInput.placeholder=p.input.placeholder,p.altInput.disabled=p.input.disabled,p.altInput.required=p.input.required,p.altInput.tabIndex=p.input.tabIndex,p.altInput.type="text",p.input.setAttribute("type","hidden"),!p.config.static&&p.input.parentNode&&p.input.parentNode.insertBefore(p.altInput,p.input.nextSibling)),p.config.allowInput||p._input.setAttribute("readonly","readonly"),p._positionElement=p.config.positionElement||p._input):p.config.errorHandler(new Error("Invalid input element specified")),function(){p.selectedDates=[],p.now=p.parseDate(p.config.now)||new Date;
vendor: 6,305 bytes, line 1
1var t=p.config.defaultDate||("INPUT"!==p.input.nodeName&&"TEXTAREA"!==p.input.nodeName||!p.input.placeholder||p.input.value!==p.input.placeholder?p.input.value:null);t&&q(t,p.config.dateFormat),p._initialDate=0<p.selectedDates.length?p.selectedDates[0]:p.config.minDate&&p.config.minDate.getTime()>p.now.getTime()?p.config.minDate:p.config.maxDate&&p.config.maxDate.getTime()<p.now.getTime()?p.config.maxDate:p.now,p.currentYear=p._initialDate.getFullYear(),p.currentMonth=p._initialDate.getMonth(),0<p.selectedDates.length&&(p.latestSelectedDateObj=p.selectedDates[0]),void 0!==p.config.minTime&&(p.config.minTime=p.parseDate(p.config.minTime,"H:i")),void 0!==p.config.maxTime&&(p.config.maxTime=p.parseDate(p.config.maxTime,"H:i")),p.minDateHasTime=!!p.config.minDate&&(0<p.config.minDate.getHours()||0<p.config.minDate.getMinutes()||0<p.config.minDate.getSeconds()),p.maxDateHasTime=!!p.config.maxDate&&(0<p.config.maxDate.getHours()||0<p.config.maxDate.getMinutes()||0<p.config.maxDate.getSeconds()),Object.defineProperty(p,"showTimeInput",{get:function(){return p._showTimeInput},set:function(t){p._showTimeInput=t,p.calendarContainer&&at(p.calendarContainer,"showTimeInput",t),p.isOpen&&j()}})}(),p.utils={getDaysInMonth:function(t,e){return void 0===t&&(t=p.currentMonth),void 0===e&&(e=p.currentYear),1===t&&(e%4==0&&e%100!=0||e%400==0)?29:p.l10n.daysInMonth[t]}},p.isMobile||function(){var t,e,i=window.document.createDocumentFragment();p.calendarContainer=lt("div","flatpickr-calendar"),p.calendarContainer.tabIndex=-1,p.config.noCalendar||(i.appendChild((p.monthNav=lt("div","flatpickr-months"),p.yearElements=[],p.monthElements=[],p.prevMonthNav=lt("span","flatpickr-prev-month"),p.prevMonthNav.innerHTML=p.config.prevArrow,p.nextMonthNav=lt("span","flatpickr-next-month"),p.nextMonthNav.innerHTML=p.config.nextArrow,S(),Object.defineProperty(p,"_hidePrevMonthArrow",{get:function(){return p.__hidePrevMonthArrow},set:function(t){p.__hidePrevMonthArrow!==t&&(at(p.prevMonthNav,"flatpickr-disabled",t),p.__hidePrevMonthArrow=t)}}),Object.defineProperty(p,"_hideNextMonthArrow",{get:function(){return p.__hideNextMonthArrow},set:function(t){p.__hideNextMonthArrow!==t&&(at(p.nextMonthNav,"flatpickr-disabled",t),p.__hideNextMonthArrow=t)}}),p.currentYearElement=p.yearElements[0],K(),p.monthNav)),p.innerContainer=lt("div","flatpickr-innerContainer"),p.config.weekNumbers&&(t=(e=function(){p.calendarContainer.classList.add("hasWeeks");var t=lt("div","flatpickr-weekwrapper");t.appendChild(lt("span","flatpickr-weekday",p.l10n.weekAbbreviation));var e=lt("div","flatpickr-weeks");return t.appendChild(e),{weekWrapper:t,weekNumbers:e}}()).weekWrapper,e=e.weekNumbers,p.innerContainer.appendChild(t),p.weekNumbers=e,p.weekWrapper=t),p.rContainer=lt("div","flatpickr-rContainer"),p.rContainer.appendChild(x()),p.daysContainer||(p.daysContainer=lt("div","flatpickr-days"),p.daysContainer.tabIndex=-1),T(),p.rContainer.appendChild(p.daysContainer),p.innerContainer.appendChild(p.rContainer),i.appendChild(p.innerContainer)),p.config.enableTime&&i.appendChild(function(){p.calendarContainer.classList.add("hasTime"),p.config.noCalendar&&p.calendarContainer.classList.add("noCalendar"),p.timeContainer=lt("div","flatpickr-time"),p.timeContainer.tabIndex=-1;var t=lt("span","flatpickr-time-separator",":"),e=ct("flatpickr-hour",{"aria-label":p.l10n.hourAriaLabel});p.hourElement=e.getElementsByTagName("input")[0];var i=ct("flatpickr-minute",{"aria-label":p.l10n.minuteAriaLabel});return p.minuteElement=i.getElementsByTagName("input")[0],p.hourElement.tabIndex=p.minuteElement.tabIndex=-1,p.hourElement.value=nt(p.latestSelectedDateObj?p.latestSelectedDateObj.getHours():p.config.time_24hr?p.config.defaultHour:function(t){switch(t%24){case 0:case 12:return 12;default:return t%12}}(p.config.defaultHour)),p.minuteElement.value=nt(p.latestSelectedDateObj?p.latestSelectedDateObj.getMinutes():p.config.defaultMinute),p.hourElement.setAttribute("step",p.config.hourIncrement.toString()),p.minuteElement.setAttribute("step",p.config.minuteIncrement.toString()),p.hourElement.setAttribute("min",p.config.time_24hr?"0":"1"),p.hourElement.setAttribute("max",p.config.time_24hr?"23":"12"),p.minuteElement.setAttribute("min","0"),p.minuteElement.setAttribute("max","59"),p.timeContainer.appendChild(e),p.timeContainer.appendChild(t),p.timeContainer.appendChild(i),p.config.time_24hr&&p.timeContainer.classList.add("time24hr"),p.config.enableSeconds&&(p.timeContainer.classList.add("hasSeconds"),i=ct("flatpickr-second"),p.secondElement=i.getElementsByTagName("input")[0],p.secondElement.value=nt(p.latestSelectedDateObj?p.latestSelectedDateObj.getSeconds():p.config.defaultSeconds),p.secondElement.setAttribute("step",p.minuteElement.getAttribute("step")),p.secondElement.setAttribute("min","0"),p.secondElement.setAttribute("max","59"),p.timeContainer.appendChild(lt("span","flatpickr-time-separator",":")),p.timeContainer.appendChild(i)),p.config.time_24hr||(p.amPM=lt("span","flatpickr-am-pm",p.l10n.amPM[st(11<(p.latestSelectedDateObj?p.hourElement.value:p.config.defaultHour))]),p.amPM.title=p.l10n.toggleTitle,p.amPM.tabIndex=-1,p.timeContainer.appendChild(p.amPM)),p.timeContainer}()),at(p.calendarContainer,"rangeMode","range"===p.config.mode),at(p.calendarContainer,"animate",!0===p.config.animate),at(p.calendarContainer,"multiMonth",1<p.config.showMonths),p.calendarContainer.appendChild(i);i=void 0!==p.config.appendTo&&void 0!==p.config.appendTo.nodeType;(p.config.inline||p.config.static)&&(p.calendarContainer.classList.add(p.config.inline?"inline":"static"),p.config.inline&&(!i&&p.element.parentNode?p.element.parentNode.insertBefore(p.calendarContainer,p._input.nextSibling):void 0!==p.config.appendTo&&p.config.appendTo.appendChild(p.calendarContainer)),p.config.static)&&(i=lt("div","flatpickr-wrapper"),p.element.parentNode&&p.element.parentNode.insertBefore(i,p.element),i.appendChild(p.element),p.altInput&&i.appendChild(p.altInput),i.appendChild(p.calendarContainer)),p.config.static||p.config.inline||(void 0!==p.config.appendTo?p.config.appendTo:window.document.body).appendChild(p.calendarContainer)}(),p.config.wrap&&["open","close","toggle","clear"].forEach(function(e){Array.prototype.forEach.call(p.element.querySelectorAll("[data-"+e+"]"),function(t){return l(t,"click",p[e])})}
vendor: 3,079 bytes, line 1
1),p.isMobile?function(){var t=p.config.enableTime?p.config.noCalendar?"time":"datetime-local":"date";p.mobileInput=lt("input",p.input.className+" flatpickr-mobile"),p.mobileInput.step=p.input.getAttribute("step")||"any",p.mobileInput.tabIndex=1,p.mobileInput.type=t,p.mobileInput.disabled=p.input.disabled,p.mobileInput.required=p.input.required,p.mobileInput.placeholder=p.input.placeholder,p.mobileFormatStr="datetime-local"==t?"Y-m-d\\TH:i:S":"date"==t?"Y-m-d":"H:i:S",0<p.selectedDates.length&&(p.mobileInput.defaultValue=p.mobileInput.value=p.formatDate(p.selectedDates[0],p.mobileFormatStr)),p.config.minDate&&(p.mobileInput.min=p.formatDate(p.config.minDate,"Y-m-d")),p.config.maxDate&&(p.mobileInput.max=p.formatDate(p.config.maxDate,"Y-m-d")),p.input.type="hidden",void 0!==p.altInput&&(p.altInput.type="hidden");try{p.input.parentNode&&p.input.parentNode.insertBefore(p.mobileInput,p.input.nextSibling)}catch(t){}l(p.mobileInput,"change",function(t){p.setDate(t.target.value,!1,p.mobileFormatStr),V("onChange"),V("onClose")})}():(t=rt(L,50),p._debouncedChange=rt(f,yt),p.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&l(p.daysContainer,"mouseover",function(t){"range"===p.config.mode&&O(t.target)}),l(window.document.body,"keydown",M),p.config.inline||p.config.static||l(window,"resize",t),void 0!==window.ontouchstart?l(window.document,"touchstart",D):l(window.document,"mousedown",h(D)),l(window.document,"focus",D,{capture:!0}),!0===p.config.clickOpens&&(l(p._input,"focus",p.open),l(p._input,"mousedown",h(p.open))),void 0!==p.daysContainer&&(l(p.monthNav,"mousedown",h(Z)),l(p.monthNav,["keyup","increment"],s),l(p.daysContainer,"mousedown",h(U))),void 0!==p.timeContainer&&void 0!==p.minuteElement&&void 0!==p.hourElement&&(l(p.timeContainer,["increment"],o),l(p.timeContainer,"blur",o,{capture:!0}),l(p.timeContainer,"mousedown",h(g)),l([p.hourElement,p.minuteElement],["focus","click"],function(t){return t.target.select()}),void 0!==p.secondElement&&l(p.secondElement,"focus",function(){return p.secondElement&&p.secondElement.select()}),void 0!==p.amPM&&l(p.amPM,"mousedown",h(function(t){o(t),f()})))),(p.selectedDates.length||p.config.noCalendar)&&(p.config.enableTime&&n(p.config.noCalendar?p.latestSelectedDateObj||p.config.minDate:void 0),Q(!1)),e(),p.showTimeInput=0<p.selectedDates.length||p.config.noCalendar;var t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!p.isMobile&&t&&j(),V("onReady")}(),p}function i(t,e){for(var i=Array.prototype.slice.call(t).filter(function(t){return t instanceof HTMLElement}),n=[],s=0;s<i.length;s++){var r=i[s];try{if(null!==r.getAttribute("data-fp-omit"))continue;void 0!==r._flatpickr&&(r._flatpickr.destroy(),r._flatpickr=void 0),r._flatpickr=a(r,e||{}),n.push(r._flatpickr)}catch(t){console.error(t)}}return 1===n.length?n[0]:n}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(t){return i(this,t)},HTMLElement.prototype.flatpickr=function(t){return i([this],t)}
1);var _t=function(t,e){return"string"==typeof t?i(window.document.querySelectorAll(t),e):t instanceof Node?i([t],e):i(t,e)};return _t.defaultConfig={},_t.l10ns={en:J({},it),default:J({},it)},_t.localize=function(t){_t.l10ns.default=J({},_t.l10ns.default,t)},_t.setDefaults=function(t){_t.defaultConfig=J({},_t.defaultConfig,t)},_t.parseDate=ft({}),_t.formatDate=pt({}),_t.compareDates=mt,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(t){return i(this,t)}),Date.prototype.fp_incr=function(t){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof t?parseInt(t,10):t))},"undefined"!=typeof window&&(window.flatpickr=_t),_t}),function(){var t=function(f,m,p){"use strict";return function(){var o=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (‫البحرين‬‎)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2],["Cocos (Keeling) Islands","cc","61",1],["Colombia","co","57"],["Comoros (‫جزر القمر‬‎)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (‫مصر‬‎)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (‫ایران‬‎)","ir","98"],["Iraq (‫العراق‬‎)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (‫ישראל‬‎)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (日本)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (‫الأردن‬‎)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (‫الكويت‬‎)","kw","965"],["Kyrgyzstan (Кырг
1ызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (‫لبنان‬‎)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (‫ليبيا‬‎)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["Macedonia (FYROM) (Македонија)","mk","389"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (‫موريتانيا‬‎)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (‫المغرب‬‎)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (‫عُمان‬‎)","om","968"],["Pakistan (‫پاکستان‬‎)","pk","92"],["Palau","pw","680"],["Palestine (‫فلسطين‬‎)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (‫قطر‬‎)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (‫المملكة العربية السعودية‬‎)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (‫جنوب السودان‬‎)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්‍රී ලංකාව)","lk","94"],["Sudan (‫السودان‬‎)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Swaziland","sz","268"],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (‫سوريا‬‎)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (‫تونس‬‎)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (‫الصحراء الغربية‬‎)","eh","212",1,["5288","5289"]],["Yemen (‫اليمن‬‎)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]];for(var t=0;t<o.length;t++){var e=o[t];o[t]={name:e[0],iso2:e[1],dialCode:e[2],priority:e[3]||0,areaCodes:e[4]||null}}"use strict";function r(t,e){if(!(t instanceof e)){throw new TypeError("Cannot call a class as a function")}}function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(t,n.key,n)}}function i(t,e,i){if(e)n(t.prototype,e);if(i)n(t,i);return t}f.intlTelInputGlobals={getInstance:function t(e){var i=e.getAttribute("data-intl-tel-input-id");return f.intlTelInputGlobals.instances[i]},instances:{}};var a=0;var l={allowDropdown:true,autoHideDialCode:true,autoPlaceholder:"polite",customContainer:"",customPlaceholder:null,dropdownContainer:null,excludeCountries:[],formatOnDisplay:true,geoIpLookup:null,hiddenInput:"",initialCountry:"",localizedCountries:null,nationalMode:true,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:false,utilsScript:""};var d=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"];f.addEventListener("load",function(){f.intlTelInputGlobals.windowLoaded=true});var c=function t(e,i){var n=Object.keys(e);for(var s=0;s<n.length;s++){i(n[s],e[n[s]])}};var u=function t(e){c(f.intlTelInputGlobals.instances,function(t){f.intlTelInputGlobals.instances[t][e]()})};var s=function(){function s(t,e){var i=this;r(this,s);this.id=a++;this.telInput=t;this.activeItem=null;this.highlightedItem=null;var n=e||{};this.options={};c(l,function(t,e){i.options[t]=n.hasOwnProperty(t)?n[t]:e});this.hadInitialPlaceholder=Boolean(t.getAttribute("placeholder"))}i(s,[{key:"_init",value:function t(){var i=this;if(this.options.nationalMode)this.options.autoHideDialCode=false;if(this.options.separateDialCode){this.options.autoHideDialCode=this.options.nationalMode=false}this.isMobile=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);if(this.isMobile){m.body.classList.add("iti-mobile");if(!this.options.dropdownContainer)this.options.dropdownContainer=m.body}if(typeof Promise!=="undefined"){var e=new Promise(function(t,e){i.resolveAutoCountryPromise=t;i.rejectAutoCountryPromise=e});var n=new Promise(function(t,e){i.resolveUtilsScriptPromise=t;i.rejectUtilsScriptPromise=e});this.promise=Promise.all([e,n])}else{this.resolveAutoCountryPromise=this.rejectAutoCountryPromise=function(){};this.resolveUtilsScriptPromise=this.rejectUtilsScriptPromise=function(){}}this.selectedCountryData={};this._processCountryData();this._generateMarkup();this._setInitialState();this._initListeners();this._initRequests()}},{key:"_processCountryData",value:function t(){this._processAllCountries();this._processCountryCodes();this._processPreferredCountries();if(this.options.localizedCountries)this._translateCountriesByLocale();if(this.options.onlyCountries.length||this.options.localizedCountries){this.countries.sort(this._countryNameSort)}}},{key:"_addCountryCode",value:function t(e,i,n){if(i.length>this.dialCodeMaxLen){this.dialCodeMaxLen=i.length}if(!this.countryCodes.hasOwnProperty(i)){this.countryCodes[i]=[]}for(var s=0;s<this.countryCodes[i].length;s++){if(this.countryCodes[i][s]===e)return}var r=n!==p?n:this.countryCodes[i].length;this.countryCodes[i][r]=e}},{key:"_processAllCountries",value:function t(){if(this.options.onlyCountries.length){var e=this.options.onlyCountries.map(function(t){return t.toLowerCase()});this.countries=o.filter(function(t){return e.indexOf(t.iso2)>-1})}else if(this.options.excludeCountries.length){var i=this.options.excludeCountries.map(function(t){return t.toLowerCase()});this.countries=o.filter(function(t){return i.indexOf(t.iso2)===-1})}else{this.countries=o}}},{key:"_translateCountriesByLocale",value:function t(){for(var e=0;e<this.countries.length;e++){var i=this.countries[e].iso2.toLowerCase();if(this.options.localizedCountries.hasOwnProperty(i)){this.countries[e].name=this.options.localizedCountries[i]}}}},{key:"_countryNameSort",value:function t(e,i){return e.name.localeCompare(i.name)}},{key:"_processCountryCodes",value:function t(){this.dialCodeMaxLen=0;this.countryCodes={};for(var e=0;e<this.countries.length;e++){var i=this.countries[e];this._addCountryCode(i.iso2,i.dialCode,i.priority)}for(var n=0;n<this.countries.length;n++){var s=this.countries[n];if(s.areaCodes){var r=this.countryCodes[s.dialCode][0];for(var o=0;o<s.areaCodes.length;o++){var a=s.areaCodes[o];for(var l=1;l<a.length;l++){var d=s.dialCode+a.substr(0,l);this._addCountryCode(r,d);this._addCountryCode(s.iso2,d)}this._addCountryCode(s.iso2,s.dialCode+a)}}}}},{key:"_processPreferredCountries",value:function t(){this.preferredCountries=[];for(var e=0;e<this.options.preferredCountries.length;e++){var i=this.options.preferredCountries[e].toLowerCase();var n=this._getCountryData(i,false,true);if(n)this.preferredCountries.push(n)}}},{key:"_createEl",value:function t(e,i,n){var s=m.createElement(e);
1if(i)c(i,function(t,e){return s.setAttribute(t,e)});if(n)n.appendChild(s);return s}},{key:"_generateMarkup",value:function t(){this.telInput.setAttribute("autocomplete","off");var e="iti";if(this.options.allowDropdown)e+=" iti--allow-dropdown";if(this.options.separateDialCode)e+=" iti--separate-dial-code";if(this.options.customContainer){e+=" ";e+=this.options.customContainer}var i=this._createEl("div",{class:e});this.telInput.parentNode.insertBefore(i,this.telInput);this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},i);i.appendChild(this.telInput);this.selectedFlag=this._createEl("div",{class:"iti__selected-flag",role:"combobox","aria-owns":"country-listbox"},this.flagsContainer);this.selectedFlagInner=this._createEl("div",{class:"iti__flag"},this.selectedFlag);if(this.options.separateDialCode){this.selectedDialCode=this._createEl("div",{class:"iti__selected-dial-code"},this.selectedFlag)}if(this.options.allowDropdown){this.selectedFlag.setAttribute("tabindex","0");this.dropdownArrow=this._createEl("div",{class:"iti__arrow"},this.selectedFlag);this.countryList=this._createEl("ul",{class:"iti__country-list iti__hide",id:"country-listbox","aria-expanded":"false",role:"listbox"});if(this.preferredCountries.length){this._appendListItems(this.preferredCountries,"iti__preferred");this._createEl("li",{class:"iti__divider",role:"separator","aria-disabled":"true"},this.countryList)}this._appendListItems(this.countries,"iti__standard");if(this.options.dropdownContainer){this.dropdown=this._createEl("div",{class:"iti iti--container"});this.dropdown.appendChild(this.countryList)}else{this.flagsContainer.appendChild(this.countryList)}}if(this.options.hiddenInput){var n=this.options.hiddenInput;var s=this.telInput.getAttribute("name");if(s){var r=s.lastIndexOf("[");if(r!==-1)n="".concat(s.substr(0,r),"[").concat(n,"]")}this.hiddenInput=this._createEl("input",{type:"hidden",name:n});i.appendChild(this.hiddenInput)}}},{key:"_appendListItems",value:function t(e,i){var n="";for(var s=0;s<e.length;s++){var r=e[s];n+="<li class='iti__country ".concat(i,"' tabIndex='-1' id='iti-item-").concat(r.iso2,"' role='option' data-dial-code='").concat(r.dialCode,"' data-country-code='").concat(r.iso2,"'>");n+="<div class='iti__flag-box'><div class='iti__flag iti__".concat(r.iso2,"'></div></div>");n+="<span class='iti__country-name'>".concat(r.name,"</span>");n+="<span class='iti__dial-code'>+".concat(r.dialCode,"</span>");n+="</li>"}this.countryList.insertAdjacentHTML("beforeend",n)}},{key:"_setInitialState",value:function t(){var e=this.telInput.value;var i=this._getDialCode(e);var n=this._isRegionlessNanp(e);var s=this.options,r=s.initialCountry,o=s.nationalMode,a=s.autoHideDialCode,l=s.separateDialCode;if(i&&!n){this._updateFlagFromNumber(e)}else if(r!=="auto"){if(r){this._setFlag(r.toLowerCase())}else{if(i&&n){this._setFlag("us")}else{this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2;if(!e){this._setFlag(this.defaultCountry)}}}if(!e&&!o&&!a&&!l){this.telInput.value="+".concat(this.selectedCountryData.dialCode)}}if(e)this._updateValFromNumber(e)}},{key:"_initListeners",value:function t(){this._initKeyListeners();if(this.options.autoHideDialCode)this._initBlurListeners();if(this.options.allowDropdown)this._initDropdownListeners();if(this.hiddenInput)this._initHiddenInputListener()}},{key:"_initHiddenInputListener",value:function t(){var e=this;this._handleHiddenInputSubmit=function(){e.hiddenInput.value=e.getNumber()};if(this.telInput.form)this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}},{key:"_getClosestLabel",value:function t(){var e=this.telInput;while(e&&e.tagName!=="LABEL"){e=e.parentNode}return e}},{key:"_initDropdownListeners",value:function t(){var i=this;this._handleLabelClick=function(t){if(i.countryList.classList.contains("iti__hide"))i.telInput.focus();else t.preventDefault()};var e=this._getClosestLabel();if(e)e.addEventListener("click",this._handleLabelClick);this._handleClickSelectedFlag=function(){if(i.countryList.classList.contains("iti__hide")&&!i.telInput.disabled&&!i.telInput.readOnly){i._showDropdown()}};this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag);this._handleFlagsContainerKeydown=function(t){var e=i.countryList.classList.contains("iti__hide");if(e&&["ArrowUp","ArrowDown"," ","Enter"].indexOf(t.key)!==-1){t.preventDefault();t.stopPropagation();i._showDropdown()}if(t.key==="Tab")i._closeDropdown()};this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function t(){var e=this;if(this.options.utilsScript&&!f.intlTelInputUtils){if(f.intlTelInputGlobals.windowLoaded){f.intlTelInputGlobals.loadUtils(this.options.utilsScript)}else{f.addEventListener("load",function(){f.intlTelInputGlobals.loadUtils(e.options.utilsScript)})}}else this.resolveUtilsScriptPromise();if(this.options.initialCountry==="auto")this._loadAutoCountry();else this.resolveAutoCountryPromise()}},{key:"_loadAutoCountry",value:function t(){if(f.intlTelInputGlobals.autoCountry){this.handleAutoCountry()}else if(!f.intlTelInputGlobals.startedLoadingAutoCountry){f.intlTelInputGlobals.startedLoadingAutoCountry=true;if(typeof this.options.geoIpLookup==="function"){this.options.geoIpLookup(function(t){f.intlTelInputGlobals.autoCountry=t.toLowerCase();setTimeout(function(){return u("handleAutoCountry")})},function(){return u("rejectAutoCountryPromise")})}}}},{key:"_initKeyListeners",value:function t(){var e=this;this._handleKeyupEvent=function(){if(e._updateFlagFromNumber(e.telInput.value)){e._triggerCountryChange()}};this.telInput.addEventListener("keyup",this._handleKeyupEvent);this._handleClipboardEvent=function(){setTimeout(e._handleKeyupEvent)};this.telInput.addEventListener("cut",this._handleClipboardEvent);this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function t(e){var i=this.telInput.getAttribute("maxlength");return i&&e.length>i?e.substr(0,i):e}},{key:"_initBlurListeners",value:function t(){var e=this;this._handleSubmitOrBlurEvent=function(){e._removeEmptyDialCode()};if(this.telInput.form)this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent);this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function t(){if(this.telInput.value.charAt(0)==="
1+"){var e=this._getNumeric(this.telInput.value);if(!e||this.selectedCountryData.dialCode===e){this.telInput.value=""}}}},{key:"_getNumeric",value:function t(e){return e.replace(/\D/g,"")}},{key:"_trigger",value:function t(e){var i=m.createEvent("Event");i.initEvent(e,true,true);this.telInput.dispatchEvent(i)}},{key:"_showDropdown",value:function t(){this.countryList.classList.remove("iti__hide");this.countryList.setAttribute("aria-expanded","true");this._setDropdownPosition();if(this.activeItem){this._highlightListItem(this.activeItem,false);this._scrollTo(this.activeItem,true)}this._bindDropdownListeners();this.dropdownArrow.classList.add("iti__arrow--up");this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function t(e,i,n){if(n&&!e.classList.contains(i))e.classList.add(i);else if(!n&&e.classList.contains(i))e.classList.remove(i)}},{key:"_setDropdownPosition",value:function t(){var e=this;if(this.options.dropdownContainer){this.options.dropdownContainer.appendChild(this.dropdown)}if(!this.isMobile){var i=this.telInput.getBoundingClientRect();var n=f.pageYOffset||m.documentElement.scrollTop;var s=i.top+n;var r=this.countryList.offsetHeight;
1var o=s+this.telInput.offsetHeight+r<n+f.innerHeight;var a=s-r>n;this._toggleClass(this.countryList,"iti__country-list--dropup",!o&&a);if(this.options.dropdownContainer){var l=!o&&a?0:this.telInput.offsetHeight;this.dropdown.style.top="".concat(s+l,"px");this.dropdown.style.left="".concat(i.left+m.body.scrollLeft,"px");this._handleWindowScroll=function(){return e._closeDropdown()};f.addEventListener("scroll",this._handleWindowScroll)}}}},{key:"_getClosestListItem",value:function t(e){var i=e;while(i&&i!==this.countryList&&!i.classList.contains("iti__country")){i=i.parentNode}return i===this.countryList?null:i}},{key:"_bindDropdownListeners",value:function t(){var i=this;this._handleMouseoverCountryList=function(t){var e=i._getClosestListItem(t.target);if(e)i._highlightListItem(e,false)};this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList);this._handleClickCountryList=function(t){var e=i._getClosestListItem(t.target);if(e)i._selectListItem(e)};this.countryList.addEventListener("click",this._handleClickCountryList);var e=true;this._handleClickOffToClose=function(){if(!e)i._closeDropdown();e=false};m.documentElement.addEventListener("click",this._handleClickOffToClose);var n="";var s=null;this._handleKeydownOnDropdown=function(t){t.preventDefault();if(t.key==="ArrowUp"||t.key==="ArrowDown")i._handleUpDownKey(t.key);else if(t.key==="Enter")i._handleEnterKey();else if(t.key==="Escape")i._closeDropdown();else if(/^[a-zA-ZÀ-ÿ ]$/.test(t.key)){if(s)clearTimeout(s);n+=t.key.toLowerCase();i._searchForCountry(n);s=setTimeout(function(){n=""},1e3)}};m.addEventListener("keydown",this._handleKeydownOnDropdown)}},{key:"_handleUpDownKey",value:function t(e){var i=e==="ArrowUp"?this.highlightedItem.previousElementSibling:this.highlightedItem.nextElementSibling;if(i){if(i.classList.contains("iti__divider")){i=e==="ArrowUp"?i.previousElementSibling:i.nextElementSibling}this._highlightListItem(i,true)}}},{key:"_handleEnterKey",value:function t(){if(this.highlightedItem)this._selectListItem(this.highlightedItem)}},{key:"_searchForCountry",value:function t(e){for(var i=0;i<this.countries.length;i++){if(this._startsWith(this.countries[i].name,e)){var n=this.countryList.querySelector("#iti-item-".concat(this.countries[i].iso2));this._highlightListItem(n,false);this._scrollTo(n,true);break}}}},{key:"_startsWith",value:function t(e,i){return e.substr(0,i.length).toLowerCase()===i}},{key:"_updateValFromNumber",value:function t(e){var i=e;if(this.options.formatOnDisplay&&f.intlTelInputUtils&&this.selectedCountryData){var n=!this.options.separateDialCode&&(this.options.nationalMode||i.charAt(0)!=="+");var s=intlTelInputUtils.numberFormat,r=s.NATIONAL,o=s.INTERNATIONAL;var a=n?r:o;i=intlTelInputUtils.formatNumber(i,this.selectedCountryData.iso2,a)}i=this._beforeSetNumber(i);this.telInput.value=i}},{key:"_updateFlagFromNumber",value:function t(e){var i=e;var n=this.selectedCountryData.dialCode;var s=n==="1";if(i&&this.options.nationalMode&&s&&i.charAt(0)!=="+"){if(i.charAt(0)!=="1")i="1".concat(i);i="+".concat(i)}if(this.options.separateDialCode&&n&&i.charAt(0)!=="+"){i="+".concat(n).concat(i)}var r=this._getDialCode(i);var o=this._getNumeric(i);var a=null;if(r){var l=this.countryCodes[this._getNumeric(r)];var d=l.indexOf(this.selectedCountryData.iso2)!==-1&&o.length<=r.length-1;var c=n==="1"&&this._isRegionlessNanp(o);if(!c&&!d){for(var u=0;u<l.length;u++){if(l[u]){a=l[u];break}}}}else if(i.charAt(0)==="+"&&o.length){a=""}else if(!i||i==="+"){a=this.defaultCountry}if(a!==null){return this._setFlag(a)}return false}},{key:"_isRegionlessNanp",value:function t(e){var i=this._getNumeric(e);if(i.charAt(0)==="1"){var n=i.substr(1,3);return d.indexOf(n)!==-1}return false}},{key:"_highlightListItem",value:function t(e,i){var n=this.highlightedItem;if(n)n.classList.remove("iti__highlight");this.highlightedItem=e;this.highlightedItem.classList.add("iti__highlight");if(i)this.highlightedItem.focus()}},{key:"_getCountryData",value:function t(e,i,n){var s=i?o:this.countries;for(var r=0;r<s.length;r++){if(s[r].iso2===e){return s[r]}}if(n){return null}throw new Error("No country data for '".concat(e,"'"))}},{key:"_setFlag",value:function t(e){var i=this.selectedCountryData.iso2?this.selectedCountryData:{};this.selectedCountryData=e?this._getCountryData(e,false,false):{};if(this.selectedCountryData.iso2){this.defaultCountry=this.selectedCountryData.iso2}this.selectedFlagInner.setAttribute("class","iti__flag iti__".concat(e));var n=e?"".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode):"Unknown";this.selectedFlag.setAttribute("title",n);if(this.options.separateDialCode){var s=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"";this.selectedDialCode.innerHTML=s;var r=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth();this.telInput.style.paddingLeft="".concat(r+6,"px")}
1this._updatePlaceholder();if(this.options.allowDropdown){var o=this.activeItem;if(o){o.classList.remove("iti__active");o.setAttribute("aria-selected","false")}if(e){var a=this.countryList.querySelector("#iti-item-".concat(e));a.setAttribute("aria-selected","true");a.classList.add("iti__active");this.activeItem=a;this.countryList.setAttribute("aria-activedescendant",a.getAttribute("id"))}}return i.iso2!==e}},{key:"_getHiddenSelectedFlagWidth",value:function t(){var e=this.telInput.parentNode.cloneNode();e.style.visibility="hidden";m.body.appendChild(e);var i=this.selectedFlag.cloneNode(true);e.appendChild(i);var n=i.offsetWidth;e.remove();return n}},{key:"_updatePlaceholder",value:function t(){var e=this.options.autoPlaceholder==="aggressive"||!this.hadInitialPlaceholder&&this.options.autoPlaceholder==="polite";if(f.intlTelInputUtils&&e){var i=intlTelInputUtils.numberType[this.options.placeholderNumberType];var n=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,i):"";n=this._beforeSetNumber(n);if(typeof this.options.customPlaceholder==="function"){n=this.options.customPlaceholder(n,this.selectedCountryData)}this.telInput.setAttribute("placeholder",n)}}},{key:"_selectListItem",value:function t(e){var i=this._setFlag(e.getAttribute("data-country-code"));this._closeDropdown();this._updateDialCode(e.getAttribute("data-dial-code"),true);this.telInput.focus();var n=this.telInput.value.length;this.telInput.setSelectionRange(n,n);if(i){this._triggerCountryChange()}}},{key:"_closeDropdown",value:function t(){this.countryList.classList.add("iti__hide");this.countryList.setAttribute("aria-expanded","false");this.dropdownArrow.classList.remove("iti__arrow--up");m.removeEventListener("keydown",this._handleKeydownOnDropdown);m.documentElement.removeEventListener("click",this._handleClickOffToClose);this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList);this.countryList.removeEventListener("click",this._handleClickCountryList);if(this.options.dropdownContainer){if(!this.isMobile)f.removeEventListener("scroll",this._handleWindowScroll);if(this.dropdown.parentNode)this.dropdown.parentNode.removeChild(this.dropdown)}this._trigger("close:countrydropdown")}},{key:"_scrollTo",value:function t(e,i){var n=this.countryList;var s=f.pageYOffset||m.documentElement.scrollTop;var r=n.offsetHeight;var o=n.getBoundingClientRect().top+s;var a=o+r;var l=e.offsetHeight;var d=e.getBoundingClientRect().top+s;var c=d+l;var u=d-o+n.scrollTop;var h=r/2-l/2;if(d<o){if(i)u-=h;n.scrollTop=u}else if(c>a){if(i)u+=h;var p=r-l;n.scrollTop=u-p}}},{key:"_updateDialCode",value:function t(e,i){var n=this.telInput.value;var s="+".concat(e);var r;if(n.charAt(0)==="+"){var o=this._getDialCode(n);if(o){r=n.replace(o,s)}else{r=s}}else if(this.options.nationalMode||this.options.separateDialCode){return}else{if(n){r=s+n}else if(i||!this.options.autoHideDialCode){r=s}else{return}}this.telInput.value=r}},{key:"_getDialCode",value:function t(e){var i="";if(e.charAt(0)==="+"){var n="";for(var s=0;s<e.length;s++){var r=e.charAt(s);if(!isNaN(parseInt(r,10))){n+=r;if(this.countryCodes[n]){i=e.substr(0,s+1)}if(n.length===this.dialCodeMaxLen){break}}}}return i}},{key:"_getFullNumber",value:function t(){var e=this.telInput.value.trim();var i=this.selectedCountryData.dialCode;var n;var s=this._getNumeric(e);if(this.options.separateDialCode&&e.charAt(0)!=="+"&&i&&s){n="+".concat(i)}else{n=""}return n+e}},{key:"_beforeSetNumber",value:function t(e){var i=e;if(this.options.separateDialCode){var n=this._getDialCode(i);if(n){n="+".concat(this.selectedCountryData.dialCode);var s=i[n.length]===" "||i[n.length]==="-"?n.length+1:n.length;i=i.substr(s)}}return this._cap(i)}},{key:"_triggerCountryChange",value:function t(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function t(){if(this.options.initialCountry==="auto"){this.defaultCountry=f.intlTelInputGlobals.autoCountry;if(!this.telInput.value){this.setCountry(this.defaultCountry)}this.resolveAutoCountryPromise()}}},{key:"handleUtils",value:function t(){if(f.intlTelInputUtils){if(this.telInput.value){this._updateV
1alFromNumber(this.telInput.value)}this._updatePlaceholder()}this.resolveUtilsScriptPromise()}},{key:"destroy",value:function t(){var e=this.telInput.form;if(this.options.allowDropdown){this._closeDropdown();this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag);this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown);var i=this._getClosestLabel();if(i)i.removeEventListener("click",this._handleLabelClick)}if(this.hiddenInput&&e)e.removeEventListener("submit",this._handleHiddenInputSubmit);if(this.options.autoHideDialCode){if(e)e.removeEventListener("submit",this._handleSubmitOrBlurEvent);this.telInput.removeEventListener("blur",this._handleSubmitOrBlurEvent)}this.telInput.removeEventListener("keyup",this._handleKeyupEvent);this.telInput.removeEventListener("cut",this._handleClipboardEvent);this.telInput.removeEventListener("paste",this._handleClipboardEvent);this.telInput.removeAttribute("data-intl-tel-input-id");var n=this.telInput.parentNode;n.parentNode.insertBefore(this.telInput,n);n.parentNode.removeChild(n);delete f.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function t(){if(f.intlTelInputUtils){return intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2)}return""}},{key:"getNumber",value:function t(e){if(f.intlTelInputUtils){var i=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),i,e)}return""}},{key:"getNumberType",value:function t(){if(f.intlTelInputUtils){return intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2)}return-99}},{key:"getSelectedCountryData",value:function t(){return this.selectedCountryData}},{key:"getValidationError",value:function t(){if(f.intlTelInputUtils){var e=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),e)}return-99}},{key:"isValidNumber",value:function t(){var e=this._getFullNumber().trim();var i=this.options.nationalMode?this.selectedCountryData.iso2:"";return f.intlTelInputUtils?intlTelInputUtils.isValidNumber(e,i):null}},{key:"setCountry",value:function t(e){var i=e.toLowerCase();if(!this.selectedFlagInner.classList.contains("iti__".concat(i))){this._setFlag(i);this._updateDialCode(this.selectedCountryData.dialCode,false);this._triggerCountryChange()}}},{key:"setNumber",value:function t(e){var i=this._updateFlagFromNumber(e);this._updateValFromNumber(e);if(i){this._triggerCountryChange()}}},{key:"setPlaceholderNumberType",value:function t(e){this.options.placeholderNumberType=e;this._updatePlaceholder()}}]);return s}();f.intlTelInputGlobals.getCountryData=function(){return o};var h=function t(e,i,n){var s=m.createElement("script");s.onload=function(){u("handleUtils");if(i)i()};s.onerror=function(){u("rejectUtilsScriptPromise");if(n)n()};s.className="iti-load-utils";s.async=true;s.src=e;m.body.appendChild(s)};f.intlTelInputGlobals.loadUtils=function(i){if(!f.intlTelInputUtils&&!f.intlTelInputGlobals.startedLoadingUtilsScript){f.intlTelInputGlobals.startedLoadingUtilsScript=true;if(typeof Promise!=="undefined"){return new Promise(function(t,e){return h(i,t,e)})}h(i)}return null};f.intlTelInputGlobals.defaults=l;f.intlTelInputGlobals.version="16.0.0";return function(t,e){var i=new s(t,e);i._init();t.setAttribute("data-intl-tel-input-id",i.id);f.intlTelInputGlobals.instances[i.id]=i;return i}}()}(window,document);"object"==typeof module&&module.exports?module.exports=t:window.intlTelInput=t}(),function(e){"undefined"!=typeof jQuery&&jQuery||"function"!=typeof define||!define.amd?"undefined"!=typeof jQuery&&jQuery||"object"!=typeof exports?e(jQuery,document,window,navigator):e(require("jquery"),document,window,navigator):define(["jquery"],function(t){return e(t,document,window,navigator)})}(function(o,a,l,t,d){"use strict";var e,i=0,n=(e=t.userAgent,t=/msie\s\d+/i,0<e.search(t)&&t.exec(e).toString().split(" ")[1]<9&&(o("html").addClass("lt-ie9"),!0));Function.prototype.bind||(Function.prototype.bind=function(i){var n=this,s=[].slice;if("function"!=typeof n)throw new TypeError;
1var r=s.call(arguments,1),o=function(){if(this instanceof o){var t=function(){};t.prototype=n.prototype;var e=new t,t=n.apply(e,r.concat(s.call(arguments)));return Object(t)===t?t:e}return n.apply(i,r.concat(s.call(arguments)))};return o}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){var i;if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),s=n.length>>>0;if(0==s)return-1;e=+e||0;if(Math.abs(e)===1/0&&(e=0),s<=e)return-1;for(i=Math.max(0<=e?e:s-Math.abs(e),0);i<s;){if(i in n&&n[i]===t)return i;i++}return-1});function s(t,e,i){this.VERSION="2.3.1",this.input=t,this.plugin_count=i,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,e=e||{},this.$cache={win:o(l),body:o(a.body),input:o(t),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var n,s,r=this.$cache.input,i=r.prop("value"),t={skin:"flat",type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:" — ",input_values_separator:";",disable:!1,block:!1,extra_classes:"",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null};for(s in"INPUT"!==r[0].nodeName&&console&&console.warn&&console.warn("Base element should be <input>!",r[0]),(n={skin:r.data("skin"),type:r.data("type"),min:r.data("min"),max:r.data("max"),from:r.data("from"),to:r.data("to"),step:r.data("step"),min_interval:r.data("minInterval"),max_interval:r.data("maxInterval"),drag_interval:r.data("dragInterval"),values:r.data("values"),from_fixed:r.data("fromFixed"),from_min:r.data("fromMin"),from_max:r.data("fromMax"),from_shadow:r.data("fromShadow"),to_fixed:r.data("toFixed"),to_min:r.data("toMin"),to_max:r.data("toMax"),to_shadow:r.data("toShadow"),prettify_enabled:r.data("prettifyEnabled"),prettify_separator:r.data("prettifySeparator"),force_edges:r.data("forceEdges"),keyboard:r.data("keyboard"),grid:r.data("grid"),grid_margin:r.data("gridMargin"),grid_num:r.data("gridNum"),grid_snap:r.data("gridSnap"),hide_min_max:r.data("hideMinMax"),hide_from_to:r.data("hideFromTo"),prefix:r.data("prefix"),postfix:r.data("postfix"),max_postfix:r.data("maxPostfix"),decorate_both:r.data("decorateBoth"),values_separator:r.data("valuesSeparator"),input_values_separator:r.data("inputValuesSeparator"),disable:r.data("disable"),block:r.data("block"),extra_classes:r.data("extraClasses")}).values=n.values&&n.values.split(","),n)n.hasOwnProperty(s)&&(n[s]!==d&&""!==n[s]||delete n[s]);i!==d&&""!==i&&((i=i.split(n.input_values_separator||e.input_values_separator||";"))[0]&&i[0]==+i[0]&&(i[0]=+i[0]),i[1]&&i[1]==+i[1]&&(i[1]=+i[1]),e&&e.values&&e.values.length?(t.from=i[0]&&e.values.indexOf(i[0]),t.to=i[1]&&e.values.indexOf(i[1])):(t.from=i[0]&&+i[0],t.to=i[1]&&+i[1])),o.extend(t,e),o.extend(t,n),this.options=t,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()}s.prototype={init:function(t){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),t?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStar
vendor: 2,601 bytes, line 1
1t()),this.updateScene()},append:function(){var t='<span class="irs irs--'+this.options.skin+" js-irs-"+this.plugin_count+" "+this.options.extra_classes+'"></span>';this.$cache.input.before(t),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class="irs"><span class="irs-line" tabindex="0"></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span>'),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append('<span class="irs-bar irs-bar--single"></span><span class="irs-shadow shadow-single"></span><span class="irs-handle single"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append('<span class="irs-bar"></span><span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-handle from"><i></i><i></i><i></i></span><span class="irs-handle to"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var t=this.options.min,
vendor: 5,016 bytes, line 1
1e=this.options.max,i=this.options.from,n=this.options.to;t<i&&n===e?this.$cache.s_from.addClass("type_last"):n<e&&this.$cache.s_to.addClass("type_last")},changeLevel:function(t){switch(t){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass("state_hover");break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last")}},appendDisableMask:function(){this.$cache.cont.append('<span class="irs-disable-mask"></span>'),this.$cache.cont.addClass("irs-disabled")},removeDisableMask:function(){this.$cache.cont.remove(".irs-disable-mask"),this.$cache.cont.removeClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),n&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("focus.irs_"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("key
1down.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),n&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(t){var e,i;this.target||(i=(e="single"===this.options.type?this.$cache.single:this.$cache.from).offset().left,i+=e.width()/2-1,this.pointerClick("single",{preventDefault:function(){},pageX:i}))},pointerMove:function(t){this.dragging&&(t=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX,this.coords.x_pointer=t-this.coords.x_gap,this.calc())},pointerUp:function(t){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,n&&o("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(o.contains(this.$cache.cont[0],t.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(t,e){e.preventDefault();var i=e.pageX||e.originalEvent.touches&&e.originalEvent.touches[0].pageX;2!==e.button&&("both"===t&&this.setTempMinInterval(),t=t||(this.target||"from"),this.current_plugin=this.plugin_count,this.target=t,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=i-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(t),n&&o("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(t,e){e.preventDefault();var i=e.pageX||e.originalEvent.touches&&e.originalEvent.touches[0].pageX;2!==e.button&&(this.current_plugin=this.plugin_count,this.target=t,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(i-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(t,e){if(!(this.current_plugin!==this.plugin_count||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){switch(e.which){case 83:case 65:case 40:case 37:e.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:e.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(t){var e=this.coords.p_pointer,i=(this.options.max-this.options.min)/100,i=this.options.step/i;t?e+=i:e-=i,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*e),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");var t,e;this.options.values.length?(this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]))):(t=this._prettify(this.options.min),e=this._prettify(this.options.max),this.result.min_pretty=t,this.result.max_pretty=e,this.$cache.min.html(this.decorate(t,this.options.min)),this.$cache.max.html(this.decorate(e,this.options.max))),this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var t=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=t},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(t){if(this.options&&(this.calc_count++,10!==this.calc_count&&!t||(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();t=this.getHandleX();switch("both"===this.target&&(this.coords.p_gap=0,t=this.getHandleX()),"click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,t=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(t)),this.target){case"base":var e=(this.options.max-this.options.min)/100,i=(this.result.from-this.options.min)/e,n=(this.result.to-this.options.min)/e;this.coords.p_single_real=this.toFixed(i),this.coords.p_from_real=this.toFixed(i),this.coords.p_to_real=this.toFixed(n),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(t),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(t),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(t),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;t=this.toFixed(t+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(t)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(t)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;e=this.convertToRealPercent(t),i=this.result.from_percent,n=this.result.to_percent-i,t=n/2,i=e-t,t=e+t;i<0&&(t=(i=0)+n),100<t&&(i=(t=100)-n),this.coords.p_from_real=this.calcWithStep(i),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(t),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}}
vendor: 17,902 bytes, line 1
1,calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(t){return t/(100-this.coords.p_handle)*100},convertToFakePercent:function(t){return t/100*(100-this.coords.p_handle)},getHandleX:function(){var t=100-this.coords.p_handle,e=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return e<0?e=0:t<e&&(e=t),e},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(t){return"single"===this.options.type?"single":this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2<=t?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left)),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),this.coords.w_rs===this.coords.w_rs_old&&!this.force_redraw||(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?(this.$cache.bar[0].style.left=0,this.$cache.bar[0].style.width=this.coords.p_bar_w+this.coords.p_bar_x+"%",this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%"):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",this.old_from===this.result.from&&!this.force_redraw||(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),this.old_to===this.result.to&&!this.force_redraw||(this.$cache.to[0].style.left=this.labels.p_to_left+"%")),this.$cache.single[0].style.left=this.labels.p_single_left+"%",this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger("change"),this.$cache.input.trigger("input")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){var t,e,i,n,s,r;this.options&&(t=this.options.values.length,e=this.options.p_values,this.options.hide_from_to||("single"===this.options.type?(n=t?this.decorate(e[this.result.from]):(r=this._prettify(this.result.from),this.decorate(r,this.result.from)),this.$cache.single.html(n),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"):(r=t?(this.options.decorate_both?(n=this.decorate(e[this.result.from]),n+=this.options.values_separator,n+=this.decorate(e[this.result.to])):n=this.decorate(e[this.result.from]+this.options.values_separator+e[this.result.to]),s=this.decorate(e[this.result.from]),this.decorate(e[this.result.to])):(r=this._prettify(this.result.from),i=this._prettify(this.result.to),this.options.decorate_both?(n=this.decorate(r,this.result.from),n+=this.options.values_separator,n+=this.decorate(i,this.result.to)):n=this.decorate(r+this.options.values_separator+i,this.result.to),s=this.decorate(r,this.result.from),this.decorate(i,this.result.to)),this.$cache.single.html(n),this.$cache.from.html(s),this.$cache.to.html(r),this.calcLabels(),i=Math.min(this.labels.p_single_left,this.labels.p_from_left),n=this.labels.p_single_left+this.labels.p_single_fake,s=this.labels.p_to_left+this.labels.p_to_fake,r=Math.max(n,s),this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",r=this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",s):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",Math.max(n,s))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),i<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",r>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible")))},drawShadow:function(){var t,e,i=this.options,n=this.$cache,s="number"==typeof i.from_min&&!isNaN(i.from_min),r="number"==typeof i.from_max&&!isNaN(i.from_max),o="number"==typeof i.to_min&&!isNaN(i.to_min),a="number"==typeof i.to_max&&!isNaN(i.to_max);"single"===i.type?i.from_shadow&&(s||r)?(t=this.convertToPercent(s?i.from_min:i.min),e=this.convertToPercent(r?i.from_max:i.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,n.shad_single[0].style.display="block",n.shad_single[0].style.left=t+"%",n.shad_single[0].style.width=e+"%"):n.shad_single[0].style.display="none":(i.from_shadow&&(s||r)?(t=this.convertToPercent(s?i.from_min:i.min),e=this.convertToPercent(r?i.from_max:i.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,n.shad_from[0].style.display="block",n.shad_from[0].style.left=t+"%",n.shad_from[0].style.width=e+"%"):n.shad_from[0].style.display="none",i.to_shadow&&(o||a)?(o=this.convertToPercent(o?i.to_min:i.min),i=this.convertToPercent(a?i.to_max:i.max)-o,o=this.toFixed(o-this.coords.p_handle/100*o),i=this.toFixed(i-this.coords.p_handle/100*i),o+=this.coords.p_handle/2,n.shad_to[0].style.display="block",n.shad_to[0].style.left=o+"%",n.shad_to[0].style.width=i+"%"):n.shad_to[0].style.display="none")},writeToInput:function(){"single"===this.options.type?(this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&"function"==typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&"function"==typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&"function"==typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&"function"==typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input"),this.has_tab_index?this.$cache.input.prop("tabindex",-1):this.$cache.input.removeProp("tabindex"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(t,e){var i=this.options.max-this.options.min,n=i/100;return i?(n=(e?t:t-this.options.min)/n,this.toFixed(n)):(this.no_diapason=!0,0)},convertToValue:function(t){var e,i,n=this.options.min,s=this.options.max,r=n.toString().split(".")[1],o=s.toString().split(".")[1],a=0,l=0;if(0===t)return this.options.min;if(100===t)return this.options.max;r&&(a=e=r.length),o&&(a=i=o.length),e&&i&&(a=i<=e?e:i),n<0&&(n=+(n+(l=Math.abs(n))).toFixed(a),s=+(s+l).toFixed(a));t=(s-n)/100*t+n,n=this.options.step.toString().split(".")[1],t=n?+t.toFixed(n.length):(t/=this.options.step,+(t*=this.options.step).toFixed(0));return l&&(t-=l),(t=n?+t.toFixed(n.length):this.toFixed(t))<this.options.min?t=this.options.min:t>this.options.max&&(t=this.options.max),t},calcWithStep:function(t){var e=Math.round(t/this.coords.p_step)*this.coords.p_step;return 100<e&&(e=100),100===t&&(e=100),this.toFixed(e)},checkMinInterval:function(t,e,i){var n,s=this.options;return s.min_interval?(n=this.convertToValue(t),e=this.convertToValue(e),"from"===i?e-n<s.min_interval&&(n=e-s.min_interval):n-e<s.min_interval&&(n=e+s.min_interval),this.convertToPercent(n)):t},checkMaxInterval:function(t,e,i){var n,s=this.options;return s.max_interval?(n=this.convertToValue(t),e=this.convertToValue(e),"from"===i?e-n>s.max_interval&&(n=e-s.max_interval):n-e>s.max_interval&&(n=e+s.max_interval),this.convertToPercent(n)):t},checkDiapason:function(t,e,i){var n=this.convertToValue(t),t=this.options;return"number"!=typeof e&&(e=t.min),"number"!=typeof i&&(i=t.max),n<e&&(n=e),i<n&&(n=i),this.convertToPercent(n)},toFixed:function(t){return+(t=t.toFixed(20))},_prettify:function(t){return this.options.prettify_enabled?(this.options.prettify&&"function"==typeof this.options.prettify?this.options:this).prettify(t):t},prettify:function(t){return t.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(t,e){return this.options.force_edges&&(t<0?t=0:100-e<t&&(t=100-e)),this.toFixed(t)},validate:function(){var t,e,i=this.options,n=this.result,s=i.values,r=s.length;if("string"==typeof i.min&&(i.min=+i.min),"string"==typeof i.max&&(i.max=+i.max),"string"==typeof i.from&&(i.from=+i.from),"string"==typeof i.to&&(i.to=+i.to),"string"==typeof i.step&&(i.step=+i.step),"string"==typeof i.from_min&&(i.from_min=+i.from_min),"string"==typeof i.from_max&&(i.from_max=+i.from_max),"string"==typeof i.to_min&&(i.to_min=+i.to_min),"string"==typeof i.to_max&&(i.to_max=+i.to_max),"string"==typeof i.grid_num&&(i.grid_num=+i.grid_num),i.max<i.min&&(i.max=i.min),r)for(i.p_values=[],i.min=0,i.max=r-1,i.step=1,i.grid_num=i.max,i.grid_snap=!0,e=0;e<r;e++)t=+s[e],t=isNaN(t)?s[e]:(s[e]=t,this._prettify(t)),i.p_values.push(t);"number"==typeof i.from&&!isNaN(i.from)||(i.from=i.min),"number"==typeof i.to&&!isNaN(i.to)||(i.to=i.max),"single"===i.type?(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max)):(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max),i.to<i.min&&(i.to=i.min),i.to>i.max&&(i.to=i.max),this.update_check.from&&(this.update_check.from!==i.from&&i.from>i.to&&(i.from=i.to),this.update_check.to!==i.to&&i.to<i.from&&(i.to=i.from)),i.from>i.to&&(i.from=i.to),i.to<i.from&&(i.to=i.from)),("number"!=typeof i.step||isNaN(i.step)||!i.step||i.step<0)&&(i.step=1),"number"==typeof i.from_min&&i.from<i.from_min&&(i.from=i.from_min),"number"==typeof i.from_max&&i.from>i.from_max&&(i.from=i.from_max),"number"==typeof i.to_min&&i.to<i.to_min&&(i.to=i.to_min),"number"==typeof i.to_max&&i.from>i.to_max&&(i.to=i.to_max),n&&(n.min!==i.min&&(n.min=i.min),n.max!==i.max&&(n.max=i.max),(n.from<n.min||n.from>n.max)&&(n.from=i.from),(n.to<n.min||n.to>n.max)&&(n.to=i.to)),("number"!=typeof i.min_interval||isNaN(i.min_interval)||!i.min_interval||i.min_interval<0)&&(i.min_interval=0),("number"!=typeof i.max_interval||isNaN(i.max_interval)||!i.max_interval||i.max_interval<0)&&(i.max_interval=0),i.min_interval&&i.min_interval>i.max-i.min&&(i.min_interval=i.max-i.min),i.max_interval&&i.max_interval>i.max-i.min&&(i.max_interval=i.max-i.min)},decorate:function(t,e){var i="",n=this.options;return n.prefix&&(i+=n.prefix),i+=t,n.max_postfix&&(n.values.length&&t===n.p_values[n.max]||e===n.max)&&(i+=n.max_postfix,n.postfix&&(i+=" ")),n.postfix&&(i+=n.postfix),i},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var t,e,i,n,s,r,o=this.options,a=o.max-o.min,l=o.grid_num,d=0,c=4,u="";for(this.calcGridMargin(),o.grid_snap&&(l=a/o.step),50<l&&(l=50),i=this.toFixed(100/l),4<l&&(c=3),7<l&&(c=2),14<l&&(c=1),28<l&&(c=0),t=0;t<l+1;t++){for(n=c,100<(d=this.toFixed(i*t))&&(d=100),s=((this.coords.big[t]=d)-i*(t-1))/(n+1),e=1;e<=n&&0!==d;e++)u+='<span class="irs-grid-pol small" style="left: '+this.toFixed(d-s*e)+'%"></span>';u+='<span class="irs-grid-pol" style="left: '+d+'%"></span>',r=this.convertToValue(d),u+='<span class="irs-grid-text js-grid-text-'+t+'" style="left: '+d+'%">'+(r=o.values.length?o.p_values[r]:this._prettify(r))+"</span>"}this.coords.big_num=Math.ceil(l+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(u),this.cacheGridLabels()}},cacheGridLabels:function(){for(var t,e=this.coords.big_num,i=0;i<e;i++)t=this.$cache.grid.find(".js-grid-text-"+i),this.$cache.grid_labels.push(t);this.calcGridLabels()},calcGridLabels:function(){for(var t,e=[],i=[],n=this.coords.big_num,s=0;s<n;s++)this.coords.big_w[s]=this.$cache.grid_labels[s].outerWidth(!1),this.coords.big_p[s]=this.toFixed(this.coords.big_w[s]/this.coords.w_rs*100),this.coords.big_x[s]=this.toFixed(this.coords.big_p[s]/2),e[s]=this.toFixed(this.coords.big[s]-this.coords.big_x[s]),i[s]=this.toFixed(e[s]+this.coords.big_p[s]);for(this.options.force_edges&&(e[0]<-this.coords.grid_gap&&(e[0]=-this.coords.grid_gap,i[0]=this.toFixed(e[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),i[n-1]>100+this.coords.grid_gap&&(i[n-1]=100+this.coords.grid_gap,e[n-1]=this.toFixed(i[n-1]-this.coords.big_p[n-1]),this.coords.big_x[n-1]=this.toFixed(this.coords.big_p[n-1]-this.coords.grid_gap))),this.calcGridCollision(2,e,i),this.calcGridCollision(4,e,i),s=0;s<n;s++)t=this.$cache.grid_labels[s][0],this.coords.big_x[s]!==Number.POSITIVE_INFINITY&&(t.style.marginLeft=-this.coords.big_x[s]+"%")},calcGridCollision:function(t,e,i){for(var n,s,r=this.coords.big_num,o=0;o<r&&!(r<=(n=o+t/2));o+=t)s=this.$cache.grid_labels[n][0],i[o]<=e[n]?s.style.visibility="visible":s.style.visibility="hidden"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[
vendor: 15,081 bytes, line 1
10].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(t){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=o.extend(this.options,t),this.validate(),this.updateResult(t),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),o.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},o.fn.ionRangeSlider=function(t){return this.each(function(){o.data(this,"ionRangeSlider")||o.data(this,"ionRangeSlider",new s(this,t,i++))})},function(){for(var r=0,t=["ms","moz","webkit","o"],e=0;e<t.length&&!l.requestAnimationFrame;++e)l.requestAnimationFrame=l[t[e]+"RequestAnimationFrame"],l.cancelAnimationFrame=l[t[e]+"CancelAnimationFrame"]||l[t[e]+"CancelRequestAnimationFrame"];l.requestAnimationFrame||(l.requestAnimationFrame=function(t,e){var i=(new Date).getTime(),n=Math.max(0,16-(i-r)),s=l.setTimeout(function(){t(i+n)},n);return r=i+n,s}),l.cancelAnimationFrame||(l.cancelAnimationFrame=function(t){clearTimeout(t)})}()}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(T){T.ui=T.ui||{};T.ui.version="1.14.1";var s,i=0,a=Array.prototype.slice;T.cleanData=(s=T.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)try{(e=T._data(i,"events"))&&e.remove&&T(i).triggerHandler("remove")}catch(t){}s(t)}),T.widget=function(t,i,e){var n,s,r,o={},a=t.split(".")[0],l=a+"-"+(t=t.split(".")[1]);return e||(e=i,i=T.Widget),T.isArray(e)&&(e=T.extend.apply(null,[{}].concat(e))),T.expr[":"][l.toLowerCase()]=function(t){return!!T.data(t,l)},T[a]=T[a]||{},n=T[a][t],s=T[a][t]=function(t,e){if(!this._createWidget)return new s(t,e);arguments.length&&this._createWidget(t,e)},T.extend(s,n,{version:e.version,_proto:T.extend({},e),_childConstructors:[]}),(r=new i).options=T.widget.extend({},r.options),T.each(e,function(e,n){function s(){return i.prototype[e].apply(this,arguments)}function r(t){return i.prototype[e].apply(this,t)}T.isFunction(n)?o[e]=function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=r,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}:o[e]=n}),s.prototype=T.widget.extend(r,{widgetEventPrefix:n&&r.widgetEventPrefix||t},o,{constructor:s,namespace:a,widgetName:t,widgetFullName:l}),n?(T.each(n._childConstructors,function(t,e){var i=e.prototype;T.widget(i.namespace+"."+i.widgetName,s,e._proto)}),delete n._childConstructors):i._childConstructors.push(s),T.widget.bridge(t,s),s},T.widget.extend=function(t){for(var e,i,n=a.call(arguments,1),s=0,r=n.length;s<r;s++)for(e in n[s])i=n[s][e],n[s].hasOwnProperty(e)&&void 0!==i&&(T.isPlainObject(i)?t[e]=T.isPlainObject(t[e])?T.widget.extend({},t[e],i):T.widget.extend({},i):t[e]=i);return t},T.widget.bridge=function(r,e){var o=e.prototype.widgetFullName||r;T.fn[r]=function(i){var t="string"==typeof i,n=a.call(arguments,1),s=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=T.data(this,o);return"instance"===i?(s=e,!1):e?T.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,n))!==e&&void 0!==t?(s=t&&t.jquery?s.pushStack(t.get()):t,!1):void 0:T.error("no such method '"+i+"' for "+r+" widget instance"):T.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+i+"'")}):s=void 0:(n.length&&(i=T.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=T.data(this,o);t?(t.option(i||{}),t._init&&t._init()):T.data(this,o,new e(i,this))})),s}},T.Widget=function(){},T.Widget._childConstructors=[],T.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=T(e||this.defaultElement||this)[0],this.element=T(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=T(),this.hoverable=T(),this.focusable=T(),this.classesElementLookup={},e!==this&&(T.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=T(e.style?e.ownerDocument:e.document||e),this.window=T(this.document[0].defaultView||this.document[0].parentWindow)),this.options=T.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:T.noop,_create:T.noop,_init:T.noop,destroy:function(){var i=this;this._destroy(),T.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:T.noop,widget:function(){return this.element},option:function(t,e){var i,n,s,r=t;if(0===arguments.length)return T.widget.extend({},this.options);if("string"==typeof t)if(r={},t=(i=t.split(".")).shift(),i.length){for(n=r[t]=T.widget.extend({},this.options[t]),s=0;s<i.length-1;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];r[t]=e}return this._setOptions(r),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=T(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(s){var r=[],o=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=o.classesElementLookup[t[n]]||T(),i=s.add?T(T.unique(i.get().concat(s.element.get()))):T(i.not(s.element).get()),o.classesElementLookup[t[n]]=i,r.push(t[n]),e&&s.classes[t[n]]&&r.push(s.classes[t[n]])}return s=T.extend({element:this.element,classes:this.options.classes||{}},s),this._on(s.element,{remove:"_untrackClassesElement"}),s.keys&&t(s.keys.match(/\S+/g)||[],!0),s.extra&&t(s.extra.match(/\S+/g)||[]),r.join(" ")},_untrackClassesElement:function(i){var n=this;T.each(n.classesElementLookup,function(t,e){-1!==T.inArray(i.target,e)&&(n.classesElementLookup[t]=T(e.not(i.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){n="boolean"==typeof n?n:i;var s="string"==typeof t||null===t,t={extra:s?e:i,keys:s?t:e,element:s?this.element:t,add:n};return t.element.toggleClass(this._classes(t),n),this},_on:function(s,r,t){var o,a=this;"boolean"!=typeof s&&(t=r,r=s,s=!1),t?(r=o=T(r),this.bindings=this.bindings.add(r)):(t=r,r=this.element,o=this.widget()),T.each(t,function(t,e){function i(){if(s||!0!==a.options.disabled&&!T(this).hasClass("ui-state-disabled"))return("string"==typeof e?a[e]:e).apply(a,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||T.guid++);var n=t.match(/^([\w:-]*)\s*(.*)$/),t=n[1]+a.eventNamespace,n=n[2];n?o.on(t,n,i):r.on(t,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e).off(e),this.bindings=T(this.bindings.not(t).get()),this.focusable=T(this.focusable.not(t).get()),this.hoverable=T(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(T(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(T(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(T(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(T(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,s,r=this.options[t];if(i=i||{},(e=T.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],s=e.originalEvent)for(n in s)n in e||(e[n]=s[n]);return this.element.trigger(e,i),!(T.isFunction(r)&&!1===r.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},T.each({show:"fadeIn",hide:"fadeOut"},function(r,o){T.Widget.prototype["_"+r]=function(e,t,i){var n;"string"==typeof t&&(t={effect:t});var s=t?!0!==t&&"number"!=typeof t&&t.effect||o:r;"number"==typeof(t=t||{})&&(t={duration:t}),n=!T.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&T.effects&&T.effects.effect[s]?e[r](t):s!==r&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){T(this)[r](),i&&i.call(e[0]),t()})}});var n,C,S,r,o,l,d,c,x;T.widget;function k(t,e,i){return[parseFloat(t[0])*(c.test(t[0])?e/100:1),parseFloat(t[1])*(c.test(t[1])?i/100:1)]}function $(t,e){return parseInt(T.css(t,e),10)||0}C=Math.max,S=Math.abs,r=/left|center|right/,o=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,c=/%$/,x=T.fn.position,T.position={scrollbarWidth:function(){if(void 0!==n)return n;var t,e=T("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),i=e.children()[0];return T("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?T.position.scrollbarWidth():0,height:e?T.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=T(t||window),i=T.isWindow(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?T(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},T.fn.position=function(u){if(!u||!u.of)return x.apply(this,arguments);u=T.extend({},u);var h,p,f,m,g,t,v=T(u.of),y=T.position.getWithinInfo(u.within),_=T.position.getScrollInfo(y),b=(u.collision||"flip").split(" "),w={},e=9===(t=(e=v)[0]).nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:T.isWindow(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()};return v[0].preventDefault&&(u.at="left top"),p=e.width,f=e.height,m=e.offset,g=T.extend({},m),T.each(["my","at"],function(){var t,e,i=(u[this]||"").split(" ");1===i.length&&(i=r.test(i[0])?i.concat(["center"]):o.test(i[0])?["center"].concat(i):["center","center"]),i[0]=r.test(i[0])?i[0]:"center",i[1]=o.test(i[1])?i[1]:"center",t=l.exec(i[0]),e=l.exec(i[1]),w[this]=[t?t[0]:0,e?e[0]:0],u[this]=[d.exec(i[0])[0],d.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===u.at[0]?g.left+=p:"center"===u.at[0]&&(g.left+=p/2),"bottom"===u.at[1]?g.top+=f:"center"===u.at[1]&&(g.top+=f/2),h=k(w.at,p,f),g.left+=h[0],g.top+=h[1],this.each(function(){var i,t,o=T(this),a=o.outerWidth(),l=o.outerHeight(),e=$(this,"marginLeft"),n=$(this,"marginTop"),s=a+e+$(this,"marginRight")+_.width,r=l+n+$(this,"marginBottom")+_.height,d=T.extend({},g),c=k(w.my,o.outerWidth(),o.outerHeight());"right"===u.my[0]?d.left-=a:"center"===u.my[0]&&(d.left-=a/2),"bottom"===u.my[1]?d.top-=l:"center"===u.my[1]&&(d.top-=l/2),d.left+=c[0],d.top+=c[1],i={marginLeft:e,marginTop:n},T.each(["left","top"],function(t,e){T.ui.position[b[t]]&&T.ui.position[b[t]][e](d,{targetWidth:p,targetHeight:f,elemWidth:a,elemHeight:l,collisionPosition:i,collisionWidth:s,collisionHeight:r,offset:[h[0]+c[0],h[1]+c[1]],my:u.my,at:u.at,within:y,elem:o})}),u.using&&(t=function(t){var e=m.left-d.left,i=e+p-a,n=m.top-d.top,s=n+f-l,r={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:o,left:d.left,top:d.top,width:a,height:l},horizontal:i<0?"left":0<e?"right":"center",vertical:s<0?"top":0<n?"bottom":"middle"};p<a&&S(e+i)<p&&(r.horizontal="center"),f<l&&S(n+s)<f&&(r.vertical="middle"),C(S(e),S(i))>C(S(n),S(s))?r.important="horizontal":r.important="vertical",u.using.call(this,t,r)}),o.offset(T.extend(d,{using:t}))})},T.ui.position={fit:{left:function(t,e){var i=e.within,n=i.isWindow?i.scrollLeft:i.offset.left,s=i.width,r=t.left-e.collisionPosition.marginLeft,o=n-r,a=r+e.collisionWidth-s-n;e.collisionWidth>s?0<o&&a<=0?(i=t.left+o+e.collisionWidth-s-n,t.left+=o-i):t.left=!(0<a&&o<=0)&&a<o?n+s-e.collisionWidth:n:0<o?t.left+=o:0<a?t.left-=a:t.left=C(t.left-r,t.left)},top:function(t,e){var i=e.within,n=i.isWindow?i.scrollTop:i.offset.top,s=e.within.height,r=t.top-e.collisionPosition.marginTop,o=n-r,a=r+e.collisionHeight-s-n;e.collisionHeight>s?0<o&&a<=0?(i=t.top+o+e.collisionHeight-s-n,t.top+=o-i):t.top=!(0<a&&o<=0)&&a<o?n+s-e.collisionHeight:n:0<o?t.top+=o:0<a?t.top-=a:t.top=C(t.top-r,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,s=i.width,r=i.isWindow?i.scrollLeft:i.offset.left,o=t.left-e.collisionPosition.marginLeft,a=o-r,l=o+e.collisionWidth-s-r,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,i="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,o=-2*e.offset[0];a<0?((n=t.left+d+i+o+e.collisionWidth-s-n)<0||n<S(a))&&(t.left+=d+i+o):0<l&&(0<(r=t.left-e.collisionPosition.marginLeft+d+i+o-r)||S(r)<l)&&(t.left+=d+i+o)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,s=i.height,r=i.isWindow?i.scrollTop:i.offset.top,o=t.top-e.collisionPosition.marginTop,a=o-r,l=o+e.collisionHeight-s-r,d="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,i="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,o=-2*e.offset[1];a<0?((n=t.top+d+i+o+e.collisionHeight-s-n)<0||n<S(a))&&(t.top+=d+i+o):0<l&&(0<(r=t.top-e.collisionPosition.marginTop+d+i+o-r)||S(r)<l)&&(t.top+=d+i+o)}},flipfit:{left:function(){T.ui.position.flip.left.apply(this,arguments),T.ui.position.fit.left.apply(this,arguments)},top:function(){T.ui.position.flip.top.apply(this,arguments),T.ui.position.fit.top.apply(this,arguments)}}};T.ui.position,T.extend(T.expr[":"],{data:T.expr.createPseudo?T.expr.createPseudo(function(e){return function(t){return!!T.data(t,e)}}
vendor: 8,861 bytes, line 1
1):function(t,e,i){return!!T.data(t,i[3])}}),T.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var t,u,h,p,f,e,m,g,v,y,_,b,w,E,D,I,A,P,M,O,L,N="ui-effects-",R="ui-effects-style",F="ui-effects-animated",j=T;function B(t,e,i){var n=v[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:t<0?0:n.max<t?n.max:t)}function H(n){var s=m(),r=s._rgba=[];return n=n.toLowerCase(),_(e,function(t,e){var i=e.re.exec(n),i=i&&e.parse(i),e=e.space||"rgba";if(i)return i=s[e](i),s[g[e].cache]=i[g[e].cache],r=s._rgba=i._rgba,!1}),r.length?("0,0,0,0"===r.join()&&u.extend(r,p.transparent),s):p[n]}function U(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function z(t){var e,i,n=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,s={};if(n&&n.length&&n[0]&&n[n[0]])for(i=n.length;i--;)"string"==typeof n[e=n[i]]&&(s[T.camelCase(e)]=n[e]);else for(e in n)"string"==typeof n[e]&&(s[e]=n[e]);return s}function q(t,e,i,n){return T.isPlainObject(t)&&(t=(e=t).effect),t={effect:t},null==e&&(e={}),T.isFunction(e)&&(n=e,i=null,e={}),"number"!=typeof e&&!T.fx.speeds[e]||(n=i,i=e,e={}),T.isFunction(i)&&(n=i,i=null),e&&T.extend(t,e),i=i||e.duration,t.duration=T.fx.off?0:"number"==typeof i?i:i in T.fx.speeds?T.fx.speeds[i]:T.fx.speeds._default,t.complete=n||e.complete,t}function W(t){return!t||"number"==typeof t||T.fx.speeds[t]||("string"==typeof t&&!T.effects.effect[t]||(T.isFunction(t)||"object"==typeof t&&!t.effect))}function V(t,e){var i=e.outerWidth(),e=e.outerHeight(),t=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,i,e,0];return{top:parseFloat(t[1])||0,right:"auto"===t[2]?i:parseFloat(t[2]),bottom:"auto"===t[3]?e:parseFloat(t[3]),left:parseFloat(t[4])||0}}T.effects={effect:{}},f=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],m=(u=j).Color=function(t,e,i,n){return new u.Color.fn.parse(t,e,i,n)},g={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},v={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},y=m.support={},Y=u("<p>")[0],_=u.each,Y.style.cssText="background-color:rgba(1,1,1,.5)",y.rgba=-1<Y.style.backgroundColor.indexOf("rgba"),_(g,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),m.fn=u.extend(m.prototype,{parse:function(s,t,e,i){if(s===h)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=u(s).css(t),t=h);var r=this,n=u.type(s),o=this._rgba=[];return t!==h&&(s=[s,t,e,i],n="array"),"string"===n?this.parse(H(s)||p._default):"array"===n?(_(g.rgba.props,function(t,e){o[e.idx]=B(s[e.idx],e)}),this):"object"===n?(_(g,s instanceof m?function(t,e){s[e.cache]&&(r[e.cache]=s[e.cache].slice())}:function(t,i){var n=i.cache;_(i.props,function(t,e){if(!r[n]&&i.to){if("alpha"===t||null==s[t])return;r[n]=i.to(r._rgba)}r[n][e.idx]=B(s[t],e,!0)}),r[n]&&u.inArray(null,r[n].slice(0,3))<0&&(r[n][3]=1,i.from&&(r._rgba=i.from(r[n])))}),this):void 0},is:function(t){var s=m(t),r=!0,o=this;return _(g,function(t,e){var i,n=s[e.cache];return n&&(i=o[e.cache]||e.to&&e.to(o._rgba)||[],_(e.props,function(t,e){if(null!=n[e.idx])return r=n[e.idx]===i[e.idx]})),r}),r},_space:function(){var i=[],n=this;return _(g,function(t,e){n[e.cache]&&i.push(t)}),i.pop()},transition:function(t,o){var e=(d=m(t))._space(),i=g[e],t=0===this.alpha()?m("transparent"):this,a=t[i.cache]||i.to(t._rgba),l=a.slice(),d=d[i.cache];return _(i.props,function(t,e){var i=e.idx,n=a[i],s=d[i],r=v[e.type]||{};null!==s&&(null===n?l[i]=s:(r.mod&&(r.mod/2<s-n?n+=r.mod:r.mod/2<n-s&&(n-=r.mod)),l[i]=B((s-n)*o+n,e)))}),this[e](l)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),i=e.pop(),n=m(t)._rgba;return m(u.map(e,function(t,e){return(1-i)*n[e]+i*t}))},toRgbaString:function(){var t="rgba(",e=u.map(this._rgba,function(t,e){return null==t?2<e?1:0:t});return 1===e[3]&&(e.pop(),t="rgb("),t+e.join()+")"},toHslaString:function(){var t="hsla(",e=u.map(this.hsla(),function(t,e){return null==t&&(t=2<e?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===e[3]&&(e.pop(),t="hsl("),t+e.join()+")"},toHexString:function(t){var e=this._rgba.slice(),i=e.pop();return t&&e.push(~~(255*i)),"#"+u.map(e,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),m.fn.parse.prototype=m.fn,g.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/255,i=t[1]/255,n=t[2]/255,s=t[3],r=Math.max(e,i,n),o=Math.min(e,i,n),a=r-o,l=r+o,t=.5*l,i=o===r?0:e===r?60*(i-n)/a+360:i===r?60*(n-e)/a+120:60*(e-i)/a+240,l=0==a?0:t<=.5?a/l:a/(2-l);return[Math.round(i)%360,l,t,null==s?1:s]},g.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],t=t[3],i=n<=.5?n*(1+i):n+i-n*i,n=2*n-i;return[Math.round(255*U(n,i,e+1/3)),Math.round(255*U(n,i,e)),Math.round(255*U(n,i,e-1/3)),t]},_(g,function(l,t){var r=t.props,o=t.cache,a=t.to,d=t.from;m.fn[l]=function(t){if(a&&!this[o]&&(this[o]=a(this._rgba)),t===h)return this[o].slice();var e,i=u.type(t),n="array"===i||"object"===i?t:arguments,s=this[o].slice();return _(r,function(t,e){t=n["object"===i?t:e.idx];null==t&&(t=s[e.idx]),s[e.idx]=B(t,e)}),d?((e=m(d(s)))[o]=s,e):m(s)},_(r,function(o,a){m.fn[o]||(m.fn[o]=function(t){var e,i=u.type(t),n="alpha"===o?this._hsla?"hsla":"rgba":l,s=this[n](),r=s[a.idx];return"undefined"===i?r:("function"===i&&(t=t.call(this,r),i=u.type(t)),null==t&&a.empty?this:("string"===i&&(e=f.exec(t))&&(t=r+parseFloat(e[2])*("+"===e[1]?1:-1)),s[a.idx]=t,this[n](s)))})})}),m.hook=function(t){t=t.split(" ");_(t,function(t,r){u.cssHooks[r]={set:function(t,e){var i,n,s="";if("transparent"!==e&&("string"!==u.type(e)||(i=H(e)))){if(e=m(i||e),!y.rgba&&1!==e._rgba[3]){for(n="backgroundColor"===r?t.parentNode:t;(""===s||"transparent"===s)&&n&&n.style;)try{s=u.css(n,"backgroundColor"),n=n.parentNode}catch(t){}e=e.blend(s&&"transparent"!==s?s:"_default")}e=e.toRgbaString()}try{t.style[r]=e}catch(t){}}},u.fx.step[r]=function(t){t.colorInit||(t.start=m(t.elem,r),t.end=m(t.end),t.colorInit=!0),u.cssHooks[r].set(t.elem,t.start.transition(t.end,t.pos))}})},m.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),u.cssHooks.borderColor={expand:function(i){var n={};return _(["Top","Right","Bottom","Left"],function(t,e){n["border"+e+"Color"]=i}),n}},p=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"},D=["add","remove","toggle"],I={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},T.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,e){T.fx.step[e]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(j.style(t.elem,e,t.end),t.setAttr=!0)}}),T.fn.addBack||(T.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),T.effects.animateClass=function(s,t,e,i){var r=T.speed(t,e,i);return this.queue(function(){var i=T(this),t=i.attr("class")||"",e=(e=r.children?i.find("*").addBack():i).map(function(){return{el:T(this),start:z(this)}}),n=function(){T.each(D,function(t,e){s[e]&&i[e+"Class"](s[e])})};n(),e=e.map(function(){return this.end=z(this.el[0]),this.diff=function(t,e){var i,n,s={};
vendor: 15,706 bytes, line 1
1for(i in e)n=e[i],t[i]!==n&&(I[i]||!T.fx.step[i]&&isNaN(parseFloat(n))||(s[i]=n));return s}(this.start,this.end),this}),i.attr("class",t),e=e.map(function(){var t=this,e=T.Deferred(),i=T.extend({},r,{queue:!1,complete:function(){e.resolve(t)}});return this.el.animate(this.diff,i),e.promise()}),T.when.apply(T,e.get()).done(function(){n(),T.each(arguments,function(){var e=this.el;T.each(this.diff,function(t){e.css(t,"")})}),r.complete.call(i[0])})})},T.fn.extend({addClass:(E=T.fn.addClass,function(t,e,i,n){return e?T.effects.animateClass.call(this,{add:t},e,i,n):E.apply(this,arguments)}),removeClass:(w=T.fn.removeClass,function(t,e,i,n){return 1<arguments.length?T.effects.animateClass.call(this,{remove:t},e,i,n):w.apply(this,arguments)}),toggleClass:(b=T.fn.toggleClass,function(t,e,i,n,s){return"boolean"==typeof e||void 0===e?i?T.effects.animateClass.call(this,e?{add:t}:{remove:t},i,n,s):b.apply(this,arguments):T.effects.animateClass.call(this,{toggle:t},e,i,n)}),switchClass:function(t,e,i,n,s){return T.effects.animateClass.call(this,{add:e,remove:t},i,n,s)}}),T.expr&&T.expr.filters&&T.expr.filters.animated&&(T.expr.filters.animated=(A=T.expr.filters.animated,function(t){return!!T(t).data(F)||A(t)})),!1!==T.uiBackCompat&&T.extend(T.effects,{save:function(t,e){for(var i=0,n=e.length;i<n;i++)null!==e[i]&&t.data(N+e[i],t[0].style[e[i]])},restore:function(t,e){for(var i,n=0,s=e.length;n<s;n++)null!==e[n]&&(i=t.data(N+e[n]),t.css(e[n],i))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var n={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},t=T("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(t){s=document.body}return i.wrap(t),i[0]!==s&&!T.contains(i[0],s)||T(s).trigger("focus"),t=i.parent(),"static"===i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(T.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),T.each(["top","left","bottom","right"],function(t,e){n[e]=i.css(e),isNaN(parseInt(n[e],10))&&(n[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(e),t.css(n).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]!==e&&!T.contains(t[0],e)||T(e).trigger("focus")),t}}),T.extend(T.effects,{version:"1.14.1",define:function(t,e,i){return i||(i=e,e="effect"),T.effects.effect[t]=i,T.effects.effect[t].mode=e,i},scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(e||100)/100:1,e="vertical"!==i?(e||100)/100:1;return{height:t.height()*e,width:t.width()*n,outerHeight:t.outerHeight()*e,outerWidth:t.outerWidth()*n}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var n=t.queue();1<e&&n.splice.apply(n,[1,0].concat(n.splice(e,i))),t.dequeue()},saveStyle:function(t){t.data(R,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data(R)||"",t.removeData(R)},mode:function(t,e){t=t.is(":hidden");return"toggle"===e&&(e=t?"show":"hide"),(t?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var i,n;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=t[1]/e.width}return{x:n,y:i}},createPlaceholder:function(t){var e,i=t.css("position"),n=t.position();return t.css({marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()),/^(static|relative)/.test(i)&&(i="absolute",e=T("<"+t[0].nodeName+">").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(N+"placeholder",e)),t.css({position:i,left:n.left,top:n.top}),e},removePlaceholder:function(t){var e=N+"placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(t){T.effects.restoreStyle(t),T.effects.removePlaceholder(t)},setTransition:function(n,t,s,r){return r=r||{},T.each(t,function(t,e){var i=n.cssUnit(e);0<i[0]&&(r[e]=i[0]*s+i[1])}),r}}),T.fn.extend({effect:function(){function t(t){var e=T(this),i=T.effects.mode(e,a)||r;e.data(F,!0),l.push(i),r&&("show"===i||i===r&&"hide"===i)&&e.show(),r&&"none"===i||T.effects.saveStyle(e),T.isFunction(t)&&t()}var n=q.apply(this,arguments),s=T.effects.effect[n.effect],r=s.mode,e=n.queue,i=e||"fx",o=n.complete,a=n.mode,l=[];return T.fx.off||!s?a?this[a](n.duration,o):this.each(function(){o&&o.call(this)}):!1===e?this.each(t).each(d):this.queue(i,t).queue(i,d);function d(t){var e=T(this);function i(){T.isFunction(o)&&o.call(e[0]),T.isFunction(t)&&t()}n.mode=l.shift(),!1===T.uiBackCompat||r?"none"===n.mode?(e[a](),i()):s.call(e[0],n,function(){e.removeData(F),T.effects.cleanUp(e),"hide"===n.mode&&e.hide(),i()}):(e.is(":hidden")?"hide"===a:"show"===a)?(e[a](),i()):s.call(e[0],n,i)}},show:(O=T.fn.show,function(t){if(W(t))return O.apply(this,arguments);var e=q.apply(this,arguments);return e.mode="show",this.effect.call(this,e)}),hide:(M=T.fn.hide,function(t){if(W(t))return M.apply(this,arguments);var e=q.apply(this,arguments);return e.mode="hide",this.effect.call(this,e)}),toggle:(P=T.fn.toggle,function(t){if(W(t)||"boolean"==typeof t)return P.apply(this,arguments);var e=q.apply(this,arguments);return e.mode="toggle",this.effect.call(this,e)}),cssUnit:function(t){var i=this.css(t),n=[];return T.each(["em","px","%","pt"],function(t,e){0<i.indexOf(e)&&(n=[parseFloat(i),e])}),n},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):V(this.css("clip"),this)},transfer:function(t,e){var i=T(this),n=T(t.to),s="fixed"===n.css("position"),r=T("body"),o=s?r.scrollTop():0,a=s?r.scrollLeft():0,r=n.offset(),r={top:r.top-o,left:r.left-a,height:n.innerHeight(),width:n.innerWidth()},n=i.offset(),l=T("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(t.className).css({top:n.top-o,left:n.left-a,height:i.innerHeight(),width:i.innerWidth(),position:s?"fixed":"absolute"}).animate(r,t.duration,t.easing,function(){l.remove(),T.isFunction(e)&&e()})}}),T.fx.step.clip=function(t){t.clipInit||(t.start=T(t.elem).cssClip(),"string"==typeof t.end&&(t.end=V(t.end,t.elem)),t.clipInit=!0),T(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})},L={},T.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){L[t]=function(t){return Math.pow(t,e+2)}}),T.extend(L,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),T.each(L,function(t,e){T.easing["easeIn"+t]=e,T.easing["easeOut"+t]=function(t){return 1-e(1-t)},T.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}});var Y=T.effects;T.effects.define("blind","hide",function(t,e){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},n=T(this),s=t.direction||"up",r=n.cssClip(),o={clip:T.extend({},r)},a=T.effects.createPlaceholder(n);o.clip[i[s][0]]=o.clip[i[s][1]],"show"===t.mode&&(n.cssClip(o.clip),a&&a.css(T.effects.clipToBox(o)),o.clip=r),a&&a.animate(T.effects.clipToBox(o),t.duration,t.easing),n.animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),T.effects.define("bounce",function(t,e){var i,n,s=T(this),r=t.mode,o="hide"===r,a="show"===r,l=t.direction||"up",d=t.distance,c=t.times||5,r=2*c+(a||o?1:0),u=t.duration/r,h=t.easing,p="up"===l||"down"===l?"top":"left",f="up"===l||"left"===l,m=0,t=s.queue().length;for(T.effects.createPlaceholder(s),l=s.css(p),d=d||s["top"==p?"outerHeight":"outerWidth"]()/3,a&&((n={opacity:1})[p]=l,s.css("opacity",0).css(p,f?2*-d:2*d).animate(n,u,h)),o&&(d/=Math.pow(2,c-1)),(n={})[p]=l;m<c;m++)(i={})[p]=(f?"-=":"+=")+d,s.animate(i,u,h).animate(n,u,h),d=o?2*d:d/2;o&&((i={opacity:0})[p]=(f?"-=":"+=")+d,s.animate(i,u,h)),s.queue(e),T.effects.unshift(s,t,1+r)}),T.effects.define("clip","hide",function(t,e){var i={},n=T(this),s=t.direction||"vertical",r="both"===s,o=r||"horizontal"===s,r=r||"vertical"===s,s=n.cssClip();i.clip={top:r?(s.bottom-s.top)/2:s.top,right:o?(s.right-s.left)/2:s.right,bottom:r?(s.bottom-s.top)/2:s.bottom,left:o?(s.right-s.left)/2:s.left},T.effects.createPlaceholder(n),"show"===t.mode&&(n.cssClip(i.clip),i.clip=s),n.animate(i,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),T.effects.define("drop","hide",function(t,e){var i=T(this),n="show"===t.mode,s=t.direction||"left",r="up"===s||"down"===s?"top":"left",o="up"===s||"left"===s?"-=":"+=",a="+="==o?"-=":"+=",l={opacity:0};T.effects.createPlaceholder(i),s=t.distance||i["top"==r?"outerHeight":"outerWidth"](!0)/2,l[r]=o+s,n&&(i.css(l),l[r]=a+s,l.opacity=1),i.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),T.effects.define("explode","hide",function(t,e){var i,n,s,r,o,a,l=t.pieces?Math.round(Math.sqrt(t.pieces)):3,d=l,c=T(this),u="show"===t.mode,h=c.show().css("visibility","hidden").offset(),p=Math.ceil(c.outerWidth()/d),f=Math.ceil(c.outerHeight()/l),m=[];function g(){m.push(this),m.length===l*d&&(c.css({visibility:"visible"}),T(m).remove(),e())}for(i=0;i<l;i++)for(r=h.top+i*f,a=i-(l-1)/2,n=0;n<d;n++)s=h.left+n*p,o=n-(d-1)/2,c.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-n*p,top:-i*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:s+(u?o*p:0),top:r+(u?a*f:0),opacity:u?0:1}).animate({left:s+(u?0:o*p),top:r+(u?0:a*f),opacity:u?1:0},t.duration||500,t.easing,g)}),T.effects.define("fade","toggle",function(t,e){var i="show"===t.mode;T(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),T.effects.define("fold","hide",function(e,t){var i=T(this),n=e.mode,s="show"===n,r="hide"===n,o=e.size||15,a=/([0-9]+)%/.exec(o),l=!!e.horizFirst?["right","bottom"]:["bottom","right"],d=e.duration/2,c=T.effects.createPlaceholder(i),u=i.cssClip(),h={clip:T.extend({},u)},p={clip:T.extend({},u)},f=[u[l[0]],u[l[1]]],n=i.queue().length;a&&(o=parseInt(a[1],10)/100*f[r?0:1]),h.clip[l[0]]=o,p.clip[l[0]]=o,p.clip[l[1]]=0,s&&(i.cssClip(p.clip),c&&c.css(T.effects.clipToBox(p)),p.clip=u),i.queue(function(t){c&&c.animate(T.effects.clipToBox(h),d,e.easing).animate(T.effects.clipToBox(p),d,e.easing),t()}).animate(h,d,e.easing).animate(p,d,e.easing).queue(t),T.effects.unshift(i,n,4)}),T.effects.define("highlight","show",function(t,e){var i=T(this),n={backgroundColor:i.css("backgroundColor")};"hide"===t.mode&&(n.opacity=0),T.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(n,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),T.effects.define("size",function(n,e){var s,i=T(this),t=["fontSize"],r=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],o=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],a=n.mode,l="effect"!==a,d=n.scale||"both",c=n.origin||["middle","center"],u=i.css("position"),h=i.position(),p=T.effects.scaledDimensions(i),f=n.from||p,m=n.to||T.effects.scaledDimensions(i,0);T.effects.createPlaceholder(i),"show"===a&&(a=f,f=m,m=a),s={from:{y:f.height/p.height,x:f.width/p.width},to:{y:m.height/p.height,x:m.width/p.width}},"box"!==d&&"both"!==d||(s.from.y!==s.to.y&&(f=T.effects.setTransition(i,r,s.from.y,f),m=T.effects.setTransition(i,r,s.to.y,m)),s.from.x!==s.to.x&&(f=T.effects.setTransition(i,o,s.from.x,f),m=T.effects.setTransition(i,o,s.to.x,m))),"content"!==d&&"both"!==d||s.from.y!==s.to.y&&(f=T.effects.setTransition(i,t,s.from.y,f),m=T.effects.setTransition(i,t,s.to.y,m)),c&&(c=T.effects.getBaseline(c,p),f.top=(p.outerHeight-f.outerHeight)*c.y+h.top,f.left=(p.outerWidth-f.outerWidth)*c.x+h.left,m.top=(p.outerHeight-m.outerHeight)*c.y+h.top,m.left=(p.outerWidth-m.outerWidth)*c.x+h.left),i.css(f),"content"!==d&&"both"!==d||(r=r.concat(["marginTop","marginBottom"]).concat(t),o=o.concat(["marginLeft","marginRight"]),i.find("*[width]").each(function(){var t=T(this),e=T.effects.scaledDimensions(t),i={height:e.height*s.from.y,width:e.width*s.from.x,outerHeight:e.outerHeight*s.from.y,outerWidth:e.outerWidth*s.from.x},e={height:e.height*s.to.y,width:e.width*s.to.x,outerHeight:e.height*s.to.y,outerWidth:e.width*s.to.x};s.from.y!==s.to.y&&(i=T.effects.setTransition(t,r,s.from.y,i),e=T.effects.setTransition(t,r,s.to.y,e)),s.from.x!==s.to.x&&(i=T.effects.setTransition(t,o,s.from.x,i),e=T.effects.setTransition(t,o,s.to.x,e)),l&&T.effects.saveStyle(t),t.css(i),t.animate(e,n.duration,n.easing,function(){l&&T.effects.restoreStyle(t)})})),i.animate(m,{queue:!1,duration:n.duration,easing:n.easing,complete:function(){var t=i.offset();0===m.opacity&&i.css("opacity",f.opacity),l||(i.css("position","static"===u?"relative":u).offset(t),T.effects.saveStyle(i)),e()}})}),T.effects.define("scale",function(t,e){var i=T(this),n=t.mode,n=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"effect"!==n?0:100),n=T.extend(!0,{from:T.effects.scaledDimensions(i),to:T.effects.scaledDimensions(i,n,t.direction||"both"),origin:t.origin||["middle","center"]},t);t.fade&&(n.from.opacity=1,n.to.opacity=0),T.effects.effect.size.call(this,n,e)}),T.effects.define("puff","hide",function(t,e){t=T.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});T.effects.effect.scale.call(this,t,e)}),T.effects.define("pulsate","show",function(t,e){var i=T(this),n=t.mode,s="show"===n,n=s||"hide"===n,r=2*(t.times||5)+(n?1:0),o=t.duration/r,a=0,l=1,n=i.queue().length;for(!s&&i.is(":visible")||(i.css("opacity",0).show(),a=1);l<r;l++)i.animate({opacity:a},o,t.easing),a=1-a;i.animate({opacity:a},o,t.easing),i.queue(e),T.effects.unshift(i,n,1+r)}),T.effects.define("shake",function(t,e){var i=1,n=T(this),s=t.direction||"left",r=t.distance||20,o=t.times||3,a=2*o+1,l=Math.round(t.duration/a),d="up"===s||"down"===s?"top":"left",c="up"===s||"left"===s,u={},h={},p={},s=n.queue().length;for(T.effects.createPlaceholder(n),u[d]=(c?"-=":"+=")+r,h[d]=(c?"+=":"-=")+2*r,p[d]=(c?"-=":"+=")+2*r,n.animate(u,l,t.easing);i<o;i++)n.animate(h,l,t.easing).animate(p,l,t.easing);n.animate(h,l,t.easing).animate(u,l/2,t.easing).queue(e),T.effects.unshift(n,s,1+a)}),T.effects.define("slide","show",function(t,e){var i,n,s=T(this),r={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},o=t.mode,a=t.direction||"left",l="up"===a||"down"===a?"top":"left",d="up"===a||"left"===a,c=t.distance||s["top"==l?"outerHeight":"outerWidth"](!0),u={};T.effects.createPlaceholder(s),i=s.cssClip(),n=s.position()[l],u[l]=(d?-1:1)*c+n,u.clip=s.cssClip(),u.clip[r[a][1]]=u.clip[r[a][
vendor: 12,405 bytes, line 1
10]],"show"===o&&(s.cssClip(u.clip),s.css(l,u[l]),u.clip=i,u[l]=n),s.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:e})});!1!==T.uiBackCompat&&(Y=T.effects.define("transfer",function(t,e){T(this).transfer(t,e)}));T.ui.focusable=function(t,e){var i,n,s,r,o=t.nodeName.toLowerCase();return"area"===o?(n=(i=t.parentNode).name,!(!t.href||!n||"map"!==i.nodeName.toLowerCase())&&(0<(n=T("img[usemap='#"+n+"']")).length&&n.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(o)?(s=!t.disabled)&&(r=T(t).closest("fieldset")[0])&&(s=!r.disabled):s="a"===o&&t.href||e,s&&T(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}(T(t)))},T.extend(T.expr[":"],{focusable:function(t){return T.ui.focusable(t,null!=T.attr(t,"tabindex"))}});T.ui.focusable,T.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):T(this[0].form)},T.ui.formResetMixin={_formResetHandler:function(){var e=T(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");T.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element.form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(T.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}};"1.7"===T.fn.jquery.substring(0,3)&&(T.each(["Width","Height"],function(t,i){var s="Width"===i?["Left","Right"]:["Top","Bottom"],n=i.toLowerCase(),r={innerWidth:T.fn.innerWidth,innerHeight:T.fn.innerHeight,outerWidth:T.fn.outerWidth,outerHeight:T.fn.outerHeight};function o(t,e,i,n){return T.each(s,function(){e-=parseFloat(T.css(t,"padding"+this))||0,i&&(e-=parseFloat(T.css(t,"border"+this+"Width"))||0),n&&(e-=parseFloat(T.css(t,"margin"+this))||0)}),e}T.fn["inner"+i]=function(t){return void 0===t?r["inner"+i].call(this):this.each(function(){T(this).css(n,o(this,t)+"px")})},T.fn["outer"+i]=function(t,e){return"number"!=typeof t?r["outer"+i].call(this,t):this.each(function(){T(this).css(n,o(this,t,!0,e)+"px")})}}),T.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))});var G,K;T.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},T.ui.escapeSelector=(G=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(t){return t.replace(G,"\\$1")}),T.fn.labels=function(){var t,e,i;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+T.ui.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e))},T.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=T(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:T(this[0].ownerDocument||document)},T.extend(T.expr[":"],{tabbable:function(t){var e=T.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&T.ui.focusable(t,i)}}),T.fn.extend({uniqueId:(K=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++K)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&T(this).removeAttr("id")})}}),T.widget("ui.accordion",{version:"1.14.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=T(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():T()}},_createIcons:function(){var t,e=this.options.icons;e&&(t=T("<span>"),this._addClass(t,"ui-accordion-header-icon","ui-icon "+e.header),t.prependTo(this.headers),t=this.active.children(".ui-accordion-header-icon"),this._removeClass(t,e.header)._addClass(t,null,e.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"!==t?("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons())):this._activate(e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=T.ui.keyCode,i=this.headers.length,n=this.headers.index(t.target),s=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:s=this.headers[(n+1)%i];break;case e.LEFT:case e.UP:s=this.headers[(n-1+i)%i];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:s=this.headers[0];break;case e.END:s=this.headers[i-1]}s&&(T(t.target).attr("tabIndex",-1),T(s).attr("tabIndex",0),T(s).trigger("focus"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===T.ui.keyCode.UP&&t.ctrlKey&&T(t.currentTarget).prev().trigger("focus")},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=T()):!1===t.active?this._activate(0):this.active.length&&!T.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=T()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var i,t=this.options,e=t.heightStyle,n=this.element.parent();this.active=this._findActive(t.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var t=T(this),e=t.uniqueId().attr("id"),i=t.next(),n=i.uniqueId().attr("id");t.attr("aria-controls",n),i.attr("aria-labelledby",e)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(t.event),"fill"===e?(i=n.height(),this.element.siblings(":visible").each(function(){var t=T(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.headers.each(function(){i-=T(this).outerHeight(!0)}),this.headers.next().each(function(){T(this).height(Math.max(0,i-T(this).innerHeight()+T(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.headers.next().each(function(){var t=T(this).is(":visible");t||T(this).show(),i=Math.max(i,T(this).css("height","").height()),t||T(this).hide()}).height(i))},_activate:function(t){t=this._findActive(t)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:T.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):T()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&T.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var e=this.options,i=this.active,n=T(t.currentTarget),s=n[0]===i[0],r=s&&e.collapsible,o=r?T():n.next(),a=i.next(),o={oldHeader:i,oldPanel:a,newHeader:r?T():n,newPanel:o};t.preventDefault(),s&&!e.collapsible||!1===this._trigger("beforeActivate",t,o)||(e.active=!r&&this.headers.index(n),this.active=s?T():n,this._toggle(o),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),e.icons&&(i=i.children(".ui-accordion-header-icon"),this._removeClass(i,null,e.icons.activeHeader)._addClass(i,null,e.icons.header)),s||(this._removeClass(n,"ui-accordion-header-collapsed")._addClass(n,"ui-accordion-header-active","ui-state-active"),e.icons&&(s=n.children(".ui-accordion-header-icon"),this._removeClass(s,null,e.icons.header)._addClass(s,null,e.icons.activeHeader)),this._addClass(n.next(),"ui-accordion-content-active")))},_toggle:function(t){var e=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=i,this.options.animate?this._animate(e,i,t):(i.hide(),e.show(),this._toggleComplete(t)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),e.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):e.length&&this.headers.filter(function(){return 0===parseInt(T(this).attr("tabIndex"),10)}).attr("tabIndex",-1),e.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,i,e){var n,s,r,o=this,a=0,l=t.css("box-sizing"),d=t.length&&(!i.length||t.index()<i.index()),c=this.options.animate||{},u=d&&c.down||c,d=function(){o._toggleComplete(e)};return"number"==typeof u&&(r=u),"string"==typeof u&&(s=u),s=s||u.easing||c.easing,r=r||u.duration||c.duration,i.length?t.length?(n=t.show().outerHeight(),i.animate(this.hideProps,{duration:r,easing:s,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(this.showProps,{duration:r,easing:s,complete:d,step:function(t,e){e.now=Math.round(t),"height"!==e.prop?"content-box"===l&&(a+=e.now):"content"!==o.options.heightStyle&&(e.now=Math.round(n-i.outerHeight()-a),a=0)}})):i.animate(this.hideProps,r,s,d):t.animate(this.showProps,r,s,d)},_toggleComplete:function(t){var e=t.oldPanel,i=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}}),T.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return(i=i||e.body).nodeName||(i=e.body),i},T.widget("ui.menu",{version:"1.14.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"}
vendor: 6,808 bytes, line 1
1,role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(t){var e=T(t.target),i=T(T.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var e,i;this.previousFilter||(e=T(t.target).closest(".ui-menu-item"),i=T(t.currentTarget),e[0]===i[0]&&(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i)))},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(t){this._delay(function(){T.contains(this.element[0],T.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=T(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,n,s=!0;switch(t.keyCode){case T.ui.keyCode.PAGE_UP:this.previousPage(t);break;case T.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case T.ui.keyCode.HOME:this._move("first","first",t);break;case T.ui.keyCode.END:this._move("last","last",t);break;case T.ui.keyCode.UP:this.previous(t);break;case T.ui.keyCode.DOWN:this.next(t);break;case T.ui.keyCode.LEFT:this.collapse(t);break;case T.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case T.ui.keyCode.ENTER:case T.ui.keyCode.SPACE:this._activate(t);break;case T.ui.keyCode.ESCAPE:this.collapse(t);break;default:s=!1,e=this.previousFilter||"",n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?n=!0:i=e+i,e=this._filterMenuItems(i),(e=n&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}s&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,n=this,s=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=T(this),e=t.prev(),i=T("<span>").data("ui-menu-submenu-caret",!0);n._addClass(i,"ui-menu-icon","ui-icon "+s),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=T(this);n._isDivider(t)&&n._addClass(t,"ui-menu-divider","ui-widget-content")}),i=(e=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(e,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!T.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,n;this._hasScroll()&&(i=parseFloat(T.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(T.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-i-n,i=this.activeMenu.scrollTop(),n=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):n<e+t&&this.activeMenu.scrollTop(i+e-n+t))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(t){var e=T.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(e)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var t=i?this.element:T(e&&e.target).closest(this.element.find(".ui-menu"));t.length||(t=this.element),this._close(t),this.blur(e),this._removeClass(t.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=t},this.delay)},_close:function(t){(t=t||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
1se")},_closeOnDocumentClick:function(t){return!T(t.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var n;this.active&&(n="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.find(this.options.items)[e]()),this.focus(i,n)},nextPage:function(t){var e,i,n;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(e=T(this)).offset().top-i-n<0}),this.focus(t,e)):this.focus(t,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var e,i,n;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(e=T(this)).offset().top-i+n}),this.focus(t,e)):this.focus(t,this.activeMenu.find(this.options.items).first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||T(t.target).closest(".ui-menu-item");var e={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,e)},_filterMenuItems:function(t){var t=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),e=new RegExp("^"+t,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return e.test(T.trim(T(this).children(".ui-menu-item-wrapper").text()))})}});T.widget("ui.autocomplete",{version:"1.14.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var i,n,s,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))n=s=i=!0;else{n=s=i=!1;var e=T.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:n=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!n){var e=T.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(s)return s=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),this._change(t))}}),this._initSource(),this.menu=T("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==T.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(t,e){var i;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){T(t.target).trigger(t.originalEvent)});i=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:i}
vendor: 5,584 bytes, line 1
1)&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(i.value),(i=e.item.attr("aria-label")||i.value)&&T.trim(i).length&&(this.liveRegion.children().hide(),T("<div>").text(i).appendTo(this.liveRegion))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==T.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=T("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||T.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return(t=t&&(t.jquery||t.nodeType?T(t):this.document.find(t).eq(0)))&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_initSource:function(){var i,n,s=this;T.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(T.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(t,e){s.xhr&&s.xhr.abort(),s.xhr=T.ajax({url:n,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=n.altKey||n.ctrlKey||n.metaKey||n.shiftKey;t&&(!t||e||i)||(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return T.proxy(function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(t){t=t&&this._normalize(t),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:T.map(t,function(t){return"string"==typeof t?{label:t,value:t}:T.extend({},t,{label:t.label||t.value,value:t.value||t.label})})},_suggest:function(t){var e=this.menu.element.empty();this._renderMenu(e,t),this.isNewMenu=!0,this.menu.refresh(),e.show(),this._resizeMenu(),e.position(T.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,t){var n=this;T.each(t,function(t,e){n._renderItemData(i,e)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(t,e){return T("<li>").append(T("<div>").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),T.extend(T.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(T.ui.autocomplete.escapeRegex(e),"i");return T.grep(t,function(t){return i.test(t.label||t.value||t)})}}),T.widget("ui.autocomplete",T.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1<t?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.children().hide(),T("<
vendor: 7,206 bytes, line 1
1div>").text(e).appendTo(this.liveRegion))}});T.ui.autocomplete;var X=/ui-corner-([a-z]){2,6}/g;T.widget("ui.controlgroup",{version:"1.14.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var r=this,o=[];T.each(this.options.items,function(n,t){var e,s={};if(t)return"controlgroupLabel"===n?((e=r.element.find(t)).each(function(){var t=T(this);t.children(".ui-controlgroup-label-contents").length||t.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),r._addClass(e,null,"ui-widget ui-widget-content ui-state-default"),void(o=o.concat(e.get()))):void(T.fn[n]&&(s=r["_"+n+"Options"]?r["_"+n+"Options"]("middle"):{classes:{}},r.element.find(t).each(function(){var t=T(this),e=t[n]("instance"),i=T.widget.extend({},s);"button"===n&&t.parent(".ui-spinner").length||((e=e||t[n]()[n]("instance"))&&(i.classes=r._resolveClassesValues(i.classes,e)),t[n](i),i=t[n]("widget"),T.data(i[0],"ui-controlgroup-data",e||t[n]("instance")),o.push(i[0]))})))}),this.childWidgets=T(T.unique(o)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var t=T(this).data("ui-controlgroup-data");t&&t[e]&&t[e]()})},_updateCornerClass:function(t,e){e=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,e)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){t=this._buildSimpleOptions(t,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(i,n){var s={};return T.each(i,function(t){var e=n.options.classes[t]||"",e=T.trim(e.replace(X,""));s[t]=(e+" "+i[t]).replace(/\s+/g," ")}),s},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var s,r=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),s=this.childWidgets,this.options.onlyVisible&&(s=s.filter(":visible")),s.length&&(T.each(["first","last"],function(t,e){var i,n=s[e]().data("ui-controlgroup-data");n&&r["_"+n.widgetName+"Options"]?((i=r["_"+n.widgetName+"Options"](1===s.length?"only":e)).classes=r._resolveClassesValues(i.classes,n),n.element[n.widgetName](i)):r._updateCornerClass(s[e](),e)}),this._callChildMethod("refresh"))}});T.widget("ui.checkboxradio",[T.ui.formResetMixin,{version:"1.14.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,e=this,i=this._super()||{};return this._readType(),t=this.element.labels(),this.label=T(t[t.length-1]),this.label.length||T.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){e.originalLabel+=3===this.nodeType?T(this).text():this.outerHTML}),this.originalLabel&&(i.label=this.originalLabel),null!=(t=this.element[0].disabled)&&(i.disabled=t),i},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===t&&/radio|checkbox/.test(this.type)||T.error("Can't create checkboxradio on element.nodeName="+t+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t=this.element[0].name,e="input[name='"+T.ui.escapeSelector(t)+"']";return t?(this.form.length?T(this.form[0].elements).filter(e):T(e).filter(function(){return 0===T(this).form().length})).not(this.element):T([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",t)._toggleClass(this.icon,null,"ui-icon-blank",!t),"radio"===this.type&&this._getRadioGroup().each(function(){var t=T(this).checkboxradio("instance");t&&t._removeClass(t.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if("label"!==t||e){if(this._super(t,e),"disabled"===t)return this._toggleClass(this.label,null,"ui-state-disabled",e),void(this.element[0].disabled=e);this.refresh()}},_updateIcon:function(t){var e="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=T("<span>"),this.iconSpace=T("<span> </span>
1"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(e+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):e+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",e),t||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]);var Q;T.ui.checkboxradio;T.widget("ui.button",{version:"1.14.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),null!=(t=this.element[0].disabled)&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(t){t.keyCode===T.ui.keyCode.SPACE&&(t.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(t,e){var i="iconPosition"!==t,n=i?this.options.iconPosition:e,t="top"===n||"bottom"===n;this.icon?i&&this._removeClass(this.icon,null,this.options.icon):(this.icon=T("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),i&&this._addClass(this.icon,null,e),this._attachIcon(n),t?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 4,233 bytes, line 1
1pace||(this.iconSpace=T("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(n))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=(void 0===t.showLabel?this.options:t).showLabel,i=(void 0===t.icon?this.options:t).icon;e||i||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),(this.element[0].disabled=e)&&this.element.blur())},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==T.uiBackCompat&&(T.widget("ui.button",T.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,e){"text"!==t?("showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",e)}}),T.fn.button=(Q=T.fn.button,function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?Q.apply(this,arguments):(T.ui.checkboxradio||T.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}),T.fn.buttonset=function(){return T.ui.controlgroup||T.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});var Z;T.ui.button;function J(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
vendor: 4,913 bytes, line 1
1ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},T.extend(this._defaults,this.regional[""]),this.regional.en=T.extend(!0,{},this.regional[""]),this.regional["en-US"]=T.extend(!0,{},this.regional.en),this.dpDiv=tt(T("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function tt(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",e,function(){T(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&T(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&T(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",e,et)}function et(){T.datepicker._isDisabledDatepicker((Z.inline?Z.dpDiv.parent():Z.input)[0])||(T(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),T(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&T(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&T(this).addClass("ui-datepicker-next-hover"))}function it(t,e){for(var i in T.extend(t,e),e)null==e[i]&&(t[i]=e[i]);return t}T.extend(T.ui,{datepicker:{version:"1.14.1"}}),T.extend(J.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return it(this._defaults,t||{}),this},_attachDatepicker:function(t,e){var i,n=t.nodeName.toLowerCase(),s="div"===n||"span"===n;t.id||(this.uuid+=1,t.id="dp"+this.uuid),(i=this._newInst(T(t),s)).settings=T.extend({},e||{}),"input"===n?this._connectDatepicker(t,i):s&&this._inlineDatepicker(t,i)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?tt(T("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,e){var i=T(t);e.append=T([]),e.trigger=T([]),i.hasClass(this.markerClassName)||(this._attachments(i,e),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(e),T.data(t,"datepicker",e),e.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,n=this._get(e,"appendText"),s=this._get(e,"isRTL");e.append&&e.append.remove(),n&&(e.append=T("<span class='"+this._appendClass+"'>"+n+"</span>"),t[s?"before":"after"](e.append)),t.off("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),"focus"!==(i=this._get(e,"showOn"))&&"both"!==i||t.on("focus",this._showDatepicker),"button"!==i&&"both"!==i||(n=this._get(e,"buttonText"),i=this._get(e,"buttonImage"),e.trigger=T(this._get(e,"buttonImageOnly")?T("<img/>").addClass(this._triggerClass).attr({src:i,alt:n,title:n}):T("<button type='button'></button>").addClass(this._triggerClass).html(i?T("<img/>").attr({src:i,alt:n,title:n}):n)),t[s?"before":"after"](e.trigger),e.trigger.on("click",function(){return T.datepicker._datepickerShowing&&T.datepicker._lastInput===t[0]?T.datepicker._hideDatepicker():(T.datepicker._datepickerShowing&&T.datepicker._lastInput!==t[0]&&T.datepicker._hideDatepicker(),T.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){var e,i,n,s,r,o;this._get(t,"autoSize")&&!t.inline&&(r=new Date(2009,11,20),(o=this._get(t,"dateFormat")).match(/[DM]/)&&(e=function(t){for(s=n=i=0;s<t.length;s++)t[s].length>i&&(i=t[s].length,n=s);return n},r.setMonth(e(this._get(t,o.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(e(this._get(t,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),t.input.attr("size",this._formatDate(t,r).length))},_inlineDatepicker:function(t,e){var i=T(t);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(e.dpDiv),T.data(t,"datepicker",e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.settings.disabled&&this._disableDatepicker(t),e.dpDiv.css("display","block"))}
vendor: 13,240 bytes, line 1
1,_dialogDatepicker:function(t,e,i,n,s){var r,o=this._dialogInst;return o||(this.uuid+=1,r="dp"+this.uuid,this._dialogInput=T("<input type='text' id='"+r+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),T("body").append(this._dialogInput),(o=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},T.data(this._dialogInput[0],"datepicker",o)),it(o.settings,n||{}),e=e&&e.constructor===Date?this._formatDate(o,e):e,this._dialogInput.val(e),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(r=document.documentElement.clientWidth,n=document.documentElement.clientHeight,e=document.documentElement.scrollLeft||document.body.scrollLeft,s=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[r/2-100+e,n/2-150+s]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),o.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),T.blockUI&&T.blockUI(this.dpDiv),T.data(this._dialogInput[0],"datepicker",o),this},_destroyDatepicker:function(t){var e,i=T(t),n=T.data(t,"datepicker");i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),T.removeData(t,"datepicker"),"input"===e?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==e&&"span"!==e||i.removeClass(this.markerClassName).empty(),Z===n&&(Z=null))},_enableDatepicker:function(e){var t,i=T(e),n=T.data(e,"datepicker");i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!1,n.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==t&&"span"!==t||((i=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=T.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var t,i=T(e),n=T.data(e,"datepicker");i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==t&&"span"!==t||((i=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=T.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(t){try{return T.data(t,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,i){var n,s,r,o,a=this._getInst(t);if(2===arguments.length&&"string"==typeof e)return"defaults"===e?T.extend({},T.datepicker._defaults):a?"all"===e?T.extend({},a.settings):this._get(a,e):null;n=e||{},"string"==typeof e&&((n={})[e]=i),a&&(this._curInst===a&&this._hideDatepicker(),s=this._getDateDatepicker(t,!0),r=this._getMinMaxDate(a,"min"),o=this._getMinMaxDate(a,"max"),it(a.settings,n),null!==r&&void 0!==n.dateFormat&&void 0===n.minDate&&(a.settings.minDate=this._formatDate(a,r)),null!==o&&void 0!==n.dateFormat&&void 0===n.maxDate&&(a.settings.maxDate=this._formatDate(a,o)),"disabled"in n&&(n.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(T(t),a),this._autoSize(a),this._setDate(a,s),this._updateAlternate(a),this._updateDatepicker(a))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){t=this._getInst(t);t&&this._updateDatepicker(t)},_setDateDatepicker:function(t,e){t=this._getInst(t);t&&(this._setDate(t,e),this._updateDatepicker(t),this._updateAlternate(t))},_getDateDatepicker:function(t,e){t=this._getInst(t);return t&&!t.inline&&this._setDateFromField(t,e),t?this._getDate(t):null},_doKeyDown:function(t){var e,i,n=T.datepicker._getInst(t.target),s=!0,r=n.dpDiv.is(".ui-datepicker-rtl");if(n._keyEvent=!0,T.datepicker._datepickerShowing)switch(t.keyCode){case 9:T.datepicker._hideDatepicker(),s=!1;break;case 13:return(i=T("td."+T.datepicker._dayOverClass+":not(."+T.datepicker._currentClass+")",n.dpDiv))[0]&&T.datepicker._selectDay(t.target,n.selectedMonth,n.selectedYear,i[0]),(e=T.datepicker._get(n,"onSelect"))?(i=T.datepicker._formatDate(n),e.apply(n.input?n.input[0]:null,[i,n])):T.datepicker._hideDatepicker(),!1;case 27:T.datepicker._hideDatepicker();break;case 33:T.datepicker._adjustDate(t.target,t.ctrlKey?-T.datepicker._get(n,"stepBigMonths"):-T.datepicker._get(n,"stepMonths"),"M");break;case 34:T.datepicker._adjustDate(t.target,t.ctrlKey?+T.datepicker._get(n,"stepBigMonths"):+T.datepicker._get(n,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&T.datepicker._clearDate(t.target),s=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&T.datepicker._gotoToday(t.target),s=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&T.datepicker._adjustDate(t.target,r?1:-1,"D"),s=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&T.datepicker._adjustDate(t.target,t.ctrlKey?-T.datepicker._get(n,"stepBigMonths"):-T.datepicker._get(n,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&T.datepicker._adjustDate(t.target,-7,"D"),s=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&T.datepicker._adjustDate(t.target,r?-1:1,"D"),s=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&T.datepicker._adjustDate(t.target,t.ctrlKey?+T.datepicker._get(n,"stepBigMonths"):+T.datepicker._get(n,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&T.datepicker._adjustDate(t.target,7,"D"),s=t.ctrlKey||t.metaKey;break;default:s=!1}else 36===t.keyCode&&t.ctrlKey?T.datepicker._showDatepicker(this):s=!1;s&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,i=T.datepicker._getInst(t.target);if(T.datepicker._get(i,"constrainInput"))return e=T.datepicker._possibleChars(T.datepicker._get(i,"dateFormat")),i=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||i<" "||!e||-1<e.indexOf(i)},_doKeyUp:function(t){var e=T.datepicker._getInst(t.target);if(e.input.val()!==e.lastVal)try{T.datepicker.parseDate(T.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,T.datepicker._getFormatConfig(e))&&(T.datepicker._setDateFromField(e),T.datepicker._updateAlternate(e),T.datepicker._updateDatepicker(e))}catch(t){}return!0},_showDatepicker:function(t){var e,i,n,s;"input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=T("input",t.parentNode)[0]),T.datepicker._isDisabledDatepicker(t)||T.datepicker._lastInput===t||(s=T.datepicker._getInst(t),T.datepicker._curInst&&T.datepicker._curInst!==s&&(T.datepicker._curInst.dpDiv.stop(!0,!0),s&&T.datepicker._datepickerShowing&&T.datepicker._hideDatepicker(T.datepicker._curInst.input[0])),!1!==(i=(n=T.datepicker._get(s,"beforeShow"))?n.apply(t,[t,s]):{})&&(it(s.settings,i),s.lastVal=null,T.datepicker._lastInput=t,T.datepicker._setDateFromField(s),T.datepicker._inDialog&&(t.value=""),T.datepicker._pos||(T.datepicker._pos=T.datepicker._findPos(t),T.datepicker._pos[1]+=t.offsetHeight),e=!1,T(t).parents().each(function(){return!(e|="fixed"===T(this).css("position"))}),n={left:T.datepicker._pos[0],top:T.datepicker._pos[1]},T.datepicker._pos=null,s.dpDiv.empty(),s.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),T.datepicker._updateDatepicker(s),n=T.datepicker._checkOffset(s,n,e),s.dpDiv.css({position:T.datepicker._inDialog&&T.blockUI?"static":e?"fixed":"absolute",display:"none",left:n.left+"px",top:n.top+"px"}),s.inline||(i=T.datepicker._get(s,"showAnim"),n=T.datepicker._get(s,"duration"),s.dpDiv.css("z-index",function(t){for(var e,i;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}(T(t))+1),T.datepicker._datepickerShowing=!0,T.effects&&T.effects.effect[i]?s.dpDiv.show(i,T.datepicker._get(s,"showOptions"),n):s.dpDiv[i||"show"](i?n:null),T.datepicker._shouldFocusInput(s)&&s.input.trigger("focus"),T.datepicker._curInst=s)))},_updateDatepicker:function(t){this.maxRows=4,(Z=t).dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var e,i=this._getNumberOfMonths(t),n=i[1],s=t.dpDiv.find("."+this._dayOverClass+" a");0<s.length&&et.apply(s.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&t.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",17*n+"em"),t.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===T.datepicker._curInst&&T.datepicker._datepickerShowing&&T.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(e=t.yearshtml,setTimeout(function(){e===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),e=t.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(t,e,i){var n=t.dpDiv.outerWidth(),s=t.dpDiv.outerHeight(),r=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,a=document.documentElement.clientWidth+(i?0:T(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:T(document).scrollTop());return e.left-=this._get(t,"isRTL")?n-r:0,e.left-=i&&e.left===t.input.offset().left?T(document).scrollLeft():0,e.top-=i&&e.top===t.input.offset().top+o?T(document).scrollTop():0,e.left-=Math.min(e.left,e.left+n>a&&n<a?Math.abs(e.left+n-a):0),e.top-=Math.min(e.top,e.top+s>l&&s<l?Math.abs(s+o):0),e},_findPos:function(t){for(var e=this._getInst(t),i=this._get(e,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||T.expr.filters.hidden(t));)t=t[i?"previousSibling":"nextSibling"];return[(e=T(t).offset()).left,e.top]},_hideDatepicker:function(t){var e,i,n=this._curInst;!n||t&&n!==T.data(t,"datepicker")||this._datepickerShowing&&(e=this._get(n,"showAnim"),i=this._get(n,"duration"),t=function(){T.datepicker._tidyDialog(n)},T.effects&&(T.effects.effect[e]||T.effects[e])?n.dpDiv.hide(e,T.datepicker._get(n,"showOptions"),i,t):n.dpDiv["slideDown"===e?"slideUp":"fadeIn"===e?"fadeOut":"hide"](e?i:null,t),e||t(),this._datepickerShowing=!1,(t=this._get(n,"onClose"))&&t.apply(n.input?n.input[0]:null,[n.input?n.input.val():"",n]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),T.blockUI&&(T.unblockUI(),T("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){var e;T.datepicker._curInst&&(e=T(t.target),t=T.datepicker._getInst(e[0]),(e[0].id===T.datepicker._mainDivId||0!==e.parents("#"+T.datepicker._mainDivId).length||e.hasClass(T.datepicker.markerClassName)||e.closest("."+T.datepicker._triggerClass).length||!T.datepicker._datepickerShowing||T.datepicker._inDialog&&T.blockUI)&&(!e.hasClass(T.datepicker.markerClassName)||T.datepicker._curInst===t)||T.datepicker._hideDatepicker())},_adjustDate:function(t,e,i){var n=T(t),t=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(t,e+("M"===i?this._get(t,"showCurrentAtPos"):0),i),this._updateDatepicker(t))},_gotoToday:function(t){var e=T(t),i=this._getInst(e[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(t=new Date,i.selectedDay=t.getDate(),i.drawMonth=i.selectedMonth=t.getMonth(),i.drawYear=i.selectedYear=t.getFullYear()),this._notifyChange(i),this._adjustDate(e)},_selectMonthYear:function(t,e,i){var n=T(t),t=this._getInst(n[0]);t["selected"+("M"===i?"Month":"Year")]=t["draw"+("M"===i?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(t),this._adjustDate(n)},_selectDay:function(t,e,i,n){var s=T(t);T(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(s[0])||((s=this._getInst(s[0])).selectedDay=s.currentDay=T("a",n).html(),s.selectedMonth=s.currentMonth=e,s.selectedYear=s.currentYear=i,this._selectDate(t,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(t){t=T(t);this._selectDate(t,"")},_selectDate:function(t,e){var i=T(t),t=this._getInst(i[0]);e=null!=e?e:this._formatDate(t),t.input&&t.input.val(e),this._updateAlternate(t),(i=this._get(t,"onSelect"))?i.apply(t.input?t.input[0]:null,[e,t]):t.input&&t.input.trigger("change"),t.inline?this._updateDatepicker(t):(this._hideDatepicker(),this._lastInput=t.input[0],"object"!=typeof t.input[0]&&t.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var e,i,n=this._get(t,"altField");n&&(e=this._get(t,"altFormat")||this._get(t,"dateFormat"),i=this._getDate(t),t=this.formatDate(e,i,this._getFormatConfig(t)),T(n).val(t))},noWeekends:function(t){t=t.getDay();return[0<t&&t<6,""]}
vendor: 6,404 bytes, line 1
1,iso8601Week:function(t){var e=new Date(t.getTime());return e.setDate(e.getDate()+4-(e.getDay()||7)),t=e.getTime(),e.setMonth(0),e.setDate(1),Math.floor(Math.round((t-e)/864e5)/7)+1},parseDate:function(e,s,t){if(null==e||null==s)throw"Invalid arguments";if(""===(s="object"==typeof s?s.toString():s+""))return null;function r(t){return(t=w+1<e.length&&e.charAt(w+1)===t)&&w++,t}function i(t){var e=r(t),e="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,e=new RegExp("^\\d{"+("y"===t?e:1)+","+e+"}");if(!(e=s.substring(c).match(e)))throw"Missing number at position "+c;return c+=e[0].length,parseInt(e[0],10)}function n(t,e,i){var n=-1,e=T.map(r(t)?i:e,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(T.each(e,function(t,e){var i=e[1];if(s.substr(c,i.length).toLowerCase()===i.toLowerCase())return n=e[0],c+=i.length,!1}),-1!==n)return n+1;throw"Unknown name at position "+c}function o(){if(s.charAt(c)!==e.charAt(w))throw"Unexpected literal at position "+c;c++}for(var a,l,d,c=0,u=(t?t.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof u?u:(new Date).getFullYear()%100+parseInt(u,10),h=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,p=(t?t.dayNames:null)||this._defaults.dayNames,f=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,m=(t?t.monthNames:null)||this._defaults.monthNames,g=-1,v=-1,y=-1,_=-1,b=!1,w=0;w<e.length;w++)if(b)"'"!==e.charAt(w)||r("'")?o():b=!1;else switch(e.charAt(w)){case"d":y=i("d");break;case"D":n("D",h,p);break;case"o":_=i("o");break;case"m":v=i("m");break;case"M":v=n("M",f,m);break;case"y":g=i("y");break;case"@":g=(d=new Date(i("@"))).getFullYear(),v=d.getMonth()+1,y=d.getDate();break;case"!":g=(d=new Date((i("!")-this._ticksTo1970)/1e4)).getFullYear(),v=d.getMonth()+1,y=d.getDate();break;case"'":r("'")?o():b=!0;break;default:o()}if(c<s.length&&(l=s.substr(c),!/^\s+/.test(l)))throw"Extra/unparsed characters found in date: "+l;if(-1===g?g=(new Date).getFullYear():g<100&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(g<=u?0:-100)),-1<_)for(v=1,y=_;;){if(y<=(a=this._getDaysInMonth(g,v-1)))break;v++,y-=a}if((d=this._daylightSavingAdjust(new Date(g,v-1,y))).getFullYear()!==g||d.getMonth()+1!==v||d.getDate()!==y)throw"Invalid date";return d},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(e,t,i){if(!t)return"";function s(t){return(t=o+1<e.length&&e.charAt(o+1)===t)&&o++,t}function n(t,e,i){var n=""+e;if(s(t))for(;n.length<i;)n="0"+n;return n}function r(t,e,i,n){return(s(t)?n:i)[e]}var o,a=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,l=(i?i.dayNames:null)||this._defaults.dayNames,d=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,c=(i?i.monthNames:null)||this._defaults.monthNames,u="",h=!1;if(t)for(o=0;o<e.length;o++)if(h)"'"!==e.charAt(o)||s("'")?u+=e.charAt(o):h=!1;else switch(e.charAt(o)){case"d":u+=n("d",t.getDate(),2);break;case"D":u+=r("D",t.getDay(),a,l);break;case"o":u+=n("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=n("m",t.getMonth()+1,2);break;case"M":u+=r("M",t.getMonth(),d,c);break;case"y":u+=s("y")?t.getFullYear():(t.getFullYear()%100<10?"0":"")+t.getFullYear()%100;break;case"@":u+=t.getTime();break;case"!":u+=1e4*t.getTime()+this._ticksTo1970;break;case"'":s("'")?u+="'":h=!0;break;default:u+=e.charAt(o)}return u},_possibleChars:function(e){function t(t){return(t=s+1<e.length&&e.charAt(s+1)===t)&&s++,t}for(var i="",n=!1,s=0;s<e.length;s++)if(n)"'"!==e.charAt(s)||t("'")?i+=e.charAt(s):n=!1;else switch(e.charAt(s)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":t("'")?i+="'":n=!0;break;default:i+=e.charAt(s)}return i},_get:function(t,e){return(void 0!==t.settings[e]?t.settings:this._defaults)[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,s=this._getDefaultDate(t),r=s,o=this._getFormatConfig(t);try{r=this.parseDate(i,n,o)||s}catch(t){n=e?"":n}t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),t.currentDay=n?r.getDate():0,t.currentMonth=n?r.getMonth():0,t.currentYear=n?r.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(a,t,e){var i,n,t=null==t||""===t?e:"string"==typeof t?function(t){try{return T.datepicker.parseDate(T.datepicker._get(a,"dateFormat"),t,T.datepicker._getFormatConfig(a))}catch(t){}for(var e=(t.toLowerCase().match(/^c/)?T.datepicker._getDate(a):null)||new Date,i=e.getFullYear(),n=e.getMonth(),s=e.getDate(),r=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,o=r.exec(t);o;){switch(o[2]||"d"){case"d":case"D":s+=parseInt(o[1],10);break;case"w":case"W":s+=7*parseInt(o[1],10);break;case"m":case"M":n+=parseInt(o[1],10),s=Math.min(s,T.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(o[1],10),s=Math.min(s,T.datepicker._getDaysInMonth(i,n))}o=r.exec(t)}return new Date(i,n,s)}(t):"number"==typeof t?isNaN(t)?e:(i=t,(n=new Date).setDate(n.getDate()+i),n):new Date(t.getTime());return(t=t&&"Invalid Date"===t.toString()?e:t)&&(t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0)),this._daylightSavingAdjust(t)},_daylightSavingAdjust:function(t){return t?(t.setHours(12<t.getHours()?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,s=t.selectedMonth,r=t.selectedYear,e=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=e.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=e.getMonth(),t.drawYear=t.selectedYear=t.currentYear=e.getFullYear(),s===t.selectedMonth&&r===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(t){var e=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");
vendor: 5,258 bytes, line 1
1t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){T.datepicker._adjustDate(i,-e,"M")},next:function(){T.datepicker._adjustDate(i,+e,"M")},hide:function(){T.datepicker._hideDatepicker()},today:function(){T.datepicker._gotoToday(i)},selectDay:function(){return T.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return T.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return T.datepicker._selectMonthYear(i,this,"Y"),!1}};T(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,n,s,r,o,a,l,d,c,u,h,p,f,m,g,v,y,_,b,w,T,C,S,x,k,$,E,D,I,A,P=new Date,M=this._daylightSavingAdjust(new Date(P.getFullYear(),P.getMonth(),P.getDate())),O=this._get(t,"isRTL"),L=this._get(t,"showButtonPanel"),N=this._get(t,"hideIfNoPrevNext"),R=this._get(t,"navigationAsDateFormat"),F=this._getNumberOfMonths(t),j=this._get(t,"showCurrentAtPos"),P=this._get(t,"stepMonths"),B=1!==F[0]||1!==F[1],H=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),U=this._getMinMaxDate(t,"min"),z=this._getMinMaxDate(t,"max"),q=t.drawMonth-j,W=t.drawYear;if(q<0&&(q+=12,W--),z)for(e=this._daylightSavingAdjust(new Date(z.getFullYear(),z.getMonth()-F[0]*F[1]+1,z.getDate())),e=U&&e<U?U:e;this._daylightSavingAdjust(new Date(W,q,1))>e;)--q<0&&(q=11,W--);for(t.drawMonth=q,t.drawYear=W,j=this._get(t,"prevText"),j=R?this.formatDate(j,this._daylightSavingAdjust(new Date(W,q-P,1)),this._getFormatConfig(t)):j,i=this._canAdjustMonth(t,-1,W,q)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+j+"'><span class='ui-icon ui-icon-circle-triangle-"+(O?"e":"w")+"'>"+j+"</span></a>":N?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+j+"'><span class='ui-icon ui-icon-circle-triangle-"+(O?"e":"w")+"'>"+j+"</span></a>",j=this._get(t,"nextText"),j=R?this.formatDate(j,this._daylightSavingAdjust(new Date(W,q+P,1)),this._getFormatConfig(t)):j,n=this._canAdjustMonth(t,1,W,q)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+j+"'><span class='ui-icon ui-icon-circle-triangle-"+(O?"w":"e")+"'>"+j+"</span></a>":N?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+j+"'><span class='ui-icon ui-icon-circle-triangle-"+(O?"w":"e")+"'>"+j+"</span></a>",N=this._get(t,"currentText"),j=this._get(t,"gotoCurrent")&&t.currentDay?H:M,N=R?this.formatDate(N,j,this._getFormatConfig(t)):N,R=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",R=L?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(O?R:"")+(this._isInRange(t,j)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+N+"</button>":"")+(O?"":R)+"</div>":"",s=parseInt(this._get(t,"firstDay"),10),s=isNaN(s)?0:s,r=this._get(t,"showWeek"),o=this._get(t,"dayNames"),a=this._get(t,"dayNamesMin"),l=this._get(t,"monthNames"),d=this._get(t,"monthNamesShort"),c=this._get(t,"beforeShowDay"),u=this._get(t,"showOtherMonths"),h=this._get(t,"selectOtherMonths"),p=this._getDefaultDate(t),f="",g=0;g<F[0];g++){for(v="",this.maxRows=4,y=0;y<F[1];y++){if(_=this._daylightSavingAdjust(new Date(W,q,t.selectedDay)),C=" ui-corner-all",b="",B){if(b+="<div class='ui-datepicker-group",1<F[1])switch(y){case 0:b+=" ui-datepicker-group-first",C=" ui-corner-"+(O?"right":"left");break;case F[1]-1:b+=" ui-datepicker-group-last",C=" ui-corner-"+(O?"left":"right");break;default:b+=" ui-datepicker-group-middle",C=""}b+="'>"}for(b+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+C+"'>"+(/all|left/.test(C)&&0===g?O?n:i:"")+(/all|right/.test(C)&&0===g?O?i:n:"")+this._generateMonthYearHeader(t,q,W,U,z,0<g||0<y,l,d)+"</div><table class='ui-datepicker-calendar'><thead><tr>",w=r?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",m=0;m<7;m++)w+="<th scope='col'"+(5<=(m+s+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+o[T=(m+s)%7]+"'>"+a[T]+"</span></th>";for(b+=w+"</tr></thead><tbody>",S=this._getDaysInMonth(W,q),W===t.selectedYear&&q===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,S)),C=(this._getFirstDayOfMonth(W,q)-s+7)%7,S=Math.ceil((C+S)/7),x=B&&this.maxRows>S?this.maxRows:S,this.maxRows=x,k=this._daylightSavingAdjust(new Date(W,q,1-C)),$=0;$<x;$++){for(b+="<tr>",E=r?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(k)+"</td>":"",m=0;m<7;m++)D=c?c.apply(t.input?t.input[0]:null,[k]):[!0,""],A=(I=k.getMonth()!==q)&&!h||!D[0]||U&&k<U||z&&z<k,E+="<td class='"+(5<=(m+s+6)%7?" ui-datepicker-week-end":"")+(I?" ui-datepicker-other-month":"")+(k.getTime()===_.getTime()&&q===t.selectedMonth&&t._keyEvent||p.getTime()===k.getTime()&&p.getTime()===_.getTime()?" "+this._dayOverClass:"")+(A?" "+this._unselectableClass+" ui-state-disabled":"")+(I&&!u?"":" "+D[1]+(k.getTime()===H.getTime()?" "+this._currentClass:"")+(k.getTime()===M.getTime()?" ui-datepicker-today":""))+"'"+(I&&
vendor: 4,108 bytes, line 1
1!u||!D[2]?"":" title='"+D[2].replace(/'/g,"&#39;")+"'")+(A?"":" data-handler='selectDay' data-event='click' data-month='"+k.getMonth()+"' data-year='"+k.getFullYear()+"'")+">"+(I&&!u?"&#xa0;":A?"<span class='ui-state-default'>"+k.getDate()+"</span>":"<a class='ui-state-default"+(k.getTime()===M.getTime()?" ui-state-highlight":"")+(k.getTime()===H.getTime()?" ui-state-active":"")+(I?" ui-priority-secondary":"")+"' href='#'>"+k.getDate()+"</a>")+"</td>",k.setDate(k.getDate()+1),k=this._daylightSavingAdjust(k);b+=E+"</tr>"}11<++q&&(q=0,W++),v+=b+="</tbody></table>"+(B?"</div>"+(0<F[0]&&y===F[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}f+=v}return f+=R,t._keyEvent=!1,f},_generateMonthYearHeader:function(t,e,i,n,s,r,o,a){var l,d,c,u,h,p,f,m=this._get(t,"changeMonth"),g=this._get(t,"changeYear"),v=this._get(t,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",_="";if(r||!m)_+="<span class='ui-datepicker-month'>"+o[e]+"</span>";else{for(l=n&&n.getFullYear()===i,d=s&&s.getFullYear()===i,_+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;c<12;c++)(!l||c>=n.getMonth())&&(!d||c<=s.getMonth())&&(_+="<option value='"+c+"'"+(c===e?" selected='selected'":"")+">"+a[c]+"</option>");_+="</select>"}if(v||(y+=_+(!r&&m&&g?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",r||!g)y+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(u=this._get(t,"yearRange").split(":"),h=(new Date).getFullYear(),p=(o=function(t){t=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?h+parseInt(t,10):parseInt(t,10);return isNaN(t)?h:t})(u[0]),f=Math.max(p,o(u[1]||"")),p=n?Math.max(p,n.getFullYear()):p,f=s?Math.min(f,s.getFullYear()):f,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";p<=f;p++)t.yearshtml+="<option value='"+p+"'"+(p===i?" selected='selected'":"")+">"+p+"</option>";t.yearshtml+="</select>",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,"yearSuffix"),v&&(y+=(!r&&m&&g?"":"&#xa0;")+_),y+="</div>"},_adjustInstDate:function(t,e,i){var n=t.selectedYear+("Y"===i?e:0),s=t.selectedMonth+("M"===i?e:0),e=Math.min(t.selectedDay,this._getDaysInMonth(n,s))+("D"===i?e:0),e=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,s,e)));t.selectedDay=e.getDate(),t.drawMonth=t.selectedMonth=e.getMonth(),t.drawYear=t.selectedYear=e.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),t=this._getMinMaxDate(t,"max"),e=i&&e<i?i:e;return t&&t<e?t:e},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){t=this._get(t,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var s=this._getNumberOfMonths(t),s=this._daylightSavingAdjust(new Date(i,n+(e<0?e:s[0]*s[1]),1));return e<0&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(t,s)},_isInRange:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),s=null,r=null,o=this._get(t,"yearRange");return o&&(t=o.split(":"),o=(new Date).getFullYear(),s=parseInt(t[0],10),r=parseInt(t[1],10),t[0].match(/[+\-].*/)&&(s+=o),t[1].match(/[+\-].*/)&&(r+=o)),(!i||e.getTime()>=i.getTime())&&(!n||e.getTime()<=n.getTime())&&(!s||e.getFullYear()>=s)&&(!r||e.getFullYear()<=r)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.
vendor: 4,193 bytes, line 1
1selectedYear);e=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),e,this._getFormatConfig(t))}}),T.fn.datepicker=function(t){if(!this.length)return this;T.datepicker.initialized||(T(document).on("mousedown",T.datepicker._checkExternalClick),T.datepicker.initialized=!0),0===T("#"+T.datepicker._mainDivId).length&&T("body").append(T.datepicker.dpDiv);var e=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"===t||"getDate"===t||"widget"===t)||"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?T.datepicker["_"+t+"Datepicker"].apply(T.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?T.datepicker["_"+t+"Datepicker"].apply(T.datepicker,[this].concat(e)):T.datepicker._attachDatepicker(this,t)})},T.datepicker=new J,T.datepicker.initialized=!1,T.datepicker.uuid=(new Date).getTime(),T.datepicker.version="1.14.1";T.datepicker,T.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var nt=!1;T(document).on("mouseup",function(){nt=!1});T.widget("ui.mouse",{version:"1.14.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(t){if(!0===T.data(t.target,e.widgetName+".preventClickEvent"))return T.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!nt){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var e=this,i=1===t.which,n=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&T(t.target).closest(this.options.cancel).length;return i&&!n&&this._mouseCapture(t)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===T.data(t.target,this.widgetName+".preventClickEvent")&&T.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),nt=!0)):!0}},_mouseMove:function(t){if(this._mouseMoved){if(T.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&T.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,nt=!1,t.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}
vendor: 5,743 bytes, line 1
1),T.ui.plugin={add:function(t,e,i){var n,s=T.ui[t].prototype;for(n in i)s.plugins[n]=s.plugins[n]||[],s.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var s,r=t.plugins[e];if(r&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(s=0;s<r.length;s++)t.options[r[s][0]]&&r[s][1].apply(t.element,i)}},T.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&T(t).trigger("blur")};T.widget("ui.draggable",T.ui.mouse,{version:"1.14.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||0<T(t.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(t),!!this.handle&&(this._blurActiveElement(t),this._blockFrames(!0===e.iframeFix?"iframe":e.iframeFix),!0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=T(this);return T("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=T.ui.safeActiveElement(this.document[0]);T(t.target).closest(e).length||T.ui.safeBlur(e)},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),T.ui.ddmanager&&(T.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===T(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),T.ui.ddmanager&&!e.dropBehaviour&&T.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),T.ui.ddmanager&&T.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(t,e){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp(new T.Event("mouseup",t)),!1;this.position=e.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",T.ui.ddmanager&&T.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e=this,i=!1;return T.ui.ddmanager&&!this.options.dropBehaviour&&(i=T.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||T.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?T(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),T.ui.ddmanager&&T.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),T.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new T.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!T(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var e=this.options,i=T.isFunction(e.helper),t=i?T(e.helper.apply(this.element[0],[t])):"clone"===e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"===e.appendTo?this.element[0].parentNode:e.appendTo),i&&t[0]===this.element[0]&&this._setPositionRelative(),t[0]===this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),T.isArray(t)&&(t={left:+t[0],top:+t[1]||0}
vendor: 4,264 bytes, line 1
1),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),e=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==e&&T.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i,n=this.options,s=this.document[0];this.relativeContainer=null,n.containment?"window"!==n.containment?"document"!==n.containment?n.containment.constructor!==Array?("parent"===n.containment&&(n.containment=this.helper[0].parentNode),(i=(e=T(n.containment))[0])&&(t=/(scroll|auto)/.test(e.css("overflow")),this.containment=[(parseInt(e.css("borderLeftWidth"),10)||0)+(parseInt(e.css("paddingLeft"),10)||0),(parseInt(e.css("borderTopWidth"),10)||0)+(parseInt(e.css("paddingTop"),10)||0),(t?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(e.css("borderRightWidth"),10)||0)-(parseInt(e.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(e.css("borderBottomWidth"),10)||0)-(parseInt(e.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=e)):this.containment=n.containment:this.containment=[0,0,T(s).width()-this.helperProportions.width-this.margins.left,(T(s).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[T(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,T(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,T(window).scrollLeft()+T(window).width()-this.helperProportions.width-this.margins.left,T(window).scrollTop()+(T(window).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e=e||this.position;var i="absolute"===t?1:-1,t=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:t?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:t?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,n=this.options,s=this._isRootNode(this.scrollParent[0]),r=t.pageX,o=t.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(i=this.relativeContainer?(i=this.relativeContainer.offset(),[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):this.containment,t.pageX-this.offset.click.left<i[0]&&(r=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(o=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(r=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>
vendor: 1,246 bytes, line 1
1i[3]&&(o=i[3]+this.offset.click.top)),n.grid&&(t=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY,o=!i||t-this.offset.click.top>=i[1]||t-this.offset.click.top>i[3]?t:t-this.offset.click.top>=i[1]?t-n.grid[1]:t+n.grid[1],t=n.grid[0]?this.originalPageX+Math.round((r-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX,r=!i||t-this.offset.click.left>=i[0]||t-this.offset.click.left>i[2]?t:t-this.offset.click.left>=i[0]?t-n.grid[0]:t+n.grid[0]),"y"===n.axis&&(r=this.originalPageX),"x"===n.axis&&(o=this.originalPageY)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,e,i){return i=i||this._uiHash(),T.ui.plugin.call(this,t,[e,i,this],!0),/^(drag|start|stop
vendor: 4,487 bytes, line 1
1)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),T.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),T.ui.plugin.add("draggable","connectToSortable",{start:function(e,t,i){var n=T.extend({},t,{item:i.element});i.sortables=[],T(i.options.connectToSortable).each(function(){var t=T(this).sortable("instance");t&&!t.options.disabled&&(i.sortables.push(t),t.refreshPositions(),t._trigger("activate",e,n))})},stop:function(e,t,i){var n=T.extend({},t,{item:i.element});i.cancelHelperRemoval=!1,T.each(i.sortables,function(){var t=this;t.isOver?(t.isOver=0,i.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,n))})},drag:function(i,n,s){T.each(s.sortables,function(){var t=!1,e=this;e.positionAbs=s.positionAbs,e.helperProportions=s.helperProportions,e.offset.click=s.offset.click,e._intersectsWith(e.containerCache)&&(t=!0,T.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==e&&this._intersectsWith(this.containerCache)&&T.contains(e.element[0],this.element[0])&&(t=!1),t})),t?(e.isOver||(e.isOver=1,s._parent=n.helper.parent(),e.currentItem=n.helper.appendTo(e.element).data("ui-sortable-item",!0),e.options._helper=e.options.helper,e.options.helper=function(){return n.helper[0]},i.target=e.currentItem[0],e._mouseCapture(i,!0),e._mouseStart(i,!0,!0),e.offset.click.top=s.offset.click.top,e.offset.click.left=s.offset.click.left,e.offset.parent.left-=s.offset.parent.left-e.offset.parent.left,e.offset.parent.top-=s.offset.parent.top-e.offset.parent.top,s._trigger("toSortable",i),s.dropped=e.element,T.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,e.fromOutside=s),e.currentItem&&(e._mouseDrag(i),n.position=e.position)):e.isOver&&(e.isOver=0,e.cancelHelperRemoval=!0,e.options._revert=e.options.revert,e.options.revert=!1,e._trigger("out",i,e._uiHash(e)),e._mouseStop(i,!0),e.options.revert=e.options._revert,e.options.helper=e.options._helper,e.placeholder&&e.placeholder.remove(),n.helper.appendTo(s._parent),s._refreshOffsets(i),n.position=s._generatePosition(i,!0),s._trigger("fromSortable",i),s.dropped=!1,T.each(s.sortables,function(){this.refreshPositions()}))})}}),T.ui.plugin.add("draggable","cursor",{start:function(t,e,i){var n=T("body"),i=i.options;n.css("cursor")&&(i._cursor=n.css("cursor")),n.css("cursor",i.cursor)},stop:function(t,e,i){i=i.options;i._cursor&&T("body").css("cursor",i._cursor)}}),T.ui.plugin.add("draggable","opacity",{start:function(t,e,i){e=T(e.helper),i=i.options;e.css("opacity")&&(i._opacity=e.css("opacity")),e.css("opacity",i.opacity)},stop:function(t,e,i){i=i.options;i._opacity&&T(e.helper).css("opacity",i._opacity)}}),T.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,e,i){var n=i.options,s=!1,r=i.scrollParentNotHidden[0],o=i.document[0];r!==o&&"HTML"!==r.tagName?(n.axis&&"x"===n.axis||(i.overflowOffset.top+r.offsetHeight-t.pageY<n.scrollSensitivity?r.scrollTop=s=r.scrollTop+n.scrollSpeed:t.pageY-i.overflowOffset.top<n.scrollSensitivity&&(r.scrollTop=s=r.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(i.overflowOffset.left+r.offsetWidth-t.pageX<n.scrollSensitivity?r.scrollLeft=s=r.scrollLeft+n.scrollSpeed:t.pageX-i.overflowOffset.left<n.scrollSensitivity&&(r.scrollLeft=s=r.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(t.pageY-T(o).scrollTop()<n.scrollSensitivity?s=T(o).scrollTop(T(o).scrollTop()-n.scrollSpeed):T(window).height()-(t.pageY-T(o).scrollTop())<n.scrollSensitivity&&(s=T(o).scrollTop(T(o).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(t.pageX-T(o).scrollLeft()<n.scrollSensitivity?s=T(o).scrollLeft(T(o).scrollLeft()-n.scrollSpeed):T(window).width()-(t.pageX-T(o).scrollLeft())<n.scrollSensitivity&&(s=T(o).scrollLeft(T(o).scrollLeft()+n.scrollSpeed)))),!1!==s&&T.ui.ddmanager&&!n.dropBehaviour&&T.ui.ddmanager.prepareOffsets(i,t)}}
vendor: 11,001 bytes, line 1
1),T.ui.plugin.add("draggable","snap",{start:function(t,e,i){var n=i.options;i.snapElements=[],T(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var t=T(this),e=t.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e,i){for(var n,s,r,o,a,l,d,c,u,h=i.options,p=h.snapTolerance,f=e.offset.left,m=f+i.helperProportions.width,g=e.offset.top,v=g+i.helperProportions.height,y=i.snapElements.length-1;0<=y;y--)l=(a=i.snapElements[y].left-i.margins.left)+i.snapElements[y].width,c=(d=i.snapElements[y].top-i.margins.top)+i.snapElements[y].height,m<a-p||l+p<f||v<d-p||c+p<g||!T.contains(i.snapElements[y].item.ownerDocument,i.snapElements[y].item)?(i.snapElements[y].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,T.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=!1):("inner"!==h.snapMode&&(n=Math.abs(d-v)<=p,s=Math.abs(c-g)<=p,r=Math.abs(a-m)<=p,o=Math.abs(l-f)<=p,n&&(e.position.top=i._convertPositionTo("relative",{top:d-i.helperProportions.height,left:0}).top),s&&(e.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),r&&(e.position.left=i._convertPositionTo("relative",{top:0,left:a-i.helperProportions.width}).left),o&&(e.position.left=i._convertPositionTo("relative",{top:0,left:l}).left)),u=n||s||r||o,"outer"!==h.snapMode&&(n=Math.abs(d-g)<=p,s=Math.abs(c-v)<=p,r=Math.abs(a-f)<=p,o=Math.abs(l-m)<=p,n&&(e.position.top=i._convertPositionTo("relative",{top:d,left:0}).top),s&&(e.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),r&&(e.position.left=i._convertPositionTo("relative",{top:0,left:a}).left),o&&(e.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left)),!i.snapElements[y].snapping&&(n||s||r||o||u)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,T.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=n||s||r||o||u)}}),T.ui.plugin.add("draggable","stack",{start:function(t,e,i){var n,i=i.options,i=T.makeArray(T(i.stack)).sort(function(t,e){return(parseInt(T(t).css("zIndex"),10)||0)-(parseInt(T(e).css("zIndex"),10)||0)});i.length&&(n=parseInt(T(i[0]).css("zIndex"),10)||0,T(i).each(function(t){T(this).css("zIndex",n+t)}),this.css("zIndex",n+i.length))}}),T.ui.plugin.add("draggable","zIndex",{start:function(t,e,i){e=T(e.helper),i=i.options;e.css("zIndex")&&(i._zIndex=e.css("zIndex")),e.css("zIndex",i.zIndex)},stop:function(t,e,i){i=i.options;i._zIndex&&T(e.helper).css("zIndex",i._zIndex)}});T.ui.draggable;T.widget("ui.resizable",T.ui.mouse,{version:"1.14.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(t,e){if("hidden"===T(t).css("overflow"))return!1;var i=e&&"left"===e?"scrollLeft":"scrollTop",e=!1;return 0<t[i]||(t[i]=1,e=0<t[i],t[i]=0,e)},_create:function(){var t,e=this.options,i=this;this._addClass("ui-resizable"),T.extend(this,{_aspectRatio:!!e.aspectRatio,aspectRatio:e.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:e.helper||e.ghost||e.animate?e.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(T("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&T(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();function t(t){T(t).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){this._super(t,e),"handles"===t&&(this._removeHandles(),this._setupHandles())},_setupHandles:function(){var t,e,i,n,s,r=this.options,o=this;if(this.handles=r.handles||(T(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=T(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},e=0;e<i.length;e++)n="ui-resizable-"+(t=T.trim(i[e])),s=T("<div>"),this._addClass(s,"ui-resizable-handle "+n),s.css({zIndex:r.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.append(s);this._renderAxis=function(t){var e,i,n;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=T(this.handles[e]),this._on(this.handles[e],{mousedown:o._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=T(this.handles[e],this.element),n=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,n),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){o.resizing||(this.className&&(s=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=s&&s[1]?s[1]:"se")}),r.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(t){var e,i,n=!1;for(e in this.handles)(i=T(this.handles[e])[0])!==t.target&&!T.contains(i,t.target)||(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var e,i,n=this.options,s=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),n.containment&&(e+=T(n.containment).scrollLeft()||0,i+=T(n.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof n.aspectRatio?n.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=T(".ui-resizable-"+this.axis).css("cursor"),T("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,n=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,n,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),T.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,n,s=this.options,r=this;return this._helper&&(n=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:r.sizeDiff.height,i=e?0:r.sizeDiff.width,e={width:r.helper.width()-i,height:r.helper.height()-n},i=parseFloat(r.element.css("left"))+(r.position.left-r.originalPosition.left)||null,n=parseFloat(r.element.css("top"))+(r.position.top-r.originalPosition.top)||null,s.animate||this.element.css(T.extend(e,{top:n,left:i})),r.helper.height(r.size.height),r.helper.width(r.size.width),this._helper&&!s.animate&&this._proportionallyResize()),T("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,n=this.options,s={minWidth:this._isNumber(n.minWidth)?n.minWidth:0,maxWidth:this._isNumber(n.maxWidth)?n.maxWidth:1/0,minHeight:this._isNumber(n.minHeight)?n.minHeight:0,maxHeight:this._isNumber(n.maxHeight)?n.maxHeight:1/0};(this._aspectRatio||t)&&(e=s.minHeight*this.aspectRatio,i=s.minWidth/this.aspectRatio,n=s.maxHeight*this.aspectRatio,t=s.maxWidth/this.aspectRatio,e>s.minWidth&&(s.minWidth=e),i>s.minHeight&&(s.minHeight=i),n<s.maxWidth&&(s.maxWidth=n),t<s.maxHeight&&(s.maxHeight=t)),this._vBoundaries=s},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left
vendor: 14,195 bytes, line 1
1=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,n=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,n=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,s=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,r=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,o=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,d=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return r&&(t.width=e.minWidth),o&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),s&&(t.height=e.maxHeight),r&&d&&(t.left=a-e.minWidth),n&&d&&(t.left=a-e.maxWidth),o&&i&&(t.top=l-e.minHeight),s&&i&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],n=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],s=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(n[e])||0,i[e]+=parseFloat(s[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,e=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||T("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return T.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return T.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return T.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return T.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){T.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),T.ui.plugin.add("resizable","animate",{stop:function(e){var i=T(this).resizable("instance"),t=i.options,n=i._proportionallyResizeElements,s=n.length&&/textarea/i.test(n[0].nodeName),r=s&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,o=s?0:i.sizeDiff.width,s={width:i.size.width-o,height:i.size.height-r},o=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,r=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(T.extend(s,r&&o?{top:r,left:o}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&T(n[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),T.ui.plugin.add("resizable","containment",{start:function(){var i,n,s=T(this).resizable("instance"),t=s.options,e=s.element,r=t.containment,o=r instanceof T?r.get(0):/parent/.test(r)?e.parent().get(0):r;o&&(s.containerElement=T(o),/document/.test(r)||r===document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:T(document),left:0,top:0,width:T(document).width(),height:T(document).height()||document.body.parentNode.scrollHeight}):(i=T(o),n=[],T(["Top","Right","Left","Bottom"]).each(function(t,e){n[t]=s._num(i.css("padding"+e))}),s.containerOffset=i.offset(),s.containerPosition=i.position(),s.containerSize={height:i.innerHeight()-n[3],width:i.innerWidth()-n[1]},t=s.containerOffset,e=s.containerSize.height,r=s.containerSize.width,r=s._hasScroll(o,"left")?o.scrollWidth:r,e=s._hasScroll(o)?o.scrollHeight:e,s.parentData={element:o,left:t.left,top:t.top,width:r,height:e}))},resize:function(t){var e=T(this).resizable("instance"),i=e.options,n=e.containerOffset,s=e.position,r=e._aspectRatio||t.shiftKey,o={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(o=n),s.left<(e._helper?n.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-n.left:e.position.left-o.left),r&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?n.left:0),s.top<(e._helper?n.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-n.top:e.position.top),r&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?n.top:0),i=e.containerElement.get(0)===e.element.parent().get(0),s=/relative|absolute/.test(e.containerElement.css("position")),i&&s?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),s=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-o.left:e.offset.left-n.left)),n=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-o.top:e.offset.top-n.top)),s+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-s,r&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),n+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-n,r&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=T(this).resizable("instance"),e=t.options,i=t.containerOffset,n=t.containerPosition,s=t.containerElement,r=T(t.helper),o=r.offset(),a=r.outerWidth()-t.sizeDiff.width,r=r.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(s.css("position"))&&T(this).css({left:o.left-n.left-i.left,width:a,height:r}),t._helper&&!e.animate&&/static/.test(s.css("position"))&&T(this).css({left:o.left-n.left-i.left,width:a,height:r})}}),T.ui.plugin.add("resizable","alsoResize",{start:function(){var t=T(this).resizable("instance").options;T(t.alsoResize).each(function(){var t=T(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=T(this).resizable("instance"),n=e.options,s=e.originalSize,r=e.originalPosition,o={height:e.size.height-s.height||0,width:e.size.width-s.width||0,top:e.position.top-r.top||0,left:e.position.left-r.left||0};T(n.alsoResize).each(function(){var t=T(this),n=T(this).data("ui-resizable-alsoresize"),s={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];T.each(e,function(t,e){var i=(n[e]||0)+(o[e]||0);i&&0<=i&&(s[e]=i||null)}),t.css(s)})},stop:function(){T(this).removeData("ui-resizable-alsoresize")}}),T.ui.plugin.add("resizable","ghost",{start:function(){var t=T(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==T.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=T(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=T(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),T.ui.plugin.add("resizable","grid",{resize:function(){var t,e=T(this).resizable("instance"),i=e.options,n=e.size,s=e.originalSize,r=e.originalPosition,o=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=a[0]||1,d=a[1]||1,c=Math.round((n.width-s.width)/l)*l,u=Math.round((n.height-s.height)/d)*d,h=s.width+c,p=s.height+u,f=i.maxWidth&&i.maxWidth<h,m=i.maxHeight&&i.maxHeight<p,g=i.minWidth&&i.minWidth>h,n=i.minHeight&&i.minHeight>p;i.grid=a,g&&(h+=l),n&&(p+=d),f&&(h-=l),m&&(p-=d),/^(se|s|e)$/.test(o)?(e.size.width=h,e.size.height=p):/^(ne)$/.test(o)?(e.size.width=h,e.size.height=p,e.position.top=r.top-u):/^(sw)$/.test(o)?(e.size.width=h,e.size.height=p,e.position.left=r.left-c):((p-d<=0||h-l<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0<p-d?(e.size.height=p,e.position.top=r.top-u):(p=d-t.height,e.size.height=p,e.position.top=r.top+s.height-p),0<h-l?(e.size.width=h,e.position.left=r.left-c):(h=l-t.width,e.size.width=h,e.position.left=r.left+s.width-h))}});T.ui.resizable;T.widget("ui.dialog",{version:"1.14.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var e=T(this).css(t).offset().top;e<0&&T(this).css("top",t.top-e)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&T.fn.draggable&&this._makeDraggable(),this.options.resizable&&T.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?T(t):this.document.find(t||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:T.noop,enable:T.noop,close:function(t){var e=this;this._isOpen&&!1!==this._trigger("beforeClose",t)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||T.ui.safeBlur(T.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){e._trigger("close",t)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!1,n=this.uiDialog.siblings(".ui-front:visible").map(function(){return+T(this).css("z-index")}).get(),n=Math.max.apply(null,n);return n>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",n+1),i=!0),i&&!e&&this._trigger("focus",t),i},open:function(){var t=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=T(T.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;(t=t||this.element.find("[autofocus]")).length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).trigger("focus")},_keepFocus:function(t){function e(){var t=T.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===t||T.contains(this.uiDialog[0],t)||this._focusTabbable()}t.preventDefault(),e.call(this),this._delay(e)},_createWrapper:function(){this.uiDialog=T("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===T.ui.keyCode.ESCAPE)return t.preventDefault(),void this.close(t);var e,i,n;
vendor: 13,859 bytes, line 1
1t.keyCode!==T.ui.keyCode.TAB||t.isDefaultPrevented()||(e=this.uiDialog.find(":tabbable"),i=e.filter(":first"),n=e.filter(":last"),t.target!==n[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==i[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay(function(){n.trigger("focus")}),t.preventDefault()):(this._delay(function(){i.trigger("focus")}),t.preventDefault()))},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=T("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(t){T(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=T("<button type='button'></button>").button({label:T("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),t=T("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,"ui-dialog-title"),this._title(t),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=T("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=T("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var n=this,t=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),T.isEmptyObject(t)||T.isArray(t)&&!t.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(T.each(t,function(t,e){var i;e=T.isFunction(e)?{click:e,text:t}:e,e=T.extend({type:"button"},e),i=e.click,t={icon:e.icon,iconPosition:e.iconPosition,showLabel:e.showLabel,icons:e.icons,text:e.text},delete e.click,delete e.icon,delete e.iconPosition,delete e.showLabel,delete e.icons,"boolean"==typeof e.text&&delete e.text,T("<button></button>",e).button(t).appendTo(n.uiButtonSet).on("click",function(){i.apply(n.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var s=this,r=this.options;function o(t){return{position:t.position,offset:t.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(t,e){s._addClass(T(this),"ui-dialog-dragging"),s._blockFrames(),s._trigger("dragStart",t,o(e))},drag:function(t,e){s._trigger("drag",t,o(e))},stop:function(t,e){var i=e.offset.left-s.document.scrollLeft(),n=e.offset.top-s.document.scrollTop();r.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=n?"+":"")+n,of:s.window},s._removeClass(T(this),"ui-dialog-dragging"),s._unblockFrames(),s._trigger("dragStop",t,o(e))}})},_makeResizable:function(){var s=this,r=this.options,t=r.resizable,e=this.uiDialog.css("position"),t="string"==typeof t?t:"n,e,s,w,se,sw,ne,nw";function o(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:r.maxWidth,maxHeight:r.maxHeight,minWidth:r.minWidth,minHeight:this._minHeight(),handles:t,start:function(t,e){s._addClass(T(this),"ui-dialog-resizing"),s._blockFrames(),s._trigger("resizeStart",t,o(e))},resize:function(t,e){s._trigger("resize",t,o(e))},stop:function(t,e){var i=s.uiDialog.offset(),n=i.left-s.document.scrollLeft(),i=i.top-s.document.scrollTop();r.height=s.uiDialog.height(),r.width=s.uiDialog.width(),r.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=i?"+":"")+i,of:s.window},s._removeClass(T(this),"ui-dialog-resizing"),s._unblockFrames(),s._trigger("resizeStop",t,o(e))}}).css("position",e)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=T(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),e=T.inArray(this,t);-1!==e&&t.splice(e,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(t){var i=this,n=!1,s={};T.each(t,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(n=!0),t in i.resizableRelatedOptions&&(s[t]=e)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,e){var i,n=this.uiDialog;"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:T("<a>").text(""+this.options.closeText).html()}),"draggable"===t&&((i=n.is(":data(ui-draggable)"))&&!e&&n.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&((i=n.is(":data(ui-resizable)"))&&!e&&n.resizable("destroy"),i&&"string"==typeof e&&n.resizable("option","handles",e),i||!1===e||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),e=Math.max(0,n.minHeight-t),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-t):"none","auto"===n.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var t=T(this);return T("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!T(t.target).closest(".ui-dialog").length||!!T(t.target).closest(".ui-datepicker").length},_createOverlay:function(){var e;this.options.modal&&(e=!0,this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=T("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1))},_destroyOverlay:function(){var t;this.options.modal&&this.overlay&&((t=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",t):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null)}}),!1!==T.uiBackCompat&&T.widget("ui.dialog",T.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}});T.ui.dialog;T.widget("ui.droppable",{version:"1.14.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept=T.isFunction(i)?i:function(t){return t.is(i)},this.proportions=function(){if(!arguments.length)return t||(t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});t=arguments[0]},this._addToManager(e.scope),e.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){T.ui.ddmanager.droppables[t]=T.ui.ddmanager.droppables[t]||[],T.ui.ddmanager.droppables[t].push(this)},_splice:function(t){for(var e=0;e<t.length;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var t=T.ui.ddmanager.droppables[this.options.scope];this._splice(t)},_setOption:function(t,e){var i;"accept"===t?this.accept=T.isFunction(e)?e:function(t){return t.is(e)}:"scope"===t&&(i=T.ui.ddmanager.droppables[this.options.scope],this._splice(i),this._addToManager(e)),this._super(t,e)},_activate:function(t){var e=T.ui.ddmanager.current;this._addActiveClass(),e&&this._trigger("activate",t,this.ui(e))},_deactivate:function(t){var e=T.ui.ddmanager.current;this._removeActiveClass(),e&&this._trigger("deactivate",t,this.ui(e))},_over:function(t){var e=T.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(e)))},_out:function(t){var e=T.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(e)))},_drop:function(e,t){var i=t||T.ui.ddmanager.current,n=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var t=T(this).droppable("instance");if(t.options.greedy&&!t.options.disabled&&t.options.scope===i.options.scope&&t.accept.call(t.element[0],i.currentItem||i.element)&&st(i,T.extend(t,{offset:t.element.offset()}),t.options.tolerance,e))return!(n=!0)}),!n&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(i)),this.element)))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var st=T.ui.intersect=function(t,e,i,n){if(!e.offset)return!1;var s=(t.positionAbs||t.position.absolute).left+t.margins.left,r=(t.positionAbs||t.position.absolute).top+t.margins.top,o=s+t.helperProportions.width,a=r+t.helperProportions.height,l=e.offset.left,d=e.offset.top,c=l+e.proportions().width,u=d+e.proportions().height;switch(i){case"fit":return l<=s&&o<=c&&d<=r&&a<=u;case"intersect":return l<s+t.helperProportions.width/2&&o-t.helperProportions.width/2<c&&d<r+t.helperProportions.height/2&&a-t.helperProportions.height/2<u;case"pointer":return rt(n.pageY,d,e.proportions().height)&&rt(n.pageX,l,e.proportions().width);case"touch":return(d<=r&&r<=u||d<=a&&a<=u||r<d&&u<a)&&(l<=s&&s<=c||l<=o&&o<=c||s<l&&c<o);default:return!1}};function rt(t,e,i){return e<=t&&t<e+i}!(T.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,e){var i,n,s=T.ui.ddmanager.droppables[t.options.scope]||[],r=e?e.type:null,o=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();t:for(i=0;i<s.length;i++)if(!(s[i].options.disabled||t&&!s[i].accept.call(s[i].element[0],t.currentItem||t.element))){for(n=0;n<o.length;n++)if(o[n]===s[i].element[0]){s[i].proportions().height=0;continue t}s[i].visible="none"!==s[i].element.css("display"),s[i].visible&&("mousedown"===r&&s[i]._activate.call(s[i],e),s[i].offset=s[i].element.offset(),s[i].proportions({width:s[i].element[0].offsetWidth,height:s[i].element[0].offsetHeight}))}},drop:function(t,e){var i=!1;return T.each((T.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&st(t,this,this.options.tolerance,e)&&(i=this._drop.call(this,e)||i),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,e)))}),i},dragStart:function(t,e){t.element.parentsUntil("body").on("scroll.droppable",function(){t.options.refreshPositions||T.ui.ddmanager.prepareOffsets(t,e)})},drag:function(s,r){s.options.refreshPositions&&T.ui.ddmanager.prepareOffsets(s,r),T.each(T.ui.ddmanager.droppables[s.options.scope]||[],function(){var t,e,i,n;this.options.disabled||this.greedyChild||!this.visible||(n=!(i=st(s,this,this.options.tolerance,r))&&this.isover?"isout":i&&!this.isover?"isover":null)&&(this.options.greedy&&(e=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return T(this).droppable("instance").options.scope===e})).length&&((t=T(i[0]).droppable("instance")).greedyChild="isover"===n)),t&&"isover"===n&&(t.isover=!1,t.isout=!0,t._out.call(t,r)),this[n]=!0,this["isout"===n?"isover":"isout"]=!1,this["isover"===n?"_over":"_out"].call(this,r),t&&"isout"===n&&(t.isout=!1,t.isover=!0,t._over.call(t,r)))})},dragStop:function(t,e){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||T.ui.ddmanager.prepareOffsets(t,e)}})!==T.uiBackCompat&&T.widget("ui.droppable",T.ui.droppable,{options:{hoverClass:!1,activeClass:!1}
vendor: 5,117 bytes, line 1
1,_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});T.ui.droppable,T.widget("ui.progressbar",{version:"1.14.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=T("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){if(void 0===t)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,e=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).width(e.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,t===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=T("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}}),T.widget("ui.selectable",T.ui.mouse,{version:"1.14.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var i=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){i.elementPos=T(i.element[0]).offset(),i.selectees=T(i.options.filter,i.element[0]),i._addClass(i.selectees,"ui-selectee"),i.selectees.each(function(){var t=T(this),e=t.offset(),e={left:e.left-i.elementPos.left,top:e.top-i.elementPos.top};T.data(this,"selectable-item",{element:this,$element:t,left:e.left,top:e.top,right:e.left+t.outerWidth(),bottom:e.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=T("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(i){var n=this,t=this.options;this.opos=[i.pageX,i.pageY],this.elementPos=T(this.element[0]).offset(),this.options.disabled||(this.selectees=T(t.filter,this.element[0]),this._trigger("start",i),T(t.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),t.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var t=T.data(this,"selectable-item");t.startselected=!0,i.metaKey||i.ctrlKey||(n._removeClass(t.$element,"ui-selected"),t.selected=!1,n._addClass(t.$element,"ui-unselecting"),t.unselecting=!0,n._trigger("unselecting",i,{unselecting:t.element}))}),T(i.target).parents().addBack().each(function(){var t,e=T.data(this,"selectable-item");if(e)return t=!i.metaKey&&!i.ctrlKey||!e.$element.hasClass("ui-selected"),n._removeClass(e.$element,t?"ui-unselecting":"ui-selected")._addClass(e.$element,t?"ui-selecting":"ui-unselecting"),e.unselecting=!t,e.selecting=t,(e.selected=t)?n._trigger("selecting",i,{selecting:e.element}):n._trigger("unselecting",i,{unselecting:e.element}),!1}))},_mouseDrag:function(n){if(this.dragged=!0,!this.options.disabled){var t,s=this,r=this.options,o=this.opos[0],a=this.opos[1],l=n.pageX,d=n.pageY;return l<o&&(t=l,l=o,o=t),d<a&&(t=d,d=a,a=t),this.helper.css({left:o,top:a,width:l-o,height:d-a}),this.selectees.each(function(){var t=T.data(this,"selectable-item"),e=!1,i={};
vendor: 6,763 bytes, line 1
1t&&t.element!==s.element[0]&&(i.left=t.left+s.elementPos.left,i.right=t.right+s.elementPos.left,i.top=t.top+s.elementPos.top,i.bottom=t.bottom+s.elementPos.top,"touch"===r.tolerance?e=!(i.left>l||i.right<o||i.top>d||i.bottom<a):"fit"===r.tolerance&&(e=i.left>o&&i.right<l&&i.top>a&&i.bottom<d),e?(t.selected&&(s._removeClass(t.$element,"ui-selected"),t.selected=!1),t.unselecting&&(s._removeClass(t.$element,"ui-unselecting"),t.unselecting=!1),t.selecting||(s._addClass(t.$element,"ui-selecting"),t.selecting=!0,s._trigger("selecting",n,{selecting:t.element}))):(t.selecting&&((n.metaKey||n.ctrlKey)&&t.startselected?(s._removeClass(t.$element,"ui-selecting"),t.selecting=!1,s._addClass(t.$element,"ui-selected"),t.selected=!0):(s._removeClass(t.$element,"ui-selecting"),t.selecting=!1,t.startselected&&(s._addClass(t.$element,"ui-unselecting"),t.unselecting=!0),s._trigger("unselecting",n,{unselecting:t.element}))),t.selected&&(n.metaKey||n.ctrlKey||t.startselected||(s._removeClass(t.$element,"ui-selected"),t.selected=!1,s._addClass(t.$element,"ui-unselecting"),t.unselecting=!0,s._trigger("unselecting",n,{unselecting:t.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,T(".ui-unselecting",this.element[0]).each(function(){var t=T.data(this,"selectable-item");i._removeClass(t.$element,"ui-unselecting"),t.unselecting=!1,t.startselected=!1,i._trigger("unselected",e,{unselected:t.element})}),T(".ui-selecting",this.element[0]).each(function(){var t=T.data(this,"selectable-item");i._removeClass(t.$element,"ui-selecting")._addClass(t.$element,"ui-selected"),t.selecting=!1,t.selected=!0,t.startselected=!0,i._trigger("selected",e,{selected:t.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),T.widget("ui.selectmenu",[T.ui.formResetMixin,{version:"1.14.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var t=this.element.uniqueId().attr("id");this.ids={element:t,button:t+"-button",menu:t+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=T()},_drawButton:function(){var t,e=this,i=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(t){this.button.focus(),t.preventDefault()}}),this.element.hide(),this.button=T("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),t=T("<span>").appendTo(this.button),this._addClass(t,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(i).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){e._rendered||e._refreshMenu()})},_drawMenu:function(){var i=this;this.menu=T("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=T("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,e){t.preventDefault(),i._setSelection(),i._select(e.item.data("ui-selectmenu-item"),t)},focus:function(t,e){e=e.item.data("ui-selectmenu-item");null!=i.focusIndex&&e.index!==i.focusIndex&&(i._trigger("focus",t,{item:e}),i.isOpen||i._select(e,t)),i.focusIndex=e.index,i.button.attr("aria-activedescendant",i.menuItems.eq(e.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var t=this.element.find("option");this.menu.empty(),this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,t.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(T.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(t){var e=T("<span>");return this._setText(e,t.label),this._addClass(e,"ui-selectmenu-text"),e},_renderMenu:function(n,t){var s=this,r="";T.each(t,function(t,e){var i;e.optgroup!==r&&(i=T("<li>",{text:e.optgroup}),s._addClass(i,"ui-selectmenu-optgroup","ui-menu-divider"+(e.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),i.appendTo(n),r=e.optgroup),s._renderItemData(n,e)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(t,e){var i=T("<li>"),n=T("<div>",{title:e.element.attr("title")});return e.disabled&&this._addClass(i,null,"ui-state-disabled"),this._setText(n,e.label),i.append(n).appendTo(t)},_setText:function(t,e){e?t.text(e):t.html("&#160;")},_move:function(t,e){var i,n=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),n+=":not(.ui-state-disabled)"),(n="first"===t||"last"===t?i["first"===t?"prevAll":"nextAll"](n).eq(-1):i[t+"All"](n).eq(0)).length&&this.menuInstance.focus(e,n)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")}
vendor: 4,320 bytes, line 1
1,_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?((t=window.getSelection()).removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(t){this.isOpen&&(T(t.target).closest(".ui-selectmenu-menu, #"+T.ui.escapeSelector(this.ids.button)).length||this.close(t))}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection()).rangeCount&&(this.range=t.getRangeAt(0)):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(t){var e=!0;switch(t.keyCode){case T.ui.keyCode.TAB:case T.ui.keyCode.ESCAPE:this.close(t),e=!1;break;case T.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case T.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case T.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;case T.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);break;case T.ui.keyCode.LEFT:this._move("prev",t);break;case T.ui.keyCode.RIGHT:this._move("next",t);break;case T.ui.keyCode.HOME:case T.ui.keyCode.PAGE_UP:this._move("first",t);break;case T.ui.keyCode.END:case T.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.trigger(t),e=!1}e&&t.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==i&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){t=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(t,e){var i;"icons"===t&&(i=this.button.find("span.ui-icon"),this._removeClass(i,null,this.options.icons.button)._addClass(i,null,e.button)),this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var t=this.options.appendTo;return(t=t&&(t.jquery||t.nodeType?T(t):this.document.find(t).eq(0)))&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;!1!==t?(null===t&&(t=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(t)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(t){var i=this,n=[];t.each(function(t,e){n.push(i._parseOption(T(e),t))}),this.items=n},_parseOption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),T.widget("ui.slider",T.ui.mouse,{version:"1.14.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null}
vendor: 4,687 bytes, line 1
1,numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,e=this.options,i=this.element.find(".ui-slider-handle"),n=[],s=e.values&&e.values.length||1;for(i.length>s&&(i.slice(s).remove(),i=i.slice(0,s)),t=i.length;t<s;t++)n.push("<span tabindex='0'></span>");this.handles=i.add(T(n.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(t){T(this).data("ui-slider-handle-index",t).attr("tabIndex",0)})},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:T.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=T("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==t.range&&"max"!==t.range||this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var i,n,s,r,e,o,a=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),o={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(o),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var e=Math.abs(i-a.values(t));(e<n||n===e&&(t===a._lastChangedValue||a.values(t)===l.min))&&(n=e,s=T(this),r=t)}),!1!==this._start(t,r)&&(this._mouseSliding=!0,this._handleIndex=r,this._addClass(s,null,"ui-state-active"),s.trigger("focus"),e=s.offset(),o=!T(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=o?{left:0,top:0}:{left:t.pageX-e.left-s.width()/2,top:t.pageY-e.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,r,i),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},e=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,e),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,t="horizontal"===this.orientation?(e=this.elementSize.width,t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),t=t/e;return 1<t&&(t=1),t<0&&(t=0),"vertical"===this.orientation&&(t=1-t),e=this._valueMax()-this._valueMin(),e=this._valueMin()+t*e,this._trimAlignValue(e)},_uiHash:function(t,e,i){var n={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==e?e:this.values(t),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var n,s=this.value(),r=this.values();this._hasMultipleValues()&&(n=this.values(e?0:1),s=this.values(e),2===this.options.values.length&&!0===this.options.range&&(i=0===e?Math.min(n,i):Math.max(n,i)),r[e]=i),i!==s&&!1!==this._trigger("slide",t,this._uiHash(e,i,r))&&(this._hasMultipleValues()?this.values(e,i):this.value(i))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value(
vendor: 4,834 bytes, line 1
1)},values:function(t,e){var i,n,s;if(1<arguments.length)return this.options.values[t]=this._trimAlignValue(e),this._refreshValue(),void this._change(null,t);if(!arguments.length)return this._values();if(!T.isArray(t))return this._hasMultipleValues()?this._values(t):this.value();for(i=this.options.values,n=t,s=0;s<i.length;s+=1)i[s]=this._trimAlignValue(n[s]),this._change(null,s);this._refreshValue()},_setOption:function(t,e){var i,n=0;switch("range"===t&&!0===this.options.range&&("min"===e?(this.options.value=this._values(0),this.options.values=null):"max"===e&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),T.isArray(this.options.values)&&(n=this.options.values.length),this._super(t,e),t){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(e),this.handles.css("horizontal"===e?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=n-1;0<=i;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,n;if(arguments.length)return e=this.options.values[t],this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=0<this.options.step?this.options.step:1,i=(t-this._valueMin())%e,t=t-i;return 2*Math.abs(i)>=e&&(t+=0<i?e:-e),parseFloat(t.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step;(t=Math.round((t-e)/i)*i+e)>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,i,t,n,s,r=this.options.range,o=this.options,a=this,l=!this._animateOff&&o.animate,d={};this._hasMultipleValues()?this.handles.each(function(t){i=(a.values(t)-a._valueMin())/(a._valueMax()-a._valueMin())*100,d["horizontal"===a.orientation?"left":"bottom"]=i+"%",T(this).stop(1,1)[l?"animate":"css"](d,o.animate),!0===a.options.range&&("horizontal"===a.orientation?(0===t&&a.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},o.animate),1===t&&a.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:o.animate})):(0===t&&a.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},o.animate),1===t&&a.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:o.animate}))),e=i}):(t=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(t-n)/(s-n)*100:0,d["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](d,o.animate),"min"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},o.animate),"max"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-i+"%"},o.animate),"min"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},o.animate),"max"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-i+"%"},o.animate))},_handleEvents:{keydown:function(t){var e,i,n,s=T(t.target).data("ui-slider-handle-index");switch(t.keyCode){case T.ui.keyCode.HOME:case T.ui.keyCode.END:case T.ui.keyCode.PAGE_UP:case T.ui.keyCode.PAGE_DOWN:case T.ui.keyCode.UP:case T.ui.keyCode.RIGHT:case T.ui.keyCode.DOWN:case T.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(T(t.target),null,"ui-state-active"),!1===this._start(t,s)))return}switch(n=this.options.step,e=i=this._hasMultipleValues()?this.values(s):this.value(),t.keyCode){case T.ui.keyCode.HOME:i=this._valueMin();break;case T.ui.keyCode.END:i=this._valueMax();break;case T.ui.keyCode.PAGE_UP:i=this._trimAlignValue(e+(this._valueMax()-this._valueMin())/this.numPages);break;
vendor: 7,224 bytes, line 1
1case T.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(e-(this._valueMax()-this._valueMin())/this.numPages);break;case T.ui.keyCode.UP:case T.ui.keyCode.RIGHT:if(e===this._valueMax())return;i=this._trimAlignValue(e+n);break;case T.ui.keyCode.DOWN:case T.ui.keyCode.LEFT:if(e===this._valueMin())return;i=this._trimAlignValue(e-n)}this._slide(t,s,i)},keyup:function(t){var e=T(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,e),this._change(t,e),this._removeClass(T(t.target),null,"ui-state-active"))}}}),T.widget("ui.sortable",T.ui.mouse,{version:"1.14.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return e<=t&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),T.each(this.items,function(){t._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,e){var i=null,n=!1,s=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),T(t.target).parents().each(function(){if(T.data(this,s.widgetName+"-item")===s)return i=T(this),!1}),T.data(t.target,s.widgetName+"-item")===s&&(i=T(t.target)),!!i&&(!(this.options.handle&&!e&&(T(this.options.handle,i).find("*").addBack().each(function(){this===t.target&&(n=!0)}),!n))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,e,i){var n,s,r=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},T.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,r.cursorAt&&this._adjustOffsetFromHelper(r.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),r.containment&&this._setContainment(),r.cursor&&"auto"!==r.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",r.cursor),this.storedStylesheet=T("<style>*{ cursor: "+r.cursor+" !important; }</style>").appendTo(s)),r.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",r.opacity)),r.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",r.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",t,this._uiHash(this));return T.ui.ddmanager&&(T.ui.ddmanager.current=this),T.ui.ddmanager&&!r.dropBehaviour&&T.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var e,i,n,s,r=this.options,o=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<r.scrollSensitivity?this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop+r.scrollSpeed:t.pageY-this.overflowOffset.top<r.scrollSensitivity&&(this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop-r.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<r.scrollSensitivity?this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft+r.scrollSpeed:t.pageX-this.overflowOffset.left<r.scrollSensitivity&&(this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft-r.scrollSpeed)):(t.pageY-this.document.scrollTop()<r.scrollSensitivity?o=this.document.scrollTop(this.document.scrollTop()-r.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<r.scrollSensitivity&&(o=this.document.scrollTop(this.document.scrollTop()+r.scrollSpeed)),t.pageX-this.document.scrollLeft()<r.scrollSensitivity?o=this.document.scrollLeft(this.document.scrollLeft()-r.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<r.scrollSensitivity&&(o=this.document.scrollLeft(this.document.scrollLeft()+r.scrollSpeed))),!1!==o&&T.ui.ddmanager&&!r.dropBehaviour&&T.ui.ddmanager.prepareOffsets(this,t)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),e=this.items.length-1;0<=e;e--)if(n=(i=this.items[e]).item[0],(s=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(n===this.currentItem[0]||this.placeholder[1===s?"next":"prev"]()[0]===n||T.contains(this.placeholder[0],n)||"semi-dynamic"===this.options.type&&T.contains(this.element[0],n))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(t,i),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),T.ui.ddmanager&&T.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){var i,n,s,r;if(t)return T.ui.ddmanager&&!this.options.dropBehaviour&&T.ui.ddmanager.drop(this,t),this.options.revert?(n=(i=this).placeholder.offset(),r={},(s=this.options.axis)&&"x"!==s||(r.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(r.to
vendor: 5,141 bytes, line 1
1p=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,T(this.helper).animate(r,parseInt(this.options.revert,10)||500,function(){i._clear(t)})):this._clear(t,e),!1},cancel:function(){if(this.dragging){this._mouseUp(new T.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;0<=t;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),T.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?T(this.domPosition.prev).after(this.currentItem):T(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},T(t).each(function(){var t=(T(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);t&&i.push((e.key||t[1]+"[]")+"="+(e.key&&e.expression?t[1]:t[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},e.each(function(){i.push(T(t.item||this).attr(t.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,r=t.left,o=r+t.width,a=t.top,l=a+t.height,d=this.offset.click.top,c=this.offset.click.left,d="x"===this.options.axis||a<n+d&&n+d<l,c="y"===this.options.axis||r<e+c&&e+c<o,c=d&&c;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?c:r<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<o&&a<n+this.helperProportions.height/2&&s-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),t="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!e||!t)&&(e=this._getDragVerticalDirection(),t=this._getDragHorizontalDirection(),this.floating?"right"===t||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),t=this._getDragHorizontalDirection();return this.floating&&t?"right"===t&&i||"left"===t&&!i:n&&("down"===n&&e||"up"===n&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!=t&&(0<t?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!=t&&(0<t?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){var e,i,n,s,r=[],o=[],a=this._connectWith();if(a&&t)for(e=a.length-1;0<=e;e--)for(i=(n=T(a[e],this.document[0])).length-1;0<=i;i--)(s=T.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&o.push([T.isFunction(s.options.items)?s.options.items.call(s.element):T(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s]);function l(){r.push(this)}for(o.push([T.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):T(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),e=o.length-1;0<=e;e--)o[e][0].each(l);return T(r)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=T.grep(this.items,function(t){for(var e=0;e<i.length;e++)if(i[e]===t.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var e,i,n,s,r,o,a,l,d=this.items,c=[[T.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):T(this.options.items,this.element),this]],u=this._connectWith();if(u&&this.ready)for(e=u.length-1;0<=e;e--)for(i=(n=T(u[e],this.document[0])).length-1;0<=i;i--)(s=T.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&(c.push([T.isFunction(s.options.items)?s.options.items.call(s.element[0],t,{item:this.currentItem}):T(s.options.items,s.element),s]),this.containers.push(s));for(e=c.length-1;0<=e;e--)for(r=c[e][1],i=0,l=(o=c[e][0]).length;i<l;
vendor: 1,780 bytes, line 1
1i++)(a=T(o[i])).data(this.widgetName+"-item",r),d.push({item:a,instance:r,width:0,height:0,left:0,top:0})},refreshPositions:function(t){var e,i,n,s;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),e=this.items.length-1;0<=e;e--)(i=this.items[e]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?T(this.options.toleranceElement,i.item):i.item,t||(i.width=n.outerWidth(),i.height=n.outerHeight()),s=n.offset(),i.left=s.left,i.top=s.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;0<=e;e--)s=this.containers[e].element.offset(),this.containers[e].containerCache.left=s.left,this.containers[e].containerCache.top=s.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(i){var n,s=(i=i||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,s.placeholder={element:function(){var t=i.currentItem[0].nodeName.toLowerCase(),e=T("<"+t+">",i.document[0]);return i._addClass(e,"ui-sortable-placeholder",n||i.currentItem[0].className)._removeClass(e,"ui-sortable-helper"),"tbody"===t?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),T("<tr>",i.document[0]).appendTo(e)):"tr"===t?i._createTrPlaceholder(i.currentItem,e):"img"===t&&e.attr("src",i.currentItem.attr("src")),n||e.css("visibility","hidden"),e},update:function(t,e){n&&!s.forcePlaceholderSize||(e.height()||e.height(i.currentItem.innerHe
vendor: 7,727 bytes, line 1
1ight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width()||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=T(s.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),s.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(t,e){var i=this;t.children().each(function(){T("<td>&#160;</td>",i.document[0]).attr("colspan",T(this).attr("colspan")||1).appendTo(e)})},_contactContainers:function(t){for(var e,i,n,s,r,o,a,l,d,c=null,u=null,h=this.containers.length-1;0<=h;h--)T.contains(this.currentItem[0],this.containers[h].element[0])||(this._intersectsWith(this.containers[h].containerCache)?c&&T.contains(this.containers[h].element[0],c.element[0])||(c=this.containers[h],u=h):this.containers[h].containerCache.over&&(this.containers[h]._trigger("out",t,this._uiHash(this)),this.containers[h].containerCache.over=0));if(c)if(1===this.containers.length)this.containers[u].containerCache.over||(this.containers[u]._trigger("over",t,this._uiHash(this)),this.containers[u].containerCache.over=1);else{for(i=1e4,n=null,s=(l=c.floating||this._isFloating(this.currentItem))?"left":"top",r=l?"width":"height",d=l?"pageX":"pageY",e=this.items.length-1;0<=e;e--)T.contains(this.containers[u].element[0],this.items[e].item[0])&&this.items[e].item[0]!==this.currentItem[0]&&(o=this.items[e].item.offset()[s],a=!1,t[d]-o>this.items[e][r]/2&&(a=!0),Math.abs(t[d]-o)<i&&(i=Math.abs(t[d]-o),n=this.items[e],this.direction=a?"up":"down"));(n||this.options.dropOnEmpty)&&(this.currentContainer!==this.containers[u]?(n?this._rearrange(t,n,null,!0):this._rearrange(t,null,this.containers[u].element,!0),this._trigger("change",t,this._uiHash()),this.containers[u]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[u],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[u]._trigger("over",t,this._uiHash(this)),this.containers[u].containerCache.over=1):this.currentContainer.containerCache.over||(this.containers[u]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1))}},_createHelper:function(t){var e=this.options,t=T.isFunction(e.helper)?T(e.helper.apply(this.element[0],[t,this.currentItem])):"clone"===e.helper?this.currentItem.clone():this.currentItem;return t.parents("body").length||T("parent"!==e.appendTo?e.appendTo:this.currentItem[0].parentNode)[0].appendChild(t[0]),t[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),t[0].style.width&&!e.forceHelperSize||t.width(this.currentItem.width()),t[0].style.height&&!e.forceHelperSize||t.height(this.currentItem.height()),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),T.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&T.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&T.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(t=T(i.containment)[0],e=T(i.containment).offset(),i="hidden"!==T(t).css("overflow"),this.containment=[e.left+(parseInt(T(t).css("borderLeftWidth"),10)||0)+(parseInt(T(t).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(T(t).css("borderTopWidth"),10)||0)+(parseInt(T(t).css("paddingTop"),10)||0)-this.margins.top,e.left+(i?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(T(t).css("borderLeftWidth"),10)||0)-(parseInt(T(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(i?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(T(t).css("borderTopWidth"),10)||0)-(parseInt(T(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,e){e=e||this.position;var i="absolute"===t?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&T.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,t=/(html|body)/i.test(n[0].tagName);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():t?0:n.scrollTop())*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():t?0:n.scrollLeft())*i}},_generatePosition:function(t){var e=this.options,i=t.pageX,n=t.pageY,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&T.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(s[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(n=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(n=this.containment[3]+this.offset.click.top)),e.grid&&(t=this.originalPageY+Math.round((n-this.originalPageY)/e.grid[1])*e.grid[1],n=!this.containment||t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-e.grid[1]:t+e.grid[1],t=this.originalPageX+Math.round((i-this.originalPageX)/e.grid[
vendor: 4,194 bytes, line 1
10])*e.grid[0],i=!this.containment||t-this.offset.click.left>=this.containment[0]&&t-this.offset.click.left<=this.containment[2]?t:t-this.offset.click.left>=this.containment[0]?t-e.grid[0]:t+e.grid[0])),{top:n-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:s.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:s.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function s(e,i,n){return function(t){n._trigger(e,t,i._uiHash(i))}}for(this.fromOutside&&!e&&n.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger("remove",t,this._uiHash())}),n.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;i--)e||n.push(s("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(s("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<n.length;i++)n[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===T.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var e=t||this;return{helper:e.helper,placeholder:e.placeholder||T([]),position:e.position,originalPosition:e.originalPosition,offset:e.positionAbs,item:e.currentItem,sender:t?t.element:null}}});function ot(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}T.widget("ui.spinner",{version:"1.14.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n=this._super(),s=this.element;return T.each(["min","max","step"],function(t,e){var i=s.attr(e);null!=i&&i.length&&(n[e]=i)}),n}
vendor: 5,904 bytes, line 1
1,_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((0<e?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){var e;function i(){this.element[0]===T.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=e,this._delay(function(){this.previous=e}))}e=this.element[0]===T.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),t.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),!1!==this._start(t)&&this._repeat(null,T(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(T(t.currentTarget).hasClass("ui-state-active"))return!1!==this._start(t)&&void this._repeat(null,T(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var e=this.options,i=T.ui.keyCode;switch(t.keyCode){case i.UP:return this._repeat(null,1,t),!0;case i.DOWN:return this._repeat(null,-1,t),!0;case i.PAGE_UP:return this._repeat(null,e.page,t),!0;case i.PAGE_DOWN:return this._repeat(null,-e.page,t),!0}return!1},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(t){var e=this.options.incremental;return e?T.isFunction(e)?e(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_adjustValue:function(t){var e=this.options,i=null!==e.min?e.min:0,n=t-i;return t=i+Math.round(n/e.step)*e.step,t=parseFloat(t.toFixed(this._precision())),null!==e.max&&t>e.max?e.max:null!==e.min&&t<e.min?e.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var i;if("culture"===t||"numberFormat"===t)return i=this._parse(this.element.val()),this.options[t]=e,void this.element.val(this._format(i));"max"!==t&&"min"!==t&&"step"!==t||"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,e.up),i=this.buttons.last().find(".ui-icon"),this._removeClass(i,null,this.options.icons.down),this._addClass(i,null,e.down)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:ot(function(t){this._super(t)}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null!==t&&t===this._adjustValue(t)},_value:function(t,e){var i;""!==t&&null!==(i=this._parse(t))&&(e||(i=this._adjustValue(i)),t=this._format(i)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:ot(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:ot(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:ot(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:ot(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());ot(this._value).call(this,t)},widget:function(){return this.uiSpinner}}
vendor: 6,325 bytes, line 1
1),!1!==T.uiBackCompat&&T.widget("ui.spinner",T.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});var at;T.ui.spinner;T.widget("ui.tabs",{version:"1.14.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(at=/#.*$/,function(t){var e=t.href.replace(at,""),i=location.href.replace(at,"");try{e=decodeURIComponent(e)}catch(t){}try{i=decodeURIComponent(i)}catch(t){}return 1<t.hash.length&&e===i}),_create:function(){var e=this,t=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,t.collapsible),this._processTabs(),t.active=this._initialActive(),T.isArray(t.disabled)&&(t.disabled=T.unique(t.disabled.concat(T.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(t.active):this.active=T(),this._refresh(),this.active.length&&this.load(t.active)},_initialActive:function(){var i=this.options.active,t=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(t,e){if(T(e).attr("aria-controls")===n)return i=t,!1}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==i&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!t&&0),!t&&!1===i&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):T()}},_tabKeydown:function(t){var e=T(T.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(e),n=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case T.ui.keyCode.RIGHT:case T.ui.keyCode.DOWN:i++;break;case T.ui.keyCode.UP:case T.ui.keyCode.LEFT:n=!1,i--;break;case T.ui.keyCode.END:i=this.anchors.length-1;break;case T.ui.keyCode.HOME:i=0;break;case T.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i);case T.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}t.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),t.ctrlKey||t.metaKey||(e.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===T.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){return t.altKey&&t.keyCode===T.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===T.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,e){var i=this.tabs.length-1;for(;-1!==T.inArray((i<t&&(t=0),t<0&&(t=i),t),this.options.disabled);)t=e?t+1:t-1;return t},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){"active"!==t?(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)):this._activate(e)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,e=this.tablist.children(":has(a[href])");t.disabled=T.map(e.filter(".ui-state-disabled"),function(t){return e.index(t)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!T.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=T()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=T()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this,t=this.tabs,e=this.anchors,i=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(t){T(this).is(".ui-state-disabled")&&t.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){T(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return T("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=T(),this.anchors.each(function(t,e){var i,n,s,r=T(e).uniqueId().attr("id"),o=T(e).closest("li"),a=o.attr("aria-controls");l._isLocal(e)?(s=(i=e.hash).substring(1),n=l.element.find(l._sanitizeSelector(i))):(i="#"+(s=o.attr("aria-controls")||T({}).uniqueId()[0].id),(n=l.element.find(i)).length||(n=l._createPanel(s)).insertAfter(l.panels[t-1]||l.tablist),n.attr("aria-live","polite")),n.length&&(l.panels=l.panels.add(n)),a&&o.data("ui-tabs-aria-controls",a),o.attr({"aria-controls":s,"aria-labelledby":r}),n.attr("aria-labelledby",r)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),t&&(this._off(t.not(this.tabs)
vendor: 5,041 bytes, line 1
1),this._off(e.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return T("<div>").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var e,i;for(T.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),i=0;e=this.tabs[i];i++)e=T(e),!0===t||-1!==T.inArray(i,t)?(e.attr("aria-disabled","true"),this._addClass(e,null,"ui-state-disabled")):(e.removeAttr("aria-disabled"),this._removeClass(e,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===t)},_setupEvents:function(t){var i={};t&&T.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,e=this.element.parent();"fill"===t?(i=e.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=T(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=T(this).outerHeight(!0)}),this.panels.each(function(){T(this).height(Math.max(0,i-T(this).innerHeight()+T(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,T(this).height("").height())}).height(i))},_eventHandler:function(t){var e=this.options,i=this.active,n=T(t.currentTarget).closest("li"),s=n[0]===i[0],r=s&&e.collapsible,o=r?T():this._getPanelForTab(n),a=i.length?this._getPanelForTab(i):T(),i={oldTab:i,oldPanel:a,newTab:r?T():n,newPanel:o};t.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||s&&!e.collapsible||!1===this._trigger("beforeActivate",t,i)||(e.active=!r&&this.tabs.index(n),this.active=s?T():n,this.xhr&&this.xhr.abort(),a.length||o.length||T.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(n),t),this._toggle(t,i))},_toggle:function(t,e){var i=this,n=e.newPanel,s=e.oldPanel;function r(){i.running=!1,i._trigger("activate",t,e)}function o(){i._addClass(e.newTab.closest("li"),"ui-tabs-active","ui-state-active"),n.length&&i.options.show?i._show(n,i.options.show,r):(n.show(),r())}this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){i._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o()}):(this._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s.hide(),o()),s.attr("aria-hidden","true"),e.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),n.length&&s.length?e.oldTab.attr("tabIndex",-1):n.length&&this.tabs.filter(function(){return 0===T(this).attr("tabIndex")}).attr("tabIndex",-1),n.attr("aria-hidden","false"),e.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var t=this._findActive(t);t[0]!==this.active[0]&&(t.length||(t=this.active),t=t.find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:T.noop}))},_findActive:function(t){return!1===t?T():this.tabs.eq(t)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+T.ui.escapeSelector(t)+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){T.data(this,"ui-tabs-destroy")?T(this).remove():T(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var t=T(this),e=t.data("ui-tabs-aria-controls");e?t.attr("aria-controls",e).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var t=this.options.disabled;!1!==t&&(t=void 0!==i&&(i=this._getIndex(i),T.isArray(t)?T.map(t,function(t){return t!==i?t:null}):T.map(this.tabs,function(t,e){return e!==i?e:null})),this._setOptionDisabled(t))},disable:function(t){var e=this.options.disabled;if(!0!==e){if(void 0===t)e=!0;else{if(t=this._getIndex(t),-1!==T.inArray(t,e))return;e=T.isArray(e)?T.merge([t],e).sort():[t]}this._setOptionDisabled(e)}},load:function(t,n){t=this._getIndex(t);function s(t,e){"abort"===e&&r.panels.stop(!1,!0),r._removeClass(i,"ui-tabs-loading"),o.removeAttr("aria-busy"),t===r.xhr&&delete r.xhr}var r=this,i=this.tabs.eq(t),t=i.find(".ui-tabs-anchor"),o=this._getPanelForTab(i),a={tab:i,panel:o};this._isLocal(t[0])||(this.xhr=T.ajax(this._ajaxSettings(t,n,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(i,"ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.done(function(t,e,
vendor: 4,199 bytes, line 1
1i){setTimeout(function(){o.html(t),r._trigger("load",n,a),s(i,e)},1)}).fail(function(t,e){setTimeout(function(){s(t,e)},1)})))},_ajaxSettings:function(t,i,n){var s=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(t,e){return s._trigger("beforeLoad",i,T.extend({jqXHR:t,ajaxSettings:e},n))}}},_getPanelForTab:function(t){t=T(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==T.uiBackCompat&&T.widget("ui.tabs",T.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});T.ui.tabs;T.widget("ui.tooltip",{version:"1.14.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var t=T(this).attr("title")||"";return T("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(t,e){var i=(t.attr("aria-describedby")||"").split(/\s+/);i.push(e),t.data("ui-tooltip-id",e).attr("aria-describedby",T.trim(i.join(" ")))},_removeDescribedBy:function(t){var e=t.data("ui-tooltip-id"),i=(t.attr("aria-describedby")||"").split(/\s+/),e=T.inArray(e,i);-1!==e&&i.splice(e,1),t.removeData("ui-tooltip-id"),(i=T.trim(i.join(" ")))?t.attr("aria-describedby",i):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=T("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=T([])},_setOption:function(t,e){var i=this;this._super(t,e),"content"===t&&T.each(this.tooltips,function(t,e){i._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var n=this;T.each(this.tooltips,function(t,e){var i=T.Event("blur");i.target=i.currentTarget=e.element[0],n.close(i,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var t=T(this);if(t.is("[title]"))return t.data("ui-tooltip-title",t.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var t=T(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))}),this.disabledTitles=T([])},open:function(t){var i=this,e=T(t?t.target:this.element).closest(this.options.items);e.length&&!e.data("ui-tooltip-id")&&(e.attr("title")&&e.data("ui-tooltip-title",e.attr("title")),e.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&e.parents().each(function(){var t,e=T(this);e.data("ui-tooltip-open")&&((t=T.Event("blur")).target=t.currentTarget=this,i.close(t,!0)),e.attr("title")&&(e.uniqueId(),i.parents[this.id]={element:this,title:e.attr("title")},e.attr("title",""))}),this._registerCloseHandlers(t,e),this._updateContent(e,t))},_updateContent:function(e,i){var t=this.options.content,n=this,s=i?i.type:null;if("string"==typeof t||t.nodeType||t.jquery)return this._open(i,e,t);(t=t.call(e[0],function(t){n._delay(function(){e.data("ui-tooltip-open")&&(i&&(i.type=s),this._open(i,e,t))})}))&&this._open(i,e,t)},_open:function(t,e,i){var n,s,r,o=T.extend({},this.options.position);function a(t){o.of=t,s.is(":hidden")||s.position(o)}i&&((n=this._find(e))?n.tooltip.find(".ui-tooltip-content").html(i):(e.is("[title]")&&(t&&"mouseover"===t.type?e.attr("title",""):e.removeAttr("title")),n=this._tooltip(e),s=n.tooltip,this._addDescribedBy(e,s.attr("id")),s.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),(i=T("<div>").html(s.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),i.removeAttr("id").find("[id]").removeAttr("id"),i.appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:a}),a(t)):s.position(T.extend({of:e},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(r=this.delayedShow=setInterval(function(){s.is(":visible")&&(a(o.of),clearInterval(r))},T.fx.interval)),this._trigger("open",t,{tooltip:s}
1)))},_registerCloseHandlers:function(t,e){var i={keyup:function(t){t.keyCode===T.ui.keyCode.ESCAPE&&((t=T.Event(t)).currentTarget=e[0],this.close(t,!0))}};e[0]!==this.element[0]&&(i.remove=function(){this._removeTooltip(this._find(e).tooltip)}),t&&"mouseover"!==t.type||(i.mouseleave="close"),t&&"focusin"!==t.type||(i.focusout="close"),this._on(!0,e,i)},close:function(t){var e,i=this,n=T(t?t.currentTarget:this.element),s=this._find(n);s?(e=s.tooltip,s.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),s.hiding=!0,e.stop(!0),this._hide(e,this.options.hide,function(){i._removeTooltip(T(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&T.each(this.parents,function(t,e){T(e.element).attr("title",e.title),delete i.parents[t]}),s.closing=!0,this._trigger("close",t,{tooltip:e}),s.hiding||(s.closing=!1))):n.removeData("ui-tooltip-open")},_tooltip:function(t){var e=T("<div>").attr("role","tooltip"),i=T("<div>").appendTo(e),n=e.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(e,"ui-tooltip","ui-widget ui-widget-content"),e.appendTo(this._appendTo(t)),this.tooltips[n]={element:t,tooltip:e}},_find:function(t){t=t.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){t=t.closest(".ui-front, dialog");return t.length||(t=this.document[0].body),t},_destroy:function(){var n=this;T.each(this.tooltips,function(t,e){var i=T.Event("blur"),e=e.element;i.target=i.currentTarget=e[0],n.close(i,!0),T("#"+t).remove(),e.data("ui-tooltip-title")&&(e.attr("title")||e.attr("title",e.data("ui-tooltip-title")),e.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==T.uiBackCompat&&T.widget("ui.tooltip",T.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}});T.ui.tooltip}),function(l,o,f){"use strict";function i(t,e){var i,n,s,r=[],o=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=u(t.data.options,e)),i=e.$target||f(t.currentTarget).trigger("blur"),(s=f.fancybox.getInstance())&&s.$trigger&&s.$trigger.is(i)||(r=e.selector?f(e.selector):(n=i.attr("data-fancybox")||"")?(r=t.data?t.data.items:[]).length?r.filter('[data-fancybox="'+n+'"]'):f('[data-fancybox="'+n+'"]'):[i],(o=f(r).index(i))<0&&(o=0),(s=f.fancybox.open(r,e,o)).$trigger=i))}if(l.console=l.console||{info:function(t){}},f){if(f.fn.fancybox)return console.info("fancyBox already initialized");var t={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1<path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeClose:f.noop,afterClose:f.noop,onActivate:f.noop,onDeactivate:f.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schlie&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},s=f(l),r=f(o),a=0,c=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.oRequestAnimationFrame||function(t){return l.setTimeout(t,1e3/60)},e=l.cancelAnimationFrame||l.webkitCancelAnimationFrame||l.mozCancelAnimationFrame||l.oCancelAnimationFrame||function(t){l.clearTimeout(t)},d=function(){var t,e=o.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(void 0!==e.style[t])return i[t];return"transitionend"}(),h=function(t){return t&&t.length&&t[0].offsetHeight},u=function(t,e){var i=f.extend(!0,{},t,e);return f.each(e,function(t,e){f.isArray(e)&&(i[t]=e)}),i},n=function(t,e,i){var n=this;n.opts=u({index:i},f.fancybox.defaults),f.isPlainObject(e)&&(n.opts=u(n.opts,e)),f.fancybox.isMobile&&(n.opts=u(n.opts,n.opts.mobile)),n.id=n.opts.id||++a,n.currIndex=parseInt(n.opts.index,10)||0,n.prevIndex=null,n.prevPos=null,n.currPos=0,n.firstRun=!0,n.group=[],n.slides={},n.addContent(t),n.group.length&&n.init()};f.extend(n.prototype,{init:function(){var e,i,n=this,s=n.group[n.currIndex].opts;s.closeExisting&&f.fancybox.close(!0),f("body").addClass("fancybox-active"),!f.fancybox.getInstance()&&!1!==s.hideScrollbar&&!f.fancybox.isMobile&&o.body.scrollHeight>
vendor: 7,598 bytes, line 1
1l.innerHeight&&(f("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(l.innerWidth-o.documentElement.clientWidth)+"px;}</style>"),f("body").addClass("compensate-for-scrollbar")),i="",f.each(s.buttons,function(t,e){i+=s.btnTpl[e]||""}),e=f(n.translate(n,s.baseTpl.replace("{{buttons}}",i).replace("{{arrows}}",s.btnTpl.arrowLeft+s.btnTpl.arrowRight))).attr("id","fancybox-container-"+n.id).addClass(s.baseClass).data("FancyBox",n).appendTo(s.parentEl),n.$refs={container:e},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){n.$refs[t]=e.find(".fancybox-"+t)}),n.trigger("onInit"),n.activate(),n.jumpTo(n.currIndex)},translate:function(t,e){var i=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,function(t,e){return void 0===i[e]?t:i[e]})},addContent:function(t){var o=this,t=f.makeArray(t);f.each(t,function(t,e){var i,n,s={},r={};f.isPlainObject(e)?r=(s=e).opts||e:"object"===f.type(e)&&f(e).length?(r=(n=f(e)).data()||{},(r=f.extend(!0,{},r,r.options)).$orig=n,s.src=o.opts.src||r.src||n.attr("href"),s.type||s.src||(s.type="inline",s.src=e)):s={type:"html",src:e+""},s.opts=f.extend(!0,{},o.opts,r),f.isArray(r.buttons)&&(s.opts.buttons=r.buttons),f.fancybox.isMobile&&s.opts.mobile&&(s.opts=u(s.opts,s.opts.mobile)),i=s.type||s.opts.type,n=s.src||"",!i&&n&&((r=n.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(i="video",s.opts.video.format||(s.opts.video.format="video/"+("ogv"===r[1]?"ogg":r[1]))):n.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?i="image":n.match(/\.(pdf)((\?|#).*)?$/i)?(i="iframe",s=f.extend(!0,s,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===n.charAt(0)&&(i="inline")),i?s.type=i:o.trigger("objectNeedsType",s),s.contentType||(s.contentType=-1<f.inArray(s.type,["html","inline","ajax"])?"html":s.type),s.index=o.group.length,"auto"==s.opts.smallBtn&&(s.opts.smallBtn=-1<f.inArray(s.type,["html","inline","ajax"])),"auto"===s.opts.toolbar&&(s.opts.toolbar=!s.opts.smallBtn),s.$thumb=s.opts.$thumb||null,s.opts.$trigger&&s.index===o.opts.index&&(s.$thumb=s.opts.$trigger.find("img:first"),s.$thumb.length&&(s.opts.$orig=s.opts.$trigger)),s.$thumb&&s.$thumb.length||!s.opts.$orig||(s.$thumb=s.opts.$orig.find("img:first")),s.$thumb&&!s.$thumb.length&&(s.$thumb=null),s.thumb=s.opts.thumb||(s.$thumb?s.$thumb[0].src:null),"function"===f.type(s.opts.caption)&&(s.opts.caption=s.opts.caption.apply(e,[o,s])),"function"===f.type(o.opts.caption)&&(s.opts.caption=o.opts.caption.apply(e,[o,s])),s.opts.caption instanceof f||(s.opts.caption=void 0===s.opts.caption?"":s.opts.caption+""),"ajax"!==s.type||1<(n=n.split(/\s+/,2)).length&&(s.src=n.shift(),s.opts.filter=n.shift()),s.opts.modal&&(s.opts=f.extend(!0,s.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),o.group.push(s)}),Object.keys(o.slides).length&&(o.updateControls(),(t=o.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var n=this;n.removeEvents(),n.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),n.close(t)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),n.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),n.next()}).on("click.fb","[data-fancybox-zoom]",function(t){n[n.isScaledDown()?"scaleToActual":"scaleToFit"]()}),s.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(n.requestId&&e(n.requestId),n.requestId=c(function(){n.update(t)})):(n.current&&"iframe"===n.current.type&&n.$refs.stage.hide(),setTimeout(function(){n.$refs.stage.show(),n.update(t)},f.fancybox.isMobile?600:250))}),r.on("keydown.fb",function(t){var e=(f.fancybox?f.fancybox.getInstance():null).current,i=t.keyCode||t.which;if(9!=i)return!e.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||f(t.target).is("input,textarea,video,audio,select")?void 0:8===i||27===i?(t.preventDefault(),void n.close(t)):37===i||38===i?(t.preventDefault(),void n.previous()):39===i||40===i?(t.preventDefault(),void n.next()):void n.trigger("afterKeydown",t,i);e.opts.trapFocus&&n.focus(t)}),n.group[n.currIndex].opts.idleTime&&(n.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){n.idleSecondsCounter=0,n.isIdle&&n.showControls(),n.isIdle=!1}),n.idleInterval=l.setInterval(function(){++n.idleSecondsCounter>=n.group[n.currIndex].opts.idleTime&&!n.isDragging&&(n.isIdle=!0,n.idleSecondsCounter=0,n.hideControls())},1e3))},removeEvents:function(){s.off("orientationchange.fb resize.fb"),r.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(l.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,n){var e,i,s,r,o,a,l,d,c=this,u=c.group.length;if(!(c.isDragging||c.isClosing||c.isAnimating&&c.firstRun))return t=parseInt(t,10),!(!(i=(c.current?c.current:c).opts.loop)&&(t<0||u<=t))&&(e=c.firstRun=!Object.keys(c.slides).length,r=c.current,c.prevIndex=c.currIndex,c.prevPos=c.currPos,s=c.createSlide(t),1<u&&((i||s.index<u-1)&&c.createSlide(t+1),(i||0<s.index)&&c.createSlide(t-1)),c.current=s,c.currIndex=s.index,c.currPos=s.pos,c.trigger("beforeShow",e),c.updateControls(),s.forcedDuration=void 0,f.isNumeric(n)?s.forcedDuration=n:n=s.opts[e?"animationDuration":"transitionDuration"],n=parseInt(n,10),t=c.isMoved(s),s.$slide.addClass("fancybox-slide--current"),e?(s.opts.animationEffect&&n&&c.$refs.container.css("transition-duration",n+"ms"),c.$refs.container.addClass("fancybox-is-open").trigger("focus"),c.loadSlide(s)):(o=f.fancybox.getTranslate(r.$slide),a=f.fancybox.getTranslate(c.$refs.stage),f.each(c.slides,function(t,e){f.fancybox.stop(e.$slide,!0)}),r.pos!==s.pos&&(r.isComplete=!1),r.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),t?(d=o.left-(r.pos*o.width+r.pos*r.opts.gutter),f.each(c.slides,function(t,e){e.$slide.removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var i=e.pos*o.width+e.pos*e.opts.gutter;f.fancybox.setTranslate(e.$slide,{top:0,left:i-a.left+d}),e.pos!==s.pos&&e.$slide.addClass("fancybox-slide--"+(e.pos>s.pos?"next":"previous")),h(e.$slide),f.fancybox.animate(e.$slide,{top:0,left:(e.pos-s.pos)*o.width+(e.pos-s.pos)*e.opts.gutter},n,function(){e.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),e.pos===c.currPos&&c.complete()})})):n&&s.opts.transitionEffect&&(l="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,r.$slide.addClass("fancybox-slide--"+(r.pos>s.pos?"next":"previous")),f.fancybox.animate(r.$slide,l,n,function(){r.$slide.removeClass(l).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),s.isLoaded?c.revealContent(s):c.loadSlide(s)),void c.preload("image"))},createSlide:function(t){var e,i=this,n=t%i.group.length;return n=n<0?i.group.length+n:n,!i.slides[t]&&i.group[n]&&(e=f('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[t]=f.extend(!0,{},i.group[n],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]}
1,scaleToActual:function(t,e,i){var n,s,r,o,a=this,l=a.current,d=l.$content,c=f.fancybox.getTranslate(l.$slide).width,u=f.fancybox.getTranslate(l.$slide).height,h=l.width,p=l.height;a.isAnimating||a.isMoved()||!d||"image"!=l.type||!l.isLoaded||l.hasError||(a.isAnimating=!0,f.fancybox.stop(d),t=void 0===t?.5*c:t,e=void 0===e?.5*u:e,(n=f.fancybox.getTranslate(d)).top-=f.fancybox.getTranslate(l.$slide).top,n.left-=f.fancybox.getTranslate(l.$slide).left,r=h/n.width,o=p/n.height,s=.5*c-.5*h,l=.5*u-.5*p,c<h&&(0<(s=n.left*r-(t*r-t))&&(s=0),s<c-h&&(s=c-h)),u<p&&(0<(l=n.top*o-(e*o-e))&&(l=0),l<u-p&&(l=u-p)),a.updateCursor(h,p),f.fancybox.animate(d,{top:l,left:s,scaleX:r,scaleY:o},i||366,function(){a.isAnimating=!1}),a.SlideShow&&a.SlideShow.isActive&&a.SlideShow.stop())},scaleToFit:function(t){var e=this,i=e.current,n=i.$content;e.isAnimating||e.isMoved()||!n||"image"!=i.type||!i.isLoaded||i.hasError||(e.isAnimating=!0,f.fancybox.stop(n),i=e.getFitPos(i),e.updateCursor(i.width,i.height),f.fancybox.animate(n,{top:i.top,left:i.left,scaleX:i.width/n.width(),scaleY:i.height/n.height()},t||366,function(){e.isAnimating=!1}))},getFitPos:function(t){var e,i,n=t.$content,s=t.$slide,r=t.width||t.opts.width,o=t.height||t.opts.height,a={};return!!(t.isLoaded&&n&&n.length)&&(e=f.fancybox.getTranslate(this.$refs.stage).width,i=f.fancybox.getTranslate(this.$refs.stage).height,e-=parseFloat(s.css("paddingLeft"))+parseFloat(s.css("paddingRight"))+parseFloat(n.css("marginLeft"))+parseFloat(n.css("marginRight")),i-=parseFloat(s.css("paddingTop"))+parseFloat(s.css("paddingBottom"))+parseFloat(n.css("marginTop"))+parseFloat(n.css("marginBottom")),r&&o||(r=e,o=i),e-.5<(r*=n=Math.min(1,e/r,i/o))&&(r=e),i-.5<(o*=n)&&(o=i),"image"===t.type?(a.top=Math.floor(.5*(i-o))+parseFloat(s.css("paddingTop")),a.left=Math.floor(.5*(e-r))+parseFloat(s.css("paddingLeft"))):"video"===t.contentType&&(r/(t=t.opts.width&&t.opts.height?r/o:t.opts.ratio||16/9)<o?o=r/t:o*t<r&&(r=o*t)),a.width=r,a.height=o,a)},update:function(i){var n=this;f.each(n.slides,function(t,e){n.updateSlide(e,i)})},updateSlide:function(t,e){var i=this,n=t&&t.$content,s=t.width||t.opts.width,r=t.height||t.opts.height,o=t.$slide;i.adjustCaption(t),n&&(s||r||"video"===t.contentType)&&!t.hasError&&(f.fancybox.stop(n),f.fancybox.setTranslate(n,i.getFitPos(t)),t.pos===i.currPos&&(i.isAnimating=!1,i.updateCursor())),i.adjustLayout(t),o.length&&(o.trigger("refresh"),t.pos===i.currPos&&i.$refs.toolbar.add(i.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",o.get(0).scrollHeight>o.get(0).clientHeight)),i.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,i=e.current,n=i.$slide;!e.isClosing&&i&&(n.siblings().css({transform:"",opacity:""}),n.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),f.fancybox.animate(n,{top:0,left:0,opacity:1},void 0===t?0:t,function(){n.css({transform:"",opacity:""}),i.isComplete||e.complete()},!1))},isMoved:function(t){var e,i=t||this.current;return!!i&&(e=f.fancybox.getTranslate(this.$refs.stage),t=f.fancybox.getTranslate(i.$slide),!i.$slide.hasClass("fancybox-animated")&&(.5<Math.abs(t.top-e.top)||.5<Math.abs(t.left-e.left)))},updateCursor:function(t,e){var i=this.current,n=this.$refs.container;i&&!this.isClosing&&this.Guestures&&(n.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),e=!!(t=this.canPan(t,e))||this.isZoomable(),n.toggleClass("fancybox-is-zoomable",e),f("[data-fancybox-zoom]").prop("disabled",!e),t?n.addClass("fancybox-can-pan"):e&&("zoom"===i.opts.clickContent||f.isFunction(i.opts.clickContent)&&"zoom"==i.opts.clickContent(i))?n.addClass("fancybox-can-zoomIn"):i.opts.touch&&(i.opts.touch.vertical||1<this.group.length)&&"video"!==i.contentType&&n.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this.current;if(e&&!this.isClosing&&"image"===e.type&&!e.hasError){if(!e.isLoaded)return!0;if((t=this.getFitPos(e))&&(e.width>t.width||e.height>t.height))return!0}return!1},isScaledDown:function(t,e){var i=!1,n=this.current,s=n.$content;return void 0!==t&&void 0!==e?i=t<n.width&&e<n.height:s&&(i=(i=f.fancybox.getTranslate(s)).width<n.width&&i.height<n.height),i}
vendor: 11,341 bytes, line 1
1,canPan:function(t,e){var i=this.current,n=null,s=!1;return"image"===i.type&&(i.isComplete||t&&e)&&!i.hasError&&(s=this.getFitPos(i),void 0!==t&&void 0!==e?n={width:t,height:e}:i.isComplete&&(n=f.fancybox.getTranslate(i.$content)),n&&s&&(s=1.5<Math.abs(n.width-s.width)||1.5<Math.abs(n.height-s.height))),s},loadSlide:function(i){var t,e,n,s=this;if(!i.isLoading&&!i.isLoaded){if(!(i.isLoading=!0)===s.trigger("beforeLoad",i))return i.isLoading=!1;switch(t=i.type,(e=i.$slide).off("refresh").trigger("onReset").addClass(i.opts.slideClass),t){case"image":s.setImage(i);break;case"iframe":s.setIframe(i);break;case"html":s.setContent(i,i.src||i.content);break;case"video":s.setContent(i,i.opts.video.tpl.replace(/\{\{src\}\}/gi,i.src).replace("{{format}}",i.opts.videoFormat||i.opts.video.format||"").replace("{{poster}}",i.thumb||""));break;case"inline":f(i.src).length?s.setContent(i,f(i.src)):s.setError(i);break;case"ajax":s.showLoading(i),n=f.ajax(f.extend({},i.opts.ajax.settings,{url:i.src,success:function(t,e){"success"===e&&s.setContent(i,t)},error:function(t,e){t&&"abort"!==e&&s.setError(i)}})),e.one("onReset",function(){n.abort()});break;default:s.setError(i)}return!0}},setImage:function(e){var t,i=this;setTimeout(function(){var t=e.$image;i.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||i.showLoading(e)},50),i.checkSrcset(e),e.$content=f('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(t=o.createElement("img")).onerror=function(){f(this).remove(),e.$ghost=null},t.onload=function(){i.afterLoad(e)},e.$ghost=f(t).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),i.setBigImage(e)},checkSrcset:function(t){var e,i,n,s,r=t.opts.srcset||t.opts.image.srcset;if(r){n=l.devicePixelRatio||1,s=l.innerWidth*n,(i=r.split(",").map(function(t){var n={};return t.trim().split(/\s+/).forEach(function(t,e){var i=parseInt(t.substring(0,t.length-1),10);if(0===e)return n.url=t;i&&(n.value=i,n.postfix=t[t.length-1])}),n})).sort(function(t,e){return t.value-e.value});for(var o=0;o<i.length;o++){var a=i[o];if("w"===a.postfix&&a.value>=s||"x"===a.postfix&&a.value>=n){e=a;break}}!e&&i.length&&(e=i[i.length-1]),e&&(t.src=e.url,t.width&&t.height&&"w"==e.postfix&&(t.height=t.width/t.height*e.value,t.width=e.value),t.opts.srcset=r)}},setBigImage:function(e){var i=this,t=o.createElement("img"),n=f(t);e.$image=n.one("error",function(){i.setError(e)}).one("load",function(){var t;e.$ghost||(i.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),i.afterLoad(e)),i.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(1<e.width/e.height&&1<s.width()/s.height()?"100":Math.round(e.width/e.height*100))+"vw"),n.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout(function(){e.$ghost&&!i.isClosing&&e.$ghost.hide()},Math.min(300,Math.max(1e3,e.height/1600))),i.hideLoading(e))}).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(t.complete||"complete"==t.readyState)&&n.naturalWidth&&n.naturalHeight?n.trigger("load"):t.error&&n.trigger("error")},resolveImageSlideSize:function(t,e,i){var n=parseInt(t.opts.width,10),s=parseInt(t.opts.height,10);t.width=e,t.height=i,0<n&&(t.width=n,t.height=Math.floor(n*i/e)),0<s&&(t.width=Math.floor(s*e/i),t.height=s)},setIframe:function(s){var r,e=this,o=s.opts.iframe,a=s.$slide;s.$content=f('<div class="fancybox-content'+(o.preload?" fancybox-is-hidden":"")+'"></div>').css(o.css).appendTo(a),a.addClass("fancybox-slide--"+s.contentType),s.$iframe=r=f(o.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(o.attr).appendTo(s.$content),o.preload?(e.showLoading(s),r.on("load.fb error.fb",function(t){this.isReady=1,s.$slide.trigger("refresh"),e.afterLoad(s)}),a.on("refresh.fb",function(){var t,e=s.$content,i=o.css.width,n=o.css.height;if(1===r[0].isReady){try{t=r.contents().find("body")}catch(t){}t&&t.length&&t.children().length&&(a.css("overflow","visible"),e.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===i&&(i=Math.ceil(Math.max(t[0].clientWidth,t.outerWidth(!0)))),e.css("width",i||"").css("max-width",""),void 0===n&&(n=Math.ceil(Math.max(t[0].clientHeight,t.outerHeight(!0)))),e.css("height",n||""),a.css("overflow","auto")),e.removeClass("fancybox-is-hidden")}})):e.afterLoad(s),r.attr("src",s.src),a.one("onReset",function(){try{f(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}f(this).off("refresh.fb").empty(),s.isLoaded=!1,s.isRevealed=!1})},setContent:function(t,e){var i;this.isClosing||(this.hideLoading(t),t.$content&&f.fancybox.stop(t.$content),t.$slide.empty(),(i=e)&&i.hasOwnProperty&&i instanceof f&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=f("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===f.type(e)&&(e=f("<div>").append(f.trim(e)).contents()),t.opts.filter&&(e=f("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){f(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(f(this).empty(),t.isLoaded=!1,t.isRevealed=!1)}),f(e).appendTo(t.$slide),f(e).is("video,audio")&&(f(e).addClass("fancybox-video"),f(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||f(e).attr("width"),t.opts.height=t.opts.height||f(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),this.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){(t=t||this.current)&&!t.$spinner&&(t.$spinner=f(this.translate(this,this.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){this.isClosing||(t.isLoading=!1,t.isLoaded=!0,this.trigger("afterLoad",t),this.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=f(this.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&f('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),this.adjustCaption(t),this.adjustLayout(t),t.pos===this.currPos&&this.updateCursor(),this.revealContent(t))},adjustCaption:function(t){var e=t||this.current,i=e.opts.caption,n=e.opts.preventCaptionOverlap,s=this.$refs.caption,t=!1;s.toggleClass("fancybox-caption--separate",n),n&&i&&i.length&&(e.pos!==this.currPos?((s=s.clone().appendTo(s.parent())).children().eq(0).empty().html(i),t=s.outerHeight(!0),s.empty().remove()):this.$caption&&(t=this.$caption.outerHeight(!0)),e.$slide.css("padding-bottom",t||""))},adjustLayout:function(t){var e,i,n,s=t||this.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(i=s.$slide[0].style["padding-bottom"],n=s.$slide.css("padding-bottom"),0<parseFloat(n)&&(t=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(t-s.$slide[0].scrollHeight)<1&&(e=n),s.$slide.css("padding-bottom",i))),s.$content.css("margin-bottom",e))},revealContent:function(t){var e,i,n,s,r=this,o=t.$slide,a=!1,l=!1,d=r.isMoved(t),c=t.isRevealed;return t.isRevealed=!0,e=t.opts[r.firstRun?"animationEffect":"transitionEffect"],n=t.opts[r.firstRun?"animationDuration":"transitionDuration"],n=parseInt(void 0===t.forcedDuration?n:t.forcedDuration,10),!d&&t.pos===r.currPos&&n||(e=!1),"zoom"===e&&(t.pos===r.currPos&&n&&"image"===t.type&&!t.hasError&&(l=r.getThumbPos(t))?a=r.getFitPos(t):e="fade"),"zoom"===e?(r.isAnimating=!0,a.scaleX=a.width/l.width,a.scaleY=a.height/l.height,"auto"==(s=t.opts.zoomOpacity)&&(s=.1<Math.abs(t.width/t.height-l.width/l.height)),s&&(l.opacity=.1,a.opacity=1),f.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),l),h(t.$content),void f.fancybox.animate(t.$content,a,n,function(){r.isAnimating=!1,r.complete()})):(r.updateSlide(t),e?(f.fancybox.stop(o),i="fancybox-slide--"+(t.pos>=r.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,o.addClass(i).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),h(o),"image"!==t.type&&t.$content.hide().show(0),void f.fancybox.animate(o,"fancybox-slide--current",n,function(){o.removeClass(i).css({transform:"",opacity:""}),t.pos===r.currPos&&r.complete()},!0)):(t.$content.removeClass("fancybox-is-hidden"),c||!d||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===r.currPos&&r.complete())))},getThumbPos:function(t){var e,i,n,s,r=t.$thumb;return!(!r||(!(n=r[0])||n.ownerDocument!==o||(f(".fancybox-container").css("pointer-events","none"),s={x:n.getBoundingClientRect().left+n.offsetWidth/2,y:n.getBoundingClientRect().top+n.offsetHeight/2},n=o.elementFromPoint(s.x,s.y)===n,f(".fancybox-container").css("pointer-events",""),!n)))&&(e=f.fancybox.getTranslate(r),t=parseFloat(r.css("border-top-width")||0),s=parseFloat(r.css("border-right-width")||0),n=parseFloat(r.css("border-bottom-width")||0),r=parseFloat(r.css("border-left-width")||0),i={top:e.top+t,left:e.left+r,width:e.width-s-r,height:e.height-t-n,scaleX:1,scaleY:1},0<e.width&&0<e.height&&i)},complete:function(){var t,i=this,e=i.current,n={};!i.isMoved()&&e.isLoaded&&(e.isComplete||(e.isComplete=!0,e.$slide.siblings().trigger("onReset"),i.preload("inline"),h(e.$slide),e.$slide.addClass("fancybox-slide--complete"),f.each(i.slides,function(t,e){e.pos>=i.currPos-1&&e.pos<=i.currPos+1?n[e.pos]=e:e&&(f.fancybox.stop(e.$slide),e.$slide.off().remove())}),i.slides=n),i.isAnimating=!1,i.updateCursor(),i.trigger("afterShow"),e.opts.video.autoStart&&e.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),i.next()}),e.opts.autoFocus&&"html"===e.contentType&&((t=e.$content.find("input[autofocus]:enabled:visible:first")).length?t.trigger("focus"):i.focus(null,!0)),e.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,i;this.group.length<2||(i=this.slides[this.currPos+1],(e=this.slides[this.currPos-1])&&e.type===t&&this.loadSlide(e),i&&i.type===t&&this.loadSlide(i))},focus:function(t,e){var i=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
1([tabindex^="-"])'].join(",");this.isClosing||((e=(e=!t&&this.current&&this.current.isComplete?this.current.$slide.find("*:visible"+(e?":not(.fancybox-close-small)":"")):this.$refs.container.find("*:visible")).filter(i).filter(function(){return"hidden"!==f(this).css("visibility")&&!f(this).hasClass("disabled")})).length?(i=e.index(o.activeElement),t&&t.shiftKey?(i<0||0==i)&&(t.preventDefault(),e.eq(e.length-1).trigger("focus")):(i<0||i==e.length-1)&&(t&&t.preventDefault(),e.eq(0).trigger("focus"))):this.$refs.container.trigger("focus"))},activate:function(){var e=this;f(".fancybox-container").each(function(){var t=f(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)}),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(t,e){function i(){l.cleanUp(t)}var n,s,r,o,a,l=this,d=l.current;return!l.isClosing&&(!(l.isClosing=!0)===l.trigger("beforeClose",t)?(l.isClosing=!1,c(function(){l.update()}),!1):(l.removeEvents(),r=d.$content,n=d.opts.animationEffect,s=f.isNumeric(e)?e:n?d.opts.animationDuration:0,d.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?f.fancybox.stop(d.$slide):n=!1,d.$slide.siblings().trigger("onReset").remove(),s&&l.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",s+"ms"),l.hideLoading(d),l.hideControls(!0),l.updateCursor(),"zoom"!==n||r&&s&&"image"===d.type&&!l.isMoved()&&!d.hasError&&(a=l.getThumbPos(d))||(n="fade"),"zoom"===n?(f.fancybox.stop(r),e={top:(o=f.fancybox.getTranslate(r)).top,left:o.left,scaleX:o.width/a.width,scaleY:o.height/a.height,width:a.width,height:a.height},"auto"==(o=d.opts.zoomOpacity)&&(o=.1<Math.abs(d.width/d.height-a.width/a.height)),o&&(a.opacity=0),f.fancybox.setTranslate(r,e),h(r),f.fancybox.animate(r,a,s,i)):n&&s?f.fancybox.animate(d.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+n,s,i):!0===t?setTimeout(i,s):i(),!0))},cleanUp:function(t){var e,i=this.current.opts.$orig;this.current.$slide.trigger("onReset"),this.$refs.container.empty().remove(),this.trigger("afterClose",t),this.current.opts.backFocus&&(i&&i.length&&i.is(":visible")||(i=this.$trigger),i&&i.length&&(e=l.scrollX,t=l.scrollY,i.trigger("focus"),f("html, body").scrollTop(t).scrollLeft(e))),this.current=null,(e=f.fancybox.getInstance())?e.activate():(f("body").removeClass("fancybox-active compensate-for-scrollbar"),f("#fancybox-style-noscroll").remove())},trigger:function(t,e){var i,n=Array.prototype.slice.call(arguments,1),e=e&&e.opts?e:this.current;if(e?n.unshift(e):e=this,n.unshift(this),f.isFunction(e.opts[t])&&(i=e.opts[t].apply(e,n)),!1===i)return i;("afterClose"!==t&&this.$refs?this.$refs.container:r).trigger(t+".fb",n)},updateControls:function(){var t=this,e=t.current,i=e.index,n=t.$refs.container,s=t.$refs.caption,r=e.opts.caption;e.$slide.trigger("refresh"),r&&r.length?(t.$caption=s).children().eq(0).html(r):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),n.find("[data-fancybox-count]").html(t.group.length),n.find("[data-fancybox-index]").html(i+1),n.find("[data-fancybox-prev]").prop("disabled",!e.opts.loop&&i<=0),n.find("[data-fancybox-next]").prop("disabled",!e.opts.loop&&i>=t.group.length-1),"image"===e.type?n.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",e.opts.image.src||e.src).show():e.opts.toolbar&&n.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),f(o.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=["infobar","toolbar","nav"];!t&&this.current.opts.preventCaptionOverlap||e.push("caption"),this.$refs.container.removeClass(e.map(function(t){return"fancybox-show-"+t}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=(this.current?this.current:this).opts,e=this.$refs.container;this.hasHiddenControls=!1,this.idleSecondsCounter=0,e.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&1<this.group.length)).toggleClass("fancybox-show-caption",!!this.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&1<this.group.length)).toggleClass("fancybox-is-modal",!!t.modal)}
vendor: 12,542 bytes, line 1
1,toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),f.fancybox={version:"3.5.7",defaults:t,getInstance:function(t){var e=f('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return e instanceof n&&("string"===f.type(t)?e[t].apply(e,i):"function"===f.type(t)&&t.apply(e,i),e)},open:function(t,e,i){return new n(t,e,i)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),r.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(t=o.createElement("div"),l.getComputedStyle&&l.getComputedStyle(t)&&l.getComputedStyle(t).getPropertyValue("transform")&&!(o.documentMode&&o.documentMode<11)),getTranslate:function(t){var e;return!(!t||!t.length)&&{top:(e=t[0].getBoundingClientRect()).top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))}},setTranslate:function(t,e){var i="",n={};if(t&&e)return void 0===e.left&&void 0===e.top||(i=(void 0===e.left?t.position():e).left+"px, "+(void 0===e.top?t.position():e).top+"px",i=this.use3d?"translate3d("+i+", 0px)":"translate("+i+")"),void 0!==e.scaleX&&void 0!==e.scaleY?i+=" scale("+e.scaleX+", "+e.scaleY+")":void 0!==e.scaleX&&(i+=" scaleX("+e.scaleX+")"),i.length&&(n.transform=i),void 0!==e.opacity&&(n.opacity=e.opacity),void 0!==e.width&&(n.width=e.width),void 0!==e.height&&(n.height=e.height),t.css(n)},animate:function(e,i,n,s,r){var o,a=this;f.isFunction(n)&&(s=n,n=null),a.stop(e),o=a.getTranslate(e),e.on(d,function(t){t&&t.originalEvent&&(!e.is(t.originalEvent.target)||"z-index"==t.originalEvent.propertyName)||(a.stop(e),f.isNumeric(n)&&e.css("transition-duration",""),f.isPlainObject(i)?void 0!==i.scaleX&&void 0!==i.scaleY&&a.setTranslate(e,{top:i.top,left:i.left,width:o.width*i.scaleX,height:o.height*i.scaleY,scaleX:1,scaleY:1}):!0!==r&&e.removeClass(i),f.isFunction(s)&&s(t))}),f.isNumeric(n)&&e.css("transition-duration",n+"ms"),f.isPlainObject(i)?(void 0!==i.scaleX&&void 0!==i.scaleY&&(delete i.width,delete i.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),f.fancybox.setTranslate(e,i)):e.addClass(i),e.data("timer",setTimeout(function(){e.trigger(d)},n+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(d),t.off(d).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},f.fn.fancybox=function(t){var e;return(e=(t=t||{}).selector||!1)?f("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},r.on("click.fb-start","[data-fancybox]",i),r.on("click.fb-start","[data-fancybox-trigger]",function(t){f('[data-fancybox="'+f(this).attr("data-fancybox-trigger")+'"]').eq(f(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:f(this)})}),p=null,r.on("mousedown mouseup focus blur",".fancybox-button",function(t){switch(t.type){case"mousedown":p=f(this);break;case"mouseup":p=null;break;case"focusin":f(".fancybox-button").removeClass("fancybox-focus"),f(this).is(p)||f(this).is("[disabled]")||f(this).addClass("fancybox-focus");break;case"focusout":f(".fancybox-button").removeClass("fancybox-focus")}})}var p}(window,document,jQuery),function(p){"use strict";function f(i,t,e){if(i)return e=e||"","object"===p.type(e)&&(e=p.param(e,!0)),p.each(t,function(t,e){i=i.replace("$"+t,e||"")}),e.length&&(i+=(0<i.indexOf("?")?"&":"?")+e),i}var n={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&0<t[12].indexOf("layer=c")?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}};p(document).on("objectNeedsType.fb",function(t,e,s){var r,o,a,l,d,c,u=s.src||"",h=!1,i=p.extend(!0,{},n,s.opts.media);p.each(i,function(t,e){if(o=u.match(e.matcher)){if(h=e.type,c=t,d={},e.paramPlace&&o[e.paramPlace]){"?"==(l=o[e.paramPlace])[0]&&(l=l.substring(1)),l=l.split("&");for(var i=0;i<l.length;++i){var n=l[i].split("=",2);2==n.length&&(d[n[0]]=decodeURIComponent(n[1].replace(/\+/g," ")))}}return a=p.extend(!0,{},e.params,s.opts[t],d),u="function"===p.type(e.url)?e.url.call(this,o,a,s):f(e.url,o,a),r="function"===p.type(e.thumb)?e.thumb.call(this,o,a,s):f(e.thumb,o),"youtube"===t?u=u.replace(/&t=((\d+)m)?(\d+)s/,function(t,e,i,n){return"&start="+((i?60*parseInt(i,10):0)+parseInt(n,10))}):"vimeo"===t&&(u=u.replace("&%23","#")),!1}}),h?(s.opts.thumb||s.opts.$thumb&&s.opts.$thumb.length||(s.opts.thumb=r),"iframe"===h&&(s.opts=p.extend(!0,s.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),p.extend(s,{type:h,src:u,origSrc:s.src,contentSource:c,contentType:"image"===h?"image":"gmap_place"==c||"gmap_search"==c?"map":"video"})):u&&(s.type=s.opts.defaultType)});var s={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(t){var e,i=this;this[t].loaded?setTimeout(function(){i.done(t)}):this[t].loading||(this[t].loading=!0,(e=document.createElement("script")).type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){i[t].loaded=!0,i.done(t)}:e.onload=function(){i[t].loaded=!0,i.done(t)},document.body.appendChild(e))},done:function(t){var e,i;"youtube"===t&&delete window.onYouTubeIframeAPIReady,(e=p.fancybox.getInstance())&&(i=e.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?new YT.Player(i.attr("id"),{events:{onStateChange:function(t){0==t.data&&e.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(i).on("ended",function(){e.next()}))}};p(document).on({"afterShow.fb":function(t,e,i){1<e.group.length&&("youtube"===i.contentSource||"vimeo"===i.contentSource)&&s.load(i.contentSource)}})}(jQuery),function(c,l,u){"use strict";function h(t){var e,i=[];for(e in t=(t=t.originalEvent||t||c.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[e].pageX?i.push({x:t[e].pageX,y:t[e].pageY}):t[e].clientX&&i.push({x:t[e].clientX,y:t[e].clientY});return i}function p(t,e,i){return e&&t?"x"===i?t.x-e.x:"y"===i?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0}function d(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||u.isFunction(t.get(0).onclick)||t.data("selectable"))return 1;for(var e=0,i=t[0].attributes,n=i.length;e<n;e++)if("data-fancybox-"===i[e].nodeName.substr(0,14))return 1}function f(t){for(var e,i,n,s=!1;(e=t.get(0),i=n=i=void 0,i=c.getComputedStyle(e)["overflow-y"],n=c.getComputedStyle(e)["overflow-x"],i=("scroll"===i||"auto"===i)&&e.scrollHeight>e.clientHeight,e=("scroll"===n||"auto"===n)&&e.scrollWidth>e.clientWidth,!(s=i||e))&&((t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body")););return s}function i(t){this.instance=t,this.$bg=t.$refs.bg,this.$stage=t.$refs.stage,this.$container=t.$refs.container,this.destroy(),this.$container.on("touchstart.fb.touch mousedown.fb.touch",u.proxy(this,"ontouchstart"))}var m=c.requestAnimationFrame||c.webkitRequestAnimationFrame||c.mozRequestAnimationFrame||c.oRequestAnimationFrame||function(t){return c.setTimeout(t,1e3/60)},g=c.cancelAnimationFrame||c.webkitCancelAnimationFrame||c.mozCancelAnimationFrame||c.oCancelAnimationFrame||function(t){c.clearTimeout(t)};i.prototype.destroy=function(){this.$container.off(".fb.touch"),u(l).off(".fb.touch"),this.requestId&&(g(this.requestId),this.requestId=null),this.tapped&&(clearTimeout(this.tapped),this.tapped=null)},i.prototype.ontouchstart=function(t){var e=this,i=u(t.target),n=e.instance,s=n.current,r=s.$slide,o=s.$content,a="touchstart"==t.type;if(a&&e.$container.off("mousedown.fb.touch"),(!t.originalEvent||2!=t.originalEvent.button)&&r.length&&i.length&&!d(i)&&!d(i.parent())&&(i.is("img")||!(t.originalEvent.clientX>i[0].clientWidth+i.offset().left))){if(!s||n.isAnimating||s.$slide.hasClass("fancybox-animated"))return t.stopPropagation(),void t.preventDefault();e.realPoints=e.startPoints=h(t),e.startPoints.length&&(s.touch&&t.stopPropagation(),e.startEvent=t,e.canTap=!0,e.$target=i,e.$content=o,e.opts=s.opts.touch,e.isPanning=!1,e.isSwiping=!1,e.isZooming=!1,e.isScrolling=!1,e.canPan=n.canPan(),e.startTime=(new Date).getTime(),e.distanceX=e.distanceY=e.distance=0,e.canvasWidth=Math.round(r[0].clientWidth),e.canvasHeight=Math.round(r[0].clientHeight),e.contentLastPos=null,e.contentStartPos=u.fancybox.getTranslate(e.$content)||{top:0,left:0},e.sliderStartPos=u.fancybox.getTranslate(r),e.stagePos=u.fancybox.getTranslate(n.$refs.stage),e.sliderStartPos.top-=e.stagePos.top,e.sliderStartPos.left-=e.stagePos.left,e.contentStartPos.top-=e.stagePos.top,e.contentStartPos.left-=e.stagePos.left,u(l).off(".fb.touch").on(a?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",u.proxy(e,"ontouchend")).on(a?"touchmove.fb.touch":"mousemove.fb.touch",u.proxy(e,"ontouchmove")),u.fancybox.isMobile&&l.addEventListener("scroll",e.onscroll,!0),((e.opts||e.canPan)&&(i.is(e.$stage)||e.$stage.find(i).length)||(i.is(".fancybox-image")&&t.preventDefault(),u.fancybox.isMobile&&i.parents(".fancybox-caption").length))&&(e.isScrollable=f(i)||f(i.parent()),u.fancybox.isMobile&&e.isScrollable||t.preventDefault(),1!==e.startPoints.length&&!s.hasError||(e.canPan?(u.fancybox.stop(e.$content),e.isPanning=!0):e.isSwiping=!0,e.$container.addClass("fancybox-is-grabbing")),2===e.startPoints.length&&"image"===s.type&&(s.isLoaded||s.$ghost)&&(e.canTap=!1,e.isSwiping=!1,e.isPanning=!1,e.isZooming=!0,u.fancybox.stop(e.$content),e.centerPointStartX=.5*(e.startPoints[0].x+e.startPoints[1].x)-u(c).scrollLeft(),e.centerPointStartY=.5*(e.startPoints[0].y+e.startPoints[1].y)-u(c).scrollTop(),e.percentageOfImageAtPinchPointX=(e.centerPointStartX-e.contentStartPos.left)/e.contentStartPos.width,e.percentageOfImageAtPinchPointY=(e.centerPointStartY-e.contentStartPos.top)/e.contentStartPos.height,e.startDistanceBetweenFingers=p(e.startPoints[0],e.startPoints[1]))))}},i.prototype.onscroll=function(t){this.isScrolling=!0,l.removeEventListener("scroll",this.onscroll,!0)},i.prototype.ontouchmove=function(t){var e=this;return void 0!==t.originalEvent.buttons&&0===t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling?void(e.canTap=!1):(e.newPoints=h(t),void((e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=p(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=p(e.newPoints[0],e.startPoints[0],"y"),e.distance=p(e.newPoints[0],e.startPoints[0]),0<e.distance&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))))},i.prototype.onSwipe=function(t){var s=this,r=s.instance,e=s.isSwiping,i=s.sliderStartPos.left||0;!0!==e?("x"==e&&(0<s.distanceX&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?i+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?i-=Math.pow(-s.distanceX,.8):i+=s.distanceX),s.sliderLastPos={top:"x"==e?0:s.sliderStartPos.top+s.distanceY,left:i},s.requestId&&(g(s.requestId),s.requestId=null),s.requestId=m(function(){s.sliderLastPos&&(u.each(s.instance.slides,function(t,e){var i=e.pos-s.instance.currPos;
1u.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+i*s.canvasWidth+i*e.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))})):10<Math.abs(s.distance)&&(s.canTap=!1,r.group.length<2&&s.opts.vertical?s.isSwiping="y":r.isDragging||!1===s.opts.vertical||"auto"===s.opts.vertical&&800<u(c).width()?s.isSwiping="x":(i=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=45<i&&i<135?"y":"x"),"y"===s.isSwiping&&u.fancybox.isMobile&&s.isScrollable?s.isScrolling=!0:(r.isDragging=s.isSwiping,s.startPoints=s.newPoints,u.each(r.slides,function(t,e){var i,n;u.fancybox.stop(e.$slide),i=u.fancybox.getTranslate(e.$slide),n=u.fancybox.getTranslate(r.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),e.pos===r.current.pos&&(s.sliderStartPos.top=i.top-n.top,s.sliderStartPos.left=i.left-n.left),u.fancybox.setTranslate(e.$slide,{top:i.top-n.top,left:i.left-n.left})}),r.SlideShow&&r.SlideShow.isActive&&r.SlideShow.stop()))},i.prototype.onPan=function(){var t=this;p(t.newPoints[0],t.realPoints[0])<(u.fancybox.isMobile?10:5)?t.startPoints=t.newPoints:(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&g(t.requestId),t.requestId=m(function(){u.fancybox.setTranslate(t.$content,t.contentLastPos)}))},i.prototype.limitMovement=function(){var t=this.canvasWidth,e=this.canvasHeight,i=this.distanceX,n=this.distanceY,s=this.contentStartPos,r=s.left,o=s.top,a=s.width,l=s.height,d=t<a?r+i:r,c=o+n,u=Math.max(0,.5*t-.5*a),s=Math.max(0,.5*e-.5*l),a=Math.min(t-a,.5*t-.5*a),l=Math.min(e-l,.5*e-.5*l);return 0<i&&u<d&&(d=u-1+Math.pow(-u+r+i,.8)||0),i<0&&d<a&&(d=a+1-Math.pow(a-r-i,.8)||0),0<n&&s<c&&(c=s-1+Math.pow(-s+o+n,.8)||0),n<0&&c<l&&(c=l+1-Math.pow(l-o-n,.8)||0),{top:c,left:d}},i.prototype.limitPosition=function(t,e,i,n){var s=this.canvasWidth,r=this.canvasHeight;return t=s<i?(t=0<t?0:t)<s-i?s-i:t:Math.max(0,s/2-i/2),{top:e=r<n?(e=0<e?0:e)<r-n?r-n:e:Math.max(0,r/2-n/2),left:t}},i.prototype.onZoom=function(){var t=this,e=t.contentStartPos,i=e.width,n=e.height,s=e.left,r=e.top,o=p(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,a=Math.floor(i*o),l=Math.floor(n*o),d=(i-a)*t.percentageOfImageAtPinchPointX,e=(n-l)*t.percentageOfImageAtPinchPointY,i=(t.newPoints[0].x+t.newPoints[1].x)/2-u(c).scrollLeft(),n=(t.newPoints[0].y+t.newPoints[1].y)/2-u(c).scrollTop(),i=i-t.centerPointStartX,o={top:r+(e+(n-t.centerPointStartY)),left:s+(d+i),scaleX:o,scaleY:o};t.canTap=!1,t.newWidth=a,t.newHeight=l,t.contentLastPos=o,t.requestId&&g(t.requestId),t.requestId=m(function(){u.fancybox.setTranslate(t.$content,t.contentLastPos)})},i.prototype.ontouchend=function(t){var e=this,i=e.isSwiping,n=e.isPanning,s=e.isZooming,r=e.isScrolling;if(e.endPoints=h(t),e.dMs=Math.max((new Date).getTime()-e.startTime,1),e.$container.removeClass("fancybox-is-grabbing"),u(l).off(".fb.touch"),l.removeEventListener("scroll",e.onscroll,!0),e.requestId&&(g(e.requestId),e.requestId=null),e.isSwiping=!1,e.isPanning=!1,e.isZooming=!1,e.isScrolling=!1,e.instance.isDragging=!1,e.canTap)return e.onTap(t);e.speed=100,e.velocityX=e.distanceX/e.dMs*.5,e.velocityY=e.distanceY/e.dMs*.5,n?e.endPanning():s?e.endZooming():e.endSwiping(i,r)},i.prototype.endSwiping=function(t,e){var i=this,n=!1,s=i.instance.group.length,r=Math.abs(i.distanceX),r="x"==t&&1<s&&(130<i.dMs&&10<r||50<r);i.sliderLastPos=null,"y"==t&&!e&&50<Math.abs(i.distanceY)?(u.fancybox.animate(i.instance.current.$slide,{top:i.sliderStartPos.top+i.distanceY+150*i.velocityY,opacity:0},200),n=i.instance.close(!0,250)):r&&0<i.distanceX?n=i.instance.previous(300):r&&i.distanceX<0&&(n=i.instance.next(300)),!1!==n||"x"!=t&&"y"!=t||i.instance.centerSlide(200),i.$container.removeClass("fancybox-is-sliding")},i.prototype.endPanning=function(){var t,e,i=this;i.contentLastPos&&(e=!1===i.opts.momentum||350<i.dMs?(t=i.contentLastPos.left,i.contentLastPos.top):(t=i.contentLastPos.left+500*i.velocityX,i.contentLastPos.top+500*i.velocityY),(e=i.limitPosition(t,e,
1i.contentStartPos.width,i.contentStartPos.height)).width=i.contentStartPos.width,e.height=i.contentStartPos.height,u.fancybox.animate(i.$content,e,366))},i.prototype.endZooming=function(){var t,e,i,n=this,s=n.instance.current,r=n.newWidth,o=n.newHeight;n.contentLastPos&&(t=n.contentLastPos.left,i={top:e=n.contentLastPos.top,left:t,width:r,height:o,scaleX:1,scaleY:1},u.fancybox.setTranslate(n.$content,i),r<n.canvasWidth&&o<n.canvasHeight?n.instance.scaleToFit(150):r>s.width||o>s.height?n.instance.scaleToActual(n.centerPointStartX,n.centerPointStartY,150):(o=n.limitPosition(t,e,r,o),u.fancybox.animate(n.$content,o,150)))},i.prototype.onTap=function(e){function t(t){if(t=o.opts[t],u.isFunction(t)&&(t=t.apply(r,[o,e])),t)switch(t){case"close":r.close(n.startEvent);break;case"toggleControls":r.toggleControls();break;case"next":r.next();break;case"nextOrClose":1<r.group.length?r.next():r.close(n.startEvent);break;case"zoom":"image"==o.type&&(o.isLoaded||o.$ghost)&&(r.canPan()?r.scaleToFit():r.isScaledDown()?r.scaleToActual(l,d):r.group.length<2&&r.close(n.startEvent))}}var i,n=this,s=u(e.target),r=n.instance,o=r.current,a=e&&h(e)||n.startPoints,l=a[0]?a[0].x-u(c).scrollLeft()-n.stagePos.left:0,d=a[0]?a[0].y-u(c).scrollTop()-n.stagePos.top:0;if((!e.originalEvent||2!=e.originalEvent.button)&&(s.is("img")||!(l>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(s.is(".fancybox-slide"))i="Slide";else{if(!r.current.$content||!r.current.$content.find(s).addBack().filter(s).length)return;i="Content"}if(n.tapped){if(clearTimeout(n.tapped),n.tapped=null,50<Math.abs(l-n.tapX)||50<Math.abs(d-n.tapY))return this;t("dblclick"+i)}else n.tapX=l,n.tapY=d,o.opts["dblclick"+i]&&o.opts["dblclick"+i]!==o.opts["click"+i]?n.tapped=setTimeout(function(){n.tapped=null,r.isAnimating||t("click"+i)},500):t("click"+i);return this}},u(l).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new i(e))}).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,jQuery),function(r,o){"use strict";o.extend(!0,o.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});function i(t){this.instance=t,this.init()}o.extend(i.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,e=t.instance,i=e.group[e.currIndex].opts.slideShow;t.$button=e.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),e.group.length<2||!i?t.$button.hide():i.progress&&(t.$progress=o('<div class="fancybox-progress"></div>').appendTo(e.$refs.inner))},set:function(t){var e=this.instance,i=e.current;i&&(!0===t||i.opts.loop||e.currIndex<e.group.length-1)?this.isActive&&"video"!==i.contentType&&(this.$progress&&o.fancybox.animate(this.$progress.show(),{scaleX:1},i.opts.slideShow.speed),this.timer=setTimeout(function(){e.current.opts.loop||e.current.index!=e.group.length-1?e.next():e.jumpTo(0)},i.opts.slideShow.speed)):(this.stop(),e.idleSecondsCounter=0,e.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null,this.$progress&&this.$progress.removeAttr("style").hide()},start:function(){var t=this.instance.current;t&&(this.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),this.isActive=!0,t.isComplete&&this.set(!0),this.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this.instance.current;this.clear(),this.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),this.isActive=!1,this.instance.trigger("onSlideShowChange",!1),this.$progress&&this.$progress.removeAttr("style").hide()},toggle:function(){this.isActive?this.stop():this.start()}}),o(r).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new i(e))}
vendor: 9,529 bytes, line 1
1,"beforeShow.fb":function(t,e,i,n){e=e&&e.SlideShow;n?e&&i.opts.slideShow.autoStart&&e.start():e&&e.isActive&&e.clear()},"afterShow.fb":function(t,e,i){e=e&&e.SlideShow;e&&e.isActive&&e.set()},"afterKeydown.fb":function(t,e,i,n,s){e=e&&e.SlideShow;!e||!i.opts.slideShow||80!==s&&32!==s||o(r.activeElement).is("button,a,input")||(n.preventDefault(),e.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){e=e&&e.SlideShow;e&&e.stop()}}),o(r).on("visibilitychange",function(){var t=o.fancybox.getInstance(),t=t&&t.SlideShow;t&&t.isActive&&(r.hidden?t.clear():t.set())})}(document,jQuery),function(r,i){"use strict";var n,s=function(){for(var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],e={},i=0;i<t.length;i++){var n=t[i];if(n&&n[1]in r){for(var s=0;s<n.length;s++)e[t[0][s]]=n[s];return e}}return!1}();s&&(n={request:function(t){(t=t||r.documentElement)[s.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){r[s.exitFullscreen]()},toggle:function(t){t=t||r.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(r[s.fullscreenElement])},enabled:function(){return Boolean(r[s.fullscreenEnabled])}},i.extend(!0,i.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),i(r).on(s.fullscreenchange,function(){var t=n.isFullscreen(),e=i.fancybox.getInstance();e&&(e.current&&"image"===e.current.type&&e.isAnimating&&(e.isAnimating=!1,e.update(!0,!0,0),e.isComplete||e.complete()),e.trigger("onFullscreenChange",t),e.$refs.container.toggleClass("fancybox-is-fullscreen",t),e.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))})),i(r).on({"onInit.fb":function(t,e){s?e&&e.group[e.currIndex].opts.fullScreen?(e.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),n.toggle()}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&n.request(),e.FullScreen=n):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(t,e,i,n,s){e&&e.FullScreen&&70===s&&(n.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&n.exit()}})}(document,jQuery),function(t,r){"use strict";var o="fancybox-thumbs";r.fancybox.defaults=r.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},r.fancybox.defaults);function i(t){this.init(t)}r.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,i=t.group,n=0;e.instance=t,e.opts=i[t.currIndex].opts.thumbs,(t.Thumbs=e).$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var s=0,r=i.length;s<r&&(i[s].thumb&&n++,!(1<n));s++);1<n&&e.opts?(e.$button.removeAttr("style").on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var i,t=this,e=t.instance,n=t.opts.parentEl,s=[];t.$grid||(t.$grid=r('<div class="'+o+" "+o+"-"+t.opts.axis+'"></div>').appendTo(e.$refs.container.find(n).addBack().filter(n)),t.$grid.on("click","a",function(){e.jumpTo(r(this).attr("data-index"))})),t.$list||(t.$list=r('<div class="'+o+'__list">').appendTo(t.$grid)),r.each(e.group,function(t,e){(i=e.thumb)||"image"!==e.type||(i=e.src),s.push('<a href="javascript:;" tabindex="0" data-index="'+t+'"'+(i&&i.length?' style="background-image:url('+i+')"':'class="fancybox-thumbs-missing"')+"></a>")}),t.$list[0].innerHTML=s.join(""),"x"===t.opts.axis&&t.$list.width(parseInt(t.$grid.css("padding-right"),10)+e.group.length*t.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,i,n=this.$list,s=this.$grid;this.instance.current&&(i=(e=n.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===this.opts.axis&&(i.top<0||i.top>n.height()-e.outerHeight())?n.stop().animate({scrollTop:n.scrollTop()+i.top},t):"x"===this.opts.axis&&(i.left<s.scrollLeft()||i.left>s.scrollLeft()+(s.width()-e.outerWidth()))&&n.parent().stop().animate({scrollLeft:i.left},t))},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus(0)):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),r(t).on({"onInit.fb":function(t,e){!e||e.Thumbs||(e=new i(e)).isActive&&!0===e.opts.autoStart&&e.show()},"beforeShow.fb":function(t,e,i,n){e=e&&e.Thumbs;e&&e.isVisible&&e.focus(n?0:250)},"afterKeydown.fb":function(t,e,i,n,s){e=e&&e.Thumbs;e&&e.isActive&&71===s&&(n.preventDefault(),e.toggle())},"beforeClose.fb":function(t,e){e=e&&e.Thumbs;e&&e.isVisible&&!1!==e.opts.hideOnClose&&e.$grid.hide()}})}(document,jQuery),function(t,s){"use strict";s.extend(!0,s.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),s(t).on("click","[data-fancybox-share]",function(){var t,e,i=s.fancybox.getInstance(),n=i.current||null;n&&("function"===s.type(n.opts.share.url)&&(t=n.opts.share.url.apply(n,[i,n])),t=n.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===n.type?encodeURIComponent(n.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,(e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]}))).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),s.fancybox.open({src:i.translate(i,t),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){i.$refs.container.one("beforeClose.fb",function(){t.close(null,0)}),e.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})}
1,mobile:{autoFocus:!1}}}))})}(document,jQuery),function(r,o,n){"use strict";function s(){var t=r.location.hash.substr(1),e=t.split("-"),i=1<e.length&&/^\+?\d+$/.test(e[e.length-1])&&parseInt(e.pop(-1),10)||1;return{hash:t,index:i<1?1:i,gallery:e.join("-")}}function e(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function a(t){return!!t&&(""!==(t=(t=(t.current?t.current:t).opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&t)}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(o).on({"onInit.fb":function(t,e){var i,n;!1!==e.group[e.currIndex].opts.hash&&(i=s(),(n=a(e))&&i.gallery&&n==i.gallery&&(e.currIndex=i.index-1))},"beforeShow.fb":function(t,e,i,n){var s;i&&!1!==i.opts.hash&&(s=a(e))&&(e.currentHash=s+(1<e.group.length?"-"+(i.index+1):""),r.location.hash!=="#"+e.currentHash&&(n&&!e.origHash&&(e.origHash=r.location.hash),e.hashTimer&&clearTimeout(e.hashTimer),e.hashTimer=setTimeout(function(){"replaceState"in r.history?(r.history[n?"pushState":"replaceState"]({},o.title,r.location.pathname+r.location.search+"#"+e.currentHash),n&&(e.hasCreatedHistory=!0)):r.location.hash=e.currentHash,e.hashTimer=null},300)))},"beforeClose.fb":function(t,e,i){i&&!1!==i.opts.hash&&(clearTimeout(e.hashTimer),e.currentHash&&e.hasCreatedHistory?r.history.back():e.currentHash&&("replaceState"in r.history?r.history.replaceState({},o.title,r.location.pathname+r.location.search+(e.origHash||"")):r.location.hash=e.origHash),e.currentHash=null)}}),n(r).on("hashchange.fb",function(){var t=s(),i=null;n.each(n(".fancybox-container").get().reverse(),function(t,e){e=n(e).data("FancyBox");if(e&&e.currentHash)return i=e,!1}),i?i.currentHash===t.gallery+"-"+t.index||1===t.index&&i.currentHash==t.gallery||(i.currentHash=null,i.close()):""!==t.gallery&&e(t)}),setTimeout(function(){n.fancybox.getInstance()||e(s())},50))})}(window,document,jQuery),function(t,e){"use strict";var s=(new Date).getTime();e(t).on({"onInit.fb":function(t,n,e){n.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var e=n.current,i=(new Date).getTime();n.group.length<2||!1===e.opts.wheel||"auto"===e.opts.wheel&&"image"!==e.type||(t.preventDefault(),t.stopPropagation(),e.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,i-s<250||(s=i,n[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(c){function e(t){var e,i=t||window.event,n=m.call(arguments,1),s=0,r=0,o=0,a=0,l=0,d=0;if((t=c.event.fix(i)).type="mousewheel","detail"in i&&(o=-1*i.detail),"wheelDelta"in i&&(o=i.wheelDelta),"wheelDeltaY"in i&&(o=i.wheelDeltaY),"wheelDeltaX"in i&&(r=-1*i.wheelDeltaX),"axis"in i&&i.axis===i.HORIZONTAL_AXIS&&(r=-1*o,o=0),s=0===o?r:o,"deltaY"in i&&(s=o=-1*i.deltaY),"deltaX"in i&&(r=i.deltaX,0===o&&(s=-1*r)),0!==o||0!==r){1===i.deltaMode?(s*=e=c.data(this,"mousewheel-line-height"),o*=e,r*=e):2===i.deltaMode&&(s*=e=c.data(this,"mousewheel-page-height"),o*=e,r*=e);var a=Math.max(Math.abs(o),Math.abs(r));return f&&!(a<f)||h(i,f=a)&&(f/=40),h(i,a)&&(s/=40,r/=40,o/=40),s=Math[1<=s?"floor":"ceil"](s/f),r=Math[1<=r?"floor":"ceil"](r/f),o=Math[1<=o?"floor":"ceil"](o/f),g.settings.normalizeOffset&&this.getBoundingClientRect&&(a=this.getBoundingClientRect(),l=t.clientX-a.left,d=t.clientY-a.top),t.deltaX=r,t.deltaY=o,t.deltaFactor=f,t.offsetX=l,t.offsetY=d,t.deltaMode=0,n.unshift(t,s,r,o),p&&clearTimeout(p),p=setTimeout(u,200),(c.event.dispatch||c.event.handle).apply(this,n)}}function u(){f=null}function h(t,e){return g.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var p,f,t=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],m=Array.prototype.slice;if(c.event.fixHooks)for(var n=t.length;n;)c.event.fixHooks[t[--n]]=c.event.mouseHooks;var g=c.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=i.length;t;)this.addEventListener(i[--t],e,!1);else this.onmousewheel=e;c.data(this,"mousewheel-line-height",g.getLineHeight(this)),c.data(this,"mousewheel-page-height",g.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=i.length;t;)this.removeEventListener(i[--t],e,!1);else this.onmousewheel=null;c.removeData(this,"mousewheel-line-height"),c.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var e=c(t),t=e["offsetParent"in c.fn?"offsetParent":"parent"]();return t.length||(t=c("body")),parseInt(t.css("fontSize"),10)||parseInt(e.css("fontSize"),10)||16},getPageHeight:function(t){return c(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};c.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(c){function e(t){var e,i=t||window.event,n=m.call(arguments,1
vendor: 4,456 bytes, line 1
1),s=0,r=0,o=0,a=0,l=0,d=0;if((t=c.event.fix(i)).type="mousewheel","detail"in i&&(o=-1*i.detail),"wheelDelta"in i&&(o=i.wheelDelta),"wheelDeltaY"in i&&(o=i.wheelDeltaY),"wheelDeltaX"in i&&(r=-1*i.wheelDeltaX),"axis"in i&&i.axis===i.HORIZONTAL_AXIS&&(r=-1*o,o=0),s=0===o?r:o,"deltaY"in i&&(s=o=-1*i.deltaY),"deltaX"in i&&(r=i.deltaX,0===o&&(s=-1*r)),0!==o||0!==r){1===i.deltaMode?(s*=e=c.data(this,"mousewheel-line-height"),o*=e,r*=e):2===i.deltaMode&&(s*=e=c.data(this,"mousewheel-page-height"),o*=e,r*=e);var a=Math.max(Math.abs(o),Math.abs(r));return f&&!(a<f)||h(i,f=a)&&(f/=40),h(i,a)&&(s/=40,r/=40,o/=40),s=Math[1<=s?"floor":"ceil"](s/f),r=Math[1<=r?"floor":"ceil"](r/f),o=Math[1<=o?"floor":"ceil"](o/f),g.settings.normalizeOffset&&this.getBoundingClientRect&&(a=this.getBoundingClientRect(),l=t.clientX-a.left,d=t.clientY-a.top),t.deltaX=r,t.deltaY=o,t.deltaFactor=f,t.offsetX=l,t.offsetY=d,t.deltaMode=0,n.unshift(t,s,r,o),p&&clearTimeout(p),p=setTimeout(u,200),(c.event.dispatch||c.event.handle).apply(this,n)}}function u(){f=null}function h(t,e){return g.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var p,f,t=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],m=Array.prototype.slice;if(c.event.fixHooks)for(var n=t.length;n;)c.event.fixHooks[t[--n]]=c.event.mouseHooks;var g=c.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=i.length;t;)this.addEventListener(i[--t],e,!1);else this.onmousewheel=e;c.data(this,"mousewheel-line-height",g.getLineHeight(this)),c.data(this,"mousewheel-page-height",g.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=i.length;t;)this.removeEventListener(i[--t],e,!1);else this.onmousewheel=null;c.removeData(this,"mousewheel-line-height"),c.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var e=c(t),t=e["offsetParent"in c.fn?"offsetParent":"parent"]();return t.length||(t=c("body")),parseInt(t.css("fontSize"),10)||parseInt(e.css("fontSize"),10)||16},getPageHeight:function(t){return c(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};c.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t:t(jQuery,window,document)}(function(M){var O,l,L,n,s,a,r,m,N,g,c,d,u,h,p,f,v,y,_,b,w,T,S,C,x,k,$,E,R,o,D,I,A,P,F,j,B,H,U,z,q,W,V,Y,G,K,X,Q,Z,J,e,tt,et,it,nt,st,rt,t,i,ot;t="function"==typeof define&&define.amd,i="undefined"!=typeof module&&module.exports,ot="https:"==document.location.protocol?"https:":"http:",t||(i?require("jquery-mousewheel")(M):M.event.special.mousewheel||M("head").append(decodeURI("%3Cscript src="+ot+"//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js%3E%3C/script%3E"))),l="mCustomScrollbar",L="mCS",n=".mCustomScrollbar",s={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},a=0,r={},m=window.attachEvent&&!window.addEventListener?1:0,N=!1,g=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],c={init:function(o){var o=M.extend(!0,{},s,o),t=d.call(this);if(o.live){var e=o.liveSelector||this.selector||n,i=M(e);if("off"===o.live)return void h(e);r[e]=setTimeout(function(){i.mCustomScrollbar(o),"once"===o.live&&i.length&&h(e)},500)}else h(e);
vendor: 5,715 bytes, line 1
1return o.setWidth=o.set_width?o.set_width:o.setWidth,o.setHeight=o.set_height?o.set_height:o.setHeight,o.axis=o.horizontalScroll?"x":p(o.axis),o.scrollInertia=0<o.scrollInertia&&o.scrollInertia<17?17:o.scrollInertia,"object"!=typeof o.mouseWheel&&1==o.mouseWheel&&(o.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),o.mouseWheel.scrollAmount=o.mouseWheelPixels?o.mouseWheelPixels:o.mouseWheel.scrollAmount,o.mouseWheel.normalizeDelta=o.advanced.normalizeMouseWheelDelta?o.advanced.normalizeMouseWheelDelta:o.mouseWheel.normalizeDelta,o.scrollButtons.scrollType=f(o.scrollButtons.scrollType),u(o),M(t).each(function(){var t,e,i,n,s,r=M(this);r.data(L)||(r.data(L,{idx:++a,opt:o,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:r.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}}),e=(t=r.data(L)).opt,i=r.data("mcs-axis"),n=r.data("mcs-scrollbar-position"),s=r.data("mcs-theme"),i&&(e.axis=i),n&&(e.scrollbarPosition=n),s&&(e.theme=s,u(e)),v.call(this),t&&e.callbacks.onCreate&&"function"==typeof e.callbacks.onCreate&&e.callbacks.onCreate.call(this),M("#mCSB_"+t.idx+"_container img:not(."+g[2]+")").addClass(g[2]),c.update.call(null,r))})},update:function(t,o){t=t||d.call(this);return M(t).each(function(){var t,e,i,n,s,r=M(this);r.data(L)&&(e=(t=r.data(L)).opt,s=M("#mCSB_"+t.idx+"_container"),i=M("#mCSB_"+t.idx),n=[M("#mCSB_"+t.idx+"_dragger_vertical"),M("#mCSB_"+t.idx+"_dragger_horizontal")],s.length&&(t.tweenRunning&&X(r),o&&t&&e.callbacks.onBeforeUpdate&&"function"==typeof e.callbacks.onBeforeUpdate&&e.callbacks.onBeforeUpdate.call(this),r.hasClass(g[3])&&r.removeClass(g[3]),r.hasClass(g[4])&&r.removeClass(g[4]),i.css("max-height","none"),i.height()!==r.height()&&i.css("max-height",r.height()),_.call(this),"y"===e.axis||e.advanced.autoExpandHorizontalScroll||s.css("width",y(s)),t.overflowed=C.call(this),E.call(this),e.autoDraggerLength&&w.call(this),T.call(this),k.call(this),s=[Math.abs(s[0].offsetTop),Math.abs(s[0].offsetLeft)],"x"!==e.axis&&(t.overflowed[0]?n[0].height()>n[0].parent().height()?x.call(this):(Q(r,s[0].toString(),{dir:"y",dur:0,overwrite:"none"}),t.contentReset.y=null):(x.call(this),"y"===e.axis?$.call(this):"yx"===e.axis&&t.overflowed[1]&&Q(r,s[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==e.axis&&(t.overflowed[1]?n[1].width()>n[1].parent().width()?x.call(this):(Q(r,s[1].toString(),{dir:"x",dur:0,overwrite:"none"}),t.contentReset.x=null):(x.call(this),"x"===e.axis?$.call(this):"yx"===e.axis&&t.overflowed[0]&&Q(r,s[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),o&&t&&(2===o&&e.callbacks.onImageLoad&&"function"==typeof e.callbacks.onImageLoad?e.callbacks.onImageLoad.call(this):3===o&&e.callbacks.onSelectorChange&&"function"==typeof e.callbacks.onSelectorChange?e.callbacks.onSelectorChange.call(this):e.callbacks.onUpdate&&"function"==typeof e.callbacks.onUpdate&&e.callbacks.onUpdate.call(this)),K.call(this)))})},scrollTo:function(o,a){if(void 0!==o&&null!=o){var t=d.call(this);return M(t).each(function(){var t,e,i,n,s,r=M(this);r.data(L)&&(t=r.data(L),s={trigger:"external",scrollInertia:(e=t.opt).scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},i=M.extend(!0,{},s,a),n=Y.call(this,o),s=0<i.scrollInertia&&i.scrollInertia<17?17:i.scrollInertia,n[0]=G.call(this,n[0],"y"),n[1]=G.call(this,n[1],"x"),i.moveDragger&&(n[0]*=t.scrollRatio.y,n[1]*=t.scrollRatio.x),i.dur=rt()?0:s,setTimeout(function(){null!==n[0]&&void 0!==n[0]&&"x"!==e.axis&&t.overflowed[0]&&(i.dir="y",i.overwrite="all",Q(r,n[0].toString(),i)),null!==n[1]&&void 0!==n[1]&&"y"!==e.axis&&t.overflowed[1]&&(i.dir="x",i.overwrite="none",Q(r,n[1].toString(),i))},i.timeout))})}},stop:function(){var t=d.call(this);return M(t).each(function(){var t=M(this);t.data(L)&&X(t)})},disable:function(e){var t=d.call(this);return M(t).each(function(){var t=M(this);t.data(L)&&(t.data(L),K.call(this,"remove"),$.call(this),e&&x.call(this),E.call(this,!0),t.addClass(g[3]))})},destroy:function(){var o=d.call(this);return M(o).each(function(){var t,e,i,n,s,r=M(this);r.data(L)&&(e=(t=r.data(L)).opt,i=M("#mCSB_"+t.idx),n=M("#mCSB_"+t.idx+"_container"),s=M(".mCSB_"+t.idx+"_scrollbar"),e.live&&h(e.liveSelector||M(o).selector),K.call(this,"remove"),$.call(this),x.call(this),r.removeData(L),tt(this,"mcs"),s.remove(),n.find("img."+g[2]).removeClass(g[2]),i.replaceWith(n.contents()),r.removeClass(l+" _"+L+"_"+t.idx+" "+g[6]+" "+g[7]+" "+g[5]+" "+g[3]).addClass(g[4]))})}},d=function(){return"object"!=typeof M(this)||M(this).length<1?n:this},u=function(t){t.autoDraggerLength=!(-1<M.inArray(t.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"]))&&t.autoDraggerLength,t.autoExpandScrollbar=!(-1<M.inArray(t.theme,["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"]))&&t.autoExpandScrollbar,t.scrollButtons.enable=!(-1<M.inArray(t.theme,["minimal","minimal-dark"]))&&t.scrollButtons.enable,t.autoHideScrollbar=-1<M.inArray(t.theme,["minimal","minimal-dark"])||t.autoHideScrollbar,t.scrollbarPosition=-1<M.inArray(t.theme,["minimal","minimal-dark"])?"outside":t.scrollbarPosition},h=function(t){r[t]&&(clearTimeout(r[t]),tt(r,t))},p=function(t){return"yx"===t||"xy"===t||"auto"===t?"yx":"x"===t||"horizontal"===t?"x":"y"},f=function(t){return"stepped"===t||"pixels"===t||"step"===t||"click"===t?"stepped":"stepless"},v=function(){var t=M(this),e=t.data(L),i=e.opt,n=i.autoExpandScrollbar?" "+g[1]+"_expand":"",s=["<div id='m
1CSB_"+e.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+e.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_vertical"+n+"'><div class='"+g[12]+"'><div id='mCSB_"+e.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+e.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+e.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_horizontal"+n+"'><div class='"+g[12]+"'><div id='mCSB_"+e.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],r="yx"===i.axis?"mCSB_vertical_horizontal":"x"===i.axis?"mCSB_horizontal":"mCSB_vertical",o="yx"===i.axis?s[0]+s[1]:"x"===i.axis?s[1]:s[0],a="yx"===i.axis?"<div id='mCSB_"+e.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",n=i.autoHideScrollbar?" "+g[6]:"",s="x"!==i.axis&&"rtl"===e.langDir?" "+g[7]:"";i.setWidth&&t.css("width",i.setWidth),i.setHeight&&t.css("height",i.setHeight),i.setLeft="y"!==i.axis&&"rtl"===e.langDir?"989999px":i.setLeft,t.addClass(l+" _"+L+"_"+e.idx+n+s).wrapInner("<div id='mCSB_"+e.idx+"' class='mCustomScrollBox mCS-"+i.theme+" "+r+"'><div id='mCSB_"+e.idx+"_container' class='mCSB_container' style='position:relative; top:"+i.setTop+"; left:"+i.setLeft+";' dir='"+e.langDir+"' /></div>");s=M("#mCSB_"+e.idx),r=M("#mCSB_"+e.idx+"_container");"y"===i.axis||i.advanced.autoExpandHorizontalScroll||r.css("width",y(r)),"outside"===i.scrollbarPosition?("static"===t.css("position")&&t.css("position","relative"),t.css("overflow","visible"),s.addClass("mCSB_outside").after(o)):(s.addClass("mCSB_inside").append(o),r.wrap(a)),b.call(this);e=[M("#mCSB_"+e.idx+"_dragger_vertical"),M("#mCSB_"+e.idx+"_dragger_horizontal")];e[0].css("min-height",e[0].height()),e[1].css("min-width",e[1].width())},y=function(t){var e=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return M(this).outerWidth(!0)}).get())],t=t.parent().width();return t<e[0]?e[0]:t<e[1]?e[1]:"100%"},_=function(){var t=M(this).data(L),e=t.opt,i=M("#mCSB_"+t.idx+"_container");e.advanced.autoExpandHorizontalScroll&&"y"!==e.axis&&(i.css({width:"auto","min-width":0,"overflow-x":"scroll"}),t=Math.ceil(i[0].scrollWidth),3===e.advanced.autoExpandHorizontalScroll||2!==e.advanced.autoExpandHorizontalScroll&&t>i.parent().width()?i.css({width:t,"min-width":"100%","overflow-x":"inherit"}):i.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(i[0].getBoundingClientRect().right+.4)-Math.floor(i[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap())},b=function(){var t=M(this).data(L),e=t.opt,i=M(".mCSB_"+t.idx+"_scrollbar:first"),t=nt(e.scrollButtons.tabindex)?"tabindex='"+e.scrollButtons.tabindex+"'":"",t=["<a href='#' class='"+g[13]+"' "+t+" />","<a href='#' class='"+g[14]+"' "+t+" />","<a href='#' class='"+g[15]+"' "+t+" />","<a href='#' class='"+g[16]+"' "+t+" />"],t=["x"===e.axis?t[2]:t[0],"x"===e.axis?t[3]:t[1],t[2],t[3]];e.scrollButtons.enable&&i.prepend(t[0]).append(t[1]).next(".mCSB_scrollTools").prepend(t[2]).append(t[3])},w=function(){var t=M(this).data(L),e=M("#mCSB_"+t.idx),i=M("#mCSB_"+t.idx+"_container"),n=[M("#mCSB_"+t.idx+"_dragger_vertical"),M("#mCSB_"+t.idx+"_dragger_horizontal")],t=[e.height()/i.outerHeight(!1),e.width()/i.outerWidth(!1)],e=[parseInt(n[0].css("min-height")),Math.round(t[0]*n[0].parent().height()),parseInt(n[1].css("min-width")),Math.round(t[1]*n[1].parent().width())],i=m&&e[1]<e[0]?e[0]:e[1],t=m&&e[3]<e[2]?e[2]:e[3];n[0].css({height:i,"max-height":n[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":e[0]+"px"}),n[1].css({width:t,"max-width":n[1].parent().width()-10})},T=function(){var t=M(this).data(L),e=M("#mCSB_"+t.idx),i=M("#mCSB_"+t.idx+"_container"),n=[M("#mCSB_"+t.idx+"_dragger_vertical"),M("#mCSB_"+t.idx+"_dragger_horizontal")],e=[i.outerHeight(!1)-e.height(),i.outerWidth(!1)-e.width()],n=[e[0]/(n[0].parent().height()-n[0].height()),e[1]/(n[1].parent().width()-n[1].width())];t.scrollRatio={y:n[0],x:n[1]}}
vendor: 11,335 bytes, line 1
1,S=function(t,e,i){var n=i?g[0]+"_expanded":"",i=t.closest(".mCSB_scrollTools");"active"===e?(t.toggleClass(g[0]+" "+n),i.toggleClass(g[1]),t[0]._draggable=t[0]._draggable?0:1):t[0]._draggable||("hide"===e?(t.removeClass(g[0]),i.removeClass(g[1])):(t.addClass(g[0]),i.addClass(g[1])))},C=function(){var t=M(this).data(L),e=M("#mCSB_"+t.idx),i=M("#mCSB_"+t.idx+"_container"),n=null==t.overflowed?i.height():i.outerHeight(!1),s=null==t.overflowed?i.width():i.outerWidth(!1),t=i[0].scrollHeight,i=i[0].scrollWidth;return n<t&&(n=t),s<i&&(s=i),[n>e.height(),s>e.width()]},x=function(){var t=M(this),e=t.data(L),i=e.opt,n=M("#mCSB_"+e.idx),s=M("#mCSB_"+e.idx+"_container"),r=[M("#mCSB_"+e.idx+"_dragger_vertical"),M("#mCSB_"+e.idx+"_dragger_horizontal")];X(t),("x"!==i.axis&&!e.overflowed[0]||"y"===i.axis&&e.overflowed[0])&&(r[0].add(s).css("top",0),Q(t,"_resetY")),("y"!==i.axis&&!e.overflowed[1]||"x"===i.axis&&e.overflowed[1])&&(i=dx=0,"rtl"===e.langDir&&(i=n.width()-s.outerWidth(!1),dx=Math.abs(i/e.scrollRatio.x)),s.css("left",i),r[1].css("left",dx),Q(t,"_resetX"))},k=function(){var e,i=M(this),t=i.data(L),n=t.opt;t.bindEvents||(o.call(this),n.contentTouchScroll&&D.call(this),I.call(this),n.mouseWheel.enable&&function t(){e=setTimeout(function(){M.event.special.mousewheel?(clearTimeout(e),A.call(i[0])):t()},100)}(),H.call(this),z.call(this),n.advanced.autoScrollOnFocus&&U.call(this),n.scrollButtons.enable&&q.call(this),n.keyboard.enable&&W.call(this),t.bindEvents=!0)},$=function(){var t=M(this),e=t.data(L),i=e.opt,n="mCS_"+e.idx,s=".mCSB_"+e.idx+"_scrollbar",r=M("#mCSB_"+e.idx+",#mCSB_"+e.idx+"_container,#mCSB_"+e.idx+"_container_wrapper,"+s+" ."+g[12]+",#mCSB_"+e.idx+"_dragger_vertical,#mCSB_"+e.idx+"_dragger_horizontal,"+s+">a"),s=M("#mCSB_"+e.idx+"_container");i.advanced.releaseDraggableSelectors&&r.add(M(i.advanced.releaseDraggableSelectors)),i.advanced.extraDraggableSelectors&&r.add(M(i.advanced.extraDraggableSelectors)),e.bindEvents&&(M(document).add(M(!F()||top.document)).unbind("."+n),r.each(function(){M(this).unbind("."+n)}),clearTimeout(t[0]._focusTimeout),tt(t[0],"_focusTimeout"),clearTimeout(e.sequential.step),tt(e.sequential,"step"),clearTimeout(s[0].onCompleteTimeout),tt(s[0],"onCompleteTimeout"),e.bindEvents=!1)},E=function(t){var e=M(this),i=e.data(L),n=i.opt,s=M("#mCSB_"+i.idx+"_container_wrapper"),r=s.length?s:M("#mCSB_"+i.idx+"_container"),o=[M("#mCSB_"+i.idx+"_scrollbar_vertical"),M("#mCSB_"+i.idx+"_scrollbar_horizontal")],s=[o[0].find(".mCSB_dragger"),o[1].find(".mCSB_dragger")];"x"!==n.axis&&(i.overflowed[0]&&!t?(o[0].add(s[0]).add(o[0].children("a")).css("display","block"),r.removeClass(g[8]+" "+g[10])):(n.alwaysShowScrollbar?(2!==n.alwaysShowScrollbar&&s[0].css("display","none"),r.removeClass(g[10])):(o[0].css("display","none"),r.addClass(g[10])),r.addClass(g[8]))),"y"!==n.axis&&(i.overflowed[1]&&!t?(o[1].add(s[1]).add(o[1].children("a")).css("display","block"),r.removeClass(g[9]+" "+g[11])):(n.alwaysShowScrollbar?(2!==n.alwaysShowScrollbar&&s[1].css("display","none"),r.removeClass(g[11])):(o[1].css("display","none"),r.addClass(g[11])),r.addClass(g[9]))),i.overflowed[0]||i.overflowed[1]?e.removeClass(g[5]):e.addClass(g[5])},R=function(t){var e=t.type,i=t.target.ownerDocument!==document&&null!==frameElement?[M(frameElement).offset().top,M(frameElement).offset().left]:null,n=F()&&t.target.ownerDocument!==top.document&&null!==frameElement?[M(t.view.frameElement).offset().top,M(t.view.frameElement).offset().left]:[0,0];switch(e){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return i?[t.originalEvent.pageY-i[0]+n[0],t.originalEvent.pageX-i[1]+n[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var s=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],e=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[s.screenY,s.screenX,1<e]:[s.pageY,s.pageX,1<e];default:return i?[t.pageY-i[0]+n[0],t.pageX-i[1]+n[1],!1]:[t.pageY,t.pageX,!1]}},o=function(){function n(t,e,i,n){var s;u[0].idleTimer=d.scrollInertia<233?250:0,i=r.attr("id")===c[1]?(s="x",(r[0].offsetLeft-e+n)*l.scrollRatio.x):(s="y",(r[0].offsetTop-t+i)*l.scrollRatio.y),Q(a,i.toString(),{dir:s,drag:!0})}var r,s,o,a=M(this),l=a.data(L),d=l.opt,t="mCS_"+l.idx,c=["mCSB_"+l.idx+"_dragger_vertical","mCSB_"+l.idx+"_dragger_horizontal"],u=M("#mCSB_"+l.idx+"_container"),e=M("#"+c[0]+",#"+c[1]),i=d.advanced.releaseDraggableSelectors?e.add(M(d.advanced.releaseDraggableSelectors)):e,h=d.advanced.extraDraggableSelectors?M(!F()||top.document).add(M(d.advanced.extraDraggableSelectors)):M(!F()||top.document);e.bind("contextmenu."+t,function(t){t.preventDefault()}).bind("mousedown."+t+" touchstart."+t+" pointerdown."+t+" MSPointerDown."+t,function(t){var e,i,n;t.stopImmediatePropagation(),t.preventDefault(),et(t)&&(N=!0,m&&(document.onselectstart=function(){return!1}),j.call(u,!1),X(a),n=(r=M(this)).offset(),e=R(t)[0]-n.top,i=R(t)[1]-n.left,t=r.height()+n.top,n=r.width()+n.left,e<t&&0<e&&i<n&&0<i&&(s=e,o=i),S(r,"active",d.autoExpandScrollbar))}).bind("touchmove."+t,function(t){t.stopImmediatePropagation(),t.preventDefault();var e=r.offset(),i=R(t)[0]-e.top,e=R(t)[1]-e.left;n(s,o,i,e)}),M(document).add(h).bind("mousemove."+t+" pointermove."+t+" MSPointerMove."+t,function(t){var e,i;r&&(i=r.offset(),e=R(t)[0]-i.top,i=R(t)[1]-i.left,s===e&&o===i||n(s,o,e,i))}).add(i).bind("mouseup."+t+" touchend."+t+" pointerup."+t+" MSPointerUp."+t,function(){r&&(S(r,"active",d.autoExpandScrollbar),r=null),N=!1,m&&(document.onselectstart=null),j.call(u,!0)})},D=function(){function e(t){if(!it(t)||N||R(t)[2])return O=0;y=v=0,a=O=1,_.removeClass("mCS_touch_action");var e=C.offset();l=R(t)[0]-e.top,d=R(t)[1]-e.left,D=[R(t)[0],R(t)[1]]}function i(t){var e,i,n,s,r;!it(t)||N||R(t)[2]||(w.documentTouchScroll||t.preventDefault(),t.stopImmediatePropagation(),y&&!v||!a)||(p=J(),n=T.offset(),e=R(t)[0]-n.top,i=R(t)[1]-n.left,n="mcsLinearOut",x.push(e),k.push(i),D[2]=Math.abs(R(t)[0]-D[0]),D[3]=Math.abs(R(t)[1]-D[1]),b.overflowed[0]&&(s=S[0].parent().height()-S[0].height(),s=0<l-e&&e-l>-(s*b.scrollRatio.y)&&(2*D[3]<D[2]||"yx"===w.axis)),b.overflowed[1]&&(r=S[1].parent().width()-S[1].width(),r=0<d-i&&i-d>-(r*b.scrollRatio.x)&&(2*D[2]<D[3]||"yx"===w.axis)),s||r?(P||t.preventDefault(),v=1):(y=1,_.addClass("mCS_touch_action")),P&&t.preventDefault(),m="yx"===w.axis?[l-e,d-i]:"x"===w.axis?[null,d-i]:[l-e,null],C[0].idleTimer=250,b.overflowed[0]&&o(m[0],$,n,"y","all",!0),b.overflowed[1]&&o(m[1],$,n,"x",E,!0))}function n(t){if(!it(t)||N||R(t)[2])return O=0;O=1,t.stopImmediatePropagation(),X(_),h=J();var e=T.offset();c=R(t)[0]-e.top,u=R(t)[1]-e.left,x=[],k=[]}function s(t){var e,i,n,s;!it(t)||N||R(t)[2]||(a=0,t.stopImmediatePropagation(),y=v=0,f=J(),n=T.offset(),e=R(t)[0]-n.top,s=R(t)[1]-n.left,30<f-p||(i="mcsEaseOut",n=(t=(g=1e3/(f-h))<2.5)?[x[x.length-2],k[k.length-2]]:[0,0],f=t?[e-n[0],s-n[1]]:[e-c,s-u],s=[Math.abs(f[0]),Math.abs(f[1])],g=t?[Math.abs(f[0]/4),Math.abs(f[1]/4)]:[g,g],t=[Math.abs(C[0].offsetTop)-f[0]*r(s[0]/g[0],g[0]),Math.abs(C[0].offsetLeft)-f[1]*r(s[1]/g[1],g[1])],m="yx"===w.axis?[t[0],t[1]]:"x"===w.axis?[null,t[1]]:[t[0],null],g=[4*s[0]+w.scrollInertia,4*s[1]+w.scrollInertia],t=parseInt(w.contentTouchScroll)||0,m[0]=t<s[0]?m[0]:0,m[1]=t<s[1]?m[1]:0,b.overflowed[0]&&o(m[0],g[0],i,"y",E,!1),b.overflowed[1]&&o(m[1],g[1],i,"x",E,!1)))}function r(t,e){var i=[1.5*e,2*e,e/1.5,e/2];return 90<t?4<e?i[0]:i[3]:60<t?3<e?i[3]:i[2]:30<t?8<e?i[1]:6<e?i[0]:4<e?e:i[2]:8<e?e:i[3]}function o(t,e,i,n,s,r){t&&Q(_,t.toString(),{dur:e,scrollEasing:i,dir:n,overwrite:s,drag:r})}var a,l,d,c,u,h,p,f,m,g,v,y,_=M(this),b=_.data(L),w=b.opt,t="mCS_"+b.idx,T=M("#mCSB_"+b.idx),C=M("#mCSB_"+b.idx+"_container"),S=[M("#mCSB_"+b.idx+"_dragger_vertical"),M("#mCSB_"+b.idx+"_dragger_horizontal")],x=[],k=[],$=0,E="yx"===w.axis?"none":"all",D=[],I=C.find("iframe"),A=["touchstart."+t+" pointerdown."+t+" MSPointerDown."+t,"touchmove."+t+" pointermove."+t+" MSPointerMove."+t,"touchend."+t+" pointerup."+t+" MSPointerUp."+t],P=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;C.bind(A[0],function(t){e(t)}).bind(A[1],function(t){i(t)}),T.bind(A[0],function(t){n(t)}).bind(A[2],function(t){s(t)}),I.length&&I.each(function(){M(this).bind("load",function(){F(this)&&M(this.contentDocument||this.contentWindow.document).bind(A[0],function(t){e(t),n(t)}).bind(A[1],function(t){i(t)}).bind(A[2],function(t){s(t)})})})},I=function(){function n(t,e,i){l.type=i&&s?"stepped":"stepless",l.scrollAmount=10,V(r,t,e,"mcsLinearOut",i?60:null)}var s,r=M(this),o=r.data(L),a=o.opt,l=o.sequential,t="mCS_"+o.idx,d=M("#mCSB_"+o.idx+"_container"),c=d.parent();d.bind("mousedown."+t,function(){O||s||(s=1,N=!0)}).add(document).bind("mousemove."+t,function(t){var e,i;!O&&s&&(window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&document.selection.createRange().text)&&(i=d.offset(),e=R(t)[0]-i.top+d[0].offsetTop,i=R(t)[1]-i.left+d[0].offsetLeft,0<e&&e<c.height()&&0<i&&i<c.width()?l.step&&n("off",null,"stepped"):("x"!==a.axis&&o.overflowed[0]&&(e<0?n("on",38):e>c.height()&&n("on",40)),"y"!==a.axis&&o.overflowed[1]&&(i<0?n("on",37):i>c.width()&&n("on",39))))}).bind("mouseup."+t+" dragend."+t,function(){O||(s&&(s=0,n("off",null)),N=!1)})},A=function(){function i(t,e){var i,n,s,r,o,a,l,d;X(c),B(c,t.target)||(i="auto"!==h.mouseWheel.deltaFactor?parseInt(h.mouseWheel.deltaFactor):!(m&&t.deltaFactor<100)&&t.deltaFactor||100,n=h.scrollInertia,e="x"===h.axis||"x"===h.mouseWheel.axis?(s="x",r=[Math.round(i*u.scrollRatio.x),parseInt(h.mouseWheel.scrollAmount)],o="auto"!==h.mouseWheel.scrollAmount?r[1]:r[0]>=p.width()?.9*p.width():r[0],a=Math.abs(M("#mCSB_"+u.idx+"_container")[0].offsetLeft),l=f[1][0].offsetLeft,d=f[1].parent().width()-f[1].width(),"y"===h.mouseWheel.axis?t.deltaY||e:t.deltaX):(s="y",r=[Math.round(i*u.scrollRatio.y),parseInt(h.mouseWheel.scrollAmount)],o="auto"!==h.mouseWheel.scrollAmount?r[1]:r[0]>=p.height()?.9*p.height():r[0],a=Math.abs(M("#mCSB_"+u.idx+"_container")[0].offsetTop),l=f[0][0].offsetTop,d=f[0].parent().height()-f[0].height(),t.deltaY||e),"y"===s&&!u.overflowed[0]||"x"===s&&!u.overflowed[1]||((h.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&&(e=-e),h.mouseWheel.normalizeDelta&&(e=e<0?-1:1),(0<e&&0!==l||e<0&&l!==d||h.mouseWheel.preventDefault)&&(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor<5&&!h.mouseWheel.normalizeDelta&&(o=t.deltaFactor,n=17),Q(c,(a-e*o).toString(),{dir:s,dur:n})))}var c,u,h,t,p,f,e;M(this).data(L)&&(c=M(this),u=c.data(L),h=u.opt,t="mCS_"+u.idx,p=M("#mCSB_"+u.idx),f=[M("#mCSB_"+u.idx+"_dragger_vertical"),M("#mCSB_"+u.idx+"_dragger_horizontal")],(e=M("#mCSB_"+u.idx+"_container").find("iframe")).length&&e.each(function(){M(this).bind("load",function(){F(this)&&M(this.contentDocument||this.contentWindow.document).bind("mousewheel."+t,function(t,e){i(t,e)})})}),p.bind("mousewheel."+t,function(t,e){i(t,e)}))},P=new Object,F=function(t){var e=!1,i=!1,n=null;if(void 0===t?i="#empty":void 0!==M(t).attr("id")&&(i=M(t).attr("id")),!1!==i&&void 0!==P[i])return P[i];if(t){try{n=(t.contentDocument||t.contentWindow.document).body.innerHTML}catch(t){}e=null!==n}
1else{try{n=top.document.body.innerHTML}catch(t){}e=null!==n}return!1!==i&&(P[i]=e),e},j=function(t){var e=this.find("iframe");e.length&&(t=t?"auto":"none",e.css("pointer-events",t))},B=function(t,e){var i=e.nodeName.toLowerCase(),t=t.data(L).opt.mouseWheel.disableOver;return-1<M.inArray(i,t)&&!(-1<M.inArray(i,["select","textarea"])&&!M(e).is(":focus"))},H=function(){var o,a=M(this),l=a.data(L),t="mCS_"+l.idx,d=M("#mCSB_"+l.idx+"_container"),c=d.parent();M(".mCSB_"+l.idx+"_scrollbar ."+g[12]).bind("mousedown."+t+" touchstart."+t+" pointerdown."+t+" MSPointerDown."+t,function(t){N=!0,M(t.target).hasClass("mCSB_dragger")||(o=1)}).bind("touchend."+t+" pointerup."+t+" MSPointerUp."+t,function(){N=!1}).bind("click."+t,function(t){if(o&&(o=0,M(t.target).hasClass(g[12])||M(t.target).hasClass("mCSB_draggerRail"))){X(a);var e=M(this),i=e.find(".mCSB_dragger");if(0<e.parent(".mCSB_scrollTools_horizontal").length){if(!l.overflowed[1])return;var n="x",s=t.pageX>i.offset().left?-1:1,r=Math.abs(d[0].offsetLeft)-s*(.9*c.width())}else{if(!l.overflowed[0])return;n="y",s=t.pageY>i.offset().top?-1:1,r=Math.abs(d[0].offsetTop)-s*(.9*c.height())}Q(a,r.toString(),{dir:n,scrollEasing:"mcsEaseInOut"})}})},U=function(){var s=M(this),t=s.data(L),r=t.opt,e="mCS_"+t.idx,o=M("#mCSB_"+t.idx+"_container"),a=o.parent();o.bind("focusin."+e,function(){var n=M(document.activeElement),t=o.find(".mCustomScrollBox").length;n.is(r.advanced.autoScrollOnFocus)&&(X(s),clearTimeout(s[0]._focusTimeout),s[0]._focusTimer=t?17*t:0,s[0]._focusTimeout=setTimeout(function(){var t=[st(n)[0],st(n)[1]],e=[o[0].offsetTop,o[0].offsetLeft],i=[0<=e[0]+t[0]&&e[0]+t[0]<a.height()-n.outerHeight(!1),0<=e[1]+t[1]&&e[0]+t[1]<a.width()-n.outerWidth(!1)],e="yx"!==r.axis||i[0]||i[1]?"all":"none";"x"===r.axis||i[0]||Q(s,t[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:e,dur:0}),"y"===r.axis||i[1]||Q(s,t[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:e,dur:0})},s[0]._focusTimer))})},z=function(){var t=M(this).data(L),e="mCS_"+t.idx,i=M("#mCSB_"+t.idx+"_container").parent();i.bind("scroll."+e,function(){0===i.scrollTop()&&0===i.scrollLeft()||M(".mCSB_"+t.idx+"_scrollbar").css("visibility","hidden")})},q=function(){var n=M(this),s=n.data(L),r=s.opt,o=s.sequential,t="mCS_"+s.idx,e=".mCSB_"+s.idx+"_scrollbar";M(e+">a").bind("contextmenu."+t,function(t){t.preventDefault()}).bind("mousedown."+t+" touchstart."+t+" pointerdown."+t+" MSPointerDown."+t+" mouseup."+t+" touchend."+t+" pointerup."+t+" MSPointerUp."+t+" mouseout."+t+" pointerout."+t+" MSPointerOut."+t+" click."+t,function(t){function e(t,e){o.scrollAmount=r.scrollButtons.scrollAmount,V(n,t,e)}if(t.preventDefault(),et(t)){var i=M(this).attr("class");switch(o.type=r.scrollButtons.scrollType,t.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===o.type)return;N=!0,s.tweenRunning=!1,e("on",i);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===o.type)return;N=!1,o.dir&&e("off",i);break;case"click":if("stepped"!==o.type||s.tweenRunning)return;e("on",i)}}})},W=function(){function e(t){function e(t,e){d.type=l.keyboard.scrollType,d.scrollAmount=l.keyboard.scrollAmount,"stepped"===d.type&&a.tweenRunning||V(o,t,e)}switch(t.type){case"blur":a.tweenRunning&&d.dir&&e("off",null);break;case"keydown":case"keyup":var i,n,s=t.keyCode?t.keyCode:t.which,r="on";if("x"!==l.axis&&(38===s||40===s)||"y"!==l.axis&&(37===s||39===s)){if((38===s||40===s)&&!a.overflowed[0]||(37===s||39===s)&&!a.overflowed[1])return;"keyup"===t.type&&(r="off"),M(document.activeElement).is(h)||(t.preventDefault(),t.stopImmediatePropagation(),e(r,s))}else{33===s||34===s?((a.overflowed[0]||a.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type&&(X(o),n=34===s?-1:1,n="x"===l.axis||"yx"===l.axis&&a.overflowed[1]&&!a.overflowed[0]?(i="x",Math.abs(c[0].offsetLeft)-n*(.9*u.width())):(i="y",Math.abs(c[0].offsetTop)-n*(.9*u.height())),Q(o,n.toString(),{dir:i,scrollEasing:"mcsEaseInOut"}
vendor: 5,836 bytes, line 1
1))):35!==s&&36!==s||M(document.activeElement).is(h)||((a.overflowed[0]||a.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"!==t.type)||(n="x"===l.axis||"yx"===l.axis&&a.overflowed[1]&&!a.overflowed[0]?(i="x",35===s?Math.abs(u.width()-c.outerWidth(!1)):0):(i="y",35===s?Math.abs(u.height()-c.outerHeight(!1)):0),Q(o,n.toString(),{dir:i,scrollEasing:"mcsEaseInOut"}))}}}var o=M(this),a=o.data(L),l=a.opt,d=a.sequential,t="mCS_"+a.idx,i=M("#mCSB_"+a.idx),c=M("#mCSB_"+a.idx+"_container"),u=c.parent(),h="input,textarea,select,datalist,keygen,[contenteditable='true']",n=c.find("iframe"),s=["blur."+t+" keydown."+t+" keyup."+t];n.length&&n.each(function(){M(this).bind("load",function(){F(this)&&M(this.contentDocument||this.contentWindow.document).bind(s[0],function(t){e(t)})})}),i.attr("tabindex","0").bind(s[0],function(t){e(t)})},V=function(o,t,e,a,l){function d(t){u.snapAmount&&(h.scrollAmount=u.snapAmount instanceof Array?"x"===h.dir[0]?u.snapAmount[1]:u.snapAmount[0]:u.snapAmount);var e="stepped"!==h.type,i=l||(t?e?f/1.5:m:1e3/60),n=t?e?7.5:40:2.5,s=[Math.abs(p[0].offsetTop),Math.abs(p[0].offsetLeft)],r=[10<c.scrollRatio.y?10:c.scrollRatio.y,10<c.scrollRatio.x?10:c.scrollRatio.x],r="x"===h.dir[0]?s[1]+h.dir[1]*(r[1]*n):s[0]+h.dir[1]*(r[0]*n),n="x"===h.dir[0]?s[1]+h.dir[1]*parseInt(h.scrollAmount):s[0]+h.dir[1]*parseInt(h.scrollAmount),n="auto"!==h.scrollAmount?n:r,r=a||(t?e?"mcsLinearOut":"mcsEaseInOut":"mcsLinear"),e=!!t;return t&&i<17&&(n="x"===h.dir[0]?s[1]:s[0]),Q(o,n.toString(),{dir:h.dir[0],scrollEasing:r,dur:i,onComplete:e}),t?void(h.dir=!1):(clearTimeout(h.step),void(h.step=setTimeout(function(){d()},i)))}var c=o.data(L),u=c.opt,h=c.sequential,p=M("#mCSB_"+c.idx+"_container"),i="stepped"===h.type,f=u.scrollInertia<26?26:u.scrollInertia,m=u.scrollInertia<1?17:u.scrollInertia;switch(t){case"on":if(h.dir=[e===g[16]||e===g[15]||39===e||37===e?"x":"y",e===g[13]||e===g[15]||38===e||37===e?-1:1],X(o),nt(e)&&"stepped"===h.type)return;d(i);break;case"off":clearTimeout(h.step),tt(h,"step"),X(o),(i||c.tweenRunning&&h.dir)&&d(!0)}},Y=function(t){var e=M(this).data(L).opt,i=[];return"function"==typeof t&&(t=t()),t instanceof Array?i=1<t.length?[t[0],t[1]]:"x"===e.axis?[null,t[0]]:[t[0],null]:(i[0]=t.y?t.y:t.x||"x"===e.axis?null:t,i[1]=t.x?t.x:t.y||"y"===e.axis?null:t),"function"==typeof i[0]&&(i[0]=i[0]()),"function"==typeof i[1]&&(i[1]=i[1]()),i},G=function(t,e){if(null!=t&&void 0!==t){var i=M(this),n=i.data(L),s=n.opt,r=M("#mCSB_"+n.idx+"_container"),o=r.parent(),a=typeof t,l="x"===(e=e||("x"===s.axis?"x":"y"))?r.outerWidth(!1)-o.width():r.outerHeight(!1)-o.height(),n="x"===e?r[0].offsetLeft:r[0].offsetTop,s="x"===e?"left":"top";switch(a){case"function":return t();case"object":return(d=t.jquery?t:M(t)).length?"x"===e?st(d)[1]:st(d)[0]:void 0;case"string":case"number":if(nt(t))return Math.abs(t);if(-1!==t.indexOf("%"))return Math.abs(l*parseInt(t)/100);if(-1!==t.indexOf("-="))return Math.abs(n-parseInt(t.split("-=")[1]));if(-1!==t.indexOf("+=")){n=n+parseInt(t.split("+=")[1]);return 0<=n?0:Math.abs(n)}if(-1!==t.indexOf("px")&&nt(t.split("px")[0]))return Math.abs(t.split("px")[0]);if("top"===t||"left"===t)return 0;if("bottom"===t)return Math.abs(o.height()-r.outerHeight(!1));if("right"===t)return Math.abs(o.width()-r.outerWidth(!1));if("first"!==t&&"last"!==t)return M(t).length?"x"===e?st(M(t))[1]:st(M(t))[0]:(r.css(s,t),void c.update.call(null,i[0]));var d=r.find(":"+t);return"x"===e?st(d)[1]:st(d)[0]}}},K=function(t){function i(t){clearTimeout(r[0].autoUpdate),c.update.call(null,e[0],t)}var e=M(this),n=e.data(L),s=n.opt,r=M("#mCSB_"+n.idx+"_container");return t?(clearTimeout(r[0].autoUpdate),void tt(r[0],"autoUpdate")):void function t(){return clearTimeout(r[0].autoUpdate),0===e.parents("html").length?void(e=null):void(r[0].autoUpdate=setTimeout(function(){return s.advanced.updateOnSelectorChange&&(n.poll.change.n=function(){!0===s.advanced.updateOnSelectorChange&&(s.advanced.updateOnSelectorChange="*");var t=0,e=r.find(s.advanced.updateOnSelectorChange);return s.advanced.updateOnSelectorChange&&0<e.length&&e.each(function(){t+=this.offsetHeight+this.offsetWidth}),t}(),n.poll.change.n!==n.poll.change.o)?(n.poll.change.o=n.poll.change.n,void i(3)):s.advanced.updateOnContentResize&&(n.poll.size.n=e[0].scrollHeight+e[0].scrollWidth+r[0].offsetHeight+e[0].offsetHeight+e[0].offsetWidth,n.poll.size.n!==n.poll.size.o)?(n.poll.size.o=n.poll.size.n,void i(1)):!s.advanced.updateOnImageLoad||"auto"===s.advanced.updateOnImageLoad&&"y"===s.axis||(n.poll.img.n=r.find("img").length,n.poll.img.n===n.poll.img.o)?void((s.advanced.updateOnSelectorChange||s.advanced.updateOnContentResize||s.advanced.updateOnImageLoad)&&t()):(n.poll.img.o=n.poll.img.n,void r.find("img").each(function(){!function(t){if(M(t).hasClass(g[2]))return i();var e=new Image;e.onload=function(t,e){return function(){return e.apply(t,arguments)}}(e,function(){this.onload=null,M(t).addClass(g[2]),i(2)}),e.src=t.src}(this)}))},s.advanced.autoUpdateTimeout))}()},X=function(t){t=t.data(L);M("#mCSB_"+t.idx+"_container,#mCSB_"+t.idx+"_container_wrapper,#mCSB_"+t.idx+"_dragger_vertical,#mCSB_"+t.idx+"_dragger_horizontal").each(function(){e.call(this)})},Q=function(s,t,r){function e(t){return o&&a.callbacks[t]&&"function"==typeof a.callbacks[t]}function i(){var t=[u[0].offsetTop,u[0].offsetLeft],e=[m[0].offsetTop,m[0].offsetLeft],i=[u.outerHeight(!1),u.outerWidth(!1)],n=[c.height(),c.width()];s[0].mcs={content:u,top:t[0],left:t[1],draggerTop:e[0],draggerLeft:e[1],topPct:Math.round(100*Math.abs(t[0])/(Math.abs(i[0])-n[0])),leftPct:Math.round(100*Math.abs(t[1])/(Math.abs(i[1])-n[1])),direction:r.dir}}var n,o=s.data(L),a=o.opt,l={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:a.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0}
1,d=[(r=M.extend(l,r)).dur,r.drag?0:r.dur],c=M("#mCSB_"+o.idx),u=M("#mCSB_"+o.idx+"_container"),h=u.parent(),p=a.callbacks.onTotalScrollOffset?Y.call(s,a.callbacks.onTotalScrollOffset):[0,0],f=a.callbacks.onTotalScrollBackOffset?Y.call(s,a.callbacks.onTotalScrollBackOffset):[0,0];if(o.trigger=r.trigger,0===h.scrollTop()&&0===h.scrollLeft()||(M(".mCSB_"+o.idx+"_scrollbar").css("visibility","visible"),h.scrollTop(0).scrollLeft(0)),"_resetY"!==t||o.contentReset.y||(e("onOverflowYNone")&&a.callbacks.onOverflowYNone.call(s[0]),o.contentReset.y=1),"_resetX"!==t||o.contentReset.x||(e("onOverflowXNone")&&a.callbacks.onOverflowXNone.call(s[0]),o.contentReset.x=1),"_resetY"!==t&&"_resetX"!==t){switch(!o.contentReset.y&&s[0].mcs||!o.overflowed[0]||(e("onOverflowY")&&a.callbacks.onOverflowY.call(s[0]),o.contentReset.x=null),!o.contentReset.x&&s[0].mcs||!o.overflowed[1]||(e("onOverflowX")&&a.callbacks.onOverflowX.call(s[0]),o.contentReset.x=null),a.snapAmount&&(n=a.snapAmount instanceof Array?"x"===r.dir?a.snapAmount[1]:a.snapAmount[0]:a.snapAmount,l=t,h=n,n=a.snapOffset,t=Math.round(l/h)*h-n),r.dir){case"x":var m=M("#mCSB_"+o.idx+"_dragger_horizontal"),g="left",v=u[0].offsetLeft,y=[c.width()-u.outerWidth(!1),m.parent().width()-m.width()],_=[t,0===t?0:t/o.scrollRatio.x],b=p[1],w=f[1],T=0<b?b/o.scrollRatio.x:0,C=0<w?w/o.scrollRatio.x:0;break;case"y":m=M("#mCSB_"+o.idx+"_dragger_vertical"),g="top",v=u[0].offsetTop,y=[c.height()-u.outerHeight(!1),m.parent().height()-m.height()],_=[t,0===t?0:t/o.scrollRatio.y],b=p[0],w=f[0],T=0<b?b/o.scrollRatio.y:0,C=0<w?w/o.scrollRatio.y:0}_[1]<0||0===_[0]&&0===_[1]?_=[0,0]:_[1]>=y[1]?_=[y[0],y[1]]:_[0]=-_[0],s[0].mcs||(i(),e("onInit")&&a.callbacks.onInit.call(s[0])),clearTimeout(u[0].onCompleteTimeout),Z(m[0],g,Math.round(_[1]),d[1],r.scrollEasing),!o.tweenRunning&&(0===v&&0<=_[0]||v===y[0]&&_[0]<=y[0])||Z(u[0],g,Math.round(_[0]),d[0],r.scrollEasing,r.overwrite,{onStart:function(){r.callbacks&&r.onStart&&!o.tweenRunning&&(e("onScrollStart")&&(i(),a.callbacks.onScrollStart.call(s[0])),o.tweenRunning=!0,S(m),o.cbOffsets=[a.callbacks.alwaysTriggerOffsets||v>=y[0]+b,a.callbacks.alwaysTriggerOffsets||v<=-w])},onUpdate:function(){r.callbacks&&r.onUpdate&&e("whileScrolling")&&(i(),a.callbacks.whileScrolling.call(s[0]))},onComplete:function(){var t;r.callbacks&&r.onComplete&&("yx"===a.axis&&clearTimeout(u[0].onCompleteTimeout),t=u[0].idleTimer||0,u[0].onCompleteTimeout=setTimeout(function(){e("onScroll")&&(i(),a.callbacks.onScroll.call(s[0])),e("onTotalScroll")&&_[1]>=y[1]-T&&o.cbOffsets[0]&&(i(),a.callbacks.onTotalScroll.call(s[0])),e("onTotalScrollBack")&&_[1]<=C&&o.cbOffsets[1]&&(i(),a.callbacks.onTotalScrollBack.call(s[0])),o.tweenRunning=!1,u[0].idleTimer=0,S(m,"hide")},t))}})}},Z=function(t,e,i,n,s,r,o){function a(){y.stop||(m||u.call(),m=J()-f,l(),m>=y.time&&(y.time=m>y.time?m+d-(m-y.time):m+d-1,y.time<m+1&&(y.time=m+1)),y.time<n?y.id=c(a):p.call())}function l(){0<n?(y.currVal=function(t,e,i,n,s){switch(s){case"linear":case"mcsLinear":return i*t/n+e;case"mcsLinearOut":return t/=n,t--,i*Math.sqrt(1-t*t)+e;case"easeInOutSmooth":return(t/=n/2)<1?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e;case"easeInOutStrong":return(t/=n/2)<1?i/2*Math.pow(2,10*(t-1))+e:(t--,i/2*(2-Math.pow(2,-10*t))+e);case"easeInOut":case"mcsEaseInOut":return(t/=n/2)<1?i/2*t*t*t+e:i/2*((t-=2)*t*t+2)+e;case"easeOutSmooth":return t/=n,-i*(--t*t*t*t-1)+e;case"easeOutStrong":return i*(1-Math.pow(2,-10*t/n))+e;case"easeOut":case"mcsEaseOut":default:s=(t/=n)*t,n=s*t;return e+i*(.499999999999997*n*s+-2.5*s*s+5.5*n+-6.5*s+4*t)}}(y.time,g,_,n,s),v[e]=Math.round(y.currVal)+"px"):v[e]=i+"px",h.call()}t._mTween||(t._mTween={top:{},left:{}});var d,c,u=(o=o||{}).onStart||function(){},h=o.onUpdate||function(){},p=o.onComplete||function(){},f=J(),m=0,g=t.offsetTop,v=t.style,y=t._mTween[e];"left"===e&&(g=t.offsetLeft);var _=i-g;y.stop=0,"none"===r||null!=y.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(y.id):clearTimeout(y.id),y.id=null),d=1e3/60,y.time=m+d,c=window.requestAnimationFrame?window.requestAnimationFrame:function(t){return l(),setTimeout(t,.01)},y.id=c(a)},J=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},e=function(){this._mTween||(this._mTween={top:{},left:{}});for(var t=["top","left"],e=0;e<t.length;e++){var i=t[e];this._mTween[i].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(this._mTween[i].id):clearTimeout(this._mTween[i].id),this._mTween[i].id=null,this._mTween[i].stop=1)}},tt=function(e,i){try{delete e[i]}catch(t){e[i]=null}},et=function(t){return!(t.which&&1!==t.which)},it=function(t){t=t.originalEvent.pointerType;return!(t&&"touch"!==t&&2!==t)},nt=function(t){return!isNaN(parseFloat(t))&&isFinite(t)}
1,st=function(t){var e=t.parents(".mCSB_container");return[t.offset().top-e.offset().top,t.offset().left-e.offset().left]},rt=function(){var t=function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}();return!!t&&document[t]},M.fn[l]=function(t){return c[t]?c[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void M.error("Method "+t+" does not exist"):c.init.apply(this,arguments)},M[l]=function(t){return c[t]?c[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void M.error("Method "+t+" does not exist"):c.init.apply(this,arguments)},M[l].defaults=s,window[l]=!0,M(window).bind("load",function(){M(n)[l](),M.extend(M.expr[":"],{mcsInView:M.expr[":"].mcsInView||function(t){var e=M(t),i=e.parents(".mCSB_container");if(i.length)return t=i.parent(),0<=(i=[i[0].offsetTop,i[0].offsetLeft])[0]+st(e)[0]&&i[0]+st(e)[0]<t.height()-e.outerHeight(!1)&&0<=i[1]+st(e)[1]&&i[1]+st(e)[1]<t.width()-e.outerWidth(!1)},mcsInSight:M.expr[":"].mcsInSight||function(t,e,i){var n=M(t),s=n.parents(".mCSB_container"),t="exact"===i[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(s.length)return i=[n.outerHeight(!1),n.outerWidth(!1)],n=[s[0].offsetTop+st(n)[0],s[0].offsetLeft+st(n)[1]],s=[s.parent()[0].offsetHeight,s.parent()[0].offsetWidth],n[0]-s[0]*(t=[i[0]<s[0]?t[0]:t[1],i[1]<s[1]?t[0]:t[1]])[0][0]<0&&0<=n[0]+i[0]-s[0]*t[0][1]&&n[1]-s[1]*t[1][0]<0&&0<=n[1]+i[1]-s[1]*t[1][1]},mcsOverflow:M.expr[":"].mcsOverflow||function(t){t=M(t).data(L);if(t)return t.overflowed[0]||t.overflowed[1]}})})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(c){var i;c.extend(c.fn,{validate:function(t){if(this.length){var n=c.data(this[0],"validator");return n||(this.attr("novalidate","novalidate"),n=new c.validator(t,this[0]),c.data(this[0],"validator",n),n.settings.onsubmit&&(this.on("click.validate",":submit",function(t){n.submitButton=t.currentTarget,c(this).hasClass("cancel")&&(n.cancelSubmit=!0),void 0!==c(this).attr("formnovalidate")&&(n.cancelSubmit=!0)}),this.on("submit.validate",function(i){function t(){var t,e;return n.submitButton&&(n.settings.submitHandler||n.formSubmitted)&&(t=c("<input type='hidden'/>").attr("name",n.submitButton.name).val(c(n.submitButton).val()).appendTo(n.currentForm)),!(n.settings.submitHandler&&!n.settings.debug)||(e=n.settings.submitHandler.call(n,n.currentForm,i),t&&t.remove(),void 0!==e&&e)}return n.settings.debug&&i.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,t()):n.form()?n.pendingRequest?!(n.formSubmitted=!0):t():(n.focusInvalid(),!1)})),n)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,e,i;return c(this[0]).is("form")?t=this.validate().form():(i=[],t=!0,e=c(this[0].form).validate(),this.each(function(){(t=e.element(this)&&t)||(i=i.concat(e.errorList))}),e.errorList=i),t},rules:function(t,e){var i,n,s,r,o=this[0],a=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=o&&(!o.form&&a&&(o.form=this.closest("form")[0],o.name=this.attr("name")),null!=o.form)){if(t)switch(i=c.data(o.form,"validator").settings,a=i.rules,n=c.validator.staticRules(o),t){case"add":c.extend(n,c.validator.normalizeRule(e)),delete n.messages,a[o.name]=n,e.messages&&(i.messages[o.name]=c.extend(i.messages[o.name],e.messages));break;case"remove":return e?(r={},c.each(e.split(/\s/),function(t,e){r[e]=n[e],delete n[e]}),r):(delete a[o.name],n)}return(o=c.validator.normalizeRules(c.extend({},c.validator.classRules(o),c.validator.attributeRules(o),c.validator.dataRules(o),c.validator.staticRules(o)),o)).required&&(s=o.required,delete o.required,o=c.extend({required:s},o)),o.remote&&(s=o.remote,delete o.remote,o=c.extend(o,{remote:s})),o}}}),c.extend(c.expr.pseudos||c.expr[":"],{blank:function(t){return!c.trim(""+c(t).val())},filled:function(t){t=c(t).val();return null!==t&&!!c.trim(""+t)},unchecked:function(t){return!c(t).prop("checked")}}),c.validator=function(t,e){this.settings=c.extend(!0,{},c.validator.defaults,t),this.currentForm=e,this.init()},c.validator.format=function(i,t){return 1===arguments.length?function(){var t=c.makeArray(arguments);return t.unshift(i),c.validator.format.apply(this,t)}:(void 0===t||(2<arguments.length&&t.constructor!==Array&&(t=c.makeArray(arguments).slice(1)),t.constructor!==Array&&(t=[t]),c.each(t,function(t,e){i=i.replace(new RegExp("\\{"+t+"\\}","g"),function(){return e})})),i)},c.extend(c.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:c([]),errorLabelContainer:c([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.val
1idClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){9===e.which&&""===this.elementValue(t)||-1!==c.inArray(e.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(t,e,i){("radio"===t.type?this.findByName(t.name):c(t)).addClass(e).removeClass(i)},unhighlight:function(t,e,i){("radio"===t.type?this.findByName(t.name):c(t)).removeClass(e).addClass(i)}},setDefaults:function(t){c.extend(c.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:c.validator.format("Please enter no more than {0} characters."),minlength:c.validator.format("Please enter at least {0} characters."),rangelength:c.validator.format("Please enter a value between {0} and {1} characters long."),range:c.validator.format("Please enter a value between {0} and {1}."),max:c.validator.format("Please enter a value less than or equal to {0}."),min:c.validator.format("Please enter a value greater than or equal to {0}."),step:c.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var e,i,n=void 0!==c(this).attr("contenteditable")&&"false"!==c(this).attr("contenteditable");!this.form&&n&&(this.form=c(this).closest("form")[0],this.name=c(this).attr("name")),s===this.form&&(e=c.data(this.form,"validator"),i="on"+t.type.replace(/^validate/,""),(n=e.settings)[i]&&!c(this).is(n.ignore)&&n[i].call(e,this,t))}this.labelContainer=c(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||c(this.currentForm),this.containers=c(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,s=this.currentForm,n=this.groups={};c.each(this.settings.groups,function(i,t){"string"==typeof t&&(t=t.split(/\s/)),c.each(t,function(t,e){n[e]=i})}),i=this.settings.rules,c.each(i,function(t,e){i[t]=c.validator.normalizeRule(e)}),c(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",t).on("click.validate","select, option, [type='radio'], [type='checkbox']",t),this.settings.invalidHandler&&c(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),c.extend(this.submitted,this.errorMap),this.invalid=c.extend({},this.errorMap),this.valid()||c(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(t){var e,i,n=this.clean(t),s=this.validationTargetFor(n),r=this,o=!0;return void 0===s?delete this.invalid[n.name]:(this.prepareElement(s),this.currentElements=c(s),(i=this.groups[s.name])&&c.each(this.groups,function(t,e){e===i&&t!==s.name&&((n=r.validationTargetFor(r.clean(r.findByName(t))))&&n.name in r.invalid&&(r.currentElements.push(n),o=r.check(n)&&o))}),e=!1!==this.check(s),o=o&&e,this.invalid[s.name]=!e,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),c(t).attr("aria-invalid",!e)),o},showErrors:function(e){var i;e&&(i=this,c.extend(this.errorMap,e),this.errorList=c.map(this.errorMap,function(t,e){return{message:t,element:i.findByName(e)[0]}}),this.successList=c.grep(this.successList,function(t){return!(t.name in e)})),this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){c.fn.resetForm&&c(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.val
1idClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{c(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===c.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var i=this,n={};return c(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var t=this.name||c(this).attr("name"),e=void 0!==c(this).attr("contenteditable")&&"false"!==c(this).attr("contenteditable");return!t&&i.settings.debug&&window.console&&console.error("%o has no name assigned",this),e&&(this.form=c(this).closest("form")[0],this.name=t),!(this.form!==i.currentForm||t in n||!i.objectLength(c(this).rules())||(n[t]=!0,0))})},clean:function(t){return c(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return c(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=c([]),this.toHide=c([])},reset:function(){this.resetInternals(),this.currentElements=c([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(t){var e=c(t),i=t.type,n=void 0!==e.attr("contenteditable")&&"false"!==e.attr("contenteditable");return"radio"===i||"checkbox"===i?this.findByName(t.name).filter(":checked").val():"number"===i&&void 0!==t.validity?t.validity.badInput?"NaN":e.val():(e=n?e.text():e.val(),"file"===i?"C:\\fakepath\\"===e.substr(0,12)?e.substr(12):0<=(i=e.lastIndexOf("/"))?e.substr(i+1):0<=(i=e.lastIndexOf("\\"))?e.substr(i+1):e:"string"==typeof e?e.replace(/\r/g,""):e)},check:function(e){e=this.validationTargetFor(this.clean(e));var t,i,n,s,r=c(e).rules(),o=c.map(r,function(t,e){return e}).length,a=!1,l=this.elementValue(e);
vendor: 8,182 bytes, line 1
1for(i in"function"==typeof r.normalizer?s=r.normalizer:"function"==typeof this.settings.normalizer&&(s=this.settings.normalizer),s&&(l=s.call(e,l),delete r.normalizer),r){n={method:i,parameters:r[i]};try{if("dependency-mismatch"===(t=c.validator.methods[i].call(this,l,e,n.parameters))&&1===o){a=!0;continue}if(a=!1,"pending"===t)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!t)return this.formatAndAdd(e,n),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+n.method+"' method.",t),t instanceof TypeError&&(t.message+=".  Exception occurred when checking element "+e.id+", check the '"+n.method+"' method."),t}}if(!a)return this.objectLength(r)&&this.successList.push(e),!0},customDataMessage:function(t,e){return c(t).data("msg"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase())||c(t).data("msg")},customMessage:function(t,e){t=this.settings.messages[t];return t&&(t.constructor===String?t:t[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(t,e){"string"==typeof e&&(e={method:e});var i=this.findDefined(this.customMessage(t.name,e.method),this.customDataMessage(t,e.method),!this.settings.ignoreTitle&&t.title||void 0,c.validator.messages[e.method],"<strong>Warning: No message defined for "+t.name+"</strong>"),n=/\$?\{(\d+)\}/g;return"function"==typeof i?i=i.call(this,e.parameters,t):n.test(i)&&(i=c.validator.format(i.replace(n,"{$1}"),e.parameters)),i},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){for(var t,e,i=0;this.errorList[i];i++)e=this.errorList[i],this.settings.highlight&&this.settings.highlight.call(this,e.element,this.settings.errorClass,this.settings.validClass),this.showLabel(e.element,e.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(i=0;this.successList[i];i++)this.showLabel(this.successList[i]);if(this.settings.unhighlight)for(i=0,t=this.validElements();t[i];i++)this.settings.unhighlight.call(this,t[i],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return c(this.errorList).map(function(){return this.element})},showLabel:function(t,e){var i,n,s,r=this.errorsFor(t),o=this.idOrName(t),a=c(t).attr("aria-describedby");r.length?(r.removeClass(this.settings.validClass).addClass(this.settings.errorClass),r.html(e)):(i=r=c("<"+this.settings.errorElement+">").attr("id",o+"-error").addClass(this.settings.errorClass).html(e||""),this.settings.wrapper&&(i=r.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(i):this.settings.errorPlacement?this.settings.errorPlacement.call(this,i,c(t)):i.insertAfter(t),r.is("label")?r.attr("for",o):0===r.parents("label[for='"+this.escapeCssMeta(o)+"']").length&&(o=r.attr("id"),a?a.match(new RegExp("\\b"+this.escapeCssMeta(o)+"\\b"))||(a+=" "+o):a=o,c(t).attr("aria-describedby",a),(n=this.groups[t.name])&&(s=this,c.each(s.groups,function(t,e){e===n&&c("[name='"+s.escapeCssMeta(t)+"']",s.currentForm).attr("aria-describedby",r.attr("id"))})))),!e&&this.settings.success&&(r.text(""),"string"==typeof this.settings.success?r.addClass(this.settings.success):this.settings.success(r,t)),this.toShow=this.toShow.add(r)},errorsFor:function(t){var e=this.escapeCssMeta(this.idOrName(t)),t=c(t).attr("aria-describedby"),e="label[for='"+e+"'], label[for='"+e+"'] *";return t&&(e=e+", #"+this.escapeCssMeta(t).replace(/\s+/g,", #")),this.errors().filter(e)},escapeCssMeta:function(t){return t.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||!this.checkable(t)&&t.id||t.name},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),c(t).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(t){return c(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,e){switch(e.nodeName.toLowerCase()){case"select":return c("option:selected",e).length;case"input":if(this.checkable(e))return this.findByName(e.name).filter(":checked").length}return t.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(t,e){return!!c(t,e.form).length},function:function(t,e){return t(e)}},optional:function(t){var e=this.elementValue(t);return!c.validator.methods.required.call(this,e,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,c(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,e){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],c(t).removeClass(this.settings.pendingClass),e&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(c(this.currentForm).submit(),this.submitButton&&c("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!e&&0===this.pendingRequest&&this.formSubmitted&&(c(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,e){return e="string"==typeof e&&e||"remote",c.data(t,"previousValue")||c.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:e})})},destroy:function(){this.resetForm(),c(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,e){t.constructor===String?this.classRuleSettings[t]=e:c.extend(this.classRuleSettings,t)},classRules:function(t){var e={},t=c(t).attr("class");return t&&c.each(t.split(" "),function(){this in c.validator.classRuleSettings&&c.extend(e,c.validator.classRuleSettings[this])}),e},normalizeAttributeRule:function(t,e,i,n){/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(n=Number(n),isNaN(n)&&(n=void 0)),n||0===n?t[i]=n:e===i&&"range"!==e&&(t[i]=!0)},attributeRules:function(t){var e,i,n={},s=c(t),r=t.getAttribute("type");for(e in c.validator.methods)i="required"===e?(i=t.getAttribute(e),""===i&&(i=!0),!!i):s.attr(e),this.normalizeAttributeRule(n,r,e,i);return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(t){var e,i,n={},s=c(t),r=t.getAttribute("type");for(e in c.validator.methods)i=s.data("rule"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()),""===i&&(i=!0),this.normalizeAttributeRule(n,r,e,i);return n},staticRules:function(t){var e={},i=c.data(t.form,"validator");return i.settings.rules&&(e=c.validator.normalizeRule(i.settings.rules[t.name])||{}),e},normalizeRules:function(n,s){return c.each(n,function(t,e){if(!1!==e){if(e.param||e.depends){var i=!0;switch(typeof e.depends){case"string":i=!!c(e.depends,s.form).length;break;case"function":i=e.depends.call(s,s)}i?n[t]=void 0===e.param||e.param:(c.data(s.form,"validator").resetElements(c(s)),delete n[t])}}else delete n[t]}),c.each(n,function(t,e){n[t]=c.isFunction(e)&&"normalizer"!==t?e(s):e}
1),c.each(["minlength","maxlength"],function(){n[this]&&(n[this]=Number(n[this]))}),c.each(["rangelength","range"],function(){var t;n[this]&&(c.isArray(n[this])?n[this]=[Number(n[this][0]),Number(n[this][1])]:"string"==typeof n[this]&&(t=n[this].replace(/[\[\]]/g,"").split(/[\s,]+/),n[this]=[Number(t[0]),Number(t[1])]))}),c.validator.autoCreateRanges&&(null!=n.min&&null!=n.max&&(n.range=[n.min,n.max],delete n.min,delete n.max),null!=n.minlength&&null!=n.maxlength&&(n.rangelength=[n.minlength,n.maxlength],delete n.minlength,delete n.maxlength)),n},normalizeRule:function(t){var e;return"string"==typeof t&&(e={},c.each(t.split(/\s/),function(){e[this]=!0}),t=e),t},addMethod:function(t,e,i){c.validator.methods[t]=e,c.validator.messages[t]=void 0!==i?i:c.validator.messages[t],e.length<3&&c.validator.addClassRules(t,c.validator.normalizeRule(t))},methods:{required:function(t,e,i){if(!this.depend(i,e))return"dependency-mismatch";if("select"!==e.nodeName.toLowerCase())return this.checkable(e)?0<this.getLength(t,e):null!=t&&0<t.length;e=c(e).val();return e&&0<e.length},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[\/?#]\S*)?$/i.test(t)},date:(i=!1,function(t,e){return i||(i=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())}),dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,i){t=c.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||i<=t},maxlength:function(t,e,i){t=c.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t<=i},rangelength:function(t,e,i){t=c.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t>=i[0]&&t<=i[1]},min:function(t,e,i){return this.optional(e)||i<=t},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(t,e,i){function n(t){return(t=(""+t).match(/(?:\.(\d+))?$/))&&t[1]?t[1].length:0}function s(t){return Math.round(t*Math.pow(10,r))}var r,o=c(e).attr("type"),a="Step attribute on input type "+o+" is not supported.",l=new RegExp("\\b"+o+"\\b"),d=!0;if(o&&!l.test(["text","number","range"].join()))throw new Error(a);return r=n(i),(n(t)>r||s(t)%s(i)!=0)&&(d=!1),this.optional(e)||d},equalTo:function(t,e,i){i=c(i);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){c(e).valid()}),t===i.val()},remote:function(n,s,t,r){if(this.optional(s))return"dependency-mismatch";r="string"==typeof r&&r||"remote";var o,e,a=this.previousValue(s,r);return this.settings.messages[s.name]||(this.settings.messages[s.name]={}),a.originalMessage=a.originalMessage||this.settings.messages[s.name][r],this.settings.messages[s.name][r]=a.message,t="string"==typeof t?{url:t}:t,e=c.param(c.extend({data:n},t.data)),a.old===e?a.valid:(a.old=e,(o=this).startRequest(s),(e={})[s.name]=n,c.ajax(c.extend(!0,{mode:"abort",port:"validate"+s.name,dataType:"json",data:e,context:o.currentForm,success:function(t){var e,i=!0===t||"true"===t;o.settings.messages[s.name][r]=a.originalMessage,i?(e=o.formSubmitted,o.resetInternals(),o.to
1Hide=o.errorsFor(s),o.formSubmitted=e,o.successList.push(s),o.invalid[s.name]=!1,o.showErrors()):(e={},t=t||o.defaultMessage(s,{method:r,parameters:n}),e[s.name]=a.message=t,o.invalid[s.name]=!0,o.showErrors(e)),a.valid=i,o.stopRequest(s,i)}},t)),"pending")}}});var n,s={};return c.ajaxPrefilter?c.ajaxPrefilter(function(t,e,i){var n=t.port;"abort"===t.mode&&(s[n]&&s[n].abort(),s[n]=i)}):(n=c.ajax,c.ajax=function(t){var e=("mode"in t?t:c.ajaxSettings).mode,i=("port"in t?t:c.ajaxSettings).port;return"abort"===e?(s[i]&&s[i].abort(),s[i]=n.apply(this,arguments),s[i]):n.apply(this,arguments)}),c});var objectFitImages=function(){"use strict";var a="fregante:object-fit-images",l=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,t="undefined"==typeof Image?{style:{"object-position":1}}:new Image,d="object-fit"in t.style,s="object-position"in t.style,r="background-size"in t.style,c="string"==typeof t.currentSrc,u=t.getAttribute,h=t.setAttribute,o=!1;function p(t,e,i){i="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(e||1)+"' height='"+(i||0)+"'%3E%3C/svg%3E";u.call(t,"src")!==i&&h.call(t,"src",i)}function f(t,e){t.naturalWidth?e(t):setTimeout(f,100,t,e)}function m(e){var i,n,t,s,r=function(t){for(var e,i=getComputedStyle(t).fontFamily,n={};null!==(e=l.exec(i));)n[e[1]]=e[2];return n}(e),o=e[a];if(r["object-fit"]=r["object-fit"]||"fill",!o.img){if("fill"===r["object-fit"])return;if(!o.skipTest&&d&&!r["object-position"])return}if(!o.img){o.img=new Image(e.width,e.height),o.img.srcset=u.call(e,"data-ofi-srcset")||e.srcset,o.img.src=u.call(e,"data-ofi-src")||e.src,h.call(e,"data-ofi-src",e.src),e.srcset&&h.call(e,"data-ofi-srcset",e.srcset),p(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{i=e,n={get:function(t){return i[a].img[t||"src"]},set:function(t,e){return i[a].img[e||"src"]=t,h.call(i,"data-ofi-"+e,t),m(i),t}},Object.defineProperty(i,"src",n),Object.defineProperty(i,"currentSrc",{get:function(){return n.get("currentSrc")}}),Object.defineProperty(i,"srcset",{get:function(){return n.get("srcset")},set:function(t){return n.set(t,"srcset")}})}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}(t=o.img).srcset&&!c&&window.picturefill&&(t[(s=window.picturefill._).ns]&&t[s.ns].evaled||s.fillImg(t,{reselect:!0}),t[s.ns].curSrc||(t[s.ns].supported=!1,s.fillImg(t,{reselect:!0})),t.currentSrc=t[s.ns].curSrc||t.src),e.style.backgroundImage='url("'+(o.img.currentSrc||o.img.src).replace(/"/g,'\\"')+'")',e.style.backgroundPosition=r["object-position"]||"center",e.style.backgroundRepeat="no-repeat",e.style.backgroundOrigin="content-box",/scale-down/.test(r["object-fit"])?f(o.img,function(){o.img.naturalWidth>e.width||o.img.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"}):e.style.backgroundSize=r["object-fit"].replace("none","auto").replace("fill","100% 100%"),f(o.img,function(t){p(e,t.naturalWidth,t.naturalHeight)})}function g(t,e){var i=!o&&!t;if(e=e||{},t=t||"img",s&&!e.skipTest||!r)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var n=0;n<t.length;n++)t[n][a]=t[n][a]||{skipTest:e.skipTest},m(t[n]);i&&(document.body.addEventListener("load",function(t){"IMG"===t.target.tagName&&g(t.target,{skipTest:e.skipTest})},!0),o=!0,t="img"),e.watchMQ&&window.addEventListener("resize",g.bind(null,t,{skipTest:e.skipTest}))}function i(t,e){return t[a]&&t[a].img&&("src"===e||"srcset"===e)?t[a].img:t}return g.supportsObjectFit=d,(g.supportsObjectPosition=s)||(HTMLImageElement.prototype.getAttribute=function(t){return u.call(i(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,e){return h.call(i(this,t),t,String(e))}),g}();!function(l,i,n,a){function d(t,e){this.settings=null,this.options=l.extend({},d.Defaults,e),this.$element=l(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(d.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(d.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}d.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},d.Width={Default:"default",Inner:"inner",Outer:"outer"},d.Type={Event:"event",State:"state"},d.Plugins={},d.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,e={width:"auto","margin-left":n?e:"","margin-right":n?"":e};i||this.$stage.children().css(e),t.css=e}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,s=!this.settings.autoWidth,r=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=1<i||t.items.merge,r[n]=s?e*i:this._items[n].width();this._widths=r}},{filter:["items","settings"],run:function(){var t=[],e=this._items,i=this.settings,n=Math.max(2*i.items,4),s=2*Math.ceil(e.length/2),r=i.loop&&e.length?
vendor: 30,729 bytes, line 1
1i.rewind?n:Math.max(n,s):0,o="",a="";for(r/=2;0<r;)t.push(this.normalize(t.length/2,!0)),o+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),a=e[t[t.length-1]][0].outerHTML+a,--r;this._clones=t,l(o).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t,e,i=this.settings.rtl?1:-1,n=this._clones.length+this._items.length,s=-1,r=[];++s<n;)t=r[s-1]||0,e=this._widths[this.relative(s)]+this.settings.margin,r.push(t+e*i);this._coordinates=r}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,t={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(t)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var t,e,i=this.settings.rtl?1:-1,n=2*this.settings.stagePadding,s=this.coordinates(this.current())+n,r=s+this.width()*i,o=[],a=0,l=this._coordinates.length;a<l;a++)t=this._coordinates[a-1]||0,e=Math.abs(this._coordinates[a])+n*i,(this.op(t,"<=",s)&&this.op(t,">",r)||this.op(e,"<",s)&&this.op(e,">",r))&&o.push(a);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+o.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],d.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},d.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},d.prototype.initialize=function(){var t,e;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,e=this.$element.children(e).width(),t.length&&e<=0&&this.preloadAutoWidthImages(t)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},d.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},d.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,n=null;t?(l.each(t,function(t){t<=e&&i<t&&(i=Number(t))}),"function"==typeof(n=l.extend({},this.options,t[i])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):n=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=i,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},d.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},d.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},d.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),n={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,i).length)&&this._pipe[t].run(n),t++;this._invalidated={},this.is("valid")||this.enter("valid")},d.prototype.width=function(t){switch(t=t||d.Width.Default){case d.Width.Inner:case d.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},d.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},d.prototype.onThrottledResize=function(){i.clearTimeout(this.resizeTimer),this.resizeTimer=i.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},d.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},d.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(i,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},d.prototype.onDragStart=function(t){var e=null;3!==t.which&&(e=l.support.transform?{x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),{x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(l.support.transform?this.animate(e.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),l(n).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(n).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(n).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},d.prototype.onDragMove=function(t){var e,i=null,n=null,s=this.difference(this._drag.pointer,this.pointer(t)),r=this.difference(this._drag.stage.start,s);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(i=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-i,r.x=((r.x-i)%n+n)%n+i):(i=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),e=this.settings.pullDrag?-1*s.x/5:0,r.x=Math.max(Math.min(r.x,i+e),n+e)),this._drag.stage.current=r,this.animate(r.x))},d.prototype.onDragEnd=function(t){var e=this.difference(this._drag.pointer,this.pointer(t)),i=this._drag.stage.current,t=0<e.x^this.settings.rtl?"left":"right";l(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(i.x,0!==e.x?t:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=t,(3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},d.prototype.closest=function(i,n){var s=-1,r=this.width(),o=this.coordinates();return this.settings.freeDrag||l.each(o,l.proxy(function(t,e){return"left"===n&&e-30<i&&i<e+30?s=t:"right"===n&&e-r-30<i&&i<e-r+30?s=t+1:this.op(i,"<",e)&&this.op(i,">",o[t+1]!==a?o[t+1]:e-r)&&(s="left"===n?t+1:t),-1===s},this)),this.settings.loop||(this.op(i,">",o[this.minimum()])?s=i=this.minimum():this.op(i,"<",o[this.maximum()])&&(s=i=this.maximum())),s},d.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},d.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},d.prototype.current=function(t){return t===a?this._current:0===this._items.length?a:(t=this.normalize(t),this._current!==t&&((e=this.trigger("change",{property:{name:"position",value:t}})).data!==a&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})),this._current);var e},d.prototype.invalidate=function(t){return"string"===l.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),l.map(this._invalidated,function(t,e){return e})},d.prototype.reset=function(t){(t=this.normalize(t))!==a&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},d.prototype.normalize=function(t,e){var i=this._items.length,e=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=a:(t<0||i+e<=t)&&(t=((t-e/2)%i+i)%i+e/2),t},d.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},d.prototype.maximum=function(t){var e,i,n,s=this.settings,r=this._coordinates.length;if(s.loop)r=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.merge){if(e=this._items.length)for(i=this._items[--e].width(),n=this.$element.width();e--&&!(n<(i+=this._items[e].width()+this.settings.margin)););r=e+1}else r=s.center?this._items.length-1:this._items.length-s.items;return t&&(r-=this._clones.length/2),Math.max(r,0)},d.prototype.minimum=function(t){return t?0:this._clones.length/2},d.prototype.items=function(t){return t===a?this._items.slice():(t=this.normalize(t,!0),this._items[t])},d.prototype.mergers=function(t){return t===a?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},d.prototype.clones=function(i){function n(t){return t%2==0?s+t/2:e-(t+1)/2}var e=this._clones.length/2,s=e+this._items.length;return i===a?l.map(this._clones,function(t,e){return n(e)}):l.map(this._clones,function(t,e){return t===i?n(e):null})},d.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},d.prototype.coordinates=function(t){var e,i=1,n=t-1;return t===a?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,n=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[n]||0))/2*i):e=this._coordinates[n]||0,e=Math.ceil(e))},d.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},d.prototype.to=function(t,e){var i,n=this.current(),s=t-this.relative(n),r=(0<s)-(s<0),o=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>o/2&&(s+=-1*r*o),(i=(((t=n+s)-a)%o+o)%o+a)!==t&&i-s<=l&&0<i-s&&(n=i-s,t=i,this.reset(n))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(a,Math.min(l,t)),this.speed(this.duration(n,t,e)),this.current(t),this.isVisible()&&this.update()},d.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},d.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},d.prototype.onTransitionEnd=function(t){if(t!==a&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},d.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==i?t=l(this.options.responsiveBaseElement).width():i.innerWidth?t=i.innerWidth:n.documentElement&&n.documentElement.clientWidth?t=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},d.prototype.replace=function(t){this.$stage.empty(),this._items=[],t=t&&(t instanceof jQuery?t:l(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},d.prototype.add=function(t,e){var i=this.relative(this._current);e=e===a?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:l(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},d.prototype.remove=function(t){(t=this.normalize(t,!0))!==a&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},d.prototype.preloadAutoWidthImages=function(t){t.each(l.proxy(function(t,e){this.enter("pre-loading"),e=l(e),l(new Image).one("load",l.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},d.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(n).off(".owl.core"),!1!==this.settings.responsive&&(i.clearTimeout(this.resizeTimer),this.off(i,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},d.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?i<t:t<i;case">":return n?t<i:i<t;case">=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},d.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},d.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},d.prototype.trigger=function(t,e,i,n,s){var r={item:{count:this._items.length,index:this.current()}},o=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},r,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:d.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].call(this,a)),a},d.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===a&&(this._states.current[e]=0),this._states.current[e]++},this))},d.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},d.prototype.register=function(i){var e;i.type===d.Type.Event?(l.event.special[i.name]||(l.event.special[i.name]={}),l.event.special[i.name].owl||(e=l.event.special[i.name]._default,l.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},l.event.special[i.name].owl=!0)):i.type===d.Type.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=l.grep(this._states.tags[i.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[i.name])===e},this)))},d.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},d.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},d.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||i.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},d.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},d.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=l(this),i=t.data("owl.carousel");i||(i=new d(this,"object"==typeof e&&e),t.data("owl.carousel",i),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){i.register({type:d.Type.Event,name:e}),i.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),i[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},i))})),"string"==typeof e&&"_"!==e.charAt(0)&&i[e].apply(i,n)})},l.fn.owlCarousel.Constructor=d}(window.Zepto||window.jQuery,window,document),function(e,i){var n=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=i.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,e;for(t in i.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(a,s){var e=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var e=this._core.settings,i=e.center&&Math.ceil(e.items/2)||e.items,n=e.center&&-1*i||0,s=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+n,r=this._core.clones().length,o=a.proxy(function(t,e){this.load(e)},this);for(0<e.lazyLoadEager&&(i+=e.lazyLoadEager,e.loop&&(s-=e.lazyLoadEager,i++));n++<i;)this.load(r/2+this._core.relative(s)),r&&a.each(this._core.clones(this._core.relative(s)),o),s++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(t){var e=this._core.$stage.children().eq(t),t=e&&e.find(".owl-lazy");!t||-1<a.inArray(e.get(0),this._loaded)||(t.each(a.proxy(function(t,e){var i=a(e),n=1<s.devicePixelRatio&&i.attr("data-src-retina")||i.attr("data-src")||i.attr("data-srcset");this._core.trigger("load",{element:i,url:n},"lazy"),i.is("img")?i.one("load.owl.lazy",a.proxy(function(){i.css("opacity",1),this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("src",n):i.is("source")?i.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("srcset",n):((e=new Image).onload=a.proxy(function(){i.css({"background-image":'url("'+n+'")',opacity:"1"}),this._core.trigger("loaded",{element:i,url:n},"lazy")},this),e.src=n)},this)),this._loaded.push(e.get(0)))},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(s,i){var n=function(t){this._core=t,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":s.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=s.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var e=this;s(i).on("load",function(){e._core.settings.autoHeight&&e.update()}),s(i).resize(function(){e._core.settings.autoHeight&&(null!=e._intervalId&&clearTimeout(e._intervalId),e._intervalId=setTimeout(function(){e.update()},250))})};n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var t=this._core._current,e=t+this._core.settings.items,i=this._core.settings.lazyLoad,t=this._core.$stage.children().toArray().slice(t,e),n=[],e=0;s.each(t,function(t,e){n.push(s(e).height())}),(e=Math.max.apply(null,n))<=1&&i&&this._previousHeight&&(e=this._previousHeight),this._previousHeight=e,this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},s.fn.owlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(c,e){var i=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":c.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":c.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":c.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":c.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":c.proxy(function(t){var e;!t.namespace||(e=c(t.content).find(".owl-video")).length&&(e.css("display","none"),this.fetch(e,c(t.content)))},this)},this._core.options=c.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",c.proxy(function(t){this.play(t)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),s=t.attr("data-width")||this._core.settings.videoWidth,r=t.attr("data-height")||this._core.settings.videoHeight,o=t.attr("href");if(!o)throw new Error("Missing video URL.");if(-1<(n=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else if(-1<n[3].indexOf("vimeo"))i="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[o]={type:i,id:n,width:s,height:r},e.attr("data-video",o),this.thumbnail(t,this._videos[o])},i.prototype.thumbnail=function(e,t){function i(t){n=d.lazyLoad?c("<div/>",{class:"owl-video-tn "+l,srcType:t}):c("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(n),e.after('<div class="owl-video-play-icon"></div>')}var n,s,r=t.width&&t.height?"width:"+t.width+"px;height:"+t.height+"px;":"",o=e.find("img"),a="src",l="",d=this._core.settings;if(e.wrap(c("<div/>",{class:"owl-video-wrapper",style:r})),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),o.length)return i(o.attr(a)),o.remove(),!1;"youtube"===t.type?(s="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(s)):"vimeo"===t.type?c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t[0].thumbnail_large,i(s)}}):"vzaar"===t.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t.framegrab_url,i(s)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var e=c(t.target).closest("."+this._core.settings.itemClass),i=this._videos[e.attr("data-video")],n=i.width||"100%",s=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),(t=c('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",s),t.attr("width",n),"youtube"===i.type?t.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?t.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&t.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),c(t).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&c(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},c.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,(window,document)),function(o){var e=function(t){this.core=t,this.core.options=o.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":o.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":o.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var t,e,i,n,s,r;1===this.core.settings.items&&o.support.animation&&o.support.transition&&(this.core.speed(0),e=o.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,r=this.core.settings.animateOut,this.core.current()!==this.previous&&(r&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(o.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(r)),s&&n.one(o.support.animation.end,e).addClass("animated owl-animated-in").addClass(s)))},e.prototype.clear=function(t){o(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(n,s,e){var i=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":n.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()}
vendor: 4,265 bytes, line 1
1,this),"play.owl.autoplay":n.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":n.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(t){this._call=s.setTimeout(n.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(t,e){var i;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):s.clearTimeout(this._call),this._time+=this.read()%t-i,this._timeout=t,this._call=s.setTimeout(n.proxy(this._next,this,e),t-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,s.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,s.clearTimeout(this._call))},i.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(s){"use strict";var e=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+s(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":s.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":s.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":s.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=s.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?s(i.navContainer):s("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=s("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",
vendor: 7,068 bytes, line 1
1s.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=s("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",s.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[s('<button role="button">').addClass(i.dotClass).append(s("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?s(i.dotsContainer):s("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",s.proxy(function(t){var e=(s(t.target).parent().is(this._controls.$absolute)?s(t.target):s(t.target).parent()).index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),this._overrides)this._core[t]=s.proxy(this[t],this)},e.prototype.destroy=function(){var t,e,i,n,s=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&s.navContainer?this._controls[e].html(""):this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,s=this._core.maximum(!0),r=this._core.settings,o=r.center||r.autoWidth||r.dotsData?1:r.dotsEach||r.items;if("page"!==r.slideBy&&(r.slideBy=Math.min(r.slideBy,r.items)),r.dots||"page"==r.slideBy)for(this._pages=[],t=i,e=0;t<n;t++){if(o<=e||0===e){if(this._pages.push({start:Math.min(s,t-i),end:t-i+o-1}),Math.min(s,t-i)===s)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},e.prototype.draw=function(){var t=this._core.settings,e=this._core.items().length<=t.items,i=this._core.relative(this._core.current()),n=t.loop||t.rewind;this._controls.$relative.toggleClass("disabled",!t.nav||e),t.nav&&(this._controls.$previous.toggleClass("disabled",!n&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!n&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!t.dots||e),t.dots&&(e=this._pages.length-this._controls.$absolute.children().length,t.dotsData&&0!=e?this._controls.$absolute.html(this._templates.join("")):0<e?this._controls.$absolute.append(new Array(1+e).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(s.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:s.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},e.prototype.current=function(){var i=this._core.relative(this._core.current());return s.grep(this._pages,s.proxy(function(t,e){return t.start<=i&&t.end>=i},this)).pop()},e.prototype.getPosition=function(t){var e,i,n=this._core.settings;return"page"==n.slideBy?(e=s.inArray(this.current(),this._pages),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this._core.relative(this._core.current()),i=this._core.items().length,t?e+=n.slideBy:e-=n.slideBy),e},e.prototype.next=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},e.prototype.prev=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},e.prototype.to=function(t,e,i){!i&&this._pages.length?(i=this._pages.length,s.proxy(this._overrides.to,this._core)(this._pages[(t%i+i)%i].start,e)):s.proxy(this._overrides.to,this._core)(t,e)},s.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,(window,document)),function(n,s){"use strict";var e=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&n(s).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(t){var e;!t.namespace||(e=n(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[e]=t.content)},this),"changed.owl.carousel":n.proxy(function(t){var i;t.namespace&&"position"===t.property.name&&(i=this._core.items(this._core.relative(this._core.current())),(t=n.map(this._hashes,function(t,e){return t===i?e:null}).join())&&s.location.hash.slice(1)!==t&&(s.location.hash=t))},this)},this._core.options=n.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),n(s).on("hashchange.owl.navigation",n.proxy(function(t){var e=s.location.hash.substring(1),i=this._core.$stage.children(),e=this._hashes[e]&&i.index(this._hashes[e]);void 0!==e&&e!==this._core.current()&&this._core.to(this._core.relative(e),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var t,e;for(t in n(s).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(s,r){var o=s("<support>").get(0).style,a="Webkit Moz O ms".split(" "),t={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},e=function(){return!!l("transform")},i=function(){return!!l("perspective")},n=function(){return!!l("animation")};function l(t,i){var n=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return s.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(o[e]!==r)return n=!i||e,!1}),n}function d(t){return l(t,!0)}!function(){return!!l("transition")}()||(s.support.transition=new String(d("transition")),s.support.transition.end=t.transition.end[s.support.transition]),n()&&(s.support.animation=new String(d("animation")),s.support.animation.end=t.animation.end[s.support.animation]),e()&&(s.support.transform=new String(d("transform")),s.support.transform3d=i())}(window.Zepto||window.jQuery,(window,void document)),function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(t,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(t)),i(e),e}:i(jQuery)}(function(e){var t,i,n,h,r,o,p,f,m,g,v,y,s,a,_,n=(e&&e.fn&&e.fn.select2&&e.fn.select2.amd&&(c=e.fn.select2.amd),c&&c.requirejs||(c?i=c:c={},m={},g={},v={},y={},s=Object.prototype.hasOwnProperty,a=[].slice,_=/\.js$/,p=function(t,e){var i,n,s=d(t),r=s[0],e=e[1];return t=s[1],r&&(i=T(r=l(r,e))),r?t=i&&i.normalize?i.normalize(t,(n=e,function(t){return l(t,n)})):l(t,e):(r=(s=d(t=l(t,e)))[0],t=s[1],r&&(i=T(r))),{f:r?r+"!"+t:t,n:t,pr:r,p:i}},f={require:function(t){return w(t)},exports:function(t){var e=m[t];return void 0!==e?e:m[t]={}},module:function(t){return{id:t,uri:"",exports:m[t],config:(e=t,function(){return v&&v.config&&v.config[e]||{}})};var e}}
vendor: 4,196 bytes, line 1
1,r=function(t,e,i,n){var s,r,o,a,l,d=[],c=typeof i,u=C(n=n||t);if("undefined"==c||"function"==c){for(e=!e.length&&i.length?["require","exports","module"]:e,a=0;a<e.length;a+=1)if("require"===(r=(o=p(e[a],u)).f))d[a]=f.require(t);else if("exports"===r)d[a]=f.exports(t),l=!0;else if("module"===r)s=d[a]=f.module(t);else if(b(m,r)||b(g,r)||b(y,r))d[a]=T(r);else{if(!o.p)throw new Error(t+" missing "+r);o.p.load(o.n,w(n,!0),function(e){return function(t){m[e]=t}}(r),{}),d[a]=m[r]}c=i?i.apply(m[t],d):void 0,t&&(s&&s.exports!==h&&s.exports!==m[t]?m[t]=s.exports:c===h&&l||(m[t]=c))}else t&&(m[t]=i)},t=i=o=function(t,e,i,n,s){if("string"==typeof t)return f[t]?f[t](e):T(p(t,C(e)).f);if(!t.splice){if((v=t).deps&&o(v.deps,v.callback),!e)return;e.splice?(t=e,e=i,i=null):t=h}return e=e||function(){},"function"==typeof i&&(i=n,n=s),n?r(h,t,e,i):setTimeout(function(){r(h,t,e,i)},4),o},o.config=function(t){return o(t)},t._defined=m,(n=function(t,e,i){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(i=e,e=[]),b(m,t)||b(g,t)||(g[t]=[t,e,i])}).amd={jQuery:!0},c.requirejs=t,c.require=i,c.define=n),c.define("almond",function(){}),c.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),c.define("select2/utils",["jquery"],function(r){var n={};function d(t){var e,i=t.prototype,n=[];for(e in i){"function"==typeof i[e]&&"constructor"!==e&&n.push(e)}return n}n.Extend=function(t,e){var i,n={}.hasOwnProperty;function s(){this.constructor=t}for(i in e)n.call(e,i)&&(t[i]=e[i]);return s.prototype=e.prototype,t.prototype=new s,t.__super__=e.prototype,t},n.Decorate=function(n,s){var t=d(s),e=d(n);function r(){var t=Array.prototype.unshift,e=s.prototype.constructor.length,i=n.prototype.constructor;0<e&&(t.call(arguments,n.prototype.constructor),i=s.prototype.constructor),i.apply(this,arguments)}s.displayName=n.displayName,r.prototype=new function(){this.constructor=r};for(var i=0;i<e.length;i++){var o=e[i];r.prototype[o]=n.prototype[o]}for(var a=0;a<t.length;a++){var l=t[a];r.prototype[l]=function(t){var e=function(){};t in r.prototype&&(e=r.prototype[t]);var i=s.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),i.apply(this,arguments)}}(l)}return r};function t(){this.listeners={}}t.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},t.prototype.trigger=function(t){var e=Array.prototype.slice,i=e.call(arguments,1);this.listeners=this.listeners||{},null==i&&(i=[]),0===i.length&&i.push({}),(i[0]._type=t)in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},t.prototype.invoke=function(t,e){for(var i=0,n=t.length;i<n;i++)t[i].apply(this,e)},n.Observable=t,n.generateChars=function(t){for(var e="",i=0;i<t;i++){e+=Math.floor(36*Math.random()).toString(36)}return e},n.bind=function(t,e){return function(){t.apply(e,arguments)}},n._convertData=function(t){for(var e in t){var i=e.split("-"),n=t;if(1!==i.length){for(var s=0;s<i.length;s++){var r=i[s];(r=r.substring(0,1).toLowerCase()+r.substring(1))in n||(n[r]={}),s==i.length-1&&(n[r]=t[e]),n=n[r]}delete t[e]}}return t},n.hasScroll=function(t,e){var i=r(e),n=e.style.overflowX,s=e.style.overflowY;return(n!==s||"hidden"!==s&&"visible"!==s)&&("scroll"===n||"scroll"===s||(i.innerHeight()<e.scrollHeight||i.innerWidth()<e.scrollWidth))},n.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.appendMany=function(t,e){var i;"1.7"===r.fn.jquery.substr(0,3)&&(i=r(),r.map(e,function(t){i=i.add(t)}),e=i),t.append(e)},n.__cache={};var i=0;return n.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++i),e=i.toString())),e}
1,n.StoreData=function(t,e,i){t=n.GetUniqueElementId(t);n.__cache[t]||(n.__cache[t]={}),n.__cache[t][e]=i},n.GetData=function(t,e){var i=n.GetUniqueElementId(t);return e?n.__cache[i]&&null!=n.__cache[i][e]?n.__cache[i][e]:r(t).data(e):n.__cache[i]},n.RemoveData=function(t){t=n.GetUniqueElementId(t);null!=n.__cache[t]&&delete n.__cache[t]},n}),c.define("select2/results",["jquery","./utils"],function(u,h){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return h.Extend(n,h.Observable),n.prototype.render=function(){var t=u('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var e=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=u('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),n=this.options.get("translations").get(t.message);i.append(e(n(t.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i<t.results.length;i++){var n=t.results[i],n=this.option(n);e.push(n)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");(0<e.length?e:t).first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var e=this;this.data.current(function(t){var n=u.map(t,function(t){return t.id.toString()});e.$results.find(".select2-results__option[aria-selected]").each(function(){var t=u(this),e=h.GetData(this,"data"),i=""+e.id;null!=e.element&&e.element.selected||null==e.element&&-1<u.inArray(i,n)?t.attr("aria-selected","true"):t.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},t=this.option(t);t.className+=" loading-results",this.$results.prepend(t)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var e=document.createElement("li");e.className="select2-results__option";var i,n={role:"treeitem","aria-selected":"false"};for(i in t.disabled&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==t.id&&delete n["aria-selected"],null!=t._resultId&&(e.id=t._resultId),t.title&&(e.title=t.title),t.children&&(n.role="group",n["aria-label"]=t.text,delete n["aria-selected"]),n){var s=n[i];e.setAttribute(i,s)}if(t.children){var r=u(e),o=document.createElement("strong");o.className="select2-results__group";u(o);this.template(t,o);for(var a=[],l=0;l<t.children.length;l++){var d=t.children[l],d=this.option(d);a.push(d)}var c=u("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});c.append(a),r.append(o),r.append(c)}else this.template(t,e);return h.StoreData(e,"data",t),e},n.prototype.bind=function(e,t){var s=this,i=e.id+"-results";this.$results.attr("id",i),e.on("results:all",function(t){s.clear(),s.append(t.data),e.isOpen()&&(s.setClasses(),s.highlightFirstItem())}),e.on("results:append",function(t){s.append(t.data),e.isOpen()&&s.setClasses()}),e.on("query",function(t){s.hideMessages(),s.showLoading(t)}),e.on("select",function(){e.isOpen()&&(s.setClasses(),s.highlightFirstItem())}),e.on("unselect",function(){e.isOpen()&&(s.setClasses(),s.highlightFirstItem())}),e.on("open",function(){s.$results.attr("aria-expanded","true"),s.$results.attr("aria-hidden","false"),s.setClasses(),s.ensureHighlightVisible()}
vendor: 4,419 bytes, line 1
1),e.on("close",function(){s.$results.attr("aria-expanded","false"),s.$results.attr("aria-hidden","true"),s.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=s.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t,e=s.getHighlightedResults();0!==e.length&&(t=h.GetData(e[0],"data"),"true"==e.attr("aria-selected")?s.trigger("close",{}):s.trigger("select",{data:t}))}),e.on("results:previous",function(){var t,e=s.getHighlightedResults(),i=s.$results.find("[aria-selected]"),n=i.index(e);n<=0||(t=n-1,0===e.length&&(t=0),(n=i.eq(t)).trigger("mouseenter"),e=s.$results.offset().top,i=n.offset().top,n=s.$results.scrollTop()+(i-e),0===t?s.$results.scrollTop(0):i-e<0&&s.$results.scrollTop(n))}),e.on("results:next",function(){var t,e=s.getHighlightedResults(),i=s.$results.find("[aria-selected]"),n=i.index(e)+1;n>=i.length||((t=i.eq(n)).trigger("mouseenter"),e=s.$results.offset().top+s.$results.outerHeight(!1),i=t.offset().top+t.outerHeight(!1),t=s.$results.scrollTop()+i-e,0===n?s.$results.scrollTop(0):e<i&&s.$results.scrollTop(t))}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){s.displayMessage(t)}),u.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=s.$results.scrollTop(),i=s.$results.get(0).scrollHeight-e+t.deltaY,e=0<t.deltaY&&e-t.deltaY<=0,i=t.deltaY<0&&i<=s.$results.height();e?(s.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):i&&(s.$results.scrollTop(s.$results.get(0).scrollHeight-s.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var e=u(this),i=h.GetData(this,"data");"true"!==e.attr("aria-selected")?s.trigger("select",{originalEvent:t,data:i}):s.options.get("multiple")?s.trigger("unselect",{originalEvent:t,data:i}):s.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(t){var e=h.GetData(this,"data");s.getHighlightedResults().removeClass("select2-results__option--highlighted"),s.trigger("results:focus",{data:e,element:u(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t,e,i,n,s=this.getHighlightedResults();0!==s.length&&(t=this.$results.find("[aria-selected]").index(s),n=this.$results.offset().top,e=s.offset().top,i=this.$results.scrollTop()+(e-n),n=e-n,i-=2*s.outerHeight(!1),t<=2?this.$results.scrollTop(0):(n>this.$results.outerHeight()||n<0)&&this.$results.scrollTop(i))},n.prototype.template=function(t,e){var i=this.options.get("templateResult"),n=this.options.get("escapeMarkup"),t=i(t,e);null==t?e.style.display="none":"string"==typeof t?e.innerHTML=n(t):u(e).append(t)},n}),c.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),c.define("select2/selection/base",["jquery","../utils","../keys"],function(i,n,s){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return n.Extend(r,n.Observable),r.prototype.render=function(){var t=i('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=n.GetData(this.$element[0],"old-tabindex")?this._tabindex=n.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t},r.prototype.bind=function(t,e){var i=this,n=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){i.trigger("focus",t)}),this.$selection.on("blur",function(t){i._handleBlur(t)}),this.$selection.on("keydown",function(t){i.trigger("keypress",t),t.which===s.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){i.update(t.data)}),t.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",n),i._attachCloseHandler(t)}),t.on("close",function(){i.$selection.attr("aria-expanded","fal
1se"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),window.setTimeout(function(){i.$selection.focus()},0),i._detachCloseHandler(t)}),t.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),t.on("disable",function(){i.$selection.attr("tabindex","-1")})},r.prototype._handleBlur=function(t){var e=this;window.setTimeout(function(){document.activeElement==e.$selection[0]||i.contains(e.$selection[0],document.activeElement)||e.trigger("blur",t)},1)},r.prototype._attachCloseHandler=function(t){i(document.body).on("mousedown.select2."+t.id,function(t){var e=i(t.target).closest(".select2");i(".select2.select2-container--open").each(function(){i(this);this!=e[0]&&n.GetData(this,"element").select2("close")})})},r.prototype._detachCloseHandler=function(t){i(document.body).off("mousedown.select2."+t.id)},r.prototype.position=function(t,e){e.find(".selection").append(t)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},r}),c.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function s(){s.__super__.constructor.apply(this,arguments)}return i.Extend(s,e),s.prototype.render=function(){var t=s.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},s.prototype.bind=function(e,t){var i=this;s.__super__.bind.apply(this,arguments);var n=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&i.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),e.on("focus",function(t){e.isOpen()||i.$selection.focus()})},s.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},s.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},s.prototype.selectionContainer=function(){return t("<span></span>")},s.prototype.update=function(t){var e,i;0!==t.length?(e=t[0],i=this.$selection.find(".select2-selection__rendered"),t=this.display(e,i),i.empty().append(t),i.attr("title",e.title||e.text)):this.clear()},s}),c.define("select2/selection/multiple",["jquery","./base","../utils"],function(n,t,a){function s(t,e){s.__super__.constructor.apply(this,arguments)}return a.Extend(s,t),s.prototype.render=function(){var t=s.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},s.prototype.bind=function(t,e){var i=this;s.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){i.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){var e;i.options.get("disabled")||(e=n(this).parent(),e=a.GetData(e[0],"data"),i.trigger("unselect",{originalEvent:t,data:e}))})},s.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},s.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},s.prototype.selectionContainer=function(){return n('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},s.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i<t.length;i++){var n=t[i],s=this.selectionContainer(),r=this.display(n,s);s.append(r),s.attr("title",n.title||n.text),a.StoreData(s[0],"data",n),e.push(s)}var o=this.$selection.find(".select2-selection__rendered");a.appendMany(o,e)}},s}),c.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var i=this.selectionContainer();return i.html(this.display(e)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},e.prototype.update=function(t,e){var i=1==e.length&&e[0].id!=this.placeholder.id;if(1<e.length||i)return t.call(this,e);this.clear();e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},e}
1),c.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(i,n,a){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},t.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();var n=a.GetData(i[0],"data"),s=this.$element.val();this.$element.val(this.placeholder.id);var r={data:n};if(this.trigger("clear",r),r.prevented)this.$element.val(s);else{for(var o=0;o<n.length;o++)if(r={data:n[o]},this.trigger("unselect",r),r.prevented)return void this.$element.val(s);this.$element.trigger("change"),this.trigger("toggle",{})}}}},t.prototype._handleKeyboardClear=function(t,e,i){i.isOpen()||e.which!=n.DELETE&&e.which!=n.BACKSPACE||this._handleClear(e)},t.prototype.update=function(t,e){t.call(this,e),0<this.$selection.find(".select2-selection__placeholder").length||0===e.length||(t=i('<span class="select2-selection__clear">&times;</span>'),a.StoreData(t[0],"data",e),this.$selection.find(".select2-selection__rendered").prepend(t))},t}),c.define("select2/selection/search",["jquery","../utils","../keys"],function(i,r,o){function t(t,e,i){t.call(this,e,i)}return t.prototype.render=function(t){var e=i('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=e,this.$search=e.find("input");t=t.call(this);return this._transferTabIndex(),t},t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("open",function(){n.$search.trigger("focus")}),e.on("close",function(){n.$search.val(""),n.$search.removeAttr("aria-activedescendant"),n.$search.trigger("focus")}),e.on("enable",function(){n.$search.prop("disabled",!1),n._transferTabIndex()}),e.on("disable",function(){n.$search.prop("disabled",!0)}),e.on("focus",function(t){n.$search.trigger("focus")}),e.on("results:focus",function(t){n.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){n.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){n._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){var e;t.stopPropagation(),n.trigger("keypress",t),n._keyUpPrevented=t.isDefaultPrevented(),t.which!==o.BACKSPACE||""!==n.$search.val()||0<(e=n.$searchContainer.prev(".select2-selection__choice")).length&&(e=r.GetData(e[0],"data"),n.searchRemoveChoice(e),t.preventDefault())});var e=document.documentMode,s=e&&e<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){s?n.$selection.off("input.search input.searchcheck"):n.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){var e;s&&"input"===t.type?n.$selection.off("input.search input.searchcheck"):(e=t.which)!=o.SHIFT&&e!=o.CTRL&&e!=o.ALT&&e!=o.TAB&&n.handleSearch(t)})},t.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},t.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},t.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i&&(this.$element.find("[data-select2-tag]").length?this.$element:this.$search).focus()},t.prototype.handleSearch=function(){var t;this.resizeSearch(),this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},t.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},t.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},t}),c.define("select2/selection/eventRelay",["jquery"],function(o){function t(){}
vendor: 4,319 bytes, line 1
1return t.prototype.bind=function(t,e,i){var n=this,s=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];t.call(this,e,i),e.on("*",function(t,e){var i;-1!==o.inArray(t,s)&&(e=e||{},i=o.Event("select2:"+t,{params:e}),n.$element.trigger(i),-1!==o.inArray(t,r)&&(e.prevented=i.isDefaultPrevented()))})},t}),c.define("select2/translation",["jquery","require"],function(e,i){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(t){var e;return t in n._cache||(e=i(t),n._cache[t]=e),new n(n._cache[t])},n}),c.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"
1V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),c.define("select2/data/base",["../utils"],function(i){function n(t,e){n.__super__.constructor.call(this)}return i.Extend(n,i.Observable),n.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(t,e){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(t,e){t=t.id+"-result-";return t+=i.generateChars(4),null!=e.id?t+="-"+e.id.toString():t+="-"+i.generateChars(4),t},n}),c.define("select2/data/select",["./base","../utils","jquery"],function(t,o,a){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return o.Extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each(function(){var t=a(this),t=i.item(t);e.push(t)}),t(e)},i.prototype.select=function(s){var t,r=this;if(s.selected=!0,a(s.element).is("option"))return s.element.selected=!0,void this.$element.trigger("change");this.$element.prop("multiple")?this.current(function(t){var e=[];(s=[s]).push.apply(s,t);for(var i=0;i<s.length;i++){var n=s[i].id;-1===a.inArray(n,e)&&e.push(n)}r.$element.val(e),r.$element.trigger("change")}):(t=s.id,this.$element.val(t),this.$element.trigger("change"))},i.prototype.unselect=function(s){var r=this;if(this.$element.prop("multiple")){if(s.selected=!1,a(s.element).is("option"))return s.element.selected=!1,void this.$element.trigger("change");this.current(function(t){for(var e=[],i=0;i<t.length;i++){var n=t[i].id;n!==s.id&&-1===a.inArray(n,e)&&e.push(n)}r.$element.val(e),r.$element.trigger("change")})}},i.prototype.bind=function(t,e){var i=this;(this.container=t).on("select",function(t){i.select(t.data)}),t.on("unselect",function(t){i.unselect(t.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){o.RemoveData(this)})},i.prototype.query=function(e,t){var i=[],n=this;this.$element.children().each(function(){var t=a(this);(t.is("option")||t.is("optgroup"))&&(t=n.item(t),null!==(t=n.matches(e,t))&&i.push(t))}),t({results:i})},i.prototype.addOptions=function(t){o.appendMany(this.$element,t)},i.prototype.option=function(t){var e;t.children?(e=document.createElement("optgroup")).label=t.text:void 0!==(e=document.createElement("option")).textContent?e.textContent=t.text:e.innerText=t.text,void 0!==t.id&&(e.value=t.id),t.disabled&&(e.disabled=!0),t.selected&&(e.selected=!0),t.title&&(e.title=t.title);var i=a(e),t=this._normalizeItem(t);return t.element=e,o.StoreData(e,"data",t),i},i.prototype.item=function(t){var e={};if(null!=(e=o.GetData(t[0],"data")))return e;if(t.is("option"))e={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){e={text:t.prop("label"),children:[],title:t.prop("title")};for(var i=t.children("option"),n=[],s=0;s<i.length;s++){var r=a(i[s]),r=this.item(r);n.push(r)}e.children=n}return(e=this._normalizeItem(e)).element=t[0],o.StoreData(t[0],"data",e),e},i.prototype._normalizeItem=function(t){t!==Object(t)&&(t={id:t,text:t});return null!=(t=a.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),a.extend({},{selected:!1,disabled:!1},t)},i.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},i}),c.define("select2/data/array",["./select","../utils","jquery"],function(t,d,c){function n(t,e){var i=e.get("data")||[];n.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(i))}return d.Extend(n,t),n.prototype.select=function(i){var t=this.$element.find("option").filter(function(t,e){return e.value==i.id.toString()});0===t.length&&(t=this.option(i),this.addOptions(t)),n.__super__.select.call(this,i)},n.prototype.convertToOptions=function(t){var e=this,i=this.$element.find("option"),n=i.map(function(){return e.item(c(this)).id}).get(),s=[];for(var r=0;r<t.length;r++){var o,a,l=this._normalizeItem(t[r]);0<=c.inArray(l.id,n)?(o=i.filter(function(t){return function(){return c(this).val()==t.id}}(l)),a=this.item(o),a=c.extend(!0,{},l,a),a=this.option(a),o.replaceWith(a)):(a=this.option(l),l.children&&(l=this.convertToOptions(l.children),d.appendMany(a,l)),s.push(a))}return s},n}),c.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,r){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return r.extend({},t,{q:t.term})}
1,transport:function(t,e,i){t=r.ajax(t);return t.then(e),t.fail(i),t}};return r.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(e,i){var n=this;null!=this._request&&(r.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var s=r.extend({type:"GET"},this.ajaxOptions);function t(){var t=s.transport(s,function(t){t=n.processResults(t,e);n.options.get("debug")&&window.console&&console.error&&(t&&t.results&&r.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),i(t)},function(){"status"in t&&(0===t.status||"0"===t.status)||n.trigger("results:message",{message:"errorLoading"})});n._request=t}"function"==typeof s.url&&(s.url=s.url.call(this.$element,e)),"function"==typeof s.data&&(s.data=s.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(t,this.ajaxOptions.delay)):t()},i}),c.define("select2/data/tags",["jquery"],function(a){function t(t,e,i){var n=i.get("tags"),s=i.get("createTag");void 0!==s&&(this.createTag=s);s=i.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,e,i),a.isArray(n))for(var r=0;r<n.length;r++){var o=n[r],o=this._normalizeItem(o),o=this.option(o);this.$element.append(o)}}return t.prototype.query=function(t,d,c){var u=this;this._removeOldTags(),null!=d.term&&null==d.page?t.call(this,d,function t(e,i){for(var n=e.results,s=0;s<n.length;s++){var r=n[s],o=null!=r.children&&!t({results:r.children},!0);if((r.text||"").toUpperCase()===(d.term||"").toUpperCase()||o)return!i&&(e.data=n,void c(e))}if(i)return!0;var a,l=u.createTag(d);null!=l&&((a=u.option(l)).attr("data-select2-tag",!0),u.addOptions([a]),u.insertTag(n,l)),e.results=n,c(e)}):t.call(this,d,c)},t.prototype.createTag=function(t,e){e=a.trim(e.term);return""===e?null:{id:e,text:e}},t.prototype.insertTag=function(t,e,i){e.unshift(i)},t.prototype._removeOldTags=function(t){this._lastTag;this.$element.find("option[data-select2-tag]").each(function(){this.selected||a(this).remove()})},t}),c.define("select2/data/tokenizer",["jquery"],function(d){function t(t,e,i){var n=i.get("tokenizer");void 0!==n&&(this.tokenizer=n),t.call(this,e,i)}return t.prototype.bind=function(t,e,i){t.call(this,e,i),this.$search=e.dropdown.$search||e.selection.$search||i.find(".select2-search__field")},t.prototype.query=function(t,e,i){var n=this;e.term=e.term||"";var s=this.tokenizer(e,this.options,function(t){var e,i=n._normalizeItem(t);n.$element.find("option").filter(function(){return d(this).val()===i.id}).length||((e=n.option(i)).attr("data-select2-tag",!0),n._removeOldTags(),n.addOptions([e])),e=i,n.trigger("select",{data:e})});s.term!==e.term&&(this.$search.length&&(this.$search.val(s.term),this.$search.focus()),e.term=s.term),t.call(this,e,i)},t.prototype.tokenizer=function(t,e,i,n){for(var s=i.get("tokenSeparators")||[],r=e.term,o=0,a=this.createTag||function(t){return{id:t.term,text:t.term}};o<r.length;){var l=r[o];-1!==d.inArray(l,s)?(l=r.substr(0,o),null!=(l=a(d.extend({},e,{term:l})))?(n(l),r=r.substr(o+1)||"",o=0):o++):o++}return{term:r}},t}),c.define("select2/data/minimumInputLength",[],function(){function t(t,e,i){this.minimumInputLength=i.get("minimumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),c.define("select2/data/maximumInputLength",[],function(){function t(t,e,i){this.maximumInputLength=i.get("maximumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.term=e.term||"",0<this.maximumInputLength&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),c.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.query=function(e,i,n){var s=this;this.current(function(t){t=null!=t?t.length:0;0<s.maximumSelectionLength&&t>=s.maximumSelectionLength?s.trigger("results:message",{message:"maximumSelected",args:{maximum:s.maximumSelectionLength}}):e.call(s,i,n)})},t}),c.define("select2/dropdown",["jquery","./utils"],function(e,t){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),c.define("select2/dropdown/search",["jquery","../utils"],function(s,t){function e(){}return e.prototype.render=function(t){var e=t.call(this),t=s('<sp
1an class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=t,this.$search=t.find("input"),e.prepend(t),e},e.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),this.$search.on("keydown",function(t){n.trigger("keypress",t),n._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(t){s(this).off("keyup")}),this.$search.on("keyup input",function(t){n.handleSearch(t)}),e.on("open",function(){n.$search.attr("tabindex",0),n.$search.focus(),window.setTimeout(function(){n.$search.focus()},0)}),e.on("close",function(){n.$search.attr("tabindex",-1),n.$search.val(""),n.$search.blur()}),e.on("focus",function(){e.isOpen()||n.$search.focus()}),e.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(n.showSearch(t)?n.$searchContainer.removeClass("select2-search--hide"):n.$searchContainer.addClass("select2-search--hide"))})},e.prototype.handleSearch=function(t){var e;this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e}),c.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;0<=n;n--){var s=e[n];this.placeholder.id===s.id&&i.splice(n,1)}return i},t}),c.define("select2/dropdown/infiniteScroll",["jquery"],function(s){function t(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("query",function(t){n.lastParams=t,n.loading=!0}),e.on("query:append",function(t){n.lastParams=t,n.loading=!0}),this.$results.on("scroll",function(){var t=s.contains(document.documentElement,n.$loadingMore[0]);!n.loading&&t&&(t=n.$results.offset().top+n.$results.outerHeight(!1),n.$loadingMore.offset().top+n.$loadingMore.outerHeight(!1)<=t+50&&n.loadMore())})},t.prototype.loadMore=function(){this.loading=!0;var t=s.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},t.prototype.createLoadingMore=function(){var t=s('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),e=this.options.get("translations").get("loadingMore");return t.html(e(this.lastParams)),t},t}),c.define("select2/dropdown/attachBody",["jquery","../utils"],function(d,o){function t(t,e,i){this.$dropdownParent=i.get("dropdownParent")||d(document.body),t.call(this,e,i)}return t.prototype.bind=function(t,e,i){var n=this,s=!1;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),s||(s=!0,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},t.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},t.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},t.prototype.render=function(t){var e=d("<span></span>"),t=t.call(this);return e.append(t),this.$dropdownContainer=e},t.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},t.prototype._attachPositioningHandler=function(t,e){var i=this,n="scroll.
1select2."+e.id,s="resize.select2."+e.id,r="orientationchange.select2."+e.id,e=this.$container.parents().filter(o.hasScroll);e.each(function(){o.StoreData(this,"select2-scroll-position",{x:d(this).scrollLeft(),y:d(this).scrollTop()})}),e.on(n,function(t){var e=o.GetData(this,"select2-scroll-position");d(this).scrollTop(e.y)}),d(window).on(n+" "+s+" "+r,function(t){i._positionDropdown(),i._resizeDropdown()})},t.prototype._detachPositioningHandler=function(t,e){var i="scroll.select2."+e.id,n="resize.select2."+e.id,e="orientationchange.select2."+e.id;this.$container.parents().filter(o.hasScroll).off(i),d(window).off(i+" "+n+" "+e)},t.prototype._positionDropdown=function(){var t=d(window),e=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),n=null,s=this.$container.offset();s.bottom=s.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=s.top,r.bottom=s.top+r.height;var o=this.$dropdown.outerHeight(!1),a=t.scrollTop(),l=t.scrollTop()+t.height(),t=a<s.top-o,a=l>s.bottom+o,l={left:s.left,top:r.bottom},s=this.$dropdownParent;"static"===s.css("position")&&(s=s.offsetParent());s=s.offset();l.top-=s.top,l.left-=s.left,e||i||(n="below"),a||!t||e?!t&&a&&e&&(n="below"):n="above",("above"==n||e&&"below"!==n)&&(l.top=r.top-s.top-o),null!=n&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+n),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+n)),this.$dropdownContainer.css(l)},t.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},t.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},t}),c.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var i=0,n=0;n<e.length;n++){var s=e[n];s.children?i+=t(s.children):i++}return i}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),c.define("select2/dropdown/selectOnClose",["../utils"],function(n){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("close",function(t){n._handleSelectOnClose(t)})},t.prototype._handleSelectOnClose=function(t,e){if(e&&null!=e.originalSelect2Event){var i=e.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}i=this.getHighlightedResults();i.length<1||(null!=(i=n.GetData(i[0],"data")).element&&i.element.selected||null==i.element&&i.selected||this.trigger("select",{data:i}))},t}),c.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(t){n._selectTriggered(t)}),e.on("unselect",function(t){n._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var i=e.originalEvent;i&&i.ctrlKey||this.trigger("close",{originalEvent:i,originalSelect2Event:e})},t}),c.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,t="Please delete "+e+" character";return 1!=e&&(t+="s"),t},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),c.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(c,u,h,p,f,m,g,v,y,_,b,e,w,T,C,S,x,k,$,E,D,I,A,P,M,O,L,N,t){function i(){this.reset()}return i.prototype.apply=function(e){var t,i;if(null==(e=c.extend(!0,{},this.defaults,e)).dataAdapter&&(null!=e.ajax?e.dataAdapter=C:null!=e.data?e.dataAdapter=T:e.dataAdapter=w,0<e.minimumInputLength&&(e.dataAdapter=_.Decorate(e.dataAdapter,k)),0<e.maximumInputLength&&(e.dataAdapter=_.Decorate(e.dataAdapter,$)),0<e.maximumSelectionLength&&(e.dataAdapter=_.Decorate(e.dataAdapter,E)),e.tags&&(e.dataAdapter=_.Decorate(e.dataAdapter,S)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=_.Decorate(e.dataAdapter,x)),null!=e.query&&(t=u(e.amdBase+"compat/query"),e.dataAdapter=_.Decorate(e.dataAdapter,t)),null!=e.initSelection&&(t=u(e.amdBase+"compat/initSelection"),e.dataAdapter=_.Decorate(e.dataAdapter,t))),null==e.resultsAdapter&&(e.resultsAdapter=h,null!=e.ajax&&(e.resultsAdapter=_.Decorate(e.resultsAdapter,P)),null!=e.placeholder&&(e.resultsAdapter=_.Decorate(e.resultsAdapter,A)),e.selectOnClose&&(e.resultsAdapter=_.Decorate(e.resultsAdapter,L))),null==e.dropdownAdapter&&(e.multiple?e.dropdownAdapter=D:(i=_.Decorate(D,I),e.dropdownAdapter=i),0!==e.minimumResultsForSearch&&(e.dropdownAdapter=_.Decorate(e.dropdownAdapter,O)),e.closeOnSelect&&(e.dropdownAdapter=_.Decorate(e.dropdownAdapter,N)),null==e.dropdownCssClass&&null==e.dropdownCss&&null==e.adaptDropdownCssClass||(i=u(e.amdBase+"compat/dropdownCss"),e.dropdownAdapter=_.Decorate(e.dropdownAdapter,i)),e.dropdownAdapter=_.Decorate(e.dropdownAdapter,M)),null==e.selectionAdapter&&(e.multiple?e.selectionAdapter=f:e.selectionAdapter=p,null!=e.placeholder&&(e.selectionAdapter=_.Decorate(e.selectionAdapter,m)),e.allowClear&&(e.selectionAdapter=_.Decorate(e.selectionAdapter,g)),e.multiple&&(e.selectionAdapter=_.Decorate(e.selectionAdapter,v)),null==e.containerCssClass&&null==e.containerCss&&null==e.adaptC
vendor: 10,364 bytes, line 1
1ontainerCssClass||(l=u(e.amdBase+"compat/containerCss"),e.selectionAdapter=_.Decorate(e.selectionAdapter,l)),e.selectionAdapter=_.Decorate(e.selectionAdapter,y)),"string"==typeof e.language&&(0<e.language.indexOf("-")?(d=e.language.split("-")[0],e.language=[e.language,d]):e.language=[e.language]),c.isArray(e.language)){var n=new b;e.language.push("en");for(var s=e.language,r=0;r<s.length;r++){var o=s[r],a={};try{a=b.loadPath(o)}catch(t){try{o=this.defaults.amdLanguageBase+o,a=b.loadPath(o)}catch(t){e.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.');continue}}n.extend(a)}e.translations=n}else{var l=b.loadPath(this.defaults.amdLanguageBase+"en"),d=new b(e.language);d.extend(l),e.translations=d}return e},i.prototype.reset=function(){function a(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return e[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:_.escapeMarkup,language:t,matcher:function t(e,i){if(""===c.trim(e.term))return i;if(i.children&&0<i.children.length){for(var n=c.extend(!0,{},i),s=i.children.length-1;0<=s;s--)null==t(e,i.children[s])&&n.children.splice(s,1);return 0<n.children.length?n:t(e,n)}var r=a(i.text).toUpperCase(),o=a(e.term).toUpperCase();return-1<r.indexOf(o)?i:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},i.prototype.set=function(t,e){var i={};i[c.camelCase(t)]=e;i=_._convertData(i);c.extend(!0,this.defaults,i)},new i}),c.define("select2/options",["require","jquery","./defaults","./utils"],function(i,r,n,o){function t(t,e){this.options=t,null!=e&&this.fromElement(e),this.options=n.apply(this.options),e&&e.is("input")&&(e=i(this.get("amdBase")+"compat/inputData"),this.options.dataAdapter=o.Decorate(this.options.dataAdapter,e))}return t.prototype.fromElement=function(t){var e=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),o.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),o.StoreData(t[0],"data",o.GetData(t[0],"select2Tags")),o.StoreData(t[0],"tags",!0)),o.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",o.GetData(t[0],"ajaxUrl")),o.StoreData(t[0],"ajax-Url",o.GetData(t[0],"ajaxUrl")));var i,n={},n=r.fn.jquery&&"1."==r.fn.jquery.substr(0,2)&&t[0].dataset?r.extend(!0,{},t[0].dataset,o.GetData(t[0])):o.GetData(t[0]),s=r.extend(!0,{},n);for(i in s=o._convertData(s))-1<r.inArray(i,e)||(r.isPlainObject(this.options[i])?r.extend(this.options[i],s[i]):this.options[i]=s[i]);return this},t.prototype.get=function(t){return this.options[t]},t.prototype.set=function(t,e){this.options[t]=e},t}),c.define("select2/core",["jquery","./options","./utils","./keys"],function(s,r,o,n){var a=function(t,e){null!=o.GetData(t[0],"select2")&&o.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),e=e||{},this.options=new r(e,t),a.__super__.constructor.call(this);var i=t.attr("tabindex")||0;o.StoreData(t[0],"old-tabindex",i),t.attr("tabindex","-1");e=this.options.get("dataAdapter");this.dataAdapter=new e(t,this.options);i=this.render();this._placeContainer(i);e=this.options.get("selectionAdapter");this.selection=new e(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,i);e=this.options.get("dropdownAdapter");this.dropdown=new e(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,i);i=this.options.get("resultsAdapter");this.results=new i(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var n=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),o.StoreData(t[0],"select2",this),t.data("select2",this)};return o.Extend(a,o.Observable),a.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+o.generateChars(2):o.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},a.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},a.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var n=this._resolveWidth(t,"style");return null!=n?n:this._resolveWidth(t,"element")}if("element"==e){n=t.outerWidth(!1);return n<=0?"auto":n+"px"}if("style"!=e)return e;t=t.attr("style");if("string"!=typeof t)return null;for(var s=t.split(";"),r=0,o=s.length;r<o;r+=1){var a=s[r].replace(/\s/g,"").match(i);if(null!==a&&1<=a.length)return a[1]}return null},a.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},a.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=o.bind(this._syncAttributes,this),this._syncS=o.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=t?(this._observer=new t(function(t){s.each(t,e._syncA),s.each(t,e._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},a.prototype._registerDataEvents=function(){var i=this;this.dataAdapter.on("*",function(t,e){i.trigger(t,e)})},a.prototype._registerSelectionEvents=function(){var i=this,n=["toggle","focus"];this.selection.on("toggle",function(){i.toggleDropdown()}),this.selection.on("focus",function(t){i.focus(t)}),this.selection.on("*",function(t,e){-1===s.inArray(t,n)&&i.trigger(t,e)})},a.prototype._registerDropdownEvents=function(){var i=this;this.dropdown.on("*",function(t,e){i.trigger(t,e)})},a.prototype._registerResultsEvents=function(){var i=this;this.results.on("*",function(t,e){i.trigger(t,e)})},a.prototype._registerEvents=function(){var i=this;this.on("open",function(){i.$container.addClass("select2-container--open")}),this.on("close",function(){i.$container.removeClass("select2-container--open")}),this.on("enable",function(){i.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){i.$container.addClass("select2-container--disabled")}),this.on("blur",function(){i.$container.removeClass("select2-container--focus")}),this.on("query",function(e){i.isOpen()||i.trigger("open",{}),this.dataAdapter.query(e,function(t){i.trigger("results:all",{data:t,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(t){i.trigger("results:append",{data:t,query:e})})}),this.on("keypress",function(t){var e=t.which;i.isOpen()?e===n.ESC||e===n.TAB||e===n.UP&&t.altKey?(i.close(),t.preventDefault()):e===n.ENTER?(i.trigger("results:select",{}),t.preventDefault()):e===n.SPACE&&t.ctrlKey?(i.trigger("results:toggle",{}),t.preventDefault()):e===n.UP?(i.trigger("results:previous",{}),t.preventDefault()):e===n.DOWN&&(i.trigger("results:next",{}),t.preventDefault()):(e===n.ENTER||e===n.SPACE||e===n.DOWN&&t.altKey)&&(i.open(),t.preventDefault())})},a.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},a.prototype._syncSubtree=function(t,e){var i=!1,n=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&0<e.addedNodes.length)for(var s=0;s<e.addedNodes.length;s++){e.addedNodes[s].selected&&(i=!0)}else e.removedNodes&&0<e.removedNodes.length&&(i=!0);else i=!0;i&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})}},a.prototype.trigger=function(t,e){var i=a.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in n){var s=n[t],n={prevented:!1,name:t,args:e};if(i.call(this,s,n),n.prevented)return void(e.prevented=!0)}i.call(this,t,e)},a.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},a.prototype.open=function(){this.isOpen()||this.trigger("query",{})},a.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},a.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},a.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")}
1,a.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},a.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);t=!t[0];this.$element.prop("disabled",t)},a.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},a.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();t=t[0];s.isArray(t)&&(t=s.map(t,function(t){return t.toString()})),this.$element.val(t).trigger("change")},a.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",o.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),o.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},a.prototype.render=function(){var t=s('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),o.StoreData(t[0],"element",this.$element),t},a}),c.define("jquery-mousewheel",["jquery"],function(t){return t}),c.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(s,t,r,e,o){var a;return null==s.fn.select2&&(a=["open","close","destroy"],s.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var t=s.extend(!0,{},e);new r(s(this),t)}),this;if("string"!=typeof e)throw new Error("Invalid arguments for Select2: "+e);var i,n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=o.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=t[e].apply(t,n)}),-1<s.inArray(e,a)?this:i}),null==s.fn.select2.defaults&&(s.fn.select2.defaults=e),r}),{define:c.define,require:c.require});function b(t,e){return s.call(t,e)}function l(t,e){var i,n,s,r,o,a,l,d,c,u,h=e&&e.split("/"),p=v.map,f=p&&p["*"]||{};if(t){for(e=(t=t.split("/")).length-1,v.nodeIdCompat&&_.test(t[e])&&(t[e]=t[e].replace(_,"")),"."===t[0].charAt(0)&&h&&(t=h.slice(0,h.length-1).concat(t)),d=0;d<t.length;d++)"."===(u=t[d])?(t.splice(d,1),--d):".."===u&&(0===d||1===d&&".."===t[2]||".."===t[d-1]||0<d&&(t.splice(d-1,2),d-=2));t=t.join("/")}if((h||f)&&p){for(d=(i=t.split("/")).length;0<d;--d){if(n=i.slice(0,d).join("/"),h)for(c=h.length;0<c;--c)if(s=(s=p[h.slice(0,c).join("/")])&&s[n]){r=s,o=d;break}if(r)break;!a&&f&&f[n]&&(a=f[n],l=d)}!r&&a&&(r=a,o=l),r&&(i.splice(0,o,r),t=i.join("/"))}return t}function w(e,i){return function(){var t=a.call(arguments,0);return"string"!=typeof t[0]&&1===t.length&&t.push(null),o.apply(h,t.concat([e,i]))}}function T(t){var e;if(b(g,t)&&(e=g[t],delete g[t],y[t]=!0,r.apply(h,e)),!b(m,t)&&!b(y,t))throw new Error("No "+t);return m[t]}function d(t){var e,i=t?t.indexOf("!"):-1;return-1<i&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function C(t){return t?d(t):[]}var c=n.require("jquery.select2");return e.fn.select2.amd=n,c}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(d){"use strict";var n,r=window.Slick||{};n=0,(r=function(t,e){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:d(t),appendDots:d(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return d('<button type="button" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 9,080 bytes, line 1
1sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},d.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=d(t),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,t=d(t).data("slick")||{},i.options=d.extend({},i.defaults,e,t),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=d.proxy(i.autoPlay,i),i.autoPlayClear=d.proxy(i.autoPlayClear,i),i.autoPlayIterator=d.proxy(i.autoPlayIterator,i),i.changeSlide=d.proxy(i.changeSlide,i),i.clickHandler=d.proxy(i.clickHandler,i),i.selectHandler=d.proxy(i.selectHandler,i),i.setPosition=d.proxy(i.setPosition,i),i.swipeHandler=d.proxy(i.swipeHandler,i),i.dragHandler=d.proxy(i.dragHandler,i),i.keyHandler=d.proxy(i.keyHandler,i),i.instanceUid=n++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},r.prototype.addSlide=r.prototype.slickAdd=function(t,e,i){var n=this;if("boolean"==typeof e)i=e,e=null;else if(e<0||e>=n.slideCount)return!1;n.unload(),"number"==typeof e?0===e&&0===n.$slides.length?d(t).appendTo(n.$slideTrack):i?d(t).insertBefore(n.$slides.eq(e)):d(t).insertAfter(n.$slides.eq(e)):!0===i?d(t).prependTo(n.$slideTrack):d(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(t,e){d(e).attr("data-slick-index",t)}),n.$slidesCache=n.$slides,n.reinit()},r.prototype.animateHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.animate({height:t},this.options.speed))},r.prototype.animateSlide=function(t,e){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(t=-t),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,e):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,e):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),d({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate("+t+"px, 0px)":i[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(i)},complete:function(){e&&e.call()}})):(n.applyTransition(),t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate3d("+t+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(i),e&&setTimeout(function(){n.disableTransition(),e.call()},n.options.speed))},r.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=d(t).not(this.$slider)),t},r.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=d(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},r.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,(!1===e.options.fade?e.$slideTrack:e.$slides.eq(t)).css(i)},r.prototype.autoPlay=function(){this.autoPlayClear(),this.slideCount>this.options.slidesToShow&&(this.autoPlayTimer=setInterval(this.autoPlayIterator,this.options.autoplaySpeed))},r.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},r.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},r.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=d(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=d(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},r.prototype.buildDots=function(){var t,e,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),e=d("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)e.append(d("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=e.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},r.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){d(e).attr("data-slick-index",t).data("originalStyling",d(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?d('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),d("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},r.prototype.buildRows=function(){var t,e,i,n=this,s=document.createDocumentFragment(),r=n.$slider.children();if(0<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,e=Math.ceil(r.length/i),t=0;t<e;t++){for(var o=document.createElement("div"),a=0;a<n.options.rows;a++){for(var l=document.createElement("div"),d=0;d<n.options.slidesPerRow;d++){var c=t*i+(a*n.options.slidesPerRow+d);r.get(c)&&l.appendChild(r.get(c))}o.appendChild(l)}s.appendChild(o)}n.$slider.empty().append(s),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},r.prototype.checkResponsive=function(t,e){var i,n,s,r=this,o=!1,a=r.$slider.width(),l=window.innerWidth||d(window).width();if("window"===r.respondTo?s=l:"slider"===r.respondTo?s=a:"min"===r.respondTo&&(s=Math.min(l,a)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(i in n=null,r.breakpoints)r.breakpoints.hasOwnProperty(i)&&(!1===r.originalSettings.mobileFirst?s<r.breakpoints[i]&&(n=r.breakpoints[i]):s>r.breakpoints[i]&&(n=r.breakpoints[i]));null!==n?null!==r.activeBreakpoint&&n===r.activeBreakpoint&&!e||(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=d.extend({},r.originalSettings,r.breakpointSettings[n]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),o=n),t||!1===o||r.$slider.trigger("breakpoint",[r,o])}},r.prototype.changeSlide=function(t,e){var i,n,s=this,r=d(t.currentTarget);switch(r.is("a")&&t.preventDefault(),r.is("li")||(r=r.closest("li")),i=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,t.data.message){case"previous":n=0==i?s.options.slidesToScroll:s.options.slidesToShow-i,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-n,!1,e);break;case"next":n=0==i?s.options.slidesToScroll:i,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+n,!1,e);break;case"index":t=0===t.data.index?0:t.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(t),!1,e),r.children().trigger("focus");break;default:return}},r.prototype.checkNavigable=function(t){var e=this.getNavigableIndexes(),i=0;if(t>e[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},r.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(d("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",d.proxy(t.
1interrupt,t,!0)).off("mouseleave.slick",d.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),d(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&d(t.$slideTrack).children().off("click.slick",t.selectHandler),d(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),d(window).off("resize.slick.slick-"+t.instanceUid,t.resize),d("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),d(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},r.prototype.cleanUpSlideEvents=function(){this.$list.off("mouseenter.slick",d.proxy(this.interrupt,this,!0)),this.$list.off("mouseleave.slick",d.proxy(this.interrupt,this,!1))},r.prototype.cleanUpRows=function(){var t;0<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},r.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},r.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),d(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){d(this).attr("style",d(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},r.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(t)).css(e)},r.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},r.prototype.fadeSlideOut=function(t){!1===this.cssTransitions?this.$slides.eq(t).animate({opacity:0,zIndex:this.options.zIndex-2},this.options.speed,this.options.easing):(this.applyTransition(t),this.$slides.eq(t).css({opacity:0,zIndex:this.options.zIndex-2}))},r.prototype.filterSlides=r.prototype.slickFilter=function(t){null!==t&&(this.$slidesCache=this.$slides,this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.filter(t).appendTo(this.$slideTrack),this.reinit())},r.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var e=d(this);setTimeout(function(){i.options.pauseOnFocus&&(i.focussed=e.is(":focus"),i.autoPlay())}
vendor: 6,143 bytes, line 1
1,0)})},r.prototype.getCurrent=r.prototype.slickCurrentSlide=function(){return this.currentSlide},r.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++n;else for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},r.prototype.getLeft=function(t){var e,i,n=this,s=0;return n.slideOffset=0,e=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,i=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?i=-1.5:1===n.options.slidesToShow&&(i=-2)),s=e*n.options.slidesToShow*i),n.slideCount%n.options.slidesToScroll!=0&&t+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(s=t>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(t-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(t-n.slideCount))*e*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*e*-1))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,s=(t+n.options.slidesToShow-n.slideCount)*e),n.slideCount<=n.options.slidesToShow&&(s=n.slideOffset=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?t*n.slideWidth*-1+n.slideOffset:t*e*-1+s,!0===n.options.variableWidth&&(s=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow),e=!0===n.options.rtl?s[0]?-1*(n.$slideTrack.width()-s[0].offsetLeft-s.width()):0:s[0]?-1*s[0].offsetLeft:0,!0===n.options.centerMode&&(s=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1),e=!0===n.options.rtl?s[0]?-1*(n.$slideTrack.width()-s[0].offsetLeft-s.width()):0:s[0]?-1*s[0].offsetLeft:0,e+=(n.$list.width()-s.outerWidth())/2)),e},r.prototype.getOption=r.prototype.slickGetOption=function(t){return this.options[t]},r.prototype.getNavigableIndexes=function(){for(var t=this,e=0,i=0,n=[],s=!1===t.options.infinite?t.slideCount:(e=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,2*t.slideCount);e<s;)n.push(e),e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return n},r.prototype.getSlick=function(){return this},r.prototype.getSlideCount=function(){var i,n=this,s=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0;return!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(t,e){if(e.offsetLeft-s+d(e).outerWidth()/2>-1*n.swipeLeft)return i=e,!1}),Math.abs(d(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},r.prototype.goTo=r.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},r.prototype.init=function(t){var e=this;d(e.$slider).hasClass("slick-initialized")||(d(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},r.prototype.initADA=function(){var i=this,n=Math.ceil(i.slideCount/i.options.slidesToShow),s=i.getNavigableIndexes().filter(function(t){return 0<=t&&t<i.slideCount});i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==i.$dots&&(i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function(t){var e=s.indexOf(t);d(this).attr({role:"tabpanel",id:"slick-slide"+i.instanceUid+t,tabindex:-1}),-1!==e&&(e="slick-slide-control"+i.instanceUid+e,d("#"+e).length&&d(this).attr({"aria-describedby":e}))}),i.$dots.attr("role","tablist").find("li").each(function(t){var e=s[t];d(this).attr({role:"presentation"}),d(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+i.instanceUid+t,"aria-controls":"slick-slide"+i.instanceUid+e,"aria-label":t+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(i.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var t=i.currentSlide,e=t+i.options.slidesToShow;t<e;t++)i.options.focusOnChange?i.$slides.eq(t).attr({tabindex:"0"}):i.$slides.eq(t).removeAttr("tabindex");i.activateADA()},r.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},r.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(d("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&d("li",t.$dots).on("mouseenter.slick",d.proxy(t.
1interrupt,t,!0)).on("mouseleave.slick",d.proxy(t.interrupt,t,!1))},r.prototype.initSlideEvents=function(){this.options.pauseOnHover&&(this.$list.on("mouseenter.slick",d.proxy(this.interrupt,this,!0)),this.$list.on("mouseleave.slick",d.proxy(this.interrupt,this,!1)))},r.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),d(document).on(t.visibilityChange,d.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&d(t.$slideTrack).children().on("click.slick",t.selectHandler),d(window).on("orientationchange.slick.slick-"+t.instanceUid,d.proxy(t.orientationChange,t)),d(window).on("resize.slick.slick-"+t.instanceUid,d.proxy(t.resize,t)),d("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),d(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),d(t.setPosition)},r.prototype.initUI=function(){!0===this.options.arrows&&this.slideCount>this.options.slidesToShow&&(this.$prevArrow.show(),this.$nextArrow.show()),!0===this.options.dots&&this.slideCount>this.options.slidesToShow&&this.$dots.show()},r.prototype.keyHandler=function(t){t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===this.options.accessibility?this.changeSlide({data:{message:!0===this.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===this.options.accessibility&&this.changeSlide({data:{message:!0===this.options.rtl?"previous":"next"}}))},r.prototype.lazyLoad=function(){var t,e,i,r=this;function n(t){d("img[data-lazy]",t).each(function(){var t=d(this),e=d(this).attr("data-lazy"),i=d(this).attr("data-srcset"),n=d(this).attr("data-sizes")||r.$slider.attr("data-sizes"),s=document.createElement("img");s.onload=function(){t.animate({opacity:0}
vendor: 18,177 bytes, line 1
1,100,function(){i&&(t.attr("srcset",i),n&&t.attr("sizes",n)),t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,e])})},s.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,e])},s.src=e})}if(!0===r.options.centerMode?i=!0===r.options.infinite?(e=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(e=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),r.options.slidesToShow/2+1+2+r.currentSlide):(e=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,i=Math.ceil(e+r.options.slidesToShow),!0===r.options.fade&&(0<e&&e--,i<=r.slideCount&&i++)),t=r.$slider.find(".slick-slide").slice(e,i),"anticipated"===r.options.lazyLoad)for(var s=e-1,o=i,a=r.$slider.find(".slick-slide"),l=0;l<r.options.slidesToScroll;l++)s<0&&(s=r.slideCount-1),t=(t=t.add(a.eq(s))).add(a.eq(o)),s--,o++;n(t),r.slideCount<=r.options.slidesToShow?n(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?n(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&n(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},r.prototype.loadSlider=function(){this.setPosition(),this.$slideTrack.css({opacity:1}),this.$slider.removeClass("slick-loading"),this.initUI(),"progressive"===this.options.lazyLoad&&this.progressiveLazyLoad()},r.prototype.next=r.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},r.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},r.prototype.pause=r.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},r.prototype.play=r.prototype.slickPlay=function(){this.autoPlay(),this.options.autoplay=!0,this.paused=!1,this.focussed=!1,this.interrupted=!1},r.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.slideCount>e.options.slidesToShow&&e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&(e.initADA(),e.options.focusOnChange&&d(e.$slides.get(e.currentSlide)).attr("tabindex",0).focus()))},r.prototype.prev=r.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},r.prototype.preventDefault=function(t){t.preventDefault()},r.prototype.progressiveLazyLoad=function(t){t=t||1;var e,i,n,s,r=this,o=d("img[data-lazy]",r.$slider);o.length?(e=o.first(),i=e.attr("data-lazy"),n=e.attr("data-srcset"),s=e.attr("data-sizes")||r.$slider.attr("data-sizes"),(o=document.createElement("img")).onload=function(){n&&(e.attr("srcset",n),s&&e.attr("sizes",s)),e.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===r.options.adaptiveHeight&&r.setPosition(),r.$slider.trigger("lazyLoaded",[r,e,i]),r.progressiveLazyLoad()},o.onerror=function(){t<3?setTimeout(function(){r.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,i]),r.progressiveLazyLoad())},o.src=i):r.$slider.trigger("allImagesLoaded",[r])},r.prototype.refresh=function(t){var e=this,i=e.slideCount-e.options.slidesToShow;!e.options.infinite&&e.currentSlide>i&&(e.currentSlide=i),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),i=e.currentSlide,e.destroy(!0),d.extend(e,e.initials,{currentSlide:i}),e.init(),t||e.changeSlide({data:{message:"index",index:i}},!1)},r.prototype.registerBreakpoints=function(){var t,e,i,n=this,s=n.options.responsive||null;if("array"===d.type(s)&&s.length){for(t in n.respondTo=n.options.respondTo||"window",s)if(i=n.breakpoints.length-1,s.hasOwnProperty(t)){for(e=s[t].breakpoint;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===e&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(e),n.breakpointSettings[e]=s[t].settings}n.breakpoints.sort(function(t,e){return n.options.mobileFirst?t-e:e-t})}},r.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&d(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},r.prototype.resize=function(){var t=this;d(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=d(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},r.prototype.removeSlide=r.prototype.slickRemove=function(t,e,i){var n=this;if(t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,n.slideCount<1||t<0||t>n.slideCount-1)return!1;n.unload(),(!0===i?n.$slideTrack.children():n.$slideTrack.children(this.options.slide).eq(t)).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},r.prototype.setCSS=function(t){var e,i,n=this,s={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",s[n.positionProp]=t,!1===n.transformsEnabled||(!(s={})===n.cssTransitions?s[n.animType]="translate("+e+", "+i+")":s[n.animType]="translate3d("+e+", "+i+", 0px)"),n.$slideTrack.css(s)},r.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},r.prototype.setFade=function(){var i,n=this;n.$slides.each(function(t,e){i=n.slideWidth*t*-1,!0===n.options.rtl?d(e).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}):d(e).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},r.prototype.setHeight=function(){var t;1===this.options.slidesToShow&&!0===this.options.adaptiveHeight&&!1===this.options.vertical&&(t=this.$slides.eq(this.currentSlide).outerHeight(!0),this.$list.css("height",t))},r.prototype.setOption=r.prototype.slickSetOption=function(){var t,e,i,n,s,r=this,o=!1;if("object"===d.type(arguments[0])?(i=arguments[0],o=arguments[1],s="multiple"):"string"===d.type(arguments[0])&&(n=arguments[1],o=arguments[2],"responsive"===(i=arguments[0])&&"array"===d.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)r.options[i]=n;else if("multiple"===s)d.each(i,function(t,e){r.options[t]=e});else if("responsive"===s)for(e in n)if("array"!==d.type(r.options.responsive))r.options.responsive=[n[e]];else{for(t=r.options.responsive.length-1;0<=t;)r.options.responsive[t].breakpoint===n[e].breakpoint&&r.options.responsive.splice(t,1),t--;r.options.responsive.push(n[e])}o&&(r.unload(),r.reinit())},r.prototype.setPosition=function(){this.setDimensions(),this.setHeight(),!1===this.options.fade?this.setCSS(this.getLeft(this.currentSlide)):this.setFade(),this.$slider.trigger("setPosition",[this])},r.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},r.prototype.setSlideClasses=function(t){var e,i,n,s=this,r=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");s.$slides.eq(t).addClass("slick-current"),!0===s.options.centerMode?(i=s.options.slidesToShow%2==0?1:0,n=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(n<=t&&t<=s.slideCount-1-n?s.$slides.slice(t-n+i,t+n+1).addClass("slick-active").attr("aria-hidden","false"):(e=s.options.slidesToShow+t,r.slice(e-n+1+i,e+n+2).addClass("slick-active").attr("aria-hidden","false")),0===t?r.eq(r.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&r.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")):0<=t&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):r.length<=s.options.slidesToShow?r.addClass("slick-active").attr("aria-hidden","false"):(n=s.slideCount%s.options.slidesToShow,e=!0===s.options.infinite?s.options.slidesToShow+t:t,(s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?r.slice(e-(s.options.slidesToShow-n),e+n):r.slice(e,e+s.options.slidesToShow)).addClass("slick-active").attr("aria-hidden","false")),"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},r.prototype.setupInfinite=function(){var t,e,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(e=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,t=n.slideCount;t>n.slideCount-i;--t)e=t-1,d(n.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(t=0;t<i+n.slideCount;t+=1)e=t,d(n.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){d(this).attr("id","")})}},r.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},r.prototype.selectHandler=function(t){t=d(t.target).is(".slick-slide")?d(t.target):d(t.target).parents(".slick-slide"),t=(t=parseInt(t.attr("data-slick-index")))||0;this.slideCount<=this.options.slidesToShow?this.slideHandler(t,!1,!0):this.slideHandler(t)},r.prototype.slideHandler=function(t,e,i){var n,s,r,o,a=this;if(e=e||!1,!(!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===t))if(!1===e&&a.asNavFor(t),n=t,r=a.getLeft(n),e=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?e:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(t<0||t>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(n=a.currentSlide,!0!==i&&a.slideCount>a.options.slidesToShow?a.animateSlide(e,function(){a.postSlide(n)}):a.postSlide(n));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(t<0||t>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(n=a.currentSlide,!0!==i&&a.slideCount>a.options.slidesToShow?a.animateSlide(e,function(){a.postSlide(n)}):a.postSlide(n));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=n<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+n:n>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:n-a.slideCount:n,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),e=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(o=(o=a.getNavTarget()).slick("getSlick")).slideCount<=o.options.slidesToShow&&o.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==i?(a.fadeSlideOut(e),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();!0!==i&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,function(){a.postSlide(s)}):a.postSlide(s)}},r.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},r.prototype.swipeDirection=function(){var t=this.touchObject.startX-this.touchObject.curX,e=this.touchObject.startY-this.touchObject.curY,t=Math.atan2(e,t),t=Math.round(180*t/Math.PI);return t<0&&(t=360-Math.abs(t)),t<=45&&0<=t||t<=360&&315<=t?!1===this.options.rtl?"left":"right":135<=t&&t<=225?!1===this.options.rtl?"right":"left":!0===this.options.verticalSwiping?35<=t&&t<=135?"down":"up":"vertical"},r.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1;if(n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},r.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},r.prototype.swipeMove=function(t){var e,i,n=this,s=void 0!==t.originalEvent?t.originalEvent.touches:null;return!(!n.dragging||n.scrolling||s&&1!==s.length)&&(e=n.getLeft(n.currentSlide),n.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,n.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curX-n.touchObject.startX,2))),i=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2))),!n.options.verticalSwiping&&!n.swiping&&4<i?!(n.scrolling=!0):(!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=i),s=n.swipeDirection(),void 0!==t.originalEvent&&4<n.touchObject.swipeLength&&(n.swiping=!0,t.preventDefault()),i=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(i=n.touchObject.curY>n.touchObject.startY?1:-1),t=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===s||n.currentSlide>=n.getDotCount()&&"left"===s)&&(t=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=e+t*i:n.swipeLeft=e+t*(n.$list.height()/n.listWidth)*i,!0===n.options.verticalSwiping&&(n.swipeLeft=e+t*i),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))))},r.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return!(i.touchObject={});void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},r.prototype.unfilterSlides=r.prototype.slickUnfilter=function(){null!==this.$slidesCache&&(this.unload(),this.$slideTrack.children(this.options.slide).detach(),this.$slidesCache.appendTo(this.$slideTrack),this.reinit())},r.prototype.unload=function(){var t=this;d(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
1,r.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},r.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2);!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},r.prototype.updateDots=function(){null!==this.$dots&&(this.$dots.find("li").removeClass("slick-active").end(),this.$dots.find("li").eq(Math.floor(this.currentSlide/this.options.slidesToScroll)).addClass("slick-active"))},r.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},d.fn.slick=function(){for(var t,e=arguments[0],i=Array.prototype.slice.call(arguments,1),n=this.length,s=0;s<n;s++)if("object"==typeof e||void 0===e?this[s].slick=new r(this[s],e):t=this[s].slick[e].apply(this[s].slick,i),void 0!==t)return t;return this}}),function(){for(var t="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,i){if(i.get||i.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=i.value)},e=("undefined"==typeof window||window!==this)&&"undefined"!=typeof global&&null!=global?global:this,i=["String","prototype","repeat"],n=0;n<i.length-1;n++){var s=i[n];s in e||(e[s]={}),e=e[s]}var r=i[i.length-1],o=e[r],a=o||function(t){var e;if(null==this)throw new TypeError("The 'this' value for String.prototype.repeat must not be null or undefined");if(e=this+"",t<0||1342177279<t)throw new RangeError("Invalid count value");t|=0;for(var i="";t;)1&t&&(i+=e),(t>>>=1)&&(e+=e);return i};a!=o&&null!=a&&t(e,r,{configurable:!0,writable:!0,value:a});var l=this;function d(t){return"string"==typeof t}function c(t,e){var i,n=t.split("."),s=l;n[0]in s||!s.execScript||s.execScript("var "+n[0]);for(;n.length&&(i=n.shift());)n.length||void 0===e?s=s[i]?s[i]:s[i]={}:s[i]=e}function u(t,r){function e(){}e.prototype=r.prototype,t.aa=r.prototype,t.prototype=new e,(t.prototype.constructor=t).$=function(t,e,i){for(var n=Array(arguments.length-2),s=2;s<arguments.length;s++)n[s-2]=arguments[s];return r.prototype[e].apply(t,n)}}var h=Array.prototype.indexOf?function(t,e,i){return Array.prototype.indexOf.call(t,e,i)}:function(t,e,i){if(i=null==i?0:i<0?Math.max(0,t.length+i):i,d(t))return d(e)&&1==e.length?t.indexOf(e,i):-1;for(;i<t.length;i++)if(i in t&&t[i]===e)return i;return-1};function p(t,e){t.sort(e||f)}function f(t,e){return e<t?1:t<e?-1:0}function m(t,e){switch(this.a=t,this.h=!!e.i,this.c=e.b,this.m=e.type,this.l=!1,this.c){case y:case _:case b:case w:case T:case v:case g:this.l=!0}this.g=e.defaultValue}var g=1,v=2,y=3,_=4,b=6,w=16,T=18;function C(t,e){this.c=t,this.a={};for(var i=0;i<e.length;i++){var n=e[i];this.a[n.a]=n}}function S(t){return p(t=function(t){var e,i=[],n=0;for(e in t)i[n++]=t[e];return i}(t.a),function(t,e){return t.a-e.a}),t}function x(){this.a={},this.g=this.f().a,this.c=this.h=null}function k(t,e){var i=t.a[e];if(null==i)return null;if(t.h){if(e in t.c)return t.c[e];var n=t.h,s=t.g[e];if(null!=i)if(s.h){for(var r=[],o=0;o<i.length;o++)r[o]=n.a(s,i[o]);i=r}else i=n.a(s,i);return t.c[e]=i}return i}function $(t,e,i){var n=k(t,e);return t.g[e].h?n[i||0]:n}function E(t,e){var i;if(null!=t.a[e])i=$(t,e,void 0);else t:{if(void 0===(i=t.g[e]).g){var n=i.m;if(n===Boolean)i.g=!1;else if(n===Number)i.g=0;else{if(n!==String){i=new n;break t}i.g=i.l?"0":""}}i=i.g}return i}function D(t,e){return k(t,e)||[]}function I(t,e){return t.g[e].h?null!=t.a[e]?t.a[e].length:0:null!=t.a[e]?1:0}function A(t,e,i){t.a[e]=i,t.c&&(t.c[e]=i)}function P(t,e){var i,n=[];for(i in e)0!=i&&n.push(new m(i,e[i]));return new C(t,n)}function M(){}x.prototype.has=function(t){return null!=this.a[t.a]},x.prototype.get=function(t,e){return $(this,t.a,e)},x.prototype.set=function(t,e){A(this,t.a,e)},x.prototype.clone=function(){var t=new this.constructor;return t!=this&&(t.a={},t.c&&(t.c={}),function t(e,i){for(var n=S(e.f()),s=0;s<n.length;s++){var r=(a=n[s]).a;if(null!=i.a[r]){e.c&&delete e.c[a.a];var o=11==a.c||10==a.c;if(a.h)for(var a=D(i,r),l=0;l<a.length;l++){var d=e,c=r,u=o?a[l].clone():a[l];d.a[c]||(d.a[c]=[]),d.a[c].push(u),d.c&&delete d.c[c]}else a=k(i,r),o?(o=k(e,r))?t(o,a):A(e,r,a.clone()):A(e,r,a)}}}(t,this)),t},M.prototype.c=function(t){throw new t.c,Error("Unimplemented")},M.prototype.a=function(t,e){if(11==t.c||10==t.c)return e instanceof x?e:this.c(t.m.prototype.f(),e);if(14==t.c){if(d(e)&&O.test(e)){var i=Number(e);if(0<i)return i}return e}if(!t.l)return e;if((i=t.m)===String){if("number"==typeof e)return String(e)}else if(i===Number&&d(e)&&("Infinity"===e||"-Infinity"===e||"NaN"===e||O.test(e)))return Number(e);return e};var O=/^-?[0-9]+$/;function L(){}function N(){}function R(t,e){null!=t&&this.a.apply(this,arguments)}function F(){x.call(this)}u(L,M),L.prototype.c=function(t,e){t=new t.c;return t.h=this,t.a=e,t.c={},t},u(N,L),N.prototype.a=function(t,e){return 8==t.c?!!e:M.prototype.a.apply(this,arguments)},R.prototype.c="",R.prototype.set=function(t){this.c=""+t}
vendor: 6,555 bytes, line 1
1,R.prototype.a=function(t,e,i){if(this.c+=String(t),null!=e)for(var n=1;n<arguments.length;n++)this.c+=arguments[n];return this},R.prototype.toString=function(){return this.c},u(F,x);var j=null;function B(){x.call(this)}u(B,x);var H=null;function U(){x.call(this)}u(U,x);var z=null;function q(){x.call(this)}F.f=F.prototype.f=function(){var t=j;return t||(j=t=P(F,{0:{name:"NumberFormat",j:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,b:9,type:String},2:{name:"format",required:!0,b:9,type:String},3:{name:"leading_digits_pattern",i:!0,b:9,type:String},4:{name:"national_prefix_formatting_rule",b:9,type:String},6:{name:"national_prefix_optional_when_formatting",b:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",b:9,type:String}})),t},B.f=B.prototype.f=function(){var t=H;return t||(H=t=P(B,{0:{name:"PhoneNumberDesc",j:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",b:9,type:String},9:{name:"possible_length",i:!0,b:5,type:Number},10:{name:"possible_length_local_only",i:!0,b:5,type:Number},6:{name:"example_number",b:9,type:String}})),t},U.f=U.prototype.f=function(){var t=z;return t||(z=t=P(U,{0:{name:"PhoneMetadata",j:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",b:11,type:B},2:{name:"fixed_line",b:11,type:B},3:{name:"mobile",b:11,type:B},4:{name:"toll_free",b:11,type:B},5:{name:"premium_rate",b:11,type:B},6:{name:"shared_cost",b:11,type:B},7:{name:"personal_number",b:11,type:B},8:{name:"voip",b:11,type:B},21:{name:"pager",b:11,type:B},25:{name:"uan",b:11,type:B},27:{name:"emergency",b:11,type:B},28:{name:"voicemail",b:11,type:B},29:{name:"short_code",b:11,type:B},30:{name:"standard_rate",b:11,type:B},31:{name:"carrier_specific",b:11,type:B},33:{name:"sms_services",b:11,type:B},24:{name:"no_international_dialling",b:11,type:B},9:{name:"id",required:!0,b:9,type:String},10:{name:"country_code",b:5,type:Number},11:{name:"international_prefix",b:9,type:String},17:{name:"preferred_international_prefix",b:9,type:String},12:{name:"national_prefix",b:9,type:String},13:{name:"preferred_extn_prefix",b:9,type:String},15:{name:"national_prefix_for_parsing",b:9,type:String},16:{name:"national_prefix_transform_rule",b:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",b:8,defaultValue:!1,type:Boolean},19:{name:"number_format",i:!0,b:11,type:F},20:{name:"intl_number_format",i:!0,b:11,type:F},22:{name:"main_country_for_code",b:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",b:9,type:String},26:{name:"leading_zero_possible",b:8,defaultValue:!1,type:Boolean}})),t},u(q,x);var W=null,V={w:0,v:1,u:5,s:10,o:20};q.prototype.f=function(){var t=W;return t||(W=t=P(q,{0:{name:"PhoneNumber",j:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,b:5,type:Number},2:{name:"national_number",required:!0,b:4,type:Number},3:{name:"extension",b:9,type:String},4:{name:"italian_leading_zero",b:8,type:Boolean},8:{name:"number_of_leading_zeros",b:5,defaultValue:1,type:Number},5:{name:"raw_input",b:9,type:String},6:{name:"country_code_source",b:14,defaultValue:0,type:V},7:{name:"preferred_domestic_carrier_code",b:9,type:String}})),t},(q.ctor=q).f=q.prototype.f;var Y={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},G={AC:[,[,,"[46]\\d{4}|[01589]\\d{5}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[01589]\\d{5}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"[16]\\d{5,8}|[37-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"(?:3\\d|6(?:[0-8]|90\\d{2}))\\d{4}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[137-9]|6[0-8]"]],[,"(\\d{4})(\\d{4})","$1 $2",["180","180[02]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["690"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,"18000000",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"[2-79]\\d{7,8}|800\\d{2,9}
1",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"([2-4679])(\\d{3})(\\d{4})","$1 $2 $3",["[2-4679][2-8]"],"0$1"],[,"(5\\d)(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"([479]00)(\\d)(\\d{5})","$1 $2 $3",["[479]00"],"$1"],[,"([68]00)(\\d{2,9})","$1 $2",["[68]00"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7(?:[014-9]\\d|2[89]|30)\\d{6}",,,,"701234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"([2-7]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|2\\d|3[246]|64|7[0-689]|8[02-68]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"1",,,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"2644(?:6[12]|9[78])\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|476|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"[2-57]\\d{7}|6\\d{8}|8\\d{5,7}|9\\d{5}",,,,,,,[6,7,8,9],[5]],[,,"(?:[2358](?:[16-9]\\d[2-9]|[2-5][2-9]\\d)|4(?:[2-57-9][2-9]\\d|6\\d{2}))\\d{4}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[689][2-9]|7[2-6])\\d{6}",,,,"662123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d{2}",,,,"900123",,,[6]],[,,"808[1-9]\\d{2}",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(4)(\\d{3})(\\d{4})","$1 $2 $3",["4[0-6]"],"0$1"],[,"(6\\d)(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4[7-9]"],"0$1"],[,"(\\d{3})(\\d{3,5})","$1 $2",["[235][16-9]|[79]|8[016-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"[1-9]\\d{7}",,,,,,,[8],[5,6]],[,,"(?:1[0-2]\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2|47\\d)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:4[1349]|55|77|88|9[1-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[078]|[3-7]\\d|8[0-5])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["4[1349]|[5-7]|88|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23]"],"(0$1)"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8|90"],"0 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[26-9]\\d|\\d[26-9])\\d{5}",,,,"222123456"],[,,"9[1-49]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"11\\d{8}|[2368]\\d{9}|9\\d{10}",,,,,,,[10,11],[6,7,8]],[,,"11\\d{8}|(?:2(?:2(?:[013]\\d|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[067]\\d)|4(?:7[3-8]|9\\d)|6(?:[01346]\\d|2[24-6]|5[15-8])|80\\d|9(?:[0124789]\\d|3[1-6]|5[234]|6[2-46]))|3(?:3(?:2[79]|6\\d|8[2578])|4(?:[78]\\d|0[0124-9]|[1-35]\\d|4[24-7]|6[02-9]|9[123678])|5(?:[138]\\d|2[1245]|4[1-9]|6[2-4]|7[1-6])|6[24]\\d|7(?:[
10469]\\d|1[1568]|2[013-9]|3[145]|5[14-8]|7[2-57]|8[0-24-9])|8(?:[013578]\\d|2[15-7]|4[13-6]|6[1-357-9]|9[124]))|670\\d)\\d{6}",,,,"1123456789",,,[10],[6,7,8]],[,,"675\\d{7}|9(?:11[2-9]\\d{7}|(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578]))[2-9]\\d{6}|\\d{4}[2-9]\\d{5})",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))?15)?","9$1",,,[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{2})(\\d{4})","$1-$2",["[2-9]"],"$1"],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"],"$1"],[,"(\\d{4})(\\d{4})","$1-$2",["[2-9]"],"$1"],[,"(9)(11)(\\d{4})(\\d{4})","$2 15-$3-$4",["911"],"0$1"],[,"(9)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9(?:2[2-4689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|8|9[147-9])|3(?:36|4[1-358]|5[138]|6|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[4-6]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1-39])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"],"0$1"],[,"(9)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9[23]"],"0$1"],[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["11"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|8|9[147-9])|3(?:36|4[1-358]|5[138]|6|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[4-6]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1-39])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"],"0$1",,1],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d{3})","$1",["1[0-2]|911"],"$1"]],[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(9)(11)(\\d{4})(\\d{4})","$1 $2 $3-$4",["911"]],[,"(9)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-4689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|8|9[147-9])|3(?:36|4[1-358]|5[138]|6|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[4-6]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1-39])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"]],[,"(9)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9[23]"]],[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["11"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|8|9[147-9])|3(?:36|4[1-358]|5[138]|6|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[4-6]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1-39])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"],"0$1",,1],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,"8101234567",,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:5[2468]|72)|7(?:3[13]|70))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"[1-9]\\d{3,12}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1\\d{3,12}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-8]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|63|7[1368]|8[2457])|5(?:12|2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[1-35-8]|5[468]|62)|7(?:2[1-8]|3[25]|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{3,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"9(?:0[01]|3[019])\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10\\d|2(?:[01]\\d|8\\d?))\\d{5,9}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"780\\d{6,10}",,,,"780123456",,,[9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(116\\d{3})","$1",["116"],"$1"],[,"(1)(\\d{3,12})","$1 $2",["1"],"0$1"],[,"(5\\d)(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(5\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["5[079]"],"0$1"],[,"(5\\d)(\\d{4})(\\d{4,7})","$1 $2 $3",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:[28]0|32)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["2|3(?:1[1-578]|[3-8])|4[2378]|5[2-6]|6(?:[12]|4[1-9]|5[468])|7(?:[24][1-8]|35|[5-79])"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5(?:(?:0[1-9]|17)\\d{2,10}|[79]\\d{3,11})|720\\d{6,10}",,,,"50123",,,[5,6,7,8,9,10,11,12,13]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1\\d{4,9}|[2-578]\\d{8}",,,,,,,[5,6,7,8,9,10]],[,,"[237]\\d{8}|8(?:51(?:0(?:0[03-9]|[1247]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-6])|1(?:1[69]|[23]\\d|4[0-4]))|[6-8]\\d{4}|9(?:[02-9]\\d{3}|1(?:[0-57-9]\\d{2}|6[0135-9]\\d)))\\d{3}",,,,"212345678",,,[9],[8]],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[6-9]|7[02-9]|8[12457-9]|9[017-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"19(?:0[0126]\\d|[679])\\d{5}",,,,"1900123456",,,[8,10]],[,,"13(?:00\\d{3}|45[0-4]|\\d)\\d{3}",,,,"1300123456",,,[6,8,10]],[,,"500\\d{6}",,,,"500123456",,,[9]],[,,"550\\d{6}",,,,"550123456",,,[9]],"AU",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011)|001[14-689]","0",,,"0",,"0011",,[[,"([2378])(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|[45]"],"0$1"],[,"(16)(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(16)(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(1[389]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1[389]0","1(?:[38]0|9)0"]],[,"(180)(2\\d{3})","$1 $2",["180","1802"]],[,"(19\\d)(\\d{3})","$1 $2",["19[13]"]],[,"(19\\d{2})(\\d{4})","$1 $2",["19[679]"]],[,"(13)(\\d{2})(\\d{2})","$1 $2 $3",["13[1-9]"]]],,[,,"16\\d{3,7}",,,,"1612345",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{3}|45[0-4]|\\d)\\d{3}|80(?:0\\d{6}|2\\d{3}))",,,,"1300123456",,,[6,7,8,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"[25-9]\\d{6}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4
1-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"28\\d{5}|501\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"1\\d{5,11}|[35]\\d{5,9}|2\\d{4,9}|4\\d{5,10}|6\\d{7,9}|7\\d{4,9}|8\\d{6,9}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,9}",,,,"181234567",,,[6,7,8,9,10,11,12]],[,,"4\\d{5,10}|50\\d{4,8}",,,,"412345678",,,[6,7,8,9,10,11]],[,,"800\\d{4,7}",,,,"8001234567",,,[7,8,9,10]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[02469]|5(?:11|33|5[59]|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,,[,,"[13]00\\d{3,7}|2(?:0(?:0\\d{3,7}|2[023]\\d{1,6}|9[89]\\d{1,6}))|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{3,7})",,,,"1001234",,,[5,6,7,8,9,10]],[,,"[13]0\\d{4,8}|2(?:0(?:[016-8]\\d{3,7}|[2-59]\\d{2,7})|9\\d{4,8})|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{2,7})",,,,"10112345",,,[5,6,7,8,9,10]],,,[,,,,,,,,,[-1]]],AZ:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:1[28]\\d{3}|2(?:02|1[24]|2[2-4]|33|[45]2|6[23])\\d{2}|365(?:[0-46-9]\\d|5[0-35-9]))\\d{4}",,,,"123123456",,,,[7]],[,,"(?:36554|(?:4[04]|5[015]|60|7[07])\\d{3})\\d{4}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2(?:[0-36]|[45]2)|365"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"[3-9]\\d{7,8}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05679][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6(?:0(?:3\\d|40)|[1-356]\\d|44[0-6]|71[137])\\d{5}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-356]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6[047]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70(?:3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7(?:37|57)|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:2(?:[356]\\d|4[0-57-9]|8[0-79])|45\\d|69[5-7]|8(?:[2-5]\\d|83))\\d{4}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900\\d{7}|246976\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|44|67)|736)\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[2-79]\\d{5,9}|1\\d{9}|8[0-7]\\d{4,8}",,,,,,,[6,7,8,9,10]],[,,"2(?:[45]\\d{3}|7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|[139][1-6]|2[0157-9]|41|6[1-35]|7[1-5]|8[1-8]|90)|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0167]|7[15]|8[0146-9]))\\d{4}|3(?:12?[5-7]\\d{2}|0(?:2(?:[025-79]\\d|[348]\\d{1,2})|3(?:[2-4]\\d|[56]\\d?))|2(?:1\\d{2}|2(?:[12]\\d|[35]\\d{1,2}|4\\d?))|3(?:1\\d{2}|2(?:[2356]\\d|4\\d{1,2}))|4(?:1\\d{2}|2(?:2\\d{1,2}|[47]|5\\d{2}))|5(?:1\\d{2}|29)|[67]1\\d{2}|8(?:1\\d{2}|2(?:2\\d{2}|3|4\\d)))\\d{3}|4(?:0(?:2(?:[09]\\d|7)|33\\d{2})|1\\d{3}|2(?:1\\d{2}|2(?:[25]\\d?|[348]\\d|[67]\\d{1,2}))|3(?:1\\d{2}(?:\\d{2})?|2(?:[045]\\d|[236-9]\\d{1,2})|32\\d{2})|4(?:[18]\\d{2}|2(?:[2-46]\\d{2}|3)|5[25]\\d{2})|5(?:1\\d{2}|2(?:3\\d|5))|6(?:[18]\\d{2}|2(?:3(?:\\d{2})?|[46]\\d{1,2}|5\\d{2}|7\\d)|5(?:3\\d?|4\\d|[57]\\d{1,2}|6\\d{2}|8))|71\\d{2}|8(?:[18]\\d{2}|23\\d{2}|54\\d{2})|9(?:[18]\\d{2}|2[2-5]\\d{2}|53\\d{1,2}))\\d{3}|5(?:02[03489]\\d{2}|1\\d{2}|2(?:1\\d{2}|2(?:2(?:\\d{2})?|[457]\\d{2}))|3(?:1\\d{2}|2(?:[37](?:\\d{2})?|[569]\\d{2}))|4(?:1\\d{2}|2[46]\\d{2})|5(?:1\\d{2}|26\\d{1,2})|6(?:[18]\\d{2}|2|53\\d{2})|7(?:1|24)\\d{2}|8(?:1|26)\\d{2}|91\\d{2})\\d{3}|6(?:0(?:1\\d{2}|2(?:3\\d{2}|4\\d{1,2}))|2(?:2[2-5]\\d{2}|5(?:[3-5]\\d{2}|7)|8\\d{2})|3(?:1|2[3478])\\d{2}|4(?:1|2[34])\\d{2}|5(?:1|2[47])\\d{2}|6(?:[18]\\d{2}|6(?:2(?:2\\d|[34]\\d{2})|5(?:[24]\\d{2}|3\\d|5\\d{1,2})))|72[2-5]\\d{2}|8(?:1\\d{2}|2[2-5]\\d{2})|9(?:1\\d{2}|2[2-6]\\d{2}))\\d{3}|7(?:(?:02|[3-589]1|6[12]|72[24])\\d{2}|21\\d{3}|32)\\d{3}|8(?:(?:4[12]|[5-7]2|1\\d?)|(?:0|3[12]|[5-7]1|217)\\d)\\d{4}|9(?:[35]1|(?:[024]2|81)\\d|(?:1|[24]1)\\d{2})\\d{3}",,,,"27111234",,,[6,7,8,9]],[,,"(?:1[13-9]\\d|(?:3[78]|44)[02-9]|6(?:44|6[02-9]))\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-4]|3[389]|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(2)(\\d{7,8})","$1-$2",["2"],"0$1"],[,"(\\d{2})(\\d{4,6})","$1-$2",["[3-79]1"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["1|3(?:0|[2-58]2)|4(?:0|[25]2|3[23]|[4689][25])|5(?:[02-578]2|6[25])|6(?:[0347-9]2|[26][25])|7[02-9]2|8(?:[023][23]|[4-7]2)|9(?:[02][23]|[458]2|6[01367])"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["[3-79][2-9]|8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"[1-9]\\d{7,8}",,,,,,,[8,9]],[,,"(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}|80[2-8]\\d{5}",,,,"12345678",,,[8]],[,,"4(?:56|6[0135-8]|[79]\\d|8[3-9])\\d{6}",,,,"470123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"(?:70[2-467]|90[0-79])\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4[5-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|4[23]|9[2-4]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[156]|7[018]|8(?:0[1-9]|[1-79])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78\\d{6}",,,,"78123456",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[25-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[56]|9[016-9])|4(?:4[569]|5[4-6]|6[56]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:5[15-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"[23567]\\d{5,7}|[489]\\d{6,8}",,,,,,,[6,7,8,9],[4,5]],[,,"2\\d{5,7}|(?:[36]\\d|5[1-9]|8[1-6]|9[1-7])\\d{5,6}
1|(?:4(?:[124-7]\\d|3[1-6])|7(?:0[1-9]|[1-9]\\d))\\d{4,5}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:8[7-9]\\d|9(?:8\\d|9[69]))\\d{6}|4(?:3[0789]|8\\d)\\d{5}",,,,"48123456",,,[8,9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(2)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(2)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[124-7]|70[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[124-7]|70[1-9]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[78]00"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["99[69]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["48|8[7-9]|9[08]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9])|9[69][69])|7(?:1(?:11|78)|7\\d{2}))\\d{4}",,,,"17001234"],[,,"(?:3(?:[1-4679]\\d|5[013-69]|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:[69]\\d|3[03-9]|7[0-6])))\\d{4}",,,,"36001234"],[,,"80\\d{6}",,,,"80123456"],[,,"(?:87|9[014578])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"[267]\\d{7}",,,,,,,[8]],[,,"22\\d{6}",,,,"22201234"],[,,"(?:29|6[189]|7[124-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[2689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68])\\d{5}",,,,"20211234"],[,,"(?:6\\d|9[03-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"590(?:2[7-9]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d{2}|1(?:2[29]|3[0-5]))\\d{4}",,,,"690001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"[4589]\\d{9}",,,,,,,[10],[7]],[,,"441(?:2(?:02|23|61|[3479]\\d)|[46]\\d{2}|5(?:4\\d|60|89)|824)\\d{4}",,,,"4412345678",,,,[7]],[,,"441(?:[37]\\d|5[0-39])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"2(?:[013-9]\\d|2[0-7])\\d{4}|[3-5]\\d{6}",,,,"2345678"],[,,"22[89]\\d{4}|[78]\\d{6}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BN",673,"00",,,,,,,,[[,"([2-578]\\d{2})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"[23467]\\d{7}|8\\d{8}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d{2}|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d{2}|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:2\\d|3[234]|4[248]|5[24]|6[2-6]|7\\d))|4(?:4\\d{2}|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"80017\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(1\\d)?","0",,,"0(1\\d)?",,,,[[,"([234])(\\d{7})","$1 $2",["[2-4]"],,"0$CC $1"],[,"([67]\\d{7})","$1",["[67]"],,"0$CC $1"],[,"(800)(\\d{2})(\\d{4})","$1 $2 $3",["800"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"[347]\\d{6}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[145-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"[1-46-9]\\d{7,10}|5(?:[0-4]\\d{7,9}|5(?:[2-8]\\d{7}|9\\d{7,8}))",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[189][1-9]|2[12478])(?:7|9\\d)\\d{7}|(?:3[1-578]|[46][1-9]|5[13-5]|7[13-579])(?:[6-8]|9\\d?)\\d{7}",,,,"11961234567",,,[10,11],[8]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"(?:300|[59]00\\d?)\\d{6}",,,,"300123456",,,[9,10]],[,,"(?:300\\d(?:\\d{2})?|40(?:0\\d|20))\\d{4}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{4})(\\d{4})","$1-$2",["300|40[02]","300|40(?:0|20)"]],[,"([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"],[,"(\\d{3,5})","$1",["1[125689]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-9](?:0[1-9]|[1-9])"]],[,"(\\d{5})(\\d{4})","$1-$2",["9(?:0[1-9]|[1-9])"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[1-9][1-9]9"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|40[02]","300|40(?:0|20)"]],[,"([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[1-9][1-9]9"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"(?:300\\d|40(?:0\\d|20))\\d{4}",,,,"40041234",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-4]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011?","1",,,"1",,"011",,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225[0-46-9]\\d{3}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[1-8]\\d{6,7}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1|77"]],[,"([2-8])(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"[2-79]\\d{6,7}",,,,,,,[7,8]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[01])|4(?:6[03]|7[1267]|9[0-5])|5(?:3[0389]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"7(?:[1-6]\\d|7[014-8])\\d{5}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79[12][01]\\d{4}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-6]"]],[,"(7\\d)(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(90)(\\d{5})","$1 $2",["90"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"[1-4]\\d{8}|8(?:0(?:0\\d{3,7}|[13]\\d{7})|(?:10|20\\d)\\d{7})|9\\d{9,10}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d{2})|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5679]|9[1-9])|33\\d|44\\d)\\d{6}",,,,"294911911",,,[9]],[,,"8(?:0[13]|20\\d)\\d{7}|800\\d{3,7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"8?0?",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["17[0-3589]|2[4-9]|[34]","17(?:[02358]|1[0-2]|9[0189])|2[4-9]|[34]"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:5[24]|6[235]|7[467])|2(?:1[246]|2[25]|3[26])","1(?:5[24]|6(?:2|3[04-9]|5[0346-9])|7(?:[46]|7[37-9]))|2(?:1[246]|2[25]|3[26])"],"8 0$1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"([89]\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8[01]|9"],"8 $1"],[,"(82\\d)(\\d{4})(\\d{4})","$1 $2 $3",["82"],"8 $1"],[,"(800)(\\d{3})","$1 $2",["800"],"8 $1"],[,"(800)(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"8(?:0[13]|10|20\\d)\\d{7}|800\\d{3,7}|902\\d{7}",,,,"82012345678"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"[2-8]\\d{6}|0\\d{10}
1",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36)|[3-58][02]\\d|7(?:[02]\\d|32))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(0)(800)(\\d{4})(\\d{3})","$1-$2-$3-$4",["080","0800"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:0[04]|13|22|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,,[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:0[04]|13|22|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"2042345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CC:[,[,,"[1458]\\d{5,9}",,,,,,,[6,7,8,9,10]],[,,"8(?:51(?:0(?:02|31|60)|118)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:08|22|68)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[6-9]|7[02-9]|8[12547-9]|9[017-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"19(?:0[0126]\\d|[679])\\d{5}",,,,"1900123456",,,[8,10]],[,,"13(?:00\\d{2})?\\d{4}",,,,"1300123456",,,[6,10]],[,,"500\\d{6}",,,,"500123456",,,[9]],[,,"550\\d{6}",,,,"550123456",,,[9]],"CC",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]","0",,,"0",,"0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[2-6]\\d{6}|[18]\\d{6,8}|9\\d{8}",,,,,,,[7,9]],[,,"1(?:2\\d{7}|\\d{6})|[2-6]\\d{6}",,,,"1234567"],[,,"8(?:[0-2459]\\d{2}|8)\\d{5}|9[017-9]\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["12"],"0$1"],[,"([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8[0-2459]|9"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"[278]\\d{7}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[0257]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"[028]\\d{8}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"0[14-6]\\d{7}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80(?:0\\d{2}|11[01])\\d{4}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["801"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["800"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"[2-9]\\d{8}|860\\d{9}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[5-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"([2-9]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]|[89]1"],"0$1"],[,"([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["860"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02-8]\\d{7}",,,,,,,[8]],[,,"(?:2(?:0[023]|1[02357]|[23][045]|4[03-5])|3(?:0[06]|1[069]|[2-4][07]|5[09]|6[08]))\\d{5}",,,,"21234567"],[,,"(?:0[1-9]|[45]\\d|6[014-9]|7[124-9]|8[4-9])\\d{6}",,,,"01234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-8]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[5-8]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"1230\\d{7}|[2-46-9]\\d{8,10}|5[1-3578]\\d{7}",,,,,,,[9,10,11]],[,,"2(?:1962\\d{4}|2\\d{7}|32[0-467]\\d{5})|(?:3[2-5]\\d|[47][1-35]\\d|5[1-3578]\\d|6[13-57]\\d|8(?:0[1-9]|[1-9]\\d)|9[3-9]\\d)\\d{6}",,,,"221234567",,,[9]],[,,"2(?:1962\\d{4}|2\\d{7}|32[0-467]\\d{5})|(?:3[2-5]\\d|[47][1-35]\\d|5[1-3578]\\d|6[13-57]\\d|8(?:0[1-9]|[1-9]\\d)|9[3-9]\\d)\\d{6}",,,,"961234567",,,[9]],[,,"800\\d{6}|1230\\d{7}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[23]"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[357]|4[1-35]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(9)(\\d{4})(\\d{4})","$1 $2 $3",["9"]],[,"(44)(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"([68]00)(\\d{3})(\\d{3,4})","$1 $2 $3",["[68]00"]],[,"(600)(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["600"]],[,"(1230)(\\d{3})(\\d{4})","$1 $2 $3",["123","1230"]],[,"(\\d{5})(\\d{4})","$1 $2",["219"],"($1)"],[,"(\\d{4,5})","$1",["[1-9]"],"$1"]],[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[23]"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[357]|4[1-35]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(9)(\\d{4})(\\d{4})","$1 $2 $3",["9"]],[,"(44)(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"([68]00)(\\d{3})(\\d{3,4})","$1 $2 $3",["[68]00"]],[,"(600)(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["600"]],[,"(1230)(\\d{3})(\\d{4})","$1 $2 $3",["123","1230"]],[,"(\\d{5})(\\d{4})","$1 $2",["219"],"($1)"]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[2368]\\d{7,8}",,,,,,,[8,9]],[,,"2(?:22|33|4[23])\\d{6}",,,,"222123456",,,[9]],[,,"6[5-9]\\d{7}",,,,"671234567",,,[9]],[,,"88\\d{6}",,,,"88012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"([26])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"[1-7]\\d{6,11}|8[0-357-9]\\d{6,9}|9\\d{7,10}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"21(?:100\\d{2}|95\\d{3,4}|\\d{8,10})|(?:10|2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98))(?:100\\d{2}|95\\d{3,4}|\\d{8})|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[3-9]|5[2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-4689]|6[2368]|9[02-9])|8(?:078|1[236-8]|2[5-7]|3\\d|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100\\d{2}|95\\d{3,4}|\\d{7})",,,,"1012345678",,,,[5,6]],[,,"1(?:[38]\\d{3}|4[57]\\d{2}|5[0-35-9]\\d{2}|66\\d{2}|7(?:[0-35-8]\\d{2}|40[0-5])|9[89]\\d{2})\\d{6}",,,,"13123456789",,,[11]],[,,"(?:10)?800\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"400\\d{7}|950\\d{7,8}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[4789]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[3678]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"(1(?:[12]\\d{3}|79\\d{2}|9[0-7]\\d{2}))?00","0",,,"(1(?:[12]\\d{3}|79\\d{2}|9[0-7]\\d{2}))|0",,"00",,[[,"([48]00)(\\d{3})(\\d{4})","$1 $2 $3",["[48]00"]],[,"(\\d{5,6})","$1",["100|95"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2\\d)[19]","(?:10|2\\d)(?:10|9[56])","(?:10|2\\d)(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[3-9]","[3-9]\\d\\d[19]","[3-9]\\d\\d(?:10|9[56])"],"0$1","$CC $1"],[,"(\\d{3,4})(\\d{4})","$1 $2",["[2-9]"]],[,"(21)(\\d{4})(\\d{4,6})","$1 $2 $3",["21"],"0$1","$CC $1",1],[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:0[1-9]|[1-9]))|2[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4}
1)","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[47-9]|7|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[457]|6[09])|8(?:[57]1|98)"],"0$1","$CC $1",1],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["807","8078"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1(?:[3-57-9]|66)"],,"$CC $1"],[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]],[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]]],[[,"([48]00)(\\d{3})(\\d{4})","$1 $2 $3",["[48]00"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2\\d)[19]","(?:10|2\\d)(?:10|9[56])","(?:10|2\\d)(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[3-9]","[3-9]\\d\\d[19]","[3-9]\\d\\d(?:10|9[56])"],"0$1","$CC $1"],[,"(21)(\\d{4})(\\d{4,6})","$1 $2 $3",["21"],"0$1","$CC $1",1],[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:0[1-9]|[1-9]))|2[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[47-9]|7|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[457]|6[09])|8(?:[57]1|98)"],"0$1","$CC $1",1],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["807","8078"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1(?:[3-57-9]|66)"],,"$CC $1"],[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]],[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]]],[,,,,,,,,,[-1]],,,[,,"(?:4|(?:10)?8)00\\d{7}|950\\d{7,8}",,,,"4001234567",,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:[13]\\d{0,3}|[24-8])\\d{7}",,,,,,,[8,10,11],[7]],[,,"[124-8][2-9]\\d{6}",,,,"12345678",,,[8],[7]],[,,"3(?:0[0-5]|1\\d|2[0-3]|5[01])\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:44|56))?",,,,[[,"(\\d)(\\d{7})","$1 $2",["1(?:[2-7]|8[2-9]|9[0-3])|[24-8]","1(?:[2-7]|8[2-9]|9(?:09|[1-3]))|[24-8]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],,"0$CC $1"],[,"(1)(\\d{3})(\\d{7})","$1-$2-$3",["1(?:80|9[04])","1(?:800|9(?:0[01]|4[78]))"],"0$1"]],[[,"(\\d)(\\d{7})","$1 $2",["1(?:[2-7]|8[2-9]|9[0-3])|[24-8]","1(?:[2-7]|8[2-9]|9(?:09|[1-3]))|[24-8]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],,"0$CC $1"],[,"(1)(\\d{3})(\\d{7})","$1 $2 $3",["1(?:80|9[04])","1(?:800|9(?:0[01]|4[78]))"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"[24-9]\\d{7,9}",,,,,,,[8,10]],[,,"2(?:[024-7]\\d{2}|1(?:0[7-9]|[1-9]\\d))\\d{4}",,,,"22123456",,,[8]],[,,"5(?:0[01]|7[0-3])\\d{5}|6(?:[0-4]\\d{3}|500[01])\\d{3}|(?:7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"210[0-6]\\d{4}|4\\d{7}|5100\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[012468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[24-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]0"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[2-57]\\d{5,7}",,,,,,,[6,7,8],[4,5]],[,,"2[1-4]\\d{5,6}|3(?:1\\d{6}|[23]\\d{4,6})|4(?:[125]\\d{5,6}|[36]\\d{6}|[78]\\d{4,6})|7\\d{6,7}",,,,"71234567",,,,[4,5]],[,,"5\\d{7}",,,,"51234567",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d{2})(\\d{4,6})","$1 $2",["[2-4]"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"[2-59]\\d{6}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:[34][36]|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"[134679]\\d{6,7}",,,,,,,[7,8]],[,,"9(?:[48]\\d{2}|50\\d|7(?:2[0-24]|[34]\\d|6[35-7]|77|8[7-9]))\\d{4}",,,,"94151234",,,[8]],[,,"9(?:5(?:[12467]\\d|3[01])|6(?:[15-9]\\d|3[01]))\\d{4}",,,,"95181234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[13-7]"]],[,"(9)(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"[1458]\\d{5,9}",,,,,,,[6,7,8,9,10]],[,,"8(?:51(?:0(?:01|30|59)|117)|91(?:00[6-9]|1(?:21|49|78|81)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[6-9]|7[02-9]|8[12547-9]|9[017-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"19(?:0[0126]\\d|[679])\\d{5}",,,,"1900123456",,,[8,10]],[,,"13(?:00\\d{2})?\\d{4}",,,,"1300123456",,,[6,8,10]],[,,"500\\d{6}",,,,"500123456",,,[9]],[,,"550\\d{6}",,,,"550123456",,,[9]],"CX",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]","0",,,"0",,"0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"[257-9]\\d{7}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9[4-79]\\d{6}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"[2-8]\\d{8}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"2\\d{8}|(?:3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"([2-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(96\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["96"]],[,"(9\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9[36]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[234])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[1-35-9]\\d{3,14}|4(?:[0-8]\\d{3,12}|9(?:[0-37]\\d|4(?:[1-35-8]|4\\d?)|5\\d{1,2}|6[1-8]\\d?)\\d{2,8})",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[3]],[,,"2\\d{5,13}|3(?:0\\d{3,13}|2\\d{9}|[3-9]\\d{4,13})|4(?:0\\d{3,12}|[1-8]\\d{4,12}|9(?:[0-37]\\d|4(?:[1-35-8]|4\\d?)|5\\d{1,2}|6[1-8]\\d?)\\d{2,8})|5(?:0[2-8]|[1256]\\d|[38][0-8]|4\\d{0,2}|[79][0-7])\\d{3,11}|6(?:\\d{5,13}|9\\d{3,12})|7(?:0[2-8]|[1-9]\\d)\\d{3,10}|8(?:0[2-9]|[1-8]\\d|9\\d?)\\d{3,10}|9(?:0[6-9]\\d{3,10}|1\\d{4,12}|[2-9]\\d{4,11})",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[3,4]],[,,"1(?:5[0-25-9]\\d{8}|6[023]\\d{7,8}|7\\d{8,9})",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"137[7-9]\\d{6}|900(?:[135]\\d{6}|9\\d{7})",,,,"9001234567",,,[10,11]],[,,"1(?:3(?:7[1-6]\\d{6}|8\\d{4})|80\\d{5,11})",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(1\\d{2})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(15\\d{3})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(1\\d{3})(\\d{7})","$1 $2",["15"],"0$1"],[,"(\\d{2})(\\d{3,11})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,11})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14]|[4-9]1)|3(?:[35-9][15]|4[015])|[4-8][1-9]1|9(?:06|[1-9]1)"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|[7-9](?:0[1-9]|[1-9])","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|[46][1246]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|3[1357]|4[13578]|6[1246]|7[1356]|9[1346])|5(?:0[14]|2[1-3589]|3[1357]|[49][1246]|6[1-4]|7[13468]|8[13568])|6(?:0[356]|2[1-489]|3[124-6]|4[1347]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|3[1357]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|4[1347]|6[0135-9]|7[1467]|8[136])|9(?:0[12479]|2[1358]|3[1357]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|[7-9](?:0[1-9]|[1-9])"],"0$1"],[,"(3\\d{4})(\\d{1,10})","$1 $2",["3"],"0$1"],[,"(800)(\\d{7,12})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:37|80)|900","1(?:37|80)|900[1359]"],"0$1"],[,"(1\\d{2})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(18\\d{3})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(18\\d{2})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(18\\d)(\\d{8})","$1 $2",["18[2-579]"],"0$1"],[,"(700)(\\d{4})(\\d{4})","$1 $2 $3",["700"],"0$1"],[,"(138)(\\d{4})","$1 $2",["138"],"0$1"],[,"(15[013-68])(\\d{2})(\\d{8})","$1 $2 $3",["15[013-68]"],"0$1"],[,"(15[279]\\d)(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(1[67]\\d)(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:5(?:(?:2\\d55|7\\d99|9\\d33)\\d{7}|(?:[034568]00|113)\\d{8})|6(?:013|255|399)\\d{7,8}
1|7(?:[015]13|[234]55|[69]33|[78]99)\\d{7,8})",,,,"177991234567",,,[12,13]]],DJ:[,[,,"[27]\\d{7}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-36-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-36-9])\\d{6}",,,,"20123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"[57-9]\\d{9}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4]|70[1-3])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[234689]5|7[5-7])|31[5-7]|61[1-7])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"[589]\\d{9}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d{6}|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d{2}|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9]))\\d{4})",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-9]\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:1\\d|2[013-79]|3[0-8]|4[0135689])\\d{6}|9619\\d{5}",,,,"12345678"],[,,"(?:5[4-6]|7[7-9])\\d{7}|6(?:[569]\\d|7[0-6])\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"([1-4]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"([5-8]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"],[,"(9\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|[2-8]\\d{7}|9\\d{8}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"9(?:(?:39|[45][89]|7[7-9]|[89]\\d)\\d{2}|6(?:[017-9]\\d{2}|2(?:[0-47-9]\\d|5[1-9]|60)|30\\d))\\d{4}",,,,"991234567",,,[9]],[,,"1800\\d{6,7}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[247]|[356][2-8]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(1800)(\\d{3})(\\d{3,4})","$1 $2 $3",["180","1800"],"$1"]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[247]|[356][2-8]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(1800)(\\d{3})(\\d{3,4})","$1 $2 $3",["180","1800"],"$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"[3-9]\\d{6,7}|800\\d{6,7}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d|8[1-5])\\d{6}|5(?:[02]\\d{2}|1(?:[0-8]\\d|95)|5[0-478]\\d|64[0-4]|65[1-589])\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:0\\d{3}|1\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d{2}|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"([3-79]\\d{2})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]"]],[,"(70)(\\d{2})(\\d{4})","$1 $2 $3",["70"]],[,"(8000)(\\d{3})(\\d{3})","$1 $2 $3",["800","8000"]],[,"([458]\\d{3})(\\d{3,4})","$1 $2",["40|5|8(?:00|[1-5])","40|5|8(?:00[1-9]|[1-5])"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,"8002123",,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"1\\d{4,9}|[24-6]\\d{8}|3\\d{7}|[89]\\d{8,9}",,,,,,,[8,9,10],[7]],[,,"(?:1(?:3[23]\\d|5(?:[23]|9\\d))|2[2-4]\\d{2}|3\\d{2}|4(?:0[2-5]|[578][23]|64)\\d|5(?:0[2-7]|5\\d|7[23])\\d|6[24-689]3\\d|8(?:2[2-57]|4[26]|6[237]|8[2-4])\\d|9(?:2[27]|3[24]|52|6[2356]|7[2-4])\\d)\\d{5}",,,,"234567890",,,[8,9],[7]],[,,"1[0125]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1(?:3|5[239])|[4-6]|[89][2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1[0-25]|[89]00"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:0[067]|6[1267]|7[07]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5924[01]\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"1(?:1[12568]|20|40|55|6[146])\\d{4}|8\\d{6}",,,,"8370362",,,,[6]],[,,"17[1-3]\\d{4}|7\\d{6}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"8(?:[1356]\\d|[28][0-8]|[47][1-9])\\d{6}|9(?:[135]\\d{7}|[28][0-8]\\d{6}|4[1-9]\\d{6}|6(?:[0-8]\\d{6}|9(?:0(?:[0-57-9]\\d{4}|6(?:0[0-8]|1[1-9]|[2-9]\\d)\\d{2})|[1-9]\\d{5}))|7(?:[124-9]\\d{2}|3(?:[0-8]\\d|9[1-9]))\\d{4})",,,,"810123456"],[,,"(?:6\\d{6}|7[1-48]\\d{5}|9(?:6906(?:09|10)|7390\\d{2}))\\d{2}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"([89]00)(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"([5-9]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[568]|[79][0-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"[1-59]\\d{8}",,,,,,,[9],[7]],[,,"(?:11(?:1(?:1[124]|2[2-57]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01
1]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:18|2[69]|39|4[5-7]|5[1-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|22[0-6]|33[0134689]|44[04]|55[0-6]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:11[1-9]|22[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"9\\d{8}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"([1-59]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[1-59]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"1\\d{4,11}|[2-9]\\d{4,10}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"1(?:[3569][1-8]\\d{3,9}|[47]\\d{5,10})|2[1-8]\\d{3,9}|3(?:[1-8]\\d{3,9}|9\\d{4,8})|[5689][1-8]\\d{3,9}",,,,"1312345678"],[,,"4(?:[0-8]\\d{4,9}|9\\d{3,8})|50\\d{4,8}",,,,"412345678",,,[6,7,8,9,10,11]],[,,"800\\d{4,7}",,,,"8001234567",,,[7,8,9,10]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[02469]|5(?:11|33|5[59]|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[6-8])0"],"0$1"],[,"(75\\d{3})","$1",["75[12]"],"0$1"],[,"(116\\d{3})","$1",["116"],"$1"],[,"(\\d{2})(\\d{4,10})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d)(\\d{4,11})","$1 $2",["[25689][1-8]|3"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,"[13]00\\d{3,7}|2(?:0(?:0\\d{3,7}|2[023]\\d{1,6}|9[89]\\d{1,6}))|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{3,7})",,,,"100123",,,[5,6,7,8,9,10]],[,,"[13]0\\d{4,8}|2(?:0(?:[016-8]\\d{3,7}|[2-59]\\d{2,7})|9\\d{4,8})|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{3,7})",,,,"10112345",,,[5,6,7,8,9,10]],,,[,,,,,,,,,[-1]]],FJ:[,[,,"[2-9]\\d{6}|0\\d{10}",,,,,,,[7,11]],[,,"(?:3[0-5]\\d|6(?:03|[25-7]\\d)|8[58]\\d)\\d{4}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"[39]\\d{6}",,,,,,,[7]],[,,"3[2357]0[1-9]\\d{3}|9[2-6]\\d{5}",,,,"3201234"],[,,"3[2357]0[1-9]\\d{3}|9[2-7]\\d{5}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[3-4]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d)\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[1345][15-7]|2[125-7]|99)\\d{2}",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",,,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"[1-5]\\d{8}",,,,"123456789"],[,,"(?:6\\d|7[3-9])\\d{7}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"89[1-357-9]\\d{6}",,,,"891123456"],[,,"8(?:1[0-29]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"([1-79])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"],[,"(1\\d{2})(\\d{3})","$1 $2",["11"],"$1"],[,"(8\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"]],[[,"([1-79])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"],[,"(8\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"0?\\d{7}",,,,,,,[7,8]],[,,"01\\d{6}",,,,"01441234",,,[8]],[,,"0?[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,,,,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"\\d{7,10}",,,,,,,[7,9,10],[4,5,6,8]],[,,"2(?:0[01378]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{7}|1(?:1(?:3[0-48]|[46][0-4]|5[0-26-9]|[78][0-49])|21[0-7]|31[0-8]|[4-69]1\\d)\\d{6}|1(?:2(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)|3(?:0\\d|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[28][02-57-9]|[37]\\d|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|2[024-9]|3[015689]|4[02-9]|5[03-9]|6\\d|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0124578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|8\\d|9[2-57]))\\d{6}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[345])))|3(?:638[2-5]|647[23]|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2
1-57]|6[1-8]|7[2-8])|140)|8(?:052|87[123]))|5(?:24(?:3[2-79]|6\\d)|276\\d|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[567]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|955[0-4])|7(?:26(?:6[13-9]|7[0-7])|442\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|84(?:3[2-58]))|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}|176888[2-46-8]\\d{2}|16977[23]\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:[1-3]\\d{3}|4(?:[0-46-9]\\d{2}|5(?:[0-689]\\d|7[0-57-9]))|5(?:0[0-8]|[13-9]\\d|2[0-35-9])\\d|7(?:0(?:0[01]|[1-9]\\d)|[1-7]\\d{2}|8[02-9]\\d|9[0-689]\\d)|8(?:[014-9]\\d|[23][0-8])\\d|9(?:[024-9]\\d{2}|1(?:[02-9]\\d|1[028])|3[0-689]\\d))\\d{5}",,,,"7400123456",,,[10]],[,,"80(?:0(?:1111|\\d{6,7})|8\\d{7})",,,,"8001234567"],[,,"(?:87[123]|9(?:[01]\\d|8[2349]))\\d{7}",,,,"9012345678",,,[10]],[,,"8(?:4(?:5464\\d|[2-5]\\d{7})|70\\d{7})",,,,"8431234567",,,[7,10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(7\\d{3})(\\d{6})","$1 $2",["7(?:[1-57-9]|62)","7(?:[1-57-9]|624)"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2|5[56]|7[06]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[02-9]1|1)|3|9[018]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(1\\d{3})(\\d{5,6})","$1 $2",["1"],"0$1"],[,"(800)(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(845)(46)(4\\d)","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(8\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8(?:4[2-5]|7[0-3])"],"0$1"],[,"(80\\d)(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1"],[,"(800)(\\d{6})","$1 $2",["800"],"0$1"]],,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"[4589]\\d{9}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|68|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"[34578]\\d{8}",,,,,,,[9],[6]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6]],[,,"5(?:[14]4|5[0157-9]|68|7[0147-9]|9[0-35-9])\\d{6}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"706\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5"]]],,[,,,,,,,,,[-1]],,,[,,"706\\d{6}",,,,"706123456"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"594(?:[023]\\d|1[01]|4[03-9]|5[6-9]|6[0-3]|80|9[014])\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-48])\\d{4}",,,,"694201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"[135789]\\d{6,9}",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:781\\d|839\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80(?:0(?:1111|\\d{6,7})|8\\d{7})",,,,"8001234567"],[,,"(?:87[123]|9(?:[01]\\d|8[0-3]))\\d{7}",,,,"9012345678",,,[10]],[,,"8(?:4(?:5464\\d|[2-5]\\d{7})|70\\d{7})",,,,"8431234567",,,[7,10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"0",,,,,,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"[235]\\d{8}|8\\d{7}
1",,,,,,,[8,9],[7]],[,,"3(?:0(?:[237]\\d|80)|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2[034678]\\d|5(?:[0457]\\d|6[01]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"[256]\\d{7}",,,,,,,[8]],[,,"2(?:00\\d{2}|1(?:6[24-7]\\d|90[0-2])|2(?:2[2457]\\d|50[0-2]))\\d{3}",,,,"20012345"],[,,"(?:5[46-8]|62)\\d{6}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"[1-689]\\d{5}",,,,,,,[6]],[,,"(?:19|3[1-7]|6[14689]|8[14-79]|9\\d)\\d{4}",,,,"321000"],[,,"(?:[25][1-9]|4[2-9])\\d{4}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d{2}|4(?:1[024679]|[6-9]\\d))|5(?:54[0-7]|6(?:[67]\\d)|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"[23679]\\d{6}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"[367]\\d{7,8}",,,,,,,[8,9]],[,,"30(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])\\d{4}",,,,"30241234",,,[8]],[,,"6[02356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"590(?:0[1-68]|1[0-2]|2[0-68]|3[1289]|4[0-24-9]|5[3-579]|6[0189]|7[08]|8[0-689]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d{2}|1(?:2[29]|3[0-5]))\\d{4}",,,,"690001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GP",590,"00","0",,,"0",,,,[[,"([56]\\d{2})(\\d{2})(\\d{4})","$1 $2-$3",["590|69[01]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"[23589]\\d{8}",,,,,,,[9]],[,,"3(?:3(?:3\\d[7-9]|[0-24-9]\\d[46])|5\\d{2}[7-9])\\d{4}",,,,"333091234"],[,,"(?:222|55[15])\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"[26-9]\\d{9}",,,,,,,[10]],[,,"2(?:1\\d{2}|2(?:2[1-46-9]|3[1-8]|4[1-7]|5[1-4]|6[1-8]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|3[1245]|4[1-7]|5[13-9]|[269][1-6]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789"],[,,"6(?:8[57-9]|9\\d)\\d{7}",,,,"6912345678"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567"],[,,"8(?:0[16]|12|25)\\d{7}",,,,"8011234567"],[,,"70\\d{8}",,,,"7012345678"],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"([27]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2[2-9]1|[689]"]],[,"(2\\d{3})(\\d{6})","$1 $2",["2[2-9][02-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GT:[,[,,"[2-7]\\d{7}|1[89]\\d{9}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"[345]\\d{7}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[079]7|2[0167]|3[45]|47|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[079]7|2[0167]|3[45]|47|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"(?:4(?:0\\d{5}|4\\d{7})|9\\d{8})",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["44|9[5-7]"]],[,"(\\d{3})(\\d{4})","$1 $2",["40"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"[2-46-9]\\d{6}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56]
1)|77[1-57])\\d{4}",,,,"2201234"],[,,"6\\d{6}",,,,"6091234"],[,,"(?:289|862)\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"[2-7]\\d{7}|8[0-3]\\d{6,7}|9\\d{4,10}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-8]\\d|2[013-9]|9[0-24-9])\\d|3(?:[1569][0-24-9]\\d|4[0-246-9]\\d|7[0-24-69]\\d|8(?:40|9\\d))|58(?:0[1-8]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:46(?:0[0-6]|4[07-9])|5(?:[1-59][0-46-9]\\d|6[0-4689]\\d|7(?:[0-2469]\\d|30))|6(?:0[1-9]\\d|[1459]\\d{2}|2(?:[0-57-9]\\d|6[01])|[368][0-57-9]\\d|7[0-79]\\d)|9(?:0[1-9]\\d|1[02-9]\\d|2(?:[0-8]\\d|9[03-9])|[358][0-8]\\d|[467]\\d{2}))\\d{4}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:[126-9]|30|5[09])?",,,,,,"00",,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|[89](?:0[1-9]|[1-9])"]],[,"(800)(\\d{3})(\\d{3})","$1 $2 $3",["800"]],[,"(900)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["900"]],[,"(900)(\\d{2,5})","$1 $2",["900"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"[237-9]\\d{7}",,,,,,,[8]],[,,"2(?:2(?:0[019]|1[1-36]|[23]\\d|4[04-6]|5[57]|7[013689]|8[0146-9]|9[012])|4(?:07|2[3-59]|3[13-689]|4[0-68]|5[1-35])|5(?:16|4[03-5]|5\\d|6[4-6]|74)|6(?:[056]\\d|17|3[04]|4[0-378]|[78][0-8]|9[01])|7(?:6[46-9]|7[02-9]|8[034])|8(?:79|8[0-35789]|9[1-57-9]))\\d{4}",,,,"22123456"],[,,"[37-9]\\d{7}",,,,"91234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"[1-7]\\d{5,8}|[89]\\d{6,8}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:01\\d|[1259]\\d{2}|7(?:[0679]\\d|51)|8\\d{1,2})\\d{5}",,,,"921234567",,,[8,9]],[,,"80[01]\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"6(?:[01]\\d{0,2}|[459]\\d{2})\\d{4}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(1)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"([2-5]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],[,"(9\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(6[01])(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"([67]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],[,"(80[01])(\\d{2})(\\d{2,3})","$1 $2 $3",["80[01]"],"0$1"],[,"(80[01])(\\d{3})(\\d{3})","$1 $2 $3",["80[01]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:62\\d?|72)\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"[2-489]\\d{7}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"[34]\\d{7}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:9(?:[67][0-4]|8[0-3589]|9\\d))\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[1-9]\\d{7,8}",,,,,,,[8,9],[6]],[,,"(?:1\\d|2[2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|7[2-9]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"[48]0\\d{6}",,,,"80123456",,,[8]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"($1)"]],,[,,,,,,,,,[-1]],,,[,,"[48]0\\d{6}",,,,"80123456",,,[8]],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:[1-79]\\d{6,10}|8\\d{7,11})",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"2(?:1(?:14\\d{3}|500\\d{3}|\\d{7,8})|2\\d{6,8}|4\\d{7,8})|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:19?|[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"612345678",,,[7,8,9,10,11],[5,6]],[,,"(?:2(?:1(?:3[145]|4[01]|5[1-469]|60|8[0359])|2(?:88|9[1256])|3[1-4]9|4(?:36|91)|5(?:1[349]|[2-4]9)|6[0-7]9|7(?:[1-36]9|4[39])|8[1-5]9|9[1-48]9)|3(?:19[1-3]|2[12]9|3[13]9|4(?:1[69]|39)|5[14]9|6(?:1[69]|2[89])|709)|4[13]19|5(?:1(?:19|8[39])|4[129]9|6[12]9)|6(?:19[12]|2(?:[23]9|77))|7(?:1[13]9|2[15]9|419|5(?:1[89]|29)|6[15]9|7[178]9))\\d{5,6}|8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"177\\d{6,8}|800\\d{5,7}",,,,"8001234567",,,[8,9,10,11]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"0(?:0[1789]|10(?:00|1[67]))","0",,,"0",,,,[[,"(\\d{2})(\\d{5,8})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,8})","$1 $2",["2[035-9]|[36][02-9]|[4579]"],"(0$1)"],[,"(8\\d{2})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(8\\d{2})(\\d{4})(\\d{4,5})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(1)(500)(\\d{3})","$1 $2 $3",["150","1500"],"$1"],[,"(177)(\\d{6,8})","$1 $2",["177"],"0$1"],[,"(800)(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(804)(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(80\\d)(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80[79]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"8071\\d{6}",,,,"8071123456",,,[10]],[,,"1500\\d{3}|8071\\d{6}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"[124-9]\\d{6,9}",,,,,,,[7,8,9,10],[5,6]],[,,"1\\d{7,8}|2(?:1\\d{6,7}|3\\d{7}|[24-9]\\d{5})|4(?:0[24]\\d{5}|[1-469]\\d{7}|5\\d{6}|7\\d{5}|8[0-46-9]\\d{7})|5(?:0[45]\\d{5}|1\\d{6}|[23679]\\d{7}|8\\d{5})|6(?:1\\d{6}|[237-9]\\d{5}|[4-6]\\d{7})|7[14]\\d{7}|9(?:1\\d{6}|[04]\\d{7}|[35-9]\\d{5})",,,,"2212345",,,,[5,6]],[,,"8(?:22\\d{6}|[35-9]\\d{7})",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(1)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["40[24]|50[45]"],"(0$1)"],[,"(48)(\\d{4})(\\d{4})","$1 $2 $3",["48"],"(0$1)"],[,"(818)(\\d{3})(\\d{3})","$1 $2 $3",["818"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[24-69]|7[14]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["76|8[35-9]"],"0$1"],[,"(8\\d)(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8[35-9]5"],"0$1"],[,"(700)(\\d{3})(\\d{3})","$1 $2 $3",["700"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:5|8[059])","1(?:5|8[059]0)"],"$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"8[35-9]5\\d{7}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6,11}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}|7\\d{6,9}",,,,,,,[4,7,8,9,10,11,12]],[,,"(?:153\\d{1,2}|[2-489])\\d{7}",,,,"21234567",,,[8,11,12],[7]],[,,"5(?:[0-47-9]\\d{2}|5(?:01|2[23]|3[2-4]|4[45]|5[5689]|6[6-8]|7[0178]|8[6-9]|9[2-9])|6[2-9]\\d)\\d{5}",,,,"501234567",,,[9]],[,,"1(?:80[019]\\d{3}|255)\\d{3}",,,,"1800123456",,,[7,10]],[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}",,,,"1919123456",,,[8,9,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:18\\d|2[23]\\d|3[237]\\d|47\\d|6[58]\\d|7\\d{2}|8(?:2\\d|33|55|77|81)|9[2579]\\d)\\d{5}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"([2-489])(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"([57]\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(153)(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["153"]],[,"(1)([7-9]\\d{2})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(1255)(\\d{3})","$1-$2",["125","1255"]],[,"(1200)(\\d{3})(\\d{3})","$1-$2-$3",["120","1200"]],[,"(1212)(\\d{2})(\\d{2})","$1-$2-$3",["121","1212"]],[,"(1599)(\\d{6})","$1-$2",["159","1599"]],[,"(151)(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["151"]],[,"(\\d{4})","*$1",["[2-689]"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}|[2-689]\\d{3}",,,,"1700123456",,,[4,10]],[,,"[2-689]\\d{3}|1599\\d{6}",,,,"1599123456",,,[4,10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"[135789]\\d{6,9}",,,,,,,[10],[6]],[,,"1624[5-8]\\d{5}",,,,"1624756789",,,,[6]],[,,"7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"(?:872299|90[0167]624)\\d{4}",,,,"9016247890"],[,,"8(?:4(?:40[49]06|5624\\d)|70624\\d)\\d{3}",,,,"8456247890"],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"3(?:08162\\d|3\\d{5}|4(?:40[49]06|5624\\d)|7(?:0624\\d|2299\\d))\\d{3}|55\\d{8}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"008\\d{9}|1\\d{7,12}|[2-9]\\d{9,10}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"(?:11|2[02]|33|4[04]|79|80)[2-7]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"(?:6(?:00[0-35]\\d|1279|2(?:0[0-3]|3[59]|6[0-2]|8[0-2]|9[045
1])\\d|3(?:0[0-29]\\d|5(?:0[0-6]|[1-3]\\d)|6[01]\\d|7[015]\\d|8[0-2]\\d|9[023-69]\\d)|900\\d)|7(?:0\\d{3}|19[0-5]\\d|2(?:[0235679]\\d{2}|[14][017-9]\\d|8(?:[0-59]\\d|[678][089]))|3(?:[05-8]\\d{2}|1(?:[089]\\d|11|7[5-8])|2(?:[0-49][089]|[5-8]\\d)|3[017-9]\\d|4(?:[07-9]\\d|11)|9(?:[016-9]\\d|[2-5][089]))|4(?:0\\d{2}|1(?:[015-9]\\d|[23][089]|4[089])|2(?:0[089]|[1-7][089]|[89]\\d)|3(?:[0-8][089]|9\\d)|4(?:[089]\\d|11|7[02-8])|[56]\\d[089]|7(?:[089]\\d|11|7[02-8])|8(?:[0-24-7][089]|[389]\\d)|9(?:[0-6][089]|7[089]|[89]\\d))|5(?:[0346-8]\\d{2}|1(?:[07-9]\\d|11)|2(?:[04-9]\\d|[123][089])|5[017-9]\\d|9(?:[0-6][089]|[7-9]\\d))|6(?:0(?:[0-47]\\d|[5689][089])|(?:1[0-257-9]|[6-9]\\d)\\d|2(?:[0-4]\\d|[5-9][089])|3(?:[02-8][089]|[19]\\d)|4\\d[089]|5(?:[0-367][089]|[4589]\\d))|7(?:0(?:0[02-9]|[13-7][089]|[289]\\d)|[1-9]\\d{2})|8(?:[0-79]\\d{2}|8(?:[089]\\d|11|7[02-9]))|9(?:[089]\\d{2}|313|7(?:[02-8]\\d|9[07-9])))|8(?:0(?:[01589]\\d{2}|6[67]\\d|7(?:[02-8]\\d|9[04-9]))|1(?:[02-57-9]\\d{2}|1(?:[0-35-9]\\d|4[0-46-9])|6(?:[089]\\d|7[02-8]))|2(?:0(?:[089]\\d|7[02-8])|[14](?:[089]\\d|7[02-8])|[235-9]\\d{2})|3(?:[0357-9]\\d{2}|1(?:[089]\\d|7[02-7])|2(?:[09]\\d|7[02-8]|8[0-689])|4\\d{2}|6(?:[089]\\d|7[02-7]))|[45]\\d{3}|6(?:[02457-9]\\d{2}|1(?:[089]\\d|7[02-8])|3(?:[089]\\d|7[02-8])|6(?:[08]\\d|7[02-8]|9\\d))|7(?:0[07-9]\\d|[1-69]\\d{2}|[78](?:[089]\\d|7[02-8]))|8(?:[0-25-9]\\d{2}|3(?:[089]\\d|7[02-8])|4(?:[0489]\\d|7[02-8]))|9(?:[02-9]\\d{2}|1(?:[0289]\\d|7[02-8])))|9\\d{4})\\d{5}",,,,"8123456789",,,[10]],[,,"00800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{8})","$1",["561","5616","56161"],"$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["6(?:[09]0|12|2[03689]|3[05-9])|7(?:[02-8]|19|9[037-9])|8(?:0[015-9]|[1-9])|9","6(?:[09]0|127|2(?:0[013]|3[59]|[68][0-2]|9[04])|3(?:0[0-29]|5[0-3]|6[01]|7[015]|8[12]|9[02-69]))|7(?:[07]|19[0-5]|2(?:[0235-9]|[14][017-9])|3(?:[025-9]|[134][017-9])|4(?:[0-35689]|[47][017-9])|5(?:[02-46-9]|[15][017-9])|6(?:[02-9]|1[0-257-9])|8(?:[0-79]|8[0189])|9(?:[089]|31|7[02-9]))|8(?:0(?:[01589]|6[67]|7[02-9])|1(?:[0-57-9]|6[07-9])|2(?:[014][07-9]|[235-9])|3(?:[03-57-9]|[126][07-9])|[45]|6(?:[02457-9]|[136][07-9])|7(?:[078][07-9]|[1-69])|8(?:[0-25-9]|3[07-9]|4[047-9])|9(?:[02-9]|1[027-9]))|9","6(?:[09]0|1279|2(?:0[013]|3[59]|[68][0-2]|9[04])|3(?:0[0-29]|5[0-3]|6[01]|7[015]|8[12]|9[02-69]))|7(?:0|19[0-5]|2(?:[0235-79]|[14][017-9]|8(?:[0-69]|[78][089]))|3(?:[05-8]|1(?:[0189]|7[5-9])|2(?:[0-49][089]|[5-8])|3[017-9]|4(?:[07-9]|11)|9(?:[01689]|[2-5][089]|7[0189]))|4(?:[056]|1(?:[0135-9]|[24][089])|[29](?:[0-7][089]|[89])|3(?:[0-8][089]|9)|[47](?:[089]|11|7[02-8])|8(?:[0-24-7][089]|[389]))|5(?:[0346-9]|[15][017-9]|2(?:[03-9]|[12][089]))|6(?:[0346-9]|1[0-257-9]|2(?:[0-4]|[5-9][089])|5(?:[0-367][089]|[4589]))|7(?:0(?:[02-9]|1[089])|[1-9])|8(?:[0-79]|8(?:0[0189]|11|8[013-9]|9))|9(?:[089]|313|7(?:[02-8]|9[07-9])))|8(?:0(?:[01589]|6[67]|7(?:[02-8]|9[04-9]))|1(?:[02-57-9]|1(?:[0-35-9]|4[0-46-9])|6(?:[089]|7[02-8]))|2(?:[014](?:[089]|7[02-8])|[235-9])|3(?:[03-57-9]|[16](?:[089]|7[02-7])|2(?:[09]|7[02-8]|8[0-689]))|[45]|6(?:[02457-9]|[136](?:[089]|7[02-8]))|7(?:0[07-9]|[1-69]|[78](?:[089]|7[02-8]))|8(?:[0-25-9]|3(?:[089]|7[02-8])|4(?:[0489]|7[02-8]))|9(?:[02-9]|1(?:[0289]|7[02-8])))|9"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-9]|80[2-46]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[59][14]|[68][1-9]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1|9[15])|6(?:12|[2-4]1|5[17]|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[23579]|[468][1-9])|[2-8]"],"0$1",,1],[,"(\\d{2})(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3 $4",["008"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],"$1",,1],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["160","1600"],"$1",,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],"$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["180","1800"],"$1",,1],[,"(\\d{4})(\\d{3,4})(\\d{4})","$1 $2 $3",["186","1860"],"$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18[06]"],"$1",,1]],,[,,,,,,,,,[-1]],,,[,,"00800\\d{7}|1(?:600\\d{6}|8(?:0(?:0\\d{4,9}|3\\d{9})|6(?:0\\d{7}|[12]\\d{9})))",,,,"1800123456"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"[1-7]\\d{7,9}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"([2-6]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-8]\\d{5,9}|9(?:[0-4]\\d{8}|9\\d{8})",,,,,,,[6,7,10],[4,5,8]],[,,"(?:(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:\\d{8}|(?:[16]|[289]\\d?)\\d{3}))|94(?:000|11[0-7]|2\\d{2}|30[01]|440)\\d{5}",,,,"2123456789",,,,[4,5,8]],[,,"9(?:0(?:[1-35]\\d{2}|44\\d)|[13]\\d{3}|2[0-2]\\d{2}|9(?:[01]\\d{2}|44\\d|810|9(?:0[013]|1[134]|21|9[89])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:[2-6]0\\d|993)\\d{7}",,,,"9932123456",,,[10]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["[1-8]"],"0$1"],[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:9411[1-7]|94440)\\d{5}",,,,"9411110000",,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IS:[,[,,"[4-9]\\d{6}|38\\d{7}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-245]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-79]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|87[23])\\d{4}",,,,"4101234",,,[7]],[,,"38[589]\\d{6}|(?:6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|[67][0-69]|8[06-8]|9\\d)|7(?:5[057]|[6-8]\\d)|8(?:2[0-59]|[3469]\\d|5[1-9]|88))\\d{4}",,,,"6111234"],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"90\\d{5}",,,,"9011234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49\\d{5}",,,,"4921234",,,[7]],"IS",354,"1(?:0(?:01|10|20)|100)|00",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(3\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:6(?:2[78]|8[1-59])|8(?:7[0189]|80)|95[48])\\d{4}",,,,"6271234",,,[7]]],IT:[,[,,"[01589]\\d{5,10}|3(?:[12457-9]\\d{8}|[36]\\d{7,9})",,,,,,,[6,7,8,9,10,11]],[,,"0(?:[26]\\d{4,9}|(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2346]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[34578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7})",,,,"0212345678"],[,,"3(?:[12457-9]\\d{8}|6\\d{7,8}|3\\d{7,9})",,,,"3123456789",,,[9,10,11]],[,,"80(?:0\\d{6}|3\\d{3})",,,,"800123456",,,[6,9]],[,,"0878\\d{5}|1(?:44|6[346])\\d{6}|89(?:2\\d{3}|4(?:[0-4]\\d{2}|[5-9]\\d{4}
1)|5(?:[0-4]\\d{2}|[5-9]\\d{6})|9\\d{6})",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{6}|[17]\\d{3})",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|55"]],[,"(0[26])(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(0[26])(\\d{4,6})","$1 $2",["0[26]"]],[,"(0\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],[,"(0\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["0[13-57-9][2-46-8]"]],[,"(0\\d{3})(\\d{2,6})","$1 $2",["0[13-57-9][2-46-8]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13]|8(?:00|4[08]|9[59])","[13]|8(?:00|4[08]|9(?:5[5-9]|9))"]],[,"(\\d{4})(\\d{4})","$1 $2",["894","894[5-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,"848123456",,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JE:[,[,,"[135789]\\d{6,9}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:509\\d|7(?:00[378]|97[7-9])|829\\d|937\\d)\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:871206|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,"8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|70002)\\d{4}",,,,"8447034567"],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"0",,,,,,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))\\d{4}|55\\d{8}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"[589]\\d{9}",,,,,,,[10],[7]],[,,"876(?:5(?:0[12]|1[0-468]|2[35]|63)|6(?:0[1-3579]|1[0237-9]|[23]\\d|40|5[06]|6[2-589]|7[05]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468]))\\d{4}",,,,"8765123456",,,,[7]],[,,"876(?:2[14-9]\\d|[348]\\d{2}|5(?:0[3-9]|[2-57-9]\\d|6[0-24-9])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579]))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"[235-9]\\d{7,8}",,,,,,,[8,9]],[,,"(?:2(?:6(?:2[0-35-9]|3[0-57-8]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[57][023]|6[03])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2[50]0|3(?:00|33)|4(?:0[0125]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[17-8]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[02-39]))|87(?:[02]0|7[08]|90))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:55[0-49]|7[025-9]\\d|8[0-25-9]\\d|9[0-25-9]\\d)\\d{5}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(7)(\\d{4})(\\d{4})","$1 $2 $3",["7[457-9]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["8[0158]|9"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"[1-9]\\d{8,9}|00(?:[36]\\d{7,14}|7\\d{5,7}|8\\d{7})",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|2[2-9]\\d|[36][1-9]\\d|4(?:6[02-8]|[2-578]\\d|9[2-59])|5(?:6[1-9]|7[2-8]|[2-589]\\d)|7(?:3[4-9]|4[02-9]|[25-9]\\d)|8(?:3[2-9]|4[5-9]|5[1-9]|8[03-9]|[2679]\\d)|9(?:[679][1-9]|[2-58]\\d))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"120\\d{6}|800\\d{7}|00(?:37\\d{6,13}|66\\d{6,13}|777(?:[01]\\d{2}|5\\d{3}|8\\d{4})|882[1245]\\d{4})",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{4})(\\d{4})","$1-$2",["007","0077"],"$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"],"$1"],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008","0088"],"$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["00[36]","00(?:37|66)"],"$1"],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["00[36]","00(?:37|66)"],"$1"],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["00[36]","00(?:37|66)"],"$1"],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["00[36]","00(?:37|66)"],"$1"],[,"(\\d{2})(\\d{4})(\\d{4}
1)","$1-$2-$3",["[2579]0|80[1-9]"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[78]|96)|477|51[24]|636)|9(?:496|802|9(?:1[23]|69))","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[78]|96[2457-9])|477|51[24]|636[2-57-9])|9(?:496|802|9(?:1[23]|69))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["1(?:2[3-6]|3[3-9]|4[2-6]|5[2-8]|[68][2-7]|7[2-689]|9[1-578])|2(?:2[03-689]|3[3-58]|4[0-468]|5[04-8]|6[013-8]|7[06-9]|8[02-57-9]|9[13])|4(?:2[28]|3[689]|6[035-7]|7[05689]|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9[4-9])|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9[014-9])|8(?:2[49]|3[3-8]|4[5-8]|5[2-9]|6[35-9]|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9[3-7])","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:[0468][2-9]|5[78]|7[2-4])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[4-7]|[89][2-8]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9[2-8])|3(?:[3-6][2-9]|7[2-6]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5[4-7]|6[2-9]|8[2-8]|9[236-9])|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3[34]|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:[0468][2-9]|5[78]|7[2-4])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[4-7]|[89][2-8]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:20|[3578]|4[04-9]|6[56]))|3(?:[3-6][2-9]|7(?:[2-5]|6[0-59])|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:[0468][2-9]|5[78]|7[2-4])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[4-7]|[89][2-8]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:20|[3578]|4[04-9]|6(?:5[25]|60)))|3(?:[3-6][2-9]|7(?:[2-5]|6[0-59])|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1|2(?:2[37]|5[5-9]|64|78|8[39]|91)|4(?:2[2689]|64|7[347])|5[2-589]|60|8(?:2[124589]|3[279]|[46-9])|9(?:[235-8]|93)","1|2(?:2[37]|5(?:[57]|[68]0|9[19])|64|78|8[39]|917)|4(?:2(?:20|[68]|9[178])|64|7[347])|5[2-589]|60|8(?:2[124589]|3[279]|[46-9])|9(?:[235-8]|93[34])","1|2(?:2[37]|5(?:[57]|[68]0|9(?:17|99))|64|78|8[39]|917)|4(?:2(?:20|[68]|9[178])|64|7[347])|5[2-589]|60|8(?:2[124589]|3[279]|[46-9])|9(?:[235-8]|93(?:31|4))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["2(?:[34]7|[56]9|74|9[14-79])|82|993"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[2479][1-9]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4}
1)","$1-$2-$3",["[2579]0|80[1-9]"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[78]|96)|477|51[24]|636)|9(?:496|802|9(?:1[23]|69))","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[78]|96[2457-9])|477|51[24]|636[2-57-9])|9(?:496|802|9(?:1[23]|69))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["1(?:2[3-6]|3[3-9]|4[2-6]|5[2-8]|[68][2-7]|7[2-689]|9[1-578])|2(?:2[03-689]|3[3-58]|4[0-468]|5[04-8]|6[013-8]|7[06-9]|8[02-57-9]|9[13])|4(?:2[28]|3[689]|6[035-7]|7[05689]|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9[4-9])|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9[014-9])|8(?:2[49]|3[3-8]|4[5-8]|5[2-9]|6[35-9]|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9[3-7])","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:[0468][2-9]|5[78]|7[2-4])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[4-7]|[89][2-8]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9[2-8])|3(?:[3-6][2-9]|7[2-6]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5[4-7]|6[2-9]|8[2-8]|9[236-9])|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3[34]|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:[0468][2-9]|5[78]|7[2-4])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[4-7]|[89][2-8]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:20|[3578]|4[04-9]|6[56]))|3(?:[3-6][2-9]|7(?:[2-5]|6[0-59])|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:[0468][2-9]|5[78]|7[2-4])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[4-7]|[89][2-8]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:20|[3578]|4[04-9]|6(?:5[25]|60)))|3(?:[3-6][2-9]|7(?:[2-5]|6[0-59])|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1|2(?:2[37]|5[5-9]|64|78|8[39]|91)|4(?:2[2689]|64|7[347])|5[2-589]|60|8(?:2[124589]|3[279]|[46-9])|9(?:[235-8]|93)","1|2(?:2[37]|5(?:[57]|[68]0|9[19])|64|78|8[39]|917)|4(?:2(?:20|[68]|9[178])|64|7[347])|5[2-589]|60|8(?:2[124589]|3[279]|[46-9])|9(?:[235-8]|93[34])","1|2(?:2[37]|5(?:[57]|[68]0|9(?:17|99))|64|78|8[39]|917)|4(?:2(?:20|[68]|9[178])|64|7[347])|5[2-589]|60|8(?:2[124589]|3[279]|[46-9])|9(?:[235-8]|93(?:31|4))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["2(?:[34]7|[56]9|74|9[14-79])|82|993"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[2479][1-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:37\\d{6,13}|66\\d{6,13}|777(?:[01]\\d{2}|5\\d{3}|8\\d{4})|882[1245]\\d{4})",,,,"00777012"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"20\\d{6,7}|[4-9]\\d{6,9}",,,,,,,[7,8,9,10]],[,,"20\\d{6,7}|4(?:0\\d{6,7}|[136]\\d{7}|[245]\\d{5,7})|5(?:[08]\\d{7}|[1-79]\\d{5,7})|6(?:[01457-9]\\d{5,7}|2\\d{7}|6\\d{6,7}
1)",,,,"202012345",,,[7,8,9]],[,,"7(?:[0-3679]\\d|4[0-46-9]|5[0-6]|8[0-25-9])\\d{6}",,,,"712123456",,,[9]],[,,"800[24-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"005|0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"[235-8]\\d{8,9}",,,,,,,[9,10],[5,6]],[,,"(?:3(?:1(?:[256]\\d|3[1-9]|47)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"(?:20[0-35]|5[0-24-7]\\d|7(?:[07]\\d|55))\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[25-7]|31[25]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[36]|[2-9])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"[1-9]\\d{7,9}",,,,,,,[8,9,10],[6,7]],[,,"(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:[237-9]|4[56]|5\\d|6\\d?)\\d{5}|23(?:4[234]|8\\d{2})\\d{4}",,,,"23756789",,,[8,9],[6,7]],[,,"(?:1(?:[013-79]\\d|[28]\\d{1,2})|2[3-6]48|3(?:[18]\\d{2}|[2-6]48)|4[2-4]48|5[2-5]48|6(?:[016-9]\\d|[2-5]48)|7(?:[07-9]\\d|[16]\\d{2}|[2-5]48)|8(?:[013-79]\\d|8\\d{2})|9(?:6\\d{2}|7\\d{1,2}|[0-589]\\d))\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["1\\d[1-9]|[2-9]"],"0$1"],[,"(1[89]00)(\\d{3})(\\d{3})","$1 $2 $3",["1[89]0","1[89]00"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"[2458]\\d{4}|3\\d{4,7}|[67]\\d{7}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|8[0-5])\\d{3}|(?:65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d{2}|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500)))\\d{3}",,,,"31234"],[,,"(?:6(?:200[01]|30[01]\\d)|7(?:200[01]|3(?:0[0-5]\\d|140)))\\d{3}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d{2}|12(?:11|20))\\d{2}",,,,"30010000",,,[8]],"KI",686,"00",,,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7]],[,,"7[4-7]\\d{5}",,,,"7712345"],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"[589]\\d{9}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70))\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:5(?:5[6-8]|6[5-7])|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"1\\d{9}|[28]\\d{7}",,,,,,,[8,10],[6,7]],[,,"2\\d{7}|85\\d{6}",,,,"21234567",,,[8],[6,7]],[,,"19[123]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"2(?:[0-24-9]\\d{2}|3(?:[0-79]\\d|8[02-9]))\\d{4}",,,,"23821234",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00(?:3\\d{8,9}|7\\d{9,11})|[1-7]\\d{4,9}|8\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,7]],[,,"2[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])(?:1\\d{2,3}|[1-9]\\d{6,7})",,,,"22123456",,,[5,6,8,9,10],[3,7]],[,,"1[0-26-9]\\d{7,8}",,,,"1000000000",,,[9,10]],[,,"(?:00(?:3(?:08|68\\d)|798\\d{1,3})|80\\d)\\d{6}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8}",,,,"5012345678",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[1259]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8[1-46-8]|85\\d{2})?",,,,[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1(?:5[246-9]|6[046-8]|8[03579])","1(?:5(?:22|44|66|77|88|99)|6(?:[07]0|44|6[16]|88)|8(?:00|33|55|77|99))"],"$1","0$CC-$1"],[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2[1-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60[2-9]|80"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["1[0-25-9]|(?:3[1-3]|[46][1-4]|5[1-5])[1-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]0"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030","00308"],"$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["00[37]","00(?:36|79)","00(?:36|79)8"],"$1","0$CC-$1"],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["007","0079","00798"],"$1","0$CC-$1"]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1(?:5[246-9]|6[046-8]|8[03579])","1(?:5(?:22|44|66|77|88|99)|6(?:[07]0|44|6[16]|88)|8(?:00|33|55|77|99))"],"$1","0$CC-$1"],[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2[1-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60[2-9]|80"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["1[0-25-9]|(?:3[1-3]|[46][1-4]|5[1-5])[1-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]0"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08|68\\d)|798\\d{1,3})\\d{6}",,,,"007981234567",,,[11,12,13,14]],[,,"1(?:5(?:22|44|66|77|88|99)|6(?:00|44|6[16]|70|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"[12569]\\d{6,7}",,,,,,,[7,8]],[,,"(?:18\\d|2(?:[23]\\d{2}|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7])))\\d{4}",,,,"22345678"],[,,"(?:5(?:[05]\\d{2}|1[0-7]\\d|2(?:22|5[25])|6[56]\\d)|6(?:0[034679]\\d|222|5[015-9]\\d|6\\d{2}|7(?:0[013-9]|[67]\\d)|9(?:[069]\\d|3[039]))|9(?:0[09]\\d|11[01]|22\\d|4[01479]\\d|55\\d|6[0679]\\d|7(?:02|[1-9]\\d)|8[057-9]\\d|9\\d{2}))\\d{4}",,,,"50012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[16]|2(?:[0-35-9]|4[0-35-9])|52[25]|9[0-24-9]"]],[,"(\\d{3})(\\d{5})","$1 $2",["244|5(?:[015]|6[56])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"[3589]\\d{9}
1",,,,,,,[10],[7]],[,,"345(?:2(?:22|44)|444|6(?:23|38|40)|7(?:4[35-79]|6[6-9]|77)|8(?:00|1[45]|25|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[67]|2[2-9]|3[689]))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}|345976\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"1",,,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33\\d|7\\d{2}|80[089])\\d{7}",,,,,,,[10]],[,,"33622\\d{5}|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[234]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[234]\\d|5[139])|4(?:2\\d|3[1235-9]|59)|5(?:[23]\\d|4[01246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59)))\\d{5}",,,,"7123456789"],[,,"7(?:0[012578]|47|6[02-4]|7[15-8]|85)\\d{7}",,,,"7710009998"],[,,"800\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567"],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567"],[,,"751\\d{7}",,,,"7511234567"],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,,[,,"751\\d{7}",,,,"7511234567"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[2-8]\\d{7,9}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|3(?:0\\d|[14])|[5-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8,9],[6]],[,,"20(?:2[2389]|5[24-689]|7[6-8]|9[125-9])\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(20)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["20"],"0$1"],[,"([2-8]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(30)(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[13-9]\\d{6,7}",,,,,,,[7,8]],[,,"(?:[14-6]\\d{2}|7(?:[2-57]\\d|62|8[0-7]|9[04-9])|8[02-9]\\d|9\\d{2})\\d{4}",,,,"1123456",,,[7]],[,,"(?:3\\d|7(?:[01]\\d|6[013-9]|8[89]|9[1-3])|81\\d)\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"([7-9]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["7(?:[01]|6[013-9]|8[89]|9[1-3])|[89][01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"[5789]\\d{9}",,,,,,,[10],[7]],[,,"758(?:4(?:30|5[0-9]|6[2-9]|8[0-2])|57[0-2]|638)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[01]))\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"6\\d{8}|[23789]\\d{6}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|3\\d|6[02-578]|96)|3(?:7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"6(?:5(?:09|1\\d|20)|6(?:0[0-6]|10|2[06-9]|39))\\d{5}|7(?:[37-9]\\d|42|56)\\d{4}",,,,"660234567"],[,,"80(?:02[28]|9\\d{2})\\d{2}",,,,"8002222",,,[7]],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d{2}",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"0|10(?:01|20|66)",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[237-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[56]"]],[,"(69)(7\\d{2})(\\d{4})","$1 $2 $3",["697"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d{2}",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"1(?:1[2-57]\\d{6}|973\\d{5})|(?:2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7]|[89]1)[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7[0125-8]\\d{7}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LR:[,[,,"2\\d{7,8}|[378]\\d{8}|4\\d{6}|5\\d{6,8}",,,,,,,[7,8,9]],[,,"(?:2\\d{3}|33333)\\d{4}",,,,"21234567",,,[8,9]],[,,"(?:20\\d{2}|330\\d|4[67]|5(?:55)?\\d|77\\d{2}|88\\d{2})\\d{5}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[2-5]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(2\\d)(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"([4-5])(\\d{3})(\\d{3})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"[2568]\\d{7}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"[3-9]\\d{7}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"800\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}
1",,,,"80812345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"LT",370,"00","8",,,"[08]",,,,[[,"([34]\\d)(\\d{6})","$1 $2",["37|4(?:1|5[45]|6[2-4])"],"(8-$1)",,1],[,"([3-6]\\d{2})(\\d{5})","$1 $2",["3[148]|4(?:[24]|6[09])|528|6"],"(8-$1)",,1],[,"([7-9]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(5)(2\\d{2})(\\d{4})","$1 $2 $3",["52[0-79]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:2[2-9]\\d{2,9}|(?:3(?:[0-46-9]\\d|5[013-9])|[457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})",,,,"27123456"],[,,"6[25-79][18]\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-5]|7[1-9]|[89](?:0[2-9]|[1-9])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-5]|7[1-9]|[89](?:0[2-9]|[1-9])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,4})","$1 $2 $3 $4",["2(?:[12589]|4[12])|[3-5]|7[1-9]|8(?:0[2-9]|[1-9])|9(?:0[2-46-9]|[1-9])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["70|80[01]|90[015]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"[2689]\\d{7}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"2\\d{7}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"([2689]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[25679]\\d{8}",,,,,,,[9],[7]],[,,"(?:2[1345]|5[1347]|6[123479]|71)\\d{7}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"([25-79]\\d)(\\d{7})","$1-$2",["[25-79]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"5(?:2(?:[015-79]\\d|2[02-9]|3[2-57]|4[2-8]|8[235-7])\\d|3(?:[0-48]\\d|[57][2-9]|6[2-8]|9[3-9])\\d|4[067]\\d{2}|5[03]\\d{2})\\d{4}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:0[067]|6[1267]|7[07]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5924[01]\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"([5-7]\\d{2})(\\d{6})","$1-$2",["5(?:2[015-7]|3[0-4])|[67]"],"0$1"],[,"([58]\\d{3})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|92)|892","5(?:2(?:[2-48]|9[0-7])|3(?:[5-79]|8[0-7])|924)|892"],"0$1"],[,"(5\\d{4})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]"],"0$1"],[,"([5]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:4[067]|5[03])"],"0$1"],[,"(8[09])(\\d{7})","$1-$2",["8(?:0|9[013-9])"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"[34689]\\d{7,8}",,,,,,,[8,9]],[,,"870\\d{5}|9[2-47-9]\\d{6}",,,,"99123456",,,[8]],[,,"3\\d{7}|4(?:4\\d|5[1-9])\\d{5}|6\\d{8}",,,,"612345678"],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[39]"],"$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(6)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["8"],"$1"]],,[,,,,,,,,,[-1]],,,[,,"870\\d{5}",,,,"87012345",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"[235-9]\\d{7}",,,,,,,[8]],[,,"(?:2[1-9]\\d|3[1-79]\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"(?:562|6\\d{2}|7(?:[189]\\d|6[07]|7[457-9]))\\d{5}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}
1",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"([25-7]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["2[13-9]|[5-7]"],"0$1"],[,"([89]\\d{2})(\\d{5})","$1 $2",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"[2-9]\\d{7,8}",,,,,,,[8],[6]],[,,"(?:20[2-8]|3(?:0[2-7]|[12][235-7]|3[24-7])|4(?:0[2-467]|1[267])|5(?:0[2467]|1[267]|2[2367]))\\d{5}",,,,"30234567",,,,[6]],[,,"6(?:00\\d|3[024]\\d|6[0-25]\\d|[7-9]\\d{2})\\d{4}",,,,"67622901"],[,,"80[0-258]\\d{5}",,,,"80080002"],[,,"(?:9(?:4[1568]|5[178]))\\d{5}",,,,"94515151"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780"],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[036-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012"],,,[,,,,,,,,,[-1]]],MF:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"590(?:0[079]|13|2[79]|30|43|5[0-268]|7[79]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d{2}|1(?:2[29]|3[0-5]))\\d{4}",,,,"690001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"20(?:2\\d{2}|4[47]\\d|5[3467]\\d|6[279]\\d|7(?:2[29]|[35]\\d)|8[268]\\d|9[245]\\d)\\d{4}",,,,"202123456",,,,[7]],[,,"3[2-49]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"0",,,,[[,"([23]\\d)(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"[2-6]\\d{6}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:235|329|45[56]|545)\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:2(?:[23]\\d|5[0-24578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:[0-25-8]\\d{2}|3[2-4]\\d|421|9[23]\\d)\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5[02-9]\\d{6}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"([347]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"([58]\\d{2})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[246-9]\\d{7}",,,,,,,[8]],[,,"(?:2(?:0(?:2\\d|7[0-8])|1(?:2[5-7]|[3-689]\\d))|44[1239]\\d)\\d{4}",,,,"20212345"],[,,"(?:2(?:079|17\\d)|[679]\\d{3}|8[239]\\d{2})\\d{4}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[246-9]"]],[,"(\\d{4})","$1",["67|74"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[246-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"[178]\\d{5,7}|[24-6]\\d{5,8}|9(?:[279]\\d{0,2}|5|[34]\\d{1,2}|6(?:\\d{1,2})?|8(?:\\d{2})?)\\d{6}",,,,,,,[6,7,8,9,10],[5]],[,,"1(?:2\\d{1,2}|[35]\\d|4(?:\\d|2[236]|39)|6\\d?|[89][0-6]\\d)\\d{4}|2(?:2(?:000\\d{3}|\\d{4})|3\\d{4}|4(?:0\\d{5}|26\\d{4}|39\\d{4}|\\d{4})|5(?:1\\d{3,6}|[02-9]\\d{3,5})|[6-9]\\d{4})|4(?:2[245-8]|3(?:2(?:02)?|[346]|56?)|[46][2-6]|5[3-5])\\d{4}|5(?:2(?:2(?:\\d{1,2})?|[3-8])|3[2-68]|4(?:21?|[4-8])|5[23]|6[2-4]|7[2-8]|8[24-7]|9[2-7])\\d{4}|6(?:0[23]|1(?:2(?:0|4\\d)?|[356])|2[2-6]|3[24-6]|4(?:2(?:4\\d)?|[3-6])|5[2-4]|6[2-8]|7(?:[2367]|4(?:\\d|39)|5\\d?|8[145]\\d)|8[245]|9(?:20?|4))\\d{4}|7(?:[04][24-8]|1(?:20?|[3-7])|22|3[2-4]|5[2-7])\\d{4}|8(?:1(?:2\\d{1,2}|[3-689]\\d)|2(?:2\\d|3(?:\\d|20)|[4-8]\\d)|3[24]\\d|4[24-7]\\d|5[245]\\d|6[23]\\d)\\d{3}",,,,"1234567",,,[6,7,8,9],[5]],[,,"17[01]\\d{4}|9(?:2(?:[0-4]|5\\d{2}|6[0-5]\\d)|3(?:[0-36]|4[069])\\d|4(?:0[0-4]\\d|[1379]\\d|2\\d{2}|4[0-589]\\d|5\\d{2}|88)|5[0-6]|6(?:1\\d|9\\d{2}|\\d)|7(?:3|5[0-2]|[6-9]\\d)\\d|8(?:\\d|9\\d{2})|9(?:1\\d|[5-7]\\d{2}|[089]))\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["1|2[245]"],"0$1"],[,"(2)(\\d{4})(\\d{4})","$1 $2 $3",["251"],"0$1"],[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["432|67|81"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3,4})","$1 $2 $3",["[4-8]"],"0$1"],[,"(9)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(9)([34]\\d{4})(\\d{4})","$1 $2 $3",["9(?:3[0-36]|4[0-57-9])"],"0$1"],[,"(9)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92[56]"],"0$1"],[,"(9)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["93"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[57-9]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"[12](?:1\\d|2(?:[1-3]\\d?|7\\d)|3[2-8]\\d{1,2}|4[2-68]\\d{1,2}|5[1-4689]\\d{1,2})\\d{5}|5[0568]\\d{6}",,,,"50123456",,,,[6,7]],[,,"(?:8(?:[05689]\\d|3[01])|9[013-9]\\d)\\d{5}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"7[05-8]\\d{6}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"([12]\\d)(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"([12]2\\d)(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"([12]\\d{3})(\\d{5})","$1 $2",["[12](?:27|[3-5])","[12](?:27|[3-5]\\d)2"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[57-9]"],"$1"],[,"([12]\\d{4})(\\d{4,5})","$1 $2",["[12](?:27|[3-5])","[12](?:27|[3-5]\\d)[4-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"[268]\\d{7}",,,,,,,[8]],[,,"(?:28[2-57-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345"],[,,"6(?:[2356]\\d|8[158])\\d{5}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"([268]\\d{3})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[5-8])|32[1238]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[5-8])|32[1238]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"596(?:0[0-7]|10|2[7-9]|3[05-9]|4[0-46-8]|[5-7]\\d|8[09]|9[4-8])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-47-9]\\d|5[0-6]|6[0-4])|727)\\d{4}",,,,"696201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"[2-48]\\d{7}",,,,,,,[8]],[,,"25[08]\\d{5}|35\\d{6}|45[1-7]\\d{5}",,,,"35123456"],[,,"[234][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"([2-48]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"664491\\d{4}",,,,"6644912345",,,,[7]],[,,"66449[2-6]\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"[2357-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:[169]\\d|3[1-4])|[1-357]\\d{2})\\d{4}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d{2})|9(?:2(?:1[01]|31)|69[67]|8(?:1[1-3]|89|97)|9\\d{2}))\\d{4}",,,,"96961234"],[,,"800[3467]\\d{4}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|6\\d{2}|70\\d|9[0168]\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"[2-9]\\d{6,7}",,,,,,,[7,8]],[,,"(?:2(?:[03478]\\d|1[0-7]|6[1-69])|4(?:[013568]\\d|2[4-7])|5(?:44\\d|471)|6\\d{2}|8(?:14|3[129]))\\d{4}",,,,"2012345"],[,,"5(?:2[589]\\d|4(?:2[1-389]|[489]\\d|7[1-9])|7\\d{2}|8(?:[0-689]\\d|7[15-8])|9[0-8]\\d)\\d{4}",,,,"52512345",,,[8]],[,,"80[012]\\d{4}",,,,"8001234",,,[7]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[2-7]0|33)",,,,,,"020",,[[,"([2-46-9]\\d{2})(\\d{4})","$1 $2",["[2-46-9]"]],[,"(5\\d{3})(\\d{4})","$1 $2",["5"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"[346-8]\\d{6,9}|9(?:00\\d{7}|\\d{6})",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[57][02468]|6[024568]|8[024689]))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|7[2-9]\\d|9[15-9]\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[3467]|9(?:0[1-9]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]00"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4[05]0\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:1(?:\\d{2})?|[2789]\\d{2}|31\\d)\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|21\\d{2})\\d{5}",,,,"1234567"],[,,"(?:111|77\\d|88\\d|99\\d)\\d{6}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"31\\d{7}",,,,"310123456",,,[9]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(2\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[17-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["31"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"[1-9]\\d{9,10}",,,,,,,[10,11],[7,8]],[,,"(?:33|55|81)\\d{8}|(?:2(?:0[01]|2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-6][1-9]|[37][1-8]|8[1-35-9]|9[2-689])|5(?:88|9[1-79])|6(?:1[2-68]|[234][1-9]|5[1-3689]|6[12457-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2[1-8]|5[13-9]|8[1-69]|9[17])|8(?:2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))\\d{7}",,,,"2221234567",,,[10],[7,8]],[,,"1(?:(?:33|55|81)\\d{8}|(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-6][1-9]|[37][1-8]|8[1-35-9]|9[2-689])|5(?:88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[12457-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2[1-8]|5[13-9]|8[1-69]|9[17])|8(?:2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))\\d{7})",,,,"12221234567",,,[11]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0[12]|04[45](\\d{10})","1$1",,,[[,"([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["33|55|81"],"01 $1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2467]|3[0-2457-9]|5[089]|8[02-9]|9[0-35-9]"],"01 $1",,1],[,"(1)([358]\\d)(\\d{4})(\\d{4})","044 $2 $3 $4",["1(?:33|55|81)"],"$1",,1],[,"(1)(\\d{3})(\\d{3})(\\d{4})","044 $2 $3 $4",["1(?:[2467]|3[0-2457-9]|5[089]|8[2-9]|9[1-35-9])"],"$1",,1]],[[,"([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["33|55|81"],"01 $1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2467]|3[0-2457-9]|5[089]|8[02-9]|9[0-35-9]"],"01 $1",,1],[,"(1)([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3 $4",["1(?:33|55|81)"]],[,"(1)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1(?:[2467]|3[0-2457-9]|5[089]|8[2-9]|9[1-35-9])"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"[13-9]\\d{7,9}",,,,,,,[8,9,10],[6,7]],[,,"(?:3(?:2(?:0(?:11|2[0-8]|3[0-24-79]|[579]\\d|8[0-57-9])|1(?:0[6-9]|1[03-9]|[467]\\d|8[0-2]|9[13])|2(?:0[1-3]|2[2-4]|4[0-25-7]|6[0-8]|7[02-689]|8\\d|9[5-9])|3(?:0[0-3]|3[0-36]|8[0-35-9]|9[1-3])|6(?:0[0-5]|[139]\\d|8[15-8])|7(?:1\\d|2[0-7]|3[0-3]|42|7[0-356]|8[0-35-8])|8(?:00|4[78]|5[6-9])|93[58])|3(?:0(?:0[0-35-9]|10|5[01]|8[0-6]|9[39])|1(?:0[1-39]|10|2[02-469]|3[245]|4[0-3589]|6[0-35-9]|7[067]|8[0-57]|9[0-278])|2(?:1[3467]|2[45]|4[1-3]|5[0689]|6[04589]|7[0-3579]|8[0-489]|9[0-27])|3(?:1[7-9]|2[1-6]|4[1-689]|5[89]|6[1-3]|7\\d|8[125]|9[236])|6(?:[12]0|3[01]|5[0-256]|6[08]|8[45]))|4(?:0(?:09|[14]\\d|2[0-8]|3[12]|5[01]|65)|1(?:0[0-8]|31|4\\d|6[12])|2(?:17|5[0-35-9]|6[024-6]|7[0189]|8[057-9]|9\\d)|770|8(?:0[0-2]|1[0-3569]|2[01]))|5(?:0(?:2[0-2]|3[0-35-9])|1(?:0[1-3]|1[05]|2[0-6]|31|6[1-7]|9[1258])|270|48[0-5]|5(?:1\\d|2[0-6]|4[0-589]|6[125-9]|9[01])|6(?:1[1-4]|2[0-589]|3\\d|5[0-3])|7(?:21|40)|8(?:7[06-9]|8[025-9]|9[12]))|6(?:0(?:2[0-28]|3[24-9]|4[246-9]|5[57]|6[13-6]|7[358]|8[1247]|9[0-59])|1(?:[04][0-58]|15|2[02-8]|3[015-9]|5[016-8]|7[7-9]|8[14-9]|9[1-356])|2(?:[05]\\d|11|[46][1-3]|7[02-79]|8[015-7])|303|4(?:1[129]|2[01]|3[36]|6[0-2])|690|7(?:3\\d|89))|7(?:118|2(?:0[02]|6[01])|4(?:[59]\\d|8[01])|6(?:1[01]|2\\d|5[0-2]|6[0-69])|7(?:1[0-37-9]|[28]\\d|3[1-5]|7[0-3])|8(?:[04]\\d|3[129]|59|6[1-356]|7[02-79]|8[02-7]|90)|9(?:10|3[1-3]|4[016-9]|[56]\\d|7[12]|8\\d))|8(?:0(?:0[08]|11|2[0-7]|5[12]|6\\d|7[013-69]|8[0-24]|9[0-5])|100|21[0-36]|3(?:08|1\\d|2[0-589]|31)|408|5(?:2[0-35-79]|88)|6(?:0[0-259]|5[5-79]|6[01]|8[46-9]|9[019])|7(?:0[35-8]|2[3-7]|3\\d|4[0149]|5[0-2]|6[016-9]|7[5-9]|8[037]|90)|8(?:00|61|7[0-3]|8\\d|9[0-4])|9(?:1[1-3]|[2-5]\\d|6[1-4689]|8[89]|9[0-689]))|9(?:0(?:1[0-289]|2[15]|5[014-9]|7[04-68]|8[0-256])|1(?:0[0-356]|3[0-49]|4[015]|7[0-59]|9[15])|2(?:0[0-25-7]|12|2[1-6]|3[1256]|7[14]|8\\d)|3[68]8|41[01]|5(?:14|2[01]|4[03-9]|6[5-79]|7[0-2569])))\\d|4(?:2(?:0[01]|1[07-9]|2[02-46-9]|38|4[0-28]|5[0-589]|6[0-47-9]|8[0-389]|9[0-38])\\d|3(?:0[5-9]|[12][034]|3[0-37]|47|5[168]|6[7-9]|7[0135-8]|8\\d|9[0-27-9])\\d|4(?:[02-9]\\d{2}|1(?:[02-9]\\d|10))|5(?:[07]\\d{2}|1[0-358]\\d|2[1246]\\d|3[06-9]\\d|4[0589]\\d|5[12457-9]\\d|6[0-689]\\d|8(?:[0-57-9]\\d|60)|9(?:[2-57-9]\\d|60))|6(?:0[79]|1[0-689]|2[0135-9]|[3-5]\\d|6[07-9]|7[23]|8[03-9]|99)\\d|7(?:0[0-59]\\d|1[04679]\\d|2(?:[02-9]\\d|10)|[37]\\d{2}|4(?:[0178]\\d|5[0-6])|5(?:[0-57-9]\\d|60)|6[024-689]\\d|8[0-79]\\d|9(?:[0479]\\d|3[01]))|8(?:1[0189]\\d|2[046-9]\\d|3[058]\\d|5[029]\\d|6(?:[0689]\\d|40)|8[14568]\\d|9[0-389]\\d)|9(?:0[1368]\\d|1[13-9]\\d|[27]\\d{2}|3(?:[0-368]\\d|7[0-3])|4[013-79]\\d|5[0-35689]\\d|6[0-46-9]\\d|8[0-24-9]\\d|97\\d))|5(?:2(?:0[13589]\\d|1[0-2]\\d|2[056]\\d|3(?:[067]\\d|2[01])|4[0-69]\\d|5[3-6]\\d|8[0-25-9]\\d|9[0-469]\\d)|3(?:[12][0-38]|3[0-37]|4[89]|5[01346-9]|[67]\\d|8[01589]|95)\\d|4(?:0[1346]\\d|1[02-35-9]\\d|2[1379]\\d|3[0-46-9]\\d|4[013689]\\d|[59]\\d{2}|6(?:[15-9]\\d|20)|7[036-9]\\d|8[015-8]\\d)|5(?:0[167]\\d|17\\d|2[025-9]\\d|3[035-7]\\d|4[0-35-9]\\d|8[13]\\d|9(?:[124-9]\\d|31))|6(?:0[89]\\d|1[02-46-8]\\d|2[0-69]\\d|3(?:[1-367]\\d|40)|4[0-689]\\d|5(?:[0-24-9]\\d|30)|6[1457-9]\\d|7\\d{2}|8[0-57-9]\\d|9[0-389]\\d)|7(?:1(?:[024679]\\d|80)|2[0-35-8]\\d|3[23]\\d|4[34]\\d|5[0-36-9]\\d|6[356-9]\\d|7\\d{2}|8(?:[23]\\d|[01]1)|9(?:[1-689]\\d|70))|8(?:0[145-9]\\d|1[0-2]\\d|2[09]\\d|3(?:[058]\\d|0[017])|4[016-9]\\d|5[02-9]\\d|7(?:10|2\\d)|8[013589]\\d|9[0-57-9]\\d)|9[23]0\\d)|6(?:2(?:2[1246-9]\\d|3[0-5]\\d|4[02]\\d|5[1-3]\\d|[68]\\d{2}|7(?:[04-8]\\d|10)|9[2-5]\\d)|3(?:1(?:[125-9]\\d|3[01])|3[0-7]\\d|5[0-478]\\d|79\\d|8[3-578]\\d|9[018]\\d)|4(?:1[015]|[2-689]\\d|7[1-79])\\d|5(?:09\\d|1(?:10|[2479]\\d)|2[1-579]\\d|3(?:[0-467]\\d|50)|4[0-24-9]\\d|5\\d{2}|60\\d)|6(?:0[13]\\d|1[0-57]\\d|2[03]\\d|3[0-478]\\d|4[0-8]\\d|5[013-689]\\d|6[0-467]\\d|[78]\\d{2}|9(?:[13-9]\\d|20))|7(?:01|2[06-9]|3[367]|5[7-9]|6\\d|7[0156]|8[12]|9[0-47-9])\\d|85[0-26]\\d|9(?:0[16
17]|10|[57]\\d|6[02-9]|8[013-9])\\d)|7(?:2(?:0[7-9]|1[016-9]|2[0-8]|[39]\\d|4[014]|5[0-79]|6[125-8]|7[1246-9]|8[37-9])\\d|3(?:0[0-5]|[35]\\d|40|5[0-478]|6[0-5]|8[0-26-8])\\d|4(?:0[07-9]|[1-35]\\d|6[7-9]|7[57]|8[1-68])\\d|5(?:0[04-9]|1[0-68]|2[0-378]|3[0-3]|5\\d|6[0-2]|7[018]|8[5-7]|9[05-9])\\d|6(?:5[0-24-9]|6[0-3568]|7[0457-9]|8[02-9]|9\\d)\\d|7(?:0[25-8]\\d|1(?:[01]\\d|20)|2[0-2]\\d|3[489]\\d|[457-9]\\d{2}|6(?:[0-8]\\d|90))|8(?:01[01]|10\\d|[289]\\d{2}|3(?:[028]\\d|10)|50\\d|6[0-357-9]\\d|7(?:[0235-9]\\d|[14]0))|9(?:0(?:[0246-8]\\d|10)|[1-4]\\d{2}|50\\d|6[014589]\\d|[7-9]0\\d))|8(?:2(?:2(?:[013-5]\\d|[28][0-8]|6[016]|7[0-589]|9[0-49])|3(?:[02][0-689]|1[1-59]|[3-7]\\d|8[0-389]|9[13])|4(?:0[1-3]|[1-8]\\d|9[1-359])|5(?:0[1-7]|[17]\\d|20|3[0-26-9]|4[1-9]|5[0-35]|8[0-689]|9[02367])|6(?:[147]\\d|2[0-25-9]|39|5[014-9]|6[1-9]|8[1-8]|9[089])|7(?:0[017-9]|1[1-356]|20|3[01457-9]|4[15]|5[0-25]|6[0-6]|70|8[0-2]|9[01378])|8(?:0[3-57-9]|[15]0|2[124-9]|3[01]|4[02-6]|6[02-578]|7\\d|8[25-8]|9[04-689]))|3(?:220|3(?:0[089]|10|2[0-7]|3[7-9]|4[0-48])|4(?:0[68]|1[0-478]|2[5-79]|3[024-9]|50|6\\d|7[0-57]|8[05]|96)|5(?:4[4578]|55|6[2-9]|70|8[459]|92))|4(?:2(?:[15]\\d|2[0-489]|3[124-9])|3(?:0[1-8]|[1-4]\\d|5[0-3]|6[1-7]|7[56]|8[0-4]|9[1-578])|4(?:05|80)|555|6(?:1[0-3]|20|3[1-4]|4[0-24-7]|5\\d|6[0-2]|71|8[0-47-9]|9[0-689])|7(02|1[79]|21|3[0-2468]|5[0-5]|6[0256]|7[0-8]|8[01589]|9[026-9])|8(?:0[1-9]|1[0-3568]|2[0138]|3[0-4]|4[046-9]|5[06]|6\\d|7[0-579]|80|9[0-8]))|5(?:2(?:0[0-26]|1\\d|2[0-5]|3[18]|4[0-2]|6[3-68]|70|8[025-9]|9[05-9])|3(?:10|2\\d|31|95)|4(?:0[1-7]|[1-4]\\d|5[02-6]|6[0-3]|7[0-245]|8[125]|9[1-6])|5(?:40|55)|6(?:0[1459]|1[0-8]|2[0-36-8]|3[0-35-8]|[45]\\d|6[0-8]|80)|7(?:1[07-9]|20|3[3-9]|4[02-4]|5[05689]|6[015-9]|7\\d|8[045]|9[0-6]))|6(?:2(?:01|3[12]|5[1-7]|60|8[1-6]|9[0-8])|3(?:0[0137]|[134]\\d|2[0-8]|[59][01]|60|[78]1)|4(?:2[2-4]|49|5[17]|6\\d|7[0-46-9]|8[0-689])|5(?:0[6-8]|55|8[0149]|90)|8(?:5\\d|[68]0)|9(?:5[12]|81))|7(?:2(?:0[189]|[12][1-9]|3[0-47]|50)|3(?:[01][1-9]|3\\d|4[0-245]|6[4-9]|7[237-9]|9[12])|4(?:[0-2]\\d|3[167-9]|[45][0-3]|6[0-8]|7[25-9]|8[0-6]|90)|5(?:0[1-9]|[89]\\d)|7(?:1[89]|[27]\\d|3[013-9]|4[0-8]|50|6[01568]|82)|8(?:[03][1-3]|1[0-28]|2[0-38]|48|5[0-4]|6[1-3]|7[124]|8[013-57-9]|9[07]))|8(?:2(?:0[13-7]|[1-9]\\d)|3(?:0[1-47-9]|[128]\\d|3[0-4]|4[1-9]|5[0-35-7]|6[0-46-9]|9[3-7])|4(?:0[1-58]|1[1-5]|[2-57-9]\\d|69)|5(?:1[1-35-9]|2\\d|3[2-8]|52)|6(?:0[2-9]|1[1-8]|[23]\\d|41|5[12367]|6[1-9]|7[14-9]|8[02-8]|9[05])|7(?:0[1-589]|[1-35-8]\\d|4[0-7]|9[0-46-9])|8(?:01|30|5[0-48]|6[13]|7\\d|8[013-689]|9[24-9])|9(?:0[2-4689]|1\\d|2[08]|3[18]|4[03]|59|6[0-36-9]|7[0-35-79]|8[1235]))|9(?:2(?:[057][1-9]|[1-3]\\d|4[0-8]|6[1-5]|8[015-9]|9[04-6])|300|4(?:01|36|6[1-6]|[89][12])|5(?:0[25689]|1\\d|2[0134]|3[1-8]|5[17]|6[0-35-9]|7[0-7]|91)|6(?:1[1-9]|2[23]|3[0-4]|6[03-9]|7[0-7])|7(?:0[1-68]|1[1-8]|2[25-9]|3[056]|4[4-9]|[5-8]\\d|9[0-46-9])|8(?:0[1-7]|[189]\\d|2[1-46]|4[1-689]|5[0-79]|6[1-9]|71)|9(?:0[1-3]|1\\d|2[0-35-7]|3[67]|4[12]|5[0-249]|6[5-9]|75|8[1-6])))|9(?:2(?:0[458]\\d|1[2-57]\\d|2[0-589]\\d|[39]\\d{2}|4(?:[02-9]\\d|10)|5(?:[024-6]\\d|[7-9]0)|6(?:[03-9]\\d|20)|7[0-26-9]\\d|8(?:[0-24-68]\\d|7[01]))|3(?:0[0-2689]\\d|1(?:[0235]\\d|1[0-2]|4[01])|2(?:0[01]|[1-57-9]\\d|6[0-2])|3(?:00|1[0-4]|2\\d)|4[05]\\d|5[0-3568]\\d|6(?:[1-357-9]\\d|60)|[78]0\\d)|4(?:0[24578]\\d|1[02-57-9]\\d|2\\d{2}|3(?:[0278]\\d|1[01]|60)|4[013579]\\d|5[0-8]\\d|6[0678]\\d|7[013-9]\\d|8[01569]\\d)|5(0(?:[589]\\d|7[01])|1\\d{2}|2[0159]\\d|3[14689]\\d|4[0-46-9]\\d|5[0-35-9]\\d|6[0156-8]\\d|7[0-35]\\d|8[0-7]\\d|9[0-3589]\\d)|6(?:0[269]\\d|[12]\\d{2}|3[0-57-9]\\d|44[0-2]|5[01379]\\d|6[02-9]\\d|7[69]\\d|8(?:[0-24-8]\\d|30)|9(?:[0-24-9]\\d|3[01]))|7(?:0[0136-8]|1[02-4]|2[156]|3[258]|[489]\\d|5[0-589]|6[024-9]|7[0-689])\\d|8(?:0(?:0[01]|1\\d)|1[3-9]\\d|[23]\\d{2}|4[0-24-689]\\d|5[0-689]\\d|6[02-9]\\d|7(?:[01]0|[2-4]\\d)|888)|9(?:00\\d|1[2-57-9]\\d|2(?:00|1[01]|[238]\\d)|3(?:[2-467]\\d|50)|4[4-9]\\d|5(?:[0-2457-9]\\d|60)|6[0156]\\d|7[04-9]\\d|8[01]\\d)))\\d{3}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])\\d|1(?:[1-5]\\d{2}|6(?:0[5-9]|[1-9]\\d))\\d|[23679][2-9]\\d{2}|4(?:[235-9]\\d{2}|400)|59\\d{3}|8(?:1[23]\\d|[236]\\d{2}|4(?:[06]\\d|7[0-4])|5[7-9]\\d|7[016-9]\\d|8(?:[01]\\d|[27][0-4])|9[0-8]\\d))\\d{4}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"154(?:6(?:0\\d|1[0-3])|8(?:[25]1|4[0189]|7[0-4679]))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"([4-79])(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(3)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"([18]\\d)(\\d{3})(\\d{3,4})","$1-$2 $3",["1[02-46-9][1-9]|8"],"0$1"],[,"(1)([36-8]00)(\\d{2})(\\d{4})","$1-$2-$3-$4",["1[36-8]0","1[36-8]00"]],[,"(11)(\\d{4})(\\d{4})","$1-$2 $3",["11"],"0$1"],[,"(15[49])(\\d{3})(\\d{4})","$1-$2 $3",["15[49]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"[28]\\d{7,8}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-7]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"([28]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-7]"]],[,"(80\\d)(\\d{3})(\\d{3})","$1 $2 $3",["80"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"6(?:1(?:17|2(?:[0189]\\d|[2-6]|7\\d?)|3(?:[01378]|2\\d)|4(?:[024]|10?|3[15]?)|69|7[014])|2(?:17|5(?:[0-36-8]|4\\d?)|69|70)|3(?:17|2(?:[0237]\\d?|[14-689])|34|6[289]|7[01]|81)|4(?:17|2(?:[012]|7\\d?)|4(?:[06]|1\\d?)|5(?:[01357]|[25]\\d?)|69|7[01])|5(?:17|2(?:[0459]|[23678]\\d?)|69|7[01])|6(?:17|2(?:5|6\\d?)|38|42|69|7[01])|7(?:17|2(?:[569]|[234]\\d?)|3(?:0\\d?|[13])|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[125])\\d{7}",,,,"811234567",,,[9]],[,,,,,,,,,[-1]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d{2}|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(8\\d)(\\d{3})(\\d{4})","$1 $2 $3",["8[1-35]"],"0$1"],[,"(6\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(88)(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(870)(\\d{3})(\\d{3})","$1 $2 $3",["870"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"[2-57-9]\\d{5}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,,,,,,,,[-1]],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-46-9]|5[0-4]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[0289]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-7]|4[134]|5[14]|6[14578]|7[1-578])|1(?:4[145
1]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:8[089]|9\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["09|[289]"]],[,"(08)(\\d{3})(\\d{3})","$1 $2 $3",["08"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[012]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"3[58]\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,,,,,[[,"(\\d{2})(\\d{4})","$1 $2",["1"]],[,"(\\d)(\\d{5})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"[1-6]\\d{5,8}|9\\d{5,9}|[78]\\d{5,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"[12]\\d{6,7}|9(?:0[3-9]|[1-9]\\d)\\d{5}|(?:3\\d|4[023568]|5[02368]|6[02-469]|7[4-69]|8[2-9])\\d{6}|(?:4[47]|5[14579]|6[1578]|7[0-357])\\d{5,6}|(?:78|41)\\d{5}",,,,"12345678",,,[7,8],[5,6]],[,,"(?:1(?:7[34]\\d|8(?:04|[124579]\\d|8[0-3])|95\\d)|287[0-7]|3(?:18[1-8]|88[0-7]|9(?:8[5-9]|6[1-5]))|4(?:28[0-2]|6(?:7[1-9]|8[02-47])|88[0-2])|5(?:2(?:7[7-9]|8\\d)|38[1-79]|48[0-7]|68[4-7])|6(?:2(?:7[7-9]|8\\d)|4(?:3[7-9]|[68][129]|7[04-69]|9[1-8])|58[0-2]|98[7-9])|7(?:38[0-7]|69[1-8]|78[2-4])|8(?:28[3-9]|38[0-2]|4(?:2[12]|3[147-9]|5[346]|7[4-9]|8[014-689]|90)|58[1-8]|78[2-9]|88[5-7])|98[07]\\d)\\d{4}|(?:70(?:[1-689]\\d|7[0-3])|8(?:0(?:1[01]|[2-9]\\d)|1(?:[0-8]\\d|9[01]))|90[235-9]\\d)\\d{6}",,,,"8021234567",,,[8,10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:0[1-9]|[1-79])|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["70|8[01]|90[235-9]"],"0$1"],[,"([78]00)(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]00"],"0$1"],[,"([78]00)(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]00"],"0$1"],[,"(78)(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"[125-8]\\d{7}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|7[5-8]\\d|8\\d{2})\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"1\\d{4,8}|[2-7]\\d{8}|[89]\\d{6,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d{2}|8[478]\\d)\\d{6}",,,,"101234567",,,[9]],[,,"6[1-58]\\d{7}",,,,"612345678",,,[9]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6760|85\\d{2})\\d{5}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"([1-578]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1[035]|2[0346]|3[03568]|4[0356]|5[0358]|7|8[4578]"],"0$1"],[,"([1-5]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(6)(\\d{8})","$1 $2",["6[0-57-9]"],"0$1"],[,"(66)(\\d{7})","$1 $2",["66"],"0$1"],[,"(14)(\\d{3,4})","$1 $2",["14"],"$1"],[,"([89]0\\d)(\\d{4,7})","$1 $2",["[89]0"],"0$1"]],,[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1(?:[035]|[16-8]\\d)|2(?:[0346]|[259]\\d)|3(?:[03568]|[124]\\d)|4(?:[0356]|[17-9]\\d)|5(?:[0358]|[124679]\\d)|7\\d|8[458])",,,,"14023",,,[5,6]],[,,"140(?:1(?:[035]|[16-8]\\d)|2(?:[0346]|[259]\\d)|3(?:[03568]|[124]\\d)|4(?:[0356]|[17-9]\\d)|5(?:[0358]|[124679]\\d)|7\\d|8[458])",,,,"14020",,,[5,6]],,,[,,,,,,,,,[-1]]],NO:[,[,,"0\\d{4}|[2-9]\\d{7}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|5[89]|87|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"([489]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[489]"]],[,"([235-7]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}",,,,"01234"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"[1-8]\\d{7}
1|9(?:[1-69]\\d{6,8}|7[2-6]\\d{5,7}|8\\d{8})",,,,,,,[8,10],[6,7]],[,,"(?:1[0-6]\\d|2[13-79][2-6]|3[135-8][2-6]|4[146-9][2-6]|5[135-7][2-6]|6[13-9][2-6]|7[15-9][2-6]|8[1-46-9][2-6]|9[1-79][2-6])\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[0-3]|7[245]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(1)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-69]|7[15-9])"],"0$1"],[,"(9\\d{2})(\\d{7})","$1-$2",["9(?:6[013]|7[245]|8)"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"[458]\\d{6}",,,,,,,[7]],[,,"(?:444|888)\\d{4}",,,,"4441234"],[,,"55[4-9]\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"[1-5]\\d{3}",,,,,,,[4]],[,,"[34]\\d{3}",,,,"4002"],[,,"[125]\\d{3}",,,,"1234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"6[235-9]\\d{6}|[2-57-9]\\d{7,9}",,,,,,,[8,9,10],[7]],[,,"(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}|24099\\d{3}",,,,"32345678",,,[8],[7]],[,,"2(?:[028]\\d{7,8}|1\\d{6,8}|[79]\\d{7})",,,,"211234567"],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456"],[,,"90\\d{6,7}",,,,"900123456",,,[8,9]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["240|[346]|7[2-57-9]|9[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:1[1-9]|[69]|7[0-35-9])|70|86"],"0$1"],[,"(2\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["2[028]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["90"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|5|[89]0"],"0$1"]],,[,,"[28]6\\d{6,7}",,,,"26123456",,,[8,9]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:5|[279]\\d)\\d{6}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[2-6]\\d{6}",,,,"23123456",,,[8]],[,,"7[19]\\d{6}|9(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|500\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(2\\d)(\\d{6})","$1 $2",["2"]],[,"([79]\\d{3})(\\d{4})","$1 $2",["[79]"]],[,"([58]00)(\\d{4,6})","$1 $2",["[58]00"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"[1-9]\\d{6,7}",,,,,,,[7,8]],[,,"(?:1(?:0[0-8]|1[49]|2[37]|3[0137]|4[147]|5[05]|6[58]|7[0167]|8[58]|9[139])|2(?:[0235679]\\d|1[0-7]|4[04-9]|8[028])|3(?:[089]\\d|1[014-7]|2[0-35]|3[03]|4[0-579]|55|6[068]|7[06-8])|4(?:3[013-69]|4\\d|7[0-589])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-267]|3[06]|[469]0|5[06-9]|7[0-24-79]|8[7-9])|8(?:09|[34]\\d|5[0134]|8[02])|9(?:0[6-9]|1[016-8]|2[036-8]|3[3679]|40|5[0489]|6[06-9]|7[046-9]|8[36-8]|9[1-9]))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|8(?:1[01]|7[23]))\\d{4}|6(?:[024-9]\\d|1[0-5]|3[0-24-9])\\d{5}",,,,"61234567"],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"(?:8(?:55|60|7[78])|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["6"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"[14-9]\\d{7,8}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|4[1-4]|5[1-46]|6[1-7]|7[2-46]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"19(?:1[124]|77|90)00","0"," Anexo ",,"0",,,,[[,"(1)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"([4-8]\\d)(\\d{6})","$1 $2",["[4-7]|8[2-4]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5,7}|8\\d{7}",,,,,,,[6,8]],[,,"4(?:[09][45689]\\d|4)\\d{4}",,,,"40412345"],[,,"8[79]\\d{6}",,,,"87123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4[09]|8[79]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,"441234",,,[6]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PG:[,[,,"[1-9]\\d{6,7}",,,,,,,[7,8]],[,,"(?:3[0-2]\\d|4[257]\\d|5[34]\\d|64[1-9]|77(?:[0-24]\\d|30)|85[02-46-9]|9[78]\\d)\\d{4}
1",,,,"3123456",,,[7]],[,,"7(?:[0-689]\\d|75)\\d{5}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-47]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"140[1-3]|00",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[13-689]|27"]],[,"(\\d{4})(\\d{4})","$1 $2",["20|7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"1\\d{10,12}|2\\d{5,7}|[3-7]\\d{8}|8\\d{7,9}|9\\d{9}",,,,,,,[6,8,9,10,11,12,13],[5,7]],[,,"2\\d{5}(?:\\d{2})?|(?:3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578]|8[2-8])\\d{7}|88(?:22\\d{6}|42\\d{4})",,,,"21234567",,,[6,8,9,10],[5,7]],[,,"(?:81[37]|9(?:0[5-9]|1[024-9]|2[0-35-9]|3[02-9]|4[235-9]|5[056]|6[5-7]|7[34-79]|89|9[4-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(2)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|5(?:22|44)|642|8(?:62|8[245])","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"([3-8]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[3-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["81|9"],"0$1"],[,"(1800)(\\d{3})(\\d{4})","$1 $2 $3",["180","1800"]],[,"(1800)(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["180","1800"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"1\\d{8}|[2-8]\\d{5,11}|9(?:[013-9]\\d{4,10}|2\\d(?:111\\d{6}|\\d{3,7}))",,,,,,,[8,9,10,11,12],[6,7]],[,,"(?:21|42)[2-9]\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}|58[126]\\d{7}",,,,"2123456789",,,[9,10],[6,7,8]],[,,"3(?:[014]\\d|2[0-5]|3[0-7]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"([89]00)(\\d{3})(\\d{2})","$1 $2 $3",["[89]00"],"0$1"],[,"(1\\d{3})(\\d{5})","$1 $2",["1"],"$1"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{3})(\\d{6,7})","$1 $2",["2[349]|45|54|60|72|8[2-5]|9[2-469]","(?:2[349]|45|54|60|72|8[2-5]|9[2-469])\\d[2-9]"],"(0$1)"],[,"(58\\d{3})(\\d{5})","$1 $2",["58[126]"],"(0$1)"],[,"(3\\d{2})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(111)(\\d{3})(\\d{3})","$1 $2 $3 $4",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)1","(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)11","(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)111"],"(0$1)"],[,"(\\d{3})(111)(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[349]|45|54|60|72|8[2-5]|9[2-9]","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d1","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d11","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d111"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:[1-8]|0[468])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"[1-57-9]\\d{6,8}|6\\d{5,8}",,,,,,,[6,7,8,9]],[,,"(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:\\d{7}|19\\d{3})",,,,"123456789",,,[7,9]],[,,"(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["11[68]|64"]],[,"(\\d{5})","$1",["19"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["26|39|45|5[0137]|6[0469]|7[02389]|8[08]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2}
1)","$1 $2 $3 $4",["[14]|2[0-57-9]|3[2-4]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145]"]]],,[,,"64\\d{4,7}",,,,"641234567"],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"[45]\\d{5}",,,,,,,[6]],[,,"(?:4[1-3]|50)\\d{4}",,,,"411234"],[,,"(?:4[02-4]|5[05])\\d{4}",,,,"551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"([45]\\d)(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"[5789]\\d{9}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"1\\d{9}|[24589]\\d{7,8}",,,,,,,[8,9,10],[7]],[,,"(?:22[234789]|42[45]|82[01458]|92[369])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"([2489])(2\\d{2})(\\d{4})","$1 $2 $3",["[2489]2"],"0$1"],[,"(5[69]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["5[69]"],"0$1"],[,"(1[78]00)(\\d{3})(\\d{3})","$1 $2 $3",["1[78]0","1[78]00"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"[2-46-9]\\d{8}",,,,,,,[9]],[,,"2(?:[12]\\d|[35][1-689]|4[1-59]|6[1-35689]|7[1-9]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"9(?:[1236]\\d{2}|480)\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"6(?:0[178]|4[68])\\d{6}|76(?:0[1-57]|1[2-47]|2[237])\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(2\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"([2-46-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[3-9]|[346-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7(?:0(?:7\\d|8[17]))\\d{5}",,,,"707123456"],,,[,,"600\\d{6}",,,,"600110000"]],PW:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:6[234689]0|77\\d|88[0-4])\\d{4}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"5[0-5]\\d{4,7}|[2-46-9]\\d{5,8}",,,,,,,[6,7,8,9],[5]],[,,"(?:[26]1|3[289]|4[124678]|7[123]|8[1236])\\d{5,7}|(?:2(?:2[4568]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51)|4(?:18|2[45]|3[12]|5[13]|64|71|9[1-47])|5(?:[1-4]\\d|5[0234])|6(?:3[1-3]|44|7[1-4678])|7(?:17|4[0-4]|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:6[12]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["9[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["870","8700"]],[,"(\\d{3})(\\d{4,5})","$1 $2",["[2-8][1-9]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8][1-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567"],,,[,,,,,,,,,[-1]]],QA:[,[,,"[2-8]\\d{6,7}",,,,,,,[7,8]],[,,"4[04]\\d{6}",,,,"44123456",,,[8]],[,,"[3567]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"([28]\\d{2})(\\d{4})","$1 $2",["[28]"]],[,"([3-7]\\d{3})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2(?:[12]\\d|61)\\d{4}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"[268]\\d{8}",,,,,,,[9]],[,,"262\\d{6}",,,,"262161234"],[,,"69(?:2\\d{2}|3(?:0[0-46]|1[013]|2[0-2]|3[0139]|4[0-7]|5[05]|6[0-26]|7[0-27]|8[0-38]|9[0-479]))\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RE",262,"00","0",,,"0",,,,[[,"([268]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[268]"],"0$1"]],,[,,,,,,,,,[-1]],1,"262|69|8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"[23]\\d{5,8}|[7-9]\\d{8}",,,,,,,[6,9]],[,,"2(?:1(?:\\d{7}|9\\d{3}
1)|[3-6](?:\\d{7}|\\d9\\d{2}))|3(?:1\\d{4}(?:\\d{3})?|[3-6]\\d{7})",,,,"211234567"],[,,"7(?:[02-7]\\d{2}|1(?:[01]\\d|20)|8[03-8]\\d|99\\d)\\d{5}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[036]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23][3-7]|[7-9]"],"0$1"],[,"(2\\d{2})(\\d{3})","$1 $2",["2[3-6]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"37\\d{7}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"[126-9]\\d{4,11}|3(?:[0-79]\\d{3,10}|8[2-9]\\d{2,9})",,,,,,,[6,7,8,9,10,11,12],[5]],[,,"(?:1(?:[02-9][2-9]|1[1-9])\\d|2(?:[0-24-7][2-9]\\d|[389](?:0[2-9]|[2-9]\\d))|3(?:[0-8][2-9]\\d|9(?:[2-9]\\d|0[2-9])))\\d{3,8}",,,,"10234567",,,[7,8,9,10,11,12],[5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:90[0169]|78\\d)\\d{3,7}",,,,"90012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"([23]\\d{2})(\\d{4,9})","$1 $2",["(?:2[389]|39)0"],"0$1"],[,"([1-3]\\d)(\\d{5,10})","$1 $2",["1|2(?:[0-24-7]|[389][1-9])|3(?:[0-8]|9[1-9])"],"0$1"],[,"(6\\d)(\\d{6,8})","$1 $2",["6"],"0$1"],[,"([89]\\d{2})(\\d{3,9})","$1 $2",["[89]"],"0$1"],[,"(7[26])(\\d{4,9})","$1 $2",["7[26]"],"0$1"],[,"(7[08]\\d)(\\d{4,9})","$1 $2",["7[08]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"[347-9]\\d{9}",,,,,,,[10]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567"],[,,"9\\d{9}",,,,"9123456789"],[,,"80[04]\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567"],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567"],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[1-79]"],"$1",,1],[,"([3489]\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[3489]"],"8 ($1)",,1],[,"(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1]],[[,"([3489]\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[3489]"],"8 ($1)",,1],[,"(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"[027-9]\\d{7,8}",,,,,,,[8,9]],[,,"2[258]\\d{7}|06\\d{6}",,,,"250123456"],[,,"7[238]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(2\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],[,"([7-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],[,"(0\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"[15]\\d{8}|8\\d{9}|92\\d{7}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"(?:5(?:[013-689]\\d|7[0-36-8])|811\\d)\\d{6}",,,,"512345678"],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"92[05]\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(1\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1[1-467]"],"0$1"],[,"(5\\d)(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(92\\d{2})(\\d{5})","$1 $2",["92"],"$1"],[,"(800)(\\d{3})(\\d{4})","$1 $2 $3",["800"],"$1"],[,"(811)(\\d{3})(\\d{3,4})","$1 $2 $3",["811"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SB:[,[,,"[1-9]\\d{4,6}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|7(?:30|[46-8]\\d|5[025-9]|9[0-5])\\d{4}|8[4-9]\\d{5}|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["[7-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"[24689]\\d{5,6}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[5-8]\\d{5}",,,,"2510123"],[,,"8000\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:64\\d|971)\\d{4}",,,,"6412345"],"SC",248,"0(?:[02]|10?)",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:[0-25]\\d|8[3567])\\d{6}",,,,"121231234"],[,,"9[0-3569]\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"[1-35-9]\\d{5,11}|4\\d{6,8}",,,,,,,[6,7,8,9,10,12]],[,,"1(?:0[1-8]\\d{6}|[136]\\d{5,7}|(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)\\d{5,6})|2(?:[136]\\d{5,7}|(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])\\d{5,6})|3(?:[356]\\d{5,7}|(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])\\d{5,6})|4(?:[0246]\\d{5,7}|(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])\\d{5,6})|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])\\d{5,6}|6(?:[03]\\d{5,7}|(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])\\d{5,6})|8\\d{6,8}|9(?:0[1-9]\\d{4,6}|(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8])\\d{5,6})",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77(?:0\\d{3}(?:\\d{3})?|[1-7]\\d{6})",,,,"771234567",,,[6,9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(8)(\\d{2,3})(\\d{2,3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"([1-69]\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|90"],"0$1"],[,"([1-469]\\d)(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"],"0$1"],[,"(7\\d)(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["7"],"0$1"],[,"(77)(\\d{2})(\\d{2})","$1-$2$3",["77"],"0$1"],[,"(20)(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9[034]"],"0$1"],[,"(9[034]\\d)(\\d{4})","$1-$2",["9[034]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["25[245]|67[3-6]"],"0$1"]],[[,"(8)(\\d{2,3})(\\d{2,3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"([1-69]\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|90"]],[,"([1-469]\\d)(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"]],[,"(7\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7"]],[,"(77)(\\d{2})(\\d{2})","$1 $2 $3",["77"]],[,"(20)(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9[034]"]],[,"(9[034]\\d)(\\d{4})","$1 $2",["9[034]"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["25[245]|67[3-6]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"(?:25[245]|67[3-6])\\d{9}
1",,,,"254123456789",,,[12]]],SG:[,[,,"[36]\\d{7}|[17-9]\\d{7,10}",,,,,,,[8,10,11]],[,,"6[1-9]\\d{6}",,,,"61234567",,,[8]],[,,"(?:8[1-8]|9[0-8])\\d{6}",,,,"81234567",,,[8]],[,,"1?800\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[12]\\d{6}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"([3689]\\d{3})(\\d{4})","$1 $2",["[369]|8[1-9]"]],[,"(1[89]00)(\\d{3})(\\d{4})","$1 $2 $3",["1[89]0","1[89]00"]],[,"(7000)(\\d{4})(\\d{3})","$1 $2 $3",["700","7000"]],[,"(800)(\\d{3})(\\d{4})","$1 $2 $3",["800"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"[256]\\d{4}|8\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d{2}",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d{2}",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{6,7}|[89]\\d{4,7}",,,,,,,[5,6,7,8]],[,,"(?:1\\d|[25][2-8]|3[24-8]|4[24-8]|7[3-8])\\d{6}",,,,"11234567",,,[8],[7]],[,,"(?:[37][01]\\d|4[0139]\\d|51\\d|6(?:[48]\\d|5[15-7]|9[69]))\\d{5}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"90\\d{4,6}|89[1-3]\\d{2,5}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59|8[1-3])\\d{6}",,,,"59012345",,,[8]],"SI",386,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[12]|[34][24-8]|5[2-8]|7[3-8]"],"(0$1)"],[,"([3-7]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"([89][09])(\\d{3,6})","$1 $2",["[89][09]"],"0$1"],[,"([58]\\d{2})(\\d{5})","$1 $2",["59|8[1-3]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|[45789]\\d{7}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|5[89]|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}",,,,"01234"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"(?:[2-68]\\d{5,8}|9\\d{6,8})",,,,,,,[6,7,9]],[,,"2(?:1(?:6\\d{3,4}|7\\d{3})|[2-9]\\d{7})|[3-5][1-8](?:1(?:6\\d{2,3}|7\\d{3})|\\d{7})",,,,"221234567"],[,,"9(?:0(?:[1-8]\\d|9[1-9])|(?:1[0-24-9]|[45]\\d)\\d)\\d{5}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:[78]\\d{7}|00\\d{6})",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(2)(1[67])(\\d{3,4})","$1 $2 $3",["21[67]"],"0$1"],[,"([3-5]\\d)(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5]"],"0$1"],[,"(2)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"([3-5]\\d)(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"],[,"([689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(9090)(\\d{3})","$1 $2",["909","9090"],"0$1"]],,[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}|9090\\d{3}",,,,"800123456",,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"[2-9]\\d{7}",,,,,,,[8],[6]],[,,"[235]2[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:2[15]|3[03-5]|4[04]|5[05]|66|7[5-9]|8[08]|99)\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",,"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"[05-7]\\d{7,9}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})","0549$1",,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(0549)(\\d{6})","$1 $2",["054","0549"]],[,"(\\d{6})","0549 $1",["[89]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(0549)(\\d{6})","($1) $2",["054","0549"]],[,"(\\d{6})","(0549) $1",["[89]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"[3789]\\d{8}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}
1",,,,"301012345"],[,,"7(?:[06-8]\\d|21|90)\\d{6}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"39[01]\\d{6}|3392\\d{5}|93330\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[1-9]\\d{5,8}",,,,,,,[6,7,8,9]],[,,"(?:1\\d{1,2}|2[0-79]\\d|3[0-46-8]?\\d|4[0-7]?\\d|59\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:15\\d|2(?:4\\d|8)|3[59]\\d{2}|4[89]\\d{2}|6[1-9]?\\d{2}|7(?:[1-8]\\d|9\\d{1,2})|8[08]\\d{2}|9(?:0[67]|[2-9])\\d)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[13-5]|2[0-79]"]],[,"(\\d)(\\d{7})","$1 $2",["24|[67]"]],[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["15|28|6[1-35-9]|799|9[2-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3[59]|4[89]|6[24-6]|79|8[08]|90"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"[2-8]\\d{5,6}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|4\\d|5[2-58]|68\\d)\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[125-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-4]|5[2-58]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"18\\d{7}",,,,"181234567"],[,,"(?:12|9[1257])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"[29]\\d{6}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"9(?:0(?:0[5-9]|[1-9]\\d)|[89]\\d{2})\\d{3}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]\\d{6}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2[1-6]\\d{6}",,,,"21234567",,,[8]],[,,"[67]\\d{7}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"[5789]\\d{9}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-59]\\d{7,8}",,,,,,,[8,9],[6,7]],[,,"(?:1(?:1\\d?|4\\d|[2356])|2(?:1\\d?|[235])|3(?:[13]\\d|4)|4[13]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9(?:22|[3-589]\\d|6[024-9])\\d{6}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"[027]\\d{7}",,,,,,,[8]],[,,"2[2-9]\\d{6}",,,,"22171234"],[,,"7[6-9]\\d{6}",,,,"76123456"],[,,"0800\\d{4}",,,,"08001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[027]"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,"08001234"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"649(?:712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-7])|3(?:3[1-389]|4[1-8])|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,"64971[01]\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"[2679]\\d{7}",,,,,,,[8]],[,,"22(?:[3789]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[023568]\\d|77\\d|9\\d{2})\\d{5}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|44|55|66|77)\\d{5}",,,,"22212345"],[,,"(?:7[09]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"1\\d{8,9}|[2-9]\\d{7,8}",,,,,,,[8,9,10]],[,,"(?:2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"([13-9]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["14|[3-9]"],"0$1"],[,"(1[89]00)(\\d{3})(\\d{3})","$1 $2 $3",["1[89]0","1[89]00"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"[3-57-9]\\d{8}",,,,,,,[9],[3,5,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,7]],[,,"(?:41[18]|(?:5[05]|77|88|9[0-35-9])\\d)\\d{6}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810","8",,,"8",,"8~10",,[[,"([349]\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"],,,1],[,"([457-9]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[148]|[578]|9(?:[0235-9]|1[59])"],,,1],[,"(331700)(\\d)(\\d{2})","$1 $2 $3",["331","3317","33170","331700"],,,1],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]","3(?:[1245]|3(?:[02-9]|1[0-589]))"],,,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"[2-489]\\d{6}|7\\d{6,7}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[3-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7[3-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6[1-9]\\d{6}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["13|[2-5]"],"(8 $1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"3(?:[012]\\d|6[0-4]|91)\\d{5}|7\\d{7}|81200\\d{3}",,,,"71234567"],[,,"(?:[259]\\d|4[0-6])\\d{6}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"[02-8]\\d{4,6}",,,,,,,[5,7]],[,,"(?:2\\d|3[1-8]|4[1-4]|[56]0|7[0149]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:7[578]|8[47-9])\\d{5}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[1-6]|7[0-4]|8[05]"]],[,"(\\d{3})(\\d{4})","$1 $2",["7[5-9]|8[47-9]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"[2-589]\\d{9}|444\\d{4}",,,,,,,[7,10]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"5(?:(?:0[1-7]|22|[34]\\d|5[1-59]|9[246])\\d{2}|1616|6161)\\d{5}",,,,"5012345678",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|4(?:[0-35-9]|4[0-35-9])"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[02-69]|16)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["51|[89]"],"0$1",,1],[,"(444)(\\d{1})(\\d{3})","$1 $2 $3",["444"],,,1]],,[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"444\\d{4}",,,,"4441444",,,[7]],[,,"444\\d{4}|850\\d{7}",,,,"4441444"],,,[,,,,,,,,,[-1]]],TT:[,[,,"[589]\\d{9}",,,,,,,[10],[7]],[,,"868(?:2(?:01|[23]\\d)|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:2(?:6[6-9]|[789]\\d)|3(?:0[1-9]|1[02-9]|[2-9]\\d)|4[6-9]\\d|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"[279]\\d{4,6}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:70\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"2\\d{6,8}|[3-689]\\d{7,8}|7\\d{7,9}",,,,,,,[7,8,9,10]],[,,"(?:2(?:[235-8]\\d{3}|4\\d{2,3})|3[2-9]\\d{2}|4(?:[239]\\d|[78])\\d{2}|5[2-8]\\d{2}|6[235-79]\\d{2}|7[1-9]\\d{2}|8(?:2(?:3\\d|66)|[7-9]\\d{2}))\\d{4}",,,,"221234567",,,[8,9]],[,,"9[0-8]\\d{7}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}",,,,"800123456",,,[9]],[,,"20(?:2|[013-9]\\d{2})\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"TW",886,"0(?:0[25679]|19)","0","#",,"0",,,,[[,"(20)(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"([258]0)(\\d{3})(\\d{4})","$1 $2 $3",["20[013-9]|50[0-46-9]|80[0-79]"],"0$1"],[,"([2-8])(\\d{3,4})(\\d{4})","$1 $2 $3",["[25][2-8]|[346]|[78][1-9]"],"0$1"],[,"(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(70)(\\d{4})(\\d{4})","$1 $2 $3",["70"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"\\d{9}",,,,,,,[7,9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"(?:6[2-9]|7[13-9])\\d{7}",,,,"621234567",,,[9]],[,,"80[08]\\d{6}",,,,"800123456",,,[9]],[,,"90\\d{7}",,,,"900123456",,,[9]],[,,"8(?:40|6[01])\\d{6}",,,,"840123456",,,[9]],[,,,,,,,,,[-1]],[,,"41\\d{7}
1",,,,"412345678",,,[9]],"TZ",255,"00[056]","0",,,"0",,,,[[,"([24]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"([67]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"],[,"([89]\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[3-9]\\d{8}",,,,,,,[9],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,,[5,6,7]],[,,"(?:39|50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"391234567"],[,,"800\\d{6}",,,,"800123456"],[,,"900[2-49]\\d{5}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567"],"UA",380,"00","0",,,"0",,"0~0",,[[,"([3-9]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[38]9|4(?:[45][0-5]|87)|5(?:0|[67][37])|6[36-8]|7|9[1-9]","[38]9|4(?:[45][0-5]|87)|5(?:0|6(?:3[14-7]|7)|7[37])|6[36-8]|7|9[1-9]"],"0$1"],[,"([3-689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["(?:3[1-8]|4[136-8])2|5(?:[12457]2|6[24])|6(?:[12][29]|[49]2|5[24])|8[0-8]|90","3(?:[1-46-8]2[013-9]|52)|4(?:[1378]2|62[013-9])|5(?:[12457]2|6[24])|6(?:[12][29]|[49]2|5[24])|8[0-8]|90"],"0$1"],[,"([3-6]\\d{3})(\\d{5})","$1 $2",["3(?:[1-46-8]|5[013-9])|4(?:[137][013-9]|[45][6-9]|6|8[4-6])|5(?:[1245][013-9]|3|6[0135689]|7[4-6])|6(?:[12][13-8]|[49][013-9]|5[0135-9])","3(?:[1-46-8](?:[013-9]|22)|5[013-9])|4(?:[137][013-9]|[45][6-9]|6(?:[013-9]|22)|8[4-6])|5(?:[1245][013-9]|3|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][13-8]|[49][013-9]|5[0135-9])"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"\\d{9}",,,,,,,[9],[5,6,7]],[,,"20(?:[0147]\\d{3}|2(?:40|[5-9]\\d)\\d|3(?:0[0-4]|[2367]\\d)\\d|5[0-4]\\d{2}|6(?:00[0-2]|30[0-4]|[5-9]\\d{2})|8[0-2]\\d{2})\\d{3}|[34]\\d{8}",,,,"312345678",,,,[5,6,7]],[,,"7(?:0[0-7]\\d|[1578]\\d{2}|2(?:[03]\\d|60)|30\\d|4[0-4]\\d|9(?:[0-6]\\d|74))\\d{5}",,,,"712345678"],[,,"800[123]\\d{5}",,,,"800123456"],[,,"90[123]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{3})(\\d{6})","$1 $2",["20[0-8]|4(?:6[45]|[7-9])|[7-9]","20(?:[013-8]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["3|4(?:[1-5]|6[0-36-9])"],"0$1"],[,"(2024)(\\d{5})","$1 $2",["202","2024"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7]],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[012])|7(?:0[1-46-8]|1[02-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-258]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[012])|7(?:0[1-46-8]|1[02-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-258]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",,,,1],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",,,,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3"]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"[2489]\\d{6,7}",,,,,,,[7,8]],[,,"2\\d{7}|4[2-7]\\d{6}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"80[05]\\d{4}",,,,"8001234",,,[7]],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:1[3-9]\\d|0)","0"," int. ",,"0",,"00",,[[,"(\\d{4})(\\d{4})","$1 $2",["[24]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9[1-9]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["[89]0"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"[679]\\d{8}",,,,,,,[9],[7]],[,,"(?:6(?:1(?:22|3[124]|4[1-4]|5[123578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d{2}|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[12456]|9[135-8])|1[12]\\d|2(?:22|3[1345789]|4[123579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}",,,,"662345678",,,,[7]],[,,"6(?:1(?:2(?:98|2[01])|35[0-4]|50\\d|61[23]|7(?:[
101][017]|4\\d|55|9[5-9]))|2(?:11\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4])|7\\d{2})|5(?:19[01]|2(?:27|9[26])|30\\d|59\\d|7\\d{2})|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|3[79]\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79])|9[0-3]\\d)|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|5\\d|3[01]|7[0-4])|5[67]\\d|6(?:2[0-26]|8\\d)|7\\d{2}))\\d{4}|7(?:0\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|33\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078])|9[4-6]\\d)|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0127]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[05629]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07])))\\d{4}|9[0-57-9]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"([679]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[679]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"(?:0(?:878\\d{5}|6698\\d{5})|[1589]\\d{5,10}|3(?:[12457-9]\\d{8}|[36]\\d{7,9}))",,,,,,,[6,8,9,10,11]],[,,"06698\\d{5}",,,,"0669812345",,,[10]],[,,"3(?:[12457-9]\\d{8}|6\\d{7,8}|3\\d{7,9})",,,,"3123456789",,,[9,10,11]],[,,"80(?:0\\d{6}|3\\d{3})",,,,"800123456",,,[6,9]],[,,"0878\\d{5}|1(?:44|6[346])\\d{6}|89(?:2\\d{3}|4(?:[0-4]\\d{2}|[5-9]\\d{4})|5(?:[0-4]\\d{2}|[5-9]\\d{6})|9\\d{6})",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{6}|[17]\\d{3})",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,"848\\d{6}",,,,"848123456",,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VC:[,[,,"[5789]\\d{9}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-24-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-58])|5(?:2[6-9]|3[0-4]))\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VC",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[24589]\\d{9}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[58][1-9]|[467]\\d|9[1-6])|50[01])\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"900\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",,"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VG:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"284(?:(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}|496[0-5]\\d{3})",,,,"2842291234",,,,[7]],[,,"284(?:(?:3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|54[0-57])\\d{4}|496[6-9]\\d{3})",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[3589]\\d{9}",,,,,,,[10],[7]],[,,"340(?:2(?:01|2[0678]|44|77)|3(?:32|44)|4(?:22|7[34])|5(?:1[34]|55)|6(?:26|4[23]|77|9[023])|7(?:1[2-589]|27|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:01|2[0678]|44|77)|3(?:32|44)|4(?:22|7[34])|5(?:1[34]|55)|6(?:26|4[23]|77|9[023])|7(?:1[2-589]|27|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:(?:00|22|33|44|66|77|88)[2-9]|21[23])\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"1\\d{6,9}|2\\d{9}|6\\d{6,7}|7\\d{6}|8\\d{6,8}|9\\d{8}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|3[2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|8[2-7]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:9\\d|1(?:2\\d|6[2-9]|8[68]|99))\\d{7}|8(?:6[89]|8\\d|9[89])\\d{6}",,,,"912345678",,,[9,10]],[,,"1800\\d{4,6}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VN",84,"00","0",,,"0",,,,[[,"([17]99)(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(80)(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(69\\d)(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2[0-35-79]"],"0$1",,1],[,"([89]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8(?:8|9[89])|9"],"0$1",,1],[,"(1[2689]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[26]|8[68]|99)"],"0$1",,1],[,"(86[89])(\\d{3})(\\d{3})","$1 $2 $3",["86[89]"],"0$1",,1],[,"(1[89]00)(\\d{4,6})","$1 $2",["1[89]0","1[89]00"],"$1",,1]],,[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],[,,"[17]99\\d{4}|69\\d{5,6}|80\\d{5}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[2-57-9]\\d{4,6}",,,,,,,[5,7]],[,,"(?:2[02-9]\\d|3(?:[5-7]\\d|8[0-8])|48[4-9]|88\\d)\\d{2}",,,,"22123",,,[5]],[,,"(?:5(?:7[2-5]|[0-689]\\d)|7[013-7]\\d)\\d{4}",,,,"5912345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[579]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"3[03]\\d{3}|900\\d{4}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"[4-8]\\d{5}",,,,,,,[6]],[,,"(?:50|68|72)\\d{4}",,,,"501234"],[,,"(?:50|68|72|8[23])\\d{4}",,,,"501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234"]],WS:[,[,,"[2-8]\\d{4,6}",,,,,,,[5,6,7]],[,,"(?:[2-5]\\d|6[1-9]|84\\d{2})\\d{3}",,,,"22123",,,[5,7]],[,,"(?:60|7[25-7]\\d)\\d{4}",,,,"601234",,,[6,7]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(8\\d{2})(\\d{3,4})","$1 $2",["8"]],[,"(7\\d)(\\d{5})","$1 $2",["7"]],[,"(\\d{5})","$1",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"[23][89]\\d{6,7}|4[3-79]\\d{6}|[89]00\\d{5}",,,,,,,[8,9]],[,,"(?:2[89]0?|3(?:8|90?))\\d{6}",,,,"28012345"],[,,"4[3-79]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[23][89]|4[3-79]"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[89]00"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"[1-7]\\d{6,8}",,,,,,,[7,8,9],[6]],[,,"(?:1(?:7\\d|[2-68])|2[2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-68])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[0137]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"([1-7])(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],[,"(7\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["7[0137]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"[268]\\d{8}",,,,,,,[9]],[,,"269(?:0[67]|5[01]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[26]\\d|3[09]|[45]0|7[06-9]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"269|63",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,8}",,,,,,,[5,6,7,8,9]],[,,"(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:6\\d|7[0-46-9])\\d{7}|8(?:[1-4]\\d{1,5}|5\\d{5})\\d{2}",,,,"711234567"],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"86[2-9]\\d{6}|9[0-2]\\d{7}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87\\d{7}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(860)(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-79]|8(?:[0-57]|6[1-9])"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6}",,,,"861123456",,,[9]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"[289]\\d{8}",,,,,,,[9],[6,7]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6,7]],[,,"9[4-9]\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",,"$1"],[,"([1-8])(\\d{2})(\\d{4})","$1 $2 $3",["[1-8]"],"$1"],[,"([29]\\d)(\\d{7})","$1 $2",["[29]"],"0$1"],[,"(800)(\\d{3})(\\d{3})","$1 $2 $3",["800"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{3,8}|6(?:[14]\\d{7}|\\d{4}))|[13-69]\\d{4,9}|7\\d{8}|8[06]\\d{5,8}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:2(?:0(?:4\\d|5\\d{2})|2[278]\\d|48\\d|7(?:[1-7]\\d|[089]\\d{2})|8(?:[2-57-9]|[146]\\d{2})|98)|3(?:08|17|3[78]|7(?:[19]|[56]\\d)|8[37]|98)|5[15][78]|6(?:28\\d{2}|37|6[78]|75\\d|98|8(?:7\\d|8)))\\d{3}|(?:2(?:1[39]|2[0157]|31|[56][14]|7[35]|84)|329)\\d{7}|(?:1(?:3\\d{2}|[4-8]|9\\d)|2(?:0\\d{2}|12|292|[569]\\d)|3(?:[26]|[013459]\\d)|5(?:0|1[2-4]|26|[37]2|5\\d{2}|[689]\\d)|6(?:[39]|[01246]\\d|[78]\\d{2}))\\d{3}|(?:29\\d|39|54)\\d{6}|(?:(?:25|54)83\\d|2582\\d{2}|65[2-8])\\d{2}|(?:4\\d{6,7}|9[2-9]\\d{4,5})",,,,"1312345",,,,[3,4]],[,,"(?:7(?:1[2-8]|3[2-9]|7[1-9]|8[2-5])|8644)\\d{6}",,,,"712345678",,,[9,10]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|30|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"([49])(\\d{3})(\\d{2,4})","$1 $2 $3",["4|9[2-9]"],"0$1"],[,"(7\\d)(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(86\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["86[24]"],"0$1"],[,"([2356]\\d{2})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8|[78])|3(?:[09]8|17|3[78]|7[1569]|8[37])|5[15][78]|6(?:[29]8|37|[68][78]|75)"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|31|[56][14]|7[35]|84)|329"],"0$1"],[,"([1-356]\\d)(\\d{3,5})","$1 $2",["1[3-9]|2[02569]|3[0-69]|5[05689]|6"],"0$1"],[,"([235]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[23]9|54"],"0$1"],[,"([25]\\d{3})(\\d{3,5})","$1 $2",["(?:25|54)8","258[23]|5483"],"0$1"],[,"(8\\d{3})(\\d{6})","$1 $2",["86"],"0$1"],[,"(80\\d)(\\d{4})","$1 $2",["80"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"\\d{8}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"\\d{8}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"\\d{8}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"\\d{8}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"[35-7]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"(?:[356]\\d|7[6-8])\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"1\\d{11}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"[67]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"[67]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6,11}",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"3(?:2\\d{3}|37\\d{2}|4(?:2|7\\d{3}))\\d{4}",,,,"3421234",,,[7,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15678]|9[0689])\\d{4}|6\\d{5,10})|3(?:45|9\\d{3})\\d{7}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["348"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["16|39"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"51\\d{7}(?:\\d{3})?",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"51(?:00\\d{5}
1(?:\\d{3})?|[13]0\\d{8})",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["510"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"\\d{9}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"\\d{9}",,,,"123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function K(){this.a={}}K.a=function(){return K.c?K.c:K.c=new K};var X={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},Q={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},Z=RegExp("^[++]+"),J=RegExp("([0-90-9٠-٩۰-۹])"),tt=RegExp("[++0-90-9٠-٩۰-۹]"),et=/[\\\/] *x/,it=RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"),nt=/(?:.*?[A-Za-z]){3}.*/,st=RegExp("(?:;ext=([0-90-9٠-٩۰-۹]{1,7})|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|[;,xx##~~]|int|anexo|int)[:\\..]?[  \\t,-]*([0-90-9٠-٩۰-۹]{1,7})#?|[- ]+([0-90-9٠-٩۰-۹]{1,5})#)$","i"),rt=RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:;ext=([0-90-9٠-٩۰-۹]{1,7})|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|[;,xx##~~]|int|anexo|int)[:\\..]?[  \\t,-]*([0-90-9٠-٩۰-۹]{1,7})#?|[- ]+([0-90-9٠-٩۰-۹]{1,5})#)?$","i"),ot=/(\$\d)/;function at(t){return!(t.length<2)&&Et(rt,t)}function lt(t){return Et(nt,t)?ut(t,Q):ut(t,X)}function dt(t){var e=lt(t.toString());t.c="",t.a(e)}function ct(t){return t&&(1!=I(t,9)||-1!=D(t,9)[0])}function ut(t,e){for(var i,n=new R,s=t.length,r=0;r<s;++r)null!=(i=e[(i=t.charAt(r)).toUpperCase()])&&n.a(i);return n.toString()}function ht(t){return null!=t&&isNaN(t)&&t.toUpperCase()in G}function pt(t,e,i){if(0==$(e,2)&&null!=e.a[5]&&0<(n=E(e,5)).length)return n;var n=E(e,1),s=mt(e);if(0==i)return gt(n,0,s,"");if(!(n in Y))return s;t=ft(t,n,Tt(n)),e=null!=e.a[3]&&$(e,3).length?3==i?";ext="+$(e,3):null!=t.a[13]?$(t,13)+E(e,3):" ext. "+E(e,3):"";t:{for(var r,o=(t=D(t,20).length&&2!=i?D(t,20):D(t,19)).length,a=0;a<o;++a){var l=I(r=t[a],3);if((!l||!s.search($(r,3,l-1)))&&Et(l=new RegExp($(r,1)),s)){t=r;break t}}t=null}return t&&(t=E(o=t,2),r=new RegExp($(o,1)),E(o,5),o=E(o,4),s=2==i&&null!=o&&0<o.length?s.replace(r,t.replace(ot,o)):s.replace(r,t),3==i&&(s=(s=s.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"),"")).replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+","g"),"-"))),gt(n,i,s,e)}function ft(t,e,i){return _t(t,"001"==i?""+e:i)}function mt(t){if(null==t.a[2])return"";var e=""+$(t,2);return null!=t.a[4]&&$(t,4)&&0<E(t,8)?Array(E(t,8)+1).join("0")+e:e}function gt(t,e,i,n){switch(e){case 0:return"+"+t+i+n;case 1:return"+"+t+" "+i+n;case 3:return"tel:+"+t+"-"+i+n;default:return i+n}}function vt(t,e){switch(e){case 4:return $(t,5);case 3:return $(t,4);case 1:return $(t,3);case 0:case 2:return $(t,2);case 5:return $(t,6);case 6:return $(t,8);case 7:return $(t,7);case 8:return $(t,21);case 9:return $(t,25);case 10:return $(t,28);default:return $(t,1)}}function yt(t,e){return bt(t,$(e,1))?bt(t,$(e,5))?4:bt(t,$(e,4))?3:bt(t,$(e,6))?5:bt(t,$(e,8))?6:bt(t,$(e,7))?7:bt(t,$(e,21))?8:bt(t,$(e,25))?9:bt(t,$(e,28))?10:bt(t,$(e,2))?$(e,18)||bt(t,$(e,3))?2:0:!$(e,18)&&bt(t,$(e,3))?1:-1:-1}function _t(t,e){if(null==e)return null;e=e.toUpperCase();var i=t.a[e];if(!i){if(!(i=G[e]))return null;i=(new N).c(U.f(),i),t.a[e]=i}return i}function bt(t,e){var i=t.length;return!(0<I(e,9)&&-1==h(D(e,9),i))&&Et(E(e,2),t)}function wt(t,e){if(!e)return null;var i=E(e,1);if(i=Y[i])if(1==i.length)i=i[0];else t:{for(var n,s=mt(e),r=i.length,o=0;o<r;o++){var a=_t(t,n=i[o]);if(null!=a.a[23]){if(!s.search($(a,23))){i=n;break t}}else if(-1!=yt(s,a)){i=n;break t}}i=null}else i=null;return i}function Tt(t){return(t=Y[t])?t[0]:"ZZ"}function Ct(t,e,i,n){var s=I(r=vt(i,n),9)?D(r,9):D($(i,1),9),r=D(r,10);if(2==n){if(!ct(vt(i,0)))return Ct(t,e,i,1);
1ct(t=vt(i,1))&&(p(s=s.concat(I(t,9)?D(t,9):D($(i,1),9))),r.length?p(r=r.concat(D(t,10))):r=D(t,10))}return-1==s[0]?5:(e=e.length,-1<h(r,e)?4:(i=s[0])==e?0:e<i?2:s[s.length-1]<e?3:-1<h(s,e,1)?0:5)}function St(t,e,i,n,s,r){if(!e.length)return 0;e=new R(e),i&&(a=$(i,11)),null==a&&(a="NonMatch");var o,a,l=e.toString();if(a=l.length?Z.test(l)?(l=l.replace(Z,""),e.c="",e.a(lt(l)),1):(l=new RegExp(a),dt(e),(a=!(a=e.toString()).search(l)&&(l=a.match(l)[0].length,!((o=a.substring(l).match(J))&&null!=o[1]&&0<o[1].length&&"0"==ut(o[1],X))&&(e.c="",e.a(a.substring(l)),!0)))?5:20):20,s&&A(r,6,a),20==a)return i&&(l=""+(a=E(i,10)),!(o=e.toString()).lastIndexOf(l,0)&&(l=new R(o.substring(l.length)),o=$(i,1),o=new RegExp(E(o,2)),xt(l,i,null),l=l.toString(),!Et(o,e.toString())&&Et(o,l)||3==Ct(t,e.toString(),i,-1)))?(n.a(l),s&&A(r,6,10),A(r,1,a),a):(A(r,1,0),0);if(e.c.length<=2)throw Error("Phone number too short after IDD");t:{if((t=e.toString()).length&&"0"!=t.charAt(0))for(s=t.length,e=1;e<=3&&e<=s;++e)if((i=parseInt(t.substring(0,e),10))in Y){n.a(t.substring(e)),n=i;break t}n=0}if(n)return A(r,1,n),n;throw Error("Invalid country calling code")}function xt(t,e,i){var n,s,r,o=t.toString(),a=o.length,l=$(e,15);a&&null!=l&&l.length&&((a=(n=new RegExp("^(?:"+l+")")).exec(o))&&(s=Et(l=new RegExp(E($(e,1),2)),o),r=a.length-1,null!=(e=$(e,16))&&e.length&&null!=a[r]&&a[r].length?(o=o.replace(n,e),s&&!Et(l,o)||(i&&0<r&&i.a(a[1]),t.set(o))):s&&!Et(l,o.substring(a[0].length))||(i&&0<r&&null!=a[r]&&i.a(a[1]),t.set(o.substring(a[0].length)))))}function kt(t,e,i){if(!ht(i)&&0<e.length&&"+"!=e.charAt(0))throw Error("Invalid country calling code");return $t(t,e,i,!0)}function $t(e,i,t,n){if(null==i)throw Error("The string supplied did not seem to be a phone number");if(250<i.length)throw Error("The string supplied is too long to be a phone number");var s,r,o,a=new R,l=i.indexOf(";phone-context=");if(0<=l?(s=l+15,"+"==i.charAt(s)&&(0<(d=i.indexOf(";",s))?a.a(i.substring(s,d)):a.a(i.substring(s))),s=i.indexOf("tel:"),a.a(i.substring(0<=s?s+4:0,l))):a.a((0<=(o=(r=i).search(tt))?0<=(o=(r=(r=r.substring(o)).replace(it,"")).search(et))&&(r=r.substring(0,o)):r="",r)),0<(s=(l=a.toString()).indexOf(";isub="))&&(a.c="",a.a(l.substring(0,s))),!at(a.toString()))throw Error("The string supplied did not seem to be a phone number");if(l=a.toString(),!(ht(t)||null!=l&&0<l.length&&Z.test(l)))throw Error("Invalid country calling code");l=new q,n&&A(l,5,i);t:{if(0<=(s=(i=a.toString()).search(st))&&at(i.substring(0,s)))for(var d,c=(d=i.match(st)).length,u=1;u<c;++u)if(null!=d[u]&&0<d[u].length){a.c="",a.a(i.substring(0,s)),i=d[u];break t}i=""}0<i.length&&A(l,3,i),s=_t(e,t),i=new R,d=0,c=a.toString();try{d=St(e,c,s,i,n,l)}catch(t){if("Invalid country calling code"!=t.message||!Z.test(c))throw t;if(!(d=St(e,c=c.replace(Z,""),s,i,n,l)))throw t}if(d?(a=Tt(d))!=t&&(s=ft(e,d,a)):(dt(a),i.a(a.toString()),null!=t?A(l,1,d=E(s,10)):n&&(delete l.a[6],l.c&&delete l.c[6])),i.c.length<2)throw Error("The string supplied is too short to be a phone number");if(s&&(t=new R,xt(a=new R(i.toString()),s,t),2!=(e=Ct(e,a.toString(),s,-1))&&4!=e&&5!=e&&(i=a,n&&0<t.toString().length&&A(l,7,t.toString()))),(e=(n=i.toString()).length)<2)throw Error("The string supplied is too short to be a phone number");if(17<e)throw Error("The string supplied is too long to be a phone number");if(1<n.length&&"0"==n.charAt(0)){for(A(l,4,!0),e=1;e<n.length-1&&"0"==n.charAt(e);)e++;1!=e&&A(l,8,e)}return A(l,2,parseInt(n,10)),l}function Et(t,e){t="string"==typeof t?e.match("^(?:"+t+")$"):e.match(t);return!(!t||t[0].length!=e.length)}c("intlTelInputUtils",{}),c("intlTelInputUtils.formatNumber",function(e,t,i){try{var n=K.a();return pt(n,kt(n,e,t),void 0===i?0:i)}catch(t){return e}}),c("intlTelInputUtils.getExampleNumber",function(t,e,i){try{var n=K.a();t:{if(ht(t)){var s=vt(_t(n,t),i);try{if(null!=s.a[6]){var r=$t(n,$(s,6),t,!1);break t}}catch(t){}}r=null}return pt(n,r,e?2:1)}catch(t){return""}}),c("intlTelInputUtils.getExtension",function(t,e){try{return $(kt(K.a(),t,e),3)}catch(t){return""}}),c("intlTelInputUtils.getNumberType",function(t,e){try{var i=K.a(),n=kt(i,t,e),s=wt(i,n),s=ft(i,E(n,1),s);return s?yt(mt(n),s):-1}catch(t){return-99}}),c("intlTelInputUtils.getValidationError",function(t,e){try{var i=K.a(),n=kt(i,t,e),s=mt(n),n=E(n,1);return n in Y?Ct(i,s,ft(i,n,Tt(n)),-1):1}catch(t){return"Invalid country calling code"==t.message?1:"The string supplied did not seem to be a phone number"==t.message?4:"Phone number too short after IDD"==t.message||"The string supplied is too short to be a phone number"==t?2:"The string supplied is too long to be a phone number"==t.message?3:-99}}),c("intlTelInputUtils.isValidNumber",function(t,e){try{var i,n,s=K.a(),r=kt(s,t,e),o=wt(s,r),a=E(r,1),l=ft(s,a,o);if(!(i=!l)){if(n="001"!=o){s=_t(s,o);if(!s)throw Error("Invalid region code: "+o);n=a!=E(s,10)}i=n}return!i&&-1!=yt(mt(r),l)}catch(t){return!1}}),c("intlTelInputUtils.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3}),c("intlTelInputUtils.numberType",{FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1}),c("intlTelInputUtils.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,NOT_A_NUMBER:4})}(),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("global/window"),require("global/document")):"function"==typeof define&&define.amd?define(["global/window","global/document"],e):(t=t||self).videojs=e(t.window,t.document)}(this,function(g,u){"use strict";g=g&&Object.prototype.hasOwnProperty.call(g,"default")?g.default:g,u=u&&Ob
vendor: 18,692 bytes, line 1
1ject.prototype.hasOwnProperty.call(u,"default")?u.default:u;var l="7.10.2",a=[],t=function(r,o){return function(t,e,i){var n,s=o.levels[e],e=new RegExp("^("+s+")$");"log"!==t&&i.unshift(t.toUpperCase()+":"),i.unshift(r+":"),a&&(a.push([].concat(i)),n=a.length-1e3,a.splice(0,0<n?n:0)),g.console&&((n=g.console[t])||"debug"!==t||(n=g.console.info||g.console.log),n&&s&&e.test(t)&&n[Array.isArray(i)?"apply":"call"](g.console,i))}};var h=function e(i){function n(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];r("log",s,e)}var s="info",r=t(i,n);return n.createLogger=function(t){return e(i+": "+t)},n.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:s},n.level=function(t){if("string"==typeof t){if(!n.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');s=t}return s},(n.history=function(){return a?[].concat(a):[]}).filter=function(e){return(a||[]).filter(function(t){return new RegExp(".*"+e+".*").test(t[0])})},n.history.clear=function(){a&&(a.length=0)},n.history.disable=function(){null!==a&&(a.length=0,a=null)},n.history.enable=function(){null===a&&(a=[])},n.error=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return r("error",s,e)},n.warn=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return r("warn",s,e)},n.debug=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return r("debug",s,e)},n}("VIDEOJS"),d=h.createLogger;function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function i(t,e){return t(e={exports:{}},e.exports),e.exports}var p=i(function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},e.apply(this,arguments)}t.exports=e}),n=Object.prototype.toString,r=function(t){return o(t)?Object.keys(t):[]};function s(e,i){r(e).forEach(function(t){return i(e[t],t)})}function f(i){for(var t=arguments.length,e=new Array(1<t?t-1:0),n=1;n<t;n++)e[n-1]=arguments[n];return Object.assign?p.apply(void 0,[i].concat(e)):(e.forEach(function(t){t&&s(t,function(t,e){i[e]=t})}),i)}function o(t){return!!t&&"object"==typeof t}function c(t){return o(t)&&"[object Object]"===n.call(t)&&t.constructor===Object}function m(t,e){if(!t||!e)return"";if("function"!=typeof g.getComputedStyle)return"";t=g.getComputedStyle(t);return t?t.getPropertyValue(e)||t[e]:""}function v(t){return"string"==typeof t&&Boolean(t.trim())}function y(t){if(0<=t.indexOf(" "))throw new Error("class has illegal whitespace characters")}function _(){return u===g.document}function b(t){return o(t)&&1===t.nodeType}function w(){try{return g.parent!==g.self}catch(t){return!0}}function T(i){return function(t,e){if(!v(t))return u[i](null);v(e)&&(e=u.querySelector(e));e=b(e)?e:u;return e[i]&&e[i](t)}}function C(t,i,e,n){void 0===t&&(t="div"),void 0===i&&(i={}),void 0===e&&(e={});var s=u.createElement(t);return Object.getOwnPropertyNames(i).forEach(function(t){var e=i[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(h.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+t+" to "+e+"."),s.setAttribute(t,e)):"textContent"===t?S(s,e):s[t]!==e&&(s[t]=e)}),Object.getOwnPropertyNames(e).forEach(function(t){s.setAttribute(t,e[t])}),n&&z(s,n),s}function S(t,e){return void 0===t.textContent?t.innerText=e:t.textContent=e,t}function x(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function k(t,e){return y(e),t.classList?t.classList.contains(e):new RegExp("(^|\\s)"+e+"($|\\s)").test(t.className)}function $(t,e){return t.classList?t.classList.add(e):k(t,e)||(t.className=(t.className+" "+e).trim()),t}function E(t,e){return t.classList?t.classList.remove(e):(y(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t}function D(t,e,i){var n=k(t,e);if("function"==typeof i&&(i=i(t,e)),"boolean"!=typeof i&&(i=!n),i!==n)return(i?$:E)(t,e),t}function I(i,n){Object.getOwnPropertyNames(n).forEach(function(t){var e=n[t];null==e||!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})}function A(t){var e={},i=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&0<t.attributes.length)for(var n=t.attributes,s=n.length-1;0<=s;s--){var r=n[s].name,o=n[s].value;"boolean"!=typeof t[r]&&-1===i.indexOf(","+r+",")||(o=null!==o),e[r]=o}return e}function P(t,e){return t.getAttribute(e)}function M(t,e,i){t.setAttribute(e,i)}function O(t,e){t.removeAttribute(e)}function L(){u.body.focus(),u.onselectstart=function(){return!1}}function N(){u.onselectstart=function(){return!0}}function R(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),i={};return["bottom","height","left","right","top","width"].forEach(function(t){void 0!==e[t]&&(i[t]=e[t])}),i.height||(i.height=parseFloat(m(t,"height"))),i.width||(i.width=parseFloat(m(t,"width"))),i}}function F(t){if(!t||t&&!t.offsetParent)return{left:0,top:0,width:0,height:0};for(var e=t.offsetWidth,i=t.offsetHeight,n=0,s=0;n+=t.offsetLeft,s+=t.offsetTop,t=t.offsetParent;);return{left:n,top:s,width:e,height:i}}function j(t,e){var i={},n=F(e.target),s=F(t),r=s.width,o=s.height,t=e.offsetY-(s.top-n.top),n=e.offsetX-(s.left-n.left);return e.changedTouches&&(n=e.changedTouches[0].pageX-s.left,t=e.changedTouches[0].pageY+s.top),i.y=1-Math.max(0,Math.min(1,t/o)),i.x=Math.max(0,Math.min(1,n/r)),i}function B(t){return o(t)&&3===t.nodeType}function H(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function U(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return"function"==typeof t&&(t=t()),b(t)||B(t)?t:"string"==typeof t&&/\S/.test(t)?u.createTextNode(t):void 0}).filter(function(t){return t})}function z(e,t){return U(t).forEach(function(t){return e.appendChild(t)}),e}function q(t,e){return z(H(t),e)}function W(t){return void 0===t.button&&void 0===t.buttons||(0===t.button&&void 0===t.buttons||("mouseup"===t.type&&0===t.button&&0===t.buttons||0===t.button&&1===t.buttons))}var V,Y=T("querySelector"),G=T("querySelectorAll"),K=Object.freeze({__proto__:null,isReal:_,isEl:b,isInFrame:w,createEl:C,textContent:S,prependTo:x,hasClass:k,addClass:$,removeClass:E,toggleClass:D,setAttributes:I,getAttributes:A,getAttribute:P,setAttribute:M,removeAttribute:O,blockTextSelection:L,unblockTextSelection:N,getBoundingClientRect:R,findPosition:F,getPointerPosition:j,isTextNode:B,emptyEl:H,normalizeContent:U,appendContent:z,insertContent:q,isSingleLeftClick:W,$:Y,$$:G}),X=!1,Q=function(){if(_()&&!1!==V.options.autoSetup){var t=Array.prototype.slice.call(u.getElementsByTagName("video")),e=Array.prototype.slice.call(u.getElementsByTagName("audio")),i=Array.prototype.slice.call(u.getElementsByTagName("video-js")),n=t.concat(e,i);if(n&&0<n.length)for(var s=0,r=n.length;s<r;s++){var o=n[s];if(!o||!o.getAttribute){Z(1);break}void 0===o.player&&null!==o.getAttribute("data-setup")&&V(o)}else X||Z(1)}};function Z(t,e){e&&(V=e),g.setTimeout(Q,t)}function J(){X=!0,g.removeEventListener("load",J)}_()&&("complete"===u.readyState?J():g.addEventListener("load",J));function tt(t){var e=u.createElement("style");return e.className=t,e}function et(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e}var it=3;g.WeakMap||(Be=function(){function t(){this.vdata="vdata"+Math.floor(g.performance&&g.performance.now()||Date.now()),this.data={}}var e=t.prototype;return e.set=function(t,e){var i=t[this.vdata]||it++;return t[this.vdata]||(t[this.vdata]=i),this.data[i]=e,this},e.get=function(t){var e=t[this.vdata];if(e)return this.data[e];h("We have no data for this element",t)},e.has=function(t){return t[this.vdata]in this.data},e.delete=function(t){var e=t[this.vdata];e&&(delete this.data[e],delete t[this.vdata])},t}());var nt,st=new(g.WeakMap?WeakMap:Be);function rt(t,e){var i;st.has(t)&&(0===(i=st.get(t)).handlers[e].length&&(delete i.handlers[e],t.removeEventListener?t.removeEventListener(e,i.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,i.dispatcher)),Object.getOwnPropertyNames(i.handlers).length<=0&&(delete i.handlers,delete i.dispatcher,delete i.disabled),0===Object.getOwnPropertyNames(i).length&&st.delete(t))}function ot(e,i,t,n){t.forEach(function(t){e(i,t,n)})}function at(t){if(t.fixed_)return t;function e(){return!0}function i(){return!1}if(!t||!t.isPropagationStopped){var n,s,r,o=t||g.event;for(n in t={},o)"layerX"!==n&&"layerY"!==n&&"keyLocation"!==n&&"webkitMovementX"!==n&&"webkitMovementY"!==n&&("returnValue"===n&&o.preventDefault||(t[n]=o[n]));t.target||(t.target=t.srcElement||u),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){o.preventDefault&&o.preventDefault(),t.returnValue=!1,o.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){o.stopPropagation&&o.stopPropagation(),t.cancelBubble=!0,o.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=i,t.stopImmediatePropagation=function(){o.stopImmediatePropagation&&o.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=i,null!==t.clientX&&void 0!==t.clientX&&(s=u.documentElement,r=u.body,t.pageX=t.clientX+(s&&s.scrollLeft||r&&r.scrollLeft||0)-(s&&s.clientLeft||r&&r.clientLeft||0),t.pageY=t.clientY+(s&&s.scrollTop||r&&r.scrollTop||0)-(s&&s.clientTop||r&&r.clientTop||0)),t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t.fixed_=!0,t}var lt=function(){if("boolean"!=typeof nt){nt=!1;try{var t=Object.defineProperty({},"passive",{get:function(){nt=!0}});g.addEventListener("test",null,t),g.removeEventListener("test",null,t)}catch(t){}}return nt},dt=["touchstart","touchmove"];function ct(o,t,e){if(Array.isArray(t))return ot(ct,o,t,e);st.has(o)||st.set(o,{});var a=st.get(o);a.handlers||(a.handlers={}),a.handlers[t]||(a.handlers[t]=[]),e.guid||(e.guid=it++),a.handlers[t].push(e),a.dispatcher||(a.disabled=!1,a.dispatcher=function(t,e){if(!a.disabled){t=at(t);var i=a.handlers[t.type];if(i)for(var n=i.slice(0),s=0,r=n.length;s<r&&!t.isImmediatePropagationStopped();s++)try{n[s].call(o,t,e)}catch(t){h.error(t)}}}),1===a.handlers[t].length&&(o.addEventListener?(e=!1,lt()&&-1<dt.indexOf(t)&&(e={passive:!0}),o.addEventListener(t,a.dispatcher,e)):o.attachEvent&&o.attachEvent("on"+t,a.dispatcher))}function ut(t,e,i){if(st.has(t)){var n=st.get(t);if(n.handlers){if(Array.isArray(e))return ot(ut,t,e,i);var s=function(t,e){n.handlers[e]=[],rt(t,e)};if(void 0!==e){var r=n.handlers[e];if(r)if(i){if(i.guid)for(var o=0;o<r.length;o++)r[o].guid===i.guid&&r.splice(o--,1);rt(t,e)}else s(t,e)}else for(var a in n.handlers)Object.prototype.hasOwnProperty.call(n.handlers||{},a)&&s(t,a)}}}function ht(t,e,i){var n=st.has(t)?st.get(t):{},s=t.parentNode||t.ownerDocument;return"string"==typeof e?e={type:e,target:t}:e.target||(e.target=t),e=at(e),n.dispatcher&&n.dispatcher.call(t,e,i),s&&!e.isPropagationStopped()&&!0===e.bubbles?ht.call(null,s,e,i):!s&&!e.defaultPrevented&&e.target&&e.target[e.type]&&(st.has(e.target)||st.set(e.target,{}),s=st.get(e.target),e.target[e.type]&&(s.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),s.disabled=!1)),!e.defaultPrevented}function pt(t,e,i){if(Array.isArray(e))return ot(pt,t,e,i);function n(){ut(t,e,n),i.apply(this,arguments)}n.guid=i.guid=i.guid||it++,ct(t,e,n)}function ft(t,e,i){function n(){ut(t,e,n),i.apply(this,arguments)}n.guid=i.guid=i.guid||it++,ct(t,e,n)}function mt(e,i){var n=g.performance.now();return function(){var t=g.performance.now();i<=t-n&&(e.apply(void 0,arguments),n=t)}}function gt(n,s,r,o){var a;function t(){var t=this,e=arguments,i=function(){i=a=null,r||n.apply(t,e)};!a&&r&&n.apply(t,e),o.clearTimeout(a),a=o.setTimeout(i,s)}return void 0===o&&(o=g),t.cancel=function(){o.clearTimeout(a),a=null},t}function vt(){}var yt,_t=Object.freeze({__proto__:null,fixEvent:at,on:ct,off:ut,trigger:ht,one:pt,any:ft}),bt=function(t,e,i){e.guid||(e.guid=it++);t=e.bind(t);return t.guid=i?i+"_"+e.guid:e.guid,t};vt.prototype.allowedEvents_={},vt.prototype.addEventListener=vt.prototype.on=function(t,e){var i=this.addEventListener;this.addEventListener=function(){},ct(this,t,e),this.addEventListener=i},vt.prototype.removeEventListener=vt.prototype.off=function(t,e){ut(this,t,e)},vt.prototype.one=function(t,e){var i=this.addEventListener;this.addEventListener=function(){},pt(this,t,e),this.addEventListener=i},vt.prototype.any=function(t,e){var i=this.addEventListener;this.addEventListener=function(){},ft(this,t,e),this.addEventListener=i},vt.prototype.dispatchEvent=vt.prototype.trigger=function(t){var e=t.type||t;"string"==typeof t&&(t={type:e}),t=at(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),ht(this,t)},vt.prototype.queueTrigger=function(t){var e=this;yt=yt||new Map;var i=t.type||t,n=yt.get(this);n||(n=new Map,yt.set(this,n));var s=n.get(i);n.delete(i),g.clearTimeout(s);s=g.setTimeout(function(){0===n.size&&(n=null,yt.delete(e)),e.trigger(t)},0);n.set(i,s)};function wt(t){return"string"==typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length}function Tt(t){if(!t.nodeName&&!$t(t))throw new Error("Invalid target; must be a DOM node or evented object.")}function Ct(t){if(!wt(t))throw new Error("Invalid event type; must be a non-empty string or array.")}function St(t){if("function"!=typeof t)throw new Error("Invalid listener; must be a function.")}function xt(t,e){var i,n,s=e.length<3||e[0]===t||e[0]===t.eventBusEl_,e=s?(i=t.eventBusEl_,3<=e.length&&e.shift(),n=e[0],e[1]):(i=e[0],n=e[1],e[2]);return Tt(i),Ct(n),St(e),{isTargetingSelf:s,target:i,type:n,listener:e=bt(t,e)}}function kt(t,e,i,n){Tt(t),t.nodeName?_t[e](t,i,n):t[e](i,n)}var $t=function(e){return e instanceof vt||!!e.eventBusEl_&&["on","one","off","trigger"].every(function(t){return"function"==typeof e[t]})},Et={on:function(){for(var t=this,e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];var s,r=xt(this,i),o=r.isTargetingSelf,a=r.target,l=r.type,d=r.listener;kt(a,"on",l,d),o||((s=function(){return t.off(a,l,d)}).guid=d.guid,(o=function(){return t.off("dispose",s)}).guid=d.guid,kt(this,"on","dispose",s),kt(a,"on","dispose",o))},one:function(){for(var s=this,t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=xt(this,e),r=n.isTargetingSelf,o=n.target,a=n.type,l=n.listener;r?kt(o,"one",a,l):((r=function t(){s.off(o,a,t);for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];l.apply(null,i)}).guid=l.guid,kt(o,"one",a,r))},any:function(){for(var s=this,t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=xt(this,e),r=n.isTargetingSelf,o=n.target,a=n.type,l=n.listener;r?kt(o,"any",a,l):((r=function t(){s.off(o,a,t);for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];l.apply(null,i)}).guid=l.guid,kt(o,"any",a,r))},off:function(t,e,i){!t||wt(t)?ut(this.eventBusEl_,t,e):(e=e,Tt(t=t),Ct(e),St(i),i=bt(this,i),this.off("dispose",i),t.nodeName?(ut(t,e,i),ut(t,"dispose",i)):$t(t)&&(t.off(e,i),t.off("dispose",i)))},trigger:function(t,e){return ht(this.eventBusEl_,t,e)}};function Dt(t,e){void 0===e&&(e={});e=e.eventBusKey;if(e){if(!t[e].nodeName)throw new Error('The eventBusKey "'+e+'" does not refer to an element.');t.eventBusEl_=t[e]}else t.eventBusEl_=C("span",{className:"vjs-event-bus"});return f(t,Et),t.eventedCallbacks&&t.eventedCallbacks.forEach(function(t){t()}),t.on("dispose",function(){t.off(),g.setTimeout(function(){t.eventBusEl_=null},0)}),t}var It={state:{},setState:function(t){var i,n=this;return"function"==typeof t&&(t=t()),s(t,function(t,e){n.state[e]!==t&&((i=i||{})[e]={from:n.state[e],to:t}),n.state[e]=t}),i&&$t(this)&&this.trigger({changes:i,type:"statechanged"}),i}};function At(t,e){return f(t,It),t.state=f({},t.state,e),"function"==typeof t.handleStateChanged&&$t(t)&&t.on("statechanged",t.handleStateChanged),t}function Pt(t){return"string"!=typeof t?t:t.replace(/./,function(t){return t.toLowerCase()})}function Mt(t){return"string"!=typeof t?t:t.replace(/./,function(t){return t.toUpperCase()})}function Ot(){for(var i={},t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.forEach(function(t){t&&s(t,function(t,e){c(t)?(c(i[e])||(i[e]={}),i[e]=Ot(i[e],t)):i[e]=t})}),i}var Lt=function(){function t(){this.map_={}}var e=t.prototype;return e.has=function(t){return t in this.map_},e.delete=function(t){var e=this.has(t);return delete this.map_[t],e},e.set=function(t,e){return this.set_[t]=e,this},e.forEach=function(t,e){for(var i in this.map_)t.call(e,this.map_[i],i,this)},t}(),Nt=g.Map?g.Map:Lt,Rt=function(){function t(){this.set_={}}var e=t.prototype;return e.has=function(t){return t in this.set_},e.delete=function(t){var e=this.has(t);return delete this.set_[t],e},e.add=function(t){return this.set_[t]=1,this},e.forEach=function(t,e){for(var i in this.set_)t.call(e,i,i,this)},t}(),Ft=g.Set?g.Set:Rt,jt=function(){function o(t,e,i){!t&&this.play?this.player_=t=this:this.player_=t,this.isDisposed_=!1,this.parentComponent_=null,this.options_=Ot({},this.options_),e=this.options_=Ot(this.options_,e),this.id_=e.id||e.el&&e.el.id,this.id_||(t=t&&t.id&&t.id()||"no_player",this.id_=t+"_component_"+it++),this.name_=e.name||null,e.el?this.el_=e.el:!1!==e.createEl&&(this.el_=this.createEl()),!1!==e.evented&&Dt(this,{eventBusKey:this.el_?"el_":null}),At(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Ft,this.setIntervalIds_=new Ft,this.rafIds_=new Ft,this.namedRafs_=new Nt,(this.clearingTimersOnDispose_=!1)!==e.initChildren&&this.initChildren(),this.ready(i),!1!==e.reportTouchActivity&&this.enableTouchActivity()}var t=o.prototype;return t.dispose=function(){if(!this.isDisposed_){if(this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var t=this.children_.length-1;0<=t;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&&this.el_.parentNode.removeChild(this.el_),st.has(this.el_)&&st.delete(this.el_),this.el_=null),this.player_=null}},t.isDisposed=function(){return Boolean(this.isDisposed_)},t.player=function(){return this.player_},t.options=function(t){return t&&(this.options_=Ot(this.options_,t)),this.options_},t.el=function(){return this.el_}
1,t.createEl=function(t,e,i){return C(t,e,i)},t.localize=function(t,i,e){void 0===e&&(e=t);var n=this.player_.language&&this.player_.language(),s=this.player_.languages&&this.player_.languages(),r=s&&s[n],n=n&&n.split("-")[0],n=s&&s[n],e=e;return r&&r[t]?e=r[t]:n&&n[t]&&(e=n[t]),i&&(e=e.replace(/\{(\d+)\}/g,function(t,e){e=i[e-1];return void 0===e?t:e})),e},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(t){return this.childIndex_[t]},t.getChild=function(t){if(t)return this.childNameIndex_[t]},t.getDescendant=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e=e.reduce(function(t,e){return t.concat(e)},[]);for(var n=this,s=0;s<e.length;s++)if(!(n=n.getChild(e[s]))||!n.getChild)return;return n},t.addChild=function(t,e,i){var n;if(void 0===e&&(e={}),void 0===i&&(i=this.children_.length),"string"==typeof t){n=Mt(t);var s=e.componentClass||n;e.name=n;var r=o.getComponent(s);if(!r)throw new Error("Component "+s+" does not exist");if("function"!=typeof r)return null;r=new r(this.player_||this,e)}else r=t;return r.parentComponent_&&r.parentComponent_.removeChild(r),this.children_.splice(i,0,r),r.parentComponent_=this,"function"==typeof r.id&&(this.childIndex_[r.id()]=r),(n=n||r.name&&Mt(r.name()))&&(this.childNameIndex_[n]=r,this.childNameIndex_[Pt(n)]=r),"function"==typeof r.el&&r.el()&&(n=null,this.children_[i+1]&&(this.children_[i+1].el_?n=this.children_[i+1].el_:b(this.children_[i+1])&&(n=this.children_[i+1])),this.contentEl().insertBefore(r.el(),n)),r},t.removeChild=function(t){if("string"==typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e,i=!1,n=this.children_.length-1;0<=n;n--)if(this.children_[n]===t){i=!0,this.children_.splice(n,1);break}i&&(t.parentComponent_=null,this.childIndex_[t.id()]=null,this.childNameIndex_[Mt(t.name())]=null,this.childNameIndex_[Pt(t.name())]=null,(e=t.el())&&e.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el()))}},t.initChildren=function(){var i,e,t,n=this,s=this.options_.children;s&&(i=this.options_,e=o.getComponent("Tech"),(t=Array.isArray(s)?s:Object.keys(s)).concat(Object.keys(this.options_).filter(function(e){return!t.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(t){var e,t="string"==typeof t?s[e=t]||n.options_[e]||{}:(e=t.name,t);return{name:e,opts:t}}).filter(function(t){t=o.getComponent(t.opts.componentClass||Mt(t.name));return t&&!e.isTech(t)}).forEach(function(t){var e=t.name,t=t.opts;void 0!==i[e]&&(t=i[e]),!1!==t&&(!0===t&&(t={}),t.playerOptions=n.options_.playerOptions,(t=n.addChild(e,t))&&(n[e]=t))}))},t.buildCSSClass=function(){return""},t.ready=function(t,e){if(void 0===e&&(e=!1),t)return this.isReady_?void(e?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},t.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var t=this.readyQueue_;this.readyQueue_=[],t&&0<t.length&&t.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},t.$=function(t,e){return Y(t,e||this.contentEl())},t.$$=function(t,e){return G(t,e||this.contentEl())},t.hasClass=function(t){return k(this.el_,t)},t.addClass=function(t){$(this.el_,t)},t.removeClass=function(t){E(this.el_,t)},t.toggleClass=function(t,e){D(this.el_,t,e)},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(t){return P(this.el_,t)},t.setAttribute=function(t,e){M(this.el_,t,e)},t.removeAttribute=function(t){O(this.el_,t)},t.width=function(t,e){return this.dimension("width",t,e)},t.height=function(t,e){return this.dimension("height",t,e)},t.dimensions=function(t,e){this.width(t,!0),this.height(e)},t.dimension=function(t,e,i){if(void 0!==e)return null!==e&&e==e||(e=0),-1!==(""+e).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",void(i||this.trigger("componentresize"));if(!this.el_)return 0;e=this.el_.style[t],i=e.indexOf("px");return-1!==i?parseInt(e.slice(0,i),10):parseInt(this.el_["offset"+Mt(t)],10)},t.currentDimension=function(t){var e=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");return e=m(this.el_,t),0!==(e=parseFloat(e))&&!isNaN(e)||(t="offset"+Mt(t),e=this.el_[t]),e},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(t){this.player_&&(t.stopPropagation(),this.player_.handleKeyDown(t))},t.handleKeyPress=function(t){this.handleKeyDown(t)},t.emitTapEvents=function(){var i,e=0,n=null;this.on("touchstart",function(t){1===t.touches.length&&(n={pageX:t.touches[0].pageX,pageY:t.touches[0].pageY},e=g.performance.now(),i=!0)}),this.on("touchmove",function(t){var e;1<t.touches.length?i=!1:n&&(e=t.touches[0].pageX-n.pageX,t=t.touches[0].pageY-n.pageY,10<Math.sqrt(e*e+t*t)&&(i=!1))});function t(){i=!1}this.on("touchleave",t),this.on("touchcancel",t),this.on("touchend",function(t){!(n=null)===i&&g.performance.now()-e<200&&(t.preventDefault(),this.trigger("tap"))})},t.enableTouchActivity=function(){var t,e,i;this.player()&&this.player().reportUserActivity&&(t=bt(this.player(),this.player().reportUserActivity),this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}),i=function(){t(),this.clearInterval(e)},this.on("touchmove",t),this.on("touchend",i),this.on("touchcancel",i))},t.setTimeout=function(t,e){var i,n=this;return t=bt(this,t),this.clearTimersOnDispose_(),i=g.setTimeout(function(){n.setTimeoutIds_.has(i)&&n.setTimeoutIds_.delete(i),t()},e),this.setTimeoutIds_.add(i),i},t.clearTimeout=function(t){return this.setTimeoutIds_.has(t)&&(this.setTimeoutIds_.delete(t),g.clearTimeout(t)),t},t.setInterval=function(t,e){t=bt(this,t),this.clearTimersOnDispose_();e=g.setInterval(t,e);return this.setIntervalIds_.add(e),e},t.clearInterval=function(t){return this.setIntervalIds_.has(t)&&(this.setIntervalIds_.delete(t),g.clearInterval(t)),t},t.requestAnimationFrame=function(t){var e,i=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),t=bt(this,t),e=g.requestAnimationFrame(function(){i.rafIds_.has(e)&&i.rafIds_.delete(e),t()}),this.rafIds_.add(e),e):this.setTimeout(t,1e3/60)},t.requestNamedAnimationFrame=function(t,e){var i=this;if(!this.namedRafs_.has(t)){this.clearTimersOnDispose_(),e=bt(this,e);var n=this.requestAnimationFrame(function(){e(),i.namedRafs_.has(t)&&i.namedRafs_.delete(t)});return this.namedRafs_.set(t,n),t}},t.cancelNamedAnimationFrame=function(t){this.namedRafs_.has(t)&&(this.cancelAnimationFrame(this.namedRafs_.get(t)),this.namedRafs_.delete(t))},t.cancelAnimationFrame=function(t){return this.supportsRaf_?(this.rafIds_.has(t)&&(this.rafIds_.delete(t),g.cancelAnimationFrame(t)),t):this.clearTimeout(t)},t.clearTimersOnDispose_=function(){var n=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEac
vendor: 28,965 bytes, line 1
1h(function(t){var e=t[0],i=t[1];n[e].forEach(function(t,e){return n[i](e)})}),n.clearingTimersOnDispose_=!1}))},o.registerComponent=function(t,e){if("string"!=typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var i=o.getComponent("Tech"),n=i&&i.isTech(e),i=o===e||o.prototype.isPrototypeOf(e.prototype);if(n||!i){var s=n?"techs must be registered using Tech.registerTech()":"must be a Component subclass";throw new Error('Illegal component, "'+t+'"; '+s+".")}t=Mt(t),o.components_||(o.components_={});s=o.getComponent("Player");if("Player"===t&&s&&s.players){var r=s.players,s=Object.keys(r);if(r&&0<s.length&&s.map(function(t){return r[t]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return o.components_[t]=e,o.components_[Pt(t)]=e},o.getComponent=function(t){if(t&&o.components_)return o.components_[t]},o}();jt.prototype.supportsRaf_="function"==typeof g.requestAnimationFrame&&"function"==typeof g.cancelAnimationFrame,jt.registerComponent("Component",jt);var Bt=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};i(function(e){function i(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=i=function(t){return typeof t}:e.exports=i=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}e.exports=i}),i(function(e){function i(t){return e.exports=i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}e.exports=i});var Ht=function(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e},Ut=g.navigator&&g.navigator.userAgent||"",zt=/AppleWebKit\/([\d.]+)/i.exec(Ut),qt=zt?parseFloat(zt.pop()):null,Wt=/iPod/i.test(Ut),Vt=(Xe=Ut.match(/OS (\d+)_/i))&&Xe[1]?Xe[1]:null,Yt=/Android/i.test(Ut),Gt=function(){var t=Ut.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),i=t[2]&&parseFloat(t[2]);return e&&i?parseFloat(t[1]+"."+t[2]):e||null}(),Kt=Yt&&Gt<5&&qt<537,Xt=/Firefox/i.test(Ut),Qt=/Edg/i.test(Ut),Zt=!Qt&&(/Chrome/i.test(Ut)||/CriOS/i.test(Ut)),Jt=(ni=Ut.match(/(Chrome|CriOS)\/(\d+)/))&&ni[2]?parseFloat(ni[2]):null,te=(!(si=(si=/MSIE\s(\d+)\.\d/.exec(Ut))&&parseFloat(si[1]))&&/Trident\/7.0/i.test(Ut)&&/rv:11.0/.test(Ut)&&(si=11),si),ee=/Safari/i.test(Ut)&&!Zt&&!Yt&&!Qt,ie=/Windows/i.test(Ut),ne=_()&&("ontouchstart"in g||g.navigator.maxTouchPoints||g.DocumentTouch&&g.document instanceof g.DocumentTouch),se=/iPad/i.test(Ut)||ee&&ne&&!/iPhone/i.test(Ut),re=/iPhone/i.test(Ut)&&!se,oe=re||se||Wt,ae=(ee||oe)&&!Zt,le=Object.freeze({__proto__:null,IS_IPOD:Wt,IOS_VERSION:Vt,IS_ANDROID:Yt,ANDROID_VERSION:Gt,IS_NATIVE_ANDROID:Kt,IS_FIREFOX:Xt,IS_EDGE:Qt,IS_CHROME:Zt,CHROME_VERSION:Jt,IE_VERSION:te,IS_SAFARI:ee,IS_WINDOWS:ie,TOUCH_ENABLED:ne,IS_IPAD:se,IS_IPHONE:re,IS_IOS:oe,IS_ANY_SAFARI:ae});function de(t,e,i,n){return function(t,e,i){if("number"!=typeof e||e<0||i<e)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+i+").")}(t,n,i.length-1),i[n][e]}function ce(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:de.bind(null,"start",0,t),end:de.bind(null,"end",1,t)}}function ue(t,e){return Array.isArray(t)?ce(t):void 0===t||void 0===e?ce():ce([[t,e]])}function he(t,e){var i,n,s=0;if(!e)return 0;t&&t.length||(t=ue(0,0));for(var r=0;r<t.length;r++)i=t.start(r),e<(n=t.end(r))&&(n=e),s+=n-i;return s/e}for(var pe,fe={prefixed:!0},me=[["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"]],ge=me[0],ve=0;ve<me.length;ve++)if(me[ve][1]in u){pe=me[ve];break}if(pe){for(var ye=0;ye<pe.length;ye++)fe[ge[ye]]=pe[ye];fe.prefixed=pe[0]!==ge[0]}function _e(t){if(t instanceof _e)return t;"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:o(t)&&("number"==typeof t.code&&(this.code=t.code),f(this,t)),this.message||(this.message=_e.defaultMessages[this.code]||"")}_e.prototype.code=0,_e.prototype.message="",_e.prototype.status=null,_e.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],_e.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 be=0;be<_e.errorTypes.length;be++)_e[_e.errorTypes[be]]=be,_e.prototype[_e.errorTypes[be]]=be;var we=function(t,e){var i,n=null;try{i=JSON.parse(t,e)}catch(t){n=t}return[n,i]};function Te(t){return null!=t&&"function"==typeof t.then}function Ce(t){Te(t)&&t.then(null,function(t){})}function Se(n){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,e,i){return n[e]&&(t[e]=n[e]),t},{cues:n.cues&&Array.prototype.map.call(n.cues,function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}})})}var xe=function(t){var e=t.$$("track"),i=Array.prototype.map.call(e,function(t){return t.track});return Array.prototype.map.call(e,function(t){var e=Se(t.track);return t.src&&(e.src=t.src),e}).concat(Array.prototype.filter.call(t.textTracks(),function(t){return-1===i.indexOf(t)}).map(Se))},ke=function(t,i){return t.forEach(function(t){var e=i.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach(function(t){return e.addCue(t)})}),i.textTracks()},$e=i(function(t,e){function i(t){if(!t||"object"!=typeof t||(e=t.which||t.keyCode||t.charCode)&&(t=e),"number"==typeof t)return a[t];var e=String(t),t=n[e.toLowerCase()];return t||((t=s[e.toLowerCase()])?t:1===e.length?e.charCodeAt(0):void 0)}i.isEventKey=function(t,e){if(t&&"object"==typeof t){var i=t.which||t.keyCode||t.charCode;if(null==i)return!1;if("string"==typeof e){t=n[e.toLowerCase()];if(t)return t===i;if(t=s[e.toLowerCase()])return t===i}else if("number"==typeof e)return e===i;return!1}};for(var n=(e=t.exports=i).code=e.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},s=e.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":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},r=97;r<123;r++)n[String.fromCharCode(r)]=r-32;for(var r=48;r<58;r++)n[r-48]=r;for(r=1;r<13;r++)n["f"+r]=r+111;for(r=0;r<10;r++)n["numpad "+r]=r+96;var o,a=e.names=e.title={};for(r in n)a[n[r]]=r;for(o in s)n[o]=s[o]}),Ee=($e.code,$e.codes,$e.aliases,$e.names,$e.title,"vjs-modal-dialog"),De=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.opened_=e.hasBeenOpened_=e.hasBeenFilled_=!1,e.closeable(!e.options_.uncloseable),e.content(e.options_.content),e.contentEl_=C("div",{className:Ee+"-content"},{role:"document"}),e.descEl_=C("p",{className:Ee+"-description vjs-control-text",id:e.el().getAttribute("aria-describedby")}),S(e.descEl_,e.description()),e.el_.appendChild(e.descEl_),e.el_.appendChild(e.contentEl_),e}Ht(t,i);var e=t.prototype;return e.createEl=function(){return i.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},e.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,i.prototype.dispose.call(this)},e.buildCSSClass=function(){return Ee+" vjs-hidden "+i.prototype.buildCSSClass.call(this)},e.label=function(){return this.localize(this.options_.label||"Modal Window")},e.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},e.open=function(){var t;this.opened_||(t=this.player(),this.trigger("beforemodalopen"),this.opened_=!0,!this.options_.fillAlways&&(this.hasBeenOpened_||this.hasBeenFilled_)||this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.on("keydown",this.handleKeyDown),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0)},e.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},e.close=function(){var t;this.opened_&&(t=this.player(),this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.off("keydown",this.handleKeyDown),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose())},e.closeable=function(t){var e,i;return"boolean"==typeof t&&(e=this.closeable_=!!t,i=this.getChild("closeButton"),e&&!i&&(t=this.contentEl_,this.contentEl_=this.el_,i=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=t,this.on(i,"close",this.close)),!e&&i&&(this.off(i,"close",this.close),this.removeChild(i),i.dispose())),this.closeable_},e.fill=function(){this.fillWith(this.content())},e.fillWith=function(t){var e=this.contentEl(),i=e.parentNode,n=e.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,i.removeChild(e),this.empty(),q(e,t),this.trigger("modalfill"),n?i.insertBefore(e,n):i.appendChild(e);e=this.getChild("closeButton");e&&i.appendChild(e.el_)},e.empty=function(){this.trigger("beforemodalempty"),H(this.contentEl()),this.trigger("modalempty")},e.content=function(t){return void 0!==t&&(this.content_=t),this.content_},e.conditionalFocus_=function(){var t=u.activeElement,e=this.player_.el_;this.previouslyActiveEl_=null,!e.contains(t)&&e!==t||(this.previouslyActiveEl_=t,this.focus())},e.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},e.handleKeyDown=function(t){if(t.stopPropagation(),$e.isEventKey(t,"Escape")&&this.closeable())return t.preventDefault(),void this.close();if($e.isEventKey(t,"Tab")){for(var e,i=this.focusableEls_(),n=this.el_.querySelector(":focus"),s=0;s<i.length;s++)if(n===i[s]){e=s;break}u.activeElement===this.el_&&(e=0),t.shiftKey&&0===e?(i[i.length-1].focus(),t.preventDefault()):t.shiftKey||e!==i.length-1||(i[0].focus(),t.preventDefault())}},e.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,function(t){return(t instanceof g.HTMLAnchorElement||t instanceof g.HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof g.HTMLInputElement||t instanceof g.HTMLSelectElement||t instanceof g.HTMLTextAreaElement||t instanceof g.HTMLButtonElement)&&!t.hasAttribute("disabled")||t instanceof g.HTMLIFrameElement||t instanceof g.HTMLObjectElement||t instanceof g.HTMLEmbedElement||t.hasAttribute("tabindex")&&-1!==t.getAttribute("tabindex")||t.hasAttribute("contenteditable")})},t}(jt);De.prototype.options_={pauseOnOpen:!0,temporary:!0},jt.registerComponent("ModalDialog",De);var Ie,Ae=function(n){function t(t){var e;void 0===t&&(t=[]),(e=n.call(this)||this).tracks_=[],Object.defineProperty(Bt(e),"length",{get:function(){return this.tracks_.length}});for(var i=0;i<t.length;i++)e.addTrack(t[i]);return e}Ht(t,n);var e=t.prototype;return e.addTrack=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),-1===this.tracks_.indexOf(t)&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack",target:this}))},e.removeTrack=function(t){for(var e,i=0,n=this.length;i<n;i++)if(this[i]===t){(e=this[i]).off&&e.off(),this.tracks_.splice(i,1);break}e&&this.trigger({track:e,type:"removetrack",target:this})},e.getTrackById=function(t){for(var e=null,i=0,n=this.length;i<n;i++){var s=this[i];if(s.id===t){e=s;break}}return e},t}(vt);for(Ie in Ae.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},Ae.prototype.allowedEvents_)Ae.prototype["on"+Ie]=null;function Pe(t,e){for(var i=0;i<t.length;i++)Object.keys(t[i]).length&&e.id!==t[i].id&&(t[i].enabled=!1)}function Me(t,e){for(var i=0;i<t.length;i++)Object.keys(t[i]).length&&e.id!==t[i].id&&(t[i].selected=!1)}function Oe(t){var e=["protocol","hostname","port","pathname","search","hash","host"],i=u.createElement("a");i.href=t;var n,s=""===i.host&&"file:"!==i.protocol;s&&((n=u.createElement("div")).innerHTML='<a href="'+t+'"></a>',i=n.firstChild,n.setAttribute("style","display:none; position:absolute;"),u.body.appendChild(n));for(var r={},o=0;o<e.length;o++)r[e[o]]=i[e[o]];return"http:"===r.protocol&&(r.host=r.host.replace(/:80$/,"")),"https:"===r.protocol&&(r.host=r.host.replace(/:443$/,"")),r.protocol||(r.protocol=g.location.protocol),s&&u.body.removeChild(n),r}function Le(t){var e;return t.match(/^https?:\/\//)||((e=u.createElement("div")).innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href),t}function Ne(t){if("string"==typeof t){t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(t);if(t)return t.pop().toLowerCase()}return""}function Re(t,e){return void 0===e&&(e=g.location),(":"===(t=Oe(t)).protocol?e:t).protocol+t.host!==e.protocol+e.host}var Fe=function(n){function t(t){var e;void 0===t&&(t=[]);for(var i=t.length-1;0<=i;i--)if(t[i].enabled){Pe(t,t[i]);break}return(e=n.call(this,t)||this).changing_=!1,e}Ht(t,n);var e=t.prototype;return e.addTrack=function(t){var e=this;t.enabled&&Pe(this,t),n.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){e.changing_||(e.changing_=!0,Pe(e,t),e.changing_=!1,e.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))},e.removeTrack=function(t){n.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},t}(Ae),je=function(n){function t(t){var e;void 0===t&&(t=[]);for(var i=t.length-1;0<=i;i--)if(t[i].selected){Me(t,t[i]);break}return(e=n.call(this,t)||this).changing_=!1,Object.defineProperty(Bt(e),"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),e}Ht(t,n);var e=t.prototype;return e.addTrack=function(t){var e=this;t.selected&&Me(this,t),n.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){e.changing_||(e.changing_=!0,Me(e,t),e.changing_=!1,e.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))},e.removeTrack=function(t){n.prototype.removeTrack.call(this,t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)},t}(Ae),Be=function(i){function t(){return i.apply(this,arguments)||this}Ht(t,i);var e=t.prototype;return e.addTrack=function(t){var e=this;i.prototype.addTrack.call(this,t),this.queueChange_||(this.queueChange_=function(){return e.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return e.trigger("selectedlanguagechange")}),t.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)},e.removeTrack=function(t){i.prototype.removeTrack.call(this,t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},t}(Ae),Lt=function(){function t(t){void 0===t&&(t=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function(){return this.trackElements_.length}});for(var e=0,i=t.length;e<i;e++)this.addTrackElement_(t[e])}var e=t.prototype;return e.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}),-1===this.trackElements_.indexOf(t)&&this.trackElements_.push(t)},e.getTrackElementByTrack_=function(t){for(var e,i=0,n=this.trackElements_.length;i<n;i++)if(t===this.trackElements_[i].track){e=this.trackElements_[i];break}return e},e.removeTrackElement_=function(t){for(var e=0,i=this.trackElements_.length;e<i;e++)if(t===this.trackElements_[e]){this.trackElements_[e].track&&"function"==typeof this.trackElements_[e].track.off&&this.trackElements_[e].track.off(),"function"==typeof this.trackElements_[e].off&&this.trackElements_[e].off(),this.trackElements_.splice(e,1);break}},t}(),He=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(t){var e=this.length||0,i=0,n=t.length;this.cues_=t,this.length_=t.length;function s(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})}if(e<n)for(i=e;i<n;i++)s.call(this,i)},t.getCueById=function(t){for(var e=null,i=0,n=this.length;i<n;i++){var s=this[i];if(s.id===t){e=s;break}}return e},e}(),Ue={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},ze={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},qe={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},We={disabled:"disabled",hidden:"hidden",showing:"showing"},Rt=function(s){function t(t){var e;void 0===t&&(t={}),e=s.call(this)||this;var i,n={id:t.id||"vjs_track_"+it++,kind:t.kind||"",label:t.label||"",language:t.language||""};for(i in n)!function(t){Object.defineProperty(Bt(e),t,{get:function(){return n[t]},set:function(){}})}(i);return e}return Ht(t,s),t}(vt),zt=Object.freeze({__proto__:null,parseUrl:Oe,getAbsoluteURL:Le,getFileExtension:Ne,isCrossOrigin:Re}),Ve=function(t){var e=Ye.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)},Ye=Object.prototype.toString;var Ge=function(t){var n={};return t&&t.trim().split("\n").forEach(function(t){var e=t.indexOf(":"),i=t.slice(0,e).trim().toLowerCase(),e=t.slice(e+1).trim();void 0===n[i]?n[i]=e:Array.isArray(n[i])?n[i].push(e):n[i]=[n[i],e]}),n},Ke=Ze,Xe=Ze;function Qe(t,e,i){var n=t;return Ve(e)?(i=e,"string"==typeof t&&(n={uri:t})):n=p({},e,{uri:t}),n.callback=i,n}function Ze(t,e,i){return Je(e=Qe(t,e,i))}function Je(n){if(void 0===n.callback)throw new Error("callback argument missing");var s=!1,r=function(t,e,i){s||(s=!0,n.callback(t,e,i))};function o(){var t=void 0,t=d.response?d.response:d.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(t){}return null}(d);if(m)try{t=JSON.parse(t)}catch(t){}return t}function e(t){return clearTimeout(l),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,r(t,g)}function t(){if(!a){var t;clearTimeout(l),t=n.useXDR&&void 0===d.status?200:1223===d.status?204:d.status;var e=g,i=null;return 0!==t?(e={body:o(),statusCode:t,method:u,headers:{},url:c,rawRequest:d},d.getAllResponseHeaders&&(e.headers=Ge(d.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),r(i,e,e.body)}}var i,a,l,d=n.xhr||null,c=(d=d||new(n.cors||n.useXDR?Ze.XDomainRequest:Ze.XMLHttpRequest)).url=n.uri||n.url,u=d.method=n.method||"GET",h=n.body||n.data,p=d.headers=n.headers||{},f=!!n.sync,m=!1,g={body:void 0,headers:{},statusCode:0,method:u,url:c,rawRequest:d};if("json"in n&&!1!==n.json&&(m=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==u&&"HEAD"!==u&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),h=JSON.stringify(!0===n.json?h:n.json))),d.onreadystatechange=function(){4===d.readyState&&setTimeout(t,0)},d.onload=t,d.onerror=e,d.onprogress=function(){},d.onabort=function(){a=!0},d.ontimeout=e,d.open(u,c,!f,n.username,n.password),f||(d.withCredentials=!!n.withCredentials),!f&&0<n.timeout&&(l=setTimeout(function(){var t;a||(a=!0,d.abort("timeout"),(t=new Error("XMLHttpRequest timeout")).code="ETIMEDOUT",e(t))},n.timeout)),d.setRequestHeader)for(i in p)p.hasOwnProperty(i)&&d.setRequestHeader(i,p[i]);else if(n.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return;return 1}(n.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in n&&(d.responseType=n.responseType),"beforeSend"in n&&"function"==typeof n.beforeSend&&n.beforeSend(d),d.send(h||null),d}Ze.XMLHttpRequest=g.XMLHttpRequest||function(){},Ze.XDomainRequest="withCredentials"in new Ze.XMLHttpRequest?Ze.XMLHttpRequest:g.XDomainRequest,function(t,e){for(var i=0;i<t.length;i++)e(t[i])}(["get","put","post","patch","head","delete"],function(n){Ze["delete"===n?"del":n]=function(t,e,i){return(e=Qe(t,e,i)).method=n.toUpperCase(),Je(e)}}),Ke.default=Xe;function ti(t,e){var i=new g.WebVTT.Parser(g,g.vttjs,g.WebVTT.StringDecoder()),n=[];i.oncue=function(t){e.addCue(t)},i.onparsingerror=function(t){n.push(t)},i.onflush=function(){e.trigger({type:"loadeddata",target:e})},i.parse(t),0<n.length&&(g.console&&g.console.groupCollapsed&&g.console.groupCollapsed("Text Track parsing errors for "+e.src),n.forEach(function(t){return h.error(t)}),g.console&&g.console.groupEnd&&g.console.groupEnd()),i.flush()}function ei(t,n){var e={uri:t};(t=Re(t))&&(e.cors=t),(t="use-credentials"===n.tech_.crossOrigin())&&(e.withCredentials=t),Ke(e,bt(this,function(t,e,i){return t?h.error(t,e):(n.loaded_=!0,void("function"!=typeof g.WebVTT?n.tech_&&n.tech_.any(["vttjsloaded","vttjserror"],function(t){return"vttjserror"!==t.type?ti(i,n):void h.error("vttjs failed to load, stopping trying to process "+n.src)}):ti(i,n)))}))}var ii=function(l){function t(t){var e;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var t=Ot(t,{kind:qe[t.kind]||"subtitles",language:t.language||t.srclang||""}),i=We[t.mode]||"disabled",n=t.default;"metadata"!==t.kind&&"chapters"!==t.kind||(i="hidden"),(e=l.call(this,t)||this).tech_=t.tech,e.cues_=[],e.activeCues_=[],e.preload_=!1!==e.tech_.preloadTextTracks;var s=new He(e.cues_),o=new He(e.activeCues_),a=!1,r=bt(Bt(e),function(){this.activeCues=this.activeCues,a&&(this.trigger("cuechange"),a=!1)});return"disabled"!==i&&e.tech_.ready(function(){e.tech_.on("timeupdate",r)},!0),Object.defineProperties(Bt(e),{default:{get:function(){return n},set:function(){}},mode:{get:function(){return i},set:function(t){var e=this;We[t]&&(i=t,this.preload_||"disabled"===i||0!==this.cues.length||ei(this.src,this),"disabled"!==i?this.tech_.ready(function(){e.tech_.on("timeupdate",r)},!0):this.tech_.off("timeupdate",r),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 t=this.tech_.currentTime(),e=[],i=0,n=this.cues.length;i<n;i++){var s=this.cues[i];(s.startTime<=t&&s.endTime>=t||s.startTime===s.endTime&&s.startTime<=t&&s.startTime+.5>=t)&&e.push(s)}if(a=!1,e.length!==this.activeCues_.length)a=!0;else for(var r=0;r<e.length;r++)-1===this.activeCues_.indexOf(e[r])&&(a=!0);return this.activeCues_=e,o.setCues_(this.activeCues_),o},set:function(){}}}),t.src?(e.src=t.src,e.preload_||(e.loaded_=!0),(e.preload_||n||"subtitles"!==t.kind&&"captions"!==t.kind)&&ei(e.src,Bt(e))):e.loaded_=!0,e}Ht(t,l);var e=t.prototype;return e.addCue=function(t){var e=t;if(g.vttjs&&!(t instanceof g.vttjs.VTTCue)){for(var i in e=new g.vttjs.VTTCue(t.startTime,t.endTime,t.text),t)i in e||(e[i]=t[i]);e.id=t.id,e.originalCue_=t}for(var n=this.tech_.textTracks(),s=0;s<n.length;s++)n[s]!==this&&n[s].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},e.removeCue=function(t){for(var e=this.cues_.length;e--;){var i=this.cues_[e];if(i===t||i.originalCue_&&i.originalCue_===t){this.cues_.splice(e,1),this.cues.setCues_(this.cues_);break}}},t}(Rt);ii.prototype.allowedEvents_={cuechange:"cuechange"};var qt=function(n){function t(t){void 0===t&&(t={});var e=Ot(t,{kind:ze[t.kind]||""}),t=n.call(this,e)||this,i=!1;return Object.defineProperty(Bt(t),"enabled",{get:function(){return i},set:function(t){"boolean"==typeof t&&t!==i&&(i=t,this.trigger("enabledchange"))}}),e.enabled&&(t.enabled=e.enabled),t.loaded_=!0,t}return Ht(t,n),t}(Rt),ni=function(n){function t(t){void 0===t&&(t={});var e=Ot(t,{kind:Ue[t.kind]||""}),t=n.call(this,e)||this,i=!1;return Object.defineProperty(Bt(t),"selected",{get:function(){return i},set:function(t){"boolean"==typeof t&&t!==i&&(i=t,this.trigger("selectedchange"))}}),e.selected&&(t.selected=e.selected),t}return Ht(t,n),t}(Rt),si=function(s){function t(t){var e,i;void 0===t&&(t={}),e=s.call(this)||this;var n=new ii(t);return e.kind=n.kind,e.src=n.src,e.srclang=n.language,e.label=n.label,e.default=n.default,Object.defineProperties(Bt(e),{readyState:{get:function(){return i}},track:{get:function(){return n}}}),i=0,n.addEventListener("loadeddata",function(){i=2,e.trigger({type:"load",target:Bt(e)})}),e}return Ht(t,s),t}(vt);si.prototype.allowedEvents_={load:"load"},si.NONE=0,si.LOADING=1,si.LOADED=2,si.ERROR=3;var ri={audio:{ListClass:Fe,TrackClass:qt,capitalName:"Audio"},video:{ListClass:je,TrackClass:ni,capitalName:"Video"},text:{ListClass:Be,TrackClass:ii,capitalName:"Text"}};Object.keys(ri).forEach(function(t){ri[t].getterName=t+"Tracks",ri[t].privateName=t+"Tracks_"});var oi={remoteText:{ListClass:Be,TrackClass:ii,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Lt,TrackClass:si,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},ai=p({},ri,oi);oi.names=Object.keys(oi),ri.names=Object.keys(ri),ai.names=[].concat(oi.names).concat(ri.names);var li=Object.create||function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return di.prototype=t,new di};function di(){}function ci(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function ui(t){function e(t,e,i,n){return 3600*(0|t)+60*(0|e)+(0|i)+(0|n)/1e3}t=t.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return t?t[3]?e(t[1],t[2],t[3].replace(":",""),t[4]):59<t[1]?e(t[1],t[2],0,t[4]):e(0,t[1],t[2],t[4]):null}function hi(){this.values=li(null)}function pi(t,e,i,n){var s,r,o=n?t.split(n):[t];for(s in o){"string"==typeof o[s]&&(2===(r=o[s].split(i)).length&&e(r[0],r[1]))}}function fi(e,t,o){var i=e;function n(){var t=ui(e);if(null===t)throw new ci(ci.Errors.BadTimeStamp,"Malformed timestamp: "+i);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function s(){e=e.replace(/^\s+/,"")}if(s(),t.startTime=n(),s(),"--\x3e"!==e.substr(0,3))throw new ci(ci.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+i);e=e.substr(3),s(),t.endTime=n(),s(),function(t,e){var r=new hi;pi(t,function(t,e){switch(t){case"region":for(var i=o.length-1;0<=i;i--)if(o[i].id===e){r.set(t,o[i].region);break}break;case"vertical":r.alt(t,e,["rl","lr"]);break;case"line":var n=e.split(","),s=n[0];r.integer(t,s),r.percent(t,s)&&r.set("snapToLines",!1),r.alt(t,s,["auto"]),2===n.length&&r.alt("lineAlign",n[1],["start","center","end"]);break;case"position":n=e.split(","),r.percent(t,n[0]),2===n.length&&r.alt("positionAlign",n[1],["start","center","end"]);break;case"size":r.percent(t,e);break;case"align":r.alt(t,e,["start","center","end","left","right"])}}
vendor: 4,588 bytes, line 1
1,/:/,/\s/),e.region=r.get("region",null),e.vertical=r.get("vertical","");try{e.line=r.get("line","auto")}catch(t){}e.lineAlign=r.get("lineAlign","start"),e.snapToLines=r.get("snapToLines",!0),e.size=r.get("size",100);try{e.align=r.get("align","center")}catch(t){e.align=r.get("align","middle")}try{e.position=r.get("position","auto")}catch(t){e.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(e,t)}((ci.prototype=li(Error.prototype)).constructor=ci).Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},hi.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,i){return i?this.has(t)?this.values[t]:e[i]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,i){for(var n=0;n<i.length;++n)if(e===i[n]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&0<=(e=parseFloat(e))&&e<=100)&&(this.set(t,e),!0)}};var mi=u.createElement("textarea"),gi={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},vi={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)"},yi={v:"title",lang:"lang"},_i={rt:"ruby"};function bi(t,e){for(var i,n,s,r,o,a,l,d,c,u,h=t.document.createElement("div"),p=h,f=[];null!==(i=function(){if(!e)return null;var t=e.match(/^([^<]*)(<[^>]*>?)?/);return t=t[1]?t[1]:t[2],e=e.substr(t.length),t}());){"<"!==i[0]?p.appendChild(t.document.createTextNode((o=i,mi.innerHTML=o,o=mi.textContent,mi.textContent="",o))):"/"!==i[1]?(r=ui(i.substr(1,i.length-2)))?(n=t.document.createProcessingInstruction("timestamp",r),p.appendChild(n)):(s=i.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/))&&(d=s[1],c=s[3],u=void 0,u=gi[d],(n=u?(u=t.document.createElement(u),(d=yi[d])&&c&&(u[d]=c.trim()),u):null)&&(a=p,_i[(l=n).localName]&&_i[l.localName]!==a.localName||(s[2]&&((r=s[2].split(".")).forEach(function(t){var e=/^bg_/.test(t),t=e?t.slice(3):t;vi.hasOwnProperty(t)&&(e=e?"background-color":"color",t=vi[t],n.style[e]=t)}),n.className=r.join(" ")),f.push(s[1]),p.appendChild(n),p=n))):f.length&&f[f.length-1]===i.substr(2).replace(">","")&&(f.pop(),p=p.parentNode)}return h}var wi=[[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 Ti(t){var e=[],i="";if(!t||!t.childNodes)return"ltr";function r(t,e){for(var i=e.childNodes.length-1;0<=i;i--)t.push(e.childNodes[i])}for(r(e,t);i=function t(e){if(!e||!e.length)return null;var i=e.pop(),n=i.textContent||i.innerText;if(n){var s=n.match(/^.*(\n|\r)/);return s?s[e.length=0]:n}return"ruby"===i.tagName?t(e):i.childNodes?(r(e,i),t(e)):void 0}(e);)for(var n=0;n<i.length;n++)if(function(t){for(var e=0;e<wi.length;e++){var i=wi[e];if(t>=i[0]&&t<=i[1])return 1}}(i.charCodeAt(n)))return"rtl";return"ltr"}function Ci(){}
vendor: 9,671 bytes, line 1
1function Si(t,e,i){Ci.call(this),this.cue=e,this.cueDiv=bi(t,e.text);var n={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:""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(n,this.cueDiv),this.div=t.document.createElement("div"),n={direction:Ti(this.cueDiv),writingMode:""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===e.align?"center":e.align,font:i.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(n),this.div.appendChild(this.cueDiv);n=0;switch(e.positionAlign){case"start":n=e.position;break;case"center":n=e.position-e.size/2;break;case"end":n=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(n,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(n,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function xi(t){var e,i,n,s;t.div&&(e=t.div.offsetHeight,i=t.div.offsetWidth,n=t.div.offsetTop,s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects(),t=t.div.getBoundingClientRect(),s=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0),this.left=t.left,this.right=t.right,this.top=t.top||n,this.height=t.height||e,this.bottom=t.bottom||n+(t.height||e),this.width=t.width||i,this.lineHeight=void 0!==s?s:t.lineHeight}function ki(t,e,a,l){var i=new xi(e),n=e.cue,s=function(t){if("number"==typeof t.line&&(t.snapToLines||0<=t.line&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,i=e.textTrackList,n=0,s=0;s<i.length&&i[s]!==e;s++)"showing"===i[s].mode&&n++;return-1*++n}(n),r=[];if(n.snapToLines){switch(n.vertical){case"":r=["+y","-y"],u="height";break;case"rl":r=["+x","-x"],u="width";break;case"lr":r=["-x","+x"],u="width"}var o=i.lineHeight,d=o*Math.round(s),c=a[u]+o,u=r[0];Math.abs(d)>c&&(d=d<0?-1:1,d*=Math.ceil(c/o)*o),s<0&&(d+=""===n.vertical?a.height:a.width,r=r.reverse()),i.move(u,d)}else{d=i.lineHeight/a.height*100;switch(n.lineAlign){case"center":s-=d/2;break;case"end":s-=d}switch(n.vertical){case"":e.applyStyles({top:e.formatStyle(s,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(s,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(s,"%")})}r=["+y","-x","+x","-y"],i=new xi(e)}r=function(t,e){for(var i,n=new xi(t),s=1,r=0;r<e.length;r++){for(;t.overlapsOppositeAxis(a,e[r])||t.within(a)&&t.overlapsAny(l);)t.move(e[r]);if(t.within(a))return t;var o=t.intersectPercentage(a);o<s&&(i=new xi(t),s=o),t=new xi(n)}return i||n}(i,r);e.move(r.toCSSCompatValues(a))}function $i(){}Ci.prototype.applyStyles=function(t,e){for(var i in e=e||this.div,t)t.hasOwnProperty(i)&&(e.style[i]=t[i])},Ci.prototype.formatStyle=function(t,e){return 0===t?0:t+e},(Si.prototype=li(Ci.prototype)).constructor=Si,xi.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},xi.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},xi.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},xi.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},xi.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},xi.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},xi.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},xi.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,i=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||i}},$i.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},$i.convertCueToDOMTree=function(t,e){return t&&e?bi(t,e):null};$i.processCues=function(n,s,t){if(!n||!s||!t)return null;for(;t.firstChild;)t.removeChild(t.firstChild);var r=n.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%",t.appendChild(r),function(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return 1}(s)){var o=[],a=xi.getSimpleBoxPosition(r),l={font:Math.round(.05*a.height*100)/100+"px sans-serif"};!function(){for(var t,e,i=0;i<s.length;i++)e=s[i],t=new Si(n,e,l),r.appendChild(t.div),ki(0,t,a,o),e.displayState=t.div,o.push(xi.getSimpleBoxPosition(t))}()}else for(var e=0;e<s.length;e++)r.appendChild(s[e].displayState)},($i.Parser=function(t,e,i){i||(i=e,e={}),e=e||{},this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=i||new TextDecoder("utf8"),this.regionList=[]}).prototype={reportOrThrowError:function(t){if(!(t instanceof ci))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){var e,n=this;function i(){for(var t=n.buffer,e=0;e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var i=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,n.buffer=t.substr(e),i}function s(t){t.match(/X-TIMESTAMP-MAP/)?pi(t,function(t,e){var i;"X-TIMESTAMP-MAP"===t&&(e=e,i=new hi,pi(e,function(t,e){switch(t){case"MPEGT":i.integer(t+"S",e);break;case"LOCA":i.set(t+"L",ui(e))}},/[^\d]:/,/,/),n.ontimestampmap&&n.ontimestampmap({MPEGTS:i.get("MPEGTS"),LOCAL:i.get("LOCAL")}))},/=/):pi(t,function(t,e){var s;"Region"===t&&(e=e,s=new hi,pi(e,function(t,e){switch(t){case"id":s.set(t,e);break;case"width":s.percent(t,e);break;case"lines":s.integer(t,e);break;case"regionanchor":case"viewportanchor":var i=e.split(",");if(2!==i.length)break;var n=new hi;if(n.percent("x",i[0]),n.percent("y",i[1]),!n.has("x")||!n.has("y"))break;s.set(t+"X",n.get("x")),s.set(t+"Y",n.get("y"));break;case"scroll":s.alt(t,e,["up"])}},/=/,/\s/),s.has("id")&&((e=new(n.vttjs.VTTRegion||n.window.VTTRegion)).width=s.get("width",100),e.lines=s.get("lines",3),e.regionAnchorX=s.get("regionanchorX",0),e.regionAnchorY=s.get("regionanchorY",100),e.viewportAnchorX=s.get("viewportanchorX",0),e.viewportAnchorY=s.get("viewportanchorY",100),e.scroll=s.get("scroll",""),n.onregion&&n.onregion(e),n.regionList.push({id:s.get("id"),region:e})))},/:/)}t&&(n.buffer+=n.decoder.decode(t,{stream:!0}));try{if("INITIAL"===n.state){if(!/\r\n|\n/.test(n.buffer))return this;var r=(e=i()).match(/^WEBVTT([ \t].*)?$/);if(!r||!r[0])throw new ci(ci.Errors.BadSignature);n.state="HEADER"}for(var o=!1;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(o?o=!1:e=i(),n.state){case"HEADER":/:/.test(e)?s(e):e||(n.state="ID");continue;case"NOTE":e||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(e)){n.state="NOTE";break}if(!e)continue;n.cue=new(n.vttjs.VTTCue||n.window.VTTCue)(0,0,"");try{n.cue.align="center"}catch(t){n.cue.align="middle"}if(n.state="CUE",-1===e.indexOf("--\x3e")){n.cue.id=e;continue}case"CUE":try{fi(e,n.cue,n.regionList)}catch(t){n.reportOrThrowError(t),n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":var a=-1!==e.indexOf("--\x3e");if(!e||a&&(o=!0)){n.oncue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}n.cue.text&&(n.cue.text+="\n"),n.cue.text+=e.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":e||(n.state="ID");continue}}}catch(t){n.reportOrThrowError(t),"CUETEXT"===n.state&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state="INITIAL"===n.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 ci(ci.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}};var Ei=$i,Di={"":1,lr:1,rl:1},Ii={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function Ai(t){return"string"==typeof t&&(!!Ii[t.toLowerCase()]&&t.toLowerCase())}function Pi(t,e,i){this.hasBeenReset=!1;var n="",s=!1,r=t,o=e,a=i,l=null,d="",c=!0,u="auto",h="start",p="auto",f="auto",m=100,g="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return n},set:function(t){n=""+t}},pauseOnExit:{enumerable:!0,get:function(){return s},set:function(t){s=!!t}},startTime:{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");r=t,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return o},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");o=t,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return a}
vendor: 2,751 bytes, line 1
1,set:function(t){a=""+t,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return l},set:function(t){l=t,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return d},set:function(t){t="string"==typeof(t=t)&&(!!Di[t.toLowerCase()]&&t.toLowerCase());if(!1===t)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");d=t,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return c},set:function(t){c=!!t,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t&&"auto"!==t)throw new SyntaxError("Line: an invalid number or illegal string was specified.");u=t,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return h},set:function(t){t=Ai(t);t?(h=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return p},set:function(t){if(t<0||100<t)throw new Error("Position must be between 0 and 100.");p=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return f},set:function(t){t=Ai(t);t?(f=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return m},set:function(t){if(t<0||100<t)throw new Error("Size must be between 0 and 100.");m=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return g},set:function(t){t=Ai(t);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");g=t,this.hasBeenReset=!0}}}),this.displayState=void 0}Pi.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)};var Mi=Pi,Oi={"":!0,up:!0};function Li(t){return"number"==typeof t&&0<=t&&t<=100}function Ni(){var e=100,i=3,n=0,s=100,r=0,o=100,a="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!Li(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return i},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");i=t}},regionAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!Li(t))throw new Error("RegionAnchorX must be between 0 and 100.");s=t}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(t){if(!Li(t))throw new Error("RegionAnchorY must be between 0 and 100.");n=t}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!Li(t))throw new Error("ViewportAnchorY must be between 0 and 100.");o=t}},viewportAnchorX:{enumerable:!0,get:function(){return r},set:function(t){if(!Li(t))throw new Error("ViewportAnchorX must be between 0 and 100.");r=t}},scroll:{enumerable:!0,get:function(){return a}
vendor: 56,648 bytes, line 1
1,set:function(t){t="string"==typeof(t=t)&&(!!Oi[t.toLowerCase()]&&t.toLowerCase());!1===t?console.warn("Scroll: an invalid or illegal string was specified."):a=t}}})}var Ri=i(function(t){t=t.exports={WebVTT:Ei,VTTCue:Mi,VTTRegion:Ni};g.vttjs=t,g.WebVTT=t.WebVTT;var e=t.VTTCue,i=t.VTTRegion,n=g.VTTCue,s=g.VTTRegion;t.shim=function(){g.VTTCue=e,g.VTTRegion=i},t.restore=function(){g.VTTCue=n,g.VTTRegion=s},g.VTTCue||t.shim()});Ri.WebVTT,Ri.VTTCue,Ri.VTTRegion;var Fi=function(n){function i(e,t){var i;return void 0===e&&(e={}),void 0===t&&(t=function(){}),e.reportTouchActivity=!1,(i=n.call(this,null,e,t)||this).hasStarted_=!1,i.on("playing",function(){this.hasStarted_=!0}),i.on("loadstart",function(){this.hasStarted_=!1}),ai.names.forEach(function(t){t=ai[t];e&&e[t.getterName]&&(i[t.privateName]=e[t.getterName])}),i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){!1===e["native"+t+"Tracks"]&&(i["featuresNative"+t+"Tracks"]=!1)}),!1===e.nativeCaptions||!1===e.nativeTextTracks?i.featuresNativeTextTracks=!1:!0!==e.nativeCaptions&&!0!==e.nativeTextTracks||(i.featuresNativeTextTracks=!0),i.featuresNativeTextTracks||i.emulateTextTracks(),i.preloadTextTracks=!1!==e.preloadTextTracks,i.autoRemoteTextTracks_=new ai.text.ListClass,i.initTrackListeners(),e.nativeControlsForTouch||i.emitTapEvents(),i.constructor&&(i.name_=i.constructor.name||"Unknown Tech"),i}Ht(i,n);var t=i.prototype;return t.triggerSourceset=function(t){var e=this;this.isReady_||this.one("ready",function(){return e.setTimeout(function(){return e.triggerSourceset(t)},1)}),this.trigger({src:t,type:"sourceset"})},t.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},t.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},t.trackProgress=function(){this.stopTrackingProgress(),this.progressInterval=this.setInterval(bt(this,function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),1===(this.bufferedPercent_=t)&&this.stopTrackingProgress()}),500)},t.onDurationChange=function(){this.duration_=this.duration()},t.buffered=function(){return ue(0,0)},t.bufferedPercent=function(){return he(this.buffered(),this.duration_)},t.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},t.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},t.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},t.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.dispose=function(){this.clearTracks(ri.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),n.prototype.dispose.call(this)},t.clearTracks=function(t){var s=this;(t=[].concat(t)).forEach(function(t){for(var e=s[t+"Tracks"]()||[],i=e.length;i--;){var n=e[i];"text"===t&&s.removeRemoteTextTrack(n),e.removeTrack(n)}})},t.cleanupAutoTextTracks=function(){for(var t=this.autoRemoteTextTracks_||[],e=t.length;e--;){var i=t[e];this.removeRemoteTextTrack(i)}},t.reset=function(){},t.crossOrigin=function(){},t.setCrossOrigin=function(){},t.error=function(t){return void 0!==t&&(this.error_=new _e(t),this.trigger("error")),this.error_},t.played=function(){return this.hasStarted_?ue(0,0):ue()},t.setScrubbing=function(){},t.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.initTrackListeners=function(){var s=this;ri.names.forEach(function(t){function e(){s.trigger(t+"trackchange")}var i=ri[t],n=s[i.getterName]();n.addEventListener("removetrack",e),n.addEventListener("addtrack",e),s.on("dispose",function(){n.removeEventListener("removetrack",e),n.removeEventListener("addtrack",e)})})},t.addWebVttScript_=function(){var t,e=this;g.WebVTT||(u.body.contains(this.el())?!this.options_["vtt.js"]&&c(Ri)&&0<Object.keys(Ri).length?this.trigger("vttjsloaded"):((t=u.createElement("script")).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}),g.WebVTT=!0,this.el().parentNode.appendChild(t)):this.ready(this.addWebVttScript_))},t.emulateTextTracks=function(){function e(t){return n.addTrack(t.track)}function i(t){return n.removeTrack(t.track)}var t=this,n=this.textTracks(),s=this.remoteTextTracks();s.on("addtrack",e),s.on("removetrack",i),this.addWebVttScript_();function r(){return t.trigger("texttrackchange")}function o(){r();for(var t=0;t<n.length;t++){var e=n[t];e.removeEventListener("cuechange",r),"showing"===e.mode&&e.addEventListener("cuechange",r)}}o(),n.addEventListener("change",o),n.addEventListener("addtrack",o),n.addEventListener("removetrack",o),this.on("dispose",function(){s.off("addtrack",e),s.off("removetrack",i),n.removeEventListener("change",o),n.removeEventListener("addtrack",o),n.removeEventListener("removetrack",o);for(var t=0;t<n.length;t++){n[t].removeEventListener("cuechange",r)}})},t.addTextTrack=function(t,e,i){if(!t)throw new Error("TextTrack kind is required but was not provided");return function(t,e,i,n,s){void 0===s&&(s={});var r=t.textTracks();return s.kind=e,i&&(s.label=i),n&&(s.language=n),s.tech=t,s=new ai.text.TrackClass(s),r.addTrack(s),s}(this,t,e,i)},t.createRemoteTextTrack=function(t){t=Ot(t,{tech:this});return new oi.remoteTextEl.TrackClass(t)},t.addRemoteTextTrack=function(t,e){var i=this;void 0===t&&(t={});var n=this.createRemoteTextTrack(t);return!0!==e&&!1!==e&&(h.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),e=!0),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack(n.track),!0!==e&&this.ready(function(){return i.autoRemoteTextTracks_.addTrack(n.track)}),n},t.removeRemoteTextTrack=function(t){var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)},t.getVideoPlaybackQuality=function(){return{}},t.requestPictureInPicture=function(){var t=this.options_.Promise||g.Promise;if(t)return t.reject()},t.disablePictureInPicture=function(){return!0},t.setDisablePictureInPicture=function(){},t.setPoster=function(){},t.playsinline=function(){},t.setPlaysinline=function(){},t.overrideNativeAudioTracks=function(){},t.overrideNativeVideoTracks=function(){},t.canPlayType=function(){return""},i.canPlayType=function(){return""},i.canPlaySource=function(t){return i.canPlayType(t.type)},i.isTech=function(t){return t.prototype instanceof i||t instanceof i||t===i},i.registerTech=function(t,e){if(i.techs_||(i.techs_={}),!i.isTech(e))throw new Error("Tech "+t+" must be a Tech");if(!i.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!i.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=Mt(t),i.techs_[t]=e,i.techs_[Pt(t)]=e,"Tech"!==t&&i.defaultTechOrder_.push(t),e},i.getTech=function(t){if(t)return i.techs_&&i.techs_[t]?i.techs_[t]:(t=Mt(t),g&&g.videojs&&g.videojs[t]?(h.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),g.videojs[t]):void 0)},i}(jt);ai.names.forEach(function(t){var e=ai[t];Fi.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}}),Fi.prototype.featuresVolumeControl=!0,Fi.prototype.featuresMuteControl=!0,Fi.prototype.featuresFullscreenResize=!1,Fi.prototype.featuresPlaybackRate=!1,Fi.prototype.featuresProgressEvents=!1,Fi.prototype.featuresSourceset=!1,Fi.prototype.featuresTimeupdateEvents=!1,Fi.prototype.featuresNativeTextTracks=!1,Fi.withSourceHandlers=function(s){s.registerSourceHandler=function(t,e){var i=(i=s.sourceHandlers)||(s.sourceHandlers=[]);void 0===e&&(e=i.length),i.splice(e,0,t)},s.canPlayType=function(t){for(var e,i=s.sourceHandlers||[],n=0;n<i.length;n++)if(e=i[n].canPlayType(t))return e;return""},s.selectSourceHandler=function(t,e){for(var i=s.sourceHandlers||[],n=0;n<i.length;n++)if(i[n].canHandleSource(t,e))return i[n];return null},s.canPlaySource=function(t,e){var i=s.selectSourceHandler(t,e);return i?i.canHandleSource(t,e):""};["seekable","seeking","duration"].forEach(function(t){var e=this[t];"function"==typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})},s.prototype),s.prototype.setSource=function(t){var e=s.selectSourceHandler(t,this.options_);e||(s.nativeSourceHandler?e=s.nativeSourceHandler:h.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),e!==s.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=e.handleSource(t,this,this.options_),this.one("dispose",this.disposeSourceHandler)},s.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)}},jt.registerComponent("Tech",Fi),Fi.registerTech("Tech",Fi),Fi.defaultTechOrder_=[];var ji={},Bi={},Hi={};function Ui(t,e,i){t.setTimeout(function(){return function i(n,t,s,r,o,a){void 0===n&&(n={});void 0===t&&(t=[]);void 0===o&&(o=[]);void 0===a&&(a=!1);var e=t,t=e[0],l=e.slice(1);if("string"==typeof t)i(n,ji[t],s,r,o,a);else if(t){var d=Gi(r,t);if(!d.setSource)return o.push(d),i(n,l,s,r,o,a);d.setSource(f({},n),function(t,e){return t?i(n,l,s,r,o,a):(o.push(d),void i(e,n.type===e.type?l:ji[e.type],s,r,o,a))})}else l.length?i(n,l,s,r,o,a):a?s(n,o):i(n,ji["*"],s,r,o,!0)}(e,ji[e.type],i,t)},1)}function zi(t,e,i,n){void 0===n&&(n=null);var s="call"+Mt(i),s=t.reduce(Yi(s),n),n=s===Hi,s=n?null:e[i](s);return function(t,e,i,n){for(var s=t.length-1;0<=s;s--){var r=t[s];r[e]&&r[e](n,i)}}(t,i,s,n),s}var qi={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1},Wi={setCurrentTime:1,setMuted:1,setVolume:1},Vi={play:1,pause:1};function Yi(i){return function(t,e){return t===Hi?Hi:e[i]?e[i](t):t}}function Gi(t,e){var i=Bi[t.id()],n=null;if(null==i)return n=e(t),Bi[t.id()]=[[e,n]],n;for(var s=0;s<i.length;s++){var r=i[s],o=r[0],r=r[1];o===e&&(n=r)}return null===n&&(n=e(t),i.push([e,n])),n}function Ki(t){return void 0===t&&(t=""),t=Ne(t),Qi[t.toLowerCase()]||""}function Xi(t){var e;return t=Array.isArray(t)?(e=[],t.forEach(function(t){t=Xi(t),Array.isArray(t)?e=e.concat(t):o(t)&&e.push(t)}),e):"string"==typeof t&&t.trim()?[Zi({src:t})]:o(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[Zi(t)]:[]}var Qi={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",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"};function Zi(t){var e;return t.type||(e=Ki(t.src))&&(t.type=e),t}Wt=function(l){function t(t,e,i){var n=Ot({createEl:!1},e),i=l.call(this,t,n,i)||this;if(e.playerOptions.sources&&0!==e.playerOptions.sources.length)t.src(e.playerOptions.sources);else for(var s=0,r=e.playerOptions.techOrder;s<r.length;s++){var o=Mt(r[s]),a=Fi.getTech(o);if(o||(a=jt.getComponent(o)),a&&a.isSupported()){t.loadTech_(o);break}}return i}return Ht(t,l),t}(jt);jt.registerComponent("MediaLoader",Wt);Vt=function(n){function t(t,e){e=n.call(this,t,e)||this;return e.emitTapEvents(),e.enable(),e}Ht(t,n);var e=t.prototype;return e.createEl=function(t,e,i){void 0===t&&(t="div"),void 0===e&&(e={}),void 0===i&&(i={}),e=f({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},e),"button"===t&&h.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),i=f({role:"button"},i),this.tabIndex_=e.tabIndex;i=n.prototype.createEl.call(this,t,e,i);return this.createControlTextEl(i),i},e.dispose=function(){this.controlTextEl_=null,n.prototype.dispose.call(this)},e.createControlTextEl=function(t){return this.controlTextEl_=C("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},e.controlText=function(t,e){if(void 0===e&&(e=this.el()),void 0===t)return this.controlText_||"Need Text";var i=this.localize(t);this.controlText_=t,S(this.controlTextEl_,i),this.nonIconControl||e.setAttribute("title",i)},e.buildCSSClass=function(){return"vjs-control vjs-button "+n.prototype.buildCSSClass.call(this)},e.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("keydown",this.handleKeyDown))},e.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==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)},e.handleClick=function(){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},e.handleKeyDown=function(t){$e.isEventKey(t,"Space")||$e.isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):n.prototype.handleKeyDown.call(this,t)},t}(jt);jt.registerComponent("ClickableComponent",Vt);ee=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.update(),t.on("posterchange",bt(Bt(e),e.update)),e}Ht(t,i);var e=t.prototype;return e.dispose=function(){this.player().off("posterchange",this.update),i.prototype.dispose.call(this)},e.createEl=function(){return C("div",{className:"vjs-poster",tabIndex:-1})},e.update=function(){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},e.setSrc=function(t){t=t?'url("'+t+'")':"";this.el_.style.backgroundImage=t},e.handleClick=function(){var t;this.player_.controls()&&(t=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&0<this.player_.eme.sessions.length,!this.player_.tech(!0)||(te||Qt)&&t||this.player_.tech(!0).focus(),this.player_.paused()?Ce(this.player_.play()):this.player_.pause())},t}(Vt);jt.registerComponent("PosterImage",ee);var Ji={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 tn(t,e){var i;if(4===t.length)i=t[1]+t[1]+t[2]+t[2]+t[3]+t[3];else{if(7!==t.length)throw new Error("Invalid color code provided, "+t+"; must be formatted as e.g. #f0e or #f604e2.");i=t.slice(1)}return"rgba("+parseInt(i.slice(0,2),16)+","+parseInt(i.slice(2,4),16)+","+parseInt(i.slice(4,6),16)+","+e+")"}function en(t,e,i){try{t.style[e]=i}catch(t){return}}se=function(s){function t(i,t,e){var e=s.call(this,i,t,e)||this,n=bt(Bt(e),e.updateDisplay);return i.on("loadstart",bt(Bt(e),e.toggleDisplay)),i.on("texttrackchange",n),i.on("loadedmetadata",bt(Bt(e),e.preselectTrack)),i.ready(bt(Bt(e),function(){if(i.tech_&&i.tech_.featuresNativeTextTracks)this.hide();else{i.on("fullscreenchange",n),i.on("playerresize",n),g.addEventListener("orientationchange",n),i.on("dispose",function(){return g.removeEventListener("orientationchange",n)});for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++)this.player_.addRemoteTextTrack(t[e],!0);this.preselectTrack()}})),e}Ht(t,s);var e=t.prototype;return e.preselectTrack=function(){for(var t,e,i,n={captions:1,subtitles:1},s=this.player_.textTracks(),r=this.player_.cache_.selectedLanguage,o=0;o<s.length;o++){var a=s[o];r&&r.enabled&&r.language&&r.language===a.language&&a.kind in n?i=a.kind!==r.kind&&i||a:r&&!r.enabled?e=t=i=null:a.default&&("descriptions"!==a.kind||t?a.kind in n&&!e&&(e=a):t=a)}i?i.mode="showing":e?e.mode="showing":t&&(t.mode="showing")},e.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},e.createEl=function(){return s.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},e.clearDisplay=function(){"function"==typeof g.WebVTT&&g.WebVTT.processCues(g,[],this.el_)},e.updateDisplay=function(){var t=this.player_.textTracks(),e=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),e){for(var i=[],n=0;n<t.length;++n){var s=t[n];"showing"===s.mode&&i.push(s)}this.updateForTrack(i)}else{for(var r=null,o=null,a=t.length;a--;){var l=t[a];"showing"===l.mode&&("descriptions"===l.kind?r=l:o=l)}o?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(o)):r&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(r))}},e.updateDisplayState=function(t){for(var e=this.player_.textTrackSettings.getValues(),i=t.activeCues,n=i.length;n--;){var s,r=i[n];r&&(s=r.displayState,e.color&&(s.firstChild.style.color=e.color),e.textOpacity&&en(s.firstChild,"color",tn(e.color||"#fff",e.textOpacity)),e.backgroundColor&&(s.firstChild.style.backgroundColor=e.backgroundColor),e.backgroundOpacity&&en(s.firstChild,"backgroundColor",tn(e.backgroundColor||"#000",e.backgroundOpacity)),e.windowColor&&(e.windowOpacity?en(s,"backgroundColor",tn(e.windowColor,e.windowOpacity)):s.style.backgroundColor=e.windowColor),e.edgeStyle&&("dropshadow"===e.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===e.edgeStyle?s.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===e.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),e.fontPercent&&1!==e.fontPercent&&(r=g.parseFloat(s.style.fontSize),s.style.fontSize=r*e.fontPercent+"px",s.style.height="auto",s.style.top="auto"),e.fontFamily&&"default"!==e.fontFamily&&("small-caps"===e.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=Ji[e.fontFamily]))}},e.updateForTrack=function(t){if(Array.isArray(t)||(t=[t]),"function"==typeof g.WebVTT&&!t.every(function(t){return!t.activeCues})){for(var e=[],i=0;i<t.length;++i)for(var n=t[i],s=0;s<n.activeCues.length;++s)e.push(n.activeCues[s]);g.WebVTT.processCues(g,e,this.el_);for(var r=0;r<t.length;++r){for(var o=t[r],a=0;a<o.activeCues.length;++a){var l=o.activeCues[a].displayState;$(l,"vjs-text-track-cue"),$(l,"vjs-text-track-cue-"+(o.language?o.language:r))}this.player_.textTrackSettings&&this.updateDisplayState(o)}}},t}(jt);jt.registerComponent("TextTrackDisplay",se);Xe=function(i){function t(){return i.apply(this,arguments)||this}return Ht(t,i),t.prototype.createEl=function(){var t=this.player_.isAudio(),e=this.localize(t?"Audio Player":"Video Player"),t=C("span",{className:"vjs-control-text",innerHTML:this.localize("{1} is loading.",[e])}),e=i.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return e.appendChild(t),e},t}(jt);jt.registerComponent("LoadingSpinner",Xe);var nn=function(e){function t(){return e.apply(this,arguments)||this}Ht(t,e);var i=t.prototype;return i.createEl=function(t,e,i){void 0===e&&(e={}),void 0===i&&(i={}),e=f({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},e),i=f({type:"button"},i);i=jt.prototype.createEl.call(this,"button",e,i);return this.createControlTextEl(i),i},i.addChild=function(t,e){void 0===e&&(e={});var i=this.constructor.name;return h.warn("Adding an actionable (user controllable) child to a Button ("+i+") is not supported; use a ClickableComponent instead."),jt.prototype.addChild.call(this,t,e)},i.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},i.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},i.handleKeyDown=function(t){$e.isEventKey(t,"Space")||$e.isEventKey(t,"Enter")?t.stopPropagation():e.prototype.handleKeyDown.call(this,t)},t}(Vt);jt.registerComponent("Button",nn);Rt=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.mouseused_=!1,e.on("mousedown",e.handleMouseDown),e}Ht(t,i);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-big-play-button"},e.handleClick=function(t){var e=this.player_.play();if(this.mouseused_&&t.clientX&&t.clientY){var i=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&0<this.player_.eme.sessions.length;return Ce(e),void(!this.player_.tech(!0)||(te||Qt)&&i||this.player_.tech(!0).focus())}var i=this.player_.getChild("controlBar"),n=i&&i.getChild("playToggle");n?(i=function(){return n.focus()},Te(e)?e.then(i,function(){}):this.setTimeout(i,1)):this.player_.tech(!0).focus()},e.handleKeyDown=function(t){this.mouseused_=!1,i.prototype.handleKeyDown.call(this,t)},e.handleMouseDown=function(){this.mouseused_=!0},t}(nn);Rt.prototype.controlText_="Play Video",jt.registerComponent("BigPlayButton",Rt);Fe=function(i){function t(t,e){t=i.call(this,t,e)||this;return t.controlText(e&&e.controlText||t.localize("Close")),t}Ht(t,i);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-close-button "+i.prototype.buildCSSClass.call(this)},e.handleClick=function(){this.trigger({type:"close",bubbles:!1})},e.handleKeyDown=function(t){$e.isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):i.prototype.handleKeyDown.call(this,t)},t}(nn);jt.registerComponent("CloseButton",Fe);je=function(n){function t(t,e){var i;return void 0===e&&(e={}),i=n.call(this,t,e)||this,e.replay=void 0===e.replay||e.replay,i.on(t,"play",i.handlePlay),i.on(t,"pause",i.handlePause),e.replay&&i.on(t,"ended",i.handleEnded),i}Ht(t,n);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-play-control "+n.prototype.buildCSSClass.call(this)},e.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},e.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},e.handlePlay=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},e.handlePause=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},e.handleEnded=function(){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},t}(nn);je.prototype.controlText_="Play",jt.registerComponent("PlayToggle",je);function sn(t,e){t=t<0?0:t;var i=Math.floor(t%60),n=Math.floor(t/60%60),s=Math.floor(t/3600),r=Math.floor(e/60%60),e=Math.floor(e/3600);return!isNaN(t)&&t!==1/0||(s=n=i="-"),(s=0<s||0<e?s+":":"")+(n=((s||10<=r)&&n<10?"0"+n:n)+":")+(i=i<10?"0"+i:i)}var rn=sn;function on(t,e){return void 0===e&&(e=t),rn(t,e)}Be=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.on(t,["timeupdate","ended"],e.updateContent),e.updateTextNode_(),e}Ht(t,i);var e=t.prototype;return e.createEl=function(){var t=this.buildCSSClass(),e=i.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control",innerHTML:'<span class="vjs-control-text" role="presentation">'+this.localize(this.labelText_)+" </span>"});return this.contentEl_=C("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),e.appendChild(this.contentEl_),e},e.dispose=function(){this.contentEl_=null,this.textNode_=null,i.prototype.dispose.call(this)},e.updateTextNode_=function(t){var e=this;void 0===t&&(t=0),t=on(t),this.formattedTime_!==t&&(this.formattedTime_=t,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",function(){var t;e.contentEl_&&(t=e.textNode_,e.textNode_=u.createTextNode(e.formattedTime_),e.textNode_&&(t?e.contentEl_.replaceChild(e.textNode_,t):e.contentEl_.appendChild(e.textNode_)))}))},e.updateContent=function(){},t}(jt);Be.prototype.labelText_="Time",Be.prototype.controlText_="Time",jt.registerComponent("TimeDisplay",Be);Lt=function(t){function e(){return t.apply(this,arguments)||this}Ht(e,t);var i=e.prototype;return i.buildCSSClass=function(){return"vjs-current-time"},i.updateContent=function(){var t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateTextNode_(t)},e}(Be);Lt.prototype.labelText_="Current Time",Lt.prototype.controlText_="Current Time",jt.registerComponent("CurrentTimeDisplay",Lt);si=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.on(t,"durationchange",e.updateContent),e.on(t,"loadstart",e.updateContent),e.on(t,"loadedmetadata",e.updateContent),e}Ht(t,i);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-duration"},e.updateContent=function(){var t=this.player_.duration();this.updateTextNode_(t)},t}(Be);si.prototype.labelText_="Duration",si.prototype.controlText_="Duration",jt.registerComponent("DurationDisplay",si);Wt=function(t){function e(){return t.apply(this,arguments)||this}return Ht(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"},{"aria-hidden":!0})},e}(jt);jt.registerComponent("TimeDivider",Wt);ee=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.on(t,"durationchange",e.updateContent),e}Ht(t,i);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-remaining-time"},e.createEl=function(){var t=i.prototype.createEl.call(this);return t.insertBefore(C("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},e.updateContent=function(){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}(Be);ee.prototype.labelText_="Remaining Time",ee.prototype.controlText_="Remaining Time",jt.registerComponent("RemainingTimeDisplay",ee);se=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.updateShowing(),e.on(e.player(),"durationchange",e.updateShowing),e}Ht(t,i);var e=t.prototype;return e.createEl=function(){var t=i.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=C("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+" </span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},e.dispose=function(){this.contentEl_=null,i.prototype.dispose.call(this)},e.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},t}(jt);jt.registerComponent("LiveDisplay",se);Xe=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.updateLiveEdgeStatus(),e.player_.liveTracker&&e.on(e.player_.liveTracker,"liveedgechange",e.updateLiveEdgeStatus),e}Ht(t,i);var e=t.prototype;return e.createEl=function(){var t=i.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=C("span",{className:"vjs-seek-to-live-text",innerHTML:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},e.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"))},e.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},e.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatus),this.textEl_=null,i.prototype.dispose.call(this)},t}(nn);Xe.prototype.controlText_="Seek to live, currently playing live",jt.registerComponent("SeekToLive",Xe);function an(t,e,i){return t=Number(t),Math.min(i,Math.max(e,isNaN(t)?e:t))}Rt=function(n){function t(t,e){e=n.call(this,t,e)||this;return e.bar=e.getChild(e.options_.barName),e.vertical(!!e.options_.vertical),e.enable(),e}Ht(t,n);var e=t.prototype;return e.enabled=function(){return this.enabled_},e.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)},e.disable=function(){var t;this.enabled()&&(t=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(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1)},e.createEl=function(t,e,i){return void 0===e&&(e={}),void 0===i&&(i={}),e.className=e.className+" vjs-slider",e=f({tabIndex:0},e),i=f({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},i),n.prototype.createEl.call(this,t,e,i)},e.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;"mousedown"===t.type&&t.preventDefault(),"touchstart"!==t.type||Zt||t.preventDefault(),L(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchmove",this.handleMouseMove),this.on(e,"touchend",this.handleMouseUp),this.handleMouseMove(t)},e.handleMouseMove=function(){},e.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;N(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.update()},e.update=function(){var e=this;if(this.el_&&this.bar){var i=this.getProgress();return i===this.progress_?i:(this.progress_=i,this.requestNamedAnimationFrame("Slider#update",function(){var t=e.vertical()?"height":"width";e.bar.el().style[t]=(100*i).toFixed(2)+"%"}),i)}},e.getProgress=function(){return Number(an(this.getPercent(),0,1).toFixed(4))},e.calculateDistance=function(t){t=j(this.el_,t);return this.vertical()?t.y:t.x},e.handleKeyDown=function(t){$e.isEventKey(t,"Left")||$e.isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):$e.isEventKey(t,"Right")||$e.isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):n.prototype.handleKeyDown.call(this,t)},e.handleClick=function(t){t.stopPropagation(),t.preventDefault()},e.vertical=function(t){if(void 0===t)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(jt);jt.registerComponent("Slider",Rt);function ln(t,e){return an(t/e*100,0,100).toFixed(2)+"%"}Fe=function(s){function t(t,e){e=s.call(this,t,e)||this;return e.partEls_=[],e.on(t,"progress",e.update),e}Ht(t,s);var e=t.prototype;return e.createEl=function(){var t=s.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),e=C("span",{className:"vjs-control-text"}),i=C("span",{textContent:this.localize("Loaded")}),n=u.createTextNode(": ");return this.percentageEl_=C("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(e),e.appendChild(i),e.appendChild(n),e.appendChild(this.percentageEl_),t},e.dispose=function(){this.partEls_=null,this.percentageEl_=null,s.prototype.dispose.call(this)},e.update=function(){var d=this;this.requestNamedAnimationFrame("LoadProgressBar#update",function(){var t=d.player_.liveTracker,e=d.player_.buffered(),t=t&&t.isLive()?t.seekableEnd():d.player_.duration(),i=d.player_.bufferedEnd(),n=d.partEls_,t=ln(i,t);d.percent_!==t&&(d.el_.style.width=t,S(d.percentageEl_,t),d.percent_=t);for(var s=0;s<e.length;s++){var r=e.start(s),o=e.end(s),a=n[s];a||(a=d.el_.appendChild(C()),n[s]=a),a.dataset.start===r&&a.dataset.end===o||(a.dataset.start=r,a.dataset.end=o,a.style.left=ln(r,i),a.style.width=ln(o-r,i))}for(var l=n.length;l>e.length;l--)d.el_.removeChild(n[l-1]);n.length=e.length})},t}(jt);jt.registerComponent("LoadProgressBar",Fe);je=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.update=mt(bt(Bt(e),e.update),30),e}Ht(t,i);var e=t.prototype;return e.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},e.update=function(t,e,i){var n=F(this.el_),s=R(this.player_.el()),r=t.width*e;s&&n&&(e=t.left-s.left+r,s=t.width-r+(s.right-t.right),e<(t=n.width/2)?t+=t-e:s<t&&(t=s),t<0?t=0:t>n.width&&(t=n.width),this.el_.style.right="-"+t+"px",this.write(i))},e.write=function(t){S(this.el_,t)},e.updateTime=function(n,s,r,o){var a=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",function(){var t,e,i=a.player_.duration();i=a.player_.liveTracker&&a.player_.liveTracker.isLive()?((e=(t=a.player_.liveTracker.liveWindow())-s*t)<1?"":"-")+on(e,t):on(r,i),a.update(n,s,i),o&&o()})},t}(jt);jt.registerComponent("TimeTooltip",je);Lt=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.update=mt(bt(Bt(e),e.update),30),e}Ht(t,i);var e=t.prototype;return e.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},e.update=function(t,e){var i,n=this.getChild("timeTooltip");n&&(i=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n.updateTime(t,e,i))},t}(jt);Lt.prototype.options_={children:[]},oe||Yt||Lt.prototype.options_.children.push("timeTooltip"),jt.registerComponent("PlayProgressBar",Lt);si=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.update=mt(bt(Bt(e),e.update),30),e}Ht(t,i);var e=t.prototype;return e.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},e.update=function(t,e){var i=this,n=e*this.player_.duration();this.getChild("timeTooltip").updateTime(t,e,n,function(){i.el_.style.left=t.width*e+"px"})},t}(jt);si.prototype.options_={children:["timeTooltip"]},jt.registerComponent("MouseTimeDisplay",si);Wt=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.setEventHandlers_(),e}Ht(t,i);var e=t.prototype;return e.setEventHandlers_=function(){this.update_=bt(this,this.update),this.update=mt(this.update_,30),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.on(this.player_,["playing"],this.enableInterval_),this.on(this.player_,["ended","pause","waiting"],this.disableInterval_),"hidden"in u&&"visibilityState"in u&&this.on(u,"visibilitychange",this.toggleVisibility_)},e.toggleVisibility_=function(t){u.hidden?this.disableInterval_(t):(this.enableInterval_(),this.update())},e.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,30))},e.disableInterval_=function(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&t&&"ended"!==t.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},e.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},e.update=function(){var n=this,s=i.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",function(){var t=n.player_.ended()?n.player_.duration():n.getCurrentTime_(),e=n.player_.liveTracker,i=n.player_.duration();e&&e.isLive()&&(i=n.player_.liveTracker.liveCurrentTime()),n.percent_!==s&&(n.el_.setAttribute("aria-valuenow",(100*s).toFixed(2)),n.percent_=s),n.currentTime_===t&&n.duration_===i||(n.el_.setAttribute("aria-valuetext",n.localize("progress bar timing: currentTime={1} duration={2}",[on(t,i),on(i,i)],"{1} of {2}")),n.currentTime_=t,n.duration_=i),n.bar&&n.bar.update(R(n.el()),n.getProgress())}),s},e.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},e.getPercent=function(){var t,e=this.getCurrentTime_(),i=this.player_.liveTracker;return i&&i.isLive()?(t=(e-i.seekableStart())/i.liveWindow(),i.atLiveEdge()&&(t=1)):t=e/this.player_.duration(),t},e.handleMouseDown=function(t){W(t)&&(t.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),i.prototype.handleMouseDown.call(this,t))},e.handleMouseMove=function(t){if(W(t)){var e=this.calculateDistance(t),i=this.player_.liveTracker;if(i&&i.isLive()){if(.99<=e)return void i.seekToLiveEdge();var n,s=i.seekableStart(),t=i.liveCurrentTime();if(t<=(n=s+e*i.liveWindow())&&(n=t),n<=s&&(n=s+.1),n===1/0)return}else(n=e*this.player_.duration())===this.player_.duration()&&(n-=.1);this.player_.currentTime(n)}},e.enable=function(){i.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},e.disable=function(){i.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},e.handleMouseUp=function(t){i.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?Ce(this.player_.play()):this.update_()},e.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},e.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},e.handleAction=function(){this.player_.paused()?this.player_.play():this.player_.pause()},e.handleKeyDown=function(t){var e;$e.isEventKey(t,"Space")||$e.isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.handleAction(t)):$e.isEventKey(t,"Home")?(t.preventDefault(),t.stopPropagation(),this.player_.currentTime(0)):$e.isEventKey(t,"End")?(t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.duration())):/^[0-9]$/.test($e(t))?(t.preventDefault(),t.stopPropagation(),e=10*($e.codes[$e(t)]-$e.codes[0])/100,this.player_.currentTime(this.player_.duration()*e)):$e.isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.currentTime()-60)):$e.isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.currentTime()+60)):i.prototype.handleKeyDown.call(this,t)},e.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableInterval_),this.off(this.player_,["ended","pause","waiting"],this.disableInterval_),"hidden"in u&&"visibilityState"in u&&this.off(u,"visibilitychange",this.toggleVisibility_),i.prototype.dispose.call(this)},t}(Rt);Wt.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},oe||Yt||Wt.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),jt.registerComponent("SeekBar",Wt);Be=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.handleMouseMove=mt(bt(Bt(e),e.handleMouseMove),30),e.throttledHandleMouseSeek=mt(bt(Bt(e),e.handleMouseSeek),30),e.enable(),e}Ht(t,i);var e=t.prototype;return e.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},e.handleMouseMove=function(t){var e,i,n,s,r=this.getChild("seekBar");r&&(e=r.getChild("playProgressBar"),i=r.getChild("mouseTimeDisplay"),(e||i)&&(s=F(n=r.el()),t=j(n,t).x,t=an(t,0,1),i&&i.update(s,t),e&&e.update(s,r.getProgress())))},e.handleMouseSeek=function(t){var e=this.getChild("seekBar");e&&e.handleMouseMove(t)},e.enabled=function(){return this.enabled_},e.disable=function(){this.children().forEach(function(t){return t.disable&&t.disable()}),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},e.enable=function(){this.children().forEach(function(t){return t.enable&&t.enable()}),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},e.handleMouseDown=function(t){var e=this.el_.ownerDocument,i=this.getChild("seekBar");i&&i.handleMouseDown(t),this.on(e,"mousemove",this.throttledHandleMouseSeek),this.on(e,"touchmove",this.throttledHandleMouseSeek),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.handleMouseUp=function(t){var e=this.el_.ownerDocument,i=this.getChild("seekBar");i&&i.handleMouseUp(t),this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},t}(jt);Be.prototype.options_={children:["seekBar"]},jt.registerComponent("ProgressControl",Be);ee=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.on(t,["enterpictureinpicture","leavepictureinpicture"],e.handlePictureInPictureChange),e.on(t,["disablepictureinpicturechanged","loadedmetadata"],e.handlePictureInPictureEnabledChange),e.disable(),e}Ht(t,i);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-picture-in-picture-control "+i.prototype.buildCSSClass.call(this)},e.handlePictureInPictureEnabledChange=function(){u.pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},e.handlePictureInPictureChange=function(){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},e.handleClick=function(){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}(nn);ee.prototype.controlText_="Picture-in-Picture",jt.registerComponent("PictureInPictureToggle",ee);se=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.on(t,"fullscreenchange",e.handleFullscreenChange),!1===u[t.fsApi_.fullscreenEnabled]&&e.disable(),e}Ht(t,i);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-fullscreen-control "+i.prototype.buildCSSClass.call(this)},e.handleFullscreenChange=function(){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},e.handleClick=function(){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(nn);se.prototype.controlText_="Fullscreen",jt.registerComponent("FullscreenToggle",se);Xe=function(t){function e(){return t.apply(this,arguments)||this}return Ht(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},e}(jt);jt.registerComponent("VolumeLevel",Xe);Fe=function(n){function t(t,e){var i=n.call(this,t,e)||this;return i.on("slideractive",i.updateLastVolume_),i.on(t,"volumechange",i.updateARIAAttributes),t.ready(function(){return i.updateARIAAttributes()}),i}Ht(t,n);var e=t.prototype;return e.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},e.handleMouseDown=function(t){W(t)&&n.prototype.handleMouseDown.call(this,t)},e.handleMouseMove=function(t){W(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))},e.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},e.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},e.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},e.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},e.updateARIAAttributes=function(){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},e.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},e.updateLastVolume_=function(){var t=this,e=this.player_.volume();this.one("sliderinactive",function(){0===t.player_.volume()&&t.player_.lastVolume_(e)})},t}(Rt);Fe.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Fe.prototype.playerEvent="volumechange",jt.registerComponent("VolumeBar",Fe);je=function(r){function t(t,e){var i,n,s;return void 0===e&&(e={}),e.vertical=e.vertical||!1,void 0!==e.volumeBar&&!c(e.volumeBar)||(e.volumeBar=e.volumeBar||{},e.volumeBar.vertical=e.vertical),i=r.call(this,t,e)||this,n=Bt(i),(s=t).tech_&&!s.tech_.featuresVolumeControl&&n.addClass("vjs-hidden"),n.on(s,"loadstart",function(){s.tech_.featuresVolumeControl?n.removeClass("vjs-hidden"):n.addClass("vjs-hidden")}),i.throttledHandleMouseMove=mt(bt(Bt(i),i.handleMouseMove),30),i.on("mousedown",i.handleMouseDown),i.on("touchstart",i.handleMouseDown),i.on(i.volumeBar,["focus","slideractive"],function(){i.volumeBar.addClass("vjs-slider-active"),i.addClass("vjs-slider-active"),i.trigger("slideractive")}),i.on(i.volumeBar,["blur","sliderinactive"],function(){i.volumeBar.removeClass("vjs-slider-active"),i.removeClass("vjs-slider-active"),i.trigger("sliderinactive")}),i}Ht(t,r);var e=t.prototype;return e.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),r.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},e.handleMouseDown=function(){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},e.handleMouseUp=function(){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},e.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},t}(jt);je.prototype.options_={children:["volumeBar"]},jt.registerComponent("VolumeControl",je);Lt=function(s){function t(t,e){var i,n,e=s.call(this,t,e)||this;return i=Bt(e),(n=t).tech_&&!n.tech_.featuresMuteControl&&i.addClass("vjs-hidden"),i.on(n,"loadstart",function(){n.tech_.featuresMuteControl?i.removeClass("vjs-hidden"):i.addClass("vjs-hidden")}),e.on(t,["loadstart","volumechange"],e.update),e}Ht(t,s);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-mute-control "+s.prototype.buildCSSClass.call(this)},e.handleClick=function(){var t=this.player_.volume(),e=this.player_.lastVolume_();0===t?(e=e<.1?.1:e,this.player_.volume(e),this.player_.muted(!1)):this.player_.muted(!this.player_.muted())},e.update=function(){this.updateIcon_(),this.updateControlText_()},e.updateIcon_=function(){var t=this.player_.volume(),e=3;oe&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);for(var i=0;i<4;i++)E(this.el_,"vjs-vol-"+i);$(this.el_,"vjs-vol-"+e)},e.updateControlText_=function(){var t=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==t&&this.controlText(t)},t}(nn);Lt.prototype.controlText_="Mute",jt.registerComponent("MuteToggle",Lt);si=function(i){function t(t,e){return void 0===e&&(e={}),void 0!==e.inline?e.inline=e.inline:e.inline=!0,void 0!==e.volumeControl&&!c(e.volumeControl)||(e.volumeControl=e.volumeControl||{},e.volumeControl.vertical=!e.inline),(e=i.call(this,t,e)||this).on(t,["loadstart"],e.volumePanelState_),e.on(e.muteToggle,"keyup",e.handleKeyPress),e.on(e.volumeControl,"keyup",e.handleVolumeControlKeyUp),e.on("keydown",e.handleKeyPress),e.on("mouseover",e.handleMouseOver),e.on("mouseout",e.handleMouseOut),e.on(e.volumeControl,["slideractive"],e.sliderActive_),e.on(e.volumeControl,["sliderinactive"],e.sliderInactive_),e}Ht(t,i);var e=t.prototype;return e.sliderActive_=function(){this.addClass("vjs-slider-active")},e.sliderInactive_=function(){this.removeClass("vjs-slider-active")},e.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")},e.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),i.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},e.dispose=function(){this.handleMouseOut(),i.prototype.dispose.call(this)},e.handleVolumeControlKeyUp=function(t){$e.isEventKey(t,"Esc")&&this.muteToggle.focus()},e.handleMouseOver=function(){this.addClass("vjs-hover"),ct(u,"keyup",bt(this,this.handleKeyPress))},e.handleMouseOut=function(){this.removeClass("vjs-hover"),ut(u,"keyup",bt(this,this.handleKeyPress))},e.handleKeyPress=function(t){$e.isEventKey(t,"Esc")&&this.handleMouseOut()},t}(jt);si.prototype.options_={children:["muteToggle","volumeControl"]},jt.registerComponent("VolumePanel",si);var dn=function(i){function t(t,e){t=i.call(this,t,e)||this;return e&&(t.menuButton_=e.menuButton),t.focusedChild_=-1,t.on("keydown",t.handleKeyDown),t.boundHandleBlur_=bt(Bt(t),t.handleBlur),t.boundHandleTapClick_=bt(Bt(t),t.handleTapClick),t}Ht(t,i);var e=t.prototype;return e.addEventListenerForItem=function(t){t instanceof jt&&(this.on(t,"blur",this.boundHandleBlur_),this.on(t,["tap","click"],this.boundHandleTapClick_))},e.removeEventListenerForItem=function(t){t instanceof jt&&(this.off(t,"blur",this.boundHandleBlur_),this.off(t,["tap","click"],this.boundHandleTapClick_))},e.removeChild=function(t){"string"==typeof t&&(t=this.getChild(t)),this.removeEventListenerForItem(t),i.prototype.removeChild.call(this,t)},e.addItem=function(t){t=this.addChild(t);t&&this.addEventListenerForItem(t)},e.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=C(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");t=i.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return t.appendChild(this.contentEl_),ct(t,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),t},e.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,i.prototype.dispose.call(this)},e.handleBlur=function(t){var e=t.relatedTarget||u.activeElement;this.children().some(function(t){return t.el()===e})||(t=this.menuButton_)&&t.buttonPressed_&&e!==t.el().firstChild&&t.unpressButton()},e.handleTapClick=function(e){var t;this.menuButton_&&(this.menuButton_.unpressButton(),t=this.children(),!Array.isArray(t)||(t=t.filter(function(t){return t.el()===e.target})[0])&&"CaptionSettingsMenuItem"!==t.name()&&this.menuButton_.focus())},e.handleKeyDown=function(t){$e.isEventKey(t,"Left")||$e.isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):($e.isEventKey(t,"Right")||$e.isEventKey(t,"Up"))&&(t.preventDefault(),t.stopPropagation(),this.stepBack())},e.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},e.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},e.focus=function(t){void 0===t&&(t=0);var e=this.children().slice();e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className)&&e.shift(),0<e.length&&(t<0?t=0:t>=e.length&&(t=e.length-1),e[this.focusedChild_=t].el_.focus())},t}(jt);jt.registerComponent("Menu",dn);Wt=function(n){function t(t,e){var i;void 0===e&&(e={}),(i=n.call(this,t,e)||this).menuButton_=new nn(t,e),i.menuButton_.controlText(i.controlText_),i.menuButton_.el_.setAttribute("aria-haspopup","true");e=nn.prototype.buildCSSClass();return i.menuButton_.el_.className=i.buildCSSClass()+" "+e,i.menuButton_.removeClass("vjs-control"),i.addChild(i.menuButton_),i.update(),i.enabled_=!0,i.on(i.menuButton_,"tap",i.handleClick),i.on(i.menuButton_,"click",i.handleClick),i.on(i.menuButton_,"keydown",i.handleKeyDown),i.on(i.menuButton_,"mouseenter",function(){i.addClass("vjs-hover"),i.menu.show(),ct(u,"keyup",bt(Bt(i),i.handleMenuKeyUp))}),i.on("mouseleave",i.handleMouseLeave),i.on("keydown",i.handleSubmenuKeyDown),i}Ht(t,n);var e=t.prototype;return e.update=function(){var t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},e.createMenu=function(){var t,e=new dn(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title&&(t=C("li",{className:"vjs-menu-title",innerHTML:Mt(this.options_.title),tabIndex:-1}),this.hideThreshold_+=1,t=new jt(this.player_,{el:t}),e.addItem(t)),this.items=this.createItems(),this.items)for(var i=0;i<this.items.length;i++)e.addItem(this.items[i]);return e},e.createItems=function(){},e.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},e.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+nn.prototype.buildCSSClass()+" "+n.prototype.buildCSSClass.call(this)},e.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+n.prototype.buildCSSClass.call(this)},e.controlText=function(t,e){return void 0===e&&(e=this.menuButton_.el()),this.menuButton_.controlText(t,e)},e.dispose=function(){this.handleMouseLeave(),n.prototype.dispose.call(this)},e.handleClick=function(){this.buttonPressed_?this.unpressButton():this.pressButton()},e.handleMouseLeave=function(){this.removeClass("vjs-hover"),ut(u,"keyup",bt(this,this.handleMenuKeyUp))},e.focus=function(){this.menuButton_.focus()},e.blur=function(){this.menuButton_.blur()},e.handleKeyDown=function(t){$e.isEventKey(t,"Esc")||$e.isEventKey(t,"Tab")?(this.buttonPressed_&&this.unpressButton(),$e.isEventKey(t,"Tab")||(t.preventDefault(),this.menuButton_.focus())):($e.isEventKey(t,"Up")||$e.isEventKey(t,"Down"))&&(this.buttonPressed_||(t.preventDefault(),this.pressButton()))},e.handleMenuKeyUp=function(t){($e.isEventKey(t,"Esc")||$e.isEventKey(t,"Tab"))&&this.removeClass("vjs-hover")},e.handleSubmenuKeyPress=function(t){this.handleSubmenuKeyDown(t)},e.handleSubmenuKeyDown=function(t){($e.isEventKey(t,"Esc")||$e.isEventKey(t,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),$e.isEventKey(t,"Tab")||(t.preventDefault(),this.menuButton_.focus()))},e.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),oe&&w()||this.menu.focus())},e.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","fal
1se"))},e.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},e.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(jt);jt.registerComponent("MenuButton",Wt);Be=function(s){function t(t,e){var i=e.tracks,e=s.call(this,t,e)||this;if(e.items.length<=1&&e.hide(),!i)return Bt(e);var n=bt(Bt(e),e.update);return i.addEventListener("removetrack",n),i.addEventListener("addtrack",n),e.player_.on("ready",n),e.player_.on("dispose",function(){i.removeEventListener("removetrack",n),i.removeEventListener("addtrack",n)}),e}return Ht(t,s),t}(Wt);jt.registerComponent("TrackButton",Be);var cn=["Tab","Esc","Up","Down","Right","Left"],ee=function(n){function t(t,e){t=n.call(this,t,e)||this;return t.selectable=e.selectable,t.isSelected_=e.selected||!1,t.multiSelectable=e.multiSelectable,t.selected(t.isSelected_),t.selectable?t.multiSelectable?t.el_.setAttribute("role","menuitemcheckbox"):t.el_.setAttribute("role","menuitemradio"):t.el_.setAttribute("role","menuitem"),t}Ht(t,n);var e=t.prototype;return e.createEl=function(t,e,i){return this.nonIconControl=!0,n.prototype.createEl.call(this,"li",f({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},e),i)},e.handleKeyDown=function(e){cn.some(function(t){return $e.isEventKey(e,t)})||n.prototype.handleKeyDown.call(this,e)},e.handleClick=function(){this.selected(!0)},e.selected=function(t){this.selectable&&(t?(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}(Vt);jt.registerComponent("MenuItem",ee);var un=function(l){function t(t,e){var n,i=e.track,s=t.textTracks();e.label=i.label||i.language||"Unknown",e.selected="showing"===i.mode,(n=l.call(this,t,e)||this).track=i,n.kinds=(e.kinds||[e.kind||n.track.kind]).filter(Boolean);function r(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];n.handleTracksChange.apply(Bt(n),e)}function o(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];n.handleSelectedLanguageChange.apply(Bt(n),e)}var a;return t.on(["loadstart","texttrackchange"],r),s.addEventListener("change",r),s.addEventListener("selectedlanguagechange",o),n.on("dispose",function(){t.off(["loadstart","texttrackchange"],r),s.removeEventListener("change",r),s.removeEventListener("selectedlanguagechange",o)}),void 0===s.onchange&&n.on(["tap","click"],function(){if("object"!=typeof g.Event)try{a=new g.Event("change")}catch(t){}a||(a=u.createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(a)}),n.handleTracksChange(),n}Ht(t,l);var e=t.prototype;return e.handleClick=function(t){var e=this.track,i=this.player_.textTracks();if(l.prototype.handleClick.call(this,t),i)for(var n=0;n<i.length;n++){var s=i[n];-1!==this.kinds.indexOf(s.kind)&&(s===e?"showing"!==s.mode&&(s.mode="showing"):"disabled"!==s.mode&&(s.mode="disabled"))}},e.handleTracksChange=function(){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},e.handleSelectedLanguageChange=function(){var t;"showing"===this.track.mode&&((t=this.player_.cache_.selectedLanguage)&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind||(this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}))},e.dispose=function(){this.track=null,l.prototype.dispose.call(this)},t}(ee);jt.registerComponent("TextTrackMenuItem",un);var hn=function(i){function t(t,e){return e.track={player:t,kind:e.kind,kinds:e.kinds,default:!1,mode:"disabled"},e.kinds||(e.kinds=[e.kind]),e.label?e.track.label=e.label:e.track.label=e.kinds.join(" and ")+" off",e.selectable=!0,e.multiSelectable=!1,i.call(this,t,e)||this}Ht(t,i);var e=t.prototype;return e.handleTracksChange=function(){for(var t=this.player().textTracks(),e=!0,i=0,n=t.length;i<n;i++){var s=t[i];if(-1<this.options_.kinds.indexOf(s.kind)&&"showing"===s.mode){e=!1;break}}e!==this.isSelected_&&this.selected(e)},e.handleSelectedLanguageChange=function(){for(var t=this.player().textTracks(),e=!0,i=0,n=t.length;i<n;i++){var s=t[i];if(-1<["captions","descriptions","subtitles"].indexOf(s.kind)&&"showing"===s.mode){e=!1;break}}e&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(un);jt.registerComponent("OffTextTrackMenuItem",hn);se=function(i){function t(t,e){return void 0===e&&(e={}),e.tracks=t.textTracks(),i.call(this,t,e)||this}return Ht(t,i),t.prototype.createItems=function(t,e){var i;void 0===t&&(t=[]),void 0===e&&(e=un),this.label_&&(i=this.label_+" off"),t.push(new hn(this.player_,{kinds:this.kinds_,kind:this.kind_,label:i})),this.hideThreshold_+=1;var n=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var s=0;s<n.length;s++){var r,o=n[s];
1-1<this.kinds_.indexOf(o.kind)&&((r=new e(this.player_,{track:o,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1})).addClass("vjs-"+o.kind+"-menu-item"),t.push(r))}return t},t}(Be);jt.registerComponent("TextTrackButton",se);var pn=function(r){function t(t,e){var i=e.track,n=e.cue,s=t.currentTime();return e.selectable=!0,e.multiSelectable=!1,e.label=n.text,e.selected=n.startTime<=s&&s<n.endTime,(e=r.call(this,t,e)||this).track=i,e.cue=n,i.addEventListener("cuechange",bt(Bt(e),e.update)),e}Ht(t,r);var e=t.prototype;return e.handleClick=function(){r.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},e.update=function(){var t=this.cue,e=this.player_.currentTime();this.selected(t.startTime<=e&&e<t.endTime)},t}(ee);jt.registerComponent("ChaptersTrackMenuItem",pn);Xe=function(n){function t(t,e,i){return n.call(this,t,e,i)||this}Ht(t,n);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildCSSClass.call(this)},e.buildWrapperCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildWrapperCSSClass.call(this)},e.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),n.prototype.update.call(this)},e.setTrack=function(t){var e;this.track_!==t&&(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_&&((e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_))&&e.removeEventListener("load",this.updateHandler_),this.track_=null),this.track_=t,this.track_&&(this.track_.mode="hidden",(t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_))&&t.addEventListener("load",this.updateHandler_)))}
vendor: 14,235 bytes, line 1
1,e.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],e=t.length-1;0<=e;e--){var i=t[e];if(i.kind===this.kind_)return i}},e.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(Mt(this.kind_))},e.createMenu=function(){return this.options_.title=this.getMenuCaption(),n.prototype.createMenu.call(this)},e.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var i=0,n=e.length;i<n;i++){var s=e[i],s=new pn(this.player_,{track:this.track_,cue:s});t.push(s)}return t},t}(se);Xe.prototype.kind_="chapters",Xe.prototype.controlText_="Chapters",jt.registerComponent("ChaptersButton",Xe);Rt=function(r){function t(t,e,i){var i=r.call(this,t,e,i)||this,n=t.textTracks(),s=bt(Bt(i),i.handleTracksChange);return n.addEventListener("change",s),i.on("dispose",function(){n.removeEventListener("change",s)}),i}Ht(t,r);var e=t.prototype;return e.handleTracksChange=function(){for(var t=this.player().textTracks(),e=!1,i=0,n=t.length;i<n;i++){var s=t[i];if(s.kind!==this.kind_&&"showing"===s.mode){e=!0;break}}e?this.disable():this.enable()},e.buildCSSClass=function(){return"vjs-descriptions-button "+r.prototype.buildCSSClass.call(this)},e.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+r.prototype.buildWrapperCSSClass.call(this)},t}(se);Rt.prototype.kind_="descriptions",Rt.prototype.controlText_="Descriptions",jt.registerComponent("DescriptionsButton",Rt);Fe=function(n){function t(t,e,i){return n.call(this,t,e,i)||this}Ht(t,n);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildCSSClass.call(this)},e.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildWrapperCSSClass.call(this)},t}(se);Fe.prototype.kind_="subtitles",Fe.prototype.controlText_="Subtitles",jt.registerComponent("SubtitlesButton",Fe);var fn=function(i){function t(t,e){return e.track={player:t,kind:e.kind,label:e.kind+" settings",selectable:!1,default:!1,mode:"disabled"},e.selectable=!1,e.name="CaptionSettingsMenuItem",(t=i.call(this,t,e)||this).addClass("vjs-texttrack-settings"),t.controlText(", opens "+e.kind+" settings dialog"),t}return Ht(t,i),t.prototype.handleClick=function(){this.player().getChild("textTrackSettings").open()},t}(un);jt.registerComponent("CaptionSettingsMenuItem",fn);je=function(n){function t(t,e,i){return n.call(this,t,e,i)||this}Ht(t,n);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-captions-button "+n.prototype.buildCSSClass.call(this)},e.buildWrapperCSSClass=function(){return"vjs-captions-button "+n.prototype.buildWrapperCSSClass.call(this)},e.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new fn(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),n.prototype.createItems.call(this,t)},t}(se);je.prototype.kind_="captions",je.prototype.controlText_="Captions",jt.registerComponent("CaptionsButton",je);var mn=function(s){function t(){return s.apply(this,arguments)||this}return Ht(t,s),t.prototype.createEl=function(t,e,i){var n='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"captions"===this.options_.track.kind&&(n+='\n        <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n        <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n      "),n+="</span>",s.prototype.createEl.call(this,t,f({innerHTML:n},e),i)},t}(un);jt.registerComponent("SubsCapsMenuItem",mn);Lt=function(i){function t(t,e){return void 0===e&&(e={}),(e=i.call(this,t,e)||this).label_="subtitles",-1<["en","en-us","en-ca","fr-ca"].indexOf(e.player_.language_)&&(e.label_="captions"),e.menuButton_.controlText(Mt(e.label_)),e}Ht(t,i);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-subs-caps-button "+i.prototype.buildCSSClass.call(this)},e.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+i.prototype.buildWrapperCSSClass.call(this)},e.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new fn(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=i.prototype.createItems.call(this,t,mn)},t}(se);Lt.prototype.kinds_=["captions","subtitles"],Lt.prototype.controlText_="Subtitles",jt.registerComponent("SubsCapsButton",Lt);var gn=function(o){function t(t,e){var n,i=e.track,s=t.audioTracks();e.label=i.label||i.language||"Unknown",e.selected=i.enabled,(n=o.call(this,t,e)||this).track=i,n.addClass("vjs-"+i.kind+"-menu-item");function r(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];n.handleTracksChange.apply(Bt(n),e)}return s.addEventListener("change",r),n.on("dispose",function(){s.removeEventListener("change",r)}),n}Ht(t,o);var e=t.prototype;return e.createEl=function(t,e,i){var n='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"main-desc"===this.options_.track.kind&&(n+='\n        <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n        <span class="vjs-control-text"> '+this.localize("Descriptions")+"</span>\n      "),n+="</span>",o.prototype.createEl.call(this,t,f({innerHTML:n},e),i)},e.handleClick=function(t){var e=this.player_.audioTracks();o.prototype.handleClick.call(this,t);for(var i=0;i<e.length;i++){var n=e[i];n.enabled=n===this.track}},e.handleTracksChange=function(){this.selected(this.track.enabled)},t}(ee);jt.registerComponent("AudioTrackMenuItem",gn);si=function(i){function t(t,e){return void 0===e&&(e={}),e.tracks=t.audioTracks(),i.call(this,t,e)||this}Ht(t,i);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-audio-button "+i.prototype.buildCSSClass.call(this)},e.buildWrapperCSSClass=function(){return"vjs-audio-button "+i.prototype.buildWrapperCSSClass.call(this)},e.createItems=function(t){void 0===t&&(t=[]),this.hideThreshold_=1;for(var e=this.player_.audioTracks(),i=0;i<e.length;i++){var n=e[i];t.push(new gn(this.player_,{track:n,selectable:!0,multiSelectable:!1}))}return t},t}(Be);si.prototype.controlText_="Audio Track",jt.registerComponent("AudioTrackButton",si);var vn=function(s){function t(t,e){var i=e.rate,n=parseFloat(i,10);return e.label=i,e.selected=1===n,e.selectable=!0,e.multiSelectable=!1,(e=s.call(this,t,e)||this).label=i,e.rate=n,e.on(t,"ratechange",e.update),e}Ht(t,s);var e=t.prototype;return e.handleClick=function(){s.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},e.update=function(){this.selected(this.player().playbackRate()===this.rate)},t}(ee);vn.prototype.contentElType="button",jt.registerComponent("PlaybackRateMenuItem",vn);Vt=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.updateVisibility(),e.updateLabel(),e.on(t,"loadstart",e.updateVisibility),e.on(t,"ratechange",e.updateLabel),e}Ht(t,i);var e=t.prototype;return e.createEl=function(){var t=i.prototype.createEl.call(this);return this.labelEl_=C("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),t.appendChild(this.labelEl_),t},e.dispose=function(){this.labelEl_=null,i.prototype.dispose.call(this)},e.buildCSSClass=function(){return"vjs-playback-rate "+i.prototype.buildCSSClass.call(this)},e.buildWrapperCSSClass=function(){return"vjs-playback-rate "+i.prototype.buildWrapperCSSClass.call(this)},e.createMenu=function(){var t=new dn(this.player()),e=this.playbackRates();if(e)for(var i=e.length-1;0<=i;i--)t.addChild(new vn(this.player(),{rate:e[i]+"x"}));return t},e.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},e.handleClick=function(){for(var t=this.player().playbackRate(),e=this.playbackRates(),i=e[0],n=0;n<e.length;n++)if(e[n]>t){i=e[n];break}this.player().playbackRate(i)},e.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},e.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&0<this.playbackRates().length},e.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},e.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(Wt);Vt.prototype.controlText_="Playback Rate",jt.registerComponent("PlaybackRateMenuButton",Vt);Xe=function(t){function e(){return t.apply(this,arguments)||this}Ht(e,t);var i=e.prototype;return i.buildCSSClass=function(){return"vjs-spacer "+t.prototype.buildCSSClass.call(this)},i.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},e}(jt);jt.registerComponent("Spacer",Xe);Rt=function(e){function t(){return e.apply(this,arguments)||this}Ht(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},i.createEl=function(){var t=e.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML=" ",t},t}(Xe);jt.registerComponent("CustomControlSpacer",Rt);Fe=function(t){function e(){return t.apply(this,arguments)||this}return Ht(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},e}(jt);Fe.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in u&&Fe.prototype.options_.children.splice(Fe.prototype.options_.children.length-1,0,"pictureInPictureToggle"),jt.registerComponent("ControlBar",Fe);je=function(i){function t(t,e){e=i.call(this,t,e)||this;return e.on(t,"error",e.open),e}Ht(t,i);var e=t.prototype;return e.buildCSSClass=function(){return"vjs-error-display "+i.prototype.buildCSSClass.call(this)},e.content=function(){var t=this.player().error();return t?this.localize(t.message):""},t}(De);je.prototype.options_=p({},De.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),jt.registerComponent("ErrorDisplay",je);var yn="vjs-text-track-settings",se=["#000","Black"],Lt=["#00F","Blue"],Be=["#0FF","Cyan"],si=["#0F0","Green"],ee=["#F0F","Magenta"],Wt=["#F00","Red"],Vt=["#FFF","White"],Xe=["#FF0","Yellow"],Rt=["1","Opaque"],Fe=["0.5","Semi-Transparent"],je=["0","Transparent"],_n={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[se,Vt,Wt,si,Lt,Xe,ee,Be]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[Rt,Fe,je]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[Vt,se,Wt,si,Lt,Xe,ee,Be]},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(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[Rt,Fe]},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,Fe,Rt]}};function bn(t,e){if(e&&(t=e(t)),t&&"none"!==t)return t}_n.windowColor.options=_n.backgroundColor.options;Rt=function(n){function t(t,e){var i;return e.temporary=!1,(i=n.call(this,t,e)||this).updateDisplay=bt(Bt(i),i.updateDisplay),i.fill(),i.hasBeenOpened_=i.hasBeenFilled_=!0,i.endDialog=C("p",{className:"vjs-control-text",textContent:i.localize("End of dialog window.")}),i.el().appendChild(i.endDialog),i.setDefaults(),void 0===e.persistTextTrackSettings&&(i.options_.persistTextTrackSettings=i.options_.playerOptions.persistTextTrackSettings),i.on(i.$(".vjs-done-button"),"click",function(){i.saveSettings(),i.close()}),i.on(i.$(".vjs-default-button"),"click",function(){i.setDefaults(),i.updateDisplay()}),s(_n,function(t){i.on(i.$(t.selector),"change",i.updateDisplay)}),i.options_.persistTextTrackSettings&&i.restoreSettings(),i}Ht(t,n);var e=t.prototype;return e.dispose=function(){this.endDialog=null,n.prototype.dispose.call(this)},e.createElSelect_=function(t,e,i){var n=this;void 0===e&&(e=""),void 0===i&&(i="label");var t=_n[t],s=t.id.replace("%s",this.id_),r=[e,s].join(" ").trim();return["<"+i+' id="'+s+'" class="'+("label"===i?"vjs-label":"")+'">',this.localize(t.label),"</"+i+">",'<select aria-labelledby="'+r+'">'].concat(t.options.map(function(t){var e=s+"-"+t[1].replace(/\W+/g,"");return['<option id="'+e+'" value="'+t[0]+'" ','aria-labelledby="'+r+" "+e+'">',n.localize(t[1]),"</option>"].join("")})).concat("</select>").join("")},e.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},e.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">
1',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},e.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},e.createElColors_=function(){return C("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},e.createElFont_=function(){return C("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("")})},e.createElControls_=function(){var t=this.localize("restore all settings to the default values");return C("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},e.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},e.label=function(){return this.localize("Caption Settings Dialog")},e.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},e.buildCSSClass=function(){return n.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},e.getValues=function(){var i,n,t,s=this;return n=function(t,e,i){var n,e=(n=s.$(e.selector),e=e.parser,bn(n.options[n.options.selectedIndex].value,e));return void 0!==e&&(t[i]=e),t},void 0===(t={})&&(t=0),r(i=_n).reduce(function(t,e){return n(t,i[e],e)},t)},e.setValues=function(i){var n=this;s(_n,function(t,e){!function(t,e,i){if(e)for(var n=0;n<t.options.length;n++)if(bn(t.options[n].value,i)===e){t.selectedIndex=n;break}}(n.$(t.selector),i[e],t.parser)})},e.setDefaults=function(){var i=this;s(_n,function(t){var e=t.hasOwnProperty("default")?t.default:0;i.$(t.selector).selectedIndex=e})},e.restoreSettings=function(){var t;try{t=JSON.parse(g.localStorage.getItem(yn))}catch(t){h.warn(t)}t&&this.setValues(t)},e.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?g.localStorage.setItem(yn,JSON.stringify(t)):g.localStorage.removeItem(yn)}catch(t){h.warn(t)}}},e.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},e.conditionalBlur_=function(){this.previouslyActiveEl_=null;var t=this.player_.controlBar,e=t&&t.subsCapsButton,t=t&&t.captionsButton;e?e.focus():t&&t.focus()},t}(De);jt.registerComponent("TextTrackSettings",Rt);Rt=function(r){function t(t,e){var i=e.ResizeObserver||g.ResizeObserver;null===e.ResizeObserver&&(i=!1);var n,s=Ot({createEl:!i,reportTouchActivity:!1},e);return(n=r.call(this,t,s)||this).ResizeObserver=e.ResizeObserver||g.ResizeObserver,n.loadListener_=null,n.resizeObserver_=null,n.debouncedHandler_=gt(function(){n.resizeHandler()},100,!1,Bt(n)),i?(n.resizeObserver_=new n.ResizeObserver(n.debouncedHandler_),n.resizeObserver_.observe(t.el())):(n.loadListener_=function(){var t,e;n.el_&&n.el_.contentWindow&&(t=n.debouncedHandler_,e=n.unloadListener_=function(){ut(this,"resize",t),ut(this,"unload",e),e=null},ct(n.el_.contentWindow,"unload",e),ct(n.el_.contentWindow,"resize",t))},n.one("load",n.loadListener_)),n}Ht(t,r);var e=t.prototype;return e.createEl=function(){return r.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1},{"aria-hidden":"true"})},e.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},e.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,r.prototype.dispose.call(this)},t}(jt);jt.registerComponent("ResizeManager",Rt);var wn={trackingThreshold:30,liveTolerance:15},Rt=function(i){function t(t,e){var e=Ot(wn,e,{createEl:!1}),e=i.call(this,t,e)||this;return e.reset_(),e.on(e.player_,"durationchange",e.handleDurationchange),te&&"hidden"in u&&"visibilityState"in u&&e.on(u,"visibilitychange",e.handleVisibilityChange),e}Ht(t,i);var e=t.prototype;return e.handleVisibilityChange=function(){this.player_.duration()===1/0&&(u.hidden?this.stopTracking():this.startTracking())},e.trackLive_=function(){var t,e=this.player_.seekable();e&&e.length&&(t=Number(g.performance.now().toFixed(4)),e=-1===this.lastTime_?0:(t-this.lastTime_)/1e3,this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+e,t=this.liveCurrentTime(),e=this.player_.currentTime(),e=this.player_.paused()||this.seekedBehindLive_||Math.abs(t-e)>this.options_.liveTolerance,this.timeupdateSeen_&&t!==1/0||(e=!1),e!==this.behindLiveEdge_&&(this.behindLiveEdge_=e,this.trigger("liveedgechange")))},e.handleDurationchange=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())},e.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLive_,30),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLive_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked):(this.one(this.player_,"play",this.handlePlay),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate)))},e.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked)},e.handleSeeked=function(){var t=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=!this.skipNextSeeked_&&2<t,this.skipNextSeeked_=!1,this.trackLive_()},e.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge)},e.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.skipNextSeeked_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLive_),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)},e.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},e.seekableEnd=function(){for(var t=this.player_.seekable(),e=[],i=t?t.length:0;i--;)e.push(t.end(i));return e.length?e.sort()[e.length-1]:1/0},e.seekableStart=function(){for(var t=this.player_.seekable(),e=[],i=t?t.length:0;i--;)e.push(t.start(i));return e.length?e.sort()[0]:0}
vendor: 5,583 bytes, line 1
1,e.liveWindow=function(){var t=this.liveCurrentTime();return t===1/0?1/0:t-this.seekableStart()},e.isLive=function(){return this.isTracking()},e.atLiveEdge=function(){return!this.behindLiveEdge()},e.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},e.pastSeekEnd=function(){var t=this.seekableEnd();return-1!==this.lastSeekEnd_&&t!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=t,this.pastSeekEnd_},e.behindLiveEdge=function(){return this.behindLiveEdge_},e.isTracking=function(){return"number"==typeof this.trackingInterval_},e.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.skipNextSeeked_=!0,this.player_.currentTime(this.liveCurrentTime()))},e.dispose=function(){this.off(u,"visibilitychange",this.handleVisibilityChange),this.stopTracking(),i.prototype.dispose.call(this)},t}(jt);jt.registerComponent("LiveTracker",Rt);function Tn(t){if((n=t.el()).hasAttribute("src"))return t.triggerSourceset(n.src),1;var e=t.$$("source"),i=[],n="";if(e.length){for(var s=0;s<e.length;s++){var r=e[s].src;r&&-1===i.indexOf(r)&&i.push(r)}return!!i.length&&(1===i.length&&(n=i[0]),t.triggerSourceset(n),!0)}}function Cn(t,e){for(var i={},n=0;n<t.length&&!((i=Object.getOwnPropertyDescriptor(t[n],e))&&i.set&&i.get);n++);return i.enumerable=!0,i.configurable=!0,i}function Sn(r){var e,t,i,o=r.el();o.resetSourceWatch_||(e={},t=Cn([r.el(),g.HTMLMediaElement.prototype,g.Element.prototype,En],"innerHTML"),i=function(s){return function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=s.apply(o,e);return Tn(r),n}},["append","appendChild","insertAdjacentHTML"].forEach(function(t){o[t]&&(e[t]=o[t],o[t]=i(e[t]))}),Object.defineProperty(o,"innerHTML",Ot(t,{set:i(t.set)})),o.resetSourceWatch_=function(){o.resetSourceWatch_=null,Object.keys(e).forEach(function(t){o[t]=e[t]}),Object.defineProperty(o,"innerHTML",t)},r.one("sourceset",o.resetSourceWatch_))}function xn(i){var n,e,s,r;i.featuresSourceset&&((n=i.el()).resetSourceset_||(e=Cn([i.el(),g.HTMLMediaElement.prototype,Dn],"src"),s=n.setAttribute,r=n.load,Object.defineProperty(n,"src",Ot(e,{set:function(t){t=e.set.call(n,t);return i.triggerSourceset(n.src),t}})),n.setAttribute=function(t,e){e=s.call(n,t,e);return/src/i.test(t)&&i.triggerSourceset(n.src),e},n.load=function(){var t=r.call(n);return Tn(i)||(i.triggerSourceset(""),Sn(i)),t},n.currentSrc?i.triggerSourceset(n.currentSrc):Tn(i)||Sn(i),n.resetSourceset_=function(){n.resetSourceset_=null,n.load=r,n.setAttribute=s,Object.defineProperty(n,"src",e),n.resetSourceWatch_&&n.resetSourceWatch_()}))}function kn(e,i,n,t){function s(t){return Object.defineProperty(e,i,{value:t,enumerable:!0,writable:!0})}void 0===t&&(t=!0);var r={configurable:!0,enumerable:!0,get:function(){var t=n();return s(t),t}};return t&&(r.set=s),Object.defineProperty(e,i,r)}var $n,En=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(t){var e=u.createElement(this.nodeName.toLowerCase());e.innerHTML=t;for(var i=u.createDocumentFragment();e.childNodes.length;)i.appendChild(e.childNodes[0]);return this.innerText="",g.Element.prototype.appendChild.call(this,i),this.innerHTML}}),Dn=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?Le(g.Element.prototype.getAttribute.call(this,"src")):""},set:function(t){return g.Element.prototype.setAttribute.call(this,"src",t),t}}),In=function(d){function o(t,e){var i=d.call(this,t,e)||this,e=t.source,n=!1;if(e&&(i.el_.currentSrc!==e.src||t.tag&&3===t.tag.initNetworkState_)?i.setSource(e):i.handleLateInit_(i.el_),t.enableSourceset&&i.setupSourcesetHandling_(),i.el_.hasChildNodes()){for(var s=i.el_.childNodes,r=s.length,o=[];r--;){var a=s[r];"track"===a.nodeName.toLowerCase()&&(i.featuresNativeTextTracks?(i.remoteTextTrackEls().addTrackElement_(a),i.remoteTextTracks().addTrack(a.track),i.textTracks().addTrack(a.track),n||i.el_.hasAttribute("crossorigin")||!Re(a.src)||(n=!0)):o.push(a))}for(var l=0;l<o.length;l++)i.el_.removeChild(o[l])}return i.proxyNativeTracks_(),i.featuresNativeTextTracks&&n&&h.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),i.restoreMetadataTracksInIOSNativePlayer_(),(ne||re||Kt)&&!0===t.nativeControlsForTouch&&i.setControls(!0),i.proxyWebkitFullscreen_(),i.triggerReady(),i}Ht(o,d);var t=o.prototype;return t.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),o.disposeMediaElement(this.el_),this.options_=null,d.prototype.dispose.call(this)},t.setupSourcesetHandling_=function(){xn(this)},t.restoreMetadataTracksInIOSNativePlayer_=function(){function t(){i=[];for(var t=0;t<n.length;t++){var e=n[t];"metadata"===e.kind&&i.push({track:e,storedMode:e.mode})}}var i,n=this.textTracks();t(),n.addEventListener("change",t),this.on("dispose",function(){return n.removeEventListener("change",t)});function s(){for(var t=0;t<i.length;t++){var e=i[t];"disabled"===e.track.mode&&e.track.mode!==e.storedMode&&(e.track.mode=e.storedMode)}n.removeEventListener("change",s)}this.on("webkitbeginfullscreen",function(){n.removeEventListener("change",t),n.removeEventListener("change",s),n.addEventListener("change",s)}),this.on("webkitendfullscreen",function(){n.removeEventListener("change",t),n.addEventListener("change",t),n.removeEventListener("change",s)})},t.overrideNative_=function(t,e){var i,n=this;e===this["featuresNative"+t+"Tracks"]&&(this[(i=t.toLowerCase())+"TracksListeners_"]&&Object.keys(this[i+"TracksListeners_"]).forEac
1h(function(t){n.el()[i+"Tracks"].removeEventListener(t,n[i+"TracksListeners_"][t])}),this["featuresNative"+t+"Tracks"]=!e,this[i+"TracksListeners_"]=null,this.proxyNativeTracksForType_(i))},t.overrideNativeAudioTracks=function(t){this.overrideNative_("Audio",t)},t.overrideNativeVideoTracks=function(t){this.overrideNative_("Video",t)},t.proxyNativeTracksForType_=function(e){var t,i,n=this,s=ri[e],r=this.el()[s.getterName],o=this[s.getterName]();this["featuresNative"+s.capitalName+"Tracks"]&&r&&r.addEventListener&&(t={change:function(){var t={type:"change",target:o,currentTarget:o,srcElement:o};o.trigger(t),"text"===e&&n[oi.remoteText.getterName]().trigger(t)},addtrack:function(t){o.addTrack(t.track)},removetrack:function(t){o.removeTrack(t.track)}},i=function(){for(var t=[],e=0;e<o.length;e++){for(var i=!1,n=0;n<r.length;n++)if(r[n]===o[e]){i=!0;break}i||t.push(o[e])}for(;t.length;)o.removeTrack(t.shift())},this[s.getterName+"Listeners_"]=t,Object.keys(t).forEach(function(e){var i=t[e];r.addEventListener(e,i),n.on("dispose",function(t){return r.removeEventListener(e,i)})}),this.on("loadstart",i),this.on("dispose",function(t){return n.off("loadstart",i)}))},t.proxyNativeTracks_=function(){var e=this;ri.names.forEach(function(t){e.proxyNativeTracksForType_(t)})},t.createEl=function(){var t,e=this.options_.tag;e&&(this.options_.playerElIngest||this.movingMediaElementInDOM)||(e?(t=e.cloneNode(!0),e.parentNode&&e.parentNode.insertBefore(t,e),o.disposeMediaElement(e),e=t):(e=u.createElement("video"),t=Ot({},this.options_.tag&&A(this.options_.tag)),ne&&!0===this.options_.nativeControlsForTouch||delete t.controls,I(e,f(t,{id:this.options_.techId,class:"vjs-tech"}))),e.playerId=this.options_.playerId),void 0!==this.options_.preload&&M(e,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);for(var i=["loop","muted","playsinline","autoplay"],n=0;n<i.length;n++){var s=i[n],r=this.options_[s];void 0!==r&&(r?M(e,s,s):O(e,s),e[s]=r)}return e},t.handleLateInit_=function(t){if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var e=!1,i=function(){e=!0};this.on("loadstart",i);var n=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",n),void this.ready(function(){this.off("loadstart",i),this.off("loadedmetadata",n),e||this.trigger("loadstart")})}var s=["loadstart"];s.push("loadedmetadata"),2<=t.readyState&&s.push("loadeddata"),3<=t.readyState&&s.push("canplay"),4<=t.readyState&&s.push("canplaythrough"),this.ready(function(){s.forEach(function(t){this.trigger(t)},this)})}},t.setScrubbing=function(t){this.isScrubbing_=t},t.setCurrentTime=function(t){try{this.isScrubbing_&&this.el_.fastSeek&&ae?this.el_.fastSeek(t):this.el_.currentTime=t}catch(t){h(t,"Video is not ready. (Video.js)")}},t.duration=function(){var e=this;if(this.el_.duration===1/0&&Yt&&Zt&&0===this.el_.currentTime){var t=function t(){0<e.el_.currentTime&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))};return this.on("timeupdate",t),NaN}return this.el_.duration||NaN},t.width=function(){return this.el_.offsetWidth},t.height=function(){return this.el_.offsetHeight},t.proxyWebkitFullscreen_=function(){var t,e,i=this;"webkitDisplayingFullscreen"in this.el_&&(t=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},e=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",e),this.on("dispose",function(){i.off("webkitbeginfullscreen",e),i.off("webkitendfullscreen",t)}))},t.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=g.navigator&&g.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},t.enterFullScreen=function(){var t=this.el_;if(t.paused&&t.networkState<=t.HAVE_METADATA)Ce(this.el_.play()),this.setTimeout(function(){t.pause();try{t.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}},0);else try{t.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}},t.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},t.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},t.src=function(t){if(void 0===t)return this.el_.src;this.setSrc(t)},t.reset=function(){o.resetMediaElement(this.el_)},t.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.setControls=function(t){this.el_.controls=!!t}
vendor: 5,261 bytes, line 1
1,t.addTextTrack=function(t,e,i){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,e,i):d.prototype.addTextTrack.call(this,t,e,i)},t.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return d.prototype.createRemoteTextTrack.call(this,t);var e=u.createElement("track");return t.kind&&(e.kind=t.kind),t.label&&(e.label=t.label),(t.language||t.srclang)&&(e.srclang=t.language||t.srclang),t.default&&(e.default=t.default),t.id&&(e.id=t.id),t.src&&(e.src=t.src),e},t.addRemoteTextTrack=function(t,e){e=d.prototype.addRemoteTextTrack.call(this,t,e);return this.featuresNativeTextTracks&&this.el().appendChild(e),e},t.removeRemoteTextTrack=function(t){if(d.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var e=this.$$("track"),i=e.length;i--;)t!==e[i]&&t!==e[i].track||this.el().removeChild(e[i])},t.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var t={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),g.performance&&"function"==typeof g.performance.now?t.creationTime=g.performance.now():g.performance&&g.performance.timing&&"number"==typeof g.performance.timing.navigationStart&&(t.creationTime=g.Date.now()-g.performance.timing.navigationStart),t},o}(Fi);kn(In,"TEST_VID",function(){if(_()){var t=u.createElement("video"),e=u.createElement("track");return e.kind="captions",e.srclang="en",e.label="English",t.appendChild(e),t}}),In.isSupported=function(){try{In.TEST_VID.volume=.5}catch(t){return!1}return!(!In.TEST_VID||!In.TEST_VID.canPlayType)},In.canPlayType=function(t){return In.TEST_VID.canPlayType(t)},In.canPlaySource=function(t,e){return In.canPlayType(t.type)},In.canControlVolume=function(){try{var t=In.TEST_VID.volume;return In.TEST_VID.volume=t/2+.1,t!==In.TEST_VID.volume}catch(t){return!1}},In.canMuteVolume=function(){try{var t=In.TEST_VID.muted;return In.TEST_VID.muted=!t,In.TEST_VID.muted?M(In.TEST_VID,"muted","muted"):O(In.TEST_VID,"muted"),t!==In.TEST_VID.muted}catch(t){return!1}},In.canControlPlaybackRate=function(){if(Yt&&Zt&&Jt<58)return!1;try{var t=In.TEST_VID.playbackRate;return In.TEST_VID.playbackRate=t/2+.1,t!==In.TEST_VID.playbackRate}catch(t){return!1}},In.canOverrideAttributes=function(){try{var t=function(){};Object.defineProperty(u.createElement("video"),"src",{get:t,set:t}),Object.defineProperty(u.createElement("audio"),"src",{get:t,set:t}),Object.defineProperty(u.createElement("video"),"innerHTML",{get:t,set:t}),Object.defineProperty(u.createElement("audio"),"innerHTML",{get:t,set:t})}catch(t){return!1}return!0},In.supportsNativeTextTracks=function(){return ae||oe&&Zt},In.supportsNativeVideoTracks=function(){return!(!In.TEST_VID||!In.TEST_VID.videoTracks)},In.supportsNativeAudioTracks=function(){return!(!In.TEST_VID||!In.TEST_VID.audioTracks)},In.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresVolumeControl","canControlVolume"],["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach(function(t){var e=t[0],i=t[1];kn(In.prototype,e,function(){return In[i]()},!0)}),In.prototype.movingMediaElementInDOM=!oe,In.prototype.featuresFullscreenResize=!0,In.prototype.featuresProgressEvents=!0,In.prototype.featuresTimeupdateEvents=!0,In.patchCanPlayType=function(){4<=Gt&&!Xt&&!Zt&&($n=In.TEST_VID&&In.TEST_VID.constructor.prototype.canPlayType,In.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(t)?"maybe":$n.call(this,t)})},In.unpatchCanPlayType=function(){var t=In.TEST_VID.constructor.prototype.canPlayType;return $n&&(In.TEST_VID.constructor.prototype.canPlayType=$n),t},In.patchCanPlayType(),In.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},In.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),i=e.length;i--;)t.removeChild(e[i]);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(t){In.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(e){In.prototype["set"+Mt(e)]=function(t){(this.el_[e]=t)?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","
1networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach(function(t){In.prototype[t]=function(){return this.el_[t]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach(function(e){In.prototype["set"+Mt(e)]=function(t){this.el_[e]=t}}),["pause","load","play"].forEach(function(t){In.prototype[t]=function(){return this.el_[t]()}}),Fi.withSourceHandlers(In),In.nativeSourceHandler={},In.nativeSourceHandler.canPlayType=function(t){try{return In.TEST_VID.canPlayType(t)}catch(t){return""}},In.nativeSourceHandler.canHandleSource=function(t,e){if(t.type)return In.nativeSourceHandler.canPlayType(t.type);if(t.src){t=Ne(t.src);return In.nativeSourceHandler.canPlayType("video/"+t)}return""},In.nativeSourceHandler.handleSource=function(t,e,i){e.setSrc(t.src)},In.nativeSourceHandler.dispose=function(){},In.registerSourceHandler(In.nativeSourceHandler),Fi.registerTech("Html5",In);var An=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Pn={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Mn=["tiny","xsmall","small","medium","large","xlarge","huge"],On={};Mn.forEach(function(t){var e="x"===t.charAt(0)?"x-"+t.substring(1):t;On[t]="vjs-layout-"+e});var Ln={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Nn=function(c){function a(t,e,i){var n,s;if(t.id=t.id||e.id||"vjs_video_"+it++,(e=f(a.getTagSettings(t),e)).initChildren=!1,e.createEl=!1,e.evented=!1,e.reportTouchActivity=!1,!e.language)if("function"==typeof t.closest){var r=t.closest("[lang]");r&&r.getAttribute&&(e.language=r.getAttribute("lang"))}else for(var o=t;o&&1===o.nodeType;){if(A(o).hasOwnProperty("lang")){e.language=o.getAttribute("lang");break}o=o.parentNode}if((n=c.call(this,null,e,i)||this).boundDocumentFullscreenChange_=bt(Bt(n),n.documentFullscreenChange_),n.boundFullWindowOnEscKey_=bt(Bt(n),n.fullWindowOnEscKey),n.isFullscreen_=!1,n.log=d(n.id_),n.fsApi_=fe,n.isPosterFromTech_=!1,n.queuedCallbacks_=[],n.isReady_=!1,n.hasStarted_=!1,n.userActive_=!1,n.debugEnabled_=!1,!n.options_||!n.options_.techOrder||!n.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");n.tag=t,n.tagAttributes=t&&A(t),n.language(n.options_.language),e.languages?(s={},Object.getOwnPropertyNames(e.languages).forEach(function(t){s[t.toLowerCase()]=e.languages[t]}),n.languages_=s):n.languages_=a.prototype.options_.languages,n.resetCache_(),n.poster_=e.poster||"",n.controls_=!!e.controls,t.controls=!1,t.removeAttribute("controls"),n.changingSrc_=!1,n.playCallbacks_=[],n.playTerminatedQueue_=[],t.hasAttribute("autoplay")?n.autoplay(!0):n.autoplay(n.options_.autoplay),e.plugins&&Object.keys(e.plugins).forEach(function(t){if("function"!=typeof n[t])throw new Error('plugin "'+t+'" does not exist')}),n.scrubbing_=!1,n.el_=n.createEl(),Dt(Bt(n),{eventBusKey:"el_"}),n.fsApi_.requestFullscreen&&(ct(u,n.fsApi_.fullscreenchange,n.boundDocumentFullscreenChange_),n.on(n.fsApi_.fullscreenchange,n.boundDocumentFullscreenChange_)),n.fluid_&&n.on("playerreset",n.updateStyleEl_);i=Ot(n.options_);e.plugins&&Object.keys(e.plugins).forEach(function(t){n[t](e.plugins[t])}),e.debug&&n.debug(!0),n.options_.playerOptions=i,n.middleware_=[],n.initChildren(),n.isAudio("audio"===t.nodeName.toLowerCase()),n.controls()?n.addClass("vjs-controls-enabled"):n.addClass("vjs-controls-disabled"),n.el_.setAttribute("role","region"),n.isAudio()?n.el_.setAttribute("aria-label",n.localize("Audio Player")):n.el_.setAttribute("aria-label",n.localize("Video Player")),n.isAudio()&&n.addClass("vjs-audio"),n.flexNotSupported_()&&n.addClass("vjs-no-flex"),ne&&n.addClass("vjs-touch-enabled"),oe||n.addClass("vjs-workinghover"),a.players[n.id_]=Bt(n);t=l.split(".")[0];return n.addClass("vjs-v"+t),n.userActive(!0),n.reportUserActivity(),n.one("play",n.listenForUserActivity_),n.on("stageclick",n.handleStageClick_),n.on("keydown",n.handleKeyDown),n.breakpoints(n.options_.breakpoints),n.responsive(n.options_.responsive),n}Ht(a,c);var t=a.prototype;return t.dispose=function(){var e=this;this.trigger("dispose"),this.off("dispose"),ut(u,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),ut(u,"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),a.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),Bi[this.id()]=null,ai.names.forEac
vendor: 7,493 bytes, line 1
1h(function(t){t=ai[t],t=e[t.getterName]();t&&t.off&&t.off()}),c.prototype.dispose.call(this)},t.createEl=function(){var e,i=this.tag,t=this.playerElIngest_=i.parentNode&&i.parentNode.hasAttribute&&i.parentNode.hasAttribute("data-vjs-player"),n="video-js"===this.tag.tagName.toLowerCase();t?e=this.el_=i.parentNode:n||(e=this.el_=c.prototype.createEl.call(this,"div"));var s,r,o=A(i);if(n){for(e=this.el_=i,i=this.tag=u.createElement("video");e.children.length;)i.appendChild(e.firstChild);k(e,"video-js")||$(e,"video-js"),e.appendChild(i),t=this.playerElIngest_=e,Object.keys(e).forEach(function(t){try{i[t]=e[t]}catch(t){}})}i.setAttribute("tabindex","-1"),o.tabindex="-1",(te||Zt&&ie)&&(i.setAttribute("role","application"),o.role="application"),i.removeAttribute("width"),i.removeAttribute("height"),"width"in o&&delete o.width,"height"in o&&delete o.height,Object.getOwnPropertyNames(o).forEach(function(t){n&&"class"===t||e.setAttribute(t,o[t]),n&&i.setAttribute(t,o[t])}),i.playerId=i.id,i.id+="_html5_api",i.className="vjs-tech",(i.player=e.player=this).addClass("vjs-paused"),!0!==g.VIDEOJS_NO_DYNAMIC_STYLE&&(this.styleEl_=tt("vjs-styles-dimensions"),s=Y(".vjs-styles-defaults"),(r=Y("head")).insertBefore(this.styleEl_,s?s.nextSibling:r.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 a=i.getElementsByTagName("a"),l=0;l<a.length;l++){var d=a.item(l);$(d,"vjs-hidden"),d.setAttribute("hidden","hidden")}return i.initNetworkState_=i.networkState,i.parentNode&&!t&&i.parentNode.insertBefore(e,i),x(i,e),this.children_.unshift(i),this.el_.setAttribute("lang",this.language_),this.el_=e},t.crossOrigin=function(t){if(!t)return this.techGet_("crossOrigin");"anonymous"===t||"use-credentials"===t?this.techCall_("setCrossOrigin",t):h.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+t+'"')},t.width=function(t){return this.dimension("width",t)},t.height=function(t){return this.dimension("height",t)},t.dimension=function(t,e){var i=t+"_";if(void 0===e)return this[i]||0;if(""===e||"auto"===e)return this[i]=void 0,void this.updateStyleEl_();var n=parseFloat(e);isNaN(n)?h.error('Improper value "'+e+'" supplied for for '+t):(this[i]=n,this.updateStyleEl_())},t.fluid=function(t){if(void 0===t)return!!this.fluid_;var e;this.fluid_=!!t,$t(this)&&this.off("playerreset",this.updateStyleEl_),t?(this.addClass("vjs-fluid"),this.fill(!1),$t(t=function(){this.on("playerreset",this.updateStyleEl_)})?e():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(e))):this.removeClass("vjs-fluid"),this.updateStyleEl_()},t.fill=function(t){if(void 0===t)return!!this.fill_;this.fill_=!!t,t?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},t.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},t.updateStyleEl_=function(){var t,e,i,n;!0!==g.VIDEOJS_NO_DYNAMIC_STYLE?(n=(i=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:0<this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"))[1]/i[0],t=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/n:this.videoWidth()||300,e=void 0!==this.height_?this.height_:t*n,i=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(i),et(this.styleEl_,"\n      ."+i+" {\n        width: "+t+"px;\n        height: "+e+"px;\n      }\n\n      ."+i+".vjs-fluid {\n        padding-top: "+100*n+"%;\n      }\n    ")):(e="number"==typeof this.width_?this.width_:this.options_.width,i="number"==typeof this.height_?this.height_:this.options_.height,(n=this.tech_&&this.tech_.el())&&(0<=e&&(n.width=e),0<=i&&(n.height=i)))},t.loadTech_=function(t,e){var i=this;this.tech_&&this.unloadTech_();var n=Mt(t),s=t.charAt(0).toLowerCase()+t.slice(1);"Html5"!==n&&this.tag&&(Fi.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=n,this.isReady_=!1;var r={source:e,autoplay:"string"!=typeof this.autoplay()&&this.autoplay(),nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+s+"_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};ai.names.forEach(function(t){t=ai[t];r[t.getterName]=i[t.privateName]}),f(r,this.options_[n]),f(r,this.options_[s]),f(r,this.options_[t.toLowerCase()]),this.tag&&(r.tag=this.tag),e&&e.src===this.cache_.src&&0<this.cache_.currentTime&&(r.startTime=this.cache_.currentTime);t=Fi.getTech(t);if(!t)throw new Error("No Tech named '"+n+"' exists! '"+n+"' should be registered using videojs.registerTech()'");this.tech_=new t(r),this.tech_.ready(bt(this,this.handleTechReady_),!0),ke(this.textTracksJson_||[],this.tech_),An.forEach(function(t){i.on(i.tech_,t,i["handleTech"+Mt(t)+"_"])}),Object.keys(Pn).forEach(function(e){i.on(i.tech_,e,function(t){0===i.tech_.playbackRate()&&i.tech_.seeking()?i.queuedCallbacks_.push({callback:i["handleTech"+Pn[e]+"_"].bind(i),event:t}):i["handleTech"+Pn[e]+"_"](t)})}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"sourceset",this.handleTechSourceset_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"fullscreenerror",this.handleTechFullscreenError_),this.on(this.tech_,"enterpictureinpicture",this.handleTechEnterPictureInPicture_),this.on(this.tech_,"leavepictureinpicture",this.handleTechLeavePictureInPicture_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===n&&this.tag||x(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},t.unloadTech_=function(){var e=this;ai.names.forEach(function(t){t=ai[t];e[t.privateName]=e[t.getterName]()}),this.textTracksJson_=xe(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},t.tech=function(t){return void 0===t&&h.warn("Using the tech directly can be dangerous. I hope you know 
1what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},t.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mouseup",this.handleTechClick_),this.on(this.tech_,"dblclick",this.handleTechDoubleClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},t.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mouseup",this.handleTechClick_),this.off(this.tech_,"dblclick",this.handleTechDoubleClick_)},t.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},t.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_(this.autoplay())},t.manualAutoplay_=function(e){var n=this;if(this.tech_&&"string"==typeof e){var t,i=function(){var t=n.muted();n.muted(!0);function e(){n.muted(t)}n.playTerminatedQueue_.push(e);var i=n.play();if(Te(i))return i.catch(e)};if("any"===e&&!0!==this.muted()?Te(t=this.play())&&(t=t.catch(i)):t="muted"===e&&!0!==this.muted()?i():this.play(),Te(t))return t.then(function(){n.trigger({type:"autoplay-success",autoplay:e})}).catch(function(t){n.trigger({type:"autoplay-failure",autoplay:e})})}},t.updateSourceCaches_=function(t){void 0===t&&(t="");var e=t,i="";"string"!=typeof e&&(e=t.src,i=t.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],e&&!i&&(i=function(t,e){if(!e)return"";if(t.cache_.source.src===e&&t.cache_.source.type)return t.cache_.source.type;var i=t.cache_.sources.filter(function(t){return t.src===e});if(i.length)return i[0].type;for(var n=t.$$("source"),s=0;s<n.length;s++){var r=n[s];if(r.type&&r.src&&r.src===e)return r.type}return Ki(e)}(this,e)),this.cache_.source=Ot({},t,{src:e,type:i});for(var i=this.cache_.sources.filter(function(t){return t.src&&t.src===e}),n=[],s=this.$$("source"),r=[],o=0;o<s.length;o++){var a=A(s[o]);n.push(a),a.src&&a.src===e&&r.push(a.src)}r.length&&!i.length?this.cache_.sources=n:i.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=e},t.handleTechSourceset_=function(t){var e,i,n,s=this;this.changingSrc_||(e=function(t){return s.updateSourceCaches_(t)},i=this.currentSource().src,n=t.src,i&&!/^blob:/.test(i)&&/^blob:/.test(n)&&(this.lastSource_&&(this.lastSource_.tech===n||this.lastSource_.player===i)||(e=function(){})),e(n),t.src||this.tech_.any(["sourceset","loadstart"],function(t){"sourceset"!==t.type&&(t=s.techGet("currentSrc"),s.lastSource_.tech=t,s.updateSourceCaches_(t))})),this.lastSource_={player:this.currentSource().src,tech:t.src},this.trigger({src:t.src,type:"sourceset"})},t.hasStarted=function(t){if(void 0===t)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},t.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},t.handleTechRateChange_=function(){0<this.tech_.playbackRate()&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach(function(t){return t.callback(t.event)}),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},t.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting");function e(){i!==t.currentTime()&&(t.removeClass("vjs-waiting"),t.off("timeupdate",e))}var i=this.currentTime();this.on("timeupdate",e)},t.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},t.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},t.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},t.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},t.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},t.handleTechFirstPlay_=function(){this.options_.starttime&&(h.warn("Passing the `starttime` option to the player will be deprecated 
1in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},t.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},t.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},t.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},t.handleTechClick_=function(t){W(t)&&this.controls_&&(this.paused()?Ce(this.play()):this.pause())},t.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()))},t.handleTechTap_=function(){this.userActive(!this.userActive())},t.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},t.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},t.handleTechTouchEnd_=function(t){t.preventDefault()},t.handleStageClick_=function(){this.reportUserActivity()},t.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},t.documentFullscreenChange_=function(t){var e=t.target.player;e&&e!==this||(t=this.el(),!(e=u[this.fsApi_.fullscreenElement]===t)&&t.matches?e=t.matches(":"+this.fsApi_.fullscreen):!e&&t.msMatchesSelector&&(e=t.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(e))},t.handleTechFullscreenChange_=function(t,e){e&&(e.nativeIOSFullscreen&&this.toggleClass("vjs-ios-native-fs"),this.isFullscreen(e.isFullscreen))},t.handleTechFullscreenError_=function(t,e){this.trigger("fullscreenerror",e)},t.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},t.handleTechEnterPictureInPicture_=function(){this.isInPictureInPicture(!0)},t.handleTechLeavePictureInPicture_=function(){this.isInPictureInPicture(!1)},t.handleTechError_=function(){var t=this.tech_.error();this.error(t)},t.handleTechTextData_=function(t,e){e=1<arguments.length?e:null;this.trigger("textdata",e)},t.getCache=function(){return this.cache_},t.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],volume:1}},t.techCall_=function(n,s){this.ready(function(){if(n in Wi)return t=this.middleware_,e=this.tech_,i=s,e[e=n](t.reduce(Yi(e),i));if(n in Vi)return zi(this.middleware_,this.tech_,n,s);var t,e,i;try{this.tech_&&this.tech_[n](s)}catch(t){throw h(t),t}},!0)},t.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in qi)return t=this.middleware_,i=this.tech_,n=e,t.reduceRight(Yi(n),i[n]());if(e in Vi)return zi(this.middleware_,this.tech_,e);var t,i,n;try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw h("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw h("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw h(t),t}}},t.play=function(){var e=this,t=this.options_.Promise||g.Promise;return t?new t(function(t){e.play_(t)}):this.play_()},t.play_=function(t){var e=this;void 0===t&&(t=Ce),this.playCallbacks_.push(t);t=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc()));if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!t)return this.waitToPlay_=function(t){e.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(t||!ae&&!oe||this.load());t=this.techGet_("play");null===t?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(t)},t.runPlayTerminatedQueue_=function(){var t=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],t.forEach(function(t){t()})},t.runPlayCallbacks_=function(e){var t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach(function(t){t(e)})},t.pause=function(){this.techCall_("pause")},t.paused=function(){return!1!==this.techGet_("paused")},t.played=function(){return this.techGet_("played")||ue(0,0)},t.scrubbing=function(t){if(void 0===t)return this.scrubbing_;this.scrubbing_=!!t,this.techCall_("setScrubbing",this.scrubbing_),t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},t.currentTime=function(t){return void 0!==t?(t<0&&(t=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",t),void(this.cache_.initTime=0)):(this.cache_.initTime=t,this.off("canplay",this.applyInitTime_),void this.one("canplay",this.applyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},t.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},t.duration=function(t){if(void 0===t)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(t=parseFloat(t))<0&&(t=1/0),t!==this.cache_.duration&&((this.cache_.duration=t)===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(t)||this.trigger("durationchange"))},t.remainingTime=function(){return this.duration()-this.currentTime()},t.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},t.buffered=function(){var t=this.techGet_("buffered");return t&&t.length||(t=ue(0,0)),t},t.bufferedPercent=function(){return he(this.buffered(),this.duration())},t.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),t=t.end(t.length-1);return e<t&&(t=e),t},t.volume=function(t){var e;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),void(0<e&&this.lastVolume_(e))):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},t.muted=function(t){if(void 0===t)return this.techGet_("muted")||!1;this.techCall_("setMuted",t)},t.defaultMuted=function(t){return void 0!==t?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},t.lastVolume_=function(t){if(void 0===t||0===t)return this.cache_.lastVolume;this.cache_.lastVolume=t},t.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.isFullscreen=function(t){if(void 0===t)return this.isFullscreen_;var e=this.isFullscreen_;return this.isFullscreen_=Boolean(t),this.isFullscreen_!==e&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()},t.requestFullscreen=function(o){var t=this.options_.Promise||g.Promise;if(t){var a=this;return new t(function(t,i){function n(){a.off("fullscreenerror",s),a.off("fullscreenchange",e)}function e(){n(),t()}function s(t,e){n(),i(e)}a.one("fullscreenchange",e),a.one("fullscreenerror",s);var r=a.requestFullscreenHelper_(o);if(r)return r.then(n,n),r})}return this.requestFullscreenHelper_()},t.requestFullscreenHelper_=function(t){var e=this;if(this.fsApi_.prefixed||(i=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==t&&(i=t)),this.fsApi_.requestFullscreen){var i=this.el_[this.fsApi_.requestFullscreen](i);return i&&i.then(function(){return e.isFullscreen(!0)},function(){return e.isFullscreen(!1)}),i}this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):this.enterFullWindow()},t.exitFullscreen=function(){var t=this.options_.Promise||g.Promise;if(t){var o=this;return new t(function(t,i){function n(){o.off("fullscreenerror",s),o.off("fullscreenchange",e)}function e(){n(),t()}function s(t,e){n(),i(e)}o.one("fullscreenchange",e),o.one("fullscreenerror",s);var r=o.exitFullscreenHelper_();if(r)return r.then(n,n),r})}return this.exitFullscreenHelper_()},t.exitFullscreenHelper_=function(){var t=this;if(this.fsApi_.requestFullscreen){var e=u[this.fsApi_.exitFullscreen]();return e&&e.then(function(){return t.isFullscreen(!1)}),e}this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):this.exitFullWindow()},t.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=u.documentElement.style.overflow,ct(u,"keydown",this.boundFullWindowOnEscKey_),u.documentElement.style.overflow="hidden",$(u.body,"vjs-full-window"),this.trigger("enterFullWindow")},t.fullWindowOnEscKey=function(t){$e.isEventKey(t,"Esc")&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},t.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,ut(u,"keydown",this.boundFullWindowOnEscKey_),u.documentElement.style.overflow=this.docOrigOverflow,E(u.body,"vjs-full-window"),this.trigger("exitFullWindow")},t.disablePictureInPicture=function(t){if(void 0===t)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",t),this.options_.disablePictureInPicture=t,this.trigger("disablepictureinpicturechanged")},t.isInPictureInPicture=function(t){return void 0!==t?(this.isInPictureInPicture_=!!t,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},t.requestPictureInPicture=function(){if("pictureInPictureEnabled"in u&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},t.exitPictureInPicture=function(){if("pictureInPictureEnabled"in u)return u.exitPictureInPicture()},t.handleKeyDown=function(t){var e=this.options_.userActions;e&&e.hotkeys&&(function(t){var e=t.tagName.toLowerCase();if(t.isContentEditable)return!0;
vendor: 18,905 bytes, line 1
1if("input"===e)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(t.type);return-1!==["textarea"].indexOf(e)}(this.el_.ownerDocument.activeElement)||("function"==typeof e.hotkeys?e.hotkeys.call(this,t):this.handleHotkeys(t)))},t.handleHotkeys=function(t){var e=this.options_.userActions?this.options_.userActions.hotkeys:{},i=e.fullscreenKey,n=void 0===i?function(t){return $e.isEventKey(t,"f")}:i,i=e.muteKey,i=void 0===i?function(t){return $e.isEventKey(t,"m")}:i,e=e.playPauseKey,e=void 0===e?function(t){return $e.isEventKey(t,"k")||$e.isEventKey(t,"Space")}:e;n.call(this,t)?(t.preventDefault(),t.stopPropagation(),n=jt.getComponent("FullscreenToggle"),!1!==u[this.fsApi_.fullscreenEnabled]&&n.prototype.handleClick.call(this,t)):i.call(this,t)?(t.preventDefault(),t.stopPropagation(),jt.getComponent("MuteToggle").prototype.handleClick.call(this,t)):e.call(this,t)&&(t.preventDefault(),t.stopPropagation(),jt.getComponent("PlayToggle").prototype.handleClick.call(this,t))},t.canPlayType=function(t){for(var e,i=0,n=this.options_.techOrder;i<n.length;i++){var s=n[i],r=Fi.getTech(s);if(r=r||jt.getComponent(s)){if(r.isSupported()&&(e=r.canPlayType(t)))return e}else h.error('The "'+s+'" tech is undefined. Skipped browser support check for that tech.')}return""},t.selectSource=function(t){function e(t,i,n){var s;return t.some(function(e){return i.some(function(t){if(s=n(e,t))return!0})}),s}var i,n=this,s=this.options_.techOrder.map(function(t){return[t,Fi.getTech(t)]}).filter(function(t){var e=t[0],t=t[1];return t?t.isSupported():(h.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),r=function(t,e){var i=t[0];if(t[1].canPlaySource(e,n.options_[i.toLowerCase()]))return{source:e,tech:i}},r=this.options_.sourceOrder?e(t,s,(i=r,function(t,e){return i(e,t)})):e(s,t,r);return r||!1},t.src=function(t){var n=this;if(void 0===t)return this.cache_.src||"";var s=Xi(t);s.length?(this.changingSrc_=!0,this.cache_.sources=s,this.updateSourceCaches_(s[0]),Ui(this,s[0],function(t,e){var i;return n.middleware_=e,n.cache_.sources=s,n.updateSourceCaches_(t),n.src_(t)?1<s.length?n.src(s.slice(1)):(n.changingSrc_=!1,n.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),void n.triggerReady()):(e=e,i=n.tech_,void e.forEach(function(t){return t.setTech&&t.setTech(i)}))})):this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0)},t.src_=function(t){var e,i,n=this,s=this.selectSource([t]);return!s||(e=s.tech,i=this.techName_,Mt(e)!==Mt(i)?(this.changingSrc_=!0,this.loadTech_(s.tech,s.source),this.tech_.ready(function(){n.changingSrc_=!1})):this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),this.changingSrc_=!1},!0),!1)},t.load=function(){this.techCall_("load")},t.reset=function(){var t=this,e=this.options_.Promise||g.Promise;this.paused()||!e?this.doReset_():Ce(this.play().then(function(){return t.doReset_()}))},t.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),$t(this)&&this.trigger("playerreset")},t.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},t.resetProgressBar_=function(){this.currentTime(0);var t=this.controlBar,e=t.durationDisplay,t=t.remainingTimeDisplay;e&&e.updateContent(),t&&t.updateContent()},t.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},t.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},t.currentSources=function(){var t=this.currentSource(),e=[];return 0!==Object.keys(t).length&&e.push(t),this.cache_.sources||e},t.currentSource=function(){return this.cache_.source||{}},t.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},t.currentType=function(){return this.currentSource()&&this.currentSource().type||""},t.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),void(this.options_.preload=t)):this.techGet_("preload")},t.autoplay=function(t){if(void 0===t)return this.options_.autoplay||!1;var e;"string"==typeof t&&/(any|play|muted)/.test(t)?(this.options_.autoplay=t,this.manualAutoplay_(t),e=!1):this.options_.autoplay=!!t,e=void 0===e?this.options_.autoplay:e,this.tech_&&this.techCall_("setAutoplay",e)},t.playsinline=function(t){return void 0!==t?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},t.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),void(this.options_.loop=t)):this.techGet_("loop")},t.poster=function(t){if(void 0===t)return this.poster_;(t=t||"")!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))},t.handleTechPosterChange_=function(){var t;this.poster_&&!this.options_.techCanOverridePoster||!this.tech_||!this.tech_.poster||(t=this.tech_.poster()||"")!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))},t.controls=function(t){if(void 0===t)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),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_()))},t.usingNativeControls=function(t){if(void 0===t)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},t.error=function(t){if(void 0===t)return this.error_||null;if(this.options_.suppressNotSupportedError&&t&&4===t.code){var e=function(){this.error(t)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],e),void this.one("loadstart",function(){this.off(["click","touchstart"],e)})}if(null===t)return this.error_=t,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new _e(t),this.addClass("vjs-error"),h.error("(CODE:"+this.error_.code+" "+_e.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error")},t.reportUserActivity=function(){this.userActivity_=!0},t.userActive=function(t){if(void 0===t)return this.userActive_;if((t=!!t)!==this.userActive_){if(this.userActive_=t,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(t){t.stopPropagation(),t.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},t.listenForUserActivity_=function(){var t,e,i,n=bt(this,this.reportUserActivity),s=function(){n(),this.clearInterval(t)};this.on("mousedown",function(){n(),this.clearInterval(t),t=this.setInterval(n,250)}),this.on("mousemove",function(t){t.screenX===e&&t.screenY===i||(e=t.screenX,i=t.screenY,n())}),this.on("mouseup",s),this.on("mouseleave",s);var r,s=this.getChild("controlBar");!s||oe||Yt||(s.on("mouseenter",function(t){this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout,this.player().options_.inactivityTimeout=0}),s.on("mouseleave",function(t){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on("keydown",n),this.on("keyup",n),this.setInterval(function(){var t;this.userActivity_&&(this.userActivity_=!1,this.userActive(!0),this.clearTimeout(r),(t=this.options_.inactivityTimeout)<=0||(r=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t)))},250)},t.playbackRate=function(t){if(void 0===t)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",t)},t.defaultPlaybackRate=function(t){return void 0!==t?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},t.isAudio=function(t){if(void 0===t)return!!this.isAudio_;this.isAudio_=!!t},t.addTextTrack=function(t,e,i){if(this.tech_)return this.tech_.addTextTrack(t,e,i)},t.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},t.removeRemoteTextTrack=function(t){void 0===t&&(t={});var e=(e=t.track)||t;if(this.tech_)return this.tech_.removeRemoteTextTrack(e)},t.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},t.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},t.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},t.language=function(t){if(void 0===t)return this.language_;this.language_=String(t).toLowerCase()},t.languages=function(){return Ot(a.prototype.options_.languages,this.languages_)},t.toJSON=function(){var t=Ot(this.options_),e=t.tracks;t.tracks=[];for(var i=0;i<e.length;i++){var n=e[i];(n=Ot(n)).player=void 0,t.tracks[i]=n}return t},t.createModal=function(t,e){var i=this;(e=e||{}).content=t||"";var n=new De(this,e);return this.addChild(n),n.on("dispose",function(){i.removeChild(n)}),n.open(),n},t.updateCurrentBreakpoint_=function(){if(this.responsive())for(var t=this.currentBreakpoint(),e=this.currentWidth(),i=0;i<Mn.length;i++){var n=Mn[i];if(e<=this.breakpoints_[n]){if(t===n)return;t&&this.removeClass(On[t]),this.addClass(On[n]),this.breakpoint_=n;break}}},t.removeCurrentBreakpoint_=function(){var t=this.currentBreakpointClass();this.breakpoint_="",t&&this.removeClass(t)},t.breakpoints=function(t){return void 0===t||(this.breakpoint_="",this.breakpoints_=f({},Ln,t),this.updateCurrentBreakpoint_()),f(this.breakpoints_)},t.responsive=function(t){return void 0===t?this.responsive_:(t=Boolean(t))!==this.responsive_?((this.responsive_=t)?(this.on("playerresize",this.updateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.updateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),t):void 0},t.currentBreakpoint=function(){return this.breakpoint_},t.currentBreakpointClass=function(){return On[this.breakpoint_]||""},t.loadMedia=function(t,e){var i,n,s,r=this;t&&"object"==typeof t&&(this.reset(),this.cache_.media=Ot(t),i=(s=this.cache_.media).artwork,n=s.poster,t=s.src,s=s.textTracks,!i&&n&&(this.cache_.media.artwork=[{src:n,type:Ki(n)}]),t&&this.src(t),n&&this.poster(n),Array.isArray(s)&&s.forEach(function(t){return r.addRemoteTextTrack(t,!1)}),this.ready(e))},t.getMedia=function(){if(this.cache_.media)return Ot(this.cache_.media);var t=this.poster(),e={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),function(t){return{kind:t.kind,label:t.label,language:t.language,src:t.src}})};return t&&(e.poster=t,e.artwork=[{src:e.poster,type:Ki(e.poster)}]),e},a.getTagSettings=function(t){var e,i={sources:[],tracks:[]},n=A(t),s=n["data-setup"];if(k(t,"vjs-fill")&&(n.fill=!0),k(t,"vjs-fluid")&&(n.fluid=!0),null!==s&&(s=(e=we(s||"{}"))[0],e=e[1],s&&h.error(s),f(n,e)),f(i,n),t.hasChildNodes())for(var r=t.childNodes,o=0,a=r.length;o<a;o++){var l=r[o],d=l.nodeName.toLowerCase();"source"===d?i.sources.push(A(l)):"track"===d&&i.tracks.push(A(l))}return i},t.flexNotSupported_=function(){var t=u.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},t.debug=function(t){if(void 0===t)return this.debugEnabled_;t?(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)},a}(jt);ai.names.forEach(function(t){var e=ai[t];Nn.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}}),Nn.prototype.crossorigin=Nn.prototype.crossOrigin,Nn.players={};Rt=g.navigator;Nn.prototype.options_={techOrder:Fi.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Rt&&(Rt.languages&&Rt.languages[0]||Rt.userLanguage||Rt.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1},["ended","seeking","seekable","networkState","readyState"].forEach(function(t){Nn.prototype[t]=function(){return this.techGet_(t)}}),An.forEach(function(t){Nn.prototype["handleTech"+Mt(t)+"_"]=function(){return this.trigger(t)}}),jt.registerComponent("Player",Nn);var Rn=i(function(i){function n(t,e){return i.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(t,e)}i.exports=n});function Fn(t){return Yn.hasOwnProperty(t)}function jn(t){return Fn(t)?Yn[t]:void 0}function Bn(t,e,i){i=(i?"before":"")+"pluginsetup",t.trigger(i,e),t.trigger(i+":"+e.name,e)}function Hn(e,i){function n(){Bn(this,{name:e,plugin:i,instance:null},!0);var t=i.apply(this,arguments);return Gn(this,e),Bn(this,{name:e,plugin:i,instance:t}),t}return Object.keys(i).forEach(function(t){n[t]=i[t]}),n}function Un(s,r){return r.prototype.name=s,function(){Bn(this,{name:s,plugin:r,instance:null},!0);for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=qn(r,[this].concat(e));return this[s]=function(){return n},Bn(this,n.getEventHash()),n}}var zn=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}},qn=i(function(n){function s(t,e,i){return zn()?n.exports=s=Reflect.construct:n.exports=s=function(t,e,i){var n=[null];n.push.apply(n,e);n=new(Function.bind.apply(t,n));return i&&Rn(n,i.prototype),n},s.apply(null,arguments)}n.exports=s}),Wn="plugin",Vn="activePlugins_",Yn={},Gn=function(t,e){t[Vn]=t[Vn]||{},t[Vn][e]=!0},Kn=function(){function i(t){if(this.constructor===i)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),Dt(this),delete this.trigger,At(this,this.constructor.defaultState),Gn(t,this.name),this.dispose=bt(this,this.dispose),t.on("dispose",this.dispose)}var t=i.prototype;return t.version=function(){return this.constructor.VERSION},t.getEventHash=function(t){return void 0===t&&(t={}),t.name=this.name,t.plugin=this.constructor,t.instance=this,t},t.trigger=function(t,e){return void 0===e&&(e={}),ht(this.eventBusEl_,t,this.getEventHash(e))},t.handleStateChanged=function(){},t.dispose=function(){var t=this.name,e=this.player;this.trigger("dispose"),this.off(),e.off("dispose",this.dispose),e[Vn][t]=!1,this.player=this.state=null,e[t]=Un(t,Yn[t])},i.isBasic=function(t){t="string"==typeof t?jn(t):t;return"function"==typeof t&&!i.prototype.isPrototypeOf(t.prototype)},i.registerPlugin=function(t,e){if("string"!=typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+typeof t+".");if(Fn(t))h.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Nn.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!=typeof e)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+typeof e+".");return Yn[t]=e,t!==Wn&&(i.isBasic(e)?Nn.prototype[t]=Hn(t,e):Nn.prototype[t]=Un(t,e)),e},i.deregisterPlugin=function(t){if(t===Wn)throw new Error("Cannot de-register base plugin.");Fn(t)&&(delete Yn[t],delete Nn.prototype[t])},i.getPlugins=function(t){var i;return void 0===t&&(t=Object.keys(Yn)),t.forEach(function(t){var e=jn(t);e&&((i=i||{})[t]=e)}),i},i.getPluginVersion=function(t){t=jn(t);return t&&t.VERSION||""},i}();Kn.getPlugin=jn,Kn.BASE_PLUGIN_NAME=Wn,Kn.registerPlugin(Wn,Kn),Nn.prototype.usingPlugin=function(t){return!!this[Vn]&&!0===this[Vn][t]},Nn.prototype.hasPlugin=function(t){return!!Fn(t)};var Xn=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rn(t,e)},Qn=function(t){return 0===t.indexOf("#")?t.slice(1):t};function Zn(t,e,i){if(s=Zn.getPlayer(t))return e&&h.warn('Player "'+t+'" is already initialised. Options will not be applied.'),i&&s.ready(i),s;var n="string"==typeof t?Y("#"+Qn(t)):t;if(!b(n))throw new TypeError("The element or ID supplied is not valid. (videojs)");n.ownerDocument.defaultView&&n.ownerDocument.body.contains(n)||h.warn("The element supplied is not included in the DOM"),e=e||{},Zn.hooks("beforesetup").forEach(function(t){t=t(n,Ot(e));o(t)&&!Array.isArray(t)?e=Ot(e,t):h.error("please return an object in beforesetup hooks")});var s=new(jt.getComponent("Player"))(n,e,i);return Zn.hooks("setup").forEach(function(t){return t(s)}),s}function Jn(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}Zn.hooks_={},Zn.hooks=function(t,e){return Zn.hooks_[t]=Zn.hooks_[t]||[],e&&(Zn.hooks_[t]=Zn.hooks_[t].concat(e)),Zn.hooks_[t]},Zn.hook=function(t,e){Zn.hooks(t,e)},Zn.hookOnce=function(i,t){Zn.hooks(i,[].concat(t).map(function(e){return function t(){return Zn.removeHook(i,t),e.apply(void 0,arguments)}}))},Zn.removeHook=function(t,e){e=Zn.hooks(t).indexOf(e);return!(e<=-1)&&(Zn.hooks_[t]=Zn.hooks_[t].slice(),Zn.hooks_[t].splice(e,1),!0)},!0!==g.VIDEOJS_NO_DYNAMIC_STYLE&&_()&&((ns=Y(".vjs-styles-defaults"))||(ns=tt("vjs-styles-defaults"),(Rt=Y("head"))&&Rt.insertBefore(ns,Rt.firstChild),et(ns,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    "))),Z(1,Zn),Zn.VERSION=l,Zn.options=Nn.prototype.options_,Zn.getPlayers=function(){return Nn.players},Zn.getPlayer=function(t){var e=Nn.players;if("string"==typeof t){var i=Qn(t),n=e[i];if(n)return n;i=Y("#"+i)}else i=t;if(b(i)){t=i.player,i=i.playerId;if(t||e[i])return t||e[i]}},Zn.getAllPlayers=function(){return Object.keys(Nn.players).map(function(t){return Nn.players[t]}
1).filter(Boolean)},Zn.players=Nn.players,Zn.getComponent=jt.getComponent,Zn.registerComponent=function(t,e){Fi.isTech(e)&&h.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),jt.registerComponent.call(jt,t,e)},Zn.getTech=Fi.getTech,Zn.registerTech=Fi.registerTech,Zn.use=function(t,e){ji[t]=ji[t]||[],ji[t].push(e)},Object.defineProperty(Zn,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Zn.middleware,"TERMINATOR",{value:Hi,writeable:!1,enumerable:!0}),Zn.browser=le,Zn.TOUCH_ENABLED=ne,Zn.extend=function(t,e){void 0===e&&(e={});var i,n=function(){t.apply(this,arguments)},s={};for(i in"object"==typeof e?(e.constructor!==Object.prototype.constructor&&(n=e.constructor),s=e):"function"==typeof e&&(n=e),Xn(n,t),t&&(n.super_=t),s)s.hasOwnProperty(i)&&(n.prototype[i]=s[i]);return n},Zn.mergeOptions=Ot,Zn.bind=bt,Zn.registerPlugin=Kn.registerPlugin,Zn.deregisterPlugin=Kn.deregisterPlugin,Zn.plugin=function(t,e){return h.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Kn.registerPlugin(t,e)},Zn.getPlugins=Kn.getPlugins,Zn.getPlugin=Kn.getPlugin,Zn.getPluginVersion=Kn.getPluginVersion,Zn.addLanguage=function(t,e){var i;return t=(""+t).toLowerCase(),Zn.options.languages=Ot(Zn.options.languages,((i={})[t]=e,i)),Zn.options.languages[t]},Zn.log=h,Zn.createLogger=d,Zn.createTimeRange=Zn.createTimeRanges=ue,Zn.formatTime=on,Zn.setFormatTime=function(t){rn=t},Zn.resetFormatTime=function(){rn=sn},Zn.parseUrl=Oe,Zn.isCrossOrigin=Re,Zn.EventTarget=vt,Zn.on=ct,Zn.one=pt,Zn.off=ut,Zn.trigger=ht,Zn.xhr=Ke,Zn.TextTrack=ii,Zn.AudioTrack=qt,Zn.VideoTrack=ni,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(t){Zn[t]=function(){return h.warn("videojs."+t+"() is deprecated; use videojs.dom."+t+"() instead"),K[t].apply(null,arguments)}}),Zn.computedStyle=m,Zn.dom=K,Zn.url=zt,Zn.defineLazyProperty=kn;var ts=Jn(i(function(t,e){var i,r,n,s,o;i=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/\?#]*\/)*.*?)??(;.*?)?(\?.*?)?(#.*?)?$/,r=/^([^\/?#]*)(.*)$/,n=/(?:\/|^)\.(?=\/)/g,s=/(?:\/|^)\.\.\/(?!\.\.\/).*?(?=\/)/g,o={buildAbsoluteURL:function(t,e,i){if(i=i||{},t=t.trim(),!(e=e.trim())){if(!i.alwaysNormalize)return t;var n=o.parseURL(t);if(!n)throw new Error("Error trying to parse base URL.");return n.path=o.normalizePath(n.path),o.buildURLFromParts(n)}n=o.parseURL(e);if(!n)throw new Error("Error trying to parse relative URL.");if(n.scheme)return i.alwaysNormalize?(n.path=o.normalizePath(n.path),o.buildURLFromParts(n)):e;e=o.parseURL(t);if(!e)throw new Error("Error trying to parse base URL.");!e.netLoc&&e.path&&"/"!==e.path[0]&&(s=r.exec(e.path),e.netLoc=s[1],e.path=s[2]),e.netLoc&&!e.path&&(e.path="/");var s,t={scheme:e.scheme,netLoc:n.netLoc,path:null,params:n.params,query:n.query,fragment:n.fragment};return n.netLoc||(t.netLoc=e.netLoc,"/"!==n.path[0]&&(n.path?(s=(s=e.path).substring(0,s.lastIndexOf("/")+1)+n.path,t.path=o.normalizePath(s)):(t.path=e.path,n.params||(t.params=e.params,n.query||(t.query=e.query))))),null===t.path&&(t.path=i.alwaysNormalize?o.normalizePath(n.path):n.path),o.buildURLFromParts(t)},parseURL:function(t){t=i.exec(t);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(t){for(t=t.split("").reverse().join("").replace(n,"");t.length!==(t=t.replace(s,"")).length;);return t.split("").reverse().join("")},buildURLFromParts:function(t){return t.scheme+t.netLoc+t.path+t.params+t.query+t.fragment}},t.exports=o})),es=Jn(g),is=function(t,e){return/^[a-z]+:/i.test(e)?e:(/\/\//i.test(t)||(t=ts.default.buildAbsoluteURL(es.default.location&&es.default.location.href||"",t)),ts.default.buildAbsoluteURL(t,e))},ns=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;e=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(e,1),-1<e},e.trigger=function(t,e){var i=this.listeners[t];if(i)if(2===arguments.length)for(var n=i.length,s=0;s<n;++s)i[s].call(this,e);
1else for(var r=Array.prototype.slice.call(arguments,1),o=i.length,a=0;a<o;++a)i[a].apply(this,r)},e.dispose=function(){this.listeners={}},e.pipe=function(e){this.on("data",function(t){e.push(t)})},t}();function ss(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var rs=ss(g);function os(t){for(var e,i=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},s=i.length;s--;)""!==i[s]&&((e=/([^=]*)=(.*)/.exec(i[s]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),n[e[0]]=e[1]);return n}var as=function(t){for(var e=(t=t,rs.default.atob?rs.default.atob(t):Buffer.from(t,"base64").toString("binary")),i=new Uint8Array(e.length),n=0;n<e.length;n++)i[n]=e.charCodeAt(n);return i},ls=function(e){function t(){var t=e.call(this)||this;return t.buffer="",t}return Ht(t,e),t.prototype.push=function(t){var e;for(this.buffer+=t,e=this.buffer.indexOf("\n");-1<e;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},t}(ns),ds=function(e){function t(){var t=e.call(this)||this;return t.customParsers=[],t.tagMappers=[],t}Ht(t,e);var i=t.prototype;return i.push=function(i){var r,o,a=this;0!==(i=i.trim()).length&&("#"===i[0]?this.tagMappers.reduce(function(t,e){e=e(i);return e===i?t:t.concat([e])},[i]).forEach(function(t){for(var e,i,n,s=0;s<a.customParsers.length;s++)if(a.customParsers[s].call(a,t))return;if(0===t.indexOf("#EXT"))if(t=t.replace("\r",""),r=/^#EXTM3U/.exec(t))a.trigger("data",{type:"tag",tagType:"m3u"});else{if(r=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(t))return o={type:"tag",tagType:"inf"},r[1]&&(o.duration=parseFloat(r[1])),r[2]&&(o.title=r[2]),void a.trigger("data",o);if(r=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(t))return o={type:"tag",tagType:"targetduration"},r[1]&&(o.duration=parseInt(r[1],10)),void a.trigger("data",o);if(r=/^#ZEN-TOTAL-DURATION:?([0-9.]*)?/.exec(t))return o={type:"tag",tagType:"totalduration"},r[1]&&(o.duration=parseInt(r[1],10)),void a.trigger("data",o);if(r=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(t))return o={type:"tag",tagType:"version"},r[1]&&(o.version=parseInt(r[1],10)),void a.trigger("data",o);if(r=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(t))return o={type:"tag",tagType:"media-sequence"},r[1]&&(o.number=parseInt(r[1],10)),void a.trigger("data",o);if(r=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(t))return o={type:"tag",tagType:"discontinuity-sequence"},r[1]&&(o.number=parseInt(r[1],10)),void a.trigger("data",o);if(r=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(t))return o={type:"tag",tagType:"playlist-type"},r[1]&&(o.playlistType=r[1]),void a.trigger("data",o);if(r=/^#EXT-X-BYTERANGE:?([0-9.]*)?@?([0-9.]*)?/.exec(t))return o={type:"tag",tagType:"byterange"},r[1]&&(o.length=parseInt(r[1],10)),r[2]&&(o.offset=parseInt(r[2],10)),void a.trigger("data",o);if(r=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(t))return o={type:"tag",tagType:"allow-cache"},r[1]&&(o.allowed=!/NO/.test(r[1])),void a.trigger("data",o);if(r=/^#EXT-X-MAP:?(.*)$/.exec(t))return o={type:"tag",tagType:"map"},r[1]&&((e=os(r[1])).URI&&(o.uri=e.URI),e.BYTERANGE&&(n=(i=e.BYTERANGE.split("@"))[0],i=i[1],o.byterange={},n&&(o.byterange.length=parseInt(n,10)),i&&(o.byterange.offset=parseInt(i,10)))),void a.trigger("data",o);if(r=/^#EXT-X-STREAM-INF:?(.*)$/.exec(t))return o={type:"tag",tagType:"stream-inf"},r[1]&&(o.attributes=os(r[1]),o.attributes.RESOLUTION&&(n={},(i=o.attributes.RESOLUTION.split("x"))[0]&&(n.width=parseInt(i[0],10)),i[1]&&(n.height=parseInt(i[1],10)),o.attributes.RESOLUTION=n),o.attributes.BANDWIDTH&&(o.attributes.BANDWIDTH=parseInt(o.attributes.BANDWIDTH,10)),o.attributes["PROGRAM-ID"]&&(o.attributes["PROGRAM-ID"]=parseInt(o.attributes["PROGRAM-ID"],10))),void a.trigger("data",o);if(r=/^#EXT-X-MEDIA:?(.*)$/.exec(t))return o={type:"tag",tagType:"media"},r[1]&&(o.attributes=os(r[1])),void a.trigger("data",o);if(r=/^#EXT-X-ENDLIST/.exec(t))a.trigger("data",{type:"tag",tagType:"endlist"});else{if(!(r=/^#EXT-X-DISCONTINUITY/.exec(t)))return(r=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(t))?(o={type:"tag",tagType:"program-date-time"}
vendor: 4,938 bytes, line 1
1,r[1]&&(o.dateTimeString=r[1],o.dateTimeObject=new Date(r[1])),void a.trigger("data",o)):(r=/^#EXT-X-KEY:?(.*)$/.exec(t))?(o={type:"tag",tagType:"key"},r[1]&&(o.attributes=os(r[1]),o.attributes.IV&&("0x"===o.attributes.IV.substring(0,2).toLowerCase()&&(o.attributes.IV=o.attributes.IV.substring(2)),o.attributes.IV=o.attributes.IV.match(/.{8}/g),o.attributes.IV[0]=parseInt(o.attributes.IV[0],16),o.attributes.IV[1]=parseInt(o.attributes.IV[1],16),o.attributes.IV[2]=parseInt(o.attributes.IV[2],16),o.attributes.IV[3]=parseInt(o.attributes.IV[3],16),o.attributes.IV=new Uint32Array(o.attributes.IV))),void a.trigger("data",o)):(r=/^#EXT-X-START:?(.*)$/.exec(t))?(o={type:"tag",tagType:"start"},r[1]&&(o.attributes=os(r[1]),o.attributes["TIME-OFFSET"]=parseFloat(o.attributes["TIME-OFFSET"]),o.attributes.PRECISE=/YES/.test(o.attributes.PRECISE)),void a.trigger("data",o)):(r=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(t))?(o={type:"tag",tagType:"cue-out-cont"},r[1]?o.data=r[1]:o.data="",void a.trigger("data",o)):(r=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(t))?(o={type:"tag",tagType:"cue-out"},r[1]?o.data=r[1]:o.data="",void a.trigger("data",o)):(r=/^#EXT-X-CUE-IN:?(.*)?$/.exec(t))?(o={type:"tag",tagType:"cue-in"},r[1]?o.data=r[1]:o.data="",void a.trigger("data",o)):void a.trigger("data",{type:"tag",data:t.slice(4)});a.trigger("data",{type:"tag",tagType:"discontinuity"})}}else a.trigger("data",{type:"comment",text:t.slice(1)})}):this.trigger("data",{type:"uri",uri:i}))},i.addParser=function(t){var e=this,i=t.expression,n=t.customType,s=t.dataParser,r=t.segment;"function"!=typeof s&&(s=function(t){return t}),this.customParsers.push(function(t){if(i.exec(t))return e.trigger("data",{type:"custom",data:s(t),customType:n,segment:r}),!0})},i.addTagMapper=function(t){var e=t.expression,i=t.map;this.tagMappers.push(function(t){return e.test(t)?i(t):t})},t}(ns),cs=function(e){function t(){var t=e.call(this)||this;t.lineStream=new ls,t.parseStream=new ds,t.lineStream.pipe(t.parseStream);var s,r,o=Bt(t),a=[],l={},d={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},c=0;t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var u=0;return t.parseStream.on("data",function(e){var i,n;({tag:function(){({"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&&((l.byterange=t).length=e.length,"offset"in e||(e.offset=u)),"offset"in e&&((l.byterange=t).offset=e.offset),u=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"})),0<e.duration&&(l.duration=e.duration),0===e.duration&&(l.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("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)?void(this.manifest.contentProtection={"com.widevine.alpha":{attributes:{schemeIdUri:e.attributes.KEYFORMAT,keyId:e.attributes.KEYID.substring(2)},pssh:as(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},void 0!==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(){s={}
1,e.uri&&(s.uri=e.uri),e.byterange&&(s.byterange=e.byterange)},"stream-inf":function(){this.manifest.playlists=a,this.manifest.mediaGroups=this.manifest.mediaGroups||d,e.attributes?(l.attributes||(l.attributes={}),p(l.attributes,e.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){var t;this.manifest.mediaGroups=this.manifest.mediaGroups||d,e.attributes&&e.attributes.TYPE&&e.attributes["GROUP-ID"]&&e.attributes.NAME?((t=this.manifest.mediaGroups[e.attributes.TYPE])[e.attributes["GROUP-ID"]]=t[e.attributes["GROUP-ID"]]||{},i=t[e.attributes["GROUP-ID"]],(n={default:/yes/i.test(e.attributes.DEFAULT)}).default?n.autoselect=!0:n.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(n.language=e.attributes.LANGUAGE),e.attributes.URI&&(n.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(n.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(n.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(n.forced=/yes/i.test(e.attributes.FORCED)),i[e.attributes.NAME]=n):this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){c+=1,l.discontinuity=!0,this.manifest.discontinuityStarts.push(a.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=e.dateTimeString,this.manifest.dateTimeObject=e.dateTimeObject),l.dateTimeString=e.dateTimeString,l.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},totalduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid total duration: "+e.duration}):this.manifest.totalDuration=e.duration},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(){l.cueOut=e.data},"cue-out-cont":function(){l.cueOutCont=e.data},"cue-in":function(){l.cueIn=e.data}}[e.tagType]||function(){}).call(o)},uri:function(){l.uri=e.uri,a.push(l),!this.manifest.targetDuration||"duration"in l||(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),l.duration=this.manifest.targetDuration),r&&(l.key=r),l.timeline=c,s&&(l.map=s),l={}},comment:function(){},custom:function(){e.segment?(l.custom=l.custom||{},l.custom[e.customType]=e.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[e.customType]=e.data)}})[e.type].call(o)}),t}Ht(t,e);var i=t.prototype;return i.push=function(t){this.lineStream.push(t)},i.end=function(){this.lineStream.push("\n")},i.addParser=function(t){this.parseStream.addParser(t)},i.addTagMapper=function(t){this.parseStream.addTagMapper(t)},t}(ns),le=i(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,n=/^application\/dash\+xml/i;e.simpleTypeFromSourceType=function(t){return i.test(t)?"hls":n.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}});e(le);var us=le.simpleTypeFromSourceType,qt=/[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]/,ni=new RegExp("[\\-\\.0-9"+qt.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),hs=new RegExp("^"+qt.source+ni.source+"*(?::"+qt.source+ni.source+"*)?$"),ps=0,fs=1,ms=2,gs=3,vs=4,ys=5,_s=6,bs=7;function ws(){}function Ts(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function Cs(t,e,i){for(var n=t.tagName,s=null,r=t.length;r--;){var o=t[r],a=o.qName,l=o.value,a=0<(c=a.indexOf(":"))?(d=o.prefix=a.slice(0,c),u=a.slice(c+1),"xmlns"===d&&u):(d=null,"xmlns"===(u=a)&&"");o.localName=u,!1!==a&&(null==s&&(s={},Ss(i,i={})),i[a]=s[a]=l,o.uri="http://www.w3.org/2000/xmlns/",e.startPrefixMapping(a,l))}for(var d,r=t.length;r--;){(d=(o=t[r]).prefix)&&("xml"===d&&(o.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==d&&(o.uri=i[d||""]))}var c,u=0<(c=n.indexOf(":"))?(d=t.prefix=n.slice(0,c),t.localName=n.slice(c+1)):(d=null,t.localName=n),h=t.uri=i[d||""];if(e.startElement(h,u,n,t),!t.closed)return t.currentNSMap=i,t.localNSMap=s,1;if(e.endElement(h,u,n),s)for(d in s)e.endPrefixMapping(d)}function Ss(t,e){for(var i in t)e[i]=t[i]}function xs(t){}function ks(t,e){return t.__proto__=e,t}
vendor: 19,227 bytes, line 1
1ws.prototype={parse:function(t,e,i){var n=this.domBuilder;n.startDocument(),Ss(e,e={}),function(i,t,n,s,r){function o(t){var e=t.slice(1,-1);return e in n?n[e]:"#"===e.charAt(0)?function(t){if(65535<t){var e=55296+((t-=65536)>>10),i=56320+(1023&t);return String.fromCharCode(e,i)}return String.fromCharCode(t)}(parseInt(e.substr(1).replace("x","0x"))):(r.error("entity not found:"+t),t)}function e(t){var e;f<t&&(e=i.substring(f,t).replace(/&#?\w+;/g,o),u&&a(f),s.characters(e,0,t-f),f=t)}function a(t,e){for(;d<=t&&(e=c.exec(i));)l=e.index,d=l+e[0].length,u.lineNumber++;u.columnNumber=t-l+1}var l=0,d=0,c=/.*(?:\r\n?|\n)|.*$/g,u=s.locator,h=[{currentNSMap:t}],p={},f=0;for(;;){try{var m=i.indexOf("<",f);if(m<0)return i.substr(f).match(/^\s*$/)||(_=s.doc,b=_.createTextNode(i.substr(f)),_.appendChild(b),s.currentElement=b);switch(f<m&&e(m),i.charAt(m+1)){case"/":var g=i.indexOf(">",m+3),v=i.substring(m+2,g),y=h.pop();g<0?(v=i.substring(m+2).replace(/[\s<].*/,""),r.error("end tag name: "+v+" is not complete:"+y.tagName),g=m+1+v.length):v.match(/\s</)&&(v=v.replace(/[\s<].*/,""),r.error("end tag name: "+v+" maybe not complete"),g=m+1+v.length);var _=y.localNSMap,b=y.tagName==v;if(b||y.tagName&&y.tagName.toLowerCase()==v.toLowerCase()){if(s.endElement(y.uri,y.localName,v),_)for(var w in _)s.endPrefixMapping(w);b||r.fatalError("end tag name: "+v+" is not match the current start tagName:"+y.tagName)}else h.push(y);g++;break;case"?":u&&a(m),g=function(t,e,i){var n=t.indexOf("?>",e);if(n){e=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(e){e[0].length;return i.processingInstruction(e[1],e[2]),n+2}return-1}return-1}(i,m,s);break;case"!":u&&a(m),g=function(t,e,i,n){{if("-"===t.charAt(e+2)){if("-"!==t.charAt(e+3))return-1;var s=t.indexOf("--\x3e",e+4);return e<s?(i.comment(t,e+4,s-e-4),s+3):(n.error("Unclosed comment"),-1)}if("CDATA["==t.substr(e+3,6)){s=t.indexOf("]]>",e+9);return i.startCDATA(),i.characters(t,e+9,s-e-9),i.endCDATA(),s+3}var r=function(t,e){var i,n=[],s=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;s.lastIndex=e,s.exec(t);for(;i=s.exec(t);)if(n.push(i),i[1])return n}(t,e),n=r.length;if(1<n&&/!doctype/i.test(r[0][0])){s=r[1][0],t=3<n&&/^public$/i.test(r[2][0])&&r[3][0],e=4<n&&r[4][0],n=r[n-1];return i.startDTD(s,t&&t.replace(/^(['"])(.*?)\1$/,"$2"),e&&e.replace(/^(['"])(.*?)\1$/,"$2")),i.endDTD(),n.index+n[0].length}}return-1}(i,m,s,r);break;default:u&&a(m);var T=new xs,v=h[h.length-1].currentNSMap,g=function(t,e,i,n,s,r){var o,a=++e,l=ps;for(;;){var d=t.charAt(a);switch(d){case"=":if(l===fs)o=t.slice(e,a),l=gs;else{if(l!==ms)throw new Error("attribute equal must after attrName");l=gs}break;case"'":case'"':if(l===gs||l===fs){if(l===fs&&(r.warning('attribute value must after "="'),o=t.slice(e,a)),e=a+1,!(0<(a=t.indexOf(d,e))))throw new Error("attribute value no end '"+d+"' match");c=t.slice(e,a).replace(/&#?\w+;/g,s),i.add(o,c,e-1),l=ys}else{if(l!=vs)throw new Error('attribute value must after "="');c=t.slice(e,a).replace(/&#?\w+;/g,s),i.add(o,c,e),r.warning('attribute "'+o+'" missed start quot('+d+")!!"),e=a+1,l=ys}break;case"/":switch(l){case ps:i.setTagName(t.slice(e,a));case ys:case _s:case bs:l=bs,i.closed=!0;case vs:case fs:case ms:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return r.error("unexpected end of input"),l==ps&&i.setTagName(t.slice(e,a)),a;case">":switch(l){case ps:i.setTagName(t.slice(e,a));case ys:case _s:case bs:break;case vs:case fs:"/"===(c=t.slice(e,a)).slice(-1)&&(i.closed=!0,c=c.slice(0,-1));case ms:l===ms&&(c=o),l==vs?(r.warning('attribute "'+c+'" missed quot(")!!'),i.add(o,c.replace(/&#?\w+;/g,s),e)):("http://www.w3.org/1999/xhtml"===n[""]&&c.match(/^(?:disabled|checked|selected)$/i)||r.warning('attribute "'+c+'" missed value!! "'+c+'" instead!!'),i.add(c,c,e));break;case gs:throw new Error("attribute value missed!!")}return a;case"€":d=" ";default:if(d<=" ")switch(l){case ps:i.setTagName(t.slice(e,a)),l=_s;break;case fs:o=t.slice(e,a),l=ms;break;case vs:var c=t.slice(e,a).replace(/&#?\w+;/g,s);r.warning('attribute "'+c+'" missed quot(")!!'),i.add(o,c,e);case ys:l=_s}else switch(l){case ms:i.tagName;"http://www.w3.org/1999/xhtml"===n[""]&&o.match(/^(?:disabled|checked|selected)$/i)||r.warning('attribute "'+o+'" missed value!! "'+o+'" instead2!!'),i.add(o,o,e),e=a,l=fs;break;case ys:r.warning('attribute space is required"'+o+'"!!');case _s:l=fs,e=a;break;case gs:l=vs,e=a;break;case bs:throw new Error("elements closed character '/' and '>' must be connected to")}}a++}}(i,m,T,v,o,r),C=T.length;if(!T.closed&&function(t,e,i,n){var s=n[i];null==s&&((s=t.lastIndexOf("</"+i+">"))<e&&(s=t.lastIndexOf("</"+i)),n[i]=s);return s<e}(i,g,T.tagName,p)&&(T.closed=!0,n.nbsp||r.warning("unclosed xml attribute")),u&&C){for(var y=Ts(u,{}),S=0;S<C;S++){var x=T[S];a(x.offset),x.locator=Ts(u,{})}s.locator=y,Cs(T,s,v)&&h.push(T),s.locator=u}else Cs(T,s,v)&&h.push(T);"http://www.w3.org/1999/xhtml"!==T.uri||T.closed?g++:g=function(t,e,i,n,s){if(/^(?:script|textarea)$/i.test(i)){var r=t.indexOf("</"+i+">",e),t=t.substring(e+1,r);if(/[&<]/.test(t))return/^script$/i.test(i)||(t=t.replace(/&#?\w+;/g,n)),s.characters(t,0,t.length),r}return e+1}(i,g,T.tagName,o,s)}}catch(t){r.error("element parse error: "+t),g=-1}f<g?f=g:e(Math.max(m,f)+1)}}(t,e,i,n,this.errorHandler),n.endDocument()}},xs.prototype={setTagName:function(t){if(!hs.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},add:function(t,e,i){if(!hs.test(t))throw new Error("invalid attribute:"+t);this[this.length++]={qName:t,value:e,offset:i}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},ks({},ks.prototype);var $s={XMLReader:ws};function Es(t,e){for(var i in t)e[i]=t[i]}function Ds(t,e){var i,n=t.prototype;Object.create&&(i=Object.create(e.prototype),n.__proto__=i),n instanceof e||((i=function(){}).prototype=e.prototype,Es(n,i=new i),t.prototype=n=i),n.constructor!=t&&("function"!=typeof t&&console.error("unknow Class:"+t),n.constructor=t)}var Is,As="http://www.w3.org/1999/xhtml",zt={},Ps=zt.ELEMENT_NODE=1,Ms=zt.ATTRIBUTE_NODE=2,Os=zt.TEXT_NODE=3,Ls=zt.CDATA_SECTION_NODE=4,Ns=zt.ENTITY_REFERENCE_NODE=5,Rs=(zt.ENTITY_NODE=6,zt.PROCESSING_INSTRUCTION_NODE=7),Fs=zt.COMMENT_NODE=8,js=zt.DOCUMENT_NODE=9,Bs=zt.DOCUMENT_TYPE_NODE=10,Hs=zt.DOCUMENT_FRAGMENT_NODE=11,ns=(zt.NOTATION_NODE=12,{}),Us={};ns.INDEX_SIZE_ERR=(Us[1]="Index size error",1),ns.DOMSTRING_SIZE_ERR=(Us[2]="DOMString size error",2),ns.HIERARCHY_REQUEST_ERR=(Us[3]="Hierarchy request error",3),ns.WRONG_DOCUMENT_ERR=(Us[4]="Wrong document",4),ns.INVALID_CHARACTER_ERR=(Us[5]="Invalid character",5),ns.NO_DATA_ALLOWED_ERR=(Us[6]="No data allowed",6),ns.NO_MODIFICATION_ALLOWED_ERR=(Us[7]="No modification allowed",7),ns.NOT_FOUND_ERR=(Us[8]="Not found",8),ns.NOT_SUPPORTED_ERR=(Us[9]="Not supported",9),ns.INUSE_ATTRIBUTE_ERR=(Us[10]="Attribute in use",10),ns.INVALID_STATE_ERR=(Us[11]="Invalid state",11),ns.SYNTAX_ERR=(Us[12]="Syntax error",12),ns.INVALID_MODIFICATION_ERR=(Us[13]="Invalid modification",13),ns.NAMESPACE_ERR=(Us[14]="Invalid namespace",14),ns.INVALID_ACCESS_ERR=(Us[15]="Invalid access",15);function zs(t,e){var i;return e instanceof Error?i=e:(i=this,Error.call(this,Us[t]),this.message=Us[t],Error.captureStackTrace&&Error.captureStackTrace(this,zs)),i.code=t,e&&(this.message=this.message+": "+e),i}function qs(){}function Ws(t,e){this._node=t,this._refresh=e,Vs(this)}function Vs(t){var e,i=t._node._inc||t._node.ownerDocument._inc;t._inc!=i&&(e=t._refresh(t._node),Tr(t,"length",e.length),Es(e,t),t._inc=i)}function Ys(){}function Gs(t,e){for(var i=t.length;i--;)if(t[i]===e)return i}function Ks(t,e,i,n){n?e[Gs(e,n)]=i:e[e.length++]=i,!t||(e=(i.ownerElement=t).ownerDocument)&&(n&&ir(e,t,n),t=t,i=i,(e=e)&&e._inc++,"http://www.w3.org/2000/xmlns/"==i.namespaceURI&&(t._nsMap[i.prefix?i.localName:""]=i.value))}function Xs(t,e,i){var n=Gs(e,i);if(!(0<=n))throw zs(8,new Error(t.tagName+"@"+i));for(var s,r=e.length-1;n<r;)e[n]=e[++n];e.length=r,!t||(s=t.ownerDocument)&&(ir(s,t,i),i.ownerElement=null)}function Qs(t){if(this._features={},t)for(var e in t)this._features=t[e]}function Zs(){}function Js(t){return("<"==t?"&lt;":">"==t&&"&gt;")||"&"==t&&"&amp;"||'"'==t&&"&quot;"||"&#"+t.charCodeAt()+";"}function tr(t,e){if(e(t))return 1;if(t=t.firstChild)do{if(tr(t,e))return 1}while(t=t.nextSibling)}function er(){}function ir(t,e,i){t&&t._inc++,"http://www.w3.org/2000/xmlns/"==i.namespaceURI&&delete e._nsMap[i.prefix?i.localName:""]}function nr(t,e,i){if(t&&t._inc){t._inc++;var n=e.childNodes;if(i)n[n.length++]=i;else{for(var s=e.firstChild,r=0;s;)s=(n[r++]=s).nextSibling;n.length=r}}}function sr(t,e){var i=e.previousSibling,n=e.nextSibling;return i?i.nextSibling=n:t.firstChild=n,n?n.previousSibling=i:t.lastChild=i,nr(t.ownerDocument,t),e}function rr(t,e,i){var n=e.parentNode;if(n&&n.removeChild(e),e.nodeType===Hs){var s=e.firstChild;if(null==s)return e;var r=e.lastChild}else s=r=e;n=i?i.previousSibling:t.lastChild;for(s.previousSibling=n,r.nextSibling=i,n?n.nextSibling=s:t.firstChild=s,null==i?t.lastChild=r:i.previousSibling=r;s.parentNode=t,s!==r&&(s=s.nextSibling););return nr(t.ownerDocument||t,t),e.nodeType==Hs&&(e.firstChild=e.lastChild=null),e}function or(){this._nsMap={}}function ar(){}function lr(){}function dr(){}function cr(){}function ur(){}function hr(){}function pr(){}function fr(){}function mr(){}function gr(){}function vr(){}function yr(){}function _r(t,e){var i,n=[],s=9==this.nodeType?this.documentElement:this,r=s.prefix,o=s.namespaceURI;return o&&null==r&&null==(r=s.lookupPrefix(o))&&(i=[{namespace:o,prefix:null}]),wr(this,n,t,e,i),n.join("")}function br(t,e,i){var n=t.prefix||"",s=t.namespaceURI;if((n||s)&&("xml"!==n||"http://www.w3.org/XML/1998/namespace"!==s)&&"http://www.w3.org/2000/xmlns/"!=s){for(var r=i.length;r--;){var o=i[r];if(o.prefix==n)return o.namespace!=s}return 1}}function wr(t,e,i,n,s){if(n){if(!(t=n(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case Ps:s=s||[];var r=t.attributes,o=r.length,a=t.firstChild,l=t.tagName;i=As===t.namespaceURI||i,e.push("<",l);for(var d=0;d<o;d++){"xmlns"==(c=r.item(d)).prefix?s.push({prefix:c.localName,namespace:c.value}):"xmlns"==c.nodeName&&s.push({prefix:"",namespace:c.value})}for(var c,u,h,p,d=0;d<o;d++){br(c=r.item(d),0,s)&&(u=c.prefix||"",h=c.namespaceURI,p=u?" xmlns:"+u:" xmlns",e.push(p,'="',h,'"'),s.push({prefix:u,namespace:h})),wr(c,e,i,n,s)}if(br(t,0,s)&&(u=t.prefix||"",h=t.namespaceURI,p=u?" xmlns:"+u:" xmlns",e.push(p,'="',h,'"'),s.push({prefix:u,namespace:h})),a||i&&!/^(?:meta|link|img|br|hr|input)$/i.test(l)){if(e.push(">"),i&&/^script$/i.test(l))for(;a;)a.data?e.push(a.data):wr(a,e,i,n,s),a=a.nextSibling;else for(;a;)wr(a,e,i,n,s),a=a.nextSibling;e.push("</",l,">")}else e.push("/>");return;case js:case Hs:for(a=t.firstChild;a;)wr(a,e,i,n,s),a=a.nextSibling;return;case Ms:return e.push(" ",t.name,'="',t.value.replace(/[<&"]/g,Js),'"');case Os:return e.push(t.data.replace(/[<&]/g,Js));case Ls:return e.push("<![CDATA[",t.data,"]]>");case Fs:return e.push("\x3c!--",t.data,"--\x3e");case Bs:var f=t.publicId,l=t.systemId;return e.push("<!DOCTYPE ",t.name),void(f?(e.push(' PUBLIC "',f),l&&"."!=l&&e.push('" "',l),e.push('">')):l&&"."!=l?e.push(' SYSTEM "',l,'">'):((l=t.internalSubset)&&e.push(" [",l,"]"),e.push(">")));case Rs:return e.push("<?",t.target," ",t.data,"?>");case Ns:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function Tr(t,e,i){t[e]=i}zs.prototype=Error.prototype,Es(ns,zs),qs.prototype={length:0,item:function(t){return this[t]||null},toString:function(t,e){for(var i=[],n=0;n<this.length;n++)wr(this[n],i,t,e);return i.join("")}},Ws.prototype.item=function(t){return Vs(this),this[t]},Ds(Ws,qs),Ys.prototype={length:0,item:qs.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var i=this[e];if(i.nodeName==t)return i}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new zs(10);e=this.getNamedItem(t.nodeName);return Ks(this._ownerElement,this,t,e),e},setNamedItemNS:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new zs(10);return e=this.getNamedItemNS(t.namespaceURI,t.localName),Ks(this._ownerElement,this,t,e),e},removeNamedItem:function(t){t=this.getNamedItem(t);return Xs(this._ownerElement,this,t),t},removeNamedItemNS:function(t,e){e=this.getNamedItemNS(t,e);return Xs(this._ownerElement,this,e),e},getNamedItemNS:function(t,e){for(var i=this.length;i--;){var n=this[i];if(n.localName==e&&n.namespaceURI==t)return n}return null}},Qs.prototype={hasFeature:function(t,e){t=this._features[t.toLowerCase()];return!(!t||e&&!(e in t))},createDocument:function(t,e,i){var n=new er;return n.implementation=this,n.childNodes=new qs,(n.doctype=i)&&n.appendChild(i),e&&(e=n.createElementNS(t,e),n.appendChild(e)),n},createDocumentType:function(t,e,i){var n=new hr;return n.name=t,n.nodeName=t,n.publicId=e,n.systemId=i,n}},Zs.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(t,e){return rr(this,t,e)},replaceChild:function(t,e){this.insertBefore(t,e),e&&this.removeChild(e)},removeChild:function(t){return sr(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return function t(e,i,n){var s=new i.constructor;for(var r in i){var o=i[r];"object"!=typeof o&&o!=s[r]&&(s[r]=o)}i.childNodes&&(s.childNodes=new qs);s.ownerDocument=e;switch(s.nodeType){case Ps:var a=i.attributes,l=s.attributes=new Ys,d=a.length;l._ownerElement=s;for(var c=0;c<d;c++)s.setAttributeNode(t(e,a.item(c),!0));break;case Ms:n=!0}if(n)for(var u=i.firstChild;u;)s.appendChild(t(e,u,n)),u=u.nextSibling;return s}(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==Os&&t.nodeType==Os?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return 0<this.attributes.length},lookupPrefix:function(t){for(var e=this;e;){var i=e._nsMap;if(i)for(var n in i)if(i[n]==t)return n;e=e.nodeType==Ms?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var i=e._nsMap;if(i&&t in i)return i[t];e=e.nodeType==Ms?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},Es(zt,Zs),Es(zt,Zs.prototype),er.prototype={nodeName:"#document",nodeType:js,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType!=Hs)return null==this.documentElement&&t.nodeType==Ps&&(this.documentElement=t),rr(this,t,e),t.ownerDocument=this,t;for(var i=t.firstChild;i;){var n=i.nextSibling;this.insertBefore(i,e),i=n}return t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),sr(this,t)},importNode:function(t,e){return function t(e,i,n){var s;switch(i.nodeType){case Ps:(s=i.cloneNode(!1)).ownerDocument=e;case Hs:break;case Ms:n=!0}s=s||i.cloneNode(!1);s.ownerDocument=e;s.parentNode=null;if(n)for(var r=i.firstChild;r;)s.appendChild(t(e,r,n)),r=r.nextSibling;return s}(this,t,e)},getElementById:function(e){var i=null;return tr(this.documentElement,function(t){if(t.nodeType==Ps&&t.getAttribute("id")==e)return i=t,!0}),i},createElement:function(t){var e=new or;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.childNodes=new qs,(e.attributes=new Ys)._ownerElement=e},createDocumentFragment:function(){var t=new gr;return t.ownerDocument=this,t.childNodes=new qs,t},createTextNode:function(t){var e=new dr;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new cr;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new ur;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var i=new vr;return i.ownerDocument=this,i.tagName=i.target=t,i.nodeValue=i.data=e,i},createAttribute:function(t){var e=new ar;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new mr;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var i=new or,n=e.split(":"),s=i.attributes=new Ys;return i.childNodes=new qs,i.ownerDocument=this,i.nodeName=e,i.tagName=e,i.namespaceURI=t,2==n.length?(i.prefix=n[0],i.localName=n[1]):i.localName=e,s._ownerElement=i},createAttributeNS:function(t,e){var i=new ar,n=e.split(":");return i.ownerDocument=this,i.nodeName=e,i.name=e,i.namespaceURI=t,i.specified=!0,2==n.length?(i.prefix=n[0],i.localName=n[1]):i.localName=e,i}},Ds(er,Zs),er.prototype.getElementsByTagName=(or.prototype={nodeType:Ps,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){t=this.getAttributeNode(t);return t&&t.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){t=this.ownerDocument.createAttribute(t);t.value=t.nodeValue=""+e,this.setAttributeNode(t)},removeAttribute:function(t){t=this.getAttributeNode(t);t&&this.removeAttributeNode(t)},appendChild:function(t){return t.nodeType===Hs?this.insertBefore(t,null):function(t,e){var i=e.parentNode;i&&(n=t.lastChild,i.removeChild(e),n=t.lastChild);var n=t.lastChild;return e.parentNode=t,e.previousSibling=n,e.nextSibling=null,n?n.nextSibling=e:t.firstChild=e,t.lastChild=e,nr(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){e=this.getAttributeNodeNS(t,e);e&&this.removeAttributeNode(e)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){e=this.getAttributeNodeNS(t,e);return e&&e.value||""},setAttributeNS:function(t,e,i){e=this.ownerDocument.createAttributeNS(t,e);e.value=e.nodeValue=""+i,this.setAttributeNode(e)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(n){return new Ws(this,function(e){var i=[];return tr(e,function(t){t===e||t.nodeType!=Ps||"*"!==n&&t.tagName!=n||i.push(t)}),i})},getElementsByTagNameNS:function(n,s){return new Ws(this,function(e){var i=[];return tr(e,function(t){t===e||t.nodeType!==Ps||"*"!==n&&t.namespaceURI!==n||"*"!==s&&t.localName!=s||i.push(t)}),i})}}).getElementsByTagName,er.prototype.getElementsByTagNameNS=or.prototype.getElementsByTagNameNS,Ds(or,Zs),ar.prototype.nodeType=Ms,Ds(ar,Zs),lr.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(){throw new Error(Us[3])},deleteData:function(t,e){this.replaceData(t,e,"")}
1,replaceData:function(t,e,i){i=this.data.substring(0,t)+i+this.data.substring(t+e),this.nodeValue=this.data=i,this.length=i.length}},Ds(lr,Zs),dr.prototype={nodeName:"#text",nodeType:Os,splitText:function(t){var e=(i=this.data).substring(t),i=i.substring(0,t);this.data=this.nodeValue=i,this.length=i.length;e=this.ownerDocument.createTextNode(e);return this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling),e}},Ds(dr,lr),cr.prototype={nodeName:"#comment",nodeType:Fs},Ds(cr,lr),ur.prototype={nodeName:"#cdata-section",nodeType:Ls},Ds(ur,lr),hr.prototype.nodeType=Bs,Ds(hr,Zs),pr.prototype.nodeType=12,Ds(pr,Zs),fr.prototype.nodeType=6,Ds(fr,Zs),mr.prototype.nodeType=Ns,Ds(mr,Zs),gr.prototype.nodeName="#document-fragment",gr.prototype.nodeType=Hs,Ds(gr,Zs),vr.prototype.nodeType=Rs,Ds(vr,Zs),yr.prototype.serializeToString=function(t,e,i){return _r.call(t,e,i)},Zs.prototype.toString=_r;try{Object.defineProperty&&(Is=function t(e){switch(e.nodeType){case Ps:case Hs:var i=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&i.push(t(e)),e=e.nextSibling;return i.join("");default:return e.nodeValue}},Object.defineProperty(Ws.prototype,"length",{get:function(){return Vs(this),this.$$length}}),Object.defineProperty(Zs.prototype,"textContent",{get:function(){return Is(this)},set:function(t){switch(this.nodeType){case Ps:case Hs:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),Tr=function(t,e,i){t["$$"+e]=i})}catch(t){}function Cr(t){return!!t&&"object"==typeof t}function Sr(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];
1return e.reduce(function(e,i){return Object.keys(i).forEach(function(t){Array.isArray(e[t])&&Array.isArray(i[t])?e[t]=e[t].concat(i[t]):Cr(e[t])&&Cr(i[t])?e[t]=Sr(e[t],i[t]):e[t]=i[t]}),e},{})}function xr(t){return t.reduce(function(t,e){return t.concat(e)},[])}function kr(t){if(!t.length)return[];for(var e=[],i=0;i<t.length;i++)e.push(t[i]);return e}function $r(t){var e=void 0===(i=t.baseUrl)?"":i,i=void 0===(n=t.source)?"":n,n=void 0===(n=t.range)?"":n,t=void 0===(t=t.indexRange)?"":t,i={uri:i,resolvedUri:is(e||"",i)};return(n||t)&&(n=(n||t).split("-"),t=parseInt(n[0],10),n=parseInt(n[1],10),i.byterange={length:n-t+1,offset:t}),i}function Er(t){var o,e=void 0===(r=t.type)?"static":r,i=t.duration,n=t.timescale,s=void 0===n?1:n,r=t.sourceDuration,t=function(t,e){for(var i=[],n=t;n<e;n++)i.push(n);return i}((n=ro[e](t)).start,n.end).map((o=t,function(t,e){var i=o.duration,n=o.timescale,s=void 0===n?1:n,r=o.periodIndex,n=o.startNumber;return{number:(void 0===n?1:n)+t,duration:i/s,timeline:r,time:e*i}}));return"static"===e&&(t[e=t.length-1].duration=r-i/s*e),t}function Dr(t){var e=t.baseUrl,i=void 0===(s=t.initialization)?{}:s,n=t.sourceDuration,s=void 0===(r=t.indexRange)?"":r,r=t.duration;if(!e)throw new Error(io);return i=$r({baseUrl:e,source:i.sourceURL,range:i.range}),(s=$r({baseUrl:e,source:e,indexRange:s})).map=i,r?(t=Er(t)).length&&(s.duration=t[0].duration,s.timeline=t[0].timeline):n&&(s.duration=n,s.timeline=0),s.number=0,[s]}function Ir(t){var e;return(e=t.reduce(function(t,e){var i,n=e.attributes.id+(e.attributes.lang||"");return t[n]?(e.segments[0]&&(e.segments[0].discontinuity=!0),(i=t[n].segments).push.apply(i,e.segments),e.attributes.contentProtection&&(t[n].attributes.contentProtection=e.attributes.contentProtection)):t[n]=e,t},{}),Object.keys(e).map(function(t){return e[t]})).map(function(t){var e,n;return t.discontinuityStarts=(e=t.segments,n="discontinuity",e.reduce(function(t,e,i){return e[n]&&t.push(i),t},[])),t})}function Ar(t,e){if(void 0===e&&(e={}),!Object.keys(e).length)return t;for(var i in t){var n=t[i];n.sidx&&(r=e[r=n.sidx.uri+"-"+(s=n.sidx.byterange,r=void 0,r=s.offset+s.length-1,s.offset+"-"+r)]&&e[r].sidx,n.sidx&&r&&function(t,e,i){for(var n=t.sidx.map?t.sidx.map:null,s=t.sidx.duration,r=t.timeline||0,o=t.sidx.byterange,o=o.offset+o.length,a=e.timescale,l=e.references.filter(function(t){return 1!==t.referenceType}),d=[],c=o+e.firstOffset,u=0;u<l.length;u++){var h=e.references[u],p=h.referencedSize,h=h.subsegmentDuration,h=Dr({baseUrl:i,timescale:a,timeline:r,periodIndex:r,duration:h,sourceDuration:s,indexRange:c+"-"+(c+p-1)})[0];n&&(h.map=n),d.push(h),c+=p}t.segments=d}(n,r,n.sidx.resolvedUri))}var s,r;return t}function Pr(t,a){var l;return void 0===a&&(a={}),t=t.reduce(function(t,e){var i,n,s=e.attributes.role&&e.attributes.role.value||"",r=e.attributes.lang||"",o="main";return r&&(n=s?" ("+s+")":"",o=e.attributes.lang+n),t[o]&&t[o].playlists[0].attributes.BANDWIDTH>e.attributes.bandwidth||(t[o]={language:r,autoselect:!0,default:"main"===s,playlists:Ar([(n=(i=e).attributes,o=i.segments,r=i.sidx,o={attributes:((i={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs})["PROGRAM-ID"]=1,i),uri:"",endList:"static"===(n.type||"static"),timeline:n.periodIndex,resolvedUri:"",targetDuration:n.duration,segments:o,mediaSequence:o.length?o[0].number:1},n.contentProtection&&(o.contentProtection=n.contentProtection),r&&(o.sidx=r),o)],a),uri:""},void 0===l&&"main"===s&&((l=e).default=!0)),t},{}),l||(t[Object.keys(t)[0]].default=!0),t}function Mr(t){var e=t.attributes,i=t.segments,n=t.sidx,i={attributes:((t={NAME:e.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:e.width,height:e.height},CODECS:e.codecs,BANDWIDTH:e.bandwidth})["PROGRAM-ID"]=1,t),uri:"",endList:"static"===(e.type||"static"),timeline:e.periodIndex,resolvedUri:"",targetDuration:e.duration,segments:i,mediaSequence:i.length?i[0].number:1};return e.contentProtection&&(i.contentProtection=e.contentProtection),n&&(i.sidx=n),i}function Or(t,e,i){if(void 0===i&&(i={}),!t.length)return{};var n,s=(c=t[0].attributes).sourceDuration,r=void 0===(d=c.type)?"static":d,o=c.suggestedPresentationDelay,a=c.minimumUpdatePeriod,l=Ir(t.filter(function(t){t=t.attributes;return"video/mp4"===t.mimeType||"video"===t.contentType})).map(Mr),d=Ir(t.filter(function(t){t=t.attributes;return"audio/mp4"===t.mimeType||"audio"===t.contentType})),c=t.filter(function(t){t=t.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType}),l={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:((t={AUDIO:{},VIDEO:{}})["CLOSED-CAPTIONS"]={},t.SUBTITLES={},t),uri:"",duration:s,playlists:Ar(l,i)};return 0<=a&&(l.minimumUpdatePeriod=1e3*a),e&&(l.locations=e),"dynamic"===r&&(l.suggestedPresentationDelay=o),d.length&&(l.mediaGroups.AUDIO.audio=Pr(d,i)
1),c.length&&(l.mediaGroups.SUBTITLES.subs=(void 0===(n=i)&&(n={}),c.reduce(function(t,e){var i=e.attributes.lang||"text";return t[i]||(t[i]={language:i,default:!1,autoselect:!1,playlists:Ar([function(t){var e=t.attributes,i=t.segments;void 0===i&&(i=[{uri:e.baseUrl,timeline:e.periodIndex,resolvedUri:e.baseUrl||"",duration:e.sourceDuration,number:0}],e.duration=e.sourceDuration);(t={NAME:e.id,BANDWIDTH:e.bandwidth})["PROGRAM-ID"]=1;return e.codecs&&(t.CODECS=e.codecs),{attributes:t,uri:"",endList:"static"===(e.type||"static"),timeline:e.periodIndex,resolvedUri:e.baseUrl||"",targetDuration:e.duration,segments:i,mediaSequence:i.length?i[0].number:1}}(e)],n),uri:""}),t},{}))),l}function Lr(t,e){for(var i,n,s,r,o,a,l=t.type,d=void 0===l?"static":l,c=void 0===(l=t.minimumUpdatePeriod)?0:l,u=void 0===(l=t.media)?"":l,h=t.sourceDuration,p=void 0===(l=t.timescale)?1:l,f=void 0===(l=t.startNumber)?1:l,m=t.periodIndex,g=[],v=-1,y=0;y<e.length;y++){var _=e[y],b=_.d,w=_.r||0,T=_.t||0;v<0&&(v=T),T&&v<T&&(v=T);var C,S=void 0;S=w<0?(C=y+1)===e.length?"dynamic"===d&&0<c&&0<u.indexOf("$Number$")?(i=v,n=b,a=a=a=_=a=o=r=s=void 0,s=(T=t).NOW,r=T.clientOffset,o=T.availabilityStartTime,a=T.timescale,_=void 0===a?1:a,a=void 0===(a=T.start)?0:a,T=T.minimumUpdatePeriod,a=(s+r)/1e3+(void 0===T?0:T)-(o+a),Math.ceil((a*_-i)/n)):(h*p-v)/b:(e[C].t-v)/b:w+1;for(var x=f+g.length+S,k=f+g.length;k<x;)g.push({number:k,duration:b/p,time:v,timeline:m}),v+=b,k++}return g}function Nr(t,e){return t.replace(oo,(s=e,function(t,e,i,n){if("$$"===t)return"$";if(void 0===s[e])return t;t=""+s[e];return"RepresentationID"===e||(n=i?parseInt(n,10):1)<=t.length?t:new Array(n-t.length+1).join("0")+t}));var s}function Rr(i,t){var n={RepresentationID:i.id,Bandwidth:i.bandwidth||0},e=void 0===(e=i.initialization)?{sourceURL:"",range:""}:e,s=$r({baseUrl:i.baseUrl,source:Nr(e.sourceURL,n),range:e.range});return(e=t,(t=i).duration||e?t.duration?Er(t):Lr(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodIndex}]).map(function(t){n.Number=t.number,n.Time=t.time;var e=Nr(i.media||"",n);return{uri:e,timeline:t.timeline,duration:t.duration,resolvedUri:is(i.baseUrl||"",e),map:s,number:t.number}})}function Fr(n,t){var e=n.duration,i=void 0===(i=n.segmentUrls)?[]:i;if(!e&&!t||e&&t)throw new Error(no);var s,r=i.map(function(t){return i=t,t=(e=n).baseUrl,e=e.initialization,e=$r({baseUrl:t,source:(e=void 0===e?{}:e).sourceURL,range:e.range}),(i=$r({baseUrl:t,source:i.media,range:i.mediaRange})).map=e,i;var e,i});return e&&(s=Er(n)),t&&(s=Lr(n,t)),s.map(function(t,e){if(r[e]){e=r[e];return e.timeline=t.timeline,e.duration=t.duration,e.number=t.number,e}}).filter(function(t){return t})}function jr(t){var e,i=t.attributes,n=t.segmentInfo;n.template?(r=Rr,e=Sr(i,n.template)):n.base?(r=Dr,e=Sr(i,n.base)):n.list&&(r=Fr,e=Sr(i,n.list));var s={attributes:i};if(!r)return s;var r,t=r(e,n.timeline);return e.duration?(i=e.duration,r=void 0===(r=e.timescale)?1:r,e.duration=i/r):t.length?e.duration=t.reduce(function(t,e){return Math.max(t,Math.ceil(e.duration))},0):e.duration=0,s.attributes=e,s.segments=t,n.base&&e.indexRange&&(s.sidx=t[0],s.segments=[]),s}function Br(t,e){return kr(t.childNodes).filter(function(t){return t.tagName===e})}function Hr(t){return t.textContent.trim()}function Ur(t){if(!(s=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t)))return 0;var e=(r=s.slice(1))[0],i=r[1],n=r[2],t=r[3],s=r[4],r=r[5];return 31536e3*parseFloat(e||0)+2592e3*parseFloat(i||0)+86400*parseFloat(n||0)+3600*parseFloat(t||0)+60*parseFloat(s||0)+parseFloat(r||0)}function zr(t){return t&&t.attributes?kr(t.attributes).reduce(function(t,e){var i=ao[e.name]||ao.DEFAULT;return t[e.name]=i(e.value),t},{}):{}}function qr(t,i){return i.length?xr(t.map(function(e){return i.map(function(t){return is(e,Hr(t))})})):t}function Wr(t){var e=Br(t,"SegmentTemplate")[0],i=Br(t,"SegmentList")[0],n=i&&Br(i,"SegmentURL").map(function(t){return Sr({tag:"SegmentURL"},zr(t))}),s=Br(t,"SegmentBase")[0],t=(r=i||e)&&Br(r,"SegmentTimeline")[0],r=(r=i||s||e)&&Br(r,"Initialization")[0];(e=e&&zr(e))&&r?e.initialization=r&&zr(r):e&&e.initialization&&(e.initialization={sourceURL:e.initialization});var o={template:e,timeline:t&&Br(t,"S").map(zr),list:i&&Sr(zr(i),{segmentUrls:n,initialization:zr(r)}),base:s&&Sr(zr(s),{initialization:zr(r)})};
1return Object.keys(o).forEach(function(t){o[t]||delete o[t]}),o}function Vr(a,l,d){return function(t){var e=zr(t),i=qr(l,Br(t,"BaseURL")),n=Br(t,"Role")[0],n={role:zr(n)},e=Sr(a,e,n),n=Br(t,"ContentProtection").reduce(function(t,e){var i=zr(e),n=lo[i.schemeIdUri];return n&&(t[n]={attributes:i},(e=Br(e,"cenc:pssh")[0])&&(e=(e=Hr(e))&&as(e),t[n].pssh=e)),t},{});Object.keys(n).length&&(e=Sr(e,{contentProtection:n}));var s,r,o,n=Wr(t),t=Br(t,"Representation"),n=Sr(d,n);return xr(t.map((s=e,r=i,o=n,function(t){var e=Br(t,"BaseURL"),e=qr(r,e),i=Sr(s,zr(t)),n=Wr(t);return e.map(function(t){return{segmentInfo:Sr(o,n),attributes:Sr(i,{baseUrl:t})}})})))}}function Yr(t,e){void 0===e&&(e={});var i=void 0===(r=(l=e).manifestUri)?"":r,n=l.NOW,s=void 0===n?Date.now():n,r=void 0===(e=l.clientOffset)?0:e;if(!(n=Br(t,"Period")).length)throw new Error(Jr);var o,a,l=Br(t,"Location"),e=zr(t),t=qr([i],Br(t,"BaseURL"));return e.sourceDuration=e.mediaPresentationDuration||0,e.NOW=s,e.clientOffset=r,l.length&&(e.locations=l.map(Hr)),{locations:e.locations,representationInfo:xr(n.map((o=e,a=t,function(t,e){var i=qr(a,Br(t,"BaseURL")),n=zr(t),n=parseInt(n.id,10),e=g.isNaN(n)?e:n,n=Sr(o,{periodIndex:e}),e=Br(t,"AdaptationSet"),t=Wr(t);return xr(e.map(Vr(n,i,t)))})))}}function Gr(t){if(""===t)throw new Error(to);if(!(t=(t=(new Zr).parseFromString(t,"application/xml"))&&"MPD"===t.documentElement.tagName?t.documentElement:null)||t&&0<t.getElementsByTagName("parsererror").length)throw new Error(eo);return t}function Kr(t,e){void 0===e&&(e={});var i=Yr(Gr(t),e),t=i.representationInfo.map(jr);return Or(t,i.locations,e.sidxMapping)}function Xr(t){return function(t){t=Br(t,"UTCTiming")[0];if(!t)return null;t=zr(t);switch(t.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":t.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":t.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":t.method="DIRECT",t.value=Date.parse(t.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(so)}return t}(Gr(t))}var Qr={DOMImplementation:Qs,XMLSerializer:yr},le=i(function(t,e){function i(t){this.options=t||{locator:{}}}function d(){this.cdata=!1}function c(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function u(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function n(t,e,i){return"string"==typeof t?t.substr(e,i):t.length>=e+i||e?new java.lang.String(t,e,i)+"":t}function h(t,e){(t.currentElement?t.currentElement:t.doc).appendChild(e)}i.prototype.parseFromString=function(t,e){var i=this.options,n=new p,s=i.domBuilder||new d,r=i.errorHandler,o=i.locator,a=i.xmlns||{},l={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return o&&s.setDocumentLocator(o),n.errorHandler=function(n,t,s){if(!n){if(t instanceof d)return t;n=t}var r={},o=n instanceof Function;function e(e){var i=n[e];!i&&o&&(i=2==n.length?function(t){n(e,t)}:n),r[e]=i?function(t){i("[xmldom "+e+"]\t"+t+u(s))}:function(){}}return s=s||{},e("warning"),e("error"),e("fatalError"),r}(r,s,o),n.domBuilder=i.domBuilder||s,/\/x?html?$/.test(e)&&(l.nbsp=" ",l.copy="©",a[""]="http://www.w3.org/1999/xhtml"),a.xml=a.xml||"http://www.w3.org/XML/1998/namespace",t?n.parse(t,a,l):n.errorHandler.error("invalid doc source"),s.doc},d.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,i,n){var s=this.doc,r=s.createElementNS(t,i||e),o=n.length;h(this,r),this.currentElement=r,this.locator&&c(this.locator,r);for(var a=0;a<o;a++){var t=n.getURI(a),l=n.getValue(a),i=n.getQName(a),d=s.createAttributeNS(t,i);this.locator&&c(n.getLocator(a),d),d.value=d.nodeValue=l,r.setAttributeNode(d)}},endElement:function(){var t=this.currentElement;t.tagName;this.currentElement=t.parentNode},startPrefixMapping:function(){},endPrefixMapping:function(){},processingInstruction:function(t,e){e=this.doc.createProcessingInstruction(t,e);this.locator&&c(this.locator,e),h(this,e)},ignorableWhitespace:function(){},characters:function(t){var e;(t=n.apply(this,arguments))&&(e=this.cdata?this.doc.createCDATASection(t):this.doc.createTextNode(t),this.currentElement?this.currentElement.appendChild(e):/^\s*$/.test(t)&&this.doc.appendChild(e),this.locator&&c(this.locator,e))},skippedEntity:function(){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t){t=n.apply(this,arguments);t=this.doc.createComment(t);this.locator&&c(this.locator,t),h(this,t)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1}
1,startDTD:function(t,e,i){var n=this.doc.implementation;n&&n.createDocumentType&&(i=n.createDocumentType(t,e,i),this.locator&&c(this.locator,i),h(this,i))},warning:function(t){console.warn("[xmldom warning]\t"+t,u(this.locator))},error:function(t){console.error("[xmldom error]\t"+t,u(this.locator))},fatalError:function(t){throw console.error("[xmldom fatalError]\t"+t,u(this.locator)),t}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(t){d.prototype[t]=function(){return null}});var p=$s.XMLReader,s=e.DOMImplementation=Qr.DOMImplementation;e.XMLSerializer=Qr.XMLSerializer,e.DOMParser=i}),Zr=(le.DOMImplementation,le.XMLSerializer,le.DOMParser),Jr="INVALID_NUMBER_OF_PERIOD",to="DASH_EMPTY_MANIFEST",eo="DASH_INVALID_XML",io="NO_BASE_URL",no="SEGMENT_TIME_UNSPECIFIED",so="UNSUPPORTED_UTC_TIMING_SCHEME",ro={static:function(t){var e=t.duration,i=t.timescale,i=void 0===i?1:i,t=t.sourceDuration;return{start:0,end:Math.ceil(t/(e/i))}},dynamic:function(t){var e=t.NOW,i=t.clientOffset,n=t.availabilityStartTime,s=t.timescale,r=void 0===s?1:s,o=t.duration,a=t.start,s=void 0===a?0:a,a=t.minimumUpdatePeriod,a=void 0===a?0:a,t=t.timeShiftBufferDepth,t=void 0===t?1/0:t,i=(e+i)/1e3,s=n+s,a=i+a-s,a=Math.ceil(a*r/o),t=Math.floor((i-s-t)*r/o),o=Math.floor((i-s)*r/o);return{start:Math.max(0,t),end:Math.min(a,o)}}},oo=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,ao={mediaPresentationDuration:Ur,availabilityStartTime:function(t){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=t)&&(t+="Z"),Date.parse(t)/1e3},minimumUpdatePeriod:Ur,suggestedPresentationDelay:Ur,type:function(t){return t},timeShiftBufferDepth:Ur,start:Ur,width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?Ur(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},lo={"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"},co=function(t){for(var e=new DataView(t.buffer,t.byteOffset,t.byteLength),i={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8),earliestPresentationTime:e.getUint32(12),firstOffset:e.getUint32(16)},n=e.getUint16(22),s=24;n;s+=12,n--)i.references.push({referenceType:(128&t[s])>>>7,referencedSize:2147483647&e.getUint32(s),subsegmentDuration:e.getUint32(s+4),startsWithSap:!!(128&t[s+8]),sapType:(112&t[s+8])>>>4,sapDeltaTime:268435455&e.getUint32(s+8)});return i},qt=i(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function n(t){return t instanceof Uint8Array?t:new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0)}function s(t){if(!t)return"";t=Array.prototype.slice.call(t);var e=String.fromCharCode.apply(null,n(t));try{return decodeURIComponent(escape(e))}catch(t){}return e}function i(t,e){void 0===e&&(e=0);var i=(t=n(t))[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9];return(16&t[e+5])>>4?20+i:10+i}function r(t,e){return void 0===e&&(e=0),(t=n(t)).length-e<10||"ID3"!==s(t.subarray(e,e+3))?e:r(t,e+=i(t,e))}var o={aac:function(t){var e=r(t);return t.length>=e+2&&255==(255&t[e])&&224==(224&t[e+1])&&16==(22&t[e+1])},mp3:function(t){var e=r(t);return t.length>=e+2&&255==(255&t[e])&&224==(224&t[e+1])&&2==(6&t[e+1])},webm:function(t){return 4<=t.length&&26==(255&t[0])&&69==(255&t[1])&&223==(255&t[2])&&163==(255&t[3])},mp4:function(t){return 8<=t.length&&/^(f|s)typ$/.test(s(t.subarray(4,8)))&&!/^ftyp3g$/.test(s(t.subarray(4,10)))},"3gp":function(t){return 10<=t.length&&/^ftyp3g$/.test(s(t.subarray(4,10)))},ts:function(t){if(t.length<189&&1<=t.length)return 71===t[0];for(var e=0;e+188<t.length&&e<188;){if(71===t[e]&&71===t[e+188])return!0;e+=1}return!1},flac:function(t){return 4<=t.length&&/^fLaC$/.test(s(t.subarray(0,4)))},ogg:function(t){return 4<=t.length&&/^OggS$/.test(s(t.subarray(0,4)))}},a=Object.keys(o).filter(function(t){return"ts"!==t}).concat("ts");a.forEach(function(t){var e=o[t];o[t]=function(t){return e(n(t))}});e.detectContainerForBytes=function(t){t=n(t);for(var e=0;e<a.length;e++){var i=a[e];if(o[i](t))return i}return""}
1,e.getId3Offset=r,e.id3Size=i,e.isLikely=o,e.isLikelyFmp4MediaSegment=function(t){t=n(t);for(var e=0;e<t.length;){var i=(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0;if("moof"===s(t.subarray(e+4,e+8)))return!0;0==i||i+e>t.length?e=t.length:e+=i}return!1}});e(qt);var uo=qt.detectContainerForBytes,ho=qt.getId3Offset,po=(qt.id3Size,qt.isLikely,qt.isLikelyFmp4MediaSegment),ni=i(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function o(t){return t instanceof Uint8Array?t:new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0)}e.bytesToString=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var e=String.fromCharCode.apply(null,o(t));try{return decodeURIComponent(escape(e))}catch(t){}return e},e.concatTypedArrays=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=e.reduce(function(t,e){return t+=e&&(e.byteLength||e.length)||0},0),s=new Uint8Array(n),r=0;return e.forEach(function(t){t=o(t),s.set(t,r),r+=t.byteLength}),s},e.isTypedArray=function(t){return ArrayBuffer.isView(t)},e.stringToBytes=function(t,e){void 0===e&&(e=!1);return"string"!=typeof t&&t&&"function"==typeof t.toString&&(t=t.toString()),"string"!=typeof t?[]:(e||(t=unescape(encodeURIComponent(t))),t.split("").map(function(t){return 255&t.charCodeAt(0)}))},e.toUint8=o});e(ni);ni.bytesToString;var fo=ni.concatTypedArrays,mo=(ni.isTypedArray,ni.stringToBytes),go=ni.toUint8,vo=27,yo=15,_o=21,ns=function(){this.init=function(){var r={};this.on=function(t,e){r[t]||(r[t]=[]),r[t]=r[t].concat(e)},this.off=function(t,e){return!!r[t]&&(e=r[t].indexOf(e),r[t]=r[t].slice(),r[t].splice(e,1),-1<e)},this.trigger=function(t){var e,i,n,s=r[t];if(s)if(2===arguments.length)for(i=s.length,e=0;e<i;++e)s[e].call(this,arguments[1]);else{for(n=[],e=arguments.length,e=1;e<arguments.length;++e)n.push(arguments[e]);for(i=s.length,e=0;e<i;++e)s[e].apply(this,n)}},this.dispose=function(){r={}}}};ns.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},ns.prototype.push=function(t){this.trigger("data",t)},ns.prototype.flush=function(t){this.trigger("done",t)},ns.prototype.partialFlush=function(t){this.trigger("partialdone",t)},ns.prototype.endTimeline=function(t){this.trigger("endedtimeline",t)},ns.prototype.reset=function(t){this.trigger("reset",t)};function bo(t,e){var i=1;for(e<t&&(i=-1);4294967296<Math.abs(e-t);)t+=8589934592*i;return t}zt=function t(e){var i,n;t.prototype.init.call(this),this.type_=e||"shared",this.push=function(t){"shared"!==this.type_&&t.type!==this.type_||(void 0===n&&(n=t.dts),t.dts=bo(t.dts,n),t.pts=bo(t.pts,n),i=t.dts,this.trigger("data",t))},this.flush=function(){n=i,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){i=n=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};zt.prototype=new ns;function wo(t){var e=31&t[1];return e<<=8,e|=t[2]}function To(t){return!!(64&t[1])}function Co(t){var e=0;return 1<(48&t[3])>>>4&&(e+=t[4]+1),e}function So(t){switch(t){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}}function xo(t,e){var i=0<=(i=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9])?i:0;return(16&t[e+5])>>4?i+20:i+10}function ko(t,e){return t.length-e<10||t[e]!=="I".charCodeAt(0)||t[e+1]!=="D".charCodeAt(0)||t[e+2]!=="3".charCodeAt(0)?e:ko(t,e+=xo(t,e))}function $o(t){return t[0]<<21|t[1]<<14|t[2]<<7|t[3]}var le={parseType:function(t,e){t=wo(t);return 0===t?"pat":t===e?"pmt":e?"pes":null},parsePat:function(t){var e=To(t),i=4+Co(t);return e&&(i+=t[i]+1),(31&t[i+10])<<8|t[i+11]},parsePmt:function(t){var e={},i=To(t),n=4+Co(t);if(i&&(n+=t[n]+1),1&t[n+5]){for(var s=3+((15&t[n+1])<<8|t[n+2])-4,r=12+((15&t[n+10])<<8|t[n+11]);r<s;){var o=n+r;e[(31&t[o+1])<<8|t[o+2]]=t[o],r+=5+((15&t[o+3])<<8|t[o+4])}return e}},parsePayloadUnitStartIndicator:To,parsePesType:function(t,e){switch(e[wo(t)]){case vo:return"video";case yo:return"audio";case _o:return"timed-metadata";default:return null}},parsePesTime:function(t){if(!To(t))return null;var e=4+Co(t);if(e>=t.byteLength)return null;var i=null,n=t[e+7];return 192&n&&((i={}).pts=(14&t[e+9])<<27|(255&t[e+10])<<20|(254&t[e+11])<<12|(255&t[e+12])<<5|(254&t[e+13])>>>3,i.pts*=4,i.pts+=(6&t[e+13])>>>1,i.dts=i.pts,64&n&&(i.dts=(14&t[e+14])<<27|(255&t[e+15])<<20|(254&t[e+16])<<12|(255&t[e+17])<<5|(254&t[e+18])>>>3,i.dts*=4,i.dts+=(6&t[e+18])>>>1)),i},videoPacketContainsKeyFrame:function(t){for(var e=4+Co(t),i=t.subarray(e),n=0,s=0,r=!1;s<i.byteLength-3;s++)if(1===i[s+2]){n=s+5;break}for(;n<i.byteLength;)switch(i[n]){case 0:if(0!==i[n-1]){n+=2;break}if(0!==i[n-2]){n++;break}for(s+3!==n-2&&"slice_layer_without_partitioning_rbsp_idr"===So(31&i[s+3])&&(r=!0);1!==i[++n]&&n<i.length;);s=n-2,n+=3;break;case 1:if(0!==i[n-1]||0!==i[n-2]){n+=3;break}"slice_layer_without_partitioning_rbsp_idr"===So(31&i[s+3])&&(r=!0),s=n-2,n+=3;break;default:n+=3}return i=i.subarray(s),n-=s,s=0,i&&3<i.byteLength&&"slice_layer_without_partitioning_rbsp_idr"===So(31&i[s+3])&&(r=!0),r}},Eo=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],qt={isLikelyAacData:function(t){var e=ko(t,0);return t.length>=e+2&&255==(255&t[e])&&240==(240&t[e+1])&&16==(22&t[e+1])},parseId3TagSize:xo,parseAdtsSize:function(t,e){var i=(224&t[e+5])>>5,n=t[e+4]<<3;return 6144&t[e+3]|n|i},parseType:function(t,e){return t[e]==="I".charCodeAt(0)&&t[e+1]==="D".charCodeAt(0)&&t[e+2]==="3".charCodeAt(0)?"timed-metadata":!0&t[e]&&240==(240&t[e+1])?"audio":null},parseSampleRate:function(t){for(var e=0;e+5<t.length;){if(255===t[e]&&240==(246&t[e+1]))return Eo[(60&t[e+2])>>>2];e++}return null},parseAacTimestamp:function(t){var e,i,n=10;64&t[5]&&(n+=4,n+=$o(t.subarray(10,14)));do{if((e=$o(t.subarray(n+4,n+8)))<1)return null;if("PRIV"===String.fromCharCode(t[n],t[n+1],t[n+2],t[n+3])){i=t.subarray(n+10,n+e+10);for(var s=0;s<i.byteLength;s++)if(0===i[s]){if("com.apple.streaming.transportStreamTimestamp"!==unescape(function(t,e,
1i){for(var n="",s=e;s<i;s++)n+="%"+("00"+t[s].toString(16)).slice(-2);return n}(i,0,s)))break;var r=i.subarray(s+1),o=(1&r[3])<<30|r[4]<<22|r[5]<<14|r[6]<<6|r[7]>>>2;return o*=4,o+=3&r[7]}}n+=10,n+=e}while(n<t.byteLength);return null}},ni=9e4,Do=ni,Io=bo,Ao={};Ao.ts=le,Ao.aac=qt;function Po(t,e,i){for(var n,s,r,o,a=0,l=188,d=!1;l<=t.byteLength;)if(71!==t[a]||71!==t[l]&&l!==t.byteLength)a++,l++;else{if(n=t.subarray(a,l),"pes"===Ao.ts.parseType(n,e.pid)&&(s=Ao.ts.parsePesType(n,e.table),r=Ao.ts.parsePayloadUnitStartIndicator(n),"audio"===s&&r&&(o=Ao.ts.parsePesTime(n))&&(o.type="audio",i.audio.push(o),d=!0)),d)break;a+=188,l+=188}for(a=(l=t.byteLength)-188,d=!1;0<=a;)if(71!==t[a]||71!==t[l]&&l!==t.byteLength)a--,l--;else{if(n=t.subarray(a,l),"pes"===Ao.ts.parseType(n,e.pid)&&(s=Ao.ts.parsePesType(n,e.table),r=Ao.ts.parsePayloadUnitStartIndicator(n),"audio"===s&&r&&(o=Ao.ts.parsePesTime(n))&&(o.type="audio",i.audio.push(o),d=!0)),d)break;a-=188,l-=188}}function Mo(t){var e,i={pid:null,table:null},n={};for(e in!function(t,e){for(var i,n=0,s=188;s<t.byteLength;)if(71!==t[n]||71!==t[s])n++,s++;else{switch(i=t.subarray(n,s),Ao.ts.parseType(i,e.pid)){case"pat":e.pid||(e.pid=Ao.ts.parsePat(i));break;case"pmt":e.table||(e.table=Ao.ts.parsePmt(i))}if(e.pid&&e.table)return;n+=188,s+=188}}(t,i),i.table){if(i.table.hasOwnProperty(e))switch(i.table[e]){case vo:n.video=[],function(t,e,i){for(var n,s,r,o,a,l,d,c,u=0,h=188,p=!1,f={data:[],size:0};h<t.byteLength;)if(71!==t[u]||71!==t[h])u++,h++;else{if(n=t.subarray(u,h),"pes"===Ao.ts.parseType(n,e.pid))if(s=Ao.ts.parsePesType(n,e.table),r=Ao.ts.parsePayloadUnitStartIndicator(n),"video"===s&&(r&&!p&&(o=Ao.ts.parsePesTime(n))&&(o.type="video",i.video.push(o),p=!0),!i.firstKeyFrame)){if(r&&0!==f.size){for(a=new Uint8Array(f.size),l=0;f.data.length;)d=f.data.shift(),a.set(d,l),l+=d.byteLength;Ao.ts.videoPacketContainsKeyFrame(a)&&((c=Ao.ts.parsePesTime(a))?(i.firstKeyFrame=c,i.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(n),f.size+=n.byteLength}if(p&&i.firstKeyFrame)break;u+=188,h+=188}for(u=(h=t.byteLength)-188,p=!1;0<=u;)if(71!==t[u]||71!==t[h])u--,h--;else{if(n=t.subarray(u,h),"pes"===Ao.ts.parseType(n,e.pid)&&(s=Ao.ts.parsePesType(n,e.table),r=Ao.ts.parsePayloadUnitStartIndicator(n),"video"===s&&r&&(o=Ao.ts.parsePesTime(n))&&(o.type="video",i.video.push(o),p=!0)),p)break;u-=188,h-=188}}(t,i,n),0===n.video.length&&delete n.video;break;case yo:n.audio=[],Po(t,i,n),0===n.audio.length&&delete n.audio}}return n}var Oo=ni,Lo=function(t,e){var i,n,s=(Ao.aac.isLikelyAacData(t)?function(t){for(var e,i=!1,n=0,s=null,r=null,o=0,a=0;3<=t.length-a;){switch(Ao.aac.parseType(t,a)){case"timed-metadata":if(t.length-a<10){i=!0;break}if((o=Ao.aac.parseId3TagSize(t,a))>t.length){i=!0;break}null===r&&(e=t.subarray(a,a+o),r=Ao.aac.parseAacTimestamp(e)),a+=o;break;case"audio":if(t.length-a<7){i=!0;break}if((o=Ao.aac.parseAdtsSize(t,a))>t.length){i=!0;break}null===s&&(e=t.subarray(a,a+o),s=Ao.aac.parseSampleRate(e)),n++,a+=o;break;default:a++}if(i)return null}if(null===s||null===r)return null;var l=Oo/s;return{audio:[{type:"audio",dts:r,pts:r},{type:"audio",dts:r+1024*n*l,pts:r+1024*n*l}]}}:Mo)(t);return s&&(s.audio||s.video)?(t=e,(e=s).audio&&e.audio.length&&(void 0===(i=t)&&(i=e.audio[0].dts),e.audio.forEach(function(t){t.dts=Io(t.dts,i),t.pts=Io(t.pts,i),t.dtsTime=t.dts/Oo,t.ptsTime=t.pts/Oo})),e.video&&e.video.length&&(void 0===(n=t)&&(n=e.video[0].dts),e.video.forEach(function(t){t.dts=Io(t.dts,n),t.pts=Io(t.pts,n),t.dtsTime=t.dts/Oo,t.ptsTime=t.pts/Oo}),e.firstKeyFrame&&((e=e.firstKeyFrame).dts=Io(e.dts,n),e.pts=Io(e.pts,n),e.dtsTime=e.dts/Oo,e.ptsTime=e.dts/Oo)),s):null},ns=function(t){return t>>>0},No=function(t){var e="";return e+=String.fromCharCode(t[0]),e+=String.fromCharCode(t[1]),e+=String.fromCharCode(t[2]),e+=String.fromCharCode(t[3])},Ro=ns,Fo=function t(e,i){var n,s,r,o=[];if(!i.length)return null;for(n=0;n<e.byteLength;)s=Ro(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]),r=No(e.subarray(n+4,n+8)),s=1<s?n+s:e.byteLength,r===i[0]&&(1===i.length?o.push(e.subarray(n+8,s)):(r=t(e.subarray(n+8,s),i.slice(1))).length&&(o=o.c
1oncat(r))),n=s;return o},jo=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),i={version:t[0],flags:new Uint8Array(t.subarray(1,4)),trackId:e.getUint32(4)},n=1&i.flags[2],s=2&i.flags[2],r=8&i.flags[2],o=16&i.flags[2],a=32&i.flags[2],l=65536&i.flags[0],d=131072&i.flags[0],t=8;return n&&(t+=4,i.baseDataOffset=e.getUint32(12),t+=4),s&&(i.sampleDescriptionIndex=e.getUint32(t),t+=4),r&&(i.defaultSampleDuration=e.getUint32(t),t+=4),o&&(i.defaultSampleSize=e.getUint32(t),t+=4),a&&(i.defaultSampleFlags=e.getUint32(t)),l&&(i.durationIsEmpty=!0),!n&&d&&(i.baseDataOffsetIsMoof=!0),i},Bo=function(t){return{isLeading:(12&t[0])>>>2,dependsOn:3&t[0],isDependedOn:(192&t[1])>>>6,hasRedundancy:(48&t[1])>>>4,paddingValue:(14&t[1])>>>1,isNonSyncSample:1&t[1],degradationPriority:t[2]<<8|t[3]}},Ho=function(t){var e,i={version:t[0],flags:new Uint8Array(t.subarray(1,4)),samples:[]},n=new DataView(t.buffer,t.byteOffset,t.byteLength),s=1&i.flags[2],r=4&i.flags[2],o=1&i.flags[1],a=2&i.flags[1],l=4&i.flags[1],d=8&i.flags[1],c=n.getUint32(4),u=8;for(s&&(i.dataOffset=n.getInt32(u),u+=4),r&&c&&(e={flags:Bo(t.subarray(u,u+4))},u+=4,o&&(e.duration=n.getUint32(u),u+=4),a&&(e.size=n.getUint32(u),u+=4),d&&(1===i.version?e.compositionTimeOffset=n.getInt32(u):e.compositionTimeOffset=n.getUint32(u),u+=4),i.samples.push(e),c--);c--;)e={},o&&(e.duration=n.getUint32(u),u+=4),a&&(e.size=n.getUint32(u),u+=4),l&&(e.flags=Bo(t.subarray(u,u+4)),u+=4),d&&(1===i.version?e.compositionTimeOffset=n.getInt32(u):e.compositionTimeOffset=n.getUint32(u),u+=4),i.samples.push(e);return i},Uo=ns,zo=function(t){var e={version:t[0],flags:new Uint8Array(t.subarray(1,4)),baseMediaDecodeTime:Uo(t[4]<<24|t[5]<<16|t[6]<<8|t[7])};return 1===e.version&&(e.baseMediaDecodeTime*=Math.pow(2,32),e.baseMediaDecodeTime+=Uo(t[8]<<24|t[9]<<16|t[10]<<8|t[11])),e},qo=ns,Wo=function(t){return("00"+t.toString(16)).slice(-2)},zt=function(t){return Fo(t,["moov","trak"]).reduce(function(t,e){var i,n,s=Fo(e,["tkhd"])[0];return s?(i=s[0],s=qo(s[n=0===i?12:20]<<24|s[1+n]<<16|s[2+n]<<8|s[3+n]),(e=Fo(e,["mdia","mdhd"])[0])?(n=0===e[0]?12:20,t[s]=qo(e[n]<<24|e[1+n]<<16|e[2+n]<<8|e[3+n]),t):null):null},{})},le=function(n,t){var t=Fo(t,["moof","traf"]),t=[].concat.apply([],t.map(function(i){return Fo(i,["tfhd"]).map(function(t){var e=qo(t[4]<<24|t[5]<<16|t[6]<<8|t[7]),t=n[e]||9e4,e=Fo(i,["tfdt"]).map(function(t){var e=t[0],i=qo(t[4]<<24|t[5]<<16|t[6]<<8|t[7]);return 1===e&&(i*=Math.pow(2,32),i+=qo(t[8]<<24|t[9]<<16|t[10]<<8|t[11])),i})[0];return(e||1/0)/t})})),t=Math.min.apply(null,t);return isFinite(t)?t:0},qt=function(t,e){var i,n,s=Fo(e,["moof","traf"]),r=0,o=0;return s&&s.length&&(i=Fo(s[0],["tfhd"])[0],e=Fo(s[0],["trun"])[0],s=Fo(s[0],["tfdt"])[0],i&&(n=jo(i).trackId),s&&(r=zo(s).baseMediaDecodeTime),!e||(e=Ho(e)).samples&&e.samples.length&&(o=e.samples[0].compositionTimeOffset||0)),(r+o)/(t[n]||9e4)},ni=function(t){var t=Fo(t,["moov","trak"]),n=[];return t.forEach(function(t){var e=Fo(t,["mdia","hdlr"]),i=Fo(t,["tkhd"]);e.forEach(function(t,e){t=No(t.subarray(8,12)),e=i[e];"vide"===t&&(e=0===(e=new DataView(e.buffer,e.byteOffset,e.byteLength)).getUint8(0)?e.getUint32(12):e.getUint32(20),n.push(e))})}),n},Vo=function(t){var e=0===t[0]?12:20;return qo(t[e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])},ns=function(t){var t=Fo(t,["moov","trak"]),o=[];return t.forEach(function(t){var e={},i=Fo(t,["tkhd"])[0];i&&(i=(n=new DataView(i.buffer,i.byteOffset,i.byteLength)).getUint8(0),e.id=0===i?n.getUint32(12):n.getUint32(20));var n=Fo(t,["mdia","hdlr"])[0];n&&(r=No(n.subarray(8,12)),e.type="vide"===r?"video":"soun"===r?"audio":r);var s,r=Fo(t,["mdia","minf","stbl","stsd"])[0];r&&(r=r.subarray(8),e.codec=No(r.subarray(4,8)),(r=Fo(r,[e.codec])[0])&&(/^[a-z]vc[1-9]$/i.test(e.codec)?(s=r.subarray(78),"avcC"===No(s.subarray(4,8))&&11<s.length?(e.codec+=".",e.codec+=Wo(s[9]),e.codec+=Wo(s[10]),e.codec+=Wo(s[11])):e.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(e.codec)&&(s=r.subarray(28),"esds"===No(s.subarray(4,8))&&20<s.length&&0!==s[19]?(e.codec+="."+Wo(s[19]),e.codec+="."+Wo(s[20]>>>2&63).replace(/^0/,"")):e.codec="mp4a.40.2")));t=Fo(t,["mdia","mdhd"])[0];t&&(e.timescale=Vo(t)),o.push(e)}),o},Yo=le,Go=ns,ni=i(function(t,e){function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}
1Object.defineProperty(e,"__esModule",{value:!0});function s(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,function(t,e,i){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(i).toString(16)).slice(-2)}):t}function n(t){return t.map(s)}function r(t){void 0===t&&(t="");var t=t.split(","),s={};return t.forEach(function(n){n=n.trim(),["video","audio"].forEach(function(t){var e,i=d[t].exec(n.toLowerCase());!i||i.length<=1||(e=n.substring(0,i[1].length),i=n.replace(e,""),s[t]={type:e,details:i})})}),s}function o(t){return void 0===t&&(t=""),d.audio.test(t.trim().toLowerCase())}function a(t){if(t&&"string"==typeof t){var e=t.toLowerCase().split(",").map(function(t){return s(t.trim())}),i="video";1===e.length&&o(e[0])&&(i="audio");var n="mp4";return e.every(function(t){return d.mp4.test(t)})?n="mp4":e.every(function(t){return d.webm.test(t)})?n="webm":e.every(function(t){return d.ogg.test(t)})&&(n="ogg"),i+"/"+n+';codecs="'+t+'"'}}var l=i(g),d={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v)/,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)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/};e.DEFAULT_AUDIO_CODEC="mp4a.40.2",e.DEFAULT_VIDEO_CODEC="avc1.4d400d",e.browserSupportsCodec=function(t){return void 0===t&&(t=""),l.default.MediaSource&&l.default.MediaSource.isTypeSupported&&l.default.MediaSource.isTypeSupported(a(t))||!1},e.codecsFromDefault=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var i,n=t.mediaGroups.AUDIO[e];if(!n)return null;for(i in n){var s=n[i];if(s.default&&s.playlists)return r(s.playlists[0].attributes.CODECS)}return null},e.getMimeForCodec=a,e.isAudioCodec=o,e.isVideoCodec=function(t){return void 0===t&&(t=""),d.video.test(t.trim().toLowerCase())},e.mapLegacyAvcCodecs=function(t){return t.replace(/avc1\.(\d+)\.(\d+)/i,function(t){return n([t])[0]})},e.muxerSupportsCodec=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every(function(t){return t=t.trim(),d.muxerVideo.test(t)||d.muxerAudio.test(t)})},e.parseCodecs=r,e.translateLegacyCodec=s,e.translateLegacyCodecs=n});e(ni);function Ko(t,e,i){return t&&i&&i.responseURL&&e!==i.responseURL?i.responseURL:e}function Xo(t,e){return t+"-"+e}function Qo(t){var e=t.manifestString,i=void 0===(i=t.customTagParsers)?[]:i,t=void 0===(t=t.customTagMappers)?[]:t,n=new cs;return i.forEach(function(t){return n.addParser(t)}),t.forEach(function(t){return n.addTagMapper(t)}),n.push(e),n.end(),n.manifest}function Zo(s,r){["AUDIO","SUBTITLES"].forEach(function(t){for(var e in s.mediaGroups[t])for(var i in s.mediaGroups[t][e]){var n=s.mediaGroups[t][e][i];r(n,t,e,i)}})}function Jo(t){var e=t.playlist,i=t.uri,t=t.id;e.id=t,i&&(e.uri=i),e.attributes=e.attributes||{}}function ta(s,t){s.uri=t;for(var e,i,n=0;n<s.playlists.length;n++){s.playlists[n].uri||(e="placeholder-uri-"+n,s.playlists[n].uri=e)}Zo(s,function(t,e,i,n){t.playlists&&t.playlists.length&&!t.playlists[0].uri&&(n=Xo(0,i="placeholder-uri-"+e+"-"+i+"-"+n),t.playlists[0].uri=i,t.playlists[0].id=n,s.playlists[n]=t.playlists[0],s.playlists[i]=t.playlists[0])}),function(t){for(var e=t.playlists.length;e--;){var i=t.playlists[e];Jo({playlist:i,id:Xo(e,i.uri)}),i.resolvedUri=al(t.uri,i.uri),t.playlists[i.id]=i,(t.playlists[i.uri]=i).attributes.BANDWIDTH||ll.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}}(s),Zo(i=s,function(t){t.uri&&(t.resolvedUri=al(i.uri,t.uri))})}function ea(t,e){t.resolvedUri||(t.resolvedUri=al(e,t.uri)),t.key&&!t.key.resolvedUri&&(t.key.resolvedUri=al(e,t.key.uri)),t.map&&!t.map.resolvedUri&&(t.map.resolvedUri=al(e,t.map.uri))}function ia(t,e){var i=dl(t,{});if(!(t=i.playlists[e.id]))return null;if(t.segments&&e.segments&&t.segments.length===e.segments.length&&t.endList===e.endList&&t.mediaSequence===e.mediaSequence)return null;var n=dl(t,e);t.segments&&(n.segments=function(t,e,i){var n=e.slice();i=i||0;for(var s=Math.min(t.length,e.length+i),r=i;r<s;r++)n[r-i]=dl(t[r],n[r-i]);return n}(t.segments,e.segments,e.mediaSequence-t.mediaSequence)),n.segments.forEac
1h(function(t){ea(t,n.resolvedUri)});for(var s=0;s<i.playlists.length;s++)i.playlists[s].id===e.id&&(i.playlists[s]=n);return i.playlists[e.id]=n,i.playlists[e.uri]=n,i}function na(t,e){var i=t.segments[t.segments.length-1];return t=e&&i&&i.duration?1e3*i.duration:500*(t.targetDuration||10)}function sa(t,e){var i,n=[];if(t&&t.length)for(i=0;i<t.length;i++)e(t.start(i),t.end(i))&&n.push([t.start(i),t.end(i)]);return Zn.createTimeRanges(n)}function ra(t,i){return sa(t,function(t,e){return t-.1<=i&&i<=e+.1})}function oa(t,e){return sa(t,function(t){return e<=t-1/30})}function aa(t){var e=[];if(!t||!t.length)return"";for(var i=0;i<t.length;i++)e.push(t.start(i)+" => "+t.end(i));return e.join(", ")}function la(t){for(var e=[],i=0;i<t.length;i++)e.push({start:t.start(i),end:t.end(i)});return e}function da(t,e,i){if(void 0===e&&(e=t.mediaSequence+t.segments.length),e<t.mediaSequence)return 0;var n=function(t,e){var i=0,n=e-t.mediaSequence,s=t.segments[n];if(s){if(void 0!==s.start)return{result:s.start,precise:!0};if(void 0!==s.end)return{result:s.end-s.duration,precise:!0}}for(;n--;){if(void 0!==(s=t.segments[n]).end)return{result:i+s.end,precise:!0};if(i+=s.duration,void 0!==s.start)return{result:i+s.start,precise:!0}}return{result:i,precise:!1}}(t,e);return n.precise?n.result:(e=function(t,e){for(var i,n=0,s=e-t.mediaSequence;s<t.segments.length;s++){if(void 0!==(i=t.segments[s]).start)return{result:i.start-n,precise:!0};if(n+=i.duration,void 0!==i.end)return{result:i.end-n,precise:!0}}return{result:-1,precise:!1}}(t,e)).precise?e.result:n.result+i}function ca(t,e,i){if(!t)return 0;if("number"!=typeof i&&(i=0),void 0===e){if(t.totalDuration)return t.totalDuration;if(!t.endList)return g.Infinity}return da(t,e,i)}
1function ua(t,e,i){var n,s=0;if(i<e&&(e=(n=[i,e])[0],i=n[1]),e<0){for(var r=e;r<Math.min(0,i);r++)s+=t.targetDuration;e=0}for(var o=e;o<i;o++)s+=t.segments[o].duration;return s}function ha(t,e){if(!t.segments.length)return 0;var i=t.segments.length,n=t.segments[i-1].duration||t.targetDuration,s="number"==typeof e?e:n+2*t.targetDuration;if(0===s)return i;for(var r=0;i--&&!(s<=(r+=t.segments[i].duration)););return Math.max(0,i)}function pa(t,e,i,n){return t&&t.segments?t.endList?ca(t):null===e?null:(e=e||0,n=i?ha(t,n):t.segments.length,da(t,t.mediaSequence+n,e)):null}function fa(t){return t.excludeUntil&&t.excludeUntil>Date.now()}function ma(t){return t.excludeUntil&&t.excludeUntil===1/0}function ga(t){var e=fa(t);return!t.disabled&&!e}function va(t,e){return e.attributes&&e.attributes[t]}function ya(t,e){if(1===t.playlists.length)return!0;var i=e.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===t.playlists.filter(function(t){return!!ga(t)&&(t.attributes.BANDWIDTH||0)<i}).length}function _a(t,e,i,n){var s="arraybuffer"===t.responseType?t.response:t.responseText;!e&&s&&(t.responseTime=Date.now(),t.roundTripTime=t.responseTime-t.requestTime,t.bytesReceived=s.byteLength||s.length,t.bandwidth||(t.bandwidth=Math.floor(t.bytesReceived/t.roundTripTime*8*1e3))),i.headers&&(t.responseHeaders=i.headers),e&&"ETIMEDOUT"===e.code&&(t.timedout=!0),e||t.aborted||200===i.statusCode||206===i.statusCode||0===i.statusCode||(e=new Error("XHR Failed with a response of: "+(t&&(s||t.responseText)))),n(e,t)}function ba(){return function t(e,i){e=fl({timeout:45e3},e);var n=t.beforeRequest||Zn.Vhs.xhr.beforeRequest;!n||"function"!=typeof n||(n=n(e))&&(e=n);var s=pl(e,function(t,e){return _a(s,t,e,i)}),r=s.abort;return s.abort=function(){return s.aborted=!0,r.apply(s,arguments)},s.uri=e.uri,s.requestTime=Date.now(),s}}function wa(t){var e,i={};return t.byterange&&(i.Range=(e=t.byterange,t=e.offset+e.length-1,"bytes="+e.offset+"-"+t)),i}function Ta(t,e){return t=t.toString(16),"00".substring(0,2-t.length)+t+(e%2?" ":"")}function Ca(t){return 32<=t&&t<126?String.fromCharCode(t):"."}function Sa(i){var n={};
1return Object.keys(i).forEach(function(t){var e=i[t];ArrayBuffer.isView(e)?n[t]={bytes:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength}:n[t]=e}),n}function xa(t){var e=t.byterange||{length:1/0,offset:0};return[e.length,e.offset,t.resolvedUri].join(",")}function ka(t){return t.resolvedUri}function $a(t){for(var e=Array.prototype.slice.call(t),i="",n=0;n<e.length/16;n++)i+=e.slice(16*n,16*n+16).map(Ta).join("")+" "+e.slice(16*n,16*n+16).map(Ca).join("")+"\n";return i}function Ea(t){var e=t.playlist,i=t.time,n=void 0===i?void 0:i;if(!(i=t.callback))throw new Error("getProgramTime: callback must be provided");return e&&void 0!==n?(t=function(t,e){if(!e||!e.segments||0===e.segments.length)return null;for(var i,n=0,s=0;s<e.segments.length&&!(t<=(n=(i=e.segments[s]).videoTimingInfo?i.videoTimingInfo.transmuxedPresentationEnd:n+i.duration));s++);var r=e.segments[e.segments.length-1];if(r.videoTimingInfo&&r.videoTimingInfo.transmuxedPresentationEnd<t)return null;if(n<t){if(t>n+.25*r.duration)return null;i=r}return{segment:i,estimatedStart:i.videoTimingInfo?i.videoTimingInfo.transmuxedPresentationStart:n-i.duration,type:i.videoTimingInfo?"accurate":"estimate"}}(n,e))?"estimate"===t.type?i({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:t.estimatedStart}):(e={mediaSeconds:n},(t=function(t,e){if(!e.dateTimeObject)return null;var i=e.videoTimingInfo.transmuxerPrependedSeconds,i=t-(e.videoTimingInfo.transmuxedPresentationStart+i);return new Date(e.dateTimeObject.getTime()+1e3*i)}(n,t.segment))&&(e.programDateTime=t.toISOString()),i(null,e)):i({message:"valid programTime was not found"}):i({message:"getProgramTime: playlist and time must be provided"})}function Da(t){var e=t.programTime,i=t.playlist,n=t.retryCount,s=void 0===n?2:n,r=t.seekTo,o=t.pauseAfterSeek,a=void 0===o||o,l=t.tech,d=t.callback;if(!d)throw new Error("seekToProgramTime: callback must be provided");return void 0!==e&&i&&r?i.endList||l.hasStarted_?function(t){if(!t.segments||0===t.segments.length)return!1;for(var e=0;e<t.segments.length;e++){if(!t.segments[e].dateTimeObject)return!1}return!0}(i)?(n=function(t,e){var i;try{i=new Date(t)}catch(t){return null}if(!e||!e.segments||0===e.segments.length)return null;if(i<(s=e.segments[0]).dateTimeObject)return null;for(var n=0;n<e.segments.length-1;n++){var s=e.segments[n];if(i<e.segments[n+1].dateTimeObject)break}var r,o=e.segments[e.segments.length-1],a=o.dateTimeObject,r=o.videoTimingInfo?(r=o.videoTimingInfo).transmuxedPresentationEnd-r.transmuxedPresentationStart-r.transmuxerPrependedSeconds:o.duration+.25*o.duration;return new Date(a.getTime()+1e3*r)<i?null:(a<i&&(s=o),{segment:s,estimatedStart:s.videoTimingInfo?s.videoTimingInfo.transmuxedPresentationStart:hl.duration(e,e.mediaSequence+e.segments.indexOf(s)),type:s.videoTimingInfo?"accurate":"estimate"})}(e,i))?(o=n.segment,t=function(t,e){var i,n;try{i=new Date(t),n=new Date(e)}catch(t){}var s=i.getTime();return(n.getTime()-s)/1e3}(o.dateTimeObject,e),"estimate"===n.type?0===s?d({message:e+" is not buffered yet. Try again"}):(r(n.estimatedStart+t),void l.one("seeked",function(){Da({programTime:e,playlist:i,retryCount:s-1,seekTo:r,pauseAfterSeek:a,tech:l,callback:d})})):(t=o.start+t,l.one("seeked",function(){return d(null,l.currentTime())}),a&&l.pause(),void r(t))):d({message:e+" was not found in the stream"}):d({message:"programDateTime tags must be provided in the manifest "+i.resolvedUri}):d({message:"player must be playing a live stream to start buffering"}):d({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"})}function Ia(t,e){if(4===t.readyState)return e()}function Aa(t,e,s){function n(t,e,i,n){return e.abort(),a=!0,s(t,e,i,n)}function i(t,e){if(!a){if(t)return n(t,e,"",o);var i=e.responseText.substring(o&&o.byteLength||0,e.responseText.length);if(o=fo(o,mo(i,!0)),r=r||ho(o),o.length<10||r&&o.length<r+2)return Ia(e,function(){return n(t,e,"",o)});i=uo(o);return"ts"===i&&o.length<188||!i&&o.length<376?Ia(e,function(){return n(t,e,"",o)}):n(null,e,i,o)}}var r,o=[],a=!1,l=e({uri:t,beforeSend:function(e){e.overrideMimeType("text/plain;
1 charset=x-user-defined"),e.addEventListener("progress",function(t){t.total,t.loaded;return _a(e,null,{statusCode:e.status},i)})}},function(t,e){return _a(l,t,e,i)});return l}function Pa(t){var e=t.masterXml,i=t.srcUrl,n=t.clientOffset,t=t.sidxMapping,t=Kr(e,{manifestUri:i,clientOffset:n,sidxMapping:t});return ta(t,i),t}function Ma(t,e){for(var r=!0,o=ml(t,{duration:e.duration,minimumUpdatePeriod:e.minimumUpdatePeriod}),i=0;i<e.playlists.length;i++){var n=ia(o,e.playlists[i]);n&&(o=n,r=!1)}return Zo(e,function(t,e,i,n){var s;t.playlists&&t.playlists.length&&(s=t.playlists[0].id,(t=ia(o,t.playlists[0]))&&((o=t).mediaGroups[e][i][n].playlists[0]=o.playlists[s],r=!1))}),e.minimumUpdatePeriod!==t.minimumUpdatePeriod&&(r=!1),r?null:o}function Oa(t){var e=t.byterange.offset+t.byterange.length-1;return t.uri+"-"+t.byterange.offset+"-"+e}function La(t,e){var i,n={};for(i in t){var s=t[i].sidx;if(s){var r=Oa(s);if(!e[r])break;var o=e[r].sidxInfo;o=o,s=s,(Boolean(!o.map&&!s.map)||Boolean(o.map&&s.map&&o.map.byterange.offset===s.map.byterange.offset&&o.map.byterange.length===s.map.byterange.length))&&o.uri===s.uri&&o.byterange.offset===s.byterange.offset&&o.byterange.length===s.byterange.length&&(n[r]=e[r])}}return n}function Na(r,t,o,a,e,l){var d={uri:Ko(e.handleManifestRedirects,t.resolvedUri),byterange:t.byterange,playlist:o},c=Zn.mergeOptions(d,{responseType:"arraybuffer",headers:wa(d)});return Aa(d.uri,a,function(t,e,i,n){if(t)return l(t,e);if(!i||"mp4"!==i)return l({status:e.status,message:"Unsupported "+(i||"unknown")+" container type for sidx segment at URL: "+d.uri,response:"",playlist:o,internal:!0,blacklistDuration:1/0,code:2},e);var s=d.byterange,i=s.offset,s=s.length;if(n.length>=s+i)return l(t,{response:n.subarray(i,i+s),status:e.status,uri:e.uri});r.request=a(c,l)})}function Ra(t){for(var e=new Uint8Array(new ArrayBuffer(t.length)),i=0;i<t.length;i++)e[i]=t.charCodeAt(i);return e.buffer}function Fa(t){var i=t.transmuxer,e=t.bytes,n=t.audioAppendStart,s=t.gopsToAlignWith,r=t.isPartial,o=t.remux,a=t.onData,l=t.onTrackInfo,d=t.onAudioTimingInfo,c=t.onVideoTimingInfo,u=t.onVideoSegmentTimingInfo,h=t.onId3,p=t.onCaptions,f=t.onDone,m={isPartial:r,buffer:[]};i.onmessage=function(t){var e;Xa&&("data"===t.data.action&&function(t,e,i){var n=t.data.segment,s=n.type,r=n.initSegment,o=n.captions,a=n.captionStreams,l=n.metadata,d=n.videoFrameDtsTime,n=n.videoFramePtsTime;e.buffer.push({captions:o,captionStreams:a,metadata:l});t=t.data.segment.boxes||{data:t.data.segment.data},r={type:s,data:new Uint8Array(t.data,t.data.byteOffset,t.data.byteLength),initSegment:new Uint8Array(r.data,r.byteOffset,r.byteLength)};void 0!==d&&(r.videoFrameDtsTime=d),void 0!==n&&(r.videoFramePtsTime=n),i(r)}(t,m,a),"trackinfo"===t.data.action&&l(t.data.trackInfo),"gopInfo"===t.data.action&&(m.gopInfo=t.data.gopInfo),"audioTimingInfo"===t.data.action&&d(t.data.audioTimingInfo),"videoTimingInfo"===t.data.action&&c(t.data.videoTimingInfo),"videoSegmentTimingInfo"===t.data.action&&u(t.data.videoSegmentTimingInfo),"id3Frame"===t.data.action&&h([t.data.id3Frame],t.data.id3Frame.dispatchType),"caption"===t.data.action&&p(t.data.caption),"transmuxed"===t.data.type&&(i.onmessage=null,t=(e={transmuxedData:m,callback:f}).transmuxedData,e=e.callback,t.buffer=[],e(t),_l()))},n&&i.postMessage({action:"setAudioAppendStart",appendStart:n}),Array.isArray(s)&&i.postMessage({action:"alignGopsWith",gopsToAlignWith:s}),void 0!==o&&i.postMessage({action:"setRemux",remux:o}),e.byteLength&&(s=e instanceof ArrayBuffer?e:e.buffer,o=e instanceof ArrayBuffer?0:e.byteOffset,i.postMessage({action:"push",data:s,byteOffset:o,byteLength:e.byteLength},[s])),i.postMessage({action:r?"partialFlush":"flush"})}function ja(t,e){t.postMessage({action:e}),_l()}function Ba(t,e){Xa?yl.push(ja.bind(null,e,t)):ja(e,Xa=t)}function Ha(t){Xa?yl.push(t):Fa(Xa=t)}function Ua(t){t.forEach(function(t){t.abort()})}function za(t,e){return e.timedout?{status:e.status,message:"HLS request timed-out at URL: "+e.uri,code:Sl,xhr:e}:e.aborted?{status:e.status,message:"HLS request aborted at URL: "+e.uri,code:xl,xhr:e}:t?{status:e.status,message:"HLS request errored at URL: "+e.uri,code:Cl,xhr:e}:null}function qa(t){var n=t.segment,s=t.finishProcessingFn,r=t.responseType;return function(t,e){var i=e.response,t=za(t,e);if(t)return s(t,n);t="arraybuffer"!==r&&e.responseText?Ra(e.responseText.substring(n.lastReachedChar||0)):e.response;return 0===i.byteLength?s({status:e.status,message:"Empty HLS segment content at URL: "+e.uri,code:Cl,xhr:e},n):(n.stats={bandwidth:(e=e).bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0},n.key?n.encryptedBytes=new Uint8Array(t):n.bytes=new Uint8Array(t),s(null,n))}}function Wa(t){var i=t.segment,e=t.bytes,n=t.isPartial,s=t.trackInfoFn,r=t.timingInfoFn,o=t.videoSegmentTimingInfoFn,a=t.id3Fn,l=t.captionsFn,d=t.dataFn,c=t.doneFn,t=i.map&&i.map.tracks||{},u=Boolean(t.audio&&t.video),h=r.bind(null,i,"audio","start"),p=r.bind(null,i,"audio","end"),f=r.bind(null,i,"video","start"),m=r.bind(null,i,"video","end");n||i.lastReachedChar||(r=function(t,e){t=Lo(t,e*Do);if(!t)return null;e={hasVideo:t.video&&2===t.video.length||!1,hasAudio:t.audio&&2===t.audio.length||!1};return e.hasVideo&&(e.videoStart=t.video[0].ptsTime),e.hasAudio&&(e.audioStart=t.audio[0].ptsTime),e}(e,i.baseStartTime))&&(s(i,{hasAudio:r.hasAudio,hasVideo:r.hasVideo,isMuxed:u}),s=null,r.hasAudio&&!u&&h(r.audioStart),r.hasVideo&&f(r.videoStart),f=h=null),Ha({bytes:e,transmuxer:i.transmuxer,audioAppendStart:i.audioAppendStart,gopsToAlignWith:i.gopsToAlignWith,isPartial:n,remux:u,onData:function(t){t.type="combined"===t.type?"video":t.type,d(i,t)},onTrackInfo:function(t){s&&(u&&(t.isMuxed=!0),s(i,t))},onAudioTimingInfo:function(t){h&&void 0!==t.start&&(h(t.start),h=null),p&&void 0!==t.end&&p(t.end)},onVideoTimingInfo:function(t){f&&void 0!==t.start&&(f(t.start),f=null),m&&void 0!==t.end&&m(t.end)},onVideoSegmentTimingInfo:function(t){o(t)},onId3:function(t,e){a(i,t,e)},onCaptions:function(t){l(i,[t])},onDone:function(t){c&&!n&&(t.type="combined"===t.type?"video":t.type,c(null,i,t))}})}function Va(t){var n=t.segment,s=t.bytes,e=t.isPartial,i=t.trackInfoFn,r=t.timingInfoFn,o=t.videoSegmentTimingInfoFn,a=t.id3Fn,l=t.captionsFn,d=t.dataFn,c=t.doneFn,u=new Uint8Array(s);if(po(u)){n.isFmp4=!0;var h=n.map.tracks,p={isFmp4:!0,hasVideo:!!h.video,hasAudio:!!h.audio};h.audio&&h.audio.codec&&"enca"!==h.audio.codec&&(p.audioCodec=h.audio.codec),h.video&&h.video.codec&&"encv"!==h.video.codec&&(p.videoCodec=h.video.codec),h.video&&h.audio&&(p.isMuxed=!0),i(n,p);var f=Yo(n.map.timescales,u);p.hasAudio&&!p.isMuxed&&r(n,"audio","start",f),p.hasVideo&&r(n,"video","start",f);var m=function(t){d(n,{data:s,type:p.hasAudio&&!p.isMuxed?"audio":"video"}),t&&t.length&&l(n,t),c(null,n,{})};if(!h.video||!s.byteLength||!n.transmuxer)return m(),0;var g=s instanceof ArrayBuffer?s:s.buffer,t=s instanceof ArrayBuffer?0:s.byteOffset,f=function t(e){var i;"mp4Captions"===e.data.action&&(n.transmuxer.removeEventListener("message",t),i=e.data.data,n.bytes=s=new Uint8Array(i,i.byteOffset||0,i.byteLength),m(e.data.captions))};return n.transmuxer.addEventListener("message",f),n.transmuxer.postMessage({action:"pushMp4Captions",timescales:n.map.timescales,trackIds:[h.video.id],data:g,byteOffset:t,byteLength:s.byteLength},[g]),0}if(n.transmuxer){if(void 0===n.container&&(n.container=uo(u)),"ts"!==n.container&&"aac"!==n.container)return i(n,{hasAudio:!1,hasVideo:!1}),c(null,n,{}),0;Wa({segment:n,bytes:s,isPartial:e,trackInfoFn:i,timingInfoFn:r,videoSegmentTimingInfoFn:o,id3Fn:a,captionsFn:l,dataFn:d,doneFn:c})}else c(null,n,{})}function Ya(t){var u=t.activeXhrs,h=t.decryptionWorker,p=t.trackInfoFn,f=t.timingInfoFn,m=t.videoSegmentTimingInfoFn,g=t.id3Fn,v=t.captionsFn,y=t.dataFn,_=t.doneFn,b=0,w=!1;return function(t,e){if(!w){if(t)return w=!0,Ua(u),_(t,e);if((b+=1)===u.length){if(e.endOfAllRequests=Date.now(),e.encryptedBytes)return i=(t={decryptionWorker:h,segment:e,trackInfoFn:p,timingInfoFn:f,videoSegmentTimingInfoFn:m,id3Fn:g,captionsFn:v,dataFn:y,doneFn:_}).decryptionWorker,n=t.segment,s=t.trackInfoFn,r=t.timingInfoFn,o=t.videoSegmentTimingInfoFn,a=t.id3Fn,l=t.captionsFn,d=t.dataFn,c=t.doneFn,t=function t(e){e.data.source===n.requestId&&(i.removeEventListener("message",t),e=e.data.decrypted,n.bytes=new Uint8Array(e.bytes,e.byteOffset,e.byteLength),Va({segment:n,bytes:n.bytes,isPartial:!1,trackInfoFn:s,timingInfoFn:r,videoSegmentTimingInfoFn:o,id3Fn:a,captionsFn:l,dataFn:d,doneFn:c}))},i.addEventListener("message",t),t=n.key.bytes.slice?n.key.bytes.slice():new Uint32Array(Array.prototype.slice.call(n.key.bytes)),void i.postMessage(Sa({source:n.requestId,encrypted:n.encryptedBytes,key:t,iv:n.key.iv}),[n.encryptedBytes.buffer,t.buffer]);Va({segment:e,bytes:e.bytes,isPartial:!1,trackInfoFn:p,timingInfoFn:f,videoSegmentTimingInfoFn:m,id3Fn:g,captionsFn:v,dataFn:y,doneFn:_})}var i,n,s,r,o,a,l,d,c}}}function Ga(t){var n=t.segment,s=t.progressFn,r=t.trackInfoFn,o=t.timingInfoFn,a=t.videoSegmentTimingInfoFn,l=t.id3Fn,d=t.captionsFn,c=t.dataFn,u=t.handlePartialData;return function(t){var e,i=t.target;if(!i.aborted)return u&&!n.key&&i.responseText&&8<=i.responseText.length&&(e=Ra(i.responseText.substring(n.lastReachedChar||0)),!n.lastReachedChar&&po(new Uint8Array(e))||(n.lastReachedChar=i.responseText.length,Va({segment:n,bytes:e,isPartial:!0,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:a,id3Fn:l,captionsFn:d,dataFn:c}))),n.stats=Zn.mergeOptions(n.stats,(e=(i=t).target,(e={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-e.requestTime||0}).bytesReceived=i.loaded,e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3),e)),!n.stats.firstBytesReceivedAt&&n.stats.bytesReceived&&(n.stats.firstBytesReceivedAt=Date.now()),s(t,n)}}function Ka(t){var n,s,e,r,o,i=t.xhr,a=t.xhrOptions,l=t.decryptionWorker,d=t.segment,c=t.abortFn,u=t.progressFn,h=t.trackInfoFn,p=t.timingInfoFn,f=t.videoSegmentTimingInfoFn,m=t.i
1d3Fn,g=t.captionsFn,v=t.dataFn,y=t.doneFn,t=t.handlePartialData,_=[],y=Ya({activeXhrs:_,decryptionWorker:l,trackInfoFn:h,timingInfoFn:p,videoSegmentTimingInfoFn:f,id3Fn:m,captionsFn:g,dataFn:v,doneFn:y});d.key&&!d.key.bytes&&(e=i(Zn.mergeOptions(a,{uri:d.key.resolvedUri,responseType:"arraybuffer"}),(n=d,s=y,function(t,e){var i=e.response,t=za(t,e);if(t)return s(t,n);if(16!==i.byteLength)return s({status:e.status,message:"Invalid HLS key at URL: "+e.uri,code:Cl,xhr:e},n);i=new DataView(i);return n.key.bytes=new Uint32Array([i.getUint32(0),i.getUint32(4),i.getUint32(8),i.getUint32(12)]),s(null,n)})),_.push(e)),d.map&&!d.map.bytes&&(e=i(Zn.mergeOptions(a,{uri:d.map.resolvedUri,responseType:"arraybuffer",headers:wa(d.map)}),(r=(e={segment:d,finishProcessingFn:y}).segment,o=e.finishProcessingFn,function(t,e){var i=e.response,t=za(t,e);if(t)return o(t,r);if(0===i.byteLength)return o({status:e.status,message:"Empty HLS segment content at URL: "+e.uri,code:Cl,xhr:e},r);r.map.bytes=new Uint8Array(e.response);i=uo(r.map.bytes);return"mp4"!==i?o({status:e.status,message:"Found unsupported "+(i||"unknown")+" container for initialization segment at URL: "+e.uri,code:Cl,internal:!0,xhr:e},r):(Go(r.map.bytes).forEach(function(t){r.map.tracks=r.map.tracks||{},r.map.tracks[t.type]||(r.map.tracks[t.type]=t).id&&t.timescale&&(r.map.timescales=r.map.timescales||{},r.map.timescales[t.id]=t.timescale)}),o(null,r))})),_.push(e)),a=Zn.mergeOptions(a,{uri:d.resolvedUri,responseType:"arraybuffer",headers:wa(d)}),t&&(a.responseType="text",a.beforeSend=function(t){t.overrideMimeType("text/plain; charset=x-user-defined")}),(a=i(a,qa({segment:d,finishProcessingFn:y,responseType:a.responseType}))).addEventListener("progress",Ga({segment:d,progressFn:u,trackInfoFn:h,timingInfoFn:p,videoSegmentTimingInfoFn:f,id3Fn:m,captionsFn:g,dataFn:v,handlePartialData:t})),_.push(a);var b={};return _.forEach(function(t){var e,i;t.addEventListener("loadend",(e=(t={loadendState:b,abortFn:c}).loadendState,i=t.abortFn,function(t){t.target.aborted&&i&&!e.calledAbortFn&&(i(),e.calledAbortFn=!0)}))}),function(){return Ua(_)}}var Xa,Qa=ni.DEFAULT_AUDIO_CODEC,Za=ni.DEFAULT_VIDEO_CODEC,Ja=ni.browserSupportsCodec,tl=ni.codecsFromDefault,el=ni.getMimeForCodec,il=ni.isAudioCodec,nl=ni.isVideoCodec,sl=(ni.mapLegacyAvcCodecs,ni.muxerSupportsCodec),rl=ni.parseCodecs,ol=ni.translateLegacyCodec,al=(ni.translateLegacyCodecs,is),ll=Zn.log,dl=Zn.mergeOptions,ns=Zn.EventTarget,cl=function(r){function t(t,e,i){var n;if(void 0===i&&(i={}),n=r.call(this)||this,!t)throw new Error("A non-empty playlist URL or object is required");var s=i.withCredentials,s=void 0!==s&&s,i=i.handleManifestRedirects,i=void 0!==i&&i;n.src=t,n.vhs_=e,n.withCredentials=s,n.handleManifestRedirects=i;e=e.options_;return n.customTagParsers=e&&e.customTagParsers||[],n.customTagMappers=e&&e.customTagMappers||[],n.state="HAVE_NOTHING",n.on("mediaupdatetimeout",function(){"HAVE_METADATA"===n.state&&(n.state="HAVE_CURRENT_METADATA",n.request=n.vhs_.xhr({uri:al(n.master.uri,n.media().uri),withCredentials:n.withCredentials},function(t,e){if(n.request)return t?n.playlistRequestError(n.request,n.media(),"HAVE_METADATA"):void n.haveMetadata({playlistString:n.request.responseText,url:n.media().uri,id:n.media().id})}))}),n}Ht(t,r);var e=t.prototype;return e.playlistRequestError=function(t,e,i){var n=e.uri,e=e.id;this.request=null,i&&(this.state=i),this.error={playlist:this.master.playlists[e],status:t.status,message:"HLS playlist request error at URL: "+n+".",responseText:t.responseText,code:500<=t.status?4:2},this.trigger("error")},e.haveMetadata=function(t){var e=this,i=t.playlistString,n=t.playlistObject,s=t.url,t=t.id;this.request=null,this.state="HAVE_METADATA";i=n||Qo({manifestString:i,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers});Jo({playlist:i,uri:s,id:t});s=ia(this.master,i);this.targetDuration=i.targetDuration,s?(this.master=s,this.media_=this.master.playlists[t]):this.trigger("playlistunchanged"),this.media().endList||(g.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=g.setTimeout(function(){e.trigger("mediaupdatetimeout")},na(this.media(),!!s))),this.trigger("loadedplaylist")},e.dispose=function(){this.trigger("dispose"),this.stopRequest(),g.clearTimeout(this.mediaUpdateTimeout),g.clearTimeout(this.finalRenditionTimeout),this.off()},e.stopRequest=function(){var t;this.request&&(t=this.request,this.request=null,t.onreadystatechange=null,t.abort())},e.media=function(i,t){var n=this;if(!i)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof i){if(!this.master.playlists[i])throw new Error("Unknown playlist URI: "+i);i=this.master.playlists[i]}if(g.clearTimeout(this.finalRenditionTimeout),t){var e=i.targetDuration/2*1e3||5e3;this.finalRenditionTimeout=g.setTimeout(this.media.bind(this,i,!1),e)}else{var s=this.state,e=!this.media_||i.id!==this.media_.id;if(this.master.playlists[i.id].endList||i.endList&&i.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=i,void(e&&(this.trigger("mediachanging"),"HAVE_MASTER"===s?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(e){if(this.state="SWITCHING_MEDIA",this.request){if(i.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.request=this.vhs_.xhr({uri:i.resolvedUri,withCredentials:this.withCredentials},function(t,e){if(n.request){if(i.resolvedUri=Ko(n.handleManifestRedirects,i.resolvedUri,e),t)return n.playlistRequestError(n.request,i,s);n.haveMetadata({playlistString:e.responseText,url:i.uri,id:i.id}),"HAVE_MASTER"===s?n.trigger("loadedmetadata"):n.trigger("mediachange")}})}}},e.pause=function(){this.stopRequest(),g.clearTimeout(this.mediaUpdateTimeout),"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")},e.load=function(t){var e=this;g.clearTimeout(this.mediaUpdateTimeout);var i=this.media();
1t?(t=i?i.targetDuration/2*1e3:5e3,this.mediaUpdateTimeout=g.setTimeout(function(){return e.load()},t)):this.started?i&&!i.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},e.start=function(){var i=this;if(this.started=!0,"object"==typeof this.src)return this.src.uri||(this.src.uri=g.location.href),this.src.resolvedUri=this.src.uri,void setTimeout(function(){i.setupInitialPlaylist(i.src)},0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},function(t,e){if(i.request){if(i.request=null,t)return i.error={status:e.status,message:"HLS playlist request error at URL: "+i.src+".",responseText:e.responseText,code:2},"HAVE_NOTHING"===i.state&&(i.started=!1),i.trigger("error");i.src=Ko(i.handleManifestRedirects,i.src,e);e=Qo({manifestString:e.responseText,customTagParsers:i.customTagParsers,customTagMappers:i.customTagMappers});i.setupInitialPlaylist(e)}})},e.srcUri=function(){return"string"==typeof this.src?this.src:this.src.uri},e.setupInitialPlaylist=function(t){if(this.state="HAVE_MASTER",t.playlists)return this.master=t,ta(this.master,this.srcUri()),t.playlists.forEac
1h(function(e){e.segments&&e.segments.forEach(function(t){ea(t,e.resolvedUri)})}),this.trigger("loadedplaylist"),void(this.request||this.media(this.master.playlists[0]));var e,i,n,s=this.srcUri()||g.location.href;this.master=(i=Xo(0,e=s),(n={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:g.location.href,resolvedUri:g.location.href,playlists:[{uri:e,id:i,resolvedUri:e,attributes:{}}]}).playlists[i]=n.playlists[0],n.playlists[e]=n.playlists[0],n),this.haveMetadata({playlistObject:t,url:s,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},t}(ns),ul=Zn.createTimeRange,hl={duration:ca,seekable:function(t,e,i){var n=e||0,i=pa(t,e,!0,i);return null===i?ul():ul(n,i)},safeLiveIndex:ha,getMediaInfoForTime:function(t,e,i,n){var s,r=t.segments.length,o=e-n;if(o<0){if(0<i)for(s=i-1;0<=s;s--)if(0<(o+=t.segments[s].duration+1/30))return{mediaIndex:s,startTime:n-ua(t,i,s)};return{mediaIndex:0,startTime:e}}if(i<0){for(s=i;s<0;s++)if((o-=t.targetDuration)<0)return{mediaIndex:0,startTime:e};i=0}for(s=i;s<r;s++)if((o-=t.segments[s].duration+1/30)<0)return{mediaIndex:s,startTime:n+ua(t,i,s)};return{mediaIndex:r-1,startTime:e}},isEnabled:ga,isDisabled:function(t){return t.disabled},isBlacklisted:fa,isIncompatible:ma,playlistEnd:pa,isAes:function(t){for(var e=0;e<t.segments.length;e++)if(t.segments[e].key)return!0;return!1},hasAttribute:va,estimateSegmentRequestTime:function(t,e,i,n){return void 0===n&&(n=0),va("BANDWIDTH",i)?(t*i.attributes.BANDWIDTH-8*n)/e:NaN},isLowestEnabledRendition:ya},pl=Zn.xhr,fl=Zn.mergeOptions,ni=Object.freeze({__proto__:null,createTransferableMessage:Sa,initSegmentId:xa,segmentKeyId:ka,hexDump:$a,tagDump:function(t){t=t.bytes;return $a(t)},textRanges:function(t){for(var e,i,n="",s=0;s<t.length;s++)n+=(i=s,(e=t).start(i)+"-"+e.end(i)+" ");return n}}),ns=Zn.EventTarget,ml=Zn.mergeOptions,gl=function(o){function t(t,e,i,n){var s;void 0===i&&(i={}),s=o.call(this)||this;var r=i.withCredentials,r=void 0!==r&&r,i=i.handleManifestRedirects,i=void 0!==i&&i;if(s.vhs_=e,s.withCredentials=r,s.handleManifestRedirects=i,!t)throw new Error("A non-empty playlist URL or object is required");return s.on("minimumUpdatePeriod",function(){s.refreshXml_()}),s.on("mediaupdatetimeout",function(){s.refreshMedia_(s.media().id)}),s.state="HAVE_NOTHING",s.loadedPlaylists_={},"string"==typeof t?(s.srcUrl=t,s.sidxMapping_={},Bt(s)):(s.setupChildLoader(n,t),s)}Ht(t,o);var e=t.prototype;return e.setupChildLoader=function(t,e){this.masterPlaylistLoader_=t,this.childPlaylist_=e},e.dispose=function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},g.clearTimeout(this.minimumUpdatePeriodTimeout_),g.clearTimeout(this.mediaRequest_),g.clearTimeout(this.mediaUpdateTimeout),this.off()},e.hasPendingRequest=function(){return this.request||this.mediaRequest_},e.stopRequest=function(){var t;this.request&&(t=this.request,this.request=null,t.onreadystatechange=null,t.abort())},e.sidxRequestFinished_=function(i,n,s,r){var o=this;return function(t,e){if(o.request){if(o.request=null,t)return o.error="object"==typeof t?t:{status:e.status,message:"DASH playlist request error at URL: "+i.uri,response:e.response,code:2},s&&(o.state=s),void o.trigger("error");e=go(e.response),e=co(e.subarray(8));return r(n,e)}}},e.media=function(i){var n=this;if(!i)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var s=this.state;if("string"==typeof i){if(!this.master.playlists[i])throw new Error("Unknown playlist URI: "+i);i=this.master.playlists[i]}var t,r,o,e=!this.media_||i.id!==this.media_.id;if(e&&this.loadedPlaylists_[i.id]&&this.loadedPlaylists_[i.id].endList)return this.state="HAVE_METADATA",this.media_=i,void(e&&(this.trigger("mediachanging"),this.trigger("mediachange")));e&&(this.media_&&this.trigger("mediachanging"),i.sidx?(r=this.masterPlaylistLoader_?(t=this.masterPlaylistLoader_.master,this.masterPlaylistLoader_.sidxMapping_):(t=this.master,this.sidxMapping_),o=Oa(i.sidx),r[o]={sidxInfo:i.sidx},this.request=Na(this,i.sidx,i,this.vhs_.xhr,{handleManifestRedirects:this.handleManifestRedirects},this.sidxRequestFinished_(i,t,s,function(t,e){if(!t||!e)throw new Error("failed to request sidx");r[o].sidx=e,n.haveMetadata({startingState:s,playlist:t.playlists[i.id]})}))):this.mediaRequest_=g.setTimeout(this.haveMetadata.bind(this,{startingState:s,playlist:i}),0))},e.haveMetadata=function(t){var e=t.startingState,t=t.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[t.id]=t,this.mediaRequest_=null,this.refreshMedia_(t.id),"HAVE_MASTER"===e?this.trigger("loadedmetadata"):this.trigger("mediachange")},e.pause=function(){this.stopRequest(),g.clearTimeout(this.mediaUpdateTimeout),g.clearTimeout(this.minimumUpdatePeriodTimeout_),"HAVE_NOTHING"===this.state&&(this.started=!1)},e.load=function(t){var e=this;g.clearTimeout(this.mediaUpdateTimeout),g.clearTimeout(this.minimumUpdatePeriodTimeout_);var i=this.media();
1t?(t=i?i.targetDuration/2*1e3:5e3,this.mediaUpdateTimeout=g.setTimeout(function(){return e.load()},t)):this.started?i&&!i.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},e.start=function(){var i=this;this.started=!0,this.masterPlaylistLoader_?this.mediaRequest_=g.setTimeout(this.haveMaster_.bind(this),0):this.request=this.vhs_.xhr({uri:this.srcUrl,withCredentials:this.withCredentials},function(t,e){if(i.request){if(i.request=null,t)return i.error={status:e.status,message:"DASH playlist request error at URL: "+i.srcUrl,responseText:e.responseText,code:2},"HAVE_NOTHING"===i.state&&(i.started=!1),i.trigger("error");i.masterXml_=e.responseText,e.responseHeaders&&e.responseHeaders.date?i.masterLoaded_=Date.parse(e.responseHeaders.date):i.masterLoaded_=Date.now(),i.srcUrl=Ko(i.handleManifestRedirects,i.srcUrl,e),i.syncClientServerClock_(i.onClientServerClockSync_.bind(i))}})},e.syncClientServerClock_=function(i){var n=this,s=Xr(this.masterXml_);return null===s?(this.clientOffset_=this.masterLoaded_-Date.now(),i()):"DIRECT"===s.method?(this.clientOffset_=s.value-Date.now(),i()):void(this.request=this.vhs_.xhr({uri:al(this.srcUrl,s.value),method:s.method,withCredentials:this.withCredentials},function(t,e){if(n.request){if(t)return n.clientOffset_=n.masterLoaded_-Date.now(),i();e="HEAD"===s.method?e.responseHeaders&&e.responseHeaders.date?Date.parse(e.responseHeaders.date):n.masterLoaded_:Date.parse(e.responseText);n.clientOffset_=e-Date.now(),i()}}))},e.haveMaster_=function(){this.state="HAVE_MASTER",this.mediaRequest_=null,this.masterPlaylistLoader_?this.media_||this.media(this.childPlaylist_):(this.updateMainManifest_(Pa({masterXml:this.masterXml_,srcUrl:this.srcUrl,clientOffset:this.clientOffset_,sidxMapping:this.sidxMapping_})),this.trigger("loadedplaylist"))},e.updateMinimumUpdatePeriodTimeout_=function(){var e=this;g.clearTimeout(this.minimumUpdatePeriodTimeout_);function t(t){e.minimumUpdatePeriodTimeout_=g.setTimeout(function(){e.trigger("minimumUpdatePeriod")},t)}var i=this.master&&this.master.minimumUpdatePeriod;0<i?t(i):0===i&&(this.media()?t(1e3*this.media().targetDuration):this.one("loadedplaylist",function(){t(1e3*e.media().targetDuration)}))},e.onClientServerClockSync_=function(){this.haveMaster_(),this.hasPendingRequest()||this.media_||this.media(this.master.playlists[0]),this.updateMinimumUpdatePeriodTimeout_()},e.updateMainManifest_=function(t){this.master=t,this.master.locations&&this.master.locations.length&&((t=this.master.locations[0])!==this.srcUrl&&(this.srcUrl=t))},e.refreshXml_=function(){var o=this;this.request=this.vhs_.xhr({uri:this.srcUrl,withCredentials:this.withCredentials},function(t,e){if(o.request){if(o.request=null,t)return o.error={status:e.status,message:"DASH playlist request error at URL: "+o.srcUrl,responseText:e.responseText,code:2},"HAVE_NOTHING"===o.state&&(o.started=!1),o.trigger("error");var s,r;o.masterXml_=e.responseText,o.sidxMapping_=(n=o.masterXml_,t=o.srcUrl,e=o.clientOffset_,s=o.sidxMapping_,e=Kr(n,{manifestUri:t,clientOffset:e}),r=La(e.playlists,s),Zo(e,function(t,e,i,n){t.playlists&&t.playlists.length&&(t=t.playlists,r=ml(r,La(t,s)))}),r);var i,n=Pa({masterXml:o.masterXml_,srcUrl:o.srcUrl,clientOffset:o.clientOffset_,sidxMapping:o.sidxMapping_}),t=Ma(o.master,n),e=o.media().sidx;t&&(e?(i=Oa(e),o.sidxMapping_[i]||(e=o.media(),o.request=Na(o,e.sidx,e,o.vhs_.xhr,{handleManifestRedirects:o.handleManifestRedirects},o.sidxRequestFinished_(e,n,o.state,function(t,e){if(!t||!e)throw new Error("failed to request sidx on minimumUpdatePeriod");o.sidxMapping_[i].sidx=e,o.updateMinimumUpdatePeriodTimeout_(),o.refreshMedia_(o.media().id)})))):(o.updateMainManifest_(t),o.media_&&(o.media_=o.master.playlists[o.media_.id]))),o.updateMinimumUpdatePeriodTimeout_()}})},e.refreshMedia_=function(t){var e,i=this;if(!t)throw new Error("refreshMedia_ must take a media id");n=this.masterPlaylistLoader_?(e=this.masterPlaylistLoader_.master,Pa({masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_})):(e=this.master,Pa({masterXml:this.masterXml_,srcUrl:this.srcUrl,clientOffset:this.clientOffset_,sidxMapping:this.sidxMapping_}));var n=Ma(e,n);n?(this.masterPlaylistLoader_?this.masterPlaylistLoader_.master=n:this.master=n,this.media_=n.playlists[t]):(this.media_=e.playlists[t],this.trigger("playlistunchanged")),this.media().endList||(this.mediaUpdateTimeout=g.setTimeout(function(){i.trigger("mediaupdatetimeout")},na(this.media(),!!n))),this.trigger("loadedplaylist")},t}(ns),vl={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,BUFFER_LOW_WATER_LINE_RATE:1},yl=[],_l=function(){Xa=null,yl.length&&("function"==typeof(Xa=yl.shift())?Xa():Fa(Xa))},bl=function(t){Ba("reset",t)},wl=function(){Xa=null,yl.length=0},Tl=function(t){Ba("endTimeline",t)},Cl=2,Sl=-101,xl=-102,ns="undefined"!=typeof window?window:{},kl="undefined"==typeof Symbol?"__target":Symbol(),$l="application/javascript",El=ns.BlobBuilder||ns.WebKitBlobBuilder||ns.MozBlobBuilder||ns.MSBlobBuilder,Dl=ns.URL||ns.webkitURL||Dl&&Dl.msURL,Il=ns.Worker;function Al(n,s){return function(t){var e=this;if(!s)return new Il(n);if(Il&&!t){t=Ll(s.toString().replace(/^function.+?{/,"").slice(0,-1));return this[kl]=new Il(t),function(t,e){if(!t||!e)return;var i=t.terminate;t.objURL=e,t.terminate=function(){t.objURL&&Dl.revokeObjectURL(t.objURL),i.call(t)}}(this[kl],t),this[kl]}var i={postMessage:function(t){e.onmessage&&setTimeout(function(){e.onmessage({data:t,target:i})})}};s.call(i),this.postMessage=function(t){setTimeout(function(){i.onmessage({data:t,target:e})})},this.isThisThread=!0}}if(Il){var Pl,Ml=Ll("self.onmessage = function () {}"),Ol=new Uint8Array(1);try{(Pl=new Il(Ml)).postMessage(Ol,[Ol.buffer])}catch(t){Il=null}finally{Dl.revokeObjectURL(Ml),Pl&&Pl.terminate()}}function Ll(e){try{return Dl.createObjectURL(new Blob([e],{type:$l}))}catch(t){var i=new El;return i.append(e),Dl.createObjectURL(i.getBlob(type))}}function Nl(t,e){return e=e.attributes||{},t&&t.mediaGroups&&t.mediaGroups.AUDIO&&e.AUDIO&&t.mediaGroups.AUDIO[e.AUDIO]}function Rl(t,e){var i=e.attributes||{},n=function(t){t=t.attributes||{};if(t.CODECS)return rl(t.CODECS)}(e)||{};Nl(t,e)&&!n.audio&&!function(t,e){if(!Nl(t,e))return!0;var i,e=e.attributes||{},n=t.mediaGroups.AUDIO[e.AUDIO];for(i in n)if(!n[i].uri&&!n[i].playlists)return!0;return!1}(t,e)&&(s=tl(t,i.AUDIO))&&(n.audio=s.audio);var s={};return n.video&&(s.video=ol(""+n.video.type+n.video.details)),n.audio&&(s.audio=ol(""+n.audio.type+n.audio.details)),s}function Fl(t){return Zn.log.debug?Zn.log.debug.bind(Zn,"VHS:",t+" >"):function(){}}function jl(t){if(t&&t.playlist){var e=t.playlist;return JSON.stringify({id:e.id,bandwidth:t.bandwidth,width:t.width,height:t.height,codecs:e.attributes&&e.attributes.CODECS||""})}}function Bl(t,e){return(t=t&&g.getComputedStyle(t))?t[e]:""}function Hl(t,n){var s=t.slice();t.sort(function(t,e){var i=n(t,e);return 0===i?s.indexOf(t)-s.indexOf(e):i})}function Ul(t,e){var i,n;return t.attributes.BANDWIDTH&&(i=t.attributes.BANDWIDTH),i=i||g.Number.MAX_VALUE,e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),i-(n=n||g.Number.MAX_VALUE)}
vendor: 5,468 bytes, line 1
1function zl(t){var e=t.inbandTextTracks,i=t.metadataArray,s=t.timestampOffset,n=t.videoDuration;if(i){var r=g.WebKitDataCue||g.VTTCue,o=e.metadataTrack_;if(o&&(i.forEach(function(t){var n=t.cueTime+s;!("number"!=typeof n||g.isNaN(n)||n<0)&&n<1/0&&t.frames.forEach(function(t){var e,i=new r(n,n,t.value||t.url||t.data||"");i.frame=t,i.value=t,e=i,Object.defineProperties(e.frame,{id:{get:function(){return Zn.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return Zn.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return Zn.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}}),o.addCue(i)})}),o.cues&&o.cues.length)){for(var a=o.cues,l=[],d=0;d<a.length;d++)a[d]&&l.push(a[d]);var c=l.reduce(function(t,e){var i=t[e.startTime]||[];return i.push(e),t[e.startTime]=i,t},{}),u=Object.keys(c).sort(function(t,e){return Number(t)-Number(e)});u.forEach(function(t,e){var t=c[t],i=Number(u[e+1])||n;t.forEach(function(t){t.endTime=i})})}}}function ql(t,e,i){var n,s;if(i&&i.cues)for(n=i.cues.length;n--;)(s=i.cues[n]).startTime>=t&&s.endTime<=e&&i.removeCue(s)}function Wl(t){return"number"==typeof t&&isFinite(t)}function Vl(t){return t+"TimingInfo"}function Yl(t){var e=t.segmentTimeline,i=t.currentTimeline,n=t.startOfSegment,s=t.buffered;return t.overrideCheck||e!==i?s.length?s.end(s.length-1):n:null}function Gl(t){var e=t.timelineChangeController,i=t.currentTimeline,n=t.segmentTimeline,s=t.loaderType,t=t.audioDisabled;if(i!==n){if("audio"===s){i=e.lastTimelineChange({type:"main"});return!i||i.to!==n}if("main"===s&&t){e=e.pendingTimelineChange({type:"audio"});return e&&e.to===n?!1:!0}}}var Kl=new Al("./transmuxer-worker.worker.js",function(t,e){var Ue=this;!function(){var t=function(){this.init=function(){var r={};this.on=function(t,e){r[t]||(r[t]=[]),r[t]=r[t].concat(e)},this.off=function(t,e){return!!r[t]&&(e=r[t].indexOf(e),r[t]=r[t].slice(),r[t].splice(e,1),-1<e)},this.trigger=function(t){var e,i,n,s=r[t];if(s)if(2===arguments.length)for(i=s.length,e=0;e<i;++e)s[e].call(this,arguments[1]);else{for(n=[],e=arguments.length,e=1;e<arguments.length;++e)n.push(arguments[e]);for(i=s.length,e=0;e<i;++e)s[e].apply(this,n)}},this.dispose=function(){r={}}}};t.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},t.prototype.push=function(t){this.trigger("data",t)},t.prototype.flush=function(t){this.trigger("done",t)},t.prototype.partialFlush=function(t){this.trigger("partialdone",t)},t.prototype.endTimeline=function(t){this.trigger("endedtimeline",t)},t.prototype.reset=function(t){this.trigger("reset",t)};var l,e,i,n,s,r,o,a,d,c,u,h,p,f,m,g,v,y,_,b,w,T,C,S,x,k,$,E,D,I,A,P,M,O,L,N,R,F,j,B=t,H=Math.pow(2,32)-1;!function(){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(var t in w)w.hasOwnProperty(t)&&(w[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);T=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),S=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),C=new Uint8Array([0,0,0,1]),x=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]),k=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]),$={video:x,audio:k},I=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),D=new Uint8Array([0,0,0,0,0,0,0,0]),A=new Uint8Array([0,0,0,0,0,0,0,0]),P=A,M=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),O=A,E=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),l=function(t){for(var e,i=[],n=0,s=1;s<arguments.length;s++)i.push(arguments[s]);for(s=i.length;s--;)n+=i[s].byteLength;for(e=new Uint8Array(n+8),new DataView(e.buffer,e.byteOffset,e.byteLength).setUint32(0,e.byteLength),e.set(t,4),s=0,n=8;s<i.length;s++)e.set(i[s],n),n+=i[s].byteLength;return e},e=function(){return l(w.dinf,l(w.dref,I))},i=function(t){return l(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,t.audioobjecttype<<3|t.samplingfrequencyindex>>>1,t.samplingfrequencyindex<<7|t.channelcount<<3,6,1,2]))},f=function(t){return l(w.hdlr,$[t])},p=function(t){var e=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,t.duration>>>24&255,t.duration>>>16&255,t.duration>>>8&255,255&t.duration,85,196,0,0]);return t.samplerate&&(e[12]=t.samplerate>>>24&255,e[13]=t.samplerate>>>16&255,e[14]=t.samplerate>>>8&255,e[15]=255&t.samplerate),l(w.mdhd,e)},h=function(t){return l(w.mdia,p(t),f(t.type),r(t))},s=function(t){return l(w.mfhd,new Uint8Array([0,0,0,0,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t]))},r=function(t){return l(w.minf,"video"===t.type?l(w.vmhd,E):l(w.smhd,D),e(),g(t))},Nt=function(t,e){for(var i=[],n=e.length;n--;)i[n]=y(e[n]);return l.apply(null,[w.moof,s(t)].concat(i))},o=function(t){for(var e=t.length,i=[];e--;)i[e]=c(t[e]);
vendor: 5,561 bytes, line 1
1return l.apply(null,[w.moov,d(4294967295)].concat(i).concat(a(t)))},a=function(t){for(var e=t.length,i=[];e--;)i[e]=_(t[e]);return l.apply(null,[w.mvex].concat(i))},d=function(t){t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t,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 l(w.mvhd,t)},m=function(t){for(var e,i=t.samples||[],n=new Uint8Array(4+i.length),s=0;s<i.length;s++)e=i[s].flags,n[s+4]=e.dependsOn<<4|e.isDependedOn<<2|e.hasRedundancy;return l(w.sdtp,n)},g=function(t){return l(w.stbl,v(t),l(w.stts,O),l(w.stsc,P),l(w.stsz,M),l(w.stco,A))},v=function(t){return l(w.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),("video"===t.type?L:N)(t))},L=function(t){for(var e,i,n=t.sps||[],s=t.pps||[],r=[],o=[],a=0;a<n.length;a++)r.push((65280&n[a].byteLength)>>>8),r.push(255&n[a].byteLength),r=r.concat(Array.prototype.slice.call(n[a]));for(a=0;a<s.length;a++)o.push((65280&s[a].byteLength)>>>8),o.push(255&s[a].byteLength),o=o.concat(Array.prototype.slice.call(s[a]));return e=[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&t.width)>>8,255&t.width,(65280&t.height)>>8,255&t.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]),l(w.avcC,new Uint8Array([1,t.profileIdc,t.profileCompatibility,t.levelIdc,255].concat([n.length],r,[s.length],o))),l(w.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],t.sarRatio&&(i=t.sarRatio[0],t=t.sarRatio[1],e.push(l(w.pasp,new Uint8Array([(4278190080&i)>>24,(16711680&i)>>16,(65280&i)>>8,255&i,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t])))),l.apply(null,e)},N=function(t){return l(w.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&t.channelcount)>>8,255&t.channelcount,(65280&t.samplesize)>>8,255&t.samplesize,0,0,0,0,(65280&t.samplerate)>>8,255&t.samplerate,0,0]),i(t))},u=function(t){t=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,0,(4278190080&t.duration)>>24,(16711680&t.duration)>>16,(65280&t.duration)>>8,255&t.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&t.width)>>8,255&t.width,0,0,(65280&t.height)>>8,255&t.height,0,0]);return l(w.tkhd,t)},y=function(t){var e,i=l(w.tfhd,new Uint8Array([0,0,0,58,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),n=Math.floor(t.baseMediaDecodeTime/(1+H)),s=Math.floor(t.baseMediaDecodeTime%(1+H)),n=l(w.tfdt,new Uint8Array([1,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n,s>>>24&255,s>>>16&255,s>>>8&255,255&s]));return"audio"===t.type?(e=b(t,92),l(w.traf,i,n,e)):(s=m(t),e=b(t,s.length+92),l(w.traf,i,n,e,s))},c=function(t){return t.duration=t.duration||4294967295,l(w.trak,u(t),h(t))},_=function(t){var e=new Uint8Array([0,0,0,0,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==t.type&&(e[e.length-1]=0),l(w.trex,e)},R=function(t,e){var i=0,n=0,s=0,r=0;return t.length&&(void 0!==t[0].duration&&(i=1),void 0!==t[0].size&&(n=2),void 0!==t[0].flags&&(s=4),void 0!==t[0].compositionTimeOffset&&(r=8)),[0,0,i|n|s|r,1,(4278190080&t.length)>>>24,(16711680&t.length)>>>16,(65280&t.length)>>>8,255&t.length,(4278190080&e)>>>24,(16711680&e)>>>16,(65280&e)>>>8,255&e]},F=function(t,e){var i,n,s,r,o=t.samples||[],e=R(o,e+=20+16*o.length);for((n=new Uint8Array(e.length+16*o.length)).set(e),i=e.length,r=0;r<o.length;r++)s=o[r],n[i++]=(4278190080&s.duration)>>>24,n[i++]=(16711680&s.duration)>>>16,n[i++]=(65280&s.duration)>>>8,n[i++]=255&s.duration,n[i++]=(4278190080&s.size)>>>24,n[i++]=(16711680&s.size)>>>16,n[i++]=(65280&s.size)>>>8,n[i++]=255&s.size,n[i++]=s.flags.isLeading<<2|s.flags.dependsOn,n[i++]=s.flags.isDependedOn<<6|s.flags.hasRedundancy<<4|s.flags.paddingValue<<1|s.flags.isNonSyncSample,n[i++]=61440&s.flags.degradationPriority,n[i++]=15&s.flags.degradationPriority,n[i++]=(4278190080&s.compositionTimeOffset)>>>24,n[i++]=(16711680&s.compositionTimeOffset)>>>16,n[i++]=(65280&s.compositionTimeOffset)>>>8,n[i++]=255&s.compositionTimeOffset;return l(w.trun,n)},j=function(t,e){var i,n,s,r,o=t.samples||[],e=R(o,e+=20+8*o.length);for((i=new Uint8Array(e.length+8*o.length)).set(e),n=e.length,r=0;r<o.length;r++)s=o[r],i[n++]=(4278190080&s.duration)>>>24,i[n++]=(16711680&s.duration)>>>16,i[n++]=(65280&s.duration)>>>8,i[n++]=255&s.duration,i[n++]=(4278190080&s.size)>>>24,i[n++]=(16711680&s.size)>>>16,i[n++]=(65280&s.size)>>>8,i[n++]=255&s.size;return l(w.trun,i)},b=function(t,e){return("audio"===t.type?j:F)(t,e)};n=function(){return l(w.ftyp,T,C,T,S)};function U(t,e){var i={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return i.dataOffset=e,i.compositionTimeOffset=t.pts-t.dts,i.duration=t.duration,i.size=4*t.length,i.size+=t.byteLength,t.keyFrame&&(i.flags.dependsOn=2,i.flags.isNonSyncSample=0),i}function z(t){for(var e=[];t--;)e.push(0);return e}function q(){var t,i;return W||(t={96e3:[it,[227,64],z(154),[56]],88200:[it,[231],z(170),[56]],64e3:[it,[248,192],z(240),[56]],48e3:[it,[255,192],z(268),[55,148,128],z(54),[112]],44100:[it,[255,192],z(268),[55,163,128],z(84),[112]],32e3:[it,[255,192],z(268),[55,234],z(226),[112]],24e3:[it,[255,192],z(268),[55,255,128],z(268),[111,112],z(126
vendor: 34,584 bytes, line 1
1),[224]],16e3:[it,[255,192],z(268),[55,255,128],z(268),[111,255],z(269),[223,108],z(195),[1,192]],12e3:[nt,z(268),[3,127,248],z(268),[6,255,240],z(268),[13,255,224],z(268),[27,253,128],z(259),[56]],11025:[nt,z(268),[3,127,248],z(268),[6,255,240],z(268),[13,255,224],z(268),[27,255,192],z(268),[55,175,128],z(108),[112]],8e3:[nt,z(268),[3,121,16],z(47),[7]]},i=t,W=Object.keys(i).reduce(function(t,e){return t[e]=new Uint8Array(i[e].reduce(function(t,e){return t.concat(e)},[])),t},{})),W}var W,V=function(t){return l(w.mdat,t)},Y=Nt,G=function(t){var e=n(),i=o(t),t=new Uint8Array(e.byteLength+i.byteLength);return t.set(e),t.set(i,e.byteLength),t},K=function(t){var e,i,n=[],s=[];for(s.byteLength=0,s.nalCount=0,s.duration=0,e=n.byteLength=0;e<t.length;e++)"access_unit_delimiter_rbsp"===(i=t[e]).nalUnitType?(n.length&&(n.duration=i.dts-n.dts,s.byteLength+=n.byteLength,s.nalCount+=n.length,s.duration+=n.duration,s.push(n)),(n=[i]).byteLength=i.data.byteLength,n.pts=i.pts,n.dts=i.dts):("slice_layer_without_partitioning_rbsp_idr"===i.nalUnitType&&(n.keyFrame=!0),n.duration=i.dts-n.dts,n.byteLength+=i.data.byteLength,n.push(i));return s.length&&(!n.duration||n.duration<=0)&&(n.duration=s[s.length-1].duration),s.byteLength+=n.byteLength,s.nalCount+=n.length,s.duration+=n.duration,s.push(n),s},X=function(t){var e,i,n=[],s=[];for(n.byteLength=0,n.nalCount=0,n.duration=0,n.pts=t[0].pts,n.dts=t[0].dts,s.byteLength=0,s.nalCount=0,s.duration=0,s.pts=t[0].pts,s.dts=t[0].dts,e=0;e<t.length;e++)(i=t[e]).keyFrame?(n.length&&(s.push(n),s.byteLength+=n.byteLength,s.nalCount+=n.nalCount,s.duration+=n.duration),(n=[i]).nalCount=i.length,n.byteLength=i.byteLength,n.pts=i.pts,n.dts=i.dts,n.duration=i.duration):(n.duration+=i.duration,n.nalCount+=i.length,n.byteLength+=i.byteLength,n.push(i));return s.length&&n.duration<=0&&(n.duration=s[s.length-1].duration),s.byteLength+=n.byteLength,s.nalCount+=n.nalCount,s.duration+=n.duration,s.push(n),s},Q=function(t){var e;return!t[0][0].keyFrame&&1<t.length&&(e=t.shift(),t.byteLength-=e.byteLength,t.nalCount-=e.nalCount,t[0][0].dts=e.dts,t[0][0].pts=e.pts,t[0][0].duration+=e.duration),t},Z=function(t,e){for(var i,n,s,r=e||0,o=[],a=0;a<t.length;a++)for(n=t[a],i=0;i<n.length;i++)s=n[i],r+=(s=U(s,r)).size,o.push(s);return o},J=function(t){for(var e,i,n,s,r,o=0,a=t.byteLength,l=t.nalCount,d=new Uint8Array(a+4*l),c=new DataView(d.buffer),u=0;u<t.length;u++)for(n=t[u],e=0;e<n.length;e++)for(s=n[e],i=0;i<s.length;i++)r=s[i],c.setUint32(o,r.data.byteLength),o+=4,d.set(r.data,o),o+=r.data.byteLength;return d},tt=function(t,e){var i=[],e=U(t,e||0);return i.push(e),i},et=function(t){for(var e,i=0,n=t.byteLength,s=t.length,r=new Uint8Array(n+4*s),o=new DataView(r.buffer),a=0;a<t.length;a++)e=t[a],o.setUint32(i,e.data.byteLength),i+=4,r.set(e.data,i),i+=e.data.byteLength;return r},it=[33,16,5,32,164,27],nt=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],st=function(t){return 9e4*t},rt=function(t,e){return t*e},ot=function(t){return t/9e4},at=function(t,e){return t/e},lt=9e4,dt=ot,ct=function(t,e){return st(at(t,e))},ut=function(t,e){return rt(ot(t),e)},ht=function(t,e,i){return ot(i?t:t-e)},pt=st,ft=dt,mt=function(t,e,i,n){var s,r,o,a,l,d,c=0,u=0;if(e.length&&(s=ct(t.baseMediaDecodeTime,t.samplerate),r=Math.ceil(lt/(t.samplerate/1024)),i&&n&&(o=s-Math.max(i,n),u=(c=Math.floor(o/r))*r),!(c<1||lt/2<u))){for(a=(a=q()[t.samplerate])||e[0].data,l=0;l<c;l++)d=e[0],e.splice(0,0,{data:a,dts:d.dts-r,pts:d.pts-r});t.baseMediaDecodeTime-=Math.floor(ut(u,t.samplerate))}},gt=function(t,e,i){return e.minSegmentDts>=i?t:(e.minSegmentDts=1/0,t.filter(function(t){return t.dts>=i&&(e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),e.minSegmentPts=e.minSegmentDts,!0)}))},vt=function(t){for(var e,i=[],n=0;n<t.length;n++)e=t[n],i.push({size:e.data.byteLength,duration:1024});return i},yt=function(t){for(var e,i=0,n=new Uint8Array(function(t){for(var e=0,i=0;i<t.length;i++)e+=t[i].data.byteLength;return e}(t)),s=0;s<t.length;s++)e=t[s],n.set(e.data,i),i+=e.data.byteLength;return n},_t=lt,bt=function(t){delete t.minSegmentDts,delete t.maxSegmentDts,delete t.minSegmentPts,delete t.maxSegmentPts},wt=function(t,e){var i=t.minSegmentDts;return e||(i-=t.timelineStartInfo.dts),e=t.timelineStartInfo.baseMediaDecodeTime,e+=i,e=Math.max(0,e),"audio"===t.type&&(e*=t.samplerate/_t,e=Math.floor(e)),e},Tt=function(t,e){"number"==typeof e.pts&&(void 0===t.timelineStartInfo.pts&&(t.timelineStartInfo.pts=e.pts),void 0===t.minSegmentPts?t.minSegmentPts=e.pts:t.minSegmentPts=Math.min(t.minSegmentPts,e.pts),void 0===t.maxSegmentPts?t.maxSegmentPts=e.pts:t.maxSegmentPts=Math.max(t.maxSegmentPts,e.pts)),"number"==typeof e.dts&&(void 0===t.timelineStartInfo.dts&&(t.timelineStartInfo.dts=e.dts),void 0===t.minSegmentDts?t.minSegmentDts=e.dts:t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),void 0===t.maxSegmentDts?t.maxSegmentDts=e.dts:t.maxSegmentDts=Math.max(t.maxSegmentDts,e.dts))},Ct=function(t){for(var e=0,i={payloadType:-1,payloadSize:0},n=0,s=0;e<t.byteLength&&128!==t[e];){for(;255===t[e];)n+=255,e++;for(n+=t[e++];255===t[e];)s+=255,e++;if(s+=t[e++],!i.payload&&4===n){if("GA94"===String.fromCharCode(t[e+3],t[e+4],t[e+5],t[e+6])){i.payloadType=n,i.payloadSize=s,i.payload=t.subarray(e,e+s);break}i.payload=void 0}e+=s,s=n=0}return i},St=function(t){return 181!==t.payload[0]||49!=(t.payload[1]<<8|t.payload[2])||"GA94"!==String.fromCharCode(t.payload[3],t.payload[4],t.payload[5],t.payload[6])||3!==t.payload[7]?null:t.payload.subarray(8,t.payload.length-1)},xt=function(t,e){var i,n,s,r,o=[];if(!(64&e[0]))return o;for(n=31&e[0],i=0;i<n;i++)r={type:3&e[2+(s=3*i)],pts:t},4&e[2+s]&&(r.ccData=e[3+s]<<8|e[4+s],o.push(r));return o},kt=function(t){for(var e,i,n=t.byteLength,s=[],r=1;r<n-2;)0===t[r]&&0===t[r+1]&&3===t[r+2]?(s.push(r+2),r+=2):r++;if(0===s.length)return t;e=n-s.length,i=new Uint8Array(e);for(var o=0,r=0;r<e;o++,r++)o===s[0]&&(o++,s.shift()),i[r]=t[o];return i},$t=4,Et=function t(){t.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new Mt(0,0),new Mt(0,1),new Mt(1,0),new Mt(1,1)],this.reset(),this.ccStreams_.forEach(function(t){t.on("data",this.trigger.bind(this,"data")),t.on("partialdone",this.trigger.bind(this,"partialdone")),t.on("done",this.trigger.bind(this,"done"))},this)};(Et.prototype=new B).push=function(t){var e,i;if("sei_rbsp"===t.nalUnitType&&(e=Ct(t.escapedRBSP)).payloadType===$t&&(i=St(e)))if(t.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(t.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));i=xt(t.pts,i),this.captionPackets_=this.captionPackets_.concat(i),this.latestDts_!==t.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=t.dts}},Et.prototype.flushCCStreams=function(e){this.ccStreams_.forEach(function(t){return"flush"===e?t.flush():t.partialFlush()},this)},Et.prototype.flushStream=function(t){this.captionPackets_.length&&(this.captionPackets_.forEach(function(t,e){t.presortIndex=e}),this.captionPackets_.sort(function(t,e){return t.pts===e.pts?t.presortIndex-e.presortIndex:t.pts-e.pts}),this.captionPackets_.forEach(function(t){t.type<2&&this.dispatchCea608Packet(t)},this),this.captionPackets_.length=0),this.flushCCStreams(t)},Et.prototype.flush=function(){return this.flushStream("flush")},Et.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Et.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(t){t.reset()})},Et.prototype.dispatchCea608Packet=function(t){this.setsTextOrXDSActive(t)?this.activeCea608Channel_[t.type]=null:this.setsChannel1Active(t)?this.activeCea608Channel_[t.type]=0:this.setsChannel2Active(t)&&(this.activeCea608Channel_[t.type]=1),null!==this.activeCea608Channel_[t.type]&&this.ccStreams_[(t.type<<1)+this.activeCea608Channel_[t.type]].push(t)},Et.prototype.setsChannel1Active=function(t){return 4096==(30720&t.ccData)},Et.prototype.setsChannel2Active=function(t){return 6144==(30720&t.ccData)},Et.prototype.setsTextOrXDSActive=function(t){return 256==(28928&t.ccData)||4138==(30974&t.ccData)||6186==(30974&t.ccData)};function Dt(t){return null===t?"":(t=At[t]||t,String.fromCharCode(t))}function It(){for(var t=[],e=15;e--;)t.push("");return t}var At={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},Pt=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Mt=function t(e,i){t.prototype.init.call(this),this.field_=e||0,this.dataChannel_=i||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(t){var e,i,n,s,r=32639&t.ccData;r!==this.lastControlCode_?(4096==(61440&r)?this.lastControlCode_=r:r!==this.PADDING_&&(this.lastControlCode_=null),e=r>>>8,i=255&r,r===this.PADDING_||(r===this.RESUME_CAPTION_LOADING_?this.mode_="popOn":r===this.END_OF_CAPTION_?(this.mode_="popOn",this.clearFormatting(t.pts),this.flushDisplayed(t.pts),s=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=s,this.startPts_=t.pts):r===this.ROLL_UP_2_ROWS_?(this.rollUpRows_=2,this.setRollUp(t.pts)):r===this.ROLL_UP_3_ROWS_?(this.rollUpRows_=3,this.setRollUp(t.pts)):r===this.ROLL_UP_4_ROWS_?(this.rollUpRows_=4,this.setRollUp(t.pts)):r===this.CARRIAGE_RETURN_?(this.clearFormatting(t.pts),this.flushDisplayed(t.pts),this.shiftRowsUp_(),this.startPts_=t.pts):r===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):r===this.ERASE_DISPLAYED_MEMORY_?(this.flushDisplayed(t.pts),this.displayed_=It()):r===this.ERASE_NON_DISPLAYED_MEMORY_?this.nonDisplayed_=It():r===this.RESUME_DIRECT_CAPTIONING_?("paintOn"!==this.mode_&&(this.flushDisplayed(t.pts),this.displayed_=It()),this.mode_="paintOn",this.startPts_=t.pts):this.isSpecialCharacter(e,i)?(n=Dt((e=(3&e)<<8)|i),this[this.mode_](t.pts,n),this.column_++):this.isExtCharacter(e,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),n=Dt((e=(3&e)<<8)|i),this[this.mode_](t.pts,n),this.column_++):this.isMidRowCode(e,i)?(this.clearFormatting(t.pts),this[this.mode_](t.pts," "),this.column_++,14==(14&i)&&this.addFormatting(t.pts,["i"]),1==(1&i)&&this.addFormatting(t.pts,["u"])):this.isOffsetControlCode(e,i)?this.column_+=3&i:this.isPAC(e,i)?(s=Pt.indexOf(7968&r),"rollUp"===this.mode_&&(s-this.rollUpRows_+1<0&&(s=this.rollUpRows_-1),this.setRollUp(t.pts,s)),s!==this.row_&&(this.clearFormatting(t.pts),this.row_=s),1&i&&-1===this.formatting_.indexOf("u")&&this.addFormatting(t.pts,["u"]),16==(16&r)&&(this.column_=4*((14&r)>>1)),this.isColorPAC(i)&&14==(14&i)&&this.addFormatting(t.pts,["i"])):this.isNormalChar(e)&&(0===i&&(i=null),n=Dt(e),n+=Dt(i),this[this.mode_](t.pts,n),this.column_+=n.length))):this.lastControlCode_=null}};Mt.prototype=new B,Mt.prototype.flushDisplayed=function(t){var e=this.displayed_.map(function(t){try{return t.trim()}catch(t){return console.error("Skipping malformed caption."),""}}).join("\n").replace(/^\n+|\n+$/g,"");e.length&&this.trigger("data",{startPts:this.startPts_,endPts:t,text:e,stream:this.name_})},Mt.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=It(),this.nonDisplayed_=It(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Mt.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_},Mt.prototype.isSpecialCharacter=function(t,e){return t===this.EXT_&&48<=e&&e<=63},Mt.prototype.isExtCharacter=function(t,e){return(t===this.EXT_+1||t===this.EXT_+2)&&32<=e&&e<=63},Mt.prototype.isMidRowCode=function(t,e){return t===this.EXT_&&32<=e&&e<=47},Mt.prototype.isOffsetControlCode=function(t,e){return t===this.OFFSET_&&33<=e&&e<=35},Mt.prototype.isPAC=function(t,e){return t>=this.BASE_&&t<this.BASE_+8&&64<=e&&e<=127},Mt.prototype.isColorPAC=function(t){return 64<=t&&t<=79||96<=t&&t<=127},Mt.prototype.isNormalChar=function(t){return 32<=t&&t<=127},Mt.prototype.setRollUp=function(t,e){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(t),this.nonDisplayed_=It(),this.displayed_=It()),void 0!==e&&e!==this.row_)for(var i=0;i<this.rollUpRows_;i++)this.displayed_[e-i]=this.displayed_[this.row_-i],this.displayed_[this.row_-i]="";void 0===e&&(e=this.row_),this.topRow_=e-this.rollUpRows_+1},Mt.prototype.addFormatting=function(t,e){this.formatting_=this.formatting_.concat(e);e=e.reduce(function(t,e){return t+"<"+e+">"},"");this[this.mode_](t,e)},Mt.prototype.clearFormatting=function(t){var e;this.formatting_.length&&(e=this.formatting_.reverse().reduce(function(t,e){return t+"</"+e+">"},""),this.formatting_=[],this[this.mode_](t,e))},Mt.prototype.popOn=function(t,e){var i=this.nonDisplayed_[this.row_];i+=e,this.nonDisplayed_[this.row_]=i},Mt.prototype.rollUp=function(t,e){var i=this.displayed_[this.row_];i+=e,this.displayed_[this.row_]=i},Mt.prototype.shiftRowsUp_=function(){for(var t=0;t<this.topRow_;t++)this.displayed_[t]="";for(t=this.row_+1;t<15;t++)this.displayed_[t]="";for(t=this.topRow_;t<this.row_;t++)this.displayed_[t]=this.displayed_[t+1];this.displayed_[this.row_]=""},Mt.prototype.paintOn=function(t,e){var i=this.displayed_[this.row_];i+=e,this.displayed_[this.row_]=i};function Ot(t,e){var i=1;for(e<t&&(i=-1);4294967296<Math.abs(e-t);)t+=8589934592*i;return t}var t={CaptionStream:Et,Cea608Stream:Mt},Lt={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Nt=function t(e){var i,n;t.prototype.init.call(this),this.type_=e||"shared",this.push=function(t){"shared"!==this.type_&&t.type!==this.type_||(void 0===n&&(n=t.dts),t.dts=Ot(t.dts,n),t.pts=Ot(t.pts,n),i=t.dts,this.trigger("data",t))},this.flush=function(){n=i,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){i=n=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Nt.prototype=new B;function Rt(t,e,i){for(var n="",s=e;s<i;s++)n+="%"+("00"+t[s].toString(16)).slice(-2);return n}function Ft(t,e,i){return decodeURIComponent(Rt(t,e,i))}function jt(t){return t[0]<<21|t[1]<<14|t[2]<<7|t[3]}var Et=Nt,Bt={TXXX:function(t){var e;if(3===t.data[0]){for(e=1;e<t.data.length;e++)if(0===t.data[e]){t.description=Ft(t.data,1,e),t.value=Ft(t.data,e+1,t.data.length).replace(/\0*$/,"");break}t.data=t.value}},WXXX:function(t){var e;if(3===t.data[0])for(e=1;e<t.data.length;e++)if(0===t.data[e]){t.description=Ft(t.data,1,e),t.url=Ft(t.data,e+1,t.data.length);break}},PRIV:function(t){for(var e,i=0;i<t.data.length;i++)if(0===t.data[i]){t.owner=(e=t.data,unescape(Rt(e,0,i)));break}t.privateData=t.data.subarray(i+1),t.data=t.privateData}},Ht=function(t){var e,l={debug:!(!t||!t.debug),descriptor:t&&t.descriptor},d=0,c=[],u=0;if(Ht.prototype.init.call(this),this.dispatchType=Lt.METADATA_STREAM_TYPE.toString(16),l.descriptor)for(e=0;e<l.descriptor.length;e++)this.dispatchType+=("00"+l.descriptor[e].toString(16)).slice(-2);this.push=function(t){var e,i,n,s,r,o,a;if("timed-metadata"===t.type)if(t.dataAlignmentIndicator&&(u=0,c.length=0),0===c.length&&(t.data.length<10||t.data[0]!=="I".charCodeAt(0)||t.data[1]!=="D".charCodeAt(0)||t.data[2]!=="3".charCodeAt(0)))l.debug&&console.log("Skipping unrecognized metadata packet");else if(c.push(t),u+=t.data.byteLength,1===c.length&&(d=jt(t.data.subarray(6,10)),d+=10),!(u<d)){for(e={data:new Uint8Array(d),frames:[],pts:c[0].pts,dts:c[0].dts},s=0;s<d;)e.data.set(c[0].data.subarray(0,d-s),s),s+=c[0].data.byteLength,u-=c[0].data.byteLength,c.shift();i=10,64&e.data[5]&&(i+=4,i+=jt(e.data.subarray(10,14)),d-=jt(e.data.subarray(16,20)));do{if((n=jt(e.data.subarray(i+4,i+8)))<1)return console.log("Malformed ID3 frame encountered. Skipping metadata parsing.");(a={id:String.fromCharCode(e.data[i],e.data[i+1],e.data[i+2],e.data[i+3]),data:e.data.subarray(i+10,i+n+10)}).key=a.id,Bt[a.id]&&(Bt[a.id](a),"com.apple.streaming.transportStreamTimestamp"===a.owner&&(o=(1&(r=a.data)[3])<<30|r[4]<<22|r[5]<<14|r[6]<<6|r[7]>>>2,o*=4,o+=3&r[7],a.timeStamp=o,void 0===e.pts&&void 0===e.dts&&(e.pts=a.timeStamp,e.dts=a.timeStamp),this.trigger("timestamp",a))),e.frames.push(a),i+=10,i+=n}while(i<d);this.trigger("data",e)}}};Ht.prototype=new B;var Ut,zt,Nt=Ht,Et=Et,qt=function(){var s=new Uint8Array(188),r=0;qt.prototype.init.call(this),this.push=function(t){var e,i=0,n=188;for(r?((e=new Uint8Array(t.byteLength+r)).set(s.subarray(0,r)),e.set(t,r),r=0):e=t;n<e.byteLength;)71!==e[i]||71!==e[n]?(i++,n++):(this.trigger("data",e.subarray(i,n)),i+=188,n+=188);i<e.byteLength&&(s.set(e.subarray(i),0),r=e.byteLength-i)},this.flush=function(){188===r&&71===s[0]&&(this.trigger("data",s),r=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){r=0,this.trigger("reset")}};qt.prototype=new B,(Ut=function(){var n,s,r,o;Ut.prototype.init.call(this),(o=this).packetsWaitingForPmt=[],this.programMapTable=void 0,n=function(t,e){var i=0;e.payloadUnitStartIndicator&&(i+=t[i]+1),("pat"===e.type?s:r)(t.subarray(i),e)},s=function(t,e){e.section_number=t[7],e.last_section_number=t[8],o.pmtPid=(31&t[10])<<8|t[11],e.pmtPid=o.pmtPid},r=function(t,e){var i,n;if(1&t[5]){for(o.programMapTable={video:null,audio:null,"timed-metadata":{}},i=3+((15&t[1])<<8|t[2])-4,n=12+((15&t[10])<<8|t[11]);n<i;){var s=t[n],r=(31&t[n+1])<<8|t[n+2];s===Lt.H264_STREAM_TYPE&&null===o.programMapTable.video?o.programMapTable.video=r:s===Lt.ADTS_STREAM_TYPE&&null===o.programMapTable.audio?o.programMapTable.audio=r:s===Lt.METADATA_STREAM_TYPE&&(o.programMapTable["timed-metadata"][r]=s),n+=5+((15&t[n+3])<<8|t[n+4])}e.programMapTable=o.programMapTable}},this.push=function(t){var e={},i=4;if(e.payloadUnitStartIndicator=!!(64&t[1]),e.pid=31&t[1],e.pid<<=8,e.pid|=t[2],1<(48&t[3])>>>4&&(i+=t[i]+1),0===e.pid)e.type="pat",n(t.subarray(i),e),this.trigger("data",e);else if(e.pid===this.pmtPid)for(e.type="pmt",n(t.subarray(i),e),this.trigger("data",e);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,i,e]):this.processPes_(t,i,e)},this.processPes_=function(t,e,i){i.pid===this.programMapTable.video?i.streamType=Lt.H264_STREAM_TYPE:i.pid===this.programMapTable.audio?i.streamType=Lt.ADTS_STREAM_TYPE:i.streamType=this.programMapTable["timed-metadata"][i.pid],i.type="pes",i.data=t.subarray(e),this.trigger("data",i)}}).prototype=new B,Ut.STREAM_TYPES={h264:27,adts:15},(zt=function(){function n(t,e,i){var n,s,r,o,a=new Uint8Array(t.size),l={type:e},d=0,c=0;if(t.data.length&&!(t.size<9)){for(l.trackId=t.data[0].pid,d=0;d<t.data.length;d++)n=t.data[d],a.set(n.data,c),c+=n.data.byteLength;s=a,(r=l).packetLength=6+(s[4]<<8|s[5]),r.dataAlignmentIndicator=0!=(4&s[6]),192&(o=s[7])&&(r.pts=(14&s[9])<<27|(255&s[10])<<20|(254&s[11])<<12|(255&s[12])<<5|(254&s[13])>>>3,r.pts*=4,r.pts+=(6&s[13])>>>1,r.dts=r.pts,64&o&&(r.dts=(14&s[14])<<27|(255&s[15])<<20|(254&s[16])<<12|(255&s[17])<<5|(254&s[18])>>>3,r.dts*=4,r.dts+=(6&s[18])>>>1)),r.data=s.subarray(9+s[8]),e="video"===e||l.packetLength<=t.size,(i||e)&&(t.size=0,t.data.length=0),e&&u.trigger("data",l)}}var e,u=this,s={data:[],size:0},r={data:[],size:0},o={data:[],size:0};zt.prototype.init.call(this),this.push=function(i){({pat:function(){},pes:function(){var t,e;switch(i.streamType){case Lt.H264_STREAM_TYPE:t=s,e="video";break;case Lt.ADTS_STREAM_TYPE:t=r,e="audio";break;case Lt.METADATA_STREAM_TYPE:t=o,e="timed-metadata";break;default:return}i.payloadUnitStartIndicator&&n(t,e,!0),t.data.push(i),t.size+=i.data.byteLength},pmt:function(){var t={type:"metadata",tracks:[]};null!==(e=i.programMapTable).video&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),u.trigger("data",t)}})[i.type]()},this.reset=function(){s.size=0,s.data.length=0,r.size=0,r.data.length=0,this.trigger("reset")},this.flushStreams_=function(){n(s,"video"),n(r,"audio"),n(o,"timed-metadata")},this.flush=function(){this.flushStreams_(),this.trigger("done")}}).prototype=new B;var Wt,Vt={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:qt,TransportParseStream:Ut,ElementaryStream:zt,TimestampRolloverStream:Et,CaptionStream:t.CaptionStream,Cea608Stream:t.Cea608Stream,MetadataStream:Nt};for(Wt in Lt)Lt.hasOwnProperty(Wt)&&(Vt[Wt]=Lt[Wt]);var Yt=Vt,Gt=lt,Kt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],Xt=function(a){var l,d=0;Xt.prototype.init.call(this),this.push=function(t){var e,i,n,s,r,o=0;if(a||(d=0),"audio"===t.type)for(l?(n=l,(l=new Uint8Array(n.byteLength+t.data.byteLength)).set(n),l.set(t.data,n.byteLength)):l=t.data;o+5<l.length;)if(255===l[o]&&240==(246&l[o+1])){if(e=2*(1&~l[o+1]),i=(3&l[o+3])<<11|l[o+4]<<3|(224&l[o+5])>>5,r=(s=1024*(1+(3&l[o+6])))*Gt/Kt[(60&l[o+2])>>>2],i=o+i,l.byteLength<i)return;if(this.trigger("data",{pts:t.pts+d*r,dts:t.dts+d*r,sampleCount:s,audioobjecttype:1+(l[o+2]>>>6&3),channelcount:(1&l[o+2])<<2|(192&l[o+3])>>>6,samplerate:Kt[(60&l[o+2])>>>2],samplingfrequencyindex:(60&l[o+2])>>>2,samplesize:16,data:l.subarray(o+7+e,i)}),d++,l.byteLength===i)return void(l=void 0);l=l.subarray(i)}else o++},this.flush=function(){d=0,this.trigger("done")},this.reset=function(){l=void 0,this.trigger("reset")},this.endTimeline=function(){l=void 0,this.trigger("endedtimeline")}};Xt.prototype=new B;var Qt,Zt,Jt=Xt,te=function(n){var s=n.byteLength,r=0,o=0;this.length=function(){return 8*s},this.bitsAvailable=function(){return 8*s+o},this.loadWord=function(){var t=n.byteLength-s,e=new Uint8Array(4),i=Math.min(4,s);if(0===i)throw new Error("no bytes available");e.set(n.subarray(t,t+i)),r=new DataView(e.buffer).getUint32(0),o=8*i,s-=i},this.skipBits=function(t){var e;t<o||(t-=o,t-=8*(e=Math.floor(t/8)),s-=e,this.loadWord()),r<<=t,o-=t},this.readBits=function(t){var e=Math.min(o,t),i=r>>>32-e;return 0<(o-=e)?r<<=e:0<s&&this.loadWord(),0<(e=t-e)?i<<e|this.readBits(e):i},this.skipLeadingZeros=function(){for(var t=0;t<o;++t)if(0!=(r&2147483648>>>t))return r<<=t,o-=t,t;return this.loadWord(),t+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var t=this.skipLeadingZeros();return this.readBits(t+1)-1},this.readExpGolomb=function(){var t=this.readUnsignedExpGolomb();return 1&t?1+t>>>1:-1*(t>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()},ee=function(){var n,s,r=0;ee.prototype.init.call(this),this.push=function(t){for(var e,i=(s=s?((e=new Uint8Array(s.byteLength+t.data.byteLength)).set(s),e.set(t.data,s.byteLength),e):t.data).byteLength;r<i-3;r++)if(1===s[r+2]){n=r+5;break}for(;n<i;)switch(s[n]){case 0:if(0!==s[n-1]){n+=2;break}if(0!==s[n-2]){n++;break}for(r+3!==n-2&&this.trigger("data",s.subarray(r+3,n-2));1!==s[++n]&&n<i;);r=n-2,n+=3;break;case 1:if(0!==s[n-1]||0!==s[n-2]){n+=3;break}this.trigger("data",s.subarray(r+3,n-2)),r=n-2,n+=3;break;default:n+=3}s=s.subarray(r),n-=r,r=0},this.reset=function(){s=null,r=0,this.trigger("reset")},this.flush=function(){s&&3<s.byteLength&&this.trigger("data",s.subarray(r+3)),s=null,r=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}};ee.prototype=new B,Zt={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},(Qt=function(){var i,n,s,r,o,a,g,e=new ee;Qt.prototype.init.call(this),(i=this).push=function(t){"video"===t.type&&(n=t.trackId,s=t.pts,r=t.dts,e.push(t))},e.on("data",function(t){var e={trackId:n,pts:s,dts:r,data:t};switch(31&t[0]){case 5:e.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:e.nalUnitType="sei_rbsp",e.escapedRBSP=o(t.subarray(1));break;case 7:e.nalUnitType="seq_parameter_set_rbsp",e.escapedRBSP=o(t.subarray(1)),e.config=a(e.escapedRBSP);break;case 8:e.nalUnitType="pic_parameter_set_rbsp";break;case 9:e.nalUnitType="access_unit_delimiter_rbsp"}i.trigger("data",e)}),e.on("done",function(){i.trigger("done")}),e.on("partialdone",function(){i.trigger("partialdone")}),e.on("reset",function(){i.trigger("reset")}),e.on("endedtimeline",function(){i.trigger("endedtimeline")}),this.flush=function(){e.flush()},this.partialFlush=function(){e.partialFlush()},this.reset=function(){e.reset()},this.endTimeline=function(){e.endTimeline()},g=function(t,e){for(var i=8,n=8,s=0;s<t;s++)0!==n&&(n=(i+e.readExpGolomb()+256)%256),i=0===n?i:n},o=function(t){for(var e,i,n=t.byteLength,s=[],r=1;r<n-2;)0===t[r]&&0===t[r+1]&&3===t[r+2]?(s.push(r+2),r+=2):r++;if(0===s.length)return t;e=n-s.length,i=new Uint8Array(e);for(var o=0,r=0;r<e;o++,r++)o===s[0]&&(o++,s.shift()),i[r]=t[o];return i},a=function(t){var e,i,n,s,r,o,a=0,l=0,d=0,c=0,u=1,h=new te(t),p=h.readUnsignedByte(),f=h.readUnsignedByte(),m=h.readUnsignedByte();if(h.skipUnsignedExpGolomb(),Zt[p]&&(3===(i=h.readUnsignedExpGolomb())&&h.skipBits(1),h.skipUnsignedExpGolomb(),h.skipUnsignedExpGolomb(),h.skipBits(1),h.readBoolean()))for(s=3!==i?8:12,o=0;o<s;o++)h.readBoolean()&&g(o<6?16:64,h);if(h.skipUnsignedExpGolomb(),0===(n=h.readUnsignedExpGolomb()))h.readUnsignedExpGolomb();else if(1===n)for(h.skipBits(1),h.skipExpGolomb(),h.skipExpGolomb(),e=h.readUnsignedExpGolomb(),o=0;o<e;o++)h.skipExpGolomb();if(h.skipUnsignedExpGolomb(),h.skipBits(1),t=h.readUnsignedExpGolomb(),i=h.readUnsignedExpGolomb(),0===(n=h.readBits(1))&&h.skipBits(1),h.skipBits(1),h.readBoolean()&&(a=h.readUnsignedExpGolomb(),l=h.readUnsignedExpGolomb(),d=h.readUnsignedExpGolomb(),c=h.readUnsignedExpGolomb()),h.readBoolean()&&h.readBoolean()){switch(h.readUnsignedByte()){case 1:r=[1,1];break;case 2:r=[12,11];break;case 3:r=[10,11];break;case 4:r=[16,11];break;case 5:r=[40,33];break;case 6:r=[24,11];break;case 7:r=[20,11];break;case 8:r=[32,11];break;case 9:r=[80,33];break;case 10:r=[18,11];break;case 11:r=[15,11];break;case 12:r=[64,33];break;case 13:r=[160,99];break;case 14:r=[4,3];break;case 15:r=[3,2];break;case 16:r=[2,1];break;case 255:r=[h.readUnsignedByte()<<8|h.readUnsignedByte(),h.readUnsignedByte()<<8|h.readUnsignedByte()]}r&&(u=r[0]/r[1])}return{profileIdc:p,levelIdc:m,profileCompatibility:f,width:Math.ceil((16*(t+1)-2*a-2*l)*u),height:(2-n)*(i+1)*16-2*d-2*c,sarRatio:r}}}).prototype=new B;function ie(t,e){var i=0<=(i=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9])?i:0;return(16&t[e+5])>>4?i+20:i+10}function ne(t,e){return t.length-e<10||t[e]!=="I".charCodeAt(0)||t[e+1]!=="D".charCodeAt(0)||t[e+2]!=="3".charCodeAt(0)?e:ne(t,e+=ie(t,e))}var Et={H264Stream:Qt,NalByteStream:ee},Nt=function(t){var e=ne(t,0);return t.length>=e+2&&255==(255&t[e])&&240==(240&t[e+1])&&16==(22&t[e+1])},se=ie,re=function(t,e){var i=(224&t[e+5])>>5,n=t[e+4]<<3;return 6144&t[e+3]|n|i},oe=function(){var r=new Uint8Array,o=0;oe.prototype.init.call(this),this.setTimestamp=function(t){o=t},this.push=function(t){var e,i,n=0,s=0;for(r.length?(i=r.length,(r=new Uint8Array(t.byteLength+i)).set(r.subarray(0,i)),r.set(t,i)):r=t;3<=r.length-s;)if(r[s]!=="I".charCodeAt(0)||r[s+1]!=="D".charCodeAt(0)||r[s+2]!=="3".charCodeAt(0))if(255!=(255&r[s])||240!=(240&r[s+1]))s++;else{if(r.length-s<7)break;if(s+(n=re(r,s))>r.length)break;e={type:"audio",data:r.subarray(s,s+n),pts:o,dts:o},this.trigger("data",e),s+=n}else{if(r.length-s<10)break;if(s+(n=se(r,s))>r.length)break;e={type:"timed-metadata",data:r.subarray(s,s+n)},this.trigger("data",e),s+=n}t=r.length-s,r=0<t?r.subarray(s):new Uint8Array},this.reset=function(){r=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){r=new Uint8Array,this.trigger("endedtimeline")}};oe.prototype=new B;function ae(t,e){var i;if(t.length===e.length){for(i=0;i<t.length;i++)if(t[i]!==e[i])return;return 1}}function le(t,e,i,n,s,r){return{start:{dts:t,pts:t+(i-e)},end:{dts:t+(n-e),pts:t+(s-i)},prependedContentDuration:r,baseMediaDecodeTime:t}}var de,ce,ue,he=oe,pe=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],fe=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],me=Et.H264Stream,ge=Nt,ve=lt,ye=function(s,r){var o=[],a=0,l=0,d=0,c=1/0;r=r||{},ye.prototype.init.call(this),this.push=function(e){Tt(s,e),s&&pe.forEach(function(t){s[t]=e[t]}),o.push(e)},this.setEarliestDts=function(t){l=t},this.setVideoBaseMediaDecodeTime=function(t){c=t},this.setAudioAppendStart=function(t){d=t},this.flush=function(){var t,e,i,n;0!==o.length&&(t=gt(o,s,l),s.baseMediaDecodeTime=wt(s,r.keepOriginalTimestamps),mt(s,t,d,c),s.samples=vt(t),e=V(yt(t)),o=[],n=Y(a,[s]),i=new Uint8Array(n.byteLength+e.byteLength),a++,i.set(n),i.set(e,n.byteLength),bt(s),n=Math.ceil(1024*ve/s.samplerate),t.length&&this.trigger("timingInfo",{start:t[0].pts,end:t[0].pts+t.length*n}),this.trigger("data",{track:s,boxes:i})),this.trigger("done","AudioSegmentStream")},this.reset=function(){bt(s),o=[],this.trigger("reset")}};ye.prototype=new B,(de=function(o,r){var e,i,a=0,l=[],d=[];r=r||{},de.prototype.init.call(this),delete o.minPTS,this.gopCache_=[],this.push=function(t){Tt(o,t),"seq_parameter_set_rbsp"!==t.nalUnitType||e||(e=t.config,o.sps=[t.data],fe.forEach(function(t){o[t]=e[t]},this)),"pic_parameter_set_rbsp"!==t.nalUnitType||i||(i=t.data,o.pps=[t.data]),l.push(t)},this.flush=function(){for(var t,e,i,n=0;l.length&&"access_unit_delimiter_rbsp"!==l[0].nalUnitType;)l.shift();if(0===l.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(t=K(l),(e=X(t))[0][0].keyFrame||((i=this.getGopForFusion_(l[0],o))?(n=i.duration,e.unshift(i),e.byteLength+=i.byteLength,e.nalCount+=i.nalCount,e.pts=i.pts,e.dts=i.dts,e.duration+=i.duration):e=Q(e)),d.length){var s=r.alignGopsAtEnd?this.alignGopsAtEnd_(e):this.alignGopsAtStart_(e);if(!s)return this.gopCache_.unshift({gop:e.pop(),pps:o.pps,sps:o.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),l=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");bt(o),e=s}Tt(o,e),o.samples=Z(e),t=V(J(e)),o.baseMediaDecodeTime=wt(o,r.keepOriginalTimestamps),this.trigger("processedGopsInfo",e.map(function(t){return{pts:t.pts,dts:t.dts,byteLength:t.byteLength}})),i=e[0],s=e[e.length-1],this.trigger("segmentTimingInfo",le(o.baseMediaDecodeTime,i.dts,i.pts,s.dts+s.duration,s.pts+s.duration,n)),this.trigger("timingInfo",{start:e[0].pts,end:e[e.length-1].pts+e[e.length-1].duration}),this.gopCache_.unshift({gop:e.pop(),pps:o.pps,sps:o.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),l=[],this.trigger("baseMediaDecodeTime",o.baseMediaDecodeTime),this.trigger("timelineStartInfo",o.timelineStartInfo),n=Y(a,[o]),e=new Uint8Array(n.byteLength+t.byteLength),a++,e.set(n),e.set(t,n.byteLength),this.trigger("data",{track:o,boxes:e}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),l=[],this.gopCache_.length=0,d.length=0,this.trigger("reset")},this.resetStream_=function(){bt(o),i=e=void 0},this.getGopForFusion_=function(t){for(var e,i,n,s=1/0,r=0;r<this.gopCache_.length;r++)i=(n=this.gopCache_[r]).gop,o.pps&&ae(o.pps[0],n.pps[0])&&o.sps&&ae(o.sps[0],n.sps[0])&&(i.dts<o.timelineStartInfo.dts||-1e4<=(i=t.dts-i.dts-i.duration)&&i<=45e3&&(!e||i<s)&&(e=n,s=i));return e?e.gop:null},this.alignGopsAtStart_=function(t){for(var e,i,n,s,r=t.byteLength,o=t.nalCount,a=t.duration,l=e=0;l<d.length&&e<t.length&&(i=d[l],n=t[e],i.pts!==n.pts);)n.pts>i.pts?l++:(e++,r-=n.byteLength,o-=n.nalCount,a-=n.duration);return 0===e?t:e===t.length?null:((s=t.slice(e)).byteLength=r,s.duration=a,s.nalCount=o,s.pts=s[0].pts,s.dts=s[0].dts,s)},this.alignGopsAtEnd_=function(t){for(var e,i,n=d.length-1,s=t.length-1,r=null,o=!1;0<=n&&0<=s;){if(e=d[n],i=t[s],e.pts===i.pts){o=!0;break}e.pts>i.pts?n--:(n===d.length-1&&(r=s),s--)}if(!o&&null===r)return null;if(0===(l=o?s:r))return t;var a=t.slice(l),l=a.reduce(function(t,e){return t.byteLength+=e.byteLength,t.duration+=e.duration,t.nalCount+=e.nalCount,t},{byteLength:0,duration:0,nalCount:0});return a.byteLength=l.byteLength,a.duration=l.duration,a.nalCount=l.nalCount,a.pts=a[0].pts,a.dts=a[0].dts,a},this.alignGopsWith=function(t){d=t}}).prototype=new B,(ue=function(t,e){this.numberOfTracks=0,this.metadataStream=e,void 0!==(t=t||{}).remux?this.remuxTracks=!!t.remux:this.remuxTracks=!0,"boolean"==typeof t.keepOriginalTimestamps?this.keepOriginalTimestamps=t.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,ue.prototype.init.call(this),this.push=function(t){return t.text?this.pendingCaptions.push(t):t.frames?this.pendingMetadata.push(t):(this.pendingTracks.push(t.track),this.pendingBytes+=t.boxes.byteLength,"video"===t.track.type&&(this.videoTrack=t.track,this.pendingBoxes.push(t.boxes)),void("audio"===t.track.type&&(this.audioTrack=t.track,this.pendingBoxes.unshift(t.boxes))))}}).prototype=new B,ue.prototype.flush=function(t){var e,i,n,s=0,r={captions:[],captionStream
vendor: 6,533 bytes, line 1
1s:{},metadata:[],info:{}},o=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==t&&"AudioSegmentStream"!==t)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,fe.forEach(function(t){r.info[t]=this.videoTrack[t]},this)):this.audioTrack&&(o=this.audioTrack.timelineStartInfo.pts,pe.forEach(function(t){r.info[t]=this.audioTrack[t]},this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?r.type=this.pendingTracks[0].type:r.type="combined",this.emittedTracks+=this.pendingTracks.length,t=G(this.pendingTracks),r.initSegment=new Uint8Array(t.byteLength),r.initSegment.set(t),r.data=new Uint8Array(this.pendingBytes),n=0;n<this.pendingBoxes.length;n++)r.data.set(this.pendingBoxes[n],s),s+=this.pendingBoxes[n].byteLength;for(n=0;n<this.pendingCaptions.length;n++)(e=this.pendingCaptions[n]).startTime=ht(e.startPts,o,this.keepOriginalTimestamps),e.endTime=ht(e.endPts,o,this.keepOriginalTimestamps),r.captionStreams[e.stream]=!0,r.captions.push(e);for(n=0;n<this.pendingMetadata.length;n++)(i=this.pendingMetadata[n]).cueTime=ht(i.pts,o,this.keepOriginalTimestamps),r.metadata.push(i);for(r.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",r),n=0;n<r.captions.length;n++)e=r.captions[n],this.trigger("caption",e);for(n=0;n<r.metadata.length;n++)i=r.metadata[n],this.trigger("id3Frame",i)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},ue.prototype.setRemux=function(t){this.remuxTracks=t},(ce=function(n){var s,r,o=this,i=!0;ce.prototype.init.call(this),n=n||{},this.baseMediaDecodeTime=n.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var e={};(this.transmuxPipeline_=e).type="aac",e.metadataStream=new Yt.MetadataStream,e.aacStream=new he,e.audioTimestampRolloverStream=new Yt.TimestampRolloverStream("audio"),e.timedMetadataTimestampRolloverStream=new Yt.TimestampRolloverStream("timed-metadata"),e.adtsStream=new Jt,e.coalesceStream=new ue(n,e.metadataStream),e.headOfPipeline=e.aacStream,e.aacStream.pipe(e.audioTimestampRolloverStream).pipe(e.adtsStream),e.aacStream.pipe(e.timedMetadataTimestampRolloverStream).pipe(e.metadataStream).pipe(e.coalesceStream),e.metadataStream.on("timestamp",function(t){e.aacStream.setTimestamp(t.timeStamp)}),e.aacStream.on("data",function(t){"timed-metadata"!==t.type&&"audio"!==t.type||e.audioSegmentStream||(r=r||{timelineStartInfo:{baseMediaDecodeTime:o.baseMediaDecodeTime},codec:"adts",type:"audio"},e.coalesceStream.numberOfTracks++,e.audioSegmentStream=new ye(r,n),e.audioSegmentStream.on("timingInfo",o.trigger.bind(o,"audioTimingInfo")),e.adtsStream.pipe(e.audioSegmentStream).pipe(e.coalesceStream),o.trigger("trackinfo",{hasAudio:!!r,hasVideo:!!s}))}),e.coalesceStream.on("data",this.trigger.bind(this,"data")),e.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setupTsPipeline=function(){var i={};(this.transmuxPipeline_=i).type="ts",i.metadataStream=new Yt.MetadataStream,i.packetStream=new Yt.TransportPacketStream,i.parseStream=new Yt.TransportParseStream,i.elementaryStream=new Yt.ElementaryStream,i.timestampRolloverStream=new Yt.TimestampRolloverStream,i.adtsStream=new Jt,i.h264Stream=new me,i.captionStream=new Yt.CaptionStream,i.coalesceStream=new ue(n,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(t){var e;if("metadata"===t.type){for(e=t.tracks.length;e--;)s||"video"!==t.tracks[e].type?r||"audio"!==t.tracks[e].type||((r=t.tracks[e]).timelineStartInfo.baseMediaDecodeTime=o.baseMediaDecodeTime):(s=t.tracks[e]).timelineStartInfo.baseMediaDecodeTime=o.baseMediaDecodeTime;s&&!i.videoSegmentStream&&(i.coalesceStream.numberOfTracks++,i.videoSegmentStream=new de(s,n),i.videoSegmentStream.on("timelineStartInfo",function(t){r&&!n.keepOriginalTimestamps&&(r.timelineStartInfo=t,i.audioSegmentStream.setEarliestDts(t.dts-o.baseMediaDecodeTime))}),i.videoSegmentStream.on("processedGopsInfo",o.trigger.bind(o,"gopInfo")),i.videoSegmentStream.on("segmentTimingInfo",o.trigger.bind(o,"videoSegmentTimingInfo")),i.videoSegmentStream.on("baseMediaDecodeTime",function(t){r&&i.audioSegmentStream.setVideoBaseMediaDecodeTime(t)}),i.videoSegmentStream.on("timingInfo",o.trigger.bind(o,"videoTimingInfo")),i.h264Stream.pipe(i.videoSegmentStream).pipe(i.coalesceStream)),r&&!i.audioSegmentStream&&(i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new ye(r,n),i.audioSegmentStream.on("timingInfo",o.trigger.bind(o,"audioTimingInfo")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream)),o.trigger("trackinfo",{hasAudio:!!r,hasVideo:!!s})}}),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("id3Frame",function(t){t.dispatchType=i.metadataStream.dispatchType,o.trigger("id3Frame",t)}),i.coalesceStream.on("caption",this.trigger.bind(this,"caption")),i.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setBaseMediaDecodeTime=function(t){var e=this.transmuxPipeline_;n.keepOriginalTimestamps||(this.baseMediaDecodeTime=t),r&&(r.timelineStartInfo.dts=void 0,r.timelineStartInfo.pts=void 0,bt(r),e.audioTimestampRolloverStream&&e.audioTimestampRolloverStream.discontinuity()),s&&(e.videoSegmentStream&&(e.videoSegmentStream.gopCache_=[]),s.timelineStartInfo.dts=void 0,s.timelineStartInfo.pts=void 0,bt(s),e.captionStream.reset()),e.timestampRolloverStream&&e.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(t){r&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(t)},this.setRemux=function(t){var e=this.transmuxPipeline_;n.remux=t,e&&e.coalesceStream&&e.coalesceStream.setRemux(t)},this.alignGopsWith=function(t){s&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(t)},this.push=function(t){var e;i&&((e=ge(t))&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():e||"t
1s"===this.transmuxPipeline_.type||this.setupTsPipeline(),i=!1),this.transmuxPipeline_.headOfPipeline.push(t)},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()}}).prototype=new B;var _e={Transmuxer:ce,VideoSegmentStream:de,AudioSegmentStream:ye,AUDIO_PROPERTIES:pe,VIDEO_PROPERTIES:fe,generateVideoSegmentTimingInfo:le}.Transmuxer,be={Adts:Jt,h264:Et},we=lt,Et=function t(s,r){var o=[],a=0,l=0,d=0,c=1/0,u=null,h=null;r=r||{},t.prototype.init.call(this),this.push=function(e){Tt(s,e),s&&pe.forEach(function(t){s[t]=e[t]}),o.push(e)},this.setEarliestDts=function(t){l=t},this.setVideoBaseMediaDecodeTime=function(t){c=t},this.setAudioAppendStart=function(t){d=t},this.processFrames_=function(){var t,e,i,n;0!==o.length&&0!==(n=gt(o,s,l)).length&&(s.baseMediaDecodeTime=wt(s,r.keepOriginalTimestamps),mt(s,n,d,c),s.samples=vt(n),e=V(yt(n)),o=[],t=Y(a,[s]),a++,s.initSegment=G([s]),(i=new Uint8Array(t.byteLength+e.byteLength)).set(t),i.set(e,t.byteLength),bt(s),null===u&&(h=u=n[0].pts),h+=n.length*(1024*we/s.samplerate),n={start:u},this.trigger("timingInfo",n),this.trigger("data",{track:s,boxes:i}))},this.flush=function(){this.processFrames_(),this.trigger("timingInfo",{start:u,end:h}),this.resetTiming_(),this.trigger("done","AudioSegmentStream")},this.partialFlush=function(){this.processFrames_(),this.trigger("partialdone","AudioSegmentStream")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline","AudioSegmentStream")},this.resetTiming_=function(){bt(s),h=u=null},this.reset=function(){this.resetTiming_(),o=[],this.trigger("reset")}};Et.prototype=new B;var Te=Et,Et=function t(a,l){var e,i,d,c=0,u=[],h=[],p=null,f=null,m=!0;l=l||{},t.prototype.init.call(this),this.push=function(t){Tt(a,t),void 0===a.timelineStartInfo.dts&&(a.timelineStartInfo.dts=t.dts),"seq_parameter_set_rbsp"!==t.nalUnitType||e||(e=t.config,a.sps=[t.data],fe.forEach(function(t){a[t]=e[t]},this)),"pic_parameter_set_rbsp"!==t.nalUnitType||i||(i=t.data,a.pps=[t.data]),u.push(t)},this.processNals_=function(t){var e;for(u=h.concat(u);u.length&&"access_unit_delimiter_rbsp"!==u[0].nalUnitType;)u.shift();if(0!==u.length){var i=K(u);if(i.length)if(h=i[i.length-1],t&&(i.pop(),i.duration-=h.duration,i.nalCount-=h.length,i.byteLength-=h.byteLength),i.length){if(this.trigger("timelineStartInfo",a.timelineStartInfo),m){if(!(d=X(i))[0][0].keyFrame){if(!(d=Q(d))[0][0].keyFrame)return u=[].concat.apply([],i).concat(h),void(h=[]);(i=[].concat.apply([],d)).duration=d.duration}m=!1}for(null===p&&(p=i[0].pts,f=p),f+=i.duration,this.trigger("timingInfo",{start:p,end:f}),e=0;e<i.length;e++){var n=i[e];a.samples=tt(n);var s=V(et(n));bt(a),Tt(a,n),a.baseMediaDecodeTime=wt(a,l.keepOriginalTimestamps);var r=Y(c,[a]);c++,a.initSegment=G([a]);var o=new Uint8Array(r.byteLength+s.byteLength);o.set(r),o.set(s,r.byteLength),this.trigger("data",{track:a,boxes:o,sequence:c,videoFrameDts:n.dts,videoFramePts:n.pts})}u=[]}else u=[]}},this.resetTimingAndConfig_=function(){i=e=void 0,f=p=null},this.partialFlush=function(){this.processNals_(!0),this.trigger("partialdone","VideoSegmentStream")},this.flush=function(){this.processNals_(!1),this.resetTimingAndConfig_(),this.trigger("done","VideoSegmentStream")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline","VideoSegmentStream")},this.reset=function(){this.resetTimingAndConfig_(),h=[],u=[],m=!0,this.trigger("reset")}};Et.prototype=new B;function Ce(t){return t.prototype=new B,t.prototype.init.call(t),t}function Se(e,i){e.on("data",i.trigger.bind(i,"data")),e.on("done",i.trigger.bind(i,"done")),e.on("partialdone",i.trigger.bind(i,"partialdone")),e.on("endedtimeline",i.trigger.bind(i,"endedtimeline")),e.on("audioTimingInfo",i.trigger.bind(i,"audioTimingInfo")),e.on("videoTimingInfo",i.trigger.bind(i,"videoTimingInfo")),e.on("trackinfo",i.trigger.bind(i,"trackinfo")),e.on("id3Frame",function(t){t.dispatchType=e.metadataStream.dispatchType,t.cueTime=dt(t.pts),i.trigger("id3Frame",t)}),e.on("caption",function(t){i.trigger("caption",t)})}var xe=Et,ke=Nt,Nt=function t(o){var a=null,l=!0;o=o||{},t.prototype.init.call(this),o.baseMediaDecodeTime=o.baseMediaDecodeTime||0,this.push=function(t){var e,i,n,s,r;l&&(!(e=ke(t))||a&&"aac"===a.type?e||a&&"ts"===a.type||(i=o,(n={type:"ts",tracks:{audio:null,video:null},packet:new Yt.TransportPacketStream,parse:new Yt.TransportParseStream,elementary:new Yt.ElementaryStream,timestampRollover:new Yt.TimestampRolloverStream,adts:new be.Adts,h264:new be.h264.H264Stream,captionStream:new Yt.CaptionStream,metadataStream:new Yt.MetadataStream}).headOfPipeline=n.packet,n.packet.pipe(n.parse).pipe(n.elementary).pipe(n.timestampRollover),n.timestampRollover.pipe(n.h264),n.h264.pipe(n.captionStream),n.timestampRollover.pipe(n.metadataStream),n.timestampRollover.pipe(n.adts),n.elementary.on("data",function(t){if("metadata"===t.type){for(var e=0;e<t.tracks.length;e++)n.tracks[t.tracks[e].type]||(n.tracks[t.tracks[e].type]=t.tracks[e],n.tracks[t.tracks[e].type].timelineStartInfo.baseMediaDecodeTime=i.baseMediaDecodeTime);n.tracks.video&&!n.videoSegmentStream&&(n.videoSegmentStream=new xe(n.tracks.video,i),n.videoSegmentStream.on("timelineStartInfo",function(t){n.tracks.audio&&!i.keepOriginalTimestamps&&n.audioSegmentStream.setEarliestDts(t.dts-i.baseMediaDecodeTime)}),n.videoSegmentStream.on("timingInfo",n.trigger.bind(n,"videoTimingInfo")),n.videoSegmentStream.on("data",function(t){n.trigger("data",{type:"video",data:t})}),n.videoSegmentStream.on("done",n.trigger.bind(n,"done")),n.videoSegmentStream.on("partialdone",n.trigger.bind(n,"partialdone")),n.videoSegmentStream.on("endedtimeline",n.trigger.bind(n,"endedtimeline")),n.h264.pipe(n.videoSegmentStream)),n.tracks.audio&&!n.audioSegmentStream&&(n.audioSegmentStream=new Te(n.tracks.audio,i),n.audioSegmentStream.on("data",function(t){n.trigger("data",{type:"audio",data:t})}),n.audioSegmentStream.on("done",n.trigger.bind(n,"done")),n.audioSegmentStream.on("partialdone",n.trigger.bind(n,"partialdone")),n.audioSegmentStream.on("endedtimeline",n.trigger.bind(n,"endedtimeline")),n.audioSegmentStream.on("timingInfo",n.trigger.bind(n,"audioTimingInfo")),n.adts.pipe(n.audioSegmentStream)),n.trigger("trackinfo",{hasAudio:!!n.tracks.audio,hasVideo:!!n.tracks.video})}}),n.captionStream.on("data",function(t){var e=n.tracks.video&&n.tracks.video.timelineStartInfo.pts||0;t.startTime=ht(t.startPts,e,i.keepOriginalTimestamps),t.endTime=ht(t.endPts,e,i.keepOriginalTimestamps),n.trigger("caption",t)}),(n=Ce(n)).metadataStream.on("data",n.trigger.bind(n,"id3Frame")),Se(a=n,this)):(s=o,(r={type:"aac",tracks:{audio:null},metadataStream:new Yt.MetadataStream,aacStream:new he,audioRollover:new Yt.TimestampRolloverStream("audio"),timedMetadataRollover:new Yt.TimestampRolloverStream("timed-metadata"),adtsStream:new Jt(!0)}).headOfPipeline=r.aacStream,r.aacStream.pipe(r.audioRollover).pipe(r.adtsStream),r.aacStream.pipe(r.timedMetadataRollover).pipe(r.metadataStream),r.metadataStream.on("timestamp",function(t){r.aacStream.setTimestamp(t.timeStamp)}),r.aacStream.on("data",function(t){"timed-metadata"!==t.type&&"audio"!==t.type||r.audioSegmentStream||(r.tracks.audio=r.tracks.audio||{timelineStartInfo:{baseMediaDecodeTime:s.baseMediaDecodeTime},codec:"adts",type:"audio"},r.audioSegmentStream=new Te(r.tracks.audio,s),r.audioSegmentStream.on("data",function(t){r.trigger("data",{type:"audio",data:t})}),r.audioSegmentStream.on("partialdone",r.trigger.bind(r,"partialdone")),r.audioSegmentStream.on("done",r.trigger.bind(r,"done")),r.audioSegmentStream.on("endedtimeline",r.trigger.bind(r,"endedtimeline")),r.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),r.adtsStream.pipe(r.audioSegmentStream),r.trigger("trackinfo",{hasAudio:!!r.tracks.audio,hasVideo:!!r.tracks.video}))}),(r=Ce(r)).metadataStream.on("data",r.trigger.bind(r,"id3Frame")),Se(a=r,this)),l=!1),a.headOfPipeline.push(t)},this.flush=function(){a&&(l=!0,a.headOfPipeline.flush())},this.partialFlush=function(){a&&a.headOfPipeline.partialFlush()},this.endTimeline=function(){a&&a.headOfPipeline.endTimeline()},this.reset=function(){a&&a.headOfPipeline.reset()},this.setBaseMediaDecodeTime=function(t){o.keepOriginalTimestamps||(o.baseMediaDecodeTime=t),a&&(a.tracks.audio&&(a.tracks.audio.timelineStartInfo.dts=void 0,a.tracks.audio.timelineStartInfo.pts=void 0,bt(a.tracks.audio),a.audioR
1ollover&&a.audioRollover.discontinuity()),a.tracks.video&&(a.videoSegmentStream&&(a.videoSegmentStream.gopCache_=[]),a.tracks.video.timelineStartInfo.dts=void 0,a.tracks.video.timelineStartInfo.pts=void 0,bt(a.tracks.video)),a.timestampRollover&&a.timestampRollover.discontinuity())},this.setRemux=function(t){o.remux=t,a&&a.coalesceStream&&a.coalesceStream.setRemux(t)},this.setAudioAppendStart=function(t){a&&a.tracks.audio&&a.audioSegmentStream&&a.audioSegmentStream.setAudioAppendStart(t)},this.alignGopsWith=function(t){}};Nt.prototype=new B;function $e(t,c){var i=Pe(t,["moof","traf"]),t=Pe(t,["mdat"]),u={},n=[];return t.forEach(function(t,e){e=i[e];n.push({mdat:t,traf:e})}),n.forEach(function(t){var e,i,n,s,r,o=t.mdat,a=t.traf,l=Pe(a,["tfhd"]),d=Re(l[0]),t=d.trackId,l=Pe(a,["tfdt"]),l=0<l.length?Oe(l[0]).baseMediaDecodeTime:0,a=Pe(a,["trun"]);c===t&&0<a.length&&(a=a,e=l,i=(d=d).defaultSampleDuration||0,n=d.defaultSampleSize||0,s=d.trackId,r=[],a.forEach(function(t){t=Ne(t).samples;t.forEach(function(t){void 0===t.duration&&(t.duration=i),void 0===t.size&&(t.size=n),t.trackId=s,t.dts=e,void 0===t.compositionTimeOffset&&(t.compositionTimeOffset=0),t.pts=e+t.compositionTimeOffset,e+=t.duration}),r=r.concat(t)}),o=function(t,e,i){for(var n,s,r=new DataView(t.buffer,t.byteOffset,t.byteLength),o=[],a=0;a+4<t.length;a+=n)if(n=r.getUint32(a),a+=4,!(n<=0))switch(31&t[a]){case 6:var l=t.subarray(a+1,a+1+n),d=function(t,e){for(var i=t,n=0;n<e.length;n++){var s=e[n];if(i<s.size)return s;i-=s.size}return null}(a,e),l={nalUnitType:"sei_rbsp",size:n,data:l,escapedRBSP:Fe(l),trackId:i};if(d)l.pts=d.pts,l.dts=d.dts,s=d;else{if(!s){console.log("We've encountered a nal unit without data. See mux.js#233.");break}l.pts=s.pts,l.dts=s.dts}o.push(l)}return o}(o,r,t),u[t]||(u[t]=[]),u[t]=u[t].concat(o))}),u}function Ee(t){return"AudioSegmentStream"===t?"audio":"VideoSegmentStream"===t?"video":""}var De=Nt,Nt=function(t){return t>>>0},Ie=function(t){var e="";return e+=String.fromCharCode(t[0]),e+=String.fromCharCode(t[1]),e+=String.fromCharCode(t[2]),e+=String.fromCharCode(t[3])},Ae=Nt,Pe=function t(e,i){var n,s,r,o=[];if(!i.length)return null;for(n=0;n<e.byteLength;)s=Ae(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]),r=Ie(e.subarray(n+4,n+8)),s=1<s?n+s:e.byteLength,r===i[0]&&(1===i.length?o.push(e.subarray(n+8,s)):(r=t(e.subarray(n+8,s),i.slice(1))).length&&(o=o.concat(r))),n=s;return o},Me=Nt,Oe=function(t){var e={version:t[0],flags:new Uint8Array(t.subarray(1,4)),baseMediaDecodeTime:Me(t[4]<<24|t[5]<<16|t[6]<<8|t[7])};return 1===e.version&&(e.baseMediaDecodeTime*=Math.pow(2,32),e.baseMediaDecodeTime+=Me(t[8]<<24|t[9]<<16|t[10]<<8|t[11])),e},Le=function(t){return{isLeading:(12&t[0])>>>2,dependsOn:3&t[0],isDependedOn:(192&t[1])>>>6,hasRedundancy:(48&t[1])>>>4,paddingValue:(14&t[1])>>>1,isNonSyncSample:1&t[1],degradationPriority:t[2]<<8|t[3]}},Ne=function(t){var e,i={version:t[0],flags:new Uint8Array(t.subarray(1,4)),samples:[]},n=new DataView(t.buffer,t.byteOffset,t.byteLength),s=1&i.flags[2],r=4&i.flags[2],o=1&i.flags[1],a=2&i.flags[1],l=4&i.flags[1],d=8&i.flags[1],c=n.getUint32(4),u=8;for(s&&(i.dataOffset=n.getInt32(u),u+=4),r&&c&&(e={flags:Le(t.subarray(u,u+4))},u+=4,o&&(e.duration=n.getUint32(u),u+=4),a&&(e.size=n.getUint32(u),u+=4),d&&(1===i.version?e.compositionTimeOffset=n.getInt32(u):e.compositionTimeOffset=n.getUint32(u),u+=4),i.samples.push(e),c--);c--;)e={},o&&(e.duration=n.getUint32(u),u+=4),a&&(e.size=n.getUint32(u),u+=4),l&&(e.flags=Le(t.subarray(u,u+4)),u+=4),d&&(1===i.version?e.compositionTimeOffset=n.getInt32(u):e.compositionTimeOffset=n.getUint32(u),u+=4),i.samples.push(e);return i},Re=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),i={version:t[0],flags:new Uint8Array(t.subarray(1,4)),trackId:e.getUint32(4)},n=1&i.flags[2],s=2&i.flags[2],r=8&i.flags[2],o=16&i.flags[2],a=32&i.flags[2],l=65536&i.flags[0],d=131072&i.flags[0],t=8;return n&&(t+=4,i.baseDataOffset=e.getUint32(12),t+=4),s&&(i.sampleDescriptionIndex=e.getUint32(t),t+=4),r&&(i.defaultSampleDuration=e.getUint32(t),t+=4),o&&(i.defaultSampleSize=e.getUint32(t),t+=4),a&&(i.defaultSampleFlags=e.getUint32(t)),l&&(i.durationIsEmpty=!0),!n&&d&&(i.baseDataOffsetIsMoof=!0),i},Fe=kt,je=t.CaptionStream,Be=function(){var e,o,a,l,d,i,n=!1;this.isInitialized=function(){return n},this.init=function(t){e=new je,n=!0,i=!!t&&t.isPartial,e.on("data",function(t){t.startTime=t.startPts/l,t.endTime=t.endPts/l,d.captions.push(t),d.captionStream
1s[t.stream]=!0})},this.isNewInit=function(t,e){return!(t&&0===t.length||e&&"object"==typeof e&&0===Object.keys(e).length)&&(a!==t[0]||l!==e[a])},this.parse=function(t,e,i){var n,s;if(!this.isInitialized())return null;if(!e||!i)return null;if(this.isNewInit(e,i))a=e[0],l=i[a];else if(null===a||!l)return o.push(t),null;for(;0<o.length;){var r=o.shift();this.parse(r,e,i)}return n=t,s=l,null!==(s=null===(t=a)?null:{seiNals:$e(n,t)[t],timescale:s})&&s.seiNals?(this.pushNals(s.seiNals),this.flushStream(),d):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;i?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){d.captions=[],d.captionStreams={}},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){o=[],l=a=null,d?this.clearParsedCaptions():d={captions:[],captionStreams:{}},this.resetCaptionStream()},this.reset()},He=function(){function t(t,e){this.options=e||{},this.self=t,this.init()}var e=t.prototype;return e.init=function(){var i,n,t;this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new(this.options.handlePartialData?De:_e)(this.options),this.options.handlePartialData?(n=this.self,(t=this.transmuxer).on("data",function(t){var e={data:t.data.track.initSegment.buffer,byteOffset:t.data.track.initSegment.byteOffset,byteLength:t.data.track.initSegment.byteLength},e={boxes:{data:t.data.boxes.buffer,byteOffset:t.data.boxes.byteOffset,byteLength:t.data.boxes.byteLength},initSegment:e,type:t.type,sequence:t.data.sequence};void 0!==t.data.videoFrameDts&&(e.videoFrameDtsTime=ft(t.data.videoFrameDts)),void 0!==t.data.videoFramePts&&(e.videoFramePtsTime=ft(t.data.videoFramePts)),n.postMessage({action:"data",segment:e},[e.boxes.data,e.initSegment.data])}),t.on("id3Frame",function(t){n.postMessage({action:"id3Frame",id3Frame:t})}),t.on("caption",function(t){n.postMessage({action:"caption",caption:t})}),t.on("done",function(t){n.postMessage({action:"done",type:Ee(t)})}),t.on("partialdone",function(t){n.postMessage({action:"partialdone",type:Ee(t)})}),t.on("endedsegment",function(t){n.postMessage({action:"endedSegment",type:Ee(t)})}),t.on("trackinfo",function(t){n.postMessage({action:"trackinfo",trackInfo:t})}),t.on("audioTimingInfo",function(t){var e;null!==t.start?(e={start:ft(t.start)},t.end&&(e.end=ft(t.end)),n.postMessage({action:"audioTimingInfo",audioTimingInfo:e})):n.postMessage({action:"audioTimingInfo",audioTimingInfo:t})}),t.on("videoTimingInfo",function(t){var e={start:ft(t.start)};t.end&&(e.end=ft(t.end)),n.postMessage({action:"videoTimingInfo",videoTimingInfo:e})})):(i=this.self,(t=this.transmuxer).on("data",function(t){var e=t.initSegment;t.initSegment={data:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength};e=t.data;t.data=e.buffer,i.postMessage({action:"data",segment:t,byteOffset:e.byteOffset,byteLength:e.byteLength},[t.data])}),t.on("done",function(t){i.postMessage({action:"done"})}),t.on("gopInfo",function(t){i.postMessage({action:"gopInfo",gopInfo:t})}),t.on("videoSegmentTimingInfo",function(t){var e={start:{decode:ft(t.
vendor: 9,809 bytes, line 1
1start.dts),presentation:ft(t.start.pts)},end:{decode:ft(t.end.dts),presentation:ft(t.end.pts)},baseMediaDecodeTime:ft(t.baseMediaDecodeTime)};t.prependedContentDuration&&(e.prependedContentDuration=ft(t.prependedContentDuration)),i.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:e})}),t.on("id3Frame",function(t){i.postMessage({action:"id3Frame",id3Frame:t})}),t.on("caption",function(t){i.postMessage({action:"caption",caption:t})}),t.on("trackinfo",function(t){i.postMessage({action:"trackinfo",trackInfo:t})}),t.on("audioTimingInfo",function(t){i.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:ft(t.start),end:ft(t.end)}})}),t.on("videoTimingInfo",function(t){i.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:ft(t.start),end:ft(t.end)}})}))},e.pushMp4Captions=function(t){this.captionParser||(this.captionParser=new Be,this.captionParser.init());var e=new Uint8Array(t.data,t.byteOffset,t.byteLength),t=this.captionParser.parse(e,t.trackIds,t.timescales);this.self.postMessage({action:"mp4Captions",captions:t&&t.captions||[],data:e.buffer},[e.buffer])},e.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},e.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},e.push=function(t){t=new Uint8Array(t.data,t.byteOffset,t.byteLength);this.transmuxer.push(t)},e.reset=function(){this.transmuxer.reset()},e.setTimestampOffset=function(t){t=t.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(pt(t)))},e.setAudioAppendStart=function(t){this.transmuxer.setAudioAppendStart(Math.ceil(pt(t.appendStart)))},e.setRemux=function(t){this.transmuxer.setRemux(t.remux)},e.flush=function(){this.transmuxer.flush(),Ue.postMessage({action:"done",type:"transmuxed"})},e.partialFlush=function(){this.transmuxer.partialFlush(),Ue.postMessage({action:"partialdone",type:"transmuxed"})},e.endTimeline=function(){this.transmuxer.endTimeline(),Ue.postMessage({action:"endedtimeline",type:"transmuxed"})},e.alignGopsWith=function(t){this.transmuxer.alignGopsWith(t.gopsToAlignWith.slice())},t}();new function(e){e.onmessage=function(t){"init"===t.data.action&&t.data.options?this.messageHandlers=new He(e,t.data.options):(this.messageHandlers||(this.messageHandlers=new He(e)),t.data&&t.data.action&&"init"!==t.data.action&&this.messageHandlers[t.data.action]&&this.messageHandlers[t.data.action](t.data))}}(Ue)}()}),Xl=Fl("PlaylistSelector"),Ql=function(n){function t(t,e){var i=n.call(this)||this;if(!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 i.bandwidth=t.bandwidth,i.throughput={rate:0,count:0},i.roundTrip=NaN,i.resetStats_(),i.mediaIndex=null,i.hasPlayed_=t.hasPlayed,i.currentTime_=t.currentTime,i.seekable_=t.seekable,i.seeking_=t.seeking,i.duration_=t.duration,i.mediaSource_=t.mediaSource,i.vhs_=t.vhs,i.loaderType_=t.loaderType,i.currentMediaInfo_=void 0,i.startingMediaInfo_=void 0,i.segmentMetadataTrack_=t.segmentMetadataTrack,i.goalBufferLength_=t.goalBufferLength,i.sourceType_=t.sourceType,i.sourceUpdater_=t.sourceUpdater,i.inbandTextTracks_=t.inbandTextTracks,i.state_="INIT",i.handlePartialData_=t.handlePartialData,i.timelineChangeController_=t.timelineChangeController,i.shouldSaveSegmentTimingInfo_=!0,i.checkBufferTimeout_=null,i.error_=void 0,i.currentTimeline_=-1,i.pendingSegment_=null,i.xhrOptions_=null,i.pendingSegments_=[],i.audioDisabled_=!1,i.isPendingTimestampOffset_=!1,i.gopBuffer_=[],i.timeMapping_=0,i.safeAppend_=11<=Zn.browser.IE_VERSION,i.appendInitSegment_={audio:!0,video:!0},i.playlistOfLastInitSegment_={audio:null,video:null},i.callQueue_=[],i.loadQueue_=[],i.metadataQueue_={id3:[],caption:[]},i.activeInitSegmentId_=null,i.initSegments_={},i.cacheEncryptionKeys_=t.cacheEncryptionKeys,i.keyCache_={},i.decrypter_=t.decrypter,i.syncController_=t.syncController,i.syncPoint_={segmentIndex:0,time:0},i.transmuxer_=i.createTransmuxer_(),i.triggerSyncInfoUpdate_=function(){return i.trigger("syncinfoupdate")},i.syncController_.on("syncinfoupdate",i.triggerSyncInfoUpdate_),i.mediaSource_.addEventListener("sourceopen",function(){i.isEndOfStream_()||(i.ended_=!1)}),i.fetchAtBuffer_=!1,i.logger_=Fl("SegmentLoader["+i.loaderType_+"]"),Object.defineProperty(Bt(i),"state",{get:function(){return this.state_},set:function(t){t!==this.state_&&(this.logger_(this.state_+" -> "+t),this.state_=t,this.trigger("statechange"))}}),i.sourceUpdater_.on("ready",function(){i.hasEnoughInfoToAppend_()&&i.processCallQueue_()}),"main"===i.loaderType_&&i.timelineChangeController_.on("pendingtimelinechange",function(){i.hasEnoughInfoToAppend_()&&i.processCallQueue_()}),"audio"===i.loaderType_&&i.timelineChangeController_.on("timelinechange",function(){i.hasEnoughInfoToLoad_()&&i.processLoadQueue_(),i.hasEnoughInfoToAppend_()&&i.processCallQueue_()}),i}Ht(t,n);var e=t.prototype;return e.createTransmuxer_=function(){var t=new Kl;return t.postMessage({action:"init",options:{remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,handlePartialData:this.handlePartialData_}}),t},e.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0},e.dispose=function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&(this.transmuxer_.terminate(),wl()),this.resetStats_(),this.checkBufferTimeout_&&g.clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},e.setAudio=function(t){this.audioDisabled_=!t,t?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},e.abort=function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},e.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_)},e.checkForAbort_=function(t){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==t:(this.state="READY",!0)},e.error=function(t){return void 0!==t&&(this.logger_("error occurred:",t),this.error_=t),this.pendingSegment_=null,this.error_},e.endOfStream=function(){this.ended_=!0,this.transmuxer_&&bl(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},e.buffered_=function(){if(!this.sourceUpdater_||!this.startingMediaInfo_)return Zn.createTimeRanges();if("main"===this.loaderType_){var t=this.startingMediaInfo_,e=t.hasAudio,i=t.hasVideo,t=t.isMuxed;if(i&&e&&!this.audioDisabled_&&!t)return this.sourceUpdater_.buffered();if(i)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},e.initSegmentForMap=function(t,e){if(void 0===e&&(e=!1),!t)return null;var i=xa(t),n=this.initSegments_[i];return e&&!n&&t.bytes&&(this.initSegments_[i]=n={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:t.bytes,tracks:t.tracks,timescales:t.timescales}),n||t},e.segmentKey=function(t,e){if(void 0===e&&(e=!1),!t)return null;var i=ka(t),n=this.keyCache_[i];this.cacheEncryptionKeys_&&e&&!n&&t.bytes&&(this.keyCache_[i]=n={resolvedUri:t.resolvedUri,bytes:t.bytes});t={resolvedUri:(n||t).resolvedUri};return n&&(t.bytes=n.bytes),t},e.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},e.load=function(){if(this.monitorBuffer_(),this.playlist_){if(this.syncController_.setDateTimeMapping(this.playlist_),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY")}},e.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},e.playlist=function(t,e){if(void 0===e&&(e={}),t){var i=this.playlist_,n=this.pendingSegment_;this.playlist_=t,this.xhrOptions_=e,"INIT"===this.state&&(t.syncInfo={mediaSequence:t.mediaSequence,time:0});e=null;if(i&&(i.id?e=i.id:i.uri&&(e=i.uri)),this.logger_("playlist update ["+e+" => "+(t.id||t.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!i||i.uri!==t.uri)return null===this.mediaIndex&&!this.handlePartialData_||this.resyncLoader(),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");e=t.mediaSequence-i.mediaSequence;this.logger_("live window shift ["+e+"]"),null!==this.mediaIndex&&(this.mediaIndex-=e),n&&(n.mediaIndex-=e,0<=n.mediaIndex&&(n.segment=t.segments[n.mediaIndex])),this.syncController_.saveExpiredSegmentInfo(i,t)}},e.pause=function(){this.checkBufferTimeout_&&(g.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},e.paused=function(){return null===this.checkBufferTimeout_},e.resetEverything=function(t){this.ended_=!1,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,t),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"})},e.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},e.resyncLoader=function(){this.transmuxer_&&bl(this.transmuxer_),this.mediaIndex=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"})}
1,e.remove=function(t,e,i){if(void 0===i&&(i=function(){}),e===1/0&&(e=this.duration_()),this.sourceUpdater_&&this.currentMediaInfo_){var n,s=1,r=function(){0===--s&&i()};for(n in this.audioDisabled_||(s++,this.sourceUpdater_.removeAudio(t,e,r)),"main"===this.loaderType_&&this.currentMediaInfo_&&this.currentMediaInfo_.hasVideo&&(this.gopBuffer_=function(t,e,i,n){for(var s=Math.ceil((e-n)*Do),r=Math.ceil((i-n)*Do),n=t.slice(),o=t.length;o--&&!(t[o].pts<=r););if(-1===o)return n;for(var a=o+1;a--&&!(t[a].pts<=s););return a=Math.max(a,0),n.splice(a,o-a+1),n}(this.gopBuffer_,t,e,this.timeMapping_),s++,this.sourceUpdater_.removeVideo(t,e,r)),this.inbandTextTracks_)ql(t,e,this.inbandTextTracks_[n]);ql(t,e,this.segmentMetadataTrack_),r()}},e.monitorBuffer_=function(){this.checkBufferTimeout_&&g.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=g.setTimeout(this.monitorBufferTick_.bind(this),1)},e.monitorBufferTick_=function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&g.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=g.setTimeout(this.monitorBufferTick_.bind(this),500)},e.fillBuffer_=function(){var t,e;this.sourceUpdater_.updating()||(this.syncPoint_||(this.syncPoint_=this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_())),t=this.buffered_(),(e=this.checkBuffer_(t,this.playlist_,this.mediaIndex,this.hasPlayed_(),this.currentTime_(),this.syncPoint_))&&(e.timestampOffset=Yl({segmentTimeline:e.timeline,currentTimeline:this.currentTimeline_,startOfSegment:e.startOfSegment,buffered:t,overrideCheck:this.isPendingTimestampOffset_}),this.isPendingTimestampOffset_=!1,"number"==typeof e.timestampOffset&&this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),this.loadSegment_(e)))},e.isEndOfStream_=function(t,e){if(void 0===t&&(t=this.mediaIndex),void 0===e&&(e=this.playlist_),!e||!this.mediaSource_)return!1;t=t+1===e.segments.length;return e.endList&&"open"===this.mediaSource_.readyState&&t},e.checkBuffer_=function(t,e,i,n,s,r){var o=0;t.length&&(o=t.end(t.length-1));t=Math.max(0,o-s);if(!e.segments.length)return null;if(t>=this.goalBufferLength_())return null;if(!n&&1<=t)return null;var a,n=null,t=!1;null===r?(n=this.getSyncSegmentCandidate_(e),t=!0):null!==i?(a=(a=e.segments[i])&&a.end?a.end:o,n=i+1):a=this.fetchAtBuffer_?(n=(o=hl.getMediaInfoForTime(e,o,r.segmentIndex,r.time)).mediaIndex,o.startTime):(n=(l=hl.getMediaInfoForTime(e,s,r.segmentIndex,r.time)).mediaIndex,l.startTime);var l=this.generateSegmentInfo_(e,n,a,t);return!l||this.mediaSource_&&this.playlist_&&l.mediaIndex===this.playlist_.segments.length-1&&"ended"===this.mediaSource_.readyState&&!this.seeking_()?void 0:(this.logger_("checkBuffer_ returning "+l.uri,{segmentInfo:l,playlist:e,currentMediaIndex:i,nextMediaIndex:n,startOfSegment:a,isSyncRequest:t}),l)},e.getSyncSegmentCandidate_=function(t){var e=this;if(-1===this.currentTimeline_)return 0;var i=t.segments.map(function(t,e){return{timeline:t.timeline,segmentIndex:e}}).filter(function(t){return t.timeline===e.currentTimeline_});return i.length?i[Math.min(i.length-1,1)].segmentIndex:Math.max(t.segments.length-1,0)},e.generateSegmentInfo_=function(t,e,i,n){if(e<0||e>=t.segments.length)return null;var s,r,o=t.segments[e],a=this.sourceUpdater_.audioBuffered(),l=this.sourceUpdater_.videoBuffered();return a.length&&(s=a.end(a.length-1)-this.sourceUpdater_.audioTimestampOffset()),l.length&&(r=function(t,e,i){if(null==e||!t.length)return[];for(var n=Math.ceil((e-i+3)*Do),s=0;s<t.length&&!(t[s].pts>n);s++);return t.slice(s)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),{requestId:"segment-loader-"+Math.random(),uri:o.resolvedUri,mediaIndex:e,isSyncRequest:n,startOfSegment:i,playlist:t,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:o.timeline,duration:o.duration,segment:o,byteLength:0,transmuxer:this.transmuxer_,audioAppendStart:s,gopsToAlignWith:r}},e.abortRequestEarly_=function(t){if(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH)return!1;if(Date.now()-(t.firstBytesReceivedAt||Date.now())<1e3)return!1;var e,i,n=this.currentTime_(),s=t.bandwidth,r=this.pendingSegment_.duration,o=hl.estimateSegmentRequestTime(r,s,this.playlist_,t.bytesReceived),t=(e=this.buffered_(),i=n,void 0===(t=this.vhs_.tech_.playbackRate())&&
1(t=1),((e.length?e.end(e.length-1):0)-i)/t-1);if(o<=t)return!1;r=function(t){var e=t.master,i=t.currentTime,n=t.bandwidth,s=t.duration,r=t.segmentDuration,o=t.timeUntilRebuffer,a=t.currentTimeline,l=t.syncController,t=e.playlists.filter(function(t){return!hl.isIncompatible(t)}),e=t.filter(hl.isEnabled);e.length||(e=t.filter(function(t){return!hl.isDisabled(t)}));t=e.filter(hl.hasAttribute.bind(null,"BANDWIDTH")).map(function(t){var e=l.getSyncPoint(t,s,a,i)?1:2;return{playlist:t,rebufferingImpact:hl.estimateSegmentRequestTime(r,n,t)*e-o}}),e=t.filter(function(t){return t.rebufferingImpact<=0});return Hl(e,function(t,e){return Ul(e.playlist,t.playlist)}),e.length?e[0]:(Hl(t,function(t,e){return t.rebufferingImpact-e.rebufferingImpact}),t[0]||null)}({master:this.vhs_.playlists.master,currentTime:n,bandwidth:s,duration:this.duration_(),segmentDuration:r,timeUntilRebuffer:t,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(r){o=o-t-r.rebufferingImpact,t=t<=1/30?1:.5;return!r.playlist||r.playlist.uri===this.playlist_.uri||o<t?!1:(this.bandwidth=r.playlist.attributes.BANDWIDTH*vl.BANDWIDTH_VARIANCE+1,this.abort(),this.trigger("earlyabort"),!0)}},e.handleAbort_=function(){this.mediaRequestsAborted+=1},e.handleProgress_=function(t,e){this.checkForAbort_(e.requestId)||this.abortRequestEarly_(e.stats)||this.trigger("progress")},e.handleTrackInfo_=function(t,e){this.checkForAbort_(t.requestId)||this.abortRequestEarly_(t.stats)||this.checkForIllegalMediaSwitch(e)||(e=e||{},function(t,e){if(!t&&!e||!t&&e||t&&!e)return!1;if(t===e)return!0;var i=Object.keys(t).sort(),n=Object.keys(e).sort();if(i.length!==n.length)return!1;for(var s=0;s<i.length;s++){var r=i[s];if(r!==n[s])return!1;if(t[r]!==e[r])return!1}return!0}(this.currentMediaInfo_,e)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=e,this.currentMediaInfo_=e,this.logger_("trackinfo update",e),this.trigger("trackinfo")),this.checkForAbort_(t.requestId)||this.abortRequestEarly_(t.stats)||(this.pendingSegment_.trackInfo=e,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))},e.handleTimingInfo_=function(t,e,i,n){var s;this.checkForAbort_(t.requestId)||this.abortRequestEarly_(t.stats)||((s=this.pendingSegment_)[t=Vl(e)]=s[t]||{},s[t][i]=n,this.logger_("timinginfo: "+e+" - "+i+" - "+n),this.hasEnoughInfoToAppend_()&&this.processCallQueue_())},e.handleCaptions_=function(t,e){var h,p,f=this;this.checkForAbort_(t.requestId)||this.abortRequestEarly_(t.stats)||(0!==e.length?this.pendingSegment_.hasAppendedData_?(h=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),p={},e.forEach(function(t){p[t.stream]=p[t.stream]||{startTime:1/0,captions:[],endTime:0};var e=p[t.stream];e.startTime=Math.min(e.startTime,t.startTime+h),e.endTime=Math.max(e.endTime,t.endTime+h),e.captions.push(t)}),Object.keys(p).forEach(function(t){var e,i,n,s,r,o,a=p[t],l=a.startTime,d=a.endTime,c=a.captions,u=f.inbandTextTracks_;f.logger_("adding cues from "+l+" -> "+d+" for "+t),e=u,i=f.vhs_.tech_,e[n=t]||(i.trigger({type:"usage",name:"vhs-608"}),i.trigger({type:"usage",name:"hls-608"}),a=i.textTracks().getTrackById(n),e[n]=a||i.addRemoteTextTrack({kind:"captions",id:n,label:n},!1).track),ql(l,d,u[t]),r=(c={captionArray:c,inbandTextTracks:u,timestampOffset:h}).inbandTextTracks,u=c.captionArray,o=c.timestampOffset,u&&(s=g.WebKitDataCue||g.VTTCue,u.forEach(function(t){var e=t.stream;r[e].addCue(new s(t.startTime+o,t.endTime+o,t.text))}))}),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})):this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,t,e)):this.logger_("SegmentLoader received no captions from a caption event"))},e.handleId3_=function(t,e,i){var n,s,r,o;this.checkForAbort_(t.requestId)||this.abortRequestEarly_(t.stats)||(this.pendingSegment_.hasAppendedData_?(n=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),s=this.inbandTextTracks_,r=i,o=this.vhs_.tech_,s.metadataTrack_||(s.metadataTrack_=o.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,s.metadataTrack_.inBandMetadataTrackDispatchType=r),zl({inbandTextTracks:this.inbandTextTracks_,metadataArray:e,timestampOffset:n,videoDuration:this.duration_()})):this.metadataQueue_.id3.push(this.handleId3_.bind(this,t,e,i)))},e.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach(function(t){return t()}),this.metadataQueue_.caption.forEach(function(t){return t()}),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},e.processCallQueue_=function(){var t=this.callQueue_;this.callQueue_=[],t.forEach(function(t){return t()})},e.processLoadQueue_=function(){var t=this.loadQueue_;this.loadQueue_=[],t.forEach(function(t){return t()})},e.hasEnoughInfoToLoad_=function(){if("audio"!==this.loaderType_)return!0;var t=this.pendingSegment_;return!!t&&(!this.currentMediaInfo_||!Gl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},e.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready())return!1;var t=this.pendingSegment_;if(!t||!t.trackInfo)return!1;if(!this.handlePartialData_){var e=this.currentMediaInfo_,i=e.hasAudio,n=e.hasVideo,e=e.isMuxed;if(n&&!t.videoTimingInfo)return!1;if(i&&!this.audioDisabled_&&!e&&!t.audioTimingInfo)return!1}return!Gl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_})},e.handleData_=function(t,e){var i,n,s;this.checkForAbort_(t.requestId)||this.abortRequestEarly_(t.stats)||(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()?(i=this.pendingSegment_,this.setTimeMapping_(i.timeline),this.updateMediaSecondsLoaded_(i.segment),"closed"!==this.mediaSource_.readyState&&(t.map&&(t.map=this.initSegmentForMap(t.map,!0),i.segment.map=t.map),t.key&&this.segmentKey(t.key,!0),i.isFmp4=t.isFmp4,
1i.timingInfo=i.timingInfo||{},i.isFmp4?(this.trigger("fmp4"),i.timingInfo.start=i[Vl(e.type)].start):((n="main"===this.loaderType_&&this.currentMediaInfo_.hasVideo)&&(s=this.handlePartialData_?e.videoFramePtsTime:i.videoTimingInfo.start),i.timingInfo.start=this.trueSegmentStart_({currentStart:i.timingInfo.start,playlist:i.playlist,mediaIndex:i.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:n,firstVideoFrameTimeForData:s,videoTimingInfo:i.videoTimingInfo,audioTimingInfo:i.audioTimingInfo})),this.updateAppendInitSegmentStatus(i,e.type),this.updateSourceBufferTimestampOffset_(i),i.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(i,e))):this.callQueue_.push(this.handleData_.bind(this,t,e)))},e.updateAppendInitSegmentStatus=function(t,e){"main"!==this.loaderType_||"number"!=typeof t.timestampOffset||t.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[e]!==t.playlist&&(this.appendInitSegment_[e]=!0)},e.getInitSegmentAndUpdateState_=function(t){var e=t.type,i=t.initSegment,n=t.map,s=t.playlist;if(n){t=xa(n);if(this.activeInitSegmentId_===t)return null;i=this.initSegmentForMap(n,!0).bytes,this.activeInitSegmentId_=t}return i&&this.appendInitSegment_[e]?(this.playlistOfLastInitSegment_[e]=s,this.appendInitSegment_[e]=!!n,this.activeInitSegmentId_=null,i):null},e.appendToSourceBuffer_=function(t){var e=this,i=t.segmentInfo,n=t.type,s=t.initSegment,r=t.data,t=[r],r=r.byteLength;s&&(t.unshift(s),r+=s.byteLength);var o,a,l=(a=0,(t={bytes:r,segments:t}).bytes&&(o=new Uint8Array(t.bytes),t.segments.forEach(function(t){o.set(t,a),a+=t.byteLength})),o);this.sourceUpdater_.appendBuffer({segmentInfo:i,type:n,bytes:l},function(t){t&&(e.error(n+" append of "+l.length+"b failed for segment #"+i.mediaIndex+" in playlist "+i.playlist.id),e.trigger("appenderror"))})},e.handleVideoSegmentTimingInfo_=function(t,e){this.pendingSegment_&&t===this.pendingSegment_.requestId&&((t=this.pendingSegment_.segment).videoTimingInfo||(t.videoTimingInfo={}),t.videoTimingInfo.transmuxerPrependedSeconds=e.prependedContentDuration||0,t.videoTimingInfo.transmuxedPresentationStart=e.start.presentation,t.videoTimingInfo.transmuxedPresentationEnd=e.end.presentation,t.videoTimingInfo.baseMediaDecodeTime=e.baseMediaDecodeTime)},e.appendData_=function(t,e){var i=e.type,n=e.data;n&&n.byteLength&&("audio"===i&&this.audioDisabled_||(e=this.getInitSegmentAndUpdateState_({type:i,initSegment:e.initSegment,playlist:t.playlist,map:t.isFmp4?t.segment.map:null}),this.appendToSourceBuffer_({segmentInfo:t,type:i,initSegment:e,data:n})))},e.loadSegment_=function(e){var i=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 t=i.buffered_();"number"==typeof e.timestampOffset&&(e.timestampOffset=Yl({segmentTimeline:e.timeline,currentTimeline:i.currentTimeline_,startOfSegment:e.startOfSegment,buffered:t,overrideCheck:!0})),delete e.audioAppendStart;t=i.sourceUpdater_.audioBuffered();t.length&&(e.audioAppendStart=t.end(t.length-1)-i.sourceUpdater_.audioTimestampOffset()),i.updateTransmuxerAndRequestSegment_(e)})},e.updateTransmuxerAndRequestSegment_=function(t){this.shouldUpdateTransmuxerTimestampOffset_(t.timestampOffset)&&(this.gopBuffer_.length=0,t.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:t.timestampOffset}));var e=this.createSimplifiedSegmentObj_(t);t.abortRequests=Ka({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:e,handlePartialData:this.handlePartialData_,abortFn:this.handleAbort_.bind(this),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleVideoSegmentTimingInfo_.b
1ind(this,t.requestId),captionsFn:this.handleCaptions_.bind(this),id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this)})},e.trimBackBuffer_=function(){var t=function(t,e,i){var n=e-vl.BACK_BUFFER_LENGTH;t.length&&(n=Math.max(n,t.start(0)));i=e-i;return Math.min(i,n)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);0<t&&this.remove(0,t)},e.createSimplifiedSegmentObj_=function(t){var e=t.segment,i={resolvedUri:e.resolvedUri,byterange:e.byterange,requestId:t.requestId,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith},n=t.playlist.segments[t.mediaIndex];return n&&n.end&&n.timeline===e.timeline&&(i.baseStartTime=n.end+t.timestampOffset),e.key&&(t=e.key.iv||new Uint32Array([0,0,0,t.mediaIndex+t.playlist.mediaSequence]),i.key=this.segmentKey(e.key),i.key.iv=t),e.map&&(i.map=this.initSegmentForMap(e.map)),i},e.saveTransferStats_=function(t){this.mediaRequests+=1,t&&(this.mediaBytesTransferred+=t.bytesReceived,this.mediaTransferDuration+=t.roundTripTime)},e.saveBandwidthRelatedStats_=function(t){this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime,this.pendingSegment_.byteLength=t.bytesReceived},e.handleTimeout_=function(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate")},e.segmentRequestFinished_=function(t,e,i){if(this.callQueue_.length)this.callQueue_.push(this.segmentRequestFinished_.bind(this,t,e,i));else if(this.saveTransferStats_(e.stats),this.pendingSegment_&&e.requestId===this.pendingSegment_.requestId){if(t)return this.pendingSegment_=null,this.state="READY",t.code===xl?void 0:(this.pause(),t.code===Sl?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(t),void this.trigger("error")));this.saveBandwidthRelatedStats_(e.stats);var n=this.pendingSegment_;n.endOfAllRequests=e.endOfAllRequests,i.gopInfo&&(this.gopBuffer_=function(t,e,i){if(!e.length)return t;if(i)return e.slice();for(var n=e[0].pts,s=0;s<t.length&&!(t[s].pts>=n);s++);return t.slice(0,s).concat(e)}(this.gopBuffer_,i.gopInfo,this.safeAppend_)),this.state="APPENDING";t=this.isEndOfStream_(n.mediaIndex,n.playlist),e=null!==this.mediaIndex,i=n.timeline!==this.currentTimeline_&&0<n.timeline;!n.isFmp4&&(t||e&&i)&&Tl(this.transmuxer_),this.trigger("appending"),this.waitForAppendsToComplete_(n)}},e.setTimeMapping_=function(t){t=this.syncController_.mappingForTimeline(t);null!==t&&(this.timeMapping_=t)},e.updateMediaSecondsLoaded_=function(t){"number"==typeof t.start&&"number"==typeof t.end?this.mediaSecondsLoaded+=t.end-t.start:this.mediaSecondsLoaded+=t.duration},e.shouldUpdateTransmuxerTimestampOffset_=function(t){return null!==t&&("main"===this.loaderType_&&t!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&t!==this.sourceUpdater_.audioTimestampOffset())},e.trueSegmentStart_=function(t){var e=t.currentStart,i=t.playlist,n=t.mediaIndex,s=t.firstVideoFrameTimeForData,r=t.currentVideoTimestampOffset,o=t.useVideoTimingInfo,a=t.videoTimingInfo,t=t.audioTimingInfo;if(void 0!==e)return e;if(!o)return t.start;i=i.segments[n-1];return 0!==n&&i&&void 0!==i.start&&i.end===s+r?a.start:s},e.waitForAppendsToComplete_=function(t){if(!this.currentMediaInfo_)return this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),void this.trigger("error");var e=this.currentMediaInfo_,i=e.hasAudio,n=e.hasVideo,e=e.isMuxed,n="main"===this.loaderType_&&n,e=!this.audioDisabled_&&i&&!e;if(t.waitingOnAppends=0,!t.hasAppendedData_)return t.timingInfo||"number"!=typeof t.timestampOffset||(this.isPendingTimestampOffset_=!0),t.timingInfo={start:0},t.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(t),this.processMetadataQueue_()),void this.checkAppendsDone_(t);n&&t.waitingOnAppends++,e&&t.waitingOnAppends++,n&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,t)),e&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,t))},e.checkAppendsDone_=function(t){this.checkForAbort_(t.requestId)||
1(t.waitingOnAppends--,0===t.waitingOnAppends&&this.handleAppendsDone_())},e.checkForIllegalMediaSwitch=function(t){var e,i,t=(e=this.loaderType_,i=this.currentMediaInfo_,t=t,"main"===e&&i&&t?t.hasAudio||t.hasVideo?i.hasVideo&&!t.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.":!i.hasVideo&&t.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);return!!t&&(this.error({message:t,blacklistDuration:1/0}),this.trigger("error"),!0)},e.updateSourceBufferTimestampOffset_=function(t){var e;null===t.timestampOffset||"number"!=typeof t.timingInfo.start||t.changedTimestampOffset||"main"!==this.loaderType_||(e=!1,t.timestampOffset-=t.timingInfo.start,t.changedTimestampOffset=!0,t.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(t.timestampOffset),e=!0),t.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(t.timestampOffset),e=!0),e&&this.trigger("timestampoffset"))},e.updateTimingInfoEnd_=function(t){t.timingInfo=t.timingInfo||{};var e="main"===this.loaderType_&&this.currentMediaInfo_.hasVideo&&t.videoTimingInfo?t.videoTimingInfo:t.audioTimingInfo;e&&(t.timingInfo.end="number"==typeof e.end?e.end:e.start+t.duration)},e.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var t,e,i,n,s,r,o,a=this.pendingSegment_;this.updateTimingInfoEnd_(a),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:a,shouldSaveTimelineMapping:"main"===this.loaderType_}),this.logger_((t=(o=a).segment,e=t.start,i=t.end,n=o.playlist,s=n.mediaSequence,r=n.id,t=n.segments,n=void 0===t?[]:t,t=o.mediaIndex,o=o.timeline,["appending ["+t+"] of ["+s+", "+(s+n.length)+"] from playlist ["+r+"]","["+e+" => "+i+"] in timeline ["+o+"]"].join(" "))),this.recordThroughput_(a),this.pendingSegment_=null,this.state="READY",a.isSyncRequest?this.trigger("syncinfoupdate"):(this.addSegmentMetadataCue_(a),this.fetchAtBuffer_=!0,this.currentTimeline_!==a.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:a.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:a.timeline})),this.currentTimeline_=a.timeline,this.trigger("syncinfoupdate"),(o=a.segment).end&&this.currentTime_()-o.end>3*a.playlist.targetDuration?this.resetEverything():(null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=a.mediaIndex,this.isEndOfStream_(a.mediaIndex,a.playlist)&&this.endOfStream(),this.trigger("appended"),this.paused()||this.monitorBuffer_()))},e.recordThroughput_=function(t){var e=this.throughput.rate,i=Date.now()-t.endOfAllRequests+1,i=Math.floor(t.byteLength/i*8*1e3);this.throughput.rate+=(i-e)/++this.throughput.count},e.addSegmentMetadataCue_=function(t){var e,i,n,s;this.segmentMetadataTrack_&&(i=(e=t.segment).start,s=e.end,Wl(i)&&Wl(s)&&(ql(i,s,this.segmentMetadataTrack_),n=g.WebKitDataCue||g.VTTCue,t={custom:e.custom,dateTimeObject:e.dateTimeObject,dateTimeString:e.dateTimeString,bandwidth:t.playlist.attributes.BANDWIDTH,resolution:t.playlist.attributes.RESOLUTION,codecs:t.playlist.attributes.CODECS,byteLength:t.byteLength,uri:t.uri,timeline:t.timeline,playlist:t.playlist.id,start:i,end:s},(s=new n(i,s,JSON.stringify(t))).value=t,this.segmentMetadataTrack_.addCue(s)))},t}(Zn.EventTarget);function Zl(){}function Jl(t){return"string"!=typeof t?t:t.replace(/./,function(t){return t.toUpperCase()})}function td(t,e){var i=e[t+"Buffer"];return i&&i.updating||e.queuePending[t]}function ed(t,e){if(0!==e.queue.length){var i=0,n=e.queue[i];if("mediaSource"!==n.type){if("mediaSource"!==t&&e.started_&&"closed"!==e.mediaSource.readyState&&!td(t,e)){if(n.type!==t){if(null===(i=function(t,e){for(var i=0;i<e.length;i++){var n=e[i];if("mediaSource"===n.type)return null;if(n.type===t)return i}return null}(t,e.queue)))return;n=e.queue[i]}e.queue.splice(i,1),n.action(t,e),n.doneFn?e.queuePending[t]=n:ed(t,e)}}else e.updating()||"closed"===e.mediaSource.readyState||(e.queue.shift(),n.action(e),n.doneFn&&n.doneFn(),ed("audio",e),ed("video",e))}}function id(t,e){var i=e[t+"Buffer"],n=Jl(t);i&&(i.removeEventListener("updateend",e["on"+n+"UpdateEnd_"]),i.removeEventListener("error",e["on"+n+"Error_"]),e.codecs[t]=null,e[t+"Buffer"]=null)}
1function nd(t,e){return t&&e&&-1!==Array.prototype.indexOf.call(t.sourceBuffers,e)}function sd(t){var e=t.type,i=t.sourceUpdater,n=t.action,s=t.doneFn,t=t.name;i.queue.push({type:e,action:n,doneFn:s,name:t}),ed(e,i)}function rd(i,n){return function(t){var e;n.queuePending[i]&&(e=n.queuePending[i].doneFn,n.queuePending[i]=null,e&&e(n[i+"Error_"])),ed(i,n)}}function od(t){return decodeURIComponent(escape(String.fromCharCode.apply(null,t)))}function ad(t,e){t.abort(),t.pause(),e&&e.activePlaylistLoader&&(e.activePlaylistLoader.pause(),e.activePlaylistLoader=null)}function ld(t,e){(e.activePlaylistLoader=t).load()}function dd(n){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(function(t){Md[t](t,n)});var c=n.mediaTypes,t=n.masterPlaylistLoader,e=n.tech,i=n.vhs;["AUDIO","SUBTITLES"].forEach(function(t){var s,r,o,a,e,i,l,d;c[t].activeGroup=(s=t,r=n,function(e){var t=r.masterPlaylistLoader,i=r.mediaTypes[s].groups,n=t.media();if(!n)return null;t=null;return n.attributes[s]&&(t=i[n.attributes[s]]),t=t||i.main,void 0===e?t:null!==e&&t.filter(function(t){return t.id===e.id})[0]||null}),c[t].activeTrack=Od[t](t,n),c[t].onGroupChanged=(o=t,a=n,function(){var t=a.segmentLoaders,e=t[o],i=t.main,n=a.mediaTypes[o],s=n.activeTrack(),t=n.activeGroup(s),s=n.activePlaylistLoader;ad(e,n),t&&(t.playlistLoader?(e.resyncLoader(),ld(t.playlistLoader,n)):s&&i.resetEverything())}),c[t].onGroupChanging=(e=t,i=n,function(){var t=i.segmentLoaders[e];t.abort(),t.pause()}),c[t].onTrackChanged=(l=t,d=n,function(){var t=d.segmentLoaders,e=t[l],i=t.main,n=d.mediaTypes[l],s=n.activeTrack(),r=n.activeGroup(s),t=n.activePlaylistLoader;if(ad(e,n),r){if("AUDIO"===l){if(!r.playlistLoader)return i.setAudio(!0),void i.resetEverything();e.setAudio(!0),i.setAudio(!1)}t!==r.playlistLoader&&(e.track&&e.track(s),e.resetEverything()),ld(r.playlistLoader,n)}})});var s,r=c.AUDIO.activeGroup();function o(){c.AUDIO.onTrackChanged(),e.trigger({type:"usage",name:"vhs-audio-change"}),e.trigger({type:"usage",name:"hls-audio-change"})}for(s in r&&(r=(r.filter(function(t){return t.default})[0]||r[0]).id,c.AUDIO.tracks[r].enabled=!0,c.AUDIO.onTrackChanged()),t.on("mediachange",function(){["AUDIO","SUBTITLES"].forEach(function(t){return c[t].onGroupChanged()})}),t.on("mediachanging",function(){["AUDIO","SUBTITLES"].forEach(function(t){return c[t].onGroupChanging()})}),e.audioTracks().addEventListener("change",o),e.remoteTextTracks().addEventListener("change",c.SUBTITLES.onTrackChanged),i.on("dispose",function(){e.audioTracks().removeEventListener("change",o),e.remoteTextTracks().removeEventListener("change",c.SUBTITLES.onTrackChanged)}),e.clearTracks("audio"),c.AUDIO.tracks)e.audioTracks().addTrack(c.AUDIO.tracks[s])}function cd(t,e,i){var n,s,r,o,a=t.masterPlaylistController_,l=a[(t.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(a);e.attributes.RESOLUTION&&(n=e.attributes.RESOLUTION,this.width=n.width,this.height=n.height),this.bandwidth=e.attributes.BANDWIDTH,this.codecs=Rl(a.master(),e),this.playlist=e,this.id=i,this.enabled=(s=t.playlists,r=e.id,o=l,function(t){var e=s.master.playlists[r],i=ma(e),n=ga(e);return void 0===t?n:(t?delete e.disabled:e.disabled=!0,t===n||i||(o(),t?s.trigger("renditionenabled"):s.trigger("renditiondisabled")),t)})}function ud(e,t){var i=0,n=0,s=Zn.mergeOptions(jd,t);function r(){n&&e.currentTime(n)}function o(t){null!=t&&(n=e.duration()!==1/0&&e.currentTime()||0,e.one("loadedmetadata",r),e.src(t),e.trigger({type:"usage",name:"vhs-error-reload"}),e.trigger({type:"usage",name:"hls-error-reload"}),e.play())}function a(){return Date.now()-i<1e3*s.errorInterval?(e.trigger({type:"usage",name:"vhs-error-reload-canceled"}),void e.trigger({type:"usage",name:"hls-error-reload-canceled"})):s.getSource&&"function"==typeof s.getSource?(i=Date.now(),s.getSource.call(e,o)):void Zn.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")}function l(){e.off("loadedmetadata",r),e.off("error",a),e.off("dispose",l)}e.ready(function(){e.trigger({type:"usage",name:"vhs-error-reload-initialized"}),e.trigger({type:"usage",name:"hls-error-reload-initialized"})}),e.on("error",a),e.on("dispose",l),e.reloadSourceOnError=function(t){l(),ud(e,t)}}var hd,pd=["video","audio"],fd=function(n,s){return function(t,e){var i=e[t+"Buffer"];nd(e.mediaSource,i)&&(e.logger_("Appending segment "+s.mediaIndex+"'s "+n.length+" b
1ytes to "+t+"Buffer"),i.appendBuffer(n))}},md=function(n,s){return function(t,e){var i=e[t+"Buffer"];nd(e.mediaSource,i)&&(e.logger_("Removing "+n+" to "+s+" from "+t+"Buffer"),i.remove(n,s))}},gd=function(n){return function(t,e){var i=e[t+"Buffer"];nd(e.mediaSource,i)&&(e.logger_("Setting "+t+"timestampOffset to "+n),i.timestampOffset=n)}},vd=function(i){return function(t,e){i()}},yd=function(e){return function(t){if("open"===t.mediaSource.readyState){t.logger_("Calling mediaSource endOfStream("+(e||"")+")");try{t.mediaSource.endOfStream(e)}catch(t){Zn.log.warn("Failed to call media source endOfStream",t)}}}},_d=function(e){return function(t){t.logger_("Setting mediaSource duration to "+e);try{t.mediaSource.duration=e}catch(t){Zn.log.warn("Failed to set media source duration",t)}}},bd=function(){return function(e,t){if("open"===t.mediaSource.readyState){var i=t[e+"Buffer"];if(nd(t.mediaSource,i)){t.logger_("calling abort on "+e+"Buffer");try{i.abort()}catch(t){Zn.log.warn("Failed to abort on "+e+"Buffer",t)}}}}},wd=function(n,s){return function(t){var e=Jl(n),i=el(s);t.logger_("Adding "+n+"Buffer with codec "+s+" to mediaSource");i=t.mediaSource.addSourceBuffer(i);i.addEventListener("updateend",t["on"+e+"UpdateEnd_"]),i.addEventListener("error",t["on"+e+"Error_"]),t.codecs[n]=s,t[n+"Buffer"]=i}},Td=function(i){return function(t){var e=t[i+"Buffer"];if(id(i,t),nd(t.mediaSource,e)){t.logger_("Removing "+i+"Buffer with codec "+t.codecs[i]+" from mediaSource");try{t.mediaSource.removeSourceBuffer(e)}catch(t){Zn.log.warn("Failed to removeSourceBuffer "+i+"Buffer",t)}}}},Cd=function(s){return function(t,e){var i=e[t+"Buffer"],n=el(s);nd(e.mediaSource,i)&&e.codecs[t]!==s&&(e.logger_("changing "+t+"Buffer codec from "+e.codecs[t]+" to "+s),i.changeType(n),e.codecs[t]=s)}},Sd=function(i){function t(t){var e=i.call(this)||this;return e.mediaSource=t,e.sourceopenListener_=function(){return ed("mediaSource",Bt(e))},e.mediaSource.addEventListener("sourceopen",e.sourceopenListener_),e.logger_=Fl("SourceUpdater"),e.audioTimestampOffset_=0,e.videoTimestampOffset_=0,e.queue=[],e.queuePending={audio:null,video:null},e.delayedAudioAppendQueue_=[],e.videoAppendQueued_=!1,e.codecs={},e.onVideoUpdateEnd_=rd("video",Bt(e)),e.onAudioUpdateEnd_=rd("audio",Bt(e)),e.onVideoError_=function(t){e.videoError_=t},e.onAudioError_=function(t){e.audioError_=t},e.started_=!1,e}Ht(t,i);var e=t.prototype;return e.ready=function(){return this.started_},e.createSourceBuffers=function(t){this.ready()||(this.addOrChangeSourceBuffers(t),this.started_=!0,this.trigger("ready"))},e.addSourceBuffer=function(t,e){sd({type:"mediaSource",sourceUpdater:this,action:wd(t,e),name:"addSourceBuffer"})},e.abort=function(t){sd({type:t,sourceUpdater:this,action:bd(t),name:"abort"})},e.removeSourceBuffer=function(t){this.canRemoveSourceBuffer()?sd({type:"mediaSource",sourceUpdater:this,action:Td(t),name:"removeSourceBuffer"}):Zn.log.error("removeSourceBuffer is not supported!")},e.canRemoveSourceBuffer=function(){return!Zn.browser.IE_VERSION&&g.MediaSource&&g.MediaSource.prototype&&"function"==typeof g.MediaSource.prototype.removeSourceBuffer},t.canChangeType=function(){return g.SourceBuffer&&g.SourceBuffer.prototype&&"function"==typeof g.SourceBuffer.prototype.changeType},e.canChangeType=function(){return this.constructor.canChangeType()},e.changeType=function(t,e){this.canChangeType()?sd({type:t,sourceUpdater:this,action:Cd(e),name:"changeType"}):Zn.log.error("changeType is not supported!")},e.addOrChangeSourceBuffers=function(i){var n=this;if(!i||"object"!=typeof i||0===Object.keys(i).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");
vendor: 5,917 bytes, line 1
1Object.keys(i).forEach(function(t){var e=i[t];if(!n.ready())return n.addSourceBuffer(t,e);n.canChangeType()&&n.changeType(t,e)})},e.appendBuffer=function(t,e){var i=this,n=t.segmentInfo,s=t.type,r=t.bytes;if(this.processedAppend_=!0,"audio"===s&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([t,e]),void this.logger_("delayed audio append of "+r.length+" until video append");sd({type:s,sourceUpdater:this,action:fd(r,n||{mediaIndex:-1}),doneFn:e,name:"appendBuffer"}),"video"===s&&(this.videoAppendQueued_=!0,this.delayedAudioAppendQueue_.length&&(s=this.delayedAudioAppendQueue_.slice(),this.logger_("queuing delayed audio "+s.length+" appendBuffers"),this.delayedAudioAppendQueue_.length=0,s.forEach(function(t){i.appendBuffer.apply(i,t)})))},e.audioBuffered=function(){return nd(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:Zn.createTimeRange()},e.videoBuffered=function(){return nd(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:Zn.createTimeRange()},e.buffered=function(){var t=nd(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,e=nd(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return e&&!t?this.audioBuffered():t&&!e?this.videoBuffered():function(t,e){var i=null,n=null,s=0,r=[],o=[];if(!(t&&t.length&&e&&e.length))return Zn.createTimeRange();for(var a=t.length;a--;)r.push({time:t.start(a),type:"start"}),r.push({time:t.end(a),type:"end"});for(a=e.length;a--;)r.push({time:e.start(a),type:"start"}),r.push({time:e.end(a),type:"end"});for(r.sort(function(t,e){return t.time-e.time}),a=0;a<r.length;a++)"start"===r[a].type?2===++s&&(i=r[a].time):"end"===r[a].type&&1===--s&&(n=r[a].time),null!==i&&null!==n&&(o.push([i,n]),n=i=null);return Zn.createTimeRanges(o)}(this.audioBuffered(),this.videoBuffered())},e.setDuration=function(t,e){void 0===e&&(e=Zl),sd({type:"mediaSource",sourceUpdater:this,action:_d(t),name:"duration",doneFn:e})},e.endOfStream=function(t,e){void 0===t&&(t=null),void 0===e&&(e=Zl),"string"!=typeof t&&(t=void 0),sd({type:"mediaSource",sourceUpdater:this,action:yd(t),name:"endOfStream",doneFn:e})},e.removeAudio=function(t,e,i){void 0===i&&(i=Zl),this.audioBuffered().length&&0!==this.audioBuffered().end(0)?sd({type:"audio",sourceUpdater:this,action:md(t,e),doneFn:i,name:"remove"}):i()},e.removeVideo=function(t,e,i){void 0===i&&(i=Zl),this.videoBuffered().length&&0!==this.videoBuffered().end(0)?sd({type:"video",sourceUpdater:this,action:md(t,e),doneFn:i,name:"remove"}):i()},e.updating=function(){return!(!td("audio",this)&&!td("video",this))},e.audioTimestampOffset=function(t){return void 0!==t&&this.audioBuffer&&this.audioTimestampOffset_!==t&&(sd({type:"audio",sourceUpdater:this,action:gd(t),name:"timestampOffset"}),this.audioTimestampOffset_=t),this.audioTimestampOffset_},e.videoTimestampOffset=function(t){return void 0!==t&&this.videoBuffer&&this.videoTimestampOffset!==t&&(sd({type:"video",sourceUpdater:this,action:gd(t),name:"timestampOffset"}),this.videoTimestampOffset_=t),this.videoTimestampOffset_},e.audioQueueCallback=function(t){this.audioBuffer&&sd({type:"audio",sourceUpdater:this,action:vd(t),name:"callback"})},e.videoQueueCallback=function(t){this.videoBuffer&&sd({type:"video",sourceUpdater:this,action:vd(t),name:"callback"})},e.dispose=function(){var e=this;this.trigger("dispose"),pd.forEach(function(t){e.abort(t),e.canRemoveSourceBuffer()?e.removeSourceBuffer(t):e[t+"QueueCallback"](function(){return id(t,e)})}),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()},t}(Zn.EventTarget),xd=new Uint8Array("\n\n".split("").map(function(t){return t.charCodeAt(0)})),kd=function(i){function t(t,e){return void 0===e&&(e={}),(e=i.call(this,t,e)||this).handlePartialData_=!1,e.mediaSource_=null,e.subtitlesTrack_=null,e.loaderType_="subtitle",e.featuresNativeTextTracks_=t.featuresNativeTextTracks,e.shouldSaveSegmentTimingInfo_=!1,e}Ht(t,i);var e=t.prototype;return e.createTransmuxer_=function(){return null},e.buffered_=function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues.length)return Zn.createTimeRanges();var t=this.subtitlesTrack_.cues,e=t[0].startTime,t=t[t.length-1].startTime;return Zn.createTimeRanges([[e,t]])},e.initSegmentForMap=function(t,e){if(void 0===e&&(e=!1),!t)return null;var i=xa(t),n=this.initSegments_[i];return e&&!n&&t.bytes&&(e=xd.byteLength+t.bytes.byteLength,(e=new Uint8Array(e)).set(t.bytes),e.set(xd,t.bytes.byteLength),this.initSegments_[i]=n={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:e}),n||t},e.couldBeginLoading_=function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},e.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},e.track=function(t){return void 0===t||(this.subtitlesTrack_=t,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_},e.remove=function(t,e){ql(t,e,this.subtitlesTrack_)},e.fillBuffer_=function(){var t=this;this.syncPoint_||(this.syncPoint_=this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_()));var e=this.checkBuffer_(this.buffered_(),this.playlist_,this.mediaIndex,this.hasPlayed_(),this.currentTime_(),this.syncPoint_);if(e=this.skipEmptySegments_(e)){if(null===this.syncController_.timestampOffsetForTimeline(e.timeline)){return this.syncController_.one("timestampoffset",function(){t.state="READY",t.paused()||t.monitorBuffer_()}),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(e)}},e.skipEmptySegments_=function(t){for(;t&&t.segment.empty;)t=this.generateSegmentInfo_(t.playlist,t.mediaIndex+1,t.startOfSegment+t.duration,t.isSyncRequest);return t},e.stopForError=function(t){this.error(t),this.state="READY",this.pause(),this.trigger("error")}
1,e.segmentRequestFinished_=function(t,e,i){var n=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(e.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(t)return t.code===Sl&&this.handleTimeout_(),t.code===xl?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(t);this.saveBandwidthRelatedStats_(e.stats),this.state="APPENDING",this.trigger("appending");var s=this.pendingSegment_,r=s.segment;if(r.map&&(r.map.bytes=e.map.bytes),s.bytes=e.bytes,"function"!=typeof g.WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var o=function(){n.subtitlesTrack_.tech_.off("vttjsloaded",a),n.stopForError({message:"Error loading vtt.js"})},a=function(){n.subtitlesTrack_.tech_.off("vttjserror",o),n.segmentRequestFinished_(t,e,i)};return this.state="WAITING_ON_VTTJS",this.subtitlesTrack_.tech_.one("vttjsloaded",a),void this.subtitlesTrack_.tech_.one("vttjserror",o)}r.requested=!0;try{this.parseVTTCues_(s)}catch(t){return void this.stopForError({message:t.message})}if(this.updateTimeMapping_(s,this.syncController_.timelines[s.timeline],this.playlist_),s.cues.length?s.timingInfo={start:s.cues[0].startTime,end:s.cues[s.cues.length-1].endTime}:s.timingInfo={start:s.startOfSegment,end:s.startOfSegment+s.duration},s.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");s.byteLength=s.bytes.byteLength,this.mediaSecondsLoaded+=r.duration,s.cues.forEach(function(t){n.remove(t.startTime,t.endTime),n.subtitlesTrack_.addCue(n.featuresNativeTextTracks_?new g.VTTCue(t.startTime,t.endTime,t.text):t)}),this.handleAppendsDone_()}else this.state="READY"},e.handleData_=function(){},e.updateTimingInfoEnd_=function(){},e.parseVTTCues_=function(e){var t=!1;"function"==typeof g.TextDecoder?i=new g.TextDecoder("utf8"):(i=g.WebVTT.StringDecoder(),t=!0);var i=new g.WebVTT.Parser(g,g.vttjs,i);e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},i.oncue=e.cues.push.bind(e.cues),i.ontimestampmap=function(t){e.timestampmap=t},i.onparsingerror=function(t){Zn.log.warn("Error encountered when parsing cues: "+t.message)},e.segment.map&&(n=e.segment.map.bytes,t&&(n=od(n)),i.parse(n));var n=e.bytes;t&&(n=od(n)),i.parse(n),i.flush()},e.updateTimeMapping_=function(t,e,i){var n,s,r=t.segment;e&&(t.cues.length?(s=t.timestampmap,n=s.MPEGTS/Do-s.LOCAL+e.mapping,t.cues.forEach(function(t){t.startTime+=n,t.endTime+=n}),i.syncInfo||(s=t.cues[0].startTime,e=t.cues[t.cues.length-1].startTime,i.syncInfo={mediaSequence:i.mediaSequence+t.mediaIndex,time:Math.min(s,e-r.duration)})):r.empty=!0)},t}(Ql),$d=[{name:"VOD",run:function(t,e,i){if(i===1/0)return null;return{time:0,segmentIndex:0}}},{name:"ProgramDateTime",run:function(t,e,i,n,s){if(!t.datetimeToDisplayTime)return null;var r=e.segments||[],o=null,a=null;s=s||0;for(var l=0;l<r.length;l++){var d=r[l];if(d.dateTimeObject){var c=d.dateTimeObject.getTime()/1e3+t.datetimeToDisplayTime,d=Math.abs(s-c);if(null!==a&&(0===d||a<d))break;a=d,o={time:c,segmentIndex:l}}}return o}},{name:"Segment",run:function(t,e,i,n,s){var r=e.segments||[],o=null,a=null;s=s||0;for(var l=0;l<r.length;l++){var d=r[l];if(d.timeline===n&&void 0!==d.start){var c=Math.abs(s-d.start);if(null!==a&&a<c)break;(!o||null===a||c<=a)&&(a=c,o={time:d.start,segmentIndex:l})}}return o}},{name:"Discontinuity",run:function(t,e,i,n,s){var r=null;if(s=s||0,e.discontinuityStarts&&e.discontinuityStarts.length)for(var o=null,a=0;a<e.discontinuityStarts.length;a++){var l=e.discontinuityStarts[a],d=e.discontinuitySequence+a+1,c=t.discontinuities[d];if(c){d=Math.abs(s-c.time);if(null!==o&&o<d)break;(!r||null===o||d<=o)&&(o=d,r={time:c.time,segmentIndex:l})}}return r}},{name:"Playlist",run:function(t,e){return e.syncInfo?{time:e.syncInfo.time,segmentIndex:e.syncInfo.mediaSequence-e.mediaSequence}:null}}],Ed=function(i){function t(t){var e=i.call(this)||this;return e.timelines=[],e.discontinuities=[],e.datetimeToDisplayTime=null,e.logger_=Fl("SyncController"),e}Ht(t,i);var e=t.prototype;return e.getSyncPoint=function(t,e,i,n){i=this.runStrategies_(t,e,i,n);return i.length?this.selectSyncPoint_(i,{key:"time",value:n}):null},e.getExpiredTime=function(t,e){if(!t||!t.segments)return null;e=this.runStrategies_(t,e,t.discontinuitySequence,0);if(!e.length)return null;e=this.selectSyncPoint_(e,{key:"segmentIndex",value:0});return 0<e.segmentIndex&&(e.time*=-1),Math.abs(e.time+ua(t,e.segmentIndex,0))}
1,e.runStrategies_=function(t,e,i,n){for(var s=[],r=0;r<$d.length;r++){var o=$d[r],a=o.run(this,t,e,i,n);a&&(a.strategy=o.name,s.push({strategy:o.name,syncPoint:a}))}return s},e.selectSyncPoint_=function(t,e){for(var i=t[0].syncPoint,n=Math.abs(t[0].syncPoint[e.key]-e.value),s=t[0].strategy,r=1;r<t.length;r++){var o=Math.abs(t[r].syncPoint[e.key]-e.value);o<n&&(n=o,i=t[r].syncPoint,s=t[r].strategy)}return this.logger_("syncPoint for ["+e.key+": "+e.value+"] chosen with strategy ["+s+"]: [time:"+i.time+", segmentIndex:"+i.segmentIndex+"]"),i},e.saveExpiredSegmentInfo=function(t,e){for(var i=e.mediaSequence-t.mediaSequence-1;0<=i;i--){var n=t.segments[i];if(n&&void 0!==n.start){e.syncInfo={mediaSequence:t.mediaSequence+i,time:n.start},this.logger_("playlist refresh sync: [time:"+e.syncInfo.time+", mediaSequence: "+e.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},e.setDateTimeMapping=function(t){!this.datetimeToDisplayTime&&t.segments&&t.segments.length&&t.segments[0].dateTimeObject&&(t=t.segments[0].dateTimeObject.getTime()/1e3,this.datetimeToDisplayTime=-t)},e.saveSegmentTimingInfo=function(t){var e=t.segmentInfo,t=t.shouldSaveTimelineMapping;this.calculateSegmentTimeMapping_(e,e.timingInfo,t)&&(this.saveDiscontinuitySyncInfo_(e),e.playlist.syncInfo||(e.playlist.syncInfo={mediaSequence:e.playlist.mediaSequence+e.mediaIndex,time:e.segment.start}))},e.timestampOffsetForTimeline=function(t){return void 0===this.timelines[t]?null:this.timelines[t].time},e.mappingForTimeline=function(t){return void 0===this.timelines[t]?null:this.timelines[t].mapping},e.calculateSegmentTimeMapping_=function(t,e,i){var n=t.segment,s=this.timelines[t.timeline];if(null!==t.timestampOffset)s={time:t.startOfSegment,mapping:t.startOfSegment-e.start},i&&(this.timelines[t.timeline]=s,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+t.timeline+": [time: "+s.time+"] [mapping: "+s.mapping+"]")),n.start=t.startOfSegment,n.end=e.end+s.mapping;else{if(!s)return!1;n.start=e.start+s.mapping,n.end=e.end+s.mapping}return!0},e.saveDiscontinuitySyncInfo_=function(t){var e=t.playlist,i=t.segment;if(i.discontinuity)this.discontinuities[i.timeline]={time:i.start,accuracy:0};else if(e.discontinuityStarts&&e.discontinuityStarts.length)for(var n=0;n<e.discontinuityStarts.length;n++){var s,r=e.discontinuityStarts[n],o=e.discontinuitySequence+n+1,a=r-t.mediaIndex,l=Math.abs(a);(!this.discontinuities[o]||this.discontinuities[o].accuracy>l)&&(s=void 0,s=a<0?i.start-ua(e,t.mediaIndex,r):i.end+ua(e,t.mediaIndex+1,r),this.discontinuities[o]={time:s,accuracy:l})}},e.dispose=function(){this.trigger("dispose"),this.off()},t}(Zn.EventTarget),Dd=function(e){function t(){var t=e.call(this)||this;return t.pendingTimelineChanges_={},t.lastTimelineChanges_={},t}Ht(t,e);var i=t.prototype;return i.clearPendingTimelineChange=function(t){this.pendingTimelineChanges_[t]=null,this.trigger("pendingtimelinechange")},i.pendingTimelineChange=function(t){var e=t.type,i=t.from,t=t.to;return"number"==typeof i&&"number"==typeof t&&(this.pendingTimelineChanges_[e]={type:e,from:i,to:t},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[e]},i.lastTimelineChange=function(t){var e=t.type,i=t.from,t=t.to;return"number"==typeof i&&"number"==typeof t&&(this.lastTimelineChanges_[e]={type:e,from:i,to:t},delete this.pendingTimelineChanges_[e],this.trigger("timelinechange")),this.lastTimelineChanges_[e]},i.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},t}(Zn.EventTarget),Id=new Al("./decrypter-worker.worker.js",function(t,e){var i,n,s,c,m,d,g,o,r=this;i=function(t,e,i){return e&&a(t.prototype,e),i&&a(t,i),t},n=function(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e},s=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;e=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(e,1),-1<e},e.trigger=function(t,e){var i=this.listeners[t];if(i)if(2===arguments.length)for(var n=i.length,s=0;s<n;++s)i[s].call(this,e);
vendor: 3,695 bytes, line 1
1else for(var r=Array.prototype.slice.call(arguments,1),o=i.length,a=0;a<o;++a)i[a].apply(this,r)},e.dispose=function(){this.listeners={}},e.pipe=function(e){this.on("data",function(t){e.push(t)})},t}(),c=null,m=function(){function t(t){var e,i,n;c=c||function(){for(var t,e,i,n,s,r,o,a=[[[],[],[],[],[]],[[],[],[],[],[]]],l=a[0],d=a[1],c=l[4],u=d[4],h=[],p=[],f=0;f<256;f++)p[(h[f]=f<<1^283*(f>>7))^f]=f;for(t=e=0;!c[t];t^=i||1,e=p[e]||1)for(s=(s=e^e<<1^e<<2^e<<3^e<<4)>>8^255&s^99,o=16843009*h[n=h[i=h[u[c[t]=s]=t]]]^65537*n^257*i^16843008*t,r=257*h[s]^16843008*s,f=0;f<4;f++)l[f][t]=r=r<<24^r>>>8,d[f][s]=o=o<<24^o>>>8;for(f=0;f<5;f++)l[f]=l[f].slice(0),d[f]=d[f].slice(0);return a}(),this._tables=[[c[0][0].slice(),c[0][1].slice(),c[0][2].slice(),c[0][3].slice(),c[0][4].slice()],[c[1][0].slice(),c[1][1].slice(),c[1][2].slice(),c[1][3].slice(),c[1][4].slice()]];var s=this._tables[0][4],r=this._tables[1],o=t.length,a=1;if(4!==o&&6!==o&&8!==o)throw new Error("Invalid aes key size");var l=t.slice(0),d=[];for(this._key=[l,d],e=o;e<4*o+28;e++)n=l[e-1],(e%o==0||8===o&&e%o==4)&&(n=s[n>>>24]<<24^s[n>>16&255]<<16^s[n>>8&255]<<8^s[255&n],e%o==0&&(n=n<<8^n>>>24^a<<24,a=a<<1^283*(a>>7))),l[e]=l[e-o]^n;for(i=0;e;i++,e--)n=l[3&i?e:e-4],d[i]=e<=4||i<4?n:r[0][s[n>>>24]]^r[1][s[n>>16&255]]^r[2][s[n>>8&255]]^r[3][s[255&n]]}return t.prototype.decrypt=function(t,e,i,n,s,r){for(var o,a,l,d=this._key[1],c=t^d[0],u=n^d[1],h=i^d[2],p=e^d[3],f=d.length/4-2,m=4,e=this._tables[1],g=e[0],v=e[1],y=e[2],_=e[3],b=e[4],w=0;w<f;w++)o=g[c>>>24]^v[u>>16&255]^y[h>>8&255]^_[255&p]^d[m],a=g[u>>>24]^v[h>>16&255]^y[p>>8&255]^_[255&c]^d[m+1],l=g[h>>>24]^v[p>>16&255]^y[c>>8&255]^_[255&u]^d[m+2],p=g[p>>>24]^v[c>>16&255]^y[u>>8&255]^_[255&h]^d[m+3],m+=4,c=o,u=a,h=l;for(w=0;w<4;w++)s[(3&-w)+r]=b[c>>>24]<<24^b[u>>16&255]<<16^b[h>>8&255]<<8^b[255&p]^d[m++],o=c,c=u,u=h,h=p,p=o},t}(),d=function(e){function t(){var t=e.call(this,s)||this;return t.jobs=[],t.delay=1,t.timeout_=null,t}n(t,e);var i=t.prototype;return i.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},i.push=function(t){this.jobs.push(t),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(s),g=function(t){return t<<24|(65280&t)<<8|(16711680&t)>>8|t>>>24},o=function(){function l(t,e,i,n){var s=l.STEP,r=new Int32Array(t.buffer),o=new Uint8Array(t.byteLength),a=0;for(this.asyncStream_=new d,this.asyncStream_.push(this.decryptChunk_(r.subarray(a,a+s),e,i,o)),a=s;a<r.length;a+=s)i=new Uint32Array([g(r[a-4]),g(r[a-3]),g(r[a-2]),g(r[a-1])]),this.asyncStream_.push(this.decryptChunk_(r.subarray(a,a+s),e,i,o));this.asyncStream_.push(function(){var t;n(null,(t=o).subarray(0,t.byteLength-t[t.byteLength-1]))})}return l.prototype.decryptChunk_=function(e,i,n,s){return function(){var t=function(t,e,i){for(var n,s,r,o,a=new Int32Array(t.buffer,t.byteOffset,t.byteLength>>2),l=new m(Array.prototype.slice.call(e)),t=new Uint8Array(t.byteLength),d=new Int32Array(t.buffer),c=i[0],u=i[1],h=i[2],p=i[3],f=0;f<a.length;f+=4)n=g(a[f]),s=g(a[f+1]),r=g(a[f+2]),o=g(a[f+3]),l.decrypt(n,s,r,o,d,f),d[f]=g(d[f]^c),d[f+1]=g(d[f+1]^u),d[f+2]=g(d[f+2]^h),d[f+3]=g(d[f+3]^p),c=n,u=s,h=r,p=o;return t}(e,i,n);s.set(t,e.byteOffset)}},i(l,null,[{key:"STEP",get:function(){return 32e3}}]),l}(),new function(r){r.onmessage=function(t){var s=t.data,e=new Uint8Array(s.encrypted.bytes,s.encrypted.byteOffset,s.encrypted.byteLength),i=new Uint32Array(s.key.bytes,s.key.byteOffset,s.key.byteLength/4),t=new Uint32Array(s.iv.bytes,s.iv.byteOffset,s.iv.byteLength/4);new o(e,i,t,function(t,e){var i,n;r.postMessage((i={source:s.source,decrypted:e},n={}
1,Object.keys(i).forEach(function(t){var e=i[t];ArrayBuffer.isView(e)?n[t]={bytes:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength}:n[t]=e}),n),[e.buffer])})}}(r);function a(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}}),Ad={AUDIO:function(o,a){return function(){var t=a.segmentLoaders[o],e=a.mediaTypes[o],i=a.blacklistCurrentPlaylist;ad(t,e);var n=e.activeTrack(),t=e.activeGroup(),t=(t.filter(function(t){return t.default})[0]||t[0]).id,s=e.tracks[t];if(n!==s){for(var r in Zn.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),e.tracks)e.tracks[r].enabled=e.tracks[r]===s;e.onTrackChanged()}else i({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(i,n){return function(){var t=n.segmentLoaders[i],e=n.mediaTypes[i];Zn.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),ad(t,e);t=e.activeTrack();t&&(t.mode="disabled"),e.onTrackChanged()}}},Pd={AUDIO:function(t,e,i){var n,s,r;e&&(n=i.tech,s=i.requestOptions,r=i.segmentLoaders[t],e.on("loadedmetadata",function(){var t=e.media();r.playlist(t,s),(!n.paused()||t.endList&&"none"!==n.preload())&&r.load()}),e.on("loadedplaylist",function(){r.playlist(e.media(),s),n.paused()||r.load()}),e.on("error",Ad[t](t,i)))},SUBTITLES:function(t,e,i){var n=i.tech,s=i.requestOptions,r=i.segmentLoaders[t],o=i.mediaTypes[t];e.on("loadedmetadata",function(){var t=e.media();r.playlist(t,s),r.track(o.activeTrack()),(!n.paused()||t.endList&&"none"!==n.preload())&&r.load()}),e.on("loadedplaylist",function(){r.playlist(e.media(),s),n.paused()||r.load()}),e.on("error",Ad[t](t,i))}},Md={AUDIO:function(o,a){var l=a.vhs,d=a.sourceType,t=a.segmentLoaders[o],c=a.requestOptions,e=a.master,u=e.mediaGroups,i=e.playlists,e=a.mediaTypes[o],h=e.groups,p=e.tracks,f=a.masterPlaylistLoader;u[o]&&0!==Object.keys(u[o]).length||(u[o]={main:{default:{default:!0}}});for(var n in u[o])!function(s){h[s]||(h[s]=[]);var t,r=i.filter(function(t){return t.attributes[o]===s});for(t in u[o][s])!function(t){var e=u[o][s][t];r.filter(function(t){return t.resolvedUri===e.resolvedUri}).length&&delete e.resolvedUri;var i,n=void 0,n="vhs-json"===d&&e.playlists?new cl(e.playlists[0],l,c):e.resolvedUri?new cl(e.resolvedUri,l,c):e.playlists&&"dash"===d?new gl(e.playlists[0],l,c,f):null,e=Zn.mergeOptions({id:t,playlistLoader:n},e);Pd[o](o,e.playlistLoader,a),h[s].push(e),void 0===p[t]&&(n=new Zn.AudioTrack({id:t,kind:(n=(i=e).default?"main":"alternative",i.characteristics&&0<=i.characteristics.indexOf("public.accessibility.describes-video")&&(n="main-desc"),n),enabled:!1,language:e.language,default:e.default,label:t}),p[t]=n)}(t)}(n);t.on("error",Ad[o](o,a))},SUBTITLES:function(t,e){var i,n,s,r=e.tech,o=e.vhs,a=e.sourceType,l=e.segmentLoaders[t],d=e.requestOptions,c=e.master.mediaGroups,u=e.mediaTypes[t],h=u.groups,p=u.tracks,f=e.masterPlaylistLoader;for(i in c[t])for(var m in h[i]||(h[i]=[]),c[t][i]){c[t][i][m].forced||(s=c[t][i][m],n=void 0,"hls"===a?n=new cl(s.resolvedUri,o,d):"dash"===a?n=new gl(s.playlists[0],o,d,f):"vhs-json"===a&&(n=new cl(s.playlists?s.playlists[0]:s.resolvedUri,o,d)),s=Zn.mergeOptions({id:m,playlistLoader:n},s),Pd[t](t,s.playlistLoader,e),h[i].push(s),void 0===p[m]&&(s=r.addRemoteTextTrack({id:m,kind:"subtitles",default:s.default&&s.autoselect,language:s.language,label:m},!1).track,p[m]=s))}l.on("error",Ad[t](t,e))},"CLOSED-CAPTIONS":function(t,e){var i,n=e.tech,s=e.master.mediaGroups,e=e.mediaTypes[t],r=e.groups,o=e.tracks;for(i in s[t])for(var a in r[i]||(r[i]=[]),s[t][i]){var l=s[t][i][a];l.instreamId.match(/CC\d/)&&(r[i].push(Zn.mergeOptions({id:a},l)),void 0===o[a]&&(l=n.addRemoteTextTrack({id:l.instreamId,kind:"captions",default:l.default&&l.autoselect,language:l.language,label:a},!1).track,o[a]=l))}}},Od={AUDIO:function(i,n){return function(){var t,e=n.mediaTypes[i].tracks;for(t in e)if(e[t].enabled)return e[t];return null}},SUBTITLES:function(i,n){return function(){var t,e=n.mediaTypes[i].tracks;for(t in e)if("showing"===e[t].mode||"hidden"===e[t].mode)return e[t];return null}}},Ld=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred"],Nd=function(m){function t(t){var e,i=m.call(this)||this,n=t.src,s=t.handleManifestRedirects,r=t.withCredentials,o=t.tech,a=t.bandwidth,l=t.externVhs,d=t.useCueTags,c=t.blacklistDuration,u=t.enableLowInitialPlaylist,h=t.sourceType,p=t.cacheEncryptionKeys,f=t.handlePartialData;if(!n)throw new Error("A non-empty playlist URL or JSON manifest string is required");hd=l,i.withCredentials=r,i.tech_=o,i.vhs_=o.vhs,i.sourceType_=h,i.useCueTags_=d,i.blacklistDuration=c,i.enableLowInitialPlaylist=u,i.useCueTags_&&(i.cueTagsTrack_=i.tech_.addTextTrack("metadata","ad-cues"),i.cueTagsTrack_.inBandMetadataTrackDispatchType=""),i.requestOptions_={withCredentials:r,handleManifestRedirects:s,timeout:null},i.on("error",i.pauseLoading),i.mediaTypes_=(e={},["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(function(t){e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:Zl,activeTrack:Zl,onGroupChanged:Zl,onTrackChanged:Zl}}),e),i.mediaSource=new g.MediaSource,i.handleDurationChange_=i.handleDurationChange_.bind(Bt(i)),i.handleSourceOpen_=i.handleSourceOpen_.bind(Bt(i)),i.handleSourceEnded_=i.handleSourceEnded_.bind(Bt(i)),i.mediaSource.addEventListener("durationchange",i.handleDurationChange_),i.mediaSource.addEventListener("sourceopen",i.handleSourceOpen_),i.mediaSource.addEventListener("sourceended",i.handleSourceEnded_),i.seekable_=Zn.createTimeRanges(),i.hasPlayed_=!1,i.syncController_=new Ed(t),i.segmentMetadataTrack_=o.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,i.decrypter_=new Id,i.sourceUpdater_=new Sd(i.mediaSource),i.inbandTextTracks_={},i.timelineChangeController_=new Dd;f={vhs:i.vhs_,mediaSource:i.mediaSource,currentTime:i.tech_.currentTime.bind(i.tech_),seekable:function(){return i.seekable()},seeking:function(){return i.tech_.seeking()},duration:function(){return i.duration()},hasPlayed:function(){return i.hasPlayed_},goalBufferLength:function(){return i.goalBufferLength()},bandwidth:a,syncController:i.syncController_,decrypter:i.decrypter_,sourceType:i.sourceType_,inbandTextTracks:i.inbandTextTracks_,cacheEncryptionKeys:p,handlePartialData:f,sourceUpdater:i.sourceUpdater_,timelineChangeController:i.timelineChangeController_};return i.masterPlaylistLoader_=new("dash"===i.sourceType_?gl:cl)(n,i.vhs_,i.requestOptions_),i.setupMasterPlaylistLoaderListeners_(),i.mainSegmentLoader_=new Ql(Zn.mergeOptions(f,{segmentMetadataTrack:i.segmentMetadataTrack_,loaderType:"main"}),t),i.audioSegmentLoader_=new Ql(Zn.mergeOptions(f,{loaderType:"audio"}),t),i.subtitleSegmentLoader_=new kd(Zn.mergeOptions(f,{loaderType:"vtt",featuresNativeTextTracks:i.tech_.featuresNativeTextTracks}
1),t),i.setupSegmentLoaderListeners_(),Ld.forEach(function(t){i[t+"_"]=function(t){return this.audioSegmentLoader_[t]+this.mainSegmentLoader_[t]}.bind(Bt(i),t)}),i.logger_=Fl("MPC"),i.triggeredFmp4Usage=!1,i.masterPlaylistLoader_.load(),i}Ht(t,m);var e=t.prototype;return e.setupMasterPlaylistLoaderListeners_=function(){var i=this;this.masterPlaylistLoader_.on("loadedmetadata",function(){var t=i.masterPlaylistLoader_.media(),e=1.5*t.targetDuration*1e3;ya(i.masterPlaylistLoader_.master,i.masterPlaylistLoader_.media())?i.requestOptions_.timeout=0:i.requestOptions_.timeout=e,t.endList&&"none"!==i.tech_.preload()&&(i.mainSegmentLoader_.playlist(t,i.requestOptions_),i.mainSegmentLoader_.load()),dd({sourceType:i.sourceType_,segmentLoaders:{AUDIO:i.audioSegmentLoader_,SUBTITLES:i.subtitleSegmentLoader_,main:i.mainSegmentLoader_},tech:i.tech_,requestOptions:i.requestOptions_,masterPlaylistLoader:i.masterPlaylistLoader_,vhs:i.vhs_,master:i.master(),mediaTypes:i.mediaTypes_,blacklistCurrentPlaylist:i.blacklistCurrentPlaylist.bind(i)}),i.triggerPresenceUsage_(i.master(),t),i.setupFirstPlay(),!i.mediaTypes_.AUDIO.activePlaylistLoader||i.mediaTypes_.AUDIO.activePlaylistLoader.media()?i.trigger("selectedinitialmedia"):i.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",function(){i.trigger("selectedinitialmedia")})}),this.masterPlaylistLoader_.on("loadedplaylist",function(){var t,e=i.masterPlaylistLoader_.media();if(!e){if(i.excludeUnsupportedVariants_(),i.enableLowInitialPlaylist&&(t=i.selectInitialPlaylist()),t=t||i.selectPlaylist(),i.initialMedia_=t,i.masterPlaylistLoader_.media(i.initialMedia_),!("vhs-json"===i.sourceType_&&i.initialMedia_.segments))return;e=i.initialMedia_}i.handleUpdatedMediaPlaylist(e)}),this.masterPlaylistLoader_.on("error",function(){i.blacklistCurrentPlaylist(i.masterPlaylistLoader_.error)}),this.masterPlaylistLoader_.on("mediachanging",function(){i.mainSegmentLoader_.abort(),i.mainSegmentLoader_.pause()}),this.masterPlaylistLoader_.on("mediachange",function(){var t=i.masterPlaylistLoader_.media(),e=1.5*t.targetDuration*1e3;ya(i.masterPlaylistLoader_.master,i.masterPlaylistLoader_.media())?i.requestOptions_.timeout=0:i.requestOptions_.timeout=e,i.mainSegmentLoader_.playlist(t,i.requestOptions_),i.mainSegmentLoader_.load(),i.tech_.trigger({type:"mediachange",bubbles:!0})}),this.masterPlaylistLoader_.on("playlistunchanged",function(){var t=i.masterPlaylistLoader_.media();i.stuckAtPlaylistEnd_(t)&&(i.blacklistCurrentPlaylist({message:"Playlist no longer updating."}),i.tech_.trigger("playliststuck"))}),this.masterPlaylistLoader_.on("renditiondisabled",function(){i.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"}),i.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})}),this.masterPlaylistLoader_.on("renditionenabled",function(){i.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"}),i.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})})},e.handleUpdatedMediaPlaylist=function(t){this.useCueTags_&&this.updateAdCues_(t),this.mainSegmentLoader_.playlist(t,this.requestOptions_),this.updateDuration(!t.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},e.triggerPresenceUsage_=function(t,e){var i,n=t.mediaGroups||{},s=!0,t=Object.keys(n.AUDIO);for(i in n.AUDIO)for(var r in n.AUDIO[i]){n.AUDIO[i][r].uri||(s=!1)}s&&(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"})),hd.Playlist.isAes(e)&&(this.tech_.trigger({type:"usage",name:"vhs-aes"}),this.tech_.trigger({type:"usage",name:"hls-aes"})),t.length&&1<Object.keys(n.AUDIO[t[0]]).length&&(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"}))},e.setupSegmentLoaderListeners_=function(){var n=this;this.mainSegmentLoader_.on("bandwidthupdate",function(){var t=n.selectPlaylist(),e=n.masterPlaylistLoader_.media(),i=n.tech_.buffered();!function(t){var e=t.currentPlaylist,i=t.nextPlaylist,n=t.forwardBuffer,s=t.bufferLowWaterLine,r=t.duration;t.log;return i?!e.endList||(r<vl.MAX_BUFFER_LOW_WATER_LINE||(i.attributes.BANDWIDTH<e.attributes.BANDWIDTH||s<=n)):(Zn.log.warn("We received no playlist to switch to. Please check your stream."),!1)}({currentPlaylist:e,nextPlaylist:t,forwardBuffer:i.length?i.end(i.length-1)-n.tech_.currentTime():0,bufferLowWaterLine:n.bufferLowWaterLine(),duration:n.duration(),log:n.logger_})||n.masterPlaylistLoader_.media(t),n.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("progress",function(){n.trigger("progress")}),this.mainSegmentLoader_.on("error",function(){n.blacklistCurrentPlaylist(n.mainSegmentLoader_.error())}),this.mainSegmentLoader_.on("appenderror",function(){n.error=n.mainSegmentLoader_.error_,n.trigger("error")}),this.mainSegmentLoader_.on("syncinfoupdate",function(){n.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",function(){n.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),n.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",function(){n.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on("appenderror",function(){n.error=n.audioSegmentLoader_.error_,n.trigger("error")}),this.mainSegmentLoader_.on("ended",function(){n.logger_("main segment loader ended"),n.onEndOf
1Stream()}),this.mainSegmentLoader_.on("earlyabort",function(){n.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120)});function t(){if(!n.sourceUpdater_.ready())return n.tryToCreateSourceBuffers_();var t=n.getCodecsOrExclude_();t&&n.sourceUpdater_.addOrChangeSourceBuffers(t)}this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",function(){n.triggeredFmp4Usage||(n.tech_.trigger({type:"usage",name:"vhs-fmp4"}),n.tech_.trigger({type:"usage",name:"hls-fmp4"}),n.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("fmp4",function(){n.triggeredFmp4Usage||(n.tech_.trigger({type:"usage",name:"vhs-fmp4"}),n.tech_.trigger({type:"usage",name:"hls-fmp4"}),n.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("ended",function(){n.logger_("audioSegmentLoader ended"),n.onEndOfStream()})},e.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},e.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},e.smoothQualityChange_=function(t){void 0===t&&(t=this.selectPlaylist()),t!==this.masterPlaylistLoader_.media()&&(this.masterPlaylistLoader_.media(t),this.mainSegmentLoader_.resetLoader())},e.fastQualityChange_=function(t){var e=this;void 0===t&&(t=this.selectPlaylist()),t!==this.masterPlaylistLoader_.media()&&(this.masterPlaylistLoader_.media(t),this.mainSegmentLoader_.resetEverything(function(){Zn.browser.IE_VERSION||Zn.browser.IS_EDGE?e.tech_.setCurrentTime(e.tech_.currentTime()+.04):e.tech_.setCurrentTime(e.tech_.currentTime())}))},e.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var t=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<t.start(0)?this.tech_.setCurrentTime(t.end(t.length-1)):void 0}},e.setupFirstPlay=function(){var t=this,e=this.masterPlaylistLoader_.media();if(!e||this.tech_.paused()||this.hasPlayed_)return!1;if(!e.endList){var i=this.seekable();if(!i.length)return!1;if(Zn.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",function(){t.trigger("firstplay"),t.tech_.setCurrentTime(i.end(0)),t.hasPlayed_=!0}),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(i.end(0))}return this.hasPlayed_=!0,this.load(),!0},e.handleSourceOpen_=function(){var t;this.tryToCreateSourceBuffers_(),!this.tech_.autoplay()||void 0!==(t=this.tech_.play())&&"function"==typeof t.then&&t.then(null,function(t){}),this.trigger("sourceopen")},e.handleSourceEnded_=function(){var t,e;!this.inbandTextTracks_.metadataTrack_||(t=this.inbandTextTracks_.metadataTrack_.cues)&&t.length&&(e=this.duration(),t[t.length-1].endTime=isNaN(e)||Math.abs(e)===1/0?Number.MAX_VALUE:e)},e.handleDurationChange_=function(){this.tech_.trigger("durationchange")},e.onEndOfStream=function(){var t=this.mainSegmentLoader_.ended_;this.mediaTypes_.AUDIO.activePlaylistLoader&&(t=(this.mainSegmentLoader_.currentMediaInfo_&&!this.mainSegmentLoader_.currentMediaInfo_.hasVideo||t)&&this.audioSegmentLoader_.ended_),t&&this.sourceUpdater_.endOfStream()},e.stuckAtPlaylistEnd_=function(t){if(!this.seekable().length)return!1;var e=this.syncController_.getExpiredTime(t,this.duration());if(null===e)return!1;var i=hd.Playlist.playlistEnd(t,e),t=this.tech_.currentTime(),e=this.tech_.buffered();if(!e.length)return i-t<=.1;e=e.end(e.length-1);return e-t<=.1&&i-e<=.1},e.blacklistCurrentPlaylist=function(t,e){void 0===t&&(t={});var i=t.playlist||this.masterPlaylistLoader_.media();
1if(e=e||t.blacklistDuration||this.blacklistDuration,!i)return this.error=t,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));var n,s=this.masterPlaylistLoader_.master.playlists,r=s.filter(ga),o=1===r.length&&r[0]===i;if(1===s.length&&e!==1/0)return Zn.log.warn("Problem encountered with playlist "+i.id+". Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(o);o&&(n=!1,s.forEach(function(t){var e;t===i||void 0!==(e=t.excludeUntil)&&e!==1/0&&(n=!0,delete t.excludeUntil)}),n&&(Zn.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))),i.excludeUntil=Date.now()+1e3*e,this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});r=this.selectPlaylist();if(!r)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");s=t.internal?this.logger_:Zn.log.warn,e=t.message?" "+t.message:"";return s((t.internal?"Internal problem":"Problem")+" encountered with playlist "+i.id+"."+e+" Switching to playlist "+r.id+"."),r.attributes.AUDIO!==i.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),r.attributes.SUBTITLES!==i.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]),this.masterPlaylistLoader_.media(r,o)},e.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"])},e.delegateLoaders_=function(i,t){var n=this,s=[],e="all"===i;!e&&"main"!==i||s.push(this.masterPlaylistLoader_);var r=[];!e&&"audio"!==i||r.push("AUDIO"),!e&&"subtitle"!==i||(r.push("CLOSED-CAPTIONS"),r.push("SUBTITLES")),r.forEach(function(t){t=n.mediaTypes_[t]&&n.mediaTypes_[t].activePlaylistLoader;t&&s.push(t)}),["main","audio","subtitle"].forEach(function(t){var e=n[t+"SegmentLoader_"];!e||i!==t&&"all"!==i||s.push(e)}),s.forEach(function(e){return t.forEach(function(t){"function"==typeof e[t]&&e[t]()})})},e.setCurrentTime=function(t){var e=ra(this.tech_.buffered(),t);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?e&&e.length?t:(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},e.duration=function(){if(!this.masterPlaylistLoader_)return 0;var t=this.masterPlaylistLoader_.media();return t?t.endList?this.mediaSource?this.mediaSource.duration:hd.Playlist.duration(t):1/0:0},e.seekable=function(){return this.seekable_},e.onSyncInfoUpdate_=function(){var t;if(this.masterPlaylistLoader_){var e=this.masterPlaylistLoader_.media();if(e){var i=this.syncController_.getExpiredTime(e,this.duration());if(null!==i){var n,s,r=this.masterPlaylistLoader_.master.suggestedPresentationDelay,o=hd.Playlist.seekable(e,i,r);if(0!==o.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(e=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(i=this.syncController_.getExpiredTime(e,this.duration())))return;if(0===(t=hd.Playlist.seekable(e,i,r)).length)return}this.seekable_&&this.seekable_.length&&(n=this.seekable_.end(0),s=this.seekable_.start(0)),!t||t.start(0)>o.end(0)||o.start(0)>t.end(0)?this.seekable_=o:this.seekable_=Zn.createTimeRanges([[(t.start(0)>o.start(0)?t:o).start(0),(t.end(0)<o.end(0)?t:o).end(0)]]),this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===n&&this.seekable_.start(0)===s||(this.logger_("seekable updated ["+aa(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}},e.updateDuration=function(t){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,t),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(t){var e=this.seekable();return e.length?void((isNaN(this.mediaSource.duration)||this.mediaSource.duration<e.end(e.length-1))&&this.sourceUpdater_.setDuration(e.end(e.length-1))):void 0}t=this.tech_.buffered(),e=hd.Playlist.duration(this.masterPlaylistLoader_.media());0<t.length&&(e=Math.max(e,t.end(t.length-1))),this.mediaSource.duration!==e&&this.sourceUpdater_.setDuration(e)},e.dispose=function(){var n=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),["AUDIO","SUBTITLES"].forEach(function(t){var e,i=n.mediaTypes_[t].groups;for(e in i)i[e].forEach(function(t){t.playlistLoader&&t.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),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()},e.master=function(){return this.masterPlaylistLoader_.master},e.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},e.areMediaTypesKnown_=function(){var t=!!this.mediaTypes_.AUDIO.activePlaylistLoader;return!(!this.mainSegmentLoader_.currentMediaInfo_||t&&!this.audioSegmentLoader_.currentMediaInfo_)},e.getCodecsOrExclude_=function(){var n=this,s={main:this.mainSegmentLoader_.currentMediaInfo_||{},audio:this.audioSegmentLoader_.currentMediaInfo_||{}};s.video=s.main;var t=Rl(this.master(),this.media()),r={},e=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(s.main.hasVideo&&(r.video=t.video||s.main.videoCodec||Za),s.main.isMuxed&&(r.video+=","+(t.audio||s.main.audioCodec||Qa)),(s.main.hasAudio&&!s.main.isMuxed||s.audio.hasAudio||e)&&(r.audio=t.audio||s.main.audioCodec||s.audio.audioCodec||Qa,s.audio.isFmp4=(s.main.hasAudio&&!s.main.isMuxed?s.main:s.audio).isFmp4),r.audio||r.video){var o,i,a={};if(["video","audio"].forEach(function(t){var e,i;r.hasOwnProperty(t)&&(e=s[t].isFmp4,i=r[t],!(e?Ja:sl)(i))&&(i=s[t].isFmp4?"browser":"muxer",a[i]=a[i]||[],a[i].push(r[t]),"audio"===t&&(o=i))}),e&&o&&this.media().attributes.AUDIO&&(i=this.media().attributes.AUDIO,this.master().playlists.forEac
1h(function(t){(t.attributes&&t.attributes.AUDIO)===i&&t!==n.media()&&(t.excludeUntil=1/0)}),this.logger_("excluding audio group "+i+" as "+o+' does not support codec(s): "'+r.audio+'"')),!Object.keys(a).length){if(this.sourceUpdater_.ready()&&!this.sourceUpdater_.canChangeType()){var l=[];if(["video","audio"].forEach(function(t){var e=(rl(n.sourceUpdater_.codecs[t]||"")[t]||{}).type,i=(rl(r[t]||"")[t]||{}).type;e&&i&&e.toLowerCase()!==i.toLowerCase()&&l.push('"'+n.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}e=Object.keys(a).reduce(function(t,e){return t&&(t+=", "),t+=e+' does not support codec(s): "'+a[e].join(",")+'"'},"")+".";this.blacklistCurrentPlaylist({playlist:this.media(),internal:!0,message:e,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:this.media(),message:"Could not determine codecs for playlist.",blacklistDuration:1/0})},e.tryToCreateSourceBuffers_=function(){var t;"open"!==this.mediaSource.readyState||this.sourceUpdater_.ready()||!this.areMediaTypesKnown_()||(t=this.getCodecsOrExclude_())&&(this.sourceUpdater_.createSourceBuffers(t),t=[t.video,t.audio].filter(Boolean).join(","),this.excludeIncompatibleVariants_(t))},e.excludeUnsupportedVariants_=function(){var i=this;
1this.master().playlists.forEach(function(t){var e=Rl(i.master,t);!e.audio||sl(e.audio)||Ja(e.audio)||(t.excludeUntil=1/0),!e.video||sl(e.video)||Ja(e.video)||(t.excludeUntil=1/0)})},e.excludeIncompatibleVariants_=function(t){var r=this,o=rl(t),a=Object.keys(o).length;this.master().playlists.forEach(function(t){var e,i,n,s;t.excludeUntil!==1/0&&(n={},s=2,e=[],((i=Rl(r.masterPlaylistLoader_.master,t)).audio||i.video)&&(i=[i.video,i.audio].filter(Boolean).join(","),n=rl(i),s=Object.keys(n).length),s!==a&&(e.push('codec count "'+s+'" !== "'+a+'"'),t.excludeUntil=1/0),r.sourceUpdater_.canChangeType()||(n.video&&o.video&&n.video.type.toLowerCase()!==o.video.type.toLowerCase()&&(e.push('video codec "'+n.video.type+'" !== "'+o.video.type+'"'),t.excludeUntil=1/0),n.audio&&o.audio&&n.audio.type.toLowerCase()!==o.audio.type.toLowerCase()&&(t.excludeUntil=1/0,e.push('audio codec "'+n.audio.type+'" !== "'+o.audio.type+'"'))),e.length&&r.logger_("blacklisting "+t.id+": "+e.join(" && ")))})},e.updateAdCues_=function(t){var e=0,i=this.seekable();i.length&&(e=i.start(0)),function(t,e,i){if(void 0===i&&(i=0),t.segments)for(var n=i,s=0;s<t.segments.length;s++){var r,o,a,l=t.segments[s];if(a=a||function(t,e){for(var i=t.cues,n=0;n<i.length;n++){var s=i[n];if(e>=s.adStartTime&&e<=s.adEndTime)return s}return null}(e,n+l.duration/2)){if("cueIn"in l){a.endTime=n,a.adEndTime=n,n+=l.duration,a=null;continue}if(n<a.endTime){n+=l.duration;continue}a.endTime+=l.duration}else{"cueOut"in l&&((a=new g.VTTCue(n,n+l.duration,l.cueOut)).adStartTime=n,a.adEndTime=n+parseFloat(l.cueOut),e.addCue(a)),"cueOutCont"in l&&(r=(o=l.cueOutCont.split("/").map(parseFloat))[0],o=o[1],(a=new g.VTTCue(n,n+l.duration,"")).adStartTime=n-r,a.adEndTime=a.adStartTime+o,e.addCue(a))}n+=l.duration}}(t,this.cueTagsTrack_,e)},e.goalBufferLength=function(){var t=this.tech_.currentTime(),e=vl.GOAL_BUFFER_LENGTH,i=vl.GOAL_BUFFER_LENGTH_RATE,n=Math.max(e,vl.MAX_GOAL_BUFFER_LENGTH);return Math.min(e+t*i,n)},e.bufferLowWaterLine=function(){var t=this.tech_.currentTime(),e=vl.BUFFER_LOW_WATER_LINE,i=vl.BUFFER_LOW_WATER_LINE_RATE,n=Math.max(e,vl.MAX_BUFFER_LOW_WATER_LINE);return Math.min(e+t*i,n)},t}(Zn.EventTarget),Rd=["seeking","seeked","pause","playing","error"],Fd=function(){function t(t){var e=this;this.masterPlaylistController_=t.masterPlaylistController,this.tech_=t.tech,this.seekable=t.seekable,this.allowSeeksWithinUnsafeLiveWindow=t.allowSeeksWithinUnsafeLiveWindow,this.media=t.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=Fl("PlaybackWatcher"),this.logger_("initialize");function i(){return e.monitorCurrentTime_()}function n(){return e.techWaiting_()}function s(){return e.cancelTimer_()}function r(){return e.fixesBadSeeks_()}var o=this.masterPlaylistController_,a=["main","subtitle","audio"],l={};a.forEach(function(t){l[t]={reset:function(){return e.resetSegmentDownloads_(t)},updateend:function(){return e.checkSegmentDownloads_(t)}},o[t+"SegmentLoader_"].on("appendsdone",l[t].updateend),o[t+"SegmentLoader_"].on("playlistupdate",l[t].reset),e.tech_.on(["seeked","seeking"],l[t].reset)}),this.tech_.on("seekablechanged",r),this.tech_.on("waiting",n),this.tech_.on(Rd,s),this.tech_.on("canplay",i),this.dispose=function(){e.logger_("dispose"),e.tech_.off("seekablechanged",r),e.tech_.off("waiting",n),e.tech_.off(Rd,s),e.tech_.off("canplay",i),a.forEach(function(t){o[t+"SegmentLoader_"].off("appendsdone",l[t].updateend),o[t+"SegmentLoader_"].off("playlistupdate",l[t].reset),e.tech_.off(["seeked","seeking"],l[t].reset)}),e.checkCurrentTimeTimeout_&&g.clearTimeout(e.checkCurrentTimeTimeout_),e.cancelTimer_()}}var e=t.prototype;return e.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&g.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=g.setTimeout(this.monitorCurrentTime_.bind(this),250)},e.resetSegmentDownloads_=function(t){var e=this.masterPlaylistController_[t+"SegmentLoader_"];0<this[t+"StalledDownloads_"]&&this.logger_("resetting possible stalled download count for "+t+" loader"),this[t+"StalledDownloads_"]=0,this[t+"Buffered_"]=e.buffered_()},e.checkSegmentDownloads_=function(t){var e=this.masterPlaylistController_,i=e[t+"SegmentLoader_"],n=i.buffered_(),s=function(t,e){if(t===e)return!1;if(!t&&e||!e&&t)return!0;
1if(t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t.start(i)!==e.start(i)||t.end(i)!==e.end(i))return!0;return!1}(this[t+"Buffered_"],n);this[t+"Buffered_"]=n,s?this.resetSegmentDownloads_(t):(this[t+"StalledDownloads_"]++,this.logger_("found #"+this[t+"StalledDownloads_"]+" "+t+" appends that did not increase buffer (possible stalled download)",{playlistId:i.playlist_&&i.playlist_.id,buffered:la(n)}),this[t+"StalledDownloads_"]<10||(this.logger_(t+" loader stalled download exclusion"),this.resetSegmentDownloads_(t),this.tech_.trigger({type:"usage",name:"vhs-"+t+"-download-exclusion"}),"subtitle"!==t&&e.blacklistCurrentPlaylist({message:"Excessive "+t+" segment downloading detected."},1/0)))},e.checkCurrentTime_=function(){if(this.tech_.seeking()&&this.fixesBadSeeks_())return this.consecutiveUpdates=0,void(this.lastRecordedTime=this.tech_.currentTime());if(!this.tech_.paused()&&!this.tech_.seeking()){var t=this.tech_.currentTime(),e=this.tech_.buffered();if(this.lastRecordedTime===t&&(!e.length||t+.1>=e.end(e.length-1)))return this.techWaiting_();5<=this.consecutiveUpdates&&t===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):t===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=t)}},e.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},e.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var t,e=this.seekable(),i=this.tech_.currentTime();if(this.afterSeekableWindow_(e,i,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(t=e.end(e.length-1)),this.beforeSeekableWindow_(e,i)&&(t=(s=e.start(0))+(s===e.end(0)?0:.1)),void 0!==t)return this.logger_("Trying to seek outside of seekable at time "+i+" with seekable range "+aa(e)+". Seeking to "+t+"."),this.tech_.setCurrentTime(t),!0;var n,s,r=this.tech_.buffered();return n={buffered:r,targetDuration:this.media().targetDuration,currentTime:i},s=n.buffered,e=n.targetDuration,n=n.currentTime,!(!s.length||s.end(0)-s.start(0)<2*e||n>s.start(0))&&s.start(0)-n<e&&(t=r.start(0)+.1,this.logger_("Buffered region starts ("+r.start(0)+")  just beyond seek point ("+i+"). Seeking to "+t+"."),this.tech_.setCurrentTime(t),!0)},e.waiting_=function(){var t,e;this.techWaiting_()||(t=this.tech_.currentTime(),e=this.tech_.buffered(),(e=ra(e,t)).length&&t+3<=e.end(0)&&(this.cancelTimer_(),this.tech_.setCurrentTime(t),this.logger_("Stopped at "+t+" while inside a buffered region ["+e.start(0)+" -> "+e.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})))},e.techWaiting_=function(){var t=this.seekable(),e=this.tech_.currentTime();if(this.tech_.seeking()&&this.fixesBadSeeks_())return!0;if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(t,e)){var i=t.end(t.length-1);return this.logger_("Fell out of live window at time "+e+". Seeking to live point (seekable end) "+i),this.cancelTimer_(),this.tech_.setCurrentTime(i),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}t=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,i=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:t.audioBuffered(),videoBuffered:t.videoBuffered(),currentTime:e}))return this.cancelTimer_(),this.tech_.setCurrentTime(e),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;t=oa(i,e);if(0<t.length){i=t.start(0)-e;return this.logger_("Stopped at "+e+", setting timer for "+i+", seeking to "+t.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*i,e),!0}return!1},e.afterSeekableWindow_=function(t,e,i,n){if(void 0===n&&(n=!1),!t.length)return!1;var s=t.end(t.length-1)+.1;return!i.endList&&n&&(s=t.end(t.length-1)+3*i.targetDuration),s<e},e.beforeSeekableWindow_=function(t,e){return!!(t.length&&0<t.start(0)&&e<t.start(0)-.1)},e.videoUnderflow_=function(t){var e,i,n=t.videoBuffered,s=t.audioBuffered,r=t.currentTime;if(n)return n.length&&s.length?(i=ra(n,r-3),t=ra(n,r),(s=ra(s,r)).length&&!t.length&&i.length&&(e={start:i.end(0),end:s.end(0)})):oa(n,r).length||(e=this.gapFromVideoUnderflow_(n,r)),!!e&&(this.logger_("Encountered a gap in video from "+e.start+" to "+e.end+". Seeking to current time "+r),!0)},e.skipTheGap_=function(t){var e=this.tech_.buffered(),i=this.tech_.currentTime(),e=oa(e,i);this.cancelTimer_(),0!==e.length&&i===t&&(this.logger_("skipTheGap_:","currentTime:",i,"scheduled currentTime:",t,"nextRange start:",e.
1start(0)),this.tech_.setCurrentTime(e.start(0)+1/30),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))},e.gapFromVideoUnderflow_=function(t,e){for(var i=function(t){if(t.length<2)return Zn.createTimeRanges();for(var e=[],i=1;i<t.length;i++){var n=t.end(i-1),s=t.start(i);e.push([n,s])}return Zn.createTimeRanges(e)}(t),n=0;n<i.length;n++){var s=i.start(n),r=i.end(n);if(e-s<4&&2<e-s)return{start:s,end:r}}return null},t}(),jd={errorInterval:30,getSource:function(t){return t(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},ns=function(t){ud(this,t)},Bd={PlaylistLoader:cl,Playlist:hl,utils:ni,STANDARD_PLAYLIST_SELECTOR:function(){var t=this.useDevicePixelRatio&&g.devicePixelRatio||1;return function(t,e,i,n,s){var r={bandwidth:e,width:i,height:n,limitRenditionByPlayerDimensions:s},o=t.playlists.map(function(t){var e=t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width,i=t.attributes.RESOLUTION&&t.attributes.RESOLUTION.height,n=t.attributes.BANDWIDTH;return{bandwidth:n||g.Number.MAX_VALUE,width:e,height:i,playlist:t}});Hl(o,function(t,e){return t.bandwidth-e.bandwidth});var a=(o=o.filter(function(t){return!hl.isIncompatible(t.playlist)})).filter(function(t){return hl.isEnabled(t.playlist)});a.length||(a=o.filter(function(t){return!hl.isDisabled(t.playlist)}));var l=a.filter(function(t){return t.bandwidth*vl.BANDWIDTH_VARIANCE<e}),d=l[l.length-1],t=l.filter(function(t){return t.bandwidth===d.bandwidth})[0];if(!1===s){var c=t||a[0]||o[0];if(c&&c.playlist){s=t?"bandwidthBestRep":"sortedPlaylistReps";return a[0]&&(s="enabledPlaylistReps"),Xl("choosing "+jl(c)+" using "+s+" with options",r),c.playlist}return Xl("could not choose a playlist with options",r),null}c=l.filter(function(t){return t.width&&t.height});Hl(c,function(t,e){return t.width-e.width});var u,h,l=c.filter(function(t){return t.width===i&&t.height===n}),d=l[l.length-1],l=l.filter(function(t){return t.bandwidth===d.bandwidth})[0];l||(p=(u=c.filter(function(t){return t.width>i||t.height>n})).filter(function(t){return t.width===u[0].width&&t.height===u[0].height}),d=p[p.length-1],h=p.filter(function(t){return t.bandwidth===d.bandwidth})[0]);var p=h||l||t||a[0]||o[0];if(p&&p.playlist){o="sortedPlaylistReps";return h?o="resolutionPlusOneRep":l?o="resolutionBestRep":t?o="bandwidthBestRep":a[0]&&(o="enabledPlaylistReps"),Xl("choosing "+jl(p)+" using "+o+" with options",r),p.playlist}return Xl("could not choose a playlist with options",r),null}(this.playlists.master,this.systemBandwidth,parseInt(Bl(this.tech_.el(),"width"),10)*t,parseInt(Bl(this.tech_.el(),"height"),10)*t,this.limitRenditionByPlayerDimensions)},INITIAL_PLAYLIST_SELECTOR:function(){var e=this,t=this.playlists.master.playlists.filter(hl.isEnabled);return Hl(t,Ul),t.filter(function(t){return!!Rl(e.playlists.master,t).video})[0]||null},comparePlaylistBandwidth:Ul,comparePlaylistResolution:function(t,e){var i,n;return t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(i=t.attributes.RESOLUTION.width),i=i||g.Number.MAX_VALUE,e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),i===(n=n||g.Number.MAX_VALUE)&&t.attributes.BANDWIDTH&&e.attributes.BANDWIDTH?t.attributes.BANDWIDTH-e.attributes.BANDWIDTH:i-n},xhr:ba()};["GOAL_BUFFER_LENGTH","MAX_GOAL_BUFFER_LENGTH","BACK_BUFFER_LENGTH","GOAL_BUFFER_LENGTH_RATE","BUFFER_LOW_WATER_LINE","MAX_BUFFER_LOW_WATER_LINE","BUFFER_LOW_WATER_LINE_RATE","BANDWIDTH_VARIANCE"].forEach(function(e){Object.defineProperty(Bd,e,{get:function(){return Zn.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),vl[e]},set:function(t){Zn.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?Zn.log.warn("value of Vhs."+e+" must be greater than or equal to 0"):vl[e]=t}})});function Hd(t,e){for(var i=e.media(),n=-1,s=0;s<t.length;s++)if(t[s].id===i.id){n=s;break}t.selectedIndex_=n,t.trigger({selectedIndex:n,type:"change"})}var Ud="videojs-vhs";Bd.canPlaySource=function(){return Zn.log.warn("HLS is no longer a tech. Please remove it from your player'
1s techOrder.")};function zd(t){var i,e=t.player,n=t.sourceKeySystems,s=t.media,r=t.audioMedia,t=t.mainPlaylists;(s=function(t,e,i){if(!t)return t;var n={video:e&&e.attributes&&e.attributes.CODECS,audio:i&&i.attributes&&i.attributes.CODECS};!n.audio&&n.video&&1<n.video.split(",").length&&n.video.split(",").forEach(function(t){t=t.trim(),il(t)?n.audio=t:nl(t)&&(n.video=t)});var s,r=n.video?'video/mp4;codecs="'+n.video+'"':null,o=n.audio?'audio/mp4;codecs="'+n.audio+'"':null,a={};for(s in t)a[s]={audioContentType:o,videoContentType:r},e.contentProtection&&e.contentProtection[s]&&e.contentProtection[s].pssh&&(a[s].pssh=e.contentProtection[s].pssh),"string"==typeof t[s]&&(a[s].url=t[s]);return Zn.mergeOptions(t,a)}(n,s,r))&&(!(e.currentSource().keySystems=s)||e.eme?11!==Zn.browser.IE_VERSION&&e.eme.initializeMediaKeys&&(t=t=r?t.concat([r]):t,i=Object.keys(n),t.reduce(function(t,n){if(!n.contentProtection)return t;var e=i.reduce(function(t,e){var i=n.contentProtection[e];return i&&i.pssh&&(t[e]={pssh:i.pssh}),t},{});return Object.keys(e).length&&t.push(e),t},[])).forEach(function(t){e.eme.initializeMediaKeys({keySystems:t})}):Zn.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"))}function qd(){if(!g.localStorage)return null;var t=g.localStorage.getItem(Ud);if(!t)return null;try{return JSON.parse(t)}catch(t){return null}}Bd.supportsNativeHls=function(){if(!u||!u.createElement)return!1;var e=u.createElement("video");if(!Zn.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))})}(),Bd.supportsNativeDash=!!(u&&u.createElement&&Zn.getTech("Html5").isSupported())&&/maybe|probably/i.test(u.createElement("video").canPlayType("application/dash+xml")),Bd.supportsTypeNatively=function(t){return"hls"===t?Bd.supportsNativeHls:"dash"===t&&Bd.supportsNativeDash},Bd.isSupported=function(){return Zn.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Wd=function(s){function t(t,e,i){var n=s.call(this,e,Zn.mergeOptions(i.hls,i.vhs))||this;if(i.hls&&Object.keys(i.hls).length&&Zn.log.warn("Using hls options is deprecated. Use vhs instead."),e.options_&&e.options_.playerId&&((i=Zn(e.options_.playerId)).hasOwnProperty("hls")||Object.defineProperty(i,"hls",{get:function(){return Zn.log.warn("player.hls is deprecated. Use player.tech().vhs instead."),e.trigger({type:"usage",name:"hls-player-access"}),Bt(n)},configurable:!0}),i.hasOwnProperty("vhs")||Object.defineProperty(i,"vhs",{get:function(){return Zn.log.warn("player.vhs is deprecated. Use player.tech().vhs instead."),e.trigger({type:"usage",name:"vhs-player-access"}),Bt(n)},configurable:!0}),i.hasOwnProperty("dash")||Object.defineProperty(i,"dash",{get:function(){return Zn.log.warn("player.dash is deprecated. Use player.tech().vhs instead."),Bt(n)},configurable:!0}),n.player_=i),n.tech_=e,n.source_=t,n.stats={},n.ignoreNextSeekingEvent_=!1,n.setOptions_(),n.options_.overrideNative&&e.overrideNativeAudioTracks&&e.overrideNativeVideoTracks)e.overrideNativeAudioTracks(!0),e.overrideNativeVideoTracks(!0);else if(n.options_.overrideNative&&(e.featuresNativeVideoTracks||e.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return n.on(u,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(t){var e=u.fullscreenElement||u.webkitFullscreenElement||u.mozFullScreenElement||u.msFullscreenElement;e&&e.contains(n.tech_.el())&&n.masterPlaylistController_.smoothQualityChange_()}),n.on(n.tech_,"seeking",function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())}),n.on(n.tech_,"error",function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()}),n.on(n.tech_,"play",n.play),n}Ht(t,s);var e=t.prototype;return e.setOptions_=function(){var t,e=this;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=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.handlePartialData=this.options_.handlePartialData||!1,"number"!=typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage&&((t=qd())&&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=vl.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===vl.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys","handlePartialData"].forEach(function(t){void 0!==e.source_[t]&&(e.options_[t]=e.source_[t])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},e.src=function(t,e){var n=this;t&&(this.setOptions_(),this.options_.src=0===(t=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(t.substring(t.indexOf(",")+1)):t,this.options_.tech=this.tech_,this.options_.externVhs=Bd,this.options_.sourceType=us(e),this.options_.seekTo=function(t){n.tech_.setCurrentTime(t)},this.masterPlaylistController_=new Nd(this.options_),this.playbackWatcher_=new Fd(Zn.mergeOptions(this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_})),this.masterPlaylistController_.on("error",function(){var t=Zn.players[n.tech_.options_.playerId],e=n.masterPlaylistController_.error;"object"!=typeof e||e.code?"string"==typeof e&&(e={message:e,code:3}):e.code=3,t.error(e)}),this.masterPlaylistController_.selectPlaylist=(this.selectPlaylist?this.selectPlaylist:Bd.STANDARD_PLAYLIST_SELECTOR).bind(this),this.masterPlaylistController_.selectInitialPlaylist=Bd.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(t){this.masterPlaylistController_.selectPlaylist=t.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(t){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=t,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.bandwidth}
1,set:function(t){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=t,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var t=1/(this.bandwidth||1),e=0<this.throughput?1/this.throughput:0;return Math.floor(1/(t+e))},set:function(){Zn.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},buffered:{get:function(){return la(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 la(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(t){if(!g.localStorage)return;var e=(e=qd())?Zn.mergeOptions(e,t):t;try{g.localStorage.setItem(Ud,JSON.stringify(e))}catch(t){return}}({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})}),this.masterPlaylistController_.on("selectedinitialmedia",function(){var i,t;t=(i=n).playlists,i.representations=function(){return t&&t.master&&t.master.playlists?t.master.playlists.filter(function(t){return!ma(t)}).map(function(t,e){return new cd(i,t,t.id)}):[]}}),this.masterPlaylistController_.sourceUpdater_.on("ready",function(){var t=n.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;zd({player:n.player_,sourceKeySystems:n.source_.keySystems,media:n.playlists.media(),audioMedia:t&&t.media(),mainPlaylists:n.playlists.master.playlists})}),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_=g.URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_)))},e.setupQualityLevels_=function(){var i=this,t=Zn.players[this.tech_.options_.playerId];
1t&&t.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=t.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",function(){var e,t;e=i.qualityLevels_,(t=i).representations().forEach(function(t){e.addQualityLevel(t)}),Hd(e,t.playlists)}),this.playlists.on("mediachange",function(){Hd(i.qualityLevels_,i.playlists)}))},t.version=function(){return{"@videojs/http-streaming":"2.2.4","mux.js":"5.6.7","mpd-parser":"0.14.0","m3u8-parser":"4.5.0","aes-decrypter":"3.1.0"}},e.version=function(){return this.constructor.version()},e.canChangeType=function(){return Sd.canChangeType()},e.play=function(){this.masterPlaylistController_.play()},e.setCurrentTime=function(t){this.masterPlaylistController_.setCurrentTime(t)},e.duration=function(){return this.masterPlaylistController_.duration()},e.seekable=function(){return this.masterPlaylistController_.seekable()},e.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_&&g.URL.revokeObjectURL&&(g.URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),s.prototype.dispose.call(this)},e.convertToProgramTime=function(t,e){return Ea({playlist:this.masterPlaylistController_.media(),time:t,callback:e})},e.seekToProgramTime=function(t,e,i,n){return void 0===i&&(i=!0),void 0===n&&(n=2),Da({programTime:t,playlist:this.masterPlaylistController_.media(),retryCount:n,pauseAfterSeek:i,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:e})},t}(Zn.getComponent("Component")),Vd={name:"videojs-http-streaming",VERSION:"2.2.4",canHandleSource:function(t,e){void 0===e&&(e={});e=Zn.mergeOptions(Zn.options,e);return Vd.canPlayType(t.type,e)},handleSource:function(t,e,i){void 0===i&&(i={});i=Zn.mergeOptions(Zn.options,i);return e.vhs=new Wd(t,e,i),Zn.hasOwnProperty("hls")||Object.defineProperty(e,"hls",{get:function(){return Zn.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),e.vhs},configurable:!0}),e.vhs.xhr=ba(),e.vhs.src(t.src,t.type),e.vhs},canPlayType:function(t,e){void 0===e&&(e={});e=Zn.mergeOptions(Zn.options,e).vhs.overrideNative,e=void 0===e?!Zn.browser.IS_ANY_SAFARI:e,t=us(t);return t&&(!Bd.supportsTypeNatively(t)||e)?"maybe":""}};return Ja("avc1.4d400d,mp4a.40.2")&&Zn.getTech("Html5").registerSourceHandler(Vd,0),Zn.VhsHandler=Wd,Object.defineProperty(Zn,"HlsHandler",{get:function(){return Zn.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),Wd},configurable:!0}),Zn.VhsSourceHandler=Vd,Object.defineProperty(Zn,"HlsSourceHandler",{get:function(){return Zn.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),Vd},configurable:!0}),Zn.Vhs=Bd,Object.defineProperty(Zn,"Hls",{get:function(){return Zn.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),Bd},configurable:!0}),Zn.use||(Zn.registerComponent("Hls",Bd),Zn.registerComponent("Vhs",Bd)),Zn.options.vhs=Zn.options.vhs||{},Zn.options.hls=Zn.options.hls||{},Zn.registerPlugin?Zn.registerPlugin("reloadSourceOnError",ns):Zn.plugin("reloadSourceOnError",ns),Zn}),function(e,i){var t;"object"==typeof exports&&"undefined"!=typeof module?(t=require("video.js"),module.exports=i(t.default||t)):"function"==typeof define&&define.amd?define(["videojs"],function(t){return e.Youtube=i(t)}):e.Youtube=i(e.videojs)}(this,function(e){"use strict";var t,i,n,s,r,o,a,l,d=e.browser.IS_IOS||e.browser.IS_NATIVE_ANDROID,c=e.getTech("Tech"),u=e.extend(c,{constructor:function(t,e){c.call(this,t,e),this.setPoster(t.poster),this.setSrc(this.options_.source,!0),this.setTimeout(function(){this.el_&&(this.el_.parentNode.className+=" vjs-youtube",d&&(this.el_.parentNode.className+=" vjs-youtube-mobile"),u.isApiReady?this.initYTPlayer():u.apiReadyQueue.push(this))}.bind(this))},dispose:function(){var t;this.ytPlayer?(this.ytPlayer.stopVideo&&this.ytPlayer.stopVideo(),this.ytPlayer.destroy&&this.ytPlayer.destroy()):-1!==(t=u.apiReadyQueue.indexOf(this))&&u.apiReadyQueue.splice(t,1),this.ytPlayer=null,this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-youtube","").replace(" vjs-youtube-mobile",""),this.el_.parentNode.removeChild(this.el_),c.prototype.dispose.call(this)},createEl:function(){var t=document.createElement("div");t.setAttribute("id",this.options_.techId),t.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute"),t.setAttribute("class","vjs-tech");var e=document.createElement("div");return e.appendChild(t),d||this.options_.ytControls||((t=document.createElement("div")).setAttribute("class","vjs-iframe-blocker"),t.setAttribute("style","position:absolute;top:0;left:0;width:100%;height:100%"),t.onclick=function(){this.pause()}.bind(this),e.appendChild(t)),e},initYTPlayer:function(){var t,e,i={controls:0,modestbranding:1,rel:0,showinfo:0,loop:this.options_.loop?1:0};
vendor: 8,465 bytes, line 1
1void 0!==this.options_.autohide&&(i.autohide=this.options_.autohide),void 0!==this.options_.cc_load_policy&&(i.cc_load_policy=this.options_.cc_load_policy),void 0!==this.options_.ytControls&&(i.controls=this.options_.ytControls),void 0!==this.options_.disablekb&&(i.disablekb=this.options_.disablekb),void 0!==this.options_.color&&(i.color=this.options_.color),i.controls?void 0!==this.options_.fs&&(i.fs=this.options_.fs):i.fs=0,-1!==this.options_.source.src.indexOf("end=")&&(t=this.options_.source.src.match(/end=([0-9]*)/),this.options_.end=parseInt(t[1])),void 0!==this.options_.end&&(i.end=this.options_.end),void 0!==this.options_.hl?i.hl=this.options_.hl:void 0!==this.options_.language&&(i.hl=this.options_.language.substr(0,2)),void 0!==this.options_.iv_load_policy&&(i.iv_load_policy=this.options_.iv_load_policy),void 0!==this.options_.list?i.list=this.options_.list:this.url&&void 0!==this.url.listId&&(i.list=this.url.listId),void 0!==this.options_.listType&&(i.listType=this.options_.listType),void 0!==this.options_.modestbranding&&(i.modestbranding=this.options_.modestbranding),void 0!==this.options_.playlist&&(i.playlist=this.options_.playlist),void 0!==this.options_.playsinline&&(i.playsinline=this.options_.playsinline),void 0!==this.options_.rel&&(i.rel=this.options_.rel),void 0!==this.options_.showinfo&&(i.showinfo=this.options_.showinfo),-1!==this.options_.source.src.indexOf("start=")&&(n=this.options_.source.src.match(/start=([0-9]*)/),this.options_.start=parseInt(n[1])),void 0!==this.options_.start&&(i.start=this.options_.start),void 0!==this.options_.theme&&(i.theme=this.options_.theme),void 0!==this.options_.customVars&&(e=this.options_.customVars,Object.keys(e).forEach(function(t){i[t]=e[t]})),this.activeVideoId=this.url?this.url.videoId:null,this.activeList=i.list;var n={videoId:this.activeVideoId,playerVars:i,events:{onReady:this.onPlayerReady.bind(this),onPlaybackQualityChange:this.onPlayerPlaybackQualityChange.bind(this),onPlaybackRateChange:this.onPlayerPlaybackRateChange.bind(this),onStateChange:this.onPlayerStateChange.bind(this),onVolumeChange:this.onPlayerVolumeChange.bind(this),onError:this.onPlayerError.bind(this)}};void 0!==this.options_.enablePrivacyEnhancedMode&&this.options_.enablePrivacyEnhancedMode&&(n.host="https://www.youtube-nocookie.com"),this.ytPlayer=new YT.Player(this.options_.techId,n)},onPlayerReady:function(){this.options_.muted&&this.ytPlayer.mute(),1<this.ytPlayer.getAvailablePlaybackRates().length&&(this.featuresPlaybackRate=!0),this.playerReady_=!0,this.triggerReady(),this.playOnReady?this.play():this.cueOnReady&&(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)},onPlayerPlaybackQualityChange:function(){},onPlayerPlaybackRateChange:function(){this.trigger("ratechange")},onPlayerStateChange:function(t){t=t.data;if(t!==this.lastState&&!this.errorNumber)switch(this.lastState=t){case-1:this.trigger("loadstart"),this.trigger("loadedmetadata"),this.trigger("durationchange"),this.trigger("ratechange");break;case YT.PlayerState.ENDED:this.trigger("ended");break;case YT.PlayerState.PLAYING:this.trigger("timeupdate"),this.trigger("durationchange"),this.trigger("playing"),this.trigger("play"),this.isSeeking&&this.onSeeked();break;case YT.PlayerState.PAUSED:this.trigger("canplay"),this.isSeeking?this.onSeeked():this.trigger("pause");break;case YT.PlayerState.BUFFERING:this.player_.trigger("timeupdate"),this.player_.trigger("waiting")}},onPlayerVolumeChange:function(){this.trigger("volumechange")},onPlayerError:function(t){this.errorNumber=t.data,this.trigger("pause"),this.trigger("error")},error:function(){var t=1e3+this.errorNumber;switch(this.errorNumber){case 5:return{code:t,message:"Error while trying to play the video"};case 2:case 100:return{code:t,message:"Unable to find the video"};case 101:case 150:return{code:t,message:"Playback on other Websites has been disabled by the video owner."}}return{code:t,message:"YouTube unknown error ("+this.errorNumber+")"}},loadVideoById_:function(t){t={videoId:t};this.options_.start&&(t.startSeconds=this.options_.start),this.options_.end&&(t.endSeconds=this.options_.end),this.ytPlayer.loadVideoById(t)},cueVideoById_:function(t){t={videoId:t};this.options_.start&&(t.startSeconds=this.options_.start),this.options_.end&&(t.endSeconds=this.options_.end),this.ytPlayer.cueVideoById(t)},src:function(t){return t&&this.setSrc({src:t}),this.source},poster:function(){return d?null:this.poster_},setPoster:function(t){this.poster_=t},setSrc:function(t){t&&t.src&&(delete this.errorNumber,this.source=t,this.url=u.parseUrl(t.src),this.options_.poster||this.url.videoId&&(this.poster_="https://img.youtube.com/vi/"+this.url.videoId+"/0.jpg",this.trigger("posterchange"),this.checkHighResPoster()),this.options_.autoplay&&!d?this.isReady_?this.play():this.playOnReady=!0:this.activeVideoId!==this.url.videoId&&(this.isReady_?(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId):this.cueOnReady=!0))},autoplay:function(){return this.options_.autoplay},setAutoplay:function(t){this.options_.autoplay=t},loop:function(){return this.options_.loop},setLoop:function(t){this.options_.loop=t},play:function(){this.url&&this.url.videoId&&(this.wasPausedBeforeSeek=!1,this.isReady_?(this.url.listId&&(this.activeList===this.url.listId?this.ytPlayer.playVideo():(this.ytPlayer.loadPlaylist(this.url.listId),this.activeList=this.url.listId)),this.activeVideoId===this.url.videoId?this.ytPlayer.playVideo():(this.loadVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)):(this.trigger("waiting"),this.playOnReady=!0))},pause:function(){this.ytPlayer&&this.ytPlayer.pauseVideo()},paused:function(){return!this.ytPlayer||this.lastState!==YT.PlayerState.PLAYING&&this.lastState!==YT.PlayerState.BUFFERING},currentTime:function(){return this.ytPlayer?this.ytPlayer.getCurrentTime():0},setCurrentTime:function(t){this.lastState===YT.PlayerState.PAUSED&&(this.timeBeforeSeek=this.currentTime()),this.isSeeking||(this.wasPausedBeforeSeek=this.paused()),this.ytPlayer.seekTo(t,!0),this.trigger("timeupdate"),this.trigger("seeking"),this.isSeeking=!0,this.lastState===YT.PlayerState.PAUSED&&this.timeBeforeSeek!==t&&(clearInterval(this.checkSeekedInPauseInterval),this.checkSeekedInPauseInterval=setInterval(function(){this.lastState===YT.PlayerState.PAUSED&&this.isSeeking?this.currentTime()!==this.timeBeforeSeek&&(this.trigger("timeupdate"),this.onSeeked()):clearInterval(this.checkSeekedInPauseInterval)}.bind(this),250))},seeking:function(){return this.isSeeking},seekable:function(){return this.ytPlayer?e.createTimeRange(0,this.ytPlayer.getDuration()):e.createTimeRange()},onSeeked:function(){clearInterval(this.checkSeekedInPauseInterval),this.isSeeking=!1,this.wasPausedBeforeSeek&&this.pause(),this.trigger("seeked")},playbackRate:function(){return this.ytPlayer?this.ytPlayer.getPlaybackRate():1},setPlaybackRate:function(t){this.ytPlayer&&this.ytPlayer.setPlaybackRate(t)},duration:function(){return this.ytPlayer?this.ytPlayer.getDuration():0},currentSrc:function(){return this.source&&this.source.src},ended:function(){return!!this.ytPlayer&&this.lastState===YT.PlayerState.ENDED},volume:function(){return this.ytPlayer?this.ytPlayer.getVolume()/100:1},setVolume:function(t){this.ytPlayer&&this.ytPlayer.setVolume(100*t)},muted:function(){return!!this.ytPlayer&&this.ytPlayer.isMuted()},setMuted:function(t){this.ytPlayer&&(this.muted(!0),t?this.ytPlayer.mute():this.ytPlayer.unMute(),this.setTimeout(function(){this.trigger("volumechange")},50))},buffered:function(){if(!this.ytPlayer||!this.ytPlayer.getVideoLoadedFraction)return e.createTimeRange();var t=this.ytPlayer.getVideoLoadedFraction()*this.ytPlayer.getDuration();return e.createTimeRange(0,t)},preload:function(){},load:function(){},reset:function(){},networkState:function(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 3:return 2;default:return 1}},readyState:function(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 5:return 1;case 3:return 2;default:return 4}},supportsFullScreen:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled},checkHighResPoster:function(){var t="https://img.youtube.com/vi/"+this.url.videoId+"/maxresdefault.jpg";try{var e=new Image;e.onload=function(){if("naturalHeight"in e){if(e.naturalHeight<=90||e.naturalWi
1dth<=120)return}else if(e.height<=90||e.width<=120)return;this.poster_=t,this.trigger("posterchange")}.bind(this),e.onerror=function(){},e.src=t}catch(t){}}});u.isSupported=function(){return!0},u.canPlaySource=function(t){return u.canPlayType(t.type)},u.canPlayType=function(t){return"video/youtube"===t},u.parseUrl=function(t){var e={videoId:null},i=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);i&&11===i[2].length&&(e.videoId=i[2]);return(i=t.match(/[?&]list=([^#\&\?]+)/))&&i[1]&&(e.listId=i[1]),e},u.apiReadyQueue=[],"undefined"!=typeof document&&(s="https://www.youtube.com/iframe_api",o=!(r=function(){YT.ready(function(){u.isApiReady=!0;for(var t=0;t<u.apiReadyQueue.length;++t)u.apiReadyQueue[t].initYTPlayer()})}),a=document.createElement("script"),(l=document.getElementsByTagName("script")[0])&&(l.parentNode.insertBefore(a,l),a.onload=function(){o||(o=!0,r())},a.onreadystatechange=function(){o||"complete"!==this.readyState&&"loaded"!==this.readyState||(o=!0,r())},a.src=s),t=".vjs-youtube .vjs-iframe-blocker { display: none; }.vjs-youtube.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-youtube .vjs-poster { background-size: cover; }.vjs-youtube-mobile .vjs-big-play-button { display: none; }",i=document.head||document.getElementsByTagName("head")[0],(n=document.createElement("style")).type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),i.appendChild(n)),void 0!==e.registerTech?e.registerTech("Youtube",u):e.registerComponent("Youtube",u)});
2//# sourceMappingURL=vendors.min.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.