1613. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2/1/2017 2:57:59 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

1613.1 Files compared

# Location File Last Modified
1 C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM Portal\trunk\BTSSSPortal\js bootstrap.min.js Tue Dec 20 19:50:52 2016 UTC
2 Wed Feb 1 19:57:59 2017 UTC

1613.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 0 0
Removed 1 7

1613.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

1613.4 Active regular expressions

No regular expressions were active.

1613.5 Comparison detail

1   /*!        
2    * Bootstr ap v3.3.5  (http://ge tbootstrap .com)        
3    * Copyrig ht 2011-20 15 Twitter , Inc.        
4    * License d under th e MIT lice nse        
5    */        
6   if("undefi ned"==type of jQuery) throw new  Error("Boo tstrap's J avaScript  requires j Query");+f unction(a) {"use stri ct";var b= a.fn.jquer y.split("  ")[0].spli t(".");if( b[0]<2&&b[ 1]<9||1==b [0]&&9==b[ 1]&&b[2]<1 )throw new  Error("Bo otstrap's  JavaScript  requires  jQuery ver sion 1.9.1  or higher ")}(jQuery ),+functio n(a){"use  strict";fu nction b() {var a=doc ument.crea teElement( "bootstrap "),b={Webk itTransiti on:"webkit Transition End",MozTr ansition:" transition end",OTran sition:"oT ransitionE nd otransi tionend",t ransition: "transitio nend"};for (var c in  b)if(void  0!==a.styl e[c])retur n{end:b[c] };return!1 }a.fn.emul ateTransit ionEnd=fun ction(b){v ar c=!1,d= this;a(thi s).one("bs Transition End",funct ion(){c=!0 });var e=f unction(){ c||a(d).tr igger(a.su pport.tran sition.end )};return  setTimeout (e,b),this },a(functi on(){a.sup port.trans ition=b(), a.support. transition &&(a.event .special.b sTransitio nEnd={bind Type:a.sup port.trans ition.end, delegateTy pe:a.suppo rt.transit ion.end,ha ndle:funct ion(b){ret urn a(b.ta rget).is(t his)?b.han dleObj.han dler.apply (this,argu ments):voi d 0}})})}( jQuery),+f unction(a) {"use stri ct";functi on b(b){re turn this. each(funct ion(){var  c=a(this), e=c.data(" bs.alert") ;e||c.data ("bs.alert ",e=new d( this)),"st ring"==typ eof b&&e[b ].call(c)} )}var c='[ data-dismi ss="alert" ]',d=funct ion(b){a(b ).on("clic k",c,this. close)};d. VERSION="3 .3.5",d.TR ANSITION_D URATION=15 0,d.protot ype.close= function(b ){function  c(){g.det ach().trig ger("close d.bs.alert ").remove( )}var e=a( this),f=e. attr("data -target"); f||(f=e.at tr("href") ,f=f&&f.re place(/.*( ?=#[^\s]*$ )/,""));va r g=a(f);b &&b.preven tDefault() ,g.length| |(g=e.clos est(".aler t")),g.tri gger(b=a.E vent("clos e.bs.alert ")),b.isDe faultPreve nted()||(g .removeCla ss("in"),a .support.t ransition& &g.hasClas s("fade")? g.one("bsT ransitionE nd",c).emu lateTransi tionEnd(d. TRANSITION _DURATION) :c())};var  e=a.fn.al ert;a.fn.a lert=b,a.f n.alert.Co nstructor= d,a.fn.ale rt.noConfl ict=functi on(){retur n a.fn.ale rt=e,this} ,a(documen t).on("cli ck.bs.aler t.data-api ",c,d.prot otype.clos e)}(jQuery ),+functio n(a){"use  strict";fu nction b(b ){return t his.each(f unction(){ var d=a(th is),e=d.da ta("bs.but ton"),f="o bject"==ty peof b&&b; e||d.data( "bs.button ",e=new c( this,f))," toggle"==b ?e.toggle( ):b&&e.set State(b)}) }var c=fun ction(b,d) {this.$ele ment=a(b), this.optio ns=a.exten d({},c.DEF AULTS,d),t his.isLoad ing=!1};c. VERSION="3 .3.5",c.DE FAULTS={lo adingText: "loading.. ."},c.prot otype.setS tate=funct ion(b){var  c="disabl ed",d=this .$element, e=d.is("in put")?"val ":"html",f =d.data(); b+="Text", null==f.re setText&&d .data("res etText",d[ e]()),setT imeout(a.p roxy(funct ion(){d[e] (null==f[b ]?this.opt ions[b]:f[ b]),"loadi ngText"==b ?(this.isL oading=!0, d.addClass (c).attr(c ,c)):this. isLoading& &(this.isL oading=!1, d.removeCl ass(c).rem oveAttr(c) )},this),0 )},c.proto type.toggl e=function (){var a=! 0,b=this.$ element.cl osest('[da ta-toggle= "buttons"] ');if(b.le ngth){var  c=this.$el ement.find ("input"); "radio"==c .prop("typ e")?(c.pro p("checked ")&&(a=!1) ,b.find(". active").r emoveClass ("active") ,this.$ele ment.addCl ass("activ e")):"chec kbox"==c.p rop("type" )&&(c.prop ("checked" )!==this.$ element.ha sClass("ac tive")&&(a =!1),this. $element.t oggleClass ("active") ),c.prop(" checked",t his.$eleme nt.hasClas s("active" )),a&&c.tr igger("cha nge")}else  this.$ele ment.attr( "aria-pres sed",!this .$element. hasClass(" active")), this.$elem ent.toggle Class("act ive")};var  d=a.fn.bu tton;a.fn. button=b,a .fn.button .Construct or=c,a.fn. button.noC onflict=fu nction(){r eturn a.fn .button=d, this},a(do cument).on ("click.bs .button.da ta-api",'[ data-toggl e^="button "]',functi on(c){var  d=a(c.targ et);d.hasC lass("btn" )||(d=d.cl osest(".bt n")),b.cal l(d,"toggl e"),a(c.ta rget).is(' input[type ="radio"]' )||a(c.tar get).is('i nput[type= "checkbox" ]')||c.pre ventDefaul t()}).on(" focus.bs.b utton.data -api blur. bs.button. data-api", '[data-tog gle^="butt on"]',func tion(b){a( b.target). closest(". btn").togg leClass("f ocus",/^fo cus(in)?$/ .test(b.ty pe))})}(jQ uery),+fun ction(a){" use strict ";function  b(b){retu rn this.ea ch(functio n(){var d= a(this),e= d.data("bs .carousel" ),f=a.exte nd({},c.DE FAULTS,d.d ata(),"obj ect"==type of b&&b),g ="string"= =typeof b? b:f.slide; e||d.data( "bs.carous el",e=new  c(this,f)) ,"number"= =typeof b? e.to(b):g? e[g]():f.i nterval&&e .pause().c ycle()})}v ar c=funct ion(b,c){t his.$eleme nt=a(b),th is.$indica tors=this. $element.f ind(".caro usel-indic ators"),th is.options =c,this.pa used=null, this.slidi ng=null,th is.interva l=null,thi s.$active= null,this. $items=nul l,this.opt ions.keybo ard&&this. $element.o n("keydown .bs.carous el",a.prox y(this.key down,this) ),"hover"= =this.opti ons.pause& &!("ontouc hstart"in  document.d ocumentEle ment)&&thi s.$element .on("mouse enter.bs.c arousel",a .proxy(thi s.pause,th is)).on("m ouseleave. bs.carouse l",a.proxy (this.cycl e,this))}; c.VERSION= "3.3.5",c. TRANSITION _DURATION= 600,c.DEFA ULTS={inte rval:5e3,p ause:"hove r",wrap:!0 ,keyboard: !0},c.prot otype.keyd own=functi on(a){if(! /input|tex tarea/i.te st(a.targe t.tagName) ){switch(a .which){ca se 37:this .prev();br eak;case 3 9:this.nex t();break; default:re turn}a.pre ventDefaul t()}},c.pr ototype.cy cle=functi on(b){retu rn b||(thi s.paused=! 1),this.in terval&&cl earInterva l(this.int erval),thi s.options. interval&& !this.paus ed&&(this. interval=s etInterval (a.proxy(t his.next,t his),this. options.in terval)),t his},c.pro totype.get ItemIndex= function(a ){return t his.$items =a.parent( ).children (".item"), this.$item s.index(a| |this.$act ive)},c.pr ototype.ge tItemForDi rection=fu nction(a,b ){var c=th is.getItem Index(b),d ="prev"==a &&0===c||" next"==a&& c==this.$i tems.lengt h-1;if(d&& !this.opti ons.wrap)r eturn b;va r e="prev" ==a?-1:1,f =(c+e)%thi s.$items.l ength;retu rn this.$i tems.eq(f) },c.protot ype.to=fun ction(a){v ar b=this, c=this.get ItemIndex( this.$acti ve=this.$e lement.fin d(".item.a ctive"));r eturn a>th is.$items. length-1|| 0>a?void 0 :this.slid ing?this.$ element.on e("slid.bs .carousel" ,function( ){b.to(a)} ):c==a?thi s.pause(). cycle():th is.slide(a >c?"next": "prev",thi s.$items.e q(a))},c.p rototype.p ause=funct ion(b){ret urn b||(th is.paused= !0),this.$ element.fi nd(".next,  .prev").l ength&&a.s upport.tra nsition&&( this.$elem ent.trigge r(a.suppor t.transiti on.end),th is.cycle(! 0)),this.i nterval=cl earInterva l(this.int erval),thi s},c.proto type.next= function() {return th is.sliding ?void 0:th is.slide(" next")},c. prototype. prev=funct ion(){retu rn this.sl iding?void  0:this.sl ide("prev" )},c.proto type.slide =function( b,d){var e =this.$ele ment.find( ".item.act ive"),f=d| |this.getI temForDire ction(b,e) ,g=this.in terval,h=" next"==b?" left":"rig ht",i=this ;if(f.hasC lass("acti ve"))retur n this.sli ding=!1;va r j=f[0],k =a.Event(" slide.bs.c arousel",{ relatedTar get:j,dire ction:h}); if(this.$e lement.tri gger(k),!k .isDefault Prevented( )){if(this .sliding=! 0,g&&this. pause(),th is.$indica tors.lengt h){this.$i ndicators. find(".act ive").remo veClass("a ctive");va r l=a(this .$indicato rs.childre n()[this.g etItemInde x(f)]);l&& l.addClass ("active") }var m=a.E vent("slid .bs.carous el",{relat edTarget:j ,direction :h});retur n a.suppor t.transiti on&&this.$ element.ha sClass("sl ide")?(f.a ddClass(b) ,f[0].offs etWidth,e. addClass(h ),f.addCla ss(h),e.on e("bsTrans itionEnd", function() {f.removeC lass([b,h] .join(" ") ).addClass ("active") ,e.removeC lass(["act ive",h].jo in(" ")),i .sliding=! 1,setTimeo ut(functio n(){i.$ele ment.trigg er(m)},0)} ).emulateT ransitionE nd(c.TRANS ITION_DURA TION)):(e. removeClas s("active" ),f.addCla ss("active "),this.sl iding=!1,t his.$eleme nt.trigger (m)),g&&th is.cycle() ,this}};va r d=a.fn.c arousel;a. fn.carouse l=b,a.fn.c arousel.Co nstructor= c,a.fn.car ousel.noCo nflict=fun ction(){re turn a.fn. carousel=d ,this};var  e=functio n(c){var d ,e=a(this) ,f=a(e.att r("data-ta rget")||(d =e.attr("h ref"))&&d. replace(/. *(?=#[^\s] +$)/,"")); if(f.hasCl ass("carou sel")){var  g=a.exten d({},f.dat a(),e.data ()),h=e.at tr("data-s lide-to"); h&&(g.inte rval=!1),b .call(f,g) ,h&&f.data ("bs.carou sel").to(h ),c.preven tDefault() }};a(docum ent).on("c lick.bs.ca rousel.dat a-api","[d ata-slide] ",e).on("c lick.bs.ca rousel.dat a-api","[d ata-slide- to]",e),a( window).on ("load",fu nction(){a ('[data-ri de="carous el"]').eac h(function (){var c=a (this);b.c all(c,c.da ta())})})} (jQuery),+ function(a ){"use str ict";funct ion b(b){v ar c,d=b.a ttr("data- target")|| (c=b.attr( "href"))&& c.replace( /.*(?=#[^\ s]+$)/,"") ;return a( d)}functio n c(b){ret urn this.e ach(functi on(){var c =a(this),e =c.data("b s.collapse "),f=a.ext end({},d.D EFAULTS,c. data(),"ob ject"==typ eof b&&b); !e&&f.togg le&&/show| hide/.test (b)&&(f.to ggle=!1),e ||c.data(" bs.collaps e",e=new d (this,f)), "string"== typeof b&& e[b]()})}v ar d=funct ion(b,c){t his.$eleme nt=a(b),th is.options =a.extend( {},d.DEFAU LTS,c),thi s.$trigger =a('[data- toggle="co llapse"][h ref="#'+b. id+'"],[da ta-toggle= "collapse" ][data-tar get="#'+b. id+'"]'),t his.transi tioning=nu ll,this.op tions.pare nt?this.$p arent=this .getParent ():this.ad dAriaAndCo llapsedCla ss(this.$e lement,thi s.$trigger ),this.opt ions.toggl e&&this.to ggle()};d. VERSION="3 .3.5",d.TR ANSITION_D URATION=35 0,d.DEFAUL TS={toggle :!0},d.pro totype.dim ension=fun ction(){va r a=this.$ element.ha sClass("wi dth");retu rn a?"widt h":"height "},d.proto type.show= function() {if(!this. transition ing&&!this .$element. hasClass(" in")){var  b,e=this.$ parent&&th is.$parent .children( ".panel"). children(" .in, .coll apsing");i f(!(e&&e.l ength&&(b= e.data("bs .collapse" ),b&&b.tra nsitioning ))){var f= a.Event("s how.bs.col lapse");if (this.$ele ment.trigg er(f),!f.i sDefaultPr evented()) {e&&e.leng th&&(c.cal l(e,"hide" ),b||e.dat a("bs.coll apse",null ));var g=t his.dimens ion();this .$element. removeClas s("collaps e").addCla ss("collap sing")[g]( 0).attr("a ria-expand ed",!0),th is.$trigge r.removeCl ass("colla psed").att r("aria-ex panded",!0 ),this.tra nsitioning =1;var h=f unction(){ this.$elem ent.remove Class("col lapsing"). addClass(" collapse i n")[g]("") ,this.tran sitioning= 0,this.$el ement.trig ger("shown .bs.collap se")};if(! a.support. transition )return h. call(this) ;var i=a.c amelCase([ "scroll",g ].join("-" ));this.$e lement.one ("bsTransi tionEnd",a .proxy(h,t his)).emul ateTransit ionEnd(d.T RANSITION_ DURATION)[ g](this.$e lement[0][ i])}}}},d. prototype. hide=funct ion(){if(! this.trans itioning&& this.$elem ent.hasCla ss("in")){ var b=a.Ev ent("hide. bs.collaps e");if(thi s.$element .trigger(b ),!b.isDef aultPreven ted()){var  c=this.di mension(); this.$elem ent[c](thi s.$element [c]())[0]. offsetHeig ht,this.$e lement.add Class("col lapsing"). removeClas s("collaps e in").att r("aria-ex panded",!1 ),this.$tr igger.addC lass("coll apsed").at tr("aria-e xpanded",! 1),this.tr ansitionin g=1;var e= function() {this.tran sitioning= 0,this.$el ement.remo veClass("c ollapsing" ).addClass ("collapse ").trigger ("hidden.b s.collapse ")};return  a.support .transitio n?void thi s.$element [c](0).one ("bsTransi tionEnd",a .proxy(e,t his)).emul ateTransit ionEnd(d.T RANSITION_ DURATION): e.call(thi s)}}},d.pr ototype.to ggle=funct ion(){this [this.$ele ment.hasCl ass("in")? "hide":"sh ow"]()},d. prototype. getParent= function() {return a( this.optio ns.parent) .find('[da ta-toggle= "collapse" ][data-par ent="'+thi s.options. parent+'"] ').each(a. proxy(func tion(c,d){ var e=a(d) ;this.addA riaAndColl apsedClass (b(e),e)}, this)).end ()},d.prot otype.addA riaAndColl apsedClass =function( a,b){var c =a.hasClas s("in");a. attr("aria -expanded" ,c),b.togg leClass("c ollapsed", !c).attr(" aria-expan ded",c)};v ar e=a.fn. collapse;a .fn.collap se=c,a.fn. collapse.C onstructor =d,a.fn.co llapse.noC onflict=fu nction(){r eturn a.fn .collapse= e,this},a( document). on("click. bs.collaps e.data-api ",'[data-t oggle="col lapse"]',f unction(d) {var e=a(t his);e.att r("data-ta rget")||d. preventDef ault();var  f=b(e),g= f.data("bs .collapse" ),h=g?"tog gle":e.dat a();c.call (f,h)})}(j Query),+fu nction(a){ "use stric t";functio n b(b){var  c=b.attr( "data-targ et");c||(c =b.attr("h ref"),c=c& &/#[A-Za-z ]/.test(c) &&c.replac e(/.*(?=#[ ^\s]*$)/," "));var d= c&&a(c);re turn d&&d. length?d:b .parent()} function c (c){c&&3== =c.which|| (a(e).remo ve(),a(f). each(funct ion(){var  d=a(this), e=b(d),f={ relatedTar get:this}; e.hasClass ("open")&& (c&&"click "==c.type& &/input|te xtarea/i.t est(c.targ et.tagName )&&a.conta ins(e[0],c .target)|| (e.trigger (c=a.Event ("hide.bs. dropdown", f)),c.isDe faultPreve nted()||(d .attr("ari a-expanded ","false") ,e.removeC lass("open ").trigger ("hidden.b s.dropdown ",f))))})) }function  d(b){retur n this.eac h(function (){var c=a (this),d=c .data("bs. dropdown") ;d||c.data ("bs.dropd own",d=new  g(this)), "string"== typeof b&& d[b].call( c)})}var e =".dropdow n-backdrop ",f='[data -toggle="d ropdown"]' ,g=functio n(b){a(b). on("click. bs.dropdow n",this.to ggle)};g.V ERSION="3. 3.5",g.pro totype.tog gle=functi on(d){var  e=a(this); if(!e.is(" .disabled,  :disabled ")){var f= b(e),g=f.h asClass("o pen");if(c (),!g){"on touchstart "in docume nt.documen tElement&& !f.closest (".navbar- nav").leng th&&a(docu ment.creat eElement(" div")).add Class("dro pdown-back drop").ins ertAfter(a (this)).on ("click",c );var h={r elatedTarg et:this};i f(f.trigge r(d=a.Even t("show.bs .dropdown" ,h)),d.isD efaultPrev ented())re turn;e.tri gger("focu s").attr(" aria-expan ded","true "),f.toggl eClass("op en").trigg er("shown. bs.dropdow n",h)}retu rn!1}},g.p rototype.k eydown=fun ction(c){i f(/(38|40| 27|32)/.te st(c.which )&&!/input |textarea/ i.test(c.t arget.tagN ame)){var  d=a(this); if(c.preve ntDefault( ),c.stopPr opagation( ),!d.is(". disabled,  :disabled" )){var e=b (d),g=e.ha sClass("op en");if(!g &&27!=c.wh ich||g&&27 ==c.which) return 27= =c.which&& e.find(f). trigger("f ocus"),d.t rigger("cl ick");var  h=" li:not (.disabled ):visible  a",i=e.fin d(".dropdo wn-menu"+h );if(i.len gth){var j =i.index(c .target);3 8==c.which &&j>0&&j-- ,40==c.whi ch&&j<i.le ngth-1&&j+ +,~j||(j=0 ),i.eq(j). trigger("f ocus")}}}} ;var h=a.f n.dropdown ;a.fn.drop down=d,a.f n.dropdown .Construct or=g,a.fn. dropdown.n oConflict= function() {return a. fn.dropdow n=h,this}, a(document ).on("clic k.bs.dropd own.data-a pi",c).on( "click.bs. dropdown.d ata-api"," .dropdown  form",func tion(a){a. stopPropag ation()}). on("click. bs.dropdow n.data-api ",f,g.prot otype.togg le).on("ke ydown.bs.d ropdown.da ta-api",f, g.prototyp e.keydown) .on("keydo wn.bs.drop down.data- api",".dro pdown-menu ",g.protot ype.keydow n)}(jQuery ),+functio n(a){"use  strict";fu nction b(b ,d){return  this.each (function( ){var e=a( this),f=e. data("bs.m odal"),g=a .extend({} ,c.DEFAULT S,e.data() ,"object"= =typeof b& &b);f||e.d ata("bs.mo dal",f=new  c(this,g) ),"string" ==typeof b ?f[b](d):g .show&&f.s how(d)})}v ar c=funct ion(b,c){t his.option s=c,this.$ body=a(doc ument.body ),this.$el ement=a(b) ,this.$dia log=this.$ element.fi nd(".modal -dialog"), this.$back drop=null, this.isSho wn=null,th is.origina lBodyPad=n ull,this.s crollbarWi dth=0,this .ignoreBac kdropClick =!1,this.o ptions.rem ote&&this. $element.f ind(".moda l-content" ).load(thi s.options. remote,a.p roxy(funct ion(){this .$element. trigger("l oaded.bs.m odal")},th is))};c.VE RSION="3.3 .5",c.TRAN SITION_DUR ATION=300, c.BACKDROP _TRANSITIO N_DURATION =150,c.DEF AULTS={bac kdrop:!0,k eyboard:!0 ,show:!0}, c.prototyp e.toggle=f unction(a) {return th is.isShown ?this.hide ():this.sh ow(a)},c.p rototype.s how=functi on(b){var  d=this,e=a .Event("sh ow.bs.moda l",{relate dTarget:b} );this.$el ement.trig ger(e),thi s.isShown| |e.isDefau ltPrevente d()||(this .isShown=! 0,this.che ckScrollba r(),this.s etScrollba r(),this.$ body.addCl ass("modal -open"),th is.escape( ),this.res ize(),this .$element. on("click. dismiss.bs .modal",'[ data-dismi ss="modal" ]',a.proxy (this.hide ,this)),th is.$dialog .on("mouse down.dismi ss.bs.moda l",functio n(){d.$ele ment.one(" mouseup.di smiss.bs.m odal",func tion(b){a( b.target). is(d.$elem ent)&&(d.i gnoreBackd ropClick=! 0)})}),thi s.backdrop (function( ){var e=a. support.tr ansition&& d.$element .hasClass( "fade");d. $element.p arent().le ngth||d.$e lement.app endTo(d.$b ody),d.$el ement.show ().scrollT op(0),d.ad justDialog (),e&&d.$e lement[0]. offsetWidt h,d.$eleme nt.addClas s("in"),d. enforceFoc us();var f =a.Event(" shown.bs.m odal",{rel atedTarget :b});e?d.$ dialog.one ("bsTransi tionEnd",f unction(){ d.$element .trigger(" focus").tr igger(f)}) .emulateTr ansitionEn d(c.TRANSI TION_DURAT ION):d.$el ement.trig ger("focus ").trigger (f)}))},c. prototype. hide=funct ion(b){b&& b.preventD efault(),b =a.Event(" hide.bs.mo dal"),this .$element. trigger(b) ,this.isSh own&&!b.is DefaultPre vented()&& (this.isSh own=!1,thi s.escape() ,this.resi ze(),a(doc ument).off ("focusin. bs.modal") ,this.$ele ment.remov eClass("in ").off("cl ick.dismis s.bs.modal ").off("mo useup.dism iss.bs.mod al"),this. $dialog.of f("mousedo wn.dismiss .bs.modal" ),a.suppor t.transiti on&&this.$ element.ha sClass("fa de")?this. $element.o ne("bsTran sitionEnd" ,a.proxy(t his.hideMo dal,this)) .emulateTr ansitionEn d(c.TRANSI TION_DURAT ION):this. hideModal( ))},c.prot otype.enfo rceFocus=f unction(){ a(document ).off("foc usin.bs.mo dal").on(" focusin.bs .modal",a. proxy(func tion(a){th is.$elemen t[0]===a.t arget||thi s.$element .has(a.tar get).lengt h||this.$e lement.tri gger("focu s")},this) )},c.proto type.escap e=function (){this.is Shown&&thi s.options. keyboard?t his.$eleme nt.on("key down.dismi ss.bs.moda l",a.proxy (function( a){27==a.w hich&&this .hide()},t his)):this .isShown|| this.$elem ent.off("k eydown.dis miss.bs.mo dal")},c.p rototype.r esize=func tion(){thi s.isShown? a(window). on("resize .bs.modal" ,a.proxy(t his.handle Update,thi s)):a(wind ow).off("r esize.bs.m odal")},c. prototype. hideModal= function() {var a=thi s;this.$el ement.hide (),this.ba ckdrop(fun ction(){a. $body.remo veClass("m odal-open" ),a.resetA djustments (),a.reset Scrollbar( ),a.$eleme nt.trigger ("hidden.b s.modal")} )},c.proto type.remov eBackdrop= function() {this.$bac kdrop&&thi s.$backdro p.remove() ,this.$bac kdrop=null },c.protot ype.backdr op=functio n(b){var d =this,e=th is.$elemen t.hasClass ("fade")?" fade":"";i f(this.isS hown&&this .options.b ackdrop){v ar f=a.sup port.trans ition&&e;i f(this.$ba ckdrop=a(d ocument.cr eateElemen t("div")). addClass(" modal-back drop "+e). appendTo(t his.$body) ,this.$ele ment.on("c lick.dismi ss.bs.moda l",a.proxy (function( a){return  this.ignor eBackdropC lick?void( this.ignor eBackdropC lick=!1):v oid(a.targ et===a.cur rentTarget &&("static "==this.op tions.back drop?this. $element[0 ].focus(): this.hide( )))},this) ),f&&this. $backdrop[ 0].offsetW idth,this. $backdrop. addClass(" in"),!b)re turn;f?thi s.$backdro p.one("bsT ransitionE nd",b).emu lateTransi tionEnd(c. BACKDROP_T RANSITION_ DURATION): b()}else i f(!this.is Shown&&thi s.$backdro p){this.$b ackdrop.re moveClass( "in");var  g=function (){d.remov eBackdrop( ),b&&b()}; a.support. transition &&this.$el ement.hasC lass("fade ")?this.$b ackdrop.on e("bsTrans itionEnd", g).emulate Transition End(c.BACK DROP_TRANS ITION_DURA TION):g()} else b&&b( )},c.proto type.handl eUpdate=fu nction(){t his.adjust Dialog()}, c.prototyp e.adjustDi alog=funct ion(){var  a=this.$el ement[0].s crollHeigh t>document .documentE lement.cli entHeight; this.$elem ent.css({p addingLeft :!this.bod yIsOverflo wing&&a?th is.scrollb arWidth:"" ,paddingRi ght:this.b odyIsOverf lowing&&!a ?this.scro llbarWidth :""})},c.p rototype.r esetAdjust ments=func tion(){thi s.$element .css({padd ingLeft:"" ,paddingRi ght:""})}, c.prototyp e.checkScr ollbar=fun ction(){va r a=window .innerWidt h;if(!a){v ar b=docum ent.docume ntElement. getBoundin gClientRec t();a=b.ri ght-Math.a bs(b.left) }this.body IsOverflow ing=docume nt.body.cl ientWidth< a,this.scr ollbarWidt h=this.mea sureScroll bar()},c.p rototype.s etScrollba r=function (){var a=p arseInt(th is.$body.c ss("paddin g-right")| |0,10);thi s.original BodyPad=do cument.bod y.style.pa ddingRight ||"",this. bodyIsOver flowing&&t his.$body. css("paddi ng-right", a+this.scr ollbarWidt h)},c.prot otype.rese tScrollbar =function( ){this.$bo dy.css("pa dding-righ t",this.or iginalBody Pad)},c.pr ototype.me asureScrol lbar=funct ion(){var  a=document .createEle ment("div" );a.classN ame="modal -scrollbar -measure", this.$body .append(a) ;var b=a.o ffsetWidth -a.clientW idth;retur n this.$bo dy[0].remo veChild(a) ,b};var d= a.fn.modal ;a.fn.moda l=b,a.fn.m odal.Const ructor=c,a .fn.modal. noConflict =function( ){return a .fn.modal= d,this},a( document). on("click. bs.modal.d ata-api",' [data-togg le="modal" ]',functio n(c){var d =a(this),e =d.attr("h ref"),f=a( d.attr("da ta-target" )||e&&e.re place(/.*( ?=#[^\s]+$ )/,"")),g= f.data("bs .modal")?" toggle":a. extend({re mote:!/#/. test(e)&&e },f.data() ,d.data()) ;d.is("a") &&c.preven tDefault() ,f.one("sh ow.bs.moda l",functio n(a){a.isD efaultPrev ented()||f .one("hidd en.bs.moda l",functio n(){d.is(" :visible") &&d.trigge r("focus") })}),b.cal l(f,g,this )})}(jQuer y),+functi on(a){"use  strict";f unction b( b){return  this.each( function() {var d=a(t his),e=d.d ata("bs.to oltip"),f= "object"== typeof b&& b;(e||!/de stroy|hide /.test(b)) &&(e||d.da ta("bs.too ltip",e=ne w c(this,f )),"string "==typeof  b&&e[b]()) })}var c=f unction(a, b){this.ty pe=null,th is.options =null,this .enabled=n ull,this.t imeout=nul l,this.hov erState=nu ll,this.$e lement=nul l,this.inS tate=null, this.init( "tooltip", a,b)};c.VE RSION="3.3 .5",c.TRAN SITION_DUR ATION=150, c.DEFAULTS ={animatio n:!0,place ment:"top" ,selector: !1,templat e:'<div cl ass="toolt ip" role=" tooltip">< div class= "tooltip-a rrow"></di v><div cla ss="toolti p-inner">< /div></div >',trigger :"hover fo cus",title :"",delay: 0,html:!1, container: !1,viewpor t:{selecto r:"body",p adding:0}} ,c.prototy pe.init=fu nction(b,c ,d){if(thi s.enabled= !0,this.ty pe=b,this. $element=a (c),this.o ptions=thi s.getOptio ns(d),this .$viewport =this.opti ons.viewpo rt&&a(a.is Function(t his.option s.viewport )?this.opt ions.viewp ort.call(t his,this.$ element):t his.option s.viewport .selector| |this.opti ons.viewpo rt),this.i nState={cl ick:!1,hov er:!1,focu s:!1},this .$element[ 0]instance of documen t.construc tor&&!this .options.s elector)th row new Er ror("`sele ctor` opti on must be  specified  when init ializing " +this.type +" on the  window.doc ument obje ct!");for( var e=this .options.t rigger.spl it(" "),f= e.length;f --;){var g =e[f];if(" click"==g) this.$elem ent.on("cl ick."+this .type,this .options.s elector,a. proxy(this .toggle,th is));else  if("manual "!=g){var  h="hover"= =g?"mousee nter":"foc usin",i="h over"==g?" mouseleave ":"focusou t";this.$e lement.on( h+"."+this .type,this .options.s elector,a. proxy(this .enter,thi s)),this.$ element.on (i+"."+thi s.type,thi s.options. selector,a .proxy(thi s.leave,th is))}}this .options.s elector?th is._option s=a.extend ({},this.o ptions,{tr igger:"man ual",selec tor:""}):t his.fixTit le()},c.pr ototype.ge tDefaults= function() {return c. DEFAULTS}, c.prototyp e.getOptio ns=functio n(b){retur n b=a.exte nd({},this .getDefaul ts(),this. $element.d ata(),b),b .delay&&"n umber"==ty peof b.del ay&&(b.del ay={show:b .delay,hid e:b.delay} ),b},c.pro totype.get DelegateOp tions=func tion(){var  b={},c=th is.getDefa ults();ret urn this._ options&&a .each(this ._options, function(a ,d){c[a]!= d&&(b[a]=d )}),b},c.p rototype.e nter=funct ion(b){var  c=b insta nceof this .construct or?b:a(b.c urrentTarg et).data(" bs."+this. type);retu rn c||(c=n ew this.co nstructor( b.currentT arget,this .getDelega teOptions( )),a(b.cur rentTarget ).data("bs ."+this.ty pe,c)),b i nstanceof  a.Event&&( c.inState[ "focusin"= =b.type?"f ocus":"hov er"]=!0),c .tip().has Class("in" )||"in"==c .hoverStat e?void(c.h overState= "in"):(cle arTimeout( c.timeout) ,c.hoverSt ate="in",c .options.d elay&&c.op tions.dela y.show?voi d(c.timeou t=setTimeo ut(functio n(){"in"== c.hoverSta te&&c.show ()},c.opti ons.delay. show)):c.s how())},c. prototype. isInStateT rue=functi on(){for(v ar a in th is.inState )if(this.i nState[a]) return!0;r eturn!1},c .prototype .leave=fun ction(b){v ar c=b ins tanceof th is.constru ctor?b:a(b .currentTa rget).data ("bs."+thi s.type);re turn c||(c =new this. constructo r(b.curren tTarget,th is.getDele gateOption s()),a(b.c urrentTarg et).data(" bs."+this. type,c)),b  instanceo f a.Event& &(c.inStat e["focusou t"==b.type ?"focus":" hover"]=!1 ),c.isInSt ateTrue()? void 0:(cl earTimeout (c.timeout ),c.hoverS tate="out" ,c.options .delay&&c. options.de lay.hide?v oid(c.time out=setTim eout(funct ion(){"out "==c.hover State&&c.h ide()},c.o ptions.del ay.hide)): c.hide())} ,c.prototy pe.show=fu nction(){v ar b=a.Eve nt("show.b s."+this.t ype);if(th is.hasCont ent()&&thi s.enabled) {this.$ele ment.trigg er(b);var  d=a.contai ns(this.$e lement[0]. ownerDocum ent.docume ntElement, this.$elem ent[0]);if (b.isDefau ltPrevente d()||!d)re turn;var e =this,f=th is.tip(),g =this.getU ID(this.ty pe);this.s etContent( ),f.attr(" id",g),thi s.$element .attr("ari a-describe dby",g),th is.options .animation &&f.addCla ss("fade") ;var h="fu nction"==t ypeof this .options.p lacement?t his.option s.placemen t.call(thi s,f[0],thi s.$element [0]):this. options.pl acement,i= /\s?auto?\ s?/i,j=i.t est(h);j&& (h=h.repla ce(i,"")|| "top"),f.d etach().cs s({top:0,l eft:0,disp lay:"block "}).addCla ss(h).data ("bs."+thi s.type,thi s),this.op tions.cont ainer?f.ap pendTo(thi s.options. container) :f.insertA fter(this. $element), this.$elem ent.trigge r("inserte d.bs."+thi s.type);va r k=this.g etPosition (),l=f[0]. offsetWidt h,m=f[0].o ffsetHeigh t;if(j){va r n=h,o=th is.getPosi tion(this. $viewport) ;h="bottom "==h&&k.bo ttom+m>o.b ottom?"top ":"top"==h &&k.top-m< o.top?"bot tom":"righ t"==h&&k.r ight+l>o.w idth?"left ":"left"== h&&k.left- l<o.left?" right":h,f .removeCla ss(n).addC lass(h)}va r p=this.g etCalculat edOffset(h ,k,l,m);th is.applyPl acement(p, h);var q=f unction(){ var a=e.ho verState;e .$element. trigger("s hown.bs."+ e.type),e. hoverState =null,"out "==a&&e.le ave(e)};a. support.tr ansition&& this.$tip. hasClass(" fade")?f.o ne("bsTran sitionEnd" ,q).emulat eTransitio nEnd(c.TRA NSITION_DU RATION):q( )}},c.prot otype.appl yPlacement =function( b,c){var d =this.tip( ),e=d[0].o ffsetWidth ,f=d[0].of fsetHeight ,g=parseIn t(d.css("m argin-top" ),10),h=pa rseInt(d.c ss("margin -left"),10 );isNaN(g) &&(g=0),is NaN(h)&&(h =0),b.top+ =g,b.left+ =h,a.offse t.setOffse t(d[0],a.e xtend({usi ng:functio n(a){d.css ({top:Math .round(a.t op),left:M ath.round( a.left)})} },b),0),d. addClass(" in");var i =d[0].offs etWidth,j= d[0].offse tHeight;"t op"==c&&j! =f&&(b.top =b.top+f-j );var k=th is.getView portAdjust edDelta(c, b,i,j);k.l eft?b.left +=k.left:b .top+=k.to p;var l=/t op|bottom/ .test(c),m =l?2*k.lef t-e+i:2*k. top-f+j,n= l?"offsetW idth":"off setHeight" ;d.offset( b),this.re placeArrow (m,d[0][n] ,l)},c.pro totype.rep laceArrow= function(a ,b,c){this .arrow().c ss(c?"left ":"top",50 *(1-a/b)+" %").css(c? "top":"lef t","")},c. prototype. setContent =function( ){var a=th is.tip(),b =this.getT itle();a.f ind(".tool tip-inner" )[this.opt ions.html? "html":"te xt"](b),a. removeClas s("fade in  top botto m left rig ht")},c.pr ototype.hi de=functio n(b){funct ion d(){"i n"!=e.hove rState&&f. detach(),e .$element. removeAttr ("aria-des cribedby") .trigger(" hidden.bs. "+e.type), b&&b()}var  e=this,f= a(this.$ti p),g=a.Eve nt("hide.b s."+this.t ype);retur n this.$el ement.trig ger(g),g.i sDefaultPr evented()? void 0:(f. removeClas s("in"),a. support.tr ansition&& f.hasClass ("fade")?f .one("bsTr ansitionEn d",d).emul ateTransit ionEnd(c.T RANSITION_ DURATION): d(),this.h overState= null,this) },c.protot ype.fixTit le=functio n(){var a= this.$elem ent;(a.att r("title") ||"string" !=typeof a .attr("dat a-original -title"))& &a.attr("d ata-origin al-title", a.attr("ti tle")||"") .attr("tit le","")},c .prototype .hasConten t=function (){return  this.getTi tle()},c.p rototype.g etPosition =function( b){b=b||th is.$elemen t;var c=b[ 0],d="BODY "==c.tagNa me,e=c.get BoundingCl ientRect() ;null==e.w idth&&(e=a .extend({} ,e,{width: e.right-e. left,heigh t:e.bottom -e.top})); var f=d?{t op:0,left: 0}:b.offse t(),g={scr oll:d?docu ment.docum entElement .scrollTop ||document .body.scro llTop:b.sc rollTop()} ,h=d?{widt h:a(window ).width(), height:a(w indow).hei ght()}:nul l;return a .extend({} ,e,g,h,f)} ,c.prototy pe.getCalc ulatedOffs et=functio n(a,b,c,d) {return"bo ttom"==a?{ top:b.top+ b.height,l eft:b.left +b.width/2 -c/2}:"top "==a?{top: b.top-d,le ft:b.left+ b.width/2- c/2}:"left "==a?{top: b.top+b.he ight/2-d/2 ,left:b.le ft-c}:{top :b.top+b.h eight/2-d/ 2,left:b.l eft+b.widt h}},c.prot otype.getV iewportAdj ustedDelta =function( a,b,c,d){v ar e={top: 0,left:0}; if(!this.$ viewport)r eturn e;va r f=this.o ptions.vie wport&&thi s.options. viewport.p adding||0, g=this.get Position(t his.$viewp ort);if(/r ight|left/ .test(a)){ var h=b.to p-f-g.scro ll,i=b.top +f-g.scrol l+d;h<g.to p?e.top=g. top-h:i>g. top+g.heig ht&&(e.top =g.top+g.h eight-i)}e lse{var j= b.left-f,k =b.left+f+ c;j<g.left ?e.left=g. left-j:k>g .right&&(e .left=g.le ft+g.width -k)}return  e},c.prot otype.getT itle=funct ion(){var  a,b=this.$ element,c= this.optio ns;return  a=b.attr(" data-origi nal-title" )||("funct ion"==type of c.title ?c.title.c all(b[0]): c.title)}, c.prototyp e.getUID=f unction(a) {do a+=~~( 1e6*Math.r andom());w hile(docum ent.getEle mentById(a ));return  a},c.proto type.tip=f unction(){ if(!this.$ tip&&(this .$tip=a(th is.options .template) ,1!=this.$ tip.length ))throw ne w Error(th is.type+"  `template`  option mu st consist  of exactl y 1 top-le vel elemen t!");retur n this.$ti p},c.proto type.arrow =function( ){return t his.$arrow =this.$arr ow||this.t ip().find( ".tooltip- arrow")},c .prototype .enable=fu nction(){t his.enable d=!0},c.pr ototype.di sable=func tion(){thi s.enabled= !1},c.prot otype.togg leEnabled= function() {this.enab led=!this. enabled},c .prototype .toggle=fu nction(b){ var c=this ;b&&(c=a(b .currentTa rget).data ("bs."+thi s.type),c| |(c=new th is.constru ctor(b.cur rentTarget ,this.getD elegateOpt ions()),a( b.currentT arget).dat a("bs."+th is.type,c) )),b?(c.in State.clic k=!c.inSta te.click,c .isInState True()?c.e nter(c):c. leave(c)): c.tip().ha sClass("in ")?c.leave (c):c.ente r(c)},c.pr ototype.de stroy=func tion(){var  a=this;cl earTimeout (this.time out),this. hide(funct ion(){a.$e lement.off ("."+a.typ e).removeD ata("bs."+ a.type),a. $tip&&a.$t ip.detach( ),a.$tip=n ull,a.$arr ow=null,a. $viewport= null})};va r d=a.fn.t ooltip;a.f n.tooltip= b,a.fn.too ltip.Const ructor=c,a .fn.toolti p.noConfli ct=functio n(){return  a.fn.tool tip=d,this }}(jQuery) ,+function (a){"use s trict";fun ction b(b) {return th is.each(fu nction(){v ar d=a(thi s),e=d.dat a("bs.popo ver"),f="o bject"==ty peof b&&b; (e||!/dest roy|hide/. test(b))&& (e||d.data ("bs.popov er",e=new  c(this,f)) ,"string"= =typeof b& &e[b]())}) }var c=fun ction(a,b) {this.init ("popover" ,a,b)};if( !a.fn.tool tip)throw  new Error( "Popover r equires to oltip.js") ;c.VERSION ="3.3.5",c .DEFAULTS= a.extend({ },a.fn.too ltip.Const ructor.DEF AULTS,{pla cement:"ri ght",trigg er:"click" ,content:" ",template :'<div cla ss="popove r" role="t ooltip"><d iv class=" arrow"></d iv><h3 cla ss="popove r-title">< /h3><div c lass="popo ver-conten t"></div>< /div>'}),c .prototype =a.extend( {},a.fn.to oltip.Cons tructor.pr ototype),c .prototype .construct or=c,c.pro totype.get Defaults=f unction(){ return c.D EFAULTS},c .prototype .setConten t=function (){var a=t his.tip(), b=this.get Title(),c= this.getCo ntent();a. find(".pop over-title ")[this.op tions.html ?"html":"t ext"](b),a .find(".po pover-cont ent").chil dren().det ach().end( )[this.opt ions.html? "string"== typeof c?" html":"app end":"text "](c),a.re moveClass( "fade top  bottom lef t right in "),a.find( ".popover- title").ht ml()||a.fi nd(".popov er-title") .hide()},c .prototype .hasConten t=function (){return  this.getTi tle()||thi s.getConte nt()},c.pr ototype.ge tContent=f unction(){ var a=this .$element, b=this.opt ions;retur n a.attr(" data-conte nt")||("fu nction"==t ypeof b.co ntent?b.co ntent.call (a[0]):b.c ontent)},c .prototype .arrow=fun ction(){re turn this. $arrow=thi s.$arrow|| this.tip() .find(".ar row")};var  d=a.fn.po pover;a.fn .popover=b ,a.fn.popo ver.Constr uctor=c,a. fn.popover .noConflic t=function (){return  a.fn.popov er=d,this} }(jQuery), +function( a){"use st rict";func tion b(c,d ){this.$bo dy=a(docum ent.body), this.$scro llElement= a(a(c).is( document.b ody)?windo w:c),this. options=a. extend({}, b.DEFAULTS ,d),this.s elector=(t his.option s.target|| "")+" .nav  li > a",t his.offset s=[],this. targets=[] ,this.acti veTarget=n ull,this.s crollHeigh t=0,this.$ scrollElem ent.on("sc roll.bs.sc rollspy",a .proxy(thi s.process, this)),thi s.refresh( ),this.pro cess()}fun ction c(c) {return th is.each(fu nction(){v ar d=a(thi s),e=d.dat a("bs.scro llspy"),f= "object"== typeof c&& c;e||d.dat a("bs.scro llspy",e=n ew b(this, f)),"strin g"==typeof  c&&e[c]() })}b.VERSI ON="3.3.5" ,b.DEFAULT S={offset: 10},b.prot otype.getS crollHeigh t=function (){return  this.$scro llElement[ 0].scrollH eight||Mat h.max(this .$body[0]. scrollHeig ht,documen t.document Element.sc rollHeight )},b.proto type.refre sh=functio n(){var b= this,c="of fset",d=0; this.offse ts=[],this .targets=[ ],this.scr ollHeight= this.getSc rollHeight (),a.isWin dow(this.$ scrollElem ent[0])||( c="positio n",d=this. $scrollEle ment.scrol lTop()),th is.$body.f ind(this.s elector).m ap(functio n(){var b= a(this),e= b.data("ta rget")||b. attr("href "),f=/^#./ .test(e)&& a(e);retur n f&&f.len gth&&f.is( ":visible" )&&[[f[c]( ).top+d,e] ]||null}). sort(funct ion(a,b){r eturn a[0] -b[0]}).ea ch(functio n(){b.offs ets.push(t his[0]),b. targets.pu sh(this[1] )})},b.pro totype.pro cess=funct ion(){var  a,b=this.$ scrollElem ent.scroll Top()+this .options.o ffset,c=th is.getScro llHeight() ,d=this.op tions.offs et+c-this. $scrollEle ment.heigh t(),e=this .offsets,f =this.targ ets,g=this .activeTar get;if(thi s.scrollHe ight!=c&&t his.refres h(),b>=d)r eturn g!=( a=f[f.leng th-1])&&th is.activat e(a);if(g& &b<e[0])re turn this. activeTarg et=null,th is.clear() ;for(a=e.l ength;a--; )g!=f[a]&& b>=e[a]&&( void 0===e [a+1]||b<e [a+1])&&th is.activat e(f[a])},b .prototype .activate= function(b ){this.act iveTarget= b,this.cle ar();var c =this.sele ctor+'[dat a-target=" '+b+'"],'+ this.selec tor+'[href ="'+b+'"]' ,d=a(c).pa rents("li" ).addClass ("active") ;d.parent( ".dropdown -menu").le ngth&&(d=d .closest(" li.dropdow n").addCla ss("active ")),        
7   d.trigger( "activate. bs.scrolls py")},b.pr ototype.cl ear=functi on(){a(thi s.selector ).parentsU ntil(this. options.ta rget,".act ive").remo veClass("a ctive")};v ar d=a.fn. scrollspy; a.fn.scrol lspy=c,a.f n.scrollsp y.Construc tor=b,a.fn .scrollspy .noConflic t=function (){return  a.fn.scrol lspy=d,thi s},a(windo w).on("loa d.bs.scrol lspy.data- api",funct ion(){a('[ data-spy=" scroll"]') .each(func tion(){var  b=a(this) ;c.call(b, b.data())} )})}(jQuer y),+functi on(a){"use  strict";f unction b( b){return  this.each( function() {var d=a(t his),e=d.d ata("bs.ta b");e||d.d ata("bs.ta b",e=new c (this)),"s tring"==ty peof b&&e[ b]()})}var  c=functio n(b){this. element=a( b)};c.VERS ION="3.3.5 ",c.TRANSI TION_DURAT ION=150,c. prototype. show=funct ion(){var  b=this.ele ment,c=b.c losest("ul :not(.drop down-menu) "),d=b.dat a("target" );if(d||(d =b.attr("h ref"),d=d& &d.replace (/.*(?=#[^ \s]*$)/,"" )),!b.pare nt("li").h asClass("a ctive")){v ar e=c.fin d(".active :last a"), f=a.Event( "hide.bs.t ab",{relat edTarget:b [0]}),g=a. Event("sho w.bs.tab", {relatedTa rget:e[0]} );if(e.tri gger(f),b. trigger(g) ,!g.isDefa ultPrevent ed()&&!f.i sDefaultPr evented()) {var h=a(d );this.act ivate(b.cl osest("li" ),c),this. activate(h ,h.parent( ),function (){e.trigg er({type:" hidden.bs. tab",relat edTarget:b [0]}),b.tr igger({typ e:"shown.b s.tab",rel atedTarget :e[0]})})} }},c.proto type.activ ate=functi on(b,d,e){ function f (){g.remov eClass("ac tive").fin d("> .drop down-menu  > .active" ).removeCl ass("activ e").end(). find('[dat a-toggle=" tab"]').at tr("aria-e xpanded",! 1),b.addCl ass("activ e").find(' [data-togg le="tab"]' ).attr("ar ia-expande d",!0),h?( b[0].offse tWidth,b.a ddClass("i n")):b.rem oveClass(" fade"),b.p arent(".dr opdown-men u").length &&b.closes t("li.drop down").add Class("act ive").end( ).find('[d ata-toggle ="tab"]'). attr("aria -expanded" ,!0),e&&e( )}var g=d. find("> .a ctive"),h= e&&a.suppo rt.transit ion&&(g.le ngth&&g.ha sClass("fa de")||!!d. find("> .f ade").leng th);g.leng th&&h?g.on e("bsTrans itionEnd", f).emulate Transition End(c.TRAN SITION_DUR ATION):f() ,g.removeC lass("in") };var d=a. fn.tab;a.f n.tab=b,a. fn.tab.Con structor=c ,a.fn.tab. noConflict =function( ){return a .fn.tab=d, this};var  e=function (c){c.prev entDefault (),b.call( a(this),"s how")};a(d ocument).o n("click.b s.tab.data -api",'[da ta-toggle= "tab"]',e) .on("click .bs.tab.da ta-api",'[ data-toggl e="pill"]' ,e)}(jQuer y),+functi on(a){"use  strict";f unction b( b){return  this.each( function() {var d=a(t his),e=d.d ata("bs.af fix"),f="o bject"==ty peof b&&b; e||d.data( "bs.affix" ,e=new c(t his,f)),"s tring"==ty peof b&&e[ b]()})}var  c=functio n(b,d){thi s.options= a.extend({ },c.DEFAUL TS,d),this .$target=a (this.opti ons.target ).on("scro ll.bs.affi x.data-api ",a.proxy( this.check Position,t his)).on(" click.bs.a ffix.data- api",a.pro xy(this.ch eckPositio nWithEvent Loop,this) ),this.$el ement=a(b) ,this.affi xed=null,t his.unpin= null,this. pinnedOffs et=null,th is.checkPo sition()}; c.VERSION= "3.3.5",c. RESET="aff ix affix-t op affix-b ottom",c.D EFAULTS={o ffset:0,ta rget:windo w},c.proto type.getSt ate=functi on(a,b,c,d ){var e=th is.$target .scrollTop (),f=this. $element.o ffset(),g= this.$targ et.height( );if(null! =c&&"top"= =this.affi xed)return  c>e?"top" :!1;if("bo ttom"==thi s.affixed) return nul l!=c?e+thi s.unpin<=f .top?!1:"b ottom":a-d >=e+g?!1:" bottom";va r h=null== this.affix ed,i=h?e:f .top,j=h?g :b;return  null!=c&&c >=e?"top": null!=d&&i +j>=a-d?"b ottom":!1} ,c.prototy pe.getPinn edOffset=f unction(){ if(this.pi nnedOffset )return th is.pinnedO ffset;this .$element. removeClas s(c.RESET) .addClass( "affix");v ar a=this. $target.sc rollTop(), b=this.$el ement.offs et();retur n this.pin nedOffset= b.top-a},c .prototype .checkPosi tionWithEv entLoop=fu nction(){s etTimeout( a.proxy(th is.checkPo sition,thi s),1)},c.p rototype.c heckPositi on=functio n(){if(thi s.$element .is(":visi ble")){var  b=this.$e lement.hei ght(),d=th is.options .offset,e= d.top,f=d. bottom,g=M ath.max(a( document). height(),a (document. body).heig ht());"obj ect"!=type of d&&(f=e =d),"funct ion"==type of e&&(e=d .top(this. $element)) ,"function "==typeof  f&&(f=d.bo ttom(this. $element)) ;var h=thi s.getState (g,b,e,f); if(this.af fixed!=h){ null!=this .unpin&&th is.$elemen t.css("top ","");var  i="affix"+ (h?"-"+h:" "),j=a.Eve nt(i+".bs. affix");if (this.$ele ment.trigg er(j),j.is DefaultPre vented())r eturn;this .affixed=h ,this.unpi n="bottom" ==h?this.g etPinnedOf fset():nul l,this.$el ement.remo veClass(c. RESET).add Class(i).t rigger(i.r eplace("af fix","affi xed")+".bs .affix")}" bottom"==h &&this.$el ement.offs et({top:g- b-f})}};va r d=a.fn.a ffix;a.fn. affix=b,a. fn.affix.C onstructor =c,a.fn.af fix.noConf lict=funct ion(){retu rn a.fn.af fix=d,this },a(window ).on("load ",function (){a('[dat a-spy="aff ix"]').eac h(function (){var c=a (this),d=c .data();d. offset=d.o ffset||{}, null!=d.of fsetBottom &&(d.offse t.bottom=d .offsetBot tom),null! =d.offsetT op&&(d.off set.top=d. offsetTop) ,b.call(c, d)})})}(jQ uery);