/* Minification failed. Returning unminified contents.
(22,832-839): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,28417-28425): run-time error JS1137: 'function' is a new reserved word and should not be used as an identifier: function
(22,28505-28513): run-time error JS1137: 'function' is a new reserved word and should not be used as an identifier: function
(22,1356-1363): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,1398-1405): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,1629-1636): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2467-2474): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2601-2608): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2818-2825): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2854-2861): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2973-2980): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3069-3076): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3318-3325): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3500-3507): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3577-3584): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3618-3625): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3688-3695): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3721-3728): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3796-3803): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3960-3967): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4085-4092): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4339-4346): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4438-4445): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4473-4480): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4503-4510): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4548-4555): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4592-4599): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4749-4756): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5011-5018): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5176-5183): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5404-5411): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5474-5481): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5610-5617): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5806-5813): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5917-5924): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5950-5957): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6290-6297): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6436-6443): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6475-6482): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6540-6547): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7068-7075): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7107-7114): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7141-7148): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7190-7197): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7268-7275): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,8130-8137): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,8987-8994): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9194-9201): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9226-9233): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9736-9743): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9853-9860): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10630-10637): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10783-10790): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10865-10872): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10992-10999): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11073-11080): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11301-11308): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12122-12129): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12208-12215): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12389-12396): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12489-12496): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12863-12870): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13056-13063): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13137-13144): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13181-13188): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13218-13225): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13243-13250): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13546-13553): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13592-13599): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13645-13652): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13735-13742): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13805-13812): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13840-13847): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13891-13898): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14011-14018): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14056-14063): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14172-14179): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14483-14490): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14505-14512): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14551-14558): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14571-14578): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14675-14682): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14694-14701): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14859-14866): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14967-14974): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15135-15142): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15191-15198): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15226-15233): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15256-15263): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15301-15308): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15358-15365): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16219-16226): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16347-16354): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16650-16657): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16733-16740): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16772-16779): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16861-16868): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16905-16912): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16971-16978): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17095-17102): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17300-17307): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17358-17365): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17478-17485): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17660-17667): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17709-17716): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17748-17755): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17929-17936): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18136-18143): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18209-18216): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18377-18384): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18458-18465): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18664-18671): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18953-18960): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19347-19354): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19494-19501): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19534-19541): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19777-19784): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20191-20198): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20339-20346): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20434-20441): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20470-20477): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20563-20570): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20598-20605): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20628-20635): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20673-20680): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,41628-41635): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42195-42202): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42248-42255): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42389-42396): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42436-42443): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42515-42522): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42597-42604): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43026-43033): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43172-43179): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43216-43223): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43272-43279): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43357-43364): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43399-43406): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43440-43447): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43530-43537): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43577-43584): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43655-43662): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43734-43741): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43820-43827): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43862-43869): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43903-43910): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43968-43975): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44018-44025): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44314-44321): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44493-44500): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44776-44783): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44859-44866): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,45013-45020): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,45122-45129): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,45764-45771): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,45847-45854): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46212-46219): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46332-46339): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46461-46468): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46500-46507): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46538-46545): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46630-46637): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46687-46694): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46777-46784): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46810-46817): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46851-46858): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47166-47173): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47257-47264): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47333-47340): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47477-47484): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47554-47561): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47717-47724): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48025-48032): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48422-48429): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48536-48543): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48573-48580): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48605-48612): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48651-48658): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48699-48706): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49278-49285): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49354-49361): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49405-49412): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49609-49616): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49720-49727): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49788-49795): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49854-49861): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50086-50093): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50122-50129): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50221-50228): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50342-50349): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50386-50393): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50431-50438): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50486-50493): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50603-50610): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50823-50830): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50856-50863): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50900-50907): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51377-51384): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51422-51429): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51702-51709): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51749-51756): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51854-51861): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52084-52091): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52479-52486): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52609-52616): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52698-52705): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52821-52828): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52916-52923): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53036-53043): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53163-53170): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53284-53291): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53498-53505): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53610-53617): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53690-53697): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53985-53992): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54078-54085): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54177-54184): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54275-54282): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54493-54500): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54543-54550): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54748-54755): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54880-54887): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54994-55001): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,55088-55095): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,55188-55195): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56079-56086): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56141-56148): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56175-56182): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56273-56280): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56334-56341): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56367-56374): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56504-56511): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56550-56557): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56660-56667): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56838-56845): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56877-56884): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56912-56919): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57045-57052): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57084-57091): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57141-57148): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57212-57219): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57259-57266): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57646-57653): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57689-57696): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57763-57770): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58034-58041): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58205-58212): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58249-58256): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58269-58276): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58361-58368): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58467-58474): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58537-58544): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58561-58568): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58600-58607): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58634-58641): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58682-58689): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,60159-60166): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,61941-61948): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62046-62053): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62198-62205): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62356-62363): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62417-62424): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62473-62480): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62569-62576): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62831-62838): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62931-62938): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63018-63025): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63092-63099): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63389-63396): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63615-63622): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63665-63672): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63738-63745): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63763-63770): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63889-63896): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63962-63969): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64018-64025): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64129-64136): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64217-64224): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64306-64313): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64440-64447): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64629-64636): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64735-64742): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64798-64805): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64874-64881): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64931-64938): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65034-65041): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65116-65123): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65373-65380): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65485-65492): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65604-65611): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65669-65676): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65918-65925): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65974-65981): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,66914-66921): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,66947-66954): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,67158-67165): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,67434-67441): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,67630-67637): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68142-68149): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68246-68253): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68345-68352): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68681-68688): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68785-68792): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,69236-69243): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,69900-69907): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,70276-70283): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,70450-70457): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71035-71042): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71072-71079): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71104-71111): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71150-71157): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71211-71218): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72121-72128): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72233-72240): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72308-72315): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72686-72693): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72861-72868): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72978-72985): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73462-73469): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73499-73506): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73531-73538): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73577-73584): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73640-73647): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,74103-74110): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,74734-74741): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,74938-74945): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,74989-74996): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,75331-75338): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,75381-75388): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,76634-76641): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77016-77023): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77364-77371): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77444-77451): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77696-77703): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77855-77862): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77912-77919): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77949-77956): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77981-77988): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78027-78034): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78075-78082): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78276-78283): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78321-78328): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78379-78386): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78559-78566): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78579-78586): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78620-78627): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78683-78690): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78738-78745): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78762-78769): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78936-78943): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78998-79005): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79048-79055): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79072-79079): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79169-79176): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79317-79324): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79350-79357): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79398-79405): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79531-79538): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79666-79673): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79707-79714): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79770-79777): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79875-79882): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80054-80061): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80111-80118): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80214-80221): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80355-80362): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80601-80608): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80771-80778): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80798-80805): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80835-80842): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80867-80874): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80913-80920): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80961-80968): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81253-81260): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81289-81296): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81520-81527): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81838-81845): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81991-81998): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82024-82031): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82223-82230): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82278-82285): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82405-82412): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82564-82571): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82751-82758): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82923-82930): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83147-83154): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83511-83518): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83550-83557): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83584-83591): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83632-83639): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
 */
