@swisspost/internet-header 1.13.8 → 1.13.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/{index-cab594bc.js → index-ec3e0fb6.js} +37 -22
  3. package/dist/cjs/index.cjs.js +15 -15
  4. package/dist/cjs/{language.service-94409b3d.js → language.service-1ba2d907.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +4 -2
  6. package/dist/cjs/{post-internet-breadcrumbs-d8a0a3e6.js → post-internet-breadcrumbs-36dd7ad1.js} +6 -6
  7. package/dist/cjs/{post-internet-footer-3e114492.js → post-internet-footer-c3711354.js} +12 -9
  8. package/dist/cjs/{post-internet-header-c487fe28.js → post-internet-header-6fc87361.js} +24 -24
  9. package/dist/cjs/post-klp-login-widget-dddaac99.js +62 -0
  10. package/dist/cjs/post-klp-login-widget.cjs.entry.js +5 -5
  11. package/dist/cjs/{post-language-switch-89769c16.js → post-language-switch-9282e5ec.js} +6 -6
  12. package/dist/cjs/post-language-switch.cjs.entry.js +6 -6
  13. package/dist/cjs/{post-logo-0b0d8277.js → post-logo-124f61b6.js} +3 -3
  14. package/dist/cjs/post-logo.cjs.entry.js +3 -3
  15. package/dist/cjs/{post-main-navigation-05ac62f4.js → post-main-navigation-24a6e416.js} +6 -6
  16. package/dist/cjs/post-main-navigation.cjs.entry.js +6 -6
  17. package/dist/cjs/{post-meta-navigation-19db7f19.js → post-meta-navigation-51fdeb3c.js} +3 -3
  18. package/dist/cjs/post-meta-navigation.cjs.entry.js +3 -3
  19. package/dist/cjs/post-search-eebfe5dc.js +596 -0
  20. package/dist/cjs/post-search.cjs.entry.js +6 -6
  21. package/dist/cjs/{post-skiplinks-b1ea7588.js → post-skiplinks-a31d3236.js} +4 -4
  22. package/dist/cjs/post-skiplinks.cjs.entry.js +5 -5
  23. package/dist/cjs/{store-9f3cc50a.js → store-e62cce76.js} +1 -1
  24. package/dist/cjs/{svg-icon.component-980da2bc.js → svg-icon.component-7e7dd749.js} +1 -1
  25. package/dist/cjs/{svg-sprite.component-6d4865e1.js → svg-sprite.component-b9a5abc4.js} +1 -1
  26. package/dist/cjs/swisspost-internet-breadcrumbs.cjs.entry.js +6 -6
  27. package/dist/cjs/swisspost-internet-footer.cjs.entry.js +5 -5
  28. package/dist/cjs/swisspost-internet-header.cjs.entry.js +6 -6
  29. package/dist/cjs/swisspost-internet-header.cjs.js +5 -3
  30. package/dist/collection/collection-manifest.json +2 -2
  31. package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.css +2 -2
  32. package/dist/collection/components/post-internet-footer/components/post-footer-block-contact.component.js +7 -4
  33. package/dist/collection/components/post-internet-footer/post-internet-footer.css +1 -1
  34. package/dist/collection/components/post-internet-header/post-internet-header.css +1 -1
  35. package/dist/collection/components/post-internet-header/post-internet-header.js +2 -2
  36. package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.css +1 -1
  37. package/dist/collection/components/post-language-switch/post-language-switch.css +1 -1
  38. package/dist/collection/components/post-logo/post-logo.css +1 -1
  39. package/dist/collection/components/post-main-navigation/post-main-navigation.css +1 -1
  40. package/dist/collection/components/post-meta-navigation/post-meta-navigation.css +1 -1
  41. package/dist/collection/components/post-search/post-search.css +5 -5
  42. package/dist/components/post-klp-login-widget2.js +1 -1
  43. package/dist/components/post-language-switch2.js +1 -1
  44. package/dist/components/post-logo2.js +1 -1
  45. package/dist/components/post-main-navigation2.js +1 -1
  46. package/dist/components/post-meta-navigation2.js +1 -1
  47. package/dist/components/post-search2.js +1 -1
  48. package/dist/components/swisspost-internet-breadcrumbs.js +1 -1
  49. package/dist/components/swisspost-internet-footer.js +8 -5
  50. package/dist/components/swisspost-internet-header.js +19 -19
  51. package/dist/docs.json +3 -3
  52. package/dist/esm/app-globals-0f993ce5.js +3 -0
  53. package/dist/esm/{index-a2152ff5.js → index-8f83dd96.js} +37 -22
  54. package/dist/esm/index.js +15 -15
  55. package/dist/esm/{language.service-9ba7302b.js → language.service-425cd2ca.js} +1 -1
  56. package/dist/esm/loader.js +5 -3
  57. package/dist/esm/{post-internet-breadcrumbs-959c559a.js → post-internet-breadcrumbs-45087e15.js} +6 -6
  58. package/dist/esm/{post-internet-footer-f4dcfb3b.js → post-internet-footer-e940b2bf.js} +12 -9
  59. package/dist/esm/{post-internet-header-3ed27a33.js → post-internet-header-4bee6977.js} +24 -24
  60. package/dist/esm/post-klp-login-widget-5d9d3bd7.js +60 -0
  61. package/dist/esm/post-klp-login-widget.entry.js +5 -5
  62. package/dist/esm/{post-language-switch-f436d101.js → post-language-switch-3440a152.js} +6 -6
  63. package/dist/esm/post-language-switch.entry.js +6 -6
  64. package/dist/esm/{post-logo-9dbcf2ba.js → post-logo-b80d550b.js} +3 -3
  65. package/dist/esm/post-logo.entry.js +3 -3
  66. package/dist/esm/{post-main-navigation-9fd0b55a.js → post-main-navigation-b254f9b1.js} +6 -6
  67. package/dist/esm/post-main-navigation.entry.js +6 -6
  68. package/dist/esm/{post-meta-navigation-8820113b.js → post-meta-navigation-7fb43f8f.js} +3 -3
  69. package/dist/esm/post-meta-navigation.entry.js +3 -3
  70. package/dist/esm/post-search-98e24f9e.js +594 -0
  71. package/dist/esm/post-search.entry.js +6 -6
  72. package/dist/esm/{post-skiplinks-e294cb04.js → post-skiplinks-a5112fd4.js} +4 -4
  73. package/dist/esm/post-skiplinks.entry.js +5 -5
  74. package/dist/esm/{store-d0d3a586.js → store-0e10b256.js} +1 -1
  75. package/dist/esm/{svg-icon.component-bf11f33c.js → svg-icon.component-2da93f91.js} +1 -1
  76. package/dist/esm/{svg-sprite.component-bc8c39ee.js → svg-sprite.component-32e5bd09.js} +1 -1
  77. package/dist/esm/swisspost-internet-breadcrumbs.entry.js +6 -6
  78. package/dist/esm/swisspost-internet-footer.entry.js +5 -5
  79. package/dist/esm/swisspost-internet-header.entry.js +6 -6
  80. package/dist/esm/swisspost-internet-header.js +6 -4
  81. package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
  82. package/dist/esm-es5/index-8f83dd96.js +1 -0
  83. package/dist/esm-es5/index.js +1 -1
  84. package/dist/esm-es5/{language.service-9ba7302b.js → language.service-425cd2ca.js} +1 -1
  85. package/dist/esm-es5/loader.js +1 -1
  86. package/dist/esm-es5/post-internet-breadcrumbs-45087e15.js +6 -0
  87. package/dist/esm-es5/post-internet-footer-e940b2bf.js +1 -0
  88. package/dist/esm-es5/post-internet-header-4bee6977.js +1 -0
  89. package/dist/esm-es5/post-klp-login-widget-5d9d3bd7.js +1 -0
  90. package/dist/esm-es5/post-klp-login-widget.entry.js +1 -1
  91. package/dist/esm-es5/post-language-switch-3440a152.js +1 -0
  92. package/dist/esm-es5/post-language-switch.entry.js +1 -1
  93. package/dist/esm-es5/{post-logo-9dbcf2ba.js → post-logo-b80d550b.js} +1 -1
  94. package/dist/esm-es5/post-logo.entry.js +1 -1
  95. package/dist/esm-es5/post-main-navigation-b254f9b1.js +1 -0
  96. package/dist/esm-es5/post-main-navigation.entry.js +1 -1
  97. package/dist/esm-es5/{post-meta-navigation-8820113b.js → post-meta-navigation-7fb43f8f.js} +1 -1
  98. package/dist/esm-es5/post-meta-navigation.entry.js +1 -1
  99. package/dist/esm-es5/post-search-98e24f9e.js +1 -0
  100. package/dist/esm-es5/post-search.entry.js +1 -1
  101. package/dist/esm-es5/{post-skiplinks-e294cb04.js → post-skiplinks-a5112fd4.js} +1 -1
  102. package/dist/esm-es5/post-skiplinks.entry.js +1 -1
  103. package/dist/esm-es5/{store-d0d3a586.js → store-0e10b256.js} +1 -1
  104. package/dist/esm-es5/{svg-icon.component-bf11f33c.js → svg-icon.component-2da93f91.js} +1 -1
  105. package/dist/esm-es5/{svg-sprite.component-bc8c39ee.js → svg-sprite.component-32e5bd09.js} +1 -1
  106. package/dist/esm-es5/swisspost-internet-breadcrumbs.entry.js +1 -1
  107. package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
  108. package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
  109. package/dist/esm-es5/swisspost-internet-header.js +1 -1
  110. package/dist/swisspost-internet-header/index.esm.js +1 -1
  111. package/dist/swisspost-internet-header/p-209c4305.js +1 -0
  112. package/dist/swisspost-internet-header/{p-50db8a7b.js → p-230c1106.js} +1 -1
  113. package/dist/swisspost-internet-header/{p-a0ddb772.system.js → p-24716e3e.system.js} +1 -1
  114. package/dist/swisspost-internet-header/p-278335ef.js +1 -0
  115. package/dist/swisspost-internet-header/p-318480a5.system.js +2 -0
  116. package/dist/swisspost-internet-header/{p-c3a2dbaf.js → p-34ced778.js} +1 -1
  117. package/dist/swisspost-internet-header/p-3f85bd97.system.js +1 -0
  118. package/dist/swisspost-internet-header/p-46d1cd6a.system.js +1 -0
  119. package/dist/swisspost-internet-header/{p-1e8226df.system.js → p-4ee08eaa.system.js} +1 -1
  120. package/dist/swisspost-internet-header/p-56ba5cbf.system.js +1 -0
  121. package/dist/swisspost-internet-header/p-5894dffb.system.entry.js +1 -0
  122. package/dist/swisspost-internet-header/{p-941fb537.system.js → p-5c7e1fc6.system.js} +1 -1
  123. package/dist/swisspost-internet-header/{p-c97c081c.js → p-647068ef.js} +1 -1
  124. package/dist/swisspost-internet-header/p-64c41eb5.entry.js +1 -0
  125. package/dist/swisspost-internet-header/{p-d48da09e.system.js → p-6546eb29.system.js} +1 -1
  126. package/dist/swisspost-internet-header/p-7b84213a.js +2 -0
  127. package/dist/swisspost-internet-header/p-7c69c95b.js +1 -0
  128. package/dist/swisspost-internet-header/p-7ceffd9b.entry.js +1 -0
  129. package/dist/swisspost-internet-header/{p-28a03b44.system.js → p-803f2059.system.js} +1 -1
  130. package/dist/swisspost-internet-header/p-868ddbb4.system.js +1 -0
  131. package/dist/swisspost-internet-header/p-8acbe0b7.entry.js +1 -0
  132. package/dist/swisspost-internet-header/{p-ef26af95.system.js → p-92c6988b.system.js} +1 -1
  133. package/dist/swisspost-internet-header/p-93e68ed0.entry.js +1 -0
  134. package/dist/swisspost-internet-header/{p-4ebec8fe.js → p-9778e91c.js} +1 -1
  135. package/dist/swisspost-internet-header/p-98862456.system.entry.js +1 -0
  136. package/dist/swisspost-internet-header/p-a6e6fce3.system.js +6 -0
  137. package/dist/swisspost-internet-header/{p-425336ef.js → p-ab397a05.js} +1 -1
  138. package/dist/swisspost-internet-header/p-ab574690.system.entry.js +1 -0
  139. package/dist/swisspost-internet-header/{p-925f5e31.js → p-abfccb28.js} +1 -1
  140. package/dist/swisspost-internet-header/p-afb35fa6.entry.js +1 -0
  141. package/dist/swisspost-internet-header/p-b132b005.system.entry.js +1 -0
  142. package/dist/swisspost-internet-header/p-b16677fe.entry.js +1 -0
  143. package/dist/swisspost-internet-header/p-b430e01a.entry.js +1 -0
  144. package/dist/swisspost-internet-header/p-c2a1240c.system.entry.js +1 -0
  145. package/dist/swisspost-internet-header/p-c3820920.js +1 -0
  146. package/dist/swisspost-internet-header/p-c8369622.system.entry.js +1 -0
  147. package/dist/swisspost-internet-header/p-c91906c2.system.js +1 -0
  148. package/dist/swisspost-internet-header/p-c9494d22.system.entry.js +1 -0
  149. package/dist/swisspost-internet-header/p-cb1c5219.js +1 -1
  150. package/dist/swisspost-internet-header/p-cbba2d36.entry.js +1 -0
  151. package/dist/swisspost-internet-header/{p-2a288ef4.js → p-cd91153b.js} +1 -1
  152. package/dist/swisspost-internet-header/{p-de624726.system.js → p-d45f6743.system.js} +1 -1
  153. package/dist/swisspost-internet-header/p-dbca5bb7.system.entry.js +1 -0
  154. package/dist/swisspost-internet-header/p-dc6fa698.entry.js +1 -0
  155. package/dist/swisspost-internet-header/{p-b180a9c6.js → p-df445572.js} +1 -1
  156. package/dist/swisspost-internet-header/p-e1255160.js +1 -0
  157. package/dist/swisspost-internet-header/p-e1eb613a.js +1 -0
  158. package/dist/swisspost-internet-header/{p-d3f4cffd.system.js → p-e61108a5.system.js} +1 -1
  159. package/dist/swisspost-internet-header/p-e6d86dca.system.entry.js +1 -0
  160. package/dist/swisspost-internet-header/p-e8ba747c.system.js +1 -0
  161. package/dist/swisspost-internet-header/p-eb3feb7e.system.entry.js +1 -0
  162. package/dist/swisspost-internet-header/p-ed8dd33a.system.js +1 -0
  163. package/dist/swisspost-internet-header/p-f2eabbd4.system.js +1 -0
  164. package/dist/swisspost-internet-header/p-f54c12d8.entry.js +1 -0
  165. package/dist/swisspost-internet-header/p-fa570bf7.js +6 -0
  166. package/dist/swisspost-internet-header/swisspost-internet-header.css +1 -1
  167. package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
  168. package/dist/swisspost-internet-header/swisspost-internet-header.js +1 -1
  169. package/package.json +16 -16
  170. package/readme.md +2 -1
  171. package/dist/cjs/post-klp-login-widget-7a867072.js +0 -62
  172. package/dist/cjs/post-search-afd1abf7.js +0 -596
  173. package/dist/esm/post-klp-login-widget-519b9ac3.js +0 -60
  174. package/dist/esm/post-search-cf91f27a.js +0 -594
  175. package/dist/esm-es5/index-a2152ff5.js +0 -1
  176. package/dist/esm-es5/post-internet-breadcrumbs-959c559a.js +0 -6
  177. package/dist/esm-es5/post-internet-footer-f4dcfb3b.js +0 -1
  178. package/dist/esm-es5/post-internet-header-3ed27a33.js +0 -1
  179. package/dist/esm-es5/post-klp-login-widget-519b9ac3.js +0 -1
  180. package/dist/esm-es5/post-language-switch-f436d101.js +0 -1
  181. package/dist/esm-es5/post-main-navigation-9fd0b55a.js +0 -1
  182. package/dist/esm-es5/post-search-cf91f27a.js +0 -1
  183. package/dist/swisspost-internet-header/p-041d7100.system.entry.js +0 -1
  184. package/dist/swisspost-internet-header/p-13332cc8.entry.js +0 -1
  185. package/dist/swisspost-internet-header/p-193b3962.js +0 -1
  186. package/dist/swisspost-internet-header/p-1cac596c.system.js +0 -1
  187. package/dist/swisspost-internet-header/p-1efced4f.system.js +0 -1
  188. package/dist/swisspost-internet-header/p-2180a93f.js +0 -6
  189. package/dist/swisspost-internet-header/p-25add306.entry.js +0 -1
  190. package/dist/swisspost-internet-header/p-31171eac.js +0 -1
  191. package/dist/swisspost-internet-header/p-328af556.entry.js +0 -1
  192. package/dist/swisspost-internet-header/p-35d3c0e2.js +0 -1
  193. package/dist/swisspost-internet-header/p-3d03ece0.entry.js +0 -1
  194. package/dist/swisspost-internet-header/p-3ff4fe31.entry.js +0 -1
  195. package/dist/swisspost-internet-header/p-458bd664.system.js +0 -1
  196. package/dist/swisspost-internet-header/p-466371f3.system.entry.js +0 -1
  197. package/dist/swisspost-internet-header/p-4f978679.system.js +0 -1
  198. package/dist/swisspost-internet-header/p-541bd306.system.entry.js +0 -1
  199. package/dist/swisspost-internet-header/p-58d1f7cd.system.js +0 -1
  200. package/dist/swisspost-internet-header/p-82cac3b9.js +0 -1
  201. package/dist/swisspost-internet-header/p-833cd107.js +0 -2
  202. package/dist/swisspost-internet-header/p-8e23a792.system.entry.js +0 -1
  203. package/dist/swisspost-internet-header/p-95753443.system.js +0 -1
  204. package/dist/swisspost-internet-header/p-9a06a83e.entry.js +0 -1
  205. package/dist/swisspost-internet-header/p-ae3759d0.entry.js +0 -1
  206. package/dist/swisspost-internet-header/p-af355dbc.system.js +0 -1
  207. package/dist/swisspost-internet-header/p-b5c47ef8.system.js +0 -2
  208. package/dist/swisspost-internet-header/p-bac2d2ca.system.entry.js +0 -1
  209. package/dist/swisspost-internet-header/p-bbd5ae03.js +0 -1
  210. package/dist/swisspost-internet-header/p-bfb5f92f.system.entry.js +0 -1
  211. package/dist/swisspost-internet-header/p-c47dfca4.entry.js +0 -1
  212. package/dist/swisspost-internet-header/p-ce698eb4.entry.js +0 -1
  213. package/dist/swisspost-internet-header/p-d91c7eb7.system.entry.js +0 -1
  214. package/dist/swisspost-internet-header/p-e0f54a55.system.entry.js +0 -1
  215. package/dist/swisspost-internet-header/p-e7934b4e.system.entry.js +0 -1
  216. package/dist/swisspost-internet-header/p-ec432905.entry.js +0 -1
  217. package/dist/swisspost-internet-header/p-ecb3a8d3.system.entry.js +0 -1
  218. package/dist/swisspost-internet-header/p-f77d823e.system.js +0 -6
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as o,H as i,g as n}from"./p-7b84213a.js";import{d as s,t as r}from"./p-a74b380d.js";import{g as a,p as l,t as h}from"./p-647068ef.js";import{u as d}from"./p-a39139a9.js";import{s as c,d as g}from"./p-9778e91c.js";import{S as p}from"./p-34ced778.js";import{S as f}from"./p-209c4305.js";import{I as u}from"./p-840aa5c6.js";function m(t,e,o,i){let n=i;return e>0&&(e===1/0&&(n=!0),t.push(o)),n}const b=(t,e,o)=>{if(null===t||null===e||t.origin!==e.origin)return 0;const i=t.pathname.toLocaleLowerCase(),n=e.pathname.toLocaleLowerCase();if(i===n)return 1/0;if(t.pathname.length<e.pathname.length)return 0;if("auto"===o){const o=[t.origin.toLocaleLowerCase(),...i.split("/").filter((t=>null!==t&&""!==t))],s=[e.origin.toLocaleLowerCase(),...n.split("/").filter((t=>null!==t&&""!==t))],r=v(o,s);return Math.min(o.length,s.length)===r?r:0}return 0},v=(t,e)=>{if(null==t||null==e||0===t.length||0===e.length)return 0;let o=0;for(;o<Math.min(t.length,e.length);o++)if(t[o]!==e[o])return 0;return o};let w=null,y=null;const x=async({projectId:t,environment:e,language:o,cookieKey:i,localStorageKey:n,activeRouteProp:s,localizedCustomConfig:r,osFlyoutOverrides:h})=>{var d,c;const g=(()=>{const t=document.querySelector("#PPM_HEADER_DATA");return null!=(null==t?void 0:t.textContent)?JSON.parse(t.textContent):null})();let p,f,u=null;if(g)p=g,f=document.documentElement.lang;else{if(null==w&&(w=O(t,e)),u=await w,f=a(Object.keys(u),o,n,i),void 0===f)throw new Error("Internet Header: unable to determine current language");p=Object.assign({},u[f])}if(r){const t=(null===(d=null==r?void 0:r.header)||void 0===d?void 0:d.navMain)?Object.assign(Object.assign({},p.header),{navMain:[...p.header.navMain,...r.header.navMain]}):p.header;p=Object.assign(Object.assign({},p),{header:t})}return h&&(p.header.navMain=k(p,h)),null!=s&&(p.header.navMain=((t,e)=>{if(!1===e)return t;let o;if(t=(t=>t.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:!1,flyout:t.flyout.map((t=>Object.assign(Object.assign({},t),{linkList:t.linkList.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:!1})))})))}))))(t),"auto"===e||"exact"===e){if((t=>t.filter((t=>t.isActive)).length>0)(t))return(t=>t.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:t.isActive,flyout:t.flyout.map((t=>Object.assign(Object.assign({},t),{linkList:t.linkList.map((t=>Object.assign(Object.assign({},t),{isActiveOverride:t.isActive})))})))}))))(t);o=new URL(window.location.href)}else try{o=new URL(e,document.location.origin)}catch(o){return console.warn(`Active Route: ${e} is not a valid URL. Navigation highlighting has been disabled.`),t}const i=((t,e,o)=>{let i=!1;const n=[];return t.filter((t=>!i&&t)).forEach((t=>{try{const s=b(e,new URL(t.url),o);i=m(n,s,{main:t,score:s},i)}catch(t){}t.flyout.forEach((s=>{var r;null===(r=s.linkList)||void 0===r||r.forEach((s=>{if(!s.isActive||"auto"!==o&&"exact"!==o)try{const r=new URL(s.url),a=b(e,r,o);i=m(n,a,{main:t,sub:s,score:a},i)}catch(t){}else i=!0}))}))})),n.sort(((t,e)=>e.score-t.score))})(t,o,e);if(0===i.length)return t;const n=i[0];return n.main.isActiveOverride=!0,n.sub&&(n.sub.isActiveOverride=!0),t})(p.header.navMain,s)),N(null===(c=null==p?void 0:p.header)||void 0===c?void 0:c.navMain),l(f,i,n),p},k=(t,e)=>null==e?t.header.navMain:t.header.navMain.map((t=>{var o,i;if("flyout_os"!==t.id)return t;null===y&&(y=JSON.parse(JSON.stringify(t)));const n=null!==(o=e.text)&&void 0!==o?o:y.text,s=null!==(i=e.title)&&void 0!==i?i:y.title;if(null==y.flyout||0===y.flyout.length||null==e.flyout||0===e.flyout.length)return Object.assign(Object.assign({},t),{title:s,text:n});const r=[...y.flyout.map(((t,o)=>{var i;const n=e.flyout[o];return{title:null!==(i=n.title)&&void 0!==i?i:t.title,linkList:[...t.linkList,...null!=n.linkList?e.flyout[o].linkList:[]]}})),...e.flyout.slice(y.flyout.length)];return Object.assign(Object.assign({},t),{text:n,title:s,flyout:r})})),O=async(t,e)=>{if(!j(t))throw new Error(`Internet Header: invalid project id "${t}"`);"test"===t&&(e="int01");let o=C(t,e);try{const t=await fetch(o);return await t.json()}catch(t){throw new Error(`Internet Header: fetching config failed. ${t.message}`)}},C=(t,e)=>{if("test"===t)return"assets/config/test-configuration.json";const o=e.toLowerCase(),i="prod"===o,n=`https://${i?"www":"int"}.post.ch`;try{return new URL(`${n}/api/headerjs/Json?serviceid=${encodeURIComponent(t)}${i?"":"&environment="+o}`).toString()}catch(t){throw new Error("Internet Header: Config URL is invalid.")}},j=t=>""!==t&&t.length>0&&/^[a-zA-Z][\w-]*[a-zA-Z0-9]$/.test(t),F=(t,e)=>{var o;let i;try{i="string"==typeof t?JSON.parse(t):t}catch(t){throw new Error("Internet Header: Custom config is invalid. Make sure your custom config contains valid JSON syntax and matches the definition. ")}let n=i[e];return(null===(o=null==n?void 0:n.header)||void 0===o?void 0:o.navMain)&&N(n.header.navMain),n},N=t=>{t.forEach((t=>{t.id="flyout_os"===t.id?t.id:d("main-nav-")}))},S=t=>{if(!(t instanceof HTMLElement||t instanceof SVGElement))return!1;const e=getComputedStyle(t);return["overflow","overflow-x","overflow-y"].some((t=>{const o=e.getPropertyValue(t);return"auto"===o||"scroll"===o}))},P=t=>{let e=t.parentElement;for(;e;){if("BODY"===e.nodeName)return document;if(S(e))return e;e=e.parentElement}return document},I=(t,e)=>{const o=P(t),i=o instanceof Element?o.scrollTop:o.documentElement.scrollTop,n="full"===c.stickyness?0:i;let s,r;if(e)s=t.clientHeight-1,r=e.clientHeight;else{const e=window.getComputedStyle(t),o=parseFloat(e.getPropertyValue("font-size"));r=parseFloat(e.getPropertyValue("--meta-header-height"))*o,s=r+parseFloat(e.getPropertyValue("--header-height"))*o}let a=1;return r>0&&(a=Math.max((s-Math.max(n,0))/(s-r),1)),a.toString()},L=class{async getCurrentLanguage(){var t;return null!==(t=c.currentLanguage)&&void 0!==t?t:"de"}constructor(o){if(t(this,o),this.headerLoaded=e(this,"headerLoaded",7),this.lastScrollTop=window.scrollY||document.documentElement.scrollTop,this.lastWindowWidth=window.innerWidth,this.handleClickOutsideBound=this.handleClickOutside.bind(this),this.project=void 0,this.stickyness="minimal",this.language=void 0,this.meta=!0,this.login=!0,this.search=!0,this.skiplinks=!0,this.configProxy=void 0,this.environment="prod",this.languageSwitchOverrides=void 0,this.customConfig=void 0,this.languageCookieKey=void 0,this.languageLocalStorageKey="swisspost-internet-header-language",this.logoutUrl=void 0,this.activeRoute="auto",this.osFlyoutOverrides=void 0,this.fullWidth=!1,this.activeFlyout=null,this.activeDropdownElement=null,this.isMainSlotEmpty=!0,void 0===this.project||""===this.project||!j(this.project))throw new Error(`Internet Header project key is "${this.project}". Please provide a valid project key.`)}connectedCallback(){this.throttledScroll=r(300,(()=>this.handleScrollEvent())),this.debouncedResize=s(200,(()=>this.handleResize()))}disconnectedCallback(){this.scrollParent.removeEventListener("scroll",this.throttledScroll),this.scrollParent.removeEventListener("resize",this.debouncedResize),g()}async componentWillLoad(){this.scrollParent=P(this.host),this.scrollParent.addEventListener("scroll",this.throttledScroll,{passive:!0}),this.scrollParent.addEventListener("resize",this.debouncedResize,{passive:!0});try{if(c.projectId=this.project,c.stickyness=this.stickyness,c.environment=this.environment.toLocaleLowerCase(),void 0!==this.language&&(c.currentLanguage=this.language),c.languageSwitchOverrides="string"==typeof this.languageSwitchOverrides?JSON.parse(this.languageSwitchOverrides):this.languageSwitchOverrides,c.osFlyoutOverrides="string"==typeof this.osFlyoutOverrides?JSON.parse(this.osFlyoutOverrides):this.osFlyoutOverrides,void 0!==this.customConfig){const t=Object.keys("string"==typeof this.customConfig?JSON.parse(this.customConfig):this.customConfig),e=c.currentLanguage||a(t,this.language);c.localizedCustomConfig=F(this.customConfig,e)}c.localizedConfig=await x({projectId:this.project,environment:c.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides})}catch(t){console.error(t)}}componentDidLoad(){window.requestAnimationFrame((()=>{this.handleResize(),this.headerLoaded.emit(),this.host.classList.add("header-loaded"),this.meta&&this.metaNav&&(this.updateLogoAnimation=((t,e)=>{const o=P(e),i=()=>{e.style.setProperty("--logo-scale",I(e,t))},n=s(150,i);return new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&t.intersectionRatio>0?(o.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",n),window.requestAnimationFrame(i)):(o.removeEventListener("scroll",i),window.removeEventListener("resize",n),window.requestAnimationFrame(i))}))}),{threshold:[0,.001]}).observe(t),i})(this.metaNav,this.host))})),"full"===this.stickyness&&console.warn('Internet Header: The stickyness="full" option is deprecated.')}async handleLanguageChange(t){c.currentLanguage=t,c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:t,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides}),this.customConfig&&(c.localizedCustomConfig=F(this.customConfig,t))}handleAvailableLanguagesChange(t){c.languageSwitchOverrides="string"==typeof t?JSON.parse(t):t}async handleOsFlyoutOverrides(t){c.osFlyoutOverrides="string"==typeof t?JSON.parse(t):t,c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides})}async handleActiveRouteChange(t){c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:t,localizedCustomConfig:c.localizedCustomConfig,osFlyoutOverrides:c.osFlyoutOverrides})}async handleCustomConfigChange(t){if(void 0===this.language)return;const e=F(t,this.language);c.localizedCustomConfig=e,c.localizedConfig=await x({projectId:this.project,environment:this.environment,language:this.language,cookieKey:this.languageCookieKey,localStorageKey:this.languageLocalStorageKey,activeRouteProp:this.activeRoute,localizedCustomConfig:e,osFlyoutOverrides:c.osFlyoutOverrides})}handleSearchChange(t){c.search=t}handleLoginChange(t){c.login=t}handleMetaChange(t){c.meta=t}handleLanguageChangeEvent(t){this.handleLanguageChange(t.detail)}handleStickynessChange(t){c.stickyness=t,"function"==typeof this.updateLogoAnimation&&this.updateLogoAnimation()}handleClickOutside(t){this.activeDropdownElement&&!t.composedPath().includes(this.activeDropdownElement)&&this.activeDropdownElement.toggleDropdown(!1)}handleKeyUp(t){"Escape"===t.key&&(this.activeDropdownElement&&this.activeDropdownElement.toggleDropdown(!1),null!==this.activeFlyout&&this.mainNav&&this.mainNav.toggleDropdown(!1))}handleScrollEvent(){const t=this.scrollParent instanceof Document?this.scrollParent.documentElement.scrollTop:this.scrollParent.scrollTop;"minimal"===this.stickyness&&this.host.classList.toggle("scrolling-up",t<=this.lastScrollTop),this.lastScrollTop=t<=0?0:t}handleResize(){var t;this.isMainNavOpen()&&this.lastWindowWidth<1024&&window.innerWidth>=1024&&(null===(t=this.activeDropdownElement)||void 0===t||t.toggleDropdown(!1)),this.lastWindowWidth=window.innerWidth}handleDropdownToggled(t){(t.detail.open||this.activeDropdownElement===t.detail.element)&&(t.detail.open?(this.activeDropdownElement&&this.activeDropdownElement.toggleDropdown(!1),this.activeDropdownElement=t.detail.element,window.innerWidth>=1024&&window.setTimeout((()=>{window.addEventListener("click",this.handleClickOutsideBound)}),10),null!==this.activeFlyout&&this.mainNav&&this.mainNav.setActiveFlyout(null)):(this.activeDropdownElement=null,window.removeEventListener("click",this.handleClickOutsideBound)))}handleFlyoutToggled(t){this.activeFlyout=t.detail,this.activeDropdownElement&&t.detail&&!this.isMainNavOpen()&&this.activeDropdownElement.toggleDropdown(!1)}toggleMobileDropdown(){var t;null===(t=this.mainNav)||void 0===t||t.toggleDropdown()}isMainNavOpen(){return this.activeDropdownElement&&"POST-MAIN-NAVIGATION"===this.activeDropdownElement.tagName}handleMainSlotChange(t){this.isMainSlotEmpty=0===t.target.assignedElements().length}render(){var t,e,n;if(!(null===(t=c.localizedConfig)||void 0===t?void 0:t.header))return void console.error(new Error("Internet Header: Config cannot be loaded"));const s=c.localizedConfig,r=this.meta&&void 0!==s.header.navMeta&&(null===(e=s.header.navMeta)||void 0===e?void 0:e.filter((t=>!t.isHomeLink)).length)>0,a=(null!==(n=this.login)&&void 0!==n?n:!s.header.isLoginWidgetHidden)&&s.header.loginWidgetOptions,l=s.header.navLang.length>1,d=r?I(this.host):"1";return o(i,{class:`stickyness-${this.stickyness} ${Boolean(this.activeDropdownElement)||Boolean(this.activeFlyout)?"dropdown-open":""}`,"data-version":"1.13.9",onKeyup:t=>this.handleKeyUp(t),style:{"--logo-scale":d}},o("header",{class:"post-internet-header"+(this.fullWidth?" full-width":"")},o(p,null),o("h1",{class:"visually-hidden"},h("Navigate on post.ch")),o(u,{condition:this.skiplinks},o("post-skiplinks",null)),o(u,{condition:r},o("post-meta-navigation",{orientation:"horizontal",class:"hidden-lg","full-width":this.fullWidth,ref:t=>this.metaNav=t},o(u,{condition:l},o("post-language-switch",{id:"post-language-switch-desktop",mode:"dropdown",onDropdownToggled:t=>this.handleDropdownToggled(t)})))),o("div",{class:"main-navigation-container wide-container"},o("post-logo",null),o("button",{class:"menu-button nav-link",onClick:()=>this.toggleMobileDropdown(),"aria-haspopup":"menu","aria-controls":"post-internet-header-main-navigation","aria-expanded":this.activeDropdownElement?"true":"false"},o("span",{class:"menu-button-text visually-hidden"},s.header.mobileMenu.text),o(f,{name:this.isMainNavOpen()?"pi-close":"pi-menu"})),o("post-main-navigation",{onDropdownToggled:t=>this.handleDropdownToggled(t),onFlyoutToggled:t=>this.handleFlyoutToggled(t),ref:t=>this.mainNav=t},o(u,{condition:r},o("post-meta-navigation",{orientation:"vertical"},o(u,{condition:l},o("post-language-switch",{id:"post-language-switch-mobile",mode:"list"}))))),o("div",{class:"main-navigation-controls"},o("div",{class:"main-navigation-custom-content"+(this.isMainSlotEmpty?" d-none":"")},o("slot",{name:"main",onSlotchange:t=>this.handleMainSlotChange(t)})),o(u,{condition:this.search},o("post-search",{onDropdownToggled:t=>this.handleDropdownToggled(t)})),o(u,{condition:!!a},o("post-klp-login-widget",{"logout-url":this.logoutUrl},o("slot",{name:"login-widget"}))),o(u,{condition:!r&&l},o("post-language-switch",{id:"post-language-switch-no-meta",onDropdownToggled:t=>this.handleDropdownToggled(t),mode:"dropdown"}))))))}get host(){return n(this)}static get watchers(){return{language:["handleLanguageChange"],languageSwitchOverrides:["handleAvailableLanguagesChange"],osFlyoutOverrides:["handleOsFlyoutOverrides"],activeRoute:["handleActiveRouteChange"],customConfig:["handleCustomConfigChange"],search:["handleSearchChange"],login:["handleLoginChange"],meta:["handleMetaChange"],stickyness:["handleStickynessChange"]}}};L.style=':host{--post-contrast-color:#000;--post-focus-color:#1976c8;--post-contrast-color-inverted:#fff;--post-gray-10:hsl(0, 0%, 90%);--post-gray-20:hsl(0, 0%, 80%);--post-gray-40:hsl(0, 0%, 60%);--post-gray-60:hsl(0, 0%, 40%);--post-gray-80:hsl(0, 0%, 20%);--post-yellow:#fc0;--post-white:#fff;--post-light:#faf9f8;--post-gray:#f4f3f1;--post-dark:hsl(0, 0%, 20%);--post-black:#000;--post-primary:hsl(0, 0%, 20%);--post-secondary:hsl(0, 0%, 40%);--post-success:#2c871d;--post-warning:#f49e00;--post-error:#a51728;--post-info:#cce4ee;--post-success-background:#c0debb;--post-warning-background:#fce2b2;--post-error-background:#ffdade;--post-nightblue:#004976;--post-nightblue-bright:#0076a8;--post-petrol:#006d68;--post-petrol-bright:#00968f;--post-coral:#9e2a2f;--post-coral-bright:#e03c31;--post-olive:#716135;--post-olive-bright:#aa9d2e;--post-purple:#80276c;--post-purple-bright:#c5299b;--post-aubergine:#523178;--post-aubergine-bright:#7566a0;--post-contrast-color-rgb:0, 0, 0;--post-contrast-color-inverted-rgb:255, 255, 255;--post-gray-10-rgb:230, 230, 230;--post-gray-20-rgb:204, 204, 204;--post-gray-40-rgb:153, 153, 153;--post-gray-60-rgb:102, 102, 102;--post-gray-80-rgb:51, 51, 51;--post-black-alpha-10-rgba:rgba(0, 0, 0, 0.1);--post-black-alpha-20-rgba:rgba(0, 0, 0, 0.2);--post-black-alpha-40-rgba:rgba(0, 0, 0, 0.4);--post-black-alpha-60-rgba:rgba(0, 0, 0, 0.6);--post-black-alpha-80-rgba:rgba(0, 0, 0, 0.8);--post-white-alpha-10-rgba:rgba(255, 255, 255, 0.1);--post-white-alpha-20-rgba:rgba(255, 255, 255, 0.2);--post-white-alpha-40-rgba:rgba(255, 255, 255, 0.4);--post-white-alpha-60-rgba:rgba(255, 255, 255, 0.6);--post-white-alpha-80-rgba:rgba(255, 255, 255, 0.8);--post-yellow-rgb:255, 204, 0;--post-white-rgb:255, 255, 255;--post-light-rgb:250, 249, 248;--post-gray-rgb:244, 243, 241;--post-dark-rgb:51, 51, 51;--post-black-rgb:0, 0, 0;--post-primary-rgb:51, 51, 51;--post-secondary-rgb:102, 102, 102;--post-success-rgb:44, 135, 29;--post-warning-rgb:244, 158, 0;--post-error-rgb:165, 23, 40;--post-info-rgb:204, 228, 238;--post-success-background-rgb:192, 222, 187;--post-warning-background-rgb:252, 226, 178;--post-error-background-rgb:255, 218, 222;--post-nightblue-rgb:0, 73, 118;--post-nightblue-bright-rgb:0, 118, 168;--post-petrol-rgb:0, 109, 104;--post-petrol-bright-rgb:0, 150, 143;--post-coral-rgb:158, 42, 47;--post-coral-bright-rgb:224, 60, 49;--post-olive-rgb:113, 97, 53;--post-olive-bright-rgb:170, 157, 46;--post-purple-rgb:128, 39, 108;--post-purple-bright-rgb:197, 41, 155;--post-aubergine-rgb:82, 49, 120;--post-aubergine-bright-rgb:117, 102, 160}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{--logo-scale:1}@media (max-width: 1023.98px){:host{--logo-scale:1 !important}}post-logo{height:var(--header-height);width:var(--header-height);-webkit-transform-origin:bottom left;transform-origin:bottom left;-webkit-transform:scale(var(--logo-scale));transform:scale(var(--logo-scale))}post-main-navigation{margin-left:calc(var(--header-height)*var(--logo-scale) - var(--header-height))}:host{display:block;position:relative;font-size:1rem;font-weight:300;z-index:var(--header-z-index, 10);--header-height:3.5rem;--meta-header-height:0px;--language-dropdown-margin-top:0px}@media (min-width: 1024px){:host{--meta-header-height:3rem;--header-height:4rem}}@media (min-width: 1280px){:host{--header-height:4.5rem}}:host([meta=false]){--meta-header-height:0px;--language-dropdown-margin-top:1px}@supports ((position: -webkit-sticky) or (position: sticky)){:host(:not(.stickyness-none)){position:-webkit-sticky;position:sticky}:host(.stickyness-full){top:0}:host(.stickyness-main){top:calc(var(--meta-header-height, 0px)*-1)}:host(.stickyness-minimal){top:calc((var(--header-height, 0px) + var(--meta-header-height, 0px) + 1px)*-1);-webkit-transition:top 200ms ease-in;transition:top 200ms ease-in}:host(.stickyness-minimal.scrolling-up),:host(.stickyness-minimal.dropdown-open){top:calc(var(--meta-header-height, 0px)*-1);-webkit-transition:top 200ms ease-out;transition:top 200ms ease-out}}.post-internet-header{border-bottom:1px solid #e6e6e6;background-color:#fff}.main-navigation-container{display:-ms-flexbox;display:flex}.main-navigation-container>.main-navigation-controls{-ms-flex:0 1 auto;flex:0 1 auto}.main-navigation{display:-ms-flexbox;display:flex}.sub-navigation-container{position:absolute;top:100%;left:0;width:100%;display:-ms-flexbox;display:flex;background:#fff;visibility:hidden}.main-navigation-item:hover .sub-navigation-container{visibility:visible}.main-navigation-controls{display:-ms-flexbox;display:flex;margin-left:auto}@media (max-width: 1023.98px){.main-navigation-controls{font-weight:400}}@media (min-width: 1024px){.main-navigation-controls{font-size:1.0625rem}}.main-navigation-controls>*{border-left:1px solid #e6e6e6;-ms-flex:0 0 auto;flex:0 0 auto}.main-navigation-custom-content{max-height:var(--header-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:1;flex-shrink:1}.menu-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0 calc(1rem - 1px);font-weight:300;cursor:pointer;border-left:1px solid #e6e6e6;-ms-flex-order:1;order:1}@media (min-width: 1024px){.menu-button{display:none}}@media (min-width: 600px)and (max-width: 1023.98px){.menu-button .visually-hidden{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible;margin-right:.5rem}}.menu-button svg{width:1.5rem;height:1.5rem}.full-width .wide-container{max-width:none}';export{L as P}
@@ -0,0 +1 @@
1
+ System.register(["./p-c91906c2.system.js","./p-318480a5.system.js","./p-92c6988b.system.js","./p-5c7e1fc6.system.js","./p-803f2059.system.js"],(function(s){"use strict";return{setters:[function(t){s("swisspost_internet_footer",t.P)},function(){},function(){},function(){},function(){}],execute:function(){}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-318480a5.system.js","./p-92c6988b.system.js","./p-5c7e1fc6.system.js","./p-803f2059.system.js"],(function(t){"use strict";var r,e,o,a,i,l;return{setters:[function(t){r=t.h;e=t.r;o=t.H},function(t){a=t.s},function(t){i=t.S},function(t){l=t.t}],execute:function(){var n=function(t){return r("div",{class:"pre-footer"},r("div",{class:"block-custom container"},r("h3",null,t.block.title),r("ul",{class:"no-list box link-list"},t.block.links&&t.block.links.map((function(t){return r("li",{key:t.url},r("a",{class:"flyout-link",href:t.url,target:t.target},t.text))})))))};var s=function(t){return r("div",{class:"block-list"},r("h3",null,t.block.title),r("ul",{class:"no-list box link-list"},t.block.links&&t.block.links.map((function(t){return r("li",{key:t.url},r("a",{class:"flyout-link",href:t.url,target:t.target},t.text))}))))};var g=function(t){return r("div",{class:"block-socials"},r("h3",null,t.content.title),r("ul",{class:"no-list socials"},t.content.links.map((function(t){return r("li",{key:t.url},r("a",{href:t.url,target:t.target},r("span",{class:"visually-hidden"},t.name),r("svg",{"aria-hidden":"true"},r("use",{href:"#".concat(t.icon)}))))}))))};var b=function(t){return r("div",{class:"block-address"},r("h3",null,t.block.title),t.block.content&&t.block.content.filter((function(t){return t.address})).map((function(t){return r("address",{class:"vcard",key:t.address},r("span",{class:"adr",innerHTML:t.address}))})),t.block.content&&t.block.content.filter((function(t){return t.links&&t.links.length})).map((function(t){return r(g,{key:t.name,content:t})})))};function f(t){var r=(new DOMParser).parseFromString(t,"text/html");return r.body.textContent||""}var d=function(){if(typeof window["unbluLSLoad"]==="function"){window["unbluLSLoad"]()}else{console.error('swisspost-internet-footer: The function "unbluLSLoad" could not be called because it is not available in the global scope. Did you include the unblu live chat script on your page?')}};var c=function(t){return r("button",{class:"hours btn btn-link",id:"liveSupport",type:"button",onClick:d,innerHTML:f(t.hours)})};var m=function(t){return r("div",{class:"block-contact"},r("h3",null,t.block.title),t.block.content&&t.block.content.map((function(e,o){var a=o===t.block.content.length-1&&e.text==="Live Support";if(a&&!t.liveSupportEnabled){return null}return r("div",{class:"content-row",key:e.name},e.number?r("p",{class:"number"},e.number):null,e.text?r("p",{class:"text"},e.text):null,e.hours&&a&&r(c,{hours:e.hours}),e.hours&&!a&&r("p",{class:"hours",innerHTML:f(e.hours)}),e.describe?r("p",{class:"describe"},e.describe):null)})))};var u='/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:400px;--bs-breakpoint-rg:600px;--bs-breakpoint-md:780px;--bs-breakpoint-lg:1024px;--bs-breakpoint-xl:1280px;--bs-breakpoint-xxl:1440px}.row{--bs-gutter-x:30px;--bs-gutter-y:0;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:calc(-1*var(--bs-gutter-y));margin-right:calc(-0.5*var(--bs-gutter-x));margin-left:calc(-0.5*var(--bs-gutter-x))}.row>*{-ms-flex-negative:0;flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-top:var(--bs-gutter-y)}.col{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width: 400px){.col-sm{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-sm-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-sm-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-sm-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-sm-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-sm-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-sm-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-sm-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-sm-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-sm-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-sm-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-sm-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-sm-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-sm-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-sm-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-sm-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-sm-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-sm-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-sm-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width: 600px){.col-rg{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-rg-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-rg-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-rg-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-rg-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-rg-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-rg-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-rg-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-rg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-rg-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-rg-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-rg-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-rg-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-rg-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-rg-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-rg-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-rg-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-rg-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-rg-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-rg-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-rg-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-rg-0{margin-left:0}.offset-rg-1{margin-left:8.33333333%}.offset-rg-2{margin-left:16.66666667%}.offset-rg-3{margin-left:25%}.offset-rg-4{margin-left:33.33333333%}.offset-rg-5{margin-left:41.66666667%}.offset-rg-6{margin-left:50%}.offset-rg-7{margin-left:58.33333333%}.offset-rg-8{margin-left:66.66666667%}.offset-rg-9{margin-left:75%}.offset-rg-10{margin-left:83.33333333%}.offset-rg-11{margin-left:91.66666667%}.g-rg-0,.gx-rg-0{--bs-gutter-x:0}.g-rg-0,.gy-rg-0{--bs-gutter-y:0}.g-rg-1,.gx-rg-1{--bs-gutter-x:0.25rem}.g-rg-1,.gy-rg-1{--bs-gutter-y:0.25rem}.g-rg-2,.gx-rg-2{--bs-gutter-x:0.5rem}.g-rg-2,.gy-rg-2{--bs-gutter-y:0.5rem}.g-rg-3,.gx-rg-3{--bs-gutter-x:1rem}.g-rg-3,.gy-rg-3{--bs-gutter-y:1rem}.g-rg-4,.gx-rg-4{--bs-gutter-x:1.5rem}.g-rg-4,.gy-rg-4{--bs-gutter-y:1.5rem}.g-rg-5,.gx-rg-5{--bs-gutter-x:3rem}.g-rg-5,.gy-rg-5{--bs-gutter-y:3rem}}@media (min-width: 780px){.col-md{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-md-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-md-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-md-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-md-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-md-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-md-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-md-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-md-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-md-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-md-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-md-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-md-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-md-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-md-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-md-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-md-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-md-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-md-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width: 1024px){.col-lg{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-lg-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-lg-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-lg-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-lg-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-lg-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-lg-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-lg-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-lg-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-lg-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-lg-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-lg-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-lg-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-lg-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-lg-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-lg-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-lg-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-lg-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-lg-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width: 1280px){.col-xl{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xl-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xl-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xl-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xl-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xl-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xl-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xl-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xl-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xl-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xl-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xl-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xl-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xl-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xl-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xl-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xl-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xl-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xl-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width: 1440px){.col-xxl{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xxl-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xxl-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xxl-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xxl-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xxl-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xxl-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xxl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xxl-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xxl-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xxl-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xxl-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xxl-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xxl-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xxl-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xxl-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xxl-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xxl-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xxl-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xxl-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.container,.container-fluid,.container-xxl,.container-xl{--bs-gutter-x:30px;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-right:auto;margin-left:auto}@media (min-width: 1280px){.container-xl,.container-lg,.container-md,.container-rg,.container-sm,.container{max-width:1280px}}@media (min-width: 1440px){.container-xxl,.container-xl,.container-lg,.container-md,.container-rg,.container-sm,.container{max-width:1440px}}.container{padding-inline:var(--post-container-padding-x)}.container-fluid{padding-inline:var(--post-container-fluid-padding-x)}.container{--post-container-padding-x:12px}.container-fluid{--post-container-fluid-padding-x:12px}.row{--bs-gutter-x:12px}@media (min-width: 400px){.container{--post-container-padding-x:16px}}@media (min-width: 400px){.container-fluid{--post-container-fluid-padding-x:16px}}@media (min-width: 400px){.row{--bs-gutter-x:16px}}@media (min-width: 780px){.container{--post-container-padding-x:32px}}@media (min-width: 780px){.container-fluid{--post-container-fluid-padding-x:32px}}@media (min-width: 1280px){.container{--post-container-padding-x:40px}}@media (min-width: 1440px){.container{--post-container-padding-x:120px}}.g-0,.gx-0{--bs-gutter-x:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}@media (min-width: 400px){.g-sm-0,.gx-sm-0{--bs-gutter-x:0}}@media (min-width: 400px){.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}}@media (min-width: 400px){.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}}@media (min-width: 400px){.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}}@media (min-width: 400px){.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}}@media (min-width: 400px){.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}}@media (min-width: 600px){.g-rg-0,.gx-rg-0{--bs-gutter-x:0}}@media (min-width: 600px){.g-rg-1,.gx-rg-1{--bs-gutter-x:0.25rem}}@media (min-width: 600px){.g-rg-2,.gx-rg-2{--bs-gutter-x:0.5rem}}@media (min-width: 600px){.g-rg-3,.gx-rg-3{--bs-gutter-x:1rem}}@media (min-width: 600px){.g-rg-4,.gx-rg-4{--bs-gutter-x:1.5rem}}@media (min-width: 600px){.g-rg-5,.gx-rg-5{--bs-gutter-x:3rem}}@media (min-width: 780px){.g-md-0,.gx-md-0{--bs-gutter-x:0}}@media (min-width: 780px){.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}}@media (min-width: 780px){.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}}@media (min-width: 780px){.g-md-3,.gx-md-3{--bs-gutter-x:1rem}}@media (min-width: 780px){.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}}@media (min-width: 780px){.g-md-5,.gx-md-5{--bs-gutter-x:3rem}}@media (min-width: 1024px){.g-lg-0,.gx-lg-0{--bs-gutter-x:0}}@media (min-width: 1024px){.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}}@media (min-width: 1024px){.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}}@media (min-width: 1024px){.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}}@media (min-width: 1024px){.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}}@media (min-width: 1024px){.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}}@media (min-width: 1280px){.g-xl-0,.gx-xl-0{--bs-gutter-x:0}}@media (min-width: 1280px){.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}}@media (min-width: 1280px){.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}}@media (min-width: 1280px){.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}}@media (min-width: 1280px){.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}}@media (min-width: 1280px){.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}}@media (min-width: 1440px){.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}}@media (min-width: 1440px){.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}}@media (min-width: 1440px){.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}}@media (min-width: 1440px){.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}}@media (min-width: 1440px){.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}}@media (min-width: 1440px){.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}}.vertical-gutters{margin-bottom:-30px}.vertical-gutters>.col,.vertical-gutters>[class*=col-]{padding-bottom:30px}.row.border-gutters{margin-right:-1px;margin-bottom:-1px;margin-left:0}.row.border-gutters>.col,.row.border-gutters>[class*=col-]{padding-right:1px;padding-bottom:1px;padding-left:0}.container-reset{margin-right:-12px;margin-left:-12px}.container-reset-left{margin-left:-12px}.container-reset-right{margin-right:-12px}@media (max-width: 399.98px){.container-fluid-xs{padding-right:1rem;padding-left:1rem}}@media (min-width: 400px){.container-reset{margin-right:-16px;margin-left:-16px}}@media (min-width: 400px){.container-reset-left{margin-left:-16px}}@media (min-width: 400px){.container-reset-right{margin-right:-16px}}@media (min-width: 400px)and (max-width: 599.98px){.container-fluid-sm{padding-right:1rem;padding-left:1rem}}@media (min-width: 600px)and (max-width: 779.98px){.container-fluid-rg{padding-right:1rem;padding-left:1rem}}@media (min-width: 780px){.container-reset{margin-right:-32px;margin-left:-32px}}@media (min-width: 780px){.container-reset-left{margin-left:-32px}}@media (min-width: 780px){.container-reset-right{margin-right:-32px}}@media (min-width: 780px)and (max-width: 1023.98px){.container-fluid-md{padding-right:1rem;padding-left:1rem}}@media (min-width: 1024px)and (max-width: 1279.98px){.container-fluid-lg{padding-right:1rem;padding-left:1rem}}@media (min-width: 1280px){.container-reset{margin-right:-40px;margin-left:-40px}}@media (min-width: 1280px){.container-reset-left{margin-left:-40px}}@media (min-width: 1280px){.container-reset-right{margin-right:-40px}}@media (min-width: 1280px)and (max-width: 1439.98px){.container-fluid-xl{padding-right:1rem;padding-left:1rem}}@media (min-width: 1440px){.container-reset{margin-right:-120px;margin-left:-120px}}@media (min-width: 1440px){.container-reset-left{margin-left:-120px}}@media (min-width: 1440px){.container-reset-right{margin-right:-120px}}@media (min-width: 1440px){.container-fluid-xxl{padding-right:1rem;padding-left:1rem}}:host{--post-contrast-color:#000;--post-focus-color:#1976c8;--post-contrast-color-inverted:#fff;--post-gray-10:hsl(0, 0%, 90%);--post-gray-20:hsl(0, 0%, 80%);--post-gray-40:hsl(0, 0%, 60%);--post-gray-60:hsl(0, 0%, 40%);--post-gray-80:hsl(0, 0%, 20%);--post-yellow:#fc0;--post-white:#fff;--post-light:#faf9f8;--post-gray:#f4f3f1;--post-dark:hsl(0, 0%, 20%);--post-black:#000;--post-primary:hsl(0, 0%, 20%);--post-secondary:hsl(0, 0%, 40%);--post-success:#2c871d;--post-warning:#f49e00;--post-error:#a51728;--post-info:#cce4ee;--post-success-background:#c0debb;--post-warning-background:#fce2b2;--post-error-background:#ffdade;--post-nightblue:#004976;--post-nightblue-bright:#0076a8;--post-petrol:#006d68;--post-petrol-bright:#00968f;--post-coral:#9e2a2f;--post-coral-bright:#e03c31;--post-olive:#716135;--post-olive-bright:#aa9d2e;--post-purple:#80276c;--post-purple-bright:#c5299b;--post-aubergine:#523178;--post-aubergine-bright:#7566a0;--post-contrast-color-rgb:0, 0, 0;--post-contrast-color-inverted-rgb:255, 255, 255;--post-gray-10-rgb:230, 230, 230;--post-gray-20-rgb:204, 204, 204;--post-gray-40-rgb:153, 153, 153;--post-gray-60-rgb:102, 102, 102;--post-gray-80-rgb:51, 51, 51;--post-black-alpha-10-rgba:rgba(0, 0, 0, 0.1);--post-black-alpha-20-rgba:rgba(0, 0, 0, 0.2);--post-black-alpha-40-rgba:rgba(0, 0, 0, 0.4);--post-black-alpha-60-rgba:rgba(0, 0, 0, 0.6);--post-black-alpha-80-rgba:rgba(0, 0, 0, 0.8);--post-white-alpha-10-rgba:rgba(255, 255, 255, 0.1);--post-white-alpha-20-rgba:rgba(255, 255, 255, 0.2);--post-white-alpha-40-rgba:rgba(255, 255, 255, 0.4);--post-white-alpha-60-rgba:rgba(255, 255, 255, 0.6);--post-white-alpha-80-rgba:rgba(255, 255, 255, 0.8);--post-yellow-rgb:255, 204, 0;--post-white-rgb:255, 255, 255;--post-light-rgb:250, 249, 248;--post-gray-rgb:244, 243, 241;--post-dark-rgb:51, 51, 51;--post-black-rgb:0, 0, 0;--post-primary-rgb:51, 51, 51;--post-secondary-rgb:102, 102, 102;--post-success-rgb:44, 135, 29;--post-warning-rgb:244, 158, 0;--post-error-rgb:165, 23, 40;--post-info-rgb:204, 228, 238;--post-success-background-rgb:192, 222, 187;--post-warning-background-rgb:252, 226, 178;--post-error-background-rgb:255, 218, 222;--post-nightblue-rgb:0, 73, 118;--post-nightblue-bright-rgb:0, 118, 168;--post-petrol-rgb:0, 109, 104;--post-petrol-bright-rgb:0, 150, 143;--post-coral-rgb:158, 42, 47;--post-coral-bright-rgb:224, 60, 49;--post-olive-rgb:113, 97, 53;--post-olive-bright-rgb:170, 157, 46;--post-purple-rgb:128, 39, 108;--post-purple-bright-rgb:197, 41, 155;--post-aubergine-rgb:82, 49, 120;--post-aubergine-bright-rgb:117, 102, 160}.btn-default,.btn-secondary{border:2px solid var(--post-gray-60)}.btn-default:focus,.btn-secondary:focus,.btn-default:not(:disabled):hover,.btn-secondary:not(:disabled):hover,.pretend-hover.btn-default,.pretend-hover.btn-secondary{border-color:var(--post-contrast-color)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-default,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-secondary{border-color:var(--post-contrast-color)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-default:focus,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-secondary:focus,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-default:not(:disabled):hover,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-secondary:not(:disabled):hover,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .pretend-hover.btn-default,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .pretend-hover.btn-secondary{border-color:var(--post-gray-40)}.btn-default:disabled,.btn-secondary:disabled{border-color:var(--post-gray-40);color:var(--post-gray-60)}.btn-default:focus,.btn-secondary:focus,.btn-link:focus,.btn-tertiary:focus,.btn-default:not(:disabled):hover,.btn-secondary:not(:disabled):hover,.btn-link:not(:disabled):hover,.btn-tertiary:not(:disabled):hover,.pretend-hover.btn-default,.pretend-hover.btn-secondary,.pretend-hover.btn-link,.pretend-hover.btn-tertiary{color:var(--post-contrast-color)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-default,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-secondary,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-link,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-tertiary{color:var(--post-contrast-color)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-default .pi,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-secondary .pi,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-link .pi,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-tertiary .pi{-webkit-filter:invert(1);filter:invert(1)}.btn{min-height:3rem;font-size:1rem;gap:.625rem;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:2px;border-style:solid;border-radius:4px;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;color:var(--post-gray-80);font-family:inherit;font-weight:400;text-decoration:none !important;white-space:nowrap}.btn:where(:not(.btn-link,.btn-tertiary)){padding:0 1rem}.btn>.pi,.btn>post-icon{width:1.25rem;height:1.25rem}.btn{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-primary{border-color:rgba(0,0,0,0);background-color:var(--post-gray-80);color:var(--post-contrast-color-inverted)}.btn-primary:focus,.btn-primary:not(:disabled):hover,.btn-primary.pretend-hover{background-color:var(--post-contrast-color);color:var(--post-contrast-color-inverted)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-primary{background-color:var(--post-contrast-color);color:var(--post-gray-10)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-primary:focus,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-primary:not(:disabled):hover,:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-primary.pretend-hover{background-color:var(--post-gray-80)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-primary:disabled{color:var(--post-contrast-color);background-color:var(--post-gray-40)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-primary .pi{-webkit-filter:invert(0);filter:invert(0)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-primary{border-color:var(--post-contrast-color);background-color:ButtonFace}.btn-primary:not(:disabled,.disabled):hover,.btn-primary:not(:disabled,.disabled):focus-visible{border-color:highlight}.btn-primary .pi{-webkit-filter:invert(1) !important;filter:invert(1) !important}}.btn-primary:disabled{background-color:var(--post-gray-40)}.btn-primary .pi{-webkit-filter:invert(1);filter:invert(1);forced-color-adjust:none}.btn-link,.btn-tertiary{border:0;padding-inline:.25rem}.btn-link:disabled,.btn-tertiary:disabled{color:var(--post-gray-60)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-link,.btn-tertiary{color:linktext;text-decoration:underline !important}}.btn-icon{min-width:3rem;padding-right:.75rem;padding-left:.75rem}.btn-icon.btn-sm{min-width:2rem;padding-right:.375rem;padding-left:.375rem}.btn-icon.btn-rg{min-width:2.5rem;padding-right:.5625rem;padding-left:.5625rem}.btn-icon.btn-lg{min-width:3.5rem;padding-right:.9375rem;padding-left:.9375rem}.btn-animated:not(.btn-link,.btn-tertiary)::after{content:"";position:absolute;right:.5rem;width:.625em;height:.625em;-webkit-transform:rotateZ(315deg) translate(-2px, -2px);transform:rotateZ(315deg) translate(-2px, -2px);-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:opacity 250ms,-webkit-transform 250ms;transition:opacity 250ms,-webkit-transform 250ms;transition:opacity 250ms,transform 250ms;transition:opacity 250ms,transform 250ms,-webkit-transform 250ms;border-right:2px solid currentColor;border-bottom:2px solid currentColor;opacity:0}.btn-animated:not(.btn-link,.btn-tertiary).btn-sm::after{right:.25rem}.btn-animated:not(.btn-link,.btn-tertiary).btn-rg::after{right:.375rem}.btn-animated:not(.btn-link,.btn-tertiary).btn-lg::after{right:.625rem}.btn-animated:not(.btn-link,.btn-tertiary)>span{-webkit-transition:-webkit-transform 250ms;transition:-webkit-transform 250ms;transition:transform 250ms;transition:transform 250ms, -webkit-transform 250ms}@media (prefers-reduced-motion: no-preference){.btn-animated:not(.btn-link,.btn-tertiary):focus>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus.btn-sm>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-sm>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover.btn-sm>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus.btn-rg>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-rg>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover.btn-rg>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus.btn-lg>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-lg>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover.btn-lg>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus::after,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover::after,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover::after{-webkit-transform:rotateZ(315deg) translate(0, 0);transform:rotateZ(315deg) translate(0, 0);opacity:1}.btn-animated:not(.btn-link,.btn-tertiary)>span{-webkit-transform:translateX(0);transform:translateX(0)}}.btn-sm{min-height:2rem;font-size:.75rem;gap:.375rem}.btn-sm:where(:not(.btn-link,.btn-tertiary)){padding:0 .75rem}.btn-sm>.pi,.btn-sm>post-icon{width:1rem;height:1rem}.btn-rg{min-height:2.5rem;font-size:.875rem;gap:.5rem}.btn-rg:where(:not(.btn-link,.btn-tertiary)){padding:0 .875rem}.btn-rg>.pi,.btn-rg>post-icon{width:1.125rem;height:1.125rem}.btn-lg{min-height:3.5rem;font-size:1.125rem;gap:.75rem}.btn-lg:where(:not(.btn-link,.btn-tertiary)){padding:0 1.125rem}.btn-lg>.pi,.btn-lg>post-icon{width:1.375rem;height:1.375rem}.btn-nightblue{border-color:rgba(0,0,0,0);background-color:#004976;color:#fff}.btn-nightblue:focus,.btn-nightblue:not(:disabled):hover,.btn-nightblue.pretend-hover{background-color:#002943;color:#fff}.btn-nightblue-bright{border-color:rgba(0,0,0,0);background-color:#0076a8;color:#fff}.btn-nightblue-bright:focus,.btn-nightblue-bright:not(:disabled):hover,.btn-nightblue-bright.pretend-hover{background-color:#005275;color:#fff}.btn-petrol{border-color:rgba(0,0,0,0);background-color:#006d68;color:#fff}.btn-petrol:focus,.btn-petrol:not(:disabled):hover,.btn-petrol.pretend-hover{background-color:#003a37;color:#fff}.btn-petrol-bright{border-color:rgba(0,0,0,0);background-color:#00968f;color:#000}.btn-petrol-bright:focus,.btn-petrol-bright:not(:disabled):hover,.btn-petrol-bright.pretend-hover{background-color:#00635e;color:#fff}.btn-coral{border-color:rgba(0,0,0,0);background-color:#9e2a2f;color:#fff}.btn-coral:focus,.btn-coral:not(:disabled):hover,.btn-coral.pretend-hover{background-color:#761f23;color:#fff}.btn-coral-bright{border-color:rgba(0,0,0,0);background-color:#e03c31;color:#000}.btn-coral-bright:focus,.btn-coral-bright:not(:disabled):hover,.btn-coral-bright.pretend-hover{background-color:#c1271d;color:#fff}.btn-olive{border-color:rgba(0,0,0,0);background-color:#716135;color:#fff}.btn-olive:focus,.btn-olive:not(:disabled):hover,.btn-olive.pretend-hover{background-color:#4e4325;color:#fff}.btn-olive-bright{border-color:rgba(0,0,0,0);background-color:#aa9d2e;color:#000}.btn-olive-bright:focus,.btn-olive-bright:not(:disabled):hover,.btn-olive-bright.pretend-hover{background-color:#827823;color:#000}.btn-purple{border-color:rgba(0,0,0,0);background-color:#80276c;color:#fff}.btn-purple:focus,.btn-purple:not(:disabled):hover,.btn-purple.pretend-hover{background-color:#591b4b;color:#fff}.btn-purple-bright{border-color:rgba(0,0,0,0);background-color:#c5299b;color:#fff}.btn-purple-bright:focus,.btn-purple-bright:not(:disabled):hover,.btn-purple-bright.pretend-hover{background-color:#9b207a;color:#fff}.btn-aubergine{border-color:rgba(0,0,0,0);background-color:#523178;color:#fff}.btn-aubergine:focus,.btn-aubergine:not(:disabled):hover,.btn-aubergine.pretend-hover{background-color:#392254;color:#fff}.btn-aubergine-bright{border-color:rgba(0,0,0,0);background-color:#7566a0;color:#fff}.btn-aubergine-bright:focus,.btn-aubergine-bright:not(:disabled):hover,.btn-aubergine-bright.pretend-hover{background-color:#5e5182;color:#fff}.btn-success{border-color:rgba(0,0,0,0);background-color:#2c871d;color:#fff}.btn-success:focus,.btn-success:not(:disabled):hover,.btn-success.pretend-hover{background-color:#1e5d14;color:#fff}.btn-warning{border-color:rgba(0,0,0,0);background-color:#f49e00;color:#000}.btn-warning:focus,.btn-warning:not(:disabled):hover,.btn-warning.pretend-hover{background-color:#c17d00;color:#000}.btn-error{border-color:rgba(0,0,0,0);background-color:#a51728;color:#fff}.btn-error:focus,.btn-error:not(:disabled):hover,.btn-error.pretend-hover{background-color:#78111d;color:#fff}.btn-info{border-color:rgba(0,0,0,0);background-color:#cce4ee;color:#000}.btn-info:focus,.btn-info:not(:disabled):hover,.btn-info.pretend-hover{background-color:#a6d0e1;color:#000}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:700;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:400;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff") format("woff")}@font-face{font-display:swap;font-family:"Frutiger Neue For Post";font-weight:300;font-style:italic;src:url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2") format("woff2"),url("https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff") format("woff")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:"Frutiger Neue For Post",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-none{display:none !important}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1439.98px){.hidden-xxl{display:none}}:host{display:block}h3{font-size:inherit;margin-top:0}.btn.btn-link{padding-left:0;padding-right:0}.btn.btn-link:hover{cursor:pointer}.post-internet-footer{font-size:1rem;font-weight:300;border-top:2px solid #e6e6e6}.pre-footer{padding-top:2rem;padding-bottom:2rem;border-bottom:2px solid #e6e6e6}.pre-footer .block-custom,.pre-footer .link-list{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:1rem 1.5rem}.pre-footer h3,.pre-footer .link-list li{margin:0}.footer-container{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:3.5rem 2rem;margin-top:3.5rem;margin-bottom:3.5rem}@media (max-width: 1023.98px){.footer-container{grid-template-columns:1fr 1fr}}@media (max-width: 599.98px){.footer-container{gap:1.5rem 2rem;margin-top:1.5rem;margin-bottom:1.5rem}}@media (max-width: 399.98px){.block-list{grid-column:1/3}}@media (max-width: 599.98px){.block-contact,.block-address{grid-column:1/3}}.block-socials{margin-top:3.5rem}@media (max-width: 599.98px){.block-socials{margin-top:1.5rem}}address{font-style:normal}.link-list li{margin:1rem 0}.link-list a{display:block;text-decoration:none;color:#666;-webkit-transition:color 200ms;transition:color 200ms}.link-list a:hover{color:#000}.content-row{padding:.5rem 0}h3+.content-row{padding-top:0}.content-row:last-child{padding-bottom:0}.content-row+.content-row{border-top:1px solid #e6e6e6}.content-row p,.content-row button{margin:.25rem}.text{font-weight:700}.describe{font-size:.8125rem;color:#666;font-weight:400}.number{font-size:1.25rem}.socials{display:inline-grid;grid-auto-flow:row;grid-template-columns:repeat(4, 1fr);gap:1rem 1.5rem}.socials a{display:block;color:#666;-webkit-transition:color 200ms;transition:color 200ms}.socials a:hover,.socials a:focus{color:#000}.socials svg{display:block;width:1.5rem;height:1.5rem}.copyright{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:.5rem 1.5rem;margin-top:2rem;margin-bottom:2rem;font-size:.75rem}.footer-meta-links{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:.5rem;font-weight:400}';var p=u;var x=t("P",function(){function t(t){var r=this;e(this,t);this.liveSupportEnabled=false;this.cookieSettingsEnabled=false;this.liveSupportEnabled=this.unbluEnabled();this.cookieSettingsEnabled=this.ucUIEnabled();if(!this.liveSupportEnabled){var o;var a=0;var i=function(){var t=r.unbluEnabled();var e=r.ucUIEnabled();var i=t&&e;if(t){r.liveSupportEnabled=true}if(e){r.cookieSettingsEnabled=true}if(i||a>=5){window.clearInterval(o)}a++};o=window.setInterval(i,1e3)}}t.prototype.unbluEnabled=function(){return typeof window["unbluLSLoad"]==="function"};t.prototype.ucUIEnabled=function(){return typeof window["UC_UI"]==="object"&&typeof window["UC_UI"]["showSecondLayer"]==="function"};t.prototype.handleCookieSettingsClick=function(){window["UC_UI"]["showSecondLayer"]()};t.prototype.render=function(){var t=this;var e;if(!a){console.warn("Internet Footer: Could not load config. Please make sure that you included the <swisspost-internet-header></swisspost-internet-header> component.");return null}if(!a.localizedConfig){return null}if(!a.localizedConfig.footer){console.warn('Internet Footer: Current project "'.concat(a.projectId,'" does not include a footer config. The footer will not be rendered. Remove '),document.querySelector("swisspost-internet-footer"),"from your markup or configure the footer in your portal config to stop seeing this warning.");return null}var g=a.localizedConfig.footer;var f=(e=a.localizedCustomConfig)===null||e===void 0?void 0:e.footer;return r(o,null,r(i,null),r("footer",{class:"post-internet-footer light font-curve-regular"},r("h2",{class:"visually-hidden"},g.title),(f===null||f===void 0?void 0:f.block)&&r(n,{block:f===null||f===void 0?void 0:f.block}),r("div",{class:"footer-container container"},g.block.filter((function(t){return t.columnType==="list"})).map((function(t){return r(s,{key:t.title,block:t})})),g.block.filter((function(t){return t.columnType==="contact"})).map((function(e){return r(m,{key:e.title,block:e,liveSupportEnabled:t.liveSupportEnabled})})),g.block.filter((function(t){return t.columnType==="address"})).map((function(t){return r(b,{key:t.title,block:t})}))),r("div",{class:"copyright container"},r("span",{class:"bold"},g.entry.text),r("ul",{class:"no-list footer-meta-links"},g.links?g.links.map((function(t){return r("li",{key:t.url},r("a",{class:"nav-link",href:t.url,target:t.target},t.text))})):null,this.cookieSettingsEnabled&&r("li",null,r("button",{class:"nav-link cookie-settings",onClick:this.handleCookieSettingsClick},l("Cookie Settings")))))))};return t}());x.style=p}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-3f85bd97.system.js","./p-318480a5.system.js","./p-5c7e1fc6.system.js","./p-4ee08eaa.system.js","./p-92c6988b.system.js","./p-06f51515.system.js","./p-803f2059.system.js"],(function(s){"use strict";return{setters:[function(t){s("post_language_switch",t.P)},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){}}}));
@@ -1,4 +1,4 @@
1
- var n,t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};"undefined"!=typeof window?n=window:"undefined"!=typeof self&&(n=self),n.SockJS=function n(t,e,i){function r(u,s){if(!e[u]){if(!t[u]){var a="function"==typeof require&&require;if(!s&&a)return a(u,!0);if(o)return o(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var f=e[u]={exports:{}};t[u][0].call(f.exports,(function(n){return r(t[u][1][n]||n)}),f,f.exports,n,t,e,i)}return e[u].exports}for(var o="function"==typeof require&&require,u=0;u<i.length;u++)r(i[u]);return r}({1:[function(n,t){(function(e){(function(){var i=n("./transport-list");t.exports=n("./main")(i),"_sockjs_onload"in e&&setTimeout(e._sockjs_onload,1)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./main":14,"./transport-list":16}],2:[function(n,t){var e=n("inherits"),i=n("./event");function r(){i.call(this),this.initEvent("close",!1,!1),this.wasClean=!1,this.code=0,this.reason=""}e(r,i),t.exports=r},{"./event":4,inherits:57}],3:[function(n,t){var e=n("inherits"),i=n("./eventtarget");function r(){i.call(this)}e(r,i),r.prototype.removeAllListeners=function(n){n?delete this._listeners[n]:this._listeners={}},r.prototype.once=function(n,t){var e=this,i=!1;this.on(n,(function r(){e.removeListener(n,r),i||(i=!0,t.apply(this,arguments))}))},r.prototype.emit=function(){var n=this._listeners[arguments[0]];if(n){for(var t=arguments.length,e=new Array(t-1),i=1;i<t;i++)e[i-1]=arguments[i];for(var r=0;r<n.length;r++)n[r].apply(this,e)}},r.prototype.on=r.prototype.addListener=i.prototype.addEventListener,r.prototype.removeListener=i.prototype.removeEventListener,t.exports.EventEmitter=r},{"./eventtarget":5,inherits:57}],4:[function(n,t){function e(n){this.type=n}e.prototype.initEvent=function(n,t,e){return this.type=n,this.bubbles=t,this.cancelable=e,this.timeStamp=+new Date,this},e.prototype.stopPropagation=function(){},e.prototype.preventDefault=function(){},e.CAPTURING_PHASE=1,e.AT_TARGET=2,e.BUBBLING_PHASE=3,t.exports=e},{}],5:[function(n,t){function e(){this._listeners={}}e.prototype.addEventListener=function(n,t){n in this._listeners||(this._listeners[n]=[]);var e=this._listeners[n];-1===e.indexOf(t)&&(e=e.concat([t])),this._listeners[n]=e},e.prototype.removeEventListener=function(n,t){var e=this._listeners[n];if(e){var i=e.indexOf(t);-1===i||(e.length>1?this._listeners[n]=e.slice(0,i).concat(e.slice(i+1)):delete this._listeners[n])}},e.prototype.dispatchEvent=function(){var n=arguments[0],t=n.type,e=1===arguments.length?[n]:Array.apply(null,arguments);if(this["on"+t]&&this["on"+t].apply(this,e),t in this._listeners)for(var i=this._listeners[t],r=0;r<i.length;r++)i[r].apply(this,e)},t.exports=e},{}],6:[function(n,t){var e=n("inherits"),i=n("./event");function r(n){i.call(this),this.initEvent("message",!1,!1),this.data=n}e(r,i),t.exports=r},{"./event":4,inherits:57}],7:[function(n,t){var e=n("./utils/iframe");function i(n){this._transport=n,n.on("message",this._transportMessage.bind(this)),n.on("close",this._transportClose.bind(this))}i.prototype._transportClose=function(n,t){e.postMessage("c",JSON.stringify([n,t]))},i.prototype._transportMessage=function(n){e.postMessage("t",n)},i.prototype._send=function(n){this._transport.send(n)},i.prototype._close=function(){this._transport.close(),this._transport.removeAllListeners()},t.exports=i},{"./utils/iframe":47}],8:[function(n,t){(function(){(function(){var e=n("./utils/url"),i=n("./utils/event"),r=n("./facade"),o=n("./info-iframe-receiver"),u=n("./utils/iframe"),s=n("./location");t.exports=function(n,t){var a,c={};t.forEach((function(n){n.facadeTransport&&(c[n.facadeTransport.transportName]=n.facadeTransport)})),c[o.transportName]=o,n.bootstrap_iframe=function(){var t;u.currentWindowId=s.hash.slice(1),i.attachEvent("message",(function(i){if(i.source===parent&&(void 0===a&&(a=i.origin),i.origin===a)){var o;try{o=JSON.parse(i.data)}catch(n){return}if(o.windowId===u.currentWindowId)switch(o.type){case"s":var f;try{f=JSON.parse(o.data)}catch(n){break}var l=f[0],d=f[1],h=f[2],p=f[3];if(l!==n.version)throw new Error('Incompatible SockJS! Main site uses: "'+l+'", the iframe: "'+n.version+'".');if(!e.isOriginEqual(h,s.href)||!e.isOriginEqual(p,s.href))throw new Error("Can't connect to different domain from within an iframe. ("+s.href+", "+h+", "+p+")");t=new r(new c[d](h,p));break;case"m":t._send(o.data);break;case"c":t&&t._close(),t=null}}})),u.postMessage("s")}}}).call(this)}).call(this,{env:{}})},{"./facade":7,"./info-iframe-receiver":10,"./location":13,"./utils/event":46,"./utils/iframe":47,"./utils/url":52,debug:55}],9:[function(n,t){(function(){(function(){var e=n("events").EventEmitter,i=n("inherits"),r=n("./utils/object");function o(n,t){e.call(this);var i=this,o=+new Date;this.xo=new t("GET",n),this.xo.once("finish",(function(n,t){var e,u;if(200===n){if(u=+new Date-o,t)try{e=JSON.parse(t)}catch(n){}r.isObject(e)||(e={})}i.emit("finish",e,u),i.removeAllListeners()}))}i(o,e),o.prototype.close=function(){this.removeAllListeners(),this.xo.close()},t.exports=o}).call(this)}).call(this,{env:{}})},{"./utils/object":49,debug:55,events:3,inherits:57}],10:[function(n,t){var e=n("inherits"),i=n("events").EventEmitter,r=n("./transport/sender/xhr-local"),o=n("./info-ajax");function u(n){var t=this;i.call(this),this.ir=new o(n,r),this.ir.once("finish",(function(n,e){t.ir=null,t.emit("message",JSON.stringify([n,e]))}))}e(u,i),u.transportName="iframe-info-receiver",u.prototype.close=function(){this.ir&&(this.ir.close(),this.ir=null),this.removeAllListeners()},t.exports=u},{"./info-ajax":9,"./transport/sender/xhr-local":37,events:3,inherits:57}],11:[function(n,t){(function(e,i){(function(){var e=n("events").EventEmitter,r=n("inherits"),o=n("./utils/event"),u=n("./transport/iframe"),s=n("./info-iframe-receiver");function a(n,t){var r=this;e.call(this);var a=function(){var e=r.ifr=new u(s.transportName,t,n);e.once("message",(function(n){if(n){var t;try{t=JSON.parse(n)}catch(n){return r.emit("finish"),void r.close()}r.emit("finish",t[0],t[1])}r.close()})),e.once("close",(function(){r.emit("finish"),r.close()}))};i.document.body?a():o.attachEvent("load",a)}r(a,e),a.enabled=function(){return u.enabled()},a.prototype.close=function(){this.ifr&&this.ifr.close(),this.removeAllListeners(),this.ifr=null},t.exports=a}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./info-iframe-receiver":10,"./transport/iframe":22,"./utils/event":46,debug:55,events:3,inherits:57}],12:[function(n,t){(function(){(function(){var e=n("events").EventEmitter,i=n("inherits"),r=n("./utils/url"),o=n("./transport/sender/xdr"),u=n("./transport/sender/xhr-cors"),s=n("./transport/sender/xhr-local"),a=n("./transport/sender/xhr-fake"),c=n("./info-iframe"),f=n("./info-ajax");function l(n,t){var i=this;e.call(this),setTimeout((function(){i.doXhr(n,t)}),0)}i(l,e),l._getReceiver=function(n,t,e){return e.sameOrigin?new f(t,s):u.enabled?new f(t,u):o.enabled&&e.sameScheme?new f(t,o):c.enabled()?new c(n,t):new f(t,a)},l.prototype.doXhr=function(n,t){var e=this,i=r.addPath(n,"/info");this.xo=l._getReceiver(n,i,t),this.timeoutRef=setTimeout((function(){e._cleanup(!1),e.emit("finish")}),l.timeout),this.xo.once("finish",(function(n,t){e._cleanup(!0),e.emit("finish",n,t)}))},l.prototype._cleanup=function(n){clearTimeout(this.timeoutRef),this.timeoutRef=null,!n&&this.xo&&this.xo.close(),this.xo=null},l.prototype.close=function(){this.removeAllListeners(),this._cleanup(!1)},l.timeout=8e3,t.exports=l}).call(this)}).call(this,{env:{}})},{"./info-ajax":9,"./info-iframe":11,"./transport/sender/xdr":34,"./transport/sender/xhr-cors":35,"./transport/sender/xhr-fake":36,"./transport/sender/xhr-local":37,"./utils/url":52,debug:55,events:3,inherits:57}],13:[function(n,t){(function(n){(function(){t.exports=n.location||{origin:"http://localhost:80",protocol:"http:",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],14:[function(n,t){(function(e,i){(function(){n("./shims");var e,r=n("url-parse"),o=n("inherits"),u=n("./utils/random"),s=n("./utils/escape"),a=n("./utils/url"),c=n("./utils/event"),f=n("./utils/transport"),l=n("./utils/object"),d=n("./utils/browser"),h=n("./utils/log"),p=n("./event/event"),v=n("./event/eventtarget"),g=n("./location"),b=n("./event/close"),m=n("./event/trans-message"),w=n("./info-receiver");function y(n,t,e){if(!(this instanceof y))return new y(n,t,e);if(arguments.length<1)throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present");v.call(this),this.readyState=y.CONNECTING,this.extensions="",this.protocol="",(e=e||{}).protocols_whitelist&&h.warn("'protocols_whitelist' is DEPRECATED. Use 'transports' instead."),this._transportsWhitelist=e.transports,this._transportOptions=e.transportOptions||{},this._timeout=e.timeout||0;var i=e.sessionId||8;if("function"==typeof i)this._generateSessionId=i;else{if("number"!=typeof i)throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.");this._generateSessionId=function(){return u.string(i)}}this._server=e.server||u.numberString(1e3);var o=new r(n);if(!o.host||!o.protocol)throw new SyntaxError("The URL '"+n+"' is invalid");if(o.hash)throw new SyntaxError("The URL must not contain a fragment");if("http:"!==o.protocol&&"https:"!==o.protocol)throw new SyntaxError("The URL's scheme must be either 'http:' or 'https:'. '"+o.protocol+"' is not allowed.");if("https:"===g.protocol&&"https:"!==o.protocol&&!a.isLoopbackAddr(o.hostname))throw new Error("SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS");t?Array.isArray(t)||(t=[t]):t=[];var s=t.sort();s.forEach((function(n,t){if(!n)throw new SyntaxError("The protocols entry '"+n+"' is invalid.");if(t<s.length-1&&n===s[t+1])throw new SyntaxError("The protocols entry '"+n+"' is duplicated.")}));var c=a.getOrigin(g.href);this._origin=c?c.toLowerCase():null,o.set("pathname",o.pathname.replace(/\/+$/,"")),this.url=o.href,this._urlInfo={nullOrigin:!d.hasDomain(),sameOrigin:a.isOriginEqual(this.url,g.href),sameScheme:a.isSchemeEqual(this.url,g.href)},this._ir=new w(this.url,this._urlInfo),this._ir.once("finish",this._receiveInfo.bind(this))}function x(n){return 1e3===n||n>=3e3&&n<=4999}o(y,v),y.prototype.close=function(n,t){if(n&&!x(n))throw new Error("InvalidAccessError: Invalid code");if(t&&t.length>123)throw new SyntaxError("reason argument has an invalid length");this.readyState!==y.CLOSING&&this.readyState!==y.CLOSED&&this._close(n||1e3,t||"Normal closure",!0)},y.prototype.send=function(n){if("string"!=typeof n&&(n=""+n),this.readyState===y.CONNECTING)throw new Error("InvalidStateError: The connection has not been established yet");this.readyState===y.OPEN&&this._transport.send(s.quote(n))},y.version=n("./version"),y.CONNECTING=0,y.OPEN=1,y.CLOSING=2,y.CLOSED=3,y.prototype._receiveInfo=function(n,t){if(this._ir=null,n){this._rto=this.countRTO(t),this._transUrl=n.base_url?n.base_url:this.url,n=l.extend(n,this._urlInfo);var i=e.filterToEnabled(this._transportsWhitelist,n);this._transports=i.main,this._connect()}else this._close(1002,"Cannot connect to server")},y.prototype._connect=function(){for(var n=this._transports.shift();n;n=this._transports.shift()){if(n.needBody&&(!i.document.body||void 0!==i.document.readyState&&"complete"!==i.document.readyState&&"interactive"!==i.document.readyState))return this._transports.unshift(n),void c.attachEvent("load",this._connect.bind(this));var t=Math.max(this._timeout,this._rto*n.roundTrips||5e3);this._transportTimeoutId=setTimeout(this._transportTimeout.bind(this),t);var e=new n(a.addPath(this._transUrl,"/"+this._server+"/"+this._generateSessionId()),this._transUrl,this._transportOptions[n.transportName]);return e.on("message",this._transportMessage.bind(this)),e.once("close",this._transportClose.bind(this)),e.transportName=n.transportName,void(this._transport=e)}this._close(2e3,"All transports failed",!1)},y.prototype._transportTimeout=function(){this.readyState===y.CONNECTING&&(this._transport&&this._transport.close(),this._transportClose(2007,"Transport timed out"))},y.prototype._transportMessage=function(n){var t,e=this,i=n.slice(0,1),r=n.slice(1);switch(i){case"o":return void this._open();case"h":return void this.dispatchEvent(new p("heartbeat"))}if(r)try{t=JSON.parse(r)}catch(n){}if(void 0!==t)switch(i){case"a":Array.isArray(t)&&t.forEach((function(n){e.dispatchEvent(new m(n))}));break;case"m":this.dispatchEvent(new m(t));break;case"c":Array.isArray(t)&&2===t.length&&this._close(t[0],t[1],!0)}},y.prototype._transportClose=function(n,t){this._transport&&(this._transport.removeAllListeners(),this._transport=null,this.transport=null),x(n)||2e3===n||this.readyState!==y.CONNECTING?this._close(n,t):this._connect()},y.prototype._open=function(){this.readyState===y.CONNECTING?(this._transportTimeoutId&&(clearTimeout(this._transportTimeoutId),this._transportTimeoutId=null),this.readyState=y.OPEN,this.transport=this._transport.transportName,this.dispatchEvent(new p("open"))):this._close(1006,"Server lost session")},y.prototype._close=function(n,t,e){var i=!1;if(this._ir&&(i=!0,this._ir.close(),this._ir=null),this._transport&&(this._transport.close(),this._transport=null,this.transport=null),this.readyState===y.CLOSED)throw new Error("InvalidStateError: SockJS has already been closed");this.readyState=y.CLOSING,setTimeout(function(){this.readyState=y.CLOSED,i&&this.dispatchEvent(new p("error"));var r=new b("close");r.wasClean=e||!1,r.code=n||1e3,r.reason=t,this.dispatchEvent(r),this.onmessage=this.onclose=this.onerror=null}.bind(this),0)},y.prototype.countRTO=function(n){return n>100?4*n:300+n},t.exports=function(t){return e=f(t),n("./iframe-bootstrap")(y,t),y}}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./event/close":2,"./event/event":4,"./event/eventtarget":5,"./event/trans-message":6,"./iframe-bootstrap":8,"./info-receiver":12,"./location":13,"./shims":15,"./utils/browser":44,"./utils/escape":45,"./utils/event":46,"./utils/log":48,"./utils/object":49,"./utils/random":50,"./utils/transport":51,"./utils/url":52,"./version":53,debug:55,inherits:57,"url-parse":60}],15:[function(){var n,t=Array.prototype,e=Object.prototype,i=Function.prototype,r=String.prototype,o=t.slice,u=e.toString,s=function(n){return"[object Function]"===e.toString.call(n)},a=function(n){return"[object String]"===u.call(n)},c=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(n){return!1}}();n=c?function(n,t,e,i){!i&&t in n||Object.defineProperty(n,t,{configurable:!0,enumerable:!1,writable:!0,value:e})}:function(n,t,e,i){!i&&t in n||(n[t]=e)};var f=function(t,i,r){for(var o in i)e.hasOwnProperty.call(i,o)&&n(t,o,i[o],r)},l=function(n){if(null==n)throw new TypeError("can't convert "+n+" to object");return Object(n)};function d(){}f(i,{bind:function(n){var t=this;if(!s(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var e=o.call(arguments,1),i=Math.max(0,t.length-e.length),r=[],u=0;u<i;u++)r.push("$"+u);var a=Function("binder","return function ("+r.join(",")+"){ return binder.apply(this, arguments); }")((function(){if(this instanceof a){var i=t.apply(this,e.concat(o.call(arguments)));return Object(i)===i?i:this}return t.apply(n,e.concat(o.call(arguments)))}));return t.prototype&&(d.prototype=t.prototype,a.prototype=new d,d.prototype=null),a}}),f(Array,{isArray:function(n){return"[object Array]"===u.call(n)}});var h,p,v,g=Object("a"),b="a"!==g[0]||!(0 in g);f(t,{forEach:function(n){var t=l(this),e=b&&a(this)?this.split(""):t,i=arguments[1],r=-1,o=e.length>>>0;if(!s(n))throw new TypeError;for(;++r<o;)r in e&&n.call(i,e[r],r,t)}},(p=!0,v=!0,(h=t.forEach)&&(h.call("foo",(function(n,t,e){"object"!=typeof e&&(p=!1)})),h.call([1],(function(){v="string"==typeof this}),"x")),!(h&&p&&v)));var m=Array.prototype.indexOf&&-1!==[0,1].indexOf(1,2);f(t,{indexOf:function(n){var t=b&&a(this)?this.split(""):l(this),e=t.length>>>0;if(!e)return-1;var i,r=0;for(arguments.length>1&&(i=void 0,(i=+arguments[1])!=i?i=0:0!==i&&i!==1/0&&i!==-1/0&&(i=(i>0||-1)*Math.floor(Math.abs(i))),r=i),r=r>=0?r:Math.max(0,e+r);r<e;r++)if(r in t&&t[r]===n)return r;return-1}},m);var w,y=r.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?(w=void 0===/()??/.exec("")[1],r.split=function(n,e){var i=this;if(void 0===n&&0===e)return[];if("[object RegExp]"!==u.call(n))return y.call(this,n,e);var r,o,s,a,c=[],f=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.extended?"x":"")+(n.sticky?"y":""),l=0;for(n=new RegExp(n.source,f+"g"),i+="",w||(r=new RegExp("^"+n.source+"$(?!\\s)",f)),e=void 0===e?-1>>>0:e>>>0;(o=n.exec(i))&&!((s=o.index+o[0].length)>l&&(c.push(i.slice(l,o.index)),!w&&o.length>1&&o[0].replace(r,(function(){for(var n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(o[n]=void 0)})),o.length>1&&o.index<i.length&&t.push.apply(c,o.slice(1)),a=o[0].length,l=s,c.length>=e));)n.lastIndex===o.index&&n.lastIndex++;return l===i.length?!a&&n.test("")||c.push(""):c.push(i.slice(l)),c.length>e?c.slice(0,e):c}):"0".split(void 0,0).length&&(r.split=function(n,t){return void 0===n&&0===t?[]:y.call(this,n,t)});var x=r.substr;f(r,{substr:function(n,t){return x.call(this,n<0&&(n=this.length+n)<0?0:n,t)}},"".substr&&"b"!=="0b".substr(-1))},{}],16:[function(n,t){t.exports=[n("./transport/websocket"),n("./transport/xhr-streaming"),n("./transport/xdr-streaming"),n("./transport/eventsource"),n("./transport/lib/iframe-wrap")(n("./transport/eventsource")),n("./transport/htmlfile"),n("./transport/lib/iframe-wrap")(n("./transport/htmlfile")),n("./transport/xhr-polling"),n("./transport/xdr-polling"),n("./transport/lib/iframe-wrap")(n("./transport/xhr-polling")),n("./transport/jsonp-polling")]},{"./transport/eventsource":20,"./transport/htmlfile":21,"./transport/jsonp-polling":23,"./transport/lib/iframe-wrap":26,"./transport/websocket":38,"./transport/xdr-polling":39,"./transport/xdr-streaming":40,"./transport/xhr-polling":41,"./transport/xhr-streaming":42}],17:[function(n,t){(function(e,i){(function(){var e=n("events").EventEmitter,r=n("inherits"),o=n("../../utils/event"),u=n("../../utils/url"),s=i.XMLHttpRequest;function a(n,t,i,r){var o=this;e.call(this),setTimeout((function(){o._start(n,t,i,r)}),0)}r(a,e),a.prototype._start=function(n,t,e,i){var r=this;try{this.xhr=new s}catch(n){}if(!this.xhr)return this.emit("finish",0,"no xhr support"),void this._cleanup();t=u.addQuery(t,"t="+ +new Date),this.unloadRef=o.unloadAdd((function(){r._cleanup(!0)}));try{this.xhr.open(n,t,!0),this.timeout&&"timeout"in this.xhr&&(this.xhr.timeout=this.timeout,this.xhr.ontimeout=function(){r.emit("finish",0,""),r._cleanup(!1)})}catch(n){return this.emit("finish",0,""),void this._cleanup(!1)}if(i&&i.noCredentials||!a.supportsCORS||(this.xhr.withCredentials=!0),i&&i.headers)for(var c in i.headers)this.xhr.setRequestHeader(c,i.headers[c]);this.xhr.onreadystatechange=function(){if(r.xhr){var n,t,e=r.xhr;switch(e.readyState){case 3:try{t=e.status,n=e.responseText}catch(n){}1223===t&&(t=204),200===t&&n&&n.length>0&&r.emit("chunk",t,n);break;case 4:1223===(t=e.status)&&(t=204),12005!==t&&12029!==t||(t=0),r.emit("finish",t,e.responseText),r._cleanup(!1)}}};try{r.xhr.send(e)}catch(n){r.emit("finish",0,""),r._cleanup(!1)}},a.prototype._cleanup=function(n){if(this.xhr){if(this.removeAllListeners(),o.unloadDel(this.unloadRef),this.xhr.onreadystatechange=function(){},this.xhr.ontimeout&&(this.xhr.ontimeout=null),n)try{this.xhr.abort()}catch(n){}this.unloadRef=this.xhr=null}},a.prototype.close=function(){this._cleanup(!0)},a.enabled=!!s;var c=["Active"].concat("Object").join("X");!a.enabled&&c in i&&(a.enabled=!!new(s=function(){try{return new i[c]("Microsoft.XMLHTTP")}catch(n){return null}}));var f=!1;try{f="withCredentials"in new s}catch(n){}a.supportsCORS=f,t.exports=a}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/event":46,"../../utils/url":52,debug:55,events:3,inherits:57}],18:[function(n,t){(function(n){(function(){t.exports=n.EventSource}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],19:[function(n,t){(function(n){(function(){var e=n.WebSocket||n.MozWebSocket;t.exports=e?function(n){return new e(n)}:void 0}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],20:[function(n,t){var e=n("inherits"),i=n("./lib/ajax-based"),r=n("./receiver/eventsource"),o=n("./sender/xhr-cors"),u=n("eventsource");function s(n){if(!s.enabled())throw new Error("Transport created when disabled");i.call(this,n,"/eventsource",r,o)}e(s,i),s.enabled=function(){return!!u},s.transportName="eventsource",s.roundTrips=2,t.exports=s},{"./lib/ajax-based":24,"./receiver/eventsource":29,"./sender/xhr-cors":35,eventsource:18,inherits:57}],21:[function(n,t){var e=n("inherits"),i=n("./receiver/htmlfile"),r=n("./sender/xhr-local"),o=n("./lib/ajax-based");function u(n){if(!i.enabled)throw new Error("Transport created when disabled");o.call(this,n,"/htmlfile",i,r)}e(u,o),u.enabled=function(n){return i.enabled&&n.sameOrigin},u.transportName="htmlfile",u.roundTrips=2,t.exports=u},{"./lib/ajax-based":24,"./receiver/htmlfile":30,"./sender/xhr-local":37,inherits:57}],22:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter,r=n("../version"),o=n("../utils/url"),u=n("../utils/iframe"),s=n("../utils/event"),a=n("../utils/random");function c(n,t,e){if(!c.enabled())throw new Error("Transport created when disabled");i.call(this);var r=this;this.origin=o.getOrigin(e),this.baseUrl=e,this.transUrl=t,this.transport=n,this.windowId=a.string(8);var f=o.addPath(e,"/iframe.html")+"#"+this.windowId;this.iframeObj=u.createIframe(f,(function(n){r.emit("close",1006,"Unable to load an iframe ("+n+")"),r.close()})),this.onmessageCallback=this._message.bind(this),s.attachEvent("message",this.onmessageCallback)}e(c,i),c.prototype.close=function(){if(this.removeAllListeners(),this.iframeObj){s.detachEvent("message",this.onmessageCallback);try{this.postMessage("c")}catch(n){}this.iframeObj.cleanup(),this.iframeObj=null,this.onmessageCallback=this.iframeObj=null}},c.prototype._message=function(n){if(o.isOriginEqual(n.origin,this.origin)){var t;try{t=JSON.parse(n.data)}catch(n){return}if(t.windowId===this.windowId)switch(t.type){case"s":this.iframeObj.loaded(),this.postMessage("s",JSON.stringify([r,this.transport,this.transUrl,this.baseUrl]));break;case"t":this.emit("message",t.data);break;case"c":var e;try{e=JSON.parse(t.data)}catch(n){return}this.emit("close",e[0],e[1]),this.close()}}},c.prototype.postMessage=function(n,t){this.iframeObj.post(JSON.stringify({windowId:this.windowId,type:n,data:t||""}),this.origin)},c.prototype.send=function(n){this.postMessage("m",n)},c.enabled=function(){return u.iframeEnabled},c.transportName="iframe",c.roundTrips=2,t.exports=c}).call(this)}).call(this,{env:{}})},{"../utils/event":46,"../utils/iframe":47,"../utils/random":50,"../utils/url":52,"../version":53,debug:55,events:3,inherits:57}],23:[function(n,t){(function(e){(function(){var i=n("inherits"),r=n("./lib/sender-receiver"),o=n("./receiver/jsonp"),u=n("./sender/jsonp");function s(n){if(!s.enabled())throw new Error("Transport created when disabled");r.call(this,n,"/jsonp",u,o)}i(s,r),s.enabled=function(){return!!e.document},s.transportName="jsonp-polling",s.roundTrips=1,s.needBody=!0,t.exports=s}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/sender-receiver":28,"./receiver/jsonp":31,"./sender/jsonp":33,inherits:57}],24:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("../../utils/url"),r=n("./sender-receiver");function o(n,t,e,o){r.call(this,n,t,function(n){return function(t,e,r){var o={};"string"==typeof e&&(o.headers={"Content-type":"text/plain"});var u=i.addPath(t,"/xhr_send"),s=new n("POST",u,e,o);return s.once("finish",(function(n){if(s=null,200!==n&&204!==n)return r(new Error("http status "+n));r()})),function(){s.close(),s=null;var n=new Error("Aborted");n.code=1e3,r(n)}}}(o),e,o)}e(o,r),t.exports=o}).call(this)}).call(this,{env:{}})},{"../../utils/url":52,"./sender-receiver":28,debug:55,inherits:57}],25:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter;function r(n,t){i.call(this),this.sendBuffer=[],this.sender=t,this.url=n}e(r,i),r.prototype.send=function(n){this.sendBuffer.push(n),this.sendStop||this.sendSchedule()},r.prototype.sendScheduleWait=function(){var n,t=this;this.sendStop=function(){t.sendStop=null,clearTimeout(n)},n=setTimeout((function(){t.sendStop=null,t.sendSchedule()}),25)},r.prototype.sendSchedule=function(){var n=this;if(this.sendBuffer.length>0){var t="["+this.sendBuffer.join(",")+"]";this.sendStop=this.sender(this.url,t,(function(t){n.sendStop=null,t?(n.emit("close",t.code||1006,"Sending error: "+t),n.close()):n.sendScheduleWait()})),this.sendBuffer=[]}},r.prototype._cleanup=function(){this.removeAllListeners()},r.prototype.close=function(){this._cleanup(),this.sendStop&&(this.sendStop(),this.sendStop=null)},t.exports=r}).call(this)}).call(this,{env:{}})},{debug:55,events:3,inherits:57}],26:[function(n,t){(function(e){(function(){var i=n("inherits"),r=n("../iframe"),o=n("../../utils/object");t.exports=function(n){function t(t,e){r.call(this,n.transportName,t,e)}return i(t,r),t.enabled=function(t,i){if(!e.document)return!1;var u=o.extend({},i);return u.sameOrigin=!0,n.enabled(u)&&r.enabled()},t.transportName="iframe-"+n.transportName,t.needBody=!0,t.roundTrips=r.roundTrips+n.roundTrips-1,t.facadeTransport=n,t}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/object":49,"../iframe":22,inherits:57}],27:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter;function r(n,t,e){i.call(this),this.Receiver=n,this.receiveUrl=t,this.AjaxObject=e,this._scheduleReceiver()}e(r,i),r.prototype._scheduleReceiver=function(){var n=this,t=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);t.on("message",(function(t){n.emit("message",t)})),t.once("close",(function(e,i){n.poll=t=null,n.pollIsClosing||("network"===i?n._scheduleReceiver():(n.emit("close",e||1006,i),n.removeAllListeners()))}))},r.prototype.abort=function(){this.removeAllListeners(),this.pollIsClosing=!0,this.poll&&this.poll.abort()},t.exports=r}).call(this)}).call(this,{env:{}})},{debug:55,events:3,inherits:57}],28:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("../../utils/url"),r=n("./buffered-sender"),o=n("./polling");function u(n,t,e,u,s){var a=i.addPath(n,t),c=this;r.call(this,n,e),this.poll=new o(u,a,s),this.poll.on("message",(function(n){c.emit("message",n)})),this.poll.once("close",(function(n,t){c.poll=null,c.emit("close",n,t),c.close()}))}e(u,r),u.prototype.close=function(){r.prototype.close.call(this),this.removeAllListeners(),this.poll&&(this.poll.abort(),this.poll=null)},t.exports=u}).call(this)}).call(this,{env:{}})},{"../../utils/url":52,"./buffered-sender":25,"./polling":27,debug:55,inherits:57}],29:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter,r=n("eventsource");function o(n){i.call(this);var t=this,e=this.es=new r(n);e.onmessage=function(n){t.emit("message",decodeURI(n.data))},e.onerror=function(){var n=2!==e.readyState?"network":"permanent";t._cleanup(),t._close(n)}}e(o,i),o.prototype.abort=function(){this._cleanup(),this._close("user")},o.prototype._cleanup=function(){var n=this.es;n&&(n.onmessage=n.onerror=null,n.close(),this.es=null)},o.prototype._close=function(n){var t=this;setTimeout((function(){t.emit("close",null,n),t.removeAllListeners()}),200)},t.exports=o}).call(this)}).call(this,{env:{}})},{debug:55,events:3,eventsource:18,inherits:57}],30:[function(n,t){(function(e,i){(function(){var e=n("inherits"),r=n("../../utils/iframe"),o=n("../../utils/url"),u=n("events").EventEmitter,s=n("../../utils/random");function a(n){u.call(this);var t=this;r.polluteGlobalNamespace(),this.id="a"+s.string(6),n=o.addQuery(n,"c="+decodeURIComponent(r.WPrefix+"."+this.id));var e=a.htmlfileEnabled?r.createHtmlfile:r.createIframe;i[r.WPrefix][this.id]={start:function(){t.iframeObj.loaded()},message:function(n){t.emit("message",n)},stop:function(){t._cleanup(),t._close("network")}},this.iframeObj=e(n,(function(){t._cleanup(),t._close("permanent")}))}e(a,u),a.prototype.abort=function(){this._cleanup(),this._close("user")},a.prototype._cleanup=function(){this.iframeObj&&(this.iframeObj.cleanup(),this.iframeObj=null),delete i[r.WPrefix][this.id]},a.prototype._close=function(n){this.emit("close",null,n),this.removeAllListeners()},a.htmlfileEnabled=!1;var c=["Active"].concat("Object").join("X");if(c in i)try{a.htmlfileEnabled=!!new i[c]("htmlfile")}catch(n){}a.enabled=a.htmlfileEnabled||r.iframeEnabled,t.exports=a}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:55,events:3,inherits:57}],31:[function(n,t){(function(e,i){(function(){var e=n("../../utils/iframe"),r=n("../../utils/random"),o=n("../../utils/browser"),u=n("../../utils/url"),s=n("inherits"),a=n("events").EventEmitter;function c(n){var t=this;a.call(this),e.polluteGlobalNamespace(),this.id="a"+r.string(6);var o=u.addQuery(n,"c="+encodeURIComponent(e.WPrefix+"."+this.id));i[e.WPrefix][this.id]=this._callback.bind(this),this._createScript(o),this.timeoutId=setTimeout((function(){t._abort(new Error("JSONP script loaded abnormally (timeout)"))}),c.timeout)}s(c,a),c.prototype.abort=function(){if(i[e.WPrefix][this.id]){var n=new Error("JSONP user aborted read");n.code=1e3,this._abort(n)}},c.timeout=35e3,c.scriptErrorTimeout=1e3,c.prototype._callback=function(n){this._cleanup(),this.aborting||(n&&this.emit("message",n),this.emit("close",null,"network"),this.removeAllListeners())},c.prototype._abort=function(n){this._cleanup(),this.aborting=!0,this.emit("close",n.code,n.message),this.removeAllListeners()},c.prototype._cleanup=function(){if(clearTimeout(this.timeoutId),this.script2&&(this.script2.parentNode.removeChild(this.script2),this.script2=null),this.script){var n=this.script;n.parentNode.removeChild(n),n.onreadystatechange=n.onerror=n.onload=n.onclick=null,this.script=null}delete i[e.WPrefix][this.id]},c.prototype._scriptError=function(){var n=this;this.errorTimer||(this.errorTimer=setTimeout((function(){n.loadedOkay||n._abort(new Error("JSONP script loaded abnormally (onerror)"))}),c.scriptErrorTimeout))},c.prototype._createScript=function(n){var t,e=this,u=this.script=i.document.createElement("script");if(u.id="a"+r.string(8),u.src=n,u.type="text/javascript",u.charset="UTF-8",u.onerror=this._scriptError.bind(this),u.onload=function(){e._abort(new Error("JSONP script loaded abnormally (onload)"))},u.onreadystatechange=function(){if(/loaded|closed/.test(u.readyState)){if(u&&u.htmlFor&&u.onclick){e.loadedOkay=!0;try{u.onclick()}catch(n){}}u&&e._abort(new Error("JSONP script loaded abnormally (onreadystatechange)"))}},void 0===u.async&&i.document.attachEvent)if(o.isOpera())(t=this.script2=i.document.createElement("script")).text="try{var a = document.getElementById('"+u.id+"'); if(a)a.onerror();}catch(x){};",u.async=t.async=!1;else{try{u.htmlFor=u.id,u.event="onclick"}catch(n){}u.async=!0}void 0!==u.async&&(u.async=!0);var s=i.document.getElementsByTagName("head")[0];s.insertBefore(u,s.firstChild),t&&s.insertBefore(t,s.firstChild)},t.exports=c}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/browser":44,"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:55,events:3,inherits:57}],32:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter;function r(n,t){i.call(this);var e=this;this.bufferPosition=0,this.xo=new t("POST",n,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",(function(n,t){e._chunkHandler(n,t),e.xo=null,e.emit("close",null,200===n?"network":"permanent"),e._cleanup()}))}e(r,i),r.prototype._chunkHandler=function(n,t){if(200===n&&t)for(var e=-1;;this.bufferPosition+=e+1){var i=t.slice(this.bufferPosition);if(-1===(e=i.indexOf("\n")))break;var r=i.slice(0,e);r&&this.emit("message",r)}},r.prototype._cleanup=function(){this.removeAllListeners()},r.prototype.abort=function(){this.xo&&(this.xo.close(),this.emit("close",null,"user"),this.xo=null),this._cleanup()},t.exports=r}).call(this)}).call(this,{env:{}})},{debug:55,events:3,inherits:57}],33:[function(n,t){(function(e,i){(function(){var e,r,o=n("../../utils/random"),u=n("../../utils/url");t.exports=function(n,t,s){e||((e=i.document.createElement("form")).style.display="none",e.style.position="absolute",e.method="POST",e.enctype="application/x-www-form-urlencoded",e.acceptCharset="UTF-8",(r=i.document.createElement("textarea")).name="d",e.appendChild(r),i.document.body.appendChild(e));var a="a"+o.string(8);e.target=a,e.action=u.addQuery(u.addPath(n,"/jsonp_send"),"i="+a);var c=function(n){try{return i.document.createElement('<iframe name="'+n+'">')}catch(e){var t=i.document.createElement("iframe");return t.name=n,t}}(a);c.id=a,c.style.display="none",e.appendChild(c);try{r.value=t}catch(n){}e.submit();var f=function(n){c.onerror&&(c.onreadystatechange=c.onerror=c.onload=null,setTimeout((function(){c.parentNode.removeChild(c),c=null}),500),r.value="",s(n))};return c.onerror=function(){f()},c.onload=function(){f()},c.onreadystatechange=function(){"complete"===c.readyState&&f()},function(){f(new Error("Aborted"))}}}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/random":50,"../../utils/url":52,debug:55}],34:[function(n,t){(function(e,i){(function(){var e=n("events").EventEmitter,r=n("inherits"),o=n("../../utils/event"),u=n("../../utils/browser"),s=n("../../utils/url");function a(n,t,i){var r=this;e.call(this),setTimeout((function(){r._start(n,t,i)}),0)}r(a,e),a.prototype._start=function(n,t,e){var r=this,u=new i.XDomainRequest;t=s.addQuery(t,"t="+ +new Date),u.onerror=function(){r._error()},u.ontimeout=function(){r._error()},u.onprogress=function(){r.emit("chunk",200,u.responseText)},u.onload=function(){r.emit("finish",200,u.responseText),r._cleanup(!1)},this.xdr=u,this.unloadRef=o.unloadAdd((function(){r._cleanup(!0)}));try{this.xdr.open(n,t),this.timeout&&(this.xdr.timeout=this.timeout),this.xdr.send(e)}catch(n){this._error()}},a.prototype._error=function(){this.emit("finish",0,""),this._cleanup(!1)},a.prototype._cleanup=function(n){if(this.xdr){if(this.removeAllListeners(),o.unloadDel(this.unloadRef),this.xdr.ontimeout=this.xdr.onerror=this.xdr.onprogress=this.xdr.onload=null,n)try{this.xdr.abort()}catch(n){}this.unloadRef=this.xdr=null}},a.prototype.close=function(){this._cleanup(!0)},a.enabled=!(!i.XDomainRequest||!u.hasDomain()),t.exports=a}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/browser":44,"../../utils/event":46,"../../utils/url":52,debug:55,events:3,inherits:57}],35:[function(n,t){var e=n("inherits"),i=n("../driver/xhr");function r(n,t,e,r){i.call(this,n,t,e,r)}e(r,i),r.enabled=i.enabled&&i.supportsCORS,t.exports=r},{"../driver/xhr":17,inherits:57}],36:[function(n,t){var e=n("events").EventEmitter;function i(){var n=this;e.call(this),this.to=setTimeout((function(){n.emit("finish",200,"{}")}),i.timeout)}n("inherits")(i,e),i.prototype.close=function(){clearTimeout(this.to)},i.timeout=2e3,t.exports=i},{events:3,inherits:57}],37:[function(n,t){var e=n("inherits"),i=n("../driver/xhr");function r(n,t,e){i.call(this,n,t,e,{noCredentials:!0})}e(r,i),r.enabled=i.enabled,t.exports=r},{"../driver/xhr":17,inherits:57}],38:[function(n,t){(function(){(function(){var e=n("../utils/event"),i=n("../utils/url"),r=n("inherits"),o=n("events").EventEmitter,u=n("./driver/websocket");function s(n,t,r){if(!s.enabled())throw new Error("Transport created when disabled");o.call(this);var a=this,c=i.addPath(n,"/websocket");c="https"===c.slice(0,5)?"wss"+c.slice(5):"ws"+c.slice(4),this.url=c,this.ws=new u(this.url,[],r),this.ws.onmessage=function(n){a.emit("message",n.data)},this.unloadRef=e.unloadAdd((function(){a.ws.close()})),this.ws.onclose=function(n){a.emit("close",n.code,n.reason),a._cleanup()},this.ws.onerror=function(){a.emit("close",1006,"WebSocket connection broken"),a._cleanup()}}r(s,o),s.prototype.send=function(n){this.ws.send("["+n+"]")},s.prototype.close=function(){var n=this.ws;this._cleanup(),n&&n.close()},s.prototype._cleanup=function(){var n=this.ws;n&&(n.onmessage=n.onclose=n.onerror=null),e.unloadDel(this.unloadRef),this.unloadRef=this.ws=null,this.removeAllListeners()},s.enabled=function(){return!!u},s.transportName="websocket",s.roundTrips=2,t.exports=s}).call(this)}).call(this,{env:{}})},{"../utils/event":46,"../utils/url":52,"./driver/websocket":19,debug:55,events:3,inherits:57}],39:[function(n,t){var e=n("inherits"),i=n("./lib/ajax-based"),r=n("./xdr-streaming"),o=n("./receiver/xhr"),u=n("./sender/xdr");function s(n){if(!u.enabled)throw new Error("Transport created when disabled");i.call(this,n,"/xhr",o,u)}e(s,i),s.enabled=r.enabled,s.transportName="xdr-polling",s.roundTrips=2,t.exports=s},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,"./xdr-streaming":40,inherits:57}],40:[function(n,t){var e=n("inherits"),i=n("./lib/ajax-based"),r=n("./receiver/xhr"),o=n("./sender/xdr");function u(n){if(!o.enabled)throw new Error("Transport created when disabled");i.call(this,n,"/xhr_streaming",r,o)}e(u,i),u.enabled=function(n){return!n.cookie_needed&&!n.nullOrigin&&o.enabled&&n.sameScheme},u.transportName="xdr-streaming",u.roundTrips=2,t.exports=u},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,inherits:57}],41:[function(n,t){var e=n("inherits"),i=n("./lib/ajax-based"),r=n("./receiver/xhr"),o=n("./sender/xhr-cors"),u=n("./sender/xhr-local");function s(n){if(!u.enabled&&!o.enabled)throw new Error("Transport created when disabled");i.call(this,n,"/xhr",r,o)}e(s,i),s.enabled=function(n){return!n.nullOrigin&&(!(!u.enabled||!n.sameOrigin)||o.enabled)},s.transportName="xhr-polling",s.roundTrips=2,t.exports=s},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:57}],42:[function(n,t){(function(e){(function(){var i=n("inherits"),r=n("./lib/ajax-based"),o=n("./receiver/xhr"),u=n("./sender/xhr-cors"),s=n("./sender/xhr-local"),a=n("../utils/browser");function c(n){if(!s.enabled&&!u.enabled)throw new Error("Transport created when disabled");r.call(this,n,"/xhr_streaming",o,u)}i(c,r),c.enabled=function(n){return!n.nullOrigin&&!a.isOpera()&&u.enabled},c.transportName="xhr-streaming",c.roundTrips=2,c.needBody=!!e.document,t.exports=c}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../utils/browser":44,"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:57}],43:[function(n,t){(function(n){(function(){t.exports.randomBytes=n.crypto&&n.crypto.getRandomValues?function(t){var e=new Uint8Array(t);return n.crypto.getRandomValues(e),e}:function(n){for(var t=new Array(n),e=0;e<n;e++)t[e]=Math.floor(256*Math.random());return t}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],44:[function(n,t){(function(n){(function(){t.exports={isOpera:function(){return n.navigator&&/opera/i.test(n.navigator.userAgent)},isKonqueror:function(){return n.navigator&&/konqueror/i.test(n.navigator.userAgent)},hasDomain:function(){if(!n.document)return!0;try{return!!n.document.domain}catch(n){return!1}}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],45:[function(n,t){var e,i=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u05c4\u0610-\u0617\u0653-\u0654\u0657-\u065b\u065d-\u065e\u06df-\u06e2\u06eb-\u06ec\u0730\u0732-\u0733\u0735-\u0736\u073a\u073d\u073f-\u0741\u0743\u0745\u0747\u07eb-\u07f1\u0951\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e38-\u0e39\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u0f72-\u0f76\u0f78\u0f80-\u0f83\u0f93\u0f9d\u0fa2\u0fa7\u0fac\u0fb9\u1939-\u193a\u1a17\u1b6b\u1cda-\u1cdb\u1dc0-\u1dcf\u1dfc\u1dfe\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbe\u1fc9\u1fcb\u1fd3\u1fdb\u1fe3\u1feb\u1fee-\u1fef\u1ff9\u1ffb\u1ffd\u2000-\u2001\u20d0-\u20d1\u20d4-\u20d7\u20e7-\u20e9\u2126\u212a-\u212b\u2329-\u232a\u2adc\u302b-\u302c\uaab2-\uaab3\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufb4e\ufff0-\uffff]/g;t.exports={quote:function(n){var t=JSON.stringify(n);return i.lastIndex=0,i.test(t)?(e||(e=function(n){var t,e={},i=[];for(t=0;t<65536;t++)i.push(String.fromCharCode(t));return n.lastIndex=0,i.join("").replace(n,(function(n){return e[n]="\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4),""})),n.lastIndex=0,e}(i)),t.replace(i,(function(n){return e[n]}))):t}}},{}],46:[function(n,t){(function(e){(function(){var i=n("./random"),r={},o=!1,u=e.chrome&&e.chrome.app&&e.chrome.app.runtime;t.exports={attachEvent:function(n,t){void 0!==e.addEventListener?e.addEventListener(n,t,!1):e.document&&e.attachEvent&&(e.document.attachEvent("on"+n,t),e.attachEvent("on"+n,t))},detachEvent:function(n,t){void 0!==e.addEventListener?e.removeEventListener(n,t,!1):e.document&&e.detachEvent&&(e.document.detachEvent("on"+n,t),e.detachEvent("on"+n,t))},unloadAdd:function(n){if(u)return null;var t=i.string(8);return r[t]=n,o&&setTimeout(this.triggerUnloadCallbacks,0),t},unloadDel:function(n){n in r&&delete r[n]},triggerUnloadCallbacks:function(){for(var n in r)r[n](),delete r[n]}};u||t.exports.attachEvent("unload",(function(){o||(o=!0,t.exports.triggerUnloadCallbacks())}))}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./random":50}],47:[function(n,t){(function(e,i){(function(){var e=n("./event"),r=n("./browser");t.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){t.exports.WPrefix in i||(i[t.exports.WPrefix]={})},postMessage:function(n,e){i.parent!==i&&i.parent.postMessage(JSON.stringify({windowId:t.exports.currentWindowId,type:n,data:e||""}),"*")},createIframe:function(n,t){var r,o,u=i.document.createElement("iframe"),s=function(){clearTimeout(r);try{u.onload=null}catch(n){}u.onerror=null},a=function(){u&&(s(),setTimeout((function(){u&&u.parentNode.removeChild(u),u=null}),0),e.unloadDel(o))},c=function(n){u&&(a(),t(n))};return u.src=n,u.style.display="none",u.style.position="absolute",u.onerror=function(){c("onerror")},u.onload=function(){clearTimeout(r),r=setTimeout((function(){c("onload timeout")}),2e3)},i.document.body.appendChild(u),r=setTimeout((function(){c("timeout")}),15e3),o=e.unloadAdd(a),{post:function(n,t){setTimeout((function(){try{u&&u.contentWindow&&u.contentWindow.postMessage(n,t)}catch(n){}}),0)},cleanup:a,loaded:s}},createHtmlfile:function(n,r){var o,u,s,a=["Active"].concat("Object").join("X"),c=new i[a]("htmlfile"),f=function(){clearTimeout(o),s.onerror=null},l=function(){c&&(f(),e.unloadDel(u),s.parentNode.removeChild(s),s=c=null,CollectGarbage())},d=function(n){c&&(l(),r(n))};c.open(),c.write('<html><script>document.domain="'+i.document.domain+'";<\/script></html>'),c.close(),c.parentWindow[t.exports.WPrefix]=i[t.exports.WPrefix];var h=c.createElement("div");return c.body.appendChild(h),s=c.createElement("iframe"),h.appendChild(s),s.src=n,s.onerror=function(){d("onerror")},o=setTimeout((function(){d("timeout")}),15e3),u=e.unloadAdd(l),{post:function(n,t){try{setTimeout((function(){s&&s.contentWindow&&s.contentWindow.postMessage(n,t)}),0)}catch(n){}},cleanup:l,loaded:f}}},t.exports.iframeEnabled=!1,i.document&&(t.exports.iframeEnabled=("function"==typeof i.postMessage||"object"==typeof i.postMessage)&&!r.isKonqueror())}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./browser":44,"./event":46,debug:55}],48:[function(n,t){(function(n){(function(){var e={};["log","debug","warn"].forEach((function(t){var i;try{i=n.console&&n.console[t]&&n.console[t].apply}catch(n){}e[t]=i?function(){return n.console[t].apply(n.console,arguments)}:"log"===t?function(){}:e.log})),t.exports=e}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],49:[function(n,t){t.exports={isObject:function(n){var t=typeof n;return"function"===t||"object"===t&&!!n},extend:function(n){if(!this.isObject(n))return n;for(var t,e,i=1,r=arguments.length;i<r;i++)for(e in t=arguments[i])Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}}},{}],50:[function(n,t){var e=n("crypto"),i="abcdefghijklmnopqrstuvwxyz012345";t.exports={string:function(n){for(var t=e.randomBytes(n),r=[],o=0;o<n;o++)r.push(i.substr(t[o]%32,1));return r.join("")},number:function(n){return Math.floor(Math.random()*n)},numberString:function(n){var t=(""+(n-1)).length;return(new Array(t+1).join("0")+this.number(n)).slice(-t)}}},{crypto:43}],51:[function(n,t){(function(){(function(){t.exports=function(n){return{filterToEnabled:function(t,e){var i={main:[],facade:[]};return t?"string"==typeof t&&(t=[t]):t=[],n.forEach((function(n){n&&("websocket"===n.transportName&&!1===e.websocket||t.length&&-1===t.indexOf(n.transportName)||n.enabled(e)&&(i.main.push(n),n.facadeTransport&&i.facade.push(n.facadeTransport)))})),i}}}}).call(this)}).call(this,{env:{}})},{debug:55}],52:[function(n,t){(function(){(function(){var e=n("url-parse");t.exports={getOrigin:function(n){if(!n)return null;var t=new e(n);if("file:"===t.protocol)return null;var i=t.port;return i||(i="https:"===t.protocol?"443":"80"),t.protocol+"//"+t.hostname+":"+i},isOriginEqual:function(n,t){return this.getOrigin(n)===this.getOrigin(t)},isSchemeEqual:function(n,t){return n.split(":")[0]===t.split(":")[0]},addPath:function(n,t){var e=n.split("?");return e[0]+t+(e[1]?"?"+e[1]:"")},addQuery:function(n,t){return n+(-1===n.indexOf("?")?"?"+t:"&"+t)},isLoopbackAddr:function(n){return/^127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(n)||/^\[::1\]$/.test(n)}}}).call(this)}).call(this,{env:{}})},{debug:55,"url-parse":60}],53:[function(n,t){t.exports="1.6.1"},{}],54:[function(n,t){var e=1e3,i=60*e,r=60*i,o=24*r;function u(n,t,e,i){var r=t>=1.5*e;return Math.round(n/e)+" "+i+(r?"s":"")}t.exports=function(n,t){t=t||{};var s,a,c=typeof n;if("string"===c&&n.length>0)return function(n){if(!((n=String(n)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(n);if(t){var u=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*u;case"weeks":case"week":case"w":return 6048e5*u;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*i;case"seconds":case"second":case"secs":case"sec":case"s":return u*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}(n);if("number"===c&&isFinite(n))return t.long?(s=n,(a=Math.abs(s))>=o?u(s,a,o,"day"):a>=r?u(s,a,r,"hour"):a>=i?u(s,a,i,"minute"):a>=e?u(s,a,e,"second"):s+" ms"):function(n){var t=Math.abs(n);return t>=o?Math.round(n/o)+"d":t>=r?Math.round(n/r)+"h":t>=i?Math.round(n/i)+"m":t>=e?Math.round(n/e)+"s":n+"ms"}(n);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(n))}},{}],55:[function(n,t,e){(function(i){(function(){function r(n){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r(n)}e.log=function(){var n;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(n=console).log.apply(n,arguments)},e.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),this.useColors){var e="color: "+this.color;n.splice(1,0,e,"color: inherit");var i=0,r=0;n[0].replace(/%[a-zA-Z%]/g,(function(n){"%%"!==n&&(i++,"%c"===n&&(r=i))})),n.splice(r,0,e)}},e.save=function(n){try{n?e.storage.setItem("debug",n):e.storage.removeItem("debug")}catch(n){}},e.load=function(){var n;try{n=e.storage.getItem("debug")}catch(n){}return!n&&void 0!==i&&"env"in i&&(n=i.env.DEBUG),n},e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(n){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.exports=n("./common")(e),t.exports.formatters.j=function(n){try{return JSON.stringify(n)}catch(n){return"[UnexpectedJSONParseError]: "+n.message}}}).call(this)}).call(this,{env:{}})},{"./common":56}],56:[function(n,t){t.exports=function(t){function e(n){for(var t=0,e=0;e<n.length;e++)t=(t<<5)-t+n.charCodeAt(e),t|=0;return i.colors[Math.abs(t)%i.colors.length]}function i(n){var t;function u(){if(u.enabled){for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];var o=u,s=Number(new Date);o.diff=s-(t||s),o.prev=t,o.curr=s,t=s,e[0]=i.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");var a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(function(n,t){if("%%"===n)return n;a++;var r=i.formatters[t];return"function"==typeof r&&(n=r.call(o,e[a]),e.splice(a,1),a--),n})),i.formatArgs.call(o,e),(o.log||i.log).apply(o,e)}}return u.namespace=n,u.enabled=i.enabled(n),u.useColors=i.useColors(),u.color=e(n),u.destroy=r,u.extend=o,"function"==typeof i.init&&i.init(u),i.instances.push(u),u}function r(){var n=i.instances.indexOf(this);return-1!==n&&(i.instances.splice(n,1),!0)}function o(n,t){return i(this.namespace+(void 0===t?":":t)+n)}return i.debug=i,i.default=i,i.coerce=function(n){return n instanceof Error?n.stack||n.message:n},i.disable=function(){i.enable("")},i.enable=function(n){var t;i.save(n),i.names=[],i.skips=[];var e=("string"==typeof n?n:"").split(/[\s,]+/),r=e.length;for(t=0;t<r;t++)e[t]&&("-"===(n=e[t].replace(/\*/g,".*?"))[0]?i.skips.push(new RegExp("^"+n.substr(1)+"$")):i.names.push(new RegExp("^"+n+"$")));for(t=0;t<i.instances.length;t++){var o=i.instances[t];o.enabled=i.enabled(o.namespace)}},i.enabled=function(n){if("*"===n[n.length-1])return!0;var t,e;for(t=0,e=i.skips.length;t<e;t++)if(i.skips[t].test(n))return!1;for(t=0,e=i.names.length;t<e;t++)if(i.names[t].test(n))return!0;return!1},i.humanize=n("ms"),Object.keys(t).forEach((function(n){i[n]=t[n]})),i.instances=[],i.names=[],i.skips=[],i.formatters={},i.selectColor=e,i.enable(i.load()),i}},{ms:54}],57:[function(n,t){t.exports="function"==typeof Object.create?function(n,t){t&&(n.super_=t,n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:function(n,t){if(t){n.super_=t;var e=function(){};e.prototype=t.prototype,n.prototype=new e,n.prototype.constructor=n}}},{}],58:[function(n,t,e){var i=Object.prototype.hasOwnProperty;function r(n){try{return decodeURIComponent(n.replace(/\+/g," "))}catch(n){return null}}e.stringify=function(n,t){t=t||"";var e,r,o=[];for(r in"string"!=typeof t&&(t="?"),n)if(i.call(n,r)){if((e=n[r])||null!=e&&!isNaN(e)||(e=""),r=encodeURIComponent(r),e=encodeURIComponent(e),null===r||null===e)continue;o.push(r+"="+e)}return o.length?t+o.join("&"):""},e.parse=function(n){for(var t,e=/([^=?&]+)=?([^&]*)/g,i={};t=e.exec(n);){var o=r(t[1]),u=r(t[2]);null===o||null===u||o in i||(i[o]=u)}return i}},{}],59:[function(n,t){t.exports=function(n,t){if(t=t.split(":")[0],!(n=+n))return!1;switch(t){case"http":case"ws":return 80!==n;case"https":case"wss":return 443!==n;case"ftp":return 21!==n;case"gopher":return 70!==n;case"file":return!1}return 0!==n}},{}],60:[function(n,t){(function(e){(function(){var i=n("requires-port"),r=n("querystringify"),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,u=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,a=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,f=/^[a-zA-Z]:/;function l(n){return(n||"").toString().replace(o,"")}var d=[["#","hash"],["?","query"],function(n,t){return v(t.protocol)?n.replace(/\\/g,"/"):n},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],h={hash:1,query:1};function p(n){var t;t="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var i,r={},o=typeof(n=n||t.location||{});if("blob:"===n.protocol)r=new b(unescape(n.pathname),{});else if("string"===o)for(i in r=new b(n,{}),h)delete r[i];else if("object"===o){for(i in n)i in h||(r[i]=n[i]);void 0===r.slashes&&(r.slashes=s.test(n.href))}return r}function v(n){return"file:"===n||"ftp:"===n||"http:"===n||"https:"===n||"ws:"===n||"wss:"===n}function g(n,t){n=(n=l(n)).replace(u,""),t=t||{};var e,i=c.exec(n),r=i[1]?i[1].toLowerCase():"",o=!!i[2],s=!!i[3],a=0;return o?s?(e=i[2]+i[3]+i[4],a=i[2].length+i[3].length):(e=i[2]+i[4],a=i[2].length):s?(e=i[3]+i[4],a=i[3].length):e=i[4],"file:"===r?a>=2&&(e=e.slice(2)):v(r)?e=i[4]:r?o&&(e=e.slice(2)):a>=2&&v(t.protocol)&&(e=i[4]),{protocol:r,slashes:o||v(r),slashesCount:a,rest:e}}function b(n,t,e){if(n=(n=l(n)).replace(u,""),!(this instanceof b))return new b(n,t,e);var o,s,a,c,h,m,w=d.slice(),y=typeof t,x=this,k=0;for("object"!==y&&"string"!==y&&(e=t,t=null),e&&"function"!=typeof e&&(e=r.parse),o=!(s=g(n||"",t=p(t))).protocol&&!s.slashes,x.slashes=s.slashes||o&&t.slashes,x.protocol=s.protocol||t.protocol||"",n=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||f.test(n))||!s.slashes&&(s.protocol||s.slashesCount<2||!v(x.protocol)))&&(w[3]=[/(.*)/,"pathname"]);k<w.length;k++)"function"!=typeof(c=w[k])?(m=c[1],(a=c[0])!=a?x[m]=n:"string"==typeof a?~(h="@"===a?n.lastIndexOf(a):n.indexOf(a))&&("number"==typeof c[2]?(x[m]=n.slice(0,h),n=n.slice(h+c[2])):(x[m]=n.slice(h),n=n.slice(0,h))):(h=a.exec(n))&&(x[m]=h[1],n=n.slice(0,h.index)),x[m]=x[m]||o&&c[3]&&t[m]||"",c[4]&&(x[m]=x[m].toLowerCase())):n=c(n,x);e&&(x.query=e(x.query)),o&&t.slashes&&"/"!==x.pathname.charAt(0)&&(""!==x.pathname||""!==t.pathname)&&(x.pathname=function(n,t){if(""===n)return t;for(var e=(t||"/").split("/").slice(0,-1).concat(n.split("/")),i=e.length,r=e[i-1],o=!1,u=0;i--;)"."===e[i]?e.splice(i,1):".."===e[i]?(e.splice(i,1),u++):u&&(0===i&&(o=!0),e.splice(i,1),u--);return o&&e.unshift(""),"."!==r&&".."!==r||e.push(""),e.join("/")}(x.pathname,t.pathname)),"/"!==x.pathname.charAt(0)&&v(x.protocol)&&(x.pathname="/"+x.pathname),i(x.port,x.protocol)||(x.host=x.hostname,x.port=""),x.username=x.password="",x.auth&&(~(h=x.auth.indexOf(":"))?(x.username=x.auth.slice(0,h),x.username=encodeURIComponent(decodeURIComponent(x.username)),x.password=x.auth.slice(h+1),x.password=encodeURIComponent(decodeURIComponent(x.password))):x.username=encodeURIComponent(decodeURIComponent(x.auth)),x.auth=x.password?x.username+":"+x.password:x.username),x.origin="file:"!==x.protocol&&v(x.protocol)&&x.host?x.protocol+"//"+x.host:"null",x.href=x.toString()}b.prototype={set:function(n,t,e){var o=this;switch(n){case"query":"string"==typeof t&&t.length&&(t=(e||r.parse)(t)),o[n]=t;break;case"port":o[n]=t,i(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[n]="");break;case"hostname":o[n]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[n]=t,a.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!e;break;case"pathname":case"hash":if(t){var u="pathname"===n?"/":"#";o[n]=t.charAt(0)!==u?u+t:t}else o[n]=t;break;case"username":case"password":o[n]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(o.username=t.slice(0,s),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(s+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var c=0;c<d.length;c++){var f=d[c];f[4]&&(o[f[1]]=o[f[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&v(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(n){n&&"function"==typeof n||(n=r.stringify);var t,e=this,i=e.host,o=e.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var u=o+(e.protocol&&e.slashes||v(e.protocol)?"//":"");return e.username?(u+=e.username,e.password&&(u+=":"+e.password),u+="@"):e.password?(u+=":"+e.password,u+="@"):"file:"!==e.protocol&&v(e.protocol)&&!i&&"/"!==e.pathname&&(u+="@"),(":"===i[i.length-1]||a.test(e.hostname)&&!e.port)&&(i+=":"),u+=i+e.pathname,(t="object"==typeof e.query?n(e.query):e.query)&&(u+="?"!==t.charAt(0)?"?"+t:t),e.hash&&(u+=e.hash),u}},b.extractProtocol=g,b.location=p,b.trimLeft=l,b.qs=r,t.exports=b}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{querystringify:58,"requires-port":59}]},{},[1])(1),function(n){var t=function(){try{return!!Symbol.iterator}catch(n){return!1}}(),e=function(n){var e={next:function(){var t=n.shift();return{done:void 0===t,value:t}}};return t&&(e[Symbol.iterator]=function(){return e}),e},i=function(n){return encodeURIComponent(n).replace(/%20/g,"+")},r=function(n){return decodeURIComponent(String(n).replace(/\+/g," "))};(function(){try{var t=n.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(n){return!1}})()||function(){var r=function(n){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof n;if("undefined"===t);else if("string"===t)""!==n&&this._fromString(n);else if(n instanceof r){var e=this;n.forEach((function(n,t){e.append(t,n)}))}else{if(null===n||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(n))for(var i=0;i<n.length;i++){var o=n[i];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+i+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var u in n)n.hasOwnProperty(u)&&this.append(u,n[u])}},o=r.prototype;o.append=function(n,t){n in this._entries?this._entries[n].push(String(t)):this._entries[n]=[String(t)]},o.delete=function(n){delete this._entries[n]},o.get=function(n){return n in this._entries?this._entries[n][0]:null},o.getAll=function(n){return n in this._entries?this._entries[n].slice(0):[]},o.has=function(n){return n in this._entries},o.set=function(n,t){this._entries[n]=[String(t)]},o.forEach=function(n,t){var e;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){e=this._entries[i];for(var r=0;r<e.length;r++)n.call(t,e[r],i,this)}},o.keys=function(){var n=[];return this.forEach((function(t,e){n.push(e)})),e(n)},o.values=function(){var n=[];return this.forEach((function(t){n.push(t)})),e(n)},o.entries=function(){var n=[];return this.forEach((function(t,e){n.push([e,t])})),e(n)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var n=[];return this.forEach((function(t,e){n.push(i(e)+"="+i(t))})),n.join("&")},n.URLSearchParams=r}();var o=n.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var n=this,t=[];this.forEach((function(e,i){t.push([i,e]),n._entries||n.delete(i)})),t.sort((function(n,t){return n[0]<t[0]?-1:n[0]>t[0]?1:0})),n._entries&&(n._entries={});for(var e=0;e<t.length;e++)this.append(t[e][0],t[e][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(n){if(this._entries)this._entries={};else{var t=[];this.forEach((function(n,e){t.push(e)}));for(var e=0;e<t.length;e++)this.delete(t[e])}var i,o=(n=n.replace(/^\?/,"")).split("&");for(e=0;e<o.length;e++)i=o[e].split("="),this.append(r(i[0]),i.length>1?r(i[1]):"")}})}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t),function(n){if(function(){try{var t=new n.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(n){return!1}}()||function(){var t=n.URL,e=function(t,e){"string"!=typeof t&&(t=String(t)),e&&"string"!=typeof e&&(e=String(e));var i,r=document;if(e&&(void 0===n.location||e!==n.location.href)){e=e.toLowerCase(),(i=(r=document.implementation.createHTMLDocument("")).createElement("base")).href=e,r.head.appendChild(i);try{if(0!==i.href.indexOf(e))throw new Error(i.href)}catch(n){throw new Error("URL unable to set base "+e+" due to "+n)}}var o=r.createElement("a");o.href=t,i&&(r.body.appendChild(o),o.href=o.href);var u=r.createElement("input");if(u.type="url",u.value=t,":"===o.protocol||!/:/.test(o.href)||!u.checkValidity()&&!e)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new n.URLSearchParams(this.search),a=!0,c=!0,f=this;["append","delete","set"].forEach((function(n){var t=s[n];s[n]=function(){t.apply(s,arguments),a&&(c=!1,f.search=s.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var l=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==l&&(l=this.search,c&&(a=!1,this.searchParams._fromString(this.search),a=!0))}})},i=e.prototype;["hash","host","hostname","port","protocol"].forEach((function(n){!function(n){Object.defineProperty(i,n,{get:function(){return this._anchorElement[n]},set:function(t){this._anchorElement[n]=t},enumerable:!0})}(n)})),Object.defineProperty(i,"search",{get:function(){return this._anchorElement.search},set:function(n){this._anchorElement.search=n,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(i,{toString:{get:function(){var n=this;return function(){return n.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(n){this._anchorElement.href=n,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(n){this._anchorElement.pathname=n},enumerable:!0},origin:{get:function(){return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(this._anchorElement.port!={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol]&&""!==this._anchorElement.port?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(){},enumerable:!0},username:{get:function(){return""},set:function(){},enumerable:!0}}),e.createObjectURL=function(n){return t.createObjectURL.apply(t,arguments)},e.revokeObjectURL=function(n){return t.revokeObjectURL.apply(t,arguments)},n.URL=e}(),void 0!==n.location&&!("origin"in n.location)){var t=function(){return n.location.protocol+"//"+n.location.hostname+(n.location.port?":"+n.location.port:"")};try{Object.defineProperty(n.location,"origin",{get:t,enumerable:!0})}catch(e){setInterval((function(){n.location.origin=t()}),100)}}}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t);var e,i={exports:{}};
1
+ var n,t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};"undefined"!=typeof window?n=window:"undefined"!=typeof self&&(n=self),n.SockJS=function n(t,e,i){function r(u,s){if(!e[u]){if(!t[u]){var a="function"==typeof require&&require;if(!s&&a)return a(u,!0);if(o)return o(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var f=e[u]={exports:{}};t[u][0].call(f.exports,(function(n){return r(t[u][1][n]||n)}),f,f.exports,n,t,e,i)}return e[u].exports}for(var o="function"==typeof require&&require,u=0;u<i.length;u++)r(i[u]);return r}({1:[function(n,t){(function(e){(function(){var i=n("./transport-list");t.exports=n("./main")(i),"_sockjs_onload"in e&&setTimeout(e._sockjs_onload,1)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./main":14,"./transport-list":16}],2:[function(n,t){var e=n("inherits"),i=n("./event");function r(){i.call(this),this.initEvent("close",!1,!1),this.wasClean=!1,this.code=0,this.reason=""}e(r,i),t.exports=r},{"./event":4,inherits:57}],3:[function(n,t){var e=n("inherits"),i=n("./eventtarget");function r(){i.call(this)}e(r,i),r.prototype.removeAllListeners=function(n){n?delete this._listeners[n]:this._listeners={}},r.prototype.once=function(n,t){var e=this,i=!1;this.on(n,(function r(){e.removeListener(n,r),i||(i=!0,t.apply(this,arguments))}))},r.prototype.emit=function(){var n=this._listeners[arguments[0]];if(n){for(var t=arguments.length,e=new Array(t-1),i=1;i<t;i++)e[i-1]=arguments[i];for(var r=0;r<n.length;r++)n[r].apply(this,e)}},r.prototype.on=r.prototype.addListener=i.prototype.addEventListener,r.prototype.removeListener=i.prototype.removeEventListener,t.exports.EventEmitter=r},{"./eventtarget":5,inherits:57}],4:[function(n,t){function e(n){this.type=n}e.prototype.initEvent=function(n,t,e){return this.type=n,this.bubbles=t,this.cancelable=e,this.timeStamp=+new Date,this},e.prototype.stopPropagation=function(){},e.prototype.preventDefault=function(){},e.CAPTURING_PHASE=1,e.AT_TARGET=2,e.BUBBLING_PHASE=3,t.exports=e},{}],5:[function(n,t){function e(){this._listeners={}}e.prototype.addEventListener=function(n,t){n in this._listeners||(this._listeners[n]=[]);var e=this._listeners[n];-1===e.indexOf(t)&&(e=e.concat([t])),this._listeners[n]=e},e.prototype.removeEventListener=function(n,t){var e=this._listeners[n];if(e){var i=e.indexOf(t);-1===i||(e.length>1?this._listeners[n]=e.slice(0,i).concat(e.slice(i+1)):delete this._listeners[n])}},e.prototype.dispatchEvent=function(){var n=arguments[0],t=n.type,e=1===arguments.length?[n]:Array.apply(null,arguments);if(this["on"+t]&&this["on"+t].apply(this,e),t in this._listeners)for(var i=this._listeners[t],r=0;r<i.length;r++)i[r].apply(this,e)},t.exports=e},{}],6:[function(n,t){var e=n("inherits"),i=n("./event");function r(n){i.call(this),this.initEvent("message",!1,!1),this.data=n}e(r,i),t.exports=r},{"./event":4,inherits:57}],7:[function(n,t){var e=n("./utils/iframe");function i(n){this._transport=n,n.on("message",this._transportMessage.bind(this)),n.on("close",this._transportClose.bind(this))}i.prototype._transportClose=function(n,t){e.postMessage("c",JSON.stringify([n,t]))},i.prototype._transportMessage=function(n){e.postMessage("t",n)},i.prototype._send=function(n){this._transport.send(n)},i.prototype._close=function(){this._transport.close(),this._transport.removeAllListeners()},t.exports=i},{"./utils/iframe":47}],8:[function(n,t){(function(){(function(){var e=n("./utils/url"),i=n("./utils/event"),r=n("./facade"),o=n("./info-iframe-receiver"),u=n("./utils/iframe"),s=n("./location");t.exports=function(n,t){var a,c={};t.forEach((function(n){n.facadeTransport&&(c[n.facadeTransport.transportName]=n.facadeTransport)})),c[o.transportName]=o,n.bootstrap_iframe=function(){var t;u.currentWindowId=s.hash.slice(1),i.attachEvent("message",(function(i){if(i.source===parent&&(void 0===a&&(a=i.origin),i.origin===a)){var o;try{o=JSON.parse(i.data)}catch(n){return}if(o.windowId===u.currentWindowId)switch(o.type){case"s":var f;try{f=JSON.parse(o.data)}catch(n){break}var l=f[0],d=f[1],h=f[2],p=f[3];if(l!==n.version)throw new Error('Incompatible SockJS! Main site uses: "'+l+'", the iframe: "'+n.version+'".');if(!e.isOriginEqual(h,s.href)||!e.isOriginEqual(p,s.href))throw new Error("Can't connect to different domain from within an iframe. ("+s.href+", "+h+", "+p+")");t=new r(new c[d](h,p));break;case"m":t._send(o.data);break;case"c":t&&t._close(),t=null}}})),u.postMessage("s")}}}).call(this)}).call(this,{env:{}})},{"./facade":7,"./info-iframe-receiver":10,"./location":13,"./utils/event":46,"./utils/iframe":47,"./utils/url":52,debug:55}],9:[function(n,t){(function(){(function(){var e=n("events").EventEmitter,i=n("inherits"),r=n("./utils/object");function o(n,t){e.call(this);var i=this,o=+new Date;this.xo=new t("GET",n),this.xo.once("finish",(function(n,t){var e,u;if(200===n){if(u=+new Date-o,t)try{e=JSON.parse(t)}catch(n){}r.isObject(e)||(e={})}i.emit("finish",e,u),i.removeAllListeners()}))}i(o,e),o.prototype.close=function(){this.removeAllListeners(),this.xo.close()},t.exports=o}).call(this)}).call(this,{env:{}})},{"./utils/object":49,debug:55,events:3,inherits:57}],10:[function(n,t){var e=n("inherits"),i=n("events").EventEmitter,r=n("./transport/sender/xhr-local"),o=n("./info-ajax");function u(n){var t=this;i.call(this),this.ir=new o(n,r),this.ir.once("finish",(function(n,e){t.ir=null,t.emit("message",JSON.stringify([n,e]))}))}e(u,i),u.transportName="iframe-info-receiver",u.prototype.close=function(){this.ir&&(this.ir.close(),this.ir=null),this.removeAllListeners()},t.exports=u},{"./info-ajax":9,"./transport/sender/xhr-local":37,events:3,inherits:57}],11:[function(n,t){(function(e,i){(function(){var e=n("events").EventEmitter,r=n("inherits"),o=n("./utils/event"),u=n("./transport/iframe"),s=n("./info-iframe-receiver");function a(n,t){var r=this;e.call(this);var a=function(){var e=r.ifr=new u(s.transportName,t,n);e.once("message",(function(n){if(n){var t;try{t=JSON.parse(n)}catch(n){return r.emit("finish"),void r.close()}r.emit("finish",t[0],t[1])}r.close()})),e.once("close",(function(){r.emit("finish"),r.close()}))};i.document.body?a():o.attachEvent("load",a)}r(a,e),a.enabled=function(){return u.enabled()},a.prototype.close=function(){this.ifr&&this.ifr.close(),this.removeAllListeners(),this.ifr=null},t.exports=a}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./info-iframe-receiver":10,"./transport/iframe":22,"./utils/event":46,debug:55,events:3,inherits:57}],12:[function(n,t){(function(){(function(){var e=n("events").EventEmitter,i=n("inherits"),r=n("./utils/url"),o=n("./transport/sender/xdr"),u=n("./transport/sender/xhr-cors"),s=n("./transport/sender/xhr-local"),a=n("./transport/sender/xhr-fake"),c=n("./info-iframe"),f=n("./info-ajax");function l(n,t){var i=this;e.call(this),setTimeout((function(){i.doXhr(n,t)}),0)}i(l,e),l._getReceiver=function(n,t,e){return e.sameOrigin?new f(t,s):u.enabled?new f(t,u):o.enabled&&e.sameScheme?new f(t,o):c.enabled()?new c(n,t):new f(t,a)},l.prototype.doXhr=function(n,t){var e=this,i=r.addPath(n,"/info");this.xo=l._getReceiver(n,i,t),this.timeoutRef=setTimeout((function(){e._cleanup(!1),e.emit("finish")}),l.timeout),this.xo.once("finish",(function(n,t){e._cleanup(!0),e.emit("finish",n,t)}))},l.prototype._cleanup=function(n){clearTimeout(this.timeoutRef),this.timeoutRef=null,!n&&this.xo&&this.xo.close(),this.xo=null},l.prototype.close=function(){this.removeAllListeners(),this._cleanup(!1)},l.timeout=8e3,t.exports=l}).call(this)}).call(this,{env:{}})},{"./info-ajax":9,"./info-iframe":11,"./transport/sender/xdr":34,"./transport/sender/xhr-cors":35,"./transport/sender/xhr-fake":36,"./transport/sender/xhr-local":37,"./utils/url":52,debug:55,events:3,inherits:57}],13:[function(n,t){(function(n){(function(){t.exports=n.location||{origin:"http://localhost:80",protocol:"http:",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],14:[function(n,t){(function(e,i){(function(){n("./shims");var e,r=n("url-parse"),o=n("inherits"),u=n("./utils/random"),s=n("./utils/escape"),a=n("./utils/url"),c=n("./utils/event"),f=n("./utils/transport"),l=n("./utils/object"),d=n("./utils/browser"),h=n("./utils/log"),p=n("./event/event"),v=n("./event/eventtarget"),g=n("./location"),b=n("./event/close"),m=n("./event/trans-message"),w=n("./info-receiver");function y(n,t,e){if(!(this instanceof y))return new y(n,t,e);if(arguments.length<1)throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present");v.call(this),this.readyState=y.CONNECTING,this.extensions="",this.protocol="",(e=e||{}).protocols_whitelist&&h.warn("'protocols_whitelist' is DEPRECATED. Use 'transports' instead."),this._transportsWhitelist=e.transports,this._transportOptions=e.transportOptions||{},this._timeout=e.timeout||0;var i=e.sessionId||8;if("function"==typeof i)this._generateSessionId=i;else{if("number"!=typeof i)throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.");this._generateSessionId=function(){return u.string(i)}}this._server=e.server||u.numberString(1e3);var o=new r(n);if(!o.host||!o.protocol)throw new SyntaxError("The URL '"+n+"' is invalid");if(o.hash)throw new SyntaxError("The URL must not contain a fragment");if("http:"!==o.protocol&&"https:"!==o.protocol)throw new SyntaxError("The URL's scheme must be either 'http:' or 'https:'. '"+o.protocol+"' is not allowed.");if("https:"===g.protocol&&"https:"!==o.protocol&&!a.isLoopbackAddr(o.hostname))throw new Error("SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS");t?Array.isArray(t)||(t=[t]):t=[];var s=t.sort();s.forEach((function(n,t){if(!n)throw new SyntaxError("The protocols entry '"+n+"' is invalid.");if(t<s.length-1&&n===s[t+1])throw new SyntaxError("The protocols entry '"+n+"' is duplicated.")}));var c=a.getOrigin(g.href);this._origin=c?c.toLowerCase():null,o.set("pathname",o.pathname.replace(/\/+$/,"")),this.url=o.href,this._urlInfo={nullOrigin:!d.hasDomain(),sameOrigin:a.isOriginEqual(this.url,g.href),sameScheme:a.isSchemeEqual(this.url,g.href)},this._ir=new w(this.url,this._urlInfo),this._ir.once("finish",this._receiveInfo.bind(this))}function x(n){return 1e3===n||n>=3e3&&n<=4999}o(y,v),y.prototype.close=function(n,t){if(n&&!x(n))throw new Error("InvalidAccessError: Invalid code");if(t&&t.length>123)throw new SyntaxError("reason argument has an invalid length");this.readyState!==y.CLOSING&&this.readyState!==y.CLOSED&&this._close(n||1e3,t||"Normal closure",!0)},y.prototype.send=function(n){if("string"!=typeof n&&(n=""+n),this.readyState===y.CONNECTING)throw new Error("InvalidStateError: The connection has not been established yet");this.readyState===y.OPEN&&this._transport.send(s.quote(n))},y.version=n("./version"),y.CONNECTING=0,y.OPEN=1,y.CLOSING=2,y.CLOSED=3,y.prototype._receiveInfo=function(n,t){if(this._ir=null,n){this._rto=this.countRTO(t),this._transUrl=n.base_url?n.base_url:this.url,n=l.extend(n,this._urlInfo);var i=e.filterToEnabled(this._transportsWhitelist,n);this._transports=i.main,this._connect()}else this._close(1002,"Cannot connect to server")},y.prototype._connect=function(){for(var n=this._transports.shift();n;n=this._transports.shift()){if(n.needBody&&(!i.document.body||void 0!==i.document.readyState&&"complete"!==i.document.readyState&&"interactive"!==i.document.readyState))return this._transports.unshift(n),void c.attachEvent("load",this._connect.bind(this));var t=Math.max(this._timeout,this._rto*n.roundTrips||5e3);this._transportTimeoutId=setTimeout(this._transportTimeout.bind(this),t);var e=new n(a.addPath(this._transUrl,"/"+this._server+"/"+this._generateSessionId()),this._transUrl,this._transportOptions[n.transportName]);return e.on("message",this._transportMessage.bind(this)),e.once("close",this._transportClose.bind(this)),e.transportName=n.transportName,void(this._transport=e)}this._close(2e3,"All transports failed",!1)},y.prototype._transportTimeout=function(){this.readyState===y.CONNECTING&&(this._transport&&this._transport.close(),this._transportClose(2007,"Transport timed out"))},y.prototype._transportMessage=function(n){var t,e=this,i=n.slice(0,1),r=n.slice(1);switch(i){case"o":return void this._open();case"h":return void this.dispatchEvent(new p("heartbeat"))}if(r)try{t=JSON.parse(r)}catch(n){}if(void 0!==t)switch(i){case"a":Array.isArray(t)&&t.forEach((function(n){e.dispatchEvent(new m(n))}));break;case"m":this.dispatchEvent(new m(t));break;case"c":Array.isArray(t)&&2===t.length&&this._close(t[0],t[1],!0)}},y.prototype._transportClose=function(n,t){this._transport&&(this._transport.removeAllListeners(),this._transport=null,this.transport=null),x(n)||2e3===n||this.readyState!==y.CONNECTING?this._close(n,t):this._connect()},y.prototype._open=function(){this.readyState===y.CONNECTING?(this._transportTimeoutId&&(clearTimeout(this._transportTimeoutId),this._transportTimeoutId=null),this.readyState=y.OPEN,this.transport=this._transport.transportName,this.dispatchEvent(new p("open"))):this._close(1006,"Server lost session")},y.prototype._close=function(n,t,e){var i=!1;if(this._ir&&(i=!0,this._ir.close(),this._ir=null),this._transport&&(this._transport.close(),this._transport=null,this.transport=null),this.readyState===y.CLOSED)throw new Error("InvalidStateError: SockJS has already been closed");this.readyState=y.CLOSING,setTimeout(function(){this.readyState=y.CLOSED,i&&this.dispatchEvent(new p("error"));var r=new b("close");r.wasClean=e||!1,r.code=n||1e3,r.reason=t,this.dispatchEvent(r),this.onmessage=this.onclose=this.onerror=null}.bind(this),0)},y.prototype.countRTO=function(n){return n>100?4*n:300+n},t.exports=function(t){return e=f(t),n("./iframe-bootstrap")(y,t),y}}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./event/close":2,"./event/event":4,"./event/eventtarget":5,"./event/trans-message":6,"./iframe-bootstrap":8,"./info-receiver":12,"./location":13,"./shims":15,"./utils/browser":44,"./utils/escape":45,"./utils/event":46,"./utils/log":48,"./utils/object":49,"./utils/random":50,"./utils/transport":51,"./utils/url":52,"./version":53,debug:55,inherits:57,"url-parse":60}],15:[function(){var n,t=Array.prototype,e=Object.prototype,i=Function.prototype,r=String.prototype,o=t.slice,u=e.toString,s=function(n){return"[object Function]"===e.toString.call(n)},a=function(n){return"[object String]"===u.call(n)},c=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(n){return!1}}();n=c?function(n,t,e,i){!i&&t in n||Object.defineProperty(n,t,{configurable:!0,enumerable:!1,writable:!0,value:e})}:function(n,t,e,i){!i&&t in n||(n[t]=e)};var f=function(t,i,r){for(var o in i)e.hasOwnProperty.call(i,o)&&n(t,o,i[o],r)},l=function(n){if(null==n)throw new TypeError("can't convert "+n+" to object");return Object(n)};function d(){}f(i,{bind:function(n){var t=this;if(!s(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var e=o.call(arguments,1),i=Math.max(0,t.length-e.length),r=[],u=0;u<i;u++)r.push("$"+u);var a=Function("binder","return function ("+r.join(",")+"){ return binder.apply(this, arguments); }")((function(){if(this instanceof a){var i=t.apply(this,e.concat(o.call(arguments)));return Object(i)===i?i:this}return t.apply(n,e.concat(o.call(arguments)))}));return t.prototype&&(d.prototype=t.prototype,a.prototype=new d,d.prototype=null),a}}),f(Array,{isArray:function(n){return"[object Array]"===u.call(n)}});var h,p,v,g=Object("a"),b="a"!==g[0]||!(0 in g);f(t,{forEach:function(n){var t=l(this),e=b&&a(this)?this.split(""):t,i=arguments[1],r=-1,o=e.length>>>0;if(!s(n))throw new TypeError;for(;++r<o;)r in e&&n.call(i,e[r],r,t)}},(p=!0,v=!0,(h=t.forEach)&&(h.call("foo",(function(n,t,e){"object"!=typeof e&&(p=!1)})),h.call([1],(function(){v="string"==typeof this}),"x")),!(h&&p&&v)));var m=Array.prototype.indexOf&&-1!==[0,1].indexOf(1,2);f(t,{indexOf:function(n){var t=b&&a(this)?this.split(""):l(this),e=t.length>>>0;if(!e)return-1;var i,r=0;for(arguments.length>1&&(i=void 0,(i=+arguments[1])!=i?i=0:0!==i&&i!==1/0&&i!==-1/0&&(i=(i>0||-1)*Math.floor(Math.abs(i))),r=i),r=r>=0?r:Math.max(0,e+r);r<e;r++)if(r in t&&t[r]===n)return r;return-1}},m);var w,y=r.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?(w=void 0===/()??/.exec("")[1],r.split=function(n,e){var i=this;if(void 0===n&&0===e)return[];if("[object RegExp]"!==u.call(n))return y.call(this,n,e);var r,o,s,a,c=[],f=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.extended?"x":"")+(n.sticky?"y":""),l=0;for(n=new RegExp(n.source,f+"g"),i+="",w||(r=new RegExp("^"+n.source+"$(?!\\s)",f)),e=void 0===e?-1>>>0:e>>>0;(o=n.exec(i))&&!((s=o.index+o[0].length)>l&&(c.push(i.slice(l,o.index)),!w&&o.length>1&&o[0].replace(r,(function(){for(var n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(o[n]=void 0)})),o.length>1&&o.index<i.length&&t.push.apply(c,o.slice(1)),a=o[0].length,l=s,c.length>=e));)n.lastIndex===o.index&&n.lastIndex++;return l===i.length?!a&&n.test("")||c.push(""):c.push(i.slice(l)),c.length>e?c.slice(0,e):c}):"0".split(void 0,0).length&&(r.split=function(n,t){return void 0===n&&0===t?[]:y.call(this,n,t)});var x=r.substr;f(r,{substr:function(n,t){return x.call(this,n<0&&(n=this.length+n)<0?0:n,t)}},"".substr&&"b"!=="0b".substr(-1))},{}],16:[function(n,t){t.exports=[n("./transport/websocket"),n("./transport/xhr-streaming"),n("./transport/xdr-streaming"),n("./transport/eventsource"),n("./transport/lib/iframe-wrap")(n("./transport/eventsource")),n("./transport/htmlfile"),n("./transport/lib/iframe-wrap")(n("./transport/htmlfile")),n("./transport/xhr-polling"),n("./transport/xdr-polling"),n("./transport/lib/iframe-wrap")(n("./transport/xhr-polling")),n("./transport/jsonp-polling")]},{"./transport/eventsource":20,"./transport/htmlfile":21,"./transport/jsonp-polling":23,"./transport/lib/iframe-wrap":26,"./transport/websocket":38,"./transport/xdr-polling":39,"./transport/xdr-streaming":40,"./transport/xhr-polling":41,"./transport/xhr-streaming":42}],17:[function(n,t){(function(e,i){(function(){var e=n("events").EventEmitter,r=n("inherits"),o=n("../../utils/event"),u=n("../../utils/url"),s=i.XMLHttpRequest;function a(n,t,i,r){var o=this;e.call(this),setTimeout((function(){o._start(n,t,i,r)}),0)}r(a,e),a.prototype._start=function(n,t,e,i){var r=this;try{this.xhr=new s}catch(n){}if(!this.xhr)return this.emit("finish",0,"no xhr support"),void this._cleanup();t=u.addQuery(t,"t="+ +new Date),this.unloadRef=o.unloadAdd((function(){r._cleanup(!0)}));try{this.xhr.open(n,t,!0),this.timeout&&"timeout"in this.xhr&&(this.xhr.timeout=this.timeout,this.xhr.ontimeout=function(){r.emit("finish",0,""),r._cleanup(!1)})}catch(n){return this.emit("finish",0,""),void this._cleanup(!1)}if(i&&i.noCredentials||!a.supportsCORS||(this.xhr.withCredentials=!0),i&&i.headers)for(var c in i.headers)this.xhr.setRequestHeader(c,i.headers[c]);this.xhr.onreadystatechange=function(){if(r.xhr){var n,t,e=r.xhr;switch(e.readyState){case 3:try{t=e.status,n=e.responseText}catch(n){}1223===t&&(t=204),200===t&&n&&n.length>0&&r.emit("chunk",t,n);break;case 4:1223===(t=e.status)&&(t=204),12005!==t&&12029!==t||(t=0),r.emit("finish",t,e.responseText),r._cleanup(!1)}}};try{r.xhr.send(e)}catch(n){r.emit("finish",0,""),r._cleanup(!1)}},a.prototype._cleanup=function(n){if(this.xhr){if(this.removeAllListeners(),o.unloadDel(this.unloadRef),this.xhr.onreadystatechange=function(){},this.xhr.ontimeout&&(this.xhr.ontimeout=null),n)try{this.xhr.abort()}catch(n){}this.unloadRef=this.xhr=null}},a.prototype.close=function(){this._cleanup(!0)},a.enabled=!!s;var c=["Active"].concat("Object").join("X");!a.enabled&&c in i&&(a.enabled=!!new(s=function(){try{return new i[c]("Microsoft.XMLHTTP")}catch(n){return null}}));var f=!1;try{f="withCredentials"in new s}catch(n){}a.supportsCORS=f,t.exports=a}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/event":46,"../../utils/url":52,debug:55,events:3,inherits:57}],18:[function(n,t){(function(n){(function(){t.exports=n.EventSource}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],19:[function(n,t){(function(n){(function(){var e=n.WebSocket||n.MozWebSocket;t.exports=e?function(n){return new e(n)}:void 0}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],20:[function(n,t){var e=n("inherits"),i=n("./lib/ajax-based"),r=n("./receiver/eventsource"),o=n("./sender/xhr-cors"),u=n("eventsource");function s(n){if(!s.enabled())throw new Error("Transport created when disabled");i.call(this,n,"/eventsource",r,o)}e(s,i),s.enabled=function(){return!!u},s.transportName="eventsource",s.roundTrips=2,t.exports=s},{"./lib/ajax-based":24,"./receiver/eventsource":29,"./sender/xhr-cors":35,eventsource:18,inherits:57}],21:[function(n,t){var e=n("inherits"),i=n("./receiver/htmlfile"),r=n("./sender/xhr-local"),o=n("./lib/ajax-based");function u(n){if(!i.enabled)throw new Error("Transport created when disabled");o.call(this,n,"/htmlfile",i,r)}e(u,o),u.enabled=function(n){return i.enabled&&n.sameOrigin},u.transportName="htmlfile",u.roundTrips=2,t.exports=u},{"./lib/ajax-based":24,"./receiver/htmlfile":30,"./sender/xhr-local":37,inherits:57}],22:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter,r=n("../version"),o=n("../utils/url"),u=n("../utils/iframe"),s=n("../utils/event"),a=n("../utils/random");function c(n,t,e){if(!c.enabled())throw new Error("Transport created when disabled");i.call(this);var r=this;this.origin=o.getOrigin(e),this.baseUrl=e,this.transUrl=t,this.transport=n,this.windowId=a.string(8);var f=o.addPath(e,"/iframe.html")+"#"+this.windowId;this.iframeObj=u.createIframe(f,(function(n){r.emit("close",1006,"Unable to load an iframe ("+n+")"),r.close()})),this.onmessageCallback=this._message.bind(this),s.attachEvent("message",this.onmessageCallback)}e(c,i),c.prototype.close=function(){if(this.removeAllListeners(),this.iframeObj){s.detachEvent("message",this.onmessageCallback);try{this.postMessage("c")}catch(n){}this.iframeObj.cleanup(),this.iframeObj=null,this.onmessageCallback=this.iframeObj=null}},c.prototype._message=function(n){if(o.isOriginEqual(n.origin,this.origin)){var t;try{t=JSON.parse(n.data)}catch(n){return}if(t.windowId===this.windowId)switch(t.type){case"s":this.iframeObj.loaded(),this.postMessage("s",JSON.stringify([r,this.transport,this.transUrl,this.baseUrl]));break;case"t":this.emit("message",t.data);break;case"c":var e;try{e=JSON.parse(t.data)}catch(n){return}this.emit("close",e[0],e[1]),this.close()}}},c.prototype.postMessage=function(n,t){this.iframeObj.post(JSON.stringify({windowId:this.windowId,type:n,data:t||""}),this.origin)},c.prototype.send=function(n){this.postMessage("m",n)},c.enabled=function(){return u.iframeEnabled},c.transportName="iframe",c.roundTrips=2,t.exports=c}).call(this)}).call(this,{env:{}})},{"../utils/event":46,"../utils/iframe":47,"../utils/random":50,"../utils/url":52,"../version":53,debug:55,events:3,inherits:57}],23:[function(n,t){(function(e){(function(){var i=n("inherits"),r=n("./lib/sender-receiver"),o=n("./receiver/jsonp"),u=n("./sender/jsonp");function s(n){if(!s.enabled())throw new Error("Transport created when disabled");r.call(this,n,"/jsonp",u,o)}i(s,r),s.enabled=function(){return!!e.document},s.transportName="jsonp-polling",s.roundTrips=1,s.needBody=!0,t.exports=s}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/sender-receiver":28,"./receiver/jsonp":31,"./sender/jsonp":33,inherits:57}],24:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("../../utils/url"),r=n("./sender-receiver");function o(n,t,e,o){r.call(this,n,t,function(n){return function(t,e,r){var o={};"string"==typeof e&&(o.headers={"Content-type":"text/plain"});var u=i.addPath(t,"/xhr_send"),s=new n("POST",u,e,o);return s.once("finish",(function(n){if(s=null,200!==n&&204!==n)return r(new Error("http status "+n));r()})),function(){s.close(),s=null;var n=new Error("Aborted");n.code=1e3,r(n)}}}(o),e,o)}e(o,r),t.exports=o}).call(this)}).call(this,{env:{}})},{"../../utils/url":52,"./sender-receiver":28,debug:55,inherits:57}],25:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter;function r(n,t){i.call(this),this.sendBuffer=[],this.sender=t,this.url=n}e(r,i),r.prototype.send=function(n){this.sendBuffer.push(n),this.sendStop||this.sendSchedule()},r.prototype.sendScheduleWait=function(){var n,t=this;this.sendStop=function(){t.sendStop=null,clearTimeout(n)},n=setTimeout((function(){t.sendStop=null,t.sendSchedule()}),25)},r.prototype.sendSchedule=function(){var n=this;if(this.sendBuffer.length>0){var t="["+this.sendBuffer.join(",")+"]";this.sendStop=this.sender(this.url,t,(function(t){n.sendStop=null,t?(n.emit("close",t.code||1006,"Sending error: "+t),n.close()):n.sendScheduleWait()})),this.sendBuffer=[]}},r.prototype._cleanup=function(){this.removeAllListeners()},r.prototype.close=function(){this._cleanup(),this.sendStop&&(this.sendStop(),this.sendStop=null)},t.exports=r}).call(this)}).call(this,{env:{}})},{debug:55,events:3,inherits:57}],26:[function(n,t){(function(e){(function(){var i=n("inherits"),r=n("../iframe"),o=n("../../utils/object");t.exports=function(n){function t(t,e){r.call(this,n.transportName,t,e)}return i(t,r),t.enabled=function(t,i){if(!e.document)return!1;var u=o.extend({},i);return u.sameOrigin=!0,n.enabled(u)&&r.enabled()},t.transportName="iframe-"+n.transportName,t.needBody=!0,t.roundTrips=r.roundTrips+n.roundTrips-1,t.facadeTransport=n,t}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/object":49,"../iframe":22,inherits:57}],27:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter;function r(n,t,e){i.call(this),this.Receiver=n,this.receiveUrl=t,this.AjaxObject=e,this._scheduleReceiver()}e(r,i),r.prototype._scheduleReceiver=function(){var n=this,t=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);t.on("message",(function(t){n.emit("message",t)})),t.once("close",(function(e,i){n.poll=t=null,n.pollIsClosing||("network"===i?n._scheduleReceiver():(n.emit("close",e||1006,i),n.removeAllListeners()))}))},r.prototype.abort=function(){this.removeAllListeners(),this.pollIsClosing=!0,this.poll&&this.poll.abort()},t.exports=r}).call(this)}).call(this,{env:{}})},{debug:55,events:3,inherits:57}],28:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("../../utils/url"),r=n("./buffered-sender"),o=n("./polling");function u(n,t,e,u,s){var a=i.addPath(n,t),c=this;r.call(this,n,e),this.poll=new o(u,a,s),this.poll.on("message",(function(n){c.emit("message",n)})),this.poll.once("close",(function(n,t){c.poll=null,c.emit("close",n,t),c.close()}))}e(u,r),u.prototype.close=function(){r.prototype.close.call(this),this.removeAllListeners(),this.poll&&(this.poll.abort(),this.poll=null)},t.exports=u}).call(this)}).call(this,{env:{}})},{"../../utils/url":52,"./buffered-sender":25,"./polling":27,debug:55,inherits:57}],29:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter,r=n("eventsource");function o(n){i.call(this);var t=this,e=this.es=new r(n);e.onmessage=function(n){t.emit("message",decodeURI(n.data))},e.onerror=function(){var n=2!==e.readyState?"network":"permanent";t._cleanup(),t._close(n)}}e(o,i),o.prototype.abort=function(){this._cleanup(),this._close("user")},o.prototype._cleanup=function(){var n=this.es;n&&(n.onmessage=n.onerror=null,n.close(),this.es=null)},o.prototype._close=function(n){var t=this;setTimeout((function(){t.emit("close",null,n),t.removeAllListeners()}),200)},t.exports=o}).call(this)}).call(this,{env:{}})},{debug:55,events:3,eventsource:18,inherits:57}],30:[function(n,t){(function(e,i){(function(){var e=n("inherits"),r=n("../../utils/iframe"),o=n("../../utils/url"),u=n("events").EventEmitter,s=n("../../utils/random");function a(n){u.call(this);var t=this;r.polluteGlobalNamespace(),this.id="a"+s.string(6),n=o.addQuery(n,"c="+decodeURIComponent(r.WPrefix+"."+this.id));var e=a.htmlfileEnabled?r.createHtmlfile:r.createIframe;i[r.WPrefix][this.id]={start:function(){t.iframeObj.loaded()},message:function(n){t.emit("message",n)},stop:function(){t._cleanup(),t._close("network")}},this.iframeObj=e(n,(function(){t._cleanup(),t._close("permanent")}))}e(a,u),a.prototype.abort=function(){this._cleanup(),this._close("user")},a.prototype._cleanup=function(){this.iframeObj&&(this.iframeObj.cleanup(),this.iframeObj=null),delete i[r.WPrefix][this.id]},a.prototype._close=function(n){this.emit("close",null,n),this.removeAllListeners()},a.htmlfileEnabled=!1;var c=["Active"].concat("Object").join("X");if(c in i)try{a.htmlfileEnabled=!!new i[c]("htmlfile")}catch(n){}a.enabled=a.htmlfileEnabled||r.iframeEnabled,t.exports=a}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:55,events:3,inherits:57}],31:[function(n,t){(function(e,i){(function(){var e=n("../../utils/iframe"),r=n("../../utils/random"),o=n("../../utils/browser"),u=n("../../utils/url"),s=n("inherits"),a=n("events").EventEmitter;function c(n){var t=this;a.call(this),e.polluteGlobalNamespace(),this.id="a"+r.string(6);var o=u.addQuery(n,"c="+encodeURIComponent(e.WPrefix+"."+this.id));i[e.WPrefix][this.id]=this._callback.bind(this),this._createScript(o),this.timeoutId=setTimeout((function(){t._abort(new Error("JSONP script loaded abnormally (timeout)"))}),c.timeout)}s(c,a),c.prototype.abort=function(){if(i[e.WPrefix][this.id]){var n=new Error("JSONP user aborted read");n.code=1e3,this._abort(n)}},c.timeout=35e3,c.scriptErrorTimeout=1e3,c.prototype._callback=function(n){this._cleanup(),this.aborting||(n&&this.emit("message",n),this.emit("close",null,"network"),this.removeAllListeners())},c.prototype._abort=function(n){this._cleanup(),this.aborting=!0,this.emit("close",n.code,n.message),this.removeAllListeners()},c.prototype._cleanup=function(){if(clearTimeout(this.timeoutId),this.script2&&(this.script2.parentNode.removeChild(this.script2),this.script2=null),this.script){var n=this.script;n.parentNode.removeChild(n),n.onreadystatechange=n.onerror=n.onload=n.onclick=null,this.script=null}delete i[e.WPrefix][this.id]},c.prototype._scriptError=function(){var n=this;this.errorTimer||(this.errorTimer=setTimeout((function(){n.loadedOkay||n._abort(new Error("JSONP script loaded abnormally (onerror)"))}),c.scriptErrorTimeout))},c.prototype._createScript=function(n){var t,e=this,u=this.script=i.document.createElement("script");if(u.id="a"+r.string(8),u.src=n,u.type="text/javascript",u.charset="UTF-8",u.onerror=this._scriptError.bind(this),u.onload=function(){e._abort(new Error("JSONP script loaded abnormally (onload)"))},u.onreadystatechange=function(){if(/loaded|closed/.test(u.readyState)){if(u&&u.htmlFor&&u.onclick){e.loadedOkay=!0;try{u.onclick()}catch(n){}}u&&e._abort(new Error("JSONP script loaded abnormally (onreadystatechange)"))}},void 0===u.async&&i.document.attachEvent)if(o.isOpera())(t=this.script2=i.document.createElement("script")).text="try{var a = document.getElementById('"+u.id+"'); if(a)a.onerror();}catch(x){};",u.async=t.async=!1;else{try{u.htmlFor=u.id,u.event="onclick"}catch(n){}u.async=!0}void 0!==u.async&&(u.async=!0);var s=i.document.getElementsByTagName("head")[0];s.insertBefore(u,s.firstChild),t&&s.insertBefore(t,s.firstChild)},t.exports=c}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/browser":44,"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:55,events:3,inherits:57}],32:[function(n,t){(function(){(function(){var e=n("inherits"),i=n("events").EventEmitter;function r(n,t){i.call(this);var e=this;this.bufferPosition=0,this.xo=new t("POST",n,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",(function(n,t){e._chunkHandler(n,t),e.xo=null,e.emit("close",null,200===n?"network":"permanent"),e._cleanup()}))}e(r,i),r.prototype._chunkHandler=function(n,t){if(200===n&&t)for(var e=-1;;this.bufferPosition+=e+1){var i=t.slice(this.bufferPosition);if(-1===(e=i.indexOf("\n")))break;var r=i.slice(0,e);r&&this.emit("message",r)}},r.prototype._cleanup=function(){this.removeAllListeners()},r.prototype.abort=function(){this.xo&&(this.xo.close(),this.emit("close",null,"user"),this.xo=null),this._cleanup()},t.exports=r}).call(this)}).call(this,{env:{}})},{debug:55,events:3,inherits:57}],33:[function(n,t){(function(e,i){(function(){var e,r,o=n("../../utils/random"),u=n("../../utils/url");t.exports=function(n,t,s){e||((e=i.document.createElement("form")).style.display="none",e.style.position="absolute",e.method="POST",e.enctype="application/x-www-form-urlencoded",e.acceptCharset="UTF-8",(r=i.document.createElement("textarea")).name="d",e.appendChild(r),i.document.body.appendChild(e));var a="a"+o.string(8);e.target=a,e.action=u.addQuery(u.addPath(n,"/jsonp_send"),"i="+a);var c=function(n){try{return i.document.createElement('<iframe name="'+n+'">')}catch(e){var t=i.document.createElement("iframe");return t.name=n,t}}(a);c.id=a,c.style.display="none",e.appendChild(c);try{r.value=t}catch(n){}e.submit();var f=function(n){c.onerror&&(c.onreadystatechange=c.onerror=c.onload=null,setTimeout((function(){c.parentNode.removeChild(c),c=null}),500),r.value="",s(n))};return c.onerror=function(){f()},c.onload=function(){f()},c.onreadystatechange=function(){"complete"===c.readyState&&f()},function(){f(new Error("Aborted"))}}}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/random":50,"../../utils/url":52,debug:55}],34:[function(n,t){(function(e,i){(function(){var e=n("events").EventEmitter,r=n("inherits"),o=n("../../utils/event"),u=n("../../utils/browser"),s=n("../../utils/url");function a(n,t,i){var r=this;e.call(this),setTimeout((function(){r._start(n,t,i)}),0)}r(a,e),a.prototype._start=function(n,t,e){var r=this,u=new i.XDomainRequest;t=s.addQuery(t,"t="+ +new Date),u.onerror=function(){r._error()},u.ontimeout=function(){r._error()},u.onprogress=function(){r.emit("chunk",200,u.responseText)},u.onload=function(){r.emit("finish",200,u.responseText),r._cleanup(!1)},this.xdr=u,this.unloadRef=o.unloadAdd((function(){r._cleanup(!0)}));try{this.xdr.open(n,t),this.timeout&&(this.xdr.timeout=this.timeout),this.xdr.send(e)}catch(n){this._error()}},a.prototype._error=function(){this.emit("finish",0,""),this._cleanup(!1)},a.prototype._cleanup=function(n){if(this.xdr){if(this.removeAllListeners(),o.unloadDel(this.unloadRef),this.xdr.ontimeout=this.xdr.onerror=this.xdr.onprogress=this.xdr.onload=null,n)try{this.xdr.abort()}catch(n){}this.unloadRef=this.xdr=null}},a.prototype.close=function(){this._cleanup(!0)},a.enabled=!(!i.XDomainRequest||!u.hasDomain()),t.exports=a}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/browser":44,"../../utils/event":46,"../../utils/url":52,debug:55,events:3,inherits:57}],35:[function(n,t){var e=n("inherits"),i=n("../driver/xhr");function r(n,t,e,r){i.call(this,n,t,e,r)}e(r,i),r.enabled=i.enabled&&i.supportsCORS,t.exports=r},{"../driver/xhr":17,inherits:57}],36:[function(n,t){var e=n("events").EventEmitter;function i(){var n=this;e.call(this),this.to=setTimeout((function(){n.emit("finish",200,"{}")}),i.timeout)}n("inherits")(i,e),i.prototype.close=function(){clearTimeout(this.to)},i.timeout=2e3,t.exports=i},{events:3,inherits:57}],37:[function(n,t){var e=n("inherits"),i=n("../driver/xhr");function r(n,t,e){i.call(this,n,t,e,{noCredentials:!0})}e(r,i),r.enabled=i.enabled,t.exports=r},{"../driver/xhr":17,inherits:57}],38:[function(n,t){(function(){(function(){var e=n("../utils/event"),i=n("../utils/url"),r=n("inherits"),o=n("events").EventEmitter,u=n("./driver/websocket");function s(n,t,r){if(!s.enabled())throw new Error("Transport created when disabled");o.call(this);var a=this,c=i.addPath(n,"/websocket");c="https"===c.slice(0,5)?"wss"+c.slice(5):"ws"+c.slice(4),this.url=c,this.ws=new u(this.url,[],r),this.ws.onmessage=function(n){a.emit("message",n.data)},this.unloadRef=e.unloadAdd((function(){a.ws.close()})),this.ws.onclose=function(n){a.emit("close",n.code,n.reason),a._cleanup()},this.ws.onerror=function(){a.emit("close",1006,"WebSocket connection broken"),a._cleanup()}}r(s,o),s.prototype.send=function(n){this.ws.send("["+n+"]")},s.prototype.close=function(){var n=this.ws;this._cleanup(),n&&n.close()},s.prototype._cleanup=function(){var n=this.ws;n&&(n.onmessage=n.onclose=n.onerror=null),e.unloadDel(this.unloadRef),this.unloadRef=this.ws=null,this.removeAllListeners()},s.enabled=function(){return!!u},s.transportName="websocket",s.roundTrips=2,t.exports=s}).call(this)}).call(this,{env:{}})},{"../utils/event":46,"../utils/url":52,"./driver/websocket":19,debug:55,events:3,inherits:57}],39:[function(n,t){var e=n("inherits"),i=n("./lib/ajax-based"),r=n("./xdr-streaming"),o=n("./receiver/xhr"),u=n("./sender/xdr");function s(n){if(!u.enabled)throw new Error("Transport created when disabled");i.call(this,n,"/xhr",o,u)}e(s,i),s.enabled=r.enabled,s.transportName="xdr-polling",s.roundTrips=2,t.exports=s},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,"./xdr-streaming":40,inherits:57}],40:[function(n,t){var e=n("inherits"),i=n("./lib/ajax-based"),r=n("./receiver/xhr"),o=n("./sender/xdr");function u(n){if(!o.enabled)throw new Error("Transport created when disabled");i.call(this,n,"/xhr_streaming",r,o)}e(u,i),u.enabled=function(n){return!n.cookie_needed&&!n.nullOrigin&&o.enabled&&n.sameScheme},u.transportName="xdr-streaming",u.roundTrips=2,t.exports=u},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,inherits:57}],41:[function(n,t){var e=n("inherits"),i=n("./lib/ajax-based"),r=n("./receiver/xhr"),o=n("./sender/xhr-cors"),u=n("./sender/xhr-local");function s(n){if(!u.enabled&&!o.enabled)throw new Error("Transport created when disabled");i.call(this,n,"/xhr",r,o)}e(s,i),s.enabled=function(n){return!n.nullOrigin&&(!(!u.enabled||!n.sameOrigin)||o.enabled)},s.transportName="xhr-polling",s.roundTrips=2,t.exports=s},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:57}],42:[function(n,t){(function(e){(function(){var i=n("inherits"),r=n("./lib/ajax-based"),o=n("./receiver/xhr"),u=n("./sender/xhr-cors"),s=n("./sender/xhr-local"),a=n("../utils/browser");function c(n){if(!s.enabled&&!u.enabled)throw new Error("Transport created when disabled");r.call(this,n,"/xhr_streaming",o,u)}i(c,r),c.enabled=function(n){return!n.nullOrigin&&!a.isOpera()&&u.enabled},c.transportName="xhr-streaming",c.roundTrips=2,c.needBody=!!e.document,t.exports=c}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../utils/browser":44,"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:57}],43:[function(n,t){(function(n){(function(){t.exports.randomBytes=n.crypto&&n.crypto.getRandomValues?function(t){var e=new Uint8Array(t);return n.crypto.getRandomValues(e),e}:function(n){for(var t=new Array(n),e=0;e<n;e++)t[e]=Math.floor(256*Math.random());return t}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],44:[function(n,t){(function(n){(function(){t.exports={isOpera:function(){return n.navigator&&/opera/i.test(n.navigator.userAgent)},isKonqueror:function(){return n.navigator&&/konqueror/i.test(n.navigator.userAgent)},hasDomain:function(){if(!n.document)return!0;try{return!!n.document.domain}catch(n){return!1}}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],45:[function(n,t){var e,i=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u05c4\u0610-\u0617\u0653-\u0654\u0657-\u065b\u065d-\u065e\u06df-\u06e2\u06eb-\u06ec\u0730\u0732-\u0733\u0735-\u0736\u073a\u073d\u073f-\u0741\u0743\u0745\u0747\u07eb-\u07f1\u0951\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e38-\u0e39\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u0f72-\u0f76\u0f78\u0f80-\u0f83\u0f93\u0f9d\u0fa2\u0fa7\u0fac\u0fb9\u1939-\u193a\u1a17\u1b6b\u1cda-\u1cdb\u1dc0-\u1dcf\u1dfc\u1dfe\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbe\u1fc9\u1fcb\u1fd3\u1fdb\u1fe3\u1feb\u1fee-\u1fef\u1ff9\u1ffb\u1ffd\u2000-\u2001\u20d0-\u20d1\u20d4-\u20d7\u20e7-\u20e9\u2126\u212a-\u212b\u2329-\u232a\u2adc\u302b-\u302c\uaab2-\uaab3\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufb4e\ufff0-\uffff]/g;t.exports={quote:function(n){var t=JSON.stringify(n);return i.lastIndex=0,i.test(t)?(e||(e=function(n){var t,e={},i=[];for(t=0;t<65536;t++)i.push(String.fromCharCode(t));return n.lastIndex=0,i.join("").replace(n,(function(n){return e[n]="\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4),""})),n.lastIndex=0,e}(i)),t.replace(i,(function(n){return e[n]}))):t}}},{}],46:[function(n,t){(function(e){(function(){var i=n("./random"),r={},o=!1,u=e.chrome&&e.chrome.app&&e.chrome.app.runtime;t.exports={attachEvent:function(n,t){void 0!==e.addEventListener?e.addEventListener(n,t,!1):e.document&&e.attachEvent&&(e.document.attachEvent("on"+n,t),e.attachEvent("on"+n,t))},detachEvent:function(n,t){void 0!==e.addEventListener?e.removeEventListener(n,t,!1):e.document&&e.detachEvent&&(e.document.detachEvent("on"+n,t),e.detachEvent("on"+n,t))},unloadAdd:function(n){if(u)return null;var t=i.string(8);return r[t]=n,o&&setTimeout(this.triggerUnloadCallbacks,0),t},unloadDel:function(n){n in r&&delete r[n]},triggerUnloadCallbacks:function(){for(var n in r)r[n](),delete r[n]}};u||t.exports.attachEvent("unload",(function(){o||(o=!0,t.exports.triggerUnloadCallbacks())}))}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./random":50}],47:[function(n,t){(function(e,i){(function(){var e=n("./event"),r=n("./browser");t.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){t.exports.WPrefix in i||(i[t.exports.WPrefix]={})},postMessage:function(n,e){i.parent!==i&&i.parent.postMessage(JSON.stringify({windowId:t.exports.currentWindowId,type:n,data:e||""}),"*")},createIframe:function(n,t){var r,o,u=i.document.createElement("iframe"),s=function(){clearTimeout(r);try{u.onload=null}catch(n){}u.onerror=null},a=function(){u&&(s(),setTimeout((function(){u&&u.parentNode.removeChild(u),u=null}),0),e.unloadDel(o))},c=function(n){u&&(a(),t(n))};return u.src=n,u.style.display="none",u.style.position="absolute",u.onerror=function(){c("onerror")},u.onload=function(){clearTimeout(r),r=setTimeout((function(){c("onload timeout")}),2e3)},i.document.body.appendChild(u),r=setTimeout((function(){c("timeout")}),15e3),o=e.unloadAdd(a),{post:function(n,t){setTimeout((function(){try{u&&u.contentWindow&&u.contentWindow.postMessage(n,t)}catch(n){}}),0)},cleanup:a,loaded:s}},createHtmlfile:function(n,r){var o,u,s,a=["Active"].concat("Object").join("X"),c=new i[a]("htmlfile"),f=function(){clearTimeout(o),s.onerror=null},l=function(){c&&(f(),e.unloadDel(u),s.parentNode.removeChild(s),s=c=null,CollectGarbage())},d=function(n){c&&(l(),r(n))};c.open(),c.write('<html><script>document.domain="'+i.document.domain+'";<\/script></html>'),c.close(),c.parentWindow[t.exports.WPrefix]=i[t.exports.WPrefix];var h=c.createElement("div");return c.body.appendChild(h),s=c.createElement("iframe"),h.appendChild(s),s.src=n,s.onerror=function(){d("onerror")},o=setTimeout((function(){d("timeout")}),15e3),u=e.unloadAdd(l),{post:function(n,t){try{setTimeout((function(){s&&s.contentWindow&&s.contentWindow.postMessage(n,t)}),0)}catch(n){}},cleanup:l,loaded:f}}},t.exports.iframeEnabled=!1,i.document&&(t.exports.iframeEnabled=("function"==typeof i.postMessage||"object"==typeof i.postMessage)&&!r.isKonqueror())}).call(this)}).call(this,{env:{}},"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./browser":44,"./event":46,debug:55}],48:[function(n,t){(function(n){(function(){var e={};["log","debug","warn"].forEach((function(t){var i;try{i=n.console&&n.console[t]&&n.console[t].apply}catch(n){}e[t]=i?function(){return n.console[t].apply(n.console,arguments)}:"log"===t?function(){}:e.log})),t.exports=e}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],49:[function(n,t){t.exports={isObject:function(n){var t=typeof n;return"function"===t||"object"===t&&!!n},extend:function(n){if(!this.isObject(n))return n;for(var t,e,i=1,r=arguments.length;i<r;i++)for(e in t=arguments[i])Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}}},{}],50:[function(n,t){var e=n("crypto"),i="abcdefghijklmnopqrstuvwxyz012345";t.exports={string:function(n){for(var t=e.randomBytes(n),r=[],o=0;o<n;o++)r.push(i.substr(t[o]%32,1));return r.join("")},number:function(n){return Math.floor(Math.random()*n)},numberString:function(n){var t=(""+(n-1)).length;return(new Array(t+1).join("0")+this.number(n)).slice(-t)}}},{crypto:43}],51:[function(n,t){(function(){(function(){t.exports=function(n){return{filterToEnabled:function(t,e){var i={main:[],facade:[]};return t?"string"==typeof t&&(t=[t]):t=[],n.forEach((function(n){n&&("websocket"===n.transportName&&!1===e.websocket||t.length&&-1===t.indexOf(n.transportName)||n.enabled(e)&&(i.main.push(n),n.facadeTransport&&i.facade.push(n.facadeTransport)))})),i}}}}).call(this)}).call(this,{env:{}})},{debug:55}],52:[function(n,t){(function(){(function(){var e=n("url-parse");t.exports={getOrigin:function(n){if(!n)return null;var t=new e(n);if("file:"===t.protocol)return null;var i=t.port;return i||(i="https:"===t.protocol?"443":"80"),t.protocol+"//"+t.hostname+":"+i},isOriginEqual:function(n,t){return this.getOrigin(n)===this.getOrigin(t)},isSchemeEqual:function(n,t){return n.split(":")[0]===t.split(":")[0]},addPath:function(n,t){var e=n.split("?");return e[0]+t+(e[1]?"?"+e[1]:"")},addQuery:function(n,t){return n+(-1===n.indexOf("?")?"?"+t:"&"+t)},isLoopbackAddr:function(n){return/^127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(n)||/^\[::1\]$/.test(n)}}}).call(this)}).call(this,{env:{}})},{debug:55,"url-parse":60}],53:[function(n,t){t.exports="1.6.1"},{}],54:[function(n,t){var e=1e3,i=60*e,r=60*i,o=24*r,u=7*o;function s(n,t,e,i){var r=t>=1.5*e;return Math.round(n/e)+" "+i+(r?"s":"")}t.exports=function(n,t){t=t||{};var a,c,f=typeof n;if("string"===f&&n.length>0)return function(n){if(!((n=String(n)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(n);if(t){var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*u;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*i;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(n);if("number"===f&&isFinite(n))return t.long?(a=n,(c=Math.abs(a))>=o?s(a,c,o,"day"):c>=r?s(a,c,r,"hour"):c>=i?s(a,c,i,"minute"):c>=e?s(a,c,e,"second"):a+" ms"):function(n){var t=Math.abs(n);return t>=o?Math.round(n/o)+"d":t>=r?Math.round(n/r)+"h":t>=i?Math.round(n/i)+"m":t>=e?Math.round(n/e)+"s":n+"ms"}(n);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(n))}},{}],55:[function(n,t,e){(function(i){(function(){function r(n){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r(n)}e.log=function(){var n;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(n=console).log.apply(n,arguments)},e.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),this.useColors){var e="color: "+this.color;n.splice(1,0,e,"color: inherit");var i=0,r=0;n[0].replace(/%[a-zA-Z%]/g,(function(n){"%%"!==n&&(i++,"%c"===n&&(r=i))})),n.splice(r,0,e)}},e.save=function(n){try{n?e.storage.setItem("debug",n):e.storage.removeItem("debug")}catch(n){}},e.load=function(){var n;try{n=e.storage.getItem("debug")}catch(n){}return!n&&void 0!==i&&"env"in i&&(n=i.env.DEBUG),n},e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch(n){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.exports=n("./common")(e),t.exports.formatters.j=function(n){try{return JSON.stringify(n)}catch(n){return"[UnexpectedJSONParseError]: "+n.message}}}).call(this)}).call(this,{env:{}})},{"./common":56}],56:[function(n,t){t.exports=function(t){function e(n){for(var t=0,e=0;e<n.length;e++)t=(t<<5)-t+n.charCodeAt(e),t|=0;return i.colors[Math.abs(t)%i.colors.length]}function i(n){var t;function u(){if(u.enabled){for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];var o=u,s=Number(new Date);o.diff=s-(t||s),o.prev=t,o.curr=s,t=s,e[0]=i.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");var a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(function(n,t){if("%%"===n)return n;a++;var r=i.formatters[t];return"function"==typeof r&&(n=r.call(o,e[a]),e.splice(a,1),a--),n})),i.formatArgs.call(o,e),(o.log||i.log).apply(o,e)}}return u.namespace=n,u.enabled=i.enabled(n),u.useColors=i.useColors(),u.color=e(n),u.destroy=r,u.extend=o,"function"==typeof i.init&&i.init(u),i.instances.push(u),u}function r(){var n=i.instances.indexOf(this);return-1!==n&&(i.instances.splice(n,1),!0)}function o(n,t){return i(this.namespace+(void 0===t?":":t)+n)}return i.debug=i,i.default=i,i.coerce=function(n){return n instanceof Error?n.stack||n.message:n},i.disable=function(){i.enable("")},i.enable=function(n){var t;i.save(n),i.names=[],i.skips=[];var e=("string"==typeof n?n:"").split(/[\s,]+/),r=e.length;for(t=0;t<r;t++)e[t]&&("-"===(n=e[t].replace(/\*/g,".*?"))[0]?i.skips.push(new RegExp("^"+n.substr(1)+"$")):i.names.push(new RegExp("^"+n+"$")));for(t=0;t<i.instances.length;t++){var o=i.instances[t];o.enabled=i.enabled(o.namespace)}},i.enabled=function(n){if("*"===n[n.length-1])return!0;var t,e;for(t=0,e=i.skips.length;t<e;t++)if(i.skips[t].test(n))return!1;for(t=0,e=i.names.length;t<e;t++)if(i.names[t].test(n))return!0;return!1},i.humanize=n("ms"),Object.keys(t).forEach((function(n){i[n]=t[n]})),i.instances=[],i.names=[],i.skips=[],i.formatters={},i.selectColor=e,i.enable(i.load()),i}},{ms:54}],57:[function(n,t){t.exports="function"==typeof Object.create?function(n,t){t&&(n.super_=t,n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:function(n,t){if(t){n.super_=t;var e=function(){};e.prototype=t.prototype,n.prototype=new e,n.prototype.constructor=n}}},{}],58:[function(n,t,e){var i=Object.prototype.hasOwnProperty;function r(n){try{return decodeURIComponent(n.replace(/\+/g," "))}catch(n){return null}}e.stringify=function(n,t){t=t||"";var e,r,o=[];for(r in"string"!=typeof t&&(t="?"),n)if(i.call(n,r)){if((e=n[r])||null!=e&&!isNaN(e)||(e=""),r=encodeURIComponent(r),e=encodeURIComponent(e),null===r||null===e)continue;o.push(r+"="+e)}return o.length?t+o.join("&"):""},e.parse=function(n){for(var t,e=/([^=?&]+)=?([^&]*)/g,i={};t=e.exec(n);){var o=r(t[1]),u=r(t[2]);null===o||null===u||o in i||(i[o]=u)}return i}},{}],59:[function(n,t){t.exports=function(n,t){if(t=t.split(":")[0],!(n=+n))return!1;switch(t){case"http":case"ws":return 80!==n;case"https":case"wss":return 443!==n;case"ftp":return 21!==n;case"gopher":return 70!==n;case"file":return!1}return 0!==n}},{}],60:[function(n,t){(function(e){(function(){var i=n("requires-port"),r=n("querystringify"),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,u=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,a=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,f=/^[a-zA-Z]:/;function l(n){return(n||"").toString().replace(o,"")}var d=[["#","hash"],["?","query"],function(n,t){return v(t.protocol)?n.replace(/\\/g,"/"):n},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],h={hash:1,query:1};function p(n){var t;t="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var i,r={},o=typeof(n=n||t.location||{});if("blob:"===n.protocol)r=new b(unescape(n.pathname),{});else if("string"===o)for(i in r=new b(n,{}),h)delete r[i];else if("object"===o){for(i in n)i in h||(r[i]=n[i]);void 0===r.slashes&&(r.slashes=s.test(n.href))}return r}function v(n){return"file:"===n||"ftp:"===n||"http:"===n||"https:"===n||"ws:"===n||"wss:"===n}function g(n,t){n=(n=l(n)).replace(u,""),t=t||{};var e,i=c.exec(n),r=i[1]?i[1].toLowerCase():"",o=!!i[2],s=!!i[3],a=0;return o?s?(e=i[2]+i[3]+i[4],a=i[2].length+i[3].length):(e=i[2]+i[4],a=i[2].length):s?(e=i[3]+i[4],a=i[3].length):e=i[4],"file:"===r?a>=2&&(e=e.slice(2)):v(r)?e=i[4]:r?o&&(e=e.slice(2)):a>=2&&v(t.protocol)&&(e=i[4]),{protocol:r,slashes:o||v(r),slashesCount:a,rest:e}}function b(n,t,e){if(n=(n=l(n)).replace(u,""),!(this instanceof b))return new b(n,t,e);var o,s,a,c,h,m,w=d.slice(),y=typeof t,x=this,k=0;for("object"!==y&&"string"!==y&&(e=t,t=null),e&&"function"!=typeof e&&(e=r.parse),o=!(s=g(n||"",t=p(t))).protocol&&!s.slashes,x.slashes=s.slashes||o&&t.slashes,x.protocol=s.protocol||t.protocol||"",n=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||f.test(n))||!s.slashes&&(s.protocol||s.slashesCount<2||!v(x.protocol)))&&(w[3]=[/(.*)/,"pathname"]);k<w.length;k++)"function"!=typeof(c=w[k])?(m=c[1],(a=c[0])!=a?x[m]=n:"string"==typeof a?~(h="@"===a?n.lastIndexOf(a):n.indexOf(a))&&("number"==typeof c[2]?(x[m]=n.slice(0,h),n=n.slice(h+c[2])):(x[m]=n.slice(h),n=n.slice(0,h))):(h=a.exec(n))&&(x[m]=h[1],n=n.slice(0,h.index)),x[m]=x[m]||o&&c[3]&&t[m]||"",c[4]&&(x[m]=x[m].toLowerCase())):n=c(n,x);e&&(x.query=e(x.query)),o&&t.slashes&&"/"!==x.pathname.charAt(0)&&(""!==x.pathname||""!==t.pathname)&&(x.pathname=function(n,t){if(""===n)return t;for(var e=(t||"/").split("/").slice(0,-1).concat(n.split("/")),i=e.length,r=e[i-1],o=!1,u=0;i--;)"."===e[i]?e.splice(i,1):".."===e[i]?(e.splice(i,1),u++):u&&(0===i&&(o=!0),e.splice(i,1),u--);return o&&e.unshift(""),"."!==r&&".."!==r||e.push(""),e.join("/")}(x.pathname,t.pathname)),"/"!==x.pathname.charAt(0)&&v(x.protocol)&&(x.pathname="/"+x.pathname),i(x.port,x.protocol)||(x.host=x.hostname,x.port=""),x.username=x.password="",x.auth&&(~(h=x.auth.indexOf(":"))?(x.username=x.auth.slice(0,h),x.username=encodeURIComponent(decodeURIComponent(x.username)),x.password=x.auth.slice(h+1),x.password=encodeURIComponent(decodeURIComponent(x.password))):x.username=encodeURIComponent(decodeURIComponent(x.auth)),x.auth=x.password?x.username+":"+x.password:x.username),x.origin="file:"!==x.protocol&&v(x.protocol)&&x.host?x.protocol+"//"+x.host:"null",x.href=x.toString()}b.prototype={set:function(n,t,e){var o=this;switch(n){case"query":"string"==typeof t&&t.length&&(t=(e||r.parse)(t)),o[n]=t;break;case"port":o[n]=t,i(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[n]="");break;case"hostname":o[n]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[n]=t,a.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!e;break;case"pathname":case"hash":if(t){var u="pathname"===n?"/":"#";o[n]=t.charAt(0)!==u?u+t:t}else o[n]=t;break;case"username":case"password":o[n]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(o.username=t.slice(0,s),o.username=encodeURIComponent(decodeURIComponent(o.username)),o.password=t.slice(s+1),o.password=encodeURIComponent(decodeURIComponent(o.password))):o.username=encodeURIComponent(decodeURIComponent(t))}for(var c=0;c<d.length;c++){var f=d[c];f[4]&&(o[f[1]]=o[f[1]].toLowerCase())}return o.auth=o.password?o.username+":"+o.password:o.username,o.origin="file:"!==o.protocol&&v(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(n){n&&"function"==typeof n||(n=r.stringify);var t,e=this,i=e.host,o=e.protocol;o&&":"!==o.charAt(o.length-1)&&(o+=":");var u=o+(e.protocol&&e.slashes||v(e.protocol)?"//":"");return e.username?(u+=e.username,e.password&&(u+=":"+e.password),u+="@"):e.password?(u+=":"+e.password,u+="@"):"file:"!==e.protocol&&v(e.protocol)&&!i&&"/"!==e.pathname&&(u+="@"),(":"===i[i.length-1]||a.test(e.hostname)&&!e.port)&&(i+=":"),u+=i+e.pathname,(t="object"==typeof e.query?n(e.query):e.query)&&(u+="?"!==t.charAt(0)?"?"+t:t),e.hash&&(u+=e.hash),u}},b.extractProtocol=g,b.location=p,b.trimLeft=l,b.qs=r,t.exports=b}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{querystringify:58,"requires-port":59}]},{},[1])(1),function(n){var t=function(){try{return!!Symbol.iterator}catch(n){return!1}}(),e=function(n){var e={next:function(){var t=n.shift();return{done:void 0===t,value:t}}};return t&&(e[Symbol.iterator]=function(){return e}),e},i=function(n){return encodeURIComponent(n).replace(/%20/g,"+")},r=function(n){return decodeURIComponent(String(n).replace(/\+/g," "))};(function(){try{var t=n.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(n){return!1}})()||function(){var r=function(n){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof n;if("undefined"===t);else if("string"===t)""!==n&&this._fromString(n);else if(n instanceof r){var e=this;n.forEach((function(n,t){e.append(t,n)}))}else{if(null===n||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(n))for(var i=0;i<n.length;i++){var o=n[i];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+i+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var u in n)n.hasOwnProperty(u)&&this.append(u,n[u])}},o=r.prototype;o.append=function(n,t){n in this._entries?this._entries[n].push(String(t)):this._entries[n]=[String(t)]},o.delete=function(n){delete this._entries[n]},o.get=function(n){return n in this._entries?this._entries[n][0]:null},o.getAll=function(n){return n in this._entries?this._entries[n].slice(0):[]},o.has=function(n){return n in this._entries},o.set=function(n,t){this._entries[n]=[String(t)]},o.forEach=function(n,t){var e;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){e=this._entries[i];for(var r=0;r<e.length;r++)n.call(t,e[r],i,this)}},o.keys=function(){var n=[];return this.forEach((function(t,e){n.push(e)})),e(n)},o.values=function(){var n=[];return this.forEach((function(t){n.push(t)})),e(n)},o.entries=function(){var n=[];return this.forEach((function(t,e){n.push([e,t])})),e(n)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var n=[];return this.forEach((function(t,e){n.push(i(e)+"="+i(t))})),n.join("&")},n.URLSearchParams=r}();var o=n.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var n=this,t=[];this.forEach((function(e,i){t.push([i,e]),n._entries||n.delete(i)})),t.sort((function(n,t){return n[0]<t[0]?-1:n[0]>t[0]?1:0})),n._entries&&(n._entries={});for(var e=0;e<t.length;e++)this.append(t[e][0],t[e][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(n){if(this._entries)this._entries={};else{var t=[];this.forEach((function(n,e){t.push(e)}));for(var e=0;e<t.length;e++)this.delete(t[e])}var i,o=(n=n.replace(/^\?/,"")).split("&");for(e=0;e<o.length;e++)i=o[e].split("="),this.append(r(i[0]),i.length>1?r(i[1]):"")}})}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t),function(n){if(function(){try{var t=new n.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(n){return!1}}()||function(){var t=n.URL,e=function(t,e){"string"!=typeof t&&(t=String(t)),e&&"string"!=typeof e&&(e=String(e));var i,r=document;if(e&&(void 0===n.location||e!==n.location.href)){e=e.toLowerCase(),(i=(r=document.implementation.createHTMLDocument("")).createElement("base")).href=e,r.head.appendChild(i);try{if(0!==i.href.indexOf(e))throw new Error(i.href)}catch(n){throw new Error("URL unable to set base "+e+" due to "+n)}}var o=r.createElement("a");o.href=t,i&&(r.body.appendChild(o),o.href=o.href);var u=r.createElement("input");if(u.type="url",u.value=t,":"===o.protocol||!/:/.test(o.href)||!u.checkValidity()&&!e)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new n.URLSearchParams(this.search),a=!0,c=!0,f=this;["append","delete","set"].forEach((function(n){var t=s[n];s[n]=function(){t.apply(s,arguments),a&&(c=!1,f.search=s.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var l=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==l&&(l=this.search,c&&(a=!1,this.searchParams._fromString(this.search),a=!0))}})},i=e.prototype;["hash","host","hostname","port","protocol"].forEach((function(n){!function(n){Object.defineProperty(i,n,{get:function(){return this._anchorElement[n]},set:function(t){this._anchorElement[n]=t},enumerable:!0})}(n)})),Object.defineProperty(i,"search",{get:function(){return this._anchorElement.search},set:function(n){this._anchorElement.search=n,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(i,{toString:{get:function(){var n=this;return function(){return n.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(n){this._anchorElement.href=n,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(n){this._anchorElement.pathname=n},enumerable:!0},origin:{get:function(){return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(this._anchorElement.port!={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol]&&""!==this._anchorElement.port?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(){},enumerable:!0},username:{get:function(){return""},set:function(){},enumerable:!0}}),e.createObjectURL=function(n){return t.createObjectURL.apply(t,arguments)},e.revokeObjectURL=function(n){return t.revokeObjectURL.apply(t,arguments)},n.URL=e}(),void 0!==n.location&&!("origin"in n.location)){var t=function(){return n.location.protocol+"//"+n.location.hostname+(n.location.port?":"+n.location.port:"")};try{Object.defineProperty(n.location,"origin",{get:t,enumerable:!0})}catch(e){setInterval((function(){n.location.origin=t()}),100)}}}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:t);var e,i={exports:{}};
2
2
  /*!
3
3
  * jQuery JavaScript Library v3.7.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween
4
4
  * https://jquery.com/