@digitransit-component/digitransit-component-autosuggest 7.1.11 → 7.1.12
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.
- package/lib/index.development.js +3 -3
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("prop-types"),require("react"),require("react-i18next"),require("classnames"),require("lodash/debounce"),require("lodash/flatten"),require("lodash/take"),require("lodash/isString"),require("lodash/orderBy"),require("lodash/uniqWith"),require("lodash/get"),require("downshift"),require("@digitransit-component/digitransit-component-icon"),require("i18next"),require("lodash/isEqual"),require("lodash/memoize"),require("lodash/escapeRegExp"),require("lodash/cloneDeep"),require("luxon"),require("react-modal"),require("@digitransit-component/digitransit-component-dialog-modal"),require("@digitransit-component/digitransit-component-suggestion-item")):"function"==typeof define&&define.amd?define(["exports","prop-types","react","react-i18next","classnames","lodash/debounce","lodash/flatten","lodash/take","lodash/isString","lodash/orderBy","lodash/uniqWith","lodash/get","downshift","@digitransit-component/digitransit-component-icon","i18next","lodash/isEqual","lodash/memoize","lodash/escapeRegExp","lodash/cloneDeep","luxon","react-modal","@digitransit-component/digitransit-component-dialog-modal","@digitransit-component/digitransit-component-suggestion-item"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).DTAutosuggest={},e.PropTypes,e.React,e.reactI18next,e.cx,e.debounce,e.flatten,e.take,e.isString,e.orderBy,e.uniqWith,e.get,e.downshift,e.Icon,e.i18next,e.isEqual,e.memoize,e.escapeRegExp,e.cloneDeep,e.luxon,e.ReactModal,e.DialogModal,e.SuggestionItem)}(this,function(e,t,n,u,o,r,i,s,a,l,c,d,p,f,h,g,b,m,E,y,A,F,D){"use strict";function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=C(t),_=C(n),B=C(o),w=C(r),S=C(i),O=C(s),k=C(a),x=C(l),R=C(c),j=C(d),P=C(f),M=C(b),N=C(m),T=C(E),L=C(A),I=C(F),q=C(D);function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function U(e){var t=function(e,t){if("object"!=z(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var u=n.call(e,t||"default");if("object"!=z(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==z(t)?t:t+""}function H(e,t,n){return(t=U(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){return e&&t&&e===t}const W=["stop","station","favouriteStop","favouriteStation"],$=["favouriteVehicleRentalStation","bikestation"];function G(e){if(!e)return"";const t=e.split(":");return 0===t.length?"":`citybikes${t[0]}:bikestation:${t[1]}`}function K(e,t){const n=e.properties,u=t.properties;if("FutureRoute"===e.type&&"FutureRoute"===t.type){const e=n.origin,t=n.destination,o=u.origin,r=u.destination;return`${e.name}//${e.localadmin}//${t.name}//${t.localadmin}`===`${o.name}//${o.localadmin}//${r.name}//${r.localadmin}`}if("FutureRoute"===e.type||"FutureRoute"===t.type)return!1;if($.includes(n.layer)&&$.includes(u.layer)){return(n.gid||G(n.labelId))===(u.gid||G(u.labelId))}if(n.gtfsId&&u.gtfsId)return n.gtfsId===u.gtfsId;if(W.includes(n.layer)&&W.includes(u.layer)&&n.gid&&u.gid)return n.gid===u.gid;const o=e&&e.geometry?e.geometry.coordinates:void 0,r=t&&t.geometry?t.geometry.coordinates:void 0;return!!(o&&r&&Math.abs(o[0]-r[0])<1e-6&&Math.abs(o[1]-r[1])<1e-6&&(V(n.name,u.name)||V(n.label,u.label)||V(n.address,u.address)||V(n.address,u.label)||V(n.label,u.address)))}const J=e=>k.default(e)?e.toLowerCase():"",Q=e=>e.split(/([A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10940}-\u{10959}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10D4A}-\u{10D65}\u{10D6F}-\u{10D85}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC7}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}\u{113D1}\u{113D3}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11BC0}-\u{11BE0}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11DB0}-\u{11DDB}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D6C}\u{16E40}-\u{16E7F}\u{16EA0}-\u{16EB8}\u{16EBB}-\u{16ED3}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF2}\u{16FF3}\u{17000}-\u{18CD5}\u{18CFF}-\u{18D1E}\u{18D80}-\u{18DF2}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E5D0}-\u{1E5ED}\u{1E5F0}\u{1E6C0}-\u{1E6DE}\u{1E6E0}-\u{1E6E2}\u{1E6E4}\u{1E6E5}\u{1E6E7}-\u{1E6ED}\u{1E6F0}-\u{1E6F4}\u{1E6FE}\u{1E6FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B81D}\u{2B820}-\u{2CEAD}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{33479}]+)/u),X=e=>/^[0-9]+[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10940}-\u{10959}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10D4A}-\u{10D65}\u{10D6F}-\u{10D85}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC7}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}\u{113D1}\u{113D3}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11BC0}-\u{11BE0}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11DB0}-\u{11DDB}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D6C}\u{16E40}-\u{16E7F}\u{16EA0}-\u{16EB8}\u{16EBB}-\u{16ED3}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF2}\u{16FF3}\u{17000}-\u{18CD5}\u{18CFF}-\u{18D1E}\u{18D80}-\u{18DF2}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E5D0}-\u{1E5ED}\u{1E5F0}\u{1E6C0}-\u{1E6DE}\u{1E6E0}-\u{1E6E2}\u{1E6E4}\u{1E6E5}\u{1E6E7}-\u{1E6ED}\u{1E6F0}-\u{1E6F4}\u{1E6FE}\u{1E6FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B81D}\u{2B820}-\u{2CEAD}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{33479}]+$/u.test(e),Z="back",Y="currentPosition",ee="favouriteStop",te="favouriteStation",ne="favouritePlace",ue="favouriteRoute",oe="favouriteVehicleRentalStation",re="futureRoute",ie="station",se="selectFromMap",ae="ownLocations",le="stop",ce="bikestation",de="carpark",pe="bikepark",fe=({layer:e,type:t})=>"stop"===e||"favouriteStop"===e||"stop"===t||"favouriteStop"===t,he=(e,t)=>{switch(e){case Y:return 1;case Z:return.9;case se:return.8;case ae:return.79;case te:case ne:case ee:case ue:case oe:return.45;case re:return.44;case ie:return k.default(t)&&0===t.indexOf("gtfs")?.43:.42;case de:case pe:case ce:return.38;case le:return.36;default:return.41}},ge=(e,t,n="")=>{if(!Array.isArray(t)||!t.length)return t;const u=t=>k.default(t)&&e&&e.test(t),o=J(n),r=u(o),i=x.default(t.filter(e=>e),[e=>r&&u(J(e.properties.shortName))&&0===J(e.properties.shortName).indexOf(o)?1:0,e=>{const{confidence:t,layer:n,source:u}=e.properties;if(0===o.length)return he(n,u);if(!t)return he(n,u)+((e,t)=>k.default(e)&&0!==e.length?["name","label","address","shortName"].map(e=>({name:e,value:t[e]})).filter(e=>k.default(e.value)&&e.value.length>0).map(t=>{let n=J(t.value);return 0===n.indexOf(e)?("shortName"===t.name&&X(n)&&([n]=Q(n)),.5+e.length/n.length):.5*e.length/(e.length+1)}).reduce((e,t)=>t>e?t:e,0):0)(o,e.properties);switch(n){case ie:return t+(0===u.indexOf("gtfs")?.02:.01);case le:case de:case pe:return t-.05;case ce:return t-.04;default:return t}},e=>{if(e.properties.shortName)return X(e.properties.shortName)?Q(e.properties.shortName)[0]:e.properties.shortName},e=>{if(e.properties.shortName)return X(e.properties.shortName)?Q(e.properties.shortName)[1]:e.properties.shortName},"properties.longName"],["desc","desc","asc","asc","asc"]);return R.default(i,K)},be=(e,t)=>null!=t&&-1!==e.lastIndexOf(t)?e.substring(0,e.lastIndexOf(t)-1):e;function me(e,t,n){if("string"==typeof t&&t.length>0){const u=t.toLowerCase().trim(),o=u.includes(" ")||u.includes(",");return e.filter(e=>{let t=[];n.forEach(n=>{let u=j.default(e,n);o||"properties.label"!==n&&"address"!==n||!u||(u=u.split(","),u.length>2?u.splice(u.length-2,2):u.length>1&&u.splice(u.length-1,1),u=u.join(",")),u&&(t=o?t.concat(u.toLowerCase()):t.concat(u.toLowerCase().replace(/,/g," ").split(" ")))});for(let e=0;e<t.length;e++)if(0===t[e].indexOf(u))return!0;return!1})}return e}function Ee(e,t){return function(){return e.apply(t,arguments)}}const{toString:ye}=Object.prototype,{getPrototypeOf:Ae}=Object,{iterator:Fe,toStringTag:De}=Symbol,Ce=(ve=Object.create(null),e=>{const t=ye.call(e);return ve[t]||(ve[t]=t.slice(8,-1).toLowerCase())});var ve;const _e=e=>(e=e.toLowerCase(),t=>Ce(t)===e),Be=e=>t=>typeof t===e,{isArray:we}=Array,Se=Be("undefined");function Oe(e){return null!==e&&!Se(e)&&null!==e.constructor&&!Se(e.constructor)&&Re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ke=_e("ArrayBuffer");const xe=Be("string"),Re=Be("function"),je=Be("number"),Pe=e=>null!==e&&"object"==typeof e,Me=e=>{if("object"!==Ce(e))return!1;const t=Ae(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||De in e||Fe in e)},Ne=_e("Date"),Te=_e("File"),Le=_e("Blob"),Ie=_e("FileList");const qe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},ze=void 0!==qe.FormData?qe.FormData:void 0,Ue=_e("URLSearchParams"),[He,Ve,We,$e]=["ReadableStream","Request","Response","Headers"].map(_e);function Ge(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let u,o;if("object"!=typeof e&&(e=[e]),we(e))for(u=0,o=e.length;u<o;u++)t.call(null,e[u],u,e);else{if(Oe(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),r=o.length;let i;for(u=0;u<r;u++)i=o[u],t.call(null,e[i],i,e)}}function Ke(e,t){if(Oe(e))return null;t=t.toLowerCase();const n=Object.keys(e);let u,o=n.length;for(;o-- >0;)if(u=n[o],t===u.toLowerCase())return u;return null}const Je="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Qe=e=>!Se(e)&&e!==Je;const Xe=(Ze="undefined"!=typeof Uint8Array&&Ae(Uint8Array),e=>Ze&&e instanceof Ze);var Ze;const Ye=_e("HTMLFormElement"),et=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),tt=_e("RegExp"),nt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),u={};Ge(n,(n,o)=>{let r;!1!==(r=t(n,o,e))&&(u[o]=r||n)}),Object.defineProperties(e,u)};const ut=_e("AsyncFunction"),ot=(rt="function"==typeof setImmediate,it=Re(Je.postMessage),rt?setImmediate:it?(st=`axios@${Math.random()}`,at=[],Je.addEventListener("message",({source:e,data:t})=>{e===Je&&t===st&&at.length&&at.shift()()},!1),e=>{at.push(e),Je.postMessage(st,"*")}):e=>setTimeout(e));var rt,it,st,at;const lt="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Je):"undefined"!=typeof process&&process.nextTick||ot;var ct={isArray:we,isArrayBuffer:ke,isBuffer:Oe,isFormData:e=>{let t;return e&&(ze&&e instanceof ze||Re(e.append)&&("formdata"===(t=Ce(e))||"object"===t&&Re(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ke(e.buffer),t},isString:xe,isNumber:je,isBoolean:e=>!0===e||!1===e,isObject:Pe,isPlainObject:Me,isEmptyObject:e=>{if(!Pe(e)||Oe(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:He,isRequest:Ve,isResponse:We,isHeaders:$e,isUndefined:Se,isDate:Ne,isFile:Te,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:Le,isRegExp:tt,isFunction:Re,isStream:e=>Pe(e)&&Re(e.pipe),isURLSearchParams:Ue,isTypedArray:Xe,isFileList:Ie,forEach:Ge,merge:function e(){const{caseless:t,skipUndefined:n}=Qe(this)&&this||{},u={},o=(o,r)=>{if("__proto__"===r||"constructor"===r||"prototype"===r)return;const i=t&&Ke(u,r)||r;Me(u[i])&&Me(o)?u[i]=e(u[i],o):Me(o)?u[i]=e({},o):we(o)?u[i]=o.slice():n&&Se(o)||(u[i]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Ge(arguments[e],o);return u},extend:(e,t,n,{allOwnKeys:u}={})=>(Ge(t,(t,u)=>{n&&Re(t)?Object.defineProperty(e,u,{value:Ee(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,u,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:u}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,u)=>{e.prototype=Object.create(t.prototype,u),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,u)=>{let o,r,i;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),r=o.length;r-- >0;)i=o[r],u&&!u(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==n&&Ae(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ce,kindOfTest:_e,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const u=e.indexOf(t,n);return-1!==u&&u===n},toArray:e=>{if(!e)return null;if(we(e))return e;let t=e.length;if(!je(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Fe]).call(e);let u;for(;(u=n.next())&&!u.done;){const n=u.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const u=[];for(;null!==(n=e.exec(t));)u.push(n);return u},isHTMLForm:Ye,hasOwnProperty:et,hasOwnProp:et,reduceDescriptors:nt,freezeMethods:e=>{nt(e,(t,n)=>{if(Re(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const u=e[n];Re(u)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},u=e=>{e.forEach(e=>{n[e]=!0})};return we(e)?u(e):u(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ke,global:Je,isContextDefined:Qe,isSpecCompliantForm:function(e){return!!(e&&Re(e.append)&&"FormData"===e[De]&&e[Fe])},toJSONObject:e=>{const t=new Array(10),n=(e,u)=>{if(Pe(e)){if(t.indexOf(e)>=0)return;if(Oe(e))return e;if(!("toJSON"in e)){t[u]=e;const o=we(e)?[]:{};return Ge(e,(e,t)=>{const r=n(e,u+1);!Se(r)&&(o[t]=r)}),t[u]=void 0,o}}return e};return n(e,0)},isAsyncFn:ut,isThenable:e=>e&&(Pe(e)||Re(e))&&Re(e.then)&&Re(e.catch),setImmediate:ot,asap:lt,isIterable:e=>null!=e&&Re(e[Fe])};class dt extends Error{static from(e,t,n,u,o,r){const i=new dt(e.message,t||e.code,n,u,o);return i.cause=e,i.name=e.name,null!=e.status&&null==i.status&&(i.status=e.status),r&&Object.assign(i,r),i}constructor(e,t,n,u,o){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),u&&(this.request=u),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ct.toJSONObject(this.config),code:this.code,status:this.status}}}dt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",dt.ERR_BAD_OPTION="ERR_BAD_OPTION",dt.ECONNABORTED="ECONNABORTED",dt.ETIMEDOUT="ETIMEDOUT",dt.ERR_NETWORK="ERR_NETWORK",dt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",dt.ERR_DEPRECATED="ERR_DEPRECATED",dt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",dt.ERR_BAD_REQUEST="ERR_BAD_REQUEST",dt.ERR_CANCELED="ERR_CANCELED",dt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",dt.ERR_INVALID_URL="ERR_INVALID_URL";var pt=dt;function ft(e){return ct.isPlainObject(e)||ct.isArray(e)}function ht(e){return ct.endsWith(e,"[]")?e.slice(0,-2):e}function gt(e,t,n){return e?e.concat(t).map(function(e,t){return e=ht(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const bt=ct.toFlatObject(ct,{},null,function(e){return/^is[A-Z]/.test(e)});function mt(e,t,n){if(!ct.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const u=(n=ct.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!ct.isUndefined(t[e])})).metaTokens,o=n.visitor||l,r=n.dots,i=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ct.isSpecCompliantForm(t);if(!ct.isFunction(o))throw new TypeError("visitor must be a function");function a(e){if(null===e)return"";if(ct.isDate(e))return e.toISOString();if(ct.isBoolean(e))return e.toString();if(!s&&ct.isBlob(e))throw new pt("Blob is not supported. Use a Buffer instead.");return ct.isArrayBuffer(e)||ct.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,o){let s=e;if(ct.isReactNative(t)&&ct.isReactNativeBlob(e))return t.append(gt(o,n,r),a(e)),!1;if(e&&!o&&"object"==typeof e)if(ct.endsWith(n,"{}"))n=u?n:n.slice(0,-2),e=JSON.stringify(e);else if(ct.isArray(e)&&function(e){return ct.isArray(e)&&!e.some(ft)}(e)||(ct.isFileList(e)||ct.endsWith(n,"[]"))&&(s=ct.toArray(e)))return n=ht(n),s.forEach(function(e,u){!ct.isUndefined(e)&&null!==e&&t.append(!0===i?gt([n],u,r):null===i?n:n+"[]",a(e))}),!1;return!!ft(e)||(t.append(gt(o,n,r),a(e)),!1)}const c=[],d=Object.assign(bt,{defaultVisitor:l,convertValue:a,isVisitable:ft});if(!ct.isObject(e))throw new TypeError("data must be an object");return function e(n,u){if(!ct.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+u.join("."));c.push(n),ct.forEach(n,function(n,r){!0===(!(ct.isUndefined(n)||null===n)&&o.call(t,n,ct.isString(r)?r.trim():r,u,d))&&e(n,u?u.concat(r):[r])}),c.pop()}}(e),t}function Et(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function yt(e,t){this._pairs=[],e&&mt(e,this,t)}const At=yt.prototype;function Ft(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Dt(e,t,n){if(!t)return e;const u=n&&n.encode||Ft,o=ct.isFunction(n)?{serialize:n}:n,r=o&&o.serialize;let i;if(i=r?r(t,o):ct.isURLSearchParams(t)?t.toString():new yt(t,o).toString(u),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}At.append=function(e,t){this._pairs.push([e,t])},At.toString=function(e){const t=e?function(t){return e.call(this,t,Et)}:Et;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Ct=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ct.forEach(this.handlers,function(t){null!==t&&e(t)})}},vt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},_t={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:yt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Bt="undefined"!=typeof window&&"undefined"!=typeof document,wt="object"==typeof navigator&&navigator||void 0,St=Bt&&(!wt||["ReactNative","NativeScript","NS"].indexOf(wt.product)<0),Ot="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,kt=Bt&&window.location.href||"http://localhost";var xt={...Object.freeze({__proto__:null,hasBrowserEnv:Bt,hasStandardBrowserWebWorkerEnv:Ot,hasStandardBrowserEnv:St,navigator:wt,origin:kt}),..._t};function Rt(e){function t(e,n,u,o){let r=e[o++];if("__proto__"===r)return!0;const i=Number.isFinite(+r),s=o>=e.length;if(r=!r&&ct.isArray(u)?u.length:r,s)return ct.hasOwnProp(u,r)?u[r]=[u[r],n]:u[r]=n,!i;u[r]&&ct.isObject(u[r])||(u[r]=[]);return t(e,n,u[r],o)&&ct.isArray(u[r])&&(u[r]=function(e){const t={},n=Object.keys(e);let u;const o=n.length;let r;for(u=0;u<o;u++)r=n[u],t[r]=e[r];return t}(u[r])),!i}if(ct.isFormData(e)&&ct.isFunction(e.entries)){const n={};return ct.forEachEntry(e,(e,u)=>{t(function(e){return ct.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),u,n,0)}),n}return null}const jt={transitional:vt,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",u=n.indexOf("application/json")>-1,o=ct.isObject(e);o&&ct.isHTMLForm(e)&&(e=new FormData(e));if(ct.isFormData(e))return u?JSON.stringify(Rt(e)):e;if(ct.isArrayBuffer(e)||ct.isBuffer(e)||ct.isStream(e)||ct.isFile(e)||ct.isBlob(e)||ct.isReadableStream(e))return e;if(ct.isArrayBufferView(e))return e.buffer;if(ct.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return mt(e,new xt.classes.URLSearchParams,{visitor:function(e,t,n,u){return xt.isNode&&ct.isBuffer(e)?(this.append(t,e.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((r=ct.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return mt(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||u?(t.setContentType("application/json",!1),function(e,t,n){if(ct.isString(e))try{return(t||JSON.parse)(e),ct.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||jt.transitional,n=t&&t.forcedJSONParsing,u="json"===this.responseType;if(ct.isResponse(e)||ct.isReadableStream(e))return e;if(e&&ct.isString(e)&&(n&&!this.responseType||u)){const n=!(t&&t.silentJSONParsing)&&u;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw pt.from(e,pt.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:xt.classes.FormData,Blob:xt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ct.forEach(["delete","get","head","post","put","patch"],e=>{jt.headers[e]={}});var Pt=jt;const Mt=ct.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Nt=Symbol("internals");function Tt(e,t){if(!1!==e&&null!=e)if(ct.isArray(e))e.forEach(e=>Tt(e,t));else if(!(e=>!/[\r\n]/.test(e))(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}function Lt(e){return e&&String(e).trim().toLowerCase()}function It(e){return!1===e||null==e?e:ct.isArray(e)?e.map(It):function(e){let t=e.length;for(;t>0;){const n=e.charCodeAt(t-1);if(10!==n&&13!==n)break;t-=1}return t===e.length?e:e.slice(0,t)}(String(e))}function qt(e,t,n,u,o){return ct.isFunction(u)?u.call(this,t,n):(o&&(t=n),ct.isString(t)?ct.isString(u)?-1!==t.indexOf(u):ct.isRegExp(u)?u.test(t):void 0:void 0)}class zt{constructor(e){e&&this.set(e)}set(e,t,n){const u=this;function o(e,t,n){const o=Lt(t);if(!o)throw new Error("header name must be a non-empty string");const r=ct.findKey(u,o);(!r||void 0===u[r]||!0===n||void 0===n&&!1!==u[r])&&(Tt(e,t),u[r||t]=It(e))}const r=(e,t)=>ct.forEach(e,(e,n)=>o(e,n,t));if(ct.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(ct.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,u,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),u=e.substring(o+1).trim(),!n||t[n]&&Mt[n]||("set-cookie"===n?t[n]?t[n].push(u):t[n]=[u]:t[n]=t[n]?t[n]+", "+u:u)}),t})(e),t);else if(ct.isObject(e)&&ct.isIterable(e)){let n,u,o={};for(const t of e){if(!ct.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[u=t[0]]=(n=o[u])?ct.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}r(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=Lt(e)){const n=ct.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let u;for(;u=n.exec(e);)t[u[1]]=u[2];return t}(e);if(ct.isFunction(t))return t.call(this,e,n);if(ct.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Lt(e)){const n=ct.findKey(this,e);return!(!n||void 0===this[n]||t&&!qt(0,this[n],n,t))}return!1}delete(e,t){const n=this;let u=!1;function o(e){if(e=Lt(e)){const o=ct.findKey(n,e);!o||t&&!qt(0,n[o],o,t)||(delete n[o],u=!0)}}return ct.isArray(e)?e.forEach(o):o(e),u}clear(e){const t=Object.keys(this);let n=t.length,u=!1;for(;n--;){const o=t[n];e&&!qt(0,this[o],o,e,!0)||(delete this[o],u=!0)}return u}normalize(e){const t=this,n={};return ct.forEach(this,(u,o)=>{const r=ct.findKey(n,o);if(r)return t[r]=It(u),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();i!==o&&delete t[o],t[i]=It(u),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ct.forEach(this,(n,u)=>{null!=n&&!1!==n&&(t[u]=e&&ct.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Nt]=this[Nt]={accessors:{}}).accessors,n=this.prototype;function u(e){const u=Lt(e);t[u]||(!function(e,t){const n=ct.toCamelCase(" "+t);["get","set","has"].forEach(u=>{Object.defineProperty(e,u+n,{value:function(e,n,o){return this[u].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[u]=!0)}return ct.isArray(e)?e.forEach(u):u(e),this}}zt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ct.reduceDescriptors(zt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),ct.freezeMethods(zt);var Ut=zt;function Ht(e,t){const n=this||Pt,u=t||n,o=Ut.from(u.headers);let r=u.data;return ct.forEach(e,function(e){r=e.call(n,r,o.normalize(),t?t.status:void 0)}),o.normalize(),r}function Vt(e){return!(!e||!e.__CANCEL__)}var Wt=class extends pt{constructor(e,t,n){super(null==e?"canceled":e,pt.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function $t(e,t,n){const u=n.config.validateStatus;n.status&&u&&!u(n.status)?t(new pt("Request failed with status code "+n.status,[pt.ERR_BAD_REQUEST,pt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Gt=(e,t,n=3)=>{let u=0;const o=function(e,t){e=e||10;const n=new Array(e),u=new Array(e);let o,r=0,i=0;return t=void 0!==t?t:1e3,function(s){const a=Date.now(),l=u[i];o||(o=a),n[r]=s,u[r]=a;let c=i,d=0;for(;c!==r;)d+=n[c++],c%=e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),a-o<t)return;const p=l&&a-l;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(e,t){let n,u,o=0,r=1e3/t;const i=(t,r=Date.now())=>{o=r,n=null,u&&(clearTimeout(u),u=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=r?i(e,t):(n=e,u||(u=setTimeout(()=>{u=null,i(n)},r-s)))},()=>n&&i(n)]}(n=>{const r=n.loaded,i=n.lengthComputable?n.total:void 0,s=r-u,a=o(s);u=r;e({loaded:r,total:i,progress:i?r/i:void 0,bytes:s,rate:a||void 0,estimated:a&&i&&r<=i?(i-r)/a:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})},n)},Kt=(e,t)=>{const n=null!=e;return[u=>t[0]({lengthComputable:n,total:e,loaded:u}),t[1]]},Jt=e=>(...t)=>ct.asap(()=>e(...t));var Qt=xt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,xt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(xt.origin),xt.navigator&&/(msie|trident)/i.test(xt.navigator.userAgent)):()=>!0,Xt=xt.hasStandardBrowserEnv?{write(e,t,n,u,o,r,i){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];ct.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),ct.isString(u)&&s.push(`path=${u}`),ct.isString(o)&&s.push(`domain=${o}`),!0===r&&s.push("secure"),ct.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function Zt(e,t,n){let u=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(u||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Yt=e=>e instanceof Ut?{...e}:e;function en(e,t){t=t||{};const n={};function u(e,t,n,u){return ct.isPlainObject(e)&&ct.isPlainObject(t)?ct.merge.call({caseless:u},e,t):ct.isPlainObject(t)?ct.merge({},t):ct.isArray(t)?t.slice():t}function o(e,t,n,o){return ct.isUndefined(t)?ct.isUndefined(e)?void 0:u(void 0,e,0,o):u(e,t,0,o)}function r(e,t){if(!ct.isUndefined(t))return u(void 0,t)}function i(e,t){return ct.isUndefined(t)?ct.isUndefined(e)?void 0:u(void 0,e):u(void 0,t)}function s(n,o,r){return r in t?u(n,o):r in e?u(void 0,n):void 0}const a={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t,n)=>o(Yt(e),Yt(t),0,!0)};return ct.forEach(Object.keys({...e,...t}),function(u){if("__proto__"===u||"constructor"===u||"prototype"===u)return;const r=ct.hasOwnProp(a,u)?a[u]:o,i=r(e[u],t[u],u);ct.isUndefined(i)&&r!==s||(n[u]=i)}),n}var tn=e=>{const t=en({},e);let{data:n,withXSRFToken:u,xsrfHeaderName:o,xsrfCookieName:r,headers:i,auth:s}=t;if(t.headers=i=Ut.from(i),t.url=Dt(Zt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),ct.isFormData(n))if(xt.hasStandardBrowserEnv||xt.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(ct.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&i.set(e,n)})}if(xt.hasStandardBrowserEnv&&(u&&ct.isFunction(u)&&(u=u(t)),u||!1!==u&&Qt(t.url))){const e=o&&r&&Xt.read(r);e&&i.set(o,e)}return t};var nn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const u=tn(e);let o=u.data;const r=Ut.from(u.headers).normalize();let i,s,a,l,c,{responseType:d,onUploadProgress:p,onDownloadProgress:f}=u;function h(){l&&l(),c&&c(),u.cancelToken&&u.cancelToken.unsubscribe(i),u.signal&&u.signal.removeEventListener("abort",i)}let g=new XMLHttpRequest;function b(){if(!g)return;const u=Ut.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());$t(function(e){t(e),h()},function(e){n(e),h()},{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:u,config:e,request:g}),g=null}g.open(u.method.toUpperCase(),u.url,!0),g.timeout=u.timeout,"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(b)},g.onabort=function(){g&&(n(new pt("Request aborted",pt.ECONNABORTED,e,g)),g=null)},g.onerror=function(t){const u=t&&t.message?t.message:"Network Error",o=new pt(u,pt.ERR_NETWORK,e,g);o.event=t||null,n(o),g=null},g.ontimeout=function(){let t=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const o=u.transitional||vt;u.timeoutErrorMessage&&(t=u.timeoutErrorMessage),n(new pt(t,o.clarifyTimeoutError?pt.ETIMEDOUT:pt.ECONNABORTED,e,g)),g=null},void 0===o&&r.setContentType(null),"setRequestHeader"in g&&ct.forEach(r.toJSON(),function(e,t){g.setRequestHeader(t,e)}),ct.isUndefined(u.withCredentials)||(g.withCredentials=!!u.withCredentials),d&&"json"!==d&&(g.responseType=u.responseType),f&&([a,c]=Gt(f,!0),g.addEventListener("progress",a)),p&&g.upload&&([s,l]=Gt(p),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",l)),(u.cancelToken||u.signal)&&(i=t=>{g&&(n(!t||t.type?new Wt(null,e,g):t),g.abort(),g=null)},u.cancelToken&&u.cancelToken.subscribe(i),u.signal&&(u.signal.aborted?i():u.signal.addEventListener("abort",i)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(u.url);m&&-1===xt.protocols.indexOf(m)?n(new pt("Unsupported protocol "+m+":",pt.ERR_BAD_REQUEST,e)):g.send(o||null)})};var un=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,u=new AbortController;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;u.abort(t instanceof pt?t:new Wt(t instanceof Error?t.message:t))}};let r=t&&setTimeout(()=>{r=null,o(new pt(`timeout of ${t}ms exceeded`,pt.ETIMEDOUT))},t);const i=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=u;return s.unsubscribe=()=>ct.asap(i),s}};const on=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let u,o=0;for(;o<n;)u=o+t,yield e.slice(o,u),o=u},rn=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},sn=(e,t,n,u)=>{const o=async function*(e,t){for await(const n of rn(e))yield*on(n,t)}(e,t);let r,i=0,s=e=>{r||(r=!0,u&&u(e))};return new ReadableStream({async pull(e){try{const{done:t,value:u}=await o.next();if(t)return s(),void e.close();let r=u.byteLength;if(n){let e=i+=r;n(e)}e.enqueue(new Uint8Array(u))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:an}=ct,ln=(({Request:e,Response:t})=>({Request:e,Response:t}))(ct.global),{ReadableStream:cn,TextEncoder:dn}=ct.global,pn=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},fn=e=>{e=ct.merge.call({skipUndefined:!0},ln,e);const{fetch:t,Request:n,Response:u}=e,o=t?an(t):"function"==typeof fetch,r=an(n),i=an(u);if(!o)return!1;const s=o&&an(cn),a=o&&("function"==typeof dn?(l=new dn,e=>l.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var l;const c=r&&s&&pn(()=>{let e=!1;const t=new cn,u=new n(xt.origin,{body:t,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return t.cancel(),e&&!u}),d=i&&s&&pn(()=>ct.isReadableStream(new u("").body)),p={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,n)=>{let u=t&&t[e];if(u)return u.call(t);throw new pt(`Response type '${e}' is not supported`,pt.ERR_NOT_SUPPORT,n)})});const f=async(e,t)=>{const u=ct.toFiniteNumber(e.getContentLength());return null==u?(async e=>{if(null==e)return 0;if(ct.isBlob(e))return e.size;if(ct.isSpecCompliantForm(e)){const t=new n(xt.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ct.isArrayBufferView(e)||ct.isArrayBuffer(e)?e.byteLength:(ct.isURLSearchParams(e)&&(e+=""),ct.isString(e)?(await a(e)).byteLength:void 0)})(t):u};return async e=>{let{url:o,method:i,data:s,signal:a,cancelToken:l,timeout:h,onDownloadProgress:g,onUploadProgress:b,responseType:m,headers:E,withCredentials:y="same-origin",fetchOptions:A}=tn(e),F=t||fetch;m=m?(m+"").toLowerCase():"text";let D=un([a,l&&l.toAbortSignal()],h),C=null;const v=D&&D.unsubscribe&&(()=>{D.unsubscribe()});let _;try{if(b&&c&&"get"!==i&&"head"!==i&&0!==(_=await f(E,s))){let e,t=new n(o,{method:"POST",body:s,duplex:"half"});if(ct.isFormData(s)&&(e=t.headers.get("content-type"))&&E.setContentType(e),t.body){const[e,n]=Kt(_,Gt(Jt(b)));s=sn(t.body,65536,e,n)}}ct.isString(y)||(y=y?"include":"omit");const t=r&&"credentials"in n.prototype,a={...A,signal:D,method:i.toUpperCase(),headers:E.normalize().toJSON(),body:s,duplex:"half",credentials:t?y:void 0};C=r&&new n(o,a);let l=await(r?F(C,A):F(o,a));const h=d&&("stream"===m||"response"===m);if(d&&(g||h&&v)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=l[t]});const t=ct.toFiniteNumber(l.headers.get("content-length")),[n,o]=g&&Kt(t,Gt(Jt(g),!0))||[];l=new u(sn(l.body,65536,n,()=>{o&&o(),v&&v()}),e)}m=m||"text";let B=await p[ct.findKey(p,m)||"text"](l,e);return!h&&v&&v(),await new Promise((t,n)=>{$t(t,n,{data:B,headers:Ut.from(l.headers),status:l.status,statusText:l.statusText,config:e,request:C})})}catch(t){if(v&&v(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new pt("Network Error",pt.ERR_NETWORK,e,C,t&&t.response),{cause:t.cause||t});throw pt.from(t,t&&t.code,e,C,t&&t.response)}}},hn=new Map,gn=e=>{let t=e&&e.env||{};const{fetch:n,Request:u,Response:o}=t,r=[u,o,n];let i,s,a=r.length,l=hn;for(;a--;)i=r[a],s=l.get(i),void 0===s&&l.set(i,s=a?new Map:fn(t)),l=s;return s};gn();const bn={http:null,xhr:nn,fetch:{get:gn}};ct.forEach(bn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const mn=e=>`- ${e}`,En=e=>ct.isFunction(e)||null===e||!1===e;var yn={getAdapter:function(e,t){e=ct.isArray(e)?e:[e];const{length:n}=e;let u,o;const r={};for(let i=0;i<n;i++){let n;if(u=e[i],o=u,!En(u)&&(o=bn[(n=String(u)).toLowerCase()],void 0===o))throw new pt(`Unknown adapter '${n}'`);if(o&&(ct.isFunction(o)||(o=o.get(t))))break;r[n||"#"+i]=o}if(!o){const e=Object.entries(r).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(mn).join("\n"):" "+mn(e[0]):"as no adapter specified";throw new pt("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:bn};function An(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Wt(null,e)}function Fn(e){An(e),e.headers=Ut.from(e.headers),e.data=Ht.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return yn.getAdapter(e.adapter||Pt.adapter,e)(e).then(function(t){return An(e),t.data=Ht.call(e,e.transformResponse,t),t.headers=Ut.from(t.headers),t},function(t){return Vt(t)||(An(e),t&&t.response&&(t.response.data=Ht.call(e,e.transformResponse,t.response),t.response.headers=Ut.from(t.response.headers))),Promise.reject(t)})}const Dn="1.15.0",Cn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Cn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const vn={};Cn.transitional=function(e,t,n){function u(e,t){return"[Axios v"+Dn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,r)=>{if(!1===e)throw new pt(u(o," has been removed"+(t?" in "+t:"")),pt.ERR_DEPRECATED);return t&&!vn[o]&&(vn[o]=!0,console.warn(u(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,r)}},Cn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var _n={assertOptions:function(e,t,n){if("object"!=typeof e)throw new pt("options must be an object",pt.ERR_BAD_OPTION_VALUE);const u=Object.keys(e);let o=u.length;for(;o-- >0;){const r=u[o],i=t[r];if(i){const t=e[r],n=void 0===t||i(t,r,e);if(!0!==n)throw new pt("option "+r+" must be "+n,pt.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new pt("Unknown option "+r,pt.ERR_BAD_OPTION)}},validators:Cn};const Bn=_n.validators;class wn{constructor(e){this.defaults=e||{},this.interceptors={request:new Ct,response:new Ct}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),u=-1===t?-1:n.indexOf("\n",t+1),o=-1===u?"":n.slice(u+1);String(e.stack).endsWith(o)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=en(this.defaults,t);const{transitional:n,paramsSerializer:u,headers:o}=t;void 0!==n&&_n.assertOptions(n,{silentJSONParsing:Bn.transitional(Bn.boolean),forcedJSONParsing:Bn.transitional(Bn.boolean),clarifyTimeoutError:Bn.transitional(Bn.boolean),legacyInterceptorReqResOrdering:Bn.transitional(Bn.boolean)},!1),null!=u&&(ct.isFunction(u)?t.paramsSerializer={serialize:u}:_n.assertOptions(u,{encode:Bn.function,serialize:Bn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),_n.assertOptions(t,{baseUrl:Bn.spelling("baseURL"),withXsrfToken:Bn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=o&&ct.merge(o.common,o[t.method]);o&&ct.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=Ut.concat(r,o);const i=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const n=t.transitional||vt;n&&n.legacyInterceptorReqResOrdering?i.unshift(e.fulfilled,e.rejected):i.push(e.fulfilled,e.rejected)});const a=[];let l;this.interceptors.response.forEach(function(e){a.push(e.fulfilled,e.rejected)});let c,d=0;if(!s){const e=[Fn.bind(this),void 0];for(e.unshift(...i),e.push(...a),c=e.length,l=Promise.resolve(t);d<c;)l=l.then(e[d++],e[d++]);return l}c=i.length;let p=t;for(;d<c;){const e=i[d++],t=i[d++];try{p=e(p)}catch(e){t.call(this,e);break}}try{l=Fn.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,c=a.length;d<c;)l=l.then(a[d++],a[d++]);return l}getUri(e){return Dt(Zt((e=en(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}ct.forEach(["delete","get","head","options"],function(e){wn.prototype[e]=function(t,n){return this.request(en(n||{},{method:e,url:t,data:(n||{}).data}))}}),ct.forEach(["post","put","patch"],function(e){function t(t){return function(n,u,o){return this.request(en(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:u}))}}wn.prototype[e]=t(),wn.prototype[e+"Form"]=t(!0)});var Sn=wn;class On{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const u=new Promise(e=>{n.subscribe(e),t=e}).then(e);return u.cancel=function(){n.unsubscribe(t)},u},e(function(e,u,o){n.reason||(n.reason=new Wt(e,u,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new On(function(t){e=t}),cancel:e}}}var kn=On;const xn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(xn).forEach(([e,t])=>{xn[t]=e});var Rn=xn;const jn=function e(t){const n=new Sn(t),u=Ee(Sn.prototype.request,n);return ct.extend(u,Sn.prototype,n,{allOwnKeys:!0}),ct.extend(u,n,null,{allOwnKeys:!0}),u.create=function(n){return e(en(t,n))},u}(Pt);jn.Axios=Sn,jn.CanceledError=Wt,jn.CancelToken=kn,jn.isCancel=Vt,jn.VERSION=Dn,jn.toFormData=mt,jn.AxiosError=pt,jn.Cancel=jn.CanceledError,jn.all=function(e){return Promise.all(e)},jn.spread=function(e){return function(t){return e.apply(null,t)}},jn.isAxiosError=function(e){return ct.isObject(e)&&!0===e.isAxiosError},jn.mergeConfig=en,jn.AxiosHeaders=Ut,jn.formToJSON=e=>Rt(ct.isHTMLForm(e)?new FormData(e):e),jn.getAdapter=yn.getAdapter,jn.HttpStatusCode=Rn,jn.default=jn;var Pn=jn;function Mn(e,t){return e?Object.keys(e).map(n=>{const u=t||n,o=e[n];return"object"==typeof o?Mn(o,u):`${encodeURIComponent(u)}=${encodeURIComponent(o)}`}).join("&"):""}function Nn(e,t){return Pn.get(encodeURI(e)+(t?(-1===e.search(/\?/)?"?":"&")+Mn(t):""),{timeout:1e4,method:"GET",headers:{Accept:"application/json"}}).then(e=>e.data)}function Tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,u)}return n}function Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tn(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function In(e,t,n,u,o,r,i,s){const a=e?e.trim():null;if(null==a||a.length<1||i&&!i.test(a))return Promise.resolve([]);const l=r||"https://api.digitransit.fi/geocoding/v1/search";let c=Ln(Ln(Ln({text:a},t),u),{},{lang:n});if(o&&(c=Ln(Ln({},c),{},{sources:o})),s){const e=s.toString();c=Ln(Ln({},c),{},{layers:e})}return Nn(l,c).then(e=>e.features)}function qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,u)}return n}function zn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qn(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Un(e,t){if(!e||e.length<1)return Promise.resolve([]);let n="";const u=e.map(e=>{const t="stop"===e.type?"stop":"station";let u=`gtfs${e.gtfsId.split(":")[0].toLowerCase()}:${t}:GTFS:${e.gtfsId}`;return e.code&&(u+=`#${e.code}`),n+=`${u},`,zn(zn({},e),{},{gid:u})}).reduce(function(e,t){return e[t.gid]=t,e},{});return Nn(t,{ids:n.slice(0,-1)}).then(e=>e.features.map(e=>({type:"FavouriteStop",properties:{addendum:e.properties.addendum,gid:u[e.properties.gid].gid,code:u[e.properties.gid].code,gtfsId:u[e.properties.gid].gtfsId,lastUpdated:u[e.properties.gid].lastUpdated,favouriteId:u[e.properties.gid].favouriteId,address:e.properties.label,layer:fe(e.properties)?"favouriteStop":"favouriteStation"},geometry:e.geometry})))}function Hn(e,t,n){let u=me(e,t,["properties.name","properties.label","properties.address","properties.shortName","properties.longName"]);return n&&(u=u.filter(e=>!n.includes(e.properties.layer))),Promise.resolve(O.default(u,10).map(e=>{const t=zn(zn({},e),{},{type:"OldSearch",timetableClicked:!1,arrowClicked:!1});return delete t.properties.confidence,t}))}const Vn=["route-TRAM","route-BUS","route-RAIL","route-FERRY","route-SUBWAY","route-AIRPLANE","route-FUNICULAR"],Wn=["venue","address","street"],$n=["carpark","bikepark"],Gn=["stop","station"];const Kn=w.default(function(e,t,n,u,o,r,{input:i},s,a,l){const{getPositions:c,getFavouriteLocations:d,getOldSearches:p,getFavouriteStops:f,parkingAreaSources:h,getLanguage:g,getStopAndStationsQuery:b,getFavouriteVehicleRentalStationsQuery:m,getFavouriteVehicleRentalStations:E,getFavouriteRoutesQuery:y,getFavouriteRoutes:A,getRoutesQuery:F,context:D,isPeliasLocationAware:C,minimalRegexp:v,lineRegexp:_,URL_PELIAS:B,URL_PELIAS_PLACE:w,feedIDs:k,geocodingSearchParams:x,geocodingSources:R,getFutureRoutes:j,cityBikeNetworks:P}=u,M=!e||0===e.length,N=!t||0===t.length,T=c(D),L=[],I={type:"all",term:i,results:[]},q=g(D),z=C&&null!=l&&l.lat&&null!=l&&l.lon?{"focus.point.lat":l.lat.toFixed(3),"focus.point.lon":l.lon.toFixed(3)}:{},U=n?n.split("-")[1]:void 0;if(e.includes("CurrentPosition")&&"geolocation-not-supported"!==T.status&&L.push(function(e,t){return"string"!=typeof e||0===e.length?Promise.resolve([{type:"CurrentLocation",address:t.address,lat:t.lat,lon:t.lon,properties:{labelId:"use-own-position",layer:"currentPosition",address:t.address,lat:t.lat,lon:t.lon},geometry:{type:"Point",coordinates:[t.lon,t.lat]}}]):Promise.resolve([])}(i,T)),(M||e.includes("MapPosition"))&&L.push(function(e){return"string"!=typeof e||0===e.length?Promise.resolve([{type:"SelectFromMap",address:"SelectFromMap",lat:null,lon:null,properties:{labelId:"select-from-map",layer:"selectFromMap",address:"SelectFromMap",lat:null,lon:null},geometry:{type:"Point",coordinates:[]}}]):Promise.resolve([])}(i)),e.includes("FutureRoutes")){const e=j(D);L.push(O.default(e,3))}if(e.includes("SelectFromOwnLocations")&&function(e){const t=e.getFavouriteLocations(e.context);if((null==t?void 0:t.length)>0)return!0;const n=e.getFavouriteVehicleRentalStations(e.context);if((null==n?void 0:n.length)>0)return!0;const u=e.getFavouriteStops(e.context);return(null==u?void 0:u.length)>0}(u)&&L.push(function(e){return"string"!=typeof e||0===e.length?Promise.resolve([{type:"SelectFromOwnLocations",address:"SelectFromOwnLocations",lat:null,lon:null,properties:{labelId:"select-from-own-locations",layer:"ownLocations",address:"selectFromOwnLocations",lat:null,lon:null},geometry:{type:"Point",coordinates:[]}}]):Promise.resolve([])}(i)),M||e.includes("Locations")){const n=x;if(t.includes("Favourite")){const e=d(D);L.push(function(e,t){return Promise.resolve(me(e,t,["address","name"]).map(e=>({type:"FavouritePlace",properties:zn(zn({},e),{},{label:e.name,layer:"favouritePlace"}),geometry:{type:"Point",coordinates:[e.lon,e.lat]}})))}(e,i)),t.includes("Back")&&L.push(Promise.resolve([{type:"back",address:"back",lat:null,lon:null,properties:{labelId:"back",layer:"back",address:"back",lat:null,lon:null},geometry:{type:"Point",coordinates:[]}}]))}if(N||t.includes("Datasource")){const t=["venue","address","street"];e.includes("Stations")&&t.push("station"),L.push(In(i,n,q,z,R.join(","),B,v,t))}if(N||t.includes("History")){const e=p(D,"endpoint"),t=["bikestation"];t.push(...Gn),t.push(...Vn),t.push(...$n),L.push(Hn(e,i,t))}}if(M||e.includes("ParkingAreas")){if(N||t.includes("Datasource")){const e=x;r&&10!==r&&(e.size=r);const t=["carpark","bikepark"],n=h?h.join(","):null;L.push(In(i,e,q,z,n,B,v,t).then(e=>o?o(e,U):e))}if(N||t.includes("History")){const e=p(D),t=["bikestation"];t.push(...Gn),t.push(...Vn),t.push(...Wn),L.push(Hn(e,i,t))}}const H=e.includes("Stops"),V=e.includes("Stations");if(M||H||V){if(t.includes("Favourite")){const e=f(D);let t;t=e.every(e=>"station"===e.type)?Un(e,w).then(e=>o?o(e,U):e):b(e).then(e=>Un(e,w)).then(e=>o?o(e,U):e),L.push(function(e,t,n,u){return e.then(e=>me(e.filter(e=>"stop"===e.type?n:u),t,["properties.name","properties.name","properties.address"]))}(t,i,H,V))}if(N||t.includes("Datasource")){const t=[];H&&t.push("stop"),V&&t.push("station");const n=r&&10!==r?{size:r}:{};x&&x["boundary.country"]&&(n["boundary.country"]=x["boundary.country"]),(M||e.includes("Locations"))&&(n.dedupestops=1);const u=k.map(e=>`gtfs${e}`).join(",");L.push(In(i,n,q,z,u,B,v,t).then(e=>o?o(e,U):e))}if(N||t.includes("History")){const e=p(D).filter(e=>!e.properties.gid||e.properties.gid.includes("GTFS:")),t=["bikestation"];t.push(...Vn),t.push(...Wn),t.push(...$n),H||t.push("stop"),V||t.push("station"),n?L.push(Hn(e,i,t).then(e=>o?o(e,U):e)):L.push(Hn(e,i,t))}}if(M||e.includes("Routes")){if(t.includes("Favourite")){const e=A(D);L.push(y(e,i,U,a).then(e=>o?o(e,U,"Routes"):e))}if(L.push(F(i,k,n,a).then(e=>o?o(e,U,"Routes"):e)),N||t.includes("History")){const e=p(D),t=["bikestation"];n&&t.push(...Vn.filter(e=>!(e===n))),t.push(...Gn),t.push(...Wn),t.push(...$n),L.push(Hn(e,i,t).then(e=>o?o(e,U,"Routes"):e))}}if(M||e.includes("VehicleRentalStations")){if(t.includes("Favourite")){const e=E(D);L.push(m(e,i))}if(N||t.includes("Datasource")){const e=["bikestation"],t=r&&10!==r?{size:r}:{};L.push(In(i,t,q,z,P.join(","),B,v,e).then(e=>o?o(e,U,"VehicleRentalStations"):e))}if(N||t.includes("History")){const e=p(D),t=[...Gn];t.push(...Vn),t.push(...Wn),t.push(...$n),L.push(Hn(e,i,t))}}Promise.all(L).then(S.default).then(e=>{I.results=e}).catch(e=>{I.error=e}).then(()=>{s(zn(zn({},I),{},{results:ge(_,I.results,i)}))})},300,{leading:!0}),Jn=h.createInstance({fallbackLng:"fi",resources:{de:{translation:{address:"Adresse","address-place-or-business":"Adress, Ort or Geschäft","add-via-button-label":"Füge Zwischenziel hinzu","add-via-duration-button-label":"Set stop duration at via point {{index}}","add-via-duration-button-label-close":"Close stop duration selector at via point {{index}}","add-via-duration-button-label-open":"Open stop duration selector at via point {{index}}",airplane:"Flug",arrival:"Ankunft",back:"Zurück",bikerentalstation:"Leihrad-Station",bus:"Bus",cancel:"Abbrechen","clear-button-label":"Löschen","clear-search-history":"Suchhistorie löschen",currentposition:"Aktuelle Position",delete:"Löschen","delete-old-searches-header":"Wollen Sie die Such-Historie löschen?",departure:"Abfahrt",destination:"Ziel","give-origin":"Start eingeben.","give-destination":"Ziel eingeben.",favourite:"Favoriten",ferry:"Fähre","future-route":"Zukünftige Verbindung",origin:"Start","origin-stop-near-you":"Start",ownlocations:"Eigene Favoriten",loading:"Laden...","minute-short":"min",rail:"Zug",search:"Suche","search-address-or-place":"Suche anhand von Adresse oder Ortsangabe","search-button-label":"Suche","search-destination":"Suche Zielort, Linie or Haltestelle","search-destination-index":"Zielort eingeben","search-destination-results-but-no-search":"Ergebnisse in “Zielort”-Reiter anzeigen","search-no-results":"Kein Ort gefunden.","search-origin":"Suche Startort, Linie oder Haltestelle","search-origin-index":"Startort eingeben","search-position":"Standort ermitteln","search-autosuggest-label":"Venue, place and stopsearch.","search-autosuggest-label-instructions-desktop":"Navigate list with arrow keys and select with enter key.","search-autosuggest-label-instructions-mobile":"Enter the location and navigate in the list by swiping.","search-autosuggest-label-move-to-destination":"After selecting the starting location you are automatically moved to the destination field.","search-autosuggest-len":"There is {{count}} suggestion available","search-autosuggest-len_plural":"There are {{count}} suggestions available","search-current-suggestion":"Aktuelle Auswahl: {{selection}}",street:"Straße",subway:"U-Bahn",station:"Station",stop:"Haltestelle","stop-near-you":"Suche Haltestellen und Linien in der Nähe","stop-near-you-bus":"Suche Buslinien or Haltestellen","stop-near-you-citybike":"Suche Leihrad-Stationen","stop-near-you-rail":"Suche Zugverbindungen oder Bahnhöfe","stop-near-you-subway":"Suche U-Bahn-Linien oder Haltestellen","stop-near-you-tram":"Suche Stadtbahn-Haltestellen-Suche","today-at":"Heute um","tomorrow-at":"Morgen um",tram:"Straßenbahn","use-own-position":"Benutze aktuellen Standort","select-from-map":"Wähle Position anhand Karte","select-from-own-locations":"Aus eigenen Favoriten auswählen",venue:"Venue","via-point":"Zwischenziel",where:"Wohin?",place:"Ort"}},en:{translation:{address:"Address","address-place-or-business":"Address, place or business","add-via-button-label":"Add via point","add-via-duration-button-label":"Set stop duration at via point {{index}}","add-via-duration-button-label-close":"Close stop duration selector at via point {{index}}","add-via-duration-button-label-open":"Open stop duration selector at via point {{index}}",airplane:"Flight",arrival:"Arrival",back:"Back",bikepark:"Park & Ride for bikes",bikerentalstation:"Bike station",bus:"bus",cancel:"Cancel",carpark:"Park & Ride","clear-button-label":"Clear","clear-search-history":"Clear search history",currentposition:"Current position",delete:"Delete","delete-old-searches-header":"Do you want to clear the search history?",departure:"Departure",destination:"Destination","give-origin":"Enter your origin.","give-destination":"Enter your destination",favourite:"Favourite",ferry:"Ferry","future-route":"Future route",origin:"Start","origin-stop-near-you":"Start",ownlocations:"Own locations",loading:"Loading...","minute-short":"m",platform:"Platform",rail:"Train",required:"required field",search:"Search","search-address-or-place":"Search by address or place name","search-button-label":"Search","search-destination":"Search destination, route or stop","search-destination-index":"Enter destination","search-destination-results-but-no-search":"View results in the adjacent “Destination” tab","search-no-results":"No location","search-origin":"Search origin, route or stop","search-origin-index":"Enter origin","search-position":"Detect location","search-autosuggest-label":"Venue, place and stopsearch.","search-autosuggest-label-instructions-desktop":"Navigate list with arrow keys and select with enter key.","search-autosuggest-label-instructions-mobile":"Enter the location and navigate in the list by swiping.","search-autosuggest-label-move-to-destination":"After selecting the starting location you are automatically moved to the destination field.","search-autosuggest-len":"There is {{count}} suggestion available","search-autosuggest-len_plural":"There are {{count}} suggestions available","search-current-suggestion":"Current selection: {{selection}}",street:"Street",subway:"Metro",station:"Station",stop:"Stop","stop-near-you":"Search stops and routes","stop-near-you-airplane":"Search flights or airports","stop-near-you-bikepark":"Search bike parks","stop-near-you-bus":"Search bus routes or stops","stop-near-you-carpark":"Search car parks","stop-near-you-citybike":"Search city bike stations","stop-near-you-rail":"Search train routes or stations","stop-near-you-subway":"Search metro routes or stations ","stop-near-you-tram":"Search tram routes or stops","stop-route-station":"Bus and stop search","today-at":"today at","tomorrow-at":"tomorrow at",tram:"Tram",track:"Track","use-own-position":"Use current location","select-from-map":"Select position from map","select-from-own-locations":"Select from own locations",venue:"Venue","via-point":"Via point",where:"Where to?",place:"Location"}},fi:{translation:{address:"Osoite","address-place-or-business":"Osoite, paikka tai yritys","add-via-button-label":"Lisää välipiste","add-via-duration-button-label":"Aseta välipisteelle {{index}} pysähdyksen kesto","add-via-duration-button-label-close":"Avaa välipisteen {{index}} pysähdyksen kesto valitsin","add-via-duration-button-label-open":"Sulje välipisteen {{index}} pysähdyksen kesto valitsin",airplane:"Lentokone",arrival:"Perillä",back:"Takaisin",vehiclerentalstation:"Pyöräasema",bikepark:"Liityntäpysäköinti",bus:"bussi",cancel:"Peruuta",carpark:"Liityntäpysäköinti","clear-button-label":"Tyhjennä","clear-search-history":"Tyhjennä hakuhistoria",currentposition:"Tämänhetkinen sijainti",delete:"Poista","delete-old-searches-header":"Haluatko tyhjentää hakuhistorian?",departure:"Lähtöaika",destination:"Määränpää",favourite:"Suosikki",ferry:"Lautta","future-route":"Tuleva reitti","give-origin":"Lähtöpaikka","give-destination":"Määränpää",origin:"Lähtöpaikka","origin-stop-near-you":"Lähtöpaikka",ownlocations:"Omat paikat",loading:"Ladataan...","minute-short":"min",platform:"Laituri",rail:"Juna",required:"pakollinen kenttä",search:"Etsi","search-address-or-place":"Hae osoitteella tai paikan nimellä","search-button-label":"Hae","search-destination":"Hae määränpäätä, linjaa tai pysäkkiä","search-destination-index":"Syötä määränpää","search-destination-results-but-no-search":"Katso tulokset viereiseltä Määränpää-välilehdeltä","search-no-results":"Ei tuloksia","search-origin":"Hae lähtöpaikkaa, linjaa tai pysäkkiä","search-origin-index":"Syötä lähtöpaikka","search-autosuggest-label":"Paikka, linja ja pysäkkihaku.","search-autosuggest-label-instructions-desktop":"Navigoi listassa nuolinäppäimillä ja valitse enterillä.","search-autosuggest-label-instructions-mobile":"Syötä sijainti ja navigoi listassa pyyhkäisemällä.","search-autosuggest-label-move-to-destination":"Valittuasi lähtöpaikan siirrytään suoraan määränpää-kenttään.","search-autosuggest-len":" Löydettiin {{count}} ehdotus","search-autosuggest-len_plural":" Löydettiin {{count}} ehdotusta","search-current-suggestion":"Tämänhetkinen valinta: {{selection}}","search-position":"Paikanna",street:"Katu",subway:"Metro",station:"Asema",stop:"Pysäkki","stop-near-you":"Linja, pysäkki tai asema","stop-near-you-airplane":"Hae lentoja tai lentoasemaa","stop-near-you-bikepark":"Hae pyöräparkkia","stop-near-you-bus":"Hae bussilinjaa tai pysäkkiä","stop-near-you-carpark":"Hae autoparkkia","stop-near-you-citybike":"Hae kaupunkipyöräasemaa","stop-near-you-rail":"Hae lähijunaa tai asemaa","stop-near-you-subway":"Hae metrolinjaa tai asemaa","stop-near-you-tram":"Hae raitiolinjaa tai pysäkkiä","stop-route-station":"Linja- ja pysäkkihaku","today-at":"tänään klo","tomorrow-at":"huomenna klo",tram:"Raitiovaunu",track:"Raide","use-own-position":"Käytä nykyistä sijaintia","select-from-map":"Valitse sijainti kartalta","select-from-own-locations":"Valitse omista paikoista",venue:"Paikka","via-point":"Välipiste",where:"Minne mennään?",place:"Paikka"}},pl:{translation:{address:"Adres","address-place-or-business":"Adres, miejsce lub firma","add-via-button-label":"Dodaj punkt pośredni","add-via-duration-button-label":"Wybierz czas postoju dla punktu {{index}}","add-via-duration-button-label-close":"Zamknij wybornik czasu postoju w punkcie {{index}}","add-via-duration-button-label-open":"Otwórz wybornik czasu postoju w punkcie {{index}}",airplane:"Lot",arrival:"Przyjazd",back:"Wróć",bikepark:"Parkuj i Jedź dla rowerów",bikerentalstation:"Stacja rowerowa",bus:"autobus",cancel:"Anuluj",carpark:"Parkuj i Jedź","clear-button-label":"Wyczyść","clear-search-history":"Wyczyść historię wyszukiwania",currentposition:"Obecne położenie",delete:"Usuń","delete-old-searches-header":"Czy na pewno chcesz wyczyścić historię wyszukiwania?",departure:"Odjazd",destination:"Cel","give-origin":"Wprowadź swój punkt początkowy.","give-destination":"Wprowadź swój cel",favourite:"Ulubione",ferry:"Prom","future-route":"Przyszła trasa",origin:"Początek","origin-stop-near-you":"Początek",ownlocations:"Własne miejsca",loading:"Ładowanie…","minute-short":"min.",platform:"Peron",rail:"Pociąg",required:"wymagane pole",search:"Szukaj","search-address-or-place":"Szukaj po adresie lub nazwie miejsca","search-button-label":"Szukaj","search-destination":"Szukaj celu, trasy lub przystanku","search-destination-index":"Wprowadź punkt docelowy","search-destination-results-but-no-search":"Wyświetl wyniki w sąsiedniej karcie „Cel”","search-no-results":"Brak lokalizacji","search-origin":"Wyszukaj początek, koniec lub punkt pośredni","search-origin-index":"Wprowadź punkt początkowy","search-position":"Wykryj lokalizację","search-autosuggest-label":"Miejsce, lokalizacja i przystanek.","search-autosuggest-label-instructions-desktop":"Nawiguj po liście używając strzałek i wybieraj klawiszem Enter.","search-autosuggest-label-instructions-mobile":"Wprowadź lokalizację i nawiguj po liście gestami przesuwania.","search-autosuggest-label-move-to-destination":"Po wybraniu lokalizacji początkowej, automatycznie przejdziesz do pola miejsca docelowego.","search-autosuggest-len":"Dostępna jest {{count}} propozycja","search-autosuggest-len_few":"Dostępne są {{count}} propozycje","search-autosuggest-len_other":"Dostępne jest {{count}} propozycji","search-current-suggestion":"Obecny wybór: {{selection}}",street:"Ulica",subway:"Metro",station:"Stacja",stop:"Przystanek","stop-near-you":"Szukaj przystanków i tras","stop-near-you-airplane":"Szukaj lotów i lotnisk","stop-near-you-bus":"Szukaj tras autobusowych i przystanków","stop-near-you-citybike":"Szukaj stacji rowerów miejskich","stop-near-you-rail":"Szukaj tras kolejowych i przystanków","stop-near-you-subway":"Szukaj tras metra i przystanków ","stop-near-you-tram":"Szukaj tras tramwajowych i przystanków","stop-route-station":"Wyszukiwanie autobusów i przystanków","today-at":"dziś o","tomorrow-at":"jutro o",tram:"Tramwaj",track:"Tor","use-own-position":"Użyj obecnej lokalizacji","select-from-map":"Wybierz miejsce na mapie","select-from-own-locations":"Wybierz z własnych miejsc",venue:"Miejsce","via-point":"Przez punkt",where:"Dokąd?",place:"Miejsce"}},sv:{translation:{address:"Adress","address-place-or-business":"Adress, plats eller företag","add-via-button-label":"Lägg till viapunkt","add-via-duration-button-label":"Ställ in varaktighet för viapunkten {{index}}","add-via-duration-button-label-close":"Stäng väljaren för varaktighet vid via-punkten {{index}}","add-via-duration-button-label-open":"Öppna väljaren för varaktighet vid via-punkten {{index}}",airplane:"Flyg",arrival:"Anländer",back:"Tillbaka",bikerentalstation:"Stadscykelstation",bikepark:"Anslutningsparkering för cyklar",bus:"Bussi",cancel:"Avbryt",carpark:"Infartsparkering","clear-button-label":"Töm","clear-search-history":"Töm sökhistoriken",currentposition:"Nuvarande position",delete:"Ta bort","delete-old-searches-header":"Vill du tömma sökhistoriken?",departure:"Avgångstid",destination:"Destination",favourite:"Favorit",ferry:"Färja","future-route":"Framtida rutt","give-destination":"Skriv in din destination","give-origin":"Skriv in din avfärdsplats",origin:"Avfärdsplats","origin-stop-near-you":"Avfärdsplats",ownlocations:"Egna platser",loading:"Laddar...","minute-short":"min",platform:"Plattform",rail:"Tåg",required:"obligatoriskt fält",search:"Sök","search-address-or-place":"Sök med adressen eller platsens namn","search-button-label":"Sök","search-destination":"Sök destination, linje eller hållplats","search-destination-index":"Skriv destination","search-destination-results-but-no-search":"Se resultaten under fliken Destination","search-no-results":"Inga sökresultat","search-origin":"Sök avfärdsplats, linje eller hållplats","search-origin-index":"Skriv avfärdsplats","search-position":"Sök position","search-autosuggest-label":"Plats, linje och hållplatssökning.","search-autosuggest-label-instructions-desktop":"Navigera listan med piltangenterna och välj med Enter-tangeten.","search-autosuggest-label-instructions-mobile":"Ange platsen och navigera i listan genom att svepa.","search-autosuggest-label-move-to-destination":"Efter att du valt avgångsplatsen tas du direkt till Destination-fältet.","search-autosuggest-len":"Hittade {{count}} förslag","search-current-suggestion":"Nuvarande val: {{selection}}",street:"Gata",subway:"Metro",station:"Station",stop:"Hållplats","stop-near-you":"Sök hållplatser eller linjer","stop-near-you-airplane":"Sök flyg eller flygplatser","stop-near-you-bikepark":"Sök cykelparkering","stop-near-you-bus":"Sök busslinjer eller hållplatser","stop-near-you-carpark":"Sök anslutningsparkering","stop-near-you-citybike":"Sök stadscykelstationer","stop-near-you-rail":"Sök närtåger eller stationer","stop-near-you-subway":"Sök metrolinjer eller stationer","stop-near-you-tram":"Sök spårvagnlinjer eller hållplatser","stop-route-station":"Buss och stopp sökningen","today-at":"i dag kl","tomorrow-at":"i morgon",tram:"Spårvagn",track:"Spår","use-own-position":"Använd min position","select-from-map":"Välj position från kartan","select-from-own-locations":"Välj från egna platser",venue:"Mötesplats","via-point":"Via punkt",where:"Vart vill du åka?",place:"Plats"}}},defaultNS:"translation",react:{useSuspense:!0}});function Qn(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var u=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&u.firstChild?u.insertBefore(o,u.firstChild):u.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Jn.init();var Xn={container:"styles_container__CyBuz",input:"styles_input__x7Oye",favourite:"styles_favourite__xn1Du",thin:"styles_thin__ToA7-",hasValue:"styles_hasValue__qkIFF",suggestionsContainerOpen:"styles_suggestionsContainerOpen__1odqA",suggestionsContainer:"styles_suggestionsContainer__-FUbj",suggestionsList:"styles_suggestionsList__e-mac",suggestion:"styles_suggestion__oCpdb",suggestionHighlighted:"styles_suggestionHighlighted__vdJIb","autosuggest-input-container":"styles_autosuggest-input-container__C4ks3",origin:"styles_origin__J6GD2",destination:"styles_destination__yOA4k","stop-route-station":"styles_stop-route-station__ofvbR","autosuggest-input-icon":"styles_autosuggest-input-icon__-XA83","origin-stop-near-you":"styles_origin-stop-near-you__Vq9IO","clear-input":"styles_clear-input__KFeWb","sr-only":"styles_sr-only__FIitE"};Qn("input[type=text] {\n margin: 0;\n}\n\n.styles_container__CyBuz {\n display: flex;\n width: 100%;\n}\n.styles_container__CyBuz .styles_input__x7Oye.styles_favourite__xn1Du {\n padding-left: 47px;\n}\n.styles_container__CyBuz .styles_input__x7Oye.styles_thin__ToA7- {\n height: 34px;\n}\n.styles_container__CyBuz .styles_input__x7Oye {\n font-size: 16px;\n font-family: var(--font-family);\n display: flex;\n width: 100%;\n height: 44px;\n border-radius: 5px;\n border: solid 1px #888;\n background-color: #fff;\n padding-left: 50px;\n padding-right: 44px;\n line-height: 1.2;\n letter-spacing: -0.5px;\n color: #333;\n box-sizing: border-box;\n -webkit-appearance: none;\n appearance: none;\n}\n.styles_container__CyBuz .styles_input__x7Oye:focus {\n background: #fff;\n outline: none;\n border: solid 1px var(--color);\n box-shadow: 0 0 2px 1px var(--hover-color);\n}\n@media screen and (min-width: 768px) {\n .styles_container__CyBuz .styles_input__x7Oye {\n font-size: 15px;\n height: 44px;\n padding-left: 49px;\n }\n}\n.styles_container__CyBuz .styles_input__x7Oye::-webkit-input-placeholder {\n color: #666;\n opacity: 1;\n font-size: 15px;\n}\n.styles_container__CyBuz .styles_input__x7Oye::placeholder {\n color: #666;\n opacity: 1;\n font-size: 15px;\n}\n\n.styles_hasValue__qkIFF {\n color: #333;\n}\n\n.styles_suggestionsContainerOpen__1odqA {\n width: 100%;\n max-height: 44vh;\n border-radius: 5px;\n box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.06);\n border: solid 1px rgba(0, 0, 0, 0.1);\n overflow-x: hidden;\n overflow-y: scroll;\n position: absolute;\n background-color: white;\n top: calc(2.625rem + 9px);\n z-index: 20;\n}\n\n.styles_suggestionsContainer__-FUbj {\n background-color: white;\n z-index: 20;\n}\n.styles_suggestionsContainer__-FUbj .styles_suggestionsList__e-mac {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n background: white;\n}\n.styles_suggestionsContainer__-FUbj .styles_suggestionsList__e-mac li:hover {\n background: #f2f5f7;\n}\n\n.styles_suggestion__oCpdb {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n cursor: pointer;\n list-style: none;\n display: block;\n overflow-x: hidden;\n overflow-y: hidden;\n white-space: nowrap;\n z-index: 20;\n}\n\n.styles_suggestionHighlighted__vdJIb {\n background-color: #f2f5f7;\n}\n\n.styles_autosuggest-input-container__C4ks3 {\n position: relative;\n width: 100%;\n}\n.styles_autosuggest-input-container__C4ks3.styles_origin__J6GD2 {\n z-index: 16;\n}\n.styles_autosuggest-input-container__C4ks3.styles_destination__yOA4k {\n z-index: 10;\n}\n.styles_autosuggest-input-container__C4ks3.styles_stop-route-station__ofvbR {\n z-index: 9;\n}\n\n.styles_autosuggest-input-icon__-XA83 {\n display: flex;\n position: absolute;\n align-items: center;\n width: 16px;\n height: 100%;\n margin-top: 0;\n margin-left: 19px;\n}\n.styles_autosuggest-input-icon__-XA83 svg {\n width: 16px;\n height: 24px;\n}\n.styles_autosuggest-input-icon__-XA83.styles_origin__J6GD2 svg {\n color: #4ea700;\n fill: #4ea700;\n width: 16px;\n height: 16px;\n}\n.styles_autosuggest-input-icon__-XA83.styles_destination__yOA4k svg {\n fill: #ec5188;\n width: 16px;\n height: 24px;\n}\n.styles_autosuggest-input-icon__-XA83.styles_stop-route-station__ofvbR svg, .styles_autosuggest-input-icon__-XA83.styles_favourite__xn1Du svg {\n fill: #888;\n width: 16px;\n height: 16px;\n}\n.styles_autosuggest-input-icon__-XA83.styles_origin-stop-near-you__Vq9IO svg {\n fill: #888;\n width: 16px;\n height: 16px;\n}\n\nbutton.styles_clear-input__KFeWb {\n display: flex;\n position: absolute;\n padding: 14px 0;\n right: 0;\n width: 44px;\n height: 100%;\n color: var(--color);\n outline: none;\n border: 0;\n margin: 0;\n justify-content: center;\n text-align: left;\n background: none;\n border-style: none;\n border-width: 0;\n cursor: pointer;\n font-family: inherit;\n background-color: transparent;\n transition: none;\n}\nbutton.styles_clear-input__KFeWb svg {\n fill: var(--color);\n width: 16px;\n height: 16px;\n}\nbutton.styles_clear-input__KFeWb:focus {\n background-color: transparent;\n color: inherit;\n /* First apply outline that is used in Edge and Firefox */\n /* Then override outline for webkit browsers like Chrome, this has no effect on other browsers */\n outline: 5px auto -webkit-focus-ring-color;\n}\nbutton.styles_clear-input__KFeWb:active {\n background-color: transparent;\n color: inherit;\n}\nbutton.styles_clear-input__KFeWb:hover {\n background-color: transparent;\n color: inherit;\n}\n\n.styles_sr-only__FIitE:not(:focus, :active) {\n clip: rect(0 0 0 0);\n -webkit-clip-path: inset(50%);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}");const Zn=e=>e.localadmin||e.localadmin||e.address&&e.address.lastIndexOf(",")<e.address.length-2&&e.address.substring(e.address.lastIndexOf(",")+2)||"",Yn=({id:e,code:t})=>t||(void 0!==e&&void 0!==e.indexOf&&-1!==e.indexOf("#")?e.substring(e.indexOf("#")+1):void 0),eu=M.default((e,t=!1)=>{switch(e.layer){case"currentPosition":return[e.labelId,e.address];case"selectFromMap":case"ownLocations":case"back":return[e.labelId];case"favouritePlace":return n=e.name,u=e.address,[n||u&&u.split(",")[0],"string"==typeof u?u.replace(new RegExp(`${N.default(n)}([ ,]|$)+`),""):""];case"favouriteVehicleRentalStation":case"bikestation":return[e.name];case"favouriteRoute":case"route-BUS":case"route-TRAM":case"route-RAIL":case"route-SUBWAY":case"route-FERRY":case"route-FUNICULAR":case"route-AIRPLANE":return!t&&e.shortName?[e.gtfsId,e.mode.toLowerCase(),e.longName]:[e.shortName,e.longName,e.agency?e.agency.name:void 0];case"venue":case"address":case"street":return[e.name,e.label.replace(new RegExp(`${N.default(e.name)}(,)?( )?`),"")];case"favouriteStop":case"stop":return t?[e.name||e.label||e.address&&e.address.split(",")[0],Zn(e)]:[e.name,e.id,Yn(e),Zn(e)];default:return[e.name||e.label||e.address&&e.address.split(",")[0],Zn(e)]}var n,u},(e,t)=>{const n=T.default(e);return n.plain=t,n});const tu=e=>{const t=e&&(e.key||e.which||e.keyCode)||"";return!(!t||![13," ","Spacebar"].concat([32,"Enter"]).includes(t))&&(e.preventDefault(),!0)},nu=e=>"origin"===e||"destination"===e||"via-point"===e||"origin-stop-near-you"===e,uu=(e,t,n)=>{if(!n)return;if(!e||!e.GTFS.platform)return;const{modes:u,platform:o}=e.GTFS;return[u&&"RAIL"===u[0]?n("track",{lng:t}):n("platform",{lng:t}),o]};function ou(e,t,n){if(!n)return;if("FutureRoute"!==e.type){if("SelectFromMap"===e.type)return["",n("select-from-map",{lng:t})];if("CurrentLocation"===e.type)return["",n("use-own-position",{lng:t})];if("SelectFromOwnLocations"===e.type)return["",n("select-from-own-locations",{lng:t})];let o,[r,i]=eu(e.properties,!0);if(e.properties.layer.toLowerCase().includes("bikerental")||e.properties.layer.toLowerCase().includes("bikestation")){o=n("vehiclerentalstation",{lng:t});return[o,r,void 0,e.properties.labelId]}if("bikepark"===e.properties.layer)return o=n("bikepark",{lng:t}),[o,r,void 0,void 0];if("carpark"===e.properties.layer)return o=n("carpark",{lng:t}),[o,r,void 0,void 0];if(e.properties.mode)o=n(e.properties.mode.toLowerCase().replace("favourite",""),{lng:t});else{o=n(e.properties.layer.replace("route-","").toLowerCase().replace("favourite",""),{lng:t})}if(e.properties.id&&("stop"===e.properties.layer||"station"===e.properties.layer)){var u;const s=Yn(e.properties),a=null===(u=e.properties.addendum)||void 0===u?void 0:u.GTFS.modes,l=uu(e.properties.addendum,t,n);return[o,be(r,s),i,s,a,l]}if("favouriteStop"===e.properties.layer||"favouriteStation"===e.properties.layer){const{address:n,code:u}=e.properties;return[o,n?be(n.split(",")[0],u):r,i,u,void 0,uu(e.properties.addendum,t)]}return[o,r,i]}const{origin:o,destination:r}=e.properties,i=o.locality?`, ${o.locality} foobar`:"",s=r.locality?`, ${r.locality}`:"",a=o.name,l=r.name;return[n("future-route",{lng:t}),`${n("origin",{lng:t})} ${a}${i} ${n("destination",{lng:t})} ${l}${s}`,e.translatedText]}function ru(e,t,n){if(!n)return;const u=y.DateTime.fromSeconds(Number(e.properties.time)),o=y.DateTime.now();let r=e.properties.arriveBy?n("arrival",{lng:t}):n("departure",{lng:t});return r=u.hasSame(o,"day")?`${r} ${n("today-at")}`:u.hasSame(o.plus({days:1}),"day")?`${r} ${n("tomorrow-at",{lng:t})}`:`${r} ${u.toFormat("ccc d.L.")}`,r=`${r} ${u.toFormat("HH:mm")}`,r}const iu=e=>"SelectFromOwnLocations"===e.type||"back"===e.type?"":function(e){const t=eu(e,!0);switch(e.layer){case"selectFromMap":case"currentPosition":case"ownLocations":case"back":return t[1]||t[0];case"favouriteVehicleRentalStation":case"favouritePlace":return t[0];default:return t.length>1&&""!==t[1]?t.join(", "):t[1]||t[0]}}(e.properties),su=({suggestions:e,t:t,lng:n})=>{let u=[];const o=e[0];return o&&(o.type&&o.type.includes("Favourite")&&u.push(t("favourite",{lng:n})),u=u.concat(ou(e[0],n))),[...new Set(u)].join(" - ")};function au(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lu,cu={exports:{}};
|
|
2
|
-
/*! For license information please see index.js.LICENSE.txt */var du=(lu||(lu=1,function(e){var t;"undefined"!=typeof self&&self,e.exports=(t=_.default,function(){var e={888:function(e,t,n){var u,o;o=void 0!==n.g?n.g:"undefined"!=typeof window?window:this,u=function(){return function(e){var t={ignore:"[data-scroll-ignore]",header:null,topOnEmptyHash:!0,speed:500,speedAsDuration:!1,durationMax:null,durationMin:null,clip:!0,offset:0,easing:"easeInOutCubic",customEasing:null,updateURL:!0,popstate:!0,emitEvents:!0},n=function(){var e={};return Array.prototype.forEach.call(arguments,function(t){for(var n in t){if(!t.hasOwnProperty(n))return;e[n]=t[n]}}),e},u=function(e){"#"===e.charAt(0)&&(e=e.substr(1));for(var t,n=String(e),u=n.length,o=-1,r="",i=n.charCodeAt(0);++o<u;){if(0===(t=n.charCodeAt(o)))throw new InvalidCharacterError("Invalid character: the input contains U+0000.");r+=t>=1&&t<=31||127==t||0===o&&t>=48&&t<=57||1===o&&t>=48&&t<=57&&45===i?"\\"+t.toString(16)+" ":t>=128||45===t||95===t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122?n.charAt(o):"\\"+n.charAt(o)}return"#"+r},o=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},r=function(t){return t?(n=t,parseInt(e.getComputedStyle(n).height,10)+t.offsetTop):0;var n},i=function(t,n,u){0===t&&document.body.focus(),u||(t.focus(),document.activeElement!==t&&(t.setAttribute("tabindex","-1"),t.focus(),t.style.outline="none"),e.scrollTo(0,n))},s=function(t,n,u,o){if(n.emitEvents&&"function"==typeof e.CustomEvent){var r=new CustomEvent(t,{bubbles:!0,detail:{anchor:u,toggle:o}});document.dispatchEvent(r)}};return function(a,l){var c,d,p,f,h={cancelScroll:function(e){cancelAnimationFrame(f),f=null,e||s("scrollCancel",c)},animateScroll:function(u,a,l){h.cancelScroll();var d=n(c||t,l||{}),g="[object Number]"===Object.prototype.toString.call(u),b=g||!u.tagName?null:u;if(g||b){var m=e.pageYOffset;d.header&&!p&&(p=document.querySelector(d.header));var E,y,A,F=r(p),D=g?u:function(t,n,u,r){var i=0;if(t.offsetParent)do{i+=t.offsetTop,t=t.offsetParent}while(t);return i=Math.max(i-n-u,0),r&&(i=Math.min(i,o()-e.innerHeight)),i}(b,F,parseInt("function"==typeof d.offset?d.offset(u,a):d.offset,10),d.clip),C=D-m,v=o(),_=0,B=function(e,t){var n=t.speedAsDuration?t.speed:Math.abs(e/1e3*t.speed);return t.durationMax&&n>t.durationMax?t.durationMax:t.durationMin&&n<t.durationMin?t.durationMin:parseInt(n,10)}(C,d),w=function(t){E||(E=t),_+=t-E,A=m+C*function(e,t){var n;return"easeInQuad"===e.easing&&(n=t*t),"easeOutQuad"===e.easing&&(n=t*(2-t)),"easeInOutQuad"===e.easing&&(n=t<.5?2*t*t:(4-2*t)*t-1),"easeInCubic"===e.easing&&(n=t*t*t),"easeOutCubic"===e.easing&&(n=--t*t*t+1),"easeInOutCubic"===e.easing&&(n=t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1),"easeInQuart"===e.easing&&(n=t*t*t*t),"easeOutQuart"===e.easing&&(n=1- --t*t*t*t),"easeInOutQuart"===e.easing&&(n=t<.5?8*t*t*t*t:1-8*--t*t*t*t),"easeInQuint"===e.easing&&(n=t*t*t*t*t),"easeOutQuint"===e.easing&&(n=1+--t*t*t*t*t),"easeInOutQuint"===e.easing&&(n=t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t),e.customEasing&&(n=e.customEasing(t)),n||t}(d,y=(y=0===B?0:_/B)>1?1:y),e.scrollTo(0,Math.floor(A)),function(t,n){var o=e.pageYOffset;if(t==n||o==n||(m<n&&e.innerHeight+o)>=v)return h.cancelScroll(!0),i(u,n,g),s("scrollStop",d,u,a),E=null,f=null,!0}(A,D)||(f=e.requestAnimationFrame(w),E=t)};0===e.pageYOffset&&e.scrollTo(0,0),function(e,t,n){t||history.pushState&&n.updateURL&&history.pushState({smoothScroll:JSON.stringify(n),anchor:e.id},document.title,e===document.documentElement?"#top":"#"+e.id)}(u,g,d),"matchMedia"in e&&e.matchMedia("(prefers-reduced-motion)").matches?i(u,Math.floor(D),!1):(s("scrollStart",d,u,a),h.cancelScroll(!0),e.requestAnimationFrame(w))}}},g=function(t){if(!t.defaultPrevented&&!(0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey)&&"closest"in t.target&&(d=t.target.closest(a))&&"a"===d.tagName.toLowerCase()&&!t.target.closest(c.ignore)&&d.hostname===e.location.hostname&&d.pathname===e.location.pathname&&/#/.test(d.href)){var n,o;try{n=u(decodeURIComponent(d.hash))}catch(e){n=u(d.hash)}if("#"===n){if(!c.topOnEmptyHash)return;o=document.documentElement}else o=document.querySelector(n);(o=o||"#top"!==n?o:document.documentElement)&&(t.preventDefault(),function(t){if(history.replaceState&&t.updateURL&&!history.state){var n=e.location.hash;n=n||"",history.replaceState({smoothScroll:JSON.stringify(t),anchor:n||e.pageYOffset},document.title,n||e.location.href)}}(c),h.animateScroll(o,d))}},b=function(e){if(null!==history.state&&history.state.smoothScroll&&history.state.smoothScroll===JSON.stringify(c)){var t=history.state.anchor;"string"==typeof t&&t&&!(t=document.querySelector(u(history.state.anchor)))||h.animateScroll(t,null,{updateURL:!1})}};return h.destroy=function(){c&&(document.removeEventListener("click",g,!1),e.removeEventListener("popstate",b,!1),h.cancelScroll(),c=null,d=null,p=null,f=null)},function(){if(!("querySelector"in document&&"addEventListener"in e&&"requestAnimationFrame"in e&&"closest"in e.Element.prototype))throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.";h.destroy(),c=n(t,l||{}),p=c.header?document.querySelector(c.header):null,document.addEventListener("click",g,!1),c.updateURL&&c.popstate&&e.addEventListener("popstate",b,!1)}(),h}}(o)}.apply(t,[]),void 0===u||(e.exports=u)},432:function(e,t,n){var u=this&&this.__createBinding||(Object.create?function(e,t,n,u){void 0===u&&(u=n),Object.defineProperty(e,u,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,u){void 0===u&&(u=n),e[u]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||u(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(47),t),o(n(926),t),o(n(349),t),o(n(137),t),o(n(729),t),o(n(383),t),o(n(450),t),o(n(358),t),o(n(753),t),o(n(869),t),o(n(352),t),o(n(446),t),o(n(164),t),o(n(305),t),o(n(502),t)},349:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useArrowNavigation=void 0;var u=n(156);t.useArrowNavigation=function(e){var t=e.listItems,n=e.onArrowUpOrDown,o=(0,u.useState)(0),r=o[0],i=o[1],s=(0,u.useCallback)(function(e){i(e)},[t]),a=function(e){var u=e.key;if(null==t?void 0:t.length)if("ArrowUp"===u)n&&n(),e.preventDefault(),s(r>0?r-1:t.length-1);else{if("ArrowDown"!==u)return;n&&n(),e.preventDefault(),r<t.length-1?s(r+1):s(0)}};return(0,u.useEffect)(function(){return window.addEventListener("keydown",a),function(){return window.removeEventListener("keydown",a)}}),(0,u.useEffect)(function(){s(0)},[t]),{selectedIndex:r}}},446:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useDebounce=void 0;var u=n(156);t.useDebounce=function(e,t){void 0===t&&(t=300);var n=(0,u.useState)(e),o=n[0],r=n[1];return(0,u.useEffect)(function(){var n=setTimeout(function(){r(e)},t);return function(){clearTimeout(n)}},[e,t]),o}},164:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useElementSize=void 0;var u=n(156);t.useElementSize=function(){var e,t,n=(0,u.useRef)(null);return[n,{width:null===(e=null==n?void 0:n.current)||void 0===e?void 0:e.clientWidth,height:null===(t=null==n?void 0:n.current)||void 0===t?void 0:t.clientHeight}]},t.default=t.useElementSize},137:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersectionObserver=void 0;var u=n(156);t.useIntersectionObserver=function(e){var t=(0,u.useRef)(null),n=(0,u.useState)(!1),o=n[0],r=n[1],i=function(e){var t=e[0];r(t.isIntersecting)};return(0,u.useEffect)(function(){if(window&&window.IntersectionObserver){var n=new IntersectionObserver(i,e),u=t.current;return t.current&&n.observe(t.current),function(){u&&n.unobserve(u)}}r(!1)},[t,e]),{containerRef:t,isVisible:o}},t.default=t.useIntersectionObserver},729:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIsBreakpoint=void 0;var u=n(156),o=n(432),r={xs:1,mobileSmall:320,mobile:375,tablet:768,tabletLarge:920,desktopSmall:1024,desktop:1260,desktopLarge:1440};t.useIsBreakpoint=function(e){var t="string"==typeof e?r[e]:e,n=(0,u.useState)(null),i=n[0],s=n[1],a=(0,u.useCallback)(function(){s(window.innerWidth)},[]);return(0,u.useEffect)(function(){a()},[]),(0,o.useOnResize)(a),i>=t},t.default=t.useIsBreakpoint},450:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIsLoadingAfterError=void 0;var u=n(156);t.useIsLoadingAfterError=function(e,t){var n=(0,u.useState)(t),o=n[0],r=n[1];return(0,u.useEffect)(function(){e||r(t)},[e,t]),e&&o}},305:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIsMobile=void 0;var u=n(729);t.useIsMobile=function(){return!(0,u.useIsBreakpoint)("tablet")},t.default=t.useIsMobile},383:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIsomorphicLayoutEffect=void 0;var u=n(156);t.useIsomorphicLayoutEffect="undefined"!=typeof window?u.useLayoutEffect:u.useEffect,t.default=t.useIsomorphicLayoutEffect},753:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useOnLoseFocusWithin=void 0;var u=n(156);t.useOnLoseFocusWithin=function(e){var t=e.ref,n=e.callback,o=e.watch;(0,u.useEffect)(function(){var e=function(){var e;if(o)return(null===(e=t.current)||void 0===e?void 0:e.matches(":focus-within"))?void 0:n()};return document.addEventListener("keyup",e),function(){return document.removeEventListener("keyup",e)}},[n,t,o])},t.default=t.useOnLoseFocusWithin},502:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useOnResize=void 0;var u=n(156);t.useOnResize=function(e){(0,u.useEffect)(function(){var t=function(){e(window.innerWidth)};return window.addEventListener("resize",t,{passive:!0}),function(){return window.removeEventListener("resize",t)}},[])},t.default=t.useOnResize},352:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useOnWindowFocus=void 0;var u=n(156);t.useOnWindowFocus=function(e){(0,u.useEffect)(function(){var t=function(){e&&"visible"===document.visibilityState&&e()};return window.addEventListener("visibilitychange",t,!1),function(){return window.removeEventListener("visibilitychange",t)}},[e])}},47:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useOutsideReacter=void 0;var u=n(156);t.useOutsideReacter=function(e,t){function n(n){e.current&&!e.current.contains(n.target)&&t()}(0,u.useEffect)(function(){return document.addEventListener("mousedown",n),function(){document.removeEventListener("mousedown",n)}})}},869:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useRunAfterUpdate=void 0;var u=n(156);t.useRunAfterUpdate=function(){var e=(0,u.useRef)(null);return(0,u.useEffect)(function(){e.current&&(e.current(),e.current=null)}),function(t){e.current=t}},t.default=t.useRunAfterUpdate},926:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollLock=void 0;var u=n(156);t.useScrollLock=function(){return{lock:(0,u.useCallback)(function(){var e=window.scrollY+"px",t=document.body;t.style.position="fixed",t.style.top="-"+e},[]),unlock:(0,u.useCallback)(function(){var e=document.body,t=e.style.top,n=-1*parseInt(t||"0");e.style.position="",e.style.top="",n&&window.scrollTo(0,-1*parseInt(t||"0"))},[])}}},358:function(e,t,n){var u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useSmoothScroll=void 0;var o=n(156),r=u(n(888));t.useSmoothScroll=function(e){var t=(0,o.useRef)(null),n=e.ref,u=e.offset,i=void 0===u?0:u,s=e.speed,a=void 0===s?500:s;return(0,o.useEffect)(function(){t.current=new r.default(null,{speed:a,speedAsDuration:!0})},[]),(0,o.useCallback)(function(){n&&t.current&&t.current.animateScroll(n.current,null,{offset:function(){return i},updateURL:!1})},[i,n])}},156:function(e){e.exports=t}},n={};function u(t){var o=n[t];if(void 0!==o)return o.exports;var r=n[t]={exports:{}};return e[t].call(r.exports,r,r.exports,u),r.exports}return u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u(432)}())}(cu)),cu.exports),pu=au(du),fu={"fullscreen-root":"MobileSearch_fullscreen-root__l90DZ","combobox-container":"MobileSearch_combobox-container__UsUQ2","right-column":"MobileSearch_right-column__QT0kp","combobox-icon":"MobileSearch_combobox-icon__3syCw","combobox-label":"MobileSearch_combobox-label__mRQMF",container:"MobileSearch_container__JtL5q",input:"MobileSearch_input__Sjo1c","clear-input":"MobileSearch_clear-input__SGpE8",hasValue:"MobileSearch_hasValue__H1RPq",suggestion:"MobileSearch_suggestion__pqOkM",suggestionHighlighted:"MobileSearch_suggestionHighlighted__xpMMN",suggestionsContainerOpen:"MobileSearch_suggestionsContainerOpen__wwyZk",suggestionsList:"MobileSearch_suggestionsList__-pWWC","clear-search-history":"MobileSearch_clear-search-history__cO30c","mobile-modal-overlay":"MobileSearch_mobile-modal-overlay__bH39q","mobile-modal":"MobileSearch_mobile-modal__DFUUM","mobile-modal-content":"MobileSearch_mobile-modal-content__7q4zK"};Qn("input[type=text] {\n margin: 0;\n padding: 0;\n}\n\n.MobileSearch_fullscreen-root__l90DZ {\n display: flex;\n flex-direction: column;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: #fff;\n z-index: 1000;\n}\n\n.MobileSearch_combobox-container__UsUQ2 {\n margin: 15px 10px 0;\n border: solid #888 1px;\n display: flex;\n align-items: center;\n border-radius: 5px;\n height: 60px;\n justify-content: space-between;\n}\n.MobileSearch_combobox-container__UsUQ2 .MobileSearch_right-column__QT0kp {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n padding-top: 9px;\n}\n\n.MobileSearch_combobox-icon__3syCw {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 52px;\n border: 0;\n background: none;\n}\n.MobileSearch_combobox-icon__3syCw svg {\n width: 14px;\n height: 21px;\n transform: rotate(-180deg);\n}\n\n.MobileSearch_combobox-label__mRQMF {\n position: relative;\n top: -2px;\n font-size: 12px;\n font-weight: var(--font-weight-medium);\n letter-spacing: -0.2px;\n color: #333;\n}\n\n.MobileSearch_container__JtL5q {\n display: flex;\n align-items: center;\n width: 100%;\n}\n.MobileSearch_container__JtL5q .MobileSearch_input__Sjo1c {\n font-family: var(--font-family);\n width: 100%;\n position: relative;\n padding-bottom: 7px;\n top: 2px;\n border: none;\n height: 26px;\n font-weight: normal;\n box-shadow: none;\n font-size: 16px;\n letter-spacing: -0.5px;\n color: #666;\n -webkit-appearance: none;\n appearance: none;\n}\n.MobileSearch_container__JtL5q .MobileSearch_input__Sjo1c:focus {\n outline: none;\n border: none;\n box-shadow: none;\n background: #fff;\n}\n\nbutton.MobileSearch_clear-input__SGpE8 {\n display: flex;\n align-items: center;\n right: 0;\n padding: 0 15px 7px 0;\n height: 26px;\n color: var(--color);\n border: 0;\n margin: 0;\n justify-content: center;\n text-align: left;\n background: none;\n border-style: none;\n border-width: 0;\n cursor: pointer;\n font-family: inherit;\n background-color: transparent;\n transition: none;\n}\nbutton.MobileSearch_clear-input__SGpE8 svg {\n fill: var(--color);\n width: 16px;\n height: 16px;\n}\nbutton.MobileSearch_clear-input__SGpE8:focus {\n background-color: transparent;\n color: inherit;\n}\nbutton.MobileSearch_clear-input__SGpE8:active {\n background-color: transparent;\n color: inherit;\n}\nbutton.MobileSearch_clear-input__SGpE8:hover {\n background-color: transparent;\n color: inherit;\n}\n\n.MobileSearch_hasValue__H1RPq {\n color: #333;\n}\n\n.MobileSearch_suggestion__pqOkM {\n font-size: 15px;\n min-height: 50px;\n letter-spacing: -0.6px;\n color: #333;\n font-weight: 500;\n background: #fff;\n margin: 0;\n padding: 0;\n}\n\n.MobileSearch_suggestionHighlighted__xpMMN {\n background-color: #f2f5f7;\n}\n\n.MobileSearch_suggestionsContainerOpen__wwyZk {\n display: flex;\n position: absolute;\n margin-bottom: auto;\n z-index: 20;\n width: 100vw;\n max-height: calc(100% - 75px);\n height: 100%;\n top: 75px;\n left: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.MobileSearch_suggestionsContainerOpen__wwyZk .MobileSearch_suggestionsList__-pWWC {\n width: 100vw;\n list-style: none;\n padding-left: 0;\n margin: 0;\n background: #f2f5f7;\n}\n\n.MobileSearch_clear-search-history__cO30c {\n display: flex;\n font-family: var(--font-family);\n margin-top: auto;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 62px;\n background: #f2f5f7;\n color: var(--accessible-primary-color);\n font-size: 15px;\n font-weight: var(--font-weight-medium);\n letter-spacing: -0.42px;\n border: none;\n border-top: 1px solid #ddd;\n}\n.MobileSearch_suggestionHighlighted__xpMMN .MobileSearch_clear-search-history__cO30c {\n background-color: transparent;\n color: inherit;\n}\n\n.MobileSearch_mobile-modal-overlay__bH39q {\n z-index: 9999;\n top: 0;\n left: 0;\n right: unset;\n bottom: unset;\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n background-color: white;\n position: fixed;\n}\n\n.MobileSearch_mobile-modal__DFUUM {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.MobileSearch_mobile-modal__DFUUM.ReactModal__Content--after-open > div {\n transform: translateY(0);\n}\n.MobileSearch_mobile-modal__DFUUM.ReactModal__Content--before-close > div {\n transform: translateY(10%);\n}\n\n.MobileSearch_mobile-modal-content__7q4zK {\n position: fixed;\n width: 100%;\n height: 100%;\n outline: none;\n background-color: #fff;\n transition: transform 0.25s;\n transform: translateY(10%);\n}");var hu={"fullscreen-root":"MobileNoScroll_fullscreen-root__fZbOA","combobox-container":"MobileNoScroll_combobox-container__9Q02x","right-column":"MobileNoScroll_right-column__Hk-62","combobox-icon":"MobileNoScroll_combobox-icon__WlXar","combobox-label":"MobileNoScroll_combobox-label__oeVbH",container:"MobileNoScroll_container__veReP",input:"MobileNoScroll_input__zo9Gg","clear-input":"MobileNoScroll_clear-input__lQlxs",hasValue:"MobileNoScroll_hasValue__1Gx3J",suggestion:"MobileNoScroll_suggestion__hTxDr",suggestionHighlighted:"MobileNoScroll_suggestionHighlighted__zxzXj",suggestionsContainerOpen:"MobileNoScroll_suggestionsContainerOpen__sX1RA",suggestionsList:"MobileNoScroll_suggestionsList__wXJTV","clear-search-history":"MobileNoScroll_clear-search-history__vR2Xw","mobile-modal-overlay":"MobileNoScroll_mobile-modal-overlay__Qw6Np","mobile-modal":"MobileNoScroll_mobile-modal__xYuHh","mobile-modal-content":"MobileNoScroll_mobile-modal-content__0Ft4g"};function gu(e,t){if(null==e)return{};var n,u,o=function(e,t){if(null==e)return{};var n={};for(var u in e)if({}.hasOwnProperty.call(e,u)){if(-1!==t.indexOf(u))continue;n[u]=e[u]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(u=0;u<r.length;u++)n=r[u],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}Qn("input[type=text] {\n margin: 0;\n padding: 0;\n}\n\n.MobileNoScroll_fullscreen-root__fZbOA {\n display: flex;\n flex-direction: column;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: #fff;\n z-index: 1000;\n}\n\n.MobileNoScroll_combobox-container__9Q02x {\n margin: 15px 10px 0;\n border: solid #888 1px;\n display: flex;\n align-items: center;\n border-radius: 5px;\n height: 60px;\n justify-content: space-between;\n}\n.MobileNoScroll_combobox-container__9Q02x .MobileNoScroll_right-column__Hk-62 {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n padding-top: 9px;\n}\n\n.MobileNoScroll_combobox-icon__WlXar {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 52px;\n border: 0;\n background: none;\n}\n.MobileNoScroll_combobox-icon__WlXar svg {\n width: 14px;\n height: 21px;\n transform: rotate(-180deg);\n}\n\n.MobileNoScroll_combobox-label__oeVbH {\n position: relative;\n top: -2px;\n font-size: 12px;\n font-weight: var(--font-weight-medium);\n letter-spacing: -0.2px;\n color: #333;\n}\n\n.MobileNoScroll_container__veReP {\n display: flex;\n align-items: center;\n width: 100%;\n}\n.MobileNoScroll_container__veReP .MobileNoScroll_input__zo9Gg {\n font-family: var(--font-family);\n width: 100%;\n position: relative;\n padding-bottom: 7px;\n top: 2px;\n border: none;\n height: 26px;\n font-weight: normal;\n box-shadow: none;\n font-size: 16px;\n letter-spacing: -0.5px;\n color: #666;\n -webkit-appearance: none;\n appearance: none;\n}\n.MobileNoScroll_container__veReP .MobileNoScroll_input__zo9Gg:focus {\n outline: none;\n border: none;\n box-shadow: none;\n background: #fff;\n}\n\nbutton.MobileNoScroll_clear-input__lQlxs {\n display: flex;\n align-items: center;\n right: 0;\n padding: 0 15px 7px 0;\n height: 26px;\n color: var(--color);\n border: 0;\n margin: 0;\n justify-content: center;\n text-align: left;\n background: none;\n border-style: none;\n border-width: 0;\n cursor: pointer;\n font-family: inherit;\n background-color: transparent;\n transition: none;\n}\nbutton.MobileNoScroll_clear-input__lQlxs svg {\n fill: var(--color);\n width: 16px;\n height: 16px;\n}\nbutton.MobileNoScroll_clear-input__lQlxs:focus {\n background-color: transparent;\n color: inherit;\n}\nbutton.MobileNoScroll_clear-input__lQlxs:active {\n background-color: transparent;\n color: inherit;\n}\nbutton.MobileNoScroll_clear-input__lQlxs:hover {\n background-color: transparent;\n color: inherit;\n}\n\n.MobileNoScroll_hasValue__1Gx3J {\n color: #333;\n}\n\n.MobileNoScroll_suggestion__hTxDr {\n font-size: 15px;\n min-height: 50px;\n letter-spacing: -0.6px;\n color: #333;\n font-weight: 500;\n background: #fff;\n margin: 0;\n padding: 0;\n}\n\n.MobileNoScroll_suggestionHighlighted__zxzXj {\n background-color: #f2f5f7;\n}\n\n.MobileNoScroll_suggestionsContainerOpen__sX1RA {\n display: flex;\n position: absolute;\n margin-bottom: auto;\n z-index: 20;\n width: 100vw;\n max-height: calc(100% - 75px);\n height: 100%;\n top: 75px;\n left: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.MobileNoScroll_suggestionsContainerOpen__sX1RA .MobileNoScroll_suggestionsList__wXJTV {\n width: 100vw;\n list-style: none;\n padding-left: 0;\n margin: 0;\n background: #f2f5f7;\n}\n\n.MobileNoScroll_clear-search-history__vR2Xw {\n display: flex;\n font-family: var(--font-family);\n margin-top: auto;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 62px;\n background: #f2f5f7;\n color: var(--accessible-primary-color);\n font-size: 15px;\n font-weight: var(--font-weight-medium);\n letter-spacing: -0.42px;\n border: none;\n border-top: 1px solid #ddd;\n}\n.MobileNoScroll_suggestionHighlighted__zxzXj .MobileNoScroll_clear-search-history__vR2Xw {\n background-color: transparent;\n color: inherit;\n}\n\n.MobileNoScroll_mobile-modal-overlay__Qw6Np {\n z-index: 9999;\n top: 0;\n left: 0;\n right: unset;\n bottom: unset;\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n background-color: white;\n position: fixed;\n}\n\n.MobileNoScroll_mobile-modal__xYuHh {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.MobileNoScroll_mobile-modal__xYuHh.ReactModal__Content--after-open > div {\n transform: translateY(0);\n}\n.MobileNoScroll_mobile-modal__xYuHh.ReactModal__Content--before-close > div {\n transform: translateY(10%);\n}\n\n.MobileNoScroll_mobile-modal-content__0Ft4g {\n position: fixed;\n width: 100%;\n height: 100%;\n outline: none;\n background-color: #fff;\n transition: transform 0.25s;\n transform: translateY(10%);\n}\n\n.MobileNoScroll_suggestionsContainerOpen__sX1RA {\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n scrollbar-width: none; /* Firefox */\n}\n.MobileNoScroll_suggestionsContainerOpen__sX1RA::-webkit-scrollbar {\n display: none; /* Safari and Chrome */\n}");const bu=["item","lng","getItemProps","highlightedIndex","itemIndex","styles"],mu=["suggestions","getMenuProps","getItemProps","lng","styles","hidden","renderClearHistoryButton","handleClearHistory"];function Eu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,u)}return n}function yu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eu(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Au(e){let{item:t,lng:n,getItemProps:o,highlightedIndex:r,itemIndex:i,styles:s}=e,a=gu(e,bu);const[l]=u.useTranslation(),c="FutureRoute"===t.type?yu(yu({},t),{},{translatedText:ru(t,n,l)}):t,d=ou(t,n,l);return _.default.createElement("li",Object.assign({className:B.default(s.suggestion,r===i&&s.suggestionHighlighted)},o({index:i})),_.default.createElement(q.default,Object.assign({item:c,content:d,lng:n},a)))}const Fu="production"!==process.env.NODE_ENV?v.default.shape({name:v.default.string,type:v.default.string,address:v.default.string,selectedIconId:v.default.string,iconColor:v.default.string,translatedText:v.default.string,properties:v.default.shape({layer:v.default.string,color:v.default.string,localadmin:v.default.string,mode:v.default.string,id:v.default.string,source:v.default.string,arrowClicked:v.default.bool,destination:v.default.shape({name:v.default.string,localadmin:v.default.string}),origin:v.default.shape({name:v.default.string,localadmin:v.default.string})})}):{};function Du(e){let{suggestions:t,getMenuProps:n,getItemProps:o,lng:r,styles:i,hidden:s,renderClearHistoryButton:a,handleClearHistory:l}=e,c=gu(e,mu);const[d]=u.useTranslation();return _.default.createElement("div",{className:B.default(i.suggestionsContainerOpen,i.suggestionsContainer,s&&"hidden")},_.default.createElement("ul",Object.assign({className:i.suggestionsList},n()),t.map((e,t)=>_.default.createElement(Au,Object.assign({key:`${e.type}-${e.properties.gid||e.properties.gtfsId||JSON.stringify(e.properties)}`,getItemProps:o,itemIndex:t,item:e,lng:r,styles:i},c))),a&&_.default.createElement("li",o({index:t.length}),_.default.createElement("button",{onClick:l,type:"button",className:i["clear-search-history"]},d("clear-search-history",{lng:r})))))}"production"!==process.env.NODE_ENV&&(Au.propTypes={item:Fu.isRequired,lng:v.default.string.isRequired,getItemProps:v.default.func.isRequired,highlightedIndex:v.default.number.isRequired,itemIndex:v.default.number.isRequired,styles:v.default.objectOf(v.default.string).isRequired}),"production"!==process.env.NODE_ENV&&(Du.propTypes={suggestions:v.default.arrayOf(Fu).isRequired,getMenuProps:v.default.func.isRequired,getItemProps:v.default.func.isRequired,lng:v.default.string.isRequired,styles:v.default.objectOf(v.default.string).isRequired,hidden:v.default.bool.isRequired,renderClearHistoryButton:v.default.bool,handleClearHistory:v.default.func}),Du.defaultProps={renderClearHistoryButton:!1,handleClearHistory:()=>{}};const Cu=({color:e,lng:t,clearInput:n,onKeyDown:o,styles:r})=>{const[i]=u.useTranslation();return _.default.createElement("button",{type:"button",className:r["clear-input"],onClick:n,"aria-label":i("clear-button-label",{lng:t}),onKeyDown:o},_.default.createElement(P.default,{img:"close",color:e}))};function vu({id:e,lng:t,value:u,placeholder:o,required:r,getInputProps:i,getLabelProps:s,clearInput:a,ariaLabel:l,inputRef:c,styles:d,renderLabel:p,isMobile:f,inputClassName:h,transportMode:g,clearButtonColor:b,autoFocus:m,inputOnBlur:E}){const y=n.useRef(null);n.useLayoutEffect(()=>{const e=c.current;e&&null!==y.current&&e===document.activeElement&&e.setSelectionRange(y.current,y.current)},[u]);return _.default.createElement("div",{className:d.container},p&&_.default.createElement("label",s({className:d["sr-only"],htmlFor:e}),l),_.default.createElement("input",Object.assign({"aria-label":l,autoFocus:m,placeholder:o,required:r,type:"text",className:B.default(d.input,d[e],h,f&&g&&d.thin,u&&d.hasValue),value:u,id:e},i({ref:c,onBlur:E,onChange:e=>{y.current=e.target.selectionStart}}))),u&&_.default.createElement(Cu,{lng:t,clearInput:()=>a(c),styles:d,color:b,onKeyDown:e=>tu(e)&&a(c)}))}function _u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,u)}return n}function Bu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_u(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}"production"!==process.env.NODE_ENV&&(Cu.propTypes={color:v.default.string.isRequired,lng:v.default.string.isRequired,clearInput:v.default.func.isRequired,onKeyDown:v.default.func.isRequired,styles:v.default.objectOf(v.default.string).isRequired}),"production"!==process.env.NODE_ENV&&(vu.propTypes={id:v.default.string.isRequired,lng:v.default.string.isRequired,placeholder:v.default.string.isRequired,required:v.default.bool.isRequired,value:v.default.string.isRequired,getInputProps:v.default.func.isRequired,getLabelProps:v.default.func.isRequired,clearInput:v.default.func.isRequired,ariaLabel:v.default.string.isRequired,inputRef:v.default.shape({current:v.default.oneOfType([v.default.string,v.default.object])}).isRequired,styles:v.default.objectOf(v.default.string).isRequired,renderLabel:v.default.bool,isMobile:v.default.bool.isRequired,inputClassName:v.default.string.isRequired,transportMode:v.default.string,clearButtonColor:v.default.string.isRequired,autoFocus:v.default.bool,inputOnBlur:v.default.func}),vu.defaultProps={autoFocus:!1,renderLabel:!1,transportMode:void 0,inputOnBlur:()=>{}};const wu=({appElement:e,id:t,placeholder:o,clearInput:r,onSelectedItemChange:i,fontWeights:s,clearOldSearches:a,suggestionProps:l,lng:c,ariaProps:d,value:f,inputClassName:h,required:g,mobileLabel:b,showScroll:m,state:E,dispatch:y,colors:A})=>{const[F]=u.useTranslation(),{lock:D,unlock:C}=pu.useScrollLock(),v=m?fu:hu,B=`${t}-input`,w=`${t}-label`,[S,O]=n.useState(!1),k=_.default.useRef();n.useEffect(()=>{L.default.setAppElement(e)},[]),n.useEffect(()=>{E.renderMobile?D():C()},[E.renderMobile]);const{highlightedIndex:x,getLabelProps:R,getMenuProps:j,getInputProps:M,getItemProps:N,setHighlightedIndex:T}=p.useCombobox({items:E.suggestions,inputValue:f,isOpen:!0,onSelectedItemChange:e=>{i(e),y({type:"TOGGLE_MENU",isMobile:!0})},inputId:B,labelId:w,selectedItem:null,defaultHighlightedIndex:-1,onInputValueChange:({inputValue:e})=>E.renderMobile&&y({type:"INPUT_CHANGE",value:e}),stateReducer:(e,{changes:t,type:n})=>{switch(n){case p.useCombobox.stateChangeTypes.InputKeyDownEscape:return T(-1),y({type:"TOGGLE_MENU",isMobile:!0}),e;case p.useCombobox.stateChangeTypes.InputKeyDownEnter:return E.loading?(y({type:"PENDING_ENTER",enterPending:!0}),e):-1===e.highlightedIndex?Bu(Bu({},t),{},{selectedItem:E.suggestions[0]}):t;case p.useCombobox.stateChangeTypes.InputBlur:return e;default:return t}},itemToString:e=>e?iu(e):""});R({},{suppressRefError:!0}),j({},{suppressRefError:!0}),M({},{suppressRefError:!0}),N({index:-1},{suppressRefError:!0});const{ariaRequiredText:q,SearchBarId:z,ariaCurrentSuggestion:U}=d,H=q.concat(" ").concat(z).concat(" ").concat(U);return _.default.createElement(L.default,{isOpen:E.renderMobile,className:v["mobile-modal"],overlayClassName:v["mobile-modal-overlay"],shouldReturnFocusAfterClose:!1,shouldCloseOnEsc:!0},_.default.createElement("div",{className:v["mobile-modal-content"],style:{"--color":A.primary,"--accessible-primary-color":A.accessiblePrimary,"--hover-color":A.hover,"--font-weight-medium":s.medium}},_.default.createElement("div",{className:v["combobox-container"],htmlFor:B},_.default.createElement("button",{type:"button",className:v["combobox-icon"],onClick:()=>{T(-1),y({type:"TOGGLE_MENU",isMobile:!0})},onKeyDown:e=>{tu(e)&&(T(-1),y({type:"TOGGLE_MENU",isMobile:!0}))},"aria-label":F("cancel",{lng:c}),tabIndex:0},_.default.createElement(P.default,{img:"arrow",color:A.primary})),_.default.createElement("span",{className:v["right-column"]},_.default.createElement("span",Object.assign({className:v["combobox-label"],id:w},R()),b),_.default.createElement(vu,{placeholder:nu(t)?F("address-place-or-business",{lng:c}):o,id:t,lng:c,value:f,getInputProps:M,getLabelProps:R,clearInput:()=>r(k),ariaLabel:H,inputRef:k,styles:v,renderLabel:!1,clearButtonColor:A.primary,autoFocus:!0,inputClassName:h,required:g,isMobile:!0}),_.default.createElement(Du,Object.assign({suggestions:E.suggestions,getMenuProps:j,getItemProps:N,highlightedIndex:x,isOpen:!0,hidden:!1,lng:c,styles:v,renderClearHistoryButton:!0,handleClearHistory:()=>O(!0)},l)))),_.default.createElement(I.default,{appElement:e,isModalOpen:S,handleClose:()=>O(!1),headerText:F("delete-old-searches-header",{lng:c}),primaryButtonText:F("delete",{lng:c}),secondaryButtonText:F("cancel",{lng:c}),primaryButtonOnClick:()=>{a(),O(!1)},secondaryButtonOnClick:()=>O(!1),colors:A,fontWeights:s,lang:c})))};function Su(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,u)}return n}function Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Su(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Su(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}"production"!==process.env.NODE_ENV&&(wu.propTypes={appElement:v.default.string.isRequired,id:v.default.string.isRequired,clearInput:v.default.func.isRequired,clearOldSearches:v.default.func.isRequired,onSelectedItemChange:v.default.func.isRequired,value:v.default.string.isRequired,colors:v.default.objectOf(v.default.string).isRequired,fontWeights:v.default.shape({medium:v.default.number.isRequired}).isRequired,suggestionProps:v.default.shape({}).isRequired,ariaProps:v.default.shape({ariaRequiredText:v.default.string.isRequired,SearchBarId:v.default.string.isRequired,ariaCurrentSuggestion:v.default.string.isRequired}).isRequired,inputClassName:v.default.string.isRequired,placeholder:v.default.string.isRequired,mobileLabel:v.default.string.isRequired,required:v.default.bool.isRequired,showScroll:v.default.bool.isRequired,lng:v.default.string.isRequired,state:v.default.shape({suggestions:v.default.arrayOf(v.default.shape({})).isRequired,renderMobile:v.default.bool.isRequired,loading:v.default.bool.isRequired}).isRequired,dispatch:v.default.func.isRequired});const ku=(e,t)=>{switch(t.type){case"INPUT_CHANGE":return Ou(Ou({},e),{},{value:t.value});case"FETCH_SUGGESTIONS":return Ou(Ou({},e),{},{loading:t.loading,suggestions:t.suggestions||e.suggestions});case"CLEAR_SUGGESTIONS":return Ou(Ou({},e),{},{suggestions:[]});case"RESET_SOURCES":return Ou(Ou({},e),{},{sources:t.sources});case"SET_SOURCES":return Ou(Ou({},e),{},{showOwnPlaces:t.showOwnPlaces,sources:t.sources,pendingSelection:t.pendingSelection});case"CLEAR":return Ou(Ou({},e),{},{value:"",isCleared:!0,suggestions:[]});case"INPUT_BLUR":return Ou(Ou({},e),{},{value:t.value||e.value,isCleared:!t.isMobile&&e.isCleared,pendingSelection:null,showOwnPlaces:!1});case"RESET":return t.initialState;case"PENDING_ENTER":return Ou(Ou({},e),{},{enterPending:t.enterPending});case"TOGGLE_MENU":return t.isMobile?e.renderMobile?Ou(Ou({},e),{},{renderMobile:!1,isCleared:!1}):Ou(Ou({},e),{},{renderMobile:!0,value:e.isCleared?"":e.value}):Ou(Ou({},e),{},{isMenuOpen:!e.isMenuOpen,renderMobile:t.isMobile&&!e.renderMobile});default:return e}};function xu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,u)}return n}function Ru(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const ju=["Valittu sijainti","Nykyinen sijaintisi","Current position","Selected location","Vald position","Använd min position","Min position","Käytä nykyistä sijaintia","Use current location","Your current location","Wybrane miejsce"];function Pu({appElement:e,id:t,placeholder:o,onSelect:r,icon:i,value:s,onClear:a,lang:l,getAutoSuggestIcons:c,handleViaPoints:d,focusChange:f,storeRef:h,isMobile:g,mobileLabel:b,inputClassName:m,translatedPlaceholder:E,required:y,ariaLabel:A,fontWeights:F,colors:D,modeSet:C,showScroll:v,isEmbedded:w,transportMode:S,targets:O,sources:k,geocodingSize:x,filterResults:R,searchContext:j,pathOpts:M,refPoint:N}){const[T]=u.useTranslation(),L={suggestions:[],loading:!1,sources:k,showOwnPlaces:!1,pendingSelection:null,isCleared:!1,renderMobile:!1,value:s,enterPending:!1,isMenuOpen:!1},[I,q]=n.useReducer(ku,L);n.useEffect(()=>q({type:"RESET",initialState:L}),[s]),n.useEffect(()=>q({type:"RESET_SOURCES",sources:k}),[k]);const z=n.useRef(t);n.useEffect(()=>{h&&h(z.current)},[z.current]);const U=n.useCallback(()=>{const e=!(null!=O&&O.length)||O.includes("Locations"),t=(({targets:e,isLocationSearch:t,isMobile:n,ownPlaces:u,sources:o})=>{const r=!(null!=e&&e.length);let i;return u?(i=["Locations"],(r||e.includes("Stops"))&&i.push("Stops"),(r||e.includes("Stations"))&&i.push("Stations"),(r||e.includes("VehicleRentalStations"))&&i.push("VehicleRentalStations")):r||(i=[...e],!t||n||o.length&&!o.includes("Favourite")||i.push("SelectFromOwnLocations")),i})({targets:O,isLocationSearch:e,isMobile:g,ownPlaces:I.showOwnPlaces,sources:I.sources});((e,t,n,u,o,r,i,s,a,l)=>{s(null),Kn(e,t,n,u,o,r,i,s,a,l)})(t,I.sources?I.sources.filter(t=>!e||"Favourite"===!t||I.showOwnPlaces||g):I.sources,S,j,R,x,{input:I.value||""},e=>{if(null==e)return void q({type:"FETCH_SUGGESTIONS",loading:!0});const t=(e.results||[]).filter(e=>"FutureRoute"!==e.type||"FutureRoute"===e.type&&e.properties.time>Date.now()/1e3).map(e=>{if("CurrentLocation"===e.type||"SelectFromMap"===e.type||"SelectFromOwnLocations"===e.type||"back"===e.type){const t=Ru({},e);return t.properties.labelId=T(e.properties.labelId,{lng:l}),t}return e});q({type:"FETCH_SUGGESTIONS",loading:!1,suggestions:t})},M,N)},[I.value,I.sources,I.showOwnPlaces,O,S,j,R,x,g,l,M,N,t]),H=n.useCallback((e,n)=>{e&&(d?d(e,n):r(e,t),!f||g&&!w||f(),z.current&&z.current.blur())},[g]),V=e=>H(e.selectedItem,e.highlightedIndex),{isOpen:W,highlightedIndex:$,getLabelProps:G,getMenuProps:K,getInputProps:J,getItemProps:Q,selectItem:X,openMenu:Z,closeMenu:Y}=p.useCombobox({inputId:t,inputValue:I.value,defaultHighlightedIndex:0,onInputValueChange:({inputValue:e})=>q({type:"INPUT_CHANGE",value:e}),stateReducer:n.useCallback((e,{type:t,changes:n})=>{switch(t){case p.useCombobox.stateChangeTypes.ItemClick:case p.useCombobox.stateChangeTypes.InputKeyDownEnter:return I.loading?(q({type:"PENDING_ENTER",enterPending:!0}),e):n.selectedItem?"SelectFromOwnLocations"===n.selectedItem.type?(q({type:"SET_SOURCES",sources:["Favourite","Back"],showOwnPlaces:!0,pendingSelection:n.selectedItem.type}),e):"back"===n.selectedItem.type?(q({type:"SET_SOURCES",sources:k,showOwnPlaces:!1,pendingSelection:null}),e):n:n;case p.useCombobox.stateChangeTypes.InputClick:return ju.includes(s)?Ru(Ru({},n),{},{inputValue:"",isOpen:!0}):Ru(Ru({},n),{},{isOpen:!0});case p.useCombobox.stateChangeTypes.InputBlur:return n.selectedItem?Ru(Ru({},n),{},{selectedItem:e.selectItem,inputValue:e.inputValue}):n;case p.useCombobox.stateChangeTypes.InputKeyDownEscape:return Ru(Ru({},n),{},{inputValue:""});default:return n}},[I.loading,s,g]),items:I.suggestions,itemToString:e=>e?iu(e):"",onSelectedItemChange:V,onIsOpenChange:e=>{e.isOpen&&!I.renderMobile&&q({type:"TOGGLE_MENU",isMobile:g})}}),ee=e=>{q({type:"CLEAR"}),a&&a(t),e.current&&e.current.focus(),Z()};n.useEffect(()=>{!W&&!I.renderMobile||I.value===s&&ju.includes(s)||U(I.value)},[W,I.renderMobile,I.value,U]),n.useEffect(()=>{I.enterPending&&!I.loading&&(H(I.suggestions[0],0),Y())},[I.loading,I.pendingEnter,I.suggestions]);const te={loading:I.loading,isMobile:g,ariaFavouriteString:T("favourite",{lng:l}),fontWeights:F,getAutoSuggestIcons:c,colors:D,modeSet:C},{ariaCurrentSuggestion:ne,ariaRequiredText:ue,SearchBarId:oe,ariaLabelText:re}=(({id:e,ariaLabel:t,lng:n,t:u,isMobile:o,suggestions:r,value:i,required:s})=>{const a=e.replace("searchfield-",""),l=t||u(a,{lng:n}).replace("searchfield-","").concat("."),c=s?`${u("required",{lng:n})}.`:"",d=u(o?"search-autosuggest-label-instructions-mobile":"search-autosuggest-label-instructions-desktop",{lng:n}),p="origin"===e?u("search-autosuggest-label-move-to-destination",{lng:n}):"";return{SearchBarId:l,ariaRequiredText:c,ariaLabelText:d.concat(" ").concat(p),ariaSuggestionLen:u("search-autosuggest-len",{count:r.length,lng:n}),ariaCurrentSuggestion:su({suggestions:r,t:u,lng:n})||i?u("search-current-suggestion",{lng:n,selection:su({suggestions:r,t:u,lng:n}).toLowerCase()||i}):""}})({id:t,lng:l,t:T,isMobile:g,ariaLabel:A,suggestions:I.suggestions,value:I.value,required:y});return n.useEffect(()=>{I.renderMobile||W||q({type:"RESET",initialState:L})},[I.renderMobile,W]),_.default.createElement(_.default.Fragment,null,g&&_.default.createElement(wu,{placeholder:T(o,{lng:l}),fontWeights:F,clearOldSearches:()=>{const{context:e,clearOldSearches:t,clearFutureRoutes:n}=j;e&&t&&(t(e),n&&n(e),U(I.value))},appElement:e,mobileLabel:b||T(t,{lng:l}),ariaProps:{ariaCurrentSuggestion:ne,SearchBarId:oe,ariaRequiredText:ue},id:t,lng:l,onSelectedItemChange:V,value:I.value,clearInput:ee,suggestionProps:te,showScroll:!!v,colors:D,inputClassName:m,required:y,state:I,dispatch:q}),_.default.createElement("div",{className:B.default(Xn["autosuggest-input-container"],Xn[t],I.renderMobile&&"hidden"),style:{"--color":D.primary,"--hover-color":D.hover}},i&&_.default.createElement("div",{className:B.default(Xn["autosuggest-input-icon"],Xn[t],m&&Xn[`${m}-input-icon`]),"aria-label":ue.concat(" ").concat(oe).concat(" ").concat(T("search-autosuggest-label",{lng:l}))},_.default.createElement(P.default,{img:`${i}`})),_.default.createElement(vu,{inputClassName:m,ariaLabel:ne.concat(" ").concat(ue).concat(" ").concat(oe).concat(" ").concat(re),id:t,lng:l,getInputProps:J,getLabelProps:G,selectItem:X,value:I.value,clearInput:ee,inputRef:z,styles:Xn,clearButtonColor:D.primary,placeholder:E||T(o,{lng:l}),required:y,transportMode:S,isMobile:g,inputOnBlur:()=>{q({isMobile:g,value:!g&&s,type:"INPUT_BLUR"}),g||q({type:"RESET",initialState:L})}}),_.default.createElement(Du,Object.assign({hidden:!W||!I.suggestions.length||g,highlightedIndex:$,getItemProps:Q,getMenuProps:K,suggestions:I.suggestions,lng:l,styles:Xn},te))))}"production"!==process.env.NODE_ENV&&(Pu.propTypes={appElement:v.default.string.isRequired,icon:v.default.string,id:v.default.string.isRequired,placeholder:v.default.string.isRequired,translatedPlaceholder:v.default.string,value:v.default.string,transportMode:v.default.string,geocodingSize:v.default.number,filterResults:v.default.func,searchContext:v.default.shape({URL_PELIAS:v.default.string,context:v.default.object,clearOldSearches:v.default.func,clearFutureRoutes:v.default.func}).isRequired,sources:v.default.arrayOf(v.default.string),targets:v.default.arrayOf(v.default.string),ariaLabel:v.default.string,onSelect:v.default.func.isRequired,onClear:v.default.func,storeRef:v.default.func,handleViaPoints:v.default.func,focusChange:v.default.func,lang:v.default.string,isMobile:v.default.bool,pathOpts:v.default.shape({routesPrefix:v.default.string,stopsPrefix:v.default.string}),mobileLabel:v.default.string,refPoint:v.default.shape({address:v.default.string,lat:v.default.number,lon:v.default.number}),inputClassName:v.default.string,fontWeights:v.default.shape({medium:v.default.number}),colors:v.default.objectOf(v.default.string),getAutoSuggestIcons:v.default.objectOf(v.default.func),required:v.default.bool,modeSet:v.default.string,showScroll:v.default.bool,isEmbedded:v.default.bool}),Pu.defaultProps={icon:void 0,value:"",transportMode:void 0,filterResults:void 0,onClear:void 0,lang:"fi",storeRef:void 0,handleViaPoints:void 0,focusChange:void 0,getAutoSuggestIcons:void 0,sources:[],targets:void 0,isMobile:!1,isEmbedded:!1,geocodingSize:void 0,pathOpts:{routesPrefix:"linjat",stopsPrefix:"pysakit"},ariaLabel:void 0,mobileLabel:void 0,inputClassName:"",translatedPlaceholder:void 0,fontWeights:{medium:500},colors:f.defaultColors,required:!1,modeSet:void 0,showScroll:!1,refPoint:{}};e.default=e=>_.default.createElement(u.I18nextProvider,{i18n:Jn},_.default.createElement(Pu,e)),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("prop-types"),require("react"),require("react-i18next"),require("classnames"),require("lodash/debounce"),require("lodash/flatten"),require("lodash/take"),require("lodash/isString"),require("lodash/orderBy"),require("lodash/uniqWith"),require("lodash/get"),require("downshift"),require("@digitransit-component/digitransit-component-icon"),require("i18next"),require("lodash/isEqual"),require("lodash/memoize"),require("lodash/escapeRegExp"),require("lodash/cloneDeep"),require("luxon"),require("react-modal"),require("@digitransit-component/digitransit-component-dialog-modal"),require("@digitransit-component/digitransit-component-suggestion-item")):"function"==typeof define&&define.amd?define(["exports","prop-types","react","react-i18next","classnames","lodash/debounce","lodash/flatten","lodash/take","lodash/isString","lodash/orderBy","lodash/uniqWith","lodash/get","downshift","@digitransit-component/digitransit-component-icon","i18next","lodash/isEqual","lodash/memoize","lodash/escapeRegExp","lodash/cloneDeep","luxon","react-modal","@digitransit-component/digitransit-component-dialog-modal","@digitransit-component/digitransit-component-suggestion-item"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).DTAutosuggest={},e.PropTypes,e.React,e.reactI18next,e.cx,e.debounce,e.flatten,e.take,e.isString,e.orderBy,e.uniqWith,e.get,e.downshift,e.Icon,e.i18next,e.isEqual,e.memoize,e.escapeRegExp,e.cloneDeep,e.luxon,e.ReactModal,e.DialogModal,e.SuggestionItem)}(this,function(e,t,n,r,o,u,i,s,a,l,c,d,p,f,h,g,b,m,y,E,A,F,w){"use strict";function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=v(t),C=v(n),D=v(o),S=v(u),B=v(i),O=v(s),R=v(a),x=v(l),k=v(c),j=v(d),P=v(f),T=v(b),N=v(m),L=v(y),M=v(A),I=v(F),U=v(w);function q(e){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function z(e){var t=function(e,t){if("object"!=q(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=q(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==q(t)?t:t+""}function H(e,t,n){return(t=z(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){return e&&t&&e===t}const W=["stop","station","favouriteStop","favouriteStation"],$=["favouriteVehicleRentalStation","bikestation"];function J(e){if(!e)return"";const t=e.split(":");return 0===t.length?"":`citybikes${t[0]}:bikestation:${t[1]}`}function K(e,t){const n=e.properties,r=t.properties;if("FutureRoute"===e.type&&"FutureRoute"===t.type){const e=n.origin,t=n.destination,o=r.origin,u=r.destination;return`${e.name}//${e.localadmin}//${t.name}//${t.localadmin}`===`${o.name}//${o.localadmin}//${u.name}//${u.localadmin}`}if("FutureRoute"===e.type||"FutureRoute"===t.type)return!1;if($.includes(n.layer)&&$.includes(r.layer)){return(n.gid||J(n.labelId))===(r.gid||J(r.labelId))}if(n.gtfsId&&r.gtfsId)return n.gtfsId===r.gtfsId;if(W.includes(n.layer)&&W.includes(r.layer)&&n.gid&&r.gid)return n.gid===r.gid;const o=e&&e.geometry?e.geometry.coordinates:void 0,u=t&&t.geometry?t.geometry.coordinates:void 0;return!!(o&&u&&Math.abs(o[0]-u[0])<1e-6&&Math.abs(o[1]-u[1])<1e-6&&(V(n.name,r.name)||V(n.label,r.label)||V(n.address,r.address)||V(n.address,r.label)||V(n.label,r.address)))}const G=e=>R.default(e)?e.toLowerCase():"",X=e=>e.split(/([A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10940}-\u{10959}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10D4A}-\u{10D65}\u{10D6F}-\u{10D85}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC7}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}\u{113D1}\u{113D3}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11BC0}-\u{11BE0}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11DB0}-\u{11DDB}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D6C}\u{16E40}-\u{16E7F}\u{16EA0}-\u{16EB8}\u{16EBB}-\u{16ED3}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF2}\u{16FF3}\u{17000}-\u{18CD5}\u{18CFF}-\u{18D1E}\u{18D80}-\u{18DF2}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E5D0}-\u{1E5ED}\u{1E5F0}\u{1E6C0}-\u{1E6DE}\u{1E6E0}-\u{1E6E2}\u{1E6E4}\u{1E6E5}\u{1E6E7}-\u{1E6ED}\u{1E6F0}-\u{1E6F4}\u{1E6FE}\u{1E6FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B81D}\u{2B820}-\u{2CEAD}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{33479}]+)/u),Q=e=>/^[0-9]+[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{105C0}-\u{105F3}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10940}-\u{10959}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10D4A}-\u{10D65}\u{10D6F}-\u{10D85}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10EC2}-\u{10EC7}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11380}-\u{11389}\u{1138B}\u{1138E}\u{11390}-\u{113B5}\u{113B7}\u{113D1}\u{113D3}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11BC0}-\u{11BE0}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11DB0}-\u{11DDB}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{13460}-\u{143FA}\u{14400}-\u{14646}\u{16100}-\u{1611D}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16D40}-\u{16D6C}\u{16E40}-\u{16E7F}\u{16EA0}-\u{16EB8}\u{16EBB}-\u{16ED3}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{16FF2}\u{16FF3}\u{17000}-\u{18CD5}\u{18CFF}-\u{18D1E}\u{18D80}-\u{18DF2}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E5D0}-\u{1E5ED}\u{1E5F0}\u{1E6C0}-\u{1E6DE}\u{1E6E0}-\u{1E6E2}\u{1E6E4}\u{1E6E5}\u{1E6E7}-\u{1E6ED}\u{1E6F0}-\u{1E6F4}\u{1E6FE}\u{1E6FF}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B81D}\u{2B820}-\u{2CEAD}\u{2CEB0}-\u{2EBE0}\u{2EBF0}-\u{2EE5D}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{33479}]+$/u.test(e),Z="back",Y="currentPosition",ee="favouriteStop",te="favouriteStation",ne="favouritePlace",re="favouriteRoute",oe="favouriteVehicleRentalStation",ue="futureRoute",ie="station",se="selectFromMap",ae="ownLocations",le="stop",ce="bikestation",de="carpark",pe="bikepark",fe=({layer:e,type:t})=>"stop"===e||"favouriteStop"===e||"stop"===t||"favouriteStop"===t,he=(e,t)=>{switch(e){case Y:return 1;case Z:return.9;case se:return.8;case ae:return.79;case te:case ne:case ee:case re:case oe:return.45;case ue:return.44;case ie:return R.default(t)&&0===t.indexOf("gtfs")?.43:.42;case de:case pe:case ce:return.38;case le:return.36;default:return.41}},ge=(e,t,n="")=>{if(!Array.isArray(t)||!t.length)return t;const r=t=>R.default(t)&&e&&e.test(t),o=G(n),u=r(o),i=x.default(t.filter(e=>e),[e=>u&&r(G(e.properties.shortName))&&0===G(e.properties.shortName).indexOf(o)?1:0,e=>{const{confidence:t,layer:n,source:r}=e.properties;if(0===o.length)return he(n,r);if(!t)return he(n,r)+((e,t)=>R.default(e)&&0!==e.length?["name","label","address","shortName"].map(e=>({name:e,value:t[e]})).filter(e=>R.default(e.value)&&e.value.length>0).map(t=>{let n=G(t.value);return 0===n.indexOf(e)?("shortName"===t.name&&Q(n)&&([n]=X(n)),.5+e.length/n.length):.5*e.length/(e.length+1)}).reduce((e,t)=>t>e?t:e,0):0)(o,e.properties);switch(n){case ie:return t+(0===r.indexOf("gtfs")?.02:.01);case le:case de:case pe:return t-.05;case ce:return t-.04;default:return t}},e=>{if(e.properties.shortName)return Q(e.properties.shortName)?X(e.properties.shortName)[0]:e.properties.shortName},e=>{if(e.properties.shortName)return Q(e.properties.shortName)?X(e.properties.shortName)[1]:e.properties.shortName},"properties.longName"],["desc","desc","asc","asc","asc"]);return k.default(i,K)},be=(e,t)=>null!=t&&-1!==e.lastIndexOf(t)?e.substring(0,e.lastIndexOf(t)-1):e;function me(e,t,n){if("string"==typeof t&&t.length>0){const r=t.toLowerCase().trim(),o=r.includes(" ")||r.includes(",");return e.filter(e=>{let t=[];n.forEach(n=>{let r=j.default(e,n);o||"properties.label"!==n&&"address"!==n||!r||(r=r.split(","),r.length>2?r.splice(r.length-2,2):r.length>1&&r.splice(r.length-1,1),r=r.join(",")),r&&(t=o?t.concat(r.toLowerCase()):t.concat(r.toLowerCase().replace(/,/g," ").split(" ")))});for(let e=0;e<t.length;e++)if(0===t[e].indexOf(r))return!0;return!1})}return e}function ye(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ee}=Object.prototype,{getPrototypeOf:Ae}=Object,{iterator:Fe,toStringTag:we}=Symbol,ve=(_e=Object.create(null),e=>{const t=Ee.call(e);return _e[t]||(_e[t]=t.slice(8,-1).toLowerCase())});var _e;const Ce=e=>(e=e.toLowerCase(),t=>ve(t)===e),De=e=>t=>typeof t===e,{isArray:Se}=Array,Be=De("undefined");function Oe(e){return null!==e&&!Be(e)&&null!==e.constructor&&!Be(e.constructor)&&ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Re=Ce("ArrayBuffer");const xe=De("string"),ke=De("function"),je=De("number"),Pe=e=>null!==e&&"object"==typeof e,Te=e=>{if("object"!==ve(e))return!1;const t=Ae(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||we in e||Fe in e)},Ne=Ce("Date"),Le=Ce("File"),Me=Ce("Blob"),Ie=Ce("FileList");const Ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},qe=void 0!==Ue.FormData?Ue.FormData:void 0,ze=Ce("URLSearchParams"),[He,Ve,We,$e]=["ReadableStream","Request","Response","Headers"].map(Ce);function Je(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Se(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Oe(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),u=o.length;let i;for(r=0;r<u;r++)i=o[r],t.call(null,e[i],i,e)}}function Ke(e,t){if(Oe(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Ge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Xe=e=>!Be(e)&&e!==Ge;const Qe=(Ze="undefined"!=typeof Uint8Array&&Ae(Uint8Array),e=>Ze&&e instanceof Ze);var Ze;const Ye=Ce("HTMLFormElement"),et=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),tt=Ce("RegExp"),nt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Je(n,(n,o)=>{let u;!1!==(u=t(n,o,e))&&(r[o]=u||n)}),Object.defineProperties(e,r)};const rt=Ce("AsyncFunction"),ot=(ut="function"==typeof setImmediate,it=ke(Ge.postMessage),ut?setImmediate:it?(st=`axios@${Math.random()}`,at=[],Ge.addEventListener("message",({source:e,data:t})=>{e===Ge&&t===st&&at.length&&at.shift()()},!1),e=>{at.push(e),Ge.postMessage(st,"*")}):e=>setTimeout(e));var ut,it,st,at;const lt="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Ge):"undefined"!=typeof process&&process.nextTick||ot;var ct={isArray:Se,isArrayBuffer:Re,isBuffer:Oe,isFormData:e=>{let t;return e&&(qe&&e instanceof qe||ke(e.append)&&("formdata"===(t=ve(e))||"object"===t&&ke(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Re(e.buffer),t},isString:xe,isNumber:je,isBoolean:e=>!0===e||!1===e,isObject:Pe,isPlainObject:Te,isEmptyObject:e=>{if(!Pe(e)||Oe(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:He,isRequest:Ve,isResponse:We,isHeaders:$e,isUndefined:Be,isDate:Ne,isFile:Le,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:Me,isRegExp:tt,isFunction:ke,isStream:e=>Pe(e)&&ke(e.pipe),isURLSearchParams:ze,isTypedArray:Qe,isFileList:Ie,forEach:Je,merge:function e(){const{caseless:t,skipUndefined:n}=Xe(this)&&this||{},r={},o=(o,u)=>{if("__proto__"===u||"constructor"===u||"prototype"===u)return;const i=t&&Ke(r,u)||u;Te(r[i])&&Te(o)?r[i]=e(r[i],o):Te(o)?r[i]=e({},o):Se(o)?r[i]=o.slice():n&&Be(o)||(r[i]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Je(arguments[e],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(Je(t,(t,r)=>{n&&ke(t)?Object.defineProperty(e,r,{value:ye(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,u,i;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),u=o.length;u-- >0;)i=o[u],r&&!r(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==n&&Ae(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:ve,kindOfTest:Ce,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Se(e))return e;let t=e.length;if(!je(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Fe]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Ye,hasOwnProperty:et,hasOwnProp:et,reduceDescriptors:nt,freezeMethods:e=>{nt(e,(t,n)=>{if(ke(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];ke(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return Se(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ke,global:Ge,isContextDefined:Xe,isSpecCompliantForm:function(e){return!!(e&&ke(e.append)&&"FormData"===e[we]&&e[Fe])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Pe(e)){if(t.indexOf(e)>=0)return;if(Oe(e))return e;if(!("toJSON"in e)){t[r]=e;const o=Se(e)?[]:{};return Je(e,(e,t)=>{const u=n(e,r+1);!Be(u)&&(o[t]=u)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:rt,isThenable:e=>e&&(Pe(e)||ke(e))&&ke(e.then)&&ke(e.catch),setImmediate:ot,asap:lt,isIterable:e=>null!=e&&ke(e[Fe])};class dt extends Error{static from(e,t,n,r,o,u){const i=new dt(e.message,t||e.code,n,r,o);return i.cause=e,i.name=e.name,null!=e.status&&null==i.status&&(i.status=e.status),u&&Object.assign(i,u),i}constructor(e,t,n,r,o){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ct.toJSONObject(this.config),code:this.code,status:this.status}}}dt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",dt.ERR_BAD_OPTION="ERR_BAD_OPTION",dt.ECONNABORTED="ECONNABORTED",dt.ETIMEDOUT="ETIMEDOUT",dt.ERR_NETWORK="ERR_NETWORK",dt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",dt.ERR_DEPRECATED="ERR_DEPRECATED",dt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",dt.ERR_BAD_REQUEST="ERR_BAD_REQUEST",dt.ERR_CANCELED="ERR_CANCELED",dt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",dt.ERR_INVALID_URL="ERR_INVALID_URL";var pt=dt;function ft(e){return ct.isPlainObject(e)||ct.isArray(e)}function ht(e){return ct.endsWith(e,"[]")?e.slice(0,-2):e}function gt(e,t,n){return e?e.concat(t).map(function(e,t){return e=ht(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const bt=ct.toFlatObject(ct,{},null,function(e){return/^is[A-Z]/.test(e)});function mt(e,t,n){if(!ct.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=ct.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!ct.isUndefined(t[e])})).metaTokens,o=n.visitor||l,u=n.dots,i=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ct.isSpecCompliantForm(t);if(!ct.isFunction(o))throw new TypeError("visitor must be a function");function a(e){if(null===e)return"";if(ct.isDate(e))return e.toISOString();if(ct.isBoolean(e))return e.toString();if(!s&&ct.isBlob(e))throw new pt("Blob is not supported. Use a Buffer instead.");return ct.isArrayBuffer(e)||ct.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,o){let s=e;if(ct.isReactNative(t)&&ct.isReactNativeBlob(e))return t.append(gt(o,n,u),a(e)),!1;if(e&&!o&&"object"==typeof e)if(ct.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(ct.isArray(e)&&function(e){return ct.isArray(e)&&!e.some(ft)}(e)||(ct.isFileList(e)||ct.endsWith(n,"[]"))&&(s=ct.toArray(e)))return n=ht(n),s.forEach(function(e,r){!ct.isUndefined(e)&&null!==e&&t.append(!0===i?gt([n],r,u):null===i?n:n+"[]",a(e))}),!1;return!!ft(e)||(t.append(gt(o,n,u),a(e)),!1)}const c=[],d=Object.assign(bt,{defaultVisitor:l,convertValue:a,isVisitable:ft});if(!ct.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!ct.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),ct.forEach(n,function(n,u){!0===(!(ct.isUndefined(n)||null===n)&&o.call(t,n,ct.isString(u)?u.trim():u,r,d))&&e(n,r?r.concat(u):[u])}),c.pop()}}(e),t}function yt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Et(e,t){this._pairs=[],e&&mt(e,this,t)}const At=Et.prototype;function Ft(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function wt(e,t,n){if(!t)return e;const r=n&&n.encode||Ft,o=ct.isFunction(n)?{serialize:n}:n,u=o&&o.serialize;let i;if(i=u?u(t,o):ct.isURLSearchParams(t)?t.toString():new Et(t,o).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}At.append=function(e,t){this._pairs.push([e,t])},At.toString=function(e){const t=e?function(t){return e.call(this,t,yt)}:yt;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var vt=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ct.forEach(this.handlers,function(t){null!==t&&e(t)})}},_t={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Ct={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Et,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Dt="undefined"!=typeof window&&"undefined"!=typeof document,St="object"==typeof navigator&&navigator||void 0,Bt=Dt&&(!St||["ReactNative","NativeScript","NS"].indexOf(St.product)<0),Ot="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Rt=Dt&&window.location.href||"http://localhost";var xt={...Object.freeze({__proto__:null,hasBrowserEnv:Dt,hasStandardBrowserWebWorkerEnv:Ot,hasStandardBrowserEnv:Bt,navigator:St,origin:Rt}),...Ct};function kt(e){function t(e,n,r,o){let u=e[o++];if("__proto__"===u)return!0;const i=Number.isFinite(+u),s=o>=e.length;if(u=!u&&ct.isArray(r)?r.length:u,s)return ct.hasOwnProp(r,u)?r[u]=[r[u],n]:r[u]=n,!i;r[u]&&ct.isObject(r[u])||(r[u]=[]);return t(e,n,r[u],o)&&ct.isArray(r[u])&&(r[u]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let u;for(r=0;r<o;r++)u=n[r],t[u]=e[u];return t}(r[u])),!i}if(ct.isFormData(e)&&ct.isFunction(e.entries)){const n={};return ct.forEachEntry(e,(e,r)=>{t(function(e){return ct.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const jt={transitional:_t,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=ct.isObject(e);o&&ct.isHTMLForm(e)&&(e=new FormData(e));if(ct.isFormData(e))return r?JSON.stringify(kt(e)):e;if(ct.isArrayBuffer(e)||ct.isBuffer(e)||ct.isStream(e)||ct.isFile(e)||ct.isBlob(e)||ct.isReadableStream(e))return e;if(ct.isArrayBufferView(e))return e.buffer;if(ct.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let u;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return mt(e,new xt.classes.URLSearchParams,{visitor:function(e,t,n,r){return xt.isNode&&ct.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((u=ct.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return mt(u?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(ct.isString(e))try{return(t||JSON.parse)(e),ct.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||jt.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(ct.isResponse(e)||ct.isReadableStream(e))return e;if(e&&ct.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw pt.from(e,pt.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:xt.classes.FormData,Blob:xt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ct.forEach(["delete","get","head","post","put","patch"],e=>{jt.headers[e]={}});var Pt=jt;const Tt=ct.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Nt=Symbol("internals");function Lt(e,t){if(!1!==e&&null!=e)if(ct.isArray(e))e.forEach(e=>Lt(e,t));else if(!(e=>!/[\r\n]/.test(e))(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}function Mt(e){return e&&String(e).trim().toLowerCase()}function It(e){return!1===e||null==e?e:ct.isArray(e)?e.map(It):function(e){let t=e.length;for(;t>0;){const n=e.charCodeAt(t-1);if(10!==n&&13!==n)break;t-=1}return t===e.length?e:e.slice(0,t)}(String(e))}function Ut(e,t,n,r,o){return ct.isFunction(r)?r.call(this,t,n):(o&&(t=n),ct.isString(t)?ct.isString(r)?-1!==t.indexOf(r):ct.isRegExp(r)?r.test(t):void 0:void 0)}class qt{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Mt(t);if(!o)throw new Error("header name must be a non-empty string");const u=ct.findKey(r,o);(!u||void 0===r[u]||!0===n||void 0===n&&!1!==r[u])&&(Lt(e,t),r[u||t]=It(e))}const u=(e,t)=>ct.forEach(e,(e,n)=>o(e,n,t));if(ct.isPlainObject(e)||e instanceof this.constructor)u(e,t);else if(ct.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))u((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Tt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(ct.isObject(e)&&ct.isIterable(e)){let n,r,o={};for(const t of e){if(!ct.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?ct.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}u(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=Mt(e)){const n=ct.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(ct.isFunction(t))return t.call(this,e,n);if(ct.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Mt(e)){const n=ct.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ut(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Mt(e)){const o=ct.findKey(n,e);!o||t&&!Ut(0,n[o],o,t)||(delete n[o],r=!0)}}return ct.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Ut(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return ct.forEach(this,(r,o)=>{const u=ct.findKey(n,o);if(u)return t[u]=It(r),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();i!==o&&delete t[o],t[i]=It(r),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ct.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&ct.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Nt]=this[Nt]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Mt(e);t[r]||(!function(e,t){const n=ct.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return ct.isArray(e)?e.forEach(r):r(e),this}}qt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ct.reduceDescriptors(qt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),ct.freezeMethods(qt);var zt=qt;function Ht(e,t){const n=this||Pt,r=t||n,o=zt.from(r.headers);let u=r.data;return ct.forEach(e,function(e){u=e.call(n,u,o.normalize(),t?t.status:void 0)}),o.normalize(),u}function Vt(e){return!(!e||!e.__CANCEL__)}var Wt=class extends pt{constructor(e,t,n){super(null==e?"canceled":e,pt.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function $t(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new pt("Request failed with status code "+n.status,[pt.ERR_BAD_REQUEST,pt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Jt=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,u=0,i=0;return t=void 0!==t?t:1e3,function(s){const a=Date.now(),l=r[i];o||(o=a),n[u]=s,r[u]=a;let c=i,d=0;for(;c!==u;)d+=n[c++],c%=e;if(u=(u+1)%e,u===i&&(i=(i+1)%e),a-o<t)return;const p=l&&a-l;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(e,t){let n,r,o=0,u=1e3/t;const i=(t,u=Date.now())=>{o=u,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=u?i(e,t):(n=e,r||(r=setTimeout(()=>{r=null,i(n)},u-s)))},()=>n&&i(n)]}(n=>{const u=n.loaded,i=n.lengthComputable?n.total:void 0,s=u-r,a=o(s);r=u;e({loaded:u,total:i,progress:i?u/i:void 0,bytes:s,rate:a||void 0,estimated:a&&i&&u<=i?(i-u)/a:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})},n)},Kt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Gt=e=>(...t)=>ct.asap(()=>e(...t));var Xt=xt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,xt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(xt.origin),xt.navigator&&/(msie|trident)/i.test(xt.navigator.userAgent)):()=>!0,Qt=xt.hasStandardBrowserEnv?{write(e,t,n,r,o,u,i){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];ct.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),ct.isString(r)&&s.push(`path=${r}`),ct.isString(o)&&s.push(`domain=${o}`),!0===u&&s.push("secure"),ct.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function Zt(e,t,n){let r=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Yt=e=>e instanceof zt?{...e}:e;function en(e,t){t=t||{};const n={};function r(e,t,n,r){return ct.isPlainObject(e)&&ct.isPlainObject(t)?ct.merge.call({caseless:r},e,t):ct.isPlainObject(t)?ct.merge({},t):ct.isArray(t)?t.slice():t}function o(e,t,n,o){return ct.isUndefined(t)?ct.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function u(e,t){if(!ct.isUndefined(t))return r(void 0,t)}function i(e,t){return ct.isUndefined(t)?ct.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,u){return u in t?r(n,o):u in e?r(void 0,n):void 0}const a={url:u,method:u,data:u,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t,n)=>o(Yt(e),Yt(t),0,!0)};return ct.forEach(Object.keys({...e,...t}),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const u=ct.hasOwnProp(a,r)?a[r]:o,i=u(e[r],t[r],r);ct.isUndefined(i)&&u!==s||(n[r]=i)}),n}var tn=e=>{const t=en({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:u,headers:i,auth:s}=t;if(t.headers=i=zt.from(i),t.url=wt(Zt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),ct.isFormData(n))if(xt.hasStandardBrowserEnv||xt.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(ct.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&i.set(e,n)})}if(xt.hasStandardBrowserEnv&&(r&&ct.isFunction(r)&&(r=r(t)),r||!1!==r&&Xt(t.url))){const e=o&&u&&Qt.read(u);e&&i.set(o,e)}return t};var nn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=tn(e);let o=r.data;const u=zt.from(r.headers).normalize();let i,s,a,l,c,{responseType:d,onUploadProgress:p,onDownloadProgress:f}=r;function h(){l&&l(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let g=new XMLHttpRequest;function b(){if(!g)return;const r=zt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());$t(function(e){t(e),h()},function(e){n(e),h()},{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(b)},g.onabort=function(){g&&(n(new pt("Request aborted",pt.ECONNABORTED,e,g)),g=null)},g.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new pt(r,pt.ERR_NETWORK,e,g);o.event=t||null,n(o),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||_t;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new pt(t,o.clarifyTimeoutError?pt.ETIMEDOUT:pt.ECONNABORTED,e,g)),g=null},void 0===o&&u.setContentType(null),"setRequestHeader"in g&&ct.forEach(u.toJSON(),function(e,t){g.setRequestHeader(t,e)}),ct.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),f&&([a,c]=Jt(f,!0),g.addEventListener("progress",a)),p&&g.upload&&([s,l]=Jt(p),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(i=t=>{g&&(n(!t||t.type?new Wt(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);m&&-1===xt.protocols.indexOf(m)?n(new pt("Unsupported protocol "+m+":",pt.ERR_BAD_REQUEST,e)):g.send(o||null)})};var rn=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof pt?t:new Wt(t instanceof Error?t.message:t))}};let u=t&&setTimeout(()=>{u=null,o(new pt(`timeout of ${t}ms exceeded`,pt.ETIMEDOUT))},t);const i=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>ct.asap(i),s}};const on=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},un=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},sn=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of un(e))yield*on(n,t)}(e,t);let u,i=0,s=e=>{u||(u=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let u=r.byteLength;if(n){let e=i+=u;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:an}=ct,ln=(({Request:e,Response:t})=>({Request:e,Response:t}))(ct.global),{ReadableStream:cn,TextEncoder:dn}=ct.global,pn=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},fn=e=>{e=ct.merge.call({skipUndefined:!0},ln,e);const{fetch:t,Request:n,Response:r}=e,o=t?an(t):"function"==typeof fetch,u=an(n),i=an(r);if(!o)return!1;const s=o&&an(cn),a=o&&("function"==typeof dn?(l=new dn,e=>l.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var l;const c=u&&s&&pn(()=>{let e=!1;const t=new cn,r=new n(xt.origin,{body:t,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return t.cancel(),e&&!r}),d=i&&s&&pn(()=>ct.isReadableStream(new r("").body)),p={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new pt(`Response type '${e}' is not supported`,pt.ERR_NOT_SUPPORT,n)})});const f=async(e,t)=>{const r=ct.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(ct.isBlob(e))return e.size;if(ct.isSpecCompliantForm(e)){const t=new n(xt.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ct.isArrayBufferView(e)||ct.isArrayBuffer(e)?e.byteLength:(ct.isURLSearchParams(e)&&(e+=""),ct.isString(e)?(await a(e)).byteLength:void 0)})(t):r};return async e=>{let{url:o,method:i,data:s,signal:a,cancelToken:l,timeout:h,onDownloadProgress:g,onUploadProgress:b,responseType:m,headers:y,withCredentials:E="same-origin",fetchOptions:A}=tn(e),F=t||fetch;m=m?(m+"").toLowerCase():"text";let w=rn([a,l&&l.toAbortSignal()],h),v=null;const _=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let C;try{if(b&&c&&"get"!==i&&"head"!==i&&0!==(C=await f(y,s))){let e,t=new n(o,{method:"POST",body:s,duplex:"half"});if(ct.isFormData(s)&&(e=t.headers.get("content-type"))&&y.setContentType(e),t.body){const[e,n]=Kt(C,Jt(Gt(b)));s=sn(t.body,65536,e,n)}}ct.isString(E)||(E=E?"include":"omit");const t=u&&"credentials"in n.prototype,a={...A,signal:w,method:i.toUpperCase(),headers:y.normalize().toJSON(),body:s,duplex:"half",credentials:t?E:void 0};v=u&&new n(o,a);let l=await(u?F(v,A):F(o,a));const h=d&&("stream"===m||"response"===m);if(d&&(g||h&&_)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=l[t]});const t=ct.toFiniteNumber(l.headers.get("content-length")),[n,o]=g&&Kt(t,Jt(Gt(g),!0))||[];l=new r(sn(l.body,65536,n,()=>{o&&o(),_&&_()}),e)}m=m||"text";let D=await p[ct.findKey(p,m)||"text"](l,e);return!h&&_&&_(),await new Promise((t,n)=>{$t(t,n,{data:D,headers:zt.from(l.headers),status:l.status,statusText:l.statusText,config:e,request:v})})}catch(t){if(_&&_(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new pt("Network Error",pt.ERR_NETWORK,e,v,t&&t.response),{cause:t.cause||t});throw pt.from(t,t&&t.code,e,v,t&&t.response)}}},hn=new Map,gn=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,u=[r,o,n];let i,s,a=u.length,l=hn;for(;a--;)i=u[a],s=l.get(i),void 0===s&&l.set(i,s=a?new Map:fn(t)),l=s;return s};gn();const bn={http:null,xhr:nn,fetch:{get:gn}};ct.forEach(bn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const mn=e=>`- ${e}`,yn=e=>ct.isFunction(e)||null===e||!1===e;var En={getAdapter:function(e,t){e=ct.isArray(e)?e:[e];const{length:n}=e;let r,o;const u={};for(let i=0;i<n;i++){let n;if(r=e[i],o=r,!yn(r)&&(o=bn[(n=String(r)).toLowerCase()],void 0===o))throw new pt(`Unknown adapter '${n}'`);if(o&&(ct.isFunction(o)||(o=o.get(t))))break;u[n||"#"+i]=o}if(!o){const e=Object.entries(u).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(mn).join("\n"):" "+mn(e[0]):"as no adapter specified";throw new pt("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:bn};function An(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Wt(null,e)}function Fn(e){An(e),e.headers=zt.from(e.headers),e.data=Ht.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return En.getAdapter(e.adapter||Pt.adapter,e)(e).then(function(t){return An(e),t.data=Ht.call(e,e.transformResponse,t),t.headers=zt.from(t.headers),t},function(t){return Vt(t)||(An(e),t&&t.response&&(t.response.data=Ht.call(e,e.transformResponse,t.response),t.response.headers=zt.from(t.response.headers))),Promise.reject(t)})}const wn="1.15.0",vn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{vn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const _n={};vn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+wn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,u)=>{if(!1===e)throw new pt(r(o," has been removed"+(t?" in "+t:"")),pt.ERR_DEPRECATED);return t&&!_n[o]&&(_n[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,u)}},vn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Cn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new pt("options must be an object",pt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const u=r[o],i=t[u];if(i){const t=e[u],n=void 0===t||i(t,u,e);if(!0!==n)throw new pt("option "+u+" must be "+n,pt.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new pt("Unknown option "+u,pt.ERR_BAD_OPTION)}},validators:vn};const Dn=Cn.validators;class Sn{constructor(e){this.defaults=e||{},this.interceptors={request:new vt,response:new vt}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),o=-1===r?"":n.slice(r+1);String(e.stack).endsWith(o)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=en(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Cn.assertOptions(n,{silentJSONParsing:Dn.transitional(Dn.boolean),forcedJSONParsing:Dn.transitional(Dn.boolean),clarifyTimeoutError:Dn.transitional(Dn.boolean),legacyInterceptorReqResOrdering:Dn.transitional(Dn.boolean)},!1),null!=r&&(ct.isFunction(r)?t.paramsSerializer={serialize:r}:Cn.assertOptions(r,{encode:Dn.function,serialize:Dn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Cn.assertOptions(t,{baseUrl:Dn.spelling("baseURL"),withXsrfToken:Dn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let u=o&&ct.merge(o.common,o[t.method]);o&&ct.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=zt.concat(u,o);const i=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const n=t.transitional||_t;n&&n.legacyInterceptorReqResOrdering?i.unshift(e.fulfilled,e.rejected):i.push(e.fulfilled,e.rejected)});const a=[];let l;this.interceptors.response.forEach(function(e){a.push(e.fulfilled,e.rejected)});let c,d=0;if(!s){const e=[Fn.bind(this),void 0];for(e.unshift(...i),e.push(...a),c=e.length,l=Promise.resolve(t);d<c;)l=l.then(e[d++],e[d++]);return l}c=i.length;let p=t;for(;d<c;){const e=i[d++],t=i[d++];try{p=e(p)}catch(e){t.call(this,e);break}}try{l=Fn.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,c=a.length;d<c;)l=l.then(a[d++],a[d++]);return l}getUri(e){return wt(Zt((e=en(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}ct.forEach(["delete","get","head","options"],function(e){Sn.prototype[e]=function(t,n){return this.request(en(n||{},{method:e,url:t,data:(n||{}).data}))}}),ct.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(en(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Sn.prototype[e]=t(),Sn.prototype[e+"Form"]=t(!0)});var Bn=Sn;class On{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new Wt(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new On(function(t){e=t}),cancel:e}}}var Rn=On;const xn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(xn).forEach(([e,t])=>{xn[t]=e});var kn=xn;const jn=function e(t){const n=new Bn(t),r=ye(Bn.prototype.request,n);return ct.extend(r,Bn.prototype,n,{allOwnKeys:!0}),ct.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(en(t,n))},r}(Pt);jn.Axios=Bn,jn.CanceledError=Wt,jn.CancelToken=Rn,jn.isCancel=Vt,jn.VERSION=wn,jn.toFormData=mt,jn.AxiosError=pt,jn.Cancel=jn.CanceledError,jn.all=function(e){return Promise.all(e)},jn.spread=function(e){return function(t){return e.apply(null,t)}},jn.isAxiosError=function(e){return ct.isObject(e)&&!0===e.isAxiosError},jn.mergeConfig=en,jn.AxiosHeaders=zt,jn.formToJSON=e=>kt(ct.isHTMLForm(e)?new FormData(e):e),jn.getAdapter=En.getAdapter,jn.HttpStatusCode=kn,jn.default=jn;var Pn=jn;function Tn(e,t){return e?Object.keys(e).map(n=>{const r=t||n,o=e[n];return"object"==typeof o?Tn(o,r):`${encodeURIComponent(r)}=${encodeURIComponent(o)}`}).join("&"):""}function Nn(e,t,n,r,o,u,i,s){const a=e?e.trim():null;if(null==a||a.length<1||i&&!i.test(a))return Promise.resolve([]);const l=u||"https://api.digitransit.fi/geocoding/v1/search";let c={text:a,...t,...r,lang:n};if(o&&(c={...c,sources:o}),s){const e=s.toString();c={...c,layers:e}}return(d=l,p=c,Pn.get(encodeURI(d)+(p?(-1===d.search(/\?/)?"?":"&")+Tn(p):""),{timeout:1e4,method:"GET",headers:{Accept:"application/json"}}).then(e=>e.data)).then(e=>e.features);var d,p}function Ln(e,t){return function(){return e.apply(t,arguments)}}const{toString:Mn}=Object.prototype,{getPrototypeOf:In}=Object,{iterator:Un,toStringTag:qn}=Symbol,zn=(e=>t=>{const n=Mn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Hn=e=>(e=e.toLowerCase(),t=>zn(t)===e),Vn=e=>t=>typeof t===e,{isArray:Wn}=Array,$n=Vn("undefined");function Jn(e){return null!==e&&!$n(e)&&null!==e.constructor&&!$n(e.constructor)&&Xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kn=Hn("ArrayBuffer");const Gn=Vn("string"),Xn=Vn("function"),Qn=Vn("number"),Zn=e=>null!==e&&"object"==typeof e,Yn=e=>{if("object"!==zn(e))return!1;const t=In(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||qn in e||Un in e)},er=Hn("Date"),tr=Hn("File"),nr=Hn("Blob"),rr=Hn("FileList");const or="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},ur=void 0!==or.FormData?or.FormData:void 0,ir=Hn("URLSearchParams"),[sr,ar,lr,cr]=["ReadableStream","Request","Response","Headers"].map(Hn);function dr(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Wn(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Jn(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),u=o.length;let i;for(r=0;r<u;r++)i=o[r],t.call(null,e[i],i,e)}}function pr(e,t){if(Jn(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const fr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,hr=e=>!$n(e)&&e!==fr;const gr=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&In(Uint8Array)),br=Hn("HTMLFormElement"),mr=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),{propertyIsEnumerable:yr}=Object.prototype,Er=Hn("RegExp"),Ar=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};dr(n,(n,o)=>{let u;!1!==(u=t(n,o,e))&&(r[o]=u||n)}),Object.defineProperties(e,r)};const Fr=Hn("AsyncFunction"),wr=((e,t)=>e?setImmediate:t?((e,t)=>(fr.addEventListener("message",({source:n,data:r})=>{n===fr&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),fr.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))("function"==typeof setImmediate,Xn(fr.postMessage)),vr="undefined"!=typeof queueMicrotask?queueMicrotask.bind(fr):"undefined"!=typeof process&&process.nextTick||wr;var _r={isArray:Wn,isArrayBuffer:Kn,isBuffer:Jn,isFormData:e=>{if(!e)return!1;if(ur&&e instanceof ur)return!0;const t=In(e);if(!t||t===Object.prototype)return!1;if(!Xn(e.append))return!1;const n=zn(e);return"formdata"===n||"object"===n&&Xn(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Kn(e.buffer),t},isString:Gn,isNumber:Qn,isBoolean:e=>!0===e||!1===e,isObject:Zn,isPlainObject:Yn,isEmptyObject:e=>{if(!Zn(e)||Jn(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:sr,isRequest:ar,isResponse:lr,isHeaders:cr,isUndefined:$n,isDate:er,isFile:tr,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:nr,isRegExp:Er,isFunction:Xn,isStream:e=>Zn(e)&&Xn(e.pipe),isURLSearchParams:ir,isTypedArray:gr,isFileList:rr,forEach:dr,merge:function e(...t){const{caseless:n,skipUndefined:r}=hr(this)&&this||{},o={},u=(t,u)=>{if("__proto__"===u||"constructor"===u||"prototype"===u)return;const i=n&&"string"==typeof u&&pr(o,u)||u,s=mr(o,i)?o[i]:void 0;Yn(s)&&Yn(t)?o[i]=e(s,t):Yn(t)?o[i]=e({},t):Wn(t)?o[i]=t.slice():r&&$n(t)||(o[i]=t)};for(let e=0,n=t.length;e<n;e++){const n=t[e];if(!n||Jn(n))continue;if(dr(n,u),"object"!=typeof n||Wn(n))continue;const r=Object.getOwnPropertySymbols(n);for(let e=0;e<r.length;e++){const t=r[e];yr.call(n,t)&&u(n[t],t)}}return o},extend:(e,t,n,{allOwnKeys:r}={})=>(dr(t,(t,r)=>{n&&Xn(t)?Object.defineProperty(e,r,{__proto__:null,value:Ln(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,u,i;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),u=o.length;u-- >0;)i=o[u],r&&!r(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==n&&In(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:zn,kindOfTest:Hn,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Wn(e))return e;let t=e.length;if(!Qn(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Un]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:br,hasOwnProperty:mr,hasOwnProp:mr,reduceDescriptors:Ar,freezeMethods:e=>{Ar(e,(t,n)=>{if(Xn(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];Xn(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return Wn(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:pr,global:fr,isContextDefined:hr,isSpecCompliantForm:function(e){return!!(e&&Xn(e.append)&&"FormData"===e[qn]&&e[Un])},toJSONObject:e=>{const t=new WeakSet,n=e=>{if(Zn(e)){if(t.has(e))return;if(Jn(e))return e;if(!("toJSON"in e)){t.add(e);const r=Wn(e)?[]:{};return dr(e,(e,t)=>{const o=n(e);!$n(o)&&(r[t]=o)}),t.delete(e),r}}return e};return n(e)},isAsyncFn:Fr,isThenable:e=>e&&(Zn(e)||Xn(e))&&Xn(e.then)&&Xn(e.catch),setImmediate:wr,asap:vr,isIterable:e=>null!=e&&Xn(e[Un])};const Cr=_r.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Dr=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Sr=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Br(e,t){return _r.isArray(e)?e.map(e=>Br(e,t)):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function Or(e){const t=Object.create(null);return _r.forEach(e.toJSON(),(e,n)=>{t[n]=(e=>Br(e,Sr))(e)}),t}const Rr=Symbol("internals");function xr(e){return e&&String(e).trim().toLowerCase()}function kr(e){return!1===e||null==e?e:_r.isArray(e)?e.map(kr):(e=>Br(e,Dr))(String(e))}function jr(e,t,n,r,o){return _r.isFunction(r)?r.call(this,t,n):(o&&(t=n),_r.isString(t)?_r.isString(r)?-1!==t.indexOf(r):_r.isRegExp(r)?r.test(t):void 0:void 0)}class Pr{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=xr(t);if(!o)return;const u=_r.findKey(r,o);(!u||void 0===r[u]||!0===n||void 0===n&&!1!==r[u])&&(r[u||t]=kr(e))}const u=(e,t)=>_r.forEach(e,(e,n)=>o(e,n,t));if(_r.isPlainObject(e)||e instanceof this.constructor)u(e,t);else if(_r.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))u((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Cr[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(_r.isObject(e)&&_r.isIterable(e)){let n,r,o={};for(const t of e){if(!_r.isArray(t))throw new TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?_r.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}u(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=xr(e)){const n=_r.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(_r.isFunction(t))return t.call(this,e,n);if(_r.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=xr(e)){const n=_r.findKey(this,e);return!(!n||void 0===this[n]||t&&!jr(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=xr(e)){const o=_r.findKey(n,e);!o||t&&!jr(0,n[o],o,t)||(delete n[o],r=!0)}}return _r.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!jr(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return _r.forEach(this,(r,o)=>{const u=_r.findKey(n,o);if(u)return t[u]=kr(r),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();i!==o&&delete t[o],t[i]=kr(r),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return _r.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&_r.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Rr]=this[Rr]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=xr(e);t[r]||(!function(e,t){const n=_r.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return _r.isArray(e)?e.forEach(r):r(e),this}}Pr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),_r.reduceDescriptors(Pr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),_r.freezeMethods(Pr);var Tr=Pr;function Nr(e,t){const n=new Set(t.map(e=>String(e).toLowerCase())),r=[],o=e=>{if(null===e||"object"!=typeof e)return e;if(_r.isBuffer(e))return e;if(-1!==r.indexOf(e))return;let t;if(e instanceof Tr&&(e=e.toJSON()),r.push(e),_r.isArray(e))t=[],e.forEach((e,n)=>{const r=o(e);_r.isUndefined(r)||(t[n]=r)});else{if(!_r.isPlainObject(e)&&function(e){if(_r.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(_r.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return r.pop(),e;t=Object.create(null);for(const[r,u]of Object.entries(e)){const e=n.has(r.toLowerCase())?"[REDACTED ****]":o(u);_r.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return o(e)}class Lr extends Error{static from(e,t,n,r,o,u){const i=new Lr(e.message,t||e.code,n,r,o);return i.cause=e,i.name=e.name,null!=e.status&&null==i.status&&(i.status=e.status),u&&Object.assign(i,u),i}constructor(e,t,n,r,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&_r.hasOwnProp(e,"redact")?e.redact:void 0,n=_r.isArray(t)&&t.length>0?Nr(e,t):_r.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}}Lr.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Lr.ERR_BAD_OPTION="ERR_BAD_OPTION",Lr.ECONNABORTED="ECONNABORTED",Lr.ETIMEDOUT="ETIMEDOUT",Lr.ECONNREFUSED="ECONNREFUSED",Lr.ERR_NETWORK="ERR_NETWORK",Lr.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Lr.ERR_DEPRECATED="ERR_DEPRECATED",Lr.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Lr.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Lr.ERR_CANCELED="ERR_CANCELED",Lr.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Lr.ERR_INVALID_URL="ERR_INVALID_URL",Lr.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Mr=Lr;function Ir(e){return _r.isPlainObject(e)||_r.isArray(e)}function Ur(e){return _r.endsWith(e,"[]")?e.slice(0,-2):e}function qr(e,t,n){return e?e.concat(t).map(function(e,t){return e=Ur(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const zr=_r.toFlatObject(_r,{},null,function(e){return/^is[A-Z]/.test(e)});function Hr(e,t,n){if(!_r.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=_r.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!_r.isUndefined(t[e])})).metaTokens,o=n.visitor||d,u=n.dots,i=n.indexes,s=n.Blob||"undefined"!=typeof Blob&&Blob,a=void 0===n.maxDepth?100:n.maxDepth,l=s&&_r.isSpecCompliantForm(t);if(!_r.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(_r.isDate(e))return e.toISOString();if(_r.isBoolean(e))return e.toString();if(!l&&_r.isBlob(e))throw new Mr("Blob is not supported. Use a Buffer instead.");return _r.isArrayBuffer(e)||_r.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function d(e,n,o){let s=e;if(_r.isReactNative(t)&&_r.isReactNativeBlob(e))return t.append(qr(o,n,u),c(e)),!1;if(e&&!o&&"object"==typeof e)if(_r.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(_r.isArray(e)&&function(e){return _r.isArray(e)&&!e.some(Ir)}(e)||(_r.isFileList(e)||_r.endsWith(n,"[]"))&&(s=_r.toArray(e)))return n=Ur(n),s.forEach(function(e,r){!_r.isUndefined(e)&&null!==e&&t.append(!0===i?qr([n],r,u):null===i?n:n+"[]",c(e))}),!1;return!!Ir(e)||(t.append(qr(o,n,u),c(e)),!1)}const p=[],f=Object.assign(zr,{defaultVisitor:d,convertValue:c,isVisitable:Ir});if(!_r.isObject(e))throw new TypeError("data must be an object");return function e(n,r,u=0){if(!_r.isUndefined(n)){if(u>a)throw new Mr("Object is too deeply nested ("+u+" levels). Max depth: "+a,Mr.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==p.indexOf(n))throw new Error("Circular reference detected in "+r.join("."));p.push(n),_r.forEach(n,function(n,i){!0===(!(_r.isUndefined(n)||null===n)&&o.call(t,n,_r.isString(i)?i.trim():i,r,f))&&e(n,r?r.concat(i):[i],u+1)}),p.pop()}}(e),t}function Vr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function Wr(e,t){this._pairs=[],e&&Hr(e,this,t)}const $r=Wr.prototype;function Jr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Kr(e,t,n){if(!t)return e;const r=n&&n.encode||Jr,o=_r.isFunction(n)?{serialize:n}:n,u=o&&o.serialize;let i;if(i=u?u(t,o):_r.isURLSearchParams(t)?t.toString():new Wr(t,o).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}$r.append=function(e,t){this._pairs.push([e,t])},$r.toString=function(e){const t=e?function(t){return e.call(this,t,Vr)}:Vr;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Gr=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){_r.forEach(this.handlers,function(t){null!==t&&e(t)})}},Xr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1},Qr={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Wr,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Zr="undefined"!=typeof window&&"undefined"!=typeof document,Yr="object"==typeof navigator&&navigator||void 0,eo=Zr&&(!Yr||["ReactNative","NativeScript","NS"].indexOf(Yr.product)<0),to="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,no=Zr&&window.location.href||"http://localhost";var ro={...Object.freeze({__proto__:null,hasBrowserEnv:Zr,hasStandardBrowserWebWorkerEnv:to,hasStandardBrowserEnv:eo,navigator:Yr,origin:no}),...Qr};function oo(e){function t(e,n,r,o){let u=e[o++];if("__proto__"===u)return!0;const i=Number.isFinite(+u),s=o>=e.length;if(u=!u&&_r.isArray(r)?r.length:u,s)return _r.hasOwnProp(r,u)?r[u]=_r.isArray(r[u])?r[u].concat(n):[r[u],n]:r[u]=n,!i;_r.hasOwnProp(r,u)&&_r.isObject(r[u])||(r[u]=[]);return t(e,n,r[u],o)&&_r.isArray(r[u])&&(r[u]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let u;for(r=0;r<o;r++)u=n[r],t[u]=e[u];return t}(r[u])),!i}if(_r.isFormData(e)&&_r.isFunction(e.entries)){const n={};return _r.forEachEntry(e,(e,r)=>{t(function(e){return _r.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const uo=(e,t)=>null!=e&&_r.hasOwnProp(e,t)?e[t]:void 0;const io={transitional:Xr,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=_r.isObject(e);o&&_r.isHTMLForm(e)&&(e=new FormData(e));if(_r.isFormData(e))return r?JSON.stringify(oo(e)):e;if(_r.isArrayBuffer(e)||_r.isBuffer(e)||_r.isStream(e)||_r.isFile(e)||_r.isBlob(e)||_r.isReadableStream(e))return e;if(_r.isArrayBufferView(e))return e.buffer;if(_r.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let u;if(o){const t=uo(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Hr(e,new ro.classes.URLSearchParams,{visitor:function(e,t,n,r){return ro.isNode&&_r.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((u=_r.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=uo(this,"env"),r=n&&n.FormData;return Hr(u?{"files[]":e}:e,r&&new r,t)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(_r.isString(e))try{return(t||JSON.parse)(e),_r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=uo(this,"transitional")||io.transitional,n=t&&t.forcedJSONParsing,r=uo(this,"responseType"),o="json"===r;if(_r.isResponse(e)||_r.isReadableStream(e))return e;if(e&&_r.isString(e)&&(n&&!r||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,uo(this,"parseReviver"))}catch(e){if(n){if("SyntaxError"===e.name)throw Mr.from(e,Mr.ERR_BAD_RESPONSE,this,null,uo(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ro.classes.FormData,Blob:ro.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_r.forEach(["delete","get","head","post","put","patch","query"],e=>{io.headers[e]={}});var so=io;function ao(e,t){const n=this||so,r=t||n,o=Tr.from(r.headers);let u=r.data;return _r.forEach(e,function(e){u=e.call(n,u,o.normalize(),t?t.status:void 0)}),o.normalize(),u}function lo(e){return!(!e||!e.__CANCEL__)}var co=class extends Mr{constructor(e,t,n){super(null==e?"canceled":e,Mr.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function po(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Mr("Request failed with status code "+n.status,n.status>=400&&n.status<500?Mr.ERR_BAD_REQUEST:Mr.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}const fo=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,u=0,i=0;return t=void 0!==t?t:1e3,function(s){const a=Date.now(),l=r[i];o||(o=a),n[u]=s,r[u]=a;let c=i,d=0;for(;c!==u;)d+=n[c++],c%=e;if(u=(u+1)%e,u===i&&(i=(i+1)%e),a-o<t)return;const p=l&&a-l;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(e,t){let n,r,o=0,u=1e3/t;const i=(t,u=Date.now())=>{o=u,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=u?i(e,t):(n=e,r||(r=setTimeout(()=>{r=null,i(n)},u-s)))},()=>n&&i(n)]}(n=>{if(!n||"number"!=typeof n.loaded)return;const u=n.loaded,i=n.lengthComputable?n.total:void 0,s=null!=i?Math.min(u,i):u,a=Math.max(0,s-r),l=o(a);r=Math.max(r,s);e({loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i?(i-s)/l:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})},n)},ho=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},go=e=>(...t)=>_r.asap(()=>e(...t));var bo=ro.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ro.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ro.origin),ro.navigator&&/(msie|trident)/i.test(ro.navigator.userAgent)):()=>!0,mo=ro.hasStandardBrowserEnv?{write(e,t,n,r,o,u,i){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];_r.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),_r.isString(r)&&s.push(`path=${r}`),_r.isString(o)&&s.push(`domain=${o}`),!0===u&&s.push("secure"),_r.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),o=r.indexOf("=");if(-1!==o&&r.slice(0,o)===e)return decodeURIComponent(r.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function yo(e,t,n){let r=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(r||!1===n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Eo=e=>e instanceof Tr?{...e}:e;function Ao(e,t){t=t||{};const n=Object.create(null);function r(e,t,n,r){return _r.isPlainObject(e)&&_r.isPlainObject(t)?_r.merge.call({caseless:r},e,t):_r.isPlainObject(t)?_r.merge({},t):_r.isArray(t)?t.slice():t}function o(e,t,n,o){return _r.isUndefined(t)?_r.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function u(e,t){if(!_r.isUndefined(t))return r(void 0,t)}function i(e,t){return _r.isUndefined(t)?_r.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,u){return _r.hasOwnProp(t,u)?r(n,o):_r.hasOwnProp(e,u)?r(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const a={url:u,method:u,data:u,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:s,headers:(e,t,n)=>o(Eo(e),Eo(t),0,!0)};return _r.forEach(Object.keys({...e,...t}),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const u=_r.hasOwnProp(a,r)?a[r]:o,i=u(_r.hasOwnProp(e,r)?e[r]:void 0,_r.hasOwnProp(t,r)?t[r]:void 0,r);_r.isUndefined(i)&&u!==s||(n[r]=i)}),n}const Fo=["content-type","content-length"];function wo(e){const t=Ao({},e),n=e=>_r.hasOwnProp(t,e)?t[e]:void 0,r=n("data");let o=n("withXSRFToken");const u=n("xsrfHeaderName"),i=n("xsrfCookieName");let s=n("headers");const a=n("auth"),l=n("baseURL"),c=n("allowAbsoluteUrls"),d=n("url");var p;if(t.headers=s=Tr.from(s),t.url=Kr(yo(l,d,c),n("params"),n("paramsSerializer")),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?(p=a.password,encodeURIComponent(p).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)))):""))),_r.isFormData(r)&&(ro.hasStandardBrowserEnv||ro.hasStandardBrowserWebWorkerEnv||_r.isReactNative(r)?s.setContentType(void 0):_r.isFunction(r.getHeaders)&&function(e,t,n){"content-only"===n?Object.entries(t).forEach(([t,n])=>{Fo.includes(t.toLowerCase())&&e.set(t,n)}):e.set(t)}(s,r.getHeaders(),n("formDataHeaderPolicy"))),ro.hasStandardBrowserEnv){_r.isFunction(o)&&(o=o(t));if(!0===o||null==o&&bo(t.url)){const e=u&&i&&mo.read(i);e&&s.set(u,e)}}return t}var vo="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=wo(e);let o=r.data;const u=Tr.from(r.headers).normalize();let i,s,a,l,c,{responseType:d,onUploadProgress:p,onDownloadProgress:f}=r;function h(){l&&l(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let g=new XMLHttpRequest;function b(){if(!g)return;const r=Tr.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());po(function(e){t(e),h()},function(e){n(e),h()},{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&g.responseURL.startsWith("file:"))&&setTimeout(b)},g.onabort=function(){g&&(n(new Mr("Request aborted",Mr.ECONNABORTED,e,g)),h(),g=null)},g.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new Mr(r,Mr.ERR_NETWORK,e,g);o.event=t||null,n(o),h(),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Xr;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Mr(t,o.clarifyTimeoutError?Mr.ETIMEDOUT:Mr.ECONNABORTED,e,g)),h(),g=null},void 0===o&&u.setContentType(null),"setRequestHeader"in g&&_r.forEach(Or(u),function(e,t){g.setRequestHeader(t,e)}),_r.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),f&&([a,c]=fo(f,!0),g.addEventListener("progress",a)),p&&g.upload&&([s,l]=fo(p),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(i=t=>{g&&(n(!t||t.type?new co(null,e,g):t),g.abort(),h(),g=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const m=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(r.url);!m||ro.protocols.includes(m)?g.send(o||null):n(new Mr("Unsupported protocol "+m+":",Mr.ERR_BAD_REQUEST,e))})};var _o=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(e){if(!r){r=!0,i();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Mr?t:new co(t instanceof Error?t.message:t))}};let u=t&&setTimeout(()=>{u=null,o(new Mr(`timeout of ${t}ms exceeded`,Mr.ETIMEDOUT))},t);const i=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=n;return s.unsubscribe=()=>_r.asap(i),s};const Co=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Do=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},So=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Do(e))yield*Co(n,t)}(e,t);let u,i=0,s=e=>{u||(u=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let u=r.byteLength;if(n){let e=i+=u;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})};const Bo="1.17.0",{isFunction:Oo}=_r,Ro=e=>{if(!_r.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},xo=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},ko=e=>{const t=void 0!==_r.global&&null!==_r.global?_r.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=_r.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:u,Response:i}=e,s=o?Oo(o):"function"==typeof fetch,a=Oo(u),l=Oo(i);if(!s)return!1;const c=s&&Oo(n),d=s&&("function"==typeof r?(p=new r,e=>p.encode(e)):async e=>new Uint8Array(await new u(e).arrayBuffer()));var p;const f=a&&c&&xo(()=>{let e=!1;const t=new u(ro.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),h=l&&c&&xo(()=>_r.isReadableStream(new i("").body)),g={stream:h&&(e=>e.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!g[e]&&(g[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Mr(`Response type '${e}' is not supported`,Mr.ERR_NOT_SUPPORT,n)})});const b=async(e,t)=>{const n=_r.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(_r.isBlob(e))return e.size;if(_r.isSpecCompliantForm(e)){const t=new u(ro.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return _r.isArrayBufferView(e)||_r.isArrayBuffer(e)?e.byteLength:(_r.isURLSearchParams(e)&&(e+=""),_r.isString(e)?(await d(e)).byteLength:void 0)})(t):n};return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:c,timeout:d,onDownloadProgress:p,onUploadProgress:m,responseType:y,headers:E,withCredentials:A="same-origin",fetchOptions:F,maxContentLength:w,maxBodyLength:v}=wo(e);const _=_r.isNumber(w)&&w>-1,C=_r.isNumber(v)&&v>-1;let D=o||fetch;y=y?(y+"").toLowerCase():"text";let S=_o([l,c&&c.toAbortSignal()],d),B=null;const O=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let R;try{let o;const l=(k="auth",_r.hasOwnProp(e,k)?e[k]:void 0);if(l){const e=l.username||"";o={username:e,password:l.password||""}}if((e=>{const t=e.indexOf("://");let n=e;return-1!==t&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")})(t)){const e=new URL(t,ro.origin);if(!o&&(e.username||e.password)){const t=Ro(e.username);o={username:t,password:Ro(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(o&&(E.delete("authorization"),E.set("Authorization","Basic "+btoa((x=(o.username||"")+":"+(o.password||""),encodeURIComponent(x).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))),_&&"string"==typeof t&&t.startsWith("data:")){const n=function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length;const t=r.length;for(let n=0;n<t;n++)if(37===r.charCodeAt(n)&&n+2<t){const t=r.charCodeAt(n+1),o=r.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102)&&(e-=2,n+=2)}let n=0,o=t-1;const u=e=>e>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));o>=0&&(61===r.charCodeAt(o)?(n++,o--):u(o)&&(n++,o-=3)),1===n&&o>=0&&(61===r.charCodeAt(o)||u(o))&&n++;const i=3*Math.floor(e/4)-(n||0);return i>0?i:0}if("undefined"!=typeof Buffer&&"function"==typeof Buffer.byteLength)return Buffer.byteLength(r,"utf8");let o=0;for(let e=0,t=r.length;e<t;e++){const n=r.charCodeAt(e);if(n<128)o+=1;else if(n<2048)o+=2;else if(n>=55296&&n<=56319&&e+1<t){const t=r.charCodeAt(e+1);t>=56320&&t<=57343?(o+=4,e++):o+=3}else o+=3}return o}(t);if(n>w)throw new Mr("maxContentLength size of "+w+" exceeded",Mr.ERR_BAD_RESPONSE,e,B)}if(C&&"get"!==n&&"head"!==n){const t=await b(E,s);if("number"==typeof t&&isFinite(t)&&t>v)throw new Mr("Request body larger than maxBodyLength limit",Mr.ERR_BAD_REQUEST,e,B)}if(m&&f&&"get"!==n&&"head"!==n&&0!==(R=await b(E,s))){let e,n=new u(t,{method:"POST",body:s,duplex:"half"});if(_r.isFormData(s)&&(e=n.headers.get("content-type"))&&E.setContentType(e),n.body){const[e,t]=ho(R,fo(go(m)));s=So(n.body,65536,e,t)}}_r.isString(A)||(A=A?"include":"omit");const c=a&&"credentials"in u.prototype;if(_r.isFormData(s)){const e=E.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&E.delete("content-type")}E.set("User-Agent","axios/"+Bo,!1);const d={...F,signal:S,method:n.toUpperCase(),headers:Or(E.normalize()),body:s,duplex:"half",credentials:c?A:void 0};B=a&&new u(t,d);let j=await(a?D(B,F):D(t,d));if(_){const t=_r.toFiniteNumber(j.headers.get("content-length"));if(null!=t&&t>w)throw new Mr("maxContentLength size of "+w+" exceeded",Mr.ERR_BAD_RESPONSE,e,B)}const P=h&&("stream"===y||"response"===y);if(h&&j.body&&(p||_||P&&O)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=j[e]});const n=_r.toFiniteNumber(j.headers.get("content-length")),[r,o]=p&&ho(n,fo(go(p),!0))||[];let u=0;const s=t=>{if(_&&(u=t,u>w))throw new Mr("maxContentLength size of "+w+" exceeded",Mr.ERR_BAD_RESPONSE,e,B);r&&r(t)};j=new i(So(j.body,65536,s,()=>{o&&o(),O&&O()}),t)}y=y||"text";let T=await g[_r.findKey(g,y)||"text"](j,e);if(_&&!h&&!P){let t;if(null!=T&&("number"==typeof T.byteLength?t=T.byteLength:"number"==typeof T.size?t=T.size:"string"==typeof T&&(t="function"==typeof r?(new r).encode(T).byteLength:T.length)),"number"==typeof t&&t>w)throw new Mr("maxContentLength size of "+w+" exceeded",Mr.ERR_BAD_RESPONSE,e,B)}return!P&&O&&O(),await new Promise((t,n)=>{po(t,n,{data:T,headers:Tr.from(j.headers),status:j.status,statusText:j.statusText,config:e,request:B})})}catch(t){if(O&&O(),S&&S.aborted&&S.reason instanceof Mr){const n=S.reason;throw n.config=e,B&&(n.request=B),t!==n&&(n.cause=t),n}if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Mr("Network Error",Mr.ERR_NETWORK,e,B,t&&t.response),{cause:t.cause||t});throw Mr.from(t,t&&t.code,e,B,t&&t.response)}var x,k}},jo=new Map,Po=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,u=[r,o,n];let i,s,a=u.length,l=jo;for(;a--;)i=u[a],s=l.get(i),void 0===s&&l.set(i,s=a?new Map:ko(t)),l=s;return s};Po();const To={http:null,xhr:vo,fetch:{get:Po}};_r.forEach(To,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const No=e=>`- ${e}`,Lo=e=>_r.isFunction(e)||null===e||!1===e;var Mo={getAdapter:function(e,t){e=_r.isArray(e)?e:[e];const{length:n}=e;let r,o;const u={};for(let i=0;i<n;i++){let n;if(r=e[i],o=r,!Lo(r)&&(o=To[(n=String(r)).toLowerCase()],void 0===o))throw new Mr(`Unknown adapter '${n}'`);if(o&&(_r.isFunction(o)||(o=o.get(t))))break;u[n||"#"+i]=o}if(!o){const e=Object.entries(u).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(No).join("\n"):" "+No(e[0]):"as no adapter specified";throw new Mr("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:To};function Io(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new co(null,e)}function Uo(e){Io(e),e.headers=Tr.from(e.headers),e.data=ao.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Mo.getAdapter(e.adapter||so.adapter,e)(e).then(function(t){Io(e),e.response=t;try{t.data=ao.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Tr.from(t.headers),t},function(t){if(!lo(t)&&(Io(e),t&&t.response)){e.response=t.response;try{t.response.data=ao.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Tr.from(t.response.headers)}return Promise.reject(t)})}const qo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{qo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const zo={};qo.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Bo+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,u)=>{if(!1===e)throw new Mr(r(o," has been removed"+(t?" in "+t:"")),Mr.ERR_DEPRECATED);return t&&!zo[o]&&(zo[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,u)}},qo.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Ho={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Mr("options must be an object",Mr.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const u=r[o],i=Object.prototype.hasOwnProperty.call(t,u)?t[u]:void 0;if(i){const t=e[u],n=void 0===t||i(t,u,e);if(!0!==n)throw new Mr("option "+u+" must be "+n,Mr.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new Mr("Unknown option "+u,Mr.ERR_BAD_OPTION)}},validators:qo};const Vo=Ho.validators;class Wo{constructor(e){this.defaults=e||{},this.interceptors={request:new Gr,response:new Gr}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),o=-1===r?"":n.slice(r+1);String(e.stack).endsWith(o)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ao(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ho.assertOptions(n,{silentJSONParsing:Vo.transitional(Vo.boolean),forcedJSONParsing:Vo.transitional(Vo.boolean),clarifyTimeoutError:Vo.transitional(Vo.boolean),legacyInterceptorReqResOrdering:Vo.transitional(Vo.boolean),advertiseZstdAcceptEncoding:Vo.transitional(Vo.boolean)},!1),null!=r&&(_r.isFunction(r)?t.paramsSerializer={serialize:r}:Ho.assertOptions(r,{encode:Vo.function,serialize:Vo.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ho.assertOptions(t,{baseUrl:Vo.spelling("baseURL"),withXsrfToken:Vo.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let u=o&&_r.merge(o.common,o[t.method]);o&&_r.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete o[e]}),t.headers=Tr.concat(u,o);const i=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const n=t.transitional||Xr;n&&n.legacyInterceptorReqResOrdering?i.unshift(e.fulfilled,e.rejected):i.push(e.fulfilled,e.rejected)});const a=[];let l;this.interceptors.response.forEach(function(e){a.push(e.fulfilled,e.rejected)});let c,d=0;if(!s){const e=[Uo.bind(this),void 0];for(e.unshift(...i),e.push(...a),c=e.length,l=Promise.resolve(t);d<c;)l=l.then(e[d++],e[d++]);return l}c=i.length;let p=t;for(;d<c;){const e=i[d++],t=i[d++];try{p=e(p)}catch(e){t.call(this,e);break}}try{l=Uo.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,c=a.length;d<c;)l=l.then(a[d++],a[d++]);return l}getUri(e){return Kr(yo((e=Ao(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}_r.forEach(["delete","get","head","options"],function(e){Wo.prototype[e]=function(t,n){return this.request(Ao(n||{},{method:e,url:t,data:(n||{}).data}))}}),_r.forEach(["post","put","patch","query"],function(e){function t(t){return function(n,r,o){return this.request(Ao(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Wo.prototype[e]=t(),"query"!==e&&(Wo.prototype[e+"Form"]=t(!0))});var $o=Wo;class Jo{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new co(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Jo(function(t){e=t}),cancel:e}}}var Ko=Jo;const Go={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Go).forEach(([e,t])=>{Go[t]=e});var Xo=Go;const Qo=function e(t){const n=new $o(t),r=Ln($o.prototype.request,n);return _r.extend(r,$o.prototype,n,{allOwnKeys:!0}),_r.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ao(t,n))},r}(so);Qo.Axios=$o,Qo.CanceledError=co,Qo.CancelToken=Ko,Qo.isCancel=lo,Qo.VERSION=Bo,Qo.toFormData=Hr,Qo.AxiosError=Mr,Qo.Cancel=Qo.CanceledError,Qo.all=function(e){return Promise.all(e)},Qo.spread=function(e){return function(t){return e.apply(null,t)}},Qo.isAxiosError=function(e){return _r.isObject(e)&&!0===e.isAxiosError},Qo.mergeConfig=Ao,Qo.AxiosHeaders=Tr,Qo.formToJSON=e=>oo(_r.isHTMLForm(e)?new FormData(e):e),Qo.getAdapter=Mo.getAdapter,Qo.HttpStatusCode=Xo,Qo.default=Qo;var Zo=Qo;function Yo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yo(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tu(e,t){if(!e||e.length<1)return Promise.resolve([]);let n="";const r=e.map(e=>{const t="stop"===e.type?"stop":"station";let r=`gtfs${e.gtfsId.split(":")[0].toLowerCase()}:${t}:GTFS:${e.gtfsId}`;return e.code&&(r+=`#${e.code}`),n+=`${r},`,eu(eu({},e),{},{gid:r})}).reduce(function(e,t){return e[t.gid]=t,e},{});return(o=t,u={ids:n.slice(0,-1)},Zo.get(encodeURI(o)+(u?(-1===o.search(/\?/)?"?":"&")+Tn(u):""),{timeout:1e4,method:"GET",headers:{Accept:"application/json"}}).then(e=>e.data)).then(e=>e.features.map(e=>({type:"FavouriteStop",properties:{addendum:e.properties.addendum,gid:r[e.properties.gid].gid,code:r[e.properties.gid].code,gtfsId:r[e.properties.gid].gtfsId,lastUpdated:r[e.properties.gid].lastUpdated,favouriteId:r[e.properties.gid].favouriteId,address:e.properties.label,layer:fe(e.properties)?"favouriteStop":"favouriteStation"},geometry:e.geometry})));var o,u}function nu(e,t,n){let r=me(e,t,["properties.name","properties.label","properties.address","properties.shortName","properties.longName"]);return n&&(r=r.filter(e=>!n.includes(e.properties.layer))),Promise.resolve(O.default(r,10).map(e=>{const t=eu(eu({},e),{},{type:"OldSearch",timetableClicked:!1,arrowClicked:!1});return delete t.properties.confidence,t}))}const ru=["route-TRAM","route-BUS","route-RAIL","route-FERRY","route-SUBWAY","route-AIRPLANE","route-FUNICULAR"],ou=["venue","address","street"],uu=["carpark","bikepark"],iu=["stop","station"];const su=S.default(function(e,t,n,r,o,u,{input:i},s,a,l){const{getPositions:c,getFavouriteLocations:d,getOldSearches:p,getFavouriteStops:f,parkingAreaSources:h,getLanguage:g,getStopAndStationsQuery:b,getFavouriteVehicleRentalStationsQuery:m,getFavouriteVehicleRentalStations:y,getFavouriteRoutesQuery:E,getFavouriteRoutes:A,getRoutesQuery:F,context:w,isPeliasLocationAware:v,minimalRegexp:_,lineRegexp:C,URL_PELIAS:D,URL_PELIAS_PLACE:S,feedIDs:R,geocodingSearchParams:x,geocodingSources:k,getFutureRoutes:j,cityBikeNetworks:P}=r,T=!e||0===e.length,N=!t||0===t.length,L=c(w),M=[],I={type:"all",term:i,results:[]},U=g(w),q=v&&null!=l&&l.lat&&null!=l&&l.lon?{"focus.point.lat":l.lat.toFixed(3),"focus.point.lon":l.lon.toFixed(3)}:{},z=n?n.split("-")[1]:void 0;if(e.includes("CurrentPosition")&&"geolocation-not-supported"!==L.status&&M.push(function(e,t){return"string"!=typeof e||0===e.length?Promise.resolve([{type:"CurrentLocation",address:t.address,lat:t.lat,lon:t.lon,properties:{labelId:"use-own-position",layer:"currentPosition",address:t.address,lat:t.lat,lon:t.lon},geometry:{type:"Point",coordinates:[t.lon,t.lat]}}]):Promise.resolve([])}(i,L)),(T||e.includes("MapPosition"))&&M.push(function(e){return"string"!=typeof e||0===e.length?Promise.resolve([{type:"SelectFromMap",address:"SelectFromMap",lat:null,lon:null,properties:{labelId:"select-from-map",layer:"selectFromMap",address:"SelectFromMap",lat:null,lon:null},geometry:{type:"Point",coordinates:[]}}]):Promise.resolve([])}(i)),e.includes("FutureRoutes")){const e=j(w);M.push(O.default(e,3))}if(e.includes("SelectFromOwnLocations")&&function(e){const t=e.getFavouriteLocations(e.context);if((null==t?void 0:t.length)>0)return!0;const n=e.getFavouriteVehicleRentalStations(e.context);if((null==n?void 0:n.length)>0)return!0;const r=e.getFavouriteStops(e.context);return(null==r?void 0:r.length)>0}(r)&&M.push(function(e){return"string"!=typeof e||0===e.length?Promise.resolve([{type:"SelectFromOwnLocations",address:"SelectFromOwnLocations",lat:null,lon:null,properties:{labelId:"select-from-own-locations",layer:"ownLocations",address:"selectFromOwnLocations",lat:null,lon:null},geometry:{type:"Point",coordinates:[]}}]):Promise.resolve([])}(i)),T||e.includes("Locations")){const n=x;if(t.includes("Favourite")){const e=d(w);M.push(function(e,t){return Promise.resolve(me(e,t,["address","name"]).map(e=>({type:"FavouritePlace",properties:eu(eu({},e),{},{label:e.name,layer:"favouritePlace"}),geometry:{type:"Point",coordinates:[e.lon,e.lat]}})))}(e,i)),t.includes("Back")&&M.push(Promise.resolve([{type:"back",address:"back",lat:null,lon:null,properties:{labelId:"back",layer:"back",address:"back",lat:null,lon:null},geometry:{type:"Point",coordinates:[]}}]))}if(N||t.includes("Datasource")){const t=["venue","address","street"];e.includes("Stations")&&t.push("station"),M.push(Nn(i,n,U,q,k.join(","),D,_,t))}if(N||t.includes("History")){const e=p(w,"endpoint"),t=["bikestation"];t.push(...iu),t.push(...ru),t.push(...uu),M.push(nu(e,i,t))}}if(T||e.includes("ParkingAreas")){if(N||t.includes("Datasource")){const e=x;u&&10!==u&&(e.size=u);const t=["carpark","bikepark"],n=h?h.join(","):null;M.push(Nn(i,e,U,q,n,D,_,t).then(e=>o?o(e,z):e))}if(N||t.includes("History")){const e=p(w),t=["bikestation"];t.push(...iu),t.push(...ru),t.push(...ou),M.push(nu(e,i,t))}}const H=e.includes("Stops"),V=e.includes("Stations");if(T||H||V){if(t.includes("Favourite")){const e=f(w);let t;t=e.every(e=>"station"===e.type)?tu(e,S).then(e=>o?o(e,z):e):b(e).then(e=>tu(e,S)).then(e=>o?o(e,z):e),M.push(function(e,t,n,r){return e.then(e=>me(e.filter(e=>"stop"===e.type?n:r),t,["properties.name","properties.name","properties.address"]))}(t,i,H,V))}if(N||t.includes("Datasource")){const t=[];H&&t.push("stop"),V&&t.push("station");const n=u&&10!==u?{size:u}:{};x&&x["boundary.country"]&&(n["boundary.country"]=x["boundary.country"]),(T||e.includes("Locations"))&&(n.dedupestops=1);const r=R.map(e=>`gtfs${e}`).join(",");M.push(Nn(i,n,U,q,r,D,_,t).then(e=>o?o(e,z):e))}if(N||t.includes("History")){const e=p(w).filter(e=>!e.properties.gid||e.properties.gid.includes("GTFS:")),t=["bikestation"];t.push(...ru),t.push(...ou),t.push(...uu),H||t.push("stop"),V||t.push("station"),n?M.push(nu(e,i,t).then(e=>o?o(e,z):e)):M.push(nu(e,i,t))}}if(T||e.includes("Routes")){if(t.includes("Favourite")){const e=A(w);M.push(E(e,i,z,a).then(e=>o?o(e,z,"Routes"):e))}if(M.push(F(i,R,n,a).then(e=>o?o(e,z,"Routes"):e)),N||t.includes("History")){const e=p(w),t=["bikestation"];n&&t.push(...ru.filter(e=>!(e===n))),t.push(...iu),t.push(...ou),t.push(...uu),M.push(nu(e,i,t).then(e=>o?o(e,z,"Routes"):e))}}if(T||e.includes("VehicleRentalStations")){if(t.includes("Favourite")){const e=y(w);M.push(m(e,i))}if(N||t.includes("Datasource")){const e=["bikestation"],t=u&&10!==u?{size:u}:{};M.push(Nn(i,t,U,q,P.join(","),D,_,e).then(e=>o?o(e,z,"VehicleRentalStations"):e))}if(N||t.includes("History")){const e=p(w),t=[...iu];t.push(...ru),t.push(...ou),t.push(...uu),M.push(nu(e,i,t))}}Promise.all(M).then(B.default).then(e=>{I.results=e}).catch(e=>{I.error=e}).then(()=>{s(eu(eu({},I),{},{results:ge(C,I.results,i)}))})},300,{leading:!0}),au=h.createInstance({fallbackLng:"fi",resources:{de:{translation:{address:"Adresse","address-place-or-business":"Adress, Ort or Geschäft","add-via-button-label":"Füge Zwischenziel hinzu","add-via-duration-button-label":"Set stop duration at via point {{index}}","add-via-duration-button-label-close":"Close stop duration selector at via point {{index}}","add-via-duration-button-label-open":"Open stop duration selector at via point {{index}}",airplane:"Flug",arrival:"Ankunft",back:"Zurück",bikerentalstation:"Leihrad-Station",bus:"Bus",cancel:"Abbrechen","clear-button-label":"Löschen","clear-search-history":"Suchhistorie löschen",currentposition:"Aktuelle Position",delete:"Löschen","delete-old-searches-header":"Wollen Sie die Such-Historie löschen?",departure:"Abfahrt",destination:"Ziel","give-origin":"Start eingeben.","give-destination":"Ziel eingeben.",favourite:"Favoriten",ferry:"Fähre","future-route":"Zukünftige Verbindung",origin:"Start","origin-stop-near-you":"Start",ownlocations:"Eigene Favoriten",loading:"Laden...","minute-short":"min",rail:"Zug",search:"Suche","search-address-or-place":"Suche anhand von Adresse oder Ortsangabe","search-button-label":"Suche","search-destination":"Suche Zielort, Linie or Haltestelle","search-destination-index":"Zielort eingeben","search-destination-results-but-no-search":"Ergebnisse in “Zielort”-Reiter anzeigen","search-no-results":"Kein Ort gefunden.","search-origin":"Suche Startort, Linie oder Haltestelle","search-origin-index":"Startort eingeben","search-position":"Standort ermitteln","search-autosuggest-label":"Venue, place and stopsearch.","search-autosuggest-label-instructions-desktop":"Navigate list with arrow keys and select with enter key.","search-autosuggest-label-instructions-mobile":"Enter the location and navigate in the list by swiping.","search-autosuggest-label-move-to-destination":"After selecting the starting location you are automatically moved to the destination field.","search-autosuggest-len":"There is {{count}} suggestion available","search-autosuggest-len_plural":"There are {{count}} suggestions available","search-current-suggestion":"Aktuelle Auswahl: {{selection}}",street:"Straße",subway:"U-Bahn",station:"Station",stop:"Haltestelle","stop-near-you":"Suche Haltestellen und Linien in der Nähe","stop-near-you-bus":"Suche Buslinien or Haltestellen","stop-near-you-citybike":"Suche Leihrad-Stationen","stop-near-you-rail":"Suche Zugverbindungen oder Bahnhöfe","stop-near-you-subway":"Suche U-Bahn-Linien oder Haltestellen","stop-near-you-tram":"Suche Stadtbahn-Haltestellen-Suche","today-at":"Heute um","tomorrow-at":"Morgen um",tram:"Straßenbahn","use-own-position":"Benutze aktuellen Standort","select-from-map":"Wähle Position anhand Karte","select-from-own-locations":"Aus eigenen Favoriten auswählen",venue:"Venue","via-point":"Zwischenziel",where:"Wohin?",place:"Ort"}},en:{translation:{address:"Address","address-place-or-business":"Address, place or business","add-via-button-label":"Add via point","add-via-duration-button-label":"Set stop duration at via point {{index}}","add-via-duration-button-label-close":"Close stop duration selector at via point {{index}}","add-via-duration-button-label-open":"Open stop duration selector at via point {{index}}",airplane:"Flight",arrival:"Arrival",back:"Back",bikepark:"Park & Ride for bikes",bikerentalstation:"Bike station",bus:"bus",cancel:"Cancel",carpark:"Park & Ride","clear-button-label":"Clear","clear-search-history":"Clear search history",currentposition:"Current position",delete:"Delete","delete-old-searches-header":"Do you want to clear the search history?",departure:"Departure",destination:"Destination","give-origin":"Enter your origin.","give-destination":"Enter your destination",favourite:"Favourite",ferry:"Ferry","future-route":"Future route",origin:"Start","origin-stop-near-you":"Start",ownlocations:"Own locations",loading:"Loading...","minute-short":"m",platform:"Platform",rail:"Train",required:"required field",search:"Search","search-address-or-place":"Search by address or place name","search-button-label":"Search","search-destination":"Search destination, route or stop","search-destination-index":"Enter destination","search-destination-results-but-no-search":"View results in the adjacent “Destination” tab","search-no-results":"No location","search-origin":"Search origin, route or stop","search-origin-index":"Enter origin","search-position":"Detect location","search-autosuggest-label":"Venue, place and stopsearch.","search-autosuggest-label-instructions-desktop":"Navigate list with arrow keys and select with enter key.","search-autosuggest-label-instructions-mobile":"Enter the location and navigate in the list by swiping.","search-autosuggest-label-move-to-destination":"After selecting the starting location you are automatically moved to the destination field.","search-autosuggest-len":"There is {{count}} suggestion available","search-autosuggest-len_plural":"There are {{count}} suggestions available","search-current-suggestion":"Current selection: {{selection}}",street:"Street",subway:"Metro",station:"Station",stop:"Stop","stop-near-you":"Search stops and routes","stop-near-you-airplane":"Search flights or airports","stop-near-you-bikepark":"Search bike parks","stop-near-you-bus":"Search bus routes or stops","stop-near-you-carpark":"Search car parks","stop-near-you-citybike":"Search city bike stations","stop-near-you-rail":"Search train routes or stations","stop-near-you-subway":"Search metro routes or stations ","stop-near-you-tram":"Search tram routes or stops","stop-route-station":"Bus and stop search","today-at":"today at","tomorrow-at":"tomorrow at",tram:"Tram",track:"Track","use-own-position":"Use current location","select-from-map":"Select position from map","select-from-own-locations":"Select from own locations",venue:"Venue","via-point":"Via point",where:"Where to?",place:"Location"}},fi:{translation:{address:"Osoite","address-place-or-business":"Osoite, paikka tai yritys","add-via-button-label":"Lisää välipiste","add-via-duration-button-label":"Aseta välipisteelle {{index}} pysähdyksen kesto","add-via-duration-button-label-close":"Avaa välipisteen {{index}} pysähdyksen kesto valitsin","add-via-duration-button-label-open":"Sulje välipisteen {{index}} pysähdyksen kesto valitsin",airplane:"Lentokone",arrival:"Perillä",back:"Takaisin",vehiclerentalstation:"Pyöräasema",bikepark:"Liityntäpysäköinti",bus:"bussi",cancel:"Peruuta",carpark:"Liityntäpysäköinti","clear-button-label":"Tyhjennä","clear-search-history":"Tyhjennä hakuhistoria",currentposition:"Tämänhetkinen sijainti",delete:"Poista","delete-old-searches-header":"Haluatko tyhjentää hakuhistorian?",departure:"Lähtöaika",destination:"Määränpää",favourite:"Suosikki",ferry:"Lautta","future-route":"Tuleva reitti","give-origin":"Lähtöpaikka","give-destination":"Määränpää",origin:"Lähtöpaikka","origin-stop-near-you":"Lähtöpaikka",ownlocations:"Omat paikat",loading:"Ladataan...","minute-short":"min",platform:"Laituri",rail:"Juna",required:"pakollinen kenttä",search:"Etsi","search-address-or-place":"Hae osoitteella tai paikan nimellä","search-button-label":"Hae","search-destination":"Hae määränpäätä, linjaa tai pysäkkiä","search-destination-index":"Syötä määränpää","search-destination-results-but-no-search":"Katso tulokset viereiseltä Määränpää-välilehdeltä","search-no-results":"Ei tuloksia","search-origin":"Hae lähtöpaikkaa, linjaa tai pysäkkiä","search-origin-index":"Syötä lähtöpaikka","search-autosuggest-label":"Paikka, linja ja pysäkkihaku.","search-autosuggest-label-instructions-desktop":"Navigoi listassa nuolinäppäimillä ja valitse enterillä.","search-autosuggest-label-instructions-mobile":"Syötä sijainti ja navigoi listassa pyyhkäisemällä.","search-autosuggest-label-move-to-destination":"Valittuasi lähtöpaikan siirrytään suoraan määränpää-kenttään.","search-autosuggest-len":" Löydettiin {{count}} ehdotus","search-autosuggest-len_plural":" Löydettiin {{count}} ehdotusta","search-current-suggestion":"Tämänhetkinen valinta: {{selection}}","search-position":"Paikanna",street:"Katu",subway:"Metro",station:"Asema",stop:"Pysäkki","stop-near-you":"Linja, pysäkki tai asema","stop-near-you-airplane":"Hae lentoja tai lentoasemaa","stop-near-you-bikepark":"Hae pyöräparkkia","stop-near-you-bus":"Hae bussilinjaa tai pysäkkiä","stop-near-you-carpark":"Hae autoparkkia","stop-near-you-citybike":"Hae kaupunkipyöräasemaa","stop-near-you-rail":"Hae lähijunaa tai asemaa","stop-near-you-subway":"Hae metrolinjaa tai asemaa","stop-near-you-tram":"Hae raitiolinjaa tai pysäkkiä","stop-route-station":"Linja- ja pysäkkihaku","today-at":"tänään klo","tomorrow-at":"huomenna klo",tram:"Raitiovaunu",track:"Raide","use-own-position":"Käytä nykyistä sijaintia","select-from-map":"Valitse sijainti kartalta","select-from-own-locations":"Valitse omista paikoista",venue:"Paikka","via-point":"Välipiste",where:"Minne mennään?",place:"Paikka"}},pl:{translation:{address:"Adres","address-place-or-business":"Adres, miejsce lub firma","add-via-button-label":"Dodaj punkt pośredni","add-via-duration-button-label":"Wybierz czas postoju dla punktu {{index}}","add-via-duration-button-label-close":"Zamknij wybornik czasu postoju w punkcie {{index}}","add-via-duration-button-label-open":"Otwórz wybornik czasu postoju w punkcie {{index}}",airplane:"Lot",arrival:"Przyjazd",back:"Wróć",bikepark:"Parkuj i Jedź dla rowerów",bikerentalstation:"Stacja rowerowa",bus:"autobus",cancel:"Anuluj",carpark:"Parkuj i Jedź","clear-button-label":"Wyczyść","clear-search-history":"Wyczyść historię wyszukiwania",currentposition:"Obecne położenie",delete:"Usuń","delete-old-searches-header":"Czy na pewno chcesz wyczyścić historię wyszukiwania?",departure:"Odjazd",destination:"Cel","give-origin":"Wprowadź swój punkt początkowy.","give-destination":"Wprowadź swój cel",favourite:"Ulubione",ferry:"Prom","future-route":"Przyszła trasa",origin:"Początek","origin-stop-near-you":"Początek",ownlocations:"Własne miejsca",loading:"Ładowanie…","minute-short":"min.",platform:"Peron",rail:"Pociąg",required:"wymagane pole",search:"Szukaj","search-address-or-place":"Szukaj po adresie lub nazwie miejsca","search-button-label":"Szukaj","search-destination":"Szukaj celu, trasy lub przystanku","search-destination-index":"Wprowadź punkt docelowy","search-destination-results-but-no-search":"Wyświetl wyniki w sąsiedniej karcie „Cel”","search-no-results":"Brak lokalizacji","search-origin":"Wyszukaj początek, koniec lub punkt pośredni","search-origin-index":"Wprowadź punkt początkowy","search-position":"Wykryj lokalizację","search-autosuggest-label":"Miejsce, lokalizacja i przystanek.","search-autosuggest-label-instructions-desktop":"Nawiguj po liście używając strzałek i wybieraj klawiszem Enter.","search-autosuggest-label-instructions-mobile":"Wprowadź lokalizację i nawiguj po liście gestami przesuwania.","search-autosuggest-label-move-to-destination":"Po wybraniu lokalizacji początkowej, automatycznie przejdziesz do pola miejsca docelowego.","search-autosuggest-len":"Dostępna jest {{count}} propozycja","search-autosuggest-len_few":"Dostępne są {{count}} propozycje","search-autosuggest-len_other":"Dostępne jest {{count}} propozycji","search-current-suggestion":"Obecny wybór: {{selection}}",street:"Ulica",subway:"Metro",station:"Stacja",stop:"Przystanek","stop-near-you":"Szukaj przystanków i tras","stop-near-you-airplane":"Szukaj lotów i lotnisk","stop-near-you-bus":"Szukaj tras autobusowych i przystanków","stop-near-you-citybike":"Szukaj stacji rowerów miejskich","stop-near-you-rail":"Szukaj tras kolejowych i przystanków","stop-near-you-subway":"Szukaj tras metra i przystanków ","stop-near-you-tram":"Szukaj tras tramwajowych i przystanków","stop-route-station":"Wyszukiwanie autobusów i przystanków","today-at":"dziś o","tomorrow-at":"jutro o",tram:"Tramwaj",track:"Tor","use-own-position":"Użyj obecnej lokalizacji","select-from-map":"Wybierz miejsce na mapie","select-from-own-locations":"Wybierz z własnych miejsc",venue:"Miejsce","via-point":"Przez punkt",where:"Dokąd?",place:"Miejsce"}},sv:{translation:{address:"Adress","address-place-or-business":"Adress, plats eller företag","add-via-button-label":"Lägg till viapunkt","add-via-duration-button-label":"Ställ in varaktighet för viapunkten {{index}}","add-via-duration-button-label-close":"Stäng väljaren för varaktighet vid via-punkten {{index}}","add-via-duration-button-label-open":"Öppna väljaren för varaktighet vid via-punkten {{index}}",airplane:"Flyg",arrival:"Anländer",back:"Tillbaka",bikerentalstation:"Stadscykelstation",bikepark:"Anslutningsparkering för cyklar",bus:"Bussi",cancel:"Avbryt",carpark:"Infartsparkering","clear-button-label":"Töm","clear-search-history":"Töm sökhistoriken",currentposition:"Nuvarande position",delete:"Ta bort","delete-old-searches-header":"Vill du tömma sökhistoriken?",departure:"Avgångstid",destination:"Destination",favourite:"Favorit",ferry:"Färja","future-route":"Framtida rutt","give-destination":"Skriv in din destination","give-origin":"Skriv in din avfärdsplats",origin:"Avfärdsplats","origin-stop-near-you":"Avfärdsplats",ownlocations:"Egna platser",loading:"Laddar...","minute-short":"min",platform:"Plattform",rail:"Tåg",required:"obligatoriskt fält",search:"Sök","search-address-or-place":"Sök med adressen eller platsens namn","search-button-label":"Sök","search-destination":"Sök destination, linje eller hållplats","search-destination-index":"Skriv destination","search-destination-results-but-no-search":"Se resultaten under fliken Destination","search-no-results":"Inga sökresultat","search-origin":"Sök avfärdsplats, linje eller hållplats","search-origin-index":"Skriv avfärdsplats","search-position":"Sök position","search-autosuggest-label":"Plats, linje och hållplatssökning.","search-autosuggest-label-instructions-desktop":"Navigera listan med piltangenterna och välj med Enter-tangeten.","search-autosuggest-label-instructions-mobile":"Ange platsen och navigera i listan genom att svepa.","search-autosuggest-label-move-to-destination":"Efter att du valt avgångsplatsen tas du direkt till Destination-fältet.","search-autosuggest-len":"Hittade {{count}} förslag","search-current-suggestion":"Nuvarande val: {{selection}}",street:"Gata",subway:"Metro",station:"Station",stop:"Hållplats","stop-near-you":"Sök hållplatser eller linjer","stop-near-you-airplane":"Sök flyg eller flygplatser","stop-near-you-bikepark":"Sök cykelparkering","stop-near-you-bus":"Sök busslinjer eller hållplatser","stop-near-you-carpark":"Sök anslutningsparkering","stop-near-you-citybike":"Sök stadscykelstationer","stop-near-you-rail":"Sök närtåger eller stationer","stop-near-you-subway":"Sök metrolinjer eller stationer","stop-near-you-tram":"Sök spårvagnlinjer eller hållplatser","stop-route-station":"Buss och stopp sökningen","today-at":"i dag kl","tomorrow-at":"i morgon",tram:"Spårvagn",track:"Spår","use-own-position":"Använd min position","select-from-map":"Välj position från kartan","select-from-own-locations":"Välj från egna platser",venue:"Mötesplats","via-point":"Via punkt",where:"Vart vill du åka?",place:"Plats"}}},defaultNS:"translation",react:{useSuspense:!0}});function lu(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}au.init();var cu={container:"styles_container__CyBuz",input:"styles_input__x7Oye",favourite:"styles_favourite__xn1Du",thin:"styles_thin__ToA7-",hasValue:"styles_hasValue__qkIFF",suggestionsContainerOpen:"styles_suggestionsContainerOpen__1odqA",suggestionsContainer:"styles_suggestionsContainer__-FUbj",suggestionsList:"styles_suggestionsList__e-mac",suggestion:"styles_suggestion__oCpdb",suggestionHighlighted:"styles_suggestionHighlighted__vdJIb","autosuggest-input-container":"styles_autosuggest-input-container__C4ks3",origin:"styles_origin__J6GD2",destination:"styles_destination__yOA4k","stop-route-station":"styles_stop-route-station__ofvbR","autosuggest-input-icon":"styles_autosuggest-input-icon__-XA83","origin-stop-near-you":"styles_origin-stop-near-you__Vq9IO","clear-input":"styles_clear-input__KFeWb","sr-only":"styles_sr-only__FIitE",hidden:"styles_hidden__Y0n2p"};lu("input[type=text] {\n margin: 0;\n}\n\n.styles_container__CyBuz {\n display: flex;\n width: 100%;\n}\n.styles_container__CyBuz .styles_input__x7Oye.styles_favourite__xn1Du {\n padding-left: 47px;\n}\n.styles_container__CyBuz .styles_input__x7Oye.styles_thin__ToA7- {\n height: 34px;\n}\n.styles_container__CyBuz .styles_input__x7Oye {\n font-size: 16px;\n font-family: var(--font-family);\n display: flex;\n width: 100%;\n height: 44px;\n border-radius: 5px;\n border: solid 1px #888;\n background-color: #fff;\n padding-left: 50px;\n padding-right: 44px;\n line-height: 1.2;\n letter-spacing: -0.5px;\n color: #333;\n box-sizing: border-box;\n -webkit-appearance: none;\n appearance: none;\n}\n.styles_container__CyBuz .styles_input__x7Oye:focus {\n background: #fff;\n outline: none;\n border: solid 1px var(--color);\n box-shadow: 0 0 2px 1px var(--hover-color);\n}\n@media screen and (min-width: 768px) {\n .styles_container__CyBuz .styles_input__x7Oye {\n font-size: 15px;\n height: 44px;\n padding-left: 49px;\n }\n}\n.styles_container__CyBuz .styles_input__x7Oye::-webkit-input-placeholder {\n color: #666;\n opacity: 1;\n font-size: 15px;\n}\n.styles_container__CyBuz .styles_input__x7Oye::placeholder {\n color: #666;\n opacity: 1;\n font-size: 15px;\n}\n\n.styles_hasValue__qkIFF {\n color: #333;\n}\n\n.styles_suggestionsContainerOpen__1odqA {\n width: 100%;\n max-height: 44vh;\n border-radius: 5px;\n box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.06);\n border: solid 1px rgba(0, 0, 0, 0.1);\n overflow-x: hidden;\n overflow-y: scroll;\n position: absolute;\n background-color: white;\n top: calc(2.625rem + 9px);\n z-index: 20;\n}\n\n.styles_suggestionsContainer__-FUbj {\n background-color: white;\n z-index: 20;\n}\n.styles_suggestionsContainer__-FUbj .styles_suggestionsList__e-mac {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n background: white;\n}\n.styles_suggestionsContainer__-FUbj .styles_suggestionsList__e-mac li:hover {\n background: #f2f5f7;\n}\n\n.styles_suggestion__oCpdb {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n cursor: pointer;\n list-style: none;\n display: block;\n overflow-x: hidden;\n overflow-y: hidden;\n white-space: nowrap;\n z-index: 20;\n}\n\n.styles_suggestionHighlighted__vdJIb {\n background-color: #f2f5f7;\n}\n\n.styles_autosuggest-input-container__C4ks3 {\n position: relative;\n width: 100%;\n}\n.styles_autosuggest-input-container__C4ks3.styles_origin__J6GD2 {\n z-index: 16;\n}\n.styles_autosuggest-input-container__C4ks3.styles_destination__yOA4k {\n z-index: 10;\n}\n.styles_autosuggest-input-container__C4ks3.styles_stop-route-station__ofvbR {\n z-index: 9;\n}\n\n.styles_autosuggest-input-icon__-XA83 {\n display: flex;\n position: absolute;\n align-items: center;\n width: 16px;\n height: 100%;\n margin-top: 0;\n margin-left: 19px;\n}\n.styles_autosuggest-input-icon__-XA83 svg {\n width: 16px;\n height: 24px;\n}\n.styles_autosuggest-input-icon__-XA83.styles_origin__J6GD2 svg {\n color: #4ea700;\n fill: #4ea700;\n width: 16px;\n height: 16px;\n}\n.styles_autosuggest-input-icon__-XA83.styles_destination__yOA4k svg {\n fill: #ec5188;\n width: 16px;\n height: 24px;\n}\n.styles_autosuggest-input-icon__-XA83.styles_stop-route-station__ofvbR svg, .styles_autosuggest-input-icon__-XA83.styles_favourite__xn1Du svg {\n fill: #888;\n width: 16px;\n height: 16px;\n}\n.styles_autosuggest-input-icon__-XA83.styles_origin-stop-near-you__Vq9IO svg {\n fill: #888;\n width: 16px;\n height: 16px;\n}\n\nbutton.styles_clear-input__KFeWb {\n display: flex;\n position: absolute;\n padding: 14px 0;\n right: 0;\n width: 44px;\n height: 100%;\n color: var(--color);\n outline: none;\n border: 0;\n margin: 0;\n justify-content: center;\n text-align: left;\n background: none;\n border-style: none;\n border-width: 0;\n cursor: pointer;\n font-family: inherit;\n background-color: transparent;\n transition: none;\n}\nbutton.styles_clear-input__KFeWb svg {\n fill: var(--color);\n width: 16px;\n height: 16px;\n}\nbutton.styles_clear-input__KFeWb:focus {\n background-color: transparent;\n color: inherit;\n /* First apply outline that is used in Edge and Firefox */\n /* Then override outline for webkit browsers like Chrome, this has no effect on other browsers */\n outline: 5px auto -webkit-focus-ring-color;\n}\nbutton.styles_clear-input__KFeWb:active {\n background-color: transparent;\n color: inherit;\n}\nbutton.styles_clear-input__KFeWb:hover {\n background-color: transparent;\n color: inherit;\n}\n\n.styles_sr-only__FIitE:not(:focus, :active) {\n clip: rect(0 0 0 0);\n -webkit-clip-path: inset(50%);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n.styles_hidden__Y0n2p {\n visibility: hidden;\n}");const du=e=>e.localadmin||e.localadmin||e.address&&e.address.lastIndexOf(",")<e.address.length-2&&e.address.substring(e.address.lastIndexOf(",")+2)||"",pu=({id:e,code:t})=>t||(void 0!==e&&void 0!==e.indexOf&&-1!==e.indexOf("#")?e.substring(e.indexOf("#")+1):void 0),fu=T.default((e,t=!1)=>{switch(e.layer){case"currentPosition":return[e.labelId,e.address];case"selectFromMap":case"ownLocations":case"back":return[e.labelId];case"favouritePlace":return n=e.name,r=e.address,[n||r&&r.split(",")[0],"string"==typeof r?r.replace(new RegExp(`${N.default(n)}([ ,]|$)+`),""):""];case"favouriteVehicleRentalStation":case"bikestation":return[e.name];case"favouriteRoute":case"route-BUS":case"route-TRAM":case"route-RAIL":case"route-SUBWAY":case"route-FERRY":case"route-FUNICULAR":case"route-AIRPLANE":return!t&&e.shortName?[e.gtfsId,e.mode.toLowerCase(),e.longName]:[e.shortName,e.longName,e.agency?e.agency.name:void 0];case"venue":case"address":case"street":return[e.name,e.label.replace(new RegExp(`${N.default(e.name)}(,)?( )?`),"")];case"favouriteStop":case"stop":return t?[e.name||e.label||e.address&&e.address.split(",")[0],du(e)]:[e.name,e.id,pu(e),du(e)];default:return[e.name||e.label||e.address&&e.address.split(",")[0],du(e)]}var n,r},(e,t)=>{const n=L.default(e);return n.plain=t,n});const hu=e=>{const t=e&&(e.key||e.which||e.keyCode)||"";return!(!t||![13," ","Spacebar"].concat([32,"Enter"]).includes(t))&&(e.preventDefault(),!0)},gu=e=>"origin"===e||"destination"===e||"via-point"===e||"origin-stop-near-you"===e,bu=(e,t,n)=>{if(!n)return;if(!e||!e.GTFS.platform)return;const{modes:r,platform:o}=e.GTFS;return[r&&"RAIL"===r[0]?n("track",{lng:t}):n("platform",{lng:t}),o]};function mu(e,t,n){if(!n)return;if("FutureRoute"!==e.type){if("SelectFromMap"===e.type)return["",n("select-from-map",{lng:t})];if("CurrentLocation"===e.type)return["",n("use-own-position",{lng:t})];if("SelectFromOwnLocations"===e.type)return["",n("select-from-own-locations",{lng:t})];let o,[u,i]=fu(e.properties,!0);if(e.properties.layer.toLowerCase().includes("bikerental")||e.properties.layer.toLowerCase().includes("bikestation")){o=n("vehiclerentalstation",{lng:t});return[o,u,void 0,e.properties.labelId]}if("bikepark"===e.properties.layer)return o=n("bikepark",{lng:t}),[o,u,void 0,void 0];if("carpark"===e.properties.layer)return o=n("carpark",{lng:t}),[o,u,void 0,void 0];if(e.properties.mode)o=n(e.properties.mode.toLowerCase().replace("favourite",""),{lng:t});else{o=n(e.properties.layer.replace("route-","").toLowerCase().replace("favourite",""),{lng:t})}if(e.properties.id&&("stop"===e.properties.layer||"station"===e.properties.layer)){var r;const s=pu(e.properties),a=null===(r=e.properties.addendum)||void 0===r?void 0:r.GTFS.modes,l=bu(e.properties.addendum,t,n);return[o,be(u,s),i,s,a,l]}if("favouriteStop"===e.properties.layer||"favouriteStation"===e.properties.layer){const{address:n,code:r}=e.properties;return[o,n?be(n.split(",")[0],r):u,i,r,void 0,bu(e.properties.addendum,t)]}return[o,u,i]}const{origin:o,destination:u}=e.properties,i=o.locality?`, ${o.locality} foobar`:"",s=u.locality?`, ${u.locality}`:"",a=o.name,l=u.name;return[n("future-route",{lng:t}),`${n("origin",{lng:t})} ${a}${i} ${n("destination",{lng:t})} ${l}${s}`,e.translatedText]}function yu(e,t,n){if(!n)return;const r=E.DateTime.fromSeconds(Number(e.properties.time)),o=E.DateTime.now();let u=e.properties.arriveBy?n("arrival",{lng:t}):n("departure",{lng:t});return u=r.hasSame(o,"day")?`${u} ${n("today-at")}`:r.hasSame(o.plus({days:1}),"day")?`${u} ${n("tomorrow-at",{lng:t})}`:`${u} ${r.toFormat("ccc d.L.")}`,u=`${u} ${r.toFormat("HH:mm")}`,u}const Eu=e=>"SelectFromOwnLocations"===e.type||"back"===e.type?"":function(e){const t=fu(e,!0);switch(e.layer){case"selectFromMap":case"currentPosition":case"ownLocations":case"back":return t[1]||t[0];case"favouriteVehicleRentalStation":case"favouritePlace":return t[0];default:return t.length>1&&""!==t[1]?t.join(", "):t[1]||t[0]}}(e.properties),Au=({suggestions:e,t:t,lng:n})=>{let r=[];const o=e[0];return o&&(o.type&&o.type.includes("Favourite")&&r.push(t("favourite",{lng:n})),r=r.concat(mu(e[0],n))),[...new Set(r)].join(" - ")};function Fu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wu,vu={exports:{}};
|
|
2
|
+
/*! For license information please see index.js.LICENSE.txt */var _u=(wu||(wu=1,function(e){var t;"undefined"!=typeof self&&self,e.exports=(t=C.default,function(){var e={888:function(e,t,n){var r,o;o=void 0!==n.g?n.g:"undefined"!=typeof window?window:this,r=function(){return function(e){var t={ignore:"[data-scroll-ignore]",header:null,topOnEmptyHash:!0,speed:500,speedAsDuration:!1,durationMax:null,durationMin:null,clip:!0,offset:0,easing:"easeInOutCubic",customEasing:null,updateURL:!0,popstate:!0,emitEvents:!0},n=function(){var e={};return Array.prototype.forEach.call(arguments,function(t){for(var n in t){if(!t.hasOwnProperty(n))return;e[n]=t[n]}}),e},r=function(e){"#"===e.charAt(0)&&(e=e.substr(1));for(var t,n=String(e),r=n.length,o=-1,u="",i=n.charCodeAt(0);++o<r;){if(0===(t=n.charCodeAt(o)))throw new InvalidCharacterError("Invalid character: the input contains U+0000.");u+=t>=1&&t<=31||127==t||0===o&&t>=48&&t<=57||1===o&&t>=48&&t<=57&&45===i?"\\"+t.toString(16)+" ":t>=128||45===t||95===t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122?n.charAt(o):"\\"+n.charAt(o)}return"#"+u},o=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},u=function(t){return t?(n=t,parseInt(e.getComputedStyle(n).height,10)+t.offsetTop):0;var n},i=function(t,n,r){0===t&&document.body.focus(),r||(t.focus(),document.activeElement!==t&&(t.setAttribute("tabindex","-1"),t.focus(),t.style.outline="none"),e.scrollTo(0,n))},s=function(t,n,r,o){if(n.emitEvents&&"function"==typeof e.CustomEvent){var u=new CustomEvent(t,{bubbles:!0,detail:{anchor:r,toggle:o}});document.dispatchEvent(u)}};return function(a,l){var c,d,p,f,h={cancelScroll:function(e){cancelAnimationFrame(f),f=null,e||s("scrollCancel",c)},animateScroll:function(r,a,l){h.cancelScroll();var d=n(c||t,l||{}),g="[object Number]"===Object.prototype.toString.call(r),b=g||!r.tagName?null:r;if(g||b){var m=e.pageYOffset;d.header&&!p&&(p=document.querySelector(d.header));var y,E,A,F=u(p),w=g?r:function(t,n,r,u){var i=0;if(t.offsetParent)do{i+=t.offsetTop,t=t.offsetParent}while(t);return i=Math.max(i-n-r,0),u&&(i=Math.min(i,o()-e.innerHeight)),i}(b,F,parseInt("function"==typeof d.offset?d.offset(r,a):d.offset,10),d.clip),v=w-m,_=o(),C=0,D=function(e,t){var n=t.speedAsDuration?t.speed:Math.abs(e/1e3*t.speed);return t.durationMax&&n>t.durationMax?t.durationMax:t.durationMin&&n<t.durationMin?t.durationMin:parseInt(n,10)}(v,d),S=function(t){y||(y=t),C+=t-y,A=m+v*function(e,t){var n;return"easeInQuad"===e.easing&&(n=t*t),"easeOutQuad"===e.easing&&(n=t*(2-t)),"easeInOutQuad"===e.easing&&(n=t<.5?2*t*t:(4-2*t)*t-1),"easeInCubic"===e.easing&&(n=t*t*t),"easeOutCubic"===e.easing&&(n=--t*t*t+1),"easeInOutCubic"===e.easing&&(n=t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1),"easeInQuart"===e.easing&&(n=t*t*t*t),"easeOutQuart"===e.easing&&(n=1- --t*t*t*t),"easeInOutQuart"===e.easing&&(n=t<.5?8*t*t*t*t:1-8*--t*t*t*t),"easeInQuint"===e.easing&&(n=t*t*t*t*t),"easeOutQuint"===e.easing&&(n=1+--t*t*t*t*t),"easeInOutQuint"===e.easing&&(n=t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t),e.customEasing&&(n=e.customEasing(t)),n||t}(d,E=(E=0===D?0:C/D)>1?1:E),e.scrollTo(0,Math.floor(A)),function(t,n){var o=e.pageYOffset;if(t==n||o==n||(m<n&&e.innerHeight+o)>=_)return h.cancelScroll(!0),i(r,n,g),s("scrollStop",d,r,a),y=null,f=null,!0}(A,w)||(f=e.requestAnimationFrame(S),y=t)};0===e.pageYOffset&&e.scrollTo(0,0),function(e,t,n){t||history.pushState&&n.updateURL&&history.pushState({smoothScroll:JSON.stringify(n),anchor:e.id},document.title,e===document.documentElement?"#top":"#"+e.id)}(r,g,d),"matchMedia"in e&&e.matchMedia("(prefers-reduced-motion)").matches?i(r,Math.floor(w),!1):(s("scrollStart",d,r,a),h.cancelScroll(!0),e.requestAnimationFrame(S))}}},g=function(t){if(!t.defaultPrevented&&!(0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey)&&"closest"in t.target&&(d=t.target.closest(a))&&"a"===d.tagName.toLowerCase()&&!t.target.closest(c.ignore)&&d.hostname===e.location.hostname&&d.pathname===e.location.pathname&&/#/.test(d.href)){var n,o;try{n=r(decodeURIComponent(d.hash))}catch(e){n=r(d.hash)}if("#"===n){if(!c.topOnEmptyHash)return;o=document.documentElement}else o=document.querySelector(n);(o=o||"#top"!==n?o:document.documentElement)&&(t.preventDefault(),function(t){if(history.replaceState&&t.updateURL&&!history.state){var n=e.location.hash;n=n||"",history.replaceState({smoothScroll:JSON.stringify(t),anchor:n||e.pageYOffset},document.title,n||e.location.href)}}(c),h.animateScroll(o,d))}},b=function(e){if(null!==history.state&&history.state.smoothScroll&&history.state.smoothScroll===JSON.stringify(c)){var t=history.state.anchor;"string"==typeof t&&t&&!(t=document.querySelector(r(history.state.anchor)))||h.animateScroll(t,null,{updateURL:!1})}};return h.destroy=function(){c&&(document.removeEventListener("click",g,!1),e.removeEventListener("popstate",b,!1),h.cancelScroll(),c=null,d=null,p=null,f=null)},function(){if(!("querySelector"in document&&"addEventListener"in e&&"requestAnimationFrame"in e&&"closest"in e.Element.prototype))throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.";h.destroy(),c=n(t,l||{}),p=c.header?document.querySelector(c.header):null,document.addEventListener("click",g,!1),c.updateURL&&c.popstate&&e.addEventListener("popstate",b,!1)}(),h}}(o)}.apply(t,[]),void 0===r||(e.exports=r)},432:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(47),t),o(n(926),t),o(n(349),t),o(n(137),t),o(n(729),t),o(n(383),t),o(n(450),t),o(n(358),t),o(n(753),t),o(n(869),t),o(n(352),t),o(n(446),t),o(n(164),t),o(n(305),t),o(n(502),t)},349:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useArrowNavigation=void 0;var r=n(156);t.useArrowNavigation=function(e){var t=e.listItems,n=e.onArrowUpOrDown,o=(0,r.useState)(0),u=o[0],i=o[1],s=(0,r.useCallback)(function(e){i(e)},[t]),a=function(e){var r=e.key;if(null==t?void 0:t.length)if("ArrowUp"===r)n&&n(),e.preventDefault(),s(u>0?u-1:t.length-1);else{if("ArrowDown"!==r)return;n&&n(),e.preventDefault(),u<t.length-1?s(u+1):s(0)}};return(0,r.useEffect)(function(){return window.addEventListener("keydown",a),function(){return window.removeEventListener("keydown",a)}}),(0,r.useEffect)(function(){s(0)},[t]),{selectedIndex:u}}},446:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useDebounce=void 0;var r=n(156);t.useDebounce=function(e,t){void 0===t&&(t=300);var n=(0,r.useState)(e),o=n[0],u=n[1];return(0,r.useEffect)(function(){var n=setTimeout(function(){u(e)},t);return function(){clearTimeout(n)}},[e,t]),o}},164:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useElementSize=void 0;var r=n(156);t.useElementSize=function(){var e,t,n=(0,r.useRef)(null);return[n,{width:null===(e=null==n?void 0:n.current)||void 0===e?void 0:e.clientWidth,height:null===(t=null==n?void 0:n.current)||void 0===t?void 0:t.clientHeight}]},t.default=t.useElementSize},137:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersectionObserver=void 0;var r=n(156);t.useIntersectionObserver=function(e){var t=(0,r.useRef)(null),n=(0,r.useState)(!1),o=n[0],u=n[1],i=function(e){var t=e[0];u(t.isIntersecting)};return(0,r.useEffect)(function(){if(window&&window.IntersectionObserver){var n=new IntersectionObserver(i,e),r=t.current;return t.current&&n.observe(t.current),function(){r&&n.unobserve(r)}}u(!1)},[t,e]),{containerRef:t,isVisible:o}},t.default=t.useIntersectionObserver},729:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIsBreakpoint=void 0;var r=n(156),o=n(432),u={xs:1,mobileSmall:320,mobile:375,tablet:768,tabletLarge:920,desktopSmall:1024,desktop:1260,desktopLarge:1440};t.useIsBreakpoint=function(e){var t="string"==typeof e?u[e]:e,n=(0,r.useState)(null),i=n[0],s=n[1],a=(0,r.useCallback)(function(){s(window.innerWidth)},[]);return(0,r.useEffect)(function(){a()},[]),(0,o.useOnResize)(a),i>=t},t.default=t.useIsBreakpoint},450:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIsLoadingAfterError=void 0;var r=n(156);t.useIsLoadingAfterError=function(e,t){var n=(0,r.useState)(t),o=n[0],u=n[1];return(0,r.useEffect)(function(){e||u(t)},[e,t]),e&&o}},305:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIsMobile=void 0;var r=n(729);t.useIsMobile=function(){return!(0,r.useIsBreakpoint)("tablet")},t.default=t.useIsMobile},383:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useIsomorphicLayoutEffect=void 0;var r=n(156);t.useIsomorphicLayoutEffect="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,t.default=t.useIsomorphicLayoutEffect},753:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useOnLoseFocusWithin=void 0;var r=n(156);t.useOnLoseFocusWithin=function(e){var t=e.ref,n=e.callback,o=e.watch;(0,r.useEffect)(function(){var e=function(){var e;if(o)return(null===(e=t.current)||void 0===e?void 0:e.matches(":focus-within"))?void 0:n()};return document.addEventListener("keyup",e),function(){return document.removeEventListener("keyup",e)}},[n,t,o])},t.default=t.useOnLoseFocusWithin},502:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useOnResize=void 0;var r=n(156);t.useOnResize=function(e){(0,r.useEffect)(function(){var t=function(){e(window.innerWidth)};return window.addEventListener("resize",t,{passive:!0}),function(){return window.removeEventListener("resize",t)}},[])},t.default=t.useOnResize},352:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useOnWindowFocus=void 0;var r=n(156);t.useOnWindowFocus=function(e){(0,r.useEffect)(function(){var t=function(){e&&"visible"===document.visibilityState&&e()};return window.addEventListener("visibilitychange",t,!1),function(){return window.removeEventListener("visibilitychange",t)}},[e])}},47:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useOutsideReacter=void 0;var r=n(156);t.useOutsideReacter=function(e,t){function n(n){e.current&&!e.current.contains(n.target)&&t()}(0,r.useEffect)(function(){return document.addEventListener("mousedown",n),function(){document.removeEventListener("mousedown",n)}})}},869:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useRunAfterUpdate=void 0;var r=n(156);t.useRunAfterUpdate=function(){var e=(0,r.useRef)(null);return(0,r.useEffect)(function(){e.current&&(e.current(),e.current=null)}),function(t){e.current=t}},t.default=t.useRunAfterUpdate},926:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollLock=void 0;var r=n(156);t.useScrollLock=function(){return{lock:(0,r.useCallback)(function(){var e=window.scrollY+"px",t=document.body;t.style.position="fixed",t.style.top="-"+e},[]),unlock:(0,r.useCallback)(function(){var e=document.body,t=e.style.top,n=-1*parseInt(t||"0");e.style.position="",e.style.top="",n&&window.scrollTo(0,-1*parseInt(t||"0"))},[])}}},358:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useSmoothScroll=void 0;var o=n(156),u=r(n(888));t.useSmoothScroll=function(e){var t=(0,o.useRef)(null),n=e.ref,r=e.offset,i=void 0===r?0:r,s=e.speed,a=void 0===s?500:s;return(0,o.useEffect)(function(){t.current=new u.default(null,{speed:a,speedAsDuration:!0})},[]),(0,o.useCallback)(function(){n&&t.current&&t.current.animateScroll(n.current,null,{offset:function(){return i},updateURL:!1})},[i,n])}},156:function(e){e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var u=n[t]={exports:{}};return e[t].call(u.exports,u,u.exports,r),u.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r(432)}())}(vu)),vu.exports),Cu=Fu(_u),Du={"fullscreen-root":"MobileSearch_fullscreen-root__l90DZ","combobox-container":"MobileSearch_combobox-container__UsUQ2","right-column":"MobileSearch_right-column__QT0kp","combobox-icon":"MobileSearch_combobox-icon__3syCw","combobox-label":"MobileSearch_combobox-label__mRQMF",container:"MobileSearch_container__JtL5q",input:"MobileSearch_input__Sjo1c","clear-input":"MobileSearch_clear-input__SGpE8",hasValue:"MobileSearch_hasValue__H1RPq",suggestion:"MobileSearch_suggestion__pqOkM",suggestionHighlighted:"MobileSearch_suggestionHighlighted__xpMMN",suggestionsContainerOpen:"MobileSearch_suggestionsContainerOpen__wwyZk",suggestionsList:"MobileSearch_suggestionsList__-pWWC","clear-search-history":"MobileSearch_clear-search-history__cO30c","mobile-modal-overlay":"MobileSearch_mobile-modal-overlay__bH39q","mobile-modal":"MobileSearch_mobile-modal__DFUUM","mobile-modal-content":"MobileSearch_mobile-modal-content__7q4zK"};lu("input[type=text] {\n margin: 0;\n padding: 0;\n}\n\n.MobileSearch_fullscreen-root__l90DZ {\n display: flex;\n flex-direction: column;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: #fff;\n z-index: 1000;\n}\n\n.MobileSearch_combobox-container__UsUQ2 {\n margin: 15px 10px 0;\n border: solid #888 1px;\n display: flex;\n align-items: center;\n border-radius: 5px;\n height: 60px;\n justify-content: space-between;\n}\n.MobileSearch_combobox-container__UsUQ2 .MobileSearch_right-column__QT0kp {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n padding-top: 9px;\n}\n\n.MobileSearch_combobox-icon__3syCw {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 52px;\n border: 0;\n background: none;\n}\n.MobileSearch_combobox-icon__3syCw svg {\n width: 14px;\n height: 21px;\n transform: rotate(-180deg);\n}\n\n.MobileSearch_combobox-label__mRQMF {\n position: relative;\n top: -2px;\n font-size: 12px;\n font-weight: var(--font-weight-medium);\n letter-spacing: -0.2px;\n color: #333;\n}\n\n.MobileSearch_container__JtL5q {\n display: flex;\n align-items: center;\n width: 100%;\n}\n.MobileSearch_container__JtL5q .MobileSearch_input__Sjo1c {\n font-family: var(--font-family);\n width: 100%;\n position: relative;\n padding-bottom: 7px;\n top: 2px;\n border: none;\n height: 26px;\n font-weight: normal;\n box-shadow: none;\n font-size: 16px;\n letter-spacing: -0.5px;\n color: #666;\n -webkit-appearance: none;\n appearance: none;\n}\n.MobileSearch_container__JtL5q .MobileSearch_input__Sjo1c:focus {\n outline: none;\n border: none;\n box-shadow: none;\n background: #fff;\n}\n\nbutton.MobileSearch_clear-input__SGpE8 {\n display: flex;\n align-items: center;\n right: 0;\n padding: 0 15px 7px 0;\n height: 26px;\n color: var(--color);\n border: 0;\n margin: 0;\n justify-content: center;\n text-align: left;\n background: none;\n border-style: none;\n border-width: 0;\n cursor: pointer;\n font-family: inherit;\n background-color: transparent;\n transition: none;\n}\nbutton.MobileSearch_clear-input__SGpE8 svg {\n fill: var(--color);\n width: 16px;\n height: 16px;\n}\nbutton.MobileSearch_clear-input__SGpE8:focus {\n background-color: transparent;\n color: inherit;\n}\nbutton.MobileSearch_clear-input__SGpE8:active {\n background-color: transparent;\n color: inherit;\n}\nbutton.MobileSearch_clear-input__SGpE8:hover {\n background-color: transparent;\n color: inherit;\n}\n\n.MobileSearch_hasValue__H1RPq {\n color: #333;\n}\n\n.MobileSearch_suggestion__pqOkM {\n font-size: 15px;\n min-height: 50px;\n letter-spacing: -0.6px;\n color: #333;\n font-weight: 500;\n background: #fff;\n margin: 0;\n padding: 0;\n}\n\n.MobileSearch_suggestionHighlighted__xpMMN {\n background-color: #f2f5f7;\n}\n\n.MobileSearch_suggestionsContainerOpen__wwyZk {\n display: flex;\n position: absolute;\n margin-bottom: auto;\n z-index: 20;\n width: 100vw;\n max-height: calc(100% - 75px);\n height: 100%;\n top: 75px;\n left: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.MobileSearch_suggestionsContainerOpen__wwyZk .MobileSearch_suggestionsList__-pWWC {\n width: 100vw;\n list-style: none;\n padding-left: 0;\n margin: 0;\n background: #f2f5f7;\n}\n\n.MobileSearch_clear-search-history__cO30c {\n display: flex;\n font-family: var(--font-family);\n margin-top: auto;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 62px;\n background: #f2f5f7;\n color: var(--accessible-primary-color);\n font-size: 15px;\n font-weight: var(--font-weight-medium);\n letter-spacing: -0.42px;\n border: none;\n border-top: 1px solid #ddd;\n}\n.MobileSearch_suggestionHighlighted__xpMMN .MobileSearch_clear-search-history__cO30c {\n background-color: transparent;\n color: inherit;\n}\n\n.MobileSearch_mobile-modal-overlay__bH39q {\n z-index: 9999;\n top: 0;\n left: 0;\n right: unset;\n bottom: unset;\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n background-color: white;\n position: fixed;\n}\n\n.MobileSearch_mobile-modal__DFUUM {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.MobileSearch_mobile-modal__DFUUM.ReactModal__Content--after-open > div {\n transform: translateY(0);\n}\n.MobileSearch_mobile-modal__DFUUM.ReactModal__Content--before-close > div {\n transform: translateY(10%);\n}\n\n.MobileSearch_mobile-modal-content__7q4zK {\n position: fixed;\n width: 100%;\n height: 100%;\n outline: none;\n background-color: #fff;\n transition: transform 0.25s;\n transform: translateY(10%);\n}");var Su={"fullscreen-root":"MobileNoScroll_fullscreen-root__fZbOA","combobox-container":"MobileNoScroll_combobox-container__9Q02x","right-column":"MobileNoScroll_right-column__Hk-62","combobox-icon":"MobileNoScroll_combobox-icon__WlXar","combobox-label":"MobileNoScroll_combobox-label__oeVbH",container:"MobileNoScroll_container__veReP",input:"MobileNoScroll_input__zo9Gg","clear-input":"MobileNoScroll_clear-input__lQlxs",hasValue:"MobileNoScroll_hasValue__1Gx3J",suggestion:"MobileNoScroll_suggestion__hTxDr",suggestionHighlighted:"MobileNoScroll_suggestionHighlighted__zxzXj",suggestionsContainerOpen:"MobileNoScroll_suggestionsContainerOpen__sX1RA",suggestionsList:"MobileNoScroll_suggestionsList__wXJTV","clear-search-history":"MobileNoScroll_clear-search-history__vR2Xw","mobile-modal-overlay":"MobileNoScroll_mobile-modal-overlay__Qw6Np","mobile-modal":"MobileNoScroll_mobile-modal__xYuHh","mobile-modal-content":"MobileNoScroll_mobile-modal-content__0Ft4g"};function Bu(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(r=0;r<u.length;r++)n=u[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}lu("input[type=text] {\n margin: 0;\n padding: 0;\n}\n\n.MobileNoScroll_fullscreen-root__fZbOA {\n display: flex;\n flex-direction: column;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: #fff;\n z-index: 1000;\n}\n\n.MobileNoScroll_combobox-container__9Q02x {\n margin: 15px 10px 0;\n border: solid #888 1px;\n display: flex;\n align-items: center;\n border-radius: 5px;\n height: 60px;\n justify-content: space-between;\n}\n.MobileNoScroll_combobox-container__9Q02x .MobileNoScroll_right-column__Hk-62 {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n padding-top: 9px;\n}\n\n.MobileNoScroll_combobox-icon__WlXar {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 52px;\n border: 0;\n background: none;\n}\n.MobileNoScroll_combobox-icon__WlXar svg {\n width: 14px;\n height: 21px;\n transform: rotate(-180deg);\n}\n\n.MobileNoScroll_combobox-label__oeVbH {\n position: relative;\n top: -2px;\n font-size: 12px;\n font-weight: var(--font-weight-medium);\n letter-spacing: -0.2px;\n color: #333;\n}\n\n.MobileNoScroll_container__veReP {\n display: flex;\n align-items: center;\n width: 100%;\n}\n.MobileNoScroll_container__veReP .MobileNoScroll_input__zo9Gg {\n font-family: var(--font-family);\n width: 100%;\n position: relative;\n padding-bottom: 7px;\n top: 2px;\n border: none;\n height: 26px;\n font-weight: normal;\n box-shadow: none;\n font-size: 16px;\n letter-spacing: -0.5px;\n color: #666;\n -webkit-appearance: none;\n appearance: none;\n}\n.MobileNoScroll_container__veReP .MobileNoScroll_input__zo9Gg:focus {\n outline: none;\n border: none;\n box-shadow: none;\n background: #fff;\n}\n\nbutton.MobileNoScroll_clear-input__lQlxs {\n display: flex;\n align-items: center;\n right: 0;\n padding: 0 15px 7px 0;\n height: 26px;\n color: var(--color);\n border: 0;\n margin: 0;\n justify-content: center;\n text-align: left;\n background: none;\n border-style: none;\n border-width: 0;\n cursor: pointer;\n font-family: inherit;\n background-color: transparent;\n transition: none;\n}\nbutton.MobileNoScroll_clear-input__lQlxs svg {\n fill: var(--color);\n width: 16px;\n height: 16px;\n}\nbutton.MobileNoScroll_clear-input__lQlxs:focus {\n background-color: transparent;\n color: inherit;\n}\nbutton.MobileNoScroll_clear-input__lQlxs:active {\n background-color: transparent;\n color: inherit;\n}\nbutton.MobileNoScroll_clear-input__lQlxs:hover {\n background-color: transparent;\n color: inherit;\n}\n\n.MobileNoScroll_hasValue__1Gx3J {\n color: #333;\n}\n\n.MobileNoScroll_suggestion__hTxDr {\n font-size: 15px;\n min-height: 50px;\n letter-spacing: -0.6px;\n color: #333;\n font-weight: 500;\n background: #fff;\n margin: 0;\n padding: 0;\n}\n\n.MobileNoScroll_suggestionHighlighted__zxzXj {\n background-color: #f2f5f7;\n}\n\n.MobileNoScroll_suggestionsContainerOpen__sX1RA {\n display: flex;\n position: absolute;\n margin-bottom: auto;\n z-index: 20;\n width: 100vw;\n max-height: calc(100% - 75px);\n height: 100%;\n top: 75px;\n left: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.MobileNoScroll_suggestionsContainerOpen__sX1RA .MobileNoScroll_suggestionsList__wXJTV {\n width: 100vw;\n list-style: none;\n padding-left: 0;\n margin: 0;\n background: #f2f5f7;\n}\n\n.MobileNoScroll_clear-search-history__vR2Xw {\n display: flex;\n font-family: var(--font-family);\n margin-top: auto;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 62px;\n background: #f2f5f7;\n color: var(--accessible-primary-color);\n font-size: 15px;\n font-weight: var(--font-weight-medium);\n letter-spacing: -0.42px;\n border: none;\n border-top: 1px solid #ddd;\n}\n.MobileNoScroll_suggestionHighlighted__zxzXj .MobileNoScroll_clear-search-history__vR2Xw {\n background-color: transparent;\n color: inherit;\n}\n\n.MobileNoScroll_mobile-modal-overlay__Qw6Np {\n z-index: 9999;\n top: 0;\n left: 0;\n right: unset;\n bottom: unset;\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n background-color: white;\n position: fixed;\n}\n\n.MobileNoScroll_mobile-modal__xYuHh {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.MobileNoScroll_mobile-modal__xYuHh.ReactModal__Content--after-open > div {\n transform: translateY(0);\n}\n.MobileNoScroll_mobile-modal__xYuHh.ReactModal__Content--before-close > div {\n transform: translateY(10%);\n}\n\n.MobileNoScroll_mobile-modal-content__0Ft4g {\n position: fixed;\n width: 100%;\n height: 100%;\n outline: none;\n background-color: #fff;\n transition: transform 0.25s;\n transform: translateY(10%);\n}\n\n.MobileNoScroll_suggestionsContainerOpen__sX1RA {\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n scrollbar-width: none; /* Firefox */\n}\n.MobileNoScroll_suggestionsContainerOpen__sX1RA::-webkit-scrollbar {\n display: none; /* Safari and Chrome */\n}");const Ou=["item","lng","getItemProps","highlightedIndex","itemIndex","styles"],Ru=["suggestions","getMenuProps","getItemProps","lng","styles","hidden","renderClearHistoryButton","handleClearHistory"];function xu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ku(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ju(e){let{item:t,lng:n,getItemProps:o,highlightedIndex:u,itemIndex:i,styles:s}=e,a=Bu(e,Ou);const[l]=r.useTranslation(),c="FutureRoute"===t.type?ku(ku({},t),{},{translatedText:yu(t,n,l)}):t,d=mu(t,n,l);return C.default.createElement("li",Object.assign({className:D.default(s.suggestion,u===i&&s.suggestionHighlighted)},o({index:i})),C.default.createElement(U.default,Object.assign({item:c,content:d,lng:n},a)))}const Pu="production"!==process.env.NODE_ENV?_.default.shape({name:_.default.string,type:_.default.string,address:_.default.string,selectedIconId:_.default.string,iconColor:_.default.string,translatedText:_.default.string,properties:_.default.shape({layer:_.default.string,color:_.default.string,localadmin:_.default.string,mode:_.default.string,id:_.default.string,source:_.default.string,arrowClicked:_.default.bool,destination:_.default.shape({name:_.default.string,localadmin:_.default.string}),origin:_.default.shape({name:_.default.string,localadmin:_.default.string})})}):{};function Tu(e){let{suggestions:t,getMenuProps:n,getItemProps:o,lng:u,styles:i,hidden:s,renderClearHistoryButton:a,handleClearHistory:l}=e,c=Bu(e,Ru);const[d]=r.useTranslation();return C.default.createElement("div",{className:D.default(i.suggestionsContainerOpen,i.suggestionsContainer,s&&i.hidden)},C.default.createElement("ul",Object.assign({className:i.suggestionsList},n()),t.map((e,t)=>C.default.createElement(ju,Object.assign({key:`${e.type}-${e.properties.gid||e.properties.gtfsId||JSON.stringify(e.properties)}`,getItemProps:o,itemIndex:t,item:e,lng:u,styles:i},c))),a&&C.default.createElement("li",o({index:t.length}),C.default.createElement("button",{onClick:l,type:"button",className:i["clear-search-history"]},d("clear-search-history",{lng:u})))))}"production"!==process.env.NODE_ENV&&(ju.propTypes={item:Pu.isRequired,lng:_.default.string.isRequired,getItemProps:_.default.func.isRequired,highlightedIndex:_.default.number.isRequired,itemIndex:_.default.number.isRequired,styles:_.default.objectOf(_.default.string).isRequired}),"production"!==process.env.NODE_ENV&&(Tu.propTypes={suggestions:_.default.arrayOf(Pu).isRequired,getMenuProps:_.default.func.isRequired,getItemProps:_.default.func.isRequired,lng:_.default.string.isRequired,styles:_.default.objectOf(_.default.string).isRequired,hidden:_.default.bool.isRequired,renderClearHistoryButton:_.default.bool,handleClearHistory:_.default.func}),Tu.defaultProps={renderClearHistoryButton:!1,handleClearHistory:()=>{}};const Nu=({color:e,lng:t,clearInput:n,onKeyDown:o,styles:u})=>{const[i]=r.useTranslation();return C.default.createElement("button",{type:"button",className:u["clear-input"],onClick:n,"aria-label":i("clear-button-label",{lng:t}),onKeyDown:o},C.default.createElement(P.default,{img:"close",color:e}))};function Lu({id:e,lng:t,value:r,placeholder:o,required:u,getInputProps:i,getLabelProps:s,clearInput:a,ariaLabel:l,inputRef:c,styles:d,renderLabel:p,isMobile:f,inputClassName:h,transportMode:g,clearButtonColor:b,autoFocus:m,inputOnBlur:y}){const E=n.useRef(null);n.useLayoutEffect(()=>{const e=c.current;e&&null!==E.current&&e===document.activeElement&&e.setSelectionRange(E.current,E.current)},[r]);return C.default.createElement("div",{className:d.container},p&&C.default.createElement("label",s({className:d["sr-only"],htmlFor:e}),l),C.default.createElement("input",Object.assign({"aria-label":l,autoFocus:m,placeholder:o,required:u,type:"text",className:D.default(d.input,d[e],h,f&&g&&d.thin,r&&d.hasValue),value:r,id:e},i({ref:c,onBlur:y,onChange:e=>{E.current=e.target.selectionStart}}))),r&&C.default.createElement(Nu,{lng:t,clearInput:()=>a(c),styles:d,color:b,onKeyDown:e=>hu(e)&&a(c)}))}function Mu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Iu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mu(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}"production"!==process.env.NODE_ENV&&(Nu.propTypes={color:_.default.string.isRequired,lng:_.default.string.isRequired,clearInput:_.default.func.isRequired,onKeyDown:_.default.func.isRequired,styles:_.default.objectOf(_.default.string).isRequired}),"production"!==process.env.NODE_ENV&&(Lu.propTypes={id:_.default.string.isRequired,lng:_.default.string.isRequired,placeholder:_.default.string.isRequired,required:_.default.bool.isRequired,value:_.default.string.isRequired,getInputProps:_.default.func.isRequired,getLabelProps:_.default.func.isRequired,clearInput:_.default.func.isRequired,ariaLabel:_.default.string.isRequired,inputRef:_.default.shape({current:_.default.oneOfType([_.default.string,_.default.object])}).isRequired,styles:_.default.objectOf(_.default.string).isRequired,renderLabel:_.default.bool,isMobile:_.default.bool.isRequired,inputClassName:_.default.string.isRequired,transportMode:_.default.string,clearButtonColor:_.default.string.isRequired,autoFocus:_.default.bool,inputOnBlur:_.default.func}),Lu.defaultProps={autoFocus:!1,renderLabel:!1,transportMode:void 0,inputOnBlur:()=>{}};const Uu=({appElement:e,id:t,placeholder:o,clearInput:u,onSelectedItemChange:i,fontWeights:s,clearOldSearches:a,suggestionProps:l,lng:c,ariaProps:d,value:f,inputClassName:h,required:g,mobileLabel:b,showScroll:m,state:y,dispatch:E,colors:A})=>{const[F]=r.useTranslation(),{lock:w,unlock:v}=Cu.useScrollLock(),_=m?Du:Su,D=`${t}-input`,S=`${t}-label`,[B,O]=n.useState(!1),R=C.default.useRef();n.useEffect(()=>{M.default.setAppElement(e)},[]),n.useEffect(()=>{y.renderMobile?w():v()},[y.renderMobile]);const{highlightedIndex:x,getLabelProps:k,getMenuProps:j,getInputProps:T,getItemProps:N,setHighlightedIndex:L}=p.useCombobox({items:y.suggestions,inputValue:f,isOpen:!0,onSelectedItemChange:e=>{i(e),E({type:"TOGGLE_MENU",isMobile:!0})},inputId:D,labelId:S,selectedItem:null,defaultHighlightedIndex:-1,onInputValueChange:({inputValue:e})=>y.renderMobile&&E({type:"INPUT_CHANGE",value:e}),stateReducer:(e,{changes:t,type:n})=>{switch(n){case p.useCombobox.stateChangeTypes.InputKeyDownEscape:return L(-1),E({type:"TOGGLE_MENU",isMobile:!0}),e;case p.useCombobox.stateChangeTypes.InputKeyDownEnter:return y.loading?(E({type:"PENDING_ENTER",enterPending:!0}),e):-1===e.highlightedIndex?Iu(Iu({},t),{},{selectedItem:y.suggestions[0]}):t;case p.useCombobox.stateChangeTypes.InputBlur:return e;default:return t}},itemToString:e=>e?Eu(e):""});k({},{suppressRefError:!0}),j({},{suppressRefError:!0}),T({},{suppressRefError:!0}),N({index:-1},{suppressRefError:!0});const{ariaRequiredText:U,SearchBarId:q,ariaCurrentSuggestion:z}=d,H=U.concat(" ").concat(q).concat(" ").concat(z);return C.default.createElement(M.default,{isOpen:y.renderMobile,className:_["mobile-modal"],overlayClassName:_["mobile-modal-overlay"],shouldReturnFocusAfterClose:!1,shouldCloseOnEsc:!0},C.default.createElement("div",{className:_["mobile-modal-content"],style:{"--color":A.primary,"--accessible-primary-color":A.accessiblePrimary,"--hover-color":A.hover,"--font-weight-medium":s.medium}},C.default.createElement("div",{className:_["combobox-container"],htmlFor:D},C.default.createElement("button",{type:"button",className:_["combobox-icon"],onClick:()=>{L(-1),E({type:"TOGGLE_MENU",isMobile:!0})},onKeyDown:e=>{hu(e)&&(L(-1),E({type:"TOGGLE_MENU",isMobile:!0}))},"aria-label":F("cancel",{lng:c}),tabIndex:0},C.default.createElement(P.default,{img:"arrow",color:A.primary})),C.default.createElement("span",{className:_["right-column"]},C.default.createElement("span",Object.assign({className:_["combobox-label"],id:S},k()),b),C.default.createElement(Lu,{placeholder:gu(t)?F("address-place-or-business",{lng:c}):o,id:t,lng:c,value:f,getInputProps:T,getLabelProps:k,clearInput:()=>u(R),ariaLabel:H,inputRef:R,styles:_,renderLabel:!1,clearButtonColor:A.primary,autoFocus:!0,inputClassName:h,required:g,isMobile:!0}),C.default.createElement(Tu,Object.assign({suggestions:y.suggestions,getMenuProps:j,getItemProps:N,highlightedIndex:x,isOpen:!0,hidden:!1,lng:c,styles:_,renderClearHistoryButton:!0,handleClearHistory:()=>O(!0)},l)))),C.default.createElement(I.default,{appElement:e,isModalOpen:B,handleClose:()=>O(!1),headerText:F("delete-old-searches-header",{lng:c}),primaryButtonText:F("delete",{lng:c}),secondaryButtonText:F("cancel",{lng:c}),primaryButtonOnClick:()=>{a(),O(!1)},secondaryButtonOnClick:()=>O(!1),colors:A,fontWeights:s,lang:c})))};function qu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}"production"!==process.env.NODE_ENV&&(Uu.propTypes={appElement:_.default.string.isRequired,id:_.default.string.isRequired,clearInput:_.default.func.isRequired,clearOldSearches:_.default.func.isRequired,onSelectedItemChange:_.default.func.isRequired,value:_.default.string.isRequired,colors:_.default.objectOf(_.default.string).isRequired,fontWeights:_.default.shape({medium:_.default.number.isRequired}).isRequired,suggestionProps:_.default.shape({}).isRequired,ariaProps:_.default.shape({ariaRequiredText:_.default.string.isRequired,SearchBarId:_.default.string.isRequired,ariaCurrentSuggestion:_.default.string.isRequired}).isRequired,inputClassName:_.default.string.isRequired,placeholder:_.default.string.isRequired,mobileLabel:_.default.string.isRequired,required:_.default.bool.isRequired,showScroll:_.default.bool.isRequired,lng:_.default.string.isRequired,state:_.default.shape({suggestions:_.default.arrayOf(_.default.shape({})).isRequired,renderMobile:_.default.bool.isRequired,loading:_.default.bool.isRequired}).isRequired,dispatch:_.default.func.isRequired});const Hu=(e,t)=>{switch(t.type){case"INPUT_CHANGE":return zu(zu({},e),{},{value:t.value});case"FETCH_SUGGESTIONS":return zu(zu({},e),{},{loading:t.loading,suggestions:t.suggestions||e.suggestions});case"CLEAR_SUGGESTIONS":return zu(zu({},e),{},{suggestions:[]});case"RESET_SOURCES":return zu(zu({},e),{},{sources:t.sources});case"SET_SOURCES":return zu(zu({},e),{},{showOwnPlaces:t.showOwnPlaces,sources:t.sources,pendingSelection:t.pendingSelection});case"CLEAR":return zu(zu({},e),{},{value:"",isCleared:!0,suggestions:[]});case"INPUT_BLUR":return zu(zu({},e),{},{value:t.value||e.value,isCleared:!t.isMobile&&e.isCleared,pendingSelection:null,showOwnPlaces:!1});case"RESET":return t.initialState;case"PENDING_ENTER":return zu(zu({},e),{},{enterPending:t.enterPending});case"TOGGLE_MENU":return t.isMobile?e.renderMobile?zu(zu({},e),{},{renderMobile:!1,isCleared:!1}):zu(zu({},e),{},{renderMobile:!0,value:e.isCleared?"":e.value}):zu(zu({},e),{},{isMenuOpen:!e.isMenuOpen,renderMobile:t.isMobile&&!e.renderMobile});default:return e}};function Vu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Wu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vu(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const $u=["Valittu sijainti","Nykyinen sijaintisi","Current position","Selected location","Vald position","Använd min position","Min position","Käytä nykyistä sijaintia","Use current location","Your current location","Wybrane miejsce"];function Ju({appElement:e,id:t,placeholder:o,onSelect:u,icon:i,value:s,onClear:a,lang:l,getAutoSuggestIcons:c,handleViaPoints:d,focusChange:f,storeRef:h,isMobile:g,mobileLabel:b,inputClassName:m,translatedPlaceholder:y,required:E,ariaLabel:A,fontWeights:F,colors:w,modeSet:v,showScroll:_,isEmbedded:S,transportMode:B,targets:O,sources:R,geocodingSize:x,filterResults:k,searchContext:j,pathOpts:T,refPoint:N}){const[L]=r.useTranslation(),M={suggestions:[],loading:!1,sources:R,showOwnPlaces:!1,pendingSelection:null,isCleared:!1,renderMobile:!1,value:s,enterPending:!1,isMenuOpen:!1},[I,U]=n.useReducer(Hu,M);n.useEffect(()=>U({type:"RESET",initialState:M}),[s]),n.useEffect(()=>U({type:"RESET_SOURCES",sources:R}),[R]);const q=n.useRef(t);n.useEffect(()=>{h&&h(q.current)},[q.current]);const z=n.useCallback(()=>{const e=!(null!=O&&O.length)||O.includes("Locations"),t=(({targets:e,isLocationSearch:t,isMobile:n,ownPlaces:r,sources:o})=>{const u=!(null!=e&&e.length);let i;return r?(i=["Locations"],(u||e.includes("Stops"))&&i.push("Stops"),(u||e.includes("Stations"))&&i.push("Stations"),(u||e.includes("VehicleRentalStations"))&&i.push("VehicleRentalStations")):u||(i=[...e],!t||n||o.length&&!o.includes("Favourite")||i.push("SelectFromOwnLocations")),i})({targets:O,isLocationSearch:e,isMobile:g,ownPlaces:I.showOwnPlaces,sources:I.sources});((e,t,n,r,o,u,i,s,a,l)=>{s(null),su(e,t,n,r,o,u,i,s,a,l)})(t,I.sources?I.sources.filter(t=>!e||"Favourite"===!t||I.showOwnPlaces||g):I.sources,B,j,k,x,{input:I.value||""},e=>{if(null==e)return void U({type:"FETCH_SUGGESTIONS",loading:!0});const t=(e.results||[]).filter(e=>"FutureRoute"!==e.type||"FutureRoute"===e.type&&e.properties.time>Date.now()/1e3).map(e=>{if("CurrentLocation"===e.type||"SelectFromMap"===e.type||"SelectFromOwnLocations"===e.type||"back"===e.type){const t=Wu({},e);return t.properties.labelId=L(e.properties.labelId,{lng:l}),t}return e});U({type:"FETCH_SUGGESTIONS",loading:!1,suggestions:t})},T,N)},[I.value,I.sources,I.showOwnPlaces,O,B,j,k,x,g,l,T,N,t]),H=n.useCallback((e,n)=>{e&&(d?d(e,n):u(e,t),!f||g&&!S||f(),q.current&&q.current.blur())},[g]),V=e=>H(e.selectedItem,e.highlightedIndex),{isOpen:W,highlightedIndex:$,getLabelProps:J,getMenuProps:K,getInputProps:G,getItemProps:X,selectItem:Q,openMenu:Z,closeMenu:Y}=p.useCombobox({inputId:t,inputValue:I.value,defaultHighlightedIndex:0,onInputValueChange:({inputValue:e})=>U({type:"INPUT_CHANGE",value:e}),stateReducer:n.useCallback((e,{type:t,changes:n})=>{switch(t){case p.useCombobox.stateChangeTypes.ItemClick:case p.useCombobox.stateChangeTypes.InputKeyDownEnter:return I.loading?(U({type:"PENDING_ENTER",enterPending:!0}),e):n.selectedItem?"SelectFromOwnLocations"===n.selectedItem.type?(U({type:"SET_SOURCES",sources:["Favourite","Back"],showOwnPlaces:!0,pendingSelection:n.selectedItem.type}),e):"back"===n.selectedItem.type?(U({type:"SET_SOURCES",sources:R,showOwnPlaces:!1,pendingSelection:null}),e):n:n;case p.useCombobox.stateChangeTypes.InputClick:return $u.includes(s)?Wu(Wu({},n),{},{inputValue:"",isOpen:!0}):Wu(Wu({},n),{},{isOpen:!0});case p.useCombobox.stateChangeTypes.InputBlur:return n.selectedItem?Wu(Wu({},n),{},{selectedItem:e.selectItem,inputValue:e.inputValue}):n;case p.useCombobox.stateChangeTypes.InputKeyDownEscape:return Wu(Wu({},n),{},{inputValue:""});default:return n}},[I.loading,s,g]),items:I.suggestions,itemToString:e=>e?Eu(e):"",onSelectedItemChange:V,onIsOpenChange:e=>{e.isOpen&&!I.renderMobile&&U({type:"TOGGLE_MENU",isMobile:g})}}),ee=e=>{U({type:"CLEAR"}),a&&a(t),e.current&&e.current.focus(),Z()};n.useEffect(()=>{!W&&!I.renderMobile||I.value===s&&$u.includes(s)||z(I.value)},[W,I.renderMobile,I.value,z]),n.useEffect(()=>{I.enterPending&&!I.loading&&(H(I.suggestions[0],0),Y())},[I.loading,I.pendingEnter,I.suggestions]);const te={loading:I.loading,isMobile:g,ariaFavouriteString:L("favourite",{lng:l}),fontWeights:F,getAutoSuggestIcons:c,colors:w,modeSet:v},{ariaCurrentSuggestion:ne,ariaRequiredText:re,SearchBarId:oe,ariaLabelText:ue}=(({id:e,ariaLabel:t,lng:n,t:r,isMobile:o,suggestions:u,value:i,required:s})=>{const a=e.replace("searchfield-",""),l=t||r(a,{lng:n}).replace("searchfield-","").concat("."),c=s?`${r("required",{lng:n})}.`:"",d=r(o?"search-autosuggest-label-instructions-mobile":"search-autosuggest-label-instructions-desktop",{lng:n}),p="origin"===e?r("search-autosuggest-label-move-to-destination",{lng:n}):"";return{SearchBarId:l,ariaRequiredText:c,ariaLabelText:d.concat(" ").concat(p),ariaSuggestionLen:r("search-autosuggest-len",{count:u.length,lng:n}),ariaCurrentSuggestion:Au({suggestions:u,t:r,lng:n})||i?r("search-current-suggestion",{lng:n,selection:Au({suggestions:u,t:r,lng:n}).toLowerCase()||i}):""}})({id:t,lng:l,t:L,isMobile:g,ariaLabel:A,suggestions:I.suggestions,value:I.value,required:E});return n.useEffect(()=>{I.renderMobile||W||U({type:"RESET",initialState:M})},[I.renderMobile,W]),C.default.createElement(C.default.Fragment,null,g&&C.default.createElement(Uu,{placeholder:L(o,{lng:l}),fontWeights:F,clearOldSearches:()=>{const{context:e,clearOldSearches:t,clearFutureRoutes:n}=j;e&&t&&(t(e),n&&n(e),z(I.value))},appElement:e,mobileLabel:b||L(t,{lng:l}),ariaProps:{ariaCurrentSuggestion:ne,SearchBarId:oe,ariaRequiredText:re},id:t,lng:l,onSelectedItemChange:V,value:I.value,clearInput:ee,suggestionProps:te,showScroll:!!_,colors:w,inputClassName:m,required:E,state:I,dispatch:U}),C.default.createElement("div",{className:D.default(cu["autosuggest-input-container"],cu[t],I.renderMobile&&"hidden"),style:{"--color":w.primary,"--hover-color":w.hover}},i&&C.default.createElement("div",{className:D.default(cu["autosuggest-input-icon"],cu[t],m&&cu[`${m}-input-icon`]),"aria-label":re.concat(" ").concat(oe).concat(" ").concat(L("search-autosuggest-label",{lng:l}))},C.default.createElement(P.default,{img:`${i}`})),C.default.createElement(Lu,{inputClassName:m,ariaLabel:ne.concat(" ").concat(re).concat(" ").concat(oe).concat(" ").concat(ue),id:t,lng:l,getInputProps:G,getLabelProps:J,selectItem:Q,value:I.value,clearInput:ee,inputRef:q,styles:cu,clearButtonColor:w.primary,placeholder:y||L(o,{lng:l}),required:E,transportMode:B,isMobile:g,inputOnBlur:()=>{U({isMobile:g,value:!g&&s,type:"INPUT_BLUR"}),g||U({type:"RESET",initialState:M})}}),C.default.createElement(Tu,Object.assign({hidden:!W||!I.suggestions.length||g,highlightedIndex:$,getItemProps:X,getMenuProps:K,suggestions:I.suggestions,lng:l,styles:cu},te))))}"production"!==process.env.NODE_ENV&&(Ju.propTypes={appElement:_.default.string.isRequired,icon:_.default.string,id:_.default.string.isRequired,placeholder:_.default.string.isRequired,translatedPlaceholder:_.default.string,value:_.default.string,transportMode:_.default.string,geocodingSize:_.default.number,filterResults:_.default.func,searchContext:_.default.shape({URL_PELIAS:_.default.string,context:_.default.object,clearOldSearches:_.default.func,clearFutureRoutes:_.default.func}).isRequired,sources:_.default.arrayOf(_.default.string),targets:_.default.arrayOf(_.default.string),ariaLabel:_.default.string,onSelect:_.default.func.isRequired,onClear:_.default.func,storeRef:_.default.func,handleViaPoints:_.default.func,focusChange:_.default.func,lang:_.default.string,isMobile:_.default.bool,pathOpts:_.default.shape({routesPrefix:_.default.string,stopsPrefix:_.default.string}),mobileLabel:_.default.string,refPoint:_.default.shape({address:_.default.string,lat:_.default.number,lon:_.default.number}),inputClassName:_.default.string,fontWeights:_.default.shape({medium:_.default.number}),colors:_.default.objectOf(_.default.string),getAutoSuggestIcons:_.default.objectOf(_.default.func),required:_.default.bool,modeSet:_.default.string,showScroll:_.default.bool,isEmbedded:_.default.bool}),Ju.defaultProps={icon:void 0,value:"",transportMode:void 0,filterResults:void 0,onClear:void 0,lang:"fi",storeRef:void 0,handleViaPoints:void 0,focusChange:void 0,getAutoSuggestIcons:void 0,sources:[],targets:void 0,isMobile:!1,isEmbedded:!1,geocodingSize:void 0,pathOpts:{routesPrefix:"linjat",stopsPrefix:"pysakit"},ariaLabel:void 0,mobileLabel:void 0,inputClassName:"",translatedPlaceholder:void 0,fontWeights:{medium:500},colors:f.defaultColors,required:!1,modeSet:void 0,showScroll:!1,refPoint:{}};e.default=e=>C.default.createElement(r.I18nextProvider,{i18n:au},C.default.createElement(Ju,e)),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
3
3
|
//# sourceMappingURL=index.js.map
|