(()=>{var Tt=Object.create;var ft=Object.defineProperty;var Ct=Object.getOwnPropertyDescriptor;var Ft=Object.getOwnPropertyNames;var It=Object.getPrototypeOf,$t=Object.prototype.hasOwnProperty;var Be=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(o,E)=>(typeof require!="undefined"?require:o)[E]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var Ce=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Ot=(e,o,E,A)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of Ft(o))!$t.call(e,i)&&i!==E&&ft(e,i,{get:()=>o[i],enumerable:!(A=Ct(o,i))||A.enumerable});return e};var Fe=(e,o,E)=>(E=e!=null?Tt(It(e)):{},Ot(o||!e||!e.__esModule?ft(E,"default",{value:e,enumerable:!0}):E,e));var pt=Ce((dt,Ye)=>{(function(e){if(typeof dt=="object"&&typeof Ye!="undefined")Ye.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var o;typeof window!="undefined"?o=window:typeof global!="undefined"?o=global:typeof self!="undefined"?o=self:o=this,o.Qs=e()}})(function(){var e,o,E;return function(){function A(i,n,a){function g(u,s){if(!n[u]){if(!i[u]){var d=typeof Be=="function"&&Be;if(!s&&d)return d(u,!0);if(f)return f(u,!0);var p=new Error("Cannot find module '"+u+"'");throw p.code="MODULE_NOT_FOUND",p}var y=n[u]={exports:{}};i[u][0].call(y.exports,function(t){var I=i[u][1][t];return g(I||t)},y,y.exports,A,i,n,a)}return n[u].exports}for(var f=typeof Be=="function"&&Be,l=0;l<a.length;l++)g(a[l]);return g}return A}()({1:[function(A,i,n){"use strict";var a=String.prototype.replace,g=/%20/g,f={RFC1738:"RFC1738",RFC3986:"RFC3986"};i.exports={default:f.RFC3986,formatters:{RFC1738:function(l){return a.call(l,g,"+")},RFC3986:function(l){return String(l)}},RFC1738:f.RFC1738,RFC3986:f.RFC3986}},{}],2:[function(A,i,n){"use strict";var a=A("./stringify"),g=A("./parse"),f=A("./formats");i.exports={formats:f,parse:g,stringify:a}},{"./formats":1,"./parse":3,"./stringify":4}],3:[function(A,i,n){"use strict";var a=A("./utils"),g=Object.prototype.hasOwnProperty,f=Array.isArray,l={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:a.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},u=function(w){return w.replace(/&#(\d+);/g,function(S,r){return String.fromCharCode(parseInt(r,10))})},s=function(w,S){return w&&typeof w=="string"&&S.comma&&w.indexOf(",")>-1?w.split(","):w},d="utf8=%26%2310003%3B",p="utf8=%E2%9C%93",y=function(S,r){var c={},h=r.ignoreQueryPrefix?S.replace(/^\?/,""):S,b=r.parameterLimit===1/0?void 0:r.parameterLimit,m=h.split(r.delimiter,b),x=-1,T,M=r.charset;if(r.charsetSentinel)for(T=0;T<m.length;++T)m[T].indexOf("utf8=")===0&&(m[T]===p?M="utf-8":m[T]===d&&(M="iso-8859-1"),x=T,T=m.length);for(T=0;T<m.length;++T)if(T!==x){var R=m[T],W=R.indexOf("]="),L=W===-1?R.indexOf("="):W+1,$,D;L===-1?($=r.decoder(R,l.decoder,M,"key"),D=r.strictNullHandling?null:""):($=r.decoder(R.slice(0,L),l.decoder,M,"key"),D=a.maybeMap(s(R.slice(L+1),r),function(O){return r.decoder(O,l.decoder,M,"value")})),D&&r.interpretNumericEntities&&M==="iso-8859-1"&&(D=u(D)),R.indexOf("[]=")>-1&&(D=f(D)?[D]:D),g.call(c,$)?c[$]=a.combine(c[$],D):c[$]=D}return c},t=function(w,S,r,c){for(var h=c?S:s(S,r),b=w.length-1;b>=0;--b){var m,x=w[b];if(x==="[]"&&r.parseArrays)m=[].concat(h);else{m=r.plainObjects?Object.create(null):{};var T=x.charAt(0)==="["&&x.charAt(x.length-1)==="]"?x.slice(1,-1):x,M=parseInt(T,10);!r.parseArrays&&T===""?m={0:h}:!isNaN(M)&&x!==T&&String(M)===T&&M>=0&&r.parseArrays&&M<=r.arrayLimit?(m=[],m[M]=h):T!=="__proto__"&&(m[T]=h)}h=m}return h},I=function(S,r,c,h){if(!!S){var b=c.allowDots?S.replace(/\.([^.[]+)/g,"[$1]"):S,m=/(\[[^[\]]*])/,x=/(\[[^[\]]*])/g,T=c.depth>0&&m.exec(b),M=T?b.slice(0,T.index):b,R=[];if(M){if(!c.plainObjects&&g.call(Object.prototype,M)&&!c.allowPrototypes)return;R.push(M)}for(var W=0;c.depth>0&&(T=x.exec(b))!==null&&W<c.depth;){if(W+=1,!c.plainObjects&&g.call(Object.prototype,T[1].slice(1,-1))&&!c.allowPrototypes)return;R.push(T[1])}return T&&R.push("["+b.slice(T.index)+"]"),t(R,r,c,h)}},v=function(S){if(!S)return l;if(S.decoder!==null&&S.decoder!==void 0&&typeof S.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof S.charset!="undefined"&&S.charset!=="utf-8"&&S.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof S.charset=="undefined"?l.charset:S.charset;return{allowDots:typeof S.allowDots=="undefined"?l.allowDots:!!S.allowDots,allowPrototypes:typeof S.allowPrototypes=="boolean"?S.allowPrototypes:l.allowPrototypes,allowSparse:typeof S.allowSparse=="boolean"?S.allowSparse:l.allowSparse,arrayLimit:typeof S.arrayLimit=="number"?S.arrayLimit:l.arrayLimit,charset:r,charsetSentinel:typeof S.charsetSentinel=="boolean"?S.charsetSentinel:l.charsetSentinel,comma:typeof S.comma=="boolean"?S.comma:l.comma,decoder:typeof S.decoder=="function"?S.decoder:l.decoder,delimiter:typeof S.delimiter=="string"||a.isRegExp(S.delimiter)?S.delimiter:l.delimiter,depth:typeof S.depth=="number"||S.depth===!1?+S.depth:l.depth,ignoreQueryPrefix:S.ignoreQueryPrefix===!0,interpretNumericEntities:typeof S.interpretNumericEntities=="boolean"?S.interpretNumericEntities:l.interpretNumericEntities,parameterLimit:typeof S.parameterLimit=="number"?S.parameterLimit:l.parameterLimit,parseArrays:S.parseArrays!==!1,plainObjects:typeof S.plainObjects=="boolean"?S.plainObjects:l.plainObjects,strictNullHandling:typeof S.strictNullHandling=="boolean"?S.strictNullHandling:l.strictNullHandling}};i.exports=function(w,S){var r=v(S);if(w===""||w===null||typeof w=="undefined")return r.plainObjects?Object.create(null):{};for(var c=typeof w=="string"?y(w,r):w,h=r.plainObjects?Object.create(null):{},b=Object.keys(c),m=0;m<b.length;++m){var x=b[m],T=I(x,c[x],r,typeof w=="string");h=a.merge(h,T,r)}return r.allowSparse===!0?h:a.compact(h)}},{"./utils":5}],4:[function(A,i,n){"use strict";var a=A("side-channel"),g=A("./utils"),f=A("./formats"),l=Object.prototype.hasOwnProperty,u={brackets:function(b){return b+"[]"},comma:"comma",indices:function(b,m){return b+"["+m+"]"},repeat:function(b){return b}},s=Array.isArray,d=String.prototype.split,p=Array.prototype.push,y=function(h,b){p.apply(h,s(b)?b:[b])},t=Date.prototype.toISOString,I=f.default,v={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:g.encode,encodeValuesOnly:!1,format:I,formatter:f.formatters[I],indices:!1,serializeDate:function(b){return t.call(b)},skipNulls:!1,strictNullHandling:!1},w=function(b){return typeof b=="string"||typeof b=="number"||typeof b=="boolean"||typeof b=="symbol"||typeof b=="bigint"},S={},r=function h(b,m,x,T,M,R,W,L,$,D,O,C,k,z,H){for(var B=b,J=H,Z=0,te=!1;(J=J.get(S))!==void 0&&!te;){var oe=J.get(b);if(Z+=1,typeof oe!="undefined"){if(oe===Z)throw new RangeError("Cyclic object value");te=!0}typeof J.get(S)=="undefined"&&(Z=0)}if(typeof W=="function"?B=W(m,B):B instanceof Date?B=D(B):x==="comma"&&s(B)&&(B=g.maybeMap(B,function(de){return de instanceof Date?D(de):de})),B===null){if(T)return R&&!k?R(m,v.encoder,z,"key",O):m;B=""}if(w(B)||g.isBuffer(B)){if(R){var le=k?m:R(m,v.encoder,z,"key",O);if(x==="comma"&&k){for(var he=d.call(String(B),","),ye="",ve=0;ve<he.length;++ve)ye+=(ve===0?"":",")+C(R(he[ve],v.encoder,z,"value",O));return[C(le)+"="+ye]}return[C(le)+"="+C(R(B,v.encoder,z,"value",O))]}return[C(m)+"="+C(String(B))]}var Te=[];if(typeof B=="undefined")return Te;var N;if(x==="comma"&&s(B))N=[{value:B.length>0?B.join(",")||null:void 0}];else if(s(W))N=W;else{var U=Object.keys(B);N=L?U.sort(L):U}for(var K=0;K<N.length;++K){var j=N[K],ie=typeof j=="object"&&typeof j.value!="undefined"?j.value:B[j];if(!(M&&ie===null)){var ae=s(B)?typeof x=="function"?x(m,j):m:m+($?"."+j:"["+j+"]");H.set(b,Z);var me=a();me.set(S,H),y(Te,h(ie,ae,x,T,M,R,W,L,$,D,O,C,k,z,me))}}return Te},c=function(b){if(!b)return v;if(b.encoder!==null&&typeof b.encoder!="undefined"&&typeof b.encoder!="function")throw new TypeError("Encoder has to be a function.");var m=b.charset||v.charset;if(typeof b.charset!="undefined"&&b.charset!=="utf-8"&&b.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var x=f.default;if(typeof b.format!="undefined"){if(!l.call(f.formatters,b.format))throw new TypeError("Unknown format option provided.");x=b.format}var T=f.formatters[x],M=v.filter;return(typeof b.filter=="function"||s(b.filter))&&(M=b.filter),{addQueryPrefix:typeof b.addQueryPrefix=="boolean"?b.addQueryPrefix:v.addQueryPrefix,allowDots:typeof b.allowDots=="undefined"?v.allowDots:!!b.allowDots,charset:m,charsetSentinel:typeof b.charsetSentinel=="boolean"?b.charsetSentinel:v.charsetSentinel,delimiter:typeof b.delimiter=="undefined"?v.delimiter:b.delimiter,encode:typeof b.encode=="boolean"?b.encode:v.encode,encoder:typeof b.encoder=="function"?b.encoder:v.encoder,encodeValuesOnly:typeof b.encodeValuesOnly=="boolean"?b.encodeValuesOnly:v.encodeValuesOnly,filter:M,format:x,formatter:T,serializeDate:typeof b.serializeDate=="function"?b.serializeDate:v.serializeDate,skipNulls:typeof b.skipNulls=="boolean"?b.skipNulls:v.skipNulls,sort:typeof b.sort=="function"?b.sort:null,strictNullHandling:typeof b.strictNullHandling=="boolean"?b.strictNullHandling:v.strictNullHandling}};i.exports=function(h,b){var m=h,x=c(b),T,M;typeof x.filter=="function"?(M=x.filter,m=M("",m)):s(x.filter)&&(M=x.filter,T=M);var R=[];if(typeof m!="object"||m===null)return"";var W;b&&b.arrayFormat in u?W=b.arrayFormat:b&&"indices"in b?W=b.indices?"indices":"repeat":W="indices";var L=u[W];T||(T=Object.keys(m)),x.sort&&T.sort(x.sort);for(var $=a(),D=0;D<T.length;++D){var O=T[D];x.skipNulls&&m[O]===null||y(R,r(m[O],O,L,x.strictNullHandling,x.skipNulls,x.encode?x.encoder:null,x.filter,x.sort,x.allowDots,x.serializeDate,x.format,x.formatter,x.encodeValuesOnly,x.charset,$))}var C=R.join(x.delimiter),k=x.addQueryPrefix===!0?"?":"";return x.charsetSentinel&&(x.charset==="iso-8859-1"?k+="utf8=%26%2310003%3B&":k+="utf8=%E2%9C%93&"),C.length>0?k+C:""}},{"./formats":1,"./utils":5,"side-channel":16}],5:[function(A,i,n){"use strict";var a=A("./formats"),g=Object.prototype.hasOwnProperty,f=Array.isArray,l=function(){for(var c=[],h=0;h<256;++h)c.push("%"+((h<16?"0":"")+h.toString(16)).toUpperCase());return c}(),u=function(h){for(;h.length>1;){var b=h.pop(),m=b.obj[b.prop];if(f(m)){for(var x=[],T=0;T<m.length;++T)typeof m[T]!="undefined"&&x.push(m[T]);b.obj[b.prop]=x}}},s=function(h,b){for(var m=b&&b.plainObjects?Object.create(null):{},x=0;x<h.length;++x)typeof h[x]!="undefined"&&(m[x]=h[x]);return m},d=function c(h,b,m){if(!b)return h;if(typeof b!="object"){if(f(h))h.push(b);else if(h&&typeof h=="object")(m&&(m.plainObjects||m.allowPrototypes)||!g.call(Object.prototype,b))&&(h[b]=!0);else return[h,b];return h}if(!h||typeof h!="object")return[h].concat(b);var x=h;return f(h)&&!f(b)&&(x=s(h,m)),f(h)&&f(b)?(b.forEach(function(T,M){if(g.call(h,M)){var R=h[M];R&&typeof R=="object"&&T&&typeof T=="object"?h[M]=c(R,T,m):h.push(T)}else h[M]=T}),h):Object.keys(b).reduce(function(T,M){var R=b[M];return g.call(T,M)?T[M]=c(T[M],R,m):T[M]=R,T},x)},p=function(h,b){return Object.keys(b).reduce(function(m,x){return m[x]=b[x],m},h)},y=function(c,h,b){var m=c.replace(/\+/g," ");if(b==="iso-8859-1")return m.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(m)}catch(x){return m}},t=function(h,b,m,x,T){if(h.length===0)return h;var M=h;if(typeof h=="symbol"?M=Symbol.prototype.toString.call(h):typeof h!="string"&&(M=String(h)),m==="iso-8859-1")return escape(M).replace(/%u[0-9a-f]{4}/gi,function($){return"%26%23"+parseInt($.slice(2),16)+"%3B"});for(var R="",W=0;W<M.length;++W){var L=M.charCodeAt(W);if(L===45||L===46||L===95||L===126||L>=48&&L<=57||L>=65&&L<=90||L>=97&&L<=122||T===a.RFC1738&&(L===40||L===41)){R+=M.charAt(W);continue}if(L<128){R=R+l[L];continue}if(L<2048){R=R+(l[192|L>>6]+l[128|L&63]);continue}if(L<55296||L>=57344){R=R+(l[224|L>>12]+l[128|L>>6&63]+l[128|L&63]);continue}W+=1,L=65536+((L&1023)<<10|M.charCodeAt(W)&1023),R+=l[240|L>>18]+l[128|L>>12&63]+l[128|L>>6&63]+l[128|L&63]}return R},I=function(h){for(var b=[{obj:{o:h},prop:"o"}],m=[],x=0;x<b.length;++x)for(var T=b[x],M=T.obj[T.prop],R=Object.keys(M),W=0;W<R.length;++W){var L=R[W],$=M[L];typeof $=="object"&&$!==null&&m.indexOf($)===-1&&(b.push({obj:M,prop:L}),m.push($))}return u(b),h},v=function(h){return Object.prototype.toString.call(h)==="[object RegExp]"},w=function(h){return!h||typeof h!="object"?!1:!!(h.constructor&&h.constructor.isBuffer&&h.constructor.isBuffer(h))},S=function(h,b){return[].concat(h,b)},r=function(h,b){if(f(h)){for(var m=[],x=0;x<h.length;x+=1)m.push(b(h[x]));return m}return b(h)};i.exports={arrayToObject:s,assign:p,combine:S,compact:I,decode:y,encode:t,isBuffer:w,isRegExp:v,maybeMap:r,merge:d}},{"./formats":1}],6:[function(A,i,n){},{}],7:[function(A,i,n){"use strict";var a=A("get-intrinsic"),g=A("./"),f=g(a("String.prototype.indexOf"));i.exports=function(u,s){var d=a(u,!!s);return typeof d=="function"&&f(u,".prototype.")>-1?g(d):d}},{"./":8,"get-intrinsic":11}],8:[function(A,i,n){"use strict";var a=A("function-bind"),g=A("get-intrinsic"),f=g("%Function.prototype.apply%"),l=g("%Function.prototype.call%"),u=g("%Reflect.apply%",!0)||a.call(l,f),s=g("%Object.getOwnPropertyDescriptor%",!0),d=g("%Object.defineProperty%",!0),p=g("%Math.max%");if(d)try{d({},"a",{value:1})}catch(t){d=null}i.exports=function(I){var v=u(a,l,arguments);if(s&&d){var w=s(v,"length");w.configurable&&d(v,"length",{value:1+p(0,I.length-(arguments.length-1))})}return v};var y=function(){return u(a,f,arguments)};d?d(i.exports,"apply",{value:y}):i.exports.apply=y},{"function-bind":10,"get-intrinsic":11}],9:[function(A,i,n){"use strict";var a="Function.prototype.bind called on incompatible ",g=Array.prototype.slice,f=Object.prototype.toString,l="[object Function]";i.exports=function(s){var d=this;if(typeof d!="function"||f.call(d)!==l)throw new TypeError(a+d);for(var p=g.call(arguments,1),y,t=function(){if(this instanceof y){var r=d.apply(this,p.concat(g.call(arguments)));return Object(r)===r?r:this}else return d.apply(s,p.concat(g.call(arguments)))},I=Math.max(0,d.length-p.length),v=[],w=0;w<I;w++)v.push("$"+w);if(y=Function("binder","return function ("+v.join(",")+"){ return binder.apply(this,arguments); }")(t),d.prototype){var S=function(){};S.prototype=d.prototype,y.prototype=new S,S.prototype=null}return y}},{}],10:[function(A,i,n){"use strict";var a=A("./implementation");i.exports=Function.prototype.bind||a},{"./implementation":9}],11:[function(A,i,n){"use strict";var a,g=SyntaxError,f=Function,l=TypeError,u=function($){try{return f('"use strict"; return ('+$+").constructor;")()}catch(D){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch($){s=null}var d=function(){throw new l},p=s?function(){try{return arguments.callee,d}catch($){try{return s(arguments,"callee").get}catch(D){return d}}}():d,y=A("has-symbols")(),t=Object.getPrototypeOf||function($){return $.__proto__},I={},v=typeof Uint8Array=="undefined"?a:t(Uint8Array),w={"%AggregateError%":typeof AggregateError=="undefined"?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?a:ArrayBuffer,"%ArrayIteratorPrototype%":y?t([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":typeof Atomics=="undefined"?a:Atomics,"%BigInt%":typeof BigInt=="undefined"?a:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?a:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?a:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?a:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":I,"%Int8Array%":typeof Int8Array=="undefined"?a:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?a:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":y?t(t([][Symbol.iterator]())):a,"%JSON%":typeof JSON=="object"?JSON:a,"%Map%":typeof Map=="undefined"?a:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!y?a:t(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?a:Promise,"%Proxy%":typeof Proxy=="undefined"?a:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?a:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?a:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!y?a:t(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":y?t(""[Symbol.iterator]()):a,"%Symbol%":y?Symbol:a,"%SyntaxError%":g,"%ThrowTypeError%":p,"%TypedArray%":v,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array=="undefined"?a:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?a:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?a:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?a:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?a:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?a:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?a:WeakSet},S=function $(D){var O;if(D==="%AsyncFunction%")O=u("async function () {}");else if(D==="%GeneratorFunction%")O=u("function* () {}");else if(D==="%AsyncGeneratorFunction%")O=u("async function* () {}");else if(D==="%AsyncGenerator%"){var C=$("%AsyncGeneratorFunction%");C&&(O=C.prototype)}else if(D==="%AsyncIteratorPrototype%"){var k=$("%AsyncGenerator%");k&&(O=t(k.prototype))}return w[D]=O,O},r={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},c=A("function-bind"),h=A("has"),b=c.call(Function.call,Array.prototype.concat),m=c.call(Function.apply,Array.prototype.splice),x=c.call(Function.call,String.prototype.replace),T=c.call(Function.call,String.prototype.slice),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,W=function(D){var O=T(D,0,1),C=T(D,-1);if(O==="%"&&C!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(C==="%"&&O!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var k=[];return x(D,M,function(z,H,B,J){k[k.length]=B?x(J,R,"$1"):H||z}),k},L=function(D,O){var C=D,k;if(h(r,C)&&(k=r[C],C="%"+k[0]+"%"),h(w,C)){var z=w[C];if(z===I&&(z=S(C)),typeof z=="undefined"&&!O)throw new l("intrinsic "+D+" exists, but is not available. Please file an issue!");return{alias:k,name:C,value:z}}throw new g("intrinsic "+D+" does not exist!")};i.exports=function(D,O){if(typeof D!="string"||D.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof O!="boolean")throw new l('"allowMissing" argument must be a boolean');var C=W(D),k=C.length>0?C[0]:"",z=L("%"+k+"%",O),H=z.name,B=z.value,J=!1,Z=z.alias;Z&&(k=Z[0],m(C,b([0,1],Z)));for(var te=1,oe=!0;te<C.length;te+=1){var le=C[te],he=T(le,0,1),ye=T(le,-1);if((he==='"'||he==="'"||he==="`"||ye==='"'||ye==="'"||ye==="`")&&he!==ye)throw new g("property names with quotes must have matching quotes");if((le==="constructor"||!oe)&&(J=!0),k+="."+le,H="%"+k+"%",h(w,H))B=w[H];else if(B!=null){if(!(le in B)){if(!O)throw new l("base intrinsic for "+D+" exists, but the property is not available.");return}if(s&&te+1>=C.length){var ve=s(B,le);oe=!!ve,oe&&"get"in ve&&!("originalValue"in ve.get)?B=ve.get:B=B[le]}else oe=h(B,le),B=B[le];oe&&!J&&(w[H]=B)}}return B}},{"function-bind":10,has:14,"has-symbols":12}],12:[function(A,i,n){"use strict";var a=typeof Symbol!="undefined"&&Symbol,g=A("./shams");i.exports=function(){return typeof a!="function"||typeof Symbol!="function"||typeof a("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:g()}},{"./shams":13}],13:[function(A,i,n){"use strict";i.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var g={},f=Symbol("test"),l=Object(f);if(typeof f=="string"||Object.prototype.toString.call(f)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var u=42;g[f]=u;for(f in g)return!1;if(typeof Object.keys=="function"&&Object.keys(g).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(g).length!==0)return!1;var s=Object.getOwnPropertySymbols(g);if(s.length!==1||s[0]!==f||!Object.prototype.propertyIsEnumerable.call(g,f))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(g,f);if(d.value!==u||d.enumerable!==!0)return!1}return!0}},{}],14:[function(A,i,n){"use strict";var a=A("function-bind");i.exports=a.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":10}],15:[function(A,i,n){var a=typeof Map=="function"&&Map.prototype,g=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,f=a&&g&&typeof g.get=="function"?g.get:null,l=a&&Map.prototype.forEach,u=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=u&&s&&typeof s.get=="function"?s.get:null,p=u&&Set.prototype.forEach,y=typeof WeakMap=="function"&&WeakMap.prototype,t=y?WeakMap.prototype.has:null,I=typeof WeakSet=="function"&&WeakSet.prototype,v=I?WeakSet.prototype.has:null,w=typeof WeakRef=="function"&&WeakRef.prototype,S=w?WeakRef.prototype.deref:null,r=Boolean.prototype.valueOf,c=Object.prototype.toString,h=Function.prototype.toString,b=String.prototype.match,m=String.prototype.slice,x=String.prototype.replace,T=String.prototype.toUpperCase,M=String.prototype.toLowerCase,R=RegExp.prototype.test,W=Array.prototype.concat,L=Array.prototype.join,$=Array.prototype.slice,D=Math.floor,O=typeof BigInt=="function"?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,z=typeof Symbol=="function"&&typeof Symbol.iterator=="object",H=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===z?"object":"symbol")?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,J=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(F){return F.__proto__}:null);function Z(F,P){if(F===1/0||F===-1/0||F!==F||F&&F>-1e3&&F<1e3||R.call(/e/,P))return P;var G=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof F=="number"){var Q=F<0?-D(-F):D(F);if(Q!==F){var re=String(Q),q=m.call(P,re.length+1);return x.call(re,G,"$&_")+"."+x.call(x.call(q,/([0-9]{3})/g,"$&_"),/_$/,"")}}return x.call(P,G,"$&_")}var te=A("./util.inspect").custom,oe=te&&ie(te)?te:null;i.exports=function F(P,G,Q,re){var q=G||{};if(de(q,"quoteStyle")&&q.quoteStyle!=="single"&&q.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(de(q,"maxStringLength")&&(typeof q.maxStringLength=="number"?q.maxStringLength<0&&q.maxStringLength!==1/0:q.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ge=de(q,"customInspect")?q.customInspect:!0;if(typeof ge!="boolean"&&ge!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(de(q,"indent")&&q.indent!==null&&q.indent!=="	"&&!(parseInt(q.indent,10)===q.indent&&q.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(de(q,"numericSeparator")&&typeof q.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Ae=q.numericSeparator;if(typeof P=="undefined")return"undefined";if(P===null)return"null";if(typeof P=="boolean")return P?"true":"false";if(typeof P=="string")return X(P,q);if(typeof P=="number"){if(P===0)return 1/0/P>0?"0":"-0";var we=String(P);return Ae?Z(P,we):we}if(typeof P=="bigint"){var Oe=String(P)+"n";return Ae?Z(P,Oe):Oe}var rt=typeof q.depth=="undefined"?5:q.depth;if(typeof Q=="undefined"&&(Q=0),Q>=rt&&rt>0&&typeof P=="object")return ye(P)?"[Array]":"[Object]";var De=ue(q,Q);if(typeof re=="undefined")re=[];else if(be(re,P)>=0)return"[Circular]";function Ee(Re,_e,At){if(_e&&(re=$.call(re),re.push(_e)),At){var ut={depth:q.depth};return de(q,"quoteStyle")&&(ut.quoteStyle=q.quoteStyle),F(Re,ut,Q+1,re)}return F(Re,q,Q+1,re)}if(typeof P=="function"){var nt=xe(P),it=V(P,Ee);return"[Function"+(nt?": "+nt:" (anonymous)")+"]"+(it.length>0?" { "+L.call(it,", ")+" }":"")}if(ie(P)){var at=z?x.call(String(P),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(P);return typeof P=="object"&&!z?_(at):at}if(Y(P)){for(var Le="<"+M.call(String(P.nodeName)),je=P.attributes||[],ze=0;ze<je.length;ze++)Le+=" "+je[ze].name+"="+le(he(je[ze].value),"double",q);return Le+=">",P.childNodes&&P.childNodes.length&&(Le+="..."),Le+="</"+M.call(String(P.nodeName))+">",Le}if(ye(P)){if(P.length===0)return"[]";var qe=V(P,Ee);return De&&!pe(qe)?"["+ne(qe,De)+"]":"[ "+L.call(qe,", ")+" ]"}if(N(P)){var Ve=V(P,Ee);return"cause"in P&&!B.call(P,"cause")?"{ ["+String(P)+"] "+L.call(W.call("[cause]: "+Ee(P.cause),Ve),", ")+" }":Ve.length===0?"["+String(P)+"]":"{ ["+String(P)+"] "+L.call(Ve,", ")+" }"}if(typeof P=="object"&&ge){if(oe&&typeof P[oe]=="function")return P[oe]();if(ge!=="symbol"&&typeof P.inspect=="function")return P.inspect()}if(Ie(P)){var ot=[];return l.call(P,function(Re,_e){ot.push(Ee(_e,P,!0)+" => "+Ee(Re,P))}),se("Map",f.call(P),ot,De)}if($e(P)){var st=[];return p.call(P,function(Re){st.push(Ee(Re,P))}),se("Set",d.call(P),st,De)}if(Pe(P))return ee("WeakMap");if(Se(P))return ee("WeakSet");if(Me(P))return ee("WeakRef");if(K(P))return _(Ee(Number(P)));if(ae(P))return _(Ee(O.call(P)));if(j(P))return _(r.call(P));if(U(P))return _(Ee(String(P)));if(!ve(P)&&!Te(P)){var Ge=V(P,Ee),lt=J?J(P)===Object.prototype:P instanceof Object||P.constructor===Object,Qe=P instanceof Object?"":"null prototype",ct=!lt&&H&&Object(P)===P&&H in P?m.call(ce(P),8,-1):Qe?"Object":"",Et=lt||typeof P.constructor!="function"?"":P.constructor.name?P.constructor.name+" ":"",Ke=Et+(ct||Qe?"["+L.call(W.call([],ct||[],Qe||[]),": ")+"] ":"");return Ge.length===0?Ke+"{}":De?Ke+"{"+ne(Ge,De)+"}":Ke+"{ "+L.call(Ge,", ")+" }"}return String(P)};function le(F,P,G){var Q=(G.quoteStyle||P)==="double"?'"':"'";return Q+F+Q}function he(F){return x.call(String(F),/"/g,"&quot;")}function ye(F){return ce(F)==="[object Array]"&&(!H||!(typeof F=="object"&&H in F))}function ve(F){return ce(F)==="[object Date]"&&(!H||!(typeof F=="object"&&H in F))}function Te(F){return ce(F)==="[object RegExp]"&&(!H||!(typeof F=="object"&&H in F))}function N(F){return ce(F)==="[object Error]"&&(!H||!(typeof F=="object"&&H in F))}function U(F){return ce(F)==="[object String]"&&(!H||!(typeof F=="object"&&H in F))}function K(F){return ce(F)==="[object Number]"&&(!H||!(typeof F=="object"&&H in F))}function j(F){return ce(F)==="[object Boolean]"&&(!H||!(typeof F=="object"&&H in F))}function ie(F){if(z)return F&&typeof F=="object"&&F instanceof Symbol;if(typeof F=="symbol")return!0;if(!F||typeof F!="object"||!k)return!1;try{return k.call(F),!0}catch(P){}return!1}function ae(F){if(!F||typeof F!="object"||!O)return!1;try{return O.call(F),!0}catch(P){}return!1}var me=Object.prototype.hasOwnProperty||function(F){return F in this};function de(F,P){return me.call(F,P)}function ce(F){return c.call(F)}function xe(F){if(F.name)return F.name;var P=b.call(h.call(F),/^function\s*([\w$]+)/);return P?P[1]:null}function be(F,P){if(F.indexOf)return F.indexOf(P);for(var G=0,Q=F.length;G<Q;G++)if(F[G]===P)return G;return-1}function Ie(F){if(!f||!F||typeof F!="object")return!1;try{f.call(F);try{d.call(F)}catch(P){return!0}return F instanceof Map}catch(P){}return!1}function Pe(F){if(!t||!F||typeof F!="object")return!1;try{t.call(F,t);try{v.call(F,v)}catch(P){return!0}return F instanceof WeakMap}catch(P){}return!1}function Me(F){if(!S||!F||typeof F!="object")return!1;try{return S.call(F),!0}catch(P){}return!1}function $e(F){if(!d||!F||typeof F!="object")return!1;try{d.call(F);try{f.call(F)}catch(P){return!0}return F instanceof Set}catch(P){}return!1}function Se(F){if(!v||!F||typeof F!="object")return!1;try{v.call(F,v);try{t.call(F,t)}catch(P){return!0}return F instanceof WeakSet}catch(P){}return!1}function Y(F){return!F||typeof F!="object"?!1:typeof HTMLElement!="undefined"&&F instanceof HTMLElement?!0:typeof F.nodeName=="string"&&typeof F.getAttribute=="function"}function X(F,P){if(F.length>P.maxStringLength){var G=F.length-P.maxStringLength,Q="... "+G+" more character"+(G>1?"s":"");return X(m.call(F,0,P.maxStringLength),P)+Q}var re=x.call(x.call(F,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,fe);return le(re,"single",P)}function fe(F){var P=F.charCodeAt(0),G={8:"b",9:"t",10:"n",12:"f",13:"r"}[P];return G?"\\"+G:"\\x"+(P<16?"0":"")+T.call(P.toString(16))}function _(F){return"Object("+F+")"}function ee(F){return F+" { ? }"}function se(F,P,G,Q){var re=Q?ne(G,Q):L.call(G,", ");return F+" ("+P+") {"+re+"}"}function pe(F){for(var P=0;P<F.length;P++)if(be(F[P],`
`)>=0)return!1;return!0}function ue(F,P){var G;if(F.indent==="	")G="	";else if(typeof F.indent=="number"&&F.indent>0)G=L.call(Array(F.indent+1)," ");else return null;return{base:G,prev:L.call(Array(P+1),G)}}function ne(F,P){if(F.length===0)return"";var G=`
`+P.prev+P.base;return G+L.call(F,","+G)+`
`+P.prev}function V(F,P){var G=ye(F),Q=[];if(G){Q.length=F.length;for(var re=0;re<F.length;re++)Q[re]=de(F,re)?P(F[re],F):""}var q=typeof C=="function"?C(F):[],ge;if(z){ge={};for(var Ae=0;Ae<q.length;Ae++)ge["$"+q[Ae]]=q[Ae]}for(var we in F)!de(F,we)||G&&String(Number(we))===we&&we<F.length||z&&ge["$"+we]instanceof Symbol||(R.call(/[^\w$]/,we)?Q.push(P(we,F)+": "+P(F[we],F)):Q.push(we+": "+P(F[we],F)));if(typeof C=="function")for(var Oe=0;Oe<q.length;Oe++)B.call(F,q[Oe])&&Q.push("["+P(q[Oe])+"]: "+P(F[q[Oe]],F));return Q}},{"./util.inspect":6}],16:[function(A,i,n){"use strict";var a=A("get-intrinsic"),g=A("call-bind/callBound"),f=A("object-inspect"),l=a("%TypeError%"),u=a("%WeakMap%",!0),s=a("%Map%",!0),d=g("WeakMap.prototype.get",!0),p=g("WeakMap.prototype.set",!0),y=g("WeakMap.prototype.has",!0),t=g("Map.prototype.get",!0),I=g("Map.prototype.set",!0),v=g("Map.prototype.has",!0),w=function(h,b){for(var m=h,x;(x=m.next)!==null;m=x)if(x.key===b)return m.next=x.next,x.next=h.next,h.next=x,x},S=function(h,b){var m=w(h,b);return m&&m.value},r=function(h,b,m){var x=w(h,b);x?x.value=m:h.next={key:b,next:h.next,value:m}},c=function(h,b){return!!w(h,b)};i.exports=function(){var b,m,x,T={assert:function(M){if(!T.has(M))throw new l("Side channel does not contain "+f(M))},get:function(M){if(u&&M&&(typeof M=="object"||typeof M=="function")){if(b)return d(b,M)}else if(s){if(m)return t(m,M)}else if(x)return S(x,M)},has:function(M){if(u&&M&&(typeof M=="object"||typeof M=="function")){if(b)return y(b,M)}else if(s){if(m)return v(m,M)}else if(x)return c(x,M);return!1},set:function(M,R){u&&M&&(typeof M=="object"||typeof M=="function")?(b||(b=new u),p(b,M,R)):s?(m||(m=new s),I(m,M,R)):(x||(x={key:{},next:null}),r(x,M,R))}};return T}},{"call-bind/callBound":7,"get-intrinsic":11,"object-inspect":15}]},{},[2])(2)})});var Ne=Ce((Dt,He)=>{(function(e,o){var E=o(e,e.document,Date);e.lazySizes=E,typeof He=="object"&&He.exports&&(He.exports=E)})(typeof window!="undefined"?window:{},function(o,E,A){"use strict";var i,n;if(function(){var O,C={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};n=o.lazySizesConfig||o.lazysizesConfig||{};for(O in C)O in n||(n[O]=C[O])}(),!E||!E.getElementsByClassName)return{init:function(){},cfg:n,noSupport:!0};var a=E.documentElement,g=o.HTMLPictureElement,f="addEventListener",l="getAttribute",u=o[f].bind(o),s=o.setTimeout,d=o.requestAnimationFrame||s,p=o.requestIdleCallback,y=/^picture$/i,t=["load","error","lazyincluded","_lazyloaded"],I={},v=Array.prototype.forEach,w=function(O,C){return I[C]||(I[C]=new RegExp("(\\s|^)"+C+"(\\s|$)")),I[C].test(O[l]("class")||"")&&I[C]},S=function(O,C){w(O,C)||O.setAttribute("class",(O[l]("class")||"").trim()+" "+C)},r=function(O,C){var k;(k=w(O,C))&&O.setAttribute("class",(O[l]("class")||"").replace(k," "))},c=function(O,C,k){var z=k?f:"removeEventListener";k&&c(O,C),t.forEach(function(H){O[z](H,C)})},h=function(O,C,k,z,H){var B=E.createEvent("Event");return k||(k={}),k.instance=i,B.initEvent(C,!z,!H),B.detail=k,O.dispatchEvent(B),B},b=function(O,C){var k;!g&&(k=o.picturefill||n.pf)?(C&&C.src&&!O[l]("srcset")&&O.setAttribute("srcset",C.src),k({reevaluate:!0,elements:[O]})):C&&C.src&&(O.src=C.src)},m=function(O,C){return(getComputedStyle(O,null)||{})[C]},x=function(O,C,k){for(k=k||O.offsetWidth;k<n.minSize&&C&&!O._lazysizesWidth;)k=C.offsetWidth,C=C.parentNode;return k},T=function(){var O,C,k=[],z=[],H=k,B=function(){var Z=H;for(H=k.length?z:k,O=!0,C=!1;Z.length;)Z.shift()();O=!1},J=function(Z,te){O&&!te?Z.apply(this,arguments):(H.push(Z),C||(C=!0,(E.hidden?s:d)(B)))};return J._lsFlush=B,J}(),M=function(O,C){return C?function(){T(O)}:function(){var k=this,z=arguments;T(function(){O.apply(k,z)})}},R=function(O){var C,k=0,z=n.throttleDelay,H=n.ricTimeout,B=function(){C=!1,k=A.now(),O()},J=p&&H>49?function(){p(B,{timeout:H}),H!==n.ricTimeout&&(H=n.ricTimeout)}:M(function(){s(B)},!0);return function(Z){var te;(Z=Z===!0)&&(H=33),!C&&(C=!0,te=z-(A.now()-k),te<0&&(te=0),Z||te<9?J():s(J,te))}},W=function(O){var C,k,z=99,H=function(){C=null,O()},B=function(){var J=A.now()-k;J<z?s(B,z-J):(p||H)(H)};return function(){k=A.now(),C||(C=s(B,z))}},L=function(){var O,C,k,z,H,B,J,Z,te,oe,le,he,ye=/^img$/i,ve=/^iframe$/i,Te="onscroll"in o&&!/(gle|ing)bot/.test(navigator.userAgent),N=0,U=0,K=0,j=-1,ie=function(_){K--,(!_||K<0||!_.target)&&(K=0)},ae=function(_){return he==null&&(he=m(E.body,"visibility")=="hidden"),he||!(m(_.parentNode,"visibility")=="hidden"&&m(_,"visibility")=="hidden")},me=function(_,ee){var se,pe=_,ue=ae(_);for(Z-=ee,le+=ee,te-=ee,oe+=ee;ue&&(pe=pe.offsetParent)&&pe!=E.body&&pe!=a;)ue=(m(pe,"opacity")||1)>0,ue&&m(pe,"overflow")!="visible"&&(se=pe.getBoundingClientRect(),ue=oe>se.left&&te<se.right&&le>se.top-1&&Z<se.bottom+1);return ue},de=function(){var _,ee,se,pe,ue,ne,V,F,P,G,Q,re,q=i.elements;if((z=n.loadMode)&&K<8&&(_=q.length)){for(ee=0,j++;ee<_;ee++)if(!(!q[ee]||q[ee]._lazyRace)){if(!Te||i.prematureUnveil&&i.prematureUnveil(q[ee])){Se(q[ee]);continue}if((!(F=q[ee][l]("data-expand"))||!(ne=F*1))&&(ne=U),G||(G=!n.expand||n.expand<1?a.clientHeight>500&&a.clientWidth>500?500:370:n.expand,i._defEx=G,Q=G*n.expFactor,re=n.hFac,he=null,U<Q&&K<1&&j>2&&z>2&&!E.hidden?(U=Q,j=0):z>1&&j>1&&K<6?U=G:U=N),P!==ne&&(B=innerWidth+ne*re,J=innerHeight+ne,V=ne*-1,P=ne),se=q[ee].getBoundingClientRect(),(le=se.bottom)>=V&&(Z=se.top)<=J&&(oe=se.right)>=V*re&&(te=se.left)<=B&&(le||oe||te||Z)&&(n.loadHidden||ae(q[ee]))&&(C&&K<3&&!F&&(z<3||j<4)||me(q[ee],ne))){if(Se(q[ee]),ue=!0,K>9)break}else!ue&&C&&!pe&&K<4&&j<4&&z>2&&(O[0]||n.preloadAfterLoad)&&(O[0]||!F&&(le||oe||te||Z||q[ee][l](n.sizesAttr)!="auto"))&&(pe=O[0]||q[ee])}pe&&!ue&&Se(pe)}},ce=R(de),xe=function(_){var ee=_.target;if(ee._lazyCache){delete ee._lazyCache;return}ie(_),S(ee,n.loadedClass),r(ee,n.loadingClass),c(ee,Ie),h(ee,"lazyloaded")},be=M(xe),Ie=function(_){be({target:_.target})},Pe=function(_,ee){var se=_.getAttribute("data-load-mode")||n.iframeLoadMode;se==0?_.contentWindow.location.replace(ee):se==1&&(_.src=ee)},Me=function(_){var ee,se=_[l](n.srcsetAttr);(ee=n.customMedia[_[l]("data-media")||_[l]("media")])&&_.setAttribute("media",ee),se&&_.setAttribute("srcset",se)},$e=M(function(_,ee,se,pe,ue){var ne,V,F,P,G,Q;(G=h(_,"lazybeforeunveil",ee)).defaultPrevented||(pe&&(se?S(_,n.autosizesClass):_.setAttribute("sizes",pe)),V=_[l](n.srcsetAttr),ne=_[l](n.srcAttr),ue&&(F=_.parentNode,P=F&&y.test(F.nodeName||"")),Q=ee.firesLoad||"src"in _&&(V||ne||P),G={target:_},S(_,n.loadingClass),Q&&(clearTimeout(k),k=s(ie,2500),c(_,Ie,!0)),P&&v.call(F.getElementsByTagName("source"),Me),V?_.setAttribute("srcset",V):ne&&!P&&(ve.test(_.nodeName)?Pe(_,ne):_.src=ne),ue&&(V||P)&&b(_,{src:ne})),_._lazyRace&&delete _._lazyRace,r(_,n.lazyClass),T(function(){var re=_.complete&&_.naturalWidth>1;(!Q||re)&&(re&&S(_,n.fastLoadedClass),xe(G),_._lazyCache=!0,s(function(){"_lazyCache"in _&&delete _._lazyCache},9)),_.loading=="lazy"&&K--},!0)}),Se=function(_){if(!_._lazyRace){var ee,se=ye.test(_.nodeName),pe=se&&(_[l](n.sizesAttr)||_[l]("sizes")),ue=pe=="auto";(ue||!C)&&se&&(_[l]("src")||_.srcset)&&!_.complete&&!w(_,n.errorClass)&&w(_,n.lazyClass)||(ee=h(_,"lazyunveilread").detail,ue&&$.updateElem(_,!0,_.offsetWidth),_._lazyRace=!0,K++,$e(_,ee,ue,pe,se))}},Y=W(function(){n.loadMode=3,ce()}),X=function(){n.loadMode==3&&(n.loadMode=2),Y()},fe=function(){if(!C){if(A.now()-H<999){s(fe,999);return}C=!0,n.loadMode=3,ce(),u("scroll",X,!0)}};return{_:function(){H=A.now(),i.elements=E.getElementsByClassName(n.lazyClass),O=E.getElementsByClassName(n.lazyClass+" "+n.preloadClass),u("scroll",ce,!0),u("resize",ce,!0),u("pageshow",function(_){if(_.persisted){var ee=E.querySelectorAll("."+n.loadingClass);ee.length&&ee.forEach&&d(function(){ee.forEach(function(se){se.complete&&Se(se)})})}}),o.MutationObserver?new MutationObserver(ce).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[f]("DOMNodeInserted",ce,!0),a[f]("DOMAttrModified",ce,!0),setInterval(ce,999)),u("hashchange",ce,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(_){E[f](_,ce,!0)}),/d$|^c/.test(E.readyState)?fe():(u("load",fe),E[f]("DOMContentLoaded",ce),s(fe,2e4)),i.elements.length?(de(),T._lsFlush()):ce()},checkElems:ce,unveil:Se,_aLSL:X}}(),$=function(){var O,C=M(function(B,J,Z,te){var oe,le,he;if(B._lazysizesWidth=te,te+="px",B.setAttribute("sizes",te),y.test(J.nodeName||""))for(oe=J.getElementsByTagName("source"),le=0,he=oe.length;le<he;le++)oe[le].setAttribute("sizes",te);Z.detail.dataAttr||b(B,Z.detail)}),k=function(B,J,Z){var te,oe=B.parentNode;oe&&(Z=x(B,oe,Z),te=h(B,"lazybeforesizes",{width:Z,dataAttr:!!J}),te.defaultPrevented||(Z=te.detail.width,Z&&Z!==B._lazysizesWidth&&C(B,oe,te,Z)))},z=function(){var B,J=O.length;if(J)for(B=0;B<J;B++)k(O[B])},H=W(z);return{_:function(){O=E.getElementsByClassName(n.autosizesClass),u("resize",H)},checkElems:H,updateElem:k}}(),D=function(){!D.i&&E.getElementsByClassName&&(D.i=!0,$._(),L._())};return s(function(){n.init&&D()}),i={cfg:n,autoSizer:$,loader:L,init:D,uP:b,aC:S,rC:r,hC:w,fire:h,gW:x,rAF:T},i})});var ht=Ce((Rt,Xe)=>{(function(e,o){if(!!e){var E=function(A){o(e.lazySizes,A),e.removeEventListener("lazyunveilread",E,!0)};o=o.bind(null,e,e.document),typeof Xe=="object"&&Xe.exports?o(Ne()):typeof define=="function"&&define.amd?define(["lazysizes"],o):e.lazySizes?E():e.addEventListener("lazyunveilread",E,!0)}})(typeof window!="undefined"?window:0,function(e,o,E,A){"use strict";var i,n=o.createElement("a").style,a="objectFit"in n,g=a&&"objectPosition"in n,f=/object-fit["']*\s*:\s*["']*(contain|cover)/,l=/object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,u="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",s=/\(|\)|'/,d={center:"center","50% 50%":"center"};function p(w){var S=getComputedStyle(w,null)||{},r=S.fontFamily||"",c=r.match(f)||"",h=c&&r.match(l)||"";return h&&(h=h[1]),{fit:c&&c[1]||"",position:d[h]||h||"center"}}function y(){if(!i){var w=o.createElement("style");i=E.cfg.objectFitClass||"lazysizes-display-clone",o.querySelector("head").appendChild(w)}}function t(w){var S=w.previousElementSibling;S&&E.hC(S,i)&&(S.parentNode.removeChild(S),w.style.position=S.getAttribute("data-position")||"",w.style.visibility=S.getAttribute("data-visibility")||"")}function I(w,S){var r,c,h,b,m=E.cfg,x=function(){var M=w.currentSrc||w.src;M&&c!==M&&(c=M,b.backgroundImage="url("+(s.test(M)?JSON.stringify(M):M)+")",r||(r=!0,E.rC(h,m.loadingClass),E.aC(h,m.loadedClass)))},T=function(){E.rAF(x)};w._lazysizesParentFit=S.fit,w.addEventListener("lazyloaded",T,!0),w.addEventListener("load",T,!0),E.rAF(function(){var M=w,R=w.parentNode;R.nodeName.toUpperCase()=="PICTURE"&&(M=R,R=R.parentNode),t(M),i||y(),h=w.cloneNode(!1),b=h.style,h.addEventListener("load",function(){var W=h.currentSrc||h.src;W&&W!=u&&(h.src=u,h.srcset="")}),E.rC(h,m.loadedClass),E.rC(h,m.lazyClass),E.rC(h,m.autosizesClass),E.aC(h,m.loadingClass),E.aC(h,i),["data-parent-fit","data-parent-container","data-object-fit-polyfilled",m.srcsetAttr,m.srcAttr].forEach(function(W){h.removeAttribute(W)}),h.src=u,h.srcset="",b.backgroundRepeat="no-repeat",b.backgroundPosition=S.position,b.backgroundSize=S.fit,h.setAttribute("data-position",M.style.position),h.setAttribute("data-visibility",M.style.visibility),M.style.visibility="hidden",M.style.position="absolute",w.setAttribute("data-parent-fit",S.fit),w.setAttribute("data-parent-container","prev"),w.setAttribute("data-object-fit-polyfilled",""),w._objectFitPolyfilledDisplay=h,R.insertBefore(h,M),w._lazysizesParentFit&&delete w._lazysizesParentFit,w.complete&&x()})}if(!a||!g){var v=function(w){if(w.detail.instance==E){var S=w.target,r=p(S);return r.fit&&(!a||r.position!="center")?(I(S,r),!0):!1}};e.addEventListener("lazybeforesizes",function(w){if(w.detail.instance==E){var S=w.target;S.getAttribute("data-object-fit-polyfilled")!=null&&!S._objectFitPolyfilledDisplay&&(v(w)||E.rAF(function(){S.removeAttribute("data-object-fit-polyfilled")}))}}),e.addEventListener("lazyunveilread",v,!0),A&&A.detail&&v(A)}})});var gt=Ce((Nt,Je)=>{(function(e,o){if(!!e){var E=function(){o(e.lazySizes),e.removeEventListener("lazyunveilread",E,!0)};o=o.bind(null,e,e.document),typeof Je=="object"&&Je.exports?o(Ne()):typeof define=="function"&&define.amd?define(["lazysizes"],o):e.lazySizes?E():e.addEventListener("lazyunveilread",E,!0)}})(typeof window!="undefined"?window:0,function(e,o,E){"use strict";if(!!e.addEventListener){var A,i=/^picture$/i,n=o.documentElement,a=function(){var d,p=/(([^,\s].[^\s]+)\s+(\d+)(w|h)(\s+(\d+)(w|h))?)/g,y=function(t,I,v,w,S,r,c,h){d.push({c:I,u:v,w:(h=="w"?c:w)*1})};return function(t){return d=[],t.replace(p,y),d}}(),g=function(){var d=function(y,t){return y.w-t.w},p=function(y,t){var I={srcset:y.getAttribute(E.cfg.srcsetAttr)||""},v=a(I.srcset);return Object.defineProperty(y,t,{value:I,writable:!0}),I.cands=v,I.index=0,I.dirty=!1,v[0]&&v[0].w?(v.sort(d),I.cSrcset=[v[I.index].c]):(I.cSrcset=I.srcset?[I.srcset]:[],I.cands=[]),I};return function(t,I){var v,w,S,r;if(!t[I]&&(r=t.parentNode||{},t[I]=p(t,I),t[I].isImg=!0,i.test(r.nodeName||"")))for(t[I].picture=!0,v=r.getElementsByTagName("source"),w=0,S=v.length;w<S;w++)p(v[w],I).isImg=!1;return t[I]}}(),f={_lazyOptimumx:function(){var d=function(p,y,t){var I,v,w;return!p||!p.d?!0:(w=t>.7?.6:.4,p.d>=t?!1:(v=Math.pow(p.d-w,1.6)||.1,v<.1?v=.1:v>3&&(v=3),I=p.d+(y-t)*v,I<t))};return function(p,y,t){var I,v;for(I=0;I<p.cands.length;I++)if(v=p.cands[I],v.d=(v.w||1)/y,!(p.index>=I))if(v.d<=t||d(p.cands[I-1],v.d,t))p.cSrcset.push(v.c),p.index=I;else break}}()},l=function(){var d=function(p,y,t,I,v){var w,S=p[v];!S||(w=S.index,f[v](S,y,t),(!S.dirty||w!=S.index)&&(S.cSrcset.join(", "),p.setAttribute(I,S.cSrcset.join(", ")),S.dirty=!0))};return function(p,y,t,I,v){var w,S,r,c,h=p[v];if(h.width=y,h.picture&&(S=p.parentNode))for(w=S.getElementsByTagName("source"),c=0,r=w.length;c<r;c++)d(w[c],y,t,I,v);d(p,y,t,I,v)}}(),u=function(d){var p=d.getAttribute("data-optimumx")||d.getAttribute("data-maxdpr");return!p&&A.constrainPixelDensity&&(p="auto"),p&&(p=="auto"?p=A.getOptimumX(d):p=parseFloat(p,10)),p},s=function(){E&&!E.getOptimumX&&(E.getX=u,E.pWS=a,n.removeEventListener("lazybeforeunveil",s))};n.addEventListener("lazybeforeunveil",s),setTimeout(s),A=E&&E.cfg,typeof A.getOptimumX!="function"&&(A.getOptimumX=function(){var d=e.devicePixelRatio||1;return d>2.6?d*=.6:d>1.9?d*=.8:d-=.01,Math.min(Math.round(d*100)/100,2)}),e.devicePixelRatio&&addEventListener("lazybeforesizes",function(d){if(d.detail.instance==E){var p,y,t,I,v=d.target,w=d.detail,S=w.dataAttr;d.defaultPrevented||!(p=u(v))||p>=devicePixelRatio||(S&&v._lazyOptimumx&&!w.reloaded&&(!A.unloadedClass||!E.hC(v,A.unloadedClass))&&(v._lazyOptimumx=null),y=g(v,"_lazyOptimumx"),t=w.width,t&&(y.width||0)<t&&(I=S?E.cfg.srcsetAttr:"srcset",E.rAF(function(){l(v,t,p,I,"_lazyOptimumx")})))}})}})});var vt=Ce((Lt,Ze)=>{(function(e,o){if(!!e){var E=function(){o(e.lazySizes),e.removeEventListener("lazyunveilread",E,!0)};o=o.bind(null,e,e.document),typeof Ze=="object"&&Ze.exports?o(Ne()):typeof define=="function"&&define.amd?define(["lazysizes"],o):e.lazySizes?E():e.addEventListener("lazyunveilread",E,!0)}})(typeof window!="undefined"?window:0,function(e,o,E){"use strict";if(!!e.addEventListener){var A=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,i=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,n=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,a=/^picture$/i,g=E.cfg,f=function(u){return getComputedStyle(u,null)||{}},l={getParent:function(u,s){var d=u,p=u.parentNode;return(!s||s=="prev")&&p&&a.test(p.nodeName||"")&&(p=p.parentNode),s!="self"&&(s=="prev"?d=u.previousElementSibling:s&&(p.closest||e.jQuery)?d=(p.closest?p.closest(s):jQuery(p).closest(s)[0])||p:d=p),d},getFit:function(u){var s,d,p=f(u),y=p.content||p.fontFamily,t={fit:u._lazysizesParentFit||u.getAttribute("data-parent-fit")};return!t.fit&&y&&(s=y.match(i))&&(t.fit=s[1]),t.fit?(d=u._lazysizesParentContainer||u.getAttribute("data-parent-container"),!d&&y&&(s=y.match(n))&&(d=s[1]),t.parent=l.getParent(u,d)):t.fit=p.objectFit,t},getImageRatio:function(u){var s,d,p,y,t,I,v,w=u.parentNode,S=w&&a.test(w.nodeName||"")?w.querySelectorAll("source, img"):[u];for(s=0;s<S.length;s++)if(u=S[s],d=u.getAttribute(g.srcsetAttr)||u.getAttribute("srcset")||u.getAttribute("data-pfsrcset")||u.getAttribute("data-risrcset")||"",p=u._lsMedia||u.getAttribute("media"),p=g.customMedia[u.getAttribute("data-media")||p]||p,d&&(!p||(e.matchMedia&&matchMedia(p)||{}).matches)){y=parseFloat(u.getAttribute("data-aspectratio")),y||(t=d.match(A),t?t[2]=="w"?(I=t[1],v=t[3]):(I=t[3],v=t[1]):(I=u.getAttribute("width"),v=u.getAttribute("height")),y=I/v);break}return y},calculateSize:function(u,s){var d,p,y,t,I=this.getFit(u),v=I.fit,w=I.parent;return v!="width"&&(v!="contain"&&v!="cover"||!(y=this.getImageRatio(u)))?s:(w?s=w.clientWidth:w=u,t=s,v=="width"?t=s:(p=w.clientHeight,(d=s/p)&&(v=="cover"&&d<y||v=="contain"&&d>y)&&(t=s*(y/d))),t)}};E.parentFit=l,o.addEventListener("lazybeforesizes",function(u){if(!(u.defaultPrevented||u.detail.instance!=E)){var s=u.target;u.detail.width=l.calculateSize(s,u.detail.width)}})}})});var mt=Ce((Bt,et)=>{(function(e,o){var E=function(){o(e.lazySizes),e.removeEventListener("lazyunveilread",E,!0)};o=o.bind(null,e,e.document),typeof et=="object"&&et.exports?o(Ne()):typeof define=="function"&&define.amd?define(["lazysizes"],o):e.lazySizes?E():e.addEventListener("lazyunveilread",E,!0)})(window,function(e,o,E){"use strict";var A,i,n=E.cfg,a={string:1,number:1},g=/^\-*\+*\d+\.*\d*$/,f=/^picture$/i,l=/\s*\{\s*width\s*\}\s*/i,u=/\s*\{\s*height\s*\}\s*/i,s=/\s*\{\s*([a-z0-9]+)\s*\}\s*/ig,d=/^\[.*\]|\{.*\}$/,p=/^(?:auto|\d+(px)?)$/,y=o.createElement("a"),t=o.createElement("img"),I="srcset"in t&&!("sizes"in t),v=!!e.HTMLPictureElement&&!I;(function(){var m,x=function(){},T={prefix:"",postfix:"",srcAttr:"data-src",absUrl:!1,modifyOptions:x,widthmap:{},ratio:!1,traditionalRatio:!1,aspectratio:!1};A=E&&E.cfg,A.supportsType||(A.supportsType=function(M){return!M}),A.rias||(A.rias={}),i=A.rias,"widths"in i||(i.widths=[],function(M){for(var R,W=0;!R||R<3e3;)W+=5,W>30&&(W+=1),R=36*W,M.push(R)}(i.widths));for(m in T)m in i||(i[m]=T[m])})();function w(m,x,T){var M,R,W,L,$,D=e.getComputedStyle(m);if(!T)R=m.parentNode,T={isPicture:!!(R&&f.test(R.nodeName||""))};else{$={};for(L in T)$[L]=T[L];T=$}W=function(O,C){var k=m.getAttribute("data-"+O);if(!k){var z=D.getPropertyValue("--ls-"+O);z&&(k=z.trim())}if(k){if(k=="true")k=!0;else if(k=="false")k=!1;else if(g.test(k))k=parseFloat(k);else if(typeof i[O]=="function")k=i[O](m,k);else if(d.test(k))try{k=JSON.parse(k)}catch(H){}T[O]=k}else O in i&&typeof i[O]!="function"&&!T[O]?T[O]=i[O]:C&&typeof i[O]=="function"&&(T[O]=i[O](m,k))};for(M in i)W(M);return x.replace(s,function(O,C){C in T||W(C,!0)}),T}function S(m,x){var T=[],M=function(R,W){return a[typeof x[W]]?x[W]:R};return T.srcset=[],x.absUrl&&(y.setAttribute("href",m),m=y.href),m=((x.prefix||"")+m+(x.postfix||"")).replace(s,M),x.widths.forEach(function(R){var W=x.widthmap[R]||R,L=x.aspectratio||x.ratio,$=!x.aspectratio&&i.traditionalRatio,D={u:m.replace(l,W).replace(u,L?Math.round($?R*L:R/L):""),w:R};T.push(D),T.srcset.push(D.c=D.u+" "+R+"w")}),T}function r(m,x,T){var M=0,R=0,W=T;if(!!m){if(x.ratio==="container"){for(M=W.scrollWidth,R=W.scrollHeight;(!M||!R)&&W!==o;)W=W.parentNode,M=W.scrollWidth,R=W.scrollHeight;M&&R&&(x.ratio=x.traditionalRatio?R/M:M/R)}m=S(m,x),m.isPicture=x.isPicture,I&&T.nodeName.toUpperCase()=="IMG"?T.removeAttribute(A.srcsetAttr):T.setAttribute(A.srcsetAttr,m.srcset.join(", ")),Object.defineProperty(T,"_lazyrias",{value:m,writable:!0})}}function c(m,x){var T=w(m,x);return i.modifyOptions.call(m,{target:m,details:T,detail:T}),E.fire(m,"lazyriasmodifyoptions",T),T}function h(m){return m.getAttribute(m.getAttribute("data-srcattr")||i.srcAttr)||m.getAttribute(A.srcsetAttr)||m.getAttribute(A.srcAttr)||m.getAttribute("data-pfsrcset")||""}addEventListener("lazybeforesizes",function(m){if(m.detail.instance==E){var x,T,M,R,W,L,$,D,O,C,k,z,H,B;if(x=m.target,!(!m.detail.dataAttr||m.defaultPrevented||i.disabled||!((C=x.getAttribute(A.sizesAttr)||x.getAttribute("sizes"))&&p.test(C)))){if(T=h(x),M=c(x,T),z=l.test(M.prefix)||l.test(M.postfix),M.isPicture&&(W=x.parentNode))for(L=W.getElementsByTagName("source"),$=0,D=L.length;$<D;$++)(z||l.test(O=h(L[$])))&&(R=w(L[$],O,M),r(O,R,L[$]),H=!0);z||l.test(T)?(r(T,M,x),H=!0):H&&(B=[],B.srcset=[],B.isPicture=!0,Object.defineProperty(x,"_lazyrias",{value:B,writable:!0})),H&&(v?x.removeAttribute(A.srcAttr):C!="auto"&&(k={width:parseInt(C,10)},b({target:x,detail:k})))}}},!0);var b=function(){var m=function(L,$){return L.w-$.w},x=function(L){var $,D,O=L.length,C=L[O-1],k=0;for(k;k<O;k++)if(C=L[k],C.d=C.w/L.w,C.d>=L.d){!C.cached&&($=L[k-1])&&$.d>L.d-.13*Math.pow(L.d,2.2)&&(D=Math.pow($.d-.6,1.6),$.cached&&($.d+=.15*D),$.d+(C.d-L.d)*D>L.d&&(C=$));break}return C},T=function(L,$){var D;return!L._lazyrias&&E.pWS&&(D=E.pWS(L.getAttribute(A.srcsetAttr||""))).length&&(Object.defineProperty(L,"_lazyrias",{value:D,writable:!0}),$&&L.parentNode&&(D.isPicture=L.parentNode.nodeName.toUpperCase()=="PICTURE")),L._lazyrias},M=function(L){var $=e.devicePixelRatio||1,D=E.getX&&E.getX(L);return Math.min(D||$,2.4,$)},R=function(L,$){var D,O,C,k,z,H;if(z=L._lazyrias,z.isPicture&&e.matchMedia){for(O=0,D=L.parentNode.getElementsByTagName("source"),C=D.length;O<C;O++)if(T(D[O])&&!D[O].getAttribute("type")&&(!(k=D[O].getAttribute("media"))||(matchMedia(k)||{}).matches)){z=D[O]._lazyrias;break}}return(!z.w||z.w<$)&&(z.w=$,z.d=M(L),H=x(z.sort(m))),H},W=function(L){if(L.detail.instance==E){var $,D=L.target;if(!I&&(e.respimage||e.picturefill||n.pf)){o.removeEventListener("lazybeforesizes",W);return}!("_lazyrias"in D)&&(!L.detail.dataAttr||!T(D,!0))||($=R(D,L.detail.width),$&&$.u&&D._lazyrias.cur!=$.u&&(D._lazyrias.cur=$.u,$.cached=!0,E.rAF(function(){D.setAttribute(A.srcAttr,$.u),D.setAttribute("src",$.u)})))}};return v?W=function(){}:addEventListener("lazybeforesizes",W),W}()})});var yt=Ce((zt,We)=>{(function(e){if(typeof window=="undefined")return;var o=0,E=!1,A=!1,i="message",n=i.length,a="[iFrameSizer]",g=a.length,f=null,l=window.requestAnimationFrame,u={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},s={},d=null,p={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClosed:function(){},onInit:function(){},onMessage:function(){b("onMessage function not defined")},onResized:function(){},onScroll:function(){return!0}};function y(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function t(N,U,K){N.addEventListener(U,K,!1)}function I(N,U,K){N.removeEventListener(U,K,!1)}function v(){var N=["moz","webkit","o","ms"],U;for(U=0;U<N.length&&!l;U+=1)l=window[N[U]+"RequestAnimationFrame"];l||c("setup","RequestAnimationFrame not supported")}function w(N){var U="Host page: "+N;return window.top!==window.self&&(window.parentIFrame&&window.parentIFrame.getId?U=window.parentIFrame.getId()+": "+N:U="Nested host page: "+N),U}function S(N){return a+"["+w(N)+"]"}function r(N){return s[N]?s[N].log:E}function c(N,U){m("log",N,U,r(N))}function h(N,U){m("info",N,U,r(N))}function b(N,U){m("warn",N,U,!0)}function m(N,U,K,j){j===!0&&typeof window.console=="object"&&console[N](S(U),K)}function x(N){function U(){function F(){O(ne),L(V),fe("onResized",ne)}j("Height"),j("Width"),C(F,ne,"init")}function K(){var F=ue.substr(g).split(":");return{iframe:s[F[0]]&&s[F[0]].iframe,id:F[0],height:F[1],width:F[2],type:F[3]}}function j(F){var P=Number(s[V]["max"+F]),G=Number(s[V]["min"+F]),Q=F.toLowerCase(),re=Number(ne[Q]);c(V,"Checking "+Q+" is in range "+G+"-"+P),re<G&&(re=G,c(V,"Set "+Q+" to min value")),re>P&&(re=P,c(V,"Set "+Q+" to max value")),ne[Q]=""+re}function ie(){function F(){function Q(){var q=0,ge=!1;for(c(V,"Checking connection is from allowed list of origins: "+G);q<G.length;q++)if(G[q]===P){ge=!0;break}return ge}function re(){var q=s[V]&&s[V].remoteHost;return c(V,"Checking connection is from: "+q),P===q}return G.constructor===Array?Q():re()}var P=N.origin,G=s[V]&&s[V].checkOrigin;if(G&&""+P!="null"&&!F())throw new Error("Unexpected message received from: "+P+" for "+ne.iframe.id+". Message was: "+N.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function ae(){return a===(""+ue).substr(0,g)&&ue.substr(g).split(":")[0]in s}function me(){var F=ne.type in{true:1,false:1,undefined:1};return F&&c(V,"Ignoring init message from meta parent page"),F}function de(F){return ue.substr(ue.indexOf(":")+n+F)}function ce(F){c(V,"onMessage passed: {iframe: "+ne.iframe.id+", message: "+F+"}"),fe("onMessage",{iframe:ne.iframe,message:JSON.parse(F)}),c(V,"--")}function xe(){var F=document.body.getBoundingClientRect(),P=ne.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:P.height,iframeWidth:P.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(P.top-F.top,10),offsetLeft:parseInt(P.left-F.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function be(F,P){function G(){k("Send Page Info","pageInfo:"+xe(),F,P)}Z(G,32,P)}function Ie(){function F(re,q){function ge(){s[Q]?be(s[Q].iframe,Q):P()}["scroll","resize"].forEach(function(Ae){c(Q,re+Ae+" listener for sendPageInfo"),q(window,Ae,ge)})}function P(){F("Remove ",I)}function G(){F("Add ",t)}var Q=V;G(),s[Q]&&(s[Q].stopPageInfo=P)}function Pe(){s[V]&&s[V].stopPageInfo&&(s[V].stopPageInfo(),delete s[V].stopPageInfo)}function Me(){var F=!0;return ne.iframe===null&&(b(V,"IFrame ("+ne.id+") not found"),F=!1),F}function $e(F){var P=F.getBoundingClientRect();return W(V),{x:Math.floor(Number(P.left)+Number(f.x)),y:Math.floor(Number(P.top)+Number(f.y))}}function Se(F){function P(){f=q,Y(),c(V,"--")}function G(){return{x:Number(ne.width)+re.x,y:Number(ne.height)+re.y}}function Q(){window.parentIFrame?window.parentIFrame["scrollTo"+(F?"Offset":"")](q.x,q.y):b(V,"Unable to scroll to requested position, window.parentIFrame not found")}var re=F?$e(ne.iframe):{x:0,y:0},q=G();c(V,"Reposition requested from iFrame (offset x:"+re.x+" y:"+re.y+")"),window.top!==window.self?Q():P()}function Y(){fe("onScroll",f)!==!1?L(V):$()}function X(F){function P(){var ge=$e(q);c(V,"Moving to in page link (#"+Q+") at x: "+ge.x+" y: "+ge.y),f={x:ge.x,y:ge.y},Y(),c(V,"--")}function G(){window.parentIFrame?window.parentIFrame.moveToAnchor(Q):c(V,"In page link #"+Q+" not found and window.parentIFrame not found")}var Q=F.split("#")[1]||"",re=decodeURIComponent(Q),q=document.getElementById(re)||document.getElementsByName(re)[0];q?P():window.top!==window.self?G():c(V,"In page link #"+Q+" not found")}function fe(F,P){return T(V,F,P)}function _(){switch(s[V]&&s[V].firstRun&&pe(),ne.type){case"close":s[V].closeRequeston?T(V,"onCloseRequest",s[V].iframe):R(ne.iframe);break;case"message":ce(de(6));break;case"scrollTo":Se(!1);break;case"scrollToOffset":Se(!0);break;case"pageInfo":be(s[V]&&s[V].iframe,V),Ie();break;case"pageInfoStop":Pe();break;case"inPageLink":X(de(9));break;case"reset":D(ne);break;case"init":U(),fe("onInit",ne.iframe);break;default:U()}}function ee(F){var P=!0;return s[F]||(P=!1,b(ne.type+" No settings for "+F+". Message was: "+ue)),P}function se(){for(var F in s)k("iFrame requested init",z(F),document.getElementById(F),F)}function pe(){s[V]&&(s[V].firstRun=!1)}var ue=N.data,ne={},V=null;ue==="[iFrameResizerChild]Ready"?se():ae()?(ne=K(),V=ne.id,s[V]&&(s[V].loaded=!0),!me()&&ee(V)&&(c(V,"Received: "+ue),Me()&&ie()&&_())):h(V,"Ignored: "+ue)}function T(N,U,K){var j=null,ie=null;if(s[N])if(j=s[N][U],typeof j=="function")ie=j(K);else throw new TypeError(U+" on iFrame["+N+"] is not a function");return ie}function M(N){var U=N.id;delete s[U]}function R(N){var U=N.id;c(U,"Removing iFrame: "+U);try{N.parentNode&&N.parentNode.removeChild(N)}catch(K){b(K)}T(U,"onClosed",U),c(U,"--"),M(N)}function W(N){f===null&&(f={x:window.pageXOffset!==e?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==e?window.pageYOffset:document.documentElement.scrollTop},c(N,"Get page position: "+f.x+","+f.y))}function L(N){f!==null&&(window.scrollTo(f.x,f.y),c(N,"Set page position: "+f.x+","+f.y),$())}function $(){f=null}function D(N){function U(){O(N),k("reset","reset",N.iframe,N.id)}c(N.id,"Size reset requested by "+(N.type==="init"?"host page":"iFrame")),W(N.id),C(U,N,"reset")}function O(N){function U(ae){if(!N.id){c("undefined","messageData id not set");return}N.iframe.style[ae]=N[ae]+"px",c(N.id,"IFrame ("+ie+") "+ae+" set to "+N[ae]+"px")}function K(ae){!A&&N[ae]==="0"&&(A=!0,c(ie,"Hidden iFrame detected, creating visibility listener"),te())}function j(ae){U(ae),K(ae)}var ie=N.iframe.id;s[ie]&&(s[ie].sizeHeight&&j("height"),s[ie].sizeWidth&&j("width"))}function C(N,U,K){K!==U.type&&l?(c(U.id,"Requesting animation frame"),l(N)):N()}function k(N,U,K,j,ie){function ae(){var be=s[j]&&s[j].targetOrigin;c(j,"["+N+"] Sending msg to iframe["+j+"] ("+U+") targetOrigin: "+be),K.contentWindow.postMessage(a+U,be)}function me(){b(j,"["+N+"] IFrame("+j+") not found")}function de(){K&&"contentWindow"in K&&K.contentWindow!==null?ae():me()}function ce(){function be(){s[j]&&!s[j].loaded&&!xe&&(xe=!0,b(j,"IFrame has not responded within "+s[j].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}!!ie&&s[j]&&!!s[j].warningTimeout&&(s[j].msgTimeout=setTimeout(be,s[j].warningTimeout))}var xe=!1;j=j||K.id,s[j]&&(de(),ce())}function z(N){return N+":"+s[N].bodyMarginV1+":"+s[N].sizeWidth+":"+s[N].log+":"+s[N].interval+":"+s[N].enablePublicMethods+":"+s[N].autoResize+":"+s[N].bodyMargin+":"+s[N].heightCalculationMethod+":"+s[N].bodyBackground+":"+s[N].bodyPadding+":"+s[N].tolerance+":"+s[N].inPageLinks+":"+s[N].resizeFrom+":"+s[N].widthCalculationMethod}function H(N,U){function K(){function X(_){s[Y][_]!==1/0&&s[Y][_]!==0&&(N.style[_]=s[Y][_]+"px",c(Y,"Set "+_+" = "+s[Y][_]+"px"))}function fe(_){if(s[Y]["min"+_]>s[Y]["max"+_])throw new Error("Value for min"+_+" can not be greater than max"+_)}fe("Height"),fe("Width"),X("maxHeight"),X("minHeight"),X("maxWidth"),X("minWidth")}function j(){var X=U&&U.id||p.id+o++;return document.getElementById(X)!==null&&(X+=o++),X}function ie(X){return X===""&&(N.id=X=j(),E=(U||{}).log,c(X,"Added missing iframe ID: "+X+" ("+N.src+")")),X}function ae(){switch(c(Y,"IFrame scrolling "+(s[Y]&&s[Y].scrolling?"enabled":"disabled")+" for "+Y),N.style.overflow=(s[Y]&&s[Y].scrolling)===!1?"hidden":"auto",s[Y]&&s[Y].scrolling){case"omit":break;case!0:N.scrolling="yes";break;case!1:N.scrolling="no";break;default:N.scrolling=s[Y]?s[Y].scrolling:"no"}}function me(){(typeof(s[Y]&&s[Y].bodyMargin)=="number"||(s[Y]&&s[Y].bodyMargin)==="0")&&(s[Y].bodyMarginV1=s[Y].bodyMargin,s[Y].bodyMargin=""+s[Y].bodyMargin+"px")}function de(){var X=s[Y]&&s[Y].firstRun,fe=s[Y]&&s[Y].heightCalculationMethod in u;!X&&fe&&D({iframe:N,height:0,width:0,type:"init"})}function ce(){s[Y]&&(s[Y].iframe.iFrameResizer={close:R.bind(null,s[Y].iframe),removeListeners:M.bind(null,s[Y].iframe),resize:k.bind(null,"Window resize","resize",s[Y].iframe),moveToAnchor:function(X){k("Move to anchor","moveToAnchor:"+X,s[Y].iframe,Y)},sendMessage:function(X){X=JSON.stringify(X),k("Send Message","message:"+X,s[Y].iframe,Y)}})}function xe(X){function fe(){k("iFrame.onload",X,N,e,!0),de()}function _(se){if(!!N.parentNode){var pe=new se(function(ue){ue.forEach(function(ne){var V=Array.prototype.slice.call(ne.removedNodes);V.forEach(function(F){F===N&&R(N)})})});pe.observe(N.parentNode,{childList:!0})}}var ee=y();ee&&_(ee),t(N,"load",fe),k("init",X,N,e,!0)}function be(X){if(typeof X!="object")throw new TypeError("Options is not an object")}function Ie(X){for(var fe in p)Object.prototype.hasOwnProperty.call(p,fe)&&(s[Y][fe]=Object.prototype.hasOwnProperty.call(X,fe)?X[fe]:p[fe])}function Pe(X){return X===""||X==="file://"?"*":X}function Me(X){var fe=X.split("Callback");if(fe.length===2){var _="on"+fe[0].charAt(0).toUpperCase()+fe[0].slice(1);this[_]=this[X],delete this[X],b(Y,"Deprecated: '"+X+"' has been renamed '"+_+"'. The old method will be removed in the next major version.")}}function $e(X){X=X||{},s[Y]={firstRun:!0,iframe:N,remoteHost:N.src.split("/").slice(0,3).join("/")},be(X),Object.keys(X).forEach(Me,X),Ie(X),s[Y]&&(s[Y].targetOrigin=s[Y].checkOrigin===!0?Pe(s[Y].remoteHost):"*")}function Se(){return Y in s&&"iFrameResizer"in N}var Y=ie(N.id);Se()?b(Y,"Ignored iFrame, already setup."):($e(U),ae(),K(),me(),xe(z(Y)),ce())}function B(N,U){d===null&&(d=setTimeout(function(){d=null,N()},U))}var J={};function Z(N,U,K){J[K]||(J[K]=setTimeout(function(){J[K]=null,N()},U))}function te(){function N(){function ie(ae){function me(ce){return(s[ae]&&s[ae].iframe.style[ce])==="0px"}function de(ce){return ce.offsetParent!==null}s[ae]&&de(s[ae].iframe)&&(me("height")||me("width"))&&k("Visibility change","resize",s[ae].iframe,ae)}Object.keys(s).forEach(function(ae){ie(s[ae])})}function U(ie){c("window","Mutation observed: "+ie[0].target+" "+ie[0].type),B(N,16)}function K(){var ie=document.querySelector("body"),ae={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0},me=new j(U);me.observe(ie,ae)}var j=y();j&&K()}function oe(N){function U(){he("Window "+N,"resize")}c("window","Trigger event: "+N),B(U,16)}function le(){function N(){he("Tab Visable","resize")}document.visibilityState!=="hidden"&&(c("document","Trigger event: Visiblity change"),B(N,16))}function he(N,U){function K(j){return s[j]&&s[j].resizeFrom==="parent"&&s[j].autoResize&&!s[j].firstRun}Object.keys(s).forEach(function(j){K(j)&&k(N,U,document.getElementById(j),j)})}function ye(){t(window,"message",x),t(window,"resize",function(){oe("resize")}),t(document,"visibilitychange",le),t(document,"-webkit-visibilitychange",le)}function ve(){function N(j,ie){function ae(){if(ie.tagName){if(ie.tagName.toUpperCase()!=="IFRAME")throw new TypeError("Expected <IFRAME> tag, found <"+ie.tagName+">")}else throw new TypeError("Object is not a valid DOM element")}ie&&(ae(),H(ie,j),K.push(ie))}function U(j){j&&j.enablePublicMethods&&b("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}var K;return v(),ye(),function(ie,ae){switch(K=[],U(ie),typeof ae){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(ae||"iframe"),N.bind(e,ie));break;case"object":N(ie,ae);break;default:throw new TypeError("Unexpected data type ("+typeof ae+")")}return K}}function Te(N){N.fn?N.fn.iFrameResize||(N.fn.iFrameResize=function(K){function j(ie,ae){H(ae,K)}return this.filter("iframe").each(j).end()}):h("","Unable to bind to jQuery, it is not fully loaded.")}window.jQuery&&Te(window.jQuery),typeof define=="function"&&define.amd?define([],ve):typeof We=="object"&&typeof We.exports=="object"&&(We.exports=ve()),window.iFrameResize=window.iFrameResize||ve()})()});var bt=Ce(Ue=>{(function(e,o){if(typeof define=="function"&&define.amd)define(["exports"],o);else if(typeof Ue!="undefined")o(Ue);else{var E={exports:{}};o(E.exports),e.bodyScrollLock=E.exports}})(Ue,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function o(S){if(Array.isArray(S)){for(var r=0,c=Array(S.length);r<S.length;r++)c[r]=S[r];return c}else return Array.from(S)}var E=!1;if(typeof window!="undefined"){var A={get passive(){E=!0}};window.addEventListener("testPassive",null,A),window.removeEventListener("testPassive",null,A)}var i=typeof window!="undefined"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),n=[],a=!1,g=-1,f=void 0,l=void 0,u=function(r){return n.some(function(c){return!!(c.options.allowTouchMove&&c.options.allowTouchMove(r))})},s=function(r){var c=r||window.event;return u(c.target)||c.touches.length>1?!0:(c.preventDefault&&c.preventDefault(),!1)},d=function(r){if(l===void 0){var c=!!r&&r.reserveScrollBarGap===!0,h=window.innerWidth-document.documentElement.clientWidth;c&&h>0&&(l=document.body.style.paddingRight,document.body.style.paddingRight=h+"px")}f===void 0&&(f=document.body.style.overflow,document.body.style.overflow="hidden")},p=function(){l!==void 0&&(document.body.style.paddingRight=l,l=void 0),f!==void 0&&(document.body.style.overflow=f,f=void 0)},y=function(r){return r?r.scrollHeight-r.scrollTop<=r.clientHeight:!1},t=function(r,c){var h=r.targetTouches[0].clientY-g;return u(r.target)?!1:c&&c.scrollTop===0&&h>0||y(c)&&h<0?s(r):(r.stopPropagation(),!0)},I=e.disableBodyScroll=function(r,c){if(!r){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!n.some(function(b){return b.targetElement===r})){var h={targetElement:r,options:c||{}};n=[].concat(o(n),[h]),i?(r.ontouchstart=function(b){b.targetTouches.length===1&&(g=b.targetTouches[0].clientY)},r.ontouchmove=function(b){b.targetTouches.length===1&&t(b,r)},a||(document.addEventListener("touchmove",s,E?{passive:!1}:void 0),a=!0)):d(c)}},v=e.clearAllBodyScrollLocks=function(){i?(n.forEach(function(r){r.targetElement.ontouchstart=null,r.targetElement.ontouchmove=null}),a&&(document.removeEventListener("touchmove",s,E?{passive:!1}:void 0),a=!1),g=-1):p(),n=[]},w=e.enableBodyScroll=function(r){if(!r){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}n=n.filter(function(c){return c.targetElement!==r}),i?(r.ontouchstart=null,r.ontouchmove=null,a&&n.length===0&&(document.removeEventListener("touchmove",s,E?{passive:!1}:void 0),a=!1)):n.length||p()}})});var wt=Ce((Ht,tt)=>{typeof ke=="undefined"&&(ke={});var ke;ke.brehaut||(ke.brehaut={});(function(){"use strict";var e={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370D8",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#D87093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"},o="(?:\\+|-)?\\d+",E="(?:\\+|-)?\\d*\\.\\d+",A="(?:"+o+")|(?:"+E+")";o="("+o+")",E="("+E+")",A="("+A+")";var i=A+"%",n="\\s*?",a=new RegExp(["^hsl(a?)\\(",A,",",i,",",i,"(,(",A,"))?\\)$"].join(n)),g=new RegExp(["^rgb(a?)\\(",o,",",o,",",o,"(,(",A,"))?\\)$"].join(n)),f=new RegExp(["^rgb(a?)\\(",i,",",i,",",i,"(,(",A,"))?\\)$"].join(n)),l,u=[],s={};this.object||(this.object=function(r){function c(){}return c.prototype=r,new c});var d=this.object;function p(r,c){r=r.toString();for(var h=[],b=0,m=Math.max(c-r.length,0);b<m;b++)h.push("0");return h.push(r),h.join("")}function y(r){return r.slice(0,1).toUpperCase()+r.slice(1)}function t(r){return r.replace(/^\s+|\s+$/g,"")}function I(r){return function(){var c=this.clone();return r.apply(c,arguments),c}}function v(r,c){var h=d(l),b=[],m="to"+y(r);function x(D){return function(){return D.apply(this[m](),arguments)}}for(var T in c)if(c.hasOwnProperty(T)){h[T]=c[T];var M=h[T];if(T.slice(0,1)=="_")continue;if(!(T in l)&&typeof M=="function")l[T]=x(M);else if(typeof M!="function"){b.push(T);var R="get"+y(T),W="set"+y(T);l[R]=x(h[R]=function(D){return function(){return this[D]}}(T)),l[W]=x(h[W]=function(D){return function(O){var C=this.clone();return C[D]=O,C}}(T))}}function L(){}L.prototype=h;function $(){return new L}return s[r]=$,h.clone=function(){for(var D=$(),O=0,C=b.length;O<C;O++){var k=b[O];D[k]=this[k]}return D},l[m]=function(){return $()},u.push(h),h}l={fromObject:function(r){if(!r)return d(l);for(var c=0,h=u.length;c<h;c++){var b=u[c].fromObject(r);if(b)return b}return d(l)},toString:function(){return this.toCSS()}};var w=null;v("RGB",{red:0,green:0,blue:0,alpha:0,getLuminance:function(){return this.red*.2126+this.green*.7152+this.blue*.0722},blend:function(r,c){r=r.toRGB(),c=Math.min(Math.max(c,0),1);var h=this.clone();return h.red=h.red*(1-c)+r.red*c,h.green=h.green*(1-c)+r.green*c,h.blue=h.blue*(1-c)+r.blue*c,h.alpha=h.alpha*(1-c)+r.alpha*c,h},fromObject:function(r){if(r instanceof Array)return this._fromRGBArray(r);if(typeof r=="string")return this._fromCSS(t(r));if(r.hasOwnProperty("red")&&r.hasOwnProperty("green")&&r.hasOwnProperty("blue"))return this._fromRGB(r)},_stringParsers:[function(r){r=t(r);var c=h(g,255);if(c)return c;return h(f,100);function h(b,m){var x=r.match(b);if(!x||!!x[1]+!!x[5]==1)return null;var T=s.RGB();return T.red=Math.min(1,Math.max(0,x[2]/m)),T.green=Math.min(1,Math.max(0,x[3]/m)),T.blue=Math.min(1,Math.max(0,x[4]/m)),T.alpha=x[5]?Math.min(Math.max(parseFloat(x[6]),0),1):1,T}},function(r){var c=r.toLowerCase();if(c in e&&(r=e[c]),!!r.match(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/)){r=r.replace(/^#/,"");var h=r.length/3,b=Math.pow(16,h)-1,m=s.RGB();return m.red=parseInt(r.slice(0,h),16)/b,m.green=parseInt(r.slice(h*1,h*2),16)/b,m.blue=parseInt(r.slice(h*2),16)/b,m.alpha=1,m}},function(r){if(r.toLowerCase()==="transparent")return w}],_fromCSS:function(r){for(var c=null,h=0,b=this._stringParsers.length;h<b;h++)if(c=this._stringParsers[h](r),c)return c},_fromRGB:function(r){var c=s.RGB();return c.red=r.red,c.green=r.green,c.blue=r.blue,c.alpha=r.hasOwnProperty("alpha")?r.alpha:1,c},_fromRGBArray:function(r){var c=s.RGB();return c.red=Math.max(0,Math.min(1,r[0]/255)),c.green=Math.max(0,Math.min(1,r[1]/255)),c.blue=Math.max(0,Math.min(1,r[2]/255)),c.alpha=r[3]!==void 0?Math.max(0,Math.min(1,r[3])):1,c},toCSSHex:function(r){r=r||2;var c=Math.pow(16,r)-1,h=["#",p(Math.round(this.red*c).toString(16).toUpperCase(),r),p(Math.round(this.green*c).toString(16).toUpperCase(),r),p(Math.round(this.blue*c).toString(16).toUpperCase(),r)];return h.join("")},toCSS:function(r){if(this.alpha===1)return this.toCSSHex(r);var c=255,h=["rgba(",Math.max(0,Math.min(c,Math.round(this.red*c))),",",Math.max(0,Math.min(c,Math.round(this.green*c))),",",Math.max(0,Math.min(c,Math.round(this.blue*c))),",",Math.max(0,Math.min(1,this.alpha)),")"];return h.join("")},toHSV:function(){var r=s.HSV(),c,h,b;return c=Math.min(this.red,this.green,this.blue),h=Math.max(this.red,this.green,this.blue),r.value=h,b=h-c,b==0?r.hue=r.saturation=0:(r.saturation=b/h,this.red==h?r.hue=(this.green-this.blue)/b:this.green==h?r.hue=2+(this.blue-this.red)/b:r.hue=4+(this.red-this.green)/b,r.hue=(r.hue*60+360)%360),r.alpha=this.alpha,r},toHSL:function(){return this.toHSV().toHSL()},toRGB:function(){return this.clone()}}),w=l.fromObject({red:0,blue:0,green:0,alpha:0}),v("HSV",{hue:0,saturation:0,value:1,alpha:1,shiftHue:I(function(r){var c=(this.hue+r)%360;c<0&&(c=(360+c)%360),this.hue=c}),devalueByAmount:I(function(r){this.value=Math.min(1,Math.max(this.value-r,0))}),devalueByRatio:I(function(r){this.value=Math.min(1,Math.max(this.value*(1-r),0))}),valueByAmount:I(function(r){this.value=Math.min(1,Math.max(this.value+r,0))}),valueByRatio:I(function(r){this.value=Math.min(1,Math.max(this.value*(1+r),0))}),desaturateByAmount:I(function(r){this.saturation=Math.min(1,Math.max(this.saturation-r,0))}),desaturateByRatio:I(function(r){this.saturation=Math.min(1,Math.max(this.saturation*(1-r),0))}),saturateByAmount:I(function(r){this.saturation=Math.min(1,Math.max(this.saturation+r,0))}),saturateByRatio:I(function(r){this.saturation=Math.min(1,Math.max(this.saturation*(1+r),0))}),schemeFromDegrees:function(r){for(var c=[],h=0,b=r.length;h<b;h++){var m=this.clone();m.hue=(this.hue+r[h])%360,c.push(m)}return c},complementaryScheme:function(){return this.schemeFromDegrees([0,180])},splitComplementaryScheme:function(){return this.schemeFromDegrees([0,150,320])},splitComplementaryCWScheme:function(){return this.schemeFromDegrees([0,150,300])},splitComplementaryCCWScheme:function(){return this.schemeFromDegrees([0,60,210])},triadicScheme:function(){return this.schemeFromDegrees([0,120,240])},clashScheme:function(){return this.schemeFromDegrees([0,90,270])},tetradicScheme:function(){return this.schemeFromDegrees([0,90,180,270])},fourToneCWScheme:function(){return this.schemeFromDegrees([0,60,180,240])},fourToneCCWScheme:function(){return this.schemeFromDegrees([0,120,180,300])},fiveToneAScheme:function(){return this.schemeFromDegrees([0,115,155,205,245])},fiveToneBScheme:function(){return this.schemeFromDegrees([0,40,90,130,245])},fiveToneCScheme:function(){return this.schemeFromDegrees([0,50,90,205,320])},fiveToneDScheme:function(){return this.schemeFromDegrees([0,40,155,270,310])},fiveToneEScheme:function(){return this.schemeFromDegrees([0,115,230,270,320])},sixToneCWScheme:function(){return this.schemeFromDegrees([0,30,120,150,240,270])},sixToneCCWScheme:function(){return this.schemeFromDegrees([0,90,120,210,240,330])},neutralScheme:function(){return this.schemeFromDegrees([0,15,30,45,60,75])},analogousScheme:function(){return this.schemeFromDegrees([0,30,60,90,120,150])},fromObject:function(r){if(r.hasOwnProperty("hue")&&r.hasOwnProperty("saturation")&&r.hasOwnProperty("value")){var c=s.HSV();return c.hue=r.hue,c.saturation=r.saturation,c.value=r.value,c.alpha=r.hasOwnProperty("alpha")?r.alpha:1,c}return null},_normalise:function(){this.hue%=360,this.saturation=Math.min(Math.max(0,this.saturation),1),this.value=Math.min(Math.max(0,this.value)),this.alpha=Math.min(1,Math.max(0,this.alpha))},toRGB:function(){this._normalise();var r=s.RGB(),c,h,b,m,x;if(this.saturation===0)return r.red=this.value,r.green=this.value,r.blue=this.value,r.alpha=this.alpha,r;var T=this.hue/60;switch(c=Math.floor(T),h=T-c,b=this.value*(1-this.saturation),m=this.value*(1-this.saturation*h),x=this.value*(1-this.saturation*(1-h)),c){case 0:r.red=this.value,r.green=x,r.blue=b;break;case 1:r.red=m,r.green=this.value,r.blue=b;break;case 2:r.red=b,r.green=this.value,r.blue=x;break;case 3:r.red=b,r.green=m,r.blue=this.value;break;case 4:r.red=x,r.green=b,r.blue=this.value;break;default:r.red=this.value,r.green=b,r.blue=m;break}return r.alpha=this.alpha,r},toHSL:function(){this._normalise();var r=s.HSL();r.hue=this.hue;var c=(2-this.saturation)*this.value,h=this.saturation*this.value;return c&&2-c&&(h/=c<=1?c:2-c),c/=2,r.saturation=h,r.lightness=c,r.alpha=this.alpha,r},toHSV:function(){return this.clone()}}),v("HSL",{hue:0,saturation:0,lightness:0,alpha:1,darkenByAmount:I(function(r){this.lightness=Math.min(1,Math.max(this.lightness-r,0))}),darkenByRatio:I(function(r){this.lightness=Math.min(1,Math.max(this.lightness*(1-r),0))}),lightenByAmount:I(function(r){this.lightness=Math.min(1,Math.max(this.lightness+r,0))}),lightenByRatio:I(function(r){this.lightness=Math.min(1,Math.max(this.lightness*(1+r),0))}),fromObject:function(r){if(typeof r=="string")return this._fromCSS(r);if(r.hasOwnProperty("hue")&&r.hasOwnProperty("saturation")&&r.hasOwnProperty("lightness"))return this._fromHSL(r)},_fromCSS:function(r){var c=t(r).match(a);if(!c||!!c[1]+!!c[5]==1)return null;var h=s.HSL();return h.hue=(c[2]%360+360)%360,h.saturation=Math.max(0,Math.min(parseInt(c[3],10)/100,1)),h.lightness=Math.max(0,Math.min(parseInt(c[4],10)/100,1)),h.alpha=c[5]?Math.max(0,Math.min(1,parseFloat(c[6]))):1,h},_fromHSL:function(r){var c=s.HSL();return c.hue=r.hue,c.saturation=r.saturation,c.lightness=r.lightness,c.alpha=r.hasOwnProperty("alpha")?r.alpha:1,c},_normalise:function(){this.hue=(this.hue%360+360)%360,this.saturation=Math.min(Math.max(0,this.saturation),1),this.lightness=Math.min(Math.max(0,this.lightness)),this.alpha=Math.min(1,Math.max(0,this.alpha))},toHSL:function(){return this.clone()},toHSV:function(){this._normalise();var r=s.HSV();r.hue=this.hue;var c=2*this.lightness,h=this.saturation*(c<=1?c:2-c);return r.value=(c+h)/2,r.saturation=2*h/(c+h)||0,r.alpha=this.alpha,r},toRGB:function(){return this.toHSV().toRGB()}});function S(r){return l.fromObject(r)}S.isValid=function(r){var c,h=S(r),b=0;for(c in h)h.hasOwnProperty(c)&&b++;return b>0},ke.brehaut.Color=S}).call(ke.brehaut);typeof tt!="undefined"&&(tt.exports=ke.brehaut.Color)});if(typeof jQuery=="undefined")throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){"use strict";var o=e.fn.jquery.split(" ")[0].split(".");if(o[0]<2&&o[1]<9||o[0]==1&&o[1]==9&&o[2]<1||o[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery);+function(e){"use strict";function o(){var E=document.createElement("bootstrap"),A={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in A)if(E.style[i]!==void 0)return{end:A[i]};return!1}e.fn.emulateTransitionEnd=function(E){var A=!1,i=this;e(this).one("bsTransitionEnd",function(){A=!0});var n=function(){A||e(i).trigger(e.support.transition.end)};return setTimeout(n,E),this},e(function(){e.support.transition=o(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(E){if(e(E.target).is(this))return E.handleObj.handler.apply(this,arguments)}})})}(jQuery);+function(e){"use strict";var o='[data-dismiss="alert"]',E=function(n){e(n).on("click",o,this.close)};E.VERSION="3.4.1",E.TRANSITION_DURATION=150,E.prototype.close=function(n){var a=e(this),g=a.attr("data-target");g||(g=a.attr("href"),g=g&&g.replace(/.*(?=#[^\s]*$)/,"")),g=g==="#"?[]:g;var f=e(document).find(g);if(n&&n.preventDefault(),f.length||(f=a.closest(".alert")),f.trigger(n=e.Event("close.bs.alert")),n.isDefaultPrevented())return;f.removeClass("in");function l(){f.detach().trigger("closed.bs.alert").remove()}e.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",l).emulateTransitionEnd(E.TRANSITION_DURATION):l()};function A(n){return this.each(function(){var a=e(this),g=a.data("bs.alert");g||a.data("bs.alert",g=new E(this)),typeof n=="string"&&g[n].call(a)})}var i=e.fn.alert;e.fn.alert=A,e.fn.alert.Constructor=E,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",o,E.prototype.close)}(jQuery);+function(e){"use strict";var o=function(i,n){this.$element=e(i),this.options=e.extend({},o.DEFAULTS,n),this.isLoading=!1};o.VERSION="3.4.1",o.DEFAULTS={loadingText:"loading..."},o.prototype.setState=function(i){var n="disabled",a=this.$element,g=a.is("input")?"val":"html",f=a.data();i+="Text",f.resetText==null&&a.data("resetText",a[g]()),setTimeout(e.proxy(function(){a[g](f[i]==null?this.options[i]:f[i]),i=="loadingText"?(this.isLoading=!0,a.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,a.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},o.prototype.toggle=function(){var i=!0,n=this.$element.closest('[data-toggle="buttons"]');if(n.length){var a=this.$element.find("input");a.prop("type")=="radio"?(a.prop("checked")&&(i=!1),n.find(".active").removeClass("active"),this.$element.addClass("active")):a.prop("type")=="checkbox"&&(a.prop("checked")!==this.$element.hasClass("active")&&(i=!1),this.$element.toggleClass("active")),a.prop("checked",this.$element.hasClass("active")),i&&a.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};function E(i){return this.each(function(){var n=e(this),a=n.data("bs.button"),g=typeof i=="object"&&i;a||n.data("bs.button",a=new o(this,g)),i=="toggle"?a.toggle():i&&a.setState(i)})}var A=e.fn.button;e.fn.button=E,e.fn.button.Constructor=o,e.fn.button.noConflict=function(){return e.fn.button=A,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var n=e(i.target).closest(".btn");E.call(n,"toggle"),e(i.target).is('input[type="radio"], input[type="checkbox"]')||(i.preventDefault(),n.is("input,button")?n.trigger("focus"):n.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(i){e(i.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(i.type))})}(jQuery);+function(e){"use strict";var o=function(n,a){this.$element=e(n),this.$indicators=this.$element.find(".carousel-indicators"),this.options=a,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),this.options.pause=="hover"&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};o.VERSION="3.4.1",o.TRANSITION_DURATION=600,o.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},o.prototype.keydown=function(n){if(!/input|textarea/i.test(n.target.tagName)){switch(n.which){case 37:this.prev();break;case 39:this.next();break;default:return}n.preventDefault()}},o.prototype.cycle=function(n){return n||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},o.prototype.getItemIndex=function(n){return this.$items=n.parent().children(".item"),this.$items.index(n||this.$active)},o.prototype.getItemForDirection=function(n,a){var g=this.getItemIndex(a),f=n=="prev"&&g===0||n=="next"&&g==this.$items.length-1;if(f&&!this.options.wrap)return a;var l=n=="prev"?-1:1,u=(g+l)%this.$items.length;return this.$items.eq(u)},o.prototype.to=function(n){var a=this,g=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1||n<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){a.to(n)}):g==n?this.pause().cycle():this.slide(n>g?"next":"prev",this.$items.eq(n))},o.prototype.pause=function(n){return n||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},o.prototype.next=function(){if(!this.sliding)return this.slide("next")},o.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},o.prototype.slide=function(n,a){var g=this.$element.find(".item.active"),f=a||this.getItemForDirection(n,g),l=this.interval,u=n=="next"?"left":"right",s=this;if(f.hasClass("active"))return this.sliding=!1;var d=f[0],p=e.Event("slide.bs.carousel",{relatedTarget:d,direction:u});if(this.$element.trigger(p),!p.isDefaultPrevented()){if(this.sliding=!0,l&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var y=e(this.$indicators.children()[this.getItemIndex(f)]);y&&y.addClass("active")}var t=e.Event("slid.bs.carousel",{relatedTarget:d,direction:u});return e.support.transition&&this.$element.hasClass("slide")?(f.addClass(n),typeof f=="object"&&f.length&&f[0].offsetWidth,g.addClass(u),f.addClass(u),g.one("bsTransitionEnd",function(){f.removeClass([n,u].join(" ")).addClass("active"),g.removeClass(["active",u].join(" ")),s.sliding=!1,setTimeout(function(){s.$element.trigger(t)},0)}).emulateTransitionEnd(o.TRANSITION_DURATION)):(g.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(t)),l&&this.cycle(),this}};function E(n){return this.each(function(){var a=e(this),g=a.data("bs.carousel"),f=e.extend({},o.DEFAULTS,a.data(),typeof n=="object"&&n),l=typeof n=="string"?n:f.slide;g||a.data("bs.carousel",g=new o(this,f)),typeof n=="number"?g.to(n):l?g[l]():f.interval&&g.pause().cycle()})}var A=e.fn.carousel;e.fn.carousel=E,e.fn.carousel.Constructor=o,e.fn.carousel.noConflict=function(){return e.fn.carousel=A,this};var i=function(n){var a=e(this),g=a.attr("href");g&&(g=g.replace(/.*(?=#[^\s]+$)/,""));var f=a.attr("data-target")||g,l=e(document).find(f);if(!!l.hasClass("carousel")){var u=e.extend({},l.data(),a.data()),s=a.attr("data-slide-to");s&&(u.interval=!1),E.call(l,u),s&&l.data("bs.carousel").to(s),n.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var n=e(this);E.call(n,n.data())})})}(jQuery);+function(e){"use strict";var o=function(n,a){this.$element=e(n),this.options=e.extend({},o.DEFAULTS,a),this.$trigger=e('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};o.VERSION="3.4.1",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"},o.prototype.show=function(){if(!(this.transitioning||this.$element.hasClass("in"))){var n,a=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(a&&a.length&&(n=a.data("bs.collapse"),n&&n.transitioning))){var g=e.Event("show.bs.collapse");if(this.$element.trigger(g),!g.isDefaultPrevented()){a&&a.length&&(A.call(a,"hide"),n||a.data("bs.collapse",null));var f=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[f](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var l=function(){this.$element.removeClass("collapsing").addClass("collapse in")[f](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return l.call(this);var u=e.camelCase(["scroll",f].join("-"));this.$element.one("bsTransitionEnd",e.proxy(l,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[f](this.$element[0][u])}}}},o.prototype.hide=function(){if(!(this.transitioning||!this.$element.hasClass("in"))){var n=e.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var a=this.dimension();this.$element[a](this.$element[a]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var g=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return g.call(this);this.$element[a](0).one("bsTransitionEnd",e.proxy(g,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return e(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,a){var g=e(a);this.addAriaAndCollapsedClass(E(g),g)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(n,a){var g=n.hasClass("in");n.attr("aria-expanded",g),a.toggleClass("collapsed",!g).attr("aria-expanded",g)};function E(n){var a,g=n.attr("data-target")||(a=n.attr("href"))&&a.replace(/.*(?=#[^\s]+$)/,"");return e(document).find(g)}function A(n){return this.each(function(){var a=e(this),g=a.data("bs.collapse"),f=e.extend({},o.DEFAULTS,a.data(),typeof n=="object"&&n);!g&&f.toggle&&/show|hide/.test(n)&&(f.toggle=!1),g||a.data("bs.collapse",g=new o(this,f)),typeof n=="string"&&g[n]()})}var i=e.fn.collapse;e.fn.collapse=A,e.fn.collapse.Constructor=o,e.fn.collapse.noConflict=function(){return e.fn.collapse=i,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(n){var a=e(this);a.attr("data-target")||n.preventDefault();var g=E(a),f=g.data("bs.collapse"),l=f?"toggle":a.data();A.call(g,l)})}(jQuery);+function(e){"use strict";var o=".dropdown-backdrop",E='[data-toggle="dropdown"]',A=function(f){e(f).on("click.bs.dropdown",this.toggle)};A.VERSION="3.4.1";function i(f){var l=f.attr("data-target");l||(l=f.attr("href"),l=l&&/#[A-Za-z]/.test(l)&&l.replace(/.*(?=#[^\s]*$)/,""));var u=l!=="#"?e(document).find(l):null;return u&&u.length?u:f.parent()}function n(f){f&&f.which===3||(e(o).remove(),e(E).each(function(){var l=e(this),u=i(l),s={relatedTarget:this};!u.hasClass("open")||f&&f.type=="click"&&/input|textarea/i.test(f.target.tagName)&&e.contains(u[0],f.target)||(u.trigger(f=e.Event("hide.bs.dropdown",s)),!f.isDefaultPrevented()&&(l.attr("aria-expanded","false"),u.removeClass("open").trigger(e.Event("hidden.bs.dropdown",s))))}))}A.prototype.toggle=function(f){var l=e(this);if(!l.is(".disabled, :disabled")){var u=i(l),s=u.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!u.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",n);var d={relatedTarget:this};if(u.trigger(f=e.Event("show.bs.dropdown",d)),f.isDefaultPrevented())return;l.trigger("focus").attr("aria-expanded","true"),u.toggleClass("open").trigger(e.Event("shown.bs.dropdown",d))}return!1}},A.prototype.keydown=function(f){if(!(!/(38|40|27|32)/.test(f.which)||/input|textarea/i.test(f.target.tagName))){var l=e(this);if(f.preventDefault(),f.stopPropagation(),!l.is(".disabled, :disabled")){var u=i(l),s=u.hasClass("open");if(!s&&f.which!=27||s&&f.which==27)return f.which==27&&u.find(E).trigger("focus"),l.trigger("click");var d=" li:not(.disabled):visible a",p=u.find(".dropdown-menu"+d);if(!!p.length){var y=p.index(f.target);f.which==38&&y>0&&y--,f.which==40&&y<p.length-1&&y++,~y||(y=0),p.eq(y).trigger("focus")}}}};function a(f){return this.each(function(){var l=e(this),u=l.data("bs.dropdown");u||l.data("bs.dropdown",u=new A(this)),typeof f=="string"&&u[f].call(l)})}var g=e.fn.dropdown;e.fn.dropdown=a,e.fn.dropdown.Constructor=A,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=g,this},e(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(f){f.stopPropagation()}).on("click.bs.dropdown.data-api",E,A.prototype.toggle).on("keydown.bs.dropdown.data-api",E,A.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",A.prototype.keydown)}(jQuery);+function(e){"use strict";var o=function(i,n){this.options=n,this.$body=e(document.body),this.$element=e(i),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};o.VERSION="3.4.1",o.TRANSITION_DURATION=300,o.BACKDROP_TRANSITION_DURATION=150,o.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},o.prototype.toggle=function(i){return this.isShown?this.hide():this.show(i)},o.prototype.show=function(i){var n=this,a=e.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(a),!(this.isShown||a.isDefaultPrevented())&&(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(g){e(g.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var g=e.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),g&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus();var f=e.Event("shown.bs.modal",{relatedTarget:i});g?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(o.TRANSITION_DURATION):n.$element.trigger("focus").trigger(f)}))},o.prototype.hide=function(i){i&&i.preventDefault(),i=e.Event("hide.bs.modal"),this.$element.trigger(i),!(!this.isShown||i.isDefaultPrevented())&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(o.TRANSITION_DURATION):this.hideModal())},o.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(i){document!==i.target&&this.$element[0]!==i.target&&!this.$element.has(i.target).length&&this.$element.trigger("focus")},this))},o.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(i){i.which==27&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},o.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},o.prototype.hideModal=function(){var i=this;this.$element.hide(),this.backdrop(function(){i.$body.removeClass("modal-open"),i.resetAdjustments(),i.resetScrollbar(),i.$element.trigger("hidden.bs.modal")})},o.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},o.prototype.backdrop=function(i){var n=this,a=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var g=e.support.transition&&a;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+a).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(l){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}l.target===l.currentTarget&&(this.options.backdrop=="static"?this.$element[0].focus():this.hide())},this)),g&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;g?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var f=function(){n.removeBackdrop(),i&&i()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",f).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):f()}else i&&i()},o.prototype.handleUpdate=function(){this.adjustDialog()},o.prototype.adjustDialog=function(){var i=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&i?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!i?this.scrollbarWidth:""})},o.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},o.prototype.checkScrollbar=function(){var i=window.innerWidth;if(!i){var n=document.documentElement.getBoundingClientRect();i=n.right-Math.abs(n.left)}this.bodyIsOverflowing=document.body.clientWidth<i,this.scrollbarWidth=this.measureScrollbar()},o.prototype.setScrollbar=function(){var i=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",i+n),e(this.fixedContent).each(function(a,g){var f=g.style.paddingRight,l=e(g).css("padding-right");e(g).data("padding-right",f).css("padding-right",parseFloat(l)+n+"px")}))},o.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),e(this.fixedContent).each(function(i,n){var a=e(n).data("padding-right");e(n).removeData("padding-right"),n.style.paddingRight=a||""})},o.prototype.measureScrollbar=function(){var i=document.createElement("div");i.className="modal-scrollbar-measure",this.$body.append(i);var n=i.offsetWidth-i.clientWidth;return this.$body[0].removeChild(i),n};function E(i,n){return this.each(function(){var a=e(this),g=a.data("bs.modal"),f=e.extend({},o.DEFAULTS,a.data(),typeof i=="object"&&i);g||a.data("bs.modal",g=new o(this,f)),typeof i=="string"?g[i](n):f.show&&g.show(n)})}var A=e.fn.modal;e.fn.modal=E,e.fn.modal.Constructor=o,e.fn.modal.noConflict=function(){return e.fn.modal=A,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(i){var n=e(this),a=n.attr("href"),g=n.attr("data-target")||a&&a.replace(/.*(?=#[^\s]+$)/,""),f=e(document).find(g),l=f.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(a)&&a},f.data(),n.data());n.is("a")&&i.preventDefault(),f.one("show.bs.modal",function(u){u.isDefaultPrevented()||f.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),E.call(f,l,this)})}(jQuery);+function(e){"use strict";var o=["sanitize","whiteList","sanitizeFn"],E=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],A=/^aria-[\w-]*$/i,i={"*":["class","dir","id","lang","role",A],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,a=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function g(d,p){var y=d.nodeName.toLowerCase();if(e.inArray(y,p)!==-1)return e.inArray(y,E)!==-1?Boolean(d.nodeValue.match(n)||d.nodeValue.match(a)):!0;for(var t=e(p).filter(function(w,S){return S instanceof RegExp}),I=0,v=t.length;I<v;I++)if(y.match(t[I]))return!0;return!1}function f(d,p,y){if(d.length===0)return d;if(y&&typeof y=="function")return y(d);if(!document.implementation||!document.implementation.createHTMLDocument)return d;var t=document.implementation.createHTMLDocument("sanitization");t.body.innerHTML=d;for(var I=e.map(p,function(T,M){return M}),v=e(t.body).find("*"),w=0,S=v.length;w<S;w++){var r=v[w],c=r.nodeName.toLowerCase();if(e.inArray(c,I)===-1){r.parentNode.removeChild(r);continue}for(var h=e.map(r.attributes,function(T){return T}),b=[].concat(p["*"]||[],p[c]||[]),m=0,x=h.length;m<x;m++)g(h[m],b)||r.removeAttribute(h[m].nodeName)}return t.body.innerHTML}var l=function(d,p){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",d,p)};l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:i},l.prototype.init=function(d,p,y){if(this.enabled=!0,this.type=d,this.$element=e(p),this.options=this.getOptions(y),this.$viewport=this.options.viewport&&e(document).find(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var t=this.options.trigger.split(" "),I=t.length;I--;){var v=t[I];if(v=="click")this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if(v!="manual"){var w=v=="hover"?"mouseenter":"focusin",S=v=="hover"?"mouseleave":"focusout";this.$element.on(w+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(S+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(d){var p=this.$element.data();for(var y in p)p.hasOwnProperty(y)&&e.inArray(y,o)!==-1&&delete p[y];return d=e.extend({},this.getDefaults(),p,d),d.delay&&typeof d.delay=="number"&&(d.delay={show:d.delay,hide:d.delay}),d.sanitize&&(d.template=f(d.template,d.whiteList,d.sanitizeFn)),d},l.prototype.getDelegateOptions=function(){var d={},p=this.getDefaults();return this._options&&e.each(this._options,function(y,t){p[y]!=t&&(d[y]=t)}),d},l.prototype.enter=function(d){var p=d instanceof this.constructor?d:e(d.currentTarget).data("bs."+this.type);if(p||(p=new this.constructor(d.currentTarget,this.getDelegateOptions()),e(d.currentTarget).data("bs."+this.type,p)),d instanceof e.Event&&(p.inState[d.type=="focusin"?"focus":"hover"]=!0),p.tip().hasClass("in")||p.hoverState=="in"){p.hoverState="in";return}if(clearTimeout(p.timeout),p.hoverState="in",!p.options.delay||!p.options.delay.show)return p.show();p.timeout=setTimeout(function(){p.hoverState=="in"&&p.show()},p.options.delay.show)},l.prototype.isInStateTrue=function(){for(var d in this.inState)if(this.inState[d])return!0;return!1},l.prototype.leave=function(d){var p=d instanceof this.constructor?d:e(d.currentTarget).data("bs."+this.type);if(p||(p=new this.constructor(d.currentTarget,this.getDelegateOptions()),e(d.currentTarget).data("bs."+this.type,p)),d instanceof e.Event&&(p.inState[d.type=="focusout"?"focus":"hover"]=!1),!p.isInStateTrue()){if(clearTimeout(p.timeout),p.hoverState="out",!p.options.delay||!p.options.delay.hide)return p.hide();p.timeout=setTimeout(function(){p.hoverState=="out"&&p.hide()},p.options.delay.hide)}},l.prototype.show=function(){var d=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(d);var p=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(d.isDefaultPrevented()||!p)return;var y=this,t=this.tip(),I=this.getUID(this.type);this.setContent(),t.attr("id",I),this.$element.attr("aria-describedby",I),this.options.animation&&t.addClass("fade");var v=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,w=/\s?auto?\s?/i,S=w.test(v);S&&(v=v.replace(w,"")||"top"),t.detach().css({top:0,left:0,display:"block"}).addClass(v).data("bs."+this.type,this),this.options.container?t.appendTo(e(document).find(this.options.container)):t.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var r=this.getPosition(),c=t[0].offsetWidth,h=t[0].offsetHeight;if(S){var b=v,m=this.getPosition(this.$viewport);v=v=="bottom"&&r.bottom+h>m.bottom?"top":v=="top"&&r.top-h<m.top?"bottom":v=="right"&&r.right+c>m.width?"left":v=="left"&&r.left-c<m.left?"right":v,t.removeClass(b).addClass(v)}var x=this.getCalculatedOffset(v,r,c,h);this.applyPlacement(x,v);var T=function(){var M=y.hoverState;y.$element.trigger("shown.bs."+y.type),y.hoverState=null,M=="out"&&y.leave(y)};e.support.transition&&this.$tip.hasClass("fade")?t.one("bsTransitionEnd",T).emulateTransitionEnd(l.TRANSITION_DURATION):T()}},l.prototype.applyPlacement=function(d,p){var y=this.tip(),t=y[0].offsetWidth,I=y[0].offsetHeight,v=parseInt(y.css("margin-top"),10),w=parseInt(y.css("margin-left"),10);isNaN(v)&&(v=0),isNaN(w)&&(w=0),d.top+=v,d.left+=w,e.offset.setOffset(y[0],e.extend({using:function(x){y.css({top:Math.round(x.top),left:Math.round(x.left)})}},d),0),y.addClass("in");var S=y[0].offsetWidth,r=y[0].offsetHeight;p=="top"&&r!=I&&(d.top=d.top+I-r);var c=this.getViewportAdjustedDelta(p,d,S,r);c.left?d.left+=c.left:d.top+=c.top;var h=/top|bottom/.test(p),b=h?c.left*2-t+S:c.top*2-I+r,m=h?"offsetWidth":"offsetHeight";y.offset(d),this.replaceArrow(b,y[0][m],h)},l.prototype.replaceArrow=function(d,p,y){this.arrow().css(y?"left":"top",50*(1-d/p)+"%").css(y?"top":"left","")},l.prototype.setContent=function(){var d=this.tip(),p=this.getTitle();this.options.html?(this.options.sanitize&&(p=f(p,this.options.whiteList,this.options.sanitizeFn)),d.find(".tooltip-inner").html(p)):d.find(".tooltip-inner").text(p),d.removeClass("fade in top bottom left right")},l.prototype.hide=function(d){var p=this,y=e(this.$tip),t=e.Event("hide.bs."+this.type);function I(){p.hoverState!="in"&&y.detach(),p.$element&&p.$element.removeAttr("aria-describedby").trigger("hidden.bs."+p.type),d&&d()}if(this.$element.trigger(t),!t.isDefaultPrevented())return y.removeClass("in"),e.support.transition&&y.hasClass("fade")?y.one("bsTransitionEnd",I).emulateTransitionEnd(l.TRANSITION_DURATION):I(),this.hoverState=null,this},l.prototype.fixTitle=function(){var d=this.$element;(d.attr("title")||typeof d.attr("data-original-title")!="string")&&d.attr("data-original-title",d.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(d){d=d||this.$element;var p=d[0],y=p.tagName=="BODY",t=p.getBoundingClientRect();t.width==null&&(t=e.extend({},t,{width:t.right-t.left,height:t.bottom-t.top}));var I=window.SVGElement&&p instanceof window.SVGElement,v=y?{top:0,left:0}:I?null:d.offset(),w={scroll:y?document.documentElement.scrollTop||document.body.scrollTop:d.scrollTop()},S=y?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},t,w,S,v)},l.prototype.getCalculatedOffset=function(d,p,y,t){return d=="bottom"?{top:p.top+p.height,left:p.left+p.width/2-y/2}:d=="top"?{top:p.top-t,left:p.left+p.width/2-y/2}:d=="left"?{top:p.top+p.height/2-t/2,left:p.left-y}:{top:p.top+p.height/2-t/2,left:p.left+p.width}},l.prototype.getViewportAdjustedDelta=function(d,p,y,t){var I={top:0,left:0};if(!this.$viewport)return I;var v=this.options.viewport&&this.options.viewport.padding||0,w=this.getPosition(this.$viewport);if(/right|left/.test(d)){var S=p.top-v-w.scroll,r=p.top+v-w.scroll+t;S<w.top?I.top=w.top-S:r>w.top+w.height&&(I.top=w.top+w.height-r)}else{var c=p.left-v,h=p.left+v+y;c<w.left?I.left=w.left-c:h>w.right&&(I.left=w.left+w.width-h)}return I},l.prototype.getTitle=function(){var d,p=this.$element,y=this.options;return d=p.attr("data-original-title")||(typeof y.title=="function"?y.title.call(p[0]):y.title),d},l.prototype.getUID=function(d){do d+=~~(Math.random()*1e6);while(document.getElementById(d));return d},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(d){var p=this;d&&(p=e(d.currentTarget).data("bs."+this.type),p||(p=new this.constructor(d.currentTarget,this.getDelegateOptions()),e(d.currentTarget).data("bs."+this.type,p))),d?(p.inState.click=!p.inState.click,p.isInStateTrue()?p.enter(p):p.leave(p)):p.tip().hasClass("in")?p.leave(p):p.enter(p)},l.prototype.destroy=function(){var d=this;clearTimeout(this.timeout),this.hide(function(){d.$element.off("."+d.type).removeData("bs."+d.type),d.$tip&&d.$tip.detach(),d.$tip=null,d.$arrow=null,d.$viewport=null,d.$element=null})},l.prototype.sanitizeHtml=function(d){return f(d,this.options.whiteList,this.options.sanitizeFn)};function u(d){return this.each(function(){var p=e(this),y=p.data("bs.tooltip"),t=typeof d=="object"&&d;!y&&/destroy|hide/.test(d)||(y||p.data("bs.tooltip",y=new l(this,t)),typeof d=="string"&&y[d]())})}var s=e.fn.tooltip;e.fn.tooltip=u,e.fn.tooltip.Constructor=l,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=s,this}}(jQuery);+function(e){"use strict";var o=function(i,n){this.init("popover",i,n)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");o.VERSION="3.4.1",o.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),o.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),o.prototype.constructor=o,o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var i=this.tip(),n=this.getTitle(),a=this.getContent();if(this.options.html){var g=typeof a;this.options.sanitize&&(n=this.sanitizeHtml(n),g==="string"&&(a=this.sanitizeHtml(a))),i.find(".popover-title").html(n),i.find(".popover-content").children().detach().end()[g==="string"?"html":"append"](a)}else i.find(".popover-title").text(n),i.find(".popover-content").children().detach().end().text(a);i.removeClass("fade top bottom left right in"),i.find(".popover-title").html()||i.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var i=this.$element,n=this.options;return i.attr("data-content")||(typeof n.content=="function"?n.content.call(i[0]):n.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function E(i){return this.each(function(){var n=e(this),a=n.data("bs.popover"),g=typeof i=="object"&&i;!a&&/destroy|hide/.test(i)||(a||n.data("bs.popover",a=new o(this,g)),typeof i=="string"&&a[i]())})}var A=e.fn.popover;e.fn.popover=E,e.fn.popover.Constructor=o,e.fn.popover.noConflict=function(){return e.fn.popover=A,this}}(jQuery);+function(e){"use strict";function o(i,n){this.$body=e(document.body),this.$scrollElement=e(i).is(document.body)?e(window):e(i),this.options=e.extend({},o.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}o.VERSION="3.4.1",o.DEFAULTS={offset:10},o.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},o.prototype.refresh=function(){var i=this,n="offset",a=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",a=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var g=e(this),f=g.data("target")||g.attr("href"),l=/^#./.test(f)&&e(f);return l&&l.length&&l.is(":visible")&&[[l[n]().top+a,f]]||null}).sort(function(g,f){return g[0]-f[0]}).each(function(){i.offsets.push(this[0]),i.targets.push(this[1])})},o.prototype.process=function(){var i=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),a=this.options.offset+n-this.$scrollElement.height(),g=this.offsets,f=this.targets,l=this.activeTarget,u;if(this.scrollHeight!=n&&this.refresh(),i>=a)return l!=(u=f[f.length-1])&&this.activate(u);if(l&&i<g[0])return this.activeTarget=null,this.clear();for(u=g.length;u--;)l!=f[u]&&i>=g[u]&&(g[u+1]===void 0||i<g[u+1])&&this.activate(f[u])},o.prototype.activate=function(i){this.activeTarget=i,this.clear();var n=this.selector+'[data-target="'+i+'"],'+this.selector+'[href="'+i+'"]',a=e(n).parents("li").addClass("active");a.parent(".dropdown-menu").length&&(a=a.closest("li.dropdown").addClass("active")),a.trigger("activate.bs.scrollspy")},o.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};function E(i){return this.each(function(){var n=e(this),a=n.data("bs.scrollspy"),g=typeof i=="object"&&i;a||n.data("bs.scrollspy",a=new o(this,g)),typeof i=="string"&&a[i]()})}var A=e.fn.scrollspy;e.fn.scrollspy=E,e.fn.scrollspy.Constructor=o,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=A,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var i=e(this);E.call(i,i.data())})})}(jQuery);+function(e){"use strict";var o=function(n){this.element=e(n)};o.VERSION="3.4.1",o.TRANSITION_DURATION=150,o.prototype.show=function(){var n=this.element,a=n.closest("ul:not(.dropdown-menu)"),g=n.data("target");if(g||(g=n.attr("href"),g=g&&g.replace(/.*(?=#[^\s]*$)/,"")),!n.parent("li").hasClass("active")){var f=a.find(".active:last a"),l=e.Event("hide.bs.tab",{relatedTarget:n[0]}),u=e.Event("show.bs.tab",{relatedTarget:f[0]});if(f.trigger(l),n.trigger(u),!(u.isDefaultPrevented()||l.isDefaultPrevented())){var s=e(document).find(g);this.activate(n.closest("li"),a),this.activate(s,s.parent(),function(){f.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:f[0]})})}}},o.prototype.activate=function(n,a,g){var f=a.find("> .active"),l=g&&e.support.transition&&(f.length&&f.hasClass("fade")||!!a.find("> .fade").length);function u(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),l?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),g&&g()}f.length&&l?f.one("bsTransitionEnd",u).emulateTransitionEnd(o.TRANSITION_DURATION):u(),f.removeClass("in")};function E(n){return this.each(function(){var a=e(this),g=a.data("bs.tab");g||a.data("bs.tab",g=new o(this)),typeof n=="string"&&g[n]()})}var A=e.fn.tab;e.fn.tab=E,e.fn.tab.Constructor=o,e.fn.tab.noConflict=function(){return e.fn.tab=A,this};var i=function(n){n.preventDefault(),E.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery);+function(e){"use strict";var o=function(i,n){this.options=e.extend({},o.DEFAULTS,n);var a=this.options.target===o.DEFAULTS.target?e(this.options.target):e(document).find(this.options.target);this.$target=a.on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(i),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};o.VERSION="3.4.1",o.RESET="affix affix-top affix-bottom",o.DEFAULTS={offset:0,target:window},o.prototype.getState=function(i,n,a,g){var f=this.$target.scrollTop(),l=this.$element.offset(),u=this.$target.height();if(a!=null&&this.affixed=="top")return f<a?"top":!1;if(this.affixed=="bottom")return a!=null?f+this.unpin<=l.top?!1:"bottom":f+u<=i-g?!1:"bottom";var s=this.affixed==null,d=s?f:l.top,p=s?u:n;return a!=null&&f<=a?"top":g!=null&&d+p>=i-g?"bottom":!1},o.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(o.RESET).addClass("affix");var i=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-i},o.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},o.prototype.checkPosition=function(){if(!!this.$element.is(":visible")){var i=this.$element.height(),n=this.options.offset,a=n.top,g=n.bottom,f=Math.max(e(document).height(),e(document.body).height());typeof n!="object"&&(g=a=n),typeof a=="function"&&(a=n.top(this.$element)),typeof g=="function"&&(g=n.bottom(this.$element));var l=this.getState(f,i,a,g);if(this.affixed!=l){this.unpin!=null&&this.$element.css("top","");var u="affix"+(l?"-"+l:""),s=e.Event(u+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=l,this.unpin=l=="bottom"?this.getPinnedOffset():null,this.$element.removeClass(o.RESET).addClass(u).trigger(u.replace("affix","affixed")+".bs.affix")}l=="bottom"&&this.$element.offset({top:f-i-g})}};function E(i){return this.each(function(){var n=e(this),a=n.data("bs.affix"),g=typeof i=="object"&&i;a||n.data("bs.affix",a=new o(this,g)),typeof i=="string"&&a[i]()})}var A=e.fn.affix;e.fn.affix=E,e.fn.affix.Constructor=o,e.fn.affix.noConflict=function(){return e.fn.affix=A,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var i=e(this),n=i.data();n.offset=n.offset||{},n.offsetBottom!=null&&(n.offset.bottom=n.offsetBottom),n.offsetTop!=null&&(n.offset.top=n.offsetTop),E.call(i,n)})})}(jQuery);var St=Fe(pt()),Ut=Fe(ht()),jt=Fe(Ne());(function(){"use strict";var e={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,COMMAND:91,MAP:{91:"COMMAND",8:"BACKSPACE",9:"TAB",13:"ENTER",16:"SHIFT",17:"CTRL",18:"ALT",19:"PAUSEBREAK",20:"CAPSLOCK",27:"ESC",32:"SPACE",33:"PAGE_UP",34:"PAGE_DOWN",35:"END",36:"HOME",37:"LEFT",38:"UP",39:"RIGHT",40:"DOWN",43:"+",44:"PRINTSCREEN",45:"INSERT",46:"DELETE",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NUMLOCK",145:"SCROLLLOCK",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},isControl:function(i){var n=i.which;switch(n){case e.COMMAND:case e.SHIFT:case e.CTRL:case e.ALT:return!0}return!!(i.metaKey||i.ctrlKey||i.altKey)},isFunctionKey:function(i){return i=i.which?i.which:i,i>=112&&i<=123},isVerticalMovement:function(i){return~[e.UP,e.DOWN].indexOf(i)},isHorizontalMovement:function(i){return~[e.LEFT,e.RIGHT,e.BACKSPACE,e.DELETE].indexOf(i)},toSeparator:function(i){var n={ENTER:`
`,TAB:"	",SPACE:" "}[i];return n||(e[i]?void 0:i)}};function o(i){return angular.isUndefined(i)||i===null}angular.element.prototype.querySelectorAll===void 0&&(angular.element.prototype.querySelectorAll=function(i){return angular.element(this[0].querySelectorAll(i))}),angular.element.prototype.closest===void 0&&(angular.element.prototype.closest=function(i){for(var n=this[0],a=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;n;){if(a.bind(n)(i))return n;n=n.parentElement}return!1});var E=0,A=angular.module("ui.select",[]).constant("uiSelectConfig",{theme:"bootstrap",searchEnabled:!0,sortable:!1,placeholder:"",refreshDelay:1e3,closeOnSelect:!0,skipFocusser:!1,dropdownPosition:"auto",removeSelected:!0,resetSearchInput:!0,generateId:function(){return E++},appendToBody:!1,spinnerEnabled:!1,spinnerClass:"glyphicon glyphicon-refresh ui-select-spin",backspaceReset:!0}).service("uiSelectMinErr",function(){var i=angular.$$minErr("ui.select");return function(){var n=i.apply(this,arguments),a=n.message.replace(new RegExp(`
http://errors.angularjs.org/.*`),"");return new Error(a)}}).directive("uisTranscludeAppend",function(){return{link:function(i,n,a,g,f){f(i,function(l){n.append(l)})}}}).filter("highlight",function(){function i(n){return(""+n).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(n,a){return a&&n?(""+n).replace(new RegExp(i(a),"gi"),'<span class="ui-select-highlight">$&</span>'):n}}).factory("uisOffset",["$document","$window",function(i,n){return function(a){var g=a[0].getBoundingClientRect();return{width:g.width||a.prop("offsetWidth"),height:g.height||a.prop("offsetHeight"),top:g.top+(n.pageYOffset||i[0].documentElement.scrollTop),left:g.left+(n.pageXOffset||i[0].documentElement.scrollLeft)}}}]);A.directive("uiSelectChoices",["uiSelectConfig","uisRepeatParser","uiSelectMinErr","$compile","$window",function(i,n,a,g,f){return{restrict:"EA",require:"^uiSelect",replace:!0,transclude:!0,templateUrl:function(l){l.addClass("ui-select-choices");var u=l.parent().attr("theme")||i.theme;return u+"/choices.tpl.html"},compile:function(l,u){if(!u.repeat)throw a("repeat","Expected 'repeat' expression.");var s=u.groupBy,d=u.groupFilter;if(s){var p=l.querySelectorAll(".ui-select-choices-group");if(p.length!==1)throw a("rows","Expected 1 .ui-select-choices-group but got '{0}'.",p.length);p.attr("ng-repeat",n.getGroupNgRepeatExpression())}var y=n.parse(u.repeat),t=l.querySelectorAll(".ui-select-choices-row");if(t.length!==1)throw a("rows","Expected 1 .ui-select-choices-row but got '{0}'.",t.length);t.attr("ng-repeat",y.repeatExpression(s)).attr("ng-if","$select.open");var I=l.querySelectorAll(".ui-select-choices-row-inner");if(I.length!==1)throw a("rows","Expected 1 .ui-select-choices-row-inner but got '{0}'.",I.length);I.attr("uis-transclude-append","");var v=f.document.addEventListener?t:I;return v.attr("ng-click","$select.select("+y.itemName+",$select.skipFocusser,$event)"),function(S,r,c,h){h.parseRepeatAttr(c.repeat,s,d),h.disableChoiceExpression=c.uiDisableChoice,h.onHighlightCallback=c.onHighlight,h.minimumInputLength=parseInt(c.minimumInputLength)||0,h.dropdownPosition=c.position?c.position.toLowerCase():i.dropdownPosition,S.$watch("$select.search",function(b){b&&!h.open&&h.multiple&&h.activate(!1,!0),h.activeIndex=h.tagging.isActivated?-1:0,!c.minimumInputLength||h.search.length>=c.minimumInputLength?h.refresh(c.refresh):h.items=[]}),c.$observe("refreshDelay",function(){var b=S.$eval(c.refreshDelay);h.refreshDelay=b!==void 0?b:i.refreshDelay}),S.$watch("$select.open",function(b){b?(l.attr("role","listbox"),h.refresh(c.refresh)):r.removeAttr("role")})}}}}]),A.controller("uiSelectCtrl",["$scope","$element","$timeout","$filter","$$uisDebounce","uisRepeatParser","uiSelectMinErr","uiSelectConfig","$parse","$injector","$window",function(i,n,a,g,f,l,u,s,d,p,y){var t=this,I="";if(t.placeholder=s.placeholder,t.searchEnabled=s.searchEnabled,t.sortable=s.sortable,t.refreshDelay=s.refreshDelay,t.paste=s.paste,t.resetSearchInput=s.resetSearchInput,t.refreshing=!1,t.spinnerEnabled=s.spinnerEnabled,t.spinnerClass=s.spinnerClass,t.removeSelected=s.removeSelected,t.closeOnSelect=!0,t.skipFocusser=!1,t.search=I,t.activeIndex=0,t.items=[],t.open=!1,t.focus=!1,t.disabled=!1,t.selected=void 0,t.dropdownPosition="auto",t.focusser=void 0,t.multiple=void 0,t.disableChoiceExpression=void 0,t.tagging={isActivated:!1,fct:void 0},t.taggingTokens={isActivated:!1,tokens:void 0},t.lockChoiceExpression=void 0,t.clickTriggeredSelect=!1,t.$filter=g,t.$element=n,t.$animate=function(){try{return p.get("$animate")}catch($){return null}}(),t.searchInput=n.querySelectorAll("input.ui-select-search"),t.searchInput.length!==1)throw u("searchInput","Expected 1 input.ui-select-search but got '{0}'.",t.searchInput.length);t.isEmpty=function(){return o(t.selected)||t.selected===""||t.multiple&&t.selected.length===0};function v($,D,O){if($.findIndex)return $.findIndex(D,O);for(var C=Object($),k=C.length>>>0,z,H=0;H<k;H++)if(z=C[H],D.call(O,z,H,C))return H;return-1}function w(){t.resetSearchInput&&(t.search=I,t.selected&&t.items.length&&!t.multiple&&(t.activeIndex=v(t.items,function($){return angular.equals(this,$)},t.selected)))}function S($,D){var O,C,k=[];for(O=0;O<D.length;O++)for(C=0;C<$.length;C++)$[C].name==[D[O]]&&k.push($[C]);return k}t.activate=function($,D){if(!t.disabled&&!t.open){D||w(),i.$broadcast("uis:activate"),t.open=!0,t.activeIndex=t.activeIndex>=t.items.length?0:t.activeIndex,t.activeIndex===-1&&t.taggingLabel!==!1&&(t.activeIndex=0);var O=n.querySelectorAll(".ui-select-choices-content"),C=n.querySelectorAll(".ui-select-search");if(t.$animate&&t.$animate.on&&t.$animate.enabled(O[0])){var k=function(z,H){H==="start"&&t.items.length===0?(t.$animate.off("removeClass",C[0],k),a(function(){t.focusSearchInput($)})):H==="close"&&(t.$animate.off("enter",O[0],k),a(function(){t.focusSearchInput($)}))};t.items.length>0?t.$animate.on("enter",O[0],k):t.$animate.on("removeClass",C[0],k)}else a(function(){t.focusSearchInput($),!t.tagging.isActivated&&t.items.length>1&&W()})}else t.open&&!t.searchEnabled&&t.close()},t.focusSearchInput=function($){t.search=$||t.search,t.searchInput[0].focus()},t.findGroupByName=function($){return t.groups&&t.groups.filter(function(D){return D.name===$})[0]},t.parseRepeatAttr=function($,D,O){function C(B){var J=i.$eval(D);if(t.groups=[],angular.forEach(B,function(te){var oe=angular.isFunction(J)?J(te):te[J],le=t.findGroupByName(oe);le?le.items.push(te):t.groups.push({name:oe,items:[te]})}),O){var Z=i.$eval(O);angular.isFunction(Z)?t.groups=Z(t.groups):angular.isArray(Z)&&(t.groups=S(t.groups,Z))}t.items=[],t.groups.forEach(function(te){t.items=t.items.concat(te.items)})}function k(B){t.items=B||[]}t.setItemsFn=D?C:k,t.parserResult=l.parse($),t.isGrouped=!!D,t.itemProperty=t.parserResult.itemName;var z=t.parserResult.source,H=function(){var B=z(i);i.$uisSource=Object.keys(B).map(function(J){var Z={};return Z[t.parserResult.keyName]=J,Z.value=B[J],Z})};t.parserResult.keyName&&(H(),t.parserResult.source=d("$uisSource"+t.parserResult.filters),i.$watch(z,function(B,J){B!==J&&H()},!0)),t.refreshItems=function(B){B=B||t.parserResult.source(i);var J=t.selected;if(t.isEmpty()||angular.isArray(J)&&!J.length||!t.multiple||!t.removeSelected)t.setItemsFn(B);else if(B!=null){var Z=B.filter(function(te){return angular.isArray(J)?J.every(function(oe){return!angular.equals(te,oe)}):!angular.equals(te,J)});t.setItemsFn(Z)}(t.dropdownPosition==="auto"||t.dropdownPosition==="up")&&i.calculateDropdownPos(),i.$broadcast("uis:refresh")},i.$watchCollection(t.parserResult.source,function(B){if(B==null)t.items=[];else if(angular.isArray(B))t.refreshItems(B),angular.isDefined(t.ngModel.$modelValue)&&(t.ngModel.$modelValue=null);else throw u("items","Expected an array but got '{0}'.",B)})};var r;t.refresh=function($){$!==void 0&&(r&&a.cancel(r),r=a(function(){if(i.$select.search.length>=i.$select.minimumInputLength){var D=i.$eval($);D&&angular.isFunction(D.then)&&!t.refreshing&&(t.refreshing=!0,D.finally(function(){t.refreshing=!1}))}},t.refreshDelay))},t.isActive=function($){if(!t.open)return!1;var D=t.items.indexOf($[t.itemProperty]),O=D==t.activeIndex;return!O||D<0?!1:(O&&!angular.isUndefined(t.onHighlightCallback)&&$.$eval(t.onHighlightCallback),O)};var c=function($){return t.selected&&angular.isArray(t.selected)&&t.selected.filter(function(D){return angular.equals(D,$)}).length>0},h=[];function b($,D){var O=h.indexOf($);D&&O===-1&&h.push($),!D&&O>-1&&h.splice(O,1)}function m($){return h.indexOf($)>-1}t.isDisabled=function($){if(!!t.open){var D=$[t.itemProperty],O=t.items.indexOf(D),C=!1;if(O>=0&&(angular.isDefined(t.disableChoiceExpression)||t.multiple)){if(D.isTag)return!1;t.multiple&&(C=c(D)),!C&&angular.isDefined(t.disableChoiceExpression)&&(C=!!$.$eval(t.disableChoiceExpression)),b(D,C)}return C}},t.select=function($,D,O){if(o($)||!m($)){if(!t.items&&!t.search&&!t.tagging.isActivated)return;if(!$||!m($)){if(t.clickTriggeredSelect=!1,O&&(O.type==="click"||O.type==="touchend")&&$&&(t.clickTriggeredSelect=!0),t.tagging.isActivated&&t.clickTriggeredSelect===!1){if(t.taggingLabel===!1)if(t.activeIndex<0){if($===void 0&&($=t.tagging.fct!==void 0?t.tagging.fct(t.search):t.search),!$||angular.equals(t.items[0],$))return}else $=t.items[t.activeIndex];else if(t.activeIndex===0){if($===void 0)return;if(t.tagging.fct!==void 0&&typeof $=="string"){if($=t.tagging.fct($),!$)return}else typeof $=="string"&&($=$.replace(t.taggingLabel,"").trim())}if(c($)){t.close(D);return}}w(),i.$broadcast("uis:select",$),t.closeOnSelect&&t.close(D)}}},t.close=function($){!t.open||(t.ngModel&&t.ngModel.$setTouched&&t.ngModel.$setTouched(),t.open=!1,w(),i.$broadcast("uis:close",$))},t.setFocus=function(){t.focus||t.focusInput[0].focus()},t.clear=function($){t.select(null),$.stopPropagation(),a(function(){t.focusser[0].focus()},0,!1)},t.toggle=function($){t.open?(t.close(),$.preventDefault(),$.stopPropagation()):t.activate()},t.isLocked=function(){return!1},i.$watch(function(){return angular.isDefined(t.lockChoiceExpression)&&t.lockChoiceExpression!==""},x);function x($){if(!$)return;var D=[];function O(k,z){var H=D.indexOf(k);z&&H===-1&&D.push(k),!z&&H>-1&&D.splice(H,1)}function C(k){return D.indexOf(k)>-1}t.isLocked=function(k,z){var H=!1,B=t.selected[z];return B&&(k?(H=!!k.$eval(t.lockChoiceExpression),O(B,H)):H=C(B)),H}}var T=null,M=!1;t.sizeSearchInput=function(){var $=t.searchInput[0],D=t.$element[0],O=function(){return D.clientWidth*!!$.offsetParent},C=function(k){if(k===0)return!1;var z=k-$.offsetLeft;return z<50&&(z=k),t.searchInput.css("width",z+"px"),!0};t.searchInput.css("width","10px"),a(function(){T===null&&!C(O())&&(T=i.$watch(function(){M||(M=!0,i.$$postDigest(function(){M=!1,C(O())&&(T(),T=null)}))},angular.noop))})};function R($){var D=!0;switch($){case e.DOWN:if(!t.open&&t.multiple)t.activate(!1,!0);else if(t.activeIndex<t.items.length-1)for(var O=++t.activeIndex;m(t.items[O])&&O<t.items.length;)t.activeIndex=++O;break;case e.UP:var C=t.search.length===0&&t.tagging.isActivated?-1:0;if(!t.open&&t.multiple)t.activate(!1,!0);else if(t.activeIndex>C)for(var k=--t.activeIndex;m(t.items[k])&&k>C;)t.activeIndex=--k;break;case e.TAB:(!t.multiple||t.open)&&t.select(t.items[t.activeIndex],!0);break;case e.ENTER:t.open&&(t.tagging.isActivated||t.activeIndex>=0)?t.select(t.items[t.activeIndex],t.skipFocusser):t.activate(!1,!0);break;case e.ESC:t.close();break;default:D=!1}return D}t.searchInput.on("keydown",function($){var D=$.which;~[e.ENTER,e.ESC].indexOf(D)&&($.preventDefault(),$.stopPropagation()),i.$apply(function(){var O=!1;if((t.items.length>0||t.tagging.isActivated)&&(!R(D)&&!t.searchEnabled&&($.preventDefault(),$.stopPropagation()),t.taggingTokens.isActivated)){for(var C=0;C<t.taggingTokens.tokens.length;C++)t.taggingTokens.tokens[C]===e.MAP[$.keyCode]&&t.search.length>0&&(O=!0);O&&a(function(){t.searchInput.triggerHandler("tagged");var k=t.search.replace(e.MAP[$.keyCode],"").trim();t.tagging.fct&&(k=t.tagging.fct(k)),k&&t.select(k,!0)})}}),e.isVerticalMovement(D)&&t.items.length>0&&W(),(D===e.ENTER||D===e.ESC)&&($.preventDefault(),$.stopPropagation())}),t.searchInput.on("paste",function($){var D;if(window.clipboardData&&window.clipboardData.getData?D=window.clipboardData.getData("Text"):D=($.originalEvent||$).clipboardData.getData("text/plain"),D=t.search+D,D&&D.length>0)if(t.taggingTokens.isActivated){for(var O=[],C=0;C<t.taggingTokens.tokens.length;C++){var k=e.toSeparator(t.taggingTokens.tokens[C])||t.taggingTokens.tokens[C];if(D.indexOf(k)>-1){O=D.split(k);break}}O.length===0&&(O=[D]);var z=t.search;angular.forEach(O,function(H){var B=t.tagging.fct?t.tagging.fct(H):H;B&&t.select(B,!0)}),t.search=z||I,$.preventDefault(),$.stopPropagation()}else t.paste&&(t.paste(D),t.search=I,$.preventDefault(),$.stopPropagation())}),t.searchInput.on("tagged",function(){a(function(){w()})});function W(){var $=n.querySelectorAll(".ui-select-choices-content"),D=$.querySelectorAll(".ui-select-choices-row");if(D.length<1)throw u("choices","Expected multiple .ui-select-choices-row but got '{0}'.",D.length);if(!(t.activeIndex<0)){var O=D[t.activeIndex],C=O.offsetTop+O.clientHeight-$[0].scrollTop,k=$[0].offsetHeight;C>k?$[0].scrollTop+=C-k:C<O.clientHeight&&(t.isGrouped&&t.activeIndex===0?$[0].scrollTop=0:$[0].scrollTop-=O.clientHeight-C)}}var L=f(function(){t.sizeSearchInput()},50);angular.element(y).bind("resize",L),i.$on("$destroy",function(){t.searchInput.off("keyup keydown tagged blur paste"),angular.element(y).off("resize",L)}),i.$watch("$select.activeIndex",function($){$&&n.find("input").attr("aria-activedescendant","ui-select-choices-row-"+t.generatedId+"-"+$)}),i.$watch("$select.open",function($){$||n.find("input").removeAttr("aria-activedescendant")})}]),A.directive("uiSelect",["$document","uiSelectConfig","uiSelectMinErr","uisOffset","$compile","$parse","$timeout",function(i,n,a,g,f,l,u){return{restrict:"EA",templateUrl:function(s,d){var p=d.theme||n.theme;return p+(angular.isDefined(d.multiple)?"/select-multiple.tpl.html":"/select.tpl.html")},replace:!0,transclude:!0,require:["uiSelect","^ngModel"],scope:!0,controller:"uiSelectCtrl",controllerAs:"$select",compile:function(s,d){var p=/{(.*)}\s*{(.*)}/.exec(d.ngClass);if(p){var y="{"+p[1]+", "+p[2]+"}";d.ngClass=y,s.attr("ng-class",y)}return angular.isDefined(d.multiple)?s.append("<ui-select-multiple/>").removeAttr("multiple"):s.append("<ui-select-single/>"),d.inputId&&(s.querySelectorAll("input.ui-select-search")[0].id=d.inputId),function(t,I,v,w,S){var r=w[0],c=w[1];r.generatedId=n.generateId(),r.baseTitle=v.title||"Select box",r.focusserTitle=r.baseTitle+" focus",r.focusserId="focusser-"+r.generatedId,r.closeOnSelect=function(){return angular.isDefined(v.closeOnSelect)?l(v.closeOnSelect)():n.closeOnSelect}(),t.$watch("skipFocusser",function(){var C=t.$eval(v.skipFocusser);r.skipFocusser=C!==void 0?C:n.skipFocusser}),r.onSelectCallback=l(v.onSelect),r.onRemoveCallback=l(v.onRemove),r.ngModel=c,r.choiceGrouped=function(C){return r.isGrouped&&C&&C.name},v.tabindex&&v.$observe("tabindex",function(C){r.focusInput.attr("tabindex",C),I.removeAttr("tabindex")}),t.$watch(function(){return t.$eval(v.searchEnabled)},function(C){r.searchEnabled=C!==void 0?C:n.searchEnabled}),t.$watch("sortable",function(){var C=t.$eval(v.sortable);r.sortable=C!==void 0?C:n.sortable}),v.$observe("backspaceReset",function(){var C=t.$eval(v.backspaceReset);r.backspaceReset=C!==void 0?C:!0}),v.$observe("limit",function(){r.limit=angular.isDefined(v.limit)?parseInt(v.limit,10):void 0}),t.$watch("removeSelected",function(){var C=t.$eval(v.removeSelected);r.removeSelected=C!==void 0?C:n.removeSelected}),v.$observe("disabled",function(){r.disabled=v.disabled!==void 0?v.disabled:!1}),v.$observe("resetSearchInput",function(){var C=t.$eval(v.resetSearchInput);r.resetSearchInput=C!==void 0?C:!0}),v.$observe("paste",function(){r.paste=t.$eval(v.paste)}),v.$observe("tagging",function(){if(v.tagging!==void 0){var C=t.$eval(v.tagging);r.tagging={isActivated:!0,fct:C!==!0?C:void 0}}else r.tagging={isActivated:!1,fct:void 0}}),v.$observe("taggingLabel",function(){v.tagging!==void 0&&(v.taggingLabel==="false"?r.taggingLabel=!1:r.taggingLabel=v.taggingLabel!==void 0?v.taggingLabel:"(new)")}),v.$observe("taggingTokens",function(){if(v.tagging!==void 0){var C=v.taggingTokens!==void 0?v.taggingTokens.split("|"):[",","ENTER"];r.taggingTokens={isActivated:!0,tokens:C}}}),v.$observe("spinnerEnabled",function(){var C=t.$eval(v.spinnerEnabled);r.spinnerEnabled=C!==void 0?C:n.spinnerEnabled}),v.$observe("spinnerClass",function(){var C=v.spinnerClass;r.spinnerClass=C!==void 0?v.spinnerClass:n.spinnerClass}),angular.isDefined(v.autofocus)&&u(function(){r.setFocus()}),angular.isDefined(v.focusOn)&&t.$on(v.focusOn,function(){u(function(){r.setFocus()})});function h(C){if(!!r.open){var k=!1;if(window.jQuery?k=window.jQuery.contains(I[0],C.target):k=I[0].contains(C.target),!k&&!r.clickTriggeredSelect){var z;if(r.skipFocusser)z=!0;else{var H=["input","button","textarea","select"],B=angular.element(C.target).controller("uiSelect");z=B&&B!==r,z||(z=~H.indexOf(C.target.tagName.toLowerCase()))}r.close(z),t.$digest()}r.clickTriggeredSelect=!1}}i.on("click",h),t.$on("$destroy",function(){i.off("click",h)}),S(t,function(C){var k=angular.element("<div>").append(C),z=k.querySelectorAll(".ui-select-match");if(z.removeAttr("ui-select-match"),z.removeAttr("data-ui-select-match"),z.length!==1)throw a("transcluded","Expected 1 .ui-select-match but got '{0}'.",z.length);I.querySelectorAll(".ui-select-match").replaceWith(z);var H=k.querySelectorAll(".ui-select-choices");if(H.removeAttr("ui-select-choices"),H.removeAttr("data-ui-select-choices"),H.length!==1)throw a("transcluded","Expected 1 .ui-select-choices but got '{0}'.",H.length);I.querySelectorAll(".ui-select-choices").replaceWith(H);var B=k.querySelectorAll(".ui-select-no-choice");B.removeAttr("ui-select-no-choice"),B.removeAttr("data-ui-select-no-choice"),B.length==1&&I.querySelectorAll(".ui-select-no-choice").replaceWith(B)});var b=t.$eval(v.appendToBody);(b!==void 0?b:n.appendToBody)&&(t.$watch("$select.open",function(C){C?T():M()}),t.$on("$destroy",function(){M()}));var m=null,x="";function T(){var C=g(I);m=angular.element('<div class="ui-select-placeholder"></div>'),m[0].style.width=C.width+"px",m[0].style.height=C.height+"px",I.after(m),x=I[0].style.width,i.find("body").append(I),I[0].style.position="absolute",I[0].style.left=C.left+"px",I[0].style.top=C.top+"px",I[0].style.width=C.width+"px"}function M(){m!==null&&(m.replaceWith(I),m=null,I[0].style.position="",I[0].style.left="",I[0].style.top="",I[0].style.width=x,r.setFocus())}var R=null,W="direction-up";t.$watch("$select.open",function(){(r.dropdownPosition==="auto"||r.dropdownPosition==="up")&&t.calculateDropdownPos()});var L=function(C,k){C=C||g(I),k=k||g(R),R[0].style.position="absolute",R[0].style.top=k.height*-1+"px",I.addClass(W)},$=function(C,k){I.removeClass(W),C=C||g(I),k=k||g(R),R[0].style.position="",R[0].style.top=""},D=function(){u(function(){if(r.dropdownPosition==="up")L();else{I.removeClass(W);var C=g(I),k=g(R),z=i[0].documentElement.scrollTop||i[0].body.scrollTop;C.top+C.height+k.height>z+i[0].documentElement.clientHeight?L(C,k):$(C,k)}R[0].style.opacity=1})},O=!1;t.calculateDropdownPos=function(){if(r.open){if(R=angular.element(I).querySelectorAll(".ui-select-dropdown"),R.length===0)return;if(r.search===""&&!O&&(R[0].style.opacity=0,O=!0),!g(R).height&&r.$animate&&r.$animate.on&&r.$animate.enabled(R)){var C=!0;r.$animate.on("enter",R,function(k,z){z==="close"&&C&&(D(),C=!1)})}else D()}else{if(R===null||R.length===0)return;R[0].style.opacity=0,R[0].style.position="",R[0].style.top="",I.removeClass(W)}}}}}}]),A.directive("uiSelectMatch",["uiSelectConfig",function(i){return{restrict:"EA",require:"^uiSelect",replace:!0,transclude:!0,templateUrl:function(a){a.addClass("ui-select-match");var g=a.parent(),f=n(g,"theme")||i.theme,l=angular.isDefined(n(g,"multiple"));return f+(l?"/match-multiple.tpl.html":"/match.tpl.html")},link:function(a,g,f,l){l.lockChoiceExpression=f.uiLockChoice,f.$observe("placeholder",function(s){l.placeholder=s!==void 0?s:i.placeholder});function u(s){l.allowClear=angular.isDefined(s)?s===""?!0:s.toLowerCase()==="true":!1}f.$observe("allowClear",u),u(f.allowClear),l.multiple&&l.sizeSearchInput()}};function n(a,g){if(a[0].hasAttribute(g))return a.attr(g);if(a[0].hasAttribute("data-"+g))return a.attr("data-"+g);if(a[0].hasAttribute("x-"+g))return a.attr("x-"+g)}}]),A.directive("uiSelectMultiple",["uiSelectMinErr","$timeout",function(i,n){return{restrict:"EA",require:["^uiSelect","^ngModel"],controller:["$scope","$timeout",function(a,g){var f=this,l=a.$select,u;angular.isUndefined(l.selected)&&(l.selected=[]),a.$evalAsync(function(){u=a.ngModel}),f.activeMatchIndex=-1,f.updateModel=function(){u.$setViewValue(Date.now()),f.refreshComponent()},f.refreshComponent=function(){l.refreshItems&&l.refreshItems(),l.sizeSearchInput&&l.sizeSearchInput()},f.removeChoice=function(s){if(l.isLocked(null,s))return!1;var d=l.selected[s],p={};return p[l.parserResult.itemName]=d,l.selected.splice(s,1),f.activeMatchIndex=-1,l.sizeSearchInput(),g(function(){l.onRemoveCallback(a,{$item:d,$model:l.parserResult.modelMapper(a,p)})}),f.updateModel(),!0},f.getPlaceholder=function(){if(!(l.selected&&l.selected.length))return l.placeholder}}],controllerAs:"$selectMultiple",link:function(a,g,f,l){var u=l[0],s=a.ngModel=l[1],d=a.$selectMultiple;u.multiple=!0,u.focusInput=u.searchInput,s.$isEmpty=function(v){return!v||v.length===0},s.$parsers.unshift(function(){for(var v={},w,S=[],r=u.selected.length-1;r>=0;r--)v={},v[u.parserResult.itemName]=u.selected[r],w=u.parserResult.modelMapper(a,v),S.unshift(w);return S}),s.$formatters.unshift(function(v){var w=u.parserResult&&u.parserResult.source(a,{$select:{search:""}}),S={},r;if(!w)return v;var c=[],h=function(m,x){if(!(!m||!m.length)){for(var T=m.length-1;T>=0;T--){if(S[u.parserResult.itemName]=m[T],r=u.parserResult.modelMapper(a,S),u.parserResult.trackByExp){var M=/(\w*)\./.exec(u.parserResult.trackByExp),R=/\.([^\s]+)/.exec(u.parserResult.trackByExp);if(M&&M.length>0&&M[1]==u.parserResult.itemName&&R&&R.length>0&&r[R[1]]==x[R[1]])return c.unshift(m[T]),!0}if(angular.equals(r,x))return c.unshift(m[T]),!0}return!1}};if(!v)return c;for(var b=v.length-1;b>=0;b--)h(u.selected,v[b])||h(w,v[b])||c.unshift(v[b]);return c}),a.$watchCollection(function(){return s.$modelValue},function(v,w){w!=v&&(angular.isDefined(s.$modelValue)&&(s.$modelValue=null),d.refreshComponent())}),s.$render=function(){if(!angular.isArray(s.$viewValue))if(o(s.$viewValue))s.$viewValue=[];else throw i("multiarr","Expected model value to be array but got '{0}'",s.$viewValue);u.selected=s.$viewValue,d.refreshComponent(),a.$evalAsync()},a.$on("uis:select",function(v,w){if(!(u.selected.length>=u.limit)){u.selected.push(w);var S={};S[u.parserResult.itemName]=w,n(function(){u.onSelectCallback(a,{$item:w,$model:u.parserResult.modelMapper(a,S)})}),d.updateModel()}}),a.$on("uis:activate",function(){d.activeMatchIndex=-1}),a.$watch("$select.disabled",function(v,w){w&&!v&&u.sizeSearchInput()}),u.searchInput.on("keydown",function(v){var w=v.which;a.$apply(function(){var S=!1;e.isHorizontalMovement(w)&&(S=y(w)),S&&w!=e.TAB&&(v.preventDefault(),v.stopPropagation())})});function p(v){return angular.isNumber(v.selectionStart)?v.selectionStart:v.value.length}function y(v){var w=p(u.searchInput[0]),S=u.selected.length,r=0,c=S-1,h=d.activeMatchIndex,b=d.activeMatchIndex+1,m=d.activeMatchIndex-1,x=h;if(w>0||u.search.length&&v==e.RIGHT)return!1;u.close();function T(){switch(v){case e.LEFT:return~d.activeMatchIndex?m:c;case e.RIGHT:return!~d.activeMatchIndex||h===c?(u.activate(),!1):b;case e.BACKSPACE:return~d.activeMatchIndex?d.removeChoice(h)?m:h:c;case e.DELETE:return~d.activeMatchIndex?(d.removeChoice(d.activeMatchIndex),h):!1}}return x=T(),!u.selected.length||x===!1?d.activeMatchIndex=-1:d.activeMatchIndex=Math.min(c,Math.max(r,x)),!0}u.searchInput.on("keyup",function(v){if(e.isVerticalMovement(v.which)||a.$evalAsync(function(){u.activeIndex=u.taggingLabel===!1?-1:0}),u.tagging.isActivated&&u.search.length>0){if(v.which===e.TAB||e.isControl(v)||e.isFunctionKey(v)||v.which===e.ESC||e.isVerticalMovement(v.which)||(u.activeIndex=u.taggingLabel===!1?-1:0,u.taggingLabel===!1))return;var w=angular.copy(u.items),S=angular.copy(u.items),r,c,h=!1,b=-1,m,x;if(u.tagging.fct!==void 0){if(m=u.$filter("filter")(w,{isTag:!0}),m.length>0&&(x=m[0]),w.length>0&&x&&(h=!0,w=w.slice(1,w.length),S=S.slice(1,S.length)),r=u.tagging.fct(u.search),S.some(function(T){return angular.equals(T,r)})||u.selected.some(function(T){return angular.equals(T,r)})){a.$evalAsync(function(){u.activeIndex=0,u.items=w});return}r&&(r.isTag=!0)}else{if(m=u.$filter("filter")(w,function(T){return T.match(u.taggingLabel)}),m.length>0&&(x=m[0]),c=w[0],c!==void 0&&w.length>0&&x&&(h=!0,w=w.slice(1,w.length),S=S.slice(1,S.length)),r=u.search+" "+u.taggingLabel,I(u.selected,u.search)>-1)return;if(t(S.concat(u.selected))){h&&(w=S,a.$evalAsync(function(){u.activeIndex=0,u.items=w}));return}if(t(S)){h&&(u.items=S.slice(1,S.length));return}}h&&(b=I(u.selected,r)),b>-1?w=w.slice(b+1,w.length-1):(w=[],r&&w.push(r),w=w.concat(S)),a.$evalAsync(function(){if(u.activeIndex=0,u.items=w,u.isGrouped){var T=r?w.slice(1):w;u.setItemsFn(T),r&&(u.items.unshift(r),u.groups.unshift({name:"",items:[r],tagging:!0}))}})}});function t(v){if(v===void 0||u.search===void 0)return!1;var w=v.filter(function(S){return u.search.toUpperCase()===void 0||S===void 0?!1:S.toUpperCase()===u.search.toUpperCase()}).length>0;return w}function I(v,w){var S=-1;if(angular.isArray(v))for(var r=angular.copy(v),c=0;c<r.length;c++)if(u.tagging.fct===void 0)r[c]+" "+u.taggingLabel===w&&(S=c);else{var h=r[c];angular.isObject(h)&&(h.isTag=!0),angular.equals(h,w)&&(S=c)}return S}u.searchInput.on("blur",function(){n(function(){d.activeMatchIndex=-1})})}}}]),A.directive("uiSelectNoChoice",["uiSelectConfig",function(i){return{restrict:"EA",require:"^uiSelect",replace:!0,transclude:!0,templateUrl:function(n){n.addClass("ui-select-no-choice");var a=n.parent().attr("theme")||i.theme;return a+"/no-choice.tpl.html"}}}]),A.directive("uiSelectSingle",["$timeout","$compile",function(i,n){return{restrict:"EA",require:["^uiSelect","^ngModel"],link:function(a,g,f,l){var u=l[0],s=l[1];s.$parsers.unshift(function(p){if(o(p))return p;var y={},t;return y[u.parserResult.itemName]=p,t=u.parserResult.modelMapper(a,y),t}),s.$formatters.unshift(function(p){if(o(p))return p;var y=u.parserResult&&u.parserResult.source(a,{$select:{search:""}}),t={},I;if(y){var v=function(S){return t[u.parserResult.itemName]=S,I=u.parserResult.modelMapper(a,t),I===p};if(u.selected&&v(u.selected))return u.selected;for(var w=y.length-1;w>=0;w--)if(v(y[w]))return y[w]}return p}),a.$watch("$select.selected",function(p){s.$viewValue!==p&&s.$setViewValue(p)}),s.$render=function(){u.selected=s.$viewValue},a.$on("uis:select",function(p,y){u.selected=y;var t={};t[u.parserResult.itemName]=y,i(function(){u.onSelectCallback(a,{$item:y,$model:o(y)?y:u.parserResult.modelMapper(a,t)})})}),a.$on("uis:close",function(p,y){i(function(){u.focusser.prop("disabled",!1),y||u.focusser[0].focus()},0,!1)}),a.$on("uis:activate",function(){d.prop("disabled",!0)});var d=angular.element("<input ng-disabled='$select.disabled' class='ui-select-focusser ui-select-offscreen' type='text' id='{{ $select.focusserId }}' aria-label='{{ $select.focusserTitle }}' aria-haspopup='true' role='button' />");n(d)(a),u.focusser=d,u.focusInput=d,g.parent().append(d),d.bind("focus",function(){a.$evalAsync(function(){u.focus=!0})}),d.bind("blur",function(){a.$evalAsync(function(){u.focus=!1})}),d.bind("keydown",function(p){if(p.which===e.BACKSPACE&&u.backspaceReset!==!1){p.preventDefault(),p.stopPropagation(),u.select(void 0),a.$apply();return}p.which===e.TAB||e.isControl(p)||e.isFunctionKey(p)||p.which===e.ESC||((p.which==e.DOWN||p.which==e.UP||p.which==e.ENTER||p.which==e.SPACE)&&(p.preventDefault(),p.stopPropagation(),u.activate()),a.$digest())}),d.bind("keyup input",function(p){p.which===e.TAB||e.isControl(p)||e.isFunctionKey(p)||p.which===e.ESC||p.which==e.ENTER||p.which===e.BACKSPACE||(u.activate(d.val()),d.val(""),a.$digest())})}}}]),A.directive("uiSelectSort",["$timeout","uiSelectConfig","uiSelectMinErr",function(i,n,a){return{require:["^^uiSelect","^ngModel"],link:function(g,f,l,u){if(g[l.uiSelectSort]===null)throw a("sort","Expected a list to sort");var s=u[0],d=u[1],p=angular.extend({axis:"horizontal"},g.$eval(l.uiSelectSortOptions)),y=p.axis,t="dragging",I="dropping",v="dropping-before",w="dropping-after";g.$watch(function(){return s.sortable},function(x){x?f.attr("draggable",!0):f.removeAttr("draggable")}),f.on("dragstart",function(x){f.addClass(t),(x.dataTransfer||x.originalEvent.dataTransfer).setData("text",g.$index.toString())}),f.on("dragend",function(){r(t)});var S=function(x,T){this.splice(T,0,this.splice(x,1)[0])},r=function(x){angular.forEach(s.$element.querySelectorAll("."+x),function(T){angular.element(T).removeClass(x)})},c=function(x){x.preventDefault();var T=y==="vertical"?x.offsetY||x.layerY||(x.originalEvent?x.originalEvent.offsetY:0):x.offsetX||x.layerX||(x.originalEvent?x.originalEvent.offsetX:0);T<this[y==="vertical"?"offsetHeight":"offsetWidth"]/2?(r(w),f.addClass(v)):(r(v),f.addClass(w))},h,b=function(x){x.preventDefault();var T=parseInt((x.dataTransfer||x.originalEvent.dataTransfer).getData("text"),10);i.cancel(h),h=i(function(){m(T)},20)},m=function(x){var T=g.$eval(l.uiSelectSort),M=T[x],R=null;f.hasClass(v)?x<g.$index?R=g.$index-1:R=g.$index:x<g.$index?R=g.$index:R=g.$index+1,S.apply(T,[x,R]),d.$setViewValue(Date.now()),g.$apply(function(){g.$emit("uiSelectSort:change",{array:T,item:M,from:x,to:R})}),r(I),r(v),r(w),f.off("drop",b)};f.on("dragenter",function(){f.hasClass(t)||(f.addClass(I),f.on("dragover",c),f.on("drop",b))}),f.on("dragleave",function(x){x.target==f&&(r(I),r(v),r(w),f.off("dragover",c),f.off("drop",b))})}}}]),A.factory("$$uisDebounce",["$timeout",function(i){return function(n,a){var g;return function(){var f=this,l=Array.prototype.slice.call(arguments);g&&i.cancel(g),g=i(function(){n.apply(f,l)},a)}}}]),A.directive("uisOpenClose",["$parse","$timeout",function(i,n){return{restrict:"A",require:"uiSelect",link:function(a,g,f,l){l.onOpenCloseCallback=i(f.uisOpenClose),a.$watch("$select.open",function(u,s){u!==s&&n(function(){l.onOpenCloseCallback(a,{isOpen:u})})})}}}]),A.service("uisRepeatParser",["uiSelectMinErr","$parse",function(i,n){var a=this;a.parse=function(g){var f;if(f=g.match(/^\s*(?:([\s\S]+?)\s+as\s+)?(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+(\s*[\s\S]+?)?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),!f)throw i("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",g);var l=f[5],u="";if(f[3]){l=f[5].replace(/(^\()|(\)$)/g,"");var s=f[5].match(/^\s*(?:[\s\S]+?)(?:[^\|]|\|\|)+([\s\S]*)\s*$/);s&&s[1].trim()&&(u=s[1],l=l.replace(u,""))}return{itemName:f[4]||f[2],keyName:f[3],source:n(l),filters:u,trackByExp:f[6],modelMapper:n(f[1]||f[4]||f[2]),repeatExpression:function(d){var p=this.itemName+" in "+(d?"$group.items":"$select.items");return this.trackByExp&&(p+=" track by "+this.trackByExp),p}}},a.getGroupNgRepeatExpression=function(){return"$group in $select.groups track by $group.name"}}])})();angular.module("ui.select").run(["$templateCache",function(e){e.put("bootstrap/choices.tpl.html",'<ul class="ui-select-choices ui-select-choices-content ui-select-dropdown dropdown-menu" ng-show="$select.open && $select.items.length > 0"><li class="ui-select-choices-group" id="ui-select-choices-{{ $select.generatedId }}"><div class="divider" ng-show="$select.isGrouped && $index > 0"></div><div ng-show="$select.isGrouped" class="ui-select-choices-group-label dropdown-header" ng-bind="$group.name"></div><div ng-attr-id="ui-select-choices-row-{{ $select.generatedId }}-{{$index}}" class="ui-select-choices-row" ng-class="{active: $select.isActive(this), disabled: $select.isDisabled(this)}" role="option"><span class="ui-select-choices-row-inner"></span></div></li></ul>'),e.put("bootstrap/match-multiple.tpl.html",`<span class="ui-select-match"><span ng-repeat="$item in $select.selected track by $index"><span class="ui-select-match-item btn btn-default btn-xs" tabindex="-1" type="button" ng-disabled="$select.disabled" ng-click="$selectMultiple.activeMatchIndex = $index;" ng-class="{'btn-primary':$selectMultiple.activeMatchIndex === $index, 'select-locked':$select.isLocked(this, $index)}" ui-select-sort="$select.selected"><span class="close ui-select-match-close" ng-hide="$select.disabled" ng-click="$selectMultiple.removeChoice($index)">&nbsp;&times;</span> <span uis-transclude-append=""></span></span></span></span>`),e.put("bootstrap/match.tpl.html",`<div class="ui-select-match" ng-hide="$select.open && $select.searchEnabled" ng-disabled="$select.disabled" ng-class="{'btn-default-focus':$select.focus}"><span tabindex="-1" class="btn btn-default form-control ui-select-toggle" aria-label="{{ $select.baseTitle }} activate" ng-disabled="$select.disabled" ng-click="$select.activate()" style="outline: 0;"><span ng-show="$select.isEmpty()" class="ui-select-placeholder text-muted">{{$select.placeholder}}</span> <span ng-hide="$select.isEmpty()" class="ui-select-match-text pull-left" ng-class="{'ui-select-allow-clear': $select.allowClear && !$select.isEmpty()}" ng-transclude=""></span> <i class="caret pull-right" ng-click="$select.toggle($event)"></i> <a ng-show="$select.allowClear && !$select.isEmpty() && ($select.disabled !== true)" aria-label="{{ $select.baseTitle }} clear" style="margin-right: 10px" ng-click="$select.clear($event)" class="btn btn-xs btn-link pull-right"><i class="glyphicon glyphicon-remove" aria-hidden="true"></i></a></span></div>`),e.put("bootstrap/no-choice.tpl.html",'<ul class="ui-select-no-choice dropdown-menu" ng-show="$select.items.length == 0"><li ng-transclude=""></li></ul>'),e.put("bootstrap/select-multiple.tpl.html",`<div class="ui-select-container ui-select-multiple ui-select-bootstrap dropdown form-control" ng-class="{open: $select.open}"><div><div class="ui-select-match"></div><input type="search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="ui-select-search input-xs" placeholder="{{$selectMultiple.getPlaceholder()}}" ng-disabled="$select.disabled" ng-click="$select.activate()" ng-model="$select.search" role="combobox" aria-expanded="{{$select.open}}" aria-label="{{$select.baseTitle}}" ng-class="{'spinner': $select.refreshing}" ondrop="return false;"></div><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div>`),e.put("bootstrap/select.tpl.html",`<div class="ui-select-container ui-select-bootstrap dropdown" ng-class="{open: $select.open}"><div class="ui-select-match"></div><span ng-show="$select.open && $select.refreshing && $select.spinnerEnabled" class="ui-select-refreshing {{$select.spinnerClass}}"></span> <input type="search" autocomplete="off" tabindex="-1" aria-expanded="true" aria-label="{{ $select.baseTitle }}" aria-owns="ui-select-choices-{{ $select.generatedId }}" class="form-control ui-select-search" ng-class="{ 'ui-select-search-hidden' : !$select.searchEnabled }" placeholder="{{$select.placeholder}}" ng-model="$select.search" ng-show="$select.open"><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div>`),e.put("select2/choices.tpl.html",`<ul tabindex="-1" class="ui-select-choices ui-select-choices-content select2-results"><li class="ui-select-choices-group" ng-class="{'select2-result-with-children': $select.choiceGrouped($group) }"><div ng-show="$select.choiceGrouped($group)" class="ui-select-choices-group-label select2-result-label" ng-bind="$group.name"></div><ul id="ui-select-choices-{{ $select.generatedId }}" ng-class="{'select2-result-sub': $select.choiceGrouped($group), 'select2-result-single': !$select.choiceGrouped($group) }"><li role="option" ng-attr-id="ui-select-choices-row-{{ $select.generatedId }}-{{$index}}" class="ui-select-choices-row" ng-class="{'select2-highlighted': $select.isActive(this), 'select2-disabled': $select.isDisabled(this)}"><div class="select2-result-label ui-select-choices-row-inner"></div></li></ul></li></ul>`),e.put("select2/match-multiple.tpl.html",`<span class="ui-select-match"><li class="ui-select-match-item select2-search-choice" ng-repeat="$item in $select.selected track by $index" ng-class="{'select2-search-choice-focus':$selectMultiple.activeMatchIndex === $index, 'select2-locked':$select.isLocked(this, $index)}" ui-select-sort="$select.selected"><span uis-transclude-append=""></span> <a href="javascript:;" class="ui-select-match-close select2-search-choice-close" ng-click="$selectMultiple.removeChoice($index)" tabindex="-1"></a></li></span>`),e.put("select2/match.tpl.html",`<a class="select2-choice ui-select-match" ng-class="{'select2-default': $select.isEmpty()}" ng-click="$select.toggle($event)" aria-label="{{ $select.baseTitle }} select"><span ng-show="$select.isEmpty()" class="select2-chosen">{{$select.placeholder}}</span> <span ng-hide="$select.isEmpty()" class="select2-chosen" ng-transclude=""></span> <abbr ng-if="$select.allowClear && !$select.isEmpty()" class="select2-search-choice-close" ng-click="$select.clear($event)"></abbr> <span class="select2-arrow ui-select-toggle"><b></b></span></a>`),e.put("select2/no-choice.tpl.html",'<div class="ui-select-no-choice dropdown" ng-show="$select.items.length == 0"><div class="dropdown-content"><div data-selectable="" ng-transclude=""></div></div></div>'),e.put("select2/select-multiple.tpl.html",`<div class="ui-select-container ui-select-multiple select2 select2-container select2-container-multi" ng-class="{'select2-container-active select2-dropdown-open open': $select.open, 'select2-container-disabled': $select.disabled}"><ul class="select2-choices"><span class="ui-select-match"></span><li class="select2-search-field"><input type="search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="combobox" aria-expanded="true" aria-owns="ui-select-choices-{{ $select.generatedId }}" aria-label="{{ $select.baseTitle }}" aria-activedescendant="ui-select-choices-row-{{ $select.generatedId }}-{{ $select.activeIndex }}" class="select2-input ui-select-search" placeholder="{{$selectMultiple.getPlaceholder()}}" ng-disabled="$select.disabled" ng-hide="$select.disabled" ng-model="$select.search" ng-click="$select.activate()" style="width: 34px;" ondrop="return false;"></li></ul><div class="ui-select-dropdown select2-drop select2-with-searchbox select2-drop-active" ng-class="{'select2-display-none': !$select.open || $select.items.length === 0}"><div class="ui-select-choices"></div></div></div>`),e.put("select2/select.tpl.html",`<div class="ui-select-container select2 select2-container" ng-class="{'select2-container-active select2-dropdown-open open': $select.open, 'select2-container-disabled': $select.disabled, 'select2-container-active': $select.focus, 'select2-allowclear': $select.allowClear && !$select.isEmpty()}"><div class="ui-select-match"></div><div class="ui-select-dropdown select2-drop select2-with-searchbox select2-drop-active" ng-class="{'select2-display-none': !$select.open}"><div class="search-container" ng-class="{'ui-select-search-hidden':!$select.searchEnabled, 'select2-search':$select.searchEnabled}"><input type="search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" ng-class="{'select2-active': $select.refreshing}" role="combobox" aria-expanded="true" aria-owns="ui-select-choices-{{ $select.generatedId }}" aria-label="{{ $select.baseTitle }}" class="ui-select-search select2-input" ng-model="$select.search"></div><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div></div>`),e.put("selectize/choices.tpl.html",`<div ng-show="$select.open" class="ui-select-choices ui-select-dropdown selectize-dropdown" ng-class="{'single': !$select.multiple, 'multi': $select.multiple}"><div class="ui-select-choices-content selectize-dropdown-content"><div class="ui-select-choices-group optgroup"><div ng-show="$select.isGrouped" class="ui-select-choices-group-label optgroup-header" ng-bind="$group.name"></div><div role="option" class="ui-select-choices-row" ng-class="{active: $select.isActive(this), disabled: $select.isDisabled(this)}"><div class="option ui-select-choices-row-inner" data-selectable=""></div></div></div></div></div>`),e.put("selectize/match-multiple.tpl.html",`<div class="ui-select-match" data-value="" ng-repeat="$item in $select.selected track by $index" ng-click="$selectMultiple.activeMatchIndex = $index;" ng-class="{'active':$selectMultiple.activeMatchIndex === $index}" ui-select-sort="$select.selected"><span class="ui-select-match-item" ng-class="{'select-locked':$select.isLocked(this, $index)}"><span uis-transclude-append=""></span> <span class="remove ui-select-match-close" ng-hide="$select.disabled" ng-click="$selectMultiple.removeChoice($index)">&times;</span></span></div>`),e.put("selectize/match.tpl.html",'<div ng-hide="$select.searchEnabled && ($select.open || $select.isEmpty())" class="ui-select-match"><span ng-show="!$select.searchEnabled && ($select.isEmpty() || $select.open)" class="ui-select-placeholder text-muted">{{$select.placeholder}}</span> <span ng-hide="$select.isEmpty() || $select.open" ng-transclude=""></span></div>'),e.put("selectize/no-choice.tpl.html",'<div class="ui-select-no-choice selectize-dropdown" ng-show="$select.items.length == 0"><div class="selectize-dropdown-content"><div data-selectable="" ng-transclude=""></div></div></div>'),e.put("selectize/select-multiple.tpl.html",`<div class="ui-select-container selectize-control multi plugin-remove_button" ng-class="{'open': $select.open}"><div class="selectize-input" ng-class="{'focus': $select.open, 'disabled': $select.disabled, 'selectize-focus' : $select.focus}" ng-click="$select.open && !$select.searchEnabled ? $select.toggle($event) : $select.activate()"><div class="ui-select-match"></div><input type="search" autocomplete="off" tabindex="-1" class="ui-select-search" ng-class="{'ui-select-search-hidden':!$select.searchEnabled}" placeholder="{{$selectMultiple.getPlaceholder()}}" ng-model="$select.search" ng-disabled="$select.disabled" aria-expanded="{{$select.open}}" aria-label="{{ $select.baseTitle }}" ondrop="return false;"></div><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div>`),e.put("selectize/select.tpl.html",`<div class="ui-select-container selectize-control single" ng-class="{'open': $select.open}"><div class="selectize-input" ng-class="{'focus': $select.open, 'disabled': $select.disabled, 'selectize-focus' : $select.focus}" ng-click="$select.open && !$select.searchEnabled ? $select.toggle($event) : $select.activate()"><div class="ui-select-match"></div><input type="search" autocomplete="off" tabindex="-1" class="ui-select-search ui-select-toggle" ng-class="{'ui-select-search-hidden':!$select.searchEnabled}" ng-click="$select.toggle($event)" placeholder="{{$select.placeholder}}" ng-model="$select.search" ng-hide="!$select.isEmpty() && !$select.open" ng-disabled="$select.disabled" aria-label="{{ $select.baseTitle }}"></div><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div>`)}]);var Vt=Fe(gt()),Gt=Fe(vt()),Qt=Fe(mt()),Kt=Fe(yt()),Pt=Fe(bt());angular.module("ng-directives-utils.transcludeReplace",[]).directive("ngTranscludeReplace",["$log",function(e){return{terminal:!0,restrict:"EA",link:function(o,E,A,i,n){if(!n){e.error("orphan","Illegal use of lgTranscludeReplace directive in the template! No parent directive that requires a transclusion found. ");return}n(function(a){a.length?E.replaceWith(a):E.remove()})}}}]);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,o,E,A,i){return jQuery.easing[jQuery.easing.def](e,o,E,A,i)},easeInQuad:function(e,o,E,A,i){return A*(o/=i)*o+E},easeOutQuad:function(e,o,E,A,i){return-A*(o/=i)*(o-2)+E},easeInOutQuad:function(e,o,E,A,i){return(o/=i/2)<1?A/2*o*o+E:-A/2*(--o*(o-2)-1)+E},easeInCubic:function(e,o,E,A,i){return A*(o/=i)*o*o+E},easeOutCubic:function(e,o,E,A,i){return A*((o=o/i-1)*o*o+1)+E},easeInOutCubic:function(e,o,E,A,i){return(o/=i/2)<1?A/2*o*o*o+E:A/2*((o-=2)*o*o+2)+E},easeInQuart:function(e,o,E,A,i){return A*(o/=i)*o*o*o+E},easeOutQuart:function(e,o,E,A,i){return-A*((o=o/i-1)*o*o*o-1)+E},easeInOutQuart:function(e,o,E,A,i){return(o/=i/2)<1?A/2*o*o*o*o+E:-A/2*((o-=2)*o*o*o-2)+E},easeInQuint:function(e,o,E,A,i){return A*(o/=i)*o*o*o*o+E},easeOutQuint:function(e,o,E,A,i){return A*((o=o/i-1)*o*o*o*o+1)+E},easeInOutQuint:function(e,o,E,A,i){return(o/=i/2)<1?A/2*o*o*o*o*o+E:A/2*((o-=2)*o*o*o*o+2)+E},easeInSine:function(e,o,E,A,i){return-A*Math.cos(o/i*(Math.PI/2))+A+E},easeOutSine:function(e,o,E,A,i){return A*Math.sin(o/i*(Math.PI/2))+E},easeInOutSine:function(e,o,E,A,i){return-A/2*(Math.cos(Math.PI*o/i)-1)+E},easeInExpo:function(e,o,E,A,i){return o==0?E:A*Math.pow(2,10*(o/i-1))+E},easeOutExpo:function(e,o,E,A,i){return o==i?E+A:A*(-Math.pow(2,-10*o/i)+1)+E},easeInOutExpo:function(e,o,E,A,i){return o==0?E:o==i?E+A:(o/=i/2)<1?A/2*Math.pow(2,10*(o-1))+E:A/2*(-Math.pow(2,-10*--o)+2)+E},easeInCirc:function(e,o,E,A,i){return-A*(Math.sqrt(1-(o/=i)*o)-1)+E},easeOutCirc:function(e,o,E,A,i){return A*Math.sqrt(1-(o=o/i-1)*o)+E},easeInOutCirc:function(e,o,E,A,i){return(o/=i/2)<1?-A/2*(Math.sqrt(1-o*o)-1)+E:A/2*(Math.sqrt(1-(o-=2)*o)+1)+E},easeInElastic:function(e,o,E,A,i){var g=1.70158,n=0,a=A;if(o==0)return E;if((o/=i)==1)return E+A;if(n||(n=i*.3),a<Math.abs(A)){a=A;var g=n/4}else var g=n/(2*Math.PI)*Math.asin(A/a);return-(a*Math.pow(2,10*(o-=1))*Math.sin((o*i-g)*(2*Math.PI)/n))+E},easeOutElastic:function(e,o,E,A,i){var g=1.70158,n=0,a=A;if(o==0)return E;if((o/=i)==1)return E+A;if(n||(n=i*.3),a<Math.abs(A)){a=A;var g=n/4}else var g=n/(2*Math.PI)*Math.asin(A/a);return a*Math.pow(2,-10*o)*Math.sin((o*i-g)*(2*Math.PI)/n)+A+E},easeInOutElastic:function(e,o,E,A,i){var g=1.70158,n=0,a=A;if(o==0)return E;if((o/=i/2)==2)return E+A;if(n||(n=i*(.3*1.5)),a<Math.abs(A)){a=A;var g=n/4}else var g=n/(2*Math.PI)*Math.asin(A/a);return o<1?-.5*(a*Math.pow(2,10*(o-=1))*Math.sin((o*i-g)*(2*Math.PI)/n))+E:a*Math.pow(2,-10*(o-=1))*Math.sin((o*i-g)*(2*Math.PI)/n)*.5+A+E},easeInBack:function(e,o,E,A,i,n){return n==null&&(n=1.70158),A*(o/=i)*o*((n+1)*o-n)+E},easeOutBack:function(e,o,E,A,i,n){return n==null&&(n=1.70158),A*((o=o/i-1)*o*((n+1)*o+n)+1)+E},easeInOutBack:function(e,o,E,A,i,n){return n==null&&(n=1.70158),(o/=i/2)<1?A/2*(o*o*(((n*=1.525)+1)*o-n))+E:A/2*((o-=2)*o*(((n*=1.525)+1)*o+n)+2)+E},easeInBounce:function(e,o,E,A,i){return A-jQuery.easing.easeOutBounce(e,i-o,0,A,i)+E},easeOutBounce:function(e,o,E,A,i){return(o/=i)<1/2.75?A*(7.5625*o*o)+E:o<2/2.75?A*(7.5625*(o-=1.5/2.75)*o+.75)+E:o<2.5/2.75?A*(7.5625*(o-=2.25/2.75)*o+.9375)+E:A*(7.5625*(o-=2.625/2.75)*o+.984375)+E},easeInOutBounce:function(e,o,E,A,i){return o<i/2?jQuery.easing.easeInBounce(e,o*2,0,A,i)*.5+E:jQuery.easing.easeOutBounce(e,o*2-i,0,A,i)*.5+A*.5+E}});var xt=Fe(wt());angular.module("directives.viewBox",[]).directive("viewBox",[function(){"use strict";return{link:function(e,o,E){E.$observe("viewBox",function(A){o.get(0).setAttribute("viewBox",A)})}}}]);(function(){"use strict";var e={backspace:8,tab:9,enter:13,escape:27,space:32,up:38,down:40,left:37,right:39,delete:46,comma:188},o=9007199254740991,E=["text","email","url"],A='<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>',i='<span ng-bind-html="$highlight($getDisplayText())"></span>',n=angular.module("ngTagsInput",[]);n.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(a,g,f,l,u,s){function d(y,t,I,v){var w={},S,r,c,h;return S=function(b){return s.safeToString(b[y.displayProperty])},r=function(b,m){b[y.displayProperty]=m},c=function(b){var m=S(b),x=m&&m.length>=y.minLength&&m.length<=y.maxLength&&y.allowedTagsPattern.test(m)&&!s.findInObjectArray(w.items,b,y.keyProperty||y.displayProperty);return l.when(x&&I({$tag:b})).then(s.promisifyValue)},h=function(b){return l.when(v({$tag:b})).then(s.promisifyValue)},w.items=[],w.addText=function(b){var m={};return r(m,b),w.add(m)},w.add=function(b){var m=S(b);return y.replaceSpacesWithDashes&&(m=s.replaceSpacesWithDashes(m)),r(b,m),c(b).then(function(){w.items.push(b),t.trigger("tag-added",{$tag:b})}).catch(function(){m&&t.trigger("invalid-tag",{$tag:b})})},w.remove=function(b){var m=w.items[b];return h(m).then(function(){return w.items.splice(b,1),w.clearSelection(),t.trigger("tag-removed",{$tag:m}),m})},w.select=function(b){b<0?b=w.items.length-1:b>=w.items.length&&(b=0),w.index=b,w.selected=w.items[b]},w.selectPrior=function(){w.select(--w.index)},w.selectNext=function(){w.select(++w.index)},w.removeSelected=function(){return w.remove(w.index)},w.clearSelection=function(){w.selected=null,w.index=-1},w.getItems=function(){return y.useStrings?w.items.map(S):w.items},w.clearSelection(),w}function p(y){return E.indexOf(y)!==-1}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(y,t,I){y.events=s.simplePubSub(),u.load("tagsInput",y,t,{template:[String,A],type:[String,"text",p],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,o],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,o],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),y.tagList=new d(y.options,y.events,s.handleUndefinedResult(y.onTagAdding,!0),s.handleUndefinedResult(y.onTagRemoving,!0)),this.registerAutocomplete=function(){var v=I.find("input");return{addTag:function(w){return y.tagList.add(w)},getTags:function(){return y.tagList.items},getCurrentTagText:function(){return y.newTag.text()},getOptions:function(){return y.options},getTemplateScope:function(){return y.templateScope},on:function(w,S){return y.events.on(w,S,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return y.options},removeTag:function(v){y.disabled||y.tagList.remove(v)}}}}],link:function(y,t,I,v){var w=[e.enter,e.comma,e.space,e.backspace,e.delete,e.left,e.right],S=y.tagList,r=y.events,c=y.options,h=t.find("input"),b=["minTags","maxTags","allowLeftoverText"],m,x;m=function(){v.$setValidity("maxTags",S.items.length<=c.maxTags),v.$setValidity("minTags",S.items.length>=c.minTags),v.$setValidity("leftoverText",y.hasFocus||c.allowLeftoverText?!0:!y.newTag.text())},x=function(){a(function(){h[0].focus()})},v.$isEmpty=function(T){return!T||!T.length},y.newTag={text:function(T){if(angular.isDefined(T))y.text=T,r.trigger("input-change",T);else return y.text||""},invalid:null},y.track=function(T){return T[c.keyProperty||c.displayProperty]},y.getTagClass=function(T,M){var R=T===S.selected;return[y.tagClass({$tag:T,$index:M,$selected:R}),{selected:R}]},y.$watch("tags",function(T){if(T){if(S.items=s.makeObjectArray(T,c.displayProperty),c.useStrings)return;y.tags=S.items}else S.items=[]}),y.$watch("tags.length",function(){m(),v.$validate()}),I.$observe("disabled",function(T){y.disabled=T}),y.eventHandlers={input:{keydown:function(T){r.trigger("input-keydown",T)},focus:function(){y.hasFocus||(y.hasFocus=!0,r.trigger("input-focus"))},blur:function(){a(function(){var T=g.prop("activeElement"),M=T===h[0],R=t[0].contains(T);(M||!R)&&(y.hasFocus=!1,r.trigger("input-blur"))})},paste:function(T){T.getTextData=function(){var M=T.clipboardData||T.originalEvent&&T.originalEvent.clipboardData;return M?M.getData("text/plain"):f.clipboardData.getData("Text")},r.trigger("input-paste",T)}},host:{click:function(){y.disabled||x()}},tag:{click:function(T){r.trigger("tag-clicked",{$tag:T})}}},r.on("tag-added",y.onTagAdded).on("invalid-tag",y.onInvalidTag).on("tag-removed",y.onTagRemoved).on("tag-clicked",y.onTagClicked).on("tag-added",function(){y.newTag.text("")}).on("tag-added tag-removed",function(){y.tags=S.getItems(),v.$setDirty(),x()}).on("invalid-tag",function(){y.newTag.invalid=!0}).on("option-change",function(T){b.indexOf(T.name)!==-1&&m()}).on("input-change",function(){S.clearSelection(),y.newTag.invalid=null}).on("input-focus",function(){t.triggerHandler("focus"),v.$setValidity("leftoverText",!0)}).on("input-blur",function(){c.addOnBlur&&!c.addFromAutocompleteOnly&&S.addText(y.newTag.text()),t.triggerHandler("blur"),m()}).on("input-keydown",function(T){var M=T.keyCode,R={},W,L,$,D;s.isModifierOn(T)||w.indexOf(M)===-1||(R[e.enter]=c.addOnEnter,R[e.comma]=c.addOnComma,R[e.space]=c.addOnSpace,W=!c.addFromAutocompleteOnly&&R[M],L=(M===e.backspace||M===e.delete)&&S.selected,D=M===e.backspace&&y.newTag.text().length===0&&c.enableEditingLastTag,$=(M===e.backspace||M===e.left||M===e.right)&&y.newTag.text().length===0&&!c.enableEditingLastTag,W?S.addText(y.newTag.text()):D?(S.selectPrior(),S.removeSelected().then(function(O){O&&y.newTag.text(O[c.displayProperty])})):L?S.removeSelected():$&&(M===e.left||M===e.backspace?S.selectPrior():M===e.right&&S.selectNext()),(W||$||L||D)&&T.preventDefault())}).on("input-paste",function(T){if(c.addOnPaste){var M=T.getTextData(),R=M.split(c.pasteSplitPattern);R.length>1&&(R.forEach(function(W){S.addText(W)}),T.preventDefault())}})}}}]),n.directive("tiTagItem",["tiUtil",function(a){return{restrict:"E",require:"^tagsInput",template:A,scope:{$scope:"=scope",data:"="},link:function(g,f,l,u){var s=u.registerTagItem(),d=s.getOptions();g.$$template=d.template,g.$$removeTagSymbol=d.removeTagSymbol,g.$getDisplayText=function(){return a.safeToString(g.data[d.displayProperty])},g.$removeTag=function(){s.removeTag(g.$index)},g.$watch("$parent.$index",function(p){g.$index=p})}}}]),n.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(a,g,f,l,u,s){function d(y,t,I){var v={},w,S,r;return r=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},w=function(c,h){return c.filter(function(b){return!s.findInObjectArray(h,b,r(),function(m,x){return t.tagsInput.replaceSpacesWithDashes&&(m=s.replaceSpacesWithDashes(m),x=s.replaceSpacesWithDashes(x)),s.defaultComparer(m,x)})})},v.reset=function(){S=null,v.items=[],v.visible=!1,v.index=-1,v.selected=null,v.query=null},v.show=function(){t.selectFirstMatch?v.select(0):v.selected=null,v.visible=!0},v.load=s.debounce(function(c,h){v.query=c;var b=l.when(y({$query:c}));S=b,b.then(function(m){b===S&&(m=s.makeObjectArray(m.data||m,r()),m=w(m,h),v.items=m.slice(0,t.maxResultsToShow),v.items.length>0?v.show():v.reset())})},t.debounceDelay),v.selectNext=function(){v.select(++v.index)},v.selectPrior=function(){v.select(--v.index)},v.select=function(c){c<0?c=v.items.length-1:c>=v.items.length&&(c=0),v.index=c,v.selected=v.items[c],I.trigger("suggestion-selected",c)},v.reset(),v}function p(y,t){var I=y.find("li").eq(t),v=I.parent(),w=I.prop("offsetTop"),S=I.prop("offsetHeight"),r=v.prop("clientHeight"),c=v.prop("scrollTop");w<c?v.prop("scrollTop",w):w+S>r+c&&v.prop("scrollTop",w+S-r)}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(y,t,I){y.events=s.simplePubSub(),u.load("autoComplete",y,I,{template:[String,i],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),y.suggestionList=new d(y.source,y.options,y.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return y.options},getQuery:function(){return y.suggestionList.query}}}}],link:function(y,t,I,v){var w=[e.enter,e.tab,e.escape,e.up,e.down],S=y.suggestionList,r=v.registerAutocomplete(),c=y.options,h=y.events,b;c.tagsInput=r.getOptions(),b=function(m){return m&&m.length>=c.minLength||!m&&c.loadOnEmpty},y.templateScope=r.getTemplateScope(),y.addSuggestionByIndex=function(m){S.select(m),y.addSuggestion()},y.addSuggestion=function(){var m=!1;return S.selected&&(r.addTag(angular.copy(S.selected)),S.reset(),m=!0),m},y.track=function(m){return m[c.tagsInput.keyProperty||c.tagsInput.displayProperty]},y.getSuggestionClass=function(m,x){var T=m===S.selected;return[y.matchClass({$match:m,$index:x,$selected:T}),{selected:T}]},r.on("tag-added tag-removed invalid-tag input-blur",function(){S.reset()}).on("input-change",function(m){b(m)?S.load(m,r.getTags()):S.reset()}).on("input-focus",function(){var m=r.getCurrentTagText();c.loadOnFocus&&b(m)&&S.load(m,r.getTags())}).on("input-keydown",function(m){var x=m.keyCode,T=!1;if(!(s.isModifierOn(m)||w.indexOf(x)===-1)&&(S.visible?x===e.down?(S.selectNext(),T=!0):x===e.up?(S.selectPrior(),T=!0):x===e.escape?(S.reset(),T=!0):(x===e.enter||x===e.tab)&&(T=y.addSuggestion()):x===e.down&&y.options.loadOnDownArrow&&(S.load(r.getCurrentTagText(),r.getTags()),T=!0),T))return m.preventDefault(),m.stopImmediatePropagation(),!1}),h.on("suggestion-selected",function(m){p(t,m)})}}}]),n.directive("tiAutocompleteMatch",["$sce","tiUtil",function(a,g){return{restrict:"E",require:"^autoComplete",template:i,scope:{$scope:"=scope",data:"="},link:function(f,l,u,s){var d=s.registerAutocompleteMatch(),p=d.getOptions();f.$$template=p.template,f.$index=f.$parent.$index,f.$highlight=function(y){return p.highlightMatchedText&&(y=g.safeHighlight(y,d.getQuery())),a.trustAsHtml(y)},f.$getDisplayText=function(){return g.safeToString(f.data[p.displayProperty||p.tagsInput.displayProperty])}}}}]),n.directive("tiTranscludeAppend",function(){return function(a,g,f,l,u){u(function(s){g.append(s)})}}),n.directive("tiAutosize",["tagsInputConfig",function(a){return{restrict:"A",require:"ngModel",link:function(g,f,l,u){var s=a.getTextAutosizeThreshold(),d,p;d=angular.element('<span class="input"></span>'),d.css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),f.parent().append(d),p=function(y){var t=y,I;return angular.isString(t)&&t.length===0&&(t=l.placeholder),t&&(d.text(t),d.css("display",""),I=d.prop("offsetWidth"),d.css("display","none")),f.css("width",I?I+s+"px":""),y},u.$parsers.unshift(p),u.$formatters.unshift(p),l.$observe("placeholder",function(y){u.$modelValue||p(y)})}}}]),n.directive("tiBindAttrs",function(){return function(a,g,f){a.$watch(f.tiBindAttrs,function(l){angular.forEach(l,function(u,s){f.$set(s,u)})},!0)}}),n.provider("tagsInputConfig",function(){var a={},g={},f=3;this.setDefaults=function(l,u){return a[l]=u,this},this.setActiveInterpolation=function(l,u){return g[l]=u,this},this.setTextAutosizeThreshold=function(l){return f=l,this},this.$get=["$interpolate",function(l){var u={};return u[String]=function(s){return s},u[Number]=function(s){return parseInt(s,10)},u[Boolean]=function(s){return s.toLowerCase()==="true"},u[RegExp]=function(s){return new RegExp(s)},{load:function(s,d,p,y){var t=function(){return!0};d.options={},angular.forEach(y,function(I,v){var w,S,r,c,h,b;w=I[0],S=I[1],r=I[2]||t,c=u[w],h=function(){var m=a[s]&&a[s][v];return angular.isDefined(m)?m:S},b=function(m){d.options[v]=m&&r(m)?c(m):h()},g[s]&&g[s][v]?p.$observe(v,function(m){b(m),d.events.trigger("option-change",{name:v,newValue:m})}):b(p[v]&&l(p[v])(d.$parent))})},getTextAutosizeThreshold:function(){return f}}}]}),n.factory("tiUtil",["$timeout","$q",function(a,g){var f={};return f.debounce=function(l,u){var s;return function(){var d=arguments;a.cancel(s),s=a(function(){l.apply(null,d)},u)}},f.makeObjectArray=function(l,u){if(!angular.isArray(l)||l.length===0||angular.isObject(l[0]))return l;var s=[];return l.forEach(function(d){var p={};p[u]=d,s.push(p)}),s},f.findInObjectArray=function(l,u,s,d){var p=null;return d=d||f.defaultComparer,l.some(function(y){if(d(y[s],u[s]))return p=y,!0}),p},f.defaultComparer=function(l,u){return f.safeToString(l).toLowerCase()===f.safeToString(u).toLowerCase()},f.safeHighlight=function(l,u){if(l=f.encodeHTML(l),u=f.encodeHTML(u),!u)return l;function s(p){return p.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}var d=new RegExp("&[^;]+;|"+s(u),"gi");return l.replace(d,function(p){return p.toLowerCase()===u.toLowerCase()?"<em>"+p+"</em>":p})},f.safeToString=function(l){return angular.isUndefined(l)||l==null?"":l.toString().trim()},f.encodeHTML=function(l){return f.safeToString(l).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},f.handleUndefinedResult=function(l,u){return function(){var s=l.apply(null,arguments);return angular.isUndefined(s)?u:s}},f.replaceSpacesWithDashes=function(l){return f.safeToString(l).replace(/\s/g,"-")},f.isModifierOn=function(l){return l.shiftKey||l.ctrlKey||l.altKey||l.metaKey},f.promisifyValue=function(l){return l=angular.isUndefined(l)?!0:l,g[l?"when":"reject"]()},f.simplePubSub=function(){var l={};return{on:function(u,s,d){return u.split(" ").forEach(function(p){l[p]||(l[p]=[]);var y=d?[].unshift:[].push;y.call(l[p],s)}),this},trigger:function(u,s){var d=l[u]||[];return d.every(function(p){return f.handleUndefinedResult(p,!0)(s)}),this}}},f}]),n.run(["$templateCache",function(a){a.put("ngTagsInput/tags-input.html",`<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{'invalid-tag': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>`),a.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list" data-ty-ui-select-simplebar><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>')}])})();window.Color=xt.default;window.bodyScrollLock=Pt;window.Qs=St.default;})();
/*!
 * Bootstrap v3.4.1 (https://getbootstrap.com/)
 * Copyright 2011-2019 Twitter, Inc.
 * Licensed under the MIT license
 */
/*!
 * ngTagsInput v3.2.0
 * http://mbenford.github.io/ngTagsInput
 *
 * Copyright (c) 2013-2017 Michael Benford
 * License: MIT
 *
 * Generated at 2017-04-15 17:08:51 -0300
 */
/*!
 * ui-select
 * http://github.com/angular-ui/ui-select
 * Version: 0.19.8 - 2017-04-18T05:43:43.673Z
 * License: MIT
 */
//# sourceMappingURL=vendor-unminified.bundle.js.map
;
