PageSourceSearch

https://sttc.localiba.fr/assets/lclb/application_fr.js?s5=r

js localiba.fr collected 2026-10-10 01:30:44 UTC 272,140 bytes, 9 lines download raw bytes

1function spg(t,e,n){return op=' opacity="0.4"',e&&(op=""),n?(transform="translate(-27.45 -37.65)",t&&(transform="rotate(180 25.725 30.325)"),svg='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="23" viewBox="0 0 24 23"><path fill="%2394a1b1" d="M51.084 50.045L40.875 60.279a1.253 1.253 0 0 1-1.78 0l-1.192-1.2a1.261 1.261 0 0 1 0-1.785l8.087-8.144L37.9 41a1.271 1.271 0 0 1 0-1.785l1.192-1.2a1.253 1.253 0 0 1 1.78 0l10.212 10.24a1.277 1.277 0 0 1 0 1.79zM41 48.255L30.792 38.021a1.253 1.253 0 0 0-1.78 0l-1.192 1.2a1.261 1.261 0 0 0 0 1.785l8.087 8.148L27.82 57.3a1.271 1.271 0 0 0 0 1.785l1.192 1.2a1.253 1.253 0 0 0 1.78 0L41 50.045a1.277 1.277 0 0 0 0-1.79z"'+op+' transform="'+transform+'"/></svg>'):(transform="translate(-27.495 -37.657)",t&&(transform="rotate(180 20.747 30.328)"),svg='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="23" viewBox="0 0 14 23"><path fill="%2394a1b1" d="M41.123 50.051L30.856 60.287a1.271 1.271 0 0 1-1.793 0l-1.2-1.194a1.261 1.261 0 0 1 0-1.786L36 49.157l-8.137-8.15a1.261 1.261 0 0 1 0-1.786l1.2-1.194a1.271 1.271 0 0 1 1.793 0l10.267 10.236a1.261 1.261 0 0 1 0 1.788z"'+op+' transform="'+transform+'"/></svg>'),"url('data:image/svg+xml;utf8,"+svg+"') no-repeat center center"}function nv(t,e){return transform="translate(0 .11) translate(0 -.11)",transform2="translate(0 .11) rotate(-90 21.999 13)",op=' opacity="0.4"',pos="right",t&&(transform="rotate(180 12.5 25.055) translate(0 .109)",transform2="rotate(180 12.5 25.055) rotate(-90 21.999 13.001)",pos="left"),e&&(op=""),'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24.999" height="50" viewBox="0 0 24.999 50"><g><path fill="rgba(40,40,40,0.8)" d="M25 50h-.008A24.992 24.992 0 0 1 7.322 7.323 24.921 24.921 0 0 1 25 0z" transform="'+transform+'"/><path fill="%23fff" d="M9.223 11.682l-8.9-8.8a1.078 1.078 0 0 1 0-1.537L1.36.318a1.108 1.108 0 0 1 1.553 0L10 7.291 17.088.316a1.108 1.108 0 0 1 1.553 0l1.038 1.026a1.078 1.078 0 0 1 0 1.537l-8.9 8.8a1.108 1.108 0 0 1-1.556.003z"'+op+' transform="'+transform2+"\"/></g></svg>') no-repeat center "+pos}function hidepricesearch(){v=$("#srub").val(),75==v||v>=164?$("#spr").hide():$("#spr").show()}function check_detail_type_bien_search(t){3==$(t+" select[name=seat] option:selected").val()?($(t+" #advsu, "+t+" #advnp, "+t+" #advnc, "+t+" #advns, "+t+" #advam, "+t+" #adve, "+t+" #advf, "+t+" #advan, "+t+" #advnbc, "+t+" #adva, "+t+" #advco, "+t+" #advs").hide(),$("#advp").addClass("srlnd")):($(t+" #advsu, "+t+" #advnp, "+t+" #advnc, "+t+" #advns, "+t+" #advam, "+t+" #adve, "+t+" #advf, "+t+" #advan, "+t+" #advnbc, "+t+" #adva, "+t+" #advco, "+t+" #advs").show(),$("#advp").removeClass("srlnd"))}function slugify(t){return a=/[^a-zA-Z0-9\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xff\u0100\u0101\u0102\u0103\u0104\u0105\u0106\u0107\u0108\u0109\u010a\u010b\u010c\u010d\u010e\u010f\u0110\u0111\u0112\u0113\u0114\u0115\u0116\u0117\u0118\u0119\u011a\u011b\u011c\u011d\u011e\u011f\u0120\u0121\u0122\u0123\u0124\u0125\u0126\u0127\u0128\u0129\u012a\u012b\u012c\u012d\u012e\u012f\u0130\u0131\u0132\u0133\u0134\u0135\u0136\u0137\u0139\u013a\u013b\u013c\u013d\u013e\u013f\u0140\u0141\u0142\u0143\u0144\u0145\u0146\u0147\u0148\u0149\u014c\u014d\u014e\u014f\u0150\u0151\u0152\u0153\u0154\u0155\u0156\u0157\u0158\u0159\u015a\u015b\u015c\u015d\u015e\u015f\u0160\u0161\u0162\u0163\u0164\u0165\u0166\u0167\u0168\u0169\u016a\u016b\u016c\u016d\u016e\u016f\u0170\u0171\u0172\u0173\u0174\u0175\u0176\u0177\u0178\u0179\u017a\u017b\u017c\u017d\u017e\u017f\u0192\u01a0\u01a1\u01af\u01b0\u01cd\u01ce\u01cf\u01d0\u01d1\u01d2\u01d3\u01d4\u01d5\u01d6\u01d7\u01d8\u01d9\u01da\u01db\u01dc\u01fa\u01fb\u01fc\u01fd\u01fe\u01ff\u0430-\u044f\u0410-\u042f\u10d0-\u10f0]+/g,t.replace(a,"-")}function setCookie(t,e,n){Cookies.set(t+window.__reg__,e,{expires:n,path:"/"})}function getCookie(t){var e=Cookies.get(t+window.__reg__);return e||""}
1function show_advanced_search(){$("#sadv #sadvb").on("click",function(){$("#sadv #advfldstd").is(":visible")?($("#sadv #advfldstd").hide(),$("input#srub").length>0&&$("#saddr,#sgeo,.sgeo").hide(),$("#sadvh").remove()):($("#sadv #advfldstd").show(),$("#sadv #advfldstd").length,$("#sadvh").remove(),$(".frmsrc, #form_mysearch").append('<input type="hidden" name="adh" value="1" id="sadvh"/>'),get_details_search(),$("input#srub").length>0&&$("#sgeo").show())})}function get_details_search(){$("select#srub option:selected").length>0?id=$("select#srub option:selected").val():id=$("input#srub").val(),op=$("#sadvh").length>0,$("#sadv .fldstd").hide(),$("#sadv .fldstd").appendTo($("body")),id&&(op?$("#advfldst"+id).length?($(".frmsrc #sadv .msrchwrp, #form_mysearch #sadv").append($("#advfldst"+id)),$("#advfldst"+id).show(),$("#spr label").html($("#advfldst"+id).attr("data-prlb"))):$.get(window.__url_detail__.replace("__xx__",id)+(window.__url_detail__.indexOf("?")>0?"&":"?")+"adv="):$("#advfldst"+id).length?($(".frmsrc #sadv .msrchwrp, #form_mysearch #sadv").append($("#advfldst"+id)),$("#sadv #advfldstd").hide(),$("#sadv .fldstd").show(),$("#spr label").html($("#advfldst"+id).attr("data-prlb"))):$("#advfldstl"+id).length?($(".frmsrc #sadv .msrchwrp, #form_mysearch #sadv").append($("#advfldstl"+id)),$("#advfldstl"+id).show(),$("#spr label").html($("#advfldstl"+id).attr("data-prlb"))):$.get(window.__url_detail__.replace("__xx__",id)+(window.__url_detail__.indexOf("?")>0?"&":"?")+"link="))}function prepareFormSearch(){sform=$("#sb > form"),$('#sb input[name="utf8"]').prop("disabled",!0);var t,e,n=!1;$("#v :selected").length<2&&$("#v option:selected").val()==$("#v").attr("data-curr")?$("#v").prop("disabled",!0):t=!0,$("#srub option:selected").val()==$("#srub").attr("data-curr")||$("input#srub").length>0?$("#srub").prop("disabled",!0):t=!0,$("#sod").val()==$("#sod").attr("data-curr")||$("input#sod").length>0?$("#sod").prop("disabled",!0):t=!0,""==$("#mc").val()?$("#mc").prop("disabled",!0):e=1,""!=$("#pmn").val()&&$("#pmn").val()>0&&void 0!==$("#pmn").val()?e=!0:$("#pmn").prop("disabled",!0),""!=$("#pmx").val()&&$("#pmx").val()>0&&void 0!==$("#pmx").val()?e=!0:$("#pmx").prop("disabled",!0),""==$("#ref").val()||void 0===$("#ref").val()?$("#ref").prop("disabled",!0):e=!0,t&&($("#srub option:selected").val()?(irub=$("#srub optgroup").index($("#srub option:selected").parent()),irub>=0?(isrub=$("#srub option:selected").parent().children().index($("#srub option:selected")),slug=$("#rb>li:nth-child("+(irub+1)+") ul li:nth-child("+(isrub+1)+") a").attr("href")):(isrub=$("#srub option").index($("#srub option:selected")),slug=$("#rb ul li:nth-child("+isrub+") a").attr("href")),ind=slug.indexOf("?"),slug=slug.substr(0,ind>0?ind:slug.length)):(slug=$("#rb ul>li:nth-child(1) > a").attr("href"),slug?slug=slug.split("/").slice(0,3).join("/"):(slug=$("#sb form").attr("action").split("/"),"-_"==slug[3].substr(-2)?slug=slug.slice(0,6).join("/"):slug=slug.slice(0,5).join("/"))),$("#sod").val()&&(slug_array=slug.split("/"),slug_array.length>3&&"-_"==slug_array[3].substr(-2)?del=1:del=0,slug_array.splice(3,del,slugify($("#sod").val()+"-")+"_"),slug=slug_array.join("/")),$("#v :selected").length>1?e=!0:($("#v :selected").val()&&(slug+="/"+slugify($("#v option:selected").text()+"-")+"_"+$("#v option:selected").val()),$("#v").prop("disabled",!0)),$("#sb form").attr("action",slug)),$("#sadvh").length>0&&$("#sadv .fldstd input, #sadv .fldstd select").each(function(){that=$(this),""==that.val()||"checkbox"==that.attr("type")&&!that.is(":checked")?that.prop("disabled",!0):"adsrub"!=that.attr("name")&&"sp[min]"!=that.attr("name")&&(e=!0,n=!0)}),$("#sgeof").length>0&&$("#sgeof input").each(function(){that=$(this),""==that.val()?that.prop("disabled",!0):e=!0}),e||$("#sbmd button").prop("disabled",!0),n||$("#sadvh, #sadv input[name=adsrub]").prop("disabled",!0),window.__alp__&&$("#sb form").append('<input type="hidden" value="lat" name="alp"/>'),$("#saddr").prop("disabled",!0),$("#srub").prop("disabled",!0)}function checkbkm(t){setInterval(()=>{localStorage.bkms!==tmpBkms&&(tmpBkms=localStorage.bkms,t(),setbkm())},1e3)}function setbkm(){tt_add=$(".dbkm .bkmadd input[name=commit]").attr("title"),tt_rem=$(".dbkm .bkmdel input[name=commit]").attr("title"),$(".dbkm input[name=_method]").remove(),$(".dbkm .bkmdel input[name=commit]").attr("title",tt_add),$(".dbkm .bkmdel").addClass("bkmadd"),$(".dbkm .bkmdel").removeClass("bkmdel"),bkms=[],bkms=localStorage.bkms?localStorage.bkms.split("|"):[];for(let t=0;t<bkms.length;t++)$(".bkm"+bkms[t]+" form").prepend('<input type="hidden" name="_method" value="delete" autocomplete="off">'),$(".bkm"+bkms[t]+" form .hdsbm").removeClass("bkmadd"),$(".bkm"+bkms[t]+" form .hdsbm").addClass("bkmdel"),$(".bkm"+bkms[t]+" form input[name=commit]").attr("title",tt_rem);bkmtxt='<span class="hde">'+$("#usrl li:nth-child(2) a .hde").html()+"</span>",svg='<svg xmlns="http://www.w3.org/2000/svg"><use href="#bkmsvg" /></svg>',bkms.length>0?$("#usrl li:nth-child(2) a").html('<span class="nw">'+svg+" <span>"+bkms.length+"</span></span>"+bkmtxt):$("#usrl li:nth-child(2) a").html(svg+bkmtxt)}function setmsghg(){hg=$(window).height()-($("footer").height()+$("#msglnktp + div").offset().top)-parseInt($(".col-container").css("padding-bottom"),10)-parseInt($("#lstent").css("margin-bottom"),10)-1,hg=Math.max(hg,200),$("#msglst > div").height(hg),$("#cnvrstn > div").height(hg-88)}function hidecompaniesdtl(){$(".adcmp").removeClass("adcmpslc"),$(".adcmp").length>1&&$(".adcmp").appendTo($("body")),v=$("#annonce_company_id").val(),null!=v&&""!=v&&($(".adcmp").length>1&&$(".adcmp"+v).insertAfter("#coord .bfa2"),$(".adcmp"+v).addClass("adcmpslc"))}function adsns(t){if(window.__doadsns&&$("ins.adsbygoogle").length>0){var e=document.createElement("script");e.type="text/javascript",e.setAttribute("async","async"),e.setAttribute("crossorigin","anonymous"),e.src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",document.getElementsByTagName("body")[0].appendChild(e);var n=document.createElement("script");n.type="text/javascript",n.text=(1==t?"":"(adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1;")+"(adsbygoogle = window.adsbygoogle || []).push({});",document.getElementsByTagName("body")[0].appendChild(n)}}function ckEU(){var t=Cookies.get("cnsnt");t||(t=""),null!=t&&""!=t&&adsns(t),(null==t||""==t||window.__eu_consent_prvc)&&window.__eu_consent_txt&&($("body").append('<div class="modal hide fade cnsnt" tabindex="-1" role="dialog"><div class="cabs"><div class="hd">'+(window.__eu_consent_prvc?"<span></span>":'<a class="close" data-dismiss="modal">\xd7</a>')+'<h1 class="modal-title">'+window.__eu_consent_ttl+"</h1><p>"+window.__eu_consent_txt+(window.__eu_consent_prvc?"":'<br/><a href="'+window.__eu_consent_href+'">'+window.__eu_consent_lnk+"</a>")+'</p></div><div class="ft actn"><button type="button" class="btn btn1 btnok'+("1"===t?" active":"")+'" style="margin:0">'+window.__eu_consent_yes+'</button> <button type="button" class="btn btn0 btnno'+("0"===t?" active":"")+'" style="float:left;margin:0">'+window.__eu_consent_no+"</button></div></div></div>"),$(".cnsnt .btnok").click(function(){dockeu(1)}),$(".cnsnt .btnno").click(function(){dockeu(0)}),window.__eu_consent_prvc?$(".prvc #lstent").append($(".cnsnt .cabs")):($(".cnsnt").on("hide.bs.modal",function(){dockeu(0)}),setTimeout("$('.cnsnt').modal('show');",2358)))}
1function dockeu(t){var e=Cookies.get("cnsnt");e||(e=""),null!=e&&""!=e||adsns(t),$(".prvc .cabs .btn").removeClass("active"),$(".prvc .cabs .btn"+t).addClass("active"),Cookies.set("cnsnt",t,{expires:358,path:"/"}),$(".cnsnt").off("hide.bs.modal"),$(".cnsnt").modal("hide")}function handle_suffix(){$("form input[suffix]").each(function(){0==$("#"+$(this).attr("id")+" + span:contains('"+$(this).attr("suffix")+"')").length&&("nx"==$(this).attr("class")?(sp=$('<span class="'+$(this).attr("class")+'"></span>'),sp.css({position:"relative",display:"inline-block",width:"100%"}),$(this).before(sp),sp.append($(this)).append("<span>"+$(this).attr("suffix")+"</span>")):$(this).after(function(){return"<span>"+$(this).attr("suffix")+"</span>"}))})}function shprc(){prc=0,$(".cntl input:checked").each(function(){prc+=parseInt($(this).siblings("span:nth-last-child(1)").html())}),console.log(prc),prc>0?($(".am .dfvp").length>0&&$(".ovt").hide(),$(".fvp + .actn").show(),0==$("#blc").length&&($('<button class="btn adprv ">'+lngs.cnc+'</button><div id="blc"></div>').appendTo(".fvp + .actn"),$(".adprv").on("click",function(t){$(".cntl input").prop("checked",!1),shprc(),t.preventDefault()})),$("#blc").html("<div>"+lngs.ttl+": "+prc+"GNX</div><div>"+lngs.crnbln+": "+lngs.gnx+"GNX</div>"),$('.fvp + .actn button[name="add_item"]').html(prc<=lngs.gnx?lngs.pay:lngs.adcrd)):($(".fvp + .actn").hide(),$(".ovt").show())}function refreshrate(){for(var t in available_payment_modes)amount=$("#payment_gancxcoin_amount").val()/available_payment_modes[t].rate,$("#pmd_"+t+" .lclprc").html(amount),4==available_payment_modes[t].payment_type&&(pw=Math.pow(10,available_payment_modes[t].digit),$("#pmd_"+t+" .crptprc").html(parseFloat((amount*(1/available_payment_modes[t].rate_locale_monnaie*pw)/pw).toFixed(available_payment_modes[t].digit))))}function imgfls(t){if($("#confirmationDialogmg").length>0)$("#confirmationDialogmg").modal($("#confirmationDialogmg.in").length>0?"hide":"show");else{var e=$("#a"+t+" .sveai").length;$('<div class="modal" id="confirmationDialogmg"><div class="mdl"><div id="amd'+t+'" class="am"><div class="amb"><div class="ai'+(e>0?" sveai":"")+'"></div></div></div></div></div>').modal(),$("#amd"+t+" .ai").append($(".ai").html()),$("#amd"+t+" .aifls").on("click",function(){imgfls($(this).parents(".am").attr("id").substring(3))}),$(window).bind("resize",function(){$("#confirmationDialogmg .ai").height($(window).height()-(18+2*parseInt($("#confirmationDialogmg").css("margin-top"))))}),$("#amd"+t+" .ai div img").attr("src",$("#amd"+t+" .ai div img").attr("src").replace("large_","larges_")),$("#amd"+t+" .ai div img").removeAttr("srcSet"),$("#amd"+t+" .ai div img").removeAttr("sizes"),e>0&&($("#amd"+t+" .prv, #amd"+t+" .nxt").remove(),sd(window.sear["a_"+t]),snv(window.sear["a_"+t],!0,"md"))}$("#amd"+t+" .ai").height($(window).height()-(18+2*parseInt($("#confirmationDialogmg").css("margin-top"))))}function ctcxxxx(t,e,n){var i="",s="";for(_i=0;_i<e.length;_i++)i=e[_i],isNaN(i)||" "==i||(i="&#"+i+";"),s+=i;$("#a"+t+" .cc"+n+", .rg .cc"+n).html(s)}function setr(t,e,n){this.rt=t,this.rm=e,this.rl=n}function dia(t,e,n,i){this.id=t,this.img=n,this.rep=e,this.cmp=1,this.thb=i}function se(t){$("#a"+t.id+" .sar, #a"+t.id+" .abb").hover(function(){ld(t)},function(){sd(t)}),t.thb?$("#a"+t.id).hover(function(){snv(t,!0,"")},function(){snv(t,!1,"")}):(snv(t,!0,""),$("#a"+t.id+" .ai a").click(function(t){t.preventDefault()}),$("#a"+t.id+" .ai a, #a"+t.id+" .ai img").css("cursor","pointer")),ld(t,!0)}function snv(t,e,n){e?$("#a"+n+t.id+" .prv, #a"+n+t.id+" .nxt").length>0?$("#a"+n+t.id+" .prv, #a"+n+t.id+" .nxt").show():($("#a"+n+t.id+" .ai div:nth-child(1), #a"+n+t.id+" .ai .aim").append('<div class="prv"></div><div class="nxt"></div>'),$("#a"+n+t.id+" .prv").css("background",nv(!0,!1)).hover(function(){$(this).css("background",nv(!0,!0))},function(){$(this).css("background",nv(!0,!1))}),$("#a"+n+t.id+" .nxt").css("background",nv(!1,!1)).hover(function(){$(this).css("background",nv(!1,!0))},function(){$(this).css("background",nv(!1,!1))}),$("#a"+n+t.id+" .prv, #a"+n+t.id+" .nxt").click(function(e){sd(t),ci(t,!0,"prv"==$(this).attr("class")),e.preventDefault()})):$("#a"+n+t.id+" .prv, #a"+n+t.id+" .nxt").hide()}function ld(t,e){void 0===t.loop&&(t.loop=0,t.play=!1),0!=t.play||e||(t.play=!0,t.timer=setTimeout('ci(window.sear["a_'+t.id+'"], true,false)',1e3))}function activerTimer(t){t.timer=setTimeout('ci(window.sear["a_'+t.id+'"], true,false)',2e3)}function sd(t){clearTimeout(t.timer),t.play=!1}function pl(t,e){t.thb?jQuery.preLoadImages(path+t.rep+window.setr.rt+t.img[t.cmp]):$(".am .ai > ul").is(":visible")?jQuery.preLoadImages(path+t.rep+window.setr.rl+t.img[t.cmp],path+t.rep+window.setr.rm+t.img[(t.cmp-1+e)%e]):jQuery.preLoadImages(path+t.rep+window.setr.rl+t.img[t.cmp])}function ci(t,e,n){var s=t.img.length;t.thb?(window.setr.rt=/(thumb[a-z]*_)[0-9]*\.[a-zA-Z]*/.exec($("#a"+t.id+" .ai img:nth-child(1)").prop("currentSrc").split("/").pop())[1],rep=t.rep+window.setr.rt):(i=new Image,""==window.setr.rm&&(window.setr.rm=/(medium[a-z]*_)[0-9]*\.[a-zA-Z]*/.exec($("#a"+t.id+" .ai img:nth-child(1)").prop("currentSrc").split("/").pop())[1],window.setr.rl=/(large[a-z]*_)[0-9]*\.[a-zA-Z]*/.exec($("#a"+t.id+" .aim img:nth-child(1)").prop("currentSrc").split("/").pop())[1]),i.src=path+t.rep+window.setr.rm+t.img[(t.cmp-1+s)%s],$("#amd"+t.id).length>0&&(n?(iTmp=$("#amd"+t.id+" .ai ul li:nth-child("+(s-1)+")"),iTmp.prependTo("#amd"+t.id+" .ai ul")):(iTmp=$("#amd"+t.id+" .ai ul li:nth-child(1)"),$("#amd"+t.id+" .xc").length>0?iTmp.insertBefore($("#amd"+t.id+" .xc")):iTmp.appendTo("#amd"+t.id+" .ai ul")),iTmp=iTmp.find("span img"),iTmp.attr("src",i.src),iTmp.removeAttr("srcSet"),iTmp.removeAttr("sizes"),iTmp[0].parentNode.setAttribute("onclick",'csd(window.sear["a_'+t.id+'"], '+(t.cmp-1+s)%s+");return false;")),mylast=!1,n?(last=$("#a"+t.id+" .ai ul li:nth-child("+(s-1)+") span").eq(0),iTmp=last.clone(),$("#a"+t.id+" .ai ul li span").reverse().each(function(){mylast&&mylast.parent().html($(this).parent().html()),mylast=$(this).eq(0)}),$("#a"+t.id+" .ai ul li:nth-child(1)").html(iTmp)):(last=$("#a"+t.id+" .ai ul li:nth-child(1) span").eq(0),iTmp=last.clone(),$("#a"+t.id+" .ai ul li span").each(function(){mylast&&mylast.parent().html($(this).parent().html()),mylast=$(this).eq(0)}),$("#a"+t.id+" .ai ul li:nth-child("+(s-1)+")").html(iTmp)),iTmp=iTmp.find("img"),iTmp.attr("src",i.src),iTmp.removeAttr("srcSet"),iTmp.removeAttr("sizes"),iTmp[0].parentNode.setAttribute("onclick",'csd(window.sear["a_'+t.id+'"], '+(t.cmp-1+s)%s+");return false;"),rep=t.rep+window.setr.rl),n&&(t.cmp=(t.cmp+s-2)%s),1==e&&(i=new Image,i.src=path+rep+t.img[t.cmp],$("#a"+t.id+" .ai div img, #amd"+t.id+" .ai div img").attr("src",i.src),$("#a"+t.id+" .ai div img, #amd"+t.id+" .ai div img").removeAttr("srcSet"),$("#a"+t.id+" .ai div img, #amd"+t.id+" .ai div img").removeAttr("sizes"),$("#a"+t.id+" .aict, #amd"+t.id+" .aict").html(t.cmp+1+"/"+s)),t.cmp=(t.cmp+1)%s,1==t.play&&(pl(t,s),i.onLoad=activerTimer(t))}function csd(t,e){if(t.play=!1,clearTimeout(t.timer),t.cmp!=e)for(var n=t.img.length;e!=(t.cmp+n)%n;)ci(t,!1,!1);t.timer=setTimeout('ci(window.sear["a_'+t.id+'"], true, false)',0)}function hidepricesearch(){v=$("#srub").val(),75==v||v>=164?$("#spr").hide():$("#spr").show()}function search_set_select(t){$("#sb").length>0&&0==$("#sp"+t).length&&($("#"+t).addClass("select2-hidden-accessible"),$("#"+t).attr({tabindex:"-1","aria-hidden":"true"}),txtlb=$("#"+t+"  option:selected").text(),"v"==t&&(txtlb?(txtlb=$("#"+t+"  option:selected").map(function(){return this.text}).get().join(", "),""==txtlb?$("#vd").removeClass("vdslct"):$("#vd").addClass("vdslct")):txtlb=$("#v").find("option:first-child").text()),$('<span id="sp'+t+'" class="mslcsltn"  aria-label="'+("v"==t?lngs.location:lngs.category)+'" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-disabled="false" >'+txtlb+"</span>").appendTo($("#"+t+"d")),$("#sp"+t).blur(function(){$("#mdsr"+t).is(":visible")||$("#"+t+"d .mslcsltn").removeClass("mslcsltn-focus")}),$("#sp"+t).focus(function(){$("#"+t+"d .mslcsltn").addClass("mslcsltn-focus")}),$("#sp"+t).on("mousedown",function(e){search_show_select(t),e.stopPropagation()}),$("#sp"+t).on("keypress",function(){search_show_select(t)}))}function search_show_select(t){hdmp(),0==$("#mdsr"+t).length&&($("body").addClass("mdin"),$('<div id="mdsr'+t+'" class="mdsr" style="display:none"><div class="msrch"><div class="lnkbk"><span href="#">&nbsp;</span></div><div class="asdtl">'+("v"==t?lngs.location:lngs.category)+'</div><div class="msrchwrp"></div></div></div>').appendTo($("#"+t+"d")),$("#"+t+"d .mslcsltn").addClass("mslcsltn-focus"),"v"==t&&$("#mdsr"+t+" .lnkbk").on("click",function(){$("#mdsrv").hide(),$("body").removeClass("mdin"),$("#vd .mslcsltn").removeClass("mslcsltn-focus")})),$("#mdsr"+t).is(":visible")?($("#"+t).select2("close"),$("#mdsr"+t).hide(),$(".mdsr").is(":visible")||$("body").removeClass("mdin")):(ot="v"==t?"srub":"v",$("#mdsr"+ot).is(":visible")&&($("#"+ot).select2("close"),$("#mdsr"+ot).hide(),$("#"+ot+"d .mslcsltn").removeClass("mslcsltn-focus")),$("body").addClass("mdin"),$("#"+t+"d .mslcsltn").addClass("mslcsltn-focus"),
10==$("#mdsr"+t+" #"+t).length&&($("#"+t).appendTo("#mdsr"+t+" .msrchwrp"),"srub"==t?($("#"+t).select2({width:"resolve",dropdownParent:$("#mdsr"+t+" .msrchwrp")}),$("#"+t).on("select2:close",function(){search_show_select(t),$("#sp"+t).focus(),$("#sp"+t+",#wrps"+t+" .form-wrapper span:nth-child(1)").html($("#"+t+"  option:selected").text())})):(select2_for_cities(t,"#mdsr"+t+" .msrchwrp",!1),$("#"+t).on("change",function(){rstr=$("#v option:selected").map(function(){return this.text}).get().join(", ")||"",""==rstr?$("#vd").removeClass("vdslct"):$("#vd").addClass("vdslct"),$("#wrps"+t+" .form-wrapper span:nth-child(1)").html(rstr),$("#sp"+t).html(rstr||$("#v").find("option:first-child").text())}))),"srub"==t?$("#"+t).select2("open"):setTimeout(function(){$("#mdsr"+t+" .select2-search__field").focus()},44),$("#mdsr"+t).show())}function search_show_keyword(){hdmp(),$("#mdsrky .sgttl").length>0&&$("#mdsrky").show(),$("#mdsrv").hide(),$("#vd .mslcsltn").removeClass("mslcsltn-focus"),$("#mdsrky").is(":visible")?$("body").addClass("mdin"):$(".mdsr").is(":visible")||$("body").removeClass("mdin")}function hdmp(t=!1){$("#sgeo .map").is(":visible")&&(t?$("#sgeo .map").slideUp(800):$("#sgeo .map").hide(),$("span.sgeo").removeClass("hdmp"),tmp=$("span.sgeo span").html(),$("span.sgeo span").html($("span.sgeo").attr("data-inv")),$("span.sgeo").attr("data-inv",tmp))}function show_adv(){hdmp(),$("#sadv").is(":visible")?$("#mdsrv").is(":visible")?($("#mdsrv").hide(),$("#vd .mslcsltn").removeClass("mslcsltn-focus")):($("#sadv").removeClass("mdsr"),$("#sadv").hide(),$("body").removeClass("mdin")):($("#mdsrv").hide(),$("#vd .mslcsltn").removeClass("mslcsltn-focus"),$("#rb .actv").removeClass("actv"),$("body").addClass("mdin"),$("#sadv").addClass("mdsr"),0==$("#wrpsv").length&&($('<div class="lnkbk"><span href="#">&nbsp;</span></div>').prependTo("#sadv .msrch"),$("#sadv .lnkbk").on("click",function(){show_adv()}),$('<div id="wrpsv" class="wrpsrch form-group"><span class="form-label"><span class=" control-label">'+lngs.location+'</span></span><span class="form-wrapper"><span>'+($("#v option:selected").map(function(){return this.text}).get().join(", ")||"")+'</span> <span class="wrpsrln">'+lngs.choose_location+"</span></span></div>").prependTo("#sadv .msrchwrp"),$("#wrpsv .wrpsrln").on("click",function(){$("#spv").focus(),search_show_select("v")})),0==$("#wrpssrub").length&&($('<div id="wrpssrub" class="wrpsrch form-group"><span class="form-label"><span class=" control-label">'+lngs.category+'</span></span><span class="form-wrapper"><span>'+$("#srub  option:selected").text()+'</span> <span class="wrpsrln">'+lngs.change+"</span></span></div>").prependTo("#sadv .msrchwrp"),$("#wrpssrub .wrpsrln").on("click",function(){$("#spsrub").focus(),search_show_select("srub")})),$("#sadv").show())}function get_suggession(){window.__url_sg__&&(search_show_keyword(),tmpcrsg="",tmpcrsg!=crsg&&(crsg=tmpcrsg,$.get(window.__url_sg__+".json",function(t){res=t.data,Object.keys(res).length>0&&(0==$("#mdsrky").length&&($('<div id="mdsrky" class="mdsr"><div class="msrch"><div class="lnkbk"><span href="#">&nbsp;</span></div><div class="msrchwrp"></div></div></div>').appendTo($("#qd")),$("body").addClass("mdin")),$(".sgttl, .sgtm").remove(),reshtml="",$.each(res,function(t,e){reshtml+='<div class="sgttl">'+t+"</div>",$.each(e,function(t,e){reshtml+='<div class="sgtm">'+(e.url?'<a href="'+e.url+'" class="sgtma">':"")+"<div>"+e.name+"</div><div>"+e.str+"</div>"+(e.url?"</a>":"")+"</div>"})}),$(reshtml).appendTo($("#mdsrky .msrchwrp")))})))}function select2_for_cities(t,e,n){prms={ajax:{type:"GET",delay:888,dataType:"json",cache:!0,url:function(t){return"/"+$("html").attr("lang").toLowerCase()+"/villes"+(window.__reg__?"-"+window.__reg__:"")+".json?"+(""==t.term?"val=":"va="+encodeURIComponent(t.term))+(window.__alp__?"&"+window.__alp__:"")},data:function(){},processResults:function(t){return{results:$.map(t,function(t){return t.id=t.id||t.i,t.text=t.text||t.t,t})}}},closeOnSelect:n,dropdownParent:$(e),minimumInputLength:3,width:"resolve",language:$("html").attr("lang").toLowerCase(),placeholder:$("#v").find("option:first-child").text(),escapeMarkup:function(t){return t},templateResult:formatRepo},"v"==t&&(prms.templateSelection=formatRepoSelection),$("#"+t).select2(prms),$("html > head").append($("<style>#mdsrv .select2-search__field { background: "+v_bck(!1)+"}#mdsrv .select2-search__field:focus{ background: "+v_bck(!0)+"}</style>"))}function v_bck(t){return'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="24" viewBox="0 0 18 24">
vendor: 6,236 bytes, line 1
1<path d="M8.075 23.516C1.264 13.642 0 12.629 0 9a9 9 0 1 1 18 0c0 3.629-1.264 4.642-8.075 14.516a1.125 1.125 0 0 1-1.85 0zM9 12.75A3.75 3.75 0 1 0 5.25 9 3.75 3.75 0 0 0 9 12.75z" style="fill:%23'+(t?"0097d9":"94a1b1")+"\"/></svg>') no-repeat 8px center"}function formatRepo(t){return t.loading?t.text:"<div class='v"+t.s+"'>"+t.t+"</div>"}function formatRepoSelection(t){return pr=t.p||t.element&&t.element.getAttribute("data-attr-parent")||"","<div"+(""==pr?' class="rppd"':"")+">"+t.text+"</div><div>"+pr+"</div>"}function shmsgeo(t){loadgeo(function(){shmsgeo_ld(t)})}function shm(t,e,n){loadgeo(function(){shm_ld(t,e,n)})}function shvz(t){loadgeo(function(){shvz_ld(t)})}function loadgeo(t){var e=document.createElement("script");e.type="text/javascript",e.src=window.__sttc__+"/assets/lclb/geo.js?k3=k",e.onload=function(){t(e)},document.body.appendChild(e)}!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function n(t,e,n){var i,s,r=(n=n||_t).createElement("script");if(r.text=t,e)for(i in wt)(s=e[i]||e.getAttribute&&e.getAttribute(i))&&r.setAttribute(i,s);n.head.appendChild(r).parentNode.removeChild(r)}function i(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?ht[pt.call(t)]||"object":typeof t}function s(t){var e=!!t&&"length"in t&&t.length,n=i(t);return!yt(t)&&!bt(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function r(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function o(t,e){return e?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function a(t,e,n){return yt(e)?Ct.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?Ct.grep(t,function(t){return t===e!==n}):"string"!=typeof e?Ct.grep(t,function(t){return dt.call(e,t)>-1!==n}):Ct.filter(e,t,n)}function l(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function c(t){var e={};return Ct.each(t.match(Ut)||[],function(t,n){e[n]=!0}),e}function u(t){return t}function d(t){throw t}function h(t,e,n,i){var s;try{t&&yt(s=t.promise)?s.call(t).done(e).fail(n):t&&yt(s=t.then)?s.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function p(){_t.removeEventListener("DOMContentLoaded",p),t.removeEventListener("load",p),Ct.ready()}function f(t,e){return e.toUpperCase()}function m(t){return t.replace(Bt,"ms-").replace(Gt,f)}function g(){this.expando=Ct.expando+g.uid++}function v(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Qt.test(t)?JSON.parse(t):t)}function y(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Vt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=v(n)}catch(t){}Kt.set(t,e,n)}else n=void 0;return n}function b(t,e,n,i){var s,r,o=20,a=i?function(){return i.cur()}:function(){return Ct.css(t,e,"")},l=a(),c=n&&n[3]||(Ct.cssNumber[e]?"":"px"),u=t.nodeType&&(Ct.cssNumber[e]||"px"!==c&&+l)&&Jt.exec(Ct.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;o--;)Ct.style(t,e,u+c),(1-r)*(1-(r=a()/l||.5))<=0&&(o=0),u/=r;u*=2,Ct.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,s=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=s)),s}function _(t){var e,n=t.ownerDocument,i=t.nodeName,s=re[i];return s||(e=n.body.appendChild(n.createElement(i)),s=Ct.css(e,"display"),e.parentNode.removeChild(e),"none"===s&&(s="block"),re[i]=s,s)}function w(t,e){for(var n,i,s=[],r=0,o=t.length;r<o;r++)(i=t[r]).style&&(n=i.style.display,e?("none"===n&&(s[r]=Xt.get(i,"display")||null,s[r]||(i.style.display="")),""===i.style.display&&se(i)&&(s[r]=_(i))):"none"!==n&&(s[r]="none",Xt.set(i,"display",n)));for(r=0;r<o;r++)null!=s[r]&&(t[r].style.display=s[r]);return t}function x(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&r(t,e)?Ct.merge([t],n):n}function $(t,e){for(var n=0,i=t.length;n<i;n++)Xt.set(t[n],"globalEval",!e||Xt.get(e[n],"globalEval"))}function C(t,e,n,s,r){for(var o,a,l,c,u,d,h=e.createDocumentFragment(),p=[],f=0,m=t.length;f<m;f++)if((o=t[f])||0===o)if("object"===i(o))Ct.merge(p,o.nodeType?[o]:o);else if(he.test(o)){for(a=a||h.appendChild(e.createElement("div")),l=(ce.exec(o)||["",""])[1].toLowerCase(),c=de[l]||de._default,a.innerHTML=c[1]+Ct.htmlPrefilter(o)+c[2],d=c[0];d--;)a=a.lastChild;Ct.merge(p,a.childNodes),(a=h.firstChild).textContent=""}else p.push(e.createTextNode(o));for(h.textContent="",f=0;o=p[f++];)if(s&&Ct.inArray(o,s)>-1)r&&r.push(o);else if(u=ne(o),a=x(h.appendChild(o),"script"),u&&$(a),n)for(d=0;o=a[d++];)ue.test(o.type||"")&&n.push(o);return h}function k(){return!0}function T(){return!1}function S(t,e,n,i,s,r){var o,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)S(t,a,n,i,e[a],r);return t}if(null==i&&null==s?(s=n,i=n=void 0):null==s&&("string"==typeof n?(s=i,i=void 0):(s=i,i=n,n=void 0)),!1===s)s=T;else if(!s)return t;return 1===r&&(o=s,s=function(t){return Ct().off(t),o.apply(this,arguments)},s.guid=o.guid||(o.guid=Ct.guid++)),t.each(function(){Ct.event.add(this,e,s,i,n)})}function A(t,e,n){n?(Xt.set(t,e,!1),Ct.event.add(t,e,{namespace:!1,handler:function(t){var n,i=Xt.get(this,e);if(1&t.isTrigger&&this[e]){if(i)(Ct.event.special[e]||{}).delegateType&&t.stopPropagation();else if(i=lt.call(arguments),Xt.set(this,e,i),this[e](),n=Xt.get(this,e),Xt.set(this,e,!1),i!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else i&&(Xt.set(this,e,Ct.event.trigger(i[0],i.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=k)}})):void 0===Xt.get(t,e)&&Ct.event.add(t,e,k)}function E(t,e){return r(t,"table")&&r(11!==e.nodeType?e:e.firstChild,"tr")&&Ct(t).children("tbody")[0]||t}function D(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function j(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function P(t,e){var n,i,s,r,o,a;if(1===e.nodeType){if(Xt.hasData(t)&&(a=Xt.get(t).events))for(s in Xt.remove(e,"handle events"),a)for(n=0,i=a[s].length;n<i;n++)Ct.event.add(e,s,a[s][n]);
vendor: 5,800 bytes, lines 1-2
1Kt.hasData(t)&&(r=Kt.access(t),o=Ct.extend({},r),Kt.set(e,o))}}function I(t,e){var n=e.nodeName.toLowerCase();"input"===n&&le.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function O(t,e,i,s){e=ct(e);var r,o,a,l,c,u,d=0,h=t.length,p=h-1,f=e[0],m=yt(f);if(m||h>1&&"string"==typeof f&&!vt.checkClone&&me.test(f))return t.each(function(n){var r=t.eq(n);m&&(e[0]=f.call(this,n,r.html())),O(r,e,i,s)});if(h&&(o=(r=C(e,t[0].ownerDocument,!1,t,s)).firstChild,1===r.childNodes.length&&(r=o),o||s)){for(l=(a=Ct.map(x(r,"script"),D)).length;d<h;d++)c=r,d!==p&&(c=Ct.clone(c,!0,!0),l&&Ct.merge(a,x(c,"script"))),i.call(t[d],c,d);if(l)for(u=a[a.length-1].ownerDocument,Ct.map(a,j),d=0;d<l;d++)c=a[d],ue.test(c.type||"")&&!Xt.access(c,"globalEval")&&Ct.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?Ct._evalUrl&&!c.noModule&&Ct._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):n(c.textContent.replace(ge,""),c,u))}return t}function N(t,e,n){for(var i,s=e?Ct.filter(e,t):t,r=0;null!=(i=s[r]);r++)n||1!==i.nodeType||Ct.cleanData(x(i)),i.parentNode&&(n&&ne(i)&&$(x(i,"script")),
2i.parentNode.removeChild(i));return t}function L(t,e,n){var i,s,r,o,a=ye.test(e),l=t.style;return(n=n||be(t))&&(o=n.getPropertyValue(e)||n[e],a&&o&&(o=o.replace(Et,"$1")||void 0),""!==o||ne(t)||(o=Ct.style(t,e)),!vt.pixelBoxStyles()&&ve.test(o)&&we.test(e)&&(i=l.width,s=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=n.width,l.width=i,l.minWidth=s,l.maxWidth=r)),void 0!==o?o+"":o}function q(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function R(t){for(var e=t[0].toUpperCase()+t.slice(1),n=xe.length;n--;)if((t=xe[n]+e)in $e)return t}function H(t){var e=Ct.cssProps[t]||Ce[t];return e||(t in $e?t:Ce[t]=R(t)||t)}function M(t,e,n){var i=Jt.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function U(t,e,n,i,s,r){var o="width"===e?1:0,a=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(c+=Ct.css(t,n+te[o],!0,s)),i?("content"===n&&(l-=Ct.css(t,"padding"+te[o],!0,s)),"margin"!==n&&(l-=Ct.css(t,"border"+te[o]+"Width",!0,s))):(l+=Ct.css(t,"padding"+te[o],!0,s),"padding"!==n?l+=Ct.css(t,"border"+te[o]+"Width",!0,s):a+=Ct.css(t,"border"+te[o]+"Width",!0,s));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l+c}function F(t,e,n){var i=be(t),s=(!vt.boxSizingReliable()||n)&&"border-box"===Ct.css(t,"boxSizing",!1,i),o=s,a=L(t,e,i),l="offset"+e[0].toUpperCase()+e.slice(1);if(ve.test(a)){if(!n)return a;a="auto"}return(!vt.boxSizingReliable()&&s||!vt.reliableTrDimensions()&&r(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===Ct.css(t,"display",!1,i))&&t.getClientRects().length&&(s="border-box"===Ct.css(t,"boxSizing",!1,i),(o=l in t)&&(a=t[l])),(a=parseFloat(a)||0)+U(t,e,n||(s?"border":"content"),o,i,a)+"px"}function W(t,e,n,i,s){return new W.prototype.init(t,e,n,i,s)}function z(){Ee&&(!1===_t.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(z):t.setTimeout(z,Ct.fx.interval),Ct.fx.tick())}function B(){return t.setTimeout(function(){Ae=void 0}),Ae=Date.now()}function G(t,e){var n,i=0,s={height:t};for(e=e?1:0;i<4;i+=2-e)s["margin"+(n=te[i])]=s["padding"+n]=t;return e&&(s.opacity=s.width=t),s}function Y(t,e,n){for(var i,s=(Q.tweeners[e]||[]).concat(Q.tweeners["*"]),r=0,o=s.length;r<o;r++)if(i=s[r].call(n,e,t))return i}function X(t,e,n){var i,s,r,o,a,l,c,u,d="width"in e||"height"in e,h=this,p={},f=t.style,m=t.nodeType&&se(t),g=Xt.get(t,"fxshow");for(i in n.queue||(null==(o=Ct._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,h.always(function(){h.always(function(){o.unqueued--,Ct.queue(t,"fx").length||o.empty.fire()})})),e)if(s=e[i],De.test(s)){if(delete e[i],r=r||"toggle"===s,s===(m?"hide":"show")){if("show"!==s||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||Ct.style(t,i)}if((l=!Ct.isEmptyObject(e))||!Ct.isEmptyObject(p))for(i in d&&1===t.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=Xt.get(t,"display")),"none"===(u=Ct.css(t,"display"))&&(c?u=c:(w([t],!0),c=t.style.display||c,u=Ct.css(t,"display"),w([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===Ct.css(t,"float")&&(l||(h.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=Xt.access(t,"fxshow",{display:c}),r&&(g.hidden=!m),m&&w([t],!0),h.done(function(){for(i in m||w([t]),Xt.remove(t,"fxshow"),p)Ct.style(t,i,p[i])})),l=Y(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}function K(t,e){var n,i,s,r,o;for(n in t)if(s=e[i=m(n)],r=t[n],Array.isArray(r)&&(s=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),(o=Ct.cssHooks[i])&&"expand"in o)for(n in r=o.expand(r),delete t[i],r)n in t||(t[n]=r[n],e[n]=s);else e[i]=s}function Q(t,e,n){var i,s,r=0,o=Q.prefilters.length,a=Ct.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=Ae||B(),n=Math.max(0,c.startTime+c.duration-e),i=1-(n/c.duration||0),r=0,o=c.tweens.length;r<o;r++)c.tweens[r].run(i);return a.notifyWith(t,[c,i,n]),i<1&&o?n:(o||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:Ct.extend({},e),opts:Ct.extend(!0,{specialEasing:{},easing:Ct.easing._default},n),originalProperties:e,originalOptions:n,startTime:Ae||B(),duration:n.duration,tweens:[],createTween:function(e,n){var i=Ct.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(s)return this;for(s=!0;n<i;n++)c.tweens[n].run(1);
vendor: 4,655 bytes, line 2
2return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),u=c.props;for(K(u,c.opts.specialEasing);r<o;r++)if(i=Q.prefilters[r].call(c,t,u,c.opts))return yt(i.stop)&&(Ct._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return Ct.map(u,Y,c),yt(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),Ct.fx.timer(Ct.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}function V(t){return(t.match(Ut)||[]).join(" ")}function Z(t){return t.getAttribute&&t.getAttribute("class")||""}function J(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Ut)||[]}function tt(t,e,n,s){var r;if(Array.isArray(e))Ct.each(e,function(e,i){n||Fe.test(t)?s(t,i):tt(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,s)});else if(n||"object"!==i(e))s(t,e);else for(r in e)tt(t+"["+r+"]",e[r],n,s)}function et(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,s=0,r=e.toLowerCase().match(Ut)||[];if(yt(n))for(;i=r[s++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function nt(t,e,n,i){function s(a){var l;return r[a]=!0,Ct.each(t[a]||[],function(t,a){var c=a(e,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)}),l}var r={},o=t===tn;return s(e.dataTypes[0])||!r["*"]&&s("*")}function it(t,e){var n,i,s=Ct.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((s[n]?t:i||(i={}))[n]=e[n]);return i&&Ct.extend(!0,t,i),t}function st(t,e,n){for(var i,s,r,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(s in a)if(a[s]&&a[s].test(i)){l.unshift(s);break}if(l[0]in n)r=l[0];else{for(s in n){if(!l[0]||t.converters[s+" "+l[0]]){r=s;break}o||(o=s)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),n[r]}function rt(t,e,n,i){var s,r,o,a,l,c={},u=t.dataTypes.slice();if(u[1])for(o in t.converters)c[o.toLowerCase()]=t.converters[o];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=c[l+" "+r]||c["* "+r]))for(s in c)if((a=s.split(" "))[1]===r&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[s]:!0!==c[s]&&(r=a[0],u.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}var ot=[],at=Object.getPrototypeOf,lt=ot.slice,ct=ot.flat?function(t){return ot.flat.call(t)}:function(t){return ot.concat.apply([],t)},ut=ot.push,dt=ot.indexOf,ht={},pt=ht.toString,ft=ht.hasOwnProperty,mt=ft.toString,gt=mt.call(Object),vt={},yt=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},bt=function(t){return null!=t&&t===t.window},_t=t.document,wt={type:!0,src:!0,nonce:!0,noModule:!0},xt="3.7.1",$t=/HTML$/i,Ct=function(t,e){return new Ct.fn.init(t,e)};Ct.fn=Ct.prototype={jquery:xt,constructor:Ct,length:0,toArray:function(){return lt.call(this)},get:function(t){return null==t?lt.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=Ct.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return Ct.each(this,t)},map:function(t){return this.pushStack(Ct.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(lt.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Ct.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(Ct.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ut,sort:ot.sort,splice:ot.splice},Ct.extend=Ct.fn.extend=function(){var t,e,n,i,s,r,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[a]||{},a++),"object"==typeof o||yt(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&o!==i&&(c&&i&&(Ct.isPlainObject(i)||(s=Array.isArray(i)))?(n=o[e],r=s&&!Array.isArray(n)?[]:s||Ct.isPlainObject(n)?n:{},s=!1,o[e]=Ct.extend(c,r,i)):void 0!==i&&(o[e]=i));return o},Ct.extend({expando:"jQuery"+(xt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==pt.call(t))&&(!(e=at(t))||"function"==typeof(n=ft.call(e,"constructor")&&e.constructor)&&mt.call(n)===gt)},isEmptyObject:function(t){var e;
vendor: 6,034 bytes, line 2
2for(e in t)return!1;return!0},globalEval:function(t,e,i){n(t,{nonce:e&&e.nonce},i)},each:function(t,e){var n,i=0;if(s(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},text:function(t){var e,n="",i=0,s=t.nodeType;if(!s)for(;e=t[i++];)n+=Ct.text(e);return 1===s||11===s?t.textContent:9===s?t.documentElement.textContent:3===s||4===s?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(s(Object(t))?Ct.merge(n,"string"==typeof t?[t]:t):ut.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:dt.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!$t.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,i=0,s=t.length;i<n;i++)t[s++]=e[i];return t.length=s,t},grep:function(t,e,n){for(var i=[],s=0,r=t.length,o=!n;s<r;s++)!e(t[s],s)!==o&&i.push(t[s]);return i},map:function(t,e,n){var i,r,o=0,a=[];if(s(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&a.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&a.push(r);return ct(a)},guid:1,support:vt}),"function"==typeof Symbol&&(Ct.fn[Symbol.iterator]=ot[Symbol.iterator]),Ct.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){ht["[object "+e+"]"]=e.toLowerCase()});var kt=ot.pop,Tt=ot.sort,St=ot.splice,At="[\\x20\\t\\r\\n\\f]",Et=new RegExp("^"+At+"+|((?:^|[^\\\\])(?:\\\\.)*)"+At+"+$","g");Ct.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var Dt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;Ct.escapeSelector=function(t){return(t+"").replace(Dt,o)};var jt=_t,Pt=ut;!function(){function e(){try{return D.activeElement}catch(t){}}function n(t,e,i,s){var r,o,a,l,c,u,p,g=e&&e.ownerDocument,v=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==v&&9!==v&&11!==v)return i;if(!s&&(h(e),e=e||D,P)){if(11!==v&&(c=it.exec(t)))if(r=c[1]){if(9===v){if(!(a=e.getElementById(r)))return i;if(a.id===r)return N.call(i,a),i}else if(g&&(a=g.getElementById(r))&&n.contains(e,a)&&a.id===r)return N.call(i,a),i}else{if(c[2])return N.apply(i,e.getElementsByTagName(t)),i;if((r=c[3])&&e.getElementsByClassName)return N.apply(i,e.getElementsByClassName(r)),i}if(!(F[t+" "]||I&&I.test(t))){if(p=t,g=e,1===v&&(V.test(t)||Q.test(t))){for((g=st.test(t)&&d(e.parentNode)||e)==e&&vt.scope||((l=e.getAttribute("id"))?l=Ct.escapeSelector(l):e.setAttribute("id",l=L)),o=(u=f(t)).length;o--;)u[o]=(l?"#"+l:":scope")+" "+m(u[o]);p=u.join(",")}try{return N.apply(i,g.querySelectorAll(p)),i}catch(e){F(t,!0)}finally{l===L&&e.removeAttribute("id")}}}return C(t.replace(Et,"$1"),e,i,s)}function i(){function t(n,i){return e.push(n+" ")>T.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function s(t){return t[L]=!0,t}function o(t){var e=D.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t){return function(e){return r(e,"input")&&e.type===t}}function l(t){return function(e){return(r(e,"input")||r(e,"button"))&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ut(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return s(function(e){return e=+e,s(function(n,i){for(var s,r=t([],n.length,e),o=r.length;o--;)n[s=r[o]]&&(n[s]=!(i[s]=n[s]))})})}function d(t){return t&&void 0!==t.getElementsByTagName&&t}function h(t){var e,i=t?t.ownerDocument||t:jt;return i!=D&&9===i.nodeType&&i.documentElement?(j=(D=i).documentElement,P=!Ct.isXMLDoc(D),O=j.matches||j.webkitMatchesSelector||j.msMatchesSelector,j.msMatchesSelector&&jt!=D&&(e=D.defaultView)&&e.top!==e&&e.addEventListener("unload",ct),vt.getById=o(function(t){return j.appendChild(t).id=Ct.expando,!D.getElementsByName||!D.getElementsByName(Ct.expando).length}),vt.disconnectedMatch=o(function(t){return O.call(t,"*")}),vt.scope=o(function(){return D.querySelectorAll(":scope")}),vt.cssHas=o(function(){try{return D.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}}),vt.getById?(T.filter.ID=function(t){var e=t.replace(rt,at);return function(t){return t.getAttribute("id")===e}},T.find.ID=function(t,e){if(void 0!==e.getElementById&&P){var n=e.getElementById(t);return n?[n]:[]}}):(T.filter.ID=function(t){var e=t.replace(rt,at);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},T.find.ID=function(t,e){if(void 0!==e.getElementById&&P){var n,i,s,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(s=e.getElementsByName(t),i=0;r=s[i++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),T.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},T.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&P)return e.getElementsByClassName(t)},I=[],o(function(t){var e;j.appendChild(t).innerHTML="<a id='"+L+"' href='' disabled='disabled'></a><select id='"+L+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||I.push("\\["+At+"*(?:value|"+z+")"),t.querySelectorAll("[id~="+L+"-]").length||I.push("~="),t.querySelectorAll("a#"+L+"+*").length||I.push(".#.+[+~]"),t.querySelectorAll(":checked").length||I.push(":checked"),(e=D.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),j.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&I.push(":enabled",":disabled"),(e=D.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||I.push("\\["+At+"*name"+At+"*="+At+"*(?:''|\"\")")}),vt.cssHas||I.push(":has"),I=I.length&&new RegExp(I.join("|")),W=function(t,e){if(t===e)return E=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;
vendor: 5,748 bytes, line 2
2return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!vt.sortDetached&&e.compareDocumentPosition(t)===i?t===D||t.ownerDocument==jt&&n.contains(jt,t)?-1:e===D||e.ownerDocument==jt&&n.contains(jt,e)?1:A?dt.call(A,t)-dt.call(A,e):0:4&i?-1:1)},D):D}function p(){}function f(t,e){var i,s,r,o,a,l,c,u=M[t+" "];if(u)return e?0:u.slice(0);for(a=t,l=[],c=T.preFilter;a;){for(o in i&&!(s=K.exec(a))||(s&&(a=a.slice(s[0].length)||a),l.push(r=[])),i=!1,(s=Q.exec(a))&&(i=s.shift(),r.push({value:i,type:s[0].replace(Et," ")}),a=a.slice(i.length)),T.filter)!(s=tt[o].exec(a))||c[o]&&!(s=c[o](s))||(i=s.shift(),r.push({value:i,type:o,matches:s}),a=a.slice(i.length));if(!i)break}return e?a.length:a?n.error(t):M(t,l).slice(0)}function m(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function g(t,e,n){var i=e.dir,s=e.next,o=s||i,a=n&&"parentNode"===o,l=R++;return e.first?function(e,n,s){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,s);return!1}:function(e,n,c){var u,d,h=[q,l];if(c){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,c))return!0}else for(;e=e[i];)if(1===e.nodeType||a)if(d=e[L]||(e[L]={}),s&&r(e,s))e=e[i]||e;else{if((u=d[o])&&u[0]===q&&u[1]===l)return h[2]=u[2];if(d[o]=h,h[2]=t(e,n,c))return!0}return!1}}function v(t){return t.length>1?function(e,n,i){for(var s=t.length;s--;)if(!t[s](e,n,i))return!1;return!0}:t[0]}function y(t,e,i){for(var s=0,r=e.length;s<r;s++)n(t,e[s],i);return i}function b(t,e,n,i,s){for(var r,o=[],a=0,l=t.length,c=null!=e;a<l;a++)(r=t[a])&&(n&&!n(r,i,s)||(o.push(r),c&&e.push(a)));return o}function _(t,e,n,i,r,o){return i&&!i[L]&&(i=_(i)),r&&!r[L]&&(r=_(r,o)),s(function(s,o,a,l){var c,u,d,h,p=[],f=[],m=o.length,g=s||y(e||"*",a.nodeType?[a]:a,[]),v=!t||!s&&e?g:b(g,p,t,a,l);if(n?n(v,h=r||(s?t:m||i)?[]:o,a,l):h=v,i)for(c=b(h,f),i(c,[],a,l),u=c.length;u--;)(d=c[u])&&(h[f[u]]=!(v[f[u]]=d));if(s){if(r||t){if(r){for(c=[],u=h.length;u--;)(d=h[u])&&c.push(v[u]=d);r(null,h=[],c,l)}for(u=h.length;u--;)(d=h[u])&&(c=r?dt.call(s,d):p[u])>-1&&(s[c]=!(o[c]=d))}}else h=b(h===o?h.splice(m,h.length):h),r?r(null,o,h,l):N.apply(o,h)})}function w(t){for(var e,n,i,s=t.length,r=T.relative[t[0].type],o=r||T.relative[" "],a=r?1:0,l=g(function(t){return t===e},o,!0),c=g(function(t){return dt.call(e,t)>-1},o,!0),u=[function(t,n,i){var s=!r&&(i||n!=S)||((e=n).nodeType?l(t,n,i):c(t,n,i));return e=null,s}];a<s;a++)if(n=T.relative[t[a].type])u=[g(v(u),n)];else{if((n=T.filter[t[a].type].apply(null,t[a].matches))[L]){for(i=++a;i<s&&!T.relative[t[i].type];i++);return _(a>1&&v(u),a>1&&m(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(Et,"$1"),n,a<i&&w(t.slice(a,i)),i<s&&w(t=t.slice(i)),i<s&&m(t))}u.push(n)}return v(u)}function x(t,e){var n=e.length>0,i=t.length>0,r=function(s,r,o,a,l){var c,u,d,p=0,f="0",m=s&&[],g=[],v=S,y=s||i&&T.find.TAG("*",l),_=q+=null==v?1:Math.random()||.1,w=y.length;for(l&&(S=r==D||r||l);f!==w&&null!=(c=y[f]);f++){if(i&&c){for(u=0,r||c.ownerDocument==D||(h(c),o=!P);d=t[u++];)if(d(c,r||D,o)){N.call(a,c);break}l&&(q=_)}n&&((c=!d&&c)&&p--,s&&m.push(c))}if(p+=f,n&&f!==p){for(u=0;d=e[u++];)d(m,g,r,o);if(s){if(p>0)for(;f--;)m[f]||g[f]||(g[f]=kt.call(a));g=b(g)}N.apply(a,g),l&&!s&&g.length>0&&p+e.length>1&&Ct.uniqueSort(a)}return l&&(q=_,S=v),m};return n?s(r):r}function $(t,e){var n,i=[],s=[],r=U[t+" "];if(!r){for(e||(e=f(t)),n=e.length;n--;)(r=w(e[n]))[L]?i.push(r):s.push(r);(r=U(t,x(s,i))).selector=t}return r}function C(t,e,n,i){var s,r,o,a,l,c="function"==typeof t&&t,u=!i&&f(t=c.selector||t);if(n=n||[],1===u.length){if((r=u[0]=u[0].slice(0)).length>2&&"ID"===(o=r[0]).type&&9===e.nodeType&&P&&T.relative[r[1].type]){if(!(e=(T.find.ID(o.matches[0].replace(rt,at),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(s=tt.needsContext.test(t)?0:r.length;s--&&(o=r[s],!T.relative[a=o.type]);)if((l=T.find[a])&&(i=l(o.matches[0].replace(rt,at),st.test(r[0].type)&&d(e.parentNode)||e))){if(r.splice(s,1),!(t=i.length&&m(r)))return N.apply(n,i),n;break}}return(c||$(t,u))(i,e,!P,n,!e||st.test(t)&&d(e.parentNode)||e),n}var k,T,S,A,E,D,j,P,I,O,N=Pt,L=Ct.expando,q=0,R=0,H=i(),M=i(),U=i(),F=i(),W=function(t,e){return t===e&&(E=!0),0},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="(?:\\\\[\\da-fA-F]{1,6}"+At+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",G="\\["+At+"*("+B+")(?:"+At+"*([*^$|!~]?=)"+At+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+At+"*\\]",Y=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+G+")*)|.*)\\)|)",X=new RegExp(At+"+","g"),K=new RegExp("^"+At+"*,"+At+"*"),Q=new RegExp("^"+At+"*([>+~]|"+At+")"+At+"*"),V=new RegExp(At+"|>"),Z=new RegExp(Y),J=new RegExp("^"+B+"$"),tt={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+G),PSEUDO:new RegExp("^"+Y),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+At+"*(even|odd|(([+-]|)(\\d*)n|)"+At+"*(?:([+-]|)"+At+"*(\\d+)|))"+At+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+At+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+At+"*((?:-\\d)?\\d*)"+At+"*\\)|)(?=[^-]|$)","i")},et=/^(?:input|select|textarea|button)$/i,nt=/^h\d$/i,it=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,st=/[+~]/,rt=new RegExp("\\\\[\\da-fA-F]{1,6}"+At+"?|\\\\([^\\r\\n\\f])","g"),at=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ct=function(){h()},ut=g(function(t){return!0===t.disabled&&r(t,"fieldset")},{dir:"parentNode",next:"legend"});try{N.apply(ot=lt.call(jt.childNodes),jt.childNodes),ot[jt.childNodes.length].nodeType}
vendor: 4,822 bytes, line 2
2catch(t){N={apply:function(t,e){Pt.apply(t,lt.call(e))},call:function(t){Pt.apply(t,lt.call(arguments,1))}}}for(k in n.matches=function(t,e){return n(t,null,null,e)},n.matchesSelector=function(t,e){if(h(t),P&&!F[e+" "]&&(!I||!I.test(e)))try{var i=O.call(t,e);if(i||vt.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){F(e,!0)}return n(e,D,null,[t]).length>0},n.contains=function(t,e){return(t.ownerDocument||t)!=D&&h(t),Ct.contains(t,e)},n.attr=function(t,e){(t.ownerDocument||t)!=D&&h(t);var n=T.attrHandle[e.toLowerCase()],i=n&&ft.call(T.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0!==i?i:t.getAttribute(e)},n.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},Ct.uniqueSort=function(t){var e,n=[],i=0,s=0;if(E=!vt.sortStable,A=!vt.sortStable&&lt.call(t,0),Tt.call(t,W),E){for(;e=t[s++];)e===t[s]&&(i=n.push(s));for(;i--;)St.call(t,n[i],1)}return A=null,t},Ct.fn.uniqueSort=function(){return this.pushStack(Ct.uniqueSort(lt.apply(this)))},T=Ct.expr={cacheLength:50,createPseudo:s,match:tt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(rt,at),t[3]=(t[3]||t[4]||t[5]||"").replace(rt,at),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||n.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&n.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return tt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Z.test(n)&&(e=f(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(rt,at).toLowerCase();return"*"===t?function(){return!0}:function(t){return r(t,e)}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+At+")"+t+"("+At+"|$)"))&&H(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(s){var r=n.attr(s,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.slice(-i.length)===i:"~="===e?(" "+r.replace(X," ")+" ").indexOf(i)>-1:"|="===e&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,s){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),l="of-type"===e;return 1===i&&0===s?function(t){return!!t.parentNode}:function(e,n,c){var u,d,h,p,f,m=o!==a?"nextSibling":"previousSibling",g=e.parentNode,v=l&&e.nodeName.toLowerCase(),y=!c&&!l,b=!1;if(g){if(o){for(;m;){for(h=e;h=h[m];)if(l?r(h,v):1===h.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[a?g.firstChild:g.lastChild],a&&y){for(b=(p=(u=(d=g[L]||(g[L]={}))[t]||[])[0]===q&&u[1])&&u[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(b=p=0)||f.pop();)if(1===h.nodeType&&++b&&h===e){d[t]=[q,p,b];break}}else if(y&&(b=p=(u=(d=e[L]||(e[L]={}))[t]||[])[0]===q&&u[1]),!1===b)for(;(h=++p&&h&&h[m]||(b=p=0)||f.pop())&&(!(l?r(h,v):1===h.nodeType)||!++b||(y&&((d=h[L]||(h[L]={}))[t]=[q,b]),h!==e)););return(b-=s)===i||b%i===0&&b/i>=0}}},PSEUDO:function(t,e){var i,r=T.pseudos[t]||T.setFilters[t.toLowerCase()]||n.error("unsupported pseudo: "+t);return r[L]?r(e):r.length>1?(i=[t,t,"",e],T.setFilters.hasOwnProperty(t.toLowerCase())?s(function(t,n){for(var i,s=r(t,e),o=s.length;o--;)t[i=dt.call(t,s[o])]=!(n[i]=s[o])}):function(t){return r(t,0,i)}):r}},pseudos:{not:s(function(t){var e=[],n=[],i=$(t.replace(Et,"$1"));return i[L]?s(function(t,e,n,s){for(var r,o=i(t,null,s,[]),a=t.length;a--;)(r=o[a])&&(t[a]=!(e[a]=r))}):function(t,s,r){return e[0]=t,i(e,null,r,n),e[0]=null,!n.pop()}}),has:s(function(t){return function(e){return n(t,e).length>0}}),contains:s(function(t){return t=t.replace(rt,at),function(e){return(e.textContent||Ct.text(e)).indexOf(t)>-1}}),lang:s(function(t){return J.test(t||"")||n.error("unsupported lang: "+t),t=t.replace(rt,at).toLowerCase(),function(e){var n;do{if(n=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===j},focus:function(t){return t===e()&&D.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(t){return r(t,"input")&&!!t.checked||r(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!T.pseudos.empty(t)}
vendor: 6,166 bytes, line 2
2,header:function(t){return nt.test(t.nodeName)},input:function(t){return et.test(t.nodeName)},button:function(t){return r(t,"input")&&"button"===t.type||r(t,"button")},text:function(t){var e;return r(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[n<0?n+e:n]}),even:u(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:u(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:u(function(t,e,n){var i;for(i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t}),gt:u(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},T.pseudos.nth=T.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[k]=a(k);for(k in{submit:!0,reset:!0})T.pseudos[k]=l(k);p.prototype=T.filters=T.pseudos,T.setFilters=new p,vt.sortStable=L.split("").sort(W).join("")===L,h(),vt.sortDetached=o(function(t){return 1&t.compareDocumentPosition(D.createElement("fieldset"))}),Ct.find=n,Ct.expr[":"]=Ct.expr.pseudos,Ct.unique=Ct.uniqueSort,n.compile=$,n.select=C,n.setDocument=h,n.tokenize=f,n.escape=Ct.escapeSelector,n.getText=Ct.text,n.isXML=Ct.isXMLDoc,n.selectors=Ct.expr,n.support=Ct.support,n.uniqueSort=Ct.uniqueSort}();var It=function(t,e,n){for(var i=[],s=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&Ct(t).is(n))break;i.push(t)}return i},Ot=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},Nt=Ct.expr.match.needsContext,Lt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ct.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?Ct.find.matchesSelector(i,t)?[i]:[]:Ct.find.matches(t,Ct.grep(e,function(t){return 1===t.nodeType}))},Ct.fn.extend({find:function(t){var e,n,i=this.length,s=this;if("string"!=typeof t)return this.pushStack(Ct(t).filter(function(){for(e=0;e<i;e++)if(Ct.contains(s[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)Ct.find(t,s[e],n);return i>1?Ct.uniqueSort(n):n},filter:function(t){return this.pushStack(a(this,t||[],!1))},not:function(t){return this.pushStack(a(this,t||[],!0))},is:function(t){return!!a(this,"string"==typeof t&&Nt.test(t)?Ct(t):t||[],!1).length}});var qt,Rt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Ct.fn.init=function(t,e,n){var i,s;if(!t)return this;if(n=n||qt,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Rt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof Ct?e[0]:e,Ct.merge(this,Ct.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:_t,!0)),Lt.test(i[1])&&Ct.isPlainObject(e))for(i in e)yt(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(s=_t.getElementById(i[2]))&&(this[0]=s,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):yt(t)?void 0!==n.ready?n.ready(t):t(Ct):Ct.makeArray(t,this)}).prototype=Ct.fn,qt=Ct(_t);var Ht=/^(?:parents|prev(?:Until|All))/,Mt={children:!0,contents:!0,next:!0,prev:!0};Ct.fn.extend({has:function(t){var e=Ct(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(Ct.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,s=this.length,r=[],o="string"!=typeof t&&Ct(t);if(!Nt.test(t))for(;i<s;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&Ct.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?Ct.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?dt.call(Ct(t),this[0]):dt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Ct.uniqueSort(Ct.merge(this.get(),Ct(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Ct.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return It(t,"parentNode")},parentsUntil:function(t,e,n){return It(t,"parentNode",n)},next:function(t){return l(t,"nextSibling")},prev:function(t){return l(t,"previousSibling")},nextAll:function(t){return It(t,"nextSibling")},prevAll:function(t){return It(t,"previousSibling")},nextUntil:function(t,e,n){return It(t,"nextSibling",n)},prevUntil:function(t,e,n){return It(t,"previousSibling",n)},siblings:function(t){return Ot((t.parentNode||{}).firstChild,t)},children:function(t){return Ot(t.firstChild)},contents:function(t){return null!=t.contentDocument&&at(t.contentDocument)?t.contentDocument:(r(t,"template")&&(t=t.content||t),Ct.merge([],t.childNodes))}},function(t,e){Ct.fn[t]=function(n,i){var s=Ct.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(s=Ct.filter(i,s)),this.length>1&&(Mt[t]||Ct.uniqueSort(s),Ht.test(t)&&s.reverse()),this.pushStack(s)}});var Ut=/[^\x20\t\r\n\f]+/g;Ct.Callbacks=function(t){t="string"==typeof t?c(t):Ct.extend({},t);var e,n,s,r,o=[],a=[],l=-1,u=function(){for(r=r||t.once,s=e=!0;a.length;l=-1)for(n=a.shift();++l<o.length;)!1===o[l].apply(n[0],n[1])&&t.stopOnFalse&&(l=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},d={add:function(){return o&&(n&&!e&&(l=o.length-1,a.push(n)),function e(n){Ct.each(n,function(n,s){yt(s)?t.unique&&d.has(s)||o.push(s):s&&s.length&&"string"!==i(s)&&e(s)})}(arguments),n&&!e&&u()),this},remove:function(){return Ct.each(arguments,function(t,e){for(var n;(n=Ct.inArray(e,o,n))>-1;)o.splice(n,1),n<=l&&l--}),this},has:function(t){return t?Ct.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!s}};return d},Ct.extend({Deferred:function(e){var n=[["notify","progress",Ct.Callbacks("memory"),Ct.Callbacks("memory"),2],["resolve","done",Ct.Callbacks("once memory"),Ct.Callbacks("once memory"),0,"resolved"],["reject","fail",Ct.Callbacks("once memory"),Ct.Callbacks("once memory"),1,"rejected"]],i="pe
vendor: 3,896 bytes, lines 2-3
2nding",s={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return s.then(null,t)},pipe:function(){var t=arguments;return Ct.Deferred(function(e){Ct.each(n,function(n,i){var s=yt(t[i[4]])&&t[i[4]];r[i[1]](function(){var t=s&&s.apply(this,arguments);t&&yt(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[i[0]+"With"](this,s?[t]:arguments)})}),t=null}).promise()},then:function(e,i,s){function r(e,n,i,s){return function(){var a=this,l=arguments,c=function(){var t,c;if(!(e<o)){if((t=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution")
3;c=t&&("object"==typeof t||"function"==typeof t)&&t.then,yt(c)?s?c.call(t,r(o,n,u,s),r(o,n,d,s)):(o++,c.call(t,r(o,n,u,s),r(o,n,d,s),r(o,n,u,n.notifyWith))):(i!==u&&(a=void 0,l=[t]),(s||n.resolveWith)(a,l))}},h=s?c:function(){try{c()}catch(t){Ct.Deferred.exceptionHook&&Ct.Deferred.exceptionHook(t,h.error),e+1>=o&&(i!==d&&(a=void 0,l=[t]),n.rejectWith(a,l))}};e?h():(Ct.Deferred.getErrorHook?h.error=Ct.Deferred.getErrorHook():Ct.Deferred.getStackHook&&(h.error=Ct.Deferred.getStackHook()),t.setTimeout(h))}}var o=0;return Ct.Deferred(function(t){n[0][3].add(r(0,t,yt(s)?s:u,t.notifyWith)),n[1][3].add(r(0,t,yt(e)?e:u)),n[2][3].add(r(0,t,yt(i)?i:d))}).promise()},promise:function(t){return null!=t?Ct.extend(t,s):s}},r={};return Ct.each(n,function(t,e){var o=e[2],a=e[5];s[e[1]]=o.add,a&&o.add(function(){i=a},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),o.add(e[3].fire),r[e[0]]=function(){return r[e[0]+"With"](this===r?void 0:this,arguments),this},r[e[0]+"With"]=o.fireWith}),s.promise(r),e&&e.call(r,r),r},when:function(t){var e=arguments.length,n=e,i=Array(n),s=lt.call(arguments),r=Ct.Deferred(),o=function(t){return function(n){i[t]=this,s[t]=arguments.length>1?lt.call(arguments):n,--e||r.resolveWith(i,s)}};if(e<=1&&(h(t,r.done(o(n)).resolve,r.reject,!e),"pending"===r.state()||yt(s[n]&&s[n].then)))return r.then();for(;n--;)h(s[n],o(n),r.reject);return r.promise()}});var Ft=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ct.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&Ft.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},Ct.readyException=function(e){t.setTimeout(function(){throw e})};var Wt=Ct.Deferred();Ct.fn.ready=function(t){return Wt.then(t).catch(function(t){Ct.readyException(t)}),this},Ct.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--Ct.readyWait:Ct.isReady)||(Ct.isReady=!0,!0!==t&&--Ct.readyWait>0||Wt.resolveWith(_t,[Ct]))}}),Ct.ready.then=Wt.then,"complete"===_t.readyState||"loading"!==_t.readyState&&!_t.documentElement.doScroll?t.setTimeout(Ct.ready):(_t.addEventListener("DOMContentLoaded",p),t.addEventListener("load",p));var zt=function(t,e,n,s,r,o,a){var l=0,c=t.length,u=null==n;if("object"===i(n))for(l in r=!0,n)zt(t,e,l,n[l],!0,o,a);else if(void 0!==s&&(r=!0,yt(s)||(a=!0),u&&(a?(e.call(t,s),e=null):(u=e,e=function(t,e,n){return u.call(Ct(t),n)})),e))for(;l<c;l++)e(t[l],n,a?s:s.call(t[l],l,e(t[l],n)));return r?t:u?e.call(t):c?e(t[0],n):o},Bt=/^-ms-/,Gt=/-([a-z])/g,Yt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};g.uid=1,g.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Yt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,s=this.cache(t);if("string"==typeof e)s[m(e)]=n;else for(i in e)s[m(i)]=e[i];return s},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][m(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(m):(e=m(e))in i?[e]:e.match(Ut)||[]).length;for(;n--;)delete i[e[n]]}
vendor: 5,230 bytes, line 3
3(void 0===e||Ct.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!Ct.isEmptyObject(e)}};var Xt=new g,Kt=new g,Qt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Vt=/[A-Z]/g;Ct.extend({hasData:function(t){return Kt.hasData(t)||Xt.hasData(t)},data:function(t,e,n){return Kt.access(t,e,n)},removeData:function(t,e){Kt.remove(t,e)},_data:function(t,e,n){return Xt.access(t,e,n)},_removeData:function(t,e){Xt.remove(t,e)}}),Ct.fn.extend({data:function(t,e){var n,i,s,r=this[0],o=r&&r.attributes;if(void 0===t){if(this.length&&(s=Kt.get(r),1===r.nodeType&&!Xt.get(r,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(i=o[n].name).indexOf("data-")&&(i=m(i.slice(5)),y(r,i,s[i]));Xt.set(r,"hasDataAttrs",!0)}return s}return"object"==typeof t?this.each(function(){Kt.set(this,t)}):zt(this,function(e){var n;if(r&&void 0===e)return void 0!==(n=Kt.get(r,t))||void 0!==(n=y(r,t))?n:void 0;this.each(function(){Kt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Kt.remove(this,t)})}}),Ct.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Xt.get(t,e),n&&(!i||Array.isArray(n)?i=Xt.access(t,e,Ct.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=Ct.queue(t,e),i=n.length,s=n.shift(),r=Ct._queueHooks(t,e),o=function(){Ct.dequeue(t,e)};"inprogress"===s&&(s=n.shift(),i--),s&&("fx"===e&&n.unshift("inprogress"),delete r.stop,s.call(t,o,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Xt.get(t,n)||Xt.access(t,n,{empty:Ct.Callbacks("once memory").add(function(){Xt.remove(t,[e+"queue",n])})})}}),Ct.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?Ct.queue(this[0],t):void 0===e?this:this.each(function(){var n=Ct.queue(this,t,e);Ct._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&Ct.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Ct.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,s=Ct.Deferred(),r=this,o=this.length,a=function(){--i||s.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(n=Xt.get(r[o],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),s.promise(e)}});var Zt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Jt=new RegExp("^(?:([+-])=|)("+Zt+")([a-z%]*)$","i"),te=["Top","Right","Bottom","Left"],ee=_t.documentElement,ne=function(t){return Ct.contains(t.ownerDocument,t)},ie={composed:!0};ee.getRootNode&&(ne=function(t){return Ct.contains(t.ownerDocument,t)||t.getRootNode(ie)===t.ownerDocument});var se=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&ne(t)&&"none"===Ct.css(t,"display")},re={};Ct.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){se(this)?Ct(this).show():Ct(this).hide()})}});var oe,ae,le=/^(?:checkbox|radio)$/i,ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ue=/^$|^module$|\/(?:java|ecma)script/i;oe=_t.createDocumentFragment().appendChild(_t.createElement("div")),(ae=_t.createElement("input")).setAttribute("type","radio"),ae.setAttribute("checked","checked"),ae.setAttribute("name","t"),oe.appendChild(ae),vt.checkClone=oe.cloneNode(!0).cloneNode(!0).lastChild.checked,oe.innerHTML="<textarea>x</textarea>",vt.noCloneChecked=!!oe.cloneNode(!0).lastChild.defaultValue,oe.innerHTML="<option></option>",vt.option=!!oe.lastChild;var de={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};de.tbody=de.tfoot=de.colgroup=de.caption=de.thead,de.th=de.td,vt.option||(de.optgroup=de.option=[1,"<select multiple='multiple'>","</select>"]);var he=/<|&#?\w+;/,pe=/^([^.]*)(?:\.(.+)|)/;Ct.event={global:{},add:function(t,e,n,i,s){var r,o,a,l,c,u,d,h,p,f,m,g=Xt.get(t);if(Yt(t))for(n.handler&&(n=(r=n).handler,s=r.selector),s&&Ct.find.matchesSelector(ee,s),n.guid||(n.guid=Ct.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(e){return void 0!==Ct&&Ct.event.triggered!==e.type?Ct.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ut)||[""]).length;c--;)p=m=(a=pe.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=Ct.event.special[p]||{},p=(s?d.delegateType:d.bindType)||p,d=Ct.event.special[p]||{},u=Ct.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:s,needsContext:s&&Ct.expr.match.needsContext.test(s),namespace:f.join(".")},r),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,f,o)||t.addEventListener&&t.addEventListener(p,o)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),s?h.splice(h.delegateCount++,0,u):h.push(u),Ct.event.global[p]=!0)},remove:function(t,e,n,i,s){var r,o,a,l,c,u,d,h,p,f,m,g=Xt.hasData(t)&&Xt.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(Ut)||[""]).length;c--;)if(p=m=(a=pe.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=Ct.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.
vendor: 4,157 bytes, line 3
3join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=h.length;r--;)u=h[r],!s&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(r,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||Ct.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)Ct.event.remove(t,p+e[c],n,i,!0);Ct.isEmptyObject(l)&&Xt.remove(t,"handle events")}},dispatch:function(t){var e,n,i,s,r,o,a=new Array(arguments.length),l=Ct.event.fix(t),c=(Xt.get(this,"events")||Object.create(null))[l.type]||[],u=Ct.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(o=Ct.event.handlers.call(this,l,c),e=0;(s=o[e++])&&!l.isPropagationStopped();)for(l.currentTarget=s.elem,n=0;(r=s.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(i=((Ct.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,s,r,o,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(r=[],o={},n=0;n<l;n++)void 0===o[s=(i=e[n]).selector+" "]&&(o[s]=i.needsContext?Ct(s,this).index(c)>-1:Ct.find(s,this,null,[c]).length),o[s]&&r.push(i);r.length&&a.push({elem:c,handlers:r})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(Ct.Event.prototype,t,{enumerable:!0,configurable:!0,get:yt(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[Ct.expando]?t:new Ct.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return le.test(e.type)&&e.click&&r(e,"input")&&A(e,"click",!0),!1},trigger:function(t){var e=this||t;return le.test(e.type)&&e.click&&r(e,"input")&&A(e,"click"),!0},_default:function(t){var e=t.target;return le.test(e.type)&&e.click&&r(e,"input")&&Xt.get(e,"click")||r(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},Ct.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},Ct.Event=function(t,e){if(!(this instanceof Ct.Event))return new Ct.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?k:T,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&Ct.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[Ct.expando]=!0},Ct.Event.prototype={constructor:Ct.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=k,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=k,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=k,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},Ct.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},Ct.event.addProp),Ct.each({focus:"focusin",blur:"focusout"},function(t,e){function n(t){if(_t.documentMode){var n=Xt.get(this,"handle"),i=Ct.event.fix(t);
vendor: 1,040 bytes, line 3
3i.type="focusin"===t.type?"focus":"blur",i.isSimulated=!0,n(t),i.target===i.currentTarget&&n(i)}else Ct.event.simulate(e,t.target,Ct.event.fix(t))}Ct.event.special[t]={setup:function(){var i;if(A(this,t,!0),!_t.documentMode)return!1;(i=Xt.get(this,e))||this.addEventListener(e,n),Xt.set(this,e,(i||0)+1)},trigger:function(){return A(this,t),!0},teardown:function(){var t;if(!_t.documentMode)return!1;(t=Xt.get(this,e)-1)?Xt.set(this,e,t):(this.removeEventListener(e,n),Xt.remove(this,e))},_default:function(e){return Xt.get(e.target,t)},delegateType:e},Ct.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,s=_t.documentMode?this:i,r=Xt.get(s,e);r||(_t.documentMode?this.addEventListener(e,n):i.addEventListener(t,n,!0)),Xt.set(s,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,s=_t.documentMode?this:i,r=Xt.get(s,e)-1;r?Xt.set(s,e,r):(_t.documentMode?this.removeEventListener(e,n):i.removeEventListener(t,n,!0),Xt.remove(s,e))}}}),Ct.each({mouseenter:"mouseover",mouseleave:"mou
3seout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){Ct.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,s=t.relatedTarget,r=t.handleObj;return s&&(s===i||Ct.contains(i,s))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),Ct.fn.extend({on:function(t,e,n,i){return S(this,t,e,n,i)},one:function(t,e,n,i){return S(this,t,e,n,i,1)},off:function(t,e,n){var i,s;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,Ct(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(s in t)this.off(s,e,t[s]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=T),this.each(function(){Ct.event.remove(this,t,n,e)})}});var fe=/<script|<style|<link/i,me=/checked\s*(?:[^=]|=\s*.checked.)/i,ge=/^\s*<!\[CDATA\[|\]\]>\s*$/g;Ct.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,s,r,o,a=t.cloneNode(!0),l=ne(t);if(!(vt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Ct.isXMLDoc(t)))for(o=x(a),i=0,s=(r=x(t)).length;i<s;i++)I(r[i],o[i]);if(e)if(n)for(r=r||x(t),o=o||x(a),i=0,s=r.length;i<s;i++)P(r[i],o[i]);else P(t,a);return(o=x(a,"script")).length>0&&$(o,!l&&x(t,"script")),a},cleanData:function(t){for(var e,n,i,s=Ct.event.special,r=0;void 0!==(n=t[r]);r++)if(Yt(n)){if(e=n[Xt.expando]){if(e.events)for(i in e.events)s[i]?Ct.event.remove(n,i):Ct.removeEvent(n,i,e.handle);n[Xt.expando]=void 0}n[Kt.expando]&&(n[Kt.expando]=void 0)}}}),Ct.fn.extend({detach:function(t){return N(this,t,!0)},remove:function(t){return N(this,t)},text:function(t){return zt(this,function(t){return void 0===t?Ct.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return O(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||E(this,t).appendChild(t)})},prepend:function(){return O(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=E(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return O(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Ct.cleanData(x(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Ct.clone(this,t,e)})},html:function(t){return zt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!fe.test(t)&&!de[(ce.exec(t)||["",""])[1].toLowerCase()]){t=Ct.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(Ct.cleanData(x(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return O(this,arguments,function(e){var n=this.parentNode;Ct.inArray(this,t)<0&&(Ct.cleanData(x(this)),n&&n.replaceChild(e,this))},t)}}),Ct.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Ct.fn[t]=function(t){for(var n,i=[],s=Ct(t),r=s.length-1,o=0;o<=r;o++)n=o===r?this:this.clone(!0),Ct(s[o])[e](n),ut.apply(i,n.get());return this.pushStack(i)}});var ve=new RegExp("^("+Zt+")(?!px)[a-z%]+$","i"),ye=/^--/,be=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},_e=function(t,e,n){var i,s,r={};for(s in e)r[s]=t.style[s],t.style[s]=e[s];for(s in i=n.call(t),e)t.style[s]=r[s];return i},we=new RegExp(te.join("|"),"i");!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ee.appendChild(c).appendChild(u);var e=t.getComputedStyle(u);i="1%"!==e.top,l=12===n(e.marginLeft),u.style.right="60%",o=36===n(e.right),s=36===n(e.width),u.style.position="absolute",r=12===n(u.offsetWidth/3),ee.removeChild(c),u=null}}function n(t){return Math.round(parseFloat(t))}var i,s,r,o,a,l,c=_t.createElement("div"),u=_t.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",vt.clearCloneStyle="content-box"===u.style.backgroundClip,Ct.extend(vt,{boxSizingReliable:function(){return e(),s},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,n,i,s;return null==a&&(e=_t.createElement("table"),n=_t.createElement("tr"),i=_t.createElement("div"),e.style.cssText="position:absolute;
3left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",ee.appendChild(e).appendChild(n).appendChild(i),s=t.getComputedStyle(n),a=parseInt(s.height,10)+parseInt(s.borderTopWidth,10)+parseInt(s.borderBottomWidth,10)===n.offsetHeight,ee.removeChild(e)),a}}))}();var xe=["Webkit","Moz","ms"],$e=_t.createElement("div").style,Ce={},ke=/^(none|table(?!-c[ea]).+)/,Te={position:"absolute",visibility:"hidden",display:"block"},Se={letterSpacing:"0",fontWeight:"400"};Ct.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=L(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,r,o,a=m(e),l=ye.test(e),c=t.style;if(l||(e=H(a)),o=Ct.cssHooks[e]||Ct.cssHooks[a],void 0===n)return o&&"get"in o&&void 0!==(s=o.get(t,!1,i))?s:c[e];"string"===(r=typeof n)&&(s=Jt.exec(n))&&s[1]&&(n=b(t,e,s),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=s&&s[3]||(Ct.cssNumber[a]?"":"px")),vt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),o&&"set"in o&&void 0===(n=o.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var s,r,o,a=m(e);return ye.test(e)||(e=H(a)),(o=Ct.cssHooks[e]||Ct.cssHooks[a])&&"get"in o&&(s=o.get(t,!0,n)),void 0===s&&(s=L(t,e,i)),"normal"===s&&e in Se&&(s=Se[e]),""===n||n?(r=parseFloat(s),!0===n||isFinite(r)?r||0:s):s}}),Ct.each(["height","width"],function(t,e){Ct.cssHooks[e]={get:function(t,n,i){if(n)return!ke.test(Ct.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?F(t,e,i):_e(t,Te,function(){return F(t,e,i)})},set:function(t,n,i){var s,r=be(t),o=!vt.scrollboxSize()&&"absolute"===r.position,a=(o||i)&&"border-box"===Ct.css(t,"boxSizing",!1,r),l=i?U(t,e,i,a,r):0;return a&&o&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-U(t,e,"border",!1,r)-.5)),l&&(s=Jt.exec(n))&&"px"!==(s[3]||"px")&&(t.style[e]=n,n=Ct.css(t,e)),M(t,n,l)}}}),Ct.cssHooks.marginLeft=q(vt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(L(t,"marginLeft"))||t.getBoundingClientRect().left-_e(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),Ct.each({margin:"",padding:"",border:"Width"},function(t,e){Ct.cssHooks[t+e]={expand:function(n){for(var i=0,s={},r="string"==typeof n?n.split(" "):[n];i<4;i++)s[t+te[i]+e]=r[i]||r[i-2]||r[0];return s}},"margin"!==t&&(Ct.cssHooks[t+e].set=M)}),Ct.fn.extend({css:function(t,e){return zt(this,function(t,e,n){var i,s,r={},o=0;if(Array.isArray(e)){for(i=be(t),s=e.length;o<s;o++)r[e[o]]=Ct.css(t,e[o],!1,i);return r}
vendor: 4,819 bytes, line 3
3return void 0!==n?Ct.style(t,e,n):Ct.css(t,e)},t,e,arguments.length>1)}}),Ct.Tween=W,W.prototype={constructor:W,init:function(t,e,n,i,s,r){this.elem=t,this.prop=n,this.easing=s||Ct.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(Ct.cssNumber[n]?"":"px")},cur:function(){var t=W.propHooks[this.prop];return t&&t.get?t.get(this):W.propHooks._default.get(this)},run:function(t){var e,n=W.propHooks[this.prop];return this.options.duration?this.pos=e=Ct.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=Ct.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){Ct.fx.step[t.prop]?Ct.fx.step[t.prop](t):1!==t.elem.nodeType||!Ct.cssHooks[t.prop]&&null==t.elem.style[H(t.prop)]?t.elem[t.prop]=t.now:Ct.style(t.elem,t.prop,t.now+t.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Ct.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},Ct.fx=W.prototype.init,Ct.fx.step={};var Ae,Ee,De=/^(?:toggle|show|hide)$/,je=/queueHooks$/;Ct.Animation=Ct.extend(Q,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return b(n.elem,t,Jt.exec(e),n),n}]},tweener:function(t,e){yt(t)?(e=t,t=["*"]):t=t.match(Ut);for(var n,i=0,s=t.length;i<s;i++)n=t[i],Q.tweeners[n]=Q.tweeners[n]||[],Q.tweeners[n].unshift(e)},prefilters:[X],prefilter:function(t,e){e?Q.prefilters.unshift(t):Q.prefilters.push(t)}}),Ct.speed=function(t,e,n){var i=t&&"object"==typeof t?Ct.extend({},t):{complete:n||!n&&e||yt(t)&&t,duration:t,easing:n&&e||e&&!yt(e)&&e};return Ct.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in Ct.fx.speeds?i.duration=Ct.fx.speeds[i.duration]:i.duration=Ct.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){yt(i.old)&&i.old.call(this),i.queue&&Ct.dequeue(this,i.queue)},i},Ct.fn.extend({fadeTo:function(t,e,n,i){return this.filter(se).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var s=Ct.isEmptyObject(t),r=Ct.speed(e,n,i),o=function(){var e=Q(this,Ct.extend({},t),r);(s||Xt.get(this,"finish"))&&e.stop(!0)};return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,s=null!=t&&t+"queueHooks",r=Ct.timers,o=Xt.get(this);if(s)o[s]&&o[s].stop&&i(o[s]);else for(s in o)o[s]&&o[s].stop&&je.test(s)&&i(o[s]);for(s=r.length;s--;)r[s].elem!==this||null!=t&&r[s].queue!==t||(r[s].anim.stop(n),e=!1,r.splice(s,1));!e&&n||Ct.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=Xt.get(this),i=n[t+"queue"],s=n[t+"queueHooks"],r=Ct.timers,o=i?i.length:0;for(n.finish=!0,Ct.queue(this,t,[]),s&&s.stop&&s.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),Ct.each(["toggle","show","hide"],function(t,e){var n=Ct.fn[e];Ct.fn[e]=function(t,i,s){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(G(e,!0),t,i,s)}}),Ct.each({slideDown:G("show"),slideUp:G("hide"),slideToggle:G("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Ct.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),Ct.timers=[],Ct.fx.tick=function(){var t,e=0,n=Ct.timers;for(Ae=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||Ct.fx.stop(),Ae=void 0},Ct.fx.timer=function(t){Ct.timers.push(t),Ct.fx.start()},Ct.fx.interval=13,Ct.fx.start=function(){Ee||(Ee=!0,z())},Ct.fx.stop=function(){Ee=null},Ct.fx.speeds={slow:600,fast:200,_default:400},Ct.fn.delay=function(e,n){return e=Ct.fx&&Ct.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(n,i){var s=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(s)}})},function(){var t=_t.createElement("input"),e=_t.createElement("select").appendChild(_t.createElement("option"));t.type="checkbox",vt.checkOn=""!==t.value,vt.optSelected=e.selected,(t=_t.createElement("input")).value="t",t.type="radio",vt.radioValue="t"===t.value}();var Pe,Ie=Ct.expr.attrHandle;Ct.fn.extend({attr:function(t,e){return zt(this,Ct.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Ct.removeAttr(this,t)})}}
vendor: 19,684 bytes, lines 3-4
3),Ct.extend({attr:function(t,e,n){var i,s,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?Ct.prop(t,e,n):(1===r&&Ct.isXMLDoc(t)||(s=Ct.attrHooks[e.toLowerCase()]||(Ct.expr.match.bool.test(e)?Pe:void 0)),void 0!==n?null===n?void Ct.removeAttr(t,e):s&&"set"in s&&void 0!==(i=s.set(t,n,e))?i:(t.setAttribute(e,n+""),n):s&&"get"in s&&null!==(i=s.get(t,e))?i:null==(i=Ct.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!vt.radioValue&&"radio"===e&&r(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,s=e&&e.match(Ut);if(s&&1===t.nodeType)for(;n=s[i++];)t.removeAttribute(n)}}),Pe={set:function(t,e,n){return!1===e?Ct.removeAttr(t,n):t.setAttribute(n,n),n}},Ct.each(Ct.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Ie[e]||Ct.find.attr;Ie[e]=function(t,e,i){var s,r,o=e.toLowerCase();return i||(r=Ie[o],Ie[o]=s,s=null!=n(t,e,i)?o:null,Ie[o]=r),s}});var Oe=/^(?:input|select|textarea|button)$/i,Ne=/^(?:a|area)$/i;Ct.fn.extend({prop:function(t,e){return zt(this,Ct.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Ct.propFix[t]||t]})}}),Ct.extend({prop:function(t,e,n){var i,s,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&Ct.isXMLDoc(t)||(e=Ct.propFix[e]||e,s=Ct.propHooks[e]),void 0!==n?s&&"set"in s&&void 0!==(i=s.set(t,n,e))?i:t[e]=n:s&&"get"in s&&null!==(i=s.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=Ct.find.attr(t,"tabindex");return e?parseInt(e,10):Oe.test(t.nodeName)||Ne.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),vt.optSelected||(Ct.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),Ct.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ct.propFix[this.toLowerCase()]=this}),Ct.fn.extend({addClass:function(t){var e,n,i,s,r,o;return yt(t)?this.each(function(e){Ct(this).addClass(t.call(this,e,Z(this)))}):(e=J(t)).length?this.each(function(){if(i=Z(this),n=1===this.nodeType&&" "+V(i)+" "){for(r=0;r<e.length;r++)s=e[r],n.indexOf(" "+s+" ")<0&&(n+=s+" ");o=V(n),i!==o&&this.setAttribute("class",o)}}):this},removeClass:function(t){var e,n,i,s,r,o;return yt(t)?this.each(function(e){Ct(this).removeClass(t.call(this,e,Z(this)))}):arguments.length?(e=J(t)).length?this.each(function(){if(i=Z(this),n=1===this.nodeType&&" "+V(i)+" "){for(r=0;r<e.length;r++)for(s=e[r];n.indexOf(" "+s+" ")>-1;)n=n.replace(" "+s+" "," ");o=V(n),i!==o&&this.setAttribute("class",o)}}):this:this.attr("class","")},toggleClass:function(t,e){var n,i,s,r,o=typeof t,a="string"===o||Array.isArray(t);return yt(t)?this.each(function(n){Ct(this).toggleClass(t.call(this,n,Z(this),e),e)}):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=J(t),this.each(function(){if(a)for(r=Ct(this),s=0;s<n.length;s++)i=n[s],r.hasClass(i)?r.removeClass(i):r.addClass(i);else void 0!==t&&"boolean"!==o||((i=Z(this))&&Xt.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===t?"":Xt.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+V(Z(n))+" ").indexOf(e)>-1)return!0;return!1}});var Le=/\r/g;Ct.fn.extend({val:function(t){var e,n,i,s=this[0];return arguments.length?(i=yt(t),this.each(function(n){var s;1===this.nodeType&&(null==(s=i?t.call(this,n,Ct(this).val()):t)?s="":"number"==typeof s?s+="":Array.isArray(s)&&(s=Ct.map(s,function(t){return null==t?"":t+""})),(e=Ct.valHooks[this.type]||Ct.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,s,"value")||(this.value=s))})):s?(e=Ct.valHooks[s.type]||Ct.valHooks[s.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(s,"value"))?n:"string"==typeof(n=s.value)?n.replace(Le,""):null==n?"":n:void 0}}),Ct.extend({valHooks:{option:{get:function(t){var e=Ct.find.attr(t,"value");return null!=e?e:V(Ct.text(t))}},select:{get:function(t){var e,n,i,s=t.options,o=t.selectedIndex,a="select-one"===t.type,l=a?null:[],c=a?o+1:s.length;for(i=o<0?c:a?o:0;i<c;i++)if(((n=s[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!r(n.parentNode,"optgroup"))){if(e=Ct(n).val(),a)return e;l.push(e)}return l},set:function(t,e){for(var n,i,s=t.options,r=Ct.makeArray(e),o=s.length;o--;)((i=s[o]).selected=Ct.inArray(Ct.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),Ct.each(["radio","checkbox"],function(){Ct.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=Ct.inArray(Ct(t).val(),e)>-1}},vt.checkOn||(Ct.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var qe=t.location,Re={guid:Date.now()},He=/\?/;Ct.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||Ct.error("Invalid XML: "+(i?Ct.map(i.childNodes,function(t){return t.textContent}).join("\n"):e)),n};var Me=/^(?:focusinfocus|focusoutblur)$/,Ue=function(t){t.stopPropagation()};Ct.extend(Ct.event,{trigger:function(e,n,i,s){var r,o,a,l,c,u,d,h,p=[i||_t],f=ft.call(e,"type")?e.type:e,m=ft.call(e,"namespace")?e.namespace.split("."):[];if(o=h=a=i=i||_t,3!==i.nodeType&&8!==i.nodeType&&!Me.test(f+Ct.event.triggered)&&(f.indexOf(".")>-1&&(m=f.split("."),f=m.shift(),m.sort()),c=f.indexOf(":")<0&&"on"+f,(e=e[Ct.expando]?e:new Ct.Event(f,"object"==typeof e&&e)).isTrigger=s?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:Ct.makeArray(n,[e]),d=Ct.event.special[f]||{},s||!d.trigger||!1!==d.trigger.apply(i,n))){if(!s&&!d.noBubble&&!bt(i)){for(l=d.delegateType||f,Me.test(l+f)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(i.ownerDocument||_t)&&p.push(a.defaultView||a.parentWindow||t)}for(r=0;(o=p[r++])&&!e.isPropagationStopped();)h=o,e.type=r>1?l:d.bindType||f,(u=(Xt.get(o,"events")||Object.create(null))[e.type]&&Xt.get(o,"handle"))&&u.apply(o,n),(u=c&&o[c])&&u.apply&&Yt(o)&&(e.result=u.apply(o,n),!1===e.result&&e.preventDefault())
4;return e.type=f,s||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),n)||!Yt(i)||c&&yt(i[f])&&!bt(i)&&((a=i[c])&&(i[c]=null),Ct.event.triggered=f,e.isPropagationStopped()&&h.addEventListener(f,Ue),i[f](),e.isPropagationStopped()&&h.removeEventListener(f,Ue),Ct.event.triggered=void 0,a&&(i[c]=a)),e.result}},simulate:function(t,e,n){var i=Ct.extend(new Ct.Event,n,{type:t,isSimulated:!0});Ct.event.trigger(i,null,e)}}),Ct.fn.extend({trigger:function(t,e){return this.each(function(){Ct.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return Ct.event.trigger(t,e,n,!0)}});var Fe=/\[\]$/,We=/\r?\n/g,ze=/^(?:submit|button|image|reset|file)$/i,Be=/^(?:input|select|textarea|keygen)/i;Ct.param=function(t,e){var n,i=[],s=function(t,e){var n=yt(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!Ct.isPlainObject(t))Ct.each(t,function(){s(this.name,this.value)});else for(n in t)tt(n,t[n],e,s);return i.join("&")},Ct.fn.extend({serialize:function(){return Ct.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Ct.prop(this,"elements");return t?Ct.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Ct(this).is(":disabled")&&Be.test(this.nodeName)&&!ze.test(t)&&(this.checked||!le.test(t))}).map(function(t,e){var n=Ct(this).val();return null==n?null:Array.isArray(n)?Ct.map(n,function(t){return{name:e.name,value:t.replace(We,"\r\n")}}):{name:e.name,value:n.replace(We,"\r\n")}}).get()}});var Ge=/%20/g,Ye=/#.*$/,Xe=/([?&])_=[^&]*/,Ke=/^(.*?):[ \t]*([^\r\n]*)$/gm,Qe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ve=/^(?:GET|HEAD)$/,Ze=/^\/\//,Je={},tn={},en="*/".concat("*"),nn=_t.createElement("a");nn.href=qe.href,Ct.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qe.href,type:"GET",isLocal:Qe.test(qe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":en,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Ct.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?it(it(t,Ct.ajaxSettings),e):it(Ct.ajaxSettings,t)},ajaxPrefilter:et(Je),ajaxTransport:et(tn),ajax:function(e,n){function i(e,n,i,a){var c,h,p,_,w,x=n;u||(u=!0,l&&t.clearTimeout(l),s=void 0,o=a||"",$.readyState=e>0?4:0,c=e>=200&&e<300||304===e,i&&(_=st(f,$,i)),!c&&Ct.inArray("script",f.dataTypes)>-1&&Ct.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),_=rt(f,_,$,c),c?(f.ifModified&&((w=$.getResponseHeader("Last-Modified"))&&(Ct.lastModified[r]=w),(w=$.getResponseHeader("etag"))&&(Ct.etag[r]=w)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=_.state,h=_.data,c=!(p=_.error))):(p=x,!e&&x||(x="error",e<0&&(e=0))),$.status=e,$.statusText=(n||x)+"",c?v.resolveWith(m,[h,x,$]):v.rejectWith(m,[$,x,p]),$.statusCode(b),b=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[$,f,c?h:p]),y.fireWith(m,[$,x]),d&&(g.trigger("ajaxComplete",[$,f]),--Ct.active||Ct.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var s,r,o,a,l,c,u,d,h,p,f=Ct.ajaxSetup({},n),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?Ct(m):Ct.event,v=Ct.Deferred(),y=Ct.Callbacks("once memory"),b=f.statusCode||{},_={},w={},x="canceled",$={readyState:0,getResponseHeader:function(t){var e;if(u){if(!a)for(a={};e=Ke.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(t,e){return null==u&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==u&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)$.always(t[$.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||x;return s&&s.abort(e),i(0,e),this}};if(v.promise($),f.url=((e||f.url||qe.href)+"").replace(Ze,qe.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Ut)||[""],null==f.crossDomain){c=_t.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=nn.protocol+"//"+nn.host!=c.protocol+"//"+c.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=Ct.param(f.data,f.traditional)),nt(Je,f,n,$),u)return $;for(h in(d=Ct.event&&f.global)&&0===Ct.active++&&Ct.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ve.test(f.type),r=f.url.replace(Ye,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ge,"+")):(p=f.url.slice(r.length),f.data&&(f.processData||"string"==typeof f.data)&&(r+=(He.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(Xe,"$1"),p=(He.test(r)?"&":"?")+"_="+Re.guid+++p),f.url=r+p),f.ifModified&&(Ct.lastModified[r]&&$.setRequestHeader("If-Modified-Since",Ct.lastModified[r]),Ct.etag[r]&&$.setRequestHeader("If-None-Match",Ct.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&$.setRequestHeader("Content-Type",f.contentType),$.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+en+"; q=0.01":""):f.accepts["*"]),f.headers)$.setRequestHeader(h,f.headers[h]);if(f.beforeSend&&(!1===f.beforeSend.call(m,$,f)||u))return $.abort();if(x="abort",y.add(f.complete),$.done(f.success),$.fail(f.error),s=nt(tn,f,n,$)){if($.readyState=1,d&&g.trigger("ajaxSend",[$,f]),u)return $;f.async&&f.timeout>0&&(l=t.setTimeout(function(){$.abort("timeout")},f.timeout));try{u=!1,s.send(_,i)}catch(t){if(u)throw t;i(-1,t)}}else i(-1,"No Transport");return $},getJSON:function(t,e,n){return Ct.get(t,e,n,"json")},getScript:function(t,e){return Ct.get(t,void 0,e,"script")}}),Ct.each(["get","post"],function(t,e){Ct[e]=function(t,n,i,s){return yt(n)&&(s=s||i,i=n,n=void 0),Ct.ajax(Ct.extend({url:t,type:e,dataType:s,data:n,success:i},Ct.isPlainObject(t)&&t))}}),Ct.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),Ct._evalUrl=function(t,e,n){return Ct.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){Ct.globalEval(t,e,n)}})},Ct.fn.extend({wrapAll:function(t){var e;return this[0]&&(yt(t)&&(t=t.call(this[0])),e=Ct(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return yt(t)?this.each(function(e){Ct(this).wrapInner(t.call(this,e))}):this.each(function(){var e=Ct(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=yt(t);return this.each(function(n){Ct(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){Ct(this).replaceWith(this.childNodes)}),this}}),Ct.expr.pseudos.hidden=function(t){return!Ct.expr.pseudos.visible(t)},Ct.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},Ct.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var sn={0:200,1223:204},rn=Ct.ajaxSettings.xhr();vt.cors=!!rn&&"withCredentials"in rn,vt.ajax=rn=!!rn,Ct.ajaxTransport(function(e){var n,i;if(vt.cors||rn&&!e.crossDomain)return{send:function(s,r){var o,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];for(o in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||s["X-Requested-With"]||(s["X-Requested-With"]="XMLHttpRequest"),s)a.setRequestHeader(o,s[o]);n=function(t){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(sn[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(e.hasContent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),Ct.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),Ct.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return Ct.globalEval(t),t}}}),Ct.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),Ct.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,s){e=Ct("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&s("error"===t.type?404:200,t.type)}),_t.head.appendChild(e[0])},abort:function(){n&&n()}}});var on,an=[],ln=/(=)\?(?=&|$)|\?\?/;Ct.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=an.pop()||Ct.expando+"_"+Re.guid++;return this[t]=!0,t}}),Ct.ajaxPrefilter("json jsonp",function(e,n,i){var s,r,o,a=!1!==e.jsonp&&(ln.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ln.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return s=e.jsonpCallback=yt(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(ln,"$1"+s):!1!==e.jsonp&&(e.url+=(He.test(e.url)?"&":"?")+e.jsonp+"="+s),e.converters["script json"]=function(){return o||Ct.error(s+" was not called"),o[0]},e.dataTypes[0]="json",r=t[s],t[s]=function(){o=arguments},i.always(function(){void 0===r?Ct(t).removeProp(s):t[s]=r,e[s]&&(e.jsonpCallback=n.jsonpCallback,an.push(s)),o&&yt(r)&&r(o[0]),o=r=void 0}),"script"}),vt.createHTMLDocument=((on=_t.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===on.childNodes.length),Ct.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(vt.createHTMLDocument?((i=(e=_t.implementation.createHTMLDocument("")).createElement("base")).href=_t.location.href,e.head.appendChild(i)):e=_t),r=!n&&[],(s=Lt.exec(t))?[e.createElement(s[1])]:(s=C([t],e,r),r&&r.length&&Ct(r).remove(),Ct.merge([],s.childNodes)));var i,s,r},Ct.fn.load=function(t,e,n){var i,s,r,o=this,a=t.indexOf(" ");return a>-1&&(i=V(t.slice(a)),t=t.slice(0,a)),yt(e)?(n=e,e=void 0):e&&"object"==typeof e&&(s="POST"),o.length>0&&Ct.ajax({url:t,type:s||"GET",dataType:"html",data:e}).done(function(t){r=arguments,o.html(i?Ct("<div>").append(Ct.parseHTML(t)).find(i):t)}).always(n&&function(t,e){o.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},Ct.expr.pseudos.animated=function(t){return Ct.grep(Ct.timers,function(e){return t===e.elem}).length},Ct.offset={setOffset:function(t,e,n){var i,s,r,o,a,l,c=Ct.css(t,"position"),u=Ct(t),d={};"static"===c&&(t.style.position="relative"),a=u.offset(),r=Ct.css(t,"top"),l=Ct.css(t,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(o=(i=u.position()).top,s=i.left):(o=parseFloat(r)||0,s=parseFloat(l)||0),yt(e)&&(e=e.call(t,n,Ct.extend({},a))),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+s),"using"in e?e.using.call(t,d):u.css(d)}},Ct.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Ct.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],s={top:0,left:0};if("fixed"===Ct.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===Ct.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((s=Ct(t).offset()).top+=Ct.css(t,"borderTopWidth",!0),s.left+=Ct.css(t,"borderLeftWidth",!0))}return{top:e.top-s.top-Ct.css(i,"marginTop",!0),left:e.left-s.left-Ct.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===Ct.css(t,"position");)t=t.offsetParent;return t||ee})}}),Ct.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;Ct.fn[t]=function(i){return zt(this,function(t,i,s){var r;if(bt(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===s)return r?r[e]:t[i];r?r.scrollTo(n?r.pageXOffset:s,n?s:r.pageYOffset):t[i]=s},t,i,arguments.length)}}),Ct.each(["top","left"],function(t,e){Ct.cssHooks[e]=q(vt.pixelPosition,function(t,n){if(n)return n=L(t,e),ve.test(n)?Ct(t).position()[e]+"px":n})}),Ct.each({Height:"height",Width:"width"},function(t,e){Ct.each({padding:"inner"+t,content:e,"":"outer"+t}
vendor: 4,963 bytes, line 4
4,function(n,i){Ct.fn[i]=function(s,r){var o=arguments.length&&(n||"boolean"!=typeof s),a=n||(!0===s||!0===r?"margin":"border");return zt(this,function(e,n,s){var r;return bt(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===s?Ct.css(e,n,a):Ct.style(e,n,s,a)},e,o?s:void 0,o)}})}),Ct.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){Ct.fn[e]=function(t){return this.on(e,t)}}),Ct.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),Ct.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){Ct.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var cn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Ct.proxy=function(t,e){var n,i,s;if("string"==typeof e&&(n=t[e],e=t,t=n),yt(t))return i=lt.call(arguments,2),s=function(){return t.apply(e||this,i.concat(lt.call(arguments)))},s.guid=t.guid=t.guid||Ct.guid++,s},Ct.holdReady=function(t){t?Ct.readyWait++:Ct.ready(!0)},Ct.isArray=Array.isArray,Ct.parseJSON=JSON.parse,Ct.nodeName=r,Ct.isFunction=yt,Ct.isWindow=bt,Ct.camelCase=m,Ct.type=i,Ct.now=Date.now,Ct.isNumeric=function(t){var e=Ct.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},Ct.trim=function(t){return null==t?"":(t+"").replace(cn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ct});var un=t.jQuery,dn=t.$;return Ct.noConflict=function(e){return t.$===Ct&&(t.$=dn),e&&t.jQuery===Ct&&(t.jQuery=un),Ct},void 0===e&&(t.jQuery=t.$=Ct),Ct}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){"use strict";t.ui=t.ui||{},t.ui.version="1.13.1";var e,n=0,i=Array.prototype.hasOwnProperty,s=Array.prototype.slice;t.cleanData=(e=t.cleanData,function(n){for(var i,s,r=0;null!=(s=n[r]);r++)(i=t._data(s,"events"))&&i.remove&&t(s).triggerHandler("remove");e(n)}),t.widget=function(e,n,i){var s,r,o,a={},l=e.split(".")[0],c=l+"-"+(e=e.split(".")[1]);return i||(i=n,n=t.Widget),Array.isArray(i)&&(i=t.extend.apply(null,[{}].concat(i))),t.expr.pseudos[c.toLowerCase()]=function(e){return!!t.data(e,c)},t[l]=t[l]||{},s=t[l][e],r=t[l][e]=function(t,e){if(!this||!this._createWidget)return new r(t,e);arguments.length&&this._createWidget(t,e)},t.extend(r,s,{version:i.version,_proto:t.extend({},i),_childConstructors:[]}),(o=new n).options=t.widget.extend({},o.options),t.each(i,function(t,e){function i(){return n.prototype[t].apply(this,arguments)}function s(e){return n.prototype[t].apply(this,e)}a[t]="function"==typeof e?function(){var t,n=this._super,r=this._superApply;return this._super=i,this._superApply=s,t=e.apply(this,arguments),this._super=n,this._superApply=r,t}:e}),r.prototype=t.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||e},a,{constructor:r,namespace:l,widgetName:e,widgetFullName:c}),s?(t.each(s._childConstructors,function(e,n){var i=n.prototype;t.widget(i.namespace+"."+i.widgetName,r,n._proto)}),delete s._childConstructors):n._childConstructors.push(r),t.widget.bridge(e,r),r},t.widget.extend=function(e){for(var n,r,o=s.call(arguments,1),a=0,l=o.length;a<l;a++)for(n in o[a])r=o[a][n],i.call(o[a],n)&&void 0!==r&&(t.isPlainObject(r)?e[n]=t.isPlainObject(e[n])?t.widget.extend({},e[n],r):t.widget.extend({},r):e[n]=r);return e},t.widget.bridge=function(e,n){var i=n.prototype.widgetFullName||e;t.fn[e]=function(r){var o="string"==typeof r,a=s.call(arguments,1),l=this;return o?this.length||"instance"!==r?this.each(function(){var n,s=t.data(this,i);return"instance"===r?(l=s,!1):s?"function"!=typeof s[r]||"_"===r.charAt(0)?t.error("no such method '"+r+"' for "+e+" widget instance"):(n=s[r].apply(s,a))!==s&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+r+"'")}):l=void 0:(a.length&&(r=t.widget.extend.apply(null,[r].concat(a))),this.each(function(){var e=t.data(this,i);e?(e.option(r||{}),e._init&&e._init()):t.data(this,i,new n(r,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t
vendor: 3,846 bytes, line 4
4(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var i,s,r,o=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(o={},e=(i=e.split(".")).shift(),i.length){for(s=o[e]=t.widget.extend({},this.options[e]),r=0;r<i.length-1;r++)s[i[r]]=s[i[r]]||{},s=s[i[r]];if(e=i.pop(),1===arguments.length)return void 0===s[e]?null:s[e];s[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];o[e]=n}return this._setOptions(o),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var n,i,s;for(n in e)s=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&s&&s.length&&(i=t(s.get()),this._removeClass(s,n),i.addClass(this._classes({element:i,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function n(n,r){for(var o,a=0;a<n.length;a++)o=s.classesElementLookup[n[a]]||t(),o=e.add?(function(){var n=[];e.element.each(function(e,i){t.map(s.classesElementLookup,function(t){return t}).some(function(t){return t.is(i)})||n.push(i)}),s._on(t(n),{remove:"_untrackClassesElement"})}(),t(t.uniqueSort(o.get().concat(e.element.get())))):t(o.not(e.element).get()),s.classesElementLookup[n[a]]=o,i.push(n[a]),r&&e.classes[n[a]]&&i.push(e.classes[n[a]])}var i=[],s=this;return(e=t.extend({element:this.element,classes:this.options.classes||{}},e)).keys&&n(e.keys.match(/\S+/g)||[],!0),e.extra&&n(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var n=this;t.each(n.classesElementLookup,function(i,s){-1!==t.inArray(e.target,s)&&(n.classesElementLookup[i]=t(s.not(e.target).get()))}),this._off(t(e.target))},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,i){var s="string"==typeof t||null===t;return(n={extra:s?e:n,keys:s?t:e,element:s?this.element:t,add:i="boolean"==typeof i?i:n}).element.toggleClass(this._classes(n),i),this},_on:function(e,n,i){var s,r=this;"boolean"!=typeof e&&(i=n,n=e,e=!1),i?(n=s=t(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,s=this.widget()),t.each(i,function(i,o){function a(){if(e||!0!==r.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof o?r[o]:o).apply(r,arguments)}"string"!=typeof o&&(a.guid=o.guid=o.guid||a.guid||t.guid++);var l;i=(l=i.match(/^([\w:-]*)\s*(.*)$/))[1]+r.eventNamespace;(l=l[2])?s.on(i,l,a):n.on(i,a)})}
vendor: 6,935 bytes, line 4
4,_off:function(e,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(n),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var n=this;return setTimeout(function(){return("string"==typeof t?n[t]:t).apply(n,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,n,i){var s,r,o=this.options[e];if(i=i||{},(n=t.Event(n)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],r=n.originalEvent)for(s in r)s in n||(n[s]=r[s]);return this.element.trigger(n,i),!("function"==typeof o&&!1===o.apply(this.element[0],[n].concat(i))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(i,s,r){var o,a=(s="string"==typeof s?{effect:s}:s)?!0!==s&&"number"!=typeof s&&s.effect||n:e;"number"==typeof(s=s||{})?s={duration:s}:!0===s&&(s={}),o=!t.isEmptyObject(s),s.complete=r,s.delay&&i.delay(s.delay),o&&t.effects&&t.effects.effect[a]?i[e](s):a!==e&&i[a]?i[a](s.duration,s.easing,r):i.queue(function(n){t(this)[e](),r&&r.call(i[0]),n()})}}),t.widget,t.extend(t.expr.pseudos,{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(n){return!!t.data(n,e)}}):function(e,n,i){return!!t.data(e,i[3])}}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.fn.scrollParent=function(e){var n=this.css("position"),i="absolute"===n,s=e?/(auto|scroll|hidden)/:/(auto|scroll)/;e=this.parents().filter(function(){var e=t(this);return(!i||"static"!==e.css("position"))&&s.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==n&&e.length?e:t(this[0].ownerDocument||document)},t.fn.extend({uniqueId:(r=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++r)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var r,o,a=!1;t(document).on("mouseup",function(){a=!1}),t.widget("ui.mouse",{version:"1.13.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(n){if(!0===t.data(n.target,e.widgetName+".preventClickEvent"))return t.removeData(n.target,e.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!a){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var n=this,i=1===e.which,s=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&t(e.target).closest(this.options.cancel).length;return!(i&&!s&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){n.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return n._mouseMove(t)},this._mouseUpDelegate=function(t){return n._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),a=!0))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,a=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.widget("ui.sortable",t.ui.mouse,{version:"1.13.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,n){return e<=t&&t<e+n},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}
vendor: 12,856 bytes, lines 4-5
4)},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,n){var i=null,s=!1,r=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(e),t(e.target).parents().each(function(){if(t.data(this,r.widgetName+"-item")===r)return i=t(this),!1}),!(i=t.data(e.target,r.widgetName+"-item")===r?t(e.target):i)||this.options.handle&&!n&&(t(this.options.handle,i).find("*").addBack().each(function(){this===e.target&&(s=!0)}),!s)||(this.currentItem=i,this._removeCurrentsFromItems(),0)))},_mouseStart:function(e,n,i){var s,r,o=this.options;if((this.currentContainer=this).refreshPositions(),this.appendTo=t("parent"!==o.appendTo?o.appendTo:this.currentItem.parent()),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),t.extend(this.offset,{parent:this._getParentOffset()}),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",o.cursor),this.storedStylesheet=t("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(r)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(s=this.containers.length-1;0<=s;s--)this.containers[s]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(e),!0},_scroll:function(t){var e=this.options,n=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop-e.scrollSpeed),
5this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-this.document.scrollTop()<e.scrollSensitivity?n=this.document.scrollTop(this.document.scrollTop()-e.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<e.scrollSensitivity&&(n=this.document.scrollTop(this.document.scrollTop()+e.scrollSpeed)),t.pageX-this.document.scrollLeft()<e.scrollSensitivity?n=this.document.scrollLeft(this.document.scrollLeft()-e.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<e.scrollSensitivity&&(n=this.document.scrollLeft(this.document.scrollLeft()+e.scrollSpeed))),n},_mouseDrag:function(e){var n,i,s,r,o=this.options;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),o.scroll&&!1!==this._scroll(e)&&(this._refreshItemPositions(!0),t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},n=this.items.length-1;0<=n;n--)if(s=(i=this.items[n]).item[0],(r=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(s===this.currentItem[0]||this.placeholder[1===r?"next":"prev"]()[0]===s||t.contains(this.placeholder[0],s)||"semi-dynamic"===this.options.type&&t.contains(this.element[0],s))){if(this.direction=1===r?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,n){var i,s,r,o;if(e)return t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert?(s=(i=this).placeholder.offset(),o={},(r=this.options.axis)&&"x"!==r||(o.left=s.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),r&&"y"!==r||(o.top=s.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){i._clear(e)})):this._clear(e,n),!1},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var n=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t(n).each(function(){var n=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);n&&i.push((e.key||n[1]+"[]")+"="+(e.key&&e.expression?n[1]:n[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(e){var n=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},n.each(function(){i.push(t(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,n=e+this.helperProportions.width,i=this.positionAbs.top,s=i+this.helperProportions.height,r=t.left,o=r+t.width,a=t.top,l=a+t.height,c=this.offset.click.top,u=this.offset.click.left;c="x"===this.options.axis||a<i+c&&i+c<l,u="y"===this.options.axis||r<e+u&&e+u<o;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?c&&u:r<e+this.helperProportions.width/2&&n-this.helperProportions.width/2<o&&a<i+this.helperProportions.height/2&&s-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height);t="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!e||!t)&&(e=this.dragDirection.vertical,t=this.dragDirection.horizontal,this.floating?"right"===t||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),i=this.dragDirection.vertical;t=this.dragDirection.horizontal;return this.floating&&t?"right"===t&&n||"left"===t&&!n:i&&("down"===i&&e||"up"===i&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!=t&&(0<t?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!=t&&(0<t?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){function n(){a.push(this)}var i,s,r,o,a=[],l=[],c=this._connectWith();if(c&&e)for(i=c.length-1;0<=i;i--)for(s=(r=t(c[i],this.document[0])).length-1;0<=s;s--)(o=t.data(r[s],this.widgetFullName))&&o!==this&&!o.options.disabled&&l.push(["function"==typeof o.options.items?o.options.items.call(o.element):t(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(l.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=l.length-1;0<=i;i--)l[i][0].each(n);return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var n=0;n<e.length;n++)if(e[n]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var n,i,s,r,o,a,l,c,u=this.items,d=[["function"==typeof this.options.items?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],h=this._connectWith();if(h&&this.ready)for(n=h.length-1;0<=n;n--)for(i=(s=t(h[n],this.document[0])).length-1;0<=i;i--)(r=t.data(s[i],this.widgetFullName))&&r!==this&&!r.options.disabled&&(d.push(["function"==typeof r.options.items?r.options.items.call(r.element[0],e,{item:this.currentItem}):t(r.options.items,r.element),r]),this.containers.push(r));for(n=d.length-1;0<=n;n--)for(o=d[n][1],c=(a=d[n][i=0]).length;i<c;i++)(l=t(a[i])).data(this.widgetName+"-item",o),u.push({item:l,instance:o,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(e){for(var n,i,s=this.items.length-1;0<=s;s--)n=this.items[s],this.currentContainer&&n.instance!==this.currentContainer&&n.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?t(this.options.toleranceElement,n.item):n.item,e||(n.width=i.outerWidth(),n.height=i.outerHeight()),i=i.offset(),n.left=i.left,n.top=i.top)},refreshPositions:function(t){var e,n;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(t),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;0<=e;e--)n=this.containers[e].element.offset(),this.containers[e].containerCache.left=n.left,this.containers[e].containerCache.top=n.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(e){var n,i,s=(e=e||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,i=e.currentItem[0].nodeName.toLowerCase(),s.placeholder={element:function(){var s=t("<"+i+">",e.document[0]);return e._addClass(s,"ui-sortable-placeholder",n||e.currentItem[0].className)._removeClass(s,"ui-sortable-helper"),"tbody"===i?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(s)):"tr"===i?e._createTrPlaceholder(e.currentItem,s):"img"===i&&s.attr("src",e.currentItem.attr("src")),n||s.css("visibility","hidden"),s},update:function(t,r){n&&!s.forcePlaceholderSize||(r.height()&&(!s.forcePlaceholderSize||"tbody"!==i&&"tr"!==i)||r.height(e.currentItem.innerHe
vendor: 9,885 bytes, line 5
5ight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),r.width()||r.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,n){var i=this;e.children().each(function(){t("<td>&#160;</td>",i.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(n)})},_contactContainers:function(e){for(var n,i,s,r,o,a,l,c,u,d=null,h=null,p=this.containers.length-1;0<=p;p--)t.contains(this.currentItem[0],this.containers[p].element[0])||(this._intersectsWith(this.containers[p].containerCache)?d&&t.contains(this.containers[p].element[0],d.element[0])||(d=this.containers[p],h=p):this.containers[p].containerCache.over&&(this.containers[p]._trigger("out",e,this._uiHash(this)),this.containers[p].containerCache.over=0));if(d)if(1===this.containers.length)this.containers[h].containerCache.over||(this.containers[h]._trigger("over",e,this._uiHash(this)),this.containers[h].containerCache.over=1);else{for(i=1e4,s=null,r=(c=d.floating||this._isFloating(this.currentItem))?"left":"top",o=c?"width":"height",u=c?"pageX":"pageY",n=this.items.length-1;0<=n;n--)t.contains(this.containers[h].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(a=this.items[n].item.offset()[r],l=!1,e[u]-a>this.items[n][o]/2&&(l=!0),Math.abs(e[u]-a)<i&&(i=Math.abs(e[u]-a),s=this.items[n],this.direction=l?"up":"down"));(s||this.options.dropOnEmpty)&&(this.currentContainer!==this.containers[h]?(s?this._rearrange(e,s,null,!0):this._rearrange(e,null,this.containers[h].element,!0),this._trigger("change",e,this._uiHash()),this.containers[h]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[h],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[h]._trigger("over",e,this._uiHash(this)),this.containers[h].containerCache.over=1):this.currentContainer.containerCache.over||(this.containers[h]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1))}},_createHelper:function(e){var n=this.options;return(e="function"==typeof n.helper?t(n.helper.apply(this.element[0],[e,this.currentItem])):"clone"===n.helper?this.currentItem.clone():this.currentItem).parents("body").length||this.appendTo[0].appendChild(e[0]),e[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),e[0].style.width&&!n.forceHelperSize||e.width(this.currentItem.width()),e[0].style.height&&!n.forceHelperSize||e.height(this.currentItem.height()),e},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=Array.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie?{top:0,left:0}:e).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(e=t(i.containment)[0],n=t(i.containment).offset(),i="hidden"!==t(e).css("overflow"),this.containment=[n.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,n.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,n.left+(i?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,n.top+(i?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,n){n=n||this.position;var i="absolute"===e?1:-1,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;e=/(html|body)/i.test(s[0].tagName);return{top:n.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():e?0:s.scrollTop())*i,left:n.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():e?0:s.scrollLeft())*i}},_generatePosition:function(e){var n=this.options,i=e.pageX,s=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(s=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(s=this.containment[3]+this.offset.click.top)),n.grid&&(e=this.originalPageY+Math.round((s-this.originalPageY)/n.grid[1])*n.grid[1],s=!this.containment||e-this.offset.click.top>=this.containment[1]&&e-this.offset.click.top<=this.containment[3]?e:e-this.offset.click.top>=this.containment[1]?e-n.grid[1]:e+n.grid[1],e=this.originalPageX+Math.round((i-this.originalPageX)/n.grid[0])*n.grid[0],i=!this.containment||e-this.offset.click.left>=this.containment[0]&&e-this.offset.click.left<=this.containment[2]?e:e-this.offset.click.left>=this.containment[0]?e-n.grid[0]:e+n.grid[0])),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:r.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:r.scrollLeft())}},_rearrange:function(t,e,n,i){n?n[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!i)})},_clear:function(t,e){function n(t,e,n){return function(i){n._trigger(t,i,e._uiHash(e))}}this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;
vendor: 12,992 bytes, line 5
5i--)e||s.push(n("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(n("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<s.length;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var n=e||this;return{helper:n.helper,placeholder:n.placeholder||t([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:e?e.element:null}}}),t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(n){e=t.body}return(e=e||t.body).nodeName?e:t.body},t.widget("ui.tabs",{version:"1.13.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(o=/#.*$/,function(t){var e=t.href.replace(o,""),n=location.href.replace(o,"");try{e=decodeURIComponent(e)}catch(t){}try{n=decodeURIComponent(n)}catch(t){}return 1<t.hash.length&&e===n}),_create:function(){var e=this,n=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,n.collapsible),this._processTabs(),n.active=this._initialActive(),Array.isArray(n.disabled)&&(n.disabled=t.uniqueSort(n.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(n.active):this.active=t(),this._refresh(),this.active.length&&this.load(n.active)},_initialActive:function(){var e=this.options.active,n=this.options.collapsible,i=location.hash.substring(1);return null===e&&(i&&this.tabs.each(function(n,s){if(t(s).attr("aria-controls")===i)return e=n,!1}),null!==(e=null===e?this.tabs.index(this.tabs.filter(".ui-tabs-active")):e)&&-1!==e||(e=!!this.tabs.length&&0)),!1!==e&&-1===(e=this.tabs.index(this.tabs.eq(e)))&&(e=!n&&0),e=!n&&!1===e&&this.anchors.length?0:e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var n=t(t.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(n),s=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:i++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:s=!1,i--;break;case t.ui.keyCode.END:i=this.anchors.length-1;break;case t.ui.keyCode.HOME:i=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,s),e.ctrlKey||e.metaKey||(n.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,n){for(var i=this.tabs.length-1;-1!==t.inArray(e=(e=i<e?0:e)<0?i:e,this.options.disabled);)e=n?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){"active"!==t?(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)):this._activate(e)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,n=this.tablist.children(":has(a[href])");e.disabled=t.map(n.filter(".ui-state-disabled"),function(t){return n.index(t)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this,n=this.tabs,i=this.anchors,s=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=t(),this.anchors.each(function(n,i){var s,r,o,a=t(i).uniqueId().attr("id"),l=t(i).closest("li"),c=l.attr("aria-controls");e._isLocal(i)?(o=(s=i.hash).substring(1),r=e.element.find(e._sanitizeSelector(s))):(o=l.attr("aria-controls")||t({}).uniqueId()[0].id,(r=e.element.find(s="#"+o)).length||(r=e._createPanel(o)).insertAfter(e.panels[n-1]||e.tablist),r.attr("aria-live","polite")),r.length&&(e.panels=e.panels.add(r)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":o,"aria-labelledby":a}),r.attr("aria-labelledby",a)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),n&&(this._off(n.not(this.tabs)),this._off(i.not(this.anchors)),this._off(s.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var n,i;for(Array.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),i=0;n=this.tabs[i];i++)n=t(n),!0===e||-1!==t.inArray(i,e)?(n.attr("aria-disabled","true"),this._addClass(n,null,"ui-state-disabled")):(n.removeAttr("aria-disabled"),this._removeClass(n,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var n={};e&&t.each(e.split(" "),function(t,e){n[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var n,i=this.element.parent();"fill"===e?(n=i.height(),n-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),i=e.css("position");"absolute"!==i&&"fixed"!==i&&(n-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){n-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,n-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(n=0,this.panels.each(function(){n=Math.max(n,t(this).height("").height())}).height(n))},_eventHandler:function(e){var n=this.options,i=this.active,s=t(e.currentTarget).closest("li"),r=s[0]===i[0],o=r&&n.collapsible,a=o?t():this._getPanelForTab(s),l=i.length?this._getPanelForTab(i):t();i={oldTab:i,oldPanel:l,newTab:o?t():s,newPanel:a};e.preventDefault(),s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||r&&!n.collapsible||!1===this._trigger("beforeActivate",e,i)||(n.active=!o&&this.tabs.index(s),this.active=r?t():s,this.xhr&&this.xhr.abort(),l.length||a.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(s),e),this._toggle(e,i))},_toggle:function(e,n){function i(){r.running=!1,r._trigger("activate",e,n)}function s(){r._addClass(n.newTab.closest("li"),"ui-tabs-active","ui-state-active"),o.length&&r.options.show?r._show(o,r.options.show,i):(o.show(),i())}var r=this,o=n.newPanel,a=n.oldPanel;this.running=!0,a.length&&this.options.hide?this._hide(a,this.options.hide,function(){r._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s()}):(this._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),a.hide(),s()),a.attr("aria-hidden","true"),n.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),o.length&&a.length?n.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr("aria-hidden","false"),n.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){(e=this._findActive(e))[0]!==this.active[0]&&(e=(e=e.length?e:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:t.noop}))},_findActive:function(e){return!1===e?t():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e?this.anchors.index(this.anchors.filter("[href$='"+t.escapeSelector(e)+"']")):e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=t(this),n=e.data("ui-tabs-aria-controls");n?e.attr("aria-controls",n).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(e){var n=this.options.disabled;!1!==n&&(n=void 0!==e&&(e=this._getIndex(e),Array.isArray(n)?t.map(n,function(t){return t!==e?t:null}):t.map(this.tabs,function(t,n){return n!==e?n:null})),this._setOptionDisabled(n))},disable:function(e){var n=this.options.disabled;if(!0!==n){if(void 0===e)n=!0;else{if(e=this._getIndex(e),-1!==t.inArray(e,n))return;n=Array.isArray(n)?t.merge([e],n).sort():[e]}this._setOptionDisabled(n)}},load:function(e,n){function i(t,e){"abort"===e&&s.panels.stop(!1,!0),s._removeClass(r,"ui-tabs-loading"),o.removeAttr("aria-busy"),t===s.xhr&&delete s.xhr}e=this._getIndex(e);var s=this,r=this.tabs.eq(e),o=(e=r.find(".ui-tabs-anchor"),this._getPanelForTab(r)),a={tab:r,panel:o};this._isLocal(e[0])||(this.xhr=t.ajax(this._ajaxSettings(e,n,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(r,"ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.done(function(t,e,r){setTimeout(function(){o.html(t),s._trigger("load",n,a),i(r,e)},1)}).fail(function(t,e){setTimeout(function(){i(t,e)},1)})))},_ajaxSettings:function(e,n,i){var s=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,r){return s._trigger("beforeLoad",n,t.extend({jqXHR:e,ajaxSettings:r},i))}}},_getPanelForTab:function(e){return e=t(e).attr("aria-controls"),this.element.find(this._sanitizeSelector("#"+e))}}),!1!==t.uiBackCompat&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),t.ui.tabs}),function(){"use strict";var t=function(t,e){var n;t.rails!==e&&t.error("jquery-ujs has already been loaded!");var i=t(document);
5t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form:not([data-turbo=true])",
6formInputClickSelector:"form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return t("meta[name=csrf-token]").attr("content")},csrfParam:function(){return t("meta[name=csrf-param]").attr("content")},CSRFProtection:function(t){var e=n.csrfToken();e&&t.setRequestHeader("X-CSRF-Token",e)},refreshCSRFTokens:function(){t('form input[name="'+n.csrfParam()+'"]').val(n.csrfToken())},fire:function(e,n,i){var s=t.Event(n);return e.trigger(s,i),!1!==s.result},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t[0].href},isRemote:function(t){return t.data("remote")!==e&&!1!==t.data("remote")},handleRemote:function(i){var s,r,o,a,l,c;if(n.fire(i,"ajax:before")){if(a=i.data("with-credentials")||null,l=i.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,i.is("form")){s=i.data("ujs:submit-button-formmethod")||i.attr("method"),r=i.data("ujs:submit-button-formaction")||i.attr("action"),o=t(i[0]).serializeArray();var u=i.data("ujs:submit-button");u&&(o.push(u),i.data("ujs:submit-button",null)),i.data("ujs:submit-button-formmethod",null),i.data("ujs:submit-button-formaction",null)}else i.is(n.inputChangeSelector)?(s=i.data("method"),r=i.data("url"),o=i.serialize(),i.data("params")&&(o=o+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(s=i.data("method")||"get",r=i.data("url"),o=i.serialize(),i.data("params")&&(o=o+"&"+i.data("params"))):(s=i.data("method"),r=n.href(i),o=i.data("params")||null);return c={type:s||"GET",data:o,dataType:l,beforeSend:function(t,s){if(s.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+s.accepts.script),!n.fire(i,"ajax:beforeSend",[t,s]))return!1;i.trigger("ajax:send",t)},success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossDomain:n.isCrossDomain(r)},a&&(c.xhrFields={withCredentials:a}),r&&(c.url=r),n.ajax(c)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||e.protocol+"//"+e.host==n.protocol+"//"+n.host)}catch(t){return!0}},handleMethod:function(i){var s=n.href(i),r=i.data("method"),o=i.attr("target"),a=n.csrfToken(),l=n.csrfParam(),c=t('<form method="post" action="'+s+'"></form>'),u='<input name="_method" value="'+r+'" type="hidden" />';l===e||a===e||n.isCrossDomain(s)||(u+='<input name="'+l+'" value="'+a+'" type="hidden" />'),o&&c.attr("target",o),c.hide().append(u).appendTo("body"),c.submit()},formElements:function(e,n){return e.is("form")?t(e[0].elements).filter(n):e.find(n)},disableFormElements:function(e){n.formElements(e,n.disableSelector).each(function(){n.disableFormElement(t(this))})},disableFormElement:function(t){var n,i;n=t.is("button")?"html":"val",(i=t.data("disable-with"))!==e&&(t.data("ujs:enable-with",t[n]()),t[
6n](i)),t.prop("disabled",!0),t.data("ujs:disabled",!0)},enableFormElements:function(e){n.formElements(e,n.enableSelector).each(function(){n.enableFormElement(t(this))})},enableFormElement:function(t){var n=t.is("button")?"html":"val";t.data("ujs:enable-with")!==e&&(t[n](t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.prop("disabled",!1),t.removeData("ujs:disabled")},allowAction:function(t){var e,i=t.data("confirm"),s=!1;if(!i)return!0;if(n.fire(t,"confirm")){try{s=n.confirm(i)}catch(t){(console.error||console.log).call(console,t.stack||t)}e=n.fire(t,"confirm:complete",[s])}return s&&e},blankInputs:function(e,n,i){var s,r,o,a=t(),l=n||"input,textarea",c=e.find(l),u={};return c.each(function(){(s=t(this)).is("input[type=radio]")?(o=s.attr("name"),u[o]||(0===e.find('input[type=radio]:checked[name="'+o+'"]').length&&(r=e.find('input[type=radio][name="'+o+'"]'),a=a.add(r)),u[o]=o)):(s.is("input[type=checkbox],input[type=radio]")?s.is(":checked"):!!s.val())===i&&(a=a.add(s))}),!!a.length&&a},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){var i=t.data("disable-with");i!==e&&(t.data("ujs:enable-with",t.html()),t.html(i)),t.on("click.railsDisable",function(t){return n.stopEverything(t)}),t.data("ujs:disabled",!0)},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.off("click.railsDisable"),t.removeData("ujs:disabled")}},n.fire(i,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,i){t.crossDomain||n.CSRFProtection(i)}),t(window).on("pageshow.rails",function(){t(t.rails.enableSelector).each(function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableFormElement(e)}),t(t.rails.linkDisableSelector).each(function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableElement(e)})}),i.on("ajax:complete",n.linkDisableSelector,function(){n.enableElement(t(this))}),i.on("ajax:complete",n.buttonDisableSelector,function(){n.enableFormElement(t(this))}),i.on("click.rails",n.linkClickSelector,function(e){var i=t(this),s=i.data("method"),r=i.data("params"),o=e.metaKey||e.ctrlKey;if(!n.allowAction(i))return n.stopEverything(e);if(!o&&i.is(n.linkDisableSelector)&&n.disableElement(i),n.isRemote(i)){if(o&&(!s||"GET"===s)&&!r)return!0;var a=n.handleRemote(i);return!1===a?n.enableElement(i):a.fail(function(){n.enableElement(i)}),!1}return s?(n.handleMethod(i),!1):void 0}),i.on("click.rails",n.buttonClickSelector,function(e){var i=t(this);
6if(!n.allowAction(i)||!n.isRemote(i))return n.stopEverything(e);i.is(n.buttonDisableSelector)&&n.disableFormElement(i);var s=n.handleRemote(i);return!1===s?n.enableFormElement(i):s.fail(function(){n.enableFormElement(i)}),!1}),i.on("change.rails",n.inputChangeSelector,function(e){var i=t(this);return n.allowAction(i)&&n.isRemote(i)?(n.handleRemote(i),!1):n.stopEverything(e)}),i.on("submit.rails",n.formSubmitSelector,function(i){var s,r,o=t(this),a=n.isRemote(o);if(!n.allowAction(o))return n.stopEverything(i);if(o.attr("novalidate")===e)if(o.data("ujs:formnovalidate-button")===e){if((s=n.blankInputs(o,n.requiredInputSelector,!1))&&n.fire(o,"ajax:aborted:required",[s]))return n.stopEverything(i)}else o.data("ujs:formnovalidate-button",e);if(a){if(r=n.nonBlankInputs(o,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(o)},13);var l=n.fire(o,"ajax:aborted:file",[r]);return l||setTimeout(function(){n.enableFormElements(o)},13),l}return n.handleRemote(o),!1}setTimeout(function(){n.disableFormElements(o)},13)}),i.on("click.rails",n.formInputClickSelector,function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);var s=i.attr("name"),r=s?{name:s,value:i.val()}:null,o=i.closest("form");0===o.length&&(o=t("#"+i.attr("form"))),o.data("ujs:submit-button",r),o.data("ujs:formnovalidate-button",i.attr("formnovalidate")),o.data("ujs:submit-button-formaction",i.attr("formaction")),o.data("ujs:submit-button-formmethod",i.attr("formmethod"))}),i.on("ajax:send.rails",n.formSubmitSelector,function(e){this===e.target&&n.disableFormElements(t(this))}),i.on("ajax:complete.rails",n.formSubmitSelector,function(e){this===e.target&&n.enableFormElements(t(this))}),t(function(){n.refreshCSRFTokens()}))};window.jQuery?t(jQuery):"object"==typeof exports&&"object"==typeof module&&(module.exports=t)}(),function(t){var e=!1;if("function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),!e){var n=window.Cookies,i=window.Cookies=t();i.noConflict=function(){return window.Cookies=n,i}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}function e(n){function i(e,s,r){var o;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(r=t({path:"/"},i.defaults,r)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*r.expires),r.expires=a}r.expires=r.expires?r.expires.toUTCString():"";try{o=JSON.stringify(s),/^[\{\[]/.test(o)&&(s=o)}catch(t){}s=n.write?n.write(s,e):encodeURIComponent(String(s)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var l="";for(var c in r)r[c]&&(l+="; "+c,!0!==r[c]&&(l+="="+r[c]));return document.cookie=e+"="+s+l}e||(o={});for(var u=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,h=0;h<u.length;h++){var p=u[h].split("="),f=p.slice(1).join("=");this.json||'"'!==f.charAt(0)||(f=f.slice(1,-1));try{var m=p[0].replace(d,decodeURIComponent);if(f=n.read?n.read(f,m):n(f,m)||f.replace(d,decodeURIComponent),this.json)try{f=JSON.parse(f)}catch(t){}if(e===m){o=f;break}e||(o[m]=f)}catch(t){}}return o}}return i.set=i,i.get=function(t){return i.call(i,t)},i.getJSON=function(){return i.apply({json:!0},[].slice.call(arguments))},i.defaults={},i.remove=function(e,n){i(e,"",t(n,{expires:-1}))},i.withConverter=e,i}return e(function(){})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,n){return void 0===n&&(n="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(n),n}:t(jQuery)}(function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;return function(){var t,n,i;e&&e.requirejs||(e?n=e:e={},function(e){function s(t,e){return w.call(t,e)}function r(t,e){var n,i,s,r,o,a,l,c,u,d,h,p=e&&e.split("/"),f=b.map,m=f&&f["*"]||{};if(t){for(o=(t=t.split("/")).length-1,b.nodeIdCompat&&$.test(t[o])&&(t[o]=t[o].replace($,"")),"."===t[0].charAt(0)&&p&&(t=p.slice(0,p.length-1).concat(t)),u=0;u<t.length;u++)if("."===(h=t[u]))t.splice(u,1),u-=1;else if(".."===h){if(0===u||1===u&&".."===t[2]||".."===t[u-1])continue;u>0&&(t.splice(u-1,2),u-=2)}t=t.join("/")}if((p||m)&&f){for(u=(n=t.split("/")).length;u>0;u-=1){if(i=n.slice(0,u).join("/"),p)for(d=p.length;d>0;d-=1)if((s=f[p.slice(0,d).join("/")])&&(s=s[i])){r=s,a=u;break}if(r)break;!l&&m&&m[i]&&(l=m[i],c=u)}!r&&l&&(r=l,a=c),r&&(n.splice(0,a,r),t=n.join("/"))}return t}function o(t,n){return function(){var i=x.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),f.apply(e,i.concat([t,n]))}}function a(t){return function(e){return r(e,t)}}function l(t){return function(e){v[t]=e}}function c(t){if(s(y,t)){var n=y[t];delete y[t],_[t]=!0,p.apply(e,n)}if(!s(v,t)&&!s(_,t))throw new Error("No "+t);return v[t]}function u(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function d(t){return t?u(t):[]}function h(t){return function(){return b&&b.config&&b.config[t]||{}}}var p,f,m,g,v={},y={},b={},_={},w=Object.prototype.hasOwnProperty,x=[].slice,$=/\.js$/;m=function(t,e){var n,i=u(t),s=i[0],o=e[1];return t=i[1],s&&(n=c(s=r(s,o))),s?t=n&&n.normalize?n.normalize(t,a(o)):r(t,o):(s=(i=u(t=r(t,o)))[0],t=i[1],s&&(n=c(s))),{f:s?s+"!"+t:t,n:t,pr:s,p:n}},g={require:function(t){return o(t)},exports:function(t){var e=v[t];return void 0!==e?e:v[t]={}},module:function(t){return{id:t,uri:"",exports:v[t],config:h(t)}}},p=function(t,n,i,r){var a,u,h,p,f,b,w,x=[],$=typeof i;if(b=d(r=r||t),"undefined"===$||"function"===$){for(n=!n.length&&i.length?["require","exports","module"]:n,f=0;f<n.length;f+=1)if("require"===(u=(p=m(n[f],b)).f))x[f]=g.require(t);else if("exports"===u)x[f]=g.exports(t),w=!0;else if("module"===u)a=x[f]=g.module(t);else if(s(v,u)||s(y,u)||s(_,u))x[f]=c(u);else{if(!p.p)throw new Error(t+" missing "+u);p.p.load(p.n,o(r,!0),l(u),{}),x[f]=v[u]}h=i?i.apply(v[t],x):void 0,t&&(a&&a.exports!==e&&a.exports!==v[t]?v[t]=a.exports:h===e&&w||(v[t]=h))}else t&&(v[t]=i)},t=n=f=function(t,n,i,s,r){if("string"==typeof t)return g[t]?g[t](n):c(m(t,d(n)).f);if(!t.splice){if((b=t).deps&&f(b.deps,b.callback),!n)return;
6n.splice?(t=n,n=i,i=null):t=e}return n=n||function(){},"function"==typeof i&&(i=s,s=r),s?p(e,t,n,i):setTimeout(function(){p(e,t,n,i)},4),f},f.config=function(t){return f(t)},t._defined=v,(i=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),s(v,t)||s(y,t)||(y[t]=[t,e,n])}).amd={jQuery:!0}}(),e.requirejs=t,e.require=n,e.define=i)}(),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){function e(t){var e=t.prototype,n=[];for(var i in e){"function"==typeof e[i]&&("constructor"!==i&&n.push(i))}return n}var n={Extend:function(t,e){function n(){this.constructor=t}var i={}.hasOwnProperty;for(var s in e)i.call(e,s)&&(t[s]=e[s]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},Decorate:function(t,n){function i(){var e=Array.prototype.unshift,i=n.prototype.constructor.length,s=t.prototype.constructor;i>0&&(e.call(arguments,t.prototype.constructor),s=n.prototype.constructor),s.apply(this,arguments)}function s(){this.constructor=i}var r=e(n),o=e(t);n.displayName=t.displayName,i.prototype=new s;for(var a=0;a<o.length;a++){var l=o[a];i.prototype[l]=t.prototype[l]}for(var c=function(t){var e=function(){};t in i.prototype&&(e=i.prototype[t]);var s=n.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),s.apply(this,arguments)}},u=0;u<r.length;u++){var d=r[u];i.prototype[d]=c(d)}return i}},i=function(){this.listeners={}};i.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},i.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].apply(this,e)},n.Observable=i,n.generateChars=function(t){for(var e="",n=0;n<t;n++){e+=Math.floor(36*Math.random()).toString(36)}return e},n.bind=function(t,e){return function(){t.apply(e,arguments)}},n._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var s=0;s<n.length;s++){var r=n[s];(r=r.substring(0,1).toLowerCase()+r.substring(1))in i||(i[r]={}),s==n.length-1&&(i[r]=t[e]),i=i[r]}delete t[e]}}return t},n.hasScroll=function(e,n){var i=t(n),s=n.style.overflowX,r=n.style.overflowY;return(s!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===s||"scroll"===r||(i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth))},n.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var i=t();t.map(n,function(t){i=i.add(t)}),n=i}e.append(n)},n.__cache={};var s=0;return n.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++s),e=s.toString())),e},n.StoreData=function(t,e,i){var s=n.GetUniqueElementId(t);n.__cache[s]||(n.__cache[s]={}),n.__cache[s][e]=i},n.GetData=function(e,i){var s=n.GetUniqueElementId(e);return i?n.__cache[s]&&null!=n.__cache[s][i]?n.__cache[s][i]:t(e).data(i):n.__cache[s]},n.RemoveData=function(t){var e=n.GetUniqueElementId(t);null!=n.__cache[e]&&delete n.__cache[e],t.removeAttribute("data-select2-id")},n}),e.define("select2/results",["jquery","./utils"],function(t,e){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),s=this.options.get("translations").get(e.message);i.append(n(s(e.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];
vendor: 7,576 bytes, line 6
6if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],s=this.option(i);e.push(s)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(i){var s=t.map(i,function(t){return t.id.toString()});n.$results.find(".select2-results__option[aria-selected]").each(function(){var n=t(this),i=e.GetData(this,"data"),r=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(r,s)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i=document.createElement("li");i.className="select2-results__option";var s={role:"option","aria-selected":"false"},r=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var o in(null!=n.element&&r.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete s["aria-selected"],s["aria-disabled"]="true"),null==n.id&&delete s["aria-selected"],null!=n._resultId&&(i.id=n._resultId),n.title&&(i.title=n.title),n.children&&(s.role="group",s["aria-label"]=n.text,delete s["aria-selected"]),s){var a=s[o];i.setAttribute(o,a)}if(n.children){var l=t(i),c=document.createElement("strong");c.className="select2-results__group";t(c);this.template(n,c);for(var u=[],d=0;d<n.children.length;d++){var h=n.children[d],p=this.option(h);u.push(p)}var f=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});f.append(u),l.append(c),l.append(f)}else this.template(n,i);return e.StoreData(i,"data",n),i},n.prototype.bind=function(n){var i=this,s=n.id+"-results";this.$results.attr("id",s),n.on("results:all",function(t){i.clear(),i.append(t.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),n.on("results:append",function(t){i.append(t.data),n.isOpen()&&i.setClasses()}),n.on("query",function(t){i.hideMessages(),i.showLoading(t)}),n.on("select",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),n.on("unselect",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),n.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),n.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),n.on("results:toggle",function(){var t=i.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),n.on("results:select",function(){var t=i.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:n})}}),n.on("results:previous",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t);if(!(n<=0)){var s=n-1;0===t.length&&(s=0);var r=e.eq(s);r.trigger("mouseenter");var o=i.$results.offset().top,a=r.offset().top,l=i.$results.scrollTop()+(a-o);0===s?i.$results.scrollTop(0):a-o<0&&i.$results.scrollTop(l)}}),n.on("results:next",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var s=e.eq(n);s.trigger("mouseenter");var r=i.$results.offset().top+i.$results.outerHeight(!1),o=s.offset().top+s.outerHeight(!1),a=i.$results.scrollTop()+o-r;0===n?i.$results.scrollTop(0):o>r&&i.$results.scrollTop(a)}}),n.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),n.on("results:message",function(t){i.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-e+t.deltaY,s=t.deltaY>0&&e-t.deltaY<=0,r=t.deltaY<0&&n<=i.$results.height();s?(i.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):r&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(n){var s=t(this),r=e.GetData(this,"data");"true"!==s.attr("aria-selected")?i.trigger("select",{originalEvent:n,data:r}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:n,data:r}):i.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var n=e.GetData(this,"data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:n,element:t(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,i=t.offset().top,s=this.$results.scrollTop()+(i-n),r=i-n;s-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(s)}},n.prototype.template=function(e,n){var i=this.options.get("templateResult"),s=this.options.get("escapeMarkup"),r=i(e,n);null==r?n.style.display="none":"string"==typeof r?n.innerHTML=s(r):t(n).append(r)},n}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var n=t('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},i.prototype.bind=function(t){var e=this,i=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){e.trigger("focus",t)}),this.$selection.on("blur",function(t){e._handleBlur(t)}),this.$selection.on("keydown",function(t){e.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){e.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){e.update(t.data)}),t.on("open",function(){e.$selection.attr("aria-expanded","true"),e.$selection.attr("aria-owns",i),e._attachCloseHandler(t)}),t.on("close",function(){e.$selection.attr("aria-expanded","fal
6se"),e.$selection.removeAttr("aria-activedescendant"),e.$selection.removeAttr("aria-owns"),e.$selection.trigger("focus"),e._detachCloseHandler(t)}),t.on("enable",function(){e.$selection.attr("tabindex",e._tabindex),e.$selection.attr("aria-disabled","false")}),t.on("disable",function(){e.$selection.attr("tabindex","-1"),e.$selection.attr("aria-disabled","true")})},i.prototype._handleBlur=function(e){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)},1)},i.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,function(n){var i=t(n.target).closest(".select2");t(".select2.select2-container--open").each(function(){this!=i[0]&&e.GetData(this,"element").select2("close")})})},i.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var s=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",s).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",s),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),t.on("focus",function(){t.isOpen()||n.$selection.trigger("focus")})},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t("<span></span>")},i.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i);var s=e.title||e.text;s?n.attr("title",s):n.removeAttr("title")}else this.clear()},i}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,n){function i(t,e){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},i.prototype.bind=function(e,s){var r=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){r.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!r.isDisabled()){var i=t(this).parent(),s=n.GetData(i[0],"data");r.trigger("unselect",{originalEvent:e,data:s})}})},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},i.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i<t.length;i++){var s=t[i],r=this.selectionContainer(),o=this.display(s,r);r.append(o);var a=s.title||s.text;a&&r.attr("title",a),n.StoreData(r[0],"data",s),e.push(r)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,e)}},i}),e.define("select2/selection/placeholder",["../utils"],function(){function t(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}
vendor: 5,599 bytes, lines 6-7
6),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(t,e,n){function i(){}return i.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){i._handleClear(t)}),e.on("keypress",function(t){i._handleKeyboardClear(t,e)})},i.prototype._handleClear=function(t,e){if(!this.isDisabled()){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();var s=n.GetData(i[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var o={data:s};if(this.trigger("clear",o),o.prevented)this.$element.val(r);else{for(var a=0;a<s.length;a++)if(o={data:s[a]},this.trigger("unselect",o),o.prevented)return void this.$element.val(r);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},i.prototype._handleKeyboardClear=function(t,n,i){i.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},i.prototype.update=function(e,i){if(e.call(this,i),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var s=this.options.get("translations").get("removeAllItems"),r=t('<span class="select2-selection__clear" title="'+s()+'">&times;</span>');n.StoreData(r[0],"data",i),this.$selection.find(".select2-selection__rendered").prepend(r)}},i}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,n){function i(t,e,n){t.call(this,e,n)}return i.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=e.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(t,i,s){var r=this,o=i.id+"-results";t.call(this,i,s),i.on("open",function(){r.$search.attr("aria-controls",o),r.$search.trigger("focus")}),i.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")}),i.on("enable",function(){r.$search.prop("disabled",!1),r._transferTabIndex()}),i.on("disable",function(){r.$search.prop("disabled",!0)}),i.on("focus",function(){
7r.$search.trigger("focus")}),i.on("results:focus",function(t){t.data._resultId?r.$search.attr("aria-activedescendant",t.data._resultId):r.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(t){r.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){r._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),r.trigger("keypress",t),r._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===r.$search.val()){var i=r.$searchContainer.prev(".select2-selection__choice");if(i.length>0){var s=e.GetData(i[0],"data");r.searchRemoveChoice(s),t.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(t){r.$search.val()&&t.stopPropagation()});var a=document.documentMode,l=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(){l?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(l&&"input"===t.type)r.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&r.handleSearch(t)}})},i.prototype._transferTabIndex=function(){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},i.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").width():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},i}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,n,i){var s=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],o=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,i),n.on("*",function(e,n){if(-1!==t.inArray(e,r)){n=n||{};var i=t.Event("select2:"+e,{params:n});s.$element.trigger(i),-1!==t.inArray(e,o)&&(n.prevented=i.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={}
7,n.loadPath=function(t){if(!(t in n._cache)){var i=e(t);n._cache[t]=i}return new n(n._cache[t])},n}),e.define("select2/diacritics",[],function(){return{"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u0152":"OE","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"
7c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u0153":"oe","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f"
vendor: 15,910 bytes, line 7
7:"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03ce":"\u03c9","\u03c2":"\u03c3","\u2019":"'"}}),e.define("select2/data/base",["../utils"],function(t){function e(){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var i=e.id+"-result-";return i+=t.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+t.generateChars(4),i},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each(function(){var t=n(this),s=i.item(t);e.push(s)}),t(e)},i.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var s=[];(t=[t]).push.apply(t,i);for(var r=0;r<t.length;r++){var o=t[r].id;-1===n.inArray(o,s)&&s.push(o)}e.$element.val(s),e.$element.trigger("input").trigger("change")});else{var i=t.id;this.$element.val(i),this.$element.trigger("input").trigger("change")}},i.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,n(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(i){for(var s=[],r=0;r<i.length;r++){var o=i[r].id;o!==t.id&&-1===n.inArray(o,s)&&s.push(o)}e.$element.val(s),e.$element.trigger("input").trigger("change")})}},i.prototype.bind=function(t){var e=this;this.container=t,t.on("select",function(t){e.select(t.data)}),t.on("unselect",function(t){e.unselect(t.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){e.RemoveData(this)})},i.prototype.query=function(t,e){var i=[],s=this;this.$element.children().each(function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var r=s.item(e),o=s.matches(t,r);null!==o&&i.push(o)}}),e({results:i})},i.prototype.addOptions=function(t){e.appendMany(this.$element,t)},i.prototype.option=function(t){var i;t.children?(i=document.createElement("optgroup")).label=t.text:void 0!==(i=document.createElement("option")).textContent?i.textContent=t.text:i.innerText=t.text,void 0!==t.id&&(i.value=t.id),t.disabled&&(i.disabled=!0),t.selected&&(i.selected=!0),t.title&&(i.title=t.title);var s=n(i),r=this._normalizeItem(t);return r.element=i,e.StoreData(i,"data",r),s},i.prototype.item=function(t){var i={};if(null!=(i=e.GetData(t[0],"data")))return i;if(t.is("option"))i={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){i={text:t.prop("label"),children:[],title:t.prop("title")};for(var s=t.children("option"),r=[],o=0;o<s.length;o++){var a=n(s[o]),l=this.item(a);r.push(l)}i.children=r}return(i=this._normalizeItem(i)).element=t[0],e.StoreData(t[0],"data",i),i},i.prototype._normalizeItem=function(t){t!==Object(t)&&(t={id:t,text:t});var e={selected:!1,disabled:!1};return null!=(t=n.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},e,t)},i.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},i}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,n){function i(t,e){this._dataToConvert=e.get("data")||[],i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype.bind=function(t,e){i.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,n){return n.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),i.__super__.select.call(this,t)},i.prototype.convertToOptions=function(t){function i(t){return function(){return n(this).val()==t.id}}for(var s=this,r=this.$element.find("option"),o=r.map(function(){return s.item(n(this)).id}).get(),a=[],l=0;l<t.length;l++){var c=this._normalizeItem(t[l]);if(n.inArray(c.id,o)>=0){var u=r.filter(i(c)),d=this.item(u),h=n.extend(!0,{},c,d),p=this.option(h);u.replaceWith(p)}else{var f=this.option(c);if(c.children){var m=this.convertToOptions(c.children);e.appendMany(f,m)}a.push(f)}}return a},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,n){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,i){var s=n.ajax(t);return s.then(e),s.fail(i),s}};return n.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(t,e){function i(){var i=r.transport(r,function(i){var r=s.processResults(i,t);s.options.get("debug")&&window.console&&console.error&&(r&&r.results&&n.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(r)},function(){(!("status"in i)||0!==i.status&&"0"!==i.status)&&s.trigger("results:message",{message:"errorLoading"})});s._request=i}var s=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof r.url&&(r.url=r.url.call(this.$element,t)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),e.define("select2/data/tags",["jquery"],function(t){function e(e,n,i){var s=i.get("tags"),r=i.get("createTag");void 0!==r&&(this.createTag=r);var o=i.get("insertTag");if(void 0!==o&&(this.insertTag=o),e.call(this,n,i),t.isArray(s))for(var a=0;a<s.length;a++){var l=s[a],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return e.prototype.query=function(t,e,n){function i(t,r){for(var o=t.results,a=0;a<o.length;a++){var l=o[a],c=null!=l.children&&!i({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||c)return!r&&(t.data=o,void n(t))}if(r)return!0;var u=s.createTag(e);if(null!=u){var d=s.option(u);d.attr("data-select2-tag",!0),s.addOptions([d]),s.insertTag(o,u)}t.results=o,n(t)}var s=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,i):t.call(this,e,n)},e.prototype.createTag=function(e,n){var i=t.trim(n.term);return""===i?null:{id:i,text:i}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(){this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,i){function s(e){var n=o._normalizeItem(e);if(!o.$element.find("option").filter(function(){return t(this).val()===n.id}).length){var i=o.option(n);i.attr("data-select2-tag",!0),o._removeOldTags(),o.addOptions([i])}r(n)}function r(t){o.trigger("select",{data:t})}var o=this;n.term=n.term||"";var a=this.tokenizer(n,this.options,s);a.term!==n.term&&(this.$search.length&&(this.$search.val(a.term),this.$search.trigger("focus")),n.term=a.term),e.call(this,n,i)},e.prototype.tokenizer=function(e,n,i,s){for(var r=i.get("tokenSeparators")||[],o=n.term,a=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};a<o.length;){var c=o[a];if(-1!==t.inArray(c,r)){var u=o.substr(0,a),d=l(t.extend({},n,{term:u}));null!=d?(s(d),o=o.substr(a+1)||"",a=0):a++}else a++}return{term:o}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(){i._checkIfMaximumSelected()})},t.prototype.query=function(t,e,n){var i=this;this._checkIfMaximumSelected(function(){t.call(i,e,n)})},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current(function(t){var i=null!=t?t.length:0;n.maximumSelectionLength>0&&i>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(t){function e(){}return e.prototype.render=function(e){var n=e.call(this),i=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},e.prototype.bind=function(e,n,i){var s=this,r=n.id+"-results";e.call(this,n,i),this.$search.on("keydown",function(t){s.trigger("keypress",t),s._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(){t(this).off("keyup")}),this.$search.on("keyup input",function(t){s.handleSearch(t)}),n.on("open",function(){s.$search.attr("tabindex",0),s.$search.attr("aria-controls",r),s.$search.trigger("focus"),window.setTimeout(function(){s.$search.trigger("focus")},0)}),n.on("close",function(){s.$search.attr("tabindex",-1),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.val(""),s.$search.trigger("blur")}),n.on("focus",function(){n.isOpen()||s.$search.trigger("focus")}),n.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(s.showSearch(t)?s.$searchContainer.removeClass("select2-search--hide"):s.$searchContainer.addClass("select2-search--hide"))}),n.on("results:focus",function(t){t.data._resultId?s.$search.attr("aria-activedescendant",t.data._resultId):s.$search.removeAttr("aria-activedescendant")})},e.prototype.handleSearch=function(){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},e.prototype.showSearch=function(){return!0},e}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;i>=0;i--){var s=e[i];this.placeholder.id===s.id&&n.splice(i,1)}return n},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("query",function(t){i.lastParams=t,i.loading=!0}),e.on("query:append",function(t){i.lastParams=t,i.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=t.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&(this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore())},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function n(e,n,i){this.$dropdownParent=t(i.get("dropdownParent")||document.body),e.call(this,n,i)}return n.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",function(){i._showDropdown(),i._attachPositioningHandler(e),i._bindContainerResultHandlers(e)}),e.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),i=e.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,i){var s=this,r="scroll.
7select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(r,function(){var n=e.GetData(this,"select2-scroll-position");t(this).scrollTop(n.y)}),t(window).on(r+" "+o+" "+a,function(){s._positionDropdown(),s._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var s="scroll.select2."+i.id,r="resize.select2."+i.id,o="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(s),t(window).off(s+" "+r+" "+o)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),s=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var a={height:this.$dropdown.outerHeight(!1)},l={top:e.scrollTop(),bottom:e.scrollTop()+e.height()},c=l.top<r.top-a.height,u=l.bottom>r.bottom+a.height,d={left:r.left,top:o.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var p={top:0,left:0};(t.contains(document.body,h[0])||h[0].isConnected)&&(p=h.offset()),d.top-=p.top,d.left-=p.left,n||i||(s="below"),u||!c||n?!c&&u&&n&&(s="below"):s="above",("above"==s||n&&"below"!==s)&&(d.top=o.top-p.top-a.height),null!=s&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+s),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+s)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(e){for(var n=0,i=0;i<e.length;i++){var s=e[i];s.children?n+=t(s.children):n++}return n}function e(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return e.prototype.showSearch=function(e,n){return!(t(n.data.results)<this.minimumResultsForSearch)&&e.call(this,n)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(t){function e(){}return e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("close",function(t){i._handleSelectOnClose(t)})},e.prototype._handleSelectOnClose=function(e,n){if(n&&null!=n.originalSelect2Event){var i=n.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}var s=this.getHighlightedResults();if(!(s.length<1)){var r=t.GetData(s[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),
8e.on("select",function(t){i._selectTriggered(t)}),e.on("unselect",function(t){i._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results\u2026"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching\u2026"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,n,i,s,r,o,a,l,c,u,d,h,p,f,m,g,v,y,b,_,w,x,$,C,
8k,T,S){function A(){this.reset()}return A.prototype.apply=function(u){if(null==(u=t.extend(!0,{},this.defaults,u)).dataAdapter){if(null!=u.ajax?u.dataAdapter=f:null!=u.data?u.dataAdapter=p:u.dataAdapter=h,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,b)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null!=u.query){var d=e(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,d)}if(null!=u.initSelection){var A=e(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,A)}}if(null==u.resultsAdapter&&(u.resultsAdapter=n,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,$)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,x)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,T))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=_;else{var E=c.Decorate(_,w);u.dropdownAdapter=E}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,k)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,S)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var D=e(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,D)}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,C)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=s:u.selectionAdapter=i,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,r)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,o)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var j=e(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,j)}u.selectionAdapter=c.Decorate(u.selectionAdapter,l)}u.language=this._resolveLanguage(u.language),u.language.push("en");for(var P=[],I=0;I<u.language.length;I++){var O=u.language[I];-1===P.indexOf(O)&&P.push(O)}return u.language=P,u.translations=this._processTranslations(u.language,u.debug),u},A.prototype.reset=function(){function e(t){function e(t){return d[t]||t}
vendor: 10,995 bytes, line 8
8return t.replace(/[^\u0000-\u007E]/g,e)}function n(i,s){if(""===t.trim(i.term))return s;if(s.children&&s.children.length>0){for(var r=t.extend(!0,{},s),o=s.children.length-1;o>=0;o--){null==n(i,s.children[o])&&r.children.splice(o,1)}return r.children.length>0?r:n(i,r)}var a=e(s.text).toUpperCase(),l=e(i.term).toUpperCase();return a.indexOf(l)>-1?s:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},A.prototype.applyFromElement=function(t,e){var n=t.language,i=this.defaults.language,s=e.prop("lang"),r=e.closest("[lang]").prop("lang"),o=Array.prototype.concat.call(this._resolveLanguage(s),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(r));return t.language=o,t},A.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=t.isArray(e)?e:[e];for(var i=[],s=0;s<n.length;s++)if(i.push(n[s]),"string"==typeof n[s]&&n[s].indexOf("-")>0){var r=n[s].split("-")[0];i.push(r)}return i},A.prototype._processTranslations=function(e,n){for(var i=new u,s=0;s<e.length;s++){var r=new u,o=e[s];if("string"==typeof o)try{r=u.loadPath(o)}catch(t){try{o=this.defaults.amdLanguageBase+o,r=u.loadPath(o)}catch(t){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.')}}else r=t.isPlainObject(o)?new u(o):o;i.extend(r)}return i},A.prototype.set=function(e,n){var i={};i[t.camelCase(e)]=n;var s=c._convertData(i);t.extend(!0,this.defaults,s)},new A}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,n,i){function s(e,s){if(this.options=e,null!=s&&this.fromElement(s),null!=s&&(this.options=n.applyFromElement(this.options,s)),this.options=n.apply(this.options),s&&s.is("input")){var r=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,r)}}return s.prototype.fromElement=function(t){function n(t,e){return e.toUpperCase()}var s=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),i.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),i.StoreData(t[0],"data",i.GetData(t[0],"select2Tags")),i.StoreData(t[0],"tags",!0)),i.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",i.GetData(t[0],"ajaxUrl")),i.StoreData(t[0],"ajax-Url",i.GetData(t[0],"ajaxUrl")));for(var r={},o=0;o<t[0].attributes.length;o++){var a=t[0].attributes[o].name,l="data-";if(a.substr(0,l.length)==l){var c=a.substring(l.length),u=i.GetData(t[0],c);r[c.replace(/-([a-z])/g,n)]=u}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(r=e.extend(!0,{},t[0].dataset,r));var d=e.extend(!0,{},i.GetData(t[0]),r);for(var h in d=i._convertData(d))e.inArray(h,s)>-1||(e.isPlainObject(this.options[h])?e.extend(this.options[h],d[h]):this.options[h]=d[h]);return this},s.prototype.get=function(t){return this.options[t]},s.prototype.set=function(t,e){this.options[t]=e},s}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,n,i){var s=function(t,i){null!=n.GetData(t[0],"select2")&&n.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),i=i||{},this.options=new e(i,t),s.__super__.constructor.call(this);var r=t.attr("tabindex")||0;n.StoreData(t[0],"old-tabindex",r),t.attr("tabindex","-1");var o=this.options.get("dataAdapter");this.dataAdapter=new o(t,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var c=this.options.get("dropdownAdapter");this.dropdown=new c(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var u=this.options.get("resultsAdapter");this.results=new u(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){d.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(t[0],"select2",this),t.data("select2",this)};return n.Extend(s,n.Observable),s.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},s.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},s.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var i=this._resolveWidth(t,"style");return null!=i?i:this._resolveWidth(t,"element")}if("element"==e){var s=t.outerWidth(!1);return s<=0?"auto":s+"px"}if("style"==e){var r=t.attr("style");if("string"!=typeof r)return null;for(var o=r.split(";"),a=0,l=o.length;a<l;a+=1){var c=o[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},s.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},s.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},s.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,n){t.trigger(e,n)})},s.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(i,s){-1===t.inArray(i,n)&&e.trigger(i,s)})},s.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,n){t.trigger(e,n)})},s.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,n){t.trigger(e,n)})},s.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(n){t.trigger("results:all",{data:n,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(n){t.trigger("results:append",{data:n,query:e})})}),this.on("keypress",function(e){var n=e.which;t.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&e.altKey?(t.close(e),e.preventDefault()):n===i.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===i.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===i.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===i.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},s.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},s.prototype._isChangeMutation=function(e,n){var i=!1,s=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var r=0;r<n.addedNodes.length;r++){n.addedNodes[r].selected&&(i=!0)}else n.removedNodes&&n.removedNodes.length>0?i=!0:t.isArray(n)&&t.each(n,function(t,e){if(s._isChangeMutation(t,e))return i=!0,!1});else i=!0;return i}},s.prototype._syncSubtree=function(t,e){var n=this._isChangeMutation(t,e),i=this;n&&this.dataAdapter.current(function(t){i.trigger("selection:update",{data:t})})},s.prototype.trigger=function(t,e){var n=s.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in i){var r=i[t],o={prevented:!1,name:t,args:e};if(n.call(this,r,o),o.prevented)return void(e.prevented=!0)}n.call(this,t,e)},s.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},s.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},s.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},s.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")}
8,s.prototype.focus=function(){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},s.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},s.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},s.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,function(t){return t.toString()})),this.$element.val(n).trigger("input").trigger("change")},s.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},s.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},s}),e.define("jquery-mousewheel",["jquery"],function(t){return t}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(t,e,n,i,s){if(null==t.fn.select2){var r=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var i=t.extend(!0,{},e);new n(t(this),i)}),this;if("string"==typeof e){var i,o=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=s.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=t[e].apply(t,o)}),t.inArray(e,r)>-1?this:i}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=i),n}),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n}),function(){window.SocialShareButton={openUrl:function(t,e,n){var i;return null==e&&(e=640),null==n&&(n=480),i="width="+e+",height="+n+",left="+(screen.width/2-e/2)+",top="+(.3*screen.height-n/2)+",menubar=no,status=no,location=no",window.open(t,"popup",i),!1},share:function(t){var e,n,i,s,r,o,a,l,c,u,d,h,p,f;switch(null===t.getAttribute&&(t=document.querySelector(t)),l=t.getAttribute("data-site"),n=t.getAttribute("data-appkey")||"",e=t.parentNode,c=encodeURIComponent(t.getAttribute("data-"+l+"-title")||e.getAttribute("data-title")||""),a=encodeURIComponent(e.getAttribute("data-img")||""),d=encodeURIComponent(e.getAttribute("data-url")||""),h=encodeURIComponent(e.getAttribute("data-via")||""),i=encodeURIComponent(e.getAttribute("data-desc")||" "),"function"==typeof(s=window[window.GoogleAnalyticsObject||"ga"])&&s("send","event","Social Share Button","click",l),0===d.length&&(d=encodeURIComponent(location.href)),l){case"email":location.href="mailto:?subject="+c+"&body="+d;break;case"weibo":SocialShareButton.openUrl("http://service.weibo.com/share/share.php?url="+d+"&type=3&pic="+a+"&title="+c+"&appkey="+n,620,370);break;case"twitter":o=encodeURIComponent(t.getAttribute("data-"+l+"-hashtags")||e.getAttribute("data-hashtags")||""),p="",h.length>0&&(p="&via="+h),SocialShareButton.openUrl("https://twitter.com/intent/tweet?url="+d+"&text="+c+"&hashtags="+o+p,650,300);break;case"douban":SocialShareButton.openUrl("http://shuo.douban.com/!service/share?href="+d+"&name="+c+"&image="+a+"&sel="+i,770,470);break;case"facebook":SocialShareButton.openUrl("http://www.facebook.com/sharer/sharer.php?u="+d,555,400);break;case"qq":SocialShareButton.openUrl("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+d+"&title="+c+"&pics="+a+"&summary="+i+"&site="+n);break;case"google_bookmark":SocialShareButton.openUrl("https://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk="+d+"&title="+c);break;case"delicious":SocialShareButton.openUrl("https://del.icio.us/save?url="+d+"&title="+c+"&jump=yes&pic="+a);break;case"pinterest":SocialShareButton.openUrl("http://www.pinterest.com/pin/create/button/?url="+d+"&media="+a+"&description="+c);break;case"linkedin":SocialShareButton.openUrl("https://www.linkedin.com/shareArticle?mini=true&url="+d+"&title="+c+"&summary="+i);break;case"xing":SocialShareButton.openUrl("https://www.xing.com/spi/shares/new?url="+d);break;case"vkontakte":SocialShareButton.openUrl("http://vk.com/share.php?url="+d+"&title="+c+"&image="+a);break;case"odnoklassniki":SocialShareButton.openUrl("https://connect.ok.ru/offer?url="+d+"&title="+c+"&description="+i+"&imageUrl="+a);break;case"wechat":if(!window.SocialShareWeChatButton)throw new Error("You should require social-share-button/wechat to your application.js");window.SocialShareWeChatButton.qrcode({url:decodeURIComponent(d),header:t.getAttribute("title"),footer:t.getAttribute("data-wechat-footer")});break;case"tumblr":r=function(e){var n;if(n=t.getAttribute("data-"+e))return encodeURIComponent(n)},u=function(){var t,e,n,i;return e=r("type")||"link",t=function(){switch(e){case"text":return"title="+(c=r("title")||c);case"photo":return c=r("caption")||c,i=r("source")||a,"caption="+c+"&source="+i;case"quote":return n=r("quote")||c,i=r("source")||"","quote="+n+"&source="+i;default:return c=r("title")||c,d=r("url")||d,"name="+c+"&url="+d}}(),"/"+e+"?"+t},SocialShareButton.openUrl("http://www.tumblr.com/share"+u());break;case"reddit":SocialShareButton.openUrl("http://www.reddit.com/submit?url="+d+"&newwindow=1",555,400);break;case"hacker_news":SocialShareButton.openUrl("http://news.ycombinator.com/submitlink?u="+d+"&t="+c,770,500);break;case"telegram":SocialShareButton.openUrl("https://telegram.me/share/url?text="+c+"&url="+d);break;case"whatsapp_app":f="whatsapp://send?text="+c+"%0A"+d,window.open(f,"_top");break;case"whatsapp_web":SocialShareButton.openUrl("https://web.whatsapp.com/se
8nd?text="+c+"%0A"+d)}return!1}}}.call(this),function(t){"use strict";function e(e,i){return this.each(function(){var s=t(this),r=s.data("bs.modal"),o=t.extend({},n.DEFAULTS,s.data(),"object"==typeof e&&e);r||s.data("bs.modal",r=new n(this,o)),"string"==typeof e?r[e](i):o.show&&r.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.4.1",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,s=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(s),this.isShown||s.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var s=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),s&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});s?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(r)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,s=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&s;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+s).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):o()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+n),t(this.fixedContent).each(function(e,i){var s=i.style.paddingRight,r=t(i).css("padding-right");t(i).data("padding-right",s).css("padding-right",parseFloat(r)+n+"px")}))},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each(function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""})},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),s=i.attr("href"),r=i.attr("data-target")||s&&s.replace(/.*(?=#[^\s]+$)/,""),o=t(document).find(r),a=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(s)&&s},o.data(),i.data());i.is("a")&&n.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(o,a,this)})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var n=t(this),s=n.data("bs.alert");s||n.data("bs.alert",s=new i(this)),"string"==typeof e&&s[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.4.1",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){o.detach().trigger("closed.bs.alert").remove()}var s=t(this),r=s.attr("data-target");r||(r=(r=s.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),r="#"===r?[]:r;var o=t(document).find(r);e&&e.preventDefault(),o.length||(o=s.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var s=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=s,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";function e(e){return!e.nodeName||-1!==t.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])}function n(e){return t.isFunction(e)||t.isPlainObject(e)?e:{top:e,left:e}}var i=t.scrollTo=function(e,n,i){return t(window).scrollTo(e,n,i)};return i.defaults={axis:"xy",duration:0,limit:!0},t.fn.scrollTo=function(s,r,o){"object"==typeof r&&(o=r,r=0),"function"==typeof o&&(o={onAfter:o}),"max"===s&&(s=9e9),o=t.extend({},i.defaults,o),r=r||o.duration;var a=o.queue&&1<o.axis.length;return a&&(r/=2),o.offset=n(o.offset),o.over=n(o.over),this.each(function(){function l(e){var n=t.extend({},o,{queue:!0,duration:r,complete:e&&function(){e.call(d,p,o)}});h.animate(f,n)}if(null!==s){var c,u=e(this),d=u?this.contentWindow||window:this,h=t(d),p=s,f={};switch(typeof p){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(p)){p=n(p);break}p=u?t(p):t(p,d);case"object":if(0===p.length)return;(p.is||p.style)&&(c=(p=t(p)).offset())}var m=t.isFunction(o.offset)&&o.offset(d,p)||o.offset;t.each(o.axis.split(""),function(t,e){var n="x"===e?"Left":"Top",s=n.toLowerCase(),r="scroll"+n,g=h[r](),v=i.max(d,e);c?(f[r]=c[s]+(u?0:g-h.offset()[s]),o.margin&&(f[r]-=parseInt(p.css("margin"+n),10)||0,f[r]-=parseInt(p.css("border"+n+"Width"),10)||0),f[r]+=m[s]||0,o.over[s]&&(f[r]+=p["x"===e?"width":"height"]()*o.over[s])):(n=p[s],f[r]=n.slice&&"%"===n.slice(-1)?parseFloat(n)/100*v:n),o.limit&&/^\d+$/.test(f[r])&&(f[r]=0>=f[r]?0:Math.min(f[r],v)),!t&&1<o.axis.length&&(g===f[r]?f={}:a&&(l(o.onAfterFirst),f={}))}),l(o.onAfter)}})},i.max=function(n,i){var s="scroll"+(r="x"===i?"Width":"Height");if(!e(n))return n[s]-t(n)[r.toLowerCase()]();var r="client"+r,o=(a=n.ownerDocument||n.document).documentElement,a=a.body;return Math.max(o[s],a[s])-Math.min(o[r],a[r])},t.Tween.propHooks.scrollLeft=t.Tween.propHooks.scrollTop={get:function(e){return t(e.elem)[e.prop]()},set:function(e){var n=this.get(e);if(e.options.interrupt&&e._last&&e._last!==n)return t(e.elem).stop();var i=Math.round(e.now);n!==i&&(t(e.elem)[e.prop](i),e._last=this.get(e))}},i}),function(){var t,e;$(function(){return $.rails.allowAction=function(t){return!t.attr("data-confirm")||($.rails.showConfirmDialog(t),!1)},$.rails.confirmed=function(t){return t.removeAttr("data-confirm"),t.trigger("click.rails")},$.rails.showConfirmDialog=function(t){var e,n;return n=t.attr("data-confirm"),t.attr("cancel"),e='  <div class="modal mdlsml" id="confirmationDialog">\n    <div class="modal-dialog">\n      <div class="modal-content">\n  <div class="hd">\n    <a class="close" data-dismiss="modal">\xd7</a>\n    \n    <div>'+n+'</div>\n  </div>\n  <div class="ft">\n    <a data-dismiss="modal" class="btn btn-primary confirm">'+t.attr("ok")+"</a>\n  </div>\n</div>\n</div>\n</div>",$(".modal").modal("hide"),$(".modal").remove(),$(e).modal(),$("#confirmationDialog .confirm").on("click",function(){return $.rails.confirmed(t)})},
9$(document).on("click","a.dlt.ad_multi_has_many_remove",function(t){var n,i;return t.preventDefault(),n=$(this).closest(".ad_multi_has_many_container"),i=$(this).closest("fieldset"),e(n),n.trigger("ad_multi_has_many_remove:before",[i,n]),i.remove(),n.trigger("ad_multi_has_many_remove:after",[i,n])}),$(document).on("click","a.btn.ad_multi_has_many_add",function(t){var n,i,s,r,o,a;if(t.preventDefault(),(o=$(this).closest(".ad_multi_has_many_container")).trigger(n=$.Event("ad_multi_has_many_add:before"),[o]),!n.isDefaultPrevented())return r=o.data("ad_multi_has_many_index")||o.children("fieldset").length-1,o.data({ad_multi_has_many_index:++r}),a=new RegExp($(this).data("placeholder"),"g"),s=$(this).data("html").replace(a,r),i=o.append(s),e(o),o.children("fieldset").last().find("select").each(function(){var t;return t=$(this).parent(),$(this).select2({minimumResultsForSearch:22,dropdownParent:t})}),o.trigger("ad_multi_has_many_add:after",[i,o])}),$(document).on("click","a.button.ad_multi_has_many_remove",function(t){var n,i;return t.preventDefault(),n=$(this).closest(".ad_multi_has_many_container"),i=$(this).closest("fieldset"),e(n),n.trigger("ad_multi_has_many_remove:before",[i,n]),i.remove(),n.trigger("ad_multi_has_many_remove:after",[i,n])}),$(document).on("click","a.button.ad_multi_has_many_add",function(t){var n,i,s,r,o,a;if(t.preventDefault(),(o=$(this).closest(".ad_multi_has_many_container")).trigger(n=$.Event("ad_multi_has_many_add:before"),[o]),!n.isDefaultPrevented())return r=o.data("ad_multi_has_many_index")||o.children("fieldset").length-1,o.data({ad_multi_has_many_index:++r}),a=new RegExp($(this).data("placeholder"),"g"),s=$(this).data("html").replace(a,r),i=$(s).insertBefore(this),e(o),o.children("fieldset").last().find("select").each(function(){var t;return t=$(this).parent(),$(this).select2({minimumResultsForSearch:22,dropdownParent:t})}),o.trigger("ad_multi_has_many_add:after",[i,o])}),$(document).on("change",'.ad_multi_has_many_container[data-sortable] :input[name$="[_destroy]"]',function(){return e($(this).closest(".ad_multi_has_many"))}),t(),$(document).on("ad_multi_has_many_add:after",".ad_multi_has_many_container",t)}),t=function(){var t;return(t=$(".ad_multi_has_many_container[data-sortable]:not(.ui-sortable)")).sortable({items:"> fieldset",handle:"> ol > .handle",stop:e}),t.each(e)},e=function(t){var e,n;return t=t instanceof jQuery?t:$(this),e=t.data("sortable"),n=parseInt(t.data("sortable-start")||0,10),t.children("fieldset").each(function(){var t,i;if(t=$(this).find("> ol > .input > :input[name$='[_destroy]']"),(i=$(this).find("> ol > .input > :input[name$='["+e+"]']")).length)return i.val(t.is(":checked")?"":n++)})}}.call(this);var tmpBkms=localStorage.bkms;$(document).ready(function(){$("#rb").length>0&&document.getElementById("rb").addEventListener("wheel",t=>{t.preventDefault(),document.getElementById("rb").scrollBy({left:t.deltaY<0?-30:30})}),$(".frmsrc").length>0&&($("#mc").attr({autocomplete:"off",autocorrect:"off",autocapitalize:"none",spellcheck:"false",role:"searchbox"}),$("#mc").focus(function(){get_suggession()}),$("#mc").blur(function(t){if(t.relatedTarget){if("shadvb"==t.relatedTarget.id&&$("#sadv").is(":visible"))$("#shadvb").off("click"),setTimeout(function(){$("#shadvb").on("click",function(){show_adv()})},700);else if("sgtma"==t.relatedTarget.className)return $("#mdsrky").on("focusout",function(t){t.relatedTarget&&"sgtma"==t.relatedTarget.className||($("#mdsrky").hide(),$("#mdsrky").off("mouseout"))}),!0}else $("#sadv").is(":visible")||$("body").removeClass("mdin");$("#mdsrky").hide()}),search_set_select("srub"),search_set_select("v"),$("#shadvb").on("click keypress",function(){show_adv()}),check_detail_type_bien_search("#"+$(".fldstd").attr("id")),$(".fldstd select[name=seat]").change(function(){check_detail_type_bien_search("#"+$(".fldstd").attr("id"))})),$(".fldstd select").each(function(){var t=$(this).parent();$(this).select2({minimumResultsForSearch:22,dropdownParent:t})});for(var t,e=document.querySelectorAll("a[data-remote='true']"),n=0;n<e.length;n++){var i=e[n];i.dataset.url=i.href,i.removeAttribute("href"),i.style.cursor="pointer"}if($.rails.href=function(t){var e=t[0];if(e.dataset){var n=e.dataset.url||e.dataset.href;if(n)return n}return e.href},$(".lnkbk a").each(function(){document.referrer.replace(/\?.*$/,"")==window.location.origin+$(this).attr("href").replace(/\?.*$/,"")&&$(this).attr("href","javascript:history.back()")}),select2_for_cities("form_mysearch #v","body",!1),$("#msglst").length>0&&($("footer").is(":visible")?(setmsghg(),$("#msglst > div").scrollTop($("#msglst .slct").prop("offsetTop")-164),$(window).on("resize",function(){setmsghg()}),$("#cnvrstn > div").animate({scrollTop:$(".msgunrd").prop("offsetTop")})):$("#cnvrstn").length>0&&$("html, body").animate({scrollTop:$(".msgunrd").prop("offsetTop")})),setTimeout(function(){"1"==$("#dorf").val()&&null!==localStorage.getItem("bkms")?setbkm():$("#dorf").val("1"),checkbkm(()=>console.log("need refresh")),show_advanced_search(),$("select#srub option:selected").val()==$("select#srub").attr("data-curr")||0!=$("#sadv .fldstd").length&&!$("#advfldstd").is(":visible")||get_details_search(),$("select#srub").change(function(){hidepricesearch(),get_details_search()})},50),$(window).scroll(function(){var e;e=$("nav #sb").length?$("nav #sb").css("display"):1;var n=$(this).scrollTop();if(n<10&&("block"!=e||1==e)&&(clearTimeout(t),$("#toparrow").fadeOut(350),$(".col-container").removeClass("tobottom")),n>130&&("block"==e||1==e)){clearTimeout(t);var i=$("footer").offset().top+parseInt($(".col-container").css("padding-bottom"),10);$(window).height()+n>=i?$(".col-container").addClass("tobottom"):$(".col-container").removeClass("tobottom"),t=setTimeout(function(){$("#to
9parrow").fadeIn(450)},700)}}),$("#toparrow").on("click",function(){$("html, body").animate({scrollTop:"0px"})}),$(".lg, #nba .rgt").click(function(){$(this).hasClass("actv")?$(this).removeClass("actv"):$(this).addClass("actv")}),$("#rb > li").hover(function(){$(this).hasClass("actv")||($("#rb > li > span").remove(),$("#rb .actv").removeClass("actv"),$(".actvs").removeClass("actvs"),$(this).addClass("actvs"),$("<span></span>").insertBefore($(this).find("ul")),$("#rb > li > span").click(function(){$(this).parent().hasClass("actv")?$(this).parent().removeClass("actv"):(hdmp(),$(this).parent().addClass("actv"),$(this).parent().offset().left<$(window).width()/2?$(".actv ul").css({right:"auto",left:Math.max(0,$(this).parent().offset().left)}):$(".actv ul").css({left:"auto",right:18+Math.max(0,$(window).width()-($(this).parent().offset().left+$(this).parent().outerWidth()))}))}))},function(){$(this).hasClass("actv")||($("#rb > li > span").remove(),$(".actvs").removeClass("actvs"))}),$("#sb form").submit(function(){prepareFormSearch()}),$("#tabs").tabs(),$(".slc2").select2({minimumResultsForSearch:1/0}),$("#form_mysearch #srub").select2({minimumResultsForSearch:3}),$(".pgntn, .pagination").length>0&&($(".ua + .pgntn a, .ua + .pgntn > span, .pagination .first a, .pagination .next a, .pagination .last a, .pagination .prev a").css("background",function(){return spg("&lt;"==$(this).html()||"&lt;&lt;"==$(this).html(),$(this).is("a"),"&gt;&gt;"==$(this).html()||"&lt;&lt;"==$(this).html())}),$(".ua + .pgntn a, .ua + .pgntn > span, .pagination .first a, .pagination .next a, .pagination .last a, .pagination .prev a").html("&nbsp;")),window.ctcx)for(var n in window.ctcx)for(var s in window.ctcx[n])ctcxxxx(window.ctcx[n][s][0],window.ctcx[n][s][1],s);if(window.sear)for(var n in window.setr=new setr("","",""),window.sear)sss=window.sear[n],window.sear[n]=new dia(sss[0],sss[1],sss[2],sss[3]),se(window.sear[n]);$(".am .ai .aim img").length>0&&$('<span class="aifls"/>').on("click",function(){imgfls($(this).parents(".am").attr("id").substring(1))}).appendTo($(".am .ai .aim")),window.shmmjp&&shmjp(window.shmmjp[0],window.shmmjp[1],window.shmmjp[2]),function(t){var e=[];t.preLoadImages=function(){for(var t=arguments.length;t--;){var n=document.createElement("img");n.src=arguments[t],e.push(n)}}}(jQuery),$(".fvp input").length>0?(shprc(),$(".cntl input").on("change",function(){shprc()})):$("#payment_gancxcoin_amount").length>0&&(refreshrate(),$("#payment_gancxcoin_amount").keyup(function(){refreshrate()})),handle_suffix(),$(".social-share-button").length>0&&"function"==typeof navigator.share&&($('<span class="shrmbl">...</span>').appendTo($(".social-share-button")),$("span.shrmbl").on("click",function(){scdv=$(this).parent(),shareData={title:scdv.attr("data-title"),text:scdv.attr("data-desc"),url:scdv.attr("data-url")},navigator.share(shareData).then(()=>console.log(1)).catch(()=>console.log(1))})),window.__dodmd&&($(".mmdl").modal(),$('<div class="modal" id="confirmationDialog"><div class="alert"><div>\n  <a class="close" data-dismiss="modal">&#215;</a>\n    <div class="alert-error">\n      <div>'+window.__dodmd+"</div>\n    </div>\n</div></div></div>\n").modal()),ckEU()});var crsg,path="";jQuery.fn.reverse=[].reverse,function(t){var e=t.fn.select2.amd.require("select2/utils"),n=t.fn.select2.amd.require("select2/dropdown/attachBody");n.prototype._attachPositioningHandler;n.prototype._attachPositioningHandler=function(n,i){var s=this,r="scroll.select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(r,function(){}),t(window).on(r+" "+o+" "+a,function(){s._positionDropdown(),s._resizeDropdown()})}}(window.jQuery),function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var t=jQuery.fn.select2.amd;t.define("select2/i18n/fr",[],function(){return{errorLoading:function(){return"Les r\xe9sultats ne peuvent pas \xeatre charg\xe9s."},inputTooLong:function(t){var e=t.input.length-t.maximum;return"Supprimez "+e+" caract\xe8re"+(e>1?"s":"")},inputTooShort:function(t){var e=t.minimum-t.input.length;return"Saisissez au moins "+e+" caract\xe8re"+(e>1?"s":"")},loadingMore:function(){return"Chargement de r\xe9sultats suppl\xe9mentaires\u2026"},maximumSelected:function(t){return"Vous pouvez seulement s\xe9lectionner "+t.maximum+" \xe9l\xe9ment"+(t.maximum>1?"s":"")},noResults:function(){return"Aucun r\xe9sultat trouv\xe9"},searching:function(){return"Recherche en cours\u2026"},removeAllItems:function(){return"Supprimer tous les \xe9l\xe9ments"}}}),t.define,t.require}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.