vendor: 13,850 bytes, line 1
1!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var ae=[],o=Object.getPrototypeOf,re=ae.slice,m=ae.flat?function(e){return ae.flat.call(e)}:function(e){return ae.concat.apply([],e)},s=ae.push,se=ae.indexOf,n={},i=n.toString,le=n.hasOwnProperty,a=le.toString,r=a.call(Object),ce={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=function(e){return null!=e&&e===e.window},x=ie.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var o,i,a=(n=n||x).createElement("script");if(a.text=e,t)for(o in l)(i=t[o]||t.getAttribute&&t.getAttribute(o))&&a.setAttribute(o,i);n.head.appendChild(a).parentNode.removeChild(a)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",c=/HTML$/i,ue=function(e,t){return new ue.fn.init(e,t)};function u(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!v(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function de(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ue.fn=ue.prototype={jquery:t,constructor:ue,length:0,toArray:function(){return re.call(this)},get:function(e){return null==e?re.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ue.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ue.each(this,e)},map:function(n){return this.pushStack(ue.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(re.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ue.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ue.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:ae.sort,splice:ae.splice},ue.extend=ue.fn.extend=function(){var e,t,n,o,i,a,r=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[s]||{},s++),"object"==typeof r||v(r)||(r={}),s===l&&(r=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)o=e[t],"__proto__"!==t&&r!==o&&(c&&o&&(ue.isPlainObject(o)||(i=Array.isArray(o)))?(n=r[t],a=i&&!Array.isArray(n)?[]:i||ue.isPlainObject(n)?n:{},i=!1,r[t]=ue.extend(c,a,o)):void 0!==o&&(r[t]=o));return r},ue.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e)||(t=o(e))&&("function"!=typeof(n=le.call(t,"constructor")&&t.constructor)||a.call(n)!==r))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,o=0;if(u(e))for(n=e.length;o<n&&!1!==t.call(e[o],o,e[o]);o++);else for(o in e)if(!1===t.call(e[o],o,e[o]))break;return e},text:function(e){var t,n="",o=0,i=e.nodeType;if(!i)for(;t=e[o++];)n+=ue.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(u(Object(e))?ue.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!c.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,o=0,i=e.length;o<n;o++)e[i++]=t[o];return e.length=i,e},grep:function(e,t,n){for(var o=[],i=0,a=e.length,r=!n;i<a;i++)!t(e[i],i)!==r&&o.push(e[i]);return o},map:function(e,t,n){var o,i,a=0,r=[];if(u(e))for(o=e.length;a<o;a++)null!=(i=t(e[a],a,n))&&r.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&r.push(i);return m(r)},guid:1,support:ce}),"function"==typeof Symbol&&(ue.fn[Symbol.iterator]=ae[Symbol.iterator]),ue.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=ae.pop,fe=ae.sort,he=ae.splice,me="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+me+"+|((?:^|[^\\\\])(?:\\\\.)*)"+me+"+$","g");ue.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var d=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ue.escapeSelector=function(e){return(e+"").replace(d,p)};var ge=x,ye=s;!function(){var e,C,T,a,r,w,o,x,f,i,S=ye,k=ue.expando,A=0,n=0,s=U(),u=U(),l=U(),h=U(),c=function(e,t){return e===t&&(r=!0),0},d="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+me+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+me+"*("+t+")(?:"+me+"*([*^$|!~]?=)"+me+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+me+"*\\]",m=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(me+"+","g"),g=new RegExp("^"+me+"*,"+me+"*"),y=new RegExp("^"+me+"*([>+~]|"+me+")"+me+"*"),b=new RegExp(me+"|>"),I=new RegExp(m),E=new RegExp("^"+t+"$"),_={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+m),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+me+"*(even|odd|(([+-]|)(\\d*)n|)"+me+"*(?:([+-]|)"+me+"*(\\d+)|))"+me+"*\\)|)","i"),bool:new RegExp("^(?:"+d+")$","i"),needsContext:new RegExp("^"+me+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+me+"*((?:-\\d)?\\d*)"+me+"*\\)|)(?=[^-]|$)","i")},L=/^(?:input|select|textarea|button)$/i,D=/^h\d$/i,F=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,M=/[+~]/,P=new RegExp("\\\\[\\da-fA-F]{1,6}"+me+"?|\\\\([^\\r\\n\\f])","g"),$=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},R=function(){Y()},N=J(function(e){return!0===e.disabled&&de(e,"fieldset")},{dir:"parentNode",next:"legend"});try{S.apply(ae=re.call(ge.childNodes),ge.childNodes),ae[ge.childNodes.length].nodeType}catch(e){S={apply:function(e,t){ye.apply(e,re.call(t))},call:function(e){ye.apply(e,re.call(arguments,1))}}}function W(e,t,n,o){var i,a,r,s,l,c,u,d=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!o&&(Y(t),t=t||w,x)){if(11!==p&&(l=F.exec(e)))if(i=l[1]){if(9===p){if(!(r=t.getElementById(i)))return n;if(r.id===i)return S.call(n,r),n}else if(d&&(r=d.getElementById(i))&&W.contains(t,r)&&r.id===i)return S.call(n,r),n}else{if(l[2])return S.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&t.getElementsByClassName)return S.apply(n,t.getElementsByClassName(i)),n}if(!(h[e+" "]||f&&f.test(e))){if(u=e,d=t,1===p&&(b.test(e)||y.test(e))){for((d=M.test(e)&&q(t.parentNode)||t)==t&&ce.scope||((s=t.getAttribute("id"))?s=ue.escapeSelector(s):t.setAttribute("id",s=k)),a=(c=X(e)).length;a--;)c[a]=(s?"#"+s:":scope")+" "+K(c[a]);u=c.join(",")}try{return S.apply(n,d.querySelectorAll(u)),n}catch(t){h(e,!0)}finally{s===k&&t.removeAttribute("id")}}}return oe(e.replace(ve,"$1"),t,n,o)}function U(){var o=[];return function e(t,n){return o.push(t+" ")>C.cacheLength&&delete e[o.shift()],e[t+" "]=n}}function j(e){return e[k]=!0,e}function O(e){var t=w.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return de(e,"input")&&e.type===t}}function H(t){return function(e){return(de(e,"input")||de(e,"button"))&&e.type===t}}function G(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&N(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function V(r){return j(function(a){return a=+a,j(function(e,t){for(var n,o=r([],e.length,a),i=o.length;i--;)e[n=o[i]]&&(e[n]=!(t[n]=e[n]))})})}function q(e){return e&&void 0!==e.getElementsByTagName&&e}function Y(e){var t,n=e?e.ownerDocument||e:ge;return n!=w&&9===n.nodeType&&n.documentElement&&(o=(w=n).documentElement,x=!ue.isXMLDoc(w),i=o.matches||o.webkitMatchesSelector||o.msMatchesSelector,o.msMatchesSelector&&ge!=w&&(t=w.defaultView)&&t.top!==t&&t.addEventListener("unload",R),ce.getById=O(function(e){return o.appendChild(e).id=ue.expando,!w.getElementsByName||!w.getElementsByName(ue.expando).length}),ce.disconnectedMatch=O(function(e){return i.call(e,"*")}),ce.scope=O(function(){return w.querySelectorAll(":scope")}),ce.cssHas=O(function(){try{return w.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),ce.getById?(C.filter.ID=function(e){var t=e.replace(P,$);return function(e){return e.getAttribute("id")===t}},C.find.ID=function(e,t){if(void 0!==t.getElementById&&x){var n=t.getElementById(e);return n?[n]:[]}}):(C.filter.ID=function(e){var n=e.replace(P,$);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},C.find.ID=function(e,t){if(void 0!==t.getElementById&&x){var n,o,i,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(i=t.getElementsByName(e),o=0;a=i[o++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),C.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},C.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&x)return t.getElementsByClassName(e)},f=[],O(function(e){var t;o.appendChild(e).innerHTML="<a id='"+k+"' href='' disabled='disabled'></a><select id='"+k+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||f.push("\\["+me+"*(?:value|"+d+")"),e.querySelectorAll("[id~="+k+"-]").length||f.push("~="),e.querySelectorAll("a#"+k+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=w.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),o.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=w.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+me+"*name"+me+"*="+me+"*(?:''|\"\")")}),ce.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),c=function(e,t){if(e===t)return r=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!ce.sortDetached&&t.compareDocumentPosition(e)===n?e===w||e.ownerDocument==ge&&W.contains(ge,e)?-1:t===w||t.ownerDocument==ge&&W.contains(ge,t)?1:a?se.call(a,e)-se.call(a,t):0:4&n?-1:1)}),w}for(e in W.matches=function(e,t){return W(e,null,null,t)},W.matchesSelector=function(e,t){if(Y(e),x&&!h[t+" "]&&(!f||!f.test(t)))try{var n=i.call(e,t);if(n||ce.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<W(t,w,null,[e]).length},W.contains=function(e,t){return(e.ownerDocument||e)!=w&&Y(e),ue.contains(e,t)},W.attr=function(e,t){(e.ownerDocument||e)!=w&&Y(e);var n=C.attrHandle[t.toLowerCase()],o=n&&le.call(C.attrHandle,t.toLowerCase())?n(e,t,!x):void 0;return void 0!==o?o:e.getAttribute(t)},W.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ue.uniqueSort=function(e){var t,n=[],o=0,i=0;if(r=!ce.sortStable,a=!ce.sortStable&&re.call(e,0),fe.call(e,c),r){for(;t=e[i++];)t===e[i]&&(o=n.push(i));for(;o--;)he.call(e,n[o],1)}return a=null,e},ue.fn.uniqueSort=function(){return this.pushStack(ue.uniqueSort(re.apply(this)))},(C=ue.expr={cacheLength:50,createPseudo:j,match:_,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(P,$),e[3]=(e[3]||e[4]||e[5]||"").replace(P,$),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||W.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&W.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return _.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&I.test(n)&&(t=X(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(P,$).toLowerCase();return"*"===e?function(){return!0}:function(e){return de(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+me+")"+e+"("+me+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,o,i){return function(e){var t=W.attr(e,n);return null==t?"!="===o:!o||(t+="","="===o?t===i:"!="===o?t!==i:"^="===o?i&&0===t.indexOf(i):"*="===o?i&&-1<t.indexOf(i):"$="===o?i&&t.slice(-i.length)===i:"~="===o?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===o&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(f,e,t,h,m){var v="nth"!==f.slice(0,3),g="last"!==f.slice(-4),y="of-type"===e;return 1===h&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var o,i,a,r,s,l=v!==g?"nextSibling":"previousSibling",c=e.parentNode,u=y&&e.nodeName.toLowerCase(),d=!n&&!y,p=!1;if(c){if(v){for(;l;){for(a=e;a=a[l];)if(y?de(a,u):1===a.nodeType)return!1;s=l="only"===f&&!s&&"nextSibling"}return!0}
vendor: 5,677 bytes, line 1
1if(s=[g?c.firstChild:c.lastChild],g&&d){for(p=(r=(o=(i=c[k]||(c[k]={}))[f]||[])[0]===A&&o[1])&&o[2],a=r&&c.childNodes[r];a=++r&&a&&a[l]||(p=r=0)||s.pop();)if(1===a.nodeType&&++p&&a===e){i[f]=[A,r,p];break}}else if(d&&(p=r=(o=(i=e[k]||(e[k]={}))[f]||[])[0]===A&&o[1]),!1===p)for(;(a=++r&&a&&a[l]||(p=r=0)||s.pop())&&((y?!de(a,u):1!==a.nodeType)||!++p||(d&&((i=a[k]||(a[k]={}))[f]=[A,p]),a!==e)););return(p-=m)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,a){var t,r=C.pseudos[e]||C.setFilters[e.toLowerCase()]||W.error("unsupported pseudo: "+e);return r[k]?r(a):1<r.length?(t=[e,e,"",a],C.setFilters.hasOwnProperty(e.toLowerCase())?j(function(e,t){for(var n,o=r(e,a),i=o.length;i--;)e[n=se.call(e,o[i])]=!(t[n]=o[i])}):function(e){return r(e,0,t)}):r}},pseudos:{not:j(function(e){var o=[],i=[],s=ne(e.replace(ve,"$1"));return s[k]?j(function(e,t,n,o){for(var i,a=s(e,null,o,[]),r=e.length;r--;)(i=a[r])&&(e[r]=!(t[r]=i))}):function(e,t,n){return o[0]=e,s(o,null,n,i),o[0]=null,!i.pop()}}),has:j(function(t){return function(e){return 0<W(t,e).length}}),contains:j(function(t){return t=t.replace(P,$),function(e){return-1<(e.textContent||ue.text(e)).indexOf(t)}}),lang:j(function(n){return E.test(n||"")||W.error("unsupported lang: "+n),n=n.replace(P,$).toLowerCase(),function(e){var t;do{if(t=x?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===o},focus:function(e){return e===function(){try{return w.activeElement}catch(e){}}()&&w.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:G(!1),disabled:G(!0),checked:function(e){return de(e,"input")&&!!e.checked||de(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return D.test(e.nodeName)},input:function(e){return L.test(e.nodeName)},button:function(e){return de(e,"input")&&"button"===e.type||de(e,"button")},text:function(e){var t;return de(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:V(function(){return[0]}),last:V(function(e,t){return[t-1]}),eq:V(function(e,t,n){return[n<0?n+t:n]}),even:V(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:V(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:V(function(e,t,n){var o;for(o=n<0?n+t:t<n?t:n;0<=--o;)e.push(o);return e}),gt:V(function(e,t,n){for(var o=n<0?n+t:n;++o<t;)e.push(o);return e})}}).pseudos.nth=C.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})C.pseudos[e]=H(e);function z(){}function X(e,t){var n,o,i,a,r,s,l,c=u[e+" "];if(c)return t?0:c.slice(0);for(r=e,s=[],l=C.preFilter;r;){for(a in n&&!(o=g.exec(r))||(o&&(r=r.slice(o[0].length)||r),s.push(i=[])),n=!1,(o=y.exec(r))&&(n=o.shift(),i.push({value:n,type:o[0].replace(ve," ")}),r=r.slice(n.length)),C.filter)!(o=_[a].exec(r))||l[a]&&!(o=l[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),r=r.slice(n.length));if(!n)break}return t?r.length:r?W.error(e):u(e,s).slice(0)}function K(e){for(var t=0,n=e.length,o="";t<n;t++)o+=e[t].value;return o}function J(r,e,t){var s=e.dir,l=e.next,c=l||s,u=t&&"parentNode"===c,d=n++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||u)return r(e,t,n);return!1}:function(e,t,n){var o,i,a=[A,d];if(n){for(;e=e[s];)if((1===e.nodeType||u)&&r(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||u)if(i=e[k]||(e[k]={}),l&&de(e,l))e=e[s]||e;else{if((o=i[c])&&o[0]===A&&o[1]===d)return a[2]=o[2];if((i[c]=a)[2]=r(e,t,n))return!0}return!1}}function Q(i){return 1<i.length?function(e,t,n){for(var o=i.length;o--;)if(!i[o](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,o,i){for(var a,r=[],s=0,l=e.length,c=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,o,i)||(r.push(a),c&&t.push(s)));return r}function ee(f,h,m,v,g,e){return v&&!v[k]&&(v=ee(v)),g&&!g[k]&&(g=ee(g,e)),j(function(e,t,n,o){var i,a,r,s,l=[],c=[],u=t.length,d=e||function(e,t,n){for(var o=0,i=t.length;o<i;o++)W(e,t[o],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!f||!e&&h?d:Z(d,l,f,n,o);if(m?m(p,s=g||(e?f:u||v)?[]:t,n,o):s=p,v)for(i=Z(s,c),v(i,[],n,o),a=i.length;a--;)(r=i[a])&&(s[c[a]]=!(p[c[a]]=r));if(e){if(g||f){if(g){for(i=[],a=s.length;a--;)(r=s[a])&&i.push(p[a]=r);g(null,s=[],i,o)}for(a=s.length;a--;)(r=s[a])&&-1<(i=g?se.call(e,r):l[a])&&(e[i]=!(t[i]=r))}}else s=Z(s===t?s.splice(u,s.length):s),g?g(null,t,s,o):S.apply(t,s)})}function te(e){for(var i,t,n,o=e.length,a=C.relative[e[0].type],r=a||C.relative[" "],s=a?1:0,l=J(function(e){return e===i},r,!0),c=J(function(e){return-1<se.call(i,e)},r,!0),u=[function(e,t,n){var o=!a&&(n||t!=T)||((i=t).nodeType?l(e,t,n):c(e,t,n));return i=null,o}];s<o;s++)if(t=C.relative[e[s].type])u=[J(Q(u),t)];else{if((t=C.filter[e[s].type].apply(null,e[s].matches))[k]){for(n=++s;n<o&&!C.relative[e[n].type];n++);return ee(1<s&&Q(u),1<s&&K(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<o&&te(e=e.slice(n)),n<o&&K(e))}u.push(t)}return Q(u)}function ne(e,t){var n,v,g,y,b,o,i=[],a=[],r=l[e+" "];if(!r){for(t||(t=X(e)),n=t.length;n--;)(r=te(t[n]))[k]?i.push(r):a.push(r);(r=l(e,(v=a,y=0<(g=i).length,b=0<v.length,o=function(e,t,n,o,i){var a,r,s,l=0,c="0",u=e&&[],d=[],p=T,f=e||b&&C.find.TAG("*",i),h=A+=null==p?1:Math.random()||.1,m=f.length;for(i&&(T=t==w||t||i);c!==m&&null!=(a=f[c]);c++){if(b&&a){for(r=0,t||a.ownerDocument==w||(Y(a),n=!x);s=v[r++];
1)if(s(a,t||w,n)){S.call(o,a);break}i&&(A=h)}y&&((a=!s&&a)&&l--,e&&u.push(a))}if(l+=c,y&&c!==l){for(r=0;s=g[r++];)s(u,d,t,n);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=pe.call(o));d=Z(d)}S.apply(o,d),i&&!e&&0<d.length&&1<l+g.length&&ue.uniqueSort(o)}return i&&(A=h,T=p),u},y?j(o):o))).selector=e}return r}function oe(e,t,n,o){var i,a,r,s,l,c="function"==typeof e&&e,u=!o&&X(e=c.selector||e);if(n=n||[],1===u.length){if(2<(a=u[0]=u[0].slice(0)).length&&"ID"===(r=a[0]).type&&9===t.nodeType&&x&&C.relative[a[1].type]){if(!(t=(C.find.ID(r.matches[0].replace(P,$),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(i=_.needsContext.test(e)?0:a.length;i--&&(r=a[i],!C.relative[s=r.type]);)if((l=C.find[s])&&(o=l(r.matches[0].replace(P,$),M.test(a[0].type)&&q(t.parentNode)||t))){if(a.splice(i,1),!(e=o.length&&K(a)))return S.apply(n,o),n;break}}return(c||ne(e,u))(o,t,!x,n,!t||M.test(e)&&q(t.parentNode)||t),n}z.prototype=C.filters=C.pseudos,C.setFilters=new z,ce.sortStable=k.split("").sort(c).join("")===k,Y(),ce.sortDetached=O(function(e){return 1&e.compareDocumentPosition(w.createElement("fieldset"))}),ue.find=W,ue.expr[":"]=ue.expr.pseudos,ue.unique=ue.uniqueSort,W.compile=ne,W.select=oe,W.setDocument=Y,W.tokenize=X,W.escape=ue.escapeSelector,W.getText=ue.text,W.isXML=ue.isXMLDoc,W.selectors=ue.expr,W.support=ue.supp
vendor: 13,234 bytes, line 1
1ort,W.uniqueSort=ue.uniqueSort}();var f=function(e,t,n){for(var o=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&ue(e).is(n))break;o.push(e)}return o},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},C=ue.expr.match.needsContext,T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function w(e,n,o){return v(n)?ue.grep(e,function(e,t){return!!n.call(e,t,e)!==o}):n.nodeType?ue.grep(e,function(e){return e===n!==o}):"string"!=typeof n?ue.grep(e,function(e){return-1<se.call(n,e)!==o}):ue.filter(n,e,o)}ue.filter=function(e,t,n){var o=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===o.nodeType?ue.find.matchesSelector(o,e)?[o]:[]:ue.find.matches(e,ue.grep(t,function(e){return 1===e.nodeType}))},ue.fn.extend({find:function(e){var t,n,o=this.length,i=this;if("string"!=typeof e)return this.pushStack(ue(e).filter(function(){for(t=0;t<o;t++)if(ue.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<o;t++)ue.find(e,i[t],n);return 1<o?ue.uniqueSort(n):n},filter:function(e){return this.pushStack(w(this,e||[],!1))},not:function(e){return this.pushStack(w(this,e||[],!0))},is:function(e){return!!w(this,"string"==typeof e&&C.test(e)?ue(e):e||[],!1).length}});var S,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ue.fn.init=function(e,t,n){var o,i;if(!e)return this;if(n=n||S,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:k.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof ue?t[0]:t,ue.merge(this,ue.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:x,!0)),T.test(o[1])&&ue.isPlainObject(t))for(o in t)v(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(i=x.getElementById(o[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ue):ue.makeArray(e,this)}).prototype=ue.fn,S=ue(x);var A=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function E(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}ue.fn.extend({has:function(e){var t=ue(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ue.contains(this,t[e]))return!0})},closest:function(e,t){var n,o=0,i=this.length,a=[],r="string"!=typeof e&&ue(e);if(!C.test(e))for(;o<i;o++)for(n=this[o];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&ue.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(1<a.length?ue.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?se.call(ue(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ue.uniqueSort(ue.merge(this.get(),ue(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ue.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return f(e,"parentNode")},parentsUntil:function(e,t,n){return f(e,"parentNode",n)},next:function(e){return E(e,"nextSibling")},prev:function(e){return E(e,"previousSibling")},nextAll:function(e){return f(e,"nextSibling")},prevAll:function(e){return f(e,"previousSibling")},nextUntil:function(e,t,n){return f(e,"nextSibling",n)},prevUntil:function(e,t,n){return f(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(de(e,"template")&&(e=e.content||e),ue.merge([],e.childNodes))}},function(o,i){ue.fn[o]=function(e,t){var n=ue.map(this,i,e);return"Until"!==o.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ue.filter(t,n)),1<this.length&&(I[o]||ue.uniqueSort(n),A.test(o)&&n.reverse()),this.pushStack(n)}});var _=/[^\x20\t\r\n\f]+/g;function L(e){return e}function D(e){throw e}function F(e,t,n,o){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(o))}catch(e){n.apply(void 0,[e])}}ue.Callbacks=function(o){var e,n;o="string"==typeof o?(e=o,n={},ue.each(e.match(_)||[],function(e,t){n[t]=!0}),n):ue.extend({},o);var i,t,a,r,s=[],l=[],c=-1,u=function(){for(r=r||o.once,a=i=!0;l.length;c=-1)for(t=l.shift();++c<s.length;)!1===s[c].apply(t[0],t[1])&&o.stopOnFalse&&(c=s.length,t=!1);o.memory||(t=!1),i=!1,r&&(s=t?[]:"")},d={add:function(){return s&&(t&&!i&&(c=s.length-1,l.push(t)),function n(e){ue.each(e,function(e,t){v(t)?o.unique&&d.has(t)||s.push(t):t&&t.length&&"string"!==b(t)&&n(t)})}(arguments),t&&!i&&u()),this},remove:function(){return ue.each(arguments,function(e,t){for(var n;-1<(n=ue.inArray(t,s,n));)s.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<ue.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return r=l=[],s=t="",this},disabled:function(){return!s},lock:function(){return r=l=[],t||i||(s=t=""),this},locked:function(){return!!r},fireWith:function(e,t){return r||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),i||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!a}};return d},ue.extend({Deferred:function(e){var a=[["notify","progress",ue.Callbacks("memory"),ue.Callbacks("memory"),2],["resolve","done",ue.Callbacks("once memory"),ue.Callbacks("once memory"),0,"resolved"],["reject","fail",ue.Callbacks("once memory"),ue.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var i=arguments;return ue.Deferred(function(o){ue.each(a,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(o.notify).done(o.resolve).fail(o.reject):o[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,o){var l=0;function c(i,a,r,s){return function(){var n=this,o=arguments,e=function(){var e,t;if(!(i<l)){if((e=r.apply(n,o))===a.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,c(l,a,L,s),c(l,a,D,s)):(l++,t.call(e,c(l,a,L,s),c(l,a,D,s),c(l,a,L,a.notifyWith))):(r!==L&&(n=void 0,o=[e]),(s||a.resolveWith)(n,o))}},t=s?e:function(){try{e()}catch(e){ue.Deferred.exceptionHook&&ue.Deferred.exceptionHook(e,t.error),l<=i+1&&(r!==D&&(n=void 0,o=[e]),a.rejectWith(n,o))}};i?t():(ue.Deferred.getErrorHook?t.error=ue.Deferred.getErrorHook():ue.Deferred.getStackHook&&(t.error=ue.Deferred.getStackHook()),ie.setTimeout(t))}}return ue.Deferred(function(e){a[0][3].add(c(0,e,v(o)?o:L,e.notifyWith)),a[1][3].add(c(0,e,v(t)?t:L)),a[2][3].add(c(0,e,v(n)?n:D))}).promise()},promise:function(e){return null!=e?ue.extend(e,r):r}},s={};return ue.each(a,function(e,t){var n=t[2],o=t[5];r[t[1]]=n.add,o&&n.add(function(){i=o},a[3-e][2].disable,a[3-e][3].disable,a[0][2].lock,a[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),r.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,o=Array(t),i=re.call(arguments),a=ue.Deferred(),r=function(t){return function(e){o[t]=this,i[t]=1<arguments.length?re.call(arguments):e,--n||a.resolveWith(o,i)}};if(n<=1&&(F(e,a.done(r(t)).resolve,a.reject,!n),"pending"===a.state()||v(i[t]&&i[t].then)))return a.then();for(;t--;)F(i[t],r(t),a.reject);return a.promise()}});var M=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ue.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&M.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ue.readyException=function(e){ie.setTimeout(function(){throw e})};var P=ue.Deferred();function $(){x.removeEventListener("DOMContentLoaded",$),ie.removeEventListener("load",$),ue.ready()}ue.fn.ready=function(e){return P.then(e).catch(function(e){ue.readyException(e)}),this},ue.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ue.readyWait:ue.isReady)||(ue.isReady=!0)!==e&&0<--ue.readyWait||P.resolveWith(x,[ue])}}),ue.ready.then=P.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?ie.setTimeout(ue.ready):(x.addEventListener("DOMContentLoaded",$),ie.addEventListener("load",$));var R=function(e,t,n,o,i,a,r){var s=0,l=e.length,c=null==n;if("object"===b(n))for(s in i=!0,n)R(e,t,s,n[s],!0,a,r);else if(void 0!==o&&(i=!0,v(o)||(r=!0),c&&(r?(t.call(e,o),t=null):(c=t,t=function(e,t,n){return c.call(ue(e),n)})),t))for(;s<l;s++)t(e[s],n,r?o:o.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):a},N=/^-ms-/,W=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function j(e){return e.replace(N,"ms-").replace(W,U)}var O=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ue.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},O(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var o,i=this.cache(e);if("string"==typeof t)i[j(t)]=n;else for(o in t)i[j(o)]=t[o];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][j(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,o=e[this.expando];if(void 0!==o){if(void 0!==t){n=(t=Array.isArray(t)?t.map(j):(t=j(t))in o?[t]:t.match(_)||[]).length;for(;n--;)delete o[t[n]]}(void 0===t||ue.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ue.isEmptyObject(t)}};var H=new B,G=new B,V=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,q=/[A-Z]/g;function Y(e,t,n){var o,i;if(void 0===n&&1===e.nodeType)if(o="data-"+t.replace(q,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(o))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:V.test(i)?JSON.parse(i):i)}catch(e){}G.set(e,t,n)}else n=void 0;return n}ue.extend({hasData:function(e){return G.hasData(e)||H.hasData(e)},data:function(e,t,n){return G.access(e,t,n)},removeData:function(e,t){G.remove(e,t)},_data:function(e,t,n){return H.access(e,t,n)},_removeData:function(e,t){H.remove(e,t)}}),ue.fn.extend({data:function(n,e){var t,o,i,a=this[0],r=a&&a.attributes;if(void 0===n){if(this.length&&(i=G.get(a),1===a.nodeType&&!H.get(a,"hasDataAttrs"))){for(t=r.length;t--;)r[t]&&0===(o=r[t].name).indexOf("data-")&&(o=j(o.slice(5)),Y(a,o,i[o]));H.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){G.set(this,n)}):R(this,function(e){var t;if(a&&void 0===e)return void 0!==(t=G.get(a,n))?t:void 0!==(t=Y(a,n))?t:void 0;this.each(function(){G.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){G.remove(this,e)})}}),ue.extend({queue:function(e,t,n){var o;if(e)return t=(t||"fx")+"queue",o=H.get(e,t),n&&(!o||Array.isArray(n)?o=H.access(e,t,ue.makeArray(n)):o.push(n)),o||[]},dequeue:function(e,t){t=t||"fx";var n=ue.queue(e,t),o=n.length,i=n.shift(),a=ue._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),o--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,function(){ue.dequeue(e,t)},a)),!o&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return H.get(e,n)||H.access(e,n,{empty:ue.Callbacks("once memory").add(function(){H.remove(e,[t+"queue",n])})})}}),ue.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ue.queue(this[0],t):void 0===n?this:this.each(function(){var e=ue.queue(this,t,n);ue._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ue.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ue.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,o=1,i=ue.Deferred(),a=this,r=this.length,s=function(){--o||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";r--;)(n=H.get(a[r],e+"queueHooks"))&&n.empty&&(o++,n.empty.add(s));return s(),i.promise(t)}});var z=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,X=new RegExp("^(?:([+-])=|)("+z+")([a-z%]*)$","i"),K=["Top","Right","Bottom","Left"],J=x.documentElement,Q=function(e){return ue.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(Q=function(e){return ue.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&Q(e)&&"none"===ue.css(e,"display")};function te(e,t,n,o){var i,a,r=20,s=o?function(){return o.cur()}:function(){return ue.css(e,t,"")},l=s(),c=n&&n[3]||(ue.cssNumber[t]?"":"px"),u=e.nodeType&&(ue.cssNumber[t]||"px"!==c&&+l)&&X.exec(ue.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;r--;)ue.style(e,t,u+c),(1-a)*(1-(a=s()/l||.5))<=0&&(r=0),u/=a;u*=2,ue.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],o&&(o.unit=c,o.start=u,o.end=i)),i}var ne={};function oe(e,t){for(var n,o,i,a,r,s,l,c=[],u=0,d=e.length;u<d;u++)(o=e[u]).style&&(n=o.style.display,t?("none"===n&&(c[u]=H.get(o,"display")||null,c[u]||(o.style.display="")),""===o.style.display&&ee(o)&&
vendor: 5,730 bytes, line 1
1(c[u]=(l=r=a=void 0,r=(i=o).ownerDocument,s=i.nodeName,(l=ne[s])||(a=r.body.appendChild(r.createElement(s)),l=ue.css(a,"display"),a.parentNode.removeChild(a),"none"===l&&(l="block"),ne[s]=l)))):"none"!==n&&(c[u]="none",H.set(o,"display",n)));for(u=0;u<d;u++)null!=c[u]&&(e[u].style.display=c[u]);return e}ue.fn.extend({show:function(){return oe(this,!0)},hide:function(){return oe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ue(this).show():ue(this).hide()})}});var be,Ce,Te=/^(?:checkbox|radio)$/i,we=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,xe=/^$|^module$|\/(?:java|ecma)script/i;be=x.createDocumentFragment().appendChild(x.createElement("div")),(Ce=x.createElement("input")).setAttribute("type","radio"),Ce.setAttribute("checked","checked"),Ce.setAttribute("name","t"),be.appendChild(Ce),ce.checkClone=be.cloneNode(!0).cloneNode(!0).lastChild.checked,be.innerHTML="<textarea>x</textarea>",ce.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue,be.innerHTML="<option></option>",ce.option=!!be.lastChild;var Se={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 ke(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&de(e,t)?ue.merge([e],n):n}function Ae(e,t){for(var n=0,o=e.length;n<o;n++)H.set(e[n],"globalEval",!t||H.get(t[n],"globalEval"))}Se.tbody=Se.tfoot=Se.colgroup=Se.caption=Se.thead,Se.th=Se.td,ce.option||(Se.optgroup=Se.option=[1,"<select multiple='multiple'>","</select>"]);var Ie=/<|&#?\w+;/;function Ee(e,t,n,o,i){for(var a,r,s,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((a=e[f])||0===a)if("object"===b(a))ue.merge(p,a.nodeType?[a]:a);else if(Ie.test(a)){for(r=r||d.appendChild(t.createElement("div")),s=(we.exec(a)||["",""])[1].toLowerCase(),l=Se[s]||Se._default,r.innerHTML=l[1]+ue.htmlPrefilter(a)+l[2],u=l[0];u--;)r=r.lastChild;ue.merge(p,r.childNodes),(r=d.firstChild).textContent=""}else p.push(t.createTextNode(a));for(d.textContent="",f=0;a=p[f++];)if(o&&-1<ue.inArray(a,o))i&&i.push(a);else if(c=Q(a),r=ke(d.appendChild(a),"script"),c&&Ae(r),n)for(u=0;a=r[u++];)xe.test(a.type||"")&&n.push(a);return d}var _e=/^([^.]*)(?:\.(.+)|)/;function Le(){return!0}function De(){return!1}function Fe(e,t,n,o,i,a){var r,s;if("object"==typeof t){for(s in"string"!=typeof n&&(o=o||n,n=void 0),t)Fe(e,s,n,o,t[s],a);return e}if(null==o&&null==i?(i=n,o=n=void 0):null==i&&("string"==typeof n?(i=o,o=void 0):(i=o,o=n,n=void 0)),!1===i)i=De;else if(!i)return e;return 1===a&&(r=i,(i=function(e){return ue().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=ue.guid++)),e.each(function(){ue.event.add(this,t,i,o,n)})}function Me(e,o,t){t?(H.set(e,o,!1),ue.event.add(e,o,{namespace:!1,handler:function(e){var t,n=H.get(this,o);if(1&e.isTrigger&&this[o]){if(n)(ue.event.special[o]||{}).delegateType&&e.stopPropagation();else if(n=re.call(arguments),H.set(this,o,n),this[o](),t=H.get(this,o),H.set(this,o,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(H.set(this,o,ue.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Le)}})):void 0===H.get(e,o)&&ue.event.add(e,o,Le)}ue.event={global:{},add:function(t,e,n,o,i){var a,r,s,l,c,u,d,p,f,h,m,v=H.get(t);if(O(t))for(n.handler&&(n=(a=n).handler,i=a.selector),i&&ue.find.matchesSelector(J,i),n.guid||(n.guid=ue.guid++),(l=v.events)||(l=v.events=Object.create(null)),(r=v.handle)||(r=v.handle=function(e){return void 0!==ue&&ue.event.triggered!==e.type?ue.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(_)||[""]).length;c--;)f=m=(s=_e.exec(e[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=ue.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=ue.event.special[f]||{},u=ue.extend({type:f,origType:m,data:o,handler:n,guid:n.guid,selector:i,needsContext:i&&ue.expr.match.needsContext.test(i),namespace:h.join(".")},a),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,o,h,r)||t.addEventListener&&t.addEventListener(f,r)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),ue.event.global[f]=!0)},remove:function(e,t,n,o,i){var a,r,s,l,c,u,d,p,f,h,m,v=H.hasData(e)&&H.get(e);if(v&&(l=v.events)){for(c=(t=(t||"").match(_)||[""]).length;c--;)if(f=m=(s=_e.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=ue.event.special[f]||{},p=l[f=(o?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=a=p.length;a--;)u=p[a],!i&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||o&&o!==u.selector&&("**"!==o||!u.selector)||(p.splice(a,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));r&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,v.handle)||ue.removeEvent(e,f,v.handle),delete l[f])}else for(f in l)ue.event.remove(e,f+t[c],n,o,!0);ue.isEmptyObject(l)&&H.remove(e,"handle events")}},dispatch:function(e){var t,n,o,i,a,r,s=new Array(arguments.length),l=ue.event.fix(e),c=(H.get(this,"events")||Object.create(null))[l.type]||[],u=ue.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(r=ue.event.handlers.call(this,l,c),t=0;(i=r[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==a.namespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,void 0!==(o=((ue.event.special[a.origType]||{}
vendor: 10,041 bytes, line 1
1).handle||a.handler).apply(i.elem,s))&&!1===(l.result=o)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,o,i,a,r,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],r={},n=0;n<l;n++)void 0===r[i=(o=t[n]).selector+" "]&&(r[i]=o.needsContext?-1<ue(i,this).index(c):ue.find(i,this,null,[c]).length),r[i]&&a.push(o);a.length&&s.push({elem:c,handlers:a})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(t,e){Object.defineProperty(ue.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ue.expando]?e:new ue.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&de(t,"input")&&Me(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&de(t,"input")&&Me(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&de(t,"input")&&H.get(t,"click")||de(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ue.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ue.Event=function(e,t){if(!(this instanceof ue.Event))return new ue.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Le:De,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ue.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ue.expando]=!0},ue.Event.prototype={constructor:ue.Event,isDefaultPrevented:De,isPropagationStopped:De,isImmediatePropagationStopped:De,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Le,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Le,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Le,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ue.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ue.event.addProp),ue.each({focus:"focusin",blur:"focusout"},function(o,i){function a(e){if(x.documentMode){var t=H.get(this,"handle"),n=ue.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ue.event.simulate(i,e.target,ue.event.fix(e))}ue.event.special[o]={setup:function(){var e;if(Me(this,o,!0),!x.documentMode)return!1;(e=H.get(this,i))||this.addEventListener(i,a),H.set(this,i,(e||0)+1)},trigger:function(){return Me(this,o),!0},teardown:function(){var e;if(!x.documentMode)return!1;(e=H.get(this,i)-1)?H.set(this,i,e):(this.removeEventListener(i,a),H.remove(this,i))},_default:function(e){return H.get(e.target,o)},delegateType:i},ue.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=x.documentMode?this:e,n=H.get(t,i);n||(x.documentMode?this.addEventListener(i,a):e.addEventListener(o,a,!0)),H.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=x.documentMode?this:e,n=H.get(t,i)-1;n?H.set(t,i,n):(x.documentMode?this.removeEventListener(i,a):e.removeEventListener(o,a,!0),H.remove(t,i))}}}),ue.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ue.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,o=e.handleObj;return n&&(n===this||ue.contains(this,n))||(e.type=o.origType,t=o.handler.apply(this,arguments),e.type=i),t}}}),ue.fn.extend({on:function(e,t,n,o){return Fe(this,e,t,n,o)},one:function(e,t,n,o){return Fe(this,e,t,n,o,1)},off:function(e,t,n){var o,i;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,ue(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=De),this.each(function(){ue.event.remove(this,e,n,t)})}});var Pe=/<script|<style|<link/i,$e=/checked\s*(?:[^=]|=\s*.checked.)/i,Re=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ne(e,t){return de(e,"table")&&de(11!==t.nodeType?t:t.firstChild,"tr")&&ue(e).children("tbody")[0]||e}function We(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ue(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function je(e,t){var n,o,i,a,r,s;if(1===t.nodeType){if(H.hasData(e)&&(s=H.get(e).events))for(i in H.remove(t,"handle events"),s)for(n=0,o=s[i].length;n<o;n++)ue.event.add(t,i,s[i][n]);G.hasData(e)&&(a=G.access(e),r=ue.extend({},a),G.set(t,r))}}function Oe(n,o,i,a){o=m(o);var e,t,r,s,l,c,u=0,d=n.length,p=d-1,f=o[0],h=v(f);if(h||1<d&&"string"==typeof f&&!ce.checkClone&&$e.test(f))return n.each(function(e){var t=n.eq(e);h&&(o[0]=f.call(this,e,t.html())),Oe(t,o,i,a)});if(d&&(t=(e=Ee(o,n[0].ownerDocument,!1,n,a)).firstChild,1===e.childNodes.length&&(e=t),t||a)){for(s=(r=ue.map(ke(e,"script"),We)).length;u<d;u++)l=e,u!==p&&(l=ue.clone(l,!0,!0),s&&ue.merge(r,ke(l,"script"))),i.call(n[u],l,u);if(s)for(c=r[r.length-1].ownerDocument,ue.map(r,Ue),u=0;u<s;u++)l=r[u],xe.test(l.type||"")&&!H.access(l,"globalEval")&&ue.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?ue._evalUrl&&!l.noModule&&ue._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):y(l.textContent.replace(Re,""),l,c))}return n}function Be(e,t,n){for(var o,i=t?ue.filter(t,e):e,a=0;null!=(o=i[a]);a++)n||1!==o.nodeType||ue.cleanData(ke(o)),o.parentNode&&(n&&Q(o)&&Ae(ke(o,"script")),o.parentNode.removeChild(o));return e}ue.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var o,i,a,r,s,l,c,u=e.cloneNode(!0),d=Q(e);if(!(ce.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ue.isXMLDoc(e)))for(r=ke(u),o=0,i=(a=ke(e)).length;o<i;o++)s=a[o],"input"===(c=(l=r[o]).nodeName.toLowerCase())&&Te.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(n)for(a=a||ke(e),r=r||ke(u),o=0,i=a.length;o<i;o++)je(a[o],r[o]);else je(e,u);return 0<(r=ke(u,"script")).length&&Ae(r,!d&&ke(e,"script")),u},cleanData:function(e){for(var t,n,o,i=ue.event.special,a=0;void 0!==(n=e[a]);a++)if(O(n)){if(t=n[H.expando]){if(t.events)for(o in t.events)i[o]?ue.event.remove(n,o):ue.removeEvent(n,o,t.handle);n[H.expando]=void 0}n[G.expando]&&(n[G.expando]=void 0)}}}),ue.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return R(this,function(e){return void 0===e?ue.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Oe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)})},prepend:function(){return Oe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Oe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Oe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ue.cleanData(ke(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ue.clone(this,e,t)})},html:function(e){return R(this,function(e){var t=this[0]||{},n=0,o=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Pe.test(e)&&!Se[(we.exec(e)||["",""])[1].toLowerCase()]){e=ue.htmlPrefilter(e);try{for(;n<o;n++)1===(t=this[n]||{}).nodeType&&(ue.cleanData(ke(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Oe(this,arguments,function(e){var t=this.parentNode;ue.inArray(this,n)<0&&(ue.cleanData(ke(this)),t&&t.replaceChild(e,this))},n)}}),ue.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,r){ue.fn[e]=function(e){for(var t,n=[],o=ue(e),i=o.length-1,a=0;a<=i;a++)t=a===i?this:this.clone(!0),ue(o[a])[r](t),s.apply(n,t.get());return this.pushStack(n)}});var He=new RegExp("^("+z+")(?!px)[a-z%]+$","i"),Ge=/^--/,Ve=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},qe=function(e,t,n){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in o=n.call(e),t)e.style[i]=a[i];return o},Ye=new RegExp(K.join("|"),"i");function ze(e,t,n){var o,i,a,r,s=Ge.test(t),l=e.style;return(n=n||Ve(e))&&(r=n.getPropertyValue(t)||n[t],s&&r&&(r=r.replace(ve,"$1")||void 0),""!==r||Q(e)||(r=ue.style(e,t)),!ce.pixelBoxStyles()&&He.test(r)&&Ye.test(t)&&(o=l.width,i=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=n.width,l.width=o,l.minWidth=i,l.maxWidth=a)),void 0!==r?r+"":r}function Xe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){l.style.cssText="position:absolute;
1left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(l).appendChild(c);var e=ie.getComputedStyle(c);n="1%"!==e.top,s=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),o=36===t(e.width),c.style.position="absolute",i=12===t(c.offsetWidth/3),J.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,r,s,l=x.createElement("div"),c=x.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ce.clearCloneStyle="content-box"===c.style.backgroundClip,ue.extend(ce,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==r&&(e=x.createElement("table"),t=x.createElement("tr"),n=x.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),o=ie.getComputedStyle(t),r=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),r}}))}();var Ke=["Webkit","Moz","ms"],Je=x.createElement("div").style,Qe={};function Ze(e){return ue.cssProps[e]||Qe[e]||(e in Je?e:Qe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;n--;)if((e=Ke[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function ot(e,t,n){var o=X.exec(t);return o?Math.max(0,o[2]-(n||0))+(o[3]||"px"):t}function it(e,t,n,o,i,a){var r="width"===t?1:0,s=0,l=0,c=0;if(n===(o?"border":"content"))return 0;for(;r<4;r+=2)"margin"===n&&(c+=ue.css(e,n+K[r],!0,i)),o?("content"===n&&(l-=ue.css(e,"padding"+K[r],!0,i)),"margin"!==n&&(l-=ue.css(e,"border"+K[r]+"Width",!0,i))):(l+=ue.css(e,"padding"+K[r],!0,i),"padding"!==n?l+=ue.css(e,"border"+K[r]+"Width",!0,i):s+=ue.css(e,"border"+K[r]+"Width",!0,i));return!o&&0<=a&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l+c}function at(e,t,n){var o=Ve(e),i=(!ce.boxSizingReliable()||n)&&"border-box"===ue.css(e,"boxSizing",!1,o),a=i,r=ze(e,t,o),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(r)){if(!n)return r;r="auto"}return(!ce.boxSizingReliable()&&i||!ce.reliableTrDimensions()&&de(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===ue.css(e,"display",!1,o))&&e.getClientRects().length&&(i="border-box"===ue.css(e,"boxSizing",!1,o),(a=s in e)&&(r=e[s])),(r=parseFloat(r)||0)+it(e,t,n||(i?"border":"content"),a,o,r)+"px"}function rt(e,t,n,o,i){return new rt.prototype.init(e,t,n,o,i)}ue.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,r,s=j(t),l=Ge.test(t),c=e.style;if(l||(t=Ze(s)),r=ue.cssHooks[t]||ue.cssHooks[s],void 0===n)return r&&"get"in r&&void 0!==(i=r.get(e,!1,o))?i:c[t];"string"==(a=typeof n)&&(i=X.exec(n))&&i[1]&&(n=te(e,t,i),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=i&&i[3]||(ue.cssNumber[s]?"":"px")),ce.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,o))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,o){var i,a,r,s=j(t);return Ge.test(t)||(t=Ze(s)),(r=ue.cssHooks[t]||ue.cssHooks[s])&&"get"in r&&(i=r.get(e,!0,n)),void 0===i&&(i=ze(e,t,o)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),ue.each(["height","width"],function(e,l){ue.cssHooks[l]={get:function(e,t,n){if(t)return!et.test(ue.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?at(e,l,n):qe(e,tt,function(){return at(e,l,n)})},set:function(e,t,n){var o,i=Ve(e),a=!ce.scrollboxSize()&&"absolute"===i.position,r=(a||n)&&"border-box"===ue.css(e,"boxSizing",!1,i),s=n?it(e,l,n,r,i):0;return r&&a&&(s-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(i[l])-it(e,l,"border",!1,i)-.5)),s&&(o=X.exec(t))&&"px"!==(o[3]||"px")&&(e.style[l]=t,t=ue.css(e,l)),ot(0,t,s)}}}),ue.cssHooks.marginLeft=Xe(ce.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-qe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ue.each({margin:"",padding:"",border:"Width"},function(i,a){ue.cssHooks[i+a]={expand:function(e){for(var t=0,n={},o="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+K[t]+a]=o[t]||o[t-2]||o[0];return n}},"margin"!==i&&(ue.cssHooks[i+a].set=ot)}),ue.fn.extend({css:function(e,t){return R(this,function(e,t,n){var o,i,a={},r=0;if(Array.isArray(t)){for(o=Ve(e),i=t.length;r<i;r++)a[t[r]]=ue.css(e,t[r],!1,o);return a}return void 0!==n?ue.style(e,t,n):ue.css(e,t)},e,t,1<arguments.length)}}),((ue.Tween=rt).prototype={constructor:rt,init:function(e,t,n,o,i,a){this.elem=e,this.prop=n,this.easing=i||ue.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=a||(ue.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=ue.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}}).init.prototype=rt.prototype,(rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ue.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ue.fx.step[e.prop]?ue.fx.step[e.prop](e):1!==e.elem.nodeType||!ue.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ue.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ue.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ue.fx=rt.prototype.init,ue.fx.step={};var st,lt,ct,ut,dt=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function ft(){lt&&(!1===x.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(ft):ie.setTimeout(ft,ue.fx.interval),ue.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function mt(e,t){var n,o=0,i={height:e};for(t=t?1:0;o<4;o+=2-t)i["margin"+(n=K[o])]=i["padding"+n]=e;
vendor: 16,082 bytes, line 1
1return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var o,i=(gt.tweeners[t]||[]).concat(gt.tweeners["*"]),a=0,r=i.length;a<r;a++)if(o=i[a].call(n,t,e))return o}function gt(a,e,t){var n,r,o=0,i=gt.prefilters.length,s=ue.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=st||ht(),t=Math.max(0,c.startTime+c.duration-e),n=1-(t/c.duration||0),o=0,i=c.tweens.length;o<i;o++)c.tweens[o].run(n);return s.notifyWith(a,[c,n,t]),n<1&&i?t:(i||s.notifyWith(a,[c,1,0]),s.resolveWith(a,[c]),!1)},c=s.promise({elem:a,props:ue.extend({},e),opts:ue.extend(!0,{specialEasing:{},easing:ue.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ue.Tween(a,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var t=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;t<n;t++)c.tweens[t].run(1);return e?(s.notifyWith(a,[c,1,0]),s.resolveWith(a,[c,e])):s.rejectWith(a,[c,e]),this}}),u=c.props;for(function(e,t){var n,o,i,a,r;for(n in e)if(i=t[o=j(n)],a=e[n],Array.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==o&&(e[o]=a,delete e[n]),(r=ue.cssHooks[o])&&"expand"in r)for(n in a=r.expand(a),delete e[o],a)n in e||(e[n]=a[n],t[n]=i);else t[o]=i}(u,c.opts.specialEasing);o<i;o++)if(n=gt.prefilters[o].call(c,a,u,c.opts))return v(n.stop)&&(ue._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return ue.map(u,vt,c),v(c.opts.start)&&c.opts.start.call(a,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),ue.fx.timer(ue.extend(l,{elem:a,anim:c,queue:c.opts.queue})),c}ue.Animation=ue.extend(gt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,X.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(_);for(var n,o=0,i=e.length;o<i;o++)n=e[o],gt.tweeners[n]=gt.tweeners[n]||[],gt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var o,i,a,r,s,l,c,u,d="width"in t||"height"in t,p=this,f={},h=e.style,m=e.nodeType&&ee(e),v=H.get(e,"fxshow");for(o in n.queue||(null==(r=ue._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,s=r.empty.fire,r.empty.fire=function(){r.unqueued||s()}),r.unqueued++,p.always(function(){p.always(function(){r.unqueued--,ue.queue(e,"fx").length||r.empty.fire()})})),t)if(i=t[o],dt.test(i)){if(delete t[o],a=a||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!v||void 0===v[o])continue;m=!0}f[o]=v&&v[o]||ue.style(e,o)}if((l=!ue.isEmptyObject(t))||!ue.isEmptyObject(f))for(o in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=v&&v.display)&&(c=H.get(e,"display")),"none"===(u=ue.css(e,"display"))&&(c?u=c:(oe([e],!0),c=e.style.display||c,u=ue.css(e,"display"),oe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===ue.css(e,"float")&&(l||(p.done(function(){h.display=c}),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,f)l||(v?"hidden"in v&&(m=v.hidden):v=H.access(e,"fxshow",{display:c}),a&&(v.hidden=!m),m&&oe([e],!0),p.done(function(){for(o in m||oe([e]),H.remove(e,"fxshow"),f)ue.style(e,o,f[o])})),l=vt(m?v[o]:0,o,p),o in v||(v[o]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?gt.prefilters.unshift(e):gt.prefilters.push(e)}}),ue.speed=function(e,t,n){var o=e&&"object"==typeof e?ue.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ue.fx.off?o.duration=0:"number"!=typeof o.duration&&(o.duration in ue.fx.speeds?o.duration=ue.fx.speeds[o.duration]:o.duration=ue.fx.speeds._default),null!=o.queue&&!0!==o.queue||(o.queue="fx"),o.old=o.complete,o.complete=function(){v(o.old)&&o.old.call(this),o.queue&&ue.dequeue(this,o.queue)},o},ue.fn.extend({fadeTo:function(e,t,n,o){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,o)},animate:function(t,e,n,o){var i=ue.isEmptyObject(t),a=ue.speed(e,n,o),r=function(){var e=gt(this,ue.extend({},t),a);(i||H.get(this,"finish"))&&e.stop(!0)};return r.finish=r,i||!1===a.queue?this.each(r):this.queue(a.queue,r)},stop:function(i,e,a){var r=function(e){var t=e.stop;delete e.stop,t(a)};return"string"!=typeof i&&(a=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ue.timers,o=H.get(this);if(t)o[t]&&o[t].stop&&r(o[t]);else for(t in o)o[t]&&o[t].stop&&pt.test(t)&&r(o[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(a),e=!1,n.splice(t,1));!e&&a||ue.dequeue(this,i)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var e,t=H.get(this),n=t[r+"queue"],o=t[r+"queueHooks"],i=ue.timers,a=n?n.length:0;for(t.finish=!0,ue.queue(this,r,[]),o&&o.stop&&o.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===r&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<a;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ue.each(["toggle","show","hide"],function(e,o){var i=ue.fn[o];ue.fn[o]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(mt(o,!0),e,t,n)}}),ue.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,o){ue.fn[e]=function(e,t,n){return this.animate(o,e,t,n)}}),ue.timers=[],ue.fx.tick=function(){var e,t=0,n=ue.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ue.fx.stop(),st=void 0},ue.fx.timer=function(e){ue.timers.push(e),ue.fx.start()},ue.fx.interval=13,ue.fx.start=function(){lt||(lt=!0,ft())},ue.fx.stop=function(){lt=null},ue.fx.speeds={slow:600,fast:200,_default:400},ue.fn.delay=function(o,e){return o=ue.fx&&ue.fx.speeds[o]||o,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,o);t.stop=function(){ie.clearTimeout(n)}})},ct=x.createElement("input"),ut=x.createElement("select").appendChild(x.createElement("option")),ct.type="checkbox",ce.checkOn=""!==ct.value,ce.optSelected=ut.selected,(ct=x.createElement("input")).value="t",ct.type="radio",ce.radioValue="t"===ct.value;var yt,bt=ue.expr.attrHandle;ue.fn.extend({attr:function(e,t){return R(this,ue.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ue.removeAttr(this,e)})}}),ue.extend({attr:function(e,t,n){var o,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?ue.prop(e,t,n):(1===a&&ue.isXMLDoc(e)||(i=ue.attrHooks[t.toLowerCase()]||(ue.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void ue.removeAttr(e,t):i&&"set"in i&&void 0!==(o=i.set(e,n,t))?o:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(o=i.get(e,t))?o:null==(o=ue.find.attr(e,t))?void 0:o)},attrHooks:{type:{set:function(e,t){if(!ce.radioValue&&"radio"===t&&de(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o=0,i=t&&t.match(_);if(i&&1===e.nodeType)for(;n=i[o++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return!1===t?ue.removeAttr(e,n):e.setAttribute(n,n),n}},ue.each(ue.expr.match.bool.source.match(/\w+/g),function(e,t){var r=bt[t]||ue.find.attr;bt[t]=function(e,t,n){var o,i,a=t.toLowerCase();return n||(i=bt[a],bt[a]=o,o=null!=r(e,t,n)?a:null,bt[a]=i),o}});var Ct=/^(?:input|select|textarea|button)$/i,Tt=/^(?:a|area)$/i;function wt(e){return(e.match(_)||[]).join(" ")}function xt(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(_)||[]}ue.fn.extend({prop:function(e,t){return R(this,ue.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ue.propFix[e]||e]})}}),ue.extend({prop:function(e,t,n){var o,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&ue.isXMLDoc(e)||(t=ue.propFix[t]||t,i=ue.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(o=i.set(e,n,t))?o:e[t]=n:i&&"get"in i&&null!==(o=i.get(e,t))?o:e[t]},propHooks:{tabIndex:{get:function(e){var t=ue.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||Tt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ce.optSelected||(ue.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ue.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ue.propFix[this.toLowerCase()]=this}),ue.fn.extend({addClass:function(t){var e,n,o,i,a,r;return v(t)?this.each(function(e){ue(this).addClass(t.call(this,e,xt(this)))}):(e=St(t)).length?this.each(function(){if(o=xt(this),n=1===this.nodeType&&" "+wt(o)+" "){for(a=0;a<e.length;a++)i=e[a],n.indexOf(" "+i+" ")<0&&(n+=i+" ");r=wt(n),o!==r&&this.setAttribute("class",r)}}):this},removeClass:function(t){var e,n,o,i,a,r;return v(t)?this.each(function(e){ue(this).removeClass(t.call(this,e,xt(this)))}):arguments.length?(e=St(t)).length?this.each(function(){if(o=xt(this),n=1===this.nodeType&&" "+wt(o)+" "){for(a=0;a<e.length;a++)for(i=e[a];-1<n.indexOf(" "+i+" ");)n=n.replace(" "+i+" "," ");r=wt(n),o!==r&&this.setAttribute("class",r)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,o,i,a,r=typeof t,s="string"===r||Array.isArray(t);return v(t)?this.each(function(e){ue(this).toggleClass(t.call(this,e,xt(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=St(t),this.each(function(){if(s)for(a=ue(this),i=0;i<e.length;i++)o=e[i],a.hasClass(o)?a.removeClass(o):a.addClass(o);else void 0!==t&&"boolean"!==r||((o=xt(this))&&H.set(this,"__className__",o),this.setAttribute&&this.setAttribute("class",o||!1===t?"":H.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,o=0;for(t=" "+e+" ";n=this[o++];)if(1===n.nodeType&&-1<(" "+wt(xt(n))+" ").indexOf(t))return!0;return!1}});var kt=/\r/g;ue.fn.extend({val:function(n){var o,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ue(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ue.map(t,function(e){return null==e?"":e+""})),(o=ue.valHooks[this.type]||ue.valHooks[this.nodeName.toLowerCase()])&&"set"in o&&void 0!==o.set(this,t,"value")||(this.value=t))})):t?(o=ue.valHooks[t.type]||ue.valHooks[t.nodeName.toLowerCase()])&&"get"in o&&void 0!==(e=o.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(kt,""):null==e?"":e:void 0}}),ue.extend({valHooks:{option:{get:function(e){var t=ue.find.attr(e,"value");return null!=t?t:wt(ue.text(e))}},select:{get:function(e){var t,n,o,i=e.options,a=e.selectedIndex,r="select-one"===e.type,s=r?null:[],l=r?a+1:i.length;for(o=a<0?l:r?a:0;o<l;o++)if(((n=i[o]).selected||o===a)&&!n.disabled&&(!n.parentNode.disabled||!de(n.parentNode,"optgroup"))){if(t=ue(n).val(),r)return t;s.push(t)}return s},set:function(e,t){for(var n,o,i=e.options,a=ue.makeArray(t),r=i.length;r--;)((o=i[r]).selected=-1<ue.inArray(ue.valHooks.option.get(o),a))&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),ue.each(["radio","checkbox"],function(){ue.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ue.inArray(ue(e).val(),t)}},ce.checkOn||(ue.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var At=ie.location,It={guid:Date.now()},Et=/\?/;ue.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ue.error("Invalid XML: "+(n?ue.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var _t=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};ue.extend(ue.event,{trigger:function(e,t,n,o){var i,a,r,s,l,c,u,d,p=[n||x],f=le.call(e,"type")?e.type:e,h=le.call(e,"namespace")?e.namespace.split("."):[];if(a=d=r=n=n||x,3!==n.nodeType&&8!==n.nodeType&&!_t.test(f+ue.event.triggered)&&(-1<f.indexOf(".")&&(f=(h=f.split(".")).shift(),h.sort()),l=f.indexOf(":")<0&&"on"+f,(e=e[ue.expando]?e:new ue.Event(f,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ue.makeArray(t,[e]),u=ue.event.special[f]||{},o||!u.trigger||!1!==u.trigger.apply(n,t))){if(!o&&!u.noBubble&&!g(n)){for(s=u.delegateType||f,_t.test(s+f)||(a=a.parentNode);a;a=a.parentNode)p.push(a),r=a;r===(n.ownerDocument||x)&&p.push(r.defaultView||r.parentWindow||ie)}for(i=0;(a=p[i++])&&!e.isPropagationStopped();)d=a,e.type=1<i?s:u.bindType||f,(c=(H.get(a,"events")||Object.create(null))[e.type]&&H.get(a,"handle"))&&c.apply(a,t),(c=l&&a[l])&&c.apply&&O(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=f,o||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(p.pop(),t)||!O(n)||l&&v(n[f])&&!g(n)&&((r=n[l])&&(n[l]=null),ue.event.triggered=f,e.isPropagationStopped()&&d.addEventListener(f,Lt),n[f](),e.isPropagationStopped()&&d.removeEventListener(f,Lt),ue.event.triggered=void 0,r&&(n[l]=r)),e.result}},simulate:function(e,t,n){var o=ue.extend(new ue.Event,n,{type:e,isSimulated:!0});ue.event.trigger(o,null,t)}}),ue.fn.extend({trigger:function(e,t){return this.each(function(){ue.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ue.event.trigger(e,t,n,!0)}});var Dt=/\[\]$/,Ft=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;function $t(n,e,o,i){var t;if(Array.isArray(e))ue.each(e,function(e,t){o||Dt.test(n)?i(n,t):$t(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,o,i)});else if(o||"object"!==b(e))i(n,e);else for(t in e)$t(n+"["+t+"]",e[t],o,i)}ue.param=function(e,t){var n,o=[],i=function(e,t){var n=v(t)?t():t;o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ue.isPlainObject(e))ue.each(e,function(){i(this.name,this.value)});else for(n in e)$t(n,e[n],t,i);return o.join("&")},ue.fn.extend({serialize:function(){return ue.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ue.prop(this,"elements");return e?ue.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ue(this).is(":disabled")&&Pt.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!Te.test(e))}).map(function(e,t){var n=ue(this).val();return null==n?null:Array.isArray(n)?ue.map(n,function(e){return{name:t.name,value:e.replace(Ft,"\r\n")}}):{name:t.name,value:n.replace(Ft,"\r\n")}}).get()}});var Rt=/%20/g,Nt=/#.*$/,Wt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,jt=/^(?:GET|HEAD)$/,Ot=/^\/\//,Bt={},Ht={},Gt="*/".concat("*"),Vt=x.createElement("a");function qt(a){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,o=0,i=e.toLowerCase().match(_)||[];if(v(t))for(;n=i[o++];)"+"===n[0]?(n=n.slice(1)||"*",(a[n]=a[n]||[]).unshift(t)):(a[n]=a[n]||[]).push(t)}}function Yt(t,i,a,r){var s={},l=t===Ht;function c(e){var o;return s[e]=!0,ue.each(t[e]||[],function(e,t){var n=t(i,a,r);return"string"!=typeof n||l||s[n]?l?!(o=n):void 0:(i.dataTypes.unshift(n),c(n),!1)}),o}return c(i.dataTypes[0])||!s["*"]&&c("*")}function zt(e,t){var n,o,i=ue.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:o||(o={}))[n]=t[n]);return o&&ue.extend(!0,e,o),e}Vt.href=At.href,ue.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,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":ue.parseXML}
vendor: 14,615 bytes, line 1
1,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,ue.ajaxSettings),t):zt(ue.ajaxSettings,e)},ajaxPrefilter:qt(Bt),ajaxTransport:qt(Ht),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,d,p,n,f,o,h,m,i,a,v=ue.ajaxSetup({},t),g=v.context||v,y=v.context&&(g.nodeType||g.jquery)?ue(g):ue.event,b=ue.Deferred(),C=ue.Callbacks("once memory"),T=v.statusCode||{},r={},s={},l="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n)for(n={};t=Ut.exec(p);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,r[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)w.always(e[w.status]);else for(t in e)T[t]=[T[t],e[t]];return this},abort:function(e){var t=e||l;return u&&u.abort(t),c(0,t),this}};if(b.promise(w),v.url=((e||v.url||At.href)+"").replace(Ot,At.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(_)||[""],null==v.crossDomain){o=x.createElement("a");try{o.href=v.url,o.href=o.href,v.crossDomain=Vt.protocol+"//"+Vt.host!=o.protocol+"//"+o.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ue.param(v.data,v.traditional)),Yt(Bt,v,t,w),h)return w;for(i in(m=ue.event&&v.global)&&0==ue.active++&&ue.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!jt.test(v.type),d=v.url.replace(Nt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Rt,"+")):(a=v.url.slice(d.length),v.data&&(v.processData||"string"==typeof v.data)&&(d+=(Et.test(d)?"&":"?")+v.data,delete v.data),!1===v.cache&&(d=d.replace(Wt,"$1"),a=(Et.test(d)?"&":"?")+"_="+It.guid+++a),v.url=d+a),v.ifModified&&(ue.lastModified[d]&&w.setRequestHeader("If-Modified-Since",ue.lastModified[d]),ue.etag[d]&&w.setRequestHeader("If-None-Match",ue.etag[d])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&w.setRequestHeader("Content-Type",v.contentType),w.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+Gt+"; q=0.01":""):v.accepts["*"]),v.headers)w.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(g,w,v)||h))return w.abort();if(l="abort",C.add(v.complete),w.done(v.success),w.fail(v.error),u=Yt(Ht,v,t,w)){if(w.readyState=1,m&&y.trigger("ajaxSend",[w,v]),h)return w;v.async&&0<v.timeout&&(f=ie.setTimeout(function(){w.abort("timeout")},v.timeout));try{h=!1,u.send(r,c)}catch(e){if(h)throw e;c(-1,e)}}else c(-1,"No Transport");function c(e,t,n,o){var i,a,r,s,l,c=t;h||(h=!0,f&&ie.clearTimeout(f),u=void 0,p=o||"",w.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var o,i,a,r,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(i in s)if(s[i]&&s[i].test(o)){l.unshift(i);break}if(l[0]in n)a=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}r||(r=i)}a=a||r}if(a)return a!==l[0]&&l.unshift(a),n[a]}(v,w,n)),!i&&-1<ue.inArray("script",v.dataTypes)&&ue.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,o){var i,a,r,s,l,c={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)c[r.toLowerCase()]=e.converters[r];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&o&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(r=c[l+" "+a]||c["* "+a]))for(i in c)if((s=i.split(" "))[1]===a&&(r=c[l+" "+s[0]]||c["* "+s[0]])){!0===r?r=c[i]:!0!==c[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(v,s,w,i),i?(v.ifModified&&((l=w.getResponseHeader("Last-Modified"))&&(ue.lastModified[d]=l),(l=w.getResponseHeader("etag"))&&(ue.etag[d]=l)),204===e||"HEAD"===v.type?c="nocontent":304===e?c="notmodified":(c=s.state,a=s.data,i=!(r=s.error))):(r=c,!e&&c||(c="error",e<0&&(e=0))),w.status=e,w.statusText=(t||c)+"",i?b.resolveWith(g,[a,c,w]):b.rejectWith(g,[w,c,r]),w.statusCode(T),T=void 0,m&&y.trigger(i?"ajaxSuccess":"ajaxError",[w,v,i?a:r]),C.fireWith(g,[w,c]),m&&(y.trigger("ajaxComplete",[w,v]),--ue.active||ue.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return ue.get(e,t,n,"json")},getScript:function(e,t){return ue.get(e,void 0,t,"script")}}),ue.each(["get","post"],function(e,i){ue[i]=function(e,t,n,o){return v(t)&&(o=o||n,n=t,t=void 0),ue.ajax(ue.extend({url:e,type:i,dataType:o,data:t,success:n},ue.isPlainObject(e)&&e))}}),ue.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ue._evalUrl=function(e,t,n){return ue.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ue.globalEval(e,t,n)}})},ue.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ue(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ue(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ue(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ue(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ue(this).replaceWith(this.childNodes)}),this}}),ue.expr.pseudos.hidden=function(e){return!ue.expr.pseudos.visible(e)},ue.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ue.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Xt={0:200,1223:204},Kt=ue.ajaxSettings.xhr();ce.cors=!!Kt&&"withCredentials"in Kt,ce.ajax=Kt=!!Kt,ue.ajaxTransport(function(i){var a,r;if(ce.cors||Kt&&!i.crossDomain)return{send:function(e,t){var n,o=i.xhr();if(o.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)o[n]=i.xhrFields[n];for(n in i.mimeType&&o.overrideMimeType&&o.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)o.setRequestHeader(n,e[n]);a=function(e){return function(){a&&(a=r=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?t(0,"error"):t(o.status,o.statusText):t(Xt[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=a(),r=o.onerror=o.ontimeout=a("error"),void 0!==o.onabort?o.onabort=r:o.onreadystatechange=function(){4===o.readyState&&ie.setTimeout(function(){a&&r()})},a=a("abort");try{o.send(i.hasContent&&i.data||null)}catch(e){if(a)throw e}},abort:function(){a&&a()}}}),ue.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ue.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ue.globalEval(e),e}}}),ue.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ue.ajaxTransport("script",function(n){var o,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){o=ue("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){o.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),x.head.appendChild(o[0])},abort:function(){i&&i()}}});var Jt,Qt=[],Zt=/(=)\?(?=&|$)|\?\?/;ue.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||ue.expando+"_"+It.guid++;return this[e]=!0,e}}),ue.ajaxPrefilter("json jsonp",function(e,t,n){var o,i,a,r=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(r||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(Zt,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||ue.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=ie[o],ie[o]=function(){a=arguments},n.always(function(){void 0===i?ue(ie).removeProp(o):ie[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Qt.push(o)),a&&v(i)&&i(a[0]),a=i=void 0}),"script"}),ce.createHTMLDocument=((Jt=x.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ue.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ce.createHTMLDocument?((o=(t=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,t.head.appendChild(o)):t=x),a=!n&&[],(i=T.exec(e))?[t.createElement(i[1])]:(i=Ee([e],t,a),a&&a.length&&ue(a).remove(),ue.merge([],i.childNodes)));var o,i,a},ue.fn.load=function(e,t,n){var o,i,a,r=this,s=e.indexOf(" ");return-1<s&&(o=wt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<r.length&&ue.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){a=arguments,r.html(o?ue("<div>").append(ue.parseHTML(e)).find(o):e)}).always(n&&function(e,t){r.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},ue.expr.pseudos.animated=function(t){return ue.grep(ue.timers,function(e){return t===e.elem}).length},ue.offset={setOffset:function(e,t,n){var o,i,a,r,s,l,c=ue.css(e,"position"),u=ue(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),a=ue.css(e,"top"),l=ue.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(a+l).indexOf("auto")?(r=(o=u.position()).top,i=o.left):(r=parseFloat(a)||0,i=parseFloat(l)||0),v(t)&&(t=t.call(e,n,ue.extend({},s))),null!=t.top&&(d.top=t.top-s.top+r),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):u.css(d)}},ue.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ue.offset.setOffset(this,t,e)});var e,n,o=this[0];return o?o.getClientRects().length?(e=o.getBoundingClientRect(),n=o.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,o=this[0],i={top:0,left:0};if("fixed"===ue.css(o,"position"))t=o.getBoundingClientRect();else{for(t=this.offset(),n=o.ownerDocument,e=o.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===ue.css(e,"position");)e=e.parentNode;e&&e!==o&&1===e.nodeType&&((i=ue(e).offset()).top+=ue.css(e,"borderTopWidth",!0),i.left+=ue.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ue.css(o,"marginTop",!0),left:t.left-i.left-ue.css(o,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===ue.css(e,"position");)e=e.offsetParent;return e||J})}}),ue.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var a="pageYOffset"===i;ue.fn[t]=function(e){return R(this,function(e,t,n){var o;if(g(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===n)return o?o[i]:e[t];o?o.scrollTo(a?o.pageXOffset:n,a?n:o.pageYOffset):e[t]=n},t,e,arguments.length)}}),ue.each(["top","left"],function(e,n){ue.cssHooks[n]=Xe(ce.pixelPosition,function(e,t){if(t)return t=ze(e,n),He.test(t)?ue(e).position()[n]+"px":t})}),ue.each({Height:"height",Width:"width"},function(r,s){ue.each({padding:"inner"+r,content:s,"":"outer"+r},function(o,a){ue.fn[a]=function(e,t){var n=arguments.length&&(o||"boolean"!=typeof e),i=o||(!0===e||!0===t?"margin":"border");return R(this,function(e,t,n){var o;return g(e)?0===a.indexOf("outer")?e["inner"+r]:e.document.documentElement["client"+r]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+r],o["scroll"+r],e.body["offset"+r],o["offset"+r],o["client"+r])):void 0===n?ue.css(e,t,i):ue.style(e,t,n,i)},s,n?e:void 0,n)}})}),ue.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ue.fn[t]=function(e){return this.on(t,e)}}),ue.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,o){return this.on(t,e,n,o)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ue.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ue.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ue.proxy=function(e,t){var n,o,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return o=re.call(arguments,2),(i=function(){return e.apply(t||this,o.concat(re.call(arguments)))}).guid=e.guid=e.guid||ue.guid++,i},ue.holdReady=function(e){e?ue.readyWait++:ue.ready(!0)},ue.isArray=Array.isArray,ue.parseJSON=JSON.parse,ue.nodeName=de,ue.isFunction=v,ue.isWindow=g,ue.camelCase=j,ue.type=b,ue.now=Date.now,ue.isNumeric=function(e){var t=ue.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ue.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ue});var tn=ie.jQuery,nn=ie.$;return ue.noConflict=function(e){return ie.$===ue&&(ie.$=nn),e&&ie.jQuery===ue&&(ie.jQuery=tn),ue},void 0===e&&(ie.jQuery=ie.$=ue),ue}),RegExp.escape=function(e){return(e+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")},fotoramaVersion="4.6.4",function(a,bt,Ct,Tt,s){"use strict";function wt(){}function xt(e,t,n){return Math.max(isNaN(t)?-1/0:t,Math.min(isNaN(n)?1/0:n,e))}function St(e){var t={};return bo?t.transform="translate3d("+e+"px,0,0)":t.left=e,t}function kt(e){return{"transition-duration":e+"ms"}}function o(e,t){return isNaN(e)?t:e}function At(e,t){return o(+String(e).replace(t||"px",""))}function It(e,t){return o((/%$/.test(n=e)?At(n,"%"):s)/100*t,At(e));var n}function Et(e){return(!isNaN(At(e))||!isNaN(At(e,"%")))&&e}
1function _t(e,t,n,o){return(e-(o||0))*(t+(n||0))}function r(e,t,n,o){var i,a,r,s=e.data();s&&(s.onEndFn=function(){i||(i=!0,clearTimeout(s.tT),n())},s.tProp=t,clearTimeout(s.tT),s.tT=setTimeout(function(){s.onEndFn()},1.5*o),(r=(a=e).data()).tEnd||(qt(a[0],{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",msTransition:"MSTransitionEnd",transition:"transitionend"}[c.prefixed("transition")],function(e){r.tProp&&e.propertyName.match(r.tProp)&&r.onEndFn()}),r.tEnd=!0))}function Lt(n,e){if(n.length){var t=n.data();bo?(n.css(kt(0)),t.onEndFn=wt,clearTimeout(t.tT)):n.stop();var o=Dt(e,function(){return e=n,bo?+((t=e.css("transform")).match(/ma/)&&t.match(/-?\d+(?!d)/g)[t.match(/3d/)?12:4]):+e.css("left").replace("px","");var e,t});return n.css(St(o)),o}}function Dt(){for(var e,t=0,n=arguments.length;t<n&&"number"!=typeof(e=t?arguments[t]():arguments[t]);t++);return e}function l(e,t){return Math.round(e+(t-e)/1.5)}function Ft(){return Ft.p=Ft.p||("https:"===Ct.protocol?"https://":"http://")}function Mt(e,t){if("string"!=typeof e)return e;var n,o,i,a;if(n=e,(o=bt.createElement("a")).href=n,(e=o).host.match(/youtube\.com/)&&e.search){if(i=e.search.split("v=")[1]){var r=i.indexOf("&");-1!==r&&(i=i.substring(0,r)),a="youtube"}}else e.host.match(/youtube\.com|youtu\.be/)?(i=e.pathname.replace(/^\/(embed\/|v\/)?/,"").replace(/\/.*/,""),a="youtube"):e.host.match(/vimeo\.com/)&&(a="vimeo",i=e.pathname.replace(/^\/(video\/)?/,"").replace(/\/.*/,""));return i&&a||!t||(i=e.href,a="custom"),!!i&&{id:i,type:a,s:e.search.replace(/^\?/,""),p:Ft()}}function Pt(e,t,n,o){for(var i=0,a=e.length;i<a;i++){var r=e[i];if(r.i===n&&r.thumbsReady){var s={videoReady:!0};s[Lo]=s[Fo]=s[Do]=!1,o.splice(i,1,Tt.extend({},r,s,t));break}}}function $t(e){function d(e,t,n){var o=n.thumb&&n.img!==n.thumb,i=At(n.width||e.attr("width")),a=At(n.height||e.attr("height"));Tt.extend(n,{width:i,height:a,thumbratio:Vt(n.thumbratio||At(n.thumbwidth||t&&t.attr("width")||o||i)/At(n.thumbheight||t&&t.attr("height")||o||a))})}var p=[];return e.children().each(function(){var e,t,n,o,i,a,r,s,l,c=Tt(this),u=Gt(Tt.extend(c.data(),{id:c.attr("id")}));if(c.is("a, img"))t=u,n=!0,o=(e=c).children("img").eq(0),i=e.attr("href"),a=e.attr("src"),r=o.attr("src"),s=t.video,(l=!!n&&Mt(i,!0===s))?i=!1:l=s,d(e,o,Tt.extend(t,{video:l,img:t.img||i||a||r,thumb:t.thumb||r||a||i}));else{if(c.is(":empty"))return;d(c,null,Tt.extend(u,{html:this,_html:c.html()}))}p.push(u)}),p}function Rt(e,t,n,o){return Rt.i||(Rt.i=1,Rt.ii=[!0]),void 0===Rt.ii[o=o||Rt.i]&&(Rt.ii[o]=!0),e()?t():Rt.ii[o]&&setTimeout(function(){Rt.ii[o]&&Rt(e,t,n,o)},n||100),Rt.i++}function Nt(e,t,n,o){var i,a=e.data(),r=a.measures;if(r&&(!a.l||a.l.W!==r.width||a.l.H!==r.height||a.l.r!==r.ratio||a.l.w!==t.w||a.l.h!==t.h||a.l.m!==n||a.l.p!==o)){var s=r.width,l=r.height,c=t.w/t.h,u=r.ratio>=c,d="scaledown"===n,p="contain"===n,f="cover"===n,h={x:Et((i=((i=o)+"").split(/\s+/))[0])||x,y:Et(i[1])||x};u&&(d||p)||!u&&f?l=(s=xt(t.w,0,d?s:1/0))/r.ratio:(u&&f||!u&&(d||p))&&(s=(l=xt(t.h,0,d?l:1/0))*r.ratio),e.css({width:s,height:l,left:It(h.x,t.w-s),top:It(h.y,t.h-l)}),a.l={W:r.width,H:r.height,r:r.ratio,w:t.w,h:t.h,m:n,p:o}}return!0}function Wt(e,t,n){return t!==n&&(e<=t?"left":n<=e?"right":"left right")}function Ut(e,t,n,o){if(!n)return!1;if(!isNaN(e))return e-(o?0:1);for(var i,a=0,r=t.length;a<r;a++){if(t[a].id===e){i=a;break}}return i}function jt(e,t){return'<div class="'+e+'">'+(t||"")+"</div>"}function Ot(e){for(var t=e.length;t;){var n=Math.floor(Math.random()*t--),o=e[t];e[t]=e[n],e[n]=o}return e}function Bt(e){return"[object Array]"==Object.prototype.toString.call(e)&&Tt.map(e,function(e){return Tt.extend({},e)})}function Ht(e,t,n){e.scrollLeft(t||0).scrollTop(n||0)}function Gt(e){if(e){var n={};return Tt.each(e,function(e,t){n[e.toLowerCase()]=t}),n}}function Vt(e){if(e){var t=+e;return isNaN(t)?+(t=e.split("/"))[0]/+t[1]||s:t}}function qt(e,t,n,o){t&&(e.addEventListener?e.addEventListener(t,n,{passive:!1}):e.attachEvent("on"+t,n))}function Yt(e){return{tabindex:-1*e+"",disabled:e}}function zt(t,n){qt(t,"keyup",function(e){t.getAttribute("disabled")||13==e.keyCode&&n.call(t,e)})}function Xt(t,n){qt(t,"focus",t.onfocusin=function(e){n.call(t,e)})}function Kt(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&e.stopPropagation&&e.stopPropagation()}function Jt(e){return e?">":"<"}function Qt(e,t){var n=e.data(),o=Math.round(t.pos),i=function(){n.sliding=!1,(t.onEnd||wt)()};void 0!==t.overPos&&t.overPos!==t.pos&&(o=t.overPos,i=function(){Qt(e,Tt.extend({},t,{overPos:t.pos,time:Math.max(ko,t.time/2)}))});var a=Tt.extend(St(o),t.width&&{width:t.width});n.sliding=!0,bo?(e.css(Tt.extend(kt(t.time),a)),10<t.time?r(e,"transform",i,t.time):i()):e.stop().animate(a,t.time,w,i)}function g(e){var t=(e.touches||[])[0]||e;e._x=t.pageX,e._y=t.clientY,e._now=Tt.now()}function Zt(e,r){function t(e){return i=Tt(e.target),v.checked=d=p=h=!1,l||v.flow||e.touches&&1<e.touches.length||1<e.which||y&&y.type!==e.type&&C||(d=r.select&&i.is(r.select,m))?d:(u="touchstart"===e.type,p=i.is("a, a *",m),a=v.control,f=v.noMove||v.noSwipe||a?16:v.snap?0:4,g(e),c=y=e,b=e.type.replace(/down|start/,"move").replace(/Down/,"Move"),(r.onStart||wt).call(m,e,{control:a,$target:i}),l=v.flow=!0,void((!u||v.go)&&Kt(e)))}function n(e){if(e.touches&&1<e.touches.length||xo&&!e.isPrimary||b!==e.type||!l)return l&&s(),void(r.onTouchEnd||wt)();g(e);var t=Math.abs(e._x-c._x),n=Math.abs(e._y-c._y),o=t-n,i=(v.go||v.x||0<=o)&&!v.noSwipe,a=o<0;u&&!v.checked?(l=i)&&Kt(e):(Kt(e),(r.onMove||wt).call(m,e,{touch:u})),!h&&Math.sqrt(Math.pow(t,2)+Math.pow(n,2))>f&&(h=!0),v.checked=v.checked||i||a}function s(e){(r.onTouchEnd||wt)();var t=l;v.control=l=!1,t&&(v.flow=!1),!t||p&&!v.checked||(e&&Kt(e),C=!0,clearTimeout(T),T=setTimeout(function(){C=!1},1e3),(r.onEnd||wt).call(m,{moved:h,$target:i,control:a,touch:u,startEvent:c,aborted:!e||"MSPointerCancel"===e.type}))}function o(){v.flow&&setTimeout(function(){v.flow=!1},So)}var l,c,i,a,u,d,p,f,h,m=e[0],v={};return xo?(qt(m,"MSPointerDown",t),qt(bt,"MSPointerMove",n),qt(bt,"MSPointerCancel",s),qt(bt,"MSPointerUp",s)):(qt(m,"touchstart",t),qt(m,"touchmove",n),qt(m,"touchend",s),qt(bt,"touchstart",function(){v.flow||setTimeout(function(){v.flow=!0},10)}),qt(bt,"touchend",o),qt(bt,"touchcancel",o),go.on("scroll",o),e.on("mousedown",t),yo.on("mousemove",n).on("mouseup",s)),e.on("click","a",function(e){v.checked&&Kt(e)}),v}function en(C,T){function w(e,t){F=!0,n=x=e._x,i=e._now,A=[[i,n]],S=k=P.noMove||t?0:Lt(C,(T.getPos||wt)()),(T.onStart||wt).call(M,e)}var n,x,S,k,o,A,i,I,E,_,L,D,a,F,M=C[0],r=C.data(),P={};return P=Tt.extend(Zt(T.$wrap,Tt.extend({},T,{onStart:function(e,t){E=P.min,_=P.max,L=P.snap,D=e.altKey,F=a=!1,t.control||r.sliding||w(e)},onMove:function(e,t){P.noSwipe||(F||w(e),x=e._x,A.push([e._now,x]),o=Wt(k=S-(n-x),E,_),k<=E?k=l(k,E):_<=k&&(k=l(k,_)),P.noMove||(C.css(St(k)),a||(a=!0,t.touch||xo||C.addClass($)),(T.onMove||wt).call(M,e,{pos:k,edge:o})))},onEnd:function(e){if(!P.noSwipe||!e.moved){F||w(e.startEvent,!0),e.touch||xo||C.removeClass($);for(var t,n,o,i,a,r,s,l,c,u=(I=Tt.now())-So,d=null,p=ko,f=T.friction,h=A.length-1;0<=h;h--){if(t=A[h][0],n=Math.abs(t-u),null===d||n<o)d=t,i=A[h][1];else if(d===u||o<n)break;o=n}s=xt(k,E,_);var m=i-x,v=0<=m,g=I-d,y=So<g,b=!y&&k!==S&&s===k;L&&(s=xt(Math[b?v?"floor":"ceil":"round"](k/L)*L,E,_),E=_=s),b&&(L||s===k)&&(c=-m/g,p*=xt(Math.abs(c),T.timeLow,T.t
1imeHigh),a=Math.round(k+c*p/f),L||(s=a),(!v&&_<a||v&&a<E)&&(r=v?E:_,L||(s=r),l=xt(s+.03*(l=a-r),r-50,r+50),p=Math.abs((k-l)/(c/f)))),p*=D?10:1,(T.onEnd||wt).call(M,Tt.extend(e,{moved:e.moved||y&&L,pos:k,newPos:s,overPos:l,time:p}))}}})),P)}function tn(e,l){var c,u,d,t=e[0],p={prevent:{}};return qt(t,m,function(e){var t=e.wheelDeltaY||-1*e.deltaY||0,n=e.wheelDeltaX||-1*e.deltaX||0,o=Math.abs(n)&&!Math.abs(t),i=Jt(n<0),a=u===i,r=Tt.now(),s=r-d<So;u=i,d=r,o&&p.ok&&(!p.prevent[i]||c)&&(Kt(e,!0),c&&a&&s||(l.shift&&(c=!0,clearTimeout(p.t),p.t=setTimeout(function(){c=!1},v)),(l.onEnd||wt)(e,l.shift?i:n)))}),p}function nn(){Tt.each(Tt.Fotorama.instances,function(e,t){t.index=e})}var on="fotorama",an="fullscreen",rn=on+"__wrap",sn=rn+"--css2",ln=rn+"--css3",cn=rn+"--video",un=rn+"--fade",dn=rn+"--slide",pn=rn+"--no-controls",fn=rn+"--no-shadows",hn=rn+"--pan-y",mn=rn+"--rtl",vn=rn+"--only-active",gn=rn+"--no-captions",yn=rn+"--toggle-arrows",bn=on+"__stage",Cn=bn+"__frame",Tn=Cn+"--video",wn=bn+"__shaft",xn=on+"__grab",Sn=on+"__pointer",kn=on+"__arr",An=kn+"--disabled",In=kn+"--prev",En=kn+"--next",_n=on+"__nav",Ln=_n+"-wrap",Dn=_n+"__shaft",Fn=_n+"--dots",Mn=_n+"--thumbs",Pn=_n+"__frame",$n=Pn+"--dot",Rn=Pn+"--thumb",e=on+"__fade",Nn=e+"-front",Wn=e+"-rear",Un=on+"__shadow"+"s",jn=Un+"--left",On=Un+"--right",Bn=on+"__active",Hn=on+"__select",Gn=on+"--hidden",Vn=on+"--fullscreen",qn=on+"__fullscreen-icon",Yn=on+"__error",zn=on+"__loading",Xn=on+"__loaded",Kn=Xn+"--full",Jn=Xn+"--img",$=on+"__grabbing",Qn=on+"__img",Zn=Qn+"--full",eo=on+"__dot",to=on+"__thumb",no=to+"-border",oo=on+"__html",t=on+"__video",io=t+"-play",ao=t+"-close",ro=on+"__caption",so=on+"__caption__wrap",lo=on+"__spinner",co='" tabindex="0" role="button',n=Tt&&Tt.fn.jquery.split(".");if(!n||n[0]<1||1==n[0]&&n[1]<8)throw"Fotorama requires jQuery 1.8 or later and will not run without it.";var c=function(e,d,a){function r(e,t){return typeof e===t}function s(e,t){for(var n in e){var o=e[n];if(!~(""+o).indexOf("-")&&u[o]!==a)return"pfx"!=t||o}return!1}function o(e,t,n){var o=e.charAt(0).toUpperCase()+e.slice(1),i=(e+" "+v.join(o+" ")+o).split(" ");return r(t,"string")||r(t,"undefined")?s(i,t):function(e,t,n){for(var o in e){var i=t[e[o]];if(i!==a)return!1===n?e[o]:r(i,"function")?i.bind(n||t):i}return!1}(i=(e+" "+g.join(o+" ")+o).split(" "),t,n)}var t,i,n,l={},p=d.documentElement,f="modernizr",c=d.createElement(f),u=c.style,h=" -webkit- -moz- -o- -ms- ".split(" "),m="Webkit Moz O ms",v=m.split(" "),g=m.toLowerCase().split(" "),y={},b=[],C=b.slice,T={}.hasOwnProperty;for(var w in i=r(T,"undefined")||r(T.call,"undefined")?function(e,t){return t in e&&r(e.constructor.prototype[t],"undefined")}:function(e,t){return T.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(o){var i=this;if("function"!=typeof i)throw new TypeError;var a=C.call(arguments,1),r=function(){if(this instanceof r){var e=function(){};e.prototype=i.prototype;var t=new e,n=i.apply(t,a.concat(C.call(arguments)));return Object(n)===n?n:t}return i.apply(o,a.concat(C.call(arguments)))};return r}),y.csstransforms3d=function(){return!!o("perspective")},y)i(y,w)&&(t=w.toLowerCase(),l[t]=y[w](),b.push((l[t]?"":"no-")+t));return l.addTest=function(e,t){if("object"==typeof e)for(var n in e)i(e,n)&&l.addTest(n,e[n]);else{if(e=e.toLowerCase(),l[e]!==a)return l;t="function"==typeof t?t():t,"undefined"!=typeof enableClasses&&enableClasses&&(p.className+=" "+(t?"":"no-")+e),l[e]=t}return l},n="",u.cssText=n,c=null,l._version="2.6.2",l._prefixes=h,l._domPrefixes=g,l._cssomPrefixes=v,l.testProp=function(e){return s([e])},l.testAllProps=o,l.testStyles=function(e,t,n,o){var i,a,r,s,l=d.createElement("div"),c=d.body,u=c||d.createElement("body");if(parseInt(n,10))for(;n--;)(r=d.createElement("div")).id=o?o[n]:f+(n+1),l.appendChild(r);return i=["­",'<style id="s',f,'">',e,"</style>"].join(""),l.id=f,(c?l:u).innerHTML+=i,u.appendChild(l),c||(u.style.background="",u.style.overflow="hidden",s=p.style.overflow,p.style.overflow="hidden",p.appendChild(u)),a=t(l,e),c?l.parentNode.removeChild(l):(u.parentNode.removeChild(u),p.style.overflow=s),!!a},l.prefixed=function(e,t,n){return t?o(e,t,n):o(e,"pfx")},l}(0,bt),uo={ok:!1,is:function(){return!1},request:function(){},cancel:function(){},event:"",prefix:""},i="webkit moz o ms khtml".split(" ");if(void 0!==bt.cancelFullScreen)uo.ok=!0;else for(var u=0,d=i.length;u<d;u++)if(uo.prefix=i[u],void 0!==bt[uo.prefix+"CancelFullScreen"]){uo.ok=!0;break}uo.ok&&(uo.event=uo.prefix+"fullscreenchange",uo.is=function(){switch(this.prefix){case"":return bt.fullScreen;case"webkit":return bt.webkitIsFullScreen;default:return bt[this.prefix+"FullScreen"]}},uo.request=function(e){return""===this.prefix?e.requestFullScreen():e[this.prefix+"RequestFullScreen"]()},uo.cancel=function(){return""===this.prefix?bt.cancelFullScreen():bt[this.prefix+"CancelFullScreen"]()});
1var po,fo={lines:10,length:6,width:3,radius:8,corners:1,rotate:15,color:"rgba(0,0,0,.5)",hwaccel:!0},ho={top:"auto",left:"auto",className:""};po=function(){function m(e,t){var n,o=bt.createElement(e||"div");for(n in t)o[n]=t[n];return o}function v(e){for(var t=1,n=arguments.length;t<n;t++)e.appendChild(arguments[t]);return e}function o(e,t){var n,o,i=e.style;for(t=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<a.length;o++)if(n=a[o]+t,i[n]!==s)return n;return i[t]!==s?t:void 0}function g(e,t){for(var n in t)e.style[o(e,n)||n]=t[n];return e}function t(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]===s&&(e[o]=n[o])}return e}function h(e){for(var t={x:e.offsetLeft,y:e.offsetTop};e=e.offsetParent;)t.x+=e.offsetLeft,t.y+=e.offsetTop;return t}function y(e,t){return"string"==typeof e?e:e[t%e.length]}function n(e){return void 0===this?new n(e):void(this.opts=t(e||{},n.defaults,i))}var b,e,a=["webkit","Moz","ms","O"],C={},T=(e=m("style",{type:"text/css"}),v(bt.getElementsByTagName("head")[0],e),e.sheet||e.styleSheet),i={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:999,className:"spinner",top:"auto",left:"auto",position:"relative"};n.defaults={},t(n.prototype,{spin:function(e){this.stop();var t,n,o=this,i=o.opts,a=o.el=g(m(0,{className:i.className}),{position:i.position,width:0,zIndex:i.zIndex}),r=i.radius+i.length+i.width;if(e&&(e.insertBefore(a,e.firstChild||null),n=h(e),t=h(a),g(a,{left:("auto"==i.left?n.x-t.x+(e.offsetWidth>>1):parseInt(i.left,10)+r)+"px",top:("auto"==i.top?n.y-t.y+(e.offsetHeight>>1):parseInt(i.top,10)+r)+"px"})),a.setAttribute("role","progressbar"),o.lines(a,o.opts),!b){var s,l=0,c=(i.lines-1)*(1-i.direction)/2,u=i.fps,d=u/i.speed,p=(1-i.opacity)/(d*i.trail/100),f=d/i.lines;!function e(){l++;for(var t=0;t<i.lines;t++)s=Math.max(1-(l+(i.lines-t)*f)%d*p,i.opacity),o.opacity(a,t*i.direction+c,s,i);o.timeout=o.el&&setTimeout(e,~~(1e3/u))}()}return o},stop:function(){var e=this.el;return e&&(clearTimeout(this.timeout),e.parentNode&&e.parentNode.removeChild(e),this.el=s),this},lines:function(e,n){function t(e,t){return g(m(),{position:"absolute",width:n.length+n.width+"px",height:n.width+"px",background:e,boxShadow:t,transformOrigin:"left",transform:"rotate("+~~(360/n.lines*i+n.rotate)+"deg) translate("+n.radius+"px,0)",borderRadius:(n.corners*n.width>>1)+"px"})}for(var o,i=0,a=(n.lines-1)*(1-n.direction)/2;i<n.lines;i++)o=g(m(),{position:"absolute",top:1+~(n.width/2)+"px",transform:n.hwaccel?"translate3d(0,0,0)":"",opacity:n.opacity,animation:b&&(r=n.opacity,s=n.trail,l=a+i*n.direction,c=n.lines,u=["opacity",s,~~(100*r),l,c].join("-"),d=.01+l/c*100,p=Math.max(1-(1-r)/s*(100-d),r),f=b.substring(0,b.indexOf("Animation")).toLowerCase(),h=f&&"-"+f+"-"||"",C[u]||(T.insertRule("@"+h+"keyframes "+u+"{0%{opacity:"+p+"}"+d+"%{opacity:"+r+"}"+(d+.01)+"%{opacity:1}"+(d+s)%100+"%{opacity:"+r+"}100%{opacity:"+p+"}}",T.cssRules.length),C[u]=1),u+" "+1/n.speed+"s linear infinite")}),n.shadow&&v(o,g(t("#000","0 0 4px #000"),{top:"2px"})),v(e,v(o,t(y(n.color,i),"0 0 1px rgba(0,0,0,.1)")));var r,s,l,c,u,d,p,f,h;return e},opacity:function(e,t,n){t<e.childNodes.length&&(e.childNodes[t].style.opacity=n)}});var r=g(m("group"),{behavior:"url(#default#VML)"});return!o(r,"transform")&&r.adj?function(){function c(e,t){return m("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',t)}T.addRule(".spin-vml","behavior:url(#default#VML)"),n.prototype.lines=function(e,o){function i(){return g(c("group",{coordsize:r+" "+r,coordorigin:-a+" "+-a}),{width:r,height:r})}function t(e,t,n){v(l,v(g(i(),{rotation:360/o.lines*e+"deg",left:~~t}),v(g(c("roundrect",{arcsize:o.corners}),{width:a,height:o.width,left:o.radius,top:-o.width>>1,filter:n}),c("fill",{color:y(o.color,e),opacity:o.opacity}),c("stroke",{opacity:0}))))}var n,a=o.length+o.width,r=2*a,s=2*-(o.width+o.length)+"px",l=g(i(),{position:"absolute",top:s,left:s});if(o.shadow)for(n=1;n<=o.lines;n++)t(n,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(n=1;n<=o.lines;n++)t(n);return v(e,l)},n.prototype.opacity=function(e,t,n,o){var i=e.firstChild;o=o.shadow&&o.lines||0,i&&t+o<i.childNodes.length&&(i=(i=(i=i.childNodes[t+o])&&i.firstChild)&&i.firstChild)&&(i.opacity=n)}}():b=o(r,"animation"),n}();var mo,vo,y,b,C,T,go=Tt(a),yo=Tt(bt),p="quirks"===Ct.hash.replace("#",""),f=c.csstransforms3d,bo=f&&!p,Co=f||"CSS1Compat"===bt.compatMode,To=uo.ok,h=navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|W
1indows Phone/i),wo=!bo||h,xo=navigator.msPointerEnabled,m="onwheel"in bt.createElement("div")?"wheel":bt.onmousewheel!==s?"mousewheel":"DOMMouseScroll",So=250,ko=300,v=1400,Ao=5e3,Io=64,Eo=500,_o=333,Lo="$stageFrame",Do="$navDotFrame",Fo="$navThumbFrame",Mo="auto",w=function(a){var e="bez_"+Tt.makeArray(arguments).join("_").replace(".","p");if("function"!=typeof Tt.easing[e]){var r=function(n,o){var a=[null,null],r=[null,null],s=[null,null],l=function(e,t){return s[t]=3*n[t],r[t]=3*(o[t]-n[t])-s[t],a[t]=1-s[t]-r[t],e*(s[t]+e*(r[t]+e*a[t]))};return function(e){return l(function(e){for(var t,n=e,o=0;++o<14&&(t=l(n,0)-e,!(Math.abs(t)<.001));)n-=t/(i=n,s[0]+i*(2*r[0]+3*a[0]*i));var i;return n}(e),1)}};Tt.easing[e]=function(e,t,n,o,i){return o*r([a[0],a[1]],[a[2],a[3]])(t/i)+n}}return e}([.1,0,.25,1]),x="50%",S={width:null,minwidth:null,maxwidth:"100%",height:null,minheight:null,maxheight:null,ratio:null,margin:2,glimpse:0,fit:"contain",position:x,thumbposition:x,nav:"dots",navposition:"bottom",navwidth:null,thumbwidth:Io,thumbheight:Io,thumbmargin:2,thumbborderwidth:2,thumbfit:"cover",allowfullscreen:!1,transition:"slide",clicktransition:null,transitionduration:ko,captions:!0,hash:!1,startindex:0,loop:!1,autoplay:!1,stopautoplayontouch:!0,keyboard:!1,arrows:!0,click:!0,swipe:!0,trackpad:!1,enableifsingleframe:!1,controlsonstart:!0,shuffle:!1,direction:"ltr",shadows:!0,spinner:null},Po={left:!0,right:!0,down:!1,up:!1,space:!1,home:!1,end:!1};Rt.stop=function(e){Rt.ii[e]=!1},jQuery.Fotorama=function(s,T){function t(){Tt.each(J,function(e,t){if(!t.i){t.i=Oe++;var n=Mt(t.video,!0);if(n){var o={};t.video=n,t.img||t.thumb?t.thumbsReady=!0:(a=J,r=Ne,"youtube"===(c=(i=t).video).type?(s=(l=Ft()+"img.youtube.com/vi/"+c.id+"/default.jpg").replace(/\/default.jpg$/,"/hqdefault.jpg"),i.thumbsReady=!0):"vimeo"===c.type?Tt.ajax({url:Ft()+"vimeo.com/api/v2/video/"+c.id+".json",dataType:"jsonp",success:function(e){i.thumbsReady=!0,Pt(a,{img:e[0].thumbnail_large,thumb:e[0].thumbnail_small},i.i,r)}}):i.thumbsReady=!0,o={img:s,thumb:l}),Pt(J,{img:o.img,thumb:o.thumb},t.i,Ne)}}var i,a,r,s,l,c})}function l(e){return Se[e]||Ne.fullScreen}function c(e){var t,n,o,i,a,r;e!==c.f&&(e?(s.html("").addClass(on+" "+Ue).append(Ve).before(He).before(Ge),r=Ne,Tt.Fotorama.instances.push(r),nn()):(Ve.detach(),He.detach(),Ge.detach(),s.html(Be.urtext).removeClass(Ue),a=Ne,Tt.Fotorama.instances.splice(a.index,1),nn()),t="keydown."+on,o="keydown."+(n=on+We),i="resize."+n+" orientationchange."+n,e?(yo.on(o,function(e){var t,n;te&&27===e.keyCode?O(te,t=!0,!0):(Ne.fullScreen||T.keyboard&&!Ne.index)&&(27===e.keyCode?(t=!0,Ne.cancelFullScreen()):e.shiftKey&&32===e.keyCode&&l("space")||37===e.keyCode&&l("left")||38===e.keyCode&&l("up")?n="<":32===e.keyCode&&l("space")||39===e.keyCode&&l("right")||40===e.keyCode&&l("down")?n=">":36===e.keyCode&&l("home")?n="<<":35===e.keyCode&&l("end")&&(n=">>")),(t||n)&&Kt(e),n&&Ne.show({index:n,slow:e.altKey,user:!0})}),Ne.index||yo.off(t).on(t,"textarea, input, select",function(e){!vo.hasClass(an)&&e.stopPropagation()}),go.on(i,Ne.resize)):(yo.off(o),go.off(i)),c.f=e)}function a(){var e=Q<2&&!T.enableifsingleframe||te;dt.noMove=e||ge,dt.noSwipe=e||!T.swipe,!Te&&Ye.toggleClass(xn,!T.click&&!dt.noMove&&!dt.noSwipe),xo&&Ve.toggleClass(hn,!dt.noSwipe)}function r(e){!0===e&&(e=""),T.autoplay=Math.max(+e||Ao,1.5*Ce)}function w(e){return e<0?(Q+e%Q)%Q:Q<=e?e%Q:e}function u(e){return xt(e,0,Q-1)}function d(e){return de?w(e):u(e)}function p(e){return!!(0<e||de)&&e-1}function f(e){return!!(e<Q-1||de)&&e+1}function n(e,a,r){if("number"==typeof e){e=new Array(e);var s=!0}return Tt.each(e,function(e,t){if(s&&(t=e),"number"==typeof t){var n=J[w(t)];if(n){var o="$"+a+"Frame",i=n[o];r.call(this,e,t,n,i,o,i&&i.data())}}})}function x(e,t,n,o){(!ke||"*"===ke&&o===ue)&&(e=Et(T.width)||Et(e)||Eo,t=Et(T.height)||Et(t)||_o,Ne.resize({width:e,ratio:T.ratio||n||e/t},0,o!==ue&&"*"))}function S(e,v,g,y,b,C){n(e,v,function(e,n,t,o,i,a){function r(e){var t=w(n);$(e,{index:t,src:h,frame:J[t]})}function s(){d.remove(),Tt.Fotorama.cache[h]="error",t.html&&"stage"===v||!m||m===h?(!h||t.html||c?"stage"===v&&(o.trigger("f:load").removeClass(zn+" "+Yn).addClass(Xn),r("load"),x()):(o.trigger("f:error").removeClass(zn).addClass(Yn),r("error")),a.state="error",!(1<Q&&J[n]===t)||t.html||t.deleted||t.video||c||(t.deleted=!0,Ne.splice(n,1))):(t[f]=h=m,S([n],v,g,y,b,!0))}function l(){var e=10;Rt(function(){return!Fe||!e--&&!wo},function(){Tt.Fotorama.measures[h]=p.measures=Tt.Fotorama.measures[h]||{width:u.width,height:u.height,ratio:u.width/u.height},x(p.measures.width,p.measures.height,p.measures.ratio,n),d.off("load error").addClass(Qn+(c?" "+Zn:"")).prependTo(o),Nt(d,(Tt.isFunction(g)?g():g)||ut,y||t.fit||T.fit,b||t.position||T.position),Tt.Fotorama.cache[h]=a.state="loaded",setTimeout(function(){o.trigger("f:load").removeClass(zn+" "+Yn).addClass(Xn+" "+(c?Kn:Jn)),"stage"===v?r("load"):(t.thumbratio===Mo||!t.thumbratio&&T.thumbratio===Mo)&&(t.thumbratio=p.measures.ratio,X())},0)})}if(o){var c=Ne.fullScreen&&t.full&&t.full!==t.img&&!a.$full&&"stage"===v;if(!a.$img||C||c){var u=new Image,d=Tt(u),p=d.data();a[c?"$full":"$img"]=d;var f="stage"===v?c?"full":"img":"thumb",h=t[f],m=c?null:t["stage"===v?"thumb":"img"];if("navThumb"===v&&(o=a.$wrap),!h)return void s();Tt.Fotorama.cache[h]?function e(){"error"===Tt.Fotorama.cache[h]?s():"loaded"===Tt.Fotorama.cache[h]?setTimeout(l,0):setTimeout(e,100)}():(Tt.Fotorama.cache[h]="*",d.on("load",l).on("error",s)),a.state="",u.src=h}}})}function h(){lt.detach(),ee&&ee.stop()}function m(){var e,t=ne[Lo];t&&!t.data().state&&(e=t,lt.append(ee.spin().el).appendTo(e),t.on("f:load f:error",function(){t.off("f:load f:error"),h()}))}function v(e){zt(e,q),Xt(e,function(){setTimeout(function(){Ht(Ze)},0),D({time:Ce,guessIndex:Tt(this).data().eq,minMax:ft})})}function g(e,s){n(e,s,function(e,t,n,o,i,a){if(!o){o=n[i]=Ve[i].clone(),(a=o.data()).data=n;var r=o[0];"stage"===s?(n.html&&Tt('<div class="'+oo+'"></div>').append(n._html?Tt(n.html).removeAttr("id").html(n._html):n.html).appendTo(o),n.caption&&Tt(jt(ro,jt(so,n.caption))).appendTo(o),n.video&&o.addClass(Tn).append(rt.clone()),Xt(r,function(){setTimeout(function(){Ht(qe)},0),G({index:a.eq,user:!0})}),ze=ze.add(o)):"navDot"===s?(v(r),tt=tt.add(o)):"navThumb"===s&&(v(r),a.$wrap=o.children(":first"),nt=nt.add(o),n.video&&a.$wrap.append(rt.clone()))}})}function y(e,t,n,o){return e&&e.length&&Nt(e,t,n,o)}function b(e){n(e,"stage",function(e,t,n,o,i,a){if(o){var r=w(t),s=n.fit||T.fit,l=n.position||T.position;a.eq=r,vt[Lo][r]=o.css(Tt.extend({left:ge?0:_t(t,ut.w,T.margin,ie)},ge&&kt(0))),c=o[0],!Tt.contains(bt.documentElement,c)&&(o.appendTo(Ye),O(n.$video)),y(a.$img,ut,s,l),y(a.$full,ut,s,l)}var c})}function C(e,s){if("thumbs"===pe&&!isNaN(e)){var l=-e,c=-e+ut.nw;nt.each(function(){var e=Tt(this).data(),t=e.eq,n=function(){return{h:be,w:e.w}},o=n(),i=J[t]||{},a=i.thumbfit||T.thumbfit,r=i.thumbposition||T.thumbposition;o.w=e.w,e.l+e.w<l||e.l>c||y(e.$img,o,a,r)||s&&S([t],"navThumb",n,a,r)})}}
vendor: 6,991 bytes, line 1
1function k(e,t,n){if(!k[n]){var o="nav"===n&&fe,i=0;t.append(e.filter(function(){for(var e,t=Tt(this),n=t.data(),o=0,i=J.length;o<i;o++)if(n.data===J[o]){e=!0,n.eq=o;break}return e||t.remove()&&!1}).sort(function(e,t){return Tt(e).data().eq-Tt(t).data().eq}).each(function(){if(o){var e=Tt(this),t=e.data(),n=Math.round(be*t.data.thumbratio)||ye;t.l=i,t.w=n,e.css({width:n}),i+=n+T.thumbmargin}})),k[n]=!0}}function A(e){return e-gt>ut.w/3}function o(e){return!(de||ct+e&&ct-Q+e||te)}function I(){var e=o(0),t=o(1);Xe.toggleClass(An,e).attr(Yt(e)),Ke.toggleClass(An,t).attr(Yt(t))}function E(){pt.ok&&(pt.prevent={"<":o(0),">":o(1)})}function _(e){var t,n,o=e.data();return fe?(t=o.l,n=o.w):(t=e.position().left,n=e.width()),{c:t+n/2,min:-t+10*T.thumbmargin,max:-t+ut.w-n-10*T.thumbmargin}}function L(e){var t=ne[Pe].data();Qt(ot,{time:1.2*e,pos:t.l,width:t.w-2*T.thumbborderwidth})}function D(e){var t=J[e.guessIndex][Pe];if(t){var n=ft.min!==ft.max,o=e.minMax||n&&_(ne[Pe]),i=n&&(e.keep&&D.l?D.l:xt((e.coo||ut.nw/2)-_(t).c,o.min,o.max)),a=n&&xt(i,ft.min,ft.max),r=1.1*e.time;Qt(et,{time:r,pos:a||0,onEnd:function(){C(a,!0)}}),j(Ze,Wt(a,ft.min,ft.max)),D.l=i}}function F(e){for(var t=mt[e];t.length;)t.shift().removeClass(Bn)}function i(e){var n=vt[e];Tt.each(oe,function(e,t){delete n[w(t)]}),Tt.each(n,function(e,t){delete n[e],t.detach()})}function M(e){ie=ae=ct;var t=ne[Lo];t&&(F(Lo),mt[Lo].push(t.addClass(Bn)),e||Ne.show.onEnd(!0),Lt(Ye,0),i(Lo),b(oe),dt.min=de?-1/0:-_t(Q-1,ut.w,T.margin,ie),dt.max=de?1/0:-_t(0,ut.w,T.margin,ie),dt.snap=ut.w+T.margin,ft.min=Math.min(0,ut.nw-et.width()),ft.max=0,et.toggleClass(xn,!(ft.noMove=ft.min===ft.max)))}function P(n,e){n&&Tt.each(e,function(e,t){t&&Tt.extend(t,{width:n.width||t.width,height:n.height,minwidth:n.minwidth,maxwidth:n.maxwidth,minheight:n.minheight,maxheight:n.maxheight,ratio:Vt(n.ratio)})})}function $(e,t){s.trigger(on+":"+e,[Ne,t])}function R(){clearTimeout(N.t),Fe=1,T.stopautoplayontouch?Ne.stopAutoplay():_e=!0}function N(){Fe&&(T.stopautoplayontouch||(W(),U()),N.t=setTimeout(function(){Fe=0},ko+So))}function W(){_e=!(!te&&!Le)}function U(){if(clearTimeout(U.t),Rt.stop(U.w),T.autoplay&&!_e){Ne.autoplay||(Ne.autoplay=!0,$("startautoplay"));var n=ct,e=ne[Lo].data();U.w=Rt(function(){return e.state||n!==ct},function(){U.t=setTimeout(function(){if(!_e&&n===ct){var e=ce,t=J[e][Lo].data();U.w=Rt(function(){return t.state||e!==ce},function(){_e||e!==ce||Ne.show(de?Jt(!xe):ce)})}},T.autoplay)})}else Ne.autoplay&&(Ne.autoplay=!1,$("stopautoplay"))}function e(){Ne.fullScreen&&(Ne.fullScreen=!1,To&&uo.cancel(je),vo.removeClass(an),mo.removeClass(an),s.removeClass(Vn).insertAfter(Ge),ut=Tt.extend({},De),O(te,!0,!0),V("x",!1),Ne.resize(),S(oe,"stage"),Ht(go,Ie,Ae),$("fullscreenexit"))}function j(e,t){we&&(e.removeClass(jn+" "+On),t&&!te&&e.addClass(t.replace(/^|\s/g," "+Un+"--")))}function O(e,t,n){t&&(Ve.removeClass(cn),te=!1,a()),e&&e!==te&&(e.remove(),$("unloadvideo")),n&&(W(),U())}function B(e){Ve.toggleClass(pn,e)}function H(e){if(!dt.flow){var t=e?e.pageX:H.x,n=t&&!o(A(t))&&T.click;H.p!==n&&qe.toggleClass(Sn,n)&&(H.p=n,H.x=t)}}function G(t){clearTimeout(G.t),T.clicktransition&&T.clicktransition!==T.transition?setTimeout(function(){var e=T.transition;Ne.setOptions({transition:T.clicktransition}),Te=e,G.t=setTimeout(function(){Ne.show(t)},10)},0):Ne.show(t)}function V(e,t){dt[e]=ft[e]=t}function q(e){G({index:Tt(this).data().eq,slow:e.altKey,user:!0,coo:e._x-Ze.offset().left})}function Y(e){G({index:Je.index(this)?">":"<",slow:e.altKey,user:!0})}function z(e){Xt(e,function(){setTimeout(function(){Ht(qe)},0),B(!1)})}function X(){if(J=Ne.data=J||Bt(T.data)||$t(s),Q=Ne.size=J.length,!K.ok&&T.shuffle&&Ot(J),t(),ct=u(ct),Q&&c(!0),function(){function e(e,t){i[e?"add":"remove"].push(t)}Ne.options=T=Gt(T),ge="crossfade"===T.transition||"dissolve"===T.transition,de=T.loop&&(2<Q||ge&&(!Te||"slide"!==Te)),Ce=+T.transitionduration||ko,xe="rtl"===T.direction,Se=Tt.extend({},T.keyboard&&Po,T.keyboard);var t,n,o,i={add:[],remove:[]};1<Q||T.enableifsingleframe?(pe=T.nav,he="top"===T.navposition,i.remove.push(Hn),Je.toggle(!!T.arrows)):(pe=!1,Je.hide()),h(),ee=new po(Tt.extend(fo,T.spinner,ho,{direction:xe?-1:1})),I(),E(),T.autoplay&&r(T.autoplay),ye=At(T.thumbwidth)||Io,be=At(T.thumbheight)||Io,pt.ok=ht.ok=T.trackpad&&!wo,a(),P(T,[ut]),(fe="thumbs"===pe)?(g(Q,"navThumb"),Z=nt,Pe=Fo,t=He,n=Tt.Fotorama.jst.style({w:ye,h:be,b:T.thumbborderwidth,m:T.thumbmargin,s:We,q:!Co}),(o=t[0]).styleSheet?o.styleSheet.cssText=n:t.html(n),Ze.addClass(Mn).removeClass(Fn)):"dots"===pe?(g(Q,"navDot"),Z=tt,Pe=Do,Ze.addClass(Fn).removeClass(Mn)):(pe=!1,Ze.removeClass(Mn+" "+Fn)),pe&&(he?Qe.insertBefore(qe):Qe.insertAfter(qe),k.nav=!1,k(Z,et,"nav")),(me=T.allowfullscreen)?(it.prependTo(qe),ve=To&&"native"===me):(it.detach(),ve=!1),e(ge,un),e(!ge,dn),e(!T.captions,gn),e(xe,mn),e("always"!==T.arrows,yn),e(!(we=T.shadows&&!wo),fn),Ve.addClass(i.add.join(" ")).removeClass(i.remove.join(" ")),Tt.extend({},T)}(),!X.i){X.i=!0;var e=T.startindex;(e||T.hash&&Ct.hash)&&(ue=Ut(e||Ct.hash.replace(/^#/,""),J,0===Ne.index||e,e)),ct=ie=ae=re=ue=d(ue)||0}if(Q){if(function e(){return!e.f===xe?(e.f=xe,ct=Q-1-ct,Ne.reverse(),!0):void 0}())return;te&&O(te,!0),oe=[],i(Lo),X.ok=!0,Ne.show({index:ct,time:0}),Ne.resize()}else Ne.destroy()}function K(){K.ok||(K.ok=!0,$("ready"))}mo=Tt("html"),vo=Tt("body");var J,Q,Z,ee,te,ne,oe,ie,ae,re,se,le,ce,ue,de,pe,fe,he,me,ve,ge,ye,be,Ce,Te,we,xe,Se,ke,Ae,Ie,Ee,_e,Le,De,Fe,Me,Pe,$e,Re,Ne=this,We=Tt.now(),Ue=on+We,je=s[0],Oe=1,Be=s.data(),He=Tt("<style></style>"),Ge=Tt(jt(Gn)),Ve=Tt(jt(rn)),qe=Tt(jt(bn)).appendTo(Ve),Ye=(qe[0],Tt(jt(wn)).appendTo(qe)),ze=Tt(),Xe=Tt(jt(kn+" "+In+co)),Ke=Tt(jt(kn+" "+En+co)),Je=Xe.add(Ke).appendTo(qe),Qe=Tt(jt(Ln)),Ze=Tt(jt(_n)).appendTo(Qe),et=Tt(jt(Dn)).appendTo(Ze),tt=Tt(),nt=Tt(),ot=(Ye.data(),et.data(),Tt(jt(no)).appendTo(et)),it=Tt(jt(qn+co)),at=it[0],rt=Tt(jt(io)),st=Tt(jt(ao)).appendTo(qe)[0],lt=Tt(jt(lo)),ct=!1,ut={},dt={},pt={},ft={},ht={},mt={},vt={},gt=0,yt=[];Ve[Lo]=Tt(jt(Cn)),Ve[Fo]=Tt(jt(Pn+" "+Rn+co,jt(to))),Ve[Do]=Tt(jt(Pn+" "+$n+co,jt(eo))),mt[Lo]=[],mt[Fo]=[],mt[Do]=[],vt[Lo]={},Ve.addClass(bo?ln:sn).toggleClass(pn,!T.controlsonstart),Be.fotorama=this,Ne.startAutoplay=function(e){return Ne.autoplay||(_e=Le=!1,r(e||T.autoplay),U()),this},Ne.stopAutoplay=function(){return Ne.autoplay&&(_e=Le=!0,U()),this},Ne.show=function(t){var e;"object"!=typeof t?(e=t,t={}):e=t.index,e=">"===e?ae+1:"<"===e?ae-1:"<<"===e?0:">>"===e?Q-1:e,e=void 0===(e=isNaN(e)?Ut(e,J,!0):e)?ct||0:e,Ne.activeIndex=ct=d(e),se=p(ct),le=f(ct),ce=w(ct+(xe?-1:1)),oe=[ct,se,le],ae=de?e:ct;var n=Math.abs(re-ae),o=Dt(t.time,function(){return Math.min(Ce*(1+(n-1)/12),2*Ce)}),i=t.overPos;t.slow&&(o*=10);var a=ne;Ne.activeFrame=ne=J[ct];var r=a===ne&&!t.user;O(te,ne.i!==J[w(ie)].i),g(oe,"stage"),b(wo?[ae]:[ae,p(ae),f(ae)]),V("go",!0),r||$("show",{user:t.user,time:o}),_e=!0;var s,l=Ne.show.onEnd=function(e){if(!l.ok){if(l.ok=!0,e||M(!0),r||$("showen
1d",{user:t.user}),!e&&Te&&Te!==T.transition)return Ne.setOptions({transition:Te}),void(Te=!1);m(),S(oe,"stage"),V("go",!1),E(),H(),W(),U()}};ge?function t(e,n,o,i,a,r){var s=void 0!==r;if(s||(a.push(arguments),Array.prototype.push.call(arguments,a.length),!(1<a.length))){e=e||Tt(e),n=n||Tt(n);var l=e[0],c=n[0],u="crossfade"===i.method,d=function(){if(!d.done){d.done=!0;var e=(s||a.shift())&&a.shift();e&&t.apply(this,e),(i.onEnd||wt)(!!e)}},p=i.time/(r||1);o.removeClass(Wn+" "+Nn),e.stop().addClass(Wn),n.stop().addClass(Nn),u&&c&&e.fadeTo(0,0),e.fadeTo(u?p:0,1,u&&d),n.fadeTo(p,0,d),l&&u||c||d()}}(ne[Lo],ct!==re?J[re][Lo]:null,ze,{time:o,method:T.transition,onEnd:l},yt):Qt(Ye,{pos:-_t(ae,ut.w,T.margin,ie),overPos:i,time:o,onEnd:l});if(I(),pe){F(Pe),mt[Pe].push(ne[Pe].addClass(Bn));var c=u(ct+xt(ae-re,-1,1));D({time:o,coo:c!==ct&&t.coo,guessIndex:void 0!==t.coo?c:ct,keep:r}),fe&&L(o)}return Ee=void 0!==re&&re!==ct,re=ct,T.hash&&Ee&&!Ne.eq&&(s=ne.id||ct+1,Ct.replace(Ct.protocol+"//"+Ct.host+Ct.pathname.replace(/^\/?/,"/")+Ct.search+"#"+s)),this},Ne.requestFullScreen=function(){return me&&!Ne.fullScreen&&(Ae=go.scrollTop(),Ie=go.scrollLeft(),Ht(go),V("x",!0),De=Tt.extend({},ut),s.addClass(Vn).appendTo(vo.addClass(an)),mo.addClass(an),O(te,!0,!0),Ne.fullScreen=!0,ve&&uo.request(je),Ne.resize(),S(oe,"stage"),m(),$("fullscreenenter")),this},Ne.cancelFullScreen=function(){return ve&&uo.is()?uo.cancel(bt):e(),this},Ne.toggleFullScreen=function(){return Ne[(Ne.fullScreen?"cancel":"request")+"FullScreen"]()},qt(bt,uo.event,function(){!J||uo.is()||te||e()}),Ne.resize=function(e){if(!J)return this;var t=arguments[1]||0,n=arguments[2];P(Ne.fullScreen?{width:"100%",maxwidth:null,minwidth:null,height:"100%",maxheight:null,minheight:null}:Gt(e),[ut,n||Ne.fullScreen||T]);var o=ut.width,i=ut.height,a=ut.ratio,r=go.height()-(pe?Ze.height():0);return Et(o)&&(Ve.addClass(vn).css({width:o,minWidth:ut.minwidth||0,maxWidth:ut.maxwidth||99999}),o=ut.W=ut.w=Ve.width(),ut.nw=pe&&It(T.navwidth,o)||o,T.glimpse&&(ut.w-=Math.round(2*(It(T.glimpse,o)||0))),Ye.css({width:ut.w,marginLeft:(ut.W-ut.w)/2}),(i=(i=It(i,r))||a&&o/a)&&(o=Math.round(o),i=ut.h=Math.round(xt(i,It(ut.minheight,r),It(ut.maxheight,r))),qe.stop().animate({width:o,height:i},t,function(){Ve.removeClass(vn)}),M(),pe&&(Ze.stop().animate({width:ut.nw},t),D({guessIndex:ct,time:t,keep:!0}),fe&&k.nav&&L(t)),ke=n||!0,K())),gt=qe.offset().left,this},Ne.setOptions=function(e){return Tt.extend(T,e),X(),this},Ne.shuffle=function(){return J&&Ot(J)&&X(),this},Ne.destroy=function(){return Ne.cancelFullScreen(),Ne.stopAutoplay(),J=Ne.data=null,c(),oe=[],i(Lo),X.ok=!1,this},Ne.playVideo=function(){var e=ne,t=e.video,n=ct;return"object"==typeof t&&e.videoReady&&(ve&&Ne.fullScreen&&Ne.cancelFullScreen(),Rt(function(){return!uo.is()||n!==ct},function(){n===ct&&(e.$video=e.$video||Tt(Tt.Fotorama.jst.video(t)),e.$video.appendTo(e[Lo]),Ve.addClass(cn),te=e.$video,a(),Je.blur(),it.blur(),$("loadvideo"))})),this},Ne.stopVideo=function(){return O(te,!0,!0),this},qe.on("mousemove",H),dt=en(Ye,{onStart:R,onMove:function(e,t){j(qe,t.edge)},onTouchEnd:N,onEnd:function(e){j(qe);var t,n,o,i,a,r,s,l=(xo&&!Me||e.touch)&&T.arrows&&"always"!==T.arrows;if(e.moved||l&&e.pos!==e.newPos&&!e.control){var c=(i=e.newPos,a=ut.w,r=T.margin,s=ie,-Math.round(i/(a+(r||0))-(s||0)));Ne.show({index:c,time:ge?Ce:e.time,overPos:e.overPos,user:!0})}else e.aborted||e.control||(t=e.startEvent,n=l,o=t.target,Tt(o).hasClass(io)?Ne.playVideo():o===at?Ne.toggleFullScreen():te?o===st&&O(te,!0,!0):n?B():T.click&&G({index:t.shiftKey||Jt(A(t._x)),slow:t.altKey,user:!0}))},timeLow:1,timeHigh:1,friction:2,select:"."+Hn+", ."+Hn+" *",$wrap:qe}),ft=en(et,{onStart:R,onMove:function(e,t){j(Ze,t.edge)},onTouchEnd:N,onEnd:function(e){function t(){D.l=e.newPos,W(),U(),C(e.newPos,!0)}if(e.moved)e.pos!==e.newPos?(_e=!0,Qt(et,{time:e.time,pos:e.newPos,overPos:e.overPos,onEnd:t}),C(e.newPos),we&&j(Ze,Wt(e.newPos,ft.min,ft.max))):t();else{var n=e.$target.closest("."+Pn,et)[0];n&&q.call(n,e.startEvent)}},timeLow:.5,timeHigh:2,friction:5,$wrap:Ze}),pt=tn(qe,{shift:!0,onEnd:function(e,t){R(),N(),Ne.show({index:t,slow:e.altKey})}}),ht=tn(Ze,{onEnd:function(e,t){R(),N();var n=Lt(et)+.25*t;et.css(St(xt(n,ft.min,ft.max))),we&&j(Ze,Wt(n,ft.min,ft.max)),ht.prevent={"<":n>=ft.max,">":n<=ft.min},clearTimeout(ht.t),ht.t=setTimeout(function(){C(D.l=n,!0)},So),C(n)}}),Ve.hover(function(){setTimeout(function(){Fe||B(!(Me=!0))}
1,0)},function(){Me&&B(!(Me=!1))}),$e=function(e){Kt(e),Y.call(this,e)},Re=(Re={onStart:function(){R(),dt.control=!0},onTouchEnd:N})||{},Je.each(function(){var t,e=Tt(this),n=e.data();n.clickOn||(n.clickOn=!0,Tt.extend(Zt(e,{onStart:function(e){t=e,(Re.onStart||wt).call(this,e)},onMove:Re.onMove||wt,onTouchEnd:Re.onTouchEnd||wt,onEnd:function(e){e.moved||$e.call(this,t)}}),{noMove:!0}))}),Je.each(function(){zt(this,function(e){Y.call(this,e)}),z(this)}),zt(at,Ne.toggleFullScreen),z(at),Tt.each("load push pop shift unshift reverse sort splice".split(" "),function(e,t){Ne[t]=function(){return J=J||[],"load"!==t?Array.prototype[t].apply(J,arguments):arguments[0]&&"object"==typeof arguments[0]&&arguments[0].length&&(J=Bt(arguments[0])),X(),Ne}}),X()},Tt.fn.fotorama=function(i){return this.each(function(){var t=this,e=Tt(this),n=e.data(),o=n.fotorama;o?o.setOptions(i,!0):Rt(function(){return!(0===(e=t).offsetWidth&&0===e.offsetHeight);var e},function(){n.urtext=e.html(),new Tt.Fotorama(e,Tt.extend({},S,a.fotoramaDefaults,i,n))})})},Tt.Fotorama.instances=[],Tt.Fotorama.cache={},Tt.Fotorama.measures={},(Tt=Tt||{}).Fotorama=Tt.Fotorama||{},Tt.Fotorama.jst=Tt.Fotorama.jst||{},Tt.Fotorama.jst.style=function(e){var t;return""+".fotorama"+(null==(t=e.s)?"":t)+" .fotorama__nav--thumbs .fotorama__nav__frame{\npadding:"+(null==(t=e.m)?"":t)+"px;\nheight:"+(null==(t=e.h)?"":t)+"px}\n.fotorama"+(null==(t=e.s)?"":t)+" .fotorama__thumb-border{\nheight:"+(null==(t=e.h-e.b*(e.q?0:2))?"":t)+"px;\nborder-width:"+(null==(t=e.b)?"":t)+"px;\nmargin-top:"+(null==(t=e.m)?"":t)+"px}"},Tt.Fotorama.jst.video=function(e){var t="",n=Array.prototype.join;return t+='<div class="fotorama__video"><iframe src="',function(){t+=n.call(arguments,"")}(("youtube"==e.type?e.p+"youtube.com/embed/"+e.id+"?autoplay=1":"vimeo"==e.type?e.p+"player.vimeo.com/video/"+e.id+"?autoplay=1&badge=0":e.id)+(e.s&&"custom"!=e.type?"&"+e.s:"")),t+='" frameborder="0" allowfullscreen></iframe></div>\n'},Tt(function(){Tt("."+on+':not([data-auto="false"])').fotorama()})}(window,document,location,"undefined"!=typeof jQuery&&jQuery);var CurrDate=new Date,CurrYear=CurrDate.getFullYear(),CurrMonth=CurrDate.getMonth()+1,CurrDay=CurrDate.getDate(),CurrHour=CurrDate.getHours(),CurrMinutes=CurrDate.getMinutes();console.log.apply(console,["%c© 2008-"+CurrYear+" SALDA.WS\[email protected]\nhttps://salda.ws","color:#9ff;text-shadow:1px 1px 2px #000;background:#333;padding:4px 8px;margin:2px 0;border:1px solid #666;border-radius:3px;"]);var html=document.documentElement,body=document.body,_win=$(window),_doc=$(document),_html=$("html"),_body=$("body"),_page=$(".page");if("salda.ws"==window.location.hostname){var ADV='<div id="ADV_3"></div><script>window.yaContextCb.push(()=>{Ya.Context.AdvManager.render({"blockId":"R-A-323840-38","renderTo":"ADV_3"})})<\/script>';["log","info","warn","error","table","clear","dir"].forEach(function(e){console[e]=function(){}})}else ADV="";var CurrentSound,GVAR={},BSB=0,BtnAuth=$(".BtnAuth"),NewMess=$("[data-count-new-mess]").data("count-new-mess"),ATG=$(".ATG"),PDOMAIN=window.location.origin,CurrUrl=new URL(window.location.href),rAFLT=rAFCT=0,rAFInt=1e3/60;function SIReloadAds(e,t,n){setInterval(function(){ReloadAds(e,t)},n)}function ReloadAds(e,t){document.getElementById(t)&&Ya.Context.AdvManager.render({renderTo:t,blockId:e})}function SetCookies(e,t,n,o,i,a,r){CS=e+"="+escape(t),n&&(Exp=new Date(n,o,i),CS+="; expires="+Exp.toUTCString()),CS+=a?"; path="+escape(a):"; path=/",CS+=r?"; domain="+escape(r):"; domain="+document.domain,"https:"==window.location.protocol&&(CS+="; secure"),document.cookie=CS}function DelCookies(e){CurrDate.setTime(CurrDate.getTime()-1),document.cookie=e+="=; expires="+CurrDate.toUTCString()}function GetCookies(e){return Res=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)"),Res?unescape(Res[2]):null}function DelAllCookies(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t],o=n.indexOf("="),i=-1<o?n.substr(0,o):n;document.cookie=i+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;",document.cookie=i+"=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}}function ScrollbarSwitch(e){0==BSB?(html.style.cssText="width:"+html.offsetWidth+"px;overflow:hidden;",BSB=e):BSB==e&&(html.removeAttribute("style"),BSB=0)}function IsSet(e){return null!=e}function RandId(){return Math.floor(26*Math.random())+Date.now()}function LocalStorage(e,t){if(e)return t?void localStorage.setItem(e,JSON.stringify(t)):JSON.parse(localStorage.getItem(e))}function PreloadImage(e,t){img=new Image,img.src=e,img.onload=function(){t(null,img)},img.onerror=function(){t("ÐÑибка загÑÑзки изобÑажениÑ!",null)}}function IsImageExt(e){for(i in AExt=[".jpg",".jpeg",".png",".gif"],e=e.toLowerCase(),AExt)if(e.endsWith(AExt[i]))return!0;return!1}function getCursorPosition(){var e;if(window.getSelection)try{e=window.getSelection().getRangeAt(0)}catch(e){}else document.selection&&(e=document.selection.createRange());return e}function setCursorPosition(e){var t;e&&(window.getSelection?(0<(t=window.getSelection()).rangeCount&&t.removeAllRanges(),t.addRange(e)):document.createRange?window.getSelection().addRange(e):document.selection&&e.select())}function ParseVideo(e){return m=e.match(/(?:https?:\/\/(?:www\.)?)?youtube\.com\/watch\?v=([a-zA-Z0-9_-]{11})|(?:https?:\/\/(?:www\.)?)?youtu\.be\/([a-zA-Z0-9_-]{11})/),m?(i=m[1]||m[2],'<div class="vbox_video"><div class="youtube" data-yp="'+i+'" style="background-image:url(https://i.ytimg.com/vi/'+i+'/mqdefault.jpg);"><span></span></div></div><br>'):(m=e.match(/rutube\.ru\/video\/([a-zA-Z0-9]+)/),m?'<div class="vbox_video"><div data-rp="https://rutube.ru/play/embed/'+m[1]+'" style="background-image:url(https://rutube.ru/api/video/'+m[1]+'/thumbn
1ail/?redirect=1);"><span></span></div></div><br>':(m=e.match(/rutube\.ru\/shorts\/([a-zA-Z0-9]+)/),m?'<div class="vbox_video"><div data-rp="https://rutube.ru/play/embed/'+m[1]+'" style="background-image:url(https://rutube.ru/api/video/'+m[1]+'/thumbnail/?redirect=1);"><span></span></div></div><br>':(m=e.match(/video(-?[\d]+)_(\d+)/),m?'<div class="vbox_video"><div data-videovk="https://vk.com/video_ext.php?oid='+m[1]+"&id="+m[2]+'&hd=2&autoplay=1"></div></div><br>':void 0)))}function SoundPlay(e,t){navigator.userActivation.hasBeenActive&&(CurrentSound&&CurrentSound.pause(),t=t||1,(CurrentSound=new Audio).volume=t,CurrentSound.src="/sounds/"+e+".mp3",CurrentSound.addEventListener("canplaythrough",function(){CurrentSound.play()}),CurrentSound.addEventListener("ended",function(){CurrentSound=null}))}function GetXYEvent(e,t){e instanceof $&&(e=e[0]),OX=t.OffsetX||0,OY=t.OffsetY||0,P=e.getBoundingClientRect(),B=html.getBoundingClientRect(),t.X=t.pageX+OX,t.Y=t.pageY+OY+B.top,t.X=MinMax(t.X,0,B.width-P.width),t.Y=MinMax(t.Y,0,B.height-P.height)}function Random(e,t){return isArray(e)?e[~~(Math.random()*e.length)]:(isNumber(t)||(t=e||1,e=0),e+Math.random()*(t-e))}function isArray(e){return"[object Array]"==Object.prototype.toString.call(e)}function isNumber(e){return"number"==typeof e}function MinMax(e,t,n){return Math.min(Math.max(e,t),n)}function htmlspecialchars(e){return"string"==typeof e&&(e=(e=(e=(e=(e=e.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,""")).replace(/'/g,"'")),e}function createDescription(e){return ct=e.replace(/<[^>]*>?/gm,"").trim(),ct.length<=256?ct:(ss=ct.substr(0,255),ss.substr(0,ss.lastIndexOf(" "))+"...")}function getPluralWord(e,t){return p=new Intl.PluralRules("ru"),r=p.select(e),"one"===r?t[0]:"few"===r?t[1]:t[2]}function ExTime(e){e?console.timeEnd("ExTime"):console.time("ExTime")}function switchOrCreateTab(e,t){Tab=window.open("",t),Tab&&"about:blank"!==Tab.location.href?Tab.focus():window.open(e,t)}function GetScrollHeight(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)}function Toast(e,t,n,o){var i;return t=t||"Information",IsSet(n)?0==n&&(n=!1):n=7,ToastShow=function(){SoundPlay("win_down"),Btn="close"==o?'<div class="ToastButton ToastClose">ÐакÑÑÑÑ</div>':"reload"==o?'<div class="ToastButton" onclick="location.reload()">ÐÑодолжиÑÑ</div>':o||"",_body.append('<div class="Toast Toast'+t+'"><i></i><p>'+e+'</p><div class="ToastButtonWrap">'+Btn+'</div><div class="TostLoader"></div></div>'),TB=$(".Toast"),TC=$(".Toast>i,.ToastClose"),TB.css("background"),TB.addClass("ToastShow"),TB.one("transitionend",function(){TC.off("click").on("click",function(){SoundPlay("win_down"),TB.addClass("ToastHide").one("transitionend",function(){clearTimeout(i),TB.remove()})}),n&&(i=setTimeout(function(){SoundPlay("win_down"),TB.addClass("ToastHide").one("transitionend",function(){clearTimeout(i),TB.remove(),TC.off("click")})},1e3*n),$(".TostLoader").attr("style","width:100%;-webkit-transition:width "+(n-.2)+"s linear;transition:width "+(n-.2)+"s linear"))})},TB=$(".Toast"),TB.length?(TC=$(".Toast>i,.ToastClose"),SoundPlay("win_down"),TB.addClass("ToastHide").one("transitionend",function(){clearTimeout(i),TB.remove(),TC.off("click"),ToastShow()})):ToastShow(),!1}function escapeHtml(e){return map={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},String(e).replace(/[&<>"'`=\/]/g,function(e){return map[e]})}function selectText(e){var t,n,o=document,i=o.getElementById(e);o.body.createTextRange?((t=document.body.createTextRange()).moveToElementText(i),t.select()):window.getSelection&&(n=window.getSelection(),(t=document.createRange()).selectNodeContents(i),n.removeAllRanges(),n.addRange(t))}function is_touch_device(){return!!("ontouchstart"in window)}function ToggleBlock(e){"none"==$(e).css("display")?$(e).slideDown(300):$(e).slideUp(300)}
1function FormSelectCat(e){$("[select_subcat]").slideUp(300).attr("name",""),v=$("[name=select_subcat]").val(),"none"==$("[select_subcat="+v+"]").css("display")?$("[select_subcat="+v+"]").slideDown(300).attr("name","cat"):$("[select_subcat="+v+"]").slideUp(300).attr("name","")}function CheckAgreements(e){0==e.checked?$("input[type=submit]").prop("disabled",!0):$("input[type=submit]").prop("disabled",!1)}function Toggle(e){obj=document.getElementById(e),"none"==obj.style.display?obj.style.display="block":obj.style.display="none"}function NewWin(e,t,n,o,i){return n=n||screen.width,o=o||screen.height,x=(screen.width-n)/2,y=(screen.height-o)/2,OW=window.open(e,t,"height="+o+",width="+n+",left="+x+",top="+y+",scrollbars=yes,resizable=no,location=no,status=no,toolbar=no,menubar=no"),!1}function output_js(e){return'<div class="output_js">'+e+"</div>"}function error_js(e){return'<div class="error_js">'+e+"</div>"}function ImSp(e,t){return'<i class="si_'+e+'"'+(t=t?' title="'+t+'"':"")+"></i> "}function randInt(e,t){return Math.floor(+e+Math.random()*(+t+1-+e))}if($.fn.exists=function(){return 0<this.length},$.fn.toggleAttr=function(e,t,n){return this.attr(e,this.attr(e)==t?n:t),this},$.fn.ImageLoad=function(e){var n=this.length,o=0,t=!1;function i(){n<=o&&e()}this.each(function(){this.complete||void 0!==this.naturalWidth&&0!==this.naturalWidth?(o++,i()):(Loader({MessI:this.src+'<span class="PLCancel">ÐÑмена</span>'}),t||(document.addEventListener("click",function e(t){"PLCancel"==t.target.classList&&(document.removeEventListener("click",e),o=n,i())}),t=!0),$(this).one("load",function(){o++,i()}).one("error",function(){o++,i()}))})},_doc.ready(function(){$("#PLO").remove(),_body.removeClass("TransitionDisable");var o=document.body.dataset.ke;document.body.removeAttribute("data-ke"),document.querySelectorAll("[data-he]").forEach(function(e){if(en=e.getAttribute("data-he"),en){for(h=e.parentElement.getAttribute("href")||null,r="",be=atob(en),i=0;i<be.length;i++)r+=String.fromCharCode(be.charCodeAt(i)^o.charCodeAt(i%o.length));h&&"#"===h&&(e.parentElement.href="mailto:"+r),e.textContent=r}});var f=document.querySelector(".img404");if(f){rAFInt=1e3/30,function e(t){rAFInt<=t-rAFLT&&(f.style.backgroundPosition=randInt(0,200)+"px "+randInt(0,200)+"px",rAFLT=t);requestAnimationFrame(e)}(rAFCT)}_body.on("click",".TextareaSelectAll",function(e){document.execCommand("selectAll"),document.execCommand("copy"),Toast("Ðод Ð´Ð»Ñ ÑÑÑановки ÑкопиÑован!")}),$("body").on("click",".RadioYouFMRU",function(e){e.preventDefault(),switchOrCreateTab("https://youfm.ru","YouFM.RU")});var g,C,w,S,k=function(){var n;function o(e){FCL=FC.querySelector(".FCL"),FCL?(requestAnimationFrame(function(){FCL.classList.remove("FCLV")}),FCL.addEventListener("transitionend",function(){FCL.remove()},{once:!0})):(FCView.insertAdjacentHTML("afterbegin",'<span class="FCL">'+e+"</span>"),FCL=FC.querySelector(".FCL"),requestAnimationFrame(function(){FCL.classList.add("FCLV")}))}function e(){SoundPlay("snap",.3),k.value="",IntCaptcha="",FCKeyN.forEach(function(e){e.classList.add("InActive")}),FCIn.classList.contains("FCInError")||(FCIn.innerHTML="â¢â¢â¢â¢"),requestAnimationFrame(function(){FCImg.classList.remove("FCImgV")}),o("ÐагÑÑзка"),FCImg.addEventListener("transitionend",function(){$.ajax({url:"/jsr.php?act=captcha&MCN",type:"GET",cache:!1,dataType:"html",success:function(e){n=JSON.parse(e),i()}})},{once:!0})}function i(){o(),FCImg.style.cssText="background-image:url(data:image/png;base64,"+n.img+")",n=null,requestAnimationFrame(function(){FCImg.classList.add("FCImgV")}),FCKeyN[0].classList.contains("InActive")&&FCKeyN.forEach(function(e){e.classList.remove("InActive")}),FCDel.classList.add("InActive"),FCOk.classList.add("InActive"),FCImg.addEventListener("transitionend",function(){FCView.removeEventListener("click",e,{once:!0}),FCView.addEventListener("click",e,{once:!0}),FCIn.classList.contains("FCInError")&&setTimeout(function(){FCIn.classList.remove("FCInError"),FCIn.innerHTML="â¢â¢â¢â¢"},1e3)},{once:!0})}function a(e){if("SPAN"===e.target.tagName||"keyup"===e.type)if("click"==e.type&&(E=e.target.textContent),"keyup"==e.type&&(E=e.key),CN=e.target.className,"FCOk"==CN||"Enter"==E){if(IntCaptcha.length<4)return;requestAnimationFrame(function(){FCImg.classList.remove("FCImgV")}),o("ÐÑовеÑка"),Loader16(CaptchaV,"ÐÑовеÑка..."),FCImg.addEventListener("transitionend",function(){$.ajax({url:"/jsr.php?act=captcha&c="+IntCaptcha+"&MCN",type:"GET",cac
1he:!1,dataType:"html",success:function(e){(n=JSON.parse(e)).error?(FCIn.classList.add("FCInError"),SoundPlay("error",.3),CaptchaV.innerHTML=n.error,o(),i(),k.value="",IntCaptcha=""):n.ok&&(SoundPlay("snap",.3),FCKey.removeEventListener("click",a),document.removeEventListener("keyup",a),k.value=IntCaptcha,CaptchaV.innerHTML=n.ok,FCIn.classList.add("FCInOk"),FCIn.innerHTML="OK",IntCaptcha="",setTimeout(function(){UWinFC.Close()},700))}})},{once:!0})}else if("FCDel"==CN||"Backspace"==E){if(FCKeyN[0].classList.contains("InActive")&&FCKeyN.forEach(function(e){e.classList.remove("InActive")}),IntCaptcha.length<=0)return;SoundPlay("snap",.3),FCOk.classList.add("InActive"),IntCaptcha=IntCaptcha.slice(0,-1),0==IntCaptcha.length&&FCDel.classList.add("InActive"),FCIn.innerHTML=IntCaptcha.padEnd(4,"â¢")}else if(/\d/.test(E)&&(SoundPlay("snap",.3),IntCaptcha.length<4&&(IntCaptcha+=E),0<IntCaptcha.length&&FCDel.classList.remove("InActive"),4<=IntCaptcha.length&&FCOk.classList.remove("InActive"),FCIn.innerHTML=IntCaptcha.padEnd(4,"â¢"),4<=IntCaptcha.length))return void FCKeyN.forEach(function(e){e.classList.add("InActive")})}_body.on("click",".Captcha",function(e){var t=e.currentTarget;d='<div class="FC"><div class="FCView" title="ÐбновиÑÑ ÐºÐ¾Ð´"><span class="FCImg"></span><span class="FCIn">â¢â¢â¢â¢</span></div>',d+='<div class="FCKey">',d+='<span class="FCKeyN InActive">1</span><span class="FCKeyN InActive">2</span><span class="FCKeyN InActive">3</span><span class="FCKeyN InActive">4</span><span class="FCKeyN InActive">5</span><span class="FCKeyN InActive">6</span><span class="FCKeyN InActive">7</span><span class="FCKeyN InActive">8</span><span class="FCKeyN InActive">9</span>',d+='<span class="FCDel InActive">«</span><span class="FCKeyN InActive">0</span><span class="FCOk InActive">OK</span>',d+="</div></div>",FaqBtn='<a href="#" data-context="open,1,1,1">'+ImSp("faq")+"</a>",FaqBtn+='<span class="context_block">',FaqBtn+="<div>ÐведиÑе код Ñ ÐºÐ°ÑÑинки.<br>ÐÐ»Ñ Ð²Ð²Ð¾Ð´Ð° можеÑе иÑполÑзоваÑÑ ÐºÐ»Ð°Ð²Ð¸Ð°ÑÑÑÑ.<br>Ðажмине на каÑÑÐ¸Ð½ÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¸Ñ Ð½Ð¾Ð²Ð¾Ð³Ð¾ кода.</div>",FaqBtn+="</span>",UWinFC=UniWin({E:e,Type:"Drag",Button:FaqBtn,Title:ImSp("captcha")+"ÐведиÑе код",SoundOpen:!0,SoundClose:!0,Data:d},function(e){STFCInE=!1,CaptchaV=t.querySelector(".CaptchaV"),k=t.querySelector("input"),FC=document.querySelector(".FC"),FCIn=FC.querySelector(".FCIn"),FCKey=FC.querySelector(".FCKey"),FCView=FC.querySelector(".FCView"),FCImg=FC.querySelector(".FCImg"),FCKeyN=FCKey.querySelectorAll(".FCKeyN"),FCDel=FCKey.querySelector(".FCDel"),FCOk=FCKey.querySelector(".FCOk"),IntCaptcha="",k.value="",o("ÐагÑÑзка"),CaptchaV.innerHTML=ImSp("captcha")+"ÐведиÑе код â¢â¢â¢â¢",FCKey.removeEventListener("click",a),FCKey.addEventListener("click",a),document.removeEventListener("keyup",a),document.addEventListener("keyup",a),$.ajax({url:"/jsr.php?act=captcha&MCN",type:"GET",cache:!1,dataType:"html",success:function(e){n=JSON.parse(e),i()}})})})}();function A(){CN=$("div[id^='MC_']").length-1,"popup"!=S.D.data("out")&&"drag"!=S.D.data("out")||CN++,MCN="&MCN="+CN,S.D.data("formsend")?(v=document.forms[S.D.data("formsend")],v.addEventListener("submit",function(e){e.preventDefault()}),$.ajax({url:"/jsr.php?act="+S.D.attr("data-jsr")+MCN,data:new FormData(v),type:"POST",cache:!1,dataType:"json",contentType:!1,processData:!1,success:function(e){v.captcha&&(v.captcha.value="",$(".CaptchaV").html(ImSp("captcha")+"ÐведиÑе код ····")),S.R=e,S.R.err||"reset"in S.D.data()&&(v.reset(),$(v).find(".ETAE").html(""),$(v).find(".TTAE").val("")),_()}})):$.ajax({url:"/jsr.php?act="+S.D.attr("data-jsr")+MCN,data:S.D.data(),type:"POST",dataType:"json",success:function(e){(IB=S.D.data("del-wrap-block"))&&$('[data-wrap-block="'+IB+'"]').fadeOut(300),S.R=e,_()}})}function _(){if(S.R.err)return Loader(),Toast(S.R.res,"Error",15,"close"),S.R.TG&&ATG.html(S.R.TG),!1;"toast"==S.TYPE?S.R.err?Toast(S.R.res,"Error",15,"close"):Toast(S.R.res,"Success",5):"popup"==S.TYPE?F():"out"==S.TYPE?(S.OUT=$("#"+S.D.data("out")),hasImg=/<img\b/i.test(S.R.res),hasImg&&(Img=$(S.R.res).find("img")),Img.length?Img.ImageLoad(function(){Loader({},function(){S.OUT.html(S.R.res)})}):Loader({},function(){S.OUT.html(S.R.res)})):S.OUT.replaceWith(S.R.res),S.R.TG&&ATG.html(S.R.TG)}function F(){Html=S.D.html(),Html=Html.replace(/<img[^>]*>/gi,""),1<Html.length?Title=Html:S.D.attr("title")?Title=S.D.attr("title"):S.D.data("title")?Title=S.D.data("title"):S.D.children("img").attr("alt")?Title=S.D.children("img").attr("alt"):S.D.attr("value")?Title=S.D.attr("value"):S.D.children().attr("title")&&(Title=S.D.children().attr("title")),UWin=UniWin({E:S.E,Type:"drag"==S.D.data("out")?"Drag":"Popup",Title:Title,Center:!IsSet(S.D.data("uw-center")),OutSideClick:!!IsSet(S.D.data("uw-outclick")),Resize:!IsSet(S.D.data("uw-noresize")),BtnFullscreen:!0,Loader:!IsSet(S.D.data("uw-noloader")),SoundOpen:!0,SoundClose:!0,PageOpacity:!!S.D.data("uw-page-opacity")&&S.D.data("uw-page-opacity"),NoLayer:!!IsSet(S.D.data("uw-nolayer")),Adv:!!IsSet(S.D.data("adv")),NoSaveWH:!!IsSet(S.D.data("uw-nswh")),BG:!!IsSet(S.D.data("uw-bg"))&&S.D.data("uw-bg"),BDF:!!IsSet(S.D.data("uw-bdf"))&&S.D.data("uw-bdf"),BtnFullscreen:!IsSet(S.D.data("uw-nobtnfullscreen")),FullScreen:!!IsSet(S.D.data("uw-fullscreen")),Button:!!IsSet(S.D.data("uw-button"))&&S.D.data("uw-button"),UWLB:!!IsSet(S.D.data("uw-uwlb"))&&S.D.data("uw-uwlb"),UWLBDF:!!IsSet(S.D.data("uw-uwlbdf"))&&S.D.data("uw-uwlbdf"),UwinClose:!!IsSet(S.D.data("uwin-close"))&&S.D.data("uwin-close"),Refresh:!IsSet(S.D.data("uw-no-refresh"))}),UWin.Out.html(S.R.res)}_body.on("click",".ImgCenter,.ImgLeft,.ImgRight",function(e){e.preventDefault(),UniWin({E:e,Type:"Drag",Title:ImSp("pictures"),BG:"rgb(0 0 0 / 70%)",Center:!0,OutSideClick:!0,Resize:!0,Loader:!0,SoundOpen:!0,SoundClose:!0,BtnFullscreen:!0,Data:e.currentTarget.innerHTML})}),_body.on("click",".ImgPopup,.ContBoxC img[src^=http],.ETAE img[src^=http],.TAEPreview img[src^=http],.output_js img[src^=http]",function(e){$(this).parent("a").length||UniWin({E:e,Type:"Drag",Title:ImSp("pictures"),Center:!0,OutSideClick:!0,Resize:!0,Loader:!0,SoundOpen:!0,SoundClose:!0,BtnFullscreen:!0,Data:'<img src="'+this.src+'">'})}),_body.on("click","[data-set-opacity]",function(e){$(this).closest('[data-wrap-block="'+$(this).data("set-opacity")+'"]').addClass("opacity05")}),_body.on("click",".Slide",function(e){d='<div class="fotorama" data-width="1280" data-max-heigth="100%" data-ratio="16/9" data-loop="true" data-arrows="true" data-click="false" data-swipe="true" data-nav="false" data-transition="dissolve" data-transitionduration="700" data-allowfullscreen="native">'+$(this).html()+"</div>",UniWin({E:e,Type:"Drag",Title:ImSp("pictures"),BG:"rgb(0 0 0 / 70%)",OutSideClick:!0,Center:!0,Loader:!0,SoundOpen:!0,SoundClose:!0,Data:d})}),MyFavorite=((C={CountMyF:function(){MF=LocalStorage("MYF"),MF&&
1(MYFC=Object.keys(MF).length,0<MYFC?($(".LIST_MYF>b").html(" ( "+MYFC+" )"),$("#MYF>b").length?$("#MYF>b").text(MYFC):$("#MYF").append("<b>"+MYFC+"</b>")):($("#MYF>b").remove(),$(".LIST_MYF>b").html(""),g&&g.Close()))},DelMyF:function(){_body.on("click","[data-del_myf_url]",function(){return u=$(this).data("del_myf_url"),$(this).parent().parent().remove(),MF=LocalStorage("MYF"),delete MF[u],LocalStorage("MYF",MF),Toast("СÑÑаниÑа Ñдалена из закладок!","Success"),C.CountMyF(),!1})},AddMyF:function(){_body.on("click",".ADD_MYF,[data-favorite_url]",function(){return $(this).data("favorite_url")&&$(this).data("favorite_title")?(u=$(this).data("favorite_url"),t=$(this).data("favorite_title")):(u=document.location.pathname+document.location.search+document.location.hash,t=document.title),MF=LocalStorage("MYF")||{},MF[u]==t?Toast('СÑÑаниÑа Ñже добавлена в закладки!<div class="ToastButton ToastClose LIST_MYF">Ðои закладки</div>',"Warning"):(MF[u]=t,LocalStorage("MYF",MF),C.CountMyF(),Toast('СÑÑаниÑа добавлена в закладки!<div class="ToastButton ToastClose LIST_MYF">Ðои закладки</div>',"Success")),!1})},ListMyF:function(){_body.on("click",".LIST_MYF",function(e){if(MF=LocalStorage("MYF"),$.isEmptyObject(MF))Toast("СпиÑок ÐаÑиÑ
закладок пÑÑÑ!","Error");else{for(var t in res="",MF)res='<div class="List"><a class="ListL" href="'+t+'">'+ImSp("favorite")+MF[t]+'</a><span class="ListR"><b class="ListRB" data-del_myf_url="'+t+'">'+ImSp("trash")+"</b></span></div>"+res;g=UniWin({E:e,Type:"Popup",Title:ImSp("favorite")+"Ðои закладки",Center:!0,SoundOpen:!0,SoundClose:!0,BtnFullscreen:!0,Data:res})}return!1})}}).CountMyF(),C.ListMyF(),C.AddMyF(),void C.DelMyF()),UserUpload=!1,_body.on("click",".InputCaption,#link_caption_user_photo",function(e){e.preventDefault(),"link_caption_user_photo"==e.currentTarget.id&&(UserUpload=!0),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?(d='<div id="Caption">',d+='<video id="CaptionVideo" autoplay></video>',d+='<div class="CaptionButton">',d+='<div class="CaptionCapture">'+ImSp("CaptionButton")+"</div>",d+='<div class="CaptionVoiceButton" data-context="open,1,1,1">'+ImSp("CaptionVoiceButton")+"</div>",d+='<div class="context_block"><div>ÐÑоизнеÑиÑе "ФоÑо" или "Снимок"<br><div class="link_button" id="CaptionVoiceButtonStart">OK</div></div></div>',d+='<div class="CaptionChangeCam">'+ImSp("CaptionChangeCam")+"</div>",d+="</div>",d+="</div>",UWinCaption=UniWin({E:e,Name:"WinCaption",Type:"Popup",Title:ImSp("photo")+"СделаÑÑ Ñнимок",SoundOpen:!0,SoundClose:!0,Data:d},function(e){CheckWinSI=setInterval(function(){GVAR.WinCaption&&!1===GVAR.WinCaption.Close&&(clearInterval(CheckWinSI),l(),delete GVAR.WinCaption.Close)},500);var t=document.getElementById("CaptionVideo"),n=$(".CaptionCapture"),o=($(".CaptionVoiceButton"),$(".CaptionChangeCam"));UserUpload||(fileInput=document.getElementById("UploadImg")),_body.on("click","#CaptionVoiceButtonStart",function(){SpeechRecognition=window.SpeechRecognition||window.webkitSpeechRecognition,SpeechRecognition&&(recognition=new SpeechRecognition,recognition.lang="ru-RU",recognition.interimResults=!1,recognition.onresult=function(e){command=e.results[0][0].transcript.toLowerCase(),(command.includes("Ñнимок")||command.includes("ÑоÑо"))&&s()},recognition.start())});var i,a="user",r={video:!0};function s(){UserUpload&&($("[data-upload-crop-img]").trigger("click"),fileInput=document.getElementById("IUField")),canvas=document.createElement("canvas"),canvas.width=t.videoWidth,canvas.height=t.videoHeight,canvas.getContext("2d").drawImage(t,0,0),canvas.toBlob(function(e){file=new File([e],"Снимок.jpg",{type:"image/jpeg"}),dataTransfer=new DataTransfer,dataTransfer.items.add(file),fileInput.files=dataTransfer.files,UserUpload?$(fileInput).trigger("change"):$(fileInput).trigger("input"),l(),UWinCaption.Close()},"image/jpeg",.9)}function l(){o.off("click."+UWinCaption.Namespace,u),n.off("click."+UWinCaption.Namespace,s),i&&i.getTracks().forEac
1h(function(e){e.stop()})}function c(e){l(),stream=navigator.mediaDevices.getUserMedia(r).then(function(e){r={video:{facingMode:{exact:a}}},Loader({Open:!0}),i=t.srcObject=e,t.onloadedmetadata=function(e){Loader(),o.one("click."+UWinCaption.Namespace,u),n.one("click."+UWinCaption.Namespace,s)}}).catch(function(e){})}function u(){Loader({Open:!0,Mess:"ÐеÑеклÑÑение камеÑÑ"}),r={video:{facingMode:{exact:a="user"==a?"environment":"user"}}},c()}c()})):UWinCaption=UniWin({E:e,Name:"WinCaption",Type:"Context",Title:ImSp("photo")+"СделаÑÑ Ñнимок",OutSideClick:!0,InSideClick:!0,OutSideMove:!0,SoundOpen:!0,SoundClose:!0,Data:"<div>ÐÐ°Ñ Ð±ÑаÑÐ·ÐµÑ Ð½Ðµ поддеÑÐ¶Ð¸Ð²Ð°ÐµÑ Ð´Ð¾ÑÑÑп к камеÑе!</div>"})}),w=jQuery,UniWin=function(e,n){var o,i,a,s,l,c,u,d,p,f,h=w.extend({},{Type:"Context",Title:"",Data:""},e),m=!1,v={GetP:function(){return p="Drag"==h.Type&&!0,d="Popup"==h.Type&&!0,Private="Private"==h.Type&&!0,f="Context"==h.Type&&!0,GVAR.UWL=++GVAR.UWL||0,GVAR.UWin=GVAR.UWin||[],GVAR.MCL=w("div[id^='MC_']").length,v.Namespace="UWinNS"+GVAR.MCL,h.UwinClose&&("prev"==h.UwinClose?GVAR.UWin.at(-1).Close():"all"==h.UwinClose&&GVAR.UWin.forEach(function(e){e.Close()})),IsSet(GVAR.Detach)||(GVAR.Detach={},GVAR.DetachHTML={}),h.Name?GVAR[h.Name]=GVAR[h.Name]||{}:h.E.currentTarget.dataset.jsr?GVAR[h.E.currentTarget.dataset.jsr]=GVAR[h.E.currentTarget.dataset.jsr]||{}:(h.E.currentTarget.id||(h.E.currentTarget.id="UW-"+RandId()),GVAR[h.E.currentTarget.id]=GVAR[h.E.currentTarget.id]||{})},GetPos:function(){f?v.GetXY():p&&(!h.Center||g.X||g.Y||g.W||g.H?g.X||g.Y||v.GetXY():(rb=_html[0].getBoundingClientRect(),rm=i[0].getBoundingClientRect(),h.NoSaveWH||(g.W=rm.width,g.H=rm.height),g.X=(rb.width-rm.width)/2,g.Y=(rb.height-rm.height)/2),g.W&&g.H&&v.SetWH())},Create:function(){UWLD=w("#UniWin"),UWLD.exists()||(UWLD=w('<div id="UniWin"></div>'),_body.append(UWLD)),o=w('<div class="UWLayer"></div>'),UWLD.append(o),f&&(i=w('<div class="UWContext"></div>'),o.append(i),i.css("resize","none")),p&&(i=w('<div class="UWDrag"></div>'),o.append(i)),d&&(i=w('<div class="UWPopup"></div>'),o.append(i)),Private&&(i=w('<div class="UWPrivate"></div>'),o.append(i)),v&&GVAR.UWin.push(v),f&&(a=w('<div class="UWDContext MyScroll">'+h.Data+"</div>"),i.prepend(a),w(h.E.currentTarget).next().hasClass("context_block")&&(GVAR.Detach[GVAR.UWL]=h.E.currentTarget,GVAR.DetachHTML[GVAR.UWL]=w(w(h.E.currentTarget).next().detach()),a.html(GVAR.DetachHTML[GVAR.UWL].css("display","block")))),p&&(a=w('<div class="UWDDrag MyScroll" id="MC_'+GVAR.MCL+'">'+h.Data+"</div>"),i.prepend(a),v.Out=a),Private&&(a=w('<div class="UWDPrivate" id="MC_'+GVAR.MCL+'">'+h.Data+"</div>"),i.prepend(a),v.Out=a),d&&(h.Adv?(a=w('<div class="UWDPopup MyScroll"></div>'),i.prepend(a),v.Out=w('<div id="MC_'+GVAR.MCL+'">'+h.Data+"</div>"),a.prepend(v.Out),a.append(ADV)):(a=w('<div class="UWDPopup MyScroll" id="MC_'+GVAR.MCL+'">'+h.Data+"</div>"),i.prepend(a),v.Out=a)),(d||p)&&h.Title&&(s=w('<div class="UWTitle"></div>'),i.prepend(s),p&&(UWMove=w('<span class="UWMove"></span>'),s.prepend(UWMove)),UWTN=w('<div class="UWTitleName">'+h.Title+"</div>"),s.append(UWTN),UWTB=w('<div class="UWTitleBtn"></div>'),s.append(UWTB),h.Resize?i.append('<i class="AResize"></i>'):i.css("resize","none"),h.Button&&UWTB.prepend(h.Button),h.Refresh&&S.D[0].dataset.jsr&&v.Out[0].id&&UWTB.prepend('<a href="#" data-jsr="'+S.D[0].dataset.jsr+'" data-out="'+v.Out[0].id+'" title="ÐбновиÑÑ">'+ImSp("refresh")+"</a>"),h.BtnFullscreen&&(c=g.Fullscreen?w(ImSp("smallscreen","СвеÑнÑÑÑ")):w(ImSp("fullscreen","РазвеÑнÑÑÑ")),UWTB.append(c)),l=w(ImSp("UWinClose","ÐакÑÑÑÑ")),UWTB.append(l)),h.PageOpacity&&IsSet(_page)&&_page.css("opacity",h.PageOpacity),h.NoLayer&&o.css("background","none"),h.UWLB&&o.css("background",h.UWLB),h.UWLBDF&&o.css("backdrop-filter","blur("+h.UWLBDF+"px)"),h.MinW&&i.css("min-width",h.MinW),v.SetMaxWH(),h.BG&&i.css("background",h.BG)},Start:function(){v.GetPos(),v.SetXY(),v.SetWH(),g.Fullscreen||h.FullScreen?(i.addClass("UWF"),a.addClass("UWF")):p&&h.Title&&v.DragOn(),i.addClass("UWOA")},Load:function(){f?v.Start():(p||d||Private)&&(h.Loader&&Loader({Open:!0,E:h.E}),u=setInterval(function(){v.Out.html()&&(Img=a.find("img"),clearInterval(u),fr=w(a).children(".fotorama"),0<fr.length?(fr.fotorama(),w(".rating_stars").rating(),fr.find(".fotorama__caption").css("bottom","initial"),fr.on("fotorama:show",function(){fr.find(".fotorama__caption").css("bottom","initial"),w(".rating_stars").rating()}),w(".fotorama").one("fotorama:load",function(){_win.one("resize",function(){i.css("max-width","100%")}),_win.trigger("resize"),Loader({},function(){v.Sound(h.SoundOpen),v.Start()})})):Img.length?Img.ImageLoad(function(){Loader({},function(){v.Sound(h.SoundOpen),v.Start(),w(".TAE").exists()&&TAEditor()})}):Loader({},function(){v.Sound(h.SoundOpen),v.Start(),w(".TAE").exists()&&TAEditor()}))},50)),ScrollbarSwitch("UW"+GVAR.UWL)},Sound:function(e){e&&SoundPlay("win_down")},DataUWClose:function(){i.one("click","[data-uw-close]",function(){return v.Close(),"reload"==w(this).data("uw-close")?(location.reload(),!0):"location"==w(this).data("uw-close")?(location=w(this).data("location"),!0):!("#"==w(this).attr("href")&&!w(this).data("jsr"))})},Close:function(e){g.Close||(g.Close=!0,h.BDF&&i.css("backdrop-filter","none"),p&&h.Title&&(v.SavePos(),v.DragOff(),UWMove.off("mousedown touchstart mouseup touchend")),i.off("mousemove click"),o.off("mousemove click"),l&&l.off("click"),c&&c.off("click"),i.addClass("UWCA"),v.Sound(h.SoundClose),i.one("animationend",function(){_body.off("."+v.Namespace),GVAR.UWin=GVAR.UWin.filter(function(e){return e!==v}),i.remove(),o.remove(),h.PageOpacity&&_page.css("opacity",""),GVAR.Detach[GVAR.UWL]&&(GVAR.DetachHTML[GVAR.UWL].css("display","none"),GVAR.Detach[GVAR.UWL].after(GVAR.DetachHTML[GVAR.UWL][0]),delete GVAR.Detach[GVAR.UWL],delete GVAR.DetachHTML[GVAR.UWL]),ScrollbarSwitch("UW"+GVAR.UWL),GVAR.UWL--,g.Close=!1,"function"==typeof e&&e()}))},GetXY:function(){h.E.OffsetX=-15,h.E.OffsetY=-12,GetXYEvent(i,h.E),g.X=h.E.X,g.Y=h.E.Y},SetXY:function(){i.css({left:g.X,top:g.Y})},SetWH:function(){d||i.css({width:g.W,height:g.H})},SetMaxWH:function(){r=_html[0].getBoundingClientRect(),i.css({"max-width":1280<r.width?1280:r.width}),Private||a.css({"max-width":1280<r.width?1280:r.width,"max-height":r.height-25})},SavePos:function(){g.Fullscreen||(r=i[0].getBoundingClientRect(),g.X=r.x,g.Y=r.y,h.NoSaveWH||(g.W=r.width,g.H=r.height))},DragOn:function(){UWMove.on("mousedown touchstart",function(e){i.addClass("UWDragActive"),UWMove.css("cursor","grabbing"),O=w(this)[0].getBoundingClientRect(),(t=e.originalEvent.touches)?(OX=t[0].clientX-O.left,OY=t[0].clientY-O.top):(OX=e.pageX-O.left,OY=e.pageY-O.top),_body.on("mousemove.Drag touchmove.Drag",function(e){v.OutSideMove(),(t=e.originalEvent.touches)?(g.X=t[0].clientX-OX,g.Y=t[0].clientY-OY):(g.X=e.pageX-OX,g.Y=e.pageY-OY),v.SetXY()})}).on("mouseup touchend",function(e){i.removeClass("UWDragActive"),UWMove.css("cursor","grab"),v.OutSideMove(h.OutSideMove),_body.off("mousemove.Drag touchmove.Drag")})},DragOff:function(){UWMove.off("mousedown touchstart")},Fullscreen:function(){c&&(i.toggleClass("UWF"),a.toggleClass("UWF"),c.toggleClass("si_fullscreen si_smallscreen"),c.toggleAttr("title","РазвеÑнÑÑÑ","СвеÑнÑÑÑ"),g.Fullscreen?(delete g.Fullscreen,p&&v.DragOn()):(g.Fullscreen=!0,p&&v.DragOff()))},ClickClose:function(){l&&l.on("click",function(){v.Close()})},ClickFullscreen:function(){c&&c.on("click",function(){v.Fullscreen()})},OutSideMove:function(e){e?i.one("mousemove",function(){o.on("mousemove",function(e){i.is(e.target)||0!==i.has(e.target).length||v.Close()})}):o.off("mousemove")},OutSideClick:function(e){e&&o.on("click",function(e){e.target.classList.contains("UWLayer")&&v.Close()})},InSideClick:function(e){e&&i.on("click",function(e){s&&(s.is(e.target)||0!==s.has(e.target).length)||v.Close()})},Resize:function(){window.addEventListener("resize",function(){m||(m=!0,requestAnimationFrame(function(){v.GetPos(),v.SetXY(),ScrollbarSwitch("UW"+GVAR.UWL),ScrollbarSwitch("UW"+GVAR.UWL),m=!1}))})}},g=v.GetP();return v.Create(),v.Load(),i.one("animationend",function(){h.BDF&&i.css("backdrop-filter","blur("+h.BDF+"px)"),v.ClickClose(),v.ClickFullscreen(),v.OutSideClick(h.Out
1SideClick),v.OutSideMove(h.OutSideMove),v.InSideClick(h.InSideClick),v.DataUWClose(),v.Resize(),"function"==typeof n&&n()}),v},_body.on("click","[data-uw-close]",function(){"reload"==$(this).data("uw-close")&&location.reload(),"location"==$(this).data("uw-close")&&(location=$(this).data("location"))}),_body.on("click","[data-jsr]",function(e){if(S={},e.preventDefault(),S.D=$(this),S.E=e,S.R={},S.CFR=!1,Form=$(document.forms[S.D.data("formsend")]),Form&&((k=Form.find(".Captcha")).length&&(Form.find('[name="captcha"]').val()||(k.addClass("CaptchaError"),S.CFR=!0),k.one("click",function(){$(this).removeClass("CaptchaError")})),Required=Form.find("[required]"),Array.from(Required).forEach(function(e){if(Field=$(e),"tags_input"==Field.attr("name")?FieldData=Field.next().html():"ETAE"==Field.attr("class")?FieldData=Field.html():FieldData=Field.val(),!FieldData)return Field.addClass("FieldEmpty"),Field.one("click",function(){$(this).removeClass("FieldEmpty")}),void(S.CFR=!0)})),S.CFR)return!1;if(S.D.data("popup_mess"))return S.R.res=S.D.data("popup_mess"),F(),!1;if("toast"==S.D.data("out")){if(S.ARG1=S.D.data("toast_arg_1"),S.ARG2=S.D.data("toast_arg_2"),S.D.data("toast_mess"))return Toast(S.D.data("toast_mess"),S.ARG1,S.ARG2),!1;S.TYPE="toast",A()}else"popup"==S.D.data("out")||"drag"==S.D.data("out")?(S.D.data("uw-noloader")||Loader({Open:!0,Mess:"ÐагÑÑзка...",E:S.E}),S.TYPE="popup"):S.D.data("out")?(S.OUT=$("#"+S.D.data("out")),IsSet(S.D.data("uw-noloader"))||Loader({Open:!0,Mess:"ÐагÑÑзка...",E:S.E}),"none"!=S.D.data("scroll")&&S.OUT.scrollTop(0),S.TYPE="out"):(S.OUT=S.D.addClass("link_button_loader"),Loader16(S.D,"ÐагÑÑзка...")),A();return!1}),_body.on("click","[data-context]",function(e){if(a=$(this).data("context").toString().split(","),"close"==a[0])t&&t.Close();else if("open"==a[0]){var t=UniWin({E:e,Type:"Context",OutSideMove:1==a[1],InSideClick:1==a[2],OutSideClick:1==a[3]});return!1}}),_body.on("click",".Password>i",function(e){$(this).prev().toggleAttr("type","password","text"),$(this).toggleClass("PasswordV")}),_body.on("click","[data-password-switch]",function(){$(".Password>input").attr("type","password")}),_body.on("click",'[href="#auth"]',function(e){return d='<div class="NoAuth"><form method="post" name="FormAuth" enctype="multipart/form-data" onkeypress="if(event.keyCode==13)return false;">',d+='<input name="login_name" type="text" value="" placeholder="Ðогин" required>',d+='<span class="Password"><input name="login_pass" type="password" value="" placeholder="ÐаÑолÑ" required><i class="PasswordView" title="ÐоказаÑÑ"></i></span><br>',d+='<input type="button" value="ÐабÑли паÑолÑ?" data-jsr="FormRecoveryPassword" data-uw-bg="rgba(255,255,255,.3)" data-uw-bdf="2" data-out="popup">',d+='<input type="button" value="ÐойÑи" data-jsr="Auth" data-out="drag" data-uw-center data-uw-bg="rgb(255 255 255 / 70%)" data-formsend="FormAuth" data-password-switch><br>',d+='<input data-jsr="form_reg" data-out="popup" data-uw-bdf="2" data-uw-bg="rgb(255 255 255 / 30%)" type="button" value="РегиÑÑÑаÑиÑ">',d+='<span class="oauth">',d+='<a style="text-decoration:none;" href="https://oauth.yandex.ru/authorize?response_type=code&client_id=cc67df90579a4626b8ff1bc3aef847bd&display=popup" rel="nofollow"><i class="si_share_yandex" title="ÐойÑи Ñ Ð¯Ð½Ð´ÐµÐºÑ"></i></a>',d+='<a style="text-decoration:none;" href="http://www.odnoklassniki.ru/oauth/authorize?client_id=1246956544&response_type=code&redirect_uri=https://salda.ws/oauth/okru.php" rel="nofollow"><i class="si_share_odnoklassniki" title="ÐойÑи Ñ ÐдноклаÑÑники"></i></a>',d+='<a style="text-decoration:none;" href="https://oauth.mail.ru/login?client_id=3e27451c304b402dbadc327f19566eb6&response_type=code&scope=userinfo&redirect_uri=https://salda.ws/oauth/mailru.php&state=some_state" rel="nofollow"><i class="si_share_moymir" title="ÐойÑи Ñ Mail.ru"></i></a>',d+='<a style="text-decoration:none;" href="/oauth/vkcom.php" rel="nofollow"><i class="si_share_vkontakte" title="ÐойÑи Ñ ÐконÑакÑе"></i></a>',d+="</span></form></div>",UWin=UniWin({E:e,Type:"Context",OutSideClick:!0,Data:d}),!1}),TAEditor=function(){$(".TAE").exists()&&(GVAR.TAEditor||(GVAR.TAEditor=!0,LSGVAR=function(e){if(!e)return GVARLS=LocalStorage("TAEGVARLS"),IsSet(GVARLS)||(GVARLS={},GVARLS.TAEHTMLCode={},GVARLS.TAEHTMLCode.F=14,GVARLS.TAEHTMLCode.DL="Dark"),GVARLS;LocalStorage("TAEGVARLS",GVARLS)},GVARLS=LSGVAR(),CleanStyle=function(e){return doc=(new DOMParser).parseFromString(e,"text/html"),T=doc.querySelectorAll("*"),T.forEach(function(e){e.removeAttribute("style")}),D=doc.body.innerHTML,D=D.replace(/\s(style|width|height|align|valign|bgcolor|color|face|dir)="[^"]*"/gi,""),D},_body.off("paste",".ETAE").on("paste",".ETAE",function(e){e.preventDefault(),txt=(e.originalEvent||e).clipboardData.getData("text/html"),txt||(txt=(e.originalEvent||e).clipboardData.getData("text/plain")),document.execCommand("insertHtml",!1,CleanStyle(txt))}),_body.off("keydown",".ETAE").on("keydown",".ETAE",function(e){"Enter"!==e.key||e.shiftKey||(document.execCommand("insertLineBreak"),e.preventDefault())}),_body.off("input",".ETAE").on("input",".ETAE",function(){i=$(".iz",this),i.each(function(e){i[e]&&i[e].innerHTML.length<5&&i[e].remove()}),NTAE=$(this).closest(".TAE").attr("id"),TTAE=$("#TTAE-"+NTAE),TTAE.val($(this).html())}),is_touch_device()&&_body.on("taphold contextmenu",".ETAE",function(e){if(Pos=getCursorPosition(),!Pos.collapsed)return e.preventDefault(),e.stopPropagation(),!1}
1),_body.off("click","[data-taebtn]").on("click","[data-taebtn]",function(e){if(NTAE=$(this).closest(".TAE").attr("id"),TAE=$("#"+NTAE),ETAE=$("#ETAE-"+NTAE),TTAE=$("#TTAE-"+NTAE),Pos=getCursorPosition(),btn=$(this).data("taebtn"),"html"==btn&&(Button='<i class="TAEHtmlFontUp" title="ТекÑÑ +">T+</i>',Button+='<i class="TAEHtmlFontDown" title="ТекÑÑ -">T-</i>',Button+=ImSp("DarkLight","ТÑмнÑй / СвеÑлÑй"),d='<script type="text/javascript" src="/js/prism.js"><\/script><pre class="TTAETemp language-html"><code class="language-html" id="TAEHTMLCode" contenteditable="true"></code></pre>',d+='<div class="link_button TTAEHTMLSave">СоÑ
ÑаниÑÑ</div>',UWin=UniWin({E:e,Type:"Drag",Title:ImSp("code")+"HTML-код",NoSaveWH:!0,Center:!0,Resize:!0,BtnFullscreen:!0,Loader:!0,SoundOpen:!0,SoundClose:!0,Button:Button,Data:d}),$("#TAEHTMLCode").text(TTAE.val().replace(/<br>/g,"\n")),Prism.highlightAll(),_body.on("keydown."+UWin.Namespace,"#TAEHTMLCode",function(e){"Enter"!==e.key||e.shiftKey||(document.execCommand("insertLineBreak"),e.preventDefault())}),"Light"==GVARLS.TAEHTMLCode.DL&&$(".TTAETemp").addClass("TTAETempLight"),_body.one("click."+UWin.Namespace,".TTAEHTMLSave",function(){Val=$("#TAEHTMLCode").text().replace(/\n/g,"<br>"),ETAE.html(Val),TTAE.val(Val),UWin.Close()}),$(".TTAETemp").css("font-size",GVARLS.TAEHTMLCode.F+"px"),$(".si_DarkLight").on("click."+UWin.Namespace,function(){GVARLS.TAEHTMLCode.DL="Dark"==GVARLS.TAEHTMLCode.DL?"Light":"Dark",LSGVAR(!0),$(".TTAETemp").toggleClass("TTAETempLight")}),$(".TAEHtmlFontUp").on("click."+UWin.Namespace,function(){GVARLS.TAEHTMLCode.F++,GVARLS.TAEHTMLCode.F<33?GVARLS.TAEHTMLCode.F:GVARLS.TAEHTMLCode.F=33,LSGVAR(!0),$(".TTAETemp").css("font-size",GVARLS.TAEHTMLCode.F+"px")}),$(".TAEHtmlFontDown").on("click."+UWin.Namespace,function(){GVARLS.TAEHTMLCode.F--,8<GVARLS.TAEHTMLCode.F?GVARLS.TAEHTMLCode.F:GVARLS.TAEHTMLCode.F=8,LSGVAR(!0),$(".TTAETemp").css("font-size",GVARLS.TAEHTMLCode.F+"px")})),"bold"==btn&&document.execCommand(btn),"italic"==btn&&document.execCommand(btn),"underline"==btn&&document.execCommand(btn),"strikethrough"==btn&&document.execCommand(btn),"superscript"==btn&&document.execCommand(btn),"subscript"==btn&&document.execCommand(btn),"insertHorizontalRule"==btn&&document.execCommand(btn),"undo"==btn&&document.execCommand(btn),"redo"==btn&&document.execCommand(btn),"selectAll"==btn&&document.execCommand(btn),"copy"==btn&&(document.execCommand(btn),Toast("СкопиÑовано!")),"cut"==btn&&document.execCommand(btn),"delete"==btn&&document.execCommand(btn),"removeFormat"==btn&&(Temp=CleanStyle(ETAE.html()),ETAE.html(Temp),TTAE.val(Temp),Toast("СÑили оÑиÑенÑ!")),"justifyLeft"==btn&&document.execCommand(btn),"justifyRight"==btn&&document.execCommand(btn),"justifyCenter"==btn&&document.execCommand(btn),"justifyFull"==btn&&document.execCommand(btn),"insertUnorderedList"==btn&&document.execCommand(btn),"insertOrderedList"==btn&&document.execCommand(btn),"h2"==btn&&document.execCommand("formatBlock","",btn),"h3"==btn&&document.execCommand("formatBlock","",btn),"h4"==btn&&document.execCommand("formatBlock","",btn),"fontname"==btn&&(setCursorPosition(Pos),document.execCommand("styleWithCSS",!1,!0),document.execCommand(btn,!1,$(this).text()),document.execCommand("styleWithCSS",!1,!1)),"fontSize"==btn&&(setCursorPosition(Pos),document.execCommand("styleWithCSS",!1,!0),document.execCommand(btn,!1,$(this).data("fontsize")),document.execCommand("styleWithCSS",!1,!1)),"FormFontColor"==btn&&(d='<div class="UWDContext">',d+='<label for="ColorText"><input id="ColorText" type="color" name="TAEColor" value="#FF0000" data-command="foreColor">Ð¦Ð²ÐµÑ ÑекÑÑа</label>',d+='<label for="ColorBackground"><input id="ColorBackground" type="color" name="TAEColorBackground" value="#FFFF00" data-command="hiliteColor">Ð¦Ð²ÐµÑ Ð¤Ð¾Ð½Ð°</label>',d+="</div>",UWin=UniWin({E:e,Type:"Drag",OutSideMove:!0,OutSideClick:!0,BtnFullscreen:!0,Title:ImSp("color")+"Ð¦Ð²ÐµÑ Ñон, ÑекÑÑа",Data:d}),_body.on("input."+UWin.Namespace,"#ColorText,#ColorBackground",function(e){document.execCommand("styleWithCSS",!1,!0),document.execCommand($(this).data("c
1ommand"),!0,$(this).val()),document.execCommand("styleWithCSS",!1,!1)})),"FormUndoRedo"==btn&&(d='<div class="UWDContext">',d+='<a href="#" data-taebtn="undo" title="CTRL + Z">ÐÑмена</a>',d+='<a href="#" data-taebtn="redo" title="CTRL + Shift + Z">ÐовÑоÑ</a>',d+="</div>",UWin=UniWin({E:e,Type:"Drag",OutSideClick:!0,Title:ImSp("refresh")+"ÐÑмена, повÑоÑ",Data:d})),"FormSelection"==btn&&(ETAE.focus(),d='<div class="UWDContext">',d+='<a href="#" data-taebtn="selectAll">ÐÑделиÑÑ Ð²ÑÑ</a>',d+='<a href="#" data-taebtn="copy">ÐопиÑоваÑÑ</a>',d+='<a href="#" data-taebtn="cut">ÐÑÑезаÑÑ</a>',d+='<a href="#" data-taebtn="delete">ÐÑиÑÑиÑÑ</a>',d+='<a href="#" data-taebtn="removeFormat">ÐÑиÑÑка ÑÑилей</a>',d,UWin=UniWin({E:e,Type:"Drag",OutSideClick:!0,InSideClick:!0,OutSideMove:!0,Title:ImSp("write1")+"ÐбÑабоÑка вÑделениÑ",Data:d})),"FormH"==btn&&(d='<div class="UWDContext">',d+='<a href="#" data-taebtn="h2">Ðаголовок H2</a>',d+='<a href="#" data-taebtn="h3">Ðаголовок H3</a>',d+='<a href="#" data-taebtn="h4">Ðаголовок H4</a>',d+="</div>",UWin=UniWin({E:e,Type:"Drag",OutSideClick:!0,InSideClick:!0,OutSideMove:!0,Title:ImSp("h1")+"Ðаголовки",Data:d})),"FormInsertList"==btn&&(d='<div class="UWDContext">',d+='<a href="#" data-taebtn="insertUnorderedList">ÐаÑкиÑованнÑй ÑпиÑок</a>',d+='<a href="#" data-taebtn="insertOrderedList">ÐÑмеÑованнÑй ÑпиÑок</a>',d+="</div>",UWin=UniWin({E:e,Type:"Drag",OutSideClick:!0,InSideClick:!0,OutSideMove:!0,Title:ImSp("list")+"СпиÑок",Data:d})),"FormJustify"==btn&&(d='<div class="UWDContext">',d+='<a href="#" data-taebtn="justifyLeft">Слева</a>',d+='<a href="#" data-taebtn="justifyRight">СпÑава</a>',d+='<a href="#" data-taebtn="justifyCenter">Ðо ÑенÑÑÑ</a>',d+='<a href="#" data-taebtn="justifyFull">Ðо ÑиÑине</a>',d+="</div>",UWin=UniWin({E:e,Type:"Drag",OutSideClick:!0,InSideClick:!0,OutSideMove:!0,Title:ImSp("align")+"ÐÑÑавнивание",Data:d})),"FormatText"==btn&&(d='<div class="UWDContext">',d+='<a href="#" data-taebtn="bold">ÐиÑнÑй</a>',d+='<a href="#" data-taebtn="italic">ÐаклоннÑй</a>',d+='<a href="#" data-taebtn="underline">ÐодÑÑÑкнÑÑÑй</a>',d+='<a href="#" data-taebtn="strikethrough">ÐаÑÑÑкнÑÑÑй</a>',d+='<a href="#" data-taebtn="superscript">ÐеÑÑ
ний Ð¸Ð½Ð´ÐµÐºÑ X<sup>2</sup></a>',d+='<a href="#" data-taebtn="subscript">Ðижний Ð¸Ð½Ð´ÐµÐºÑ X<sub>2</sub></a>',d+='<a href="#" data-taebtn="insertHorizontalRule">ÐоÑизонÑалÑÐ½Ð°Ñ Ð»Ð¸Ð½Ð¸Ñ</a>',d+="</div>",UWin=UniWin({E:e,Type:"Drag",OutSideClick:!0,InSideClick:!0,OutSideMove:!0,Title:ImSp("formattext")+"ФоÑмаÑиÑование",Data:d})),"FormFontName"==btn){for(var t in AFN=["Georgia","Helvetica","Times New Roman","Arial","Futura","Garamond","Verdana","Impact","Courier New","Tahoma"],d='<div class="UWDContext">',AFN)d+='<a style="font-family:'+AFN[t]+'" href="#" data-taebtn="fontname">'+AFN[t]+"</a>";d+="</div>",UWin=UniWin({E:e,Type:"Drag",OutSideClick:!0,InSideClick:!0,OutSideMove:!0,Title:ImSp("fontname")+"ШÑиÑÑ",Data:d})}if("FormFontSize"==btn){for(d='<div class="UWDContext">',t=1;t<7;t++)d+='<a href="#" data-taebtn="fontSize" data-fontsize="'+t+'">Ð Ð°Ð·Ð¼ÐµÑ '+(8+t+t)+" px</a>";d+="</div>",UWin=UniWin({E:e,Type:"Drag",OutSideClick:!0,InSideClick:!0,OutSideMove:!0,Title:ImSp("fontsize")+"Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа",Data:d})}if("FormCreateLink"==btn){var o=Title=Ch=NameLink="";function i(){LinkPrev=$("#LinkPreview"),PrevLink=$("[name="+NTAE+"Link]").val()||"",PrevTitle='title="'+$("[name="+NTAE+"LinkTitle]").val()+'"'||"",PrevText=$("[name="+NTAE+"LinkText]").val()||PrevLink,LinkPrev.html('<a href="'+PrevLink+'" '+PrevTitle+' target="_blank">'+PrevText+"</a>")}Pos&&0<$(Pos.startContainer).closest("a").length&&0==Pos.collapsed&&(Title=$(Pos.startContainer).closest("a").attr("title"),Title||(Title=""),o=$(Pos.startContainer).closest("a").attr("href").replace("/go.php?",""),$(Pos.startContainer).closest("a").attr("data-openlink")?Ch="checked":Ch=""),Pos&&(NameLink=Pos.toString()),d='<input name="'+NTAE+'Link" type="text" value="'+o+'" placeholder="ÐдÑÐµÑ ÑÑÑлки"><br>',d+='<input name="'+NTAE+'LinkText" type="text" value="'+NameLink+'" placeholder="ТекÑÑ ÑÑÑлки"><br>',d+='<input name="'+NTAE+'LinkTitle" type="text" value="'+Title+'" placeholder="Title">',$(this).data("openlink")&&(d+='<br><label class="css-label-checkbox"><input type="checkbox" value="open" '+Ch+' name="OpenLink" class="css-checkbox">ÐÑкÑÑÑÐ°Ñ ÑÑÑлка</label>'),d+=o?'<br><div class="link_button" id="FormCreateLink">ÐзмениÑÑ</div>':'<br><div class="link_button InActive" id="FormCreateLink">ÐобавиÑÑ</div>',o&&(d+='<div class="link_button" id="FormDelLink">УдалиÑÑ</div>'),d+='<div class="link_button" id="ClearFormAddLink" title="ÐÑиÑÑиÑÑ ÑоÑмÑ">'+ImSp("trash")+"</div>",d+='<div id="LinkPreview"></div>',UWin=UniWin({E:e,Type:"Drag",Title:ImSp("link")+"СÑÑлка",NoSaveWH:!0,Data:d}),_body.on("click."+UWin.Namespace,"#ClearFormAddLink",function(){$("#LinkPreview").html(""),$("[name="+NTAE+"Link]").val(""),$("[name="+NTAE+"LinkTitle]").val(""),$("[name="+NTAE+"LinkText]").val("")}
1),o&&i(),_body.on("input."+UWin.Namespace,"[name="+NTAE+"Link],[name="+NTAE+"LinkTitle],[name="+NTAE+"LinkText]",function(e){i(),$("#FormCreateLink").removeClass("InActive")}),$("#FormDelLink").one("click",function(e){setCursorPosition(Pos),ETAE.focus(),document.execCommand("unlink"),UWin.Close()}),$("#FormCreateLink").on("click."+UWin.Namespace,function(e){L=$("[name="+NTAE+"Link]").val(),L?(RegUrl=/^((ftp|http|https):\/\/)?(www\.)?([A-Za-zÐ-Яа-Ñ0-9]{1}[A-Za-zÐ-Яа-Ñ0-9\-]*\.?)*\.{1}[A-Za-zÐ-Яа-Ñ0-9-]{2,8}(\/([\w#!:.?+=&%@!\-\/])*)?/,RegUrl.test(L)?(T=$("[name="+NTAE+"LinkTitle]").val(),T&&(T=' title="'+T+'"'),setCursorPosition(Pos),NameLink=$("[name="+NTAE+"LinkText]").val(),NameLink||(NameLink=L),L&&($('[name="OpenLink"]').prop("checked")?L='<a data-openlink="true" href="'+L+'"'+T+">"+NameLink+"</a>":L='<a href="'+L+'"'+T+">"+NameLink+"</a>",document.execCommand("unlink"),document.execCommand("insertHTML",null,L)),$(this).off("click"),UWin.Close()):Toast("Ðе коÑÑекÑно введÑн адÑÐµÑ ÑÑÑлки!","Error",10,"close")):Toast("Ðе введÑн адÑÐµÑ ÑÑÑлки!","Error",5)})}if("FormAddSmiles"==btn){function a(){for(d="",t=Nav;t<=Nav+cont-1&&!(t>=CountASmiles);t++)d+='<span><img class="AddSmiles" src="/img/smiles/'+ASmiles[t]+'.gif"></span>';All||(n='<span class="TAESmilesNavAll" data-taebtn="FormAddSmiles" data-all-smile title="ÐоказаÑÑ Ð²Ñе ÑмайлÑ">ÐÑе ÑмайлÑ</span>',PrevAct=Nav<=0?PrevAct="InActive":"",NextAct=t>=CountASmiles?NextAct="InActive":"",n+='<div class="TAESmilesNavPrev '+PrevAct+'" data-nav-smile="'+(Nav-cont)+'" title="Ðазад">'+ImSp("arr_left")+"</div>",n+='<div class="TAESmilesNavNext '+NextAct+'" data-nav-smile="'+t+'" title="ÐпеÑÑд">'+ImSp("arr_right")+"</div>"),$(".TAESmiles").html(d),$(".TAESmilesNav").html(n)}function r(){_body.on("click."+UWin.Namespace,".AddSmiles",function(){setCursorPosition(Pos),ETAE.focus(),document.execCommand("insertImage",null,$(this).attr("src")),UWin.Close()})}ETAE.focus(),ASmiles=[")","(","P","D","amaze","up","rose","stop","crazy","cry","help","glass","dance","cumb","devil","bad","fool","scratch","secret","yes","drinks","ok","thank-you","snooks","punish","spam","dash","make-believe","hang","fuck-you","wink","boast","air-kiss","svist","friends","high-five","pleasantry","lazy","post","slow","machine-gun","popcorm-cola","slippers","come-here","music","steep","plus1","acute","daisy","congratulate","hi","chaj","ditched","bomb","heart","stop-it","pravila","close-tema","smekh","yahoo","sorry","victory","nea","no","not-i","clapping","laughter","aggressor","drag","pioneer","search","artist","agree","photographer","preved","idea","patsak","comando","indiana-jones","parting","bye-bye","umnik","scare","scleros","black-eye","empathy","balalajka","kubok","hysterics","major","ushi-vyanut","sarcasm","teaser","rip","woodpecker","bye","mad","flood","ban","moderator"],CountASmiles=ASmiles.length,cont=20,Nav=0,All=$("[data-all-smile]").length,Title=ImSp("smile")+"СмайлÑ",All?UWin.Close(function(){cont=CountASmiles,d='<div class="TAESmiles" style="max-width:640px"></div>',UWin=UniWin({E:e,Type:"Drag",Loader:!0,BG:"rgb(255 255 255 / 80%)",Center:!0,Title:Title,Data:d}),a(),r()}):(d='<div class="TAESmiles"></div><div class="TAESmilesNav"></div>',UWin=UniWin({E:e,Type:"Drag",Loader:!0,NoSaveWH:!0,Title:Title,Data:d}),a(),r(),_body.on("click."+UWin.Namespace,"[data-nav-smile]",function(){Nav=$(this).data("nav-smile"),a()}))}if("FormAddImg"==btn){function s(t,e){CountFile=0,SImg="","slide"==e?(InputType.val("Slide"),FormAdv.html(""),Loader16(ImgPreview,"ÐÑкÑÑÑие Ñайлов"),Array.from(t).forEach(function(e){fr=new FileReader,fr.onload=function(e){image=new Image,image.src=e.target.result,image.onload=function(){CountFile++,SImg+='<div data-img="'+e.target.result+'"> </div>'}},fr.readAsDataURL(e)}),SI=setInterval(function(){CountFile==t.length&&(0<CountFile&&BtnLoad.html("ÐагÑÑзиÑÑ "+CountFile+" ÑоÑо"),ImgPreview.append('<div class="PrevFotorama" data-width="100%" data-loop="true" data-arrows="true" data-swipe="true" data-nav="false" data-click="false" data-transition="slide">'+SImg+"</div>"),clearInterval(SI),InputDownload.addClass("InActive"),BtnLoad.removeClass("InActive"),Loader16(ImgPreview,"close"),$(".PrevFotorama").fotorama())},50)):(Array.from(t).forEach(function(e){InputType.val("Img"),FormAdv.html(""),/image.*/.test(e.type)?e.size<2e7?(Loader16(ImgPreview,"ÐÑкÑÑÑие Ñайлов"),fr=new FileReader,fr.onload=function(e){image=new Image,image.src=e.target.result,image.onload=function(){CountFile++,SImg+='<span class="ImgCenter"><img src="'+e.target.result+'"></span><input type="text" name="ImgAlt[]" id="ImgAlt" value="" placeholder="ÐпиÑание изобÑажениÑ">'}}
1,fr.readAsDataURL(e),1==t.length&&c()):SImg+='<span class="ImgCenter">'+e.name+"<br>ÐедопÑÑÑимÑй ÑÐ°Ð·Ð¼ÐµÑ Ñайла!</span>":SImg+='<span class="ImgCenter">'+e.name+"<br>ÐедопÑÑÑимÑй Ñип Ñайла!</span>"}),SI=setInterval(function(){CountFile==t.length&&(ImgPreview.append(SImg),0<CountFile&&BtnLoad.html("ÐагÑÑзиÑÑ "+CountFile+" ÑоÑо"),clearInterval(SI),InputDownload.addClass("InActive"),BtnLoad.removeClass("InActive"),Loader16(ImgPreview,"close"))},50))}function l(){InputType.val("Img"),InputUpload.val(""),InputUploadLabel.html(ImSp("pictures")+"ÐÑбÑаÑÑ Ñайл(Ñ)"),InputUploadLabel.attr("title",""),InputDownload.val(""),ImgPreview.html(""),InputUpload.parent().removeClass("InActive"),InputDownload.removeClass("InActive"),BtnLoad.addClass("InActive"),FormAdv.html("")}function c(e){AFD="",AFText='<input type="text" name="ImgText" id="ImgText" value="" placeholder="ТекÑÑ Ð½Ð° изобÑажение">',AFFloat='<select size="1" name="ImgFloat" id="ImgFloat"><option value="none">Ðо ÑенÑÑÑ</option><option value="left">Слева</option><option value="right">СпÑава</option></select>',AFD+="text"==e?AFText:"float"==e?AFFloat:AFText+"<br>"+AFFloat,FormAdv.html(AFD)}function u(){d='<div class="UWDContext"><div>СпоÑоб загÑÑзки ÑоÑо:</div><input type="submit" data-type-loadimg="Slide" value="СлайдÑоÑ"><input type="submit" data-type-loadimg="Img" value="ÐÑделÑнÑми ÑоÑо"></div></div>',ConfirmLoadImgWin=UniWin({E:e,Type:"Popup",BG:"rgb(102 119 136 / 70%)",Loader:!0,Title:ImSp("pictures")+"СпоÑоб загÑÑзки ÑоÑо",Data:d},function(){_body.on("click."+ConfirmLoadImgWin.Namespace,"[data-type-loadimg]",function(){Type=$(this).data("type-loadimg"),ConfirmLoadImgWin.Close(),"Slide"==Type?s(InputUpload[0].files,"slide"):s(InputUpload[0].files)})})}function p(){for(var e in d='<div class="HistoryImgDiv">',GVARLS.HistoryImg)d+='<div class="HistoryImg"><img data-tae-history-img src="'+GVARLS.HistoryImg[e]+'" title="ÐÑÑавиÑÑ"><b data-tae-history-del="'+e+'" title="УдалиÑÑ">'+ImSp("trash")+"</b></div>";return d+="</div>",d}function f(){GVARLS.HistoryImg=[],LSGVAR(!0),UWinHistory.Close(),HistoryImg.remove(),Toast("ÐÑÑоÑÐ¸Ñ ÑÑпеÑно оÑиÑена!")}function h(e){img=$(e).find("img"),0==img.length&&(img=$(e).find("[data-img]")),Array.from(img).forEach(function(e){src=$(e).attr("src")||$(e).attr("data-img"),30<=GVARLS.HistoryImg.length&&GVARLS.HistoryImg.shift(),GVARLS.HistoryImg.push(src)}),LSGVAR(!0)}function m(){if(t=$(this).data("tae-history-del"),GVARLS.HistoryImg.splice(t,1),GVARLS.HistoryImg.length<=0)return UWinHistory.Close(),void HistoryImg.remove();d=p(),UWinHistory.Out.html(d),$(this).closest(".HistoryImg").remove(),LSGVAR(!0)}function v(){_body.on("click."+UWin.Namespace,"[data-tae-loadimg-del]",function(){t=$(this).data("tae-loadimg-del"),$('[data-tae-loadimg="'+t+'"]').remove(),LIT=ETAE.html(),LI=LoadImg[t].outerHTML,LIT=LIT.replace(LI,""),ETAE.html(LIT),TTAE.val(LIT)})}d='<form name="FormAddImg" action="#" method="post" enctype="multipart/form-data" onsubmit="return false">',d+='<input type="hidden" name="Type" value="Img" id="InputType">',d+='<span class="InputTypeFile"><input type="file" multiple name="UploadImg[]" id="UploadImg" accept="image/jpg,image/jpeg,image/png,image/gif,image/webp"><label for="UploadImg">'+ImSp("pictures")+"ÐÑбÑаÑÑ Ñайл(Ñ)</label></span><br>",d+='<div class="InputCaption">'+ImSp("photo")+"Снимок Ñ ÑÑÑÑойÑÑва</div>",d+='<input name="DownloadImg" id="DownloadImg" type="text" value="" placeholder="ÐдÑÐµÑ Ð¸Ð·Ð¾Ð±ÑажениÑ"><br>',d+='<div id="ImgPreview" class="MyScroll"></div><div id="FormAdv"></div>',d+='<div class="link_button InActive" id="BtnLoad">ÐагÑÑзиÑÑ</div>',d+='<div class="link_button" id="BtnCleanForm" title="ÐÑиÑÑиÑÑ ÑоÑмÑ">'+ImSp("trash")+"</div>",GVARLS.HistoryImg&&GVARLS.HistoryImg.length?d+='<div class="link_button" id="HistoryImg" title="ÐоÑледние загÑÑженнÑе изобÑажениÑ">'+ImSp("pictures")+"</div>":GVARLS.HistoryImg=[],d+="</form>",LoadImg=$("<div>"+ETAE.html()+"</div>").find(".ImgCenter,.ImgLeft,.ImgRight,.Slide"),LoadImgL=LoadImg.length,0<LoadImgL&&
1(d+='<div class="link_button spoiler_link">ÐзобÑÐ°Ð¶ÐµÐ½Ð¸Ñ Ð¸ ÑлайдÑÐ¾Ñ ('+LoadImgL+")</div>",d+='<div class="spoiler_text TAELoadImg">',Array.from(LoadImg).forEach(function(e,t){"Slide"==$(e).attr("class")?LIS="ÑлайдÑоÑ":LIS="изобÑажение",d+='<div class="TAELoadImgE" data-tae-loadimg="'+t+'">'+e.outerHTML+'<i data-context="open,1,1,1" title="УдалиÑÑ '+LIS+'">'+ImSp("trash")+"</i>",d+='<span class="context_block"><a href="#" data-tae-loadimg-del="'+t+'">'+ImSp("trash")+"УдалиÑÑ "+LIS+"?</a></span>",d+="</div>"}),d+="</div>"),FaqBtn='<a href="#" data-context="open,1,1,1">'+ImSp("faq")+"</a>",FaqBtn+='<span class="context_block">',FaqBtn+="<div>"+ImSp("pictures")+"ÐÑбеÑиÑе Ñайл(Ñ)<br>"+ImSp("photo")+"СделайÑе Ñнимок Ñ ÑÑÑÑойÑÑва<br>"+ImSp("link")+"УкажиÑе ÑÑÑÐ»ÐºÑ Ð½Ð° Ñайл<br>"+ImSp("files")+"ÐеÑеÑаÑиÑе ÑÑда Ñайл(Ñ)<br>"+ImSp("write1")+"ÐажмиÑе Ctrl+V Ð´Ð»Ñ Ð²ÑÑавки Ñайла</div>",FaqBtn+="</span>",UWin=UniWin({E:e,Type:"Popup",BG:"rgb(102 119 136 / 70%)",NoSaveWH:!0,Title:ImSp("pictures")+"ÐзобÑажение",Button:FaqBtn,Data:d},function(){InputType=$("#InputType"),ImgPreview=$("#ImgPreview"),InputUpload=$("#UploadImg"),InputDownload=$("#DownloadImg"),BtnLoad=$("#BtnLoad"),FormAdv=$("#FormAdv"),HistoryImg=$("#HistoryImg"),InputUploadLabel=InputUpload.next(),_body.on("input."+UWin.Namespace,"#UploadImg,#DownloadImg",function(e){InputDownload.val()&&IsImageExt(InputDownload.val())?(ImgPreview.html(""),Loader16(ImgPreview,"ÐÑкÑÑÑие Ñайла"),PreloadImage(InputDownload.val(),function(){BtnLoad.removeClass("InActive"),InputUpload.parent().addClass("InActive"),c(),ImgPreview.html('<span class="ImgCenter"><img src="'+InputDownload.val()+'"></span><input type="text" name="ImgAlt[]" id="ImgAlt" value="" placeholder="ÐпиÑание изобÑажениÑ">')})):1<InputUpload[0].files.length?InputUpload[0].files.length<50?(ImgPreview.html(""),u()):Toast("ÐакÑималÑное колиÑеÑÑво Ñайлов не более 50!","Error",10):(ImgPreview.html(""),s(InputUpload[0].files))}),BtnLoad.on("click."+UWin.Namespace,function(){0<InputUpload[0].files.length?(Loader({Open:!0,Mess:"ÐагÑÑзка..."}),$.ajax({url:"/jsr.php?act=UploadImg&MCN",data:new FormData(document.forms.FormAddImg),type:"POST",cache:!1,dataType:"json",contentType:!1,processData:!1,success:function(e){e.TG&&ATG.html(e.TG),Loader(),0==e.err?(h(e.res),setCursorPosition(Pos),ETAE.focus(),document.execCommand("insertHTML",null,e.res),"Slide"==InputType.val()&&$(".fotorama").fotorama(),l(),UWin.Close()):Toast(e.res,"Error",3)},xhr:function(){return xhr=new window.XMLHttpRequest,xhr.upload.addEventListener("progress",function(e){e.lengthComputable&&Loader({Percent:Math.round(e.loaded/e.total*100)})},!1),xhr}})):InputDownload.val()?(imageUrlRegex=/\.(?:png|jpe?g|gif)(?:\?.*)?$/i,imageUrlRegex.test(InputDownload.val())?(Loader({Open:!0,Mess:"ÐагÑÑзка..."}),$.ajax({url:"/jsr.php?act=DownloadImg&MCN",data:new FormData(document.forms.FormAddImg),type:"POST",cache:!1,dataType:"json",contentType:!1,processData:!1,success:function(e){e.TG&&ATG.html(e.TG),Loader(),0==e.err?(h(e.res),setCursorPosition(Pos),ETAE.focus(),document.execCommand("insertHTML",null,e.res),l(),UWin.Close()):Toast(e.res,"Error",3)}})):Toast("ÐедопÑÑÑимÑй ÑоÑмаÑ!<br>ÐопÑÑÑимÑе ÑоÑмаÑÑ:<br>PNG, GIF, JPG, JPEG","Error","close",10)):10<ImgPreview.html().length?(img=ImgPreview.find("img").attr("src"),float=$("#ImgFloat").val(),"none"==float&&(imgclass="ImgCenter"),"left"==float&&(imgclass="ImgLeft"),"right"==float&&(imgclass="ImgRight"),res='<span class="'+imgclass+'"><img src="'+img+'"></span><br>',setCursorPosition(Pos),ETAE.focus(),document.execCommand("insertHTML",null,res),l(),UWin.Close()):Toast("ÐÑÑÑÐ°Ñ ÑÑÑлка на изобÑажение!","Error",5)}),_body.on("click."+UWin.Namespace,"#HistoryImg",function(e){d=p(),Button='<i data-tae-history-img-clear title="ÐÑиÑÑиÑÑ Ð¸ÑÑоÑиÑ">'+ImSp("trash")+"</i>",UWinHistory=UniWin({E:e,Type:"Popup",Loader:!0,Title:ImSp("pictures")+"ÐоÑледние загÑÑженнÑе",Button:Button,Data:d}),_body.on("click."+UWinHistory.Namespace,"[data-tae-history-img-clear]",f),_body.on("click."+UWinHistory.Namespace,"[data-tae-history-del]",m),_body.on("click."+UWinHistory.Namespace,"[data-tae-history-img]",function(e){l(),c("float"),ImgPreview.append('<span class="ImgCenter"><img src="'+$(this).attr("src")+'"></span>'),UWinHistory.Close(),InputUpload.addClass("InActive"),InputDownload.addClass("InActive"),BtnLoad.removeClass("InActive")}
1)}),_body.on("click."+UWin.Namespace,"#BtnCleanForm",function(){l()}),v(),_body.on("paste."+UWin.Namespace,function(e){for(clipboardItems=e.originalEvent.clipboardData.items,imageBlob=null,t=0;t<clipboardItems.length;t++)if(0===clipboardItems[t].type.indexOf("image")){imageBlob=clipboardItems[t].getAsFile();break}imageBlob&&(e.preventDefault(),GHG=setInterval(function(){clearInterval(GHG),dataTransfer=new DataTransfer,dataTransfer.items.add(imageBlob),InputUpload[0].files=dataTransfer.files,s(InputUpload[0].files)},300))}),UWin.Out.on("dragover."+UWin.Namespace,function(e){e.preventDefault()}),UWin.Out.on("drop."+UWin.Namespace,function(e){e.preventDefault(),files=e.originalEvent.dataTransfer.files,DragPI=setInterval(function(){if(0<ImgPreview.length&&(clearInterval(DragPI),0<files.length)){for(dataTransfer=new DataTransfer,t=0;t<files.length;t++)dataTransfer.items.add(files[t]);InputUpload[0].files=dataTransfer.files,1<t?u():s(InputUpload[0].files)}},200)})})}if("Spoiler"==btn&&(setCursorPosition(Pos),Html='<div class="spoiler_link">'+ImSp("spoiler")+'Ðаголовок</div><div class="spoiler_text" style="display:block">СкÑÑÑÑй ÑекÑÑ<br></div><br>',document.execCommand("insertHTML",!0,Html)),"Code"==btn&&(setCursorPosition(Pos),Html='<div class="CodeHighlight">'+Pos+"</div><br>",document.execCommand("insertHTML",!0,Html)),"FormAddVideo"==btn){function g(){IV.val(""),VP.html(""),AddVideo.addClass("InActive")}d='<input name="Video" id="'+NTAE+'Video" type="text" value="" placeholder="ÐдÑÐµÑ Ð²Ð¸Ð´ÐµÐ¾">',d+='<div id="VideoPreview">ÐÑÑавÑÑе ÑÑÑÐ»ÐºÑ Ð½Ð° видео.<br>( YouTube, Rutube, VK )</div>',d+='<div class="link_button InActive" id="AddVideo">ÐÑÑавиÑÑ</div>',d+='<div class="link_button" id="ClearFormAddVideo" title="ÐÑиÑÑиÑÑ ÑоÑмÑ">'+ImSp("trash")+"</div>",d+="</form>",UWin=UniWin({E:e,Type:"Drag",BG:"rgb(102 119 136 / 70%)",NoSaveWH:!0,Title:ImSp("video")+"Ðидео",Data:d}),Video="",IV=$("#"+NTAE+"Video"),VP=$("#VideoPreview"),AddVideo=$("#AddVideo"),_body.on("click."+UWin.Namespace,"#ClearFormAddVideo",function(){g()}),_body.on("input."+UWin.Namespace,IV,function(e){V=$("#"+NTAE+"Video").val(),Video=ParseVideo(V),Video&&($("#VideoPreview").html(Video.replace("<br>","")),AddVideo.removeClass("InActive"))}),AddVideo.on("click."+UWin.Namespace,function(e){V=$("#"+NTAE+"Video").val(),V?(Video=ParseVideo(V),Video?(setCursorPosition(Pos),document.execCommand("insertHTML",null,Video),g(),$(this).off("click"),_body.off("input."+UWin.Namespace),UWin.Close()):Toast("Ðе коÑÑекÑнÑй адÑÐµÑ Ð²Ð¸Ð´ÐµÐ¾!","Error",3)):Toast("Ðе введÑн адÑÐµÑ Ð²Ð¸Ð´ÐµÐ¾!","Error",3)})}return"Preview"==btn&&(e.Resize=e.Close=e.Fullscreen=e.PosCenter=!0,UWin=UniWin({E:e,Type:"Drag",BtnFullscreen:!0,NoSaveWH:!0,Center:!0,Resize:!0,Loader:!0,SoundOpen:!0,SoundClose:!0,Title:ImSp("eye")+"ÐÑедпÑоÑмоÑÑ",Data:'<div class="TAEPreview">'+ETAE.html()+"</div>"})),"Fullscreen"==btn&&($(this).children().toggleClass("si_fullscreen si_smallscreen"),$(this).toggleAttr("title","РазвеÑнÑÑÑ","СвеÑнÑÑÑ"),TAE.children(".AResize").toggleClass("AResizeH"),ETAE.parent().toggleClass("TAEF"),ScrollbarSwitch("TAEFullscreen")),!1})))},TAEditor(),_body.on("change","#SelectArticleCat",function(e){"Add"==$(this).val()&&($(this).val(""),UWin=UniWin({E:e,Type:"Drag",BG:"rgb(255 255 255 / 30%)",BDF:2,Center:!0}),out=UWin.Out,MCN="&MCN="+($("div[id^='MC_']").length-1),$.ajax({type:"POST",url:"/jsr.php?act=FormUserAddCat"+MCN,dataType:"json",success:function(e){out.html(e.res),e.TG&&ATG.html(e.TG)}}))}),_body.on("click",".link_am,.css-label-checkbox,.css-label-radio,[data-jsr]",function(){SoundPlay("snap",.3)}),DDAC=$("[data-delete-all-cookies]"),DDAC.exists()&&_body.on("click","[data-delete-all-cookies]",function(e){if("del"==$(this).data("delete-all-cookies"))DelAllCookies();else{d='<div class="List"><div class="ListL">ÐÑ Ð´ÐµÐ¹ÑÑвиÑелÑно желаеÑе ÑдалиÑÑ Ð²Ñе COOKIES?</div></div>',d+='<span class="link_button" data-delete-all-cookies="del" data-uw-close="reload">'+ImSp("trash")+"Ðа, ÑдалиÑÑ Ð²Ñе COOKIES !</span>",d+='<span class="link_button" data-uw-close>ÐÑмена</span>';UniWin({E:e,Type:"Popup",Title:ImSp("trash")+"Удаление COOKIES",Data:d})}return!1});var M,R,W,j,H,G,q,Y,z=document.location.pathname.split("/")[1]||"ws",X=document.location.pathname+document.location.search;$("#menu>
1li>ul>li>a").each(function(){if(h_menu=$(this).attr("href").split("/")[1]||"ws",z==h_menu&&($(this).parent().parent().parent().addClass("menu_active"),z=""),h_menu_1=$(this).attr("href"),X==h_menu_1)return $(this).addClass("menu_active_1"),!1}),RightMenu=(M=$(".RM"),(R={CreateRM:function(e){if(!M.length){var t="",n=$("#menu>li>a");for(i=0;i<n.length;i++)if(n[i].nextElementSibling){var o=n[i].nextElementSibling.children,a="";for(c=0;c<o.length;c++)"#search"!=o[c].firstChild.getAttribute("href")&&(o[c].firstChild.className="menu_active_1"==o[c].firstChild.className?"RMA":"",a+="<li>"+o[c].innerHTML+"</li>");ba="menu_active"==n[i].parentElement.className?'class="RMBA"':"",t+="<li>"+n[i].outerHTML+"<b "+ba+"></b><ul>"+a+"</ul></li>"}else t+="<li>"+n[i].outerHTML+"<ul>"+a+"</ul></li>";M=$('<div class="RM MyScroll"><ul><li><form action="/search/index.php" method="get" target="_self" accept-charset="utf-8"><input type="hidden" name="searchid" value="210015"><input type="hidden" name="l10n" value="ru"><input type="hidden" name="reqenc" value="utf-8"><input type="search" name="text" value="" placeholder="ÐоиÑк по ÑайÑÑ"><input type="submit" value=""></form>'+t+'</li><b><a href="/"></a></b></ul></div>'),_page.append(M)}R.SwipeRM()},SwipeRM:function(){_page.on("touchstart.RightMenu",function(e){e.target.closest("#ADV_1")||e.target.closest("#ADV_2")||e.target.closest(".fotorama")||(TStartX=e.touches[0].clientX,TStartY=e.touches[0].clientY,ST=Date.now(),$(this).one("touchend",function(e){TEndX=e.changedTouches[0].clientX,TEndY=e.changedTouches[0].clientY,DT=Date.now()-ST,xDiff=TStartX-TEndX,yDiff=TStartY-TEndY,Math.abs(yDiff)<100&&50<Math.abs(xDiff)&&DT<250&&(0<xDiff?R.OpenRM():R.CloseRM()),TStartX=TStartY=TEndX=TEndY=ST=DT=xDiff=yDiff=0}))})},CloseRM:function(){M.hasClass("RMOpen")&&(SoundPlay("win_down"),_page.off("touchstart.RightMenu"),RMO.off("click").addClass("RMOC"),M.removeClass("RMOpen").one("transitionend",function(){R.SwipeRM(),RMO.off("click"),M.off("click"),ScrollbarSwitch("RMT"),RMO.remove()}))},OpenRM:function(){M.hasClass("RMOpen")||(SoundPlay("win_down"),ScrollbarSwitch("RMT"),RMO=$('<div class="RMO RMOO"></div>'),M.before(RMO),M.addClass("RMOpen"),M.on("click","ul>li>b",function(){SoundPlay("win_down"),$(this).toggleClass("RMB").next().slideToggle(300)}),M.on("click","ul>li>ul>li>a",function(){RMO.off("click"),M.off("click"),ScrollbarSwitch("RMT"),M.removeClass("RMOpen"),RMO.remove()}),RMO.on("click",function(){R.CloseRM()}))}}).CreateRM(),void $('.si_Menu,[href="#search"]').on("click",function(e){SoundPlay("win_down"),R.OpenRM()})),RightPanel=(j=$(".RPU"),H=$(".RPT"),(G={Show:function(){j.removeClass("RPUH"),H.children().attr("class","si_icon_right")},Hidden:function(){j.addClass("RPUH"),H.children().attr("class","si_icon_left")},Restore:function(){GetCookies("RPH")?G.Hidden():G.Show()},CheckScroll:function(){G.HideScroll(),_win.on("scroll",function(e){e.preventDefault(),G.HideScroll()})},HideScroll:function(){s=window.scrollY||html.scrollTop,ends=html.scrollHeight-window.innerHeight,0==s?$(".si_icon_top").addClass("InActive"):$(".si_icon_top").removeClass("InActive"),s>=ends-1?$(".si_icon_bottom").addClass("InActive"):$(".si_icon_bottom").removeClass("InActive")},Scroll:function(){function o(){0!=html.scrollTop?(html.scrollTop--,W=requestAnimationFrame(o)):cancelAnimationFrame(W)}function i(){html.scrollTop>h?cancelAnimationFrame(W):(html.scrollTop++,W=requestAnimationFrame(i))}$(".si_icon_bottom,.si_icon_top").on("click mouseover mouseout",function(e){h=GetScrollHeight(),n=e.target.className,t=e.type,"mouseout"==t&&cancelAnimationFrame(W),"click"==t?(cancelAnimationFrame(W),"si_icon_top"==n&&(h=-h),window.scrollBy({top:h,behavior:"smooth"})):"mouseover"==t&&("si_icon_top"==n?W=requestAnimationFrame(o):"si_icon_bottom"==n&&(W=requestAnimationFrame(i)))})}}).CheckScroll(),G.Scroll(),H.on("click",function(){NewMess?Toast("У ÐÐ°Ñ Ð¸Ð¼ÐµÑÑÑÑ Ð½ÐµÐ¿ÑоÑиÑаннÑе лиÑнÑе ÑообÑениÑ!","Warning"):(SoundPlay("win_down"),GetCookies("RPH")?(G.Show(),SetCookies("RPH","",CurrYear+1,CurrMonth,CurrDay)):(G.Hidden(),SetCookies("RPH",!0,CurrYear+1,CurrMonth,CurrDay)))}
1),G),function(){if(!is_touch_device()){var t,n,o=function(){n=t=!1,r.removeAttribute("style")},i=function(e){P=r.getBoundingClientRect(),B=document.documentElement.getBoundingClientRect(),x=e.pageX,y=e.pageY+22+B.top,x+P.width>B.width&&(x=B.width-P.width),y>=B.height-P.height&&(y=y-22-P.height),r.style.cssText="display:block;left:"+x+"px;top:"+y+"px;"},a=function(e){n&&(n.removeEventListener("mousemove",i),n.removeEventListener("mouseout",a,{once:!0}),n.title=t),o()},r=document.body.insertAdjacentElement("beforeend",Object.assign(document.createElement("div"),{id:"MTT"}));document.addEventListener("mouseover",function(e){e.target.hasAttribute("title")?(n=e.target,t=e.target.getAttribute("title")):e.target.parentElement&&e.target.parentElement.hasAttribute("title")?(n=e.target.parentElement,t=e.target.parentElement.getAttribute("title")):o(),t&&n&&(n.removeAttribute("title"),r.replaceChildren(),r.insertAdjacentHTML("beforeend",t),r.style.cssText="display:block",n.addEventListener("mousemove",i),n.addEventListener("mouseout",a,{once:!0}))})}}(),$(".rating_stars").rating(),$(".mix_block_news_desc").on("click",function(){$(this).toggleClass("mix_block_news_desc mix_block_news_desc_all")}
1),_body.on("change","#country_id",function(){var e=$(this).val();if("0"==e)return $("#region_id").html("<option>Регион</option>"),$("#region_id").attr("disabled",!0),$("#city_id").html("<option>ÐоÑод</option>"),$("#city_id").attr("disabled",!0),!1;$("#region_id").attr("disabled",!0),$("#region_id").html("<option>ÐагÑÑзка...</option>"),$.ajax({url:"/jsr.php?act=sel_country&country_id="+e+"&MCN",type:"GET",cache:!1,dataType:"json",success:function(e){0==e.err?($("#region_id").html(e.res),$("#region_id").attr("disabled",!1),$("#city_id").html("<option>ÐоÑод</option>")):($("#region_id").html(e.res),$("#region_id").attr("disabled",!0),$("#city_id").html("<option>- гоÑод -</option>")),$("#city_id").attr("disabled",!0)}})}),_body.on("change","#region_id",function(){var e=$(this).val();if("0"==e)return $("#city_id").html("<option>ÐоÑод</option>"),$("#city_id").attr("disabled",!0),!1;$("#city_id").attr("disabled",!0),$("#city_id").html("<option>ÐагÑÑзка...</option>"),$.ajax({url:"/jsr.php?act=sel_region®ion_id="+e+"&MCN",type:"GET",cache:!1,dataType:"json",success:function(e){0==e.err?($("#city_id").html(e.res),$("#city_id").attr("disabled",!1)):($("#city_id").html(e.res),$("#city_id").attr("disabled",!0))}})}),_body.on("change","#city_id",function(){if("0"==$(this).val())return $("#city_name").val(""),!1;$("#city_name").val($("#city_id option:selected").text())}),_body.on("click","[data-upload-crop-img]",function(n){var r=$(this).data("upload-crop-img");$("form").is("#IUForm")&&$("#IUForm").remove(),_body.append('<form id="IUForm" method="post" enctype="multipart/form-data"><textarea id="InputToPhoto" name="TextToPhoto"></textarea><input type="file" name="IUName" id="IUField" accept="image/jpg,image/jpeg"></form>');var f=$("#IUField");UserUpload||f.trigger("click").off("click"),"undefined"==typeof FileReader?UniWin({E:n,Type:"Popup",Name:"UploadUserPhotoCropError",Title:ImSp("error")+"ÐÑибка",Data:error_js("ÐÐµÑ Ð¿Ð¾Ð´Ð´ÐµÑжки FileReader ÐаÑим бÑаÑзеÑом!")}):f.on("change",function(e){f.off("change");var t=e.target.files[0];/image.*/.test(t.type)?t.size<2e7?(d='<div id="CropDiv"><span class="SpanTextToPhoto"></span><div id="cropImgWrapper"></div><div id="cropControls">'+ImSp("zoom_in")+ImSp("zoom_out")+ImSp("rotate_left")+ImSp("rotate_right")+ImSp("menu_notes")+ImSp("icon_ok")+"</div></div>",PopupUploadPhoto=UniWin({E:n,Type:"Popup",Name:"UploadUserPhotoCrop",Title:ImSp("photo")+"ÐагÑÑзка ÑоÑо",Data:d},function(){SpanTextToPhoto=$(".SpanTextToPhoto")}),cd=$("#CropDiv"),cw=$("#cropImgWrapper"),cc=$("#cropControls"),ci=$("#cropImg"),objW=cd.width(),objH=cd.height(),Loader({Open:!0,Mess:"ÐагÑÑзка Ñайла..."}),setTimeout(function(){var e=new FileReader;e.onload=function(a){var t=new Image;t.src=a.target.result,t.onload=function(){var e=a.target.result,n=imgW=t.width,o=imgH=t.height,i=0,u=$('<img src="'+e+'">');cw.append(u),Loader(),initialScaleImg=function(){zoom(-n),zoom(0),u.on("mousewheel",function(e){e.preventDefault(),zoom(10*e.deltaY)}),u.css({left:-(imgW-objW)/2,top:-(imgH-objH)/2,position:"relative"})},zoom=function(e){var t=imgW/imgH,n=imgW+e,o=n/t,i=!0;(n<objW||o<objH)&&(n-objW<o-objH?o=(n=objW)/t:n=t*(o=objH),i=!1),imgW=n,u.width(n),imgH=o,u.height(o);var a=parseInt(u.css("top"))-e/2,r=parseInt(u.css("left"))-e/2;0<a&&(a=0),0<r&&(r=0);var s=-(o-objH);a<s&&(a=s);var l=-(n-objW);r<l&&(r=l),i&&u.css({top:a,left:r})},rotate=function(e){((i+=e)<-360||360<i)&&(i=0),u.css({"-webkit-transform":"rotate("+i+"deg)","-moz-transform":"rotate("+i+"deg)",transform:"rotate("+i+"deg)"})},initDrag=function(){u.on("mousedown touchstart",function(e){e.preventDefault();var t,n,a=window.navigator.userAgent;a.match(/iPad/i)||a.match(/iPhone/i)||a.match(/android/i)||null==(e.pageY&&e.pageX)?(t=e.originalEvent.touches[0].pageX,n=e.originalEvent.touches[0].pageY):(t=e.pageX,n=e.pageY),p=u.outerHeight(),s=u.outerWidth(),c=u.offset().top+p-n,l=u.offset().left+s-t,u.css("z-index",1e3).on("mousemove touchmove",function(e){var t,n;if(a.match(/iPad/i)||a.match(/iPhone/i)||a.match(/android/i)||null==(e.pageY&&e.pageX)?(t=e.originalEvent.touches[0].pageY+c-p,n=e.originalEvent.touches[0].pageX+l-s):(t=e.pageY+c-p,n=e.pageX+l-s),u.offset({top:t,left:n}),objH<imgH){0<parseInt(u.css("top"))&&u.css("top",0);var o=-(imgH-objH);parseInt(u.css("top"))<o&&u.css("top",o)}else{parseInt(u.css("top"))<0&&u.css("top",0);o=objH-imgH;parseInt(u.css("top"))>o&&u.css("top",o)}if(objW<imgW){0<parseInt(u.css("left"))&&u.css("left",0);var i=-(imgW-objW);parseInt(u.css("left"))<i&&u.css("left",i)}else{parseInt(u.css("left"))<0&&u.css("left",0);i=objW-imgW;parseInt(u.css("left"))>i&&u.css("left",i)}})}).on("mouseup",function(){u.off("mousemove")}).on("mouseout",function(){u.off("mousemove")})},crop=function(){Loader({Open:!0,Mess:"ÐагÑÑзка Ñайла..."});var e={imgInitW:n,imgInitH:o,imgW:imgW,imgH:imgH,TextToPhoto:$("#InputToPhoto").val(),imgY:Math.abs(parseInt(u.css("top"))),imgX:Math.abs(parseInt(u.css("left"))),cropH:objH,cropW:objW,angle:i};for(var t in formData=new FormData,formData.append("IUName",f[0].files[0]),e)e.hasOwnProperty(t)&&formData.append(t,e[t]);$.ajax({url:r,data:formData,cache:!1,dataType:"json",contentType:!1,processData:!1,type:"POST",success:function(e){0==e.err?(Loader(),PopupUploadPhoto.Out.html(e.res)):(Loader(),UniWin({E:a,Type:"Popup",Name:"UploadUserPhotoError",Title:ImSp("error")+"ÐÑибка загÑÑзки ÑоÑо",Data:error_js(e.res)}))}})},cc.find(".si_zoom_in").on("click",function(){zoom(50)}),cc.find(".si_zoom_out").on("click",function(){zoom(-50)}),cc.find(".si_rotate_left").on("click",function(){rotate(-5)}),cc.find(".si_rotate_right").on("click",function(){rotate(5)}),cc.find(".si_icon_ok").on("click",function(){crop()}),cc.find(".si_menu_notes").on("click",function(){oldt=$("#InputToPhoto").val(),d='<textarea id="TextToPhoto" name="texttophoto" placeholder="ТекÑÑ Ð½Ð° ÑоÑо">'+oldt+"</textarea><br>",d+='<div class="link_button" id="AddTextToPhoto">ÐÑимениÑÑ</div>',TextToPhotoWin=UniWin({E:a,Type:"Popup",Name:"UploadUserPhotoText",Title:ImSp("notes")+"ÐобавиÑÑ ÑекÑÑ Ð½Ð° ÑоÑо",Data:d},function(){$("#AddTextToPhoto").one("click",function(){text=$("#TextToPhoto").val(),$("#InputToPhoto").val(text),SpanTextToPhoto.text(text),TextToPhotoWin.Close()})})}),initialScaleImg(),initDrag()}}
1,e.readAsDataURL(t)},500)):UniWin({E:n,Type:"Popup",Title:ImSp("error")+"ÐÑибка загÑÑзки ÑоÑо",Data:error_js("ÐакÑималÑнÑй ÑÐ°Ð·Ð¼ÐµÑ ÑоÑо не более 20 Ðб!")}):UniWin({E:n,Type:"Popup",Title:ImSp("error")+"ÐÑибка загÑÑзки ÑоÑо",Data:error_js("ÐаннÑй Ñип Ñайла запÑеÑÑн к загÑÑзке!")})})}),_body.on("click","[data-yp]",function(){$("#iframe_youtube").remove(),$("#iframe_rutube").remove(),$("#iframe_videovk").remove(),yd=$(this).data("yp"),$(this).append('<iframe id="iframe_youtube" src="https://www.youtube.com/embed/'+yd+'" allowfullscreen></iframe>'),Loader({Open:!0,Target:this,NoOverlay:!0,Mess:"ÐагÑÑзка видео"}),iframe=$("#iframe_youtube"),iframeError=setTimeout(function(){Loader({}),Toast("ÐÑибка загÑÑзки!","Error",3)},3e4),iframe.on("load",function(){clearTimeout(iframeError),Loader({})})}),_body.on("click","[data-rp]",function(){$("#iframe_youtube").remove(),$("#iframe_rutube").remove(),$("#iframe_videovk").remove(),rd=$(this).data("rp"),$(this).append('<iframe id="iframe_rutube" src="'+rd+'" allowfullscreen></iframe>'),Loader({Open:!0,Target:this,NoOverlay:!0,Mess:"ÐагÑÑзка видео"}),iframe=$("#iframe_rutube"),iframeError=setTimeout(function(){Loader({}),Toast("ÐÑибка загÑÑзки!","Error",3)},3e4),iframe.on("load",function(){clearTimeout(iframeError),Loader({})})}),_body.on("click","[data-videovk]",function(){$("#iframe_youtube").remove(),$("#iframe_rutube").remove(),$("#iframe_videovk").remove(),vk=$(this).data("videovk"),$(this).append('<iframe id="iframe_videovk" src="'+vk+'" allowfullscreen></iframe>'),Loader({Open:!0,Target:this,NoOverlay:!0,Mess:"ÐагÑÑзка видео"}),iframe=$("#iframe_videovk"),iframeError=setTimeout(function(){Loader({}),Toast("ÐÑибка загÑÑзки!","Error",3)},3e4),iframe.on("load",function(){clearTimeout(iframeError),Loader({})})}),$(".ListCatChild>ul").exists()&&(LCCa=$(".ListCatChild>a"),LCCa.on("click",function(){return LCCa.next("ul").slideUp(300),$(this).next("ul").slideDown(300),!1})),_body.on("click","[data-toogle-id]",function(){if(l=$(this),l.data("toogle-title")&&(Y||(Y=l.text()),q||(q=l.data("toogle-title"))),l.text()==l.data("toogle-title")?t=Y:t=q,$(this).data("toogle-id").split(",").forEach(function(e){l.data("toogle-fade")?$("#"+e).fadeToggle(l.data("toogle-fade"),function(){l.data("toogle-title")&&l.text(t)}):$("#"+e).slideToggle(300,function(){l.data("toogle-title")&&l.text(t)})}),!l.attr("href")||"#"==l.attr("href"))return!1}),_body.on("click",".menu_share,#menu_share,#menu_share_overall,[data-share-url]",function(e){return u=$(this).data("share-url"),t=$(this).data("share-title"),u&&t||(u=document.location.href,t=document.title,t=t.replace(/"([^"]+)"/g,"‘‘$1’’"),t=t.replace("'","‘")),une=u,u=escape(u),d='<span class="ContextShare">',d+='<a target="_blank" href="https://vkontakte.ru/share.php?url='+u+'">'+ImSp("share_vkontakte")+"ÐконÑакÑе</a>",d+='<a target="_blank" href="https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl='+u+'">'+ImSp("share_odnoklassniki")+"ÐдноклаÑÑники</a>",d+='<a target="_blank" href="https://www.facebook.com/sharer.php?src=sp&u='+u+'">'+ImSp("share_facebook")+"Facebook</a>",d+='<a target="_blank" href="https://connect.mail.ru/share?share_url='+u+"&title="+t+'">'+ImSp("share_moymir")+"Ðой миÑ</a>",d+='<a target="_blank" href="https://twitter.com/share?url='+u+"&text="+t+'">'+ImSp("share_twitter")+"Twitter</a>",d+='<a target="_blank" href="https://api.whatsapp.com/send?text='+t+" "+u+'">'+ImSp("share_whatsapp")+"WhatsApp</a>",d+='<a href="#" data-jsr="QrCode&u='+u+'" data-out="popup" data-uw-bg="#234">'+ImSp("share_qr")+"QR-код</a>",d+='<a target="_blank" href="https://t.me/share/url?url='+u+"&text="+t+'">'+ImSp("share_telegram")+"Telegram</a>",d+='<a href="sms:?body='+t+"%0A"+u+'">'+ImSp("share_sms")+"SMS</a>",d+='<a href="mailto:?body='+t+"%0A"+u+'">'+ImSp("share_email")+"Email</a>",d+='<a target="_blank" href="viber://forward?text='+t+" "+u+'">'+ImSp("share_viber")+"Viber</a>",d+='<a target="_blank" href="https://web.skype.com/share?url='+u+'">'+ImSp("share_skype")+"Skype</a>",d+='<a href="#" data-context="open,1,1,1">'+ImSp("share_clipboard")+"РбÑÑÐµÑ Ð¾Ð±Ð¼ÐµÐ½Ð°</a>",d+='<div class="context_block" style="display:none;">',d+='<a href="#" data-clipboard-text="'+une+'">'+ImSp("write1")+"СÑÑлкÑ</a>",d+='<a href="#" data-clipboard-text="'+t+'">'+ImSp("write1")+"Ðазвание</a>",d+='<a href="#" data-clipboard-text="'+une+" - "+t+'">
1'+ImSp("write1")+"СÑÑÐ»ÐºÑ Ð¸ название </a>",d+="</div>",d+='<a target="_blank" href="https://max.ru/:share?text='+u+'">'+ImSp("share_max")+"MAX</a>",d+='<a href="#" onclick="window.print();return false;">'+ImSp("share_print")+"ÐеÑаÑÑ</a>",(void 0!==navigator.share||navigator.share)&&(d+='<a href="#" data-navigator-share-title="'+t+'" data-navigator-share-url="'+une+'">'+ImSp("share_share")+"ÐÑпÑавиÑÑ</a>"),d+="</span>",UniWin({E:e,Type:"Context",OutSideMove:!0,OutSideClick:!0,Title:ImSp("share")+"ÐоделиÑÑÑÑ",Data:d}),!1}),_body.on("click","[data-navigator-share-url]",function(){return URL=$(this).data("navigator-share-url"),Title=$(this).data("navigator-share-title"),Description="",navigator.share({title:Title,text:Description,url:URL}),!1}),_body.on("click","[data-clipboard-text]",function(e){return SoundPlay("snap"),d=$(this).data("clipboard-text"),_body.append('<div id="temp-clipboard-text">'+d+"</div>"),selectText("temp-clipboard-text"),document.execCommand("copy"),$("#temp-clipboard-text").remove(),Toast("СкопиÑовано в бÑÑÐµÑ Ð¾Ð±Ð¼ÐµÐ½Ð°!","Success"),!1}),_body.on("click",".oauth a",function(){return NewWin($(this).attr("href"),"oa_window",768,640),!1});var K,J,Q,Z,ee,te,ne,oe=document.title,ie=6e4,ae=2e4;function re(e){e.animate({scrollTop:e[0].scrollHeight+1e3},700)}!function(){if($("#Auth").exists()){function l(){return GetCookies("PRIV_NOTIFY")}function c(e){var t=$(".BtnAuth"),n=$(".BtnAuth b");e?(clearInterval(K),K=setInterval(function(){document.title="SALDA.WS"==document.title?"ÐовÑÑ
ÑообÑений ("+e+")":"SALDA.WS"},500),n.length?n.text(e):t.append("<b>"+e+"</b>"),t.addClass("NewMess").children(".si_auth_user").addClass("si_new_mess").removeClass("si_auth_user"),PrivateOpen.html(ImSp("msg_close NewMess")+"ÐовÑÑ
ÑообÑений ("+e+")</span>"),RightPanel.Show()):(document.title=oe,clearInterval(K),n.length&&n.remove(),t.removeClass("NewMess").children(".si_new_mess").removeClass("si_new_mess").addClass("si_auth_user"),PrivateOpen.html(ImSp("msg_close")+"Ðои ÑообÑениÑ</span>"))}function u(e){J=setInterval(function(){$.ajax({url:"/jsr.php?act=CheckNewMess&MCN",type:"GET",cache:!1,dataType:"json",success:function(e){0==e.err&&(0<e.count_new_mess?(NewMess=e.count_new_mess,c(e.count_new_mess),PN=l(),0<PN&&SoundPlay(PN)):c())}})},e)}PrivateOpen=$(".PrivateOpen"),NewMess&&(c(NewMess),PN=l(),0<PN&&setTimeout(function(){SoundPlay(PN)},1e3)),u(ie),_body.on("click",".PrivateOpen",function(t){RightPanel.Restore(),NewMess=0,clearTimeout(J),c();var s=UniWin({E:t,Type:"Private",Title:!1,SoundOpen:!0,SoundClose:!0,Data:'<div id="Priv"></div>'},function(t){!function o(i,a){var r=$("#Priv");Loader({Open:!0,Mess:"ÐагÑÑзка ÑообÑений",E:a}),$.ajax({url:"/jsr.php?act=private_load&id="+i+"&MCN",type:"GET",cache:!1,dataType:"json",success:function(n){Loader({},function(){var t;0==n.err?((i||0==i)&&0<n.count_new_mess&&(PN=l(),0<PN&&SoundPlay(PN)),r.html(n.res),TAEditor(),PrivMess=$("#PrivMess"),re(PrivMess),STFlick=setTimeout(function(){$(".PrivBubbleLeft").removeClass("flick"),clearTimeout(STFlick)},3e3),0<n.count_new_mess?$("#PrivUsers").addClass("NewMess"):$("#PrivUsers").removeClass("blink"),i||0==i?$('[data-priv-id="'+i+'"]').toggleClass("PrivContactUser PrivContactUserAct"):$("[data-priv-id]:first").toggleClass("PrivContactUser PrivContactUserAct"),_body.off("click","[data-change-notify]").on("click","[data-change-notify]",function(e){return N=$(this).data("change-notify"),0<N&&SoundPlay(N),$("[data-change-notify]").children().removeClass("si_radiobox_on").addClass("si_radiobox_off"),$(this).children().removeClass("si_radiobox_off").addClass("si_radiobox_on"),SetCookies("PRIV_NOTIFY",N,CurrYear+10,CurrMonth,CurrDay),!1}),$("#PrivContact").on("click.private","[data-priv-id]",function(e){r.off("click.private"),clearInterval(Q),o($(this).data("priv-id"),e)}),$("#PrivTop").on("click.private","[data-priv-current-id]",function(e){r.off("click.private"),clearInterval(Q),o($(this).data("priv-current-id"),e)}),r.one("click","#PrivClose",function(e){c(),u(ie),clearInterval(Q),s.Close()}),r.on("click.private","#PrivUsers",function(){$("#PrivContact").fadeToggle(300)}),r.on("click.private","#PrivButtonSend",function(t){return m=$("#ETAE-PrivTextarea").html(),m?m.length<=3?Toast("СлиÑком коÑоÑкий ÑекÑÑ ÑообÑениÑ!","Error"):(i||(i=$("[data-priv-current-id]").data("priv-current-id")),$.ajax({url:"/jsr.php?act=add_private_mess&MCN",data:{m:m,id:i}
1,type:"POST",cache:!1,dataType:"json",success:function(e){0==e.err?($("#ETAE-PrivTextarea").html(""),$("#TTAE-PrivTextarea").val(""),PrivMess.append(e.res),re(PrivMess)):UniWin({E:t,Type:"Popup",Title:ImSp("error")+"ÐÑибка",Data:error_js(e.res)})}})):Toast("Ðе введÑн ÑекÑÑ ÑообÑениÑ!","Error"),!1}),t=i,Q=setInterval(function(){t||(t=$("[data-priv-current-id]").data("priv-current-id")),$.ajax({url:"/jsr.php?act=private_load_mess&id="+t+"&MCN",type:"GET",cache:!1,dataType:"json",success:function(t){0==t.err?0<t.count_new_mess&&(PN=l(),0<PN&&SoundPlay(PN),PrivMess.append(t.res),re(PrivMess),setTimeout(function(){$(".PrivBubbleLeft").removeClass("flick")},5e3)):UniWin({E:e,Type:"Popup",NoSaveWH:!0,Title:ImSp("error")+"ÐÑибка",Data:error_js(t.res)})}})},ae)):UniWin({E:a,Type:"Popup",Title:ImSp("error")+"ÐÑибка",Data:error_js(n.res)})})}})}(void 0,t)});return!1})}}();var se=GetCookies("BG"),le=GetCookies("BG_PRIV");function ce(){"auto"==se&&(clearInterval(Z),Z=setInterval(function(){ue("BG")},6e4)),"auto"==le&&(ee=setInterval(function(){ue("PrivCenter")},6e4))}function ue(e){var t=document.getElementById(e);t&&(te?(ne=Object.keys(te).length,I=randInt(1,ne),Img=te[I].bg,PreloadImage(Img,function(){t.style.cssText=te[I].style})):$.ajax({url:"/jsr.php?act=GetBG&MCN",type:"GET",cache:!1,dataType:"json",contentType:!1,processData:!1,success:function(e){te=e,ne=Object.keys(te).length,I=randInt(1,ne),Img=te[I].bg,PreloadImage(Img,function(){t.style.cssText=te[I].style})}}))}function de(e){for(n=0;n<he.files.length;n++)if(he.files[n].name===e.name&&he.files[n].size===e.size)return!0;return!1}ce(),_body.on("click","[data-change-bg]",function(n){n.preventDefault(),$.ajax({url:"/jsr.php?act=GetBG&MCN",type:"GET",cache:!1,dataType:"json",contentType:!1,processData:!1,success:function(e){var t;te=e,ne=Object.keys(te).length,BG_BR=GetCookies("BG_BR"),BG_BR_PRIV=GetCookies("BG_BR_PRIV"),type=n.currentTarget.dataset.changeBg,name=n.currentTarget.dataset.changeBgName,"BG"==name&&(CurrI=GetCookies("BG")),"BG_PRIV"==name&&(CurrI=GetCookies("BG_PRIV")),id=n.currentTarget.dataset.changeBgId,BID=document.querySelector("#"+id),UwinClose=n.currentTarget.dataset.uwinClose,"PrivCenter"==id?(BR=BG_BR_PRIV,BRId="BG_BR_PRIV",BRName="BG_BR_PRIV",BRIdSet="#PrivCenter>div:nth-child(1)"):(BR=BG_BR,BRId="BG_BR",BRName="BG_BR",BRIdSet="#BG>div"),"form"==type?(d='<div class="ChangeBgList MyScroll">',d+='<span class="ChangeBgImg ChangeBgImgAuto iz izok " data-change-bg data-change-bg-name="'+name+'" data-change-bg-id="'+id+'" data-change-bg-i="auto" title="ÐвÑомаÑиÑеÑÐºÐ°Ñ Ñмена Ñона каждÑÑ Ð¼Ð¸Ð½ÑÑÑ">ÐвÑо</span>',Object.keys(te).forEach(function(e){d+='<span class="ChangeBgImg iz izok" data-change-bg data-change-bg-name="'+name+'" data-change-bg-id="'+id+'" data-change-bg-i="'+e+'"></span>'}),d+="</div>",d+='<div class="ChangeBgBr">',d+='<span class="ChangeBgPrev" title="ÐÑедÑдÑÑий Ñон" data-change-bg="prev" data-change-bg-id="'+id+'" data-change-bg-name="'+name+'"></span>',d+='<span class="ChangeBgBrInput"><span>ЯÑкоÑÑÑ Ñона</span><input type="range" id="'+BRId+'" min="-10" max="0" step="0.1" value="-'+BR+'" title="ЯÑкоÑÑÑ Ñона"></span>',d+='<span class="ChangeBgNext" title="СледÑÑÑий Ñон" data-change-bg="next" data-change-bg-id="'+id+'" data-change-bg-name="'+name+'"></span></div>',d='<div class="ChangeBg">'+d+"</div>",UWinChangeBg=UniWin({E:n,Type:"Popup",UwinClose:UwinClose,PageOpacity:.1,NoLayer:!0,SoundOpen:!0,SoundClose:!0,Title:"Смена Ñона",Data:d},function(){document.getElementById(BRId).addEventListener("input",function(){BR=Math.abs(this.value),$(BRIdSet).css("background","rgba(0, 0, 0, "+BR/10+")"),SetCo
1okies(BRName,BR,CurrYear+10,CurrMonth,CurrDay)}),BGO=new IntersectionObserver(function(e,t){e.forEach(function(e){if(e.isIntersecting){if(e.target.classList.contains("ChangeBgImgAuto"))return;e.target.style.backgroundImage="url("+te[e.target.dataset.changeBgI].pbg+")",t.unobserve(e.target)}})},{root:document.querySelector(".ChangeBgList"),rootMargin:"0px",threshold:.1}),document.querySelectorAll(".ChangeBgImg").forEach(function(e){BGO.observe(e)})})):(Loader({Open:!0,Mess:"УÑÑановка",E:n}),"prev"==type?I=Number(CurrI)-1:"next"==type?I=Number(CurrI)+1:I=n.currentTarget.dataset.changeBgI,I<=0&&(I=ne),I>ne&&(I=1),t=I,clearInterval(Z),clearInterval(ee),"auto"==t?(SetCookies(name,t,CurrYear+10,CurrMonth,CurrDay),t=randInt(1,ne),Img=te[t].bg,PreloadImage(Img,function(){Loader({},function(){BID.style.cssText=te[t].style})}),ce()):(SetCookies(name,t,CurrYear+10,CurrMonth,CurrDay),Img=te[t].bg,PreloadImage(Img,function(){Loader({},function(){BID.style.cssText=te[t].style})})))}})}),_body.on("input","#FS_PRIV",function(e){FS=Math.abs(this.value),$(".PrivBubbleMess").css("font-size",FS+"px"),SetCookies("FS_PRIV",FS,CurrYear+10,CurrMonth,CurrDay)}),_body.on("click",'[href^="/go.php?"]',function(e){$(this).closest(".ETAE").exists()||(e.preventDefault(),U=$(this)[0].href,U=U.slice(U.indexOf("?")+1),U.startsWith("mailto:")||-1==U.search(/^http[s]?\:\/\//)&&(U="http://"+U),d='<div class="BlockPopupTitle">ÐÑ ÑобиÑаеÑеÑÑ Ð¿ÐµÑейÑи по внеÑней ÑÑÑлке</div>',d+='<div class="BlockPopupContent">',d+='<div class="BlockPopupLink" data-clipboard-text="'+U+'" title="ÐопиÑоваÑÑ ÑÑÑлкÑ">'+U+"</div>",d+="ÐÐ°Ð½Ð½Ð°Ñ ÑÑÑлка ведÑÑ Ð·Ð° пÑÐµÐ´ÐµÐ»Ñ Ð½Ð°Ñего поÑÑала.<br>ÐдминиÑÑÑаÑÐ¸Ñ Ð½Ð°Ñего поÑÑала не неÑÐµÑ Ð¾ÑвеÑÑÑвенноÑÑи за ÑодеÑжание внеÑниÑ
ÑеÑÑÑÑов.",d+="</div>",d+='<div class="BlockPopupBtn"><a class="link_button" href="#" data-uw-close>'+ImSp("error")+"ÐÑмена</a>",d+='<a class="link_button" href="/jsr.php?act=GO&MCN&URL='+U+'" rel="nofollow" target="_blank">'+ImSp("link")+"ÐеÑейÑи по ÑÑÑлке</a></div>",d+='<div class="BlockPopupDown">'+ADV+"</div>",UniWin({E:e,Type:"Popup",Loader:!0,BG:"rgb(255 255 255 / 30%)",BDF:3,SoundOpen:!0,SoundClose:!0,Title:ImSp("link")+"ÐеÑеÑ
од по внеÑней ÑÑÑлке",Data:output_js(d)}))}),$("[data-scroll]").on("click",function(e){return e.preventDefault(),window.scrollBy({top:$($(this).attr("href"))[0].getBoundingClientRect().y,behavior:"smooth"}),!1}),$("#FormSubSearchI").on("keyup change input",function(e){b=$("#FormSubSearchB"),b.attr("disabled")?2<e.currentTarget.value.length&&b.removeAttr("disabled"):e.currentTarget.value.length<3&&b.attr("disabled",!0)}),_body.on("change",'.InputTypeFile>input[type="file"]',function(e){N=T="",Array.from(e.target.files).forEach(function(e){N+=ImSp("files")+e.name+" ",T+=ImSp("files")+e.name+"<br>"}),N&&($(this).next().html(N),$(this).next().attr("title",T))});var pe,fe,he=new DataTransfer;_body.on("click",".AttachFiles>input",function(e){ID=e.currentTarget.id,fe=document.getElementById(ID).nextSibling,pe!=e.currentTarget.id&&(pe=ID,he=new DataTransfer),InputF=document.querySelector("#"+ID),FL=InputF.closest(".AttachFiles").querySelector(".AttachFilesList"),InputF.addEventListener("change",function(e){for(MS=[],i=0;i<this.files.length;i++)de(this.files[i])||(1e7<this.files[i].size?MS.push(this.files[i].name):he.items.add(this.files[i]));0<MS.length&&Toast('Файл(Ñ):<br><span class="AttachFilesSmall">'+MS.join("<br>")+"</span><br>пÑевÑÑаÑÑ Ð´Ð¾Ð¿ÑÑÑимÑй ÑÐ°Ð·Ð¼ÐµÑ 10 MB !","Information",0,"close"),this.files=he.files,function e(n,t){function o(){for(I=parseInt(this.dataset.fldeli),newDt=new DataTransfer,i=0;i<he.files.length;i++)i!==I&&newDt.items.add(he.files[i]);he=newDt,t.files=he.files,e(n,t)}n.innerHTML="",Array.from(he.files).forEach(function(e,t){fileItem=document.createElement("div"),fileItem.className="AttachFilesListFile",fileItem.title=e.name,fileItem.innerHTML=e.name+'<span class="AttachFilesListDel" data-fldeli="'+t+'" title="УдалиÑÑ Ñайл">'+ImSp("error")+"</span>",n.appendChild(fileItem),fileItem.style.cssText="display:block"}),FLDEL=$("[data-fldeli]"),0<he.files.length?(FLDEL.off("click",o).on("click",o),fe.innerHTML=ImSp("files")+"ÐобавиÑÑ Ñайл(Ñ)"):fe.innerHTML=ImSp("files")+"ÐÑикÑепиÑÑ Ñайл(Ñ)"}(FL,InputF)},{once:!0})}),_body.on("click",'[data-jsr^="LIke"]',function(e){e.currentTarget.disabled=!0})}),$("#photo").change(function(){var t=$(this)[0];if(t.files&&t.files[0])if(t.files[0].type.match("image.*")){var n=new FileReader;n.onload=function(e){$("#photo_preview").attr("src",e.target.result).addClass("img_border")},n.readAsDataURL(t.files[0])}else UniWin({E:e,Type:"Popup",Title:ImSp("error")+"ÐÑибка",Data:error_js("ÐаннÑй Ñип запÑеÑÑн к загÑÑзке!")});else UniWin({E:e,Type:"Popup",Title:ImSp("error")+"ÐÑибка",Data:error_js("File API not suported!")})}),_body.on("click","[data-reply-comment]",function(e){e.preventDefault(),$(this).closest("[data-wrap-block]").append($("[name=FromAddComment]")),$("#ETAE-comment").html($(this).data("reply-comment")+", ")}),_body.on("click","[data-reply-forum]",function(e){e.preventDefault(),$(this).closest("[data-wrap-block]").append($("[name=ReplyForum]")),$("#ETAE-post").html($(this).data("reply-forum")+", ")}),_body.on("click","[data-quote-comment]",function(e){e.preventDefault(),selected=window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text,txt=""+selected,""!=txt.replace(" ","")?(D=$(this).data("quote-comment").replace(/\[|\]/g,"").split(","),$("#ETAE-comment").html('<span class="quote"><a href="/meet/inf.php?id='+D[0]+'">'+D[1]+"</a><br>"+txt+"</span><br>"),$(this).closest("[data-wrap-block]").append($("[name=FromAddComment]"))):Toast("ÐеобÑ
одимо вÑделиÑÑ ÑиÑиÑÑемÑй ÑекÑÑ!","Error")}),_body.on("click","[data-quote-forum]",function(e){e.preventDefault(),selected=window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text,txt=""+selected,""!=txt.replace(" ","")?(D=$(this).data("quote-forum").replace(/\[|\]/g,"").split(","),$("#ETAE-post").html('<span class="quote"><a href="/meet/inf.php?id='+D[0]+'">'+D[1]+"</a><br>"+txt+"</span><br>"),$(this).closest("[data-wrap-block]").append($("[name=ReplyForum]"))):Toast("ÐеобÑ
одимо вÑделиÑÑ ÑиÑиÑÑемÑй ÑекÑÑ!","Error")}),!navigator.userActivation){function PageActClick(e){e.isTrusted&&(navigator.userActivation.hasBeenActive=!0,window.removeEventListener("click",PageActClick))}navigator.userActivation={hasBeenActive:!1},window.addEventListener("click",PageActClick)}function Loader(e,t){var n=$.extend({},{Mess:"ÐагÑÑзка"},e);function o(){$.isFunction(t)&&t()}if(n.Target?ELA=$(n.Target):ELA=_body,n.Open)$("#PLLayer").length||$("#PL").length||(n.NoOverlay?ELA.append('<div id="PL"><div><span>'+n.Mess+"</span><div></div></div>"):(ELA.append('<div id="PLLayer"><div id="PL"><div><span>'+n.Mess+"</span><div></div></div></div>"),OL=$("#PLLayer")),L=$("#PL"),n.Target?(rm=n.Target.getBoundingClientRect(),L.css({left:rm.left+rm.width/2,top:rm.top+rm.height/2})):n.E?(GetXYEvent(L,n.E),rb=html.getBoundingClientRect(),n.E.X-150<=0&&(n.E.X=75),n.E.Y-150<=0&&(n.E.Y=75),n.E.X+150>=rb.width&&(n.E.X=n.E.X+75),n.E.Y+150>=rb.height&&(n.E.Y=n.E.Y+75),L.css({left:n.E.X,top:n.E.Y})):(rb=html.getBoundingClientRect(),L.css({left:rb.width/2,top:rb.height/2})),o());else if(IsSet(n.MessI)||IsSet(n.Percent))if(IsSet(n.Percent))P=$("#PL>div>span>p"),P.length?P.html(n.Percent+' %<b style="width:'+n.Percent+'%"></b>'):$("#PL>div>span").append("<p>"+n.Percent+" %<b></b></p>");else{var i=$("#PL>div>span>i");i.length?i.html(n.MessI):$("#PL>div>span").append("<i>"+n.MessI+"</i>")}else $("#PL").exists()?$("#PL").fadeOut(300,function(){$("#PLLayer").remove(),$(this).remove(),o()}):o()}function Loader16(e,t){e instanceof $&&(e=e[0]),"close"==t?l=document.querySelector(".loader_16").remove():(t=t||"ÐагÑÑзка...",e.innerHTML='<span class="loader_16">'+t+"</span>")}_body.on("change","[data-change]",function(){v=$(this).data("formsend"),out=$(this).data("out"),$.ajax({url:"/jsr.php?act="+$(this).data("change")+"&MCN",data:new FormData(document.forms[v]),type:"POST",cac
1he:!1,dataType:"json",contentType:!1,processData:!1,success:function(e){$(out).html(e.res)}})}),_body.on("change",'input[name="ArticleTxt"]',function(n){Loader({Open:!0,Mess:"ÐагÑÑзка Ñайла..."}),$.ajax({url:"/jsr.php?act=ArticleTxt&MCN",data:new FormData(document.forms.FormAddArticle),type:"POST",cache:!1,dataType:"json",contentType:!1,processData:!1,success:function(e){0==e.err?(t=JSON.parse(e.res),$('input[name="title"]').val(t[0]),$("#ETAE-article").html(t[1]),$("#TTAE-article").val(t[1]),Loader(),Toast("СÑÑлок: <b>"+t.CountLink+"</b><br>ÐзобÑажений: <b>"+t.CountImg+"</b>")):UniWin({E:n,Type:"Popup",Title:ImSp("error")+"ÐÑибка",Data:error_js(e.res)})}})}),_body.on("click",".spoiler_link",function(){SoundPlay("win_down"),$(this).next().slideToggle(250)}),function(s){s.rating=function(e){this.el=s(e),this.left=0,this.width=0,this.height=0,this._data={};var t=this;s(e).each(function(){s(this);this.el=s("#rating_stars_".id),t._data.id=s(this).data("id"),t._data.val=s(this).data("val"),t._data.votes=s(this).data("votes"),t._data.url=s(this).data("url"),t._data.readonly=s(this).data("readonly")}),this._data.val=parseFloat(this._data.val)||0,this._data.votes=parseFloat(this._data.votes)||"",5<this._data.val&&(this._data.val=5),this._data.val<0&&(this._data.val=0),this.old=this._data.val,this.vote_wrap=s('<span class="vote-wrap"></span>'),this.vote_block=s('<span class="vote-block"></span>'),this.vote_hover=s('<span class="vote-hover"></span>'),this.vote_stars=s('<span class="vote-stars"></span>'),this.vote_active=s('<span class="vote-active"></span>'),this.vote_result=s('<span class="vote-result"></span>'),(new Image).src="/img/s80.png",t.width=26.4,t.height=24,t.init()};var o=s.rating;o.fn=o.prototype={rating:"2.0"},o.fn.extend=o.extend=s.extend,o.fn.extend({init:function(){if(this.render(),!this._data.readonly){var i=this,a=0,r=0;this.vote_hover.bind("mousemove mouseover",function(e){if(!i._data.readonly){var t=s(this);a=0<e.clientX?e.clientX:e.pageX,r=a-t.offset().left;var n=5*i.width,o=1*i.width;n<r&&(r=n),r<o&&(r=o),Math.round(r/i.width*10)/10,r=Math.ceil(r/i.width)*i.width,Math.round(r/i.width*10)/10,i.vote_active.css({width:r,"background-position":"-2px -673px"})}}).bind("mouseout",function(){i._data.readonly||i.reset()}).bind("click.rating",function(){if(!i._data.readonly){var e=Math.round(r/i.width*10)/10;5<e&&(e=5),e<0&&(e=0),i.old=i._data.val,i._data.val=(i._data.val*i._data.votes+e)/(i._data.votes+1),i._data.val=Math.round(100*i._data.val)/100,i._data.score=e,i.send(),i._data.readonly=!0}})}},set:function(){this.vote_active.css({width:this._data.val*this.width,"background-position":"-2px -697px"})},reset:function(){this.vote_active.css({width:this.old*this.width,"background-position":"-2px -697px"})},setvoters:function(){this.vote_result.html(Math.abs(this._data.val)+" "+ImSp("users")+Math.abs(this._data.votes))},render:function(){this.el.html(this.vote_wrap.append(this.vote_hover.css({padding:"1px",height:this.height,width:5*this.width}),this.vote_result.html(Math.abs(this._data.val)+" "+ImSp("users")+Math.abs(this._data.votes)))),this.vote_block.append(this.vote_stars.css({height:this.height,width:5*this.width,background:"url('/img/s80.png') -2px -649px"}),this.vote_active.css({height:this.height,width:this._data.val*this.width,background:"url('/img/s80.png') -2px -697px"})).appendTo(this.vote_hover)},send:function(e){var t=this,n=this.vote_result;n.addClass("blink"),this._data.votes++,data=this._data,s.ajax({url:"/jsr.php?act="+data.url+"&MCN",type:"POST",data:{id:data.id,score:data.score},cache:!1,dataType:"json",success:function(e){e.TG&&ATG.html(e.TG),0==e.err?(data.msg=e.res,n.addClass("blink"),Toast(data.msg,"Success"),t.set()):(data.msg=e.res,t._data.votes--,t.reset(),Toast(data.msg,"Error"))}}),setTimeout(function(){n.removeClass("blink"),t.setvoters()},3200)}}),s.fn.rating=function(t){if("string"==typeof t){var e=s(this).data("rating"),n=Array.prototype.slice.call(arguments,1);return e[t].apply(e,n)}return this.each(function(){var e=s(this).data("rating");
1e?(t&&s.extend(e.options,t),e.init()):s(this).data("rating",new o(this,t))})}}(jQuery);var snowFall=function(){function o(){var n,o={fc:30,min:6,max:18},a=[],r={},s=function(e,t){return Math.round(e+Math.random()*(t-e))},l=function(e,t){this.x=s(0,elW),this.y=s(0,elH),this.size=s(o.min,o.max),this.xr=s(-15,15)/10;var n=null;(n=document.createElement("div")).innerHTML="*",n.className="snow",e.appendChild(n),this.e=n,this.update=function(){var e,t;this.y+=this.size/10,this.y>elH-this.size&&this.reset(),e=this.e,t="translate("+this.x+"px,"+this.y+"px)",e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t,e.style.transform=t,this.x+=this.xr,(this.x+this.size>elW||this.x<0)&&this.reset()},this.reset=function(){this.y=0,this.x=s(0,elW),this.size=s(o.min,o.max),this.xr=s(-5,5)/10,this.e.style.fontSize=this.size+"px",this.e.style.opacity=s(5,10)/10}},c=function(e){if(rAFInt<=e-rAFLT){for(var t=0;t<a.length;t+=1)a[t].update();rAFLT=e}n=requestAnimationFrame(c)};return{snow:function(e,t){for(function(e,t){for(var n in t)e.hasOwnProperty(n)&&(e[n]=t[n])}(o,t),r=e,elH=r.offsetHeight+5,elW=r.offsetWidth-10,r.snow=this,window.addEventListener("resize",function(){elH=r.clientHeight+5,elW=r.offsetWidth-10},!0),i=0;i<o.fc;i+=1)a.push(new l(r,s(o.min,o.max)));c()},clear:function(){for(var e=null,t=(e=r.getElementsByClassName?r.getElementsByClassName("snow"):r.querySelectorAll(".snow")).length;t--;)e[t].parentNode===r&&r.removeChild(e[t]);cancelAnimationFrame(n)}}}return{snow:function(e,t){if("string"==typeof t)if(0<e.length)for(var n=0;n<e.length;n++)e[n].snow&&e[n].snow.clear();else e.snow.clear();else if(0<e.length)for(n=0;n<e.length;n++)(new o).snow(e[n],t);else(new o).snow(e,t)}}}(),NEW_YEAR=$("#logo").attr("data_new_year");NEW_YEAR&&($(".header").after('<div id="new_year">'),NEW_YEAR==CurrYear?$("#new_year").html("<span>С ÐовÑм "+NEW_YEAR+" Ðодом!</span>"):$("#new_year").html("<span>С ÐаÑÑÑпаÑÑим "+NEW_YEAR+" Ðодом!</span>"),GetCookies("snow")&&1!=GetCookies("snow")||(snowFall.snow($(".header")),SetCookies("snow",1,CurrYear,CurrMonth,CurrDay,"/")),$("#new_year").on("click",function(){0==GetCookies("snow")?(snowFall.snow($(".header")),SetCookies("snow",1,CurrYear,CurrMonth,CurrDay,"/")):(snowFall.snow($(".header"),"clear"),SetCookies("snow",0,CurrYear,CurrMonth,CurrDay,"/"))})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(p){function t(e){var t=e||window.event,n=g.call(arguments,1),o=0,i=0,a=0,r=0,s=0,l=0;if((e=p.event.fix(t)).type="mousewheel","detail"in t&&(a=-1*t.detail),"wheelDelta"in t&&(a=t.wheelDelta),"wheelDeltaY"in t&&(a=t.wheelDeltaY),"wheelDeltaX"in t&&(i=-1*t.wheelDeltaX),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(i=-1*a,a=0),o=0===a?i:a,"deltaY"in t&&(o=a=-1*t.deltaY),"deltaX"in t&&(i=t.deltaX,0===a&&(o=-1*i)),0!==a||0!==i){if(1===t.deltaMode){var c=p.data(this,"mousewheel-line-height");o*=c,a*=c,i*=c}else if(2===t.deltaMode){var u=p.data(this,"mousewheel-page-height");o*=u,a*=u,i*=u}if(r=Math.max(Math.abs(a),Math.abs(i)),(!v||r<v)&&(h(t,v=r)&&(v/=40)),h(t,r)&&(o/=40,i/=40,a/=40),o=Math[1<=o?"floor":"ceil"](o/v),i=Math[1<=i?"floor":"ceil"](i/v),a=Math[1<=a?"floor":"ceil"](a/v),y.settings.normalizeOffset&&this.getBoundingClientRect){var d=this.getBoundingClientRect();s=e.clientX-d.left,l=e.clientY-d.top}return e.deltaX=i,e.deltaY=a,e.deltaFactor=v,e.offsetX=s,e.offsetY=l,e.deltaMode=0,n.unshift(e,o,i,a),m&&clearTimeout(m),m=setTimeout(f,200),(p.event.dispatch||p.event.handle).apply(this,n)}}function f(){v=null}function h(e,t){return y.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var m,v,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],n="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],g=Array.prototype.slice;if(p.event.fixHooks)for(var o=e.length;o;)p.event.fixHooks[e[--o]]=p.event.mouseHooks;var y=p.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t;p.data(this,"mousewheel-line-height",y.getLineHeight(this)),p.data(this,"mousewheel-page-height",y.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1);else this.onmousewheel=null;p.removeData(this,"mousewheel-line-height"),p.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=p(e),n=t["offsetParent"in p.fn?"offsetParent":"parent"]();return n.length||(n=p("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return p(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};p.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),ConceptCookies=$(".ConceptCookies"),ConceptCookies.length&&setTimeout(function(){ConceptCookies.addClass("ConceptCookiesV"),_body.on("click","[data-conceptcookies]",function(){return"later"==$(this).data("c
1onceptcookies")?($(this).closest(".ConceptCookies").removeClass("ConceptCookiesV"),SetCookies("ConceptCookies","accepted",CurrYear,CurrMonth-1,CurrDay+1,"/")):"accept"==$(this).data("conceptcookies")&&($(this).closest(".ConceptCookies").removeClass("ConceptCookiesV"),SetCookies("ConceptCookies","accepted",CurrYear+1,CurrMonth,CurrDay,"/")),!1})},2e3);
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.