(()=>{var __webpack_exports__={};(function(scriptObjectName){if("string"!=typeof scriptObjectName)return;if("object"!=typeof window[scriptObjectName])return;var app=window[scriptObjectName];const tagName="kaizen-core";var init=function(){try{app.functionKaizen={}
/*! jQueryForJ v2.1.3 for Juicer | (c) 2018 juicer.cc */,eval(function(e,t,n,r,i,o){if(i=function(e){return(e<62?"":i(parseInt(e/62)))+((e%=62)>35?String.fromCharCode(e+29):e.toString(36))},!"".replace(/^/,String)){for(;n--;)o[i(n)]=r[n]||i(n);r=[function(e){return o[e]}],i=function(){return"\\w+"},n=1}for(;n--;)r[n]&&(e=e.replace(new RegExp("\\b"+i(n)+"\\b","g"),r[n]));return e}('!12(e,t){"1V"==1f 8l&&"1V"==1f 8l.bH?8l.bH=e.3u?t(e,!0):12(e){18(!e.3u)58 1q 6P("2G fB a 6N eR a 3u");14 t(e)}:t(e)}("3F"!=1f 6N?6N:15,12(e,t){12 n(e){17 t=e.1a,n=Z.1d(e);14"12"!==n&&!Z.3T(e)&&(!(1!==e.1e||!t)||("eP"===n||0===t||"5o"==1f t&&t>0&&t-1 1g e))}12 r(e,t,n){18(Z.1A(t))14 Z.4U(e,12(e,r){14!!t.1i(e,r,e)!==n});18(t.1e)14 Z.4U(e,12(e){14 e===t!==n});18("1s"==1f t){18(ae.1h(t))14 Z.1S(t,e,n);t=Z.1S(t,e)}14 Z.4U(e,12(e){14 J.1i(t,e)>=0!==n})}12 i(e,t){19(;(e=e[t])&&1!==e.1e;);14 e}12 o(e){17 t=3A[e]={};14 Z.1j(e.28(bf)||[],12(e,n){t[n]=!0}),t}12 s(){G.5b("ax",s,!1),e.5b("42",s,!1),Z.2C()}12 a(){6J.el(15.26={},0,{1l:12(){14{}}}),15.2j=Z.2j+a.7Z++}12 u(e,t,n){17 r;18(1c 0===n&&1===e.1e)18(r="1I-"+t.1t(be,"-$1").1r(),n=e.24(r),"1s"==1f n){2t{n="af"===n||"e7"!==n&&("1b"===n?1b:+n+""===n?+n:4T.1h(n)?Z.7V(n):n)}2s(i){}1U.1C(e,t,n)}1u n=1c 0;14 n}12 l(){14!0}12 c(){14!1}12 f(){2t{14 G.9X}2s(e){}}12 p(e,t){14 Z.1v(e,"34")&&Z.1v(11!==t.1e?t:t.2B,"6D")?e.2A("3V")[0]||e.27(e.1D.29("3V")):e}12 d(e){14 e.1d=(1b!==e.24("1d"))+"/"+e.1d,e}12 h(e){17 t=9P.1W(e.1d);14 t?e.1d=t[1]:e.7I("1d"),e}12 g(e,t){19(17 n=0,r=e.1a;n<r;n++)bi.1C(e[n],"4S",!t||bi.1l(t[n],"4S"))}12 m(e,t){17 n,r,i,o,s,a,u,l;18(1===t.1e){18(bi.3Z(e)&&(o=bi.2e(e),s=bi.1C(t,o),l=o.36)){1O s.37,s.36={};19(i 1g l)19(n=0,r=l[i].1a;n<r;n++)Z.1x.2u(t,i,l[i][n])}1U.3Z(e)&&(a=1U.2e(e),u=Z.1o({},a),1U.1C(t,u))}}12 v(e,t){17 n=e.2A?e.2A(t||"*"):e.2r?e.2r(t||"*"):[];14 1c 0===t||t&&Z.1v(e,t)?Z.2S([e],n):n}12 y(e,t){17 n=t.1v.1r();"1P"===n&&6A.1h(e.1d)?t.2m=e.2m:"1P"!==n&&"4Q"!==n||(t.6y=e.6y)}12 x(t,n){17 r,i=Z(n.29(t)).7D(n.5i),o=e.9z&&(r=e.9z(i[0]))?r.22:Z.1y(i[0],"22");14 i.7A(),o}12 b(e){17 t=G,n=$e[e];14 n||(n=x(e,t),"38"!==n&&n||(bn=(bn||Z("<ci cg=\'0\' 21=\'0\' 3w=\'0\'/>")).7D(t.2N),t=bn[0].9r,t.ca(),t.c5(),n=x(e,t),bn.7A()),$e[e]=n),n}12 w(e,t,n){17 r,i,o,s,a=e.1p;14 n=n||5j(e),n&&(s=n.gh(t)||n[t]),n&&(""!==s||Z.25(e.1D,e)||(s=Z.1p(e,t)),6u.1h(s)&&7r.1h(t)&&(r=a.21,i=a.7p,o=a.7n,a.7p=a.7n=a.21=s,s=n.21,a.21=r,a.7p=i,a.7n=o)),1c 0!==s?s+"":s}12 T(e,t){14{1l:12(){14 e()?1c 1O 15.1l:(15.1l=t).1z(15,1n)}}}12 C(e,t){18(t 1g e)14 t;19(17 n=t[0].7j()+t.1w(1),r=t,i=7i.1a;i--;)18(t=7i[i]+n,t 1g e)14 t;14 r}12 N(e,t,n){17 r=8W.1W(t);14 r?3N.7h(0,r[1]-(n||0))+(r[2]||"3x"):t}12 k(e,t,n,r,i){19(17 o=n===(r?"2l":"3j")?4:"21"===t?1:0,s=0;o<4;o+=2)"3k"===n&&(s+=Z.1y(e,n+23[o],!0,i)),r?("3j"===n&&(s-=Z.1y(e,"3H"+23[o],!0,i)),"3k"!==n&&(s-=Z.1y(e,"2l"+23[o]+"6q",!0,i))):(s+=Z.1y(e,"3H"+23[o],!0,i),"3H"!==n&&(s+=Z.1y(e,"2l"+23[o]+"6q",!0,i)));14 s}12 E(e,t,n){17 r=!0,i="21"===t?e.7e:e.8N,o=5j(e),s="2l-2c"===Z.1y(e,"bT",!1,o);18(i<=0||1b==i){18(i=w(e,t,o),(i<0||1b==i)&&(i=e.1p[t]),6u.1h(i))14 i;r=s&&(Y.bQ()||i===e.1p[t]),i=4h(i)||0}14 i+k(e,t,n||(s?"2l":"3j"),r,o)+"3x"}12 S(e,t){19(17 n,r,i,o=[],s=0,a=e.1a;s<a;s++)r=e[s],r.1p&&(o[s]=bi.1l(r,"6l"),n=r.1p.22,t?(o[s]||"38"!==n||(r.1p.22=""),""===r.1p.22&&3m(r)&&(o[s]=bi.2e(r,"6l",b(r.1v)))):(i=3m(r),"38"===n&&i||bi.1C(r,"6l",i?n:Z.1y(r,"22"))));19(s=0;s<a;s++)r=e[s],r.1p&&(t&&"38"!==r.1p.22&&""!==r.1p.22||(r.1p.22=t?o[s]||"":"38"));14 e}12 D(e,t,n,r,i){14 1q D.2I.4J(e,t,n,r,i)}12 j(){14 5L(12(){bp=1c 0}),bp=Z.2E()}12 A(e,t){17 n,r=0,i={3w:e};19(t=t?1:0;r<4;r+=2-t)n=23[r],i["3k"+n]=i["3H"+n]=e;14 t&&(i.3o=i.21=e),i}12 L(e,t,n){19(17 r,i=(4I[t]||[]).46(4I["*"]),o=0,s=i.1a;o<s;o++)18(r=i[o].1i(n,t,e))14 r}12 q(e,t,n){17 r,i,o,s,a,u,l,c,f=15,p={},d=e.1p,h=e.1e&&3m(e),g=bi.1l(e,"8j");n.1G||(a=Z.6i(e,"fx"),1b==a.5x&&(a.5x=0,u=a.2v.5B,a.2v.5B=12(){a.5x||u()}),a.5x++,f.3p(12(){f.3p(12(){a.5x--,Z.1G(e,"fx").1a||a.2v.5B()})})),1===e.1e&&("3w"1g t||"21"1g t)&&(n.3B=[d.3B,d.ah,d.ad],l=Z.1y(e,"22"),c="38"===l?bi.1l(e,"6l")||b(e.1v):l,"6g"===c&&"38"===Z.1y(e,"a8")&&(d.22="6g-51")),n.3B&&(d.3B="3r",f.3p(12(){d.3B=n.3B[0],d.ah=n.3B[1],d.ad=n.3B[2]}));19(r 1g t)18(i=t[r],a7.1W(i)){18(1O t[r],o=o||"4H"===i,i===(h?"3e":"2O")){18("2O"!==i||!g||1c 0===g[r])fW;h=!0}p[r]=g&&g[r]||Z.1p(e,r)}1u l=1c 0;18(Z.4G(p))"6g"===("38"===l?b(e.1v):l)&&(d.22=l);1u{g?"3r"1g g&&(h=g.3r):g=bi.2e(e,"8j",{}),o&&(g.3r=!h),h?Z(e).2O():f.2P(12(){Z(e).3e()}),f.2P(12(){17 t;bi.1T(e,"8j");19(t 1g p)Z.1p(e,t,p[t])});19(r 1g p)s=L(h?g[r]:0,r,f),r 1g g||(g[r]=s.2R,h&&(s.43=s.2R,s.2R="21"===r||"3w"===r?1:0))}}12 H(e,t){17 n,r,i,o,s;19(n 1g e)18(r=Z.3f(n),i=t[r],o=e[n],Z.2n(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,1O e[n]),s=Z.2K[r],s&&"7X"1g s){o=s.7X(o),1O e[r];19(n 1g o)n 1g e||(e[n]=o[n],t[n]=i)}1u t[r]=i}12 F(e,t,n){17 r,i,o=0,s=5t.1a,a=Z.4b().3p(12(){1O u.1F}),u=12(){18(i)14!1;19(17 t=bp||j(),n=3N.7h(0,l.9W+l.2x-t),r=n/l.2x||0,o=1-r,s=0,u=l.4C.1a;s<u;s++)l.4C[s].7R(o);14 a.9Q(e,[l,o,n]),o<1&&u?n:(a.4k(e,[l]),!1)},l=a.1Z({1F:e,3q:Z.1o({},t),2o:Z.1o(!0,{7M:{}},n),fw:t,ff:n,9W:bp||j(),2x:n.2x,4C:[],9w:12(t,n){17 r=Z.9s(e,l.2o,t,n,l.2o.7M[t]||l.2o.4x);14 l.4C.1k(r),r},2h:12(t){17 n=0,r=t?l.4C.1a:0;18(i)14 15;19(i=!0;n<r;n++)l.4C[n].7R(1);14 t?a.4k(e,[l,t]):a.9g(e,[l,t]),15}}),c=l.3q;19(H(c,l.2o.7M);o<s;o++)18(r=5t[o].1i(l,e,c,l.2o))14 r;14 Z.2g(c,L,l),Z.1A(l.2o.2R)&&l.2o.2R.1i(e,l),Z.fx.9d(Z.1o(u,{1F:e,7H:l,1G:l.2o.1G})),l.5h(l.2o.5h).2P(l.2o.2P,l.2o.3z).40(l.2o.40).3p(l.2o.3p)}12 O(e){14 12(t,n){"1s"!=1f t&&(n=t,t="*");17 r,i=0,o=t.1r().28(bf)||[];18(Z.1A(n))19(;r=o[i++];)"+"===r[0]?(r=r.1w(1)||"*",(e[r]=e[r]||[]).35(n)):(e[r]=e[r]||[]).1k(n)}}12 P(e,t,n,r){12 i(a){17 u;14 o[a]=!0,Z.1j(e[a]||[],12(e,a){17 l=a(t,n,r);14"1s"!=1f l||s||o[l]?s?!(u=l):1c 0:(t.2M.35(l),i(l),!1)}),u}17 o={},s=e===6c;14 i(t.2M[0])||!o["*"]&&i("*")}12 R(e,t){17 n,r,i=Z.3J.95||{};19(n 1g t)1c 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);14 r&&Z.1o(!0,e,r),e}12 M(e,t,n){19(17 r,i,o,s,a=e.4v,u=e.2M;"*"===u[0];)u.2T(),1c 0===r&&(r=e.6a||t.68("8E-8D"));18(r)19(i 1g a)18(a[i]&&a[i].1h(r)){u.35(i);2D}18(u[0]1g n)o=u[0];1u{19(i 1g n){18(!u[0]||e.4t[i+" "+u[0]]){o=i;2D}s||(s=i)}o=o||s}18(o)14 o!==u[0]&&u.35(o),n[o]}12 W(e,t,n,r){17 i,o,s,a,u,l={},c=e.2M.1w();18(c[1])19(s 1g e.4t)l[s.1r()]=e.4t[s];19(o=c.2T();o;)18(e.7g[o]&&(n[e.7g[o]]=t),!u&&r&&e.aS&&(t=e.aS(t,e.5H)),u=o,o=c.2T())18("*"===o)o=u;1u 18("*"!==u&&u!==o){18(s=l[u+" "+o]||l["* "+o],!s)19(i 1g l)18(a=i.2k(" "),a[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){s===!0?s=l[i]:l[i]!==!0&&(o=a[0],c.35(a[1]));2D}18(s!==!0)18(s&&e["aR"])t=s(t);1u 2t{t=s(t)}2s(f){14{64:"an",1R:s?f:"ai eZ eV "+u+" eH "+o}}}14{64:"61",1I:t}}12 $(e,t,n,r){17 i;18(Z.2n(t))Z.1j(t,12(t,i){n||9S.1h(e)?r(e,i):$(e+"["+("1V"==1f i?t:"")+"]",i,n,r)});1u 18(n||"1V"!==Z.1d(t))r(e,t);1u 19(i 1g t)$(e+"["+i+"]",t[i],n,r)}12 I(e){14 Z.3T(e)?e:9===e.1e&&e.5c}17 B=[],2i=B.1w,z=B.46,X=B.1k,J=B.1Y,U={},V=U.dO,Q=U.7o,Y={},G=e.3u,K="2.1.3",Z=12(e,t){14 1q Z.fn.4J(e,t)},ee=/^[\\s\\94\\92]+|[\\s\\94\\92]+$/g,4F=/^-8p-/,1B=/-([\\da-z])/gi,3t=12(e,t){14 t.7j()};Z.fn=Z.2I={2G:K,4e:Z,2a:"",1a:0,fF:12(){14 2i.1i(15)},1l:12(e){14 1b!=e?e<0?15[e+15.1a]:15[e]:2i.1i(15)},2H:12(e){17 t=Z.2S(15.4e(),e);14 t.5X=15,t.2V=15.2V,t},1j:12(e,t){14 Z.1j(15,e,t)},2g:12(e){14 15.2H(Z.2g(15,12(t,n){14 e.1i(t,n,t)}))},1w:12(){14 15.2H(2i.1z(15,1n))},3L:12(){14 15.eq(0)},4m:12(){14 15.eq(-1)},eq:12(e){17 t=15.1a,n=+e+(e<0?t:0);14 15.2H(n>=0&&n<t?[15[n]]:[])},43:12(){14 15.5X||15.4e(1b)},1k:X,4l:B.4l,2U:B.2U},Z.1o=Z.fn.1o=12(){17 e,t,n,r,i,o,s=1n[0]||{},a=1,u=1n.1a,l=!1;19("47"==1f s&&(l=s,s=1n[a]||{},a++),"1V"==1f s||Z.1A(s)||(s={}),a===u&&(s=15,a--);a<u;a++)18(1b!=(e=1n[a]))19(t 1g e)n=s[t],r=e[t],s!==r&&(l&&r&&(Z.52(r)||(i=Z.2n(r)))?(i?(i=!1,o=n&&Z.2n(n)?n:[]):o=n&&Z.52(n)?n:{},s[t]=Z.1o(l,o,r)):1c 0!==r&&(s[t]=r));14 s},Z.1o({2j:"2G"+(K+3N.aM()).1t(/\\D/g,""),5V:!0,1R:12(e){58 1q 6P(e)},ey:12(){},1A:12(e){14"12"===Z.1d(e)},2n:56.2n,3T:12(e){14 1b!=e&&e===e.6N},9N:12(e){14!Z.2n(e)&&e-4h(e)+1>=0},52:12(e){14"1V"===Z.1d(e)&&!e.1e&&!Z.3T(e)&&!(e.4e&&!Q.1i(e.4e.2I,"e2"))},4G:12(e){17 t;19(t 1g e)14!1;14!0},1d:12(e){14 1b==e?e+"":"1V"==1f e||"12"==1f e?U[V.1i(e)]||"1V":1f e},4S:12(e){17 t,n=cn;e=Z.4f(e),e&&(1===e.1Y("g2 g0")?(t=G.29("1Q"),t.1J=e,G.8I.27(t).1m.4z(t)):n(e))},3f:12(e){14 e.1t(4F,"8p-").1t(1B,3t)},1v:12(e,t){14 e.1v&&e.1v.1r()===t.1r()},1j:12(e,t,r){17 i,o=0,s=e.1a,a=n(e);18(r){18(a)19(;o<s&&(i=t.1z(e[o],r),i!==!1);o++);1u 19(o 1g e)18(i=t.1z(e[o],r),i===!1)2D}1u 18(a)19(;o<s&&(i=t.1i(e[o],o,e[o]),i!==!1);o++);1u 19(o 1g e)18(i=t.1i(e[o],o,e[o]),i===!1)2D;14 e},4f:12(e){14 1b==e?"":(e+"").1t(ee,"")},4A:12(e,t){17 r=t||[];14 1b!=e&&(n(6J(e))?Z.2S(r,"1s"==1f e?[e]:e):X.1i(r,e)),r},4B:12(e,t,n){14 1b==t?-1:J.1i(t,e,n)},2S:12(e,t){19(17 n=+t.1a,r=0,i=e.1a;r<n;r++)e[i++]=t[r];14 e.1a=i,e},4U:12(e,t,n){19(17 r,i=[],o=0,s=e.1a,a=!n;o<s;o++)r=!t(e[o],o),r!==a&&i.1k(e[o]);14 i},2g:12(e,t,r){17 i,o=0,s=e.1a,a=n(e),u=[];18(a)19(;o<s;o++)i=t(e[o],o,r),1b!=i&&u.1k(i);1u 19(o 1g e)i=t(e[o],o,r),1b!=i&&u.1k(i);14 z.1z([],u)},1X:1,fG:12(e,t){17 n,r,i;18("1s"==1f t&&(n=e[t],t=e,e=n),Z.1A(e))14 r=2i.1i(1n,2),i=12(){14 e.1z(t||15,r.46(2i.1i(1n)))},i.1X=e.1X=e.1X||Z.1X++,i},2E:7E.2E,9Y:Y}),Z.1j("ef fX 6k eA 56 7E 1H 6J 6P".2k(" "),12(e,t){U["[1V "+t+"]"]=t.1r()});17 ba=12(e){12 t(e,t,n,r){17 i,o,s,a,u,l,f,d,h,g;18((t?t.1D||t:$)!==q&&L(t),t=t||q,n=n||[],a=t.1e,"1s"!=1f e||!e||1!==a&&9!==a&&11!==a)14 n;18(!r&&F){18(11!==a&&(i=1U.1W(e)))18(s=i[1]){18(9===a){18(o=t.5u(s),!o||!o.1m)14 n;18(o.2z===s)14 n.1k(o),n}1u 18(t.1D&&(o=t.1D.5u(s))&&M(t,o)&&o.2z===s)14 n.1k(o),n}1u{18(i[2])14 K.1z(n,t.2A(e)),n;18((s=i[3])&&w.4L)14 K.1z(n,t.4L(s)),n}18(w.74&&(!O||!O.1h(e))){18(d=f=W,h=t,g=1!==a&&e,1===a&&"1V"!==t.1v.1r()){19(l=k(e),(f=t.24("2z"))?d=f.1t(be,"\\\\$&"):t.39("2z",d),d="[2z=\'"+d+"\'] ",u=l.1a;u--;)l[u]=d+p(l[u]);h=4T.1h(e)&&c(t.1m)||t,g=l.3d(",")}18(g)2t{14 K.1z(n,h.2r(g)),n}2s(m){}b6{f||t.7I("2z")}}}14 S(e.1t(bc,"$1"),t,n,r)}12 n(){12 e(n,r){14 t.1k(n+" ")>T.ac&&1O e[t.2T()],e[n+" "]=r}17 t=[];14 e}12 r(e){14 e[W]=!0,e}12 i(e){17 t=q.29("3h");2t{14!!e(t)}2s(n){14!1}b6{t.1m&&t.1m.4z(t),t=1b}}12 o(e,t){19(17 n=e.2k("|"),r=e.1a;r--;)T.5D[n[r]]=t}12 s(e,t){17 n=t&&e,r=n&&1===e.1e&&1===t.1e&&(~t.aa||U)-(~e.aa||U);18(r)14 r;18(n)19(;n=n.33;)18(n===t)14-1;14 e?1:-1}12 a(e){14 12(t){17 n=t.1v.1r();14"1P"===n&&t.1d===e}}12 u(e){14 12(t){17 n=t.1v.1r();14("1P"===n||"2Z"===n)&&t.1d===e}}12 l(e){14 r(12(t){14 t=+t,r(12(n,r){19(17 i,o=e([],n.1a,t),s=o.1a;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}12 c(e){14 e&&"3F"!=1f e.2A&&e}12 f(){}12 p(e){19(17 t=0,n=e.1a,r="";t<n;t++)r+=e[t].1E;14 r}12 d(e,t,n){17 r=t.2F,i=n&&"1m"===r,o=B++;14 t.3L?12(t,n,o){19(;t=t[r];)18(1===t.1e||i)14 e(t,n,o)}:12(t,n,s){17 a,u,l=[I,o];18(s){19(;t=t[r];)18((1===t.1e||i)&&e(t,n,s))14!0}1u 19(;t=t[r];)18(1===t.1e||i){18(u=t[W]||(t[W]={}),(a=u[r])&&a[0]===I&&a[1]===o)14 l[2]=a[2];18(u[r]=l,l[2]=e(t,n,s))14!0}}}12 h(e){14 e.1a>1?12(t,n,r){19(17 i=e.1a;i--;)18(!e[i](t,n,r))14!1;14!0}:e[0]}12 g(e,n,r){19(17 i=0,o=n.1a;i<o;i++)t(e,n[i],r);14 r}12 m(e,t,n,r,i){19(17 o,s=[],a=0,u=e.1a,l=1b!=t;a<u;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.1k(o),l&&t.1k(a)));14 s}12 v(e,t,n,i,o,s){14 i&&!i[W]&&(i=v(i)),o&&!o[W]&&(o=v(o,s)),r(12(r,s,a,u){17 l,c,f,p=[],d=[],h=s.1a,v=r||g(t||"*",a.1e?[a]:a,[]),y=!e||!r&&t?v:m(v,p,e,a,u),x=n?o||(r?e:h||i)?[]:s:y;18(n&&n(y,x,a,u),i)19(l=m(x,d),i(l,[],a,u),c=l.1a;c--;)(f=l[c])&&(x[d[c]]=!(y[d[c]]=f));18(r){18(o||e){18(o){19(l=[],c=x.1a;c--;)(f=x[c])&&l.1k(y[c]=f);o(1b,x=[],l,u)}19(c=x.1a;c--;)(f=x[c])&&(l=o?ee(r,f):p[c])>-1&&(r[l]=!(s[l]=f))}}1u x=m(x===s?x.2U(h,x.1a):x),o?o(1b,s,x,u):K.1z(s,x)})}12 y(e){19(17 t,n,r,i=e.1a,o=T.3I[e[0].1d],s=o||T.3I[" "],a=o?1:0,u=d(12(e){14 e===t},s,!0),l=d(12(e){14 ee(t,e)>-1},s,!0),c=[12(e,n,r){17 i=!o&&(r||n!==D)||((t=n).1e?u(e,n,r):l(e,n,r));14 t=1b,i}];a<i;a++)18(n=T.3I[e[a].1d])c=[d(h(c),n)];1u{18(n=T.1S[e[a].1d].1z(1b,e[a].3Q),n[W]){19(r=++a;r<i&&!T.3I[e[r].1d];r++);14 v(a>1&&h(c),a>1&&p(e.1w(0,a-1).46({1E:" "===e[a-2].1d?"*":""})).1t(bc,"$1"),n,a<r&&y(e.1w(a,r)),r<i&&y(e=e.1w(r)),r<i&&p(e))}c.1k(n)}14 h(c)}12 x(e,n){17 i=n.1a>0,o=e.1a>0,s=12(r,s,a,u,l){17 c,f,p,d=0,h="0",g=r&&[],v=[],y=D,x=r||o&&T.1L.6p("*",l),b=I+=1b==y?1:3N.aM()||.1,w=x.1a;19(l&&(D=s!==q&&s);h!==w&&1b!=(c=x[h]);h++){18(o&&c){19(f=0;p=e[f++];)18(p(c,s,a)){u.1k(c);2D}l&&(I=b)}i&&((c=!p&&c)&&d--,r&&g.1k(c))}18(d+=h,i&&h!==d){19(f=0;p=n[f++];)p(g,v,s,a);18(r){18(d>0)19(;h--;)g[h]||v[h]||(v[h]=Y.1i(u));v=m(v)}K.1z(u,v),l&&!r&&v.1a>0&&d+n.1a>1&&t.78(u)}14 l&&(I=b,D=y),g};14 i?r(s):s}17 b,w,T,C,N,k,E,S,D,j,A,L,q,H,F,O,P,R,M,W="eW"+1*1q 7E,$=e.3u,I=0,B=0,2i=n(),z=n(),X=n(),J=12(e,t){14 e===t&&(A=!0),0},U=1<<31,V={}.7o,Q=[],Y=Q.49,G=Q.1k,K=Q.1k,Z=Q.1w,ee=12(e,t){19(17 n=0,r=e.1a;n<r;n++)18(e[n]===t)14 n;14-1},4F="2m|3c|4M|co|cX|dh|e3|2p|3r|eB|eF|7u|az|f7|fv|fy",1B="[\\\\fz\\\\t\\\\r\\\\n\\\\f]",3t="(?:\\\\\\\\.|[\\\\w-]|[^\\\\fC-\\\\fH])+",ba=3t.1t("w","w#"),bb="\\\\["+1B+"*("+3t+")(?:"+1B+"*([*^$|!~]?=)"+1B+"*(?:\'((?:\\\\\\\\.|[^\\\\\\\\\'])*)\'|\\"((?:\\\\\\\\.|[^\\\\\\\\\\"])*)\\"|("+ba+"))|)"+1B+"*\\\\]",3Y=":("+3t+")(?:\\\\(((\'((?:\\\\\\\\.|[^\\\\\\\\\'])*)\'|\\"((?:\\\\\\\\.|[^\\\\\\\\\\"])*)\\")|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|"+bb+")*)|.*)\\\\)|)",ae=1q 1H(1B+"+","g"),bc=1q 1H("^"+1B+"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)"+1B+"+$","g"),5N=1q 1H("^"+1B+"*,"+1B+"*"),ce=1q 1H("^"+1B+"*([>+~]|"+1B+")"+1B+"*"),bd=1q 1H("="+1B+"*([^\\\\]\'\\"]*?)"+1B+"*\\\\]","g"),5O=1q 1H(3Y),bf=1q 1H("^"+ba+"$"),3A={4d:1q 1H("^#("+3t+")"),7U:1q 1H("^\\\\.("+3t+")"),6p:1q 1H("^("+3t.1t("w","w*")+")"),7Y:1q 1H("^"+bb),7q:1q 1H("^"+3Y),5P:1q 1H("^:(98|3L|4m|4E|4E-4m)-(fe|a9-1d)(?:\\\\("+1B+"*(5Q|5m|(([+-]|)(\\\\d*)n|)"+1B+"*(?:([+-]|)"+1B+"*(\\\\d+)|))"+1B+"*\\\\)|)","i"),5R:1q 1H("^(?:"+4F+")$","i"),4D:1q 1H("^"+1B+"*[>+~]|:(5Q|5m|eq|5S|bI|4E|3L|4m)(?:\\\\("+1B+"*((?:-\\\\d)?\\\\d*)"+1B+"*\\\\)|)(?=[^-]|$)","i")},bg=/^(?:1P|2J|4Q|2Z)$/i,bh=/^h\\d$/i,bi=/^[^{]+\\{\\s*\\[cb \\w/,1U=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,4T=/[+~]/,be=/\'|\\\\/g,bj=1q 1H("\\\\\\\\([\\\\da-f]{1,6}"+1B+"?|("+1B+")|.)","cp"),23=12(e,t,n){17 r="cV"+t-9C;14 r!==r||n?t:r<0?6k.9F(r+9C):6k.9F(r>>10|dF,dQ&r|dZ)},3m=12(){L()};2t{K.1z(Q=Z.1i($.3l),$.3l),Q[$.3l.1a].1e}2s(6A){K={1z:Q.1a?12(e,t){G.1z(e,Z.1i(t))}:12(e,t){19(17 n=e.1a,r=0;e[n++]=t[r++];);e.1a=n-1}}}w=t.9Y={},N=t.9L=12(e){17 t=e&&(e.1D||e).2N;14!!t&&"e4"!==t.1v},L=t.e6=12(e){17 t,n,r=e?e.1D||e:$;14 r!==q&&9===r.1e&&r.2N?(q=r,H=r.2N,n=r.5c,n&&n!==n.1M&&(n.3P?n.3P("9R",3m,!1):n.5T&&n.5T("a1",3m)),F=!N(r),w.5U=i(12(e){14 e.1K="i",!e.24("1K")}),w.2A=i(12(e){14 e.27(r.f6("")),!e.2A("*").1a}),w.4L=bi.1h(r.4L),w.7F=i(12(e){14 H.27(e).2z=W,!r.aq||!r.aq(W).1a}),w.7F?(T.1L.4d=12(e,t){18("3F"!=1f t.5u&&F){17 n=t.5u(e);14 n&&n.1m?[n]:[]}},T.1S.4d=12(e){17 t=e.1t(bj,23);14 12(e){14 e.24("2z")===t}}):(1O T.1L.4d,T.1S.4d=12(e){17 t=e.1t(bj,23);14 12(e){17 n="3F"!=1f e.5W&&e.5W("2z");14 n&&n.1E===t}}),T.1L.6p=w.2A?12(e,t){14"3F"!=1f t.2A?t.2A(e):w.74?t.2r(e):1c 0}:12(e,t){17 n,r=[],i=0,o=t.2A(e);18("*"===e){19(;n=o[i++];)1===n.1e&&r.1k(n);14 r}14 o},T.1L.7U=w.4L&&12(e,t){18(F)14 t.4L(e)},P=[],O=[],(w.74=bi.1h(r.2r))&&(i(12(e){H.27(e).3y="<a 2z=\'"+W+"\'></a><2J 2z=\'"+W+"-\\f]\' aW=\'\'><4i 3c=\'\'></4i></2J>",e.2r("[aW^=\'\']").1a&&O.1k("[*^$]="+1B+"*(?:\'\'|\\"\\")"),e.2r("[3c]").1a||O.1k("\\\\["+1B+"*(?:1E|"+4F+")"),e.2r("[2z~="+W+"-]").1a||O.1k("~="),e.2r(":2m").1a||O.1k(":2m"),e.2r("a#"+W+"+*").1a||O.1k(".#.+[+~]")}),i(12(e){17 t=r.29("1P");t.39("1d","3r"),e.27(t).39("2Q","D"),e.2r("[2Q=d]").1a&&O.1k("2Q"+1B+"*[*^$|!~]?="),e.2r(":8n").1a||O.1k(":8n",":2p"),e.2r("*,:x"),O.1k(",.*:")})),(w.5z=bi.1h(R=H.3Q||H.fI||H.fN||H.fQ||H.fT))&&i(12(e){w.8u=R.1i(e,"3h"),R.1i(e,"[s!=\'\']:x"),P.1k("!=",3Y)}),O=O.1a&&1q 1H(O.3d("|")),P=P.1a&&1q 1H(P.3d("|")),t=bi.1h(H.3G),M=t||bi.1h(H.25)?12(e,t){17 n=9===e.1e?e.2N:e,r=t&&t.1m;14 e===r||!(!r||1!==r.1e||!(n.25?n.25(r):e.3G&&16&e.3G(r)))}:12(e,t){18(t)19(;t=t.1m;)18(t===e)14!0;14!1},J=t?12(e,t){18(e===t)14 A=!0,0;17 n=!e.3G-!t.3G;14 n?n:(n=(e.1D||e)===(t.1D||t)?e.3G(t):1,1&n||!w.8A&&t.3G(e)===n?e===r||e.1D===$&&M($,e)?-1:t===r||t.1D===$&&M($,t)?1:j?ee(j,e)-ee(j,t):0:4&n?-1:1)}:12(e,t){18(e===t)14 A=!0,0;17 n,i=0,o=e.1m,a=t.1m,u=[e],l=[t];18(!o||!a)14 e===r?-1:t===r?1:o?-1:a?1:j?ee(j,e)-ee(j,t):0;18(o===a)14 s(e,t);19(n=e;n=n.1m;)u.35(n);19(n=t;n=n.1m;)l.35(n);19(;u[i]===l[i];)i++;14 i?s(u[i],l[i]):u[i]===$?-1:l[i]===$?1:0},r):q},t.3Q=12(e,n){14 t(e,1b,1b,n)},t.5z=12(e,n){18((e.1D||e)!==q&&L(e),n=n.1t(bd,"=\'$1\']"),w.5z&&F&&(!P||!P.1h(n))&&(!O||!O.1h(n)))2t{17 r=R.1i(e,n);18(r||w.8u||e.3u&&11!==e.3u.1e)14 r}2s(i){}14 t(n,q,1b,[e]).1a>0},t.25=12(e,t){14(e.1D||e)!==q&&L(e),M(e,t)},t.3s=12(e,t){(e.1D||e)!==q&&L(e);17 n=T.5D[t.1r()],r=n&&V.1i(T.5D,t.1r())?n(e,t,!F):1c 0;14 1c 0!==r?r:w.5U||!F?e.24(t):(r=e.5W(t))&&r.8P?r.1E:1b},t.1R=12(e){58 1q 6P("cd 1R, cf ch: "+e)},t.78=12(e){17 t,n=[],r=0,i=0;18(A=!w.8T,j=!w.8Y&&e.1w(0),e.4l(J),A){19(;t=e[i++];)t===e[i]&&(r=n.1k(i));19(;r--;)e.2U(n[r],1)}14 j=1b,e},C=t.91=12(e){17 t,n="",r=0,i=e.1e;18(i){18(1===i||9===i||11===i){18("1s"==1f e.3D)14 e.3D;19(e=e.2B;e;e=e.33)n+=C(e)}1u 18(3===i||4===i)14 e.cW}1u 19(;t=e[r++];)n+=C(t);14 n},T=t.93={ac:50,d0:r,28:3A,5D:{},1L:{},3I:{">":{2F:"1m",3L:!0}," ":{2F:"1m"},"+":{2F:"4n",3L:!0},"~":{2F:"4n"}},96:{7Y:12(e){14 e[1]=e[1].1t(bj,23),e[3]=(e[3]||e[4]||e[5]||"").1t(bj,23),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.1w(0,4)},5P:12(e){14 e[1]=e[1].1r(),"4E"===e[1].1w(0,3)?(e[3]||t.1R(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("5Q"===e[3]||"5m"===e[3])),e[5]=+(e[7]+e[8]||"5m"===e[3])):e[3]&&t.1R(e[0]),e},7q:12(e){17 t,n=!e[6]&&e[2];14 3A.5P.1h(e[0])?1b:(e[3]?e[2]=e[4]||e[5]||"":n&&5O.1h(n)&&(t=k(n,!0))&&(t=n.1Y(")",n.1a-t)-n.1a)&&(e[0]=e[0].1w(0,t),e[2]=n.1w(0,t)),e.1w(0,3))}},1S:{6p:12(e){17 t=e.1t(bj,23).1r();14"*"===e?12(){14!0}:12(e){14 e.1v&&e.1v.1r()===t}},7U:12(e){17 t=2i[e+" "];14 t||(t=1q 1H("(^|"+1B+")"+e+"("+1B+"|$)"))&&2i(e,12(e){14 t.1h("1s"==1f e.1K&&e.1K||"3F"!=1f e.24&&e.24("9e")||"")})},7Y:12(e,n,r){14 12(i){17 o=t.3s(i,e);14 1b==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.1Y(r):"*="===n?r&&o.1Y(r)>-1:"$="===n?r&&o.1w(-r.1a)===r:"~="===n?(" "+o.1t(ae," ")+" ").1Y(r)>-1:"|="===n&&(o===r||o.1w(0,r.1a+1)===r+"-"))}},5P:12(e,t,n,r,i){17 o="4E"!==e.1w(0,3),s="4m"!==e.1w(-4),a="a9-1d"===t;14 1===r&&0===i?12(e){14!!e.1m}:12(t,n,u){17 l,c,f,p,d,h,g=o!==s?"33":"4n",m=t.1m,v=a&&t.1v.1r(),y=!u&&!a;18(m){18(o){19(;g;){19(f=t;f=f[g];)18(a?f.1v.1r()===v:1===f.1e)14!1;h=g="98"===e&&!h&&"33"}14!0}18(h=[s?m.2B:m.5Y],s&&y){19(c=m[W]||(m[W]={}),l=c[e]||[],d=l[0]===I&&l[1],p=l[0]===I&&l[2],f=d&&m.3l[d];f=++d&&f&&f[g]||(p=d=0)||h.49();)18(1===f.1e&&++p&&f===t){c[e]=[I,d,p];2D}}1u 18(y&&(l=(t[W]||(t[W]={}))[e])&&l[0]===I)p=l[1];1u 19(;(f=++d&&f&&f[g]||(p=d=0)||h.49())&&((a?f.1v.1r()!==v:1!==f.1e)||!++p||(y&&((f[W]||(f[W]={}))[e]=[I,p]),f!==t)););14 p-=i,p===r||p%r===0&&p/r>=0}}},7q:12(e,n){17 i,o=T.3n[e]||T.7v[e.1r()]||t.1R("9M e5: "+e);14 o[W]?o(n):o.1a>1?(i=[e,e,"",n],T.7v.7o(e.1r())?r(12(e,t){19(17 r,i=o(e,n),s=i.1a;s--;)r=ee(e,i[s]),e[r]=!(t[r]=i[s])}):12(e){14 o(e,0,i)}):o}},3n:{5Z:r(12(e){17 t=[],n=[],i=E(e.1t(bc,"$1"));14 i[W]?r(12(e,t,n,r){19(17 o,s=i(e,1b,r,[]),a=e.1a;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):12(e,r,o){14 t[0]=e,i(t,1b,o,n),t[0]=1b,!n.49()}}),60:r(12(e){14 12(n){14 t(e,n).1a>0}}),25:r(12(e){14 e=e.1t(bj,23),12(t){14(t.3D||t.em||C(t)).1Y(e)>-1}}),59:r(12(e){14 bf.1h(e||"")||t.1R("9M 59: "+e),e=e.1t(bj,23).1r(),12(t){17 n;do 18(n=F?t.59:t.24("3i:59")||t.24("59"))14 n=n.1r(),n===e||0===n.1Y(e+"-");9Z((t=t.1m)&&1===t.1e);14!1}}),2y:12(t){17 n=e.7O&&e.7O.eO;14 n&&n.1w(1)===t.2z},eQ:12(e){14 e===H},4o:12(e){14 e===q.9X&&(!q.a4||q.a4())&&!!(e.1d||e.4p||~e.62)},8n:12(e){14 e.2p===!1},2p:12(e){14 e.2p===!0},2m:12(e){17 t=e.1v.1r();14"1P"===t&&!!e.2m||"4i"===t&&!!e.3c},3c:12(e){14 e.1m&&e.1m.63,e.3c===!0},2v:12(e){19(e=e.2B;e;e=e.33)18(e.1e<6)14!1;14!0},8b:12(e){14!T.3n.2v(e)},fg:12(e){14 bh.1h(e.1v)},1P:12(e){14 bg.1h(e.1v)},2Z:12(e){17 t=e.1v.1r();14"1P"===t&&"2Z"===e.1d||"2Z"===t},1J:12(e){17 t;14"1P"===e.1v.1r()&&"1J"===e.1d&&(1b==(t=e.24("1d"))||"1J"===t.1r())},3L:l(12(){14[0]}),4m:l(12(e,t){14[t-1]}),eq:l(12(e,t,n){14[n<0?n+t:n]}),5Q:l(12(e,t){19(17 n=0;n<t;n+=2)e.1k(n);14 e}),5m:l(12(e,t){19(17 n=1;n<t;n+=2)e.1k(n);14 e}),bI:l(12(e,t,n){19(17 r=n<0?n+t:n;--r>=0;)e.1k(r);14 e}),5S:l(12(e,t,n){19(17 r=n<0?n+t:n;++r<t;)e.1k(r);14 e})}},T.3n.4E=T.3n.eq;19(b 1g{4q:!0,4Z:!0,8d:!0,as:!0,ay:!0})T.3n[b]=a(b);19(b 1g{8e:!0,aF:!0})T.3n[b]=u(b);14 f.2I=T.5K=T.3n,T.7v=1q f,k=t.fJ=12(e,n){17 r,i,o,s,a,u,l,c=z[e+" "];18(c)14 n?0:c.1w(0);19(a=e,u=[],l=T.96;a;){r&&!(i=5N.1W(a))||(i&&(a=a.1w(i[0].1a)||a),u.1k(o=[])),r=!1,(i=ce.1W(a))&&(r=i.2T(),o.1k({1E:r,1d:i[0].1t(bc," ")}),a=a.1w(r.1a));19(s 1g T.1S)!(i=3A[s].1W(a))||l[s]&&!(i=l[s](i))||(r=i.2T(),o.1k({1E:r,1d:s,3Q:i}),a=a.1w(r.1a));18(!r)2D}14 n?a.1a:a?t.1R(e):z(e,u).1w(0)},E=t.fM=12(e,t){17 n,r=[],i=[],o=X[e+" "];18(!o){19(t||(t=k(e)),n=t.1a;n--;)o=y(t[n]),o[W]?r.1k(o):i.1k(o);o=X(e,x(i,r)),o.2a=e}14 o},S=t.2J=12(e,t,n,r){17 i,o,s,a,u,l="12"==1f e&&e,f=!r&&k(e=l.2a||e);18(n=n||[],1===f.1a){18(o=f[0]=f[0].1w(0),o.1a>2&&"4d"===(s=o[0]).1d&&w.7F&&9===t.1e&&F&&T.3I[o[1].1d]){18(t=(T.1L.4d(s.3Q[0].1t(bj,23),t)||[])[0],!t)14 n;l&&(t=t.1m),e=e.1w(o.2T().1E.1a)}19(i=3A.4D.1h(e)?0:o.1a;i--&&(s=o[i],!T.3I[a=s.1d]);)18((u=T.1L[a])&&(r=u(s.3Q[0].1t(bj,23),4T.1h(o[0].1d)&&c(t.1m)||t))){18(o.2U(i,1),e=r.1a&&p(o),!e)14 K.1z(n,r),n;2D}}14(l||E(e,f))(r,t,!F,n,4T.1h(e)&&c(t.1m)||t),n},w.8Y=W.2k("").4l(J).3d("")===W,w.8T=!!A,L(),w.8A=i(12(e){14 1&e.3G(q.29("3h"))}),i(12(e){14 e.3y="<a 4p=\'#\'></a>","#"===e.2B.24("4p")})||o("1d|4p|3w|21",12(e,t,n){18(!n)14 e.24(t,"1d"===t.1r()?1:2)}),w.5U&&i(12(e){14 e.3y="<1P/>",e.2B.39("1E",""),""===e.2B.24("1E")})||o("1E",12(e,t,n){18(!n&&"1P"===e.1v.1r())14 e.6y}),i(12(e){14 1b==e.24("2p")})||o(4F,12(e,t,n){17 r;18(!n)14 e[t]===!0?t.1r():(r=e.5W(t))&&r.8P?r.1E:1b}),t}(e);Z.1L=ba,Z.2w=ba.93,Z.2w[":"]=Z.2w.3n,Z.4r=ba.78,Z.1J=ba.91,Z.65=ba.9L,Z.25=ba.25;17 bb=Z.2w.28.4D,3Y=/^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,ae=/^.[^:#\\[\\.,]*$/;Z.1S=12(e,t,n){17 r=t[0];14 n&&(e=":5Z("+e+")"),1===t.1a&&1===r.1e?Z.1L.5z(r,e)?[r]:[]:Z.1L.3Q(e,Z.4U(t,12(e){14 1===e.1e}))},Z.fn.1o({1L:12(e){17 t,n=15.1a,r=[],i=15;18("1s"!=1f e)14 15.2H(Z(e).1S(12(){19(t=0;t<n;t++)18(Z.25(i[t],15))14!0}));19(t=0;t<n;t++)Z.1L(e,i[t],r);14 r=15.2H(n>1?Z.4r(r):r),r.2a=15.2a?15.2a+" "+e:e,r},1S:12(e){14 15.2H(r(15,e||[],!1))},5Z:12(e){14 15.2H(r(15,e||[],!0))},6U:12(e){14!!r(15,"1s"==1f e&&bb.1h(e)?Z(e):e||[],!1).1a}});17 bc,5N=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,ce=Z.fn.4J=12(e,t){17 n,r;18(!e)14 15;18("1s"==1f e){18(n="<"===e[0]&&">"===e[e.1a-1]&&e.1a>=3?[1b,e,1b]:5N.1W(e),!n||!n[1]&&t)14!t||t.2G?(t||bc).1L(e):15.4e(t).1L(e);18(n[1]){18(t=t bF Z?t[0]:t,Z.2S(15,Z.6Z(n[1],t&&t.1e?t.1D||t:G,!0)),3Y.1h(n[1])&&Z.52(t))19(n 1g t)Z.1A(15[n])?15[n](t[n]):15.3s(n,t[n]);14 15}14 r=G.5u(n[2]),r&&r.1m&&(15.1a=1,15[0]=r),15.2V=G,15.2a=e,15}14 e.1e?(15.2V=15[0]=e,15.1a=1,15):Z.1A(e)?"3F"!=1f bc.2C?bc.2C(e):e(Z):(1c 0!==e.2a&&(15.2a=e.2a,15.2V=e.2V),Z.4A(e,15))};ce.2I=Z.fn,bc=Z(G);17 bd=/^(?:bJ|71(?:bO|cc))/,5O={bP:!0,4v:!0,bR:!0,71:!0};Z.1o({2F:12(e,t,n){19(17 r=[],i=1c 0!==n;(e=e[t])&&9!==e.1e;)18(1===e.1e){18(i&&Z(e).6U(n))2D;r.1k(e)}14 r},79:12(e,t){19(17 n=[];e;e=e.33)1===e.1e&&e!==t&&n.1k(e);14 n}}),Z.fn.1o({60:12(e){17 t=Z(e,15),n=t.1a;14 15.1S(12(){19(17 e=0;e<n;e++)18(Z.25(15,t[e]))14!0})},cj:12(e,t){19(17 n,r=0,i=15.1a,o=[],s=bb.1h(e)||"1s"!=1f e?Z(e,t||15.2V):0;r<i;r++)19(n=15[r];n&&n!==t;n=n.1m)18(n.1e<11&&(s?s.7c(n)>-1:1===n.1e&&Z.1L.5z(n,e))){o.1k(n);2D}14 15.2H(o.1a>1?Z.4r(o):o)},7c:12(e){14 e?"1s"==1f e?J.1i(Z(e),15[0]):J.1i(15,e.2G?e[0]:e):15[0]&&15[0].1m?15.3L().8w().1a:-1},2u:12(e,t){14 15.2H(Z.4r(Z.2S(15.1l(),Z(e,t))))},8z:12(e){14 15.2u(1b==e?15.5X:15.5X.1S(e))}}),Z.1j({8b:12(e){17 t=e.1m;14 t&&11!==t.1e?t:1b},bJ:12(e){14 Z.2F(e,"1m")},cq:12(e,t,n){14 Z.2F(e,"1m",n)},bR:12(e){14 i(e,"33")},71:12(e){14 i(e,"4n")},cv:12(e){14 Z.2F(e,"33")},8w:12(e){14 Z.2F(e,"4n")},cw:12(e,t,n){14 Z.2F(e,"33",n)},cx:12(e,t,n){14 Z.2F(e,"4n",n)},cR:12(e){14 Z.79((e.1m||{}).2B,e)},bP:12(e){14 Z.79(e.2B)},4v:12(e){14 e.9r||Z.2S([],e.3l)}},12(e,t){Z.fn[e]=12(n,r){17 i=Z.2g(15,t,n);14"bO"!==e.1w(-5)&&(r=n),r&&"1s"==1f r&&(i=Z.1S(r,i)),15.1a>1&&(5O[e]||Z.4r(i),bd.1h(e)&&i.cT()),15.2H(i)}});17 bf=/\\S+/g,3A={};Z.4s=12(e){e="1s"==1f e?3A[e]||o(e):Z.1o({},e);17 t,n,r,i,s,a,u=[],l=!e.5A&&[],c=12(o){19(t=e.4u&&o,n=!0,a=i||0,i=0,s=u.1a,r=!0;u&&a<s;a++)18(u[a].1z(o[0],o[1])===!1&&e.cZ){t=!1;2D}r=!1,u&&(l?l.1a&&c(l.2T()):t?u=[]:f.66())},f={2u:12(){18(u){17 n=u.1a;!12 o(t){Z.1j(t,12(t,n){17 r=Z.1d(n);"12"===r?e.4r&&f.60(n)||u.1k(n):n&&n.1a&&"1s"!==r&&o(n)})}(1n),r?s=u.1a:t&&(i=n,c(t))}14 15},1T:12(){14 u&&Z.1j(1n,12(e,t){19(17 n;(n=Z.4B(t,u,n))>-1;)u.2U(n,1),r&&(n<=s&&s--,n<=a&&a--)}),15},60:12(e){14 e?Z.4B(e,u)>-1:!(!u||!u.1a)},2v:12(){14 u=[],s=0,15},66:12(){14 u=l=t=1c 0,15},2p:12(){14!u},8M:12(){14 l=1c 0,t||f.66(),15},dg:12(){14!l},67:12(e,t){14!u||n&&!l||(t=t||[],t=[e,t.1w?t.1w():t],r?l.1k(t):c(t)),15},5B:12(){14 f.67(15,1n),15},dk:12(){14!!n}};14 f},Z.1o({4b:12(e){17 t=[["8S","2P",Z.4s("5A 4u"),"dE"],["7s","40",Z.4s("5A 4u"),"dI"],["8U","5h",Z.4s("4u")]],n="dN",r={64:12(){14 n},3p:12(){14 i.2P(1n).40(1n),15},8V:12(){17 e=1n;14 Z.4b(12(n){Z.1j(t,12(t,o){17 s=Z.1A(e[t])&&e[t];i[o[1]](12(){17 e=s&&s.1z(15,1n);e&&Z.1A(e.1Z)?e.1Z().2P(n.8S).40(n.7s).5h(n.8U):n[o[0]+"5y"](15===r?n.1Z():15,s?[e]:1n)})}),e=1b}).1Z()},1Z:12(e){14 1b!=e?Z.1o(e,r):r}},i={};14 r.dX=r.8V,Z.1j(t,12(e,o){17 s=o[2],a=o[3];r[o[1]]=s.2u,a&&s.2u(12(){n=a},t[1^e][2].66,t[2][2].8M),i[o[0]]=12(){14 i[o[0]+"5y"](15===i?r:15,1n),15},i[o[0]+"5y"]=s.67}),r.1Z(i),e&&e.1i(i,i),i},dY:12(e){17 t,n,r,i=0,o=2i.1i(1n),s=o.1a,a=1!==s||e&&Z.1A(e.1Z)?s:0,u=1===a?e:Z.4b(),l=12(e,n,r){14 12(i){n[e]=15,r[e]=1n.1a>1?2i.1i(1n):i,r===t?u.9Q(n,r):--a||u.4k(n,r)}};18(s>1)19(t=1q 56(s),n=1q 56(s),r=1q 56(s);i<s;i++)o[i]&&Z.1A(o[i].1Z)?o[i].1Z().2P(l(i,r,o)).40(u.7s).5h(l(i,n,t)):--a;14 a||u.4k(r,o),u.1Z()}});17 bg;Z.fn.2C=12(e){14 Z.2C.1Z().2P(e),15},Z.1o({5V:!1,69:1,e1:12(e){e?Z.69++:Z.2C(!0)},2C:12(e){(e===!0?--Z.69:Z.5V)||(Z.5V=!0,e!==!0&&--Z.69>0||(bg.4k(G,[Z]),Z.fn.7y&&(Z(G).7y("2C"),Z(G).3g("2C"))))}}),Z.2C.1Z=12(t){14 bg||(bg=Z.4b(),"3z"===G.6b?5L(Z.2C):(G.3P("ax",s,!1),e.3P("42",s,!1))),bg.1Z(t)},Z.2C.1Z();17 bh=Z.2e=12(e,t,n,r,i,o,s){17 a=0,u=e.1a,l=1b==n;18("1V"===Z.1d(n)){i=!0;19(a 1g n)Z.2e(e,t,a,n[a],!0,o,s)}1u 18(1c 0!==r&&(i=!0,Z.1A(r)||(s=!0),l&&(s?(t.1i(e,r),t=1b):(l=t,t=12(e,t,n){14 l.1i(Z(e),n)})),t))19(;a<u;a++)t(e[a],n,s?r:r.1i(e[a],a,t(e[a],n)));14 i?e:l?t.1i(e):u?t(e[0],n):o};Z.5s=12(e){14 1===e.1e||9===e.1e||!+e.1e},a.7Z=1,a.45=Z.5s,a.2I={4w:12(e){18(!a.45(e))14 0;17 t={},n=e[15.2j];18(!n){n=a.7Z++;2t{t[15.2j]={1E:n},6J.eg(e,t)}2s(r){t[15.2j]=n,Z.1o(e,t)}}14 15.26[n]||(15.26[n]={}),n},1C:12(e,t,n){17 r,i=15.4w(e),o=15.26[i];18("1s"==1f t)o[t]=n;1u 18(Z.4G(o))Z.1o(15.26[i],t);1u 19(r 1g t)o[r]=t[r];14 o},1l:12(e,t){17 n=15.26[15.4w(e)];14 1c 0===t?n:n[t]},2e:12(e,t,n){17 r;14 1c 0===t||t&&"1s"==1f t&&1c 0===n?(r=15.1l(e,t),1c 0!==r?r:15.1l(e,Z.3f(t))):(15.1C(e,t,n),1c 0!==n?n:t)},1T:12(e,t){17 n,r,i,o=15.4w(e),s=15.26[o];18(1c 0===t)15.26[o]={};1u{Z.2n(t)?r=t.46(t.2g(Z.3f)):(i=Z.3f(t),t 1g s?r=[t,i]:(r=i,r=r 1g s?[r]:r.28(bf)||[])),n=r.1a;19(;n--;)1O s[r[n]]}},3Z:12(e){14!Z.4G(15.26[e[15.2j]]||{})},ei:12(e){e[15.2j]&&1O 15.26[e[15.2j]]}};17 bi=1q a,1U=1q a,4T=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,be=/([A-Z])/g;Z.1o({3Z:12(e){14 1U.3Z(e)||bi.3Z(e)},1I:12(e,t,n){14 1U.2e(e,t,n)},9a:12(e,t){1U.1T(e,t)},eu:12(e,t,n){14 bi.2e(e,t,n)},ex:12(e,t){bi.1T(e,t)}}),Z.fn.1o({1I:12(e,t){17 n,r,i,o=15[0],s=o&&o.5U;18(1c 0===e){18(15.1a&&(i=1U.1l(o),1===o.1e&&!bi.1l(o,"9c"))){19(n=s.1a;n--;)s[n]&&(r=s[n].2Q,0===r.1Y("1I-")&&(r=Z.3f(r.1w(5)),u(o,r,i[r])));bi.1C(o,"9c",!0)}14 i}14"1V"==1f e?15.1j(12(){1U.1C(15,e)}):bh(15,12(t){17 n,r=Z.3f(e);18(o&&1c 0===t){18(n=1U.1l(o,e),1c 0!==n)14 n;18(n=1U.1l(o,r),1c 0!==n)14 n;18(n=u(o,r,1c 0),1c 0!==n)14 n}1u 15.1j(12(){17 n=1U.1l(15,r);1U.1C(15,r,t),e.1Y("-")!==-1&&1c 0!==n&&1U.1C(15,e,t)})},1b,t,1n.1a>1,1b,!0)},9a:12(e){14 15.1j(12(){1U.1T(15,e)})}}),Z.1o({1G:12(e,t,n){17 r;18(e)14 t=(t||"fx")+"1G",r=bi.1l(e,t),n&&(!r||Z.2n(n)?r=bi.2e(e,t,Z.4A(n)):r.1k(n)),r||[]},3X:12(e,t){t=t||"fx";17 n=Z.1G(e,t),r=n.1a,i=n.2T(),o=Z.6i(e,t),s=12(){Z.3X(e,t)};"7J"===i&&(i=n.2T(),r--),i&&("fx"===t&&n.35("7J"),1O o.2h,i.1i(e,s,o)),!r&&o&&o.2v.5B()},6i:12(e,t){17 n=t+"5d";14 bi.1l(e,n)||bi.2e(e,n,{2v:Z.4s("5A 4u").2u(12(){bi.1T(e,[t+"1G",n])})})}}),Z.fn.1o({1G:12(e,t){17 n=2;14"1s"!=1f e&&(t=e,e="fx",n--),1n.1a<n?Z.1G(15[0],e):1c 0===t?15:15.1j(12(){17 n=Z.1G(15,e,t);Z.6i(15,e),"fx"===e&&"7J"!==n[0]&&Z.3X(15,e)})},3X:12(e){14 15.1j(12(){Z.3X(15,e)})},eG:12(e){14 15.1G(e||"fx",[])},1Z:12(e,t){17 n,r=1,i=Z.4b(),o=15,s=15.1a,a=12(){--r||i.4k(o,[o])};19("1s"!=1f e&&(t=e,e=1c 0),e=e||"fx";s--;)n=bi.1l(o[s],e+"5d"),n&&n.2v&&(r++,n.2v.2u(a));14 a(),i.1Z(t)}});17 bj=/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.9j,23=["eI","eJ","eK","eM"],3m=12(e,t){14 e=t||e,"38"===Z.1y(e,"22")||!Z.25(e.1D,e)},6A=/^(?:4Z|4q)$/i;!12(){17 e=G.9k(),t=e.27(G.29("3h")),n=G.29("1P");n.39("1d","4q"),n.39("2m","2m"),n.39("2Q","t"),t.27(n),Y.9n=t.57(!0).57(!0).5Y.2m,t.3y="<4Q>x</4Q>",Y.9t=!!t.57(!0).5Y.6y}();17 bk="3F";Y.9x="f5"1g e;17 bl=/^4w/,9A=/^(?:f8|f9|9B)|3S/,7K=/^(?:fl|fm)$/,7L=/^([^.]*)(?:\\.(.+)|)$/;Z.1x={53:{},2u:12(e,t,n,r,i){17 o,s,a,u,l,c,f,p,d,h,g,m=bi.1l(e);18(m)19(n.3E&&(o=n,n=o.3E,i=o.2a),n.1X||(n.1X=Z.1X++),(u=m.36)||(u=m.36={}),(s=m.37)||(s=m.37=12(t){14 1f Z!==bk&&Z.1x.6d!==t.1d?Z.1x.7P.1z(e,1n):1c 0}),t=(t||"").28(bf)||[""],l=t.1a;l--;)a=7L.1W(t[l])||[],d=g=a[1],h=(a[2]||"").2k(".").4l(),d&&(f=Z.1x.2Y[d]||{},d=(i?f.4y:f.6e)||d,f=Z.1x.2Y[d]||{},c=Z.1o({1d:d,4Y:g,1I:r,3E:n,1X:n.1X,2a:i,4D:i&&Z.2w.28.4D.1h(i),3v:h.3d(".")},o),(p=u[d])||(p=u[d]=[],p.6f=0,f.82&&f.82.1i(e,r,h,s)!==!1||e.3P&&e.3P(d,s,!1)),f.2u&&(f.2u.1i(e,c),c.3E.1X||(c.3E.1X=n.1X)),i?p.2U(p.6f++,0,c):p.1k(c),Z.1x.53[d]=!0)},1T:12(e,t,n,r,i){17 o,s,a,u,l,c,f,p,d,h,g,m=bi.3Z(e)&&bi.1l(e);18(m&&(u=m.36)){19(t=(t||"").28(bf)||[""],l=t.1a;l--;)18(a=7L.1W(t[l])||[],d=g=a[1],h=(a[2]||"").2k(".").4l(),d){19(f=Z.1x.2Y[d]||{},d=(r?f.4y:f.6e)||d,p=u[d]||[],a=a[2]&&1q 1H("(^|\\\\.)"+h.3d("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),s=o=p.1a;o--;)c=p[o],!i&&g!==c.4Y||n&&n.1X!==c.1X||a&&!a.1h(c.3v)||r&&r!==c.2a&&("**"!==r||!c.2a)||(p.2U(o,1),c.2a&&p.6f--,f.1T&&f.1T.1i(e,c));s&&!p.1a&&(f.83&&f.83.1i(e,h,m.37)!==!1||Z.86(e,d,m.37),1O u[d])}1u 19(d 1g u)Z.1x.1T(e,d+t[l],n,r,!0);Z.4G(u)&&(1O m.37,bi.1T(e,"36"))}},2f:12(t,n,r,i){17 o,s,a,u,l,c,f,p=[r||G],d=Q.1i(t,"1d")?t.1d:t,h=Q.1i(t,"3v")?t.3v.2k("."):[];18(s=a=r=r||G,3!==r.1e&&8!==r.1e&&!7K.1h(d+Z.1x.6d)&&(d.1Y(".")>=0&&(h=d.2k("."),d=h.2T(),h.4l()),l=d.1Y(":")<0&&"2W"+d,t=t[Z.2j]?t:1q Z.3O(d,"1V"==1f t&&t),t.fY=i?2:3,t.3v=h.3d("."),t.89=t.3v?1q 1H("(^|\\\\.)"+h.3d("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"):1b,t.3C=1c 0,t.2y||(t.2y=r),n=1b==n?[t]:Z.4A(n,[t]),f=Z.1x.2Y[d]||{},i||!f.2f||f.2f.1z(r,n)!==!1)){18(!i&&!f.ab&&!Z.3T(r)){19(u=f.4y||d,7K.1h(u+d)||(s=s.1m);s;s=s.1m)p.1k(s),a=s;a===(r.1D||G)&&p.1k(a.5c||a.gb||e)}19(o=0;(s=p[o++])&&!t.6h();)t.1d=o>1?u:f.6e||d,c=(bi.1l(s,"36")||{})[t.1d]&&bi.1l(s,"37"),c&&c.1z(s,n),c=l&&s[l],c&&c.1z&&Z.5s(s)&&(t.3C=c.1z(s,n),t.3C===!1&&t.4j());14 t.1d=d,i||t.5F()||f.30&&f.30.1z(p.49(),n)!==!1||!Z.5s(r)||l&&Z.1A(r[d])&&!Z.3T(r)&&(a=r[l],a&&(r[l]=1b),Z.1x.6d=d,r[d](),Z.1x.6d=1c 0,a&&(r[l]=a)),t.3C}},7P:12(e){e=Z.1x.8h(e);17 t,n,r,i,o,s=[],a=2i.1i(1n),u=(bi.1l(15,"36")||{})[e.1d]||[],l=Z.1x.2Y[e.1d]||{};18(a[0]=e,e.ao=15,!l.ap||l.ap.1i(15,e)!==!1){19(s=Z.1x.5w.1i(15,e,u),t=0;(i=s[t++])&&!e.6h();)19(e.ar=i.1F,n=0;(o=i.5w[n++])&&!e.8k();)e.89&&!e.89.1h(o.3v)||(e.6j=o,e.1I=o.1I,r=((Z.1x.2Y[o.4Y]||{}).37||o.3E).1z(i.1F,a),1c 0!==r&&(e.3C=r)===!1&&(e.4j(),e.5f()));14 l.6S&&l.6S.1i(15,e),e.3C}},5w:12(e,t){17 n,r,i,o,s=[],a=t.6f,u=e.2y;18(a&&u.1e&&(!e.2Z||"3S"!==e.1d))19(;u!==15;u=u.1m||15)18(u.2p!==!0||"3S"!==e.1d){19(r=[],n=0;n<a;n++)o=t[n],i=o.2a+" ",1c 0===r[i]&&(r[i]=o.4D?Z(i,15).7c(u)>=0:Z.1L(i,15,1b,[u]).1a),r[i]&&r.1k(o);r.1a&&s.1k({1F:u,5w:r})}14 a<t.1a&&s.1k({1F:15,5w:t.1w(a)}),s},3q:"cz cA cB cI ar cJ cP aG cS 2y 6T cU 54".2k(" "),6V:{},aT:{3q:"cY 6W 4w b1".2k(" "),1S:12(e,t){14 1b==e.54&&(e.54=1b!=t.6W?t.6W:t.b1),e}},b3:{3q:"2Z df 6X bE di dj 6Y bG dl dm dp".2k(" "),1S:12(e,t){17 n,r,i,o=t.2Z;14 1b==e.6Y&&1b!=t.6X&&(n=e.2y.1D||G,r=n.2N,i=n.5i,e.6Y=t.6X+(r&&r.6m||i&&i.6m||0)-(r&&r.70||i&&i.70||0),e.bG=t.bE+(r&&r.6n||i&&i.6n||0)-(r&&r.72||i&&i.72||0)),e.54||1c 0===o||(e.54=1&o?1:2&o?3:4&o?2:0),e}},8h:12(e){18(e[Z.2j])14 e;17 t,n,r,i=e.1d,o=e,s=15.6V[i];19(s||(15.6V[i]=s=9A.1h(i)?15.b3:bl.1h(i)?15.aT:{}),r=s.3q?15.3q.46(s.3q):15.3q,e=1q Z.3O(o),t=r.1a;t--;)n=r[t],e[n]=o[n];14 e.2y||(e.2y=G),3===e.2y.1e&&(e.2y=e.2y.1m),s.1S?s.1S(e,o):e},2Y:{42:{ab:!0},4o:{2f:12(){18(15!==f()&&15.4o)14 15.4o(),!1},4y:"73"},5G:{2f:12(){18(15===f()&&15.5G)14 15.5G(),!1},4y:"6R"},3S:{2f:12(){18("4Z"===15.1d&&15.3S&&Z.1v(15,"1P"))14 15.3S(),!1},30:12(e){14 Z.1v(e.2y,"a")}},dS:{6S:12(e){1c 0!==e.3C&&e.4c&&(e.4c.8r=e.3C)}}},8s:12(e,t,n,r){17 i=Z.1o(1q Z.3O,n,{1d:e,e0:!0,4c:{}});r?Z.1x.2f(i,1b,t):Z.1x.7P.1i(t,i),i.5F()&&n.4j()}},Z.86=12(e,t,n){e.5b&&e.5b(t,n,!1)},Z.3O=12(e,t){14 15 bF Z.3O?(e&&e.1d?(15.4c=e,15.1d=e.1d,15.5F=e.8t||1c 0===e.8t&&e.8r===!1?l:c):15.1d=e,t&&Z.1o(15,t),15.6T=e&&e.6T||Z.2E(),1c(15[Z.2j]=!0)):1q Z.3O(e,t)},Z.3O.2I={5F:c,6h:c,8k:c,4j:12(){17 e=15.4c;15.5F=l,e&&e.4j&&e.4j()},5f:12(){17 e=15.4c;15.6h=l,e&&e.5f&&e.5f()},75:12(){17 e=15.4c;15.8k=l,e&&e.75&&e.75(),15.5f()}},Z.1j({76:"8v",77:"8x",e8:"eb",ec:"ed"},12(e,t){Z.1x.2Y[e]={4y:t,6e:t,37:12(e){17 n,r=15,i=e.aG,o=e.6j;14 i&&(i===r||Z.25(r,i))||(e.1d=o.4Y,n=o.3E.1z(15,1n),e.1d=t),n}}}),Y.9x||Z.1j({4o:"73",5G:"6R"},12(e,t){17 n=12(e){Z.1x.8s(t,e.2y,Z.1x.8h(e),!0)};Z.1x.2Y[t]={82:12(){17 r=15.1D||15,i=bi.2e(r,t);i||r.3P(e,n,!0),bi.2e(r,t,(i||0)+1)},83:12(){17 r=15.1D||15,i=bi.2e(r,t)-1;i?bi.2e(r,t,i):(r.5b(e,n,!0),bi.1T(r,t))}}}),Z.fn.1o({2W:12(e,t,n,r,i){17 o,s;18("1V"==1f e){"1s"!=1f t&&(n=n||t,t=1c 0);19(s 1g e)15.2W(s,t,n,e[s],i);14 15}18(1b==n&&1b==r?(r=t,n=t=1c 0):1b==r&&("1s"==1f t?(r=n,n=1c 0):(r=n,n=t,t=1c 0)),r===!1)r=c;1u 18(!r)14 15;14 1===i&&(o=r,r=12(e){14 Z().3g(e),o.1z(15,1n)},r.1X=o.1X||(o.1X=Z.1X++)),15.1j(12(){Z.1x.2u(15,e,r,n,t)})},8y:12(e,t,n,r){14 15.2W(e,t,n,r,1)},3g:12(e,t,n){17 r,i;18(e&&e.4j&&e.6j)14 r=e.6j,Z(e.ao).3g(r.3v?r.4Y+"."+r.3v:r.4Y,r.2a,r.3E),15;18("1V"==1f e){19(i 1g e)15.3g(i,t,e[i]);14 15}14 t!==!1&&"12"!=1f t||(n=t,t=1c 0),n===!1&&(n=c),15.1j(12(){Z.1x.1T(15,e,n,t)})},2f:12(e,t){14 15.1j(12(){Z.1x.2f(e,t,15)})},7y:12(e,t){17 n=15[0];18(n)14 Z.1x.2f(e,t,n,!0)}});17 bm=/<(?!eh|br|8B|eo|er|es|1P|8C|ev|6o)(([\\w:]+)[^>]*)\\/>/gi,7a=/<([\\w:]+)/,8F=/<|&#?\\w+;/,8G=/<(?:1Q|1p|8C)/i,8H=/2m\\s*(?:[^=]|=\\s*.2m.)/i,7b=/^$|\\/(?:8J|8K)1Q/i,9P=/^af\\/(.*)/,8L=/^\\s*<!(?:\\[gj\\[|--)|(?:\\]\\]|--)>\\s*$/g,2q={4i:[1,"<2J 7u=\'7u\'>","</2J>"],8O:[1,"<34>","</34>"],8B:[2,"<34><7d>","</7d></34>"],6D:[2,"<34><3V>","</3V></34>"],8Q:[3,"<34><3V><6D>","</6D></3V></34>"],30:[0,"",""]};2q.8R=2q.4i,2q.3V=2q.eS=2q.7d=2q.eT=2q.8O,2q.eU=2q.8Q,Z.1o({4K:12(e,t,n){17 r,i,o,s,a=e.57(!0),u=Z.25(e.1D,e);18(!(Y.9t||1!==e.1e&&11!==e.1e||Z.65(e)))19(s=v(a),o=v(e),r=0,i=o.1a;r<i;r++)y(o[r],s[r]);18(t)18(n)19(o=o||v(e),s=s||v(a),r=0,i=o.1a;r<i;r++)m(o[r],s[r]);1u m(e,a);14 s=v(a,"1Q"),s.1a>0&&g(s,!u&&v(e,"1Q")),a},7f:12(e,t,n,r){19(17 i,o,s,a,u,l,c=t.9k(),f=[],p=0,d=e.1a;p<d;p++)18(i=e[p],i||0===i)18("1V"===Z.1d(i))Z.2S(f,i.1e?[i]:i);1u 18(8F.1h(i)){19(o=o||c.27(t.29("3h")),s=(7a.1W(i)||["",""])[1].1r(),a=2q[s]||2q.30,o.3y=a[1]+i.1t(bm,"<$1></$2>")+a[2],l=a[0];l--;)o=o.5Y;Z.2S(f,o.3l),o=c.2B,o.3D=""}1u f.1k(t.eX(i));19(c.3D="",p=0;i=f[p++];)18((!r||Z.4B(i,r)===-1)&&(u=Z.25(i.1D,i),o=v(c.27(i),"1Q"),u&&g(o),n))19(l=0;i=o[l++];)7b.1h(i.1d||"")&&n.1k(i);14 c},5q:12(e){19(17 t,n,r,i,o=Z.1x.2Y,s=0;1c 0!==(n=e[s]);s++){18(Z.5s(n)&&(i=n[bi.2j],i&&(t=bi.26[i]))){18(t.36)19(r 1g t.36)o[r]?Z.1x.1T(n,r):Z.86(n,r,t.37);bi.26[i]&&1O bi.26[i]}1O 1U.26[n[1U.2j]]}}}),Z.fn.1o({1J:12(e){14 bh(15,12(e){14 1c 0===e?Z.1J(15):15.2v().1j(12(){1!==15.1e&&11!==15.1e&&9!==15.1e||(15.3D=e)})},1b,e,1n.1a)},4N:12(){14 15.4g(1n,12(e){18(1===15.1e||11===15.1e||9===15.1e){17 t=p(15,e);t.27(e)}})},8X:12(){14 15.4g(1n,12(e){18(1===15.1e||11===15.1e||9===15.1e){17 t=p(15,e);t.5J(e,t.2B)}})},8Z:12(){14 15.4g(1n,12(e){15.1m&&15.1m.5J(e,15)})},90:12(){14 15.4g(1n,12(e){15.1m&&15.1m.5J(e,15.33)})},1T:12(e,t){19(17 n,r=e?Z.1S(e,15):15,i=0;1b!=(n=r[i]);i++)t||1!==n.1e||Z.5q(v(n)),n.1m&&(t&&Z.25(n.1D,n)&&g(v(n,"1Q")),n.1m.4z(n));14 15},2v:12(){19(17 e,t=0;1b!=(e=15[t]);t++)1===e.1e&&(Z.5q(v(e,!1)),e.3D="");14 15},4K:12(e,t){14 e=1b!=e&&e,t=1b==t?e:t,15.2g(12(){14 Z.4K(15,e,t)})},2L:12(e){14 bh(15,12(e){17 t=15[0]||{},n=0,r=15.1a;18(1c 0===e&&1===t.1e)14 t.3y;18("1s"==1f e&&!8G.1h(e)&&!2q[(7a.1W(e)||["",""])[1].1r()]){e=e.1t(bm,"<$1></$2>");2t{19(;n<r;n++)t=15[n]||{},1===t.1e&&(Z.5q(v(t,!1)),t.3y=e);t=0}2s(i){}}t&&15.2v().4N(e)},1b,e,1n.1a)},7k:12(){17 e=1n[0];14 15.4g(1n,12(t){e=15.1m,Z.5q(v(15)),e&&e.fk(t,15)}),e&&(e.1a||e.1e)?15:15.1T()},7A:12(e){14 15.1T(e,!0)},4g:12(e,t){e=z.1z([],e);17 n,r,i,o,s,a,u=0,l=15.1a,c=15,f=l-1,p=e[0],g=Z.1A(p);18(g||l>1&&"1s"==1f p&&!Y.9n&&8H.1h(p))14 15.1j(12(n){17 r=c.eq(n);g&&(e[0]=p.1i(15,n,r.2L())),r.4g(e,t)});18(l&&(n=Z.7f(e,15[0].1D,!1,15),r=n.2B,1===n.3l.1a&&(n=r),r)){19(i=Z.2g(v(n,"1Q"),d),o=i.1a;u<l;u++)s=n,u!==f&&(s=Z.4K(s,!0,!0),o&&Z.2S(i,v(s,"1Q"))),t.1i(15[u],s,u);18(o)19(a=i[i.1a-1].1D,Z.2g(i,h),u=0;u<o;u++)s=i[u],7b.1h(s.1d||"")&&!bi.2e(s,"4S")&&Z.25(a,s)&&(s.7l?Z.7m&&Z.7m(s.7l):Z.4S(s.3D.1t(8L,"")))}14 15}}),Z.1j({7D:"4N",fo:"8X",5J:"8Z",fq:"90",fs:"7k"},12(e,t){Z.fn[e]=12(e){19(17 n,r=[],i=Z(e),o=i.1a-1,s=0;s<=o;s++)n=s===o?15:15.4K(!0),Z(i[s])[t](n),X.1z(r,n.1l());14 15.2H(r)}});17 bn,$e={},7r=/^3k/,6u=1q 1H("^("+bj+")(?!3x)[a-z%]+$","i"),5j=12(t){14 t.1D.5c.fu?t.1D.5c.5r(t,1b):e.5r(t,1b)};!12(){12 t(){s.1p.6r="-97-2c-4O:2l-2c;-99-2c-4O:2l-2c;2c-4O:2l-2c;22:51;3k-1M:1%;1M:1%;2l:6s;3H:6s;21:9b;3b:6t",s.3y="",i.27(o);17 t=e.5r(s,1b);n="1%"!==t.1M,r="9b"===t.21,i.4z(o)}17 n,r,i=G.2N,o=G.29("3h"),s=G.29("3h");s.1p&&(s.1p.7t="3j-2c",s.57(!0).1p.7t="",Y.9f="3j-2c"===s.1p.7t,o.1p.6r="2l:0;21:0;3w:0;1M:0;2d:-fO;3k-1M:6s;3b:6t",o.27(s),e.5r&&Z.1o(Y,{9h:12(){14 t(),n},bQ:12(){14 1b==r&&t(),r},9i:12(){17 t,n=s.27(G.29("3h"));14 n.1p.6r=s.1p.6r="-97-2c-4O:3j-2c;-99-2c-4O:3j-2c;2c-4O:3j-2c;22:51;3k:0;2l:0;3H:0",n.1p.6v=n.1p.21="0",s.1p.21="6s",i.27(o),t=!4h(e.5r(n,1b).6v),i.4z(o),s.4z(n),t}}))}(),Z.7w=12(e,t,n,r){17 i,o,s={};19(o 1g t)s[o]=e.1p[o],e.1p[o]=t[o];i=n.1z(e,r||[]);19(o 1g t)e.1p[o]=s[o];14 i};17 bo=/^(38|34(?!-c[ea]).+)/,8W=1q 1H("^("+bj+")(.*)$","i"),9l=1q 1H("^([+-])=("+bj+")","i"),9m={3b:"6t",fZ:"3r",22:"51"},7x={g1:"0",9o:"9p"},7i=["ge","O","gg","8p"];Z.1o({2K:{3o:{1l:12(e,t){18(t){17 n=w(e,"3o");14""===n?"1":n}}}},5k:{bV:!0,bW:!0,bX:!0,bY:!0,9o:!0,bZ:!0,3o:!0,c0:!0,c1:!0,c2:!0,c3:!0,c4:!0},4P:{"a8":"c6"},1p:12(e,t,n,r){18(e&&3!==e.1e&&8!==e.1e&&e.1p){17 i,o,s,a=Z.3f(t),u=e.1p;14 t=Z.4P[a]||(Z.4P[a]=C(u,a)),s=Z.2K[t]||Z.2K[a],1c 0===n?s&&"1l"1g s&&1c 0!==(i=s.1l(e,!1,r))?i:u[t]:(o=1f n,"1s"===o&&(i=9l.1W(n))&&(n=(i[1]+1)*i[2]+4h(Z.1y(e,t)),o="5o"),1b!=n&&n===n&&("5o"!==o||Z.5k[a]||(n+="3x"),Y.9f||""!==n||0!==t.1Y("c7")||(u[t]="c8"),s&&"1C"1g s&&1c 0===(n=s.1C(e,n,r))||(u[t]=n)),1c 0)}},1y:12(e,t,n,r){17 i,o,s,a=Z.3f(t);14 t=Z.4P[a]||(Z.4P[a]=C(e.1p,a)),s=Z.2K[t]||Z.2K[a],s&&"1l"1g s&&(i=s.1l(e,!0,n)),1c 0===i&&(i=w(e,t,r)),"c9"===i&&t 1g 7x&&(i=7x[t]),""===n||n?(o=4h(i),n===!0||Z.9N(o)?o||0:i):i}}),Z.1j(["3w","21"],12(e,t){Z.2K[t]={1l:12(e,n,r){18(n)14 bo.1h(Z.1y(e,"22"))&&0===e.7e?Z.7w(e,9m,12(){14 E(e,t,r)}):E(e,t,r)},1C:12(e,n,r){17 i=r&&5j(e);14 N(e,n,r?k(e,t,r,"2l-2c"===Z.1y(e,"bT",!1,i),i):0)}}}),Z.2K.6v=T(Y.9i,12(e,t){18(t)14 Z.7w(e,{22:"6g-51"},w,[e,"6v"])}),Z.1j({3k:"",3H:"",2l:"6q"},12(e,t){Z.2K[e+t]={7X:12(n){19(17 r=0,i={},o="1s"==1f n?n.2k(" "):[n];r<4;r++)i[e+23[r]+t]=o[r]||o[r-2]||o[0];14 i}},7r.1h(e)||(Z.2K[e+t].1C=N)}),Z.fn.1o({1y:12(e,t){14 bh(15,12(e,t,n){17 r,i,o={},s=0;18(Z.2n(t)){19(r=5j(e),i=t.1a;s<i;s++)o[t[s]]=Z.1y(e,t[s],!1,r);14 o}14 1c 0!==n?Z.1p(e,t,n):Z.1y(e,t)},e,t,1n.1a>1)},2O:12(){14 S(15,!0)},3e:12(){14 S(15)},4H:12(e){14"47"==1f e?e?15.2O():15.3e():15.1j(12(){3m(15)?Z(15).2O():Z(15).3e()})}}),Z.9s=D,D.2I={4e:D,4J:12(e,t,n,r,i,o){15.1F=e,15.1N=n,15.4x=i||"9q",15.3M=t,15.2R=15.2E=15.6w(),15.43=r,15.7z=o||(Z.5k[n]?"":"3x")},6w:12(){17 e=D.3a[15.1N];14 e&&e.1l?e.1l(15):D.3a.30.1l(15)},7R:12(e){17 t,n=D.3a[15.1N];14 15.3M.2x?15.9u=t=Z.4x[15.4x](e,15.3M.2x*e,0,1,15.3M.2x):15.9u=t=e,15.2E=(15.43-15.2R)*t+15.2R,15.3M.5C&&15.3M.5C.1i(15.1F,15.2E,15),n&&n.1C?n.1C(15):D.3a.30.1C(15),15}},D.2I.4J.2I=D.2I,D.3a={30:{1l:12(e){17 t;14 1b==e.1F[e.1N]||e.1F.1p&&1b!=e.1F.1p[e.1N]?(t=Z.1y(e.1F,e.1N,""),t&&"9v"!==t?t:0):e.1F[e.1N]},1C:12(e){Z.fx.5C[e.1N]?Z.fx.5C[e.1N](e):e.1F.1p&&(1b!=e.1F.1p[Z.4P[e.1N]]||Z.2K[e.1N])?Z.1p(e.1F,e.1N,e.2E+e.7z):e.1F[e.1N]=e.2E}}},D.3a.6n=D.3a.6m={1C:12(e){e.1F.1e&&e.1F.1m&&(e.1F[e.1N]=e.2E)}},Z.4x={ck:12(e){14 e},9q:12(e){14.5-3N.cl(e*3N.cm)/2}},Z.fx=D.2I.4J,Z.fx.5C={};17 bp,5p,a7=/^(?:4H|2O|3e)$/,7B=1q 1H("^(?:([+-])=|)("+bj+")([a-z%]*)$","i"),et=/5d$/,5t=[q],4I={"*":[12(e,t){17 n=15.9w(e,t),r=n.6w(),i=7B.1W(t),o=i&&i[3]||(Z.5k[e]?"":"3x"),s=(Z.5k[e]||"3x"!==o&&+r)&&7B.1W(Z.1y(n.1F,e)),a=1,u=20;18(s&&s[3]!==o){o=o||s[3],i=i||[],s=+r||1;do a=a||".5",s/=a,Z.1p(n.1F,e,s+o);9Z(a!==(a=n.6w()/r)&&1!==a&&--u)}14 i&&(s=n.2R=+s||+r||0,n.7z=o,n.43=i[1]?s+(i[1]+1)*i[2]:+i[2]),n}]};Z.cr=Z.1o(F,{cs:12(e,t){Z.1A(e)?(t=e,e=["*"]):e=e.2k(" ");19(17 n,r=0,i=e.1a;r<i;r++)n=e[r],4I[n]=4I[n]||[],4I[n].35(t)},cu:12(e,t){t?5t.35(e):5t.1k(e)}}),Z.9y=12(e,t,n){17 r=e&&"1V"==1f e?Z.1o({},e):{3z:n||!n&&t||Z.1A(e)&&e,2x:e,4x:n&&t||t&&!Z.1A(t)&&t};14 r.2x=Z.fx.3g?0:"5o"==1f r.2x?r.2x:r.2x 1g Z.fx.5l?Z.fx.5l[r.2x]:Z.fx.5l.30,1b!=r.1G&&r.1G!==!0||(r.1G="fx"),r.7C=r.3z,r.3z=12(){Z.1A(r.7C)&&r.7C.1i(15),r.1G&&Z.3X(15,r.1G)},r},Z.fn.1o({cy:12(e,t,n,r){14 15.1S(3m).1y("3o",0).2O().43().6x({3o:t},e,n,r)},6x:12(e,t,n,r){17 i=Z.4G(e),o=Z.9y(t,n,r),s=12(){17 t=F(15,Z.1o({},e),o);(i||bi.1l(15,"3R"))&&t.2h(!0)};14 s.3R=s,i||o.1G===!1?15.1j(s):15.1G(o.1G,s)},2h:12(e,t,n){17 r=12(e){17 t=e.2h;1O e.2h,t(n)};14"1s"!=1f e&&(n=t,t=e,e=1c 0),t&&e!==!1&&15.1G(e||"fx",[]),15.1j(12(){17 t=!0,i=1b!=e&&e+"5d",o=Z.4a,s=bi.1l(15);18(i)s[i]&&s[i].2h&&r(s[i]);1u 19(i 1g s)s[i]&&s[i].2h&&et.1h(i)&&r(s[i]);19(i=o.1a;i--;)o[i].1F!==15||1b!=e&&o[i].1G!==e||(o[i].7H.2h(n),t=!1,o.2U(i,1));!t&&n||Z.3X(15,e)})},3R:12(e){14 e!==!1&&(e=e||"fx"),15.1j(12(){17 t,n=bi.1l(15),r=n[e+"1G"],i=n[e+"5d"],o=Z.4a,s=r?r.1a:0;19(n.3R=!0,Z.1G(15,e,[]),i&&i.2h&&i.2h.1i(15,!0),t=o.1a;t--;)o[t].1F===15&&o[t].1G===e&&(o[t].7H.2h(!0),o.2U(t,1));19(t=0;t<s;t++)r[t]&&r[t].3R&&r[t].3R.1i(15);1O n.3R})}}),Z.1j(["4H","2O","3e"],12(e,t){17 n=Z.fn[t];Z.fn[t]=12(e,r,i){14 1b==e||"47"==1f e?n.1z(15,1n):15.6x(A(t,!0),e,r,i)}}),Z.1j({cC:A("2O"),cD:A("3e"),cE:A("4H"),cF:{3o:"2O"},cG:{3o:"3e"},cH:{3o:"4H"}},12(e,t){Z.fn[e]=12(e,n,r){14 15.6x(t,e,n,r)}}),Z.4a=[],Z.fx.9D=12(){17 e,t=0,n=Z.4a;19(bp=Z.2E();t<n.1a;t++)e=n[t],e()||n[t]!==e||n.2U(t--,1);n.1a||Z.fx.2h(),bp=1c 0},Z.fx.9d=12(e){Z.4a.1k(e),e()?Z.fx.2R():Z.4a.49()},Z.fx.9E=13,Z.fx.2R=12(){5p||(5p=cK(Z.fx.9D,Z.fx.9E))},Z.fx.2h=12(){cL(5p),5p=1b},Z.fx.5l={cM:cN,cO:6z,30:9p},Z.fn.cQ=12(e,t){14 e=Z.fx?Z.fx.5l[e]||e:e,t=t||"fx",15.1G(t,12(t,n){17 r=5L(t,e);n.2h=12(){9G(r)}})},12(){17 e=G.29("1P"),t=G.29("2J"),n=t.27(G.29("4i"));e.1d="4Z",Y.9H=""!==e.1E,Y.9I=n.3c,t.2p=!0,Y.9J=!n.2p,e=G.29("1P"),e.1E="t",e.1d="4q",Y.9K="t"===e.1E}();17 bq,7G,4R=Z.2w.5D;Z.fn.1o({3s:12(e,t){14 bh(15,Z.3s,e,t,1n.1a>1)},5n:12(e){14 15.1j(12(){Z.5n(15,e)})}}),Z.1o({3s:12(e,t,n){17 r,i,o=e.1e;18(e&&3!==o&&8!==o&&2!==o)14 1f e.24===bk?Z.1N(e,t,n):(1===o&&Z.65(e)||(t=t.1r(),r=Z.9O[t]||(Z.2w.28.5R.1h(t)?7G:bq)),1c 0===n?r&&"1l"1g r&&1b!==(i=r.1l(e,t))?i:(i=Z.1L.3s(e,t),1b==i?1c 0:i):1b!==n?r&&"1C"1g r&&1c 0!==(i=r.1C(e,n,t))?i:(e.39(t,n+""),n):1c Z.5n(e,t))},5n:12(e,t){17 n,r,i=0,o=t&&t.28(bf);18(o&&1===e.1e)19(;n=o[i++];)r=Z.5e[n]||n,Z.2w.28.5R.1h(n)&&(e[r]=!1),e.7I(n)},9O:{1d:{1C:12(e,t){18(!Y.9K&&"4q"===t&&Z.1v(e,"1P")){17 n=e.1E;14 e.39("1d",t),n&&(e.1E=n),t}}}}}),7G={1C:12(e,t,n){14 t===!1?Z.5n(e,n):e.39(n,n),n}},Z.1j(Z.2w.28.5R.9j.28(/\\w+/g),12(e,t){17 n=4R[t]||Z.1L.3s;4R[t]=12(e,t,r){17 i,o;14 r||(o=4R[t],4R[t]=i,i=1b!=n(e,t,r)?t.1r():1b,4R[t]=o),i}});17 br=/^(?:1P|2J|4Q|2Z)$/i;Z.fn.1o({1N:12(e,t){14 bh(15,Z.1N,e,t,1n.1a>1)},d1:12(e){14 15.1j(12(){1O 15[Z.5e[e]||e]})}}),Z.1o({5e:{"19":"d2","9e":"1K"},1N:12(e,t,n){17 r,i,o,s=e.1e;18(e&&3!==s&&8!==s&&2!==s)14 o=1!==s||!Z.65(e),o&&(t=Z.5e[t]||t,i=Z.3a[t]),1c 0!==n?i&&"1C"1g i&&1c 0!==(r=i.1C(e,n,t))?r:e[t]=n:i&&"1l"1g i&&1b!==(r=i.1l(e,t))?r:e[t]},3a:{62:{1l:12(e){14 e.d3("d4")||br.1h(e.1v)||e.4p?e.62:-1}}}}),Y.9I||(Z.3a.3c={1l:12(e){17 t=e.1m;14 t&&t.1m&&t.1m.63,1b}}),Z.1j(["62","d5","d6","d7","d8","d9","db","dc","dd","de"],12(){Z.5e[15.1r()]=15});17 bs=/[\\t\\r\\n\\f]/g;Z.fn.1o({6B:12(e){17 t,n,r,i,o,s,a="1s"==1f e&&e,u=0,l=15.1a;18(Z.1A(e))14 15.1j(12(t){Z(15).6B(e.1i(15,t,15.1K))});18(a)19(t=(e||"").28(bf)||[];u<l;u++)18(n=15[u],r=1===n.1e&&(n.1K?(" "+n.1K+" ").1t(bs," "):" ")){19(o=0;i=t[o++];)r.1Y(" "+i+" ")<0&&(r+=i+" ");s=Z.4f(r),n.1K!==s&&(n.1K=s)}14 15},6C:12(e){17 t,n,r,i,o,s,a=0===1n.1a||"1s"==1f e&&e,u=0,l=15.1a;18(Z.1A(e))14 15.1j(12(t){Z(15).6C(e.1i(15,t,15.1K))});18(a)19(t=(e||"").28(bf)||[];u<l;u++)18(n=15[u],r=1===n.1e&&(n.1K?(" "+n.1K+" ").1t(bs," "):"")){19(o=0;i=t[o++];)19(;r.1Y(" "+i+" ")>=0;)r=r.1t(" "+i+" "," ");s=e?Z.4f(r):"",n.1K!==s&&(n.1K=s)}14 15},9T:12(e,t){17 n=1f e;14"47"==1f t&&"1s"===n?t?15.6B(e):15.6C(e):Z.1A(e)?15.1j(12(n){Z(15).9T(e.1i(15,n,15.1K,t),t)}):15.1j(12(){18("1s"===n)19(17 t,r=0,i=Z(15),o=e.28(bf)||[];t=o[r++];)i.9U(t)?i.6C(t):i.6B(t);1u n!==bk&&"47"!==n||(15.1K&&bi.1C(15,"9V",15.1K),15.1K=15.1K||e===!1?"":bi.1l(15,"9V")||"")})},9U:12(e){19(17 t=" "+e+" ",n=0,r=15.1a;n<r;n++)18(1===15[n].1e&&(" "+15[n].1K+" ").1t(bs," ").1Y(t)>=0)14!0;14!1}});17 bu=/\\r/g;Z.fn.1o({5v:12(e){17 t,n,r,i=15[0];{18(1n.1a)14 r=Z.1A(e),15.1j(12(n){17 i;1===15.1e&&(i=r?e.1i(15,n,Z(15).5v()):e,1b==i?i="":"5o"==1f i?i+="":Z.2n(i)&&(i=Z.2g(i,12(e){14 1b==e?"":e+""})),t=Z.41[15.1d]||Z.41[15.1v.1r()],t&&"1C"1g t&&1c 0!==t.1C(15,i,"1E")||(15.1E=i))});18(i)14 t=Z.41[i.1d]||Z.41[i.1v.1r()],t&&"1l"1g t&&1c 0!==(n=t.1l(i,"1E"))?n:(n=i.1E,"1s"==1f n?n.1t(bu,""):1b==n?"":n)}}}),Z.1o({41:{4i:{1l:12(e){17 t=Z.1L.3s(e,"1E");14 1b!=t?t:Z.4f(Z.1J(e))}},2J:{1l:12(e){19(17 t,n,r=e.3M,i=e.63,o="2J-8y"===e.1d||i<0,s=o?1b:[],a=o?i+1:r.1a,u=i<0?a:o?i:0;u<a;u++)18(n=r[u],(n.3c||u===i)&&(Y.9J?!n.2p:1b===n.24("2p"))&&(!n.1m.2p||!Z.1v(n.1m,"8R"))){18(t=Z(n).5v(),o)14 t;s.1k(t)}14 s},1C:12(e,t){19(17 n,r,i=e.3M,o=Z.4A(t),s=i.1a;s--;)r=i[s],(r.3c=Z.4B(r.1E,o)>=0)&&(n=!0);14 n||(e.63=-1),o}}}}),Z.1j(["4q","4Z"],12(){Z.41[15]={1C:12(e,t){18(Z.2n(t))14 e.2m=Z.4B(Z(e).5v(),t)>=0}},Y.9H||(Z.41[15].1l=12(e){14 1b===e.24("1E")?"2W":e.1E})}),Z.1j("5G 4o 73 6R 42 dn 7N 9R 3S dq dr ds du 8v 8x 76 77 dv 2J 8e dw dx dy 1R 9B".2k(" "),12(e,t){Z.fn[t]=12(e,n){14 1n.1a>0?15.2W(t,1b,e,n):15.2f(t)}}),Z.fn.1o({dz:12(e,t){14 15.76(e).77(t||e)},dA:12(e,t,n){14 15.2W(e,1b,t,n)},dB:12(e,t){14 15.3g(e,1b,t)},dC:12(e,t,n,r){14 15.2W(t,e,n,r)},dD:12(e,t,n){14 1===1n.1a?15.3g(e,"**"):15.3g(t,e||"**",n)}});17 bv=Z.2E(),ct=/\\?/;Z.7V=12(e){14 dG.dH(e+"")},Z.a0=12(e){17 t,n;18(!e||"1s"!=1f e)14 1b;2t{n=1q dJ,t=n.dK(e,"1J/3i")}2s(r){t=1c 0}14 t&&!t.2A("an").1a||Z.1R("dL dM: "+e),t};17 bw=/#.*$/,7Q=/([?&])2i=[^&]*/,dt=/^(.*?):[ \\t]*([^\\r\\n]*)$/dP,a2=/^(?:dR|a3|a3-dT|.+-dU|8d|dV|dW):$/,5S=/^(?:6E|a5)$/,a6=/^\\/\\//,7S=/^([\\w.+-]+:)(?:\\/\\/(?:[^\\/?#]*@|)([^\\/?#:]*)(?::(\\d+)|)|)/,7T={},6c={},bt="*/".46("*"),6F=e.7O.4p,3W=7S.1W(6F.1r())||[];Z.1o({7W:0,6G:{},5E:{},3J:{2b:6F,1d:"6E",e9:a2.1h(3W[1]),53:!0,ag:!0,4M:!0,5a:"44/x-aj-ak-al; am=ej-8",45:{"*":bt,1J:"1J/ek",2L:"1J/2L",3i:"44/3i, 1J/3i",32:"44/32, 1J/81"},4v:{3i:/3i/,2L:/2L/,32:/32/},7g:{3i:"en",1J:"6H",32:"ep"},4t:{"* 1J":6k,"1J 2L":!0,"1J 32":Z.7V,"1J 3i":Z.a0},95:{2b:!0,2V:!0}},6I:12(e,t){14 t?R(R(e,Z.3J),t):R(Z.3J,e)},84:O(7T),85:O(6c),5I:12(e,t){12 n(e,t,n,s){17 u,c,v,y,b,T=t;2!==x&&(x=2,a&&9G(a),r=1c 0,o=s||"",w.6b=e>0?4:0,u=e>=6z&&e<ew||at===e,n&&(y=M(f,w,n)),y=W(f,y,w,u),u?(f.au&&(b=w.68("ez-av"),b&&(Z.6G[i]=b),b=w.68("5E"),b&&(Z.5E[i]=b)),aw===e||"a5"===f.1d?T="eC":at===e?T="eD":(T=y.64,c=y.1I,v=y.1R,u=!v)):(v=T,!e&&T||(T="1R",e<0&&(e=0))),w.5g=e,w.87=(t||T)+"",u?h.4k(p,[c,T,w]):h.9g(p,[w,T,v]),w.88(m),m=1c 0,l&&d.2f(u?"aA":"aB",[w,f,u?c:v]),g.67(p,[w,T]),l&&(d.2f("aC",[w,f]),--Z.7W||Z.1x.2f("aD")))}"1V"==1f e&&(t=e,e=1c 0),t=t||{};17 r,i,o,s,a,u,l,c,f=Z.6I({},t),p=f.2V||f,d=f.2V&&(p.1e||p.2G)?Z(p):Z.1x,h=Z.4b(),g=Z.4s("5A 4u"),m=f.88||{},v={},y={},x=0,b="eL",w={6b:0,68:12(e){17 t;18(2===x){18(!s)19(s={};t=dt.1W(o);)s[t[1].1r()]=t[2];t=s[e.1r()]}14 1b==t?1b:t},aE:12(){14 2===x?o:1b},3U:12(e,t){17 n=e.1r();14 x||(e=y[n]=y[n]||e,v[e]=t),15},8a:12(e){14 x||(f.6a=e),15},88:12(e){17 t;18(e)18(x<2)19(t 1g e)m[t]=[m[t],e[t]];1u w.3p(e[w.5g]);14 15},2X:12(e){17 t=e||b;14 r&&r.2X(t),n(0,t),15}};18(h.1Z(w).3z=g.2u,w.61=w.2P,w.1R=w.40,f.2b=((e||f.2b||6F)+"").1t(bw,"").1t(a6,3W[1]+"//"),f.1d=t.aH||t.1d||f.aH||f.1d,f.2M=Z.4f(f.5H||"*").1r().28(bf)||[""],1b==f.4V&&(u=7S.1W(f.2b.1r()),f.4V=!(!u||u[1]===3W[1]&&u[2]===3W[2]&&(u[3]||("aI:"===u[1]?"80":"aJ"))===(3W[3]||("aI:"===3W[1]?"80":"aJ")))),f.1I&&f.ag&&"1s"!=1f f.1I&&(f.1I=Z.6o(f.1I,f.aK)),P(7T,f,t,w),2===x)14 w;l=Z.1x&&f.53,l&&0===Z.7W++&&Z.1x.2f("aL"),f.1d=f.1d.7j(),f.6K=!5S.1h(f.1d),i=f.2b,f.6K||(f.1I&&(i=f.2b+=(ct.1h(i)?"&":"?")+f.1I,1O f.1I),f.26===!1&&(f.2b=7Q.1h(i)?i.1t(7Q,"$eY="+bv++):i+(ct.1h(i)?"&":"?")+"2i="+bv++)),f.au&&(Z.6G[i]&&w.3U("aN-av-f0",Z.6G[i]),Z.5E[i]&&w.3U("aN-f1-f2",Z.5E[i])),(f.1I&&f.6K&&f.5a!==!1||t.5a)&&w.3U("8E-8D",f.5a),w.3U("f3",f.2M[0]&&f.45[f.2M[0]]?f.45[f.2M[0]]+("*"!==f.2M[0]?", "+bt+"; q=0.f4":""):f.45["*"]);19(c 1g f.aO)w.3U(c,f.aO[c]);18(f.aP&&(f.aP.1i(p,w,f)===!1||2===x))14 w.2X();b="2X";19(c 1g{61:1,1R:1,3z:1})w[c](f[c]);18(r=P(6c,f,t,w)){w.6b=1,l&&d.2f("aQ",[w,f]),f.4M&&f.8c>0&&(a=5L(12(){w.2X("8c")},f.8c));2t{x=1,r.6L(v,n)}2s(T){18(!(x<2))58 T;n(-1,T)}}1u n(-1,"ai fa");14 w},fb:12(e,t,n){14 Z.1l(e,t,n,"32")},fc:12(e,t){14 Z.1l(e,1c 0,t,"1Q")}}),Z.1j(["1l","fd"],12(e,t){Z[t]=12(e,n,r,i){14 Z.1A(n)&&(i=i||r,r=n,n=1c 0),Z.5I({2b:e,1d:t,5H:i,1I:n,61:r})}}),Z.7m=12(e){14 Z.5I({2b:e,1d:"6E",5H:"1Q",4M:!1,53:!1,"aR":!0})},Z.fn.1o({6M:12(e){17 t;14 Z.1A(e)?15.1j(12(t){Z(15).6M(e.1i(15,t))}):(15[0]&&(t=Z(e,15[0].1D).eq(0).4K(!0),15[0].1m&&t.5J(15[0]),t.2g(12(){19(17 e=15;e.aU;)e=e.aU;14 e}).4N(15)),15)},aV:12(e){14 Z.1A(e)?15.1j(12(t){Z(15).aV(e.1i(15,t))}):15.1j(12(){17 t=Z(15),n=t.4v();n.1a?n.6M(e):t.4N(e)})},fh:12(e){17 t=Z.1A(e);14 15.1j(12(n){Z(15).6M(t?e.1i(15,n):e)})},fi:12(){14 15.8b().1j(12(){Z.1v(15,"5i")||Z(15).7k(15.3l)}).43()}}),Z.2w.5K.3r=12(e){14 e.7e<=0&&e.8N<=0},Z.2w.5K.fj=12(e){14!Z.2w.5K.3r(e)};17 bx=/%20/g,9S=/\\[\\]$/,8f=/\\r?\\n/g,aX=/^(?:8e|2Z|ay|aF|8d)$/i,aY=/^(?:1P|2J|4Q|fp)/i;Z.6o=12(e,t){17 n,r=[],i=12(e,t){t=Z.1A(t)?t():1b==t?"":t,r[r.1a]=aZ(e)+"="+aZ(t)};18(1c 0===t&&(t=Z.3J&&Z.3J.aK),Z.2n(e)||e.2G&&!Z.52(e))Z.1j(e,12(){i(15.2Q,15.1E)});1u 19(n 1g e)$(n,e[n],t,i);14 r.3d("&").1t(bx,"+")},Z.fn.1o({fr:12(){14 Z.6o(15.b0())},b0:12(){14 15.2g(12(){17 e=Z.1N(15,"ft");14 e?Z.4A(e):15}).1S(12(){17 e=15.1d;14 15.2Q&&!Z(15).6U(":2p")&&aY.1h(15.1v)&&!aX.1h(e)&&(15.2m||!6A.1h(e))}).2g(12(e,t){17 n=Z(15).5v();14 1b==n?1b:Z.2n(n)?Z.2g(n,12(e){14{2Q:t.2Q,1E:e.1t(8f,"\\r\\n")}}):{2Q:t.2Q,1E:n.1t(8f,"\\r\\n")}}).1l()}}),Z.3J.8g=12(){2t{14 1q b2}2s(e){}};17 by=0,55={},b4={0:6z,fA:aw},4W=Z.3J.8g();e.5T&&e.5T("a1",12(){19(17 e 1g 55)55[e]()}),Y.b5=!!4W&&"fD"1g 4W,Y.5I=4W=!!4W,Z.85(12(e){17 t;18(Y.b5||4W&&!e.4V)14{6L:12(n,r){17 i,o=e.8g(),s=++by;18(o.az(e.1d,e.2b,e.4M,e.fE,e.as),e.8i)19(i 1g e.8i)o[i]=e.8i[i];e.6a&&o.8a&&o.8a(e.6a),e.4V||n["X-b7-5y"]||(n["X-b7-5y"]="b2");19(i 1g n)o.3U(i,n[i]);t=12(e){14 12(){t&&(1O 55[s],t=o.b8=o.b9=1b,"2X"===e?o.2X():"1R"===e?r(o.5g,o.87):r(b4[o.5g]||o.5g,o.87,"1s"==1f o.6H?{1J:o.6H}:1c 0,o.aE()))}},o.b8=t(),o.b9=t("1R"),t=55[s]=t("2X");2t{o.6L(e.6K&&e.1I||1b)}2s(a){18(t)58 a}},2X:12(){t&&t()}}}),Z.6I({45:{1Q:"1J/81, 44/81, 44/bD, 44/x-bD"},4v:{1Q:/(?:8J|8K)1Q/},4t:{"1J 1Q":12(e){14 Z.4S(e),e}}}),Z.84("1Q",12(e){1c 0===e.26&&(e.26=!1),e.4V&&(e.1d="6E")}),Z.85("1Q",12(e){18(e.4V){17 t,n;14{6L:12(r,i){t=Z("<1Q>").1N({4M:!0,am:e.fK,7l:e.2b}).2W("42 1R",n=12(e){t.1T(),n=1b,e&&i("1R"===e.1d?fL:6z,e.1d)}),G.8I.27(t[0])},2X:12(){n&&n()}}}});17 bz=[],6O=/(=)\\?(?=&|$)|\\?\\?/;Z.6I({4X:"fP",48:12(){17 e=bz.49()||Z.2j+"2i"+bv++;14 15[e]=!0,e}}),Z.84("32 4X",12(t,n,r){17 i,o,s,a=t.4X!==!1&&(6O.1h(t.2b)?"2b":"1s"==1f t.1I&&!(t.5a||"").1Y("44/x-aj-ak-al")&&6O.1h(t.1I)&&"1I");18(a||"4X"===t.2M[0])14 i=t.48=Z.1A(t.48)?t.48():t.48,a?t[a]=t[a].1t(6O,"$1"+i):t.4X!==!1&&(t.2b+=(ct.1h(t.2b)?"&":"?")+t.4X+"="+i),t.4t["1Q 32"]=12(){14 s||Z.1R(i+" fR 5Z fS"),s[0]},t.2M[0]="32",o=e[i],e[i]=12(){s=1n},r.3p(12(){e[i]=o,t[i]&&(t.48=n.48,bz.1k(i)),s&&Z.1A(o)&&o(s[0]),s=o=1c 0}),"1Q"}),Z.6Z=12(e,t,n){18(!e||"1s"!=1f e)14 1b;"47"==1f t&&(n=t,t=!1),t=t||G;17 r=3Y.1W(e),i=!n&&[];14 r?[t.29(r[1])]:(r=Z.7f([e],t,i),i&&i.1a&&Z(i).1T(),Z.2S([],r.3l))};17 bA=Z.fn.42;Z.fn.42=12(e,t,n){18("1s"!=1f e&&bA)14 bA.1z(15,1n);17 r,i,o,s=15,a=e.1Y(" ");14 a>=0&&(r=Z.4f(e.1w(a)),e=e.1w(0,a)),Z.1A(t)?(n=t,t=1c 0):t&&"1V"==1f t&&(i="fU"),s.1a>0&&Z.5I({2b:e,1d:i,5H:"2L",1I:t}).2P(12(e){o=1n,s.2L(r?Z("<3h>").4N(Z.6Z(e)).1L(r):e)}).3z(n&&12(e,t){s.1j(n,o||[e.6H,t,e])}),15},Z.1j(["aL","aD","aC","aB","aA","aQ"],12(e,t){Z.fn[t]=12(e){14 15.2W(t,e)}}),Z.2w.5K.fV=12(e){14 Z.4U(Z.4a,12(t){14 e===t.1F}).1a};17 bB=e.3u.2N;Z.3K={bK:12(e,t,n){17 r,i,o,s,a,u,l,c=Z.1y(e,"3b"),f=Z(e),p={};"bL"===c&&(e.1p.3b="3I"),a=f.3K(),o=Z.1y(e,"1M"),u=Z.1y(e,"2d"),l=("6t"===c||"bM"===c)&&(o+u).1Y("9v")>-1,l?(r=f.3b(),s=r.1M,i=r.2d):(s=4h(o)||0,i=4h(u)||0),Z.1A(t)&&(t=t.1i(e,n,a)),1b!=t.1M&&(p.1M=t.1M-a.1M+s),1b!=t.2d&&(p.2d=t.2d-a.2d+i),"bN"1g t?t.bN.1i(e,p):f.1y(p)}},Z.fn.1o({3K:12(e){18(1n.1a)14 1c 0===e?15:15.1j(12(t){Z.3K.bK(15,e,t)});17 t,n,r=15[0],i={1M:0,2d:0},o=r&&r.1D;18(o)14 t=o.2N,Z.25(t,r)?(1f r.8m!==bk&&(i=r.8m()),n=I(o),{1M:i.1M+n.6Q-t.72,2d:i.2d+n.8o-t.70}):i},3b:12(){18(15[0]){17 e,t,n=15[0],r={1M:0,2d:0};14"bM"===Z.1y(n,"3b")?t=n.8m():(e=15.5M(),t=15.3K(),Z.1v(e[0],"2L")||(r=e.3K()),r.1M+=Z.1y(e[0],"g3",!0),r.2d+=Z.1y(e[0],"g4",!0)),{1M:t.1M-r.1M-Z.1y(n,"g5",!0),2d:t.2d-r.2d-Z.1y(n,"g6",!0)}}},5M:12(){14 15.2g(12(){19(17 e=15.5M||bB;e&&!Z.1v(e,"2L")&&"bL"===Z.1y(e,"3b");)e=e.5M;14 e||bB})}}),Z.1j({6m:"8o",6n:"6Q"},12(t,n){17 r="6Q"===n;Z.fn[t]=12(i){14 bh(15,12(t,i,o){17 s=I(t);14 1c 0===o?s?s[n]:t[i]:1c(s?s.g7(r?e.8o:o,r?o:e.6Q):t[i]=o)},t,i,1n.1a,1b)}}),Z.1j(["1M","2d"],12(e,t){Z.2K[t]=T(Y.9h,12(e,n){18(n)14 n=w(e,t),6u.1h(n)?Z(e).3b()[t]+"3x":n})}),Z.1j({g8:"3w",6q:"21"},12(e,t){Z.1j({3H:"g9"+e,3j:t,"":"ga"+e},12(n,r){Z.fn[r]=12(r,i){17 o=1n.1a&&(n||"47"!=1f r),s=n||(r===!0||i===!0?"3k":"2l");14 bh(15,12(t,n,r){17 i;14 Z.3T(t)?t.3u.2N["bS"+e]:9===t.1e?(i=t.2N,3N.7h(t.5i["7N"+e],i["7N"+e],t.5i["3K"+e],i["3K"+e],i["bS"+e])):1c 0===r?Z.1y(t,n,s):Z.1p(t,n,r,s)},t,o?r:1c 0,o,1b)}})}),Z.fn.gc=12(){14 15.1a},Z.fn.gd=Z.fn.8z,"12"==1f 8q&&8q.gf&&8q("2G",[],12(){14 Z});17 bC=e.2G,bU=e.$;14 Z.eN=12(t){14 e.$===Z&&(e.$=bU),t&&e.2G===Z&&(e.2G=bC),Z},1f t===bk&&(e.2G=e.$=Z),Z});',0,1012,"||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||function||return|this||var|if|for|length|null|void|type|nodeType|typeof|in|test|call|each|push|get|parentNode|arguments|extend|style|new|toLowerCase|string|replace|else|nodeName|slice|event|css|apply|isFunction|ne|set|ownerDocument|value|elem|queue|RegExp|data|text|className|find|top|prop|delete|input|script|error|filter|remove|ye|object|exec|guid|indexOf|promise||width|display|Te|getAttribute|contains|cache|appendChild|match|createElement|selector|url|box|left|access|trigger|map|stop|_|expando|split|border|checked|isArray|opts|disabled|Me|querySelectorAll|catch|try|add|empty|expr|duration|target|id|getElementsByTagName|firstChild|ready|break|now|dir|jQueryForJ|pushStack|prototype|select|cssHooks|html|dataTypes|documentElement|show|done|name|start|merge|shift|splice|context|on|abort|special|button|_default||json|nextSibling|table|unshift|events|handle|none|setAttribute|propHooks|position|selected|join|hide|camelCase|off|div|xml|content|margin|childNodes|Ce|pseudos|opacity|always|props|hidden|attr|re|document|namespace|height|px|innerHTML|complete|he|overflow|result|textContent|handler|undefined|compareDocumentPosition|padding|relative|ajaxSettings|offset|first|options|Math|Event|addEventListener|matches|finish|click|isWindow|setRequestHeader|tbody|Tt|dequeue|se|hasData|fail|valHooks|load|end|application|accepts|concat|boolean|jsonpCallback|pop|timers|Deferred|originalEvent|ID|constructor|trim|domManip|parseFloat|option|preventDefault|resolveWith|sort|last|previousSibling|focus|href|radio|unique|Callbacks|converters|memory|contents|key|easing|delegateType|removeChild|makeArray|inArray|tweens|needsContext|nth|te|isEmptyObject|toggle|nt|init|clone|getElementsByClassName|async|append|sizing|cssProps|textarea|ot|globalEval|xe|grep|crossDomain|Lt|jsonp|origType|checkbox||block|isPlainObject|global|which|jt|Array|cloneNode|throw|lang|contentType|removeEventListener|defaultView|queueHooks|propFix|stopPropagation|status|progress|body|_e|cssNumber|speeds|odd|removeAttr|number|Ge|cleanData|getComputedStyle|acceptData|tt|getElementById|val|handlers|unqueued|With|matchesSelector|once|fire|step|attrHandle|etag|isDefaultPrevented|blur|dataType|ajax|insertBefore|filters|setTimeout|offsetParent|le|pe|CHILD|even|bool|gt|attachEvent|attributes|isReady|getAttributeNode|prevObject|lastChild|not|has|success|tabIndex|selectedIndex|state|isXMLDoc|disable|fireWith|getResponseHeader|readyWait|mimeType|readyState|xt|triggered|bindType|delegateCount|inline|isPropagationStopped|_queueHooks|handleObj|String|olddisplay|scrollLeft|scrollTop|param|TAG|Width|cssText|1px|absolute|Be|marginRight|cur|animate|defaultValue|200|Ne|addClass|removeClass|tr|GET|wt|lastModified|responseText|ajaxSetup|Object|hasContent|send|wrapAll|window|Ht|Error|pageYOffset|focusout|postDispatch|timeStamp|is|fixHooks|charCode|clientX|pageX|parseHTML|clientLeft|prev|clientTop|focusin|qsa|stopImmediatePropagation|mouseenter|mouseleave|uniqueSort|sibling|Le|Oe|index|colgroup|offsetWidth|buildFragment|responseFields|max|Qe|toUpperCase|replaceWith|src|_evalUrl|maxWidth|hasOwnProperty|minWidth|PSEUDO|Ie|reject|backgroundClip|multiple|setFilters|swap|Ve|triggerHandler|unit|detach|Ze|old|appendTo|Date|getById|it|anim|removeAttribute|inprogress|De|je|specialEasing|scroll|location|dispatch|pt|run|vt|yt|CLASS|parseJSON|active|expand|ATTR|uid||javascript|setup|teardown|ajaxPrefilter|ajaxTransport|removeEvent|statusText|statusCode|namespace_re|overrideMimeType|parent|timeout|file|submit|kt|xhr|fix|xhrFields|fxshow|isImmediatePropagationStopped|module|getBoundingClientRect|enabled|pageXOffset|ms|define|returnValue|simulate|defaultPrevented|disconnectedMatch|mouseover|prevAll|mouseout|one|addBack|sortDetached|col|link|Type|Content|qe|He|Fe|head|java|ecma|Re|lock|offsetHeight|thead|specified|td|optgroup|resolve|detectDuplicates|notify|then|Xe|prepend|sortStable|before|after|getText|xA0|selectors|uFEFF|flatOptions|preFilter|webkit|only|moz|removeData|4px|hasDataAttrs|timer|class|clearCloneStyle|rejectWith|pixelPosition|reliableMarginRight|source|createDocumentFragment|Je|Ue|checkClone|fontWeight|400|swing|contentDocument|Tween|noCloneChecked|pos|auto|createTween|focusinBubbles|speed|getDefaultComputedStyle|Se|contextmenu|65536|tick|interval|fromCharCode|clearTimeout|checkOn|optSelected|optDisabled|radioValue|isXML|unsupported|isNumeric|attrHooks|Pe|notifyWith|unload|Nt|toggleClass|hasClass|__className__|startTime|activeElement|support|while|parseXML|onunload|ht|app|hasFocus|HEAD|mt|Ke|float|of|sourceIndex|noBubble|cacheLength|overflowY||true|processData|overflowX|No|www|form|urlencoded|charset|parsererror|delegateTarget|preDispatch|getElementsByName|currentTarget|password|304|ifModified|Modified|204|DOMContentLoaded|image|open|ajaxSuccess|ajaxError|ajaxComplete|ajaxStop|getAllResponseHeaders|reset|relatedTarget|method|http|443|traditional|ajaxStart|random|If|headers|beforeSend|ajaxSend|throws|dataFilter|keyHooks|firstElementChild|wrapInner|msallowcapture|Et|St|encodeURIComponent|serializeArray|keyCode|XMLHttpRequest|mouseHooks|At|cors|finally|Requested|onload|onerror||||||||||||||||||||||||||||||ecmascript|clientY|instanceof|pageY|exports|lt|parents|setOffset|static|fixed|using|Until|children|boxSizingReliable|next|client|boxSizing|Rt|columnCount|fillOpacity|flexGrow|flexShrink|lineHeight|order|orphans|widows|zIndex|zoom|close|cssFloat|background|inherit|normal|write|native|All|Syntax||unrecognized|frameborder|expression|iframe|closest|linear|cos|PI|eval|autofocus|ig|parentsUntil|Animation|tweener||prefilter|nextAll|nextUntil|prevUntil|fadeTo|altKey|bubbles|cancelable|slideDown|slideUp|slideToggle|fadeIn|fadeOut|fadeToggle|ctrlKey|eventPhase|setInterval|clearInterval|slow|600|fast|metaKey|delay|siblings|shiftKey|reverse|view|0x|nodeValue|autoplay|char|stopOnFalse|createPseudo|removeProp|htmlFor|hasAttribute|tabindex|readOnly|maxLength|cellSpacing|cellPadding|rowSpan||colSpan|useMap|frameBorder|contentEditable|buttons|locked|controls|offsetX|offsetY|fired|screenX|screenY|resize||toElement|dblclick|mousedown|mouseup||mousemove|change|keydown|keypress|keyup|hover|bind|unbind|delegate|undelegate|resolved|55296|JSON|parse|rejected|DOMParser|parseFromString|Invalid|XML|pending|toString|gm|1023|about|beforeunload|storage|extension|res|widget|pipe|when|56320|isSimulated|holdReady|isPrototypeOf|defer|HTML|pseudo|setDocument|false|pointerenter|isLocal||pointerover|pointerleave|pointerout||Boolean|defineProperties|area|discard|UTF|plain|defineProperty|innerText|responseXML|embed|responseJSON||hr|img||_data|meta|300|_removeData|noop|Last|Function|ismap|nocontent|notmodified||loop|clearQueue|to|Top|Right|Bottom|canceled|Left|noConflict|hash|array|root|with|tfoot|caption|th|from|sizzle|createTextNode|1_|conversion|Since|None|Match|Accept|01|onfocusin|createComment|readonly|mouse|pointer|Transport|getJSON|getScript|post|child|originalOptions|header|wrap|unwrap|visible|replaceChild|focusinfocus|focusoutblur||prependTo|keygen|insertAfter|serialize|replaceAll|elements|opener|required|originalProperties||scoped|x20|1223|requires|x00|withCredentials|username|toArray|proxy|xa0|webkitMatchesSelector|tokenize|scriptCharset|404|compile|mozMatchesSelector|9999px|callback|oMatchesSelector|was|called|msMatchesSelector|POST|animated|continue|Number|isTrigger|visibility|strict|letterSpacing|use|borderTopWidth|borderLeftWidth|marginTop|marginLeft|scrollTo|Height|inner|outer|parentWindow|size|andSelf|Webkit|amd|Moz|getPropertyValue||CDATA".split("|"),0,{})),app.functionKaizen.$=jQueryForJ.noConflict(!0),
/*! jQuery XPath plugin v0.3.1 */
function(e){var t=window.String,n=(window.Boolean,window.Number),r=(window.Object,window.Array),i=window.RegExp,o=window.Date,a=window.Function,s=window.Math,u=window.Error,c=(window.SyntaxError,window.TypeError,window.isNaN),l=window.isFinite,f=window.NaN,p=window.Infinity,d=window.btoa,h=window.atob,m=window.parseInt,w=t.prototype.trim?function(e){return t(e).trim()}:function(e){return t(e).replace(/^\s+|\s+$/g,"")},y=r.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},v="http://www.w3.org/2001/XMLSchema",g="http://www.w3.org/2005/xpath-functions";function b(e,t){this.code=e,this.message=t||T[e]}b.prototype=new u;var T={};function Z(e){var t=e.match(/\$?(?:(?![0-9-])(?:[\w-]+|\*):)?(?![0-9-])(?:[\w-]+|\*)|\(:|:\)|\/\/|\.\.|::|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?|\.\d+(?:[eE][+-]?\d+)?|"[^"]*(?:""[^"]*)*"|'[^']*(?:''[^']*)*'|<<|>>|[!<>]=|(?![0-9-])[\w-]+:\*|\s+|./g);if(t){for(var n=0,r=0,i=t.length;r<i;r++)"(:"==t[r]?n++:":)"==t[r]&&n?n--:n||/^\s/.test(t[r])||(this[this.length++]=t[r]);if(n)throw new b("XPST0003","Unclosed comment")}}function x(){}function I(e,t,n,r){this.staticContext=e,this.item=t,this.scope=n||{},this.stack={},this.DOMAdapter=r||new x;var i=new o,a=i.getTimezoneOffset();this.dateTime=new xt(i.getFullYear(),i.getMonth()+1,i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds()+i.getMilliseconds()/1e3,-a),this.timezone=new ln(0,s.abs(~~(a/60)),s.abs(a%60),0,a>0)}function D(){this.dataTypes={},this.documents={},this.functions={},this.collations={},this.collections={}}T.XPDY0002="Evaluation of an expression relies on some part of the dynamic context that has not been assigned a value.",T.XPST0003="Expression is not a valid instance of the grammar",T.XPTY0004="Type is not appropriate for the context in which the expression occurs",T.XPST0008="Expression refers to an element name, attribute name, schema type name, namespace prefix, or variable name that is not defined in the static context",T.XPST0010="Axis not supported",T.XPST0017="Expanded QName and number of arguments in a function call do not match the name and arity of a function signature",T.XPTY0018="The result of the last step in a path expression contains both nodes and atomic values",T.XPTY0019="The result of a step (other than the last step) in a path expression contains an atomic value.",T.XPTY0020="In an axis step, the context item is not a node.",T.XPST0051="It is a static error if a QName that is used as an AtomicType in a SequenceType is not defined in the in-scope schema types as an atomic type.",T.XPST0081="A QName used in an expression contains a namespace prefix that cannot be expanded into a namespace URI by using the statically known namespaces.",T.FORG0001="Invalid value for cast/constructor.",T.FORG0003="fn:zero-or-one called with a sequence containing more than one item.",T.FORG0004="fn:one-or-more called with a sequence containing no items.",T.FORG0005="fn:exactly-one called with a sequence containing zero or more than one item.",T.FORG0006="Invalid argument type.",T.FODC0001="No context document.",T.FORX0001="Invalid regular expression flags.",T.FOCA0002="Invalid lexical value.",T.FOCH0002="Unsupported collation.",T.FONS0004="No namespace found for prefix.",Z.prototype.index=0,Z.prototype.length=0,Z.prototype.reset=function(){this.index=0},Z.prototype.peek=function(e){return this[this.index+(e||0)]||""},Z.prototype.next=function(e){return(this.index+=e||1)<this.length},Z.prototype.back=function(e){return(this.index-=e||1)>0},Z.prototype.eof=function(){return this.index>=this.length},x.prototype.isNode=function(e){return e&&!!e.nodeType},x.prototype.getProperty=function(e,t){return e[t]},x.prototype.isSameNode=function(e,t){return e==t},x.prototype.compareDocumentPosition=function(e,t){return e.compareDocumentPosition(t)},x.prototype.lookupNamespaceURI=function(e,t){return e.lookupNamespaceURI(t)},x.prototype.getElementById=function(e,t){return e.getElementById(t)},x.prototype.getElementsByTagNameNS=function(e,t,n){return e.getElementsByTagNameNS(t,n)},I.prototype.item=null,I.prototype.position=0,I.prototype.size=0,I.prototype.scope=null,I.prototype.stack=null,I.prototype.dateTime=null,I.prototype.timezone=null,I.prototype.staticContext=null,I.prototype.pushVariable=function(e,t){this.stack.hasOwnProperty(e)||(this.stack[e]=[]),this.stack[e].push(this.scope[e]),this.scope[e]=t},I.prototype.popVariable=function(e){this.stack.hasOwnProperty(e)&&(this.scope[e]=this.stack[e].pop(),this.stack[e].length||(delete this.stack[e],void 0===this.scope[e]&&delete this.scope[e]))},D.prototype.baseURI=null,D.prototype.dataTypes=null,D.prototype.documents=null,D.prototype.functions=null,D.prototype.defaultFunctionNamespace=null,D.prototype.collations=null,D.prototype.defaultCollationName=g+"/collation/codepoint",D.prototype.collections=null,D.prototype.namespaceResolver=null,D.prototype.defaultElementNamespace=null;var N=/^(?:\{([^\}]+)\})?(.+)$/;D.prototype.setDataType=function(e,t){var n=e.match(N);n&&n[1]!=v&&(this.dataTypes[e]=t)},D.prototype.getDataType=function(e){var t=e.match(N);if(t)return t[1]==v?P[i.$2]:this.dataTypes[e]},D.prototype.setDocument=function(e,t){this.documents[e]=t},D.prototype.setFunction=function(e,t){var n=e.match(N);n&&n[1]!=g&&(this.functions[e]=t)},D.prototype.getFunction=function(e){var t=e.match(N);if(t)return t[1]==g?O[i.$2]:this.functions[e]},D.prototype.setCollation=function(e,t){this.collations[e]=t},D.prototype.getCollation=function(e){return this.collations[e]},D.prototype.setCollection=function(e,t){this.collections[e]=t},D.prototype.getURIForPrefix=function(e){var t,n=this.namespaceResolver,r=n&&n.lookupNamespaceURI?n.lookupNamespaceURI:n;if(r instanceof a&&(t=r.call(n,e)))return t;if("fn"==e)return g;if("xs"==e)return v;if("xml"==e)return"http://www.w3.org/XML/1998/namespace";if("xmlns"==e)return"http://www.w3.org/2000/xmlns/";throw new b("XPST0081","Prefix '"+e+"' has not been declared")},D.js2xs=function(e){return e="boolean"==typeof e?new wt(e):"number"==typeof e?c(e)||!l(e)?new kt(e):Se(t(e)):new tn(t(e))},D.xs2js=function(e){return e=e instanceof wt||ft(e)?e.valueOf():e.toString()};var O={},E={},P={},A={};function R(e,t,n){O[e]=n,E[e]=t}function k(e,t){P[e]=t}function M(e,t){var n=new Z(e),r=Y(n,t);if(!n.eof())throw new b("XPST0003","Unexpected token beyond end of query");if(!r)throw new b("XPST0003","Expected expression");this.internalExpression=r}function S(){}function X(){}function C(){this.items=[]}function Y(e,t){var n;if(!e.eof()&&(n=z(e,t))){var r=new C;for(r.items.push(n);","==e.peek();){if(e.next(),e.eof()||!(n=z(e,t)))throw new b("XPST0003","Expected expression");r.items.push(n)}return r}}function z(e,t){if(!e.eof())return function(e,t){var n,r,i;if("if"==e.peek()&&"("==e.peek(1)){if(e.next(2),e.eof()||!(n=Y(e,t)))throw new b("XPST0003","Expected if statement operand in conditional expression");if(")"!=e.peek())throw new b("XPST0003","Expected ')' token in for expression");if(e.next(),"then"!=e.peek())throw new b("XPST0003","Expected 'then' token in conditional if expression");if(e.next(),e.eof()||!(r=z(e,t)))throw new b("XPST0003","Expected then statement operand in condional expression");if("else"!=e.peek())throw new b("XPST0003","Expected 'else' token in conditional if expression");if(e.next(),e.eof()||!(i=z(e,t)))throw new b("XPST0003","Expected else statement operand in condional expression");return new F(n,r,i)}}(e,t)||function(e,t){if("for"==e.peek()&&"$"==e.peek(1).substr(0,1)){e.next();var n,r=new q;do{r.bindings.push(G(e,t))}while(","==e.peek()&&e.next());if("return"!=e.peek())throw new b("XPST0003","Expected 'return' token in for expression");if(e.next(),e.eof()||!(n=z(e,t)))throw new b("XPST0003","Expected return statement operand in for expression");return r.returnExpr=n,r}}(e,t)||function(e,t){var n=e.peek();if(("some"==n||"every"==n)&&"$"==e.peek(1).substr(0,1)){e.next();var r,i=new j(n);do{i.bindings.push(_(e,t))}while(","==e.peek()&&e.next());if("satisfies"!=e.peek())throw new b("XPST0003","Expected 'satisfies' token in quantified expression");if(e.next(),e.eof()||!(r=z(e,t)))throw new b("XPST0003","Expected satisfies statement operand in quantified expression");return i.satisfiesExpr=r,i}}(e,t)||function(e,t){var n;if(e.eof()||!(n=pe(e,t)))return;if("or"!=e.peek())return n;var r=new le(n);for(;"or"==e.peek();){if(e.next(),e.eof()||!(n=pe(e,t)))throw new b("XPST0003","Expected second operand in logical expression");r.items.push(n)}return r}(e,t)}function q(){this.bindings=[],this.returnExpr=null}function U(e,t,n,r){this.prefix=e,this.localName=t,this.namespaceURI=n,this.inExpr=r}function G(e,t){var n,r=e.peek().substr(1).match(Ee);if(!r)throw new b("XPST0003","Expected binding in for expression");if("*"==r[1]||"*"==r[2])throw new b("XPST0003","Illegal use of wildcard in for expression binding variable name");if(e.next(),"in"!=e.peek())throw new b("XPST0003","Expected 'in' token in for expression binding");if(e.next(),e.eof()||!(n=z(e,t)))throw new b("XPST0003","Expected in statement operand in for expression binding");return new U(r[1]||null,r[2],r[1]?t.getURIForPrefix(r[1]):null,n)}function F(e,t,n){this.condExpr=e,this.thenExpr=t,this.elseExpr=n}function j(e){this.quantifier=e,this.bindings=[],this.satisfiesExpr=null}function K(e,t,n,r){this.prefix=e,this.localName=t,this.namespaceURI=n,this.inExpr=r}function _(e,t){var n,r=e.peek().substr(1).match(Ee);if(!r)throw new b("XPST0003","Expected binding in quantified expression");if("*"==r[1]||"*"==r[2])throw new b("XPST0003","Illegal use of wildcard in quantified expression binding variable name");if(e.next(),"in"!=e.peek())throw new b("XPST0003","Expected 'in' token in quantified expression binding");if(e.next(),e.eof()||!(n=z(e,t)))throw new b("XPST0003","Expected in statement operand in quantified expression binding");return new K(r[1]||null,r[2],r[1]?t.getURIForPrefix(r[1]):null,n)}function B(e,t,n){this.left=e,this.right=t,this.operator=n}function L(e,t){var n,r;if(!e.eof()&&(n=Le(e,t))){if(!(e.peek()in ee))return n;var i=e.peek();if(e.next(),e.eof()||!(r=Le(e,t)))throw new b("XPST0003","Expected second operand in comparison expression");return new B(n,r,i)}}function H(e,t){var n=ar(e.left.evaluate(t),t);if(!n.length)return new wt(!1);var r=ar(e.right.evaluate(t),t);if(!r.length)return new wt(!1);for(var i,o,a=!1,s=0,u=n.length;s<u&&!a;s++)for(var c,l,f=0,p=r.length;f<p&&!a;f++)o=n[s],c=(l=r[f])instanceof an,(i=o instanceof an)&&c?(o=tn.cast(o),l=tn.cast(l)):(i?l instanceof ln?o=ln.cast(o):l instanceof sn?o=sn.cast(o):l.primitiveKind&&(o=P[l.primitiveKind].cast(o)):c&&(o instanceof ln?l=ln.cast(l):o instanceof sn?l=sn.cast(l):o.primitiveKind&&(l=P[o.primitiveKind].cast(l))),o instanceof pt&&(o=tn.cast(o)),l instanceof pt&&(l=tn.cast(l))),a=$[V[e.operator]](o,l,t).valueOf();return new wt(a)}M.prototype.internalExpression=null,M.prototype.evaluate=function(e){return this.internalExpression.evaluate(e)},S.prototype.equals=function(e,t){throw"Not implemented"},S.prototype.compare=function(e,t){throw"Not implemented"},X.ANYSIMPLETYPE_DT=1,X.STRING_DT=2,X.BOOLEAN_DT=3,X.DECIMAL_DT=4,X.FLOAT_DT=5,X.DOUBLE_DT=6,X.DURATION_DT=7,X.DATETIME_DT=8,X.TIME_DT=9,X.DATE_DT=10,X.GYEARMONTH_DT=11,X.GYEAR_DT=12,X.GMONTHDAY_DT=13,X.GDAY_DT=14,X.GMONTH_DT=15,X.HEXBINARY_DT=16,X.BASE64BINARY_DT=17,X.ANYURI_DT=18,X.QNAME_DT=19,X.NOTATION_DT=20,X.NORMALIZEDSTRING_DT=21,X.TOKEN_DT=22,X.LANGUAGE_DT=23,X.NMTOKEN_DT=24,X.NAME_DT=25,X.NCNAME_DT=26,X.ID_DT=27,X.IDREF_DT=28,X.ENTITY_DT=29,X.INTEGER_DT=30,X.NONPOSITIVEINTEGER_DT=31,X.NEGATIVEINTEGER_DT=32,X.LONG_DT=33,X.INT_DT=34,X.SHORT_DT=35,X.BYTE_DT=36,X.NONNEGATIVEINTEGER_DT=37,X.UNSIGNEDLONG_DT=38,X.UNSIGNEDINT_DT=39,X.UNSIGNEDSHORT_DT=40,X.UNSIGNEDBYTE_DT=41,X.POSITIVEINTEGER_DT=42,X.LISTOFUNION_DT=43,X.LIST_DT=44,X.UNAVAILABLE_DT=45,X.DATETIMESTAMP_DT=46,X.DAYMONTHDURATION_DT=47,X.DAYTIMEDURATION_DT=48,X.PRECISIONDECIMAL_DT=49,X.ANYATOMICTYPE_DT=50,X.ANYTYPE_DT=51,X.XT_YEARMONTHDURATION_DT=-1,X.XT_UNTYPEDATOMIC_DT=-2,C.prototype.items=null,C.prototype.evaluate=function(e){for(var t=[],n=0,r=this.items.length;n<r;n++)t=A.concatenate.call(e,t,this.items[n].evaluate(e));return t},q.prototype.bindings=null,q.prototype.returnExpr=null,q.prototype.evaluate=function(e){var t=[];return function(n,r){for(var i=n.bindings[r++],o=i.inExpr.evaluate(e),a=(i.namespaceURI?"{"+i.namespaceURI+"}":"")+i.localName,s=0,u=o.length;s<u;s++)e.pushVariable(a,o[s]),r<n.bindings.length?arguments.callee(n,r):t=t.concat(n.returnExpr.evaluate(e)),e.popVariable(a)}(this,0),t},U.prototype.prefix=null,U.prototype.localName=null,U.prototype.namespaceURI=null,U.prototype.inExpr=null,F.prototype.condExpr=null,F.prototype.thenExpr=null,F.prototype.elseExpr=null,F.prototype.evaluate=function(e){return this[or(this.condExpr.evaluate(e),e)?"thenExpr":"elseExpr"].evaluate(e)},j.prototype.bindings=null,j.prototype.quantifier=null,j.prototype.satisfiesExpr=null,j.prototype.evaluate=function(e){var t="every"==this.quantifier,n=!!t;return function(r,i){for(var o=r.bindings[i++],a=o.inExpr.evaluate(e),s=(o.namespaceURI?"{"+o.namespaceURI+"}":"")+o.localName,u=0,c=a.length;u<c&&(t?n:!n);u++)e.pushVariable(s,a[u]),i<r.bindings.length?arguments.callee(r,i):n=or(r.satisfiesExpr.evaluate(e),e),e.popVariable(s)}(this,0),[new wt(n)]},K.prototype.prefix=null,K.prototype.localName=null,K.prototype.namespaceURI=null,K.prototype.inExpr=null,B.prototype.left=null,B.prototype.right=null,B.prototype.operator=null,B.prototype.evaluate=function(e){var t=ee[this.operator](this,e);return null==t?[]:[t]};var V={"=":"eq","!=":"ne",">":"gt","<":"lt",">=":"ge","<=":"le"};function W(e,t){var n=ar(e.left.evaluate(t),t);if(!n.length)return null;je(t,n,"?","first operand of '"+e.operator+"'");var r=ar(e.right.evaluate(t),t);if(!r.length)return null;je(t,r,"?","second operand of '"+e.operator+"'");var i=n[0],o=r[0];return i instanceof an&&(i=tn.cast(i)),o instanceof an&&(o=tn.cast(o)),i instanceof pt&&(i=tn.cast(i)),o instanceof pt&&(o=tn.cast(o)),$[e.operator](i,o,t)}var $={};function Q(e,t){var n=e.left.evaluate(t);if(!n.length)return null;je(t,n,"?","first operand of '"+e.operator+"'"),Fe(t,n,Cn,"first operand of '"+e.operator+"'");var r=e.right.evaluate(t);return r.length?(je(t,r,"?","second operand of '"+e.operator+"'"),Fe(t,r,Cn,"second operand of '"+e.operator+"'"),J[e.operator](n[0],r[0],t)):null}$.eq=function(e,t,n){var r="";if(ft(e))ft(t)&&(r="numeric-equal");else if(e instanceof wt)t instanceof wt&&(r="boolean-equal");else if(e instanceof tn){if(t instanceof tn)return A["numeric-equal"].call(n,O.compare.call(n,e,t),new dn(0))}else e instanceof vt?t instanceof vt&&(r="date-equal"):e instanceof nn?t instanceof nn&&(r="time-equal"):e instanceof xt?t instanceof xt&&(r="dateTime-equal"):e instanceof St?t instanceof St&&(r="duration-equal"):e instanceof Ht?t instanceof Ht&&(r="gYearMonth-equal"):e instanceof Bt?t instanceof Bt&&(r="gYear-equal"):e instanceof Kt?t instanceof Kt&&(r="gMonthDay-equal"):e instanceof Ft?t instanceof Ft&&(r="gMonth-equal"):e instanceof Ut?t instanceof Ut&&(r="gDay-equal"):e instanceof Jt?t instanceof Jt&&(r="QName-equal"):e instanceof Wt?t instanceof Wt&&(r="hexBinary-equal"):e instanceof ht&&t instanceof ht&&(r="base64Binary-equal");if(r)return A[r].call(n,e,t);throw new b("XPTY0004","Cannot compare values of given types")},$.ne=function(e,t,n){return new wt(!$.eq(e,t,n).valueOf())},$.gt=function(e,t,n){var r="";if(ft(e))ft(t)&&(r="numeric-greater-than");else if(e instanceof wt)t instanceof wt&&(r="boolean-greater-than");else if(e instanceof tn){if(t instanceof tn)return A["numeric-greater-than"].call(n,O.compare.call(n,e,t),new dn(0))}else e instanceof vt?t instanceof vt&&(r="date-greater-than"):e instanceof nn?t instanceof nn&&(r="time-greater-than"):e instanceof xt?t instanceof xt&&(r="dateTime-greater-than"):e instanceof sn?t instanceof sn&&(r="yearMonthDuration-greater-than"):e instanceof ln&&t instanceof ln&&(r="dayTimeDuration-greater-than");if(r)return A[r].call(n,e,t);throw new b("XPTY0004","Cannot compare values of given types")},$.lt=function(e,t,n){var r="";if(ft(e))ft(t)&&(r="numeric-less-than");else if(e instanceof wt)t instanceof wt&&(r="boolean-less-than");else if(e instanceof tn){if(t instanceof tn)return A["numeric-less-than"].call(n,O.compare.call(n,e,t),new dn(0))}else e instanceof vt?t instanceof vt&&(r="date-less-than"):e instanceof nn?t instanceof nn&&(r="time-less-than"):e instanceof xt?t instanceof xt&&(r="dateTime-less-than"):e instanceof sn?t instanceof sn&&(r="yearMonthDuration-less-than"):e instanceof ln&&t instanceof ln&&(r="dayTimeDuration-less-than");if(r)return A[r].call(n,e,t);throw new b("XPTY0004","Cannot compare values of given types")},$.ge=function(e,t,n){var r="";if(ft(e))ft(t)&&(r="numeric-less-than");else if(e instanceof wt)t instanceof wt&&(r="boolean-less-than");else if(e instanceof tn){if(t instanceof tn)return A["numeric-greater-than"].call(n,O.compare.call(n,e,t),new dn(-1))}else e instanceof vt?t instanceof vt&&(r="date-less-than"):e instanceof nn?t instanceof nn&&(r="time-less-than"):e instanceof xt?t instanceof xt&&(r="dateTime-less-than"):e instanceof sn?t instanceof sn&&(r="yearMonthDuration-less-than"):e instanceof ln&&t instanceof ln&&(r="dayTimeDuration-less-than");if(r)return new wt(!A[r].call(n,e,t).valueOf());throw new b("XPTY0004","Cannot compare values of given types")},$.le=function(e,t,n){var r="";if(ft(e))ft(t)&&(r="numeric-greater-than");else if(e instanceof wt)t instanceof wt&&(r="boolean-greater-than");else if(e instanceof tn){if(t instanceof tn)return A["numeric-less-than"].call(n,O.compare.call(n,e,t),new dn(1))}else e instanceof vt?t instanceof vt&&(r="date-greater-than"):e instanceof nn?t instanceof nn&&(r="time-greater-than"):e instanceof xt?t instanceof xt&&(r="dateTime-greater-than"):e instanceof sn?t instanceof sn&&(r="yearMonthDuration-greater-than"):e instanceof ln&&t instanceof ln&&(r="dayTimeDuration-greater-than");if(r)return new wt(!A[r].call(n,e,t).valueOf());throw new b("XPTY0004","Cannot compare values of given types")};var J={is:function(e,t,n){return A["is-same-node"].call(n,e,t)},">>":function(e,t,n){return A["node-after"].call(n,e,t)},"<<":function(e,t,n){return A["node-before"].call(n,e,t)}},ee={"=":H,"!=":H,"<":H,"<=":H,">":H,">=":H,eq:W,ne:W,lt:W,le:W,gt:W,ge:W,is:Q,">>":Q,"<<":Q};function te(e){this.left=e,this.items=[]}te.prototype.left=null,te.prototype.items=null;var ne={};function re(e,t){var n;if(!e.eof()&&(n=ae(e,t))){if(!(e.peek()in ne))return n;for(var r,i=new te(n);(r=e.peek())in ne;){if(e.next(),e.eof()||!(n=ae(e,t)))throw new b("XPST0003","Expected second operand in additive expression");i.items.push([r,n])}return i}}function ie(e){this.left=e,this.items=[]}ne["+"]=function(e,t,n){var r="",i=!1;if(ft(e)?ft(t)&&(r="numeric-add"):e instanceof vt?t instanceof sn?r="add-yearMonthDuration-to-date":t instanceof ln&&(r="add-dayTimeDuration-to-date"):e instanceof sn?t instanceof vt?(r="add-yearMonthDuration-to-date",i=!0):t instanceof xt?(r="add-yearMonthDuration-to-dateTime",i=!0):t instanceof sn&&(r="add-yearMonthDurations"):e instanceof ln?t instanceof vt?(r="add-dayTimeDuration-to-date",i=!0):t instanceof nn?(r="add-dayTimeDuration-to-time",i=!0):t instanceof xt?(r="add-dayTimeDuration-to-dateTime",i=!0):t instanceof ln&&(r="add-dayTimeDurations"):e instanceof nn?t instanceof ln&&(r="add-dayTimeDuration-to-time"):e instanceof xt&&(t instanceof sn?r="add-yearMonthDuration-to-dateTime":t instanceof ln&&(r="add-dayTimeDuration-to-dateTime")),r)return A[r].call(n,i?t:e,i?e:t);throw new b("XPTY0004","Arithmetic operator is not defined for provided arguments")},ne["-"]=function(e,t,n){var r="";if(ft(e)?ft(t)&&(r="numeric-subtract"):e instanceof vt?t instanceof vt?r="subtract-dates":t instanceof sn?r="subtract-yearMonthDuration-from-date":t instanceof ln&&(r="subtract-dayTimeDuration-from-date"):e instanceof nn?t instanceof nn?r="subtract-times":t instanceof ln&&(r="subtract-dayTimeDuration-from-time"):e instanceof xt?t instanceof xt?r="subtract-dateTimes":t instanceof sn?r="subtract-yearMonthDuration-from-dateTime":t instanceof ln&&(r="subtract-dayTimeDuration-from-dateTime"):e instanceof sn?t instanceof sn&&(r="subtract-yearMonthDurations"):e instanceof ln&&t instanceof ln&&(r="subtract-dayTimeDurations"),r)return A[r].call(n,e,t);throw new b("XPTY0004","Arithmetic operator is not defined for provided arguments")},te.prototype.evaluate=function(e){var t=ar(this.left.evaluate(e),e);if(!t.length)return[];je(e,t,"?","first operand of '"+this.items[0][0]+"'");var n=t[0];n instanceof an&&(n=kt.cast(n));for(var r,i,o=0,a=this.items.length;o<a;o++){if(!(r=ar(this.items[o][1].evaluate(e),e)).length)return[];je(e,r,"?","first operand of '"+this.items[o][0]+"'"),(i=r[0])instanceof an&&(i=kt.cast(i)),n=ne[this.items[o][0]](n,i,e)}return[n]},ie.prototype.left=null,ie.prototype.items=null;var oe={};function ae(e,t){var n;if(!e.eof()&&(n=Ve(e,t))){if(!(e.peek()in oe))return n;for(var r,i=new ie(n);(r=e.peek())in oe;){if(e.next(),e.eof()||!(n=Ve(e,t)))throw new b("XPST0003","Expected second operand in multiplicative expression");i.items.push([r,n])}return i}}function se(e,t){this.operator=e,this.expression=t}oe["*"]=function(e,t,n){var r="",i=!1;if(ft(e)?ft(t)?r="numeric-multiply":t instanceof sn?(r="multiply-yearMonthDuration",i=!0):t instanceof ln&&(r="multiply-dayTimeDuration",i=!0):e instanceof sn?ft(t)&&(r="multiply-yearMonthDuration"):e instanceof ln&&ft(t)&&(r="multiply-dayTimeDuration"),r)return A[r].call(n,i?t:e,i?e:t);throw new b("XPTY0004","Arithmetic operator is not defined for provided arguments")},oe.div=function(e,t,n){var r="";if(ft(e)?ft(t)&&(r="numeric-divide"):e instanceof sn?ft(t)?r="divide-yearMonthDuration":t instanceof sn&&(r="divide-yearMonthDuration-by-yearMonthDuration"):e instanceof ln&&(ft(t)?r="divide-dayTimeDuration":t instanceof ln&&(r="divide-dayTimeDuration-by-dayTimeDuration")),r)return A[r].call(n,e,t);throw new b("XPTY0004","Arithmetic operator is not defined for provided arguments")},oe.idiv=function(e,t,n){if(ft(e)&&ft(t))return A["numeric-integer-divide"].call(n,e,t);throw new b("XPTY0004","Arithmetic operator is not defined for provided arguments")},oe.mod=function(e,t,n){if(ft(e)&&ft(t))return A["numeric-mod"].call(n,e,t);throw new b("XPTY0004","Arithmetic operator is not defined for provided arguments")},ie.prototype.evaluate=function(e){var t=ar(this.left.evaluate(e),e);if(!t.length)return[];je(e,t,"?","first operand of '"+this.items[0][0]+"'");var n=t[0];n instanceof an&&(n=kt.cast(n));for(var r,i,o=0,a=this.items.length;o<a;o++){if(!(r=ar(this.items[o][1].evaluate(e),e)).length)return[];je(e,r,"?","second operand of '"+this.items[o][0]+"'"),(i=r[0])instanceof an&&(i=kt.cast(i)),n=oe[this.items[o][0]](n,i,e)}return[n]},se.prototype.operator=null,se.prototype.expression=null;var ue={};function ce(e,t){return function(e,t){if(e.eof())return;var n,r="/",i="//",o=new Te,a=e.peek();a!=i&&a!=r||(e.next(),o.items.push(new qe(null,"root",g)),a==i&&o.items.push(new we("descendant-or-self",new Ie("node"))));if(e.eof()||!(n=he(e,t))){if(a==r)return o.items[0];if(a==i)throw new b("XPST0003","Expected path step expression");return}o.items.push(n);for(;(a=e.peek())==r||a==i;){if(a==i&&o.items.push(new we("descendant-or-self",new Ie("node"))),e.next(),e.eof()||!(n=he(e,t)))throw new b("XPST0003","Expected path step expression");o.items.push(n)}if(1==o.items.length)return o.items[0];return o}(e,t)}function le(e){this.left=e,this.items=[]}function fe(e){this.left=e,this.items=[]}function pe(e,t){var n;if(!e.eof()&&(n=L(e,t))){if("and"!=e.peek())return n;for(var r=new fe(n);"and"==e.peek();){if(e.next(),e.eof()||!(n=L(e,t)))throw new b("XPST0003","Expected second operand in logical expression");r.items.push(n)}return r}}function de(){}function he(e,t){if(!e.eof())return function(e,t){var n;if(e.eof()||!(n=function(e,t){if(!e.eof())return function(e,t){if("."==e.peek())return e.next(),new Ae}(e)||function(e,t){if("("==e.peek()){e.next();var n=null;if(")"!=e.peek()&&(n=Y(e,t)),")"!=e.peek())throw new b("XPST0003","Expected ')' token in parenthesized expression");return e.next(),new Pe(n)}}(e,t)||function(e,t){var n=e.peek().match(Ee);if(n&&"("==e.peek(1)){if(!n[1]&&n[2]in De)return ve(e,t);if("*"==n[1]||"*"==n[2])throw new b("XPST0003","Illegal use of wildcard in function name");var r,i=new qe(n[1]||null,n[2],n[1]?t.getURIForPrefix(n[1])||null:t.defaultFunctionNamespace);if(e.next(2),")"!=e.peek()){do{if(e.eof()||!(r=z(e,t)))throw new b("XPST0003","Expected function call argument");i.args.push(r)}while(","==e.peek()&&e.next());if(")"!=e.peek())throw new b("XPST0003","Expected ')' token in function call")}return e.next(),i}}(e,t)||function(e,t){if("$"==e.peek().substr(0,1)){var n=e.peek().substr(1).match(Ee);if(n){if("*"==n[1]||"*"==n[2])throw new b("XPST0003","Illegal use of wildcard in var expression variable name");var r=new ze(n[1]||null,n[2],n[1]?t.getURIForPrefix(n[1]):null);return e.next(),r}}}(e,t)||function(e,t){if(!e.eof())return function(e,t){var n=Se(e.peek());if(n)return e.next(),new ke(n)}(e)||function(e,t){var n=e.peek().match(Ce);if(n)return e.next(),new Xe(new tn(n[1]?n[1].replace("''","'"):n[2]?n[2].replace('""','"'):""))}(e)}(e)}(e,t)))return;var r=new Ye(n);if(me(e,t,r),0==r.predicates.length)return r.expression;return r}(e,t)||ve(e,t)}function me(e,t,n){for(var r;"["==e.peek();){if(e.next(),e.eof()||!(r=Y(e,t)))throw new b("XPST0003","Expected expression in predicate");if(n.predicates.push(r),"]"!=e.peek())throw new b("XPST0003","Expected ']' token in predicate");e.next()}}function we(e,t){this.axis=e,this.test=t,this.predicates=[]}ue["-"]=function(e,t){if(ft(e))return A["numeric-unary-minus"].call(t,e);throw new b("XPTY0004","Arithmetic operator is not defined for provided arguments")},ue["+"]=function(e,t){if(ft(e))return A["numeric-unary-plus"].call(t,e);throw new b("XPTY0004","Arithmetic operator is not defined for provided arguments")},se.prototype.evaluate=function(e){var t=ar(this.expression.evaluate(e),e);if(!t.length)return[];je(e,t,"?","second operand of '"+this.operator+"'");var n=t[0];return n instanceof an&&(n=kt.cast(n)),[ue[this.operator](n,e)]},le.prototype.left=null,le.prototype.items=null,le.prototype.evaluate=function(e){for(var t=or(this.left.evaluate(e),e),n=0,r=this.items.length;n<r&&!t;n++)t=or(this.items[n].evaluate(e),e);return[new wt(t)]},fe.prototype.left=null,fe.prototype.items=null,fe.prototype.evaluate=function(e){for(var t=or(this.left.evaluate(e),e),n=0,r=this.items.length;n<r&&t;n++)t=or(this.items[n].evaluate(e),e);return[new wt(t)]},de.prototype.predicates=null,de.prototype.applyPredicates=function(e,t){for(var n,r=t.item,i=t.position,o=t.size,a=0,s=this.predicates.length;a<s;a++){n=e,e=[];for(var u,c=0,l=n.length;c<l;c++)t.item=n[c],t.position=c+1,t.size=l,1==(u=this.predicates[a].evaluate(t)).length&&ft(u[0])?u[0].valueOf()==c+1&&e.push(n[c]):or(u,t)&&e.push(n[c])}return t.item=r,t.position=i,t.size=o,e},we.prototype=new de,we.prototype.axis=null,we.prototype.test=null;var ye={};function ve(e,t){var n,r,i=e.peek();if("::"==e.peek(1)){if(!(i in ye))throw new b("XPST0003","Unknown axis name: "+i);if(e.next(2),e.eof()||!(n=xe(e,t)))throw new b("XPST0003","Expected node test expression in axis step");r=new we(i,n)}else if(".."==i)e.next(),r=new we("parent",new Ie("node"));else if("@"==i){if(e.next(),e.eof()||!(n=xe(e,t)))throw new b("XPST0003","Expected node test expression in axis step");r=new we("attribute",n)}else{if(e.eof()||!(n=xe(e,t)))return;r=new we(n instanceof Ie&&"attribute"==n.name?"attribute":"child",n)}return me(e,t,r),r}function ge(e,t,n){for(var r;e;e=n(e,"nextSibling"))t.push(e),(r=n(e,"firstChild"))&&ge(r,t,n)}function be(e,t,n){for(var r;e;e=n(e,"previousSibling"))(r=n(e,"lastChild"))&&be(r,t,n),t.push(e)}function Te(){this.items=[]}function Ze(){}function xe(e,t){if(!e.eof())return Ne(e,t)||function(e,t){var n=e.peek().match(Ee);if(n){if("*"==n[1]&&"*"==n[2])throw new b("XPST0003","Illegal use of *:* wildcard in name test");return e.next(),new Oe(n[1]||null,n[2],n[1]?"*"==n[1]?"*":t.getURIForPrefix(n[1])||null:t.defaultElementNamespace)}}(e,t)}function Ie(e){this.name=e,this.args=[]}ye.attribute={},ye.child={},ye.descendant={},ye["descendant-or-self"]={},ye.following={},ye["following-sibling"]={},ye.self={},ye.ancestor={},ye["ancestor-or-self"]={},ye.parent={},ye.preceding={},ye["preceding-sibling"]={},we.prototype.evaluate=function(e){var t=e.item;if(!e.DOMAdapter.isNode(t))throw new b("XPTY0020");var n=[],r=e.DOMAdapter.getProperty,i=r(t,"nodeType");switch(this.axis){case"attribute":if(1==i)for(var o=r(t,"attributes"),a=0,s=o.length;a<s;a++)n.push(o[a]);break;case"child":for(var u=r(t,"firstChild");u;u=r(u,"nextSibling"))n.push(u);break;case"descendant-or-self":n.push(t);case"descendant":ge(r(t,"firstChild"),n,r);break;case"following":for(var c=t;c;c=r(c,"parentNode"))(l=r(c,"nextSibling"))&&ge(l,n,r);break;case"following-sibling":for(u=t;u=r(u,"nextSibling");)n.push(u);break;case"self":n.push(t);break;case"ancestor-or-self":n.push(t);case"ancestor":for(u=2==i?r(t,"ownerElement"):t;u=r(u,"parentNode");)n.push(u);break;case"parent":(c=r(t,2==i?"ownerElement":"parentNode"))&&n.push(c);break;case"preceding":var l;for(c=t;c;c=r(c,"parentNode"))(l=r(c,"previousSibling"))&&be(l,n,r);break;case"preceding-sibling":for(u=t;u=r(u,"previousSibling");)n.push(u)}if(n.length&&!(this.test instanceof Ie&&"node"==this.test.name)){var f=n;n=[];for(a=0,s=f.length;a<s;a++)this.test.test(f[a],e)&&n.push(f[a])}switch(n.length&&this.predicates.length&&(n=this.applyPredicates(n,e)),this.axis){case"ancestor":case"ancestor-or-self":case"parent":case"preceding":case"preceding-sibling":n.reverse()}return n},Te.prototype.items=null,Te.prototype.evaluate=function(e){for(var t,n=e.item,r=[n],i=0,o=this.items.length;i<o;i++){t=[];for(var a=0,s=r.length;a<s;a++){e.item=r[a];for(var u=0,c=this.items[i].evaluate(e),l=c.length;u<l;u++){if(i<o-1&&!e.DOMAdapter.isNode(c[u]))throw new b("XPTY0019");-1==y(t,c[u])&&t.push(c[u])}}r=t}return e.item=n,sr(r,e)},Ie.prototype=new Ze,Ie.prototype.name=null,Ie.prototype.args=null;var De={};function Ne(e,t){var n=e.peek();if("("==e.peek(1)){if(!(n in De))throw new b("XPST0003","Unknown '"+n+"' kind test");e.next(2);var r=new Ie(n);if(")"!=e.peek());else{if("schema-attribute"==n)throw new b("XPST0003","Expected attribute declaration in 'schema-attribute' kind test");if("schema-element"==n)throw new b("XPST0003","Expected element declaration in 'schema-element' kind test")}if(")"!=e.peek())throw new b("XPST0003","Expected ')' token in kind test");return e.next(),r}}function Oe(e,t,n){this.prefix=e,this.localName=t,this.namespaceURI=n}De["document-node"]={},De.element={},De.attribute={},De["processing-instruction"]={},De.comment={},De.text={},De.node={},De["schema-element"]={},De["schema-attribute"]={},Ie.prototype.test=function(e,t){var n=t.DOMAdapter.getProperty,r=t.DOMAdapter.isNode(e)?n(e,"nodeType"):0;switch(this.name){case"node":return!!r;case"attribute":if(2!=r)return!1;break;case"document-node":return 9==r;case"element":return 1==r;case"processing-instruction":if(7!=r)return!1;break;case"comment":return 8==r;case"text":return 3==r||4==r;case"schema-attribute":throw"KindTest 'schema-attribute' not implemented";case"schema-element":throw"KindTest 'schema-element' not implemented"}return 2==r?"xmlns"!=n(e,"prefix")&&"xmlns"!=n(e,"localName"):7!=r||"xml"!=n(e,"target")},Oe.prototype=new Ze,Oe.prototype.prefix=null,Oe.prototype.localName=null,Oe.prototype.namespaceURI=null;var Ee=/^(?:(?![0-9-])([\w-]+|\*)\:)?(?![0-9-])([\w-]+|\*)$/;function Pe(e){this.expression=e}function Ae(){}function Re(){}function ke(e){this.value=e}Oe.prototype.test=function(e,t){var n=t.DOMAdapter.getProperty,r=n(e,"nodeType");if(1==r||2==r){if("*"==this.localName)return(1==r||"xmlns"!=n(e,"prefix")&&"xmlns"!=n(e,"localName"))&&(!this.prefix||n(e,"namespaceURI")==this.namespaceURI);if(this.localName==n(e,"localName"))return"*"==this.namespaceURI||2==r&&!this.prefix&&!n(e,"prefix")||n(e,"namespaceURI")==this.namespaceURI}return!1},Pe.prototype.evaluate=function(e){return this.expression?this.expression.evaluate(e):[]},Ae.prototype.evaluate=function(e){if(null==e.item)throw new b("XPDY0002","Dynamic context does not have context item initialized");return[e.item]},Re.prototype.value=null,Re.prototype.evaluate=function(e){return[this.value]},ke.prototype=new Re;var Me=/^[+\-]?(?:(?:(\d+)(?:\.(\d*))?)|(?:\.(\d+)))(?:[eE]([+-])?(\d+))?$/;function Se(e){var t=e.match(Me);if(t){var n=dn;return t[5]?n=kt:(t[2]||t[3])&&(n=At),new n(+e)}}function Xe(e){this.value=e}Xe.prototype=new Re;var Ce=/^'([^']*(?:''[^']*)*)'|"([^"]*(?:""[^"]*)*)"$/;function Ye(e){this.expression=e,this.predicates=[]}function ze(e,t,n){this.prefix=e,this.localName=t,this.namespaceURI=n}function qe(e,t,n){this.prefix=e,this.localName=t,this.namespaceURI=n,this.args=[]}Ye.prototype=new de,Ye.prototype.expression=null,Ye.prototype.evaluate=function(e){var t=this.expression.evaluate(e);return this.predicates.length&&t.length&&(t=this.applyPredicates(t,e)),t},ze.prototype.prefix=null,ze.prototype.localName=null,ze.prototype.namespaceURI=null,ze.prototype.evaluate=function(e){var t=(this.namespaceURI?"{"+this.namespaceURI+"}":"")+this.localName;if(e.scope.hasOwnProperty(t))return[e.scope[t]];throw new b("XPST0008","Variable $"+(this.prefix?this.prefix+":":"")+this.localName+" has not been declared")},qe.prototype.prefix=null,qe.prototype.localName=null,qe.prototype.namespaceURI=null,qe.prototype.args=null,qe.prototype.evaluate=function(e){for(var t,n,i=[],o=0,a=this.args.length;o<a;o++)i.push(this.args[o].evaluate(e));var s=(this.namespaceURI?"{"+this.namespaceURI+"}":"")+this.localName;if(this.namespaceURI==g){var u;if(n=O[this.localName])return(t=E[this.localName])&&Ge(this.localName,t,n,i,e),null==(u=n.apply(e,i))?[]:u instanceof r?u:[u];throw new b("XPST0017","Unknown system function: "+s+"()")}if(this.namespaceURI==v){if((n=P[this.localName])&&"NOTATION"!=this.localName&&"anyAtomicType"!=this.localName)return Ge(this.localName,[[lt]],n,i,e),[n.cast(i[0])];throw new b("XPST0017","Unknown type constructor function: "+s+"()")}if(n=e.staticContext.getFunction(s))return null==(u=n.apply(e,i))?[]:u instanceof r?u:[u];throw new b("XPST0017","Unknown user function: "+s+"()")};var Ue=["first","second","third","fourth","fifth"];function Ge(e,t,n,r,i){for(var o,a,s=r.length,u=t.length,c=0;c<t.length&&!t[c][2];)c++;if(s>u)throw new b("XPST0017","Function "+e+"() must have "+(u?" no more than ":"")+u+" argument"+(u>1||!u?"s":""));if(s<c)throw new b("XPST0017","Function "+e+"() must have "+(c==u?"exactly":"at least")+" "+c+" argument"+(u>1?"s":""));for(var l=0;l<s;l++)a=t[l],je(i,o=r[l],a[1],Ue[l]+" argument of "+e+"()"),Fe(i,o,a[0],Ue[l]+" argument of "+e+"()"),"+"!=a[1]&&"*"!=a[1]&&(r[l]=o.length?o[0]:null)}function Fe(e,t,n,r){for(var i,o=0,a=t.length;o<a;o++)if(i=t[o],n==Cn||n.prototype instanceof Cn){if(!e.DOMAdapter.isNode(i))throw new b("XPTY0004","Required item type of "+r+" is "+n);if(n!=Cn&&[null,Un,Yn,Fn,Fn,null,null,Gn,zn,qn,null,null,null][e.DOMAdapter.getProperty(i,"nodeType")]!=n)throw new b("XPTY0004","Required item type of "+r+" is "+n)}else if(n==lt||n.prototype instanceof lt){if(i=ar([i],e)[0],n!=lt&&(i instanceof an?i=n.cast(i):n==tn?i instanceof pt&&(i=tn.cast(i)):n==kt&&ft(i)&&(i=n.cast(i))),!(i instanceof n))throw new b("XPTY0004","Required item type of "+r+" is "+n);t[o]=i}}function je(e,t,n,r){var i=t.length;if("?"==n){if(i>1)throw new b("XPTY0004","Required cardinality of "+r+" is one or zero")}else if("+"==n){if(i<1)throw new b("XPTY0004","Required cardinality of "+r+" is one or more")}else if("*"!=n&&1!=i)throw new b("XPTY0004","Required cardinality of "+r+" is exactly one")}function Ke(e){this.left=e,this.items=[]}function _e(e,t){var n,r;if(!e.eof()&&(n=$e(e,t))){if("intersect"!=(r=e.peek())&&"except"!=r)return n;for(var i=new Ke(n);"intersect"==(r=e.peek())||"except"==r;){if(e.next(),e.eof()||!(n=$e(e,t)))throw new b("XPST0003","Expected second operand in "+r+" expression");i.items.push([r,n])}return i}}function Be(e,t){this.left=e,this.right=t}function Le(e,t){var n,r;if(!e.eof()&&(n=re(e,t))){if("to"!=e.peek())return n;if(e.next(),e.eof()||!(r=re(e,t)))throw new b("XPST0003","Expected second operand in range expression");return new Be(n,r)}}function He(e){this.left=e,this.items=[]}function Ve(e,t){var n,r;if(!e.eof()&&(n=_e(e,t))){if("|"!=(r=e.peek())&&"union"!=r)return n;for(var i=new He(n);"|"==(r=e.peek())||"union"==r;){if(e.next(),e.eof()||!(n=_e(e,t)))throw new b("XPST0003","Expected second operand in union expression");i.items.push(n)}return i}}function We(e,t){this.expression=e,this.type=t}function $e(e,t){var n,r;if(!e.eof()&&(n=function(e,t){var n,r;if(e.eof()||!(n=function(e,t){var n,r;if(e.eof()||!(n=function(e,t){var n,r;if(e.eof()||!(n=function(e,t){if(!e.eof()){if(!(e.peek()in ue))return ce(e,t);for(var n,r="+";e.peek()in ue;)"-"==e.peek()&&(r="-"==r?"+":"-"),e.next();if(e.eof()||!(n=ce(e,t)))throw new b("XPST0003","Expected operand in unary expression");return new se(r,n)}}(e,t)))return;if("cast"!=e.peek()||"as"!=e.peek(1))return n;if(e.next(2),e.eof()||!(r=st(e,t)))throw new b("XPST0003","Expected second operand in cast expression");return new et(n,r)}(e,t)))return;if("castable"!=e.peek()||"as"!=e.peek(1))return n;if(e.next(2),e.eof()||!(r=st(e,t)))throw new b("XPST0003","Expected second operand in castable expression");return new Je(n,r)}(e,t)))return;if("treat"!=e.peek()||"as"!=e.peek(1))return n;if(e.next(2),e.eof()||!(r=ot(e,t)))throw new b("XPST0003","Expected second operand in treat expression");return new Qe(n,r)}(e,t))){if("instance"!=e.peek()||"of"!=e.peek(1))return n;if(e.next(2),e.eof()||!(r=ot(e,t)))throw new b("XPST0003","Expected second operand in instance of expression");return new We(n,r)}}function Qe(e,t){this.expression=e,this.type=t}function Je(e,t){this.expression=e,this.type=t}function et(e,t){this.expression=e,this.type=t}function tt(e,t,n){this.prefix=e,this.localName=t,this.namespaceURI=n}function nt(e,t){var n=e.peek().match(Ee);if(n){if("*"==n[1]||"*"==n[2])throw new b("XPST0003","Illegal use of wildcard in type name");return e.next(),new tt(n[1]||null,n[2],n[1]?t.getURIForPrefix(n[1]):null)}}function rt(e){this.test=e}function it(e,t){this.itemType=e||null,this.occurence=t||null}function ot(e,t){if(!e.eof()){if("empty-sequence"==e.peek()&&"("==e.peek(1)){if(e.next(2),")"!=e.peek())throw new b("XPST0003","Expected ')' token in sequence type");return e.next(),new it}var n,r;return!e.eof()&&(n=function(e,t){if(!e.eof()){var n;if("item"==e.peek()&&"("==e.peek(1)){if(e.next(2),")"!=e.peek())throw new b("XPST0003","Expected ')' token in item type expression");return e.next(),new rt}return(n=Ne(e))||(n=nt(e,t))?new rt(n):void 0}}(e,t))?("?"==(r=e.peek())||"*"==r||"+"==r?e.next():r=null,new it(n,r)):void 0}}function at(e,t){this.itemType=e||null,this.occurence=t||null}function st(e,t){var n,r;if(!e.eof()&&(n=nt(e,t)))return"?"==(r=e.peek())?e.next():r=null,new at(n,r)}function ut(){}function ct(){}function lt(){}function ft(e){return e instanceof zt||e instanceof kt||e instanceof At}function pt(e,t,n,r,i){this.scheme=e,this.authority=t,this.path=n,this.query=r,this.fragment=i}Ke.prototype.left=null,Ke.prototype.items=null,Ke.prototype.evaluate=function(e){for(var t,n=this.left.evaluate(e),r=0,i=this.items.length;r<i;r++)n=A[(t=this.items[r])[0]].call(e,n,t[1].evaluate(e));return n},Be.prototype.left=null,Be.prototype.right=null,Be.prototype.evaluate=function(e){var t=this.left.evaluate(e);if(!t.length)return[];var n="first operand of 'to'";je(0,t,"?",n),Fe(e,t,dn,n);var r=this.right.evaluate(e);return r.length?(je(0,r,"?",n="second operand of 'to'"),Fe(e,r,dn,n),A.to.call(e,t[0],r[0])):[]},He.prototype.left=null,He.prototype.items=null,He.prototype.evaluate=function(e){for(var t=this.left.evaluate(e),n=0,r=this.items.length;n<r;n++)t=A.union.call(e,t,this.items[n].evaluate(e));return t},We.prototype.expression=null,We.prototype.type=null,We.prototype.evaluate=function(e){var t=this.expression.evaluate(e),n=this.type.itemType,r=this.type.occurence;if(!n)return[new wt(!t.length)];if(!t.length)return[new wt("?"==r||"*"==r)];if(1!=t.length&&"+"!=r&&"*"!=r)return[new wt(!1)];if(!n.test)return[new wt(!0)];for(var i=!0,o=0,a=t.length;o<a&&i;o++)i=n.test.test(t[o],e);return[new wt(i)]},Qe.prototype.expression=null,Qe.prototype.type=null,Qe.prototype.evaluate=function(e){var t=this.expression.evaluate(e),n=this.type.itemType,r=this.type.occurence;if(!n){if(t.length)throw new b("XPDY0050","The only value allowed for the value in 'treat as' expression is an empty sequence");return t}if("?"!=r&&"*"!=r&&!t.length)throw new b("XPDY0050","An empty sequence is not allowed as the value in 'treat as' expression");if("+"!=r&&"*"!=r&&1!=t.length)throw new b("XPDY0050","A sequence of more than one item is not allowed as the value in 'treat as' expression");if(!n.test)return t;for(var i=0,o=t.length;i<o;i++)if(!n.test.test(t[i],e))throw new b("XPDY0050","Required item type of value in 'treat as' expression is "+(n.test.prefix?n.test.prefix+":":"")+n.test.localName);return t},Je.prototype.expression=null,Je.prototype.type=null,Je.prototype.evaluate=function(e){var t=this.expression.evaluate(e),n=this.type.itemType,r=this.type.occurence;if(t.length>1)return[new wt(!1)];if(!t.length)return[new wt("?"==r)];try{n.cast(ar(t,e)[0])}catch(e){if("XPST0051"==e.code)throw e;if("XPST0017"==e.code)throw new b("XPST0080","No value is castable to "+(n.prefix?n.prefix+":":"")+n.localName);return[new wt(!1)]}return[new wt(!0)]},et.prototype.expression=null,et.prototype.type=null,et.prototype.evaluate=function(e){var t=this.expression.evaluate(e);return je(0,t,this.type.occurence,"'cast as' expression operand"),t.length?[this.type.itemType.cast(ar(t,e)[0],e)]:[]},tt.prototype.prefix=null,tt.prototype.localName=null,tt.prototype.namespaceURI=null,tt.prototype.test=function(e,t){var n=(this.namespaceURI?"{"+this.namespaceURI+"}":"")+this.localName,r=this.namespaceURI==v?P[this.localName]:t.staticContext.getDataType(n);if(r)return e instanceof r;throw new b("XPST0051","Unknown simple type "+(this.prefix?this.prefix+":":"")+this.localName)},tt.prototype.cast=function(e,t){var n=(this.namespaceURI?"{"+this.namespaceURI+"}":"")+this.localName,r=this.namespaceURI==v?P[this.localName]:t.staticContext.getDataType(n);if(r)return r.cast(e);throw new b("XPST0051","Unknown atomic type "+(this.prefix?this.prefix+":":"")+this.localName)},rt.prototype.test=null,it.prototype.itemType=null,it.prototype.occurence=null,at.prototype.itemType=null,at.prototype.occurence=null,ut.prototype.builtInKind=X.ANYTYPE_DT,ct.prototype=new ut,ct.prototype.builtInKind=X.ANYSIMPLETYPE_DT,ct.prototype.primitiveKind=null,ct.PRIMITIVE_ANYURI="anyURI",ct.PRIMITIVE_BASE64BINARY="base64Binary",ct.PRIMITIVE_BOOLEAN="boolean",ct.PRIMITIVE_DATE="date",ct.PRIMITIVE_DATETIME="dateTime",ct.PRIMITIVE_DECIMAL="decimal",ct.PRIMITIVE_DOUBLE="double",ct.PRIMITIVE_DURATION="duration",ct.PRIMITIVE_FLOAT="float",ct.PRIMITIVE_GDAY="gDay",ct.PRIMITIVE_GMONTH="gMonth",ct.PRIMITIVE_GMONTHDAY="gMonthDay",ct.PRIMITIVE_GYEAR="gYear",ct.PRIMITIVE_GYEARMONTH="gYearMonth",ct.PRIMITIVE_HEXBINARY="hexBinary",ct.PRIMITIVE_NOTATION="NOTATION",ct.PRIMITIVE_QNAME="QName",ct.PRIMITIVE_STRING="string",ct.PRIMITIVE_TIME="time",lt.prototype=new ct,lt.prototype.builtInKind=X.ANYATOMICTYPE_DT,lt.cast=function(e){throw new b("XPST0017","Abstract type used in constructor function xs:anyAtomicType")},k("anyAtomicType",lt),pt.prototype=new lt,pt.prototype.builtInKind=X.ANYURI_DT,pt.prototype.primitiveKind=ct.PRIMITIVE_ANYURI,pt.prototype.scheme=null,pt.prototype.authority=null,pt.prototype.path=null,pt.prototype.query=null,pt.prototype.fragment=null,pt.prototype.toString=function(){return(this.scheme?this.scheme+":":"")+(this.authority?"//"+this.authority:"")+(this.path?this.path:"")+(this.query?"?"+this.query:"")+(this.fragment?"#"+this.fragment:"")};var dt=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;function ht(e){this.value=e}pt.cast=function(e){if(e instanceof pt)return e;if(e instanceof tn||e instanceof an){var t;if(t=w(e).match(dt))return new pt(t[2],t[4],t[5],t[7],t[9]);throw new b("FORG0001")}throw new b("XPTY0004","Casting value '"+e+"' to xs:anyURI can never succeed")},k("anyURI",pt),ht.prototype=new lt,ht.prototype.builtInKind=X.BASE64BINARY_DT,ht.prototype.primitiveKind=ct.PRIMITIVE_BASE64BINARY,ht.prototype.value=null,ht.prototype.valueOf=function(){return this.value},ht.prototype.toString=function(){return this.value};var mt=/^((([A-Za-z0-9+\/]\s*){4})*(([A-Za-z0-9+\/]\s*){3}[A-Za-z0-9+\/]|([A-Za-z0-9+\/]\s*){2}[AEIMQUYcgkosw048]\s*=|[A-Za-z0-9+\/]\s*[AQgw]\s*=\s*=))?$/;function wt(e){this.value=e}ht.cast=function(e){if(e instanceof ht)return e;if(e instanceof tn||e instanceof an){if(n=w(e).match(mt))return new ht(n[0]);throw new b("FORG0001")}if(e instanceof Wt){for(var n,r=[],i=0,o=(n=e.valueOf().match(/.{2}/g)).length;i<o;i++)r.push(t.fromCharCode(m(n[i],16)));return new ht(d(r.join("")))}throw new b("XPTY0004","Casting value '"+e+"' to xs:hexBinary can never succeed")},k("base64Binary",ht),wt.prototype=new lt,wt.prototype.builtInKind=X.BOOLEAN_DT,wt.prototype.primitiveKind=ct.PRIMITIVE_BOOLEAN,wt.prototype.value=null,wt.prototype.valueOf=function(){return this.value},wt.prototype.toString=function(){return t(this.value)};var yt=/^(0|1|true|false)$/;function vt(e,t,n,r,i){this.year=e,this.month=t,this.day=n,this.timezone=r,this.negative=i}wt.cast=function(e){if(e instanceof wt)return e;if(e instanceof tn||e instanceof an){var t;if(t=w(e).match(yt))return new wt("1"==t[1]||"true"==t[1]);throw new b("FORG0001")}if(ft(e))return new wt(0!=e);throw new b("XPTY0004","Casting value '"+e+"' to xs:boolean can never succeed")},k("boolean",wt),vt.prototype=new lt,vt.prototype.builtInKind=X.DATE_DT,vt.prototype.primitiveKind=ct.PRIMITIVE_DATE,vt.prototype.year=null,vt.prototype.month=null,vt.prototype.day=null,vt.prototype.timezone=null,vt.prototype.negative=null,vt.prototype.toString=function(){return Ot(this)+Nt(this)};var gt=/^(-?)([1-9]\d\d\d+|0\d\d\d)-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])(Z|([+\-])(0\d|1[0-4]):([0-5]\d))?$/;vt.cast=function(e){if(e instanceof vt)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(gt);if(t){var n=+t[2],r=+t[3],i=+t[4];if(i-1<Tt(n,r))return new vt(n,r,i,t[5]?"Z"==t[5]?0:("-"==t[6]?-1:1)*(60*t[7]+1*t[8]):null,"-"==t[1]);throw new b("FORG0001","Invalid date '"+e+"' (Non-existent date)")}throw new b("FORG0001")}if(e instanceof xt)return new vt(e.year,e.month,e.day,e.timezone,e.negative);throw new b("XPTY0004","Casting value '"+e+"' to xs:date can never succeed")};var bt=[31,28,31,30,31,30,31,31,30,31,30,31];function Tt(e,t){return 2==t&&(e%400==0||e%100!=0&&e%4==0)?29:bt[t-1]}function Zt(e,t){if(!t){var n=Tt(e.year,e.month);if(e.day>n)for(;e.day>n;)e.month+=1,e.month>12&&(e.year+=1,0==e.year&&(e.year=1),e.month=1),e.day-=n,n=Tt(e.year,e.month);else if(e.day<1)for(;e.day<1;)e.month-=1,e.month<1&&(e.year-=1,0==e.year&&(e.year=-1),e.month=12),n=Tt(e.year,e.month),e.day+=n}return e.month>12?(e.year+=~~(e.month/12),0==e.year&&(e.year=1),e.month=e.month%12):e.month<1&&(e.year+=~~(e.month/12)-1,0==e.year&&(e.year=-1),e.month=e.month%12+12),e}function xt(e,t,n,r,i,o,a,s){this.year=e,this.month=t,this.day=n,this.hours=r,this.minutes=i,this.seconds=o,this.timezone=a,this.negative=s}k("date",vt),xt.prototype=new lt,xt.prototype.builtInKind=X.DATETIME_DT,xt.prototype.primitiveKind=ct.PRIMITIVE_DATETIME,xt.prototype.year=null,xt.prototype.month=null,xt.prototype.day=null,xt.prototype.hours=null,xt.prototype.minutes=null,xt.prototype.seconds=null,xt.prototype.timezone=null,xt.prototype.negative=null,xt.prototype.toString=function(){return Ot(this)+"T"+Et(this)+Nt(this)};var It=/^(-?)([1-9]\d\d\d+|0\d\d\d)-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])T(([01]\d|2[0-3]):([0-5]\d):([0-5]\d)(?:\.(\d+))?|(24:00:00)(?:\.(0+))?)(Z|([+\-])(0\d|1[0-4]):([0-5]\d))?$/;function Dt(e,n){var i=t(e);return arguments.length<2&&(n=2),(i.length<n+1?new r(n+1-i.length).join("0"):"")+i}function Nt(e){var t=e.timezone;return null==t?"":t?(t>0?"+":"-")+Dt(s.abs(~~(t/60)))+":"+Dt(s.abs(t%60)):"Z"}function Ot(e){return(e.negative?"-":"")+Dt(e.year,4)+"-"+Dt(e.month)+"-"+Dt(e.day)}function Et(e){var n=t(e.seconds).split(".");return Dt(e.hours)+":"+Dt(e.minutes)+":"+Dt(n[0])+(n.length>1?"."+n[1]:"")}function Pt(e){return Zt(on(e))}function At(e){this.value=e}xt.cast=function(e){if(e instanceof xt)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(It);if(t){var r=+t[2],i=+t[3],o=+t[4],a=!!t[10];if(o-1<Tt(r,i))return Pt(new xt(r,i,o,a?24:+t[6],a?0:+t[7],n((a?0:t[8])+"."+(a?0:t[9]||0)),t[12]?"Z"==t[12]?0:("-"==t[13]?-1:1)*(60*t[14]+1*t[15]):null,"-"==t[1]));throw new b("FORG0001","Invalid date '"+e+"' (Non-existent date)")}throw new b("FORG0001")}if(e instanceof vt)return new xt(e.year,e.month,e.day,0,0,0,e.timezone,e.negative);throw new b("XPTY0004","Casting value '"+e+"' to xs:dateTime can never succeed")},k("dateTime",xt),At.prototype=new lt,At.prototype.builtInKind=X.DECIMAL_DT,At.prototype.primitiveKind=ct.PRIMITIVE_DECIMAL,At.prototype.value=null,At.prototype.valueOf=function(){return this.value},At.prototype.toString=function(){return t(this.value)};var Rt=/^[+\-]?((\d+(\.\d*)?)|(\.\d+))$/;function kt(e){this.value=e}At.cast=function(e){if(e instanceof At)return e;if(e instanceof tn||e instanceof an){if(w(e).match(Rt))return new At(+e);throw new b("FORG0001")}if(e instanceof wt)return new At(1*e);if(ft(e)){if(c(e)||!l(e))throw new b("FOCA0002","Cannot convert '"+e+"' to xs:decimal");return new At(+e)}throw new b("XPTY0004","Casting value '"+e+"' to xs:decimal can never succeed")},k("decimal",At),kt.prototype=new lt,kt.prototype.builtInKind=X.DOUBLE_DT,kt.prototype.primitiveKind=ct.PRIMITIVE_DOUBLE,kt.prototype.value=null,kt.prototype.valueOf=function(){return this.value},kt.prototype.toString=function(){return t(this.value)};var Mt=/^([+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][+\-]?\d+)?|(-?INF)|NaN)$/;function St(e,t,n,r,i,o,a){this.year=e,this.month=t,this.day=n,this.hours=r,this.minutes=i,this.seconds=o,this.negative=a}kt.cast=function(e){if(e instanceof kt)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(Mt);if(t)return new kt(t[7]?+t[7].replace("INF","Infinity"):+e);throw new b("FORG0001")}if(e instanceof wt)return new kt(1*e);if(ft(e))return new kt(e.value);throw new b("XPTY0004","Casting value '"+e+"' to xs:double can never succeed")},k("double",kt),St.prototype=new lt,St.prototype.builtInKind=X.DURATION_DT,St.prototype.primitiveKind=ct.PRIMITIVE_DURATION,St.prototype.year=null,St.prototype.month=null,St.prototype.day=null,St.prototype.hours=null,St.prototype.minutes=null,St.prototype.seconds=null,St.prototype.negative=null,St.prototype.toString=function(){return(this.negative?"-":"")+"P"+(Ct(this)+Yt(this)||"T0S")};var Xt=/^(-)?P(?:([0-9]+)Y)?(?:([0-9]+)M)?(?:([0-9]+)D)?(?:T(?:([0-9]+)H)?(?:([0-9]+)M)?(?:((?:(?:[0-9]+(?:.[0-9]*)?)|(?:.[0-9]+)))S)?)?$/;function Ct(e){return(e.year?e.year+"Y":"")+(e.month?e.month+"M":"")}function Yt(e){return(e.day?e.day+"D":"")+(e.hours||e.minutes||e.seconds?"T"+(e.hours?e.hours+"H":"")+(e.minutes?e.minutes+"M":"")+(e.seconds?e.seconds+"S":""):"")}function zt(e){this.value=e}St.cast=function(e){if(e instanceof sn)return new St(e.year,e.month,0,0,0,0,e.negative);if(e instanceof ln)return new St(0,0,e.day,e.hours,e.minutes,e.seconds,e.negative);if(e instanceof St)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(Xt);if(t)return function(e){return cn(pn(e))}(new St(+t[2]||0,+t[3]||0,+t[4]||0,+t[5]||0,+t[6]||0,+t[7]||0,"-"==t[1]));throw new b("FORG0001")}throw new b("XPTY0004","Casting value '"+e+"' to xs:duration can never succeed")},k("duration",St),zt.prototype=new lt,zt.prototype.builtInKind=X.FLOAT_DT,zt.prototype.primitiveKind=ct.PRIMITIVE_FLOAT,zt.prototype.value=null,zt.prototype.valueOf=function(){return this.value},zt.prototype.toString=function(){return t(this.value)};var qt=/^([+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][+\-]?\d+)?|(-?INF)|NaN)$/;function Ut(e,t){this.day=e,this.timezone=t}zt.cast=function(e){if(e instanceof zt)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(qt);if(t)return new zt(t[7]?+t[7].replace("INF","Infinity"):+e);throw new b("FORG0001")}if(e instanceof wt)return new zt(1*e);if(ft(e))return new zt(e.value);throw new b("XPTY0004","Casting value '"+e+"' to xs:float can never succeed")},k("float",zt),Ut.prototype=new lt,Ut.prototype.builtInKind=X.GDAY_DT,Ut.prototype.primitiveKind=ct.PRIMITIVE_GDAY,Ut.prototype.day=null,Ut.prototype.timezone=null,Ut.prototype.toString=function(){return"---"+Dt(this.day)+Nt(this)};var Gt=/^---(0[1-9]|[12]\d|3[01])(Z|([+\-])(0\d|1[0-4]):([0-5]\d))?$/;function Ft(e,t){this.month=e,this.timezone=t}Ut.cast=function(e){if(e instanceof Ut)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(Gt);if(t)return new Ut(+t[1],t[2]?"Z"==t[2]?0:("-"==t[3]?-1:1)*(60*t[4]+1*t[5]):null);throw new b("FORG0001")}if(e instanceof vt||e instanceof xt)return new Ut(e.day,e.timezone);throw new b("XPTY0004","Casting value '"+e+"' to xs:gDay can never succeed")},k("gDay",Ut),Ft.prototype=new lt,Ft.prototype.builtInKind=X.GMONTH_DT,Ft.prototype.primitiveKind=ct.PRIMITIVE_GMONTH,Ft.prototype.month=null,Ft.prototype.timezone=null,Ft.prototype.toString=function(){return"--"+Dt(this.month)+Nt(this)};var jt=/^--(0[1-9]|1[0-2])(Z|([+\-])(0\d|1[0-4]):([0-5]\d))?$/;function Kt(e,t,n){this.month=e,this.day=t,this.timezone=n}Ft.cast=function(e){if(e instanceof Ft)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(jt);if(t)return new Ft(+t[1],t[2]?"Z"==t[2]?0:("-"==t[3]?-1:1)*(60*t[4]+1*t[5]):null);throw new b("FORG0001")}if(e instanceof vt||e instanceof xt)return new Ft(e.month,e.timezone);throw new b("XPTY0004","Casting value '"+e+"' to xs:gMonth can never succeed")},k("gMonth",Ft),Kt.prototype=new lt,Kt.prototype.builtInKind=X.GMONTHDAY_DT,Kt.prototype.primitiveKind=ct.PRIMITIVE_GMONTHDAY,Kt.prototype.month=null,Kt.prototype.day=null,Kt.prototype.timezone=null,Kt.prototype.toString=function(){return"--"+Dt(this.month)+"-"+Dt(this.day)+Nt(this)};var _t=/^--(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])(Z|([+\-])(0\d|1[0-4]):([0-5]\d))?$/;function Bt(e,t){this.year=e,this.timezone=t}Kt.cast=function(e){if(e instanceof Kt)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(_t);if(t){var n=+t[1],r=+t[2];if(r-1<Tt(1976,n))return new Kt(n,r,t[3]?"Z"==t[3]?0:("-"==t[4]?-1:1)*(60*t[5]+1*t[6]):null);throw new b("FORG0001","Invalid date '"+e+"' (Non-existent date)")}throw new b("FORG0001")}if(e instanceof vt||e instanceof xt)return new Kt(e.month,e.day,e.timezone);throw new b("XPTY0004","Casting value '"+e+"' to xs:gMonthDay can never succeed")},k("gMonthDay",Kt),Bt.prototype=new lt,Bt.prototype.builtInKind=X.GYEAR_DT,Bt.prototype.primitiveKind=ct.PRIMITIVE_GYEAR,Bt.prototype.year=null,Bt.prototype.timezone=null,Bt.prototype.toString=function(){return Dt(this.year)+Nt(this)};var Lt=/^-?([1-9]\d\d\d+|0\d\d\d)(Z|([+\-])(0\d|1[0-4]):([0-5]\d))?$/;function Ht(e,t,n){this.year=e,this.month=t,this.timezone=n}Bt.cast=function(e){if(e instanceof Bt)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(Lt);if(t)return new Bt(+t[1],t[2]?"Z"==t[2]?0:("-"==t[3]?-1:1)*(60*t[4]+1*t[5]):null);throw new b("FORG0001")}if(e instanceof vt||e instanceof xt)return new Bt(e.year,e.timezone);throw new b("XPTY0004","Casting value '"+e+"' to xs:gYear can never succeed")},k("gYear",Bt),Ht.prototype=new lt,Ht.prototype.builtInKind=X.GYEARMONTH_DT,Ht.prototype.primitiveKind=ct.PRIMITIVE_GYEARMONTH,Ht.prototype.year=null,Ht.prototype.month=null,Ht.prototype.timezone=null,Ht.prototype.toString=function(){return Dt(this.year)+"-"+Dt(this.month)+Nt(this)};var Vt=/^-?([1-9]\d\d\d+|0\d\d\d)-(0[1-9]|1[0-2])(Z|([+\-])(0\d|1[0-4]):([0-5]\d))?$/;function Wt(e){this.value=e}Ht.cast=function(e){if(e instanceof Ht)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(Vt);if(t)return new Ht(+t[1],+t[2],t[3]?"Z"==t[3]?0:("-"==t[4]?-1:1)*(60*t[5]+1*t[6]):null);throw new b("FORG0001")}if(e instanceof vt||e instanceof xt)return new Ht(e.year,e.month,e.timezone);throw new b("XPTY0004","Casting value '"+e+"' to xs:gYearMonth can never succeed")},k("gYearMonth",Ht),Wt.prototype=new lt,Wt.prototype.builtInKind=X.HEXBINARY_DT,Wt.prototype.primitiveKind=ct.PRIMITIVE_HEXBINARY,Wt.prototype.value=null,Wt.prototype.valueOf=function(){return this.value},Wt.prototype.toString=function(){return this.value};var $t=/^([0-9a-fA-F]{2})*$/;function Qt(){}function Jt(e,t,n){this.prefix=e,this.localName=t,this.namespaceURI=n}Wt.cast=function(e){if(e instanceof Wt)return e;if(e instanceof tn||e instanceof an){var t=w(e).match($t);if(t)return new Wt(t[0].toUpperCase());throw new b("FORG0001")}if(e instanceof ht){for(var n,i=h(e.valueOf()),o=[],a=0,s=i.length;a<s;a++)n=i.charCodeAt(a).toString(16),o.push(new r(3-n.length).join("0")+n);return new Wt(o.join(""))}throw new b("XPTY0004","Casting value '"+e+"' to xs:hexBinary can never succeed")},k("hexBinary",Wt),Qt.prototype=new lt,Qt.prototype.builtInKind=X.NOTATION_DT,Qt.prototype.primitiveKind=ct.PRIMITIVE_NOTATION,Qt.cast=function(e){throw new b("XPST0017","Abstract type used in constructor function xs:NOTATION")},k("NOTATION",Qt),Jt.prototype=new lt,Jt.prototype.builtInKind=X.QNAME_DT,Jt.prototype.primitiveKind=ct.PRIMITIVE_QNAME,Jt.prototype.prefix=null,Jt.prototype.localName=null,Jt.prototype.namespaceURI=null,Jt.prototype.toString=function(){return(this.prefix?this.prefix+":":"")+this.localName};var en=/^(?:(?![0-9-])([\w-]+)\:)?(?![0-9-])([\w-]+)$/;function tn(e){this.value=e}function nn(e,t,n,r){this.hours=e,this.minutes=t,this.seconds=n,this.timezone=r}Jt.cast=function(e){if(e instanceof Jt)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(en);if(t)return new Jt(t[1]||null,t[2],null);throw new b("FORG0001")}throw new b("XPTY0004","Casting value '"+e+"' to xs:QName can never succeed")},k("QName",Jt),tn.prototype=new lt,tn.prototype.value=null,tn.prototype.builtInKind=X.STRING_DT,tn.prototype.primitiveKind=ct.PRIMITIVE_STRING,tn.prototype.valueOf=function(){return this.value},tn.prototype.toString=function(){return this.value},tn.cast=function(e){return new tn(t(e))},k("string",tn),nn.prototype=new lt,nn.prototype.builtInKind=X.TIME_DT,nn.prototype.primitiveKind=ct.PRIMITIVE_TIME,nn.prototype.hours=null,nn.prototype.minutes=null,nn.prototype.seconds=null,nn.prototype.timezone=null,nn.prototype.toString=function(){return Et(this)+Nt(this)};var rn=/^(([01]\d|2[0-3]):([0-5]\d):([0-5]\d)(?:\.(\d+))?|(24:00:00)(?:\.(0+))?)(Z|([+\-])(0\d|1[0-4]):([0-5]\d))?$/;function on(e){return(e.seconds>=60||e.seconds<0)&&(e.minutes+=~~(e.seconds/60)-(e.seconds<0&&e.seconds%60?1:0),e.seconds=e.seconds%60+(e.seconds<0&&e.seconds%60?60:0)),(e.minutes>=60||e.minutes<0)&&(e.hours+=~~(e.minutes/60)-(e.minutes<0&&e.minutes%60?1:0),e.minutes=e.minutes%60+(e.minutes<0&&e.minutes%60?60:0)),(e.hours>=24||e.hours<0)&&(e instanceof xt&&(e.day+=~~(e.hours/24)-(e.hours<0&&e.hours%24?1:0)),e.hours=e.hours%24+(e.hours<0&&e.hours%24?24:0)),e}function an(e){this.value=e}function sn(e,t,n){St.call(this,e,t,0,0,0,0,n)}nn.cast=function(e){if(e instanceof nn)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(rn);if(t){var r=!!t[6];return new nn(r?0:+t[2],r?0:+t[3],n((r?0:t[4])+"."+(r?0:t[5]||0)),t[8]?"Z"==t[8]?0:("-"==t[9]?-1:1)*(60*t[10]+1*t[11]):null)}throw new b("FORG0001")}if(e instanceof xt)return new nn(e.hours,e.minutes,e.seconds,e.timezone);throw new b("XPTY0004","Casting value '"+e+"' to xs:time can never succeed")},k("time",nn),an.prototype=new lt,an.prototype.builtInKind=X.XT_UNTYPEDATOMIC_DT,an.prototype.toString=function(){return t(this.value)},an.cast=function(e){return e instanceof an?e:new an(t(e))},k("untypedAtomic",an),sn.prototype=new St,sn.prototype.builtInKind=X.XT_YEARMONTHDURATION_DT,sn.prototype.toString=function(){return(this.negative?"-":"")+"P"+(Ct(this)||"0M")};var un=/^(-)?P(?:([0-9]+)Y)?(?:([0-9]+)M)?$/;function cn(e){return e.month>=12&&(e.year+=~~(e.month/12),e.month%=12),e}function ln(e,t,n,r,i){St.call(this,0,0,e,t,n,r,i)}sn.cast=function(e){if(e instanceof sn)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(un);if(t)return cn(new sn(+t[2]||0,+t[3]||0,"-"==t[1]));throw new b("FORG0001")}if(e instanceof ln)return new sn(0,0);if(e instanceof St)return new sn(e.year,e.month,e.negative);throw new b("XPTY0004","Casting value '"+e+"' to xs:yearMonthDuration can never succeed")},k("yearMonthDuration",sn),ln.prototype=new St,ln.prototype.builtInKind=X.DAYTIMEDURATION_DT,ln.prototype.toString=function(){return(this.negative?"-":"")+"P"+(Yt(this)||"T0S")};var fn=/^(-)?P(?:([0-9]+)D)?(?:T(?:([0-9]+)H)?(?:([0-9]+)M)?(?:((?:(?:[0-9]+(?:.[0-9]*)?)|(?:.[0-9]+)))S)?)?$/;function pn(e){return e.seconds>=60&&(e.minutes+=~~(e.seconds/60),e.seconds%=60),e.minutes>=60&&(e.hours+=~~(e.minutes/60),e.minutes%=60),e.hours>=24&&(e.day+=~~(e.hours/24),e.hours%=24),e}function dn(e){this.value=e}ln.cast=function(e){if(e instanceof ln)return e;if(e instanceof tn||e instanceof an){var t=w(e).match(fn);if(t)return pn(new ln(+t[2]||0,+t[3]||0,+t[4]||0,+t[5]||0,"-"==t[1]));throw new b("FORG0001")}if(e instanceof sn)return new ln(0,0,0,0);if(e instanceof St)return new ln(e.day,e.hours,e.minutes,e.seconds,e.negative);throw new b("XPTY0004","Casting value '"+e+"' to xs:dayTimeDuration can never succeed")},k("dayTimeDuration",ln),dn.prototype=new At,dn.prototype.builtInKind=X.INTEGER_DT;var hn=/^[-+]?[0-9]+$/;function mn(e){this.value=e}function wn(e){this.value=e}function yn(e){this.value=e}function vn(e){this.value=e}function gn(e){this.value=e}function bn(e){this.value=e}function Tn(e){this.value=e}function Zn(e){this.value=e}function xn(e){this.value=e}function In(e){this.value=e}function Dn(e){this.value=e}function Nn(e){this.value=e}function On(e){this.value=e}function En(e){this.value=e}function Pn(e){this.value=e}function An(e){this.value=e}function Rn(e){this.value=e}function kn(e){this.value=e}function Mn(e){this.value=e}function Sn(e){this.value=e}function Xn(){}function Cn(){}function Yn(){}function zn(){}function qn(){}function Un(){}function Gn(){}function Fn(){}function jn(e,t,n){var r=Qn(e),i=Qn(t);return new wt("lt"==n?r<i:"gt"==n?r>i:r==i)}function Kn(e,t,n){return _n(xt.cast(e),xt.cast(t),n)}function _n(e,t,n){var r=new ln(0,0,0,0),i=ir(e,r).toString(),o=ir(t,r).toString();return new wt("lt"==n?i<o:"gt"==n?i>o:i==o)}function Bn(e,t,n){var r;e instanceof vt?r=new vt(e.year,e.month,e.day,e.timezone,e.negative):e instanceof xt&&(r=new xt(e.year,e.month,e.day,e.hours,e.minutes,e.seconds,e.timezone,e.negative)),r.year=r.year+t.year*("-"==n?-1:1),r.month=r.month+t.month*("-"==n?-1:1),Zt(r,!0);var i=Tt(r.year,r.month);return r.day>i&&(r.day=i),r}function Ln(e,t,n){var r;if(e instanceof vt){var i=60*(60*t.hours+t.minutes)+t.seconds;(r=new vt(e.year,e.month,e.day,e.timezone,e.negative)).day=r.day+t.day*("-"==n?-1:1)-1*(i&&"-"==n),Zt(r)}else e instanceof xt&&((r=new xt(e.year,e.month,e.day,e.hours,e.minutes,e.seconds,e.timezone,e.negative)).seconds=r.seconds+t.seconds*("-"==n?-1:1),r.minutes=r.minutes+t.minutes*("-"==n?-1:1),r.hours=r.hours+t.hours*("-"==n?-1:1),r.day=r.day+t.day*("-"==n?-1:1),Pt(r));return r}function Hn(e){return(60*(60*(24*e.day+e.hours)+e.minutes)+e.seconds)*(e.negative?-1:1)}function Vn(e){var t=(e=s.round(e))<0,n=~~((e=s.abs(e))/86400),r=~~((e-=3600*n*24)/3600),i=~~((e-=3600*r)/60);return new ln(n,r,i,e-=60*i,t)}function Wn(e){return(12*e.year+e.month)*(e.negative?-1:1)}function $n(e){var t=(e=s.round(e))<0,n=~~((e=s.abs(e))/12);return new sn(n,e-=12*n,t)}function Qn(e){return e.seconds+60*(e.minutes-(null!=e.timezone?e.timezone%60:0)+60*(e.hours-(null!=e.timezone?~~(e.timezone/60):0)))}function Jn(e){var t=new o((e.negative?-1:1)*e.year,e.month,e.day,0,0,0,0);return e instanceof xt&&(t.setHours(e.hours),t.setMinutes(e.minutes),t.setSeconds(e.seconds)),null!=e.timezone&&t.setMinutes(t.getMinutes()-e.timezone),t.getTime()/1e3}function er(e,n){if(c(e)||s.abs(e)==p||c(n)||s.abs(n)==p)return 0;var r=t(e).match(Me),i=t(n).match(Me),o=s.max(1,(r[2]||r[3]||"").length+(r[5]||0)*("+"==r[4]?-1:1),(i[2]||i[3]||"").length+(i[5]||0)*("+"==i[4]?-1:1));return o+(o%2?0:1)}function tr(e,t,n){return new(e instanceof dn&&t instanceof dn&&n==s.round(n)?dn:At)(n)}function nr(e,t){if(null==e)return null;var n=e[t]*(e.negative?-1:1);return"seconds"==t?new At(n):new dn(n)}function rr(e,t){if(null==e)return null;if("timezone"==t){var n=e.timezone;return null==n?null:new ln(0,s.abs(~~(n/60)),s.abs(n%60),0,n<0)}var r=e[t];return e instanceof vt||"hours"==t&&24==r&&(r=0),e instanceof nn||(r*=e.negative?-1:1),"seconds"==t?new At(r):new dn(r)}function ir(e,t){if(null==e)return null;var n;if(n=e instanceof vt?new vt(e.year,e.month,e.day,e.timezone,e.negative):e instanceof nn?new nn(e.hours,e.minutes,e.seconds,e.timezone,e.negative):new xt(e.year,e.month,e.day,e.hours,e.minutes,e.seconds,e.timezone,e.negative),null==t)n.timezone=null;else{var r=Hn(t)/60;if(null!=e.timezone){var i=r-e.timezone;e instanceof vt?i<0&&n.day--:(n.minutes+=i%60,n.hours+=~~(i/60)),Pt(n)}n.timezone=r}return n}function or(e,t){if(!e.length)return!1;var n=e[0];if(t.DOMAdapter.isNode(n))return!0;if(1==e.length){if(n instanceof wt)return n.value.valueOf();if(n instanceof tn)return!!n.valueOf().length;if(ft(n))return!(c(n.valueOf())||0==n.valueOf());throw new b("FORG0006","Effective boolean value is defined only for sequences containing booleans, strings, numbers, URIs, or nodes")}throw new b("FORG0006","Effective boolean value is not defined for a sequence of two or more items")}function ar(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++){if(r=null,null==(n=e[o]))r=null;else if(t.DOMAdapter.isNode(n)){var s=t.DOMAdapter.getProperty;switch(s(n,"nodeType")){case 1:r=new an(s(n,"textContent"));break;case 2:r=new an(s(n,"value"));break;case 3:case 4:case 8:case 7:r=new an(s(n,"data"));break;case 9:var u=s(n,"documentElement");r=new an(u?s(u,"textContent"):"")}}else n instanceof lt&&(r=n);null!=r&&i.push(r)}return i}function sr(e,t){return e.sort((function(e,n){var r=t.DOMAdapter.compareDocumentPosition(e,n);return 2&r?1:4&r?-1:0}))}function ur(e,t){var n="À-ÖØ-öø-˿",r="Ͱ-ͽͿ-῿‌-‍",o="⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",a="A-Z_a-z\\-.0-9·"+n+"̀-ͯ"+r+"‿-⁀"+o,s="A-Z_a-z"+n+r+o;if(e=e.replace(/\[\\i-\[:\]\]/g,"["+s+"]").replace(/\[\\c-\[:\]\]/g,"["+a+"]").replace(/\\i/g,"[:"+s+"]").replace(/\\I/g,"[^:"+s+"]").replace(/\\c/g,"[:"+a+"]").replace(/\\C/g,"[^:"+a+"]"),t&&!t.match(/^[smix]+$/))throw new b("FORX0001");var u=t.indexOf("s")>=0,c=t.indexOf("x")>=0;if(u||c){t=t.replace(/[sx]/g,"");for(var l,f=[],p=/\s/,d=0,h=e.length,m=!1,w="";d<h;d++)l=e.charAt(d),"\\"!=w&&("["==l?m=!0:"]"==l&&(m=!1)),!m&&c&&p.test(l)||(f[f.length]=!m&&u&&"."==l&&"\\"!=w?"(?:.|\\s)":l),w=l;e=f.join("")}return new i(e,t+"g")}dn.cast=function(e){if(e instanceof dn)return e;if(e instanceof tn||e instanceof an){if(w(e).match(hn))return new dn(~~e);throw new b("FORG0001")}if(e instanceof wt)return new dn(1*e);if(ft(e)){if(c(e)||!l(e))throw new b("FOCA0002","Cannot convert '"+e+"' to xs:integer");return new dn(~~e)}throw new b("XPTY0004","Casting value '"+e+"' to xs:integer can never succeed")},k("integer",dn),mn.prototype=new dn,mn.prototype.builtInKind=X.NONPOSITIVEINTEGER_DT,mn.cast=function(e){return new mn(n(e))},k("nonPositiveInteger",mn),wn.prototype=new mn,wn.prototype.builtInKind=X.NEGATIVEINTEGER_DT,wn.cast=function(e){return new wn(n(e))},k("negativeInteger",wn),yn.prototype=new dn,yn.prototype.builtInKind=X.LONG_DT,yn.cast=function(e){return new yn(n(e))},k("long",yn),vn.prototype=new yn,vn.prototype.builtInKind=X.INT_DT,vn.cast=function(e){return new vn(n(e))},k("int",vn),gn.prototype=new vn,gn.prototype.builtInKind=X.SHORT_DT,gn.cast=function(e){return new gn(n(e))},k("short",gn),bn.prototype=new gn,bn.prototype.builtInKind=X.BYTE_DT,bn.cast=function(e){return new bn(n(e))},k("byte",bn),Tn.prototype=new dn,Tn.prototype.builtInKind=X.NONNEGATIVEINTEGER_DT,Tn.cast=function(e){return new Tn(n(e))},k("nonNegativeInteger",Tn),Zn.prototype=new Tn,Zn.prototype.builtInKind=X.POSITIVEINTEGER_DT,Zn.cast=function(e){return new Zn(n(e))},k("positiveInteger",Zn),xn.prototype=new Tn,xn.prototype.builtInKind=X.UNSIGNEDLONG_DT,xn.cast=function(e){return new xn(n(e))},k("unsignedLong",xn),In.prototype=new Tn,In.prototype.builtInKind=X.UNSIGNEDINT_DT,In.cast=function(e){return new In(n(e))},k("unsignedInt",In),Dn.prototype=new In,Dn.prototype.builtInKind=X.UNSIGNEDSHORT_DT,Dn.cast=function(e){return new Dn(n(e))},k("unsignedShort",Dn),Nn.prototype=new Dn,Nn.prototype.builtInKind=X.UNSIGNEDBYTE_DT,Nn.cast=function(e){return new Nn(n(e))},k("unsignedByte",Nn),On.prototype=new tn,On.prototype.builtInKind=X.NORMALIZEDSTRING_DT,On.cast=function(e){return new On(t(e))},k("normalizedString",On),En.prototype=new On,En.prototype.builtInKind=X.TOKEN_DT,En.cast=function(e){return new En(t(e))},k("token",En),Pn.prototype=new En,Pn.prototype.builtInKind=X.NAME_DT,Pn.cast=function(e){return new Pn(t(e))},k("Name",Pn),An.prototype=new Pn,An.prototype.builtInKind=X.NCNAME_DT,An.cast=function(e){return new An(t(e))},k("NCName",An),Rn.prototype=new An,Rn.prototype.builtInKind=X.ENTITY_DT,Rn.cast=function(e){return new Rn(t(e))},k("ENTITY",Rn),kn.prototype=new An,kn.prototype.builtInKind=X.ID_DT,kn.cast=function(e){return new kn(t(e))},k("ID",kn),Mn.prototype=new En,Mn.prototype.builtInKind=X.LANGUAGE_DT,Mn.cast=function(e){return new Mn(t(e))},k("language",Mn),Sn.prototype=new En,Sn.prototype.builtInKind=X.NMTOKEN_DT,Sn.cast=function(e){return new Sn(t(e))},k("NMTOKEN",Sn),Cn.prototype=new Xn,Yn.prototype=new Cn,zn.prototype=new Cn,qn.prototype=new Cn,Un.prototype=new Cn,Gn.prototype=new Cn,Fn.prototype=new Cn,A["hexBinary-equal"]=function(e,t){return new wt(e.valueOf()==t.valueOf())},A["base64Binary-equal"]=function(e,t){return new wt(e.valueOf()==t.valueOf())},A["boolean-equal"]=function(e,t){return new wt(e.valueOf()==t.valueOf())},A["boolean-less-than"]=function(e,t){return new wt(e.valueOf()<t.valueOf())},A["boolean-greater-than"]=function(e,t){return new wt(e.valueOf()>t.valueOf())},A["yearMonthDuration-less-than"]=function(e,t){return new wt(Wn(e)<Wn(t))},A["yearMonthDuration-greater-than"]=function(e,t){return new wt(Wn(e)>Wn(t))},A["dayTimeDuration-less-than"]=function(e,t){return new wt(Hn(e)<Hn(t))},A["dayTimeDuration-greater-than"]=function(e,t){return new wt(Hn(e)>Hn(t))},A["duration-equal"]=function(e,t){return new wt(e.negative==t.negative&&Wn(e)==Wn(t)&&Hn(e)==Hn(t))},A["dateTime-equal"]=function(e,t){return _n(e,t,"eq")},A["dateTime-less-than"]=function(e,t){return _n(e,t,"lt")},A["dateTime-greater-than"]=function(e,t){return _n(e,t,"gt")},A["date-equal"]=function(e,t){return Kn(e,t,"eq")},A["date-less-than"]=function(e,t){return Kn(e,t,"lt")},A["date-greater-than"]=function(e,t){return Kn(e,t,"gt")},A["time-equal"]=function(e,t){return jn(e,t,"eq")},A["time-less-than"]=function(e,t){return jn(e,t,"lt")},A["time-greater-than"]=function(e,t){return jn(e,t,"gt")},A["gYearMonth-equal"]=function(e,t){return _n(new xt(e.year,e.month,Tt(e.year,e.month),0,0,0,null==e.timezone?this.timezone:e.timezone),new xt(t.year,t.month,Tt(t.year,t.month),0,0,0,null==t.timezone?this.timezone:t.timezone),"eq")},A["gYear-equal"]=function(e,t){return _n(new xt(e.year,1,1,0,0,0,null==e.timezone?this.timezone:e.timezone),new xt(t.year,1,1,0,0,0,null==t.timezone?this.timezone:t.timezone),"eq")},A["gMonthDay-equal"]=function(e,t){return _n(new xt(1972,e.month,e.day,0,0,0,null==e.timezone?this.timezone:e.timezone),new xt(1972,t.month,t.day,0,0,0,null==t.timezone?this.timezone:t.timezone),"eq")},A["gMonth-equal"]=function(e,t){return _n(new xt(1972,e.month,Tt(1972,t.month),0,0,0,null==e.timezone?this.timezone:e.timezone),new xt(1972,t.month,Tt(1972,t.month),0,0,0,null==t.timezone?this.timezone:t.timezone),"eq")},A["gDay-equal"]=function(e,t){return _n(new xt(1972,12,e.day,0,0,0,null==e.timezone?this.timezone:e.timezone),new xt(1972,12,t.day,0,0,0,null==t.timezone?this.timezone:t.timezone),"eq")},A["add-yearMonthDurations"]=function(e,t){return $n(Wn(e)+Wn(t))},A["subtract-yearMonthDurations"]=function(e,t){return $n(Wn(e)-Wn(t))},A["multiply-yearMonthDuration"]=function(e,t){return $n(Wn(e)*t)},A["divide-yearMonthDuration"]=function(e,t){return $n(Wn(e)/t)},A["divide-yearMonthDuration-by-yearMonthDuration"]=function(e,t){return new At(Wn(e)/Wn(t))},A["add-dayTimeDurations"]=function(e,t){return Vn(Hn(e)+Hn(t))},A["subtract-dayTimeDurations"]=function(e,t){return Vn(Hn(e)-Hn(t))},A["multiply-dayTimeDuration"]=function(e,t){return Vn(Hn(e)*t)},A["divide-dayTimeDuration"]=function(e,t){return Vn(Hn(e)/t)},A["divide-dayTimeDuration-by-dayTimeDuration"]=function(e,t){return new At(Hn(e)/Hn(t))},A["subtract-dateTimes"]=function(e,t){return Vn(Jn(e)-Jn(t))},A["subtract-dates"]=function(e,t){return Vn(Jn(e)-Jn(t))},A["subtract-times"]=function(e,t){return Vn(Qn(e)-Qn(t))},A["add-yearMonthDuration-to-dateTime"]=function(e,t){return Bn(e,t,"+")},A["add-dayTimeDuration-to-dateTime"]=function(e,t){return Ln(e,t,"+")},A["subtract-yearMonthDuration-from-dateTime"]=function(e,t){return Bn(e,t,"-")},A["subtract-dayTimeDuration-from-dateTime"]=function(e,t){return Ln(e,t,"-")},A["add-yearMonthDuration-to-date"]=function(e,t){return Bn(e,t,"+")},A["add-dayTimeDuration-to-date"]=function(e,t){return Ln(e,t,"+")},A["subtract-yearMonthDuration-from-date"]=function(e,t){return Bn(e,t,"-")},A["subtract-dayTimeDuration-from-date"]=function(e,t){return Ln(e,t,"-")},A["add-dayTimeDuration-to-time"]=function(e,t){var n=new nn(e.hours,e.minutes,e.seconds,e.timezone);return n.hours+=t.hours,n.minutes+=t.minutes,n.seconds+=t.seconds,on(n)},A["subtract-dayTimeDuration-from-time"]=function(e,t){var n=new nn(e.hours,e.minutes,e.seconds,e.timezone);return n.hours-=t.hours,n.minutes-=t.minutes,n.seconds-=t.seconds,on(n)},A["is-same-node"]=function(e,t){return new wt(this.DOMAdapter.isSameNode(e,t))},A["node-before"]=function(e,t){return new wt(!!(4&this.DOMAdapter.compareDocumentPosition(e,t)))},A["node-after"]=function(e,t){return new wt(!!(2&this.DOMAdapter.compareDocumentPosition(e,t)))},A["numeric-add"]=function(e,t){var n=e.valueOf(),r=t.valueOf(),i=s.pow(10,er(n,r));return tr(e,t,(n*i+r*i)/i)},A["numeric-subtract"]=function(e,t){var n=e.valueOf(),r=t.valueOf(),i=s.pow(10,er(n,r));return tr(e,t,(n*i-r*i)/i)},A["numeric-multiply"]=function(e,t){var n=e.valueOf(),r=t.valueOf(),i=s.pow(10,er(n,r));return tr(e,t,n*i*(r*i)/(i*i))},A["numeric-divide"]=function(e,t){var n=e.valueOf(),r=t.valueOf(),i=s.pow(10,er(n,r));return tr(e,t,e*i/(t*i))},A["numeric-integer-divide"]=function(e,t){return new dn(~~(e/t))},A["numeric-mod"]=function(e,t){var n=e.valueOf(),r=t.valueOf(),i=s.pow(10,er(n,r));return tr(e,t,n*i%(r*i)/i)},A["numeric-unary-plus"]=function(e){return e},A["numeric-unary-minus"]=function(e){return e.value*=-1,e},A["numeric-equal"]=function(e,t){return new wt(e.valueOf()==t.valueOf())},A["numeric-less-than"]=function(e,t){return new wt(e.valueOf()<t.valueOf())},A["numeric-greater-than"]=function(e,t){return new wt(e.valueOf()>t.valueOf())},A["QName-equal"]=function(e,t){return new wt(e.localName==t.localName&&e.namespaceURI==t.namespaceURI)},A.concatenate=function(e,t){return e.concat(t)},A.union=function(e,t){for(var n=[],r=0,i=e.length;r<i;r++){if(!this.DOMAdapter.isNode(o=e[r]))throw new b("XPTY0004","Required item type of first operand of 'union' is node()");-1==y(n,o)&&n.push(o)}var o;for(r=0,i=t.length;r<i;r++){if(!this.DOMAdapter.isNode(o=t[r]))throw new b("XPTY0004","Required item type of second operand of 'union' is node()");-1==y(n,o)&&n.push(o)}return sr(n,this)},A.intersect=function(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++){if(!this.DOMAdapter.isNode(n=e[o]))throw new b("XPTY0004","Required item type of second operand of 'intersect' is node()");r=!1;for(var s=0,u=t.length;s<u&&!r;s++){if(!this.DOMAdapter.isNode(t[s]))throw new b("XPTY0004","Required item type of first operand of 'intersect' is node()");r=this.DOMAdapter.isSameNode(t[s],n)}r&&-1==y(i,n)&&i.push(n)}return sr(i,this)},A.except=function(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++){if(!this.DOMAdapter.isNode(n=e[o]))throw new b("XPTY0004","Required item type of second operand of 'except' is node()");r=!1;for(var s=0,u=t.length;s<u&&!r;s++){if(!this.DOMAdapter.isNode(t[s]))throw new b("XPTY0004","Required item type of first operand of 'except' is node()");r=this.DOMAdapter.isSameNode(t[s],n)}r||-1!=y(i,n)||i.push(n)}return sr(i,this)},A.to=function(e,t){for(var n=[],r=e.valueOf(),i=t.valueOf();r<=i;r++)n.push(new dn(r));return n},R("node-name",[[Cn,"?"]],(function(e){if(null!=e){var t=this.DOMAdapter.getProperty;switch(t(e,"nodeType")){case 1:case 2:return new Jt(t(e,"prefix"),t(e,"localName"),t(e,"namespaceURI"));case 5:case 6:throw"Not implemented";case 7:return new Jt(null,t(e,"target"),null);case 10:return new Jt(null,t(e,"name"),null)}}return null})),R("nilled",[[Cn,"?"]],(function(e){return null!=e&&1==this.DOMAdapter.getProperty(e,"nodeType")?new wt(!1):null})),R("string",[[Xn,"?",!0]],(function(e){if(!arguments.length){if(!this.item)throw new b("XPDY0002");e=this.item}return null==e?new tn(""):tn.cast(ar([e],this)[0])})),R("data",[[Xn,"*"]],(function(e){return ar(e,this)})),R("base-uri",[[Cn,"?",!0]],(function(e){if(!arguments.length){if(!this.DOMAdapter.isNode(this.item))throw new b("XPTY0004","base-uri() function called when the context item is not a node");e=this.item}return pt.cast(new tn(this.DOMAdapter.getProperty(e,"baseURI")||""))})),R("document-uri",[[Cn,"?"]],(function(e){if(null!=e){var t=this.DOMAdapter.getProperty;if(9==t(e,"nodeType"))return pt.cast(new tn(t(e,"documentURI")||""))}return null})),R("resolve-uri",[[tn,"?"],[tn,"",!0]],(function(e,t){if(arguments.length<2){if(!this.DOMAdapter.isNode(this.item))throw new b("XPTY0004","resolve-uri() function called when the context item is not a node");t=new tn(this.DOMAdapter.getProperty(this.item,"baseURI")||"")}if(null==e)return null;if(""==e.valueOf()||"#"==e.valueOf().charAt(0))return pt.cast(t);var n=pt.cast(e);if(n.scheme)return n;var r=pt.cast(t);if(n.scheme=r.scheme,!n.authority&&(n.authority=r.authority,"/"!=n.path.charAt(0))){var i=n.path.split("/"),o=r.path.split("/");o.pop();for(var a=""==o[0]?1:0,s=0,u=i.length;s<u;s++)".."==i[s]?o.length>a?o.pop():(o.push(i[s]),a++):"."!=i[s]&&o.push(i[s]);".."!=i[--s]&&"."!=i[s]||o.push(""),n.path=o.join("/")}return n})),R("true",[],(function(){return new wt(!0)})),R("false",[],(function(){return new wt(!1)})),R("not",[[Xn,"*"]],(function(e){return new wt(!or(e,this))})),R("position",[],(function(){return new dn(this.position)})),R("last",[],(function(){return new dn(this.size)})),R("current-dateTime",[],(function(){return this.dateTime})),R("current-date",[],(function(){return vt.cast(this.dateTime)})),R("current-time",[],(function(){return nn.cast(this.dateTime)})),R("implicit-timezone",[],(function(){return this.timezone})),R("default-collation",[],(function(){return new tn(this.staticContext.defaultCollationName)})),R("static-base-uri",[],(function(){return pt.cast(new tn(this.staticContext.baseURI||""))})),R("years-from-duration",[[St,"?"]],(function(e){return nr(e,"year")})),R("months-from-duration",[[St,"?"]],(function(e){return nr(e,"month")})),R("days-from-duration",[[St,"?"]],(function(e){return nr(e,"day")})),R("hours-from-duration",[[St,"?"]],(function(e){return nr(e,"hours")})),R("minutes-from-duration",[[St,"?"]],(function(e){return nr(e,"minutes")})),R("seconds-from-duration",[[St,"?"]],(function(e){return nr(e,"seconds")})),R("year-from-dateTime",[[xt,"?"]],(function(e){return rr(e,"year")})),R("month-from-dateTime",[[xt,"?"]],(function(e){return rr(e,"month")})),R("day-from-dateTime",[[xt,"?"]],(function(e){return rr(e,"day")})),R("hours-from-dateTime",[[xt,"?"]],(function(e){return rr(e,"hours")})),R("minutes-from-dateTime",[[xt,"?"]],(function(e){return rr(e,"minutes")})),R("seconds-from-dateTime",[[xt,"?"]],(function(e){return rr(e,"seconds")})),R("timezone-from-dateTime",[[xt,"?"]],(function(e){return rr(e,"timezone")})),R("year-from-date",[[vt,"?"]],(function(e){return rr(e,"year")})),R("month-from-date",[[vt,"?"]],(function(e){return rr(e,"month")})),R("day-from-date",[[vt,"?"]],(function(e){return rr(e,"day")})),R("timezone-from-date",[[vt,"?"]],(function(e){return rr(e,"timezone")})),R("hours-from-time",[[nn,"?"]],(function(e){return rr(e,"hours")})),R("minutes-from-time",[[nn,"?"]],(function(e){return rr(e,"minutes")})),R("seconds-from-time",[[nn,"?"]],(function(e){return rr(e,"seconds")})),R("timezone-from-time",[[nn,"?"]],(function(e){return rr(e,"timezone")})),R("adjust-dateTime-to-timezone",[[xt,"?"],[ln,"?",!0]],(function(e,t){return ir(e,arguments.length>1&&null!=t?arguments.length>1?t:this.timezone:null)})),R("adjust-date-to-timezone",[[vt,"?"],[ln,"?",!0]],(function(e,t){return ir(e,arguments.length>1&&null!=t?arguments.length>1?t:this.timezone:null)})),R("adjust-time-to-timezone",[[nn,"?"],[ln,"?",!0]],(function(e,t){return ir(e,arguments.length>1&&null!=t?arguments.length>1?t:this.timezone:null)})),R("name",[[Cn,"?",!0]],(function(e){if(arguments.length){if(null==e)return new tn("")}else{if(!this.DOMAdapter.isNode(this.item))throw new b("XPTY0004","name() function called when the context item is not a node");e=this.item}var t=O["node-name"].call(this,e);return new tn(null==t?"":t.toString())})),R("local-name",[[Cn,"?",!0]],(function(e){if(arguments.length){if(null==e)return new tn("")}else{if(!this.DOMAdapter.isNode(this.item))throw new b("XPTY0004","local-name() function called when the context item is not a node");e=this.item}return new tn(this.DOMAdapter.getProperty(e,"localName")||"")})),R("namespace-uri",[[Cn,"?",!0]],(function(e){if(arguments.length){if(null==e)return pt.cast(new tn(""))}else{if(!this.DOMAdapter.isNode(this.item))throw new b("XPTY0004","namespace-uri() function called when the context item is not a node");e=this.item}return pt.cast(new tn(this.DOMAdapter.getProperty(e,"namespaceURI")||""))})),R("number",[[lt,"?",!0]],(function(e){if(!arguments.length){if(!this.item)throw new b("XPDY0002");e=ar([this.item],this)[0]}var t=new kt(f);if(null!=e)try{t=kt.cast(e)}catch(e){}return t})),R("lang",[[tn,"?"],[Cn,"",!0]],(function(e,t){if(arguments.length<2){if(!this.DOMAdapter.isNode(this.item))throw new b("XPTY0004","lang() function called when the context item is not a node");t=this.item}var n,r=this.DOMAdapter.getProperty;for(2==r(t,"nodeType")&&(t=r(t,"ownerElement"));t;t=r(t,"parentNode"))if(n=r(t,"attributes"))for(var i=0,o=n.length;i<o;i++)if("xml:lang"==r(n[i],"nodeName"))return new wt(r(n[i],"value").replace(/-.+/,"").toLowerCase()==e.valueOf().replace(/-.+/,"").toLowerCase());return new wt(!1)})),R("root",[[Cn,"?",!0]],(function(e){if(arguments.length){if(null==e)return null}else{if(!this.DOMAdapter.isNode(this.item))throw new b("XPTY0004","root() function called when the context item is not a node");e=this.item}var t=this.DOMAdapter.getProperty;2==t(e,"nodeType")&&(e=t(e,"ownerElement"));for(var n=e;n;n=t(e,"parentNode"))e=n;return e})),R("abs",[[kt,"?"]],(function(e){return new At(s.abs(e))})),R("ceiling",[[kt,"?"]],(function(e){return new At(s.ceil(e))})),R("floor",[[kt,"?"]],(function(e){return new At(s.floor(e))})),R("round",[[kt,"?"]],(function(e){return new At(s.round(e))})),R("round-half-to-even",[[kt,"?"],[dn,"",!0]],(function(e,t){var n=arguments.length>1?t.valueOf():0;if(n<0){var r=new dn(s.pow(10,-n)),i=new dn(o=s.round(A["numeric-divide"].call(this,e,r)));return nDecimal=s.abs(A["numeric-subtract"].call(this,i,A["numeric-divide"].call(this,e,r))),A["numeric-multiply"].call(this,A["numeric-add"].call(this,i,new At(.5==nDecimal&&o%2?-1:0)),r)}var o;r=new dn(s.pow(10,n)),i=new dn(o=s.round(A["numeric-multiply"].call(this,e,r)));return nDecimal=s.abs(A["numeric-subtract"].call(this,i,A["numeric-multiply"].call(this,e,r))),A["numeric-divide"].call(this,A["numeric-add"].call(this,i,new At(.5==nDecimal&&o%2?-1:0)),r)})),R("resolve-QName",[[tn,"?"],[Un]],(function(e,t){if(null==e)return null;var n=e.valueOf(),r=n.match(en);if(!r)throw new b("FOCA0002","Invalid QName '"+n+"'");var i=r[1]||null,o=r[2],a=this.DOMAdapter.lookupNamespaceURI(t,i);if(null!=i&&!a)throw new b("FONS0004","Namespace prefix '"+i+"' has not been declared");return new Jt(i,o,a||null)})),R("QName",[[tn,"?"],[tn]],(function(e,t){var n=t.valueOf(),r=n.match(en);if(!r)throw new b("FOCA0002","Invalid QName '"+n+"'");return new Jt(r[1]||null,r[2]||null,null==e?"":e.valueOf())})),R("prefix-from-QName",[[Jt,"?"]],(function(e){return null!=e&&e.prefix?new An(e.prefix):null})),R("local-name-from-QName",[[Jt,"?"]],(function(e){return null==e?null:new An(e.localName)})),R("namespace-uri-from-QName",[[Jt,"?"]],(function(e){return null==e?null:pt.cast(new tn(e.namespaceURI||""))})),R("namespace-uri-for-prefix",[[tn,"?"],[Un]],(function(e,t){var n=null==e?"":e.valueOf(),r=this.DOMAdapter.lookupNamespaceURI(t,n||null);return null==r?null:pt.cast(new tn(r))})),R("in-scope-prefixes",[[Un]],(function(e){throw"Function 'in-scope-prefixes' not implemented"})),R("boolean",[[Xn,"*"]],(function(e){return new wt(or(e,this))})),R("index-of",[[lt,"*"],[lt],[tn,"",!0]],(function(e,t,n){if(!e.length||null==t)return[];var r=t;r instanceof an&&(r=tn.cast(r));for(var i,o=[],a=0,s=e.length;a<s;a++)(i=e[a])instanceof an&&(i=tn.cast(i)),i.valueOf()===r.valueOf()&&o.push(new dn(a+1));return o})),R("empty",[[Xn,"*"]],(function(e){return new wt(!e.length)})),R("exists",[[Xn,"*"]],(function(e){return new wt(!!e.length)})),R("distinct-values",[[lt,"*"],[tn,"",!0]],(function(e,t){if(!e.length)return null;for(var n,r=[],i=0,o=e.length;i<o;i++){(n=e[i])instanceof an&&(n=tn.cast(n));for(var a,s=0,u=r.length,c=!1;s<u&&!c;s++)(a=r[s])instanceof an&&(a=tn.cast(a)),a.valueOf()===n.valueOf()&&(c=!0);c||r.push(e[i])}return r})),R("insert-before",[[Xn,"*"],[dn],[Xn,"*"]],(function(e,t,n){if(!e.length)return n;if(!n.length)return e;var r=e.length,i=t.valueOf();i<1?i=1:i>r&&(i=r+1);for(var o=[],a=0;a<r;a++)i==a+1&&(o=o.concat(n)),o.push(e[a]);return i==a+1&&(o=o.concat(n)),o})),R("remove",[[Xn,"*"],[dn]],(function(e,t){if(!e.length)return[];var n=e.length,r=t.valueOf();if(r<1||r>n)return e;for(var i=[],o=0;o<n;o++)r!=o+1&&i.push(e[o]);return i})),R("reverse",[[Xn,"*"]],(function(e){return e.reverse(),e})),R("subsequence",[[Xn,"*"],[kt,""],[kt,"",!0]],(function(e,t,n){var r=s.round(t),i=arguments.length>2?s.round(n):e.length-r+1;return e.slice(r-1,r-1+i)})),R("unordered",[[Xn,"*"]],(function(e){return e})),R("zero-or-one",[[Xn,"*"]],(function(e){if(e.length>1)throw new b("FORG0003");return e})),R("one-or-more",[[Xn,"*"]],(function(e){if(!e.length)throw new b("FORG0004");return e})),R("exactly-one",[[Xn,"*"]],(function(e){if(1!=e.length)throw new b("FORG0005");return e})),R("deep-equal",[[Xn,"*"],[Xn,"*"],[tn,"",!0]],(function(e,t,n){throw"Function 'deep-equal' not implemented"})),R("count",[[Xn,"*"]],(function(e){return new dn(e.length)})),R("avg",[[lt,"*"]],(function(e){if(!e.length)return null;try{var t=e[0];t instanceof an&&(t=kt.cast(t));for(var n,r=1,i=e.length;r<i;r++)(n=e[r])instanceof an&&(n=kt.cast(n)),t=ne["+"](t,n,this);return oe.div(t,new dn(i),this)}catch(e){throw"XPTY0004"!=e.code?e:new b("FORG0006","Input to avg() contains a mix of types")}})),R("max",[[lt,"*"],[tn,"",!0]],(function(e,t){if(!e.length)return null;try{for(var n=e[0],r=1,i=e.length;r<i;r++)$.ge(e[r],n,this).valueOf()&&(n=e[r]);return n}catch(e){throw"XPTY0004"!=e.code?e:new b("FORG0006","Input to max() contains a mix of not comparable values")}})),R("min",[[lt,"*"],[tn,"",!0]],(function(e,t){if(!e.length)return null;try{for(var n=e[0],r=1,i=e.length;r<i;r++)$.le(e[r],n,this).valueOf()&&(n=e[r]);return n}catch(e){throw"XPTY0004"!=e.code?e:new b("FORG0006","Input to min() contains a mix of not comparable values")}})),R("sum",[[lt,"*"],[lt,"?",!0]],(function(e,t){if(!e.length)return arguments.length>1?t:new kt(0);try{var n=e[0];n instanceof an&&(n=kt.cast(n));for(var r,i=1,o=e.length;i<o;i++)(r=e[i])instanceof an&&(r=kt.cast(r)),n=ne["+"](n,r,this);return n}catch(e){throw"XPTY0004"!=e.code?e:new b("FORG0006","Input to sum() contains a mix of types")}})),R("id",[[tn,"*"],[Cn,"",!0]],(function(e,t){if(arguments.length<2){if(!this.DOMAdapter.isNode(this.item))throw new b("XPTY0004","id() function called when the context item is not a node");t=this.item}var n=O.root.call(this,t);if(9!=this.DOMAdapter.getProperty(n,"nodeType"))throw new b("FODC0001");for(var r=[],i=0;i<e.length;i++)for(var o=0,a=w(e[i]).split(/\s+/),s=a.length;o<s;o++)(t=this.DOMAdapter.getElementById(n,a[o]))&&-1==y(r,t)&&r.push(t);return sr(r,this)})),R("idref",[[tn,"*"],[Cn,"",!0]],(function(e,t){throw"Function 'idref' not implemented"})),R("doc",[[tn,"?",!0]],(function(e){throw"Function 'doc' not implemented"})),R("doc-available",[[tn,"?",!0]],(function(e){throw"Function 'doc-available' not implemented"})),R("collection",[[tn,"?",!0]],(function(e){throw"Function 'collection' not implemented"})),R("element-with-id",[[tn,"*"],[Cn,"",!0]],(function(e,t){throw"Function 'element-with-id' not implemented"})),R("codepoints-to-string",[[dn,"*"]],(function(e){for(var n=[],r=0,i=e.length;r<i;r++)n.push(t.fromCharCode(e[r]));return new tn(n.join(""))})),R("string-to-codepoints",[[tn,"?"]],(function(e){if(null==e)return null;var t=e.valueOf();if(""==t)return[];for(var n=[],r=0,i=t.length;r<i;r++)n.push(new dn(t.charCodeAt(r)));return n})),R("compare",[[tn,"?"],[tn,"?"],[tn,"",!0]],(function(e,t,n){if(null==e||null==t)return null;var r,i=this.staticContext.defaultCollationName;if(arguments.length>2&&(i=n.valueOf()),!(r=i==g+"/collation/codepoint"?cr:this.staticContext.getCollation(i)))throw new b("FOCH0002","Unknown collation {"+i+"}");return new dn(r.compare(e.valueOf(),t.valueOf()))})),R("codepoint-equal",[[tn,"?"],[tn,"?"]],(function(e,t){return null==e||null==t?null:new wt(e.valueOf()==t.valueOf())})),R("concat",null,(function(){if(arguments.length<2)throw new b("XPST0017","Function concat() must have at least 2 arguments");for(var e,t=[],n=0,r=arguments.length;n<r;n++)je(0,e=arguments[n],"?","each argument of concat()"),e.length&&(t[t.length]=tn.cast(ar(e,this)[0]).valueOf());return new tn(t.join(""))})),R("string-join",[[tn,"*"],[tn]],(function(e,t){return new tn(e.join(t))})),R("substring",[[tn,"?"],[kt],[kt,"",!0]],(function(e,t,n){var r=null==e?"":e.valueOf(),i=s.round(t)-1,o=arguments.length>2?i+s.round(n):r.length;return new tn(o>i?r.substring(i,o):"")})),R("string-length",[[tn,"?",!0]],(function(e){if(!arguments.length){if(!this.item)throw new b("XPDY0002");e=tn.cast(ar([this.item],this)[0])}return new dn(null==e?0:e.valueOf().length)})),R("normalize-space",[[tn,"?",!0]],(function(e){if(!arguments.length){if(!this.item)throw new b("XPDY0002");e=tn.cast(ar([this.item],this)[0])}return new tn(null==e?"":w(e).replace(/\s\s+/g," "))})),R("normalize-unicode",[[tn,"?"],[tn,"",!0]],(function(e,t){throw"Function 'normalize-unicode' not implemented"})),R("upper-case",[[tn,"?"]],(function(e){return new tn(null==e?"":e.valueOf().toUpperCase())})),R("lower-case",[[tn,"?"]],(function(e){return new tn(null==e?"":e.valueOf().toLowerCase())})),R("translate",[[tn,"?"],[tn],[tn]],(function(e,t,n){if(null==e)return new tn("");for(var r,i=e.valueOf().split(""),o=t.valueOf().split(""),a=n.valueOf().split(""),s=a.length,u=[],c=0,l=i.length;c<l;c++)-1==(r=o.indexOf(i[c]))?u[u.length]=i[c]:r<s&&(u[u.length]=a[r]);return new tn(u.join(""))})),R("encode-for-uri",[[tn,"?"]],(function(e){return new tn(null==e?"":window.encodeURIComponent(e))})),R("iri-to-uri",[[tn,"?"]],(function(e){return new tn(null==e?"":window.encodeURI(window.decodeURI(e)))})),R("escape-html-uri",[[tn,"?"]],(function(e){if(null==e||""==e.valueOf())return new tn("");for(var t,n=e.valueOf().split(""),r=0,i=n.length;r<i;r++)((t=n[r].charCodeAt(0))<32||t>126)&&(n[r]=window.encodeURIComponent(n[r]));return new tn(n.join(""))})),R("contains",[[tn,"?"],[tn,"?"],[tn,"",!0]],(function(e,t,n){return new wt((null==e?"":e.valueOf()).indexOf(null==t?"":t.valueOf())>=0)})),R("starts-with",[[tn,"?"],[tn,"?"],[tn,"",!0]],(function(e,t,n){return new wt(0==(null==e?"":e.valueOf()).indexOf(null==t?"":t.valueOf()))})),R("ends-with",[[tn,"?"],[tn,"?"],[tn,"",!0]],(function(e,t,n){var r=null==e?"":e.valueOf(),i=null==t?"":t.valueOf();return new wt(r.indexOf(i)==r.length-i.length)})),R("substring-before",[[tn,"?"],[tn,"?"],[tn,"",!0]],(function(e,t,n){var r,i=null==e?"":e.valueOf(),o=null==t?"":t.valueOf();return new tn((r=i.indexOf(o))>=0?i.substring(0,r):"")})),R("substring-after",[[tn,"?"],[tn,"?"],[tn,"",!0]],(function(e,t,n){var r,i=null==e?"":e.valueOf(),o=null==t?"":t.valueOf();return new tn((r=i.indexOf(o))>=0?i.substring(r+o.length):"")})),R("matches",[[tn,"?"],[tn],[tn,"",!0]],(function(e,t,n){var r=null==e?"":e.valueOf(),i=ur(t.valueOf(),arguments.length>2?n.valueOf():"");return new wt(i.test(r))})),R("replace",[[tn,"?"],[tn],[tn],[tn,"",!0]],(function(e,t,n,r){var i=null==e?"":e.valueOf(),o=ur(t.valueOf(),arguments.length>3?r.valueOf():"");return new wt(i.replace(o,n.valueOf()))})),R("tokenize",[[tn,"?"],[tn],[tn,"",!0]],(function(e,t,n){for(var r=null==e?"":e.valueOf(),i=ur(t.valueOf(),arguments.length>2?n.valueOf():""),o=[],a=0,s=r.split(i),u=s.length;a<u;a++)o.push(new tn(s[a]));return o})),R("trace",[[Xn,"*"],[tn]],(function(e,t){var n=window.console;return n&&n.log&&n.log(t.valueOf(),e),e}));var cr=new S;cr.equals=function(e,t){return e==t},cr.compare=function(e,t){return e==t?0:e>t?1:-1};var lr=function(){};function fr(){}lr.prototype.nodeType=2,lr.prototype.nodeName=lr.prototype.nodeValue=lr.prototype.ownerDocument=lr.prototype.localName=lr.prototype.namespaceURI=lr.prototype.prefix=lr.prototype.attributes=lr.prototype.childNodes=lr.prototype.firstChild=lr.prototype.lastChild=lr.prototype.previousSibling=lr.prototype.nextSibling=lr.prototype.parentNode=lr.prototype.name=lr.prototype.specified=lr.prototype.value=lr.prototype.ownerElement=null,fr.prototype=new x;var pr=new D;fr.prototype.getProperty=function(e,t){if(t in e)return e[t];if("baseURI"==t){for(var n,r="",i=pr.getFunction("{http://www.w3.org/2005/xpath-functions}resolve-uri"),o=pr.getDataType("{http://www.w3.org/2001/XMLSchema}string"),a=e;a;a=a.parentNode)1==a.nodeType&&(n=a.getAttribute("xml:base"))&&(r=i(new o(n),new o(r)).toString());return r}if("textContent"==t){var s=[];return function(e){for(var t,n=0;t=e.childNodes[n];n++)3==t.nodeType||4==t.nodeType?s.push(t.data):1==t.nodeType&&t.firstChild&&arguments.callee(t)}(e),s.join("")}},fr.prototype.compareDocumentPosition=function(e,t){if("compareDocumentPosition"in e)return e.compareDocumentPosition(t);if(t==e)return 0;var n,r,i,o,a,u=null,c=null;if(2==e.nodeType&&(u=e,e=this.getProperty(u,"ownerElement")),2==t.nodeType&&(c=t,t=this.getProperty(c,"ownerElement")),u&&c&&e&&e==t)for(o=0,a=(n=this.getProperty(e,"attributes")).length;o<a;o++){if((r=n[o])==u)return 36;if(r==c)return 34}var l,f,p,d,h=[],m=[];for(u&&h.push(u),i=e;i;i=i.parentNode)h.push(i);for(c&&m.push(c),i=t;i;i=i.parentNode)m.push(i);if((e.ownerDocument||e)!=(t.ownerDocument||t)||h[h.length-1]!=m[m.length-1])return 33;for(o=s.min(l=h.length,p=m.length);o;--o)if((f=h[--l])!=(d=m[--p])){if(2==f.nodeType)return 4;if(2==d.nodeType)return 2;if(!d.nextSibling)return 4;if(!f.nextSibling)return 2;for(i=d.previousSibling;i;i=i.previousSibling)if(i==f)return 4;return 2}return l<p?20:10},fr.prototype.lookupNamespaceURI=function(e,t){if("lookupNamespaceURI"in e)return e.lookupNamespaceURI(t);for(;e&&9!=e.nodeType;e=e.parentNode){if(t==this.getProperty(oChild,"prefix"))return this.getProperty(e,"namespaceURI");if(1==e.nodeType)for(var n=this.getProperty(e,"attributes"),r=0,i=n.length,o="xmlns:"+t;r<i;r++)if(this.getProperty(n[r],"nodeName")==o)return this.getProperty(n[r],"value")}return null},fr.prototype.getElementsByTagNameNS=function(e,t,n){if("getElementsByTagNameNS"in e)return e.getElementsByTagNameNS(t,n);var r=[],i="*"==t,o="*"==n;return function(e){for(var a,s=0;a=e.childNodes[s];s++)1==a.nodeType&&(!o&&n!=this.getProperty(a,"localName")||!i&&t!=this.getProperty(a,"namespaceURI")||(r[r.length]=a),a.firstChild&&arguments.callee(a))}(e),r};var dr=new fr,hr=new fr;hr.getProperty=function(e,t){return"localName"==t&&1==e.nodeType?e.localName.toLowerCase():"namespaceURI"==t?1==e.nodeType?"http://www.w3.org/1999/xhtml":null:fr.prototype.getProperty.call(this,e,t)};var mr=new fr;mr.getProperty=function(e,t){if("localName"==t&&1==e.nodeType)return e.nodeName.toLowerCase();if("prefix"==t)return null;if("namespaceURI"==t)return 1==e.nodeType?"http://www.w3.org/1999/xhtml":null;if("textContent"==t)return e.innerText;if("attributes"==t&&1==e.nodeType){for(var n,r,i=[],o=0,a=e.attributes,s=a.length;o<s;o++)(n=a[o]).specified&&((r=new lr).ownerElement=e,r.ownerDocument=e.ownerDocument,r.specified=!0,r.value=r.nodeValue=n.nodeValue,r.name=r.nodeName=r.localName=n.nodeName.toLowerCase(),i[i.length]=r);return i}return fr.prototype.getProperty.call(this,e,t)};var wr=new fr;wr.getProperty=function(e,t){if("localName"==t){if(7==e.nodeType)return null;if(1==e.nodeType)return e.baseName}if("prefix"==t||"namespaceURI"==t)return e[t]||null;if("textContent"==t)return e.text;if("attributes"==t&&1==e.nodeType){for(var n,r,i=[],o=0,a=e.attributes,s=a.length;o<s;o++)(n=a[o]).specified&&((r=new lr).nodeType=2,r.ownerElement=e,r.ownerDocument=e.ownerDocument,r.specified=!0,r.value=r.nodeValue=n.nodeValue,r.name=r.nodeName=n.nodeName,r.localName=n.baseName,r.prefix=n.prefix||null,r.namespaceURI=n.namespaceURI||null,i[i.length]=r);return i}return fr.prototype.getProperty.call(this,e,t)},wr.getElementById=function(e,t){return e.nodeFromID(t)};var yr=window.document,vr=!!yr.namespaces&&!yr.createElementNS,gr=!vr&&"http://www.w3.org/1999/xhtml"!=yr.documentElement.namespaceURI,br=new D,Tr=new D;function Zr(n,r,i){null==r&&(r="");var o=n[0];void 0===o&&(o=null);var a=o&&"DIV"==(9==o.nodeType?o:o.ownerDocument).createElement("div").tagName?br:Tr;a.namespaceResolver=i;var s=new M(t(r),a);a.namespaceResolver=null;var u,c=new e,l=dr;vr?l=a==br?mr:wr:gr&&a==br&&(l=hr);for(var f,p=0,d=(u=s.evaluate(new I(a,o,null,l))).length;p<d;p++)c.push(l.isNode(f=u[p])?f:D.xs2js(f));return c}br.baseURI=yr.location.href,br.defaultFunctionNamespace="http://www.w3.org/2005/xpath-functions",br.defaultElementNamespace="http://www.w3.org/1999/xhtml",Tr.defaultFunctionNamespace=br.defaultFunctionNamespace;var xr={xpath:function(t,n,r){return Zr(t instanceof e?t:new e(t),n,r)}};e.extend(e,xr),(xr={}).xpath=function(e,t){return Zr(this,e,t)},e.extend(e.prototype,xr)}(app.functionKaizen.$);var deviceType=0;deviceType=app.getDevice()==app.constant.DEVICE_TYPE_PC||app.getDevice()==app.constant.DEVICE_TYPE_TABLET?1:deviceType,deviceType=app.getDevice()==app.constant.DEVICE_TYPE_SMARTPHONE?3:deviceType,app.validateObjectType(app.getConfig().siteInfo.functionAbtest,"boolean")&&app.getConfig().siteInfo.functionAbtest&&app.loadAsync(app.getDomain()+"/function/abtest/?color="+app.getColor()+"&url="+encodeURIComponent(app.getUrl())+"&deviceType="+deviceType+"&sesid="+app.getSessionId(),!0)}catch(e){app.errorReport(e,tagName),e=e instanceof Error?e:"Failed function kaizen core :: "+e,app.logging(e)}};app.executeAsync(init)})("__kit__zoWMQ1iJ4C4=")})();