1 2; /* Start:"a:4:{s:4:"full";s:56:"/bitrix/templates/doctor/js/libs.min.js?1696340016211627";s:6:"source";s:39:"/bitrix/templates/doctor/js/libs.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3!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(_,t){"use strict";var e=[],T=_.document,i=Object.getPrototypeOf,a=e.slice,g=e.concat,l=e.push,o=e.indexOf,n={},s=n.toString,f=n.hasOwnProperty,r=f.toString,c=r.call(Object),m={};function v(t,e){var n=(e=e||T).createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}var u="3.2.1",S=function(t,e){return new S.fn.init(t,e)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,h=/^-ms-/,p=/-([a-z])/g,y=function(t,e){return e.toUpperCase()};function b(t){var e=!!t&&"length"in t&&t.length,n=S.type(t);return"function"!==n&&!S.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}S.fn=S.prototype={jquery:u,constructor:S,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){var e=S.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return S.each(this,t)},map:function(n){return this.pushStack(S.map(this,function(t,e){return n.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)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},S.extend=S.fn.extend=function(){var t,e,n,i,o,s,r=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[a]||{},a++),"object"==typeof r||S.isFunction(r)||(r={}),a===l&&(r=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=r[e],r!==(i=t[e])&&(c&&i&&(S.isPlainObject(i)||(o=Array.isArray(i)))?(o?(o=!1,s=n&&Array.isArray(n)?n:[]):s=n&&S.isPlainObject(n)?n:{},r[e]=S.extend(c,s,i)):void 0!==i&&(r[e]=i));return r},S.extend({expando:"jQuery"+(u+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===S.type(t)},isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=S.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==s.call(t)||(e=i(t))&&("function"!=typeof(n=f.call(e,"constructor")&&e.constructor)||r.call(n)!==c))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?n[s.call(t)]||"object":typeof t},globalEval:function(t){v(t)},camelCase:function(t){return t.replace(h,"ms-").replace(p,y)},each:function(t,e){var n,i=0;if(b(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(d,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(b(Object(t))?S.merge(n,"string"==typeof t?[t]:t):l.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:o.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,s=t.length,r=!n;o<s;o++)!e(t[o],o)!==r&&i.push(t[o]);return i},map:function(t,e,n){var i,o,s=0,r=[];if(b(t))for(i=t.length;s<i;s++)null!=(o=e(t[s],s,n))&&r.push(o);else for(s in t)null!=(o=e(t[s],s,n))&&r.push(o);return g.apply([],r)},guid:1,proxy:function(t,e){var n,i,o;if("string"==typeof e&&(n=t[e],e=t,t=n),S.isFunction(t))return i=a.call(arguments,2),(o=function(){return t.apply(e||this,i.concat(a.call(arguments)))}).guid=t.guid=t.guid||S.guid++,o},now:Date.now,support:m}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=e[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){n["[object "+e+"]"]=e.toLowerCase()});var x=function(n){var t,p,x,s,o,f,d,g,w,l,c,C,_,r,T,m,a,u,v,S="sizzle"+1*ne
vendor: 17,657 bytes, line 3
3w Date,y=n.document,$=0,i=0,h=rt(),b=rt(),E=rt(),k=function(t,e){return t===e&&(c=!0),0},P={}.hasOwnProperty,e=[],j=e.pop,A=e.push,D=e.push,L=e.slice,M=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",H="\\["+N+"*("+F+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+N+"*\\]",I=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",O=new RegExp(N+"+","g"),z=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),R=new RegExp("^"+N+"*,"+N+"*"),B=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),W=new RegExp("="+N+"*([^\\]'\"]*?)"+N+"*\\]","g"),X=new RegExp(I),Y=new RegExp("^"+F+"$"),U={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},Z=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,V=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+N+"?|("+N+")|.)","ig"),tt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},it=function(){C()},ot=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{D.apply(e=L.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}catch(t){D={apply:e.length?function(t,e){A.apply(t,L.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function st(t,e,n,i){var o,s,r,a,l,c,u,d=e&&e.ownerDocument,h=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==h&&9!==h&&11!==h)return n;if(!i&&((e?e.ownerDocument||e:y)!==_&&C(e),e=e||_,T)){if(11!==h&&(l=K.exec(t)))if(o=l[1]){if(9===h){if(!(r=e.getElementById(o)))return n;if(r.id===o)return n.push(r),n}else if(d&&(r=d.getElementById(o))&&v(e,r)&&r.id===o)return n.push(r),n}else{if(l[2])return D.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&p.getElementsByClassName&&e.getElementsByClassName)return D.apply(n,e.getElementsByClassName(o)),n}if(p.qsa&&!E[t+" "]&&(!m||!m.test(t))){if(1!==h)d=e,u=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(et,nt):e.setAttribute("id",a=S),s=(c=f(t)).length;s--;)c[s]="#"+a+" "+vt(c[s]);u=c.join(","),d=G.test(t)&>(e.parentNode)||e}if(u)try{return D.apply(n,d.querySelectorAll(u)),n}catch(t){}finally{a===S&&e.removeAttribute("id")}}}return g(t.replace(z,"$1"),e,n,i)}function rt(){var i=[];return function t(e,n){return i.push(e+" ")>x.cacheLength&&delete t[i.shift()],t[e+" "]=n}}function at(t){return t[S]=!0,t}function lt(t){var e=_.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var n=t.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=e}function ut(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ht(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}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(r){return at(function(s){return s=+s,at(function(t,e){for(var n,i=r([],t.length,s),o=i.length;o--;)t[n=i[o]]&&(t[n]=!(e[n]=t[n]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in p=st.support={},o=st.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},C=st.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:y;return i!==_&&9===i.nodeType&&i.documentElement&&(r=(_=i).documentElement,T=!o(_),y!==_&&(n=_.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",it,!1):n.attachEvent&&n.attachEvent("onunload",it)),p.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),p.getElementsByTagName=lt(function(t){return t.appendChild(_.createComment("")),!t.getElementsByTagName("*").length}),p.getElementsByClassName=V.test(_.getElementsByClassName),p.getById=lt(function(t){return r.appendChild(t).id=S,!_.getElementsByName||!_.getElementsByName(S).length}),p.getById?(x.filter.ID=function(t){var e=t.replace(J,tt);return function(t){return t.getAttribute("id")===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&T){var n=e.getElementById(t);return n?[n]:[]}}):(x.filter.ID=function(t){var n=t.replace(J,tt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&T){var n,i,o,s=e.getElementById(t);if(s){if((n=s.getAttributeNode("id"))&&n.value===t)return[s];for(o=e.getElementsByName(t),i=0;s=o[i++];)if((n=s.getAttributeNode("id"))&&n.value===t)return[s]}return[]}}),x.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 n,i=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;n=s[o++];)1===n.nodeType&&i.push(n);return i}return s},x.find.CLASS=p.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&T)return e.getElementsByClassName(t)},a=[],m=[],(p.qsa=V.test(_.querySelectorAll))&&(lt(function(t){r.appendChild(t).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+N+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+N+"*(?:value|"+q+")"),t.querySelectorAll("[id~="+S+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||m.push(".#.+[+~]")}),lt(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=_.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+N+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),r.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(p.matchesSelector=V.test(u=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector||r.msMatchesSelector))&<(function(t){p.disconnectedMatch=u.call(t,"*"),u.call(t,"[s!='']:x"),a.push("!=",I)}),m=m.length&&new RegExp(m.join("|")),a=a.length&&new RegExp(a.join("|")),e=V.test(r.compareDocumentPosition),v=e||V.test(r.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},k=e?function(t,e){if(t===e)return c=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===n?t===_||t.ownerDocument===y&&v(y,t)?-1:e===_||e.ownerDocument===y&&v(y,e)?1:l?M(l,t)-M(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,i=0,o=t.parentNode,s=e.parentNode,r=[t],a=[e];if(!o||!s)return t===_?-1:e===_?1:o?-1:s?1:l?M(l,t)-M(l,e):0;if(o===s)return ut(t,e);for(n=t;n=n.parentNode;)r.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;r[i]===a[i];)i++;return i?ut(r[i],a[i]):r[i]===y?-1:a[i]===y?1:0}),_},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if((t.ownerDocument||t)!==_&&C(t),e=e.replace(W,"='$1']"),p.matchesSelector&&T&&!E[e+" "]&&(!a||!a.test(e))&&(!m||!m.test(e)))try{var n=u.call(t,e);if(n||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<st(e,_,null,[t]).length},st.contains=function(t,e){return(t.ownerDocument||t)!==_&&C(t),v(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!==_&&C(t);var n=x.attrHandle[e.toLowerCase()],i=n&&P.call(x.attrHandle,e.toLowerCase())?n(t,e,!T):void 0;return void 0!==i?i:p.attributes||!T?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},st.escape=function(t){return(t+"").replace(et,nt)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,n=[],i=0,o=0;if(c=!p.detectDuplicates,l=!p.sortStable&&t.slice(0),t.sort(k),c){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return l=null,t},s=st.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=s(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=s(e);return n},(x=st.selectors={cacheLength:50,createPseudo:at,match:U,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(J,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(J,tt),"~="===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]||st.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]&&st.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&X.test(n)&&(e=f(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(J,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=h[t+" "];return e||(e=new RegExp("(^|"+N+")"+t+"("+N+"|$)"))&&h(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(n,i,o){return function(t){var e=st.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===o:"!="===i?e!==o:"^="===i?o&&0===e.indexOf(o):"*="===i?o&&-1<e.indexOf(o):"$="===i?o&&e.slice(-o.length)===o:"~="===i?-1<(" "+e.replace(O," ")+" ").indexOf(o):"|="===i&&(e===o||e.slice(0,o.length+1)===o+"-"))}},CHILD:function(f,t,e,g,m){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),b="of-type"===t;return 1===g&&0===m?function(t){return!!t.parentNode}:function(t,e,n){var i,o,s,r,a,l,c=v!==y?"nextSibling":"previousSibling",u=t.parentNode,d=b&&t.nodeName.toLowerCase(),h=!n&&!b,p=!1;if(u){if(v){for(;c;){for(r=t;r=r[c];)if(b?r.nodeName.toLowerCase()===d:1===r.nodeType)return!1;l=c="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&h){for(p=(a=(i=(o=(s=(r=u)[S]||(r[S]={}))[r.uniqueID]||(s[r.uniqueID]={}))[f]||[])[0]===$&&i[1])&&i[2],r=a&&u.childNodes[a];r=++a&&r&&r[c]||(p=a=0)||l.pop();)if(1===r.nodeType&&++p&&r===t){o[f]=[$,a,p];break}}else if(h&&(p=a=(i=(o=(s=(r=t)[S]||(r[S]={}))[r.uniqueID]||(s[r.uniqueID]={}))[f]||[])[0]===$&&i[1]),!1===p)for(;(r=++a&&r&&r[c]||(p=a=0)||l.pop())&&((b?r.nodeName.toLowerCase()!==d:1!==r.nodeType)||!++p||(h&&((o=(s=r[S]||(r[S]={}))[r.uniqueID]||(s[r.uniqueID]={}))[f]=[$,p]),r!==t)););return(p-=m)===g||p%g==0&&0<=p/g}}},PSEUDO:function(t,s){var e,r=x.pseudos[t]||x.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return r[S]?r(s):1<r.length?(e=[t,t,"",s],x.setFilters.hasOwnProperty(t.toLowerCase())?at(function(t,e){for(var n,i=r(t,s),o=i.length;o--;)t[n=M(t,i[o])]=!(e[n]=i[o])}):function(t){return r(t,0,e)}):r}},pseudos:{not:at(function(t){var i=[],o=[],a=d(t.replace(z,"$1"));return a[S]?at(function(t,e,n,i){for(var o,s=a(t,null,i,[]),r=t.length;r--;)(o=s[r])&&(t[r]=!(e[r]=o))}):function(t,e,n){return i[0]=t,a(i,null,n,o),i[0]=null,!o.pop()}}),has:at(function(e){return function(t){return 0<st(e,t).length}}),contains:at(function(e){return e=e.replace(J,tt),function(t){return-1<(t.textContent||t.innerText||s(t)).indexOf(e)}}),lang:at(function(n){return Y.test(n||"")||st.error("unsupported lang: "+n),n=n.replace(J,tt).toLowerCase(),function(t){var e;do{if(e=T?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===r},focus:function(t){return t===_.activeElement&&(!_.hasFocus||_.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!x.pseudos.empty(t)},header:function(t){return Q.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){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ft(function(){return[0]}),last:ft(function(t,e){return[e-1]}),eq:ft(function(t,e,n){return[n<0?n+e:n]}),even:ft(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:ft(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:ft(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:ft(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[t]=dt(t);for(t in{submit:!0,reset:!0})x.pseudos[t]=ht(t);function mt(){}function vt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function yt(a,t,e){var l=t.dir,c=t.next,u=c||l,d=e&&"parentNode"===u,h=i++;return t.first?function(t,e,n){for(;t=t[l];)if(1===t.nodeType||d)return a(t,e,n);return!1}:function(t,e,n){var i,o,s,r=[$,h];if(n){for(;t=t[l];)if((1===t.nodeType||d)&&a(t,e,n))return!0}else for(;t=t[l];)if(1===t.nodeType||d)if(o=(s=t[S]||(t[S]={}))[t.uniqueID]||(s[t.uniqueID]={}),c&&c===t.nodeName.toLowerCase())t=t[l]||t;else{if((i=o[u])&&i[0]===$&&i[1]===h)return r[2]=i[2];if((o[u]=r)[2]=a(t,e,n))return!0}return!1}}function bt(o){return 1<o.length?function(t,e,n){for(var i=o.length;i--;)if(!o[i](t,e,n))return!1;return!0}:o[0]}function xt(t,e,n,i,o){for(var s,r=[],a=0,l=t.length,c=null!=e;a<l;a++)(s=t[a])&&(n&&!n(s,i,o)||(r.push(s),c&&e.push(a)));return r}function wt(p,f,g,m,v,t){return m&&!m[S]&&(m=wt(m)),v&&!v[S]&&(v=wt(v,t)),at(function(t,e,n,i){var o,s,r,a=[],l=[],c=e.length,u=t||function(t,e,n){for(var i=0,o=e.length;i<o;i++)st(t,e[i],n);return n}(f||"*",n.nodeType?[n]:n,[]),d=!p||!t&&f?u:xt(u,a,p,n,i),h=g?v||(t?p:c||m)?[]:e:d;if(g&&g(d,h,n,i),m)for(o=xt(h,l),m(o,[],n,i),s=o.length;s--;)(r=o[s])&&(h[l[s]]=!(d[l[s]]=r));if(t){if(v||p){if(v){for(o=[],s=h.length;s--;)(r=h[s])&&o.push(d[s]=r);v(null,h=[],o,i)}for(s=h.length;s--;)(r=h[s])&&-1<(o=v?M(t,r):a[s])&&(t[o]=!(e[o]=r))}}else h=xt(h===e?h.splice(c,h.length):h),v?v(null,e,h,i):D.apply(e,h)})}function Ct(t){for(var o,e,n,i=t.length,s=x.relative[t[0].type],r=s||x.relative[" "],a=s?1:0,l=yt(function(t){return t===o},r,!0),c=yt(function(t){return-1<M(o,t)},r,!0),u=[function(t,e,n){var i=!s&&(n||e!==w)||((o=e).nodeType?l(t,e,n):c(t,e,n));return o=null,i}];a<i;a++)if(e=x.relative[t[a].type])u=[yt(bt(u),e)];else{if((e=x.filter[t[a].type].apply(null,t[a].matches))[S]){for(n=++a;n<i&&!x.relative[t[n].type];n++);return wt(1<a&&bt(u),1<a&&vt(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(z,"$1"),e,a<n&&Ct(t.slice(a,n)),n<i&&Ct(t=t.slice(n)),n<i&&vt(t))}u.push(e)}return bt(u)}return mt.prototype=x.filters=x.pseudos,x.setFilters=new mt,f=st.tokenize=function(t,e){var n,i,o,s,r,a,l,c=b[t+" "];if(c)return e?0:c.slice(0);for(r=t,a=[],l=x.preFilter;r;){for(s in n&&!(i=R.exec(r))||(i&&(r=r.slice(i[0].length)||r),a.push(o=[])),n=!1,(i=B.exec(r))&&(n=i.shift(),o.push({value:n,type:i[0].replace(z," ")}),r=r.slice(n.length)),x.filter)!(i=U[s].exec(r))||l[s]&&!(i=l[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),r=r.slice(n.length));if(!n)break}return e?r.length:r?st.error(t):b(t,a).slice(0)},d=st.compile=function(t,e){var n,m,v,y,b,i,o=[],s=[],r=E[t+" "];if(!r){for(e||(e=f(t)),n=e.length;n--;)(r=Ct(e[n]))[S]?o.push(r):s.push(r);(r=E(t,(m=s,y=0<(v=o).length,b=0<m.length,i=function(t,e,n,i,o){var s,r,a,l=0,c="0",u=t&&[],d=[],h=w,p=t||b&&x.find.TAG("*",o),f=$+=null==h?1:Math.random()||.1,g=p.length;for(o&&(w=e===_||e||o);c!==g&&null!=(s=p[c]);c++){if(b&&s){for(r=0,e||s.ownerDocument===_||(C(s),n=!T);a=m[r++];)if(a(s,e||_,n)){i.push(s);break}
vendor: 8,120 bytes, line 3
3o&&($=f)}y&&((s=!a&&s)&&l--,t&&u.push(s))}if(l+=c,y&&c!==l){for(r=0;a=v[r++];)a(u,d,e,n);if(t){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=j.call(i));d=xt(d)}D.apply(i,d),o&&!t&&0<d.length&&1<l+v.length&&st.uniqueSort(i)}return o&&($=f,w=h),u},y?at(i):i))).selector=t}return r},g=st.select=function(t,e,n,i){var o,s,r,a,l,c="function"==typeof t&&t,u=!i&&f(t=c.selector||t);if(n=n||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(r=s[0]).type&&9===e.nodeType&&T&&x.relative[s[1].type]){if(!(e=(x.find.ID(r.matches[0].replace(J,tt),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=U.needsContext.test(t)?0:s.length;o--&&(r=s[o],!x.relative[a=r.type]);)if((l=x.find[a])&&(i=l(r.matches[0].replace(J,tt),G.test(s[0].type)&>(e.parentNode)||e))){if(s.splice(o,1),!(t=i.length&&vt(s)))return D.apply(n,i),n;break}}return(c||d(t,u))(i,e,!T,n,!e||G.test(t)&>(e.parentNode)||e),n},p.sortStable=S.split("").sort(k).join("")===S,p.detectDuplicates=!!c,C(),p.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(_.createElement("fieldset"))}),lt(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),p.attributes&<(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ct(q,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),st}(_);S.find=x,S.expr=x.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=x.uniqueSort,S.text=x.getText,S.isXMLDoc=x.isXML,S.contains=x.contains,S.escapeSelector=x.escape;var w=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&S(t).is(n))break;i.push(t)}return i},C=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},$=S.expr.match.needsContext;function E(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var k=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,P=/^.[^:#\[\.,]*$/;function j(t,n,i){return S.isFunction(n)?S.grep(t,function(t,e){return!!n.call(t,e,t)!==i}):n.nodeType?S.grep(t,function(t){return t===n!==i}):"string"!=typeof n?S.grep(t,function(t){return-1<o.call(n,t)!==i}):P.test(n)?S.filter(n,t,i):(n=S.filter(n,t),S.grep(t,function(t){return-1<o.call(n,t)!==i&&1===t.nodeType}))}S.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?S.find.matchesSelector(i,t)?[i]:[]:S.find.matches(t,S.grep(e,function(t){return 1===t.nodeType}))},S.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(S(t).filter(function(){for(e=0;e<i;e++)if(S.contains(o[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)S.find(t,o[e],n);return 1<i?S.uniqueSort(n):n},filter:function(t){return this.pushStack(j(this,t||[],!1))},not:function(t){return this.pushStack(j(this,t||[],!0))},is:function(t){return!!j(this,"string"==typeof t&&$.test(t)?S(t):t||[],!1).length}});var A,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||A,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:D.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof S?e[0]:e,S.merge(this,S.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:T,!0)),k.test(i[1])&&S.isPlainObject(e))for(i in e)S.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(o=T.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):S.isFunction(t)?void 0!==n.ready?n.ready(t):t(S):S.makeArray(t,this)}).prototype=S.fn,A=S(T);var L=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function q(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}S.fn.extend({has:function(t){var e=S(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(S.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,o=this.length,s=[],r="string"!=typeof t&&S(t);if(!$.test(t))for(;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&S.find.matchesSelector(n,t))){s.push(n);break}return this.pushStack(1<s.length?S.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?o.call(S(t),this[0]):o.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),S.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return w(t,"parentNode")},parentsUntil:function(t,e,n){return w(t,"parentNode",n)},next:function(t){return q(t,"nextSibling")},prev:function(t){return q(t,"previousSibling")},nextAll:function(t){return w(t,"nextSibling")},prevAll:function(t){return w(t,"previousSibling")},nextUntil:function(t,e,n){return w(t,"nextSibling",n)},prevUntil:function(t,e,n){return w(t,"previousSibling",n)},siblings:function(t){return C((t.parentNode||{}).firstChild,t)},children:function(t){return C(t.firstChild)},contents:function(t){return E(t,"iframe")?t.contentDocument:(E(t,"template")&&(t=t.content||t),S.merge([],t.childNodes))}},function(i,o){S.fn[i]=function(t,e){var n=S.map(this,o,t);return"Until"!==i.slice(-5)&&(e=t),e&&"string"==typeof e&&(n=S.filter(e,n)),1<this.length&&(M[i]||S.uniqueSort(n),L.test(i)&&n.reverse()),this.pushStack(n)}});var N=/[^\x20\t\r\n\f]+/g;function F(t){return t}function H(t){throw t}function I(t,e,n,i){var o;try{t&&S.isFunction(o=t.promise)?o.call(t).done(e).fail(n):t&&S.isFunction(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}S.Callbacks=function(i){var t,n;i="string"==typeof i?(t=i,n={},S.each(t.match(N)||[],function(t,e){n[e]=!0}),n):S.extend({},i);var o,e,s,r,a=[],l=[],c=-1,u=function(){for(r=r||i.once,s=o=!0;l.length;c=-1)for(e=l.shift();++c<a.length;)!1===a[c].apply(e[0],e[1])&&i.stopOnFalse&&(c=a.length,e=!1);i.memory||(e=!1),o=!1,r&&(a=e?[]:"")},d={add:function(){return a&&(e&&!o&&(c=a.length-1,l.push(e)),function n(t){S.each(t,function(t,e){S.isFunction(e)?i.unique&&d.has(e)||a.push(e):e&&e.length&&"string"!==S.type(e)&&n(e)})}(arguments),e&&!o&&u()),this},remove:function(){return S.each(arguments,function(t,e){for(var n;-1<(n=S.inArray(e,a,n));)a.splice(n,1),n<=c&&c--}),this},has:function(t){return t?-1<S.inArray(t,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return r=l=[],a=e="",this},disabled:function(){return!a},lock:function(){return r=l=[],e||o||(a=e=""),this},locked:function(){return!!r},fireWith:function(t,e){return r||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),o||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!s}};return d},S.extend({Deferred:function(t){var s=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var o=arguments;return S.Deferred(function(i){S.each(s,function(t,e){var n=S.isFunction(o[e[4]])&&o[e[4]];a[e[1]](function(){var t=n&&n.apply(this,arguments);t&&S.isFunction(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[e[0]+"With"](this,n?[t]:arguments)})}),o=null}).promise()},then:function(e,n,i){var l=0;function c(o,s,r,a){return function(){var n=this,i=arguments,t=function(){var t,e;if(!(o<l)){if((t=r.apply(n,i))===s.promise())throw new TypeError("Thenable self
3-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,S.isFunction(e)?a?e.call(t,c(l,s,F,a),c(l,s,H,a)):(l++,e.call(t,c(l,s,F,a),c(l,s,H,a),c(l,s,F,s.notifyWith))):(r!==F&&(n=void 0,i=[t]),(a||s.resolveWith)(n,i))}},e=a?t:function(){try{t()}catch(t){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(t,e.stackTrace),l<=o+1&&(r!==H&&(n=void 0,i=[t]),s.rejectWith(n,i))}};o?e():(S.Deferred.getStackHook&&(e.stackTrace=S.Deferred.getStackHook()),_.setTimeout(e))}}return S.Deferred(function(t){s[0][3].add(c(0,t,S.isFunction(i)?i:F,t.notifyWith)),s[1][3].add(c(0,t,S.isFunction(e)?e:F)),s[2][3].add(c(0,t,S.isFunction(n)?n:H))}).promise()},promise:function(t){return null!=t?S.extend(t,r):r}},a={};return S.each(s,function(t,e){var n=e[2],i=e[5];r[e[1]]=n.add,i&&n.add(function(){o=i},s[3-t][2].disable,s[0][2].lock),n.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=n.fireWith}),r.promise(a),t&&t.call(a,a),a},when:function(t){var n=arguments.length,e=n,i=Array(e),o=a.call(arguments),s=S.Deferred(),r=function(e){return function(t){i[e]=this,o[e]=1<arguments.length?a.call(arguments):t,--n||s.resolveWith(i,o)}};if(n<=1&&(I(t,s.done(r(e)).resolve,s.reject,!n),"pending"===s.state()||S.isFunction(o[e]&&o[e].then)))return s.then();for(;e--;)I(o[e],r(e),s.reject);return s.promise()}});var O=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(t,e){_.console&&_.console.warn&&t&&O.test(t.name)&&_.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},S.readyException=function(t){_.setTimeout(function(){throw t})};var z=S.Deferred();function R(){T.removeEventListener("DOMContentLoaded",R),_.removeEventListener("load",R),S.ready()}S.fn.ready=function(t){return z.then(t).catch(function(t){S.readyException(t)}),this},S.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--S.readyWait:S.isReady)||((S.isReady=!0)!==t&&0<--S.readyWait||z.resolveWith(T,[S]))}}),S.ready.then=z.then,"complete"===T.readyState||"loading"!==T.readyState&&!T.documentElement.doScroll?_.setTimeout(S.ready):(T.addEventListener("DOMContentLoaded",R),_.addEventListener("load",R));var B=function(t,e,n,i,o,s,r){var a=0,l=t.length,c=null==n;if("object"===S.type(n))for(a in o=!0,n)B(t,e,a,n[a],!0,s,r);else if(void 0!==i&&(o=!0,S.isFunction(i)||(r=!0),c&&(r?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(S(t),n)})),e))for(;a<l;a++)e(t[a],n,r?i:i.call(t[a],a,e(t[a],n)));return o?t:c?e.call(t):l?e(t[0],n):s},W=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function X(){this.expando=S.expando+X.uid++}X.uid=1,X.prototype={cache:function(t){var e=t[this.expando];return e||(e={},W(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,o=this.cache(t);if("string"==typeof e)o[S.camelCase(e)]=n;else for(i in e)o[S.camelCase(i)]=e[i];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][S.camelCase(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){Array.isArray(e)?e=e.map(S.camelCase):e=(e=S.camelCase(e))in i?[e]:e.match(N)||[],n=e.length;for(;n--;)delete i[e[n]]}
vendor: 11,796 bytes, line 3
3(void 0===e||S.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var Y=new X,U=new X,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function V(t,e,n){var i,o;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Q,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:Z.test(o)?JSON.parse(o):o)}catch(t){}U.set(t,e,n)}else n=void 0;return n}S.extend({hasData:function(t){return U.hasData(t)||Y.hasData(t)},data:function(t,e,n){return U.access(t,e,n)},removeData:function(t,e){U.remove(t,e)},_data:function(t,e,n){return Y.access(t,e,n)},_removeData:function(t,e){Y.remove(t,e)}}),S.fn.extend({data:function(n,t){var e,i,o,s=this[0],r=s&&s.attributes;if(void 0===n){if(this.length&&(o=U.get(s),1===s.nodeType&&!Y.get(s,"hasDataAttrs"))){for(e=r.length;e--;)r[e]&&(0===(i=r[e].name).indexOf("data-")&&(i=S.camelCase(i.slice(5)),V(s,i,o[i])));Y.set(s,"hasDataAttrs",!0)}return o}return"object"==typeof n?this.each(function(){U.set(this,n)}):B(this,function(t){var e;if(s&&void 0===t){if(void 0!==(e=U.get(s,n)))return e;if(void 0!==(e=V(s,n)))return e}else this.each(function(){U.set(this,n,t)})},null,t,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){U.remove(this,t)})}}),S.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Y.get(t,e),n&&(!i||Array.isArray(n)?i=Y.access(t,e,S.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=S.queue(t,e),i=n.length,o=n.shift(),s=S._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete s.stop,o.call(t,function(){S.dequeue(t,e)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Y.get(t,n)||Y.access(t,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(t,[e+"queue",n])})})}}),S.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?S.queue(this[0],e):void 0===n?this:this.each(function(){var t=S.queue(this,e,n);S._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&S.dequeue(this,e)})},dequeue:function(t){return this.each(function(){S.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=S.Deferred(),s=this,r=this.length,a=function(){--i||o.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";r--;)(n=Y.get(s[r],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(e)}});var K=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,G=new RegExp("^(?:([+-])=|)("+K+")([a-z%]*)$","i"),J=["Top","Right","Bottom","Left"],tt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&S.contains(t.ownerDocument,t)&&"none"===S.css(t,"display")},et=function(t,e,n,i){var o,s,r={};for(s in e)r[s]=t.style[s],t.style[s]=e[s];for(s in o=n.apply(t,i||[]),e)t.style[s]=r[s];return o};function nt(t,e,n,i){var o,s=1,r=20,a=i?function(){return i.cur()}:function(){return S.css(t,e,"")},l=a(),c=n&&n[3]||(S.cssNumber[e]?"":"px"),u=(S.cssNumber[e]||"px"!==c&&+l)&&G.exec(S.css(t,e));if(u&&u[3]!==c)for(c=c||u[3],n=n||[],u=+l||1;u/=s=s||".5",S.style(t,e,u+c),s!==(s=a()/l)&&1!==s&&--r;);return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var it={};function ot(t,e){for(var n,i,o=[],s=0,r=t.length;s<r;s++)(i=t[s]).style&&(n=i.style.display,e?("none"===n&&(o[s]=Y.get(i,"display")||null,o[s]||(i.style.display="")),""===i.style.display&&tt(i)&&(o[s]=(d=c=l=void 0,c=(a=i).ownerDocument,u=a.nodeName,(d=it[u])||(l=c.body.appendChild(c.createElement(u)),d=S.css(l,"display"),l.parentNode.removeChild(l),"none"===d&&(d="block"),it[u]=d)))):"none"!==n&&(o[s]="none",Y.set(i,"display",n)));var a,l,c,u,d;for(s=0;s<r;s++)null!=o[s]&&(t[s].style.display=o[s]);return t}S.fn.extend({show:function(){return ot(this,!0)},hide:function(){return ot(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){tt(this)?S(this).show():S(this).hide()})}});var st=/^(?:checkbox|radio)$/i,rt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,at=/^$|\/(?:java|ecma)script/i,lt={option:[1,"<select multiple='multiple'>","</select>"],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 ct(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&E(t,e)?S.merge([t],n):n}function ut(t,e){for(var n=0,i=t.length;n<i;n++)Y.set(t[n],"globalEval",!e||Y.get(e[n],"globalEval"))}lt.optgroup=lt.option,lt.tbody=lt.tfoot=lt.colgroup=lt.caption=lt.thead,lt.th=lt.td;var dt,ht,pt=/<|&#?\w+;/;function ft(t,e,n,i,o){for(var s,r,a,l,c,u,d=e.createDocumentFragment(),h=[],p=0,f=t.length;p<f;p++)if((s=t[p])||0===s)if("object"===S.type(s))S.merge(h,s.nodeType?[s]:s);else if(pt.test(s)){for(r=r||d.appendChild(e.createElement("div")),a=(rt.exec(s)||["",""])[1].toLowerCase(),l=lt[a]||lt._default,r.innerHTML=l[1]+S.htmlPrefilter(s)+l[2],u=l[0];u--;)r=r.lastChild;S.merge(h,r.childNodes),(r=d.firstChild).textContent=""}else h.push(e.createTextNode(s));for(d.textContent="",p=0;s=h[p++];)if(i&&-1<S.inArray(s,i))o&&o.push(s);else if(c=S.contains(s.ownerDocument,s),r=ct(d.appendChild(s),"script"),c&&ut(r),n)for(u=0;s=r[u++];)at.test(s.type||"")&&n.push(s);return d}dt=T.createDocumentFragment().appendChild(T.createElement("div")),(ht=T.createElement("input")).setAttribute("type","radio"),ht.setAttribute("checked","checked"),ht.setAttribute("name","t"),dt.appendChild(ht),m.checkClone=dt.cloneNode(!0).cloneNode(!0).lastChild.checked,dt.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!dt.cloneNode(!0).lastChild.defaultValue;var gt=T.documentElement,mt=/^key/,vt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,yt=/^([^.]*)(?:\.(.+)|)/;function bt(){return!0}function xt(){return!1}function wt(){try{return T.activeElement}catch(t){}}function Ct(t,e,n,i,o,s){var r,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)Ct(t,a,n,i,e[a],s);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=xt;else if(!o)return t;return 1===s&&(r=o,(o=function(t){return S().off(t),r.apply(this,arguments)}).guid=r.guid||(r.guid=S.guid++)),t.each(function(){S.event.add(this,e,o,i,n)})}S.event={global:{},add:function(e,t,n,i,o){var s,r,a,l,c,u,d,h,p,f,g,m=Y.get(e);if(m)for(n.handler&&(n=(s=n).handler,o=s.selector),o&&S.find.matchesSelector(gt,o),n.guid||(n.guid=S.guid++),(l=m.events)||(l=m.events={}),(r=m.handle)||(r=m.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(N)||[""]).length;c--;)p=g=(a=yt.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=S.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=S.event.special[p]||{},u=S.extend({type:p,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:f.join(".")},s),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,f,r)||e.addEventListener&&e.addEventListener(p,r)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,u):h.push(u),S.event.global[p]=!0)},remove:function(t,e,n,i,o){var s,r,a,l,c,u,d,h,p,f,g,m=Y.hasData(t)&&Y.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(N)||[""]).length;c--;)if(p=g=(a=yt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=S.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=h.length;s--;)u=h[s],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(s,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));r&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,f,m.handle)||S.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)S.event.remove(t,p+e[c],n,i,!0);S.isEmptyObject(l)&&Y.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,s,r,a=S.event.fix(t),l=new Array(arguments.length),c=(Y.get(this,"events")||{})[a.type]||[],u=S.event.special[a.type]||{};for(l[0]=a,e=1;e<arguments.length;e++)l[e]=arguments[e];if(a.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,a)){for(r=S.event.handlers.call(this,a,c),e=0;(o=r[e++])&&!a.isPropagationStopped();)for(a.currentTarget=o.elem,n=0;(s=o.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(s.namespace)||(a.handleObj=s,a.data=s.data,void 0!==(i=((S.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,l))&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,a),a.result}},handlers:function(t,e){var n,i,o,s,r,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(s=[],r={},n=0;n<l;n++)void 0===r[o=(i=e[n]).selector+" "]&&(r[o]=i.needsContext?-1<S(o,this).index(c):S.find(o,this,null,[c]).length),r[o]&&s.push(i);s.length&&a.push({elem:c,handlers:s})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:S.isFunction(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[S.expando]?t:new S.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==wt()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===wt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&E(this,"input"))return this.click(),!1},_default:function(t){return E(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},S.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},S.Event=function(t,e){return this instanceof S.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?bt:xt,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&&S.extend(this,e),this.timeStamp=t&&t.timeStamp||S.now(),void(this[S.expando]=!0)):new S.Event(t,e)},S.Event.prototype={constructor:S.Event,isDefaultPrevented:xt,isPropagationStopped:xt,isImmediatePropagationStopped:xt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=bt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=bt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=bt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,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;
vendor: 9,901 bytes, line 3
3return null==t.which&&mt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&vt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},S.event.addProp),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){S.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||S.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=o),e}}}),S.fn.extend({on:function(t,e,n,i){return Ct(this,t,e,n,i)},one:function(t,e,n,i){return Ct(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,S(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=xt),this.each(function(){S.event.remove(this,t,n,e)})}});var _t=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Tt=/<script|<style|<link/i,St=/checked\s*(?:[^=]|=\s*.checked.)/i,$t=/^true\/(.*)/,Et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function kt(t,e){return E(t,"table")&&E(11!==e.nodeType?e:e.firstChild,"tr")&&S(">tbody",t)[0]||t}function Pt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function jt(t){var e=$t.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function At(t,e){var n,i,o,s,r,a,l,c;if(1===e.nodeType){if(Y.hasData(t)&&(s=Y.access(t),r=Y.set(e,s),c=s.events))for(o in delete r.handle,r.events={},c)for(n=0,i=c[o].length;n<i;n++)S.event.add(e,o,c[o][n]);U.hasData(t)&&(a=U.access(t),l=S.extend({},a),U.set(e,l))}}function Dt(n,i,o,s){i=g.apply([],i);var t,e,r,a,l,c,u=0,d=n.length,h=d-1,p=i[0],f=S.isFunction(p);if(f||1<d&&"string"==typeof p&&!m.checkClone&&St.test(p))return n.each(function(t){var e=n.eq(t);f&&(i[0]=p.call(this,t,e.html())),Dt(e,i,o,s)});if(d&&(e=(t=ft(i,n[0].ownerDocument,!1,n,s)).firstChild,1===t.childNodes.length&&(t=e),e||s)){for(a=(r=S.map(ct(t,"script"),Pt)).length;u<d;u++)l=t,u!==h&&(l=S.clone(l,!0,!0),a&&S.merge(r,ct(l,"script"))),o.call(n[u],l,u);if(a)for(c=r[r.length-1].ownerDocument,S.map(r,jt),u=0;u<a;u++)l=r[u],at.test(l.type||"")&&!Y.access(l,"globalEval")&&S.contains(c,l)&&(l.src?S._evalUrl&&S._evalUrl(l.src):v(l.textContent.replace(Et,""),c))}return n}function Lt(t,e,n){for(var i,o=e?S.filter(e,t):t,s=0;null!=(i=o[s]);s++)n||1!==i.nodeType||S.cleanData(ct(i)),i.parentNode&&(n&&S.contains(i.ownerDocument,i)&&ut(ct(i,"script")),i.parentNode.removeChild(i));return t}S.extend({htmlPrefilter:function(t){return t.replace(_t,"<$1></$2>")},clone:function(t,e,n){var i,o,s,r,a,l,c,u=t.cloneNode(!0),d=S.contains(t.ownerDocument,t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||S.isXMLDoc(t)))for(r=ct(u),i=0,o=(s=ct(t)).length;i<o;i++)a=s[i],l=r[i],void 0,"input"===(c=l.nodeName.toLowerCase())&&st.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(e)if(n)for(s=s||ct(t),r=r||ct(u),i=0,o=s.length;i<o;i++)At(s[i],r[i]);else At(t,u);return 0<(r=ct(u,"script")).length&&ut(r,!d&&ct(t,"script")),u},cleanData:function(t){for(var e,n,i,o=S.event.special,s=0;void 0!==(n=t[s]);s++)if(W(n)){if(e=n[Y.expando]){if(e.events)for(i in e.events)o[i]?S.event.remove(n,i):S.removeEvent(n,i,e.handle);n[Y.expando]=void 0}n[U.expando]&&(n[U.expando]=void 0)}}}),S.fn.extend({detach:function(t){return Lt(this,t,!0)},remove:function(t){return Lt(this,t)},text:function(t){return B(this,function(t){return void 0===t?S.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 Dt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||kt(this,t).appendChild(t)})},prepend:function(){return Dt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=kt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Dt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Dt(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&&(S.cleanData(ct(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return S.clone(this,t,e)})},html:function(t){return B(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Tt.test(t)&&!lt[(rt.exec(t)||["",""])[1].toLowerCase()]){t=S.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(S.cleanData(ct(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=[];return Dt(this,arguments,function(t){var e=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(ct(this)),e&&e.replaceChild(t,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,r){S.fn[t]=function(t){for(var e,n=[],i=S(t),o=i.length-1,s=0;s<=o;s++)e=s===o?this:this.clone(!0),S(i[s])[r](e),l.apply(n,e.get());return this.pushStack(n)}});var Mt=/^margin/,qt=new RegExp("^("+K+")(?!px)[a-z%]+$","i"),Nt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=_),e.getComputedStyle(t)};function Ft(t,e,n){var i,o,s,r,a=t.style;return(n=n||Nt(t))&&(""!==(r=n.getPropertyValue(e)||n[e])||S.contains(t.ownerDocument,t)||(r=S.style(t,e)),!m.pixelMarginRight()&&qt.test(r)&&Mt.test(e)&&(i=a.width,o=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=n.width,a.width=i,a.minWidth=o,a.maxWidth=s)),void 0!==r?r+"":r}function Ht(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}!function(){function t(){if(r){r.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",r.innerHTML="",gt.appendChild(s);var t=_.getComputedStyle(r);e="1%"!==t.top,o="2px"===t.marginLeft,n="4px"===t.width,r.style.marginRight="50%",i="4px"===t.marginRight,gt.removeChild(s),r=null}}var e,n,i,o,s=T.createElement("div"),r=T.createElement("div");r.style&&(r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===r.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(r),S.extend(m,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return t(),n},pixelMarginRight:function(){return t(),i},reliableMarginLeft:function(){return t(),o}}))}();var It=/^(none|table(?!-c[ea]).+)/,Ot=/^--/,zt={position:"absolute",visibility:"hidden",display:"block"},Rt={letterSpacing:"0",fontWeight:"400"},Bt=["Webkit","Moz","ms"],Wt=T.createElement("div").style;function Xt(t){var e=S.cssProps[t];return e||(e=S.cssProps[t]=function(t){if(t in Wt)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=Bt.length;n--;)if((t=Bt[n]+e)in Wt)return t}(t)||t),e}function Yt(t,e,n){var i=G.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function Ut(t,e,n,i,o){var s,r=0;for(s=n===(i?"border":"content")?4:"width"===e?1:0;s<4;s+=2)"margin"===n&&(r+=S.css(t,n+J[s],!0,o)),i?("content"===n&&(r-=S.css(t,"padding"+J[s],!0,o)),"margin"!==n&&(r-=S.css(t,"border"+J[s]+"Width",!0,o))):(r+=S.css(t,"padding"+J[s],!0,o),"padding"!==n&&(r+=S.css(t,"border"+J[s]+"Width",!0,o)));return r}function Zt(t,e,n){var i,o=Nt(t),s=Ft(t,e,o),r="border-box"===S.css(t,"boxSizing",!1,o);return qt.test(s)?s:(i=r&&(m.boxSizingReliable()||s===t.style[e]),"auto"===s&&(s=t["offset"+e[0].toUpperCase()+e.slice(1)]),(s=parseFloat(s)||0)+Ut(t,e,n||(r?"border":"content"),i,o)+"px")}function Qt(t,e,n,i,o){return new Qt.prototype.init(t,e,n,i,o)}S.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ft(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,s,r,a=S.camelCase(e),l=Ot.test(e),c=t.style;return l||(e=Xt(a)),r=S.cssHooks[e]||S.cssHooks[a],void 0===n?r&&"get"in r&&void 0!==(o=r.get(t,!1,i))?o:c[e]:("string"===(s=typeof n)&&(o=G.exec(n))&&o[1]&&(n=nt(t,e,o),s="number"),void(null!=n&&n==n&&("number"===s&&(n+=o&&o[3]||(S.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),r&&"set"in r&&void 0===(n=r.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))))}},css:function(t,e,n,i){var o,s,r,a=S.camelCase(e);return Ot.test(e)||(e=Xt(a)),(r=S.cssHooks[e]||S.cssHooks[a])&&"get"in r&&(o=r.get(t,!0,n)),void 0===o&&(o=Ft(t,e,i)),"normal"===o&&e in Rt&&(o=Rt[e]),""===n||n?(s=parseFloat(o),!0===n||isFinite(s)?s||0:o):o}}),S.each(["height","width"],function(t,r){S.cssHooks[r]={get:function(t,e,n){if(e)return!It.test(S.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Zt(t,r,n):et(t,zt,function(){return Zt(t,r,n)})},set:function(t,e,n){var i,o=n&&Nt(t),s=n&&Ut(t,r,n,"border-box"===S.css(t,"boxSizing",!1,o),o);return s&&(i=G.exec(e))&&"px"!==(i[3]||"px")&&(t.style[r]=e,e=S.css(t,r)),Yt(0,e,s)}}}),S.cssHooks.marginLeft=Ht(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Ft(t,"marginLeft"))||t.getBoundingClientRect().left-et(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(o,s){S.cssHooks[o+s]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[o+J[e]+s]=i[e]||i[e-2]||i[0];return n}}
vendor: 9,951 bytes, line 3
3,Mt.test(o)||(S.cssHooks[o+s].set=Yt)}),S.fn.extend({css:function(t,e){return B(this,function(t,e,n){var i,o,s={},r=0;if(Array.isArray(e)){for(i=Nt(t),o=e.length;r<o;r++)s[e[r]]=S.css(t,e[r],!1,i);return s}return void 0!==n?S.style(t,e,n):S.css(t,e)},t,e,1<arguments.length)}}),((S.Tween=Qt).prototype={constructor:Qt,init:function(t,e,n,i,o,s){this.elem=t,this.prop=n,this.easing=o||S.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=s||(S.cssNumber[n]?"":"px")},cur:function(){var t=Qt.propHooks[this.prop];return t&&t.get?t.get(this):Qt.propHooks._default.get(this)},run:function(t){var e,n=Qt.propHooks[this.prop];return this.options.duration?this.pos=e=S.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),n&&n.set?n.set(this):Qt.propHooks._default.set(this),this}}).init.prototype=Qt.prototype,(Qt.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=S.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){S.fx.step[t.prop]?S.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[S.cssProps[t.prop]]&&!S.cssHooks[t.prop]?t.elem[t.prop]=t.now:S.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=Qt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},S.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},S.fx=Qt.prototype.init,S.fx.step={};var Vt,Kt,Gt,Jt,te=/^(?:toggle|show|hide)$/,ee=/queueHooks$/;function ne(){Kt&&(!1===T.hidden&&_.requestAnimationFrame?_.requestAnimationFrame(ne):_.setTimeout(ne,S.fx.interval),S.fx.tick())}function ie(){return _.setTimeout(function(){Vt=void 0}),Vt=S.now()}function oe(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)o["margin"+(n=J[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function se(t,e,n){for(var i,o=(re.tweeners[e]||[]).concat(re.tweeners["*"]),s=0,r=o.length;s<r;s++)if(i=o[s].call(n,e,t))return i}function re(s,t,e){var n,r,i=0,o=re.prefilters.length,a=S.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Vt||ie(),e=Math.max(0,c.startTime+c.duration-t),n=1-(e/c.duration||0),i=0,o=c.tweens.length;i<o;i++)c.tweens[i].run(n);return a.notifyWith(s,[c,n,e]),n<1&&o?e:(o||a.notifyWith(s,[c,1,0]),a.resolveWith(s,[c]),!1)},c=a.promise({elem:s,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},e),originalProperties:t,originalOptions:e,startTime:Vt||ie(),duration:e.duration,tweens:[],createTween:function(t,e){var n=S.Tween(s,c.opts,t,e,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var e=0,n=t?c.tweens.length:0;if(r)return this;for(r=!0;e<n;e++)c.tweens[e].run(1);return t?(a.notifyWith(s,[c,1,0]),a.resolveWith(s,[c,t])):a.rejectWith(s,[c,t]),this}}),u=c.props;for(function(t,e){var n,i,o,s,r;for(n in t)if(o=e[i=S.camelCase(n)],s=t[n],Array.isArray(s)&&(o=s[1],s=t[n]=s[0]),n!==i&&(t[i]=s,delete t[n]),(r=S.cssHooks[i])&&"expand"in r)for(n in s=r.expand(s),delete t[i],s)n in t||(t[n]=s[n],e[n]=o);else e[i]=o}(u,c.opts.specialEasing);i<o;i++)if(n=re.prefilters[i].call(c,s,u,c.opts))return S.isFunction(n.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=S.proxy(n.stop,n)),n;return S.map(u,se,c),S.isFunction(c.opts.start)&&c.opts.start.call(s,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),S.fx.timer(S.extend(l,{elem:s,anim:c,queue:c.opts.queue})),c}S.Animation=S.extend(re,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return nt(n.elem,t,G.exec(e),n),n}]},tweener:function(t,e){S.isFunction(t)?(e=t,t=["*"]):t=t.match(N);for(var n,i=0,o=t.length;i<o;i++)n=t[i],re.tweeners[n]=re.tweeners[n]||[],re.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,o,s,r,a,l,c,u,d="width"in e||"height"in e,h=this,p={},f=t.style,g=t.nodeType&&tt(t),m=Y.get(t,"fxshow");for(i in n.queue||(null==(r=S._queueHooks(t,"fx")).unqueued&&(r.unqueued=0,a=r.empty.fire,r.empty.fire=function(){r.unqueued||a()}),r.unqueued++,h.always(function(){h.always(function(){r.unqueued--,S.queue(t,"fx").length||r.empty.fire()})})),e)if(o=e[i],te.test(o)){if(delete e[i],s=s||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!m||void 0===m[i])continue;g=!0}p[i]=m&&m[i]||S.style(t,i)}if((l=!S.isEmptyObject(e))||!S.isEmptyObject(p))for(i in d&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=m&&m.display)&&(c=Y.get(t,"display")),"none"===(u=S.css(t,"display"))&&(c?u=c:(ot([t],!0),c=t.style.display||c,u=S.css(t,"display"),ot([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===S.css(t,"float")&&(l||(h.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=Y.access(t,"fxshow",{display:c}),s&&(m.hidden=!g),g&&ot([t],!0),h.done(function(){for(i in g||ot([t]),Y.remove(t,"fxshow"),p)S.style(t,i,p[i])})),l=se(g?m[i]:0,i,h),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?re.prefilters.unshift(t):re.prefilters.push(t)}}),S.speed=function(t,e,n){var i=t&&"object"==typeof t?S.extend({},t):{complete:n||!n&&e||S.isFunction(t)&&t,duration:t,easing:n&&e||e&&!S.isFunction(e)&&e};return S.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in S.fx.speeds?i.duration=S.fx.speeds[i.duration]:i.duration=S.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){S.isFunction(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(t,e,n,i){return this.filter(tt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){var o=S.isEmptyObject(e),s=S.speed(t,n,i),r=function(){var t=re(this,S.extend({},e),s);(o||Y.get(this,"finish"))&&t.stop(!0)};return r.finish=r,o||!1===s.queue?this.each(r):this.queue(s.queue,r)},stop:function(o,t,s){var r=function(t){var e=t.stop;delete t.stop,e(s)};return"string"!=typeof o&&(s=t,t=o,o=void 0),t&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var t=!0,e=null!=o&&o+"queueHooks",n=S.timers,i=Y.get(this);if(e)i[e]&&i[e].stop&&r(i[e]);else for(e in i)i[e]&&i[e].stop&&ee.test(e)&&r(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=o&&n[e].queue!==o||(n[e].anim.stop(s),t=!1,n.splice(e,1));!t&&s||S.dequeue(this,o)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var t,e=Y.get(this),n=e[r+"queue"],i=e[r+"queueHooks"],o=S.timers,s=n?n.length:0;for(e.finish=!0,S.queue(this,r,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===r&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),S.each(["toggle","show","hide"],function(t,i){var o=S.fn[i];S.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(oe(i,!0),t,e,n)}}),S.each({slideDown:oe("show"),slideUp:oe("hide"),slideToggle:oe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){S.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),S.timers=[],S.fx.tick=function(){var t,e=0,n=S.timers;for(Vt=S.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||S.fx.stop(),Vt=void 0},S.fx.timer=function(t){S.timers.push(t),S.fx.start()},S.fx.interval=13,S.fx.start=function(){Kt||(Kt=!0,ne())},S.fx.stop=function(){Kt=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(i,t){return i=S.fx&&S.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var n=_.setTimeout(t,i);e.stop=function(){_.clearTimeout(n)}})},Gt=T.createElement("input"),Jt=T.createElement("select").appendChild(T.createElement("option")),Gt.type="checkbox",m.checkOn=""!==Gt.value,m.optSelected=Jt.selected,(Gt=T.createElement("input")).value="t",Gt.type="radio",m.radioValue="t"===Gt.value;var ae,le=S.expr.attrHandle;S.fn.extend({attr:function(t,e){return B(this,S.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){S.removeAttr(this,t)})}}),S.extend({attr:function(t,e,n){var i,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?S.prop(t,e,n):(1===s&&S.isXMLDoc(t)||(o=S.attrHooks[e.toLowerCase()]||(S.expr.match.bool.test(e)?ae:void 0)),void 0!==n?null===n?void S.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:null==(i=S.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&E(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(N);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),ae={set:function(t,e,n){return!1===e?S.removeAttr(t,n):t.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(t,e){var r=le[e]||S.find.attr;le[e]=function(t,e,n){var i,o,s=e.toLowerCase();return n||(o=le[s],le[s]=i,i=null!=r(t,e,n)?s:null,le[s]=o),i}});var ce=/^(?:input|select|textarea|button)$/i,ue=/^(?:a|area)$/i;function de(t){return(t.match(N)||[]).join(" ")}function he(t){return t.getAttribute&&t.getAttribute("class")||""}S.fn.extend({prop:function(t,e){return B(this,S.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[S.propFix[t]||t]})}}),S.extend({prop:function(t,e,n){var i,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&S.isXMLDoc(t)||(e=S.propFix[e]||e,o=S.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=S.find.attr(t,"tabindex");
vendor: 2,964 bytes, line 3
3return e?parseInt(e,10):ce.test(t.nodeName)||ue.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(S.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(e){var t,n,i,o,s,r,a,l=0;if(S.isFunction(e))return this.each(function(t){S(this).addClass(e.call(this,t,he(this)))});if("string"==typeof e&&e)for(t=e.match(N)||[];n=this[l++];)if(o=he(n),i=1===n.nodeType&&" "+de(o)+" "){for(r=0;s=t[r++];)i.indexOf(" "+s+" ")<0&&(i+=s+" ");o!==(a=de(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,o,s,r,a,l=0;if(S.isFunction(e))return this.each(function(t){S(this).removeClass(e.call(this,t,he(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(N)||[];n=this[l++];)if(o=he(n),i=1===n.nodeType&&" "+de(o)+" "){for(r=0;s=t[r++];)for(;-1<i.indexOf(" "+s+" ");)i=i.replace(" "+s+" "," ");o!==(a=de(i))&&n.setAttribute("class",a)}return this},toggleClass:function(o,e){var s=typeof o;return"boolean"==typeof e&&"string"===s?e?this.addClass(o):this.removeClass(o):S.isFunction(o)?this.each(function(t){S(this).toggleClass(o.call(this,t,he(this),e),e)}):this.each(function(){var t,e,n,i;if("string"===s)for(e=0,n=S(this),i=o.match(N)||[];t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else void 0!==o&&"boolean"!==s||((t=he(this))&&Y.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===o?"":Y.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+de(he(n))+" ").indexOf(e))return!0;return!1}});var pe=/\r/g;S.fn.extend({val:function(n){var i,t,o,e=this[0];return arguments.length?(o=S.isFunction(n),this.each(function(t){var e;1===this.nodeType&&(null==(e=o?n.call(this,t,S(this).val()):n)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=S.map(e,function(t){return null==t?"":t+""})),(i=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):e?(i=S.valHooks[e.type]||S.valHooks[e.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(pe,""):null==t?"":t:void 0}}),S.extend({valHooks:{option:{get:function(t){var e=S.find.attr(t,"value");return null!=e?e:de(S.text(t))}},select:{get:function(t){var e,n,i,o=t.options,s=t.selectedIndex,r="select-one"===t.type,a=r?null:[],l=r?s+1:o.length;for(i=s<0?l:r?s:0;i<l;i++)if(((n=o[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!E(n.parentNode,"optgroup"))){if(e=S(n).val(),r)return e;a.push(e)}return a}
vendor: 9,789 bytes, line 3
3,set:function(t,e){for(var n,i,o=t.options,s=S.makeArray(e),r=o.length;r--;)((i=o[r]).selected=-1<S.inArray(S.valHooks.option.get(i),s))&&(n=!0);return n||(t.selectedIndex=-1),s}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<S.inArray(S(t).val(),e)}},m.checkOn||(S.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var fe=/^(?:focusinfocus|focusoutblur)$/;S.extend(S.event,{trigger:function(t,e,n,i){var o,s,r,a,l,c,u,d=[n||T],h=f.call(t,"type")?t.type:t,p=f.call(t,"namespace")?t.namespace.split("."):[];if(s=r=n=n||T,3!==n.nodeType&&8!==n.nodeType&&!fe.test(h+S.event.triggered)&&(-1<h.indexOf(".")&&(h=(p=h.split(".")).shift(),p.sort()),l=h.indexOf(":")<0&&"on"+h,(t=t[S.expando]?t:new S.Event(h,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:S.makeArray(e,[t]),u=S.event.special[h]||{},i||!u.trigger||!1!==u.trigger.apply(n,e))){if(!i&&!u.noBubble&&!S.isWindow(n)){for(a=u.delegateType||h,fe.test(a+h)||(s=s.parentNode);s;s=s.parentNode)d.push(s),r=s;r===(n.ownerDocument||T)&&d.push(r.defaultView||r.parentWindow||_)}for(o=0;(s=d[o++])&&!t.isPropagationStopped();)t.type=1<o?a:u.bindType||h,(c=(Y.get(s,"events")||{})[t.type]&&Y.get(s,"handle"))&&c.apply(s,e),(c=l&&s[l])&&c.apply&&W(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(d.pop(),e)||!W(n)||l&&S.isFunction(n[h])&&!S.isWindow(n)&&((r=n[l])&&(n[l]=null),n[S.event.triggered=h](),S.event.triggered=void 0,r&&(n[l]=r)),t.result}},simulate:function(t,e,n){var i=S.extend(new S.Event,n,{type:t,isSimulated:!0});S.event.trigger(i,null,e)}}),S.fn.extend({trigger:function(t,e){return this.each(function(){S.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return S.event.trigger(t,e,n,!0)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){S.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),S.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),m.focusin="onfocusin"in _,m.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,i){var o=function(t){S.event.simulate(i,t.target,S.event.fix(t))};S.event.special[i]={setup:function(){var t=this.ownerDocument||this,e=Y.access(t,i);e||t.addEventListener(n,o,!0),Y.access(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=Y.access(t,i)-1;e?Y.access(t,i,e):(t.removeEventListener(n,o,!0),Y.remove(t,i))}}});var ge=_.location,me=S.now(),ve=/\?/;S.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new _.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+t),e};var ye=/\[\]$/,be=/\r?\n/g,xe=/^(?:submit|button|image|reset|file)$/i,we=/^(?:input|select|textarea|keygen)/i;function Ce(n,t,i,o){var e;if(Array.isArray(t))S.each(t,function(t,e){i||ye.test(n)?o(n,e):Ce(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,i,o)});else if(i||"object"!==S.type(t))o(n,t);else for(e in t)Ce(n+"["+e+"]",t[e],i,o)}S.param=function(t,e){var n,i=[],o=function(t,e){var n=S.isFunction(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!S.isPlainObject(t))S.each(t,function(){o(this.name,this.value)});else for(n in t)Ce(n,t[n],e,o);return i.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=S.prop(this,"elements");return t?S.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!S(this).is(":disabled")&&we.test(this.nodeName)&&!xe.test(t)&&(this.checked||!st.test(t))}).map(function(t,e){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(t){return{name:e.name,value:t.replace(be,"\r\n")}}):{name:e.name,value:n.replace(be,"\r\n")}}).get()}});var _e=/%20/g,Te=/#.*$/,Se=/([?&])_=[^&]*/,$e=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ee=/^(?:GET|HEAD)$/,ke=/^\/\//,Pe={},je={},Ae="*/".concat("*"),De=T.createElement("a");function Le(s){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,o=t.toLowerCase().match(N)||[];if(S.isFunction(e))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(s[n]=s[n]||[]).unshift(e)):(s[n]=s[n]||[]).push(e)}}function Me(e,o,s,r){var a={},l=e===je;function c(t){var i;return a[t]=!0,S.each(e[t]||[],function(t,e){var n=e(o,s,r);return"string"!=typeof n||l||a[n]?l?!(i=n):void 0:(o.dataTypes.unshift(n),c(n),!1)}),i}return c(o.dataTypes[0])||!a["*"]&&c("*")}function qe(t,e){var n,i,o=S.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&S.extend(!0,t,i),t}De.href=ge.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ge.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ge.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ae,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?qe(qe(t,S.ajaxSettings),e):qe(S.ajaxSettings,t)},ajaxPrefilter:Le(Pe),ajaxTransport:Le(je),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var u,d,h,n,p,i,f,g,o,s,m=S.ajaxSetup({},e),v=m.context||m,y=m.context&&(v.nodeType||v.jquery)?S(v):S.event,b=S.Deferred(),x=S.Callbacks("once memory"),w=m.statusCode||{},r={},a={},l="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(f){if(!n)for(n={};e=$e.exec(h);)n[e[1].toLowerCase()]=e[2];e=n[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return f?h:null},setRequestHeader:function(t,e){return null==f&&(t=a[t.toLowerCase()]=a[t.toLowerCase()]||t,r[t]=e),this},overrideMimeType:function(t){return null==f&&(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(f)C.always(t[C.status]);else for(e in t)w[e]=[w[e],t[e]];return this},abort:function(t){var e=t||l;return u&&u.abort(e),c(0,e),this}};if(b.promise(C),m.url=((t||m.url||ge.href)+"").replace(ke,ge.protocol+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(N)||[""],null==m.crossDomain){i=T.createElement("a");try{i.href=m.url,i.href=i.href,m.crossDomain=De.protocol+"//"+De.host!=i.protocol+"//"+i.host}catch(t){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=S.param(m.data,m.traditional)),Me(Pe,m,e,C),f)return C;for(o in(g=S.event&&m.global)&&0==S.active++&&S.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ee.test(m.type),d=m.url.replace(Te,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(_e,"+")):(s=m.url.slice(d.length),m.data&&(d+=(ve.test(d)?"&":"?")+m.data,delete m.data),!1===m.cache&&(d=d.replace(Se,"$1"),s=(ve.test(d)?"&":"?")+"_="+me+++s),m.url=d+s),m.ifModified&&(S.lastModified[d]&&C.setRequestHeader("If-Modified-Since",S.lastModified[d]),S.etag[d]&&C.setRequestHeader("If-None-Match",S.etag[d])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&C.setRequestHeader("Content-Type",m.contentType),C.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Ae+"; q=0.01":""):m.accepts["*"]),m.headers)C.setRequestHeader(o,m.headers[o]);if(m.beforeSend&&(!1===m.beforeSend.call(v,C,m)||f))return C.abort();if(l="abort",x.add(m.complete),C.done(m.success),C.fail(m.error),u=Me(je,m,e,C)){if(C.readyState=1,g&&y.trigger("ajaxSend",[C,m]),f)return C;m.async&&0<m.timeout&&(p=_.setTimeout(function(){C.abort("timeout")},m.timeout));try{f=!1,u.send(r,c)}catch(t){if(f)throw t;c(-1,t)}}else c(-1,"No Transport");function c(t,e,n,i){var o,s,r,a,l,c=e;f||(f=!0,p&&_.clearTimeout(p),u=void 0,h=i||"",C.readyState=0<t?4:0,o=200<=t&&t<300||304===t,n&&(a=function(t,e,n){for(var i,o,s,r,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)s=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){s=o;break}r||(r=o)}s=s||r}if(s)return s!==l[0]&&l.unshift(s),n[s]}(m,C,n)),a=function(t,e,n,i){var o,s,r,a,l,c={},u=t.dataTypes.slice();if(u[1])for(r in t.converters)c[r.toLowerCase()]=t.converters[r];for(s=u.shift();s;)if(t.responseFields[s]&&(n[t.responseFields[s]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(r=c[l+" "+s]||c["* "+s]))for(o in c)if((a=o.split(" "))[1]===s&&(r=c[l+" "+a[0]]||c["* "+a[0]])){!0===r?r=c[o]:!0!==c[o]&&(s=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}(m,a,C,o),o?(m.ifModified&&((l=C.getResponseHeader("Last-Modified"))&&(S.lastModified[d]=l),(l=C.getResponseHeader("etag"))&&(S.etag[d]=l)),204===t||"HEAD"===m.type?c="nocontent":304===t?c="notmodified":(c=a.state,s=a.data,o=!(r=a.error))):(r=c,!t&&c||(c="error",t<0&&(t=0))),C.status=t,C.statusText=(e||c
vendor: 4,073 bytes, line 3
3)+"",o?b.resolveWith(v,[s,c,C]):b.rejectWith(v,[C,c,r]),C.statusCode(w),w=void 0,g&&y.trigger(o?"ajaxSuccess":"ajaxError",[C,m,o?s:r]),x.fireWith(v,[C,c]),g&&(y.trigger("ajaxComplete",[C,m]),--S.active||S.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return S.get(t,e,n,"json")},getScript:function(t,e){return S.get(t,void 0,e,"script")}}),S.each(["get","post"],function(t,o){S[o]=function(t,e,n,i){return S.isFunction(e)&&(i=i||n,n=e,e=void 0),S.ajax(S.extend({url:t,type:o,dataType:i,data:e,success:n},S.isPlainObject(t)&&t))}}),S._evalUrl=function(t){return S.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},S.fn.extend({wrapAll:function(t){var e;return this[0]&&(S.isFunction(t)&&(t=t.call(this[0])),e=S(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(n){return S.isFunction(n)?this.each(function(t){S(this).wrapInner(n.call(this,t))}):this.each(function(){var t=S(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=S.isFunction(e);return this.each(function(t){S(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(t){return!S.expr.pseudos.visible(t)},S.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new _.XMLHttpRequest}catch(t){}};var Ne={0:200,1223:204},Fe=S.ajaxSettings.xhr();m.cors=!!Fe&&"withCredentials"in Fe,m.ajax=Fe=!!Fe,S.ajaxTransport(function(o){var s,r;if(m.cors||Fe&&!o.crossDomain)return{send:function(t,e){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)i.setRequestHeader(n,t[n]);s=function(t){return function(){s&&(s=r=i.onload=i.onerror=i.onabort=i.onreadystatechange=null,"abort"===t?i.abort():"error"===t?"number"!=typeof i.status?e(0,"error"):e(i.status,i.statusText):e(Ne[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=s(),r=i.onerror=s("error"),void 0!==i.onabort?i.onabort=r:i.onreadystatechange=function(){4===i.readyState&&_.setTimeout(function(){s&&r()})},s=s("abort");try{i.send(o.hasContent&&o.data||null)}catch(t){if(s)throw t}},abort:function(){s&&s()}}}),S.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return S.globalEval(t),t}}}),S.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),S.ajaxTransport("script",function(n){var i,o;if(n.crossDomain)return{send:function(t,e){i=S("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(t){i.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),T.head.appendChild(i[0])},abort:function(){o&&o()}}});var He,Ie=[],Oe=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ie.pop()||S.expando+"_"+me++;return this[t]=!0,t}}),S.ajaxPrefilter("json jsonp",function(t,e,n){var i,o,s,r=!1!==t.jsonp&&(Oe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Oe.test(t.data)&&"data");if(r||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=S.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,r?t[r]=t[r].replace(Oe,"$1"+i):!1!==t.jsonp&&(t.url+=(ve.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||S.error(i+" was not called"),s[0]}
3,t.dataTypes[0]="json",o=_[i],_[i]=function(){s=arguments},n.always(function(){void 0===o?S(_).removeProp(i):_[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ie.push(i)),s&&S.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),m.createHTMLDocument=((He=T.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===He.childNodes.length),S.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((i=(e=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,e.head.appendChild(i)):e=T),s=!n&&[],(o=k.exec(t))?[e.createElement(o[1])]:(o=ft([t],e,s),s&&s.length&&S(s).remove(),S.merge([],o.childNodes)));var i,o,s},S.fn.load=function(t,e,n){var i,o,s,r=this,a=t.indexOf(" ");return-1<a&&(i=de(t.slice(a)),t=t.slice(0,a)),S.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<r.length&&S.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){s=arguments,r.html(i?S("<div>").append(S.parseHTML(t)).find(i):t)}).always(n&&function(t,e){r.each(function(){n.apply(this,s||[t.responseText,e,t])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){S.fn[e]=function(t){return this.on(e,t)}}),S.expr.pseudos.animated=function(e){return S.grep(S.timers,function(t){return e===t.elem}).length},S.offset={setOffset:function(t,e,n){var i,o,s,r,a,l,c=S.css(t,"position"),u=S(t),d={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=S.css(t,"top"),l=S.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(i=u.position()).top,o=i.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),S.isFunction(e)&&(e=e.call(t,n,S.extend({},a))),null!=e.top&&(d.top=e.top-a.top+r),null!=e.left&&(d.left=e.left-a.left+o),"using"in e?e.using.call(t,d):u.css(d)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){S.offset.setOffset(this,e,t)});var t,n,i,o,s=this[0];return s?s.getClientRects().length?(i=s.getBoundingClientRect(),n=(t=s.ownerDocument).documentElement,o=t.defaultView,{top:i.top+o.pageYOffset-n.clientTop,left:i.left+o.pageXOffset-n.clientLeft}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===S.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),E(t[0],"html")||(i=t.offset()),i={top:i.top+S.css(t[0],"borderTopWidth",!0),left:i.left+S.css(t[0],"borderLeftWidth",!0)}),{top:e.top-i.top-S.css(n,"marginTop",!0),left:e.left-i.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||gt})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var s="pageYOffset"===o;S.fn[e]=function(t){return B(this,function(t,e,n){var i;return S.isWindow(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===n?i?i[o]:t[e]:void(i?i.scrollTo(s?i.pageXOffset:n,s?n:i.pageYOffset):t[e]=n)},e,t,arguments.length)}}),S.each(["top","left"],function(t,n){S.cssHooks[n]=Ht(m.pixelPosition,function(t,e){if(e)return e=Ft(t,n),qt.test(e)?S(t).position()[n]+"px":e})}),S.each({Height:"height",Width:"width"},function(r,a){S.each({padding:"inner"+r,content:a,"":"outer"+r},function(i,s){S.fn[s]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),o=i||(!0===t||!0===e?"margin":"border");return B(this,function(t,e,n){var i;return S.isWindow(t)?0===s.indexOf("outer")?t["inner"+r]:t.document.documentElement["client"+r]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+r],i["scroll"+r],t.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?S.css(t,e,o):S.style(t,e,n,o)},a,n?t:void 0,n)}})}),S.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),S.holdReady=function(t){t?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=E,"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var ze=_.jQuery,Re=_.$;return S.noConflict=function(t){return _.$===S&&(_.$=Re),t&&_.jQuery===S&&(_.jQuery=ze),S},t||(_.jQuery=_.$=S),S}),function(t,r){function a(){var t=f.elements;return"string"==typeof t?t.split(" "):t}function l(t){var e=p[t[s]];return e||(e={},h++,t[s]=h,p[h]=e),e}function c(t,e,n){return e||(e=r),d?e.createElement(t):(n||(n=l(e)),(e=n.cache[t]?n.cache[t].cloneNode():o.test(t)?(n.cache[t]=n.createElem(t)).cloneNode():n.createElem(t)).canHaveChildren&&!i.test(t)?n.frag.appendChild(e):e)}function e(t){t||(t=r);var e,n,i=l(t);if(f.shivCSS&&!u&&!i.hasCSS){var o,s=t;o=s.createElement("p"),s=s.getElementsByTagName("head")[0]||s.documentElement,o.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
3play:block}mark{background:#FF0;color:#000}template{display:none}</style>",o=s.insertBefore(o.lastChild,s.firstChild),i.hasCSS=!!o}return d||(e=t,(n=i).cache||(n.cache={},n.createElem=e.createElement,n.createFrag=e.createDocumentFragment,n.frag=n.createFrag()),e.createElement=function(t){return f.shivMethods?c(t,e,n):n.createElem(t)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+a().join().replace(/[\w\-]+/g,function(t){return n.createElem(t),n.frag.createElement(t),'c("'+t+'")'})+");return n}")(f,n.frag)),t}var u,d,n=t.html5||{},i=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,o=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,s="_html5shiv",h=0,p={};!function(){try{var t,e=r.createElement("a");if(e.innerHTML="<xyz></xyz>",u="hidden"in e,!(t=1==e.childNodes.length)){r.createElement("a");var n=r.createDocumentFragment();t=void 0===n.cloneNode||void 0===n.createDocumentFragment||void 0===n.createElement}d=t}catch(t){d=u=!0}}();var f={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==n.shivCSS,supportsUnknownElements:d,shivMethods:!1!==n.shivMethods,type:"default",shivDocument:e,createElement:c,createDocumentFragment:function(t,e){if(t||(t=r),d)return t.createDocumentFragment();for(var n=(e=e||l(t)).frag.cloneNode(),i=0,o=a(),s=o.length;i<s;i++)n.createElement(o[i]);return n}};t.html5=f,e(r)}(this,document),function(t,e){"function"==typeof define&&define.amd?define([],function(){return t.svg4everybody=e()}):"object"==typeof module&&module.exports?module.exports=e():t.svg4everybody=e()}(this,function(){function m(t,e,n){if(n){var i=document.createDocumentFragment(),o=!e.hasAttribute("viewBox")&&n.getAttribute("viewBox");o&&e.setAttribute("viewBox",o);for(var s=n.cloneNode(!0);s.childNodes.length;)i.appendChild(s.firstChild);t.appendChild(i)}}function v(i){i.onreadystatechange=function(){if(4===i.readyState){var n=i._cachedDocument;n||((n=i._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=i.responseText,i._cachedTarget={}),i._embeds.splice(0).map(function(t){var e=i._cachedTarget[t.id];e||(e=i._cachedTarget[t.id]=n.getElementById(t.id)),m(t.parent,t.svg,e)})}},i.onreadystatechange()}function y(t){for(var e=t;"svg"!==e.nodeName.toLowerCase()&&(e=e.parentNode););return e}return function(t){var u,d=Object(t),e=window.top!==window.self;u="polyfill"in d?d.polyfill:/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/.test(navigator.userAgent)||(navigator.userAgent.match(/\bEdge\/12\.(\d+)\b/)||[])[1]<10547||(navigator.userAgent.match(/\bAppleWebKit\/(\d+)\b/)||[])[1]<537||/\bEdge\/.(\d+)\b/.test(navigator.userAgent)&&e;var h={},p=window.requestAnimationFrame||setTimeout,f=document.getElementsByTagName("use"),g=0;u&&function t(){for(var e=0;e<f.length;){var n=f[e],i=n.parentNode,o=y(i),s=n.getAttribute("xlink:href")||n.getAttribute("href");if(!s&&d.attributeName&&(s=n.getAttribute(d.attributeName)),o&&s){if(u)if(!d.validate||d.validate(s,o,n)){i.removeChild(n);var r=s.split("#"),a=r.shift(),l=r.join("#");if(a.length){var c=h[a];c||((c=h[a]=new XMLHttpRequest).open("GET",a),c.send(),c._embeds=[]),c._embeds.push({parent:i,svg:o,id:l}),v(c)}else m(i,o,document.getElementById(l))}else++e,++g}else++e}(!f.length||0<f.length-g)&&p(t,67)}()}}),function(l,n,o,s){function c(t,e){this.settings=null,this.options=l.extend({},c.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(c.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(c.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,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:n,fallbackEasing:"swing",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"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.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||"",n=!this.settings.autoWidth,i=this.settings.rtl,o={width:"auto","margin-left":i?e:"","margin-right":i?"":e};!n&&this.$stage.children().css(o),t.css=o}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,o=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:e};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,t.items.merge=1<n||t.items.merge,s[i]=o?e*n:this._items[i].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],e=this._items,n=this.settings,i=Math.max(2*n.items,4),o=2*Math.ceil(e.length/2),s=n.loop&&e.length?n.rewind?i:Math.max(i,o):0,r="",a="";for(s/=2;s--;)t.push(this.normalize(t.length/2,!0)),r+=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;
vendor: 5,082 bytes, line 3
3this._clones=t,l(r).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,n=-1,i=0,o=0,s=[];++n<e;)i=s[n-1]||0,o=this._widths[this.relative(n)]+this.settings.margin,s.push(i+o*t);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,n={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],i.eq(e).css(t.css);else n&&(t.css.width=t.items.width,i.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(){var t,e,n,i,o=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,r=this.coordinates(this.current())+s,a=r+this.width()*o,l=[];for(n=0,i=this._coordinates.length;n<i;n++)t=this._coordinates[n-1]||0,e=Math.abs(this._coordinates[n])+s*o,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],c.prototype.initialize=function(){var t,e,n;(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:s,n=this.$element.children(e).width(),t.length&&n<=0&&this.preloadAutoWidthImages(t));this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,n=-1,i=null;t?(l.each(t,function(t){t<=e&&n<t&&(n=Number(t))}),"function"==typeof(i=l.extend({},this.options,t[n])).stagePadding&&(i.stagePadding=i.stagePadding()),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):i=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=n,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},c.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},c.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},c.prototype.update=function(){for(var t=0,e=this._pipe.length,n=l.proxy(function(t){return this[t]},this._invalidated),i={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,n).length)&&this._pipe[t].run(i),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},c.prototype.width=function(t){switch(t=t||c.Width.Default){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},c.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")},c.prototype.onThrottledResize=function(){n.clearTimeout(this.resizeTimer),this.resizeTimer=n.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},c.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))}
vendor: 12,839 bytes, line 3
3,c.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(n,"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)))},c.prototype.onDragStart=function(t){var e=null;3!==t.which&&(l.support.transform?e={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(),e={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(o).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(o).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(o).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)))},c.prototype.onDragMove=function(t){var e=null,n=null,i=null,o=this.difference(this._drag.pointer,this.pointer(t)),s=this.difference(this._drag.stage.start,o);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-e,s.x=((s.x-e)%n+n)%n+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),i=this.settings.pullDrag?-1*o.x/5:0,s.x=Math.max(Math.min(s.x,e+i),n+i)),this._drag.stage.current=s,this.animate(s.x))},c.prototype.onDragEnd=function(t){var e=this.difference(this._drag.pointer,this.pointer(t)),n=this._drag.stage.current,i=0<e.x^this.settings.rtl?"left":"right";l(o).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(n.x,0!==e.x?i:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=i,(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"))},c.prototype.closest=function(n,i){var o=-1,s=this.width(),r=this.coordinates();return this.settings.freeDrag||l.each(r,l.proxy(function(t,e){return"left"===i&&e-30<n&&n<e+30?o=t:"right"===i&&e-s-30<n&&n<e-s+30?o=t+1:this.op(n,"<",e)&&this.op(n,">",r[t+1]||e-s)&&(o="left"===i?t+1:t),-1===o},this)),this.settings.loop||(this.op(n,">",r[this.minimum()])?o=n=this.minimum():this.op(n,"<",r[this.maximum()])&&(o=n=this.maximum())),o},c.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"}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},c.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},c.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},c.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})},c.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},c.prototype.normalize=function(t,e){var n=this._items.length,i=e?0:this._clones.length;return!this.isNumeric(t)||n<1?t=s:(t<0||n+i<=t)&&(t=((t-i/2)%n+n)%n+i/2),t},c.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},c.prototype.maximum=function(t){var e,n,i,o=this.settings,s=this._coordinates.length;if(o.loop)s=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){for(e=this._items.length,n=this._items[--e].width(),i=this.$element.width();e--&&!(i<(n+=this._items[e].width()+this.settings.margin)););s=e+1}else s=o.center?this._items.length-1:this._items.length-o.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},c.prototype.minimum=function(t){return t?0:this._clones.length/2},c.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},c.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},c.prototype.clones=function(n){var e=this._clones.length/2,i=e+this._items.length,o=function(t){return t%2==0?i+t/2:e-(t+1)/2};return n===s?l.map(this._clones,function(t,e){return o(e)}):l.map(this._clones,function(t,e){return t===n?o(e):null})},c.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},c.prototype.coordinates=function(t){var e,n=1,i=t-1;return t===s?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,i=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[i]||0))/2*n):e=this._coordinates[i]||0,e=Math.ceil(e))},c.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},c.prototype.to=function(t,e){var n=this.current(),i=null,o=t-this.relative(n),s=(0<o)-(o<0),r=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>r/2&&(o+=-1*s*r),(i=(((t=n+o)-a)%r+r)%r+a)!==t&&i-o<=l&&0<i-o&&(n=i-o,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.$element.is(":visible")&&this.update()},c.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},c.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},c.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},c.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==n?t=l(this.options.responsiveBaseElement).width():n.innerWidth?t=n.innerWidth:o.documentElement&&o.documentElement.clientWidth?t=o.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},c.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(1*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")},c.prototype.add=function(t,e){var n=this.relative(this._current);e=e===s?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(1*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,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},c.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(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}))},c.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))},c.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(o).off(".owl.core"),!1!==this.settings.responsive&&(n.clearTimeout(this.resizeTimer),this.off(n,"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.$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")},c.prototype.op=function(t,e,n){var i=this.settings.rtl;switch(e){case"<":return i?n<t:t<n;case">":return i?t<n:n<t;case">=":return i?t<=n:n<=t;case"<=":return i?n<=t:t<=n}},c.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},c.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},c.prototype.trigger=function(t,e,n,i,o){var s={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",t,n],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",n||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(n){if(n.type===c.Type.Event){if(l.event.special[n.name]||(l.event.special[n.name]={}),!l.event.special[n.name].owl){var e=l.event.special[n.name]._default;l.event.special[n.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[n.name].owl=!0}}else n.type===c.Type.State&&(this._states.tags[n.name]?this._states.tags[n.name]=this._states.tags[n.name].concat(n.tags):this._states.tags[n.name]=n.tags,this._states.tags[n.name]=l.grep(this._states.tags[n.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[n.name])===e},this)))},c.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},c.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},c.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||n.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},c.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},c.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1
vendor: 15,624 bytes, line 3
3);return this.each(function(){var t=l(this),n=t.data("owl.carousel");n||(n=new c(this,"object"==typeof e&&e),t.data("owl.carousel",n),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){n.register({type:c.Type.Event,name:e}),n.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),n[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},n))})),"string"==typeof e&&"_"!==e.charAt(0)&&n[e].apply(n,i)})},l.fn.owlCarousel.Constructor=c}(window.Zepto||window.jQuery,window,document),function(e,n,t,i){var o=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({},o.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={autoRefresh:!0,autoRefreshInterval:500},o.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=n.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},o.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},o.prototype.destroy=function(){var t,e;for(t in n.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=o}(window.Zepto||window.jQuery,window,document),function(a,s,t,e){var n=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))for(var e=this._core.settings,n=e.center&&Math.ceil(e.items/2)||e.items,i=e.center&&-1*n||0,o=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+i,s=this._core.clones().length,r=a.proxy(function(t,e){this.load(e)},this);i++<n;)this.load(s/2+this._core.relative(o)),s&&a.each(this._core.clones(this._core.relative(o)),r),o++},this)},this._core.options=a.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1},n.prototype.load=function(t){var e=this._core.$stage.children().eq(t),n=e&&e.find(".owl-lazy");!n||-1<a.inArray(e.get(0),this._loaded)||(n.each(a.proxy(function(t,e){var n,i=a(e),o=1<s.devicePixelRatio&&i.attr("data-src-retina")||i.attr("data-src");this._core.trigger("load",{element:i,url:o},"lazy"),i.is("img")?i.one("load.owl.lazy",a.proxy(function(){i.css("opacity",1),this._core.trigger("loaded",{element:i,url:o},"lazy")},this)).attr("src",o):((n=new Image).onload=a.proxy(function(){i.css({"background-image":'url("'+o+'")',opacity:"1"}),this._core.trigger("loaded",{element:i,url:o},"lazy")},this),n.src=o)},this)),this._loaded.push(e.get(0)))},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)},a.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(s,t,e,n){var i=function(t){this._core=t,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({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var t,e=this._core._current,n=e+this._core.settings.items,i=this._core.$stage.children().toArray().slice(e,n),o=[];s.each(i,function(t,e){o.push(s(e).height())}),t=Math.max.apply(null,o),this._core.$stage.parent().height(t).addClass(this._core.settings.autoHeightClass)},i.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=i}(window.Zepto||window.jQuery,window,document),function(u,t,e,n){var i=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":u.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":u.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":u.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":u.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":u.proxy(function(t){if(t.namespace){var e=u(t.content).find(".owl-video");e.length&&(e.css("display","none"),this.fetch(e,u(t.content)))}},this)},this._core.options=u.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",u.proxy(function(t){this.play(t)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var n=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",i=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if(-1<(i=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))n="youtube";else if(-1<i[3].indexOf("vimeo"))n="vimeo";else{if(!(-1<i[3].indexOf("vzaar")))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[r]={type:n,id:i,width:o,height:s},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},i.prototype.thumbnail=function(e,t){var n,i,o=t.width&&t.height?'style="width:'+t.width+"px;height:"+t.height+'px;"':"",s=e.find("img"),r="src",a="",l=this._core.settings,c=function(t){'<div class="owl-video-play-icon"></div>',n=l.lazyLoad?'<div class="owl-video-tn '+a+'" '+r+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(n),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap('<div class="owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(r="data-src",a="owl-lazy"),s.length)return c(s.attr(r)),s.remove(),!1;"youtube"===t.type?(i="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",c(i)):"vimeo"===t.type?u.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){i=t[0].thumbnail_large,c(i)}}):"vzaar"===t.type&&u.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){i=t.framegrab_url,c(i)}})},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,n=u(t.target).closest("."+this._core.settings.itemClass),i=this._videos[n.attr("data-video")],o=i.width||"100%",s=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),"youtube"===i.type?e='<iframe width="'+o+'" height="'+s+'" src="//www.youtube.com/embed/'+i.id+"?autoplay=1&rel=0&v="+i.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===i.type?e='<iframe src="//player.vimeo.com/video/'+i.id+'?autoplay=1" width="'+o+'" height="'+s+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===i.type&&(e='<iframe frameborder="0"height="'+s+'"width="'+o+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+i.id+'/player?autoplay=true"></iframe>'),u('<div class="owl-video-frame">'+e+"</div>").insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&u(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)},u.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(r,t,e,n){var i=function(t){this.core=t,this.core.options=r.extend({},i.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.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":r.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":r.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};i.Defaults={animateOut:!1,animateIn:!1},i.prototype.swap=function(){if(1===this.core.settings.items&&r.support.animation&&r.support.transition){this.core.speed(0);var t,e=r.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(r.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),o&&i.one(r.support.animation.end,e).addClass("animated owl-animated-in").addClass(o))}},i.prototype.clear=function(t){r(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()},i.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)},r.fn.owlCarousel.Constructor.Plugins.Animate=i}(window.Zepto||window.jQuery,window,document),function(n,i,o,t){var e=function(t){this._core=t,this._timeout=null,this._paused=!1,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._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(t,e,n){t.namespace&&this.play(e,n)},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({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(t,e){return this._timeout&&i.clearTimeout(this._timeout),i.setTimeout(n.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||o.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),t||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(i.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.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=e}(window.Zepto||window.jQuery,window,document),function(s,t,e,n){"use strict";var i=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({},i.Defaults,this._core.options),this.$element.on(this._handlers)};i.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",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},i.prototype.initialize=function(){var t,n=this._core.settings;for(t in this._controls.$relative=(n.navContainer?s(n.navContainer):s("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=s("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",
3s.proxy(function(t){this.prev(n.navSpeed)},this)),this._controls.$next=s("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",s.proxy(function(t){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[s("<div>").addClass(n.dotClass).append(s("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?s(n.dotsContainer):s("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",s.proxy(function(t){var e=s(t.target).parent().is(this._controls.$absolute)?s(t.target).index():s(t.target).parent().index();t.preventDefault(),this.to(e,n.dotsSpeed)},this)),this._overrides)this._core[t]=s.proxy(this[t],this)},i.prototype.destroy=function(){var t,e,n,i;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},i.prototype.update=function(){var t,e,n=this._core.clones().length/2,i=n+this._core.items().length,o=this._core.maximum(!0),s=this._core.settings,r=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=n,e=0;t<i;t++){if(r<=e||0===e){if(this._pages.push({start:Math.min(o,t-n),end:t-n+r-1}),Math.min(o,t-n)===o)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},i.prototype.draw=function(){var t,e=this._core.settings,n=this._core.items().length<=e.items,i=this._core.relative(this._core.current()),o=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||n),e.nav&&(this._controls.$previous.toggleClass("disabled",!o&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||n),e.dots&&(t=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):0<t?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(s.inArray(this.current(),this._pages)).addClass("active"))},i.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)}},i.prototype.current=function(){var n=this._core.relative(this._core.current());return s.grep(this._pages,s.proxy(function(t,e){return t.start<=n&&t.end>=n},this)).pop()},i.prototype.getPosition=function(t){var e,n,i=this._core.settings;return"page"==i.slideBy?(e=s.inArray(this.current(),this._pages),n=this._pages.length,t?++e:--e,e=this._pages[(e%n+n)%n].start):(e=this._core.relative(this._core.current()),n=this._core.items().length,t?e+=i.slideBy:e-=i.slideBy),e},i.prototype.next=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},i.prototype.prev=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},i.prototype.to=function(t,e,n){var i;!n&&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=i}(window.Zepto||window.jQuery,window,document),function(i,o,t,e){"use strict";var n=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":i.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&i(o).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":i.proxy(function(t){if(t.namespace){var e=i(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!e)return;this._hashes[e]=t.content}},this),"changed.owl.carousel":i.proxy(function(t){if(t.namespace&&"position"===t.property.name){var n=this._core.items(this._core.relative(this._core.current())),e=i.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!e||o.location.hash.slice(1)===e)return;o.location.hash=e}},this)},this._core.options=i.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),i(o).on("hashchange.owl.navigation",i.proxy(function(t){var e=o.location.hash.substring(1),n=this._core.$stage.children(),i=this._hashes[e]&&n.index(this._hashes[e]);void 0!==i&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var t,e;for(t in i(o).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)},i.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(o,t,e,s){var r=o("<support>").get(0).style,a="Webkit Moz O ms".split(" "),n={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},i=function(){return!!u("transform")},l=function(){return!!u("perspective")},c=function(){return!!u("animation")};function u(t,n){var i=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return o.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(r[e]!==s)return i=!n||e,!1}),i}function d(t){return u(t,!0)}(function(){return!!u("transition")})()&&(o.support.transition=new String(d("transition")),o.support.transition.end=n.transition.end[o.support.transition]),c()&&(o.support.animation=new String(d("animation")),o.support.animation.end=n.animation.end[o.support.animation]),i()&&(o.support.transform=new String(d("transform")),o.support.transform3d=l())}(window.Zepto||window.jQuery,window,document),function(u,r,g,m){"use strict";function n(t,e){var n,i,o=[],s=0;t&&t.isDefaultPrevented()||(t.preventDefault(),(i=(n=(e=t&&t.data?t.data.options:e||{}).$target||g(t.currentTarget)).attr("data-fancybox")||"")?(s=(o=(o=e.selector?g(e.selector):t.data?t.data.items:[]).length?o.filter('[data-fancybox="'+i+'"]'):g('[data-fancybox="'+i+'"]')).index(n))<0&&(s=0):o=[n],g.fancybox.open(o,e,s))}if(u.console=u.console||{info:function(t){}}
3,g){if(g.fn.fancybox)return console.info("fancyBox already initialized");var t={loop:!1,gutter:50,keyboard:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","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" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"></div></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 viewBox="0 0 40 40"><path d="M13,16 L20,23 L27,16 M20,7 L20,23 M10,24 L10,28 L30,28 L30,24" /></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg viewBox="0 0 40 40"><path d="M18,17 m-8,0 a8,8 0 1,0 16,0 a8,8 0 1,0 -16,0 M24,22 L31,29" /></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg viewBox="0 0 40 40"><path d="M10,10 L30,30 M30,10 L10,30" /></svg></button>',smallBtn:'<button data-fancybox-close class="fancybox-close-small" title="{{CLOSE}}"><svg viewBox="0 0 32 32"><path d="M10,10 L22,22 M22,10 L10,22"></path></svg></button>',arrowLeft:'<a data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}" href="javascript:;"><svg viewBox="0 0 40 40"><path d="M18,12 L10,20 L18,28 M10,20 L30,20"></path></svg></a>',arrowRight:'<a data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}" href="javascript:;"><svg viewBox="0 0 40 40"><path d="M10,20 L30,20 M22,12 L30,20 L22,28"></path></svg></a>'},parentEl:"body",autoFocus:!1,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:4e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:g.noop,beforeLoad:g.noop,afterLoad:g.noop,beforeShow:g.noop,afterShow:g.noop,beforeClose:g.noop,afterClose:g.noop,onActivate:g.noop,onDeactivate:g.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{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:"Schliessen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/>
3 Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"MaÃstab"}}},o=g(u),a=g(r),s=0,h=u.requestAnimationFrame||u.webkitRequestAnimationFrame||u.mozRequestAnimationFrame||u.oRequestAnimationFrame||function(t){return u.setTimeout(t,1e3/60)},p=function(){var t,e=r.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(e.style[t]!==m)return n[t];return"transitionend"}(),f=function(t){return t&&t.length&&t[0].offsetHeight},l=function(t,e){var n=g.extend(!0,{},t,e);return g.each(e,function(t,e){g.isArray(e)&&(n[t]=e)}),n},i=function(t,e,n){var i=this;i.opts=l({index:n},g.fancybox.defaults),g.isPlainObject(e)&&(i.opts=l(i.opts,e)),g.fancybox.isMobile&&(i.opts=l(i.opts,i.opts.mobile)),i.id=i.opts.id||++s,i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=!0,i.group=[],i.slides={},i.addContent(t),i.group.length&&(i.$lastFocus=g(r.activeElement).trigger("blur"),i.init())};g.extend(i.prototype,{init:function(){var t,e,n,i=this,o=i.group[i.currIndex].opts,s=g.fancybox.scrollbarWidth;g.fancybox.getInstance()||!1===o.hideScrollbar||(g("body").addClass("fancybox-active"),!g.fancybox.isMobile&&r.body.scrollHeight>u.innerHeight&&(s===m&&(t=g('<div style="width:100px;height:100px;overflow:scroll;" />').appendTo("body"),s=g.fancybox.scrollbarWidth=t[0].offsetWidth-t[0].clientWidth,t.remove()),g("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar { margin-right: '+s+"px; }</style>"),g("body").addClass("compensate-for-scrollbar"))),n="",g.each(o.buttons,function(t,e){n+=o.btnTpl[e]||""}),e=g(i.translate(i,o.baseTpl.replace("{{buttons}}",n).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+i.id).addClass("fancybox-is-hidden").addClass(o.baseClass).data("FancyBox",i).appendTo(o.parentEl),i.$refs={container:e},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){i.$refs[t]=e.find(".fancybox-"+t)}),i.trigger("onInit"),i.activate(),i.jumpTo(i.currIndex)},translate:function(t,e){var i=t.opts.i18n[t.opts.lang];return e.replace(/\{\{(\w+)\}\}/g,function(t,e){var n=i[e];return n===m?t:n})},addContent:function(t){var e,c=this,n=g.makeArray(t);g.each(n,function(t,e){var n,i,o,s,r,a={},l={};g.isPlainObject(e)?l=(a=e).opts||e:"object"===g.type(e)&&g(e).length?(l=(n=g(e)).data()||{},(l=g.extend(!0,{},l,l.options)).$orig=n,a.src=c.opts.src||l.src||n.attr("href"),a.type||a.src||(a.type="inline",a.src=e)):a={type:"html",src:e+""},a.opts=g.extend(!0,{},c.opts,l),g.isArray(l.buttons)&&(a.opts.buttons=l.buttons),i=a.type||a.opts.type,s=a.src||"",!i&&s&&((o=s.match(/\.(mp4|mov|ogv)((\?|#).*)?$/i))?(i="video",a.opts.videoFormat||(a.opts.videoFormat="video/"+("ogv"===o[1]?"ogg":o[1]))):s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?i="image":s.match(/\.(pdf)((\?|#).*)?$/i)?i="iframe":"#"===s.charAt(0)&&(i="inline")),i?a.type=i:c.trigger("objectNeedsType",a),a.contentType||(a.contentType=-1<g.inArray(a.type,["html","inline","ajax"])?"html":a.type),a.index=c.group.length,"auto"==a.opts.smallBtn&&(a.opts.smallBtn=-1<g.inArray(a.type,["html","inline","ajax"])),"auto"===a.opts.toolbar&&(a.opts.toolbar=!a.opts.smallBtn),a.opts.$trigger&&a.index===c.opts.index&&(a.opts.$thumb=a.opts.$trigger.find("img:first")),a.opts.$thumb&&a.opts.$thumb.length||!a.opts.$orig||(a.opts.$thumb=a.opts.$orig.find("img:first")),"function"===g.type(a.opts.caption)&&(a.opts.caption=a.opts.caption.apply(e,[c,a])),"function"===g.type(c.opts.caption)&&(a.opts.caption=c.opts.caption.apply(e,[c,a])),a.opts.caption instanceof g||(a.opts.caption=a.opts.caption===m?"":a.opts.caption+""),"ajax"===a.type&&(1<(r=s.split(/\s+/,2)).length&&(a.src=r.shift(),a.opts.filter=r.shift())),a.opts.modal&&(a.opts=g.extend(!0,a.opts,{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})),c.group.push(a)}
3),Object.keys(c.slides).length&&(c.updateControls(),(e=c.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var i=this;i.removeEvents(),i.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),i.close(t)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),i.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),i.next()}).on("click.fb","[data-fancybox-zoom]",function(t){i[i.isScaledDown()?"scaleToActual":"scaleToFit"]()}),o.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?h(function(){i.update()}):(i.$refs.stage.hide(),setTimeout(function(){i.$refs.stage.show(),i.update()},g.fancybox.isMobile?600:250))}),a.on("focusin.fb",function(t){var e=g.fancybox?g.fancybox.getInstance():null;e.isClosing||!e.current||!e.current.opts.trapFocus||g(t.target).hasClass("fancybox-container")||g(t.target).is(r)||e&&"fixed"!==g(t.target).css("position")&&!e.$refs.container.has(t.target).length&&(t.stopPropagation(),e.focus())}),a.on("keydown.fb",function(t){var e=i.current,n=t.keyCode||t.which;if(e&&e.opts.keyboard&&!(t.ctrlKey||t.altKey||t.shiftKey||g(t.target).is("input")||g(t.target).is("textarea")))return 8===n||27===n?(t.preventDefault(),void i.close(t)):37===n||38===n?(t.preventDefault(),void i.previous()):39===n||40===n?(t.preventDefault(),void i.next()):void i.trigger("afterKeydown",t,n)}),i.group[i.currIndex].opts.idleTime&&(i.idleSecondsCounter=0,a.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){i.idleSecondsCounter=0,i.isIdle&&i.showControls(),i.isIdle=!1}),i.idleInterval=u.setInterval(function(){i.idleSecondsCounter++,i.idleSecondsCounter>=i.group[i.currIndex].opts.idleTime&&!i.isDragging&&(i.isIdle=!0,i.idleSecondsCounter=0,i.hideControls())},1e3))},removeEvents:function(){o.off("orientationchange.fb resize.fb"),a.off("focusin.fb keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(u.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,i){var e,n,o,s,r,a,l,c=this,u=c.group.length;if(!(c.isDragging||c.isClosing||c.isAnimating&&c.firstRun)){if(t=parseInt(t,10),!(n=c.current?c.current.opts.loop:c.opts.loop)&&(t<0||u<=t))return!1;if(e=c.firstRun=!Object.keys(c.slides).length,!(u<2&&!e&&c.isDragging)){if(s=c.current,c.prevIndex=c.currIndex,c.prevPos=c.currPos,o=c.createSlide(t),1<u&&((n||0<o.index)&&c.createSlide(t-1),(n||o.index<u-1)&&c.createSlide(t+1)),c.current=o,c.currIndex=o.index,c.currPos=o.pos,c.trigger("beforeShow",e),c.updateControls(),a=g.fancybox.getTranslate(o.$slide),o.isMoved=(0!==a.left||0!==a.top)&&!o.$slide.hasClass("fancybox-animated"),o.forcedDuration=m,g.isNumeric(i)?o.forcedDuration=i:i=o.opts[e?"animationDuration":"transitionDuration"],i=parseInt(i,10),e)return o.opts.animationEffect&&i&&c.$refs.container.css("transition-duration",i+"ms"),c.$refs.container.removeClass("fancybox-is-hidden"),f(c.$refs.container),c.$refs.container.addClass("fancybox-is-open"),f(c.$refs.container),o.$slide.addClass("fancybox-slide--previous"),c.loadSlide(o),o.$slide.removeClass("fancybox-slide--previous").addClass("fancybox-slide--current"),void c.preload("image");g.each(c.slides,function(t,e){g.fancybox.stop(e.$slide)}),o.$slide.removeClass("fancybox-slide--next fancybox-slide--previous").addClass("fancybox-slide--current"),o.isMoved?(r=Math.round(o.$slide.width()),g.each(c.slides,function(t,e){var n=e.pos-o.pos;g.fancybox.animate(e.$slide,{top:0,left:n*r+n*e.opts.gutter},i,function(){e.$slide.removeAttr("style").removeClass("fancybox-slide--next fancybox-slide--previous"),e.pos===c.currPos&&(o.isMoved=!1,c.complete())})})):c.$refs.stage.children().removeAttr("style"),o.isLoaded?c.revealContent(o):c.loadSlide(o),c.preload("image"),s.pos!==o.pos&&(l="fancybox-slide--"+(s.pos>o.pos?"next":"previous"),s.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous"),s.isComplete=!1,i&&(o.isMoved||o.opts.transitionEffect)&&(o.isMoved?s.$slide.addClass(l):(l="fancybox-animated "+l+" fancybox-fx-"+o.opts.transitionEffect,g.fancybox.animate(s.$slide,l,i,function(){s.$slide.removeClass(l).removeAttr("style")}))))}}},createSlide:function(t){var e,n,i=this;return n=(n=t%i.group.length)<0?i.group.length+n:n,!i.slides[t]&&i.group[n]&&(e=g('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[t]=g.extend(!0,{},i.group[n],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,n){var i,o,s,r,a,l=this,c=l.current,u=c.$content,d=g.fancybox.getTranslate(c.$slide).width,h=g.fancybox.getTranslate(c.$slide).height,p=c.width,f=c.height;!l.isAnimating&&u&&"image"==c.type&&c.isLoaded&&!c.hasError&&(g.fancybox.stop(u),l.isAnimating=!0,t=t===m?.5*d:t,e=e===m?.5*h:e,(i=g.fancybox.getTranslate(u)).top-=g.fancybox.getTranslate(c.$slide).top,i.left-=g.fancybox.getTranslate(c.$slide).left,r=p/i.width,a=f/i.height,o=.5*d-.5*p,s=.5*h-.5*f,d<p&&(0<(o=i.left*r-(t*r-t))&&(o=0),o<d-p&&(o=d-p)),h<f&&(0<(s=i.top*a-(e*a-e))&&(s=0),s<h-f&&(s=h-f)),l.updateCursor(p,f),g.fancybox.animate(u,{top:s,left:o,scaleX:r,scaleY:a},n||330,function(){l.isAnimating=!1}),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop())},scaleToFit:function(t){var e,n=this,i=n.current,o=i.$content;!n.isAnimating&&o&&"image"==i.type&&i.isLoaded&&!i.hasError&&(g.fancybox.stop(o),n.isAnimating=!0,e=n.getFitPos(i),n.updateCursor(e.width,e.height),g.fancybox.animate(o,{top:e.top,left
3:e.left,scaleX:e.width/o.width(),scaleY:e.height/o.height()},t||330,function(){n.isAnimating=!1}))},getFitPos:function(t){var e,n,i,o,s,r=t.$content,a=t.width||t.opts.width,l=t.height||t.opts.height,c={};return!!(t.isLoaded&&r&&r.length)&&(o={top:parseInt(t.$slide.css("paddingTop"),10),right:parseInt(t.$slide.css("paddingRight"),10),bottom:parseInt(t.$slide.css("paddingBottom"),10),left:parseInt(t.$slide.css("paddingLeft"),10)},e=parseInt(this.$refs.stage.width(),10)-(o.left+o.right),n=parseInt(this.$refs.stage.height(),10)-(o.top+o.bottom),a&&l||(a=e,l=n),i=Math.min(1,e/a,n/l),a=Math.floor(i*a),l=Math.floor(i*l),"image"===t.type?(c.top=Math.floor(.5*(n-l))+o.top,c.left=Math.floor(.5*(e-a))+o.left):"video"===t.contentType&&(a/(s=t.opts.width&&t.opts.height?a/l:t.opts.ratio||16/9)<l?l=a/s:l*s<a&&(a=l*s)),c.width=a,c.height=l,c)},update:function(){var n=this;g.each(n.slides,function(t,e){n.updateSlide(e)})},updateSlide:function(t,e){var n=this,i=t&&t.$content,o=t.width||t.opts.width,s=t.height||t.opts.height;i&&(o||s||"video"===t.contentType)&&!t.hasError&&(g.fancybox.stop(i),g.fancybox.setTranslate(i,n.getFitPos(t)),t.pos===n.currPos&&(n.isAnimating=!1,n.updateCursor())),t.$slide.trigger("refresh"),n.$refs.toolbar.toggleClass("compensate-for-scrollbar",t.$slide.get(0).scrollHeight>t.$slide.get(0).clientHeight),n.trigger("onUpdate",t)},centerSlide:function(t,e){var n,i;this.current&&(n=Math.round(t.$slide.width()),i=t.pos-this.current.pos,g.fancybox.animate(t.$slide,{top:0,left:i*n+i*t.opts.gutter,opacity:1},e===m?0:e,null,!1))},updateCursor:function(t,e){var n,i=this,o=i.current,s=i.$refs.container.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-drag fancybox-can-zoomOut");o&&!i.isClosing&&(n=i.isZoomable(),s.toggleClass("fancybox-is-zoomable",n),g("[data-fancybox-zoom]").prop("disabled",!n),n&&("zoom"===o.opts.clickContent||g.isFunction(o.opts.clickContent)&&"zoom"===o.opts.clickContent(o))?i.isScaledDown(t,e)?s.addClass("fancybox-can-zoomIn"):o.opts.touch?s.addClass("fancybox-can-drag"):s.addClass("fancybox-can-zoomOut"):o.opts.touch&&"video"!==o.contentType&&s.addClass("fancybox-can-drag"))},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 n=!1,i=this.current,o=i.$content;return t!==m&&e!==m?n=t<i.width&&e<i.height:o&&(n=(n=g.fancybox.getTranslate(o)).width<i.width&&n.height<i.height),n},canPan:function(){var t,e=!1,n=this.current;return"image"===n.type&&(t=n.$content)&&!n.hasError&&(e=this.getFitPos(n),e=1<Math.abs(t.width()-e.width)||1<Math.abs(t.height()-e.height)),e},loadSlide:function(n){var t,e,i,o=this;if(!n.isLoading&&!n.isLoaded){switch(n.isLoading=!0,o.trigger("beforeLoad",n),t=n.type,(e=n.$slide).off("refresh").trigger("onReset").addClass(n.opts.slideClass),t){case"image":o.setImage(n);break;case"iframe":o.setIframe(n);break;case"html":o.setContent(n,n.src||n.content);break;case"video":o.setContent(n,'<video class="fancybox-video" controls controlsList="nodownload"><source src="'+n.src+'" type="'+n.opts.videoFormat+"\">Your browser doesn't support HTML5 video</video");break;case"inline":g(n.src).length?o.setContent(n,g(n.src)):o.setError(n);break;case"ajax":o.showLoading(n),i=g.ajax(g.extend({},n.opts.ajax.settings,{url:n.src,success:function(t,e){"success"===e&&o.setContent(n,t)},error:function(t,e){t&&"abort"!==e&&o.setError(n)}})),e.one("onReset",function(){i.abort()});break;default:o.setError(n)}return!0}},setImage:function(e){var t,n,i,o,s,r=this,a=e.opts.srcset||e.opts.image.srcset;if(e.timouts=setTimeout(function(){var t=e.$image;!e.isLoading||t&&t[0].complete||e.hasError||r.showLoading(e)},350),a){o=u.devicePixelRatio||1,s=u.innerWidth*o,(i=a.split(",").map(function(t){var i={};return t.trim().split(/\s+/).forEach(function(t,e){var n=parseInt(t.substring(0,t.length-1),10);return 0===e?i.url=t:void(n&&(i.value=n,i.postfix=t[t.length-1]))}),i})).sort(function(t,e){return t.value-e.value});for(var l=0;l<i.length;l++){var c=i[l];if("w"===c.postfix&&c.value>=s||"x"===c.postfix&&c.value>=o){n=c;break}}!n&&i.length&&(n=i[i.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value),e.opts.srcset=a)}e.$content=g('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),t=e.opts.thumb||!(!e.opts.$thumb||!e.opts.$thumb.length)&&e.opts.$thumb.attr("src"),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&t&&(e.width=e.opts.width,e.height=e.opts.height,e.$ghost=g("<img />").one("error",function(){g(this).remove(),e.$ghost=null}).one("load",function(){r.afterLoad(e)}).addClass("fancybox-image").appendTo(e.$content).attr("src",t)),r.setBigImage(e)},setBigImage:function(e){var n=this,i=g("<img />");e.$image=i.one("error",function(){n.setError(e)}).one("load",function(){var t;
3e.$ghost||(n.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),n.afterLoad(e)),e.timouts&&(clearTimeout(e.timouts),e.timouts=null),n.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(1<e.width/e.height&&1<o.width()/o.height()?"100":Math.round(e.width/e.height*100))+"vw"),i.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout(function(){e.$ghost&&!n.isClosing&&e.$ghost.hide()},Math.min(300,Math.max(1e3,e.height/1600))),n.hideLoading(e))}).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(i[0].complete||"complete"==i[0].readyState)&&i[0].naturalWidth&&i[0].naturalHeight?i.trigger("load"):i[0].error&&i.trigger("error")},resolveImageSlideSize:function(t,e,n){var i=parseInt(t.opts.width,10),o=parseInt(t.opts.height,10);t.width=e,t.height=n,0<i&&(t.width=i,t.height=Math.floor(i*n/e)),0<o&&(t.width=Math.floor(o*e/n),t.height=o)},setIframe:function(o){var s,e=this,r=o.opts.iframe,t=o.$slide;o.$content=g('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(t),t.addClass("fancybox-slide--"+o.contentType),o.$iframe=s=g(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(o.$content),r.preload?(e.showLoading(o),s.on("load.fb error.fb",function(t){this.isReady=1,o.$slide.trigger("refresh"),e.afterLoad(o)}),t.on("refresh.fb",function(){var t,e=o.$content,n=r.css.width,i=r.css.height;if(1===s[0].isReady){try{t=s.contents().find("body")}catch(t){}t&&t.length&&t.children().length&&(e.css({width:"",height:""}),n===m&&(n=Math.ceil(Math.max(t[0].clientWidth,t.outerWidth(!0)))),n&&e.width(n),i===m&&(i=Math.ceil(Math.max(t[0].clientHeight,t.outerHeight(!0)))),i&&e.height(i)),e.removeClass("fancybox-is-hidden")}})):this.afterLoad(o),s.attr("src",o.src),t.one("onReset",function(){try{g(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}g(this).off("refresh.fb").empty(),o.isLoaded=!1})},setContent:function(t,e){var n;this.isClosing||(this.hideLoading(t),t.$content&&g.fancybox.stop(t.$content),t.$slide.empty(),(n=e)&&n.hasOwnProperty&&n instanceof g&&e.parent().length?(e.parent().parent(".fancybox-slide--inline").trigger("onReset"),t.$placeholder=g("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===g.type(e)&&(3===(e=g("<div>").append(g.trim(e)).contents())[0].nodeType&&(e=g("<div>").html(e))),t.opts.filter&&(e=g("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){g(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(g(this).empty(),t.isLoaded=!1)}),g(e).appendTo(t.$slide),g(e).is("video,audio")&&(g(e).addClass("fancybox-video"),g(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||g(e).attr("width"),t.opts.height=t.opts.height||g(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio").first().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=g(this.translate(this,this.opts.spinnerTpl)).appendTo(t.$slide))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),t.pos===e.currPos&&e.updateCursor(),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=g(e.translate(t,t.opts.btnTpl.smallBtn)).prependTo(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&&g('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.revealContent(t))},revealContent:function(e){var t,n,i,o,s=this,r=e.$slide,a=!1,l=!1;return t=e.opts[s.firstRun?"animationEffect":"transitionEffect"],i=e.opts[s.firstRun?"animationDuration":"transitionDuration"],i=parseInt(e.forcedDuration===m?i:e.forcedDuration,10),e.pos===s.currPos&&(e.isComplete?t=!1:s.isAnimating=!0),!e.isMoved&&e.pos===s.currPos&&i||(t=!1),"zoom"===t&&(e.pos===s.currPos&&i&&"image"===e.type&&!e.hasError&&(l=s.getThumbPos(e))?a=s.getFitPos(e):t="fade"),"zoom"===t?(a.scaleX=a.width/l.width,a.scaleY=a.height/l.height,"auto"==(o=e.opts.zoomOpacity)&&(o=.1<Math.abs(e.width/e.height-l.width/l.height)),o&&(l.opacity=.1,a.opacity=1),g.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),l),f(e.$content),void g.fancybox.animate(e.$content,a,i,function(){s.isA
3nimating=!1,s.complete()})):(s.updateSlide(e),t?(g.fancybox.stop(r),n="fancybox-animated fancybox-slide--"+(e.pos>=s.prevPos?"next":"previous")+" fancybox-fx-"+t,r.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(n),e.$content.removeClass("fancybox-is-hidden"),f(r),void g.fancybox.animate(r,"fancybox-slide--current",i,function(t){r.removeClass(n).removeAttr("style"),e.pos===s.currPos&&s.complete()},!0)):(f(r),e.$content.removeClass("fancybox-is-hidden"),void(e.pos===s.currPos&&s.complete())))},getThumbPos:function(t){var e,n=!1,i=t.opts.$thumb,o=i&&i.length&&i[0].ownerDocument===r?i.offset():0;return o&&function(t){for(var e=t[0],i=e.getBoundingClientRect(),n=[];null!==e.parentElement;)"hidden"!==g(e.parentElement).css("overflow")&&"auto"!==g(e.parentElement).css("overflow")||n.push(e.parentElement.getBoundingClientRect()),e=e.parentElement;return n.every(function(t){var e=Math.min(i.right,t.right)-Math.max(i.left,t.left),n=Math.min(i.bottom,t.bottom)-Math.max(i.top,t.top);return 0<e&&0<n})&&0<i.bottom&&0<i.right&&i.left<g(u).width()&&i.top<g(u).height()}(i)&&(e=this.$refs.stage.offset(),n={top:o.top-e.top+parseFloat(i.css("border-top-width")||0),left:o.left-e.left+parseFloat(i.css("border-left-width")||0),width:i.width(),height:i.height(),scaleX:1,scaleY:1}),n},complete:function(){var n=this,t=n.current,i={};!t.isMoved&&t.isLoaded&&(t.isComplete||(t.isComplete=!0,t.$slide.siblings().trigger("onReset"),n.preload("inline"),f(t.$slide),t.$slide.addClass("fancybox-slide--complete"),g.each(n.slides,function(t,e){e.pos>=n.currPos-1&&e.pos<=n.currPos+1?i[e.pos]=e:e&&(g.fancybox.stop(e.$slide),e.$slide.off().remove())}),n.slides=i),n.isAnimating=!1,n.updateCursor(),n.trigger("afterShow"),t.$slide.find("video,audio").filter(":visible:first").trigger("play"),(g(r.activeElement).is("[disabled]")||t.opts.autoFocus&&"image"!=t.type&&"iframe"!==t.type)&&n.focus())},preload:function(t){var e=this,n=e.slides[e.currPos+1],i=e.slides[e.currPos-1];n&&n.type===t&&e.loadSlide(n),i&&i.type===t&&e.loadSlide(i)},focus:function(){var t,e=this.current;this.isClosing||e&&e.isComplete&&e.$content&&((t=e.$content.find("input[autofocus]:enabled:visible:first")).length||(t=e.$content.find("button,:input,[tabindex],a").filter(":enabled:visible:first")),(t=t&&t.length?t:e.$content).trigger("focus"))},activate:function(){var e=this;g(".fancybox-container").each(function(){var t=g(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){var n,i,o,s,r,a,l,c=this,u=c.current,d=function(){c.cleanUp(t)};return!c.isClosing&&(!(c.isClosing=!0)===c.trigger("beforeClose",t)?(c.isClosing=!1,h(function(){c.update()}),!1):(c.removeEvents(),u.timouts&&clearTimeout(u.timouts),o=u.$content,n=u.opts.animationEffect,i=g.isNumeric(e)?e:n?u.opts.animationDuration:0,u.$slide.off(p).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),u.$slide.siblings().trigger("onReset").remove(),i&&c.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing"),c.hideLoading(u),c.hideControls(),c.updateCursor(),"zoom"!==n||!0!==t&&o&&i&&"image"===u.type&&!u.hasError&&(l=c.getThumbPos(u))||(n="fade"),"zoom"===n?(g.fancybox.stop(o),a={top:(s=g.fancybox.getTranslate(o)).top,left:s.left,scaleX:s.width/l.width,scaleY:s.height/l.height,width:l.width,height:l.height},"auto"==(r=u.opts.zoomOpacity)&&(r=.1<Math.abs(u.width/u.height-l.width/l.height)),r&&(l.opacity=0),g.fancybox.setTranslate(o,a),f(o),g.fancybox.animate(o,l,i,d)):n&&i?!0===t?setTimeout(d,i):g.fancybox.animate(u.$slide.removeClass("fancybox-slide--current"),"fancybox-animated fancybox-slide--previous fancybox-fx-"+n,i,d):d(),!0))},cleanUp:function(t){var e,n=this,i=g("body");n.current.$slide.trigger("onReset"),n.$refs.container.empty().remove(),n.trigger("afterClose",t),n.$lastFocus&&n.current.opts.backFocus&&n.$lastFocus.trigger("focus"),n.current=null,(e=g.fancybox.getInstance())?e.activate():(i.removeClass("fancybox-active compensate-for-scrollbar"),g("#fancybox-style-noscroll").remove())},trigger:function(t,e){var n,i=Array.prototype.slice.call(arguments,1
3),o=this,s=e&&e.opts?e:o.current;return s?i.unshift(s):s=o,i.unshift(o),g.isFunction(s.opts[t])&&(n=s.opts[t].apply(s,i)),!1===n?n:void("afterClose"!==t&&o.$refs?o.$refs.container.trigger(t+".fb",i):a.trigger(t+".fb",i))},updateControls:function(t){var e=this,n=e.current,i=n.index,o=n.opts.caption,s=e.$refs.container,r=e.$refs.caption;n.$slide.trigger("refresh"),e.$caption=o&&o.length?r.html(o):null,e.isHiddenControls||e.isIdle||e.showControls(),s.find("[data-fancybox-count]").html(e.group.length),s.find("[data-fancybox-index]").html(i+1),s.find("[data-fancybox-prev]").toggleClass("disabled",!n.opts.loop&&i<=0),s.find("[data-fancybox-next]").toggleClass("disabled",!n.opts.loop&&i>=e.group.length-1),"image"===n.type?s.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",n.opts.image.src||n.src).show():n.opts.toolbar&&s.find("[data-fancybox-download],[data-fancybox-zoom]").hide()},hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.isHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&1<t.group.length)).toggleClass("fancybox-show-nav",!!(e.arrows&&1<t.group.length)).toggleClass("fancybox-is-modal",!!e.modal),t.$caption?n.addClass("fancybox-show-caption "):n.removeClass("fancybox-show-caption")},toggleControls:function(){this.isHiddenControls?this.showControls():this.hideControls()}}),g.fancybox={version:"3.3.5",defaults:t,getInstance:function(t){var e=g('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),n=Array.prototype.slice.call(arguments,1);return e instanceof i&&("string"===g.type(t)?e[t].apply(e,n):"function"===g.type(t)&&t.apply(e,n),e)},open:function(t,e,n){return new i(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close())},destroy:function(){this.close(!0),a.add("body").off("click.fb-start","**")},isMobile:r.createTouch!==m&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(e=r.createElement("div"),u.getComputedStyle&&u.getComputedStyle(e)&&u.getComputedStyle(e).getPropertyValue("transform")&&!(r.documentMode&&r.documentMode<11)),getTranslate:function(t){var e;return!(!t||!t.length)&&{top:(e=t[0].getBoundingClientRect()).top||0,left
3:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))}},setTranslate:function(t,e){var n="",i={};if(t&&e)return e.left===m&&e.top===m||(n=(e.left===m?t.position().left:e.left)+"px, "+(e.top===m?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),e.scaleX!==m&&e.scaleY!==m&&(n=(n.length?n+" ":"")+"scale("+e.scaleX+", "+e.scaleY+")"),n.length&&(i.transform=n),e.opacity!==m&&(i.opacity=e.opacity),e.width!==m&&(i.width=e.width),e.height!==m&&(i.height=e.height),t.css(i)},animate:function(e,n,t,i,o){var s=!1;g.isFunction(t)&&(i=t,t=null),g.isPlainObject(n)||e.removeAttr("style"),g.fancybox.stop(e),e.on(p,function(t){(!t||!t.originalEvent||e.is(t.originalEvent.target)&&"z-index"!=t.originalEvent.propertyName)&&(g.fancybox.stop(e),s&&g.fancybox.setTranslate(e,s),g.isPlainObject(n)?!1===o&&e.removeAttr("style"):!0!==o&&e.removeClass(n),g.isFunction(i)&&i(t))}),g.isNumeric(t)&&e.css("transition-duration",t+"ms"),g.isPlainObject(n)?(n.scaleX!==m&&n.scaleY!==m&&(s=g.extend({},n,{width:e.width()*n.scaleX,height:e.height()*n.scaleY,scaleX:1,scaleY:1}),delete n.width,delete n.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),g.fancybox.setTranslate(e,n)):e.addClass(n),e.data("timer",setTimeout(function(){e.trigger("transitionend")},t+16))},stop:function(t){t&&t.length&&(clearTimeout(t.data("timer")),t.off("transitionend").css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},g.fn.fancybox=function(t){var e;return(e=(t=t||{}).selector||!1)?g("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},n):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},n),this},a.on("click.fb-start","[data-fancybox]",n),a.on("click.fb-start","[data-trigger]",function(t){n(t,{$target:g('[data-fancybox="'+g(t.currentTarget).attr("data-trigger")+'"]').eq(g(t.currentTarget).attr("data-index")||0),$trigger:g(this)})})}var e}(window,document,window.jQuery||jQuery),function(p){"use strict";var f=function(n,t,e){if(n)return e=e||"","object"===p.type(e)&&(e=p.param(e,!0)),p.each(t,function(t,e){n=n.replace("$"+t,e||"")}),e.length&&(n+=(0<n.indexOf("?")?"&":"?")+e),n},i={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:"//www.youtube.com/embed/$4",thumb:"//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,api: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,o){var n,s,r,a,l,c,u,d=o.src||"",h=!1;n=p.extend(!0,{},i,o.opts.media),p.each(n,function(t,e){if(r=d.match(e.matcher)){if(h=e.type,u=t,c={},e.paramPlace&&r[e.paramPlace]){"?"==(l=r[e.paramPlace])[0]&&(l=l.substring(1)),l=l.split("&");for(var n=0;n<l.length;++n){var i=l[n].split("=",2);2==i.length&&(c[i[0]]=decodeURIComponent(i[1].replace(/\+/g," ")))}}return a=p.extend(!0,{},e.params,o.opts[t],c),d="function"===p.type(e.url)?e.url.call(this,r,a,o):f(e.url,r,a),s="function"===p.type(e.thumb)?e.thumb.call(this,r,a,o):f(e.thumb,r),"youtube"===t?d=d.replace(/&t=((\d+)m)?(\d+)s/,function(t,e,n,i){return"&start="+((n?60*parseInt(n,10):0)+parseInt(i,10))}):"vimeo"===t&&(d=d.replace("&%23","#")),!1}}),h?(o.opts.thumb||o.opts.$thumb&&o.opts.$thumb.length||(o.opts.thumb=s),"iframe"===h&&(o.opts=p.extend(!0,o.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),p.extend(o,{type:h,src:d,origSrc:o.src,contentSource:u,contentType:"image"===h?"image":"gmap_place"==u||"gmap_search"==u?"map":"video"})):d&&(o.type=o.opts.defaultType)})}(window.jQuery||jQuery),function(g,a,m){"use strict";var v=g.requestAnimationFrame||g.webkitRequestAnimationFrame||g.mozRequestAnimationFrame||g.oRequestAnimationFrame||function(t){return g.setTimeout(t,1e3/60)},y=g.cancelAnimationFrame||g.webkitCancelAnimationFrame||g.mozCancelAnimationFrame||g.oCancelAnimationFrame||function(t){g.clearTimeout(t)},u=function(t){var e=[];for(var n in t=(t=t.originalEvent||t||g.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[n].pageX?e.push({x:t[n].pageX,y:t[n].pageY}):t[n].clientX&&e.push({x:t[n].clientX,y:t[n].clientY});return e},b=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},l=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio')||m.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,n=t[0].attributes,i=n.length;e<i;e++)if("data-fancybox-"===n[e].nodeName.substr(0,14))return!0;return!1},c=function(t){for(var e=!1;(n=t.get(0),void 0,i=g.getComputedStyle(n)["overflow-y"],o=g.getComputedStyle(n)["overflow-x"],s=("scroll"===i||"auto"===i)&&n.scrollHeight>n.clientHeight,r=("scroll"===o||"auto"===o)&&n.scrollWidth>n.clientWidth,!(e=s||r))&&((t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body")););var n,i,o,s,r;return e},n=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",m.proxy(e,"ontouchstart"))};n.prototype.destroy=function(){this.$container.off(".fb.touch")},n.prototype.ontouchstart=function(t){var e=this,n=m(t.target),i=e.instance,o=i.current,s=o.$content,r="touchstart"==t.type;if(r&&e.$container.off("mousedown.fb.touch"),(!t.originalEvent||2!=t.originalEvent.button)&&n.length&&!l(n)&&!l(n.parent())&&(n.is("img")||!(t.originalEvent.clientX>n[0].clientWidth+n.offset().left))){if(!o||i.isAnimating||i.isClosing)return t.stopPropagation(),void t.preventDefault();if(e.realPoints=e.startPoints=u(t),e.startPoints.length){if(t.stopPropagation(),e.startEvent=t,e.canTap=!0,e.$target=n,e.$content=s,e.opts=o.opts.touch,e.isPanning=!1,e.isSwiping=!1,e.isZooming=!1,e.isScrolling=!1,e.startTime=(new Date).getTime(),e.distanceX=e.distanceY=e.distance=0,e.canvasWidth=Math.round(o.$slide[0].clientWidth),e.canvasHeight=Math.round(o.$slide[0].clientHeight),e.contentLastPos=null,e.contentStartPos=m.fancybox.getTranslate(e.$content)||{top:0,left:0},e.sliderStartPos=e.sliderLastPos||m.fancybox.getTranslate(o.$slide),e.stagePos=m.fancybox.getTranslate(i.$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,m(a).off(".fb.touch").on(r?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",m.proxy(e,"ontouchend")).on(r?"touchmove.fb.touch":"mousemove.fb.touch",m.proxy(e,"ontouchmove")),m.fancybox.isMobile&&a.addEventListener("scroll",e.onscroll,!0),!e.opts&&!i.canPan()||!n.is(e.$stage)&&!e.$stage.find(n).length)return void(n.is(".fancybox-image")&&t.preventDefault());m.fancybox.isMobile&&(c(n)||c(n.parent()))||t.preventDefault(),(1===e.startPoints.length||o.hasError)&&(e.instance.canPan()?(m.fancybox.stop(e.$content),e.$content.css("transition-duration",""),e.isPanning=!0):e.isSwiping=!0,e.$container.addClass("fancybox-controls--isGrabbing")),2===e.startPoints.length&&"image"===o.type&&(o.isLoaded||o.$ghost)&&(e.canTap=!1,e.isSwiping=!1,e.isPanning=!1,e.isZooming=!0,m.fancybox.stop(e.$content),e.$content.css("transition-duration",""),e.centerPointStartX=.5*(e.startPoints[0].x+e.startPoints[1].x)-m(g).scrollLeft(),e.centerPointStartY=.5*(e.startPoints[0].y+e.startPoints[1].y)-m(g).scrollTop(),e.percentageOfImageAtPinchPointX=(e.centerPointStartX-e.contentStartPos.left)/e.contentStartPos.width,e.percentageOfImageAtPinchPointY=(e.centerPointStartY-e.contentStartPos.top)/e.contentStartPos.height,e.startDistanceBetweenFingers=b(e.startPoints[0],e.startPoints[1]))}}},n.prototype.onscroll=function(t){this.isScrolling=!0,a.removeEventListener("scroll",this.onscroll,!0)},n.prototype.ontouchmove=function(t){var e=this,n=m(t.target);return void 0!==t.originalEvent.buttons&&0===t.originalEvent.buttons?void e.ontouchend(t):e.isScrolling||!n.is(e.$stage)&&!e.$stage.find(n).length?void(e.canTap=!1):(e.newPoints=u(t),void((e.opts||e.instance.canPan())&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=b(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=b(e.newPoints[0],e.startPoints[0],"y"),e.distance=b(e.newPoints[0],e.startPoints[0]),0<e.distance&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))))},n.prototype.onSwipe=function(t){var e,i=this,n=i.isSwiping,o=i.sliderStartPos.left||0;if(!0!==n)"x"==n&&(0<i.distanceX&&(i.instance.group.length<2||0===i.instance.current.index&&!i.instance.current.opts.loop)?o+=Math.pow(i.distanceX,.8):i.distanceX<0&&(i.instance.group.length<2||i.instance.current.index===i.instance.group.length-1&&!i.instance.current.opts.loop)?o-=Math.pow(-i.distanceX,.8):o+=i.distanceX),i.sliderLastPos={top:"x"==n?0:i.sliderStartPos.top+i.distanceY,left:o},i.requestId&&(y(i.requestId),i.requestId=null),i.requestId=v(function(){i.sliderLastPos&&(m.each(i.instance.slides,function(t,e){var n=e.pos-i.instance.currPos;
3m.fancybox.setTranslate(e.$slide,{top:i.sliderLastPos.top,left:i.sliderLastPos.left+n*i.canvasWidth+n*e.opts.gutter})}),i.$container.addClass("fancybox-is-sliding"))});else if(10<Math.abs(i.distance)){if(i.canTap=!1,i.instance.group.length<2&&i.opts.vertical?i.isSwiping="y":i.instance.isDragging||!1===i.opts.vertical||"auto"===i.opts.vertical&&800<m(g).width()?i.isSwiping="x":(e=Math.abs(180*Math.atan2(i.distanceY,i.distanceX)/Math.PI),i.isSwiping=45<e&&e<135?"y":"x"),i.canTap=!1,"y"===i.isSwiping&&m.fancybox.isMobile&&(c(i.$target)||c(i.$target.parent())))return void(i.isScrolling=!0);i.instance.isDragging=i.isSwiping,i.startPoints=i.newPoints,m.each(i.instance.slides,function(t,e){m.fancybox.stop(e.$slide),e.$slide.css("transition-duration",""),e.inTransition=!1,e.pos===i.instance.current.pos&&(i.sliderStartPos.left=m.fancybox.getTranslate(e.$slide).left-m.fancybox.getTranslate(i.instance.$refs.stage).left)}),i.instance.SlideShow&&i.instance.SlideShow.isActive&&i.instance.SlideShow.stop()}},n.prototype.onPan=function(){var t=this;return b(t.newPoints[0],t.realPoints[0])<(m.fancybox.isMobile?10:5)?void(t.startPoints=t.newPoints):(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&(y(t.requestId),t.requestId=null),void(t.requestId=v(function(){m.fancybox.setTranslate(t.$content,t.contentLastPos)})))},n.prototype.limitMovement=function(){var t,e,n,i,o,s,r=this,a=r.canvasWidth,l=r.canvasHeight,c=r.distanceX,u=r.distanceY,d=r.contentStartPos,h=d.left,p=d.top,f=d.width,g=d.height;return o=a<f?h+c:h,s=p+u,t=Math.max(0,.5*a-.5*f),e=Math.max(0,.5*l-.5*g),n=Math.min(a-f,.5*a-.5*f),i=Math.min(l-g,.5*l-.5*g),0<c&&t<o&&(o=t-1+Math.pow(-t+h+c,.8)||0),c<0&&o<n&&(o=n+1-Math.pow(n-h-c,.8)||0),0<u&&e<s&&(s=e-1+Math.pow(-e+p+u,.8)||0),u<0&&s<i&&(s=i+1-Math.pow(i-p-u,.8)||0),{top:s,left:o}},n.prototype.limitPosition=function(t,e,n,i){var o=this.canvasWidth,s=this.canvasHeight;return o<n?t=(t=0<t?0:t)<o-n?o-n:t:t=Math.max(0,o/2-n/2),s<i?e=(e=0<e?0:e)<s-i?s-i:e:e=Math.max(0,s/2-i/2),{top:e,left:t}},n.prototype.onZoom=function(){var t=this,e=t.contentStartPos,n=e.width,i=e.height,o=e.left,s=e.top,r=b(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,a=Math.floor(n*r),l=Math.floor(i*r),c=(n-a)*t.percentageOfImageAtPinchPointX,u=(i-l)*t.percentageOfImageAtPinchPointY,d=(t.newPoints[0].x+t.newPoints[1].x)/2-m(g).scrollLeft(),h=(t.newPoints[0].y+t.newPoints[1].y)/2-m(g).scrollTop(),p=d-t.centerPointStartX,f={top:s+(u+(h-t.centerPointStartY)),left:o+(c+p),scaleX:r,scaleY:r};t.canTap=!1,t.newWidth=a,t.newHeight=l,t.contentLastPos=f,t.requestId&&(y(t.requestId),t.requestId=null),t.requestId=v(function(){m.fancybox.setTranslate(t.$content,t.contentLastPos)})},n.prototype.ontouchend=function(t){var e=this,n=Math.max((new Date).getTime()-e.startTime,1),i=e.isSwiping,o=e.isPanning,s=e.isZooming,r=e.isScrolling;return e.endPoints=u(t),e.$container.removeClass("fancybox-controls--isGrabbing"),m(a).off(".fb.touch"),a.removeEventListener("scroll",e.onscroll,!0),e.requestId&&(y(e.requestId),e.requestId=null),e.isSwiping=!1,e.isPanning=!1,e.isZooming=!1,e.isScrolling=!1,e.instance.isDragging=!1,e.canTap?e.onTap(t):(e.speed=366,e.velocityX=e.distanceX/n*.5,e.velocityY=e.distanceY/n*.5,e.speedX=Math.max(.5*e.speed,Math.min(1.5*e.speed,1/Math.abs(e.velocityX)*e.speed)),void(o?e.endPanning():s?e.endZooming():e.endSwiping(i,r)))},n.prototype.endSwiping=function(t,e){var n=this,i=!1,o=n.instance.group.length;n.sliderLastPos=null,"y"==t&&!e&&50<Math.abs(n.distanceY)?(m.fancybox.animate(n.instance.current.$slide,{top:n.sliderStartPos.top+n.distanceY+150*n.velocityY,opacity:0},200),i=n.instance.close(!0,200)):"x"==t&&50<n.distanceX&&1<o?i=n.instance.previous(n.speedX):"x"==t&&n.distanceX<-50&&1<o&&(i=n.instance.next(n.speedX)),!1!==i||"x"!=t&&"y"!=t||(e||o<2?n.instance.centerSlide(n.instance.current,150):n.instance.jumpTo(n.instance.current.index)),n.$container.removeClass("fancybox-is-sliding")},n.prototype.endPanning=function(){var t,e,n,i=this;i.contentLastPos&&(!1===i.opts.momentum?(t=i.contentLastPos.left,e=i.contentLastPos.top):(t=i.contentLastPos.left+i.velocityX*i.speed,e=i.contentLastPos.top+i.velocityY*i.speed),(n=i.limitPosition(t,e,
3i.contentStartPos.width,i.contentStartPos.height)).width=i.contentStartPos.width,n.height=i.contentStartPos.height,m.fancybox.animate(i.$content,n,330))},n.prototype.endZooming=function(){var t,e,n,i,o=this,s=o.instance.current,r=o.newWidth,a=o.newHeight;o.contentLastPos&&(t=o.contentLastPos.left,i={top:e=o.contentLastPos.top,left:t,width:r,height:a,scaleX:1,scaleY:1},m.fancybox.setTranslate(o.$content,i),r<o.canvasWidth&&a<o.canvasHeight?o.instance.scaleToFit(150):r>s.width||a>s.height?o.instance.scaleToActual(o.centerPointStartX,o.centerPointStartY,150):(n=o.limitPosition(t,e,r,a),m.fancybox.setTranslate(o.$content,m.fancybox.getTranslate(o.$content)),m.fancybox.animate(o.$content,n,150)))},n.prototype.onTap=function(n){var t,i=this,e=m(n.target),o=i.instance,s=o.current,r=n&&u(n)||i.startPoints,a=r[0]?r[0].x-m(g).scrollLeft()-i.stagePos.left:0,l=r[0]?r[0].y-m(g).scrollTop()-i.stagePos.top:0,c=function(t){var e=s.opts[t];if(m.isFunction(e)&&(e=e.apply(o,[s,n])),e)switch(e){case"close":o.close(i.startEvent);break;case"toggleControls":o.toggleControls(!0);break;case"next":o.next();break;case"nextOrClose":1<o.group.length?o.next():o.close(i.startEvent);break;case"zoom":"image"==s.type&&(s.isLoaded||s.$ghost)&&(o.canPan()?o.scaleToFit():o.isScaledDown()?o.scaleToActual(a,l):o.group.length<2&&o.close(i.startEvent))}};if((!n.originalEvent||2!=n.originalEvent.button)&&(e.is("img")||!(a>e[0].clientWidth+e.offset().left))){if(e.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))t="Outside";else if(e.is(".fancybox-slide"))t="Slide";else{if(!o.current.$content||!o.current.$content.find(e).addBack().filter(e).length)return;t="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,50<Math.abs(a-i.tapX)||50<Math.abs(l-i.tapY))return this;c("dblclick"+t)}else i.tapX=a,i.tapY=l,s.opts["dblclick"+t]&&s.opts["dblclick"+t]!==s.opts["click"+t]?i.tapped=setTimeout(function(){i.tapped=null,c("click"+t)},500):c("click"+t);return this}},m(a).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new n(e))})}(window,document,window.jQuery||jQuery),function(r,a){"use strict";a.extend(!0,a.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg viewBox="0 0 40 40"><path d="M13,12 L27,20 L13,27 Z" /><path d="M15,10 v19 M23,10 v19" /></svg></button>'},slideShow:{autoStart:!1,speed:3e3}});var n=function(t){this.instance=t,this.init()};a.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this;t.$button=t.instance.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),(t.instance.group.length<2||!t.instance.group[t.instance.currIndex].opts.slideShow)&&t.$button.hide()},set:function(t){var e=this;e.instance&&e.instance.current&&(!0===t||e.instance.current.opts.loop||e.instance.currIndex<e.instance.group.length-1)?e.timer=setTimeout(function(){e.isActive&&e.instance.jumpTo((e.instance.currIndex+1)%e.instance.group.length)},e.instance.current.opts.slideShow.speed):(e.stop(),e.instance.idleSecondsCounter=0,e.instance.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null},start:function(){var t=this.instance.current;t&&(this.isActive=!0,this.$button.attr("title",t.opts.i18n[t.opts.lang].PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),this.set(!0))},stop:function(){var t=this.instance.current;this.clear(),this.$button.attr("title",t.opts.i18n[t.opts.lang].PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),this.isActive=!1},toggle:function(){this.isActive?this.stop():this.start()}}),a(r).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,i){var o=e&&e.SlideShow;i?o&&n.opts.slideShow.autoStart&&o.start():o&&o.isActive&&o.clear()},"afterShow.fb":function(t,e,n){var i=e&&e.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(t,e,n,i,o){var s=e&&e.SlideShow;!s||!n.opts.slideShow||80!==o&&32!==o||a(r.activeElement).is("button,a,input")||(i.preventDefault(),s.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),a(r).on("visibilitychange",function(){var t=a.fancybox.getInstance(),e=t&&t.SlideShow;
3e&&e.isActive&&(r.hidden?e.clear():e.set())})}(document,window.jQuery||jQuery),function(s,n){"use strict";var e=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={},n=0;n<t.length;n++){var i=t[n];if(i&&i[1]in s){for(var o=0;o<i.length;o++)e[t[0][o]]=i[o];return e}}return!1}();if(e){var i={request:function(t){(t=t||s.documentElement)[e.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){s[e.exitFullscreen]()},toggle:function(t){t=t||s.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(s[e.fullscreenElement])},enabled:function(){return Boolean(s[e.fullscreenEnabled])}};n.extend(!0,n.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="{{FULL_SCREEN}}"><svg viewBox="0 0 40 40"><path d="M9,12 v16 h22 v-16 h-22 v8" /></svg></button>'},fullScreen:{autoStart:!1}}),n(s).on({"onInit.fb":function(t,e){e&&e.group[e.currIndex].opts.fullScreen?(e.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),i.toggle()}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&i.request(),e.FullScreen=i):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(t,e,n,i,o){e&&e.FullScreen&&70===o&&(i.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&i.exit()}}),n(s).on(e.fullscreenchange,function(){var t=i.isFullscreen(),e=n.fancybox.getInstance();e&&(e.current&&"image"===e.current.type&&e.isAnimating&&(e.current.$content.css("transition","none"),e.isAnimating=!1,e.update(!0,!0,0)),e.trigger("onFullscreenChange",t),e.$refs.container.toggleClass("fancybox-is-fullscreen",t))})}else n&&n.fancybox&&(n.fancybox.defaults.btnTpl.fullScreen=!1)}(document,window.jQuery||jQuery),function(t,s){"use strict";var r="fancybox-thumbs",a=r+"-active";s.fancybox.defaults=s.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg viewBox="0 0 120 120"><path d="M30,30 h14 v14 h-14 Z M50,30 h14 v14 h-14 Z M70,30 h14 v14 h-14 Z M30,50 h14 v14 h-14 Z M50,50 h14 v14 h-14 Z M70,50 h14 v14 h-14 Z M30,70 h14 v14 h-14 Z M50,70 h14 v14 h-14 Z M70,70 h14 v14 h-14 Z" /></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},s.fancybox.defaults);var i=function(t){this.init(t)};s.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e,n,i=this;((i.instance=t).Thumbs=i).opts=t.group[t.currIndex].opts.thumbs,e=(e=t.group[0]).opts.thumb||!(!e.opts.$thumb||!e.opts.$thumb.length)&&e.opts.$thumb.attr("src"),1<t.group.length&&(n=(n=t.group[1]).opts.thumb||!(!n.opts.$thumb||!n.opts.$thumb.length)&&n.opts.$thumb.attr("src")),i.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]"),i.opts&&e&&n&&e&&n?(i.$button.show().on("click",function(){i.toggle()}),i.isActive=!0):i.$button.hide()},create:function(){var n,t=this,e=t.instance,i=t.opts.parentEl,o=[];t.$grid||(t.$grid=s('<div class="'+r+" "+r+"-"+t.opts.axis+'"></div>').appendTo(e.$refs.container.find(i).addBack().filter(i)),t.$grid.on("click","li",function(){e.jumpTo(s(this).attr("data-index"))})),t.$list||(t.$list=s("<ul>").appendTo(t.$grid)),s.each(e.group,function(t,e){(n=e.opts.thumb||(e.opts.$thumb?e.opts.$thumb.attr("src"):null))||"image"!==e.type||(n=e.src),o.push('<li data-index="'+t+'" tabindex="0" class="fancybox-thumbs-loading"'+(n&&n.length?' style="background-image:url('+n+')" />':"")+"></li>")}),t.$list[0].innerHTML=o.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,n,i=this,o=i.$list,s=i.$grid;i.instance.current&&(n=(e=o.children().removeClass(a).filter('[data-index="'+i.instance.current.index+'"]').addClass(a)).position(),"y"===i.opts.axis&&(n.top<0||n.top>o.height()-e.outerHeight())?o.stop().animate({scrollTop:o.scrollTop()+n.top},t):"x"===i.opts.axis&&(n.left<s.scrollLeft()||n.left>s.scrollLeft()+(s.width()-e.outerWidth()))&&o.parent().stop().animate({scrollLeft:n.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focu
3s(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),s(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&((n=new i(e)).isActive&&!0===n.opts.autoStart&&n.show())},"beforeShow.fb":function(t,e,n,i){var o=e&&e.Thumbs;o&&o.isVisible&&o.focus(i?0:250)},"afterKeydown.fb":function(t,e,n,i,o){var s=e&&e.Thumbs;s&&s.isActive&&71===o&&(i.preventDefault(),s.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,window.jQuery||jQuery),function(t,r){"use strict";r.extend(!0,r.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg viewBox="0 0 40 40"><path d="M6,30 C8,18 19,16 23,16 L23,16 L23,10 L33,20 L23,29 L23,24 C19,24 8,27 6,30 Z"></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}}" /></p></div>'}}),r(t).on("click","[data-fancybox-share]",function(){var t,e,n,i,o=r.fancybox.getInstance(),s=o.current||null;s&&("function"===r.type(s.opts.share.url)&&(t=s.opts.share.url.apply(s,[o,s])),e=s.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===s.type?encodeURIComponent(s.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,(n=t,i={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},String(n).replace(/[&<>"'`=\/]/g,function(t){return i[t]}))).replace(/\{\{descr\}\}/g,o.$caption?encodeURIComponent(o.$caption.text()):""),r.fancybox.open({src:o.translate(o,e),type:"html",opts:{animationEffect:!1,afterLoad:function(t,e){o.$refs.container.one("beforeClose.fb",function(){t.close(null,0)}),e.$content.find(".fancybox-share__links a").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})}}}))})}(document,window.jQuery||jQuery),function(s,r,o){"use strict";function a(){var t=r.location.hash.substr(1),e=t.split("-"),n=1<e.length&&/^\+?\d+$/.test(e[e.length-1])&&parseInt(e.pop(-1),10)||1;return{hash:t,index:n<1?1:n,gallery:e.join("-")}}function e(t){""!==t.gallery&&o("[data-fancybox='"+o.escapeSelector(t.gallery)+"']").eq(t.index-1).trigger("click.fb-start")}function l(t){var e,n;return!!t&&(""!==(n=(e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox"):""))&&n)}o.escapeSelector||(o.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})}),o(function(){!1!==o.fancybox.defaults.hash&&(o(s).on({"onInit.fb":function(t,e){var n,i;!1!==e.group[e.currIndex].opts.hash&&(n=a(),(i=l(e))&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(t,e,n,i){var o;n&&!1!==n.opts.hash&&((o=l(e))&&(e.currentHash=o+(1<e.group.length?"-"+(n.index+1):""),r.location.hash!=="#"+e.currentHash&&(e.origHash||(e.origHash=r.location.hash),e.hashTimer&&clearTimeout(e.hashTimer),e.hashTimer=setTimeout(function(){"replaceState"in r.history?(r.history[i?"pushState":"replaceState"]({},s.title,r.location.pathname+r.location.search+"#"+e.currentHash),i&&(e.hasCreatedHistory=!0)):r.location.hash=e.currentHash,e.hashTimer=null},300))))},"beforeClose.fb":function(t,e,n){!1!==n.opts.hash&&(l(e),e.currentHash&&e.hasCreatedHistory?r.history.back():e.currentHash&&("replaceState"in r.history?r.history.replaceState({},s.title,r.location.pathname+r.location.search+(e.origHash||"")):r.location.hash=e.origHash),e.currentHash=null,clearTimeout(e.hashTimer))}}),o(r).on("hashchange.fb",function(){var i,t=a();o.each(o(".fancybox-container").get().reverse(),function(t,e){var n=o(e).data("FancyBox");if(n.currentHash)return i=n,!1}),i?!i.currentHash||i.currentHash===t.gallery+"-"+t.index||1===t.index&&i.currentHash==t.gallery||(i.currentHash=null,i.close()):""!==t.gallery&&e(t)}),setTimeout(function(){o.fancybox.getInstance()||e(a())},50))})}(document,window,window.jQuery||jQuery),function(t,e){"use strict";var o=(new Date).getTime();e(t).on({"onInit.fb":function(t,i,e){i.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var e=i.current,n=(new Date).getTime();i.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,n-o<250||(o=n,i[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,window.jQuery||jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t($||require("jquery")):t(jQuery)}(function(N){"use strict";function o(t,e){this.element=t,this.options=N.extend({},i,e);var n=this.options.locale;void 0!==this.options.locales[n]&&N.extend(this.options,this.options.locales[n]),this.init()}function F(t){if(!N(t.target).parents().hasClass("jq-selectbox")&&"OPTION"!=t.target.nodeName&&N("div.jq-selectbox.opened").length){var e=N("div.jq-selectbox.opened"),n=N("div.jq-selectbox__search input",e),i=N("div.jq-selectbox__dropdown",e);e.find("select").data("_"+s).options.onSelectClosed.call(e),n.length&&n.val("").keyup(),i.hide().find("li.sel").addClass("selected"),e.removeClass("focused opened dropup dropdown")}}var s="styler",i={idSuffix:"-styler",filePlaceholder:"Файл не вÑбÑан",fileBrowse:"ÐбзоÑ...",fileNumber:"Ð
3ÑбÑано Ñайлов: %s",selectPlaceholder:"ÐÑбеÑиÑе...",selectSearch:!1,selectSearchLimit:10,selectSearchNotFound:"Совпадений не найдено",selectSearchPlaceholder:"ÐоиÑк...",selectVisibleOptions:0,selectSmartPositioning:!0,locale:"ru",locales:{en:{filePlaceholder:"No file selected",fileBrowse:"Browse...",fileNumber:"Selected files: %s",selectPlaceholder:"Select...",selectSearchNotFound:"No matches found",selectSearchPlaceholder:"Search..."}},onSelectOpened:function(){},onSelectClosed:function(){},onFormStyled:function(){}};o.prototype={init:function(){function D(){void 0!==L.attr("id")&&""!==L.attr("id")&&(this.id=L.attr("id")+M.idSuffix),this.title=L.attr("title"),this.classes=L.attr("class"),this.data=L.data()}var L=N(this.element),M=this.options,q=!(!navigator.userAgent.match(/(iPad|iPhone|iPod)/i)||navigator.userAgent.match(/(Windows\sPhone)/i)),t=!(!navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/(Windows\sPhone)/i));if(L.is(":checkbox")){var e=function(){var t=new D,e=N('<div class="jq-checkbox"><div class="jq-checkbox__div"></div></div>').attr({id:t.id,title:t.title}).addClass(t.classes).data(t.data);L.after(e).prependTo(e),L.is(":checked")&&e.addClass("checked"),L.is(":disabled")&&e.addClass("disabled"),e.click(function(t){t.preventDefault(),L.triggerHandler("click"),e.is(".disabled")||(L.is(":checked")?(L.prop("checked",!1),e.removeClass("checked")):(L.prop("checked",!0),e.addClass("checked")),L.focus().change())}),L.closest("label").add('label[for="'+L.attr("id")+'"]').on("click.styler",function(t){N(t.target).is("a")||N(t.target).closest(e).length||(e.triggerHandler("click"),t.preventDefault())}),L.on("change.styler",function(){L.is(":checked")?e.addClass("checked"):e.removeClass("checked")}).on("keydown.styler",function(t){32==t.which&&e.click()}).on("focus.styler",function(){e.is(".disabled")||e.addClass("focused")}).on("blur.styler",function(){e.removeClass("focused")})};e(),L.on("refresh",function(){L.closest("label").add('label[for="'+L.attr("id")+'"]').off(".styler"),L.off(".styler").parent().before(L).remove(),e()})}else if(L.is(":radio")){var n=function(){var t=new D,n=N('<div class="jq-radio"><div class="jq-radio__div"></div></div>').attr({id:t.id,title:t.title}).addClass(t.classes).data(t.data);L.after(n).prependTo(n),L.is(":checked")&&n.addClass("checked"),L.is(":disabled")&&n.addClass("disabled"),N.fn.commonParents=function(){var t=this;return t.first().parents().filter(function(){return N(this).find(t).length===t.length})},N.fn.commonParent=function(){return N(this).commonParents().first()},n.click(function(t){if(t.preventDefault(),L.triggerHandler("click"),!n.is(".disabled")){var e=N('input[name="'+L.attr("name")+'"]');e.commonParent().find(e).prop("checked",!1).parent().removeClass("checked"),L.prop("checked",!0).parent().addClass("checked"),L.focus().change()}}),L.closest("label").add('label[for="'+L.attr("id")+'"]').on("click.styler",function(t){N(t.target).is("a")||N(t.target).closest(n).length||(n.triggerHandler("click"),t.preventDefault())}),L.on("change.styler",function(){L.parent().addClass("checked")}).on("focus.styler",function(){n.is(".disabled")||n.addClass("focused")}).on("blur.styler",function(){n.removeClass("focused")})};n(),L.on("refresh",function(){L.closest("label").add('label[for="'+L.attr("id")+'"]').off(".styler"),L.off(".styler").parent().before(L).remove(),n()})}else if(L.is(":file")){var i=function(){var t=new D,i=L.data("placeholder");void 0===i&&(i=M.filePlaceholder);var e=L.data("browse");void 0!==e&&""!==e||(e=M.fileBrowse);var o=N('<div class="jq-file"><div class="jq-file__name">'+i+'</div><div class="jq-file__browse">'+e+"</div></div>").attr({id:t.id,title:t.title}).addClass(t.classes).data(t.data);L.after(o).appendTo(o),L.is(":disabled")&&o.addClass("disabled");var n=L.val(),s=N("div.jq-file__name",o);n&&s.text(n.replace(/.+[\\\/]/,"")),L.on("change.styler",function(){var t=L.val();if(L.is("[multiple]")){t="";var e=L[0].files.length;if(0<e){var n=L.data("number");void 0===n&&(n=M.fileNumber),t=n=n.replace("%s",e)}}s.text(t.replace(/.+[\\\/]/,"")),""===t?(s.text(i),o.removeClass("changed")):o.addClass("changed")}).on("focus.styler",function(){o.addClass("focused")}).on("blur.styler",function(){o.removeClass("focused")}).on("click.styler",function(){o.removeClass("focused")})};i(),L.on("refresh",function(){L.off(".styler").parent().before(L).remove(),i()})}else if(L.is('input[type="number"]')){var o=function(){var t=new D,e=N('<div class="jq-number"><div class="jq-number__spin minus"></div><div class="jq-number__spin plus"></div></div>
vendor: 5,629 bytes, line 3
3').attr({id:t.id,title:t.title}).addClass(t.classes).data(t.data);L.after(e).prependTo(e).wrap('<div class="jq-number__field"></div>'),L.is(":disabled")&&e.addClass("disabled");var s,r,a,n=null,i=null;void 0!==L.attr("min")&&(s=L.attr("min")),void 0!==L.attr("max")&&(r=L.attr("max")),a=void 0!==L.attr("step")&&N.isNumeric(L.attr("step"))?Number(L.attr("step")):Number(1);var o=function(t){var e,n=L.val();N.isNumeric(n)||(n=0,L.val("0")),t.is(".minus")?e=Number(n)-a:t.is(".plus")&&(e=Number(n)+a);var i=(a.toString().split(".")[1]||[]).length;if(0<i){for(var o="1";o.length<=i;)o+="0";e=Math.round(e*o)/o}N.isNumeric(s)&&N.isNumeric(r)?s<=e&&e<=r&&L.val(e):N.isNumeric(s)&&!N.isNumeric(r)?s<=e&&L.val(e):!N.isNumeric(s)&&N.isNumeric(r)?e<=r&&L.val(e):L.val(e)};e.is(".disabled")||(e.on("mousedown","div.jq-number__spin",function(){var t=N(this);o(t),n=setTimeout(function(){i=setInterval(function(){o(t)},40)},350)}).on("mouseup mouseout","div.jq-number__spin",function(){clearTimeout(n),clearInterval(i)}).on("mouseup","div.jq-number__spin",function(){L.change().trigger("input")}),L.on("focus.styler",function(){e.addClass("focused")}).on("blur.styler",function(){e.removeClass("focused")}))};o(),L.on("refresh",function(){L.off(".styler").closest(".jq-number").before(L).remove(),o()})}else if(L.is("select")){var s=function(){function k(e){var n=e.prop("scrollHeight")-e.outerHeight(),i=null,o=null;e.off("mousewheel DOMMouseScroll").on("mousewheel DOMMouseScroll",function(t){i=t.originalEvent.detail<0||0<t.originalEvent.wheelDelta?1:-1,((o=e.scrollTop())>=n&&i<0||o<=0&&0<i)&&(t.stopPropagation(),t.preventDefault())})}function P(){for(var t=0;t<j.length;t++){var e=j.eq(t),n="",i="",o="",s="",r="",a="",l="",c="",u="";e.prop("selected")&&(i="selected sel"),e.is(":disabled")&&(i="disabled"),e.is(":selected:disabled")&&(i="selected sel disabled"),void 0!==e.attr("id")&&""!==e.attr("id")&&(s=' id="'+e.attr("id")+M.idSuffix+'"'),void 0!==e.attr("title")&&""!==j.attr("title")&&(r=' title="'+e.attr("title")+'"'),void 0!==e.attr("class")&&(l=" "+e.attr("class"),u=' data-jqfs-class="'+e.attr("class")+'"');var d=e.data();for(var h in d)""!==d[h]&&(a+=" data-"+h+'="'+d[h]+'"');i+l!==""&&(o=' class="'+i+l+'"'),n="<li"+u+a+o+r+s+">"+e.html()+"</li>",e.parent().is("optgroup")&&(void 0!==e.parent().attr("class")&&(c=" "+e.parent().attr("class")),n="<li"+u+a+' class="'+i+l+" option"+c+'"'+r+s+">"+e.html()+"</li>",e.is(":first-child")&&(n='<li class="optgroup'+c+'">'+e.parent().attr("label")+"</li>"+n)),A+=n}}var j=N("option",L),A="";if(L.is("[multiple]")){if(t||q)return;!function(){var t=new D,e=N('<div class="jq-select-multiple jqselect"></div>').attr({id:t.id,title:t.title}).addClass(t.classes).data(t.data);L.after(e),P(),e.append("<ul>"+A+"</ul>");var n=N("ul",e),o=N("li",e),i=L.attr("size"),s=n.outerHeight(),r=o.outerHeight();void 0!==i&&0<i?n.css({height:r*i}):n.css({height:4*r}),s>e.height()&&(n.css("overflowY","scroll"),k(n),o.filter(".selected").length&&n.scrollTop(n.scrollTop()+o.filter(".selected").position().top)),L.prependTo(e),L.is(":disabled")?(e.addClass("disabled"),j.each(function(){N(this).is(":selected")&&o.eq(N(this).index()).addClass("selected")})):(o.filter(":not(.disabled):not(.optgroup)").click(function(t){L.focus();var e=N(this);if(t.ctrlKey||t.metaKey||e.addClass("selected"),t.shiftKey||e.addClass("first"),t.ctrlKey||t.metaKey||t.shiftKey||e.siblings().removeClass("selected first"),(t.ctrlKey||t.metaKey)&&(e.is(".selected")?e.removeClass("selected first"):e.addClass("selected first"),e.siblings().removeClass("first")),t.shiftKey){var n=!1,i=!1;e.siblings().removeClass("selected").siblings(".first").addClass("selected"),e.prevAll().each(function(){N(this).is(".first")&&(n=!0)}),e.nextAll().each(function(){N(this).is(".first")&&(i=!0)}),n&&e.prevAll().each(function(){if(N(this).is(".selected"))return!1;N(this).not(".disabled, .optgroup").addClass("selected")}),i&&e.nextAll().each(function(){if(N(this).is(".selected"))return!1;N(this).not(".disabled, .optgroup").addClass("selected")}),1==o.filter(".selected").length&&e.addClass("first")}j.prop("selected",!1),o.filter(".selected").each(function(){var t=N(this),e=t.index();t.is(".option")&&(e-=t.prevAll(".optgroup").length),j.eq(e).prop("selected",!0)}),L.change()}),j.each(function(t){N(this).data("optionIndex",t)}),L.on("change.styler",function(){o.removeClass("selected");var e=[];j.filter(":selected").each(function(){e.push(N(this).data("optionIndex"))}),o.not(".optgroup").filter(function(t){return-1<N.inArray(t,e)}).addClass("selected")}).on("focus.styler",function(){e.addClass("focused")}).on("blur.styler",function(){e.removeClass("focused")}),s>e.height()&&L.on("keydown.styler",function(t){38!=t.which&&37!=t.which&&33!=t.which||n.scrollTop(n.scrollTop()+o.filter(".selected").position().top-r),40!=t.which&&39!=t.which&&34!=t.which||n.scrollTop(n.scrollTop()+o.filter(".selected:last").position().top-n.innerHeight()+2*r)}))}()}else!function(){var t=new D,e="",n=L.data("placeholder"),i=L.data("search"),o=L.data("search-limit"),s=L.data("search-not-found"),r=L.data("search-placeholder"),l=L.data("smart-positioning");void 0===n&&(n=M.selectPlaceholder),void 0!==i&&""!==i||(i=M.selectSearch),void 0!==o&&""!==o||(o=M.selectSearchLimit),void 0!==s&&""!==s||(s=M.selectSearchNotFound),void 0===r&&(r=M.selectSearchPlaceholder),void 0!==l&&""!==l||(l=M.selectSmartPositioning);var c=N('<div class="jq-selectbox jqselect"><div class="jq-selectbox__select"><div class="jq-selectbox__select-text"></div><div class="jq-selectbox__trigger"><div class="jq-selectbox__trigger-arrow"></div></div></div></div>
3').attr({id:t.id,title:t.title}).addClass(t.classes).data(t.data);L.after(c).prependTo(c);var u=c.css("z-index");u=0<u?u:1;var a=N("div.jq-selectbox__select",c),d=N("div.jq-selectbox__select-text",c),h=j.filter(":selected");P(),i&&(e='<div class="jq-selectbox__search"><input type="search" autocomplete="off" placeholder="'+r+'"></div><div class="jq-selectbox__not-found">'+s+"</div>");var p=N('<div class="jq-selectbox__dropdown">'+e+"<ul>"+A+"</ul></div>");c.append(p);var f=N("ul",p),g=N("li",p),m=N("input",p),v=N("div.jq-selectbox__not-found",p).hide();g.length<o&&m.parent().hide(),""===j.first().text()&&j.first().is(":selected")&&!1!==n?d.text(n).addClass("placeholder"):d.text(h.text());var y=0,b=0;if(g.css({display:"inline-block"}),g.each(function(){var t=N(this);t.innerWidth()>y&&(y=t.innerWidth(),b=t.width())}),g.css({display:""}),d.is(".placeholder")&&d.width()>y)d.width(d.width());else{var x=c.clone().appendTo("body").width("auto"),w=x.outerWidth();x.remove(),w==c.outerWidth()&&d.width(b)}y>c.width()&&p.width(y),""===j.first().text()&&""!==L.data("placeholder")&&g.first().hide();var C=c.outerHeight(!0),_=m.parent().outerHeight(!0)||0,T=f.css("max-height"),S=g.filter(".selected");if(S.length<1&&g.first().addClass("selected sel"),void 0===g.data("li-height")){var $=g.outerHeight();!1!==n&&($=g.eq(1).outerHeight()),g.data("li-height",$)}var E=p.css("top");if("auto"==p.css("left")&&p.css({left:0}),"auto"==p.css("top")&&(p.css({top:C}),E=C),p.hide(),S.length&&(j.first().text()!=h.text()&&c.addClass("changed"),c.data("jqfs-class",S.data("jqfs-class")),c.addClass(S.data("jqfs-class"))),L.is(":disabled"))return c.addClass("disabled");a.click(function(){if(N("div.jq-selectbox").filter(".opened").length&&M.onSelectClosed.call(N("div.jq-selectbox").filter(".opened")),L.focus(),!q){var e=N(window),n=g.data("li-height"),i=c.offset().top,o=e.height()-C-(i-e.scrollTop()),t=L.data("visible-options");void 0!==t&&""!==t||(t=M.selectVisibleOptions);var s=5*n,r=n*t;0<t&&t<6&&(s=r),0===t&&(r="auto");var a=function(){p.height("auto").css({bottom:"auto",top:E});var t=function(){f.css("max-height",Math.floor((o-20-_)/n)*n)};t(),f.css("max-height",r),"none"!=T&&f.css("max-height",T),o<p.outerHeight()+20&&t()};!0===l||1===l?s+_+20<o?(a(),c.removeClass("dropup").addClass("dropdown")):(function(){p.height("auto").css({top:"auto",bottom:E});var t=function(){f.css("max-height",Math.floor((i-e.scrollTop()-20-_)/n)*n)};t(),f.css("max-height",r),"none"!=T&&f.css("max-height",T),i-e.scrollTop()-20<p.outerHeight()+20&&t()}(),c.removeClass("dropdown").addClass("dropup")):!1===l||0===l?s+_+20<o&&(a(),c.removeClass("dropup").addClass("dropdown")):(p.height("auto").css({bottom:"auto",top:E}),f.css("max-height",r),"none"!=T&&f.css("max-height",T)),c.offset().left+p.outerWidth()>e.width()&&p.css({left:"auto",right:0}),N("div.jqselect").css({zIndex:u-1}).removeClass("opened"),c.css({zIndex:u}),p.is(":hidden")?(N("div.jq-selectbox__dropdown:visible").hide(),p.show(),c.addClass("opened focused"),M.onSelectOpened.call(c)):(p.hide(),c.removeClass("opened dropup dropdown"),N("div.jq-selectbox").filter(".opened").length&&M.onSelectClosed.call(c)),m.length&&(m.val("").keyup(),v.hide(),m.keyup(function(){var t=N(this).val();g.each(function(){N(this).html().match(new RegExp(".*?"+t+".*?","i"))?N(this).show():N(this).hide()}),""===j.first().text()&&""!==L.data("placeholder")&&g.first().hide(),g.filter(":visible").length<1?v.show():v.hide()})),g.filter(".selected").length&&(""===L.val()?f.scrollTop(0):(f.innerHeight()/n%2!=0&&(n/=2),f.scrollTop(f.scrollTop()+g.filter(".selected").position().top-f.innerHe
vendor: 1,716 bytes, line 3
3ight()/2+n))),k(f)}}),g.hover(function(){N(this).siblings().removeClass("selected")});g.filter(".selected").text();g.filter(":not(.disabled):not(.optgroup)").click(function(){L.focus();var t=N(this),e=t.text();if(!t.is(".selected")){var n=t.index();n-=t.prevAll(".optgroup").length,t.addClass("selected sel").siblings().removeClass("selected sel"),j.prop("selected",!1).eq(n).prop("selected",!0),e,d.text(e),c.data("jqfs-class")&&c.removeClass(c.data("jqfs-class")),c.data("jqfs-class",t.data("jqfs-class")),c.addClass(t.data("jqfs-class")),L.change()}p.hide(),c.removeClass("opened dropup dropdown"),M.onSelectClosed.call(c)}),p.mouseout(function(){N("li.sel",p).addClass("selected")}),L.on("change.styler",function(){d.text(j.filter(":selected").text()).removeClass("placeholder"),g.removeClass("selected sel").not(".optgroup").eq(L[0].selectedIndex).addClass("selected sel"),j.first().text()!=g.filter(".selected").text()?c.addClass("changed"):c.removeClass("changed")}).on("focus.styler",function(){c.addClass("focused"),N("div.jqselect").not(".focused").removeClass("opened dropup dropdown").find("div.jq-selectbox__dropdown").hide()}).on("blur.styler",function(){c.removeClass("focused")}).on("keydown.styler keyup.styler",function(t){var e=g.data("li-height");""===L.val()?d.text(n).addClass("placeholder"):d.text(j.filter(":selected").text()),g.removeClass("selected sel").not(".optgroup").eq(L[0].selectedIndex).addClass("selected sel"),38!=t.which&&37!=t.which&&33!=t.which&&36!=t.which||(""===L.val()?f.scrollTop(0):f.scrollTop(f.scrollTop()+g.filter(".selected").position().top)),40!=t.which&&39!=t.which&&34!=t.which&&35!=t.which||f.scrollTop(f.scrollTop()+g.filter(".selected").position().top-f.innerHe
3ight()+e),13==t.which&&(t.preventDefault(),p.hide(),c.removeClass("opened dropup dropdown"),M.onSelectClosed.call(c))}).on("keydown.styler",function(t){32==t.which&&(t.preventDefault(),a.click())}),F.registered||(N(document).on("click",F),F.registered=!0)}()};s(),L.on("refresh",function(){L.off(".styler").parent().before(L).remove(),s()})}else L.is(":reset")&&L.on("click",function(){setTimeout(function(){L.closest("form").find("input, select").trigger("refresh")},1)})},destroy:function(){var t=N(this.element);t.is(":checkbox")||t.is(":radio")?(t.removeData("_"+s).off(".styler refresh").removeAttr("style").parent().before(t).remove(),t.closest("label").add('label[for="'+t.attr("id")+'"]').off(".styler")):t.is('input[type="number"]')?t.removeData("_"+s).off(".styler refresh").closest(".jq-number").before(t).remove():(t.is(":file")||t.is("select"))&&t.removeData("_"+s).off(".styler refresh").removeAttr("style").parent().before(t).remove()}},N.fn[s]=function(e){var n,i=arguments;return void 0===e||"object"==typeof e?(this.each(function(){N.data(this,"_"+s)||N.data(this,"_"+s,new o(this,e))}).promise().done(function(){var t=N(this[0]).data("_"+s);t&&t.options.onFormStyled.call()}),this):"string"==typeof e&&"_"!==e[0]&&"init"!==e?(this.each(function(){var t=N.data(this,"_"+s);t instanceof o&&"function"==typeof t[e]&&(n=t[e].apply(t,Array.prototype.slice.call(i,1)))}),void 0!==n?n:this):void 0},F.registered=!1}); 4/* End */ 5; 6; /* Start:"a:4:{s:4:"full";
6s:61:"/bitrix/templates/doctor/js/jquery.mask.min.js?16963400167990";s:6:"source";s:46:"/bitrix/templates/doctor/js/jquery.mask.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 7// jQuery Mask Plugin v1.14.12 8// github.com/igorescobar/jQuery-Mask-Plugin 9var $jscomp={scope:{},findInternal:function(a,l,d){a instanceof String&&(a=String(a));for(var p=a.length,h=0;h<p;h++){var b=a[h];if(l.call(d,b,h,a))return{i:h,v:b}}return{i:-1,v:void 0}}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,l,d){if(d.get||d.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[l]=d.value)}; 10$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,l,d,p){if(l){d=$jscomp.global;a=a.split(".");for(p=0;p<a.length-1;p++){var h=a[p];h in d||(d[h]={});d=d[h]}a=a[a.length-1];p=d[a];l=l(p);l!=p&&null!=l&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:l})}}; 11$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,d){return $jscomp.findInternal(this,a,d).v}},"es6-impl","es3"); 12(function(a,l,d){"function"===typeof define&&define.amd?define(["jquery"],a):"object"===typeof exports?module.exports=a(require("jquery")):a(l||d)})(function(a){var l=function(b,e,f){var c={invalid:[],getCaret:function(){try{var a,r=0,g=b.get(0),e=document.selection,f=g.selectionStart;if(e&&-1===navigator.appVersion.indexOf("MSIE 10"))a=e.createRange(),a.moveStart("character",-c.val().length),r=a.text.length;else if(f||"0"===f)r=f;return r}catch(C){}},setCaret:function(a){try{if(b.is(":focus")){var c, 13g=b.get(0);g.setSelectionRange?g.setSelectionRange(a,a):(c=g.createTextRange(),c.collapse(!0),c.moveEnd("character",a),c.moveStart("character",a),c.select())}}catch(B){}}
vendor: 4,139 bytes, lines 13-21
13,events:function(){b.on("keydown.mask",function(a){b.data("mask-keycode",a.keyCode||a.which);b.data("mask-previus-value",b.val());b.data("mask-previus-caret-pos",c.getCaret());c.maskDigitPosMapOld=c.maskDigitPosMap}).on(a.jMaskGlobals.useInput?"input.mask":"keyup.mask",c.behaviour).on("paste.mask drop.mask",function(){setTimeout(function(){b.keydown().keyup()}, 14100)}).on("change.mask",function(){b.data("changed",!0)}).on("blur.mask",function(){d===c.val()||b.data("changed")||b.trigger("change");b.data("changed",!1)}).on("blur.mask",function(){d=c.val()}).on("focus.mask",function(b){!0===f.selectOnFocus&&a(b.target).select()}).on("focusout.mask",function(){f.clearIfNotMatch&&!h.test(c.val())&&c.val("")})},getRegexMask:function(){for(var a=[],b,c,f,n,d=0;d<e.length;d++)(b=m.translation[e.charAt(d)])?(c=b.pattern.toString().replace(/.{1}$|^.{1}/g,""),f=b.optional, 15(b=b.recursive)?(a.push(e.charAt(d)),n={digit:e.charAt(d),pattern:c}):a.push(f||b?c+"?":c)):a.push(e.charAt(d).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"));a=a.join("");n&&(a=a.replace(new RegExp("("+n.digit+"(.*"+n.digit+")?)"),"($1)?").replace(new RegExp(n.digit,"g"),n.pattern));return new RegExp(a)},destroyEvents:function(){b.off("input keydown keyup paste drop blur focusout ".split(" ").join(".mask "))},val:function(a){var c=b.is("input")?"val":"text";if(0<arguments.length){if(b[c]()!==a)b[c](a); 16c=b}else c=b[c]();return c},calculateCaretPosition:function(){var a=b.data("mask-previus-value")||"",e=c.getMasked(),g=c.getCaret();if(a!==e){var f=b.data("mask-previus-caret-pos")||0,e=e.length,d=a.length,m=a=0,h=0,l=0,k;for(k=g;k<e&&c.maskDigitPosMap[k];k++)m++;for(k=g-1;0<=k&&c.maskDigitPosMap[k];k--)a++;for(k=g-1;0<=k;k--)c.maskDigitPosMap[k]&&h++;for(k=f-1;0<=k;k--)c.maskDigitPosMapOld[k]&&l++;g>d?g=10*e:f>=g&&f!==d?c.maskDigitPosMapOld[g]||(f=g,g=g-(l-h)-a,c.maskDigitPosMap[g]&&(g=f)):g>f&& 17(g=g+(h-l)+m)}return g},behaviour:function(f){f=f||window.event;c.invalid=[];var e=b.data("mask-keycode");if(-1===a.inArray(e,m.byPassKeys)){var e=c.getMasked(),g=c.getCaret();setTimeout(function(){c.setCaret(c.calculateCaretPosition())},10);c.val(e);c.setCaret(g);return c.callbacks(f)}},getMasked:function(a,b){var g=[],d=void 0===b?c.val():b+"",n=0,h=e.length,q=0,l=d.length,k=1,r="push",p=-1,t=0,y=[],v,z;f.reverse?(r="unshift",k=-1,v=0,n=h-1,q=l-1,z=function(){return-1<n&&-1<q}):(v=h-1,z=function(){return n< 18h&&q<l});for(var A;z();){var x=e.charAt(n),w=d.charAt(q),u=m.translation[x];if(u)w.match(u.pattern)?(g[r](w),u.recursive&&(-1===p?p=n:n===v&&(n=p-k),v===p&&(n-=k)),n+=k):w===A?(t--,A=void 0):u.optional?(n+=k,q-=k):u.fallback?(g[r](u.fallback),n+=k,q-=k):c.invalid.push({p:q,v:w,e:u.pattern}),q+=k;else{if(!a)g[r](x);w===x?(y.push(q),q+=k):(A=x,y.push(q+t),t++);n+=k}}d=e.charAt(v);h!==l+1||m.translation[d]||g.push(d);g=g.join("");c.mapMaskdigitPositions(g,y,l);return g},mapMaskdigitPositions:function(a, 19b,e){a=f.reverse?a.length-e:0;c.maskDigitPosMap={};for(e=0;e<b.length;e++)c.maskDigitPosMap[b[e]+a]=1},callbacks:function(a){var h=c.val(),g=h!==d,m=[h,a,b,f],q=function(a,b,c){"function"===typeof f[a]&&b&&f[a].apply(this,c)};q("onChange",!0===g,m);q("onKeyPress",!0===g,m);q("onComplete",h.length===e.length,m);q("onInvalid",0<c.invalid.length,[h,a,b,c.invalid,f])}};b=a(b);var m=this,d=c.val(),h;e="function"===typeof e?e(c.val(),void 0,b,f):e;m.mask=e;m.options=f;m.remove=function(){var a=c.getCaret(); 20c.destroyEvents();c.val(m.getCleanVal());c.setCaret(a);return b};m.getCleanVal=function(){return c.getMasked(!0)};m.getMaskedVal=function(a){return c.getMasked(!1,a)};m.init=function(d){d=d||!1;f=f||{};m.clearIfNotMatch=a.jMaskGlobals.clearIfNotMatch;m.byPassKeys=a.jMaskGlobals.byPassKeys;m.translation=a.extend({},a.jMaskGlobals.translation,f.translation);m=a.extend(!0,{},m,f);h=c.getRegexMask();if(d)c.events(),c.val(c.getMasked());else{f.placeholder&&b.attr("placeholder",f.placeholder);b.data("mask")&& 21b.attr("autocomplete","off");d=0;for(var l=!0;d<e.length;d++){var g=m.translation[e.charAt(d)];if(g&&g.recursive){l=!1;break}}l&&b.attr("maxlength",e.length);c.destroyEvents();c.events();d=c.getCaret();c.val(c.getMasked());
21c.setCaret(d)}};m.init(!b.is("input"))};a.maskWatchers={};var d=function(){var b=a(this),e={},f=b.attr("data-mask");b.attr("data-mask-reverse")&&(e.reverse=!0);b.attr("data-mask-clearifnotmatch")&&(e.clearIfNotMatch=!0);"true"===b.attr("data-mask-selectonfocus")&&(e.selectOnFocus= 22!0);if(p(b,f,e))return b.data("mask",new l(this,f,e))},p=function(b,e,f){f=f||{};var c=a(b).data("mask"),d=JSON.stringify;b=a(b).val()||a(b).text();try{return"function"===typeof e&&(e=e(b)),"object"!==typeof c||d(c.options)!==d(f)||c.mask!==e}catch(t){}},h=function(a){var b=document.createElement("div"),d;a="on"+a;d=a in b;d||(b.setAttribute(a,"return;"),d="function"===typeof b[a]);return d};a.fn.mask=function(b,d){d=d||{};var e=this.selector,c=a.jMaskGlobals,h=c.watchInterval,c=d.watchInputs||c.watchInputs, 23t=function(){if(p(this,b,d))return a(this).data("mask",new l(this,b,d))};a(this).each(t);e&&""!==e&&c&&(clearInterval(a.maskWatchers[e]),a.maskWatchers[e]=setInterval(function(){a(document).find(e).each(t)},h));return this};a.fn.masked=function(a){return this.data("mask").getMaskedVal(a)};a.fn.unmask=function(){clearInterval(a.maskWatchers[this.selector]);delete a.maskWatchers[this.selector];return this.each(function(){var b=a(this).data("mask");b&&b.remove().removeData("mask")})};a.fn.cleanVal=function(){return this.data("mask").getCleanVal()}; 24a.applyDataMask=function(b){b=b||a.jMaskGlobals.maskElements;(b instanceof a?b:a(b)).filter(a.jMaskGlobals.dataMaskAttr).each(d)};h={maskElements:"input,td,span,div",dataMaskAttr:"*[data-mask]",dataMask:!0,watchInterval:300,watchInputs:!0,useInput:!/Chrome\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent)&&h("input"),watchDataMask:!1,byPassKeys:[9,16,17,18,36,37,38,39,40,91],translation:{0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/}, 25S:{pattern:/[a-zA-Z]/}}};a.jMaskGlobals=a.jMaskGlobals||{};h=a.jMaskGlobals=a.extend(!0,{},h,a.jMaskGlobals);h.dataMask&&a.applyDataMask();setInterval(function(){a.jMaskGlobals.watchDataMask&&a.applyDataMask()},h.watchInterval)},window.jQuery,window.Zepto); 26 27/* End */ 28; 29; /* Start:"a:4:{s:4:"full";s:71:"/bitrix/templates/doctor/js/jquery.autocolumnlist.min.js?16963400161785";s:6:"source";s:56:"/bitrix/templates/doctor/js/jquery.autocolumnlist.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 30/*! 31 * jQuery AutoColumnList Plugin 32 * Version: 1.2.0 (02/26/2017) 33 * Requires: jQuery v1.8 or later 34 * Repository: https://github.com/Neolot/jQuery.AutoColumnList 35 * License: MIT, http://www.opensource.org/licenses/mit-license.php 36 * Copyright (c) 2011-2017 Yuriy Pokhylko 37 * Author URI: https://neolot.com 38 */ 39 40(function($) { 41 var defaults = { 42 columns: 4, 43 classname: 'column', 44 min: 1 45 }; 46 47 $.fn.autocolumnlist = function(params){ 48 var options = $.extend({}, defaults, params); 49 return this.each(function() { 50 var data_parameters = $(this).data(); 51 if ( data_parameters ) { 52 $.each(data_parameters, function (key, value) { 53 options[key] = value; 54 }); 55 } 56 57 var els = $(this).find('> li'); 58 var dimension = els.length; 59 if (dimension > 0) { 60 var elCol = Math.ceil(dimension/options.columns); 61 if (elCol < options.min) { 62 elCol = options.min; 63 } 64 var start = 0; 65 var end = elCol; 66 67 for (i=0; i<options.columns; i++) { 68 if ((i + 1) == options.columns) { 69 els.slice(start, end).wrapAll('<div class="'+options.classname+' last" />'); 70 } else { 71 els.slice(start, end).wrapAll('<div class="'+options.classname+'" />'); 72 } 73 start = start+elCol; 74 end = end+elCol; 75 } 76 } 77 }); 78 }; 79 80$('.acc_head').click(function(){ 81 $(this).toggleClass('in').next().slideToggle(); 82 $('.acc_head').not(this).removeClass('in').next().slideUp(); 83}); 84})(jQuery); 85 86/* End */ 87; 88; /* Start:"a:4:{s:4:"full";
88s:51:"/bitrix/templates/doctor/js/main.js?175085573411970";s:6:"source";s:35:"/bitrix/templates/doctor/js/main.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 89$(function () { 90 91 $('.js-more-services').on('click', function (e) { 92 e.preventDefault(0); 93 $('.services-items').toggleClass('open'); 94 if ($('.js-more-services b').text() === 'СкÑÑÑÑ') { 95 $('.js-more-services b').text('СмоÑÑеÑÑ ÐµÑе') 96 } else { 97 $('.js-more-services b').text('СкÑÑÑÑ') 98 } 99 }) 100 101 102 /* $('body').on('submit', '#order', function (e) { 103 104 });*/ 105 106// ÐÑиÑиалÑное обÑаÑение к админиÑÑÑаÑии 107 $('body').on('submit', '#vopros', function (e) { 108 e.preventDefault(); 109 let $this = $(this); 110 111 let formData = new FormData($this.get(0)); 112 113 $.ajax({ 114 url:'/ajax/vopros.php', 115 type: "POST", // Type of request to be send, called as method 116 data: formData, // Data sent to server, a set of key/value pairs (i.e. form fields and values) 117 contentType: false, // The content type used when sending data to the server. 118 cache: false, // To unable request pages to be cached 119 processData:false, // To send DOMDocument or non processed data file it is set to false 120 success: function (data) { 121 $this.html(data); 122 }, 123 error: function (p1, p2, p3) { 124 } 125 }); 126 }); 127 128 129// ÐбÑаÑнÑй звонок 130 $('body').on('submit', '#callback', function (e) { 131 e.preventDefault(); 132 let $this = $(this); 133 134 let formData = new FormData($this.get(0)); 135 $.ajax({ 136 url:'/ajax/callback.php', 137 type: "POST", // Type of request to be send, called as method 138 data: formData, // Data sent to server, a set of key/value pairs (i.e. form fields and values) 139 contentType: false, // The content type used when sending data to the server. 140 cache: false, // To unable request pages to be cached 141 processData:false, // To send DOMDocument or non processed data file it is set to false 142 success: function (data) { 143 $this.html(data); 144 }, 145 error: function (p1, p2, p3) { 146 } 147 }); 148 }); 149 150 svg4everybody(); 151 152 var slider = $('.js-slider') 153 slider.owlCarousel({ 154 lazyLoad: true, 155 items: 1, 156 nav: false, 157 dots: true, 158 dotsEach: false, 159 loop: true, 160 margin: 0, 161 smartSpeed: 550, 162 autoplay: true, 163 autoplayTimeout: 4000, 164 autoplayHoverPause: true, 165 responsive: { 166 0: { 167 items: 1, 168 }, 169 480: { 170 items: 1, 171 }, 172 768: { 173 items: 1, 174 }, 175 992: { 176 items: 1, 177 }, 178 1250: { 179 items: 1, 180 } 181 } 182 }); 183 184 var partnersSlider = $('.js-partners-slider') 185 partnersSlider.owlCarousel({ 186 lazyLoad: true, 187 items: 6, 188 nav: false, 189 dots: true, 190 dotsEach: false, 191 loop: true, 192 margin: 30, 193 smartSpeed: 550, 194 autoplay: false, 195 autoplayTimeout: 4000, 196 autoplayHoverPause: true, 197 responsive: { 198 0: { 199 items: 2, 200 }, 201 480: { 202 items: 3, 203 }, 204 768: { 205 items: 4, 206 }, 207 992: { 208 items: 5, 209 }, 210 1250: { 211 items: 6, 212 } 213 } 214 }); 215 216 var gallerySlider = $('.js-gallery-slider') 217 gallerySlider.owlCarousel({ 218 lazyLoad: true, 219 items: 3, 220 nav: false, 221 dots: true, 222 dotsEach: false, 223 loop: false, 224 margin: 30, 225 smartSpeed: 550, 226 autoplay: false, 227 autoplayTimeout: 4000, 228 autoplayHoverPause: true, 229 responsive: { 230 0: { 231 items: 1, 232 }, 233 480: { 234 items: 2, 235 }, 236 768: { 237 items: 2, 238 }, 239 992: { 240 items: 2, 241 }, 242 1250: { 243 items: 3, 244 } 245 } 246 }); 247 248 $('.js-dropdown').click(function () { 249 $(this).parent().toggleClass('active'); 250 $(this).next('ul').slideToggle(); 251 }); 252 253 $('.js-price-dropdown').click(function () { 254 if ($(this).closest('.price-item__subsection').length) { 255 if ($(this).hasClass('active')) { 256 $(this).parent().find('.js-price-dropdown').removeClass('active'); 257 $(this).parent().find('.js-price-dropdown').next().slideUp(); 258 } else { 259 $(this).closest('.price-item__subsection').find('.js-price-dropdown').removeClass('active'); 260 $(this).closest('.price-item__subsection').find('.js-price-dropdown').next().slideUp(); 261 $(this).addClass('active'); 262 $(this).next().slideDown(); 263 } 264 } else { 265 if ($(this).hasClass('active')) { 266 $(this).closest('.price-item').find('.js-price-dropdown').removeClass('active'); 267 $(this).closest('.price-item').find('.js-price-dropdown').next().slideUp(); 268 //$(this).closest('.price-item').children('.price-item__subsection').slide
268Up(); 269 //$(this).closest('.price-item').children('.price-item__services').slideUp(); 270 } else { 271 console.log(4); 272 $(this).closest('.price').find('.js-price-dropdown').removeClass('active'); 273 $(this).closest('.price').find('.js-price-dropdown').next().slideUp(); 274 $(this).addClass('active'); 275 $(this).next().slideDown(); 276 //$(this).parent().children('.price-item__subsection').slideDown(); 277 //$(this).parent().children('.price-item__services').slideDown(); 278 } 279 } 280 }); 281 282 $('.js-gallery-slider .owl-item:not(.cloned) a').fancybox(); 283 284 $('.js-tabs-title a').click(function (event) { 285 event.preventDefault(); 286 var el = $(this).attr('href'); 287 $('.js-tabs-title a').removeClass('active'); 288 $(this).addClass('active'); 289 $('.js-tab').removeClass('active'); 290 $(el).addClass('active'); 291 return false; 292 }); 293 294 $('.js-feedback-call').click(function () { 295 $('.js-popup-bg, .js-popup').fadeIn(); 296 $('.js-popup').css('top', $(window).scrollTop()); 297 if ($(window).width() < 768) { 298 $('.js-popup').css('top', $(window).scrollTop()); 299 } 300 }); 301 $('.js-popup-bg, .js-popup-close').click(function () { 302 $('.js-popup-bg, .js-popup, .js-popup-admission').fadeOut(); 303 }); 304 305 $('.js-admission').click(function () { 306 $('.js-popup-bg, .js-popup-admission').fadeIn(); 307 $('.js-popup-admission').css('top', $(window).scrollTop()); 308 if ($(window).width() < 768) { 309 $('.js-popup-admission').css('top', $(window).scrollTop()); 310 } 311 }); 312 313 $('select').not('.doctor-review').styler({ 314 onSelectClosed: function () { 315 if($(this).attr('id') == 'doctorSpecialnost-styler') { 316 if($("#doctorSpecialnost").val() > 0) { 317 $("#doctor-styler").find('select option').addClass('unactive'); 318 $("#doctor-styler").find('select option[data-section='+$("#doctorSpecialnost").val()+']').removeClass('unactive'); 319 $("#doctor-styler").find('select').prop('disabled' , false).trigger('refresh') 320 } else { 321 $("#doctor-styler").find('select').prop('disabled' , true).trigger('refresh') 322 } 323 } 324 } 325 }); 326 327 if (!$('.inner-content-left').length) { 328 $('.js-sidebar-link').hide(0); 329 } 330 $(window).resize(function () { 331 if ($(window).width() < 768) { 332 if (!$('.inner-content-left').length) { 333 $('.js-sidebar-link').hide(0); 334 } 335 } 336 }); 337 $('.js-sidebar-link').click(function () { 338 if ($(this).hasClass('open')) { 339 $('.inner-content-left').removeClass('open'); 340 $(this).removeClass('open'); 341 $(this).text('менÑ'); 342 } else { 343 $('.inner-content-left').addClass('open'); 344 $(this).addClass('open'); 345 $(this).text('закÑÑÑÑ'); 346 } 347 }); 348 349 350// sidebar menu 351 $('.breadcrumbs li:nth-child(3) a').each(function () { 352 if ($(this).text() == "ÐеÑÑкие ÑпеÑиалиÑÑÑ") { 353 $('.sidebar-menu .sidebar-menu__item:nth-child(2) .js-dropdown').trigger('click'); 354 } else if ($(this).text() == "ÐиагноÑÑика") { 355 $('.sidebar-menu .sidebar-menu__item:nth-child(3) .js-dropdown').trigger('click'); 356 } else if ($(this).text() == "ÐоÑÑÑановиÑелÑное леÑение") { 357 $('.sidebar-menu .sidebar-menu__item:nth-child(4) .js-dropdown').trigger('click'); 358 } else { 359 $('.sidebar-menu .sidebar-menu__item:first-child .js-dropdown').trigger('click'); 360 } 361 }); 362 363 var wl = window.location.pathname; 364 $('.sidebar-menu a[href="' + wl + '"]').addClass('active'); 365 366 367 // mask 368 $('.js-tel, input[type="tel"]').mask('+7 (000) 000-00-00'); 369 370 $('legend').click(function () { 371 $(this).closest('fieldset').toggleClass('open').find('.fieldset-wrap').slideToggle(300); 372 }); 373
374 var operationsSlider = $('.js-operation-slider') 375 operationsSlider.owlCarousel({ 376 items: 4, 377 nav: false, 378 dots: true, 379 dotsEach: false, 380 loop: false, 381 margin: 30, 382 smartSpeed: 550, 383 autoplay: false, 384 autoplayTimeout: 4000, 385 autoplayHoverPause: true, 386 responsive: { 387 0: { 388 items: 2, 389 margin: 15, 390 }, 391 480: { 392 items: 2, 393 }, 394 768: { 395 items: 2, 396 }, 397 992: { 398 items: 3, 399 }, 400 1250: { 401 items: 4, 402 } 403 } 404 }); 405 406 var reviewsSlider = $('.js-reviews-slider') 407 reviewsSlider.owlCarousel({ 408 items: 4, 409 nav: false, 410 dots: true, 411 dotsEach: false, 412 loop: false, 413 margin: 30, 414 smartSpeed: 550, 415 autoplay: false, 416 autoplayTimeout: 4000, 417 autoplayHoverPause: true, 418 responsive: { 419 0: { 420 items: 1, 421 margin: 15, 422 }, 423 480: { 424 items: 1, 425 }, 426 768: { 427 items: 2, 428 }, 429 992: { 430 items: 3, 431 }, 432 1250: { 433 items: 4, 434 } 435 } 436 }); 437 438 //ÐÐ¾Ð´Ð¼ÐµÐ½Ñ Ð³Ð»Ð°Ð²Ð½Ð¾Ð³Ð¾ Ð¼ÐµÐ½Ñ 439 (function ($) { 440 $(function () { 441 $('.menu .mainmenu').autocolumnlist({ 442 columns: 3, 443 min: 6, 444 }); 445 }) 446 })(jQuery); 447 448 $('.menu .dropdown').click(function(e) { 449 e.preventDefault(); 450 451 $(this).toggleClass('active'); 452 453 $(this).parent().next().slideToggle(); 454 }); 455 456 //ÐобилÑное Ð¼ÐµÐ½Ñ 457 $('.menu-toggle-mob, .menu-close').click(function() { 458 $('.menu-mob').slideToggle(); 459 }); 460 461 $('.top_menu .dropdown').click(function(e) { 462 e.preventDefault(); 463 464 $(this).parent().next().slideToggle(); 465 $(this).toggleClass('active'); 466 $(this).prev('.top_menu li a').toggleClass('active'); 467 }); 468 469 //УвелиÑиÑÑ ÐºÐ°ÑÑÐ¸Ð½ÐºÑ Ð¿Ð¾ ÐºÐ»Ð¸ÐºÑ 470 $('img.pic').each(function () { 471 $(this).wrap("<a href='" + this.src + "' rel='group'></a>"); 472 }); 473 474 $("a[rel=group]").fancybox(); 475 476}); 477/* End */ 478; 479; /* Start:"a:4:{s:4:"full";s:52:"/bitrix/templates/doctor/js/blind.js?169634001612037";s:6:"source";s:36:"/bitrix/templates/doctor/js/blind.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 480$(function() { 481 $('.blind-trigger').blindWorkaround(); 482 483 484 485}); 486 487(function($) { 488 489 $.fn.blindWorkaround = function(options) { 490 var siteTitle = $('.site-title'); 491 return this.each(function() { 492 var cont = $(this), 493 o = $.extend({}, $.fn.blindWorkaround.defaults, options, cont.data('blindWorkaround')), 494 b = $('body'), 495 header = siteTitle.length > 0 ? siteTitle : $('body'), 496 blindLine = '<div class="blind-line hidden">' + 497 '<div class="inner work clerfix">' + 498 '<div class="contrast-control">' +//color 499 '<span >ЦвеÑÐ¾Ð²Ð°Ñ Ð³Ð°Ð¼Ð¼Ð°</span>' + 500 '<a href="#" class="black-and-white ">Ðа</a>' + 501 '<a href="#" class="white-and-black">Ðа</a>' + 502 '<a href="#" class="black-and-blue">Ðа</a>' + 503 '<a href="#" class="brown-and-beige">Ðа</a>' + 504 '<a href="#" class="green-and-brown">Ðа</a>' + 505 '</div>' +//color 506 507 '<div class="spacing-control">' +//space 508 '<span >ÐеÑнинг</span>' + 509 '<a href="#" class="space_s">Ра а</a>' + 510 '<a href="#" class="space_m">Ра а</a>' + 511 '<a href="#" class="space_l">Ра а</a>' + 512 '</div>' +//space 513 514 '<div class="img-control">' +//img 515 '<span >ÐзобÑажениÑ</span>' + 516 '<p class="img_on" onclick="Img(1)"></p>' + 517 '<p class="img_gray" onclick="Img(2)"></p>' + 518 '<p class="imgoff" onclick="Img(3)"></p>' + 519 '</div>' +//img 520 521 '<div class="get-back">' +//back 522 '<a href="#">ÐбÑÑÐ½Ð°Ñ Ð²ÐµÑÑиÑ</a>' + 523 '</div>' +//back 524 525 '<div class="size-control">' +//size 526 '<span >РазмеÑ</span>' + 527 '<a href="#" class="font_s">Ðа</a>' + 528 '<a href="#" class="font_m">Ðа</a>' + 529 '<a href="#" class="font_l">Ðа</a>' + 530 '</div>' +//size 531 532 '<div class="interval-control">' +//interval 533 '<span >ÐнÑеÑвал</span>' + 534 '<a href="#" class="interval_s">Ðал.</a>' + 535 '<a href="#" class="interval_m">СÑед.</a>' + 536 '<a href="#" class="interval_l">Ðол.</a>' + 537 '</div>' +//interval 538 539 '<div class="family-control">' +//family 540 '<span >ШÑиÑÑ</span>' + 541 '<a href="#" class="roman">Times NR</a>' + 542 '<a href="#" class="arial">Arial</a>' + 543 '</div>' +//family 544 545 '<div class="get-reset">' +//reset 546 '<a href="#" onclick="blindReset()">СбÑÐ¾Ñ Ð½Ð°ÑÑÑоек</a>' + 547 '</div>' +//reset 548 549 550 '<p class="b24-web-form-popup-btn-19 rizon-srm">УÑÑановиÑÑ Ð½Ð° Ñвой ÑайÑ</p>' + 551 '</div>' + 552 '</div>', 553 blindLinks, getBack, 554 defaultClasses = 'black-and-white font_s'; 555 556 init();
557 function init() { 558 prepareBlindLine(); 559 bindTriggers(); 560 checkLocal(); 561 }; 562 563 function prepareBlindLine() { 564 header.prepend($(blindLine)); 565 blindLine = $('.blind-line'); 566 getBack = $('.get-back a', blindLine); 567 blindLinks = $('a', blindLine).not(getBack); 568 }; 569 570 function bindTriggers() { 571 cont 572 .off('click.turnonblind') 573 .on('click.turnonblind', function(e) { 574 e.preventDefault(); 575 if (b.hasClass('blindOn')) { 576 hideBlindLine(); 577 saveLocal(); 578 } else { 579 showBlindLine(true); 580 saveLocal(); 581 } 582 }); 583 584 getBack 585 .off('click.turnoffblind') 586 .on('click.turnoffblind', function(e) { 587 e.preventDefault(); 588 if (b.hasClass('blindOn')) { 589 hideBlindLine(); 590 saveLocal(); 591 } 592 }); 593 594 blindLinks 595 .off('click.triggerClass') 596 .on('click.triggerClass', function(e) { 597 e.preventDefault(); 598 el = $(this); 599 el.siblings().removeClass('active').each(function() { 600 b.removeClass($(this).attr('class')); 601 }); 602 b.addClass(el.attr('class')); 603 el.addClass('active'); 604 saveLocal(); 605 }); 606 }; 607 608 function showBlindLine(defaultRun) { 609 b.addClass('blindOn'); 610 if (defaultRun) { 611 b.addClass(defaultClasses); 612 } 613 blindLine.removeClass('hidden'); 614 if (x==1) { $("#text-to-speech").addClass('text-to-speech-on');} 615 }; 616 617 function hideBlindLine() { 618 var classes = ''; 619 blindLinks.each(function() { 620 classes += $(this).attr('class') + ' '; 621 }); 622 b.removeClass('blindOn'); 623 b.removeClass(classes); 624 blindLine.addClass('hidden'); 625 var trigger = localStorage.getItem("trigger"); 626 localStorage.setItem("trigger", 0); 627 $("body").removeClass("imgoff"); 628 $("body").removeClass("img_gray"); 629 $('.img-alt').remove(); 630 $(document).mouseup(function (e){ // attach the mouseup event for all div and pre tags 631 setTimeout(function() { // When clicking on a highlighted area, the value stays highlighted until after the mouseup event, and would therefore stil be captured by getSelection. This micro-timeout solves the issue. 632 responsiveVoice.cancel(); // stop anything currently being spoken 633 //speak the text as returned by getSelectionText 634 635 }, 0); 636 }); 637 638 639 $('a').mouseenter(function() { // Attach this function to all mouseenter events for 'a' tags 640 responsiveVoice.cancel(); // Cancel anything else that may currently be speaking 641 642 }); 643 644 $("#text-to-speech").removeClass('text-to-speech-on'); 645 x=0; 646 localStorage.setItem("x", x); 647 }; 648 649 function saveLocal() { 650 localStorage.setItem('bodyClasses', b.attr('class')); 651 }; 652 653 function checkLocal() { 654 var classes = localStorage.getItem('bodyClasses'); 655 if (classes) {
656 b.addClass(classes); 657 if (classes.indexOf('blindOn') > -1) { 658 showBlindLine(); 659 } 660 for (var i = 0; i < classes.split(' ').length; i++) { 661 $('.' + classes.split(' ')[i]).addClass('active'); 662 } 663 } 664 }; 665 666 }); 667 668 }; 669 670 $.fn.blindWorkaround.defaults = { 671 672 }; 673 674 675 676})(jQuery); 677 678 jQuery(document).ready(function() { 679 var trigger = localStorage.getItem("trigger"); 680 var blindImg = localStorage.getItem("blindImg"); 681 if (trigger == 1) { 682 683 if (blindImg == "imgoff") { 684 $("body").addClass("imgoff"); 685 $("body").removeClass("img_gray"); 686 $(".imgoff").addClass("active"); 687 $('img').each(function () { 688 $(this).after($('<span class="img-alt">').html($(this).attr('alt'))); 689 }) 690 } 691 if (blindImg == "img_gray") { 692 $("body").addClass("img_gray"); 693 $("body").removeClass("imgoff"); 694 $(".img_gray").addClass("active"); 695 } 696 } 697 698 }); 699 700 function Img(el){ 701 var blindImg = localStorage.getItem("blindImg"); 702 if (el==3) { 703 $("body").addClass("imgoff"); 704 $(".imgoff").addClass("active"); 705 if (blindImg != "imgoff"){ 706 $('img').each(function () { 707 $(this).after($('<span class="img-alt">').html($(this).attr('alt'))); 708 }) 709 } 710 localStorage.setItem("blindImg", "imgoff"); 711 712 $("body").removeClass("img_gray"); 713 $("body").removeClass("img_on"); 714 $(".img_on").removeClass("active"); 715 $(".img_gray").removeClass("active"); 716 } 717 if (el==2) { 718 $("body").addClass("img_gray"); 719 $(".img_gray").addClass("active"); 720 721 localStorage.setItem("blindImg", "img_gray"); 722 723 $("body").removeClass("img_on"); 724 $("body").removeClass("imgoff"); 725 $(".img_on").removeClass("active"); 726 $(".imgoff").removeClass("active"); 727 $('.img-alt').remove(); 728 729 } 730 if (el==1) { 731 $("body").addClass("img_on"); 732 $(".img_on").addClass("active"); 733 734 localStorage.setItem("blindImg", "img_on"); 735 736 $("body").removeClass("img_gray"); 737 $("body").removeClass("imgoff"); 738 $(".img_gray").removeClass("active"); 739 $(".imgoff").removeClass("active"); 740 $('.img-alt').remove(); 741 742 } 743 744 } 745 746 747 748 $(".blind-trigger").click(function () { 749 var trigger = localStorage.getItem("trigger"); 750 var blindImg = localStorage.getItem("blindImg"); 751 if (trigger == 0) { 752 localStorage.setItem("trigger", 1); 753 if (blindImg == "imgoff") { 754 $("body").addClass("imgoff"); 755 $(".imgoff").addClass("active"); 756 $('img').each(function () { 757 $(this).after($('<span class="img-alt">').html($(this).attr('alt'))); 758 }) 759 } 760 } 761 if (trigger == 1) { 762 localStorage.setItem("trigger", 0); 763 $("body").removeClass("imgoff"); 764 $('.img-alt').remove(); 765 } 766 else{ 767 localStorage.setItem("trigger", 1); 768 } 769 }); 770 771 /* 772 $(".get-back > a").click(function () { 773 var trigger = localStorage.getItem("trigger"); 774 $("body").removeClass("imgoff"); 775 $("body").removeClass("img_gray"); 776 $('.img-alt').remove(); 777 localStorage.setItem("trigger", 0); 778 }); 779*/ 780 781 782 function blindReset(){ 783 var blindImg = localStorage.getItem("blindImg"); 784 $("body").removeClass("imgoff"); 785 $("body").removeClass("img_gray"); 786 $('.img-alt').remove(); 787 localStorage.setItem("blindImg", ""); 788 789 var bodyClasses = localStorage.getItem("bodyClasses"); 790 $("body").removeClass(); 791 $("body").addClass("blindOn black-and-white font_l"); 792 localStorage.removeItem("bodyClasses"); 793 localStorage.setItem("bodyClasses", "blindOn black-and-white font_l"); 794 } 795/* End */ 796;; /* /bitrix/templates/doctor/js/libs.min.js?1696340016211627*/ 797; /* /bitrix/templates/doctor/js/jquery.mask.min.js?16963400167990*/ 798; /* /bitrix/templates/doctor/js/jquery.autocolumnlist.min.js?16963400161785*/ 799; /* /bitrix/templates/doctor/js/main.js?175085573411970*/ 800; /* /bitrix/templates/doctor/js/blind.js?169634001612037*/
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.