/*
* FitVids 1.1
*
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
*/
(function(a){a.fn.fitVids=function(e){var f={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var d=document.head||document.getElementsByTagName("head")[0];var b=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}";var c=document.createElement("div");c.innerHTML='<p>x</p><style id="fit-vids-style">'+b+"</style>";d.appendChild(c.childNodes[1])}if(e){a.extend(f,e)}return this.each(function(){var i=["iframe[data-src='externalurl']","iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];if(f.customSelector){i.push(f.customSelector)}var h=".fitvidsignore";if(f.ignore){h=h+", "+f.ignore}var g=a(this).find(i.join(","));g=g.not("object object");g=g.not(h);g.each(function(){var j=a(this);if(j.parents(h).length>0){return}if(this.tagName.toLowerCase()==="embed"&&j.parent("object").length||j.parent(".fluid-width-video-wrapper").length){return}if((!j.css("height")&&!j.css("width"))&&(isNaN(j.attr("height"))||isNaN(j.attr("width")))){j.attr("height",9);j.attr("width",16)}var l=(this.tagName.toLowerCase()==="object"||(j.attr("height")&&!isNaN(parseInt(j.attr("height"),10))))?parseInt(j.attr("height"),10):j.height(),n=!isNaN(parseInt(j.attr("width"),10))?parseInt(j.attr("width"),10):j.width(),k=l/n;if(!j.attr("id")){var m="fitvid"+Math.floor(Math.random()*999999);j.attr("id",m)}j.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",(k*100)+"%");j.removeAttr("height").removeAttr("width")})})}})(window.jQuery||window.Zepto);;
/*
 * enquire.js v2.1.6 - Awesome Media Queries in JavaScript
 * Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/enquire.js
 * License: MIT */
!function(c){if("object"==typeof exports&&"undefined"!=typeof module){module.exports=c()}else{if("function"==typeof define&&define.amd){define([],c)}else{var d;d="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,d.enquire=c()}}}(function(){return function b(a,h,i){function j(c,d){if(!h[c]){if(!a[c]){var e="function"==typeof require&&require;if(!d&&e){return e(c,!0)}if(k){return k(c,!0)}var f=new Error("Cannot find module '"+c+"'");throw f.code="MODULE_NOT_FOUND",f}var m=h[c]={exports:{}};a[c][0].call(m.exports,function(g){var n=a[c][1][g];return j(n?n:g)},m,m.exports,b,a,h,i)}return h[c].exports}for(var k="function"==typeof require&&require,l=0;l<i.length;l++){j(i[l])}return j}({1:[function(g,h,i){function j(d,e){this.query=d,this.isUnconditional=e,this.handlers=[],this.mql=window.matchMedia(d);var f=this;this.listener=function(c){f.mql=c.currentTarget||c,f.assess()},this.mql.addListener(this.listener)}var k=g(3),l=g(4).each;j.prototype={constuctor:j,addHandler:function(c){var d=new k(c);this.handlers.push(d),this.matches()&&d.on()},removeHandler:function(c){var d=this.handlers;l(d,function(a,e){if(a.equals(c)){return a.destroy(),!d.splice(e,1)}})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){l(this.handlers,function(c){c.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var c=this.matches()?"on":"off";l(this.handlers,function(a){a[c]()})}},h.exports=j},{3:3,4:4}],2:[function(j,k,l){function m(){if(!window.matchMedia){throw new Error("matchMedia not present, legacy browsers require a polyfill")}this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var n=j(1),o=j(4),p=o.each,q=o.isFunction,r=o.isArray;m.prototype={constructor:m,register:function(e,g,h){var i=this.queries,s=h&&this.browserIsIncapable;return i[e]||(i[e]=new n(e,s)),q(g)&&(g={match:g}),r(g)||(g=[g]),p(g,function(a){q(a)&&(a={match:a}),i[e].addHandler(a)}),this},unregister:function(d,e){var f=this.queries[d];return f&&(e?f.removeHandler(e):(f.clear(),delete this.queries[d])),this}},k.exports=m},{1:1,4:4}],3:[function(e,f,g){function h(c){this.options=c,!c.deferSetup&&this.setup()}h.prototype={constructor:h,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(c){return this.options===c||this.options.match===c}},f.exports=h},{}],4:[function(g,h,i){function j(e,f){var m=0,n=e.length;for(m;m<n&&f(e[m],m)!==!1;m++){}}function k(c){return"[object Array]"===Object.prototype.toString.apply(c)}function l(c){return"function"==typeof c}h.exports={isFunction:l,isArray:k,each:j}},{}],5:[function(e,f,g){var h=e(2);f.exports=new h},{2:2}]},{},[5])(5)});;
/*! ScrollMagic v2.0.8 | (c) 2020 Jan Paepke (@janpaepke) | license & info: http://scrollmagic.io */
!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.ScrollMagic=t()}(this,function(){"use strict";function _(){}_.version="2.0.8","undefined"!=typeof window&&window.addEventListener("mousewheel",void 0);var P="data-scrollmagic-pin-spacer";_.Controller=function(e){function t(){var e,t,n;v&&u&&(e=R.type.Array(u)?u:f.slice(0),u=!1,t=d,0!=(n=(d=l.scrollPos())-t)&&(h=0<n?"FORWARD":i),h===i&&e.reverse(),e.forEach(function(e,t){e.update(!0)}))}function r(){n=R.rAF(t)}var n,o,i="REVERSE",s="PAUSED",a=z.defaults,l=this,c=R.extend({},a,e),f=[],u=!1,d=0,h=s,p=!0,g=0,v=!0,m=function(){0<c.refreshInterval&&(o=window.setTimeout(E,c.refreshInterval))},w=function(){return c.vertical?R.get.scrollTop(c.container):R.get.scrollLeft(c.container)},y=function(){return c.vertical?R.get.height(c.container):R.get.width(c.container)},S=this._setScrollPos=function(e){c.vertical?p?window.scrollTo(R.get.scrollLeft(),e):c.container.scrollTop=e:p?window.scrollTo(e,R.get.scrollTop()):c.container.scrollLeft=e},b=function(e){"resize"==e.type&&(g=y(),h=s),!0!==u&&(u=!0,r())},E=function(){if(!p&&g!=y()){var t;try{t=new Event("resize",{bubbles:!1,cancelable:!1})}catch(e){(t=document.createEvent("Event")).initEvent("resize",!1,!1)}c.container.dispatchEvent(t)}f.forEach(function(e,t){e.refresh()}),m()};this._options=c;function x(e){if(e.length<=1)return e;var t=e.slice(0);return t.sort(function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1}),t}return this.addScene=function(e){if(R.type.Array(e))e.forEach(function(e,t){l.addScene(e)});else if(e instanceof _.Scene)if(e.controller()!==l)e.addTo(l);else if(!~f.indexOf(e))for(var t in f.push(e),f=x(f),e.on("shift.controller_sort",function(){f=x(f)}),c.globalSceneOptions)e[t]&&e[t].call(e,c.globalSceneOptions[t]);return l},this.removeScene=function(e){var t;return R.type.Array(e)?e.forEach(function(e,t){l.removeScene(e)}):-1<(t=f.indexOf(e))&&(e.off("shift.controller_sort"),f.splice(t,1),e.remove()),l},this.updateScene=function(e,n){return R.type.Array(e)?e.forEach(function(e,t){l.updateScene(e,n)}):n?e.update(!0):!0!==u&&e instanceof _.Scene&&(~(u=u||[]).indexOf(e)||u.push(e),u=x(u),r()),l},this.update=function(e){return b({type:"resize"}),e&&t(),l},this.scrollTo=function(e,t){if(R.type.Number(e))S.call(c.container,e,t);else if(e instanceof _.Scene)e.controller()===l&&l.scrollTo(e.scrollOffset(),t);else if(R.type.Function(e))S=e;else{var n=R.get.elements(e)[0];if(n){for(;n.parentNode.hasAttribute(P);)n=n.parentNode;var r=c.vertical?"top":"left",o=R.get.offset(c.container),i=R.get.offset(n);p||(o[r]-=l.scrollPos()),l.scrollTo(i[r]-o[r],t)}}return l},this.scrollPos=function(e){return arguments.length?(R.type.Function(e)&&(w=e),l):w.call(l)},this.info=function(e){var t={size:g,vertical:c.vertical,scrollPos:d,scrollDirection:h,container:c.container,isDocument:p};return arguments.length?void 0!==t[e]?t[e]:void 0:t},this.loglevel=function(e){return l},this.enabled=function(e){return arguments.length?(v!=e&&(v=!!e,l.updateScene(f,!0)),l):v},this.destroy=function(e){window.clearTimeout(o);for(var t=f.length;t--;)f[t].destroy(e);return c.container.removeEventListener("resize",b),c.container.removeEventListener("scroll",b),R.cAF(n),null},function(){for(var e in c)a.hasOwnProperty(e)||delete c[e];if(c.container=R.get.elements(c.container)[0],!c.container)throw"ScrollMagic.Controller init failed.";(p=c.container===window||c.container===document.body||!document.body.contains(c.container))&&(c.container=window),g=y(),c.container.addEventListener("resize",b),c.container.addEventListener("scroll",b);var t=parseInt(c.refreshInterval,10);c.refreshInterval=R.type.Number(t)?t:a.refreshInterval,m()}(),l};var z={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};_.Controller.addOption=function(e,t){z.defaults[e]=t},_.Controller.extend=function(e){var t=this;_.Controller=function(){return t.apply(this,arguments),this.$super=R.extend({},this),e.apply(this,arguments)||this},R.extend(_.Controller,t),_.Controller.prototype=t.prototype,_.Controller.prototype.constructor=_.Controller},_.Scene=function(e){var n,l,c="BEFORE",f="DURING",u="AFTER",r=D.defaults,d=this,h=R.extend({},r,e),p=c,g=0,a={start:0,end:0},v=0,o=!0,s={};this.on=function(e,o){return R.type.Function(o)&&(e=e.trim().split(" ")).forEach(function(e){var t=e.split("."),n=t[0],r=t[1];"*"!=n&&(s[n]||(s[n]=[]),s[n].push({namespace:r||"",callback:o}))}),d},this.off=function(e,i){return e&&(e=e.trim().split(" ")).forEach(function(e,t){var n=e.split("."),r=n[0],o=n[1]||"";("*"===r?Object.keys(s):[r]).forEach(function(e){for(var t=s[e]||[],n=t.length;n--;){var r=t[n];!r||o!==r.namespace&&"*"!==o||i&&i!=r.callback||t.splice(n,1)}t.length||delete s[e]})}),d},this.trigger=function(e,n){var t,r,o,i;return e&&(t=e.trim().split("."),r=t[0],o=t[1],(i=s[r])&&i.forEach(function(e,t){o&&o!==e.namespace||e.callback.call(d,new _.Event(r,e.namespace,d,n))})),d},d.on("change.internal",function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?y():"reverse"===e.what&&d.update())}).on("shift.internal",function(e){t(),d.update()}),this.addTo=function(e){return e instanceof _.Controller&&l!=e&&(l&&l.removeScene(d),l=e,E(),i(!0),y(!0),t(),l.info("container").addEventListener("resize",S),e.addScene(d),d.trigger("add",{controller:l}),d.update()),d},this.enabled=function(e){return arguments.length?(o!=e&&(o=!!e,d.update(!0)),d):o},this.remove=function(){var e;return l&&(l.info("container").removeEventListener("resize",S),e=l,l=void 0,e.removeScene(d),d.trigger("remove")),d},this.destroy=function(e){return d.trigger("destroy",{reset:e}),d.remove(),d.off("*.*"),null},this.update=function(e){var t,n;return l&&(e?l.enabled()&&o?(t=l.info("scrollPos"),n=0<h.duration?(t-a.start)/(a.end-a.start):t>=a.start?1:0,d.trigger("update",{startPos:a.start,endPos:a.end,scrollPos:t}),d.progress(n)):m&&p===f&&T(!0):l.updateScene(d,!1)),d},this.refresh=function(){return i(),y(),d},this.progress=function(e){if(arguments.length){var t,n,r,o=!1,i=p,s=l?l.info("scrollDirection"):"PAUSED",a=h.reverse||g<=e;return 0===h.duration?(o=g!=e,p=0===(g=e<1&&a?0:1)?c:f):e<0&&p!==c&&a?(p=c,o=!(g=0)):0<=e&&e<1&&a?(g=e,p=f,o=!0):1<=e&&p!==u?(g=1,p=u,o=!0):p!==f||a||T(),o&&(t={progress:g,state:p,scrollDirection:s},r=function(e){d.trigger(e,t)},(n=p!=i)&&i!==f&&(r("enter"),r(i===c?"start":"end")),r("progress"),n&&p!==f&&(r(p===c?"start":"end"),r("leave"))),d}return g};var m,w,t=function(){a={start:v+h.offset},l&&h.triggerElement&&(a.start-=l.info("size")*h.triggerHook),a.end=a.start+h.duration},i=function(e){var t;!n||x(t="duration",n.call(d))&&!e&&(d.trigger("change",{what:t,newval:h[t]}),d.trigger("shift",{reason:t}))},y=function(e){var t=0,n=h.triggerElement;if(l&&(n||0<v)){if(n)if(n.parentNode){for(var r=l.info(),o=R.get.offset(r.container),i=r.vertical?"top":"left";n.parentNode.hasAttribute(P);)n=n.parentNode;var s=R.get.offset(n);r.isDocument||(o[i]-=l.scrollPos()),t=s[i]-o[i]}else d.triggerElement(void 0);var a=t!=v;v=t,a&&!e&&d.trigger("shift",{reason:"triggerElementPosition"})}},S=function(e){0<h.triggerHook&&d.trigger("shift",{reason:"containerResize"})},b=R.extend(D.validate,{duration:function(t){var e;if(R.type.String(t)&&t.match(/^(\.|\d)*\d+%$/)&&(e=parseFloat(t)/100,t=function(){return l?l.info("size")*e:0}),R.type.Function(t)){n=t;try{t=parseFloat(n.call(d))}catch(e){t=-1}}if(t=parseFloat(t),!R.type.Number(t)||t<0)throw n=n&&void 0,0;return t}}),E=function(e){(e=arguments.length?[e]:Object.keys(b)).forEach(function(t,e){var n;if(b[t])try{n=b[t](h[t])}catch(e){n=r[t]}finally{h[t]=n}})},x=function(e,t){var n=!1,r=h[e];return h[e]!=t&&(h[e]=t,E(e),n=r!=h[e]),n},z=function(t){d[t]||(d[t]=function(e){return arguments.length?("duration"===t&&(n=void 0),x(t,e)&&(d.trigger("change",{what:t,newval:h[t]}),~D.shifts.indexOf(t)&&d.trigger("shift",{reason:t})),d):h[t]})};this.controller=function(){return l},this.state=function(){return p},this.scrollOffset=function(){return a.start},this.triggerPosition=function(){var e=h.offset;return l&&(h.triggerElement?e+=v:e+=l.info("size")*d.triggerHook()),e},d.on("shift.internal",function(e){var t="duration"===e.reason;(p===u&&t||p===f&&0===h.duration)&&T(),t&&A()}).on("progress.internal",function(e){T()}).on("add.internal",function(e){A()}).on("destroy.internal",function(e){d.removePin(e.reset)});function C(){l&&m&&p===f&&!l.info("isDocument")&&T()}function F(){l&&m&&p===f&&((w.relSize.width||w.relSize.autoFullWidth)&&R.get.width(window)!=R.get.width(w.spacer.parentNode)||w.relSize.height&&R.get.height(window)!=R.get.height(w.spacer.parentNode))&&A()}function L(e){l&&m&&p===f&&!l.info("isDocument")&&(e.preventDefault(),l._setScrollPos(l.info("scrollPos")-((e.wheelDelta||e[l.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))}var T=function(e){var t,n,r,o,i,s;m&&l&&(t=l.info(),n=w.spacer.firstChild,e||p!==f?(r={position:w.inFlow?"relative":"absolute",top:0,left:0},o=R.css(n,"position")!=r.position,w.pushFollowers?0<h.duration&&(p===u&&0===parseFloat(R.css(w.spacer,"padding-top"))||p===c&&0===parseFloat(R.css(w.spacer,"padding-bottom")))&&(o=!0):r[t.vertical?"top":"left"]=h.duration*g,R.css(n,r),o&&A()):("fixed"!=R.css(n,"position")&&(R.css(n,{position:"fixed"}),A()),i=R.get.offset(w.spacer,!0),s=h.reverse||0===h.duration?t.scrollPos-a.start:Math.round(g*h.duration*10)/10,i[t.vertical?"top":"left"]+=s,R.css(w.spacer.firstChild,{top:i.top,left:i.left})))},A=function(){var e,t,n,r,o;m&&l&&w.inFlow&&(e=p===f,t=l.info("vertical"),n=w.spacer.firstChild,r=R.isMarginCollapseType(R.css(w.spacer,"display")),o={},w.relSize.width||w.relSize.autoFullWidth?e?R.css(m,{width:R.get.width(w.spacer)}):R.css(m,{width:"100%"}):(o["min-width"]=R.get.width(t?m:n,!0,!0),o.width=e?o["min-width"]:"auto"),w.relSize.height?e?R.css(m,{height:R.get.height(w.spacer)-(w.pushFollowers?h.duration:0)}):R.css(m,{height:"100%"}):(o["min-height"]=R.get.height(t?n:m,!0,!r),o.height=e?o["min-height"]:"auto"),w.pushFollowers&&(o["padding"+(t?"Top":"Left")]=h.duration*g,o["padding"+(t?"Bottom":"Right")]=h.duration*(1-g)),R.css(w.spacer,o))};this.setPin=function(e,t){if(t=R.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},t),!(e=R.get.elements(e)[0]))return d;if("fixed"===R.css(e,"position"))return d;if(m){if(m===e)return d;d.removePin()}var n=(m=e).parentNode.style.display,r=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];m.parentNode.style.display="none";var o="absolute"!=R.css(m,"position"),i=R.css(m,r.concat(["display"])),s=R.css(m,["width","height"]);m.parentNode.style.display=n,!o&&t.pushFollowers&&(t.pushFollowers=!1);var a,l=m.parentNode.insertBefore(document.createElement("div"),m),c=R.extend(i,{position:o?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});return o||R.extend(c,R.css(m,["width","height"])),R.css(l,c),l.setAttribute(P,""),R.addClass(l,t.spacerClass),w={spacer:l,relSize:{width:"%"===s.width.slice(-1),height:"%"===s.height.slice(-1),autoFullWidth:"auto"===s.width&&o&&R.isMarginCollapseType(i.display)},pushFollowers:t.pushFollowers,inFlow:o},m.___origStyle||(m.___origStyle={},a=m.style,r.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(e){m.___origStyle[e]=a[e]||""})),w.relSize.width&&R.css(l,{width:s.width}),w.relSize.height&&R.css(l,{height:s.height}),l.appendChild(m),R.css(m,{position:o?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(w.relSize.width||w.relSize.autoFullWidth)&&R.css(m,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",C),window.addEventListener("resize",C),window.addEventListener("resize",F),m.addEventListener("mousewheel",L),m.addEventListener("DOMMouseScroll",L),T(),d},this.removePin=function(e){var t,n,r;return m&&(p===f&&T(!0),!e&&l||((t=w.spacer.firstChild).hasAttribute(P)&&(n=w.spacer.style,r={},["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(e){r[e]=n[e]||""}),R.css(t,r)),w.spacer.parentNode.insertBefore(t,w.spacer),w.spacer.parentNode.removeChild(w.spacer),m.parentNode.hasAttribute(P)||(R.css(m,m.___origStyle),delete m.___origStyle)),window.removeEventListener("scroll",C),window.removeEventListener("resize",C),window.removeEventListener("resize",F),m.removeEventListener("mousewheel",L),m.removeEventListener("DOMMouseScroll",L),m=void 0),d};var N,O=[];return d.on("destroy.internal",function(e){d.removeClassToggle(e.reset)}),this.setClassToggle=function(e,t){var n=R.get.elements(e);return 0!==n.length&&R.type.String(t)&&(0<O.length&&d.removeClassToggle(),N=t,O=n,d.on("enter.internal_class leave.internal_class",function(e){var n="enter"===e.type?R.addClass:R.removeClass;O.forEach(function(e,t){n(e,N)})})),d},this.removeClassToggle=function(e){return e&&O.forEach(function(e,t){R.removeClass(e,N)}),d.off("start.internal_class end.internal_class"),N=void 0,O=[],d},function(){for(var e in h)r.hasOwnProperty(e)||delete h[e];for(var t in r)z(t);E()}(),d};var D={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!R.type.Number(e))throw 0;return e},triggerElement:function(e){if(e=e||void 0){var t=R.get.elements(e)[0];if(!t||!t.parentNode)throw 0;e=t}return e},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(R.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw 0;e=t[e]}return e},reverse:function(e){return!!e}},shifts:["duration","offset","triggerHook"]};_.Scene.addOption=function(e,t,n,r){e in D.defaults||(D.defaults[e]=t,D.validate[e]=n,r&&D.shifts.push(e))},_.Scene.extend=function(e){var t=this;_.Scene=function(){return t.apply(this,arguments),this.$super=R.extend({},this),e.apply(this,arguments)||this},R.extend(_.Scene,t),_.Scene.prototype=t.prototype,_.Scene.prototype.constructor=_.Scene},_.Event=function(e,t,n,r){for(var o in r=r||{})this[o]=r[o];return this.type=e,this.target=this.currentTarget=n,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this};var R=_._util=function(s){function a(e){return parseFloat(e)||0}function l(e){return e.currentStyle?e.currentStyle:s.getComputedStyle(e)}function r(e,t,n,r){if((t=t===document?s:t)===s)r=!1;else if(!u.DomElement(t))return 0;e=e[0].toUpperCase()+e.substr(1).toLowerCase();var o,i=(n?t["offset"+e]||t["outer"+e]:t["client"+e]||t["inner"+e])||0;return n&&r&&(o=l(t),i+="Height"===e?a(o.marginTop)+a(o.marginBottom):a(o.marginLeft)+a(o.marginRight)),i}function c(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})}var e={};e.extend=function(e){for(e=e||{},f=1;f<arguments.length;f++)if(arguments[f])for(var t in arguments[f])arguments[f].hasOwnProperty(t)&&(e[t]=arguments[f][t]);return e},e.isMarginCollapseType=function(e){return!!~["block","flex","list-item","table","-webkit-box"].indexOf(e)};for(var o=0,t=["ms","moz","webkit","o"],n=s.requestAnimationFrame,i=s.cancelAnimationFrame,f=0;!n&&f<4;++f)n=s[t[f]+"RequestAnimationFrame"],i=s[t[f]+"CancelAnimationFrame"]||s[t[f]+"CancelRequestAnimationFrame"];n=n||function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-o)),r=s.setTimeout(function(){e(t+n)},n);return o=t+n,r},i=i||function(e){s.clearTimeout(e)},e.rAF=n.bind(s),e.cAF=i.bind(s);var u=e.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};u.String=function(e){return"string"===u(e)},u.Function=function(e){return"function"===u(e)},u.Array=function(e){return Array.isArray(e)},u.Number=function(e){return!u.Array(e)&&0<=e-parseFloat(e)+1},u.DomElement=function(e){return"object"==typeof HTMLElement||"function"==typeof HTMLElement?e instanceof HTMLElement||e instanceof SVGElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var d=e.get={};return d.elements=function(e){var t=[];if(u.String(e))try{e=document.querySelectorAll(e)}catch(e){return t}if("nodelist"===u(e)||u.Array(e)||e instanceof NodeList)for(var n=0,r=t.length=e.length;n<r;n++){var o=e[n];t[n]=u.DomElement(o)?o:d.elements(o)}else!u.DomElement(e)&&e!==document&&e!==s||(t=[e]);return t},d.scrollTop=function(e){return e&&"number"==typeof e.scrollTop?e.scrollTop:s.pageYOffset||0},d.scrollLeft=function(e){return e&&"number"==typeof e.scrollLeft?e.scrollLeft:s.pageXOffset||0},d.width=function(e,t,n){return r("width",e,t,n)},d.height=function(e,t,n){return r("height",e,t,n)},d.offset=function(e,t){var n,r={top:0,left:0};return e&&e.getBoundingClientRect&&(n=e.getBoundingClientRect(),r.top=n.top,r.left=n.left,t||(r.top+=d.scrollTop(),r.left+=d.scrollLeft())),r},e.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t)},e.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},e.css=function(e,t){if(u.String(t))return l(e)[c(t)];if(u.Array(t)){var n={},r=l(e);return t.forEach(function(e,t){n[e]=r[c(e)]}),n}for(var o in t){var i=t[o];i==parseFloat(i)&&(i+="px"),e.style[c(o)]=i}},e}(window||{});return _});;
/*!
  * Bootstrap v4.5.3 (https://getbootstrap.com/)
  * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery)}(this,(function(t,e){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=n(e);function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function s(t){var e=this,n=!1;return i.default(this).one(l.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||l.triggerTransitionEnd(e)}),t),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=i.default(t).css("transition-duration"),n=i.default(t).css("transition-delay"),o=parseFloat(e),r=parseFloat(n);return o||r?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){i.default(t).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],a=r&&l.isElement(r)?"element":null===(s=r)||"undefined"==typeof s?""+s:{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(a))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+o+'".')}var s},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?l.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if("undefined"==typeof i.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=i.default.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};l.jQueryDetection(),i.default.fn.emulateTransitionEnd=s,i.default.event.special[l.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(i.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var u="alert",f=i.default.fn[u],d=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){i.default.removeData(this._element,"bs.alert"),this._element=null},e._getRootElement=function(t){var e=l.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=i.default(t).closest(".alert")[0]),n},e._triggerCloseEvent=function(t){var e=i.default.Event("close.bs.alert");return i.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(i.default(t).removeClass("show"),i.default(t).hasClass("fade")){var n=l.getTransitionDurationFromElement(t);i.default(t).one(l.TRANSITION_END,(function(n){return e._destroyElement(t,n)})).emulateTransitionEnd(n)}else this._destroyElement(t)},e._destroyElement=function(t){i.default(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.alert");o||(o=new t(this),n.data("bs.alert",o)),"close"===e&&o[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),t}();i.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',d._handleDismiss(new d)),i.default.fn[u]=d._jQueryInterface,i.default.fn[u].Constructor=d,i.default.fn[u].noConflict=function(){return i.default.fn[u]=f,d._jQueryInterface};var c=i.default.fn.button,h=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=i.default(this._element).closest('[data-toggle="buttons"]')[0];if(n){var o=this._element.querySelector('input:not([type="hidden"])');if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains("active"))t=!1;else{var r=n.querySelector(".active");r&&i.default(r).removeClass("active")}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||i.default(o).trigger("change")),o.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&i.default(this._element).toggleClass("active"))},e.dispose=function(){i.default.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(e,n){return this.each((function(){var o=i.default(this),r=o.data("bs.button");r||(r=new t(this),o.data("bs.button",r)),r.shouldAvoidTriggerChange=n,"toggle"===e&&r[e]()}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),t}();i.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var e=t.target,n=e;if(i.default(e).hasClass("btn")||(e=i.default(e).closest(".btn")[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var o=e.querySelector('input:not([type="hidden"])');if(o&&(o.hasAttribute("disabled")||o.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==n.tagName&&"LABEL"===e.tagName||h._jQueryInterface.call(i.default(e),"toggle","INPUT"===n.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){var e=i.default(t.target).closest(".btn")[0];i.default(e).toggleClass("focus",/^focus(in)?$/.test(t.type))})),i.default(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e<n;e++){var i=t[e],o=i.querySelector('input:not([type="hidden"])');o.checked||o.hasAttribute("checked")?i.classList.add("active"):i.classList.remove("active")}for(var r=0,a=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;r<a;r++){var s=t[r];"true"===s.getAttribute("aria-pressed")?s.classList.add("active"):s.classList.remove("active")}})),i.default.fn.button=h._jQueryInterface,i.default.fn.button.Constructor=h,i.default.fn.button.noConflict=function(){return i.default.fn.button=c,h._jQueryInterface};var p="carousel",m=".bs.carousel",g=i.default.fn[p],v={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},_={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},b={TOUCH:"touch",PEN:"pen"},y=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide("next")},e.nextWhenVisible=function(){var t=i.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide("prev")},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(".active.carousel-item");var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)i.default(this._element).one("slid.bs.carousel",(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var o=t>n?"next":"prev";this._slide(o,this._items[t])}},e.dispose=function(){i.default(this._element).off(m),i.default.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=a({},v,t),l.typeCheckConfig(p,t,_),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&i.default(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&i.default(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&b[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){t._pointerEvent&&b[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};i.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventDefault()})),this._pointerEvent?(i.default(this._element).on("pointerdown.bs.carousel",(function(t){return e(t)})),i.default(this._element).on("pointerup.bs.carousel",(function(t){return n(t)})),this._element.classList.add("pointer-event")):(i.default(this._element).on("touchstart.bs.carousel",(function(t){return e(t)})),i.default(this._element).on("touchmove.bs.carousel",(function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),i.default(this._element).on("touchend.bs.carousel",(function(t){return n(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n="next"===t,i="prev"===t,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var a=(o+("prev"===t?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(".active.carousel-item")),r=i.default.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:o,to:n});return i.default(this._element).trigger(r),r},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));i.default(e).removeClass("active");var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&i.default(n).addClass("active")}},e._slide=function(t,e){var n,o,r,a=this,s=this._element.querySelector(".active.carousel-item"),u=this._getItemIndex(s),f=e||s&&this._getItemByDirection(t,s),d=this._getItemIndex(f),c=Boolean(this._interval);if("next"===t?(n="carousel-item-left",o="carousel-item-next",r="left"):(n="carousel-item-right",o="carousel-item-prev",r="right"),f&&i.default(f).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(f,r).isDefaultPrevented()&&s&&f){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(f);var h=i.default.Event("slid.bs.carousel",{relatedTarget:f,direction:r,from:u,to:d});if(i.default(this._element).hasClass("slide")){i.default(f).addClass(o),l.reflow(f),i.default(s).addClass(n),i.default(f).addClass(n);var p=parseInt(f.getAttribute("data-interval"),10);p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultInterval||this._config.interval;var m=l.getTransitionDurationFromElement(s);i.default(s).one(l.TRANSITION_END,(function(){i.default(f).removeClass(n+" "+o).addClass("active"),i.default(s).removeClass("active "+o+" "+n),a._isSliding=!1,setTimeout((function(){return i.default(a._element).trigger(h)}),0)})).emulateTransitionEnd(m)}else i.default(s).removeClass("active"),i.default(f).addClass("active"),this._isSliding=!1,i.default(this._element).trigger(h);c&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data("bs.carousel"),o=a({},v,i.default(this).data());"object"==typeof e&&(o=a({},o,e));var r="string"==typeof e?e:o.slide;if(n||(n=new t(this,o),i.default(this).data("bs.carousel",n)),"number"==typeof e)n.to(e);else if("string"==typeof r){if("undefined"==typeof n[r])throw new TypeError('No method named "'+r+'"');n[r]()}else o.interval&&o.ride&&(n.pause(),n.cycle())}))},t._dataApiClickHandler=function(e){var n=l.getSelectorFromElement(this);if(n){var o=i.default(n)[0];if(o&&i.default(o).hasClass("carousel")){var r=a({},i.default(o).data(),i.default(this).data()),s=this.getAttribute("data-slide-to");s&&(r.interval=!1),t._jQueryInterface.call(i.default(o),r),s&&i.default(o).data("bs.carousel").to(s),e.preventDefault()}}},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return v}}]),t}();i.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",y._dataApiClickHandler),i.default(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,n=t.length;e<n;e++){var o=i.default(t[e]);y._jQueryInterface.call(o,o.data())}})),i.default.fn[p]=y._jQueryInterface,i.default.fn[p].Constructor=y,i.default.fn[p].noConflict=function(){return i.default.fn[p]=g,y._jQueryInterface};var w="collapse",E=i.default.fn[w],T={toggle:!0,parent:""},C={toggle:"boolean",parent:"(string|element)"},S=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),i=0,o=n.length;i<o;i++){var r=n[i],a=l.getSelectorFromElement(r),s=[].slice.call(document.querySelectorAll(a)).filter((function(e){return e===t}));null!==a&&s.length>0&&(this._selector=a,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){i.default(this._element).hasClass("show")?this.hide():this.show()},e.show=function(){var e,n,o=this;if(!this._isTransitioning&&!i.default(this._element).hasClass("show")&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains("collapse")}))).length&&(e=null),!(e&&(n=i.default(e).not(this._selector).data("bs.collapse"))&&n._isTransitioning))){var r=i.default.Event("show.bs.collapse");if(i.default(this._element).trigger(r),!r.isDefaultPrevented()){e&&(t._jQueryInterface.call(i.default(e).not(this._selector),"hide"),n||i.default(e).data("bs.collapse",null));var a=this._getDimension();i.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[a]=0,this._triggerArray.length&&i.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var s="scroll"+(a[0].toUpperCase()+a.slice(1)),u=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,(function(){i.default(o._element).removeClass("collapsing").addClass("collapse show"),o._element.style[a]="",o.setTransitioning(!1),i.default(o._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(u),this._element.style[a]=this._element[s]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&i.default(this._element).hasClass("show")){var e=i.default.Event("hide.bs.collapse");if(i.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",l.reflow(this._element),i.default(this._element).addClass("collapsing").removeClass("collapse show");var o=this._triggerArray.length;if(o>0)for(var r=0;r<o;r++){var a=this._triggerArray[r],s=l.getSelectorFromElement(a);if(null!==s)i.default([].slice.call(document.querySelectorAll(s))).hasClass("show")||i.default(a).addClass("collapsed").attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var u=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,(function(){t.setTransitioning(!1),i.default(t._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")})).emulateTransitionEnd(u)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){i.default.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=a({},T,t)).toggle=Boolean(t.toggle),l.typeCheckConfig(w,t,C),t},e._getDimension=function(){return i.default(this._element).hasClass("width")?"width":"height"},e._getParent=function(){var e,n=this;l.isElement(this._config.parent)?(e=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(e.querySelectorAll(o));return i.default(r).each((function(e,i){n._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])})),e},e._addAriaAndCollapsedClass=function(t,e){var n=i.default(t).hasClass("show");e.length&&i.default(e).toggleClass("collapsed",!n).attr("aria-expanded",n)},t._getTargetFromElement=function(t){var e=l.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.collapse"),r=a({},T,n.data(),"object"==typeof e&&e?e:{});if(!o&&r.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(r.toggle=!1),o||(o=new t(this,r),n.data("bs.collapse",o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return T}}]),t}();i.default(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=i.default(this),n=l.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(n));i.default(o).each((function(){var t=i.default(this),n=t.data("bs.collapse")?"toggle":e.data();S._jQueryInterface.call(t,n)}))})),i.default.fn[w]=S._jQueryInterface,i.default.fn[w].Constructor=S,i.default.fn[w].noConflict=function(){return i.default.fn[w]=E,S._jQueryInterface};var D="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,N=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(D&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var k=D&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),N))}};function A(t){return t&&"[object Function]"==={}.toString.call(t)}function I(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function O(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function x(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=I(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:x(O(t))}function j(t){return t&&t.referenceNode?t.referenceNode:t}var L=D&&!(!window.MSInputMethodContext||!document.documentMode),P=D&&/MSIE 10/.test(navigator.userAgent);function F(t){return 11===t?L:10===t?P:L||P}function R(t){if(!t)return document.documentElement;for(var e=F(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===I(n,"position")?R(n):n:t?t.ownerDocument.documentElement:document.documentElement}function H(t){return null!==t.parentNode?H(t.parentNode):t}function M(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&R(a.firstElementChild)!==a?R(l):l;var u=H(t);return u.host?M(u.host,e):M(t,H(e).host)}function B(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[n]}return t[n]}function q(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=B(e,"top"),o=B(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function Q(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function W(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],F(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function U(t){var e=t.body,n=t.documentElement,i=F(10)&&getComputedStyle(n);return{height:W("Height",e,n,i),width:W("Width",e,n,i)}}var V=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Y=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),z=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},X=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function K(t){return X({},t,{right:t.left+t.width,bottom:t.top+t.height})}function G(t){var e={};try{if(F(10)){e=t.getBoundingClientRect();var n=B(t,"top"),i=B(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?U(t.ownerDocument):{},a=r.width||t.clientWidth||o.width,s=r.height||t.clientHeight||o.height,l=t.offsetWidth-a,u=t.offsetHeight-s;if(l||u){var f=I(t);l-=Q(f,"x"),u-=Q(f,"y"),o.width-=l,o.height-=u}return K(o)}function $(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=F(10),o="HTML"===e.nodeName,r=G(t),a=G(e),s=x(t),l=I(e),u=parseFloat(l.borderTopWidth),f=parseFloat(l.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=K({top:r.top-a.top-u,left:r.left-a.left-f,width:r.width,height:r.height});if(d.marginTop=0,d.marginLeft=0,!i&&o){var c=parseFloat(l.marginTop),h=parseFloat(l.marginLeft);d.top-=u-c,d.bottom-=u-c,d.left-=f-h,d.right-=f-h,d.marginTop=c,d.marginLeft=h}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(d=q(d,e)),d}function J(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=$(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:B(n),s=e?0:B(n,"left"),l={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r};return K(l)}function Z(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===I(t,"position"))return!0;var n=O(t);return!!n&&Z(n)}function tt(t){if(!t||!t.parentElement||F())return document.documentElement;for(var e=t.parentElement;e&&"none"===I(e,"transform");)e=e.parentElement;return e||document.documentElement}function et(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?tt(t):M(t,j(e));if("viewport"===i)r=J(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=x(O(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var l=$(s,a,o);if("HTML"!==s.nodeName||Z(a))r=l;else{var u=U(t.ownerDocument),f=u.height,d=u.width;r.top+=l.top-l.marginTop,r.bottom=f+l.top,r.left+=l.left-l.marginLeft,r.right=d+l.left}}var c="number"==typeof(n=n||0);return r.left+=c?n:n.left||0,r.top+=c?n:n.top||0,r.right-=c?n:n.right||0,r.bottom-=c?n:n.bottom||0,r}function nt(t){return t.width*t.height}function it(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=et(n,i,r,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map((function(t){return X({key:t},s[t],{area:nt(s[t])})})).sort((function(t,e){return e.area-t.area})),u=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),f=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return f+(d?"-"+d:"")}function ot(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?tt(e):M(e,j(n));return $(n,o,i)}function rt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function at(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function st(t,e,n){n=n.split("-")[0];var i=rt(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",u=r?"width":"height";return o[a]=e[a]+e[l]/2-i[l]/2,o[s]=n===s?e[s]-i[u]:e[at(s)],o}function lt(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function ut(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var i=lt(t,(function(t){return t[e]===n}));return t.indexOf(i)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&A(n)&&(e.offsets.popper=K(e.offsets.popper),e.offsets.reference=K(e.offsets.reference),e=n(e,t))})),e}function ft(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=ot(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=it(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=st(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=ut(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function dt(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function ct(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if("undefined"!=typeof document.body.style[r])return r}return null}function ht(){return this.state.isDestroyed=!0,dt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[ct("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function pt(t){var e=t.ownerDocument;return e?e.defaultView:window}function mt(t,e,n,i){n.updateBound=i,pt(t).addEventListener("resize",n.updateBound,{passive:!0});var o=x(t);return function t(e,n,i,o){var r="BODY"===e.nodeName,a=r?e.ownerDocument.defaultView:e;a.addEventListener(n,i,{passive:!0}),r||t(x(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function gt(){this.state.eventsEnabled||(this.state=mt(this.reference,this.options,this.state,this.scheduleUpdate))}function vt(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,pt(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function _t(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function bt(t,e){Object.keys(e).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&_t(e[n])&&(i="px"),t.style[n]=e[n]+i}))}var yt=D&&/Firefox/i.test(navigator.userAgent);function wt(t,e,n){var i=lt(t,(function(t){return t.name===e})),o=!!i&&t.some((function(t){return t.name===n&&t.enabled&&t.order<i.order}));if(!o){var r="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var Et=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Tt=Et.slice(3);function Ct(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Tt.indexOf(t),i=Tt.slice(n+1).concat(Tt.slice(0,n));return e?i.reverse():i}var St="flip",Dt="clockwise",Nt="counterclockwise";function kt(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(lt(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(u=u.map((function(t,i){var o=(1===i?!r:r)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return K(s)[e]/100*r}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,i){_t(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}var At={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",f={start:z({},l,r[l]),end:z({},l,r[l]+r[u]-a[u])};t.offsets.popper=X({},a,f[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=_t(+n)?[+n,0]:kt(n,r,a,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||R(t.instance.popper);t.instance.reference===n&&(n=R(n));var i=ct("transform"),o=t.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=et(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=a,o[i]=s,e.boundaries=l;var u=e.priority,f=t.offsets.popper,d={primary:function(t){var n=f[t];return f[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(f[t],l[t])),z({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=f[n];return f[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(f[n],l[t]-("right"===t?f.width:f.height))),z({},n,i)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=X({},f,d[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<r(i[l])&&(t.offsets.popper[l]=r(i[l])-n[u]),n[l]>r(i[s])&&(t.offsets.popper[l]=r(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!wt(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),u=l?"height":"width",f=l?"Top":"Left",d=f.toLowerCase(),c=l?"left":"top",h=l?"bottom":"right",p=rt(i)[u];s[h]-p<a[d]&&(t.offsets.popper[d]-=a[d]-(s[h]-p)),s[d]+p>a[h]&&(t.offsets.popper[d]+=s[d]+p-a[h]),t.offsets.popper=K(t.offsets.popper);var m=s[d]+s[u]/2-p/2,g=I(t.instance.popper),v=parseFloat(g["margin"+f]),_=parseFloat(g["border"+f+"Width"]),b=m-t.offsets.popper[d]-v-_;return b=Math.max(Math.min(a[u]-p,b),0),t.arrowElement=i,t.offsets.arrow=(z(n={},d,Math.round(b)),z(n,c,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(dt(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=et(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=at(i),r=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case St:a=[i,o];break;case Dt:a=Ct(i);break;case Nt:a=Ct(i,!0);break;default:a=e.behavior}return a.forEach((function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],o=at(i);var u=t.offsets.popper,f=t.offsets.reference,d=Math.floor,c="left"===i&&d(u.right)>d(f.left)||"right"===i&&d(u.left)<d(f.right)||"top"===i&&d(u.bottom)>d(f.top)||"bottom"===i&&d(u.top)<d(f.bottom),h=d(u.left)<d(n.left),p=d(u.right)>d(n.right),m=d(u.top)<d(n.top),g=d(u.bottom)>d(n.bottom),v="left"===i&&h||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,_=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(_&&"start"===r&&h||_&&"end"===r&&p||!_&&"start"===r&&m||!_&&"end"===r&&g),y=!!e.flipVariationsByContent&&(_&&"start"===r&&p||_&&"end"===r&&h||!_&&"start"===r&&g||!_&&"end"===r&&m),w=b||y;(c||v||w)&&(t.flipped=!0,(c||v)&&(i=a[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=X({},t.offsets.popper,st(t.instance.popper,t.offsets.reference,t.placement)),t=ut(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),t.placement=at(e),t.offsets.popper=K(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!wt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=lt(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=lt(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:e.gpuAcceleration,s=R(t.instance.popper),l=G(s),u={position:o.position},f=function(t,e){var n=t.offsets,i=n.popper,o=n.reference,r=Math.round,a=Math.floor,s=function(t){return t},l=r(o.width),u=r(i.width),f=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),c=e?f||d||l%2==u%2?r:a:s,h=e?r:s;return{left:c(l%2==1&&u%2==1&&!d&&e?i.left-1:i.left),top:h(i.top),bottom:h(i.bottom),right:c(i.right)}}(t,window.devicePixelRatio<2||!yt),d="bottom"===n?"top":"bottom",c="right"===i?"left":"right",h=ct("transform"),p=void 0,m=void 0;if(m="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+f.bottom:-l.height+f.bottom:f.top,p="right"===c?"HTML"===s.nodeName?-s.clientWidth+f.right:-l.width+f.right:f.left,a&&h)u[h]="translate3d("+p+"px, "+m+"px, 0)",u[d]=0,u[c]=0,u.willChange="transform";else{var g="bottom"===d?-1:1,v="right"===c?-1:1;u[d]=m*g,u[c]=p*v,u.willChange=d+", "+c}var _={"x-placement":t.placement};return t.attributes=X({},_,t.attributes),t.styles=X({},u,t.styles),t.arrowStyles=X({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return bt(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&bt(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=ot(o,e,t,n.positionFixed),a=it(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),bt(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},It=function(){function t(e,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};V(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=k(this.update.bind(this)),this.options=X({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(X({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){i.options.modifiers[e]=X({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return X({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&A(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return Y(t,[{key:"update",value:function(){return ft.call(this)}},{key:"destroy",value:function(){return ht.call(this)}},{key:"enableEventListeners",value:function(){return gt.call(this)}},{key:"disableEventListeners",value:function(){return vt.call(this)}}]),t}();It.Utils=("undefined"!=typeof window?window:global).PopperUtils,It.placements=Et,It.Defaults=At;var Ot="dropdown",xt=i.default.fn[Ot],jt=new RegExp("38|40|27"),Lt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Pt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},Ft=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!i.default(this._element).hasClass("disabled")){var e=i.default(this._menu).hasClass("show");t._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||i.default(this._element).hasClass("disabled")||i.default(this._menu).hasClass("show"))){var n={relatedTarget:this._element},o=i.default.Event("show.bs.dropdown",n),r=t._getParentFromElement(this._element);if(i.default(r).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&e){if("undefined"==typeof It)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=r:l.isElement(this._config.reference)&&(a=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&i.default(r).addClass("position-static"),this._popper=new It(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===i.default(r).closest(".navbar-nav").length&&i.default(document.body).children().on("mouseover",null,i.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),i.default(this._menu).toggleClass("show"),i.default(r).toggleClass("show").trigger(i.default.Event("shown.bs.dropdown",n))}}},e.hide=function(){if(!this._element.disabled&&!i.default(this._element).hasClass("disabled")&&i.default(this._menu).hasClass("show")){var e={relatedTarget:this._element},n=i.default.Event("hide.bs.dropdown",e),o=t._getParentFromElement(this._element);i.default(o).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),i.default(this._menu).toggleClass("show"),i.default(o).toggleClass("show").trigger(i.default.Event("hidden.bs.dropdown",e)))}},e.dispose=function(){i.default.removeData(this._element,"bs.dropdown"),i.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;i.default(this._element).on("click.bs.dropdown",(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},e._getConfig=function(t){return t=a({},this.constructor.Default,i.default(this._element).data(),t),l.typeCheckConfig(Ot,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(".dropdown-menu"))}return this._menu},e._getPlacement=function(){var t=i.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=i.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":i.default(this._menu).hasClass("dropdown-menu-right")&&(e="bottom-end"),e},e._detectNavbar=function(){return i.default(this._element).closest(".navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),a({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data("bs.dropdown");if(n||(n=new t(this,"object"==typeof e?e:null),i.default(this).data("bs.dropdown",n)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),o=0,r=n.length;o<r;o++){var a=t._getParentFromElement(n[o]),s=i.default(n[o]).data("bs.dropdown"),l={relatedTarget:n[o]};if(e&&"click"===e.type&&(l.clickEvent=e),s){var u=s._menu;if(i.default(a).hasClass("show")&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&i.default.contains(a,e.target))){var f=i.default.Event("hide.bs.dropdown",l);i.default(a).trigger(f),f.isDefaultPrevented()||("ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),n[o].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),i.default(u).removeClass("show"),i.default(a).removeClass("show").trigger(i.default.Event("hidden.bs.dropdown",l)))}}}},t._getParentFromElement=function(t){var e,n=l.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||i.default(e.target).closest(".dropdown-menu").length):!jt.test(e.which))&&!this.disabled&&!i.default(this).hasClass("disabled")){var n=t._getParentFromElement(this),o=i.default(n).hasClass("show");if(o||27!==e.which){if(e.preventDefault(),e.stopPropagation(),!o||27===e.which||32===e.which)return 27===e.which&&i.default(n.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void i.default(this).trigger("click");var r=[].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((function(t){return i.default(t).is(":visible")}));if(0!==r.length){var a=r.indexOf(e.target);38===e.which&&a>0&&a--,40===e.which&&a<r.length-1&&a++,a<0&&(a=0),r[a].focus()}}}},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Lt}},{key:"DefaultType",get:function(){return Pt}}]),t}();i.default(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',Ft._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",Ft._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",Ft._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',(function(t){t.preventDefault(),t.stopPropagation(),Ft._jQueryInterface.call(i.default(this),"toggle")})).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})),i.default.fn[Ot]=Ft._jQueryInterface,i.default.fn[Ot].Constructor=Ft,i.default.fn[Ot].noConflict=function(){return i.default.fn[Ot]=xt,Ft._jQueryInterface};var Rt=i.default.fn.modal,Ht={backdrop:!0,keyboard:!0,focus:!0,show:!0},Mt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Bt=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){i.default(this._element).hasClass("fade")&&(this._isTransitioning=!0);var n=i.default.Event("show.bs.modal",{relatedTarget:t});i.default(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),i.default(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',(function(t){return e.hide(t)})),i.default(this._dialog).on("mousedown.dismiss.bs.modal",(function(){i.default(e._element).one("mouseup.dismiss.bs.modal",(function(t){i.default(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return e._showElement(t)})))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=i.default.Event("hide.bs.modal");if(i.default(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var o=i.default(this._element).hasClass("fade");if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),i.default(document).off("focusin.bs.modal"),i.default(this._element).removeClass("show"),i.default(this._element).off("click.dismiss.bs.modal"),i.default(this._dialog).off("mousedown.dismiss.bs.modal"),o){var r=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,(function(t){return e._hideModal(t)})).emulateTransitionEnd(r)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach((function(t){return i.default(t).off(".bs.modal")})),i.default(document).off("focusin.bs.modal"),i.default.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=a({},Ht,t),l.typeCheckConfig("modal",t,Mt),t},e._triggerBackdropTransition=function(){var t=this;if("static"===this._config.backdrop){var e=i.default.Event("hidePrevented.bs.modal");if(i.default(this._element).trigger(e),e.isDefaultPrevented())return;var n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var o=l.getTransitionDurationFromElement(this._dialog);i.default(this._element).off(l.TRANSITION_END),i.default(this._element).one(l.TRANSITION_END,(function(){t._element.classList.remove("modal-static"),n||i.default(t._element).one(l.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,o)})).emulateTransitionEnd(o),this._element.focus()}else this.hide()},e._showElement=function(t){var e=this,n=i.default(this._element).hasClass("fade"),o=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),i.default(this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,n&&l.reflow(this._element),i.default(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var r=i.default.Event("shown.bs.modal",{relatedTarget:t}),a=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,i.default(e._element).trigger(r)};if(n){var s=l.getTransitionDurationFromElement(this._dialog);i.default(this._dialog).one(l.TRANSITION_END,a).emulateTransitionEnd(s)}else a()},e._enforceFocus=function(){var t=this;i.default(document).off("focusin.bs.modal").on("focusin.bs.modal",(function(e){document!==e.target&&t._element!==e.target&&0===i.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?i.default(this._element).on("keydown.dismiss.bs.modal",(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||i.default(this._element).off("keydown.dismiss.bs.modal")},e._setResizeEvent=function(){var t=this;this._isShown?i.default(window).on("resize.bs.modal",(function(e){return t.handleUpdate(e)})):i.default(window).off("resize.bs.modal")},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){i.default(document.body).removeClass("modal-open"),t._resetAdjustments(),t._resetScrollbar(),i.default(t._element).trigger("hidden.bs.modal")}))},e._removeBackdrop=function(){this._backdrop&&(i.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=i.default(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),i.default(this._backdrop).appendTo(document.body),i.default(this._element).on("click.dismiss.bs.modal",(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&e._triggerBackdropTransition()})),n&&l.reflow(this._backdrop),i.default(this._backdrop).addClass("show"),!t)return;if(!n)return void t();var o=l.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(l.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){i.default(this._backdrop).removeClass("show");var r=function(){e._removeBackdrop(),t&&t()};if(i.default(this._element).hasClass("fade")){var a=l.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),n=[].slice.call(document.querySelectorAll(".sticky-top"));i.default(e).each((function(e,n){var o=n.style.paddingRight,r=i.default(n).css("padding-right");i.default(n).data("padding-right",o).css("padding-right",parseFloat(r)+t._scrollbarWidth+"px")})),i.default(n).each((function(e,n){var o=n.style.marginRight,r=i.default(n).css("margin-right");i.default(n).data("margin-right",o).css("margin-right",parseFloat(r)-t._scrollbarWidth+"px")}));var o=document.body.style.paddingRight,r=i.default(document.body).css("padding-right");i.default(document.body).data("padding-right",o).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}i.default(document.body).addClass("modal-open")},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"));i.default(t).each((function(t,e){var n=i.default(e).data("padding-right");i.default(e).removeData("padding-right"),e.style.paddingRight=n||""}));var e=[].slice.call(document.querySelectorAll(".sticky-top"));i.default(e).each((function(t,e){var n=i.default(e).data("margin-right");"undefined"!=typeof n&&i.default(e).css("margin-right",n).removeData("margin-right")}));var n=i.default(document.body).data("padding-right");i.default(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,n){return this.each((function(){var o=i.default(this).data("bs.modal"),r=a({},Ht,i.default(this).data(),"object"==typeof e&&e?e:{});if(o||(o=new t(this,r),i.default(this).data("bs.modal",o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e](n)}else r.show&&o.show(n)}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Ht}}]),t}();i.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){var e,n=this,o=l.getSelectorFromElement(this);o&&(e=document.querySelector(o));var r=i.default(e).data("bs.modal")?"toggle":a({},i.default(e).data(),i.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=i.default(e).one("show.bs.modal",(function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",(function(){i.default(n).is(":visible")&&n.focus()}))}));Bt._jQueryInterface.call(i.default(e),r,this)})),i.default.fn.modal=Bt._jQueryInterface,i.default.fn.modal.Constructor=Bt,i.default.fn.modal.noConflict=function(){return i.default.fn.modal=Rt,Bt._jQueryInterface};var qt=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Qt={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Wt=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,Ut=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Vt(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),r=[].slice.call(i.body.querySelectorAll("*")),a=function(t,n){var i=r[t],a=i.nodeName.toLowerCase();if(-1===o.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var s=[].slice.call(i.attributes),l=[].concat(e["*"]||[],e[a]||[]);s.forEach((function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===qt.indexOf(n)||Boolean(t.nodeValue.match(Wt)||t.nodeValue.match(Ut));for(var i=e.filter((function(t){return t instanceof RegExp})),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(t,l)||i.removeAttribute(t.nodeName)}))},s=0,l=r.length;s<l;s++)a(s);return i.body.innerHTML}var Yt="tooltip",zt=i.default.fn[Yt],Xt=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Kt=["sanitize","whiteList","sanitizeFn"],Gt={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},$t={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Jt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:Qt,popperConfig:null},Zt={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},te=function(){function t(t,e){if("undefined"==typeof It)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=i.default(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(i.default(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),i.default.removeData(this.element,this.constructor.DATA_KEY),i.default(this.element).off(this.constructor.EVENT_KEY),i.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&i.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===i.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=i.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){i.default(this.element).trigger(e);var n=l.findShadowRoot(this.element),o=i.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!o)return;var r=this.getTipElement(),a=l.getUID(this.constructor.NAME);r.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&i.default(r).addClass("fade");var s="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,u=this._getAttachment(s);this.addAttachmentClass(u);var f=this._getContainer();i.default(r).data(this.constructor.DATA_KEY,this),i.default.contains(this.element.ownerDocument.documentElement,this.tip)||i.default(r).appendTo(f),i.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new It(this.element,r,this._getPopperConfig(u)),i.default(r).addClass("show"),"ontouchstart"in document.documentElement&&i.default(document.body).children().on("mouseover",null,i.default.noop);var d=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,i.default(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};if(i.default(this.tip).hasClass("fade")){var c=l.getTransitionDurationFromElement(this.tip);i.default(this.tip).one(l.TRANSITION_END,d).emulateTransitionEnd(c)}else d()}},e.hide=function(t){var e=this,n=this.getTipElement(),o=i.default.Event(this.constructor.Event.HIDE),r=function(){"show"!==e._hoverState&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),i.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(i.default(this.element).trigger(o),!o.isDefaultPrevented()){if(i.default(n).removeClass("show"),"ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,i.default(this.tip).hasClass("fade")){var a=l.getTransitionDurationFromElement(n);i.default(n).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(i.default(t.querySelectorAll(".tooltip-inner")),this.getTitle()),i.default(t).removeClass("fade show")},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=Vt(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?i.default(e).parent().is(t)||t.empty().append(e):t.text(i.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return a({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?i.default(this.config.container):i.default(document).find(this.config.container)},e._getAttachment=function(t){return $t[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)i.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==e){var n="hover"===e?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o="hover"===e?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;i.default(t.element).on(n,t.config.selector,(function(e){return t._enter(e)})).on(o,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},i.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),i.default(e.getTipElement()).hasClass("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){"show"===e._hoverState&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){"out"===e._hoverState&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=i.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==Kt.indexOf(t)&&delete e[t]})),"number"==typeof(t=a({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),l.typeCheckConfig(Yt,t,this.constructor.DefaultType),t.sanitize&&(t.template=Vt(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(Xt);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(i.default(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.tooltip"),r="object"==typeof e&&e;if((o||!/dispose|hide/.test(e))&&(o||(o=new t(this,r),n.data("bs.tooltip",o)),"string"==typeof e)){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Jt}},{key:"NAME",get:function(){return Yt}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Zt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Gt}}]),t}();i.default.fn[Yt]=te._jQueryInterface,i.default.fn[Yt].Constructor=te,i.default.fn[Yt].noConflict=function(){return i.default.fn[Yt]=zt,te._jQueryInterface};var ee="popover",ne=i.default.fn[ee],ie=new RegExp("(^|\\s)bs-popover\\S+","g"),oe=a({},te.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),re=a({},te.DefaultType,{content:"(string|element|function)"}),ae={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},se=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass("bs-popover-"+t)},a.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},a.setContent=function(){var t=i.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(ie);null!==e&&e.length>0&&t.removeClass(e.join(""))},o._jQueryInterface=function(t){return this.each((function(){var e=i.default(this).data("bs.popover"),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,n),i.default(this).data("bs.popover",e)),"string"==typeof t)){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},r(o,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return oe}},{key:"NAME",get:function(){return ee}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return ae}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return re}}]),o}(te);i.default.fn[ee]=se._jQueryInterface,i.default.fn[ee].Constructor=se,i.default.fn[ee].noConflict=function(){return i.default.fn[ee]=ne,se._jQueryInterface};var le="scrollspy",ue=i.default.fn[le],fe={offset:10,method:"auto",target:""},de={offset:"number",method:"string",target:"(string|element)"},ce=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,i.default(this._scrollElement).on("scroll.bs.scrollspy",(function(t){return n._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":"position",n="auto"===this._config.method?e:this._config.method,o="position"===n?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,r=l.getSelectorFromElement(t);if(r&&(e=document.querySelector(r)),e){var a=e.getBoundingClientRect();if(a.width||a.height)return[i.default(e)[n]().top+o,r]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){i.default.removeData(this._element,"bs.scrollspy"),i.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=a({},fe,"object"==typeof t&&t?t:{})).target&&l.isElement(t.target)){var e=i.default(t.target).attr("id");e||(e=l.getUID(le),i.default(t.target).attr("id",e)),t.target="#"+e}return l.typeCheckConfig(le,t,de),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map((function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'})),n=i.default([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass("dropdown-item")?(n.closest(".dropdown").find(".dropdown-toggle").addClass("active"),n.addClass("active")):(n.addClass("active"),n.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),n.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")),i.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(t){return t.classList.contains("active")})).forEach((function(t){return t.classList.remove("active")}))},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data("bs.scrollspy");if(n||(n=new t(this,"object"==typeof e&&e),i.default(this).data("bs.scrollspy",n)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return fe}}]),t}();i.default(window).on("load.bs.scrollspy.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var n=i.default(t[e]);ce._jQueryInterface.call(n,n.data())}})),i.default.fn[le]=ce._jQueryInterface,i.default.fn[le].Constructor=ce,i.default.fn[le].noConflict=function(){return i.default.fn[le]=ue,ce._jQueryInterface};var he=i.default.fn.tab,pe=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&i.default(this._element).hasClass("active")||i.default(this._element).hasClass("disabled"))){var e,n,o=i.default(this._element).closest(".nav, .list-group")[0],r=l.getSelectorFromElement(this._element);if(o){var a="UL"===o.nodeName||"OL"===o.nodeName?"> li > .active":".active";n=(n=i.default.makeArray(i.default(o).find(a)))[n.length-1]}var s=i.default.Event("hide.bs.tab",{relatedTarget:this._element}),u=i.default.Event("show.bs.tab",{relatedTarget:n});if(n&&i.default(n).trigger(s),i.default(this._element).trigger(u),!u.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(e=document.querySelector(r)),this._activate(this._element,o);var f=function(){var e=i.default.Event("hidden.bs.tab",{relatedTarget:t._element}),o=i.default.Event("shown.bs.tab",{relatedTarget:n});i.default(n).trigger(e),i.default(t._element).trigger(o)};e?this._activate(e,e.parentNode,f):f()}}},e.dispose=function(){i.default.removeData(this._element,"bs.tab"),this._element=null},e._activate=function(t,e,n){var o=this,r=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?i.default(e).children(".active"):i.default(e).find("> li > .active"))[0],a=n&&r&&i.default(r).hasClass("fade"),s=function(){return o._transitionComplete(t,r,n)};if(r&&a){var u=l.getTransitionDurationFromElement(r);i.default(r).removeClass("show").one(l.TRANSITION_END,s).emulateTransitionEnd(u)}else s()},e._transitionComplete=function(t,e,n){if(e){i.default(e).removeClass("active");var o=i.default(e.parentNode).find("> .dropdown-menu .active")[0];o&&i.default(o).removeClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(i.default(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),l.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&i.default(t.parentNode).hasClass("dropdown-menu")){var r=i.default(t).closest(".dropdown")[0];if(r){var a=[].slice.call(r.querySelectorAll(".dropdown-toggle"));i.default(a).addClass("active")}t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.tab");if(o||(o=new t(this),n.data("bs.tab",o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),t}();i.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),pe._jQueryInterface.call(i.default(this),"show")})),i.default.fn.tab=pe._jQueryInterface,i.default.fn.tab.Constructor=pe,i.default.fn.tab.noConflict=function(){return i.default.fn.tab=he,pe._jQueryInterface};var me=i.default.fn.toast,ge={animation:"boolean",autohide:"boolean",delay:"number"},ve={animation:!0,autohide:!0,delay:500},_e=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this,e=i.default.Event("show.bs.toast");if(i.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var n=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),i.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove("hide"),l.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var o=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,n).emulateTransitionEnd(o)}else n()}},e.hide=function(){if(this._element.classList.contains("show")){var t=i.default.Event("hide.bs.toast");i.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),i.default(this._element).off("click.dismiss.bs.toast"),i.default.removeData(this._element,"bs.toast"),this._element=null,this._config=null},e._getConfig=function(t){return t=a({},ve,i.default(this._element).data(),"object"==typeof t&&t?t:{}),l.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;i.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',(function(){return t.hide()}))},e._close=function(){var t=this,e=function(){t._element.classList.add("hide"),i.default(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var n=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.toast");if(o||(o=new t(this,"object"==typeof e&&e),n.data("bs.toast",o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e](this)}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"DefaultType",get:function(){return ge}},{key:"Default",get:function(){return ve}}]),t}();i.default.fn.toast=_e._jQueryInterface,i.default.fn.toast.Constructor=_e,i.default.fn.toast.noConflict=function(){return i.default.fn.toast=me,_e._jQueryInterface},t.Alert=d,t.Button=h,t.Carousel=y,t.Collapse=S,t.Dropdown=Ft,t.Modal=Bt,t.Popover=se,t.Scrollspy=ce,t.Tab=pe,t.Toast=_e,t.Tooltip=te,t.Util=l,Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=bootstrap.bundle.min.js.map;
(function(a,e,b,d){function c(f,g){this.settings=null;this.options=a.extend({},c.Defaults,g);this.$element=a(f);this._handlers={};this._plugins={};this._supress={};this._current=null;this._speed=null;this._coordinates=[];this._breakpoint=null;this._width=null;this._items=[];this._clones=[];this._mergers=[];this._widths=[];this._invalidated={};this._pipe=[];this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null};this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}};a.each(["onResize","onThrottledResize"],a.proxy(function(j,h){this._handlers[h]=a.proxy(this[h],this)},this));a.each(c.Plugins,a.proxy(function(h,i){this._plugins[h.charAt(0).toLowerCase()+h.slice(1)]=new i(this)},this));a.each(c.Workers,a.proxy(function(h,i){this._pipe.push({filter:i.filter,run:a.proxy(i.run,this)})},this));this.setup();this.initialize()}c.Defaults={items:3,loop:false,center:false,rewind:false,checkVisibility:true,mouseDrag:true,touchDrag:true,pullDrag:true,freeDrag:false,margin:0,stagePadding:0,merge:false,mergeFit:true,autoWidth:false,startPosition:0,rtl:false,smartSpeed:250,fluidSpeed:false,dragEndSpeed:false,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:false,nestedItemSelector:false,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"};c.Width={Default:"default",Inner:"inner",Outer:"outer"};c.Type={Event:"event",State:"state"};c.Plugins={};c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(f){f.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(f){var i=this.settings.margin||"",h=!this.settings.autoWidth,j=this.settings.rtl,g={width:"auto","margin-left":j?i:"","margin-right":j?"":i};!h&&this.$stage.children().css(g);f.css=g}},{filter:["width","items","settings"],run:function(f){var j=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,h=this._items.length,g=!this.settings.autoWidth,k=[];f.items={merge:false,width:j};while(h--){i=this._mergers[h];i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i;f.items.merge=i>1||f.items.merge;k[h]=!g?this._items[h].width():j*i}this._widths=k}},{filter:["items","settings"],run:function(){var g=[],h=this._items,k=this.settings,m=Math.max(k.items*2,4),l=Math.ceil(h.length/2)*2,j=k.loop&&h.length?k.rewind?m:Math.max(m,l):0,f="",i="";j/=2;while(j>0){g.push(this.normalize(g.length/2,true));f=f+h[g[g.length-1]][0].outerHTML;g.push(this.normalize(h.length-1-(g.length-1)/2,true));i=h[g[g.length-1]][0].outerHTML+i;j-=1}this._clones=g;a(f).addClass("cloned").appendTo(this.$stage);a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){var j=this.settings.rtl?1:-1,k=this._clones.length+this._items.length,h=-1,i=0,g=0,f=[];while(++h<k){i=f[h-1]||0;g=this._widths[this.relative(h)]+this.settings.margin;f.push(i+g*j)}this._coordinates=f}},{filter:["width","items","settings"],run:function(){var h=this.settings.stagePadding,f=this._coordinates,g={width:Math.ceil(Math.abs(f[f.length-1]))+h*2,"padding-left":h||"","padding-right":h||""};this.$stage.css(g)}},{filter:["width","items","settings"],run:function(f){var i=this._coordinates.length,g=!this.settings.autoWidth,h=this.$stage.children();if(g&&f.items.merge){while(i--){f.css.width=this._widths[this.relative(i)];h.eq(i).css(f.css)}}else{if(g){f.css.width=f.items.width;h.css(f.css)}}}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(f){f.current=f.current?this.$stage.children().index(f.current):0;f.current=Math.max(this.minimum(),Math.min(this.maximum(),f.current));this.reset(f.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var p=this.settings.rtl?1:-1,o=this.settings.stagePadding*2,f=this.coordinates(this.current())+o,g=f+this.width()*p,j,m,k=[],h,l;for(h=0,l=this._coordinates.length;h<l;h++){j=this._coordinates[h-1]||0;m=Math.abs(this._coordinates[h])+o*p;if((this.op(j,"<=",f)&&(this.op(j,">",g)))||(this.op(m,"<",f)&&this.op(m,">",g))){k.push(h)}}this.$stage.children(".active").removeClass("active");this.$stage.children(":eq("+k.join("), :eq(")+")").addClass("active");this.$stage.children(".center").removeClass("center");if(this.settings.center){this.$stage.children().eq(this.current()).addClass("center")}}}];c.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass);if(this.$stage.length){return}this.$element.addClass(this.options.loadingClass);this.$stage=a("<"+this.settings.stageElement+">",{"class":this.settings.stageClass}).wrap(a("<div/>",{"class":this.settings.stageOuterClass}));this.$element.append(this.$stage.parent())};c.prototype.initializeItems=function(){var f=this.$element.find(".owl-item");if(f.length){this._items=f.get().map(function(g){return a(g)});this._mergers=this._items.map(function(){return 1});this.refresh();return}this.replace(this.$element.children().not(this.$stage.parent()));if(this.isVisible()){this.refresh()}else{this.invalidate("width")}this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)};c.prototype.initialize=function(){this.enter("initializing");this.trigger("initialize");this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl);if(this.settings.autoWidth&&!this.is("pre-loading")){var f,g,h;f=this.$element.find("img");g=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d;h=this.$element.children(g).width();if(f.length&&h<=0){this.preloadAutoWidthImages(f)}}this.initializeStage();this.initializeItems();this.registerEventHandlers();this.leave("initializing");this.trigger("initialized")};c.prototype.isVisible=function(){return this.settings.checkVisibility?this.$element.is(":visible"):true};c.prototype.setup=function(){var i=this.viewport(),g=this.options.responsive,f=-1,h=null;if(!g){h=a.extend({},this.options)}else{a.each(g,function(j){if(j<=i&&j>f){f=Number(j)}});h=a.extend({},this.options,g[f]);if(typeof h.stagePadding==="function"){h.stagePadding=h.stagePadding()}delete h.responsive;if(h.responsiveClass){this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+f))}}this.trigger("change",{property:{name:"settings",value:h}});this._breakpoint=f;this.settings=h;this.invalidate("settings");this.trigger("changed",{property:{name:"settings",value:this.settings}})};c.prototype.optionsLogic=function(){if(this.settings.autoWidth){this.settings.stagePadding=false;this.settings.merge=false}};c.prototype.prepare=function(g){var f=this.trigger("prepare",{content:g});if(!f.data){f.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(g)}this.trigger("prepared",{content:f.data});return f.data};c.prototype.update=function(){var h=0,j=this._pipe.length,g=a.proxy(function(i){return this[i]},this._invalidated),f={};while(h<j){if(this._invalidated.all||a.grep(this._pipe[h].filter,g).length>0){this._pipe[h].run(f)}h++}this._invalidated={};!this.is("valid")&&this.enter("valid")};c.prototype.width=function(f){f=f||c.Width.Default;switch(f){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-this.settings.stagePadding*2+this.settings.margin}};c.prototype.refresh=function(){this.enter("refreshing");this.trigger("refresh");this.setup();this.optionsLogic();this.$element.addClass(this.options.refreshClass);this.update();this.$element.removeClass(this.options.refreshClass);this.leave("refreshing");this.trigger("refreshed")};c.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer);this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)};c.prototype.onResize=function(){if(!this._items.length){return false}if(this._width===this.$element.width()){return false}if(!this.isVisible()){return false}this.enter("resizing");if(this.trigger("resize").isDefaultPrevented()){this.leave("resizing");return false}this.invalidate("width");this.refresh();this.leave("resizing");this.trigger("resized")};c.prototype.registerEventHandlers=function(){if(a.support.transition){this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this))}if(this.settings.responsive!==false){this.on(e,"resize",this._handlers.onThrottledResize)}if(this.settings.mouseDrag){this.$element.addClass(this.options.dragClass);this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this));this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return false})}if(this.settings.touchDrag){this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this));this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this))}};c.prototype.onDragStart=function(f){var g=null;if(f.which===3){return}if(a.support.transform){g=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(",");g={x:g[g.length===16?12:4],y:g[g.length===16?13:5]}}else{g=this.$stage.position();g={x:this.settings.rtl?g.left+this.$stage.width()-this.width()+this.settings.margin:g.left,y:g.top}}if(this.is("animating")){a.support.transform?this.animate(g.x):this.$stage.stop();this.invalidate("position")}this.$element.toggleClass(this.options.grabClass,f.type==="mousedown");this.speed(0);this._drag.time=new Date().getTime();this._drag.target=a(f.target);this._drag.stage.start=g;this._drag.stage.current=g;this._drag.pointer=this.pointer(f);a(b).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this));a(b).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(i){var h=this.difference(this._drag.pointer,this.pointer(i));a(b).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this));if(Math.abs(h.x)<Math.abs(h.y)&&this.is("valid")){return}i.preventDefault();this.enter("dragging");this.trigger("drag")},this))};c.prototype.onDragMove=function(g){var i=null,h=null,j=null,f=this.difference(this._drag.pointer,this.pointer(g)),k=this.difference(this._drag.stage.start,f);if(!this.is("dragging")){return}g.preventDefault();if(this.settings.loop){i=this.coordinates(this.minimum());h=this.coordinates(this.maximum()+1)-i;k.x=(((k.x-i)%h+h)%h)+i}else{i=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum());h=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum());j=this.settings.pullDrag?-1*f.x/5:0;k.x=Math.max(Math.min(k.x,i+j),h+j)}this._drag.stage.current=k;this.animate(k.x)};c.prototype.onDragEnd=function(h){var f=this.difference(this._drag.pointer,this.pointer(h)),i=this._drag.stage.current,g=f.x>0^this.settings.rtl?"left":"right";a(b).off(".owl.core");this.$element.removeClass(this.options.grabClass);if(f.x!==0&&this.is("dragging")||!this.is("valid")){this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed);this.current(this.closest(i.x,f.x!==0?g:this._drag.direction));this.invalidate("position");this.update();this._drag.direction=g;if(Math.abs(f.x)>3||new Date().getTime()-this._drag.time>300){this._drag.target.one("click.owl.core",function(){return false})}}if(!this.is("dragging")){return}this.leave("dragging");this.trigger("dragged")};c.prototype.closest=function(f,h){var i=-1,j=30,k=this.width(),g=this.coordinates();if(!this.settings.freeDrag){a.each(g,a.proxy(function(l,m){if(h==="left"&&f>m-j&&f<m+j){i=l}else{if(h==="right"&&f>m-k-j&&f<m-k+j){i=l+1}else{if(this.op(f,"<",m)&&this.op(f,">",g[l+1]!==d?g[l+1]:m-k)){i=h==="left"?l+1:l}}}return i===-1},this))}if(!this.settings.loop){if(this.op(f,">",g[this.minimum()])){i=f=this.minimum()}else{if(this.op(f,"<",g[this.maximum()])){i=f=this.maximum()}}}return i};c.prototype.animate=function(g){var f=this.speed()>0;this.is("animating")&&this.onTransitionEnd();if(f){this.enter("animating");this.trigger("translate")}if(a.support.transform3d&&a.support.transition){this.$stage.css({transform:"translate3d("+g+"px,0px,0px)",transition:(this.speed()/1000)+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")})}else{if(f){this.$stage.animate({left:g+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this))}else{this.$stage.css({left:g+"px"})}}};c.prototype.is=function(f){return this._states.current[f]&&this._states.current[f]>0};c.prototype.current=function(g){if(g===d){return this._current}if(this._items.length===0){return d}g=this.normalize(g);if(this._current!==g){var f=this.trigger("change",{property:{name:"position",value:g}});if(f.data!==d){g=this.normalize(f.data)}this._current=g;this.invalidate("position");this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current};c.prototype.invalidate=function(f){if(a.type(f)==="string"){this._invalidated[f]=true;this.is("valid")&&this.leave("valid")}return a.map(this._invalidated,function(h,g){return g})};c.prototype.reset=function(f){f=this.normalize(f);if(f===d){return}this._speed=0;this._current=f;this.suppress(["translate","translated"]);this.animate(this.coordinates(f));this.release(["translate","translated"])};c.prototype.normalize=function(h,i){var g=this._items.length,f=i?0:this._clones.length;if(!this.isNumeric(h)||g<1){h=d}else{if(h<0||h>=g+f){h=((h-f/2)%g+g)%g+f/2}}return h};c.prototype.relative=function(f){f-=this._clones.length/2;return this.normalize(f,true)};c.prototype.maximum=function(j){var k=this.settings,h=this._coordinates.length,g,i,f;if(k.loop){h=this._clones.length/2+this._items.length-1}else{if(k.autoWidth||k.merge){g=this._items.length;if(g){i=this._items[--g].width();f=this.$element.width();while(g--){i+=this._items[g].width()+this.settings.margin;if(i>f){break}}}h=g+1}else{if(k.center){h=this._items.length-1}else{h=this._items.length-k.items}}}if(j){h-=this._clones.length/2}return Math.max(h,0)};c.prototype.minimum=function(f){return f?0:this._clones.length/2};c.prototype.items=function(f){if(f===d){return this._items.slice()}f=this.normalize(f,true);return this._items[f]};c.prototype.mergers=function(f){if(f===d){return this._mergers.slice()}f=this.normalize(f,true);return this._mergers[f]};c.prototype.clones=function(i){var h=this._clones.length/2,f=h+this._items.length,g=function(j){return j%2===0?f+j/2:h-(j+1)/2};if(i===d){return a.map(this._clones,function(k,j){return g(j)})}return a.map(this._clones,function(k,j){return k===i?g(j):null})};c.prototype.speed=function(f){if(f!==d){this._speed=f}return this._speed};c.prototype.coordinates=function(i){var g=1,h=i-1,f;if(i===d){return a.map(this._coordinates,a.proxy(function(j,k){return this.coordinates(k)},this))}if(this.settings.center){if(this.settings.rtl){g=-1;h=i+1}f=this._coordinates[i];f+=(this.width()-f+(this._coordinates[h]||0))/2*g}else{f=this._coordinates[h]||0}f=Math.ceil(f);return f};c.prototype.duration=function(g,h,f){if(f===0){return 0}return Math.min(Math.max(Math.abs(h-g),1),6)*Math.abs((f||this.settings.smartSpeed))};c.prototype.to=function(l,n){var f=this.current(),m=null,h=l-this.relative(f),g=(h>0)-(h<0),i=this._items.length,k=this.minimum(),j=this.maximum();if(this.settings.loop){if(!this.settings.rewind&&Math.abs(h)>i/2){h+=g*-1*i}l=f+h;m=((l-k)%i+i)%i+k;if(m!==l&&m-h<=j&&m-h>0){f=m-h;l=m;this.reset(f)}}else{if(this.settings.rewind){j+=1;l=(l%j+j)%j}else{l=Math.max(k,Math.min(j,l))}}this.speed(this.duration(f,l,n));this.current(l);if(this.isVisible()){this.update()}};c.prototype.next=function(f){f=f||false;this.to(this.relative(this.current())+1,f)};c.prototype.prev=function(f){f=f||false;this.to(this.relative(this.current())-1,f)};c.prototype.onTransitionEnd=function(f){if(f!==d){f.stopPropagation();if((f.target||f.srcElement||f.originalTarget)!==this.$stage.get(0)){return false}}this.leave("animating");this.trigger("translated")};c.prototype.viewport=function(){var f;if(this.options.responsiveBaseElement!==e){f=a(this.options.responsiveBaseElement).width()}else{if(e.innerWidth){f=e.innerWidth}else{if(b.documentElement&&b.documentElement.clientWidth){f=b.documentElement.clientWidth}else{console.warn("Can not detect viewport width.")}}}return f};c.prototype.replace=function(f){this.$stage.empty();this._items=[];if(f){f=(f instanceof jQuery)?f:a(f)}if(this.settings.nestedItemSelector){f=f.find("."+this.settings.nestedItemSelector)}f.filter(function(){return this.nodeType===1}).each(a.proxy(function(g,h){h=this.prepare(h);this.$stage.append(h);this._items.push(h);this._mergers.push(h.find("[data-merge]").addBack("[data-merge]").attr("data-merge")*1||1)},this));this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0);this.invalidate("items")};c.prototype.add=function(f,h){var g=this.relative(this._current);h=h===d?this._items.length:this.normalize(h,true);f=f instanceof jQuery?f:a(f);this.trigger("add",{content:f,position:h});f=this.prepare(f);if(this._items.length===0||h===this._items.length){this._items.length===0&&this.$stage.append(f);this._items.length!==0&&this._items[h-1].after(f);this._items.push(f);this._mergers.push(f.find("[data-merge]").addBack("[data-merge]").attr("data-merge")*1||1)}else{this._items[h].before(f);this._items.splice(h,0,f);this._mergers.splice(h,0,f.find("[data-merge]").addBack("[data-merge]").attr("data-merge")*1||1)}this._items[g]&&this.reset(this._items[g].index());this.invalidate("items");this.trigger("added",{content:f,position:h})};c.prototype.remove=function(f){f=this.normalize(f,true);if(f===d){return}this.trigger("remove",{content:this._items[f],position:f});this._items[f].remove();this._items.splice(f,1);this._mergers.splice(f,1);this.invalidate("items");this.trigger("removed",{content:null,position:f})};c.prototype.preloadAutoWidthImages=function(f){f.each(a.proxy(function(h,g){this.enter("pre-loading");g=a(g);a(new Image()).one("load",a.proxy(function(i){g.attr("src",i.target.src);g.css("opacity",1);this.leave("pre-loading");!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",g.attr("src")||g.attr("data-src")||g.attr("data-src-retina"))},this))};c.prototype.destroy=function(){this.$element.off(".owl.core");this.$stage.off(".owl.core");a(b).off(".owl.core");if(this.settings.responsive!==false){e.clearTimeout(this.resizeTimer);this.off(e,"resize",this._handlers.onThrottledResize)}for(var f in this._plugins){this._plugins[f].destroy()}this.$stage.children(".cloned").remove();this.$stage.unwrap();this.$stage.children().contents().unwrap();this.$stage.children().unwrap();this.$stage.remove();this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")};c.prototype.op=function(f,h,g){var i=this.settings.rtl;switch(h){case"<":return i?f>g:f<g;case">":return i?f<g:f>g;case">=":return i?f<=g:f>=g;case"<=":return i?f>=g:f<=g;default:break}};c.prototype.on=function(g,h,i,f){if(g.addEventListener){g.addEventListener(h,i,f)}else{if(g.attachEvent){g.attachEvent("on"+h,i)}}};c.prototype.off=function(g,h,i,f){if(g.removeEventListener){g.removeEventListener(h,i,f)}else{if(g.detachEvent){g.detachEvent("on"+h,i)}}};c.prototype.trigger=function(j,f,k,l,g){var m={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",j,k],function(n){return n}).join("-").toLowerCase()),h=a.Event([j,"owl",k||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},m,f));if(!this._supress[j]){a.each(this._plugins,function(n,o){if(o.onTrigger){o.onTrigger(h)}});this.register({type:c.Type.Event,name:j});this.$element.trigger(h);if(this.settings&&typeof this.settings[i]==="function"){this.settings[i].call(this,h)}}return h};c.prototype.enter=function(f){a.each([f].concat(this._states.tags[f]||[]),a.proxy(function(g,h){if(this._states.current[h]===d){this._states.current[h]=0}this._states.current[h]++},this))};c.prototype.leave=function(f){a.each([f].concat(this._states.tags[f]||[]),a.proxy(function(g,h){this._states.current[h]--},this))};c.prototype.register=function(g){if(g.type===c.Type.Event){if(!a.event.special[g.name]){a.event.special[g.name]={}}if(!a.event.special[g.name].owl){var f=a.event.special[g.name]._default;a.event.special[g.name]._default=function(h){if(f&&f.apply&&(!h.namespace||h.namespace.indexOf("owl")===-1)){return f.apply(this,arguments)}return h.namespace&&h.namespace.indexOf("owl")>-1};a.event.special[g.name].owl=true}}else{if(g.type===c.Type.State){if(!this._states.tags[g.name]){this._states.tags[g.name]=g.tags}else{this._states.tags[g.name]=this._states.tags[g.name].concat(g.tags)}this._states.tags[g.name]=a.grep(this._states.tags[g.name],a.proxy(function(j,h){return a.inArray(j,this._states.tags[g.name])===h},this))}}};c.prototype.suppress=function(f){a.each(f,a.proxy(function(h,g){this._supress[g]=true},this))};c.prototype.release=function(f){a.each(f,a.proxy(function(h,g){delete this._supress[g]},this))};c.prototype.pointer=function(f){var g={x:null,y:null};f=f.originalEvent||f||e.event;f=f.touches&&f.touches.length?f.touches[0]:f.changedTouches&&f.changedTouches.length?f.changedTouches[0]:f;if(f.pageX){g.x=f.pageX;g.y=f.pageY}else{g.x=f.clientX;g.y=f.clientY}return g};c.prototype.isNumeric=function(f){return !isNaN(parseFloat(f))};c.prototype.difference=function(f,g){return{x:f.x-g.x,y:f.y-g.y}};a.fn.owlCarousel=function(g){var f=Array.prototype.slice.call(arguments,1);return this.each(function(){var h=a(this),i=h.data("owl.carousel");if(!i){i=new c(this,typeof g=="object"&&g);h.data("owl.carousel",i);a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(k,j){i.register({type:c.Type.Event,name:j});i.$element.on(j+".owl.carousel.core",a.proxy(function(l){if(l.namespace&&l.relatedTarget!==this){this.suppress([j]);i[j].apply(this,[].slice.call(arguments,1));this.release([j])}},i))})}if(typeof g=="string"&&g.charAt(0)!=="_"){i[g].apply(i,f)}})};a.fn.owlCarousel.Constructor=c})(window.Zepto||window.jQuery,window,document);;
(function(a,e,c,d){var b=function(f){this._core=f;this._previousHeight=null;this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(h){if(h.namespace&&this._core.settings.autoHeight){this.update()}},this),"changed.owl.carousel":a.proxy(function(h){if(h.namespace&&this._core.settings.autoHeight&&h.property.name==="position"){this.update()}},this),"loaded.owl.lazy":a.proxy(function(h){if(h.namespace&&this._core.settings.autoHeight&&h.element.closest("."+this._core.settings.itemClass).index()===this._core.current()){this.update()}},this)};this._core.options=a.extend({},b.Defaults,this._core.options);this._core.$element.on(this._handlers);this._intervalId=null;var g=this;a(e).on("load",function(){if(g._core.settings.autoHeight){g.update()}});a(e).resize(function(){if(g._core.settings.autoHeight){if(g._intervalId!=null){clearTimeout(g._intervalId)}g._intervalId=setTimeout(function(){g.update()},250)}})};b.Defaults={autoHeight:false,autoHeightClass:"owl-height"};b.prototype.update=function(){var j=this._core._current,f=j+this._core.settings.items,h=this._core.settings.lazyLoad,k=this._core.$stage.children().toArray().slice(j,f),g=[],i=0;a.each(k,function(l,m){g.push(a(m).height())});i=Math.max.apply(null,g);if(i<=1&&h&&this._previousHeight){i=this._previousHeight}this._previousHeight=i;this._core.$stage.parent().height(i).addClass(this._core.settings.autoHeightClass)};b.prototype.destroy=function(){var f,g;for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!=="function"&&(this[g]=null)}};a.fn.owlCarousel.Constructor.Plugins.AutoHeight=b})(window.Zepto||window.jQuery,window,document);;
(function(a,e,b,d){var c=function(f){this._core=f;this._initialized=false;this._pages=[];this._controls={};this._templates=[];this.$element=this._core.$element;this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to};this._handlers={"prepared.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.dotsData){this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(g.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}},this),"added.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.dotsData){this._templates.splice(g.position,0,this._templates.pop())}},this),"remove.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.dotsData){this._templates.splice(g.position,1)}},this),"changed.owl.carousel":a.proxy(function(g){if(g.namespace&&g.property.name=="position"){this.draw()}},this),"initialized.owl.carousel":a.proxy(function(g){if(g.namespace&&!this._initialized){this._core.trigger("initialize",null,"navigation");this.initialize();this.update();this.draw();this._initialized=true;this._core.trigger("initialized",null,"navigation")}},this),"refreshed.owl.carousel":a.proxy(function(g){if(g.namespace&&this._initialized){this._core.trigger("refresh",null,"navigation");this.update();this.draw();this._core.trigger("refreshed",null,"navigation")}},this)};this._core.options=a.extend({},c.Defaults,this._core.options);this.$element.on(this._handlers)};c.Defaults={nav:false,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:false,navElement:'button type="button" role="presentation"',navContainer:false,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:true,dotsEach:false,dotsData:false,dotsSpeed:false,dotsContainer:false};c.prototype.initialize=function(){var f,g=this._core.settings;this._controls.$relative=(g.navContainer?a(g.navContainer):a("<div>").addClass(g.navContainerClass).appendTo(this.$element)).addClass("disabled");this._controls.$previous=a("<"+g.navElement+">").addClass(g.navClass[0]).html(g.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(h){this.prev(g.navSpeed)},this));this._controls.$next=a("<"+g.navElement+">").addClass(g.navClass[1]).html(g.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(h){this.next(g.navSpeed)},this));if(!g.dotsData){this._templates=[a('<button role="button">').addClass(g.dotClass).append(a("<span>")).prop("outerHTML")]}this._controls.$absolute=(g.dotsContainer?a(g.dotsContainer):a("<div>").addClass(g.dotsClass).appendTo(this.$element)).addClass("disabled");this._controls.$absolute.on("click","button",a.proxy(function(h){var i=a(h.target).parent().is(this._controls.$absolute)?a(h.target).index():a(h.target).parent().index();h.preventDefault();this.to(i,g.dotsSpeed)},this));for(f in this._overrides){this._core[f]=a.proxy(this[f],this)}};c.prototype.destroy=function(){var g,f,i,h,j;j=this._core.settings;for(g in this._handlers){this.$element.off(g,this._handlers[g])}for(f in this._controls){if(f==="$relative"&&j.navContainer){this._controls[f].html("")}else{this._controls[f].remove()}}for(h in this.overides){this._core[h]=this._overrides[h]}for(i in Object.getOwnPropertyNames(this)){typeof this[i]!="function"&&(this[i]=null)}};c.prototype.update=function(){var f,g,h,l=this._core.clones().length/2,p=l+this._core.items().length,m=this._core.maximum(true),n=this._core.settings,o=n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items;if(n.slideBy!=="page"){n.slideBy=Math.min(n.slideBy,n.items)}if(n.dots||n.slideBy=="page"){this._pages=[];for(f=l,g=0,h=0;f<p;f++){if(g>=o||g===0){this._pages.push({start:Math.min(m,f-l),end:f-l+o-1});if(Math.min(m,f-l)===m){break}g=0,++h}g+=this._core.mergers(this._core.relative(f))}}};c.prototype.draw=function(){var f,j=this._core.settings,g=this._core.items().length<=j.items,h=this._core.relative(this._core.current()),i=j.loop||j.rewind;this._controls.$relative.toggleClass("disabled",!j.nav||g);if(j.nav){this._controls.$previous.toggleClass("disabled",!i&&h<=this._core.minimum(true));this._controls.$next.toggleClass("disabled",!i&&h>=this._core.maximum(true))}this._controls.$absolute.toggleClass("disabled",!j.dots||g);if(j.dots){f=this._pages.length-this._controls.$absolute.children().length;if(j.dotsData&&f!==0){this._controls.$absolute.html(this._templates.join(""))}else{if(f>0){this._controls.$absolute.append(new Array(f+1).join(this._templates[0]))}else{if(f<0){this._controls.$absolute.children().slice(f).remove()}}}this._controls.$absolute.find(".active").removeClass("active");this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active")}};c.prototype.onTrigger=function(f){var g=this._core.settings;f.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:g&&(g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items)}};c.prototype.current=function(){var f=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(h,g){return h.start<=f&&h.end>=f},this)).pop()};c.prototype.getPosition=function(i){var g,f,h=this._core.settings;if(h.slideBy=="page"){g=a.inArray(this.current(),this._pages);f=this._pages.length;i?++g:--g;g=this._pages[((g%f)+f)%f].start}else{g=this._core.relative(this._core.current());f=this._core.items().length;i?g+=h.slideBy:g-=h.slideBy}return g};c.prototype.next=function(f){a.proxy(this._overrides.to,this._core)(this.getPosition(true),f)};c.prototype.prev=function(f){a.proxy(this._overrides.to,this._core)(this.getPosition(false),f)};c.prototype.to=function(g,h,i){var f;if(!i&&this._pages.length){f=this._pages.length;a.proxy(this._overrides.to,this._core)(this._pages[((g%f)+f)%f].start,h)}else{a.proxy(this._overrides.to,this._core)(g,h)}};a.fn.owlCarousel.Constructor.Plugins.Navigation=c})(window.Zepto||window.jQuery,window,document);;
(function(a,e,c,d){var b=function(f){this._core=f;this._call=null;this._time=0;this._timeout=0;this._paused=true;this._handlers={"changed.owl.carousel":a.proxy(function(g){if(g.namespace&&g.property.name==="settings"){if(this._core.settings.autoplay){this.play()}else{this.stop()}}else{if(g.namespace&&g.property.name==="position"&&this._paused){this._time=0}}},this),"initialized.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.autoplay){this.play()}},this),"play.owl.autoplay":a.proxy(function(g,i,h){if(g.namespace){this.play(i,h)}},this),"stop.owl.autoplay":a.proxy(function(g){if(g.namespace){this.stop()}},this),"mouseover.owl.autoplay":a.proxy(function(){if(this._core.settings.autoplayHoverPause&&this._core.is("rotating")){this.pause()}},this),"mouseleave.owl.autoplay":a.proxy(function(){if(this._core.settings.autoplayHoverPause&&this._core.is("rotating")){this.play()}},this),"touchstart.owl.core":a.proxy(function(){if(this._core.settings.autoplayHoverPause&&this._core.is("rotating")){this.pause()}},this),"touchend.owl.core":a.proxy(function(){if(this._core.settings.autoplayHoverPause){this.play()}},this)};this._core.$element.on(this._handlers);this._core.options=a.extend({},b.Defaults,this._core.options)};b.Defaults={autoplay:false,autoplayTimeout:5000,autoplayHoverPause:false,autoplaySpeed:false};b.prototype._next=function(f){this._call=e.setTimeout(a.proxy(this._next,this,f),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read());if(this._core.is("interacting")||c.hidden){return}this._core.next(f||this._core.settings.autoplaySpeed)};b.prototype.read=function(){return new Date().getTime()-this._time};b.prototype.play=function(h,g){var f;if(!this._core.is("rotating")){this._core.enter("rotating")}h=h||this._core.settings.autoplayTimeout;f=Math.min(this._time%(this._timeout||h),h);if(this._paused){this._time=this.read();this._paused=false}else{e.clearTimeout(this._call)}this._time+=this.read()%h-f;this._timeout=h;this._call=e.setTimeout(a.proxy(this._next,this,g),h-f)};b.prototype.stop=function(){if(this._core.is("rotating")){this._time=0;this._paused=true;e.clearTimeout(this._call);this._core.leave("rotating")}};b.prototype.pause=function(){if(this._core.is("rotating")&&!this._paused){this._time=this.read();this._paused=true;e.clearTimeout(this._call)}};b.prototype.destroy=function(){var f,g;this.stop();for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};a.fn.owlCarousel.Constructor.Plugins.autoplay=b})(window.Zepto||window.jQuery,window,document);;
var windowWidth=$(window).width();var controller=new ScrollMagic.Controller();$(document).ready(function(){$(".dev-app-form .the-third-party-owner").appendTo(".dev-app-form.clsFormCreator .invoice-details-radio");$(".dev-app-form .the-third-party-owner").hide();$(".dev-app-form .invoice-details-radio .form-check:nth-child(1) input").change(function(){if($(this).is(":checked")){$(".dev-app-form .the-third-party-owner").hide()}});$(".dev-app-form .invoice-details-radio .form-check:nth-child(2) input").change(function(){if($(this).is(":checked")){$(".dev-app-form .the-third-party-owner").show()}});$("a.down-arrow").on("click",function(p){if(this.hash!==""){p.preventDefault();var q=this.hash;$("html, body").animate({scrollTop:$(q).offset().top},800,function(){window.location.hash=q})}});$(".cdo-project-widget-table table tr td").each(function(){$('a:contains("Planned work")',this).parent().parent().parent().addClass("planned-work");$('a:contains("Future work")',this).parent().parent().parent().addClass("future-work");$('a:contains("Current work")',this).parent().parent().parent().addClass("current-work");$('a:contains("Completed work")',this).parent().parent().parent().addClass("completed-work")});$(".cdo-project-widget-grid .content-section .hidden-taxonomy").each(function(){$('a:contains("Planned work")',this).parent().parent().parent().addClass("planned-work");$('a:contains("Future work")',this).parent().parent().parent().addClass("future-work");$('a:contains("Current work")',this).parent().parent().parent().addClass("current-work");$('a:contains("Completed work")',this).parent().parent().parent().addClass("completed-work")});$("<h6>Planned work</h6>").prependTo(".planned-work-container > .col-12");$("<h6>Future work</h6>").prependTo(".future-work-container > .col-12");$("<h6>Current work</h6>").prependTo(".current-work-container > .col-12");$("<h6>Completed work</h6>").prependTo(".completed-work-container > .col-12");$(".cdo-project-widget-grid .content-section h5 .mainItemTaxonBelowHeading a, .cdo-project-widget-grid .content-section h5 .subItemTaxonBelowHeading a").removeAttr("href");$(".cdo-project-widget-grid .content-section h5").each(function(){var p=$(".item-value",this).text();$(this).wrapInner('<a href=" '+p+' "></a>')});function d(){if($("#chat-button").length>0){if($("#chat-button").css("display")=="none"){$(".floatingENotices").removeClass("hasChat")}else{$(".floatingENotices").addClass("hasChat")}}if($("#chat-button").length>0){$("#chat-button").appendTo(".webChatBottom")}}d();$(".project-tabs ul li:only-child").parent().parent().parent().parent().parent().parent().addClass("remove-pro-tab-child");$(".clsFormCreator .form-text.text-muted").each(function(){if($(this).length>0){$(this).wrapAll('<span class="faq"><span class="tooltip-wrap">')}});$(".clsFormCreator .form-group .select-field").each(function(){if($(this).length>0){$(this).parent().addClass("select-field-faq")}});$(".form-group .form-control").each(function(){var p=$(this).attr("placeholder");if($(this).parent().find(".col-form-label .mandatory-indictator").length>0){$(this).attr("placeholder",p+" *")}});$(".if-empty-remove").each(function(){var p=$(this);if(p.html().replace(/\s|&nbsp;/g,"").length==0){p.remove()}});$(".if-empty-remove-outer").each(function(){var p=$(this);if(p.html().replace(/\s|&nbsp;/g,"").length==0){p.remove()}});if($(".project-timeline-details .stage-two").length>0){$(".project-timeline-details .stage-one").addClass("expand-process")}if($(".project-timeline-details .stage-three").length>0){$(".project-timeline-details .stage-two").addClass("expand-process")}$(".service-interruptions-filter-container").appendTo(".filter-news");$(".cdo-project-filter").appendTo(".cdo-project-filter-here");$(".cdo-dynamic-widget .nav-pills").appendTo(".cdo-project-widget-switch");$(".cdo-dynamic-widget-place .widget .nav-pills").appendTo(".cdo-project-widget-switch");if($(".cdo-project-filter .RefineWidgetRemove").length>0){$('<li><a href="">Clear Filter</a></li>').prependTo(".cdo-project-filter-here ol");var c=window.location.toString();var e=c.substring(0,c.indexOf("?"));$(".cdo-project-filter-here li:first-child a").attr("href",e)}$(".project-tabs ul li:first-child a").text("About");$(".if-empty-remove-pp").each(function(){var p=$(this);if(p.html().replace(/\s|&nbsp;/g,"").length==0){$(this).parent().parent().remove()}});var k=$(location).attr("href").split("/").splice(0,9).join("/");$(".about-tab a").attr("href",k);$(".get-involved-tab a").attr("href",k+"/get-involved");$(".surveys-tab a").attr("href",k+"/surveys");$(".documentation-tab a").attr("href",k+"/documentation");$(".overview-tab a").attr("href",k);var j=window.location.href;$(".project-tabs ul li a").each(function(){if(this.href===j){$(this).addClass("active")}});var m=$(location).attr("href").split("/").splice(0,9).join("/");$("#surveys-url").attr("href",m+"/surveys");$(".ui-sortable .news-details-carousel").removeClass("owl-carousel");$(".ui-sortable .news-details-carousel").removeClass("news-details-carousel");$(".news-details-carousel").owlCarousel({items:1,loop:true,margin:10,nav:true,autoplay:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,},600:{items:1,},1921:{items:1,nav:true}}});$(".ui-sortable .projects-details-carousel").removeClass("owl-carousel");$(".ui-sortable .projects-details-carousel").removeClass("projects-details-carousel");$(".projects-details-carousel").owlCarousel({items:1,loop:true,margin:10,nav:true,autoplay:true,autoplayTimeout:5000,autoplayHoverPause:true,responsiveClass:true,responsive:{0:{items:1,},600:{items:1,},1921:{items:1,}}});$("#page-content select").each(function(){var s=$(this),u=$(this).children("option").length;s.addClass("select-hidden");s.wrap('<div class="select"></div>');s.after('<div class="select-styled"></div>');var r=s.next("div.select-styled");r.text(s.children("option").eq(0).text());var p=$("<ul />",{"class":"select-options"}).insertAfter(r);for(var t=0;t<u;t++){$("<li />",{text:s.children("option").eq(t).text(),rel:s.children("option").eq(t).val()}).appendTo(p)}var q=p.children("li");r.click(function(w){w.stopPropagation();$("div.select-styled.active").not(this).each(function(){$(this).removeClass("active").next("ul.select-options").hide()});$(this).toggleClass("active").next("ul.select-options").toggle()});q.click(function(w){w.stopPropagation();r.text($(this).text()).removeClass("active");s.val($(this).attr("rel"));p.hide()});$(document).click(function(){r.removeClass("active");p.hide()});var v=$(this).attr("title");$(this).next().attr("title",v)});$('.report-fault-container .clsFormCreator .no-fault input[type="button"]').click(function(){window.location="/news/service-interruptions"});$(".form-group .form-control").each(function(){var p=$(this).parent().find(".select-styled").text();if($(this).parent().parent().parent().find(".col-form-label .mandatory-indictator").length>0){$(this).parent().find(".select-styled").text(p+" *")}});$(".taxonomy-color-indicator .mainItemTaxonAboveHeading, .taxonomy-color-indicator .subItemTaxonAboveHeading").each(function(){$('a:contains("Current outage")',this).parent().parent().addClass("current-outage");$('a:contains("Issue reported")',this).parent().parent().addClass("issue-reported");$('a:contains("Planned work")',this).parent().parent().addClass("planned-work");$('a:contains("Work in progress")',this).parent().parent().addClass("work-in-progress");$('a:contains("Recently completed")',this).parent().parent().addClass("recently-completed");$('a:contains("Emergency Service")',this).parent().parent().addClass("emergency-service");$('a:contains("Planned Service")',this).parent().parent().addClass("planned-service")});$("#main-nav .hmenu>li>a, #main-nav .hmenu>li.iFOL205 >ul>li>a, #main-nav .hmenu>li.iFOL206 >ul>li>a, #main-nav .hmenu>li.iFOL208 >ul>li>a").click(function(p){event.preventDefault()});$("#main-nav .hmenu>li>a, #main-nav .hmenu>li.iFOL205 >ul>li>a, #main-nav .hmenu>li.iFOL206 >ul>li>a, #main-nav .hmenu>li.iFOL208 >ul>li>a").css("cursor","text");$(".floatingNotices").click(function(){event.preventDefault();$(".home-login-panel").slideToggle()});$(".footer-guidance .search .searchPanel label").each(function(){el=$(this);label_value=el.html();el.hide();$(".footer-guidance .search .searchPanel .input-group input").attr("placeholder",label_value).addClass("not-filled-in")});$(".footer-guidance .search .searchPanel .input-group input").focus(function(){el=$(this);input_value=el.attr("placeholder","");label_value=el.prev("label").html();if(input_value==label_value){el.attr("placeholder","").removeClass("not-filled-in")}});$(".footer-guidance .search .searchPanel .input-group input").blur(function(){$(".footer-guidance .search .searchPanel label").each(function(){el=$(this);label_value=el.html();el.hide();$(".footer-guidance .search .searchPanel .input-group input").attr("placeholder",label_value).addClass("not-filled-in")})});$("#footer #footer-links .input-group").mouseover(function(){$("#footer #footer-links .input-group-append").css("right","30px")});$("#footer #footer-links .input-group").mouseleave(function(){$("#footer #footer-links .input-group-append").css("right","0")});$("#footer #footer-links .input-group input").focus(function(){$("#footer #footer-links .input-group-append").css("right","0")});$('#footer-links .input-group input[type="text"]').attr("placeholder","Search");$('#footer-links .input-group input[type="text"]').focus(function(){$(this).attr("placeholder","")});$('#footer-links .input-group input[type="text"]').blur(function(){$(this).attr("placeholder","Search")});$("#footer-links input.searchInput").attr("autocomplete","off");$('.help-container .searchPanel .input-group input[type="text"]').attr("placeholder","Knowledge Hub");$('.help-container .searchPanel .input-group input[type="text"]').focus(function(){$(this).attr("placeholder","")});$('.help-container .searchPanel .input-group input[type="text"]').blur(function(){$(this).attr("placeholder","Knowledge Hub")});$("#header #header-search .form-control").attr("autocomplete","off");$("#header #header-search .form-control").keydown(function(p){if(p.which==40){if($("#header #header-search .dynamic-results-inner").css("display")=="none"){}else{p.preventDefault();$("#header #header-search .dynamic-results-inner ol li:first a").focus()}}else{if(p.which==27){if($("#header #header-search .dynamic-results-inner").css("display")=="none"){}else{p.preventDefault();$("#header #header-search .dynamic-results-inner").css("display","none");$("#header #header-search .dynamic-results").css("display","none")}}}});$("#header #header-search .dynamic-results-inner").keydown(function(p){if(p.which==40){p.preventDefault();$("#header #header-search .dynamic-results-inner ol li a:focus").parent("li").next("li").children("a").focus()}else{if(p.which==38){p.preventDefault();var q=$("#header #header-search .dynamic-results-inner ol li a:focus");if(q.parent().index()==0){$("#header #header-search .form-control").focus()}else{q.parent("li").prev("li").children("a").focus()}}else{if(p.which==27){if($("#header #header-search .dynamic-results-inner").css("display")=="none"){}else{p.preventDefault();$("#header #header-search .dynamic-results-inner").css("display","none");$("#header #header-search .dynamic-results").css("display","none");$("#header #header-search .form-control").focus()}}}}});if(document.getElementById("main-nav")){$("#main-nav .hmenu > li > a").each(function(){$(this).attr("aria-expanded","false");$(this).attr("aria-haspopup","true");$(this).append('<span class="toggle"><span class="sr-only"> expand using down arrow and collapse using esc key</span></span>')});$("#main-nav .hmenu li.selected").parentsUntil(".hmenu").addClass("selected");$("#main-nav .hmenu  li .toggle").on("click",function(p){if(windowWidth<992){p.preventDefault();$(".hmenu li .toggle").removeClass("open");$(".hmenu li .toggle").parent().next().removeClass("open");$(this).addClass("open");$(this).parent().next().addClass("open")}});$("#main-nav .hmenu li > a").keydown(function(p){if(p.which==40){p.preventDefault();$(this).children(".toggle").addClass("open");$(this).next().addClass("open");$(this).next().find("a").removeAttr("tabindex")}else{if(p.which==27){p.preventDefault();$(this).children(".toggle").removeClass("open");$(this).next().removeClass("open");$(this).next().find("a").attr("tabindex","-1")}}});$("#main-nav .hmenu li > ul").keydown(function(p){if(p.which==27){p.preventDefault();$(this).parent().children("a").attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus().find(".toggle").removeClass("open");$(this).removeClass("open").find("a").attr("tabindex","-1")}})}$("#main-nav .icon-menu").on("click",function(){$("#header").removeClass("open");$("#header-search").removeClass("show").attr("aria-hidden","true").attr("aria-expanded","false");$("#main-nav .icon-search").removeClass("open").attr("aria-pressed","false").attr("aria-expanded","false");if($(this).attr("aria-pressed")=="false"){$(this).attr("aria-pressed","true");$(this).attr("aria-expanded","true");$(this).addClass("open");$("#site-nav").attr("aria-hidden","false");$("#site-nav").attr("aria-expanded","true");$("#site-nav").attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus()}else{$(this).attr("aria-pressed","false");$(this).attr("aria-expanded","false");$(this).removeClass("open");$("#site-nav").attr("aria-hidden","true");$("#site-nav").attr("aria-expanded","false");$(this).attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus()}});$("#main-nav .icon-search").on("click",function(){$("#header").toggleClass("open");$("#site-nav").removeClass("show").attr("aria-hidden","true").attr("aria-expanded","false");$("#main-nav .icon-menu").attr("aria-pressed","false").attr("aria-expanded","false");$("#header-search").slideToggle();$("#header-search .input-group-append").slideToggle();if($(this).attr("aria-pressed")=="false"){$(this).attr("aria-pressed","true");$(this).attr("aria-expanded","true");$(this).addClass("open");$("#header-search").attr("aria-hidden","false");$("#header-search").attr("aria-expanded","true");$("#header-search").attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus()}else{$(this).attr("aria-pressed","false");$(this).attr("aria-expanded","false");$(this).removeClass("open");$("#header-search").attr("aria-hidden","true");$("#header-search").attr("aria-expanded","false");$(this).attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus()}});if(($('iframe[src*="youtube.com"]').length>0)||($('iframe[data-src="externalurl"]').length>0)){$(".row").fitVids()}var i=3;var f=0;$(".fontChange").click(function(){var r=$("#page-content");var p=r.css("fontSize");var q=parseFloat(p,10);var s=p.slice(-2);if(this.id=="large"&&f<i){q*=1.1;f=f+1}else{if(this.id=="small"&&f>0){q/=1.1;f=f-1}}r.css("fontSize",Math.round(q)+s)});$(".image.bg-image").each(function(){var p=$(this).find("img");var q="url("+p.attr("src")+")";$(this).css("background-image",q);p.hide()});$(".MyAccountMenu a.menuLink_Selected").parent().addClass("active");$("#gvPeople").addClass("table-bordered table-striped");$("#gridViewStores").addClass("table-bordered table-striped");$("#gvMyMeetingsResults").addClass("table-bordered table-striped");$(".content-area .table-wrap-responsive, .content-area table.table, .content-area table").each(function(){if($(this).closest('div[class~="table-responsive"]').length<1){$(this).wrap('<div class="table-responsive padding-top padding-bottom table-shadow padding-right"></div>')}});if(document.getElementById("index")){$(".content-area > .row > article h2:gt(0)").each(function(p){$(this).attr("id","index"+p);$("#index ul").append('<li><a href="#index'+p+'">'+$(this).html()+"</a></li>")})}$(".nav-tab").click(function(p){event.preventDefault();$(this).addClass("nav-tab-active").siblings().removeClass("nav-tab-active");$($(this).attr("href")).addClass("active").siblings().removeClass("active")});var a=0;var b="";var g="";if($(".container .accordion").length>0){b=$(".container > .row > .col-12 > ul > li > .accordion").first();a=$(".container > .row > .col-12 > ul > li > .accordion").length;while(a>0){g=$(b).get(0).tagName.toLowerCase();if(g=="h3"){$(b).nextUntil("h3:not(.accordion), h2").addBack().wrapAll('<div class="accordion-group" role="tablist"></div>')}else{$(b).nextUntil("h2:not(.accordion)").addBack().wrapAll('<div class="accordion-group" role="tablist"></div>')}b=$(".container > .row > .col-12 > ul > li > .accordion").first();a=$(".container > .row > .col-12 > ul > li > .accordion").length}$(".accordion-group").prepend('<p class="expand-collapse"><a href="#" class="expand-all">Expand all</a><a href="#" class="collapse-all d-none">Collapse all</a></p>');$(".accordion-group > .accordion").each(function(p){$(this).nextUntil(".accordion").wrapAll('<div id="acc'+p+'" class="card-body collapse" role="tabpanel" aria-hidden="true" aria-labelledby="heading'+p+'"></div>');$(this).nextUntil(".accordion").addBack().wrapAll('<div class="card"></div>');$(this).html('<button class="btn btn-link btn-block text-left collapsed" data-toggle="collapse" data-target="#acc'+p+'" aria-expanded="false" aria-controls="acc'+p+'" type="button">'+$(this).html()+"</button>");$(this).wrap('<div id="heading'+p+'" class="card-header" role="tab"></div>');$(this).addClass("card-title mb-0").removeClass("accordion")});$(".accordion-group").each(function(){$(this).removeClass("accordion-group").addClass("accordion margin-bottom-mid")})}var a=0;var b="";var g="";if($(".container .accordion").length>0){b=$(".container > .row > .col-12 > .accordion").first();a=$(".container > .row > .col-12 > .accordion").length;while(a>0){g=$(b).get(0).tagName.toLowerCase();if(g=="h3"){$(b).nextUntil("h3:not(.accordion), h2").addBack().wrapAll('<div class="accordion-group" role="tablist"></div>')}else{$(b).nextUntil("h2:not(.accordion)").addBack().wrapAll('<div class="accordion-group" role="tablist"></div>')}b=$(".container > .row > .col-12 > .accordion").first();a=$(".container > .row > .col-12 > .accordion").length}$(".accordion-group > .accordion").each(function(p){$(this).nextUntil(".accordion").wrapAll('<div id="acc'+p+'" class="card-body collapse" role="tabpanel" aria-hidden="true" aria-labelledby="heading'+p+'"></div>');$(this).nextUntil(".accordion").addBack().wrapAll('<div class="card"></div>');$(this).html('<button class="btn btn-link btn-block text-left collapsed" data-toggle="collapse" data-target="#acc'+p+'" aria-expanded="false" aria-controls="acc'+p+'" type="button">'+$(this).html()+"</button>");$(this).wrap('<div id="heading'+p+'" class="card-header" role="tab"></div>');$(this).addClass("card-title mb-0").removeClass("accordion")});$(".accordion-group").each(function(){$(this).removeClass("accordion-group").addClass("accordion margin-bottom-mid")})}$(".content-area .accordion .card:first-child .card-header button").removeClass("collapsed");$(".content-area .accordion .card:first-child .card-body").addClass("show");$(".accordion.accordion-defined .card-header").each(function(p){$(this).attr("id","heading"+p)});$(".accordion.accordion-defined button").each(function(p){$(this).attr("data-target","#acc"+p).attr("aria-controls","acc"+p)});$(".accordion.accordion-defined .card-body").each(function(p){$(this).attr("id","acc"+p).attr("aria-labelledby","heading"+p)});$(document).on("click","p.expand-collapse a",function(q){q.preventDefault();var r=$(this).parent();var p=r.parent();r.toggleClass("open");r.find("a:eq(0)").toggleClass("d-none");r.find("a:eq(1)").toggleClass("d-none");if($(this).hasClass("expand-all")){p.find(".card-title button").removeClass("collapsed");p.find(".card-body").addClass("show")}else{if($(this).hasClass("collapse-all")){p.find(".card-title a").addClass("collapsed");p.find(".card-body").removeClass("show")}}});var h="";if($("#faq .tab").length>0){$("#faq > .container > .row > .col-12 > .tabs").each(function(){h=$(this);h.addClass("nav nav-tabs");h.attr("role","tablist");h.children("li").attr("role","presentation").addClass("nav-item");h.children("li").each(function(p){if(p==0){$(this).html('<a class="nav-link active" href="#tab'+p+'" data-toggle="tab" aria-controls="tab'+p+'" role="tab" aria-selected="true">'+$(this).html()+"</a>")}else{$(this).html('<a class="nav-link" href="#tab'+p+'" data-toggle="tab" aria-controls="tab'+p+'" role="tab" aria-selected="false">'+$(this).html()+"</a>")}})})}var n=0;var o="";var h="";if($("#faq .tab").length>0){o=$("#faq > .container .row > .col-12 > .tab").first();n=$("#faq > .container .row > .col-12 > .tab").length;while(n>0){h=$(o).get(0).tagName.toLowerCase();if(h=="h3"){$(o).nextUntil("h2").addBack().wrapAll('<div class="tab-content panel"></div>')}else{$(o).nextUntil("h2:not(.tab)").addBack().wrapAll('<div class="tab-content panel"></div>')}o=$("#faq > .container > .row > .col-12 > .tab").first();n=$("#faq > .container > .row > .col-12 > .tab").length}$(".tab-content > .tab").each(function(p){$(this).nextUntil(".tab").addBack().wrapAll('<div id="tab'+p+'" role="tabpanel" class="tab-pane card-body" aria-hidden="true"></div>')});$(".tab-content .tab-pane").eq(0).addClass("active").attr("aria-hidden","false")}$(document).on("click",".nav-tabs a",function(q){var p=$(this).attr("aria-controls");if($(this).hasClass("active")){$(p).attr("aria-hidden","true")}else{$(p).attr("aria-hidden","false")}});if(windowWidth<576){}if(windowWidth>576){}$(".tabs.tabs-defined li:eq(0) a").addClass("active");$(".tabs.tabs-defined li a").each(function(p){$(this).attr("id","tab-heading"+p).attr("href","#tab"+p).attr("aria-controls","tab"+p)});$(".tab-content.tab-defined .tab-pane:eq(0)").addClass("show active").attr("aria-hidden","false");$(".tab-content.tab-defined .tab-pane").each(function(p){$(this).attr("id","tab"+p).attr("aria-labelledby","tab-heading"+p)});$(document).on("click",".nav-tabs a",function(q){var p="#"+$(this).attr("aria-controls");if($(this).hasClass("active")){$(p).attr("aria-hidden","true")}else{$(p).attr("aria-hidden","false")}});$("#owl-one").owlCarousel({items:1,margin:10,nav:true,autoplay:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,stagePadding:50,loop:false},600:{items:3,},1921:{items:4,nav:true}}});$("#owl-two").owlCarousel({items:1,loop:true,margin:10,autoplay:true,nav:true,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1},600:{items:1},1000:{items:1}}});$("#home-slider").owlCarousel({items:1,loop:true,margin:10,autoplay:true,nav:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1},600:{items:1},1000:{items:1}}});$("#newsbanner-slider").owlCarousel({items:1,loop:true,margin:10,autoplay:false,nav:true,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,autoHeight:true,},600:{items:1,autoHeight:true,},1000:{items:1}}});$("#cdo-project-slider").owlCarousel({items:1,loop:true,margin:10,autoplay:false,nav:true,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,autoHeight:true,},600:{items:1},1000:{items:1}}});$(".project-slider-wrapper .owl-nav").wrapAll('<div class="container-fluid navigation"><div class="row"><div class="offset-4 col-lg-8 col-md-8 col-sm-8 col-12 mob-full-width"></div></div></div>');$(".news-slider-wrapper .owl-nav").appendTo(".news-slider-wrapper .owl-stage-outer");$(".interactive-tables thead, .interactive-tables tbody").css("display","block");$(".interactive-tables thead, .interactive-tables tbody").hide();$(".interactive-tables tbody.active").show();$(".regulated-services table.interactive-tables.regulated-services-table tbody").css("display","block");$(".interactive-tables caption").on("click",function(){$(this).parent().find("tbody, thead").slideToggle("slow")});$(".interactive-tables caption").on("keyup",function(p){if(p.keyCode===13||p.keyCode==32){$(this).parent().find("tbody, thead").slideToggle("slow")}});$(".interactive-tables tbody.active").show();$(".content-tile .content-tile-info p").each(function(){if($(this).children().hasClass("btn")){$(this).addClass("last-p-with-anchor")}});$(".tile").click(function(){window.location=$(this).find("a").attr("href");return false});$(".form-2-columns .same-as-above .form-check-input").on("click",function(){if($(this).is(":checked")){$(".form-2-columns .postal-address .form-control").attr("disabled","disabled")}else{$(".form-2-columns .postal-address .form-control").removeAttr("disabled")}});$('.knowledge-hub-search .searchPanel .input-group input[type="text"]').attr("placeholder","E.g. How can I pay my bill");$('.knowledge-hub-search .searchPanel .input-group input[type="text"]').blur(function(){$(this).attr("placeholder","E.g. How can I pay my bill")});$(".knowledge-hub .knowledge-hub-menu ul.menu16").addClass("slide-right");$(".knowledge-hub .knowledge-hub-menu ul.menu16 > li > a > span").after('<span class="toggle icon icon-only icon-right icon-small icon-thin icon-add"><span class="sr-only">expand using down arrow and collapse using esc key</span></span>');$(".knowledge-hub .knowledge-hub-menu ul.menu16 > li > a").on("click",function(p){p.preventDefault();if($(this).find(".toggle").hasClass("icon-minus")){$(this).find(".toggle").addClass("icon-add");$(this).find(".toggle").removeClass("icon-minus");$(this).next().removeClass("open");$(this).removeClass("open")}else{$(this).find(".toggle").removeClass("icon-add");$(this).find(".toggle").addClass("icon-minus");$(this).next().addClass("open");$(this).addClass("open");$(".knowledge-hub .knowledge-hub-menu ul.menu16 > li > a").not(this).find(".toggle").addClass("icon-add");$(".knowledge-hub .knowledge-hub-menu ul.menu16 > li > a").not(this).find(".toggle").removeClass("icon-minus");$(".knowledge-hub .knowledge-hub-menu ul.menu16 > li > a").not(this).next().removeClass("open")}});$(".knowledge-hub .knowledge-hub-menu ul > li > ul > li").each(function(){if($(this).hasClass("selected")){$(this).parent().addClass("open");$(this).parent().parent().find(".toggle").removeClass("icon-add");$(this).parent().parent().find(".toggle").addClass("icon-minus")}});$(".section-block-tiles.bg-shade-odd-white-even > div:nth-child(odd)").addClass("bg-shade");$(".current-service-interruptions .tile .title .mainItemTaxonAboveHeading a, .current-service-interruptions .tile .title .subItemTaxonAboveHeading a").contents().unwrap();if(location.search.indexOf(654)>1){$("html, body").animate({scrollTop:$("#latest-updates").offset().top},0)}if(location.search.indexOf(949)>1){$("html, body").animate({scrollTop:$(".filter-news").offset().top},0)}if(location.search.indexOf(1068)>1){$("html, body").animate({scrollTop:$(".cdo-project-filter-here").offset().top},0)}function l(p,q){var r=$(p).find(".custom-metadata li:last-child").text();r=new Date(r);var s=$(q).find(".custom-metadata li:last-child").text();s=new Date(s);return s<r?1:-1}$(".sort-by-date").each(function(){var p=$(this).find(".date-item");var q=$(this).find(".order-by-date");$(p).sort(l).appendTo(q)})});$(window).bind("load resize",function(){windowWidth=$(window).width()});function addToFavourites(d,b,c){var a="//"+d+"/MyAccount/MyFavouritesAdd.aspx?AID="+b+"&FID="+c;$.ajax({url:a,success:function(e){alert("This page has been added to your shortcuts")}})}$(document).ready(function(){enquire.register("screen and (max-width: 991px)",{match:function(){$("#video-gal-carousel").addClass("owl-carousel");$("#video-gal-carousel").owlCarousel({items:1,loop:false,nav:false,autoplay:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,},992:{items:2,},1921:{items:2,nav:true}}});$(".projects-articles .overview-tab a").removeClass("active");$(".projects-articles #about").show();$(".projects-articles #overview").hide();if($(".about-tab .active ").length>0){$(".projects-articles .about-tab a").click(function(){event.preventDefault()});$(".projects-articles .overview-tab a").click(function(){event.preventDefault()})}if($(".overview-tab .active ").length>0){$(".projects-articles .about-tab a").click(function(){event.preventDefault()});$(".projects-articles .overview-tab a").click(function(){event.preventDefault()})}$(".projects-articles .about-tab a").click(function(){$("#overview").hide();$("#about").show();$(this).addClass("active");$(".projects-articles .overview-tab a").removeClass("active")});$(".projects-articles .overview-tab a").click(function(){$("#overview").show();$("#about").hide();$(this).addClass("active");$(".projects-articles .about-tab a").removeClass("active")});var a="";if($("#faq .tab-content .left-menus .tabs").length>0){$("#faq > .container .row > .col-12 > .tab-content > .card-body > .first-child-tab > .left-menus > .tabs").each(function(){a=$(this);a.addClass("nav nav-tabs");a.attr("role","tablist");a.children("li").attr("role","presentation").addClass("nav-item");a.children("li").each(function(e){if(e==0){$(this).html('<a class="nav-link active" href="#firstchildtab'+e+'" data-toggle="tab" aria-controls="tab'+e+'" role="tab" aria-selected="true">'+$(this).html()+"</a>")}else{$(this).html('<a class="nav-link" href="#firstchildtab'+e+'" data-toggle="tab" aria-controls="tab'+e+'" role="tab" aria-selected="false">'+$(this).html()+"</a>")}})})}var c=0;var d="";var a="";if($("#faq .tab-content .tab").length>0){d=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .first-child-tab > .right-content > .tab").first();c=$("#faq > .container .row > .col-12  >  .tab-content > .card-body >  .first-child-tab > .right-content > .tab").length;while(c>0){a=$(d).get(0).tagName.toLowerCase();if(a=="h3"){$(d).nextUntil("h2").addBack().wrapAll('<div class="tab-content panel"></div>')}else{$(d).nextUntil("h2:not(.tab)").addBack().wrapAll('<div class="tab-content panel"></div>')}d=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .first-child-tab  > .right-content > .tab").first();c=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .first-child-tab  > .right-content > .tab").length}$(".tab-content > .tab").each(function(e){$(this).nextUntil(".tab").addBack().wrapAll('<div id="firstchildtab'+e+'" role="tabpanel" class="tab-pane card-body" aria-hidden="true"></div>')})}var a="";if($("#faq .tab-content .tabs").length>0){$(" #faq > .container .row > .col-12 > .tab-content > .card-body > .second-child-tab > .left-menus > .tabs").each(function(){a=$(this);a.addClass("nav nav-tabs");a.attr("role","tablist");a.children("li").attr("role","presentation").addClass("nav-item");a.children("li").each(function(e){if(e==0){$(this).html('<a class="nav-link active" href="#secondchildtab'+e+'" data-toggle="tab" aria-controls="tab'+e+'" role="tab" aria-selected="true">'+$(this).html()+"</a>")}else{$(this).html('<a class="nav-link" href="#secondchildtab'+e+'" data-toggle="tab" aria-controls="tab'+e+'" role="tab" aria-selected="false">'+$(this).html()+"</a>")}})})}var c=0;var d="";var a="";if($("#faq .tab-content .tab").length>0){d=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .second-child-tab  > .right-content > .tab").first();c=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .second-child-tab > .right-content > .tab").length;while(c>0){a=$(d).get(0).tagName.toLowerCase();if(a=="h3"){$(d).nextUntil("h2").addBack().wrapAll('<div class="tab-content panel"></div>')}else{$(d).nextUntil("h2:not(.tab)").addBack().wrapAll('<div class="tab-content panel"></div>')}d=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .second-child-tab  > .right-content > .tab").first();c=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .second-child-tab  > .right-content > .tab").length}$(".tab-content > .tab").each(function(e){$(this).nextUntil(".tab").addBack().wrapAll('<div id="secondchildtab'+e+'" role="tabpanel" class="tab-pane card-body" aria-hidden="true"></div>')})}var a="";if($("#faq .tab-content .tabs").length>0){$("#faq > .container .row > .col-12 > .tab-content > .card-body > .third-child-tab > .left-menus > .tabs").each(function(){a=$(this);a.addClass("nav nav-tabs");a.attr("role","tablist");a.children("li").attr("role","presentation").addClass("nav-item");a.children("li").each(function(e){if(e==0){$(this).html('<a class="nav-link active" href="#thirdchildtab'+e+'" data-toggle="tab" aria-controls="tab'+e+'" role="tab" aria-selected="true">'+$(this).html()+"</a>")}else{$(this).html('<a class="nav-link" href="#thirdchildtab'+e+'" data-toggle="tab" aria-controls="tab'+e+'" role="tab" aria-selected="false">'+$(this).html()+"</a>")}})})}var c=0;var d="";var a="";if($("#faq .tab-content .tab").length>0){d=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .third-child-tab  > .right-content > .tab").first();c=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .third-child-tab > .right-content > .tab").length;while(c>0){a=$(d).get(0).tagName.toLowerCase();if(a=="h3"){$(d).nextUntil("h2").addBack().wrapAll('<div class="tab-content panel"></div>')}else{$(d).nextUntil("h2:not(.tab)").addBack().wrapAll('<div class="tab-content panel"></div>')}d=$(" #faq > .container .row > .col-12  >  .tab-content > .card-body > .third-child-tab  > .right-content > .tab").first();c=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .third-child-tab  > .right-content > .tab").length}$(".tab-content > .tab").each(function(e){$(this).nextUntil(".tab").addBack().wrapAll('<div id="thirdchildtab'+e+'" role="tabpanel" class="tab-pane card-body" aria-hidden="true"></div>')})}if($("#faq .tab-content .tab").length>0){$(".tab-content .card-body").removeClass("active");$(".tab-content .card-body:first-child").addClass("active")}if($("#faq .tab-content .left-menus .tabs").length>0){$("#faq .nav-tabs li a.nav-link").removeClass("active");$("#faq .nav-tabs li:first-child a.nav-link").addClass("active")}$(".right-content .card-body h3.tab").addClass("toggle");$(".right-content .card-body h3.tab.toggle").each(function(e){$(this).siblings().wrapAll("<div class='description-wrap' style='display:none;'></div>")});$(".right-content .card-body h3.tab.toggle").each(function(e){$(this).on("click",function(){$(this).next().toggle();$(this).toggleClass("collapsed")})});$("#newsbanner-slider .owl-nav").appendTo("#newsbanner-slider .img-container");$(".second-section .diagram-box").insertAfter(".first-section .first-content");$('#header #header-search input[type="text"]').attr("placeholder","Search");$('#header #header-search input[type="text"]').focus(function(){$(this).attr("placeholder","")});$('#header #header-search input[type="text"]').blur(function(){$(this).attr("placeholder","Search")});$(".desk-bg-image .image-inside").css("background-image","none");$("#footer-bottom .social-icons").prependTo("#footer-bottom > .container > .row.mobile-swap");var b=$(".mob-bg-image img").attr("src");$(".mob-bg-image").css("background-image","url("+b+")");$(".mob-bg-image img").hide();$(".home-mob-banner").each(function(){var e=$(this).find("img");var f="url("+e.attr("src")+")";$(this).css("background-image",f);e.hide()});$(".project-slider-container > .container").prependTo(".project-slider-container");$('<ul class="append-hub-here"></ul>').appendTo("#faq > .container > .after-accordion-mob");$("#faq .container .nav-tabs li.visit-hub").prependTo("#faq > .container > .after-accordion-mob .append-hub-here");$(".help-container > .container").appendTo(".help-container > .container-fluid .img-container");$(".project-slider-container .see-all").appendTo(".project-slider-wrapper")},unmatch:function(){$(".right-content .card-body h3.tab").removeClass("toggle");$(".description-wrap").removeAttr("style");$(".description-wrap").contents().unwrap();$(".first-section .diagram-box").prependTo(".second-section");$('#header #header-search input[type="text"]').attr("placeholder","");$('#header #header-search input[type="text"]').focus(function(){$(this).attr("placeholder","")});$('#header #header-search input[type="text"]').blur(function(){$(this).attr("placeholder","")});var a=$(".desk-bg-image img").attr("src");$(".desk-bg-image .image-inside").css("background-image","url("+a+")");$(".desk-bg-image img").hide();$("#footer-bottom .social-icons").appendTo("#footer-bottom > .container > .row.mobile-swap");$(".mob-bg-image img").show();$(".project-slider-container > .container").appendTo(".project-slider-container");$(".append-hub-here .visit-hub").insertBefore("#faq > .container .after-accordion-mob > .col-12 > .nav-tabs > li:nth-last-child(1)");$(".append-hub-here").remove();$(".help-container .img-container > .container").insertAfter(".help-container > .container-fluid");$(".project-slider-wrapper .see-all").appendTo(".project-slider-container > .container > .content")}});enquire.register("screen and (min-width: 992px)",{match:function(){$("#main-nav .hmenu>li.iFOL209 ul li > ul").remove();$("#main-nav .hmenu>li.iFOL210 ul li > ul").remove();var e=2,a=$(".iFOL209 > ul, .iFOL210 > ul"),d="li",c="sub-list";a.each(function(){var n=new Array(),m=$(this).find(d),q=Math.floor(m.length/e),h=m.length-(q*e);for(var l=0;l<e;l++){if(l<h){n[l]=q+1}else{n[l]=q}}for(var l=0;l<e;l++){$(this).append($("<ul ></ul>").addClass(c));for(var o=0;o<n[l];o++){var r=0;for(var p=0;p<l;p++){r+=n[p]}$(this).find("."+c).last().append(m[o+r])}}});$('#header #header-search input[type="text"]').attr("placeholder","Search Knowledge Hub");$('#header #header-search input[type="text"]').focus(function(){$(this).attr("placeholder","")});$('#header #header-search input[type="text"]').blur(function(){$(this).attr("placeholder","Search Knowledge Hub")});$(".projects-articles #about").show();$(".projects-articles #overview").show();$(".projects-articles .about-tab a").click(function(){$("#overview").show();$("#about").show();$(this).addClass("active");$(".projects-articles .overview-tab a").removeClass("active")});$("#service-interruptions-container").owlCarousel({items:1,loop:false,margin:10,nav:true,autoplay:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,stagePadding:50},600:{items:3,},1921:{items:4,nav:true}}});$(".iFOL250").each(function(){var i=$(this).parent();var h=$(this).nextAll("li");if(h.length>0){$('<ul class="separateUL">').append(h).insertAfter(i)}});$(".iFOL207 ul").wrapAll("<ul><li></li></ul>");var b="";if($("#faq .tab-content .left-menus .tabs").length>0){$("#faq > .container .row > .col-12 > .tab-content > .card-body > .first-child-tab > .left-menus > .tabs").each(function(){b=$(this);b.addClass("nav nav-tabs");b.attr("role","tablist");b.children("li").attr("role","presentation").addClass("nav-item");b.children("li").each(function(h){if(h==0){$(this).html('<a class="nav-link active" href="#firstchildtab'+h+'" data-toggle="tab" aria-controls="tab'+h+'" role="tab" aria-selected="true">'+$(this).html()+"</a>")}else{$(this).html('<a class="nav-link" href="#firstchildtab'+h+'" data-toggle="tab" aria-controls="tab'+h+'" role="tab" aria-selected="false">'+$(this).html()+"</a>")}})})}var f=0;var g="";var b="";if($("#faq .tab-content .tab").length>0){g=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .first-child-tab > .right-content > .tab").first();f=$("#faq > .container .row > .col-12  >  .tab-content > .card-body >  .first-child-tab > .right-content > .tab").length;while(f>0){b=$(g).get(0).tagName.toLowerCase();if(b=="h3"){$(g).nextUntil("h2").addBack().wrapAll('<div class="tab-content panel"></div>')}else{$(g).nextUntil("h2:not(.tab)").addBack().wrapAll('<div class="tab-content panel"></div>')}g=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .first-child-tab  > .right-content > .tab").first();f=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .first-child-tab  > .right-content > .tab").length}$(".tab-content > .tab").each(function(h){$(this).nextUntil(".tab").addBack().wrapAll('<div id="firstchildtab'+h+'" role="tabpanel" class="tab-pane card-body" aria-hidden="true"></div>')});$("tab-content .tab-pane").eq(0).addClass("active").attr("aria-hidden","false")}var b="";if($("#faq .tab-content .tabs").length>0){$(" #faq > .container .row > .col-12 > .tab-content > .card-body > .second-child-tab > .left-menus > .tabs").each(function(){b=$(this);b.addClass("nav nav-tabs");b.attr("role","tablist");b.children("li").attr("role","presentation").addClass("nav-item");b.children("li").each(function(h){if(h==0){$(this).html('<a class="nav-link active" href="#secondchildtab'+h+'" data-toggle="tab" aria-controls="tab'+h+'" role="tab" aria-selected="true">'+$(this).html()+"</a>")}else{$(this).html('<a class="nav-link" href="#secondchildtab'+h+'" data-toggle="tab" aria-controls="tab'+h+'" role="tab" aria-selected="false">'+$(this).html()+"</a>")}})})}var f=0;var g="";var b="";if($("#faq .tab-content .tab").length>0){g=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .second-child-tab  > .right-content > .tab").first();f=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .second-child-tab > .right-content > .tab").length;while(f>0){b=$(g).get(0).tagName.toLowerCase();if(b=="h3"){$(g).nextUntil("h2").addBack().wrapAll('<div class="tab-content panel"></div>')}else{$(g).nextUntil("h2:not(.tab)").addBack().wrapAll('<div class="tab-content panel"></div>')}g=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .second-child-tab  > .right-content > .tab").first();f=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .second-child-tab  > .right-content > .tab").length}$(".tab-content > .tab").each(function(h){$(this).nextUntil(".tab").addBack().wrapAll('<div id="secondchildtab'+h+'" role="tabpanel" class="tab-pane card-body" aria-hidden="true"></div>')});$(".tab-content .tab-pane").eq(0).addClass("active").attr("aria-hidden","false")}var b="";if($("#faq .tab-content .tabs").length>0){$("#faq > .container .row > .col-12 > .tab-content > .card-body > .third-child-tab > .left-menus > .tabs").each(function(){b=$(this);b.addClass("nav nav-tabs");b.attr("role","tablist");b.children("li").attr("role","presentation").addClass("nav-item");b.children("li").each(function(h){if(h==0){$(this).html('<a class="nav-link active" href="#thirdchildtab'+h+'" data-toggle="tab" aria-controls="tab'+h+'" role="tab" aria-selected="true">'+$(this).html()+"</a>")}else{$(this).html('<a class="nav-link" href="#thirdchildtab'+h+'" data-toggle="tab" aria-controls="tab'+h+'" role="tab" aria-selected="false">'+$(this).html()+"</a>")}})})}var f=0;var g="";var b="";if($("#faq .tab-content .tab").length>0){g=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .third-child-tab  > .right-content > .tab").first();f=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .third-child-tab > .right-content > .tab").length;while(f>0){b=$(g).get(0).tagName.toLowerCase();if(b=="h3"){$(g).nextUntil("h2").addBack().wrapAll('<div class="tab-content panel"></div>')}else{$(g).nextUntil("h2:not(.tab)").addBack().wrapAll('<div class="tab-content panel"></div>')}g=$(" #faq > .container .row > .col-12  >  .tab-content > .card-body > .third-child-tab  > .right-content > .tab").first();f=$("#faq > .container .row > .col-12  >  .tab-content > .card-body > .third-child-tab  > .right-content > .tab").length}$(".tab-content > .tab").each(function(h){$(this).nextUntil(".tab").addBack().wrapAll('<div id="thirdchildtab'+h+'" role="tabpanel" class="tab-pane card-body" aria-hidden="true"></div>')});$(".tab-content .tab-pane").eq(0).addClass("active").attr("aria-hidden","false")}if($("#faq .tab-content .tab").length>0){$(".tab-content .card-body").removeClass("active");$(".tab-content .card-body:first-child").addClass("active")}if($("#faq .tab-content .left-menus .tabs").length>0){$("#faq .nav-tabs li a.nav-link").removeClass("active");$("#faq .nav-tabs li:first-child a.nav-link").addClass("active")}$(".right-content .card-body h3.tab").removeClass("toggle");$(".description-wrap").removeAttr("style");$(".description-wrap").contents().unwrap();$("#faq .child-tab-content .tabs li a").each(function(){var h=$(this);if(h.html().replace(/\s|&nbsp;/g,"").length==0){h.remove()}})},unmatch:function(){$(".right-content .card-body h3.tab").addClass("toggle");$(".right-content .card-body h3.tab.toggle").each(function(a){$(this).on("click",function(){$(this).next().toggle();$(this).toggleClass("collapsed")})})}});enquire.register("screen and (max-width: 991px)",{match:function(){$('.knowledge-hub-search .searchPanel .input-group input[type="text"]').attr("placeholder","Search Knowledge Hub");$('.knowledge-hub-search .searchPanel .input-group input[type="text"]').focus(function(){$(this).attr("placeholder","")});$('.knowledge-hub-search .searchPanel .input-group input[type="text"]').blur(function(){$(this).attr("placeholder","Search Knowledge Hub")});$(".knowledge-hub .knowledge-hub-menu h1").on("click",function(a){a.preventDefault();$(this).toggleClass("open");$(".knowledge-hub .knowledge-hub-menu ul").toggleClass("show")});$(".knowledge-hub .knowledge-hub-menu .knowledge-hub-request-article").insertAfter(".knowledge-hub .most-searched-articles");$(".knowledge-hub .knowledge-hub-menu .knowledge-hub-request-article").insertAfter(".knowledge-hub .knowledge-hub-search-results");$(".content-single-tiles-right  > article:first-child").insertAfter(".content-single-tiles-left  > article:first-child");$(".content-single-tiles-right  > article:nth-child(2)").insertAfter(".content-single-tiles-left  > article:nth-child(3)");$(".content-single-tiles-right  > article:nth-child(3)").insertAfter(".content-single-tiles-left  > article:nth-child(5)");$(".pay-your-account-banner-right").insertAfter(".section-content-tiles");$(".contact-section .contact-section-center .social").insertAfter(".contact-section .contact-section-right ul")},unmatch:function(){$('.knowledge-hub-search .searchPanel .input-group input[type="text"]').attr("placeholder","E.g. How can I pay my bill");$('.knowledge-hub-search .searchPanel .input-group input[type="text"]').focus(function(){$(this).attr("placeholder","")});$('.knowledge-hub-search .searchPanel .input-group input[type="text"]').blur(function(){$(this).attr("placeholder","E.g. How can I pay my bill")});$(".knowledge-hub .knowledge-hub-right .knowledge-hub-request-article").insertAfter(".knowledge-hub .knowledge-hub-menu div > ul");$(".content-single-tiles-left  > article:nth-child(2)").insertBefore(".content-single-tiles-right  > article:first-child");$(".content-single-tiles-left  > article:nth-child(4)").insertBefore(".content-single-tiles-right  > article:nth-child(3)");$(".pay-your-account-banner-right").insertAfter(".pay-your-account-banner-left");$(".contact-section .contact-section-right .social").insertAfter(".contact-section .contact-section-center ul")}});enquire.register("screen and (min-width:992px) and (max-width:1199px)",{match:function(){$(".content-single-tiles-right  > article:first-child").insertAfter(".content-single-tiles-left  > article:first-child");$(".content-single-tiles-right  > article:nth-child(2)").insertAfter(".content-single-tiles-left  > article:nth-child(3)");$(".content-single-tiles-right  > article:nth-child(3)").insertAfter(".content-single-tiles-left  > article:nth-child(5)")},unmatch:function(){$(".content-single-tiles-left  > article:nth-child(2)").insertBefore(".content-single-tiles-right  > article:first-child");$(".content-single-tiles-left  > article:nth-child(4)").insertBefore(".content-single-tiles-right  > article:nth-child(3)")}});enquire.register("screen and (min-width: 1200px)",{match:function(){var a=$(".desk-bg-image img").attr("src");$(".desk-bg-image .image-inside").css("background-image","url("+a+")");$(".desk-bg-image img").hide()},unmatch:function(){$(".desk-bg-image").css("background-image","none")}});if($(window).width()>992){autoMenuHeight()}});$(window).on("load",function(){enquire.register("screen and (max-width: 991px)",{match:function(){$(".defined-template .d-temp-child:even").addClass("bg-grey");$(".cdo-project-widget-table table").each(function(){$(".cdo-project-widget-table .titles").remove();$(this).replaceWith($("table").html().replace(/<tbody/gi,"<div id='mobile-cdo-widget-table' class='owl-carousel owl-theme col-12' ").replace(/<tr/gi,"<ul").replace(/<\/tr>/gi,"</ul>").replace(/<td/gi,"<li").replace(/<\/td>/gi,"</li>").replace(/<\/tbody/gi,"</div"))});$(".cdo-project-widget-grid .current-work-container .col-12 .row").addClass("owl-carousel owl-theme").attr("id","current-work-slider");$(".cdo-project-widget-grid .planned-work-container .col-12 .row").addClass("owl-carousel owl-theme").attr("id","planned-work-slider");$(".cdo-project-widget-grid .future-work-container .col-12 .row").addClass("owl-carousel owl-theme").attr("id","future-work-slider");$(".cdo-project-widget-grid .completed-work-container .col-12 .row").addClass("owl-carousel owl-theme").attr("id","completed-work-slider");$("#mobile-cdo-widget-table").owlCarousel({items:1,loop:true,nav:true,autoplay:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,},600:{items:1,},1921:{items:1,nav:true}}});$("#current-work-slider").owlCarousel({items:1,loop:false,nav:false,autoplay:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,},600:{items:1,},1921:{items:1,nav:true}}});$("#planned-work-slider").owlCarousel({items:1,loop:false,nav:false,autoplay:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,},600:{items:1,},1921:{items:1,nav:true}}});$("#future-work-slider").owlCarousel({items:1,loop:false,nav:false,autoplay:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,},600:{items:1,},1921:{items:1,nav:true}}});$("#completed-work-slider").owlCarousel({items:1,loop:false,nav:false,autoplay:false,autoplayTimeout:5000,autoplayHoverPause:true,dots:false,responsiveClass:true,responsive:{0:{items:1,},600:{items:1,},1921:{items:1,nav:true}}})},unmatch:function(){}})});function autoMenuHeight(){$("#site-nav .hmenu > li").each(function(){if($(this).hasClass("selected")){$(this).removeClass("selected")}var a=$(this).attr("class").replace(" first","");$(this).find("ul > li > ul").each(function(){$(this).find("li").each(function(b){$(this).addClass("New"+a+(b+1))})})});$("#site-nav .hmenu > li").each(function(){var a=$(this).attr("class").replace(" first","");$(this).one("mouseenter mouseleave",function(b){setTimeout(function(){for(var e=1;e<=20;e++){var d=0;var c=".New"+a+e;$(c).each(function(){if($(this).height()>d){d=$(this).height()}});$(c).each(function(){$(this).height(d)})}},300)})})};;
