1window.Modernizr=function(i,p,a){function r(t){b.cssText=t}function t(t,e){return r(E.join(t+";")+(e||""))}function o(t,e){return typeof t===e}function s(t,e){return!!~(""+t).indexOf(e)}function u(t,e){for(var n in t){var i=t[n];if(!s(i,"-")&&b[i]!==a)return"pfx"!=e||i}return!1}function l(t,e,n){for(var i in t){var r=e[t[i]];if(r!==a)return!1===n?t[i]:o(r,"function")?r.bind(n||e):r}return!1}function c(t,e,n){var i=t.charAt(0).toUpperCase()+t.slice(1),r=(t+" "+D.join(i+" ")+i).split(" ");return o(e,"string")||o(e,"undefined")?u(r,e):l(r=(t+" "+T.join(i+" ")+i).split(" "),e,n)}function e(){h.input=function(t){for(var e=0,n=t.length;e<n;e++)j[t[e]]=!!(t[e]in w);return j.list&&(j.list=!(!p.createElement("datalist")||!i.HTMLDataListElement)),j}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),h.inputtypes=function(t){for(var e,n,i,r=0,o=t.length;r<o;r++)w.setAttribute("type",n=t[r]),(e="text"!==w.type)&&(w.value=x,w.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(n)&&w.style.WebkitAppearance!==a?(m.appendChild(w),e=(i=p.defaultView).getComputedStyle&&"textfield"!==i.getComputedStyle(w,null).WebkitAppearance&&0!==w.offsetHeight,m.removeChild(w)):/^(search|tel)$/.test(n)||(e=/^(url|email)$/.test(n)?w.checkValidity&&!1===w.checkValidity():w.value!=x)),k[t[r]]=!!e;return k}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var n,f,d="2.7.1",h={},g=!0,m=p.documentElement,y="modernizr",v=p.createElement(y),b=v.style,w=p.createElement("input"),x=":)",_={}.toString,E=" -webkit- -moz- -o- -ms- ".split(" "),C="Webkit Moz O ms",D=C.split(" "),T=C.toLowerCase().split(" "),A={svg:"http://www.w3.org/2000/svg"},S={},k={},j={},F=[],O=F.slice,B=function(t,e,n,i){var r,o,a,s,u=p.createElement("div"),l=p.body,c=l||p.createElement("body");if(parseInt(n,10))for(;n--;)(a=p.createElement("div")).id=i?i[n]:y+(n+1),u.appendChild(a);return r=["­",'<style id="s',y,'">',t,"</style>"].join(""),u.id=y,(l?u:c).innerHTML+=r,c.appendChild(u),l||(c.style.background="",c.style.overflow="hidden",s=m.style.overflow,m.style.overflow="hidden",m.appendChild(c)),o=e(u,t),l?u.parentNode.removeChild(u):(c.parentNode.removeChild(c),m.style.overflow=s),!!o},N=function(t){var e,n=i.matchMedia||i.msMatchMedia;return n?n(t).matches:(B("@media "+t+" { #"+y+" { position: absolute; } }",function(t){e="absolute"==(i.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),e)},P=function(){function t(t,e){e=e||p.createElement(i[t]||"div");var n=(t="on"+t)in e;return n||(e.setAttribute||(e=p.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(t,""),n=o(e[t],"function"),o(e[t],"undefined")||(e[t]=a),e.removeAttribute(t))),e=null,n}var i={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return t}(),I={}.hasOwnProperty;for(var L in f=o(I,"undefined")||o(I.call,"undefined")?function(t,e){return e in t&&o(t.constructor.prototype[e],"undefined")}:function(t,e){return I.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function M(i){var r=this;if("function"!=typeof r)throw new TypeError;var o=O.call(arguments,1),a=function(){if(this instanceof a){var t=function(){};t.prototype=r.prototype;var e=new t,n=r.apply(e,o.concat(O.call(arguments)));return Object(n)===n?n:e}return r.apply(i,o.concat(O.call(arguments)))};return a}),S.flexbox=function(){return c("flexWrap")},S.flexboxlegacy=function(){return c("boxDirection")},S.canvas=function(){var t=p.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))},S.canvastext=function(){return!(!h.canvas||!o(p.createElement("canvas").getContext("2d").fillText,"function"))},S.webgl=function(){return!!i.WebGLRenderingContext},S.touch=function(){var e;return"ontouchstart"in i||i.DocumentTouch&&p instanceof DocumentTouch?e=!0:B(["@media (",E.join("touch-enabled),("),y,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(t){e=9===t.offsetTop}),e},S.geolocation=function(){return"geolocation"in navigator},S.postmessage=function(){return!!i.postMessage},S.websqldatabase=function(){return!!i.openDatabase},S.indexedDB=function(){return!!c("indexedDB",i)}
vendor: 4,453 bytes, line 1
1,S.hashchange=function(){return P("hashchange",i)&&(p.documentMode===a||7<p.documentMode)},S.history=function(){return!(!i.history||!history.pushState)},S.draganddrop=function(){var t=p.createElement("div");return"draggable"in t||"ondragstart"in t&&"ondrop"in t},S.websockets=function(){return"WebSocket"in i||"MozWebSocket"in i},S.rgba=function(){return r("background-color:rgba(150,255,150,.5)"),s(b.backgroundColor,"rgba")},S.hsla=function(){return r("background-color:hsla(120,40%,100%,.5)"),s(b.backgroundColor,"rgba")||s(b.backgroundColor,"hsla")},S.multiplebgs=function(){return r("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(b.background)},S.backgroundsize=function(){return c("backgroundSize")},S.borderimage=function(){return c("borderImage")},S.borderradius=function(){return c("borderRadius")},S.boxshadow=function(){return c("boxShadow")},S.textshadow=function(){return""===p.createElement("div").style.textShadow},S.opacity=function(){return t("opacity:.55"),/^0.55$/.test(b.opacity)},S.cssanimations=function(){return c("animationName")},S.csscolumns=function(){return c("columnCount")},S.cssgradients=function(){var t="background-image:",e="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="linear-gradient(left top,#9f9, white);";return r((t+"-webkit- ".split(" ").join(e+t)+E.join(n+t)).slice(0,-t.length)),s(b.backgroundImage,"gradient")},S.cssreflections=function(){return c("boxReflect")},S.csstransforms=function(){return!!c("transform")},S.csstransforms3d=function(){var e=!!c("perspective");return e&&"webkitPerspective"in m.style&&B("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){e=9===t.offsetLeft&&3===t.offsetHeight}),e},S.csstransitions=function(){return c("transition")},S.fontface=function(){var o;return B('@font-face {font-family:"font";src:url("https://")}',function(t,e){var n=p.getElementById("smodernizr"),i=n.sheet||n.styleSheet,r=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"";o=/src/i.test(r)&&0===r.indexOf(e.split(" ")[0])}),o},S.generatedcontent=function(){var e;return B(["#",y,"{font:0/0 a}#",y,':after{content:"',x,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=3<=t.offsetHeight}),e},S.video=function(){var t=p.createElement("video"),e=!1;try{(e=!!t.canPlayType)&&((e=new Boolean(e)).ogg=t.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),e.h264=t.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),e.webm=t.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(n){}return e},S.audio=function(){var t=p.createElement("audio"),e=!1;try{(e=!!t.canPlayType)&&((e=new Boolean(e)).ogg=t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),e.mp3=t.canPlayType("audio/mpeg;").replace(/^no$/,""),e.wav=t.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),e.m4a=(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(n){}return e},S.localstorage=function(){try{return localStorage.setItem(y,y),localStorage.removeItem(y),!0}catch(t){return!1}},S.sessionstorage=function(){try{return sessionStorage.setItem(y,y),sessionStorage.removeItem(y),!0}catch(t){return!1}},S.webworkers=function(){return!!i.Worker},S.applicationcache=function(){return!!i.applicationCache},S.svg=function(){return!!p.createElementNS&&!!p.createElementNS(A.svg,"svg").createSVGRect},S.inlinesvg=function(){var t=p.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==A.svg},S.smil=function(){return!!p.createElementNS&&/SVGAnimate/.test(_.call(p.createElementNS(A.svg,"animate")))},S.svgclippaths=function(){return!!p.createElementNS&&/SVGClipPath/.test(_.call(p.createElementNS(A.svg,"clipPath")))},S)f(S,L)&&(n=L.toLowerCase(),h[n]=S[L](),F.push((h[n]?"":"no-")+n));return h.input||e(),h.addTest=function(t,e){if("object"==typeof t)for(var n in t)f(t,n)&&h.addTest(n,t[n]);else{if(t=t.toLowerCase(),h[t]!==a)return h;e="function"==typeof e?e():e,void 0!==g&&g&&(m.className+=" "+(e?"":"no-")+t),h[t]=e}return h},r(""),v=w=null,function(t,a){function n(t,e){var n=t.createElement("p"),i=t.getElementsByTagName("head")[0]||t.documentElement;return n.innerHTML="x<style>"+e+"</style>",i.insertBefore(n.lastChild,i.firstChild)}function s(){var t=v.elements;return"string"==typeof t?t.split(" "):t}function u(t){var e=y[t[g]];return e||(e={},m++,t[g]=m,y[m]=e),e}
1function i(t,e,n){return e||(e=a),c?e.createElement(t):(n||(n=u(e)),!(i=n.cache[t]?n.cache[t].cloneNode():h.test(t)?(n.cache[t]=n.createElem(t)).cloneNode():n.createElem(t)).canHaveChildren||d.test(t)||i.tagUrn?i:n.frag.appendChild(i));var i}function e(t,e){if(t||(t=a),c)return t.createDocumentFragment();for(var n=(e=e||u(t)).frag.cloneNode(),i=0,r=s(),o=r.length;i<o;i++)n.createElement(r[i]);return n}function r(e,n){n.cache||(n.cache={},n.createElem=e.createElement,n.createFrag=e.createDocumentFragment,n.frag=n.createFrag()),e.createElement=function(t){return v.shivMethods?i(t,e,n):n.createElem(t)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(t){return n.createElem(t),n.frag.createElement(t),'c("'+t+'")'})+");return n}")(v,n.frag)}function o(t){t||(t=a);var e=u(t);return!v.shivCSS||l||e.hasCSS||(e.hasCSS=!!n(t,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||r(t,e),t}var l,c,p="3.7.0",f=t.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,h=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g="_html5shiv",m=0,y={};!function(){try{var t=a.createElement("a");t.innerHTML="<xyz></xyz>",l="hidden"in t,c=1==t.childNodes.length||function(){a.createElement("a");var t=a.createDocumentFragment();return"undefined"==typeof t.cloneNode||"undefined"==typeof t.createDocumentFragment||"undefined"==typeof t.createElement}()}catch(e){c=l=!0}}();var v={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:p,shivCSS:!1!==f.shivCSS,supportsUnknownElements:c,shivMethods:!1!==f.shivMethods,type:"default",shivDocument:o,createElement:i,createDocumentFragment:e};t.html5=v,o(a)}(this,p),h._version=d,h._prefixes=E,h._domPrefixes=T,h._cssomPrefixes=D,h.mq=N,h.hasEvent=P,h.testProp=function(t){return u([t])},h.testAllProps=c,h.testStyles=B,h.prefixed=function(t,e,n){return e?c(t,e,n):c(t,"pfx")},m.className=m.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(g?" js "+F.join(" "):""),h}(this,this.document),function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(ut,t){"use strict";function g(t,e,n){var i,r,o=(n=n||wt).createElement("script");if(o.text=t,e)for(i in xt)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function m(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?st[dt.call(t)]||"object":typeof t}function s(t){var e=!!t&&"length"in t&&t.length,n=m(t);return!vt(t)&&!bt(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}function lt(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function e(t,e){return e?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function n(t,n,i){return vt(n)?Ct.grep(t,function(t,e){return!!n.call(t,e,t)!==i}):n.nodeType?Ct.grep(t,function(t){return t===n!==i}):"string"!=typeof n?Ct.grep(t,function(t){return-1<ft.call(n,t)!==i}):Ct.filter(n,t,i)}function i(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function c(t){var n={};return Ct.each(t.match(Ht)||[],function(t,e){n[e]=!0}),n}function p(t){return t}function f(t){throw t}function u(t,e,n,i){var r;try{t&&vt(r=t.promise)?r.call(t).done(e).fail(n):t&&vt(r=t.then)?r.call(t,e,n):e.apply(undefined,[t].slice(i))}catch(t){n.apply(undefined,[t])}}function r(){wt.removeEventListener("DOMContentLoaded",r),ut.removeEventListener("load",r),Ct.ready()}function o(t,e){return e.toUpperCase()}function d(t){return t.replace(Wt,"ms-").replace(Vt,o)}function a(){this.expando=Ct.expando+a.uid++}function l(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Zt.test(t)?JSON.parse(t):t)}function h(t,e,n){var i;if(n===undefined&&1===t.nodeType)if(i="data-"+e.replace(Jt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=l(n)}catch(r){}Gt.set(t,e,n)}else n=undefined;return n}function y(t,e,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return Ct.css(t,e,"")},u=s(),l=n&&n[3]||(Ct.cssNumber[e]?"":"px"),c=t.nodeType&&(Ct.cssNumber[e]||"px"!==l&&+u)&&Yt.exec(Ct.css(t,e));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)Ct.style(t,e,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,Ct.style(t,e,c+l),n=n||[]}return n&&(c=+c||+u||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=l,i.start=c,i.end=r)),r}function v(t){var e,n=t.ownerDocument,i=t.nodeName,r=oe[i];
vendor: 6,319 bytes, line 1
1return r||(e=n.body.appendChild(n.createElement(i)),r=Ct.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),oe[i]=r)}function b(t,e){for(var n,i,r=[],o=0,a=t.length;o<a;o++)(i=t[o]).style&&(n=i.style.display,e?("none"===n&&(r[o]=Qt.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&re(i)&&(r[o]=v(i))):"none"!==n&&(r[o]="none",Qt.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}function w(t,e){var n;return n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],e===undefined||e&<(t,e)?Ct.merge([t],n):n}function x(t,e){for(var n=0,i=t.length;n<i;n++)Qt.set(t[n],"globalEval",!e||Qt.get(e[n],"globalEval"))}function _(t,e,n,i,r){for(var o,a,s,u,l,c,p=e.createDocumentFragment(),f=[],d=0,h=t.length;d<h;d++)if((o=t[d])||0===o)if("object"===m(o))Ct.merge(f,o.nodeType?[o]:o);else if(fe.test(o)){for(a=a||p.appendChild(e.createElement("div")),s=(le.exec(o)||["",""])[1].toLowerCase(),u=pe[s]||pe._default,a.innerHTML=u[1]+Ct.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;Ct.merge(f,a.childNodes),(a=p.firstChild).textContent=""}else f.push(e.createTextNode(o));for(p.textContent="",d=0;o=f[d++];)if(i&&-1<Ct.inArray(o,i))r&&r.push(o);else if(l=ne(o),a=w(p.appendChild(o),"script"),l&&x(a),n)for(c=0;o=a[c++];)ce.test(o.type||"")&&n.push(o);return p}function E(){return!0}function C(){return!1}function D(t,e,n,i,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(i=i||n,n=undefined),e)D(t,s,n,i,e[s],o);return t}if(null==i&&null==r?(r=n,i=n=undefined):null==r&&("string"==typeof n?(r=i,i=undefined):(r=i,i=n,n=undefined)),!1===r)r=C;else if(!r)return t;return 1===o&&(a=r,(r=function(t){return Ct().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=Ct.guid++)),t.each(function(){Ct.event.add(this,e,r,i,n)})}function T(t,i,e){e?(Qt.set(t,i,!1),Ct.event.add(t,i,{namespace:!1,handler:function(t){var e,n=Qt.get(this,i);if(1&t.isTrigger&&this[i]){if(n)(Ct.event.special[i]||{}).delegateType&&t.stopPropagation();else if(n=pt.call(arguments),Qt.set(this,i,n),this[i](),e=Qt.get(this,i),Qt.set(this,i,!1),n!==e)return t.stopImmediatePropagation(),t.preventDefault(),e}else n&&(Qt.set(this,i,Ct.event.trigger(n[0],n.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=E)}})):Qt.get(t,i)===undefined&&Ct.event.add(t,i,E)}function A(t,e){return lt(t,"table")&<(11!==e.nodeType?e:e.firstChild,"tr")&&Ct(t).children("tbody")[0]||t}function S(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function k(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function j(t,e){var n,i,r,o,a,s;if(1===e.nodeType){if(Qt.hasData(t)&&(s=Qt.get(t).events))for(r in Qt.remove(e,"handle events"),s)for(n=0,i=s[r].length;n<i;n++)Ct.event.add(e,r,s[r][n]);Gt.hasData(t)&&(o=Gt.access(t),a=Ct.extend({},o),Gt.set(e,a))}}function F(t,e){var n=e.nodeName.toLowerCase();"input"===n&&ue.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function O(n,i,r,o){i=ot(i);var t,e,a,s,u,l,c=0,p=n.length,f=p-1,d=i[0],h=vt(d);if(h||1<p&&"string"==typeof d&&!yt.checkClone&&ge.test(d))return n.each(function(t){var e=n.eq(t);h&&(i[0]=d.call(this,t,e.html())),O(e,i,r,o)});if(p&&(e=(t=_(i,n[0].ownerDocument,!1,n,o)).firstChild,1===t.childNodes.length&&(t=e),e||o)){for(s=(a=Ct.map(w(t,"script"),S)).length;c<p;c++)u=t,c!==f&&(u=Ct.clone(u,!0,!0),s&&Ct.merge(a,w(u,"script"))),r.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,Ct.map(a,k),c=0;c<s;c++)u=a[c],ce.test(u.type||"")&&!Qt.access(u,"globalEval")&&Ct.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?Ct._evalUrl&&!u.noModule&&Ct._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):g(u.textContent.replace(me,""),u,l))}return n}function B(t,e,n){for(var i,r=e?Ct.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||Ct.cleanData(w(i)),i.parentNode&&(n&&ne(i)&&x(w(i,"script")),i.parentNode.removeChild(i));return t}function N(t,e,n){var i,r,o,a,s=ve.test(e),u=t.style;return(n=n||be(t))&&(a=n.getPropertyValue(e)||n[e],s&&a&&(a=a.replace(kt,"$1")||undefined),""!==a||ne(t)||(a=Ct.style(t,e)),!yt.pixelBoxStyles()&&ye.test(a)&&xe.test(e)&&(i=u.width,r=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=i,u.minWidth=r,u.maxWidth=o)),a!==undefined?a+"":a}function P(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function I(t){for(var e=t[0].toUpperCase()+t.slice(1),n=_e.length;n--;)if((t=_e[n]+e)in Ee)return t}function L(t){var e=Ct.cssProps[t]||Ce[t];return e||(t in Ee?t:Ce[t]=I(t)||t)}function M(t,e,n){var i=Yt.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function R(t,e,n,i,r,o){var a="width"===e?1:0,s=0,u=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=Ct.css(t,n+te[a],!0,r)),i?("content"===n&&(u-=Ct.css(t,"padding"+te[a],!0,r)),"margin"!==n&&(u-=Ct.css(t,"border"+te[a]+"Width",!0,r))):(u+=Ct.css(t,"padding"+te[a],!0,r),"padding"!==n?u+=Ct.css(t,"border"+te[a]+"Width",!0,r):s+=Ct.css(t,"border"+te[a]+"Width",!0,r));return!i&&0<=o&&(u+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-u-s-.5))||0),u+l}function $(t,e,n){var i=be(t),r=(!yt.boxSizingReliable()||n)&&"border-box"===Ct.css(t,"boxSizing",!1,i),o=r,a=N(t,e,i),s="offset"+e[0].toUpperCase()+e.slice(1);if(ye.test(a)){if(!n)return a;a="auto"}return(!yt.boxSizingReliable()&&r||!yt.reliableTrDimensions()&<(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===Ct.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===Ct.css(t,"boxSizing",!1,i),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+R(t,e,n||(r?"border":"content"),o,i,a)+"px"}function H(t,e,n,i,r){return new H.prototype.init(t,e,n,i,r)}function q(){ke&&(!1===wt.hidden&&ut.requestAnimationFrame?ut.requestAnimationFrame(q):ut.setTimeout(q,Ct.fx.interval),Ct.fx.tick())}function z(){return ut.setTimeout(function(){Se=undefined}),Se=Date.now()}function U(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=te[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function W(t,e,n){for(var i,r=(Q.tweeners[e]||[]).concat(Q.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}
vendor: 7,047 bytes, line 1
1function V(t,e,n){var i,r,o,a,s,u,l,c,p="width"in e||"height"in e,f=this,d={},h=t.style,g=t.nodeType&&re(t),m=Qt.get(t,"fxshow");for(i in n.queue||(null==(a=Ct._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,Ct.queue(t,"fx").length||a.empty.fire()})})),e)if(r=e[i],Oe.test(r)){if(delete e[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||m[i]===undefined)continue;g=!0}d[i]=m&&m[i]||Ct.style(t,i)}if((u=!Ct.isEmptyObject(e))||!Ct.isEmptyObject(d))for(i in p&&1===t.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=m&&m.display)&&(l=Qt.get(t,"display")),"none"===(c=Ct.css(t,"display"))&&(l?c=l:(b([t],!0),l=t.style.display||l,c=Ct.css(t,"display"),b([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===Ct.css(t,"float")&&(u||(f.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(m?"hidden"in m&&(g=m.hidden):m=Qt.access(t,"fxshow",{display:l}),o&&(m.hidden=!g),g&&b([t],!0),f.done(function(){for(i in g||b([t]),Qt.remove(t,"fxshow"),d)Ct.style(t,i,d[i])})),u=W(g?m[i]:0,i,f),i in m||(m[i]=u.start,g&&(u.end=u.start,u.start=0))}function X(t,e){var n,i,r,o,a;for(n in t)if(r=e[i=d(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=Ct.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}function Q(o,t,e){var n,a,i=0,r=Q.prefilters.length,s=Ct.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var t=Se||z(),e=Math.max(0,l.startTime+l.duration-t),n=1-(e/l.duration||0),i=0,r=l.tweens.length;i<r;i++)l.tweens[i].run(n);return s.notifyWith(o,[l,n,e]),n<1&&r?e:(r||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:Ct.extend({},t),opts:Ct.extend(!0,{specialEasing:{},easing:Ct.easing._default},e),originalProperties:t,originalOptions:e,startTime:Se||z(),duration:e.duration,tweens:[],createTween:function(t,e){var n=Ct.Tween(o,l.opts,t,e,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(n),n},stop:function(t){var e=0,n=t?l.tweens.length:0;if(a)return this;for(a=!0;e<n;e++)l.tweens[e].run(1);return t?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,t])):s.rejectWith(o,[l,t]),this}}),c=l.props;for(X(c,l.opts.specialEasing);i<r;i++)if(n=Q.prefilters[i].call(l,o,c,l.opts))return vt(n.stop)&&(Ct._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return Ct.map(c,W,l),vt(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),Ct.fx.timer(Ct.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}function G(t){return(t.match(Ht)||[]).join(" ")}function Z(t){return t.getAttribute&&t.getAttribute("class")||""}function J(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Ht)||[]}function K(n,t,i,r){var e;if(Array.isArray(t))Ct.each(t,function(t,e){i||Ue.test(n)?r(n,e):K(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,i,r)});else if(i||"object"!==m(t))r(n,t);else for(e in t)K(n+"["+e+"]",t[e],i,r)}function Y(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,r=t.toLowerCase().match(Ht)||[];if(vt(e))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(e)):(o[n]=o[n]||[]).push(e)}}function tt(e,r,o,a){function s(t){var i;return u[t]=!0,Ct.each(e[t]||[],function(t,e){var n=e(r,o,a);return"string"!=typeof n||l||u[n]?l?!(i=n):void 0:(r.dataTypes.unshift(n),s(n),!1)}),i}var u={},l=e===nn;return s(r.dataTypes[0])||!u["*"]&&s("*")}function et(t,e){var n,i,r=Ct.ajaxSettings.flatOptions||{};for(n in e)e[n]!==undefined&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&Ct.extend(!0,t,i),t}function nt(t,e,n){for(var i,r,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),i===undefined&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){u.unshift(r);break}if(u[0]in n)o=u[0];else{for(r in n){if(!u[0]||t.converters[r+" "+u[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function it(t,e,n,i){var r,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(r in l)if((s=r.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[r]:!0!==l[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}var ct=[],rt=Object.getPrototypeOf,pt=ct.slice,ot=ct.flat?function(t){return ct.flat.call(t)}:function(t){return ct.concat.apply([],t)},at=ct.push,ft=ct.indexOf,st={},dt=st.toString,ht=st.hasOwnProperty,gt=ht.toString,mt=gt.call(Object),yt={},vt=function vt(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},bt=function bt(t){return null!=t&&t===t.window},wt=ut.document,xt={type:!0,src:!0,nonce:!0,noModule:!0},_t="3.7.1",Et=/HTML$/i,Ct=function(t,e){return new Ct.fn.init(t,e)};Ct.fn=Ct.prototype={jquery:_t,constructor:Ct,length:0,toArray:function(){return pt.call(this)},get:function(t){return null==t?pt.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=Ct.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return Ct.each(this,t)},map:function(n){return this.pushStack(Ct.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(pt.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Ct.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(Ct.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:at,sort:ct.sort,splice:ct.splice},Ct.extend=Ct.fn.extend=function(t){var e,n,i,r,o,a,s=t||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"==typeof s||vt(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(e=arguments[u]))for(n in e)r=e[n],"__proto__"!==n&&s!==r&&(c&&r&&(Ct.isPlainObject(r)||(o=Array.isArray(r)))?(i=s[n],a=o&&!Array.isArray(i)?[]:o||Ct.isPlainObject(i)?i:{},o=!1,s[n]=Ct.extend(c,a,r)):r!==undefined&&(s[n]=r));return s},Ct.extend({expando:"jQuery"+(_t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==dt.call(t))&&(!(e=rt(t))||"function"==typeof(n=ht.call(e,"constructor")&&e.constructor)&>.call(n)===mt)},isEmptyObject:function(t){var e;
vendor: 10,225 bytes, lines 1-2
1for(e in t)return!1;return!0},globalEval:function(t,e,n){g(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(s(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},text:function(t){var e,n="",i=0,r=t.nodeType;if(!r)for(;e=t[i++];)n+=Ct.text(e);return 1===r||11===r?t.textContent:9===r?t.documentElement.textContent:3===r||4===r?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(s(Object(t))?Ct.merge(n,"string"==typeof t?[t]:t):at.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:ft.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!Et.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,a=[];if(s(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&a.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&a.push(r);return ot(a)},guid:1,support:yt}),"function"==typeof Symbol&&(Ct.fn[Symbol.iterator]=ct[Symbol.iterator]),Ct.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){st["[object "+e+"]"]=e.toLowerCase()});var Dt=ct.pop,Tt=ct.sort,At=ct.splice,St="[\\x20\\t\\r\\n\\f]",kt=new RegExp("^"+St+"+|((?:^|[^\\\\])(?:\\\\.)*)"+St+"+$","g");Ct.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var jt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;Ct.escapeSelector=function(t){return(t+"").replace(jt,e)};var Ft=wt,Ot=at;!function(){function e(){try{return S.activeElement}catch(t){}}function h(t,e,n,i){var r,o,a,s,u,l,c,p=e&&e.ownerDocument,f=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==f&&9!==f&&11!==f)return n;if(!i&&(w(e),e=e||S,j)){if(11!==f&&(u=et.exec(t)))if(r=u[1]){if(9===f){if(!(a=e.getElementById(r)))return n;if(a.id===r)return B.call(n,a),n}else if(p&&(a=p.getElementById(r))&&h.contains(e,a)&&a.id===r)return B.call(n,a),n}else{if(u[2])return B.apply(n,e.getElementsByTagName(t)),n;if((r=u[3])&&e.getElementsByClassName)return B.apply(n,e.getElementsByClassName(r)),n}if(!($[t+" "]||F&&F.test(t))){if(c=t,p=e,1===f&&(G.test(t)||Q.test(t))){for((p=nt.test(t)&&g(e.parentNode)||e)==e&&yt.scope||((s=e.getAttribute("id"))?s=Ct.escapeSelector(s):e.setAttribute("id",s=N)),o=(l=m(t)).length;o--;)l[o]=(s?"#"+s:":scope")+" "+y(l[o]);c=l.join(",")}try{return B.apply(n,p.querySelectorAll(c)),n}catch(d){$(t,!0)}finally{s===N&&e.removeAttribute("id")}}}return E(t.replace(kt,"$1"),e,n,i)}function t(){function n(t,e){return i.push(t+" ")>C.cacheLength&&delete n[i.shift()],n[t+" "]=e}var i=[];return n}function n(t){return t[N]=!0,t}function i(t){var e=S.createElement("fieldset");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(e){return function(t){return lt(t,"input")&&t.type===e}}function o(e){return function(t){return(lt(t,"input")||lt(t,"button"))&&t.type===e}}function a(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&at(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function s(a){return n(function(o){return o=+o,n(function(t,e){for(var n,i=a([],t.length,o),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}function g(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function w(t){var e,n=t?t.ownerDocument||t:Ft;return n!=S&&9===n.nodeType&&n.documentElement&&(k=(S=n).documentElement,j=!Ct.isXMLDoc(S),O=k.matches||k.webkitMatchesSelector||k.msMatchesSelector,k.msMatchesSelector&&Ft!=S&&(e=S.defaultView)&&e.top!==e&&e.addEventListener("unload",ot),yt.getById=i(function(t){return k.appendChild(t).id=Ct.expando,!S.getElementsByName||!S.getElementsByName(Ct.expando).length}),yt.disconnectedMatch=i(function(t){return O.call(t,"*")}),yt.scope=i(function(){return S.querySelectorAll(":scope")}),yt.cssHas=i(function(){try{return S.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}}),yt.getById?(C.filter.ID=function(t){var e=t.replace(it,rt);return function(t){return t.getAttribute("id")===e}},C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&j){var n=e.getElementById(t);return n?[n]:[]}}):(C.filter.ID=function(t){var n=t.replace(it,rt);return function(t){var e="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}},C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&j){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),C.find.TAG=function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},C.find.CLASS=function(t,e){if("undefined"!=typeof e.getElementsByClassName&&j)return e.getElementsByClassName(t)},F=[],i(function(t){var e;k.appendChild(t).innerHTML="<a id='"+N+"' href='' disabled='disabled'></a><select id='"+N+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||F.push("\\["+St+"*(?:value|"+q+")"),t.querySelectorAll("[id~="+N+"-]").length||F.push("~="),t.querySelectorAll("a#"+N+"+*").length||F.push(".#.+[+~]"),t.querySelectorAll(":checked").length||F.push(":checked"),(e=S.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),k.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&F.push(":enabled",":disabled"),(e=S.createElement("input")).setAttribute("name",""), 2t.appendChild(e),t.querySelectorAll("[name='']").length||F.push("\\["+St+"*name"+St+"*="+St+"*(?:''|\"\")")}),yt.cssHas||F.push(":has"),F=F.length&&new RegExp(F.join("|")),H=function(t,e){if(t===e)return A=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!yt.sortDetached&&e.compareDocumentPosition(t)===n?t===S||t.ownerDocument==Ft&&h.contains(Ft,t)?-1:e===S||e.ownerDocument==Ft&&h.contains(Ft,e)?1:T?ft.call(T,t)-ft.call(T,e):0:4&n?-1:1)}),S}function u(){}function m(t,e){var n,i,r,o,a,s,u,l=M[t+" "];if(l)return e?0:l.slice(0);for(a=t,s=[],u=C.preFilter;a;){for(o in n&&!(i=X.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=Q.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(kt," ")}),a=a.slice(n.length)),C.filter)!(i=K[o].exec(a))||u[o]&&!(i=u[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return e?a.length:a?h.error(t):M(t,s).slice(0)}function y(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function p(a,t,e){var s=t.dir,u=t.next,l=u||s,c=e&&"parentNode"===l,p=I++;return t.first?function(t,e,n){for(;t=t[s];)if(1===t.nodeType||c)return a(t,e,n);return!1}:function(t,e,n){var i,r,o=[P,p];if(n){for(;t=t[s];)if((1===t.nodeType||c)&&a(t,e,n))return!0}else for(;t=t[s];)if(1===t.nodeType||c)if(r=t[N]||(t[N]={}),u&<(t,u))t=t[s]||t;else{if((i=r[l])&&i[0]===P&&i[1]===p)return o[2]=i[2];if((r[l]=o)[2]=a(t,e,n))return!0}return!1}}function f(r){return 1<r.length?function(t,e,n){for(var i=r.length;i--;)if(!r[i](t,e,n))return!1;return!0}:r[0]}function v(t,e,n){for(var i=0,r=e.length;i<r;i++)h(t,e[i],n);return n}function x(t,e,n,i,r){for(var o,a=[],s=0,u=t.length,l=null!=e;s<u;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),l&&e.push(s)));return a}function b(d,h,g,m,y,t){return m&&!m[N]&&(m=b(m)),y&&!y[N]&&(y=b(y,t)),n(function(t,e,n,i){var r,o,a,s,u=[],l=[],c=e.length,p=t||v(h||"*",n.nodeType?[n]:n,[]),f=!d||!t&&h?p:x(p,u,d,n,i);if(g?g(f,s=y||(t?d:c||m)?[]:e,n,i):s=f,m)for(r=x(s,l),m(r,[],n,i),o=r.length;o--;)(a=r[o])&&(s[l[o]]=!(f[l[o]]=a));if(t){if(y||d){if(y){for(r=[],o=s.length;o--;)(a=s[o])&&r.push(f[o]=a);y(null,s=[],r,i)}for(o=s.length;o--;)(a=s[o])&&-1<(r=y?ft.call(t,a):u[o])&&(t[r]=!(e[r]=a))}}else s=x(s===e?s.splice(c,s.length):s),y?y(null,e,s,i):B.apply(e,s)})}function d(t){for(var r,e,n,i=t.length,o=C.relative[t[0].type],a=o||C.relative[" "],s=o?1:0,u=p(function(t){return t===r},a,!0),l=p(function(t){return-1<ft.call(r,t)},a,!0),c=[function(t,e,n){var i=!o&&(n||e!=D)||((r=e).nodeType?u(t,e,n):l(t,e,n));return r=null,i}];s<i;s++)if(e=C.relative[t[s].type])c=[p(f(c),e)];else{if((e=C.filter[t[s].type].apply(null,t[s].matches))[N]){for(n=++s;n<i&&!C.relative[t[n].type];n++);return b(1<s&&f(c),1<s&&y(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(kt,"$1"),e,s<n&&d(t.slice(s,n)),n<i&&d(t=t.slice(n)),n<i&&y(t))}c.push(e)}return f(c)}function l(m,y){var v=0<y.length,b=0<m.length,t=function(t,e,n,i,r){var o,a,s,u=0,l="0",c=t&&[],p=[],f=D,d=t||b&&C.find.TAG("*",r),h=P+=null==f?1:Math.random()||.1,g=d.length;for(r&&(D=e==S||e||r);l!==g&&null!=(o=d[l]);l++){if(b&&o){for(a=0,e||o.ownerDocument==S||(w(o),n=!j);s=m[a++];)if(s(o,e||S,n)){B.call(i,o);break}r&&(P=h)}v&&((o=!s&&o)&&u--,t&&c.push(o))}if(u+=l,v&&l!==u){for(a=0;s=y[a++];)s(c,p,e,n);if(t){if(0<u)for(;l--;)c[l]||p[l]||(p[l]=Dt.call(i));p=x(p)}B.apply(i,p),r&&!t&&0<p.length&&1<u+y.length&&Ct.uniqueSort(i)}return r&&(P=h,D=f),c};return v?n(t):t}function _(t,e){var n,i=[],r=[],o=R[t+" "];if(!o){for(e||(e=m(t)),n=e.length;n--;)(o=d(e[n]))[N]?i.push(o):r.push(o);(o=R(t,l(r,i))).selector=t}return o}function E(t,e,n,i){var r,o,a,s,u,l="function"==typeof t&&t,c=!i&&m(t=l.selector||t);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===e.nodeType&&j&&C.relative[o[1].type]){if(!(e=(C.find.ID(a.matches[0].replace(it,rt),e)||[])[0]))return n;l&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=K.needsContext.test(t)?0:o.length;r--&&(a=o[r],!C.relative[s=a.type]);)if((u=C.find[s])&&(i=u(a.matches[0].replace(it,rt),nt.test(o[0].type)&&g(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&y(o)))return B.apply(n,i),n;break}}return(l||_(t,c))(i,e,!j,n,!e||nt.test(t)&&g(e.parentNode)||e),n}var c,C,D,T,A,S,k,j,F,O,B=Ot,N=Ct.expando,P=0,I=0,L=t(),M=t(),R=t(
vendor: 8,932 bytes, line 2
2),$=t(),H=function(t,e){return t===e&&(A=!0),0},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="(?:\\\\[\\da-fA-F]{1,6}"+St+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+St+"*("+z+")(?:"+St+"*([*^$|!~]?=)"+St+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+z+"))|)"+St+"*\\]",W=":("+z+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",V=new RegExp(St+"+","g"),X=new RegExp("^"+St+"*,"+St+"*"),Q=new RegExp("^"+St+"*([>+~]|"+St+")"+St+"*"),G=new RegExp(St+"|>"),Z=new RegExp(W),J=new RegExp("^"+z+"$"),K={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+St+"*(even|odd|(([+-]|)(\\d*)n|)"+St+"*(?:([+-]|)"+St+"*(\\d+)|))"+St+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+St+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+St+"*((?:-\\d)?\\d*)"+St+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,et=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,nt=/[+~]/,it=new RegExp("\\\\[\\da-fA-F]{1,6}"+St+"?|\\\\([^\\r\\n\\f])","g"),rt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ot=function(){w()},at=p(function(t){return!0===t.disabled&<(t,"fieldset")},{dir:"parentNode",next:"legend"});try{B.apply(ct=pt.call(Ft.childNodes),Ft.childNodes),ct[Ft.childNodes.length].nodeType}catch(st){B={apply:function(t,e){Ot.apply(t,pt.call(e))},call:function(t){Ot.apply(t,pt.call(arguments,1))}}}for(c in h.matches=function(t,e){return h(t,null,null,e)},h.matchesSelector=function(t,e){if(w(t),j&&!$[e+" "]&&(!F||!F.test(e)))try{var n=O.call(t,e);if(n||yt.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(st){$(e,!0)}return 0<h(e,S,null,[t]).length},h.contains=function(t,e){return(t.ownerDocument||t)!=S&&w(t),Ct.contains(t,e)},h.attr=function(t,e){(t.ownerDocument||t)!=S&&w(t);var n=C.attrHandle[e.toLowerCase()],i=n&&ht.call(C.attrHandle,e.toLowerCase())?n(t,e,!j):undefined;return i!==undefined?i:t.getAttribute(e)},h.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},Ct.uniqueSort=function(t){var e,n=[],i=0,r=0;if(A=!yt.sortStable,T=!yt.sortStable&&pt.call(t,0),Tt.call(t,H),A){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)At.call(t,n[i],1)}return T=null,t},Ct.fn.uniqueSort=function(){return this.pushStack(Ct.uniqueSort(pt.apply(this)))},(C=Ct.expr={cacheLength:50,createPseudo:n,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(it,rt),t[3]=(t[3]||t[4]||t[5]||"").replace(it,rt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||h.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&h.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return K.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Z.test(n)&&(e=m(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(it,rt).toLowerCase();return"*"===t?function(){return!0}:function(t){return lt(t,e)}},CLASS:function(t){var e=L[t+" "];return e||(e=new RegExp("(^|"+St+")"+t+"("+St+"|$)"))&&L(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(t){var e=h.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===r:"!="===i?e!==r:"^="===i?r&&0===e.indexOf(r):"*="===i?r&&-1<e.indexOf(r):"$="===i?r&&e.slice(-r.length)===r:"~="===i?-1<(" "+e.replace(V," ")+" ").indexOf(r):"|="===i&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(d,t,e,h,g){var m="nth"!==d.slice(0,3),y="last"!==d.slice(-4),v="of-type"===t;return 1===h&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var i,r,o,a,s,u=m!==y?"nextSibling":"previousSibling",l=t.parentNode,c=v&&t.nodeName.toLowerCase(),p=!n&&!v,f=!1;if(l){if(m){for(;u;){for(o=t;o=o[u];)if(v?lt(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&p){for(f=(a=(i=(r=l[N]||(l[N]={}))[d]||[])[0]===P&&i[1])&&i[2],o=a&&l.childNodes[a];o=++a&&o&&o[u]||(f=a=0)||s.pop();)if(1===o.nodeType&&++f&&o===t){r[d]=[P,a,f];break}}else if(p&&(f=a=(i=(r=t[N]||(t[N]={}))[d]||[])[0]===P&&i[1]),!1===f)for(;(o=++a&&o&&o[u]||(f=a=0)||s.pop())&&((v?!lt(o,c):1!==o.nodeType)||!++f||(p&&((r=o[N]||(o[N]={}))[d]=[P,f]),o!==t)););return(f-=g)===h||f%h==0&&0<=f/h}}},PSEUDO:function(t,o){var e,a=C.pseudos[t]||C.setFilters[t.toLowerCase()]||h.error("unsupported pseudo: "+t);return a[N]?a(o):1<a.length?(e=[t,t,"",o],C.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,i=a(t,o),r=i.length;r--;)t[n=ft.call(t,i[r])]=!(e[n]=i[r])}):function(t){return a(t,0,e)}):a}},pseudos:{not:n(function(t){var i=[],r=[],s=_(t.replace(kt,"$1"));return s[N]?n(function(t,e,n,i){for(var r,o=s(t,null,i,[]),a=t.length;a--;)(r=o[a])&&(t[a]=!(e[a]=r))}):function(t,e,n){return i[0]=t,s(i,null,n,r),i[0]=null,!r.pop()}}),has:n(function(e){return function(t){return 0<h(e,t).length}}),contains:n(function(e){return e=e.replace(it,rt),function(t){return-1<(t.textContent||Ct.text(t)).indexOf(e)}}),lang:n(function(n){return J.test(n||"")||h.error("unsupported lang: "+n),n=n.replace(it,rt).toLowerCase(),function(t){var e;do{if(e=j?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=ut.location&&ut.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===k},focus:function(t){return t===e()&&S.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(t){return lt(t,"input")&&!!t.checked||lt(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return tt.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){return lt(t,"input")&&"button"===t.type||lt(t,"button")},text:function(t){var e;return lt(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:s(function(){return[0]}),last:s(function(t,e){return[e-1]}),eq:s(function(t,e,n){return[n<0?n+e:n]}),even:s(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:s(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:s(function(t,e,n){var i;for(i=n<0?n+e:e<n?e:n;0<=--i;)t.push(i);return t}),gt:s(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=C.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[c]=r(c);for(c in{submit:!0,reset:!0})C.pseudos[c]=o(c);u.prototype=C.filters=C.pseudos,C.setFilters=new u,yt.sortStable=N.split("").sort(H).join("")===N,w(),yt.sortDetached=i(function(t){return 1&t.compareDocumentPosition(S.createElement("fieldset"))}),Ct.find=h,Ct.expr[":"]=Ct.expr.pseudos,Ct.unique=Ct.uniqueSort,h.compile=_,h.select=E,h.setDocument=w,h.tokenize=m,h.escape=Ct.escapeSelector,h.getText=Ct.text,h.isXML=Ct.isXMLDoc,h.selectors=Ct.expr,h.support=Ct.support,h.uniqueSort=Ct.uniqueSort}();var Bt=function(t,e,n){for(var i=[],r=n!==undefined;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&Ct(t).is(n))break;i.push(t)}return i},Nt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Pt=Ct.expr.match.needsContext,It=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ct.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?Ct.find.matchesSelector(i,t)?[i]:[]:Ct.find.matches(t,Ct.grep(e,function(t){return 1===t.nodeType}))},Ct.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(Ct(t).filter(function(){for(e=0;e<i;e++)if(Ct.contains(r[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)Ct.find(t,r[e],n);return 1<i?Ct.uniqueSort(n):n},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,"string"==typeof t&&Pt.test(t)?Ct(t):t||[],!1).length}});var Lt,Mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Ct.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||Lt,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):vt(t)?n.ready!==un
vendor: 4,342 bytes, line 2
2defined?n.ready(t):t(Ct):Ct.makeArray(t,this);if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:Mt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof Ct?e[0]:e,Ct.merge(this,Ct.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:wt,!0)),It.test(i[1])&&Ct.isPlainObject(e))for(i in e)vt(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=wt.getElementById(i[2]))&&(this[0]=r,this.length=1),this}).prototype=Ct.fn,Lt=Ct(wt);var Rt=/^(?:parents|prev(?:Until|All))/,$t={children:!0,contents:!0,next:!0,prev:!0};Ct.fn.extend({has:function(t){var e=Ct(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(Ct.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,r=this.length,o=[],a="string"!=typeof t&&Ct(t);if(!Pt.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&Ct.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(1<o.length?Ct.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?ft.call(Ct(t),this[0]):ft.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Ct.uniqueSort(Ct.merge(this.get(),Ct(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Ct.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Bt(t,"parentNode")},parentsUntil:function(t,e,n){return Bt(t,"parentNode",n)},next:function(t){return i(t,"nextSibling")},prev:function(t){return i(t,"previousSibling")},nextAll:function(t){return Bt(t,"nextSibling")},prevAll:function(t){return Bt(t,"previousSibling")},nextUntil:function(t,e,n){return Bt(t,"nextSibling",n)},prevUntil:function(t,e,n){return Bt(t,"previousSibling",n)},siblings:function(t){return Nt((t.parentNode||{}).firstChild,t)},children:function(t){return Nt(t.firstChild)},contents:function(t){return null!=t.contentDocument&&rt(t.contentDocument)?t.contentDocument:(lt(t,"template")&&(t=t.content||t),Ct.merge([],t.childNodes))}},function(i,r){Ct.fn[i]=function(t,e){var n=Ct.map(this,r,t);return"Until"!==i.slice(-5)&&(e=t),e&&"string"==typeof e&&(n=Ct.filter(e,n)),1<this.length&&($t[i]||Ct.uniqueSort(n),Rt.test(i)&&n.reverse()),this.pushStack(n)}});var Ht=/[^\x20\t\r\n\f]+/g;Ct.Callbacks=function(i){i="string"==typeof i?c(i):Ct.extend({},i);var r,t,e,n,o=[],a=[],s=-1,u=function(){for(n=n||i.once,e=r=!0;a.length;s=-1)for(t=a.shift();++s<o.length;)!1===o[s].apply(t[0],t[1])&&i.stopOnFalse&&(s=o.length,t=!1);i.memory||(t=!1),r=!1,n&&(o=t?[]:"")},l={add:function(){return o&&(t&&!r&&(s=o.length-1,a.push(t)),function n(t){Ct.each(t,function(t,e){vt(e)?i.unique&&l.has(e)||o.push(e):e&&e.length&&"string"!==m(e)&&n(e)})}(arguments),t&&!r&&u()),this},remove:function(){return Ct.each(arguments,function(t,e){for(var n;-1<(n=Ct.inArray(e,o,n));)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?-1<Ct.inArray(t,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=t="",this},disabled:function(){return!o},lock:function(){return n=a=[],t||r||(o=t=""),this},locked:function(){return!!n},fireWith:function(t,e){return n||(e=[t,(e=e||[]).slice?e.slice():e],a.push(e),r||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!e}};return l},Ct.extend({Deferred:function(t){var o=[["notify","progress",Ct.Callbacks("memory"),Ct.Callbacks("memory"),2],["resolve","done",Ct.Callbacks("once memory"),Ct.Callbacks("once memory"),0,"resolved"],["reject","fail",Ct.Callbacks("once memory"),Ct.Callbacks("once memory"),1,"rejected"]],r="pending",a={state:function(){return r},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(t){return a.then(null,t)},pipe:function(){var r=arguments;return Ct.Deferred(function(i){Ct.each(o,function(t,e){var n=vt(r[e[4]])&&r[e[4]];s[e[1]](function(){var t=n&&n.apply(this,arguments);t&&vt(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[e[0]+"With"](this,n?[t]:arguments)})}),r=null}).promise()},then:function(e,n,i){function l(o,a,s,u){return function(){var n=this,i=arguments,e=function(){var t,e;if(!(o<c)){if((t=s.apply(n,i))===a.promise())throw new TypeError("Thenable self
2-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,vt(e)?u?e.call(t,l(c,a,p,u),l(c,a,f,u)):(c++,e.call(t,l(c,a,p,u),l(c,a,f,u),l(c,a,p,a.notifyWith))):(s!==p&&(n=undefined,i=[t]),(u||a.resolveWith)(n,i))}},r=u?e:function(){try{e()}catch(t){Ct.Deferred.exceptionHook&&Ct.Deferred.exceptionHook(t,r.error),c<=o+1&&(s!==f&&(n=undefined,i=[t]),a.rejectWith(n,i))}};o?r():(Ct.Deferred.getErrorHook?r.error=Ct.Deferred.getErrorHook():Ct.Deferred.getStackHook&&(r.error=Ct.Deferred.getStackHook()),ut.setTimeout(r))}}var c=0;return Ct.Deferred(function(t){o[0][3].add(l(0,t,vt(i)?i:p,t.notifyWith)),o[1][3].add(l(0,t,vt(e)?e:p)),o[2][3].add(l(0,t,vt(n)?n:f))}).promise()},promise:function(t){return null!=t?Ct.extend(t,a):a}},s={};return Ct.each(o,function(t,e){var n=e[2],i=e[5];a[e[1]]=n.add,i&&n.add(function(){r=i},o[3-t][2].disable,o[3-t][3].disable,o[0][2].lock,o[0][3].lock),n.add(e[3].fire),s[e[0]]=function(){return s[e[0]+"With"](this===s?undefined:this,arguments),this},s[e[0]+"With"]=n.fireWith}),a.promise(s),t&&t.call(s,s),s},when:function(t){var n=arguments.length,e=n,i=Array(e),r=pt.call(arguments),o=Ct.Deferred(),a=function(e){return function(t){i[e]=this,r[e]=1<arguments.length?pt.call(arguments):t,--n||o.resolveWith(i,r)}};if(n<=1&&(u(t,o.done(a(e)).resolve,o.reject,!n),"pending"===o.state()||vt(r[e]&&r[e].then)))return o.then();for(;e--;)u(r[e],a(e),o.reject);return o.promise()}});var qt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ct.Deferred.exceptionHook=function(t,e){ut.console&&ut.console.warn&&t&&qt.test(t.name)&&ut.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},Ct.readyException=function(t){ut.setTimeout(function(){throw t})};var zt=Ct.Deferred();Ct.fn.ready=function(t){return zt.then(t)["catch"](function(t){Ct.readyException(t)}),this},Ct.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--Ct.readyWait:Ct.isReady)||(Ct.isReady=!0)!==t&&0<--Ct.readyWait||zt.resolveWith(wt,[Ct])}}),Ct.ready.then=zt.then,"complete"===wt.readyState||"loading"!==wt.readyState&&!wt.documentElement.doScroll?ut.setTimeout(Ct.ready):(wt.addEventListener("DOMContentLoaded",r),ut.addEventListener("load",r));var Ut=function(t,e,n,i,r,o,a){var s=0,u=t.length,l=null==n;if("object"===m(n))for(s in r=!0,n)Ut(t,e,s,n[s],!0,o,a);else if(i!==undefined&&(r=!0,vt(i)||(a=!0),l&&(a?(e.call(t,i),e=null):(l=e,e=function(t,e,n){return l.call(Ct(t),n)})),e))for(;s<u;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:l?e.call(t):u?e(t[0],n):o},Wt=/^-ms-/,Vt=/-([a-z])/g,Xt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};a.uid=1,a.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Xt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[d(e)]=n;else for(i in e)r[d(i)]=e[i];return r},get:function(t,e){return e===undefined?this.cache(t):t[this.expando]&&t[this.expando][d(e)]},access:function(t,e,n){return e===undefined||e&&"string"==typeof e&&n===undefined?this.get(t,e):(this.set(t,e,n),n!==undefined?n:e)},remove:function(t,e){var n,i=t[this.expando];if(i!==undefined){if(e!==undefined){n=(e=Array.isArray(e)?e.map(d):(e=d(e))in i?[e]:e.match(Ht)||[]).length;for(;n--;)delete i[e[n]]}
vendor: 6,093 bytes, line 2
2(e===undefined||Ct.isEmptyObject(i))&&(t.nodeType?t[this.expando]=undefined:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return e!==undefined&&!Ct.isEmptyObject(e)}};var Qt=new a,Gt=new a,Zt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Jt=/[A-Z]/g;Ct.extend({hasData:function(t){return Gt.hasData(t)||Qt.hasData(t)},data:function(t,e,n){return Gt.access(t,e,n)},removeData:function(t,e){Gt.remove(t,e)},_data:function(t,e,n){return Qt.access(t,e,n)},_removeData:function(t,e){Qt.remove(t,e)}}),Ct.fn.extend({data:function(n,t){var e,i,r,o=this[0],a=o&&o.attributes;if(n!==undefined)return"object"==typeof n?this.each(function(){Gt.set(this,n)}):Ut(this,function(t){var e;if(o&&t===undefined)return(e=Gt.get(o,n))!==undefined?e:(e=h(o,n))!==undefined?e:void 0;this.each(function(){Gt.set(this,n,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(r=Gt.get(o),1===o.nodeType&&!Qt.get(o,"hasDataAttrs"))){for(e=a.length;e--;)a[e]&&0===(i=a[e].name).indexOf("data-")&&(i=d(i.slice(5)),h(o,i,r[i]));Qt.set(o,"hasDataAttrs",!0)}return r},removeData:function(t){return this.each(function(){Gt.remove(this,t)})}}),Ct.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Qt.get(t,e),n&&(!i||Array.isArray(n)?i=Qt.access(t,e,Ct.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=Ct.queue(t,e),i=n.length,r=n.shift(),o=Ct._queueHooks(t,e),a=function(){Ct.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Qt.get(t,n)||Qt.access(t,n,{empty:Ct.Callbacks("once memory").add(function(){Qt.remove(t,[e+"queue",n])})})}}),Ct.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?Ct.queue(this[0],e):n===undefined?this:this.each(function(){var t=Ct.queue(this,e,n);Ct._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&Ct.dequeue(this,e)})},dequeue:function(t){return this.each(function(){Ct.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=Ct.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=undefined),t=t||"fx";a--;)(n=Qt.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var Kt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Yt=new RegExp("^(?:([+-])=|)("+Kt+")([a-z%]*)$","i"),te=["Top","Right","Bottom","Left"],ee=wt.documentElement,ne=function(t){return Ct.contains(t.ownerDocument,t)},ie={composed:!0};ee.getRootNode&&(ne=function(t){return Ct.contains(t.ownerDocument,t)||t.getRootNode(ie)===t.ownerDocument});var re=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&ne(t)&&"none"===Ct.css(t,"display")},oe={};Ct.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){re(this)?Ct(this).show():Ct(this).hide()})}});var ae,se,ue=/^(?:checkbox|radio)$/i,le=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ce=/^$|^module$|\/(?:java|ecma)script/i;ae=wt.createDocumentFragment().appendChild(wt.createElement("div")),(se=wt.createElement("input")).setAttribute("type","radio"),se.setAttribute("checked","checked"),se.setAttribute("name","t"),ae.appendChild(se),yt.checkClone=ae.cloneNode(!0).cloneNode(!0).lastChild.checked,ae.innerHTML="<textarea>x</textarea>",yt.noCloneChecked=!!ae.cloneNode(!0).lastChild.defaultValue,ae.innerHTML="<option></option>",yt.option=!!ae.lastChild;var pe={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,"",""]};pe.tbody=pe.tfoot=pe.colgroup=pe.caption=pe.thead,pe.th=pe.td,yt.option||(pe.optgroup=pe.option=[1,"<select multiple='multiple'>","</select>"]);var fe=/<|&#?\w+;/,de=/^([^.]*)(?:\.(.+)|)/;Ct.event={global:{},add:function(e,t,n,i,r){var o,a,s,u,l,c,p,f,d,h,g,m=Qt.get(e);if(Xt(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&Ct.find.matchesSelector(ee,r),n.guid||(n.guid=Ct.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==Ct&&Ct.event.triggered!==t.type?Ct.event.dispatch.apply(e,arguments):undefined}),l=(t=(t||"").match(Ht)||[""]).length;l--;)d=g=(s=de.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(p=Ct.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,p=Ct.event.special[d]||{},c=Ct.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&Ct.expr.match.needsContext.test(r),namespace:h.join(".")},o),(f=u[d])||((f=u[d]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,i,h,a)||e.addEventListener&&e.addEventListener(d,a)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,c):f.push(c),Ct.event.global[d]=!0)},remove:function(t,e,n,i,r){var o,a,s,u,l,c,p,f,d,h,g,m=Qt.hasData(t)&&Qt.get(t);if(m&&(u=m.events)){for(l=(e=(e||"").match(Ht)||[""]).length;l--;)if(d=g=(s=de.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(p=Ct.event.special[d]||{},f=u[d=(i?p.delegateType:p.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!r&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(t,c));a&&!f.length&&(p.teardown&&!1!==p.teardown.call(t,h,m.handle)||Ct.removeEvent(t,d,m.handle),delete u[d])}else for(d in u)Ct.event.remove(t,d+e[l],n,i,!0);Ct.isEmptyObject(u)&&Qt.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,a,s=new Array(arguments.length),u=Ct.event.fix(t),l=(Qt.get(this,"events")||Object.create(null))[u.type]||[],c=Ct.event.special[u.type]||{};for(s[0]=u,e=1;e<arguments.length;e++)s[e]=arguments[e];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=Ct.event.handlers.call(this,u,l),e=0;(r=a[e++])&&!u.isPropagationStopped();
vendor: 4,332 bytes, line 2
2)for(u.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,(i=((Ct.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))!==undefined&&!1===(u.result=i)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(t,e){var n,i,r,o,a,s=[],u=e.delegateCount,l=t.target;if(u&&l.nodeType&&!("click"===t.type&&1<=t.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)a[r=(i=e[n]).selector+" "]===undefined&&(a[r]=i.needsContext?-1<Ct(r,this).index(l):Ct.find(r,this,null,[l]).length),a[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return l=this,u<e.length&&s.push({elem:l,handlers:e.slice(u)}),s},addProp:function(e,t){Object.defineProperty(Ct.Event.prototype,e,{enumerable:!0,configurable:!0,get:vt(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[Ct.expando]?t:new Ct.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return ue.test(e.type)&&e.click&<(e,"input")&&T(e,"click",!0),!1},trigger:function(t){var e=this||t;return ue.test(e.type)&&e.click&<(e,"input")&&T(e,"click"),!0},_default:function(t){var e=t.target;return ue.test(e.type)&&e.click&<(e,"input")&&Qt.get(e,"click")||lt(e,"a")}},beforeunload:{postDispatch:function(t){t.result!==undefined&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},Ct.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},Ct.Event=function(t,e){if(!(this instanceof Ct.Event))return new Ct.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.defaultPrevented===undefined&&!1===t.returnValue?E:C,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&Ct.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[Ct.expando]=!0},Ct.Event.prototype={constructor:Ct.Event,isDefaultPrevented:C,isPropagationStopped:C,isImmediatePropagationStopped:C,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=E,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=E,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=E,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},Ct.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},Ct.event.addProp),Ct.each({focus:"focusin",blur:"focusout"},function(i,r){function o(t){if(wt.documentMode){var e=Qt.get(this,"handle"),n=Ct.event.fix(t);n.type="focusin"===t.type?"focus":"blur",n.isSimulated=!0,e(t),n.target===n.currentTarget&&e(n)}else Ct.event.simulate(r,t.target,Ct.event.fix(t))}Ct.event.special[i]={setup:function(){var t;if(T(this,i,!0),!wt.documentMode)return!1;(t=Qt.get(this,r))||this.addEventListener(r,o),Qt.set(this,r,(t||0)+1)},trigger:function(){return T(this,i),!0},teardown:function(){var t;if(!wt.documentMode)return!1;(t=Qt.get(this,r)-1)?Qt.set(this,r,t):(this.removeEventListener(r,o),Qt.remove(this,r))},_default:function(t){return Qt.get(t.target,i)},delegateType:r},Ct.event.special[r]={setup:function(){var t=this.ownerDocument||this.document||this,e=wt.documentMode?this:t,n=Qt.get(e,r);n||(wt.documentMode?this.addEventListener(r,o):t.addEventListener(i,o,!0)),Qt.set(e,r,(n||0)+1)},teardown:function(){var t=this.ownerDocument||this.document||this,e=wt.documentMode?this:t,n=Qt.get(e,r)-1;n?Qt.set(e,r,n):(wt.documentMode?this.removeEventListener(r,o):t.removeEventListener(i,o,!0),Qt.remove(e,r))}}}
vendor: 4,130 bytes, lines 2-3
2),Ct.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){Ct.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,n=this,i=t.relatedTarget,r=t.handleObj;return i&&(i===n||Ct.contains(n,i))||(t.type=r.origType,e=r.handler.apply(this,arguments),t.type=o),e}}}),Ct.fn.extend({on:function(t,e,n,i){return D(this,t,e,n,i)},one:function(t,e,n,i){return D(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,Ct(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=undefined),!1===n&&(n=C),this.each(function(){Ct.event.remove(this,t,n,e)});for(r in t)this.off(r,e,t[r]);return this}});var he=/<script|<style|<link/i,ge=/checked\s*(?:[^=]|=\s*.checked.)/i,me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;Ct.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,a,s=t.cloneNode(!0),u=ne(t);if(!(yt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Ct.isXMLDoc(t)))for(a=w(s),i=0,r=(o=w(t)).length;i<r;i++)F(o[i],a[i]);if(e)if(n)for(o=o||w(t),a=a||w(s),i=0,r=o.length;i<r;i++)j(o[i],a[i]);else j(t,s);return 0<(a=w(s,"script")).length&&x(a,!u&&w(t,"script")),s},cleanData:function(t){for(var e,n,i,r=Ct.event.special,o=0;(n=t[o] 3)!==undefined;o++)if(Xt(n)){if(e=n[Qt.expando]){if(e.events)for(i in e.events)r[i]?Ct.event.remove(n,i):Ct.removeEvent(n,i,e.handle);n[Qt.expando]=undefined}n[Gt.expando]&&(n[Gt.expando]=undefined)}}}),Ct.fn.extend({detach:function(t){return B(this,t,!0)},remove:function(t){return B(this,t)},text:function(t){return Ut(this,function(t){return t===undefined?Ct.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return O(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||A(this,t).appendChild(t)})},prepend:function(){return O(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=A(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Ct.cleanData(w(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Ct.clone(this,t,e)})},html:function(t){return Ut(this,function(t){var e=this[0]||{},n=0,i=this.length;if(t===undefined&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!he.test(t)&&!pe[(le.exec(t)||["",""])[1].toLowerCase()]){t=Ct.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(Ct.cleanData(w(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=[];return O(this,arguments,function(t){var e=this.parentNode;Ct.inArray(this,n)<0&&(Ct.cleanData(w(this)),e&&e.replaceChild(t,this))},n)}}),Ct.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){Ct.fn[t]=function(t){for(var e,n=[],i=Ct(t),r=i.length-1,o=0;o<=r;o++)e=o===r?this:this.clone(!0),Ct(i[o])[a](e),at.apply(n,e.get());return this.pushStack(n)}});var ye=new RegExp("^("+Kt+")(?!px)[a-z%]+$","i"),ve=/^--/,be=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=ut),e.getComputedStyle(t)},we=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},xe=new RegExp(te.join("|"),"i");!function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ee.appendChild(u).appendChild(l);var t=ut.getComputedStyle(l);
vendor: 1,191 bytes, line 3
3n="1%"!==t.top,s=12===e(t.marginLeft),l.style.right="60%",o=36===e(t.right),i=36===e(t.width),l.style.position="absolute",r=12===e(l.offsetWidth/3),ee.removeChild(u),l=null}}function e(t){return Math.round(parseFloat(t))}var n,i,r,o,a,s,u=wt.createElement("div"),l=wt.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",yt.clearCloneStyle="content-box"===l.style.backgroundClip,Ct.extend(yt,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),o},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var t,e,n,i;return null==a&&(t=wt.createElement("table"),e=wt.createElement("tr"),n=wt.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",ee.appendChild(t).appendChild(e).appendChild(n),i=ut.getComputedStyle(e),a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,ee.removeChild(t)),a}}
vendor: 6,072 bytes, line 3
3))}();var _e=["Webkit","Moz","ms"],Ee=wt.createElement("div").style,Ce={},De=/^(none|table(?!-c[ea]).+)/,Te={position:"absolute",visibility:"hidden",display:"block"},Ae={letterSpacing:"0",fontWeight:"400"};Ct.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=N(t,"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(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=d(e),u=ve.test(e),l=t.style;if(u||(e=L(s)),a=Ct.cssHooks[e]||Ct.cssHooks[s],n===undefined)return a&&"get"in a&&(r=a.get(t,!1,i))!==undefined?r:l[e];"string"===(o=typeof n)&&(r=Yt.exec(n))&&r[1]&&(n=y(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=r&&r[3]||(Ct.cssNumber[s]?"":"px")),yt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&(n=a.set(t,n,i))===undefined||(u?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,i){var r,o,a,s=d(e);return ve.test(e)||(e=L(s)),(a=Ct.cssHooks[e]||Ct.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,n)),r===undefined&&(r=N(t,e,i)),"normal"===r&&e in Ae&&(r=Ae[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),Ct.each(["height","width"],function(t,u){Ct.cssHooks[u]={get:function(t,e,n){if(e)return!De.test(Ct.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?$(t,u,n):we(t,Te,function(){return $(t,u,n)})},set:function(t,e,n){var i,r=be(t),o=!yt.scrollboxSize()&&"absolute"===r.position,a=(o||n)&&"border-box"===Ct.css(t,"boxSizing",!1,r),s=n?R(t,u,n,a,r):0;return a&&o&&(s-=Math.ceil(t["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(r[u])-R(t,u,"border",!1,r)-.5)),s&&(i=Yt.exec(e))&&"px"!==(i[3]||"px")&&(t.style[u]=e,e=Ct.css(t,u)),M(t,e,s)}}}),Ct.cssHooks.marginLeft=P(yt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(N(t,"marginLeft"))||t.getBoundingClientRect().left-we(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),Ct.each({margin:"",padding:"",border:"Width"},function(r,o){Ct.cssHooks[r+o]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[r+te[e]+o]=i[e]||i[e-2]||i[0];return n}},"margin"!==r&&(Ct.cssHooks[r+o].set=M)}),Ct.fn.extend({css:function(t,e){return Ut(this,function(t,e,n){var i,r,o={},a=0;if(Array.isArray(e)){for(i=be(t),r=e.length;a<r;a++)o[e[a]]=Ct.css(t,e[a],!1,i);return o}return n!==undefined?Ct.style(t,e,n):Ct.css(t,e)},t,e,1<arguments.length)}}),(Ct.Tween=H).prototype={constructor:H,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||Ct.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(Ct.cssNumber[n]?"":"px")},cur:function(){var t=H.propHooks[this.prop];return t&&t.get?t.get(this):H.propHooks._default.get(this)},run:function(t){var e,n=H.propHooks[this.prop];return this.options.duration?this.pos=e=Ct.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=Ct.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){Ct.fx.step[t.prop]?Ct.fx.step[t.prop](t):1!==t.elem.nodeType||!Ct.cssHooks[t.prop]&&null==t.elem.style[L(t.prop)]?t.elem[t.prop]=t.now:Ct.style(t.elem,t.prop,t.now+t.unit)}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Ct.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},Ct.fx=H.prototype.init,Ct.fx.step={};var Se,ke,je,Fe,Oe=/^(?:toggle|show|hide)$/,Be=/queueHooks$/;Ct.Animation=Ct.extend(Q,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return y(n.elem,t,Yt.exec(e),n),n}]},tweener:function(t,e){vt(t)?(e=t,t=["*"]):t=t.match(Ht);for(var n,i=0,r=t.length;i<r;i++)n=t[i],Q.tweeners[n]=Q.tweeners[n]||[],Q.tweeners[n].unshift(e)},prefilters:[V],prefilter:function(t,e){e?Q.prefilters.unshift(t):Q.prefilters.push(t)}}),Ct.speed=function(t,e,n){var i=t&&"object"==typeof t?Ct.extend({},t):{complete:n||!n&&e||vt(t)&&t,duration:t,easing:n&&e||e&&!vt(e)&&e};return Ct.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in Ct.fx.speeds?i.duration=Ct.fx.speeds[i.duration]:i.duration=Ct.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){vt(i.old)&&i.old.call(this),i.queue&&Ct.dequeue(this,i.queue)},i},Ct.fn.extend({fadeTo:function(t,e,n,i){return this.filter(re).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){var r=Ct.isEmptyObject(e),o=Ct.speed(t,n,i),a=function(){var t=Q(this,Ct.extend({},e),o);(r||Qt.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(r,t,o){var a=function(t){var e=t.stop;delete t.stop,e(o)};return"string"!=typeof r&&(o=t,t=r,r=undefined),t&&this.queue(r||"fx",[]),this.each(function(){var t=!0,e=null!=r&&r+"queueHooks",n=Ct.timers,i=Qt.get(this);if(e)i[e]&&i[e].stop&&a(i[e]);else for(e in i)i[e]&&i[e].stop&&Be.test(e)&&a(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=r&&n[e].queue!==r||(n[e].anim.stop(o),t=!1,n.splice(e,1));!t&&o||Ct.dequeue(this,r)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=Qt.get(this),n=e[a+"queue"],i=e[a+"queueHooks"],r=Ct.timers,o=n?n.length:0;for(e.finish=!0,Ct.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===a&&(r[t].anim.stop(!0),r.splice(t,1)
vendor: 6,367 bytes, line 3
3);for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),Ct.each(["toggle","show","hide"],function(t,i){var r=Ct.fn[i];Ct.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?r.apply(this,arguments):this.animate(U(i,!0),t,e,n)}}),Ct.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){Ct.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),Ct.timers=[],Ct.fx.tick=function(){var t,e=0,n=Ct.timers;for(Se=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||Ct.fx.stop(),Se=undefined},Ct.fx.timer=function(t){Ct.timers.push(t),Ct.fx.start()},Ct.fx.interval=13,Ct.fx.start=function(){ke||(ke=!0,q())},Ct.fx.stop=function(){ke=null},Ct.fx.speeds={slow:600,fast:200,_default:400},Ct.fn.delay=function(i,t){return i=Ct.fx&&Ct.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var n=ut.setTimeout(t,i);e.stop=function(){ut.clearTimeout(n)}})},je=wt.createElement("input"),Fe=wt.createElement("select").appendChild(wt.createElement("option")),je.type="checkbox",yt.checkOn=""!==je.value,yt.optSelected=Fe.selected,(je=wt.createElement("input")).value="t",je.type="radio",yt.radioValue="t"===je.value;var Ne,Pe=Ct.expr.attrHandle;Ct.fn.extend({attr:function(t,e){return Ut(this,Ct.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){Ct.removeAttr(this,t)})}}),Ct.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?Ct.prop(t,e,n):(1===o&&Ct.isXMLDoc(t)||(r=Ct.attrHooks[e.toLowerCase()]||(Ct.expr.match.bool.test(e)?Ne:undefined)),n!==undefined?null===n?void Ct.removeAttr(t,e):r&&"set"in r&&(i=r.set(t,n,e))!==undefined?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=Ct.find.attr(t,e))?undefined:i)},attrHooks:{type:{set:function(t,e){if(!yt.radioValue&&"radio"===e&<(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(Ht);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),Ne={set:function(t,e,n){return!1===e?Ct.removeAttr(t,n):t.setAttribute(n,n),n}},Ct.each(Ct.expr.match.bool.source.match(/\w+/g),function(t,e){var a=Pe[e]||Ct.find.attr;Pe[e]=function(t,e,n){var i,r,o=e.toLowerCase();return n||(r=Pe[o],Pe[o]=i,i=null!=a(t,e,n)?o:null,Pe[o]=r),i}});var Ie=/^(?:input|select|textarea|button)$/i,Le=/^(?:a|area)$/i;Ct.fn.extend({prop:function(t,e){return Ut(this,Ct.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[Ct.propFix[t]||t]})}}),Ct.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Ct.isXMLDoc(t)||(e=Ct.propFix[e]||e,r=Ct.propHooks[e]),n!==undefined?r&&"set"in r&&(i=r.set(t,n,e))!==undefined?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=Ct.find.attr(t,"tabindex");return e?parseInt(e,10):Ie.test(t.nodeName)||Le.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),yt.optSelected||(Ct.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),Ct.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ct.propFix[this.toLowerCase()]=this}),Ct.fn.extend({addClass:function(e){var t,n,i,r,o,a;return vt(e)?this.each(function(t){Ct(this).addClass(e.call(this,t,Z(this)))}):(t=J(e)).length?this.each(function(){if(i=Z(this),n=1===this.nodeType&&" "+G(i)+" "){for(o=0;o<t.length;o++)r=t[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");a=G(n),i!==a&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,n,i,r,o,a;return vt(e)?this.each(function(t){Ct(this).removeClass(e.call(this,t,Z(this)))}):arguments.length?(t=J(e)).length?this.each(function(){if(i=Z(this),n=1===this.nodeType&&" "+G(i)+" "){for(o=0;o<t.length;o++)for(r=t[o];-1<n.indexOf(" "+r+" ");)n=n.replace(" "+r+" "," ");a=G(n),i!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,n){var t,i,r,o,a=typeof e,s="string"===a||Array.isArray(e);return vt(e)?this.each(function(t){Ct(this).toggleClass(e.call(this,t,Z(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(e):this.removeClass(e):(t=J(e),this.each(function(){if(s)for(o=Ct(this),r=0;r<t.length;r++)i=t[r],o.hasClass(i)?o.removeClass(i):o.addClass(i);else e!==undefined&&"boolean"!==a||((i=Z(this))&&Qt.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":Qt.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+G(Z(n))+" ").indexOf(e))return!0;return!1}});var Me=/\r/g;Ct.fn.extend({val:function(n){var i,t,r,e=this[0];return arguments.length?(r=vt(n),this.each(function(t){var e;1===this.nodeType&&(null==(e=r?n.call(this,t,Ct(this).val()):n)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=Ct.map(e,function(t){return null==t?"":t+""})),(i=Ct.valHooks[this.type]||Ct.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,e,"value")!==undefined||(this.value=e))})):e?(i=Ct.valHooks[e.type]||Ct.valHooks[e.nodeName.toLowerCase()])&&"get"in i&&(t=i.get(e,"value"))!==undefined?t:"string"==typeof(t=e.value)?t.replace(Me,""):null==t?"":t:void 0}}),Ct.extend({valHooks:{option:{get:function(t){var e=Ct.find.attr(t,"value");return null!=e?e:G(Ct.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],u=a?o+1:r.length;for(i=o<0?u:a?o:0;i<u;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!lt(n.parentNode,"optgroup"))){if(e=Ct(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=Ct.makeArray(e),a=r.length;a--;)((i=r[a]).selected=-1<Ct.inArray(Ct.valHooks.option.get(i),o))&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),Ct.each(["radio","checkbox"],function(){Ct.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<Ct.inArray(Ct(t).val(),e)}},yt.checkOn||(Ct.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Re=ut.location,$e={guid:Date.now()}
vendor: 7,113 bytes, line 3
3,He=/\?/;Ct.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new ut.DOMParser).parseFromString(t,"text/xml")}catch(i){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||Ct.error("Invalid XML: "+(n?Ct.map(n.childNodes,function(t){return t.textContent}).join("\n"):t)),e};var qe=/^(?:focusinfocus|focusoutblur)$/,ze=function(t){t.stopPropagation()};Ct.extend(Ct.event,{trigger:function(t,e,n,i){var r,o,a,s,u,l,c,p,f=[n||wt],d=ht.call(t,"type")?t.type:t,h=ht.call(t,"namespace")?t.namespace.split("."):[];if(o=p=a=n=n||wt,3!==n.nodeType&&8!==n.nodeType&&!qe.test(d+Ct.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(t=t[Ct.expando]?t:new Ct.Event(d,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=n),e=null==e?[t]:Ct.makeArray(e,[t]),c=Ct.event.special[d]||{},i||!c.trigger||!1!==c.trigger.apply(n,e))){if(!i&&!c.noBubble&&!bt(n)){for(s=c.delegateType||d,qe.test(s+d)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(n.ownerDocument||wt)&&f.push(a.defaultView||a.parentWindow||ut)}for(r=0;(o=f[r++])&&!t.isPropagationStopped();)p=o,t.type=1<r?s:c.bindType||d,(l=(Qt.get(o,"events")||Object.create(null))[t.type]&&Qt.get(o,"handle"))&&l.apply(o,e),(l=u&&o[u])&&l.apply&&Xt(o)&&(t.result=l.apply(o,e),!1===t.result&&t.preventDefault());return t.type=d,i||t.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),e)||!Xt(n)||u&&vt(n[d])&&!bt(n)&&((a=n[u])&&(n[u]=null),Ct.event.triggered=d,t.isPropagationStopped()&&p.addEventListener(d,ze),n[d](),t.isPropagationStopped()&&p.removeEventListener(d,ze),Ct.event.triggered=undefined,a&&(n[u]=a)),t.result}},simulate:function(t,e,n){var i=Ct.extend(new Ct.Event,n,{type:t,isSimulated:!0});Ct.event.trigger(i,null,e)}}),Ct.fn.extend({trigger:function(t,e){return this.each(function(){Ct.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return Ct.event.trigger(t,e,n,!0)}});var Ue=/\[\]$/,We=/\r?\n/g,Ve=/^(?:submit|button|image|reset|file)$/i,Xe=/^(?:input|select|textarea|keygen)/i;Ct.param=function(t,e){var n,i=[],r=function(t,e){var n=vt(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!Ct.isPlainObject(t))Ct.each(t,function(){r(this.name,this.value)});else for(n in t)K(n,t[n],e,r);return i.join("&")},Ct.fn.extend({serialize:function(){return Ct.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Ct.prop(this,"elements");return t?Ct.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Ct(this).is(":disabled")&&Xe.test(this.nodeName)&&!Ve.test(t)&&(this.checked||!ue.test(t))}).map(function(t,e){var n=Ct(this).val();return null==n?null:Array.isArray(n)?Ct.map(n,function(t){return{name:e.name,value:t.replace(We,"\r\n")}}):{name:e.name,value:n.replace(We,"\r\n")}}).get()}});var Qe=/%20/g,Ge=/#.*$/,Ze=/([?&])_=[^&]*/,Je=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ke=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ye=/^(?:GET|HEAD)$/,tn=/^\/\//,en={},nn={},rn="*/".concat("*"),on=wt.createElement("a");on.href=Re.href,Ct.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Re.href,type:"GET",isLocal:Ke.test(Re.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":rn,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":Ct.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?et(et(t,Ct.ajaxSettings),e):et(Ct.ajaxSettings,t)},ajaxPrefilter:Y(en),ajaxTransport:Y(nn),ajax:function(t,e){function n(t,e,n,i){var r,o,a,s,u,l=e;h||(h=!0,d&&ut.clearTimeout(d),c=undefined,f=i||"",_.readyState=0<t?4:0,r=200<=t&&t<300||304===t,n&&(s=nt(m,_,n)),!r&&-1<Ct.inArray("script",m.dataTypes)&&Ct.inArray("json",m.dataTypes)<0&&(m.converters["text script"]=function(){}),s=it(m,s,_,r),r?(m.ifModified&&((u=_.getResponseHeader("Last-Modified"))&&(Ct.lastModified[p]=u),(u=_.getResponseHeader("etag"))&&(Ct.etag[p]=u)),204===t||"HEAD"===m.type?l="nocontent":304===t?l="notmodified":(l=s.state,o=s.data,r=!(a=s.error))):(a=l,!t&&l||(l="error",t<0&&(t=0))),_.status=t,_.statusText=(e||l)+"",r?b.resolveWith(y,[o,l,_]):b.rejectWith(y,[_,l,a]),_.statusCode(x),x=undefined,g&&v.trigger(r?"ajaxSuccess":"ajaxError",[_,m,r?o:a]),w.fireWith(y,[_,l]),g&&(v.trigger("ajaxComplete",[_,m]),--Ct.active||Ct.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=undefined),e=e||{};var c,p,f,i,d,r,h,g,o,a,m=Ct.ajaxSetup({},e),y=m.context||m,v=m.context&&(y.nodeType||y.jquery)?Ct(y):Ct.event,b=Ct.Deferred(),w=Ct.Callbacks("once memory"),x=m.statusCode||{},s={},u={},l="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(h){if(!i)for(i={};e=Je.exec(f);)i[e[1].toLowerCase()+" "]=(i[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=i[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?f:null},setRequestHeader:function(t,e){return null==h&&(t=u[t.toLowerCase()]=u[t.toLowerCase()]||t,s[t]=e),this},overrideMimeType:function(t){return null==h&&(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(h)_.always(t[_.status]);else for(e in t)x[e]=[x[e],t[e]];return this},abort:function(t){var e=t||l;return c&&c.abort(e),n(0,e),this}};if(b.promise(_),m.url=((t||m.url||Re.href)+"").replace(tn,Re.protocol+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(Ht)||[""],null==m.crossDomain){r=wt.createElement("a");try{r.href=m.url,r.href=r.href,m.crossDomain=on.protocol+"//"+on.host!=r.protocol+"//"+r.host}catch(E){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Ct.param(m.data,m.traditional)),tt(en,m,e,_),h)return _;for(o in(g=Ct.event&&m.global)&&0==Ct.active++&&Ct.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ye.test(m.type),p=m.url.replace(Ge,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Qe,"+")):(a=m.url.slice(p.length),m.data&&(m.processData||"string"==typeof m.data)&&(p+=(He.test(p)?"&":"?")+m.data,delete m.data),!1===m.cache&&(p=p.replace(Ze,"$1"),a=(He.test(p)?"&":"?")+"_="+$e.guid+++a),m.url=p+a),m.ifModified&&(Ct.lastModified[p]&&_.setRequestHeader("If-Modified-Since",Ct.lastModified[p]),Ct.etag[p]&&_.setRequestHeader("If-None-Match",Ct.etag[p])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&_.setRequestHeader("Content-Type",m.contentType),_.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+rn+"; q=0.01":""):m.accepts["*"]),m.headers)_.setRequestHeader(o,m.headers[o]);
vendor: 4,479 bytes, line 3
3if(m.beforeSend&&(!1===m.beforeSend.call(y,_,m)||h))return _.abort();if(l="abort",w.add(m.complete),_.done(m.success),_.fail(m.error),c=tt(nn,m,e,_)){if(_.readyState=1,g&&v.trigger("ajaxSend",[_,m]),h)return _;m.async&&0<m.timeout&&(d=ut.setTimeout(function(){_.abort("timeout")},m.timeout));try{h=!1,c.send(s,n)}catch(E){if(h)throw E;n(-1,E)}}else n(-1,"No Transport");return _},getJSON:function(t,e,n){return Ct.get(t,e,n,"json")},getScript:function(t,e){return Ct.get(t,undefined,e,"script")}}),Ct.each(["get","post"],function(t,r){Ct[r]=function(t,e,n,i){return vt(e)&&(i=i||n,n=e,e=undefined),Ct.ajax(Ct.extend({url:t,type:r,dataType:i,data:e,success:n},Ct.isPlainObject(t)&&t))}}),Ct.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),Ct._evalUrl=function(t,e,n){return Ct.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){Ct.globalEval(t,e,n)}})},Ct.fn.extend({wrapAll:function(t){var e;return this[0]&&(vt(t)&&(t=t.call(this[0])),e=Ct(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(n){return vt(n)?this.each(function(t){Ct(this).wrapInner(n.call(this,t))}):this.each(function(){var t=Ct(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=vt(e);return this.each(function(t){Ct(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){Ct(this).replaceWith(this.childNodes)}),this}}),Ct.expr.pseudos.hidden=function(t){return!Ct.expr.pseudos.visible(t)},Ct.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},Ct.ajaxSettings.xhr=function(){try{return new ut.XMLHttpRequest}catch(t){}};var an={0:200,1223:204},sn=Ct.ajaxSettings.xhr();yt.cors=!!sn&&"withCredentials"in sn,yt.ajax=sn=!!sn,Ct.ajaxTransport(function(o){var a,s;if(yt.cors||sn&&!o.crossDomain)return{send:function(t,e){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)i.setRequestHeader(n,t[n]);a=function(t){return function(){a&&(a=s=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===t?i.abort():"error"===t?"number"!=typeof i.status?e(0,"error"):e(i.status,i.statusText):e(an[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=a(),s=i.onerror=i.ontimeout=a("error"),i.onabort!==undefined?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&ut.setTimeout(function(){a&&s()})},a=a("abort");try{i.send(o.hasContent&&o.data||null)}catch(r){if(a)throw r}},abort:function(){a&&a()}}}),Ct.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),Ct.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return Ct.globalEval(t),t}}}),Ct.ajaxPrefilter("script",function(t){t.cache===undefined&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Ct.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(t,e){i=Ct("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(t){i.remove(),r=null,t&&e("error"===t.type?404:200,t.type)}),wt.head.appendChild(i[0])},abort:function(){r&&r()}}});var un,ln=[],cn=/(=)\?(?=&|$)|\?\?/;Ct.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ln.pop()||Ct.expando+"_"+$e.guid++;return this[t]=!0,t}}),Ct.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,o,a=!1!==t.jsonp&&(cn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&cn.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=vt(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(cn,"$1"+i):!1!==t.jsonp&&(t.url+=(He.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||Ct.error(i+" was not called"),o[0]}
vendor: 4,897 bytes, lines 3-4
3,t.dataTypes[0]="json",r=ut[i],ut[i]=function(){o=arguments},n.always(function(){r===undefined?Ct(ut).removeProp(i):ut[i]=r,t[i]&&(t.jsonpCallback=e.jsonpCallback,ln.push(i)),o&&vt(r)&&r(o[0]),o=r=undefined}),"script"}),yt.createHTMLDocument=((un=wt.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===un.childNodes.length),Ct.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(yt.createHTMLDocument?((i=(e=wt.implementation.createHTMLDocument("")).createElement("base")).href=wt.location.href,e.head.appendChild(i)):e=wt),o=!n&&[],(r=It.exec(t))?[e.createElement(r[1])]:(r=_([t],e,o),o&&o.length&&Ct(o).remove(),Ct.merge([],r.childNodes)));var i,r,o},Ct.fn.load=function(t,e,n){var i,r,o,a=this,s=t.indexOf(" ");return-1<s&&(i=G(t.slice(s)),t=t.slice(0,s)),vt(e)?(n=e,e=undefined):e&&"object"==typeof e&&(r="POST"),0<a.length&&Ct.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?Ct("<div>").append(Ct.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},Ct.expr.pseudos.animated=function(e){return Ct.grep(Ct.timers,function(t){return e===t.elem}).length},Ct.offset={setOffset:function(t,e,n){var i,r,o,a,s,u,l=Ct.css(t,"position"),c=Ct(t),p={};"static"===l&&(t.style.position="relative"),s=c.offset(),o=Ct.css(t,"top"),u=Ct.css(t,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(i=c.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(u)||0),vt(e)&&(e=e.call(t,n,Ct.extend({},s))),null!=e.top&&(p.top=e.top-s.top+a),null!=e.left&&(p.left=e.left-s.left+r),"using"in e?e.using.call(t,p):c.css(p)}},Ct.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){Ct.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===Ct.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===Ct.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=Ct(t).offset()).top+=Ct.css(t,"borderTopWidth",!0),r.left+=Ct.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-Ct.css(i,"marginTop",!0),left:e.left-r.left-Ct.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===Ct.css(t,"position");)t=t.offsetParent;return t||ee})}}),Ct.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var o="pageYOffset"===r;Ct.fn[e]=function(t){return Ut(this,function(t,e,n){var i;if(bt(t)?i=t:9===t.nodeType&&(i=t.defaultView),n===undefined)return i?i[r]:t[e];i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):t[e]=n},e,t,arguments.length)}}),Ct.each(["top","left"],function(t,n){Ct.cssHooks[n]=P(yt.pixelPosition,function(t,e){if(e)return e=N(t,n),ye.test(e)?Ct(t).position()[n]+"px":e})}),Ct.each({Height:"height",Width:"width"},function(a,s){Ct.each({padding:"inner"+a,content:s,"":"outer"+a},function(i,o){Ct.fn[o]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),r=i||(!0===t||!0===e?"margin":"border");return Ut(this,function(t,e,n){var i;return bt(t)?0===o.indexOf("outer")?t["inner"+a]:t.document.documentElement["client"+a]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+a],i["scroll"+a],t.body["offset"+a],i["offset"+a],i["client"+a])):n===undefined?Ct.css(t,e,r):Ct.style(t,e,n,r)},s,n?t:undefined,n)}})}),Ct.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Ct.fn[e]=function(t){return this.on(e,t)}}),Ct.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),Ct.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){Ct.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}});var pn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Ct.proxy=function(t,e){var n,i,r;return"string"==typeof e&&(n=t[e],e=t,t=n),vt(t)?(i=pt.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(pt.call(arguments)))}).guid=t.guid=t.guid||Ct.guid++,r):undefined}, 4Ct.holdReady=function(t){t?Ct.readyWait++:Ct.ready(!0)},Ct.isArray=Array.isArray,Ct.parseJSON=JSON.parse,Ct.nodeName=lt,Ct.is
4Function=vt,Ct.isWindow=bt,Ct.camelCase=d,Ct.type=m,Ct.now=Date.now,Ct.isNumeric=function(t){var e=Ct.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},Ct.trim=function(t){return null==t?"":(t+"").replace(pn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ct});var fn=ut.jQuery,dn=ut.$;return Ct.noConflict=function(t){return ut.$===Ct&&(ut.$=dn),t&&ut.jQuery===Ct&&(ut.jQuery=fn),Ct},void 0===t&&(ut.jQuery=ut.$=Ct),Ct}),function(){"use strict";var t=function(c,u){var l;c.rails!==u&&c.error("jquery-ujs has already been loaded!");var t=c(document);c.rails=l={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form:not([data-turbo=true])",formInputClickSelector:"form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return c("meta[name=csrf-token]").attr("content")},csrfParam:function(){return c("meta[name=csrf-param]").attr("content")},CSRFProtection:function(t){var e=l.csrfToken();e&&t.setRequestHeader("X-CSRF-Token",e)},refreshCSRFTokens:function(){c('form input[name="'+l.csrfParam()+'"]').val(l.csrfToken())},fire:function(t,e,n){var i=c.Event(e);return t.trigger(i,n),!1!==i.result},confirm:function(t){return confirm(t)},ajax:function(t){return c.ajax(t)},href:function(t){return t[0].href},isRemote:function(t){return t.data("remote")!==u&&!1!==t.data("remote")},handleRemote:function(i){var t,e,n,r,o,a;if(l.fire(i,"ajax:before")){if(r=i.data("with-credentials")||null,o=i.data("type")||c.ajaxSettings&&c.ajaxSettings.dataType,i.is("form")){t=i.data("ujs:submit-button-formmethod")||i.attr("method"),e=i.data("ujs:submit-button-formaction")||i.attr("action"),n=c(i[0]).serializeArray();var s=i.data("ujs:submit-button");s&&(n.push(s),i.data("ujs:submit-button",null)),i.data("ujs:submit-button-formmethod",null),i.data("ujs:submit-button-formaction",null)}else i.is(l.inputChangeSelector)?(t=i.data("method"),e=i.data("url"),n=i.serialize(),i.data("params")&&(n=n+"&"+i.data("params"))):i.is(l.buttonClickSelector)?(t=i.data("method")||"get",e=i.data("url"),n=i.serialize(),i.data("params")&&(n=n+"&"+i.data("params"))):(t=i.data("method"),e=l.href(i),n=i.data("params")||null);return a={type:t||"GET",data:n,dataType:o,beforeSend:function(t,e){if(e.dataType===u&&t.setRequestHeader("accept","*/*;q=0.5, "+e.accepts.script),!l.fire(i,"ajax:beforeSend",[t,e]))return!1;i.trigger("ajax:send",t)},success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossDomain:l.isCrossDomain(e)},r&&(a.xhrFields={withCredentials:r}),e&&(a.url=e),l.ajax(a)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||e.protocol+"//"+e.host==n.protocol+"//"+n.host)}catch(i){return!0}},handleMethod:function(t){var e=l.href(t),n=t.data("method"),i=t.attr("target"),r=l.csrfToken(),o=l.csrfParam(),a=c('<form method="post" action="'+e+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';o===u||r===u||l.isCrossDomain(e)||(s+='<input name="'+o+'" value="'+r+'" type="hidden" />'),i&&a.attr("target",i),a.hide().append(s).appendTo("body"),a.submit()},formElements:function(t,e){return t.is("form")?c(t[0].elements).filter(e):t.find(e)},disableFormElements:function(t){l.formElements(t,l.disableSelector).each(function(){l.disableFormElement(c(this))})},disableFormElement:function(t){var e,n;e=t.is("button")?"html":"val",(n=t.data("disable-with"))!==u&&(t.data("ujs:enable-with",t[e]()),t[e](n)),t.prop("disabled",!0),t.data("ujs:disabled",!0)},enableFormElements:function(t){l.formElements(t,l.enableSelector).each(function(){l.enableFormElement(c(this))})},enableFormElement:function(t){var e=t.is("button")?"html":"val";t.data("ujs:enable-with")!==u&&(t[e](t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.prop("disabled",!1),t.removeData("ujs:disabled")},allowAction:function(t){var e,n=t.data("confirm"),i=!1;if(!n)return!0;
4if(l.fire(t,"confirm")){try{i=l.confirm(n)}catch(r){(console.error||console.log).call(console,r.stack||r)}e=l.fire(t,"confirm:complete",[i])}return i&&e},blankInputs:function(t,e,n){var i,r,o,a=c(),s=e||"input,textarea",u=t.find(s),l={};return u.each(function(){(i=c(this)).is("input[type=radio]")?(o=i.attr("name"),l[o]||(0===t.find('input[type=radio]:checked[name="'+o+'"]').length&&(r=t.find('input[type=radio][name="'+o+'"]'),a=a.add(r)),l[o]=o)):(i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):!!i.val())===n&&(a=a.add(i))}),!!a.length&&a},nonBlankInputs:function(t,e){return l.blankInputs(t,e,!0)},stopEverything:function(t){return c(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},disableElement:function(t){var e=t.data("disable-with");e!==u&&(t.data("ujs:enable-with",t.html()),t.html(e)),t.on("click.railsDisable",function(t){return l.stopEverything(t)}),t.data("ujs:disabled",!0)},enableElement:function(t){t.data("ujs:enable-with")!==u&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.off("click.railsDisable"),t.removeData("ujs:disabled")}},l.fire(t,"rails:attachBindings")&&(c.ajaxPrefilter(function(t,e,n){t.crossDomain||l.CSRFProtection(n)}),c(window).on("pageshow.rails",function(){c(c.rails.enableSelector).each(function(){var t=c(this);t.data("ujs:disabled")&&c.rails.enableFormElement(t)}),c(c.rails.linkDisableSelector).each(function(){var t=c(this);t.data("ujs:disabled")&&c.rails.enableElement(t)})}),t.on("ajax:complete",l.linkDisableSelector,function(){l.enableElement(c(this))}),t.on("ajax:complete",l.buttonDisableSelector,function(){l.enableFormElement(c(this))}),t.on("click.rails",l.linkClickSelector,function(t){var e=c(this),n=e.data("method"),i=e.data("params"),r=t.metaKey||t.ctrlKey;if(!l.allowAction(e))return l.stopEverything(t);if(!r&&e.is(l.linkDisableSelector)&&l.disableElement(e),l.isRemote(e)){if(r&&(!n||"GET"===n)&&!i)return!0;var o=l.handleRemote(e);return!1===o?l.enableElement(e):o.fail(function(){l.enableElement(e)}),!1}return n?(l.handleMethod(e),!1):void 0}),t.on("click.rails",l.buttonClickSelector,function(t){var e=c(this);if(!l.allowAction(e)||!l.isRemote(e))return l.stopEverything(t);e.is(l.buttonDisableSelector)&&l.disableFormElement(e);var n=l.handleRemote(e);return!1===n?l.enableFormElement(e):n.fail(function(){l.enableFormElement(e)}),!1}),t.on("change.rails",l.inputChangeSelector,function(t){var e=c(this);return l.allowAction(e)&&l.isRemote(e)?(l.handleRemote(e),!1):l.stopEverything(t)}),t.on("submit.rails",l.formSubmitSelector,function(t){var e,n,i=c(this),r=l.isRemote(i);if(!l.allowAction(i))return l.stopEverything(t);if(i.attr("novalidate")===u)if(i.data("ujs:formnovalidate-button")===u){if((e=l.blankInputs(i,l.requiredInputSelector,!1))&&l.fire(i,"ajax:aborted:required",[e]))return l.stopEverything(t)}else i.data("ujs:formnovalidate-button",u);if(r){if(n=l.nonBlankInputs(i,l.fileInputSelector)){setTimeout(function(){l.disableFormElements(i)},13);var o=l.fire(i,"ajax:aborted:file",[n]);return o||setTimeout(function(){l.enableFormElements(i)},13),o}return l.handleRemote(i),!1}setTimeout(function(){l.disableFormElements(i)},13)}),t.on("click.rails",l.formInputClickSelector,function(t){var e=c(this);if(!l.allowAction(e))return l.stopEverything(t);var n=e.attr("name"),i=n?{name:n,value:e.val()}:null,r=e.closest("form");0===r.length&&(r=c("#"+e.attr("form"))),r.data("ujs:submit-button",i),r.data("ujs:formnovalidate-button",e.attr("formnovalidate")),r.data("ujs:submit-button-formaction",e.attr("formaction")),r.data("ujs:submit-button-formmethod",e.attr("formmethod"))}),t.on("ajax:send.rails",l.formSubmitSelector,function(t){this===t.target&&l.disableFormElements(c(this))}),t.on("ajax:complete.rails",l.formSubmitSelector,function(t){this===t.target&&l.enableFormElements(c(this))}),c(function(){l.refreshCSRFTokens()}))};window.jQuery?t(jQuery):"object"==typeof exports&&"object"==typeof module&&(module.exports=t)}(),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(c){var o,n=0,s=Array.prototype.slice;c.cleanData=(o=c.cleanData,function(t){var e,n,i;for(i=0;null!=(n=t[i]);i++)try{(e=c._data(n,"events"))&&e.remove&&c(n).triggerHandler("remove")}catch(r){}o(t)}),c.widget=function(t,n,e){var i,r,o,a,s={},u=t.split(".")[0];return t=t.split(".")[1],i=u+"-"+t,e||(e=n,n=c.Widget),c.expr[":"][i.toLowerCase()]=function(t){return!!c.data(t,i)},c[u]=c[u]||{},r=c[u][t],o=c[u][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},c.extend(o,r,{version:e.version,_proto:c.extend({},e),_childConstructors:[]}),(a=new n).options=c.widget.extend({},a.options),c.each(e,function(e,i){var r,o;c.isFunction(i)?s[e]=(r=function(){return n.prototype[e].apply(this,arguments)},o=function(t){return n.prototype[e].apply(this,t)},function(){var t,e=this._super,n=this._superApply;return this._super=r,this._superApply=o,t=i.apply(this,arguments),this._super=e,this._superApply=n,t}):s[e]=i}),o.prototype=c.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||t},s,{constructor:o,namespace:u,widgetName:t,widgetFullName:i}),r?(c.each(r._childConstructors,function(t,e){var n=e.prototype;c.widget(n.namespace+"."+n.widgetName,o,e._proto)}),delete r._childConstructors):n._childConstructors.push(o),c.widget.bridge(t,o),o}
4,c.widget.extend=function(t){for(var e,n,i=s.call(arguments,1),r=0,o=i.length;r<o;r++)for(e in i[r])n=i[r][e],i[r].hasOwnProperty(e)&&n!==undefined&&(c.isPlainObject(n)?t[e]=c.isPlainObject(t[e])?c.widget.extend({},t[e],n):c.widget.extend({},n):t[e]=n);return t},c.widget.bridge=function(o,e){var a=e.prototype.widgetFullName||o;c.fn[o]=function(n){var t="string"==typeof n,i=s.call(arguments,1),r=this;return t?this.each(function(){var t,e=c.data(this,a);return"instance"===n?(r=e,!1):e?c.isFunction(e[n])&&"_"!==n.charAt(0)?(t=e[n].apply(e,i))!==e&&t!==undefined?(r=t&&t.jquery?r.pushStack(t.get()):t,!1):void 0:c.error("no such method '"+n+"' for "+o+" widget instance"):c.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+n+"'")}):(i.length&&(n=c.widget.extend.apply(null,[n].concat(i))),this.each(function(){var t=c.data(this,a);t?(t.option(n||{}),t._init&&t._init()):c.data(this,a,new e(n,this))})),r}},c.Widget=function(){},c.Widget._childConstructors=[],c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=c(e||this.defaultElement||this)[0],this.element=c(e),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=c(),this.hoverable=c(),this.focusable=c(),e!==this&&(c.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=c(e.style?e.ownerDocument:e.document||e),this.window=c(this.document[0].defaultView||this.document[0].parentWindow)),this.options=c.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:c.noop,_getCreateEventData:c.noop,_create:c.noop,_init:c.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(c.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:c.noop,widget:function(){return this.element},option:function(t,e){var n,i,r,o=t;if(0===arguments.length)return c.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(n=t.split(".")).shift(),n.length){for(i=o[t]=c.widget.extend({},this.options[t]),r=0;r<n.length-1;r++)i[n[r]]=i[n[r]]||{},i=i[n[r]];if(t=n.pop(),1===arguments.length)return i[t]===undefined?null:i[t];i[t]=e}else{if(1===arguments.length)return this.options[t]===undefined?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!e),e&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(a,s,t){var u,l=this;"boolean"!=typeof a&&(t=s,s=a,a=!1),t?(s=u=c(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,u=this.widget()),c.each(t,function(t,e){function n(){if(a||!0!==l.options.disabled&&!c(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(n.guid=e.guid=e.guid||n.guid||c.guid++);var i=t.match(/^([\w:-]*)\s*(.*)$/),r=i[1]+l.eventNamespace,o=i[2];o?u.delegate(o,r,n):s.bind(r,n)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e),this.bindings=c(this.bindings.not(t).get()),this.focusable=c(this.focusable.not(t).get()),this.hoverable=c(this.hoverable.not(t).get())},_delay:function(t,e){function n(){return("string"==typeof t?i[t]:t).apply(i,arguments)}var i=this;return setTimeout(n,e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){c(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){c(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){c(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){c(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,n){var i,r,o=this.options[t];if(n=n||{},(e=c.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],r=e.originalEvent)for(i in r)i in e||(e[i]=r[i]);return this.element.trigger(e,n),!(c.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(n))||e.isDefaultPrevented())}},c.each({show:"fadeIn",hide:"fadeOut"},function(o,a){c.Widget.prototype["_"+o]=function(e,t,n){"string"==typeof t&&(t={effect:t});var i,r=t?!0===t||"number"==typeof t?a:t.effect||a:o;"number"==typeof(t=t||{})&&(t={duration:t}),i=!c.isEmptyObject(t),t.complete=n,t.delay&&e.delay(t.delay),i&&c.effects&&c.effects.effect[r]?e[o](t):r!==o&&e[r]?e[r](t.duration,t.easing,n):e.queue(function(t){c(this)[o](),n&&n.call(e[0]),t()})}});c.widget}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery)}(function(u){"use strict";var i=0;u.ajaxTransport("iframe",function(r){if(r.async){var o,a,e,s=r.initialIframeSrc||"javascript:false;";return{send:function(t,n){(o=u('<form style="display:none;"></form>')).attr("accept-charset",r.formAcceptCharset),e=/\?/.test(r.url)?"&":"?","DELETE"===r.type?(r.url=r.url+e+"_method=DELETE",r.type="POST"):"PUT"===r.type?(r.url=r.url+e+"_method=PUT",r.type="POST"):"PATCH"===r.type&&(r.url=r.url+e+"_method=PATCH",r.type="POST"),a=u('<iframe src="'+s+'" name="iframe-transport-'+(i+=1)+'"></iframe>').bind("load",function(){var i,e=u.isArray(r.paramName)?r.paramName:[r.paramName];a.unbind("load").bind("load",function(){var t;try{if(!(t=a.contents()).length||!t[0].firstChild)throw new Error}catch(e){t=undefined}n(200,"success",{iframe:t}),u('<iframe src="'+s+'"></iframe>').appendTo(o),window.setTimeout(function(){o.remove()},0)}),o.prop("target",a.prop("name")).prop("action",r.url).prop("method",r.type),r.formData&&u.each(r.formData,function(t,e){u('<input type="hidden"/>').prop("name",e.name).val(e.value).appendTo(o)}),r.fileInput&&r.fileInput.length&&"POST"===r.type&&(i=r.fileInput.clone(),r.fileInput.after(function(t){return i[t]}),r.paramName&&r.fileInput.each(function(t){u(this).prop("name",e[t]||r.paramName)}),o.append(r.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),r.fileInput.removeAttr("form")),o.submit(),i&&i.length&&r.fileInput.each(function(t,e){var n=u(i[t]);u(e).prop("name",n.prop("name")).attr("form",n.attr("form")),n.replaceWith(e)})}),o.append(a).appendTo(document.body)},abort:function(){a&&a.unbind("load").prop("src",s),o&&o.remove()}}}}),u.ajaxSetup({converters:{"iframe text":function(t){return t&&u(t[0].body).text()},"iframe json":function(t){return t&&u.parseJSON(u(t[0].body).text())},"iframe html":function(t){return t&&u(t[0].body).html()},"iframe xml":function(t){var e=t&&t[0];return e&&u.isXMLDoc(e)?e:u.parseXML(e.XMLDocument&&e.XMLDocument.xml||u(e.body).html())},"iframe script":function(t){return t&&u.globalEval(u(t[0].body).text())}}})}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery.ui.widget"],t):"object"==typeof exports?t(require("jquery"),require("./vendor/jquery.ui.widget")):t(window.jQuery)}(function(y){"use strict";function t(n){var i="dragover"===n;return function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var e=t.dataTransfer;e&&-1!==y.inArray("Files",e.types)&&!1!==this._trigger(n,y.Event(n,{delegatedEvent:t}))&&(t.preventDefault(),i&&(e.dropEffect="copy"))}}y.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||y('<input type="file">').prop("disabled")),y.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),y.support.xhrFormDataFileUpload=!!window.FormData,y.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),y.widget("blueimp.fileupload",{options:{dropZone:y(document),pasteZone:undefined,fileInput:undefined,replaceFileInput:!0,paramName:undefined,singleFileUploads:!0,limitMultiFileUploads:undefined,limitMultiFileUploadSize:undefined,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:undefined,forceIframeTransport:!1,redirect:undefined,redirectParamName:undefined,postMessage:undefined,multipart:!0,maxChunkSize:undefined,uploadedBytes:undefined,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(n,t){return n=this.messages[n]||n.toString(),t&&y.each(t,function(t,e){n=n.replace("{"+t+"}",e)}),n},formData:function(t){return t.serializeArray()},add:function(t,e){if(t.isDefaultPrevented())return!1;(e.autoUpload||!1!==e.autoUpload&&y(this).fileupload("option","autoUpload"))&&e.process().done(function(){e.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:y.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return(!this.bitrate||!n||n<i)&&(this.bitrate=(e-this.loaded)*(1e3/i)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(t){return!t.forceIframeTransport&&(!t.multipart&&y.support.xhrFileUpload||y.support.xhrFormDataFileUpload)},_getFormData:function(t){var n;return"function"===y.type(t.formData)?t.formData(t.form):y.isArray(t.formData)?t.formData:"object"===y.type(t.formData)?(n=[],y.each(t.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(t){var n=0;return y.each(t,function(t,e){n+=e.size||1}),n},_initProgressObject:function(t){var e={loaded:0,total:0,bitrate:0};t._progress?y.extend(t._progress,e):t._progress=e},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(t,e){if(t.lengthComputable){var n,i=Date.now?Date.now():(new Date).getTime();if(e._time&&e.progressInterval&&i-e._time<e.progressInterval&&t.loaded!==t.total)return;e._time=i,n=Math.floor(t.loaded/t.total*(e.chunkSize||e._progress.total))+(e.uploadedBytes||0),this._progress.loaded+=n-e._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(i,this._progress.loaded,e.bitrateInterval),e._progress.loaded=e.loaded=n,e._progress.bitrate=e.bitrate=e._bitrateTimer.getBitrate(i,n,e.bitrateInterval),this._trigger("progress",y.Event("progress",{delegatedEvent:t}),e),this._trigger("progressall",y.Event("progressall",{delegatedEvent:t}),this._progress)}},_initProgressListener:function(n){var i=this,t=n.xhr?n.xhr():y.ajaxSettings.xhr();t.upload&&(y(t.upload).bind("progress",function(t){var e=t.originalEvent;t.lengthComputable=e.lengthComputable,t.loaded=e.loaded,t.total=e.total,i._onProgress(t,n)}),n.xhr=function(){return t})},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_initXHRData:function(n){var i,r=this,t=n.files[0],e=n.multipart||!y.support.xhrFileUpload,o="array"===y.type(n.paramName)?n.paramName[0]:n.paramName;n.headers=y.extend({},n.headers),n.contentRange&&(n.headers["Content-Range"]=n.contentRange),e&&!n.blob&&this._isInstanceOf("File",t)||(n.headers["Content-Disposition"]='attachment; filename="'+encodeURI(t.name)+'"'),e?y.support.xhrFormDataFileUpload&&(n.postMessage?(i=this._getFormData(n),n.blob?i.push({name:o,value:n.blob}):y.each(n.files,function(t,e){i.push({name:"array"===y.type(n.paramName)&&n.paramName[t]||o,value:e})})):(r._isInstanceOf("FormData",n.formData)?i=n.formData:(i=new FormData,y.each(this._getFormData(n),function(t,e){i.append(e.name,e.value)})),n.blob?i.append(o,n.blob,t.name):y.each(n.files,function(t,e){(r._isInstanceOf("File",e)||r._isInstanceOf("Blob",e))&&i.append("array"===y.type(n.paramName)&&n.paramName[t]||o,e,e.uploadName||e.name)})),n.data=i):(n.contentType=t.type||"application/octet-stream",n.data=n.blob||t),n.blob=null},_initIframeSettings:function(t){var e=y("<a></a>").prop("href",t.url).prop("host");t.dataType="iframe "+(t.dataType||""),t.formData=this._getFormData(t),t.redirect&&e&&e!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(t){var e=y(t.fileInput),i=t.paramName;return i?y.isArray(i)||(i=[i]):(i=[],e.each(function(){for(var t=y(this),e=t.prop("name")||"files[]",n=(t.prop("files")||[1]).length;n;)i.push(e),n-=1}),i.length||(i=[e.prop("name")||"files[]"])),i},_initFormSettings:function(t){t.form&&t.form.length||(t.form=y(t.fileInput.prop("form")),t.form.length||(t.form=y(this.options.fileInput.prop("form")))),t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||"string"===y.type(t.form.prop("method"))&&t.form.prop("method")||"").toUpperCase(),"POST"!==t.type&&"PUT"!==t.type&&"PATCH"!==t.type&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){var e=y.extend({},this.options,t);return this._initFormSettings(e),this._initDataSettings(e),e}
4,_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(t,e,n){var i=y.Deferred(),r=i.promise();return e=e||this.options.context||r,!0===t?i.resolveWith(e,n):!1===t&&i.rejectWith(e,n),r.abort=i.promise,this._enhancePromise(r)},_addConvenienceMethods:function(t,n){var i=this,r=function(t){return y.Deferred().resolveWith(i,t).promise()};n.process=function(t,e){return(t||e)&&(n._processQueue=this._processQueue=(this._processQueue||r([this])).pipe(function(){return n.errorThrown?y.Deferred().rejectWith(i,[n]).promise():r(arguments)}).pipe(t,e)),this._processQueue||r([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==i._trigger("submit",y.Event("submit",{delegatedEvent:t}),this)&&i._onSend(t,this)),this.jqXHR||i._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",i._trigger("fail",null,this),i._getXHRPromise(!1))},n.state=function(){return this.jqXHR?i._getDeferredState(this.jqXHR):this._processQueue?i._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===i._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),i=n&&1<n.length&&parseInt(n[1],10);return i&&i+1},_chunkedUpload:function(o,t){o.uploadedBytes=o.uploadedBytes||0;var e,a,s=this,n=o.files[0],u=n.size,l=o.uploadedBytes,c=o.maxChunkSize||u,p=this._blobSlice,f=y.Deferred(),i=f.promise();return!(!(this._isXHRUpload(o)&&p&&(l||c<u))||o.data)&&(!!t||(u<=l?(n.error=o.i18n("uploadedBytes"),this._getXHRPromise(!1,o.context,[null,"error",n.error])):(a=function(){var i=y.extend({},o),r=i._progress.loaded;i.blob=p.call(n,l,l+c,n.type),i.chunkSize=i.blob.size,i.contentRange="bytes "+l+"-"+(l+i.chunkSize-1)+"/"+u,s._initXHRData(i),s._initProgressListener(i),e=(!1!==s._trigger("chunksend",null,i)&&y.ajax(i)||s._getXHRPromise(!1,i.context)).done(function(t,e,n){l=s._getUploadedBytes(n)||l+i.chunkSize,r+i.chunkSize-i._progress.loaded&&s._onProgress(y.Event("progress",{lengthComputable:!0,loaded:l-i.uploadedBytes,total:l-i.uploadedBytes}),i),o.uploadedBytes=i.uploadedBytes=l,i.result=t,i.textStatus=e,i.jqXHR=n,s._trigger("chunkdone",null,i),s._trigger("chunkalways",null,i),l<u?a():f.resolveWith(i.context,[t,e,n])}).fail(function(t,e,n){i.jqXHR=t,i.textStatus=e,i.errorThrown=n,s._trigger("chunkfail",null,i),s._trigger("chunkalways",null,i),f.rejectWith(i.context,[t,e,n])})},this._enhancePromise(i),i.abort=function(){return e.abort()},a(),i)))},_beforeSend:function(t,e){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(e),this._initProgressObject(e),e._progress.loaded=e.loaded=e.uploadedBytes||0,e._progress.total=e.total=this._getTotal(e.files)||1,e._progress.bitrate=e.bitrate=0,this._active+=1,this._progress.loaded+=e.loaded,this._progress.total+=e.total},_onDone:function(t,e,n,i){var r=i._progress.total,o=i._response;i._progress.loaded<r&&this._onProgress(y.Event("progress",{lengthComputable:!0,loaded:r,total:r}),i),o.result=i.result=t,o.textStatus=i.textStatus=e,o.jqXHR=i.jqXHR=n,this._trigger("done",null,i)},_onFail:function(t,e,n,i){var r=i._response;i.recalculateProgress&&(this._progress.loaded-=i._progress.loaded,this._progress.total-=i._progress.total),r.jqXHR=i.jqXHR=t,r.textStatus=i.textStatus=e,r.errorThrown=i.errorThrown=n,this._trigger("fail",null,i)},_onAlways:function(t,e,n,i){this._trigger("always",null,i)},_onSend:function(t,e){e.submit||this._addConvenienceMethods(t,e);var n,i,r,o,a=this,s=a._getAJAXSettings(e),u=function(){return a._sending+=1,s._bitrateTimer=new a._BitrateTimer,n=n||((i||!1===a._trigger("send",y.Event("send",{delegatedEvent:t}
4),s))&&a._getXHRPromise(!1,s.context,i)||a._chunkedUpload(s)||y.ajax(s)).done(function(t,e,n){a._onDone(t,e,n,s)}).fail(function(t,e,n){a._onFail(t,e,n,s)}).always(function(t,e,n){if(a._onAlways(t,e,n,s),a._sending-=1,a._active-=1,s.limitConcurrentUploads&&s.limitConcurrentUploads>a._sending)for(var i=a._slots.shift();i;){if("pending"===a._getDeferredState(i)){i.resolve();break}i=a._slots.shift()}0===a._active&&a._trigger("stop")})};return this._beforeSend(t,s),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(1<this.options.limitConcurrentUploads?(r=y.Deferred(),this._slots.push(r),o=r.pipe(u)):(this._sequence=this._sequence.pipe(u,u),o=this._sequence),o.abort=function(){return i=[undefined,"abort","abort"],n?n.abort():(r&&r.rejectWith(s.context,i),u())},this._enhancePromise(o)):u()},_onAdd:function(i,r){var o,t,a,e,s=this,u=!0,n=y.extend({},this.options,r),l=r.files,c=l.length,p=n.limitMultiFileUploads,f=n.limitMultiFileUploadSize,d=n.limitMultiFileUploadSizeOverhead,h=0,g=this._getParamName(n),m=0;if(!c)return!1;if(f&&l[0].size===undefined&&(f=undefined),(n.singleFileUploads||p||f)&&this._isXHRUpload(n))if(n.singleFileUploads||f||!p)if(!n.singleFileUploads&&f)for(a=[],o=[],e=0;e<c;e+=1)h+=l[e].size+d,(e+1===c||h+l[e+1].size+d>f||p&&p<=e+1-m)&&(a.push(l.slice(m,e+1)),(t=g.slice(m,e+1)).length||(t=g),o.push(t),m=e+1,h=0);else o=g;else for(a=[],o=[],e=0;e<c;e+=p)a.push(l.slice(e,e+p)),(t=g.slice(e,e+p)).length||(t=g),o.push(t);else a=[l],o=[g];return r.originalFiles=l,y.each(a||l,function(t,e){var n=y.extend({},r);return n.files=a?e:[e],n.paramName=o[t],s._initResponseObject(n),s._initProgressObject(n),s._addConvenienceMethods(i,n),u=s._trigger("add",y.Event("add",{delegatedEvent:i}),n)}),u},_replaceFileInput:function(t){var n=t.fileInput,i=n.clone(!0),e=n.is(document.activeElement);t.fileInputClone=i,y("<form></form>").append(i)[0].reset(),n.after(i).detach(),e&&i.focus(),y.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){var t,i=this,r=y.Deferred(),o=function(t){t&&!t.entry&&(t.entry=e),r.resolve([t])},a=function(t){i._handleFileTreeEntries(t,n+e.name+"/").done(function(t){r.resolve(t)}).fail(o)},s=function(){t.readEntries(function(t){t.length?(u=u.concat(t),s()):a(u)},o)},u=[];return n=n||"",e.isFile?e._file?(e._file.relativePath=n,r.resolve(e._file)):e.file(function(t){t.relativePath=n,r.resolve(t)},o):e.isDirectory?(t=e.createReader(),s()):r.resolve([]),r.promise()},_handleFileTreeEntries:function(t,e){var n=this;return y.when.apply(y,y.map(t,function(t){return n._handleFileTreeEntry(t,e)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){var e=(t=t||{}).items;return e&&e.length&&(e[0].webkitGetAsEntry||e[0].getAsEntry)?this._handleFileTreeEntries(y.map(e,function(t){var e;return t.webkitGetAsEntry?((e=t.webkitGetAsEntry())&&(e._file=t.getAsFile()),e):t.getAsEntry()})):y.Deferred().resolve(y.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){var e,n,i=(t=y(t)).prop("webkitEntries")||t.prop("entries");if(i&&i.length)return this._handleFileTreeEntries(i);if((e=y.makeArray(t.prop("files"))).length)e[0].name===undefined&&e[0].fileName&&y.each(e,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(n=t.prop("value")))return y.Deferred().resolve([]).promise();e=[{name:n.replace(/^.*\\/,"")}]}return y.Deferred().resolve(e).promise()},_getFileInputFiles:function(t){return t instanceof y&&1!==t.length?y.when.apply(y,y.map(t,this._getSingleFileInputFiles)).pipe( 5function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(e){var n=this,i={fileInput:y(e.target),form:y(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(t){i.files=t,n.options.replaceFileInput&&n._replaceFileInput(i),!1!==n._trigger("change",y.Event("change",{delegatedEvent:e}),i)&&n._onAdd(e,i)})},_onPaste:function(t){var e=t.originalEvent&&t.originalEvent.clipboardData&&t.originalEvent.clipboardData.items,i={files:[]};e&&e.length&&(y.each(e,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&i.files.push(n)}),!1!==this._trigger("paste",y.Event("paste",{delegatedEvent:t}),i)&&this._onAdd(t,i))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,t=e.dataTransfer,i={};t&&t.files&&t.files.length&&(e.preventDefault(),this._getDroppedFiles(t).always(function(t){i.files=t,!1!==n._trigger("drop",y.Event("drop",{delegatedEvent:e}),i)&&n._onAdd(e,i)}))},_onDragOver:t("dragover"),_onDragEnter:t("dragenter"),_onDragLeave:t("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),y.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(t,e){var n=-1!==y.inArray(t,this._specialOptions);n&&this._destroyEventHandlers(),this._super(t,e),n&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;t.fileInput===undefined?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof y||(t.fileInput=y(t.fileInput)),t.dropZone instanceof y||(t.dropZone=y(t.dropZone)),t.pasteZone instanceof y||(t.pasteZone=y(t.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(t,e){return"url"!==t&&"string"===y.type(e)&&/^\/.*\/[igm]{0,3}$/.test(e)},_initDataAttributes:function(){var r=this,o=this.options,a=this.element.data();y.each(this.element[0].attributes,function(t,e){var n,i=e.name.toLowerCase();/^data-/.test(i)&&(i=i.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),n=a[i],r._isRegExpOption(i,n)&&(n=r._getRegExp(n)),o[i]=n)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=y.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,r=this,o=y.Deferred(),t=o.promise();return t.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),t)},this._getFileInputFiles(e.fileInput).always(function(t){i||(t.length?(e.files=t,(n=r._onSend(null,e)).then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)}
5)):o.reject())}),this._enhancePromise(t)}if(e.files=y.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})}),function(u,i,t,l){var r=u(i);u.fn.lazyload=function(t){function e(){var e=0;a.each(function(){var t=u(this);if(!s.skip_invisible||t.is(":visible"))if(u.abovethetop(this,s)||u.leftofbegin(this,s));else if(u.belowthefold(this,s)||u.rightoffold(this,s)){if(++e>s.failure_limit)return!1}else t.trigger("appear"),e=0})}var n,a=this,s={threshold:0,failure_limit:0,event:"scroll.lazyload",effect:"show",container:i,data_attribute:"original",data_srcset:"srcset",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/gif;base64,R0lGODdhAQABAPAAAMPDwwAAACwAAAAAAQABAAACAkQBADs="};return t&&(l!==t.failurelimit&&(t.failure_limit=t.failurelimit,delete t.failurelimit),l!==t.effectspeed&&(t.effect_speed=t.effectspeed,delete t.effectspeed),u.extend(s,t)),n=s.container===l||s.container===i?r:u(s.container),0===s.event.indexOf("scroll")&&n.off(s.event).on(s.event,function(){return e()}),this.each(function(){var r=this,o=u(r);r.loaded=!1,o.attr("src")!==l&&!1!==o.attr("src")||o.is("img")&&o.attr("src",s.placeholder),o.one("appear",function(){if(!this.loaded){if(s.appear){var t=a.length;s.appear.call(r,t,s)}u("<img />").one("load",function(){var t=o.attr("data-"+s.data_attribute),e=o.attr("data-"+s.data_srcset);t!=o.attr("src")&&(o.hide(),o.is("img")&&(o.attr("src",t),null!=e&&o.attr("srcset",e)),o.is("video")?o.attr("poster",t):o.css("background-image","url('"+t+"')"),o[s.effect](s.effect_speed)),r.loaded=!0;var n=u.grep(a,function(t){return!t.loaded});if(a=u(n),s.load){var i=a.length;s.load.call(r,i,s)}}).attr({src:o.attr("data-"+s.data_attribute),srcset:o.attr("data-"+s.data_srcset)||""})}}),0!==s.event.indexOf("scroll")&&o.off(s.event).on(s.event,function(){r.loaded||o.trigger("appear")})}),r.off("resize.lazyload").bind("resize.lazyload",function(){e()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&r.on("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&a.each(function(){u(this).trigger("appear")})}),u(function(){e()}),this},u.belowthefold=function(t,e){return(e.container===l||e.container===i?(i.innerHeight?i.innerHeight:r.height())+r.scrollTop():u(e.container).offset().top+u(e.container).height())<=u(t).offset().top-e.threshold},u.rightoffold=function(t,e){return(e.container===l||e.container===i?r.width()+r.scrollLeft():u(e.container).offset().left+u(e.container).width())<=u(t).offset().left-e.threshold},u.abovethetop=function(t,e){return(e.container===l||e.container===i?r.scrollTop():u(e.container).offset().top)>=u(t).offset().top+e.threshold+u(t).height()},u.leftofbegin=function(t,e){return(e.container===l||e.container===i?r.scrollLeft():u(e.container).offset().left)>=u(t).offset().left+e.threshold+u(t).width()},u.inviewport=function(t,e){return!(u.rightoffold(t,e)||u.leftofbegin(t,e)||u.belowthefold(t,e)||u.abovethetop(t,e))},u.extend(u.expr[":"],{"below-the-fold":function(t){return u.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!u.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return u.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!u.rightoffold(t,{threshold:0})},"in-viewport":function(t){return u.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!u.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return u.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!u.rightoffold(t,{threshold:0})}})}(jQuery,window,document);var slice=[].slice,extend=function(t,e){function n(){this.constructor=t}for(var i in e)hasProp.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},hasProp={}.hasOwnProperty;!function(t,e){var n,i,r,o;if("function"==typeof define&&define.amd)return define(["jquery"],e);if("object"==typeof exports)return module.exports=e(require("jquery"));for(n in t.cloudinary||(t.cloudinary={}),r=[],i=e(jQuery))o=i[n],r.push(t.cloudinary[n]=o)}(this,function(l){var s,t,e,p,n,u,r,w,i,o,E,g,a,c,f,d,h,m,y,C,v,x,D,T,b,_,A,S,k,j,F,O,B,N,P,I,L,M,R,$,H,q,z,U,W,V,X,Q,G,Z,J,K,Y,tt,et,nt,it,rt,ot,at,st,ut,lt,ct,pt,ft,dt;return _=function(t){var e,n,i;for(n=0,i=t.length;n<i;n++)if(e=t[n],!D.isString(e))return!1;return!0},pt=function(t,e){var n,i,r;for(r=[],n=-1,i=t.length;++n<i;)t[n]!==e&&r.push(t[n]);return r},W=function(t){return null!=t&&!isNaN(parseFloat(t))},rt=function(t,e){return null==e&&(e=/([^a-zA-Z0-9_.\-\/:]+)/g),t.replace(e,function(t){return t.split("").map(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}).join("")})},P=function(t){var e;
5return e=t,(2<=arguments.length?slice.call(arguments,1):[]).reduce(function(t,e){var n,i;for(n in e)i=e[n],void 0===t[n]&&(t[n]=i);return t},e)},J=Object.prototype,Z=J.toString,V=function(t){var e;return e=typeof t,!!t&&("object"===e||"function"===e)},L="[object Function]",U=function(t){return V(t)&&Z.call(t)===L},dt="[A-Z]",ft="[a-z]+",Y=RegExp(dt+"+(?="+dt+ft+")|"+dt+"?"+ft+"|"+dt+"+|[0-9]+","g"),S=function(t){var i,r,o;return o=t.match(Y),(o=function(){var t,e,n;for(n=[],i=t=0,e=o.length;t<e;i=++t)r=(r=o[i]).toLocaleLowerCase(),i?n.push(r.charAt(0).toLocaleUpperCase()+r.slice(1)):n.push(r);return n}()).join("")},ot=function(t){var i,r,o;return o=t.match(Y),(o=function(){var t,e,n;for(n=[],i=t=0,e=o.length;t<e;i=++t)r=o[i],n.push(r.toLocaleLowerCase());return n}()).join("_")},B=function(t,e){var n,i,r;for(n in null==e&&(e=D.identity),i={},t)r=t[n],n=e(n),D.isEmpty(n)||(i[n]=r);return i},lt=function(t){return B(t,D.camelCase)},ct=function(t){return B(t,D.snakeCase)},A="undefined"!=typeof btoa&&U(btoa)?btoa:"undefined"!=typeof Buffer&&U(Buffer)?function(t){return t instanceof Buffer||(t=new Buffer.from(String(t),"binary")),t.toString("base64")}:function(){throw new Error("No base64 encoding function found")},t={allStrings:_,camelCase:S,convertKeys:B,defaults:P,snakeCase:ot,without:pt,isFunction:U,isNumberLike:W,smartEscape:rt,withCamelCaseKeys:lt,withSnakeCaseKeys:ct,base64EncodeURL:function(t){var e;try{t=decodeURI(t)}catch(e){e}return t=encodeURI(t),A(t)}},$=function(t,e){return l(t).data(e)},it=function(t,e,n){return l(t).data(e,n)},R=function(t,e){return l(t).attr(e)},et=function(t,e,n){return l(t).attr(e,n)},tt=function(t,e){return l(t).removeAttr(e)},nt=function(t,e){return l(t).attr(e)},H=function(t,e){return l(t).hasClass(e)},b=function(t,e){return l(t).addClass(e)},ut=function(t){return l(t).width()},z=function(t){return null==t||(Array.isArray(t)||D.isString(t))&&0===t.length||l.isPlainObject(t)&&l.isEmptyObject(t)},X=function(t){return"string"==typeof t||"[object String]"===(null!=t?t.toString():void 0)},G=function(){var t,i;return(t=function(){var t,e,n;for(n=[],t=0,e=arguments.length;t<e;t++)i=arguments[t],n.push(i);return n}.apply(this,arguments)).unshift(!0),l.extend.apply(this,t)},F=function(t){var e,n,i,r;for(r=[],n=0,i=t.length;n<i;n++)(e=t[n])&&r.push(e);return r},k=function(){var t;return(t=l.makeArray(arguments)).unshift({}),t.unshift(!0),l.extend.apply(this,t)},O=function(t,e){var n,i;for(n=0,i=t.length;n<i;n++)if(t[n]===e)return!0;return!1},I=function(t,e){var n,i,r,o;for(o=[],i=0,r=t.length;i<r;i++)n=t[i],O(e,n)||o.push(n);return o},M=function(t){var e,n;for(e in n=[],t)l.isFunction(t[e])&&n.push(e);return n},q=function(t){return t},D=l.extend(t,{hasClass:H,addClass:b,getAttribute:R,setAttribute:et,removeAttribute:tt,setAttributes:nt,getData:$,setData:it,width:ut,isString:X,isArray:Array.isArray,isEmpty:z,assign:l.extend,merge:G,cloneDeep:k,compact:F,contains:O,difference:I,functions:M,identity:q,isPlainObject:l.isPlainObject,trim:l.trim}),at=function(t){var e,n,i,r,o,a,s,u;if(null==t)return"";for(i=o=void 0,o=i=s=0,s=(a=t+(u="")).length,r=0;r<s;)n=null,(e=a.charCodeAt(r))<128?i++:n=127<e&&e<2048?String.fromCharCode(e>>6|192,63&e|128):String.fromCharCode(e>>12|224,e>>6&63|128,63&e|128),null!==n&&(o<i&&(u+=a.slice(o,i)),u+=n,o=i=r+1),r++;return o<i&&(u+=a.slice(o,s)),u},N=function(t){var e,n,i,r,o;for(r="00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6
5B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D",e=0,e^=-1,n=o=0,i=(t=at(t)).length;n<i;)o=255&(e^t.charCodeAt(n)),e=e>>>8^"0x"+r.substr(9*o,8),n++;return(e^=-1)<0&&(e+=4294967296),e},a=function(){function t(n){var i;this.options={},null!=n&&["resourceType","type","publicId","format"].forEach((i=this,function(t){var e;return i.options[t]=null!=(e=n[t])?e:n[D.snakeCase(t)]}))}return t.prototype.resourceType=function(t){return this.options.resourceType=t,this},t.prototype.type=function(t){return this.options.type=t,this},t.prototype.publicId=function(t){return this.options.publicId=t,this},t.prototype.getPublicId=function(){var t;return null!=(t=this.options.publicId)?t.replace(/\//g,":"):void 0},t.prototype.getFullPublicId=function(){return null!=this.options.format?this.getPublicId()+"."+this.options.format:this.getPublicId()},t.prototype.format=function(t){return this.options.format=t,this},t.prototype.toString=function(){var t;if(t=[],null==this.options.publicId)throw"Must supply publicId";return"image"!==this.options.resourceType&&t.push(this.options.resourceType),"upload"!==this.options.type&&t.push(this.options.type),t.push(this.getFullPublicId()),D.compact(t).join(":")},t}(),o=function(){function e(t){e.__super__.constructor.call(this,t),D.isString(t)?this.options.url=t:(null!=t?t.url:void 0)&&(this.options.url=t.url)}return extend(e,a),e.prototype.url=function(t){return this.options.url=t,this},e.prototype.toString=function(){return"fetch:"+j.Util.base64EncodeURL(this.options.url)},e}(),y=function(){function t(n){var i;t.__super__.constructor.call(this,n),null!=n&&["resourceType","resourceType","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textAlign","stroke","letterSpacing","lineSpacing","fontHinting","fontAntialiasing","text","textStyle"].forEach((i=this,function(t){var e;return i.options[t]=null!=(e=n[t])?e:n[D.snakeCase(t)]})),this.options.resourceType="text"}return extend(t,a),t.prototype.resourceType=function(){throw"Cannot modify resourceType for text layers"},t.prototype.type=function(){throw"Cannot modify type for text layers"},t.prototype.format=function(){throw"Cannot modify format for text layers"},t.prototype.fontFamily=function(t){return this.options.fontFamily=t,this},t.prototype.fontSize=function(t){return this.options.fontSize=t,this},t.prototype.fontWeight=function(t){return this.options.fontWeight=t,this},t.prototype.fontStyle=function(t){return this.options.fontStyle=t,this},t.prototype.textDecoration=function(t){return this.options.textDecoration=t,this},t.prototype.textAlign=function(t){return this.options.textAlign=t,this},t.prototype.stroke=function(t){return this.options.stroke=t,this},t.prototype.letterSpacing=function(t){return this.options.letterSpacing=t,this},t.prototype.lineSpacing=function(t){return this.options.lineSpacing=t,this},t.prototype.fontAntialiasing=function(t){return this.options.fontAntialiasing=t,this},t.prototype.fontHinting=function(t){return this.options.fontHinting=t,this},t.prototype.text=function(t){return this.options.text=t,this},t.prototype.textStyle=function(t){return this.options.textStyle=t,this},t.prototype.toString=function(){var t,e,n,i,r,o,a,s,u,l;if(s=this.textStyleIdentifier(),null!=this.options.publicId&&(i=this.getFullPublicId()),null!=this.options.text){if(e=!D.isEmpty(i),n=!D.isEmpty(s),e&&n||!e&&!n)throw"Must supply either style parameters or a public_id when providing text parameter in a text overlay/underlay, but not both!";for(r=/\$\([a-zA-Z]\w*\)/g,a=0,l=D.smartEscape(this.options.text,/[,\/]/g),u="";o=r.exec(l);)u+=D.smartEscape(l.slice(a,o.index)),u+=o[0],a=o.index+o[0].length;u+=D.smartEscape(l.slice(a))}return t=[this.options.resourceType,s,i,u],D.compact(t).join(":")},t.prototype.textStyleIdentifier=function(){if(!D.isEmpty(this.options.textStyle))return this.options.textStyle;var t;if(t=[],"normal"!==this.options.fontWeight&&t.push(this.options.fontWeight),"normal"!==this.options.fontStyle&&t.push(this.options.fontStyle),"none"!==this.options.textDecoration&&t.push(this.options.textDecoration),t.push(this.options.textAlign),"none"!==this.options.stroke&&t.push(this.options.stroke),D.isEmpty(this.options.letterSpacing)&&!D.isNumberLike(this.options.letterSpacing)||t.push("letter_spacing_"+this.options.letterSpacing),D.isEmpty(this.options.lineSpacing)&&!D.isNumberLike(this.options.lineSpacing)||t.push("line_spacing_"+this.options.lineSpacing),"none"!==this.options.fontAntialiasing&&t.push("antialias_"+this.options.fontAntialiasing),"none"!==this.options.fontHinting&&t.push("hinting_"+this.options.fontHinting),!D.isEmpty(D.compact(t))){if
5(D.isEmpty(this.options.fontFamily))throw"Must supply fontFamily. "+t;if(D.isEmpty(this.options.fontSize)&&!D.isNumberLike(this.options.fontSize))throw"Must supply fontSize."}return t.unshift(this.options.fontFamily,this.options.fontSize),t=D.compact(t).join("_")},t}(),m=function(){function e(t){e.__super__.constructor.call(this,t),this.options.resourceType="subtitles"}return extend(e,y),e}(),f=function(){function t(t,e,n){null==n&&(n=j.Util.identity),this.name=t,this.shortName=e,this.process=n}return t.prototype.set=function(t){return this.origValue=t,this},t.prototype.serialize=function(){var t,e;return t=this.value(),e=j.Util.isArray(t)||j.Util.isPlainObject(t)||j.Util.isString(t)?!j.Util.isEmpty(t):null!=t,null!=this.shortName&&e?this.shortName+"_"+t:""},t.prototype.value=function(){return this.process(this.origValue)},t.norm_color=function(t){return null!=t?t.replace(/^#/,"rgb:"):void 0},t.prototype.build_array=function(t){return null==t&&(t=[]),j.Util.isArray(t)?t:[t]},t.process_video_params=function(t){var e;switch(t.constructor){case Object:return e="","codec"in t&&(e=t.codec,"profile"in t&&(e+=":"+t.profile,"level"in t&&(e+=":"+t.level,"b_frames"in t&&!1===t.b_frames&&(e+=":bframes_no")))),e;case String:return t;default:return null}},t}(),s=function(){function r(t,e,n,i){null==n&&(n="."),this.sep=n,r.__super__.constructor.call(this,t,e,i)}return extend(r,f),r.prototype.serialize=function(){var i,t,r;return null!=this.shortName?(i=this.value(),j.Util.isEmpty(i)?"":j.Util.isString(i)?this.shortName+"_"+i:(t=function(){var t,e,n;for(n=[],t=0,e=i.length;t<e;t++)r=i[t],j.Util.isFunction(r.serialize)?n.push(r.serialize()):n.push(r);return n}(),this.shortName+"_"+t.join(this.sep))):""},r.prototype.value=function(){var t,e,n,i,r;if(j.Util.isArray(this.origValue)){for(i=[],t=0,e=(n=this.origValue).length;t<e;t++)r=n[t],i.push(this.process(r));return i}return this.process(this.origValue)},r.prototype.set=function(t){return null==t||j.Util.isArray(t)?r.__super__.set.call(this,t):r.__super__.set.call(this,[t])},r}(),x=function(){function r(t,e,n,i){null==e&&(e="t"),null==n&&(n="."),this.sep=n,r.__super__.constructor.call(this,t,e,i)}return extend(r,f),r.prototype.serialize=function(){var t,e,r;return j.Util.isEmpty(this.value())?"":j.Util.allStrings(this.value())?(t=this.value().join(this.sep),j.Util.isEmpty(t)?"":this.shortName+"_"+t):(e=function(){var t,e,n,i;for(i=[],t=0,e=(n=this.value()).length;t<e;t++)null!=(r=n[t])&&(j.Util.isString(r)&&!j.Util.isEmpty(r)?i.push(this.shortName+"_"+r):j.Util.isFunction(r.serialize)?i.push(r.serialize()):j.Util.isPlainObject(r)&&!j.Util.isEmpty(r)?i.push(new C(r).serialize()):i.push(void 0));return i}.call(this),j.Util.compact(e))},r.prototype.set=function(t){return this.origValue=t,j.Util.isArray(this.origValue)?r.__super__.set.call(this,this.origValue):r.__super__.set.call(this,[this.origValue])},r}(),d=function(){function i(t,e,n){null==n&&(n=this.norm_range_value),i.__super__.constructor.call(this,t,e,n)}return extend(i,f),i.norm_range_value=function(t){var e,n;return(n=String(t).match(new RegExp("^"+offset_any_pattern+"$")))&&(e=null!=n[5]?"p":"",t=(n[1]||n[4])+e),t},i}(),h=function(){function i(t,e,n){null==n&&(n=j.Util.identity),i.__super__.constructor.call(this,t,e,n)}return extend(i,f),i.prototype.serialize=function(){return this.value()},i}(),c=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return extend(t,f),t.prototype.value=function(){var t;return t=this.origValue,j.Util.isPlainObject(t)?"text"===(t=D.withCamelCaseKeys(t)).resourceType||null!=t.text?new j.TextLayer(t).toString():"subtitles"===t.resourceType?new j.SubtitlesLayer(t).toString():"fetch"===t.resourceType||null!=t.url?new j.FetchLayer(t).toString():new j.Layer(t).toString():/^fetch:.+/.test(t)?new o(t.substr(6)).toString():t},[["font_weight","normal"],["font_style","normal"],["text_decoration","none"],["text_align",null],["stroke","none"],["letter_spacing",null],["line_spacing",null]],t.prototype.textStyle=function(t){return new j.TextLayer(t).textStyleIdentifier()},t}(),i=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return extend(t,f),t.prototype.serialize=function(){return w.normalize(t.__super__.serialize.call(this))},t}(),(K={}).Param=f,K.ArrayParam=s,K.RangeParam=d,K.RawParam=h,K.TransformationParam=x,K.LayerParam=c,K.ExpressionParam=i,w=function(){function r(t){this.expressions=[],null!=t&&this.expressions.push(r.normalize(t))}return r.OPERATORS={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub","^":"pow"},r.PREDEFINED_VARS={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialHeight:"ih",initialWidth:"iw",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"},r.BOUNDRY="[ _]+",r["new"]=function(t){return new this(t)},r.normalize=function(i){var t,e,n;return null==i?i:(i=String(i),t=new RegExp("(("+"\\|\\||>=|<=|&&|!=|>|=|<|/|-|\\+|\\*|\\^"+")(?=[ _]))","g"),i=i.replace(t,function(t){return r.OPERATORS[t]}),e="("+Object.keys(r.PREDEFINED_VARS).join("|")+")",n=new RegExp(e,"g"),(i=i.replace(n,function(t,e,n){return"$"===i[n-1]?t:r.PREDEFINED_VARS[t]})).replace(/[ _]+/g,"_"))},r.prototype.serialize=function(){return r.normalize(this.expressions.join("_"))},r.prototype.toString=function(){return this.serialize()},r.prototype.getParent=function(){return this.parent},r.prototype.setParent=function(t){return this.parent=t,this},r.prototype.predicate=function(t,e,n){return null!=r.OPERATORS[e]&&(e=r.OPERATORS[e]),this.expressions.push(t+"_"+e+"_"+n),this},r.prototype.and=function(){return this.expressions.push("and"),this},r.prototype.or=function(){return this.expressions.push("or"),this},r.prototype.then=function(){return this.getParent()["if"](this.toString())},r.prototype.height=function(t,e){return this.predicate("h",t,e)},r.prototype.width=function(t,e){return this.predicate("w",t,e)},r.prototype.aspectRatio=function(t,e){return this.predicate("ar",t,e)}
5,r.prototype.pageCount=function(t,e){return this.predicate("pc",t,e)},r.prototype.faceCount=function(t,e){return this.predicate("fc",t,e)},r.prototype.value=function(t){return this.expressions.push(t),this},r.variable=function(t,e){return new this(t).value(e)},r.width=function(){return new this("width")},r.height=function(){return new this("height")},r.initialWidth=function(){return new this("initialWidth")},r.initialHeight=function(){return new this("initialHeight")},r.aspectRatio=function(){return new this("aspectRatio")},r.initialAspectRatio=function(){return new this("initialAspectRatio")},r.pageCount=function(){return new this("pageCount")},function(){return new this("faceCount")},r.currentPage=function(){return new this("currentPage")},r.tags=function(){return new this("tags")},r.pageX=function(){return new this("pageX")},r.pageY=function(){return new this("pageY")},r}(),u=function(){function e(t){e.__super__.constructor.call(this,t)}return extend(e,w),e.prototype.height=function(t,e){return this.predicate("h",t,e)},e.prototype.width=function(t,e){return this.predicate("w",t,e)},e.prototype.aspectRatio=function(t,e){return this.predicate("ar",t,e)},e.prototype.pageCount=function(t,e){return this.predicate("pc",t,e)},e.prototype.faceCount=function(t,e){return this.predicate("fc",t,e)},e}(),r=function(){function t(t){null==t&&(t={}),this.configuration=D.cloneDeep(t),D.defaults(this.configuration,e)}var e,n;return e={responsive_class:"cld-responsive",responsive_use_breakpoints:!0,round_dpr:!0,secure:"https:"===("undefined"!=typeof window&&null!==window&&null!=(n=window.location)?n.protocol:void 0)},t.CONFIG_PARAMS=["api_key","api_secret","callback","cdn_subdomain","cloud_name","cname","private_cdn","protocol","resource_type","responsive","responsive_class","responsive_use_breakpoints","responsive_width","round_dpr","secure","secure_cdn_subdomain","secure_distribution","shorten","type","upload_preset","url_suffix","use_root_path","version"],t.prototype.init=function(){return this.fromEnvironment(),this.fromDocument(),this},t.prototype.set=function(t,e){return this.configuration[t]=e,this},t.prototype.get=function(t){return this.configuration[t]},t.prototype.merge=function(t){return null==t&&(t={}),D.assign(this.configuration,D.cloneDeep(t)),this},t.prototype.fromDocument=function(){var t,e,n,i;if(i="undefined"!=typeof document&&null!==document?document.querySelectorAll('meta[name^="cloudinary_"]'):void 0)for(e=0,n=i.length;e<n;e++)t=i[e],this.configuration[t.getAttribute("name").replace("cloudinary_","")]=t.getAttribute("content");return this},t.prototype.fromEnvironment=function(){var t,e,n,i,r,o,a,s,u,l;if(null!=(t="undefined"!=typeof process&&null!==process&&null!=(o=process.env)?o.CLOUDINARY_URL:void 0)&&(u=/cloudinary:\/\/(?:(\w+)(?:\:([\w-]+))?@)?([\w\.-]+)(?:\/([^?]*))?(?:\?(.+))?/.exec(t))&&(null!=u[3]&&(this.configuration.cloud_name=u[3]),null!=u[1]&&(this.configuration.api_key=u[1]),null!=u[2]&&(this.configuration.api_secret=u[2]),null!=u[4]&&(this.configuration.private_cdn=null!=u[4]),null!=u[4]&&(this.configuration.secure_distribution=u[4]),null!=(r=u[5])))for(e=0,i=(a=r.split("&")).length;e<i;e++)n=(s=a[e].split("="))[0],null==(l=s[1])&&(l=!0),this.configuration[n]=l;return this},t.prototype.config=function(t,e){switch(!1){case void 0===e:return this.set(t,e),this.configuration;case!D.isString(t):return this.get(t);case!D.isPlainObject(t):return this.merge(t),this.configuration;default:return this.configuration}},t.prototype.toOptions=function(){return D.cloneDeep(this.configuration)},t}(),v=function(){function o(t){var e,u;null==t&&(t={}),e=void 0,u={},this.toOptions||(this.toOptions=function(t){var e,n,i,r,o,a,s;for(e in null==t&&(t=!0),i={},u)s=u[e],i[e]=s.origValue;for(e in r=this.otherOptions)void 0!==(s=r[e])&&(i[e]=s);if(t&&!D.isEmpty(this.chained)){for(e in(n=function(){var t,e,n,i;for(i=[],t=0,e=(n=this.chained).length;t<e;t++)a=n[t],i.push(a.toOptions());return i}.call(this)).push(i),i={},o=this.otherOptions)void 0!==(s=o[e])&&(i[e]=s);i.transformation=n}return i}),this.setParent||(this.setParent=function(t){return null!=(e=t)&&this.fromOptions("function"==typeof t.toOptions?t.toOptions():void 0),this}),this.getParent||(this.getParent=function(){return e}),this.param||(this.param=function(t,e,n,i,r){return null==r&&(r=D.isFunction(i)?i:D.identity),u[e]=new f(e,n,r).set(t),this}),this.rawParam||(this.rawParam=function(t,e,n,i,r){return null==r&&(r=D.identity),r=a(arguments),u[e]=new h(e,n,r).set(t),this}),this.rangeParam||(this.rangeParam=function(t,e,n,i,r){return null==r&&(r=D.identity),r=a(arguments),u[e]=new d(e,n,r).set(t),this}),this.arrayParam||(this.arrayParam=function(t,e,n,i,r,o){return null==i&&(i=":"),null==r&&(r=[]),null==o&&(o=D.identity),o=a(arguments),u[e]=new s(e,n,i,o).set(t),this}),this.transformationParam||(this.transformationParam=function(t,e,n,i,r,o){return null==i&&(i="."),null==o&&(o=D.identity),o=a(arguments),u[e]=new x(e,n,i,o).set(t),this}),this.layerParam||(this.layerParam=function(t,e,n){return u[e]=new c(e,n).set(t),this}),this.getValue||(this.getValue=function(t){var e,n;
5return null!=(e=null!=(n=u[t])?n.value():void 0)?e:this.otherOptions[t]}),this.get||(this.get=function(t){return u[t]}),this.remove||(this.remove=function(t){var e;switch(!1){case null==u[t]:return e=u[t],delete u[t],e.origValue;case null==this.otherOptions[t]:return e=this.otherOptions[t],delete this.otherOptions[t],e;default:return null}}),this.keys||(this.keys=function(){var e;return function(){var t;for(e in t=[],u)null!=e&&t.push(e.match(v)?e:D.snakeCase(e));return t}().sort()}),this.toPlainObject||(this.toPlainObject=function(){var t,e,n,r;for(e in t={},u)t[e]=u[e].value(),D.isPlainObject(t[e])&&(t[e]=D.cloneDeep(t[e]));return D.isEmpty(this.chained)||((n=function(){var t,e,n,i;for(i=[],t=0,e=(n=this.chained).length;t<e;t++)r=n[t],i.push(r.toPlainObject());return i}.call(this)).push(t),t={transformation:n}),t}),this.chain||(this.chain=function(){var t;return 0!==Object.getOwnPropertyNames(u).length&&(t=new this.constructor(this.toOptions(!1)),this.resetTransformations(),this.chained.push(t)),this}),this.resetTransformations||(this.resetTransformations=function(){return u={},this}),this.otherOptions||(this.otherOptions={}),this.chained=[],D.isEmpty(t)||this.fromOptions(t)}var v,a,b;return v=/^\$[a-zA-Z0-9]+$/,o.prototype.trans_separator="/",o.prototype.param_separator=",",a=function(t){var e;return e=null!=t?t[t.length-1]:void 0,D.isFunction(e)?e:void 0},o.prototype.fromOptions=function(t){var e,n;if(t instanceof o)this.fromTransformation(t);else for(e in t||(t={}),(D.isString(t)||D.isArray(t))&&(t={transformation:t}),(t=D.cloneDeep(t,function(t){if(t instanceof o)return new t.constructor(t.toOptions())}))["if"]&&(this.set("if",t["if"]),delete t["if"]),t)n=t[e],e.match(v)?"$attr"!==e&&this.set("variable",e,n):this.set(e,n);return this},o.prototype.fromTransformation=function(t){var e,n,i,r;if(t instanceof o)for(e=0,i=(r=t.keys()).length;e<i;e++)n=r[e],this.set(n,t.get(n).origValue);return this},o.prototype.set=function(t){var e,n,i;return n=t,i=2<=arguments.length?slice.call(arguments,1):[],e=D.camelCase(n),D.contains(C.methods,e)?this[e].apply(this,i):this.otherOptions[n]=i[0],this},o.prototype.hasLayer=function(){return this.getValue("overlay")||this.getValue("underlay")},o.prototype.serialize=function(){var t,e,n,i,r,o,a,s,u,l,c,p,f,d,h,g,m,y;for(l=function(){var t,e,n,i;for(i=[],t=0,e=(n=this.chained).length;t<e;t++)p=n[t],i.push(p.serialize());return i}.call(this),i=this.keys(),h=null!=(r=this.get("transformation"))?r.serialize():void 0,t=null!=(o=this.get("if"))?o.serialize():void 0,m=b(null!=(a=this.get("variables"))?a.value():void 0),i=D.difference(i,["transformation","if","variables"]),y=[],f=[],e=0,n=i.length;e<n;e++)(c=i[e]).match(v)?y.push(c+"_"+w.normalize(null!=(s=this.get(c))?s.value():void 0)):f.push(null!=(u=this.get(c))?u.serialize():void 0);switch(!1){case!D.isString(h):f.push(h);break;case!D.isArray(h):l=l.concat(h)}return f=function(){var t,e,n;for(n=[],t=0,e=f.length;t<e;t++)g=f[t],(D.isArray(g)&&!D.isEmpty(g)||!D.isArray(g)&&g 6)&&n.push(g);return n}(),f=y.sort().concat(m).concat(f.sort()),"if_end"===t?f.push(t):D.isEmpty(t)||f.unshift(t),d=D.compact(f).join(this.param_separator),D.isEmpty(d)||l.push(d),D.compact(l).join(this.trans_separator)},o.prototype.listNames=function(){return C.methods},o.prototype.toHtmlAttributes=function(){var t,e,n,i,r,o,a,s,u,l;for(n in r={},o=this.otherOptions)l=o[n],D.contains(C.PARAM_NAMES,D.snakeCase(n))||(r[/^html_/.test(n)?n.slice(5):n]=l);for(e=0,i=(a=this.keys()).length;e<i;e++)n=a[e],/^html_/.test(n)&&(r[D.camelCase(n.slice(5))]=this.getValue(n));return this.hasLayer()||this.getValue("angle")||D.contains(["fit","limit","lfill"],this.getValue("crop"))||(ut=null!=(s=this.get("width"))?s.origValue:void 0,t=null!=(u=this.get("height"))?u.origValue:void 0,1<=parseFloat(ut)&&null==r.width&&(r.width=ut),1<=parseFloat(t)&&null==r.height&&(r.height=t)),r},o.prototype.isValidParamName=function(t){return 0<=C.methods.indexOf(D.camelCase(t))},o.prototype.toHtml=function(){var t;return null!=(t=this.getParent())&&"function"==typeof t.toHtml?t.toHtml():void 0},o.prototype.toString=function(){return this.serialize()},b=function(t){var e,n,i,r,o,a;if(D.isArray(t)){for(o=[],e=0,n=t.length;e<n;e++)i=(r=t[e])[0],a=r[1],o.push(i+"_"+w.normalize(a));return o}return t},o}(),(C=function(){function a(t){null==t&&(t={}),a.__super__.constructor.call(this,t)}return extend(a,v),a["new"]=function(t){return new a(t)},a.prototype.angle=function(t){return this.arrayParam(t,"angle","a",".",w.normalize)},a.prototype.audioCodec=function(t){return this.param(t,"audio_codec","ac")},a.prototype.audioFrequency=function(t){return this.param(t,"audio_frequency","af")},a.prototype.aspectRatio=function(t){return this.param(t,"aspect_ratio","ar",w.normalize)},a.prototype.background=function(t){return this.param(t,"background","b",f.norm_color)},a.prototype.bitRate=function(t){return this.param(t,"bit_rate","br")},a.prototype.border=function(t){return this.param(t,"border","bo",function(t){return D.isPlainObject(t)?(t=D.assign({},{color:"black",width:2},t)).width+"px_solid_"+f.norm_color(t.color):t})},a.prototype.color=function(t){return this.param(t,"color","co",f.norm_color)}
6,a.prototype.colorSpace=function(t){return this.param(t,"color_space","cs")},a.prototype.crop=function(t){return this.param(t,"crop","c")},a.prototype.defaultImage=function(t){return this.param(t,"default_image","d")},a.prototype.delay=function(t){return this.param(t,"delay","dl")},a.prototype.density=function(t){return this.param(t,"density","dn")},a.prototype.duration=function(t){return this.rangeParam(t,"duration","du")},a.prototype.dpr=function(t){return this.param(t,"dpr","dpr",function(t){return(null!=(t=t.toString())?t.match(/^\d+$/):void 0)?t+".0":w.normalize(t)})},a.prototype.effect=function(t){return this.arrayParam(t,"effect","e",":",w.normalize)},a.prototype["else"]=function(){return this["if"]("else")},a.prototype.endIf=function(){return this["if"]("end")},a.prototype.endOffset=function(t){return this.rangeParam(t,"end_offset","eo")},a.prototype.fallbackContent=function(t){return this.param(t,"fallback_content")},a.prototype.fetchFormat=function(t){return this.param(t,"fetch_format","f")},a.prototype.format=function(t){return this.param(t,"format")},a.prototype.flags=function(t){return this.arrayParam(t,"flags","fl",".")},a.prototype.gravity=function(t){return this.param(t,"gravity","g")},a.prototype.fps=function(t){return this.param(t,"fps","fps",function(t){return D.isString(t)?t:D.isArray(t)?t.join("-"):t})},a.prototype.height=function(t){return this.param(t,"height","h",(e=this,function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?w.normalize(t):null}));var e},a.prototype.htmlHeight=function(t){return this.param(t,"html_height")},a.prototype.htmlWidth=function(t){return this.param(t,"html_width")},a.prototype["if"]=function(t){var e,n,i,r,o;switch(null==t&&(t=""),t){case"else":return this.chain(),this.param(t,"if","if");case"end":for(this.chain(),e=i=this.chained.length-1;0<=i&&"end"!==(n=this.chained[e].getValue("if"))&&(null==n||(r=a["new"]()["if"](n),this.chained[e].remove("if"),o=this.chained[e],this.chained[e]=a["new"]().transformation([r,o]),"else"===n));e=i+=-1);return this.param(t,"if","if");case"":return u["new"]().setParent(this);default:return this.param(t,"if","if",function(t){return u["new"](t).toString()})}},a.prototype.keyframeInterval=function(t){return this.param(t,"keyframe_interval","ki")},a.prototype.offset=function(t){var e,n,i;if(i=(n=D.isFunction(null!=t?t.split:void 0)?t.split(".."):D.isArray(t)?t:[null,null])[0],e=n[1],null!=i&&this.startOffset(i),null!=e)return this.endOffset(e)},a.prototype.opacity=function(t){return this.param(t,"opacity","o",w.normalize)},a.prototype.overlay=function(t){return this.layerParam(t,"overlay","l")},a.prototype.page=function(t){return this.param(t,"page","pg")},a.prototype.poster=function(t){return this.param(t,"poster")},a.prototype.prefix=function(t){return this.param(t,"prefix","p")},a.prototype.quality=function(t){return this.param(t,"quality","q",w.normalize)},a.prototype.radius=function(t){return this.param(t,"radius","r",w.normalize)},a.prototype.rawTransformation=function(t){return this.rawParam(t,"raw_transformation")},a.prototype.size=function(t){var e,n;if(D.isFunction(null!=t?t.split:void 0))return n=t.split("x"),ut=n[0],e=n[1],this.width(ut),this.height(e)},a.prototype.sourceTypes=function(t){return this.param(t,"source_types")},a.prototype.sourceTransformation=function(t){return this.param(t,"source_transformation")},a.prototype.startOffset=function(t){return this.rangeParam(t,"start_offset","so")},a.prototype.streamingProfile=function(t){return this.param(t,"streaming_profile","sp")},a.prototype.transformation=function(t){return this.transformationParam(t,"transformation","t")},a.prototype.underlay=function(t){return this.layerParam(t,"underlay","u")},a.prototype.variable=function(t,e){return this.param(e,t,t)},a.prototype.variables=function(t){return this.arrayParam(t,"variables")},a.prototype.videoCodec=function(t){return this.param(t,"video_codec","vc",f.process_video_params)},a.prototype.videoSampling=function(t){return this.param(t,"video_sampling","vs")},a.prototype.width=function(t){return this.param(t,"width","w",(e=this,function(){return e.getValue("crop")||e.getValue("overlay")||e.getValue("underlay")?w.normalize(t):null}));var e},a.prototype.x=function(t){return this.param(t,"x","x",w.normalize)},a.prototype.y=function(t){return this.param(t,"y","y",w.normalize)},a.prototype.zoom=function(t){return this.param(t,"zoom","z",w.normalize)},a}()).methods||(C.methods=D.difference(D.functions(C.prototype),D.functions(v.prototype))),C.PARAM_NAMES||(C.PARAM_NAMES=function(){var t,e,n,i;for(i=[],t=0,e=(n=C.methods).length;t<e;t++)Q=n[t],i.push(D.snakeCase(Q));return i}().concat(r.CONFIG_PARAMS)),E=function(){function t(t,e,n){var i;this.name=t,this.publicId=e,null==n&&(D.isPlainObject(e)?(n=e,this.publicId=void 0):n={}),(i=new C(n)).setParent(this),this.transformation=function(){return i}}var r;return t["new"]=function(t,e,n){return new this(t,e,n)},r=function(t,e){return e?!0===e?t:t+'="'+e+'"':void 0},t.prototype.htmlAttrs=function(e){var n,i;return function(){var t;
6for(n in t=[],e)(i=e[n])&&t.push(r(n,i));return t}().sort().join(" ")},t.prototype.getOptions=function(){return this.transformation().toOptions()},t.prototype.getOption=function(t){return this.transformation().getValue(t)},t.prototype.attributes=function(){return this.transformation().toHtmlAttributes()},t.prototype.setAttr=function(t,e){return this.transformation().set("html_"+t,e),this},t.prototype.getAttr=function(t){return this.attributes()["html_"+t]||this.attributes()[t]},t.prototype.removeAttr=function(t){var e;return null!=(e=this.transformation().remove("html_"+t))?e:this.transformation().remove(t)},t.prototype.content=function(){return""},t.prototype.openTag=function(){return"<"+this.name+" "+this.htmlAttrs(this.attributes())+">"},t.prototype.closeTag=function(){return"</"+this.name+">"},t.prototype.toHtml=function(){return this.openTag()+this.content()+this.closeTag()},t.prototype.toDOM=function(){var t,e,n,i;if(!D.isFunction("undefined"!=typeof document&&null!==document?document.createElement:void 0))throw"Can't create DOM if document is not present!";for(e in t=document.createElement(this.name),n=this.attributes())i=n[e],t[e]=i;return t},t.isResponsive=function(t,e){var n;return n=D.getData(t,"src-cache")||D.getData(t,"src"),D.hasClass(t,e)&&/\bw_auto\b/.exec(n)},t}(),g=function(){function i(t,e){null==e&&(e={}),i.__super__.constructor.call(this,"img",t,e)}return extend(i,E),i.prototype.closeTag=function(){return""},i.prototype.attributes=function(){var t,e,n;return null==(t=i.__super__.attributes.call(this)||[])[n=(e=this.getOptions()).responsive&&!e.client_hints?"data-src":"src"]&&(t[n]=new p(this.getOptions()).url(this.publicId)),t},i}(),T=function(){function u(t,e){null==e&&(e={}),e=D.defaults({},e,p.DEFAULT_VIDEO_PARAMS),u.__super__.constructor.call(this,"video",t.replace(/\.(mp4|ogv|webm)$/,""),e)}var l,c;return extend(u,E),c=["source_types","source_transformation","fallback_content","poster"],["webm","mp4","ogv"],l={format:"jpg",resource_type:"video"},u.prototype.setSourceTransformation=function(t){return this.transformation().sourceTransformation(t),this},u.prototype.setSourceTypes=function(t){return this.transformation().sourceTypes(t),this},u.prototype.setPoster=function(t){return this.transformation().poster(t),this},u.prototype.setFallbackContent=function(t){return this.transformation().fallbackContent(t),this},u.prototype.content=function(){var i,t,e,r,o,a,s,u,l;return a=this.transformation().getValue("source_types"),o=this.transformation().getValue("source_transformation"),t=this.transformation().getValue("fallback_content"),D.isArray(a)?(i=new p(this.getOptions()),e=function(){var t,e,n;for(n=[],t=0,e=a.length;t<e;t++)u=a[t],l=o[u]||{},s=i.url(""+this.publicId,D.defaults({},l,{resource_type:"video",format:u})),r="video/"+("ogv"===u?"ogg":u),n.push("<source "+this.htmlAttrs({src:s,type:r})+">");return n}.call(this)):e=[],e.join("")+t},u.prototype.attributes=function(){var t,e,n,i,r,o,a,s;for(s=this.getOption("source_types"),r=null!=(o=this.getOption("poster"))?o:{},D.isPlainObject(r)&&(P=null!=r.public_id?p.DEFAULT_IMAGE_PARAMS:l,r=new p(this.getOptions()).url(null!=(a=r.public_id)?a:this.publicId,D.defaults({},r,P))),n=0,i=(e=u.__super__.attributes.call(this)||[]).length;n<i;n++)t=e[n],D.contains(c)||(e=t);return D.isArray(s)||(e.src=new p(this.getOptions()).url(this.publicId,{resource_type:"video",format:s})),null!=r&&(e.poster=r),e},u}(),e=function(){function e(t){e.__super__.constructor.call(this,"meta",void 0,D.assign({"http-equiv":"Accept-CH",content:"DPR, Viewport-Width, Width"},t))}return extend(e,E),e.prototype.closeTag=function(){return""},e}(),p=function(){function l(t){var n;this.devicePixelRatioCache={},this.responsiveConfig={},this.responsiveResizeInitialized=!1,n=new r(t),this.config=function(t,e){return n.config(t,e)},this.fromDocument=function(){return n.fromDocument(),this},this.fromEnvironment=function(){return n.fromEnvironment(),this},this.init=function(){return n.init(),this}}var n,t,u,s,c,p,b,f,i,d,a,h,w,x,_;return"2.5.0","d3jpl91pxevbkh.cloudfront.net",u="cloudinary-a.akamaihd.net",c="res.cloudinary.com",n={format:"jpg",resource_type:"video"},t=["webm","mp4","ogv"],s={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"},l.DEFAULT_IMAGE_PARAMS={resource_type:"image",transformation:[],type:"upload"},l.DEFAULT_VIDEO_PARAMS={fallback_content:"",resource_type:"video",source_transformation:{},source_types:t,transformation:[],type:"upload"},l["new"]=function(t){return new this(t)},h=function(t,e,n,i,r){var o,a;if(null==t&&(t="image"),null==e&&(e="upload"),D.isPlainObject(t)&&(t=(a=t).resource_type,e=a.type,n=a.url_suffix,i=a.use_root_path,r=a.shorten),null==e&&(e="upload"),null!=n&&(t=s[t+"/"+e],(e=null)==t))throw new Error("URL Suffix only supported for "+function(){var t;for(o in t=[],s)t.push(o);return t}().join(", "));if(i){if(("image"!==t||"upload"!==e)&&"images"!==t)throw new Error("Root path only supported for image/upload");e=t=null}return r&&"image"===t&&"upload"===e&&(t="iu",e=null),[t,e].join("/")},p=function(t){var e;return t.match(/^https?:\//)||(e=document.location.protocol+"//"+document.location.host,"?"===t[0]?e+=document.location.pathname:"/"!==t[0]&&(e+=document.location.pathname.replace(/\/[^\/]*$/,"/")),t=e+t),t},l.prototype.url=function(t,e){var n,i,r,o,a,s,u;if(null==e&&(e={}),!t)return t;if(e instanceof C&&(e=e.toOptions()),"fetch"===(e=D.defaults({},e,this.config(),l.DEFAULT_IMAGE_PARAMS)).type&&(e.fetch_format=e.fetch_format||e.format,t=p(t)),a=new C(e).serialize(),!e.cloud_name)throw"Unknown cloud_name";if(0<=t.search("/")&&!t.match(/^v[0-9]+/)&&!t.match(/^https?:\//)&&!(null!=(r=e.version)?r.toString():void 0)&&(e.version=1),t.match(/^https?:/))"upload"===e.type||"asset"===e.type?s=t:t=encodeURIComponent(t).replace(/%3A/g,":").replace(/%2F/g,"/");else{try{t=decodeURIComponent(t)}catch(n){n}if(t=encodeURIComponent(t).replace(/%3A/g,":").replace(/%2F/g,"/"),e.url_suffix){if(e.url_suffix.match(/[\.\/]/))throw"url_suffix should not include . or /";t=t+"/"+e.url_suffix}e.format&&(e.trust_public_id||(t=t.replace(/\.(jpg|png|gif|webp)$/,"")),t=t+"."+e.format)}return i=d(t,e),o=h(e.resource_type,e.type,e.url_suffix,e.use_root_path,e.shorten),u=e.version?"v"+e.version:"",s||D.compact([i,o,a,u,t]).join("/").replace(/([^:])\/+/g,"$1/")},l.prototype.video_url=function(t,e){return e=D.assign({resource_type:"video"},e),this.url(t,e)},l.prototype.video_thumbnail_url=function(t,e){return e=D.assign({},n,e),this.url(t,e)},l.prototype.transformation_string=function(t){return new C(t).serialize()},l.prototype.image=function(t,e){var n,i,r,o;return null==e&&(e={}),i=this.imageTag(t,e),n=null!=(r=null!=(o=e.client_hints)?o:this.config("client_hints"))&&r,null!=e.src||n||i.setAttr("src",""),i=i.toDOM(),n||(D.setData(i,"src-cache",this.url(t,e)),this.cloudinary_update(i,e)),i},l.prototype.imageTag=function(t,e){var n;return(n=new g(t,this.config())).transformation().fromOptions(e),n},l.prototype.video_thumbnail=function(t,e){return this.image(t,D.merge
6({},n,e))},l.prototype.facebook_profile_image=function(t,e){return this.image(t,D.assign({type:"facebook"},e))},l.prototype.twitter_profile_image=function(t,e){return this.image(t,D.assign({type:"twitter"},e))},l.prototype.twitter_name_profile_image=function(t,e){return this.image(t,D.assign({type:"twitter_name"},e))},l.prototype.gravatar_image=function(t,e){return this.image(t,D.assign({type:"gravatar"},e))},l.prototype.fetch_image=function(t,e){return this.image(t,D.assign({type:"fetch"},e))},l.prototype.video=function(t,e){return null==e&&(e={}),this.videoTag(t,e).toHtml()},l.prototype.videoTag=function(t,e){return e=D.defaults({},e,this.config()),new T(t,e)},l.prototype.sprite_css=function(t,e){return e=D.assign({type:"sprite"},e),t.match(/.css$/)||(e.format="css"),this.url(t,e)},l.prototype.responsive=function(t,e){var n,i,r,a,s,u;if(null==e&&(e=!0),this.responsiveConfig=D.merge(this.responsiveConfig||{},t),a=null!=(n=this.responsiveConfig.responsive_class)?n:this.config("responsive_class"),e&&this.cloudinary_update("img."+a+", img.cld-hidpi",this.responsiveConfig),(null==(i=null!=(r=this.responsiveConfig.responsive_resize)?r:this.config("responsive_resize"))||i)&&!this.responsiveResizeInitialized)return this.responsiveConfig.resizing=this.responsiveResizeInitialized=!0,s=null,window.addEventListener("resize",(u=this,function(){var t,e,n,i,r,o;return t=null!=(e=null!=(n=u.responsiveConfig.responsive_debounce)?n:u.config("responsive_debounce"))?e:100,i=function(){if(s)return clearTimeout(s),s=null},r=function(){return u.cloudinary_update("img."+a,u.responsiveConfig)},o=function(){return i(),r()},t?(i(),s=setTimeout(o,t)):r()}))},l.prototype.calc_breakpoint=function(t,e,n){var r,o;return r=D.getData(t,"breakpoints")||D.getData(t,"stoppoints")||this.config("breakpoints")||this.config("stoppoints")||a,D.isFunction(r)?r(e,n):(D.isString(r)&&(r=function(){var t,e,n,i;for(i=[],t=0,e=(n=r.split(",")).length;t<e;t++)o=n[t],i.push(parseInt(o));return i}().sort(function(t,e){return t-e})),i(r,e))},l.prototype.calc_stoppoint=l.prototype.calc_breakpoint,l.prototype.device_pixel_ratio=function(t){var e,n;return null==t&&(t=!0),e=("undefined"!=typeof window&&null!==window?window.devicePixelRatio:void 0)||1,t&&(e=Math.ceil(e)),(e<=0||e===NaN)&&(e=1),(n=e.toString()).match(/^\d+$/)&&(n+=".0"),n},a=function(t,e){return null==e&&(e=100),e*Math.ceil(t/e)},i=function(t,e){var n;for(n=t.length-2;0<=n&&t[n]>=e;)n--;return t[n+1]},f=function(t){return N(t)%5+1},d=function(t,e){var n,i,r,o,a,s;return 0===(null!=(a=e.cloud_name)?a.indexOf("/"):void 0)?"/res"+e.cloud_name:(o="http://",n="",s="res",i=".cloudinary.com",r="/"+e.cloud_name,e.protocol&&(o=e.protocol+"//"),e.private_cdn&&(n=e.cloud_name+"-",r=""),e.cdn_subdomain&&(s="res-"+f(t)),e.secure?(!(o="https://")===e.secure_cdn_subdomain&&(s="res"),null!=e.secure_distribution&&e.secure_distribution!==u&&e.secure_distribution!==c&&(s=n="",i=e.secure_distribution)):e.cname&&(o="http://",n="",s=e.cdn_subdomain?"a"+(N(t)%5+1)+".":"",i=e.cname),[o,n,s,i,r].join(""))},l.prototype.processImageTags=function(r,o){var t,a,s,u,l;return null==o&&(o={}),D.isEmpty(r)||(o=D.defaults({},o,this.config()),t=function(){var t,e,n,i;for(i=[],t=0,e=r.length;t<e;t++)"IMG"===(null!=(n=(s=r[t]).tagName)?n.toUpperCase():void 0)&&(a=D.assign({width:s.getAttribute("width"),height:s.getAttribute("height"),src:s.getAttribute("src")},o),u=a.source||a.src,delete a.source,delete a.src,l=this.url(u,a),a=new C(a).toHtmlAttributes(),D.setData(s,"src-cache",l),s.setAttribute("width",a.width),s.setAttribute("height",a.height),i.push(s));return i}.call(this),this.cloudinary_update(t,o)),this},b=function(t,e,n,i){var r,o,a,s;return!(s=null!=(r=null!=(o=null!=(a=i.responsive_use_breakpoints)?a:i.responsive_use_stoppoints)?o:this.config("responsive_use_breakpoints"))?r:this.config("responsive_use_stoppoints"))||"resize"===s&&!i.resizing?e:this.calc_breakpoint(t,e,n)},w=function(t){var e,n;for(e=0;(t=null!=t?t.parentNode:void 0)instanceof Element&&!e;)n=window.getComputedStyle(t),/^inline/.test(n.display)||(e=D.width(t));return e},_=function(t,e){return t.replace(/\bdpr_(1\.0|auto)\b/g,"dpr_"+this.device_pixel_ratio(e))},x=function(t,e){var n;return(n=D.getData(e,"width")||0)<t&&(n=t,D.setData(e,"width",t)),n},l.prototype.cloudinary_update=function(t,e){var n,i,r,o,a,s,u,l,c,p,f,d,h,g,m,y,v;if(null==e&&(e={}),null===t)return this;for(h=null!=(s=null!=(u=e.responsive)?u:this.config("responsive"))&&s,t=function(){switch(!1){case!D.isArray(t):case"NodeList"!==t.constructor.name:return t;case!D.isString(t):return document.querySelectorAll(t);default:return[t]}}(),g=null!=(l=null!=(c=this.responsiveConfig.responsive_class)?c:e.responsive_class)?l:this.config("responsive_class"),m=null!=(p=e.round_dpr)?p:this.config("round_dpr"),r=0,o=t.length;r<o;r++)if((null!=(f=(v=t[r]).tagName)?f.match(/img/i):void 0)&&(y=!0,h&&D.addClass(v,g),i=D.getData(v,"src-cache")||D.getData(v,"src"),!D.isEmpty(i))){if(i=_.call(this,i,m),E.isResponsive(v,g))if(0!==(n=w(v))){switch(!1){case!/w_auto:breakpoints/.test(i):(d=x(n,v))?i=i.replace(/w_auto:breakpoints([_0-9]*)(:[0-9]+)?/,"w_auto:breakpoints$1:"+d):y=!1;break;case!(a=/w_auto(:(\d+))?/.exec(i)):d=b.call(this,v,n,a[2],e),(d=x(d,v))?i=i.replace(/w_auto[^,\/]*/g,"w_"+d):y=!1}D.removeAttribute(v,"width"),e.responsive_preserve_height||D.removeAttribute(v,"height")}else y=!1;y&&D.setAttribute(v,"src",i)}return this},l.prototype.transformation=function(t){return C["new"](this.config()).fromOptions(t).setParent(this)},l}(),n=function(){function e(t){e.__super__.constructor.call(this,t)}return extend(e,p),e.prototype.image=function(t,e){var n,i,r,o;return null==e&&(e={}),i=this.imageTag(t,e),n=null!=(r=null!=(o=e.client_hints)?o:this.config("client_hints"))&&r,null!=e.src||n||i.setAttr("src",""),i=l(i.to
6Html()),n||i.data("src-cache",this.url(t,e)).cloudinary_update(e),i},e.prototype.responsive=function(t){var e,n,i,o,a,r,s,u;if(a=l.extend(a||{},t),o=null!=(e=this.responsiveConfig.responsive_class)?e:this.config("responsive_class"),l("img."+o+", img.cld-hidpi").cloudinary_update(a),(null==(n=null!=(i=a.responsive_resize)?i:this.config("responsive_resize"))||n)&&!r)return a.resizing=r=!0,s=null,l(window).on("resize",(u=this,function(){var t,e,n,i,r;return t=null!=(e=null!=(n=a.responsive_debounce)?n:u.config("responsive_debounce"))?e:100,i=function(){if(s)return clearTimeout(s),s=null},r=function(){return l("img."+o).cloudinary_update(a)},t?(i(),setTimeout(function(){return i(),r()},t)):r()}))},e}(),l.fn.cloudinary=function(i){return this.filter("img").each(function(){var t,e,n;return e=(t=l.extend({width:l(this).attr("width"),height:l(this).attr("height"),src:l(this).attr("src")},l(this).data(),i)).source||t.src,delete t.source,delete t.src,n=l.cloudinary.url(e,t),t=new C(t).toHtmlAttributes(),l(this).data("src-cache",n).attr({width:t.width,height:t.height})}).cloudinary_update(i),this},l.fn.cloudinary_update=function(t){return null==t&&(t={}),l.cloudinary.cloudinary_update(this.filter("img").toArray(),t),this},st=null,l.fn.webpify=function(t,e){var n,i;return null==t&&(t={}),n=this,e=null!=e?e:t,st||(st=l.Deferred(),(i=new Image).onerror=st.reject,i.onload=st.resolve,i.src="data:image/webp;base64,UklGRi4AAABXRUJQVlA4TCEAAAAvAUAAEB8wAiMwAgSSNtse/cXjxyCCmrYNWPwmHRH9jwMA"),l(function(){return st.done(function(){return l(n).cloudinary(l.extend({},e,{format:"webp"}))}).fail(function(){return l(n).cloudinary(t)})}),this},l.fn.fetchify=function(t){return this.cloudinary(l.extend(t,{type:"fetch"}))},l.cloudinary=new n,l.cloudinary.fromDocument(),n.prototype.delete_by_token=function(t,e){var n,i;return(i=(e=e||{}).url)||(i="https://api.cloudinary.com/v1_1/"+(e.cloud_name||l.cloudinary.config().cloud_name)+"/delete_by_token"),n=l.support.xhrFileUpload?"json":"iframe json",l.ajax({url:i,method:"POST",data:{token:t},headers:{"X-Requested-With":"XMLHttpRequest"},dataType:n})},n.prototype.unsigned_upload_tag=function(t,e,n){return l("<input/>").attr({type:"file",name:"file"}).unsigned_cloudinary_upload(t,e,n)},l.fn.cloudinary_fileupload=function(t){var e,n;return D.isFunction(l.fn.fileupload)&&((e=!this.data("blueimpFileupload"))&&(t=l.extend({maxFileSize:2e7,dataType:"json",headers:{"X-Requested-With":"XMLHttpRequest"}},t)),this.fileupload(t),e&&(this.bind("fileuploaddone",function(t,e){var n,i,r;if(!e.result.error)return e.result.path=["v",e.result.version,"/",e.result.public_id,e.result.format?"."+e.result.format:""].join(""),e.cloudinaryField&&0<e.form.length&&(r=[e.result.resource_type,e.result.type,e.result.path].join("/")+"#"+e.result.signature,n=function(){return l("<input/>").attr({type:"hidden",name:e.cloudinaryField}).val(r).appendTo(e.form)},l(t.target).prop("multiple")?n():0<(i=l(e.form).find('input[name="'+e.cloudinaryField+'"]')).length?i.val(r):n()),l(t.target).trigger("cloudinarydone",e)}),this.bind("fileuploadsend",function(t,e){return e.headers=l.extend({},e.headers,{"X-Unique-Upload-Id":(1e10*Math.random()).toString(16)}),!0}),this.bind("fileuploadstart",function(t){return l(t.target).trigger("cloudinarystart")}),this.bind("fileuploadstop",function(t){return l(t.target).trigger("cloudinarystop")}),this.bind("fileuploadprogress",function(t,e){return l(t.target).trigger("cloudinaryprogress",e)}),this.bind("fileuploadprogressall",function(t,e){return l(t.target).trigger("cloudinaryprogressall",e)}),this.bind("fileuploadfail",function(t,e){return l(t.target).trigger("cloudinaryfail",e)}),this.bind("fileuploadalways",function(t,e){return l(t.target).trigger("cloudinaryalways",e)}),this.fileupload("option").url||(n="https://api.cloudinary.com/v1_1/"+(t.cloud_name||l.cloudinary.config().cloud_name)+"/"+(t.resource_type||"auto")+"/"+(t.type||"upload"),this.fileupload("option","url",n)))),this},l.fn.cloudinary_upload_url=function(t){return D.isFunction(l.fn.fileupload)&&(this.fileupload("option","formData").file=t,this.fileupload("add",{files:[t]}),delete this.fileupload("option","formData").file),this},l.fn.unsigned_cloudinary_upload=function(t,e,n){var i,r,o,a,s,u;for(null==e&&(e={}),null==n&&(n={}),e=D.cloneDeep(e),n=D.cloneDeep(n),r=["cloud_name","resource_type","type"],a=0;a<r.length;)e[i=r[a]]&&(n[i]=e[i],delete e[i]),a++;for(s in e)u=e[s],D.isPlainObject(u)?e[s]=l.map(u,function(t,e){return D.isString(t)&&(t=t.replace(/[\|=]/g,"\\$&")),e+"="+t}).join("|"):D.isArray(u)&&(0<u.length&&Array.isArray(u[0])?e[s]=l.map(u,function(t){return t.join(",")}).join("|"):e[s]=u.join(","));return e.callback||(e.callback="/cloudinary_cors.html"),e.upload_preset=t,n.formData=e,n.cloudinary_field&&(n.cloudinaryField=n.cloudinary_field,delete n.cloudinary_field),(o=n.html||{})["class"]=D.trim("cloudinary_fileupload "+(o["class"]||"")),n.multiple&&(o.multiple=!0),this.attr(o).cloudinary_fileupload(n),this},l.cloudinary=new n,j={utf8_encode:at,crc32:N,Util:D,Condition:u,Transformation:C,Configuration:r,HtmlTag:E,ImageTag:g,VideoTag:T,ClientHintsMetaTag:e,Layer:a,FetchLayer:o,TextLayer:y,SubtitlesLayer:m,Cloudinary:p,VERSION:"2.5.0",CloudinaryJQuery:n}}),function(){var a;(a=jQuery).attachinary={index:0,config:{disableWith:"Uploading...",indicateProgress:!0,invalidFormatMessage:"Invalid file format",unknownErrorMessage:"Error uploading file",render:function(t){var n;return n="<ul>",t.forEach(function(t){var e;return n+="<li>","raw"===t.resource_type?n+='<div class="raw-file"></div>':"mp3"===t.format?(e=a.cloudinary.url(t.public_id,{version:t.version,resource_type:"video",format:"mp3"}),n+='<audio src="'+e+'" controls />'):(e=a.cloudinary.url(t.public_id,{version:t.version,format:"jpg",crop:"fill",width:75,height:75}),n+='<img src="'+e+'" alt="" width="75" height="75" />'),n+='<a href="#" data-remove="'+t.public_id+'">Remove</a>',n+="</li>"}),n+="</ul>"}}},a.fn.attachinary=function(t){var e;return e=a.extend({},a.attachinary.config,t),this.each(function(){var t;if(!(t=a(this)).data("attachinary-bond"))return t.data("attachinary-bond",new a.attachinary.Attachinary(t,e))})},a.attachinary.Attachinary=function(){function t(t,e){var n;
6this.$input=t,this.config=e,this.options=this.$input.data("attachinary"),this.files=this.options.files,this.$form=this.$input.closest("form"),this.$submit=this.$form.find(null!=(n=this.options.submit_selector)?n:"input[type=submit]"),null!=this.options.wrapper_container_selector&&(this.$wrapper=this.$input.closest(this.options.wrapper_container_selector)),this.initFileUpload(),this.addFilesContainer(),this.bindEventHandlers(),this.redraw(),this.checkMaximum()}return t.prototype.initFileUpload=function(){var t;return this.options.field_name=this.$input.attr("name"),t={dataType:"json",paramName:"file",headers:{"X-Requested-With":"XMLHttpRequest"},dropZone:this.config.dropZone||this.$input,sequentialUploads:!0},this.$input.attr("accept")&&(this.options.acceptFileTypes=t.acceptFileTypes=new RegExp("^"+this.$input.attr("accept").split(",").join("|")+"$","i")),this.$input.fileupload(t)},t.prototype.bindEventHandlers=function(){var i,n,r,e,t,o;return this.$input.bind("fileuploadsend",(i=this,function(t,e){var n;if(n=!1,e.files.forEach(function(t){if(null!=i.options.accept&&!i.options.acceptFileTypes.test(t.type))return alert(i.config.invalidFormatMessage),n=!0}),!n)return i.$input.addClass("uploading"),null!=i.$wrapper&&i.$wrapper.addClass("uploading"),i.$form.addClass("uploading"),i.$input.prop("disabled",!0),i.config.disableWith&&(i.$submit.each(function(t,e){var n;if(null==(n=a(e)).data("old-val"))return n.data("old-val",n.val())}),i.$submit.val(i.config.disableWith),i.$submit.prop("disabled",!0)),!i.maximumReached()})),this.$input.bind("fileuploaddone",(n=this,function(t,e){return n.addFile(e.result)})),this.$input.bind("fileuploadfail",(r=this,function(t,e){return r.failAlert(e)})),this.$input.bind("fileuploadstart",(e=this,function(t){return e.$input=a(t.target)})),this.$input.bind("fileuploadalways",(t=this,function(){if(t.$input.removeClass("uploading"),null!=t.$wrapper&&t.$wrapper.removeClass("uploading"),t.$form.removeClass("uploading"),t.checkMaximum(),t.config.disableWith)return t.$submit.each(function(t,e){var n;return(n=a(e)).val(n.data("old-val"))}),t.$submit.prop("disabled",!1)})),this.$input.bind("fileuploadprogressall",(o=this,function(t,e){var n;if(n=parseInt(e.loaded/e.total*100,10),o.config.disableWith&&o.config.indicateProgress)return o.$submit.val("["+n+"%] "+o.config.disableWith)}))},t.prototype.addFile=function(t){return this.options.accept&&-1===a.inArray(t.format,this.options.accept)&&-1===a.inArray(t.resource_type,this.options.accept)?alert(this.config.invalidFormatMessage):(this.files.push(t),this.redraw(),this.checkMaximum(),this.$input.trigger("attachinary:fileadded",[t]))},t.prototype.failAlert=function(){return alert(this.config.unknownErrorMessage)},t.prototype.removeFile=function(t){var e,n,i,r,o,a;for(e=[],a=null,i=0,r=(o=this.files).length;i<r;i++)(n=o[i]).public_id===t?a=n:e.push(n);return this.files=e,this.redraw(),this.checkMaximum(),this.$input.trigger("attachinary:fileremoved",[a])},t.prototype.checkMaximum=function(){return this.maximumReached()?(null!=this.$wrapper&&this.$wrapper.addClass("disabled"),this.$input.prop("disabled",!0)):(null!=this.$wrapper&&this.$wrapper.removeClass("disabled"),this.$input.prop("disabled",!1))},t.prototype.maximumReached=function(){return this.options.maximum&&this.files.length>=this.options.maximum},t.prototype.addFilesContainer=function(){return null!=this.options.files_container_selector&&0<a(this.options.files_container_selector).length?this.$filesContainer=a(this.options.files_container_selector):(this.$filesContainer=a('<div class="attachinary_container">'),this.$input.after(this.$filesContainer))},t.prototype.redraw=function(){return this.$filesContainer.empty(),0<this.files.length?(this.$filesContainer.append(this.makeHiddenField(JSON.stringify(this.files))),this.$filesContainer.append(this.config.render(this.files)),this.$filesContainer.find("[data-remove]").on("click",(e=this,function(t){return t.preventDefault(),e.removeFile(a(t.target).data("remove"))})),this.$filesContainer.show()):(this.$filesContainer.append(this.makeHiddenField(null)),this.$filesContainer.hide());var e},t.prototype.makeHiddenField=function(t){var e;return(e=a('<input type="hidden">')).attr("name",this.options.field_name),e.val(t),e},t}()}.call(this),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.Tagify=e()}(this,function(){"use strict";function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}
6))),i.forEach(function(t){r(e,t,n[t])})}return e}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function t(t,e){if(!t)return console.warn("Tagify: ","invalid input element ",t),this;this.applySettings(t,e),this.state={},this.value=[],this.listeners={},this.DOM={},this.extend(this,new this.EventDispatcher(this)),this.build(t),this.loadOriginalValues(),this.events.customBinding.call(this),this.events.binding.call(this),t.autofocus&&this.DOM.input.focus()}return t.prototype={isIE:window.document.documentMode,TEXTS:{empty:"empty",exceed:"number of tags exceeded",pattern:"pattern mismatch",duplicate:"already exists",notAllowed:"not allowed"},DEFAULTS:{delimiters:",",pattern:null,maxTags:Infinity,callbacks:{},addTagOnBlur:!0,duplicates:!1,whitelist:[],blacklist:[],enforceWhitelist:!1,keepInvalidTags:!1,autoComplete:!0,mixTagsAllowedAfter:/,|\.|\:|\s/,backspace:!0,skipInvalid:!1,transformTag:function e(){},dropdown:{classname:"",enabled:2,maxItems:10,itemTemplate:"",fuzzySearch:!0}},templates:{wrapper:function n(t,e){return'<tags class="tagify '.concat(e.mode?"tagify--mix":""," ").concat(t.className,'"\n ').concat(e.readonly?'readonly aria-readonly="true"':'aria-haspopup="true" aria-expanded="false"','\n role="tagslist">\n <span contenteditable data-placeholder="').concat(t.placeholder||"​",'" aria-placeholder="').concat(t.placeholder||"", 7'"\n class="tagify__input"\n role="textbox"\n aria-multiline="false"></span>\n </tags>')},tag:function i(t,e){return"<tag title='".concat(e.title||t,"'\n contenteditable='false'\n spellcheck='false'\n class='tagify__tag ").concat(e["class"]?e["class"]:"","'\n ").concat(this.getAttributes(e),">\n <x title='' class='tagify__tag__removeBtn' role='button' aria-label='remove tag'></x>\n <div>\n <span class='tagify__tag-text'>").concat(t,"</span>\n </div>\n </tag>")},dropdownItem:function o(t){var e=(t.value||t).replace(/`|'/g,"'");return"<div ".concat(this.getAttributes(t),"\n class='tagify__dropdown__item ").concat(t["class"]?t["class"]:"",'\'\n tabindex="0"\n role="menuitem"\n aria-labelledby="dropdown-label">').concat(e,"</div>")}},customEventsList:["click","add","remove","invalid","input","edit"],applySettings:function a(t,e){var n=t.getAttribute("data-whitelist"),i=t.getAttribute("data-blacklist");if(this.DEFAULTS.templates=this.templates,this.DEFAULTS.dropdown.itemTemplate=this.templates.dropdownItem,this.settings=this.extend({},this.DEFAULTS,e),this.settings.readonly=t.hasAttribute("readonly"),this.isIE&&(this.settings.autoComplete=!1),i&&(i=i.split(this.settings.delimiters))instanceof Array&&(this.settings.blacklist=i),n&&(n=n.split(this.settings.delimiters))instanceof Array&&(this.settings.whitelist=n),t.pattern)try{this.settings.pattern=new RegExp(t.pattern)}catch(r){}if(this.settings&&this.settings.delimiters)try{this.settings.delimiters=new RegExp("["+this.settings.delimiters+"]","g")}catch(r){}},parseHTML:function u(t){return(new DOMParser).parseFromString(t.trim(),"text/html").body.firstElementChild},escapeHTML:function l(t){var e=document.createTextNode(t),n=document.createElement("p");return n.appendChild(e),n.innerHTML},build:function c(t){var e=this.DOM,n=this.settings.templates.wrapper(t,this.settings);e.originalInput=t,e.scope=this.parseHTML(n),e.input=e.scope.querySelector("[contenteditable]"),t.parentNode.insertBefore(e.scope,t),0<=this.settings.dropdown.enabled&&this.dropdown.init.call(this)},destroy:function p(){this.DOM.scope.parentNode.removeChild(this.DOM.scope),this.dropdown.hide.call(this)},loadOriginalValues:function f(t){var e=0<arguments.length&&t!==undefined?arguments[0]:this.DOM.originalInput.value;if(e){this.removeAllTags();try{e=JSON.parse(e)}catch(n){}"mix"==this.settings.mode?this.parseMixTags(e):this.addTags(e).forEach(function(t){t&&t.classList.add("tagify--noAnim")})}},extend:function d(t,e,n){function i(t){var e=Object.prototype.toString.call(t).split(" ")[1].slice(0,-1);return t===Object(t)&&"Array"!=e&&"Function"!=e&&"RegExp"!=e&&"HTMLUnknownElement"!=e}function r(t,e){for(var n in e)e.hasOwnProperty(n)&&(i(e[n])?i(t[n])?r(t[n],e[n]):t[n]=Object.assign({},e[n]):t[n]=e[n])}return t instanceof Object||(t={}),r(t,e),n&&r(t,n),t},EventDispatcher:function h(r){var o=document.createTextNode("");this.off=function(t,e){return e&&o.removeEventListener.call(o,t,e),this},this.on=function(t,e){return e&&o.addEventListener.call(o,t,e),this},this.trigger=function(t,e){var n;if(t)if(r.settings.isJQueryPlugin)$(r.DOM.originalInput).triggerHandler(t,[e]);
7else{try{n=new CustomEvent(t,{detail:e})}catch(i){console.warn(i)}o.dispatchEvent(n)}}},events:{customBinding:function g(){var e=this;this.customEventsList.forEach(function(t){e.on(t,e.settings.callbacks[t])})},binding:function m(t){var e,n=!(0<arguments.length&&t!==undefined)||arguments[0],i=this.events.callbacks,r=n?"addEventListener":"removeEventListener";for(var o in n&&!this.listeners.main&&(this.DOM.input.addEventListener(this.isIE?"keydown":"input",i[this.isIE?"onInputIE":"onInput"].bind(this)),this.settings.isJQueryPlugin&&$(this.DOM.originalInput).on("tagify.removeAllTags",this.removeAllTags.bind(this))),e=this.listeners.main=this.listeners.main||{paste:["input",i.onPaste.bind(this)],focus:["input",i.onFocusBlur.bind(this)],blur:["input",i.onFocusBlur.bind(this)],keydown:["input",i.onKeydown.bind(this)],click:["scope",i.onClickScope.bind(this)],dblclick:["scope",i.onDoubleClickScope.bind(this)]})this.DOM[e[o][0]][r](o,e[o][1])},callbacks:{onFocusBlur:function y(t){var e=t.target.textContent.trim();"mix"!=this.settings.mode&&("focus"==t.type?(this.DOM.scope.classList.add("tagify--focus"),0===this.settings.dropdown.enabled&&this.dropdown.show.call(this)):"blur"==t.type?(this.DOM.scope.classList.remove("tagify--focus"),e&&this.settings.addTagOnBlur&&this.addTags(e,!0).length):(this.DOM.input.removeAttribute("style"),this.dropdown.hide.call(this)))},onKeydown:function v(t){var e,n,i=this,r=t.target.textContent;if("mix"==this.settings.mode){switch(t.key){case"Backspace":var o=[];n=this.DOM.input.children,setTimeout(function(){[].forEach.call(n,function(t){return o.push(t.getAttribute("value"))}),i.value=i.value.filter(function(t){return-1!=o.indexOf(t.value)})},20);break;case"Enter":t.preventDefault()}return!0}switch(t.key){case"Backspace":""!=r&&8203!=r.charCodeAt(0)||(e=(e=this.DOM.scope.querySelectorAll("tag:not(.tagify--hide):not([readonly])"))[e.length-1],!0===this.settings.backspace?this.removeTag(e):"edit"==this.settings.backspace&&this.editTag(e));break;case"Esc":case"Escape":this.input.set.call(this),t.target.blur();break;case"ArrowRight":case"Tab":if(!r)return!0;case"Enter":t.preventDefault(),this.addTags(this.input.value,!0)}},onInput:function b(t){var e=this.input.normalize.call(this),n=e.length>=this.settings.dropdown.enabled;if("mix"==this.settings.mode)return this.events.callbacks.onMixTagsInput.call(this,t);e?this.input.value!=e&&(this.input.set.call(this,e,!1),this.trigger("input",e),-1!=e.search(this.settings.delimiters)?this.addTags(e).length&&this.input.set.call(this):0<=this.settings.dropdown.enabled&&this.dropdown[n?"show":"hide"].call(this,e)):this.input.set.call(this,"")},onMixTagsInput:function w(){var t,e,n,i,r;if(this.maxTagsReached())return!0;window.getSelection&&0<(t=window.getSelection()).rangeCount&&((e=t.getRangeAt(0).cloneRange()).collapse(!0),e.setStart(window.getSelection().focusNode,0),(i=(n=e.toString().split(this.settings.mixTagsAllowedAfter))[n.length-1].match(this.settings.pattern))&&(this.state.tag={prefix:i[0],value:i.input.split(i[0])[1]},i=this.state.tag,r=this.state.tag.value.length>=this.settings.dropdown.enabled)),this.update(),this.trigger("input",this.extend({},this.state.tag,{textContent:this.DOM.input.textContent})),this.state.tag&&this.dropdown[r?"show":"hide"].call(this,this.state.tag.value)},onInputIE:function x(t){var e=this;setTimeout(function(){e.events.callbacks.onInput.call(e,t)})},onPaste:function _(){},onClickScope:function E(t){var e,n=t.target.closest("tag");"TAGS"==t.target.tagName?this.DOM.input.focus():"X"==t.target.tagName?this.removeTag(t.target.parentNode):n&&(e=this.getNodeIndex(n),this.trigger("click",{tag:n,index:e,data:this.value[e]}))},onEditTagInput:function C(t){var e=t.closest("tag"),n=this.getNodeIndex(e),i=this.input.normalize(t),r=i.toLowerCase()==t.originalValue.toLowerCase()||this.validateTag(i);e.classList.toggle("tagify--invalid",!0!==r),e.isValid=r,this.trigger("input",{tag:e,index:n,data:this.extend({},this.value[n],{newValue:i})})},onEditTagBlur:function D(t){var e,n=t.closest("tag"),i=this.getNodeIndex(n),r=this.input.normalize(t)||t.originalValue,o=n.isValid,a=s({},this.value[i],{value:r});this.settings.transformTag.call(this,a),(o=this.validateTag(a.value))!==undefined&&!0!==o||(t.textContent=a.value,this.value[i].value=a.value,this.update(),(e=t.cloneNode(!0)).removeAttribute("contenteditable"),n.title=a.value,n.classList.remove("tagify--editable"),t.parentNode.replaceChild(e,t),this.trigger("edit",{tag:n,index:i,data:this.value[i]}))}
7,onEditTagkeydown:function T(t){switch(t.key){case"Esc":case"Escape":t.target.textContent=t.target.originalValue;case"Enter":case"Tab":t.preventDefault(),t.target.blur()}},onDoubleClickScope:function A(t){var e=t.target.closest("tag"),n=this.settings;"mix"==n.mode||n.readonly||n.enforceWhitelist||!e||e.classList.contains("tagify--editable")||e.hasAttribute("readonly")||this.editTag(e)}}},editTag:function S(t){var e=this,n=t.querySelector(".tagify__tag-text"),i=this.events.callbacks;n?(t.classList.add("tagify--editable"),n.originalValue=n.textContent,n.setAttribute("contenteditable",!0),n.addEventListener("blur",i.onEditTagBlur.bind(this,n)),n.addEventListener("input",i.onEditTagInput.bind(this,n)),n.addEventListener("keydown",function(t){return i.onEditTagkeydown.call(e,t)}),n.focus()):console.warn("Cannot find element in Tag template: ",".tagify__tag-text")},input:{value:"",set:function k(t,e){var n=0<arguments.length&&t!==undefined?arguments[0]:"",i=!(1<arguments.length&&e!==undefined)||arguments[1];this.input.value=n,i&&(this.DOM.input.innerHTML=n),n||this.dropdown.hide.call(this),n.length<2&&this.input.autocomplete.suggest.call(this,""),this.input.validate.call(this)},setRangeAtStartEnd:function j(t,e){var n,i,r=0<arguments.length&&t!==undefined&&arguments[0],o=1<arguments.length?e:undefined;document.createRange&&((n=document.createRange()).selectNodeContents(o||this.DOM.input),n.collapse(r),(i=window.getSelection()).removeAllRanges(),i.addRange(n))},validate:function F(){var t=!this.input.value||this.validateTag.call(this,this.input.value);this.DOM.input.classList.toggle("tagify__input--invalid",!0!==t)},normalize:function O(t){var e=(0<arguments.length&&t!==undefined?arguments[0]:this.DOM.input).innerText;return"settings"in this&&this.settings.delimiters&&(e=e.replace(/(?:\r\n|\r|\n)/g,this.settings.delimiters.source.charAt(1))),e=e.replace(/\s/g," ").replace(/^\s+/,"")},autocomplete:{suggest:function B(t){t&&this.input.value?this.DOM.input.setAttribute("data-suggest",t.substring(this.input.value.length)):this.DOM.input.removeAttribute("data-suggest")},set:function k(t){var e=this.DOM.input.getAttribute("data-suggest"),n=t||(e?this.input.value+e:null);return!!n&&(this.input.set.call(this,n),this.input.autocomplete.suggest.call(this,""),this.dropdown.hide.call(this),this.input.setRangeAtStartEnd.call(this),!0)}}},getNodeIndex:function N(t){var e=0;if(t)for(;t=t.previousElementSibling;)e++;return e},isTagDuplicate:function P(e){return this.value.findIndex(function(t){return e.trim().toLowerCase()===t.value.toLowerCase()})},getTagIndexByValue:function I(n){var i=[];return this.DOM.scope.querySelectorAll("tag").forEach(function(t,e){t.textContent.trim().toLowerCase()==n.toLowerCase()&&i.push(e)}),i},getTagElmByValue:function L(t){var e=this.getTagIndexByValue(t)[0];return this.DOM.scope.querySelectorAll("tag")[e]},markTagByValue:function M(t,e){return!!(e=e||this.getTagElmByValue(t))&&(e.classList.add("tagify--mark"),e)},isTagBlacklisted:function R(e){return e=e.toLowerCase().trim(),this.settings.blacklist.filter(function(t){return e==t.toLowerCase()}).length},isTagWhitelisted:function H(e){return this.settings.whitelist.some(function(t){if((t.value||t).toLowerCase()===e.toLowerCase())return!0})},validateTag:function q(t){var e=t.trim(),n=!0;return e?this.settings.pattern&&!this.settings.pattern.test(e)?n=this.TEXTS.pattern:this.settings.duplicates||-1===this.isTagDuplicate(e)?(this.isTagBlacklisted(e)||this.settings.enforceWhitelist&&!this.isTagWhitelisted(e))&&(n=this.TEXTS.notAllowed):n=this.TEXTS.duplicate:n=this.TEXTS.empty,n},maxTagsReached:function z(){return this.value.length>=this.settings.maxTags&&this.TEXTS.exceed},normalizeTags:function U(t){var e=this.settings,n=e.whitelist,i=e.delimiters,r=e.mode,o=!!n&&n[0]instanceof Object,a=t instanceof Array&&t[0]instanceof Object&&"value"in t[0],s=[];if(a)return t;if("number"==typeof t&&(t=t.toString()),"string"==typeof t){if(!t.trim())return[];t=t.split(i).filter(function(t){return t}).map(function(t){return{value:t.trim()}})}else t instanceof Array&&(t=t.map(function(t){return{value:t.trim()}}));return o?(t.forEach(function(e){var t=n.filter(function(t){return t.value.toLowerCase()==e.value.toLowerCase()});t[0]?s.push(t[0]):"mix"!=r&&s.push(e)}),s):t},parseMixTags:function W(i){var r=this;return i.split(this.settings.mixTagsAllowedAfter).filter(function(t){return t.match(r.settings.pattern)}
7).forEach(function(t){var e,n=t.replace(r.settings.pattern,"");r.isTagWhitelisted(n)&&!r.settings.duplicates&&-1==r.isTagDuplicate(n)&&(e=r.normalizeTags.call(r,n)[0],i=r.replaceMixStringWithTag(i,t,e).s)}),this.DOM.input.innerHTML=i,this.update(),i},replaceMixStringWithTag:function V(t,e,n,i){return n&&t&&-1!=t.indexOf(e)&&(i=this.createTagElem(n),this.value.push(n),t=t.replace(e,i.outerHTML+"⁠")),{s:t,tagElm:i}},addMixTag:function X(t){if(t&&this.state.tag){for(var e,n,i,r,o=this.state.tag.prefix+this.state.tag.value,a=document.createNodeIterator(this.DOM.input,NodeFilter.SHOW_TEXT),s=100;(e=a.nextNode())&&s--;)if(e.nodeType===Node.TEXT_NODE){if(-1==(i=e.nodeValue.indexOf(o)))continue;r=e.splitText(i),n=this.createTagElem(t),r.nodeValue=r.nodeValue.replace(o,""),e.parentNode.insertBefore(n,r),n.insertAdjacentHTML("afterend","⁠")}n&&(this.value.push(t),this.update(),this.trigger("add",this.extend({},{index:this.value.length,tag:n},t))),this.state.tag=null}},addTags:function Q(t,e,n){function r(t){var e=this.DOM.scope.lastElementChild;e===this.DOM.input?this.DOM.scope.insertBefore(t,e):this.DOM.scope.appendChild(t)}var o=this,a=2<arguments.length&&n!==undefined?arguments[2]:this.settings.skipInvalid,s=[];return t&&t.length?(t=this.normalizeTags.call(this,t),"mix"==this.settings.mode?this.addMixTag(t[0]):(this.DOM.input.removeAttribute("style"),t.forEach(function(t){var e,n,i={};if(t=Object.assign({},t),o.settings.transformTag.call(o,t),!0!==(e=o.maxTagsReached()||o.validateTag.call(o,t.value))){if(a)return;i["aria-invalid"]=!0,i["class"]=(t["class"]||"")+" tagify--notAllowed",i.title=e,o.markTagByValue(t.value),o.trigger("invalid",{data:t,index:o.value.length,message:e})}i.role="tag",t.readonly&&(i["aria-readonly"]=!0),n=o.createTagElem(o.extend({},t,i)),s.push(n),r.call(o,n),!0===e?(o.value.push(t),o.update(),o.DOM.scope.classList.toggle("hasMaxTags",o.value.length>=o.settings.maxTags),o.trigger("add",{tag:n,index:o.value.length-1,data:t})):o.settings.keepInvalidTags||setTimeout(function(){o.removeTag(n,!0)},1e3)}),t.length&&e&&this.input.set.call(this),s)):(console.warn("[addTags]","no tags to add:",t),s)},minify:function G(t){return t.replace(new RegExp(">[\r\n ]+<","g"),"><")},createTagElem:function Z(t){var e=this.escapeHTML(t.value),n=this.settings.templates.tag.call(this,e,t);return this.settings.readonly&&(t.readonly=!0),n=this.minify(n),this.parseHTML(n)},removeTag:function J(t,e,n){function i(){t.style.width=parseFloat(window.getComputedStyle(t).width)+"px",document.body.clientTop,t.classList.add("tagify--hide"),setTimeout(r,400)}function r(){t.parentNode&&t.parentNode.removeChild(t)}var o=2<arguments.length&&n!==undefined?arguments[2]:250;if(t&&("string"==typeof t&&(t=this.getTagElmByValue(t)),t instanceof HTMLElement)){var a,s=this.getNodeIndex(t);o&&10<o?i():r(),e||(a=this.value.splice(s,1)[0],this.update(),this.trigger("remove",{tag:t,index:s,data:a}))}},removeAllTags:function K(){this.value=[],this.update(),Array.prototype.slice.call(this.DOM.scope.querySelectorAll("tag")).forEach(function(t){return t.parentNode.removeChild(t)})},getAttributes:function Y(t){if("[object Object]"!=Object.prototype.toString.call(t))return"";var e,n,i=Object.keys(t),r="";for(n=i.length;n--;)"class"!=(e=i[n])&&t.hasOwnProperty(e)&&(r+=" "+e+(t[e]?'="'.concat(t[e],'"'):""));return r},update:function tt(){this.DOM.originalInput.value="mix"==this.settings.mode?this.DOM.input.textContent:JSON.stringify(this.value)},dropdown:{init:function et(){this.DOM.dropdown=this.dropdown.build.call(this)},build:function c(){var t="tagify__dropdown ".concat(this.settings.dropdown.classname).trim(),e='<div class="'.concat(t,'" role="menu"></div>');return this.parseHTML(e)},show:function nt(t){var e;if(this.settings.whitelist.length){if(this.suggestedListItems=this.dropdown.filterListItems.call(this,t),!this.suggestedListItems.length)return this.input.autocomplete.suggest.call(this),void this.dropdown.hide.call(this);e=this.dropdown.createListHTML.call(this,this.suggestedListItems),this.DOM.dropdown.innerHTML=this.minify(e),this.dropdown.highlightOption.call(this,this.DOM.dropdown.querySelector(".tagify__dropdown__item")),this.dropdown.position.call(this),this.DOM.scope.setAttribute("aria-expanded",!0),!this.DOM.dropdown.parentNode!=document.body&&(document.body.appendChild(this.DOM.dropdown),this.events.binding.call(this,!1),this.dropdown.events.binding.call(this))}},hide:function it(){this.DOM.dropdown&&this.DOM.dropdown.parentNode==document.body&&(document.body.removeChild(this.DOM.dropdown),this.DOM.scope.setAttribute("aria-expanded",!1),window.removeEventListener("resize",this.dropdown.position),this.dropdown.events.binding.call(this,!1),this.events.binding.call(this))},position:function rt(){var t=this.DOM.scope.getBoundingClientRect();this.DOM.dropdown.style.cssText="left: "+(t.left+window.pageXOffset)+"px;
7 top: "+(t.top+t.height-1+window.pageYOffset)+"px; width: "+t.width+"px"},events:{binding:function m(t){var e=!(0<arguments.length&&t!==undefined)||arguments[0],n=this.listeners.dropdown=this.listeners.dropdown||{position:this.dropdown.position.bind(this),onKeyDown:this.dropdown.events.callbacks.onKeyDown.bind(this),onMouseOver:this.dropdown.events.callbacks.onMouseOver.bind(this),onClick:this.dropdown.events.callbacks.onClick.bind(this)},i=e?"addEventListener":"removeEventListener";window[i]("resize",n.position),window[i]("keydown",n.onKeyDown),window[i]("mousedown",n.onClick),this.DOM.dropdown[i]("mouseover",n.onMouseOver)},callbacks:{onKeyDown:function ot(t){var e=this.DOM.dropdown.querySelector("[class$='--active']")||this.DOM.dropdown.children[0],n="";switch(t.key){case"ArrowDown":case"ArrowUp":case"Down":case"Up":t.preventDefault(),e&&(e=e[("ArrowUp"==t.key||"Up"==t.key?"previous":"next")+"ElementSibling"]),e||(e=this.DOM.dropdown.children["ArrowUp"==t.key||"Up"==t.key?this.DOM.dropdown.children.length-1:0]),this.dropdown.highlightOption.call(this,e,!0);break;case"Escape":case"Esc":this.dropdown.hide.call(this);break;case"ArrowRight":case"Tab":if(t.preventDefault(),!this.input.autocomplete.set.call(this,e?e.textContent:null))return!1;case"Enter":return t.preventDefault(),n=this.suggestedListItems[this.getNodeIndex(e)]||this.input.value,this.addTags([n],!0),this.dropdown.hide.call(this),!1}},onMouseOver:function at(t){t.target.className.includes("__item")&&this.dropdown.highlightOption.call(this,t.target)},onClick:function st(t){var e,n,i=this,r=function r(){return i.dropdown.hide.call(i)};if(0==t.button&&t.target!=this.DOM.dropdown){if(t.target==document.documentElement)return r();(n=[t.target,t.target.parentNode].filter(function(t){return t.className.includes("tagify__dropdown__item")})[0])?(e=this.suggestedListItems[this.getNodeIndex(n)]||this.input.value,this.addTags([e],!0),this.dropdown.hide.call(this),setTimeout(function(){return i.DOM.input.focus()},100)):r()}}}},highlightOption:function ut(t,e){if(t){var n,i="tagify__dropdown__item--active";this.DOM.dropdown.querySelectorAll("[class$='--active']").forEach(function(t){t.classList.remove(i),t.removeAttribute("aria-selected")}),t.classList.add(i),t.setAttribute("aria-selected",!0),e&&(t.parentNode.scrollTop=t.clientHeight+t.offsetTop-t.parentNode.clientHeight),this.settings.autoComplete&&!this.settings.dropdown.fuzzySearch&&(n=this.suggestedListItems[this.getNodeIndex(t)].value||this.input.value,this.input.autocomplete.suggest.call(this,n))}},filterListItems:function lt(t){var e,n,i,r,o=this,a=[],s=this.settings.whitelist,u=this.settings.dropdown.maxItems||Infinity,l=0;if(!t)return s.filter(function(t){return-1==o.isTagDuplicate(t.value||t)}).slice(0,u);for(;l<s.length&&(i=(((e=s[l]instanceof Object?s[l]:{value:s[l]}).searchBy||"")+" "+e.value).toLowerCase().indexOf(t.toLowerCase()),n=this.settings.dropdown.fuzzySearch?0<=i:0==i,r=!this.settings.duplicates&&-1<this.isTagDuplicate(e.value),n&&!r&&u--&&a.push(e),0!=u);l++);return a},createListHTML:function ct(t){var e=this.settings.templates.dropdownItem.bind(this);return t.map(e).join("")}}},t}),function(){$(function(){if($("img[data-fallback-src]").on("error",function(){var t;if(t=$(this).data("fallback-src"))return $(this).removeAttr("data-fallback-src"),this.src=t}),$("img").lazyload({root:null,rootMargin:"200px",threshold:200}),$(".attachinary-input").attachinary({render:function(t){var e,n,i,r,o,a;for(i="",r=0,o=t.length;r<o;r++)i+='<div class="attachinary-preview">',"raw"===(e=t[r]).resource_type||"pdf"===e.format?(i+='<input type="text" value="[link text]('+(a=$.cloudinary.url(e.public_id,{format:e.format,resource_type:e.resource_type}))+')" size="50">',i+='<a href="'+a+'" target="_blank">Preview</a>'):(i+='<img src="'+$.cloudinary.url(e.public_id,{quality:"auto",flags:"progressive",format:"jpg",crop:"fill",width:320})+'" alt="Attachinary preview" />',i+='<input type="text" value=")+')" size="50">',i+='<a href="'+n+'" target="_blank">Preview</a>'),i+=" or ",i+='<a href="#" data-remove="'+e.public_id+'">Remove</a>',i+="</div>";return i+='<div class="clear"></div>'}}),$("input[data-sel-tagify]").length)return new Tagify($("[data-sel-tagify]")[0],{})})}.call(this),function(){var t=function(){document.querySelectorAll(".article-table-load-more").forEach(function(e){e.addEventListener("click",function(){var t=e.closest(".article-table");t&&(Array.prototype.slice.call(t.querySelectorAll(".article-table-row--hidden")).slice(0,10).forEac
7h(function(t){t.classList.remove("article-table-row--hidden")}),t.querySelector(".article-table-row--hidden")||(e.style.display="none"))})})};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()}(),function(){var o=function(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-")},g=function(t,e){if(t.id)return t.id;var n=o(t.textContent)||"section",i=e.get(n)||0,r=i?n+"-"+(i+1):n;return e.set(n,i+1),t.id=r},t=function(){var t=document.querySelector("[data-article-body]"),e=document.querySelector("[data-article-toc-layout]"),n=document.querySelector("[data-article-toc]"),o=document.querySelector("[data-article-toc-list]");if(t&&e&&n&&o){var i=Array.prototype.slice.call(t.querySelectorAll("h2, h3, h4, h5, h6")).filter(function(t){return t.textContent.trim().length});if(i.length){var a=new Map,r=i.map(function(t){var e=g(t,a),n=t.tagName.slice(1),i=document.createElement("li"),r=document.createElement("a");return i.className="article-toc-item article-toc-item--level-"+n,r.className="article-toc-link",r.href="#"+e,r.textContent=t.textContent.trim(),i.appendChild(r),o.appendChild(i),{heading:t,link:r}});n.hidden=!1,e.classList.add("article-show-layout--has-toc");var s=new Set,u=!1,l=null,c=function(e){r.forEach(function(t){t.link.classList.toggle("is-active",t.link===e)})},p=function(){var t=r.find(function(t){return s.has(t.heading)});return t?t.link:null},f=function(){u=!1,l&&(l(),l=null);var t=p();t&&c(t)},d=function(){var t,e;u=!0,l&&l();var n=function(){window.clearTimeout(e),e=window.setTimeout(f,160)},i=function(){f()};window.addEventListener("scroll",n,{passive:!0}),window.addEventListener("scrollend",i,{once:!0}),t=window.setTimeout(f,1500),l=function(){window.removeEventListener("scroll",n),window.removeEventListener("scrollend",i),window.clearTimeout(t),window.clearTimeout(e)}};if(r.forEach(function(e){e.link.addEventListener("click",function(t){t.preventDefault(),d(),c(e.link),e.heading.scrollIntoView({behavior:window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",block:"start"}),window.history.pushState(null,"",e.link.href)})}),c(r[0].link),"IntersectionObserver"in window){var h=new IntersectionObserver(function(t){if(t.forEach(function(t){t.isIntersecting?s.add(t.target):s["delete"](t.target)}),!u){var e=p();e&&c(e)}},{rootMargin:"-120px 0px -70% 0px"});r.forEach(function(t){h.observe(t.heading)})}}}};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()}(),function(){this.Blogengine={}}.call(this),function(){var e,n,i,t;this.Blogengine.editor=(i={},t=function(t){return i=$.extend({$element:$(".js-editor"),$open:$(".js-editor-open"),$close:$(".
7js-editor-close"),$overlay:$(".js-editor-overlay"),$textarea:$(".js-editor-textarea"),closeQuery:".js-editor-close",activeClass:"is-active",editingClass:"is-editing"},t),$.fn.redraw=function(){return $(this).each(function(){return this.offsetHeight})},n()},e=function(){if(i.$textarea.hasClass(i.editingClass))return i.$overlay.removeClass(i.activeClass),i.$textarea.removeClass(i.editingClass),setTimeout(function(){return i.$textarea.trigger("focus")},50)},n=function(){return $(document).on("keyup",function(t){if(27===t.which&&$(":focus").is(i.$textarea))return t.preventDefault(),i.$textarea.trigger("blur")}),i.$open.on("click",function(t){return t.preventDefault(),i.$textarea.addClass(i.editingClass).parent(i.$overlay).addClass(i.activeClass),i.$textarea.trigger("focus")}),$(document).on("click",i.closeQuery,function(t){return t.preventDefault(),e()}),i.$textarea.on("blur",function(){return e()})},{init:t})}.call(this),function(){$(function(){var c,e,t,n,i,r,o,a,s,u,l,p,f,d;return t=$("#unsplash_search").data("js-ajax-url"),c=$("div[data-js-hero-image-form]"),e=c.find("div[data-js-toggle-section-tabs]"),f=0,i=function(t){var e,n;return e=(null!=(n=t.responseJSON)?n.error:void 0)||"ERROR: Unable to fetch images. Check if the Unsplash API is down.",c.find(".unsplash-image").hide(),$(".pagination-container").text(e)},p=function(t,e,n){return t.find(".unsplash-image-holder").css("background-image","url("+e.urls.small+")"),t.find("input").val(e.id),e.selected&&t.find("input").prop("checked",!0),t.find(".unsplash-image-caption-user").attr("href",n.links.html).text(n.name),t.show()},d=function(t){var e,n,i,r,o,a,s,u,l;for(c.find(".pagination-container").html(t.pagination_html),(n=c.find(".unsplash-image")).find("input:radio").attr("checked",!1),n.hide(),l=[],a=o=0,s=(u=t.unsplash_results).length;o<s;a=++o)r=(i=(i=u[a]).attributes.table).user.attributes?i.user.attributes.table:i.user,e=n.eq(a),l.push(p(e,i,r));return l},n=function(t,e){return $.ajax({url:t,data:e,success:d,error:i})},t&&n(t),(s=function(){var t;return t=e.find("input[type=radio]:checked"),e.find("label").removeClass("here"),t.parent().addClass("here"),c.find("div[data-js-toggle-section]").hide(),c.find("div[data-js-toggle-section='"+t.val()+"']").show()})(),r=function(){var t;return t=e.find("input[type=radio]:checked"),c.find("div[data-js-toggle-section]:not(div[data-js-toggle-section='"+t.val()+"']) input").remove()},a=function(){return n(t,$(this).serialize())},o=function(){return n(this.href),!1},u=function(){return clearTimeout(f),f=setTimeout(a.bind(this),200)},l=function(){return 13!==event.keyCode},c.on("click",".pagination a",o).on("keyup","#unsplash_search",u).on("keypress","#unsplash_search",l).closest("form").on("submit",r),e.find("input[type=radio]").on("change",s)})}.call(this),function(){jQuery(function(){return Blogengine.editor.init()})}.call(this),function(){window.UI||(window.UI={}),UI.Helpers=function(){function t(){}var n,e;return e={dataAttributeName:"data-on-click-scope",bodyDataAttributeName:"data-on-click-scope-body"},n=function(t){return null==t&&(t={}),$.extend({},e,t)},t.removeOnClickScope=function(t){var e;return null==t&&(t={}),e=n(t),$("body").attr(e.bodyDataAttributeName,"")},t.addOnClickScope=function(t){var e;return null==t&&(t={}),e=n(t),$("body").attr(e.bodyDataAttributeName,e.scopeValue)},t.scopeToBodyOnClick=function(t){var r,o,i;return null==t&&(t={}),r=n(t),$("["+r.dataAttributeName+"]").on("click",(o=this,function(t){var e,n,i;return i=(e=$(t.currentTarget)).attr(r.dataAttributeName),n=$("body").attr(r.bodyDataAttributeName),e.data("on-click-scope-exit-disabled")||n!==i?o.addOnClickScope({scopeValue:i}):o.removeOnClickScope()})),$("["+r.dataAttributeName+"]").each((i=this,function(t,e){var n;if($(e).data("on-click-scope-active"))return n=$(e).attr(r.dataAttributeName),i.addOnClickScope({scopeValue:n}),!1}))},t}()}.call(this),function(u){function l(t,e){this.$element=u(t),this.options=e,this.enabled=!0,this.fixTitle()}l.prototype={show:function(){var t=this.getTitle();if(t&&this.enabled){var e=this.tip();e.find(".tipsy-inner")[this.options.html?"html":"text"](t),e[0].className="tipsy",e.remove().css({top:0,left:0,visibility:"hidden",display:"block"}).appendTo(document.body);var n,i=u.extend({},this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight}),r=e[0].offsetWidth,o=e[0].offsetHeight,a="function"==typeof this.options.gravity?this.options.gravity.call(this.$element[0]):this.options.gravity;switch(a.charAt(0)){case"n":n={top:i.top+i.height+this.options.offset,left:i.left+i.width/2-r/2};break;case"s":n={top:i.top-o-this.options.offset,left:i.left+i.width/2-r/2};break;case"e":n={top:i.top+i.height/2-o/2,left:i.left-r-this.options.offset};break;case"w":n={top:i.top+i.height/2-o/2,left:i.left+i.width+this.options.offset}}2==a.length&&("w"==a.charAt(1)?n.left=i.left+i.width/2-15:n.left=i.left+i.width/2-r+15),e.css(n).addClass("tipsy-"+a),this.options.fade?e.stop().css({opacity:0,display:"block",visibility:"visible"}).animate({opacity:this.options.opacity}):e.css({visibility:"visible",opacity:this.options.opacity})}},hide:function(){this.options.fade?this.tip().stop().fadeOut(function(){u(this).remove()}):this.tip().remove()},fixTitle:function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("original-title"))&&t.attr("original-title",t.attr("title")||"").removeAttr("title")},getTitle:function(){var t,e=this.$element,n=this.options;return this.fixTitle(),"string"==typeof(n=this.options).title?t=e.attr("title"==n.title?"original-title":n.title):"function"==typeof n.title&&(t=n.title.call(e[0])),(t=(""+t).replace(/(^\s*|\s*$)/,""))||n.fallback},tip:function(){return this.$tip||(this.$tip=u('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>')),this.$tip},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled}},u.fn.tipsy=function(n){function e(t){var e=u.data(t,"tipsy");return e||(e=new l(t,u.fn.tipsy.elementOptions(t,n)),u.data(t,"tipsy",e)),e}function t(){var t=e(this);t.hoverState="in",0==n.delayIn?t.show():(t.fixTitle(),setTimeout(function(){"in"==t.hoverState&&t.show()},n.delayIn))}function i(){var t=e(this);t.hoverState="out",0==n.delayOut?t.hide():setTimeout(function(){"out"==t.hoverState&&t.hide()},n.delayOut)}if(!0===n)return this.data("tipsy");if("string"==typeof n){var r=this.data("tipsy");return r&&r[n](),this}if((n=u.extend({},u.fn.tipsy.defaults,n)).live||this.each(function(){e(this)}),"manual"!=n.trigger){var o=n.live?"live":"bind",a="hover"==n.trigger?"mouseenter":"focus",s="hover"==n.trigger?"mouseleave":"blur";this[o](a,t)[o](s,i)}return this},u.fn.tipsy.defaults={delayIn:0,delayOut:0,fade:!1,fallback:"",gravity:"n",html:!1,live:!1,offset:0,opacity:.8,title:"title",trigger:"hover"},u.fn.tipsy.elementOptions=function(t,e){return u.metadata?u.extend({},e,u(t).metadata()):e},u.fn.tipsy.autoNS=function(){return u(this).offset().top>u(document).scrollTop()+u(window).height()/2?"s":"n"},u.fn.tipsy.autoWE=function(){return u(this).offset().left>u(document).scrollLeft()+u(window).width()/2?"e":"w"}}(jQuery),function(){$(function(){return $("a[data-sel-tipsy]").tipsy({fade:!0,gravity:"s"}),$(".js-category-filter").on("change",function(){return this.form.submit()})}),jQuery(function(){return window.addEventListener("DOMContentLoaded",function(){var t;if(t=document.querySelector(".js-editor-textarea"))return new EasyMDE({autosave:{enabled:!0,delay:1e3},element:t,renderingConfig:{codeSyntaxHighlighting:!0},toolbar:["bold","italic","heading","|","quote","unordered-list","ordered-list","|","link","table","|","preview","side-by-side","fullscreen"],spellChecker:!1,uploadImage:!0})})})}.call(this),document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".scroll-reveal");if(t.length)if("IntersectionObserver"in window){ 8var n=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&(t.target.classList.add("is-visible"),n.unobserve(t.target))})}
8,{threshold:.15,rootMargin:"-10% 0px -10% 0px"});t.forEach(function(t){var e=t.getBoundingClientRect();e.top<window.innerHeight&&0<e.bottom&&t.classList.add("is-visible","no-transition"),n.observe(t)})}else t.forEach(function(t){t.classList.add("is-visible","no-transition")})}),function(){$(function(){return $("a[data-sel-tipsy]").tipsy({fade:!0,gravity:"s"})})}.call(this);
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.